graphdb-workbench 3.0.1 → 3.0.2-TR1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{1.4557dfdb926ba6471bb3.bundle.js → 1.39c8f2b09d3018e6a9cd.bundle.js} +1 -1
- package/dist/{10.8a76ef708b5c69241c68.bundle.js → 10.4f80be12b2cd899d4fc2.bundle.js} +1 -1
- package/dist/100.2daf71ab49c93a1c9d40.bundle.js +1 -0
- package/dist/{99.a745a27e01490b0d843d.bundle.js → 101.70d205b9691d74539dd7.bundle.js} +1 -1
- package/dist/{100.c4aaa3d10f570dba12a9.bundle.js → 102.8b6782cd3c24d47c87d2.bundle.js} +1 -1
- package/dist/{101.8f0b38c2e58132599194.bundle.js → 103.ff8e7dd53d94f93552bf.bundle.js} +1 -1
- package/dist/{103.96f2287dde7e4fc25c9d.bundle.js → 104.a1b5b2e868eb117b48ac.bundle.js} +1 -1
- package/dist/{104.ddeb2cb5758d1ed52b33.bundle.js → 105.0121f779d777d869ce4e.bundle.js} +1 -1
- package/dist/{105.e8302c421c3d7b516b4c.bundle.js → 106.55cf93dab531f6120a6e.bundle.js} +1 -1
- package/dist/{106.00a983e1594a051a5fe7.bundle.js → 107.c0d5d1b4a12c8a01745e.bundle.js} +1 -1
- package/dist/{107.7b548755171f42f06352.bundle.js → 108.9ca7ca14da8593ef91ba.bundle.js} +1 -1
- package/dist/{108.160515780d319edefb5c.bundle.js → 109.1c877e801581e1f60bf8.bundle.js} +1 -1
- package/dist/11.cc21bcbc41edfd865a48.bundle.js +1 -0
- package/dist/{109.1da75239f8e2a5d63b23.bundle.js → 110.3740001dabee596bbf71.bundle.js} +1 -1
- package/dist/{110.780a31b32e116f49a75f.bundle.js → 111.f0ae6a0107628aaeef02.bundle.js} +1 -1
- package/dist/{111.7e3057275034cb5dc5a6.bundle.js → 112.ed43d212e04e37907453.bundle.js} +1 -1
- package/dist/{112.22145690dd697aa9275d.bundle.js → 113.0b94d0e087a818cf9d4c.bundle.js} +1 -1
- package/dist/{113.c135232a9177d596406c.bundle.js → 114.88b6c5ce916e956cc2e5.bundle.js} +1 -1
- package/dist/{114.b2c0df64a560a8dd5ae0.bundle.js → 115.3a159adc54ebc83243cd.bundle.js} +1 -1
- package/dist/{115.543de06ecb5553155522.bundle.js → 116.b75b69c7fe15583deb8a.bundle.js} +1 -1
- package/dist/{116.79b9b3abc0b03e8b7924.bundle.js → 117.a3706ff54783c451de62.bundle.js} +1 -1
- package/dist/{117.ae87c77380fb7660d9ec.bundle.js → 118.e93de50f0149eb2931a4.bundle.js} +1 -1
- package/dist/{118.6756956bb51b3350690d.bundle.js → 119.e5733c827c71ba3106fc.bundle.js} +1 -1
- package/dist/12.5d075599ef637022c23c.bundle.js +1 -0
- package/dist/{119.c8e77171125b6497990a.bundle.js → 120.346f38c1b8fa9bb399aa.bundle.js} +1 -1
- package/dist/{120.1484bac063921edb7a2c.bundle.js → 121.0a271d2bfea3fc050225.bundle.js} +1 -1
- package/dist/{121.6a0ffc9dfc3ea14fd0d3.bundle.js → 122.6812fc0e3f6f60eec16d.bundle.js} +1 -1
- package/dist/{122.13363b4c4f89776fa1b5.bundle.js → 123.31d75efb53b4049f1b67.bundle.js} +1 -1
- package/dist/{123.616625d0908d7e6eab3d.bundle.js → 124.2e17f7bde4612462c957.bundle.js} +1 -1
- package/dist/{124.924dce24aad641d1dd23.bundle.js → 125.f74277a2a44949ca0b4c.bundle.js} +1 -1
- package/dist/{125.d86cff2a5cc679dc20d9.bundle.js → 126.63677abd348f7f462e66.bundle.js} +1 -1
- package/dist/{126.ff5a04a468a8a8d1a99a.bundle.js → 127.41cba8bf8e30ac29ab7e.bundle.js} +1 -1
- package/dist/{127.954cf8032872deba10e6.bundle.js → 128.2ec10c750cf6d0f151f4.bundle.js} +1 -1
- package/dist/{128.639a495883f611c4691e.bundle.js → 129.7b10d7005f33d6187a4b.bundle.js} +1 -1
- package/dist/{13.c904bbb863125c4ff6cc.bundle.js → 13.c1f8c588c7fc852bbe1d.bundle.js} +1 -1
- package/dist/{129.5d11264c418527e53342.bundle.js → 130.6eaf3aa6daac5859f7d7.bundle.js} +1 -1
- package/dist/{130.82fe31a14b953086bb45.bundle.js → 131.45ae15011beefb1ec398.bundle.js} +1 -1
- package/dist/{131.e4be75b25c9eb85db5a8.bundle.js → 132.f675fe2fd349527933b3.bundle.js} +1 -1
- package/dist/{132.364bb39217e31f46480f.bundle.js → 133.1efc1419d69e84db2b4b.bundle.js} +1 -1
- package/dist/{133.df86fdb8d83ca7237793.bundle.js → 134.01ec95b828ad09fcb1a9.bundle.js} +1 -1
- package/dist/{134.33804d658ebadcbc3b55.bundle.js → 135.7d15f409bdb1e8630623.bundle.js} +1 -1
- package/dist/{135.797fc168b7a948df2ccb.bundle.js → 136.1ff57ae90902aff352e4.bundle.js} +1 -1
- package/dist/{136.5ca50393ed4761535bfe.bundle.js → 137.044a888e82e4ac13cbed.bundle.js} +1 -1
- package/dist/{137.d8b48c06ecd279c12ca7.bundle.js → 138.f910e9be040100f08326.bundle.js} +1 -1
- package/dist/{138.3bb6b7be471eb2d04c6e.bundle.js → 139.7e7adea811551510d1d4.bundle.js} +1 -1
- package/dist/{14.d0ab3c83926b616e7354.bundle.js → 14.d0c7642a1a7041f50137.bundle.js} +1 -1
- package/dist/{139.ea151aec614a76870451.bundle.js → 140.3e12b1909d34b2b23d66.bundle.js} +1 -1
- package/dist/{140.6583cf41ab8e891ebbb6.bundle.js → 141.022a52911a1fba3e9273.bundle.js} +1 -1
- package/dist/{141.af39fc3a6dc1dafdb5ab.bundle.js → 142.9b8ed6c5c8e7a9f5de47.bundle.js} +1 -1
- package/dist/{142.c2392a48e4d3a2a16866.bundle.js → 143.81cfe46fdf48ae310839.bundle.js} +1 -1
- package/dist/{143.e4511e1698aca68814e3.bundle.js → 144.fbf7737acce465cf274d.bundle.js} +1 -1
- package/dist/{144.f58114954e257cb77bde.bundle.js → 145.72459692d3c167aee55e.bundle.js} +1 -1
- package/dist/{145.d558ac05737ca5ef00a4.bundle.js → 146.e435b2bdae83a56537f6.bundle.js} +1 -1
- package/dist/{146.de12b58d856c54decc0b.bundle.js → 147.f4e3eb741619b49bcc80.bundle.js} +1 -1
- package/dist/{147.6faf4e13462207010d38.bundle.js → 148.44ea646c66b6b0e8f996.bundle.js} +1 -1
- package/dist/{148.25167c5ae125b23811c9.bundle.js → 149.0c8405d83935b512abfb.bundle.js} +1 -1
- package/dist/{15.8ab8b6f8c611ec1dfddc.bundle.js → 15.79a075c0e170b3066b07.bundle.js} +1 -1
- package/dist/{149.9629d0dfe4f62aa15bba.bundle.js → 150.fb80c0c92d602a623c36.bundle.js} +1 -1
- package/dist/{150.c8bf724fbe76d0e0696d.bundle.js → 151.0b79280f2a959473ff16.bundle.js} +1 -1
- package/dist/{151.4970e08b91e9849ae5e3.bundle.js → 152.410c52dad18a5a3961f6.bundle.js} +1 -1
- package/dist/{152.8a1ea0a8d04e0873f67b.bundle.js → 153.cb649018e1db6b8c4f1c.bundle.js} +1 -1
- package/dist/{153.64e4e15ca8abeb5268e3.bundle.js → 154.a96812700b8b52d10e57.bundle.js} +1 -1
- package/dist/160.1e607beff0e4f8e426cf.bundle.js +1 -0
- package/dist/{161.228b61b39d936f8fca31.bundle.js → 161.2a41444b94b2db7dd638.bundle.js} +1 -1
- package/dist/{163.716d49313f3e196497dd.bundle.js → 163.9c8a1cb6d8692b5347a4.bundle.js} +1 -1
- package/dist/{166.31241e54608319e510e2.bundle.js → 166.c08c74fdaa7965adecbc.bundle.js} +1 -1
- package/dist/{17.019de109eebe6b7563fe.bundle.js → 17.e163dfcc19d77667295a.bundle.js} +1 -1
- package/dist/{173.425381e5433b54da911c.bundle.js → 173.4fb35b26d3b118d10626.bundle.js} +1 -1
- package/dist/{175.b94e42f1b1b7479f46ad.bundle.js → 175.ec71d7bdff18c571a78e.bundle.js} +1 -1
- package/dist/{179.63500ae70b7715467e79.bundle.js → 179.be20755cb9848e72b319.bundle.js} +1 -1
- package/dist/{18.6722328814b9fcee2f6e.bundle.js → 18.b09e14d8a204a28fb95b.bundle.js} +1 -1
- package/dist/{180.a91ac4fc484a71bd5ed8.bundle.js → 180.a82dac6c561436705ae7.bundle.js} +1 -1
- package/dist/{19.a0af0ec7c0e4eb7ab20c.bundle.js → 19.407c7beb11ea143e1f9e.bundle.js} +1 -1
- package/dist/{2.354e410d4fb45ab44420.bundle.js → 2.842d68f9e1fac66644aa.bundle.js} +1 -1
- package/dist/{20.b2e6e5248ede44286621.bundle.js → 20.d9c0a2300fac55616a64.bundle.js} +1 -1
- package/dist/{21.6de69abd52835f511f89.bundle.js → 21.db9a15c2ce6264384788.bundle.js} +1 -1
- package/dist/{22.035be7329fd099903c2b.bundle.js → 22.1408d06830b72a459d6a.bundle.js} +1 -1
- package/dist/{23.f499db643c1d187eefe1.bundle.js → 23.e6835ca70f33d8babcca.bundle.js} +1 -1
- package/dist/231.909faa919088245e9988.bundle.js +1 -1
- package/dist/{24.057be6f617f4e3f35691.bundle.js → 24.8fbf33e98e7c306e8ea8.bundle.js} +1 -1
- package/dist/{242.c2143bfd879222a393dc.bundle.js → 242.2aceac5a4d9f377f3553.bundle.js} +1 -1
- package/dist/{243.ed8bd30b9501bcb22fd3.bundle.js → 243.35701551c53ddd41d3e2.bundle.js} +1 -1
- package/dist/{248.35714eeadd519aa9dfcf.bundle.js → 248.b1fb4b93555c3f69bc46.bundle.js} +1 -1
- package/dist/{25.25d1fdcb1cbeafd51681.bundle.js → 25.6f945a6e26e6daa27763.bundle.js} +1 -1
- package/dist/{258.af0b3d78c0f9b4c4b483.bundle.js → 258.fc7172db37e5b0ca1279.bundle.js} +1 -1
- package/dist/{26.3aa8a6a7f10039840838.bundle.js → 26.76be6828c642933221c3.bundle.js} +1 -1
- package/dist/{264.c6d038d027b8f5579b62.bundle.js → 264.8e759dd1686c37c32b07.bundle.js} +1 -1
- package/dist/{287.4f8a30c6c6c72ebafedb.bundle.js → 287.a750fc40fa90418f3d6d.bundle.js} +1 -1
- package/dist/{29.33b92413c2f0a708b821.bundle.js → 29.1f79f4caa66f63bd6611.bundle.js} +1 -1
- package/dist/{3.77b848d2eb7fdb2523b0.bundle.js → 3.33dccf88ff294b9ba7cf.bundle.js} +1 -1
- package/dist/{30.f818533689767fa3e2ca.bundle.js → 30.2125e28509307f3a225f.bundle.js} +1 -1
- package/dist/31.e0747ab3d38bd6efa832.bundle.js +2 -0
- package/dist/{312.0e853d11527c8a2fc070.bundle.js → 312.c03a255fbafa0d4335b7.bundle.js} +1 -1
- package/dist/{32.e14fc108d80a26925f88.bundle.js → 32.14b30077e63f4b1b729a.bundle.js} +1 -1
- package/dist/{322.6524ee61a5bbcdc82bad.bundle.js → 322.34c7ffacecadc1dff436.bundle.js} +1 -1
- package/dist/{33.fec387c3be8b00368957.bundle.js → 33.da597e608351b4872771.bundle.js} +1 -1
- package/dist/{332.2db32da5af5ac8856a0c.bundle.js → 332.eb8ac0b7d982535eb48b.bundle.js} +1 -1
- package/dist/{334.2970372fd546db2cd792.bundle.js → 334.85e45ef3709738a8c800.bundle.js} +1 -1
- package/dist/{335.b445bf889c4bfaa20ded.bundle.js → 335.5a6a3768096f7e02a5a3.bundle.js} +1 -1
- package/dist/{34.61223a86d6cb125fc2c8.bundle.js → 34.51476f9015bca2457953.bundle.js} +1 -1
- package/dist/{348.a113e5a47d253a04ee81.bundle.js → 348.da14c1b3111036fe2e02.bundle.js} +1 -1
- package/dist/{35.1b457bfdeea08b897d25.bundle.js → 35.dec1963ba9e2a21fdbec.bundle.js} +1 -1
- package/dist/{353.8dbc0f6a10d578ed65d8.bundle.js → 353.5ca0dd499b0e4ec5a228.bundle.js} +1 -1
- package/dist/{36.54cce0e26c592b832258.bundle.js → 36.5bdd80f32426b30c458d.bundle.js} +1 -1
- package/dist/{363.7a3d9b6e636d736c57b1.bundle.js → 363.fe7a10fbfe3ad1a31725.bundle.js} +1 -1
- package/dist/{37.be47535106d4b3dbc077.bundle.js → 37.3e74a6a07640c4d8db96.bundle.js} +1 -1
- package/dist/{381.aea7ee474ca60accc01b.bundle.js → 381.7705312c8cedfe733a17.bundle.js} +1 -1
- package/dist/{382.c69f3647cc33ace74db4.bundle.js → 382.3b6533fe63bb7b89d2a6.bundle.js} +1 -1
- package/dist/{385.559499835625e3e755d3.bundle.js → 385.93498ab442f8c50fadbc.bundle.js} +1 -1
- package/dist/{39.051d67965709d49db0ab.bundle.js → 39.8be9b0247c3518abbf8b.bundle.js} +1 -1
- package/dist/{392.96254712f6158ac44044.bundle.js → 392.fd509c86891257f9777f.bundle.js} +1 -1
- package/dist/399.0a3aec07fe2383cc35ba.bundle.js +1 -0
- package/dist/{40.9208517ef50b6f8024c6.bundle.js → 40.2747ad0262dc133c782c.bundle.js} +1 -1
- package/dist/404.163e08fb2eeea2362f8a.bundle.js +1 -0
- package/dist/410.b74d59055b7cf830abe5.bundle.js +1 -0
- package/dist/416.68f6286f80654cdbe4e4.bundle.js +1 -1
- package/dist/417.70adf0a6f0571c394764.bundle.js +1 -1
- package/dist/42.baaa159c3b1e81422600.bundle.js +1 -0
- package/dist/423.6edb13ec0cf08388c947.bundle.js +1 -1
- package/dist/424.725b821051516e73783a.bundle.js +1 -1
- package/dist/425.03fcf969da1a4e92fec3.bundle.js +1 -1
- package/dist/426.aa6924f6f1192d037009.bundle.js +1 -1
- package/dist/427.5c7b72141707b841e8a3.bundle.js +1 -1
- package/dist/428.0d471ce7c68654947c04.bundle.js +1 -1
- package/dist/{43.96e8540045f061114280.bundle.js → 43.46cf7aa71531400f5ce3.bundle.js} +1 -1
- package/dist/443.969280af4067a22d1a8b.bundle.js +1 -1
- package/dist/444.a5971579184b091ed392.bundle.js +1 -1
- package/dist/445.2b20cb9e68a11879f6c4.bundle.js +1 -1
- package/dist/446.fe3cf3d6e288c8c4444b.bundle.js +1 -1
- package/dist/447.d1d078921f6f28e2fa38.bundle.js +1 -1
- package/dist/448.d6c9bed6d99b8b23619f.bundle.js +1 -1
- package/dist/{45.8c13732f2859713c90c4.bundle.js → 45.e79cfcb4606177c83d29.bundle.js} +1 -1
- package/dist/{46.f04ca39b752caadd9714.bundle.js → 46.db4b433aebdbb6965f9d.bundle.js} +1 -1
- package/dist/468.8e259940c62a68ef3055.bundle.js +1 -1
- package/dist/{47.5773e1581c385ba39851.bundle.js → 47.89ad9da6a07545789631.bundle.js} +1 -1
- package/dist/{48.06454bbe08df5938e67a.bundle.js → 48.ba4cec793ef54b1611e5.bundle.js} +1 -1
- package/dist/480.379bf3b338e0a3224a1f.bundle.js +1 -1
- package/dist/481.0387239b174f787e70ea.bundle.js +1 -1
- package/dist/483.c81275cb05dd78ce389f.bundle.js +1 -1
- package/dist/484.25a82c267c3a705d2a65.bundle.js +1 -1
- package/dist/485.91cbfbfd37eccde375c9.bundle.js +1 -1
- package/dist/488.a69dcce23066c0dafdf7.bundle.js +1 -1
- package/dist/489.a976085b601cccf438d4.bundle.js +1 -1
- package/dist/49.ec8921fc54aaae50ca52.bundle.js +1 -0
- package/dist/490.d3e0f3e499b5a24f6808.bundle.js +1 -1
- package/dist/491.62c185868f9d99dd5713.bundle.js +1 -1
- package/dist/5.163df03f5440d982d268.bundle.js +2 -0
- package/dist/50.ee3ed147b2bc2382a0a2.bundle.js +1 -1
- package/dist/{51.676e3d8a0e328ad836ed.bundle.js → 51.014f0ee2c2a7ff9ce3ff.bundle.js} +1 -1
- package/dist/{52.cfdfa7095a554e758861.bundle.js → 52.85c3ec8030d92959e556.bundle.js} +1 -1
- package/dist/{55.fb160be660f713a3d6a1.bundle.js → 55.3262334c9d8a63b347ab.bundle.js} +1 -1
- package/dist/{56.a97521bde50d8e02ab1d.bundle.js → 56.f9d140f83b5462444e57.bundle.js} +1 -1
- package/dist/{57.ec17cacc850ae1904aeb.bundle.js → 57.fcd6814bee867f2345e7.bundle.js} +1 -1
- package/dist/{58.0c8ce6607800bf7ff0ac.bundle.js → 58.914f27e1a230e164d29b.bundle.js} +1 -1
- package/dist/{59.47183b72936629232e7f.bundle.js → 59.a7f0559fb46565813cf0.bundle.js} +1 -1
- package/dist/{6.33f8c6c7e324640238de.bundle.js → 6.0bfc114054ad3b233305.bundle.js} +1 -1
- package/dist/{60.046829a1be3f196bef1c.bundle.js → 60.6c9b4c93b093288c7649.bundle.js} +1 -1
- package/dist/{61.f625328fcc0d35aa07a4.bundle.js → 61.424616e10051d7cdbc93.bundle.js} +1 -1
- package/dist/{62.842d67b8758eed682f2c.bundle.js → 62.c335ec2480066d4422a9.bundle.js} +1 -1
- package/dist/63.e55beded50a778a97299.bundle.js +1 -0
- package/dist/{63.c3630cbfa8f6884a417d.bundle.js → 64.7a62b6f780380840f244.bundle.js} +1 -1
- package/dist/{64.91ba76d42905a3d9afbe.bundle.js → 65.8d5f1b79d228176db399.bundle.js} +1 -1
- package/dist/{65.198a4d69873309746593.bundle.js → 66.75d04ae3be915ecd5afe.bundle.js} +1 -1
- package/dist/{66.b7385a74d4f3287237ba.bundle.js → 67.dbc1e4410498f4ceae46.bundle.js} +1 -1
- package/dist/{67.3488f2543baf36d3c494.bundle.js → 68.aeae93de29be6d346977.bundle.js} +1 -1
- package/dist/{68.4e51b896e74fbd145701.bundle.js → 69.3024e70e93884b7138eb.bundle.js} +1 -1
- package/dist/{69.a2244fec1e7110f5aeec.bundle.js → 70.f982fe4a8c44d2ef72a6.bundle.js} +1 -1
- package/dist/{70.0b30be583854923aadc1.bundle.js → 71.8ffc1c2036362cf40526.bundle.js} +1 -1
- package/dist/{71.24d20933fd9614cf27af.bundle.js → 72.a47d3fdd3239098987a8.bundle.js} +1 -1
- package/dist/{72.5d2f018d17e995bc6455.bundle.js → 73.1d8cf985f584d6a29f1b.bundle.js} +1 -1
- package/dist/{73.3f407c010a17e4a109b9.bundle.js → 74.70762fed64c1503da986.bundle.js} +1 -1
- package/dist/{74.1d496e6a8dc0abfcbe04.bundle.js → 75.e464e055d7b66bf2fc93.bundle.js} +1 -1
- package/dist/76.fc1058890354a7ee6abe.bundle.js +1 -0
- package/dist/{76.9ca923a9265537ac7be4.bundle.js → 77.bf8560beda63d53b83c2.bundle.js} +1 -1
- package/dist/{77.f53fbf119a8b73148a25.bundle.js → 78.eecf35e4f25434df649e.bundle.js} +1 -1
- package/dist/{78.933cb90bda144ed95290.bundle.js → 79.074403a4200f684a0945.bundle.js} +1 -1
- package/dist/{8.3cf83e59a56858648ad9.bundle.js → 8.e3c3c3676785a030527d.bundle.js} +1 -1
- package/dist/{79.6e0224e241895965a9d3.bundle.js → 80.07a80c5fe69c039db15d.bundle.js} +1 -1
- package/dist/{80.f7d6d3108e6d18b96cd7.bundle.js → 81.234a3c0b3136c4a55730.bundle.js} +1 -1
- package/dist/{81.b79dd505cb205eb7eff0.bundle.js → 82.3e71f24921a2283967c3.bundle.js} +1 -1
- package/dist/{82.cd869e55416407b078e0.bundle.js → 83.cf2e3938d315b0470906.bundle.js} +1 -1
- package/dist/{83.b085735389d935aa6f42.bundle.js → 84.c1e18d720b266e35aec2.bundle.js} +1 -1
- package/dist/{84.7f9377fc605aff3f0d48.bundle.js → 85.7dc677e973a2dfcddfea.bundle.js} +1 -1
- package/dist/86.adb4b3504c93eb726fcd.bundle.js +1 -0
- package/dist/{85.8a74811c261c635235f7.bundle.js → 87.ddab9647e5ff9f432212.bundle.js} +1 -1
- package/dist/{86.c491436398aef8142dc3.bundle.js → 88.e04e9207f68a222a8a64.bundle.js} +1 -1
- package/dist/{87.cf9f719c3dd04bc64102.bundle.js → 89.51eac4bd9aa2668b96fb.bundle.js} +1 -1
- package/dist/{88.7d844f12b9d68b0be1d7.bundle.js → 90.ac1501d736615a2bc7f6.bundle.js} +1 -1
- package/dist/{89.2c1bcd6a70ba8769b6b9.bundle.js → 91.4c80dbc7c0af8d2d07f5.bundle.js} +1 -1
- package/dist/{90.b93a0ecac4f5bcfeed0f.bundle.js → 92.69c6a0625b9e94d1a9df.bundle.js} +1 -1
- package/dist/{91.44e1598ed46ac2197521.bundle.js → 93.4e0f1104ab14c3dfae71.bundle.js} +1 -1
- package/dist/{92.e81e734ef32fe8b56d78.bundle.js → 94.62f609daaeaf1e0b9f63.bundle.js} +1 -1
- package/dist/{93.6486890affff9e0f6ca8.bundle.js → 95.2c784e759051491850fb.bundle.js} +1 -1
- package/dist/{94.13212f8f2d50c66cb482.bundle.js → 96.22c66e3781a4afc22d1a.bundle.js} +1 -1
- package/dist/{95.6fe91e68bef2c41f2645.bundle.js → 97.856052734f379717d4cc.bundle.js} +1 -1
- package/dist/{96.4bd66eace72867bf76e1.bundle.js → 98.be86330473bf291530fa.bundle.js} +1 -1
- package/dist/{97.4cfafc4c6cedd50e973e.bundle.js → 99.6af4734887301734ebbe.bundle.js} +1 -1
- package/dist/{bundle.e7ff3a088b4fc9e2ec9e.bundle.js → bundle.6c88507cb6367ac80d16.bundle.js} +19 -19
- package/dist/css/autocomplete.css +5 -0
- package/dist/css/clustermanagement.css +10 -7
- package/dist/i18n/locale-en.json +11 -1
- package/dist/i18n/locale-fr.json +11 -1
- package/dist/index.html +3 -3
- package/dist/js/angular/autocomplete/templates/modal/add-label.html +5 -2
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +16 -7
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
- package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
- package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
- package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
- package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
- package/dist/js/angular/security/templates/user.html +2 -2
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/license-checker.json +4 -4
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +12 -12
- package/package.json +2 -2
- package/dist/102.2b1c8399187ccefe5a4f.bundle.js +0 -1
- package/dist/11.7343b4e08a786f0a1eab.bundle.js +0 -1
- package/dist/12.3669f82ad6489ffeb12b.bundle.js +0 -1
- package/dist/154.89f16e758f1caaae814c.bundle.js +0 -1
- package/dist/160.90a42dd6a992307c602d.bundle.js +0 -1
- package/dist/31.721783158dcfdee0b882.bundle.js +0 -2
- package/dist/399.b13be7ef0c258335c762.bundle.js +0 -1
- package/dist/404.00ef41fe988cd9161359.bundle.js +0 -1
- package/dist/410.a86d6bdafde1b951e239.bundle.js +0 -1
- package/dist/42.0147219d61d3814c266c.bundle.js +0 -1
- package/dist/49.6b885bb67696745b1634.bundle.js +0 -1
- package/dist/5.045fbb4da4ea6659e905.bundle.js +0 -2
- package/dist/75.0e43af19262a978d6aab.bundle.js +0 -1
- package/dist/98.6586c3413d178a0cab8c.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[60,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[60,116,124,199,255],{113:function(t,n,e){"use strict";e.r(n),e.d(n,"resolveGraphqlEndpoint",(function(){return r})),e.d(n,"resolvePlaygroundUrlWithEndpoint",(function(){return s}));var i=e(114),o=e(26),r=function(t,n){return"".concat(o.REPOSITORIES_ENDPOINT,"/").concat(t,"/graphql/").concat(n)},s=function(t){return"".concat(i.endpointUrl.PLAYGROUND,"?endpointId=").concat(t)}},114:function(t,n,e){"use strict";e.r(n),e.d(n,"endpointUrl",(function(){return i}));var i={PLAYGROUND:"graphql/playground",CREATE_ENDPOINT:"graphql/endpoint/create",ENDPOINT_MANAGEMENT:"graphql/endpoints"}},157:function(t,n,e){"use strict";e.r(n),e.d(n,"GraphqlEndpointInfo",(function(){return a})),e.d(n,"GraphqlEndpointsInfoList",(function(){return f}));var i=e(172);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function s(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,d(i.key),i)}}function u(t,n,e){return n&&s(t.prototype,n),e&&s(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,n,e){return(n=d(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function d(t){var n=function(t,n){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==o(n)?n:n+""}var a=function(){return u((function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),c(this,"_endpointId",void 0),c(this,"_endpointURI",void 0),c(this,"_label",void 0),c(this,"_description",void 0),c(this,"_default",void 0),c(this,"_active",void 0),c(this,"_lastModified",void 0),c(this,"_objectsCount",void 0),c(this,"_propertiesCount",void 0),c(this,"_warnings",void 0),c(this,"_errors",void 0),c(this,"_createdSuccessfully",void 0),this._endpointId=n.endpointId,this._endpointURI=n.endpointURI,this._label=n.label,this._description=n.description,this._default=n.default,this._active=n.active,this._lastModified=n.lastModified,this._objectsCount=n.objectsCount,this._propertiesCount=n.propertiesCount,this._warnings=n.warnings,this._errors=n.errors,this._createdSuccessfully=0===this._errors}),[{key:"toUpdateEndpointRequest",value:function(t){return new i.UpdateEndpointRequest({id:this.endpointId,label:this.label,description:this.description,active:this.active,default:this.default,options:t})}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(t){this._endpointURI=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"lastModified",get:function(){return this._lastModified},set:function(t){this._lastModified=t}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(t){this._objectsCount=t}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(t){this._propertiesCount=t}},{key:"warnings",get:function(){return this._warnings},set:function(t){this._warnings=t}},{key:"errors",get:function(){return this._errors},set:function(t){this._errors=t}}])}(),f=function(){return u((function t(n){r(this,t),c(this,"_originalEndpointsList",void 0),c(this,"_endpoints",void 0),this._originalEndpointsList=n||[],this._endpoints=n||[]}),[{key:"updateEndpoint",value:function(t){var n=this._endpoints.findIndex((function(n){return n.endpointId===t.endpointId}));-1!==n&&(this._endpoints[n]=t)}},{key:"filter",value:function(t){this._endpoints=this._originalEndpointsList.filter((function(n){return n.endpointId.toLowerCase().includes(t.toLowerCase())||n.label.toLowerCase().includes(t.toLowerCase())}))}},{key:"findDefaultEndpoint",value:function(){return this._endpoints.find((function(t){return t.default}))}},{key:"endpoints",get:function(){return this._endpoints},set:function(t){this._endpoints=t}}])}()},172:function(t,n,e){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function r(t,n,e){return(n=s(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function s(t){var n=function(t,n){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,n||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==i(n)?n:n+""}e.r(n),e.d(n,"UpdateEndpointRequest",(function(){return u}));var u=function(){return t=function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),r(this,"_id",void 0),r(this,"_label",void 0),r(this,"_description",void 0),r(this,"_active",void 0),r(this,"_default",void 0),r(this,"_options",void 0),this._id=n.id,this._label=n.label,this._description=n.description,this._active=n.active,this._default=n.default,this._options=n.options},(n=[{key:"getUpdateDefaultEndpointRequest",value:function(){return{default:this.default}}},{key:"getUpdateEndpointActiveStateRequest",value:function(){return{active:!this.active}}},{key:"getUpdateEndpointSettingsRequest",value:function(){return{options:this.options?this.options.toFlatJSON():null}}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"description",get:function(){return this._description},set:function(t){this._description=t}},{key:"active",get:function(){return this._active},set:function(t){this._active=t}},{key:"default",get:function(){return this._default},set:function(t){this._default=t}},{key:"options",get:function(){return this._options},set:function(t){this._options=t}}])&&o(t.prototype,n),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,e}()},278:function(t,n,e){"use strict";e.r(n),e.d(n,"endpointsInfoListMapper",(function(){return r})),e.d(n,"endpointInfoModelMapper",(function(){return s}));var i=e(157),o=e(113),r=function(t,n){if(!t||!t.endpoints)return new i.GraphqlEndpointsInfoList;var e=t.endpoints.map((function(t){return s(t,n)}));return new i.GraphqlEndpointsInfoList(e)},s=function(t,n){if(t)return new i.GraphqlEndpointInfo({endpointId:t.id,endpointURI:Object(o.resolveGraphqlEndpoint)(n,t.id),label:t.label,description:t.description,default:t.default,active:t.active,lastModified:t.lastModified,objectsCount:t.objectsCount,propertiesCount:t.propertiesCount,warnings:t.warnings,errors:t.errors})}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[61,26,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[61,26,80,261,263,264],{105:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceStatus",(function(){return n}));var n={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},152:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceType",(function(){return n}));var n={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},177:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}r.r(t),r.d(t,"ImportParsingSettings",(function(){return a}));var a=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}))},224:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResource",(function(){return c}));var n=r(105),o=r(177),i=r(152);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function u(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}var c=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hash=r(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:n.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.lastModified:void 0,this.importedOn=t?t.imported:void 0,this.size=t?t.size:"",this.addedStatements=t?t.addedStatements:0,this.removedStatements=t?t.removedStatements:0,this.numReplacedGraphs=t?t.numReplacedGraphs:0,this.parserSettings=t?t.parserSettings:new o.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0},(t=[{key:"isDirectory",value:function(){return i.ImportResourceType.DIRECTORY===this.type}},{key:"isFile",value:function(){return i.ImportResourceType.FILE===this.type||i.ImportResourceType.URL===this.type||i.ImportResourceType.TEXT===this.type}},{key:"isURL",value:function(){return i.ImportResourceType.URL===this.type}},{key:"isText",value:function(){return i.ImportResourceType.TEXT===this.type}}])&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},328:function(e,t,r){"use strict";r.r(t),r.d(t,"toImportResource",(function(){return i})),r.d(t,"fileToImportResource",(function(){return s})),r.d(t,"filesToImportResource",(function(){return a}));var n=r(224),o=r(28),i=function(e){var t=Object(o.md5HashGenerator)();return e.map((function(e){return new n.ImportResource(e,t)}))},s=function(e){var t=Object(o.md5HashGenerator)();return new n.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:e.lastModified,file:e},t)},a=function(e,t){var r=Object(o.md5HashGenerator)();return e.map((function(e){return new n.ImportResource({name:e.name,size:e.size,type:"file",modifiedOn:void 0,file:e,status:t},r)}))}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[62,96,131,333,334,335],{108:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function r(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var s=n.call(t,e||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ChatMessageModel",(function(){return a})),n.d(e,"CHAT_MESSAGE_ROLE",(function(){return o}));var a=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=1e3*e.timestamp},(e=[{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"role",get:function(){return this._role},set:function(t){this._role=t}},{key:"message",get:function(){return this._message},set:function(t){this._message=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}}])&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),o={USER:"user",ASSISTANT:"assistant"}},112:function(t,e,n){"use strict";n.r(e),n.d(e,"ChatItemModel",(function(){return c})),n.d(e,"ChatItemsListModel",(function(){return h}));var i=n(108);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function o(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var c=function(){return o((function t(e,n){r(this,t),this._chatId=e,this._agentId=void 0,this._question=n,this._answers=[]}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"agentId",get:function(){return this._agentId},set:function(t){this._agentId=t}},{key:"question",get:function(){return this._question},set:function(t){this._question=t}},{key:"answers",get:function(){return this._answers},set:function(t){this._answers=t}},{key:"setQuestionMessage",value:function(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}},{key:"getQuestionMessage",value:function(){return this._question.message}},{key:"toCreateChatRequestPayload",value:function(){return{agentId:this._agentId,question:this._question.message}}},{key:"toAskRequestPayload",value:function(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message,tzOffset:-(new Date).getTimezoneOffset()}}},{key:"toExplainResponsePayload",value:function(t){return{conversationId:this._chatId,answerId:t}}}])}(),h=function(){return o((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];r(this,t),this._items=e}),[{key:"isEmpty",value:function(){return 0===this._items.length}},{key:"appendItem",value:function(t){this._items.push(t)}},{key:"items",get:function(){return this._items},set:function(t){this._items=t||[]}},{key:"getLast",value:function(){if(!this.isEmpty())return this._items[this._items.length-1]}}])}()},135:function(t,e,n){"use strict";n.r(e),n.d(e,"ChatModel",(function(){return h})),n.d(e,"ChatByDayModel",(function(){return f})),n.d(e,"ChatsListModel",(function(){return y}));var i=n(112),s=n(28);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function u(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var h=function(){function t(e,n){a(this,t),this.hashGenerator=n,this._id=e.id,this._name=e.name,this._timestamp=e.timestamp,this._chatHistory=e.chatHistory||new i.ChatItemsListModel,this.hash=this.generateHash()}return u(t,[{key:"generateHash",value:function(){return this.hashGenerator(JSON.stringify(this))}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this.generateHash(),this._name=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"chatHistory",get:function(){return this._chatHistory},set:function(t){this._chatHistory=t||new i.ChatItemsListModel}},{key:"toRenameRequestPayload",value:function(){return{name:this._name}}}],[{key:"getEmptyChat",value:function(){return new t({name:"· · ·",timestamp:Math.floor(Date.now()/1e3)},Object(s.md5HashGenerator)())}}])}(),f=function(){return u((function t(e){a(this,t),this._day=e.day,this._timestamp=e.timestamp,this._chats=e.chats}),[{key:"day",get:function(){return this._day},set:function(t){this._day=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"chats",get:function(){return this._chats},set:function(t){this._chats=t}}])}(),y=function(){return u((function t(e){a(this,t),this._chats=e||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}),[{key:"sortByTime",value:function(){this._chats.sort((function(t,e){return e.timestamp-t.timestamp}))}},{key:"updateChatTimestamp",value:function(t,e){var n=this._chats.find((function(e){return e.id===t}));n&&(n.timestamp=e,this.sortByTime(),this.updateChatsByDay())}},{key:"updateChatName",value:function(t,e){var n=this._chats.find((function(e){return e.id===t}));n&&(n.name=e)}},{key:"deleteChat",value:function(t){this._chats=this._chats.filter((function(e){return e.id!==t.id})),this.sortByTime(),this.updateChatsByDay()}},{key:"updateChatsByDay",value:function(){var t=this;this._chatsByDay=[],this._chats.forEach((function(e){var n=new Date(1e3*e.timestamp).toDateString(),i=t._chatsByDay.find((function(t){return t.day===n}));i?i.chats.push(e):t._chatsByDay.push(new f({day:n,timestamp:1e3*e.timestamp,chats:[e]}))}))}},{key:"appendChat",value:function(t){this._chats.push(t),this.sortByTime(),this.updateChatsByDay()}},{key:"replaceChat",value:function(t,e){this._chats=this._chats.map((function(n){return n.id===e.id?t:n})),this.sortByTime(),this.updateChatsByDay()}},{key:"isEmpty",value:function(){return 0===this._chats.length}},{key:"getFirstChat",value:function(){return this._chats[0]}},{key:"deselectAll",value:function(){this._chats.forEach((function(t){t.selected=!1}))}},{key:"selectChat",value:function(t){this.deselectAll(),this._chats.forEach((function(e){e.selected=e.id===t.id}))}},{key:"getChat",value:function(t){return this._chats.find((function(e){return e.id===t}))}},{key:"getNonPersistedChat",value:function(){return this._chats.find((function(t){return!t.id}))}},{key:"renameChat",value:function(t){var e=this._chats.find((function(e){return e.id===t.id}));e&&(e.name=t.name)}},{key:"chats",get:function(){return this._chats},set:function(t){this._chats=t}},{key:"chatsByDay",get:function(){return this._chatsByDay},set:function(t){this._chatsByDay=t}}])}()},142:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,o(i.key),i)}}function a(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var s=n.call(t,e||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ExplainResponseModel",(function(){return u})),n.d(e,"ExplainQueryMethodsListModel",(function(){return c})),n.d(e,"ExplainQueryMethodModel",(function(){return h})),n.d(e,"ExplainQueryType",(function(){return f}));var u=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),this._chatId=e.chatId,this._answerId=e.answerId,this._queryMethods=e.queryMethods,this._expanded=void 0===e.expanded||e.expanded}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"answerId",get:function(){return this._answerId},set:function(t){this._answerId=t}},{key:"queryMethods",get:function(){return this._queryMethods},set:function(t){this._queryMethods=t}},{key:"expanded",get:function(){return this._expanded},set:function(t){this._expanded=t}}])}(),c=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,t),this._items=e}),[{key:"items",get:function(){return this._items},set:function(t){this._items=t}}])}(),h=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),this._name=e.name,this._rawQuery=e.rawQuery,this._query=e.query,this._queryType=e.queryType,this._errorMessage=e.errorOutput}),[{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"rawQuery",get:function(){return this._rawQuery},set:function(t){this._rawQuery=t}},{key:"query",get:function(){return this._query},set:function(t){this._query=t}},{key:"queryType",get:function(){return this._queryType},set:function(t){this._queryType=t}},{key:"errorMessage",get:function(){return this._errorMessage},set:function(t){this._errorMessage=t}}])}(),f={SPARQL:"sparql",JSON:"json",OTHER:"other"}},240:function(t,e,n){"use strict";n.r(e);n(190);var i=n(102),s=n(108),r=n(112),a=n(24),o=n(1),u=n(135);function c(t,e,n,c){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:function(t,c,h){t.chat=void 0,t.selectedAgent=void 0,t.chatItem=void 0,t.askingChatItem=void 0,t.waitingForLastMessage=!1,t.loadingChat=!0,t.ask=function(){t.chatItem.question.timestamp=Date.now(),t.askingChatItem=Object(a.cloneDeep)(t.chatItem),t.chatItem.chatId?y(t.chatItem):f(),t.chatItem=l(),p(),d()},t.regenerateQuestion=function(e){var n=l();n.setQuestionMessage(e.getQuestionMessage()),n.question.timestamp=Date.now(),t.askingChatItem=n,y(n),p()},t.onKeypressOnInput=function(e){t.askingChatItem||"Enter"!==e.key||e.shiftKey||e.ctrlKey||t.ask()},t.onAskHowDeliveredAnswer=function(){var n=l();n.setQuestionMessage(e.instant("ttyg.chat_panel.btn.derive_answer.label")),n.question.timestamp=Date.now(),t.askingChatItem=Object(a.cloneDeep)(n),y(n),p()},t.getAgentName=function(t){var i=n.getAgent(t);return i?i.name:Object(o.decodeHTML)(e.instant("ttyg.chat_panel.deleted_agent"))};var f=function(){t.waitingForLastMessage=!0,n.emit(i.TTYGEventName.CREATE_CHAT,t.chatItem)},y=function(e){t.waitingForLastMessage=!0,n.emit(i.TTYGEventName.ASK_QUESTION,e)},m=function(){t.chatItem=Object(a.cloneDeep)(t.askingChatItem),t.askingChatItem=void 0,t.waitingForLastMessage=!1},l=function(){var e=new r.ChatItemModel;return e.question=new s.ChatMessageModel({role:s.CHAT_MESSAGE_ROLE.USER}),t.chat&&(e.chatId=t.chat.id),t.selectedAgent&&(e.agentId=t.selectedAgent.id),e},d=function(){setTimeout((function(){var t=document.querySelector(".question-input");t&&t.focus()}))},p=function(){setTimeout((function(){var t=c.find(".chat-details")[0];t&&(t.scrollTop=t.scrollHeight)}))},g=function(){t.chat=u.ChatModel.getEmptyChat(),t.loadingChat=!1,t.chatItem=l(),t.askingChatItem=void 0,t.waitingForLastMessage=!1,d()},_=[];_.push(t.$watchCollection("chat.chatHistory.items",p)),_.push(n.onSelectedChatUpdated((function(e){if(t.chat=e,e&&(e.id||!t.askingChatItem)){t.loadingChat=!1;var i=t.chatItem.question.message;if(t.chatItem=l(),t.chatItem.question.message=i,t.askingChatItem=void 0,t.chat){var s=t.chat.chatHistory.getLast();s&&s.agentId&&n.selectAgent(n.getAgent(s.agentId))}d()}}))),_.push(n.onLastMessageReceived((function(){t.waitingForLastMessage=!1}))),_.push(n.onSelectedAgentChanged((function(e){t.selectedAgent=e,t.selectedAgent&&t.chatItem&&(t.chatItem.agentId=t.selectedAgent.id),d()}))),_.push(n.onSelectedChatChanged((function(e){e?(t.loadingChat=e&&e.id,t.chatItem=l(),d()):g()}))),_.push(n.subscribe(i.TTYGEventName.LOAD_CHAT_FAILURE,(function(){t.loadingChat=!1,t.chatItem=l(),d()}))),_.push(n.subscribe(i.TTYGEventName.ASK_QUESTION_FAILURE,m)),_.push(n.subscribe(i.TTYGEventName.CREATE_CHAT_FAILURE,m)),_.push(n.subscribe(i.TTYGEventName.DELETE_CHAT_SUCCESSFUL,(function(e){t.chat&&e.id===t.chat.id&&g()}))),t.$on("$destroy",(function(){_.forEach((function(t){return t()}))})),t.chat=u.ChatModel.getEmptyChat(),t.chatItem=l(),d()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService","$timeout"]}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[62,98,132,333,334,335],{108:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function r(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var s=n.call(t,e||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ChatMessageModel",(function(){return a})),n.d(e,"CHAT_MESSAGE_ROLE",(function(){return o}));var a=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._id=e.id,this._role=e.role,this._message=e.message,this._timestamp=1e3*e.timestamp},(e=[{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"role",get:function(){return this._role},set:function(t){this._role=t}},{key:"message",get:function(){return this._message},set:function(t){this._message=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}}])&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),o={USER:"user",ASSISTANT:"assistant"}},112:function(t,e,n){"use strict";n.r(e),n.d(e,"ChatItemModel",(function(){return c})),n.d(e,"ChatItemsListModel",(function(){return h}));var i=n(108);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,u(i.key),i)}}function o(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}var c=function(){return o((function t(e,n){r(this,t),this._chatId=e,this._agentId=void 0,this._question=n,this._answers=[]}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"agentId",get:function(){return this._agentId},set:function(t){this._agentId=t}},{key:"question",get:function(){return this._question},set:function(t){this._question=t}},{key:"answers",get:function(){return this._answers},set:function(t){this._answers=t}},{key:"setQuestionMessage",value:function(t){this._question||(this._question=new i.ChatMessageModel({role:i.CHAT_MESSAGE_ROLE.USER})),this._question.message=t}},{key:"getQuestionMessage",value:function(){return this._question.message}},{key:"toCreateChatRequestPayload",value:function(){return{agentId:this._agentId,question:this._question.message}}},{key:"toAskRequestPayload",value:function(){return{conversationId:this._chatId,agentId:this._agentId,question:this._question.message,tzOffset:-(new Date).getTimezoneOffset()}}},{key:"toExplainResponsePayload",value:function(t){return{conversationId:this._chatId,answerId:t}}}])}(),h=function(){return o((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];r(this,t),this._items=e}),[{key:"isEmpty",value:function(){return 0===this._items.length}},{key:"appendItem",value:function(t){this._items.push(t)}},{key:"items",get:function(){return this._items},set:function(t){this._items=t||[]}},{key:"getLast",value:function(){if(!this.isEmpty())return this._items[this._items.length-1]}}])}()},137:function(t,e,n){"use strict";n.r(e),n.d(e,"ChatModel",(function(){return h})),n.d(e,"ChatByDayModel",(function(){return f})),n.d(e,"ChatsListModel",(function(){return y}));var i=n(112),s=n(28);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function u(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}var h=function(){function t(e,n){a(this,t),this.hashGenerator=n,this._id=e.id,this._name=e.name,this._timestamp=e.timestamp,this._chatHistory=e.chatHistory||new i.ChatItemsListModel,this.hash=this.generateHash()}return u(t,[{key:"generateHash",value:function(){return this.hashGenerator(JSON.stringify(this))}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this.generateHash(),this._name=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"chatHistory",get:function(){return this._chatHistory},set:function(t){this._chatHistory=t||new i.ChatItemsListModel}},{key:"toRenameRequestPayload",value:function(){return{name:this._name}}}],[{key:"getEmptyChat",value:function(){return new t({name:"· · ·",timestamp:Math.floor(Date.now()/1e3)},Object(s.md5HashGenerator)())}}])}(),f=function(){return u((function t(e){a(this,t),this._day=e.day,this._timestamp=e.timestamp,this._chats=e.chats}),[{key:"day",get:function(){return this._day},set:function(t){this._day=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"chats",get:function(){return this._chats},set:function(t){this._chats=t}}])}(),y=function(){return u((function t(e){a(this,t),this._chats=e||[],this._chatsByDay=[],this.sortByTime(),this.updateChatsByDay()}),[{key:"sortByTime",value:function(){this._chats.sort((function(t,e){return e.timestamp-t.timestamp}))}},{key:"updateChatTimestamp",value:function(t,e){var n=this._chats.find((function(e){return e.id===t}));n&&(n.timestamp=e,this.sortByTime(),this.updateChatsByDay())}},{key:"updateChatName",value:function(t,e){var n=this._chats.find((function(e){return e.id===t}));n&&(n.name=e)}},{key:"deleteChat",value:function(t){this._chats=this._chats.filter((function(e){return e.id!==t.id})),this.sortByTime(),this.updateChatsByDay()}},{key:"updateChatsByDay",value:function(){var t=this;this._chatsByDay=[],this._chats.forEach((function(e){var n=new Date(1e3*e.timestamp).toDateString(),i=t._chatsByDay.find((function(t){return t.day===n}));i?i.chats.push(e):t._chatsByDay.push(new f({day:n,timestamp:1e3*e.timestamp,chats:[e]}))}))}},{key:"appendChat",value:function(t){this._chats.push(t),this.sortByTime(),this.updateChatsByDay()}},{key:"replaceChat",value:function(t,e){this._chats=this._chats.map((function(n){return n.id===e.id?t:n})),this.sortByTime(),this.updateChatsByDay()}},{key:"isEmpty",value:function(){return 0===this._chats.length}},{key:"getFirstChat",value:function(){return this._chats[0]}},{key:"deselectAll",value:function(){this._chats.forEach((function(t){t.selected=!1}))}},{key:"selectChat",value:function(t){this.deselectAll(),this._chats.forEach((function(e){e.selected=e.id===t.id}))}},{key:"getChat",value:function(t){return this._chats.find((function(e){return e.id===t}))}},{key:"getNonPersistedChat",value:function(){return this._chats.find((function(t){return!t.id}))}},{key:"renameChat",value:function(t){var e=this._chats.find((function(e){return e.id===t.id}));e&&(e.name=t.name)}},{key:"chats",get:function(){return this._chats},set:function(t){this._chats=t}},{key:"chatsByDay",get:function(){return this._chatsByDay},set:function(t){this._chatsByDay=t}}])}()},144:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,o(i.key),i)}}function a(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var s=n.call(t,e||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,"ExplainResponseModel",(function(){return u})),n.d(e,"ExplainQueryMethodsListModel",(function(){return c})),n.d(e,"ExplainQueryMethodModel",(function(){return h})),n.d(e,"ExplainQueryType",(function(){return f}));var u=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),this._chatId=e.chatId,this._answerId=e.answerId,this._queryMethods=e.queryMethods,this._expanded=void 0===e.expanded||e.expanded}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"answerId",get:function(){return this._answerId},set:function(t){this._answerId=t}},{key:"queryMethods",get:function(){return this._queryMethods},set:function(t){this._queryMethods=t}},{key:"expanded",get:function(){return this._expanded},set:function(t){this._expanded=t}}])}(),c=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,t),this._items=e}),[{key:"items",get:function(){return this._items},set:function(t){this._items=t}}])}(),h=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,t),this._name=e.name,this._rawQuery=e.rawQuery,this._query=e.query,this._queryType=e.queryType,this._errorMessage=e.errorOutput}),[{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"rawQuery",get:function(){return this._rawQuery},set:function(t){this._rawQuery=t}},{key:"query",get:function(){return this._query},set:function(t){this._query=t}},{key:"queryType",get:function(){return this._queryType},set:function(t){this._queryType=t}},{key:"errorMessage",get:function(){return this._errorMessage},set:function(t){this._errorMessage=t}}])}(),f={SPARQL:"sparql",JSON:"json",OTHER:"other"}},240:function(t,e,n){"use strict";n.r(e);n(190);var i=n(102),s=n(108),r=n(112),a=n(24),o=n(1),u=n(137);function c(t,e,n,c){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-panel.html",link:function(t,c,h){t.chat=void 0,t.selectedAgent=void 0,t.chatItem=void 0,t.askingChatItem=void 0,t.waitingForLastMessage=!1,t.loadingChat=!0,t.ask=function(){t.chatItem.question.timestamp=Date.now(),t.askingChatItem=Object(a.cloneDeep)(t.chatItem),t.chatItem.chatId?y(t.chatItem):f(),t.chatItem=l(),p(),d()},t.regenerateQuestion=function(e){var n=l();n.setQuestionMessage(e.getQuestionMessage()),n.question.timestamp=Date.now(),t.askingChatItem=n,y(n),p()},t.onKeypressOnInput=function(e){t.askingChatItem||"Enter"!==e.key||e.shiftKey||e.ctrlKey||t.ask()},t.onAskHowDeliveredAnswer=function(){var n=l();n.setQuestionMessage(e.instant("ttyg.chat_panel.btn.derive_answer.label")),n.question.timestamp=Date.now(),t.askingChatItem=Object(a.cloneDeep)(n),y(n),p()},t.getAgentName=function(t){var i=n.getAgent(t);return i?i.name:Object(o.decodeHTML)(e.instant("ttyg.chat_panel.deleted_agent"))};var f=function(){t.waitingForLastMessage=!0,n.emit(i.TTYGEventName.CREATE_CHAT,t.chatItem)},y=function(e){t.waitingForLastMessage=!0,n.emit(i.TTYGEventName.ASK_QUESTION,e)},m=function(){t.chatItem=Object(a.cloneDeep)(t.askingChatItem),t.askingChatItem=void 0,t.waitingForLastMessage=!1},l=function(){var e=new r.ChatItemModel;return e.question=new s.ChatMessageModel({role:s.CHAT_MESSAGE_ROLE.USER}),t.chat&&(e.chatId=t.chat.id),t.selectedAgent&&(e.agentId=t.selectedAgent.id),e},d=function(){setTimeout((function(){var t=document.querySelector(".question-input");t&&t.focus()}))},p=function(){setTimeout((function(){var t=c.find(".chat-details")[0];t&&(t.scrollTop=t.scrollHeight)}))},g=function(){t.chat=u.ChatModel.getEmptyChat(),t.loadingChat=!1,t.chatItem=l(),t.askingChatItem=void 0,t.waitingForLastMessage=!1,d()},_=[];_.push(t.$watchCollection("chat.chatHistory.items",p)),_.push(n.onSelectedChatUpdated((function(e){if(t.chat=e,e&&(e.id||!t.askingChatItem)){t.loadingChat=!1;var i=t.chatItem.question.message;if(t.chatItem=l(),t.chatItem.question.message=i,t.askingChatItem=void 0,t.chat){var s=t.chat.chatHistory.getLast();s&&s.agentId&&n.selectAgent(n.getAgent(s.agentId))}d()}}))),_.push(n.onLastMessageReceived((function(){t.waitingForLastMessage=!1}))),_.push(n.onSelectedAgentChanged((function(e){t.selectedAgent=e,t.selectedAgent&&t.chatItem&&(t.chatItem.agentId=t.selectedAgent.id),d()}))),_.push(n.onSelectedChatChanged((function(e){e?(t.loadingChat=e&&e.id,t.chatItem=l(),d()):g()}))),_.push(n.subscribe(i.TTYGEventName.LOAD_CHAT_FAILURE,(function(){t.loadingChat=!1,t.chatItem=l(),d()}))),_.push(n.subscribe(i.TTYGEventName.ASK_QUESTION_FAILURE,m)),_.push(n.subscribe(i.TTYGEventName.CREATE_CHAT_FAILURE,m)),_.push(n.subscribe(i.TTYGEventName.DELETE_CHAT_SUCCESSFUL,(function(e){t.chat&&e.id===t.chat.id&&g()}))),t.$on("$destroy",(function(){_.forEach((function(t){return t()}))})),t.chat=u.ChatModel.getEmptyChat(),t.chatItem=l(),d()}}}angular.module("graphdb.framework.ttyg.directives.chat-panel",["graphdb.framework.ttyg.directives.chat-item-detail"]).directive("chatPanel",c),c.$inject=["toastr","$translate","TTYGContextService","$timeout"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[63,86,113,392],{121:function(e,t,o){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}o.r(t),o.d(t,"UrlUtils",(function(){return l}));var a=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,c=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i,l=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},o=[{key:"isValidUrl",value:function(e){return a.test(e)||c.test(e)}},{key:"doesNotContain",value:function(e,t){return!new RegExp(t).test(e)}},{key:"doesNotUseProtocol",value:function(e,t){return!new RegExp("^("+t.join("|")+")://","i").test(e)}}],(t=null)&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}()},130:function(e,t,o){"use strict";o.r(t);var n=o(121);angular.module("graphdb.framework.core.directives.validate-url",[]).directive("validateUrl",(function(){return{restrict:"A",require:"ngModel",link:function(e,t,o,r){r.$validators.validUrl=function(e,t){if(r.$isEmpty(t))return"false"!==o.allowEmpty;if(!n.UrlUtils.isValidUrl(t))return!1;if(o.exclude&&!n.UrlUtils.doesNotContain(t,o.exclude))return!1;if(o.excludeProtocol){var i=o.excludeProtocol.split(",");if(!n.UrlUtils.doesNotUseProtocol(t,i))return!1}return!0}}}}))},256:function(e,t,o){"use strict";o.r(t);o(34);var n=o(31),r=o(1);o(130);function i(e,t,o,i,a,c,l,u,s,f,d,p){var g;function m(){g&&t.cancel(g)}e.pluginName="autocomplete",e.setPluginIsActive=function(t){e.pluginIsActive=t};var b=function(){f.checkAutocompleteStatus().then((function(t){e.autocompleteEnabled=t,p.setAutocompleteEnabled(t)})).catch((function(e){o.error(getError(e))}))},v=function(){f.refreshIndexIRIs().success((function(t){e.shouldIndexIRIs=t})).error((function(e){o.error(getError(e))}))},h=function(){f.refreshIndexStatus().success((function(t){e.indexStatus=t})).error((function(e){o.error(getError(e))}))},y=function(){f.refreshLabelConfig().success((function(t){e.labelConfig=t})).error((function(e){o.error(getError(e))}))},L=function(e,t){var o=s.expandPrefix(e.labelIri.toString(),t);return!(!s.isValidIri(e,o)||""===o)&&(e.labelIri=o,!0)};function I(e){var t=Object(r.decodeHTML)(d.instant("not.valid.iri",{value:e.toString()}));o.error(t)}function w(t){t.then((function(){y(),h()})).catch((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}e.checkForPlugin=function(){e.pluginFound=!1,e.setLoader(!0),f.checkForPlugin().success((function(t){e.pluginFound=!0===t,e.pluginFound?(E(),b(),v(),h(),y()):(e.autocompleteEnabled=!1,e.loading=!1)})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))};var x=function(){g=t((function(){e.$broadcast("checkIsActive"),e.autocompleteEnabled&&h()}),5e3)};e.$on("$destroy",(function(){m()}));e.setLoader=function(t,o){l.cancel(e.loaderTimeout),t?e.loaderTimeout=l((function(){e.loader=t,e.loaderMessage=o}),300):e.loader=!1},e.getLoaderMessage=function(){return e.loaderMessage||d.instant("common.loading")},e.toggleAutocomplete=function(){var t=!e.autocompleteEnabled;e.setLoader(!0,t?d.instant("autocomplete.enabling"):d.instant("autocomplete.disabling")),f.toggleAutocomplete(t).success((function(){b(),h()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.toggleIndexIRIs=function(){e.setLoader(!0,d.instant("autocomplete.index.iri")),f.toggleIndexIRIs(!e.shouldIndexIRIs).success((function(){v(),h()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.buildIndex=function(){e.setLoader(!0,d.instant("autocomplete.index.build")),f.buildIndex().success((function(){e.indexStatus="BUILDING"})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.interruptIndexing=function(){e.setLoader(!0,d.instant("index.interrupt")),f.interruptIndexing().success((function(){h()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))},e.getDegradedReason=function(){return i.getDegradedReason()},e.addLabel=function(){e.editLabel({labelIri:"",languages:""},!0)},e.editLabel=function(t,o){var n=o?function(t){return o=t.updated,e.setLoader(!0,d.instant("autocomplete.update")),void(L(o,e.namespaces)?w(f.addLabelConfig(o)):(I(o.labelIri),e.setLoader(!1)));var o}:function(t){return o=t.updated,n=t.original,e.setLoader(!0,d.instant("autocomplete.update")),void(L(o,e.namespaces)?w(f.editLabelConfig(o,n)):(I(o.labelIri),e.setLoader(!1)));var o,n};c.open({templateUrl:"js/angular/autocomplete/templates/modal/add-label.html",controller:"AddLabelCtrl",resolve:{data:function(){return{label:t,isNew:o}}}}).result.then(n)},e.removeLabel=function(t){!function(t){e.setLoader(!0,d.instant("autocomplete.update")),f.removeLabelConfig(t).success((function(){y(),h()})).error((function(e){o.error(getError(e))})).finally((function(){e.setLoader(!1)}))}(t)},e.$on("repositoryIsSet",(function(){m(),a.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),x())}));var E=function(){u.getNamespaces(i.getActiveRepository()).then(n.mapNamespacesResponse).then((function(t){e.namespaces=t})).catch((function(e){var t=getError(e);o.error(t,d.instant("error.getting.namespaces.for.repo"))}))};a.isLicenseValid()&&i.getActiveRepository()&&!i.isActiveRepoOntopType()&&!i.isActiveRepoFedXType()&&(e.checkForPlugin(),x())}function a(e,t,o,n){e.label=_.cloneDeep(n.label),e.originalLabel=_.cloneDeep(n.label),e.isNew=n.isNew,e.ok=function(){e.form.$valid&&t.close({original:e.originalLabel,updated:e.label})},e.cancel=function(){t.dismiss("cancel")},e.setTemplate=function(t){e.label.labelIri=t,o((function(){$("#wb-autocomplete-languages").focus()}),0)}}angular.module("graphdb.framework.autocomplete.controllers",["toastr","graphdb.framework.rest.autocomplete.service","graphdb.framework.core.directives.validate-url"]).controller("AutocompleteCtrl",i).controller("AddLabelCtrl",a),i.$inject=["$scope","$interval","toastr","$repositories","$licenseService","$uibModal","$timeout","RDF4JRepositoriesRestService","UriUtils","AutocompleteService","$translate","WorkbenchContextService"],a.$inject=["$scope","$uibModalInstance","$timeout","data"]},387:function(e,t,o){"use strict";o.r(t);o(256);angular.module("graphdb.framework.autocomplete",["ngRoute","graphdb.framework.autocomplete.controllers"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[64,167,172,239,240],{116:function(n,t,e){"use strict";e.r(t),e.d(t,"NodeState",(function(){return r})),e.d(t,"RecoveryState",(function(){return a})),e.d(t,"LinkState",(function(){return i})),e.d(t,"TopologyState",(function(){return o}));var r={LEADER:"LEADER",FOLLOWER:"FOLLOWER",CANDIDATE:"CANDIDATE",OUT_OF_SYNC:"OUT_OF_SYNC",NO_CONNECTION:"NO_CONNECTION",READ_ONLY:"READ_ONLY",RESTRICTED:"RESTRICTED",NO_CLUSTER:"NO_CLUSTER"},a={SEARCHING_FOR_NODE:"SEARCHING_FOR_NODE",WAITING_FOR_SNAPSHOT:"WAITING_FOR_SNAPSHOT",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT",APPLYING_SNAPSHOT:"APPLYING_SNAPSHOT",BUILDING_SNAPSHOT:"BUILDING_SNAPSHOT",SENDING_SNAPSHOT:"SENDING_SNAPSHOT",RECOVERY_OPERATION_FAILURE_WARNING:"RECOVERY_OPERATION_FAILURE_WARNING"},i={IN_SYNC:"IN_SYNC",OUT_OF_SYNC:"OUT_OF_SYNC",SYNCING:"SYNCING",NO_CONNECTION:"NO_CONNECTION",RECEIVING_SNAPSHOT:"RECEIVING_SNAPSHOT"},o={PRIMARY_NODE:"PRIMARY_NODE",SECONDARY_NODE:"SECONDARY_NODE"}},161:function(n,t){angular.module("graphdb.framework.core.directives.ascii-validator",[]).directive("asciiValidator",(function(){return{restrict:"A",require:"ngModel",link:function(n,t,e,r){function a(n){var t=/^[\x21-\x7E]*$/.test(n);return r.$setValidity("asciiValidator",t),n}r.$parsers.push(a),r.$formatters.push(a)}}}))},162:function(n,t){angular.module("graphdb.framework.core.directives.length-validator",[]).directive("lengthValidator",(function(){return{restrict:"A",require:"ngModel",link:function(n,t,e,r){function a(n){var t=e.minLength?parseInt(e.minLength,10):0,a=e.maxLength?parseInt(e.maxLength,10):1/0,i=n&&n.length>=t&&n.length<=a;return r.$setValidity("lengthValidator",i),n}r.$parsers.push(a),r.$formatters.push(a)}}}))},195:function(n,t,e){"use strict";e.r(t);e(161),e(162);var r=e(145),a=e(116),i={minLen:"3",maxLen:"255"};function o(n,t,e,o,c,u,s){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration/multi-region.html",scope:{clusterModel:"=",clusterConfiguration:"="},link:function(l){var g=[];l.topology=void 0,l.TopologyState=a.TopologyState,l.isAdmin=!1,l.addingTag=!1,l.loaderTimeout=void 0,l.secondaryTag=void 0,l.TagLengthConstraints=i,l.add=function(){l.addingTag=!0},l.cancel=function(){l.addingTag=!1},l.createTag=function(n){var e={tag:n};return f(!0),u.addCusterTag(e).then((function(){o.success(t.instant("cluster_management.cluster_configuration_multi_region.created_tag",{tag:n}))})).catch((function(n){var e=getError(n);o.error(e,t.instant("cluster_management.cluster_configuration_multi_region.error.creating"))})).finally((function(){l.addingTag=!1,f(!1)}))},l.deleteTag=function(n){c.openSimpleModal({title:t.instant("cluster_management.cluster_configuration_multi_region.confirm.delete",{tag:n}),message:t.instant("cluster_management.cluster_configuration_multi_region.confirm.warning"),warning:!0,backdrop:"static",stopPropagation:!0}).result.then((function(){return f(!0),u.deleteClusterTag(n)})).then((function(){return o.success(t.instant("cluster_management.cluster_configuration_multi_region.deleted_tag",{tag:n}))})).catch((function(n){if("cancel"!==n&&"escape key press"!==n){var e=getError(n);o.error(e,t.instant("cluster_management.cluster_configuration_multi_region.error.deleting"))}})).finally((function(){return f(!1)}))},l.enableSecondaryMode=function(){l.addingTag=!1;var n={title:t.instant("cluster_management.cluster_configuration_multi_region.confirm.enable_secondary"),message:t.instant("cluster_management.cluster_configuration_multi_region.confirm.enable_secondary_warning"),warning:!0,backdrop:"static",confirmButtonKey:"common.ok.btn",stopPropagation:!0};c.openSimpleModal(n).result.then((function(){return d()})).then((function(n){return f(!0),u.enableSecondaryMode(n)})).then((function(){return o.success(t.instant("cluster_management.cluster_configuration_multi_region.secondary_enabled"))})).catch((function(n){if("cancel"!==n&&"escape key press"!==n){var e=getError(n);o.error(e,t.instant("cluster_management.cluster_configuration_multi_region.error.secondary"))}})).finally((function(){return f(!1)}))},l.disableSecondaryMode=function(){c.openSimpleModal({title:t.instant("cluster_management.cluster_configuration_multi_region.confirm.disable_secondary_mode"),message:t.instant("cluster_management.cluster_configuration_multi_region.confirm.disable_secondary_mode_warning"),warning:!0,backdrop:"static",stopPropagation:!0}).result.then((function(){return f(!0),u.disableSecondaryMode()})).then((function(){return o.success(t.instant("cluster_management.cluster_configuration_multi_region.disabled_secondary_mode"))})).catch((function(n){if("cancel"!==n&&"escape key press"!==n){var e=getError(n);o.error(e,t.instant("cluster_management.cluster_configuration_multi_region.error.disabling"))}})).finally((function(){return f(!1)}))};var d=function(){var n={title:t.instant("cluster_management.cluster_configuration_multi_region.secondary_cluster_settings"),templateUrl:"js/angular/clustermanagement/templates/modal/secondary-mode-modal.html",controller:["$scope","$uibModalInstance","config",function(n,t,e){n.rpcAddress="",n.tag="",n.title=e.title,n.onClick=function(n){return n.stopPropagation()},n.ok=function(){t.close({primaryNode:n.rpcAddress,tag:n.tag})},n.cancel=function(){t.dismiss("cancel")}}],size:"lg",warning:!0,backdrop:"static"};return c.openCustomModal(n).result},_=function(n){f(!0),u.getClusterConfig().then((function(t){l.secondaryTag=r.ClusterConfiguration.fromJSON(t.data).secondaryTag,function(n){var t=n.nodes.find((function(n){return n.nodeState===a.NodeState.LEADER}));l.topology=t.topologyStatus}(r.ClusterModel.fromJSON(n))})).catch((function(n){var e=getError(n);o.error(e,t.instant("cluster_management.cluster_configuration_multi_region.error.disabling"))})).finally((function(){return f(!1)}))},m=function(n){n||(l.addingTag=!1)},f=function(n,t){e.cancel(l.loaderTimeout),n?(l.loaderMessage=t,l.loaderTimeout=e((function(){l.loader=n}),150)):l.loader=!1};l.$on("$destroy",(function(){g.forEach((function(n){return n()}))}));l.isAdmin=n.isAuthenticated()&&n.isAdmin(),g.push(l.$watch("clusterModel",(function(n,t){n!==t&&_(n)}),!0)),g.push(s.onShowClusterConfigurationPanel(m)),_(l.clusterModel)}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration.multi-region",["graphdb.framework.core.directives.ascii-validator","graphdb.framework.core.directives.length-validator"]).directive("multiRegion",o),o.$inject=["$jwtAuth","$translate","$timeout","toastr","ModalService","ClusterRestService","ClusterViewContextService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[65,173],{122:function(e,n,t){"use strict";t.r(n);var o=t(109);function r(e){return{restrict:"E",scope:{field:"=",form:"=",translationKeyPrefix:"="},templateUrl:"js/angular/core/directives/dynamic-form/templates/form-field-template.html",link:function(e){e.FIELD_TYPE=o.FIELD_TYPE}}}angular.module("graphdb.framework.core.directives.dynamic-form-field",[]).directive("dynamicFormField",r),r.$inject=[]},132:function(e,n,t){"use strict";t.r(n);t(122);var o=t(109);function r(){return{restrict:"E",scope:{formModel:"=",showAllFields:"=?",onValidityChange:"&?",formCtrl:"=?",translationKeyPrefix:"@?"},templateUrl:"js/angular/core/directives/dynamic-form/templates/dynamic-form.html",link:function(e,n){e.FIELD_TYPE=o.FIELD_TYPE,e.formCtrl=void 0,e.showAllFields=e.showAllFields||!1;!function(){var t=n.find("form").controller("form");if(t){e.formCtrl=t;var o=t.$setValidity;e.formCtrl.$setValidity=function(n,r,i){o.call(t,n,r,i),e.onValidityChange&&e.onValidityChange({valid:t.$valid})}}else console.error("Form controller not found!")}()}}}angular.module("graphdb.framework.core.directives.dynamic-form",["graphdb.framework.core.directives.dynamic-form-field"]).directive("dynamicForm",r),r.$inject=[]},135:function(e,n){angular.module("graphdb.framework.core.directives.multiselect-dropdown",[]).directive("multiselectDropdown",["$translate",function(e){return{restrict:"E",require:"ngModel",scope:{options:"=",dropdownLabel:"=?"},templateUrl:"js/angular/core/directives/multiselect-dropdown/templates/multiselect-dropdown.html",link:function(n,t,o,r){n.isOpen=!1;var i=function(e){t[0].contains(e.target)||n.$apply((function(){n.isOpen=!1}))};n.toggleDropdown=function(){n.isOpen=!n.isOpen},n.toggleSelection=function(e){var t;e.selected=!e.selected,t=n.options.filter((function(e){return e.selected})),r.$setViewValue(t)},n.getSelectedText=function(){var t=n.options.filter((function(e){return e.selected}));return 0===t.length?n.dropdownLabel||e.instant("common.select"):t.map((function(e){return e.label})).join(", ")},r.$render=function(){angular.isArray(r.$viewValue)&&n.options.forEach((function(e){e.selected=r.$viewValue.some((function(n){return n.value===e.value}))}))},document.addEventListener("click",i),n.$on("$destroy",(function(){document.removeEventListener("click",i)}))}}}])},222:function(e,n,t){"use strict";t.r(n);t(127),t(132),t(135);function o(e,n,t,o){e.endpointReport=void 0,e.downloadReport=function(){var n=JSON.stringify(e.endpointReport.toJSON(),null,2),t=new Blob([n],{type:"application/json"}),o=URL.createObjectURL(t),r=document.createElement("a");r.href=o,r.download=e.endpointReport.endpointId?"".concat(e.endpointReport.endpointId,"-").concat("generation-report.json"):"generation-report.json",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(o)},e.deleteReport=function(){o.deleteEndpointGenerationReport(e.endpointReport),e.close()},e.close=function(){n.dismiss("cancel")};e.endpointReport=t.endpointReport}angular.module("graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal",["graphdb.framework.core.services.graphql-service"]).controller("EndpointGenerationResultFailureModalController",o),o.$inject=["$scope","$uibModalInstance","data","GraphqlContextService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[66,173],{122:function(n,t,e){"use strict";e.r(t);var i=e(109);function o(n){return{restrict:"E",scope:{field:"=",form:"=",translationKeyPrefix:"="},templateUrl:"js/angular/core/directives/dynamic-form/templates/form-field-template.html",link:function(n){n.FIELD_TYPE=i.FIELD_TYPE}}}angular.module("graphdb.framework.core.directives.dynamic-form-field",[]).directive("dynamicFormField",o),o.$inject=[]},132:function(n,t,e){"use strict";e.r(t);e(122);var i=e(109);function o(){return{restrict:"E",scope:{formModel:"=",showAllFields:"=?",onValidityChange:"&?",formCtrl:"=?",translationKeyPrefix:"@?"},templateUrl:"js/angular/core/directives/dynamic-form/templates/dynamic-form.html",link:function(n,t){n.FIELD_TYPE=i.FIELD_TYPE,n.formCtrl=void 0,n.showAllFields=n.showAllFields||!1;!function(){var e=t.find("form").controller("form");if(e){n.formCtrl=e;var i=e.$setValidity;n.formCtrl.$setValidity=function(t,o,r){i.call(e,t,o,r),n.onValidityChange&&n.onValidityChange({valid:e.$valid})}}else console.error("Form controller not found!")}()}}}angular.module("graphdb.framework.core.directives.dynamic-form",["graphdb.framework.core.directives.dynamic-form-field"]).directive("dynamicForm",o),o.$inject=[]},135:function(n,t){angular.module("graphdb.framework.core.directives.multiselect-dropdown",[]).directive("multiselectDropdown",["$translate",function(n){return{restrict:"E",require:"ngModel",scope:{options:"=",dropdownLabel:"=?"},templateUrl:"js/angular/core/directives/multiselect-dropdown/templates/multiselect-dropdown.html",link:function(t,e,i,o){t.isOpen=!1;var r=function(n){e[0].contains(n.target)||t.$apply((function(){t.isOpen=!1}))};t.toggleDropdown=function(){t.isOpen=!t.isOpen},t.toggleSelection=function(n){var e;n.selected=!n.selected,e=t.options.filter((function(n){return n.selected})),o.$setViewValue(e)},t.getSelectedText=function(){var e=t.options.filter((function(n){return n.selected}));return 0===e.length?t.dropdownLabel||n.instant("common.select"):e.map((function(n){return n.label})).join(", ")},o.$render=function(){angular.isArray(o.$viewValue)&&t.options.forEach((function(n){n.selected=o.$viewValue.some((function(t){return t.value===n.value}))}))},document.addEventListener("click",r),t.$on("$destroy",(function(){document.removeEventListener("click",r)}))}}}])},312:function(n,t,e){"use strict";e.r(t);e(127),e(132),e(135);function i(n,t,e,i,o,r){n.repositoryId=e.repositoryId,n.endpointConfiguration=e.endpointConfiguration,n.endpointConfigurationSettings=void 0,n.endpointConfigurationSettingsValid=!1,n.loadingEndpointConfigurationSettings=!1,n.savingEndpointSettings=!1,n.showAdvancedSettings=!1,n.ok=function(){a()},n.cancel=function(){t.dismiss("cancel")},n.handleValidityChange=function(t){n.endpointConfigurationSettingsValid=t},n.toggleAdvancedSettings=function(){n.showAdvancedSettings=!n.showAdvancedSettings};var a=function(){n.savingEndpointSettings=!0;var e=n.endpointConfiguration.toUpdateEndpointRequest(n.endpointConfigurationSettings);r.editEndpointConfiguration(n.repositoryId,n.endpointConfiguration.endpointId,e.getUpdateEndpointSettingsRequest()).then((function(){t.close(),o.success(i.instant("graphql.endpoints_management.endpoint_configuration_modal.messages.success_saving_configuration"))})).catch((function(n){o.error(getError(n),i.instant("graphql.endpoints_management.endpoint_configuration_modal.messages.error_saving_configuration"))})).finally((function(){n.savingEndpointSettings=!1}))};n.loadingEndpointConfigurationSettings=!0,r.getGraphqlEndpointConfigurationSettings(n.repositoryId,n.endpointConfiguration.endpointId).then((function(t){n.endpointConfigurationSettings=t})).catch((function(n){o.error(getError(n))})).finally((function(){n.loadingEndpointConfigurationSettings=!1}))}angular.module("graphdb.framework.graphql.controllers.graphql-endpoint-configuration-modal",["graphdb.framework.core.services.graphql-service","graphdb.framework.core.directives.dynamic-form","graphdb.framework.core.directives.multiselect-dropdown"]).controller("GraphqlEndpointConfigurationModalController",i),i.$inject=["$scope","$uibModalInstance","data","$translate","toastr","GraphqlService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[67,173],{122:function(e,n,t){"use strict";t.r(n);var o=t(109);function r(e){return{restrict:"E",scope:{field:"=",form:"=",translationKeyPrefix:"="},templateUrl:"js/angular/core/directives/dynamic-form/templates/form-field-template.html",link:function(e){e.FIELD_TYPE=o.FIELD_TYPE}}}angular.module("graphdb.framework.core.directives.dynamic-form-field",[]).directive("dynamicFormField",r),r.$inject=[]},125:function(e,n,t){"use strict";t.r(n),t.d(n,"GraphqlEventName",(function(){return c}));var o=t(24),r=t(158);t(119);function i(e){var n=void 0,t=void 0,i=void 0,a=function(){return n},E=function(){return i},l=function(n,t){e.emitSync(n,Object(o.cloneDeep)(t))},d=function(n,t){return e.subscribeSync(n,(function(e){return t(e)}))};return{resetContext:function(){t=void 0,i=void 0},updateSourceRepository:function(e){n=e,l(c.SOURCE_REPOSITORY_UPDATED,a())},getSourceRepository:a,setSelectedEndpoint:function(e){t=e},getSelectedEndpoint:function(){return Object(o.cloneDeep)(t)},getNewEndpoint:E,createEndpointConfig:function(){i=new r.GraphqlEndpointConfiguration,e.emitSync(c.ENDPOINT_CONFIG_CREATED,i)},onEndpointConfigCreated:function(e){return i&&angular.isFunction(e)&&e(i),d(c.ENDPOINT_CONFIG_CREATED,(function(n){return e(n)}))},startCreateEndpointWizard:function(){l(c.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){l(c.GENERATE_ENDPOINT,E())},endpointGenerated:function(e){l(c.ENDPOINT_GENERATED,e)},exploreEndpointInPlayground:function(e){l(c.EXPLORE_ENDPOINT_IN_PLAYGROUND,e)},openEndpointGenerationReport:function(e){l(c.OPEN_ENDPOINT_GENERATION_REPORT,e)},deleteEndpointGenerationReport:function(e){l(c.DELETE_ENDPOINT_REPORT,e)},cancelEndpointCreation:function(){l(c.CANCEL_ENDPOINT_CREATION,{})},finishGenerationWorkflow:function(){l(c.FINISH_GENERATION_WORKFLOW,{})},nextEndpointCreationStep:function(){l(c.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){l(c.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:d}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",i),i.$inject=["EventEmitterService","GraphqlService"];var c={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",FINISH_GENERATION_WORKFLOW:"finishGenerationWorkflow",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",DELETE_ENDPOINT_REPORT:"deleteEndpointReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}},132:function(e,n,t){"use strict";t.r(n);t(122);var o=t(109);function r(){return{restrict:"E",scope:{formModel:"=",showAllFields:"=?",onValidityChange:"&?",formCtrl:"=?",translationKeyPrefix:"@?"},templateUrl:"js/angular/core/directives/dynamic-form/templates/dynamic-form.html",link:function(e,n){e.FIELD_TYPE=o.FIELD_TYPE,e.formCtrl=void 0,e.showAllFields=e.showAllFields||!1;!function(){var t=n.find("form").controller("form");if(t){e.formCtrl=t;var o=t.$setValidity;e.formCtrl.$setValidity=function(n,r,i){o.call(t,n,r,i),e.onValidityChange&&e.onValidityChange({valid:t.$valid})}}else console.error("Form controller not found!")}()}}}angular.module("graphdb.framework.core.directives.dynamic-form",["graphdb.framework.core.directives.dynamic-form-field"]).directive("dynamicForm",r),r.$inject=[]},135:function(e,n){angular.module("graphdb.framework.core.directives.multiselect-dropdown",[]).directive("multiselectDropdown",["$translate",function(e){return{restrict:"E",require:"ngModel",scope:{options:"=",dropdownLabel:"=?"},templateUrl:"js/angular/core/directives/multiselect-dropdown/templates/multiselect-dropdown.html",link:function(n,t,o,r){n.isOpen=!1;var i=function(e){t[0].contains(e.target)||n.$apply((function(){n.isOpen=!1}))};n.toggleDropdown=function(){n.isOpen=!n.isOpen},n.toggleSelection=function(e){var t;e.selected=!e.selected,t=n.options.filter((function(e){return e.selected})),r.$setViewValue(t)},n.getSelectedText=function(){var t=n.options.filter((function(e){return e.selected}));return 0===t.length?n.dropdownLabel||e.instant("common.select"):t.map((function(e){return e.label})).join(", ")},r.$render=function(){angular.isArray(r.$viewValue)&&n.options.forEach((function(e){e.selected=r.$viewValue.some((function(n){return n.value===e.value}))}))},document.addEventListener("click",i),n.$on("$destroy",(function(){document.removeEventListener("click",i)}))}}}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[68,171,383,385],{102:function(e,t,n){"use strict";n.r(t),n.d(t,"TTYGEventName",(function(){return o}));var a=n(24);function i(e){var t=void 0,n=void 0,i=void 0,c=void 0,r={},u=void 0,E=!1,d=function(){return Object(a.cloneDeep)(t)},l=function(){return Object(a.cloneDeep)(n)},C=function(e){n=Object(a.cloneDeep)(e),g(o.CHAT_LIST_UPDATED,l())},T=function(){return Object(a.cloneDeep)(i)},s=function(){return Object(a.cloneDeep)(c)},A=function(){return Object(a.cloneDeep)(r)},_=function(e){return!!r[e]},f=function(){return E},g=function(t,n){e.emitSync(t,Object(a.cloneDeep)(n))},h=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){t=void 0,n=void 0,i=void 0,c=void 0,r={},u=void 0,E=!1},emit:g,subscribe:h,getChats:l,updateChats:C,addChat:function(e){n.appendChat(e),C(n)},replaceChat:function(e,t){n.replaceChat(e,t),C(n)},onChatsListChanged:function(e){return n&&angular.isFunction(e)&&e(l()),h(o.CHAT_LIST_UPDATED,(function(t){return e(t)}))},getSelectedChat:T,selectChat:function(e){i&&i.id===e.id||(i=Object(a.cloneDeep)(e),g(o.SELECT_CHAT,T()))},deselectChat:function(){i=void 0,g(o.SELECT_CHAT,T())},deleteChat:function(e){n.deleteChat(e),C(n)},onSelectedChatChanged:function(e){return angular.isFunction(e)&&e(T()),h(o.SELECT_CHAT,(function(t){return e(t)}))},updateSelectedChat:function(e){i&&i.id&&e&&i.id!==e.id||(i=Object(a.cloneDeep)(e),g(o.SELECTED_CHAT_UPDATED,T()))},onSelectedChatUpdated:function(e){return i&&angular.isFunction(e)&&e(T()),h(o.SELECTED_CHAT_UPDATED,(function(t){return e(t)}))},onLastMessageReceived:function(e){return i&&angular.isFunction(e)&&e(T()),h(o.LAST_MESSAGE_RECEIVED,(function(t){return e(t)}))},updateAgents:function(e){t=Object(a.cloneDeep)(e),g(o.AGENT_LIST_UPDATED,d())},onAgentsListChanged:function(e){return t&&angular.isFunction(e)&&e(d()),h(o.AGENT_LIST_UPDATED,(function(t){return e(t)}))},getAgents:d,getAgent:function(e){if(t)return Object(a.cloneDeep)(t.getAgent(e))},selectAgent:function(e){c=Object(a.cloneDeep)(e),g(o.AGENT_SELECTED,s())},getSelectedAgent:s,onSelectedAgentChanged:function(e){return c&&angular.isFunction(e)&&e(s()),h(o.AGENT_SELECTED,(function(t){return e(t)}))},getDefaultAgent:function(){return Object(a.cloneDeep)(u)},setDefaultAgent:function(e){u=e},setCanModifyAgent:function(e){E=Object(a.cloneDeep)(e),g(o.CAN_MODIFY_AGENT_UPDATED,f())},getCanModifyAgent:f,onCanUpdateAgentUpdated:function(e){return angular.isFunction(e)&&e(f()),h(o.CAN_MODIFY_AGENT_UPDATED,(function(t){return e(t)}))},hasExplainResponse:_,toggleExplainResponse:function(e){_(e)&&(r[e].expanded=!r[e].expanded,g(o.EXPLAIN_RESPONSE_CACHE_UPDATED,A()))},getExplainResponse:function(e){return Object(a.cloneDeep)(r[e])},addExplainResponseCache:function(e){r[e.answerId]=Object(a.cloneDeep)(e),g(o.EXPLAIN_RESPONSE_CACHE_UPDATED,A())},onExplainResponseCacheUpdated:function(e){return angular.isFunction(e)&&e(A()),h(o.EXPLAIN_RESPONSE_CACHE_UPDATED,(function(t){return e(t)}))}}}angular.module("graphdb.framework.ttyg.services.ttygcontext",[]).factory("TTYGContextService",i),i.$inject=["EventEmitterService","TTYGService"];var o={CREATE_CHAT:"createChat",CREATE_CHAT_SUCCESSFUL:"chatCreated",CREATE_CHAT_FAILURE:"chatCreationFailed",RENAME_CHAT:"renameChat",RENAME_CHAT_SUCCESSFUL:"chatRenamed",RENAME_CHAT_FAILURE:"chatRenamedFailure",SELECT_CHAT:"selectChat",SELECTED_CHAT_UPDATED:"selectChatUpdated",LAST_MESSAGE_RECEIVED:"lastMessageReceived",DELETING_CHAT:"deletingChat",DELETE_CHAT:"deleteChat",DELETE_CHAT_SUCCESSFUL:"chatDeleted",DELETE_CHAT_FAILURE:"chatDeletedFailure",CHAT_EXPORT:"chatExport",CHAT_EXPORT_SUCCESSFUL:"chatExportSuccess",CHAT_EXPORT_FAILURE:"chatExportFailure",CHAT_LIST_UPDATED:"chatListUpdated",ASK_QUESTION:"askQuestion",ASK_QUESTION_FAILURE:"askQuestionFailure",CONTINUE_CHAT_RUN:"continueChatRun",LOAD_CHATS:"loadChats",LOAD_CHAT_SUCCESSFUL:"loadChatSuccess",LOAD_CHAT_FAILURE:"loadChatFailure",AGENT_LIST_UPDATED:"agentListUpdated",OPEN_AGENT_SETTINGS:"openAgentSettings",EDIT_AGENT:"editAgent",CLONE_AGENT:"cloneAgent",DELETE_AGENT:"deleteAgent",AGENT_DELETED:"agentDeleted",DELETING_AGENT:"deletingAgent",AGENT_SELECTED:"agentSelected",GO_TO_CREATE_SIMILARITY_VIEW:"goToCreateSimilarityView",GO_TO_CONNECTORS_VIEW:"goToConnectorsView",EXPLAIN_RESPONSE:"explainResponse",EXPLAIN_RESPONSE_CACHE_UPDATED:"explainResponseCacheUpdated",GO_TO_SPARQL_EDITOR:"openQueryInSparqlEditor",CAN_MODIFY_AGENT_UPDATED:"canModifyAgentUpdated"}},140:function(e,t,n){"use strict";n.r(t),n.d(t,"getHumanReadableTimestamp",(function(){return a}));var a=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!n)return"";var i=new Date(n),o=new Date,c=new Date(o.getFullYear(),o.getMonth(),o.getDate()),r=new Date(c);r.setDate(c.getDate()-1);var u=new Date(i.getFullYear(),i.getMonth(),i.getDate()),E=a.timeFormat?t("date")(i,a.timeFormat):"";if(u.getTime()===c.getTime())return e.instant("common.dates.today")+E;if(u.getTime()===r.getTime())return e.instant("common.dates.yesterday")+E;var d=a.dateFormat||"yyyy-MM-dd";return t("date")(i,d)+E}},164:function(e,t){function n(e){return{restrict:"E",scope:{fieldName:"@",source:"=",onSave:"&",onCancel:"&",onClick:"&",onDblclick:"&",isEditing:"="},templateUrl:"js/angular/core/directives/inline-editable-text/templates/inline-editable-text.template.html",link:function(t,n){t.editableModel={};var a,i=[];t.onKeydown=function(e){"Enter"===e.key?(c(),t.editableModel.text!==t.text&&t.onSave({newText:t.editableModel.text,source:t.source})):"Escape"===e.key&&o()},t.onCancelEditing=function(){o()},t.onSelect=function(){a?(c(),t.onDblclick({source:t.source})):a=e((function(){t.onClick({source:t.source}),c()}),250)};var o=function(){c(),t.onCancel()},c=function(){e.cancel(a),a=void 0};i.push(t.$watch("isEditing",(function(a){a&&(t.editableModel.text=t.source[t.fieldName],e((function(){var e=n.find("input")[0];e.focus(),e.select()}),0))})));t.$on("$destroy",(function(){i.forEach((function(e){return e()})),c()}))}}}angular.module("graphdb.framework.core.directives.inline-editable-text",[]).directive("inlineEditableText",n),n.$inject=["$timeout"]},239:function(e,t,n){"use strict";n.r(t);n(164);var a=n(102),i=n(140),o=n(1);function c(e,t,n,c){return{restrict:"E",templateUrl:"js/angular/ttyg/templates/chat-list.html",link:function(r){r.selectedChat=void 0,r.renamedChat=void 0,r.deletingChat=void 0,r.onSelectChatForRenaming=function(e){r.renamedChat=e},r.onSelectChat=function(t){if(!r.selectedChat||r.selectedChat.id!==t.id){var n=e.getChats().getNonPersistedChat();n&&e.deleteChat(n),e.selectChat(t),r.renamedChat=void 0}},r.onDeleteChat=function(i){var c=n.instant("ttyg.dialog.delete.title"),r=Object(o.decodeHTML)(n.instant("ttyg.dialog.delete.body",{chatName:i.name}));t.openConfirmation(c,r,(function(){return e.emit(a.TTYGEventName.DELETE_CHAT,i)}))},r.onRenameChat=function(t,n){n.name=t,r.renamedChat=void 0,e.emit(a.TTYGEventName.RENAME_CHAT,n)},r.onExportChat=function(t){e.emit(a.TTYGEventName.CHAT_EXPORT,t)},r.onCancelChatRenaming=function(){r.renamedChat=void 0},r.getHumanReadableChatGroupTimestamp=function(e){return Object(i.getHumanReadableTimestamp)(n,c,e)};var u=function(e){r.selectedChat=e},E=[];E.push(e.onSelectedChatChanged(u)),E.push(e.onSelectedChatUpdated(u)),E.push(e.onChatsListChanged((function(e){r.chatList=e}))),E.push(e.subscribe(a.TTYGEventName.DELETING_CHAT,(function(e){r.deletingChat=e}))),r.$on("$destroy",(function(){E.forEach((function(e){return e()}))}))}}}angular.module("graphdb.framework.ttyg.directives.chat-list",["graphdb.framework.core.directives.inline-editable-text"]).directive("chatList",c),c.$inject=["TTYGContextService","ModalService","$translate","$filter"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[69,90,179,180],{133:function(n,e,r){"use strict";r.r(e),r.d(e,"markdownCodeCopyPlugin",(function(){return c}));var t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(n,e){return e=_.merge({},t,e),function(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];var c=t[0],a=t[1],i=c[a],l=c[a].content.replaceAll('"',""").replaceAll("'","'"),u=n.apply(void 0,t);return"fence"===i.type&&u.trim()?'<div style="position: relative">\n '.concat(u,'\n <copy-to-clipboard\n style="').concat(e.buttonStyle,'"\n class="').concat(e.buttonClass,'"\n tooltip-text="ttyg.chat_panel.btn.copy_sparql.tooltip"\n text-to-copy="').concat(l,'">\n </copy-to-clipboard>\n </div>'):u}}var c=function(n,e){n.renderer.rules.code_block=o(n.renderer.rules.code_block,e),n.renderer.rules.fence=o(n.renderer.rules.fence,e)}},134:function(n,e,r){"use strict";r.r(e),r.d(e,"markdownOpenInSparqlEditorPlugin",(function(){return c}));var t={buttonStyle:"position: absolute; top: 0; right: 0;",buttonClass:""};function o(n,e){return e=_.merge({},t,e),function(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];var c=t[0],a=t[1],i=c[a],l=c[a].content.replaceAll('"',""").replaceAll("'","'"),u=n.apply(void 0,t);return"fence"===i.type&&"sparql"===i.info&&u.trim()?'<div style="position: relative">\n '.concat(u,'\n <open-in-sparql-editor\n style="').concat(e.buttonStyle,'"\n class="').concat(e.buttonClass,'"\n execute-query="').concat(e.executeQuery,'"\n repository-id="').concat(e.repositoryId,'"\n query="').concat(l,'">\n </open-in-sparql-editor>\n </div>'):u}}var c=function(n,e){n.renderer.rules.code_block=o(n.renderer.rules.code_block,e),n.renderer.rules.fence=o(n.renderer.rules.fence,e)}},146:function(n,e,r){"use strict";r.r(e);var t=r(669),o=r(133),c=r(134),a={buttonStyle:"position: absolute; top: 0; right: 0; margin-right: 24px"};function i(n){var e=Object(t.a)().use(o.markdownCodeCopyPlugin).use(c.markdownOpenInSparqlEditorPlugin,a);return{renderMarkdown:function(r,i){try{return n.trustAsHtml(function(n){return n?Object(t.a)().use(o.markdownCodeCopyPlugin,n).use(c.markdownOpenInSparqlEditorPlugin,_.merge({},a,n)):e}(i).render(r))}catch(e){return console.error("Error rendering markdown:",e),n.trustAsHtml(r)}}}}angular.module("graphdb.framework.core.services.markdown-service",[]).service("MarkdownService",i),i.$inject=["$sce"]},165:function(n,e,r){"use strict";r.r(e);r(146);function t(n,e){return{template:'<div class="markdown-content" ng-bind-html="markdownContent"></div>',restrict:"E",scope:{content:"@",options:"="},link:function(r,t){r.markdownContent=void 0;var o=function(){r.$evalAsync((function(){var e=t.find(".markdown-content");n(angular.element(e).contents())(r)}))};r.markdownContent=e.renderMarkdown(r.content,r.options),o()}}}angular.module("graphdb.framework.core.directives.markdown-content",["graphdb.framework.core.services.markdown-service"]).directive("markdownContent",t),t.$inject=["$compile","MarkdownService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[70,88,175,202],{147:function(e,i){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,i,a){return{link:function(e,n){var t=function(){var i=a('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);n.html(i)};t();var r=i.$on("$translateChangeSuccess",t);e.$on("$destroy",r)}}}])},223:function(e,i,a){"use strict";a.r(i),a.d(i,"GuideLevel",(function(){return n}));var n=Object.freeze({BEGINNER:0,INTERMEDIATE:1,ADVANCED:2})},317:function(e,i,a){"use strict";a.r(i);a(64),a(147);var n=a(4),t=a(223);function r(e,i,a,r,s,o){e.guides=[],e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.translationSubscription=void 0,e.startGuide=function(e){a.startGuide(e)},e.changePagination=function(){angular.isDefined(e.guides)&&(e.displayedGuides=e.guides.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(i){e.page=1,e.pageSize=i||e.pageSizeOptions[0],e.changePagination()};var u=function(){return a.getGuides().then((function(i){e.guides=r("orderBy")(i,"guideOrder"),g(),e.matchedElements=e.guides,e.changePagination()}))},g=function(){e.guides.forEach((function(e){switch(e.guideLevel){case void 0:case t.GuideLevel.BEGINNER:e.guideLevelLabel="view.guides.level.beginner";break;case t.GuideLevel.INTERMEDIATE:e.guideLevelLabel="view.guides.level.intermediate";break;default:e.guideLevelLabel="view.guides.level.advanced"}}))},c=function(){e.guides.forEach((function(e){e.translatedGuideName=n.GuideUtils.translateLocalMessage(s,o,e.guideName),e.translatedGuideDescription=n.GuideUtils.translateLocalMessage(s,o,e.guideDescription)}))},d=[];d.push(i.$on("$translateChangeSuccess",c)),d.push(e.$on("$destroy",(function(){d.forEach((function(e){return e()}))}))),u().then(c)}angular.module("graphdb.framework.guides.controllers",["ui.bootstrap","graphdb.framework.guides.services","graphdb.framework.core.directives.paginations"]).controller("GuidesCtrl",r),r.$inject=["$scope","$rootScope","GuidesService","$filter","$translate","$interpolate"]},403:function(e,i,a){"use strict";a.r(i);a(317);angular.module("graphdb.framework.guides",["ui.bootstrap","graphdb.framework.guides.controllers"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[70,175,337,338],{146:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,r){return{link:function(e,n){var a=function(){var t=r('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);n.html(t)};a();var o=t.$on("$translateChangeSuccess",a);e.$on("$destroy",o)}}}])},358:function(e,t,r){"use strict";r.r(t);r(10),r(54),r(53),r(59);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,o=Object.create(a.prototype),c=new j(n||[]);return i(o,"_invoke",{value:P(e,r,c)}),o}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",d="executing",g="completed",v={};function y(){}function w(){}function b(){}var x={};p(x,s,(function(){return this}));var E=Object.getPrototypeOf,N=E&&E(E(R([])));N&&N!==r&&o.call(N,s)&&(x=N);var S=b.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(a,i,c,s){var u=m(e[a],e,i);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"==n(p)&&o.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,c,s)}),(function(e){r("throw",e,c,s)})):t.resolve(p).then((function(e){l.value=e,c(l)}),(function(e){return r("throw",e,c,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(o,o):o()}})}function P(t,r,n){var a=h;return function(o,i){if(a===d)throw Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var s=$(c,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=m(t,r,n);if("normal"===u.type){if(a=n.done?g:"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function $(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,$(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=m(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function r(){for(;++a<t.length;)if(o.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:w,configurable:!0}),w.displayName=p(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,p(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(L.prototype),p(L.prototype,u,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(f(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(S),p(S,l,"Generator"),p(S,s,(function(){return this})),p(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;O(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function o(e,t,r,n,a,o,i){try{var c=e[o](i),s=c.value}catch(e){return void r(e)}c.done?t(s):Promise.resolve(s).then(n,a)}var i,c,s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),u=(i="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-]|[-]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]",c="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-]|[-]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]",new RegExp("^(?:"+i+")(?:(?:"+c+"|\\.)*(?:"+c+"))?$"));s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,t,r,i,c,s,l,p,f){e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){r.getActiveRepository()&&(e.loader=!0,e.namespaces={},p.getNamespaces(r.getActiveRepository()).success((function(t){e.namespaces=t.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,t){var r=e.prefix.toUpperCase(),n=t.prefix.toUpperCase();return r<n?-1:r>n?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(t){var r=getError(t);i.error(r),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(t){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",t&&(e.getNamespaces(),e.pageSize=t)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return r.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],y(),m()};var m=function(){angular.forEach(e.namespaces,(function(t){-1===t.namespace.indexOf(e.searchNamespaces)&&-1===t.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(t)}))};e.saveNamespace=function(t,n){return e.loader=!0,p.updateNamespacePrefix(r.getActiveRepository(),n,t).then((function(){e.getNamespaces(),i.success(f.instant("namespace.saved")),e.loader=!1})).catch((function(t){var r=getError(t);return i.error(r,f.instant("common.error")),e.loader=!1,Promise.reject(t)}))},e.editPrefix=function(t,n){e.loader=!0,l.getPrefix(r.getActiveRepository(),{from:t,to:n,location:r.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(t){var r=getError(t);i.error(r,f.instant("common.error")),e.loader=!1}))};e.editPrefixAndNamespace=function(){var e,t=(e=a().mark((function e(t,r,n){var o,i,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i=t,t||(i=""),w(i,o=r)){e.next=6;break}return e.abrupt("return","Prefix or namespace is invalid");case 6:if(c=n.prefix,!h(i,c)){e.next=10;break}return e.next=10,s.openSimpleModal({title:f.instant("namespace.confirm.replace"),message:f.instant("namespace.already.exists.msg"),warning:!0}).result;case 10:return e.abrupt("return",d(i,c,o));case 13:return e.prev=13,e.t0=e.catch(0),e.abrupt("return","Prefix overwrite cancelled");case 16:case"end":return e.stop()}}),e,null,[[0,13]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function c(e){o(i,n,a,c,s,"next",e)}function s(e){o(i,n,a,c,s,"throw",e)}c(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();var h=function(t,r){return!!e.namespaces.find((function(e){return e.prefix===t&&r!==t}))},d=function(t,r,n){return e.saveNamespace(r,n).then((function(){r!==t&&e.editPrefix(r,t)}))};e.addNamespace=function(){if(e.namespace.prefix||(e.namespace.prefix=""),w(e.namespace.prefix,e.namespace.namespace)){e.selectedAll=!1;for(var t=!1,r=0;r<e.namespaces.length;r++)e.namespaces[r].prefix===e.namespace.prefix&&(t=!0);t?s.openSimpleModal({title:f.instant("namespace.confirm.replace"),message:f.instant("namespace.already.exists.msg"),warning:!0}).result.then(g):g()}};var g=function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace).then((function(){e.namespace.namespace="",e.namespace.prefix="",setTimeout((function(){e.form.$setUntouched(),e.form.$setPristine()}))})).catch((function(){}))};e.removeNamespace=function(e){s.openSimpleModal({title:f.instant("common.confirm.delete"),message:f.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){v(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(t){t.selected=e.selectedAll}))},e.deleteSelected=function(){var t=!1;angular.forEach(e.displayedNamespaces,(function(r){t||r.selected&&(t=!0,s.openSimpleModal({title:f.instant("common.confirm.delete"),message:f.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;var t=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&t.push(e)})),v(t.shift(),t),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))};var v=function(t,a){var o;o="object"===n(t)?t.prefix:t,p.deleteNamespacePrefix(r.getActiveRepository(),o).success((function(){a&&a.length>0?(t=a.shift(),v(t,a)):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===a?i.success(f.instant("namespace.prefix.deleted.successfully",{prefix:o}),""):i.success(f.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(t){var r=getError(t);i.error(r,f.instant("common.error")),e.loader=!1}))};e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(t){t.selected&&(e.haveSelected=!0)}))};var y=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))},w=function(e,t){return function(e){return""===e||e.match(u)}(e)?!angular.isUndefined(t)&&""!==t||(i.error(f.instant("namespace.warning.provide.namespace"),f.instant("common.error")),!1):(i.error(f.instant("namespace.invalid.prefix",{prefix:e},f.instant("common.error"))),!1)}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close(!0)},e.cancel=function(){t.dismiss("cancel")}}])},359:function(e,t){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(t){t.$last&&e((function(){t.$parent.loader=!1}),0)}}])},457:function(e,t,r){"use strict";r.r(t);r(10),r(52),r(53),r(358),r(359),r(146),r(748);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[71,175,337,338],{147:function(e,t){angular.module("graphdb.framework.core.directives.paginations",[]).directive("paginations",["$translate","$rootScope","$compile",function(e,t,r){return{link:function(e,n){var a=function(){var t=r('<uib-pagination class="nav navbar-right" total-items="matchedElements.length" items-per-page="pageSize" ng-model="page" ng-change="changePagination()" direction-links="false" boundary-links="true" max-size="5" rotate="true" first-text="{{\'paginator.first.page.label\' | translate}}" last-text="{{\'paginator.last.page.label\' | translate}}"></uib-pagination>')(e);n.html(t)};a();var o=t.$on("$translateChangeSuccess",a);e.$on("$destroy",o)}}}])},358:function(e,t,r){"use strict";r.r(t);r(10),r(54),r(53),r(59);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,o=Object.create(a.prototype),c=new j(n||[]);return i(o,"_invoke",{value:P(e,r,c)}),o}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",d="executing",g="completed",v={};function y(){}function w(){}function b(){}var x={};p(x,s,(function(){return this}));var E=Object.getPrototypeOf,N=E&&E(E(R([])));N&&N!==r&&o.call(N,s)&&(x=N);var S=b.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(a,i,c,s){var u=m(e[a],e,i);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"==n(p)&&o.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,c,s)}),(function(e){r("throw",e,c,s)})):t.resolve(p).then((function(e){l.value=e,c(l)}),(function(e){return r("throw",e,c,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(o,o):o()}})}function P(t,r,n){var a=h;return function(o,i){if(a===d)throw Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var s=$(c,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=m(t,r,n);if("normal"===u.type){if(a=n.done?g:"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function $(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,$(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=m(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function r(){for(;++a<t.length;)if(o.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:w,configurable:!0}),w.displayName=p(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,p(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(L.prototype),p(L.prototype,u,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(f(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(S),p(S,l,"Generator"),p(S,s,(function(){return this})),p(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;O(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function o(e,t,r,n,a,o,i){try{var c=e[o](i),s=c.value}catch(e){return void r(e)}c.done?t(s):Promise.resolve(s).then(n,a)}var i,c,s=angular.module("graphdb.framework.namespaces.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.core.services.jwtauth","graphdb.framework.rest.repositories.service","graphdb.framework.rest.rdf4j.repositories.service","toastr"]),u=(i="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-]|[-]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]",c="[A-Z]|[a-z]|[À-Ö]|[Ø-ö]|[ø-˿]|[Ͱ-ͽ]|[Ϳ-]|[-]|[⁰-]|[Ⰰ-]|[、-]|[豈-﷏]|[ﷰ-�]|_|-|[0-9]|·|[̀-ͯ]|[‿-⁀]",new RegExp("^(?:"+i+")(?:(?:"+c+"|\\.)*(?:"+c+"))?$"));s.controller("NamespacesCtrl",["$scope","$http","$repositories","toastr","$uibModal","ModalService","RepositoriesRestService","RDF4JRepositoriesRestService","$translate",function(e,t,r,i,c,s,l,p,f){e.namespaces={},e.namespace={},e.loader=!1,e.haveSelected=!1,e.pageSizeOptions=[10,20,50,100],e.page=1,e.pageSize=e.pageSizeOptions[0],e.displayedNamespaces=[],e.getNamespaces=function(){r.getActiveRepository()&&(e.loader=!0,e.namespaces={},p.getNamespaces(r.getActiveRepository()).success((function(t){e.namespaces=t.results.bindings.map((function(e){return{prefix:e.prefix.value,namespace:e.namespace.value}})),e.namespaces.length>0&&(e.namespaces.sort((function(e,t){var r=e.prefix.toUpperCase(),n=t.prefix.toUpperCase();return r<n?-1:r>n?1:0})),e.matchedElements=e.namespaces,e.changePagination()),0===e.namespaces.length&&(e.loader=!1)})).error((function(t){var r=getError(t);i.error(r),e.loader=!1})))},e.changePagination=function(){angular.isDefined(e.namespaces)&&(e.displayedNamespaces=e.namespaces.slice(e.pageSize*(e.page-1),e.pageSize*e.page))},e.changePageSize=function(t){$(".ot-graph-page-size").removeClass("active"),e.page=1,e.searchNamespaces="",t&&(e.getNamespaces(),e.pageSize=t)},e.$watch("matchedElements",(function(){angular.isDefined(e.matchedElements)&&(e.displayedNamespaces=e.matchedElements.slice(e.pageSize*(e.page-1),e.pageSize*e.page))})),e.$watch((function(){return r.getActiveRepository()}),(function(){e.searchNamespaces="",e.getNamespaces(),e.selectedAll=!1})),e.onNamespaceSearch=function(){e.haveSelected=!1,e.selectedAll=!1,e.matchedElements=[],y(),m()};var m=function(){angular.forEach(e.namespaces,(function(t){-1===t.namespace.indexOf(e.searchNamespaces)&&-1===t.prefix.indexOf(e.searchNamespaces)||e.matchedElements.push(t)}))};e.saveNamespace=function(t,n){return e.loader=!0,p.updateNamespacePrefix(r.getActiveRepository(),n,t).then((function(){e.getNamespaces(),i.success(f.instant("namespace.saved")),e.loader=!1})).catch((function(t){var r=getError(t);return i.error(r,f.instant("common.error")),e.loader=!1,Promise.reject(t)}))},e.editPrefix=function(t,n){e.loader=!0,l.getPrefix(r.getActiveRepository(),{from:t,to:n,location:r.getActiveRepositoryObject().location}).success((function(){e.getNamespaces(),e.loader=!1})).error((function(t){var r=getError(t);i.error(r,f.instant("common.error")),e.loader=!1}))};e.editPrefixAndNamespace=function(){var e,t=(e=a().mark((function e(t,r,n){var o,i,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i=t,t||(i=""),w(i,o=r)){e.next=6;break}return e.abrupt("return","Prefix or namespace is invalid");case 6:if(c=n.prefix,!h(i,c)){e.next=10;break}return e.next=10,s.openSimpleModal({title:f.instant("namespace.confirm.replace"),message:f.instant("namespace.already.exists.msg"),warning:!0}).result;case 10:return e.abrupt("return",d(i,c,o));case 13:return e.prev=13,e.t0=e.catch(0),e.abrupt("return","Prefix overwrite cancelled");case 16:case"end":return e.stop()}}),e,null,[[0,13]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function c(e){o(i,n,a,c,s,"next",e)}function s(e){o(i,n,a,c,s,"throw",e)}c(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();var h=function(t,r){return!!e.namespaces.find((function(e){return e.prefix===t&&r!==t}))},d=function(t,r,n){return e.saveNamespace(r,n).then((function(){r!==t&&e.editPrefix(r,t)}))};e.addNamespace=function(){if(e.namespace.prefix||(e.namespace.prefix=""),w(e.namespace.prefix,e.namespace.namespace)){e.selectedAll=!1;for(var t=!1,r=0;r<e.namespaces.length;r++)e.namespaces[r].prefix===e.namespace.prefix&&(t=!0);t?s.openSimpleModal({title:f.instant("namespace.confirm.replace"),message:f.instant("namespace.already.exists.msg"),warning:!0}).result.then(g):g()}};var g=function(){e.saveNamespace(e.namespace.prefix,e.namespace.namespace).then((function(){e.namespace.namespace="",e.namespace.prefix="",setTimeout((function(){e.form.$setUntouched(),e.form.$setPristine()}))})).catch((function(){}))};e.removeNamespace=function(e){s.openSimpleModal({title:f.instant("common.confirm.delete"),message:f.instant("namespace.warning.delete.msg",{prefix:e.prefix}),warning:!0}).result.then((function(){v(e)}))},e.checkAll=function(){angular.forEach(e.displayedNamespaces,(function(t){t.selected=e.selectedAll}))},e.deleteSelected=function(){var t=!1;angular.forEach(e.displayedNamespaces,(function(r){t||r.selected&&(t=!0,s.openSimpleModal({title:f.instant("common.confirm.delete"),message:f.instant("namespace.warning.delete.selected"),warning:!0}).result.then((function(){e.loader=!0;var t=[];angular.forEach(e.displayedNamespaces,(function(e){e.selected&&t.push(e)})),v(t.shift(),t),e.selectedAll=!1}),(function(){e.getNamespaces(),e.selectedAll=!1,e.searchNamespaces=""})))}))};var v=function(t,a){var o;o="object"===n(t)?t.prefix:t,p.deleteNamespacePrefix(r.getActiveRepository(),o).success((function(){a&&a.length>0?(t=a.shift(),v(t,a)):(e.selectedAll=!1,e.namespace={},e.getNamespaces(),e.searchNamespaces="",e.haveSelected=!1,e.loader=!1,e.displayedNamespaces=[],void 0===a?i.success(f.instant("namespace.prefix.deleted.successfully",{prefix:o}),""):i.success(f.instant("namespace.selected.namespaces.deleted.successfully"),""))})).error((function(t){var r=getError(t);i.error(r,f.instant("common.error")),e.loader=!1}))};e.checkIfSelectedNamespace=function(){e.haveSelected=!1,angular.forEach(e.namespaces,(function(t){t.selected&&(e.haveSelected=!0)}))};var y=function(){angular.forEach(e.namespaces,(function(e){e.selected=!1}))},w=function(e,t){return function(e){return""===e||e.match(u)}(e)?!angular.isUndefined(t)&&""!==t||(i.error(f.instant("namespace.warning.provide.namespace"),f.instant("common.error")),!1):(i.error(f.instant("namespace.invalid.prefix",{prefix:e},f.instant("common.error"))),!1)}}]),s.controller("StandartModalCtrl",["$scope","$uibModalInstance",function(e,t){e.ok=function(){t.close(!0)},e.cancel=function(){t.dismiss("cancel")}}])},359:function(e,t){angular.module("graphdb.framework.namespaces.directives",["ngRoute"]).directive("loaderPostRepeatDirective",["$timeout",function(e){return function(t){t.$last&&e((function(){t.$parent.loader=!1}),0)}}])},457:function(e,t,r){"use strict";r.r(t);r(10),r(52),r(53),r(358),r(359),r(147),r(748);angular.module("graphdb.framework.namespaces",["LocalStorageModule","xeditable","ngAnimate","ngRoute","toastr","graphdb.framework.namespaces.controllers","graphdb.framework.namespaces.directives","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.directives.paginations"]).run(["editableOptions",function(e){e.theme="bs3"}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[71,116,176,249],{119:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,l(i.key),i)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}n.r(t),n.d(t,"EndpointGenerationReportList",(function(){return c})),n.d(t,"EndpointGenerationReport",(function(){return p}));var c=function(){return a((function e(t){o(this,e),s(this,"_reports",void 0),this._reports=t||[]}),[{key:"getReport",value:function(e){return this._reports.find((function(t){return t.endpointId===e}))}},{key:"reports",get:function(){return this._reports},set:function(e){this._reports=e}}])}(),p=function(){return a((function e(t){o(this,e),s(this,"_endpointId",void 0),s(this,"_endpointURI",void 0),s(this,"_active",void 0),s(this,"_default",void 0),s(this,"_label",void 0),s(this,"_description",void 0),s(this,"_lastModified",void 0),s(this,"_objectsCount",void 0),s(this,"_propertiesCount",void 0),s(this,"_warnings",void 0),s(this,"_errors",void 0),s(this,"_messages",void 0),s(this,"_createdSuccessfully",void 0),this._endpointId=t.endpointId||"",this._endpointURI=t.endpointURI||"",this._active=t.active||!1,this._default=t.default||!1,this._label=t.label||"",this._description=t.description||"",this._lastModified=t.lastModified||"",this._objectsCount=t.objectsCount||0,this._propertiesCount=t.propertiesCount||0,this._warnings=t.warnings||0,this._errors=t.errors||0,this._messages=t.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(e){this._endpointId=e}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(e){this._endpointURI=e}},{key:"active",get:function(){return this._active},set:function(e){this._active=e}},{key:"default",get:function(){return this._default},set:function(e){this._default=e}},{key:"label",get:function(){return this._label},set:function(e){this._label=e}},{key:"description",get:function(){return this._description},set:function(e){this._description=e}},{key:"lastModified",get:function(){return this._lastModified},set:function(e){this._lastModified=e}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(e){this._objectsCount=e}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(e){this._propertiesCount=e}},{key:"warnings",get:function(){return this._warnings},set:function(e){this._warnings=e}},{key:"errors",get:function(){return this._errors},set:function(e){this._errors=e}},{key:"messages",get:function(){return this._messages},set:function(e){this._messages=e}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(e){this._createdSuccessfully=e}}])}()},124:function(e,t,n){"use strict";n.r(t),n.d(t,"GraphqlEventName",(function(){return a}));var i=n(24),o=n(157);n(119);function r(e){var t=void 0,n=void 0,r=void 0,s=function(){return t},l=function(){return r},c=function(t,n){e.emitSync(t,Object(i.cloneDeep)(n))},p=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){n=void 0,r=void 0},updateSourceRepository:function(e){t=e,c(a.SOURCE_REPOSITORY_UPDATED,s())},getSourceRepository:s,setSelectedEndpoint:function(e){n=e},getSelectedEndpoint:function(){return Object(i.cloneDeep)(n)},getNewEndpoint:l,createEndpointConfig:function(){r=new o.GraphqlEndpointConfiguration,e.emitSync(a.ENDPOINT_CONFIG_CREATED,r)},onEndpointConfigCreated:function(e){return r&&angular.isFunction(e)&&e(r),p(a.ENDPOINT_CONFIG_CREATED,(function(t){return e(t)}))},startCreateEndpointWizard:function(){c(a.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){c(a.GENERATE_ENDPOINT,l())},endpointGenerated:function(e){c(a.ENDPOINT_GENERATED,e)},exploreEndpointInPlayground:function(e){c(a.EXPLORE_ENDPOINT_IN_PLAYGROUND,e)},openEndpointGenerationReport:function(e){c(a.OPEN_ENDPOINT_GENERATION_REPORT,e)},deleteEndpointGenerationReport:function(e){c(a.DELETE_ENDPOINT_REPORT,e)},cancelEndpointCreation:function(){c(a.CANCEL_ENDPOINT_CREATION,{})},finishGenerationWorkflow:function(){c(a.FINISH_GENERATION_WORKFLOW,{})},nextEndpointCreationStep:function(){c(a.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){c(a.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:p}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",r),r.$inject=["EventEmitterService","GraphqlService"];var a={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",FINISH_GENERATION_WORKFLOW:"finishGenerationWorkflow",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",DELETE_ENDPOINT_REPORT:"deleteEndpointReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}},198:function(e,t,n){"use strict";n.r(t);var i=n(24);function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function a(){return{restrict:"E",scope:{options:"=",selected:"=",labels:"="},templateUrl:"js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html",link:function(e){var t=[];e.searchLeft="",e.availableOptions=[],e.selectedOptions=[],e.selectOption=function(t){e.selectedOptions.push(t),e.availableOptions=e.availableOptions.filter((function(e){return e!==t})),n()},e.selectAll=function(){e.selectedOptions=e.selectedOptions.concat(e.availableOptions),e.availableOptions=[],n()},e.deselectOption=function(t){e.availableOptions.push(t),e.selectedOptions=e.selectedOptions.filter((function(e){return e!==t})),n()},e.deselectAll=function(){e.availableOptions=e.availableOptions.concat(e.selectedOptions),e.selectedOptions=[],n()};var n=function(){e.selected=o(e.selectedOptions)};e.$on("$destroy",(function(){t.forEach((function(e){return e()}))}));e.selectedOptions=Object(i.cloneDeep)(e.selected),e.selectedOptions.length?e.availableOptions=e.options.filter((function(t){return!e.selectedOptions.find((function(e){return e.id===t.id}))})):e.availableOptions=Object(i.cloneDeep)(e.options)}}}angular.module("graphdb.framework.core.directives.shuttle-multiselect",[]).directive("shuttleMultiselect",a),a.$inject=[]},314:function(e,t,n){"use strict";n.r(t);n(198);var i=n(16),o=n(124),r=n(182);function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function p(e,t,n,l,c,p,u){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-select-schema-sources.html",scope:{stepDefinition:"="},link:function(l,d){var h=[];l.schemaSourceType=r.SchemaSourceType,l.ontologyShaclShapeSource=r.OntologyShaclShapeSource,l.shapesMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.tooltip"},l.graphsMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.tooltip"},l.endpointConfiguration=void 0,l.prefixList=[],l.loadingPrefixes=!1,l.graphs=void 0,l.shaclShapeGraphs=void 0,l.graphqlSchemaShapes=void 0,l.allGraphs=void 0,l.loadingGraphs=!1,l.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),i=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,i,(function(){c.cancelEndpointCreation()}))},l.next=function(){c.nextEndpointCreationStep()},l.onSchemaSourceTypeChange=function(){l.endpointConfiguration.schemaSourceType=l.stepDefinition.schemaSourceType,l.endpointConfiguration.generateFromShaclShapes()&&(l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_ALL_GRAPHS?l.endpointConfiguration.selectedGraphs=l.allGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?l.endpointConfiguration.selectedGraphs=l.shaclShapeGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.PICK_GRAPHS&&(l.endpointConfiguration.selectedGraphs=new i.GraphListOptions))},l.onOntologyShaclShapeSourceChange=function(){l.endpointConfiguration.owlOrShaclSourceType=l.stepDefinition.ontotlogyShaclShapeSource,l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_ALL_GRAPHS?l.endpointConfiguration.selectedGraphs=l.allGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?l.endpointConfiguration.selectedGraphs=l.shaclShapeGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.PICK_GRAPHS&&(l.endpointConfiguration.selectedGraphs=new i.GraphListOptions)},l.canProceed=function(){var e=!1;if(l.endpointConfiguration){var t=l.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),n=l.endpointParamsForm.$valid;l.stepDefinition.schemaSourceType===r.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES&&t?e=!0:l.stepDefinition.schemaSourceType===r.SchemaSourceType.SHACL_SHAPES&&n&&(e=l.endpointConfiguration.owlOrShaclSourceType===r.OntologyShaclShapeSource.USE_ALL_GRAPHS||l.endpointConfiguration.hasSelectedGraphs())}return e};var f=function(e){l.loadingData=!0,Promise.all([(l.loadingPrefixes=!0,p.getPrefixListAsSelectOptions(c.getSourceRepository()).catch((function(e){console.error("Error loading prefixes",e),n.error(getError(e))})).finally((function(){l.loadingPrefixes=!1}))),(l.loadingGraphs=!0,u.getGraphs(c.getSourceRepository()).catch((function(e){console.error("Error loading graphs",e),n.error(getError(e))})).finally((function(){l.loadingGraphs=!1}))),p.getGraphqlSchemaShapes(c.getSourceRepository()).catch((function(e){console.error("Error loading GraphQL schema shapes",e),n.error(getError(e))})),p.getShaclShapeGraphs(c.getSourceRepository()).catch((function(e){console.error("Error loading SHACL shape graphs",e),n.error(getError(e))}))]).then((function(t){var n=s(t,4),o=n[0],r=n[1],c=n[2],p=n[3];l.graphqlSchemaShapes=c,l.graphs=r,l.shaclShapeGraphs=p,l.allGraphs=new i.GraphListOptions([].concat(a(r.graphList),a(p.graphList))),l.prefixList=o,l.endpointConfiguration=e})).finally((function(){l.loadingData=!1}))},_=function(){f(c.getNewEndpoint())},g=function(){h.forEach((function(e){return e()}))};!function(){l.$on("$destroy",g),h.push(c.subscribe(o.GraphqlEventName.SOURCE_REPOSITORY_UPDATED,_));var e=c.getNewEndpoint();e?f(e):h.push(c.onEndpointConfigCreated(f))}()}}}angular.module("graphdb.framework.graphql.directives.select-schema-sources",["graphdb.framework.core.directives.shuttle-multiselect"]).directive("selectSchemaSources",p),p.$inject=["ModalService","$translate","toastr","$repositories","GraphqlContextService","GraphqlService","RDF4JRepositoriesService"]}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[72,117,176,249],{119:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,l(i.key),i)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}n.r(t),n.d(t,"EndpointGenerationReportList",(function(){return c})),n.d(t,"EndpointGenerationReport",(function(){return p}));var c=function(){return a((function e(t){o(this,e),s(this,"_reports",void 0),this._reports=t||[]}),[{key:"getReport",value:function(e){return this._reports.find((function(t){return t.endpointId===e}))}},{key:"reports",get:function(){return this._reports},set:function(e){this._reports=e}}])}(),p=function(){return a((function e(t){o(this,e),s(this,"_endpointId",void 0),s(this,"_endpointURI",void 0),s(this,"_active",void 0),s(this,"_default",void 0),s(this,"_label",void 0),s(this,"_description",void 0),s(this,"_lastModified",void 0),s(this,"_objectsCount",void 0),s(this,"_propertiesCount",void 0),s(this,"_warnings",void 0),s(this,"_errors",void 0),s(this,"_messages",void 0),s(this,"_createdSuccessfully",void 0),this._endpointId=t.endpointId||"",this._endpointURI=t.endpointURI||"",this._active=t.active||!1,this._default=t.default||!1,this._label=t.label||"",this._description=t.description||"",this._lastModified=t.lastModified||"",this._objectsCount=t.objectsCount||0,this._propertiesCount=t.propertiesCount||0,this._warnings=t.warnings||0,this._errors=t.errors||0,this._messages=t.messages||[],this._createdSuccessfully=this._active&&0===this._errors}),[{key:"toJSON",value:function(){return{id:this._endpointId,active:this._active,default:this._default,label:this._label,description:this._description,lastModified:this._lastModified,objectsCount:this._objectsCount,propertiesCount:this._propertiesCount,warnings:this._warnings,errors:this._errors,messages:this._messages}}},{key:"endpointId",get:function(){return this._endpointId},set:function(e){this._endpointId=e}},{key:"endpointURI",get:function(){return this._endpointURI},set:function(e){this._endpointURI=e}},{key:"active",get:function(){return this._active},set:function(e){this._active=e}},{key:"default",get:function(){return this._default},set:function(e){this._default=e}},{key:"label",get:function(){return this._label},set:function(e){this._label=e}},{key:"description",get:function(){return this._description},set:function(e){this._description=e}},{key:"lastModified",get:function(){return this._lastModified},set:function(e){this._lastModified=e}},{key:"objectsCount",get:function(){return this._objectsCount},set:function(e){this._objectsCount=e}},{key:"propertiesCount",get:function(){return this._propertiesCount},set:function(e){this._propertiesCount=e}},{key:"warnings",get:function(){return this._warnings},set:function(e){this._warnings=e}},{key:"errors",get:function(){return this._errors},set:function(e){this._errors=e}},{key:"messages",get:function(){return this._messages},set:function(e){this._messages=e}},{key:"createdSuccessfully",get:function(){return this._createdSuccessfully},set:function(e){this._createdSuccessfully=e}}])}()},125:function(e,t,n){"use strict";n.r(t),n.d(t,"GraphqlEventName",(function(){return a}));var i=n(24),o=n(158);n(119);function r(e){var t=void 0,n=void 0,r=void 0,s=function(){return t},l=function(){return r},c=function(t,n){e.emitSync(t,Object(i.cloneDeep)(n))},p=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{resetContext:function(){n=void 0,r=void 0},updateSourceRepository:function(e){t=e,c(a.SOURCE_REPOSITORY_UPDATED,s())},getSourceRepository:s,setSelectedEndpoint:function(e){n=e},getSelectedEndpoint:function(){return Object(i.cloneDeep)(n)},getNewEndpoint:l,createEndpointConfig:function(){r=new o.GraphqlEndpointConfiguration,e.emitSync(a.ENDPOINT_CONFIG_CREATED,r)},onEndpointConfigCreated:function(e){return r&&angular.isFunction(e)&&e(r),p(a.ENDPOINT_CONFIG_CREATED,(function(t){return e(t)}))},startCreateEndpointWizard:function(){c(a.START_CREATE_ENDPOINT_WIZARD,null)},generateEndpoint:function(){c(a.GENERATE_ENDPOINT,l())},endpointGenerated:function(e){c(a.ENDPOINT_GENERATED,e)},exploreEndpointInPlayground:function(e){c(a.EXPLORE_ENDPOINT_IN_PLAYGROUND,e)},openEndpointGenerationReport:function(e){c(a.OPEN_ENDPOINT_GENERATION_REPORT,e)},deleteEndpointGenerationReport:function(e){c(a.DELETE_ENDPOINT_REPORT,e)},cancelEndpointCreation:function(){c(a.CANCEL_ENDPOINT_CREATION,{})},finishGenerationWorkflow:function(){c(a.FINISH_GENERATION_WORKFLOW,{})},nextEndpointCreationStep:function(){c(a.NEXT_ENDPOINT_CREATION_STEP,{})},previousEndpointCreationStep:function(){c(a.PREVIOUS_ENDPOINT_CREATION_STEP,{})},subscribe:p}}angular.module("graphdb.framework.graphql.services.graphql-context",[]).factory("GraphqlContextService",r),r.$inject=["EventEmitterService","GraphqlService"];var a={SOURCE_REPOSITORY_UPDATED:"sourceRepositoryUpdated",START_CREATE_ENDPOINT_WIZARD:"startCreateEndpointWizard",ENDPOINT_CONFIG_CREATED:"updateConfigCreated",GENERATE_ENDPOINT:"generateEndpoint",ENDPOINT_GENERATED:"endpointGenerated",CANCEL_ENDPOINT_CREATION:"cancelEndpointCreation",FINISH_GENERATION_WORKFLOW:"finishGenerationWorkflow",EXPLORE_ENDPOINT_IN_PLAYGROUND:"exploreEndpointInPlayground",OPEN_ENDPOINT_GENERATION_REPORT:"openEndpointGenerationReport",DELETE_ENDPOINT_REPORT:"deleteEndpointReport",NEXT_ENDPOINT_CREATION_STEP:"nextEndpointCreationStep",PREVIOUS_ENDPOINT_CREATION_STEP:"previousEndpointCreationStep"}},198:function(e,t,n){"use strict";n.r(t);var i=n(24);function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function a(){return{restrict:"E",scope:{options:"=",selected:"=",labels:"="},templateUrl:"js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html",link:function(e){var t=[];e.searchLeft="",e.availableOptions=[],e.selectedOptions=[],e.selectOption=function(t){e.selectedOptions.push(t),e.availableOptions=e.availableOptions.filter((function(e){return e!==t})),n()},e.selectAll=function(){e.selectedOptions=e.selectedOptions.concat(e.availableOptions),e.availableOptions=[],n()},e.deselectOption=function(t){e.availableOptions.push(t),e.selectedOptions=e.selectedOptions.filter((function(e){return e!==t})),n()},e.deselectAll=function(){e.availableOptions=e.availableOptions.concat(e.selectedOptions),e.selectedOptions=[],n()};var n=function(){e.selected=o(e.selectedOptions)};e.$on("$destroy",(function(){t.forEach((function(e){return e()}))}));e.selectedOptions=Object(i.cloneDeep)(e.selected),e.selectedOptions.length?e.availableOptions=e.options.filter((function(t){return!e.selectedOptions.find((function(e){return e.id===t.id}))})):e.availableOptions=Object(i.cloneDeep)(e.options)}}}angular.module("graphdb.framework.core.directives.shuttle-multiselect",[]).directive("shuttleMultiselect",a),a.$inject=[]},314:function(e,t,n){"use strict";n.r(t);n(198);var i=n(16),o=n(125),r=n(182);function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function p(e,t,n,l,c,p,u){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-select-schema-sources.html",scope:{stepDefinition:"="},link:function(l,d){var h=[];l.schemaSourceType=r.SchemaSourceType,l.ontologyShaclShapeSource=r.OntologyShaclShapeSource,l.shapesMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.tooltip"},l.graphsMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.tooltip"},l.endpointConfiguration=void 0,l.prefixList=[],l.loadingPrefixes=!1,l.graphs=void 0,l.shaclShapeGraphs=void 0,l.graphqlSchemaShapes=void 0,l.allGraphs=void 0,l.loadingGraphs=!1,l.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),i=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,i,(function(){c.cancelEndpointCreation()}))},l.next=function(){c.nextEndpointCreationStep()},l.onSchemaSourceTypeChange=function(){l.endpointConfiguration.schemaSourceType=l.stepDefinition.schemaSourceType,l.endpointConfiguration.generateFromShaclShapes()&&(l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_ALL_GRAPHS?l.endpointConfiguration.selectedGraphs=l.allGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?l.endpointConfiguration.selectedGraphs=l.shaclShapeGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.PICK_GRAPHS&&(l.endpointConfiguration.selectedGraphs=new i.GraphListOptions))},l.onOntologyShaclShapeSourceChange=function(){l.endpointConfiguration.owlOrShaclSourceType=l.stepDefinition.ontotlogyShaclShapeSource,l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_ALL_GRAPHS?l.endpointConfiguration.selectedGraphs=l.allGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?l.endpointConfiguration.selectedGraphs=l.shaclShapeGraphs:l.stepDefinition.ontotlogyShaclShapeSource===r.OntologyShaclShapeSource.PICK_GRAPHS&&(l.endpointConfiguration.selectedGraphs=new i.GraphListOptions)},l.canProceed=function(){var e=!1;if(l.endpointConfiguration){var t=l.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),n=l.endpointParamsForm.$valid;l.stepDefinition.schemaSourceType===r.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES&&t?e=!0:l.stepDefinition.schemaSourceType===r.SchemaSourceType.SHACL_SHAPES&&n&&(e=l.endpointConfiguration.owlOrShaclSourceType===r.OntologyShaclShapeSource.USE_ALL_GRAPHS||l.endpointConfiguration.hasSelectedGraphs())}return e};var f=function(e){l.loadingData=!0,Promise.all([(l.loadingPrefixes=!0,p.getPrefixListAsSelectOptions(c.getSourceRepository()).catch((function(e){console.error("Error loading prefixes",e),n.error(getError(e))})).finally((function(){l.loadingPrefixes=!1}))),(l.loadingGraphs=!0,u.getGraphs(c.getSourceRepository()).catch((function(e){console.error("Error loading graphs",e),n.error(getError(e))})).finally((function(){l.loadingGraphs=!1}))),p.getGraphqlSchemaShapes(c.getSourceRepository()).catch((function(e){console.error("Error loading GraphQL schema shapes",e),n.error(getError(e))})),p.getShaclShapeGraphs(c.getSourceRepository()).catch((function(e){console.error("Error loading SHACL shape graphs",e),n.error(getError(e))}))]).then((function(t){var n=s(t,4),o=n[0],r=n[1],c=n[2],p=n[3];l.graphqlSchemaShapes=c,l.graphs=r,l.shaclShapeGraphs=p,l.allGraphs=new i.GraphListOptions([].concat(a(r.graphList),a(p.graphList))),l.prefixList=o,l.endpointConfiguration=e})).finally((function(){l.loadingData=!1}))},_=function(){f(c.getNewEndpoint())},g=function(){h.forEach((function(e){return e()}))};!function(){l.$on("$destroy",g),h.push(c.subscribe(o.GraphqlEventName.SOURCE_REPOSITORY_UPDATED,_));var e=c.getNewEndpoint();e?f(e):h.push(c.onEndpointConfigCreated(f))}()}}}angular.module("graphdb.framework.graphql.directives.select-schema-sources",["graphdb.framework.core.directives.shuttle-multiselect"]).directive("selectSchemaSources",p),p.$inject=["ModalService","$translate","toastr","$repositories","GraphqlContextService","GraphqlService","RDF4JRepositoriesService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[73,121,242,354],{111:function(n,t){angular.module("graphdb.framework.rest.connectors.service",[]).factory("ConnectorsRestService",e),e.$inject=["$http"];function e(n){return{getConnectors:function(t,e){if(t)return n.get("rest/connectors",{headers:{"X-GraphDB-Repository":t,"X-GraphDB-Repository-Location":e}});return n.get("rest/connectors")},initConnector:function(t){return n.get("".concat("rest/connectors","/options?prefix=").concat(t))},hasConnector:function(t,e,o){if(e)return n.get("".concat("rest/connectors","/existing?prefix=").concat(t),{headers:{"X-GraphDB-Repository":e,"X-GraphDB-Repository-Location":o}});return n.get("".concat("rest/connectors","/existing?prefix=").concat(t))},checkConnector:function(t){return n.post("".concat("rest/connectors","/check"),t,{headers:{"Content-Type":"text/plain"}})}}}},123:function(n,t,e){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function c(n,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,s(o.key),o)}}function i(n,t,e){return t&&c(n.prototype,t),e&&c(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function s(n){var t=function(n,t){if("object"!=o(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==o(t)?t:t+""}e.r(t),e.d(t,"ConnectorTypesListModel",(function(){return u})),e.d(t,"ConnectorTypeModel",(function(){return f})),e.d(t,"ConnectorListModel",(function(){return a})),e.d(t,"ConnectorModel",(function(){return p})),e.d(t,"ConnectorSettingsModel",(function(){return h}));var u=function(){return i((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,n),this._connectors=t.connectors||[]}),[{key:"getConnectorByName",value:function(n){return this._connectors.find((function(t){return t.name===n}))}},{key:"connectors",get:function(){return this._connectors},set:function(n){this._connectors=n}}])}(),f=function(){return i((function n(t){r(this,n),this._name=t.name,this._prefix=t.prefix}),[{key:"name",get:function(){return this._name},set:function(n){this._name=n}},{key:"prefix",get:function(){return this._prefix},set:function(n){this._prefix=n}}])}(),a=function(){return i((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];r(this,n),this._connectors=t.connectors}),[{key:"connectors",get:function(){return this._connectors},set:function(n){this._connectors=n}}])}(),p=function(){return i((function n(t){r(this,n),this._name=t.name,this._settings=new h(t)}),[{key:"settings",get:function(){return this._settings},set:function(n){this._settings=n}},{key:"name",get:function(){return this._name},set:function(n){this._name=n}}])}(),h=function(){return i((function n(t){r(this,n),this._settings=t.values||{}}),[{key:"settings",get:function(){return this._settings},set:function(n){this._settings=n}}])}()},126:function(n,t,e){"use strict";e.r(t);e(111);var o=e(136),r=e(25);function c(n){var t=function(t,e){return n.getConnectors(t,e).then((function(n){return Object(o.connectorTypesListMapper)(n.data)}))},e=function(t,e,r){return n.hasConnector(encodeURIComponent(t),e,r).then((function(n){return Object(o.connectorsMapper)(n.data)}))};return{getConnectorTypes:t,getConnectorsByType:e,getConnectorPrefixByName:function(n,e,o){return t(e,o).then((function(t){var e=t.getConnectorByName(n);return e?e.prefix:null}))},getConnectorsByTypeAsSelectMenuOptions:function(n,t,o){return e(n,t,o).then((function(n){return n.connectors.map((function(n){return new r.SelectMenuOptionsModel({value:n.name,label:n.name})}))}))}}}angular.module("graphdb.framework.core.services.connectors",["graphdb.framework.rest.connectors.service"]).factory("ConnectorsService",c),c.$inject=["ConnectorsRestService"]},136:function(n,t,e){"use strict";e.r(t),e.d(t,"connectorTypesListMapper",(function(){return r})),e.d(t,"connectorsMapper",(function(){return c}));var o=e(123),r=function(n){var t=new o.ConnectorTypesListModel;return n?(t.connectors=Object.keys(n).map((function(t){return new o.ConnectorTypeModel({name:t,prefix:n[t]})})),t):t},c=function(n){var t=new o.ConnectorListModel;return n?(t.connectors=n.map((function(n){return new o.ConnectorModel(n)})),t):t}}}]);
|