graphdb-workbench 3.0.1 → 3.0.2-RC1
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.b2d04af2d60cc37a5ebe.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/{190.431c135250df34322375.bundle.js → 190.4969eb91b83aaa7cd263.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.5ec5948f2e30819e6dc8.bundle.js} +1 -1
- package/dist/{3.77b848d2eb7fdb2523b0.bundle.js → 3.33dccf88ff294b9ba7cf.bundle.js} +1 -1
- package/dist/{30.f818533689767fa3e2ca.bundle.js → 30.a60e3c2ac0de3b37e185.bundle.js} +1 -1
- package/dist/31.7452fe0f096c31a9a1f1.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/{38.79bf8cac11760d2e69be.bundle.js → 38.8819c36a5204129f3dbc.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/{41.0d8779a7af2eb26cf157.bundle.js → 41.c6545eb0ce13e63738d2.bundle.js} +1 -1
- 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/{44.45a26f697588279fbc60.bundle.js → 44.ec337831549cfeaab224.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.8726b8de8055297cec7c.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.4886e820614f9dadb147.bundle.js +1 -0
- 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/{54.c54ba6791e3926ebb553.bundle.js → 54.f1ed20f259011ef082b2.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.fc37b3e514d7594f55be.bundle.js} +19 -19
- package/dist/css/autocomplete.css +5 -0
- package/dist/css/clustermanagement.css +10 -7
- package/dist/css/rdf-class-hierarchy.css +1 -1
- 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 +9 -11
- 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/50.ee3ed147b2bc2382a0a2.bundle.js +0 -1
- package/dist/75.0e43af19262a978d6aab.bundle.js +0 -1
- package/dist/98.6586c3413d178a0cab8c.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[59,
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[59,111,170,252,253],{163:function(n,e,t){"use strict";function r(n){return(r="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 o(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,i(r.key),r)}}function i(n){var e=function(n,e){if("object"!=r(n)||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var o=t.call(n,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==r(e)?e:e+""}t.r(e),t.d(e,"GraphQLPlaygroundComponent",(function(){return a}));var a=function(){return n=function n(e){!function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.graphQLPlaygroundComponent=e},(e=[{key:"setLanguage",value:function(n){this.graphQLPlaygroundComponent.setLanguage(n)}}])&&o(n.prototype,e),t&&o(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,e,t}()},196:function(n,e,t){"use strict";var r;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 i(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,u(r.key),r)}}function a(n,e,t){return(e=u(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function u(n){var e=function(n,e){if("object"!=o(n)||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==o(e)?e:e+""}t.r(e),t.d(e,"GraphqlPlaygroundDirectiveUtil",(function(){return l}));var l=function(){return n=function n(){!function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n)},t=[{key:"getGraphqlPlaygroundDirectiveController",value:function(n){var e=angular.element(document.querySelector(n));return angular.element(e).isolateScope()}}],(e=null)&&i(n.prototype,e),t&&i(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,e,t}();r=l,a(l,"getGraphqlPlaygroundComponent",(function(n){var e=r.getGraphqlPlaygroundDirectiveController(n);if(e)return e.getGraphQLPlaygroundComponent()})),a(l,"getGraphqlPlaygroundComponentAsync",(function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(t,o){var i=r.getGraphqlPlaygroundComponent(n);i&&t(i);var a=1e3*e|1e3,u=setInterval((function(){(i=r.getGraphqlPlaygroundComponent(n))?(clearInterval(u),t(i)):(a-=100)<0&&(clearInterval(u),console.log("GraphQL Playground component is not found",n),o(new Error("Element is not found: "+n)))}),100)}))}))},197:function(n,e,t){"use strict";t.r(e);var r=t(163);function o(n,e,t,o){return{restrict:"E",templateUrl:"js/angular/core/directives/graphql-playground/templates/graphql-playground.html",scope:{configuration:"="},link:function(i,a,u){i.getGraphQLPlaygroundComponent=function(){return new r.GraphQLPlaygroundComponent(l()[0])},i.abortQuery=function(r){var i=n.getActiveRepository(),a=r.detail.headers["X-GraphDB-Track-Alias"];o.info(e.instant("graphql.playground.message.abort_query")),t.deleteQuery(a,i)};var l=function(){return a.find("graphql-playground-component")}}}}angular.module("graphdb.framework.core.directives.graphql-playground",[]).directive("graphqlPlayground",o),o.$inject=["$repositories","$translate","MonitoringRestService","toastr"]},220:function(n,e,t){"use strict";function r(n){return(r="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 o(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,i(r.key),r)}}function i(n){var e=function(n,e){if("object"!=r(n)||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var o=t.call(n,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==r(e)?e:e+""}t.r(e),t.d(e,"GraphqlPlaygroundConfig",(function(){return a}));var a=function(){return n=function n(e){!function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this._endpoint=e.endpoint,this._headers=e.headers,this._selectedLanguage=e.selectedLanguage,this._defaultQuery=e.defaultQuery},(e=[{key:"endpoint",get:function(){return this._endpoint},set:function(n){this._endpoint=n}},{key:"headers",get:function(){return this._headers},set:function(n){this._headers=n}},{key:"selectedLanguage",get:function(){return this._selectedLanguage},set:function(n){this._selectedLanguage=n}},{key:"defaultQuery",get:function(){return this._defaultQuery},set:function(n){this._defaultQuery=n}}])&&o(n.prototype,e),t&&o(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,e,t}()},311:function(n,e,t){"use strict";t.r(e);var r=t(220),o=(t(127),t(197),t(196));function i(n,e,t,i,a,u,l,c){var p=[];n.initialized=!1,n.loadingEndpoints=!1,n.selectedGraphqlEndpoint=void 0,n.graphqlEndpoints=[],n.configuration=void 0,n.getActiveRepositoryNoError=function(){return t.getActiveRepository()},n.onGraphqlEndpointChange=function(n){y(n)};var f=function(n){var e={endpoint:n.replace(/^\//,""),headers:s,selectedLanguage:i.getLanguage(),defaultQuery:"query Object {\n object(limit: 100) {\n id\n }\n}"};return new r.GraphqlPlaygroundConfig(e)},s=function(){var n={"X-GraphDB-Track-Alias":"graphql-playground-query-".concat(performance.now(),"-").concat(Date.now())},e=c.getAuthToken();return e&&(n.Authorization=e),n},g=function(n,e){return n.find((function(n){return n.label===e}))},d=function(t){n.graphqlEndpoints=t,n.selectedGraphqlEndpoint=function(){var t=e.search().endpointId;if(t){var r=g(n.graphqlEndpoints,t);if(r)return r}var o=l.getSelectedEndpoint();if(o){var i=g(n.graphqlEndpoints,o.endpointId);if(i)return i}var a=n.graphqlEndpoints.find((function(n){return n.data.default}));return a||n.graphqlEndpoints[0]}(),n.configuration=f(n.selectedGraphqlEndpoint.value)},y=function(e){var t=f(e.value);n.configuration=new r.GraphqlPlaygroundConfig(t)},h=function(){n.selectedGraphqlEndpoint=void 0,n.graphqlEndpoints=[],n.configuration=void 0};p.push(n.$watch(n.getActiveRepositoryObject,(function(n){n&&v()}))),p.push(n.$on("language-changed",(function(n,e){o.GraphqlPlaygroundDirectiveUtil.getGraphqlPlaygroundComponentAsync("#graphql-playground").then((function(n){n.setLanguage(e.locale)}))}))),n.$on("$destroy",(function(){p.forEach((function(n){return n()}))}));var v=function(){(function(){n.loadingEndpoints=!0;var e=t.getActiveRepository();return u.getEndpointsAsSelectMenuOptions(e).then((function(n){n.length?d(n):h()})).catch((function(n){h(),a.error(getError(n))})).finally((function(){n.loadingEndpoints=!1}))})().finally((function(){n.initialized=!0}))}}angular.module("graphdb.framework.graphql.controllers.graphql-playground-view",["graphdb.framework.core.services.graphql-service","graphdb.framework.core.directives.graphql-playground"]).controller("GraphqlPlaygroundViewCtrl",i),i.$inject=["$scope","$location","$repositories","$languageService","toastr","GraphqlService","GraphqlContextService","AuthTokenService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[6,130,382],{128:function(t,e,n){"use strict";n.r(e),n.d(e,"TTYG_ERROR_MSG_LENGTH",(function(){return i})),n.d(e,"AGENTS_FILTER_ALL_KEY",(function(){return s})),n.d(e,"AGENT_OPERATION",(function(){return r}));var i=100,s="ALL",r={CREATE:"create",EDIT:"edit",CLONE:"clone"}},141:function(t,e,n){"use strict";n.r(e),n.d(e,"AgentModel",(function(){return h})),n.d(e,"AgentInstructionsModel",(function(){return l})),n.d(e,"ExtractionMethodModel",(function(){return d})),n.d(e,"AdditionalExtractionMethodsModel",(function(){return f})),n.d(e,"AdditionalExtractionMethodModel",(function(){return _})),n.d(e,"AgentListModel",(function(){return m})),n.d(e,"ExtractionMethod",(function(){return y})),n.d(e,"AdditionalExtractionMethod",(function(){return p})),n.d(e,"AgentListFilterModel",(function(){return x}));var i=n(24),s=n(128);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 o(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,c(i.key),i)}}function u(t,e,n){return e&&a(t.prototype,e),n&&a(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(){return u((function t(e,n){o(this,t),this.hashGenerator=n,this._isDeleted=!1,this._id=e.id,this._name=e.name,this._repositoryId=e.repositoryId,this.isRepositoryDeleted=void 0!==e.isRepositoryDeleted&&e.isRepositoryDeleted,this._model=e.model,this._temperature=e.temperature,this._topP=e.topP,this._seed=e.seed,this._instructions=e.instructions,this._assistantExtractionMethods=e.assistantExtractionMethods,this._additionalExtractionMethods=e.additionalExtractionMethods}),[{key:"isDeleted",get:function(){return this._isDeleted},set:function(t){this._isDeleted=t}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"repositoryId",get:function(){return this._repositoryId},set:function(t){this._repositoryId=t}},{key:"model",get:function(){return this._model},set:function(t){this._model=t}},{key:"temperature",get:function(){return this._temperature},set:function(t){this._temperature=t}},{key:"topP",get:function(){return this._topP},set:function(t){this._topP=t}},{key:"seed",get:function(){return this._seed},set:function(t){this._seed=t}},{key:"instructions",get:function(){return this._instructions},set:function(t){this._instructions=t}},{key:"assistantExtractionMethods",get:function(){return this._assistantExtractionMethods},set:function(t){this._assistantExtractionMethods=t}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),l=function(){return u((function t(e){o(this,t),this._systemInstruction=e.systemInstruction,this._userInstruction=e.userInstruction}),[{key:"systemInstruction",get:function(){return this._systemInstruction},set:function(t){this._systemInstruction=t}},{key:"userInstruction",get:function(){return this._userInstruction},set:function(t){this._userInstruction=t}}])}(),d=function(){return u((function t(e){o(this,t),this._method=e.method,this._addMissingNamespaces=e.addMissingNamespaces,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance}),[{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"addMissingNamespaces",get:function(){return this._addMissingNamespaces},set:function(t){this._addMissingNamespaces=t}},{key:"sparqlQuery",get:function(){return this._sparqlQuery},set:function(t){this._sparqlQuery=t}},{key:"ontologyGraph",get:function(){return this._ontologyGraph},set:function(t){this._ontologyGraph=t}},{key:"maxNumberOfTriplesPerCall",get:function(){return this._maxNumberOfTriplesPerCall},set:function(t){this._maxNumberOfTriplesPerCall=t}},{key:"similarityIndex",get:function(){return this._similarityIndex},set:function(t){this._similarityIndex=t}},{key:"similarityIndexThreshold",get:function(){return this._similarityIndexThreshold},set:function(t){this._similarityIndexThreshold=t}},{key:"queryTemplate",get:function(){return this._queryTemplate},set:function(t){this._queryTemplate=t}},{key:"retrievalConnectorInstance",get:function(){return this._retrievalConnectorInstance},set:function(t){this._retrievalConnectorInstance=t}}])}(),f=function(){return u((function t(e){o(this,t),this._additionalExtractionMethods=e}),[{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),_=function(){return u((function t(e){o(this,t),this._method=e.method,this._maxNumberOfResultsPerCall=e.maxNumberOfResultsPerCall,this._searchLabelPredicates=e.searchLabelPredicates}),[{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"maxNumberOfResultsPerCall",get:function(){return this._maxNumberOfResultsPerCall},set:function(t){this._maxNumberOfResultsPerCall=t}},{key:"searchLabelPredicates",get:function(){return this._searchLabelPredicates},set:function(t){this._searchLabelPredicates=t}}])}(),m=function(){return u((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(this,t),this._agents=e,this._filterableAgents=Object(i.cloneDeep)(e),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}),[{key:"_initializeAgentNameByIdMap",value:function(){this._agentNameByIdMap=this._agents.reduce((function(t,e){return t[e.id]=e.name,t}),{})}},{key:"isEmpty",value:function(){return 0===this._agents.length}},{key:"filterByRepository",value:function(t){this._filterableAgents=this._agents.filter((function(e){return t===s.AGENTS_FILTER_ALL_KEY||(e.repositoryId===t?e:void 0)}))}},{key:"getAgent",value:function(t){return this._agents.find((function(e){return e.id===t}))}},{key:"agents",get:function(){return this._agents},set:function(t){this._agents=t}},{key:"filterableAgents",get:function(){return this._filterableAgents},set:function(t){this._filterableAgents=t}},{key:"agentNameByIdMap",get:function(){return Object(i.cloneDeep)(this._agentNameByIdMap)},set:function(t){this._agentNameByIdMap=t}}])}(),y={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},p={IRI_DISCOVERY_SEARCH:"iri_discovery_search",AUTOCOMPLETE_IRI_DISCOVERY_SEARCH:"autocomplete_iri_discovery_search"},x=function(){return u((function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o(this,t),this._key=e,this._label=n,this._selected=i}),[{key:"key",get:function(){return this._key},set:function(t){this._key=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}}])}()},287:function(t,e,n){"use strict";n.r(e),n.d(e,"AgentFormModel",(function(){return h})),n.d(e,"ExtractionMethodsFormModel",(function(){return l})),n.d(e,"ExtractionMethodFormModel",(function(){return d})),n.d(e,"AdditionalExtractionMethodsFormModel",(function(){return f})),n.d(e,"AdditionalExtractionMethodFormModel",(function(){return _})),n.d(e,"AgentInstructionsFormModel",(function(){return m}));var i=n(25),s=n(141);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 o(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,c(i.key),i)}}function u(t,e,n){return e&&a(t.prototype,e),n&&a(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(){return u((function t(e){o(this,t),this._id=e&&e.id,this._name=e&&e.name,this._repositoryId=e&&e.repositoryId,this._model=e&&e.model||"gpt-4o",this._temperature=e&&e.temperature||new i.NumericRangeModel({value:.7,minValue:0,maxValue:2,step:.1}),this._topP=e&&e.topP||new i.NumericRangeModel({value:1,minValue:0,maxValue:1,step:.1}),this._seed=e&&e.seed,this._instructions=e&&e.instructions,this._assistantExtractionMethods=e&&e.assistantExtractionMethods||this.getDefaultExtractionMethods(),this._additionalExtractionMethods=e&&e.additionalExtractionMethods||this.getDefaultAdditionalExtractionMethod()}),[{key:"getDefaultExtractionMethods",value:function(){var t=[];return t.push(new d({method:s.ExtractionMethod.SPARQL,ontologyGraph:"http://example.com/swgraph",sparqlQuery:new i.TextFieldModel({value:"select ?s ?p ?o where {?s ?p ?o .}",minLength:1,maxLength:2380}),selected:!1})),t.push(new d({method:s.ExtractionMethod.FTS_SEARCH,maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new d({method:s.ExtractionMethod.SIMILARITY,similarityIndex:null,similarityIndexThreshold:new i.NumericRangeModel({value:.6,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new d({method:s.ExtractionMethod.RETRIEVAL,retrievalConnectorInstance:null,maxNumberOfTriplesPerCall:null,queryTemplate:new i.TextFieldModel({value:'{"query": "string"}',minLength:1,maxLength:2380}),selected:!1})),new l(t)}},{key:"getDefaultAdditionalExtractionMethod",value:function(){var t=[];return t.push(new _({method:s.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH}),new _({method:s.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH,maxNumberOfResultsPerCall:0,searchLabelPredicates:[]})),new f(t)}},{key:"toPayload",value:function(){return{id:this.id,name:this._name,repositoryId:this._repositoryId,model:this._model,temperature:this._temperature.value,topP:this._topP.value,seed:this._seed,assistantsInstructions:this._instructions.toPayload(),assistantExtractionMethods:this._assistantExtractionMethods.toPayload(),additionalExtractionMethods:this._additionalExtractionMethods.toPayload()}}},{key:"hasExtractionMethodSelected",value:function(){return this._assistantExtractionMethods.extractionMethods.some((function(t){return t.selected}))}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"repositoryId",get:function(){return this._repositoryId},set:function(t){this._repositoryId=t}},{key:"model",get:function(){return this._model},set:function(t){this._model=t}},{key:"temperature",get:function(){return this._temperature},set:function(t){this._temperature=t}},{key:"topP",get:function(){return this._topP},set:function(t){this._topP=t}},{key:"seed",get:function(){return this._seed},set:function(t){this._seed=t}},{key:"instructions",get:function(){return this._instructions},set:function(t){this._instructions=t}},{key:"assistantExtractionMethods",get:function(){return this._assistantExtractionMethods},set:function(t){this._assistantExtractionMethods=t}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),l=function(){return u((function t(e){o(this,t),this._extractionMethods=e}),[{key:"toPayload",value:function(){return this._extractionMethods.filter((function(t){return t.selected})).map((function(t){return t.toPayload()}))}},{key:"findExtractionMethodIndex",value:function(t){return this._extractionMethods.findIndex((function(e){return e.method===t}))}},{key:"setExtractionMethod",value:function(t){var e=this.findExtractionMethodIndex(t.method);-1!==e&&(this._extractionMethods[e]=t)}},{key:"extractionMethods",get:function(){return this._extractionMethods},set:function(t){this._extractionMethods=t}},{key:"getExtractionMethod",value:function(t){return this._extractionMethods.find((function(e){return e.method===t}))}},{key:"getSimilarityExtractionMethod",value:function(){return this.getExtractionMethod(s.ExtractionMethod.SIMILARITY)}},{key:"getRetrievalExtractionMethod",value:function(){return this.getExtractionMethod(s.ExtractionMethod.RETRIEVAL)}},{key:"getFTSSearchExtractionMethod",value:function(){return this.getExtractionMethod(s.ExtractionMethod.FTS_SEARCH)}}])}(),d=function(){return u((function t(e){o(this,t),this._selected=e.selected||!1,this._method=e.method,this._sparqlOption=e.sparqlOption,this._addMissingNamespaces=e.addMissingNamespaces,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance,this._expanded=void 0!==e.expanded&&e.expanded}),[{key:"toggleCollapse",value:function(){this._expanded=!this._expanded}},{key:"toPayload",value:function(){var t={};return t.method=this._method?this._method:null,"ontologyGraph"===this._sparqlOption?t.ontologyGraph=this._ontologyGraph?this._ontologyGraph:null:"sparqlQuery"===this._sparqlOption&&(t.sparqlQuery=this._sparqlQuery?this._sparqlQuery.value:null),this._method===s.ExtractionMethod.SPARQL&&void 0!==this._addMissingNamespaces&&(t.addMissingNamespaces=this._addMissingNamespaces),this._maxNumberOfTriplesPerCall&&(t.maxNumberOfTriplesPerCall=this._maxNumberOfTriplesPerCall),this._similarityIndex&&(t.similarityIndex=this._similarityIndex),this._similarityIndexThreshold&&this._similarityIndexThreshold.value&&(t.similarityIndexThreshold=parseFloat(this._similarityIndexThreshold.value)),this._queryTemplate&&this._queryTemplate.value&&(t.queryTemplate=this._queryTemplate.value),this._retrievalConnectorInstance&&(t.retrievalConnectorInstance=this._retrievalConnectorInstance),t}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}},{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"sparqlOption",get:function(){return this._sparqlOption},set:function(t){this._sparqlOption=t}},{key:"sparqlQuery",get:function(){return this._sparqlQuery},set:function(t){this._sparqlQuery=t}},{key:"addMissingNamespaces",get:function(){return this._addMissingNamespaces},set:function(t){this._addMissingNamespaces=t}},{key:"ontologyGraph",get:function(){return this._ontologyGraph},set:function(t){this._ontologyGraph=t}},{key:"maxNumberOfTriplesPerCall",get:function(){return this._maxNumberOfTriplesPerCall},set:function(t){this._maxNumberOfTriplesPerCall=t}},{key:"similarityIndex",get:function(){return this._similarityIndex},set:function(t){this._similarityIndex=t}},{key:"similarityIndexThreshold",get:function(){return this._similarityIndexThreshold},set:function(t){this._similarityIndexThreshold=t}},{key:"queryTemplate",get:function(){return this._queryTemplate},set:function(t){this._queryTemplate=t}},{key:"retrievalConnectorInstance",get:function(){return this._retrievalConnectorInstance},set:function(t){this._retrievalConnectorInstance=t}},{key:"expanded",get:function(){return this._expanded},set:function(t){this._expanded=t}}])}(),f=function(){return u((function t(e){o(this,t),this._additionalExtractionMethods=e}),[{key:"toPayload",value:function(){return this._additionalExtractionMethods.filter((function(t){return t.selected})).map((function(t){return t.toPayload()}))}},{key:"findAdditionalExtractionMethod",value:function(t){return this._additionalExtractionMethods.find((function(e){return e.method===t}))}},{key:"setAdditionalExtractionMethod",value:function(t){var e=this;Array.isArray(t)&&t.forEach((function(t){var n=e.findAdditionalExtractionMethod(t._method);n&&(n._selected=t._selected,n._maxNumberOfResultsPerCall=t._maxNumberOfResultsPerCall,n._searchLabelPredicates=t._searchLabelPredicates,n._expanded=t._expanded)}))}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),_=function(){return u((function t(e){o(this,t),this._selected=e.selected||!1,this._method=e.method,this._expanded=e.expanded||!1,this._maxNumberOfResultsPerCall=e.maxNumberOfResultsPerCall||null,this._searchLabelPredicates=e._searchLabelPredicates||[]}),[{key:"toPayload",value:function(){var t={},e=this._method===s.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH;return t.method=this._method,e&&this._maxNumberOfResultsPerCall&&(t.limit=this._maxNumberOfResultsPerCall),e&&this._searchLabelPredicates&&(t.searchLabelPredicates=this._searchLabelPredicates),t}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}},{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"expanded",get:function(){return this._expanded},set:function(t){this._expanded=t}},{key:"toggleCollapse",value:function(){this._expanded=!this._expanded}},{key:"maxNumberOfResultsPerCall",get:function(){return this._maxNumberOfResultsPerCall},set:function(t){this._maxNumberOfResultsPerCall=t}},{key:"searchLabelPredicates",get:function(){return this._searchLabelPredicates},set:function(t){this._searchLabelPredicates=t}}])}(),m=function(){return u((function t(e){o(this,t),this._systemInstruction=e.systemInstruction,this._systemInstructionCopy=e.defaultSystemInstruction,this._userInstruction=e.userInstruction,this._userInstructionCopy=e.defaultUserInstruction}),[{key:"toPayload",value:function(){return{systemInstruction:this._systemInstruction,userInstruction:this._userInstruction}}},{key:"systemInstruction",get:function(){return this._systemInstruction},set:function(t){this._systemInstruction=t}},{key:"systemInstructionCopy",get:function(){return this._systemInstructionCopy},set:function(t){this._systemInstructionCopy=t}},{key:"userInstruction",get:function(){return this._userInstruction},set:function(t){this._userInstruction=t}},{key:"userInstructionCopy",get:function(){return this._userInstructionCopy},set:function(t){this._userInstructionCopy=t}}])}()}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[6,131,382],{129:function(t,e,n){"use strict";n.r(e),n.d(e,"TTYG_ERROR_MSG_LENGTH",(function(){return i})),n.d(e,"AGENTS_FILTER_ALL_KEY",(function(){return s})),n.d(e,"AGENT_OPERATION",(function(){return r}));var i=100,s="ALL",r={CREATE:"create",EDIT:"edit",CLONE:"clone"}},143:function(t,e,n){"use strict";n.r(e),n.d(e,"AgentModel",(function(){return h})),n.d(e,"AgentInstructionsModel",(function(){return l})),n.d(e,"ExtractionMethodModel",(function(){return d})),n.d(e,"AdditionalExtractionMethodsModel",(function(){return f})),n.d(e,"AdditionalExtractionMethodModel",(function(){return _})),n.d(e,"AgentListModel",(function(){return m})),n.d(e,"ExtractionMethod",(function(){return y})),n.d(e,"AdditionalExtractionMethod",(function(){return p})),n.d(e,"AgentListFilterModel",(function(){return x}));var i=n(24),s=n(129);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 o(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,c(i.key),i)}}function u(t,e,n){return e&&a(t.prototype,e),n&&a(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(){return u((function t(e,n){o(this,t),this.hashGenerator=n,this._isDeleted=!1,this._id=e.id,this._name=e.name,this._repositoryId=e.repositoryId,this.isRepositoryDeleted=void 0!==e.isRepositoryDeleted&&e.isRepositoryDeleted,this._model=e.model,this._temperature=e.temperature,this._topP=e.topP,this._seed=e.seed,this._instructions=e.instructions,this._assistantExtractionMethods=e.assistantExtractionMethods,this._additionalExtractionMethods=e.additionalExtractionMethods}),[{key:"isDeleted",get:function(){return this._isDeleted},set:function(t){this._isDeleted=t}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"repositoryId",get:function(){return this._repositoryId},set:function(t){this._repositoryId=t}},{key:"model",get:function(){return this._model},set:function(t){this._model=t}},{key:"temperature",get:function(){return this._temperature},set:function(t){this._temperature=t}},{key:"topP",get:function(){return this._topP},set:function(t){this._topP=t}},{key:"seed",get:function(){return this._seed},set:function(t){this._seed=t}},{key:"instructions",get:function(){return this._instructions},set:function(t){this._instructions=t}},{key:"assistantExtractionMethods",get:function(){return this._assistantExtractionMethods},set:function(t){this._assistantExtractionMethods=t}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),l=function(){return u((function t(e){o(this,t),this._systemInstruction=e.systemInstruction,this._userInstruction=e.userInstruction}),[{key:"systemInstruction",get:function(){return this._systemInstruction},set:function(t){this._systemInstruction=t}},{key:"userInstruction",get:function(){return this._userInstruction},set:function(t){this._userInstruction=t}}])}(),d=function(){return u((function t(e){o(this,t),this._method=e.method,this._addMissingNamespaces=e.addMissingNamespaces,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance}),[{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"addMissingNamespaces",get:function(){return this._addMissingNamespaces},set:function(t){this._addMissingNamespaces=t}},{key:"sparqlQuery",get:function(){return this._sparqlQuery},set:function(t){this._sparqlQuery=t}},{key:"ontologyGraph",get:function(){return this._ontologyGraph},set:function(t){this._ontologyGraph=t}},{key:"maxNumberOfTriplesPerCall",get:function(){return this._maxNumberOfTriplesPerCall},set:function(t){this._maxNumberOfTriplesPerCall=t}},{key:"similarityIndex",get:function(){return this._similarityIndex},set:function(t){this._similarityIndex=t}},{key:"similarityIndexThreshold",get:function(){return this._similarityIndexThreshold},set:function(t){this._similarityIndexThreshold=t}},{key:"queryTemplate",get:function(){return this._queryTemplate},set:function(t){this._queryTemplate=t}},{key:"retrievalConnectorInstance",get:function(){return this._retrievalConnectorInstance},set:function(t){this._retrievalConnectorInstance=t}}])}(),f=function(){return u((function t(e){o(this,t),this._additionalExtractionMethods=e}),[{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),_=function(){return u((function t(e){o(this,t),this._method=e.method,this._maxNumberOfResultsPerCall=e.maxNumberOfResultsPerCall,this._searchLabelPredicates=e.searchLabelPredicates}),[{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"maxNumberOfResultsPerCall",get:function(){return this._maxNumberOfResultsPerCall},set:function(t){this._maxNumberOfResultsPerCall=t}},{key:"searchLabelPredicates",get:function(){return this._searchLabelPredicates},set:function(t){this._searchLabelPredicates=t}}])}(),m=function(){return u((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(this,t),this._agents=e,this._filterableAgents=Object(i.cloneDeep)(e),this._agentNameByIdMap={},this._initializeAgentNameByIdMap()}),[{key:"_initializeAgentNameByIdMap",value:function(){this._agentNameByIdMap=this._agents.reduce((function(t,e){return t[e.id]=e.name,t}),{})}},{key:"isEmpty",value:function(){return 0===this._agents.length}},{key:"filterByRepository",value:function(t){this._filterableAgents=this._agents.filter((function(e){return t===s.AGENTS_FILTER_ALL_KEY||(e.repositoryId===t?e:void 0)}))}},{key:"getAgent",value:function(t){return this._agents.find((function(e){return e.id===t}))}},{key:"agents",get:function(){return this._agents},set:function(t){this._agents=t}},{key:"filterableAgents",get:function(){return this._filterableAgents},set:function(t){this._filterableAgents=t}},{key:"agentNameByIdMap",get:function(){return Object(i.cloneDeep)(this._agentNameByIdMap)},set:function(t){this._agentNameByIdMap=t}}])}(),y={FTS_SEARCH:"fts_search",SPARQL:"sparql_search",SIMILARITY:"similarity_search",RETRIEVAL:"retrieval_search"},p={IRI_DISCOVERY_SEARCH:"iri_discovery_search",AUTOCOMPLETE_IRI_DISCOVERY_SEARCH:"autocomplete_iri_discovery_search"},x=function(){return u((function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o(this,t),this._key=e,this._label=n,this._selected=i}),[{key:"key",get:function(){return this._key},set:function(t){this._key=t}},{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}}])}()},287:function(t,e,n){"use strict";n.r(e),n.d(e,"AgentFormModel",(function(){return h})),n.d(e,"ExtractionMethodsFormModel",(function(){return l})),n.d(e,"ExtractionMethodFormModel",(function(){return d})),n.d(e,"AdditionalExtractionMethodsFormModel",(function(){return f})),n.d(e,"AdditionalExtractionMethodFormModel",(function(){return _})),n.d(e,"AgentInstructionsFormModel",(function(){return m}));var i=n(25),s=n(143);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 o(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,c(i.key),i)}}function u(t,e,n){return e&&a(t.prototype,e),n&&a(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(){return u((function t(e){o(this,t),this._id=e&&e.id,this._name=e&&e.name,this._repositoryId=e&&e.repositoryId,this._model=e&&e.model||"gpt-4o",this._temperature=e&&e.temperature||new i.NumericRangeModel({value:.7,minValue:0,maxValue:2,step:.1}),this._topP=e&&e.topP||new i.NumericRangeModel({value:1,minValue:0,maxValue:1,step:.1}),this._seed=e&&e.seed,this._instructions=e&&e.instructions,this._assistantExtractionMethods=e&&e.assistantExtractionMethods||this.getDefaultExtractionMethods(),this._additionalExtractionMethods=e&&e.additionalExtractionMethods||this.getDefaultAdditionalExtractionMethod()}),[{key:"getDefaultExtractionMethods",value:function(){var t=[];return t.push(new d({method:s.ExtractionMethod.SPARQL,ontologyGraph:"http://example.com/swgraph",sparqlQuery:new i.TextFieldModel({value:"select ?s ?p ?o where {?s ?p ?o .}",minLength:1,maxLength:2380}),selected:!1})),t.push(new d({method:s.ExtractionMethod.FTS_SEARCH,maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new d({method:s.ExtractionMethod.SIMILARITY,similarityIndex:null,similarityIndexThreshold:new i.NumericRangeModel({value:.6,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:null,selected:!1})),t.push(new d({method:s.ExtractionMethod.RETRIEVAL,retrievalConnectorInstance:null,maxNumberOfTriplesPerCall:null,queryTemplate:new i.TextFieldModel({value:'{"query": "string"}',minLength:1,maxLength:2380}),selected:!1})),new l(t)}},{key:"getDefaultAdditionalExtractionMethod",value:function(){var t=[];return t.push(new _({method:s.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH}),new _({method:s.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH,maxNumberOfResultsPerCall:0,searchLabelPredicates:[]})),new f(t)}},{key:"toPayload",value:function(){return{id:this.id,name:this._name,repositoryId:this._repositoryId,model:this._model,temperature:this._temperature.value,topP:this._topP.value,seed:this._seed,assistantsInstructions:this._instructions.toPayload(),assistantExtractionMethods:this._assistantExtractionMethods.toPayload(),additionalExtractionMethods:this._additionalExtractionMethods.toPayload()}}},{key:"hasExtractionMethodSelected",value:function(){return this._assistantExtractionMethods.extractionMethods.some((function(t){return t.selected}))}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"repositoryId",get:function(){return this._repositoryId},set:function(t){this._repositoryId=t}},{key:"model",get:function(){return this._model},set:function(t){this._model=t}},{key:"temperature",get:function(){return this._temperature},set:function(t){this._temperature=t}},{key:"topP",get:function(){return this._topP},set:function(t){this._topP=t}},{key:"seed",get:function(){return this._seed},set:function(t){this._seed=t}},{key:"instructions",get:function(){return this._instructions},set:function(t){this._instructions=t}},{key:"assistantExtractionMethods",get:function(){return this._assistantExtractionMethods},set:function(t){this._assistantExtractionMethods=t}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),l=function(){return u((function t(e){o(this,t),this._extractionMethods=e}),[{key:"toPayload",value:function(){return this._extractionMethods.filter((function(t){return t.selected})).map((function(t){return t.toPayload()}))}},{key:"findExtractionMethodIndex",value:function(t){return this._extractionMethods.findIndex((function(e){return e.method===t}))}},{key:"setExtractionMethod",value:function(t){var e=this.findExtractionMethodIndex(t.method);-1!==e&&(this._extractionMethods[e]=t)}},{key:"extractionMethods",get:function(){return this._extractionMethods},set:function(t){this._extractionMethods=t}},{key:"getExtractionMethod",value:function(t){return this._extractionMethods.find((function(e){return e.method===t}))}},{key:"getSimilarityExtractionMethod",value:function(){return this.getExtractionMethod(s.ExtractionMethod.SIMILARITY)}},{key:"getRetrievalExtractionMethod",value:function(){return this.getExtractionMethod(s.ExtractionMethod.RETRIEVAL)}},{key:"getFTSSearchExtractionMethod",value:function(){return this.getExtractionMethod(s.ExtractionMethod.FTS_SEARCH)}}])}(),d=function(){return u((function t(e){o(this,t),this._selected=e.selected||!1,this._method=e.method,this._sparqlOption=e.sparqlOption,this._addMissingNamespaces=e.addMissingNamespaces,this._ontologyGraph=e.ontologyGraph,this._sparqlQuery=e.sparqlQuery,this._maxNumberOfTriplesPerCall=e.maxNumberOfTriplesPerCall,this._similarityIndex=e.similarityIndex,this._similarityIndexThreshold=e.similarityIndexThreshold,this._queryTemplate=e.queryTemplate,this._retrievalConnectorInstance=e.retrievalConnectorInstance,this._expanded=void 0!==e.expanded&&e.expanded}),[{key:"toggleCollapse",value:function(){this._expanded=!this._expanded}},{key:"toPayload",value:function(){var t={};return t.method=this._method?this._method:null,"ontologyGraph"===this._sparqlOption?t.ontologyGraph=this._ontologyGraph?this._ontologyGraph:null:"sparqlQuery"===this._sparqlOption&&(t.sparqlQuery=this._sparqlQuery?this._sparqlQuery.value:null),this._method===s.ExtractionMethod.SPARQL&&void 0!==this._addMissingNamespaces&&(t.addMissingNamespaces=this._addMissingNamespaces),this._maxNumberOfTriplesPerCall&&(t.maxNumberOfTriplesPerCall=this._maxNumberOfTriplesPerCall),this._similarityIndex&&(t.similarityIndex=this._similarityIndex),this._similarityIndexThreshold&&this._similarityIndexThreshold.value&&(t.similarityIndexThreshold=parseFloat(this._similarityIndexThreshold.value)),this._queryTemplate&&this._queryTemplate.value&&(t.queryTemplate=this._queryTemplate.value),this._retrievalConnectorInstance&&(t.retrievalConnectorInstance=this._retrievalConnectorInstance),t}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}},{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"sparqlOption",get:function(){return this._sparqlOption},set:function(t){this._sparqlOption=t}},{key:"sparqlQuery",get:function(){return this._sparqlQuery},set:function(t){this._sparqlQuery=t}},{key:"addMissingNamespaces",get:function(){return this._addMissingNamespaces},set:function(t){this._addMissingNamespaces=t}},{key:"ontologyGraph",get:function(){return this._ontologyGraph},set:function(t){this._ontologyGraph=t}},{key:"maxNumberOfTriplesPerCall",get:function(){return this._maxNumberOfTriplesPerCall},set:function(t){this._maxNumberOfTriplesPerCall=t}},{key:"similarityIndex",get:function(){return this._similarityIndex},set:function(t){this._similarityIndex=t}},{key:"similarityIndexThreshold",get:function(){return this._similarityIndexThreshold},set:function(t){this._similarityIndexThreshold=t}},{key:"queryTemplate",get:function(){return this._queryTemplate},set:function(t){this._queryTemplate=t}},{key:"retrievalConnectorInstance",get:function(){return this._retrievalConnectorInstance},set:function(t){this._retrievalConnectorInstance=t}},{key:"expanded",get:function(){return this._expanded},set:function(t){this._expanded=t}}])}(),f=function(){return u((function t(e){o(this,t),this._additionalExtractionMethods=e}),[{key:"toPayload",value:function(){return this._additionalExtractionMethods.filter((function(t){return t.selected})).map((function(t){return t.toPayload()}))}},{key:"findAdditionalExtractionMethod",value:function(t){return this._additionalExtractionMethods.find((function(e){return e.method===t}))}},{key:"setAdditionalExtractionMethod",value:function(t){var e=this;Array.isArray(t)&&t.forEach((function(t){var n=e.findAdditionalExtractionMethod(t._method);n&&(n._selected=t._selected,n._maxNumberOfResultsPerCall=t._maxNumberOfResultsPerCall,n._searchLabelPredicates=t._searchLabelPredicates,n._expanded=t._expanded)}))}},{key:"additionalExtractionMethods",get:function(){return this._additionalExtractionMethods},set:function(t){this._additionalExtractionMethods=t}}])}(),_=function(){return u((function t(e){o(this,t),this._selected=e.selected||!1,this._method=e.method,this._expanded=e.expanded||!1,this._maxNumberOfResultsPerCall=e.maxNumberOfResultsPerCall||null,this._searchLabelPredicates=e._searchLabelPredicates||[]}),[{key:"toPayload",value:function(){var t={},e=this._method===s.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH;return t.method=this._method,e&&this._maxNumberOfResultsPerCall&&(t.limit=this._maxNumberOfResultsPerCall),e&&this._searchLabelPredicates&&(t.searchLabelPredicates=this._searchLabelPredicates),t}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t}},{key:"method",get:function(){return this._method},set:function(t){this._method=t}},{key:"expanded",get:function(){return this._expanded},set:function(t){this._expanded=t}},{key:"toggleCollapse",value:function(){this._expanded=!this._expanded}},{key:"maxNumberOfResultsPerCall",get:function(){return this._maxNumberOfResultsPerCall},set:function(t){this._maxNumberOfResultsPerCall=t}},{key:"searchLabelPredicates",get:function(){return this._searchLabelPredicates},set:function(t){this._searchLabelPredicates=t}}])}(),m=function(){return u((function t(e){o(this,t),this._systemInstruction=e.systemInstruction,this._systemInstructionCopy=e.defaultSystemInstruction,this._userInstruction=e.userInstruction,this._userInstructionCopy=e.defaultUserInstruction}),[{key:"toPayload",value:function(){return{systemInstruction:this._systemInstruction,userInstruction:this._userInstruction}}},{key:"systemInstruction",get:function(){return this._systemInstruction},set:function(t){this._systemInstruction=t}},{key:"systemInstructionCopy",get:function(){return this._systemInstructionCopy},set:function(t){this._systemInstructionCopy=t}},{key:"userInstruction",get:function(){return this._userInstruction},set:function(t){this._userInstruction=t}},{key:"userInstructionCopy",get:function(){return this._userInstructionCopy},set:function(t){this._userInstructionCopy=t}}])}()}}]);
|
|
@@ -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"])}}]);
|