angular-datatables-v20 20.0.0 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/lib/fesm2022/angular-datatables.mjs → fesm2022/angular-datatables-v20.mjs} +1 -1
- package/fesm2022/angular-datatables-v20.mjs.map +1 -0
- package/package.json +21 -71
- 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 +0 -1
- package/.angular/cache/20.1.0/babel-webpack/005245170d6a809e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/02466157c02071a4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/02949ac12a679e48.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/030c0ddf38c7c964.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/03400cac921ef95c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/03830d87b17ff3a3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/03d69c7d93289025.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/0408951c845cd207.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/04eaeb033969e5fe.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/05528ca6fb0d661f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/05b435cf78824e17.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/06543ac8d6894481.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/077c218f1eb65b2c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/08cb29cbfb3f88cd.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/091b18f1f40e4856.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/09462a3542adb955.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/09afdf2641fd04bc.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/09d43d5102c7d424.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/0b17d5d2ae99e6d8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/0c00e206246cee39.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/0c2fa9b8409c06ec.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/0d6f8d71f5ea8802.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/0eb7ed8eac353807.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/0edcbc95dc7d8f49.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/106d70882da45568.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/10915a557e410679.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1286bc327980d1f1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/13220c4efb3e0d7a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/14ba40ae586daf7b.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/14c45dbaf8998f8c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/14dd6bede11094b7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1634559e44da6c73.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/172f80de50a487f8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1858912add0f17cd.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/187a7ec7b2d78abf.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/18965baa3fb000a7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1925f1635c9caa6e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1942544ed79f6850.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1ab6eda1333777f1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1be370c47d54f208.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1d5e19d13931bf2c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1e5c73ee1631ad0d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1ec23595d767d52c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1eebc570ddd780d5.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1f5581849900af79.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/1f6125b924016d01.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/207f42ce7344d8e5.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/20a40f97c48b7098.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2208dcfa7dc7a976.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/233767e1f0773ac7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/23843cbf15f060ac.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/243ee1e3ee28469e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2886c59e2cc4c090.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/288bf00a7759473c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/291276cea2b712ee.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/292c52728a5ab556.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2a471461faad3462.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2ac3104e4edbf3c9.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2b2bbedddbdf764e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2ba7e52d9ea164b1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2c812d19bef086b6.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2c8dc30608e43cde.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2d83786f7977fe4a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2dde654f610ff9d8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2ed0ff8be47eb552.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/2ed92e7bad47d978.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/32121fb576c45aed.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/343b62eb3f7a52d3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/345157c66408a841.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/35384116e5208ee7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/3700cf1bc5fbe6a9.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/371dad8bd2a4e103.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/378ead037f8ba0b9.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/378f5178404a17b3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/37bf88ed0b3205fd.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/38dbae36d6f64215.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/3a271f255035b6d7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/3b88e6cef8d88a54.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/3c57869ed5ceacd3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/3c82e4f79e74ccee.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/3ca750d36bba20c2.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/3cf5784a5df0c1ac.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/3d5c3c3536611aa8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/41a4f7ad5cf70285.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/42dede0524864742.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/43e6ae28da88b5b0.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/4520d0ba2af790b6.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/45c93390fd241526.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/473d6795bd3dd4b4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/478e4f68135b3ef1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/47d3a19cc2042b3c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/482b30f0ddae15ae.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/4880532085f23e54.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/48ca9259e044310d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/49961540dc409cbd.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/4b06625bf947efb0.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/4c328fc20034cc57.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/4d101b6daeea9efd.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/4e10df3ca4861296.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/4e1a1d1a75004118.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/4fc5c2de0aa0aca0.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/500912330c4f8f96.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/5068e8a7c17bfc63.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/50c071b2060d149f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/522c2a523ad4c3e3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/52b22a4170704754.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/531f7490ee796b39.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/555ee869a813b980.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/55c3ed28351788a4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/56c6c8fa591806c5.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/57a218a0fc1dbbb0.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/58ec5c19fd2d039d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/59f3704bfa1ce36c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/5e03779d23d4cfb0.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/5e1ab312f4e19acd.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/5ff63af37343fea5.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/61d0b03723e01a7c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/61d3a1fe471596b9.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/6300b6f6d16c5ec3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/6356d51cb7af94a4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/639f8f3fb49c601e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/63d0a786e2affc3f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/694ddfa0ee04b4e8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/696ce79d8d597778.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/6e12a55ff672bfd0.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/6e32f48fefbbbede.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/6e66fef001acdf84.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/6f0cfc15aa53ecb5.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/704bf8c666f9e53f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/70f2132b4b30d9f4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/720277d7535677fa.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/721a4855191022e2.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/72790756b1612201.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/72d1f6f7252072cf.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/75e1448d5bfa90e7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/76b1dce08831b6f3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/774fe17f320772d1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/77c86503be60062d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/78b6e2101afd2749.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7914ac13a4f614cb.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7952304f3e4b879d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7ac2319ee97edc16.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7ad834e7eb1cf434.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7b14e52c82558257.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7c36ba06d9e4eb30.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7d5164221117c7a4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7e9f9e5400097de6.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7ed0439532266fb1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7f2c2e0f9979fbb1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/7f3fa30670f24d88.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/80ab941d9fcf80d7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/819ce6264e0883ac.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/84255d7be077dff8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8426f2fd3a6efd0a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/84ab054d5682f08c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/85227e238ea29ab4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/85b1d09c0b6e37b7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/860a101284cadb63.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8666091d0cbe78c1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/86cdb6979822c14e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/872676761970fc14.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8943a1cb93b53c14.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/89a40bd7cda83705.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8a2da8aecaba1e78.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8bc3f32dce81a26b.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8ca4432e1e5d6d8e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8d088fb012ab56e9.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8e29a112da8a44f1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8eeec51dc000c75b.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/8f3856479799b76b.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/900c3bb650e6ba32.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/918c43b8c6821992.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/92f923eabe0abc68.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/94078d1a52fd8ba8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/947b7af316ca192f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/952dc76bb0535502.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9639c3a761341e1a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9819e9b9f75ed550.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/982bf63f3a15dbec.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9872aedb4caea05d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9898aba7144a4867.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/98d67f512c2a6f85.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/98e214a54b446303.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9ad17f0c32de2372.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9badf91f906ea20d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9baed7f84b66a10a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9bee003523d6dde4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9bf413825fc29f8f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9db0135a206239b0.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9f29566c0be78d19.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/9ffc4017c3f39454.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a1793f3d6f818ada.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a1ac8b544a45673f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a3152e49d6b91df8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a3330e8bd87e75b3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a46adbe0866b4f50.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a4e97e843808e337.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a5b634bdd3eb03d9.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a5f6b3f09644232d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a63a6ce9d58f1c53.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a70b2210366c6124.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a7f29e2dcda4e8c2.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/a9d94d2f3680f588.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/aa2d4f683efbf6c0.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/aa6a791df8ab914e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/abd1cdee8649f63f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ac135990df27ef84.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ac5164ca58e1c076.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ac5b7970f1eb172c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ad659d2c1cca8ad8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ada5b9f0076e93b2.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ae39a3934617ba8a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ae70c040bd645184.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b0ddd26f5dd753d7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b0eb02ac2a3bcde1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b1049c05a94ffeb5.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b2984fa59f40fd09.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b2e830ac7ba2195c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b370bc15d48a81fd.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b424ea40cc6f76b1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b5a63cd718db5b94.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b61d262cb7b3d8a3.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/b64e4db2db3f845b.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/bacf8341fedffcca.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/bd1cd73503e8f498.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/bd2be7f59789d6a5.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/bda724dde140e142.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/bed5b0f75ea3fdf1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/bf1541781679c49f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c06b75731476f374.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c0fccac74d002507.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c15f1fdcd4df34f7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c514070af29e7e40.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c733ad8f144911bf.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c7497c5ab48be082.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c828c1ebec07840f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c853bdafe1561f87.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c8edf4367fe44457.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c91f5b6e57b7d854.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/c95d768acd0a6557.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/cad60b925a39332e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/cccce85813ee08f7.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/cf5d541f91bf2ef5.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d10f45a994eebb91.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d19b9628459e7cab.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d230bf02fb475b47.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d26b6439742fedf6.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d3e572827ba0ea3c.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d58e353a6b1b3064.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d5a352d948bb8d3d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d741a5b650472b6b.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d780bd279d68f22f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/d7d20580a8767e7a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/dc961d2355a41eb1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/dca4eb1623c40036.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/dd553484f726b4ca.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/de219c27dc4ada1b.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/de30f17241cf33da.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/de7ed0dd55447c20.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/dfd3fbc9eb837ab8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e02f049ed358918e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e0cca04f3d06a6e8.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e102d0d993ca8dd4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e201ee06bad8063a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e22e7eebc908b00d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e32b6e7f2ed18d66.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e525567937cf9853.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e670d9b7834fe48d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e6919a85f59374ff.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e6cf4cb75779296a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e846843347a59ab1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/e8ef44d8620e9c69.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/eac7806682b74ff1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/eba62857582d4c0a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ebc4e01f6cb28088.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ebd0e66ed0794ce6.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ebf47df371580685.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ec20ee99ca7aa203.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ec32a846bf02be62.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ed62010e049cddca.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/eff4d61f5015c709.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/eff8f0a1d27bef19.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/efff5ec656c449b4.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f022f6633a2fa31a.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f03d979bfb303a74.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f1d78a04d3b14b62.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f1f475348625c93f.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f2495f11120f68dd.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f3e3b3a5165a5f5d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f46e0ae8c885ae50.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f494b30f193ca5da.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f4f802d2bfffa86e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f711b9992da9c363.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f810d38830794790.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f91346f33cbb1c66.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/f9201834a2fff34d.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/fa6e1713b18c0dc1.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/fc59352b42e22266.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/fcba4592f339db6e.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/fdd2932239f195be.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/fe2fd88635eb7ede.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/feba6e5b80aa2b32.json +0 -1
- package/.angular/cache/20.1.0/babel-webpack/ff5e0454f71fb45c.json +0 -1
- package/.angular/cache/20.1.0/ng-packagr/edf767c561f9d035522773ac2f5e224ff75e3296ee2908a27a8f98705f380801 +0 -1
- package/.angular/cache/20.1.0/ng-packagr/tsbuildinfo/angular-datatables.tsbuildinfo +0 -1
- package/LICENSE +0 -21
- package/README.md +0 -30
- package/angular.json +0 -213
- package/dist/lib/fesm2022/angular-datatables.mjs.map +0 -1
- package/lib/ng-package.prod.json +0 -9
- package/lib/package.json +0 -35
- package/lib/schematics/src/collection.json +0 -11
- package/lib/schematics/src/ng-add/schema.json +0 -41
- package/lib/tsconfig.lib.json +0 -18
- package/lib/tsconfig.lib.prod.json +0 -12
- /package/{dist/lib/index.d.ts → index.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"/*! Buttons for DataTables 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// Used for namespacing events added to the document by each instance, so they\n// can be removed on destroy\nvar _instCounter = 0;\n\n// Button namespacing counter for namespacing events on individual buttons\nvar _buttonCounter = 0;\nvar _dtButtons = DataTable.ext.buttons;\n\n// Custom entity decoder for data export\nvar _entityDecoder = null;\n\n// Allow for jQuery slim\nfunction _fadeIn(el, duration, fn) {\n if ($.fn.animate) {\n el.stop().fadeIn(duration, fn);\n } else {\n el.css('display', 'block');\n if (fn) {\n fn.call(el);\n }\n }\n}\nfunction _fadeOut(el, duration, fn) {\n if ($.fn.animate) {\n el.stop().fadeOut(duration, fn);\n } else {\n el.css('display', 'none');\n if (fn) {\n fn.call(el);\n }\n }\n}\n\n/**\n * [Buttons description]\n * @param {[type]}\n * @param {[type]}\n */\nvar Buttons = function (dt, config) {\n if (!DataTable.versionCheck('2')) {\n throw 'Warning: Buttons requires DataTables 2 or newer';\n }\n\n // If not created with a `new` keyword then we return a wrapper function that\n // will take the settings object for a DT. This allows easy use of new instances\n // with the `layout` option - e.g. `topLeft: $.fn.dataTable.Buttons( ... )`.\n if (!(this instanceof Buttons)) {\n return function (settings) {\n return new Buttons(settings, dt).container();\n };\n }\n\n // If there is no config set it to an empty object\n if (typeof config === 'undefined') {\n config = {};\n }\n\n // Allow a boolean true for defaults\n if (config === true) {\n config = {};\n }\n\n // For easy configuration of buttons an array can be given\n if (Array.isArray(config)) {\n config = {\n buttons: config\n };\n }\n this.c = $.extend(true, {}, Buttons.defaults, config);\n\n // Don't want a deep copy for the buttons\n if (config.buttons) {\n this.c.buttons = config.buttons;\n }\n this.s = {\n dt: new DataTable.Api(dt),\n buttons: [],\n listenKeys: '',\n namespace: 'dtb' + _instCounter++\n };\n this.dom = {\n container: $('<' + this.c.dom.container.tag + '/>').addClass(this.c.dom.container.className)\n };\n this._constructor();\n};\n$.extend(Buttons.prototype, {\n /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Public methods\n */\n\n /**\n * Get the action of a button\n * @param {int|string} Button index\n * @return {function}\n */ /**\n * Set the action of a button\n * @param {node} node Button element\n * @param {function} action Function to set\n * @return {Buttons} Self for chaining\n */\n action: function (node, action) {\n var button = this._nodeToButton(node);\n if (action === undefined) {\n return button.conf.action;\n }\n button.conf.action = action;\n return this;\n },\n /**\n * Add an active class to the button to make to look active or get current\n * active state.\n * @param {node} node Button element\n * @param {boolean} [flag] Enable / disable flag\n * @return {Buttons} Self for chaining or boolean for getter\n */\n active: function (node, flag) {\n var button = this._nodeToButton(node);\n var klass = this.c.dom.button.active;\n var jqNode = $(button.node);\n if (button.inCollection && this.c.dom.collection.button && this.c.dom.collection.button.active !== undefined) {\n klass = this.c.dom.collection.button.active;\n }\n if (flag === undefined) {\n return jqNode.hasClass(klass);\n }\n jqNode.toggleClass(klass, flag === undefined ? true : flag);\n return this;\n },\n /**\n * Add a new button\n * @param {object} config Button configuration object, base string name or function\n * @param {int|string} [idx] Button index for where to insert the button\n * @param {boolean} [draw=true] Trigger a draw. Set a false when adding\n * lots of buttons, until the last button.\n * @return {Buttons} Self for chaining\n */\n add: function (config, idx, draw) {\n var buttons = this.s.buttons;\n if (typeof idx === 'string') {\n var split = idx.split('-');\n var base = this.s;\n for (var i = 0, ien = split.length - 1; i < ien; i++) {\n base = base.buttons[split[i] * 1];\n }\n buttons = base.buttons;\n idx = split[split.length - 1] * 1;\n }\n this._expandButton(buttons, config, config !== undefined ? config.split : undefined, (config === undefined || config.split === undefined || config.split.length === 0) && base !== undefined, false, idx);\n if (draw === undefined || draw === true) {\n this._draw();\n }\n return this;\n },\n /**\n * Clear buttons from a collection and then insert new buttons\n */\n collectionRebuild: function (node, newButtons) {\n var button = this._nodeToButton(node);\n if (newButtons !== undefined) {\n var i;\n // Need to reverse the array\n for (i = button.buttons.length - 1; i >= 0; i--) {\n this.remove(button.buttons[i].node);\n }\n\n // If the collection has prefix and / or postfix buttons we need to add them in\n if (button.conf.prefixButtons) {\n newButtons.unshift.apply(newButtons, button.conf.prefixButtons);\n }\n if (button.conf.postfixButtons) {\n newButtons.push.apply(newButtons, button.conf.postfixButtons);\n }\n for (i = 0; i < newButtons.length; i++) {\n var newBtn = newButtons[i];\n this._expandButton(button.buttons, newBtn, newBtn !== undefined && newBtn.config !== undefined && newBtn.config.split !== undefined, true, newBtn.parentConf !== undefined && newBtn.parentConf.split !== undefined, null, newBtn.parentConf);\n }\n }\n this._draw(button.collection, button.buttons);\n },\n /**\n * Get the container node for the buttons\n * @return {jQuery} Buttons node\n */\n container: function () {\n return this.dom.container;\n },\n /**\n * Disable a button\n * @param {node} node Button node\n * @return {Buttons} Self for chaining\n */\n disable: function (node) {\n var button = this._nodeToButton(node);\n $(button.node).addClass(this.c.dom.button.disabled).prop('disabled', true);\n return this;\n },\n /**\n * Destroy the instance, cleaning up event handlers and removing DOM\n * elements\n * @return {Buttons} Self for chaining\n */\n destroy: function () {\n // Key event listener\n $('body').off('keyup.' + this.s.namespace);\n\n // Individual button destroy (so they can remove their own events if\n // needed). Take a copy as the array is modified by `remove`\n var buttons = this.s.buttons.slice();\n var i, ien;\n for (i = 0, ien = buttons.length; i < ien; i++) {\n this.remove(buttons[i].node);\n }\n\n // Container\n this.dom.container.remove();\n\n // Remove from the settings object collection\n var buttonInsts = this.s.dt.settings()[0];\n for (i = 0, ien = buttonInsts.length; i < ien; i++) {\n if (buttonInsts.inst === this) {\n buttonInsts.splice(i, 1);\n break;\n }\n }\n return this;\n },\n /**\n * Enable / disable a button\n * @param {node} node Button node\n * @param {boolean} [flag=true] Enable / disable flag\n * @return {Buttons} Self for chaining\n */\n enable: function (node, flag) {\n if (flag === false) {\n return this.disable(node);\n }\n var button = this._nodeToButton(node);\n $(button.node).removeClass(this.c.dom.button.disabled).prop('disabled', false);\n return this;\n },\n /**\n * Get a button's index\n *\n * This is internally recursive\n * @param {element} node Button to get the index of\n * @return {string} Button index\n */\n index: function (node, nested, buttons) {\n if (!nested) {\n nested = '';\n buttons = this.s.buttons;\n }\n for (var i = 0, ien = buttons.length; i < ien; i++) {\n var inner = buttons[i].buttons;\n if (buttons[i].node === node) {\n return nested + i;\n }\n if (inner && inner.length) {\n var match = this.index(node, i + '-', inner);\n if (match !== null) {\n return match;\n }\n }\n }\n return null;\n },\n /**\n * Get the instance name for the button set selector\n * @return {string} Instance name\n */\n name: function () {\n return this.c.name;\n },\n /**\n * Get a button's node of the buttons container if no button is given\n * @param {node} [node] Button node\n * @return {jQuery} Button element, or container\n */\n node: function (node) {\n if (!node) {\n return this.dom.container;\n }\n var button = this._nodeToButton(node);\n return $(button.node);\n },\n /**\n * Set / get a processing class on the selected button\n * @param {element} node Triggering button node\n * @param {boolean} flag true to add, false to remove, undefined to get\n * @return {boolean|Buttons} Getter value or this if a setter.\n */\n processing: function (node, flag) {\n var dt = this.s.dt;\n var button = this._nodeToButton(node);\n if (flag === undefined) {\n return $(button.node).hasClass('processing');\n }\n $(button.node).toggleClass('processing', flag);\n $(dt.table().node()).triggerHandler('buttons-processing.dt', [flag, dt.button(node), dt, $(node), button.conf]);\n return this;\n },\n /**\n * Remove a button.\n * @param {node} node Button node\n * @return {Buttons} Self for chaining\n */\n remove: function (node) {\n var button = this._nodeToButton(node);\n var host = this._nodeToHost(node);\n var dt = this.s.dt;\n\n // Remove any child buttons first\n if (button.buttons.length) {\n for (var i = button.buttons.length - 1; i >= 0; i--) {\n this.remove(button.buttons[i].node);\n }\n }\n button.conf.destroying = true;\n\n // Allow the button to remove event handlers, etc\n if (button.conf.destroy) {\n button.conf.destroy.call(dt.button(node), dt, $(node), button.conf);\n }\n this._removeKey(button.conf);\n $(button.node).remove();\n var idx = $.inArray(button, host);\n host.splice(idx, 1);\n return this;\n },\n /**\n * Get the text for a button\n * @param {int|string} node Button index\n * @return {string} Button text\n */ /**\n * Set the text for a button\n * @param {int|string|function} node Button index\n * @param {string} label Text\n * @return {Buttons} Self for chaining\n */\n text: function (node, label) {\n var button = this._nodeToButton(node);\n var textNode = button.textNode;\n var dt = this.s.dt;\n var jqNode = $(button.node);\n var text = function (opt) {\n return typeof opt === 'function' ? opt(dt, jqNode, button.conf) : opt;\n };\n if (label === undefined) {\n return text(button.conf.text);\n }\n button.conf.text = label;\n textNode.html(text(label));\n return this;\n },\n /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Constructor\n */\n\n /**\n * Buttons constructor\n * @private\n */\n _constructor: function () {\n var that = this;\n var dt = this.s.dt;\n var dtSettings = dt.settings()[0];\n var buttons = this.c.buttons;\n if (!dtSettings._buttons) {\n dtSettings._buttons = [];\n }\n dtSettings._buttons.push({\n inst: this,\n name: this.c.name\n });\n for (var i = 0, ien = buttons.length; i < ien; i++) {\n this.add(buttons[i]);\n }\n dt.on('destroy', function (e, settings) {\n if (settings === dtSettings) {\n that.destroy();\n }\n });\n\n // Global key event binding to listen for button keys\n $('body').on('keyup.' + this.s.namespace, function (e) {\n if (!document.activeElement || document.activeElement === document.body) {\n // SUse a string of characters for fast lookup of if we need to\n // handle this\n var character = String.fromCharCode(e.keyCode).toLowerCase();\n if (that.s.listenKeys.toLowerCase().indexOf(character) !== -1) {\n that._keypress(character, e);\n }\n }\n });\n },\n /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Private methods\n */\n\n /**\n * Add a new button to the key press listener\n * @param {object} conf Resolved button configuration object\n * @private\n */\n _addKey: function (conf) {\n if (conf.key) {\n this.s.listenKeys += $.isPlainObject(conf.key) ? conf.key.key : conf.key;\n }\n },\n /**\n * Insert the buttons into the container. Call without parameters!\n * @param {node} [container] Recursive only - Insert point\n * @param {array} [buttons] Recursive only - Buttons array\n * @private\n */\n _draw: function (container, buttons) {\n if (!container) {\n container = this.dom.container;\n buttons = this.s.buttons;\n }\n container.children().detach();\n for (var i = 0, ien = buttons.length; i < ien; i++) {\n container.append(buttons[i].inserter);\n container.append(' ');\n if (buttons[i].buttons && buttons[i].buttons.length) {\n this._draw(buttons[i].collection, buttons[i].buttons);\n }\n }\n },\n /**\n * Create buttons from an array of buttons\n * @param {array} attachTo Buttons array to attach to\n * @param {object} button Button definition\n * @param {boolean} inCollection true if the button is in a collection\n * @private\n */\n _expandButton: function (attachTo, button, split, inCollection, inSplit, attachPoint, parentConf) {\n var dt = this.s.dt;\n var isSplit = false;\n var domCollection = this.c.dom.collection;\n var buttons = !Array.isArray(button) ? [button] : button;\n if (button === undefined) {\n buttons = !Array.isArray(split) ? [split] : split;\n }\n for (var i = 0, ien = buttons.length; i < ien; i++) {\n var conf = this._resolveExtends(buttons[i]);\n if (!conf) {\n continue;\n }\n isSplit = conf.config && conf.config.split ? true : false;\n\n // If the configuration is an array, then expand the buttons at this\n // point\n if (Array.isArray(conf)) {\n this._expandButton(attachTo, conf, built !== undefined && built.conf !== undefined ? built.conf.split : undefined, inCollection, parentConf !== undefined && parentConf.split !== undefined, attachPoint, parentConf);\n continue;\n }\n var built = this._buildButton(conf, inCollection, conf.split !== undefined || conf.config !== undefined && conf.config.split !== undefined, inSplit);\n if (!built) {\n continue;\n }\n if (attachPoint !== undefined && attachPoint !== null) {\n attachTo.splice(attachPoint, 0, built);\n attachPoint++;\n } else {\n attachTo.push(built);\n }\n\n // Create the dropdown for a collection\n if (built.conf.buttons) {\n built.collection = $('<' + domCollection.container.content.tag + '/>');\n built.conf._collection = built.collection;\n $(built.node).append(domCollection.action.dropHtml);\n this._expandButton(built.buttons, built.conf.buttons, built.conf.split, !isSplit, isSplit, attachPoint, built.conf);\n }\n\n // And the split collection\n if (built.conf.split) {\n built.collection = $('<' + domCollection.container.tag + '/>');\n built.conf._collection = built.collection;\n for (var j = 0; j < built.conf.split.length; j++) {\n var item = built.conf.split[j];\n if (typeof item === 'object') {\n item.parent = parentConf;\n if (item.collectionLayout === undefined) {\n item.collectionLayout = built.conf.collectionLayout;\n }\n if (item.dropup === undefined) {\n item.dropup = built.conf.dropup;\n }\n if (item.fade === undefined) {\n item.fade = built.conf.fade;\n }\n }\n }\n this._expandButton(built.buttons, built.conf.buttons, built.conf.split, !isSplit, isSplit, attachPoint, built.conf);\n }\n built.conf.parent = parentConf;\n\n // init call is made here, rather than buildButton as it needs to\n // be selectable, and for that it needs to be in the buttons array\n if (conf.init) {\n conf.init.call(dt.button(built.node), dt, $(built.node), conf);\n }\n }\n },\n /**\n * Create an individual button\n * @param {object} config Resolved button configuration\n * @param {boolean} inCollection `true` if a collection button\n * @return {object} Completed button description object\n * @private\n */\n _buildButton: function (config, inCollection, isSplit, inSplit) {\n var that = this;\n var configDom = this.c.dom;\n var textNode;\n var dt = this.s.dt;\n var text = function (opt) {\n return typeof opt === 'function' ? opt(dt, button, config) : opt;\n };\n\n // Create an object that describes the button which can be in `dom.button`, or\n // `dom.collection.button` or `dom.split.button` or `dom.collection.split.button`!\n // Each should extend from `dom.button`.\n var dom = $.extend(true, {}, configDom.button);\n if (inCollection && isSplit && configDom.collection.split) {\n $.extend(true, dom, configDom.collection.split.action);\n } else if (inSplit || inCollection) {\n $.extend(true, dom, configDom.collection.button);\n } else if (isSplit) {\n $.extend(true, dom, configDom.split.button);\n }\n\n // Spacers don't do much other than insert an element into the DOM\n if (config.spacer) {\n var spacer = $('<' + dom.spacer.tag + '/>').addClass('dt-button-spacer ' + config.style + ' ' + dom.spacer.className).html(text(config.text));\n return {\n conf: config,\n node: spacer,\n inserter: spacer,\n buttons: [],\n inCollection: inCollection,\n isSplit: isSplit,\n collection: null,\n textNode: spacer\n };\n }\n\n // Make sure that the button is available based on whatever requirements\n // it has. For example, PDF button require pdfmake\n if (config.available && !config.available(dt, config) && !config.html) {\n return false;\n }\n var button;\n if (!config.html) {\n var run = function (e, dt, button, config, done) {\n config.action.call(dt.button(button), e, dt, button, config, done);\n $(dt.table().node()).triggerHandler('buttons-action.dt', [dt.button(button), dt, button, config]);\n };\n var action = function (e, dt, button, config) {\n if (config.async) {\n that.processing(button[0], true);\n setTimeout(function () {\n run(e, dt, button, config, function () {\n that.processing(button[0], false);\n });\n }, config.async);\n } else {\n run(e, dt, button, config, function () {});\n }\n };\n var tag = config.tag || dom.tag;\n var clickBlurs = config.clickBlurs === undefined ? true : config.clickBlurs;\n button = $('<' + tag + '/>').addClass(dom.className).attr('tabindex', this.s.dt.settings()[0].iTabIndex).attr('aria-controls', this.s.dt.table().node().id).on('click.dtb', function (e) {\n e.preventDefault();\n if (!button.hasClass(dom.disabled) && config.action) {\n action(e, dt, button, config);\n }\n if (clickBlurs) {\n button.trigger('blur');\n }\n }).on('keypress.dtb', function (e) {\n if (e.keyCode === 13) {\n e.preventDefault();\n if (!button.hasClass(dom.disabled) && config.action) {\n action(e, dt, button, config);\n }\n }\n });\n\n // Make `a` tags act like a link\n if (tag.toLowerCase() === 'a') {\n button.attr('href', '#');\n }\n\n // Button tags should have `type=button` so they don't have any default behaviour\n if (tag.toLowerCase() === 'button') {\n button.attr('type', 'button');\n }\n if (dom.liner.tag) {\n var liner = $('<' + dom.liner.tag + '/>').html(text(config.text)).addClass(dom.liner.className);\n if (dom.liner.tag.toLowerCase() === 'a') {\n liner.attr('href', '#');\n }\n button.append(liner);\n textNode = liner;\n } else {\n button.html(text(config.text));\n textNode = button;\n }\n if (config.enabled === false) {\n button.addClass(dom.disabled);\n }\n if (config.className) {\n button.addClass(config.className);\n }\n if (config.titleAttr) {\n button.attr('title', text(config.titleAttr));\n }\n if (config.attr) {\n button.attr(config.attr);\n }\n if (!config.namespace) {\n config.namespace = '.dt-button-' + _buttonCounter++;\n }\n if (config.config !== undefined && config.config.split) {\n config.split = config.config.split;\n }\n } else {\n button = $(config.html);\n }\n var buttonContainer = this.c.dom.buttonContainer;\n var inserter;\n if (buttonContainer && buttonContainer.tag) {\n inserter = $('<' + buttonContainer.tag + '/>').addClass(buttonContainer.className).append(button);\n } else {\n inserter = button;\n }\n this._addKey(config);\n\n // Style integration callback for DOM manipulation\n // Note that this is _not_ documented. It is currently\n // for style integration only\n if (this.c.buttonCreated) {\n inserter = this.c.buttonCreated(config, inserter);\n }\n var splitDiv;\n if (isSplit) {\n var dropdownConf = inCollection ? $.extend(true, this.c.dom.split, this.c.dom.collection.split) : this.c.dom.split;\n var wrapperConf = dropdownConf.wrapper;\n splitDiv = $('<' + wrapperConf.tag + '/>').addClass(wrapperConf.className).append(button);\n var dropButtonConfig = $.extend(config, {\n align: dropdownConf.dropdown.align,\n attr: {\n 'aria-haspopup': 'dialog',\n 'aria-expanded': false\n },\n className: dropdownConf.dropdown.className,\n closeButton: false,\n splitAlignClass: dropdownConf.dropdown.splitAlignClass,\n text: dropdownConf.dropdown.text\n });\n this._addKey(dropButtonConfig);\n var splitAction = function (e, dt, button, config) {\n _dtButtons.split.action.call(dt.button(splitDiv), e, dt, button, config);\n $(dt.table().node()).triggerHandler('buttons-action.dt', [dt.button(button), dt, button, config]);\n button.attr('aria-expanded', true);\n };\n var dropButton = $('<button class=\"' + dropdownConf.dropdown.className + ' dt-button\"></button>').html(dropdownConf.dropdown.dropHtml).on('click.dtb', function (e) {\n e.preventDefault();\n e.stopPropagation();\n if (!dropButton.hasClass(dom.disabled)) {\n splitAction(e, dt, dropButton, dropButtonConfig);\n }\n if (clickBlurs) {\n dropButton.trigger('blur');\n }\n }).on('keypress.dtb', function (e) {\n if (e.keyCode === 13) {\n e.preventDefault();\n if (!dropButton.hasClass(dom.disabled)) {\n splitAction(e, dt, dropButton, dropButtonConfig);\n }\n }\n });\n if (config.split.length === 0) {\n dropButton.addClass('dtb-hide-drop');\n }\n splitDiv.append(dropButton).attr(dropButtonConfig.attr);\n }\n return {\n conf: config,\n node: isSplit ? splitDiv.get(0) : button.get(0),\n inserter: isSplit ? splitDiv : inserter,\n buttons: [],\n inCollection: inCollection,\n isSplit: isSplit,\n inSplit: inSplit,\n collection: null,\n textNode: textNode\n };\n },\n /**\n * Get the button object from a node (recursive)\n * @param {node} node Button node\n * @param {array} [buttons] Button array, uses base if not defined\n * @return {object} Button object\n * @private\n */\n _nodeToButton: function (node, buttons) {\n if (!buttons) {\n buttons = this.s.buttons;\n }\n for (var i = 0, ien = buttons.length; i < ien; i++) {\n if (buttons[i].node === node) {\n return buttons[i];\n }\n if (buttons[i].buttons.length) {\n var ret = this._nodeToButton(node, buttons[i].buttons);\n if (ret) {\n return ret;\n }\n }\n }\n },\n /**\n * Get container array for a button from a button node (recursive)\n * @param {node} node Button node\n * @param {array} [buttons] Button array, uses base if not defined\n * @return {array} Button's host array\n * @private\n */\n _nodeToHost: function (node, buttons) {\n if (!buttons) {\n buttons = this.s.buttons;\n }\n for (var i = 0, ien = buttons.length; i < ien; i++) {\n if (buttons[i].node === node) {\n return buttons;\n }\n if (buttons[i].buttons.length) {\n var ret = this._nodeToHost(node, buttons[i].buttons);\n if (ret) {\n return ret;\n }\n }\n }\n },\n /**\n * Handle a key press - determine if any button's key configured matches\n * what was typed and trigger the action if so.\n * @param {string} character The character pressed\n * @param {object} e Key event that triggered this call\n * @private\n */\n _keypress: function (character, e) {\n // Check if this button press already activated on another instance of Buttons\n if (e._buttonsHandled) {\n return;\n }\n var run = function (conf, node) {\n if (!conf.key) {\n return;\n }\n if (conf.key === character) {\n e._buttonsHandled = true;\n $(node).click();\n } else if ($.isPlainObject(conf.key)) {\n if (conf.key.key !== character) {\n return;\n }\n if (conf.key.shiftKey && !e.shiftKey) {\n return;\n }\n if (conf.key.altKey && !e.altKey) {\n return;\n }\n if (conf.key.ctrlKey && !e.ctrlKey) {\n return;\n }\n if (conf.key.metaKey && !e.metaKey) {\n return;\n }\n\n // Made it this far - it is good\n e._buttonsHandled = true;\n $(node).click();\n }\n };\n var recurse = function (a) {\n for (var i = 0, ien = a.length; i < ien; i++) {\n run(a[i].conf, a[i].node);\n if (a[i].buttons.length) {\n recurse(a[i].buttons);\n }\n }\n };\n recurse(this.s.buttons);\n },\n /**\n * Remove a key from the key listener for this instance (to be used when a\n * button is removed)\n * @param {object} conf Button configuration\n * @private\n */\n _removeKey: function (conf) {\n if (conf.key) {\n var character = $.isPlainObject(conf.key) ? conf.key.key : conf.key;\n\n // Remove only one character, as multiple buttons could have the\n // same listening key\n var a = this.s.listenKeys.split('');\n var idx = $.inArray(character, a);\n a.splice(idx, 1);\n this.s.listenKeys = a.join('');\n }\n },\n /**\n * Resolve a button configuration\n * @param {string|function|object} conf Button config to resolve\n * @return {object} Button configuration\n * @private\n */\n _resolveExtends: function (conf) {\n var that = this;\n var dt = this.s.dt;\n var i, ien;\n var toConfObject = function (base) {\n var loop = 0;\n\n // Loop until we have resolved to a button configuration, or an\n // array of button configurations (which will be iterated\n // separately)\n while (!$.isPlainObject(base) && !Array.isArray(base)) {\n if (base === undefined) {\n return;\n }\n if (typeof base === 'function') {\n base = base.call(that, dt, conf);\n if (!base) {\n return false;\n }\n } else if (typeof base === 'string') {\n if (!_dtButtons[base]) {\n return {\n html: base\n };\n }\n base = _dtButtons[base];\n }\n loop++;\n if (loop > 30) {\n // Protect against misconfiguration killing the browser\n throw 'Buttons: Too many iterations';\n }\n }\n return Array.isArray(base) ? base : $.extend({}, base);\n };\n conf = toConfObject(conf);\n while (conf && conf.extend) {\n // Use `toConfObject` in case the button definition being extended\n // is itself a string or a function\n if (!_dtButtons[conf.extend]) {\n throw 'Cannot extend unknown button type: ' + conf.extend;\n }\n var objArray = toConfObject(_dtButtons[conf.extend]);\n if (Array.isArray(objArray)) {\n return objArray;\n } else if (!objArray) {\n // This is a little brutal as it might be possible to have a\n // valid button without the extend, but if there is no extend\n // then the host button would be acting in an undefined state\n return false;\n }\n\n // Stash the current class name\n var originalClassName = objArray.className;\n if (conf.config !== undefined && objArray.config !== undefined) {\n conf.config = $.extend({}, objArray.config, conf.config);\n }\n conf = $.extend({}, objArray, conf);\n\n // The extend will have overwritten the original class name if the\n // `conf` object also assigned a class, but we want to concatenate\n // them so they are list that is combined from all extended buttons\n if (originalClassName && conf.className !== originalClassName) {\n conf.className = originalClassName + ' ' + conf.className;\n }\n\n // Although we want the `conf` object to overwrite almost all of\n // the properties of the object being extended, the `extend`\n // property should come from the object being extended\n conf.extend = objArray.extend;\n }\n\n // Buttons to be added to a collection -gives the ability to define\n // if buttons should be added to the start or end of a collection\n var postfixButtons = conf.postfixButtons;\n if (postfixButtons) {\n if (!conf.buttons) {\n conf.buttons = [];\n }\n for (i = 0, ien = postfixButtons.length; i < ien; i++) {\n conf.buttons.push(postfixButtons[i]);\n }\n }\n var prefixButtons = conf.prefixButtons;\n if (prefixButtons) {\n if (!conf.buttons) {\n conf.buttons = [];\n }\n for (i = 0, ien = prefixButtons.length; i < ien; i++) {\n conf.buttons.splice(i, 0, prefixButtons[i]);\n }\n }\n return conf;\n },\n /**\n * Display (and replace if there is an existing one) a popover attached to a button\n * @param {string|node} content Content to show\n * @param {DataTable.Api} hostButton DT API instance of the button\n * @param {object} inOpts Options (see object below for all options)\n */\n _popover: function (content, hostButton, inOpts) {\n var dt = hostButton;\n var c = this.c;\n var closed = false;\n var options = $.extend({\n align: 'button-left',\n // button-right, dt-container, split-left, split-right\n autoClose: false,\n background: true,\n backgroundClassName: 'dt-button-background',\n closeButton: true,\n containerClassName: c.dom.collection.container.className,\n contentClassName: c.dom.collection.container.content.className,\n collectionLayout: '',\n collectionTitle: '',\n dropup: false,\n fade: 400,\n popoverTitle: '',\n rightAlignClassName: 'dt-button-right',\n tag: c.dom.collection.container.tag\n }, inOpts);\n var containerSelector = options.tag + '.' + options.containerClassName.replace(/ /g, '.');\n var hostNode = hostButton.node();\n var close = function () {\n closed = true;\n _fadeOut($(containerSelector), options.fade, function () {\n $(this).detach();\n });\n $(dt.buttons('[aria-haspopup=\"dialog\"][aria-expanded=\"true\"]').nodes()).attr('aria-expanded', 'false');\n $('div.dt-button-background').off('click.dtb-collection');\n Buttons.background(false, options.backgroundClassName, options.fade, hostNode);\n $(window).off('resize.resize.dtb-collection');\n $('body').off('.dtb-collection');\n dt.off('buttons-action.b-internal');\n dt.off('destroy');\n };\n if (content === false) {\n close();\n return;\n }\n var existingExpanded = $(dt.buttons('[aria-haspopup=\"dialog\"][aria-expanded=\"true\"]').nodes());\n if (existingExpanded.length) {\n // Reuse the current position if the button that was triggered is inside an existing collection\n if (hostNode.closest(containerSelector).length) {\n hostNode = existingExpanded.eq(0);\n }\n close();\n }\n\n // Try to be smart about the layout\n var cnt = $('.dt-button', content).length;\n var mod = '';\n if (cnt === 3) {\n mod = 'dtb-b3';\n } else if (cnt === 2) {\n mod = 'dtb-b2';\n } else if (cnt === 1) {\n mod = 'dtb-b1';\n }\n var display = $('<' + options.tag + '/>').addClass(options.containerClassName).addClass(options.collectionLayout).addClass(options.splitAlignClass).addClass(mod).css('display', 'none').attr({\n 'aria-modal': true,\n role: 'dialog'\n });\n content = $(content).addClass(options.contentClassName).attr('role', 'menu').appendTo(display);\n hostNode.attr('aria-expanded', 'true');\n if (hostNode.parents('body')[0] !== document.body) {\n hostNode = document.body.lastChild;\n }\n if (options.popoverTitle) {\n display.prepend('<div class=\"dt-button-collection-title\">' + options.popoverTitle + '</div>');\n } else if (options.collectionTitle) {\n display.prepend('<div class=\"dt-button-collection-title\">' + options.collectionTitle + '</div>');\n }\n if (options.closeButton) {\n display.prepend('<div class=\"dtb-popover-close\">×</div>').addClass('dtb-collection-closeable');\n }\n _fadeIn(display.insertAfter(hostNode), options.fade);\n var tableContainer = $(hostButton.table().container());\n var position = display.css('position');\n if (options.span === 'container' || options.align === 'dt-container') {\n hostNode = hostNode.parent();\n display.css('width', tableContainer.width());\n }\n\n // Align the popover relative to the DataTables container\n // Useful for wide popovers such as SearchPanes\n if (position === 'absolute') {\n // Align relative to the host button\n var offsetParent = $(hostNode[0].offsetParent);\n var buttonPosition = hostNode.position();\n var buttonOffset = hostNode.offset();\n var tableSizes = offsetParent.offset();\n var containerPosition = offsetParent.position();\n var computed = window.getComputedStyle(offsetParent[0]);\n tableSizes.height = offsetParent.outerHeight();\n tableSizes.width = offsetParent.width() + parseFloat(computed.paddingLeft);\n tableSizes.right = tableSizes.left + tableSizes.width;\n tableSizes.bottom = tableSizes.top + tableSizes.height;\n\n // Set the initial position so we can read height / width\n var top = buttonPosition.top + hostNode.outerHeight();\n var left = buttonPosition.left;\n display.css({\n top: top,\n left: left\n });\n\n // Get the popover position\n computed = window.getComputedStyle(display[0]);\n var popoverSizes = display.offset();\n popoverSizes.height = display.outerHeight();\n popoverSizes.width = display.outerWidth();\n popoverSizes.right = popoverSizes.left + popoverSizes.width;\n popoverSizes.bottom = popoverSizes.top + popoverSizes.height;\n popoverSizes.marginTop = parseFloat(computed.marginTop);\n popoverSizes.marginBottom = parseFloat(computed.marginBottom);\n\n // First position per the class requirements - pop up and right align\n if (options.dropup) {\n top = buttonPosition.top - popoverSizes.height - popoverSizes.marginTop - popoverSizes.marginBottom;\n }\n if (options.align === 'button-right' || display.hasClass(options.rightAlignClassName)) {\n left = buttonPosition.left - popoverSizes.width + hostNode.outerWidth();\n }\n\n // Container alignment - make sure it doesn't overflow the table container\n if (options.align === 'dt-container' || options.align === 'container') {\n if (left < buttonPosition.left) {\n left = -buttonPosition.left;\n }\n }\n\n // Window adjustment\n if (containerPosition.left + left + popoverSizes.width > $(window).width()) {\n // Overflowing the document to the right\n left = $(window).width() - popoverSizes.width - containerPosition.left;\n }\n if (buttonOffset.left + left < 0) {\n // Off to the left of the document\n left = -buttonOffset.left;\n }\n if (containerPosition.top + top + popoverSizes.height > $(window).height() + $(window).scrollTop()) {\n // Pop up if otherwise we'd need the user to scroll down\n top = buttonPosition.top - popoverSizes.height - popoverSizes.marginTop - popoverSizes.marginBottom;\n }\n if (containerPosition.top + top < $(window).scrollTop()) {\n // Correction for when the top is beyond the top of the page\n top = buttonPosition.top + hostNode.outerHeight();\n }\n\n // Calculations all done - now set it\n display.css({\n top: top,\n left: left\n });\n } else {\n // Fix position - centre on screen\n var place = function () {\n var half = $(window).height() / 2;\n var top = display.height() / 2;\n if (top > half) {\n top = half;\n }\n display.css('marginTop', top * -1);\n };\n place();\n $(window).on('resize.dtb-collection', function () {\n place();\n });\n }\n if (options.background) {\n Buttons.background(true, options.backgroundClassName, options.fade, options.backgroundHost || hostNode);\n }\n\n // This is bonkers, but if we don't have a click listener on the\n // background element, iOS Safari will ignore the body click\n // listener below. An empty function here is all that is\n // required to make it work...\n $('div.dt-button-background').on('click.dtb-collection', function () {});\n if (options.autoClose) {\n setTimeout(function () {\n dt.on('buttons-action.b-internal', function (e, btn, dt, node) {\n if (node[0] === hostNode[0]) {\n return;\n }\n close();\n });\n }, 0);\n }\n $(display).trigger('buttons-popover.dt');\n dt.on('destroy', close);\n setTimeout(function () {\n closed = false;\n $('body').on('click.dtb-collection', function (e) {\n if (closed) {\n return;\n }\n\n // andSelf is deprecated in jQ1.8, but we want 1.7 compat\n var back = $.fn.addBack ? 'addBack' : 'andSelf';\n var parent = $(e.target).parent()[0];\n if (!$(e.target).parents()[back]().filter(content).length && !$(parent).hasClass('dt-buttons') || $(e.target).hasClass('dt-button-background')) {\n close();\n }\n }).on('keyup.dtb-collection', function (e) {\n if (e.keyCode === 27) {\n close();\n }\n }).on('keydown.dtb-collection', function (e) {\n // Focus trap for tab key\n var elements = $('a, button', content);\n var active = document.activeElement;\n if (e.keyCode !== 9) {\n // tab\n return;\n }\n if (elements.index(active) === -1) {\n // If current focus is not inside the popover\n elements.first().focus();\n e.preventDefault();\n } else if (e.shiftKey) {\n // Reverse tabbing order when shift key is pressed\n if (active === elements[0]) {\n elements.last().focus();\n e.preventDefault();\n }\n } else {\n if (active === elements.last()[0]) {\n elements.first().focus();\n e.preventDefault();\n }\n }\n });\n }, 0);\n }\n});\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Statics\n */\n\n/**\n * Show / hide a background layer behind a collection\n * @param {boolean} Flag to indicate if the background should be shown or\n * hidden\n * @param {string} Class to assign to the background\n * @static\n */\nButtons.background = function (show, className, fade, insertPoint) {\n if (fade === undefined) {\n fade = 400;\n }\n if (!insertPoint) {\n insertPoint = document.body;\n }\n if (show) {\n _fadeIn($('<div/>').addClass(className).css('display', 'none').insertAfter(insertPoint), fade);\n } else {\n _fadeOut($('div.' + className), fade, function () {\n $(this).removeClass(className).remove();\n });\n }\n};\n\n/**\n * Instance selector - select Buttons instances based on an instance selector\n * value from the buttons assigned to a DataTable. This is only useful if\n * multiple instances are attached to a DataTable.\n * @param {string|int|array} Instance selector - see `instance-selector`\n * documentation on the DataTables site\n * @param {array} Button instance array that was attached to the DataTables\n * settings object\n * @return {array} Buttons instances\n * @static\n */\nButtons.instanceSelector = function (group, buttons) {\n if (group === undefined || group === null) {\n return $.map(buttons, function (v) {\n return v.inst;\n });\n }\n var ret = [];\n var names = $.map(buttons, function (v) {\n return v.name;\n });\n\n // Flatten the group selector into an array of single options\n var process = function (input) {\n if (Array.isArray(input)) {\n for (var i = 0, ien = input.length; i < ien; i++) {\n process(input[i]);\n }\n return;\n }\n if (typeof input === 'string') {\n if (input.indexOf(',') !== -1) {\n // String selector, list of names\n process(input.split(','));\n } else {\n // String selector individual name\n var idx = $.inArray(input.trim(), names);\n if (idx !== -1) {\n ret.push(buttons[idx].inst);\n }\n }\n } else if (typeof input === 'number') {\n // Index selector\n ret.push(buttons[input].inst);\n } else if (typeof input === 'object') {\n // Actual instance selector\n ret.push(input);\n }\n };\n process(group);\n return ret;\n};\n\n/**\n * Button selector - select one or more buttons from a selector input so some\n * operation can be performed on them.\n * @param {array} Button instances array that the selector should operate on\n * @param {string|int|node|jQuery|array} Button selector - see\n * `button-selector` documentation on the DataTables site\n * @return {array} Array of objects containing `inst` and `idx` properties of\n * the selected buttons so you know which instance each button belongs to.\n * @static\n */\nButtons.buttonSelector = function (insts, selector) {\n var ret = [];\n var nodeBuilder = function (a, buttons, baseIdx) {\n var button;\n var idx;\n for (var i = 0, ien = buttons.length; i < ien; i++) {\n button = buttons[i];\n if (button) {\n idx = baseIdx !== undefined ? baseIdx + i : i + '';\n a.push({\n node: button.node,\n name: button.conf.name,\n idx: idx\n });\n if (button.buttons) {\n nodeBuilder(a, button.buttons, idx + '-');\n }\n }\n }\n };\n var run = function (selector, inst) {\n var i, ien;\n var buttons = [];\n nodeBuilder(buttons, inst.s.buttons);\n var nodes = $.map(buttons, function (v) {\n return v.node;\n });\n if (Array.isArray(selector) || selector instanceof $) {\n for (i = 0, ien = selector.length; i < ien; i++) {\n run(selector[i], inst);\n }\n return;\n }\n if (selector === null || selector === undefined || selector === '*') {\n // Select all\n for (i = 0, ien = buttons.length; i < ien; i++) {\n ret.push({\n inst: inst,\n node: buttons[i].node\n });\n }\n } else if (typeof selector === 'number') {\n // Main button index selector\n if (inst.s.buttons[selector]) {\n ret.push({\n inst: inst,\n node: inst.s.buttons[selector].node\n });\n }\n } else if (typeof selector === 'string') {\n if (selector.indexOf(',') !== -1) {\n // Split\n var a = selector.split(',');\n for (i = 0, ien = a.length; i < ien; i++) {\n run(a[i].trim(), inst);\n }\n } else if (selector.match(/^\\d+(\\-\\d+)*$/)) {\n // Sub-button index selector\n var indexes = $.map(buttons, function (v) {\n return v.idx;\n });\n ret.push({\n inst: inst,\n node: buttons[$.inArray(selector, indexes)].node\n });\n } else if (selector.indexOf(':name') !== -1) {\n // Button name selector\n var name = selector.replace(':name', '');\n for (i = 0, ien = buttons.length; i < ien; i++) {\n if (buttons[i].name === name) {\n ret.push({\n inst: inst,\n node: buttons[i].node\n });\n }\n }\n } else {\n // jQuery selector on the nodes\n $(nodes).filter(selector).each(function () {\n ret.push({\n inst: inst,\n node: this\n });\n });\n }\n } else if (typeof selector === 'object' && selector.nodeName) {\n // Node selector\n var idx = $.inArray(selector, nodes);\n if (idx !== -1) {\n ret.push({\n inst: inst,\n node: nodes[idx]\n });\n }\n }\n };\n for (var i = 0, ien = insts.length; i < ien; i++) {\n var inst = insts[i];\n run(selector, inst);\n }\n return ret;\n};\n\n/**\n * Default function used for formatting output data.\n * @param {*} str Data to strip\n */\nButtons.stripData = function (str, config) {\n if (typeof str !== 'string') {\n return str;\n }\n\n // Always remove script tags\n str = str.replace(/<script\\b[^<]*(?:(?!<\\/script>)<[^<]*)*<\\/script>/gi, '');\n\n // Always remove comments\n str = str.replace(/<!\\-\\-.*?\\-\\->/g, '');\n if (!config || config.stripHtml) {\n str = str.replace(/<[^>]*>/g, '');\n }\n if (!config || config.trim) {\n str = str.replace(/^\\s+|\\s+$/g, '');\n }\n if (!config || config.stripNewlines) {\n str = str.replace(/\\n/g, ' ');\n }\n if (!config || config.decodeEntities) {\n if (_entityDecoder) {\n str = _entityDecoder(str);\n } else {\n _exportTextarea.innerHTML = str;\n str = _exportTextarea.value;\n }\n }\n return str;\n};\n\n/**\n * Provide a custom entity decoding function - e.g. a regex one, which can be\n * much faster than the built in DOM option, but also larger code size.\n * @param {function} fn\n */\nButtons.entityDecoder = function (fn) {\n _entityDecoder = fn;\n};\n\n/**\n * Buttons defaults. For full documentation, please refer to the docs/option\n * directory or the DataTables site.\n * @type {Object}\n * @static\n */\nButtons.defaults = {\n buttons: ['copy', 'excel', 'csv', 'pdf', 'print'],\n name: 'main',\n tabIndex: 0,\n dom: {\n container: {\n tag: 'div',\n className: 'dt-buttons'\n },\n collection: {\n action: {\n // action button\n dropHtml: '<span class=\"dt-button-down-arrow\">▼</span>'\n },\n container: {\n // The element used for the dropdown\n className: 'dt-button-collection',\n content: {\n className: '',\n tag: 'div'\n },\n tag: 'div'\n }\n // optionally\n // , button: IButton - buttons inside the collection container\n // , split: ISplit - splits inside the collection container\n },\n button: {\n tag: 'button',\n className: 'dt-button',\n active: 'dt-button-active',\n // class name\n disabled: 'disabled',\n // class name\n spacer: {\n className: 'dt-button-spacer',\n tag: 'span'\n },\n liner: {\n tag: 'span',\n className: ''\n }\n },\n split: {\n action: {\n // action button\n className: 'dt-button-split-drop-button dt-button',\n tag: 'button'\n },\n dropdown: {\n // button to trigger the dropdown\n align: 'split-right',\n className: 'dt-button-split-drop',\n dropHtml: '<span class=\"dt-button-down-arrow\">▼</span>',\n splitAlignClass: 'dt-button-split-left',\n tag: 'button'\n },\n wrapper: {\n // wrap around both\n className: 'dt-button-split',\n tag: 'div'\n }\n }\n }\n};\n\n/**\n * Version information\n * @type {string}\n * @static\n */\nButtons.version = '3.0.1';\n$.extend(_dtButtons, {\n collection: {\n text: function (dt) {\n return dt.i18n('buttons.collection', 'Collection');\n },\n className: 'buttons-collection',\n closeButton: false,\n init: function (dt, button) {\n button.attr('aria-expanded', false);\n },\n action: function (e, dt, button, config) {\n if (config._collection.parents('body').length) {\n this.popover(false, config);\n } else {\n this.popover(config._collection, config);\n }\n\n // When activated using a key - auto focus on the\n // first item in the popover\n if (e.type === 'keypress') {\n $('a, button', config._collection).eq(0).focus();\n }\n },\n attr: {\n 'aria-haspopup': 'dialog'\n }\n // Also the popover options, defined in Buttons.popover\n },\n split: {\n text: function (dt) {\n return dt.i18n('buttons.split', 'Split');\n },\n className: 'buttons-split',\n closeButton: false,\n init: function (dt, button) {\n return button.attr('aria-expanded', false);\n },\n action: function (e, dt, button, config) {\n this.popover(config._collection, config);\n },\n attr: {\n 'aria-haspopup': 'dialog'\n }\n // Also the popover options, defined in Buttons.popover\n },\n copy: function () {\n if (_dtButtons.copyHtml5) {\n return 'copyHtml5';\n }\n },\n csv: function (dt, conf) {\n if (_dtButtons.csvHtml5 && _dtButtons.csvHtml5.available(dt, conf)) {\n return 'csvHtml5';\n }\n },\n excel: function (dt, conf) {\n if (_dtButtons.excelHtml5 && _dtButtons.excelHtml5.available(dt, conf)) {\n return 'excelHtml5';\n }\n },\n pdf: function (dt, conf) {\n if (_dtButtons.pdfHtml5 && _dtButtons.pdfHtml5.available(dt, conf)) {\n return 'pdfHtml5';\n }\n },\n pageLength: function (dt) {\n var lengthMenu = dt.settings()[0].aLengthMenu;\n var vals = [];\n var lang = [];\n var text = function (dt) {\n return dt.i18n('buttons.pageLength', {\n '-1': 'Show all rows',\n _: 'Show %d rows'\n }, dt.page.len());\n };\n\n // Support for DataTables 1.x 2D array\n if (Array.isArray(lengthMenu[0])) {\n vals = lengthMenu[0];\n lang = lengthMenu[1];\n } else {\n for (var i = 0; i < lengthMenu.length; i++) {\n var option = lengthMenu[i];\n\n // Support for DataTables 2 object in the array\n if ($.isPlainObject(option)) {\n vals.push(option.value);\n lang.push(option.label);\n } else {\n vals.push(option);\n lang.push(option);\n }\n }\n }\n return {\n extend: 'collection',\n text: text,\n className: 'buttons-page-length',\n autoClose: true,\n buttons: $.map(vals, function (val, i) {\n return {\n text: lang[i],\n className: 'button-page-length',\n action: function (e, dt) {\n dt.page.len(val).draw();\n },\n init: function (dt, node, conf) {\n var that = this;\n var fn = function () {\n that.active(dt.page.len() === val);\n };\n dt.on('length.dt' + conf.namespace, fn);\n fn();\n },\n destroy: function (dt, node, conf) {\n dt.off('length.dt' + conf.namespace);\n }\n };\n }),\n init: function (dt, node, conf) {\n var that = this;\n dt.on('length.dt' + conf.namespace, function () {\n that.text(conf.text);\n });\n },\n destroy: function (dt, node, conf) {\n dt.off('length.dt' + conf.namespace);\n }\n };\n },\n spacer: {\n style: 'empty',\n spacer: true,\n text: function (dt) {\n return dt.i18n('buttons.spacer', '');\n }\n }\n});\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * DataTables API\n *\n * For complete documentation, please refer to the docs/api directory or the\n * DataTables site\n */\n\n// Buttons group and individual button selector\nDataTable.Api.register('buttons()', function (group, selector) {\n // Argument shifting\n if (selector === undefined) {\n selector = group;\n group = undefined;\n }\n this.selector.buttonGroup = group;\n var res = this.iterator(true, 'table', function (ctx) {\n if (ctx._buttons) {\n return Buttons.buttonSelector(Buttons.instanceSelector(group, ctx._buttons), selector);\n }\n }, true);\n res._groupSelector = group;\n return res;\n});\n\n// Individual button selector\nDataTable.Api.register('button()', function (group, selector) {\n // just run buttons() and truncate\n var buttons = this.buttons(group, selector);\n if (buttons.length > 1) {\n buttons.splice(1, buttons.length);\n }\n return buttons;\n});\n\n// Active buttons\nDataTable.Api.registerPlural('buttons().active()', 'button().active()', function (flag) {\n if (flag === undefined) {\n return this.map(function (set) {\n return set.inst.active(set.node);\n });\n }\n return this.each(function (set) {\n set.inst.active(set.node, flag);\n });\n});\n\n// Get / set button action\nDataTable.Api.registerPlural('buttons().action()', 'button().action()', function (action) {\n if (action === undefined) {\n return this.map(function (set) {\n return set.inst.action(set.node);\n });\n }\n return this.each(function (set) {\n set.inst.action(set.node, action);\n });\n});\n\n// Collection control\nDataTable.Api.registerPlural('buttons().collectionRebuild()', 'button().collectionRebuild()', function (buttons) {\n return this.each(function (set) {\n for (var i = 0; i < buttons.length; i++) {\n if (typeof buttons[i] === 'object') {\n buttons[i].parentConf = set;\n }\n }\n set.inst.collectionRebuild(set.node, buttons);\n });\n});\n\n// Enable / disable buttons\nDataTable.Api.register(['buttons().enable()', 'button().enable()'], function (flag) {\n return this.each(function (set) {\n set.inst.enable(set.node, flag);\n });\n});\n\n// Disable buttons\nDataTable.Api.register(['buttons().disable()', 'button().disable()'], function () {\n return this.each(function (set) {\n set.inst.disable(set.node);\n });\n});\n\n// Button index\nDataTable.Api.register('button().index()', function () {\n var idx = null;\n this.each(function (set) {\n var res = set.inst.index(set.node);\n if (res !== null) {\n idx = res;\n }\n });\n return idx;\n});\n\n// Get button nodes\nDataTable.Api.registerPlural('buttons().nodes()', 'button().node()', function () {\n var jq = $();\n\n // jQuery will automatically reduce duplicates to a single entry\n $(this.each(function (set) {\n jq = jq.add(set.inst.node(set.node));\n }));\n return jq;\n});\n\n// Get / set button processing state\nDataTable.Api.registerPlural('buttons().processing()', 'button().processing()', function (flag) {\n if (flag === undefined) {\n return this.map(function (set) {\n return set.inst.processing(set.node);\n });\n }\n return this.each(function (set) {\n set.inst.processing(set.node, flag);\n });\n});\n\n// Get / set button text (i.e. the button labels)\nDataTable.Api.registerPlural('buttons().text()', 'button().text()', function (label) {\n if (label === undefined) {\n return this.map(function (set) {\n return set.inst.text(set.node);\n });\n }\n return this.each(function (set) {\n set.inst.text(set.node, label);\n });\n});\n\n// Trigger a button's action\nDataTable.Api.registerPlural('buttons().trigger()', 'button().trigger()', function () {\n return this.each(function (set) {\n set.inst.node(set.node).trigger('click');\n });\n});\n\n// Button resolver to the popover\nDataTable.Api.register('button().popover()', function (content, options) {\n return this.map(function (set) {\n return set.inst._popover(content, this.button(this[0].node), options);\n });\n});\n\n// Get the container elements\nDataTable.Api.register('buttons().containers()', function () {\n var jq = $();\n var groupSelector = this._groupSelector;\n\n // We need to use the group selector directly, since if there are no buttons\n // the result set will be empty\n this.iterator(true, 'table', function (ctx) {\n if (ctx._buttons) {\n var insts = Buttons.instanceSelector(groupSelector, ctx._buttons);\n for (var i = 0, ien = insts.length; i < ien; i++) {\n jq = jq.add(insts[i].container());\n }\n }\n });\n return jq;\n});\nDataTable.Api.register('buttons().container()', function () {\n // API level of nesting is `buttons()` so we can zip into the containers method\n return this.containers().eq(0);\n});\n\n// Add a new button\nDataTable.Api.register('button().add()', function (idx, conf, draw) {\n var ctx = this.context;\n\n // Don't use `this` as it could be empty - select the instances directly\n if (ctx.length) {\n var inst = Buttons.instanceSelector(this._groupSelector, ctx[0]._buttons);\n if (inst.length) {\n inst[0].add(conf, idx, draw);\n }\n }\n return this.button(this._groupSelector, idx);\n});\n\n// Destroy the button sets selected\nDataTable.Api.register('buttons().destroy()', function () {\n this.pluck('inst').unique().each(function (inst) {\n inst.destroy();\n });\n return this;\n});\n\n// Remove a button\nDataTable.Api.registerPlural('buttons().remove()', 'buttons().remove()', function () {\n this.each(function (set) {\n set.inst.remove(set.node);\n });\n return this;\n});\n\n// Information box that can be used by buttons\nvar _infoTimer;\nDataTable.Api.register('buttons.info()', function (title, message, time) {\n var that = this;\n if (title === false) {\n this.off('destroy.btn-info');\n _fadeOut($('#datatables_buttons_info'), 400, function () {\n $(this).remove();\n });\n clearTimeout(_infoTimer);\n _infoTimer = null;\n return this;\n }\n if (_infoTimer) {\n clearTimeout(_infoTimer);\n }\n if ($('#datatables_buttons_info').length) {\n $('#datatables_buttons_info').remove();\n }\n title = title ? '<h2>' + title + '</h2>' : '';\n _fadeIn($('<div id=\"datatables_buttons_info\" class=\"dt-button-info\"/>').html(title).append($('<div/>')[typeof message === 'string' ? 'html' : 'append'](message)).css('display', 'none').appendTo('body'));\n if (time !== undefined && time !== 0) {\n _infoTimer = setTimeout(function () {\n that.buttons.info(false);\n }, time);\n }\n this.on('destroy.btn-info', function () {\n that.buttons.info(false);\n });\n return this;\n});\n\n// Get data from the table for export - this is common to a number of plug-in\n// buttons so it is included in the Buttons core library\nDataTable.Api.register('buttons.exportData()', function (options) {\n if (this.context.length) {\n return _exportData(new DataTable.Api(this.context[0]), options);\n }\n});\n\n// Get information about the export that is common to many of the export data\n// types (DRY)\nDataTable.Api.register('buttons.exportInfo()', function (conf) {\n if (!conf) {\n conf = {};\n }\n return {\n filename: _filename(conf, this),\n title: _title(conf, this),\n messageTop: _message(this, conf, conf.message || conf.messageTop, 'top'),\n messageBottom: _message(this, conf, conf.messageBottom, 'bottom')\n };\n});\n\n/**\n * Get the file name for an exported file.\n *\n * @param {object} config Button configuration\n * @param {object} dt DataTable instance\n */\nvar _filename = function (config, dt) {\n // Backwards compatibility\n var filename = config.filename === '*' && config.title !== '*' && config.title !== undefined && config.title !== null && config.title !== '' ? config.title : config.filename;\n if (typeof filename === 'function') {\n filename = filename(config, dt);\n }\n if (filename === undefined || filename === null) {\n return null;\n }\n if (filename.indexOf('*') !== -1) {\n filename = filename.replace('*', $('head > title').text()).trim();\n }\n\n // Strip characters which the OS will object to\n filename = filename.replace(/[^a-zA-Z0-9_\\u00A1-\\uFFFF\\.,\\-_ !\\(\\)]/g, '');\n var extension = _stringOrFunction(config.extension, config, dt);\n if (!extension) {\n extension = '';\n }\n return filename + extension;\n};\n\n/**\n * Simply utility method to allow parameters to be given as a function\n *\n * @param {undefined|string|function} option Option\n * @return {null|string} Resolved value\n */\nvar _stringOrFunction = function (option, config, dt) {\n if (option === null || option === undefined) {\n return null;\n } else if (typeof option === 'function') {\n return option(config, dt);\n }\n return option;\n};\n\n/**\n * Get the title for an exported file.\n *\n * @param {object} config\tButton configuration\n */\nvar _title = function (config, dt) {\n var title = _stringOrFunction(config.title, config, dt);\n return title === null ? null : title.indexOf('*') !== -1 ? title.replace('*', $('head > title').text() || 'Exported data') : title;\n};\nvar _message = function (dt, config, option, position) {\n var message = _stringOrFunction(option, config, dt);\n if (message === null) {\n return null;\n }\n var caption = $('caption', dt.table().container()).eq(0);\n if (message === '*') {\n var side = caption.css('caption-side');\n if (side !== position) {\n return null;\n }\n return caption.length ? caption.text() : '';\n }\n return message;\n};\nvar _exportTextarea = $('<textarea/>')[0];\nvar _exportData = function (dt, inOpts) {\n var config = $.extend(true, {}, {\n rows: null,\n columns: '',\n modifier: {\n search: 'applied',\n order: 'applied'\n },\n orthogonal: 'display',\n stripHtml: true,\n stripNewlines: true,\n decodeEntities: true,\n trim: true,\n format: {\n header: function (d) {\n return Buttons.stripData(d, config);\n },\n footer: function (d) {\n return Buttons.stripData(d, config);\n },\n body: function (d) {\n return Buttons.stripData(d, config);\n }\n },\n customizeData: null\n }, inOpts);\n var header = dt.columns(config.columns).indexes().map(function (idx) {\n var col = dt.column(idx);\n return config.format.header(col.title(), idx, col.header());\n }).toArray();\n var footer = dt.table().footer() ? dt.columns(config.columns).indexes().map(function (idx) {\n var el = dt.column(idx).footer();\n var val = '';\n if (el) {\n var inner = $('.dt-column-title', el);\n val = inner.length ? inner.html() : $(el).html();\n }\n return config.format.footer(val, idx, el);\n }).toArray() : null;\n\n // If Select is available on this table, and any rows are selected, limit the export\n // to the selected rows. If no rows are selected, all rows will be exported. Specify\n // a `selected` modifier to control directly.\n var modifier = $.extend({}, config.modifier);\n if (dt.select && typeof dt.select.info === 'function' && modifier.selected === undefined) {\n if (dt.rows(config.rows, $.extend({\n selected: true\n }, modifier)).any()) {\n $.extend(modifier, {\n selected: true\n });\n }\n }\n var rowIndexes = dt.rows(config.rows, modifier).indexes().toArray();\n var selectedCells = dt.cells(rowIndexes, config.columns, {\n order: modifier.order\n });\n var cells = selectedCells.render(config.orthogonal).toArray();\n var cellNodes = selectedCells.nodes().toArray();\n var cellIndexes = selectedCells.indexes().toArray();\n var columns = dt.columns(config.columns).count();\n var rows = columns > 0 ? cells.length / columns : 0;\n var body = [];\n var cellCounter = 0;\n for (var i = 0, ien = rows; i < ien; i++) {\n var row = [columns];\n for (var j = 0; j < columns; j++) {\n row[j] = config.format.body(cells[cellCounter], cellIndexes[cellCounter].row, cellIndexes[cellCounter].column, cellNodes[cellCounter]);\n cellCounter++;\n }\n body[i] = row;\n }\n var data = {\n header: header,\n headerStructure: _headerFormatter(config.format.header, dt.table().header.structure(config.columns)),\n footer: footer,\n footerStructure: _headerFormatter(config.format.footer, dt.table().footer.structure(config.columns)),\n body: body\n };\n if (config.customizeData) {\n config.customizeData(data);\n }\n return data;\n};\nfunction _headerFormatter(formatter, struct) {\n for (var i = 0; i < struct.length; i++) {\n for (var j = 0; j < struct[i].length; j++) {\n var item = struct[i][j];\n if (item) {\n item.title = formatter(item.title, j, item.cell);\n }\n }\n }\n return struct;\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * DataTables interface\n */\n\n// Attach to DataTables objects for global access\n$.fn.dataTable.Buttons = Buttons;\n$.fn.DataTable.Buttons = Buttons;\n\n// DataTables creation - check if the buttons have been defined for this table,\n// they will have been if the `B` option was used in `dom`, otherwise we should\n// create the buttons instance here so they can be inserted into the document\n// using the API. Listen for `init` for compatibility with pre 1.10.10, but to\n// be removed in future.\n$(document).on('init.dt plugin-init.dt', function (e, settings) {\n if (e.namespace !== 'dt') {\n return;\n }\n var opts = settings.oInit.buttons || DataTable.defaults.buttons;\n if (opts && !settings._buttons) {\n new Buttons(settings, opts).container();\n }\n});\nfunction _init(settings, options) {\n var api = new DataTable.Api(settings);\n var opts = options ? options : api.init().buttons || DataTable.defaults.buttons;\n return new Buttons(api, opts).container();\n}\n\n// DataTables 1 `dom` feature option\nDataTable.ext.feature.push({\n fnInit: _init,\n cFeature: 'B'\n});\n\n// DataTables 2 layout feature\nif (DataTable.feature) {\n DataTable.feature.register('buttons', _init);\n}\nexport default DataTable;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nexport let Observable = /*#__PURE__*/(() => {\n class Observable {\n constructor(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n lift(operator) {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n subscribe(observerOrNext, error, complete) {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(() => {\n const {\n operator,\n source\n } = this;\n subscriber.add(operator ? operator.call(subscriber, source) : source ? this._subscribe(subscriber) : this._trySubscribe(subscriber));\n });\n return subscriber;\n }\n _trySubscribe(sink) {\n try {\n return this._subscribe(sink);\n } catch (err) {\n sink.error(err);\n }\n }\n forEach(next, promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let subscription;\n subscription = this.subscribe(value => {\n try {\n next(value);\n } catch (err) {\n reject(err);\n subscription === null || subscription === void 0 ? void 0 : subscription.unsubscribe();\n }\n }, reject, resolve);\n });\n }\n _subscribe(subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n }\n [Symbol_observable]() {\n return this;\n }\n pipe(...operations) {\n return pipeFromArray(operations)(this);\n }\n toPromise(promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let value;\n this.subscribe(x => value = x, err => reject(err), () => resolve(value));\n });\n }\n }\n Observable.create = subscribe => {\n return new Observable(subscribe);\n };\n return Observable;\n})();\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return value && value instanceof Subscriber || isObserver(value) && isSubscription(value);\n}\n//# sourceMappingURL=Observable.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { AsyncScheduler } from './AsyncScheduler';\nexport class AsapScheduler extends AsyncScheduler {\n flush(action) {\n this._active = true;\n this._scheduled = undefined;\n const {\n actions\n } = this;\n let error;\n let index = -1;\n action = action || actions.shift();\n const count = actions.length;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (++index < count && (action = actions.shift()));\n this._active = false;\n if (error) {\n while (++index < count && (action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n//# sourceMappingURL=AsapScheduler.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { AsyncScheduler } from './AsyncScheduler';\nexport class AnimationFrameScheduler extends AsyncScheduler {\n flush(action) {\n this._active = true;\n this._scheduled = undefined;\n const {\n actions\n } = this;\n let error;\n let index = -1;\n action = action || actions.shift();\n const count = actions.length;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (++index < count && (action = actions.shift()));\n this._active = false;\n if (error) {\n while (++index < count && (action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n//# sourceMappingURL=AnimationFrameScheduler.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { mergeMap } from './mergeMap';\nexport const flatMap = mergeMap;\n//# sourceMappingURL=flatMap.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n//# sourceMappingURL=args.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n//# sourceMappingURL=from.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { OperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const {\n args: sources,\n keys\n } = argsArgArrayOrObject(args);\n const result = new Observable(subscriber => {\n const {\n length\n } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(new OperatorSubscriber(subscriber, value => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n//# sourceMappingURL=forkJoin.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { HttpClient } from '@angular/common/http';\nimport { Subject } from 'rxjs';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nfunction AngularWayComponent_ng_template_0_For_11_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"tr\")(1, \"td\");\n i0.ɵɵtext(2);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"td\");\n i0.ɵɵtext(4);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(5, \"td\");\n i0.ɵɵtext(6);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const person_r1 = ctx.$implicit;\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate(person_r1.id);\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate(person_r1.firstName);\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate(person_r1.lastName);\n }\n}\nfunction AngularWayComponent_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"table\", 2)(1, \"thead\")(2, \"tr\")(3, \"th\");\n i0.ɵɵtext(4, \"ID\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(5, \"th\");\n i0.ɵɵtext(6, \"First name\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(7, \"th\");\n i0.ɵɵtext(8, \"Last name\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(9, \"tbody\");\n i0.ɵɵrepeaterCreate(10, AngularWayComponent_ng_template_0_For_11_Template, 7, 3, \"tr\", null, i0.ɵɵrepeaterTrackByIdentity);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"dtOptions\", ctx_r1.dtOptions)(\"dtTrigger\", ctx_r1.dtTrigger);\n i0.ɵɵadvance(10);\n i0.ɵɵrepeater(ctx_r1.persons);\n }\n}\nexport let AngularWayComponent = /*#__PURE__*/(() => {\n class AngularWayComponent {\n constructor(httpClient) {\n this.httpClient = httpClient;\n this.pageTitle = 'Angular way';\n this.mdIntro = 'assets/docs/basic/angular-way/intro.md';\n this.mdHTML = 'assets/docs/basic/angular-way/source-html.md';\n this.mdTSV1 = 'assets/docs/basic/angular-way/source-ts.md';\n this.dtOptions = {};\n this.persons = [];\n // We use this trigger because fetching the list of persons can be quite long,\n // thus we ensure the data is fetched before rendering\n this.dtTrigger = new Subject();\n }\n ngOnInit() {\n this.dtOptions = {\n pagingType: 'full_numbers',\n pageLength: 2\n };\n this.httpClient.get('data/data.json').subscribe(data => {\n this.persons = data.data;\n // Calling the DT trigger to manually render the table\n this.dtTrigger.next(null);\n });\n }\n ngOnDestroy() {\n // Do not forget to unsubscribe the event\n this.dtTrigger.unsubscribe();\n }\n static #_ = this.ɵfac = function AngularWayComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || AngularWayComponent)(i0.ɵɵdirectiveInject(i1.HttpClient));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: AngularWayComponent,\n selectors: [[\"app-angular-way\"]],\n standalone: false,\n decls: 3,\n vars: 6,\n consts: [[\"preview\", \"\"], [3, \"pageTitle\", \"mdIntro\", \"mdHTML\", \"mdTSV1\", \"template\", \"deprecated\"], [\"datatable\", \"\", 1, \"row-border\", \"hover\", 3, \"dtOptions\", \"dtTrigger\"]],\n template: function AngularWayComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, AngularWayComponent_ng_template_0_Template, 12, 2, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelement(2, \"app-base-demo\", 1);\n }\n if (rf & 2) {\n const preview_r3 = i0.ɵɵreference(1);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"pageTitle\", ctx.pageTitle)(\"mdIntro\", ctx.mdIntro)(\"mdHTML\", ctx.mdHTML)(\"mdTSV1\", ctx.mdTSV1)(\"template\", preview_r3)(\"deprecated\", true);\n }\n },\n encapsulation: 2\n });\n }\n return AngularWayComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { exhaustAll } from './exhaustAll';\nexport const exhaust = exhaustAll;\n//# sourceMappingURL=exhaust.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from './isFunction';\nexport function isIterable(input) {\n return isFunction(input === null || input === void 0 ? void 0 : input[Symbol_iterator]);\n}\n//# sourceMappingURL=isIterable.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._teardowns = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const {\n _parentage\n } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n } else {\n _parentage.remove(this);\n }\n }\n const {\n initialTeardown\n } = this;\n if (isFunction(initialTeardown)) {\n try {\n initialTeardown();\n } catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const {\n _teardowns\n } = this;\n if (_teardowns) {\n this._teardowns = null;\n for (const teardown of _teardowns) {\n try {\n execTeardown(teardown);\n } catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n } else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execTeardown(teardown);\n } else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._teardowns = (_a = this._teardowns) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const {\n _parentage\n } = this;\n return _parentage === parent || Array.isArray(_parentage) && _parentage.includes(parent);\n }\n _addParent(parent) {\n const {\n _parentage\n } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const {\n _parentage\n } = this;\n if (_parentage === parent) {\n this._parentage = null;\n } else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const {\n _teardowns\n } = this;\n _teardowns && arrRemove(_teardowns, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return value instanceof Subscription || value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe);\n}\nfunction execTeardown(teardown) {\n if (isFunction(teardown)) {\n teardown();\n } else {\n teardown.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscription.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { async } from '../scheduler/async';\nimport { isValidDate } from '../util/isDate';\nimport { timeout } from './timeout';\nexport function timeoutWith(due, withObservable, scheduler) {\n let first;\n let each;\n let _with;\n scheduler = scheduler !== null && scheduler !== void 0 ? scheduler : async;\n if (isValidDate(due)) {\n first = due;\n } else if (typeof due === 'number') {\n each = due;\n }\n if (withObservable) {\n _with = () => withObservable;\n } else {\n throw new TypeError('No observable provided to switch to');\n }\n if (first == null && each == null) {\n throw new TypeError('No timeout provided.');\n }\n return timeout({\n first,\n each,\n scheduler,\n with: _with\n });\n}\n//# sourceMappingURL=timeoutWith.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { BehaviorSubject } from 'rxjs';\nimport * as i0 from \"@angular/core\";\nexport let DtVersionService = /*#__PURE__*/(() => {\n class DtVersionService {\n constructor() {\n this.dtVersion = 'v2';\n this.versionChanged$ = new BehaviorSubject(this.dtVersion);\n }\n static #_ = this.ɵfac = function DtVersionService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || DtVersionService)();\n };\n static #_2 = this.ɵprov = /*@__PURE__*/i0.ɵɵdefineInjectable({\n token: DtVersionService,\n factory: DtVersionService.ɵfac,\n providedIn: 'root'\n });\n }\n return DtVersionService;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { Subject } from '../Subject';\nimport { from } from '../observable/from';\nimport { operate } from '../util/lift';\nimport { fromSubscribable } from '../observable/fromSubscribable';\nconst DEFAULT_CONFIG = {\n connector: () => new Subject()\n};\nexport function connect(selector, config = DEFAULT_CONFIG) {\n const {\n connector\n } = config;\n return operate((source, subscriber) => {\n const subject = connector();\n from(selector(fromSubscribable(subject))).subscribe(subscriber);\n subscriber.add(source.subscribe(subject));\n });\n}\n//# sourceMappingURL=connect.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { HttpClient } from '@angular/common/http';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nfunction WithAjaxCallbackComponent_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"blockquote\")(1, \"p\");\n i0.ɵɵtext(2, \"No preview as we do not have a server that can serve the queries.\");\n i0.ɵɵelementEnd()();\n }\n}\nexport let WithAjaxCallbackComponent = /*#__PURE__*/(() => {\n class WithAjaxCallbackComponent {\n constructor(http) {\n this.http = http;\n this.pageTitle = 'AJAX with callback';\n this.mdIntro = 'assets/docs/basic/with-ajax-callback/intro.md';\n this.mdHTML = 'assets/docs/basic/with-ajax-callback/source-html.md';\n this.mdTS = 'assets/docs/basic/with-ajax-callback/source-ts.md';\n this.mdTSV1 = 'assets/docs/basic/with-ajax-callback/source-ts-dtv1.md';\n this.dtOptions = {};\n }\n ngOnInit() {\n const that = this;\n this.dtOptions = {\n ajax: (dataTablesParameters, callback) => {\n that.http.post('https://xtlncifojk.eu07.qoddiapp.com/', dataTablesParameters, {}).subscribe(resp => {\n callback({\n recordsTotal: resp.recordsTotal,\n recordsFiltered: resp.recordsFiltered,\n data: resp.data\n });\n });\n },\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 };\n }\n static #_ = this.ɵfac = function WithAjaxCallbackComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || WithAjaxCallbackComponent)(i0.ɵɵdirectiveInject(i1.HttpClient));\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: WithAjaxCallbackComponent,\n selectors: [[\"app-with-ajax-callback\"]],\n standalone: false,\n decls: 3,\n vars: 6,\n consts: [[\"preview\", \"\"], [3, \"pageTitle\", \"mdIntro\", \"mdHTML\", \"mdTS\", \"mdTSV1\", \"template\"]],\n template: function WithAjaxCallbackComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, WithAjaxCallbackComponent_ng_template_0_Template, 3, 0, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelement(2, \"app-base-demo\", 1);\n }\n if (rf & 2) {\n const preview_r1 = i0.ɵɵreference(1);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"pageTitle\", ctx.pageTitle)(\"mdIntro\", ctx.mdIntro)(\"mdHTML\", ctx.mdHTML)(\"mdTS\", ctx.mdTS)(\"mdTSV1\", ctx.mdTSV1)(\"template\", preview_r1);\n }\n },\n encapsulation: 2\n });\n }\n return WithAjaxCallbackComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass(_super => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}` : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n//# sourceMappingURL=UnsubscriptionError.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n//# sourceMappingURL=arrRemove.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nexport function expand(project, concurrent = Infinity, scheduler) {\n concurrent = (concurrent || 0) < 1 ? Infinity : concurrent;\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent, undefined, true, scheduler));\n}\n//# sourceMappingURL=expand.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { DataTableDirective } from 'angular-datatables';\nimport * as i0 from \"@angular/core\";\nfunction CustomRangeSearchComponent_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"form\", 2);\n i0.ɵɵlistener(\"submit\", function CustomRangeSearchComponent_ng_template_0_Template_form_submit_0_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.filterById());\n });\n i0.ɵɵelementStart(1, \"label\");\n i0.ɵɵtext(2, \" Min \");\n i0.ɵɵelementStart(3, \"input\", 3);\n i0.ɵɵtwoWayListener(\"ngModelChange\", function CustomRangeSearchComponent_ng_template_0_Template_input_ngModelChange_3_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵtwoWayBindingSet(ctx_r1.min, $event) || (ctx_r1.min = $event);\n return i0.ɵɵresetView($event);\n });\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(4, \"label\");\n i0.ɵɵtext(5, \" Max \");\n i0.ɵɵelementStart(6, \"input\", 4);\n i0.ɵɵtwoWayListener(\"ngModelChange\", function CustomRangeSearchComponent_ng_template_0_Template_input_ngModelChange_6_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵtwoWayBindingSet(ctx_r1.max, $event) || (ctx_r1.max = $event);\n return i0.ɵɵresetView($event);\n });\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(7, \"button\", 5);\n i0.ɵɵtext(8, \"Filter by ID\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelement(9, \"br\")(10, \"table\", 6);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance(3);\n i0.ɵɵtwoWayProperty(\"ngModel\", ctx_r1.min);\n i0.ɵɵadvance(3);\n i0.ɵɵtwoWayProperty(\"ngModel\", ctx_r1.max);\n i0.ɵɵadvance(4);\n i0.ɵɵproperty(\"dtOptions\", ctx_r1.dtOptions);\n }\n}\n// Example from https://datatables.net/examples/plug-ins/range_filtering.html\nexport let CustomRangeSearchComponent = /*#__PURE__*/(() => {\n class CustomRangeSearchComponent {\n constructor() {\n this.pageTitle = 'Custom filtering - Range search';\n this.mdIntro = 'assets/docs/advanced/custom-range/intro.md';\n this.mdHTML = 'assets/docs/advanced/custom-range/source-html.md';\n this.mdTS = 'assets/docs/advanced/custom-range/source-ts.md';\n this.mdTSV1 = 'assets/docs/advanced/custom-range/source-ts-dtv1.md';\n this.dtOptions = {};\n }\n ngOnInit() {\n // We need to call the $.fn.dataTable like this because DataTables typings do not have the \"ext\" property\n $.fn['dataTable'].ext.search.push((settings, data, dataIndex) => {\n const id = parseFloat(data[0]) || 0; // use data for the id column\n if (isNaN(this.min) && isNaN(this.max) || isNaN(this.min) && id <= this.max || this.min <= id && isNaN(this.max) || this.min <= id && id <= this.max) {\n return true;\n }\n return false;\n });\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 };\n }\n ngOnDestroy() {\n // We remove the last function in the global ext search array so we do not add the fn each time the component is drawn\n // /!\\ This is not the ideal solution as other components may add other search function in this array, so be careful when\n // handling this global variable\n $.fn['dataTable'].ext.search.pop();\n }\n filterById() {\n this.datatableElement.dtInstance.then(dtInstance => {\n dtInstance.draw();\n });\n return false;\n }\n static #_ = this.ɵfac = function CustomRangeSearchComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || CustomRangeSearchComponent)();\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: CustomRangeSearchComponent,\n selectors: [[\"app-custom-range-search\"]],\n viewQuery: function CustomRangeSearchComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(DataTableDirective, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datatableElement = _t.first);\n }\n },\n standalone: false,\n decls: 3,\n vars: 6,\n consts: [[\"preview\", \"\"], [3, \"pageTitle\", \"mdIntro\", \"mdHTML\", \"mdTS\", \"mdTSV1\", \"template\"], [3, \"submit\"], [\"type\", \"number\", \"name\", \"min\", \"id\", \"min\", 3, \"ngModelChange\", \"ngModel\"], [\"type\", \"number\", \"name\", \"max\", \"id\", \"max\", 3, \"ngModelChange\", \"ngModel\"], [\"type\", \"submit\", 1, \"btn\", \"btn-primary\"], [\"datatable\", \"\", 1, \"row-border\", \"hover\", 3, \"dtOptions\"]],\n template: function CustomRangeSearchComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, CustomRangeSearchComponent_ng_template_0_Template, 11, 3, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelement(2, \"app-base-demo\", 1);\n }\n if (rf & 2) {\n const preview_r3 = i0.ɵɵreference(1);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"pageTitle\", ctx.pageTitle)(\"mdIntro\", ctx.mdIntro)(\"mdHTML\", ctx.mdHTML)(\"mdTS\", ctx.mdTS)(\"mdTSV1\", ctx.mdTSV1)(\"template\", preview_r3);\n }\n },\n encapsulation: 2\n });\n }\n return CustomRangeSearchComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
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 { DOCUMENT, ɵgetDOM as _getDOM } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, ɵRuntimeError as _RuntimeError, Injectable, Inject, APP_ID, CSP_NONCE, PLATFORM_ID, Optional, ViewEncapsulation, ɵTracingService as _TracingService, RendererStyleFlags2 } from '@angular/core';\n\n/**\n * The injection token for plugins of the `EventManager` service.\n *\n * @publicApi\n */\nconst EVENT_MANAGER_PLUGINS = /*#__PURE__*/new InjectionToken(ngDevMode ? 'EventManagerPlugins' : '');\n/**\n * An injectable service that provides event management for Angular\n * through a browser plug-in.\n *\n * @publicApi\n */\nlet EventManager = /*#__PURE__*/(() => {\n class EventManager {\n _zone;\n _plugins;\n _eventNameToPlugin = new Map();\n /**\n * Initializes an instance of the event-manager service.\n */\n constructor(plugins, _zone) {\n this._zone = _zone;\n plugins.forEach(plugin => {\n plugin.manager = this;\n });\n this._plugins = plugins.slice().reverse();\n }\n /**\n * Registers a handler for a specific element and event.\n *\n * @param element The HTML element to receive event notifications.\n * @param eventName The name of the event to listen for.\n * @param handler A function to call when the notification occurs. Receives the\n * event object as an argument.\n * @param options Options that configure how the event listener is bound.\n * @returns A callback function that can be used to remove the handler.\n */\n addEventListener(element, eventName, handler, options) {\n const plugin = this._findPluginFor(eventName);\n return plugin.addEventListener(element, eventName, handler, options);\n }\n /**\n * Retrieves the compilation zone in which event listeners are registered.\n */\n getZone() {\n return this._zone;\n }\n /** @internal */\n _findPluginFor(eventName) {\n let plugin = this._eventNameToPlugin.get(eventName);\n if (plugin) {\n return plugin;\n }\n const plugins = this._plugins;\n plugin = plugins.find(plugin => plugin.supports(eventName));\n if (!plugin) {\n throw new _RuntimeError(5101 /* RuntimeErrorCode.NO_PLUGIN_FOR_EVENT */, (typeof ngDevMode === 'undefined' || ngDevMode) && `No event manager plugin found for event ${eventName}`);\n }\n this._eventNameToPlugin.set(eventName, plugin);\n return plugin;\n }\n static ɵfac = function EventManager_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || EventManager)(i0.ɵɵinject(EVENT_MANAGER_PLUGINS), i0.ɵɵinject(i0.NgZone));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: EventManager,\n factory: EventManager.ɵfac\n });\n }\n return EventManager;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * The plugin definition for the `EventManager` class\n *\n * It can be used as a base class to create custom manager plugins, i.e. you can create your own\n * class that extends the `EventManagerPlugin` one.\n *\n * @publicApi\n */\nclass EventManagerPlugin {\n _doc;\n // TODO: remove (has some usage in G3)\n constructor(_doc) {\n this._doc = _doc;\n }\n // Using non-null assertion because it's set by EventManager's constructor\n manager;\n}\n\n/** The style elements attribute name used to set value of `APP_ID` token. */\nconst APP_ID_ATTRIBUTE_NAME = 'ng-app-id';\n/**\n * Removes all provided elements from the document.\n * @param elements An array of HTML Elements.\n */\nfunction removeElements(elements) {\n for (const element of elements) {\n element.remove();\n }\n}\n/**\n * Creates a `style` element with the provided inline style content.\n * @param style A string of the inline style content.\n * @param doc A DOM Document to use to create the element.\n * @returns An HTMLStyleElement instance.\n */\nfunction createStyleElement(style, doc) {\n const styleElement = doc.createElement('style');\n styleElement.textContent = style;\n return styleElement;\n}\n/**\n * Searches a DOM document's head element for style elements with a matching application\n * identifier attribute (`ng-app-id`) to the provide identifier and adds usage records for each.\n * @param doc An HTML DOM document instance.\n * @param appId A string containing an Angular application identifer.\n * @param inline A Map object for tracking inline (defined via `styles` in component decorator) style usage.\n * @param external A Map object for tracking external (defined via `styleUrls` in component decorator) style usage.\n */\nfunction addServerStyles(doc, appId, inline, external) {\n const elements = doc.head?.querySelectorAll(`style[${APP_ID_ATTRIBUTE_NAME}=\"${appId}\"],link[${APP_ID_ATTRIBUTE_NAME}=\"${appId}\"]`);\n if (elements) {\n for (const styleElement of elements) {\n styleElement.removeAttribute(APP_ID_ATTRIBUTE_NAME);\n if (styleElement instanceof HTMLLinkElement) {\n // Only use filename from href\n // The href is build time generated with a unique value to prevent duplicates.\n external.set(styleElement.href.slice(styleElement.href.lastIndexOf('/') + 1), {\n usage: 0,\n elements: [styleElement]\n });\n } else if (styleElement.textContent) {\n inline.set(styleElement.textContent, {\n usage: 0,\n elements: [styleElement]\n });\n }\n }\n }\n}\n/**\n * Creates a `link` element for the provided external style URL.\n * @param url A string of the URL for the stylesheet.\n * @param doc A DOM Document to use to create the element.\n * @returns An HTMLLinkElement instance.\n */\nfunction createLinkElement(url, doc) {\n const linkElement = doc.createElement('link');\n linkElement.setAttribute('rel', 'stylesheet');\n linkElement.setAttribute('href', url);\n return linkElement;\n}\nlet SharedStylesHost = /*#__PURE__*/(() => {\n class SharedStylesHost {\n doc;\n appId;\n nonce;\n /**\n * Provides usage information for active inline style content and associated HTML <style> elements.\n * Embedded styles typically originate from the `styles` metadata of a rendered component.\n */\n inline = new Map();\n /**\n * Provides usage information for active external style URLs and the associated HTML <link> elements.\n * External styles typically originate from the `ɵɵExternalStylesFeature` of a rendered component.\n */\n external = new Map();\n /**\n * Set of host DOM nodes that will have styles attached.\n */\n hosts = new Set();\n constructor(doc, appId, nonce,\n // Cannot remove it due to backward compatibility\n // (it seems some TGP targets might be calling this constructor directly).\n platformId = {}) {\n this.doc = doc;\n this.appId = appId;\n this.nonce = nonce;\n addServerStyles(doc, appId, this.inline, this.external);\n this.hosts.add(doc.head);\n }\n /**\n * Adds embedded styles to the DOM via HTML `style` elements.\n * @param styles An array of style content strings.\n */\n addStyles(styles, urls) {\n for (const value of styles) {\n this.addUsage(value, this.inline, createStyleElement);\n }\n urls?.forEach(value => this.addUsage(value, this.external, createLinkElement));\n }\n /**\n * Removes embedded styles from the DOM that were added as HTML `style` elements.\n * @param styles An array of style content strings.\n */\n removeStyles(styles, urls) {\n for (const value of styles) {\n this.removeUsage(value, this.inline);\n }\n urls?.forEach(value => this.removeUsage(value, this.external));\n }\n addUsage(value, usages, creator) {\n // Attempt to get any current usage of the value\n const record = usages.get(value);\n // If existing, just increment the usage count\n if (record) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && record.usage === 0) {\n // A usage count of zero indicates a preexisting server generated style.\n // This attribute is solely used for debugging purposes of SSR style reuse.\n record.elements.forEach(element => element.setAttribute('ng-style-reused', ''));\n }\n record.usage++;\n } else {\n // Otherwise, create an entry to track the elements and add element for each host\n usages.set(value, {\n usage: 1,\n elements: [...this.hosts].map(host => this.addElement(host, creator(value, this.doc)))\n });\n }\n }\n removeUsage(value, usages) {\n // Attempt to get any current usage of the value\n const record = usages.get(value);\n // If there is a record, reduce the usage count and if no longer used,\n // remove from DOM and delete usage record.\n if (record) {\n record.usage--;\n if (record.usage <= 0) {\n removeElements(record.elements);\n usages.delete(value);\n }\n }\n }\n ngOnDestroy() {\n for (const [, {\n elements\n }] of [...this.inline, ...this.external]) {\n removeElements(elements);\n }\n this.hosts.clear();\n }\n /**\n * Adds a host node to the set of style hosts and adds all existing style usage to\n * the newly added host node.\n *\n * This is currently only used for Shadow DOM encapsulation mode.\n */\n addHost(hostNode) {\n this.hosts.add(hostNode);\n // Add existing styles to new host\n for (const [style, {\n elements\n }] of this.inline) {\n elements.push(this.addElement(hostNode, createStyleElement(style, this.doc)));\n }\n for (const [url, {\n elements\n }] of this.external) {\n elements.push(this.addElement(hostNode, createLinkElement(url, this.doc)));\n }\n }\n removeHost(hostNode) {\n this.hosts.delete(hostNode);\n }\n addElement(host, element) {\n // Add a nonce if present\n if (this.nonce) {\n element.setAttribute('nonce', this.nonce);\n }\n // Add application identifier when on the server to support client-side reuse\n if (typeof ngServerMode !== 'undefined' && ngServerMode) {\n element.setAttribute(APP_ID_ATTRIBUTE_NAME, this.appId);\n }\n // Insert the element into the DOM with the host node as parent\n return host.appendChild(element);\n }\n static ɵfac = function SharedStylesHost_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SharedStylesHost)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(APP_ID), i0.ɵɵinject(CSP_NONCE, 8), i0.ɵɵinject(PLATFORM_ID));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SharedStylesHost,\n factory: SharedStylesHost.ɵfac\n });\n }\n return SharedStylesHost;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nconst NAMESPACE_URIS = {\n 'svg': 'http://www.w3.org/2000/svg',\n 'xhtml': 'http://www.w3.org/1999/xhtml',\n 'xlink': 'http://www.w3.org/1999/xlink',\n 'xml': 'http://www.w3.org/XML/1998/namespace',\n 'xmlns': 'http://www.w3.org/2000/xmlns/',\n 'math': 'http://www.w3.org/1998/Math/MathML'\n};\nconst COMPONENT_REGEX = /%COMP%/g;\nconst SOURCEMAP_URL_REGEXP = /\\/\\*#\\s*sourceMappingURL=(.+?)\\s*\\*\\//;\nconst PROTOCOL_REGEXP = /^https?:/;\nconst COMPONENT_VARIABLE = '%COMP%';\nconst HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;\nconst CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;\n/**\n * The default value for the `REMOVE_STYLES_ON_COMPONENT_DESTROY` DI token.\n */\nconst REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT = true;\n/**\n * A DI token that indicates whether styles\n * of destroyed components should be removed from DOM.\n *\n * By default, the value is set to `true`.\n * @publicApi\n */\nconst REMOVE_STYLES_ON_COMPONENT_DESTROY = /*#__PURE__*/new InjectionToken(ngDevMode ? 'RemoveStylesOnCompDestroy' : '', {\n providedIn: 'root',\n factory: () => REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT\n});\nfunction shimContentAttribute(componentShortId) {\n return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);\n}\nfunction shimHostAttribute(componentShortId) {\n return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);\n}\nfunction shimStylesContent(compId, styles) {\n return styles.map(s => s.replace(COMPONENT_REGEX, compId));\n}\n/**\n * Prepends a baseHref to the `sourceMappingURL` within the provided CSS content.\n * If the `sourceMappingURL` contains an inline (encoded) map, the function skips processing.\n *\n * @note For inline stylesheets, the `sourceMappingURL` is relative to the page's origin\n * and not the provided baseHref. This function is needed as when accessing the page with a URL\n * containing two or more segments.\n * For example, if the baseHref is set to `/`, and you visit a URL like `http://localhost/foo/bar`,\n * the map would be requested from `http://localhost/foo/bar/comp.css.map` instead of what you'd expect,\n * which is `http://localhost/comp.css.map`. This behavior is corrected by modifying the `sourceMappingURL`\n * to ensure external source maps are loaded relative to the baseHref.\n *\n\n * @param baseHref - The base URL to prepend to the `sourceMappingURL`.\n * @param styles - An array of CSS content strings, each potentially containing a `sourceMappingURL`.\n * @returns The updated array of CSS content strings with modified `sourceMappingURL` values,\n * or the original content if no modification is needed.\n */\nfunction addBaseHrefToCssSourceMap(baseHref, styles) {\n if (!baseHref) {\n return styles;\n }\n const absoluteBaseHrefUrl = new URL(baseHref, 'http://localhost');\n return styles.map(cssContent => {\n if (!cssContent.includes('sourceMappingURL=')) {\n return cssContent;\n }\n return cssContent.replace(SOURCEMAP_URL_REGEXP, (_, sourceMapUrl) => {\n if (sourceMapUrl[0] === '/' || sourceMapUrl.startsWith('data:') || PROTOCOL_REGEXP.test(sourceMapUrl)) {\n return `/*# sourceMappingURL=${sourceMapUrl} */`;\n }\n const {\n pathname: resolvedSourceMapUrl\n } = new URL(sourceMapUrl, absoluteBaseHrefUrl);\n return `/*# sourceMappingURL=${resolvedSourceMapUrl} */`;\n });\n });\n}\nlet DomRendererFactory2 = /*#__PURE__*/(() => {\n class DomRendererFactory2 {\n eventManager;\n sharedStylesHost;\n appId;\n removeStylesOnCompDestroy;\n doc;\n platformId;\n ngZone;\n nonce;\n tracingService;\n rendererByCompId = new Map();\n defaultRenderer;\n platformIsServer;\n constructor(eventManager, sharedStylesHost, appId, removeStylesOnCompDestroy, doc, platformId, ngZone, nonce = null, tracingService = null) {\n this.eventManager = eventManager;\n this.sharedStylesHost = sharedStylesHost;\n this.appId = appId;\n this.removeStylesOnCompDestroy = removeStylesOnCompDestroy;\n this.doc = doc;\n this.platformId = platformId;\n this.ngZone = ngZone;\n this.nonce = nonce;\n this.tracingService = tracingService;\n this.platformIsServer = typeof ngServerMode !== 'undefined' && ngServerMode;\n this.defaultRenderer = new DefaultDomRenderer2(eventManager, doc, ngZone, this.platformIsServer, this.tracingService);\n }\n createRenderer(element, type) {\n if (!element || !type) {\n return this.defaultRenderer;\n }\n if (typeof ngServerMode !== 'undefined' && ngServerMode && type.encapsulation === ViewEncapsulation.ShadowDom) {\n // Domino does not support shadow DOM.\n type = {\n ...type,\n encapsulation: ViewEncapsulation.Emulated\n };\n }\n const renderer = this.getOrCreateRenderer(element, type);\n // Renderers have different logic due to different encapsulation behaviours.\n // Ex: for emulated, an attribute is added to the element.\n if (renderer instanceof EmulatedEncapsulationDomRenderer2) {\n renderer.applyToHost(element);\n } else if (renderer instanceof NoneEncapsulationDomRenderer) {\n renderer.applyStyles();\n }\n return renderer;\n }\n getOrCreateRenderer(element, type) {\n const rendererByCompId = this.rendererByCompId;\n let renderer = rendererByCompId.get(type.id);\n if (!renderer) {\n const doc = this.doc;\n const ngZone = this.ngZone;\n const eventManager = this.eventManager;\n const sharedStylesHost = this.sharedStylesHost;\n const removeStylesOnCompDestroy = this.removeStylesOnCompDestroy;\n const platformIsServer = this.platformIsServer;\n const tracingService = this.tracingService;\n switch (type.encapsulation) {\n case ViewEncapsulation.Emulated:\n renderer = new EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, type, this.appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService);\n break;\n case ViewEncapsulation.ShadowDom:\n return new ShadowDomRenderer(eventManager, sharedStylesHost, element, type, doc, ngZone, this.nonce, platformIsServer, tracingService);\n default:\n renderer = new NoneEncapsulationDomRenderer(eventManager, sharedStylesHost, type, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService);\n break;\n }\n rendererByCompId.set(type.id, renderer);\n }\n return renderer;\n }\n ngOnDestroy() {\n this.rendererByCompId.clear();\n }\n /**\n * Used during HMR to clear any cached data about a component.\n * @param componentId ID of the component that is being replaced.\n */\n componentReplaced(componentId) {\n this.rendererByCompId.delete(componentId);\n }\n static ɵfac = function DomRendererFactory2_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || DomRendererFactory2)(i0.ɵɵinject(EventManager), i0.ɵɵinject(SharedStylesHost), i0.ɵɵinject(APP_ID), i0.ɵɵinject(REMOVE_STYLES_ON_COMPONENT_DESTROY), i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(PLATFORM_ID), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(CSP_NONCE), i0.ɵɵinject(_TracingService, 8));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DomRendererFactory2,\n factory: DomRendererFactory2.ɵfac\n });\n }\n return DomRendererFactory2;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nclass DefaultDomRenderer2 {\n eventManager;\n doc;\n ngZone;\n platformIsServer;\n tracingService;\n data = /*#__PURE__*/Object.create(null);\n /**\n * By default this renderer throws when encountering synthetic properties\n * This can be disabled for example by the AsyncAnimationRendererFactory\n */\n throwOnSyntheticProps = true;\n constructor(eventManager, doc, ngZone, platformIsServer, tracingService) {\n this.eventManager = eventManager;\n this.doc = doc;\n this.ngZone = ngZone;\n this.platformIsServer = platformIsServer;\n this.tracingService = tracingService;\n }\n destroy() {}\n destroyNode = null;\n createElement(name, namespace) {\n if (namespace) {\n // TODO: `|| namespace` was added in\n // https://github.com/angular/angular/commit/2b9cc8503d48173492c29f5a271b61126104fbdb to\n // support how Ivy passed around the namespace URI rather than short name at the time. It did\n // not, however extend the support to other parts of the system (setAttribute, setAttribute,\n // and the ServerRenderer). We should decide what exactly the semantics for dealing with\n // namespaces should be and make it consistent.\n // Related issues:\n // https://github.com/angular/angular/issues/44028\n // https://github.com/angular/angular/issues/44883\n return this.doc.createElementNS(NAMESPACE_URIS[namespace] || namespace, name);\n }\n return this.doc.createElement(name);\n }\n createComment(value) {\n return this.doc.createComment(value);\n }\n createText(value) {\n return this.doc.createTextNode(value);\n }\n appendChild(parent, newChild) {\n const targetParent = isTemplateNode(parent) ? parent.content : parent;\n targetParent.appendChild(newChild);\n }\n insertBefore(parent, newChild, refChild) {\n if (parent) {\n const targetParent = isTemplateNode(parent) ? parent.content : parent;\n targetParent.insertBefore(newChild, refChild);\n }\n }\n removeChild(_parent, oldChild) {\n oldChild.remove();\n }\n selectRootElement(selectorOrNode, preserveContent) {\n let el = typeof selectorOrNode === 'string' ? this.doc.querySelector(selectorOrNode) : selectorOrNode;\n if (!el) {\n throw new _RuntimeError(-5104 /* RuntimeErrorCode.ROOT_NODE_NOT_FOUND */, (typeof ngDevMode === 'undefined' || ngDevMode) && `The selector \"${selectorOrNode}\" did not match any elements`);\n }\n if (!preserveContent) {\n el.textContent = '';\n }\n return el;\n }\n parentNode(node) {\n return node.parentNode;\n }\n nextSibling(node) {\n return node.nextSibling;\n }\n setAttribute(el, name, value, namespace) {\n if (namespace) {\n name = namespace + ':' + name;\n const namespaceUri = NAMESPACE_URIS[namespace];\n if (namespaceUri) {\n el.setAttributeNS(namespaceUri, name, value);\n } else {\n el.setAttribute(name, value);\n }\n } else {\n el.setAttribute(name, value);\n }\n }\n removeAttribute(el, name, namespace) {\n if (namespace) {\n const namespaceUri = NAMESPACE_URIS[namespace];\n if (namespaceUri) {\n el.removeAttributeNS(namespaceUri, name);\n } else {\n el.removeAttribute(`${namespace}:${name}`);\n }\n } else {\n el.removeAttribute(name);\n }\n }\n addClass(el, name) {\n el.classList.add(name);\n }\n removeClass(el, name) {\n el.classList.remove(name);\n }\n setStyle(el, style, value, flags) {\n if (flags & (RendererStyleFlags2.DashCase | RendererStyleFlags2.Important)) {\n el.style.setProperty(style, value, flags & RendererStyleFlags2.Important ? 'important' : '');\n } else {\n el.style[style] = value;\n }\n }\n removeStyle(el, style, flags) {\n if (flags & RendererStyleFlags2.DashCase) {\n // removeProperty has no effect when used on camelCased properties.\n el.style.removeProperty(style);\n } else {\n el.style[style] = '';\n }\n }\n setProperty(el, name, value) {\n if (el == null) {\n return;\n }\n (typeof ngDevMode === 'undefined' || ngDevMode) && this.throwOnSyntheticProps && checkNoSyntheticProp(name, 'property');\n el[name] = value;\n }\n setValue(node, value) {\n node.nodeValue = value;\n }\n listen(target, event, callback, options) {\n (typeof ngDevMode === 'undefined' || ngDevMode) && this.throwOnSyntheticProps && checkNoSyntheticProp(event, 'listener');\n if (typeof target === 'string') {\n target = _getDOM().getGlobalEventTarget(this.doc, target);\n if (!target) {\n throw new _RuntimeError(5102 /* RuntimeErrorCode.UNSUPPORTED_EVENT_TARGET */, (typeof ngDevMode === 'undefined' || ngDevMode) && `Unsupported event target ${target} for event ${event}`);\n }\n }\n let wrappedCallback = this.decoratePreventDefault(callback);\n if (this.tracingService?.wrapEventListener) {\n wrappedCallback = this.tracingService.wrapEventListener(target, event, wrappedCallback);\n }\n return this.eventManager.addEventListener(target, event, wrappedCallback, options);\n }\n decoratePreventDefault(eventHandler) {\n // `DebugNode.triggerEventHandler` needs to know if the listener was created with\n // decoratePreventDefault or is a listener added outside the Angular context so it can handle\n // the two differently. In the first case, the special '__ngUnwrap__' token is passed to the\n // unwrap the listener (see below).\n return event => {\n // Ivy uses '__ngUnwrap__' as a special token that allows us to unwrap the function\n // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`. The\n // debug_node can inspect the listener toString contents for the existence of this special\n // token. Because the token is a string literal, it is ensured to not be modified by compiled\n // code.\n if (event === '__ngUnwrap__') {\n return eventHandler;\n }\n // Run the event handler inside the ngZone because event handlers are not patched\n // by Zone on the server. This is required only for tests.\n const allowDefaultBehavior = typeof ngServerMode !== 'undefined' && ngServerMode ? this.ngZone.runGuarded(() => eventHandler(event)) : eventHandler(event);\n if (allowDefaultBehavior === false) {\n event.preventDefault();\n }\n return undefined;\n };\n }\n}\nconst AT_CHARCODE = /*#__PURE__*/(() => '@'.charCodeAt(0))();\nfunction checkNoSyntheticProp(name, nameKind) {\n if (name.charCodeAt(0) === AT_CHARCODE) {\n throw new _RuntimeError(5105 /* RuntimeErrorCode.UNEXPECTED_SYNTHETIC_PROPERTY */, `Unexpected synthetic ${nameKind} ${name} found. Please make sure that:\n - Make sure \\`provideAnimationsAsync()\\`, \\`provideAnimations()\\` or \\`provideNoopAnimations()\\` call was added to a list of providers used to bootstrap an application.\n - There is a corresponding animation configuration named \\`${name}\\` defined in the \\`animations\\` field of the \\`@Component\\` decorator (see https://angular.dev/api/core/Component#animations).`);\n }\n}\nfunction isTemplateNode(node) {\n return node.tagName === 'TEMPLATE' && node.content !== undefined;\n}\nclass ShadowDomRenderer extends DefaultDomRenderer2 {\n sharedStylesHost;\n hostEl;\n shadowRoot;\n constructor(eventManager, sharedStylesHost, hostEl, component, doc, ngZone, nonce, platformIsServer, tracingService) {\n super(eventManager, doc, ngZone, platformIsServer, tracingService);\n this.sharedStylesHost = sharedStylesHost;\n this.hostEl = hostEl;\n this.shadowRoot = hostEl.attachShadow({\n mode: 'open'\n });\n this.sharedStylesHost.addHost(this.shadowRoot);\n let styles = component.styles;\n if (ngDevMode) {\n // We only do this in development, as for production users should not add CSS sourcemaps to components.\n const baseHref = _getDOM().getBaseHref(doc) ?? '';\n styles = addBaseHrefToCssSourceMap(baseHref, styles);\n }\n styles = shimStylesContent(component.id, styles);\n for (const style of styles) {\n const styleEl = document.createElement('style');\n if (nonce) {\n styleEl.setAttribute('nonce', nonce);\n }\n styleEl.textContent = style;\n this.shadowRoot.appendChild(styleEl);\n }\n // Apply any external component styles to the shadow root for the component's element.\n // The ShadowDOM renderer uses an alternative execution path for component styles that\n // does not use the SharedStylesHost that other encapsulation modes leverage. Much like\n // the manual addition of embedded styles directly above, any external stylesheets\n // must be manually added here to ensure ShadowDOM components are correctly styled.\n // TODO: Consider reworking the DOM Renderers to consolidate style handling.\n const styleUrls = component.getExternalStyles?.();\n if (styleUrls) {\n for (const styleUrl of styleUrls) {\n const linkEl = createLinkElement(styleUrl, doc);\n if (nonce) {\n linkEl.setAttribute('nonce', nonce);\n }\n this.shadowRoot.appendChild(linkEl);\n }\n }\n }\n nodeOrShadowRoot(node) {\n return node === this.hostEl ? this.shadowRoot : node;\n }\n appendChild(parent, newChild) {\n return super.appendChild(this.nodeOrShadowRoot(parent), newChild);\n }\n insertBefore(parent, newChild, refChild) {\n return super.insertBefore(this.nodeOrShadowRoot(parent), newChild, refChild);\n }\n removeChild(_parent, oldChild) {\n return super.removeChild(null, oldChild);\n }\n parentNode(node) {\n return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(node)));\n }\n destroy() {\n this.sharedStylesHost.removeHost(this.shadowRoot);\n }\n}\nclass NoneEncapsulationDomRenderer extends DefaultDomRenderer2 {\n sharedStylesHost;\n removeStylesOnCompDestroy;\n styles;\n styleUrls;\n constructor(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService, compId) {\n super(eventManager, doc, ngZone, platformIsServer, tracingService);\n this.sharedStylesHost = sharedStylesHost;\n this.removeStylesOnCompDestroy = removeStylesOnCompDestroy;\n let styles = component.styles;\n if (ngDevMode) {\n // We only do this in development, as for production users should not add CSS sourcemaps to components.\n const baseHref = _getDOM().getBaseHref(doc) ?? '';\n styles = addBaseHrefToCssSourceMap(baseHref, styles);\n }\n this.styles = compId ? shimStylesContent(compId, styles) : styles;\n this.styleUrls = component.getExternalStyles?.(compId);\n }\n applyStyles() {\n this.sharedStylesHost.addStyles(this.styles, this.styleUrls);\n }\n destroy() {\n if (!this.removeStylesOnCompDestroy) {\n return;\n }\n this.sharedStylesHost.removeStyles(this.styles, this.styleUrls);\n }\n}\nclass EmulatedEncapsulationDomRenderer2 extends NoneEncapsulationDomRenderer {\n contentAttr;\n hostAttr;\n constructor(eventManager, sharedStylesHost, component, appId, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService) {\n const compId = appId + '-' + component.id;\n super(eventManager, sharedStylesHost, component, removeStylesOnCompDestroy, doc, ngZone, platformIsServer, tracingService, compId);\n this.contentAttr = shimContentAttribute(compId);\n this.hostAttr = shimHostAttribute(compId);\n }\n applyToHost(element) {\n this.applyStyles();\n this.setAttribute(element, this.hostAttr, '');\n }\n createElement(parent, name) {\n const el = super.createElement(parent, name);\n super.setAttribute(el, this.contentAttr, '');\n return el;\n }\n}\nexport { DomRendererFactory2, EVENT_MANAGER_PLUGINS, EventManager, EventManagerPlugin, REMOVE_STYLES_ON_COMPONENT_DESTROY, SharedStylesHost };\n//# sourceMappingURL=dom_renderer.mjs.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { OperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const {\n args: observables,\n keys\n } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys ? values => createObject(keys, values) : identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return subscriber => {\n maybeSchedule(scheduler, () => {\n const {\n length\n } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(new OperatorSubscriber(subscriber, value => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (! --active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n } else {\n execute();\n }\n}\n//# sourceMappingURL=combineLatest.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { operate } from '../util/lift';\nexport function finalize(callback) {\n return operate((source, subscriber) => {\n try {\n source.subscribe(subscriber);\n } finally {\n subscriber.add(callback);\n }\n });\n}\n//# sourceMappingURL=finalize.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import * as i0 from \"@angular/core\";\nexport let FAQComponent = /*#__PURE__*/(() => {\n class FAQComponent {\n constructor() {\n this.faqMd = 'assets/docs/faq.md';\n }\n ngOnInit() {}\n onLoad(event) {\n // Hide Copy button\n $('.toolbar').hide();\n // red color for questions\n $('h5').css('color', 'red');\n }\n static #_ = this.ɵfac = function FAQComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || FAQComponent)();\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: FAQComponent,\n selectors: [[\"app-f-a-q\"]],\n standalone: false,\n decls: 8,\n vars: 2,\n consts: [[1, \"top-banner\", \"section\", \"banner\"], [1, \"container\"], [1, \"row\"], [1, \"col\", \"s12\", \"m9\"], [1, \"header\", \"center-on-small-only\"], [3, \"load\", \"className\", \"src\"]],\n template: function FAQComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"div\", 2)(3, \"div\", 3)(4, \"h1\", 4);\n i0.ɵɵtext(5, \"FAQ\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(6, \"div\", 1)(7, \"markdown\", 5);\n i0.ɵɵlistener(\"load\", function FAQComponent_Template_markdown_load_7_listener($event) {\n return ctx.onLoad($event);\n });\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"className\", \"faqMarkdown\")(\"src\", ctx.faqMd);\n }\n },\n encapsulation: 2\n });\n }\n return FAQComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { QueryList } from '@angular/core';\nimport { DataTableDirective } from 'angular-datatables';\nimport * as i0 from \"@angular/core\";\nfunction MultipleTablesComponent_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"p\")(1, \"button\", 2);\n i0.ɵɵlistener(\"click\", function MultipleTablesComponent_ng_template_0_Template_button_click_1_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.displayToConsole());\n });\n i0.ɵɵtext(2, \" Display the DataTable instances in the console \");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(3, \"h5\", 3);\n i0.ɵɵtext(4, \"Table 1\");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(5, \"table\", 4);\n i0.ɵɵelementStart(6, \"h5\", 3);\n i0.ɵɵtext(7, \"Table 2\");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(8, \"table\", 5);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance(5);\n i0.ɵɵproperty(\"dtOptions\", ctx_r1.dtOptions[0]);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"dtOptions\", ctx_r1.dtOptions[1]);\n }\n}\nexport let MultipleTablesComponent = /*#__PURE__*/(() => {\n class MultipleTablesComponent {\n constructor() {\n this.pageTitle = 'Multiple tables in the same page';\n this.mdIntro = 'assets/docs/advanced/multiple-tables/intro.md';\n this.mdHTML = 'assets/docs/advanced/multiple-tables/source-html.md';\n this.mdTS = 'assets/docs/advanced/multiple-tables/source-ts.md';\n this.mdTSV1 = 'assets/docs/advanced/multiple-tables/source-ts-dtv1.md';\n this.dtOptions = [];\n }\n displayToConsole() {\n this.dtElements.forEach((dtElement, index) => {\n dtElement.dtInstance.then(dtInstance => {\n console.log(`The DataTable ${index} instance ID is: ${dtInstance.table().node().id}`);\n });\n });\n }\n ngOnInit() {\n this.dtOptions[0] = this.buildDtOptions('data/data.json');\n this.dtOptions[1] = this.buildDtOptions('data/data1.json');\n }\n buildDtOptions(url) {\n return {\n ajax: url,\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 };\n }\n static #_ = this.ɵfac = function MultipleTablesComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MultipleTablesComponent)();\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: MultipleTablesComponent,\n selectors: [[\"app-multiple-tables\"]],\n viewQuery: function MultipleTablesComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(DataTableDirective, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dtElements = _t);\n }\n },\n standalone: false,\n decls: 3,\n vars: 6,\n consts: [[\"preview\", \"\"], [3, \"pageTitle\", \"mdIntro\", \"mdHTML\", \"mdTS\", \"mdTSV1\", \"template\"], [\"type\", \"button\", 1, \"btn\", \"waves-effect\", \"waves-light\", \"blue\", 3, \"click\"], [1, \"header\"], [\"id\", \"first-table\", \"datatable\", \"\", 1, \"row-border\", \"hover\", 3, \"dtOptions\"], [\"id\", \"second-table\", \"datatable\", \"\", 1, \"row-border\", \"hover\", 3, \"dtOptions\"]],\n template: function MultipleTablesComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, MultipleTablesComponent_ng_template_0_Template, 9, 2, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelement(2, \"app-base-demo\", 1);\n }\n if (rf & 2) {\n const preview_r3 = i0.ɵɵreference(1);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"pageTitle\", ctx.pageTitle)(\"mdIntro\", ctx.mdIntro)(\"mdHTML\", ctx.mdHTML)(\"mdTS\", ctx.mdTS)(\"mdTSV1\", ctx.mdTSV1)(\"template\", preview_r3);\n }\n },\n encapsulation: 2\n });\n }\n return MultipleTablesComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { concat } from '../observable/concat';\nimport { of } from '../observable/of';\nexport function endWith(...values) {\n return source => concat(source, of(...values));\n}\n//# sourceMappingURL=endWith.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined\n};\n//# sourceMappingURL=dateTimestampProvider.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const {\n hasError,\n thrownError,\n _value\n } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next(this._value = value);\n }\n}\n//# sourceMappingURL=BehaviorSubject.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"const {\n isArray\n} = Array;\nconst {\n getPrototypeOf,\n prototype: objectProto,\n keys: getKeys\n} = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return {\n args: first,\n keys: null\n };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map(key => first[key]),\n keys\n };\n }\n }\n return {\n args: args,\n keys: null\n };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n//# sourceMappingURL=argsArgArrayOrObject.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { EMPTY } from './observable/empty';\nimport { of } from './observable/of';\nimport { throwError } from './observable/throwError';\nimport { isFunction } from './util/isFunction';\nexport var NotificationKind = /*#__PURE__*/function (NotificationKind) {\n NotificationKind[\"NEXT\"] = \"N\";\n NotificationKind[\"ERROR\"] = \"E\";\n NotificationKind[\"COMPLETE\"] = \"C\";\n return NotificationKind;\n}(NotificationKind || {});\nexport class Notification {\n constructor(kind, value, error) {\n this.kind = kind;\n this.value = value;\n this.error = error;\n this.hasValue = kind === 'N';\n }\n observe(observer) {\n return observeNotification(this, observer);\n }\n do(nextHandler, errorHandler, completeHandler) {\n const {\n kind,\n value,\n error\n } = this;\n return kind === 'N' ? nextHandler === null || nextHandler === void 0 ? void 0 : nextHandler(value) : kind === 'E' ? errorHandler === null || errorHandler === void 0 ? void 0 : errorHandler(error) : completeHandler === null || completeHandler === void 0 ? void 0 : completeHandler();\n }\n accept(nextOrObserver, error, complete) {\n var _a;\n return isFunction((_a = nextOrObserver) === null || _a === void 0 ? void 0 : _a.next) ? this.observe(nextOrObserver) : this.do(nextOrObserver, error, complete);\n }\n toObservable() {\n const {\n kind,\n value,\n error\n } = this;\n const result = kind === 'N' ? of(value) : kind === 'E' ? throwError(() => error) : kind === 'C' ? EMPTY : 0;\n if (!result) {\n throw new TypeError(`Unexpected notification kind ${kind}`);\n }\n return result;\n }\n static createNext(value) {\n return new Notification('N', value);\n }\n static createError(err) {\n return new Notification('E', undefined, err);\n }\n static createComplete() {\n return Notification.completeNotification;\n }\n}\nNotification.completeNotification = new Notification('C');\nexport function observeNotification(notification, observer) {\n var _a, _b, _c;\n const {\n kind,\n value,\n error\n } = notification;\n if (typeof kind !== 'string') {\n throw new TypeError('Invalid notification, missing \"kind\"');\n }\n kind === 'N' ? (_a = observer.next) === null || _a === void 0 ? void 0 : _a.call(observer, value) : kind === 'E' ? (_b = observer.error) === null || _b === void 0 ? void 0 : _b.call(observer, error) : (_c = observer.complete) === null || _c === void 0 ? void 0 : _c.call(observer);\n}\n//# sourceMappingURL=Notification.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { AsyncScheduler } from './AsyncScheduler';\nexport class QueueScheduler extends AsyncScheduler {}\n//# sourceMappingURL=QueueScheduler.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target) ? eventTargetMethods.map(methodName => handler => target[methodName](eventName, handler, options)) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap(subTarget => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable(subscriber => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return methodName => handler => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n//# sourceMappingURL=fromEvent.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { Subject } from './Subject';\nexport class AsyncSubject extends Subject {\n constructor() {\n super(...arguments);\n this._value = null;\n this._hasValue = false;\n this._isComplete = false;\n }\n _checkFinalizedStatuses(subscriber) {\n const {\n hasError,\n _hasValue,\n _value,\n thrownError,\n isStopped,\n _isComplete\n } = this;\n if (hasError) {\n subscriber.error(thrownError);\n } else if (isStopped || _isComplete) {\n _hasValue && subscriber.next(_value);\n subscriber.complete();\n }\n }\n next(value) {\n if (!this.isStopped) {\n this._value = value;\n this._hasValue = true;\n }\n }\n complete() {\n const {\n _hasValue,\n _value,\n _isComplete\n } = this;\n if (!_isComplete) {\n this._isComplete = true;\n _hasValue && super.next(_value);\n super.complete();\n }\n }\n}\n//# sourceMappingURL=AsyncSubject.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import 'datatables.net-responsive';\nimport * as i0 from \"@angular/core\";\nfunction ResponsiveExtensionComponent_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 ResponsiveExtensionComponent = /*#__PURE__*/(() => {\n class ResponsiveExtensionComponent {\n constructor() {\n this.pageTitle = 'DataTables Responsive extension';\n this.mdIntro = 'assets/docs/extensions/responsive/intro.md';\n this.mdInstall = 'assets/docs/extensions/responsive/installation.md';\n this.mdHTML = 'assets/docs/extensions/responsive/source-html.md';\n this.mdTS = 'assets/docs/extensions/responsive/source-ts.md';\n this.mdTSV1 = 'assets/docs/extensions/responsive/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 className: 'none'\n }],\n // Use this attribute to enable the responsive extension\n responsive: true\n };\n }\n static #_ = this.ɵfac = function ResponsiveExtensionComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ResponsiveExtensionComponent)();\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ResponsiveExtensionComponent,\n selectors: [[\"app-responsive-extension\"]],\n standalone: false,\n decls: 3,\n vars: 7,\n consts: [[\"preview\", \"\"], [3, \"pageTitle\", \"mdIntro\", \"mdInstall\", \"mdHTML\", \"mdTS\", \"mdTSV1\", \"template\"], [\"datatable\", \"\", 1, \"row-border\", \"hover\", 3, \"dtOptions\"]],\n template: function ResponsiveExtensionComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, ResponsiveExtensionComponent_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)(\"mdHTML\", ctx.mdHTML)(\"mdTS\", ctx.mdTS)(\"mdTSV1\", ctx.mdTSV1)(\"template\", preview_r2);\n }\n },\n encapsulation: 2\n });\n }\n return ResponsiveExtensionComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { Subject } from '../Subject';\nimport { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function windowWhen(closingSelector) {\n return operate((source, subscriber) => {\n let window;\n let closingSubscriber;\n const handleError = err => {\n window.error(err);\n subscriber.error(err);\n };\n const openWindow = () => {\n closingSubscriber === null || closingSubscriber === void 0 ? void 0 : closingSubscriber.unsubscribe();\n window === null || window === void 0 ? void 0 : window.complete();\n window = new Subject();\n subscriber.next(window.asObservable());\n let closingNotifier;\n try {\n closingNotifier = innerFrom(closingSelector());\n } catch (err) {\n handleError(err);\n return;\n }\n closingNotifier.subscribe(closingSubscriber = new OperatorSubscriber(subscriber, openWindow, openWindow, handleError));\n };\n openWindow();\n source.subscribe(new OperatorSubscriber(subscriber, value => window.next(value), () => {\n window.complete();\n subscriber.complete();\n }, handleError, () => {\n closingSubscriber === null || closingSubscriber === void 0 ? void 0 : closingSubscriber.unsubscribe();\n window = null;\n }));\n });\n}\n//# sourceMappingURL=windowWhen.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { concatMap } from './concatMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMapTo(innerObservable, resultSelector) {\n return isFunction(resultSelector) ? concatMap(() => innerObservable, resultSelector) : concatMap(() => innerObservable);\n}\n//# sourceMappingURL=concatMapTo.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { zip } from '../observable/zip';\nimport { joinAllInternals } from './joinAllInternals';\nexport function zipAll(project) {\n return joinAllInternals(zip, project);\n}\n//# sourceMappingURL=zipAll.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { reduce } from './reduce';\nimport { isFunction } from '../util/isFunction';\nexport function max(comparer) {\n return reduce(isFunction(comparer) ? (x, y) => comparer(x, y) > 0 ? x : y : (x, y) => x > y ? x : y);\n}\n//# sourceMappingURL=max.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"/**\n * @license Angular v20.1.0\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nexport { NOT_FOUND, NotFoundError, getCurrentInjector, inject, isNotFound, setCurrentInjector } from '../not_found.mjs';\nfunction defineInjectable(opts) {\n return {\n token: opts.token,\n providedIn: opts.providedIn || null,\n factory: opts.factory,\n value: undefined\n };\n}\nfunction registerInjectable(ctor, declaration) {\n ctor.ɵprov = declaration;\n return ctor;\n}\nexport { defineInjectable, registerInjectable };\n//# sourceMappingURL=di.mjs.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(new OperatorSubscriber(subscriber, value => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), err => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n//# sourceMappingURL=observeOn.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { concatAll } from '../operators/concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function concat(...args) {\n return concatAll()(from(args, popScheduler(args)));\n}\n//# sourceMappingURL=concat.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { innerFrom } from '../observable/innerFrom';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nexport function audit(durationSelector) {\n return operate((source, subscriber) => {\n let hasValue = false;\n let lastValue = null;\n let durationSubscriber = null;\n let isComplete = false;\n const endDuration = () => {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n durationSubscriber = null;\n if (hasValue) {\n hasValue = false;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n isComplete && subscriber.complete();\n };\n const cleanupDuration = () => {\n durationSubscriber = null;\n isComplete && subscriber.complete();\n };\n source.subscribe(new OperatorSubscriber(subscriber, value => {\n hasValue = true;\n lastValue = value;\n if (!durationSubscriber) {\n innerFrom(durationSelector(value)).subscribe(durationSubscriber = new OperatorSubscriber(subscriber, endDuration, cleanupDuration));\n }\n }, () => {\n isComplete = true;\n (!hasValue || !durationSubscriber || durationSubscriber.closed) && subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=audit.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n//# sourceMappingURL=subscribeOn.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"export function createObject(keys, values) {\n return keys.reduce((result, key, i) => (result[key] = values[i], result), {});\n}\n//# sourceMappingURL=createObject.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n//# sourceMappingURL=Scheduler.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { takeLast } from './takeLast';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { identity } from '../util/identity';\nexport function last(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return source => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, takeLast(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n//# sourceMappingURL=last.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { BehaviorSubject } from '../BehaviorSubject';\nimport { ConnectableObservable } from '../observable/ConnectableObservable';\nexport function publishBehavior(initialValue) {\n return source => {\n const subject = new BehaviorSubject(initialValue);\n return new ConnectableObservable(source, () => subject);\n };\n}\n//# sourceMappingURL=publishBehavior.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';\nimport { filter } from './filter';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { take } from './take';\nexport function elementAt(index, defaultValue) {\n if (index < 0) {\n throw new ArgumentOutOfRangeError();\n }\n const hasDefaultValue = arguments.length >= 2;\n return source => source.pipe(filter((v, i) => i === index), take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new ArgumentOutOfRangeError()));\n}\n//# sourceMappingURL=elementAt.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"/*! DataTables styling integration\n * ©2018 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;\nexport default DataTable;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import { operate } from '../util/lift';\nimport { OperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { identity } from '../util/identity';\nimport { noop } from '../util/noop';\nimport { popResultSelector } from '../util/args';\nexport function withLatestFrom(...inputs) {\n const project = popResultSelector(inputs);\n return operate((source, subscriber) => {\n const len = inputs.length;\n const otherValues = new Array(len);\n let hasValue = inputs.map(() => false);\n let ready = false;\n for (let i = 0; i < len; i++) {\n innerFrom(inputs[i]).subscribe(new OperatorSubscriber(subscriber, value => {\n otherValues[i] = value;\n if (!ready && !hasValue[i]) {\n hasValue[i] = true;\n (ready = hasValue.every(identity)) && (hasValue = null);\n }\n }, noop));\n }\n source.subscribe(new OperatorSubscriber(subscriber, value => {\n if (ready) {\n const values = [value, ...otherValues];\n subscriber.next(project ? project(...values) : values);\n }\n }));\n });\n}\n//# sourceMappingURL=withLatestFrom.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import 'datatables.net-colreorder';\nimport * as i0 from \"@angular/core\";\nfunction ColreorderExtensionComponent_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 ColreorderExtensionComponent = /*#__PURE__*/(() => {\n class ColreorderExtensionComponent {\n constructor() {\n this.pageTitle = 'DataTables ColReorder extension';\n this.mdIntro = 'assets/docs/extensions/colreorder/intro.md';\n this.mdInstall = 'assets/docs/extensions/colreorder/installation.md';\n this.mdHTML = 'assets/docs/extensions/colreorder/source-html.md';\n this.mdTS = 'assets/docs/extensions/colreorder/source-ts.md';\n this.mdTSV1 = 'assets/docs/extensions/colreorder/source-ts-dtv1.md';\n this.dtOptions = {};\n }\n ngOnInit() {\n this.dtOptions = {\n ajax: 'data/data.json',\n columns: [{\n title: 'No move me!',\n data: 'id'\n }, {\n title: 'Try to move me!',\n data: 'firstName'\n }, {\n title: 'You cannot move me! *evil laugh*',\n data: 'lastName'\n }],\n dom: 'Rt',\n // Use this attribute to enable colreorder\n colReorder: {\n columns: ':nth-child(2)'\n }\n };\n }\n static #_ = this.ɵfac = function ColreorderExtensionComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ColreorderExtensionComponent)();\n };\n static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ColreorderExtensionComponent,\n selectors: [[\"app-colreorder-extension\"]],\n standalone: false,\n decls: 3,\n vars: 7,\n consts: [[\"preview\", \"\"], [3, \"pageTitle\", \"mdIntro\", \"mdInstall\", \"mdHTML\", \"mdTS\", \"mdTSV1\", \"template\"], [\"datatable\", \"\", 1, \"row-border\", \"hover\", 3, \"dtOptions\"]],\n template: function ColreorderExtensionComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, ColreorderExtensionComponent_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)(\"mdHTML\", ctx.mdHTML)(\"mdTS\", ctx.mdTS)(\"mdTSV1\", ctx.mdTSV1)(\"template\", preview_r2);\n }\n },\n encapsulation: 2\n });\n }\n return ColreorderExtensionComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"export const performanceTimestampProvider = {\n now() {\n return (performanceTimestampProvider.delegate || performance).now();\n },\n delegate: undefined\n};\n//# sourceMappingURL=performanceTimestampProvider.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}
|