@onecx/integration-interface 8.0.0-rc.1 → 8.0.0-rc.11
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/README.md +12 -7
- package/dist/index.cjs +1359 -0
- package/dist/index.mjs +1328 -0
- package/package.json +20 -15
- package/src/index.d.ts +17 -0
- package/src/index.js +61 -47
- package/src/index.js.map +1 -1
- package/src/lib/declarations.d.ts +5 -0
- package/src/lib/declarations.js +2 -0
- package/src/lib/declarations.js.map +1 -0
- package/src/lib/models/shell-capability.model.d.ts +11 -0
- package/src/lib/models/shell-capability.model.js +8 -0
- package/src/lib/models/shell-capability.model.js.map +1 -0
- package/src/lib/services/dynamic-translation.service.d.ts +87 -0
- package/src/lib/services/dynamic-translation.service.js +275 -0
- package/src/lib/services/dynamic-translation.service.js.map +1 -0
- package/src/lib/services/icon.service.d.ts +15 -0
- package/src/lib/services/icon.service.js +50 -0
- package/src/lib/services/icon.service.js.map +1 -0
- package/src/lib/services/image-repository.service.js +5 -9
- package/src/lib/services/image-repository.service.js.map +1 -1
- package/src/lib/services/notification.service.d.ts +7 -0
- package/src/lib/services/notification.service.js +15 -0
- package/src/lib/services/notification.service.js.map +1 -0
- package/src/lib/topics/configuration/v1/configuration.topic.js +2 -6
- package/src/lib/topics/configuration/v1/configuration.topic.js.map +1 -1
- package/src/lib/topics/current-location/v1/current-location.model.js +0 -2
- package/src/lib/topics/current-location/v1/current-location.topic.d.ts +1 -4
- package/src/lib/topics/current-location/v1/current-location.topic.js +2 -12
- package/src/lib/topics/current-location/v1/current-location.topic.js.map +1 -1
- package/src/lib/topics/current-mfe/v1/current-mfe.topic.js +2 -6
- package/src/lib/topics/current-mfe/v1/current-mfe.topic.js.map +1 -1
- package/src/lib/topics/current-mfe/v1/mfe-info.model.js +0 -2
- package/src/lib/topics/current-page/v1/current-page.topic.js +9 -11
- package/src/lib/topics/current-page/v1/current-page.topic.js.map +1 -1
- package/src/lib/topics/current-page/v1/page-info.model.js +0 -2
- package/src/lib/topics/current-theme/v1/current-theme.topic.js +2 -6
- package/src/lib/topics/current-theme/v1/current-theme.topic.js.map +1 -1
- package/src/lib/topics/current-theme/v1/theme-override.model.d.ts +8 -0
- package/src/lib/topics/current-theme/v1/theme-override.model.js +6 -0
- package/src/lib/topics/current-theme/v1/theme-override.model.js.map +1 -0
- package/src/lib/topics/current-theme/v1/theme.model.d.ts +2 -0
- package/src/lib/topics/current-theme/v1/theme.model.js +0 -2
- package/src/lib/topics/current-workspace/v1/current-workspace.topic.js +2 -6
- package/src/lib/topics/current-workspace/v1/current-workspace.topic.js.map +1 -1
- package/src/lib/topics/current-workspace/v1/endpoint.model.js +0 -2
- package/src/lib/topics/current-workspace/v1/mfe-portal-registration.model.js +0 -2
- package/src/lib/topics/current-workspace/v1/route.model.js +0 -2
- package/src/lib/topics/current-workspace/v1/workspace.model.js +0 -2
- package/src/lib/topics/dynamic-translations/v1/dynamic-translations.model.d.ts +15 -0
- package/src/lib/topics/dynamic-translations/v1/dynamic-translations.model.js +6 -0
- package/src/lib/topics/dynamic-translations/v1/dynamic-translations.model.js.map +1 -0
- package/src/lib/topics/dynamic-translations/v1/dynamic-translations.topic.d.ts +6 -0
- package/src/lib/topics/dynamic-translations/v1/dynamic-translations.topic.js +7 -0
- package/src/lib/topics/dynamic-translations/v1/dynamic-translations.topic.js.map +1 -0
- package/src/lib/topics/events/v1/event-type.js +2 -5
- package/src/lib/topics/events/v1/event-type.js.map +1 -1
- package/src/lib/topics/events/v1/events-topic.d.ts +1 -4
- package/src/lib/topics/events/v1/events-topic.js +2 -12
- package/src/lib/topics/events/v1/events-topic.js.map +1 -1
- package/src/lib/topics/events/v1/navigated-event-payload.js +0 -2
- package/src/lib/topics/events/v1/navigated-event-type.js +0 -2
- package/src/lib/topics/events/v1/topic-event-type.js +0 -2
- package/src/lib/topics/global-error/v1/global-error.topic.js +2 -6
- package/src/lib/topics/global-error/v1/global-error.topic.js.map +1 -1
- package/src/lib/topics/global-loading/v1/global-loading.topic.js +2 -6
- package/src/lib/topics/global-loading/v1/global-loading.topic.js.map +1 -1
- package/src/lib/topics/icons/v1/icon.model.d.ts +15 -0
- package/src/lib/topics/icons/v1/icon.model.js +1 -0
- package/src/lib/topics/icons/v1/icon.model.js.map +1 -0
- package/src/lib/topics/icons/v1/icon.topic.d.ts +5 -0
- package/src/lib/topics/icons/v1/icon.topic.js +7 -0
- package/src/lib/topics/icons/v1/icon.topic.js.map +1 -0
- package/src/lib/topics/image-repository/image-repository.model.js +0 -2
- package/src/lib/topics/image-repository/image-repository.topic.js +2 -6
- package/src/lib/topics/image-repository/image-repository.topic.js.map +1 -1
- package/src/lib/topics/is-authenticated/v1/isAuthenticated.topic.js +2 -6
- package/src/lib/topics/is-authenticated/v1/isAuthenticated.topic.js.map +1 -1
- package/src/lib/topics/message/v1/message.model.js +0 -2
- package/src/lib/topics/message/v1/message.topic.js +2 -6
- package/src/lib/topics/message/v1/message.topic.js.map +1 -1
- package/src/lib/topics/notification/v1/notification.model.d.ts +21 -0
- package/src/lib/topics/notification/v1/notification.model.js +1 -0
- package/src/lib/topics/notification/v1/notification.model.js.map +1 -0
- package/src/lib/topics/notification/v1/notification.topic.d.ts +5 -0
- package/src/lib/topics/notification/v1/notification.topic.js +7 -0
- package/src/lib/topics/notification/v1/notification.topic.js.map +1 -0
- package/src/lib/topics/parameters/v1/parameters.topic.d.ts +1 -4
- package/src/lib/topics/parameters/v1/parameters.topic.js +2 -12
- package/src/lib/topics/parameters/v1/parameters.topic.js.map +1 -1
- package/src/lib/topics/permissions/v1/permissions.topic.js +2 -6
- package/src/lib/topics/permissions/v1/permissions.topic.js.map +1 -1
- package/src/lib/topics/permissions-rpc/v1/permissions-rpc.model.js +0 -2
- package/src/lib/topics/permissions-rpc/v1/permissions-rpc.topic.js +2 -6
- package/src/lib/topics/permissions-rpc/v1/permissions-rpc.topic.js.map +1 -1
- package/src/lib/topics/remote-components/v1/remote-component.model.d.ts +1 -0
- package/src/lib/topics/remote-components/v1/remote-component.model.js +2 -5
- package/src/lib/topics/remote-components/v1/remote-component.model.js.map +1 -1
- package/src/lib/topics/remote-components/v1/remote-components-info.model.js +0 -2
- package/src/lib/topics/remote-components/v1/remote-components.topic.js +2 -6
- package/src/lib/topics/remote-components/v1/remote-components.topic.js.map +1 -1
- package/src/lib/topics/remote-components/v1/slot.model.js +0 -2
- package/src/lib/topics/resized-events/v1/resized-event-type.js +2 -5
- package/src/lib/topics/resized-events/v1/resized-event-type.js.map +1 -1
- package/src/lib/topics/resized-events/v1/resized-events.topic.d.ts +1 -5
- package/src/lib/topics/resized-events/v1/resized-events.topic.js +9 -14
- package/src/lib/topics/resized-events/v1/resized-events.topic.js.map +1 -1
- package/src/lib/topics/resized-events/v1/resized-update-requested-type.js +0 -2
- package/src/lib/topics/resized-events/v1/slot-groups-resized-type.js +0 -2
- package/src/lib/topics/resized-events/v1/slots-resized-type.js +0 -2
- package/src/lib/topics/resized-events/v1/topic-resized-event-type.js +0 -2
- package/src/lib/topics/user-profile/v1/user-profile.model.js +2 -5
- package/src/lib/topics/user-profile/v1/user-profile.model.js.map +1 -1
- package/src/lib/topics/user-profile/v1/user-profile.topic.js +2 -6
- package/src/lib/topics/user-profile/v1/user-profile.topic.js.map +1 -1
- package/src/lib/utils/configuration.utils.d.ts +41 -0
- package/src/lib/utils/configuration.utils.js +52 -0
- package/src/lib/utils/configuration.utils.js.map +1 -0
- package/src/lib/utils/logger.utils.d.ts +1 -0
- package/src/lib/utils/logger.utils.js +4 -0
- package/src/lib/utils/logger.utils.js.map +1 -0
- package/src/lib/utils/parameters.utils.d.ts +14 -0
- package/src/lib/utils/parameters.utils.js +15 -0
- package/src/lib/utils/parameters.utils.js.map +1 -0
- package/src/lib/utils/portal-message.utils.d.ts +54 -0
- package/src/lib/utils/portal-message.utils.js +49 -0
- package/src/lib/utils/portal-message.utils.js.map +1 -0
- package/src/lib/utils/shell-capability.utils.d.ts +21 -0
- package/src/lib/utils/shell-capability.utils.js +30 -0
- package/src/lib/utils/shell-capability.utils.js.map +1 -0
- package/src/lib/utils/user-language.utils.d.ts +30 -0
- package/src/lib/utils/user-language.utils.js +56 -0
- package/src/lib/utils/user-language.utils.js.map +1 -0
- package/src/lib/utils/workspace.utils.d.ts +76 -0
- package/src/lib/utils/workspace.utils.js +199 -0
- package/src/lib/utils/workspace.utils.js.map +1 -0
- package/src/version.d.ts +2 -0
- package/src/version.js +3 -0
- package/src/version.js.map +1 -0
- package/migrations/index.d.ts +0 -3
- package/migrations/index.js +0 -7
- package/migrations/index.js.map +0 -1
- package/migrations/v5/warn-for-events-publisher-navigated.d.ts +0 -2
- package/migrations/v5/warn-for-events-publisher-navigated.js +0 -33
- package/migrations/v5/warn-for-events-publisher-navigated.js.map +0 -1
- package/migrations/v5/warn-for-events-topic-navigated.d.ts +0 -2
- package/migrations/v5/warn-for-events-topic-navigated.js +0 -34
- package/migrations/v5/warn-for-events-topic-navigated.js.map +0 -1
- package/migrations/v6/migrate-onecx-to-v6.d.ts +0 -2
- package/migrations/v6/migrate-onecx-to-v6.js +0 -8
- package/migrations/v6/migrate-onecx-to-v6.js.map +0 -1
- package/migrations.json +0 -46
package/package.json
CHANGED
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/integration-interface",
|
|
3
|
-
"version": "8.0.0-rc.
|
|
3
|
+
"version": "8.0.0-rc.11",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/onecx/onecx-portal-ui-libs"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"tslib": "^2.6.3",
|
|
11
10
|
"rxjs": "^7.8.1",
|
|
12
|
-
"@
|
|
13
|
-
"@onecx/accelerator": "^8.0.0-rc.1",
|
|
14
|
-
"@onecx/nx-migration-utils": "^8.0.0-rc.1",
|
|
15
|
-
"@phenomnomnominal/tsquery": "^6",
|
|
16
|
-
"typescript": "^5.5.4"
|
|
11
|
+
"@onecx/accelerator": "^8.0.0-rc.11"
|
|
17
12
|
},
|
|
18
|
-
"type": "
|
|
19
|
-
"
|
|
13
|
+
"type": "module",
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"semver": "^7.7.3"
|
|
16
|
+
},
|
|
17
|
+
"main": "./dist/index.cjs",
|
|
18
|
+
"module": "./dist/index.mjs",
|
|
19
|
+
"types": "./src/index.d.ts",
|
|
20
20
|
"typings": "./src/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./src/index.d.ts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs",
|
|
26
|
+
"default": "./dist/index.mjs"
|
|
27
|
+
},
|
|
28
|
+
"./package.json": "./package.json"
|
|
29
|
+
},
|
|
21
30
|
"publishConfig": {
|
|
22
31
|
"access": "public"
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
"migrations": "./migrations.json"
|
|
26
|
-
},
|
|
27
|
-
"types": "./src/index.d.ts"
|
|
28
|
-
}
|
|
32
|
+
}
|
|
33
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './lib/topics/global-error/v1/global-error.topic';
|
|
|
6
6
|
export * from './lib/topics/global-loading/v1/global-loading.topic';
|
|
7
7
|
export * from './lib/topics/current-theme/v1/current-theme.topic';
|
|
8
8
|
export * from './lib/topics/current-theme/v1/theme.model';
|
|
9
|
+
export * from './lib/topics/current-theme/v1/theme-override.model';
|
|
9
10
|
export * from './lib/topics/user-profile/v1/user-profile.model';
|
|
10
11
|
export * from './lib/topics/user-profile/v1/user-profile.topic';
|
|
11
12
|
export * from './lib/topics/configuration/v1/configuration.topic';
|
|
@@ -42,3 +43,19 @@ export * from './lib/topics/resized-events/v1/resized-events.topic';
|
|
|
42
43
|
export * from './lib/topics/image-repository/image-repository.model';
|
|
43
44
|
export * from './lib/topics/image-repository/image-repository.topic';
|
|
44
45
|
export * from './lib/services/image-repository.service';
|
|
46
|
+
export * from './lib/topics/icons/v1/icon.model';
|
|
47
|
+
export * from './lib/topics/icons/v1/icon.topic';
|
|
48
|
+
export * from './lib/services/icon.service';
|
|
49
|
+
export * from './lib/topics/dynamic-translations/v1/dynamic-translations.model';
|
|
50
|
+
export * from './lib/topics/dynamic-translations/v1/dynamic-translations.topic';
|
|
51
|
+
export * from './lib/services/dynamic-translation.service';
|
|
52
|
+
export * from './lib/models/shell-capability.model';
|
|
53
|
+
export * from './lib/utils/shell-capability.utils';
|
|
54
|
+
export * from './lib/utils/workspace.utils';
|
|
55
|
+
export * from './lib/utils/user-language.utils';
|
|
56
|
+
export * from './lib/utils/parameters.utils';
|
|
57
|
+
export * from './lib/utils/configuration.utils';
|
|
58
|
+
export * from './lib/utils/portal-message.utils';
|
|
59
|
+
export * from './lib/topics/notification/v1/notification.model';
|
|
60
|
+
export * from './lib/topics/notification/v1/notification.topic';
|
|
61
|
+
export * from './lib/services/notification.service';
|
package/src/index.js
CHANGED
|
@@ -1,48 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
1
|
+
export * from './lib/topics/current-mfe/v1/current-mfe.topic';
|
|
2
|
+
export * from './lib/topics/current-mfe/v1/mfe-info.model';
|
|
3
|
+
export * from './lib/topics/current-page/v1/current-page.topic';
|
|
4
|
+
export * from './lib/topics/current-page/v1/page-info.model';
|
|
5
|
+
export * from './lib/topics/global-error/v1/global-error.topic';
|
|
6
|
+
export * from './lib/topics/global-loading/v1/global-loading.topic';
|
|
7
|
+
export * from './lib/topics/current-theme/v1/current-theme.topic';
|
|
8
|
+
export * from './lib/topics/current-theme/v1/theme.model';
|
|
9
|
+
export * from './lib/topics/current-theme/v1/theme-override.model';
|
|
10
|
+
export * from './lib/topics/user-profile/v1/user-profile.model';
|
|
11
|
+
export * from './lib/topics/user-profile/v1/user-profile.topic';
|
|
12
|
+
export * from './lib/topics/configuration/v1/configuration.topic';
|
|
13
|
+
export * from './lib/topics/current-workspace/v1/current-workspace.topic';
|
|
14
|
+
export * from './lib/topics/current-workspace/v1/mfe-portal-registration.model';
|
|
15
|
+
export * from './lib/topics/current-workspace/v1/workspace.model';
|
|
16
|
+
export * from './lib/topics/current-workspace/v1/route.model';
|
|
17
|
+
export * from './lib/topics/current-workspace/v1/endpoint.model';
|
|
18
|
+
export * from './lib/topics/is-authenticated/v1/isAuthenticated.topic';
|
|
19
|
+
export * from './lib/topics/message/v1/message.model';
|
|
20
|
+
export * from './lib/topics/message/v1/message.topic';
|
|
21
|
+
export * from './lib/topics/remote-components/v1/remote-component.model';
|
|
22
|
+
export * from './lib/topics/remote-components/v1/remote-components-info.model';
|
|
23
|
+
export * from './lib/topics/remote-components/v1/slot.model';
|
|
24
|
+
export * from './lib/topics/remote-components/v1/remote-components.topic';
|
|
25
|
+
export * from './lib/topics/permissions/v1/permissions.topic';
|
|
26
|
+
export * from './lib/topics/permissions-rpc/v1/permissions-rpc.topic';
|
|
27
|
+
export * from './lib/topics/permissions-rpc/v1/permissions-rpc.model';
|
|
28
|
+
export * from './lib/topics/events/v1/events-topic';
|
|
29
|
+
export * from './lib/topics/events/v1/topic-event-type';
|
|
30
|
+
export * from './lib/topics/events/v1/event-type';
|
|
31
|
+
export * from './lib/topics/events/v1/navigated-event-type';
|
|
32
|
+
export * from './lib/topics/events/v1/navigated-event-payload';
|
|
33
|
+
export * from './lib/topics/resized-events/v1/resized-event-type';
|
|
34
|
+
export * from './lib/topics/resized-events/v1/resized-events.topic';
|
|
35
|
+
export * from './lib/topics/resized-events/v1/resized-update-requested-type';
|
|
36
|
+
export * from './lib/topics/resized-events/v1/slot-groups-resized-type';
|
|
37
|
+
export * from './lib/topics/resized-events/v1/slots-resized-type';
|
|
38
|
+
export * from './lib/topics/resized-events/v1/topic-resized-event-type';
|
|
39
|
+
export * from './lib/topics/current-location/v1/current-location.model';
|
|
40
|
+
export * from './lib/topics/current-location/v1/current-location.topic';
|
|
41
|
+
export * from './lib/topics/parameters/v1/parameters.topic';
|
|
42
|
+
export * from './lib/topics/resized-events/v1/resized-events.topic';
|
|
43
|
+
export * from './lib/topics/image-repository/image-repository.model';
|
|
44
|
+
export * from './lib/topics/image-repository/image-repository.topic';
|
|
45
|
+
export * from './lib/services/image-repository.service';
|
|
46
|
+
export * from './lib/topics/icons/v1/icon.model';
|
|
47
|
+
export * from './lib/topics/icons/v1/icon.topic';
|
|
48
|
+
export * from './lib/services/icon.service';
|
|
49
|
+
export * from './lib/topics/dynamic-translations/v1/dynamic-translations.model';
|
|
50
|
+
export * from './lib/topics/dynamic-translations/v1/dynamic-translations.topic';
|
|
51
|
+
export * from './lib/services/dynamic-translation.service';
|
|
52
|
+
export * from './lib/models/shell-capability.model';
|
|
53
|
+
export * from './lib/utils/shell-capability.utils';
|
|
54
|
+
export * from './lib/utils/workspace.utils';
|
|
55
|
+
export * from './lib/utils/user-language.utils';
|
|
56
|
+
export * from './lib/utils/parameters.utils';
|
|
57
|
+
export * from './lib/utils/configuration.utils';
|
|
58
|
+
export * from './lib/utils/portal-message.utils';
|
|
59
|
+
export * from './lib/topics/notification/v1/notification.model';
|
|
60
|
+
export * from './lib/topics/notification/v1/notification.topic';
|
|
61
|
+
export * from './lib/services/notification.service';
|
|
48
62
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/integration-interface/src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/integration-interface/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,CAAA;AAC7D,cAAc,4CAA4C,CAAA;AAC1D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,8CAA8C,CAAA;AAE5D,cAAc,iDAAiD,CAAA;AAE/D,cAAc,qDAAqD,CAAA;AAEnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,oDAAoD,CAAA;AAElE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAE/D,cAAc,mDAAmD,CAAA;AAEjE,cAAc,2DAA2D,CAAA;AACzE,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,+CAA+C,CAAA;AAC7D,cAAc,kDAAkD,CAAA;AAEhE,cAAc,wDAAwD,CAAA;AAEtE,cAAc,uCAAuC,CAAA;AACrD,cAAc,uCAAuC,CAAA;AAErD,cAAc,0DAA0D,CAAA;AACxE,cAAc,gEAAgE,CAAA;AAC9E,cAAc,8CAA8C,CAAA;AAC5D,cAAc,2DAA2D,CAAA;AAEzE,cAAc,+CAA+C,CAAA;AAE7D,cAAc,uDAAuD,CAAA;AACrE,cAAc,uDAAuD,CAAA;AAErE,cAAc,qCAAqC,CAAA;AACnD,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,gDAAgD,CAAA;AAE9D,cAAc,mDAAmD,CAAA;AACjE,cAAc,qDAAqD,CAAA;AACnE,cAAc,8DAA8D,CAAA;AAC5E,cAAc,yDAAyD,CAAA;AACvE,cAAc,mDAAmD,CAAA;AACjE,cAAc,yDAAyD,CAAA;AAEvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AAEvE,cAAc,6CAA6C,CAAA;AAE3D,cAAc,qDAAqD,CAAA;AAEnE,cAAc,sDAAsD,CAAA;AACpE,cAAc,sDAAsD,CAAA;AACpE,cAAc,yCAAyC,CAAA;AAEvD,cAAc,kCAAkC,CAAA;AAChD,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iEAAiE,CAAA;AAC/E,cAAc,iEAAiE,CAAA;AAE/E,cAAc,4CAA4C,CAAA;AAE1D,cAAc,qCAAqC,CAAA;AACnD,cAAc,oCAAoC,CAAA;AAClD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,kCAAkC,CAAA;AAEhD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,qCAAqC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"declarations.js","sourceRoot":"","sources":["../../../../../libs/integration-interface/src/lib/declarations.ts"],"names":[],"mappings":"AAMA,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum ShellCapability {
|
|
2
|
+
CURRENT_LOCATION_TOPIC = "currentLocationTopic",
|
|
3
|
+
PARAMETERS_TOPIC = "parametersTopic",
|
|
4
|
+
ACTIVENESS_AWARE_MENUS = "activenessAwareMenus",
|
|
5
|
+
DYNAMIC_TRANSLATIONS_TOPIC = "dynamicTranslationsTopic"
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface Window {
|
|
9
|
+
'onecx-shell-capabilities'?: ShellCapability[];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var ShellCapability;
|
|
2
|
+
(function (ShellCapability) {
|
|
3
|
+
ShellCapability["CURRENT_LOCATION_TOPIC"] = "currentLocationTopic";
|
|
4
|
+
ShellCapability["PARAMETERS_TOPIC"] = "parametersTopic";
|
|
5
|
+
ShellCapability["ACTIVENESS_AWARE_MENUS"] = "activenessAwareMenus";
|
|
6
|
+
ShellCapability["DYNAMIC_TRANSLATIONS_TOPIC"] = "dynamicTranslationsTopic";
|
|
7
|
+
})(ShellCapability || (ShellCapability = {}));
|
|
8
|
+
//# sourceMappingURL=shell-capability.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell-capability.model.js","sourceRoot":"","sources":["../../../../../../libs/integration-interface/src/lib/models/shell-capability.model.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,kEAA+C,CAAA;IAC/C,uDAAoC,CAAA;IACpC,kEAA+C,CAAA;IAC/C,0EAAuD,CAAA;AACzD,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { DynamicTranslationsTopic } from '../topics/dynamic-translations/v1/dynamic-translations.topic';
|
|
3
|
+
/**
|
|
4
|
+
* Cache key used for translation contexts without an explicit version.
|
|
5
|
+
*/
|
|
6
|
+
export declare const UNVERSIONED_KEY = "undefined";
|
|
7
|
+
/**
|
|
8
|
+
* Describes a translation namespace that should be resolved for a locale.
|
|
9
|
+
*/
|
|
10
|
+
export interface TranslationContext {
|
|
11
|
+
/** Translation namespace (for example `common` or `app`). */
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional concrete semantic version.
|
|
15
|
+
*
|
|
16
|
+
* Example: `1.2.3`.
|
|
17
|
+
*/
|
|
18
|
+
version?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Global cache shape for dynamic translations.
|
|
22
|
+
*
|
|
23
|
+
* Keys are organized as locale -> context name -> version.
|
|
24
|
+
*/
|
|
25
|
+
export interface DynamicTranslationsCache {
|
|
26
|
+
[locale: string]: {
|
|
27
|
+
[contextName: string]: {
|
|
28
|
+
[version: string]: Record<string, unknown> | null | undefined;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns the shared dynamic translations cache stored on `globalThis`.
|
|
34
|
+
*
|
|
35
|
+
* @returns Mutable cache object used by dynamic translation resolution.
|
|
36
|
+
*/
|
|
37
|
+
export declare function getDynamicTranslationsCache(): DynamicTranslationsCache;
|
|
38
|
+
/**
|
|
39
|
+
* Resolves dynamic translations from a shared cache and topic-based shell communication.
|
|
40
|
+
*
|
|
41
|
+
* The service returns cached values immediately when possible and requests missing
|
|
42
|
+
* translations via `dynamicTranslationsTopic$` when needed.
|
|
43
|
+
*/
|
|
44
|
+
export declare class DynamicTranslationService {
|
|
45
|
+
private readonly logger;
|
|
46
|
+
private _dynamicTranslationsTopic$;
|
|
47
|
+
/**
|
|
48
|
+
* Topic used to request and receive dynamic translations.
|
|
49
|
+
*/
|
|
50
|
+
get dynamicTranslationsTopic$(): DynamicTranslationsTopic;
|
|
51
|
+
set dynamicTranslationsTopic$(source: DynamicTranslationsTopic);
|
|
52
|
+
/**
|
|
53
|
+
* Returns translations for the given locale and contexts.
|
|
54
|
+
*
|
|
55
|
+
* The method first attempts to resolve from cache, requests missing entries,
|
|
56
|
+
* and waits for a `RECEIVED` message when data is still pending.
|
|
57
|
+
*
|
|
58
|
+
* @param locale Target locale (for example `en`, `de`).
|
|
59
|
+
* @param contexts Translation contexts to resolve.
|
|
60
|
+
* @returns An observable emitting a context-keyed translation map.
|
|
61
|
+
*/
|
|
62
|
+
getTranslations(locale: string, contexts: TranslationContext[]): Observable<Record<string, Record<string, unknown>>>;
|
|
63
|
+
private createEmptyRecords;
|
|
64
|
+
private categorizeContexts;
|
|
65
|
+
private findMatchingVersion;
|
|
66
|
+
private getContextCache;
|
|
67
|
+
private getFirstAvailableVersion;
|
|
68
|
+
private findBestMatchingVersion;
|
|
69
|
+
private findSemanticVersionMatch;
|
|
70
|
+
private satisfiesVersion;
|
|
71
|
+
private checkForNullTranslations;
|
|
72
|
+
private markContextsAsRequested;
|
|
73
|
+
private isSafeContext;
|
|
74
|
+
private isSafeCacheKey;
|
|
75
|
+
private requestTranslations;
|
|
76
|
+
private hasIncompleteContexts;
|
|
77
|
+
private waitForTranslations;
|
|
78
|
+
private collectTranslations;
|
|
79
|
+
private shouldSkipContext;
|
|
80
|
+
private isContextIncomplete;
|
|
81
|
+
private addContextTranslations;
|
|
82
|
+
private getContextKey;
|
|
83
|
+
/**
|
|
84
|
+
* Releases topic resources held by this service instance.
|
|
85
|
+
*/
|
|
86
|
+
destroy(): void;
|
|
87
|
+
}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { filter, first, map, of } from 'rxjs';
|
|
2
|
+
import { ensureProperty } from '@onecx/accelerator';
|
|
3
|
+
import { rcompare, satisfies, valid } from 'semver';
|
|
4
|
+
import { DynamicTranslationsTopic, } from '../topics/dynamic-translations/v1/dynamic-translations.topic';
|
|
5
|
+
import { DynamicTranslationsMessageType, } from '../topics/dynamic-translations/v1/dynamic-translations.model';
|
|
6
|
+
import { LIB_NAME } from '../../version';
|
|
7
|
+
import { createLogger } from '../utils/logger.utils';
|
|
8
|
+
import { ShellCapability } from '../models/shell-capability.model';
|
|
9
|
+
import { hasShellCapability } from '../utils/shell-capability.utils';
|
|
10
|
+
/**
|
|
11
|
+
* Cache key used for translation contexts without an explicit version.
|
|
12
|
+
*/
|
|
13
|
+
export const UNVERSIONED_KEY = 'undefined';
|
|
14
|
+
/**
|
|
15
|
+
* Returns the shared dynamic translations cache stored on `globalThis`.
|
|
16
|
+
*
|
|
17
|
+
* @returns Mutable cache object used by dynamic translation resolution.
|
|
18
|
+
*/
|
|
19
|
+
export function getDynamicTranslationsCache() {
|
|
20
|
+
const global = ensureProperty(globalThis, [LIB_NAME, 'dynamicTranslationsCache'], {});
|
|
21
|
+
return global[LIB_NAME].dynamicTranslationsCache;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Resolves dynamic translations from a shared cache and topic-based shell communication.
|
|
25
|
+
*
|
|
26
|
+
* The service returns cached values immediately when possible and requests missing
|
|
27
|
+
* translations via `dynamicTranslationsTopic$` when needed.
|
|
28
|
+
*/
|
|
29
|
+
export class DynamicTranslationService {
|
|
30
|
+
logger = createLogger('DynamicTranslationService');
|
|
31
|
+
_dynamicTranslationsTopic$;
|
|
32
|
+
/**
|
|
33
|
+
* Topic used to request and receive dynamic translations.
|
|
34
|
+
*/
|
|
35
|
+
get dynamicTranslationsTopic$() {
|
|
36
|
+
this._dynamicTranslationsTopic$ ??= new DynamicTranslationsTopic();
|
|
37
|
+
return this._dynamicTranslationsTopic$;
|
|
38
|
+
}
|
|
39
|
+
set dynamicTranslationsTopic$(source) {
|
|
40
|
+
this._dynamicTranslationsTopic$ = source;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns translations for the given locale and contexts.
|
|
44
|
+
*
|
|
45
|
+
* The method first attempts to resolve from cache, requests missing entries,
|
|
46
|
+
* and waits for a `RECEIVED` message when data is still pending.
|
|
47
|
+
*
|
|
48
|
+
* @param locale Target locale (for example `en`, `de`).
|
|
49
|
+
* @param contexts Translation contexts to resolve.
|
|
50
|
+
* @returns An observable emitting a context-keyed translation map.
|
|
51
|
+
*/
|
|
52
|
+
getTranslations(locale, contexts) {
|
|
53
|
+
this.logger.debug('getTranslations', { locale, contexts });
|
|
54
|
+
const safeContexts = contexts.filter((context) => this.isSafeContext(context));
|
|
55
|
+
if (safeContexts.length !== contexts.length) {
|
|
56
|
+
this.logger.debug('Skipping unsafe translation contexts', { locale, contexts });
|
|
57
|
+
}
|
|
58
|
+
if (!this.isSafeCacheKey(locale)) {
|
|
59
|
+
this.logger.debug('Skipping dynamic translation resolution for unsafe locale key', { locale });
|
|
60
|
+
return of(this.createEmptyRecords(safeContexts));
|
|
61
|
+
}
|
|
62
|
+
if (!hasShellCapability(ShellCapability.DYNAMIC_TRANSLATIONS_TOPIC)) {
|
|
63
|
+
this.logger.debug('Shell does not support dynamic translations, returning empty records');
|
|
64
|
+
return of(this.createEmptyRecords(safeContexts));
|
|
65
|
+
}
|
|
66
|
+
const cache = getDynamicTranslationsCache();
|
|
67
|
+
ensureProperty(cache, [locale], {});
|
|
68
|
+
const { missing, pending } = this.categorizeContexts(locale, safeContexts);
|
|
69
|
+
this.logger.debug('Categorized contexts', { missing, pending });
|
|
70
|
+
if (missing.length > 0) {
|
|
71
|
+
this.logger.debug('Marking contexts as requested and publishing request', { missing });
|
|
72
|
+
this.markContextsAsRequested(cache, locale, missing);
|
|
73
|
+
this.requestTranslations(locale, missing);
|
|
74
|
+
}
|
|
75
|
+
if (this.hasIncompleteContexts(missing, pending)) {
|
|
76
|
+
this.logger.debug('Waiting for translations', { missing, pending });
|
|
77
|
+
return this.waitForTranslations(locale, safeContexts);
|
|
78
|
+
}
|
|
79
|
+
const result = this.collectTranslations(locale, safeContexts);
|
|
80
|
+
this.logger.debug('Collected translations', { translations: result.translations });
|
|
81
|
+
return of(result.translations);
|
|
82
|
+
}
|
|
83
|
+
createEmptyRecords(contexts) {
|
|
84
|
+
const emptyRecords = {};
|
|
85
|
+
for (const context of contexts) {
|
|
86
|
+
const contextKey = this.getContextKey(context);
|
|
87
|
+
emptyRecords[contextKey] = {};
|
|
88
|
+
}
|
|
89
|
+
return emptyRecords;
|
|
90
|
+
}
|
|
91
|
+
categorizeContexts(locale, contexts) {
|
|
92
|
+
const missing = [];
|
|
93
|
+
const pending = [];
|
|
94
|
+
for (const context of contexts) {
|
|
95
|
+
const cachedVersion = this.findMatchingVersion(locale, context.name, context.version);
|
|
96
|
+
this.logger.debug('Context version match result', { context, cachedVersion });
|
|
97
|
+
if (cachedVersion === null) {
|
|
98
|
+
this.logger.debug('Context marked as null (no translations)', { context });
|
|
99
|
+
continue;
|
|
100
|
+
}
|
|
101
|
+
if (cachedVersion === undefined) {
|
|
102
|
+
this.logger.debug('Context missing in cache', { context });
|
|
103
|
+
missing.push(context);
|
|
104
|
+
}
|
|
105
|
+
else if (cachedVersion.value === undefined) {
|
|
106
|
+
this.logger.debug('Context pending (requested but not received)', { context });
|
|
107
|
+
pending.push(context);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return { missing, pending };
|
|
111
|
+
}
|
|
112
|
+
findMatchingVersion(locale, contextName, requestedVersion) {
|
|
113
|
+
const contextCache = this.getContextCache(locale, contextName);
|
|
114
|
+
if (!contextCache) {
|
|
115
|
+
return undefined;
|
|
116
|
+
}
|
|
117
|
+
const versions = Object.keys(contextCache);
|
|
118
|
+
if (versions.length === 0) {
|
|
119
|
+
return undefined;
|
|
120
|
+
}
|
|
121
|
+
const normalizedVersion = requestedVersion || UNVERSIONED_KEY;
|
|
122
|
+
if (!requestedVersion || requestedVersion === UNVERSIONED_KEY) {
|
|
123
|
+
return this.getFirstAvailableVersion(contextCache, versions);
|
|
124
|
+
}
|
|
125
|
+
return this.findBestMatchingVersion(contextCache, versions, normalizedVersion);
|
|
126
|
+
}
|
|
127
|
+
getContextCache(locale, contextName) {
|
|
128
|
+
if (!this.isSafeCacheKey(locale) || !this.isSafeCacheKey(contextName)) {
|
|
129
|
+
return undefined;
|
|
130
|
+
}
|
|
131
|
+
const cache = getDynamicTranslationsCache();
|
|
132
|
+
const localeCache = cache[locale];
|
|
133
|
+
if (!localeCache || !Object.hasOwn(localeCache, contextName)) {
|
|
134
|
+
return undefined;
|
|
135
|
+
}
|
|
136
|
+
return localeCache[contextName];
|
|
137
|
+
}
|
|
138
|
+
getFirstAvailableVersion(contextCache, versions) {
|
|
139
|
+
const firstVersion = versions[0];
|
|
140
|
+
return { value: contextCache[firstVersion], version: firstVersion };
|
|
141
|
+
}
|
|
142
|
+
findBestMatchingVersion(contextCache, versions, requestedVersion) {
|
|
143
|
+
if (contextCache[requestedVersion] !== undefined) {
|
|
144
|
+
this.logger.debug('Exact version match found in cache', { requestedVersion });
|
|
145
|
+
return { value: contextCache[requestedVersion], version: requestedVersion };
|
|
146
|
+
}
|
|
147
|
+
const semanticMatch = this.findSemanticVersionMatch(contextCache, versions, requestedVersion);
|
|
148
|
+
if (semanticMatch) {
|
|
149
|
+
this.logger.debug('Semantic version match found', { requestedVersion, matchedVersion: semanticMatch.version });
|
|
150
|
+
return semanticMatch;
|
|
151
|
+
}
|
|
152
|
+
const nullCheck = this.checkForNullTranslations(contextCache, versions);
|
|
153
|
+
const hasNullMatch = nullCheck === null;
|
|
154
|
+
if (hasNullMatch) {
|
|
155
|
+
this.logger.debug('Found null translations check result', { requestedVersion });
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
this.logger.debug('No match found', { requestedVersion });
|
|
159
|
+
}
|
|
160
|
+
return nullCheck;
|
|
161
|
+
}
|
|
162
|
+
findSemanticVersionMatch(contextCache, versions, requestedVersion) {
|
|
163
|
+
const satisfyingVersions = versions
|
|
164
|
+
.filter((v) => v !== UNVERSIONED_KEY && valid(v) !== null && this.satisfiesVersion(v, requestedVersion))
|
|
165
|
+
.sort(rcompare);
|
|
166
|
+
if (satisfyingVersions.length > 0) {
|
|
167
|
+
const bestMatch = satisfyingVersions[0];
|
|
168
|
+
return { value: contextCache[bestMatch], version: bestMatch };
|
|
169
|
+
}
|
|
170
|
+
return undefined;
|
|
171
|
+
}
|
|
172
|
+
satisfiesVersion(availableVersion, requestedVersion) {
|
|
173
|
+
try {
|
|
174
|
+
return satisfies(availableVersion, requestedVersion, { includePrerelease: true });
|
|
175
|
+
}
|
|
176
|
+
catch {
|
|
177
|
+
return false;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
checkForNullTranslations(contextCache, versions) {
|
|
181
|
+
const hasNullTranslation = versions.some((version) => contextCache[version] === null);
|
|
182
|
+
return hasNullTranslation ? null : undefined;
|
|
183
|
+
}
|
|
184
|
+
markContextsAsRequested(cache, locale, contexts) {
|
|
185
|
+
this.logger.debug('Marking contexts as requested', { locale, contexts });
|
|
186
|
+
for (const context of contexts) {
|
|
187
|
+
if (!this.isSafeContext(context)) {
|
|
188
|
+
this.logger.debug('Skipping unsafe context key while marking as requested', { locale, context });
|
|
189
|
+
continue;
|
|
190
|
+
}
|
|
191
|
+
ensureProperty(cache, [locale, context.name], {});
|
|
192
|
+
cache[locale][context.name][context.version ?? UNVERSIONED_KEY] = undefined;
|
|
193
|
+
this.logger.debug('Marked context as requested', { locale, context });
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
isSafeContext(context) {
|
|
197
|
+
return this.isSafeCacheKey(context.name) && this.isSafeCacheKey(context.version);
|
|
198
|
+
}
|
|
199
|
+
isSafeCacheKey(key) {
|
|
200
|
+
if (!key) {
|
|
201
|
+
return true;
|
|
202
|
+
}
|
|
203
|
+
return key !== '__proto__' && key !== 'prototype' && key !== 'constructor';
|
|
204
|
+
}
|
|
205
|
+
requestTranslations(locale, contexts) {
|
|
206
|
+
const message = {
|
|
207
|
+
type: DynamicTranslationsMessageType.REQUESTED,
|
|
208
|
+
locale,
|
|
209
|
+
contexts: contexts.map(({ name, version }) => ({ name, version })),
|
|
210
|
+
};
|
|
211
|
+
this.logger.debug('Publishing translation request message', { message });
|
|
212
|
+
this.dynamicTranslationsTopic$.publish(message);
|
|
213
|
+
}
|
|
214
|
+
hasIncompleteContexts(missing, pending) {
|
|
215
|
+
return missing.length > 0 || pending.length > 0;
|
|
216
|
+
}
|
|
217
|
+
waitForTranslations(locale, contexts) {
|
|
218
|
+
this.logger.debug('Starting to wait for translations', { locale, contexts });
|
|
219
|
+
return this.dynamicTranslationsTopic$.pipe(filter((msg) => {
|
|
220
|
+
const isReceived = msg.type === DynamicTranslationsMessageType.RECEIVED;
|
|
221
|
+
this.logger.debug('Received message', { type: msg.type, isReceived });
|
|
222
|
+
return isReceived;
|
|
223
|
+
}), map(() => {
|
|
224
|
+
const result = this.collectTranslations(locale, contexts);
|
|
225
|
+
this.logger.debug('Collected after message', { complete: result.complete });
|
|
226
|
+
return result;
|
|
227
|
+
}), filter((result) => result.complete), map((result) => {
|
|
228
|
+
this.logger.debug('Translations complete, returning', { contextCount: Object.keys(result.translations).length });
|
|
229
|
+
return result.translations;
|
|
230
|
+
}), first());
|
|
231
|
+
}
|
|
232
|
+
collectTranslations(locale, contexts) {
|
|
233
|
+
const translations = {};
|
|
234
|
+
let complete = true;
|
|
235
|
+
for (const context of contexts) {
|
|
236
|
+
const match = this.findMatchingVersion(locale, context.name, context.version);
|
|
237
|
+
if (this.shouldSkipContext(match)) {
|
|
238
|
+
this.logger.debug('Skipping context (null)', { context });
|
|
239
|
+
continue;
|
|
240
|
+
}
|
|
241
|
+
if (this.isContextIncomplete(match)) {
|
|
242
|
+
this.logger.debug('Context incomplete', { context });
|
|
243
|
+
complete = false;
|
|
244
|
+
continue;
|
|
245
|
+
}
|
|
246
|
+
this.addContextTranslations(translations, context, match);
|
|
247
|
+
}
|
|
248
|
+
this.logger.debug('Collection complete', { complete, contextCount: Object.keys(translations).length });
|
|
249
|
+
return { translations, complete };
|
|
250
|
+
}
|
|
251
|
+
shouldSkipContext(match) {
|
|
252
|
+
return match === null;
|
|
253
|
+
}
|
|
254
|
+
isContextIncomplete(match) {
|
|
255
|
+
return match?.value === undefined;
|
|
256
|
+
}
|
|
257
|
+
addContextTranslations(target, context, match) {
|
|
258
|
+
const matchedValue = match?.value;
|
|
259
|
+
if (matchedValue !== null && matchedValue !== undefined) {
|
|
260
|
+
const contextKey = this.getContextKey(context);
|
|
261
|
+
target[contextKey] = matchedValue;
|
|
262
|
+
this.logger.debug('Added context translations', { contextKey, translationKeys: Object.keys(matchedValue) });
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
getContextKey(context) {
|
|
266
|
+
return context.version ? `${context.name}@${context.version}` : context.name;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Releases topic resources held by this service instance.
|
|
270
|
+
*/
|
|
271
|
+
destroy() {
|
|
272
|
+
this.dynamicTranslationsTopic$.destroy();
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
//# sourceMappingURL=dynamic-translation.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-translation.service.js","sourceRoot":"","sources":["../../../../../../libs/integration-interface/src/lib/services/dynamic-translation.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,EACH,wBAAwB,GAE3B,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACH,8BAA8B,GAEjC,MAAM,8DAA8D,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;AAkC3C;;;;GAIG;AACH,MAAM,UAAU,2BAA2B;IACvC,MAAM,MAAM,GAAG,cAAc,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,0BAA0B,CAAC,EAAE,EAAE,CAAC,CAAC;IACtF,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAC,wBAAwB,CAAC;AACrD,CAAC;AAGD;;;;;GAKG;AACH,MAAM,OAAO,yBAAyB;IACjB,MAAM,GAAG,YAAY,CAAC,2BAA2B,CAAC,CAAC;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