graphdb-workbench 3.0.1 → 3.0.2-TR2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{1.4557dfdb926ba6471bb3.bundle.js → 1.39c8f2b09d3018e6a9cd.bundle.js} +1 -1
- package/dist/{10.8a76ef708b5c69241c68.bundle.js → 10.4f80be12b2cd899d4fc2.bundle.js} +1 -1
- package/dist/100.2daf71ab49c93a1c9d40.bundle.js +1 -0
- package/dist/{99.a745a27e01490b0d843d.bundle.js → 101.70d205b9691d74539dd7.bundle.js} +1 -1
- package/dist/{100.c4aaa3d10f570dba12a9.bundle.js → 102.8b6782cd3c24d47c87d2.bundle.js} +1 -1
- package/dist/{101.8f0b38c2e58132599194.bundle.js → 103.ff8e7dd53d94f93552bf.bundle.js} +1 -1
- package/dist/{103.96f2287dde7e4fc25c9d.bundle.js → 104.a1b5b2e868eb117b48ac.bundle.js} +1 -1
- package/dist/{104.ddeb2cb5758d1ed52b33.bundle.js → 105.0121f779d777d869ce4e.bundle.js} +1 -1
- package/dist/{105.e8302c421c3d7b516b4c.bundle.js → 106.55cf93dab531f6120a6e.bundle.js} +1 -1
- package/dist/{106.00a983e1594a051a5fe7.bundle.js → 107.c0d5d1b4a12c8a01745e.bundle.js} +1 -1
- package/dist/{107.7b548755171f42f06352.bundle.js → 108.9ca7ca14da8593ef91ba.bundle.js} +1 -1
- package/dist/{108.160515780d319edefb5c.bundle.js → 109.1c877e801581e1f60bf8.bundle.js} +1 -1
- package/dist/11.cc21bcbc41edfd865a48.bundle.js +1 -0
- package/dist/{109.1da75239f8e2a5d63b23.bundle.js → 110.3740001dabee596bbf71.bundle.js} +1 -1
- package/dist/{110.780a31b32e116f49a75f.bundle.js → 111.f0ae6a0107628aaeef02.bundle.js} +1 -1
- package/dist/{111.7e3057275034cb5dc5a6.bundle.js → 112.ed43d212e04e37907453.bundle.js} +1 -1
- package/dist/{112.22145690dd697aa9275d.bundle.js → 113.0b94d0e087a818cf9d4c.bundle.js} +1 -1
- package/dist/{113.c135232a9177d596406c.bundle.js → 114.88b6c5ce916e956cc2e5.bundle.js} +1 -1
- package/dist/{114.b2c0df64a560a8dd5ae0.bundle.js → 115.3a159adc54ebc83243cd.bundle.js} +1 -1
- package/dist/{115.543de06ecb5553155522.bundle.js → 116.b75b69c7fe15583deb8a.bundle.js} +1 -1
- package/dist/{116.79b9b3abc0b03e8b7924.bundle.js → 117.a3706ff54783c451de62.bundle.js} +1 -1
- package/dist/{117.ae87c77380fb7660d9ec.bundle.js → 118.e93de50f0149eb2931a4.bundle.js} +1 -1
- package/dist/{118.6756956bb51b3350690d.bundle.js → 119.e5733c827c71ba3106fc.bundle.js} +1 -1
- package/dist/12.5d075599ef637022c23c.bundle.js +1 -0
- package/dist/{119.c8e77171125b6497990a.bundle.js → 120.346f38c1b8fa9bb399aa.bundle.js} +1 -1
- package/dist/{120.1484bac063921edb7a2c.bundle.js → 121.0a271d2bfea3fc050225.bundle.js} +1 -1
- package/dist/{121.6a0ffc9dfc3ea14fd0d3.bundle.js → 122.6812fc0e3f6f60eec16d.bundle.js} +1 -1
- package/dist/{122.13363b4c4f89776fa1b5.bundle.js → 123.31d75efb53b4049f1b67.bundle.js} +1 -1
- package/dist/{123.616625d0908d7e6eab3d.bundle.js → 124.2e17f7bde4612462c957.bundle.js} +1 -1
- package/dist/{124.924dce24aad641d1dd23.bundle.js → 125.f74277a2a44949ca0b4c.bundle.js} +1 -1
- package/dist/{125.d86cff2a5cc679dc20d9.bundle.js → 126.63677abd348f7f462e66.bundle.js} +1 -1
- package/dist/{126.ff5a04a468a8a8d1a99a.bundle.js → 127.41cba8bf8e30ac29ab7e.bundle.js} +1 -1
- package/dist/{127.954cf8032872deba10e6.bundle.js → 128.2ec10c750cf6d0f151f4.bundle.js} +1 -1
- package/dist/{128.639a495883f611c4691e.bundle.js → 129.7b10d7005f33d6187a4b.bundle.js} +1 -1
- package/dist/{13.c904bbb863125c4ff6cc.bundle.js → 13.c1f8c588c7fc852bbe1d.bundle.js} +1 -1
- package/dist/{129.5d11264c418527e53342.bundle.js → 130.6eaf3aa6daac5859f7d7.bundle.js} +1 -1
- package/dist/{130.82fe31a14b953086bb45.bundle.js → 131.45ae15011beefb1ec398.bundle.js} +1 -1
- package/dist/{131.e4be75b25c9eb85db5a8.bundle.js → 132.f675fe2fd349527933b3.bundle.js} +1 -1
- package/dist/{132.364bb39217e31f46480f.bundle.js → 133.1efc1419d69e84db2b4b.bundle.js} +1 -1
- package/dist/{133.df86fdb8d83ca7237793.bundle.js → 134.01ec95b828ad09fcb1a9.bundle.js} +1 -1
- package/dist/{134.33804d658ebadcbc3b55.bundle.js → 135.7d15f409bdb1e8630623.bundle.js} +1 -1
- package/dist/{135.797fc168b7a948df2ccb.bundle.js → 136.1ff57ae90902aff352e4.bundle.js} +1 -1
- package/dist/{136.5ca50393ed4761535bfe.bundle.js → 137.044a888e82e4ac13cbed.bundle.js} +1 -1
- package/dist/{137.d8b48c06ecd279c12ca7.bundle.js → 138.f910e9be040100f08326.bundle.js} +1 -1
- package/dist/{138.3bb6b7be471eb2d04c6e.bundle.js → 139.7e7adea811551510d1d4.bundle.js} +1 -1
- package/dist/{14.d0ab3c83926b616e7354.bundle.js → 14.d0c7642a1a7041f50137.bundle.js} +1 -1
- package/dist/{139.ea151aec614a76870451.bundle.js → 140.3e12b1909d34b2b23d66.bundle.js} +1 -1
- package/dist/{140.6583cf41ab8e891ebbb6.bundle.js → 141.022a52911a1fba3e9273.bundle.js} +1 -1
- package/dist/{141.af39fc3a6dc1dafdb5ab.bundle.js → 142.9b8ed6c5c8e7a9f5de47.bundle.js} +1 -1
- package/dist/{142.c2392a48e4d3a2a16866.bundle.js → 143.81cfe46fdf48ae310839.bundle.js} +1 -1
- package/dist/{143.e4511e1698aca68814e3.bundle.js → 144.fbf7737acce465cf274d.bundle.js} +1 -1
- package/dist/{144.f58114954e257cb77bde.bundle.js → 145.72459692d3c167aee55e.bundle.js} +1 -1
- package/dist/{145.d558ac05737ca5ef00a4.bundle.js → 146.e435b2bdae83a56537f6.bundle.js} +1 -1
- package/dist/{146.de12b58d856c54decc0b.bundle.js → 147.f4e3eb741619b49bcc80.bundle.js} +1 -1
- package/dist/{147.6faf4e13462207010d38.bundle.js → 148.44ea646c66b6b0e8f996.bundle.js} +1 -1
- package/dist/{148.25167c5ae125b23811c9.bundle.js → 149.0c8405d83935b512abfb.bundle.js} +1 -1
- package/dist/{15.8ab8b6f8c611ec1dfddc.bundle.js → 15.79a075c0e170b3066b07.bundle.js} +1 -1
- package/dist/{149.9629d0dfe4f62aa15bba.bundle.js → 150.fb80c0c92d602a623c36.bundle.js} +1 -1
- package/dist/{150.c8bf724fbe76d0e0696d.bundle.js → 151.0b79280f2a959473ff16.bundle.js} +1 -1
- package/dist/{151.4970e08b91e9849ae5e3.bundle.js → 152.410c52dad18a5a3961f6.bundle.js} +1 -1
- package/dist/{152.8a1ea0a8d04e0873f67b.bundle.js → 153.cb649018e1db6b8c4f1c.bundle.js} +1 -1
- package/dist/{153.64e4e15ca8abeb5268e3.bundle.js → 154.a96812700b8b52d10e57.bundle.js} +1 -1
- package/dist/160.1e607beff0e4f8e426cf.bundle.js +1 -0
- package/dist/{161.228b61b39d936f8fca31.bundle.js → 161.2a41444b94b2db7dd638.bundle.js} +1 -1
- package/dist/{163.716d49313f3e196497dd.bundle.js → 163.9c8a1cb6d8692b5347a4.bundle.js} +1 -1
- package/dist/{166.31241e54608319e510e2.bundle.js → 166.c08c74fdaa7965adecbc.bundle.js} +1 -1
- package/dist/{17.019de109eebe6b7563fe.bundle.js → 17.e163dfcc19d77667295a.bundle.js} +1 -1
- package/dist/{173.425381e5433b54da911c.bundle.js → 173.4fb35b26d3b118d10626.bundle.js} +1 -1
- package/dist/{175.b94e42f1b1b7479f46ad.bundle.js → 175.ec71d7bdff18c571a78e.bundle.js} +1 -1
- package/dist/{179.63500ae70b7715467e79.bundle.js → 179.be20755cb9848e72b319.bundle.js} +1 -1
- package/dist/{18.6722328814b9fcee2f6e.bundle.js → 18.b2d04af2d60cc37a5ebe.bundle.js} +1 -1
- package/dist/{180.a91ac4fc484a71bd5ed8.bundle.js → 180.a82dac6c561436705ae7.bundle.js} +1 -1
- package/dist/{19.a0af0ec7c0e4eb7ab20c.bundle.js → 19.407c7beb11ea143e1f9e.bundle.js} +1 -1
- package/dist/{190.431c135250df34322375.bundle.js → 190.4969eb91b83aaa7cd263.bundle.js} +1 -1
- package/dist/{2.354e410d4fb45ab44420.bundle.js → 2.842d68f9e1fac66644aa.bundle.js} +1 -1
- package/dist/{20.b2e6e5248ede44286621.bundle.js → 20.d9c0a2300fac55616a64.bundle.js} +1 -1
- package/dist/{21.6de69abd52835f511f89.bundle.js → 21.db9a15c2ce6264384788.bundle.js} +1 -1
- package/dist/{22.035be7329fd099903c2b.bundle.js → 22.1408d06830b72a459d6a.bundle.js} +1 -1
- package/dist/{23.f499db643c1d187eefe1.bundle.js → 23.e6835ca70f33d8babcca.bundle.js} +1 -1
- package/dist/231.909faa919088245e9988.bundle.js +1 -1
- package/dist/{24.057be6f617f4e3f35691.bundle.js → 24.8fbf33e98e7c306e8ea8.bundle.js} +1 -1
- package/dist/{242.c2143bfd879222a393dc.bundle.js → 242.2aceac5a4d9f377f3553.bundle.js} +1 -1
- package/dist/{243.ed8bd30b9501bcb22fd3.bundle.js → 243.35701551c53ddd41d3e2.bundle.js} +1 -1
- package/dist/{248.35714eeadd519aa9dfcf.bundle.js → 248.b1fb4b93555c3f69bc46.bundle.js} +1 -1
- package/dist/{25.25d1fdcb1cbeafd51681.bundle.js → 25.6f945a6e26e6daa27763.bundle.js} +1 -1
- package/dist/{258.af0b3d78c0f9b4c4b483.bundle.js → 258.fc7172db37e5b0ca1279.bundle.js} +1 -1
- package/dist/{26.3aa8a6a7f10039840838.bundle.js → 26.76be6828c642933221c3.bundle.js} +1 -1
- package/dist/{264.c6d038d027b8f5579b62.bundle.js → 264.8e759dd1686c37c32b07.bundle.js} +1 -1
- package/dist/{287.4f8a30c6c6c72ebafedb.bundle.js → 287.a750fc40fa90418f3d6d.bundle.js} +1 -1
- package/dist/{29.33b92413c2f0a708b821.bundle.js → 29.5ec5948f2e30819e6dc8.bundle.js} +1 -1
- package/dist/{3.77b848d2eb7fdb2523b0.bundle.js → 3.33dccf88ff294b9ba7cf.bundle.js} +1 -1
- package/dist/{30.f818533689767fa3e2ca.bundle.js → 30.a60e3c2ac0de3b37e185.bundle.js} +1 -1
- package/dist/31.7452fe0f096c31a9a1f1.bundle.js +2 -0
- package/dist/{312.0e853d11527c8a2fc070.bundle.js → 312.c03a255fbafa0d4335b7.bundle.js} +1 -1
- package/dist/{32.e14fc108d80a26925f88.bundle.js → 32.14b30077e63f4b1b729a.bundle.js} +1 -1
- package/dist/{322.6524ee61a5bbcdc82bad.bundle.js → 322.34c7ffacecadc1dff436.bundle.js} +1 -1
- package/dist/{33.fec387c3be8b00368957.bundle.js → 33.da597e608351b4872771.bundle.js} +1 -1
- package/dist/{332.2db32da5af5ac8856a0c.bundle.js → 332.eb8ac0b7d982535eb48b.bundle.js} +1 -1
- package/dist/{334.2970372fd546db2cd792.bundle.js → 334.85e45ef3709738a8c800.bundle.js} +1 -1
- package/dist/{335.b445bf889c4bfaa20ded.bundle.js → 335.5a6a3768096f7e02a5a3.bundle.js} +1 -1
- package/dist/{34.61223a86d6cb125fc2c8.bundle.js → 34.51476f9015bca2457953.bundle.js} +1 -1
- package/dist/{348.a113e5a47d253a04ee81.bundle.js → 348.da14c1b3111036fe2e02.bundle.js} +1 -1
- package/dist/{35.1b457bfdeea08b897d25.bundle.js → 35.dec1963ba9e2a21fdbec.bundle.js} +1 -1
- package/dist/{353.8dbc0f6a10d578ed65d8.bundle.js → 353.5ca0dd499b0e4ec5a228.bundle.js} +1 -1
- package/dist/{36.54cce0e26c592b832258.bundle.js → 36.5bdd80f32426b30c458d.bundle.js} +1 -1
- package/dist/{363.7a3d9b6e636d736c57b1.bundle.js → 363.fe7a10fbfe3ad1a31725.bundle.js} +1 -1
- package/dist/{37.be47535106d4b3dbc077.bundle.js → 37.3e74a6a07640c4d8db96.bundle.js} +1 -1
- package/dist/{38.79bf8cac11760d2e69be.bundle.js → 38.8819c36a5204129f3dbc.bundle.js} +1 -1
- package/dist/{381.aea7ee474ca60accc01b.bundle.js → 381.7705312c8cedfe733a17.bundle.js} +1 -1
- package/dist/{382.c69f3647cc33ace74db4.bundle.js → 382.3b6533fe63bb7b89d2a6.bundle.js} +1 -1
- package/dist/{385.559499835625e3e755d3.bundle.js → 385.93498ab442f8c50fadbc.bundle.js} +1 -1
- package/dist/{39.051d67965709d49db0ab.bundle.js → 39.8be9b0247c3518abbf8b.bundle.js} +1 -1
- package/dist/{392.96254712f6158ac44044.bundle.js → 392.fd509c86891257f9777f.bundle.js} +1 -1
- package/dist/399.0a3aec07fe2383cc35ba.bundle.js +1 -0
- package/dist/{40.9208517ef50b6f8024c6.bundle.js → 40.2747ad0262dc133c782c.bundle.js} +1 -1
- package/dist/404.163e08fb2eeea2362f8a.bundle.js +1 -0
- package/dist/{41.0d8779a7af2eb26cf157.bundle.js → 41.c6545eb0ce13e63738d2.bundle.js} +1 -1
- package/dist/410.b74d59055b7cf830abe5.bundle.js +1 -0
- package/dist/416.68f6286f80654cdbe4e4.bundle.js +1 -1
- package/dist/417.70adf0a6f0571c394764.bundle.js +1 -1
- package/dist/42.baaa159c3b1e81422600.bundle.js +1 -0
- package/dist/423.6edb13ec0cf08388c947.bundle.js +1 -1
- package/dist/424.725b821051516e73783a.bundle.js +1 -1
- package/dist/425.03fcf969da1a4e92fec3.bundle.js +1 -1
- package/dist/426.aa6924f6f1192d037009.bundle.js +1 -1
- package/dist/427.5c7b72141707b841e8a3.bundle.js +1 -1
- package/dist/428.0d471ce7c68654947c04.bundle.js +1 -1
- package/dist/{43.96e8540045f061114280.bundle.js → 43.46cf7aa71531400f5ce3.bundle.js} +1 -1
- package/dist/{44.45a26f697588279fbc60.bundle.js → 44.ec337831549cfeaab224.bundle.js} +1 -1
- package/dist/443.969280af4067a22d1a8b.bundle.js +1 -1
- package/dist/444.a5971579184b091ed392.bundle.js +1 -1
- package/dist/445.2b20cb9e68a11879f6c4.bundle.js +1 -1
- package/dist/446.fe3cf3d6e288c8c4444b.bundle.js +1 -1
- package/dist/447.d1d078921f6f28e2fa38.bundle.js +1 -1
- package/dist/448.d6c9bed6d99b8b23619f.bundle.js +1 -1
- package/dist/{45.8c13732f2859713c90c4.bundle.js → 45.e79cfcb4606177c83d29.bundle.js} +1 -1
- package/dist/{46.f04ca39b752caadd9714.bundle.js → 46.db4b433aebdbb6965f9d.bundle.js} +1 -1
- package/dist/468.8e259940c62a68ef3055.bundle.js +1 -1
- package/dist/{47.5773e1581c385ba39851.bundle.js → 47.89ad9da6a07545789631.bundle.js} +1 -1
- package/dist/{48.06454bbe08df5938e67a.bundle.js → 48.8726b8de8055297cec7c.bundle.js} +1 -1
- package/dist/480.379bf3b338e0a3224a1f.bundle.js +1 -1
- package/dist/481.0387239b174f787e70ea.bundle.js +1 -1
- package/dist/483.c81275cb05dd78ce389f.bundle.js +1 -1
- package/dist/484.25a82c267c3a705d2a65.bundle.js +1 -1
- package/dist/485.91cbfbfd37eccde375c9.bundle.js +1 -1
- package/dist/488.a69dcce23066c0dafdf7.bundle.js +1 -1
- package/dist/489.a976085b601cccf438d4.bundle.js +1 -1
- package/dist/49.ec8921fc54aaae50ca52.bundle.js +1 -0
- package/dist/490.d3e0f3e499b5a24f6808.bundle.js +1 -1
- package/dist/491.62c185868f9d99dd5713.bundle.js +1 -1
- package/dist/5.163df03f5440d982d268.bundle.js +2 -0
- package/dist/50.4886e820614f9dadb147.bundle.js +1 -0
- package/dist/{51.676e3d8a0e328ad836ed.bundle.js → 51.014f0ee2c2a7ff9ce3ff.bundle.js} +1 -1
- package/dist/{52.cfdfa7095a554e758861.bundle.js → 52.85c3ec8030d92959e556.bundle.js} +1 -1
- package/dist/{54.c54ba6791e3926ebb553.bundle.js → 54.f1ed20f259011ef082b2.bundle.js} +1 -1
- package/dist/{55.fb160be660f713a3d6a1.bundle.js → 55.3262334c9d8a63b347ab.bundle.js} +1 -1
- package/dist/{56.a97521bde50d8e02ab1d.bundle.js → 56.f9d140f83b5462444e57.bundle.js} +1 -1
- package/dist/{57.ec17cacc850ae1904aeb.bundle.js → 57.fcd6814bee867f2345e7.bundle.js} +1 -1
- package/dist/{58.0c8ce6607800bf7ff0ac.bundle.js → 58.914f27e1a230e164d29b.bundle.js} +1 -1
- package/dist/{59.47183b72936629232e7f.bundle.js → 59.a7f0559fb46565813cf0.bundle.js} +1 -1
- package/dist/{6.33f8c6c7e324640238de.bundle.js → 6.0bfc114054ad3b233305.bundle.js} +1 -1
- package/dist/{60.046829a1be3f196bef1c.bundle.js → 60.6c9b4c93b093288c7649.bundle.js} +1 -1
- package/dist/{61.f625328fcc0d35aa07a4.bundle.js → 61.424616e10051d7cdbc93.bundle.js} +1 -1
- package/dist/{62.842d67b8758eed682f2c.bundle.js → 62.c335ec2480066d4422a9.bundle.js} +1 -1
- package/dist/63.e55beded50a778a97299.bundle.js +1 -0
- package/dist/{63.c3630cbfa8f6884a417d.bundle.js → 64.7a62b6f780380840f244.bundle.js} +1 -1
- package/dist/{64.91ba76d42905a3d9afbe.bundle.js → 65.8d5f1b79d228176db399.bundle.js} +1 -1
- package/dist/{65.198a4d69873309746593.bundle.js → 66.75d04ae3be915ecd5afe.bundle.js} +1 -1
- package/dist/{66.b7385a74d4f3287237ba.bundle.js → 67.dbc1e4410498f4ceae46.bundle.js} +1 -1
- package/dist/{67.3488f2543baf36d3c494.bundle.js → 68.aeae93de29be6d346977.bundle.js} +1 -1
- package/dist/{68.4e51b896e74fbd145701.bundle.js → 69.3024e70e93884b7138eb.bundle.js} +1 -1
- package/dist/{69.a2244fec1e7110f5aeec.bundle.js → 70.f982fe4a8c44d2ef72a6.bundle.js} +1 -1
- package/dist/{70.0b30be583854923aadc1.bundle.js → 71.8ffc1c2036362cf40526.bundle.js} +1 -1
- package/dist/{71.24d20933fd9614cf27af.bundle.js → 72.a47d3fdd3239098987a8.bundle.js} +1 -1
- package/dist/{72.5d2f018d17e995bc6455.bundle.js → 73.1d8cf985f584d6a29f1b.bundle.js} +1 -1
- package/dist/{73.3f407c010a17e4a109b9.bundle.js → 74.70762fed64c1503da986.bundle.js} +1 -1
- package/dist/{74.1d496e6a8dc0abfcbe04.bundle.js → 75.e464e055d7b66bf2fc93.bundle.js} +1 -1
- package/dist/76.fc1058890354a7ee6abe.bundle.js +1 -0
- package/dist/{76.9ca923a9265537ac7be4.bundle.js → 77.bf8560beda63d53b83c2.bundle.js} +1 -1
- package/dist/{77.f53fbf119a8b73148a25.bundle.js → 78.eecf35e4f25434df649e.bundle.js} +1 -1
- package/dist/{78.933cb90bda144ed95290.bundle.js → 79.074403a4200f684a0945.bundle.js} +1 -1
- package/dist/{8.3cf83e59a56858648ad9.bundle.js → 8.e3c3c3676785a030527d.bundle.js} +1 -1
- package/dist/{79.6e0224e241895965a9d3.bundle.js → 80.07a80c5fe69c039db15d.bundle.js} +1 -1
- package/dist/{80.f7d6d3108e6d18b96cd7.bundle.js → 81.234a3c0b3136c4a55730.bundle.js} +1 -1
- package/dist/{81.b79dd505cb205eb7eff0.bundle.js → 82.3e71f24921a2283967c3.bundle.js} +1 -1
- package/dist/{82.cd869e55416407b078e0.bundle.js → 83.cf2e3938d315b0470906.bundle.js} +1 -1
- package/dist/{83.b085735389d935aa6f42.bundle.js → 84.c1e18d720b266e35aec2.bundle.js} +1 -1
- package/dist/{84.7f9377fc605aff3f0d48.bundle.js → 85.7dc677e973a2dfcddfea.bundle.js} +1 -1
- package/dist/86.adb4b3504c93eb726fcd.bundle.js +1 -0
- package/dist/{85.8a74811c261c635235f7.bundle.js → 87.ddab9647e5ff9f432212.bundle.js} +1 -1
- package/dist/{86.c491436398aef8142dc3.bundle.js → 88.e04e9207f68a222a8a64.bundle.js} +1 -1
- package/dist/{87.cf9f719c3dd04bc64102.bundle.js → 89.51eac4bd9aa2668b96fb.bundle.js} +1 -1
- package/dist/{88.7d844f12b9d68b0be1d7.bundle.js → 90.ac1501d736615a2bc7f6.bundle.js} +1 -1
- package/dist/{89.2c1bcd6a70ba8769b6b9.bundle.js → 91.4c80dbc7c0af8d2d07f5.bundle.js} +1 -1
- package/dist/{90.b93a0ecac4f5bcfeed0f.bundle.js → 92.69c6a0625b9e94d1a9df.bundle.js} +1 -1
- package/dist/{91.44e1598ed46ac2197521.bundle.js → 93.4e0f1104ab14c3dfae71.bundle.js} +1 -1
- package/dist/{92.e81e734ef32fe8b56d78.bundle.js → 94.62f609daaeaf1e0b9f63.bundle.js} +1 -1
- package/dist/{93.6486890affff9e0f6ca8.bundle.js → 95.2c784e759051491850fb.bundle.js} +1 -1
- package/dist/{94.13212f8f2d50c66cb482.bundle.js → 96.22c66e3781a4afc22d1a.bundle.js} +1 -1
- package/dist/{95.6fe91e68bef2c41f2645.bundle.js → 97.856052734f379717d4cc.bundle.js} +1 -1
- package/dist/{96.4bd66eace72867bf76e1.bundle.js → 98.be86330473bf291530fa.bundle.js} +1 -1
- package/dist/{97.4cfafc4c6cedd50e973e.bundle.js → 99.6af4734887301734ebbe.bundle.js} +1 -1
- package/dist/{bundle.e7ff3a088b4fc9e2ec9e.bundle.js → bundle.31413cc7737cbad7f78d.bundle.js} +19 -19
- package/dist/css/autocomplete.css +5 -0
- package/dist/css/clustermanagement.css +10 -7
- package/dist/css/rdf-class-hierarchy.css +1 -1
- package/dist/i18n/locale-en.json +11 -1
- package/dist/i18n/locale-fr.json +11 -1
- package/dist/index.html +3 -3
- package/dist/js/angular/autocomplete/templates/modal/add-label.html +5 -2
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +16 -7
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
- package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
- package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
- package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
- package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
- package/dist/js/angular/security/templates/user.html +2 -2
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/license-checker.json +4 -4
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +9 -11
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +12 -12
- package/package.json +2 -2
- package/dist/102.2b1c8399187ccefe5a4f.bundle.js +0 -1
- package/dist/11.7343b4e08a786f0a1eab.bundle.js +0 -1
- package/dist/12.3669f82ad6489ffeb12b.bundle.js +0 -1
- package/dist/154.89f16e758f1caaae814c.bundle.js +0 -1
- package/dist/160.90a42dd6a992307c602d.bundle.js +0 -1
- package/dist/31.721783158dcfdee0b882.bundle.js +0 -2
- package/dist/399.b13be7ef0c258335c762.bundle.js +0 -1
- package/dist/404.00ef41fe988cd9161359.bundle.js +0 -1
- package/dist/410.a86d6bdafde1b951e239.bundle.js +0 -1
- package/dist/42.0147219d61d3814c266c.bundle.js +0 -1
- package/dist/49.6b885bb67696745b1634.bundle.js +0 -1
- package/dist/5.045fbb4da4ea6659e905.bundle.js +0 -2
- package/dist/50.ee3ed147b2bc2382a0a2.bundle.js +0 -1
- package/dist/75.0e43af19262a978d6aab.bundle.js +0 -1
- package/dist/98.6586c3413d178a0cab8c.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[23,126,278,279,280,281,282],{188:function(e,t,r){"use strict";r.r(t),r.d(t,"JdbcDriverType",(function(){return o}));var o={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}},346:function(e,t,r){"use strict";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 n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.r(t),r.d(t,"OntopConnectionInformation",(function(){return c}));var c=i((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";s(this,e),this.driverType=t,this.hostName="",this.port=void 0,this.databaseName="",this.username="",this.password="",this.driverClass="",this.url="",this.urlUserInput=""}))},347:function(e,t,r){"use strict";r.r(t),r.d(t,"OntopDriverData",(function(){return s}));var o=r(188);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function a(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}var s=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""},r=[{key:"isGenericDriver",value:function(e){return e===o.JdbcDriverType.GENERIC}},{key:"isSnowflakeDriver",value:function(e){return e===o.JdbcDriverType.SNOWFLAKE}}],(t=null)&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},348:function(e,t,r){"use strict";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 n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.r(t),r.d(t,"OntopFileInfo",(function(){return c}));var c=i((function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s(this,e),this.type=t,this.fileName="",this.loading=!1,this.required=r}))},349:function(e,t,r){"use strict";r.r(t),r.d(t,"OntopFileType",(function(){return o}));var o={OBDA:"obdaFile",OWL:"owlFile",CONSTRAINT:"constraintFile",LENSES:"lensesFile",DB_METADATA:"dbMetadataFile"}},350:function(e,t,r){"use strict";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 n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t,r){return t=l(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,p()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function c(e){var t="function"==typeof Map?new Map:void 0;return(c=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,e)})(e)}function u(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var n=new(e.bind.apply(e,o));return r&&f(n,r.prototype),n}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.r(t),r.d(t,"OntopRepositoryError",(function(){return m}));var m=function(e){function t(){return a(this,t),s(this,t,arguments)}return function(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&&f(e,t)}(t,e),r=t,o&&n(r.prototype,o),i&&n(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,i}(c(Error))},379:function(e,t,r){"use strict";r.r(t);var o=r(248),n=r(349),i=r(346),a=r(348),s=r(350),c=r(347),u=r(188);function p(e,t,r,p,f){return{restrict:"E",scope:!1,templateUrl:"js/angular/repositories/templates/ontop-repo.html",link:function(l){l.isGenericDriver=!0,l.defaultUrlTemplate="jdbc:database://localhost:port/database_name",l.ontopProperiesLink="https://ontop-vkg.org/guide/advanced/configuration.html",l.ontopFileType=n.OntopFileType,l.selectedDriver=new c.OntopDriverData,l.supportedDriversData=[],l.formData={connectionInformation:new i.OntopConnectionInformation,settings:{additionalProperties:"",ontopFiles:[]}},l.selectDriver=function(e){l.selectedDriver=l.supportedDriversData.find((function(t){return t.driverType===e})),l.isGenericDriver=c.OntopDriverData.isGenericDriver(l.selectedDriver.driverType),l.editRepoPage&&l.currentOntopRepoInfo&&l.currentOntopRepoInfo.connectionInformation.driverType===e?l.formData=_.cloneDeep(l.currentOntopRepoInfo):(P(),l.formData.connectionInformation.driverType=l.selectedDriver.driverType),l.formData.connectionInformation.driverClass=l.selectedDriver.driverClass,l.updateUrl()},l.getOntopFileInfo=function(e){return l.formData.settings.ontopFiles.find((function(t){return e===t.type}))},l.getHostNameLabel=function(){var e=c.OntopDriverData.isSnowflakeDriver(l.selectedDriver.driverType)?"ontop.repo.database.snowflake.host_name":"ontop.repo.database.host_name";return f.instant(e)+"*"},l.getDatabaseNameLabel=function(){var e="";switch(l.selectedDriver.driverType){case u.JdbcDriverType.SNOWFLAKE:e="ontop.repo.database.warehouse.database_name";break;case u.JdbcDriverType.DATABRICKS:e="ontop.repo.database.http_path.database_name";break;case u.JdbcDriverType.DREMIO:e="ontop.repo.database.schema.database_name";break;default:e="ontop.repo.database.database_name"}return f.instant(e)},l.updateUrl=function(){var e=d()||"";l.formData.connectionInformation.url=e+l.formData.connectionInformation.urlUserInput},l.isTestConnectionDisabled=function(){var e=l.formData.connectionInformation,t=l.selectedDriver;return!(e.driverClass&&e.url&&(!t.portRequired||e.port))||!(c.OntopDriverData.isGenericDriver(t.driverType)||e.hostName&&e.databaseName)},l.testConnection=function(){g().then(S).then(O).then(w).then(I).then(D).then((function(){return t.validateOntopPropertiesConnection(l.repositoryInfo)})).then((function(){return r.success(f.instant("ontop.repo.successful.connection.msg"))})).catch((function(e){e instanceof s.OntopRepositoryError?r.error(e.message):h(f.instant("ontop.repo.failed.to.connect"),e)}))},l.editFile=function(r){var n=l.repositoryInfo.params[r.type].label,i=f.instant("update.file.edit.content.header",{fileName:n});e.open({templateUrl:"js/angular/templates/modal/editRepoFile.html",controller:"EditRepositoryFileCtrl",windowClass:"update-ontop-repo-dialog",resolve:{file:function(){var e=l.repositoryInfo.params[r.type];return e?e.value:""},dialogTitle:function(){return i}}}).result.then((function(e){t.updateRepositoryFileContent(e.fileLocation,e.content,l.repositoryInfo.location).success((function(e){r.fileName=Object(o.getFileName)(e.fileLocation),l.repositoryInfo.params[r.type].value=e.fileLocation})).error((function(e){h(f.instant("common.error"),e)}))}))},l.uploadOntopFile=function(e,t){if(e&&e.length){var o=e[0];t.loading=!0;var n={url:"rest/repositories/file/upload",data:{file:o,location:l.repositoryInfo.location}};p.upload(n).success((function(e){e.success?(t.fileName=o.name,l.repositoryInfo.params[t.type].value=e.fileLocation):r.error(e.errorMessage)})).error((function(e){h(f.instant("common.error"),e),l.uploadFile=""})).finally((function(){t.loading=!1}))}},l.updateOntopRepo=function(){var e=l.editRepoPage?l.editRepository:l.createRepo;T().then(g).then(S).then(O).then(w).then(I).then(N).then(D).then(e).catch((function(e){e instanceof s.OntopRepositoryError?r.error(e.message):console.log(e)}))},l.onKeyDownInUrlInput=function(e){var t=e.keyCode;if(37!==t&&39!==t&&36!==t&&35!==t){var r=d();if(r){var o=e.ctrlKey||e.metaKey;if(!(o&&65===t||o&&67===t)){var n=e.target.selectionStart;8===t&&n-1<r.length&&(e.preventDefault(),e.stopPropagation()),n<r.length&&(e.preventDefault(),e.stopPropagation())}}}},l.onKeyUpInUrlInput=function(){m()};var m=function(){var e=d();e&&l.formData.connectionInformation.url.startsWith(e)?l.formData.connectionInformation.urlUserInput=l.formData.connectionInformation.url.substring(e.length):l.formData.connectionInformation.urlUserInput=l.formData.connectionInformation.url},d=function(){return c.OntopDriverData.isSnowflakeDriver(l.selectedDriver.driverType)?v():y()},v=function(){var e=l.selectedDriver.urlTemplate,t=l.formData.connectionInformation;return t.hostName&&(e=e.replace("{identifier}",t.hostName)),t.port&&(e=e.replace(".snowflakecomputing.com/?",".snowflakecomputing.com:".concat(t.port,"/?"))),t.databaseName&&(e=e.replace("{database}",t.databaseName)),e},y=function(){var e=l.selectedDriver.urlTemplate,t=l.formData.connectionInformation;return t.hostName&&(e=t.port?e.replace("{hostport}","".concat(t.hostName,":").concat(t.port)):e.replace("{hostport}","".concat(t.hostName))),t.databaseName&&(e=e.replace("{database}",t.databaseName)),e},b=function(e){l.formData.settings.ontopFiles.forEach((function(t){t.loading=e}))},D=function(){b(!0);var e=l.formData.connectionInformation,r={hostName:e.hostName,port:e.port,databaseName:e.databaseName,userName:e.username,password:e.password,driverClass:e.driverClass,url:e.url,additionalProperties:l.formData.settings.additionalProperties};return t.updatePropertiesFile(l.repositoryInfo.params.propertiesFile.value,r,l.repositoryInfo.location,l.selectedDriver.driverType).success((function(e){l.repositoryInfo.params.propertiesFile.value=e.fileLocation})).error((function(e){h(f.instant("common.error"),e)})).finally((function(){return b(!1)}))},h=function(e,t){var o=getError(t);r.error(o,e)},g=function(){return c.OntopDriverData.isGenericDriver(l.selectedDriver.driverType)||l.formData.connectionInformation.hostName?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.host_name")})))},O=function(){return c.OntopDriverData.isGenericDriver(l.selectedDriver.driverType)||l.formData.connectionInformation.databaseName?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.database_name")})))},w=function(){return l.formData.connectionInformation.driverClass?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.driver_class")})))},I=function(){return l.formData.connectionInformation.url?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.url")})))},T=function(){return l.repositoryInfo.id?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("empty.repoid.warning")))},N=function(){return l.getOntopFileInfo(n.OntopFileType.OBDA).fileName?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("ontop.repo.missing.required.file",{fileName:l.repositoryInfo.params[n.OntopFileType.OBDA].label})))},S=function(){return l.selectedDriver.portRequired&&!l.formData.connectionInformation.port?Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.port")}))):Promise.resolve()},P=function(){l.formData={connectionInformation:new i.OntopConnectionInformation,settings:{additionalProperties:"",ontopFiles:[]}},Object.values(n.OntopFileType).forEach((function(e){var t=new a.OntopFileInfo(e);l.formData.settings.ontopFiles.push(t)})),l.getOntopFileInfo(n.OntopFileType.OBDA).required=!0};t.getSupportedDriversData(l.repositoryInfo).success((function(e){l.supportedDriversData=e})).error((function(e){h(f.instant("common.error"),e)})).then((function(){l.editRepoPage?(b(!0),t.loadPropertiesFile(l.repositoryInfo.params.propertiesFile.value,l.repositoryInfo.location,l.selectedDriver.driverType).success((function(e){var t=l.supportedDriversData.find((function(t){return t.driverClass===e.driverClass}));t&&e.hostName||(t=l.supportedDriversData.find((function(e){return c.OntopDriverData.isGenericDriver(e.driverType)}))),l.selectDriver(t.driverType),l.formData.connectionInformation.driverType=t.driverType,l.formData.connectionInformation.driverClass=e.driverClass,l.formData.connectionInformation.password=e.password,l.formData.connectionInformation.username=e.userName,l.formData.connectionInformation.url=e.url,l.formData.settings.additionalProperties=e.additionalProperties,c.OntopDriverData.isGenericDriver(t.driverType)||(l.formData.connectionInformation.hostName=e.hostName,l.formData.connectionInformation.databaseName=e.databaseName,l.formData.connectionInformation.port=e.port?parseInt(e.port,10):void 0),m(),l.updateUrl(),Object.values(n.OntopFileType).forEach((function(e){var t=l.repositoryInfo.params[e],r=l.getOntopFileInfo(e);t&&(r.fileName=Object(o.getFileName)(t.value))})),l.currentOntopRepoInfo=_.cloneDeep(l.formData)})).error((function(e){h(f.instant("common.error"),e)})).finally((function(){b(!1)}))):l.selectDriver(u.JdbcDriverType.GENERIC)}))}}}angular.module("graphdb.framework.repositories.ontop-repo.directive",[]).directive("ontopRepo",p),p.$inject=["$uibModal","RepositoriesRestService","toastr","Upload","$translate"]}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[23,127,278,279,280,281,282],{188:function(e,t,r){"use strict";r.r(t),r.d(t,"JdbcDriverType",(function(){return o}));var o={GENERIC:"generic",MY_SQL:"mySQL",POSTGRESS:"postgreSQL",ORACLE:"oracle",MS_SQL:"msSQL",DB2:"DB2",DREMIO:"dremio",DATABRICKS:"databricks",SNOWFLAKE:"snowflake"}},346:function(e,t,r){"use strict";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 n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.r(t),r.d(t,"OntopConnectionInformation",(function(){return c}));var c=i((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";s(this,e),this.driverType=t,this.hostName="",this.port=void 0,this.databaseName="",this.username="",this.password="",this.driverClass="",this.url="",this.urlUserInput=""}))},347:function(e,t,r){"use strict";r.r(t),r.d(t,"OntopDriverData",(function(){return s}));var o=r(188);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function a(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}var s=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.classAvailable=!1,this.downloadDriverUrl="",this.driverClass="",this.driverName="",this.driverType="",this.portRequired=!1,this.urlTemplate=""},r=[{key:"isGenericDriver",value:function(e){return e===o.JdbcDriverType.GENERIC}},{key:"isSnowflakeDriver",value:function(e){return e===o.JdbcDriverType.SNOWFLAKE}}],(t=null)&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},348:function(e,t,r){"use strict";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 n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.r(t),r.d(t,"OntopFileInfo",(function(){return c}));var c=i((function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s(this,e),this.type=t,this.fileName="",this.loading=!1,this.required=r}))},349:function(e,t,r){"use strict";r.r(t),r.d(t,"OntopFileType",(function(){return o}));var o={OBDA:"obdaFile",OWL:"owlFile",CONSTRAINT:"constraintFile",LENSES:"lensesFile",DB_METADATA:"dbMetadataFile"}},350:function(e,t,r){"use strict";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 n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t,r){return t=l(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,p()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function c(e){var t="function"==typeof Map?new Map:void 0;return(c=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,e)})(e)}function u(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var n=new(e.bind.apply(e,o));return r&&f(n,r.prototype),n}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.r(t),r.d(t,"OntopRepositoryError",(function(){return m}));var m=function(e){function t(){return a(this,t),s(this,t,arguments)}return function(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&&f(e,t)}(t,e),r=t,o&&n(r.prototype,o),i&&n(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,i}(c(Error))},379:function(e,t,r){"use strict";r.r(t);var o=r(248),n=r(349),i=r(346),a=r(348),s=r(350),c=r(347),u=r(188);function p(e,t,r,p,f){return{restrict:"E",scope:!1,templateUrl:"js/angular/repositories/templates/ontop-repo.html",link:function(l){l.isGenericDriver=!0,l.defaultUrlTemplate="jdbc:database://localhost:port/database_name",l.ontopProperiesLink="https://ontop-vkg.org/guide/advanced/configuration.html",l.ontopFileType=n.OntopFileType,l.selectedDriver=new c.OntopDriverData,l.supportedDriversData=[],l.formData={connectionInformation:new i.OntopConnectionInformation,settings:{additionalProperties:"",ontopFiles:[]}},l.selectDriver=function(e){l.selectedDriver=l.supportedDriversData.find((function(t){return t.driverType===e})),l.isGenericDriver=c.OntopDriverData.isGenericDriver(l.selectedDriver.driverType),l.editRepoPage&&l.currentOntopRepoInfo&&l.currentOntopRepoInfo.connectionInformation.driverType===e?l.formData=_.cloneDeep(l.currentOntopRepoInfo):(P(),l.formData.connectionInformation.driverType=l.selectedDriver.driverType),l.formData.connectionInformation.driverClass=l.selectedDriver.driverClass,l.updateUrl()},l.getOntopFileInfo=function(e){return l.formData.settings.ontopFiles.find((function(t){return e===t.type}))},l.getHostNameLabel=function(){var e=c.OntopDriverData.isSnowflakeDriver(l.selectedDriver.driverType)?"ontop.repo.database.snowflake.host_name":"ontop.repo.database.host_name";return f.instant(e)+"*"},l.getDatabaseNameLabel=function(){var e="";switch(l.selectedDriver.driverType){case u.JdbcDriverType.SNOWFLAKE:e="ontop.repo.database.warehouse.database_name";break;case u.JdbcDriverType.DATABRICKS:e="ontop.repo.database.http_path.database_name";break;case u.JdbcDriverType.DREMIO:e="ontop.repo.database.schema.database_name";break;default:e="ontop.repo.database.database_name"}return f.instant(e)},l.updateUrl=function(){var e=d()||"";l.formData.connectionInformation.url=e+l.formData.connectionInformation.urlUserInput},l.isTestConnectionDisabled=function(){var e=l.formData.connectionInformation,t=l.selectedDriver;return!(e.driverClass&&e.url&&(!t.portRequired||e.port))||!(c.OntopDriverData.isGenericDriver(t.driverType)||e.hostName&&e.databaseName)},l.testConnection=function(){g().then(S).then(O).then(I).then(w).then(D).then((function(){return t.validateOntopPropertiesConnection(l.repositoryInfo)})).then((function(){return r.success(f.instant("ontop.repo.successful.connection.msg"))})).catch((function(e){e instanceof s.OntopRepositoryError?r.error(e.message):h(f.instant("ontop.repo.failed.to.connect"),e)}))},l.editFile=function(r){var n=l.repositoryInfo.params[r.type].label,i=f.instant("update.file.edit.content.header",{fileName:n});e.open({templateUrl:"js/angular/templates/modal/editRepoFile.html",controller:"EditRepositoryFileCtrl",windowClass:"update-ontop-repo-dialog",resolve:{file:function(){var e=l.repositoryInfo.params[r.type];return e?e.value:""},dialogTitle:function(){return i},location:function(){return l.repositoryInfo.location}}}).result.then((function(e){t.updateRepositoryFileContent(e.fileLocation,e.content,l.repositoryInfo.location).success((function(e){r.fileName=Object(o.getFileName)(e.fileLocation),l.repositoryInfo.params[r.type].value=e.fileLocation})).error((function(e){h(f.instant("common.error"),e)}))}))},l.uploadOntopFile=function(e,t){if(e&&e.length){var o=e[0];t.loading=!0;var n={url:"rest/repositories/file/upload",data:{file:o,location:l.repositoryInfo.location}};p.upload(n).success((function(e){e.success?(t.fileName=o.name,l.repositoryInfo.params[t.type].value=e.fileLocation):r.error(e.errorMessage)})).error((function(e){h(f.instant("common.error"),e),l.uploadFile=""})).finally((function(){t.loading=!1}))}},l.updateOntopRepo=function(){var e=l.editRepoPage?l.editRepository:l.createRepo;T().then(g).then(S).then(O).then(I).then(w).then(N).then(D).then(e).catch((function(e){e instanceof s.OntopRepositoryError?r.error(e.message):console.log(e)}))},l.onKeyDownInUrlInput=function(e){var t=e.keyCode;if(37!==t&&39!==t&&36!==t&&35!==t){var r=d();if(r){var o=e.ctrlKey||e.metaKey;if(!(o&&65===t||o&&67===t)){var n=e.target.selectionStart;8===t&&n-1<r.length&&(e.preventDefault(),e.stopPropagation()),n<r.length&&(e.preventDefault(),e.stopPropagation())}}}},l.onKeyUpInUrlInput=function(){m()};var m=function(){var e=d();e&&l.formData.connectionInformation.url.startsWith(e)?l.formData.connectionInformation.urlUserInput=l.formData.connectionInformation.url.substring(e.length):l.formData.connectionInformation.urlUserInput=l.formData.connectionInformation.url},d=function(){return c.OntopDriverData.isSnowflakeDriver(l.selectedDriver.driverType)?v():y()},v=function(){var e=l.selectedDriver.urlTemplate,t=l.formData.connectionInformation;return t.hostName&&(e=e.replace("{identifier}",t.hostName)),t.port&&(e=e.replace(".snowflakecomputing.com/?",".snowflakecomputing.com:".concat(t.port,"/?"))),t.databaseName&&(e=e.replace("{database}",t.databaseName)),e},y=function(){var e=l.selectedDriver.urlTemplate,t=l.formData.connectionInformation;return t.hostName&&(e=t.port?e.replace("{hostport}","".concat(t.hostName,":").concat(t.port)):e.replace("{hostport}","".concat(t.hostName))),t.databaseName&&(e=e.replace("{database}",t.databaseName)),e},b=function(e){l.formData.settings.ontopFiles.forEach((function(t){t.loading=e}))},D=function(){b(!0);var e=l.formData.connectionInformation,r={hostName:e.hostName,port:e.port,databaseName:e.databaseName,userName:e.username,password:e.password,driverClass:e.driverClass,url:e.url,additionalProperties:l.formData.settings.additionalProperties};return t.updatePropertiesFile(l.repositoryInfo.params.propertiesFile.value,r,l.repositoryInfo.location,l.selectedDriver.driverType).success((function(e){l.repositoryInfo.params.propertiesFile.value=e.fileLocation})).error((function(e){h(f.instant("common.error"),e)})).finally((function(){return b(!1)}))},h=function(e,t){var o=getError(t);r.error(o,e)},g=function(){return c.OntopDriverData.isGenericDriver(l.selectedDriver.driverType)||l.formData.connectionInformation.hostName?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.host_name")})))},O=function(){return c.OntopDriverData.isGenericDriver(l.selectedDriver.driverType)||l.formData.connectionInformation.databaseName?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.database_name")})))},I=function(){return l.formData.connectionInformation.driverClass?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.driver_class")})))},w=function(){return l.formData.connectionInformation.url?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.url")})))},T=function(){return l.repositoryInfo.id?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("empty.repoid.warning")))},N=function(){return l.getOntopFileInfo(n.OntopFileType.OBDA).fileName?Promise.resolve():Promise.reject(new s.OntopRepositoryError(f.instant("ontop.repo.missing.required.file",{fileName:l.repositoryInfo.params[n.OntopFileType.OBDA].label})))},S=function(){return l.selectedDriver.portRequired&&!l.formData.connectionInformation.port?Promise.reject(new s.OntopRepositoryError(f.instant("missing.required.field",{fieldName:f.instant("ontop.repo.database.port")}))):Promise.resolve()},P=function(){l.formData={connectionInformation:new i.OntopConnectionInformation,settings:{additionalProperties:"",ontopFiles:[]}},Object.values(n.OntopFileType).forEach((function(e){var t=new a.OntopFileInfo(e);l.formData.settings.ontopFiles.push(t)})),l.getOntopFileInfo(n.OntopFileType.OBDA).required=!0};t.getSupportedDriversData(l.repositoryInfo).success((function(e){l.supportedDriversData=e})).error((function(e){h(f.instant("common.error"),e)})).then((function(){l.editRepoPage?(b(!0),t.loadPropertiesFile(l.repositoryInfo.params.propertiesFile.value,l.repositoryInfo.location,l.selectedDriver.driverType).success((function(e){var t=l.supportedDriversData.find((function(t){return t.driverClass===e.driverClass}));t&&e.hostName||(t=l.supportedDriversData.find((function(e){return c.OntopDriverData.isGenericDriver(e.driverType)}))),l.selectDriver(t.driverType),l.formData.connectionInformation.driverType=t.driverType,l.formData.connectionInformation.driverClass=e.driverClass,l.formData.connectionInformation.password=e.password,l.formData.connectionInformation.username=e.userName,l.formData.connectionInformation.url=e.url,l.formData.settings.additionalProperties=e.additionalProperties,c.OntopDriverData.isGenericDriver(t.driverType)||(l.formData.connectionInformation.hostName=e.hostName,l.formData.connectionInformation.databaseName=e.databaseName,l.formData.connectionInformation.port=e.port?parseInt(e.port,10):void 0),m(),l.updateUrl(),Object.values(n.OntopFileType).forEach((function(e){var t=l.repositoryInfo.params[e],r=l.getOntopFileInfo(e);t&&(r.fileName=Object(o.getFileName)(t.value))})),l.currentOntopRepoInfo=_.cloneDeep(l.formData)})).error((function(e){h(f.instant("common.error"),e)})).finally((function(){b(!1)}))):l.selectDriver(u.JdbcDriverType.GENERIC)}))}}}angular.module("graphdb.framework.repositories.ontop-repo.directive",[]).directive("ontopRepo",p),p.$inject=["$uibModal","RepositoriesRestService","toastr","Upload","$translate"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[231],{331:function(t,e){function o(){return{link:function(t,e,o){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+o.size+'" height="'+o.size+'" data="js/angular/templates/loader/ot-loader.svg?v=3.0.
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[231],{331:function(t,e){function o(){return{link:function(t,e,o){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+o.size+'" height="'+o.size+'" data="js/angular/templates/loader/ot-loader.svg?v=3.0.2-TR2">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",o),o.$inject=[]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[24,176,198],{198:function(e,t,n){"use strict";n.r(t);var o=n(24);function r(e){return function(e){if(Array.isArray(e))return i(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 i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function a(){return{restrict:"E",scope:{options:"=",selected:"=",labels:"="},templateUrl:"js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html",link:function(e){var t=[];e.searchLeft="",e.availableOptions=[],e.selectedOptions=[],e.selectOption=function(t){e.selectedOptions.push(t),e.availableOptions=e.availableOptions.filter((function(e){return e!==t})),n()},e.selectAll=function(){e.selectedOptions=e.selectedOptions.concat(e.availableOptions),e.availableOptions=[],n()},e.deselectOption=function(t){e.availableOptions.push(t),e.selectedOptions=e.selectedOptions.filter((function(e){return e!==t})),n()},e.deselectAll=function(){e.availableOptions=e.availableOptions.concat(e.selectedOptions),e.selectedOptions=[],n()};var n=function(){e.selected=r(e.selectedOptions)};e.$on("$destroy",(function(){t.forEach((function(e){return e()}))}));e.selectedOptions=Object(o.cloneDeep)(e.selected),e.selectedOptions.length?e.availableOptions=e.options.filter((function(t){return!e.selectedOptions.find((function(e){return e.id===t.id}))})):e.availableOptions=Object(o.cloneDeep)(e.options)}}}angular.module("graphdb.framework.core.directives.shuttle-multiselect",[]).directive("shuttleMultiselect",a),a.$inject=[]},222:function(e,t,n){"use strict";n.r(t);n(126),n(130),n(133);function o(e,t,n,o){e.endpointReport=void 0,e.downloadReport=function(){var t=JSON.stringify(e.endpointReport.toJSON(),null,2),n=new Blob([t],{type:"application/json"}),o=URL.createObjectURL(n),r=document.createElement("a");r.href=o,r.download=e.endpointReport.endpointId?"".concat(e.endpointReport.endpointId,"-").concat("generation-report.json"):"generation-report.json",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(o)},e.deleteReport=function(){o.deleteEndpointGenerationReport(e.endpointReport),e.close()},e.close=function(){t.dismiss("cancel")};e.endpointReport=n.endpointReport}angular.module("graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal",["graphdb.framework.core.services.graphql-service"]).controller("EndpointGenerationResultFailureModalController",o),o.$inject=["$scope","$uibModalInstance","data","GraphqlContextService"]},314:function(e,t,n){"use strict";n.r(t);n(198);var o=n(16),r=n(124),i=n(182);function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(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 l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function p(e,t,n,c,s,p,u){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-select-schema-sources.html",scope:{stepDefinition:"="},link:function(c,d){var h=[];c.schemaSourceType=i.SchemaSourceType,c.ontologyShaclShapeSource=i.OntologyShaclShapeSource,c.shapesMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.tooltip"},c.graphsMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.tooltip"},c.endpointConfiguration=void 0,c.prefixList=[],c.loadingPrefixes=!1,c.graphs=void 0,c.shaclShapeGraphs=void 0,c.graphqlSchemaShapes=void 0,c.allGraphs=void 0,c.loadingGraphs=!1,c.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,o,(function(){s.cancelEndpointCreation()}))},c.next=function(){s.nextEndpointCreationStep()},c.onSchemaSourceTypeChange=function(){c.endpointConfiguration.schemaSourceType=c.stepDefinition.schemaSourceType,c.endpointConfiguration.generateFromShaclShapes()&&(c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_ALL_GRAPHS?c.endpointConfiguration.selectedGraphs=c.allGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?c.endpointConfiguration.selectedGraphs=c.shaclShapeGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.PICK_GRAPHS&&(c.endpointConfiguration.selectedGraphs=new o.GraphListOptions))},c.onOntologyShaclShapeSourceChange=function(){c.endpointConfiguration.owlOrShaclSourceType=c.stepDefinition.ontotlogyShaclShapeSource,c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_ALL_GRAPHS?c.endpointConfiguration.selectedGraphs=c.allGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?c.endpointConfiguration.selectedGraphs=c.shaclShapeGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.PICK_GRAPHS&&(c.endpointConfiguration.selectedGraphs=new o.GraphListOptions)},c.canProceed=function(){var e=!1;if(c.endpointConfiguration){var t=c.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),n=c.endpointParamsForm.$valid;c.stepDefinition.schemaSourceType===i.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES&&t?e=!0:c.stepDefinition.schemaSourceType===i.SchemaSourceType.SHACL_SHAPES&&n&&(e=c.endpointConfiguration.owlOrShaclSourceType===i.OntologyShaclShapeSource.USE_ALL_GRAPHS||c.endpointConfiguration.hasSelectedGraphs())}return e};var f=function(e){c.loadingData=!0,Promise.all([(c.loadingPrefixes=!0,p.getPrefixListAsSelectOptions(s.getSourceRepository()).catch((function(e){console.error("Error loading prefixes",e),n.error(getError(e))})).finally((function(){c.loadingPrefixes=!1}))),(c.loadingGraphs=!0,u.getGraphs(s.getSourceRepository()).catch((function(e){console.error("Error loading graphs",e),n.error(getError(e))})).finally((function(){c.loadingGraphs=!1}))),p.getGraphqlSchemaShapes(s.getSourceRepository()).catch((function(e){console.error("Error loading GraphQL schema shapes",e),n.error(getError(e))})),p.getShaclShapeGraphs(s.getSourceRepository()).catch((function(e){console.error("Error loading SHACL shape graphs",e),n.error(getError(e))}))]).then((function(t){var n=l(t,4),r=n[0],i=n[1],s=n[2],p=n[3];c.graphqlSchemaShapes=s,c.graphs=i,c.shaclShapeGraphs=p,c.allGraphs=new o.GraphListOptions([].concat(a(i.graphList),a(p.graphList))),c.prefixList=r,c.endpointConfiguration=e})).finally((function(){c.loadingData=!1}))},g=function(){f(s.getNewEndpoint())},S=function(){h.forEach((function(e){return e()}))};!function(){c.$on("$destroy",S),h.push(s.subscribe(r.GraphqlEventName.SOURCE_REPOSITORY_UPDATED,g));var e=s.getNewEndpoint();e?f(e):h.push(s.onEndpointConfigCreated(f))}()}}}angular.module("graphdb.framework.graphql.directives.select-schema-sources",["graphdb.framework.core.directives.shuttle-multiselect"]).directive("selectSchemaSources",p),p.$inject=["ModalService","$translate","toastr","$repositories","GraphqlContextService","GraphqlService","RDF4JRepositoriesService"]},315:function(e,t){function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function r(e,t,o,r){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-configure-endpoint.html",scope:{stepDefinition:"="},link:function(i){i.endpointConfiguration=void 0,i.generationSettings=void 0,i.generationSettingsValid=!1,i.showAdvancedSettings=!1,i.handleValidityChange=function(e){i.endpointConfigurationSettingsValid=e},i.next=function(){r.nextEndpointCreationStep()},i.back=function(){r.previousEndpointCreationStep()},i.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,o,(function(){r.cancelEndpointCreation()}))},i.toggleAdvancedSettings=function(){i.showAdvancedSettings=!i.showAdvancedSettings};var a=[];i.$on("$destroy",(function(){a.forEach((function(e){return e()}))}));i.endpointConfiguration=r.getNewEndpoint(),i.endpointConfiguration.settings||(i.endpointConfiguration,i.loadingData=!0,Promise.all([o.getGraphqlGenerationSettings().catch((function(e){console.error("Error loading generation settings",e),toastr.error(getError(e))}))]).then((function(e){var t=n(e,1)[0];i.endpointConfiguration.settings=t})).finally((function(){i.loadingData=!1})))}}}angular.module("graphdb.framework.graphql.directives.configure-endpoint",[]).directive("configureEndpoint",r),r.$inject=["ModalService","$translate","GraphqlService","GraphqlContextService"]},316:function(e,t,n){"use strict";n.r(t);var o=n(124),r=(n(222),n(114));function i(e,t,n,i,a,l){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-generate-endpoint.html",scope:{stepDefinition:"="},link:function(t){t.endpointConfiguration=void 0,t.endpointsCountToGenerate=0,t.endpointsOverview=void 0,t.activeRepository=i.getActiveRepository(),t.generateFromGraphqlSchemaShapes=!1,t.generatingEndpoint=!1,t.generationReport=void 0,t.endpointUrl=r.endpointUrl,t.back=function(){l.previousEndpointCreationStep()},t.cancel=function(){var t=n.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=n.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(t,o,(function(){l.cancelEndpointCreation()}))},t.generateEndpoint=function(){t.generatingEndpoint=!0,t.generationReport=void 0,l.generateEndpoint()},t.finishGenerationWorkflow=function(){l.finishGenerationWorkflow()},t.showEndpointReport=function(e){l.openEndpointGenerationReport(e)},t.exploreInPlayground=function(e){l.exploreEndpointInPlayground(e)};var c=[];c.push(l.subscribe(o.GraphqlEventName.ENDPOINT_GENERATED,(function(e){t.generatingEndpoint=!1,t.generationReport=e}))),t.$on("$destroy",(function(){c.forEach((function(e){return e()}))}));t.endpointConfiguration=l.getNewEndpoint(),t.generateFromGraphqlSchemaShapes=t.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),t.endpointsCountToGenerate=a.getEndpointsCountToGenerate(t.endpointConfiguration),t.endpointsOverview=a.getGenerateEndpointsOverview(t.endpointConfiguration)}}}angular.module("graphdb.framework.graphql.directives.generate-endpoint",["graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal"]).directive("generateEndpoint",i),i.$inject=["ModalService","$uibModal","$translate","$repositories","GraphqlService","GraphqlContextService"]},378:function(e,t,n){"use strict";n.r(t);n(126);var o=n(124),r=n(182),i=n(114),a=n(183),l=(n(314),n(315),n(316),n(157),n(113));function c(e,t,n,c,s,p,u,d,h){var f=[];e.sourceRepositories=[],e.selectedSourceRepository=void 0,e.previousSelectedSourceRepository=void 0,e.wizardModel=void 0,e.currentStep=void 0,e.generatingEndpoint=!1,e.onSelectedSourceRepositoryChange=function(t){p.openConfirmationModal({title:c.instant("graphql.create_endpoint.messages.source_repository_changed.title"),message:c.instant("graphql.create_endpoint.messages.source_repository_changed.body"),confirmButtonKey:"common.confirm"},(function(){e.previousSelectedSourceRepository=e.selectedSourceRepository,h.updateSourceRepository(t.value),h.createEndpointConfig(),S()}),(function(){e.selectedSourceRepository=e.previousSelectedSourceRepository}))},e.activateStep=function(t){e.wizardModel.setStepActive(t),g(t)},e.onStepClick=function(t){e.wizardModel.isAPreviousStep(t)&&(e.wizardModel.setStepActive(t),g(t))};var g=function(t){e.currentStep=t},S=function(){e.wizardModel=(new a.Wizard).addStep(new r.SelectSchemaSourceStep).addStep(new r.ConfigureEndpointStep).addStep(new r.GenerateEndpointStep),g(e.wizardModel.getActiveStep())};f.push(h.subscribe(o.GraphqlEventName.GENERATE_ENDPOINT,(function(t){var o=t.schemaSourceType===r.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES,i=t.schemaSourceType===r.SchemaSourceType.SHACL_SHAPES;return o?function(t){e.generatingEndpoint=!0;var o,r=t.toCreateEndpointFromShapesRequest(e.selectedSourceRepository.value);return d.generateEndpointFromGraphqlShapes(n.getActiveRepository(),r).then((function(e){o=e})).catch((function(e){u.error(getError(e))})).finally((function(){h.endpointGenerated(o),e.generatingEndpoint=!1}))}(t):i?function(t){e.generatingEndpoint=!0;var o,r=t.toCreateEndpointFromOwlRequest(e.selectedSourceRepository.value);return d.generateEndpointFromOwl(n.getActiveRepository(),r).then((function(e){o=e})).catch((function(e){u.error(getError(e))})).finally((function(){e.generatingEndpoint=!1,h.endpointGenerated(o)}))}(t):void 0}))),f.push(h.subscribe(o.GraphqlEventName.PREVIOUS_ENDPOINT_CREATION_STEP,(function(){g(e.wizardModel.previousStep())}))),f.push(h.subscribe(o.GraphqlEventName.NEXT_ENDPOINT_CREATION_STEP,(function(){g(e.wizardModel.nextStep())}))),f.push(h.subscribe(o.GraphqlEventName.CANCEL_ENDPOINT_CREATION,(function(){t.path(i.endpointUrl.ENDPOINT_MANAGEMENT)}))),f.push(h.subscribe(o.GraphqlEventName.FINISH_GENERATION_WORKFLOW,(function(){t.path(i.endpointUrl.ENDPOINT_MANAGEMENT)}))),f.push(h.subscribe(o.GraphqlEventName.EXPLORE_ENDPOINT_IN_PLAYGROUND,(function(e){var t=Object(l.resolvePlaygroundUrlWithEndpoint)(e.endpointId);h.setSelectedEndpoint(e),window.open(t,"_blank","noopener,noreferrer")}))),f.push(h.subscribe(o.GraphqlEventName.OPEN_ENDPOINT_GENERATION_REPORT,(function(e){return s.open({templateUrl:"js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html",controller:"EndpointGenerationResultFailureModalController",windowClass:"endpoint-generation-failure-result-modal",size:"lg",backdrop:"static",keyboard:!1,resolve:{data:function(){return{endpointReport:e}}}}).result}))),f.push(e.$watch(e.getActiveRepositoryObject,(function(e){e&&m()}))),e.$on("$destroy",(function(){f.forEach((function(e){return e()}))}));var m=function(){e.selectedSourceRepository||(h.createEndpointConfig(),S(),function(){e.sourceRepositories=n.getRepositoriesAsSelectMenuOptions((function(){return n.getLocalReadableGraphdbRepositories()}));var t=n.getActiveRepository();e.selectedSourceRepository=e.sourceRepositories.find((function(e){return e.value===t})),h.updateSourceRepository(e.selectedSourceRepository.value),e.previousSelectedSourceRepository=e.selectedSourceRepository}())}}angular.module("graphdb.framework.graphql.controllers.create-graphql-endpoint-view",["graphdb.framework.core.services.graphql-service","graphdb.framework.graphql.services.graphql-context","graphdb.framework.graphql.directives.select-schema-sources","graphdb.framework.graphql.directives.configure-endpoint","graphdb.framework.graphql.directives.generate-endpoint"]).controller("CreateGraphqlEndpointViewCtrl",c),c.$inject=["$scope","$location","$repositories","$translate","$uibModal","ModalService","toastr","GraphqlService","GraphqlContextService"]}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[24,176,198],{198:function(e,t,n){"use strict";n.r(t);var o=n(24);function r(e){return function(e){if(Array.isArray(e))return i(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 i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function a(){return{restrict:"E",scope:{options:"=",selected:"=",labels:"="},templateUrl:"js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html",link:function(e){var t=[];e.searchLeft="",e.availableOptions=[],e.selectedOptions=[],e.selectOption=function(t){e.selectedOptions.push(t),e.availableOptions=e.availableOptions.filter((function(e){return e!==t})),n()},e.selectAll=function(){e.selectedOptions=e.selectedOptions.concat(e.availableOptions),e.availableOptions=[],n()},e.deselectOption=function(t){e.availableOptions.push(t),e.selectedOptions=e.selectedOptions.filter((function(e){return e!==t})),n()},e.deselectAll=function(){e.availableOptions=e.availableOptions.concat(e.selectedOptions),e.selectedOptions=[],n()};var n=function(){e.selected=r(e.selectedOptions)};e.$on("$destroy",(function(){t.forEach((function(e){return e()}))}));e.selectedOptions=Object(o.cloneDeep)(e.selected),e.selectedOptions.length?e.availableOptions=e.options.filter((function(t){return!e.selectedOptions.find((function(e){return e.id===t.id}))})):e.availableOptions=Object(o.cloneDeep)(e.options)}}}angular.module("graphdb.framework.core.directives.shuttle-multiselect",[]).directive("shuttleMultiselect",a),a.$inject=[]},222:function(e,t,n){"use strict";n.r(t);n(127),n(132),n(135);function o(e,t,n,o){e.endpointReport=void 0,e.downloadReport=function(){var t=JSON.stringify(e.endpointReport.toJSON(),null,2),n=new Blob([t],{type:"application/json"}),o=URL.createObjectURL(n),r=document.createElement("a");r.href=o,r.download=e.endpointReport.endpointId?"".concat(e.endpointReport.endpointId,"-").concat("generation-report.json"):"generation-report.json",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(o)},e.deleteReport=function(){o.deleteEndpointGenerationReport(e.endpointReport),e.close()},e.close=function(){t.dismiss("cancel")};e.endpointReport=n.endpointReport}angular.module("graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal",["graphdb.framework.core.services.graphql-service"]).controller("EndpointGenerationResultFailureModalController",o),o.$inject=["$scope","$uibModalInstance","data","GraphqlContextService"]},314:function(e,t,n){"use strict";n.r(t);n(198);var o=n(16),r=n(125),i=n(182);function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(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 l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function p(e,t,n,c,s,p,u){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-select-schema-sources.html",scope:{stepDefinition:"="},link:function(c,d){var h=[];c.schemaSourceType=i.SchemaSourceType,c.ontologyShaclShapeSource=i.OntologyShaclShapeSource,c.shapesMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.shapes_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.shapes_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.shapes_multiselect.actions.remove_all.tooltip"},c.graphsMultiselectLabels={availableOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.title",availableOptionsFilter:"graphql.create_endpoint.wizard_steps.graphs_multiselect.available_options.filter_placeholder",selectedOptionsTitle:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.title",selectedOptionsCount:"graphql.create_endpoint.wizard_steps.graphs_multiselect.selected_options.count",selectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add.tooltip",selectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.label",selectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.add_all.tooltip",deselectTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove.tooltip",deselectAllLabel:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.label",deselectAllTooltip:"graphql.create_endpoint.wizard_steps.graphs_multiselect.actions.remove_all.tooltip"},c.endpointConfiguration=void 0,c.prefixList=[],c.loadingPrefixes=!1,c.graphs=void 0,c.shaclShapeGraphs=void 0,c.graphqlSchemaShapes=void 0,c.allGraphs=void 0,c.loadingGraphs=!1,c.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,o,(function(){s.cancelEndpointCreation()}))},c.next=function(){s.nextEndpointCreationStep()},c.onSchemaSourceTypeChange=function(){c.endpointConfiguration.schemaSourceType=c.stepDefinition.schemaSourceType,c.endpointConfiguration.generateFromShaclShapes()&&(c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_ALL_GRAPHS?c.endpointConfiguration.selectedGraphs=c.allGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?c.endpointConfiguration.selectedGraphs=c.shaclShapeGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.PICK_GRAPHS&&(c.endpointConfiguration.selectedGraphs=new o.GraphListOptions))},c.onOntologyShaclShapeSourceChange=function(){c.endpointConfiguration.owlOrShaclSourceType=c.stepDefinition.ontotlogyShaclShapeSource,c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_ALL_GRAPHS?c.endpointConfiguration.selectedGraphs=c.allGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.USE_SHACL_SHAPE_GRAPH?c.endpointConfiguration.selectedGraphs=c.shaclShapeGraphs:c.stepDefinition.ontotlogyShaclShapeSource===i.OntologyShaclShapeSource.PICK_GRAPHS&&(c.endpointConfiguration.selectedGraphs=new o.GraphListOptions)},c.canProceed=function(){var e=!1;if(c.endpointConfiguration){var t=c.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),n=c.endpointParamsForm.$valid;c.stepDefinition.schemaSourceType===i.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES&&t?e=!0:c.stepDefinition.schemaSourceType===i.SchemaSourceType.SHACL_SHAPES&&n&&(e=c.endpointConfiguration.owlOrShaclSourceType===i.OntologyShaclShapeSource.USE_ALL_GRAPHS||c.endpointConfiguration.hasSelectedGraphs())}return e};var f=function(e){c.loadingData=!0,Promise.all([(c.loadingPrefixes=!0,p.getPrefixListAsSelectOptions(s.getSourceRepository()).catch((function(e){console.error("Error loading prefixes",e),n.error(getError(e))})).finally((function(){c.loadingPrefixes=!1}))),(c.loadingGraphs=!0,u.getGraphs(s.getSourceRepository()).catch((function(e){console.error("Error loading graphs",e),n.error(getError(e))})).finally((function(){c.loadingGraphs=!1}))),p.getGraphqlSchemaShapes(s.getSourceRepository()).catch((function(e){console.error("Error loading GraphQL schema shapes",e),n.error(getError(e))})),p.getShaclShapeGraphs(s.getSourceRepository()).catch((function(e){console.error("Error loading SHACL shape graphs",e),n.error(getError(e))}))]).then((function(t){var n=l(t,4),r=n[0],i=n[1],s=n[2],p=n[3];c.graphqlSchemaShapes=s,c.graphs=i,c.shaclShapeGraphs=p,c.allGraphs=new o.GraphListOptions([].concat(a(i.graphList),a(p.graphList))),c.prefixList=r,c.endpointConfiguration=e})).finally((function(){c.loadingData=!1}))},g=function(){f(s.getNewEndpoint())},S=function(){h.forEach((function(e){return e()}))};!function(){c.$on("$destroy",S),h.push(s.subscribe(r.GraphqlEventName.SOURCE_REPOSITORY_UPDATED,g));var e=s.getNewEndpoint();e?f(e):h.push(s.onEndpointConfigCreated(f))}()}}}angular.module("graphdb.framework.graphql.directives.select-schema-sources",["graphdb.framework.core.directives.shuttle-multiselect"]).directive("selectSchemaSources",p),p.$inject=["ModalService","$translate","toastr","$repositories","GraphqlContextService","GraphqlService","RDF4JRepositoriesService"]},315:function(e,t){function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function r(e,t,o,r){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-configure-endpoint.html",scope:{stepDefinition:"="},link:function(i){i.endpointConfiguration=void 0,i.generationSettings=void 0,i.generationSettingsValid=!1,i.showAdvancedSettings=!1,i.handleValidityChange=function(e){i.endpointConfigurationSettingsValid=e},i.next=function(){r.nextEndpointCreationStep()},i.back=function(){r.previousEndpointCreationStep()},i.cancel=function(){var n=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=t.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(n,o,(function(){r.cancelEndpointCreation()}))},i.toggleAdvancedSettings=function(){i.showAdvancedSettings=!i.showAdvancedSettings};var a=[];i.$on("$destroy",(function(){a.forEach((function(e){return e()}))}));i.endpointConfiguration=r.getNewEndpoint(),i.endpointConfiguration.settings||(i.endpointConfiguration,i.loadingData=!0,Promise.all([o.getGraphqlGenerationSettings().catch((function(e){console.error("Error loading generation settings",e),toastr.error(getError(e))}))]).then((function(e){var t=n(e,1)[0];i.endpointConfiguration.settings=t})).finally((function(){i.loadingData=!1})))}}}angular.module("graphdb.framework.graphql.directives.configure-endpoint",[]).directive("configureEndpoint",r),r.$inject=["ModalService","$translate","GraphqlService","GraphqlContextService"]},316:function(e,t,n){"use strict";n.r(t);var o=n(125),r=(n(222),n(114));function i(e,t,n,i,a,l){return{restrict:"E",templateUrl:"js/angular/graphql/templates/step-generate-endpoint.html",scope:{stepDefinition:"="},link:function(t){t.endpointConfiguration=void 0,t.endpointsCountToGenerate=0,t.endpointsOverview=void 0,t.activeRepository=i.getActiveRepository(),t.generateFromGraphqlSchemaShapes=!1,t.generatingEndpoint=!1,t.generationReport=void 0,t.endpointUrl=r.endpointUrl,t.back=function(){l.previousEndpointCreationStep()},t.cancel=function(){var t=n.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.title"),o=n.instant("graphql.create_endpoint.wizard_steps.actions.cancel.confirmation.body");e.openConfirmation(t,o,(function(){l.cancelEndpointCreation()}))},t.generateEndpoint=function(){t.generatingEndpoint=!0,t.generationReport=void 0,l.generateEndpoint()},t.finishGenerationWorkflow=function(){l.finishGenerationWorkflow()},t.showEndpointReport=function(e){l.openEndpointGenerationReport(e)},t.exploreInPlayground=function(e){l.exploreEndpointInPlayground(e)};var c=[];c.push(l.subscribe(o.GraphqlEventName.ENDPOINT_GENERATED,(function(e){t.generatingEndpoint=!1,t.generationReport=e}))),t.$on("$destroy",(function(){c.forEach((function(e){return e()}))}));t.endpointConfiguration=l.getNewEndpoint(),t.generateFromGraphqlSchemaShapes=t.endpointConfiguration.hasSelectedGraphqlSchemaShapes(),t.endpointsCountToGenerate=a.getEndpointsCountToGenerate(t.endpointConfiguration),t.endpointsOverview=a.getGenerateEndpointsOverview(t.endpointConfiguration)}}}angular.module("graphdb.framework.graphql.directives.generate-endpoint",["graphdb.framework.graphql.controllers.endpoint-generation-failure-result-modal"]).directive("generateEndpoint",i),i.$inject=["ModalService","$uibModal","$translate","$repositories","GraphqlService","GraphqlContextService"]},378:function(e,t,n){"use strict";n.r(t);n(127);var o=n(125),r=n(182),i=n(114),a=n(183),l=(n(314),n(315),n(316),n(158),n(113));function c(e,t,n,c,s,p,u,d,h){var f=[];e.sourceRepositories=[],e.selectedSourceRepository=void 0,e.previousSelectedSourceRepository=void 0,e.wizardModel=void 0,e.currentStep=void 0,e.generatingEndpoint=!1,e.onSelectedSourceRepositoryChange=function(t){p.openConfirmationModal({title:c.instant("graphql.create_endpoint.messages.source_repository_changed.title"),message:c.instant("graphql.create_endpoint.messages.source_repository_changed.body"),confirmButtonKey:"common.confirm"},(function(){e.previousSelectedSourceRepository=e.selectedSourceRepository,h.updateSourceRepository(t.value),h.createEndpointConfig(),S()}),(function(){e.selectedSourceRepository=e.previousSelectedSourceRepository}))},e.activateStep=function(t){e.wizardModel.setStepActive(t),g(t)},e.onStepClick=function(t){e.wizardModel.isAPreviousStep(t)&&(e.wizardModel.setStepActive(t),g(t))};var g=function(t){e.currentStep=t},S=function(){e.wizardModel=(new a.Wizard).addStep(new r.SelectSchemaSourceStep).addStep(new r.ConfigureEndpointStep).addStep(new r.GenerateEndpointStep),g(e.wizardModel.getActiveStep())};f.push(h.subscribe(o.GraphqlEventName.GENERATE_ENDPOINT,(function(t){var o=t.schemaSourceType===r.SchemaSourceType.GRAPHQL_SCHEMA_SHAPES,i=t.schemaSourceType===r.SchemaSourceType.SHACL_SHAPES;return o?function(t){e.generatingEndpoint=!0;var o,r=t.toCreateEndpointFromShapesRequest(e.selectedSourceRepository.value);return d.generateEndpointFromGraphqlShapes(n.getActiveRepository(),r).then((function(e){o=e})).catch((function(e){u.error(getError(e))})).finally((function(){h.endpointGenerated(o),e.generatingEndpoint=!1}))}(t):i?function(t){e.generatingEndpoint=!0;var o,r=t.toCreateEndpointFromOwlRequest(e.selectedSourceRepository.value);return d.generateEndpointFromOwl(n.getActiveRepository(),r).then((function(e){o=e})).catch((function(e){u.error(getError(e))})).finally((function(){e.generatingEndpoint=!1,h.endpointGenerated(o)}))}(t):void 0}))),f.push(h.subscribe(o.GraphqlEventName.PREVIOUS_ENDPOINT_CREATION_STEP,(function(){g(e.wizardModel.previousStep())}))),f.push(h.subscribe(o.GraphqlEventName.NEXT_ENDPOINT_CREATION_STEP,(function(){g(e.wizardModel.nextStep())}))),f.push(h.subscribe(o.GraphqlEventName.CANCEL_ENDPOINT_CREATION,(function(){t.path(i.endpointUrl.ENDPOINT_MANAGEMENT)}))),f.push(h.subscribe(o.GraphqlEventName.FINISH_GENERATION_WORKFLOW,(function(){t.path(i.endpointUrl.ENDPOINT_MANAGEMENT)}))),f.push(h.subscribe(o.GraphqlEventName.EXPLORE_ENDPOINT_IN_PLAYGROUND,(function(e){var t=Object(l.resolvePlaygroundUrlWithEndpoint)(e.endpointId);h.setSelectedEndpoint(e),window.open(t,"_blank","noopener,noreferrer")}))),f.push(h.subscribe(o.GraphqlEventName.OPEN_ENDPOINT_GENERATION_REPORT,(function(e){return s.open({templateUrl:"js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html",controller:"EndpointGenerationResultFailureModalController",windowClass:"endpoint-generation-failure-result-modal",size:"lg",backdrop:"static",keyboard:!1,resolve:{data:function(){return{endpointReport:e}}}}).result}))),f.push(e.$watch(e.getActiveRepositoryObject,(function(e){e&&m()}))),e.$on("$destroy",(function(){f.forEach((function(e){return e()}))}));var m=function(){e.selectedSourceRepository||(h.createEndpointConfig(),S(),function(){e.sourceRepositories=n.getRepositoriesAsSelectMenuOptions((function(){return n.getLocalReadableGraphdbRepositories()}));var t=n.getActiveRepository();e.selectedSourceRepository=e.sourceRepositories.find((function(e){return e.value===t})),h.updateSourceRepository(e.selectedSourceRepository.value),e.previousSelectedSourceRepository=e.selectedSourceRepository}())}}angular.module("graphdb.framework.graphql.controllers.create-graphql-endpoint-view",["graphdb.framework.core.services.graphql-service","graphdb.framework.graphql.services.graphql-context","graphdb.framework.graphql.directives.select-schema-sources","graphdb.framework.graphql.directives.configure-endpoint","graphdb.framework.graphql.directives.generate-endpoint"]).controller("CreateGraphqlEndpointViewCtrl",c),c.$inject=["$scope","$location","$repositories","$translate","$uibModal","ModalService","toastr","GraphqlService","GraphqlContextService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[242],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[242],{123:function(n,t,e){"use strict";function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function i(n,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,u(o.key),o)}}function c(n,t,e){return t&&i(n.prototype,t),e&&i(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function u(n){var t=function(n,t){if("object"!=o(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==o(t)?t:t+""}e.r(t),e.d(t,"ConnectorTypesListModel",(function(){return s})),e.d(t,"ConnectorTypeModel",(function(){return f})),e.d(t,"ConnectorListModel",(function(){return a})),e.d(t,"ConnectorModel",(function(){return h})),e.d(t,"ConnectorSettingsModel",(function(){return y}));var s=function(){return c((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,n),this._connectors=t.connectors||[]}),[{key:"getConnectorByName",value:function(n){return this._connectors.find((function(t){return t.name===n}))}},{key:"connectors",get:function(){return this._connectors},set:function(n){this._connectors=n}}])}(),f=function(){return c((function n(t){r(this,n),this._name=t.name,this._prefix=t.prefix}),[{key:"name",get:function(){return this._name},set:function(n){this._name=n}},{key:"prefix",get:function(){return this._prefix},set:function(n){this._prefix=n}}])}(),a=function(){return c((function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];r(this,n),this._connectors=t.connectors}),[{key:"connectors",get:function(){return this._connectors},set:function(n){this._connectors=n}}])}(),h=function(){return c((function n(t){r(this,n),this._name=t.name,this._settings=new y(t)}),[{key:"settings",get:function(){return this._settings},set:function(n){this._settings=n}},{key:"name",get:function(){return this._name},set:function(n){this._name=n}}])}(),y=function(){return c((function n(t){r(this,n),this._settings=t.values||{}}),[{key:"settings",get:function(){return this._settings},set:function(n){this._settings=n}}])}()}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[243],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[243],{148:function(e,t,i){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function o(e,t,i){return(t=u(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function u(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}i.r(t),i.d(t,"DynamicFormField",(function(){return s}));var s=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),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=t.key,this._label=t.label,this._type=t.type,this._collection=t.collection,this._value=t.value,this._values=t.values,this._regex="string"==typeof t.regex?new RegExp(t.regex):t.regex,this._required=t.required,this._group=t.group,this.hidden=t.hidden},(t=[{key:"key",get:function(){return this._key},set:function(e){this._key=e}},{key:"label",get:function(){return this._label},set:function(e){this._label=e}},{key:"type",get:function(){return this._type},set:function(e){this._type=e}},{key:"collection",get:function(){return this._collection},set:function(e){this._collection=e}},{key:"value",get:function(){return this._value},set:function(e){this._value=e}},{key:"values",get:function(){return this._values},set:function(e){this._values=e}},{key:"regex",get:function(){return this._regex},set:function(e){this._regex="string"==typeof e?new RegExp(e):e}},{key:"required",get:function(){return this._required},set:function(e){this._required=e}},{key:"group",get:function(){return this._group},set:function(e){this._group=e}},{key:"hidden",get:function(){return this._hidden},set:function(e){this._hidden=e}}])&&r(e.prototype,t),i&&r(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}()}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[248],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[248],{151:function(t,n,i){"use strict";function e(t){return(e="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){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return o(t,n);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,n):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 o(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,e=Array(n);i<n;i++)e[i]=t[i];return e}function s(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function u(t,n){for(var i=0;i<n.length;i++){var e=n[i];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,l(e.key),e)}}function a(t,n,i){return n&&u(t.prototype,n),i&&u(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t,n,i){return(n=l(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function l(t){var n=function(t,n){if("object"!=e(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==e(n)?n:n+""}i.r(n),i.d(n,"ImportStatus",(function(){return c})),i.d(n,"ImportStatusLabelKeys",(function(){return h})),i.d(n,"ImportStatusToViewMapping",(function(){return p})),i.d(n,"EndpointDefinitionFileList",(function(){return d})),i.d(n,"EndpointDefinitionFile",(function(){return m}));var c={PENDING:"PENDING",SUCCESS:"SUCCESS",FAIL:"FAIL",SKIP:"SKIP"},h=f(f(f(f({},c.PENDING,"graphql.endpoints_management.import_definition_modal.status.pending"),c.SUCCESS,"graphql.endpoints_management.import_definition_modal.status.completed"),c.FAIL,"graphql.endpoints_management.import_definition_modal.status.failed"),c.SKIP,"graphql.endpoints_management.import_definition_modal.status.not_allowed"),p=f(f(f(f({},c.PENDING,"tag-warning"),c.SUCCESS,"tag-success"),c.FAIL,"tag-danger"),c.SKIP,"tag-info"),d=function(){return a((function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,t),f(this,"_list",void 0),f(this,"_size",void 0),this._list=n,this._size=n.length}),[{key:"processWith",value:function(t){this.list.forEach(t)}},{key:"findDefinitionFileByName",value:function(t){return this.list.find((function(n){return n.file.name===t}))}},{key:"getFileNames",value:function(){return this.list.map((function(t){return t.file.name}))}},{key:"appendFiles",value:function(t){var n;(n=this.list).push.apply(n,r(t)),this._size=this.list.length}},{key:"removeFile",value:function(t){this.list=this.list.filter((function(n){return n.file!==t.file}))}},{key:"size",get:function(){return this._size},set:function(t){this._size=t}},{key:"list",get:function(){return this._list},set:function(t){this._list=t,this._size=t.length}}])}(),m=function(){return a((function t(n,i,e,r){s(this,t),f(this,"_list",void 0),f(this,"_file",void 0),f(this,"_filename",void 0),f(this,"_status",void 0),f(this,"_viewStatus",void 0),f(this,"_statusMessage",void 0),f(this,"_endpointId",void 0),f(this,"_report",void 0),this._file=n,this._status=i,this._viewStatus=p[i],this._statusMessage=e,this._list=r}),[{key:"file",get:function(){return this._file},set:function(t){this._file=t}},{key:"filename",get:function(){return this._filename},set:function(t){this._filename=t}},{key:"status",get:function(){return this._status},set:function(t){this._status=t,this._viewStatus=p[t]}},{key:"viewStatus",get:function(){return this._viewStatus},set:function(t){this._viewStatus=t}},{key:"statusMessage",get:function(){return this._statusMessage},set:function(t){this._statusMessage=t}},{key:"endpointId",get:function(){return this._endpointId},set:function(t){this._endpointId=t}},{key:"report",get:function(){return this._report},set:function(t){this._report=t}},{key:"list",get:function(){return this._list},set:function(t){this._list=t}}])}()}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[25,101,152,352],{180:function(e,t,n){"use strict";n.r(t),n.d(t,"ACListModel",(function(){return p})),n.d(t,"ACRuleModel",(function(){return h})),n.d(t,"StatementACRuleModel",(function(){return y})),n.d(t,"PluginACRuleModel",(function(){return g})),n.d(t,"ClearGraphACRuleModel",(function(){return v})),n.d(t,"SystemACRuleModel",(function(){return _})),n.d(t,"ACL_POLICY",(function(){return R})),n.d(t,"ACL_OPERATION",(function(){return b})),n.d(t,"ACL_SCOPE",(function(){return S})),n.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return A})),n.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return E})),n.d(t,"DEFAULT_URI_VALUES",(function(){return w}));var o=n(24);function r(e){return(r="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"==r(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&&l(e,t)}function l(e,t){return(l=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 s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,d(o.key),o)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}var p=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,o,r,i,u,c,l){var a=m.createRule(e,t,n,o,r,i,u,c,l);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,m.createRule(e)):this._aclRules.set(e,[m.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 o=this._aclRules.get(e);o&&o.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,r){return r!==t&&Object(o.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 m.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),o=n[t-1];n[t-1]=n[t],n[t]=o}},{key:"moveDown",value:function(e,t){var n=this._aclRules.get(e),o=n[t+1];n[t+1]=n[t],n[t]=o}},{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]||{})}}])}(),h=function(){return f((function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.ALLOW;a(this,e),this._scope=t,this._role=n,this._policy=o}),[{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(){}}])}(),y=function(e){function t(e,n,o,r,u,c,l){var s;return a(this,t),(s=i(this,t,[S.STATEMENT,e,n]))._subject=o||"*",s._predicate=r||"*",s._object=u||"*",s._context=c||"*",s._operation=l||b.ALL,s}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}}}])}(h),g=function(e){function t(e,n,o,r){var u;return a(this,t),(u=i(this,t,[S.PLUGIN,e,n]))._plugin=o||"*",u._operation=r||b.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}}}])}(h),v=function(e){function t(e,n,o,r){var u;return a(this,t),(u=i(this,t,[S.CLEAR_GRAPH,e,n]))._context=o||"*",u._defaultResults=r||["*","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}}}])}(h),_=function(e){function t(e,n,o){var r;return a(this,t),(r=i(this,t,[S.SYSTEM,e,n]))._operation=o||b.ALL,r}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}}}])}(h),m=function(){return f((function e(){a(this,e)}),null,[{key:"createRule",value:function(e,t,n,o,r,i,u,c,l){switch(e){case S.STATEMENT:return new y(n,t,r,i,u,c,o);case S.PLUGIN:return new g(n,t,l,o);case S.CLEAR_GRAPH:return new v(n,t,c);case S.SYSTEM:return new _(n,t,o);default:throw new Error("Invalid scope: "+e+" provided")}}}])}(),R={ALLOW:"allow",DENY:"deny"},b={READ:"read",WRITE:"write",ALL:"*"},S={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},A=[{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"}],E=[{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"}],w=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},253:function(e,t){angular.module("graphdb.framework.rest.aclmanagement.service",[]).factory("AclManagementRestService",n),n.$inject=["$http"];function n(e){return{getAcl:function(t){return e.get("".concat("rest/repositories","/").concat(t,"/acl"))},updateAcl:function(t,n){return e.put("".concat("rest/repositories","/").concat(t,"/acl"),n)}}}},254:function(e,t,n){"use strict";n.r(t),n.d(t,"mapAclRulesResponse",(function(){return r}));var o=n(180),r=function(e){var t=new o.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}},373:function(e,t,n){"use strict";n.r(t);n(61),n(253),n(29);var o=n(254),r=n(24),i=n(31),u=n(180);function c(e){return(c="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 l(e,t,n,l,a,s,f,d,p){e.contextValue=void 0;var h=[];e.ruleData={},e.loading=!1,e.namespaces=[],e.rulesModel=void 0,e.rulesModelCopy=void 0,e.selectedRule=void 0,e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.editedRuleCopy=void 0,e.isNewRule=!1,e.modelIsDirty=!1,e.dirtyScope=new Set,e.activeTabScope=u.ACL_SCOPE.STATEMENT,e.ACL_SCOPE=u.ACL_SCOPE,e.DEFAULT_CONTEXT_VALUES=u.DEFAULT_CONTEXT_VALUES,e.DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES=u.DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES,e.DEFAULT_URI_VALUES=u.DEFAULT_URI_VALUES,e.rowHeights={},e.hasCustomPrefix=!1,e.isEditMode=function(){return void 0===e.editedRuleIndex&&e.rulesModel&&e.modelIsDirty&&e.dirtyScope.size>0},e.addRule=function(t,n){e.rulesModel.addRule(t,n),e.showPrefixWarningIcon(!1),e.editedRuleIndex=n,e.editedRuleScope=t,e.isNewRule=!0,m(t)},e.editRule=function(t,n){e.editedRuleIndex=n,e.editedRuleScope=t,e.isNewRule=!1,e.editedRuleCopy=e.rulesModel.getRuleCopy(t,n),e.rulesModel.setPrefixWarningFlag(t,n),e.getRowHeight="height: "+e.rowHeights[e.editedRuleIndex],m(t)},e.deleteRule=function(t,n){f.openConfirmation(s.instant("common.confirm"),s.instant("acl_management.rulestable.messages.delete_rule_confirmation",{index:n+1}),(function(){e.rulesModel.removeRule(t,n),m(t)}))},e.saveRule=function(t){e.rulesModel.setPrefixWarningFlag(e.editedRuleScope,e.editedRuleIndex),e.rulesModel.isRuleDuplicated(e.editedRuleScope,e.editedRuleIndex)?b():(e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.isNewRule=!1,m(t))},e.cancelEditing=function(t,n){e.isNewRule?(e.rulesModel.removeRule(t,n),e.isNewRule=!1):(e.rulesModel.replaceRule(t,n,e.editedRuleCopy),e.editedRuleCopy=void 0),e.rulesModel.setPrefixWarningFlag(t,n),e.editedRuleIndex=void 0,e.editedRuleScope=void 0,m(t)},e.moveUp=function(t,n){e.rulesModel.moveUp(t,n),m(t),e.modelIsDirty?e.selectedRule=n-1:e.selectedRule=void 0},e.moveDown=function(t,n){e.rulesModel.moveDown(t,n),m(t),e.modelIsDirty?e.selectedRule=n+1:e.selectedRule=void 0},e.saveAcl=function(){e.loading=!0,g().then(y).catch((function(e){var t=getError(e);n.error(t,s.instant("acl_management.errors.updating_rules"))})).finally((function(){e.loading=!1}))},e.cancelAclSave=function(){f.openConfirmation(s.instant("common.confirm"),s.instant("acl_management.rulestable.messages.revert_acl_list"),(function(){v(),n.success(s.instant("acl_management.rulestable.messages.rules_reverted"))}))},e.switchTab=function(t,n){void 0===e.editedRuleIndex?(e.selectedRule=void 0,e.activeTabScope=n,e.ruleKeys=e.rulesModel.getRuleKeysByScope(e.activeTabScope)):t.preventDefault()},e.setDirty=function(e){m(e)},e.showPrefixWarningIcon=function(t){e.hasCustomPrefix=t},e.performSearchActionOnEnter=function(t,n,o){13===t.keyCode&&(t.stopPropagation(),t.preventDefault(),e.triggerValidation(o),o.$valid&&e.saveRule(n))},e.triggerValidation=function(e){angular.forEach(e,(function(e){"object"===c(e)&&e.hasOwnProperty("$modelValue")&&e.$setTouched()}))};var y=function(){var t=R();return l.getAcl(t).then((function(t){e.rulesModel=Object(o.mapAclRulesResponse)(t),e.rulesModelCopy=Object(o.mapAclRulesResponse)(t),_()})).catch((function(e){var t=getError(e);n.error(t,s.instant("acl_management.errors.loading_rules"))}))},g=function(){var t=R();return l.updateAcl(t,e.rulesModel.toJSON()).then((function(){n.success(s.instant("acl_management.rulestable.messages.rules_updated"))}))},v=function(){R()&&(e.loading=!0,y().finally((function(){e.loading=!1})))},_=function(){e.selectedRule=void 0,e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.modelIsDirty=!1,e.editedRuleCopy=void 0,e.dirtyScope.clear()},m=function(t){!Object(r.isEqual)(e.rulesModel.getRulesByScope(t),e.rulesModelCopy.getRulesByScope(t))?e.dirtyScope.add(t):e.dirtyScope.delete(t),e.modelIsDirty=e.dirtyScope.size>0},R=function(){return a.getActiveRepository()},b=function(){n.error(s.instant("acl_management.errors.duplicated_rules"))},S=function(t){e.modelIsDirty&&(t.returnValue=!0)},A=function(){window.removeEventListener("beforeunload",S),h.forEach((function(e){return e()}))},E=function(n,o){e.modelIsDirty&&(n.preventDefault(),f.openSimpleModal({title:s.instant("common.confirm"),message:s.instant("acl_management.rulestable.messages.unsaved_changes_confirmation"),warning:!0}).result.then((function(){A();var e=t.absUrl().length-t.url().length,n=o.substring(e);t.path(n)}),(function(){})))},w=function(t){e.isAutocompleteEnabled=t};a.getActiveRepository()&&d.getNamespaces(a.getActiveRepository()).then(i.mapNamespacesResponse).then((function(t){e.namespaces=t})).catch((function(e){var t=getError(e);n.error(t,s.instant("error.getting.namespaces.for.repo"))})),h.push(p.onAutocompleteEnabledUpdated(w)),h.push(e.$watch(R,(function(){_(),v()}))),h.push(e.$on("$locationChangeStart",E)),h.push(e.$on("$destroy",A)),window.addEventListener("beforeunload",S)}angular.module("graphdb.framework.aclmanagement.controllers",["graphdb.framework.rest.plugins.service","graphdb.framework.rest.aclmanagement.service","graphdb.core.services.workbench-context"]).controller("AclManagementCtrl",l),l.$inject=["$scope","$location","toastr","AclManagementRestService","$repositories","$translate","ModalService","RDF4JRepositoriesRestService","WorkbenchContextService"]}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[25,103,153,352],{180:function(e,t,n){"use strict";n.r(t),n.d(t,"ACListModel",(function(){return p})),n.d(t,"ACRuleModel",(function(){return h})),n.d(t,"StatementACRuleModel",(function(){return y})),n.d(t,"PluginACRuleModel",(function(){return g})),n.d(t,"ClearGraphACRuleModel",(function(){return v})),n.d(t,"SystemACRuleModel",(function(){return _})),n.d(t,"ACL_POLICY",(function(){return R})),n.d(t,"ACL_OPERATION",(function(){return b})),n.d(t,"ACL_SCOPE",(function(){return S})),n.d(t,"DEFAULT_CONTEXT_VALUES",(function(){return A})),n.d(t,"DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES",(function(){return E})),n.d(t,"DEFAULT_URI_VALUES",(function(){return w}));var o=n(24);function r(e){return(r="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"==r(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&&l(e,t)}function l(e,t){return(l=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 s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,d(o.key),o)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}var p=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,o,r,i,u,c,l){var a=m.createRule(e,t,n,o,r,i,u,c,l);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,m.createRule(e)):this._aclRules.set(e,[m.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 o=this._aclRules.get(e);o&&o.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,r){return r!==t&&Object(o.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 m.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),o=n[t-1];n[t-1]=n[t],n[t]=o}},{key:"moveDown",value:function(e,t){var n=this._aclRules.get(e),o=n[t+1];n[t+1]=n[t],n[t]=o}},{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]||{})}}])}(),h=function(){return f((function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.ALLOW;a(this,e),this._scope=t,this._role=n,this._policy=o}),[{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(){}}])}(),y=function(e){function t(e,n,o,r,u,c,l){var s;return a(this,t),(s=i(this,t,[S.STATEMENT,e,n]))._subject=o||"*",s._predicate=r||"*",s._object=u||"*",s._context=c||"*",s._operation=l||b.ALL,s}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}}}])}(h),g=function(e){function t(e,n,o,r){var u;return a(this,t),(u=i(this,t,[S.PLUGIN,e,n]))._plugin=o||"*",u._operation=r||b.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}}}])}(h),v=function(e){function t(e,n,o,r){var u;return a(this,t),(u=i(this,t,[S.CLEAR_GRAPH,e,n]))._context=o||"*",u._defaultResults=r||["*","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}}}])}(h),_=function(e){function t(e,n,o){var r;return a(this,t),(r=i(this,t,[S.SYSTEM,e,n]))._operation=o||b.ALL,r}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}}}])}(h),m=function(){return f((function e(){a(this,e)}),null,[{key:"createRule",value:function(e,t,n,o,r,i,u,c,l){switch(e){case S.STATEMENT:return new y(n,t,r,i,u,c,o);case S.PLUGIN:return new g(n,t,l,o);case S.CLEAR_GRAPH:return new v(n,t,c);case S.SYSTEM:return new _(n,t,o);default:throw new Error("Invalid scope: "+e+" provided")}}}])}(),R={ALLOW:"allow",DENY:"deny"},b={READ:"read",WRITE:"write",ALL:"*"},S={STATEMENT:"statement",CLEAR_GRAPH:"clear_graph",PLUGIN:"plugin",SYSTEM:"system"},A=[{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"}],E=[{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"}],w=[{type:"default",value:"*",description:"acl_management.defaults.asterisk"}]},253:function(e,t){angular.module("graphdb.framework.rest.aclmanagement.service",[]).factory("AclManagementRestService",n),n.$inject=["$http"];function n(e){return{getAcl:function(t){return e.get("".concat("rest/repositories","/").concat(t,"/acl"))},updateAcl:function(t,n){return e.put("".concat("rest/repositories","/").concat(t,"/acl"),n)}}}},254:function(e,t,n){"use strict";n.r(t),n.d(t,"mapAclRulesResponse",(function(){return r}));var o=n(180),r=function(e){var t=new o.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}},373:function(e,t,n){"use strict";n.r(t);n(61),n(253),n(29);var o=n(254),r=n(24),i=n(31),u=n(180);function c(e){return(c="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 l(e,t,n,l,a,s,f,d,p){e.contextValue=void 0;var h=[];e.ruleData={},e.loading=!1,e.namespaces=[],e.rulesModel=void 0,e.rulesModelCopy=void 0,e.selectedRule=void 0,e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.editedRuleCopy=void 0,e.isNewRule=!1,e.modelIsDirty=!1,e.dirtyScope=new Set,e.activeTabScope=u.ACL_SCOPE.STATEMENT,e.ACL_SCOPE=u.ACL_SCOPE,e.DEFAULT_CONTEXT_VALUES=u.DEFAULT_CONTEXT_VALUES,e.DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES=u.DEFAULT_CLEAR_GRAPH_CONTEXT_VALUES,e.DEFAULT_URI_VALUES=u.DEFAULT_URI_VALUES,e.rowHeights={},e.hasCustomPrefix=!1,e.isEditMode=function(){return void 0===e.editedRuleIndex&&e.rulesModel&&e.modelIsDirty&&e.dirtyScope.size>0},e.addRule=function(t,n){e.rulesModel.addRule(t,n),e.showPrefixWarningIcon(!1),e.editedRuleIndex=n,e.editedRuleScope=t,e.isNewRule=!0,m(t)},e.editRule=function(t,n){e.editedRuleIndex=n,e.editedRuleScope=t,e.isNewRule=!1,e.editedRuleCopy=e.rulesModel.getRuleCopy(t,n),e.rulesModel.setPrefixWarningFlag(t,n),e.getRowHeight="height: "+e.rowHeights[e.editedRuleIndex],m(t)},e.deleteRule=function(t,n){f.openConfirmation(s.instant("common.confirm"),s.instant("acl_management.rulestable.messages.delete_rule_confirmation",{index:n+1}),(function(){e.rulesModel.removeRule(t,n),m(t)}))},e.saveRule=function(t){e.rulesModel.setPrefixWarningFlag(e.editedRuleScope,e.editedRuleIndex),e.rulesModel.isRuleDuplicated(e.editedRuleScope,e.editedRuleIndex)?b():(e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.isNewRule=!1,m(t))},e.cancelEditing=function(t,n){e.isNewRule?(e.rulesModel.removeRule(t,n),e.isNewRule=!1):(e.rulesModel.replaceRule(t,n,e.editedRuleCopy),e.editedRuleCopy=void 0),e.rulesModel.setPrefixWarningFlag(t,n),e.editedRuleIndex=void 0,e.editedRuleScope=void 0,m(t)},e.moveUp=function(t,n){e.rulesModel.moveUp(t,n),m(t),e.modelIsDirty?e.selectedRule=n-1:e.selectedRule=void 0},e.moveDown=function(t,n){e.rulesModel.moveDown(t,n),m(t),e.modelIsDirty?e.selectedRule=n+1:e.selectedRule=void 0},e.saveAcl=function(){e.loading=!0,g().then(y).catch((function(e){var t=getError(e);n.error(t,s.instant("acl_management.errors.updating_rules"))})).finally((function(){e.loading=!1}))},e.cancelAclSave=function(){f.openConfirmation(s.instant("common.confirm"),s.instant("acl_management.rulestable.messages.revert_acl_list"),(function(){v(),n.success(s.instant("acl_management.rulestable.messages.rules_reverted"))}))},e.switchTab=function(t,n){void 0===e.editedRuleIndex?(e.selectedRule=void 0,e.activeTabScope=n,e.ruleKeys=e.rulesModel.getRuleKeysByScope(e.activeTabScope)):t.preventDefault()},e.setDirty=function(e){m(e)},e.showPrefixWarningIcon=function(t){e.hasCustomPrefix=t},e.performSearchActionOnEnter=function(t,n,o){13===t.keyCode&&(t.stopPropagation(),t.preventDefault(),e.triggerValidation(o),o.$valid&&e.saveRule(n))},e.triggerValidation=function(e){angular.forEach(e,(function(e){"object"===c(e)&&e.hasOwnProperty("$modelValue")&&e.$setTouched()}))};var y=function(){var t=R();return l.getAcl(t).then((function(t){e.rulesModel=Object(o.mapAclRulesResponse)(t),e.rulesModelCopy=Object(o.mapAclRulesResponse)(t),_()})).catch((function(e){var t=getError(e);n.error(t,s.instant("acl_management.errors.loading_rules"))}))},g=function(){var t=R();return l.updateAcl(t,e.rulesModel.toJSON()).then((function(){n.success(s.instant("acl_management.rulestable.messages.rules_updated"))}))},v=function(){R()&&(e.loading=!0,y().finally((function(){e.loading=!1})))},_=function(){e.selectedRule=void 0,e.editedRuleIndex=void 0,e.editedRuleScope=void 0,e.modelIsDirty=!1,e.editedRuleCopy=void 0,e.dirtyScope.clear()},m=function(t){!Object(r.isEqual)(e.rulesModel.getRulesByScope(t),e.rulesModelCopy.getRulesByScope(t))?e.dirtyScope.add(t):e.dirtyScope.delete(t),e.modelIsDirty=e.dirtyScope.size>0},R=function(){return a.getActiveRepository()},b=function(){n.error(s.instant("acl_management.errors.duplicated_rules"))},S=function(t){e.modelIsDirty&&(t.returnValue=!0)},A=function(){window.removeEventListener("beforeunload",S),h.forEach((function(e){return e()}))},E=function(n,o){e.modelIsDirty&&(n.preventDefault(),f.openSimpleModal({title:s.instant("common.confirm"),message:s.instant("acl_management.rulestable.messages.unsaved_changes_confirmation"),warning:!0}).result.then((function(){A();var e=t.absUrl().length-t.url().length,n=o.substring(e);t.path(n)}),(function(){})))},w=function(t){e.isAutocompleteEnabled=t};a.getActiveRepository()&&d.getNamespaces(a.getActiveRepository()).then(i.mapNamespacesResponse).then((function(t){e.namespaces=t})).catch((function(e){var t=getError(e);n.error(t,s.instant("error.getting.namespaces.for.repo"))})),h.push(p.onAutocompleteEnabledUpdated(w)),h.push(e.$watch(R,(function(){_(),v()}))),h.push(e.$on("$locationChangeStart",E)),h.push(e.$on("$destroy",A)),window.addEventListener("beforeunload",S)}angular.module("graphdb.framework.aclmanagement.controllers",["graphdb.framework.rest.plugins.service","graphdb.framework.rest.aclmanagement.service","graphdb.core.services.workbench-context"]).controller("AclManagementCtrl",l),l.$inject=["$scope","$location","toastr","AclManagementRestService","$repositories","$translate","ModalService","RDF4JRepositoriesRestService","WorkbenchContextService"]}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[258],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[258],{138:function(e,t,r){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,u(i.key),i)}}function u(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}r.r(t),r.d(t,"StartMode",(function(){return o})),r.d(t,"GraphsConfig",(function(){return a}));var o={QUERY:"query",NODE:"node",SEARCH:"search"},a=function(){return e=function e(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.SEARCH,s=arguments.length>3?arguments[3]:void 0,u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],c=arguments.length>6?arguments[6]:void 0,h=arguments.length>7?arguments[7]:void 0,y=arguments.length>8?arguments[8]:void 0,p=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0,f=arguments.length>11?arguments[11]:void 0,l=arguments.length>12?arguments[12]:void 0,Q=arguments.length>13?arguments[13]:void 0,_=arguments.length>14?arguments[14]:void 0,g=arguments.length>15?arguments[15]:void 0,v=arguments.length>16?arguments[16]:void 0,b=arguments.length>17?arguments[17]:void 0,I=arguments.length>18?arguments[18]:void 0,m=arguments.length>19?arguments[19]:void 0,k=arguments.length>20?arguments[20]:void 0;n(this,e),this._id=t,this._name=r,this._startMode=i,this._owner=s,this._startQueryIncludeInferred=u,this._startQuerySameAs=a,this._startGraphQuery=c,this._startIRI=h,this._startIRILabel=y,this._expandQuery=p,this._resourceQuery=d,this._predicateLabelQuery=f,this._resourcePropertiesQuery=l,this._shared=Q,this._description=_,this._hint=g,this._startGraphQueryDescription=v,this._expandQueryDescription=b,this._resourceQueryDescription=I,this._predicateLabelQueryDescription=m,this._resourcePropertiesQueryDescription=k},(t=[{key:"isStartMode",value:function(e){return this.startMode===e}},{key:"isDefaultGraph",value:function(){return"Minimal"===this.name||"Advanced"===this.name}},{key:"getPropertyDescription",value:function(e){return this["".concat(e,"Description")]}},{key:"getQueryType",value:function(e){var t;return this.isStartMode(o.QUERY)&&1===e?t=this.startGraphQuery:2===e?t=this.expandQuery:3===e?t=this.resourceQuery:4===e?t=this.predicateLabelQuery:5===e&&(t=this.resourcePropertiesQuery),t||""}},{key:"updateModel",value:function(e,t){return this.isStartMode(o.QUERY)&&1===t?this.startGraphQuery=e:2===t?this.expandQuery=e:3===t?this.resourceQuery=e:4===t?this.predicateLabelQuery=e:5===t&&(this.resourcePropertiesQuery=e),this}},{key:"toSavePayload",value:function(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}},{key:"id",get:function(){return this._id},set:function(e){this._id=e}},{key:"name",get:function(){return this._name},set:function(e){this._name=e}},{key:"startMode",get:function(){return this._startMode},set:function(e){this._startMode=e}},{key:"owner",get:function(){return this._owner},set:function(e){this._owner=e}},{key:"startQueryIncludeInferred",get:function(){return this._startQueryIncludeInferred},set:function(e){this._startQueryIncludeInferred=e}},{key:"startQuerySameAs",get:function(){return this._startQuerySameAs},set:function(e){this._startQuerySameAs=e}},{key:"startGraphQuery",get:function(){return this._startGraphQuery},set:function(e){this._startGraphQuery=e}},{key:"startIRI",get:function(){return this._startIRI},set:function(e){this._startIRI=e}},{key:"startIRILabel",get:function(){return this._startIRILabel},set:function(e){this._startIRILabel=e}},{key:"expandQuery",get:function(){return this._expandQuery},set:function(e){this._expandQuery=e}},{key:"resourceQuery",get:function(){return this._resourceQuery},set:function(e){this._resourceQuery=e}},{key:"predicateLabelQuery",get:function(){return this._predicateLabelQuery},set:function(e){this._predicateLabelQuery=e}},{key:"resourcePropertiesQuery",get:function(){return this._resourcePropertiesQuery},set:function(e){this._resourcePropertiesQuery=e}},{key:"shared",get:function(){return this._shared},set:function(e){this._shared=e}},{key:"description",get:function(){return this._description},set:function(e){this._description=e}},{key:"hint",get:function(){return this._hint},set:function(e){this._hint=e}},{key:"startGraphQueryDescription",get:function(){return this._startGraphQueryDescription},set:function(e){this._startGraphQueryDescription=e}},{key:"expandQueryDescription",get:function(){return this._expandQueryDescription},set:function(e){this._expandQueryDescription=e}},{key:"resourceQueryDescription",get:function(){return this._resourceQueryDescription},set:function(e){this._resourceQueryDescription=e}},{key:"predicateLabelQueryDescription",get:function(){return this._predicateLabelQueryDescription},set:function(e){this._predicateLabelQueryDescription=e}},{key:"resourcePropertiesQueryDescription",get:function(){return this._resourcePropertiesQueryDescription},set:function(e){this._resourcePropertiesQueryDescription=e}}])&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[26,263,264],{105:function(R,N,r){"use strict";r.r(N),r.d(N,"ImportResourceStatus",(function(){return t}));var t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[26,263,264],{105:function(R,N,r){"use strict";r.r(N),r.d(N,"ImportResourceStatus",(function(){return t}));var t={NONE:"NONE",UPLOADING:"UPLOADING",UPLOAD_ERROR:"UPLOAD_ERROR",UPLOADED:"UPLOADED",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},152:function(R,N,r){"use strict";r.r(N),r.d(N,"ImportResourceType",(function(){return t}));var t={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[264],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[264],{152:function(e,r,n){"use strict";n.r(r),n.d(r,"ImportResourceType",(function(){return o}));var o={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[287],{
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[287],{156:function(e,E,n){"use strict";n.r(E),n.d(E,"EventDataType",(function(){return o}));var o={DOWNLOAD_AS:"downloadAs",NOTIFICATION_MESSAGE:"notificationMessage",QUERY:"query",COUNT_QUERY:"countQuery",COUNT_QUERY_RESPONSE:"countQueryResponse",REQUEST_ABORTED:"requestAborted",QUERY_EXECUTED:"queryExecuted",SAVE_QUERY_OPENED:"saveQueryOpened"}}}]);
|