graphdb-workbench 4.0.0-RC1 → 4.0.0-RC2

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.
Files changed (132) hide show
  1. package/dist/10027.05870e3f5f1276be0609.bundle.js +2 -0
  2. package/dist/10027.05870e3f5f1276be0609.bundle.js.map +1 -0
  3. package/dist/43239.143cfe87c9635f5a618a.bundle.js +2 -0
  4. package/dist/43239.143cfe87c9635f5a618a.bundle.js.map +1 -0
  5. package/dist/{49771.75949fd69454e4b2c35c.bundle.js → 49771.e1b5f6312e839e802227.bundle.js} +2 -2
  6. package/dist/49771.e1b5f6312e839e802227.bundle.js.map +1 -0
  7. package/dist/{64709.67552296e3eba61b8f2a.bundle.js → 64709.44c3b845e1c56524a33b.bundle.js} +2 -2
  8. package/dist/{64709.67552296e3eba61b8f2a.bundle.js.map → 64709.44c3b845e1c56524a33b.bundle.js.map} +1 -1
  9. package/dist/65677.b20a7ba3bfea9896d893.bundle.js +2 -0
  10. package/dist/65677.b20a7ba3bfea9896d893.bundle.js.map +1 -0
  11. package/dist/{80933.d0e4a4df57a9ad083d4b.bundle.js → 80933.58506508af6d8a0bf9a8.bundle.js} +2 -2
  12. package/dist/{80933.d0e4a4df57a9ad083d4b.bundle.js.map → 80933.58506508af6d8a0bf9a8.bundle.js.map} +1 -1
  13. package/dist/{82917.764d8d2bd851d0744445.bundle.js → 82917.795572b0c0dee28e1cef.bundle.js} +2 -2
  14. package/dist/{82917.764d8d2bd851d0744445.bundle.js.map → 82917.795572b0c0dee28e1cef.bundle.js.map} +1 -1
  15. package/dist/{86099.e7831890b2b82c8bad04.bundle.js → 86099.1a17cb5538b171ff09a0.bundle.js} +2 -2
  16. package/dist/{86099.e7831890b2b82c8bad04.bundle.js.map → 86099.1a17cb5538b171ff09a0.bundle.js.map} +1 -1
  17. package/dist/9923.1066d5bd24b8a217e613.bundle.js +2 -0
  18. package/dist/9923.1066d5bd24b8a217e613.bundle.js.map +1 -0
  19. package/dist/api/ontotext-workbench-api.js +1 -1
  20. package/dist/api/ontotext-workbench-api.js.map +1 -1
  21. package/dist/api/services/domain/security/auth-strategies/openid-auth-strategy.d.ts +1 -1
  22. package/dist/api/services/domain/security/authentication-storage.service.d.ts +8 -0
  23. package/dist/api/services/domain/security/openid/index.d.ts +2 -2
  24. package/dist/api/services/domain/security/openid/openid-auth-flow-handler.d.ts +1 -1
  25. package/dist/api/services/domain/security/openid/{openid-storage.service.d.ts → openid-local-storage.service.d.ts} +3 -15
  26. package/dist/api/services/domain/security/openid/openid-service.d.ts +2 -1
  27. package/dist/api/services/domain/security/openid/openid-session-storage.service.d.ts +66 -0
  28. package/dist/api/services/domain/security/openid/openid-token-refresh-manager.d.ts +1 -1
  29. package/dist/api/services/domain/security/openid/openid-token-utils.d.ts +2 -1
  30. package/dist/api/services/storage/browser-storage.service.d.ts +63 -0
  31. package/dist/api/services/storage/index.d.ts +1 -0
  32. package/dist/api/services/storage/local-storage.service.d.ts +4 -53
  33. package/dist/api/services/storage/session-storage.service.d.ts +14 -0
  34. package/dist/api/services/storage/test/session-storage.service.spec.d.ts +1 -0
  35. package/dist/assets/i18n/language-config.json +1 -1
  36. package/dist/i18n/locale-en.json +1 -0
  37. package/dist/i18n/locale-fr.json +1 -0
  38. package/dist/index.html +9 -9
  39. package/dist/js/angular/clustermanagement/templates/cluster-configuration/cluster-configuration.html +1 -1
  40. package/dist/js/angular/clustermanagement/templates/cluster-configuration/multi-region.html +1 -1
  41. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  42. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  43. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  44. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  45. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  46. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  47. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +7 -7
  48. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  49. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  50. package/dist/js/angular/core/templates/core-errors.html +1 -1
  51. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  52. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  53. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  54. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  55. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  56. package/dist/js/angular/graphql/templates/graphql-playground.html +2 -2
  57. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  58. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  59. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  60. package/dist/js/angular/security/templates/user.html +2 -2
  61. package/dist/js/angular/security/templates/users.html +1 -1
  62. package/dist/js/angular/templates/repositorySize.html +1 -1
  63. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  64. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  65. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  66. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  67. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  68. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  69. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +3 -3
  70. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  71. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  72. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  73. package/dist/{legacyWorkbench.2c1399d4d4593717e6da.js → legacyWorkbench.3fcfc1f854dc1b7c2d8c.js} +3 -3
  74. package/dist/{legacyWorkbench.2c1399d4d4593717e6da.js.map → legacyWorkbench.3fcfc1f854dc1b7c2d8c.js.map} +1 -1
  75. package/dist/license-checker.json +41 -1358
  76. package/dist/{main.ae5ef2a30e968308898a.js → main.96208465fa22f8a3a038.js} +3 -3
  77. package/dist/{main.ae5ef2a30e968308898a.js.map → main.96208465fa22f8a3a038.js.map} +1 -1
  78. package/dist/pages/aclmanagement.html +1 -1
  79. package/dist/pages/autocomplete.html +1 -1
  80. package/dist/pages/choose-repository-type.html +1 -1
  81. package/dist/pages/cluster-management/clusterInfo.html +2 -2
  82. package/dist/pages/create-index.html +1 -1
  83. package/dist/pages/dependencies.html +1 -1
  84. package/dist/pages/domainRangeInfo.html +2 -2
  85. package/dist/pages/edit.html +6 -5
  86. package/dist/pages/explore.html +1 -1
  87. package/dist/pages/export.html +1 -1
  88. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  89. package/dist/pages/graphs-visualizations.html +7 -7
  90. package/dist/pages/guides.html +1 -1
  91. package/dist/pages/home.html +1 -1
  92. package/dist/pages/import.html +2 -2
  93. package/dist/pages/jdbc-create.html +1 -1
  94. package/dist/pages/jdbc.html +1 -1
  95. package/dist/pages/monitor/backup-and-restore.html +1 -1
  96. package/dist/pages/monitor/queries.html +1 -1
  97. package/dist/pages/monitor/resources.html +1 -1
  98. package/dist/pages/namespaces.html +2 -2
  99. package/dist/pages/plugins.html +1 -1
  100. package/dist/pages/rdfClassHierarchyInfo.html +8 -8
  101. package/dist/pages/rdfrank.html +2 -2
  102. package/dist/pages/repositories.html +1 -1
  103. package/dist/pages/repository.html +1 -1
  104. package/dist/pages/similarity-indexes.html +1 -1
  105. package/dist/pages/sparql-editor.html +1 -1
  106. package/dist/pages/sparql-template-create.html +1 -1
  107. package/dist/pages/sparql-templates.html +1 -1
  108. package/dist/pages/ux-test1.html +2 -2
  109. package/dist/res/swagger5/index.html +8 -8
  110. package/dist/sbom.cdx.json +2379 -8267
  111. package/dist/shared-components/cjs/onto-layout.cjs.entry.js +1 -1
  112. package/dist/shared-components/collection/components/onto-layout/onto-layout.js +1 -1
  113. package/dist/shared-components/esm/onto-layout.entry.js +1 -1
  114. package/dist/shared-components/shared-components/p-474b4bf3.entry.js +1 -0
  115. package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
  116. package/dist/shared-components/types/components/onto-layout/onto-layout.d.ts +2 -3
  117. package/dist/workbench/workbench/697.0331f4fea7f04707.js +1 -0
  118. package/dist/workbench/workbench/workbenchApp.js +1 -1
  119. package/package.json +1 -1
  120. package/dist/10027.209fde0e712bf6c356d3.bundle.js +0 -2
  121. package/dist/10027.209fde0e712bf6c356d3.bundle.js.map +0 -1
  122. package/dist/43239.c76fc77febaf50657b13.bundle.js +0 -2
  123. package/dist/43239.c76fc77febaf50657b13.bundle.js.map +0 -1
  124. package/dist/49771.75949fd69454e4b2c35c.bundle.js.map +0 -1
  125. package/dist/65677.9c399bbb23b8b4478225.bundle.js +0 -2
  126. package/dist/65677.9c399bbb23b8b4478225.bundle.js.map +0 -1
  127. package/dist/9923.b1935ab381c7e60a9898.bundle.js +0 -2
  128. package/dist/9923.b1935ab381c7e60a9898.bundle.js.map +0 -1
  129. package/dist/shared-components/shared-components/p-6fd8a7ef.entry.js +0 -1
  130. package/dist/workbench/workbench/697.8c546098c3e91234.js +0 -1
  131. /package/dist/{legacyWorkbench.2c1399d4d4593717e6da.js.LICENSE.txt → legacyWorkbench.3fcfc1f854dc1b7c2d8c.js.LICENSE.txt} +0 -0
  132. /package/dist/{main.ae5ef2a30e968308898a.js.LICENSE.txt → main.96208465fa22f8a3a038.js.LICENSE.txt} +0 -0
