@luigi-project/core-modular 0.0.11-dev.202607100055 → 0.0.11-dev.202607110048
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/core-api/ux.d.ts +4 -0
- package/luigi.js +11 -4
- package/luigi.js.map +1 -1
- package/package.json +1 -1
- package/types/connector.d.ts +4 -0
package/core-api/ux.d.ts
CHANGED
|
@@ -62,6 +62,10 @@ export declare class UX {
|
|
|
62
62
|
* });
|
|
63
63
|
*/
|
|
64
64
|
showConfirmationModal: (settings: ConfirmationModalSettings) => Promise<unknown>;
|
|
65
|
+
/**
|
|
66
|
+
* Set the collapsed state of the left side navigation
|
|
67
|
+
*/
|
|
68
|
+
collapseLeftSideNav: (state: boolean) => void;
|
|
65
69
|
/**
|
|
66
70
|
* Open user settings dialog
|
|
67
71
|
*/
|
package/luigi.js
CHANGED
|
@@ -6262,8 +6262,8 @@ var _i = class {
|
|
|
6262
6262
|
openUserSettings: () => {
|
|
6263
6263
|
this.dispatchLuigiEvent(V.OPEN_USER_SETTINGS_REQUEST, this.thisComponent.userSettings);
|
|
6264
6264
|
},
|
|
6265
|
-
collapseLeftSideNav: () => {
|
|
6266
|
-
this.dispatchLuigiEvent(V.COLLAPSE_LEFT_NAV_REQUEST, {});
|
|
6265
|
+
collapseLeftSideNav: (e) => {
|
|
6266
|
+
this.dispatchLuigiEvent(V.COLLAPSE_LEFT_NAV_REQUEST, { state: e });
|
|
6267
6267
|
},
|
|
6268
6268
|
getDirtyStatus: () => this.thisComponent.dirtyStatus || !1,
|
|
6269
6269
|
getDocumentTitle: () => this.thisComponent.documentTitle,
|
|
@@ -6331,10 +6331,11 @@ var _i = class {
|
|
|
6331
6331
|
getCoreSearchParams: () => this.thisComponent.searchParams || {},
|
|
6332
6332
|
getPathParams: () => this.thisComponent.pathParams || {},
|
|
6333
6333
|
getClientPermissions: () => this.thisComponent.clientPermissions || {},
|
|
6334
|
-
addCoreSearchParams: (e = {}, t = !0) => {
|
|
6334
|
+
addCoreSearchParams: (e = {}, t = !0, n = !1) => {
|
|
6335
6335
|
this.dispatchLuigiEvent(V.ADD_SEARCH_PARAMS_REQUEST, {
|
|
6336
6336
|
data: e,
|
|
6337
|
-
keepBrowserHistory: t
|
|
6337
|
+
keepBrowserHistory: t,
|
|
6338
|
+
preventLuigiConfigUpdate: n
|
|
6338
6339
|
});
|
|
6339
6340
|
},
|
|
6340
6341
|
getUserSettings: () => this.thisComponent.userSettings || {},
|
|
@@ -9605,6 +9606,9 @@ var Ti = {
|
|
|
9605
9606
|
}
|
|
9606
9607
|
});
|
|
9607
9608
|
}));
|
|
9609
|
+
collapseLeftSideNav = (e) => {
|
|
9610
|
+
this.luigi.getEngine()._connector?.collapseLeftSideNav(e);
|
|
9611
|
+
};
|
|
9608
9612
|
openUserSettings = async () => {
|
|
9609
9613
|
let e = this.luigi.getConfigValue("userSettings");
|
|
9610
9614
|
if (!e) return;
|
|
@@ -11292,6 +11296,9 @@ var fc = {
|
|
|
11292
11296
|
}), e.addEventListener(V.ADD_NODE_PARAMS_REQUEST, (e) => {
|
|
11293
11297
|
let n = e.payload;
|
|
11294
11298
|
t.routing().addNodeParams(n.data, n.keepBrowserHistory);
|
|
11299
|
+
}), e.addEventListener(V.COLLAPSE_LEFT_NAV_REQUEST, (e) => {
|
|
11300
|
+
let n = e.payload;
|
|
11301
|
+
t.ux().collapseLeftSideNav(n.state);
|
|
11295
11302
|
}), e.addEventListener(V.OPEN_USER_SETTINGS_REQUEST, () => {
|
|
11296
11303
|
t.ux().openUserSettings();
|
|
11297
11304
|
}), e.addEventListener(V.CLOSE_USER_SETTINGS_REQUEST, () => {
|