graphdb-workbench 3.2.0-TR1 → 3.2.0-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/10142.dae0223e0a1d85ad72fe.bundle.js +2 -0
- package/dist/10142.dae0223e0a1d85ad72fe.bundle.js.map +1 -0
- package/dist/{10376.e89fa63ff898d45f45fd.bundle.js → 10376.2723c52982b51c64bffb.bundle.js} +2 -2
- package/dist/10376.2723c52982b51c64bffb.bundle.js.map +1 -0
- package/dist/{12396.4c26c8da50c790b0f39a.bundle.js → 12396.9a7f2862146b6f9adcb1.bundle.js} +2 -2
- package/dist/{12396.4c26c8da50c790b0f39a.bundle.js.map → 12396.9a7f2862146b6f9adcb1.bundle.js.map} +1 -1
- package/dist/12940.7a45ae43d5f3ba6e7d83.bundle.js +2 -0
- package/dist/12940.7a45ae43d5f3ba6e7d83.bundle.js.map +1 -0
- package/dist/14824.a3bc164c5bf4313f5276.bundle.js +2 -0
- package/dist/14824.a3bc164c5bf4313f5276.bundle.js.map +1 -0
- package/dist/{15535.ce8d657c04f3401b9539.bundle.js → 15535.7b170e17ee0a58970ab6.bundle.js} +2 -2
- package/dist/{15535.ce8d657c04f3401b9539.bundle.js.map → 15535.7b170e17ee0a58970ab6.bundle.js.map} +1 -1
- package/dist/{16162.8f482628d1b34d41d496.bundle.js → 16162.67e7c1f5f313481b1e80.bundle.js} +2 -2
- package/dist/{16162.8f482628d1b34d41d496.bundle.js.map → 16162.67e7c1f5f313481b1e80.bundle.js.map} +1 -1
- package/dist/18961.5e34171366c281038fe5.bundle.js +2 -0
- package/dist/18961.5e34171366c281038fe5.bundle.js.map +1 -0
- package/dist/20227.a9333aa1320edea7264b.bundle.js +2 -0
- package/dist/20227.a9333aa1320edea7264b.bundle.js.map +1 -0
- package/dist/{20287.c42f9d1d913c36e46931.bundle.js → 20287.dd5bc263fe26adf34965.bundle.js} +2 -2
- package/dist/{20287.c42f9d1d913c36e46931.bundle.js.map → 20287.dd5bc263fe26adf34965.bundle.js.map} +1 -1
- package/dist/{21136.199caea09a1c9ad90393.bundle.js → 21136.b7efcb40fb956ff1109c.bundle.js} +2 -2
- package/dist/{21136.199caea09a1c9ad90393.bundle.js.map → 21136.b7efcb40fb956ff1109c.bundle.js.map} +1 -1
- package/dist/{21142.b690e00c8884fddb2bb3.bundle.js → 21142.ec45fad4d52b36961d17.bundle.js} +2 -2
- package/dist/{21142.b690e00c8884fddb2bb3.bundle.js.map → 21142.ec45fad4d52b36961d17.bundle.js.map} +1 -1
- package/dist/{21170.d5e3041241741d21080c.bundle.js → 21170.7832554eab9eaade6ffb.bundle.js} +2 -2
- package/dist/{21170.d5e3041241741d21080c.bundle.js.map → 21170.7832554eab9eaade6ffb.bundle.js.map} +1 -1
- package/dist/{21195.267abc9d42b711d0f17a.bundle.js → 21195.caae6cc33d755ad52df4.bundle.js} +2 -2
- package/dist/{21195.267abc9d42b711d0f17a.bundle.js.map → 21195.caae6cc33d755ad52df4.bundle.js.map} +1 -1
- package/dist/{25747.4e00941ec221c4d6ce8f.bundle.js → 25747.c01110e23b922cdd3d9e.bundle.js} +2 -2
- package/dist/{25747.4e00941ec221c4d6ce8f.bundle.js.map → 25747.c01110e23b922cdd3d9e.bundle.js.map} +1 -1
- package/dist/{27580.f71ebbc69dd1c7785ef3.bundle.js → 27580.5a421770ab66d2dedc37.bundle.js} +2 -2
- package/dist/{27580.f71ebbc69dd1c7785ef3.bundle.js.map → 27580.5a421770ab66d2dedc37.bundle.js.map} +1 -1
- package/dist/{28050.8ca1fa760c892bfc5466.bundle.js → 28050.6960a4a0961a07a94743.bundle.js} +2 -2
- package/dist/28050.6960a4a0961a07a94743.bundle.js.map +1 -0
- package/dist/{31636.e34ccc2d6f2dec577446.bundle.js → 31636.54e2817f8ae3998a34b3.bundle.js} +2 -2
- package/dist/{31636.e34ccc2d6f2dec577446.bundle.js.map → 31636.54e2817f8ae3998a34b3.bundle.js.map} +1 -1
- package/dist/{32489.97fac2c3daa49b143d13.bundle.js → 32489.f7a2dc39cd61c2cd8874.bundle.js} +2 -2
- package/dist/{32489.97fac2c3daa49b143d13.bundle.js.map → 32489.f7a2dc39cd61c2cd8874.bundle.js.map} +1 -1
- package/dist/33524.79f7e98ef89a46d4aa58.bundle.js +2 -0
- package/dist/33524.79f7e98ef89a46d4aa58.bundle.js.map +1 -0
- package/dist/{34495.cfa15bda8009fa37c6ff.bundle.js → 34495.be67c06c39909114bbe4.bundle.js} +2 -2
- package/dist/{34495.cfa15bda8009fa37c6ff.bundle.js.map → 34495.be67c06c39909114bbe4.bundle.js.map} +1 -1
- package/dist/{38360.0a90e77042876c86b279.bundle.js → 38360.efec913bb97c3b8588a4.bundle.js} +2 -2
- package/dist/{38360.0a90e77042876c86b279.bundle.js.map → 38360.efec913bb97c3b8588a4.bundle.js.map} +1 -1
- package/dist/{38644.3a0954c798ec413a3810.bundle.js → 38644.800252af49cd67310834.bundle.js} +2 -2
- package/dist/{38644.3a0954c798ec413a3810.bundle.js.map → 38644.800252af49cd67310834.bundle.js.map} +1 -1
- package/dist/{38843.5ef7a063337524ce3bb2.bundle.js → 38843.29e34a5e5293cee51566.bundle.js} +2 -2
- package/dist/{38843.5ef7a063337524ce3bb2.bundle.js.map → 38843.29e34a5e5293cee51566.bundle.js.map} +1 -1
- package/dist/{39518.4199684f3273d29d9105.bundle.js → 39518.0ca97879b92271d7c5e2.bundle.js} +2 -2
- package/dist/{39518.4199684f3273d29d9105.bundle.js.map → 39518.0ca97879b92271d7c5e2.bundle.js.map} +1 -1
- package/dist/{39539.c23e4878044d73f2505b.bundle.js → 39539.7cea6717cc3a5ba91617.bundle.js} +2 -2
- package/dist/{39539.c23e4878044d73f2505b.bundle.js.map → 39539.7cea6717cc3a5ba91617.bundle.js.map} +1 -1
- package/dist/{41453.8bb4c783da2c5077a6e9.bundle.js → 41453.4ae219d972a187c36bfc.bundle.js} +2 -2
- package/dist/{41453.8bb4c783da2c5077a6e9.bundle.js.map → 41453.4ae219d972a187c36bfc.bundle.js.map} +1 -1
- package/dist/41621.624ba3d867bc05b5c3cc.bundle.js +2 -0
- package/dist/41621.624ba3d867bc05b5c3cc.bundle.js.map +1 -0
- package/dist/{42129.f44b7b20f9cd376c6e59.bundle.js → 42129.0314e45b4b818b01b71f.bundle.js} +2 -2
- package/dist/{42129.f44b7b20f9cd376c6e59.bundle.js.map → 42129.0314e45b4b818b01b71f.bundle.js.map} +1 -1
- package/dist/{44444.ad66c8256bc5b653de1a.bundle.js → 44444.02026ff20e2a843dc05b.bundle.js} +2 -2
- package/dist/{44444.ad66c8256bc5b653de1a.bundle.js.map → 44444.02026ff20e2a843dc05b.bundle.js.map} +1 -1
- package/dist/45069.82993bf600a550fac275.bundle.js +2 -0
- package/dist/45069.82993bf600a550fac275.bundle.js.map +1 -0
- package/dist/{456.6118cb99d130f4c0410c.bundle.js → 456.634597f220a97bfbeab8.bundle.js} +2 -2
- package/dist/456.634597f220a97bfbeab8.bundle.js.map +1 -0
- package/dist/45758.9ffd8e7d5f99e2c394a2.bundle.js +2 -0
- package/dist/45758.9ffd8e7d5f99e2c394a2.bundle.js.map +1 -0
- package/dist/{52264.99261393a7f6e631da3b.bundle.js → 52264.4cf2f1a18d16484f0af1.bundle.js} +2 -2
- package/dist/52264.4cf2f1a18d16484f0af1.bundle.js.map +1 -0
- package/dist/54419.aec242a64c27ceda6e02.bundle.js +2 -0
- package/dist/54419.aec242a64c27ceda6e02.bundle.js.map +1 -0
- package/dist/5470.58e107e4c61ae7c22d48.bundle.js +2 -0
- package/dist/5470.58e107e4c61ae7c22d48.bundle.js.map +1 -0
- package/dist/{55862.1fb5abd075ba11a7e93c.bundle.js → 55862.5e8602827fbf72e60cc2.bundle.js} +2 -2
- package/dist/{55862.1fb5abd075ba11a7e93c.bundle.js.map → 55862.5e8602827fbf72e60cc2.bundle.js.map} +1 -1
- package/dist/{58306.ba9545cbaee021ebcbce.bundle.js → 58306.94b9336f68d11bdd72f0.bundle.js} +2 -2
- package/dist/{58306.ba9545cbaee021ebcbce.bundle.js.map → 58306.94b9336f68d11bdd72f0.bundle.js.map} +1 -1
- package/dist/58334.8a2bdb0560e0ce23f792.bundle.js +2 -0
- package/dist/58334.8a2bdb0560e0ce23f792.bundle.js.map +1 -0
- package/dist/60560.2ef51d3e2d9674450419.bundle.js +2 -0
- package/dist/60560.2ef51d3e2d9674450419.bundle.js.map +1 -0
- package/dist/64118.fb6952c8ef6fc9117f35.bundle.js +2 -0
- package/dist/64118.fb6952c8ef6fc9117f35.bundle.js.map +1 -0
- package/dist/66014.d9f7b86d6829ebfe9d0e.bundle.js +2 -0
- package/dist/66014.d9f7b86d6829ebfe9d0e.bundle.js.map +1 -0
- package/dist/{67888.7d4966e0a22ba655f1b8.bundle.js → 67888.772326168aed83cbad9c.bundle.js} +2 -2
- package/dist/67888.772326168aed83cbad9c.bundle.js.map +1 -0
- package/dist/69724.56df2d5b2ba312cb8118.bundle.js +2 -0
- package/dist/69724.56df2d5b2ba312cb8118.bundle.js.map +1 -0
- package/dist/{72379.bac50d0011665a85b6cd.bundle.js → 72379.8a3290df05f18f8c65bd.bundle.js} +2 -2
- package/dist/{72379.bac50d0011665a85b6cd.bundle.js.map → 72379.8a3290df05f18f8c65bd.bundle.js.map} +1 -1
- package/dist/{73667.3dd4f377e7ef54fd8758.bundle.js → 73667.52fdbdadddafe9e9559b.bundle.js} +2 -2
- package/dist/{73667.3dd4f377e7ef54fd8758.bundle.js.map → 73667.52fdbdadddafe9e9559b.bundle.js.map} +1 -1
- package/dist/{73793.6d80d47c26ed60a587fd.bundle.js → 73793.7e812bab1754ddd5efb5.bundle.js} +2 -2
- package/dist/{73793.6d80d47c26ed60a587fd.bundle.js.map → 73793.7e812bab1754ddd5efb5.bundle.js.map} +1 -1
- package/dist/{75282.88819e851ed18720b275.bundle.js → 75282.2f97d3a7d7f3fdd7aebf.bundle.js} +2 -2
- package/dist/{75282.88819e851ed18720b275.bundle.js.map → 75282.2f97d3a7d7f3fdd7aebf.bundle.js.map} +1 -1
- package/dist/{75849.51ade15bf0074eab76f3.bundle.js → 75849.bd0bdefa903741034a71.bundle.js} +2 -2
- package/dist/{75849.51ade15bf0074eab76f3.bundle.js.map → 75849.bd0bdefa903741034a71.bundle.js.map} +1 -1
- package/dist/77143.e0cb9ab61d798d7b5e0b.bundle.js +2 -0
- package/dist/77143.e0cb9ab61d798d7b5e0b.bundle.js.map +1 -0
- package/dist/78070.21b221881c2b49603eb9.bundle.js +2 -0
- package/dist/78070.21b221881c2b49603eb9.bundle.js.map +1 -0
- package/dist/{78250.6db42146a120459280e4.bundle.js → 78250.73e3013c5b2ebdddbf38.bundle.js} +2 -2
- package/dist/{78250.6db42146a120459280e4.bundle.js.map → 78250.73e3013c5b2ebdddbf38.bundle.js.map} +1 -1
- package/dist/78681.7b1c9100e03c2346550a.bundle.js +2 -0
- package/dist/78681.7b1c9100e03c2346550a.bundle.js.map +1 -0
- package/dist/{79329.5a5cbfa466d1c62af915.bundle.js → 79329.3d912887ba7e96090fb4.bundle.js} +2 -2
- package/dist/{79329.5a5cbfa466d1c62af915.bundle.js.map → 79329.3d912887ba7e96090fb4.bundle.js.map} +1 -1
- package/dist/81837.a989b5e255a0ce6176b2.bundle.js +2 -0
- package/dist/81837.a989b5e255a0ce6176b2.bundle.js.map +1 -0
- package/dist/82206.fd868720394b9dc2adac.bundle.js +2 -0
- package/dist/82206.fd868720394b9dc2adac.bundle.js.map +1 -0
- package/dist/82293.5e41c8378272aabf99f6.bundle.js +2 -0
- package/dist/82293.5e41c8378272aabf99f6.bundle.js.map +1 -0
- package/dist/82896.4787d205b19befaf263a.bundle.js +2 -0
- package/dist/82896.4787d205b19befaf263a.bundle.js.map +1 -0
- package/dist/{82926.93dbf44f2bcccba34e9b.bundle.js → 82926.93a59d42bf8d49aaac8e.bundle.js} +2 -2
- package/dist/{82926.93dbf44f2bcccba34e9b.bundle.js.map → 82926.93a59d42bf8d49aaac8e.bundle.js.map} +1 -1
- package/dist/{83136.56d692623cbc60048e03.bundle.js → 83136.4941a19a85eb34ca370a.bundle.js} +2 -2
- package/dist/83136.4941a19a85eb34ca370a.bundle.js.map +1 -0
- package/dist/{84727.b93b2f9857352d39b241.bundle.js → 84727.2e3214ad60bd59f435e2.bundle.js} +2 -2
- package/dist/84727.2e3214ad60bd59f435e2.bundle.js.map +1 -0
- package/dist/85281.76d06e1c26137bb4b417.bundle.js +2 -0
- package/dist/85281.76d06e1c26137bb4b417.bundle.js.map +1 -0
- package/dist/{86639.ab85108411ef0f006e10.bundle.js → 86639.d28da26b8f138f5eb19b.bundle.js} +2 -2
- package/dist/86639.d28da26b8f138f5eb19b.bundle.js.map +1 -0
- package/dist/89647.219c4eb306757647ae1c.bundle.js +2 -0
- package/dist/89647.219c4eb306757647ae1c.bundle.js.map +1 -0
- package/dist/{9062.d9049833d076191d3e1a.bundle.js → 9062.3541de664710a36fdac7.bundle.js} +2 -2
- package/dist/{9062.d9049833d076191d3e1a.bundle.js.map → 9062.3541de664710a36fdac7.bundle.js.map} +1 -1
- package/dist/95953.44049d81dd4879f745f9.bundle.js +2 -0
- package/dist/95953.44049d81dd4879f745f9.bundle.js.map +1 -0
- package/dist/96248.83e4f0c66a9f58161a66.bundle.js +2 -0
- package/dist/96248.83e4f0c66a9f58161a66.bundle.js.map +1 -0
- package/dist/98494.969124a68766ebbdee3c.bundle.js +3 -0
- package/dist/98494.969124a68766ebbdee3c.bundle.js.map +1 -0
- package/dist/99379.1b108abf4421ccee2973.bundle.js +2 -0
- package/dist/99379.1b108abf4421ccee2973.bundle.js.map +1 -0
- package/dist/{99448.314018d0afb1af150ddf.bundle.js → 99448.384b74c734331e5f8909.bundle.js} +2 -2
- package/dist/{99448.314018d0afb1af150ddf.bundle.js.map → 99448.384b74c734331e5f8909.bundle.js.map} +1 -1
- package/dist/99893.6ac254ca3f59996b2a52.bundle.js +2 -0
- package/dist/99893.6ac254ca3f59996b2a52.bundle.js.map +1 -0
- package/dist/api/models/configuration/configuration.d.ts +5 -0
- package/dist/api/models/logging/log-level.d.ts +7 -0
- package/dist/api/models/logging/logger-config.d.ts +19 -0
- package/dist/api/models/logging/logger-definitions.d.ts +7 -0
- package/dist/api/models/logging/logger-type.d.ts +3 -0
- package/dist/api/models/logging/logger.d.ts +15 -0
- package/dist/api/models/storage/storage-data.d.ts +1 -0
- package/dist/api/ontotext-workbench-api.d.ts +1 -0
- package/dist/api/ontotext-workbench-api.js +1 -1
- package/dist/api/ontotext-workbench-api.js.map +1 -1
- package/dist/api/services/logging/console/console-logger.service.d.ts +19 -0
- package/dist/api/services/logging/index.d.ts +2 -0
- package/dist/api/services/logging/logger-provider.d.ts +11 -0
- package/dist/api/services/logging/logger-service.d.ts +63 -0
- package/dist/api/services/logging/loggers.d.ts +15 -0
- package/dist/api/services/logging/test/loggers.spec.d.ts +1 -0
- package/dist/api/services/plugins/plugins-rest.service.d.ts +1 -0
- package/dist/api/services/plugins/plugins.service.d.ts +1 -0
- package/dist/api/services/repository/repository-storage.service.d.ts +1 -0
- package/dist/api/services/storage/local-storage-subscription-handler.service.d.ts +1 -0
- package/dist/api/services/utils/routing-utils.d.ts +1 -1
- package/dist/assets/configuration.default.json +5 -1
- package/dist/index.html +10 -8
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
- 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/core/templates/editable-content/editable-content.html +1 -1
- package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
- package/dist/js/angular/core/templates/search-resource-input.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/modal/external-integration-configuration-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/legacyWorkbench.2bd696723af2573e8bb7.js +3 -0
- package/dist/{legacyWorkbench.57fc12c172f6350ac4c5.js.map → legacyWorkbench.2bd696723af2573e8bb7.js.map} +1 -1
- package/dist/{main.b9a83da68ffc43c91de0.js → main.be51ba05166a17f051a0.js} +3 -3
- package/dist/main.be51ba05166a17f051a0.js.map +1 -0
- 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/login.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/plugins.js +1 -1
- package/dist/res/swagger5/index.html +11 -11
- package/dist/shared-components/cjs/onto-cookie-consent_2.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-dialog_2.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-dropdown.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-footer_6.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/onto-language-selector_9.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/translate-label.cjs.entry.js +1 -1
- package/dist/shared-components/cjs/translation.service-CC6jY4U-.js +1 -0
- package/dist/shared-components/collection/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.js +1 -1
- package/dist/shared-components/collection/components/onto-dropdown/onto-dropdown.js +1 -1
- package/dist/shared-components/collection/components/onto-navbar/navbar-service.js +1 -1
- package/dist/shared-components/collection/services/logger-provider.js +1 -0
- package/dist/shared-components/collection/services/translation.service.js +1 -1
- package/dist/shared-components/esm/onto-cookie-consent_2.entry.js +1 -1
- package/dist/shared-components/esm/onto-dialog_2.entry.js +1 -1
- package/dist/shared-components/esm/onto-dropdown.entry.js +1 -1
- package/dist/shared-components/esm/onto-footer_6.entry.js +1 -1
- package/dist/shared-components/esm/onto-language-selector_9.entry.js +1 -1
- package/dist/shared-components/esm/translate-label.entry.js +1 -1
- package/dist/shared-components/esm/translation.service-nljGIprK.js +1 -0
- package/dist/shared-components/shared-components/p-09a97d11.entry.js +1 -0
- package/dist/shared-components/shared-components/p-21b82a97.entry.js +1 -0
- package/dist/shared-components/shared-components/p-8d20ae56.entry.js +1 -0
- package/dist/shared-components/shared-components/{p-91ad7f7f.entry.js → p-9131b137.entry.js} +1 -1
- package/dist/shared-components/shared-components/{p-1bc2ac8e.entry.js → p-e454ffc9.entry.js} +1 -1
- package/dist/shared-components/shared-components/{p-17bac1e3.entry.js → p-f9aa2123.entry.js} +1 -1
- package/dist/shared-components/shared-components/p-nljGIprK.js +1 -0
- package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
- package/dist/shared-components/types/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.d.ts +1 -0
- package/dist/shared-components/types/components/onto-dropdown/onto-dropdown.d.ts +1 -0
- package/dist/shared-components/types/services/logger-provider.d.ts +11 -0
- package/dist/shared-components/types/services/translation.service.d.ts +1 -0
- package/dist/styleguide.9451f25d197464f4079c.js +2 -0
- package/dist/styleguide.9451f25d197464f4079c.js.map +1 -0
- package/dist/workbench/workbench/workbenchApp.js +1 -1
- package/package.json +1 -1
- package/dist/10142.f47cd2aec05492fce7ce.bundle.js +0 -2
- package/dist/10142.f47cd2aec05492fce7ce.bundle.js.map +0 -1
- package/dist/10376.e89fa63ff898d45f45fd.bundle.js.map +0 -1
- package/dist/12940.5b35c2cf5958d8769c0a.bundle.js +0 -2
- package/dist/12940.5b35c2cf5958d8769c0a.bundle.js.map +0 -1
- package/dist/14824.5d5041c05fca4c0373fa.bundle.js +0 -2
- package/dist/14824.5d5041c05fca4c0373fa.bundle.js.map +0 -1
- package/dist/18961.c6505525fb0491b48f8b.bundle.js +0 -2
- package/dist/18961.c6505525fb0491b48f8b.bundle.js.map +0 -1
- package/dist/19968.fdb823f9a12e11a633ec.bundle.js +0 -2
- package/dist/19968.fdb823f9a12e11a633ec.bundle.js.map +0 -1
- package/dist/20227.ab5dfaab392dbb16ba31.bundle.js +0 -2
- package/dist/20227.ab5dfaab392dbb16ba31.bundle.js.map +0 -1
- package/dist/28050.8ca1fa760c892bfc5466.bundle.js.map +0 -1
- package/dist/33524.35fe079bcb99a78babaf.bundle.js +0 -2
- package/dist/33524.35fe079bcb99a78babaf.bundle.js.map +0 -1
- package/dist/41621.68c5ebc2104a62e2b41d.bundle.js +0 -2
- package/dist/41621.68c5ebc2104a62e2b41d.bundle.js.map +0 -1
- package/dist/456.6118cb99d130f4c0410c.bundle.js.map +0 -1
- package/dist/45758.6ceb731cbe0576149f31.bundle.js +0 -2
- package/dist/45758.6ceb731cbe0576149f31.bundle.js.map +0 -1
- package/dist/52264.99261393a7f6e631da3b.bundle.js.map +0 -1
- package/dist/54419.f09240da9349be115ab3.bundle.js +0 -2
- package/dist/54419.f09240da9349be115ab3.bundle.js.map +0 -1
- package/dist/5470.7c17c7d3b58c8c0d0786.bundle.js +0 -2
- package/dist/5470.7c17c7d3b58c8c0d0786.bundle.js.map +0 -1
- package/dist/58334.6fdc74532b5f755916d8.bundle.js +0 -2
- package/dist/58334.6fdc74532b5f755916d8.bundle.js.map +0 -1
- package/dist/60560.37740d97b418899a5d21.bundle.js +0 -2
- package/dist/60560.37740d97b418899a5d21.bundle.js.map +0 -1
- package/dist/64118.9841bd3b9724868b8a63.bundle.js +0 -2
- package/dist/64118.9841bd3b9724868b8a63.bundle.js.map +0 -1
- package/dist/66014.336bc4291da2fbc96cd1.bundle.js +0 -2
- package/dist/66014.336bc4291da2fbc96cd1.bundle.js.map +0 -1
- package/dist/67888.7d4966e0a22ba655f1b8.bundle.js.map +0 -1
- package/dist/69724.1a97fa707ee1379409e9.bundle.js +0 -2
- package/dist/69724.1a97fa707ee1379409e9.bundle.js.map +0 -1
- package/dist/77143.f23d8a7fa51df083741c.bundle.js +0 -2
- package/dist/77143.f23d8a7fa51df083741c.bundle.js.map +0 -1
- package/dist/78070.b5e22ffae27cc3ca7a6f.bundle.js +0 -2
- package/dist/78070.b5e22ffae27cc3ca7a6f.bundle.js.map +0 -1
- package/dist/78681.39694d37c0f75ea04df6.bundle.js +0 -2
- package/dist/78681.39694d37c0f75ea04df6.bundle.js.map +0 -1
- package/dist/81837.f10e22eaf72a0642b50e.bundle.js +0 -2
- package/dist/81837.f10e22eaf72a0642b50e.bundle.js.map +0 -1
- package/dist/82206.8ec983edcf675cfd4531.bundle.js +0 -2
- package/dist/82206.8ec983edcf675cfd4531.bundle.js.map +0 -1
- package/dist/82293.a9bb9cd640c007cc1e91.bundle.js +0 -2
- package/dist/82293.a9bb9cd640c007cc1e91.bundle.js.map +0 -1
- package/dist/82896.9aed45baf67510717c6f.bundle.js +0 -2
- package/dist/82896.9aed45baf67510717c6f.bundle.js.map +0 -1
- package/dist/83136.56d692623cbc60048e03.bundle.js.map +0 -1
- package/dist/84727.b93b2f9857352d39b241.bundle.js.map +0 -1
- package/dist/85281.27b5a1eb8e7ac2cf8459.bundle.js +0 -2
- package/dist/85281.27b5a1eb8e7ac2cf8459.bundle.js.map +0 -1
- package/dist/86639.ab85108411ef0f006e10.bundle.js.map +0 -1
- package/dist/89647.b1a4e522d685f0b5d60f.bundle.js +0 -2
- package/dist/89647.b1a4e522d685f0b5d60f.bundle.js.map +0 -1
- package/dist/95953.4ea6a7c68a22779ba299.bundle.js +0 -2
- package/dist/95953.4ea6a7c68a22779ba299.bundle.js.map +0 -1
- package/dist/96248.1b85f989b0a7852c9b7b.bundle.js +0 -2
- package/dist/96248.1b85f989b0a7852c9b7b.bundle.js.map +0 -1
- package/dist/98494.a2cdb2a1c5d32d0094f3.bundle.js +0 -3
- package/dist/98494.a2cdb2a1c5d32d0094f3.bundle.js.map +0 -1
- package/dist/99379.be6c85ef305af6667dc1.bundle.js +0 -2
- package/dist/99379.be6c85ef305af6667dc1.bundle.js.map +0 -1
- package/dist/99893.2537d77ee1f4df0c846b.bundle.js +0 -2
- package/dist/99893.2537d77ee1f4df0c846b.bundle.js.map +0 -1
- package/dist/legacyWorkbench.57fc12c172f6350ac4c5.js +0 -3
- package/dist/main.b9a83da68ffc43c91de0.js.map +0 -1
- package/dist/shared-components/cjs/translation.service-DjdwDpXN.js +0 -1
- package/dist/shared-components/esm/translation.service-Hf6024E7.js +0 -1
- package/dist/shared-components/shared-components/p-2433b25f.entry.js +0 -1
- package/dist/shared-components/shared-components/p-25fa0ee5.entry.js +0 -1
- package/dist/shared-components/shared-components/p-6266be98.entry.js +0 -1
- package/dist/shared-components/shared-components/p-Hf6024E7.js +0 -1
- /package/dist/{98494.a2cdb2a1c5d32d0094f3.bundle.js.LICENSE.txt → 98494.969124a68766ebbdee3c.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{legacyWorkbench.57fc12c172f6350ac4c5.js.LICENSE.txt → legacyWorkbench.2bd696723af2573e8bb7.js.LICENSE.txt} +0 -0
- /package/dist/{main.b9a83da68ffc43c91de0.js.LICENSE.txt → main.be51ba05166a17f051a0.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"99893.6ac254ca3f59996b2a52.bundle.js","mappings":"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","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/models/sparql-template/sparql-template-info.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/ontotext-yasgui/rendering-mode.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/utils/notifications.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/ontotext-yasgui/yasqe-mode.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/models/sparql-template/sparql-template-error.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/sparql-template/controllers.js"],"sourcesContent":["export const DEFAULT_SPARQL_QUERY = 'PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\\n' +\n 'PREFIX ex: <http://example.com#>\\n' +\n 'DELETE {\\n' +\n ' ?subject ex:myPredicate ?oldValue .\\n' +\n '} INSERT {\\n' +\n ' ?subject ex:myPredicate ?newValue .\\n' +\n '} WHERE {\\n' +\n ' ?id rdf:type ex:MyType .\\n' +\n ' ?subject ex:isRelatedTo ?id .\\n' +\n '}\\n';\n\n/**\n * Hold information about a SPARQL template.\n */\nexport class SparqlTemplateInfo {\n constructor(query = DEFAULT_SPARQL_QUERY, isNewTemplate = true, templateID = undefined) {\n this.query = query;\n this.templateID = templateID;\n this.isNewTemplate = isNewTemplate;\n this.templateExist = false;\n this.isValidTemplateId = true;\n this.isValidQuery = true;\n this.isValidQueryMode = true;\n }\n}\n","export const RenderingMode = {\n YASGUI: 'mode-yasgui',\n YASQE: 'mode-yasqe',\n YASR: 'mode-yasr'\n};\n","angular\n .module('graphdb.framework.utils.notifications', [])\n .factory('Notifications', Notifications);\n\nNotifications.$inject = ['toastr', '$translate'];\n\nfunction Notifications(toastr, $translate) {\n return {\n showToastMessageWithDelay\n };\n\n /**\n * This method will show message with tiny delay and only after completion\n * of latter redirection to \"graphs-visualizations\" page will happen.\n * @param {string} message The message to be displayed.\n * @return {Promise<any>}\n */\n function showToastMessageWithDelay(message) {\n return new Promise((r) => {\n toastr.success($translate.instant(message));\n setTimeout(r, 300);\n });\n }\n}\n","export const YasqeMode = {\n /**\n * The query can be edited.\n */\n WRITE: 'WRITE',\n\n /**\n * The editor is read-only, but the query can be copied.\n */\n READ: 'READ',\n\n /**\n * The editor is read-only and the query can't be copied.\n */\n PROTECTED: 'PROTECTED'\n};\n","export class SparqlTemplateError extends Error {\n\n}\n","import 'angular/core/services';\nimport 'angular/core/services/repositories.service';\nimport 'angular/rest/monitoring.rest.service';\nimport 'angular/utils/notifications';\nimport 'angular/utils/uri-utils';\nimport 'angular/core/services/event-emitter-service';\nimport {decodeHTML} from \"../../../app\";\nimport {DEFAULT_SPARQL_QUERY, SparqlTemplateInfo} from \"../models/sparql-template/sparql-template-info\";\nimport {SparqlTemplateError} from \"../models/sparql-template/sparql-template-error\";\nimport {YasqeMode} from \"../models/ontotext-yasgui/yasqe-mode\";\nimport {RenderingMode} from \"../models/ontotext-yasgui/rendering-mode\";\nimport {\n DISABLE_YASQE_BUTTONS_CONFIGURATION,\n YasguiComponentDirectiveUtil,\n} from \"../core/directives/yasgui-component/yasgui-component-directive.util\";\nimport {RepositoryContextService, ServiceProvider} from \"@ontotext/workbench-api\";\nimport {LoggerProvider} from \"../core/services/logger-provider\";\n\nconst modules = [\n 'ui.bootstrap',\n 'graphdb.framework.core.services.repositories',\n 'graphdb.framework.rest.monitoring.service',\n 'toastr',\n 'graphdb.framework.utils.event-emitter-service',\n];\n\nconst logger = LoggerProvider.logger;\n\nangular.module('graphdb.framework.sparql-template.controllers', modules, [\n 'graphdb.framework.utils.notifications',\n])\n .controller('SparqlTemplatesCtrl', SparqlTemplatesCtrl)\n .controller('SparqlTemplateCreateCtrl', SparqlTemplateCreateCtrl);\n\nSparqlTemplatesCtrl.$inject = ['$scope', '$repositories', 'SparqlTemplatesRestService', 'toastr', 'ModalService', '$licenseService', '$translate'];\n\nfunction SparqlTemplatesCtrl($scope, $repositories, SparqlTemplatesRestService, toastr, ModalService, $licenseService, $translate) {\n $scope.pluginName = 'sparql-template';\n\n // =========================\n // Public functions\n // =========================\n $scope.setPluginIsActive = function(isPluginActive) {\n $scope.pluginIsActive = isPluginActive;\n };\n\n $scope.getSparqlTemplates = function() {\n // Only do this if there is an active repo that isn't an Ontop repo.\n // Ontop repos doesn't support update operations.\n if ($licenseService.isLicenseValid() &&\n $repositories.getActiveRepository()\n && !$repositories.isActiveRepoOntopType()\n && !$repositories.isActiveRepoFedXType()) {\n SparqlTemplatesRestService.getSparqlTemplates($repositories.getActiveRepository()).success(function(data) {\n $scope.sparqlTemplateIds = data;\n }).error(function(data) {\n const msg = getError(data);\n toastr.error(msg, $translate.instant('sparql.template.get.templates.error'));\n });\n } else {\n $scope.sparqlTemplateIds = [];\n }\n };\n\n $scope.deleteTemplate = function(templateID) {\n ModalService.openSimpleModal({\n title: $translate.instant('common.warning'),\n message: $translate.instant('sparql.template.delete.template.warning', {templateID: templateID}),\n warning: true,\n }).result\n .then(function() {\n SparqlTemplatesRestService.deleteSparqlTemplate(templateID, $repositories.getActiveRepository())\n .success(function() {\n toastr.success(templateID, $translate.instant('sparql.template.delete.template.success'));\n $scope.getSparqlTemplates();\n }).error(function(e) {\n toastr.error(getError(e), $translate.instant('sparql.template.delete.template.failure', {templateID: templateID}));\n });\n });\n };\n\n // =========================\n // Subscriptions handlers\n // =========================\n const removeAllListeners = () => {\n subscriptions.forEach((subscription) => subscription());\n };\n\n const subscriptions = [];\n\n const repositoryContextService = ServiceProvider.get(RepositoryContextService);\n const repositoryChangeSubscription = repositoryContextService.onSelectedRepositoryChanged(() => $scope.getSparqlTemplates());\n\n subscriptions.push(repositoryChangeSubscription);\n subscriptions.push($scope.$on('$destroy', removeAllListeners));\n}\n\nSparqlTemplateCreateCtrl.$inject = [\n '$scope',\n '$rootScope',\n '$location',\n 'toastr',\n '$repositories',\n '$window',\n '$timeout',\n '$interval',\n 'SparqlTemplatesRestService',\n 'RDF4JRepositoriesRestService',\n 'UriUtils',\n 'ModalService',\n '$translate',\n '$q',\n 'EventEmitterService',\n '$languageService'];\n\nfunction SparqlTemplateCreateCtrl(\n $scope,\n $rootScope,\n $location,\n toastr,\n $repositories,\n $window,\n $timeout,\n $interval,\n SparqlTemplatesRestService,\n RDF4JRepositoriesRestService,\n UriUtils,\n ModalService,\n $translate,\n $q,\n eventEmitterService,\n $languageService) {\n $scope.initialQuery = DEFAULT_SPARQL_QUERY;\n $scope.sparqlTemplateInfo = new SparqlTemplateInfo($scope.initialQuery);\n $scope.title = '';\n $scope.saveOrUpdateExecuted = false;\n $scope.isDirty = false;\n $scope.language = $languageService.getLanguage();\n $scope.canEditActiveRepo = false;\n\n // This flag is used to prevent loading of the yasgui on consecutive repository change events after\n // the first.\n let initialRepoInitialization = true;\n\n // This flag is used to prevent triggering the repository change event listener on initial subscription.\n let initialRepoChangeTrigger = true;\n\n // =========================\n // Public functions\n // =========================\n $scope.saveTemplate = function() {\n $scope.saveOrUpdateExecuted = true;\n\n if (!isQueryDirty()) {\n goToSparqlTemplatesView();\n }\n\n const saveOrUpdate = $scope.sparqlTemplateInfo.isNewTemplate ? save : update;\n\n validateTemplateId($scope.sparqlTemplateInfo)\n .then(getQuery)\n .then(validateQuery)\n .then(validateQueryMode)\n .then(saveOrUpdate)\n .then(goBack)\n .catch((error) => {\n if (!(error instanceof SparqlTemplateError)) {\n logger.error(error);\n }\n });\n };\n\n $scope.isTemplateIdValid = (templateID) => {\n return UriUtils.isValidIri(templateID, templateID.toString());\n };\n\n $scope.markDirty = () => {\n $scope.isDirty = true;\n };\n\n $scope.markPristine = () => {\n $scope.isDirty = false;\n };\n\n // =========================\n // Private functions\n // =========================\n const init = (prefixes, initialQuery = DEFAULT_SPARQL_QUERY) => {\n $scope.sparqlTemplateInfo.query = initialQuery;\n $scope.sparqlTemplateInfo.templateID = extractTemplateIdFromUri();\n $scope.sparqlTemplateInfo.isNewTemplate = !$scope.sparqlTemplateInfo.templateID;\n updateTitle();\n $scope.yasguiConfig = {\n showEditorTabs: false,\n showToolbar: false,\n showResultTabs: false,\n showYasqeActionButtons: false,\n showYasqeResizer: false,\n yasqeActionButtons: DISABLE_YASQE_BUTTONS_CONFIGURATION,\n showQueryButton: false,\n initialQuery: $scope.sparqlTemplateInfo.query,\n componentId: 'sparql-template',\n prefixes: prefixes,\n render: RenderingMode.YASQE,\n maxPersistentResponseSize: 0,\n yasqeMode: $scope.canEditActiveRepo ? YasqeMode.WRITE : YasqeMode.READ,\n };\n };\n\n /**\n * Saves the SPARQL template described in <code>templateInfo</code>.\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n const save = (templateInfo) => {\n return checkIfTemplateExists(templateInfo)\n .then(confirmSaveAction)\n .then(saveNewTemplate);\n };\n\n /**\n * Checks if template with <code>templateInfo.templateID</code> exist.\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n const checkIfTemplateExists = (templateInfo) => {\n return SparqlTemplatesRestService.getSparqlTemplates($repositories.getActiveRepository())\n .then(function(response) {\n templateInfo.templateExist = response.data.find((templateId) => templateId === $scope.sparqlTemplateInfo.templateID);\n return templateInfo;\n }).catch(function(data) {\n const msg = getError(data);\n toastr.error(msg, $translate.instant('sparql.template.get.templates.error'));\n return Promise.reject(new SparqlTemplateError('Failed to retrieve sparql templates.'));\n });\n };\n\n /**\n * Checks if yasque query is changed.\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n const validateQuery = (templateInfo) => {\n return getOntotextYasgui().isQueryValid()\n .then((valid) => {\n templateInfo.isValidQuery = valid;\n if (!templateInfo.isValidQuery) {\n return Promise.reject(new SparqlTemplateError('Invalid query.'));\n }\n return templateInfo;\n });\n };\n\n const isQueryDirty = () => {\n return $scope.sparqlTemplateInfo.isNewTemplate || $scope.isDirty;\n };\n\n /**\n * Displays a confirmation dialog and asks the user to confirm the save operation.\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n const confirmSaveAction = (templateInfo) => {\n return new Promise((resolve, reject) => {\n if (templateInfo.templateExist) {\n const modalMsg = decodeHTML($translate.instant('sparql.template.existing.template.error', {templateID: templateInfo.templateID}));\n const title = $translate.instant('common.confirm.save');\n openConfirmDialog(title, modalMsg, () => resolve(templateInfo), () => reject(new SparqlTemplateError('Save not confirmed.')));\n } else {\n resolve(templateInfo);\n }\n });\n };\n\n /**\n * Calls save SPARQL template server endpoint.\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n function saveNewTemplate(templateInfo) {\n return SparqlTemplatesRestService.createSparqlTemplate(templateInfo, $repositories.getActiveRepository())\n .then(function() {\n templateInfo.isNewTemplate = false;\n $scope.markPristine();\n toastr.success(templateInfo.templateID, $translate.instant('save.sparql.template.success.msg'));\n return templateInfo;\n }).catch(function(data) {\n const message = getError(data);\n toastr.error(message, $translate.instant('save.sparql.template.failure.msg', {templateID: templateInfo.templateID}));\n return Promise.reject(new SparqlTemplateError(`Failed to save the new template: ${templateInfo.templateID}`));\n });\n }\n\n /**\n * Updates the SPARQL template described in <code>templateInfo</code>.\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n const update = (templateInfo) => {\n return SparqlTemplatesRestService.updateSparqlTemplate(templateInfo, $repositories.getActiveRepository())\n .then(function() {\n templateInfo.isNewTemplate = false;\n $scope.markPristine();\n toastr.success($scope.sparqlTemplateInfo.templateID, $translate.instant('update.sparql.template.success.msg'));\n return templateInfo;\n }).catch(function(data) {\n const message = getError(data);\n toastr.error(message, $translate.instant('save.sparql.template.failure.msg', {templateID: templateInfo.templateID}));\n return Promise.reject(new SparqlTemplateError(`Failed to update the template: ${templateInfo.templateID}`));\n });\n };\n\n /**\n * Fetches the query from \"ontotext-yasgui\" and updates the <code>templateInfo</code>.\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n const getQuery = (templateInfo) => {\n return getOntotextYasgui().getQuery()\n .then((query) => {\n templateInfo.query = query;\n return templateInfo;\n });\n };\n\n /**\n * Checks if query mode is valid. The mode have to be \"update\".\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n const validateQueryMode = (templateInfo) => {\n return getOntotextYasgui().getQueryMode()\n .then((queryMode) => {\n templateInfo.isValidQueryMode = 'update' === queryMode;\n\n if (!templateInfo.isValidQueryMode) {\n return Promise.reject(new SparqlTemplateError('Query mode is not valid.'));\n }\n return templateInfo;\n });\n };\n\n /**\n * Checks if template id is valid.\n * @param {SparqlTemplateInfo} templateInfo - holds information about template.\n * @return {Promise<SparqlTemplateInfo>}\n */\n const validateTemplateId = (templateInfo) => {\n return new Promise((resolve, reject) => {\n if (!templateInfo.templateID) {\n reject(new SparqlTemplateError('A required template identifier is missing.'));\n return;\n }\n\n templateInfo.isValidTemplateId = $scope.isTemplateIdValid(templateInfo.templateID);\n\n if (!templateInfo.isValidTemplateId) {\n reject(new SparqlTemplateError('Template identifier is not valid.'));\n return;\n }\n\n resolve(templateInfo);\n });\n };\n\n /**\n * go to previous page.\n */\n const goBack = () => {\n // Added timeout a success message to be shown.\n setTimeout(function() {\n goToSparqlTemplatesView();\n }, 1000);\n };\n\n const extractTemplateIdFromUri = () => {\n const hash = $location.hash() || '';\n return ($location.search().templateID || '') + (hash ? (`#${hash}`) : '');\n };\n\n const updateTitle = () => {\n $scope.title = ($scope.sparqlTemplateInfo.templateID ? $translate.instant('edit') : $translate.instant('common.create.btn')) + ' ' + $translate.instant('view.sparql.template.title');\n };\n\n const goToSparqlTemplatesView = () => {\n $location.url('/sparql-templates');\n };\n\n\n const setLoader = (isRunning, loaderMessage) => {\n $scope.queryIsRunning = isRunning;\n $scope.loaderMessage = $scope.queryIsRunning ? loaderMessage : '';\n };\n\n const getOntotextYasgui = () => {\n return YasguiComponentDirectiveUtil.getOntotextYasguiElement('#query-editor');\n };\n\n const openConfirmDialog = (title, message, onConfirm, onCancel) => {\n ModalService.openSimpleModal({\n title,\n message,\n warning: true,\n }).result.then(function() {\n if (angular.isFunction(onConfirm)) {\n onConfirm();\n }\n }, function() {\n if (angular.isFunction(onCancel)) {\n onCancel();\n }\n });\n };\n\n // =========================\n // Subscriptions handlers\n // =========================\n const languageChangedHandler = () => {\n $scope.language = $languageService.getLanguage();\n updateTitle();\n };\n\n const repositoryWillChangeHandler = () => {\n return new Promise(function(resolve) {\n if ($scope.sparqlTemplateInfo.isNewTemplate) {\n resolve(true);\n return;\n }\n\n const onConfirm = () => {\n $scope.isDirty = false;\n resolve(true);\n };\n\n if ($scope.isDirty) {\n const onCancel = () => {\n resolve(false);\n };\n const title = $translate.instant('common.confirm');\n const message = $translate.instant('common.unsaved.changes');\n openConfirmDialog(title, message, onConfirm, onCancel);\n } else {\n onConfirm();\n }\n });\n };\n\n const removeAllListeners = () => {\n window.removeEventListener('beforeunload', beforeunloadHandler);\n subscriptions.forEach((subscription) => subscription());\n };\n\n const locationChangedHandler = (event, newPath) => {\n if ($scope.isDirty) {\n event.preventDefault();\n const title = $translate.instant('common.confirm');\n const message = $translate.instant('common.unsaved.changes');\n const onConfirm = () => {\n removeAllListeners();\n const baseLen = $location.absUrl().length - $location.url().length;\n const path = newPath.substring(baseLen);\n $location.path(path);\n };\n openConfirmDialog(title, message, onConfirm);\n } else {\n removeAllListeners();\n }\n };\n\n const beforeunloadHandler = (event) => {\n if ($scope.isDirty) {\n event.returnValue = true;\n }\n };\n\n const repositoryChangedHandler = (repository) => {\n if (!repository) {\n return;\n }\n if (initialRepoChangeTrigger) {\n initialRepoChangeTrigger = false;\n } else {\n goToSparqlTemplatesView();\n }\n };\n\n const activeRepositoryHandler = (activeRepo) => {\n if (activeRepo) {\n $scope.canEditActiveRepo = $scope.canWriteActiveRepo();\n if (initialRepoInitialization) {\n loadOntotextYasgui();\n initialRepoInitialization = false;\n }\n }\n };\n\n const queryChangeHandler = (evt, queryState) => {\n if (queryState.dirty) {\n $scope.markDirty();\n } else {\n $scope.markPristine();\n }\n };\n\n // =========================\n // Subscriptions\n // =========================\n const subscriptions = [];\n\n const repositoryContextService = ServiceProvider.get(RepositoryContextService);\n const repositoryChangeSubscription = repositoryContextService.onSelectedRepositoryChanged(repositoryChangedHandler, repositoryWillChangeHandler);\n\n subscriptions.push(repositoryChangeSubscription);\n subscriptions.push($scope.$on('queryChanged', queryChangeHandler));\n subscriptions.push($rootScope.$on('$translateChangeSuccess', languageChangedHandler));\n subscriptions.push($scope.$on('$locationChangeStart', locationChangedHandler));\n subscriptions.push($scope.$on('$destroy', removeAllListeners));\n // Prevent go out of the current page? check\n window.addEventListener('beforeunload', beforeunloadHandler);\n\n /**\n * Starts loading of needed data and process the view.\n */\n const loadOntotextYasgui = () => {\n const loadMessage = `${$translate.instant('common.refreshing.namespaces')}. ${$translate.instant('common.extra.message')}`;\n\n setLoader(true, loadMessage);\n $scope.sparqlTemplateInfo.templateID = extractTemplateIdFromUri();\n const activeRepository = $repositories.getActiveRepository();\n if ($scope.sparqlTemplateInfo.templateID) {\n Promise.all([$repositories.getPrefixes(activeRepository), SparqlTemplatesRestService.getSparqlTemplate($scope.sparqlTemplateInfo.templateID, activeRepository)])\n .then(([prefixes, templateContent]) => init(prefixes, templateContent.data))\n .finally(() => setLoader(false));\n } else {\n $repositories.getPrefixes(activeRepository)\n .then((prefixes) => init(prefixes))\n .finally(() => setLoader(false));\n }\n };\n\n // Wait until the active repository object is set, otherwise \"canWriteActiveRepo()\" may return a wrong result and the \"ontotext-yasgui\"\n // readOnly configuration may be incorrect.\n subscriptions.push($scope.$watch($scope.getActiveRepositoryObject, activeRepositoryHandler));\n}\n"],"names":["DEFAULT_SPARQL_QUERY","SparqlTemplateInfo","constructor","query","isNewTemplate","templateID","undefined","this","templateExist","isValidTemplateId","isValidQuery","isValidQueryMode","RenderingMode","YASGUI","YASQE","YASR","Notifications","toastr","$translate","showToastMessageWithDelay","message","Promise","r","success","instant","setTimeout","angular","module","factory","$inject","YasqeMode","WRITE","READ","PROTECTED","SparqlTemplateError","Error","logger","LoggerProvider","SparqlTemplatesCtrl","$scope","$repositories","SparqlTemplatesRestService","ModalService","$licenseService","pluginName","setPluginIsActive","isPluginActive","pluginIsActive","getSparqlTemplates","isLicenseValid","getActiveRepository","isActiveRepoOntopType","isActiveRepoFedXType","data","sparqlTemplateIds","error","msg","getError","deleteTemplate","openSimpleModal","title","warning","result","then","deleteSparqlTemplate","e","subscriptions","repositoryChangeSubscription","ServiceProvider","get","RepositoryContextService","onSelectedRepositoryChanged","push","$on","removeAllListeners","forEach","subscription","SparqlTemplateCreateCtrl","$rootScope","$location","$window","$timeout","$interval","RDF4JRepositoriesRestService","UriUtils","$q","eventEmitterService","$languageService","initialQuery","sparqlTemplateInfo","saveOrUpdateExecuted","isDirty","language","getLanguage","canEditActiveRepo","initialRepoInitialization","initialRepoChangeTrigger","saveTemplate","isQueryDirty","goToSparqlTemplatesView","saveOrUpdate","save","update","validateTemplateId","getQuery","validateQuery","validateQueryMode","goBack","catch","isTemplateIdValid","isValidIri","toString","markDirty","markPristine","init","prefixes","extractTemplateIdFromUri","updateTitle","yasguiConfig","showEditorTabs","showToolbar","showResultTabs","showYasqeActionButtons","showYasqeResizer","yasqeActionButtons","DISABLE_YASQE_BUTTONS_CONFIGURATION","showQueryButton","componentId","render","maxPersistentResponseSize","yasqeMode","templateInfo","checkIfTemplateExists","confirmSaveAction","saveNewTemplate","response","find","templateId","reject","getOntotextYasgui","isQueryValid","valid","resolve","modalMsg","decodeHTML","openConfirmDialog","createSparqlTemplate","updateSparqlTemplate","getQueryMode","queryMode","hash","search","url","setLoader","isRunning","loaderMessage","queryIsRunning","YasguiComponentDirectiveUtil","getOntotextYasguiElement","onConfirm","onCancel","isFunction","window","removeEventListener","beforeunloadHandler","event","returnValue","repository","repositoryWillChangeHandler","queryChangeHandler","evt","queryState","dirty","languageChangedHandler","locationChangedHandler","newPath","preventDefault","baseLen","absUrl","length","path","substring","addEventListener","$watch","getActiveRepositoryObject","activeRepo","canWriteActiveRepo","loadOntotextYasgui","loadMessage","activeRepository","all","getPrefixes","getSparqlTemplate","templateContent","finally","controller"],"sourceRoot":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LoggerConfig } from '../logging/logger-config';
|
|
1
2
|
/**
|
|
2
3
|
* Configurable constants.
|
|
3
4
|
* This is a flat configuration, so downloaded partial configurations could be applied easily.
|
|
@@ -7,4 +8,8 @@ export interface Configuration {
|
|
|
7
8
|
* The path where the plugins manifest is stored.
|
|
8
9
|
*/
|
|
9
10
|
pluginsManifestPath: string;
|
|
11
|
+
/**
|
|
12
|
+
* Logging configuration
|
|
13
|
+
*/
|
|
14
|
+
loggerConfig: LoggerConfig;
|
|
10
15
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LoggerType } from './logger-type';
|
|
2
|
+
import { LogLevel } from './log-level';
|
|
3
|
+
/**
|
|
4
|
+
* Configuration interface for logger settings.
|
|
5
|
+
* Defines the structure for configuring logging behavior including
|
|
6
|
+
* which loggers to use and the minimum log level to capture.
|
|
7
|
+
*/
|
|
8
|
+
export interface LoggerConfig {
|
|
9
|
+
/**
|
|
10
|
+
* Array of logger types to be used for logging operations.
|
|
11
|
+
* Each logger type represents a different logging destination or format.
|
|
12
|
+
*/
|
|
13
|
+
loggers: LoggerType[];
|
|
14
|
+
/**
|
|
15
|
+
* The minimum log level that will be processed and output.
|
|
16
|
+
* Log messages below this level will be filtered out.
|
|
17
|
+
*/
|
|
18
|
+
minLogLevel: LogLevel;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LoggerType } from './logger-type';
|
|
2
|
+
import { Logger } from './logger';
|
|
3
|
+
/**
|
|
4
|
+
* A mapping of available logger types to their corresponding logger service instances.
|
|
5
|
+
* Adding loggers here will initialize them and make them available for use in the application.
|
|
6
|
+
**/
|
|
7
|
+
export declare const LOGGER_DEFINITIONS: Map<LoggerType, Logger>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LogLevel } from './log-level';
|
|
2
|
+
/**
|
|
3
|
+
* Interface for logging functionality across the application.
|
|
4
|
+
* Provides a standardized way to log messages with different severity levels.
|
|
5
|
+
*/
|
|
6
|
+
export interface Logger {
|
|
7
|
+
/**
|
|
8
|
+
* Logs a message with the specified level and optional arguments.
|
|
9
|
+
*
|
|
10
|
+
* @param level - The severity level of the log message
|
|
11
|
+
* @param message - The main log message to be recorded
|
|
12
|
+
* @param args - Additional arguments or context data to include with the log
|
|
13
|
+
*/
|
|
14
|
+
log(level: LogLevel, message: string, args: unknown[]): void;
|
|
15
|
+
}
|
|
@@ -37,6 +37,7 @@ export * from './services/app-lifecycle';
|
|
|
37
37
|
export * from './services/window';
|
|
38
38
|
export * from './services/plugins';
|
|
39
39
|
export * from './services/configuration';
|
|
40
|
+
export * from './services/logging';
|
|
40
41
|
export * from './services/utils';
|
|
41
42
|
export * from './error';
|
|
42
43
|
export { HTTP_REQUEST_DONE_EVENT } from './services/http/http.service';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{static deepEqual(t,s){if(t===s)return!0;if(null==t||null==s)return!1;if("object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;if(Array.isArray(t)&&Array.isArray(s)){if(t.length!==s.length)return!1;for(let r=0;r<t.length;r++)if(!e.deepEqual(t[r],s[r]))return!1;return!0}if(!Array.isArray(t)&&!Array.isArray(s)){const r=Object.keys(t),i=Object.keys(s);if(r.length!==i.length)return!1;for(const i of r)if(!(i in s)||!e.deepEqual(t[i],s[i]))return!1;return!0}return!1}return!1}static deepCopy(t){if("object"!=typeof t||null==t||"function"==typeof t)return t;if(Array.isArray(t))return t.map(t=>e.deepCopy(t));const s=Object.create(Object.getPrototypeOf(t));for(const r of Object.keys(t))s[r]=e.deepCopy(t[r]);return s}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class t{copy(){return e.deepCopy(this)}}class s extends t{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class r extends s{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}class i extends t{constructor(e){super(),this.id=e?.id||"",this.title=e?.title||"",this.type=e?.type,this.sesameType=e?.sesameType,this.uri=e?.uri||"",this.externalUrl=e?.externalUrl||"",this.location=e?.location||"",this.state=e?.state,this.local=e?.local,this.readable=e?.readable,this.writable=e?.writable,this.unsupported=e?.unsupported,this.isNew=e?.isNew}toRepositoryReference(){return{id:this.id,location:this.location}}}const n=(e,t)=>{const s=e.location.localeCompare(t.location);return 0!==s?s:e.id.localeCompare(t.id)};class o extends s{constructor(e){super(e)}findRepository(e,t){return super.find(s=>s.id===e&&s.location===t)}sortByLocationAndId(){super.sort(n)}filterByRepository(e){return super.filter(this.createIdLocationFilter(e))}createIdLocationFilter(e){return t=>e.some(e=>e.id!==t.id||e.location!==t.location)}}class a extends t{constructor(e){super(),this.inferred=e?.inferred||0,this.total=e?.total||0,this.explicit=e?.explicit||0}}let u=function(e){return e.INACTIVE="INACTIVE",e.STARTING="STARTING",e.RUNNING="RUNNING",e.RESTARTING="RESTARTING",e.STOPPING="STOPPING",e}({}),c=function(e){return e.GRAPH_DB="graphdb",e.ONTOP="ontop",e.FEDEX="fedex",e.SYSTEM="system",e}({});class l{constructor(e){this.setNamespaces(e)}setNamespaces(e){this.namespaces=e}getByPrefix(e){return this.namespaces[e]||""}}class h extends t{constructor(e){super(),this.uri=e?.uri||"",this.label=e?.label||"",this.username=e?.username||"",this.password=e?.password||"",this.authType=e?.authType,this.locationType=e?.locationType,this.active=e?.active,this.local=e?.local,this.system=e?.system,this.errorMsg=e?.errorMsg||"",this.defaultRepository=e?.defaultRepository||""}}let p=function(e){return e.GDB="GDB",e.ONTOPIC="ONTOPIC",e.SPARQL="SPARQL",e}({});class g{constructor(e,t){this.NAME=e,this.payload=t}}const d={NAVIGATION_END:"navigationEnd",NAVIGATION_START:"navigationStart",LOGOUT:"logout",APP_DATA_LOADED:"applicationDataLoaded"};class E extends g{constructor(e,t){super(d.NAVIGATION_END,{oldUrl:e,newUrl:t})}}class A{}class S extends g{constructor(e,t,s){super(d.NAVIGATION_START,{oldUrl:e,newUrl:t,cancelNavigation:s})}}class R extends g{constructor(){super(d.LOGOUT)}}let T=function(e){return e.NONE="NONE",e.BASIC="BASIC",e.SIGNATURE="SIGNATURE",e}({});class C{static MAPPER_INSTANCES=new Map;static get(e){const t=e.name;if(!C.MAPPER_INSTANCES.has(t)){const s=new e;C.MAPPER_INSTANCES.set(t,s)}return C.MAPPER_INSTANCES.get(t)}}class y{static SERVICE_INSTANCES=new Map;static get(e){if(!y.SERVICE_INSTANCES.has(e.name)){const t=new e;y.implementsLifecycleHooks(t)&&t.onCreated?.(),y.SERVICE_INSTANCES.set(e.name,t)}return this.SERVICE_INSTANCES.get(e.name)}static implementsLifecycleHooks(e){return"object"==typeof e&&"function"==typeof e.onCreated}static getAllBySuperType(e){return Array.from(y.SERVICE_INSTANCES.values()).filter(t=>t instanceof e)}}function I(e){return y.get(e)}class f extends s{constructor(e){super(e)}hasAuthority(e){return this.items.includes(e)}}class O{}class _ extends O{mapToModel(e){return new f(e)}}class m extends t{constructor(e){super(),this.external=e?.external??!1,this.username=e?.username??"",this.password=e?.password??"",this.authorities=C.get(_).mapToModel(e?.authorities),this.appSettings=e?.appSettings??{}}}class P extends t{constructor(e){super(),this.appSettings=e.appSettings,this.authorities=C.get(_).mapToModel(e.authorities),this.enabled=e.enabled}}class N extends O{mapToModel(e){return new P(e)}}class b extends t{constructor(e){super(),this.authImplementation=e.authImplementation,this.enabled=e.enabled,this.passwordLoginEnabled=e.passwordLoginEnabled,this.freeAccess=C.get(N).mapToModel(e.freeAccess),this.overrideAuth=C.get(N).mapToModel(e.overrideAuth),this.openIdEnabled=e.openIdEnabled,this.userLoggedIn=e.userLoggedIn,this.freeAccessActive=e.freeAccessActive,this.hasExternalAuthUser=e.hasExternalAuthUser}}let L=function(e){return e.ROLE_ADMIN="ROLE_ADMIN",e.ROLE_USER="ROLE_USER",e.ROLE_MONITORING="ROLE_MONITORING",e.ROLE_REPO_MANAGER="ROLE_REPO_MANAGER",e.ROLE_CLUSTER="ROLE_CLUSTER",e.IS_AUTHENTICATED_FULLY="IS_AUTHENTICATED_FULLY",e}({});class x extends t{pages={};isRestricted(e){return this.pages[e]??!1}setPageRestriction(e,t=!0){return this.pages[e]=t,this}}class v extends t{constructor(e){super(),this.openIdKeys=e.openIdKeys,this.openIdTokenUrl=e.openIdTokenUrl,this.openIdKeysUri=e.openIdKeysUri,this.openIdEndSessionUrl=e.openIdEndSessionUrl,this.supportsOfflineAccess=e.supportsOfflineAccess}}let U=function(e){return e.READ="READ",e.WRITE="WRITE",e}({});class D extends O{mapToModel(e){return new G(e)}}class w extends t{constructor(e){super(),this.expiryDate=e.expiryDate,this.latestPublicationDate=e.latestPublicationDate,this.licensee=e.licensee||"",this.maxCpuCores=e.maxCpuCores,this.product=e.product||"",this.productType=e.productType||"",this.licenseCapabilities=C.get(D).mapToModel(e.licenseCapabilities),this.version=e.version||"",this.installationId=e.installationId||"",this.valid=e.valid,this.typeOfUse=e.typeOfUse||"",this.message=e.message||"",this.present=e.present||!1,this.usageRestriction=e.usageRestriction||""}get expiryDate(){return this._expiryDate}set expiryDate(e){this._expiryDate=e}get latestPublicationDate(){return this._latestPublicationDate}set latestPublicationDate(e){this._latestPublicationDate=e}get licensee(){return this._licensee}set licensee(e){this._licensee=e}get maxCpuCores(){return this._maxCpuCores}set maxCpuCores(e){this._maxCpuCores=e}get product(){return this._product}set product(e){this._product=e}get productType(){return this._productType}set productType(e){this._productType=e}get licenseCapabilities(){return this._licenseCapabilities}set licenseCapabilities(e){this._licenseCapabilities=e}get version(){return this._version}set version(e){this._version=e}get installationId(){return this._installationId}set installationId(e){this._installationId=e}get valid(){return this._valid}set valid(e){this._valid=e}get typeOfUse(){return this._typeOfUse}set typeOfUse(e){this._typeOfUse=e}get message(){return this._message}set message(e){this._message=e}get present(){return this._present}set present(e){this._present=e}get usageRestriction(){return this._usageRestriction}set usageRestriction(e){this._usageRestriction=e}}let M=function(e){return e.LUCENE_CONNECTOR="Lucene connector",e.SOLR_CONNECTOR="Solr connector",e.ELASTICSEARCH_CONNECTOR="Elasticsearch connector",e.OPENSEARCH_CONNECTOR="OpenSearch connector",e.KAFKA_CONNECTOR="Kafka connector",e.CLUSTER="Cluster",e}({});class G extends s{constructor(e){super(e)}}class V{constructor(e){this.workbench=e.Workbench||"",this.productType=e.productType||"",this.productVersion=e.productVersion||"",this.sesame=e.sesame||"",this.connectors=e.connectors||"",this.shortVersion=this.resolveShortVersion(e)}resolveShortVersion(e){const t=e.productVersion;if(!t)return"";const s=/^(\d+\.\d+)/.exec(t),r=s?.[1]??t,i=/(-[^-]+)/.exec(t);return r+(i?.[1]??"")}}class k{constructor(e){this.value=e}getValue(){return this.value}getValueOrDefault(e){return this.value||e}getAsJson(){if(null===this.value)return null;try{return JSON.parse(this.value)}catch(e){return console.error("Error parsing JSON",e),null}}}class ${static GLOBAL_NAMESPACE="ontotext.gdb"}class B{constructor(e){this.languages=e}getLanguageCodes(){return this.languages?.map(e=>e.key)}}class Y extends O{mapToModel(e){return new B(e)}}class H extends t{constructor(e){super(),this.defaultLanguage=e.defaultLanguage,this.availableLanguages=C.get(Y).mapToModel(e.availableLanguages)}}class F{constructor(e){this.policyAccepted=e?.policyAccepted,this.statistic=e?.statistic,this.thirdParty=e?.thirdParty,this.updatedAt=e?.updatedAt}}let K=function(e){return e.INFORMATION="INFORMATION",e.WARNING="WARNING",e.CRITICAL="CRITICAL",e}({});const q={[K.INFORMATION]:0,[K.WARNING]:1,[K.CRITICAL]:2};class W extends t{constructor(e){super(),this.id=`${e.group}-${e.status}-${e.totalOperations}`,this.group=e.group,this.totalOperations=e.totalOperations,this.status=e.status}}class j extends t{constructor(e){super(),this.status=e.status||K.INFORMATION,this.allRunningOperations=e.allRunningOperations}toOperationsGroupSummary(){const e=new Map;return this.allRunningOperations.getItems().forEach(t=>{e.has(t.group)||e.set(t.group,new W({group:t.group,totalOperations:0,status:K.INFORMATION}));const s=e.get(t.group);s.totalOperations+=t.count,q[t.status]>q[s.status]&&(s.status=t.status)}),Array.from(e.values())}}class Q extends s{constructor(e){super(e)}}let z=function(e){return e.UPDATES="updates",e.QUERIES="queries",e.IMPORT="imports",e.BACKUP_AND_RESTORE="backupAndRestore",e.CLUSTER_HEALTH="clusterHealth",e}({}),J=function(e){return e.QUERY="QUERY",e.BACKUP="BACKUP",e.CLUSTER="CLUSTER",e.IMPORT="IMPORT",e}({});const X=[z.QUERIES,z.UPDATES,z.IMPORT],Z={[z.UPDATES]:"monitor/queries",[z.QUERIES]:"monitor/queries",[z.BACKUP_AND_RESTORE]:"monitor/backup-and-restore",[z.IMPORT]:"import",[z.CLUSTER_HEALTH]:"cluster"},ee={[z.QUERIES]:J.QUERY,[z.UPDATES]:J.QUERY,[z.BACKUP_AND_RESTORE]:J.BACKUP,[z.IMPORT]:J.IMPORT,[z.CLUSTER_HEALTH]:J.CLUSTER};class te extends t{constructor(e){super(),this.id=`${e.status}-${e.type}-${e.value}`,this.value=e.value,this.status=e.status,this.type=e.type,this.count=this.getCount(e),this.group=ee[e.type],this.href=Z[e.type],this.labelKey=this.getLabelKey(e)}getCount(e){return X.includes(e.type)?parseInt(e.value,10):0}getLabelKey(e){return X.includes(e.type)?e.type:e.value}}class se extends s{constructor(e){super(e)}}let re=function(e){return e.BOTTOM_RIGHT="bottom-right",e.BOTTOM_LEFT="bottom-left",e}({});class ie{constructor(e){this.timeout=e?.timeout||5e3,this.onClick=e?.onClick,this.removeOnClick=e?.removeOnClick||!1}}class ne extends ie{constructor(e){super(),this.timeout=e.timeout,this.position=e.position}static getDefaultConfig(){return this.instance||(this.instance=new ne({timeout:5e3,position:re.BOTTOM_RIGHT})),this.instance}}let oe=function(e){return e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e}({});class ae{static uuid(){const e=16;let t=(new Date).getTime(),s=1e3*(performance?.now()??0);return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{let i=Math.random()*e;return t>0?(i=(t+i)%e|0,t=Math.floor(t/e)):(i=(s+i)%e|0,s=Math.floor(s/e)),("x"===r?i:3&i|8).toString(e)})}static hashCode(e){let t=0;for(let s=0,r=e.length;s<r;s++)t=(t<<5)-t+e.charCodeAt(s),t|=0;return t}}class ue{constructor(e,t,s){this.id=ae.uuid(),this.type=e,this.message=t,this.config=s}}const ce="create-toast-event";class le extends s{constructor(e){super(e)}}class he extends s{constructor(e){super(e)}}class pe extends t{constructor(e){super(),this.setRadio(e.isRadio),this.setButtons(new he(e.buttons))}getButtons(){return this.buttons}setButtons(e){this.buttons=e}isRadio(){return this.radio}setRadio(e){this.radio=e}selectButton(e){return this.isRadio()&&!e.selected&&(this.deselectAll(),e.selected=!0,e.callback()),this.copy()}deselectAll(){this.buttons.getItems().forEach(e=>e.selected=!1)}}class ge extends t{constructor(e){super(),this.id=e.id,this.label=e.label,this.selected=e.selected,this.callback=e.callback}}class de extends s{constructor(e){super(e)}}class Ee extends t{constructor(e){super(),this.setSuggestions(e.suggestionList)}getSuggestions(){return this._suggestions}setSuggestions(e){this._suggestions=e}hoverFirstSuggestion(){return this.hoverSuggestion(this.getSuggestions().getItems()[0])}hoverSuggestion(e){return e&&(this.clearHoveredState(),e.setHovered(!0)),this.copy()}selectSuggestion(e){return e&&(this.clearSelectedState(),e.setSelected(!0)),this.copy()}getHoveredSuggestion(){return this.getSuggestions().getItems().find(e=>e.isHovered())}hoverPreviousSuggestion(){const e=this.getSuggestions().getItems().findIndex(e=>e.isHovered());return e>0&&(this.clearHoveredState(),this.getSuggestions().getItems()[e-1].setHovered(!0)),this.copy()}hoverNextSuggestion(){const e=this.getSuggestions().getItems().findIndex(e=>e.isHovered());return e<this.getSuggestions().getItems().length-1&&(this.clearHoveredState(),this.getSuggestions().getItems()[e+1].setHovered(!0)),this.copy()}clearSuggestions(){return this.setSuggestions(new de),this.copy()}getByValue(e){return this.getSuggestions().getItems().find(t=>t.getValue()===e)}clearSelectedState(){this.getSuggestions().getItems().forEach(e=>e.setSelected(!1))}clearHoveredState(){this.getSuggestions().getItems().forEach(e=>e.setHovered(!1))}}class Ae extends t{overrideToVisual=!1;constructor(e){super(),this.setId(e.id),this.setType(e.type),this.setValue(e.value),this.setDescription(e.description)}getId(){return this._id}setId(e){this._id=e}getType(){return this._type}setType(e){this._type=e}getValue(){return this._value}setValue(e){this._value=e}getDescription(){return this._description}setDescription(e){this._description=e}isHovered(){return this._hovered}setHovered(e){this._hovered=e}isSelected(){return this._selected}setSelected(e){this._selected=e}getOverrideToVisual(){return this.overrideToVisual}setOverrideToVisual(e){this.overrideToVisual=e}}let Se=function(e){return e.URI="uri",e.PREFIX="prefix",e}({});class Re{constructor(e,t){this.setSuggestion(e),this.setContext(t)}getSuggestion(){return this.suggestion}getContext(){return this.context}setContext(e){this.context=e}setSuggestion(e){this.suggestion=e}}let Te=function(e){return e.DATA_LOADED="DATA_LOADED",e}({});class Ce extends t{constructor(e){super(),this._pluginDefinitions=e}getPluginDefinitions(){return this._pluginDefinitions}}let ye=function(e){return e.ROUTE="route",e.MAIN_MENU="main.menu",e}({});class Ie extends s{constructor(e){super(e)}}class fe{callbackFunctions=[];beforeChangeValidationPromises=[];afterValueChangeCallbackFunctions=[];setValue(t){e.deepEqual(this.value,t)||(this.value=this.getCopy(t),this.callbackFunctions.forEach(e=>e(this.getValue())),this.afterValueChangeCallbackFunctions.forEach(e=>e(this.getValue())))}getValue(){return this.getCopy(this.value)}subscribe(e,t,s){return this.callbackFunctions.push(e),t&&this.beforeChangeValidationPromises.push(t),s&&this.afterValueChangeCallbackFunctions.push(s),()=>{this.callbackFunctions=this.callbackFunctions.filter(t=>t!==e),this.beforeChangeValidationPromises=this.beforeChangeValidationPromises.filter(e=>e!==t),this.afterValueChangeCallbackFunctions=this.afterValueChangeCallbackFunctions.filter(e=>e!==s)}}async canUpdate(e){if(0===this.beforeChangeValidationPromises.length)return!0;const t=this.beforeChangeValidationPromises.map(t=>t(e));try{return(await Promise.all(t)).every(e=>e)}catch{return!1}}getCopy(t){if(null!=t)return e.hasCopyMethod(t)?t.copy():e.deepCopy(t)}}class Oe{subscribers=[];unsubFns=new r;subscribeToService(e){const t=this.subscribers.map(t=>e.subscribeAll(t.callback,t.beforeChangeValidationPromise,t.afterChangeCallback));return this.unsubFns.addAll(t),()=>t.forEach(e=>e())}subscribeToAllRegisteredContexts(e,t,s){const r=y.getAllBySuperType(_e).filter(e=>e.canSubscribeAll);for(const i of r)this.unsubFns.add(i.subscribeAll(e,t,s));const i={callback:e,beforeChangeValidationPromise:t,afterChangeCallback:s};this.subscribers.push(i);let n=!1;return()=>{if(n)return;n=!0,this.unsubFns.unsubscribeAll();const e=this.subscribers.indexOf(i);e>=0&&this.subscribers.splice(e,1)}}}class _e{context=new Map;_canSubscribeAll=!1;onCreated(){this._canSubscribeAll=!0,y.get(Oe).subscribeToService(this)}updateContextProperty(e,t){this.getOrCreateValueContext(e).setValue(t)}validatePropertyChange(e,t){return this.getOrCreateValueContext(e).canUpdate(t)}getContextPropertyValue(e){const t=this.context.get(e);return t?t.getValue():void 0}subscribe(e,t,s,r){return t&&t(this.getContextPropertyValue(e)),r&&r(this.getContextPropertyValue(e)),this.getOrCreateValueContext(e).subscribe(t,s,r)}subscribeAll(e,t,s){const i=new r;for(const r of this.getContextFields())i.add(this.subscribe(r,e,t,s));return()=>i.unsubscribeAll()}getContextFields(){return Object.values(this).filter(e=>"string"==typeof e)}getOrCreateValueContext(e){let t=this.context.get(e);return t||(t=new fe,this.context.set(e,t)),t}canHandle(e){for(const t in this)if(this[t]===e)return!0;return!1}get canSubscribeAll(){return this._canSubscribeAll}}class me{priority=0}class Pe{getStorage(){return localStorage}get(e){const t=this.getStorage().getItem(this.getPrefixedKey(e));return new k(t)}storeValue(e,t){this.getStorage().setItem(this.getPrefixedKey(e),t)}remove(e){this.getStorage().removeItem(this.getPrefixedKey(e))}getPrefixedKey(e){const t=`${$.GLOBAL_NAMESPACE}.${this.NAMESPACE}.`,s=`${this.NAMESPACE}.`;return e.startsWith(t)?e:e.startsWith(s)?`${$.GLOBAL_NAMESPACE}.${e}`:`${t}${e}`}}class Ne{handleStorageChange(e){const t=e.key?.substring($.GLOBAL_NAMESPACE.length+1);let s="",r="";t&&(s=t.substring(0,t.indexOf(".")),r=t.substring(s.length+1));const i=this.resolveHandler(s,r);i&&i.updateContextProperty(r,e.newValue)}resolveHandler(e,t){if(!e)return void console.warn("Namespace is required to resolve a context property change handler.");const s=y.getAllBySuperType(_e).find(e=>e.canHandle(t));if(s)return s;console.warn(`No context property change handler found for namespace: ${e} and property: ${t}`)}}class be extends Pe{jwtKey="jwt";authenticatedKey="authenticated";NAMESPACE="auth";set(e,t){this.storeValue(e,t)}getAuthToken(){return this.get(this.jwtKey)}setAuthenticated(e){this.storeValue(this.authenticatedKey,e?.toString()||"")}isAuthenticated(){return"true"===this.get(this.authenticatedKey).getValue()}}class Le extends Pe{NAMESPACE="repository";SELECTED_REPOSITORY="selectedRepository";set(e,t){t?this.storeValue(e,t):this.remove(e)}setRepositoryReference(e){this.set(this.SELECTED_REPOSITORY,this.serializeRepositoryReference(e))}getRepositoryReference(){return this.deserializeRepositoryReference(this.get(this.SELECTED_REPOSITORY).getValueOrDefault('{"id": "", "location": ""}'))}removeRepositoryReference(){this.remove(this.SELECTED_REPOSITORY)}serializeRepositoryReference(e){return JSON.stringify(e)}deserializeRepositoryReference(e){if("string"==typeof e)try{return JSON.parse(e)}catch(e){console.error("Error parsing repository reference",e)}}}class xe extends _e{RESTRICTED_PAGES="restrictedPages";SECURITY_CONFIG="securityConfig";AUTHENTICATED_USER="authenticatedUser";AUTH_TOKEN="jwt";OPEN_ID_CONFIG="openIdConfig";getRestrictedPages(){return this.getContextPropertyValue(this.RESTRICTED_PAGES)||new x}updateRestrictedPages(e){this.updateContextProperty(this.RESTRICTED_PAGES,e)}onRestrictedPagesChanged(e){return this.subscribe(this.RESTRICTED_PAGES,e)}onAuthTokenChanged(e){return this.subscribe(this.AUTH_TOKEN,e)}updateAuthToken(e){this.updateContextProperty(this.AUTH_TOKEN,e)}getAuthToken(){return this.getContextPropertyValue(this.AUTH_TOKEN)}updateSecurityConfig(e){this.updateContextProperty(this.SECURITY_CONFIG,e)}onSecurityConfigChanged(e){return this.subscribe(this.SECURITY_CONFIG,e)}getSecurityConfig(){return this.getContextPropertyValue(this.SECURITY_CONFIG)}updateAuthenticatedUser(e){this.updateContextProperty(this.AUTHENTICATED_USER,e)}onAuthenticatedUserChanged(e){return this.subscribe(this.AUTHENTICATED_USER,e)}getAuthenticatedUser(){return this.getContextPropertyValue(this.AUTHENTICATED_USER)}updateOpenIdConfig(e){return this.updateContextProperty(this.OPEN_ID_CONFIG,e)}getOpenIdConfig(){return this.getContextPropertyValue(this.OPEN_ID_CONFIG)}}class ve{static getWindow(){return window}static getPluginRegistry(){return ve.getWindow().PluginRegistry}}function Ue(e){return t=>{t&&t.preventDefault(),De(e)}}function De(e){ve.getWindow().singleSpa.navigateToUrl(e)}function we(e){ve.getWindow().open(e,"_blank")}function Me(){return"/"===Ge()}function Ge(){return ve.getWindow().location.pathname.substring(ke().length-1)}function Ve(){return`${ve.getWindow().location.origin}${ke()}`}function ke(){return document.querySelector("base")?.getAttribute("href")??"/"}function $e(){return Ge().substring(1)}const Be=new s([new class extends me{authStorage=y.get(be);repositoryStorageService=y.get(Le);securityContextService=y.get(xe);process(e){e.headers=e.headers||{},e.headers["X-Requested-With"]="XMLHttpRequest";const t=this.authStorage.getAuthToken().getValue();if(t&&(e.headers.Authorization=t),!e.headers["X-GraphDB-Repository"]){const t=this.repositoryStorageService.getRepositoryReference();t?.id&&(e.headers["X-GraphDB-Repository"]=t.id),t?.location&&(e.headers["X-GraphDB-Repository-Location"]=t.location)}return Promise.resolve(e)}shouldProcess(e){const t=this.securityContextService.getOpenIdConfig();if(!t)return!0;const s=t?.openIdKeysUri,r=t?.openIdTokenUrl;return!s||!r||![t?.openIdKeysUri,t?.openIdTokenUrl].some(t=>t&&e.url.indexOf(t)>-1)}}]),Ye=new s([new class extends me{process(e){return localStorage.getItem("ontotext.gdb.auth.jwt")&&(localStorage.removeItem("ontotext.gdb.auth.jwt"),De("login"),ve.getWindow().location.reload()),Promise.reject(e)}shouldProcess(e){return 401===e.status}}]);class He{preProcessors=new s;postProcessors=new s;constructor(){this.registerRequestInterceptors(Be),this.registerResponseInterceptors(Ye)}async preProcess(e){let t=e;for(const e of this.preProcessors.getItems())e.shouldProcess(t)&&(t=await e.process(t));return t}async postProcess(e){let t=e;for(const e of this.postProcessors.getItems())e.shouldProcess(t)&&(t=await e.process(t));return t}registerRequestInterceptors(e){this.preProcessors.addItems(e.getItems()),this.sortInterceptors(this.preProcessors)}registerResponseInterceptors(e){this.postProcessors.addItems(e.getItems()),this.sortInterceptors(this.postProcessors)}sortInterceptors(e){e.sort((e,t)=>t.priority-e.priority)}}class Fe{constructor(e){this.url=e.url,this.method=e.method,this.headers={...e.headers},this.body=e.body}}class Ke{emit(e){const t=new CustomEvent(e.NAME,{detail:e.payload});return this.getHostElement().dispatchEvent(t),t}subscribe(e,t){const s=e=>{e instanceof CustomEvent&&t(e.detail)};return this.getHostElement().addEventListener(e,s),()=>this.getHostElement().removeEventListener(e,s)}getHostElement(){return document.body}}const qe=["application/json","application/sparql-results+json"],We="http-request-done-event";class je{interceptorService=y.get(He);eventEmitter=new Ke;get(e,t,s){return this.request(e,"GET",{params:t,headers:s}).then(e=>e)}post(e,t,s){return this.request(e,"POST",{body:t,headers:s})}put(e,t,s){return this.request(e,"PUT",{body:t,headers:s})}delete(e,t){return this.request(e,"DELETE",{headers:t})}patch(e,t,s){return this.request(e,"PATCH",{body:t,headers:s})}encodeURIComponentStrict(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}request(e,t,s={}){const r=this.buildQueryParams(s.params),i=`${e}${r?`?${r}`:""}`,n={"Content-Type":"application/json",Accept:"application/json, text/plain, */*",...s.headers};return this.interceptorService.preProcess(new Fe({url:i,method:t,headers:n,body:s.body})).then(e=>fetch(e.url,{method:e.method,headers:e.headers,body:e.body?JSON.stringify(e.body):null})).then(e=>this.interceptorService.postProcess(e)).then(e=>e.ok?this.hasValidJson(e)?e.json():Promise.resolve():Promise.reject(e)).finally(()=>this.eventEmitter.emit({NAME:We,payload:void 0}))}hasValidJson(e){const t=e.headers.get("Content-Type");return!!t&&qe.some(e=>t.includes(e))}buildQueryParams(e={}){return new URLSearchParams(e).toString()}}class Qe extends je{I18N_ENDPOINT="assets/i18n";getLanguage(e){return this.get(`${this.I18N_ENDPOINT}/${e}.json`)}getLanguageConfiguration(){return this.get(`${this.I18N_ENDPOINT}/language-config.json`)}}class ze extends O{mapToModel(e){return new H(e)}}class Je extends Pe{NAMESPACE="i18n";set(e,t){this.storeValue(e,t)}}class Xe extends _e{LANGUAGE_CONFIG="languageConfig";SELECTED_LANGUAGE="selectedLanguage";LANGUAGE_BUNDLE="languageBundle";DEFAULT_BUNDLE="defaultBundle";updateSelectedLanguage(e){this.validatePropertyChange(this.SELECTED_LANGUAGE,e).then(t=>{if(t){const t=e||y.get(Ze).getDefaultLanguage();y.get(Je).set(this.SELECTED_LANGUAGE,t),this.updateContextProperty(this.SELECTED_LANGUAGE,e)}})}onSelectedLanguageChanged(e,t){return this.subscribe(this.SELECTED_LANGUAGE,e,t)}updateLanguageBundle(e){this.updateContextProperty(this.LANGUAGE_BUNDLE,e)}onLanguageBundleChanged(e){return this.subscribe(this.LANGUAGE_BUNDLE,e)}updateDefaultBundle(e){this.updateContextProperty(this.DEFAULT_BUNDLE,e)}getDefaultBundle(){return this.getContextPropertyValue(this.DEFAULT_BUNDLE)}getLanguageConfig(){return this.getContextPropertyValue(this.LANGUAGE_CONFIG)}setLanguageConfig(e){this.updateContextProperty(this.LANGUAGE_CONFIG,e)}getSelectedLanguage(){return this.getContextPropertyValue(this.SELECTED_LANGUAGE)}}class Ze{languageRestService=y.get(Qe);languageContextService=y.get(Xe);getSupportedLanguages(){const e=this.languageContextService.getLanguageConfig();return e?e.availableLanguages.getLanguageCodes():["en","fr"]}getLanguage(e){return this.languageRestService.getLanguage(e)}getLanguageConfiguration(){return this.languageRestService.getLanguageConfiguration().then(e=>C.get(ze).mapToModel(e))}getDefaultLanguage(){const e=this.languageContextService.getLanguageConfig();return e?e.defaultLanguage:"en"}}class et extends je{static REPOSITORIES_ENDPOINT="rest/repositories";getRepositories(){return this.get(`${et.REPOSITORIES_ENDPOINT}/all`)}getRepositorySizeInfo(e){return this.get(`${et.REPOSITORIES_ENDPOINT}/${e.id}/size?location=${encodeURIComponent(e.location)}`)}}class tt extends O{mapToModel(e){return new i(e)}}class st extends O{constructor(){super(),this.repositoryMapper=C.get(tt)}mapToModel(e){if(!e||"object"!=typeof e)return new o;const t=[];return Object.entries(e).forEach(([,e])=>{Array.isArray(e)&&e.forEach(e=>{const s=this.repositoryMapper.mapToModel(e);t.push(s)})}),new o(t)}}class rt extends O{mapToModel(e){return new a(e)}}class it{GRAPHQL_REPO_AUTHORITY="GRAPHQL";constructor(){this.repositoryRestService=y.get(et),this.repositoryListMapper=C.get(st),this.repositorySizeInfoMapper=C.get(rt)}getRepositories(){return this.repositoryRestService.getRepositories().then(e=>this.repositoryListMapper.mapToModel(e))}getRepositorySizeInfo(e){return this.repositoryRestService.getRepositorySizeInfo(e).then(this.repositorySizeInfoMapper.mapToModel)}isSystemRepository(e){return"SYSTEM"===e.id}getCurrentGqlRepoAuthority(e,t){return`${this.getCurrentRepoAuthority(e,t)}:${this.GRAPHQL_REPO_AUTHORITY}`}getOverallGqlRepoAuthority(e){return`${this.getOverallRepoAuthority(e)}:${this.GRAPHQL_REPO_AUTHORITY}`}getLocationSpecificId(e){return e.location?`${e.id}@${e.location}`:e.id}getCurrentRepoAuthority(e,t){return`${e}_REPO_${t}`}getOverallRepoAuthority(e){return`${e}_REPO_*`}}class nt extends _e{SELECTED_REPOSITORY="selectedRepository";REPOSITORY_LIST="repositoryList";updateSelectedRepository(e){const t=y.get(Le),s=this.findRepository(e);this.validatePropertyChange(this.SELECTED_REPOSITORY,s).then(r=>{r&&(s?t.setRepositoryReference(s.toRepositoryReference()):e||t.removeRepositoryReference(),this.updateContextProperty(this.SELECTED_REPOSITORY,s))})}getSelectedRepository(){return this.getContextPropertyValue(this.SELECTED_REPOSITORY)}onSelectedRepositoryChanged(e,t){return this.subscribe(this.SELECTED_REPOSITORY,e,t)}updateRepositoryList(e){return this.updateContextProperty(this.REPOSITORY_LIST,e)}getRepositoryList(){return this.getContextPropertyValue(this.REPOSITORY_LIST)||new o([])}onRepositoryListChanged(e){return this.subscribe(this.REPOSITORY_LIST,e)}findRepository(e){if(e)return this.getRepositoryList().findRepository(e.id,e.location)}}class ot extends je{getActiveRepositoryLocation(){return this.get("rest/locations/active")}}class at extends O{mapToModel(e){return new h(e)}}class ut{constructor(){this.locationRestService=y.get(ot),this.repositoryLocationMapper=C.get(at)}getActiveRepositoryLocation(){return this.locationRestService.getActiveRepositoryLocation().then(this.repositoryLocationMapper.mapToModel)}}class ct extends _e{ACTIVE_REPOSITORY_LOCATION="activeRepositoryLocation";IS_LOADING="isLoading";updateActiveRepositoryLocation(e){this.updateContextProperty(this.ACTIVE_REPOSITORY_LOCATION,e)}onActiveLocationChanged(e){return this.subscribe(this.ACTIVE_REPOSITORY_LOCATION,e)}updateIsLoading(e){this.updateContextProperty(this.IS_LOADING,e)}onIsLoadingChanged(e){return this.subscribe(this.IS_LOADING,e)}}class lt extends je{getLicense(){return this.get("rest/graphdb-settings/license")}}class ht extends O{mapToModel(e){return new w(e)}}class pt extends _e{GRAPHDB_LICENSE="graphDbLicense";updateGraphdbLicense(e){this.updateContextProperty(this.GRAPHDB_LICENSE,e)}onLicenseChanged(e){return this.subscribe(this.GRAPHDB_LICENSE,e)}getLicense(){return this.getContextPropertyValue(this.GRAPHDB_LICENSE)}}class gt{licenseRestService=y.get(lt);licenseMapper=y.get(ht);trackableProductTypes=["free","sandbox"];trackableTypesOfUse=["evaluation","this is an evaluation license"];getLicense(){return this.licenseRestService.getLicense().then(e=>this.licenseMapper.mapToModel(e))}isTrackableLicense(){const e=y.get(pt).getLicense(),t=e?.typeOfUse?.toLowerCase()||"",s=e?.productType?.toLowerCase()||"";return!e?.present||this.trackableProductTypes.includes(s)||this.trackableTypesOfUse.includes(t)}}class dt extends _e{PRODUCT_INFO="productInfo";updateProductInfo(e){this.updateContextProperty(this.PRODUCT_INFO,e)}onProductInfoChanged(e){return this.subscribe(this.PRODUCT_INFO,e)}}class Et extends O{mapToModel(e){return new V(e)}}class At extends je{VERSION_URL="rest/info/version";getProductInfoLocal(){return this.get(`${this.VERSION_URL}?local=1`)}}class St{productInfoMapper=I(Et);productInfoService=I(At);async getProductInfoLocal(){const e=await this.productInfoService.getProductInfoLocal();return this.productInfoMapper.mapToModel(e)}}class Rt extends O{mapToModel(e){return new b(e)}}class Tt{constructor(e){this.notify=e}}class Ct{eventSubscribers=new Map;emit(t){const s=this.eventSubscribers.get(t.NAME);s&&s.forEach(s=>{s.notify(e.deepCopy(t.payload))})}subscribe(e,t){const s=new Tt(t),r=this.eventSubscribers.get(e);return r?r.push(s):this.eventSubscribers.set(e,[s]),()=>this.unsubscribe(e,s)}unsubscribe(e,t){const s=this.eventSubscribers.get(e);if(s){const r=s.indexOf(t);-1!==r&&s.splice(r,1),0===s.length&&this.eventSubscribers.delete(e)}}}class yt{constructor(e,t){this.setRegex(e),this.setRouteParams(t)}getRegex(){return this.regex}setRegex(e){return this.regex=e,this}getRouteParams(){return this.routeParams}setRouteParams(e){return this.routeParams=e,this}}class It{constructor(e){this._url=e.url,this._module=e.module,this._path=e.path,this._chunk=e.chunk,this._controller=e.controller,this._templateUrl=e.templateUrl,this._title=e.title,this._reloadOnSearch=e.reloadOnSearch,this._helpInfo=e.helpInfo,this._documentationUrl=e.documentationUrl,this._allowAuthorities=e.allowAuthorities}get url(){return this._url}set url(e){this._url=e}get module(){return this._module}set module(e){this._module=e}get path(){return this._path}set path(e){this._path=e}get chunk(){return this._chunk}set chunk(e){this._chunk=e}get controller(){return this._controller}set controller(e){this._controller=e}get templateUrl(){return this._templateUrl}set templateUrl(e){this._templateUrl=e}get title(){return this._title}set title(e){this._title=e}get reloadOnSearch(){return this._reloadOnSearch}set reloadOnSearch(e){this._reloadOnSearch=e}get helpInfo(){return this._helpInfo}set helpInfo(e){this._helpInfo=e}get documentationUrl(){return this._documentationUrl}set documentationUrl(e){this._documentationUrl=e}get allowAuthorities(){return this._allowAuthorities}set allowAuthorities(e){this._allowAuthorities=e}}class ft{routeConfig=ve.getWindow().PluginRegistry.get(ye.ROUTE);getActiveRoute(e=Ge()){const t=this.routeConfig.find(t=>this.routeToRegex(t.url).getRegex().test(e));return t?new It(t):void 0}routeToRegex(e){const t=[],r=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(e,s,r,i){const n="?"===i||"*?"===i,o="*"===i||"*?"===i;return t.push(r),s=s||"",(n?"(?:"+s:s+"(?:")+(o?"(.+?)":"([^/]+)")+(n?"?)?":")")}).replace(/([/$*])/g,"\\$1");return new yt(new RegExp("^"+r+"(?:[?#]|$)"),new s(t))}}class Ot{repositoryService=y.get(it);securityContextService=y.get(xe);login(){return"Authentication.login from the API"}logout(){y.get(Ct).emit(new R)}isLoggedIn(){const e=this.getSecurityConfig();return!(!e?.enabled||!e?.userLoggedIn)}isAuthenticated(){const e=this.getSecurityConfig(),t=this.getAuthenticatedUser();return!e?.enabled||t?.external||null!=y.get(be).getAuthToken().getValue()}hasFreeAccess(){const e=this.getSecurityConfig();return e?.enabled&&e?.freeAccessActive}hasRole(e){const t=this.getSecurityConfig(),s=this.getAuthenticatedUser();return!e||!t?.enabled||!!(Object.keys(s||{}).length>0)&&(L.IS_AUTHENTICATED_FULLY===e||s?.authorities.hasAuthority(e))}isSecurityEnabled(){return!!this.getSecurityConfig()?.enabled}canReadRepo(e){if(!e||""===e.id)return!1;const t=this.getSecurityConfig(),s=this.getAuthenticatedUser();return!t?.enabled||!!s&&(!!this.isAdminOrRepoManager()||!this.repositoryService.isSystemRepository(e)&&this.hasBaseRights(U.READ,e))}canReadGqlRepo(e){return!(!e||""===e.id)&&this.hasGraphqlAuthority(U.READ,e)}canWriteGqlRepo(e){return!(!e||""===e.id)&&this.hasGraphqlAuthority(U.WRITE,e)}hasGqlRights(e){return this.canReadGqlRepo(e)||this.canWriteGqlRepo(e)}hasAuthority(){if(this.hasRole(L.ROLE_ADMIN))return!0;const e=y.get(ft).getActiveRoute();if(!e)return!1;if(!e.allowAuthorities)return!0;if(!y.get(Le).getRepositoryReference()?.id)return!0;const t=this.getAuthenticatedUser();return!t||!e.allowAuthorities.length||this.resolveAuthorities(e.allowAuthorities).some(e=>t.authorities.hasAuthority(e))}resolveAuthorities(e){if(!e)return[];const t=y.get(Le).getRepositoryReference();return t?.id?[...e.map(e=>e.replace("{repoId}",t.id)),...e.map(e=>e.replace("{repoId}","*"))]:e}hasGraphqlAuthority(e,t){const s=this.securityContextService.getAuthenticatedUser();if(!s)return!1;const r=this.repositoryService.getLocationSpecificId(t),i=this.repositoryService.getCurrentGqlRepoAuthority(e,r),n=this.repositoryService.getOverallGqlRepoAuthority(e);return s.authorities.hasAuthority(i)||s.authorities.hasAuthority(n)}isAdminOrRepoManager(){return this.hasRole(L.ROLE_ADMIN)||this.hasRole(L.ROLE_REPO_MANAGER)}getSecurityConfig(){return y.get(xe).getSecurityConfig()}getAuthenticatedUser(){return y.get(xe).getAuthenticatedUser()}hasBaseRights(e,t){const s=this.repositoryService.getLocationSpecificId(t),r=this.repositoryService.getCurrentRepoAuthority(e,s),i=this.repositoryService.getOverallRepoAuthority(e),n=this.getAuthenticatedUser();return!(!n?.authorities.hasAuthority(r)&&!n?.authorities.hasAuthority(i))}}class _t extends O{mapToModel(e){return new m(e)}}class mt extends je{SECURITY_ENDPOINT="rest/security";updateUserData(e){return this.patch(`${this.SECURITY_ENDPOINT}/users/${this.encodeURIComponentStrict(e.username)}`,{appSettings:e.appSettings})}getSecurityConfig(){return this.get(`${this.SECURITY_ENDPOINT}/all`)}getAuthenticatedUser(){return this.get(`${this.SECURITY_ENDPOINT}/authenticated-user`)}}class Pt{securityRestService=y.get(mt);securityContextService=y.get(xe);updateUserData(e){return this.securityRestService.updateUserData(e).then(()=>this.securityContextService.updateAuthenticatedUser(e))}getSecurityConfig(){return this.securityRestService.getSecurityConfig().then(e=>C.get(Rt).mapToModel(e))}getAuthenticatedUser(){return this.securityRestService.getAuthenticatedUser().then(e=>C.get(_t).mapToModel(e))}}class Nt extends O{mapToModel(e){return new v(e)}}const bt="cookie-consent-changed-event";class Lt{eventEmitter=new Ke;acceptCookiePolicy(){const e=this.setAcceptedCookiePolicy();return y.get(Pt).updateUserData(e).then(()=>{this.eventEmitter.emit({NAME:bt,payload:e.appSettings.COOKIE_CONSENT})})}setAcceptedCookiePolicy(){const e=y.get(xe).getAuthenticatedUser()||new m({});let t;return t=e.appSettings?.COOKIE_CONSENT?new F(e.appSettings.COOKIE_CONSENT):new F({thirdParty:!0,statistic:!0}),t.policyAccepted=!0,t.updatedAt=Date.now(),e.appSettings.COOKIE_CONSENT=t,e}}class xt extends je{MONITORING_ENDPOINT="rest/monitor";getOperations(e){return this.get(`${this.MONITORING_ENDPOINT}/repository/${e}/operations`)}}const vt={[z.CLUSTER_HEALTH]:0,[z.BACKUP_AND_RESTORE]:1,[z.IMPORT]:2,[z.QUERIES]:3,[z.UPDATES]:4};class Ut extends O{mapToModel(e){return new Q(e.map(e=>new te(e)).sort((e,t)=>vt[e.type]-vt[t.type]))}}class Dt extends O{mapToModel(e){return new j({status:e.status,allRunningOperations:C.get(Ut).mapToModel(e.allRunningOperations||[])})}}class wt{getOperations(e){return y.get(xt).getOperations(e).then(e=>C.get(Dt).mapToModel(e))}}class Mt extends O{mapToModel(e){return new se(e)}}class Gt{eventEmitter=new Ke;error(e,t){this.createToastElement(e,oe.ERROR,t)}info(e,t){this.createToastElement(e,oe.INFO,t)}success(e,t){this.createToastElement(e,oe.SUCCESS,t)}warning(e,t){this.createToastElement(e,oe.WARNING,t)}createToastElement(e,t,s){this.eventEmitter.emit({NAME:ce,payload:new ue(t,e,s)})}}class Vt extends je{autocompleteRestPrefix="rest/autocomplete";search(e){return this.get(`${this.autocompleteRestPrefix}/query?q=${e}`)}enabled(){return this.get(`${this.autocompleteRestPrefix}/enabled`)}}class kt extends O{mapToModel(e){return new de(e.map(e=>new Ae({...e,id:ae.hashCode(`${e.type}-${e.value}-${e.description}`)})))}}class $t extends O{mapToModel(e){return new Ee({...e,suggestionList:C.get(kt).mapToModel(e.suggestions)})}}class Bt{search(e){return y.get(Vt).search(e).then(e=>C.get($t).mapToModel(e))}isAutocompleteEnabled(){return y.get(Vt).enabled()}}class Yt extends Pe{ENABLED_KEY="enabled";NAMESPACE="autocomplete";set(e,t){this.storeValue(e,t)}isEnabled(){return"true"===this.get(this.ENABLED_KEY).value}setEnabled(e){this.set(this.ENABLED_KEY,e.toString())}}class Ht extends _e{AUTOCOMPLETE_ENABLED="isAutocompleteEnabled";updateAutocompleteEnabled(e){this.updateContextProperty(this.AUTOCOMPLETE_ENABLED,e),y.get(Yt).setEnabled(e)}onAutocompleteEnabledChanged(e){return this.subscribe(this.AUTOCOMPLETE_ENABLED,e)}}class Ft extends O{mapToModel(e){const t=e?.results.bindings||[];return new l(t.reduce((e,t)=>(e[t.prefix.value]=t.namespace.value,e),{}))}}class Kt extends je{REPOSITORIES_ENDPOINT="repositories";getNamespaces(e){return this.get(`${this.REPOSITORIES_ENDPOINT}/${e}/namespaces`)}}class qt{namespaceMapper=C.get(Ft);namespacesRestService=y.get(Kt);getNamespaces(e){return this.namespacesRestService.getNamespaces(e).then(e=>this.namespaceMapper.mapToModel(e))}}class Wt extends _e{NAMESPACES="namespaces";updateNamespaces(e){this.updateContextProperty(this.NAMESPACES,e)}onNamespacesChanged(e){return this.subscribe(this.NAMESPACES,e)}}class jt extends Pe{SELECTED_VIEW_KEY="selectedView";INPUT_KEY="input";LAST_SELECTED_KEY="lastSelected";NAMESPACE="resourceSearch";LEGACY_LAST_SELECTED_KEY="ls.rdf-search.resource-description";LEGACY_INPUT_KEY="ls.rdf-search.search-input";LEGACY_SELECTED_VIEW_KEY="ls.rdf-search.search-type";set(e,t){this.storeValue(e,t)}setSelectedView(e){this.set(this.SELECTED_VIEW_KEY,e),localStorage.setItem(this.LEGACY_SELECTED_VIEW_KEY,e)}getSelectedView(){return this.get(this.SELECTED_VIEW_KEY).getValue()||""}setInputValue(e){this.set(this.INPUT_KEY,e),localStorage.setItem(this.LEGACY_INPUT_KEY,e)}getInputValue(){return this.get(this.INPUT_KEY).getValue()||""}setLastSelected(e){this.set(this.LAST_SELECTED_KEY,e.getValue()),localStorage.setItem(this.LEGACY_LAST_SELECTED_KEY,e.getDescription()||"")}getLastSelectedValue(){return this.get(this.LAST_SELECTED_KEY).getValue()||""}clearStoredSearch(){this.remove(this.INPUT_KEY),this.remove(this.LAST_SELECTED_KEY),localStorage.removeItem(this.LEGACY_INPUT_KEY),localStorage.removeItem(this.LEGACY_LAST_SELECTED_KEY)}}class Qt extends _e{PREVIOUS_ROUTE="previousRoute";updatePreviousRoute(e){this.updateContextProperty(this.PREVIOUS_ROUTE,e)}getPreviousRoute(){let e=this.getContextPropertyValue(this.PREVIOUS_ROUTE);return e?.endsWith("#")&&(e=e.slice(0,-1)),e}}class zt extends _e{APPLICATION_DATA_STATE="applicationDataLoaded";updateApplicationDataState(e){this.updateContextProperty(this.APPLICATION_DATA_STATE,e)}onApplicationDataStateChanged(e){return this.subscribe(this.APPLICATION_DATA_STATE,e)}}class Jt extends _e{APPLICATION_CONFIGURATION="applicationConfiguration";updateApplicationConfiguration(e){this.updateContextProperty(this.APPLICATION_CONFIGURATION,e)}getApplicationConfiguration(){return this.getContextPropertyValue(this.APPLICATION_CONFIGURATION)}}class Xt extends je{configurationContextService=I(Jt);getPluginsManifest(){const e=this.configurationContextService.getApplicationConfiguration();return this.get(e.pluginsManifestPath)}async loadPlugins(e){return await Promise.all(e.getPluginDefinitions().getItems().map(async e=>{try{const t=e.entry.startsWith("http")?e.entry:`${Ve()}${e.entry}`;return await import(t)}catch(t){console.warn(`Failed to load plugin ${e.name}:`,t)}}))}}class Zt extends O{mapToModel(e){const t=new Ie(e.plugins);return new Ce(t)}}class es{constructor(){this.pluginsRestService=y.get(Xt),this.pluginsManifestMapper=new Zt}async getPluginsManifest(){const e=await this.pluginsRestService.getPluginsManifest();return this.pluginsManifestMapper.mapToModel(e)}async loadPlugins(){let e;try{e=await this.getPluginsManifest()}catch(e){console.warn("Failed to load plugins manifest. Continue with the built-in plugins only.",e)}e&&(await this.pluginsRestService.loadPlugins(e)).filter(e=>void 0!==e).forEach(e=>{void 0!==e.register?e.register(ve.getPluginRegistry()):console.warn("Plugin module is missing the register method. Skipping registration.",e)})}}const ts=JSON.parse('{"configUrl":"assets/configuration.default.json"}');class ss extends Error{constructor(e){super(),this.text=e}get message(){return`${this.constructor.name}: ${this.text}`}}class rs extends ss{}class is extends je{async getConfiguration(){let e,t=ts;try{t=await this.get("assets/env.json")}catch{console.warn('No downloadable "env.json" was found. Fallback to default:',t)}try{if(e=await this.get(t.configUrl),e)return console.info(`Configuration file ${t.configUrl} was downloaded`,e),e}catch{throw new rs(`Failed to download configuration from "${t.configUrl}". Ensure that there is a\n "configuration.default.json" JSON file in the assets folder or provide an "env.json" file pointing to another\n configuration file.`)}}}class ns{constructor(){this.configurationRestService=y.get(is)}async getConfiguration(){const e=await this.configurationRestService.getConfiguration();return e&&y.get(Jt).updateApplicationConfiguration(e),e}}class os{static isDevMode(){return ve.getWindow().wbDevMode}}class as{static ABS_URI_REGEX=/^<?(http|urn).*>?/;static GRAPHS_VISUALIZATIONS_URL="graphs-visualizations";static RESOURCE_URL="resource";static BASE_DOCUMENTATION_URL="https://graphdb.ontotext.com/documentation/";static LATEST_UNOFFICIAL_VERSION="master";static shortenIri(e){const t=document.createElement("a");t.href=e;let s=t.hostname;return as.containsIPV4(t.hostname)||(s=t.hostname.split(".")[0]),s+":"+t.port}static containsIPV4(e){const t=e.split(".");for(let e=0,s=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?s++:s=0,4===s)return!0;return!1}static createAutocompleteRedirect(e,t){return`${e}?uri=${encodeURIComponent(t)}`}static removeAngleBrackets(e){return e?.startsWith("<")&&e?.endsWith(">")?e.substring(1,e.length-1):e}static isValidUri(e){let t=!1;if(this.hasValidProtocol(e))if(e.indexOf("http")>=0){const s=e.indexOf("//");t=s>4&&e.substring(s+2).length>0}else e.indexOf("urn")>=0&&(t=e.substring(4).length>0);return t}static resolveDocumentationUrl(e,t){if(!e||!t)throw new Error("Product version and endpoint path are required for documentation URL resolution.");const s=e.includes("-"),r=os.isDevMode()||s?this.LATEST_UNOFFICIAL_VERSION:e;return`${this.BASE_DOCUMENTATION_URL}${r}/${t}`}static hasAngleBrackets(e){return e.startsWith("<")&&e.endsWith(">")}static hasNoAngleBrackets(e){return!e.startsWith("<")&&!e.endsWith(">")}static hasValidProtocol(e){return this.ABS_URI_REGEX.test(e)&&(this.hasNoAngleBrackets(e)||this.hasAngleBrackets(e))}}class us{fibo1=0;fibo2=1;next(){const e=this.fibo2;return this.fibo2=this.fibo1+this.fibo2,this.fibo1=e,e}reset=()=>{this.fibo1=0,this.fibo2=1}}export{zt as ApplicationLifecycleContextService,m as AuthenticatedUser,_t as AuthenticatedUserMapper,Ot as AuthenticationService,be as AuthenticationStorageService,T as AuthenticationType,L as Authority,f as AuthorityList,Ht as AutocompleteContextService,Ee as AutocompleteSearchResult,Bt as AutocompleteService,Yt as AutocompleteStorageService,B as AvailableLanguagesList,os as BuildUtil,bt as COOKIE_CONSENT_CHANGED_EVENT,ce as CREATE_TOAST_EVENT,M as Capability,G as CapabilityList,is as ConfigurationRestService,ns as ConfigurationService,_e as ContextService,Oe as ContextSubscriptionManager,F as CookieConsent,Lt as CookieService,ss as ErrorBase,g as Event,Ke as EventEmitter,d as EventName,Ct as EventService,ye as ExtensionPoint,us as FibonacciGenerator,We as HTTP_REQUEST_DONE_EVENT,H as LanguageConfig,Xe as LanguageContextService,Qe as LanguageRestService,Ze as LanguageService,Je as LanguageStorageService,w as License,pt as LicenseContextService,gt as LicenseService,Te as LifecycleState,Pe as LocalStorageService,Ne as LocalStorageSubscriptionHandlerService,R as Logout,C as MapperProvider,t as Model,s as ModelList,xt as MonitoringRestService,wt as MonitoringService,l as NamespaceMap,Wt as NamespacesContextService,qt as NamespacesService,Qt as NavigationContextService,E as NavigationEnd,A as NavigationEndPayload,S as NavigationStart,e as ObjectUtil,Gt as OntoToastrService,v as OpenIdConfig,Nt as OpenidConfigMapper,te as Operation,J as OperationGroup,W as OperationGroupSummary,se as OperationGroupSummaryList,Mt as OperationGroupSummaryListMapper,Q as OperationList,K as OperationStatus,j as OperationStatusSummary,Dt as OperationSummaryMapper,z as OperationType,Ie as PluginDefinitionList,Ce as PluginsManifest,Xt as PluginsRestService,es as PluginsService,V as ProductInfo,dt as ProductInfoContextService,St as ProductInfoService,i as Repository,nt as RepositoryContextService,o as RepositoryList,st as RepositoryListMapper,h as RepositoryLocation,ct as RepositoryLocationContextService,ut as RepositoryLocationService,p as RepositoryLocationType,et as RepositoryRestService,it as RepositoryService,a as RepositorySizeInfo,u as RepositoryState,Le as RepositoryStorageService,c as RepositoryType,jt as ResourceSearchStorageService,x as RestrictedPages,U as Rights,q as STATUS_ORDER,ge as SearchButton,pe as SearchButtonConfig,he as SearchButtonList,b as SecurityConfig,Rt as SecurityConfigMapper,xe as SecurityContextService,Pt as SecurityService,y as ServiceProvider,k as StorageData,$ as StorageKey,r as SubscriptionList,Ae as Suggestion,de as SuggestionList,kt as SuggestionListMapper,Re as SuggestionSelectedPayload,Se as SuggestionType,ue as ToastMessage,le as ToastMessageList,oe as ToastType,ne as ToastrConfig,re as ToastrPosition,as as UriUtil,ve as WindowService,ke as getContextName,$e as getCurrentRoute,Ve as getOrigin,Ge as getPathName,Me as isHomePage,De as navigate,Ue as navigateTo,we as openInNewTab,I as service};
|
|
1
|
+
class e{static deepEqual(t,s){if(t===s)return!0;if(null==t||null==s)return!1;if("object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;if(Array.isArray(t)&&Array.isArray(s)){if(t.length!==s.length)return!1;for(let r=0;r<t.length;r++)if(!e.deepEqual(t[r],s[r]))return!1;return!0}if(!Array.isArray(t)&&!Array.isArray(s)){const r=Object.keys(t),i=Object.keys(s);if(r.length!==i.length)return!1;for(const i of r)if(!(i in s)||!e.deepEqual(t[i],s[i]))return!1;return!0}return!1}return!1}static deepCopy(t){if("object"!=typeof t||null==t||"function"==typeof t)return t;if(Array.isArray(t))return t.map(t=>e.deepCopy(t));const s=Object.create(Object.getPrototypeOf(t));for(const r of Object.keys(t))s[r]=e.deepCopy(t[r]);return s}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class t{copy(){return e.deepCopy(this)}}class s extends t{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class r extends s{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}class i extends t{constructor(e){super(),this.id=e?.id||"",this.title=e?.title||"",this.type=e?.type,this.sesameType=e?.sesameType,this.uri=e?.uri||"",this.externalUrl=e?.externalUrl||"",this.location=e?.location||"",this.state=e?.state,this.local=e?.local,this.readable=e?.readable,this.writable=e?.writable,this.unsupported=e?.unsupported,this.isNew=e?.isNew}toRepositoryReference(){return{id:this.id,location:this.location}}}const n=(e,t)=>{const s=e.location.localeCompare(t.location);return 0!==s?s:e.id.localeCompare(t.id)};class o extends s{constructor(e){super(e)}findRepository(e,t){return super.find(s=>s.id===e&&s.location===t)}sortByLocationAndId(){super.sort(n)}filterByRepository(e){return super.filter(this.createIdLocationFilter(e))}createIdLocationFilter(e){return t=>e.some(e=>e.id!==t.id||e.location!==t.location)}}class a extends t{constructor(e){super(),this.inferred=e?.inferred||0,this.total=e?.total||0,this.explicit=e?.explicit||0}}let u=function(e){return e.INACTIVE="INACTIVE",e.STARTING="STARTING",e.RUNNING="RUNNING",e.RESTARTING="RESTARTING",e.STOPPING="STOPPING",e}({}),c=function(e){return e.GRAPH_DB="graphdb",e.ONTOP="ontop",e.FEDEX="fedex",e.SYSTEM="system",e}({});class l{constructor(e){this.setNamespaces(e)}setNamespaces(e){this.namespaces=e}getByPrefix(e){return this.namespaces[e]||""}}class h extends t{constructor(e){super(),this.uri=e?.uri||"",this.label=e?.label||"",this.username=e?.username||"",this.password=e?.password||"",this.authType=e?.authType,this.locationType=e?.locationType,this.active=e?.active,this.local=e?.local,this.system=e?.system,this.errorMsg=e?.errorMsg||"",this.defaultRepository=e?.defaultRepository||""}}let g=function(e){return e.GDB="GDB",e.ONTOPIC="ONTOPIC",e.SPARQL="SPARQL",e}({});class p{constructor(e,t){this.NAME=e,this.payload=t}}const d={NAVIGATION_END:"navigationEnd",NAVIGATION_START:"navigationStart",LOGOUT:"logout",APP_DATA_LOADED:"applicationDataLoaded"};class E extends p{constructor(e,t){super(d.NAVIGATION_END,{oldUrl:e,newUrl:t})}}class A{}class R extends p{constructor(e,t,s){super(d.NAVIGATION_START,{oldUrl:e,newUrl:t,cancelNavigation:s})}}class S extends p{constructor(){super(d.LOGOUT)}}let C=function(e){return e.NONE="NONE",e.BASIC="BASIC",e.SIGNATURE="SIGNATURE",e}({});class T{static MAPPER_INSTANCES=new Map;static get(e){const t=e.name;if(!T.MAPPER_INSTANCES.has(t)){const s=new e;T.MAPPER_INSTANCES.set(t,s)}return T.MAPPER_INSTANCES.get(t)}}class I{static SERVICE_INSTANCES=new Map;static get(e){if(!I.SERVICE_INSTANCES.has(e.name)){const t=new e;I.implementsLifecycleHooks(t)&&t.onCreated?.(),I.SERVICE_INSTANCES.set(e.name,t)}return this.SERVICE_INSTANCES.get(e.name)}static implementsLifecycleHooks(e){return"object"==typeof e&&"function"==typeof e.onCreated}static getAllBySuperType(e){return Array.from(I.SERVICE_INSTANCES.values()).filter(t=>t instanceof e)}}function y(e){return I.get(e)}class f extends s{constructor(e){super(e)}hasAuthority(e){return this.items.includes(e)}}class O{}class m extends O{mapToModel(e){return new f(e)}}class _ extends t{constructor(e){super(),this.external=e?.external??!1,this.username=e?.username??"",this.password=e?.password??"",this.authorities=T.get(m).mapToModel(e?.authorities),this.appSettings=e?.appSettings??{}}}class N extends t{constructor(e){super(),this.appSettings=e.appSettings,this.authorities=T.get(m).mapToModel(e.authorities),this.enabled=e.enabled}}class P extends O{mapToModel(e){return new N(e)}}class b extends t{constructor(e){super(),this.authImplementation=e.authImplementation,this.enabled=e.enabled,this.passwordLoginEnabled=e.passwordLoginEnabled,this.freeAccess=T.get(P).mapToModel(e.freeAccess),this.overrideAuth=T.get(P).mapToModel(e.overrideAuth),this.openIdEnabled=e.openIdEnabled,this.userLoggedIn=e.userLoggedIn,this.freeAccessActive=e.freeAccessActive,this.hasExternalAuthUser=e.hasExternalAuthUser}}let L=function(e){return e.ROLE_ADMIN="ROLE_ADMIN",e.ROLE_USER="ROLE_USER",e.ROLE_MONITORING="ROLE_MONITORING",e.ROLE_REPO_MANAGER="ROLE_REPO_MANAGER",e.ROLE_CLUSTER="ROLE_CLUSTER",e.IS_AUTHENTICATED_FULLY="IS_AUTHENTICATED_FULLY",e}({});class x extends t{pages={};isRestricted(e){return this.pages[e]??!1}setPageRestriction(e,t=!0){return this.pages[e]=t,this}}class U extends t{constructor(e){super(),this.openIdKeys=e.openIdKeys,this.openIdTokenUrl=e.openIdTokenUrl,this.openIdKeysUri=e.openIdKeysUri,this.openIdEndSessionUrl=e.openIdEndSessionUrl,this.supportsOfflineAccess=e.supportsOfflineAccess}}let v=function(e){return e.READ="READ",e.WRITE="WRITE",e}({});class D extends O{mapToModel(e){return new G(e)}}class w extends t{constructor(e){super(),this.expiryDate=e.expiryDate,this.latestPublicationDate=e.latestPublicationDate,this.licensee=e.licensee||"",this.maxCpuCores=e.maxCpuCores,this.product=e.product||"",this.productType=e.productType||"",this.licenseCapabilities=T.get(D).mapToModel(e.licenseCapabilities),this.version=e.version||"",this.installationId=e.installationId||"",this.valid=e.valid,this.typeOfUse=e.typeOfUse||"",this.message=e.message||"",this.present=e.present||!1,this.usageRestriction=e.usageRestriction||""}get expiryDate(){return this._expiryDate}set expiryDate(e){this._expiryDate=e}get latestPublicationDate(){return this._latestPublicationDate}set latestPublicationDate(e){this._latestPublicationDate=e}get licensee(){return this._licensee}set licensee(e){this._licensee=e}get maxCpuCores(){return this._maxCpuCores}set maxCpuCores(e){this._maxCpuCores=e}get product(){return this._product}set product(e){this._product=e}get productType(){return this._productType}set productType(e){this._productType=e}get licenseCapabilities(){return this._licenseCapabilities}set licenseCapabilities(e){this._licenseCapabilities=e}get version(){return this._version}set version(e){this._version=e}get installationId(){return this._installationId}set installationId(e){this._installationId=e}get valid(){return this._valid}set valid(e){this._valid=e}get typeOfUse(){return this._typeOfUse}set typeOfUse(e){this._typeOfUse=e}get message(){return this._message}set message(e){this._message=e}get present(){return this._present}set present(e){this._present=e}get usageRestriction(){return this._usageRestriction}set usageRestriction(e){this._usageRestriction=e}}let M=function(e){return e.LUCENE_CONNECTOR="Lucene connector",e.SOLR_CONNECTOR="Solr connector",e.ELASTICSEARCH_CONNECTOR="Elasticsearch connector",e.OPENSEARCH_CONNECTOR="OpenSearch connector",e.KAFKA_CONNECTOR="Kafka connector",e.CLUSTER="Cluster",e}({});class G extends s{constructor(e){super(e)}}class V{constructor(e){this.workbench=e.Workbench||"",this.productType=e.productType||"",this.productVersion=e.productVersion||"",this.sesame=e.sesame||"",this.connectors=e.connectors||"",this.shortVersion=this.resolveShortVersion(e)}resolveShortVersion(e){const t=e.productVersion;if(!t)return"";const s=/^(\d+\.\d+)/.exec(t),r=s?.[1]??t,i=/(-[^-]+)/.exec(t);return r+(i?.[1]??"")}}let k=function(e){return e.CONSOLE="console",e}({}),$=function(e){return e.DEBUG="DEBUG",e.INFO="INFO",e.WARN="WARN",e.ERROR="ERROR",e}({});const B=e=>F[e],F={[$.DEBUG]:0,[$.INFO]:1,[$.WARN]:2,[$.ERROR]:3},Y=new Map([[k.CONSOLE,y(class{log(e,t,s){switch(e){case $.DEBUG:console.debug(t,...s);break;case $.INFO:console.info(t,...s);break;case $.WARN:console.warn(t,...s);break;case $.ERROR:console.error(t,...s);break;default:console.debug(t,...s)}}})]]);class H{callbackFunctions=[];beforeChangeValidationPromises=[];afterValueChangeCallbackFunctions=[];setValue(t){e.deepEqual(this.value,t)||(this.value=this.getCopy(t),this.callbackFunctions.forEach(e=>e(this.getValue())),this.afterValueChangeCallbackFunctions.forEach(e=>e(this.getValue())))}getValue(){return this.getCopy(this.value)}subscribe(e,t,s){return this.callbackFunctions.push(e),t&&this.beforeChangeValidationPromises.push(t),s&&this.afterValueChangeCallbackFunctions.push(s),()=>{this.callbackFunctions=this.callbackFunctions.filter(t=>t!==e),this.beforeChangeValidationPromises=this.beforeChangeValidationPromises.filter(e=>e!==t),this.afterValueChangeCallbackFunctions=this.afterValueChangeCallbackFunctions.filter(e=>e!==s)}}async canUpdate(e){if(0===this.beforeChangeValidationPromises.length)return!0;const t=this.beforeChangeValidationPromises.map(t=>t(e));try{return(await Promise.all(t)).every(e=>e)}catch{return!1}}getCopy(t){if(null!=t)return e.hasCopyMethod(t)?t.copy():e.deepCopy(t)}}class K{subscribers=[];unsubFns=new r;subscribeToService(e){const t=this.subscribers.map(t=>e.subscribeAll(t.callback,t.beforeChangeValidationPromise,t.afterChangeCallback));return this.unsubFns.addAll(t),()=>t.forEach(e=>e())}subscribeToAllRegisteredContexts(e,t,s){const r=I.getAllBySuperType(W).filter(e=>e.canSubscribeAll);for(const i of r)this.unsubFns.add(i.subscribeAll(e,t,s));const i={callback:e,beforeChangeValidationPromise:t,afterChangeCallback:s};this.subscribers.push(i);let o=!1;return()=>{if(o)return;o=!0,this.unsubFns.unsubscribeAll();const e=this.subscribers.indexOf(i);e>=0&&this.subscribers.splice(e,1)}}}class W{context=new Map;_canSubscribeAll=!1;onCreated(){this._canSubscribeAll=!0,I.get(K).subscribeToService(this)}updateContextProperty(e,t){this.getOrCreateValueContext(e).setValue(t)}validatePropertyChange(e,t){return this.getOrCreateValueContext(e).canUpdate(t)}getContextPropertyValue(e){const t=this.context.get(e);return t?t.getValue():void 0}subscribe(e,t,s,r){return t&&t(this.getContextPropertyValue(e)),r&&r(this.getContextPropertyValue(e)),this.getOrCreateValueContext(e).subscribe(t,s,r)}subscribeAll(e,t,s){const i=new r;for(const r of this.getContextFields())i.add(this.subscribe(r,e,t,s));return()=>i.unsubscribeAll()}getContextFields(){return Object.values(this).filter(e=>"string"==typeof e)}getOrCreateValueContext(e){let t=this.context.get(e);return t||(t=new H,this.context.set(e,t)),t}canHandle(e){for(const t in this)if(this[t]===e)return!0;return!1}get canSubscribeAll(){return this._canSubscribeAll}}class q extends W{APPLICATION_CONFIGURATION="applicationConfiguration";updateApplicationConfiguration(e){this.updateContextProperty(this.APPLICATION_CONFIGURATION,e)}getApplicationConfiguration(){return this.getContextPropertyValue(this.APPLICATION_CONFIGURATION)}}class j{loggers=Y;constructor(e){this.module=e}debug(e,...t){this.log($.DEBUG,e,t)}error(e,...t){this.log($.ERROR,e,t)}info(e,...t){this.log($.INFO,e,t)}warn(e,...t){this.log($.WARN,e,t)}log(e,t,s){const r=this.loadConfiguration();r?.loggers.forEach(i=>{const o=this.loggers.get(i);if(!o)throw new Error(`Logger '${i}' not found`);if(B(r.minLogLevel)<=B(e)){const r=this.getFormattedMessage(e,t);o.log(e,r,s)}})}getFormattedMessage(e,t){return`[${e}] [${this.module}] [${(new Date).toLocaleString()}] ${t}`}loadConfiguration(){const e=y(q).getApplicationConfiguration();return e?.loggerConfig}}class Q{static loggerInstances=new Map;static getLoggerInstance(e){return this.loggerInstances.has(e)||this.loggerInstances.set(e,new j(e)),this.loggerInstances.get(e)}}class z{static get logger(){return Q.getLoggerInstance("API")}}class J{logger=z.logger;constructor(e){this.value=e}getValue(){return this.value}getValueOrDefault(e){return this.value||e}getAsJson(){if(null===this.value)return null;try{return JSON.parse(this.value)}catch(e){return this.logger.error("Error parsing JSON",e),null}}}class X{static GLOBAL_NAMESPACE="ontotext.gdb"}class Z{constructor(e){this.languages=e}getLanguageCodes(){return this.languages?.map(e=>e.key)}}class ee extends O{mapToModel(e){return new Z(e)}}class te extends t{constructor(e){super(),this.defaultLanguage=e.defaultLanguage,this.availableLanguages=T.get(ee).mapToModel(e.availableLanguages)}}class se{constructor(e){this.policyAccepted=e?.policyAccepted,this.statistic=e?.statistic,this.thirdParty=e?.thirdParty,this.updatedAt=e?.updatedAt}}let re=function(e){return e.INFORMATION="INFORMATION",e.WARNING="WARNING",e.CRITICAL="CRITICAL",e}({});const ie={[re.INFORMATION]:0,[re.WARNING]:1,[re.CRITICAL]:2};class ne extends t{constructor(e){super(),this.id=`${e.group}-${e.status}-${e.totalOperations}`,this.group=e.group,this.totalOperations=e.totalOperations,this.status=e.status}}class oe extends t{constructor(e){super(),this.status=e.status||re.INFORMATION,this.allRunningOperations=e.allRunningOperations}toOperationsGroupSummary(){const e=new Map;return this.allRunningOperations.getItems().forEach(t=>{e.has(t.group)||e.set(t.group,new ne({group:t.group,totalOperations:0,status:re.INFORMATION}));const s=e.get(t.group);s.totalOperations+=t.count,ie[t.status]>ie[s.status]&&(s.status=t.status)}),Array.from(e.values())}}class ae extends s{constructor(e){super(e)}}let ue=function(e){return e.UPDATES="updates",e.QUERIES="queries",e.IMPORT="imports",e.BACKUP_AND_RESTORE="backupAndRestore",e.CLUSTER_HEALTH="clusterHealth",e}({}),ce=function(e){return e.QUERY="QUERY",e.BACKUP="BACKUP",e.CLUSTER="CLUSTER",e.IMPORT="IMPORT",e}({});const le=[ue.QUERIES,ue.UPDATES,ue.IMPORT],he={[ue.UPDATES]:"monitor/queries",[ue.QUERIES]:"monitor/queries",[ue.BACKUP_AND_RESTORE]:"monitor/backup-and-restore",[ue.IMPORT]:"import",[ue.CLUSTER_HEALTH]:"cluster"},ge={[ue.QUERIES]:ce.QUERY,[ue.UPDATES]:ce.QUERY,[ue.BACKUP_AND_RESTORE]:ce.BACKUP,[ue.IMPORT]:ce.IMPORT,[ue.CLUSTER_HEALTH]:ce.CLUSTER};class pe extends t{constructor(e){super(),this.id=`${e.status}-${e.type}-${e.value}`,this.value=e.value,this.status=e.status,this.type=e.type,this.count=this.getCount(e),this.group=ge[e.type],this.href=he[e.type],this.labelKey=this.getLabelKey(e)}getCount(e){return le.includes(e.type)?parseInt(e.value,10):0}getLabelKey(e){return le.includes(e.type)?e.type:e.value}}class de extends s{constructor(e){super(e)}}let Ee=function(e){return e.BOTTOM_RIGHT="bottom-right",e.BOTTOM_LEFT="bottom-left",e}({});class Ae{constructor(e){this.timeout=e?.timeout||5e3,this.onClick=e?.onClick,this.removeOnClick=e?.removeOnClick||!1}}class Re extends Ae{constructor(e){super(),this.timeout=e.timeout,this.position=e.position}static getDefaultConfig(){return this.instance||(this.instance=new Re({timeout:5e3,position:Ee.BOTTOM_RIGHT})),this.instance}}let Se=function(e){return e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e}({});class Ce{static uuid(){const e=16;let t=(new Date).getTime(),s=1e3*(performance?.now()??0);return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{let i=Math.random()*e;return t>0?(i=(t+i)%e|0,t=Math.floor(t/e)):(i=(s+i)%e|0,s=Math.floor(s/e)),("x"===r?i:3&i|8).toString(e)})}static hashCode(e){let t=0;for(let s=0,r=e.length;s<r;s++)t=(t<<5)-t+e.charCodeAt(s),t|=0;return t}}class Te{constructor(e,t,s){this.id=Ce.uuid(),this.type=e,this.message=t,this.config=s}}const Ie="create-toast-event";class ye extends s{constructor(e){super(e)}}class fe extends s{constructor(e){super(e)}}class Oe extends t{constructor(e){super(),this.setRadio(e.isRadio),this.setButtons(new fe(e.buttons))}getButtons(){return this.buttons}setButtons(e){this.buttons=e}isRadio(){return this.radio}setRadio(e){this.radio=e}selectButton(e){return this.isRadio()&&!e.selected&&(this.deselectAll(),e.selected=!0,e.callback()),this.copy()}deselectAll(){this.buttons.getItems().forEach(e=>e.selected=!1)}}class me extends t{constructor(e){super(),this.id=e.id,this.label=e.label,this.selected=e.selected,this.callback=e.callback}}class _e extends s{constructor(e){super(e)}}class Ne extends t{constructor(e){super(),this.setSuggestions(e.suggestionList)}getSuggestions(){return this._suggestions}setSuggestions(e){this._suggestions=e}hoverFirstSuggestion(){return this.hoverSuggestion(this.getSuggestions().getItems()[0])}hoverSuggestion(e){return e&&(this.clearHoveredState(),e.setHovered(!0)),this.copy()}selectSuggestion(e){return e&&(this.clearSelectedState(),e.setSelected(!0)),this.copy()}getHoveredSuggestion(){return this.getSuggestions().getItems().find(e=>e.isHovered())}hoverPreviousSuggestion(){const e=this.getSuggestions().getItems().findIndex(e=>e.isHovered());return e>0&&(this.clearHoveredState(),this.getSuggestions().getItems()[e-1].setHovered(!0)),this.copy()}hoverNextSuggestion(){const e=this.getSuggestions().getItems().findIndex(e=>e.isHovered());return e<this.getSuggestions().getItems().length-1&&(this.clearHoveredState(),this.getSuggestions().getItems()[e+1].setHovered(!0)),this.copy()}clearSuggestions(){return this.setSuggestions(new _e),this.copy()}getByValue(e){return this.getSuggestions().getItems().find(t=>t.getValue()===e)}clearSelectedState(){this.getSuggestions().getItems().forEach(e=>e.setSelected(!1))}clearHoveredState(){this.getSuggestions().getItems().forEach(e=>e.setHovered(!1))}}class Pe extends t{overrideToVisual=!1;constructor(e){super(),this.setId(e.id),this.setType(e.type),this.setValue(e.value),this.setDescription(e.description)}getId(){return this._id}setId(e){this._id=e}getType(){return this._type}setType(e){this._type=e}getValue(){return this._value}setValue(e){this._value=e}getDescription(){return this._description}setDescription(e){this._description=e}isHovered(){return this._hovered}setHovered(e){this._hovered=e}isSelected(){return this._selected}setSelected(e){this._selected=e}getOverrideToVisual(){return this.overrideToVisual}setOverrideToVisual(e){this.overrideToVisual=e}}let be=function(e){return e.URI="uri",e.PREFIX="prefix",e}({});class Le{constructor(e,t){this.setSuggestion(e),this.setContext(t)}getSuggestion(){return this.suggestion}getContext(){return this.context}setContext(e){this.context=e}setSuggestion(e){this.suggestion=e}}let xe=function(e){return e.DATA_LOADED="DATA_LOADED",e}({});class Ue extends t{constructor(e){super(),this._pluginDefinitions=e}getPluginDefinitions(){return this._pluginDefinitions}}let ve=function(e){return e.ROUTE="route",e.MAIN_MENU="main.menu",e}({});class De extends s{constructor(e){super(e)}}class we{priority=0}class Me{getStorage(){return localStorage}get(e){const t=this.getStorage().getItem(this.getPrefixedKey(e));return new J(t)}storeValue(e,t){this.getStorage().setItem(this.getPrefixedKey(e),t)}remove(e){this.getStorage().removeItem(this.getPrefixedKey(e))}getPrefixedKey(e){const t=`${X.GLOBAL_NAMESPACE}.${this.NAMESPACE}.`,s=`${this.NAMESPACE}.`;return e.startsWith(t)?e:e.startsWith(s)?`${X.GLOBAL_NAMESPACE}.${e}`:`${t}${e}`}}class Ge{logger=z.logger;handleStorageChange(e){const t=e.key?.substring(X.GLOBAL_NAMESPACE.length+1);let s="",r="";t&&(s=t.substring(0,t.indexOf(".")),r=t.substring(s.length+1));const i=this.resolveHandler(s,r);i&&i.updateContextProperty(r,e.newValue)}resolveHandler(e,t){if(!e)return void this.logger.warn("Namespace is required to resolve a context property change handler.");const s=I.getAllBySuperType(W).find(e=>e.canHandle(t));if(s)return s;this.logger.warn(`No context property change handler found for namespace: ${e} and property: ${t}`)}}class Ve extends Me{jwtKey="jwt";authenticatedKey="authenticated";NAMESPACE="auth";set(e,t){this.storeValue(e,t)}getAuthToken(){return this.get(this.jwtKey)}setAuthenticated(e){this.storeValue(this.authenticatedKey,e?.toString()||"")}isAuthenticated(){return"true"===this.get(this.authenticatedKey).getValue()}}class ke extends Me{NAMESPACE="repository";logger=z.logger;SELECTED_REPOSITORY="selectedRepository";set(e,t){t?this.storeValue(e,t):this.remove(e)}setRepositoryReference(e){this.set(this.SELECTED_REPOSITORY,this.serializeRepositoryReference(e))}getRepositoryReference(){return this.deserializeRepositoryReference(this.get(this.SELECTED_REPOSITORY).getValueOrDefault('{"id": "", "location": ""}'))}removeRepositoryReference(){this.remove(this.SELECTED_REPOSITORY)}serializeRepositoryReference(e){return JSON.stringify(e)}deserializeRepositoryReference(e){if("string"==typeof e)try{return JSON.parse(e)}catch(e){this.logger.error("Error parsing repository reference",e)}}}class $e extends W{RESTRICTED_PAGES="restrictedPages";SECURITY_CONFIG="securityConfig";AUTHENTICATED_USER="authenticatedUser";AUTH_TOKEN="jwt";OPEN_ID_CONFIG="openIdConfig";getRestrictedPages(){return this.getContextPropertyValue(this.RESTRICTED_PAGES)||new x}updateRestrictedPages(e){this.updateContextProperty(this.RESTRICTED_PAGES,e)}onRestrictedPagesChanged(e){return this.subscribe(this.RESTRICTED_PAGES,e)}onAuthTokenChanged(e){return this.subscribe(this.AUTH_TOKEN,e)}updateAuthToken(e){this.updateContextProperty(this.AUTH_TOKEN,e)}getAuthToken(){return this.getContextPropertyValue(this.AUTH_TOKEN)}updateSecurityConfig(e){this.updateContextProperty(this.SECURITY_CONFIG,e)}onSecurityConfigChanged(e){return this.subscribe(this.SECURITY_CONFIG,e)}getSecurityConfig(){return this.getContextPropertyValue(this.SECURITY_CONFIG)}updateAuthenticatedUser(e){this.updateContextProperty(this.AUTHENTICATED_USER,e)}onAuthenticatedUserChanged(e){return this.subscribe(this.AUTHENTICATED_USER,e)}getAuthenticatedUser(){return this.getContextPropertyValue(this.AUTHENTICATED_USER)}updateOpenIdConfig(e){return this.updateContextProperty(this.OPEN_ID_CONFIG,e)}getOpenIdConfig(){return this.getContextPropertyValue(this.OPEN_ID_CONFIG)}}class Be{static getWindow(){return window}static getPluginRegistry(){return Be.getWindow().PluginRegistry}}function Fe(e){return t=>{t&&t.preventDefault(),Ye(e)}}function Ye(e){Be.getWindow().singleSpa.navigateToUrl(e)}function He(e){Be.getWindow().open(e,"_blank")}function Ke(){return"/"===We()}function We(){return Be.getWindow().location.pathname.substring(je().length-1)}function qe(){return`${Be.getWindow().location.origin}${je()}`}function je(){return document.querySelector("base")?.getAttribute("href")??"/"}function Qe(){return We().substring(1)}const ze=new s([new class extends we{authStorage=I.get(Ve);repositoryStorageService=I.get(ke);securityContextService=I.get($e);process(e){e.headers=e.headers||{},e.headers["X-Requested-With"]="XMLHttpRequest";const t=this.authStorage.getAuthToken().getValue();if(t&&(e.headers.Authorization=t),!e.headers["X-GraphDB-Repository"]){const t=this.repositoryStorageService.getRepositoryReference();t?.id&&(e.headers["X-GraphDB-Repository"]=t.id),t?.location&&(e.headers["X-GraphDB-Repository-Location"]=t.location)}return Promise.resolve(e)}shouldProcess(e){const t=this.securityContextService.getOpenIdConfig();if(!t)return!0;const s=t?.openIdKeysUri,r=t?.openIdTokenUrl;return!s||!r||![t?.openIdKeysUri,t?.openIdTokenUrl].some(t=>t&&e.url.indexOf(t)>-1)}}]),Je=new s([new class extends we{process(e){return localStorage.getItem("ontotext.gdb.auth.jwt")&&(localStorage.removeItem("ontotext.gdb.auth.jwt"),Ye("login"),Be.getWindow().location.reload()),Promise.reject(e)}shouldProcess(e){return 401===e.status}}]);class Xe{preProcessors=new s;postProcessors=new s;constructor(){this.registerRequestInterceptors(ze),this.registerResponseInterceptors(Je)}async preProcess(e){let t=e;for(const e of this.preProcessors.getItems())e.shouldProcess(t)&&(t=await e.process(t));return t}async postProcess(e){let t=e;for(const e of this.postProcessors.getItems())e.shouldProcess(t)&&(t=await e.process(t));return t}registerRequestInterceptors(e){this.preProcessors.addItems(e.getItems()),this.sortInterceptors(this.preProcessors)}registerResponseInterceptors(e){this.postProcessors.addItems(e.getItems()),this.sortInterceptors(this.postProcessors)}sortInterceptors(e){e.sort((e,t)=>t.priority-e.priority)}}class Ze{constructor(e){this.url=e.url,this.method=e.method,this.headers={...e.headers},this.body=e.body}}class et{emit(e){const t=new CustomEvent(e.NAME,{detail:e.payload});return this.getHostElement().dispatchEvent(t),t}subscribe(e,t){const s=e=>{e instanceof CustomEvent&&t(e.detail)};return this.getHostElement().addEventListener(e,s),()=>this.getHostElement().removeEventListener(e,s)}getHostElement(){return document.body}}const tt=["application/json","application/sparql-results+json"],st="http-request-done-event";class rt{interceptorService=I.get(Xe);eventEmitter=new et;get(e,t,s){return this.request(e,"GET",{params:t,headers:s}).then(e=>e)}post(e,t,s){return this.request(e,"POST",{body:t,headers:s})}put(e,t,s){return this.request(e,"PUT",{body:t,headers:s})}delete(e,t){return this.request(e,"DELETE",{headers:t})}patch(e,t,s){return this.request(e,"PATCH",{body:t,headers:s})}encodeURIComponentStrict(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}request(e,t,s={}){const r=this.buildQueryParams(s.params),i=`${e}${r?`?${r}`:""}`,o={"Content-Type":"application/json",Accept:"application/json, text/plain, */*",...s.headers};return this.interceptorService.preProcess(new Ze({url:i,method:t,headers:o,body:s.body})).then(e=>fetch(e.url,{method:e.method,headers:e.headers,body:e.body?JSON.stringify(e.body):null})).then(e=>this.interceptorService.postProcess(e)).then(e=>e.ok?this.hasValidJson(e)?e.json():Promise.resolve():Promise.reject(e)).finally(()=>this.eventEmitter.emit({NAME:st,payload:void 0}))}hasValidJson(e){const t=e.headers.get("Content-Type");return!!t&&tt.some(e=>t.includes(e))}buildQueryParams(e={}){return new URLSearchParams(e).toString()}}class it extends rt{I18N_ENDPOINT="assets/i18n";getLanguage(e){return this.get(`${this.I18N_ENDPOINT}/${e}.json`)}getLanguageConfiguration(){return this.get(`${this.I18N_ENDPOINT}/language-config.json`)}}class nt extends O{mapToModel(e){return new te(e)}}class ot extends Me{NAMESPACE="i18n";set(e,t){this.storeValue(e,t)}}class at extends W{LANGUAGE_CONFIG="languageConfig";SELECTED_LANGUAGE="selectedLanguage";LANGUAGE_BUNDLE="languageBundle";DEFAULT_BUNDLE="defaultBundle";updateSelectedLanguage(e){this.validatePropertyChange(this.SELECTED_LANGUAGE,e).then(t=>{if(t){const t=e||I.get(ut).getDefaultLanguage();I.get(ot).set(this.SELECTED_LANGUAGE,t),this.updateContextProperty(this.SELECTED_LANGUAGE,e)}})}onSelectedLanguageChanged(e,t){return this.subscribe(this.SELECTED_LANGUAGE,e,t)}updateLanguageBundle(e){this.updateContextProperty(this.LANGUAGE_BUNDLE,e)}onLanguageBundleChanged(e){return this.subscribe(this.LANGUAGE_BUNDLE,e)}updateDefaultBundle(e){this.updateContextProperty(this.DEFAULT_BUNDLE,e)}getDefaultBundle(){return this.getContextPropertyValue(this.DEFAULT_BUNDLE)}getLanguageConfig(){return this.getContextPropertyValue(this.LANGUAGE_CONFIG)}setLanguageConfig(e){this.updateContextProperty(this.LANGUAGE_CONFIG,e)}getSelectedLanguage(){return this.getContextPropertyValue(this.SELECTED_LANGUAGE)}}class ut{languageRestService=I.get(it);languageContextService=I.get(at);getSupportedLanguages(){const e=this.languageContextService.getLanguageConfig();return e?e.availableLanguages.getLanguageCodes():["en","fr"]}getLanguage(e){return this.languageRestService.getLanguage(e)}getLanguageConfiguration(){return this.languageRestService.getLanguageConfiguration().then(e=>T.get(nt).mapToModel(e))}getDefaultLanguage(){const e=this.languageContextService.getLanguageConfig();return e?e.defaultLanguage:"en"}}class ct extends rt{static REPOSITORIES_ENDPOINT="rest/repositories";getRepositories(){return this.get(`${ct.REPOSITORIES_ENDPOINT}/all`)}getRepositorySizeInfo(e){return this.get(`${ct.REPOSITORIES_ENDPOINT}/${e.id}/size?location=${encodeURIComponent(e.location)}`)}}class lt extends O{mapToModel(e){return new i(e)}}class ht extends O{constructor(){super(),this.repositoryMapper=T.get(lt)}mapToModel(e){if(!e||"object"!=typeof e)return new o;const t=[];return Object.entries(e).forEach(([,e])=>{Array.isArray(e)&&e.forEach(e=>{const s=this.repositoryMapper.mapToModel(e);t.push(s)})}),new o(t)}}class gt extends O{mapToModel(e){return new a(e)}}class pt{GRAPHQL_REPO_AUTHORITY="GRAPHQL";constructor(){this.repositoryRestService=I.get(ct),this.repositoryListMapper=T.get(ht),this.repositorySizeInfoMapper=T.get(gt)}getRepositories(){return this.repositoryRestService.getRepositories().then(e=>this.repositoryListMapper.mapToModel(e))}getRepositorySizeInfo(e){return this.repositoryRestService.getRepositorySizeInfo(e).then(this.repositorySizeInfoMapper.mapToModel)}isSystemRepository(e){return"SYSTEM"===e.id}getCurrentGqlRepoAuthority(e,t){return`${this.getCurrentRepoAuthority(e,t)}:${this.GRAPHQL_REPO_AUTHORITY}`}getOverallGqlRepoAuthority(e){return`${this.getOverallRepoAuthority(e)}:${this.GRAPHQL_REPO_AUTHORITY}`}getLocationSpecificId(e){return e.location?`${e.id}@${e.location}`:e.id}getCurrentRepoAuthority(e,t){return`${e}_REPO_${t}`}getOverallRepoAuthority(e){return`${e}_REPO_*`}}class dt extends W{SELECTED_REPOSITORY="selectedRepository";REPOSITORY_LIST="repositoryList";updateSelectedRepository(e){const t=I.get(ke),s=this.findRepository(e);this.validatePropertyChange(this.SELECTED_REPOSITORY,s).then(r=>{r&&(s?t.setRepositoryReference(s.toRepositoryReference()):e||t.removeRepositoryReference(),this.updateContextProperty(this.SELECTED_REPOSITORY,s))})}getSelectedRepository(){return this.getContextPropertyValue(this.SELECTED_REPOSITORY)}onSelectedRepositoryChanged(e,t){return this.subscribe(this.SELECTED_REPOSITORY,e,t)}updateRepositoryList(e){return this.updateContextProperty(this.REPOSITORY_LIST,e)}getRepositoryList(){return this.getContextPropertyValue(this.REPOSITORY_LIST)||new o([])}onRepositoryListChanged(e){return this.subscribe(this.REPOSITORY_LIST,e)}findRepository(e){if(e)return this.getRepositoryList().findRepository(e.id,e.location)}}class Et extends rt{getActiveRepositoryLocation(){return this.get("rest/locations/active")}}class At extends O{mapToModel(e){return new h(e)}}class Rt{constructor(){this.locationRestService=I.get(Et),this.repositoryLocationMapper=T.get(At)}getActiveRepositoryLocation(){return this.locationRestService.getActiveRepositoryLocation().then(this.repositoryLocationMapper.mapToModel)}}class St extends W{ACTIVE_REPOSITORY_LOCATION="activeRepositoryLocation";IS_LOADING="isLoading";updateActiveRepositoryLocation(e){this.updateContextProperty(this.ACTIVE_REPOSITORY_LOCATION,e)}onActiveLocationChanged(e){return this.subscribe(this.ACTIVE_REPOSITORY_LOCATION,e)}updateIsLoading(e){this.updateContextProperty(this.IS_LOADING,e)}onIsLoadingChanged(e){return this.subscribe(this.IS_LOADING,e)}}class Ct extends rt{getLicense(){return this.get("rest/graphdb-settings/license")}}class Tt extends O{mapToModel(e){return new w(e)}}class It extends W{GRAPHDB_LICENSE="graphDbLicense";updateGraphdbLicense(e){this.updateContextProperty(this.GRAPHDB_LICENSE,e)}onLicenseChanged(e){return this.subscribe(this.GRAPHDB_LICENSE,e)}getLicense(){return this.getContextPropertyValue(this.GRAPHDB_LICENSE)}}class yt{licenseRestService=I.get(Ct);licenseMapper=I.get(Tt);trackableProductTypes=["free","sandbox"];trackableTypesOfUse=["evaluation","this is an evaluation license"];getLicense(){return this.licenseRestService.getLicense().then(e=>this.licenseMapper.mapToModel(e))}isTrackableLicense(){const e=I.get(It).getLicense(),t=e?.typeOfUse?.toLowerCase()||"",s=e?.productType?.toLowerCase()||"";return!e?.present||this.trackableProductTypes.includes(s)||this.trackableTypesOfUse.includes(t)}}class ft extends W{PRODUCT_INFO="productInfo";updateProductInfo(e){this.updateContextProperty(this.PRODUCT_INFO,e)}onProductInfoChanged(e){return this.subscribe(this.PRODUCT_INFO,e)}}class Ot extends O{mapToModel(e){return new V(e)}}class mt extends rt{VERSION_URL="rest/info/version";getProductInfoLocal(){return this.get(`${this.VERSION_URL}?local=1`)}}class _t{productInfoMapper=y(Ot);productInfoService=y(mt);async getProductInfoLocal(){const e=await this.productInfoService.getProductInfoLocal();return this.productInfoMapper.mapToModel(e)}}class Nt extends O{mapToModel(e){return new b(e)}}class Pt{constructor(e){this.notify=e}}class bt{eventSubscribers=new Map;emit(t){const s=this.eventSubscribers.get(t.NAME);s&&s.forEach(s=>{s.notify(e.deepCopy(t.payload))})}subscribe(e,t){const s=new Pt(t),r=this.eventSubscribers.get(e);return r?r.push(s):this.eventSubscribers.set(e,[s]),()=>this.unsubscribe(e,s)}unsubscribe(e,t){const s=this.eventSubscribers.get(e);if(s){const r=s.indexOf(t);-1!==r&&s.splice(r,1),0===s.length&&this.eventSubscribers.delete(e)}}}class Lt{constructor(e,t){this.setRegex(e),this.setRouteParams(t)}getRegex(){return this.regex}setRegex(e){return this.regex=e,this}getRouteParams(){return this.routeParams}setRouteParams(e){return this.routeParams=e,this}}class xt{constructor(e){this._url=e.url,this._module=e.module,this._path=e.path,this._chunk=e.chunk,this._controller=e.controller,this._templateUrl=e.templateUrl,this._title=e.title,this._reloadOnSearch=e.reloadOnSearch,this._helpInfo=e.helpInfo,this._documentationUrl=e.documentationUrl,this._allowAuthorities=e.allowAuthorities}get url(){return this._url}set url(e){this._url=e}get module(){return this._module}set module(e){this._module=e}get path(){return this._path}set path(e){this._path=e}get chunk(){return this._chunk}set chunk(e){this._chunk=e}get controller(){return this._controller}set controller(e){this._controller=e}get templateUrl(){return this._templateUrl}set templateUrl(e){this._templateUrl=e}get title(){return this._title}set title(e){this._title=e}get reloadOnSearch(){return this._reloadOnSearch}set reloadOnSearch(e){this._reloadOnSearch=e}get helpInfo(){return this._helpInfo}set helpInfo(e){this._helpInfo=e}get documentationUrl(){return this._documentationUrl}set documentationUrl(e){this._documentationUrl=e}get allowAuthorities(){return this._allowAuthorities}set allowAuthorities(e){this._allowAuthorities=e}}class Ut{routeConfig=Be.getWindow().PluginRegistry.get(ve.ROUTE);getActiveRoute(e=We()){const t=this.routeConfig.find(t=>this.routeToRegex(t.url).getRegex().test(e));return t?new xt(t):void 0}routeToRegex(e){const t=[],r=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(e,s,r,i){const o="?"===i||"*?"===i,n="*"===i||"*?"===i;return t.push(r),s=s||"",(o?"(?:"+s:s+"(?:")+(n?"(.+?)":"([^/]+)")+(o?"?)?":")")}).replace(/([/$*])/g,"\\$1");return new Lt(new RegExp("^"+r+"(?:[?#]|$)"),new s(t))}}class vt{repositoryService=I.get(pt);securityContextService=I.get($e);login(){return"Authentication.login from the API"}logout(){I.get(bt).emit(new S)}isLoggedIn(){const e=this.getSecurityConfig();return!(!e?.enabled||!e?.userLoggedIn)}isAuthenticated(){const e=this.getSecurityConfig(),t=this.getAuthenticatedUser();return!e?.enabled||t?.external||null!=I.get(Ve).getAuthToken().getValue()}hasFreeAccess(){const e=this.getSecurityConfig();return e?.enabled&&e?.freeAccessActive}hasRole(e){const t=this.getSecurityConfig(),s=this.getAuthenticatedUser();return!e||!t?.enabled||!!(Object.keys(s||{}).length>0)&&(L.IS_AUTHENTICATED_FULLY===e||s?.authorities.hasAuthority(e))}isSecurityEnabled(){return!!this.getSecurityConfig()?.enabled}canReadRepo(e){if(!e||""===e.id)return!1;const t=this.getSecurityConfig(),s=this.getAuthenticatedUser();return!t?.enabled||!!s&&(!!this.isAdminOrRepoManager()||!this.repositoryService.isSystemRepository(e)&&this.hasBaseRights(v.READ,e))}canReadGqlRepo(e){return!(!e||""===e.id)&&this.hasGraphqlAuthority(v.READ,e)}canWriteGqlRepo(e){return!(!e||""===e.id)&&this.hasGraphqlAuthority(v.WRITE,e)}hasGqlRights(e){return this.canReadGqlRepo(e)||this.canWriteGqlRepo(e)}hasAuthority(){if(this.hasRole(L.ROLE_ADMIN))return!0;const e=I.get(Ut).getActiveRoute();if(!e)return!1;if(!e.allowAuthorities)return!0;if(!I.get(ke).getRepositoryReference()?.id)return!0;const t=this.getAuthenticatedUser();return!t||!e.allowAuthorities.length||this.resolveAuthorities(e.allowAuthorities).some(e=>t.authorities.hasAuthority(e))}resolveAuthorities(e){if(!e)return[];const t=I.get(ke).getRepositoryReference();return t?.id?[...e.map(e=>e.replace("{repoId}",t.id)),...e.map(e=>e.replace("{repoId}","*"))]:e}hasGraphqlAuthority(e,t){const s=this.securityContextService.getAuthenticatedUser();if(!s)return!1;const r=this.repositoryService.getLocationSpecificId(t),i=this.repositoryService.getCurrentGqlRepoAuthority(e,r),o=this.repositoryService.getOverallGqlRepoAuthority(e);return s.authorities.hasAuthority(i)||s.authorities.hasAuthority(o)}isAdminOrRepoManager(){return this.hasRole(L.ROLE_ADMIN)||this.hasRole(L.ROLE_REPO_MANAGER)}getSecurityConfig(){return I.get($e).getSecurityConfig()}getAuthenticatedUser(){return I.get($e).getAuthenticatedUser()}hasBaseRights(e,t){const s=this.repositoryService.getLocationSpecificId(t),r=this.repositoryService.getCurrentRepoAuthority(e,s),i=this.repositoryService.getOverallRepoAuthority(e),o=this.getAuthenticatedUser();return!(!o?.authorities.hasAuthority(r)&&!o?.authorities.hasAuthority(i))}}class Dt extends O{mapToModel(e){return new _(e)}}class wt extends rt{SECURITY_ENDPOINT="rest/security";updateUserData(e){return this.patch(`${this.SECURITY_ENDPOINT}/users/${this.encodeURIComponentStrict(e.username)}`,{appSettings:e.appSettings})}getSecurityConfig(){return this.get(`${this.SECURITY_ENDPOINT}/all`)}getAuthenticatedUser(){return this.get(`${this.SECURITY_ENDPOINT}/authenticated-user`)}}class Mt{securityRestService=I.get(wt);securityContextService=I.get($e);updateUserData(e){return this.securityRestService.updateUserData(e).then(()=>this.securityContextService.updateAuthenticatedUser(e))}getSecurityConfig(){return this.securityRestService.getSecurityConfig().then(e=>T.get(Nt).mapToModel(e))}getAuthenticatedUser(){return this.securityRestService.getAuthenticatedUser().then(e=>T.get(Dt).mapToModel(e))}}class Gt extends O{mapToModel(e){return new U(e)}}const Vt="cookie-consent-changed-event";class kt{eventEmitter=new et;acceptCookiePolicy(){const e=this.setAcceptedCookiePolicy();return I.get(Mt).updateUserData(e).then(()=>{this.eventEmitter.emit({NAME:Vt,payload:e.appSettings.COOKIE_CONSENT})})}setAcceptedCookiePolicy(){const e=I.get($e).getAuthenticatedUser()||new _({});let t;return t=e.appSettings?.COOKIE_CONSENT?new se(e.appSettings.COOKIE_CONSENT):new se({thirdParty:!0,statistic:!0}),t.policyAccepted=!0,t.updatedAt=Date.now(),e.appSettings.COOKIE_CONSENT=t,e}}class $t extends rt{MONITORING_ENDPOINT="rest/monitor";getOperations(e){return this.get(`${this.MONITORING_ENDPOINT}/repository/${e}/operations`)}}const Bt={[ue.CLUSTER_HEALTH]:0,[ue.BACKUP_AND_RESTORE]:1,[ue.IMPORT]:2,[ue.QUERIES]:3,[ue.UPDATES]:4};class Ft extends O{mapToModel(e){return new ae(e.map(e=>new pe(e)).sort((e,t)=>Bt[e.type]-Bt[t.type]))}}class Yt extends O{mapToModel(e){return new oe({status:e.status,allRunningOperations:T.get(Ft).mapToModel(e.allRunningOperations||[])})}}class Ht{getOperations(e){return I.get($t).getOperations(e).then(e=>T.get(Yt).mapToModel(e))}}class Kt extends O{mapToModel(e){return new de(e)}}class Wt{eventEmitter=new et;error(e,t){this.createToastElement(e,Se.ERROR,t)}info(e,t){this.createToastElement(e,Se.INFO,t)}success(e,t){this.createToastElement(e,Se.SUCCESS,t)}warning(e,t){this.createToastElement(e,Se.WARNING,t)}createToastElement(e,t,s){this.eventEmitter.emit({NAME:Ie,payload:new Te(t,e,s)})}}class qt extends rt{autocompleteRestPrefix="rest/autocomplete";search(e){return this.get(`${this.autocompleteRestPrefix}/query?q=${e}`)}enabled(){return this.get(`${this.autocompleteRestPrefix}/enabled`)}}class jt extends O{mapToModel(e){return new _e(e.map(e=>new Pe({...e,id:Ce.hashCode(`${e.type}-${e.value}-${e.description}`)})))}}class Qt extends O{mapToModel(e){return new Ne({...e,suggestionList:T.get(jt).mapToModel(e.suggestions)})}}class zt{search(e){return I.get(qt).search(e).then(e=>T.get(Qt).mapToModel(e))}isAutocompleteEnabled(){return I.get(qt).enabled()}}class Jt extends Me{ENABLED_KEY="enabled";NAMESPACE="autocomplete";set(e,t){this.storeValue(e,t)}isEnabled(){return"true"===this.get(this.ENABLED_KEY).value}setEnabled(e){this.set(this.ENABLED_KEY,e.toString())}}class Xt extends W{AUTOCOMPLETE_ENABLED="isAutocompleteEnabled";updateAutocompleteEnabled(e){this.updateContextProperty(this.AUTOCOMPLETE_ENABLED,e),I.get(Jt).setEnabled(e)}onAutocompleteEnabledChanged(e){return this.subscribe(this.AUTOCOMPLETE_ENABLED,e)}}class Zt extends O{mapToModel(e){const t=e?.results.bindings||[];return new l(t.reduce((e,t)=>(e[t.prefix.value]=t.namespace.value,e),{}))}}class es extends rt{REPOSITORIES_ENDPOINT="repositories";getNamespaces(e){return this.get(`${this.REPOSITORIES_ENDPOINT}/${e}/namespaces`)}}class ts{namespaceMapper=T.get(Zt);namespacesRestService=I.get(es);getNamespaces(e){return this.namespacesRestService.getNamespaces(e).then(e=>this.namespaceMapper.mapToModel(e))}}class ss extends W{NAMESPACES="namespaces";updateNamespaces(e){this.updateContextProperty(this.NAMESPACES,e)}onNamespacesChanged(e){return this.subscribe(this.NAMESPACES,e)}}class rs extends Me{SELECTED_VIEW_KEY="selectedView";INPUT_KEY="input";LAST_SELECTED_KEY="lastSelected";NAMESPACE="resourceSearch";LEGACY_LAST_SELECTED_KEY="ls.rdf-search.resource-description";LEGACY_INPUT_KEY="ls.rdf-search.search-input";LEGACY_SELECTED_VIEW_KEY="ls.rdf-search.search-type";set(e,t){this.storeValue(e,t)}setSelectedView(e){this.set(this.SELECTED_VIEW_KEY,e),localStorage.setItem(this.LEGACY_SELECTED_VIEW_KEY,e)}getSelectedView(){return this.get(this.SELECTED_VIEW_KEY).getValue()||""}setInputValue(e){this.set(this.INPUT_KEY,e),localStorage.setItem(this.LEGACY_INPUT_KEY,e)}getInputValue(){return this.get(this.INPUT_KEY).getValue()||""}setLastSelected(e){this.set(this.LAST_SELECTED_KEY,e.getValue()),localStorage.setItem(this.LEGACY_LAST_SELECTED_KEY,e.getDescription()||"")}getLastSelectedValue(){return this.get(this.LAST_SELECTED_KEY).getValue()||""}clearStoredSearch(){this.remove(this.INPUT_KEY),this.remove(this.LAST_SELECTED_KEY),localStorage.removeItem(this.LEGACY_INPUT_KEY),localStorage.removeItem(this.LEGACY_LAST_SELECTED_KEY)}}class is extends W{PREVIOUS_ROUTE="previousRoute";updatePreviousRoute(e){this.updateContextProperty(this.PREVIOUS_ROUTE,e)}getPreviousRoute(){let e=this.getContextPropertyValue(this.PREVIOUS_ROUTE);return e?.endsWith("#")&&(e=e.slice(0,-1)),e}}class ns extends W{APPLICATION_DATA_STATE="applicationDataLoaded";updateApplicationDataState(e){this.updateContextProperty(this.APPLICATION_DATA_STATE,e)}onApplicationDataStateChanged(e){return this.subscribe(this.APPLICATION_DATA_STATE,e)}}class os extends rt{configurationContextService=y(q);logger=z.logger;getPluginsManifest(){const e=this.configurationContextService.getApplicationConfiguration();return this.get(e.pluginsManifestPath)}async loadPlugins(e){return await Promise.all(e.getPluginDefinitions().getItems().map(async e=>{try{const t=e.entry.startsWith("http")?e.entry:`${qe()}${e.entry}`;return await import(t)}catch(t){this.logger.warn(`Failed to load plugin ${e.name}:`,t)}}))}}class as extends O{mapToModel(e){const t=new De(e.plugins);return new Ue(t)}}class us{logger=z.logger;constructor(){this.pluginsRestService=I.get(os),this.pluginsManifestMapper=new as}async getPluginsManifest(){const e=await this.pluginsRestService.getPluginsManifest();return this.pluginsManifestMapper.mapToModel(e)}async loadPlugins(){let e;try{e=await this.getPluginsManifest()}catch(e){this.logger.warn("Failed to load plugins manifest. Continue with the built-in plugins only.",e)}e&&(await this.pluginsRestService.loadPlugins(e)).filter(e=>void 0!==e).forEach(e=>{void 0!==e.register?e.register(Be.getPluginRegistry()):this.logger.warn("Plugin module is missing the register method. Skipping registration.",e)})}}const cs=JSON.parse('{"configUrl":"assets/configuration.default.json"}');class ls extends Error{constructor(e){super(),this.text=e}get message(){return`${this.constructor.name}: ${this.text}`}}class hs extends ls{}class gs extends rt{async getConfiguration(){let e,t=cs;try{t=await this.get("assets/env.json")}catch{console.warn('No downloadable "env.json" was found. Fallback to default:',t)}try{if(e=await this.get(t.configUrl),e)return console.info(`Configuration file ${t.configUrl} was downloaded`,e),e}catch{throw new hs(`Failed to download configuration from "${t.configUrl}". Ensure that there is a\n "configuration.default.json" JSON file in the assets folder or provide an "env.json" file pointing to another\n configuration file.`)}}}class ps{constructor(){this.configurationRestService=I.get(gs)}async getConfiguration(){const e=await this.configurationRestService.getConfiguration();return e&&I.get(q).updateApplicationConfiguration(e),e}}class ds{static isDevMode(){return Be.getWindow().wbDevMode}}class Es{static ABS_URI_REGEX=/^<?(http|urn).*>?/;static GRAPHS_VISUALIZATIONS_URL="graphs-visualizations";static RESOURCE_URL="resource";static BASE_DOCUMENTATION_URL="https://graphdb.ontotext.com/documentation/";static LATEST_UNOFFICIAL_VERSION="master";static shortenIri(e){const t=document.createElement("a");t.href=e;let s=t.hostname;return Es.containsIPV4(t.hostname)||(s=t.hostname.split(".")[0]),s+":"+t.port}static containsIPV4(e){const t=e.split(".");for(let e=0,s=0;e<t.length;e++)if(parseInt(t[e],10)>=0&&parseInt(t[e],10)<=255?s++:s=0,4===s)return!0;return!1}static createAutocompleteRedirect(e,t){return`${e}?uri=${encodeURIComponent(t)}`}static removeAngleBrackets(e){return e?.startsWith("<")&&e?.endsWith(">")?e.substring(1,e.length-1):e}static isValidUri(e){let t=!1;if(this.hasValidProtocol(e))if(e.indexOf("http")>=0){const s=e.indexOf("//");t=s>4&&e.substring(s+2).length>0}else e.indexOf("urn")>=0&&(t=e.substring(4).length>0);return t}static resolveDocumentationUrl(e,t){if(!e||!t)throw new Error("Product version and endpoint path are required for documentation URL resolution.");const s=e.includes("-"),r=ds.isDevMode()||s?this.LATEST_UNOFFICIAL_VERSION:e;return`${this.BASE_DOCUMENTATION_URL}${r}/${t}`}static hasAngleBrackets(e){return e.startsWith("<")&&e.endsWith(">")}static hasNoAngleBrackets(e){return!e.startsWith("<")&&!e.endsWith(">")}static hasValidProtocol(e){return this.ABS_URI_REGEX.test(e)&&(this.hasNoAngleBrackets(e)||this.hasAngleBrackets(e))}}class As{fibo1=0;fibo2=1;next(){const e=this.fibo2;return this.fibo2=this.fibo1+this.fibo2,this.fibo1=e,e}reset=()=>{this.fibo1=0,this.fibo2=1}}export{ns as ApplicationLifecycleContextService,_ as AuthenticatedUser,Dt as AuthenticatedUserMapper,vt as AuthenticationService,Ve as AuthenticationStorageService,C as AuthenticationType,L as Authority,f as AuthorityList,Xt as AutocompleteContextService,Ne as AutocompleteSearchResult,zt as AutocompleteService,Jt as AutocompleteStorageService,Z as AvailableLanguagesList,ds as BuildUtil,Vt as COOKIE_CONSENT_CHANGED_EVENT,Ie as CREATE_TOAST_EVENT,M as Capability,G as CapabilityList,gs as ConfigurationRestService,ps as ConfigurationService,W as ContextService,K as ContextSubscriptionManager,se as CookieConsent,kt as CookieService,ls as ErrorBase,p as Event,et as EventEmitter,d as EventName,bt as EventService,ve as ExtensionPoint,As as FibonacciGenerator,st as HTTP_REQUEST_DONE_EVENT,te as LanguageConfig,at as LanguageContextService,it as LanguageRestService,ut as LanguageService,ot as LanguageStorageService,w as License,It as LicenseContextService,yt as LicenseService,xe as LifecycleState,Me as LocalStorageService,Ge as LocalStorageSubscriptionHandlerService,j as LoggerService,Q as Loggers,S as Logout,T as MapperProvider,t as Model,s as ModelList,$t as MonitoringRestService,Ht as MonitoringService,l as NamespaceMap,ss as NamespacesContextService,ts as NamespacesService,is as NavigationContextService,E as NavigationEnd,A as NavigationEndPayload,R as NavigationStart,e as ObjectUtil,Wt as OntoToastrService,U as OpenIdConfig,Gt as OpenidConfigMapper,pe as Operation,ce as OperationGroup,ne as OperationGroupSummary,de as OperationGroupSummaryList,Kt as OperationGroupSummaryListMapper,ae as OperationList,re as OperationStatus,oe as OperationStatusSummary,Yt as OperationSummaryMapper,ue as OperationType,De as PluginDefinitionList,Ue as PluginsManifest,os as PluginsRestService,us as PluginsService,V as ProductInfo,ft as ProductInfoContextService,_t as ProductInfoService,i as Repository,dt as RepositoryContextService,o as RepositoryList,ht as RepositoryListMapper,h as RepositoryLocation,St as RepositoryLocationContextService,Rt as RepositoryLocationService,g as RepositoryLocationType,ct as RepositoryRestService,pt as RepositoryService,a as RepositorySizeInfo,u as RepositoryState,ke as RepositoryStorageService,c as RepositoryType,rs as ResourceSearchStorageService,x as RestrictedPages,v as Rights,ie as STATUS_ORDER,me as SearchButton,Oe as SearchButtonConfig,fe as SearchButtonList,b as SecurityConfig,Nt as SecurityConfigMapper,$e as SecurityContextService,Mt as SecurityService,I as ServiceProvider,J as StorageData,X as StorageKey,r as SubscriptionList,Pe as Suggestion,_e as SuggestionList,jt as SuggestionListMapper,Le as SuggestionSelectedPayload,be as SuggestionType,Te as ToastMessage,ye as ToastMessageList,Se as ToastType,Re as ToastrConfig,Ee as ToastrPosition,Es as UriUtil,Be as WindowService,je as getBasePath,Qe as getCurrentRoute,qe as getOrigin,We as getPathName,Ke as isHomePage,Ye as navigate,Fe as navigateTo,He as openInNewTab,y as service};
|