@luigi-project/core-modular 0.0.19-dev.202610160047 → 0.0.19-dev.202610170048

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.202610160047"
21
+ "version": "0.0.19-dev.202610170048"
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,20 @@ export declare const RoutingHelpers: {
243
243
  */
244
244
  parseParams(paramsString: string): Record<string, string>;
245
245
  getModalParamsFromPath(luigi: Luigi): any;
246
+ /**
247
+ * Returns only the modal settings that may be persisted in the bookmarkable
248
+ * `modalParams` query string. Everything else is dropped so non-bookmarkable
249
+ * settings never leak into the URL:
250
+ * - `nodeParams` are already serialized onto the modal path
251
+ * - `closebtn_data_testid` is a rendering-only detail
252
+ *
253
+ * `keepPrevious` is only kept when truthy (its default/false state is noise).
254
+ * Properties are copied by explicit name (no computed property writes) to
255
+ * avoid remote property injection. Returns a shallow copy; the input is left untouched.
256
+ * @param {ModalSettings} modalParams modal settings about to be written to the URL
257
+ * @returns {Partial<ModalSettings>} a copy containing only the bookmarkable properties
258
+ */
259
+ getBookmarkableModalParams(modalParams: ModalSettings): Partial<ModalSettings>;
246
260
  /**
247
261
  * Get the query param separator which is used with hashRouting
248
262
  * Default: