@luigi-project/client 2.32.1-dev.20261150033 → 2.33.0

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.
@@ -24,6 +24,7 @@ export declare interface ModalSettings {
24
24
  height?: string;
25
25
  keepPrevious?: boolean;
26
26
  closebtn_data_testid?: string;
27
+ showModalPathInUrl?: boolean;
27
28
  }
28
29
 
29
30
  export declare interface SplitViewSettings {
@@ -192,7 +192,7 @@ class Helpers {
192
192
 
193
193
  const helpers = new Helpers();
194
194
 
195
- var version = "2.32.0";
195
+ var version = "2.33.0";
196
196
 
197
197
  /**
198
198
  * @summary Use the functions and parameters to define the Lifecycle of listeners, navigation nodes, and Event data.
@@ -1023,6 +1023,7 @@ let linkManager$1 = class linkManager extends LuigiClientBase {
1023
1023
  * @param {string} modalSettings.height - updates the `height` of the modal. Allowed units are 'px', '%', 'rem', 'em', 'vh' and 'vw'.
1024
1024
  * @param {boolean} modalSettings.keepPrevious - lets you open multiple modals. Keeps the previously opened modal and allows to open another modal on top of the previous one. By default the previous modals are discarded.
1025
1025
  * @param {string} modalSettings.closebtn_data_testid - lets you specify a `data_testid` for the close button. Default value is `lui-modal-index-0`. If multiple modals are opened the index will be increased per modal.
1026
+ * @param {boolean} [modalSettings.showModalPathInUrl] - overrides `routing.showModalPathInUrl` for this modal. Set to `false` to prevent this modal from adding a browser history entry, regardless of the global config.
1026
1027
  * @param {Object} splitViewSettings - opens a view in a split view. Use these settings to configure the split view's behaviour
1027
1028
  * @param {string} splitViewSettings.title - split view title. By default, it is the node label. If there is no label, it is left empty
1028
1029
  * @param {number} [splitViewSettings.size=40] - height of the split view in percent
@@ -1140,6 +1141,7 @@ let linkManager$1 = class linkManager extends LuigiClientBase {
1140
1141
  * @param {string} modalSettings.height - updates the `height` of the modal. Allowed units are 'px', '%', 'rem', 'em', 'vh' and 'vw'
1141
1142
  * @param {boolean} modalSettings.keepPrevious - lets you open multiple modals. Keeps the previously opened modal and allows to open another modal on top of the previous one. By default the previous modals are discarded
1142
1143
  * @param {string} modalSettings.closebtn_data_testid - lets you specify a `data_testid` for the close button. Default value is `lui-modal-index-0`. If multiple modals are opened the index will be increased per modal
1144
+ * @param {boolean} [modalSettings.showModalPathInUrl] - overrides `routing.showModalPathInUrl` for this modal. Set to `false` to prevent adding a browser history entry, regardless of the global config
1143
1145
  * @returns {promise} which is resolved when closing the modal. By using LuigiClient.linkManager().goBack({ foo: 'bar' }) to close the modal you have access to the `goBackContext` when the promise will be resolved.
1144
1146
  * @example
1145
1147
  * LuigiClient.linkManager().openAsModal('projects/pr1/users', {title:'Users', size:'m'}).then((res) => {