@principal-ade/panel-layouts 0.2.4 → 0.2.5
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/dist/index.d.ts +33 -0
- package/dist/index.esm.js +694 -539
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -390,11 +390,32 @@ export declare function getGlobalCommandRegistry(): CommandRegistryService;
|
|
|
390
390
|
*/
|
|
391
391
|
export declare function getPanelCommands(): Command[];
|
|
392
392
|
|
|
393
|
+
/**
|
|
394
|
+
* Tool: Get Panel State
|
|
395
|
+
*
|
|
396
|
+
* Query the current state of a specific panel.
|
|
397
|
+
* Panels must implement a getState function to support this.
|
|
398
|
+
*/
|
|
399
|
+
export declare const getPanelStateTool: PanelTool;
|
|
400
|
+
|
|
393
401
|
/**
|
|
394
402
|
* Utility to extract parameter information for UI rendering.
|
|
395
403
|
*/
|
|
396
404
|
export declare function getToolParameterInfo(tool: RegisteredTool): ToolParameterInfo[];
|
|
397
405
|
|
|
406
|
+
/**
|
|
407
|
+
* Tool: Get Visible Panels
|
|
408
|
+
*
|
|
409
|
+
* Query which panels are currently visible and their state.
|
|
410
|
+
* Returns layout slot info including collapsed state and active panel IDs.
|
|
411
|
+
*/
|
|
412
|
+
export declare const getVisiblePanelsTool: PanelTool;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Layout action tools only (for selective registration).
|
|
416
|
+
*/
|
|
417
|
+
export declare const layoutActionTools: PanelTool[];
|
|
418
|
+
|
|
398
419
|
/**
|
|
399
420
|
* All layout tools exported as an array.
|
|
400
421
|
*
|
|
@@ -428,6 +449,13 @@ export declare const layoutToolsMetadata: {
|
|
|
428
449
|
tools: PanelTool[];
|
|
429
450
|
};
|
|
430
451
|
|
|
452
|
+
/**
|
|
453
|
+
* Tool: List Panels With State
|
|
454
|
+
*
|
|
455
|
+
* Get a list of all panels that support state queries.
|
|
456
|
+
*/
|
|
457
|
+
export declare const listPanelsWithStateTool: PanelTool;
|
|
458
|
+
|
|
431
459
|
/**
|
|
432
460
|
* Default localStorage-based persistence adapter for web applications
|
|
433
461
|
*/
|
|
@@ -774,6 +802,11 @@ export { ResponsiveConfigurablePanelLayout }
|
|
|
774
802
|
|
|
775
803
|
export { ResponsiveConfigurablePanelLayoutProps }
|
|
776
804
|
|
|
805
|
+
/**
|
|
806
|
+
* State query tools only (for selective registration).
|
|
807
|
+
*/
|
|
808
|
+
export declare const stateQueryTools: PanelTool[];
|
|
809
|
+
|
|
777
810
|
/**
|
|
778
811
|
* Tool: Switch Panel
|
|
779
812
|
*
|