@onecx/integration-interface 7.0.0-rc.1 → 7.0.0-rc.3
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 +2 -1
- package/src/index.js +2 -1
- package/src/index.js.map +1 -1
- package/src/lib/topics/events/v1/event-type.d.ts +5 -0
- package/src/lib/topics/events/v1/event-type.js +10 -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/slots-resized-type.d.ts +13 -0
- package/src/lib/topics/events/v1/slots-resized-type.js +3 -0
- package/src/lib/topics/events/v1/slots-resized-type.js.map +1 -0
- package/src/lib/topics/events/v1/topic-event-type.d.ts +2 -1
- 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.3",
|
|
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.3",
|
|
9
|
+
"@onecx/nx-migration-utils": "^7.0.0-rc.3",
|
|
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,12 +21,13 @@ 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
|
+
export * from './lib/topics/events/v1/slots-resized-type';
|
|
30
31
|
export * from './lib/topics/events/v1/navigated-event-type';
|
|
31
32
|
export * from './lib/topics/events/v1/navigated-event-payload';
|
|
32
33
|
export * from './lib/topics/current-location/v1/current-location.model';
|
package/src/index.js
CHANGED
|
@@ -24,12 +24,13 @@ 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
|
+
tslib_1.__exportStar(require("./lib/topics/events/v1/slots-resized-type"), exports);
|
|
33
34
|
tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-type"), exports);
|
|
34
35
|
tslib_1.__exportStar(require("./lib/topics/events/v1/navigated-event-payload"), exports);
|
|
35
36
|
tslib_1.__exportStar(require("./lib/topics/current-location/v1/current-location.model"), exports);
|
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,oFAAyD;AACzD,sFAA2D;AAC3D,yFAA8D;AAE9D,kGAAuE;AACvE,kGAAuE;AAEvE,sFAA2D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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["SLOT_RESIZED"] = "slot#resized";
|
|
9
|
+
})(EventType || (exports.EventType = EventType = {}));
|
|
10
|
+
//# 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,SAIX;AAJD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,8EAAiE,CAAA;IACjE,0CAA6B,CAAA;AAC/B,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB"}
|
|
@@ -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,13 @@
|
|
|
1
|
+
import { EventType } from './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: EventType.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/events/v1/slots-resized-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"}
|