@onecx/integration-interface 8.0.0-rc.1 → 8.0.0-rc.10
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 +1069 -0
- package/dist/index.mjs +1038 -0
- package/package.json +20 -15
- package/src/index.d.ts +9 -0
- package/src/index.js +53 -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/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/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.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/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/shell-capability.utils.d.ts +2 -0
- package/src/lib/utils/shell-capability.utils.js +4 -0
- package/src/lib/utils/shell-capability.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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { filter, firstValueFrom, map } from 'rxjs';
|
|
2
|
+
import { IconTopic } from '../topics/icons/v1/icon.topic';
|
|
3
|
+
import { ensureProperty } from '@onecx/accelerator';
|
|
4
|
+
import '../declarations';
|
|
5
|
+
const DEFAULT_CLASS_TYPE = 'background-before';
|
|
6
|
+
export function ensureIconCache() {
|
|
7
|
+
ensureProperty(globalThis, ['onecxIcons'], {});
|
|
8
|
+
}
|
|
9
|
+
export function generateClassName(name, classType) {
|
|
10
|
+
const safeName = normalizeIconName(name);
|
|
11
|
+
return `onecx-theme-icon-${classType}-${safeName}`;
|
|
12
|
+
}
|
|
13
|
+
export function normalizeIconName(name) {
|
|
14
|
+
return name.replaceAll(/[^a-zA-Z0-9_-]+/g, '-');
|
|
15
|
+
}
|
|
16
|
+
export class IconService {
|
|
17
|
+
_iconTopic$;
|
|
18
|
+
get iconTopic() {
|
|
19
|
+
this._iconTopic$ ??= new IconTopic();
|
|
20
|
+
return this._iconTopic$;
|
|
21
|
+
}
|
|
22
|
+
set iconTopic(source) {
|
|
23
|
+
this._iconTopic$ = source;
|
|
24
|
+
}
|
|
25
|
+
constructor() {
|
|
26
|
+
ensureIconCache();
|
|
27
|
+
}
|
|
28
|
+
requestIcon(name, classType = DEFAULT_CLASS_TYPE) {
|
|
29
|
+
const className = generateClassName(name, classType);
|
|
30
|
+
if (globalThis.onecxIcons && !(name in globalThis.onecxIcons)) {
|
|
31
|
+
ensureProperty(globalThis, ['onecxIcons', name], undefined);
|
|
32
|
+
this.iconTopic.publish({ type: 'IconRequested', name });
|
|
33
|
+
}
|
|
34
|
+
return className;
|
|
35
|
+
}
|
|
36
|
+
async requestIconAsync(name, classType = DEFAULT_CLASS_TYPE) {
|
|
37
|
+
const className = this.requestIcon(name, classType);
|
|
38
|
+
const cached = globalThis.onecxIcons?.[name];
|
|
39
|
+
if (cached === null)
|
|
40
|
+
return null;
|
|
41
|
+
if (cached)
|
|
42
|
+
return className;
|
|
43
|
+
await firstValueFrom(this.iconTopic.pipe(filter(e => e.type === 'IconsReceived'), map(() => globalThis.onecxIcons?.[name]), filter(v => v !== undefined)));
|
|
44
|
+
return globalThis.onecxIcons?.[name] ? className : null;
|
|
45
|
+
}
|
|
46
|
+
destroy() {
|
|
47
|
+
this.iconTopic.destroy();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=icon.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.service.js","sourceRoot":"","sources":["../../../../../../libs/integration-interface/src/lib/services/icon.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,iBAAiB,CAAC;AAEzB,MAAM,kBAAkB,GAAkB,mBAAmB,CAAA;AAG7D,MAAM,UAAU,eAAe;IAC7B,cAAc,CAAC,UAAU,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC,CAAA;AAChD,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,IAAY,EAAE,SAAwB;IACtE,MAAM,QAAQ,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA;IACxC,OAAO,oBAAoB,SAAS,IAAI,QAAQ,EAAE,CAAA;AACpD,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,IAAY;IAC5C,OAAO,IAAI,CAAC,UAAU,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAA;AACjD,CAAC;AAGD,MAAM,OAAO,WAAW;IAEd,WAAW,CAAwB;IAC3C,IAAI,SAAS;QACX,IAAI,CAAC,WAAW,KAAK,IAAI,SAAS,EAAE,CAAA;QACpC,OAAO,IAAI,CAAC,WAAW,CAAA;IACzB,CAAC;IACD,IAAI,SAAS,CAAC,MAAiB;QAC7B,IAAI,CAAC,WAAW,GAAG,MAAM,CAAA;IAC3B,CAAC;IAED;QACE,eAAe,EAAE,CAAA;IACnB,CAAC;IAED,WAAW,CAAC,IAAY,EAAE,YAA2B,kBAAkB;QACrE,MAAM,SAAS,GAAG,iBAAiB,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;QAEpD,IAAI,UAAU,CAAC,UAAU,IAAI,CAAC,CAAC,IAAI,IAAI,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;YAC9D,cAAc,CAAC,UAAU,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC,EAAE,SAAS,CAAC,CAAA;YAC3D,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,CAAA;QACzD,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,KAAK,CAAC,gBAAgB,CACpB,IAAY,EACZ,YAA2B,kBAAkB;QAE7C,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;QAEnD,MAAM,MAAM,GAAG,UAAU,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,CAAA;QAC5C,IAAI,MAAM,KAAK,IAAI;YAAE,OAAO,IAAI,CAAA;QAChC,IAAI,MAAM;YAAE,OAAO,SAAS,CAAA;QAE5B,MAAM,cAAc,CAClB,IAAI,CAAC,SAAS,CAAC,IAAI,CACjB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,eAAe,CAAC,EACvC,GAAG,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,CAAC,EACxC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAC7B,CACF,CAAA;QAED,OAAO,UAAU,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;IACzD,CAAC;IAED,OAAO;QACL,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAA;IAC1B,CAAC;CACF"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const rxjs_1 = require("rxjs");
|
|
5
|
-
const image_repository_topic_1 = require("../topics/image-repository/image-repository.topic");
|
|
6
|
-
class ImageRepositoryService {
|
|
1
|
+
import { firstValueFrom } from "rxjs";
|
|
2
|
+
import { ImageRepositoryTopic } from "../topics/image-repository/image-repository.topic";
|
|
3
|
+
export class ImageRepositoryService {
|
|
7
4
|
_imageRepositoryTopic$;
|
|
8
5
|
get imageRepositoryTopic() {
|
|
9
|
-
this._imageRepositoryTopic$ ??= new
|
|
6
|
+
this._imageRepositoryTopic$ ??= new ImageRepositoryTopic();
|
|
10
7
|
return this._imageRepositoryTopic$;
|
|
11
8
|
}
|
|
12
9
|
set imageRepositoryTopic(source) {
|
|
@@ -16,7 +13,7 @@ class ImageRepositoryService {
|
|
|
16
13
|
if (!names || names.length === 0) {
|
|
17
14
|
return fallbackUrl;
|
|
18
15
|
}
|
|
19
|
-
const imagePaths = await
|
|
16
|
+
const imagePaths = await firstValueFrom(this.imageRepositoryTopic.asObservable());
|
|
20
17
|
const urls = imagePaths.images || {};
|
|
21
18
|
const isUrlListEmpty = Object.entries(urls).length === 0;
|
|
22
19
|
if (isUrlListEmpty) {
|
|
@@ -33,5 +30,4 @@ class ImageRepositoryService {
|
|
|
33
30
|
this.imageRepositoryTopic.destroy();
|
|
34
31
|
}
|
|
35
32
|
}
|
|
36
|
-
exports.ImageRepositoryService = ImageRepositoryService;
|
|
37
33
|
//# sourceMappingURL=image-repository.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-repository.service.js","sourceRoot":"","sources":["../../../../../../libs/integration-interface/src/lib/services/image-repository.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image-repository.service.js","sourceRoot":"","sources":["../../../../../../libs/integration-interface/src/lib/services/image-repository.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAEzF,MAAM,OAAO,sBAAsB;IACvB,sBAAsB,CAAmC;IAEjE,IAAI,oBAAoB;QACpB,IAAI,CAAC,sBAAsB,KAAK,IAAI,oBAAoB,EAAE,CAAA;QAC1D,OAAO,IAAI,CAAC,sBAAsB,CAAA;IACtC,CAAC;IACD,IAAI,oBAAoB,CAAC,MAA4B;QACjD,IAAI,CAAC,sBAAsB,GAAG,MAAM,CAAA;IACxC,CAAC;IAID,KAAK,CAAC,MAAM,CAAC,KAAe,EAAE,WAAoB;QAC9C,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/B,OAAO,WAAW,CAAC;QACvB,CAAC;QACD,MAAM,UAAU,GAAG,MAAM,cAAc,CAAC,IAAI,CAAC,oBAAoB,CAAC,YAAY,EAAE,CAAC,CAAC;QAClF,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,IAAI,EAAE,CAAC;QACrC,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC;QACzD,IAAI,cAAc,EAAE,CAAC;YACjB,OAAO,WAAW,CAAC;QACvB,CAAC;QACD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACvB,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;gBACf,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;QACL,CAAC;QACD,OAAO,WAAW,CAAC;IACvB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,oBAAoB,CAAC,OAAO,EAAE,CAAC;IACxC,CAAC;CACJ"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.ConfigurationTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class ConfigurationTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class ConfigurationTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('configuration', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.ConfigurationTopic = ConfigurationTopic;
|
|
11
7
|
//# sourceMappingURL=configuration.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/configuration/v1/configuration.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"configuration.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/configuration/v1/configuration.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAM1C,MAAM,OAAO,kBAAmB,SAAQ,KAAa;IACnD;QACE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;IAC3B,CAAC;CACF"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { Topic
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
2
|
import { CurrentLocationTopicPayload } from './current-location.model';
|
|
3
|
-
export declare class CurrentLocationPublisher extends TopicPublisher<CurrentLocationTopicPayload> {
|
|
4
|
-
constructor();
|
|
5
|
-
}
|
|
6
3
|
export declare class CurrentLocationTopic extends Topic<CurrentLocationTopicPayload> {
|
|
7
4
|
constructor();
|
|
8
5
|
}
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CurrentLocationTopic = exports.CurrentLocationPublisher = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class CurrentLocationPublisher extends accelerator_1.TopicPublisher {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class CurrentLocationTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('currentLocation', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.CurrentLocationPublisher = CurrentLocationPublisher;
|
|
11
|
-
class CurrentLocationTopic extends accelerator_1.Topic {
|
|
12
|
-
constructor() {
|
|
13
|
-
super('currentLocation', 1);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.CurrentLocationTopic = CurrentLocationTopic;
|
|
17
7
|
//# sourceMappingURL=current-location.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-location.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-location/v1/current-location.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"current-location.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-location/v1/current-location.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAG1C,MAAM,OAAO,oBAAqB,SAAQ,KAAkC;IAC1E;QACE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAA;IAC7B,CAAC;CACF"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CurrentMfeTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class CurrentMfeTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class CurrentMfeTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('currentMfe', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.CurrentMfeTopic = CurrentMfeTopic;
|
|
11
7
|
//# sourceMappingURL=current-mfe.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-mfe.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-mfe/v1/current-mfe.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"current-mfe.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-mfe/v1/current-mfe.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAG1C,MAAM,OAAO,eAAgB,SAAQ,KAAc;IACjD;QACE,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC,CAAA;IACxB,CAAC;CACF"}
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const BehaviorSubject_1 = require("rxjs/internal/BehaviorSubject");
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
import { combineLatest, distinctUntilChanged, map } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject';
|
|
4
|
+
import { createLogger } from '../../../utils/logger.utils';
|
|
5
|
+
const logger = createLogger('CurrentPageTopic');
|
|
7
6
|
/**
|
|
8
7
|
* This topic will only fire when pageInfo.path matches document.location.pathname,
|
|
9
8
|
* if not it will fire undefined.
|
|
10
9
|
*/
|
|
11
|
-
class CurrentPageTopic extends
|
|
12
|
-
currentPath$ = new
|
|
10
|
+
export class CurrentPageTopic extends Topic {
|
|
11
|
+
currentPath$ = new BehaviorSubject(document.location.pathname);
|
|
13
12
|
constructor() {
|
|
14
13
|
super('currentPage', 1);
|
|
15
14
|
this.watchForPathChanges();
|
|
16
15
|
}
|
|
17
16
|
asObservable() {
|
|
18
|
-
return
|
|
17
|
+
return combineLatest([super.asObservable(), this.currentPath$.pipe(distinctUntilChanged())]).pipe(map(([v, path]) => (v.path === path ? v : undefined)));
|
|
19
18
|
}
|
|
20
19
|
watchForPathChanges() {
|
|
21
20
|
const body = document.querySelector('body');
|
|
22
21
|
if (body === null) {
|
|
23
|
-
|
|
22
|
+
logger.error('could not listen to location changes');
|
|
24
23
|
throw new Error('could not listen to location changes');
|
|
25
24
|
}
|
|
26
25
|
const observer = new MutationObserver(() => {
|
|
@@ -29,5 +28,4 @@ class CurrentPageTopic extends accelerator_1.Topic {
|
|
|
29
28
|
observer.observe(body, { childList: true, subtree: true });
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
|
-
exports.CurrentPageTopic = CurrentPageTopic;
|
|
33
31
|
//# sourceMappingURL=current-page.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-page.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-page/v1/current-page.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"current-page.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-page/v1/current-page.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,GAAG,EAAE,MAAM,MAAM,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE1D,MAAM,MAAM,GAAG,YAAY,CAAC,kBAAkB,CAAC,CAAA;AAE/C;;;GAGG;AACH,MAAM,OAAO,gBAAiB,SAAQ,KAA2B;IACvD,YAAY,GAAG,IAAI,eAAe,CAAS,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;IAE9E;QACE,KAAK,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;QACvB,IAAI,CAAC,mBAAmB,EAAE,CAAA;IAC5B,CAAC;IAEe,YAAY;QAC1B,OAAO,aAAa,CAAC,CAAC,KAAK,CAAC,YAAY,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAC/F,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAY,CAAE,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAClE,CAAA;IACH,CAAC;IAEO,mBAAmB;QACzB,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;QAC3C,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,MAAM,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAA;YACpD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAA;QACzD,CAAC;QACD,MAAM,QAAQ,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE;YACzC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QACpD,CAAC,CAAC,CAAA;QACF,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5D,CAAC;CACF"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CurrentThemeTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class CurrentThemeTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class CurrentThemeTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('currentTheme', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.CurrentThemeTopic = CurrentThemeTopic;
|
|
11
7
|
//# sourceMappingURL=current-theme.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-theme.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-theme/v1/current-theme.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"current-theme.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-theme/v1/current-theme.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAG1C,MAAM,OAAO,iBAAkB,SAAQ,KAAY;IACjD;QACE,KAAK,CAAC,cAAc,EAAE,CAAC,CAAC,CAAA;IAC1B,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-override.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-theme/v1/theme-override.model.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,mCAAmB,CAAA;IACnB,2BAAW,CAAA;AACf,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CurrentWorkspaceTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class CurrentWorkspaceTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class CurrentWorkspaceTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('currentPortal', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.CurrentWorkspaceTopic = CurrentWorkspaceTopic;
|
|
11
7
|
//# sourceMappingURL=current-workspace.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-workspace.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-workspace/v1/current-workspace.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"current-workspace.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/current-workspace/v1/current-workspace.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAG1C,MAAM,OAAO,qBAAsB,SAAQ,KAAgB;IACzD;QACE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum DynamicTranslationsMessageType {
|
|
2
|
+
REQUESTED = "REQUESTED",
|
|
3
|
+
RECEIVED = "RECEIVED"
|
|
4
|
+
}
|
|
5
|
+
export interface TranslationsRequested {
|
|
6
|
+
type: DynamicTranslationsMessageType.REQUESTED;
|
|
7
|
+
locale: string;
|
|
8
|
+
contexts: {
|
|
9
|
+
name: string;
|
|
10
|
+
version?: string;
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
13
|
+
export interface TranslationsReceived {
|
|
14
|
+
type: DynamicTranslationsMessageType.RECEIVED;
|
|
15
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var DynamicTranslationsMessageType;
|
|
2
|
+
(function (DynamicTranslationsMessageType) {
|
|
3
|
+
DynamicTranslationsMessageType["REQUESTED"] = "REQUESTED";
|
|
4
|
+
DynamicTranslationsMessageType["RECEIVED"] = "RECEIVED";
|
|
5
|
+
})(DynamicTranslationsMessageType || (DynamicTranslationsMessageType = {}));
|
|
6
|
+
//# sourceMappingURL=dynamic-translations.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-translations.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/dynamic-translations/v1/dynamic-translations.model.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,yDAAuB,CAAA;IACvB,uDAAqB,CAAA;AACvB,CAAC,EAHW,8BAA8B,KAA9B,8BAA8B,QAGzC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
import { TranslationsRequested, TranslationsReceived } from './dynamic-translations.model';
|
|
3
|
+
export type DynamicTranslationsMessage = TranslationsRequested | TranslationsReceived;
|
|
4
|
+
export declare class DynamicTranslationsTopic extends Topic<DynamicTranslationsMessage> {
|
|
5
|
+
constructor();
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-translations.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/dynamic-translations/v1/dynamic-translations.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAK3C,MAAM,OAAO,wBAAyB,SAAQ,KAAiC;IAC7E;QACE,KAAK,CAAC,qBAAqB,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;CACF"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventType = void 0;
|
|
4
|
-
var EventType;
|
|
1
|
+
export var EventType;
|
|
5
2
|
(function (EventType) {
|
|
6
3
|
EventType["NAVIGATED"] = "navigated";
|
|
7
4
|
EventType["AUTH_LOGOUT_BUTTON_CLICKED"] = "authentication#logoutButtonClicked";
|
|
8
|
-
})(EventType || (
|
|
5
|
+
})(EventType || (EventType = {}));
|
|
9
6
|
//# sourceMappingURL=event-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/event-type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"event-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/event-type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,8EAAiE,CAAA;AACnE,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { Topic
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
2
|
import { TopicEventType } from './topic-event-type';
|
|
3
|
-
export declare class EventsPublisher extends TopicPublisher<TopicEventType> {
|
|
4
|
-
constructor();
|
|
5
|
-
}
|
|
6
3
|
export declare class EventsTopic extends Topic<TopicEventType> {
|
|
7
4
|
constructor();
|
|
8
5
|
}
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.EventsTopic = exports.EventsPublisher = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class EventsPublisher extends accelerator_1.TopicPublisher {
|
|
6
|
-
constructor() {
|
|
7
|
-
super('events', 1);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.EventsPublisher = EventsPublisher;
|
|
11
|
-
class EventsTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class EventsTopic extends Topic {
|
|
12
3
|
constructor() {
|
|
13
4
|
super('events', 1, false);
|
|
14
5
|
}
|
|
15
6
|
}
|
|
16
|
-
exports.EventsTopic = EventsTopic;
|
|
17
7
|
//# sourceMappingURL=events-topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events-topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/events-topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events-topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/events-topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAG1C,MAAM,OAAO,WAAY,SAAQ,KAAqB;IACpD;QACE,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;IAC3B,CAAC;CACF"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.GlobalErrorTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class GlobalErrorTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class GlobalErrorTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('globalError', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.GlobalErrorTopic = GlobalErrorTopic;
|
|
11
7
|
//# sourceMappingURL=global-error.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-error.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/global-error/v1/global-error.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"global-error.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/global-error/v1/global-error.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAE1C,MAAM,OAAO,gBAAiB,SAAQ,KAAa;IACjD;QACE,KAAK,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;IACzB,CAAC;CACF"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.GlobalLoadingTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class GlobalLoadingTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class GlobalLoadingTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('globalLoading', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.GlobalLoadingTopic = GlobalLoadingTopic;
|
|
11
7
|
//# sourceMappingURL=global-loading.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-loading.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/global-loading/v1/global-loading.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"global-loading.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/global-loading/v1/global-loading.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAE1C,MAAM,OAAO,kBAAmB,SAAQ,KAAc;IACpD;QACE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IconCache {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
body: string;
|
|
5
|
+
parent?: string | null;
|
|
6
|
+
}
|
|
7
|
+
export type IconClassType = 'svg' | 'background' | 'background-before';
|
|
8
|
+
export interface IconRequested {
|
|
9
|
+
type: 'IconRequested';
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IconsReceived {
|
|
13
|
+
type: 'IconsReceived';
|
|
14
|
+
}
|
|
15
|
+
export type Icon = IconRequested | IconsReceived;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=icon.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.model.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/icons/v1/icon.model.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/icons/v1/icon.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAG1C,MAAM,OAAO,SAAU,SAAQ,KAAW;IACxC;QACE,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;IACzB,CAAC;CACF"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.ImageRepositoryTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class ImageRepositoryTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from "@onecx/accelerator";
|
|
2
|
+
export class ImageRepositoryTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('imageRepository', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.ImageRepositoryTopic = ImageRepositoryTopic;
|
|
11
7
|
//# sourceMappingURL=image-repository.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-repository.topic.js","sourceRoot":"","sources":["../../../../../../../libs/integration-interface/src/lib/topics/image-repository/image-repository.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image-repository.topic.js","sourceRoot":"","sources":["../../../../../../../libs/integration-interface/src/lib/topics/image-repository/image-repository.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAG3C,MAAM,OAAO,oBAAqB,SAAQ,KAA0B;IAClE;QACE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAA;IAC7B,CAAC;CACF"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.IsAuthenticatedTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class IsAuthenticatedTopic extends accelerator_1.Topic {
|
|
1
|
+
import { Topic } from '@onecx/accelerator';
|
|
2
|
+
export class IsAuthenticatedTopic extends Topic {
|
|
6
3
|
constructor() {
|
|
7
4
|
super('isAuthenticated', 1);
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.IsAuthenticatedTopic = IsAuthenticatedTopic;
|
|
11
7
|
//# sourceMappingURL=isAuthenticated.topic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isAuthenticated.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/is-authenticated/v1/isAuthenticated.topic.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"isAuthenticated.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/is-authenticated/v1/isAuthenticated.topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAE1C,MAAM,OAAO,oBAAqB,SAAQ,KAAW;IACnD;QACE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAA;IAC7B,CAAC;CACF"}
|