@@ -14,7 +14,7 @@ export declare class OpenidAuthStrategy implements AuthStrategy {
14
14
  private readonly authenticationService;
15
15
  private readonly securityContextService;
16
16
  private readonly openIdService;
17
- private readonly openidStorageService;
17
+ private readonly openidSessionStorageService;
18
18
  private readonly tokenUtils;
19
19
  type: AuthStrategyType;
20
20
  private openIdSecurityConfig;
@@ -17,6 +17,14 @@ export declare class AuthenticationStorageService extends LocalStorageService {
17
17
  isAuthenticated(): boolean;
18
18
  setAuthToken(value: string): void;
19
19
  clearAuthToken(): void;
20
+ /**
21
+ * Whether the storage event is a login or logout: a change of an auth key that is not a token refresh.
22
+ *
23
+ * @param event the storage event.
24
+ * @returns true for a login or logout, false otherwise.
25
+ */
26
+ isLoginOrLogout(event: StorageEvent): boolean;
27
+ private isTokenRefresh;
20
28
  isGDBorOpenIDToken(): boolean;
21
29
  isGDBToken(): boolean;
22
30
  isOpenIDToken(): boolean;
@@ -1,8 +1,8 @@
1
- export * from './openid-storage.service';
1
+ export * from './openid-local-storage.service';
2
+ export * from './openid-session-storage.service';
2
3
  export * from './openid-auth-flow-handler';
3
4
  export * from './openid-rest-service';
4
5
  export * from './openid-service';
5
- export * from './openid-storage.service';
6
6
  export * from './openid-token-refresh-manager';
7
7
  export * from './openid-utils';
8
8
  export * from './openid-url-builder';
@@ -8,7 +8,7 @@ export type ExchangeTokensCallback = (code: string, redirectUrl: string, codeVer
8
8
  export declare class OpenIdAuthFlowHandler {
9
9
  private readonly logger;
10
10
  private readonly tokenUtils;
11
- private readonly openidStorageService;
11
+ private readonly openidSessionStorageService;
12
12
  /**
13
13
  * Handles authorization code flow for both PKCE and non-PKCE variants.
14
14
  * @param config OpenID security configuration
@@ -3,18 +3,15 @@ import { StorageData } from '../../../../models/storage';
3
3
  /**
4
4
  * Service for managing OpenID Connect authentication data in local storage.
5
5
  *
6
- * Provides methods to store, retrieve, and clear tokens, PKCE parameters,
7
- * and other OpenID Connect related data with proper namespacing.
6
+ * Provides methods to store, retrieve, and clear the tokens and the nonce, which all tabs share, with proper
7
+ * namespacing. The data of a login in progress in one tab is in {@link OpenidSessionStorageService}.
8
8
  */
9
- export declare class OpenidStorageService extends LocalStorageService {
9
+ export declare class OpenidLocalStorageService extends LocalStorageService {
10
10
  private readonly accessToken;
11
11
  private readonly idToken;
12
12
  private readonly refreshToken;
13
13
  private readonly tokenType;
14
- private readonly pkceState;
15
- private readonly pkceCodeVerifier;
16
14
  private readonly nonce;
17
- private readonly returnUrl;
18
15
  readonly NAMESPACE = "auth.openid";
19
16
  set(key: string, value: string): void;
20
17
  setAccessToken(token: string): void;
@@ -29,17 +26,8 @@ export declare class OpenidStorageService extends LocalStorageService {
29
26
  setTokenType(tokenType: string): void;
30
27
  getTokenType(): StorageData;
31
28
  clearTokenType(): void;
32
- setPkceState(state: string): void;
33
- getPkceState(): StorageData;
34
- clearPkceState(): void;
35
- setPkceCodeVerifier(codeVerifier: string): void;
36
- getPkceCodeVerifier(): StorageData;
37
- clearPkceCodeVerifier(): void;
38
29
  setNonce(nonce: string): void;
39
30
  getNonce(): StorageData;
40
31
  clearNonce(): void;
41
- setReturnUrl(url: string): void;
42
- getReturnUrl(): StorageData;
43
- clearReturnUrl(): void;
44
32
  clearTokens(): void;
45
33
  }
@@ -7,7 +7,8 @@ import { OpenIdTokens } from '../../../../models/security/authentication/openid-
7
7
  export declare class OpenIdService implements Service {
8
8
  private readonly logger;
9
9
  private readonly openIdRestService;
10
- private readonly openidStorageService;
10
+ private readonly openidLocalStorageService;
11
+ private readonly openidSessionStorageService;
11
12
  private readonly securityContextService;
12
13
  private readonly tokenUtils;
13
14
  private readonly authenticationStorageService;
@@ -0,0 +1,66 @@
1
+ import { SessionStorageService } from '../../../storage';
2
+ import { StorageData } from '../../../../models/storage';
3
+ /**
4
+ * Service for the OpenID Connect data that belongs to a single tab, kept in the session storage.
5
+ *
6
+ * The data survives the redirect to the OpenID provider and back in the same tab, and other tabs do not see it.
7
+ */
8
+ export declare class OpenidSessionStorageService extends SessionStorageService {
9
+ private readonly returnUrl;
10
+ private readonly pkceState;
11
+ private readonly pkceCodeVerifier;
12
+ /**
13
+ * Same namespace as {@link OpenidLocalStorageService}, so that all OpenID keys share the `ontotext.gdb.auth.openid.`
14
+ * prefix.
15
+ */
16
+ readonly NAMESPACE = "auth.openid";
17
+ /**
18
+ * Stores the value for the given key in the session storage.
19
+ * @param key The key to set the value for.
20
+ * @param value The value to set.
21
+ */
22
+ set(key: string, value: string): void;
23
+ /**
24
+ * Stores the page to return to after the OpenID provider redirects back to the Workbench.
25
+ * @param url The page, without the context path.
26
+ */
27
+ setReturnUrl(url: string): void;
28
+ /**
29
+ * Returns the page to return to after the OpenID provider redirects back to the Workbench.
30
+ * @returns The page wrapped in a StorageData object, with a null value when none is stored.
31
+ */
32
+ getReturnUrl(): StorageData;
33
+ /**
34
+ * Removes the stored return page, so that it is used only once.
35
+ */
36
+ clearReturnUrl(): void;
37
+ /**
38
+ * Stores the PKCE state sent to the OpenID provider, to check it when the provider redirects back.
39
+ * @param state The state.
40
+ */
41
+ setPkceState(state: string): void;
42
+ /**
43
+ * Returns the PKCE state sent to the OpenID provider.
44
+ * @returns The state wrapped in a StorageData object, with a null value when none is stored.
45
+ */
46
+ getPkceState(): StorageData;
47
+ /**
48
+ * Stores the PKCE code verifier, to send it with the authorization code when the provider redirects back.
49
+ * @param codeVerifier The code verifier.
50
+ */
51
+ setPkceCodeVerifier(codeVerifier: string): void;
52
+ /**
53
+ * Returns the PKCE code verifier.
54
+ * @returns The code verifier wrapped in a StorageData object, with a null value when none is stored.
55
+ */
56
+ getPkceCodeVerifier(): StorageData;
57
+ /**
58
+ * Removes the PKCE state and code verifier, once the login no longer needs them.
59
+ */
60
+ clearPkce(): void;
61
+ private clearPkceState;
62
+ /**
63
+ * Removes the stored PKCE code verifier.
64
+ */
65
+ clearPkceCodeVerifier(): void;
66
+ }
@@ -8,7 +8,7 @@ export declare class OpenIdTokenRefreshManager {
8
8
  private readonly DEFAULT_REFRESH_CONFIGURATION;
9
9
  private readonly logger;
10
10
  private readonly tokenUtils;
11
- private readonly openidStorageService;
11
+ private readonly openidLocalStorageService;
12
12
  private refreshTokensTimer?;
13
13
  /**
14
14
  * Sets up automatic token refresh based on current token expiration.
@@ -3,7 +3,8 @@ import { TokenType } from '../../../../models/security/authentication/openid-tok
3
3
  import { OpenIdTokens } from '../../../../models/security/authentication/openid-auth-flow-models';
4
4
  export declare class OpenidTokenUtils {
5
5
  private readonly logger;
6
- private readonly openidStorageService;
6
+ private readonly openidLocalStorageService;
7
+ private readonly openidSessionStorageService;
7
8
  private readonly securityContextService;
8
9
  private readonly REFRESH_TOKEN_TOLERANCE;
9
10
  /**
@@ -0,0 +1,63 @@
1
+ import { StorageData } from '../../models/storage';
2
+ import { Persistence } from './persistence';
3
+ /**
4
+ * Persistence implementation backed by a browser {@link Storage}, such as the localStorage or the sessionStorage.
5
+ * Keys are scoped by {@link StorageKey.GLOBAL_NAMESPACE} and the service's namespace. Extend
6
+ * {@link LocalStorageService} or {@link SessionStorageService} instead of this class.
7
+ */
8
+ export declare abstract class BrowserStorageService implements Persistence {
9
+ /**
10
+ * The namespace is used to scope keys for the persistent properties by component or view. Each persistence service
11
+ * should define a namespace to be used for the keys in the storage.
12
+ */
13
+ abstract get NAMESPACE(): string;
14
+ /**
15
+ * Sets the value for the given key in the storage.
16
+ * Each implementation must implement this method to store the value in the storage by invoking the
17
+ * BrowserStorageService.storeValue method and eventually doing some additional work if needed, for example, notifying
18
+ * other services about the change.
19
+ * @param key The key to set the value for. Every key must be prefixed with {@link StorageKey.GLOBAL_NAMESPACE}.
20
+ * @param value The value to set.
21
+ */
22
+ abstract set(key: string, value: string): void;
23
+ /**
24
+ * Getter for the browser storage that holds the values.
25
+ * @returns The browser storage.
26
+ */
27
+ abstract getStorage(): Storage;
28
+ /**
29
+ * Returns the value of the given key from the storage.
30
+ * @param key The key to get the value for. Every key must be prefixed with {@link StorageKey.GLOBAL_NAMESPACE}.
31
+ * @param usePrefixedKey Whether to prefix the key with the global and local namespaces before retrieving the value.
32
+ * Obtaining unprefixed keys is generally only for migration purposes.
33
+ * @returns The value of the key wrapped in a StorageData object.
34
+ */
35
+ get(key: string, usePrefixedKey?: boolean): StorageData;
36
+ /**
37
+ * Returns the value of the given key from the storage parsed as JSON.
38
+ *
39
+ * This method is generally only for migration purposes because it does not try to prefix the provided key.
40
+ *
41
+ * @param key The key to get the value for.
42
+ * @returns The parsed JSON value of the key, or null if the key does not exist or parsing fails.
43
+ */
44
+ getAsJson<T>(key: string): T | null;
45
+ /**
46
+ * Stores the value for the given key in the storage.
47
+ * @param key The key to set the value for. Every key must be prefixed with {@link StorageKey.GLOBAL_NAMESPACE}.
48
+ * @param value The value to set.
49
+ */
50
+ storeValue(key: string, value: string): void;
51
+ /**
52
+ * Removes the value for the given key from the storage.
53
+ * @param key The key to remove the value for. Every key must be prefixed with {@link StorageKey.GLOBAL_NAMESPACE}.
54
+ * @param usePrefixedKey Whether to prefix the key with the global and local namespaces before removing the value.
55
+ */
56
+ remove(key: string, usePrefixedKey?: boolean): void;
57
+ /**
58
+ * Prefixes the key with the global and local namespaces, unless it already has them.
59
+ * @param key The key, with or without the namespaces.
60
+ * @returns The key in the global and local namespaces.
61
+ */
62
+ protected getPrefixedKey(key: string): string;
63
+ }
@@ -1,3 +1,4 @@
1
1
  export * from './persistence';
2
2
  export * from './local-storage.service';
3
+ export * from './session-storage.service';
3
4
  export * from './local-storage-subscription-handler.service';
@@ -1,62 +1,13 @@
1
- import { StorageData } from '../../models/storage';
2
- import { Persistence } from './persistence';
1
+ import { BrowserStorageService } from './browser-storage.service';
3
2
  /**
4
- * Persistence implementation backed by the localStorage API.
3
+ * Persistence implementation backed by the localStorage API. Values are shared by all tabs of the application.
5
4
  * In most cases, this class should not be used directly but extended by a service that provides additional specific
6
5
  * functionality and keys.
7
6
  */
8
- export declare abstract class LocalStorageService implements Persistence {
9
- /**
10
- * The namespace is used to scope keys for the persistent properties by component or view. Each persistence service
11
- * should define a namespace to be used for the keys in the localStorage.
12
- */
13
- abstract get NAMESPACE(): string;
14
- /**
15
- * Sets the value for the given key in the localStorage.
16
- * Each implementation must implement this method to store the value in the localStorage by invoking the
17
- * LocalStorageService.storeValue method and eventually doing some additional work if needed, for example, notifying
18
- * other services about the change.
19
- * @param key The key to set the value for. Every key must be prefixed with {@link StorageKey.GLOBAL_NAMESPACE}.
20
- * @param value The value to set.
21
- */
22
- abstract set(key: string, value: string): void;
7
+ export declare abstract class LocalStorageService extends BrowserStorageService {
23
8
  /**
24
9
  * Getter for the localStorage implementation.
10
+ * @returns The localStorage.
25
11
  */
26
12
  getStorage(): Storage;
27
- /**
28
- * Returns the value of the given key from the localStorage.
29
- * @param key The key to get the value for. Every key must be prefixed with {@link StorageKey.GLOBAL_NAMESPACE}.
30
- * @param usePrefixedKey Whether to prefix the key with the global and local namespaces before retrieving the value.
31
- * Obtaining unprefixed keys is generally only for migration purposes.
32
- * @return The value of the key wrapped in a StorageData object.
33
- */
34
- get(key: string, usePrefixedKey?: boolean): StorageData;
35
- /**
36
- * Returns the value of the given key from the localStorage parsed as JSON.
37
- *
38
- * This method is generally only for migration purposes because it does not try to prefix the provided key.
39
- *
40
- * @param key The key to get the value for.
41
- * @return The parsed JSON value of the key, or null if the key does not exist or parsing fails.
42
- */
43
- getAsJson<T>(key: string): T | null;
44
- /**
45
- * Stores the value for the given key in the localStorage.
46
- * @param key The key to set the value for. Every key must be prefixed with {@link StorageKey.GLOBAL_NAMESPACE}.
47
- * @param value The value to set.
48
- */
49
- storeValue(key: string, value: string): void;
50
- /**
51
- * Removes the value for the given key from the localStorage.
52
- * @param key The key to remove the value for. Every key must be prefixed with {@link StorageKey.GLOBAL_NAMESPACE}.
53
- * @param usePrefixedKey Whether to prefix the key with the global and local namespaces before removing the value.
54
- */
55
- remove(key: string, usePrefixedKey?: boolean): void;
56
- /**
57
- * Prefixes the key with the global and local namespaces, unless it already has them.
58
- * @param key The key, with or without the namespaces.
59
- * @returns The key in the global and local namespaces.
60
- */
61
- protected getPrefixedKey(key: string): string;
62
13
  }
@@ -0,0 +1,14 @@
1
+ import { BrowserStorageService } from './browser-storage.service';
2
+ /**
3
+ * Persistence implementation backed by the sessionStorage API. Each tab has its own values, which survive a reload
4
+ * and a redirect to another site and back in the same tab.
5
+ * In most cases, this class should not be used directly but extended by a service that provides additional specific
6
+ * functionality and keys.
7
+ */
8
+ export declare abstract class SessionStorageService extends BrowserStorageService {
9
+ /**
10
+ * Getter for the sessionStorage implementation.
11
+ * @returns The sessionStorage of the current tab.
12
+ */
13
+ getStorage(): Storage;
14
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "defaultLanguage": "en",
3
- "languageBundleVersion": "4.0.0-RC1",
3
+ "languageBundleVersion": "4.0.0-RC2",
4
4
  "availableLanguages": [
5
5
  {
6
6
  "key": "en",
@@ -3226,6 +3226,7 @@
3226
3226
  "context.label": "Context",
3227
3227
  "source.label": "Source",
3228
3228
  "edit.resource.label": "Edit resource",
3229
+ "edit.resource.no_resource_selected": "No resource selected. Open a resource and click Edit.",
3229
3230
  "target.label": "Target",
3230
3231
  "show.blank.nodes.label": "Show Blank Nodes",
3231
3232
  "download.as.label": "Download",
@@ -3224,6 +3224,7 @@
3224
3224
  "context.label": "Le contexte",
3225
3225
  "source.label": "La source",
3226
3226
  "edit.resource.label": "Modifier la ressource",
3227
+ "edit.resource.no_resource_selected": "Aucune ressource sélectionnée. Ouvrez une ressource et cliquez sur Modifier.",
3227
3228
  "target.label": "Cible",
3228
3229
  "show.blank.nodes.label": "Afficher les nœuds vides",
3229
3230
  "download.as.label": "Télécharger",
package/dist/index.html CHANGED
@@ -5,15 +5,15 @@
5
5
  const clean = pathname.slice(0, -1) + search + hash;
6
6
  window.history.replaceState({}, '', clean);
7
7
  }
8
- })();</script><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><link id="favicon" rel="icon" type="image/png" href="assets/favicon.png"><link rel="stylesheet" href="css/splash-screen.css?v=4.0.0-RC1"><title>GraphDB Workbench</title><script src="resources/runtime.js?v=4.0.0-RC1"></script><meta name="importmap-type" use-injector/><script>window.wbDevMode = false;</script><script type="injector-importmap">{
8
+ })();</script><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><link id="favicon" rel="icon" type="image/png" href="assets/favicon.png"><link rel="stylesheet" href="css/splash-screen.css?v=4.0.0-RC2"><title>GraphDB Workbench</title><script src="resources/runtime.js?v=4.0.0-RC2"></script><meta name="importmap-type" use-injector/><script>window.wbDevMode = false;</script><script type="injector-importmap">{
9
9
  "imports": {
10
- "single-spa": "./resources/single-spa.min.js?v=4.0.0-RC1",
11
- "@ontotext/workbench-api": "./api/ontotext-workbench-api.js?v=4.0.0-RC1",
12
- "@ontotext/root-config": "./main.ae5ef2a30e968308898a.js",
13
- "@ontotext/legacy-workbench": "./legacyWorkbench.2c1399d4d4593717e6da.js",
14
- "@ontotext/workbench": "./workbench/workbench/workbenchApp.js?v=4.0.0-RC1"
10
+ "single-spa": "./resources/single-spa.min.js?v=4.0.0-RC2",
11
+ "@ontotext/workbench-api": "./api/ontotext-workbench-api.js?v=4.0.0-RC2",
12
+ "@ontotext/root-config": "./main.96208465fa22f8a3a038.js",
13
+ "@ontotext/legacy-workbench": "./legacyWorkbench.3fcfc1f854dc1b7c2d8c.js",
14
+ "@ontotext/workbench": "./workbench/workbench/workbenchApp.js?v=4.0.0-RC2"
15
15
  }
16
- }</script><meta name="import-map-overrides-domains" content="denylist:prod.example.com"/><script src="resources/import-map-overrides.js?v=4.0.0-RC1"></script><script src="resources/import-map-injector.js?v=4.0.0-RC1"></script><style>/* Default light/dark background is hardcodded here because our variables are not present yet. */
16
+ }</script><meta name="import-map-overrides-domains" content="denylist:prod.example.com"/><script src="resources/import-map-overrides.js?v=4.0.0-RC2"></script><script src="resources/import-map-injector.js?v=4.0.0-RC2"></script><style>/* Default light/dark background is hardcodded here because our variables are not present yet. */
17
17
  body {
18
18
  background-color: hsla(220, 40%, 7%);
19
19
  }
@@ -25,7 +25,7 @@
25
25
  import('@ontotext/root-config')
26
26
  .then(() => {
27
27
  const pluginScript = document.createElement('script');
28
- pluginScript.src = 'plugins.js?v=4.0.0-RC1';
28
+ pluginScript.src = 'plugins.js?v=4.0.0-RC2';
29
29
  document.body.appendChild(pluginScript);
30
30
  });
31
- });</script><import-map-overrides-full show-when-local-storage="devtools" dev-libs></import-map-overrides-full><figure id="splash-screen"><img decoding="sync" src="assets/graphdb-splash.svg?v=4.0.0-RC1" alt="GraphDB Workbench is loading..."></figure><onto-toastr></onto-toastr><onto-tooltip></onto-tooltip><onto-confirm-cancel-dialog></onto-confirm-cancel-dialog></body></html>
31
+ });</script><import-map-overrides-full show-when-local-storage="devtools" dev-libs></import-map-overrides-full><figure id="splash-screen"><img decoding="sync" src="assets/graphdb-splash.svg?v=4.0.0-RC2" alt="GraphDB Workbench is loading..."></figure><onto-toastr></onto-toastr><onto-tooltip></onto-tooltip><onto-confirm-cancel-dialog></onto-confirm-cancel-dialog></body></html>
@@ -1,4 +1,4 @@
1
- <link href="css/cluster-configuration/cluster-configuration.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/cluster-configuration/cluster-configuration.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
  <div class="cluster-configuration break-word-alt p-1 pt-2">
3
3
  <div class="cluster-configuration-title">
4
4
  <button class="close mb-1 ml-1" ng-click="closeClusterConfigurationPanel()"></button>
@@ -1,4 +1,4 @@
1
- <link href="css/cluster-configuration/multi-region.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/cluster-configuration/multi-region.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div onto-loader ng-if="loader" class="multi-region-loader" message="getLoaderMessage" size="100"></div>
4
4
 
@@ -1,4 +1,4 @@
1
- <link href="css/cluster-nodes-configuration.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/cluster-nodes-configuration.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div onto-loader ng-if="loader" class="create-cluster-loader" message="getLoaderMessage" size="100"></div>
4
4
  <div class="add-node-wrapper pull-right mb-1">
@@ -1,4 +1,4 @@
1
- <link href="css/autocomplete-select.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/autocomplete-select.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="autocomplete-select-wrapper">
4
4
  <div class="autocomplete-select">
@@ -1,4 +1,4 @@
1
- <link href="css/dynamic-form.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/dynamic-form.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="dynamic-form-container">
4
4
  <form name="dynamicForm" novalidate class="dynamic-form">
@@ -1,4 +1,4 @@
1
- <link href="css/operations-statuses-monitor.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/operations-statuses-monitor.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div ng-if="activeOperations && activeOperations.operations && activeOperations.operations.length > 0"
4
4
  class="operations-statuses btn-group">
@@ -1,4 +1,4 @@
1
- <link href="css/rdf-resource-search.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/rdf-resource-search.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div ng-cloak>
4
4
  <div id="search-box"
@@ -1,4 +1,4 @@
1
- <link href="css/shuttle-multiselect.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/shuttle-multiselect.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="shuttle-multiselect">
4
4
  <div class="shuttle-panel available-options">
@@ -1,10 +1,10 @@
1
- <link href="css/lib/codemirror/moxer.css?v=4.0.0-RC1" rel="stylesheet">
2
- <link href="css/lib/ontotext-yasgui-web-component-styles/yasgui-styles.css?v=4.0.0-RC1" rel="stylesheet">
3
- <link href="css/lib/ontotext-yasgui-web-component-styles/yasqe-styles.css?v=4.0.0-RC1" rel="stylesheet">
4
- <link href="css/lib/ontotext-yasgui-web-component-styles/yasr-styles.css?v=4.0.0-RC1" rel="stylesheet">
5
- <link href="css/lib/ontotext-yasgui-web-component-styles/yasr-tables-styles.css?v=4.0.0-RC1" rel="stylesheet">
6
- <link href="css/lib/ontotext-yasgui-web-component-styles/dialogs-styles.css?v=4.0.0-RC1" rel="stylesheet">
7
- <link href="css/lib/ontotext-yasgui-web-component-styles/responsive-styles.css?v=4.0.0-RC1" rel="stylesheet">
1
+ <link href="css/lib/codemirror/moxer.css?v=4.0.0-RC2" rel="stylesheet">
2
+ <link href="css/lib/ontotext-yasgui-web-component-styles/yasgui-styles.css?v=4.0.0-RC2" rel="stylesheet">
3
+ <link href="css/lib/ontotext-yasgui-web-component-styles/yasqe-styles.css?v=4.0.0-RC2" rel="stylesheet">
4
+ <link href="css/lib/ontotext-yasgui-web-component-styles/yasr-styles.css?v=4.0.0-RC2" rel="stylesheet">
5
+ <link href="css/lib/ontotext-yasgui-web-component-styles/yasr-tables-styles.css?v=4.0.0-RC2" rel="stylesheet">
6
+ <link href="css/lib/ontotext-yasgui-web-component-styles/dialogs-styles.css?v=4.0.0-RC2" rel="stylesheet">
7
+ <link href="css/lib/ontotext-yasgui-web-component-styles/responsive-styles.css?v=4.0.0-RC2" rel="stylesheet">
8
8
 
9
9
  <ontotext-yasgui
10
10
  class="{{classToApply}}"
@@ -1,4 +1,4 @@
1
- <link href="css/cookie-policy.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/cookie-policy.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="cookie-consent-modal" ng-show="showCookieConsent">
4
4
  <div class="cookie-consent-content">
@@ -1,4 +1,4 @@
1
- <link href="css/cookie-policy.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/cookie-policy.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="cookie-policy-modal">
4
4
  <div class="title">{{'cookie.policy.title' | translate}}</div>
@@ -1,4 +1,4 @@
1
- <link href="css/core-errors.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/core-errors.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
  <div class="repository-errors-container mb-2 row" ng-hide="getActiveRepository() && !isRestricted">
3
3
  <div role="alert">
4
4
  <div class="mb-1 mt-1 ml-1 mr-1">
@@ -1,4 +1,4 @@
1
- <link href="css/editable-content.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/editable-content.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
  <div
3
3
  ng-attr-contenteditable="{{!ngDisabled}}"
4
4
  ng-attr-disabled="{{ngDisabled ? true : undefined}}"
@@ -1,2 +1,2 @@
1
- <link href="css/markdown-content.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/markdown-content.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
  <div class="markdown-content"></div>
@@ -1,4 +1,4 @@
1
- <link href="css/search-resource-input.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/search-resource-input.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div id="search-resource-box" class="input-group btn-group" ng-class="{'input-group-lg': !radioButtons}" style="white-space: nowrap">
4
4
  <input type="text" class="form-control view-res-input" placeholder="{{placeholder}}" ng-model="searchInput"
@@ -1,5 +1,5 @@
1
- <link href="css/graphql/create-graphql-endpoint.css?v=4.0.0-RC1" rel="stylesheet"/>
2
- <link href="css/wizard.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/graphql/create-graphql-endpoint.css?v=4.0.0-RC2" rel="stylesheet"/>
2
+ <link href="css/wizard.css?v=4.0.0-RC2" rel="stylesheet"/>
3
3
 
4
4
  <div class="create-graphql-endpoint-view">
5
5
  <h1 id="title-container">
@@ -1,4 +1,4 @@
1
- <link href="css/graphql/graphql-endpoint-management.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/graphql/graphql-endpoint-management.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="graphql-endpoint-management-view">
4
4
  <h1 id="title-container">
@@ -1,5 +1,5 @@
1
- <link href="css/lib/codemirror/moxer.css?v=4.0.0-RC1" rel="stylesheet">
2
- <link href="css/graphql/graphql-playground.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/lib/codemirror/moxer.css?v=4.0.0-RC2" rel="stylesheet">
2
+ <link href="css/graphql/graphql-playground.css?v=4.0.0-RC2" rel="stylesheet"/>
3
3
 
4
4
  <div class="graphql-playground-view">
5
5
  <h1 id="title-container">
@@ -1,4 +1,4 @@
1
- <link href="css/graphql/graphql-endpoint-configuration-modal.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/graphql/graphql-endpoint-configuration-modal.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="modal-header">
4
4
  <h3 class="modal-title">{{'graphql.endpoints_management.endpoint_configuration_modal.title' | translate}}</h3>
@@ -1,4 +1,4 @@
1
- <link href="css/graphql/endpoint-generation-failure-result-modal.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/graphql/endpoint-generation-failure-result-modal.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="modal-header">
4
4
  <button type="button" class="close" aria-label="{{'common.close' | translate}}" ng-click="close()"></button>
@@ -1,4 +1,4 @@
1
- <link href="css/graphql/import-endpoint-definition-modal.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/graphql/import-endpoint-definition-modal.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="modal-header px-2">
4
4
  <button type="button" class="close" aria-label="{{'common.close' | translate}}" ng-click="close()"></button>
@@ -31,8 +31,8 @@
31
31
  </ul>
32
32
  </script>
33
33
 
34
- <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=4.0.0-RC1" rel="stylesheet"/>
35
- <link href='css/user.css?v=4.0.0-RC1' rel='stylesheet' type='text/css'/>
34
+ <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=4.0.0-RC2" rel="stylesheet"/>
35
+ <link href='css/user.css?v=4.0.0-RC2' rel='stylesheet' type='text/css'/>
36
36
 
37
37
  <h1>
38
38
  {{pageTitle}}
@@ -16,7 +16,7 @@
16
16
  </div>
17
17
  </script>
18
18
 
19
- <link href='css/users.css?v=4.0.0-RC1' rel='stylesheet' type='text/css'/>
19
+ <link href='css/users.css?v=4.0.0-RC2' rel='stylesheet' type='text/css'/>
20
20
 
21
21
  <h1>
22
22
  {{title}}
@@ -1,4 +1,4 @@
1
- <link href="css/repository-info-popover.css?v=4.0.0-RC1" rel="stylesheet">
1
+ <link href="css/repository-info-popover.css?v=4.0.0-RC2" rel="stylesheet">
2
2
  <!-- Review after GDB-15277 is merged -->
3
3
  <div ng-init="getRepositorySize()" class="repository-info-popover" data-test="repository-info-popover">
4
4
 
@@ -1,4 +1,4 @@
1
- <link href="css/ttyg/agent-list.css?v=4.0.0-RC1" rel="stylesheet"/>
1
+ <link href="css/ttyg/agent-list.css?v=4.0.0-RC2" rel="stylesheet"/>
2
2
 
3
3
  <div class="agent-list-component">
4
4
  <div class="agents-filter-dropdown btn-group" uib-dropdown>