spiderly 19.10.1 → 19.11.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.
@@ -160,8 +160,6 @@ export declare class SpiderlyDataTableComponent implements OnInit, AfterViewInit
160
160
  private static isActiveFilterMeta;
161
161
  private persistColumnVisibility;
162
162
  private restoreColumnVisibility;
163
- /** Parses a JSON entry from web storage; missing or corrupted entries read as null. */
164
- private static readStoredJson;
165
163
  /**
166
164
  * PrimeNG's persisted table state (filters/sort/pagination), read directly from storage
167
165
  * because we need it before PrimeNG's restoreState() runs on the first [value] change.
@@ -25,6 +25,12 @@ export declare class LayoutServiceBase implements OnDestroy {
25
25
  protected apiService: ApiSecurityService;
26
26
  protected config: ConfigServiceBase;
27
27
  protected authService: AuthServiceBase;
28
+ /**
29
+ * Only the desktop collapse persists across reloads (a durable preference,
30
+ * like the data table's column layout); the rest of LayoutState is
31
+ * deliberately transient.
32
+ */
33
+ private static readonly menuDesktopInactiveKey;
28
34
  userSubscription: Subscription;
29
35
  layoutConfig: AppConfig;
30
36
  state: LayoutState;
@@ -0,0 +1,4 @@
1
+ /** Parses a JSON entry from web storage; missing or corrupted entries read as null. */
2
+ export declare function readStoredJson(storage: Storage, key: string): any;
3
+ /** Writes a value to web storage as JSON; the counterpart of readStoredJson. */
4
+ export declare function writeStoredJson(storage: Storage, key: string, value: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spiderly",
3
- "version": "19.10.1",
3
+ "version": "19.11.0",
4
4
  "author": "Filip Trivan",
5
5
  "license": "MIT",
6
6
  "description": "Spiderly Angular Library to use in combination with Spiderly.",