quankee-framework-common-ts 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.angular/cache/19.2.15/angular-webpack/10726ec54b663dc47d957771509d3c16530a5c04/0.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/10726ec54b663dc47d957771509d3c16530a5c04/index.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/7b97243608b34288b41cb683c4c12cbbac35b78f/0.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/7b97243608b34288b41cb683c4c12cbbac35b78f/index.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/94bcc6caa26565395ed680916a15c56a4f369405/0.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/94bcc6caa26565395ed680916a15c56a4f369405/index.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/c4d51a1ac3f0cda85f75704b92026f074e3a2239/0.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/c4d51a1ac3f0cda85f75704b92026f074e3a2239/index.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/f5b46dc16d29a8b6ba1acc97b51757d36ed2c947/0.pack +0 -0
- package/.angular/cache/19.2.15/angular-webpack/f5b46dc16d29a8b6ba1acc97b51757d36ed2c947/index.pack +0 -0
- package/.angular/cache/19.2.15/babel-webpack/002001bb82c23a9b0ed2143562a25a92c03c1adff4ea42012bf8b9a21ce82bc7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/005368dc6f7cda6a18a41f2f18809ce4f2e66f2eb3ca57851a624b40eda8f157.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/005c64f4f96b0c35c949fb27e52cfd7ecf41b1ccc8a6e82aa5668efb2355b990.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/0087688b44367f5b79095b11ae4990cde040ca22e4f5e0360eac16321d1db7d4.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/01eb526696aa8607888da4ec5103aaa3052e5437e2d764b0e0bb2766917a4bf6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/038d09ea2073205be5da1801da0b56f30c6227a38a410eaad57fcaa40ab14b5e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/04642651aa51aee5cf33986f07292c2b6d53818af58562509dcb2dcdca9adb00.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/07335a72c77bdb7f32c0b1634a9935673ae18e16b307e5b43cbad16f06d59676.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/0b4072ca2d69fcded6d835e6571b028469d5a0c16b957de0950f748b66ca04b5.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/0cc181a493cecd44474f7f62121f0ffc0dabd295a0734585bdeb92feefab7c09.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/0d23ca1cf4023ebf51d81c67052b8203496edfbc7bb60db597d47238d8465203.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/0d2c56a117b8320b31040054c75108550d24b6543f3ed4966aa722f26638e5a9.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/0d84bfd5b072f31e342550e4efae5d2313175cdde4b091605ed2e261ef0896ba.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/1086f877e03aff62fb645e967d6254bd512c1ebcfb42509471eed8ac84748d9c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/110b37eba57ad9ad0de36ed161a29f16d219559142202bb5ac9aa09135e985fa.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/1170c291e7e02dfcb3b273aee3071f6a57d318a77bf0616344d4b7cc6df6694a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/11aa156d8368de3d9cff5e63e37ae0c539f306342940826b3c4374feb55a0d47.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/13486a523f3fc3b18e9a134f7ba38c88c6c83e6d88f94237b504f9ca3f84275e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/13d99f131a69fc9516e58b8d3b32acfcdc7cffa9b8b0c73abe2118d4dec7e20e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/14a6809879e29d29b511b7370b452e36d90d1614c6d0069f1cf5e1529fe715c4.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/165172f2af9bb13902ccbbbdd7d22b32473753740db73fcde525dacbda7f4bd7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/195fee6dea4bfc85f4d84f2cfbfcf2ec7069fe65e34c79dd776ef7132548ad45.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/199836396696e1fa0a3da701c8ed98add52f889392c4911567f3a2a327ca2f36.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/1a66bef03c9f83f3aca9572fa2afae54e498ff8301ffbef4b93247cc975a3308.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/1a71fe0b6c04ea3719ea3b34d558a2de61e1f3b3619851ad7d773873f230060f.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/1b49eb1aa6c923d57ca08625a2f3393420e36df232848fae8a63a27aa97f8a8f.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/1e3d7e035f81146e920012394df9439299dee6ef215f912fdb15ce63fa0112ac.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/1ea0d8ae83dcfe42c3e4e372adeaa820b51221a259f141dd856f782822202ece.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/200d782f0cb78d4e244379412d4041f1be719dc6dab92281171a737a3ad7388b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/2092f05fbfb7ad790baabb1c3ac9041051faa9574bf42da395d324181656f133.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/22a03711b691be0b7fa5d36a66cf5420943667d4ff49a5c30d8a4ac9b6b2f714.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/235e01ff3a6b09e38b9a4ad53fba0d2555c2bdfebaf39116ffb562fc73eb1987.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/23a6b1e0215a93fa0f2d9a1f69b84e5e56b34acb9743ba824889d1873d3234c4.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/252cc406eadc631bb5b445401c106f62b5434b859a3d6bb87b38b89165ff1780.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/25df14b3094b40f6ca6e2acffdbe34299cdb8e31f082d3a18602543fe08187f7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/269add79a6e931b78ce521dd5747fd9a2ab55c7390f81078831dec0312e5e1ea.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/2b9435477fbcdf37aa00672219a0d8a958eee8e99cd78f82c88241f15af7f3d9.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/2e0551f6cc59e1e261498ab6bb5a94a67ae051645a96872ed30859d7eae94f9c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/2ede6c1531e47bace72b7a40bdda34b73760e0fd0f82016bcf34c580b4e2ea97.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/305d6d8a19f01a5a7f0bdbb1cdeea37e7275b1487a06b85af5bcc601484a3dd9.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3133bfa3b685426a9de17dcb1ac8ebe04b0dfec9133cde375b3812d9307ce1a6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/31a5ca02ef99a9721a85e837c1e2306e6d479a7b46cfd12257468f31cb47f00b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/31d26815a634bbca974f6bd038ad5148c92170a3c5a57446bf082feb8753a5d6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/329455418433148999a0bc94a34250533156280f077f3ed9167279bd8f26cbde.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/34e12fd4a21b0dd1ec74e7c362b0b0b546fd12932252e401ca2b998b9ec5e641.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/357a6beabcbf640a1ce166aa13134d6f909e4a5c2ef5534953db4aabefef3ecc.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/369ec80723843895ecc220142bc22220213901ca2de27afd790187647f7aa17d.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/36c90dc29906355a68052b5eb05d2f048ef806ced10d922d6e3f793b1b139ea7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/37308bc4034c73371e5ec487556ab448e0c3efd0682852a2de2357ace28bee41.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/37ac24b4af550ae7abbe018c09e5d6aaecd183942b429abe969b08909523e2da.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3819b97d9eaad8d453d4a36e9faf1d962870811151d83be3d09c42d6069f3817.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/39d701872161ed4e1d97d69d8437da12bf2608d19347b645ad9b6416d719ee1e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3a1d64699f39ebee319e7d11e2a69f45b669ac0091882b1c792b99fcbd60e450.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3bdaadefa095ae8c2b9b45467188afcb4d10ab7291c5762604e20649a88755ce.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3c6caf3ca7b97c10114de3d834e88ca8853ab7703d2ea60e44a3d844313184f3.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3cb2bbbf3d5296dd2ecc283c82d04b6014aee1f2cb5d6b2f1e7605b59efd6771.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3ce73b02e026303a0ff96c83510a770307dba247b9c89b72321d6897b73f9540.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3d1cf88833de49f9e09de0c0df81dc61014e2b11711a8c973a2d4b63fed58a38.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3ebe2a5ca83f8699fd7a5e340a9ce6631887a3df3d377ff634b1ed09d8168945.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/3ef45afc5c118db21428fbe74ebfb74c11c00fdff273b1a4dbab1443bd7ab487.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/40818a774c33fe858836ad6726433bc8a1e72da28c025410cb90c619bc7bcc2d.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/41758885e5dc1d3b6d9dba895640a1ec956205a5f13417a9dd7837f31439a6bb.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/426f0425420073b2bb9884dd8c169792bbc354567616d474dac6e17563c9f86f.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/429450ed0c16f5ff3dd5eceaba57a380d40efedf5712f983e59aa8c7252bd5d6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/439a74e180c35a87580e7ac593831ad7b037e95c6c585df02a103430c3a4cd86.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/43e160e2ccfd770c62da9265ee3e0f1888f9906b9593480a9f7eb5eb12a359ba.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/43f66b0122a79286c5490fb84b6f0e8e3cd6e6beb62ec865c279da485f5cbc7c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/45d5234e426232bb732f5a87f49bbd4f8b9c71ebe377a4b4efd9b76492ee1292.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/47c2e80be6b88947af49b0eedfcfc098b2e85bb74c6cd62068bb07b7bd8237eb.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/49408bab6e0bd662aaa0c4cbb12fa81b3f0afcea36aa7c6a57a2767744bec207.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/4a081544b597742067479615ba1331bcf5c09317ee8735b4cfbc0d6c48ac7778.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/4b716c7ae7d9696b62b93aeb3f03ab44b15584b70ab557847d3c52581f81d6b1.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/4bddd4b147d9118e5902432fb10bbb2f8d013527de0bf99c437f146772a4ad72.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/4c6bdd8c03f408bcc69e48df04630c0096cac6176026bd6788f0f0af2eed77f7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/4c850782188d8f6c06ab570bc1a8efea70b14f934bec1215ef0c767829fc4dd1.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/4e149cf5ef7671d08881edc295bf7090261d90e46c1a92e2dc88856593a27ad0.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/4e34c4ef3d7b3c7f0c6db17cd7739173696c8d9524a5ed93cda96d416faeb908.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/4eee3937693aa8ad7b5385e07e4f843436a1a8a82053b6e49c7ef2ed10a8e94b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/540756a71e80e9e7f0d6e8274ee2cdfeb423a234a6023cde0d531687407309b7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/549bb2ff9955529b80cf5b57c4311af95be007d15cc7989c5adf9baa81acd29c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/571926fae0528c62a7b5898e6d8b86b74ca307a778565c6b723f316bd1bfb066.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/57928816e14bdf5105a1eada735c2695482f9bfc2b882637957f690ee40229aa.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/58aee0cd7464eda6d38b3cb90a74e7c7114a4c381a9c99c772e72bafbd1ecacf.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/59323bb443c9968b9fa96340b262571b416605fe986037e953846e1a092f2a32.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/59aa652c7c3a0bff2753c393ccc642f95a08072310fe66a99553c22dc26aecb7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5aa4a2f184e99fc58618e9cd12b258ce91be91b1e92363c21ab08e3833fc9774.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5aabe7273b6ee89c797a37b8cd1d6ea3882202fe307bf9db86a62f988cdcbcde.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5c9af05cc654d2aa20cad6b879c5acea719869d568f270f6addf1efb32f92593.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5ccf641aa7241b79f6906306796e194bc906f30f1243c6d82edcd6d7c2be7e6a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5cd4b272e06f92778a043660843f6ecbcf452dc800fdda3d054b04abc4cf5c94.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5deeebc28b44f36db01b80f490d69c654946b2d9d6ef6f4019b3caf365b86c95.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5ebf0a4c2a250204c46f1de7434da2e040978984a42de13f53a755259e534989.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5f47f65d79aa36676f8ebf5f3c63175a9bf0dc666eeb731489e56aad1de89222.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5fcdaecb8841cc568203353da1b7cca487816bd89b6a7ab010d0f5445432c7f0.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/5ff93fecff5e0ee59dd96ae5466e117f040b4fcd693911ce7539add81dc39a97.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/602a31c18bc18432c05451de7c0b67430060524679c70399468ca8f47603b3f1.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/61eee8863a96edc1bd51104ed1097f507edd3b9e3327baaf3b8f97f9b6731b99.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/63928ea8bc977b7941128df8aa9f0ef57e9a8295699f3f16d30349c9f154c75a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/64001c9c3383b980405e5a0bf0521d0a4763882455baabb1c7530fc8ed5cfd55.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/641e0f9050dd605bfa9c630ecc3449e79f230e5010d5714aa95a8a23fc2c1147.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/64b5b46276f20158aa4435a721c24f2f2555fa2da7c2cc58f923502594406136.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/64c42985e6b60cbe361e28d9c8baf22950ffb923cf694da37ef9d4ccbb9bf71f.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/64de56955bbb4c062931006afe3389ea2d72d3886b26a700d5cf715fff078f26.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/65c74d720759f038998756b2133f7b21b1b83b51545d53871f959c6c1cf3683b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/65d8a26f81389f562c19d73ddf3207560a366e31d061290dd9bc11cc7e154a32.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6671e2b65578994dc79a2fe074ab6fe43c859c75aa3e61679c5a043a426233c5.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/66b243e5cdd1f8055d4408c29ea10d841d24b69502e770855a640ffd70713acd.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/67256b4fa21eeb22d74fe5bc851520973c4111e56ec4af54ef8dcc7fef66d7d5.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/67dcd370eb1f42e86ef98a0a4bee6b051b9836fe0c018765e5ca67b93256391d.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/67e2602a4a39b98145c79ea9bfdb3404c12b38d1d223d6d603e02631652ab249.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/684c2a7ec246d44a15b4ed266263c6d9c974dc7d1d8f6467704292d279cd5c74.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6851da6a369a728a899c200f19cc8446a96e26af1d052c2f2f0ce24c6185d547.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/68cc9c5a3cbeab766d54df95ecd1e547c45b25887ca6fb672580352d29ae1eb7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/68ccdc1bd74a10de87ee99c8005672255c117b33cdfb08b15c166664eff0a997.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/696f54f9441b350ea577240f284feb553f041b3e3242b0d65d865fce73d82d11.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6aeb13f8fc9de17d6e10fc0cf4b4970c1bdfa2995d59a0a7571cd7afe6522538.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6bdc923f47011fefe9ae7a9ae962d8e9dab1b540505b89e1024c1f4baccdabe2.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6bf98b382d6fda3f0b74f8892bc1f5bd09caeabf1208fec15ab9f5b7b0243910.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6e134e4f12a4676fb7a75cd22d979f93fb3ce86a57c1e00455cfcdd95c3611ea.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6f4028ecdaaed3f34af8a43e1ba3e51025526429c1e1fe281c1886ebbf887453.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6f5a50d2f55c49ae49ada97596ac02623fc13daf96141ffa0655dc6d78d1aab5.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/6fd7204985be33d1e2c2399e647565c6cfb55c0f8ac4b4f3529e2a15374444e8.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/719a57d887a1ed16ddd2721f64eeb1740083d70c5eb7bcb1304c7412ab142e2c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/71afc13ab38a115c16a96a587f1178bd42188a35e935185ed261c27d81d9b082.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/728ef5f24e04bda01050ee5e6e2dc88cb88214641824fcca17835e52651ce5cf.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/72ef6f03c26b0faf8c3549a38e7eb0d38f2326ca299dbfbc260c35bba680a1a5.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/73919d260a5357a19fbe8d8559d180457a86b6e89adb20afc23b726a4f1fb769.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7616f6cbf12a30a53cfc5a70922f994d788e146094ed7ec7a31da315c33beff7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7626594f378fab12164ec0a0242131e14143cf98eb5ca39719a08ffbf5279bad.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/76cb2228f31811cada09b1ac524d4ca6c86c4155de934bd2bae8c1ede5312fd1.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7832d0e2821b7bc2caba3d9ae432f16aef912bc218a80a7ebac87931a03d1d6c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7862a83aae033f3212df52cb1326cf739dc1ef4366c5b49f4c4fa63e861da58d.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/786daaf3c4c2cb57b3d15e03d010468397662926afb150d1715dcc6a8e723f9c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/78c91a6d590f69040d410a6ce991425e38a631c502bda192d6c340bbac76bc4c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/790757a8edf5dd8a320f36474e7aa7e6b728c0afcf86fc6aa4ca71e289eee2e5.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7d0354b23659e6972543614716e0a77524b24f7ef7ab7650edaaad3a5c9b0222.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7d808c47bc69aa0e6db8019738a3687807c26fbdc9c6fb3b5cf31a15c5d5125b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7db8144d8d34e58ed5357648fe21ede6b89c0c85053691da68bb2fc12a19472e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7f2c81069006b56e4faad42d003ae9c3fb28084d347aec6bdfd0f821cfe95cf7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/7f5a3b63f5910c44e74d73dd342fc4b91dfe2b4d8746f2a526e0456855ff3a11.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/837fc9d534c106653d98e74a9c7c247a5db30fe441ba8ecdf2fd9f5d008601af.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/83be5725956b6b36f2fe0557751a649c0ee00e77b2a2a3d15c3250883be5bb67.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/84867da7a6d0e52b8d13f55896dc00a652e4aa4391d5711e8f78f57da7883fd0.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/85ada10e62f299b33050452880034cabb9f3d1fb3be26c01d10d4ef42fe926fc.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/87c110589ac76aac5ea468194117de13e79800e1979f7066de08f7b0d7e9e4fb.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/88af454f6321f08c388871934f48573a48522482156fdcf06d488b260b5f86ea.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/8bc0e36747b6877c3f8141fa738a22a4396f0f6d96b063a7e61d84677fb18883.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/8cc714f7d9cb0acac1979696178b83949bbe3a75975304307ba0b90e1554d183.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/8e70246ecd62de98200c9992ddff7f4a6b697031d1394e7cb742eeff6a75f1ac.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/8ed4775eda937129eee703f25eadb006dded189832a67d9c610bb8d7d6bfbec6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/8efaba9a15cf935c0ec604e939102e8f744fbb7291a49623c40b63e3e19f31ff.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/9049d135e23938c1b5e909b966c5924c42444df7d81603b16433eafb31a001c1.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/90f1849a82440304f6acc591458f4040764da8cd03b9c5608228ae4465abb0ec.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/916f593bc7b673945c697f0a1954d80683964ff4c1785ccf2c386dd61c9ec576.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/91a78040be0e13141c7ed721014205696ec8782d59b560152ba1f8a362632610.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/91c1d206584c95f127235017675ccbda33197b3cc395144a3bb8405f30d23fa7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/92b5170fb31dfbfc8b0a582c344683c47b7974469937a2df51f44a7668ee32c5.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/9344adb736f6c8062b564d5bf8a554ba2dd71314bdfa98a41c6e3d842b655c24.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/9463424cb58b91dd4932c9ce01f4eec1dcccde596413ce168661dcc9392da5fc.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/96e24cf6cc982e2a3b0a0b35fba952dc1362b48549c4a366a748f04c78d58611.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/99655bb5d6f5a6797c80ea604f091587564d5dc3a294ea74e327d6acc4eedd2b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/9a6b993060de60a58f2905ac835ee795c5c509308dfd8d4249d90c16df19c1a1.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/9b709d4d922738efe3a66288d91d172e64eced5559b1c8148af24a28083b75ed.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/9c0288fbf0881e77a483b58501209f1328e45c4e966ecda779f21888aba40a89.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/9dd3b4bb0ccb7aed85bcdb7b335630c4249a208614587da0a0c4f57dcf6a7d69.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a053de867be313f4170915c0b90836b81c0fe6aa305c46f08fba483b253106d2.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a12d78b36f170fda769b9cf2c79c1602051fad914edc4511f621fc6e477b0f21.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a20962b3067006b51d83609c93a372b1707f5a199e92f223965b4937a39f76b4.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a2d5bfd6cf6e02d01dde7a81762657dda4e982369c4e960146e87aef6ae80cc8.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a3103ff114575d72337ef5f3a1e8fbd12705b56eeeda084770a1192e171b92ee.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a5d280b1915af705b59a801245daf54831e2a0c7407fbcbc1384c77572dc83fc.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a5e71ad7770f22fe68908dec29c789cc533308f67e5790449ce461a28dcdb6c0.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a804fc206852788049392d8646e2f83f6708db4028c3781892e0ccc96fe66844.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/a8fd31126c28413203dc4654779fd91cded8b6286c88e4ff0cd49f110ee6833c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/aa58d38fdae77071b0689c4e486600c71783a2566daedd224fb8ee525927a6da.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/aab065ccc8cb80aaa06dcd834613939907f0a45bcf261243215c46c77672f944.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/aad167162be99eb37ffb7805e667838fc5f761247fa26b560a7c9b377b8f07dd.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ac0672080d67beea57efce5fd0600cc566e3c95f492acaa4cb58f79bdf9828ce.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/acdfe0c2d940ee35a348ab25973debc82a677bc6885e45d6cfe4551d7627f973.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ad3189f34e9515506f8e53eef460a1203433504f7cab64f4a63087abd2e3932a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ade43c6f864da316513432192ad32d23026895e6b9bfe1548c0625253b90df79.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ae344e6d8f02ddac285ed1f09fc7ab6cce09c0e1bd7d8c79eae7c919af69946b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/af851c21fb63865b5d2ce5252f688b2797c74f3ac58f28bbe0e56f8d73e7b396.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/afa4df5956cb2c4ea9266bc9be0c5d75d3220052f4969b5e1d6077abb367e0e1.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b0fb3c660f093313e1e530cb720634df501b33f2156b02a3efb373627c89fe0e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b1a8b18dfdf83f07acec5f91177542bed2e5b968f7f0143ec31883a6e48d19fe.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b2fdc054c50e9af4b6614afe479b2d1c725b1bf2fad061104fae0e73cf55af45.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b3154d45466a1630f021744b98673ac85781578dc205b147d27fdd9fde263b1e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b42b3769fc6d46c92287a2a01d1e2a7cbef648c4892832a225113b49381427d6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b464a8ca4359beb21d51c1e1bcb7a00626e28b395270ae05be27ccd14361b1e9.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b5a4cee4d5a393e007f0b5d2e45a7dad028ef44ddd1f1e7cf8c50cfcf24ae68a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b685aad157945f8d205b93ea0a33f921964cc83c3272e1e37c6a0eb370b76d66.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b821f28f19e73d233b18ef90916575e61db2e56bd501a32b13de8e26f91c8323.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b8eae74c763bd6c3918e3b27f26e48a5cea526882642ed9a5ce1bc72b2d310e0.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/b96837b2fd499543ee8b2f17aaea23f98e96f50018df20963008cab739af9cb2.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/bc236ebac861854a2dc6d4fb0843cad6b2cc75317c12201d2d33df04fedcb13a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/bd1f496dc7663720bf931776ef526fdc2af33912e87fd194dc4ee3929cbe4b92.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/bf26e716ab8620dcc3d6bb551f732cab40eacb8898cb128363abff90a8c51d0e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c02e583440c240c17c10310a9a3efb33df50f54b040b79861b91a3122cace587.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c07ff0fa7b48e2e11c44f229e5d6a636ae0d4e003185e87102c678f02e1a1e8c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c344af3b3096de63f302663443c8f34a2ce3b18f9e2a07c14f622799b699f634.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c35eae88745cb1903fa6868497d6bf3927da4d490f3780a06c88e7d91e267ba0.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c41fa533c6ab9c10d9ba780bf3c0bbd2fc289928c81b2c0b84aa40479edfb6f0.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c53b3231bfa9b0bb7c4d718c553a3da3ca2069532f1f02433af04765d94b6bfa.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c5905a7adf3deba0fce0e77a257076d7fc81a2d88a0151b35a403c0f0ab15559.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c6360adae1cbe321e9c611921576674f67a9917d85d2ba96a5670cfd9f9bae93.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c7e0c0cad1b20199d7b4ba01005c3d9899a72968fcf7c81a2ab8cb04b9c829af.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/c97084ec497d6c0bdde0b4c650a7a8b5c37768c9ba556338e720a07e89278e5c.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ca87439e65a06f2f592712bf74ed7c361df90b300828c816a918fa2e5b1f8d69.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/cbe0cfcb9a076061ea4939e174c271c0177d9f32559f26aa922e1dff725ddf8f.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/cbf9ed7ee63bfa7c57e80999c894bc6d12ec23010b4352aee9d26883d8083f4b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/cbfe73278b59403434827a252fa476bbab33d825ed1bb44eb2fb2829bc4900fb.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ce4148cbb7433945c159ac4a701c8717982164c5d1984445c1e3a947084ea237.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ce4c0df219205e1e0286cb404215b060069056ef5af7e8f1604483cb12815c00.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/cf869dc70666b3066e961243c925e65751a9af690a89276c9776da864de48673.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d06afc622b34402af161bb8ec2435b0c3ad1fde40052b7cacb5122b3aa120b11.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d3454f70d728c7997c21ad33b71f3c1e7ea324ff7f0603d73fbfecfd42a65c92.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d3df772bb9ee5915ccf94fffc0bb1c7a2e61199afc0193cee379fc24dbad5a93.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d4e7871be27335444944f5fb56cb8e4c177387ac13266141060b1e52ef2cfdbc.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d5d2d700e7bd21710cd7731eb723a6d402769e97f13b5d9fc8865f18e60bdb06.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d5fa8ddd8e260d5cef95573068127a66cee7d12966cf48cc77fbc0004aed1e9b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d6f5414805f9dd9381e163a9d26b3be5b7fbe5cf1c424f16b115a26755af21a0.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d789de59515c2d7edbe504cca23990f6c026f3a27a50653e21ccfb988ca5558a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d7c7b043c8b4c30c9f0369251d0d908dd52799df6fb96e47b166064f266bdb72.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d8299612d4ee893d68b35cd46d27dc729b175eb18894b8834bc61deaa00385ec.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d84c0648517c2fedae9aafad575cb525f011be0da6620ae653446319f8dde17b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/d872c76129e22f3df258ad33375ffede8cc3654f133b072ff577af2c3d5d37ff.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/da77318a4f15641e3cc2b8d80546fd389248a601b75feaa5db215a0962f391b6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/dbc3a210ccae5103c04f71c3bdfb4435ccaddd66242174dce91d663140b21dc5.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/dc992071d5950a2223f1a421d1543e7b4dadf094122fd23a0429c724264f011e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/dd1c501575b09f57f98b2a8d81b09e546d848a595a5ace7a89d25dbd430be493.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/dd6364865afedbe7c1e18ab9c3788102668313dfaf133a71212c536c01543c56.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/dff219ba3776abe22372f83bd16939393ae98887db82b3749a85c3e22168bc61.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/e0fdf919390ece3350e848e78b3913b0d89893790098935b7c8b33130e5efb8e.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/e77d5f1cb72805c0b888edf5b715b36c78e98723bb438a0a0fdd2882e9829970.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/e7a20108cffbfd2f0dfb812fb537668716baea08625837d1b952d9e4fd0d5bd6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/e7b79fda0e9d3d6ca48335789edcf122031c45c7e2ca5427389f67ce20a34281.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ec20396c5d705868c1de7429b3d90f02d4be65d15ea399076ca235fbdd641431.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ec20a51774553bca90274c246cda80099b04833cc5f12c249640baaf83ebc506.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ec88853cd9a00f1f8d09e4b67e133b813cce1b521f52b530c8df79f2f7da808b.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ec940d603510ff67991dfb1f87109bd2494de6b66715dab6bd3ece66fbcf7143.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ed9bcec5dcee5e3771050a2ba3005be14e0f7c1bd2ebb88b8224715f2afaadb6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ee6ff36829b6ee201c9017ff7453149d5a23ec35a5fa605be40db554600d347d.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f1837d3cd06500bc8b6f8ad7335d320c5bc77b36d9345ac228b84a77edf47ae3.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f24e1dc40f6df3f034fc61681d484fabf64815194dea077034fbb9252ffe9be2.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f3f8d3d48c80e266959232980037f561ac3a2029ad5c219b25bd5a427b659c58.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f40fcb185f52e56bc86fbb442094b2c826d013690af15902508f29f567922be7.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f44209cd79deb6e7a87e6f9e97ddceb7c223538480e2780ded5f3d668cdd6818.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f6b163c0527cf26d32b3a064f3d14ba57ab8161faad489d34f570513e4ee9e87.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f96582be3a4bc506a2e1e6a5e76426055383b4d3fdd9d9c1afb14d32e8d910ad.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f976bca369664bdf32c1be154e0c5728be960ab5bad4ef84d90fad99ac974abd.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/f9c3de2d4a716d1120233f5051109a122fd7e1ad63076e55fc247e9714ab4960.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fa5df4343b61a4e5b00d552f176b707397c93da67ae9156e8b55ca58d98f04b2.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fa6720a313572b9513915e669909508282d392d2b1ce79f482077e67d5b84aaf.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fa91a0753c69dfd60f22f578cf80740bf043209f410854a5be585c971db48b72.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fb52edac5fd48f4e6ead8848a83b29a81ed0934eade2a287be577ee72be849ef.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fb59420fe97419dfa9ff21de01aabeb4157edce2165ef55e64e3682194c0ef2a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fbd47c634711337c64927e11e3444f94b1360bc6cbbbaa614cd9cde6da016fff.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fbde92386c5c40b437ecab1148204dde924c63872d4377c2ea4753365b162b8a.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fc9175f665c1f5d614ca16ce3d6cd79121fb1b17d3c1efdb54a5376bb4d813f6.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fe2b3ad820146c2309c6a2b25a44f274277b707599ca772d9a001ce9eec669de.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/fefd393311d9b775f9f647af74656f3f5897d21239e25814b6b0708e657db138.json +1 -0
- package/.angular/cache/19.2.15/babel-webpack/ff96f8833e514be320d63eaa33bcf498d78e53f957b9a9449f4687933f2844d8.json +1 -0
- package/.angular/cache/19.2.15/ng-packagr/2376c16cef25e849019f7c07c1f2a3b4ab89b9e69826c7d01f10f92dbbc862e7 +1 -0
- package/.angular/cache/19.2.15/ng-packagr/4d54d937dc0fb0c6f29a333038ccf08c7481d9a9c9842c3c69d60b448a8fcd48 +1 -0
- package/.angular/cache/19.2.15/ng-packagr/4ec9d7c95b688865fdda7559138c701cd4f3b51c24f3fc2679687ee4e8d6f807 +1 -0
- package/.angular/cache/19.2.15/ng-packagr/75c856ab93c5d356e910e21d64fe992f383ab17b19fd310228ac71f161bf90f4 +1 -0
- package/.angular/cache/19.2.15/ng-packagr/8dc2d5a35f40f993f8e8f007e3ec70ea61d38a9543aaf987838096a6461cfa75 +1 -0
- package/.angular/cache/19.2.15/ng-packagr/91f1f2d122acf302d104afbce6fe35663cb63aaaef20721b2ae86ea0bab5c54a +1 -0
- package/.angular/cache/19.2.15/ng-packagr/b1851331ce1d33cd48496fe17422276a2b380a319e716db97547784e4d9cc1a1 +1 -0
- package/.angular/cache/19.2.15/ng-packagr/bafae0f01f0cf8807646a7eb9e3b6bd5a1edd0fd3752c9f8c93ba0b66b824928 +1 -0
- package/.angular/cache/19.2.15/ng-packagr/df9030ba5c4a68a5dd0cb41b53506348a54f8da563888061b23946418e6eb5c4 +1 -0
- package/.angular/cache/19.2.15/ng-packagr/e7a7d1fd8010b7d738d17804a871e051239ab07f96a28e9282a235d0bf535001 +1 -0
- package/.editorconfig +17 -17
- package/.gitlab-ci.yml +3 -3
- package/LICENSE +15 -15
- package/README.md +51 -51
- package/angular.json +175 -175
- package/package.json +59 -59
- package/projects/quankee-framework-interceptor/LICENSE +15 -15
- package/projects/quankee-framework-interceptor/ng-package.json +6 -6
- package/projects/quankee-framework-interceptor/package-lock.json +45 -45
- package/projects/quankee-framework-interceptor/package.json +1 -1
- package/projects/quankee-framework-keycloak/LICENSE +15 -15
- package/projects/quankee-framework-keycloak/ng-package.json +6 -6
- package/projects/quankee-framework-keycloak/package-lock.json +37 -37
- package/projects/quankee-framework-keycloak/package.json +1 -1
- package/projects/quankee-framework-language/ng-package.json +6 -6
- package/projects/quankee-framework-language/package.json +1 -1
- package/projects/quankee-framework-response/ng-package.json +6 -6
- package/projects/quankee-framework-response/package.json +1 -1
- package/projects/quankee-framework-user/LICENSE +15 -15
- package/projects/quankee-framework-user/ng-package.json +6 -6
- package/projects/quankee-framework-user/package.json +2 -2
- package/publish-all.js +13 -13
- package/sync-versions.js +26 -26
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"hash":"697369bc375ac8ba965ca6f6e0ff8379e39ed9e9463c8f65f67e8ba6c5719222","fesm2022":[{"exports":["KeycloakService"],"facadeModuleId":"C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-keycloak\\esm2022\\quankee-framework-keycloak.mjs","isDynamicEntry":false,"isEntry":true,"isImplicitEntry":false,"moduleIds":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak-token.mjs","C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/authenticated-user.mjs","C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak.service.mjs","C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/public-api.mjs","C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-keycloak\\esm2022\\quankee-framework-keycloak.mjs"],"name":"quankee-framework-keycloak","type":"chunk","dynamicImports":[],"fileName":"quankee-framework-keycloak.mjs","implicitlyLoadedBefore":[],"importedBindings":{"@angular/core":["*","Injectable"],"keycloak-js":["default"]},"imports":["@angular/core","keycloak-js"],"modules":{"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak-token.mjs":{"code":"","originalLength":1017,"removedExports":[],"renderedExports":[],"renderedLength":0},"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/authenticated-user.mjs":{"code":"","originalLength":649,"removedExports":[],"renderedExports":[],"renderedLength":0},"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak.service.mjs":{"code":"class KeycloakService {\n keycloak;\n initialized = false;\n constructor() { }\n async init(config) {\n this.keycloak = new Keycloak({\n url: config.url,\n realm: config.realm,\n clientId: config.clientId,\n });\n const initOptions = {\n onLoad: config.onLoad ?? \"login-required\",\n checkLoginIframe: config.checkLoginIframe ?? false,\n silentCheckSsoRedirectUri: config.silentCheckSsoRedirectUri,\n pkceMethod: config.pkceMethod ?? \"S256\",\n flow: config.flow ?? \"standard\",\n };\n try {\n const authenticated = await this.keycloak.init(initOptions);\n this.initialized = true;\n return authenticated;\n }\n catch (error) {\n console.error(\"Keycloak initialization failed\", error);\n return false;\n }\n }\n login() {\n this.keycloak?.login();\n }\n logout(redirectUri) {\n this.keycloak?.logout({ redirectUri });\n }\n accountManagement() {\n this.keycloak?.accountManagement();\n }\n getToken() {\n return this.keycloak?.token;\n }\n getParsedToken() {\n return this.keycloak?.tokenParsed;\n }\n async refreshToken(minValidity = 5) {\n if (!this.keycloak)\n return false;\n try {\n return await this.keycloak.updateToken(minValidity);\n }\n catch (e) {\n console.error(\"Token refresh failed\", e);\n return false;\n }\n }\n getUsername() {\n return this.getParsedToken()?.preferred_username;\n }\n isLoggedIn() {\n return !!this.keycloak?.authenticated;\n }\n async getUser() {\n if (!this.keycloak?.token || !this.keycloak.tokenParsed)\n return;\n const profile = await this.keycloak.loadUserProfile();\n return {\n token: this.keycloak.token,\n parsedToken: this.keycloak.tokenParsed,\n profile,\n };\n }\n getKeycloak() {\n return this.keycloak;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }], ctorParameters: () => [] });","originalLength":10325,"removedExports":[],"renderedExports":["KeycloakService"],"renderedLength":2662},"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/public-api.mjs":{"code":"/*\n * Public API Surface of quankee-framework-keycloak\n */","originalLength":876,"removedExports":[],"renderedExports":[],"renderedLength":58},"C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-keycloak\\esm2022\\quankee-framework-keycloak.mjs":{"code":"/**\n * Generated bundle index. Do not edit.\n */","originalLength":560,"removedExports":[],"renderedExports":[],"renderedLength":47}},"referencedFiles":[],"code":"import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport Keycloak from 'keycloak-js';\n\nclass KeycloakService {\n keycloak;\n initialized = false;\n constructor() { }\n async init(config) {\n this.keycloak = new Keycloak({\n url: config.url,\n realm: config.realm,\n clientId: config.clientId,\n });\n const initOptions = {\n onLoad: config.onLoad ?? \"login-required\",\n checkLoginIframe: config.checkLoginIframe ?? false,\n silentCheckSsoRedirectUri: config.silentCheckSsoRedirectUri,\n pkceMethod: config.pkceMethod ?? \"S256\",\n flow: config.flow ?? \"standard\",\n };\n try {\n const authenticated = await this.keycloak.init(initOptions);\n this.initialized = true;\n return authenticated;\n }\n catch (error) {\n console.error(\"Keycloak initialization failed\", error);\n return false;\n }\n }\n login() {\n this.keycloak?.login();\n }\n logout(redirectUri) {\n this.keycloak?.logout({ redirectUri });\n }\n accountManagement() {\n this.keycloak?.accountManagement();\n }\n getToken() {\n return this.keycloak?.token;\n }\n getParsedToken() {\n return this.keycloak?.tokenParsed;\n }\n async refreshToken(minValidity = 5) {\n if (!this.keycloak)\n return false;\n try {\n return await this.keycloak.updateToken(minValidity);\n }\n catch (e) {\n console.error(\"Token refresh failed\", e);\n return false;\n }\n }\n getUsername() {\n return this.getParsedToken()?.preferred_username;\n }\n isLoggedIn() {\n return !!this.keycloak?.authenticated;\n }\n async getUser() {\n if (!this.keycloak?.token || !this.keycloak.tokenParsed)\n return;\n const profile = await this.keycloak.loadUserProfile();\n return {\n token: this.keycloak.token,\n parsedToken: this.keycloak.tokenParsed,\n profile,\n };\n }\n getKeycloak() {\n return this.keycloak;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }], ctorParameters: () => [] });\n\n/*\n * Public API Surface of quankee-framework-keycloak\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { KeycloakService };\n//# sourceMappingURL=quankee-framework-keycloak.mjs.map\n","map":null,"preliminaryFileName":"quankee-framework-keycloak.mjs","sourcemapFileName":"quankee-framework-keycloak.mjs.map"},{"fileName":"quankee-framework-keycloak.mjs.map","names":[],"needsCodeReference":false,"originalFileName":null,"originalFileNames":[],"source":"{\"version\":3,\"file\":\"quankee-framework-keycloak.mjs\",\"sources\":[\"../../../projects/quankee-framework-keycloak/src/lib/core/keycloak.service.ts\",\"../../../projects/quankee-framework-keycloak/src/public-api.ts\",\"../../../projects/quankee-framework-keycloak/src/quankee-framework-keycloak.ts\"],\"sourcesContent\":[\"import {Injectable} from '@angular/core';\\r\\nimport Keycloak from 'keycloak-js';\\r\\nimport {AuthenticatedUser} from './authenticated-user';\\r\\nimport {KeycloakToken} from './keycloak-token';\\r\\n\\r\\n// Your own type definition for 'onLoad' because keycloak-js doesn't export it\\r\\nexport type AppKeycloakOnLoad = \\\"login-required\\\" | \\\"check-sso\\\";\\r\\n\\r\\nexport type KeycloakPkceMethod = \\\"S256\\\";\\r\\n\\r\\n// Your own config interface\\r\\nexport interface KeycloakConfig {\\r\\n url: string;\\r\\n realm: string;\\r\\n clientId: string;\\r\\n onLoad?: AppKeycloakOnLoad;\\r\\n checkLoginIframe?: boolean;\\r\\n silentCheckSsoRedirectUri?: string;\\r\\n pkceMethod?: KeycloakPkceMethod;\\r\\n flow?: \\\"standard\\\" | \\\"implicit\\\";\\r\\n}\\r\\n\\r\\n\\r\\n@Injectable({\\r\\n providedIn: 'root',\\r\\n})\\r\\nexport class KeycloakService{\\r\\n\\r\\n private keycloak?: Keycloak;\\r\\n\\r\\n private initialized = false;\\r\\n\\r\\n constructor() {}\\r\\n\\r\\n async init(config: KeycloakConfig): Promise<boolean> {\\r\\n this.keycloak = new Keycloak({\\r\\n url: config.url,\\r\\n realm: config.realm,\\r\\n clientId: config.clientId,\\r\\n });\\r\\n\\r\\n const initOptions: {\\r\\n onLoad: \\\"login-required\\\" | \\\"check-sso\\\";\\r\\n checkLoginIframe: boolean;\\r\\n silentCheckSsoRedirectUri?: string;\\r\\n pkceMethod: KeycloakPkceMethod;\\r\\n flow: \\\"standard\\\" | \\\"implicit\\\";\\r\\n } = {\\r\\n onLoad: config.onLoad ?? \\\"login-required\\\",\\r\\n checkLoginIframe: config.checkLoginIframe ?? false,\\r\\n silentCheckSsoRedirectUri: config.silentCheckSsoRedirectUri,\\r\\n pkceMethod: config.pkceMethod ?? \\\"S256\\\",\\r\\n flow: config.flow ?? \\\"standard\\\",\\r\\n };\\r\\n\\r\\n try {\\r\\n const authenticated = await this.keycloak.init(initOptions);\\r\\n this.initialized = true;\\r\\n return authenticated;\\r\\n } catch (error) {\\r\\n console.error(\\\"Keycloak initialization failed\\\", error);\\r\\n return false;\\r\\n }\\r\\n\\r\\n }\\r\\n\\r\\n login(): void {\\r\\n this.keycloak?.login();\\r\\n }\\r\\n\\r\\n logout(redirectUri?: string): void {\\r\\n this.keycloak?.logout({ redirectUri });\\r\\n }\\r\\n\\r\\n accountManagement(): void {\\r\\n this.keycloak?.accountManagement();\\r\\n }\\r\\n\\r\\n getToken(): string | undefined {\\r\\n return this.keycloak?.token;\\r\\n }\\r\\n\\r\\n getParsedToken(): KeycloakToken | undefined {\\r\\n return this.keycloak?.tokenParsed as KeycloakToken;\\r\\n }\\r\\n\\r\\n async refreshToken(minValidity = 5): Promise<boolean> {\\r\\n if (!this.keycloak) return false;\\r\\n try {\\r\\n return await this.keycloak.updateToken(minValidity);\\r\\n } catch (e) {\\r\\n console.error(\\\"Token refresh failed\\\", e);\\r\\n return false;\\r\\n }\\r\\n }\\r\\n\\r\\n getUsername(): string | undefined {\\r\\n return this.getParsedToken()?.preferred_username;\\r\\n }\\r\\n\\r\\n isLoggedIn(): boolean {\\r\\n return !!this.keycloak?.authenticated;\\r\\n }\\r\\n\\r\\n async getUser(): Promise<AuthenticatedUser | undefined> {\\r\\n if (!this.keycloak?.token || !this.keycloak.tokenParsed) return;\\r\\n\\r\\n const profile = await this.keycloak.loadUserProfile();\\r\\n return {\\r\\n token: this.keycloak.token,\\r\\n parsedToken: this.keycloak.tokenParsed as KeycloakToken,\\r\\n profile,\\r\\n };\\r\\n }\\r\\n\\r\\n getKeycloak(): Keycloak | undefined {\\r\\n return this.keycloak;\\r\\n }\\r\\n\\r\\n\\r\\n}\\r\\n\",\"/*\\r\\n * Public API Surface of quankee-framework-keycloak\\r\\n */\\r\\n\\r\\nexport * from './lib/core/keycloak-token';\\r\\nexport * from './lib/core/authenticated-user';\\r\\nexport * from './lib/core/keycloak.service';\\r\\n\\r\\n\",\"/**\\n * Generated bundle index. Do not edit.\\n */\\n\\nexport * from './public-api';\\n\"],\"names\":[],\"mappings\":\";;;;MA0Ba,eAAe,CAAA;AAEjB,IAAA,QAAQ;IAET,WAAW,GAAG,KAAK;AAE3B,IAAA,WAAA,GAAA;IAEA,MAAM,IAAI,CAAC,MAAsB,EAAA;AAC/B,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,QAAQ,CAAC;YAC3B,GAAG,EAAE,MAAM,CAAC,GAAG;YACf,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,QAAQ,EAAE,MAAM,CAAC,QAAQ;AAC1B,SAAA,CAAC;AAEF,QAAA,MAAM,WAAW,GAMb;AACF,YAAA,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,gBAAgB;AACzC,YAAA,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,IAAI,KAAK;YAClD,yBAAyB,EAAE,MAAM,CAAC,yBAAyB;AAC3D,YAAA,UAAU,EAAE,MAAM,CAAC,UAAU,IAAI,MAAM;AACvC,YAAA,IAAI,EAAE,MAAM,CAAC,IAAI,IAAI,UAAU;SAChC;AAED,QAAA,IAAI;YACF,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC;AAC3D,YAAA,IAA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,OAAO;AACL,YAAA,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK;AAC1B,YAAA,WAAW,EAAE,IAAI,CAAC,QAAQ,CAAC,WAA4B;YACvD,OAAO;SACR;;IAGH,WAAW,GAAA;QACT,OAAO,IAAI,CAAC,QAAQ;;wGA1FX,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAf,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAFd,MAAM,EAAA,CAAA;;4FAEP,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACzBD;;AAEG;;ACFH;;AAEG;;;;\"}","type":"asset"}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"hash":"9957767042121fac2c7778cdc7e9b0fe4af87177331d9e22238273e27c7de987","fesm2022":[{"exports":[],"facadeModuleId":"C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-response\\esm2022\\quankee-framework-response.mjs","isDynamicEntry":false,"isEntry":true,"isImplicitEntry":false,"moduleIds":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-response/esm2022/lib/core/response.mjs","C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-response/esm2022/public-api.mjs","C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-response\\esm2022\\quankee-framework-response.mjs"],"name":"quankee-framework-response","type":"chunk","dynamicImports":[],"fileName":"quankee-framework-response.mjs","implicitlyLoadedBefore":[],"importedBindings":{},"imports":[],"modules":{"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-response/esm2022/lib/core/response.mjs":{"code":"","originalLength":453,"removedExports":[],"renderedExports":[],"renderedLength":0},"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-response/esm2022/public-api.mjs":{"code":"/*\n * Public API Surface of quankee-framework-response\n */","originalLength":578,"removedExports":[],"renderedExports":[],"renderedLength":58},"C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-response\\esm2022\\quankee-framework-response.mjs":{"code":"/**\n * Generated bundle index. Do not edit.\n */","originalLength":560,"removedExports":[],"renderedExports":[],"renderedLength":47}},"referencedFiles":[],"code":"/*\n * Public API Surface of quankee-framework-response\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n//# sourceMappingURL=quankee-framework-response.mjs.map\n","map":null,"preliminaryFileName":"quankee-framework-response.mjs","sourcemapFileName":"quankee-framework-response.mjs.map"},{"fileName":"quankee-framework-response.mjs.map","names":[],"needsCodeReference":false,"originalFileName":null,"originalFileNames":[],"source":"{\"version\":3,\"file\":\"quankee-framework-response.mjs\",\"sources\":[\"../../../projects/quankee-framework-response/src/public-api.ts\",\"../../../projects/quankee-framework-response/src/quankee-framework-response.ts\"],\"sourcesContent\":[\"/*\\r\\n * Public API Surface of quankee-framework-response\\r\\n */\\r\\n\\r\\nexport * from './lib/core/response';\\r\\n\\r\\n\",\"/**\\n * Generated bundle index. Do not edit.\\n */\\n\\nexport * from './public-api';\\n\"],\"names\":[],\"mappings\":\"AAAA;;AAEG;;ACFH;;AAEG\"}","type":"asset"}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"modules":[{"ast":{"type":"Program","start":0,"end":481,"body":[{"type":"ExportNamedDeclaration","start":0,"end":10,"specifiers":[],"source":null,"attributes":[],"declaration":null}],"_rollupRemoved":[{"end":481,"start":11,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export {};\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLXVzZXIvc3JjL2xpYi9jb3JlL3VzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgVXNlciB7XHJcbiAgaWQ6IHN0cmluZztcclxuICB1c2VybmFtZTogc3RyaW5nO1xyXG4gIGZpcnN0TmFtZTogc3RyaW5nO1xyXG4gIGxhc3ROYW1lOiBzdHJpbmc7XHJcbiAgZW1haWw6IHN0cmluZztcclxufVxyXG4iXX0=","customTransformCache":false,"dependencies":[],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/lib/core/user.mjs","meta":{},"moduleSideEffects":true,"originalCode":"export {};\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLXVzZXIvc3JjL2xpYi9jb3JlL3VzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgVXNlciB7XHJcbiAgaWQ6IHN0cmluZztcclxuICB1c2VybmFtZTogc3RyaW5nO1xyXG4gIGZpcnN0TmFtZTogc3RyaW5nO1xyXG4gIGxhc3ROYW1lOiBzdHJpbmc7XHJcbiAgZW1haWw6IHN0cmluZztcclxufVxyXG4iXX0=","originalSourcemap":{"mappings":[],"names":[],"sources":[],"version":3},"resolvedIds":{},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":2368,"body":[{"type":"ImportDeclaration","start":0,"end":43,"specifiers":[{"type":"ImportSpecifier","start":9,"end":19,"imported":{"type":"Identifier","start":9,"end":19,"name":"Injectable"},"local":{"type":"Identifier","start":9,"end":19,"name":"Injectable"}}],"source":{"type":"Literal","start":27,"end":42,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":44,"end":80,"specifiers":[{"type":"ImportNamespaceSpecifier","start":51,"end":58,"local":{"type":"Identifier","start":56,"end":58,"name":"i0"}}],"source":{"type":"Literal","start":64,"end":79,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":81,"end":124,"specifiers":[{"type":"ImportNamespaceSpecifier","start":88,"end":95,"local":{"type":"Identifier","start":93,"end":95,"name":"i1"}}],"source":{"type":"Literal","start":101,"end":123,"value":"@angular/common/http","raw":"\"@angular/common/http\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":125,"end":648,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":132,"end":648,"decorators":[],"id":{"type":"Identifier","start":138,"end":149,"name":"UserService"},"superClass":null,"body":{"type":"ClassBody","start":150,"end":648,"body":[{"type":"PropertyDefinition","start":156,"end":161,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":156,"end":160,"name":"http"},"value":null},{"type":"MethodDefinition","start":166,"end":217,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":166,"end":177,"name":"constructor"},"value":{"type":"FunctionExpression","start":177,"end":217,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":178,"end":182,"name":"http"}],"body":{"type":"BlockStatement","start":184,"end":217,"body":[{"type":"ExpressionStatement","start":194,"end":211,"expression":{"type":"AssignmentExpression","start":194,"end":210,"operator":"=","left":{"type":"MemberExpression","start":194,"end":203,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":194,"end":198},"property":{"type":"Identifier","start":199,"end":203,"name":"http"}},"right":{"type":"Identifier","start":206,"end":210,"name":"http"}}}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":222,"end":309,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":222,"end":230,"name":"getUsers"},"value":{"type":"FunctionExpression","start":230,"end":309,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":231,"end":238,"name":"baseUrl"}],"body":{"type":"BlockStatement","start":240,"end":309,"body":[{"type":"ReturnStatement","start":250,"end":303,"argument":{"type":"CallExpression","start":257,"end":302,"optional":false,"callee":{"type":"MemberExpression","start":257,"end":270,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":257,"end":266,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":257,"end":261},"property":{"type":"Identifier","start":262,"end":266,"name":"http"}},"property":{"type":"Identifier","start":267,"end":270,"name":"get"}},"arguments":[{"type":"TemplateLiteral","start":271,"end":301,"quasis":[{"type":"TemplateElement","start":272,"end":272,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":282,"end":300,"tail":true,"value":{"cooked":"/security/keycloak","raw":"/security/keycloak"}}],"expressions":[{"type":"Identifier","start":274,"end":281,"name":"baseUrl"}]}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":314,"end":502,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":321,"end":325,"name":"ɵfac"},"value":{"type":"CallExpression","start":328,"end":501,"optional":false,"callee":{"type":"MemberExpression","start":328,"end":349,"computed":false,"optional":false,"object":{"type":"Identifier","start":328,"end":330,"name":"i0"},"property":{"type":"Identifier","start":331,"end":349,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":350,"end":500,"properties":[{"type":"Property","start":352,"end":372,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":352,"end":362,"name":"minVersion"},"value":{"type":"Literal","start":364,"end":372,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":374,"end":392,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":374,"end":381,"name":"version"},"value":{"type":"Literal","start":383,"end":392,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":394,"end":406,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":394,"end":402,"name":"ngImport"},"value":{"type":"Identifier","start":404,"end":406,"name":"i0"},"kind":"init"},{"type":"Property","start":408,"end":425,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":408,"end":412,"name":"type"},"value":{"type":"Identifier","start":414,"end":425,"name":"UserService"},"kind":"init"},{"type":"Property","start":427,"end":459,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":427,"end":431,"name":"deps"},"value":{"type":"ArrayExpression","start":433,"end":459,"elements":[{"type":"ObjectExpression","start":434,"end":458,"properties":[{"type":"Property","start":436,"end":456,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":436,"end":441,"name":"token"},"value":{"type":"MemberExpression","start":443,"end":456,"computed":false,"optional":false,"object":{"type":"Identifier","start":443,"end":445,"name":"i1"},"property":{"type":"Identifier","start":446,"end":456,"name":"HttpClient"}},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":461,"end":498,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":461,"end":467,"name":"target"},"value":{"type":"MemberExpression","start":469,"end":498,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":469,"end":487,"computed":false,"optional":false,"object":{"type":"Identifier","start":469,"end":471,"name":"i0"},"property":{"type":"Identifier","start":472,"end":487,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":488,"end":498,"name":"Injectable"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":507,"end":646,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":514,"end":519,"name":"ɵprov"},"value":{"type":"CallExpression","start":522,"end":645,"optional":false,"callee":{"type":"MemberExpression","start":522,"end":546,"computed":false,"optional":false,"object":{"type":"Identifier","start":522,"end":524,"name":"i0"},"property":{"type":"Identifier","start":525,"end":546,"name":"ɵɵngDeclareInjectable"}},"arguments":[{"type":"ObjectExpression","start":547,"end":644,"properties":[{"type":"Property","start":549,"end":569,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":549,"end":559,"name":"minVersion"},"value":{"type":"Literal","start":561,"end":569,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":571,"end":589,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":571,"end":578,"name":"version"},"value":{"type":"Literal","start":580,"end":589,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":591,"end":603,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":591,"end":599,"name":"ngImport"},"value":{"type":"Identifier","start":601,"end":603,"name":"i0"},"kind":"init"},{"type":"Property","start":605,"end":622,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":605,"end":609,"name":"type"},"value":{"type":"Identifier","start":611,"end":622,"name":"UserService"},"kind":"init"},{"type":"Property","start":624,"end":642,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":624,"end":634,"name":"providedIn"},"value":{"type":"Literal","start":636,"end":642,"value":"root","raw":"'root'"},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":649,"end":941,"expression":{"type":"CallExpression","start":649,"end":940,"optional":false,"callee":{"type":"MemberExpression","start":649,"end":676,"computed":false,"optional":false,"object":{"type":"Identifier","start":649,"end":651,"name":"i0"},"property":{"type":"Identifier","start":652,"end":676,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":677,"end":939,"properties":[{"type":"Property","start":679,"end":699,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":679,"end":689,"name":"minVersion"},"value":{"type":"Literal","start":691,"end":699,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":701,"end":719,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":701,"end":708,"name":"version"},"value":{"type":"Literal","start":710,"end":719,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":721,"end":733,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":721,"end":729,"name":"ngImport"},"value":{"type":"Identifier","start":731,"end":733,"name":"i0"},"kind":"init"},{"type":"Property","start":735,"end":752,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":735,"end":739,"name":"type"},"value":{"type":"Identifier","start":741,"end":752,"name":"UserService"},"kind":"init"},{"type":"Property","start":754,"end":888,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":754,"end":764,"name":"decorators"},"value":{"type":"ArrayExpression","start":766,"end":888,"elements":[{"type":"ObjectExpression","start":767,"end":887,"properties":[{"type":"Property","start":781,"end":797,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":781,"end":785,"name":"type"},"value":{"type":"Identifier","start":787,"end":797,"name":"Injectable"},"kind":"init"},{"type":"Property","start":811,"end":877,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":811,"end":815,"name":"args"},"value":{"type":"ArrayExpression","start":817,"end":877,"elements":[{"type":"ObjectExpression","start":818,"end":876,"properties":[{"type":"Property","start":840,"end":858,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":840,"end":850,"name":"providedIn"},"value":{"type":"Literal","start":852,"end":858,"value":"root","raw":"'root'"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":890,"end":937,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":890,"end":904,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":906,"end":937,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":912,"end":937,"elements":[{"type":"ObjectExpression","start":913,"end":936,"properties":[{"type":"Property","start":915,"end":934,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":915,"end":919,"name":"type"},"value":{"type":"MemberExpression","start":921,"end":934,"computed":false,"optional":false,"object":{"type":"Identifier","start":921,"end":923,"name":"i1"},"property":{"type":"Identifier","start":924,"end":934,"name":"HttpClient"}},"kind":"init"}]}]},"id":null},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":2368,"start":942,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class UserService {\n http;\n constructor(http) {\n this.http = http;\n }\n getUsers(baseUrl) {\n return this.http.get(`${baseUrl}/security/keycloak`);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: UserService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: UserService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: () => [{ type: i1.HttpClient }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcXVhbmtlZS1mcmFtZXdvcmstdXNlci9zcmMvbGliL2NvcmUvdXNlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7OztBQVV6QyxNQUFNLE9BQU8sV0FBVztJQUVPO0lBQTdCLFlBQTZCLElBQWdCO1FBQWhCLFNBQUksR0FBSixJQUFJLENBQVk7SUFBSSxDQUFDO0lBRWxELFFBQVEsQ0FBQyxPQUFlO1FBQ3RCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQW1CLEdBQUcsT0FBTyxvQkFBb0IsQ0FBQyxDQUFDO0lBQ3pFLENBQUM7d0dBTlUsV0FBVzs0R0FBWCxXQUFXLGNBRlYsTUFBTTs7NEZBRVAsV0FBVztrQkFIdkIsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0luamVjdGFibGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQge0h0dHBDbGllbnR9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbi9odHRwJztcclxuaW1wb3J0IHtPYnNlcnZhYmxlfSBmcm9tICdyeGpzJztcclxuaW1wb3J0IHtVc2VyfSBmcm9tICcuL3VzZXInO1xyXG5pbXBvcnQge1Jlc3BvbnNlfSBmcm9tICdxdWFua2VlLWZyYW1ld29yay1yZXNwb25zZSc7XHJcblxyXG5cclxuQEluamVjdGFibGUoe1xyXG4gIHByb3ZpZGVkSW46ICdyb290J1xyXG59KVxyXG5leHBvcnQgY2xhc3MgVXNlclNlcnZpY2Uge1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IGh0dHA6IEh0dHBDbGllbnQpIHsgfVxyXG5cclxuICBnZXRVc2VycyhiYXNlVXJsOiBzdHJpbmcpOiBPYnNlcnZhYmxlPFJlc3BvbnNlPFVzZXJbXT4+IHtcclxuICAgIHJldHVybiB0aGlzLmh0dHAuZ2V0PFJlc3BvbnNlPFVzZXJbXT4+KGAke2Jhc2VVcmx9L3NlY3VyaXR5L2tleWNsb2FrYCk7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","@angular/common/http"],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/lib/core/user.service.mjs","meta":{},"moduleSideEffects":true,"originalCode":"import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common/http\";\nexport class UserService {\n http;\n constructor(http) {\n this.http = http;\n }\n getUsers(baseUrl) {\n return this.http.get(`${baseUrl}/security/keycloak`);\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: UserService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: UserService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: () => [{ type: i1.HttpClient }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcXVhbmtlZS1mcmFtZXdvcmstdXNlci9zcmMvbGliL2NvcmUvdXNlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7OztBQVV6QyxNQUFNLE9BQU8sV0FBVztJQUVPO0lBQTdCLFlBQTZCLElBQWdCO1FBQWhCLFNBQUksR0FBSixJQUFJLENBQVk7SUFBSSxDQUFDO0lBRWxELFFBQVEsQ0FBQyxPQUFlO1FBQ3RCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQW1CLEdBQUcsT0FBTyxvQkFBb0IsQ0FBQyxDQUFDO0lBQ3pFLENBQUM7d0dBTlUsV0FBVzs0R0FBWCxXQUFXLGNBRlYsTUFBTTs7NEZBRVAsV0FBVztrQkFIdkIsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0luamVjdGFibGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQge0h0dHBDbGllbnR9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbi9odHRwJztcclxuaW1wb3J0IHtPYnNlcnZhYmxlfSBmcm9tICdyeGpzJztcclxuaW1wb3J0IHtVc2VyfSBmcm9tICcuL3VzZXInO1xyXG5pbXBvcnQge1Jlc3BvbnNlfSBmcm9tICdxdWFua2VlLWZyYW1ld29yay1yZXNwb25zZSc7XHJcblxyXG5cclxuQEluamVjdGFibGUoe1xyXG4gIHByb3ZpZGVkSW46ICdyb290J1xyXG59KVxyXG5leHBvcnQgY2xhc3MgVXNlclNlcnZpY2Uge1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IGh0dHA6IEh0dHBDbGllbnQpIHsgfVxyXG5cclxuICBnZXRVc2VycyhiYXNlVXJsOiBzdHJpbmcpOiBPYnNlcnZhYmxlPFJlc3BvbnNlPFVzZXJbXT4+IHtcclxuICAgIHJldHVybiB0aGlzLmh0dHAuZ2V0PFJlc3BvbnNlPFVzZXJbXT4+KGAke2Jhc2VVcmx9L3NlY3VyaXR5L2tleWNsb2FrYCk7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=","originalSourcemap":{"version":3,"file":"user.service.js","sourceRoot":"","sources":["../../../../../projects/quankee-framework-user/src/lib/core/user.service.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,8],[19,0,0,18],[21,0,0,19],[27,0,0,25],[42,0,0,40],[43,0,0,41]],[],[],[[0,0,10,0],[6,0,10,6],[13,0,10,13],[24,0,10,24]],[[4,0,12,31]],[[4,0,12,2],[16,0,12,31],[20,0,12,47]],[[8,0,12,31],[17,0,12,35],[20,0,12,31],[24,0,12,35],[25,0,12,47]],[[4,0,12,51],[5,0,12,52]],[[4,0,14,2],[12,0,14,10],[13,0,14,11],[20,0,14,26]],[[8,0,15,4],[15,0,15,11],[19,0,15,15],[20,0,15,16],[24,0,15,20],[25,0,15,21],[28,0,15,24],[29,0,15,43],[32,0,15,46],[39,0,15,53],[59,0,15,73],[60,0,15,74],[61,0,15,75]],[[4,0,16,2],[5,0,16,3]],[[104,0,10,13],[115,0,10,24]],[[108,0,10,13],[119,0,10,24],[133,0,8,14],[139,0,8,20]],[],[[92,0,10,13],[103,0,10,24]],[[18,0,7,1],[28,0,7,11]],[[19,0,7,12]],[[20,0,8,2],[30,0,8,12],[32,0,8,14],[38,0,8,20]],[[17,0,9,1]]],"sourcesContent":["import {Injectable} from '@angular/core';\r\nimport {HttpClient} from '@angular/common/http';\r\nimport {Observable} from 'rxjs';\r\nimport {User} from './user';\r\nimport {Response} from 'quankee-framework-response';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserService {\r\n\r\n constructor(private readonly http: HttpClient) { }\r\n\r\n getUsers(baseUrl: string): Observable<Response<User[]>> {\r\n return this.http.get<Response<User[]>>(`${baseUrl}/security/keycloak`);\r\n }\r\n\r\n}\r\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common/http":{"attributes":{},"external":true,"id":"@angular/common/http","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":687,"body":[{"type":"ExportAllDeclaration","start":55,"end":87,"exported":null,"source":{"type":"Literal","start":69,"end":86,"value":"./lib/core/user","raw":"'./lib/core/user'"},"attributes":[]},{"type":"ExportAllDeclaration","start":88,"end":128,"exported":null,"source":{"type":"Literal","start":102,"end":127,"value":"./lib/core/user.service","raw":"'./lib/core/user.service'"},"attributes":[]}],"_rollupRemoved":[{"end":687,"start":129,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/*\n * Public API Surface of quankee-framework-user\n */\nexport * from './lib/core/user';\nexport * from './lib/core/user.service';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLXVzZXIvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgcXVhbmtlZS1mcmFtZXdvcmstdXNlclxyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvcmUvdXNlcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvcmUvdXNlci5zZXJ2aWNlJztcclxuXHJcbiJdfQ==","customTransformCache":false,"dependencies":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/lib/core/user.mjs","C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/lib/core/user.service.mjs"],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/public-api.mjs","meta":{},"moduleSideEffects":true,"originalCode":"/*\n * Public API Surface of quankee-framework-user\n */\nexport * from './lib/core/user';\nexport * from './lib/core/user.service';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLXVzZXIvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgcXVhbmtlZS1mcmFtZXdvcmstdXNlclxyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvcmUvdXNlcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvcmUvdXNlci5zZXJ2aWNlJztcclxuXHJcbiJdfQ==","originalSourcemap":{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../projects/quankee-framework-user/src/public-api.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[31,0,4,31],[32,0,4,32]],[[0,0,5,0],[14,0,5,14],[39,0,5,39],[40,0,5,40]]],"sourcesContent":["/*\r\n * Public API Surface of quankee-framework-user\r\n */\r\n\r\nexport * from './lib/core/user';\r\nexport * from './lib/core/user.service';\r\n\r\n"]},"resolvedIds":{"./lib/core/user":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/lib/core/user.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false},"./lib/core/user.service":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/lib/core/user.service.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":544,"body":[{"type":"ExportAllDeclaration","start":48,"end":77,"exported":null,"source":{"type":"Literal","start":62,"end":76,"value":"./public-api","raw":"'./public-api'"},"attributes":[]}],"_rollupRemoved":[{"end":544,"start":78,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbmtlZS1mcmFtZXdvcmstdXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLXVzZXIvc3JjL3F1YW5rZWUtZnJhbWV3b3JrLXVzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==","customTransformCache":false,"dependencies":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/public-api.mjs"],"id":"C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-user\\esm2022\\quankee-framework-user.mjs","meta":{},"moduleSideEffects":true,"originalCode":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbmtlZS1mcmFtZXdvcmstdXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLXVzZXIvc3JjL3F1YW5rZWUtZnJhbWV3b3JrLXVzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==","originalSourcemap":{"version":3,"file":"quankee-framework-user.js","sourceRoot":"","sources":["../../../projects/quankee-framework-user/src/quankee-framework-user.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[28,0,4,28],[29,0,4,29]]],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"]},"resolvedIds":{"./public-api":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-user/esm2022/public-api.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]}],"plugins":{"file-loader":{},"json":{}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"modules":[{"ast":{"type":"Program","start":0,"end":421,"body":[{"type":"ExportNamedDeclaration","start":0,"end":10,"specifiers":[],"source":null,"attributes":[],"declaration":null}],"_rollupRemoved":[{"end":421,"start":11,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export {};\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFuZ3VhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1sYW5ndWFnZS9zcmMvbGliL2NvcmUvbGFuZ3VhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgTGFuZ3VhZ2Uge1xyXG4gIGxhbmd1YWdlOiBzdHJpbmc7XHJcbiAgY291bnRyeTogc3RyaW5nO1xyXG59XHJcbiJdfQ==","customTransformCache":false,"dependencies":[],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-language/esm2022/lib/core/language.mjs","meta":{},"moduleSideEffects":true,"originalCode":"export {};\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFuZ3VhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1sYW5ndWFnZS9zcmMvbGliL2NvcmUvbGFuZ3VhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgTGFuZ3VhZ2Uge1xyXG4gIGxhbmd1YWdlOiBzdHJpbmc7XHJcbiAgY291bnRyeTogc3RyaW5nO1xyXG59XHJcbiJdfQ==","originalSourcemap":{"mappings":[],"names":[],"sources":[],"version":3},"resolvedIds":{},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":574,"body":[{"type":"ExportAllDeclaration","start":59,"end":95,"exported":null,"source":{"type":"Literal","start":73,"end":94,"value":"./lib/core/language","raw":"'./lib/core/language'"},"attributes":[]}],"_rollupRemoved":[{"end":574,"start":96,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/*\n * Public API Surface of quankee-framework-language\n */\nexport * from './lib/core/language';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWxhbmd1YWdlL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBxdWFua2VlLWZyYW1ld29yay1sYW5ndWFnZVxyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvcmUvbGFuZ3VhZ2UnO1xyXG4iXX0=","customTransformCache":false,"dependencies":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-language/esm2022/lib/core/language.mjs"],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-language/esm2022/public-api.mjs","meta":{},"moduleSideEffects":true,"originalCode":"/*\n * Public API Surface of quankee-framework-language\n */\nexport * from './lib/core/language';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWxhbmd1YWdlL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBxdWFua2VlLWZyYW1ld29yay1sYW5ndWFnZVxyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvcmUvbGFuZ3VhZ2UnO1xyXG4iXX0=","originalSourcemap":{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../projects/quankee-framework-language/src/public-api.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[35,0,4,35],[36,0,4,36]]],"sourcesContent":["/*\r\n * Public API Surface of quankee-framework-language\r\n */\r\n\r\nexport * from './lib/core/language';\r\n"]},"resolvedIds":{"./lib/core/language":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-language/esm2022/lib/core/language.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":560,"body":[{"type":"ExportAllDeclaration","start":48,"end":77,"exported":null,"source":{"type":"Literal","start":62,"end":76,"value":"./public-api","raw":"'./public-api'"},"attributes":[]}],"_rollupRemoved":[{"end":560,"start":78,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbmtlZS1mcmFtZXdvcmstbGFuZ3VhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1sYW5ndWFnZS9zcmMvcXVhbmtlZS1mcmFtZXdvcmstbGFuZ3VhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==","customTransformCache":false,"dependencies":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-language/esm2022/public-api.mjs"],"id":"C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-language\\esm2022\\quankee-framework-language.mjs","meta":{},"moduleSideEffects":true,"originalCode":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbmtlZS1mcmFtZXdvcmstbGFuZ3VhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1sYW5ndWFnZS9zcmMvcXVhbmtlZS1mcmFtZXdvcmstbGFuZ3VhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==","originalSourcemap":{"version":3,"file":"quankee-framework-language.js","sourceRoot":"","sources":["../../../projects/quankee-framework-language/src/quankee-framework-language.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[28,0,4,28],[29,0,4,29]]],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"]},"resolvedIds":{"./public-api":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-language/esm2022/public-api.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]}],"plugins":{"file-loader":{},"json":{}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"modules":[{"ast":{"type":"Program","start":0,"end":1112,"body":[{"type":"ExportNamedDeclaration","start":0,"end":217,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"FunctionDeclaration","start":7,"end":217,"async":false,"generator":false,"id":{"type":"Identifier","start":16,"end":32,"name":"injectAuthHeader"},"params":[{"type":"Identifier","start":33,"end":36,"name":"req"},{"type":"Identifier","start":38,"end":43,"name":"token"}],"body":{"type":"BlockStatement","start":45,"end":217,"body":[{"type":"IfStatement","start":51,"end":199,"test":{"type":"Identifier","start":55,"end":60,"name":"token"},"consequent":{"type":"BlockStatement","start":62,"end":199,"body":[{"type":"ReturnStatement","start":72,"end":193,"argument":{"type":"CallExpression","start":79,"end":192,"optional":false,"callee":{"type":"MemberExpression","start":79,"end":88,"computed":false,"optional":false,"object":{"type":"Identifier","start":79,"end":82,"name":"req"},"property":{"type":"Identifier","start":83,"end":88,"name":"clone"}},"arguments":[{"type":"ObjectExpression","start":89,"end":191,"properties":[{"type":"Property","start":103,"end":180,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":103,"end":113,"name":"setHeaders"},"value":{"type":"ObjectExpression","start":115,"end":180,"properties":[{"type":"Property","start":133,"end":165,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":133,"end":146,"name":"Authorization"},"value":{"type":"TemplateLiteral","start":148,"end":165,"quasis":[{"type":"TemplateElement","start":149,"end":156,"tail":false,"value":{"cooked":"Bearer ","raw":"Bearer "}},{"type":"TemplateElement","start":164,"end":164,"tail":true,"value":{"cooked":"","raw":""}}],"expressions":[{"type":"Identifier","start":158,"end":163,"name":"token"}]},"kind":"init"}]},"kind":"init"}]}]}}]},"alternate":null},{"type":"ReturnStatement","start":204,"end":215,"argument":{"type":"Identifier","start":211,"end":214,"name":"req"}}]},"expression":false}}],"_rollupRemoved":[{"end":1112,"start":218,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export function injectAuthHeader(req, token) {\n if (token) {\n return req.clone({\n setHeaders: {\n Authorization: `Bearer ${token}`,\n },\n });\n }\n return req;\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9rZW4uaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcXVhbmtlZS1mcmFtZXdvcmstaW50ZXJjZXB0b3Ivc3JjL2xpYi9jb3JlL3Rva2VuLmhlbHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLFVBQVUsZ0JBQWdCLENBQUMsR0FBUSxFQUFFLEtBQVU7SUFDbkQsSUFBSSxLQUFLLEVBQUUsQ0FBQztRQUNWLE9BQU8sR0FBRyxDQUFDLEtBQUssQ0FBQztZQUNmLFVBQVUsRUFBRTtnQkFDVixhQUFhLEVBQUUsVUFBVSxLQUFLLEVBQUU7YUFDakM7U0FDRixDQUFDLENBQUM7SUFDTCxDQUFDO0lBQ0QsT0FBTyxHQUFHLENBQUM7QUFDYixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIGluamVjdEF1dGhIZWFkZXIocmVxOiBhbnksIHRva2VuOiBhbnkpOiBhbnkge1xyXG4gIGlmICh0b2tlbikge1xyXG4gICAgcmV0dXJuIHJlcS5jbG9uZSh7XHJcbiAgICAgIHNldEhlYWRlcnM6IHtcclxuICAgICAgICBBdXRob3JpemF0aW9uOiBgQmVhcmVyICR7dG9rZW59YCxcclxuICAgICAgfSxcclxuICAgIH0pO1xyXG4gIH1cclxuICByZXR1cm4gcmVxO1xyXG59XHJcbiJdfQ==","customTransformCache":false,"dependencies":[],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/lib/core/token.helper.mjs","meta":{},"moduleSideEffects":true,"originalCode":"export function injectAuthHeader(req, token) {\n if (token) {\n return req.clone({\n setHeaders: {\n Authorization: `Bearer ${token}`,\n },\n });\n }\n return req;\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9rZW4uaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcXVhbmtlZS1mcmFtZXdvcmstaW50ZXJjZXB0b3Ivc3JjL2xpYi9jb3JlL3Rva2VuLmhlbHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLFVBQVUsZ0JBQWdCLENBQUMsR0FBUSxFQUFFLEtBQVU7SUFDbkQsSUFBSSxLQUFLLEVBQUUsQ0FBQztRQUNWLE9BQU8sR0FBRyxDQUFDLEtBQUssQ0FBQztZQUNmLFVBQVUsRUFBRTtnQkFDVixhQUFhLEVBQUUsVUFBVSxLQUFLLEVBQUU7YUFDakM7U0FDRixDQUFDLENBQUM7SUFDTCxDQUFDO0lBQ0QsT0FBTyxHQUFHLENBQUM7QUFDYixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIGluamVjdEF1dGhIZWFkZXIocmVxOiBhbnksIHRva2VuOiBhbnkpOiBhbnkge1xyXG4gIGlmICh0b2tlbikge1xyXG4gICAgcmV0dXJuIHJlcS5jbG9uZSh7XHJcbiAgICAgIHNldEhlYWRlcnM6IHtcclxuICAgICAgICBBdXRob3JpemF0aW9uOiBgQmVhcmVyICR7dG9rZW59YCxcclxuICAgICAgfSxcclxuICAgIH0pO1xyXG4gIH1cclxuICByZXR1cm4gcmVxO1xyXG59XHJcbiJdfQ==","originalSourcemap":{"version":3,"file":"token.helper.js","sourceRoot":"","sources":["../../../../../projects/quankee-framework-interceptor/src/lib/core/token.helper.ts"],"names":[],"mappings":[[[0,0,0,0],[6,0,0,6],[16,0,0,16],[32,0,0,32],[33,0,0,33],[36,0,0,41],[38,0,0,43],[43,0,0,53]],[[4,0,1,2],[8,0,1,6],[13,0,1,11],[15,0,1,13],[16,0,1,14]],[[8,0,2,4],[15,0,2,11],[18,0,2,14],[19,0,2,15],[24,0,2,20],[25,0,2,21]],[[12,0,3,6],[22,0,3,16],[24,0,3,18]],[[16,0,4,8],[29,0,4,21],[31,0,4,23],[41,0,4,33],[46,0,4,38],[48,0,4,40]],[[13,0,5,7]],[[9,0,6,5],[10,0,6,6],[11,0,6,7]],[[4,0,7,2],[5,0,7,3]],[[4,0,8,2],[11,0,8,9],[14,0,8,12],[15,0,8,13]],[[0,0,9,0],[1,0,9,1]]],"sourcesContent":["export function injectAuthHeader(req: any, token: any): any {\r\n if (token) {\r\n return req.clone({\r\n setHeaders: {\r\n Authorization: `Bearer ${token}`,\r\n },\r\n });\r\n }\r\n return req;\r\n}\r\n"]},"resolvedIds":{},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":5214,"body":[{"type":"ImportDeclaration","start":0,"end":43,"specifiers":[{"type":"ImportSpecifier","start":9,"end":19,"imported":{"type":"Identifier","start":9,"end":19,"name":"Injectable"},"local":{"type":"Identifier","start":9,"end":19,"name":"Injectable"}}],"source":{"type":"Literal","start":27,"end":42,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":44,"end":90,"specifiers":[{"type":"ImportSpecifier","start":53,"end":63,"imported":{"type":"Identifier","start":53,"end":63,"name":"catchError"},"local":{"type":"Identifier","start":53,"end":63,"name":"catchError"}},{"type":"ImportSpecifier","start":65,"end":75,"imported":{"type":"Identifier","start":65,"end":75,"name":"throwError"},"local":{"type":"Identifier","start":65,"end":75,"name":"throwError"}}],"source":{"type":"Literal","start":83,"end":89,"value":"rxjs","raw":"'rxjs'"},"attributes":[]},{"type":"ImportDeclaration","start":91,"end":127,"specifiers":[{"type":"ImportNamespaceSpecifier","start":98,"end":105,"local":{"type":"Identifier","start":103,"end":105,"name":"i0"}}],"source":{"type":"Literal","start":111,"end":126,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":128,"end":177,"specifiers":[{"type":"ImportNamespaceSpecifier","start":135,"end":142,"local":{"type":"Identifier","start":140,"end":142,"name":"i1"}}],"source":{"type":"Literal","start":148,"end":176,"value":"quankee-framework-keycloak","raw":"\"quankee-framework-keycloak\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":178,"end":1500,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":185,"end":1500,"decorators":[],"id":{"type":"Identifier","start":191,"end":215,"name":"AuthorizationInterceptor"},"superClass":null,"body":{"type":"ClassBody","start":216,"end":1500,"body":[{"type":"PropertyDefinition","start":222,"end":238,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":222,"end":237,"name":"keycloakService"},"value":null},{"type":"MethodDefinition","start":243,"end":327,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":243,"end":254,"name":"constructor"},"value":{"type":"FunctionExpression","start":254,"end":327,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":255,"end":270,"name":"keycloakService"}],"body":{"type":"BlockStatement","start":272,"end":327,"body":[{"type":"ExpressionStatement","start":282,"end":321,"expression":{"type":"AssignmentExpression","start":282,"end":320,"operator":"=","left":{"type":"MemberExpression","start":282,"end":302,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":282,"end":286},"property":{"type":"Identifier","start":287,"end":302,"name":"keycloakService"}},"right":{"type":"Identifier","start":305,"end":320,"name":"keycloakService"}}}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":332,"end":1150,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":332,"end":341,"name":"intercept"},"value":{"type":"FunctionExpression","start":341,"end":1150,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":342,"end":345,"name":"req"},{"type":"Identifier","start":347,"end":351,"name":"next"}],"body":{"type":"BlockStatement","start":353,"end":1150,"body":[{"type":"ExpressionStatement","start":363,"end":405,"expression":{"type":"CallExpression","start":363,"end":404,"optional":false,"callee":{"type":"MemberExpression","start":363,"end":374,"computed":false,"optional":false,"object":{"type":"Identifier","start":363,"end":370,"name":"console"},"property":{"type":"Identifier","start":371,"end":374,"name":"log"}},"arguments":[{"type":"Literal","start":375,"end":403,"value":"[Interceptor] Executing...","raw":"'[Interceptor] Executing...'"}]}},{"type":"VariableDeclaration","start":414,"end":460,"kind":"const","declarations":[{"type":"VariableDeclarator","start":420,"end":459,"id":{"type":"Identifier","start":420,"end":425,"name":"token"},"init":{"type":"CallExpression","start":428,"end":459,"optional":false,"callee":{"type":"MemberExpression","start":428,"end":457,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":428,"end":448,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":428,"end":432},"property":{"type":"Identifier","start":433,"end":448,"name":"keycloakService"}},"property":{"type":"Identifier","start":449,"end":457,"name":"getToken"}},"arguments":[]}}]},{"type":"ExpressionStatement","start":487,"end":542,"expression":{"type":"CallExpression","start":487,"end":541,"optional":false,"callee":{"type":"MemberExpression","start":487,"end":498,"computed":false,"optional":false,"object":{"type":"Identifier","start":487,"end":494,"name":"console"},"property":{"type":"Identifier","start":495,"end":498,"name":"log"}},"arguments":[{"type":"BinaryExpression","start":499,"end":540,"operator":"+","left":{"type":"Literal","start":499,"end":532,"value":"[Interceptor] is token found...","raw":"'[Interceptor] is token found...'"},"right":{"type":"Identifier","start":535,"end":540,"name":"token"}}]}},{"type":"VariableDeclaration","start":551,"end":569,"kind":"let","declarations":[{"type":"VariableDeclarator","start":555,"end":568,"id":{"type":"Identifier","start":555,"end":562,"name":"authReq"},"init":{"type":"Identifier","start":565,"end":568,"name":"req"}}]},{"type":"IfStatement","start":578,"end":818,"test":{"type":"Identifier","start":582,"end":587,"name":"token"},"consequent":{"type":"BlockStatement","start":589,"end":818,"body":[{"type":"ExpressionStatement","start":603,"end":655,"expression":{"type":"CallExpression","start":603,"end":654,"optional":false,"callee":{"type":"MemberExpression","start":603,"end":614,"computed":false,"optional":false,"object":{"type":"Identifier","start":603,"end":610,"name":"console"},"property":{"type":"Identifier","start":611,"end":614,"name":"log"}},"arguments":[{"type":"BinaryExpression","start":615,"end":653,"operator":"+","left":{"type":"Literal","start":615,"end":645,"value":"[Interceptor] token found...","raw":"'[Interceptor] token found...'"},"right":{"type":"Identifier","start":648,"end":653,"name":"token"}}]}},{"type":"ExpressionStatement","start":668,"end":808,"expression":{"type":"AssignmentExpression","start":668,"end":807,"operator":"=","left":{"type":"Identifier","start":668,"end":675,"name":"authReq"},"right":{"type":"CallExpression","start":678,"end":807,"optional":false,"callee":{"type":"MemberExpression","start":678,"end":687,"computed":false,"optional":false,"object":{"type":"Identifier","start":678,"end":681,"name":"req"},"property":{"type":"Identifier","start":682,"end":687,"name":"clone"}},"arguments":[{"type":"ObjectExpression","start":688,"end":806,"properties":[{"type":"Property","start":706,"end":791,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":706,"end":716,"name":"setHeaders"},"value":{"type":"ObjectExpression","start":718,"end":791,"properties":[{"type":"Property","start":740,"end":772,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":740,"end":753,"name":"Authorization"},"value":{"type":"TemplateLiteral","start":755,"end":772,"quasis":[{"type":"TemplateElement","start":756,"end":763,"tail":false,"value":{"cooked":"Bearer ","raw":"Bearer "}},{"type":"TemplateElement","start":771,"end":771,"tail":true,"value":{"cooked":"","raw":""}}],"expressions":[{"type":"Identifier","start":765,"end":770,"name":"token"}]},"kind":"init"}]},"kind":"init"}]}]}}}]},"alternate":null},{"type":"ReturnStatement","start":827,"end":1144,"argument":{"type":"CallExpression","start":834,"end":1143,"optional":false,"callee":{"type":"MemberExpression","start":834,"end":859,"computed":false,"optional":false,"object":{"type":"CallExpression","start":834,"end":854,"optional":false,"callee":{"type":"MemberExpression","start":834,"end":845,"computed":false,"optional":false,"object":{"type":"Identifier","start":834,"end":838,"name":"next"},"property":{"type":"Identifier","start":839,"end":845,"name":"handle"}},"arguments":[{"type":"Identifier","start":846,"end":853,"name":"authReq"}]},"property":{"type":"Identifier","start":855,"end":859,"name":"pipe"}},"arguments":[{"type":"CallExpression","start":860,"end":1142,"optional":false,"callee":{"type":"Identifier","start":860,"end":870,"name":"catchError"},"arguments":[{"type":"ArrowFunctionExpression","start":871,"end":1141,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":872,"end":877,"name":"error"}],"body":{"type":"BlockStatement","start":882,"end":1141,"body":[{"type":"ExpressionStatement","start":896,"end":932,"expression":{"type":"CallExpression","start":896,"end":931,"optional":false,"callee":{"type":"MemberExpression","start":896,"end":909,"computed":false,"optional":false,"object":{"type":"Identifier","start":896,"end":903,"name":"console"},"property":{"type":"Identifier","start":904,"end":909,"name":"error"}},"arguments":[{"type":"Literal","start":910,"end":923,"value":"HTTP Error:","raw":"'HTTP Error:'"},{"type":"Identifier","start":925,"end":930,"name":"error"}]}},{"type":"IfStatement","start":945,"end":1087,"test":{"type":"BinaryExpression","start":949,"end":969,"operator":"===","left":{"type":"MemberExpression","start":949,"end":961,"computed":false,"optional":false,"object":{"type":"Identifier","start":949,"end":954,"name":"error"},"property":{"type":"Identifier","start":955,"end":961,"name":"status"}},"right":{"type":"Literal","start":966,"end":969,"raw":"401","value":401}},"consequent":{"type":"BlockStatement","start":971,"end":1087,"body":[{"type":"ExpressionStatement","start":1028,"end":1073,"expression":{"type":"CallExpression","start":1028,"end":1072,"optional":false,"callee":{"type":"MemberExpression","start":1028,"end":1041,"computed":false,"optional":false,"object":{"type":"Identifier","start":1028,"end":1035,"name":"console"},"property":{"type":"Identifier","start":1036,"end":1041,"name":"error"}},"arguments":[{"type":"Literal","start":1042,"end":1071,"value":"[Interceptor] Unauthorized.","raw":"'[Interceptor] Unauthorized.'"}]}}]},"alternate":null},{"type":"ReturnStatement","start":1100,"end":1131,"argument":{"type":"CallExpression","start":1107,"end":1130,"optional":false,"callee":{"type":"Identifier","start":1107,"end":1117,"name":"throwError"},"arguments":[{"type":"ArrowFunctionExpression","start":1118,"end":1129,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"Identifier","start":1124,"end":1129,"name":"error"},"id":null}]}}]},"id":null}]}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":1155,"end":1361,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1162,"end":1166,"name":"ɵfac"},"value":{"type":"CallExpression","start":1169,"end":1360,"optional":false,"callee":{"type":"MemberExpression","start":1169,"end":1190,"computed":false,"optional":false,"object":{"type":"Identifier","start":1169,"end":1171,"name":"i0"},"property":{"type":"Identifier","start":1172,"end":1190,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":1191,"end":1359,"properties":[{"type":"Property","start":1193,"end":1213,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1193,"end":1203,"name":"minVersion"},"value":{"type":"Literal","start":1205,"end":1213,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1215,"end":1233,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1215,"end":1222,"name":"version"},"value":{"type":"Literal","start":1224,"end":1233,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":1235,"end":1247,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1235,"end":1243,"name":"ngImport"},"value":{"type":"Identifier","start":1245,"end":1247,"name":"i0"},"kind":"init"},{"type":"Property","start":1249,"end":1279,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1249,"end":1253,"name":"type"},"value":{"type":"Identifier","start":1255,"end":1279,"name":"AuthorizationInterceptor"},"kind":"init"},{"type":"Property","start":1281,"end":1318,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1281,"end":1285,"name":"deps"},"value":{"type":"ArrayExpression","start":1287,"end":1318,"elements":[{"type":"ObjectExpression","start":1288,"end":1317,"properties":[{"type":"Property","start":1290,"end":1315,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1290,"end":1295,"name":"token"},"value":{"type":"MemberExpression","start":1297,"end":1315,"computed":false,"optional":false,"object":{"type":"Identifier","start":1297,"end":1299,"name":"i1"},"property":{"type":"Identifier","start":1300,"end":1315,"name":"KeycloakService"}},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1320,"end":1357,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1320,"end":1326,"name":"target"},"value":{"type":"MemberExpression","start":1328,"end":1357,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1328,"end":1346,"computed":false,"optional":false,"object":{"type":"Identifier","start":1328,"end":1330,"name":"i0"},"property":{"type":"Identifier","start":1331,"end":1346,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":1347,"end":1357,"name":"Injectable"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":1366,"end":1498,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1373,"end":1378,"name":"ɵprov"},"value":{"type":"CallExpression","start":1381,"end":1497,"optional":false,"callee":{"type":"MemberExpression","start":1381,"end":1405,"computed":false,"optional":false,"object":{"type":"Identifier","start":1381,"end":1383,"name":"i0"},"property":{"type":"Identifier","start":1384,"end":1405,"name":"ɵɵngDeclareInjectable"}},"arguments":[{"type":"ObjectExpression","start":1406,"end":1496,"properties":[{"type":"Property","start":1408,"end":1428,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1408,"end":1418,"name":"minVersion"},"value":{"type":"Literal","start":1420,"end":1428,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1430,"end":1448,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1430,"end":1437,"name":"version"},"value":{"type":"Literal","start":1439,"end":1448,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":1450,"end":1462,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1450,"end":1458,"name":"ngImport"},"value":{"type":"Identifier","start":1460,"end":1462,"name":"i0"},"kind":"init"},{"type":"Property","start":1464,"end":1494,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1464,"end":1468,"name":"type"},"value":{"type":"Identifier","start":1470,"end":1494,"name":"AuthorizationInterceptor"},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1501,"end":1731,"expression":{"type":"CallExpression","start":1501,"end":1730,"optional":false,"callee":{"type":"MemberExpression","start":1501,"end":1528,"computed":false,"optional":false,"object":{"type":"Identifier","start":1501,"end":1503,"name":"i0"},"property":{"type":"Identifier","start":1504,"end":1528,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":1529,"end":1729,"properties":[{"type":"Property","start":1531,"end":1551,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1531,"end":1541,"name":"minVersion"},"value":{"type":"Literal","start":1543,"end":1551,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":1553,"end":1571,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1553,"end":1560,"name":"version"},"value":{"type":"Literal","start":1562,"end":1571,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":1573,"end":1585,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1573,"end":1581,"name":"ngImport"},"value":{"type":"Identifier","start":1583,"end":1585,"name":"i0"},"kind":"init"},{"type":"Property","start":1587,"end":1617,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1587,"end":1591,"name":"type"},"value":{"type":"Identifier","start":1593,"end":1617,"name":"AuthorizationInterceptor"},"kind":"init"},{"type":"Property","start":1619,"end":1673,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1619,"end":1629,"name":"decorators"},"value":{"type":"ArrayExpression","start":1631,"end":1673,"elements":[{"type":"ObjectExpression","start":1632,"end":1672,"properties":[{"type":"Property","start":1646,"end":1662,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1646,"end":1650,"name":"type"},"value":{"type":"Identifier","start":1652,"end":1662,"name":"Injectable"},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":1675,"end":1727,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1675,"end":1689,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":1691,"end":1727,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1697,"end":1727,"elements":[{"type":"ObjectExpression","start":1698,"end":1726,"properties":[{"type":"Property","start":1700,"end":1724,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1700,"end":1704,"name":"type"},"value":{"type":"MemberExpression","start":1706,"end":1724,"computed":false,"optional":false,"object":{"type":"Identifier","start":1706,"end":1708,"name":"i1"},"property":{"type":"Identifier","start":1709,"end":1724,"name":"KeycloakService"}},"kind":"init"}]}]},"id":null},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":5214,"start":1732,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Injectable } from '@angular/core';\nimport { catchError, throwError } from 'rxjs';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"quankee-framework-keycloak\";\nexport class AuthorizationInterceptor {\n keycloakService;\n constructor(keycloakService) {\n this.keycloakService = keycloakService;\n }\n intercept(req, next) {\n console.log('[Interceptor] Executing...');\n const token = this.keycloakService.getToken(); // returns string\n console.log('[Interceptor] is token found...' + token);\n let authReq = req;\n if (token) {\n console.log('[Interceptor] token found...' + token);\n authReq = req.clone({\n setHeaders: {\n Authorization: `Bearer ${token}`,\n },\n });\n }\n return next.handle(authReq).pipe(catchError((error) => {\n console.error('HTTP Error:', error);\n if (error.status === 401) {\n // handle unauthorized\n console.error('[Interceptor] Unauthorized.');\n }\n return throwError(() => error);\n }));\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: AuthorizationInterceptor, deps: [{ token: i1.KeycloakService }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: AuthorizationInterceptor });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: AuthorizationInterceptor, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i1.KeycloakService }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aG9yaXphdGlvbi5pbnRlcmNlcHRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWludGVyY2VwdG9yL3NyYy9saWIvY29yZS9hdXRob3JpemF0aW9uLmludGVyY2VwdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFDLFVBQVUsRUFBYyxVQUFVLEVBQUMsTUFBTSxNQUFNLENBQUM7OztBQUd4RCxNQUFNLE9BQU8sd0JBQXdCO0lBRU47SUFBN0IsWUFBNkIsZUFBZ0M7UUFBaEMsb0JBQWUsR0FBZixlQUFlLENBQWlCO0lBQUcsQ0FBQztJQUVqRSxTQUFTLENBQUMsR0FBcUIsRUFBRSxJQUFpQjtRQUNoRCxPQUFPLENBQUMsR0FBRyxDQUFDLDRCQUE0QixDQUFDLENBQUM7UUFFMUMsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLGVBQWUsQ0FBQyxRQUFRLEVBQUUsQ0FBQyxDQUFDLGlCQUFpQjtRQUNoRSxPQUFPLENBQUMsR0FBRyxDQUFDLGlDQUFpQyxHQUFHLEtBQUssQ0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AgfSk7XHJcbiAgICB9XHJcbiAgICByZXR1cm4gbmV4dC5oYW5kbGUoYXV0aFJlcSkucGlwZShcclxuICAgICAgICBjYXRjaEVycm9yKChlcnJvcjogSHR0cEVycm9yUmVzcG9uc2UpID0+IHtcclxuICAgICAgICAgIGNvbnNvbGUuZXJyb3IoJ0hUVFAgRXJyb3I6JywgZXJyb3IpO1xyXG4gICAgICAgICAgaWYgKGVycm9yLnN0YXR1cyA9PT0gNDAxKSB7XHJcbiAgICAgICAgICAgIC8vIGhhbmRsZSB1bmF1dGhvcml6ZWRcclxuICAgICAgICAgICAgY29uc29sZS5lcnJvcignW0ludGVyY2VwdG9yXSBVbmF1dGhvcml6ZWQuJylcclxuICAgICAgICAgIH1cclxuICAgICAgICAgIHJldHVybiB0aHJvd0Vycm9yKCgpID0+IGVycm9yKTtcclxuICAgICAgICB9KVxyXG4gICAgKTtcclxuICB9XHJcbn1cclxuIl19","customTransformCache":false,"dependencies":["@angular/core","rxjs","quankee-framework-keycloak"],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/lib/core/authorization.interceptor.mjs","meta":{},"moduleSideEffects":true,"originalCode":"import { Injectable } from '@angular/core';\nimport { catchError, throwError } from 'rxjs';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"quankee-framework-keycloak\";\nexport class AuthorizationInterceptor {\n keycloakService;\n constructor(keycloakService) {\n this.keycloakService = keycloakService;\n }\n intercept(req, next) {\n console.log('[Interceptor] Executing...');\n const token = this.keycloakService.getToken(); // returns string\n console.log('[Interceptor] is token found...' + token);\n let authReq = req;\n if (token) {\n console.log('[Interceptor] token found...' + token);\n authReq = req.clone({\n setHeaders: {\n Authorization: `Bearer ${token}`,\n },\n });\n }\n return next.handle(authReq).pipe(catchError((error) => {\n console.error('HTTP Error:', error);\n if (error.status === 401) {\n // handle unauthorized\n console.error('[Interceptor] Unauthorized.');\n }\n return throwError(() => error);\n }));\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: AuthorizationInterceptor, deps: [{ token: i1.KeycloakService }], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: AuthorizationInterceptor });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: AuthorizationInterceptor, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i1.KeycloakService }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aG9yaXphdGlvbi5pbnRlcmNlcHRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWludGVyY2VwdG9yL3NyYy9saWIvY29yZS9hdXRob3JpemF0aW9uLmludGVyY2VwdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFDLFVBQVUsRUFBYyxVQUFVLEVBQUMsTUFBTSxNQUFNLENBQUM7OztBQUd4RCxNQUFNLE9BQU8sd0JBQXdCO0lBRU47SUFBN0IsWUFBNkIsZUFBZ0M7UUFBaEMsb0JBQWUsR0FBZixlQUFlLENBQWlCO0lBQUcsQ0FBQztJQUVqRSxTQUFTLENBQUMsR0FBcUIsRUFBRSxJQUFpQjtRQUNoRCxPQUFPLENBQUMsR0FBRyxDQUFDLDRCQUE0QixDQUFDLENBQUM7UUFFMUMsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLGVBQWUsQ0FBQyxRQUFRLEVBQUUsQ0FBQyxDQUFDLGlCQUFpQjtRQUNoRSxPQUFPLENBQUMsR0F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3Rva2VufWAsXHJcbiAgICAgICAgfSxcclxuICAgICAgfSk7XHJcbiAgICB9XHJcbiAgICByZXR1cm4gbmV4dC5oYW5kbGUoYXV0aFJlcSkucGlwZShcclxuICAgICAgICBjYXRjaEVycm9yKChlcnJvcjogSHR0cEVycm9yUmVzcG9uc2UpID0+IHtcclxuICAgICAgICAgIGNvbnNvbGUuZXJyb3IoJ0hUVFAgRXJyb3I6JywgZXJyb3IpO1xyXG4gICAgICAgICAgaWYgKGVycm9yLnN0YXR1cyA9PT0gNDAxKSB7XHJcbiAgICAgICAgICAgIC8vIGhhbmRsZSB1bmF1dGhvcml6ZWRcclxuICAgICAgICAgICAgY29uc29sZS5lcnJvcignW0ludGVyY2VwdG9yXSBVbmF1dGhvcml6ZWQuJylcclxuICAgICAgICAgIH1cclxuICAgICAgICAgIHJldHVybiB0aHJvd0Vycm9yKCgpID0+IGVycm9yKTtcclxuICAgICAgICB9KVxyXG4gICAgKTtcclxuICB9XHJcbn1cclxuIl19","originalSourcemap":{"version":3,"file":"authorization.interceptor.js","sourceRoot":"","sources":["../../../../../projects/quankee-framework-interceptor/src/lib/core/authorization.interceptor.ts"],"names":[],"mappings":[[[0,0,1,0],[7,0,1,7],[9,0,1,8],[19,0,1,18],[21,0,1,19],[27,0,1,25],[42,0,1,40],[43,0,1,41]],[[0,0,3,0],[7,0,3,7],[9,0,3,8],[19,0,3,18],[21,0,3,32],[31,0,3,42],[33,0,3,43],[39,0,3,49],[45,0,3,55],[46,0,3,56]],[],[],[[0,0,6,0],[6,0,6,6],[13,0,6,13],[37,0,6,37]],[[4,0,8,31]],[[4,0,8,2],[16,0,8,31],[31,0,8,63]],[[8,0,8,31],[28,0,8,46],[31,0,8,31],[46,0,8,46],[47,0,8,63]],[[4,0,8,66],[5,0,8,67]],[[4,0,10,2],[13,0,10,11],[14,0,10,12],[17,0,10,33],[19,0,10,35],[23,0,10,52]],[[8,0,11,4],[15,0,11,11],[16,0,11,12],[19,0,11,15],[20,0,11,16],[48,0,11,44],[49,0,11,45],[50,0,11,46]],[[8,0,13,4],[14,0,13,10],[19,0,13,15],[22,0,13,18],[26,0,13,22],[27,0,13,23],[42,0,13,38],[43,0,13,39],[51,0,13,47],[53,0,13,49],[54,0,13,50],[55,0,13,51],[72,0,13,68]],[[8,0,14,4],[15,0,14,11],[16,0,14,12],[19,0,14,15],[20,0,14,16],[53,0,14,49],[56,0,14,52],[61,0,14,57],[62,0,14,58],[63,0,14,59]],[[8,0,15,4],[12,0,15,8],[19,0,15,15],[22,0,15,18],[25,0,15,21],[26,0,15,22]],[[8,0,17,4],[12,0,17,8],[17,0,17,13],[19,0,17,15],[20,0,17,16]],[[12,0,18,6],[19,0,18,13],[20,0,18,14],[23,0,18,17],[24,0,18,18],[54,0,18,48],[57,0,18,51],[62,0,18,56],[63,0,18,57],[64,0,18,58]],[[12,0,19,6],[19,0,19,13],[22,0,19,16],[25,0,19,19],[26,0,19,20],[31,0,19,25],[32,0,19,26]],[[16,0,20,8],[26,0,20,18],[28,0,20,20]],[[20,0,21,10],[33,0,21,23],[35,0,21,25],[45,0,21,35],[50,0,21,40],[52,0,21,42]],[[17,0,22,9]],[[13,0,23,7],[14,0,23,8],[15,0,23,9]],[[8,0,24,4],[9,0,24,5]],[[8,0,25,4],[15,0,25,11],[19,0,25,15],[20,0,25,16],[26,0,25,22],[27,0,25,23],[34,0,25,30],[35,0,25,31],[36,0,25,32],[40,0,25,36],[41,0,26,8],[51,0,26,18],[52,0,26,19],[53,0,26,20],[58,0,26,44],[60,0,26,46],[62,0,26,48]],[[12,0,27,10],[19,0,27,17],[20,0,27,18],[25,0,27,23],[26,0,27,24],[39,0,27,37],[41,0,27,39],[46,0,27,44],[47,0,27,45],[48,0,27,46]],[[12,0,28,10],[16,0,28,14],[21,0,28,19],[22,0,28,20],[28,0,28,26],[33,0,28,31],[36,0,28,34],[38,0,28,36],[39,0,28,37]],[[16,0,29,12],[38,0,29,34]],[[16,0,30,12],[23,0,30,19],[24,0,30,20],[29,0,30,25],[30,0,30,26],[59,0,30,55],[60,0,30,56],[61,0,30,56]],[[12,0,31,10],[13,0,31,11]],[[12,0,32,10],[19,0,32,17],[29,0,32,27],[30,0,32,28],[33,0,32,31],[35,0,32,33],[36,0,32,34],[41,0,32,39],[42,0,32,40],[43,0,32,41]],[[8,0,33,8],[9,0,33,9],[10,0,33,10],[11,0,34,5],[12,0,34,6]],[[4,0,35,2],[5,0,35,3]],[[104,0,6,13],[128,0,6,37]],[[108,0,6,13],[132,0,6,37]],[],[[92,0,6,13],[116,0,6,37]],[[18,0,5,1],[28,0,5,11]]],"sourcesContent":["import {HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest} from '@angular/common/http';\r\nimport {Injectable} from '@angular/core';\r\nimport {KeycloakService} from 'quankee-framework-keycloak';\r\nimport {catchError, Observable, throwError} from 'rxjs';\r\n\r\n@Injectable()\r\nexport class AuthorizationInterceptor implements HttpInterceptor {\r\n\r\n constructor(private readonly keycloakService: KeycloakService) {}\r\n\r\n intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\r\n console.log('[Interceptor] Executing...');\r\n\r\n const token = this.keycloakService.getToken(); // returns string\r\n console.log('[Interceptor] is token found...' + token);\r\n let authReq = req;\r\n\r\n if (token) {\r\n console.log('[Interceptor] token found...' + token);\r\n authReq = req.clone({\r\n setHeaders: {\r\n Authorization: `Bearer ${token}`,\r\n },\r\n });\r\n }\r\n return next.handle(authReq).pipe(\r\n catchError((error: HttpErrorResponse) => {\r\n console.error('HTTP Error:', error);\r\n if (error.status === 401) {\r\n // handle unauthorized\r\n console.error('[Interceptor] Unauthorized.')\r\n }\r\n return throwError(() => error);\r\n })\r\n );\r\n }\r\n}\r\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"rxjs":{"attributes":{},"external":true,"id":"rxjs","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"quankee-framework-keycloak":{"attributes":{},"external":true,"id":"quankee-framework-keycloak","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":755,"body":[{"type":"ExportAllDeclaration","start":62,"end":102,"exported":null,"source":{"type":"Literal","start":76,"end":101,"value":"./lib/core/token.helper","raw":"'./lib/core/token.helper'"},"attributes":[]},{"type":"ExportAllDeclaration","start":103,"end":156,"exported":null,"source":{"type":"Literal","start":117,"end":155,"value":"./lib/core/authorization.interceptor","raw":"'./lib/core/authorization.interceptor'"},"attributes":[]}],"_rollupRemoved":[{"end":755,"start":157,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/*\n * Public API Surface of quankee-framework-interceptor\n */\nexport * from './lib/core/token.helper';\nexport * from './lib/core/authorization.interceptor';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWludGVyY2VwdG9yL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNDQUFzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcclxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIHF1YW5rZWUtZnJhbWV3b3JrLWludGVyY2VwdG9yXHJcbiAqL1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29yZS90b2tlbi5oZWxwZXInO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3JlL2F1dGhvcml6YXRpb24uaW50ZXJjZXB0b3InO1xyXG4iXX0=","customTransformCache":false,"dependencies":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/lib/core/token.helper.mjs","C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/lib/core/authorization.interceptor.mjs"],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/public-api.mjs","meta":{},"moduleSideEffects":true,"originalCode":"/*\n * Public API Surface of quankee-framework-interceptor\n */\nexport * from './lib/core/token.helper';\nexport * from './lib/core/authorization.interceptor';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWludGVyY2VwdG9yL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNDQUFzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcclxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIHF1YW5rZWUtZnJhbWV3b3JrLWludGVyY2VwdG9yXHJcbiAqL1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29yZS90b2tlbi5oZWxwZXInO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3JlL2F1dGhvcml6YXRpb24uaW50ZXJjZXB0b3InO1xyXG4iXX0=","originalSourcemap":{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../projects/quankee-framework-interceptor/src/public-api.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[39,0,4,39],[40,0,4,40]],[[0,0,5,0],[14,0,5,14],[52,0,5,52],[53,0,5,53]]],"sourcesContent":["/*\r\n * Public API Surface of quankee-framework-interceptor\r\n */\r\n\r\nexport * from './lib/core/token.helper';\r\nexport * from './lib/core/authorization.interceptor';\r\n"]},"resolvedIds":{"./lib/core/token.helper":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/lib/core/token.helper.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false},"./lib/core/authorization.interceptor":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/lib/core/authorization.interceptor.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":572,"body":[{"type":"ExportAllDeclaration","start":48,"end":77,"exported":null,"source":{"type":"Literal","start":62,"end":76,"value":"./public-api","raw":"'./public-api'"},"attributes":[]}],"_rollupRemoved":[{"end":572,"start":78,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbmtlZS1mcmFtZXdvcmstaW50ZXJjZXB0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1pbnRlcmNlcHRvci9zcmMvcXVhbmtlZS1mcmFtZXdvcmstaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==","customTransformCache":false,"dependencies":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/public-api.mjs"],"id":"C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-interceptor\\esm2022\\quankee-framework-interceptor.mjs","meta":{},"moduleSideEffects":true,"originalCode":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbmtlZS1mcmFtZXdvcmstaW50ZXJjZXB0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1pbnRlcmNlcHRvci9zcmMvcXVhbmtlZS1mcmFtZXdvcmstaW50ZXJjZXB0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==","originalSourcemap":{"version":3,"file":"quankee-framework-interceptor.js","sourceRoot":"","sources":["../../../projects/quankee-framework-interceptor/src/quankee-framework-interceptor.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[28,0,4,28],[29,0,4,29]]],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"]},"resolvedIds":{"./public-api":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-interceptor/esm2022/public-api.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]}],"plugins":{"file-loader":{},"json":{}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"modules":[{"ast":{"type":"Program","start":0,"end":1017,"body":[{"type":"ExportNamedDeclaration","start":0,"end":10,"specifiers":[],"source":null,"attributes":[],"declaration":null}],"_rollupRemoved":[{"end":1017,"start":11,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export {};\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Y2xvYWstdG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1rZXljbG9hay9zcmMvbGliL2NvcmUva2V5Y2xvYWstdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgS2V5Y2xvYWtUb2tlbiB7XHJcbiAgZXhwOiBudW1iZXI7XHJcbiAgaWF0OiBudW1iZXI7XHJcbiAganRpOiBzdHJpbmc7XHJcbiAgaXNzOiBzdHJpbmc7XHJcbiAgc3ViOiBzdHJpbmc7XHJcbiAgdHlwOiBzdHJpbmc7XHJcbiAgYXpwPzogc3RyaW5nO1xyXG4gIHNlc3Npb25fc3RhdGU/OiBzdHJpbmc7XHJcbiAgYWNyPzogc3RyaW5nO1xyXG4gIHJlYWxtX2FjY2Vzcz86IHtcclxuICAgIHJvbGVzOiBzdHJpbmdbXTtcclxuICB9O1xyXG4gIHJlc291cmNlX2FjY2Vzcz86IHtcclxuICAgIFtjbGllbnRJZDogc3RyaW5nXToge1xyXG4gICAgICByb2xlczogc3RyaW5nW107XHJcbiAgICB9O1xyXG4gIH07XHJcbiAgc2NvcGU/OiBzdHJpbmc7XHJcbiAgZW1haWw/OiBzdHJpbmc7XHJcbiAgcHJlZmVycmVkX3VzZXJuYW1lPzogc3RyaW5nO1xyXG4gIGdpdmVuX25hbWU/OiBzdHJpbmc7XHJcbiAgZmFtaWx5X25hbWU/OiBzdHJpbmc7XHJcbiAgbmFtZT86IHN0cmluZztcclxufVxyXG4iXX0=","customTransformCache":false,"dependencies":[],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak-token.mjs","meta":{},"moduleSideEffects":true,"originalCode":"export {};\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Y2xvYWstdG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1rZXljbG9hay9zcmMvbGliL2NvcmUva2V5Y2xvYWstdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgS2V5Y2xvYWtUb2tlbiB7XHJcbiAgZXhwOiBudW1iZXI7XHJcbiAgaWF0OiBudW1iZXI7XHJcbiAganRpOiBzdHJpbmc7XHJcbiAgaXNzOiBzdHJpbmc7XHJcbiAgc3ViOiBzdHJpbmc7XHJcbiAgdHlwOiBzdHJpbmc7XHJcbiAgYXpwPzogc3RyaW5nO1xyXG4gIHNlc3Npb25fc3RhdGU/OiBzdHJpbmc7XHJcbiAgYWNyPzogc3RyaW5nO1xyXG4gIHJlYWxtX2FjY2Vzcz86IHtcclxuICAgIHJvbGVzOiBzdHJpbmdbXTtcclxuICB9O1xyXG4gIHJlc291cmNlX2FjY2Vzcz86IHtcclxuICAgIFtjbGllbnRJZDogc3RyaW5nXToge1xyXG4gICAgICByb2xlczogc3RyaW5nW107XHJcbiAgICB9O1xyXG4gIH07XHJcbiAgc2NvcGU/OiBzdHJpbmc7XHJcbiAgZW1haWw/OiBzdHJpbmc7XHJcbiAgcHJlZmVycmVkX3VzZXJuYW1lPzogc3RyaW5nO1xyXG4gIGdpdmVuX25hbWU/OiBzdHJpbmc7XHJcbiAgZmFtaWx5X25hbWU/OiBzdHJpbmc7XHJcbiAgbmFtZT86IHN0cmluZztcclxufVxyXG4iXX0=","originalSourcemap":{"mappings":[],"names":[],"sources":[],"version":3},"resolvedIds":{},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":649,"body":[{"type":"ExportNamedDeclaration","start":0,"end":10,"specifiers":[],"source":null,"attributes":[],"declaration":null}],"_rollupRemoved":[{"end":649,"start":11,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export {};\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRlZC11c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcXVhbmtlZS1mcmFtZXdvcmsta2V5Y2xvYWsvc3JjL2xpYi9jb3JlL2F1dGhlbnRpY2F0ZWQtdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtLZXljbG9ha1Rva2VufSBmcm9tICcuL2tleWNsb2FrLXRva2VuJztcclxuaW1wb3J0IEtleWNsb2FrIGZyb20gJ2tleWNsb2FrLWpzJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgQXV0aGVudGljYXRlZFVzZXIge1xyXG4gIHRva2VuOiBzdHJpbmc7XHJcbiAgcGFyc2VkVG9rZW46IEtleWNsb2FrVG9rZW47XHJcbiAgcHJvZmlsZT86IEtleWNsb2FrLktleWNsb2FrUHJvZmlsZTtcclxufVxyXG4iXX0=","customTransformCache":false,"dependencies":[],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/authenticated-user.mjs","meta":{},"moduleSideEffects":true,"originalCode":"export {};\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRlZC11c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcXVhbmtlZS1mcmFtZXdvcmsta2V5Y2xvYWsvc3JjL2xpYi9jb3JlL2F1dGhlbnRpY2F0ZWQtdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtLZXljbG9ha1Rva2VufSBmcm9tICcuL2tleWNsb2FrLXRva2VuJztcclxuaW1wb3J0IEtleWNsb2FrIGZyb20gJ2tleWNsb2FrLWpzJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgQXV0aGVudGljYXRlZFVzZXIge1xyXG4gIHRva2VuOiBzdHJpbmc7XHJcbiAgcGFyc2VkVG9rZW46IEtleWNsb2FrVG9rZW47XHJcbiAgcHJvZmlsZT86IEtleWNsb2FrLktleWNsb2FrUHJvZmlsZTtcclxufVxyXG4iXX0=","originalSourcemap":{"mappings":[],"names":[],"sources":[],"version":3},"resolvedIds":{},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":10325,"body":[{"type":"ImportDeclaration","start":0,"end":43,"specifiers":[{"type":"ImportSpecifier","start":9,"end":19,"imported":{"type":"Identifier","start":9,"end":19,"name":"Injectable"},"local":{"type":"Identifier","start":9,"end":19,"name":"Injectable"}}],"source":{"type":"Literal","start":27,"end":42,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":44,"end":79,"specifiers":[{"type":"ImportDefaultSpecifier","start":51,"end":59,"local":{"type":"Identifier","start":51,"end":59,"name":"Keycloak"}}],"source":{"type":"Literal","start":65,"end":78,"value":"keycloak-js","raw":"'keycloak-js'"},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":116,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i0"}}],"source":{"type":"Literal","start":100,"end":115,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":117,"end":2511,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":124,"end":2511,"decorators":[],"id":{"type":"Identifier","start":130,"end":145,"name":"KeycloakService"},"superClass":null,"body":{"type":"ClassBody","start":146,"end":2511,"body":[{"type":"PropertyDefinition","start":152,"end":161,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":152,"end":160,"name":"keycloak"},"value":null},{"type":"PropertyDefinition","start":166,"end":186,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":166,"end":177,"name":"initialized"},"value":{"type":"Literal","start":180,"end":185,"value":false,"raw":"false"}},{"type":"MethodDefinition","start":191,"end":208,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":191,"end":202,"name":"constructor"},"value":{"type":"FunctionExpression","start":202,"end":208,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":205,"end":208,"body":[]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":213,"end":1018,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":219,"end":223,"name":"init"},"value":{"type":"FunctionExpression","start":223,"end":1018,"async":true,"generator":false,"id":null,"params":[{"type":"Identifier","start":224,"end":230,"name":"config"}],"body":{"type":"BlockStatement","start":232,"end":1018,"body":[{"type":"ExpressionStatement","start":242,"end":385,"expression":{"type":"AssignmentExpression","start":242,"end":384,"operator":"=","left":{"type":"MemberExpression","start":242,"end":255,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":242,"end":246},"property":{"type":"Identifier","start":247,"end":255,"name":"keycloak"}},"right":{"type":"NewExpression","start":258,"end":384,"callee":{"type":"Identifier","start":262,"end":270,"name":"Keycloak"},"arguments":[{"type":"ObjectExpression","start":271,"end":383,"properties":[{"type":"Property","start":285,"end":300,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":285,"end":288,"name":"url"},"value":{"type":"MemberExpression","start":290,"end":300,"computed":false,"optional":false,"object":{"type":"Identifier","start":290,"end":296,"name":"config"},"property":{"type":"Identifier","start":297,"end":300,"name":"url"}},"kind":"init"},{"type":"Property","start":314,"end":333,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":314,"end":319,"name":"realm"},"value":{"type":"MemberExpression","start":321,"end":333,"computed":false,"optional":false,"object":{"type":"Identifier","start":321,"end":327,"name":"config"},"property":{"type":"Identifier","start":328,"end":333,"name":"realm"}},"kind":"init"},{"type":"Property","start":347,"end":372,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":347,"end":355,"name":"clientId"},"value":{"type":"MemberExpression","start":357,"end":372,"computed":false,"optional":false,"object":{"type":"Identifier","start":357,"end":363,"name":"config"},"property":{"type":"Identifier","start":364,"end":372,"name":"clientId"}},"kind":"init"}]}]}}},{"type":"VariableDeclaration","start":394,"end":716,"kind":"const","declarations":[{"type":"VariableDeclarator","start":400,"end":715,"id":{"type":"Identifier","start":400,"end":411,"name":"initOptions"},"init":{"type":"ObjectExpression","start":414,"end":715,"properties":[{"type":"Property","start":428,"end":469,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":428,"end":434,"name":"onLoad"},"value":{"type":"LogicalExpression","start":436,"end":469,"operator":"??","left":{"type":"MemberExpression","start":436,"end":449,"computed":false,"optional":false,"object":{"type":"Identifier","start":436,"end":442,"name":"config"},"property":{"type":"Identifier","start":443,"end":449,"name":"onLoad"}},"right":{"type":"Literal","start":453,"end":469,"value":"login-required","raw":"\"login-required\""}},"kind":"init"},{"type":"Property","start":483,"end":533,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":483,"end":499,"name":"checkLoginIframe"},"value":{"type":"LogicalExpression","start":501,"end":533,"operator":"??","left":{"type":"MemberExpression","start":501,"end":524,"computed":false,"optional":false,"object":{"type":"Identifier","start":501,"end":507,"name":"config"},"property":{"type":"Identifier","start":508,"end":524,"name":"checkLoginIframe"}},"right":{"type":"Literal","start":528,"end":533,"value":false,"raw":"false"}},"kind":"init"},{"type":"Property","start":547,"end":606,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":547,"end":572,"name":"silentCheckSsoRedirectUri"},"value":{"type":"MemberExpression","start":574,"end":606,"computed":false,"optional":false,"object":{"type":"Identifier","start":574,"end":580,"name":"config"},"property":{"type":"Identifier","start":581,"end":606,"name":"silentCheckSsoRedirectUri"}},"kind":"init"},{"type":"Property","start":620,"end":659,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":620,"end":630,"name":"pkceMethod"},"value":{"type":"LogicalExpression","start":632,"end":659,"operator":"??","left":{"type":"MemberExpression","start":632,"end":649,"computed":false,"optional":false,"object":{"type":"Identifier","start":632,"end":638,"name":"config"},"property":{"type":"Identifier","start":639,"end":649,"name":"pkceMethod"}},"right":{"type":"Literal","start":653,"end":659,"value":"S256","raw":"\"S256\""}},"kind":"init"},{"type":"Property","start":673,"end":704,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":673,"end":677,"name":"flow"},"value":{"type":"LogicalExpression","start":679,"end":704,"operator":"??","left":{"type":"MemberExpression","start":679,"end":690,"computed":false,"optional":false,"object":{"type":"Identifier","start":679,"end":685,"name":"config"},"property":{"type":"Identifier","start":686,"end":690,"name":"flow"}},"right":{"type":"Literal","start":694,"end":704,"value":"standard","raw":"\"standard\""}},"kind":"init"}]}}]},{"type":"TryStatement","start":725,"end":1012,"block":{"type":"BlockStatement","start":729,"end":884,"body":[{"type":"VariableDeclaration","start":743,"end":803,"kind":"const","declarations":[{"type":"VariableDeclarator","start":749,"end":802,"id":{"type":"Identifier","start":749,"end":762,"name":"authenticated"},"init":{"type":"AwaitExpression","start":765,"end":802,"argument":{"type":"CallExpression","start":771,"end":802,"optional":false,"callee":{"type":"MemberExpression","start":771,"end":789,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":771,"end":784,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":771,"end":775},"property":{"type":"Identifier","start":776,"end":784,"name":"keycloak"}},"property":{"type":"Identifier","start":785,"end":789,"name":"init"}},"arguments":[{"type":"Identifier","start":790,"end":801,"name":"initOptions"}]}}}]},{"type":"ExpressionStatement","start":816,"end":840,"expression":{"type":"AssignmentExpression","start":816,"end":839,"operator":"=","left":{"type":"MemberExpression","start":816,"end":832,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":816,"end":820},"property":{"type":"Identifier","start":821,"end":832,"name":"initialized"}},"right":{"type":"Literal","start":835,"end":839,"value":true,"raw":"true"}}},{"type":"ReturnStatement","start":853,"end":874,"argument":{"type":"Identifier","start":860,"end":873,"name":"authenticated"}}]},"handler":{"type":"CatchClause","start":893,"end":1012,"param":{"type":"Identifier","start":900,"end":905,"name":"error"},"body":{"type":"BlockStatement","start":907,"end":1012,"body":[{"type":"ExpressionStatement","start":921,"end":976,"expression":{"type":"CallExpression","start":921,"end":975,"optional":false,"callee":{"type":"MemberExpression","start":921,"end":934,"computed":false,"optional":false,"object":{"type":"Identifier","start":921,"end":928,"name":"console"},"property":{"type":"Identifier","start":929,"end":934,"name":"error"}},"arguments":[{"type":"Literal","start":935,"end":967,"value":"Keycloak initialization failed","raw":"\"Keycloak initialization failed\""},{"type":"Identifier","start":969,"end":974,"name":"error"}]}},{"type":"ReturnStatement","start":989,"end":1002,"argument":{"type":"Literal","start":996,"end":1001,"value":false,"raw":"false"}}]}},"finalizer":null}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1023,"end":1070,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1023,"end":1028,"name":"login"},"value":{"type":"FunctionExpression","start":1028,"end":1070,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1031,"end":1070,"body":[{"type":"ExpressionStatement","start":1041,"end":1064,"expression":{"type":"ChainExpression","start":1041,"end":1063,"expression":{"type":"CallExpression","start":1041,"end":1063,"optional":false,"callee":{"type":"MemberExpression","start":1041,"end":1061,"computed":false,"optional":true,"object":{"type":"MemberExpression","start":1041,"end":1054,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1041,"end":1045},"property":{"type":"Identifier","start":1046,"end":1054,"name":"keycloak"}},"property":{"type":"Identifier","start":1056,"end":1061,"name":"login"}},"arguments":[]}}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1075,"end":1150,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1075,"end":1081,"name":"logout"},"value":{"type":"FunctionExpression","start":1081,"end":1150,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":1082,"end":1093,"name":"redirectUri"}],"body":{"type":"BlockStatement","start":1095,"end":1150,"body":[{"type":"ExpressionStatement","start":1105,"end":1144,"expression":{"type":"ChainExpression","start":1105,"end":1143,"expression":{"type":"CallExpression","start":1105,"end":1143,"optional":false,"callee":{"type":"MemberExpression","start":1105,"end":1126,"computed":false,"optional":true,"object":{"type":"MemberExpression","start":1105,"end":1118,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1105,"end":1109},"property":{"type":"Identifier","start":1110,"end":1118,"name":"keycloak"}},"property":{"type":"Identifier","start":1120,"end":1126,"name":"logout"}},"arguments":[{"type":"ObjectExpression","start":1127,"end":1142,"properties":[{"type":"Property","start":1129,"end":1140,"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","start":1129,"end":1140,"name":"redirectUri"},"value":{"type":"Identifier","start":1129,"end":1140,"name":"redirectUri"},"kind":"init"}]}]}}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1155,"end":1226,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1155,"end":1172,"name":"accountManagement"},"value":{"type":"FunctionExpression","start":1172,"end":1226,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1175,"end":1226,"body":[{"type":"ExpressionStatement","start":1185,"end":1220,"expression":{"type":"ChainExpression","start":1185,"end":1219,"expression":{"type":"CallExpression","start":1185,"end":1219,"optional":false,"callee":{"type":"MemberExpression","start":1185,"end":1217,"computed":false,"optional":true,"object":{"type":"MemberExpression","start":1185,"end":1198,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1185,"end":1189},"property":{"type":"Identifier","start":1190,"end":1198,"name":"keycloak"}},"property":{"type":"Identifier","start":1200,"end":1217,"name":"accountManagement"}},"arguments":[]}}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1231,"end":1286,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1231,"end":1239,"name":"getToken"},"value":{"type":"FunctionExpression","start":1239,"end":1286,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1242,"end":1286,"body":[{"type":"ReturnStatement","start":1252,"end":1280,"argument":{"type":"ChainExpression","start":1259,"end":1279,"expression":{"type":"MemberExpression","start":1259,"end":1279,"computed":false,"optional":true,"object":{"type":"MemberExpression","start":1259,"end":1272,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1259,"end":1263},"property":{"type":"Identifier","start":1264,"end":1272,"name":"keycloak"}},"property":{"type":"Identifier","start":1274,"end":1279,"name":"token"}}}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1291,"end":1358,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1291,"end":1305,"name":"getParsedToken"},"value":{"type":"FunctionExpression","start":1305,"end":1358,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1308,"end":1358,"body":[{"type":"ReturnStatement","start":1318,"end":1352,"argument":{"type":"ChainExpression","start":1325,"end":1351,"expression":{"type":"MemberExpression","start":1325,"end":1351,"computed":false,"optional":true,"object":{"type":"MemberExpression","start":1325,"end":1338,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1325,"end":1329},"property":{"type":"Identifier","start":1330,"end":1338,"name":"keycloak"}},"property":{"type":"Identifier","start":1340,"end":1351,"name":"tokenParsed"}}}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1363,"end":1659,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1369,"end":1381,"name":"refreshToken"},"value":{"type":"FunctionExpression","start":1381,"end":1659,"async":true,"generator":false,"id":null,"params":[{"type":"AssignmentPattern","start":1382,"end":1397,"left":{"type":"Identifier","start":1382,"end":1393,"name":"minValidity"},"right":{"type":"Literal","start":1396,"end":1397,"raw":"5","value":5}}],"body":{"type":"BlockStatement","start":1399,"end":1659,"body":[{"type":"IfStatement","start":1409,"end":1454,"test":{"type":"UnaryExpression","start":1413,"end":1427,"operator":"!","argument":{"type":"MemberExpression","start":1414,"end":1427,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1414,"end":1418},"property":{"type":"Identifier","start":1419,"end":1427,"name":"keycloak"}},"prefix":true},"consequent":{"type":"ReturnStatement","start":1441,"end":1454,"argument":{"type":"Literal","start":1448,"end":1453,"value":false,"raw":"false"}},"alternate":null},{"type":"TryStatement","start":1463,"end":1653,"block":{"type":"BlockStatement","start":1467,"end":1543,"body":[{"type":"ReturnStatement","start":1481,"end":1533,"argument":{"type":"AwaitExpression","start":1488,"end":1532,"argument":{"type":"CallExpression","start":1494,"end":1532,"optional":false,"callee":{"type":"MemberExpression","start":1494,"end":1519,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1494,"end":1507,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1494,"end":1498},"property":{"type":"Identifier","start":1499,"end":1507,"name":"keycloak"}},"property":{"type":"Identifier","start":1508,"end":1519,"name":"updateToken"}},"arguments":[{"type":"Identifier","start":1520,"end":1531,"name":"minValidity"}]}}}]},"handler":{"type":"CatchClause","start":1552,"end":1653,"param":{"type":"Identifier","start":1559,"end":1560,"name":"e"},"body":{"type":"BlockStatement","start":1562,"end":1653,"body":[{"type":"ExpressionStatement","start":1576,"end":1617,"expression":{"type":"CallExpression","start":1576,"end":1616,"optional":false,"callee":{"type":"MemberExpression","start":1576,"end":1589,"computed":false,"optional":false,"object":{"type":"Identifier","start":1576,"end":1583,"name":"console"},"property":{"type":"Identifier","start":1584,"end":1589,"name":"error"}},"arguments":[{"type":"Literal","start":1590,"end":1612,"value":"Token refresh failed","raw":"\"Token refresh failed\""},{"type":"Identifier","start":1614,"end":1615,"name":"e"}]}},{"type":"ReturnStatement","start":1630,"end":1643,"argument":{"type":"Literal","start":1637,"end":1642,"value":false,"raw":"false"}}]}},"finalizer":null}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1664,"end":1743,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1664,"end":1675,"name":"getUsername"},"value":{"type":"FunctionExpression","start":1675,"end":1743,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1678,"end":1743,"body":[{"type":"ReturnStatement","start":1688,"end":1737,"argument":{"type":"ChainExpression","start":1695,"end":1736,"expression":{"type":"MemberExpression","start":1695,"end":1736,"computed":false,"optional":true,"object":{"type":"CallExpression","start":1695,"end":1716,"optional":false,"callee":{"type":"MemberExpression","start":1695,"end":1714,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1695,"end":1699},"property":{"type":"Identifier","start":1700,"end":1714,"name":"getParsedToken"}},"arguments":[]},"property":{"type":"Identifier","start":1718,"end":1736,"name":"preferred_username"}}}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1748,"end":1815,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1748,"end":1758,"name":"isLoggedIn"},"value":{"type":"FunctionExpression","start":1758,"end":1815,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1761,"end":1815,"body":[{"type":"ReturnStatement","start":1771,"end":1809,"argument":{"type":"UnaryExpression","start":1778,"end":1808,"operator":"!","argument":{"type":"UnaryExpression","start":1779,"end":1808,"operator":"!","argument":{"type":"ChainExpression","start":1780,"end":1808,"expression":{"type":"MemberExpression","start":1780,"end":1808,"computed":false,"optional":true,"object":{"type":"MemberExpression","start":1780,"end":1793,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1780,"end":1784},"property":{"type":"Identifier","start":1785,"end":1793,"name":"keycloak"}},"property":{"type":"Identifier","start":1795,"end":1808,"name":"authenticated"}}},"prefix":true},"prefix":true}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":1820,"end":2132,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":1826,"end":1833,"name":"getUser"},"value":{"type":"FunctionExpression","start":1833,"end":2132,"async":true,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1836,"end":2132,"body":[{"type":"IfStatement","start":1846,"end":1922,"test":{"type":"LogicalExpression","start":1850,"end":1901,"operator":"||","left":{"type":"UnaryExpression","start":1850,"end":1871,"operator":"!","argument":{"type":"ChainExpression","start":1851,"end":1871,"expression":{"type":"MemberExpression","start":1851,"end":1871,"computed":false,"optional":true,"object":{"type":"MemberExpression","start":1851,"end":1864,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1851,"end":1855},"property":{"type":"Identifier","start":1856,"end":1864,"name":"keycloak"}},"property":{"type":"Identifier","start":1866,"end":1871,"name":"token"}}},"prefix":true},"right":{"type":"UnaryExpression","start":1875,"end":1901,"operator":"!","argument":{"type":"MemberExpression","start":1876,"end":1901,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1876,"end":1889,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1876,"end":1880},"property":{"type":"Identifier","start":1881,"end":1889,"name":"keycloak"}},"property":{"type":"Identifier","start":1890,"end":1901,"name":"tokenParsed"}},"prefix":true}},"consequent":{"type":"ReturnStatement","start":1915,"end":1922,"argument":null},"alternate":null},{"type":"VariableDeclaration","start":1931,"end":1985,"kind":"const","declarations":[{"type":"VariableDeclarator","start":1937,"end":1984,"id":{"type":"Identifier","start":1937,"end":1944,"name":"profile"},"init":{"type":"AwaitExpression","start":1947,"end":1984,"argument":{"type":"CallExpression","start":1953,"end":1984,"optional":false,"callee":{"type":"MemberExpression","start":1953,"end":1982,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1953,"end":1966,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1953,"end":1957},"property":{"type":"Identifier","start":1958,"end":1966,"name":"keycloak"}},"property":{"type":"Identifier","start":1967,"end":1982,"name":"loadUserProfile"}},"arguments":[]}}}]},{"type":"ReturnStatement","start":1994,"end":2126,"argument":{"type":"ObjectExpression","start":2001,"end":2125,"properties":[{"type":"Property","start":2015,"end":2041,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2015,"end":2020,"name":"token"},"value":{"type":"MemberExpression","start":2022,"end":2041,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2022,"end":2035,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2022,"end":2026},"property":{"type":"Identifier","start":2027,"end":2035,"name":"keycloak"}},"property":{"type":"Identifier","start":2036,"end":2041,"name":"token"}},"kind":"init"},{"type":"Property","start":2055,"end":2093,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2055,"end":2066,"name":"parsedToken"},"value":{"type":"MemberExpression","start":2068,"end":2093,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2068,"end":2081,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2068,"end":2072},"property":{"type":"Identifier","start":2073,"end":2081,"name":"keycloak"}},"property":{"type":"Identifier","start":2082,"end":2093,"name":"tokenParsed"}},"kind":"init"},{"type":"Property","start":2107,"end":2114,"method":false,"shorthand":true,"computed":false,"key":{"type":"Identifier","start":2107,"end":2114,"name":"profile"},"value":{"type":"Identifier","start":2107,"end":2114,"name":"profile"},"kind":"init"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":2137,"end":2188,"static":false,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2137,"end":2148,"name":"getKeycloak"},"value":{"type":"FunctionExpression","start":2148,"end":2188,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":2151,"end":2188,"body":[{"type":"ReturnStatement","start":2161,"end":2182,"argument":{"type":"MemberExpression","start":2168,"end":2181,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2168,"end":2172},"property":{"type":"Identifier","start":2173,"end":2181,"name":"keycloak"}}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":2193,"end":2361,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2200,"end":2204,"name":"ɵfac"},"value":{"type":"CallExpression","start":2207,"end":2360,"optional":false,"callee":{"type":"MemberExpression","start":2207,"end":2228,"computed":false,"optional":false,"object":{"type":"Identifier","start":2207,"end":2209,"name":"i0"},"property":{"type":"Identifier","start":2210,"end":2228,"name":"ɵɵngDeclareFactory"}},"arguments":[{"type":"ObjectExpression","start":2229,"end":2359,"properties":[{"type":"Property","start":2231,"end":2251,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2231,"end":2241,"name":"minVersion"},"value":{"type":"Literal","start":2243,"end":2251,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":2253,"end":2271,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2253,"end":2260,"name":"version"},"value":{"type":"Literal","start":2262,"end":2271,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":2273,"end":2285,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2273,"end":2281,"name":"ngImport"},"value":{"type":"Identifier","start":2283,"end":2285,"name":"i0"},"kind":"init"},{"type":"Property","start":2287,"end":2308,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2287,"end":2291,"name":"type"},"value":{"type":"Identifier","start":2293,"end":2308,"name":"KeycloakService"},"kind":"init"},{"type":"Property","start":2310,"end":2318,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2310,"end":2314,"name":"deps"},"value":{"type":"ArrayExpression","start":2316,"end":2318,"elements":[]},"kind":"init"},{"type":"Property","start":2320,"end":2357,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2320,"end":2326,"name":"target"},"value":{"type":"MemberExpression","start":2328,"end":2357,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2328,"end":2346,"computed":false,"optional":false,"object":{"type":"Identifier","start":2328,"end":2330,"name":"i0"},"property":{"type":"Identifier","start":2331,"end":2346,"name":"ɵɵFactoryTarget"}},"property":{"type":"Identifier","start":2347,"end":2357,"name":"Injectable"}},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":2366,"end":2509,"static":true,"computed":false,"decorators":[],"key":{"type":"Identifier","start":2373,"end":2378,"name":"ɵprov"},"value":{"type":"CallExpression","start":2381,"end":2508,"optional":false,"callee":{"type":"MemberExpression","start":2381,"end":2405,"computed":false,"optional":false,"object":{"type":"Identifier","start":2381,"end":2383,"name":"i0"},"property":{"type":"Identifier","start":2384,"end":2405,"name":"ɵɵngDeclareInjectable"}},"arguments":[{"type":"ObjectExpression","start":2406,"end":2507,"properties":[{"type":"Property","start":2408,"end":2428,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2408,"end":2418,"name":"minVersion"},"value":{"type":"Literal","start":2420,"end":2428,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":2430,"end":2448,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2430,"end":2437,"name":"version"},"value":{"type":"Literal","start":2439,"end":2448,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":2450,"end":2462,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2450,"end":2458,"name":"ngImport"},"value":{"type":"Identifier","start":2460,"end":2462,"name":"i0"},"kind":"init"},{"type":"Property","start":2464,"end":2485,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2464,"end":2468,"name":"type"},"value":{"type":"Identifier","start":2470,"end":2485,"name":"KeycloakService"},"kind":"init"},{"type":"Property","start":2487,"end":2505,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2487,"end":2497,"name":"providedIn"},"value":{"type":"Literal","start":2499,"end":2505,"value":"root","raw":"'root'"},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":2512,"end":2786,"expression":{"type":"CallExpression","start":2512,"end":2785,"optional":false,"callee":{"type":"MemberExpression","start":2512,"end":2539,"computed":false,"optional":false,"object":{"type":"Identifier","start":2512,"end":2514,"name":"i0"},"property":{"type":"Identifier","start":2515,"end":2539,"name":"ɵɵngDeclareClassMetadata"}},"arguments":[{"type":"ObjectExpression","start":2540,"end":2784,"properties":[{"type":"Property","start":2542,"end":2562,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2542,"end":2552,"name":"minVersion"},"value":{"type":"Literal","start":2554,"end":2562,"value":"12.0.0","raw":"\"12.0.0\""},"kind":"init"},{"type":"Property","start":2564,"end":2582,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2564,"end":2571,"name":"version"},"value":{"type":"Literal","start":2573,"end":2582,"value":"19.2.14","raw":"\"19.2.14\""},"kind":"init"},{"type":"Property","start":2584,"end":2596,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2584,"end":2592,"name":"ngImport"},"value":{"type":"Identifier","start":2594,"end":2596,"name":"i0"},"kind":"init"},{"type":"Property","start":2598,"end":2619,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2598,"end":2602,"name":"type"},"value":{"type":"Identifier","start":2604,"end":2619,"name":"KeycloakService"},"kind":"init"},{"type":"Property","start":2621,"end":2756,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2621,"end":2631,"name":"decorators"},"value":{"type":"ArrayExpression","start":2633,"end":2756,"elements":[{"type":"ObjectExpression","start":2634,"end":2755,"properties":[{"type":"Property","start":2648,"end":2664,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2648,"end":2652,"name":"type"},"value":{"type":"Identifier","start":2654,"end":2664,"name":"Injectable"},"kind":"init"},{"type":"Property","start":2678,"end":2745,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2678,"end":2682,"name":"args"},"value":{"type":"ArrayExpression","start":2684,"end":2745,"elements":[{"type":"ObjectExpression","start":2685,"end":2744,"properties":[{"type":"Property","start":2707,"end":2725,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2707,"end":2717,"name":"providedIn"},"value":{"type":"Literal","start":2719,"end":2725,"value":"root","raw":"'root'"},"kind":"init"}]}]},"kind":"init"}]}]},"kind":"init"},{"type":"Property","start":2758,"end":2782,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2758,"end":2772,"name":"ctorParameters"},"value":{"type":"ArrowFunctionExpression","start":2774,"end":2782,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":2780,"end":2782,"elements":[]},"id":null},"kind":"init"}]}]}}],"_rollupRemoved":[{"end":10325,"start":2787,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Injectable } from '@angular/core';\nimport Keycloak from 'keycloak-js';\nimport * as i0 from \"@angular/core\";\nexport class KeycloakService {\n keycloak;\n initialized = false;\n constructor() { }\n async init(config) {\n this.keycloak = new Keycloak({\n url: config.url,\n realm: config.realm,\n clientId: config.clientId,\n });\n const initOptions = {\n onLoad: config.onLoad ?? \"login-required\",\n checkLoginIframe: config.checkLoginIframe ?? false,\n silentCheckSsoRedirectUri: config.silentCheckSsoRedirectUri,\n pkceMethod: config.pkceMethod ?? \"S256\",\n flow: config.flow ?? \"standard\",\n };\n try {\n const authenticated = await this.keycloak.init(initOptions);\n this.initialized = true;\n return authenticated;\n }\n catch (error) {\n console.error(\"Keycloak initialization failed\", error);\n return false;\n }\n }\n login() {\n this.keycloak?.login();\n }\n logout(redirectUri) {\n this.keycloak?.logout({ redirectUri });\n }\n accountManagement() {\n this.keycloak?.accountManagement();\n }\n getToken() {\n return this.keycloak?.token;\n }\n getParsedToken() {\n return this.keycloak?.tokenParsed;\n }\n async refreshToken(minValidity = 5) {\n if (!this.keycloak)\n return false;\n try {\n return await this.keycloak.updateToken(minValidity);\n }\n catch (e) {\n console.error(\"Token refresh failed\", e);\n return false;\n }\n }\n getUsername() {\n return this.getParsedToken()?.preferred_username;\n }\n isLoggedIn() {\n return !!this.keycloak?.authenticated;\n }\n async getUser() {\n if (!this.keycloak?.token || !this.keycloak.tokenParsed)\n return;\n const profile = await this.keycloak.loadUserProfile();\n return {\n token: this.keycloak.token,\n parsedToken: this.keycloak.tokenParsed,\n profile,\n };\n }\n getKeycloak() {\n return this.keycloak;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Y2xvYWsuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWtleWNsb2FrL3NyYy9saWIvY29yZS9rZXljbG9hay5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxRQUFRLE1BQU0sYUFBYSxDQUFDOztBQXl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dGhpcy5rZXljbG9haz8uYXV0aGVudGljYXRlZDtcclxuICB9XHJcblxyXG4gIGFzeW5jIGdldFVzZXIoKTogUHJvbWlzZTxBdXRoZW50aWNhdGVkVXNlciB8IHVuZGVmaW5lZD4ge1xyXG4gICAgaWYgKCF0aGlzLmtleWNsb2FrPy50b2tlbiB8fCAhdGhpcy5rZXljbG9hay50b2tlblBhcnNlZCkgcmV0dXJuO1xyXG5cclxuICAgIGNvbnN0IHByb2ZpbGUgPSBhd2FpdCB0aGlzLmtleWNsb2FrLmxvYWRVc2VyUHJvZmlsZSgpO1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgdG9rZW46IHRoaXMua2V5Y2xvYWsudG9rZW4sXHJcbiAgICAgIHBhcnNlZFRva2VuOiB0aGlzLmtleWNsb2FrLnRva2VuUGFyc2VkIGFzIEtleWNsb2FrVG9rZW4sXHJcbiAgICAgIHByb2ZpbGUsXHJcbiAgICB9O1xyXG4gIH1cclxuXHJcbiAgZ2V0S2V5Y2xvYWsoKTogS2V5Y2xvYWsgfCB1bmRlZmluZWQge1xyXG4gICAgcmV0dXJuIHRoaXMua2V5Y2xvYWs7XHJcbiAgfVxyXG5cclxuXHJcbn1cclxuIl19","customTransformCache":false,"dependencies":["@angular/core","keycloak-js"],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak.service.mjs","meta":{},"moduleSideEffects":true,"originalCode":"import { Injectable } from '@angular/core';\nimport Keycloak from 'keycloak-js';\nimport * as i0 from \"@angular/core\";\nexport class KeycloakService {\n keycloak;\n initialized = false;\n constructor() { }\n async init(config) {\n this.keycloak = new Keycloak({\n url: config.url,\n realm: config.realm,\n clientId: config.clientId,\n });\n const initOptions = {\n onLoad: config.onLoad ?? \"login-required\",\n checkLoginIframe: config.checkLoginIframe ?? false,\n silentCheckSsoRedirectUri: config.silentCheckSsoRedirectUri,\n pkceMethod: config.pkceMethod ?? \"S256\",\n flow: config.flow ?? \"standard\",\n };\n try {\n const authenticated = await this.keycloak.init(initOptions);\n this.initialized = true;\n return authenticated;\n }\n catch (error) {\n console.error(\"Keycloak initialization failed\", error);\n return false;\n }\n }\n login() {\n this.keycloak?.login();\n }\n logout(redirectUri) {\n this.keycloak?.logout({ redirectUri });\n }\n accountManagement() {\n this.keycloak?.accountManagement();\n }\n getToken() {\n return this.keycloak?.token;\n }\n getParsedToken() {\n return this.keycloak?.tokenParsed;\n }\n async refreshToken(minValidity = 5) {\n if (!this.keycloak)\n return false;\n try {\n return await this.keycloak.updateToken(minValidity);\n }\n catch (e) {\n console.error(\"Token refresh failed\", e);\n return false;\n }\n }\n getUsername() {\n return this.getParsedToken()?.preferred_username;\n }\n isLoggedIn() {\n return !!this.keycloak?.authenticated;\n }\n async getUser() {\n if (!this.keycloak?.token || !this.keycloak.tokenParsed)\n return;\n const profile = await this.keycloak.loadUserProfile();\n return {\n token: this.keycloak.token,\n parsedToken: this.keycloak.tokenParsed,\n profile,\n };\n }\n getKeycloak() {\n return this.keycloak;\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"19.2.14\", ngImport: i0, type: KeycloakService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5Y2xvYWsuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWtleWNsb2FrL3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N0cmluZyB8IHVuZGVmaW5lZCB7XHJcbiAgICByZXR1cm4gdGhpcy5nZXRQYXJzZWRUb2tlbigpPy5wcmVmZXJyZWRfdXNlcm5hbWU7XHJcbiAgfVxyXG5cclxuICBpc0xvZ2dlZEluKCk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuICEhdGhpcy5rZXljbG9haz8uYXV0aGVudGljYXRlZDtcclxuICB9XHJcblxyXG4gIGFzeW5jIGdldFVzZXIoKTogUHJvbWlzZTxBdXRoZW50aWNhdGVkVXNlciB8IHVuZGVmaW5lZD4ge1xyXG4gICAgaWYgKCF0aGlzLmtleWNsb2FrPy50b2tlbiB8fCAhdGhpcy5rZXljbG9hay50b2tlblBhcnNlZCkgcmV0dXJuO1xyXG5cclxuICAgIGNvbnN0IHByb2ZpbGUgPSBhd2FpdCB0aGlzLmtleWNsb2FrLmxvYWRVc2VyUHJvZmlsZSgpO1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgdG9rZW46IHRoaXMua2V5Y2xvYWsudG9rZW4sXHJcbiAgICAgIHBhcnNlZFRva2VuOiB0aGlzLmtleWNsb2FrLnRva2VuUGFyc2VkIGFzIEtleWNsb2FrVG9rZW4sXHJcbiAgICAgIHByb2ZpbGUsXHJcbiAgICB9O1xyXG4gIH1cclxuXHJcbiAgZ2V0S2V5Y2xvYWsoKTogS2V5Y2xvYWsgfCB1bmRlZmluZWQge1xyXG4gICAgcmV0dXJuIHRoaXMua2V5Y2xvYWs7XHJcbiAgfVxyXG5cclxuXHJcbn1cclxuIl19","originalSourcemap":{"version":3,"file":"keycloak.service.js","sourceRoot":"","sources":["../../../../../projects/quankee-framework-keycloak/src/lib/core/keycloak.service.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,8],[19,0,0,18],[21,0,0,19],[27,0,0,25],[42,0,0,40],[43,0,0,41]],[[0,0,1,0],[7,0,1,7],[15,0,1,15],[21,0,1,21],[34,0,1,34],[35,0,1,35]],[],[[0,0,26,0],[6,0,26,6],[13,0,26,13],[28,0,26,28]],[[4,0,28,11],[12,0,28,19],[13,0,28,31]],[[4,0,30,10],[15,0,30,21],[18,0,30,24],[23,0,30,29],[24,0,30,30]],[[4,0,32,2],[20,0,32,17],[21,0,32,18]],[[4,0,34,2],[9,0,34,7],[10,0,34,8],[14,0,34,12],[15,0,34,13],[21,0,34,35]],[[8,0,35,4],[12,0,35,8],[13,0,35,9],[21,0,35,17],[24,0,35,20],[28,0,35,24],[36,0,35,32],[37,0,35,33]],[[12,0,36,6],[15,0,36,9],[17,0,36,11],[23,0,36,17],[24,0,36,18],[27,0,36,21]],[[12,0,37,6],[17,0,37,11],[19,0,37,13],[25,0,37,19],[26,0,37,20],[31,0,37,25]],[[12,0,38,6],[20,0,38,14],[22,0,38,16],[28,0,38,22],[29,0,38,23],[37,0,38,31]],[[9,0,39,5],[10,0,39,6],[11,0,39,7]],[[8,0,41,4],[14,0,41,10],[25,0,41,21],[28,0,47,8]],[[12,0,48,6],[18,0,48,12],[20,0,48,14],[26,0,48,20],[27,0,48,21],[33,0,48,27],[37,0,48,31],[53,0,48,47]],[[12,0,49,6],[28,0,49,22],[30,0,49,24],[36,0,49,30],[37,0,49,31],[53,0,49,47],[57,0,49,51],[62,0,49,56]],[[12,0,50,6],[37,0,50,31],[39,0,50,33],[45,0,50,39],[46,0,50,40],[71,0,50,65]],[[12,0,51,6],[22,0,51,16],[24,0,51,18],[30,0,51,24],[31,0,51,25],[41,0,51,35],[45,0,51,39],[51,0,51,45]],[[12,0,52,6],[16,0,52,10],[18,0,52,12],[24,0,52,18],[25,0,52,19],[29,0,52,23],[33,0,52,27],[43,0,52,37]],[[9,0,53,5],[10,0,53,6]],[[8,0,55,4],[12,0,55,8],[13,0,55,9]],[[12,0,56,6],[18,0,56,12],[31,0,56,25],[34,0,56,28],[40,0,56,34],[44,0,56,38],[45,0,56,39],[53,0,56,47],[54,0,56,48],[58,0,56,52],[59,0,56,53],[70,0,56,64],[71,0,56,65],[72,0,56,66]],[[12,0,57,6],[16,0,57,10],[17,0,57,11],[28,0,57,22],[31,0,57,25],[35,0,57,29],[36,0,57,30]],[[12,0,58,6],[19,0,58,13],[32,0,58,26],[33,0,58,27]],[[8,0,59,4],[9,0,59,5]],[[8,0,59,6],[15,0,59,13],[20,0,59,18],[22,0,59,20],[23,0,59,21]],[[12,0,60,6],[19,0,60,13],[20,0,60,14],[25,0,60,19],[26,0,60,20],[58,0,60,52],[60,0,60,54],[65,0,60,59],[66,0,60,60],[67,0,60,61]],[[12,0,61,6],[19,0,61,13],[24,0,61,18],[25,0,61,19]],[[8,0,62,4],[9,0,62,5]],[[4,0,64,2],[5,0,64,3]],[[4,0,66,2],[9,0,66,7]],[[8,0,67,4],[12,0,67,8],[13,0,67,9],[21,0,67,17],[23,0,67,19],[28,0,67,24],[30,0,67,26],[31,0,67,27]],[[4,0,68,2],[5,0,68,3]],[[4,0,70,2],[10,0,70,8],[11,0,70,9],[22,0,70,29]],[[8,0,71,4],[12,0,71,8],[13,0,71,9],[21,0,71,17],[23,0,71,19],[29,0,71,25],[30,0,71,26],[32,0,71,28],[43,0,71,39],[45,0,71,41],[46,0,71,42],[47,0,71,43]],[[4,0,72,2],[5,0,72,3]],[[4,0,74,2],[21,0,74,19]],[[8,0,75,4],[12,0,75,8],[13,0,75,9],[21,0,75,17],[23,0,75,19],[40,0,75,36],[42,0,75,38],[43,0,75,39]],[[4,0,76,2],[5,0,76,3]],[[4,0,78,2],[12,0,78,10]],[[8,0,79,4],[15,0,79,11],[19,0,79,15],[20,0,79,16],[28,0,79,24],[30,0,79,26],[35,0,79,31],[36,0,79,32]],[[4,0,80,2],[5,0,80,3]],[[4,0,82,2],[18,0,82,16]],[[8,0,83,4],[15,0,83,11],[19,0,83,15],[20,0,83,16],[28,0,83,24],[30,0,83,26],[41,0,83,54],[42,0,83,55]],[[4,0,84,2],[5,0,84,3]],[[4,0,86,2],[9,0,86,7],[10,0,86,8],[22,0,86,20],[23,0,86,21],[34,0,86,32],[37,0,86,35],[38,0,86,36]],[[8,0,87,4],[12,0,87,8],[13,0,87,9],[17,0,87,13],[18,0,87,14],[26,0,87,22]],[[12,0,87,24],[19,0,87,31],[24,0,87,36],[25,0,87,37]],[[8,0,88,4],[12,0,88,8],[13,0,88,9]],[[12,0,89,6],[19,0,89,13],[25,0,89,19],[29,0,89,23],[30,0,89,24],[38,0,89,32],[39,0,89,33],[50,0,89,44],[51,0,89,45],[62,0,89,56],[63,0,89,57],[64,0,89,58]],[[8,0,90,4],[9,0,90,5]],[[8,0,90,6],[15,0,90,13],[16,0,90,14],[18,0,90,16],[19,0,90,17]],[[12,0,91,6],[19,0,91,13],[20,0,91,14],[25,0,91,19],[26,0,91,20],[48,0,91,42],[50,0,91,44],[51,0,91,45],[52,0,91,46],[53,0,91,47]],[[12,0,92,6],[19,0,92,13],[24,0,92,18],[25,0,92,19]],[[8,0,93,4],[9,0,93,5]],[[4,0,94,2],[5,0,94,3]],[[4,0,96,2],[15,0,96,13]],[[8,0,97,4],[15,0,97,11],[19,0,97,15],[20,0,97,16],[34,0,97,30],[36,0,97,32],[38,0,97,34],[56,0,97,52],[57,0,97,53]],[[4,0,98,2],[5,0,98,3]],[[4,0,100,2],[14,0,100,12]],[[8,0,101,4],[15,0,101,11],[16,0,101,12],[17,0,101,13],[21,0,101,17],[22,0,101,18],[30,0,101,26],[32,0,101,28],[45,0,101,41],[46,0,101,42]],[[4,0,102,2],[5,0,102,3]],[[4,0,104,2],[9,0,104,7],[10,0,104,8],[17,0,104,15]],[[8,0,105,4],[12,0,105,8],[13,0,105,9],[17,0,105,13],[18,0,105,14],[26,0,105,22],[28,0,105,24],[33,0,105,29],[37,0,105,33],[38,0,105,34],[42,0,105,38],[43,0,105,39],[51,0,105,47],[52,0,105,48],[63,0,105,59]],[[12,0,105,61],[19,0,105,68]],[[8,0,107,4],[14,0,107,10],[21,0,107,17],[24,0,107,20],[30,0,107,26],[34,0,107,30],[35,0,107,31],[43,0,107,39],[44,0,107,40],[59,0,107,55],[61,0,107,57],[62,0,107,58]],[[8,0,108,4],[15,0,108,11]],[[12,0,109,6],[17,0,109,11],[19,0,109,13],[23,0,109,17],[24,0,109,18],[32,0,109,26],[33,0,109,27],[38,0,109,32]],[[12,0,110,6],[23,0,110,17],[25,0,110,19],[29,0,110,23],[30,0,110,24],[38,0,110,32],[39,0,110,33],[50,0,110,61]],[[12,0,111,6],[19,0,111,13]],[[9,0,112,5],[10,0,112,6]],[[4,0,113,2],[5,0,113,3]],[[4,0,115,2],[15,0,115,13]],[[8,0,116,4],[15,0,116,11],[19,0,116,15],[20,0,116,16],[28,0,116,24],[29,0,116,25]],[[4,0,117,2],[5,0,117,3]],[[104,0,26,13],[119,0,26,28]],[[108,0,26,13],[123,0,26,28],[137,0,24,14],[143,0,24,20]],[],[[92,0,26,13],[107,0,26,28]],[[18,0,23,1],[28,0,23,11]],[[19,0,23,12]],[[20,0,24,2],[30,0,24,12],[32,0,24,14],[38,0,24,20]],[[17,0,25,1]]],"sourcesContent":["import {Injectable} from '@angular/core';\r\nimport Keycloak from 'keycloak-js';\r\nimport {AuthenticatedUser} from './authenticated-user';\r\nimport {KeycloakToken} from './keycloak-token';\r\n\r\n// Your own type definition for 'onLoad' because keycloak-js doesn't export it\r\nexport type AppKeycloakOnLoad = \"login-required\" | \"check-sso\";\r\n\r\nexport type KeycloakPkceMethod = \"S256\";\r\n\r\n// Your own config interface\r\nexport interface KeycloakConfig {\r\n url: string;\r\n realm: string;\r\n clientId: string;\r\n onLoad?: AppKeycloakOnLoad;\r\n checkLoginIframe?: boolean;\r\n silentCheckSsoRedirectUri?: string;\r\n pkceMethod?: KeycloakPkceMethod;\r\n flow?: \"standard\" | \"implicit\";\r\n}\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class KeycloakService{\r\n\r\n private keycloak?: Keycloak;\r\n\r\n private initialized = false;\r\n\r\n constructor() {}\r\n\r\n async init(config: KeycloakConfig): Promise<boolean> {\r\n this.keycloak = new Keycloak({\r\n url: config.url,\r\n realm: config.realm,\r\n clientId: config.clientId,\r\n });\r\n\r\n const initOptions: {\r\n onLoad: \"login-required\" | \"check-sso\";\r\n checkLoginIframe: boolean;\r\n silentCheckSsoRedirectUri?: string;\r\n pkceMethod: KeycloakPkceMethod;\r\n flow: \"standard\" | \"implicit\";\r\n } = {\r\n onLoad: config.onLoad ?? \"login-required\",\r\n checkLoginIframe: config.checkLoginIframe ?? false,\r\n silentCheckSsoRedirectUri: config.silentCheckSsoRedirectUri,\r\n pkceMethod: config.pkceMethod ?? \"S256\",\r\n flow: config.flow ?? \"standard\",\r\n };\r\n\r\n try {\r\n const authenticated = await this.keycloak.init(initOptions);\r\n this.initialized = true;\r\n return authenticated;\r\n } catch (error) {\r\n console.error(\"Keycloak initialization failed\", error);\r\n return false;\r\n }\r\n\r\n }\r\n\r\n login(): void {\r\n this.keycloak?.login();\r\n }\r\n\r\n logout(redirectUri?: string): void {\r\n this.keycloak?.logout({ redirectUri });\r\n }\r\n\r\n accountManagement(): void {\r\n this.keycloak?.accountManagement();\r\n }\r\n\r\n getToken(): string | undefined {\r\n return this.keycloak?.token;\r\n }\r\n\r\n getParsedToken(): KeycloakToken | undefined {\r\n return this.keycloak?.tokenParsed as KeycloakToken;\r\n }\r\n\r\n async refreshToken(minValidity = 5): Promise<boolean> {\r\n if (!this.keycloak) return false;\r\n try {\r\n return await this.keycloak.updateToken(minValidity);\r\n } catch (e) {\r\n console.error(\"Token refresh failed\", e);\r\n return false;\r\n }\r\n }\r\n\r\n getUsername(): string | undefined {\r\n return this.getParsedToken()?.preferred_username;\r\n }\r\n\r\n isLoggedIn(): boolean {\r\n return !!this.keycloak?.authenticated;\r\n }\r\n\r\n async getUser(): Promise<AuthenticatedUser | undefined> {\r\n if (!this.keycloak?.token || !this.keycloak.tokenParsed) return;\r\n\r\n const profile = await this.keycloak.loadUserProfile();\r\n return {\r\n token: this.keycloak.token,\r\n parsedToken: this.keycloak.tokenParsed as KeycloakToken,\r\n profile,\r\n };\r\n }\r\n\r\n getKeycloak(): Keycloak | undefined {\r\n return this.keycloak;\r\n }\r\n\r\n\r\n}\r\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"keycloak-js":{"attributes":{},"external":true,"id":"keycloak-js","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":876,"body":[{"type":"ExportAllDeclaration","start":59,"end":101,"exported":null,"source":{"type":"Literal","start":73,"end":100,"value":"./lib/core/keycloak-token","raw":"'./lib/core/keycloak-token'"},"attributes":[]},{"type":"ExportAllDeclaration","start":102,"end":148,"exported":null,"source":{"type":"Literal","start":116,"end":147,"value":"./lib/core/authenticated-user","raw":"'./lib/core/authenticated-user'"},"attributes":[]},{"type":"ExportAllDeclaration","start":149,"end":193,"exported":null,"source":{"type":"Literal","start":163,"end":192,"value":"./lib/core/keycloak.service","raw":"'./lib/core/keycloak.service'"},"attributes":[]}],"_rollupRemoved":[{"end":876,"start":194,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/*\n * Public API Surface of quankee-framework-keycloak\n */\nexport * from './lib/core/keycloak-token';\nexport * from './lib/core/authenticated-user';\nexport * from './lib/core/keycloak.service';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWtleWNsb2FrL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgcXVhbmtlZS1mcmFtZXdvcmsta2V5Y2xvYWtcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3JlL2tleWNsb2FrLXRva2VuJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29yZS9hdXRoZW50aWNhdGVkLXVzZXInO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3JlL2tleWNsb2FrLnNlcnZpY2UnO1xyXG5cclxuIl19","customTransformCache":false,"dependencies":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak-token.mjs","C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/authenticated-user.mjs","C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak.service.mjs"],"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/public-api.mjs","meta":{},"moduleSideEffects":true,"originalCode":"/*\n * Public API Surface of quankee-framework-keycloak\n */\nexport * from './lib/core/keycloak-token';\nexport * from './lib/core/authenticated-user';\nexport * from './lib/core/keycloak.service';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3F1YW5rZWUtZnJhbWV3b3JrLWtleWNsb2FrL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgcXVhbmtlZS1mcmFtZXdvcmsta2V5Y2xvYWtcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3JlL2tleWNsb2FrLXRva2VuJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29yZS9hdXRoZW50aWNhdGVkLXVzZXInO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3JlL2tleWNsb2FrLnNlcnZpY2UnO1xyXG5cclxuIl19","originalSourcemap":{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../projects/quankee-framework-keycloak/src/public-api.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[41,0,4,41],[42,0,4,42]],[[0,0,5,0],[14,0,5,14],[45,0,5,45],[46,0,5,46]],[[0,0,6,0],[14,0,6,14],[43,0,6,43],[44,0,6,44]]],"sourcesContent":["/*\r\n * Public API Surface of quankee-framework-keycloak\r\n */\r\n\r\nexport * from './lib/core/keycloak-token';\r\nexport * from './lib/core/authenticated-user';\r\nexport * from './lib/core/keycloak.service';\r\n\r\n"]},"resolvedIds":{"./lib/core/keycloak-token":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak-token.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false},"./lib/core/authenticated-user":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/authenticated-user.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false},"./lib/core/keycloak.service":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/lib/core/keycloak.service.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":560,"body":[{"type":"ExportAllDeclaration","start":48,"end":77,"exported":null,"source":{"type":"Literal","start":62,"end":76,"value":"./public-api","raw":"'./public-api'"},"attributes":[]}],"_rollupRemoved":[{"end":560,"start":78,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbmtlZS1mcmFtZXdvcmsta2V5Y2xvYWsuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1rZXljbG9hay9zcmMvcXVhbmtlZS1mcmFtZXdvcmsta2V5Y2xvYWsudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==","customTransformCache":false,"dependencies":["C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/public-api.mjs"],"id":"C:\\usr\\local\\workspaces\\workspace-quankee\\quankee-framework\\quankee-framework-common-ts\\dist\\quankee-framework-keycloak\\esm2022\\quankee-framework-keycloak.mjs","meta":{},"moduleSideEffects":true,"originalCode":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbmtlZS1mcmFtZXdvcmsta2V5Y2xvYWsuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9xdWFua2VlLWZyYW1ld29yay1rZXljbG9hay9zcmMvcXVhbmtlZS1mcmFtZXdvcmsta2V5Y2xvYWsudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==","originalSourcemap":{"version":3,"file":"quankee-framework-keycloak.js","sourceRoot":"","sources":["../../../projects/quankee-framework-keycloak/src/quankee-framework-keycloak.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[28,0,4,28],[29,0,4,29]]],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"]},"resolvedIds":{"./public-api":{"attributes":{},"external":false,"id":"C:/usr/local/workspaces/workspace-quankee/quankee-framework/quankee-framework-common-ts/dist/quankee-framework-keycloak/esm2022/public-api.mjs","meta":{},"moduleSideEffects":true,"resolvedBy":"file-loader","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]}],"plugins":{"file-loader":{},"json":{}}}
|