@luigi-project/core-modular 0.0.19-dev.202610151412 → 0.0.19-dev.202610151915

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 CHANGED
@@ -18,5 +18,5 @@
18
18
  "micro-frontends",
19
19
  "microfrontends"
20
20
  ],
21
- "version": "0.0.19-dev.202610151412"
21
+ "version": "0.0.19-dev.202610151915"
22
22
  }
@@ -1,6 +1,6 @@
1
1
  import { FeatureToggles } from '../../core-api/feature-toggles';
2
2
  import { Luigi } from '../../core-api/luigi';
3
- import { Node, PathData } from '../../types/navigation';
3
+ import { Node, PathData, ModalSettings } from '../../types/navigation';
4
4
  export declare const RoutingHelpers: {
5
5
  defaultContentViewParamPrefix: string;
6
6
  defaultQueryParamSeparator: string;
@@ -243,6 +243,16 @@ export declare const RoutingHelpers: {
243
243
  */
244
244
  parseParams(paramsString: string): Record<string, string>;
245
245
  getModalParamsFromPath(luigi: Luigi): any;
246
+ /**
247
+ * Strip modal settings that must not be persisted in the URL.
248
+ * `nodeParams` are already serialized onto the modal path, and
249
+ * `closebtn_data_testid` is a rendering-only detail; neither belongs in the
250
+ * bookmarkable `modalParams` query string. Returns a shallow copy; the input
251
+ * is left untouched.
252
+ * @param {ModalSettings} modalParams modal settings about to be written to the URL
253
+ * @returns {ModalSettings} a copy without the non-bookmarkable properties
254
+ */
255
+ getBookmarkableModalParams(modalParams: ModalSettings): ModalSettings;
246
256
  /**
247
257
  * Get the query param separator which is used with hashRouting
248
258
  * Default: