graphdb-workbench 3.0.1-TR1 → 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.0147219d61d3814c266c.bundle.js → 42.baaa159c3b1e81422600.bundle.js} +1 -1
- 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/{75.0e43af19262a978d6aab.bundle.js → 76.fc1058890354a7ee6abe.bundle.js} +1 -1
- 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.9a2d54f16ce30d59d247.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 +208 -208
- 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 +8 -4
- 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/49.6b885bb67696745b1634.bundle.js +0 -1
- package/dist/5.045fbb4da4ea6659e905.bundle.js +0 -2
- package/dist/50.ee3ed147b2bc2382a0a2.bundle.js +0 -1
- package/dist/98.6586c3413d178a0cab8c.bundle.js +0 -1
- /package/dist/{vendor.108f4f0d292959f7fe7a.bundle.js → vendor.e2454ca87c2e3bd961de.bundle.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[1,121,122,243,245,246,250,254,256],{147: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 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,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"DynamicFormField",(function(){return s}));var s=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),o(this,"_key",""),o(this,"_label",""),o(this,"_type",""),o(this,"_collection",!1),o(this,"_value",void 0),o(this,"_values",void 0),o(this,"_regex",void 0),o(this,"_required",!1),o(this,"_group",void 0),o(this,"hidden",!1),this._key=e.key,this._label=e.label,this._type=e.type,this._collection=e.collection,this._value=e.value,this._values=e.values,this._regex="string"==typeof e.regex?new RegExp(e.regex):e.regex,this._required=e.required,this._group=e.group,this.hidden=e.hidden},(e=[{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:"type",get:function(){return this._type},set:function(t){this._type=t}},{key:"collection",get:function(){return this._collection},set:function(t){this._collection=t}},{key:"value",get:function(){return this._value},set:function(t){this._value=t}},{key:"values",get:function(){return this._values},set:function(t){this._values=t}},{key:"regex",get:function(){return this._regex},set:function(t){this._regex="string"==typeof t?new RegExp(t):t}},{key:"required",get:function(){return this._required},set:function(t){this._required=t}},{key:"group",get:function(){return this._group},set:function(t){this._group=t}},{key:"hidden",get:function(){return this._hidden},set:function(t){this._hidden=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},157:function(t,e,n){"use strict";n.r(e),n.d(e,"GraphqlEndpointConfiguration",(function(){return m})),n.d(e,"GraphqlEndpointParams",(function(){return b}));var i=n(181),r=n(16),o=n(173),u=n(249),s=n(282),c=n(283),a=n(182);function f(t){return(f="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 h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(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,d(i.key),i)}}function p(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function y(t,e,n){return(e=d(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=f(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}var m=function(){return p((function t(){h(this,t),y(this,"_schemaSourceType",void 0),y(this,"_owlOrShaclSourceType",void 0),y(this,"_selectedGraphqlSchemaShapes",void 0),y(this,"_selectedGraphs",void 0),y(this,"_params",void 0),y(this,"_settings",void 0),this._schemaSourceType=a.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES,this._owlOrShaclSourceType=a.OntologyShaclShapeSource.USE_ALL_GRAPHS,this._selectedGraphqlSchemaShapes=new i.GraphqlSchemaShapes,this._selectedGraphs=new r.GraphListOptions,this._params=new b({}),this._endpointConfigurationSettings=new o.GraphqlEndpointConfigurationSettings}),[{key:"generateFromGraphqlSchemaShapes",value:function(){return this.schemaSourceType===a.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES}},{key:"generateFromShaclShapes",value:function(){return this.schemaSourceType===a.SchemaSourceType.SHACL_SHAPES}},{key:"toCreateEndpointFromShapesRequest",value:function(t){return new s.CreateEndpointFromShapesRequest({fromRepo:t,shapes:this.selectedGraphqlSchemaShapes.getShapeIds(),config:this.settings.toFlatJSON()})}},{key:"toCreateEndpointFromOwlRequest",value:function(t){var e=this._owlOrShaclSourceType===a.OntologyShaclShapeSource.USE_ALL_GRAPHS?[]:this.selectedGraphs.getGraphIds();return new c.CreateEndpointFromOwlRequest({id:this.params.endpointId,label:this.params.endpointLabel,description:this.params.endpointDescription,fromRepo:t,namedGraphs:e,vocabPrefix:this.params.vocPrefix,config:this.settings.toFlatJSON()})}},{key:"getSelectedGraphqlSchemaShapesOverview",value:function(){return this.generateFromGraphqlSchemaShapes()?this.selectedGraphqlSchemaShapes.processShapes((function(t){return new u.GraphqlEndpointOverview({label:t.label||t.id,uri:t.id})})):this.generateFromShaclShapes()?this.selectedGraphs.isEmpty?[new u.GraphqlEndpointOverview({label:"".concat(this.params.endpointId)})]:this.selectedGraphs.processGraphList((function(t){return new u.GraphqlEndpointOverview({label:t.label||t.uri,uri:t.uri})})):void 0}},{key:"getSelectedGraphqlSchemaShapesCount",value:function(){return this.selectedGraphqlSchemaShapes.shapes.length}},{key:"hasSelectedGraphqlSchemaShapes",value:function(){return this.getSelectedGraphqlSchemaShapesCount()>0}},{key:"getSelectedGraphsCount",value:function(){return this.selectedGraphs.graphList.length}},{key:"hasSelectedGraphs",value:function(){return this.getSelectedGraphsCount()>0}},{key:"owlOrShaclSourceType",get:function(){return this._owlOrShaclSourceType},set:function(t){this._owlOrShaclSourceType=t}},{key:"schemaSourceType",get:function(){return this._schemaSourceType},set:function(t){this._schemaSourceType=t}},{key:"settings",get:function(){return this._settings},set:function(t){this._settings=t}},{key:"selectedGraphs",get:function(){return this._selectedGraphs},set:function(t){this._selectedGraphs=t}},{key:"params",get:function(){return this._params},set:function(t){this._params=t}},{key:"selectedGraphqlSchemaShapes",get:function(){return this._selectedGraphqlSchemaShapes},set:function(t){this._selectedGraphqlSchemaShapes=t}}])}(),b=function(){return p((function t(e){h(this,t),y(this,"_endpointId",void 0),y(this,"_endpointLabel",void 0),y(this,"_endpointDescription",void 0),y(this,"_vocPrefix",void 0),this._endpointId=e.endpointId||"",this._endpointLabel=e.endpointLabel||"",this._vocPrefix=e.vocPrefix||"",this._endpointDescription=e.endpointDescription||""}),[{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointLabel",get:function(){return this._endpointLabel},set:function(t){this._endpointLabel=t}},{key:"endpointDescription",get:function(){return this._endpointDescription},set:function(t){this._endpointDescription=t}},{key:"vocPrefix",get:function(){return this._vocPrefix},set:function(t){this._vocPrefix=t}},{key:"toJSON",value:function(){return{endpointId:this.endpointId,endpointLabel:this.endpointLabel,vocPrefix:this.vocPrefix,description:this.endpointDescription}}}])}()},173:function(t,e,n){"use strict";n.r(e),n.d(e,"CONFIG_TYPE",(function(){return f})),n.d(e,"GraphqlEndpointConfigurationSettings",(function(){return h}));var i=n(147);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){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}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,a(i.key),i)}}function c(t,e,n){return(e=a(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(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 f={STRING:"string",TEXT:"text",BOOLEAN:"boolean",JSON:"json"},h=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),c(this,"_settings",void 0),c(this,"_hasSettings",void 0),this._settings=e,this._hasSettings=!!this._settings&&this._settings.models.length>0},(e=[{key:"toFlatJSON",value:function(){var t={},e=function(e){e.collection?t[e.key]=e.value:"select"===e.type?t[e.key]=e.value.value:t[e.key]=e.value};return this._settings.models.forEach((function(t){t instanceof i.DynamicFormField?e(t):[].concat(o(t.fields),o(t.hiddenFields)).forEach(e)})),t}},{key:"hasSettings",get:function(){return this._hasSettings}},{key:"settings",get:function(){return this._settings},set:function(t){this._settings=t,this._hasSettings=this._settings.models.length>0}}])&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},181: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 r(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 s(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"GraphqlSchemaShapes",(function(){return a})),n.d(e,"GraphqlSchemaShape",(function(){return f}));var a=function(){return u((function t(e){r(this,t),s(this,"_shapes",void 0),s(this,"_size",void 0),s(this,"_isEmpty",void 0),this._shapes=e||[],this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}),[{key:"processShapes",value:function(t){return this.shapes.map(t)}},{key:"getShapeIds",value:function(){return this.shapes.map((function(t){return t.id}))}},{key:"isEmpty",get:function(){return this._isEmpty}},{key:"size",get:function(){return this._size}},{key:"shapes",get:function(){return this._shapes},set:function(t){this._shapes=t,this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}},{key:"toJSON",value:function(){return this.shapes.map((function(t){return t.id}))}}])}(),f=function(){return u((function t(e){r(this,t),s(this,"_id",void 0),s(this,"_name",void 0),s(this,"_label",void 0),s(this,"_description",void 0),this._id=e.id,this._name=e.name,this._label=e.label,this._description=e.description}),[{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:"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}}])}()},182:function(t,e,n){"use strict";n.r(e),n.d(e,"SchemaSourceType",(function(){return y})),n.d(e,"OntologyShaclShapeSource",(function(){return d})),n.d(e,"SelectSchemaSourceStep",(function(){return m})),n.d(e,"ConfigureEndpointStep",(function(){return b})),n.d(e,"GenerateEndpointStep",(function(){return v}));var i=n(183);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 u(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,p(i.key),i)}}function s(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e,n){return e=a(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],a(t).constructor):e.apply(t,n))}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e,n){return(e=p(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(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 y={GRAPHQL_SCHEMA_SHAPES:"graphql_schema_shapes",SHACL_SHAPES:"shacl_shapes"},d={USE_ALL_GRAPHS:"use_all_graphs",USE_SHACL_SHAPE_GRAPH:"use_shacl_shape_graph",PICK_GRAPHS:"pick_graphs"},m=function(t){function e(){var t;return o(this,e),l(t=c(this,e,["select_schema_sources",void 0,"schema-sources",!0]),"_schemaSourceTypes",[{value:y.GRAPHQL_SCHEMA_SHAPES},{value:y.SHACL_SHAPES}]),l(t,"_schemaSourceType",t._schemaSourceTypes[0].value),l(t,"_ontologyShaclShapeSources",[{value:d.USE_ALL_GRAPHS},{value:d.USE_SHACL_SHAPE_GRAPH},{value:d.PICK_GRAPHS}]),l(t,"_ontotlogyShaclShapeSource",t._ontologyShaclShapeSources[0].value),t}return f(e,t),s(e,[{key:"ontotlogyShaclShapeSource",get:function(){return this._ontotlogyShaclShapeSource},set:function(t){this._ontotlogyShaclShapeSource=t}},{key:"ontologyShaclShapeSources",get:function(){return this._ontologyShaclShapeSources},set:function(t){this._ontologyShaclShapeSources=t}},{key:"schemaSourceType",get:function(){return this._schemaSourceType},set:function(t){this._schemaSourceType=t}},{key:"schemaSourceTypes",get:function(){return this._schemaSourceTypes},set:function(t){this._schemaSourceTypes=t}}])}(i.WizardStep),b=function(t){function e(){return o(this,e),c(this,e,["configure_endpoint",void 0,"endpoint-config",!1])}return f(e,t),s(e)}(i.WizardStep),v=function(t){function e(){return o(this,e),c(this,e,["generate_endpoint",void 0,"generate-endpoint",!1])}return f(e,t),s(e)}(i.WizardStep)},183: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 r(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,s(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 s(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}function c(t,e,n){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,n)}function a(t,e){return t.get(h(t,e))}function f(t,e,n){return t.set(h(t,e),n),n}function h(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.r(e),n.d(e,"Wizard",(function(){return y})),n.d(e,"WizardStep",(function(){return _}));var l=new WeakMap,p=new WeakMap,y=function(){return u((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;r(this,t),c(this,l,[]),c(this,p,0),f(l,this,e),f(p,this,n)}),[{key:"addStep",value:function(t){return a(l,this).push(t),this}},{key:"getActiveStep",value:function(){return a(l,this).find((function(t){return t.active}))}},{key:"isAPreviousStep",value:function(t){return a(l,this).indexOf(t)<a(p,this)}},{key:"setStepActive",value:function(t){a(l,this).forEach((function(t){return t.active=!1})),t.active=!0;var e=a(l,this).indexOf(t);f(p,this,e),a(l,this).forEach((function(t,n){t.visited=n<e}))}},{key:"previousStep",value:function(){var t;a(p,this)>0&&f(p,this,(t=a(p,this),t--,t));var e=a(l,this)[a(p,this)];return this.setStepActive(e),e}},{key:"nextStep",value:function(){var t;a(p,this)<a(l,this).length-1&&f(p,this,(t=a(p,this),t++,t));var e=a(l,this)[a(p,this)];return this.setStepActive(e),e}},{key:"steps",get:function(){return a(l,this)},set:function(t){f(l,this,t)}},{key:"currentStep",get:function(){return a(p,this)},set:function(t){f(p,this,t)}}])}(),d=new WeakMap,m=new WeakMap,b=new WeakMap,v=new WeakMap,S=new WeakMap,_=function(){return u((function t(e,n,i){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r(this,t),c(this,d,""),c(this,m,!1),c(this,b,!1),c(this,v,""),c(this,S,""),f(d,this,e),f(m,this,o),f(v,this,n),f(S,this,i),f(b,this,!1)}),[{key:"page",get:function(){return a(S,this)},set:function(t){f(S,this,t)}},{key:"templateUrl",get:function(){return a(v,this)},set:function(t){f(v,this,t)}},{key:"active",get:function(){return a(m,this)},set:function(t){f(m,this,t)}},{key:"id",get:function(){return a(d,this)},set:function(t){f(d,this,t)}},{key:"visited",get:function(){return a(b,this)},set:function(t){f(b,this,t)}}])}()},249: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 r(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 s(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"ENDPOINT_GENERATION_STATUS",(function(){return a})),n.d(e,"GraphqlEndpointOverviewList",(function(){return f})),n.d(e,"GraphqlEndpointOverview",(function(){return h}));var a={NONE:"NONE",SUCCESS:"SUCCESS",ERROR:"ERROR"},f=function(){return u((function t(e){r(this,t),s(this,"_endpointList",[]),this._endpointList=e||[]}),[{key:"endpointList",get:function(){return this._endpointList},set:function(t){this._endpointList=t}}])}(),h=function(){return u((function t(e){r(this,t),s(this,"_label",void 0),s(this,"_uri",void 0),s(this,"_status",void 0),this._label=e.label||"",this._uri=e.uri||"",this._status=e.status||a.NONE}),[{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"uri",get:function(){return this._uri},set:function(t){this._uri=t}},{key:"status",get:function(){return this._status},set:function(t){this._status=t}}])}()},282: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 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,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"CreateEndpointFromShapesRequest",(function(){return s}));var s=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),o(this,"_fromRepo",void 0),o(this,"_shapes",void 0),o(this,"_config",void 0),this._fromRepo=e.fromRepo||"",this._shapes=e.shapes||[],this._config=e.config||{}},(e=[{key:"toJSON",value:function(){return{fromRepo:this.fromRepo,shapes:this.shapes,config:this.config}}},{key:"fromRepo",get:function(){return this._fromRepo},set:function(t){this._fromRepo=t}},{key:"shapes",get:function(){return this._shapes},set:function(t){this._shapes=t}},{key:"config",get:function(){return this._config},set:function(t){this._config=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},283: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 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,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"CreateEndpointFromOwlRequest",(function(){return s}));var s=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),o(this,"_fromRepo",void 0),o(this,"_namedGraphs",void 0),o(this,"_id",void 0),o(this,"_label",void 0),o(this,"_description",void 0),o(this,"_vocPrefix",void 0),o(this,"_config",void 0),this._id=e.id||"",this._label=e.label||"",this._description=e.description||"",this._fromRepo=e.fromRepo||"",this._namedGraphs=e.namedGraphs||[],this._vocPrefix=e.vocabPrefix||"",this._config=e.config||{}},(e=[{key:"toJSON",value:function(){return{id:this.id,label:this.label,description:this.description,fromRepo:this.fromRepo,namedGraphs:this.namedGraphs,vocabPrefix:this.vocPrefix,config:this.config}}},{key:"fromRepo",get:function(){return this._fromRepo},set:function(t){this._fromRepo=t}},{key:"namedGraphs",get:function(){return this._namedGraphs},set:function(t){this._namedGraphs=t}},{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:"vocPrefix",get:function(){return this._vocPrefix},set:function(t){this._vocPrefix=t}},{key:"config",get:function(){return this._config},set:function(t){this._config=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[1,122,123,243,245,246,250,254,256],{148: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 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,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"DynamicFormField",(function(){return s}));var s=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),o(this,"_key",""),o(this,"_label",""),o(this,"_type",""),o(this,"_collection",!1),o(this,"_value",void 0),o(this,"_values",void 0),o(this,"_regex",void 0),o(this,"_required",!1),o(this,"_group",void 0),o(this,"hidden",!1),this._key=e.key,this._label=e.label,this._type=e.type,this._collection=e.collection,this._value=e.value,this._values=e.values,this._regex="string"==typeof e.regex?new RegExp(e.regex):e.regex,this._required=e.required,this._group=e.group,this.hidden=e.hidden},(e=[{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:"type",get:function(){return this._type},set:function(t){this._type=t}},{key:"collection",get:function(){return this._collection},set:function(t){this._collection=t}},{key:"value",get:function(){return this._value},set:function(t){this._value=t}},{key:"values",get:function(){return this._values},set:function(t){this._values=t}},{key:"regex",get:function(){return this._regex},set:function(t){this._regex="string"==typeof t?new RegExp(t):t}},{key:"required",get:function(){return this._required},set:function(t){this._required=t}},{key:"group",get:function(){return this._group},set:function(t){this._group=t}},{key:"hidden",get:function(){return this._hidden},set:function(t){this._hidden=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},158:function(t,e,n){"use strict";n.r(e),n.d(e,"GraphqlEndpointConfiguration",(function(){return m})),n.d(e,"GraphqlEndpointParams",(function(){return b}));var i=n(181),r=n(16),o=n(173),u=n(249),s=n(282),c=n(283),a=n(182);function f(t){return(f="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 h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(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,d(i.key),i)}}function p(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function y(t,e,n){return(e=d(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=f(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}var m=function(){return p((function t(){h(this,t),y(this,"_schemaSourceType",void 0),y(this,"_owlOrShaclSourceType",void 0),y(this,"_selectedGraphqlSchemaShapes",void 0),y(this,"_selectedGraphs",void 0),y(this,"_params",void 0),y(this,"_settings",void 0),this._schemaSourceType=a.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES,this._owlOrShaclSourceType=a.OntologyShaclShapeSource.USE_ALL_GRAPHS,this._selectedGraphqlSchemaShapes=new i.GraphqlSchemaShapes,this._selectedGraphs=new r.GraphListOptions,this._params=new b({}),this._endpointConfigurationSettings=new o.GraphqlEndpointConfigurationSettings}),[{key:"generateFromGraphqlSchemaShapes",value:function(){return this.schemaSourceType===a.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES}},{key:"generateFromShaclShapes",value:function(){return this.schemaSourceType===a.SchemaSourceType.SHACL_SHAPES}},{key:"toCreateEndpointFromShapesRequest",value:function(t){return new s.CreateEndpointFromShapesRequest({fromRepo:t,shapes:this.selectedGraphqlSchemaShapes.getShapeIds(),config:this.settings.toFlatJSON()})}},{key:"toCreateEndpointFromOwlRequest",value:function(t){var e=this._owlOrShaclSourceType===a.OntologyShaclShapeSource.USE_ALL_GRAPHS?[]:this.selectedGraphs.getGraphIds();return new c.CreateEndpointFromOwlRequest({id:this.params.endpointId,label:this.params.endpointLabel,description:this.params.endpointDescription,fromRepo:t,namedGraphs:e,vocabPrefix:this.params.vocPrefix,config:this.settings.toFlatJSON()})}},{key:"getSelectedGraphqlSchemaShapesOverview",value:function(){return this.generateFromGraphqlSchemaShapes()?this.selectedGraphqlSchemaShapes.processShapes((function(t){return new u.GraphqlEndpointOverview({label:t.label||t.id,uri:t.id})})):this.generateFromShaclShapes()?this.selectedGraphs.isEmpty?[new u.GraphqlEndpointOverview({label:"".concat(this.params.endpointId)})]:this.selectedGraphs.processGraphList((function(t){return new u.GraphqlEndpointOverview({label:t.label||t.uri,uri:t.uri})})):void 0}},{key:"getSelectedGraphqlSchemaShapesCount",value:function(){return this.selectedGraphqlSchemaShapes.shapes.length}},{key:"hasSelectedGraphqlSchemaShapes",value:function(){return this.getSelectedGraphqlSchemaShapesCount()>0}},{key:"getSelectedGraphsCount",value:function(){return this.selectedGraphs.graphList.length}},{key:"hasSelectedGraphs",value:function(){return this.getSelectedGraphsCount()>0}},{key:"owlOrShaclSourceType",get:function(){return this._owlOrShaclSourceType},set:function(t){this._owlOrShaclSourceType=t}},{key:"schemaSourceType",get:function(){return this._schemaSourceType},set:function(t){this._schemaSourceType=t}},{key:"settings",get:function(){return this._settings},set:function(t){this._settings=t}},{key:"selectedGraphs",get:function(){return this._selectedGraphs},set:function(t){this._selectedGraphs=t}},{key:"params",get:function(){return this._params},set:function(t){this._params=t}},{key:"selectedGraphqlSchemaShapes",get:function(){return this._selectedGraphqlSchemaShapes},set:function(t){this._selectedGraphqlSchemaShapes=t}}])}(),b=function(){return p((function t(e){h(this,t),y(this,"_endpointId",void 0),y(this,"_endpointLabel",void 0),y(this,"_endpointDescription",void 0),y(this,"_vocPrefix",void 0),this._endpointId=e.endpointId||"",this._endpointLabel=e.endpointLabel||"",this._vocPrefix=e.vocPrefix||"",this._endpointDescription=e.endpointDescription||""}),[{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"endpointLabel",get:function(){return this._endpointLabel},set:function(t){this._endpointLabel=t}},{key:"endpointDescription",get:function(){return this._endpointDescription},set:function(t){this._endpointDescription=t}},{key:"vocPrefix",get:function(){return this._vocPrefix},set:function(t){this._vocPrefix=t}},{key:"toJSON",value:function(){return{endpointId:this.endpointId,endpointLabel:this.endpointLabel,vocPrefix:this.vocPrefix,description:this.endpointDescription}}}])}()},173:function(t,e,n){"use strict";n.r(e),n.d(e,"CONFIG_TYPE",(function(){return f})),n.d(e,"GraphqlEndpointConfigurationSettings",(function(){return h}));var i=n(148);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){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}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,a(i.key),i)}}function c(t,e,n){return(e=a(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(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 f={STRING:"string",TEXT:"text",BOOLEAN:"boolean",JSON:"json"},h=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),c(this,"_settings",void 0),c(this,"_hasSettings",void 0),this._settings=e,this._hasSettings=!!this._settings&&this._settings.models.length>0},(e=[{key:"toFlatJSON",value:function(){var t={},e=function(e){e.collection?t[e.key]=e.value:"select"===e.type?t[e.key]=e.value.value:t[e.key]=e.value};return this._settings.models.forEach((function(t){t instanceof i.DynamicFormField?e(t):[].concat(o(t.fields),o(t.hiddenFields)).forEach(e)})),t}},{key:"hasSettings",get:function(){return this._hasSettings}},{key:"settings",get:function(){return this._settings},set:function(t){this._settings=t,this._hasSettings=this._settings.models.length>0}}])&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},181: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 r(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 s(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"GraphqlSchemaShapes",(function(){return a})),n.d(e,"GraphqlSchemaShape",(function(){return f}));var a=function(){return u((function t(e){r(this,t),s(this,"_shapes",void 0),s(this,"_size",void 0),s(this,"_isEmpty",void 0),this._shapes=e||[],this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}),[{key:"processShapes",value:function(t){return this.shapes.map(t)}},{key:"getShapeIds",value:function(){return this.shapes.map((function(t){return t.id}))}},{key:"isEmpty",get:function(){return this._isEmpty}},{key:"size",get:function(){return this._size}},{key:"shapes",get:function(){return this._shapes},set:function(t){this._shapes=t,this._size=this.shapes.length,this._isEmpty=0===this.shapes.length}},{key:"toJSON",value:function(){return this.shapes.map((function(t){return t.id}))}}])}(),f=function(){return u((function t(e){r(this,t),s(this,"_id",void 0),s(this,"_name",void 0),s(this,"_label",void 0),s(this,"_description",void 0),this._id=e.id,this._name=e.name,this._label=e.label,this._description=e.description}),[{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:"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}}])}()},182:function(t,e,n){"use strict";n.r(e),n.d(e,"SchemaSourceType",(function(){return y})),n.d(e,"OntologyShaclShapeSource",(function(){return d})),n.d(e,"SelectSchemaSourceStep",(function(){return m})),n.d(e,"ConfigureEndpointStep",(function(){return b})),n.d(e,"GenerateEndpointStep",(function(){return v}));var i=n(183);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 u(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,p(i.key),i)}}function s(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e,n){return e=a(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],a(t).constructor):e.apply(t,n))}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e,n){return(e=p(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(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 y={GRAPHQL_SCHEMA_SHAPES:"graphql_schema_shapes",SHACL_SHAPES:"shacl_shapes"},d={USE_ALL_GRAPHS:"use_all_graphs",USE_SHACL_SHAPE_GRAPH:"use_shacl_shape_graph",PICK_GRAPHS:"pick_graphs"},m=function(t){function e(){var t;return o(this,e),l(t=c(this,e,["select_schema_sources",void 0,"schema-sources",!0]),"_schemaSourceTypes",[{value:y.GRAPHQL_SCHEMA_SHAPES},{value:y.SHACL_SHAPES}]),l(t,"_schemaSourceType",t._schemaSourceTypes[0].value),l(t,"_ontologyShaclShapeSources",[{value:d.USE_ALL_GRAPHS},{value:d.USE_SHACL_SHAPE_GRAPH},{value:d.PICK_GRAPHS}]),l(t,"_ontotlogyShaclShapeSource",t._ontologyShaclShapeSources[0].value),t}return f(e,t),s(e,[{key:"ontotlogyShaclShapeSource",get:function(){return this._ontotlogyShaclShapeSource},set:function(t){this._ontotlogyShaclShapeSource=t}},{key:"ontologyShaclShapeSources",get:function(){return this._ontologyShaclShapeSources},set:function(t){this._ontologyShaclShapeSources=t}},{key:"schemaSourceType",get:function(){return this._schemaSourceType},set:function(t){this._schemaSourceType=t}},{key:"schemaSourceTypes",get:function(){return this._schemaSourceTypes},set:function(t){this._schemaSourceTypes=t}}])}(i.WizardStep),b=function(t){function e(){return o(this,e),c(this,e,["configure_endpoint",void 0,"endpoint-config",!1])}return f(e,t),s(e)}(i.WizardStep),v=function(t){function e(){return o(this,e),c(this,e,["generate_endpoint",void 0,"generate-endpoint",!1])}return f(e,t),s(e)}(i.WizardStep)},183: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 r(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,s(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 s(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}function c(t,e,n){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,n)}function a(t,e){return t.get(h(t,e))}function f(t,e,n){return t.set(h(t,e),n),n}function h(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.r(e),n.d(e,"Wizard",(function(){return y})),n.d(e,"WizardStep",(function(){return _}));var l=new WeakMap,p=new WeakMap,y=function(){return u((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;r(this,t),c(this,l,[]),c(this,p,0),f(l,this,e),f(p,this,n)}),[{key:"addStep",value:function(t){return a(l,this).push(t),this}},{key:"getActiveStep",value:function(){return a(l,this).find((function(t){return t.active}))}},{key:"isAPreviousStep",value:function(t){return a(l,this).indexOf(t)<a(p,this)}},{key:"setStepActive",value:function(t){a(l,this).forEach((function(t){return t.active=!1})),t.active=!0;var e=a(l,this).indexOf(t);f(p,this,e),a(l,this).forEach((function(t,n){t.visited=n<e}))}},{key:"previousStep",value:function(){var t;a(p,this)>0&&f(p,this,(t=a(p,this),t--,t));var e=a(l,this)[a(p,this)];return this.setStepActive(e),e}},{key:"nextStep",value:function(){var t;a(p,this)<a(l,this).length-1&&f(p,this,(t=a(p,this),t++,t));var e=a(l,this)[a(p,this)];return this.setStepActive(e),e}},{key:"steps",get:function(){return a(l,this)},set:function(t){f(l,this,t)}},{key:"currentStep",get:function(){return a(p,this)},set:function(t){f(p,this,t)}}])}(),d=new WeakMap,m=new WeakMap,b=new WeakMap,v=new WeakMap,S=new WeakMap,_=function(){return u((function t(e,n,i){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r(this,t),c(this,d,""),c(this,m,!1),c(this,b,!1),c(this,v,""),c(this,S,""),f(d,this,e),f(m,this,o),f(v,this,n),f(S,this,i),f(b,this,!1)}),[{key:"page",get:function(){return a(S,this)},set:function(t){f(S,this,t)}},{key:"templateUrl",get:function(){return a(v,this)},set:function(t){f(v,this,t)}},{key:"active",get:function(){return a(m,this)},set:function(t){f(m,this,t)}},{key:"id",get:function(){return a(d,this)},set:function(t){f(d,this,t)}},{key:"visited",get:function(){return a(b,this)},set:function(t){f(b,this,t)}}])}()},249: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 r(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 s(t,e,n){return(e=c(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"ENDPOINT_GENERATION_STATUS",(function(){return a})),n.d(e,"GraphqlEndpointOverviewList",(function(){return f})),n.d(e,"GraphqlEndpointOverview",(function(){return h}));var a={NONE:"NONE",SUCCESS:"SUCCESS",ERROR:"ERROR"},f=function(){return u((function t(e){r(this,t),s(this,"_endpointList",[]),this._endpointList=e||[]}),[{key:"endpointList",get:function(){return this._endpointList},set:function(t){this._endpointList=t}}])}(),h=function(){return u((function t(e){r(this,t),s(this,"_label",void 0),s(this,"_uri",void 0),s(this,"_status",void 0),this._label=e.label||"",this._uri=e.uri||"",this._status=e.status||a.NONE}),[{key:"label",get:function(){return this._label},set:function(t){this._label=t}},{key:"uri",get:function(){return this._uri},set:function(t){this._uri=t}},{key:"status",get:function(){return this._status},set:function(t){this._status=t}}])}()},282: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 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,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"CreateEndpointFromShapesRequest",(function(){return s}));var s=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),o(this,"_fromRepo",void 0),o(this,"_shapes",void 0),o(this,"_config",void 0),this._fromRepo=e.fromRepo||"",this._shapes=e.shapes||[],this._config=e.config||{}},(e=[{key:"toJSON",value:function(){return{fromRepo:this.fromRepo,shapes:this.shapes,config:this.config}}},{key:"fromRepo",get:function(){return this._fromRepo},set:function(t){this._fromRepo=t}},{key:"shapes",get:function(){return this._shapes},set:function(t){this._shapes=t}},{key:"config",get:function(){return this._config},set:function(t){this._config=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},283: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 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,u(i.key),i)}}function o(t,e,n){return(e=u(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;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,"CreateEndpointFromOwlRequest",(function(){return s}));var s=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),o(this,"_fromRepo",void 0),o(this,"_namedGraphs",void 0),o(this,"_id",void 0),o(this,"_label",void 0),o(this,"_description",void 0),o(this,"_vocPrefix",void 0),o(this,"_config",void 0),this._id=e.id||"",this._label=e.label||"",this._description=e.description||"",this._fromRepo=e.fromRepo||"",this._namedGraphs=e.namedGraphs||[],this._vocPrefix=e.vocabPrefix||"",this._config=e.config||{}},(e=[{key:"toJSON",value:function(){return{id:this.id,label:this.label,description:this.description,fromRepo:this.fromRepo,namedGraphs:this.namedGraphs,vocabPrefix:this.vocPrefix,config:this.config}}},{key:"fromRepo",get:function(){return this._fromRepo},set:function(t){this._fromRepo=t}},{key:"namedGraphs",get:function(){return this._namedGraphs},set:function(t){this._namedGraphs=t}},{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:"vocPrefix",get:function(){return this._vocPrefix},set:function(t){this._vocPrefix=t}},{key:"config",get:function(){return this._config},set:function(t){this._config=t}}])&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[10,129,133,331,332,334,335,381],{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 r=n(108);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,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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}function s(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"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}var c=function(){return s((function t(e,n){o(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 r.ChatMessageModel({role:r.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 s((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(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 d})),n.d(e,"ChatsListModel",(function(){return f}));var r=n(112),i=n(28);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 a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}function u(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(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 r.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 r.ChatItemsListModel}},{key:"toRenameRequestPayload",value:function(){return{name:this._name}}}],[{key:"getEmptyChat",value:function(){return new t({name:"· · ·",timestamp:Math.floor(Date.now()/1e3)},Object(i.md5HashGenerator)())}}])}(),d=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}}])}(),f=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(),r=t._chatsByDay.find((function(t){return t.day===n}));r?r.chats.push(e):t._chatsByDay.push(new d({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}}])}()},140:function(t,e,n){"use strict";n.r(e);var r=n(285),i=(n(375),n(184)),o=n(214),a=n(288),s=n(289);function u(t,e){return{getConversation:function(e){return t.getConversation(e).then((function(t){return Object(r.chatModelMapper)(t.data)}))},renameConversation:function(e){return t.renameConversation(e.id,e.toRenameRequestPayload()).then((function(t){return Object(r.chatModelMapper)(t.data)}))},exportConversation:function(e){return t.exportConversation(e).then((function(t){var e=t.data,n=t.headers()["content-disposition"],r="chat-export";return n&&(r=(r=n.split("filename=")[1]).substring(0,r.length)),{data:e,filename:r}}))},askQuestion:function(e){return t.askQuestion(e.toAskRequestPayload()).then((function(t){return Object(i.chatAnswerModelMapper)(t.data)}))},continueChatRun:function(e){var n=e.toContinueRunRequestPayload();return t.continueChatRun(n).then((function(t){return Object(i.chatAnswerModelMapper)(t.data)}))},getConversations:function(e,n){return t.getConversations().then((function(t){return Object(r.chatsListMapper)(t.data)}))},deleteConversation:function(e){return t.deleteConversation(e)},createConversation:function(e){return t.createConversation(e.toCreateChatRequestPayload()).then((function(t){return Object(i.chatAnswerModelMapper)(t.data)}))},getAgents:function(){var n=e.getLocalReadablGraphdbRepositoryIds();return t.getAgents().then((function(t){return Object(o.agentListMapper)(t.data,n)}))},getAgent:function(n){var r=e.getLocalReadablGraphdbRepositoryIds();return t.getAgent(n).then((function(t){return Object(o.agentModelMapper)(t.data,r)}))},createAgent:function(n){var r=e.getLocalReadablGraphdbRepositoryIds();return t.createAgent(n).then((function(t){return Object(o.agentModelMapper)(t.data,r)}))},editAgent:function(n){var r=e.getLocalReadablGraphdbRepositoryIds();return t.editAgent(n).then((function(t){return Object(o.agentModelMapper)(t.data,r)}))},deleteAgent:function(e){return t.deleteAgent(e)},explainResponse:function(e,n){return t.explainResponse(e.toExplainResponsePayload(n)).then((function(t){return Object(a.explainResponseMapper)(t.data)}))},getDefaultAgent:function(){var n=e.getLocalReadablGraphdbRepositoryIds();return t.getAgentDefaultValues().then((function(t){return Object(o.agentModelMapper)(t.data,n)}))},explainAgentSettings:function(e){return t.explainAgentSettings(e).then((function(t){return Object(s.agentInstructionsExplainMapper)(t.data)}))}}}angular.module("graphdb.framework.core.services.ttyg-service",["graphdb.framework.rest.ttyg.service"]).factory("TTYGService",u),u.$inject=["TTYGRestService","$repositories"]},142:function(t,e,n){"use strict";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 i(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(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+""}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 d}));var u=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(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]:[];i(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]:{};i(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}}])}(),d={SPARQL:"sparql",JSON:"json",OTHER:"other"}},148:function(t,e,n){"use strict";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 i(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(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+""}n.r(e),n.d(e,"ChatAnswerModel",(function(){return u})),n.d(e,"ContinueChatRun",(function(){return c}));var u=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t),this._chatId=e.chatId,this._chatName=e.chatName||"",this._timestamp=e.timestamp,this._messages=e.messages||[],this._continueRunId=e.continueRunId}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"chatName",get:function(){return this._chatName},set:function(t){this._chatName=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"continueRunId",get:function(){return this._continueRunId},set:function(t){this._continueRunId=t}}])}(),c=function(){return a((function t(e,n){i(this,t),this._chatItem=e,this._runId=n}),[{key:"chatId",get:function(){return this._chatItem.chatId}},{key:"toContinueRunRequestPayload",value:function(){return{conversationId:this.chatId,runId:this._runId,agentId:this._chatItem.agentId,tzOffset:-(new Date).getTimezoneOffset()}}}])}()},184:function(t,e,n){"use strict";n.r(e),n.d(e,"chatMessageModelListMapper",(function(){return a})),n.d(e,"chatItemsModelMapper",(function(){return s})),n.d(e,"chatMessageModelMapper",(function(){return u})),n.d(e,"chatAnswerModelMapper",(function(){return c}));var r=n(108),i=n(112),o=n(148),a=function(t){return t?t.map((function(t){return u(t)})):[]},s=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return e.forEach((function(e){var o=e.conversationId;r.CHAT_MESSAGE_ROLE.USER===e.role?(t&&n.push(t),t=new i.ChatItemModel(o,u(e))):(t||(t=new i.ChatItemModel(o,null)),t.answers.push(u(e)),t.agentId=e.agentId)})),t&&n.push(t),new i.ChatItemsListModel(n)},u=function(t){if(t)return new r.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})},c=function(t){if(t)return new o.ChatAnswerModel({chatId:t.id,chatName:t.name,timestamp:t.timestamp,messages:a(t.messages),continueRunId:t.continueRunId})}},214:function(t,e,n){"use strict";n.r(e),n.d(e,"agentFormModelMapper",(function(){return h})),n.d(e,"agentListMapper",(function(){return l})),n.d(e,"agentModelMapper",(function(){return m}));var r=n(141),i=n(287),o=n(25),a=n(28),s=n(128);function u(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var h=function(t,e,n){if(t){var o=new i.AgentFormModel;return o.id=t.id||e.id,o.name=t.name||e.name,o.repositoryId=t.repositoryId||e.repositoryId,o.model=t.model||e.model,o.temperature.value=void 0!==t.temperature?t.temperature:e.temperature,o.topP.value=void 0!==t.topP?t.topP:e.topP,o.seed=t.seed||e.seed,o.instructions=d(t.instructions,e.instructions),f(o,n,e.assistantExtractionMethods,t.assistantExtractionMethods),function(t,e,n){if(!t)return;var o=t.map((function(n){var o={method:n.method||e.method,expanded:n.expanded||e.expanded};return n.method!==r.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH&&n.method!==r.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH||(o.selected=t.some((function(t){return t.method===n.method}))),n.method===r.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH&&(o.maxNumberOfResultsPerCall=n._maxNumberOfResultsPerCall||e.maxNumberOfResultsPerCall,o._searchLabelPredicates=n.searchLabelPredicates||e._searchLabelPredicates),new i.AdditionalExtractionMethodFormModel(o)}));n.additionalExtractionMethods.setAdditionalExtractionMethod(o)}(t.additionalExtractionMethods,e.additionalExtractionMethods,o),o}},d=function(t,e){if(t||e){var n=t&&t.systemInstruction||e.systemInstruction,r=t&&t.userInstruction||e.userInstruction;return new i.AgentInstructionsFormModel({systemInstruction:n,userInstruction:r,defaultSystemInstruction:e.systemInstruction,defaultUserInstruction:e.userInstruction})}},f=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=n.filter((function(t){return!r.some((function(e){return e.method===t.method}))})),c=n.find((function(t){return"sparql_search"===t.method})),h=[].concat(u(r),u(a));h.forEach((function(n){var a=r.some((function(t){return t.method===n.method})),u="";a&&"sparql_search"===n.method&&(s.AGENT_OPERATION.CREATE===e?u="":n.sparqlQuery?u="sparqlQuery":n.ontologyGraph&&(u="ontologyGraph"));var h=e===s.AGENT_OPERATION.EDIT||e===s.AGENT_OPERATION.CLONE,d=new i.ExtractionMethodFormModel({selected:h&&a,method:n.method,sparqlOption:u,ontologyGraph:n.ontologyGraph||c.ontologyGraph,addMissingNamespaces:n.addMissingNamespaces,sparqlQuery:new o.TextFieldModel({value:n.sparqlQuery||c.sparqlQuery,minLength:1,maxLength:2380}),similarityIndex:n.similarityIndex,similarityIndexThreshold:n.similarityIndexThreshold&&new o.NumericRangeModel({value:n.similarityIndexThreshold,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:0===n.maxNumberOfTriplesPerCall?null:n.maxNumberOfTriplesPerCall,queryTemplate:n.queryTemplate&&new o.TextFieldModel({value:n.queryTemplate,minLength:1,maxLength:2380}),retrievalConnectorInstance:n.retrievalConnectorInstance});t.assistantExtractionMethods.setExtractionMethod(d)}))};var l=function(t,e){if(!t)return new r.AgentListModel;var n=t.map((function(t){return m(t,e)}));return new r.AgentListModel(n)},m=function(t,e){if(t){var n=Object(a.md5HashGenerator)();return new r.AgentModel({id:t.id,name:t.name,repositoryId:t.repositoryId,isRepositoryDeleted:!e.includes(t.repositoryId),model:t.model,temperature:t.temperature,topP:t.topP,seed:t.seed,instructions:_(t.instructions),assistantExtractionMethods:y(t.assistantExtractionMethods),additionalExtractionMethods:g(t.additionalExtractionMethods)},n)}},y=function(t){if(t)return t.map((function(t){return p(t)}))},p=function(t){if(t)return new r.ExtractionMethodModel({method:t.method,ontologyGraph:t.ontologyGraph,addMissingNamespaces:t.addMissingNamespaces,sparqlQuery:t.sparqlQuery,similarityIndex:t.similarityIndex,similarityIndexThreshold:t.similarityIndexThreshold,maxNumberOfTriplesPerCall:t.maxNumberOfTriplesPerCall,queryTemplate:t.queryTemplate,retrievalConnectorInstance:t.retrievalConnectorInstance})},g=function(t){if(t)return t.map((function(t){return v(t)}))},v=function(t){if(t)return t.method===r.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH?new r.AdditionalExtractionMethodModel({method:t.method,maxNumberOfResultsPerCall:t.limit||0,searchLabelPredicates:t.searchLabelPredicates||[]}):t.method===r.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH?new r.AdditionalExtractionMethodModel({method:t.method}):void 0},_=function(t){if(t)return new r.AgentInstructionsModel({systemInstruction:t.systemInstruction,userInstruction:t.userInstruction})}},215:function(t,e,n){"use strict";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 i(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(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+""}n.r(e),n.d(e,"AgentInstructionsExplain",(function(){return u})),n.d(e,"AgentInstructionsExplainList",(function(){return c}));var u=function(){return a((function t(e){i(this,t),this._type=e.type,this._content=e.content,this._size=e.size}),[{key:"size",get:function(){return this._size},set:function(t){this._size=t}},{key:"content",get:function(){return this._content},set:function(t){this._content=t}},{key:"type",get:function(){return this._type},set:function(t){this._type=t}}])}(),c=function(){return a((function t(e){i(this,t),this._instructions=e.instructions}),[{key:"instructions",get:function(){return this._instructions},set:function(t){this._instructions=t}}])}()},285:function(t,e,n){"use strict";n.r(e),n.d(e,"chatsListMapper",(function(){return u})),n.d(e,"chatModelMapper",(function(){return c}));var r=n(135),i=n(28),o=n(184),a=n(112),s=Object(i.md5HashGenerator)(),u=function(t){if(!t)return new r.ChatsListModel;var e=t.map((function(t){return c(t)}));return new r.ChatsListModel(e)},c=function(t){if(t)return new r.ChatModel({id:t.id,name:t.name,timestamp:t.timestamp,chatHistory:t.messages&&t.messages.length?Object(o.chatItemsModelMapper)(t.messages):new a.ChatItemsListModel},s)}},288:function(t,e,n){"use strict";n.r(e),n.d(e,"explainResponseMapper",(function(){return i})),n.d(e,"explainQueryMethodsListMapper",(function(){return o})),n.d(e,"explainQueryMethodMapper",(function(){return a}));var r=n(142),i=function(t){return new r.ExplainResponseModel({chatId:t.conversationId,answerId:t.answerId,queryMethods:o(t.queryMethods)})},o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new r.ExplainQueryMethodsListModel(t.map(a))},a=function(t){return new r.ExplainQueryMethodModel(t)}},289:function(t,e,n){"use strict";n.r(e),n.d(e,"agentInstructionsExplainMapper",(function(){return i}));var r=n(215),i=function(t){return t?t.map((function(t){return new r.AgentInstructionsExplain(t)})):new r.AgentInstructionsExplainList([])}}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[10,130,134,331,332,334,335,381],{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 r=n(108);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,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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}function s(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"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}var c=function(){return s((function t(e,n){o(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 r.ChatMessageModel({role:r.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 s((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(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 d})),n.d(e,"ChatsListModel",(function(){return f}));var r=n(112),i=n(28);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 a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}function u(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(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 r.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 r.ChatItemsListModel}},{key:"toRenameRequestPayload",value:function(){return{name:this._name}}}],[{key:"getEmptyChat",value:function(){return new t({name:"· · ·",timestamp:Math.floor(Date.now()/1e3)},Object(i.md5HashGenerator)())}}])}(),d=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}}])}(),f=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(),r=t._chatsByDay.find((function(t){return t.day===n}));r?r.chats.push(e):t._chatsByDay.push(new d({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";n.r(e);var r=n(285),i=(n(375),n(184)),o=n(214),a=n(288),s=n(289);function u(t,e){return{getConversation:function(e){return t.getConversation(e).then((function(t){return Object(r.chatModelMapper)(t.data)}))},renameConversation:function(e){return t.renameConversation(e.id,e.toRenameRequestPayload()).then((function(t){return Object(r.chatModelMapper)(t.data)}))},exportConversation:function(e){return t.exportConversation(e).then((function(t){var e=t.data,n=t.headers()["content-disposition"],r="chat-export";return n&&(r=(r=n.split("filename=")[1]).substring(0,r.length)),{data:e,filename:r}}))},askQuestion:function(e){return t.askQuestion(e.toAskRequestPayload()).then((function(t){return Object(i.chatAnswerModelMapper)(t.data)}))},continueChatRun:function(e){var n=e.toContinueRunRequestPayload();return t.continueChatRun(n).then((function(t){return Object(i.chatAnswerModelMapper)(t.data)}))},getConversations:function(e,n){return t.getConversations().then((function(t){return Object(r.chatsListMapper)(t.data)}))},deleteConversation:function(e){return t.deleteConversation(e)},createConversation:function(e){return t.createConversation(e.toCreateChatRequestPayload()).then((function(t){return Object(i.chatAnswerModelMapper)(t.data)}))},getAgents:function(){var n=e.getLocalReadablGraphdbRepositoryIds();return t.getAgents().then((function(t){return Object(o.agentListMapper)(t.data,n)}))},getAgent:function(n){var r=e.getLocalReadablGraphdbRepositoryIds();return t.getAgent(n).then((function(t){return Object(o.agentModelMapper)(t.data,r)}))},createAgent:function(n){var r=e.getLocalReadablGraphdbRepositoryIds();return t.createAgent(n).then((function(t){return Object(o.agentModelMapper)(t.data,r)}))},editAgent:function(n){var r=e.getLocalReadablGraphdbRepositoryIds();return t.editAgent(n).then((function(t){return Object(o.agentModelMapper)(t.data,r)}))},deleteAgent:function(e){return t.deleteAgent(e)},explainResponse:function(e,n){return t.explainResponse(e.toExplainResponsePayload(n)).then((function(t){return Object(a.explainResponseMapper)(t.data)}))},getDefaultAgent:function(){var n=e.getLocalReadablGraphdbRepositoryIds();return t.getAgentDefaultValues().then((function(t){return Object(o.agentModelMapper)(t.data,n)}))},explainAgentSettings:function(e){return t.explainAgentSettings(e).then((function(t){return Object(s.agentInstructionsExplainMapper)(t.data)}))}}}angular.module("graphdb.framework.core.services.ttyg-service",["graphdb.framework.rest.ttyg.service"]).factory("TTYGService",u),u.$inject=["TTYGRestService","$repositories"]},144:function(t,e,n){"use strict";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 i(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(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+""}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 d}));var u=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(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]:[];i(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]:{};i(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}}])}(),d={SPARQL:"sparql",JSON:"json",OTHER:"other"}},149:function(t,e,n){"use strict";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 i(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(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+""}n.r(e),n.d(e,"ChatAnswerModel",(function(){return u})),n.d(e,"ContinueChatRun",(function(){return c}));var u=function(){return a((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t),this._chatId=e.chatId,this._chatName=e.chatName||"",this._timestamp=e.timestamp,this._messages=e.messages||[],this._continueRunId=e.continueRunId}),[{key:"chatId",get:function(){return this._chatId},set:function(t){this._chatId=t}},{key:"chatName",get:function(){return this._chatName},set:function(t){this._chatName=t}},{key:"timestamp",get:function(){return this._timestamp},set:function(t){this._timestamp=t}},{key:"messages",get:function(){return this._messages},set:function(t){this._messages=t}},{key:"continueRunId",get:function(){return this._continueRunId},set:function(t){this._continueRunId=t}}])}(),c=function(){return a((function t(e,n){i(this,t),this._chatItem=e,this._runId=n}),[{key:"chatId",get:function(){return this._chatItem.chatId}},{key:"toContinueRunRequestPayload",value:function(){return{conversationId:this.chatId,runId:this._runId,agentId:this._chatItem.agentId,tzOffset:-(new Date).getTimezoneOffset()}}}])}()},184:function(t,e,n){"use strict";n.r(e),n.d(e,"chatMessageModelListMapper",(function(){return a})),n.d(e,"chatItemsModelMapper",(function(){return s})),n.d(e,"chatMessageModelMapper",(function(){return u})),n.d(e,"chatAnswerModelMapper",(function(){return c}));var r=n(108),i=n(112),o=n(149),a=function(t){return t?t.map((function(t){return u(t)})):[]},s=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return e.forEach((function(e){var o=e.conversationId;r.CHAT_MESSAGE_ROLE.USER===e.role?(t&&n.push(t),t=new i.ChatItemModel(o,u(e))):(t||(t=new i.ChatItemModel(o,null)),t.answers.push(u(e)),t.agentId=e.agentId)})),t&&n.push(t),new i.ChatItemsListModel(n)},u=function(t){if(t)return new r.ChatMessageModel({id:t.id,role:t.role,message:t.message,timestamp:t.timestamp,data:t})},c=function(t){if(t)return new o.ChatAnswerModel({chatId:t.id,chatName:t.name,timestamp:t.timestamp,messages:a(t.messages),continueRunId:t.continueRunId})}},214:function(t,e,n){"use strict";n.r(e),n.d(e,"agentFormModelMapper",(function(){return h})),n.d(e,"agentListMapper",(function(){return l})),n.d(e,"agentModelMapper",(function(){return m}));var r=n(143),i=n(287),o=n(25),a=n(28),s=n(129);function u(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var h=function(t,e,n){if(t){var o=new i.AgentFormModel;return o.id=t.id||e.id,o.name=t.name||e.name,o.repositoryId=t.repositoryId||e.repositoryId,o.model=t.model||e.model,o.temperature.value=void 0!==t.temperature?t.temperature:e.temperature,o.topP.value=void 0!==t.topP?t.topP:e.topP,o.seed=t.seed||e.seed,o.instructions=d(t.instructions,e.instructions),f(o,n,e.assistantExtractionMethods,t.assistantExtractionMethods),function(t,e,n){if(!t)return;var o=t.map((function(n){var o={method:n.method||e.method,expanded:n.expanded||e.expanded};return n.method!==r.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH&&n.method!==r.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH||(o.selected=t.some((function(t){return t.method===n.method}))),n.method===r.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH&&(o.maxNumberOfResultsPerCall=n._maxNumberOfResultsPerCall||e.maxNumberOfResultsPerCall,o._searchLabelPredicates=n.searchLabelPredicates||e._searchLabelPredicates),new i.AdditionalExtractionMethodFormModel(o)}));n.additionalExtractionMethods.setAdditionalExtractionMethod(o)}(t.additionalExtractionMethods,e.additionalExtractionMethods,o),o}},d=function(t,e){if(t||e){var n=t&&t.systemInstruction||e.systemInstruction,r=t&&t.userInstruction||e.userInstruction;return new i.AgentInstructionsFormModel({systemInstruction:n,userInstruction:r,defaultSystemInstruction:e.systemInstruction,defaultUserInstruction:e.userInstruction})}},f=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=n.filter((function(t){return!r.some((function(e){return e.method===t.method}))})),c=n.find((function(t){return"sparql_search"===t.method})),h=[].concat(u(r),u(a));h.forEach((function(n){var a=r.some((function(t){return t.method===n.method})),u="";a&&"sparql_search"===n.method&&(s.AGENT_OPERATION.CREATE===e?u="":n.sparqlQuery?u="sparqlQuery":n.ontologyGraph&&(u="ontologyGraph"));var h=e===s.AGENT_OPERATION.EDIT||e===s.AGENT_OPERATION.CLONE,d=new i.ExtractionMethodFormModel({selected:h&&a,method:n.method,sparqlOption:u,ontologyGraph:n.ontologyGraph||c.ontologyGraph,addMissingNamespaces:n.addMissingNamespaces,sparqlQuery:new o.TextFieldModel({value:n.sparqlQuery||c.sparqlQuery,minLength:1,maxLength:2380}),similarityIndex:n.similarityIndex,similarityIndexThreshold:n.similarityIndexThreshold&&new o.NumericRangeModel({value:n.similarityIndexThreshold,minValue:0,maxValue:1,step:.1}),maxNumberOfTriplesPerCall:0===n.maxNumberOfTriplesPerCall?null:n.maxNumberOfTriplesPerCall,queryTemplate:n.queryTemplate&&new o.TextFieldModel({value:n.queryTemplate,minLength:1,maxLength:2380}),retrievalConnectorInstance:n.retrievalConnectorInstance});t.assistantExtractionMethods.setExtractionMethod(d)}))};var l=function(t,e){if(!t)return new r.AgentListModel;var n=t.map((function(t){return m(t,e)}));return new r.AgentListModel(n)},m=function(t,e){if(t){var n=Object(a.md5HashGenerator)();return new r.AgentModel({id:t.id,name:t.name,repositoryId:t.repositoryId,isRepositoryDeleted:!e.includes(t.repositoryId),model:t.model,temperature:t.temperature,topP:t.topP,seed:t.seed,instructions:_(t.instructions),assistantExtractionMethods:y(t.assistantExtractionMethods),additionalExtractionMethods:g(t.additionalExtractionMethods)},n)}},y=function(t){if(t)return t.map((function(t){return p(t)}))},p=function(t){if(t)return new r.ExtractionMethodModel({method:t.method,ontologyGraph:t.ontologyGraph,addMissingNamespaces:t.addMissingNamespaces,sparqlQuery:t.sparqlQuery,similarityIndex:t.similarityIndex,similarityIndexThreshold:t.similarityIndexThreshold,maxNumberOfTriplesPerCall:t.maxNumberOfTriplesPerCall,queryTemplate:t.queryTemplate,retrievalConnectorInstance:t.retrievalConnectorInstance})},g=function(t){if(t)return t.map((function(t){return v(t)}))},v=function(t){if(t)return t.method===r.AdditionalExtractionMethod.AUTOCOMPLETE_IRI_DISCOVERY_SEARCH?new r.AdditionalExtractionMethodModel({method:t.method,maxNumberOfResultsPerCall:t.limit||0,searchLabelPredicates:t.searchLabelPredicates||[]}):t.method===r.AdditionalExtractionMethod.IRI_DISCOVERY_SEARCH?new r.AdditionalExtractionMethodModel({method:t.method}):void 0},_=function(t){if(t)return new r.AgentInstructionsModel({systemInstruction:t.systemInstruction,userInstruction:t.userInstruction})}},215:function(t,e,n){"use strict";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 i(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(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+""}n.r(e),n.d(e,"AgentInstructionsExplain",(function(){return u})),n.d(e,"AgentInstructionsExplainList",(function(){return c}));var u=function(){return a((function t(e){i(this,t),this._type=e.type,this._content=e.content,this._size=e.size}),[{key:"size",get:function(){return this._size},set:function(t){this._size=t}},{key:"content",get:function(){return this._content},set:function(t){this._content=t}},{key:"type",get:function(){return this._type},set:function(t){this._type=t}}])}(),c=function(){return a((function t(e){i(this,t),this._instructions=e.instructions}),[{key:"instructions",get:function(){return this._instructions},set:function(t){this._instructions=t}}])}()},285:function(t,e,n){"use strict";n.r(e),n.d(e,"chatsListMapper",(function(){return u})),n.d(e,"chatModelMapper",(function(){return c}));var r=n(137),i=n(28),o=n(184),a=n(112),s=Object(i.md5HashGenerator)(),u=function(t){if(!t)return new r.ChatsListModel;var e=t.map((function(t){return c(t)}));return new r.ChatsListModel(e)},c=function(t){if(t)return new r.ChatModel({id:t.id,name:t.name,timestamp:t.timestamp,chatHistory:t.messages&&t.messages.length?Object(o.chatItemsModelMapper)(t.messages):new a.ChatItemsListModel},s)}},288:function(t,e,n){"use strict";n.r(e),n.d(e,"explainResponseMapper",(function(){return i})),n.d(e,"explainQueryMethodsListMapper",(function(){return o})),n.d(e,"explainQueryMethodMapper",(function(){return a}));var r=n(144),i=function(t){return new r.ExplainResponseModel({chatId:t.conversationId,answerId:t.answerId,queryMethods:o(t.queryMethods)})},o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new r.ExplainQueryMethodsListModel(t.map(a))},a=function(t){return new r.ExplainQueryMethodModel(t)}},289:function(t,e,n){"use strict";n.r(e),n.d(e,"agentInstructionsExplainMapper",(function(){return i}));var r=n(215),i=function(t){return t?t.map((function(t){return new r.AgentInstructionsExplain(t)})):new r.AgentInstructionsExplainList([])}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[100,145,349],{103:function(t,e,r){"use strict";r.r(e),r.d(e,"ChartData",(function(){return f}));var n=r(636);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 a(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||u(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,u=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return u}}(t,e)||u(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){if(t){if("string"==typeof t)return l(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,s(n.key),n)}}function s(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}var f=function(){function t(e,r,n,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=o,this.disableRangeUpdate=r,this.disableOldDataRemoval=n,this.translateService=e,this.refreshHandlers=[],this.initialChartSetup()}return e=t,o=[{key:"DEFAULT_MULTIPLIER",get:function(){return 1.2}},{key:"MAXIMUM_DIVISIONS",get:function(){return 10}},{key:"COLORS",get:function(){return[t.cssVar("--secondary-color"),t.cssVar("--primary-color"),t.cssVar("--tertiary-color"),t.cssVar("--gray-color")]}},{key:"AREA_BAR_OPACITY",get:function(){return.5}},{key:"cssVar",value:function(t){return getComputedStyle(document.documentElement).getPropertyValue(t)}},{key:"getMaxValueFromDataHolder",value:function(e,r){var n=e.filter((function(t){return!r||angular.isUndefined(r[t.name])||!0===r[t.name]})).map((function(e){return t.getMaxValueForDataSeries(e)}));return Math.max.apply(Math,[1].concat(a(n)))}},{key:"getMaxValueForDataSeries",value:function(t){return Math.max.apply(Math,a(t.data.map((function(t){return t.value[1]}))))}},{key:"calculateMaxChartValueAndDivisions",value:function(e,r,n){var o;o=Array.isArray(e)?t.getMaxValueFromDataHolder(e,n):t.getMaxValueForDataSeries(e);var a=Math.ceil(o*(r||t.DEFAULT_MULTIPLIER))||1;return[a,Math.ceil(a/t.MAXIMUM_DIVISIONS)]}},{key:"getIntegerRangeForValues",value:function(e,r,n){var o=i(t.calculateMaxChartValueAndDivisions(e,r,n),2);return[o[0],o[1]]}},{key:"formatBytesValue",value:function(e,r,n){var o=e;r&&(o=t.getMaxValueFromDataHolder(r,n));var a=Math.floor(Math.log(o)/Math.log(1024)),i=parseFloat(e)/Math.pow(1024,a);return"".concat(i.toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][a])}}],(r=[{key:"registerRefreshHandler",value:function(t){this.refreshHandlers.push(t)}},{key:"unregisterRefreshHandler",value:function(t){var e=this.refreshHandlers.indexOf(t);e>-1&&this.refreshHandlers.splice(e,1)}},{key:"initialChartSetup",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.range=150,this.chartOptions=this.getDefaultChartOptions(this.translateService),t&&(this.dataHolder=this.createDataHolder(),this.chartOptions.series=this.dataHolder,this.firstLoad=!0),this.chartSetup(this.chartOptions)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(this.chartSetup(this.chartOptions),this.updateRange(this.dataHolder)),this.refreshHandlers.forEach((function(e){return e(t.chartOptions)}))}},{key:"setSubTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.chartOptions.title.show=!0;var r="";t.forEach((function(n,o){if(!Array.isArray(n.value)||n.value.length){var a=Array.isArray(n.value)?n.value.join("/"):n.value;r+="{a|".concat(n.label,"}"),void 0!==a&&(r+="{b|".concat(a,"}")),o+1<t.length&&(r+=e>0&&(o+1)%e==0?"\n":"{a| · }")}})),this.chartOptions.title.text=r}},{key:"chartSetup",value:function(t){}},{key:"createDataHolder",value:function(){throw new Error("Must implement data holder creation")}},{key:"addData",value:function(t,e){this.removeOldData(this.dataHolder,this.range),this.addNewData(this.dataHolder,t,e,this.isFirstLoad()),this.hasSelectedSeries()&&(this.updateRange(this.dataHolder),this.firstLoad&&(this.firstLoad=!1),this.refresh(!0))}},{key:"hasSelectedSeries",value:function(){return!this.selectedSeries||Object.values(this.selectedSeries).some((function(t){return!0===t}))}},{key:"removeOldData",value:function(t,e){this.disableOldDataRemoval||t[0].data.length>e&&t.forEach((function(t){return t.data.shift()}))}},{key:"addNewData",value:function(t,e,r,n){}},{key:"setSelectedSeries",value:function(t){this.selectedSeries=t}},{key:"updateRange",value:function(e,r){if(!this.disableRangeUpdate){var n=i(t.calculateMaxChartValueAndDivisions(e,r,this.selectedSeries),1)[0];this.chartOptions.yAxis.max=n}}},{key:"isFirstLoad",value:function(){return this.firstLoad}},{key:"getDefaultChartOptions",value:function(){return{title:{show:!1,text:"",left:"center",textStyle:{overflow:"breakAll",rich:{a:{fontWeight:400,fontSize:14},b:{color:t.cssVar("--secondary-color"),fontWeight:400,fontSize:14}}}},animation:!1,color:t.COLORS,legend:{right:"15%",top:"6%",textStyle:{overflow:"truncate"},icon:"circle"},tooltip:{trigger:"axis",axisPointer:{animation:!1,label:{formatter:function(t){return n.b.format(t.value,"{HH}:{mm}:{ss}",!1)}}}},grid:{containLabel:!0,left:40},xAxis:{type:"time",splitLine:{show:!0},axisLabel:{hideOverlap:!0,padding:8,formatter:{hour:"{bold|{HH}:{mm}}",minute:"{bold|{HH}:{mm}}",second:"{HH}:{mm}:{ss}"},color:t.cssVar("--gray-color-dark"),rich:{bold:{fontWeight:500}}}},yAxis:{type:"value",splitLine:{show:!0},axisLabel:{color:t.cssVar("--gray-color-dark")},axisTick:{lineStyle:{type:"solid"}}},textStyle:{fontFamily:t.cssVar("--main-font"),fontWeight:400}}}},{key:"formatNumber",value:function(t){if(!angular.isUndefined(t)&&this.filter)return this.filter("currency")(t,"",0)}}])&&c(e.prototype,r),o&&c(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,o}()},187:function(t,e,r){"use strict";r.r(e),r.d(e,"HeapMemoryChart",(function(){return p}));var n=r(103);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 a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,u=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}function c(t,e,r){return e=y(e),function(t,e){if(e&&("object"==o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=f(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}}).apply(null,arguments)}function f(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var p=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,e,[t,!1,!1])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),function(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"chartSetup",value:function(t){var r=this,n={yAxis:{axisLabel:{formatter:function(t){return r.hasSelectedSeries()?e.formatBytesValue(t,r.dataHolder,r.selectedSeries):e.formatBytesValue(t,r.dataHolder)}},min:0},tooltip:{valueFormatter:function(t){return e.formatBytesValue(t,null,r.selectedSeries)}}};_.merge(t,n)}},{key:"createDataHolder",value:function(){return[{name:this.translateService.instant("resource.memory.committed"),type:"line",showSymbol:!1,smooth:!0,data:[]},{name:this.translateService.instant("resource.memory.used"),type:"line",areaStyle:{opacity:n.ChartData.AREA_BAR_OPACITY},showSymbol:!1,smooth:!0,data:[]}]}},{key:"translateLabels",value:function(){var t=a(this.dataHolder,2),e=t[0],r=t[1];e.name=this.translateService.instant("resource.memory.committed"),r.name=this.translateService.instant("resource.memory.used"),this.configureSubtitle()}},{key:"addNewData",value:function(t,e,r){var n=a(t,2),o=n[0],i=n[1],u=this.parseData(r);this.latestData={committed:u.committed,used:u.used,max:u.max},o.data.push({value:[e,u.committed]}),i.data.push({value:[e,u.used]}),this.configureSubtitle()}},{key:"configureSubtitle",value:function(){if(this.latestData.max>0){var t=[{label:this.translateService.instant("resource.memory.heap.max"),value:e.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(t)}}},{key:"parseData",value:function(t){return t.heapMemoryUsage}},{key:"updateRange",value:function(t,r,n){var o,a,i,u,l;(o=e,a="updateRange",i=this,l=s(y(1&(u=3)?o.prototype:o),a,i),2&u&&"function"==typeof l?function(t){return l.apply(i,t)}:l)([t,r,n])}}])}(n.ChartData)},335:function(t,e,r){"use strict";r.r(e),r.d(e,"NonHeapMemoryChart",(function(){return s}));var n=r(187);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 a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function i(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}function u(t,e,r){return e=l(e),function(t,e){if(e&&("object"==o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r))}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var s=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,e,[t,!1,!1])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(e,t),r=e,(o=[{key:"configureSubtitle",value:function(t){if(this.latestData.max>0){var e=[{label:this.translateService.instant("resource.memory.non_heap.max"),value:n.HeapMemoryChart.formatBytesValue(this.latestData.max,null,this.selectedSeries)}];this.setSubTitle(e)}}},{key:"parseData",value:function(t){return t.nonHeapMemoryUsage}}])&&a(r.prototype,o),i&&a(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,i}(n.HeapMemoryChart)}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[101,366],{368:function(e,t,n){"use strict";n.r(t);n(62);var r=n(0),i=n(2),o=n(19),a=n(39),s=n(40);function u(e){return(u="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 c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n,u,l,g,d,p,f,m,h,v,y,T,b,w){var S;angular.extend(this,d("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"})),e.themes=h.getThemes(),e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=v.getWorkbenchSettings(),e.selectedThemeMode=e.workbenchSettings.mode,e.saveButtonText=m.instant("common.save.btn"),e.pageTitle=m.instant("view.settings.title"),e.passwordPlaceholder=m.instant("security.new.password"),e.grantedAuthorities=c(c(c({},r.READ_REPO,{}),r.WRITE_REPO,{}),r.GRAPHQL,{}),e.loader=!1,e.selectedTheme=h.getTheme(),e.noPassword=!1,e.showCookiePolicyLink=!1,e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===i.UserType.USER},e.goBack=function(){var t=u((function(){n.history.back()}),100);e.$on("$destroy",(function(){u.cancel(t)}))},e.getPrincipal=function(){return l.getPrincipal().then((function(t){e.currentUserData=_.cloneDeep(t),e.redirectAdmin(),x()}))},e.updateCurrentUserData=function(){y.when(l.getPrincipal()).then((function(t){return _.assign(t,e.userData)}))},e.redirectAdmin=function(){e.currentUserData||g.redirectToLogin()},e.submit=function(){e.noPassword&&e.userType===i.UserType.ADMIN?f.openSimpleModal({title:m.instant("security.save.admin.settings"),message:m.instant("security.admin.pass.unset"),warning:!0}).result.then((function(){e.updateUser()})):e.updateUser()},e.updateUserHttp=function(){e.loader=!0;var n=new a.UpdateUserPayload({username:e.user.username,password:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings});p.updateUserData(n).then((function(){t.success(m.instant("security.user.updated",{name:e.user.username})),e.updateCurrentUserData(),h.toggleThemeMode(e.selectedThemeMode),v.saveWorkbenchSettings(e.workbenchSettings),$()})).catch((function(e){var n=getError(e);t.error(n,m.instant("common.error"))})).finally((function(){e.loader=!1}))},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){e.selectedThemeMode=e.workbenchSettings.mode},e.setTheme=function(t){e.selectedTheme=t,e.workbenchSettings.theme=t.name,h.applyTheme(t.name)},e.showCookiePolicy=function(e){e.preventDefault(),T.open({templateUrl:"js/angular/core/templates/cookie-policy/cookie-policy.html",controller:s.CookiePolicyModalController,backdrop:"static",keyboard:!1,windowClass:"cookie-policy-modal",resolve:{data:function(){return w.getCookieConsent().then((function(e){return{cookieConsent:e}}))}}}).result.then((function(e){e&&n.location.reload()}))};var $=function(){S=u((function(){e.loader=!1,n.history.back()}),2e3)},x=function(){e.userData=_.cloneDeep(e.currentUserData),e.user={username:e.userData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.userData.external,e.user.appSettings=e.userData.appSettings,void 0===e.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(e.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0);var t=Object(o.parseAuthorities)(e.userData.grantedAuthoritiesUiModel);e.userType=t.userType,e.grantedAuthorities=t.grantedAuthorities,e.customRoles=t.customRoles};e.$on("$destroy",(function(){var e=v.getWorkbenchSettings();h.toggleThemeMode(e.mode),h.applyTheme(e.theme),u.cancel(S)}));e.workbenchSettings||(e.workbenchSettings={theme:"light"}),e.getPrincipal(),e.setThemeMode(),b.checkLicenseStatus().then((function(){e.showCookiePolicyLink=w.isTrackingAllowed()}))}angular.module("graphdb.framework.security.controllers.user-settings",["graphdb.framework.core.services.security-service"]).controller("UserSettingsController",l),l.$inject=["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","SecurityService","ModalService","$translate","ThemeService","WorkbenchSettingsStorageService","$q","$uibModal","$licenseService","TrackingService"]},471:function(e,t,n){"use strict";n.r(t);n(10),n(52),n(380),n(368),n(54),n(659);angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.security.controllers.user-settings","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth","graphdb.framework.security.directives"])},659:function(e,t){
|
|
2
2
|
/*! ngTagsInput v3.2.0 License: MIT */!function(){"use strict";var e=8,t=9,n=13,r=27,i=32,o=38,a=40,s=37,u=39,c=46,l=188,g=9007199254740991,d=["text","email","url"],p=angular.module("ngTagsInput",[]);p.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(t,r,o,a,p,f){function m(e,t,n,r){var i,o,s,u,c={};return i=function(t){return f.safeToString(t[e.displayProperty])},o=function(t,n){t[e.displayProperty]=n},s=function(t){var r=i(t),o=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!f.findInObjectArray(c.items,t,e.keyProperty||e.displayProperty);return a.when(o&&n({$tag:t})).then(f.promisifyValue)},u=function(e){return a.when(r({$tag:e})).then(f.promisifyValue)},c.items=[],c.addText=function(e){var t={};return o(t,e),c.add(t)},c.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=f.replaceSpacesWithDashes(r)),o(n,r),s(n).then((function(){c.items.push(n),t.trigger("tag-added",{$tag:n})})).catch((function(){r&&t.trigger("invalid-tag",{$tag:n})}))},c.remove=function(e){var n=c.items[e];return u(n).then((function(){return c.items.splice(e,1),c.clearSelection(),t.trigger("tag-removed",{$tag:n}),n}))},c.select=function(e){0>e?e=c.items.length-1:e>=c.items.length&&(e=0),c.index=e,c.selected=c.items[e]},c.selectPrior=function(){c.select(--c.index)},c.selectNext=function(){c.select(++c.index)},c.removeSelected=function(){return c.remove(c.index)},c.clearSelection=function(){c.selected=null,c.index=-1},c.getItems=function(){return e.useStrings?c.items.map(i):c.items},c.clearSelection(),c}function h(e){return-1!==d.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,t,n){e.events=f.simplePubSub(),p.load("tagsInput",e,t,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",h],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,g],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,g],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),e.tagList=new m(e.options,e.events,f.handleUndefinedResult(e.onTagAdding,!0),f.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){return n.find("input"),{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,n){return e.events.on(t,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(a,g,d,p){var m,h,v=[n,l,i,e,c,s,u],y=a.tagList,T=a.events,b=a.options,w=g.find("input"),S=["minTags","maxTags","allowLeftoverText"];m=function(){p.$setValidity("maxTags",y.items.length<=b.maxTags),p.$setValidity("minTags",y.items.length>=b.minTags),p.$setValidity("leftoverText",!(!a.hasFocus&&!b.allowLeftoverText)||!a.newTag.text())},h=function(){t((function(){w[0].focus()}))},p.$isEmpty=function(e){return!e||!e.length},a.newTag={text:function(e){return angular.isDefined(e)?(a.text=e,void T.trigger("input-change",e)):a.text||""},invalid:null},a.track=function(e){return e[b.keyProperty||b.displayProperty]},a.getTagClass=function(e,t){var n=e===y.selected;return[a.tagClass({$tag:e,$index:t,$selected:n}),{selected:n}]},a.$watch("tags",(function(e){if(e){if(y.items=f.makeObjectArray(e,b.displayProperty),b.useStrings)return;a.tags=y.items}else y.items=[]})),a.$watch("tags.length",(function(){m(),p.$validate()})),d.$observe("disabled",(function(e){a.disabled=e})),a.eventHandlers={input:{keydown:function(e){T.trigger("input-keydown",e)},focus:function(){a.hasFocus||(a.hasFocus=!0,T.trigger("input-focus"))},blur:function(){t((function(){var e=r.prop("activeElement"),t=e===w[0],n=g[0].contains(e);(t||!n)&&(a.hasFocus=!1,T.trigger("input-blur"))}))},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):o.clipboardData.getData("Text")},T.trigger("input-paste",e)}},host:{click:function(){a.disabled||h()}},tag:{click:function(e){T.trigger("tag-clicked",{$tag:e})}}},T.on("tag-added",a.onTagAdded).on("invalid-tag",a.onInvalidTag).on("tag-removed",a.onTagRemoved).on("tag-clicked",a.onTagClicked).on("tag-added",(function(){a.newTag.text("")})).on("tag-added tag-removed",(function(){a.tags=y.getItems(),p.$setDirty(),h()})).on("invalid-tag",(function(){a.newTag.invalid=!0})).on("option-change",(function(e){-1!==S.indexOf(e.name)&&m()})).on("input-change",(function(){y.clearSelection(),a.newTag.invalid=null})).on("input-focus",(function(){g.triggerHandler("focus"),p.$setValidity("leftoverText",!0)})).on("input-blur",(function(){b.addOnBlur&&!b.addFromAutocompleteOnly&&y.addText(a.newTag.text()),g.triggerHandler("blur"),m()})).on("input-keydown",(function(t){var r,o,g,d,p=t.keyCode,m={};f.isModifierOn(t)||-1===v.indexOf(p)||(m[n]=b.addOnEnter,m[l]=b.addOnComma,m[i]=b.addOnSpace,r=!b.addFromAutocompleteOnly&&m[p],o=(p===e||p===c)&&y.selected,d=p===e&&0===a.newTag.text().length&&b.enableEditingLastTag,g=(p===e||p===s||p===u)&&0===a.newTag.text().length&&!b.enableEditingLastTag,r?y.addText(a.newTag.text()):d?(y.selectPrior(),y.removeSelected().then((function(e){e&&a.newTag.text(e[b.displayProperty])}))):o?y.removeSelected():g&&(p===s||p===e?y.selectPrior():p===u&&y.selectNext()),(r||g||o||d)&&t.preventDefault())})).on("input-paste",(function(e){if(b.addOnPaste){var t=e.getTextData().split(b.pasteSplitPattern);t.length>1&&(t.forEach((function(e){y.addText(e)})),e.preventDefault())}}))}}}]),p.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var o=i.registerTagItem(),a=o.getOptions();t.$$template=a.template,t.$$removeTagSymbol=a.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[a.displayProperty])},t.$removeTag=function(){o.removeTag(t.$index)},t.$watch("$parent.$index",(function(e){t.$index=e}))}}}]),p.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,i,s,u,c,l){function g(e,t,n){var r,i,o,a={};return o=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},r=function(e,n){return e.filter((function(e){return!l.findInObjectArray(n,e,o(),(function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=l.replaceSpacesWithDashes(e),n=l.replaceSpacesWithDashes(n)),l.defaultComparer(e,n)}))}))},a.reset=function(){i=null,a.items=[],a.visible=!1,a.index=-1,a.selected=null,a.query=null},a.show=function(){t.selectFirstMatch?a.select(0):a.selected=null,a.visible=!0},a.load=l.debounce((function(n,s){a.query=n;var c=u.when(e({$query:n}));i=c,c.then((function(e){c===i&&(e=l.makeObjectArray(e.data||e,o()),e=r(e,s),a.items=e.slice(0,t.maxResultsToShow),a.items.length>0?a.show():a.reset())}))}),t.debounceDelay),a.selectNext=function(){a.select(++a.index)},a.selectPrior=function(){a.select(--a.index)},a.select=function(e){0>e?e=a.items.length-1:e>=a.items.length&&(e=0),a.index=e,a.selected=a.items[e],n.trigger("suggestion-selected",e)},a.reset(),a}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=l.simplePubSub(),c.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new g(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,i,s,u){var c,g=[n,t,r,o,a],d=e.suggestionList,p=u.registerAutocomplete(),f=e.options,m=e.events;f.tagsInput=p.getOptions(),c=function(e){return e&&e.length>=f.minLength||!e&&f.loadOnEmpty},e.templateScope=p.getTemplateScope(),e.addSuggestionByIndex=function(t){d.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return d.selected&&(p.addTag(angular.copy(d.selected)),d.reset(),e=!0),e},e.track=function(e){return e[f.tagsInput.keyProperty||f.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===d.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},p.on("tag-added tag-removed invalid-tag input-blur",(function(){d.reset()})).on("input-change",(function(e){c(e)?d.load(e,p.getTags()):d.reset()})).on("input-focus",(function(){var e=p.getCurrentTagText();f.loadOnFocus&&c(e)&&d.load(e,p.getTags())})).on("input-keydown",(function(i){var s=i.keyCode,u=!1;if(!l.isModifierOn(i)&&-1!==g.indexOf(s))return d.visible?s===a?(d.selectNext(),u=!0):s===o?(d.selectPrior(),u=!0):s===r?(d.reset(),u=!0):(s===n||s===t)&&(u=e.addSuggestion()):s===a&&e.options.loadOnDownArrow&&(d.load(p.getCurrentTagText(),p.getTags()),u=!0),u?(i.preventDefault(),i.stopImmediatePropagation(),!1):void 0})),m.on("suggestion-selected",(function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),o=n.prop("offsetHeight"),a=r.prop("clientHeight"),s=r.prop("scrollTop");s>i?r.prop("scrollTop",i):i+o>a+s&&r.prop("scrollTop",i+o-a)}(i,e)}))}}}]),p.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,o){var a=o.registerAutocompleteMatch(),s=a.getOptions();n.$$template=s.template,n.$index=n.$parent.$index,n.$highlight=function(n){return s.highlightMatchedText&&(n=t.safeHighlight(n,a.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[s.displayProperty||s.tagsInput.displayProperty])}}}}]),p.directive("tiTranscludeAppend",(function(){return function(e,t,n,r,i){i((function(e){t.append(e)}))}})),p.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var o,a,s=e.getTextAutosizeThreshold();(o=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(o),a=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(o.text(i),o.css("display",""),t=o.prop("offsetWidth"),o.css("display","none")),n.css("width",t?t+s+"px":""),e},i.$parsers.unshift(a),i.$formatters.unshift(a),r.$observe("placeholder",(function(e){i.$modelValue||a(e)}))}}}]),p.directive("tiBindAttrs",(function(){return function(e,t,n){e.$watch(n.tiBindAttrs,(function(e){angular.forEach(e,(function(e,t){n.$set(t,e)}))}),!0)}})),p.provider("tagsInputConfig",(function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,o,a,s){var u=function(){return!0};o.options={},angular.forEach(s,(function(s,c){var l,g,d,p,f,m;l=s[0],g=s[1],d=s[2]||u,p=i[l],f=function(){var t=e[n]&&e[n][c];return angular.isDefined(t)?t:g},m=function(e){o.options[c]=e&&d(e)?p(e):f()},t[n]&&t[n][c]?a.$observe(c,(function(e){m(e),o.events.trigger("option-change",{name:c,newValue:e})})):m(a[c]&&r(a[c])(o.$parent))}))},getTextAutosizeThreshold:function(){return n}}}]})),p.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e((function(){t.apply(null,i)}),n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach((function(e){var r={};r[t]=e,n.push(r)})),n},findInObjectArray:function(e,t,r,i){var o=null;return i=i||n.defaultComparer,e.some((function(e){return i(e[r],t[r])?(o=e,!0):void 0})),o},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,(function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e}))},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach((function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)})),this},trigger:function(t,r){return(e[t]||[]).every((function(e){return n.handleUndefinedResult(e,!0)(r)})),this}}}};return n}]),p.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}()}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[102,152],{255:function(r,e){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRoleHandler",(function(){return{restrict:"A",require:"ngModel",link:function(r,e,t,a){var n=[];function o(r,e){if(!r||"*"===r)return r;var t=r.startsWith("!"),a=t?"!CUSTOM_":"CUSTOM_";return e?a+r.replace(/^!/,""):t?"!"+r.replace(a,""):r.replace(a,"")}a.$parsers.push((function(r){var e;return a.$warning=!!(r&&(e=r,e.toUpperCase().startsWith("CUSTOM_")||e.toUpperCase().startsWith("!CUSTOM_"))),r})),a.$formatters.push((function(r){return o(r,!1)})),a.$parsers.push((function(r){return o(r,!0)})),a.$validators.customRoleValidator=function(r){if(!r)return!0;var e=r.replace(/^(!CUSTOM_|CUSTOM_)/,"");return"*"===e||e.length>=2};n.push(r.$on("$destroy",(function(){n.forEach((function(r){return r()}))})))}}}))},385:function(r,e,t){"use strict";t.r(e);t(10),t(52),t(58),t(248),t(373),t(53),t(255);angular.module("graphdb.framework.aclmanagement",["ui.bootstrap","toastr","ngCookies","ngRoute","graphdb.framework.aclmanagement.directives","graphdb.framework.aclmanagement.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.core.controllers"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[103,153],{180:function(e,t,n){"use strict";n.r(t),n.d(t,"ACListModel",(function(){return h})),n.d(t,"ACRuleModel",(function(){return y})),n.d(t,"StatementACRuleModel",(function(){return _})),n.d(t,"PluginACRuleModel",(function(){return d})),n.d(t,"ClearGraphACRuleModel",(function(){return v})),n.d(t,"SystemACRuleModel",(function(){return g})),n.d(t,"ACL_POLICY",(function(){return b})),n.d(t,"ACL_OPERATION",(function(){return m})),n.d(t,"ACL_SCOPE",(function(){return k})),n.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return w})),n.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return O})),n.d(t,"DEFAULT_URI_VALUES",(function(){return S}));var r=n(24);function o(e){return(o="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 i(e,t,n){return t=u(t),function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,n||[],u(e).constructor):t.apply(e,n))}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function f(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var h=function(){return f((function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];a(this,e),this._aclRules=new Map,n.forEach((function(e){var n=e.scope;t._aclRules.has(n)||t._aclRules.set(n,[]),t._aclRules.get(n).push(e)}))}),[{key:"size",value:function(e){return this._aclRules.get(e)&&this._aclRules.get(e).length}},{key:"appendNewRule",value:function(e,t,n,r,o,i,u,c,s){var a=R.createRule(e,t,n,r,o,i,u,c,s);this._aclRules.has(e)||this._aclRules.set(e,[]),a.checkCustomOrNegatedPrefix(),this._aclRules.get(e).push(a)}},{key:"addRule",value:function(e,t){var n=this._aclRules.get(e);n?n.splice(t,0,R.createRule(e)):this._aclRules.set(e,[R.createRule(e)])}},{key:"removeRule",value:function(e,t){var n=this._aclRules.get(e);n&&n.splice(t,1)}},{key:"replaceRule",value:function(e,t,n){var r=this._aclRules.get(e);r&&r.splice(t,1,n)}},{key:"getRule",value:function(e,t){var n=this._aclRules.get(e);return n?n[t]:null}},{key:"isRuleDuplicated",value:function(e,t){var n=this.getRule(e,t);return!!n&&this._aclRules.get(e).some((function(e,o){return o!==t&&Object(r.isEqual)(n,e)}))}},{key:"setPrefixWarningFlag",value:function(e,t){var n=this.getRule(e,t);n&&n.checkCustomOrNegatedPrefix()}},{key:"getRuleCopy",value:function(e,t){var n=this.getRule(e,t);return R.createRule(n.scope,n.policy,n.role,n.operation,n.subject,n.predicate,n.object,n.context,n.plugin)}},{key:"moveUp",value:function(e,t){var n=this._aclRules.get(e),r=n[t-1];n[t-1]=n[t],n[t]=r}},{key:"moveDown",value:function(e,t){var n=this._aclRules.get(e),r=n[t+1];n[t+1]=n[t],n[t]=r}},{key:"toJSON",value:function(){var e=[];return this._aclRules.forEach((function(t){t.forEach((function(t){return e.push(t.toJSON())}))})),e}},{key:"aclRules",get:function(){return this._aclRules},set:function(e){this._aclRules=e}},{key:"getRulesByScope",value:function(e){return this._aclRules.get(e)||[]}},{key:"getRuleKeysByScope",value:function(e){return Object.keys(this.getRulesByScope(e)[0]||{})}}])}(),y=function(){return f((function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.ALLOW;a(this,e),this._scope=t,this._role=n,this._policy=r}),[{key:"scope",get:function(){return this._scope},set:function(e){this._scope=e}},{key:"roleWithoutCustomPrefix",get:function(){return this._role.startsWith("!")?this._role.replace("CUSTOM_"," "):this._role.replace("CUSTOM_","")}},{key:"role",get:function(){return this._role},set:function(e){this._role=e}},{key:"policy",get:function(){return this._policy},set:function(e){this._policy=e}},{key:"warnForPrefix",get:function(){return this._warnForPrefix}},{key:"checkCustomOrNegatedPrefix",value:function(){this._warnForPrefix=this.role.startsWith("CUSTOM_CUSTOM_")||this.role.startsWith("!CUSTOM_CUSTOM_")}},{key:"toJSON",value:function(){}}])}(),_=function(e){function t(e,n,r,o,u,c,s){var l;return a(this,t),(l=i(this,t,[k.STATEMENT,e,n]))._subject=r||"*",l._predicate=o||"*",l._object=u||"*",l._context=c||"*",l._operation=s||m.ALL,l}return c(t,e),f(t,[{key:"subject",get:function(){return this._subject},set:function(e){this._subject=e}},{key:"predicate",get:function(){return this._predicate},set:function(e){this._predicate=e}},{key:"object",get:function(){return this._object},set:function(e){this._object=e}},{key:"context",get:function(){return this._context},set:function(e){this._context=e}},{key:"operation",get:function(){return this._operation},set:function(e){this._operation=e}},{key:"toJSON",value:function(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,subject:this.subject,predicate:this.predicate,object:this.object,context:this.context,warnForPrefix:this.warnForPrefix}}}])}(y),d=function(e){function t(e,n,r,o){var u;return a(this,t),(u=i(this,t,[k.PLUGIN,e,n]))._plugin=r||"*",u._operation=o||m.ALL,u}return c(t,e),f(t,[{key:"plugin",get:function(){return this._plugin},set:function(e){this._plugin=e}},{key:"operation",get:function(){return this._operation},set:function(e){this._operation=e}},{key:"toJSON",value:function(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,plugin:this.plugin,warnForPrefix:this.warnForPrefix}}}])}(y),v=function(e){function t(e,n,r,o){var u;return a(this,t),(u=i(this,t,[k.CLEAR_GRAPH,e,n]))._context=r||"*",u._defaultResults=o||["*","default","custom"],u}return c(t,e),f(t,[{key:"context",get:function(){return this._context},set:function(e){this._context=e}},{key:"defaultResults",get:function(){return this._defaultResults},set:function(e){this._defaultResults=e}},{key:"toJSON",value:function(){return{scope:this.scope,policy:this.policy,role:this.role,context:this.context,warnForPrefix:this.warnForPrefix}}}])}(y),g=function(e){function t(e,n,r){var o;return a(this,t),(o=i(this,t,[k.SYSTEM,e,n]))._operation=r||m.ALL,o}return c(t,e),f(t,[{key:"operation",get:function(){return this._operation},set:function(e){this._operation=e}},{key:"toJSON",value:function(){return{scope:this.scope,policy:this.policy,role:this.role,operation:this.operation,warnForPrefix:this.warnForPrefix}}}])}(y),R=function(){return f((function e(){a(this,e)}),null,[{key:"createRule",value:function(e,t,n,r,o,i,u,c,s){switch(e){case k.STATEMENT:return new _(n,t,o,i,u,c,r);case k.PLUGIN:return new d(n,t,s,r);case k.CLEAR_GRAPH:return new v(n,t,c);case k.SYSTEM:return new g(n,t,r);default:throw new Error("Invalid scope: "+e+" provided")}}}])}(),b={ALLOW:"allow",DENY:"deny"},m={READ:"read",WRITE:"write",ALL:"*"},k={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},w=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],O=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"},{type:"default",value:"all",description:"acl_management.defaults.all"},{type:"default",value:"default",description:"acl_management.defaults.default"},{type:"default",value:"named",description:"acl_management.defaults.named"}],S=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},254:function(e,t,n){"use strict";n.r(t),n.d(t,"mapAclRulesResponse",(function(){return o}));var r=n(180),o=function(e){var t=new r.ACListModel;return e&&e.data&&e.data.forEach((function(e){t.appendNewRule(e.scope,e.policy,e.role,e.operation,e.subject,e.predicate,e.object,e.context,e.plugin)})),t}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[104,156],{257:function(n,o){function e(n,o,e){n.loading=!1,n.initialized=!1,n.backupAndRestoreInfos=void 0,n.hasClusterOperation=!1,n.paused=!1;var r=void 0;n.hasToShowValue=function(n){return"boolean"==typeof n||!!n},n.togglePause=function(){n.paused=!n.paused};var a=function(){n.loading||n.paused||(n.loading=!0,e.monitorBackup().then((function(o){n.backupAndRestoreInfos=o,n.initialized=!0,n.hasClusterOperation=n.backupAndRestoreInfos.some((function(n){return n.nodePerformingClusterBackup}))})).finally((function(){return n.loading=!1})))};n.$on("$destroy",(function(){r&&o.cancel(r)})),a(),r=o((function(){return a()}),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",e),e.$inject=["$scope","$interval","MonitoringRestService"]},389:function(n,o,e){"use strict";e.r(o);e(257);angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[105,163],{191:function(e,t,n){"use strict";n.r(t),n.d(t,"ClusterEventName",(function(){return u}));var r=n(24),i=n(145);function o(e){var t=void 0,n=!1,o=void 0,a=function(){return t},c=function(){return n},l=function(e){if(!e)throw new Error("Invalid location");t.addToCluster(e),d()},s=function(e){if(!e)throw new Error("Invalid node");t.deleteFromCluster(e),d()},d=function(){f(u.CLUSTER_VIEW_UPDATED,a())},f=function(t,n){e.emitSync(t,n)},C=function(t,n){return e.subscribeSync(t,(function(e){return n(e)}))};return{emit:f,subscribe:C,getClusterView:a,onClusterViewChanged:function(e){return t&&angular.isFunction(e)&&e(a()),C(u.CLUSTER_VIEW_UPDATED,(function(t){return e(t)}))},setClusterView:function(e){if(!e)return t=void 0,n=!1,void(o=void 0);t=new i.ClusterViewModel(Object(r.cloneDeep)(e)),d()},addLocation:l,updateClusterValidity:function(e){n=e,f(u.CLUSTER_VALID_UPDATED,c())},isValid:c,onClusterValidityChanged:function(e){return t&&angular.isFunction(e)&&e(c()),C(u.CLUSTER_VALID_UPDATED,(function(t){return e(t)}))},emitUpdateClusterView:d,deleteFromCluster:s,restoreNode:function(e){if(!e)throw new Error("Invalid node");t.restoreFromDeletion(e),d()},replace:function(e,t){s(e),l(t)},setPendingReplace:function(e){o=Object(r.cloneDeep)(e)},getPendingReplace:function(){return o},getDeleteFromCluster:function(){return t.getDeleteFromCluster()},getAvailable:function(){return t.getAvailable()},getAvailableNodeEndpoints:function(){return t.getAvailableNodeEndpoints()},getAttached:function(){return t.getAttached()},hasValidNodesCount:function(){return t.hasValidNodesCount()},canDeleteNode:function(){return t.canDeleteNode()},findByEndpoint:function(e,n){return t.findByEndpoint(e,n)},getLocalNode:function(){return t.getLocalNode()},getViewModel:function(){return t.getViewModel()},hasCluster:function(){return t.hasCluster()},getClusterConfiguration:function(){return t.getClusterConfiguration()},isChanged:function(){return t.isChanged()}}}angular.module("graphdb.framework.clustermanagement.services.cluster-context",[]).factory("ClusterContextService",o),o.$inject=["EventEmitterService"];var u={CLUSTER_VIEW_UPDATED:"cluster_view_updated",CLUSTER_VALID_UPDATED:"cluster_valid_updated"}},262:function(e,t,n){"use strict";n.r(t);n(191);var r=n(24);function i(e,t,n,i,o,u){var a=[];e.isValid=o.isValid(),e.ok=function(){var e=o.getClusterView();e.hasCluster()?t.close(Object(r.cloneDeep)(e.getUpdateActions())):t.close(Object(r.cloneDeep)(e.getUpdateActions().clusterConfiguration))},e.cancel=function(){e.isChanged?u.openSimpleModal({title:n.instant("common.warning"),message:n.instant("page.leave.pristine.warning"),warning:!0}).result.then((function(){t.dismiss("cancel")})):t.dismiss("cancel")};var c=function(){a.forEach((function(e){return e()}))};a.push(o.onClusterValidityChanged((function(t){e.isValid=t}))),a.push(o.onClusterViewChanged((function(){if(!e.hasCluster&&0===o.getAttached().length){var t=o.getLocalNode();o.addLocation(t)}e.isChanged=o.isChanged()}))),e.$on("$destroy",(function(){c(),o.setClusterView(void 0)})),o.setClusterView(i.clusterModel),e.hasCluster=i.clusterModel.hasCluster}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster-nodes-modal",["graphdb.framework.clustermanagement.services.cluster-context"]).controller("EditClusterNodesModalController",i),i.$inject=["$scope","$uibModalInstance","$translate","data","ClusterContextService","ModalService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[106,353],{141:function(e,t){angular.module("graphdb.framework.rest.cluster.service",[]).factory("ClusterRestService",r),r.$inject=["$http"];function r(e){return{getClusterConfig:function(){return e.get("".concat("rest/cluster","/config"))},createCluster:function(t){return e.post("".concat("rest/cluster","/httpConfig"),t)},updateClusterConfiguration:function(t){t.nodes&&delete t.nodes;return e.patch("".concat("rest/cluster","/config"),t)},deleteCluster:function(t){var r=$.param({force:t});return e.delete("".concat("rest/cluster","/config?").concat(r))},replaceNodesInCluster:function(t){return e.patch("".concat("rest/cluster","/httpConfig"),t)},getClusterStatus:function(){return e.get("".concat("rest/cluster","/group/status"))},getNodeStatus:function(){return e.get("".concat("rest/cluster","/node/status"))},addCusterTag:function(t){return e.post("".concat("rest/cluster","/config/tag"),t)},deleteClusterTag:function(t){return e({method:"DELETE",url:"".concat("rest/cluster","/config/tag"),data:{tag:t},headers:{"Content-type":"application/json;charset=utf-8"}})},disableSecondaryMode:function(){return e.delete("".concat("rest/cluster","/config/secondary-mode"))},enableSecondaryMode:function(t){return e.post("".concat("rest/cluster","/config/secondary-mode"),t)}}}},260:function(e,t,r){"use strict";r.r(t);r(141);function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t,r,o,a,i,s){e.pageTitle=i.instant("cluster_management.cluster_page.edit_page_title"),e.errors=[],e.clusterConfiguration=_.cloneDeep(s.clusterConfiguration),e.loader=!1,e.configFields=[{id:"election-minimum-timeout",name:"electionMinTimeout",label:"cluster_management.cluster_configuration_properties.election_min_timeout",tooltip:"cluster_management.cluster_configuration_properties.election_min_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"election-range-timeout",name:"electionRangeTimeout",label:"cluster_management.cluster_configuration_properties.election_range_timeout",tooltip:"cluster_management.cluster_configuration_properties.election_range_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"heartbeat-interval",name:"heartbeatInterval",label:"cluster_management.cluster_configuration_properties.heartbeat_interval",tooltip:"cluster_management.cluster_configuration_properties.heartbeat_interval_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"message-size",name:"messageSizeKB",label:"cluster_management.cluster_configuration_properties.message_size_kb",tooltip:"cluster_management.cluster_configuration_properties.message_size_kb_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"verification-timeout",name:"verificationTimeout",label:"cluster_management.cluster_configuration_properties.verification_timeout",tooltip:"cluster_management.cluster_configuration_properties.verification_timeout_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"},{id:"transaction-log-max-size",name:"transactionLogMaximumSizeGB",label:"cluster_management.cluster_configuration_properties.transaction_log_maximum_size_gb",tooltip:"cluster_management.cluster_configuration_properties.transaction_log_maximum_size_gb_tooltip",pattern:"-?[1-9][0-9]*(\\.[0-9]+)?",errorMsg:"cluster_management.cluster_page.errors.small_transaction_log_max_size"},{id:"batch-update-interval",name:"batchUpdateInterval",label:"cluster_management.cluster_configuration_properties.batch_update_interval",tooltip:"cluster_management.cluster_configuration_properties.batch_update_interval_tooltip",errorMsg:"cluster_management.cluster_page.errors.only_positive_integers"}],e.updateClusterConfiguration=function(){return e.setLoader(!0,i.instant("cluster_management.cluster_page.updating_cluster_loader")),o.updateClusterConfiguration(e.clusterConfiguration).then((function(){a.success(i.instant("cluster_management.cluster_page.notifications.update_success")),t.close()})).catch((function(e){c(e.data,e.status)})).finally((function(){return e.setLoader(!1)}))},e.isClusterConfigurationValid=function(){return!e.clusterConfigurationForm.$invalid},e.setLoader=function(t,n){r.cancel(e.loaderTimeout),t?e.loaderTimeout=r((function(){e.loader=t,e.loaderMessage=n}),300):e.loader=!1},e.ok=function(){e.isClusterConfigurationValid()?e.updateClusterConfiguration():a.warning(i.instant("cluster_management.cluster_page.notifications.form_invalid"))},e.cancel=function(){t.dismiss("cancel")},e.onClick=function(e){e.stopPropagation()};var c=function(t,r){if(delete e.preconditionErrors,a.error(i.instant("cluster_management.cluster_page.notifications.update_failed")),e.errors.splice(0),409===r||"string"==typeof t)e.errors.push(t);else if(412===r)e.preconditionErrors=Object.keys(t).map((function(e){return"".concat(e," - ").concat(t[e])}));else if(400===r){var o;(o=e.errors).push.apply(o,n(t))}}}angular.module("graphdb.framework.clustermanagement.controllers.edit-cluster",[]).controller("EditClusterCtrl",a),a.$inject=["$scope","$uibModalInstance","$timeout","ClusterRestService","toastr","$translate","data"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[107,161],{131:function(e,t,r){"use strict";r.r(t),r.d(t,"UPDATE_CLUSTER",(function(){return n})),r.d(t,"DELETE_CLUSTER",(function(){return l})),r.d(t,"CLICK_IN_VIEW",(function(){return u})),r.d(t,"NODE_SELECTED",(function(){return i})),r.d(t,"CREATE_CLUSTER",(function(){return o})),r.d(t,"MODEL_UPDATED",(function(){return c}));var n="updateCluster",l="deleteCluster",u="clickInView",i="nodeSelected",o="createCluster",c="modelUpdated"},193:function(e,t,r){"use strict";r.r(t);var n=r(131);function l(e,t){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:function(r){r.isAdmin=!1,r.showEditConfigurationDialog=function(){t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:function(){return{clusterConfiguration:r.clusterConfiguration}}}}).result.finally((function(){r.$emit(n.UPDATE_CLUSTER,{force:!0})}))},r.showDeleteDialog=function(){t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then((function(e){r.$emit(n.DELETE_CLUSTER,{force:e})}))};r.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration.cluster-properties",[]).directive("clusterProperties",l),l.$inject=["$jwtAuth","$uibModal"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[108,161],{131:function(e,t,n){"use strict";n.r(t),n.d(t,"UPDATE_CLUSTER",(function(){return o})),n.d(t,"DELETE_CLUSTER",(function(){return r})),n.d(t,"CLICK_IN_VIEW",(function(){return a})),n.d(t,"NODE_SELECTED",(function(){return s})),n.d(t,"CREATE_CLUSTER",(function(){return i})),n.d(t,"MODEL_UPDATED",(function(){return c}));var o="updateCluster",r="deleteCluster",a="clickInView",s="nodeSelected",i="createCluster",c="modelUpdated"},263:function(e,t,n){"use strict";n.r(t);n(15),n(264);var o=n(154),r=n(24),a=n(131);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)}var i=240,c={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},u={node_state:"legend_node_state",link_state:"legend_link_state"};angular.module("graphdb.framework.clustermanagement.directives.cluster-graphical-view",["graphdb.framework.utils.localstorageadapter","graphdb.framework.clustermanagement.directives.cluster-legend"]).directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$jwtAuth","$rootScope","ClusterViewContextService",function(e,t,n,d,l,f,_,p){return{restrict:"E",scope:{clusterModel:"="},link:function(g,h){var y,m,v,E,w,C=angular.element(e),S=[],b=O(),k=T(),L=Math.min(b,k)/2-100,A=b/2,M=k/2;function D(){var e=p.getClusterViewD3Container();b=O(),k=T(),e.attr("width",b),e.attr("height",k),j()}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";Object.keys(e).forEach((function(n){var o="";t&&(o+=t),o+=".".concat(n);var r=e[n];"string"==typeof r?e[n]=l.instant("cluster_management.cluster_graphical_view".concat(o)):"object"===s(r)&&N(r,o)}))}function O(){var o="collapsedMenu"===t.get(n.MENU_STATE);return i=o?70:240,Math.max(Math.floor(.95*(e.innerWidth-i)),600)}function T(){return Math.max(.95*(e.innerHeight-250),675)}function R(){o.updateClusterZoneLabels(m,v,c),Object.keys(u).forEach((function(e){d3.select("#".concat(e)).text(function(e){return c[u[e]]}(e))}))}function I(){L=Math.min(b,k)/2-100,A=b/2,M=k/2,o.moveElement(v,A,M),v.select(".cluster-zone").attr("r",L)}function U(e){g.$emit(a.CLICK_IN_VIEW,e.target)}function j(){I(),m!==g.clusterModel.hasCluster&&function(e){o.setCreateClusterZone(e,v,c,y),!e&&y&&v.on("mouseup",(function(){g.$emit(a.CREATE_CLUSTER)}))}(m=!!g.clusterModel.hasCluster);var e=function(){var e=Object(r.cloneDeep)(g.clusterModel.nodes)||[];return e.forEach((function(e){if(e.hostname=d.shortenIri(e.endpoint),!Object(r.isEmpty)(e.recoveryStatus)){var t="cluster_management.cluster_graphical_view.recovery_state.".concat(e.recoveryStatus.state.toLowerCase());e.recoveryStatus.affectedNodes&&e.recoveryStatus.affectedNodes.length>0&&(t+="_with_affected_node"),e.recoveryStatus.message=l.instant(t,{node:e.recoveryStatus.affectedNodes.join(", ")})}})),e}();!function(e){var t=E.selectAll("#node-group").data(e,(function(e){return e.address})),n=o.createNodes(t,45);n.on("click",(function(e,t){g.$emit(a.NODE_SELECTED,t);var n=d3.select(".nodetooltip"),o=$(window).width();e.pageX<o/2?(n.style("left",e.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-e.pageX+"px")),n.style("top",e.pageY-28+"px")})),o.updateNodes(n),o.positionNodesOnClusterZone(n,A,M,L)}(e),function(e,t){var n=w.selectAll(".link").data(e,(function(e){return e.id}));o.createLinks(n),o.updateLinks(n,t)}(Object(r.cloneDeep)(g.clusterModel.links)||[],e)}g.width=function(){return b},g.height=function(){return k};g.$on("$destroy",(function(){C.unbind("resize",D),C.unbind("mousedown",U),o.removeEventListeners(),S.forEach((function(e){return e()}))})),y=f.isAdmin(),C.bind("resize",D),C.bind("mousedown",U),S.push(_.$on("$translateChangeSuccess",(function(){N(c),R()}))),S.push(g.$on(a.MODEL_UPDATED,(function(){j()}))),N(c),function(e){var t=o.createClusterSvgElement(h[0]).attr("width",b).attr("height",k);v=o.createClusterZone(t,e),w=t.append("g").attr("id","links-group"),E=t.append("g").attr("id","nodes-group"),o.addArrowHead(t,o.ARROW_CONFIG.BIG),o.addArrowHead(t,o.ARROW_CONFIG.SMALL),p.updateClusterViewD3Container(t)}(!(!g.clusterModel.nodes||!g.clusterModel.nodes.length)),j()}}}])}}]);
|