spiderly 19.10.1 → 19.11.1
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/agent/docs/angular-customization/index.md +2 -0
- package/agent/docs/entity-design/index.md +18 -2
- package/agent/docs/entity-design/references/attributes.generated.md +0 -1
- package/agent/docs/mapper-customization/index.md +49 -27
- package/fesm2022/spiderly.mjs +26 -13
- package/fesm2022/spiderly.mjs.map +1 -1
- package/lib/components/spiderly-data-table/spiderly-data-table.component.d.ts +0 -2
- package/lib/services/app-layout.service.base.d.ts +6 -0
- package/lib/services/web-storage.d.ts +4 -0
- package/package.json +1 -1
|
@@ -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;
|