@luigi-project/core-modular 0.0.19-dev.202610151915 → 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/luigi.js +7 -2
- package/luigi.js.map +1 -1
- package/package.json +1 -1
- package/utilities/helpers/routing-helpers.d.ts +11 -7
package/package.json
CHANGED
|
@@ -244,15 +244,19 @@ export declare const RoutingHelpers: {
|
|
|
244
244
|
parseParams(paramsString: string): Record<string, string>;
|
|
245
245
|
getModalParamsFromPath(luigi: Luigi): any;
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
248
|
-
* `
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
* is
|
|
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.
|
|
252
256
|
* @param {ModalSettings} modalParams modal settings about to be written to the URL
|
|
253
|
-
* @returns {ModalSettings} a copy
|
|
257
|
+
* @returns {Partial<ModalSettings>} a copy containing only the bookmarkable properties
|
|
254
258
|
*/
|
|
255
|
-
getBookmarkableModalParams(modalParams: ModalSettings): ModalSettings
|
|
259
|
+
getBookmarkableModalParams(modalParams: ModalSettings): Partial<ModalSettings>;
|
|
256
260
|
/**
|
|
257
261
|
* Get the query param separator which is used with hashRouting
|
|
258
262
|
* Default:
|