ngx-lite-form 1.3.6 → 1.3.8

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/index.d.ts CHANGED
@@ -476,6 +476,10 @@ interface LitePanelAction {
476
476
  * Adds a CSS modifier class `lite-panel__action--${variant}` to let consumers style the action button.
477
477
  */
478
478
  variant?: 'primary' | 'secondary' | 'danger';
479
+ /**
480
+ * Controls action interactivity. Use a boolean literal or return `true` from a function to disable.
481
+ */
482
+ disabled?: boolean | (() => boolean);
479
483
  }
480
484
  declare class LitePanel implements AfterViewInit, OnDestroy {
481
485
  title: _angular_core.InputSignal<string | null>;
@@ -505,6 +509,10 @@ declare class LitePanel implements AfterViewInit, OnDestroy {
505
509
  onBackdropClick(): void;
506
510
  onAction(action: LitePanelAction): void;
507
511
  getActionClasses(action: LitePanelAction): Record<string, boolean>;
512
+ isActionDisabled(action: LitePanelAction): boolean;
513
+ private shouldRespectComponentValidity;
514
+ private getComponentValidity;
515
+ private findFormGroup;
508
516
  private toCssLength;
509
517
  private isNilOrEmpty;
510
518
  ngAfterViewInit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-lite-form",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "A lightweight Angular form library with reusable input, textarea, select, multi-select, radio, checkbox, date picker and password components",
5
5
  "keywords": [
6
6
  "angular",