@onecx/integration-interface 7.0.0-rc.1 → 7.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/package.json +3 -3
- package/src/index.d.ts +8 -1
- package/src/index.js +8 -1
- package/src/index.js.map +1 -1
- package/src/lib/topics/events/v1/event-type.d.ts +4 -0
- package/src/lib/topics/events/v1/event-type.js +9 -0
- package/src/lib/topics/events/v1/event-type.js.map +1 -0
- package/src/lib/topics/events/v1/navigated-event-type.d.ts +2 -1
- package/src/lib/topics/events/v1/topic-event-type.d.ts +2 -1
- package/src/lib/topics/resized-events/v1/resized-event-type.d.ts +5 -0
- package/src/lib/topics/resized-events/v1/resized-event-type.js +10 -0
- package/src/lib/topics/resized-events/v1/resized-event-type.js.map +1 -0
- package/src/lib/topics/resized-events/v1/resized-events.topic.d.ts +27 -0
- package/src/lib/topics/resized-events/v1/resized-events.topic.js +73 -0
- package/src/lib/topics/resized-events/v1/resized-events.topic.js.map +1 -0
- package/src/lib/topics/resized-events/v1/resized-update-requested-type.d.ts +9 -0
- package/src/lib/topics/resized-events/v1/resized-update-requested-type.js +3 -0
- package/src/lib/topics/resized-events/v1/resized-update-requested-type.js.map +1 -0
- package/src/lib/topics/resized-events/v1/slot-groups-resized-type.d.ts +13 -0
- package/src/lib/topics/resized-events/v1/slot-groups-resized-type.js +3 -0
- package/src/lib/topics/resized-events/v1/slot-groups-resized-type.js.map +1 -0
- package/src/lib/topics/resized-events/v1/slots-resized-type.d.ts +13 -0
- package/src/lib/topics/resized-events/v1/slots-resized-type.js +3 -0
- package/src/lib/topics/resized-events/v1/slots-resized-type.js.map +1 -0
- package/src/lib/topics/resized-events/v1/topic-resized-event-type.d.ts +4 -0
- package/src/lib/topics/resized-events/v1/topic-resized-event-type.js +3 -0
- package/src/lib/topics/resized-events/v1/topic-resized-event-type.js.map +1 -0
- package/src/lib/topics/static-menu-visible/v1/static-menu-visible.topic.d.ts +0 -6
- package/src/lib/topics/static-menu-visible/v1/static-menu-visible.topic.js +0 -11
- package/src/lib/topics/static-menu-visible/v1/static-menu-visible.topic.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/integration-interface",
|
|
3
|
-
"version": "7.0.0-rc.
|
|
3
|
+
"version": "7.0.0-rc.10",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"tslib": "^2.6.3",
|
|
7
7
|
"rxjs": "^7.8.1",
|
|
8
|
-
"@onecx/accelerator": "^7.0.0-rc.
|
|
9
|
-
"@onecx/nx-migration-utils": "^7.0.0-rc.
|
|
8
|
+
"@onecx/accelerator": "^7.0.0-rc.10",
|
|
9
|
+
"@onecx/nx-migration-utils": "^7.0.0-rc.10",
|
|
10
10
|
"@nx/devkit": "^20.3.0",
|
|
11
11
|
"@phenomnomnominal/tsquery": "^6",
|
|
12
12
|
"typescript": "^5.5.4"
|
package/src/index.d.ts
CHANGED
|
@@ -21,14 +21,21 @@ export * from './lib/topics/remote-components/v1/remote-component.model';
|
|
|
21
21
|
export * from './lib/topics/remote-components/v1/remote-components-info.model';
|
|
22
22
|
export * from './lib/topics/remote-components/v1/slot.model';
|
|
23
23
|
export * from './lib/topics/remote-components/v1/remote-components.topic';
|
|
24
|
-
export * from './lib/topics/static-menu-visible/v1/static-menu-visible.topic';
|
|
25
24
|
export * from './lib/topics/permissions/v1/permissions.topic';
|
|
26
25
|
export * from './lib/topics/permissions-rpc/v1/permissions-rpc.topic';
|
|
27
26
|
export * from './lib/topics/permissions-rpc/v1/permissions-rpc.model';
|
|
28
27
|
export * from './lib/topics/events/v1/events-topic';
|
|
29
28
|
export * from './lib/topics/events/v1/topic-event-type';
|
|
29
|
+
export * from './lib/topics/events/v1/event-type';
|
|
30
30
|
export * from './lib/topics/events/v1/navigated-event-type';
|
|
31
31
|
export * from './lib/topics/events/v1/navigated-event-payload';
|
|
32
|
+
export * from './lib/topics/resized-events/v1/resized-event-type';
|
|
33
|
+
export * from './lib/topics/resized-events/v1/resized-events.topic';
|
|
34
|
+
export * from './lib/topics/resized-events/v1/resized-update-requested-type';
|
|
35
|
+
export * from './lib/topics/resized-events/v1/slot-groups-resized-type';
|
|
36
|
+
export * from './lib/topics/resized-events/v1/slots-resized-type';
|
|
37
|
+
export * from './lib/topics/resized-events/v1/topic-resized-event-type';
|
|
32
38
|
export * from './lib/topics/current-location/v1/current-location.model';
|
|
33
39
|
export * from './lib/topics/current-location/v1/current-location.topic';
|
|
34
40
|
export * from './lib/topics/parameters/v1/parameters.topic';
|
|
41
|
+
export * from './lib/topics/resized-events/v1/resized-events.topic';
|
package/src/index.js
CHANGED
|
@@ -24,15 +24,22 @@ tslib_1.__exportStar(require("./lib/topics/remote-components/v1/remote-component
|
|
|
24
24
|
tslib_1.__exportStar(require("./lib/topics/remote-components/v1/remote-components-info.model"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./lib/topics/remote-components/v1/slot.model"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./lib/topics/remote-components/v1/remote-components.topic"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./lib/topics/static-menu-visible/v1/static-menu-visible.topic"), exports);
|
|
28
27
|
tslib_1.__exportStar(require("./lib/topics/permissions/v1/permissions.topic"), exports);
|
|
29
28
|
tslib_1.__exportStar(require("./lib/topics/permissions-rpc/v1/permissions-rpc.topic"), exports);
|
|
30
29
|
tslib_1.__exportStar(require("./lib/topics/permissions-rpc/v1/permissions-rpc.model"), exports);
|
|
31
30
|
tslib_1.__exportStar(require("./lib/topics/events/v1/events-topic"), exports);
|
|
32
31
|
tslib_1.__exportStar(require("./lib/topics/events/v1/topic-event-type"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./lib/topics/events/v1/event-type"), exports);
|
|
33
33
|
tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-type"), exports);
|
|
34
34
|
tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-payload"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./lib/topics/resized-events/v1/resized-event-type"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./lib/topics/resized-events/v1/resized-events.topic"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./lib/topics/resized-events/v1/resized-update-requested-type"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./lib/topics/resized-events/v1/slot-groups-resized-type"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./lib/topics/resized-events/v1/slots-resized-type"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./lib/topics/resized-events/v1/topic-resized-event-type"), exports);
|
|
35
41
|
tslib_1.__exportStar(require("./lib/topics/current-location/v1/current-location.model"), exports);
|
|
36
42
|
tslib_1.__exportStar(require("./lib/topics/current-location/v1/current-location.topic"), exports);
|
|
37
43
|
tslib_1.__exportStar(require("./lib/topics/parameters/v1/parameters.topic"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./lib/topics/resized-events/v1/resized-events.topic"), exports);
|
|
38
45
|
//# 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":";;;AAAA,wFAA6D;AAC7D,qFAA0D;AAC1D,0FAA+D;AAC/D,uFAA4D;AAE5D,0FAA+D;AAE/D,8FAAmE;AAEnE,4FAAiE;AACjE,oFAAyD;AAEzD,0FAA+D;AAC/D,0FAA+D;AAE/D,4FAAiE;AAEjE,oGAAyE;AACzE,0GAA+E;AAC/E,4FAAiE;AACjE,wFAA6D;AAC7D,2FAAgE;AAEhE,iGAAsE;AAEtE,gFAAqD;AACrD,gFAAqD;AAErD,mGAAwE;AACxE,yGAA8E;AAC9E,uFAA4D;AAC5D,oGAAyE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/integration-interface/src/index.ts"],"names":[],"mappings":";;;AAAA,wFAA6D;AAC7D,qFAA0D;AAC1D,0FAA+D;AAC/D,uFAA4D;AAE5D,0FAA+D;AAE/D,8FAAmE;AAEnE,4FAAiE;AACjE,oFAAyD;AAEzD,0FAA+D;AAC/D,0FAA+D;AAE/D,4FAAiE;AAEjE,oGAAyE;AACzE,0GAA+E;AAC/E,4FAAiE;AACjE,wFAA6D;AAC7D,2FAAgE;AAEhE,iGAAsE;AAEtE,gFAAqD;AACrD,gFAAqD;AAErD,mGAAwE;AACxE,yGAA8E;AAC9E,uFAA4D;AAC5D,oGAAyE;AAEzE,wFAA6D;AAE7D,gGAAqE;AACrE,gGAAqE;AAErE,8EAAmD;AACnD,kFAAuD;AACvD,4EAAiD;AACjD,sFAA2D;AAC3D,yFAA8D;AAE9D,4FAAiE;AACjE,8FAAmE;AACnE,uGAA4E;AAC5E,kGAAuE;AACvE,4FAAiE;AACjE,kGAAuE;AAEvE,kGAAuE;AACvE,kGAAuE;AAEvE,sFAA2D;AAE3D,8FAAmE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventType = void 0;
|
|
4
|
+
var EventType;
|
|
5
|
+
(function (EventType) {
|
|
6
|
+
EventType["NAVIGATED"] = "navigated";
|
|
7
|
+
EventType["AUTH_LOGOUT_BUTTON_CLICKED"] = "authentication#logoutButtonClicked";
|
|
8
|
+
})(EventType || (exports.EventType = EventType = {}));
|
|
9
|
+
//# sourceMappingURL=event-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/events/v1/event-type.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,8EAAiE,CAAA;AACnE,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { EventType } from './event-type';
|
|
1
2
|
import { NavigatedEventPayload } from './navigated-event-payload';
|
|
2
3
|
/**
|
|
3
4
|
* @deprecated Use CurrentLocationTopic instead of EventsTopic for navigated events
|
|
4
5
|
*/
|
|
5
6
|
export type NavigatedEvent = {
|
|
6
|
-
type:
|
|
7
|
+
type: EventType.NAVIGATED;
|
|
7
8
|
payload: NavigatedEventPayload;
|
|
8
9
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResizedEventType = void 0;
|
|
4
|
+
var ResizedEventType;
|
|
5
|
+
(function (ResizedEventType) {
|
|
6
|
+
ResizedEventType["SLOT_RESIZED"] = "slot_resized";
|
|
7
|
+
ResizedEventType["SLOT_GROUP_RESIZED"] = "slot_group_resized";
|
|
8
|
+
ResizedEventType["REQUESTED_EVENTS_CHANGED"] = "requested_events_changed";
|
|
9
|
+
})(ResizedEventType || (exports.ResizedEventType = ResizedEventType = {}));
|
|
10
|
+
//# sourceMappingURL=resized-event-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resized-event-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/resized-events/v1/resized-event-type.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,6DAAyC,CAAA;IACzC,yEAAqD,CAAA;AACvD,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Topic, TopicPublisher } from '@onecx/accelerator';
|
|
2
|
+
import { TopicResizedEventType } from './topic-resized-event-type';
|
|
3
|
+
import { ResizedEventType } from './resized-event-type';
|
|
4
|
+
declare global {
|
|
5
|
+
interface Window {
|
|
6
|
+
'@onecx/integration-interface': {
|
|
7
|
+
resizedEvents?: {
|
|
8
|
+
slot_resized?: string[];
|
|
9
|
+
slot_group_resized?: string[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export declare class ResizedEventsPublisher extends TopicPublisher<TopicResizedEventType> {
|
|
15
|
+
constructor();
|
|
16
|
+
publish(event: TopicResizedEventType): Promise<void>;
|
|
17
|
+
}
|
|
18
|
+
export declare class ResizedEventsTopic extends Topic<TopicResizedEventType> {
|
|
19
|
+
constructor();
|
|
20
|
+
/**
|
|
21
|
+
* Request resized update events for a specific entity
|
|
22
|
+
* @param eventType - The type of resized event to request
|
|
23
|
+
* @param entityName - The name of the entity (slot or slot group) to request events for
|
|
24
|
+
*/
|
|
25
|
+
static requestEvent(eventType: ResizedEventType.SLOT_RESIZED | ResizedEventType.SLOT_GROUP_RESIZED, entityName: string): void;
|
|
26
|
+
publish(event: TopicResizedEventType): Promise<void>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResizedEventsTopic = exports.ResizedEventsPublisher = void 0;
|
|
4
|
+
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
+
const resized_event_type_1 = require("./resized-event-type");
|
|
6
|
+
class ResizedEventsPublisher extends accelerator_1.TopicPublisher {
|
|
7
|
+
constructor() {
|
|
8
|
+
super('resizedEvents', 1);
|
|
9
|
+
}
|
|
10
|
+
//NOSONAR
|
|
11
|
+
publish(event) {
|
|
12
|
+
if (![resized_event_type_1.ResizedEventType.SLOT_GROUP_RESIZED, resized_event_type_1.ResizedEventType.SLOT_RESIZED].includes(event.type)) {
|
|
13
|
+
return super.publish(event);
|
|
14
|
+
}
|
|
15
|
+
const resizedEvent = event;
|
|
16
|
+
const entityName = eventToEntityName(resizedEvent);
|
|
17
|
+
if (window['@onecx/integration-interface']['resizedEvents']?.[resizedEvent.type]?.includes(entityName)) {
|
|
18
|
+
return super.publish(event);
|
|
19
|
+
}
|
|
20
|
+
return Promise.resolve();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.ResizedEventsPublisher = ResizedEventsPublisher;
|
|
24
|
+
class ResizedEventsTopic extends accelerator_1.Topic {
|
|
25
|
+
constructor() {
|
|
26
|
+
super('resizedEvents', 1, false);
|
|
27
|
+
window['@onecx/integration-interface'] ??= {};
|
|
28
|
+
window['@onecx/integration-interface']['resizedEvents'] ??= {};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Request resized update events for a specific entity
|
|
32
|
+
* @param eventType - The type of resized event to request
|
|
33
|
+
* @param entityName - The name of the entity (slot or slot group) to request events for
|
|
34
|
+
*/
|
|
35
|
+
static requestEvent(eventType, entityName) {
|
|
36
|
+
window['@onecx/integration-interface'] ??= {};
|
|
37
|
+
window['@onecx/integration-interface']['resizedEvents'] ??= {};
|
|
38
|
+
window['@onecx/integration-interface']['resizedEvents'][eventType] ??= [];
|
|
39
|
+
window['@onecx/integration-interface']['resizedEvents'][eventType].push(entityName);
|
|
40
|
+
// Request an initial update when registering to make sure the listener has the latest information
|
|
41
|
+
// Without this, the listener might have to wait until the next resize to get any data
|
|
42
|
+
// Its important that this is called after the listener is registered
|
|
43
|
+
new ResizedEventsPublisher().publish({
|
|
44
|
+
type: resized_event_type_1.ResizedEventType.REQUESTED_EVENTS_CHANGED,
|
|
45
|
+
payload: {
|
|
46
|
+
type: eventType,
|
|
47
|
+
name: entityName,
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
//NOSONAR
|
|
52
|
+
publish(event) {
|
|
53
|
+
if (![resized_event_type_1.ResizedEventType.SLOT_GROUP_RESIZED, resized_event_type_1.ResizedEventType.SLOT_RESIZED].includes(event.type)) {
|
|
54
|
+
return super.publish(event);
|
|
55
|
+
}
|
|
56
|
+
const resizedEvent = event;
|
|
57
|
+
const entityName = eventToEntityName(resizedEvent);
|
|
58
|
+
if (window['@onecx/integration-interface']['resizedEvents']?.[resizedEvent.type]?.includes(entityName)) {
|
|
59
|
+
return super.publish(event);
|
|
60
|
+
}
|
|
61
|
+
return Promise.resolve();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ResizedEventsTopic = ResizedEventsTopic;
|
|
65
|
+
function eventToEntityName(event) {
|
|
66
|
+
switch (event.type) {
|
|
67
|
+
case resized_event_type_1.ResizedEventType.SLOT_RESIZED:
|
|
68
|
+
return event.payload.slotName;
|
|
69
|
+
case resized_event_type_1.ResizedEventType.SLOT_GROUP_RESIZED:
|
|
70
|
+
return event.payload.slotGroupName;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=resized-events.topic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resized-events.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/resized-events/v1/resized-events.topic.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ResizedEventType } from './resized-event-type';
|
|
2
|
+
export type RequestedEventsChangedEventPayload = {
|
|
3
|
+
type: ResizedEventType.SLOT_GROUP_RESIZED | ResizedEventType.SLOT_RESIZED;
|
|
4
|
+
name: string;
|
|
5
|
+
};
|
|
6
|
+
export type RequestedEventsChangedEvent = {
|
|
7
|
+
type: ResizedEventType.REQUESTED_EVENTS_CHANGED;
|
|
8
|
+
payload: RequestedEventsChangedEventPayload;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resized-update-requested-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/resized-events/v1/resized-update-requested-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ResizedEventType } from './resized-event-type';
|
|
2
|
+
export type SlotGroupResizedDetails = {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
};
|
|
6
|
+
export type SlotGroupResizedEventPayload = {
|
|
7
|
+
slotGroupName: string;
|
|
8
|
+
slotGroupDetails: SlotGroupResizedDetails;
|
|
9
|
+
};
|
|
10
|
+
export type SlotGroupResizedEvent = {
|
|
11
|
+
type: ResizedEventType.SLOT_GROUP_RESIZED;
|
|
12
|
+
payload: SlotGroupResizedEventPayload;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slot-groups-resized-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/resized-events/v1/slot-groups-resized-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ResizedEventType } from './resized-event-type';
|
|
2
|
+
export type SlotResizedDetails = {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
};
|
|
6
|
+
export type SlotResizedEventPayload = {
|
|
7
|
+
slotName: string;
|
|
8
|
+
slotDetails: SlotResizedDetails;
|
|
9
|
+
};
|
|
10
|
+
export type SlotResizedEvent = {
|
|
11
|
+
type: ResizedEventType.SLOT_RESIZED;
|
|
12
|
+
payload: SlotResizedEventPayload;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slots-resized-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/resized-events/v1/slots-resized-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RequestedEventsChangedEvent } from './resized-update-requested-type';
|
|
2
|
+
import { SlotGroupResizedEvent } from './slot-groups-resized-type';
|
|
3
|
+
import { SlotResizedEvent } from './slots-resized-type';
|
|
4
|
+
export type TopicResizedEventType = SlotGroupResizedEvent | SlotResizedEvent | RequestedEventsChangedEvent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topic-resized-event-type.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/resized-events/v1/topic-resized-event-type.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StaticMenuVisibleTopic = void 0;
|
|
4
|
-
const accelerator_1 = require("@onecx/accelerator");
|
|
5
|
-
class StaticMenuVisibleTopic extends accelerator_1.Topic {
|
|
6
|
-
constructor() {
|
|
7
|
-
super('staticMenuVisible', 1);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.StaticMenuVisibleTopic = StaticMenuVisibleTopic;
|
|
11
|
-
//# sourceMappingURL=static-menu-visible.topic.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static-menu-visible.topic.js","sourceRoot":"","sources":["../../../../../../../../libs/integration-interface/src/lib/topics/static-menu-visible/v1/static-menu-visible.topic.ts"],"names":[],"mappings":";;;AAAA,oDAA0C;AAE1C,MAAa,sBAAuB,SAAQ,mBAA6B;IACvE;QACE,KAAK,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAA;IAC/B,CAAC;CACF;AAJD,wDAIC"}
|