@bootkit/ng0 0.0.0-alpha.42 → 0.0.0-alpha.43

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.
Files changed (64) hide show
  1. package/common/index.d.ts +30 -6
  2. package/components/accordion/index.d.ts +8 -8
  3. package/components/button/index.d.ts +10 -12
  4. package/components/card/index.d.ts +1 -5
  5. package/components/collapse/index.d.ts +4 -40
  6. package/components/confirmation/index.d.ts +14 -16
  7. package/components/dropdown/index.d.ts +3 -3
  8. package/components/list/index.d.ts +5 -5
  9. package/components/modal/index.d.ts +14 -10
  10. package/components/nav/index.d.ts +13 -15
  11. package/components/pagination/index.d.ts +7 -7
  12. package/components/popover/index.d.ts +6 -6
  13. package/components/sidenav/index.d.ts +17 -21
  14. package/components/stepper/index.d.ts +3 -4
  15. package/components/table/index.d.ts +29 -31
  16. package/components/toast/index.d.ts +14 -8
  17. package/components/tooltip/index.d.ts +18 -13
  18. package/components/vertical-menu/index.d.ts +78 -37
  19. package/fesm2022/bootkit-ng0-components-accordion.mjs +5 -5
  20. package/fesm2022/bootkit-ng0-components-accordion.mjs.map +1 -1
  21. package/fesm2022/bootkit-ng0-components-button.mjs +8 -12
  22. package/fesm2022/bootkit-ng0-components-button.mjs.map +1 -1
  23. package/fesm2022/bootkit-ng0-components-card.mjs +4 -10
  24. package/fesm2022/bootkit-ng0-components-card.mjs.map +1 -1
  25. package/fesm2022/bootkit-ng0-components-code.mjs.map +1 -1
  26. package/fesm2022/bootkit-ng0-components-collapse.mjs +15 -123
  27. package/fesm2022/bootkit-ng0-components-collapse.mjs.map +1 -1
  28. package/fesm2022/bootkit-ng0-components-confirmation.mjs +15 -25
  29. package/fesm2022/bootkit-ng0-components-confirmation.mjs.map +1 -1
  30. package/fesm2022/bootkit-ng0-components-dropdown.mjs.map +1 -1
  31. package/fesm2022/bootkit-ng0-components-list.mjs.map +1 -1
  32. package/fesm2022/bootkit-ng0-components-modal.mjs +13 -11
  33. package/fesm2022/bootkit-ng0-components-modal.mjs.map +1 -1
  34. package/fesm2022/bootkit-ng0-components-nav.mjs +7 -14
  35. package/fesm2022/bootkit-ng0-components-nav.mjs.map +1 -1
  36. package/fesm2022/bootkit-ng0-components-pagination.mjs.map +1 -1
  37. package/fesm2022/bootkit-ng0-components-popover.mjs.map +1 -1
  38. package/fesm2022/bootkit-ng0-components-sidenav.mjs +50 -43
  39. package/fesm2022/bootkit-ng0-components-sidenav.mjs.map +1 -1
  40. package/fesm2022/bootkit-ng0-components-stepper.mjs +6 -33
  41. package/fesm2022/bootkit-ng0-components-stepper.mjs.map +1 -1
  42. package/fesm2022/bootkit-ng0-components-table.mjs +23 -29
  43. package/fesm2022/bootkit-ng0-components-table.mjs.map +1 -1
  44. package/fesm2022/bootkit-ng0-components-toast.mjs +59 -81
  45. package/fesm2022/bootkit-ng0-components-toast.mjs.map +1 -1
  46. package/fesm2022/bootkit-ng0-components-tooltip.mjs +54 -60
  47. package/fesm2022/bootkit-ng0-components-tooltip.mjs.map +1 -1
  48. package/fesm2022/bootkit-ng0-components-vertical-menu.mjs +168 -97
  49. package/fesm2022/bootkit-ng0-components-vertical-menu.mjs.map +1 -1
  50. package/fesm2022/bootkit-ng0-http.mjs +22 -30
  51. package/fesm2022/bootkit-ng0-http.mjs.map +1 -1
  52. package/fesm2022/bootkit-ng0-layouts-layout1.mjs +1 -1
  53. package/fesm2022/bootkit-ng0-layouts-layout1.mjs.map +1 -1
  54. package/fesm2022/bootkit-ng0-security.mjs +46 -30
  55. package/fesm2022/bootkit-ng0-security.mjs.map +1 -1
  56. package/fesm2022/bootkit-ng0-utils.mjs +49 -2
  57. package/fesm2022/bootkit-ng0-utils.mjs.map +1 -1
  58. package/http/index.d.ts +10 -10
  59. package/package.json +5 -9
  60. package/security/index.d.ts +17 -11
  61. package/utils/index.d.ts +22 -1
  62. package/components/backdrop/index.d.ts +0 -12
  63. package/fesm2022/bootkit-ng0-components-backdrop.mjs +0 -46
  64. package/fesm2022/bootkit-ng0-components-backdrop.mjs.map +0 -1
package/common/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, TrackByFunction } from '@angular/core';
3
+ import { IsActiveMatchOptions } from '@angular/router';
3
4
  import { Observable } from 'rxjs';
4
5
 
5
6
  declare const RTL: InjectionToken<boolean>;
@@ -21,6 +22,7 @@ interface ClaimObject {
21
22
  *
22
23
  */
23
24
  type ClaimLike = string | ClaimObject;
25
+ type ShowCondition = ClaimObject | 'set' | 'unset';
24
26
 
25
27
  type Placement = 'start' | 'end' | 'top' | 'bottom';
26
28
  type Alignment = 'start' | 'center' | 'end';
@@ -40,20 +42,42 @@ declare function flipPlacement(placement: Placement): "start" | "end" | "top" |
40
42
  declare function formatString(str: string, ...args: any[]): string;
41
43
 
42
44
  /** Menu item */
43
- interface MenuItem {
45
+ interface MenuItemBase {
44
46
  type?: string;
45
47
  id?: any;
46
- disabled?: boolean;
47
- active?: boolean;
48
48
  show?: boolean;
49
49
  claim?: ClaimLike;
50
- parent?: MenuItem;
50
+ cssClass?: string;
51
+ data?: any;
52
+ }
53
+ interface NodeMenuItem {
54
+ type?: 'node';
55
+ disabled?: boolean;
51
56
  text?: string;
52
- expanded?: boolean;
53
57
  icon?: string;
58
+ expanded?: boolean;
54
59
  children?: MenuItem[];
55
60
  routerLink?: string | string[];
61
+ routerLinkActiveOptions?: {
62
+ exact: boolean;
63
+ } | IsActiveMatchOptions;
64
+ href?: string;
65
+ target?: '_blank' | '_parent' | '_self' | '_top';
66
+ tag?: string;
67
+ tagCssClass?: string | string[];
68
+ }
69
+ interface HeaderMenuItem {
70
+ type: 'header';
71
+ disabled?: boolean;
72
+ text?: string;
73
+ icon?: string;
74
+ tag?: string;
75
+ tagCssClass?: string | string[];
76
+ }
77
+ interface DividerMenuItem extends MenuItemBase {
78
+ type: 'divider';
56
79
  }
80
+ type MenuItem = NodeMenuItem | HeaderMenuItem | DividerMenuItem;
57
81
 
58
82
  /**
59
83
  * Converts a value to an Observable.
@@ -273,4 +297,4 @@ declare class IfDirective {
273
297
  }
274
298
 
275
299
  export { CssClassAttribute, IdGeneratorAttribute, IfDirective, RTL, TrackByAttribute, comparerAttribute, defaultComparer, defaultEqualityComparer, defaultFilter, defaultValueWriter, deleteEntries, equalityComparerAttribute, filterPredicateAttribute, flipPlacement, formatString, getEnumValues, noopFilter, numberArray, sequentialIdGenerator, toObservable, trackByIndex, trackByItem, valueWriterAttribute };
276
- export type { Alignment, ClaimLike, ClaimObject, Comparer, ComparerLike, CssClass, CssClassGetter, CssClassLike, EqualityComparer, EqualityComparerLike, FilterPredicate, FilterPredicateLike, IdGenerator, IdGeneratorLike, MenuItem, Placement, TrackByLike, ValueWriter, ValueWriterLike };
300
+ export type { Alignment, ClaimLike, ClaimObject, Comparer, ComparerLike, CssClass, CssClassGetter, CssClassLike, DividerMenuItem, EqualityComparer, EqualityComparerLike, FilterPredicate, FilterPredicateLike, HeaderMenuItem, IdGenerator, IdGeneratorLike, MenuItem, MenuItemBase, NodeMenuItem, Placement, ShowCondition, TrackByLike, ValueWriter, ValueWriterLike };
@@ -2,32 +2,32 @@ import * as i0 from '@angular/core';
2
2
  import { QueryList } from '@angular/core';
3
3
 
4
4
  declare class AccordionItemComponent {
5
- private _element;
6
- private _renderer;
7
- private _accordion;
5
+ private readonly _element;
6
+ private readonly _renderer;
7
+ private readonly _accordion;
8
8
  /**
9
9
  * The header text of the accordion item.
10
10
  */
11
- header: i0.InputSignal<string | undefined>;
11
+ readonly header: i0.InputSignal<string | undefined>;
12
12
  /**
13
13
  * Whether the accordion item is collapsed or expanded.
14
14
  */
15
- collapsed: i0.ModelSignal<boolean>;
15
+ readonly collapsed: i0.ModelSignal<boolean>;
16
16
  constructor();
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
18
18
  static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "ng0-accordion-item", ["ng0AccordionItem"], { "header": { "alias": "header"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, { "collapsed": "collapsedChange"; }, never, ["*"], true, never>;
19
19
  }
20
20
 
21
21
  declare class AccordionComponent {
22
+ private _element;
23
+ private _renderer;
22
24
  /**
23
25
  * The mode of the accordion - 'single' or 'multiple'.
24
26
  * 'single' mode allows only one item to be expanded at a time.
25
27
  * 'multiple' mode allows multiple items to be expanded simultaneously.
26
28
  */
27
- mode: i0.InputSignal<"single" | "multiple">;
29
+ readonly mode: i0.InputSignal<"single" | "multiple">;
28
30
  readonly items: QueryList<AccordionItemComponent>;
29
- private _element;
30
- private _renderer;
31
31
  constructor();
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
33
33
  static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ng0-accordion", ["ng0Accordion"], { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
@@ -1,39 +1,37 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, OnDestroy } from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
3
 
4
- declare class ButtonDirective implements OnInit, OnDestroy {
4
+ declare class ButtonDirective implements OnInit {
5
5
  private _loadingElement;
6
+ private _element;
7
+ private _renderer;
8
+ private _http;
9
+ private _destroyRef;
6
10
  /**
7
11
  * The IDs of the HTTP requests that this button listens to.
8
12
  * If one of these requests is in progress, it will show a loading indicator or will be disabled based on 'showLoading' and 'disableOnLoading' properties.
9
13
  */
10
- request: i0.InputSignal<string | string[] | undefined>;
14
+ readonly request: i0.InputSignal<string | string[] | undefined>;
11
15
  /**
12
16
  * Whether the button is disabled or not.
13
17
  */
14
- disabled: i0.ModelSignal<boolean>;
18
+ readonly disabled: i0.ModelSignal<boolean>;
15
19
  /**
16
20
  * Whether to wait for the HTTP response before enabling the button again.
17
21
  * If true, the button will remain disabled until the HTTP request completes.
18
22
  * This is useful for preventing multiple clicks while waiting for a response.
19
23
  * Default is true.
20
24
  */
21
- disableDuringRequest: i0.InputSignalWithTransform<boolean, unknown>;
25
+ readonly disableDuringRequest: i0.InputSignalWithTransform<boolean, unknown>;
22
26
  /**
23
27
  * Whether to show a loading indicator when the HTTP request is in progress.
24
28
  * If true, a loading spinner will be displayed on the button while the request is being processed.
25
29
  * Default is true.
26
30
  */
27
- loadingIndicator: i0.InputSignalWithTransform<boolean, unknown>;
28
- private _element;
29
- private _renderer;
30
- private _http;
31
- private _destroyRef;
32
- constructor();
31
+ readonly loadingIndicator: i0.InputSignalWithTransform<boolean, unknown>;
33
32
  ngOnInit(): void;
34
33
  private _showLoading;
35
34
  private _hideLoading;
36
- ngOnDestroy(): void;
37
35
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>;
38
36
  static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "button[ng0Button], a[ng0Button], input[type=button][ng0Button], input[type=submit][ng0Button], input[type=reset][ng0Button]", ["ng0Button"], { "request": { "alias": "request"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "disableDuringRequest": { "alias": "disableDuringRequest"; "required": false; "isSignal": true; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; }, never, never, true, never>;
39
37
  }
@@ -1,19 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, Renderer2 } from '@angular/core';
3
2
 
4
3
  declare class CardComponent {
5
- header: i0.InputSignal<string | undefined>;
6
4
  private _element;
7
5
  private _renderer;
6
+ readonly header: i0.InputSignal<string | undefined>;
8
7
  constructor();
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
10
9
  static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ng0-card", ["ng0Card"], { "header": { "alias": "header"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
11
10
  }
12
11
 
13
12
  declare class CardHeaderComponent {
14
- private _element;
15
- private _renderer;
16
- constructor(_element: ElementRef, _renderer: Renderer2);
17
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderComponent, never>;
18
14
  static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "ng0-card-header", ["ng0CardHeader"], {}, {}, never, ["*"], true, never>;
19
15
  }
@@ -1,35 +1,4 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, OnDestroy } from '@angular/core';
3
-
4
- /**
5
- * Directive to handle the collapse and expand functionality of a host element.
6
- */
7
- declare class CollapseDirective implements OnInit, OnDestroy {
8
- /**
9
- * Indicates whether the host element is collapsed.
10
- * @input
11
- */
12
- collapsed: i0.InputSignal<boolean>;
13
- /** Animation timings for collapse/expand animations.
14
- * @input
15
- */
16
- timings: i0.InputSignal<string | number>;
17
- private _player?;
18
- private _firstExecution;
19
- private _el;
20
- private _animationBuilder;
21
- private _renderer;
22
- constructor();
23
- ngOnInit(): void;
24
- private _collapse;
25
- private _expand;
26
- private _playAnimation;
27
- private _addClass;
28
- private _removeClass;
29
- ngOnDestroy(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapseDirective, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<CollapseDirective, "[ng0Collapse]", ["ng0Collapse"], { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "timings": { "alias": "timings"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
32
- }
33
2
 
34
3
  /**
35
4
  * A component that provides collapse and expand functionality.
@@ -39,20 +8,15 @@ declare class CollapseComponent {
39
8
  * Indicates whether the host element is collapsed.
40
9
  * @model
41
10
  */
42
- collapsed: i0.ModelSignal<boolean>;
43
- /** Animation timings for collapse/expand animations.
44
- * @input
45
- */
46
- timings: i0.InputSignal<string | number>;
47
- private get _collapseExpand();
11
+ readonly collapsed: i0.InputSignal<boolean>;
48
12
  static ɵfac: i0.ɵɵFactoryDeclaration<CollapseComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<CollapseComponent, "ng0-collapse", never, { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "timings": { "alias": "timings"; "required": false; "isSignal": true; }; }, { "collapsed": "collapsedChange"; }, never, ["*"], true, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<CollapseComponent, "ng0-collapse", never, { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
50
14
  }
51
15
 
52
16
  declare class CollapseModule {
53
17
  static ɵfac: i0.ɵɵFactoryDeclaration<CollapseModule, never>;
54
- static ɵmod: i0.ɵɵNgModuleDeclaration<CollapseModule, never, [typeof CollapseDirective, typeof CollapseComponent], [typeof CollapseDirective, typeof CollapseComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CollapseModule, never, [typeof CollapseComponent], [typeof CollapseComponent]>;
55
19
  static ɵinj: i0.ɵɵInjectorDeclaration<CollapseModule>;
56
20
  }
57
21
 
58
- export { CollapseComponent, CollapseDirective, CollapseModule };
22
+ export { CollapseComponent, CollapseModule };
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, EventEmitter } from '@angular/core';
3
3
  import * as rxjs from 'rxjs';
4
- import { DialogRef, Dialog } from '@angular/cdk/dialog';
4
+ import { DialogRef } from '@angular/cdk/dialog';
5
5
 
6
6
  interface ConfirmationConfig {
7
7
  message?: string;
@@ -37,23 +37,14 @@ declare class ConfirmationComponent implements OnInit {
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "ng0-confirmation", ["ng0Confirmation"], {}, {}, never, never, true, never>;
38
38
  }
39
39
 
40
- declare class ConfirmationService {
41
- private dialog;
42
- constructor(dialog: Dialog);
43
- open(config?: ConfirmationConfig): ConfirmationRef;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
45
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
46
- }
47
-
48
40
  declare class ConfirmationDirective {
49
- private confirmationService;
50
- config?: ConfirmationConfig;
51
- confirm: EventEmitter<ConfirmationRef>;
52
- cancel: EventEmitter<ConfirmationRef>;
53
- constructor(confirmationService: ConfirmationService);
54
- private _onClick;
41
+ private _confirmationService;
42
+ readonly config: i0.InputSignal<ConfirmationConfig | undefined>;
43
+ readonly confirm: EventEmitter<ConfirmationRef>;
44
+ readonly cancel: EventEmitter<ConfirmationRef>;
45
+ protected _onClick(): void;
55
46
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDirective, never>;
56
- static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmationDirective, "[ng0Confirmation]", ["ng0Confirmation"], { "config": { "alias": "config"; "required": false; }; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, never, true, never>;
47
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmationDirective, "[ng0Confirmation]", ["ng0Confirmation"], { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, never, true, never>;
57
48
  }
58
49
 
59
50
  declare class ConfirmationModule {
@@ -62,5 +53,12 @@ declare class ConfirmationModule {
62
53
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmationModule>;
63
54
  }
64
55
 
56
+ declare class ConfirmationService {
57
+ private _dialog;
58
+ open(config?: ConfirmationConfig): ConfirmationRef;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
60
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
61
+ }
62
+
65
63
  export { ConfirmationComponent, ConfirmationDirective, ConfirmationModule, ConfirmationRef, ConfirmationService };
66
64
  export type { ConfirmationConfig };
@@ -84,7 +84,7 @@ declare class DropdownComponent {
84
84
  * Toggle the dropdown open or closed.
85
85
  */
86
86
  toggle(): void;
87
- private _onDocumentClick;
87
+ protected _onDocumentClick(e: MouseEvent): void;
88
88
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownComponent, never>;
89
89
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownComponent, "ng0-dropdown", ["ng0Dropdown"], { "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "defaultStyle": { "alias": "defaultStyle"; "required": false; "isSignal": true; }; "toggleCss": { "alias": "toggleCss"; "required": false; "isSignal": true; }; "splitCss": { "alias": "splitCss"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "split": { "alias": "split"; "required": false; "isSignal": true; }; "autoClose": { "alias": "autoClose"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "toggleClick": "toggleClick"; }, ["_dropdownMenu"], ["*", "ng0-dropdown-menu"], true, never>;
90
90
  }
@@ -110,7 +110,7 @@ declare class DropdownItemComponent {
110
110
  * Whether the dropdown item is disabled.
111
111
  */
112
112
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
113
- private _onClick;
113
+ protected _onClick(e: MouseEvent): void;
114
114
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownItemComponent, never>;
115
115
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownItemComponent, "ng0-dropdown-item", ["ng0DropdownItem"], { "cssClass": { "alias": "cssClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
116
116
  }
@@ -136,7 +136,7 @@ declare class DropdownLinkComponent {
136
136
  * Whether the dropdown link is disabled.
137
137
  */
138
138
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
139
- private _onClick;
139
+ protected _onClick(e: MouseEvent): void;
140
140
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownLinkComponent, never>;
141
141
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownLinkComponent, "ng0-dropdown-link", ["ng0DropdownLink"], { "link": { "alias": "link"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
142
142
  }
@@ -62,7 +62,7 @@ declare class ListItem {
62
62
  * Sets focus on the item.
63
63
  */
64
64
  focus(): void;
65
- private _getTabIndex;
65
+ protected _getTabIndex(): 0 | -1 | undefined;
66
66
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItem, never>;
67
67
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ListItem, "ng0-list-item", ["ng0ListItem"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
68
68
  }
@@ -222,10 +222,10 @@ declare class ListComponent implements ControlValueAccessor {
222
222
  private _updateSelectedItems;
223
223
  private _activateFirstSelectedItem;
224
224
  private _updateValue;
225
- private _hostAriaActiveDescendant;
226
- private _hostTabIndex;
227
- private _onHostBlur;
228
- private _onKeydown;
225
+ protected _hostAriaActiveDescendant: _angular_core.Signal<any>;
226
+ protected _hostTabIndex: _angular_core.Signal<0 | undefined>;
227
+ protected _onHostBlur(): void;
228
+ protected _onKeydown(e: KeyboardEvent): void;
229
229
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListComponent, never>;
230
230
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListComponent, "ng0-list, ng0-select-list", ["ng0List"], { "source": { "alias": "source"; "required": true; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showSelectionIndicator": { "alias": "showSelectionIndicator"; "required": false; "isSignal": true; }; "compareBy": { "alias": "compareBy"; "required": false; "isSignal": true; }; "formatBy": { "alias": "formatBy"; "required": false; "isSignal": true; }; "writeBy": { "alias": "writeBy"; "required": false; "isSignal": true; }; "filterBy": { "alias": "filterBy"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "itemClass": { "alias": "itemClass"; "required": false; "isSignal": true; }; "focusMode": { "alias": "focusMode"; "required": false; "isSignal": true; }; "idGenerator": { "alias": "idGenerator"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; }, ["_itemTemplate"], never, true, never>;
231
231
  }
@@ -7,35 +7,38 @@ interface ModalCloseRequest {
7
7
  }
8
8
 
9
9
  declare class ModalComponent {
10
+ protected readonly _modalStatic: _angular_core.WritableSignal<boolean>;
11
+ /**
12
+ * Is modal open?
13
+ */
14
+ readonly open: _angular_core.InputSignalWithTransform<boolean, unknown>;
10
15
  /**
11
16
  * Is modal scrollable?
12
17
  */
13
- scrollable: _angular_core.InputSignal<boolean>;
18
+ readonly scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
14
19
  /** Is modal vertically centered? */
15
- centered: _angular_core.InputSignal<boolean>;
20
+ readonly centered: _angular_core.InputSignalWithTransform<boolean, unknown>;
16
21
  /**
17
22
  * Size of the modal.
18
23
  */
19
- size: _angular_core.InputSignal<"sm" | "default" | "lg" | "xl">;
24
+ readonly size: _angular_core.InputSignal<"sm" | "default" | "lg" | "xl">;
20
25
  /**
21
26
  * Is modal fullscreen?
22
27
  */
23
- fullscreen: _angular_core.InputSignal<"sm" | "lg" | "xl" | "always" | "md" | "xxl" | undefined>;
28
+ readonly fullscreen: _angular_core.InputSignal<"sm" | "lg" | "xl" | "always" | "md" | "xxl" | undefined>;
24
29
  /**
25
30
  * Emitted when user clicks the backdrop or presses the escape key.
26
31
  */
27
- closeRequest: EventEmitter<ModalCloseRequest>;
32
+ readonly closeRequest: EventEmitter<ModalCloseRequest>;
28
33
  /**
29
34
  * Emitted when the backdrop is clicked.
30
35
  */
31
- backdropClick: EventEmitter<Event>;
32
- protected _modalStatic: _angular_core.WritableSignal<boolean>;
33
- constructor();
36
+ readonly backdropClick: EventEmitter<Event>;
34
37
  protected _onBackdropClick(event: MouseEvent): void;
35
- private _onDocumentKeyDown;
38
+ protected _onDocumentKeyDown(event: KeyboardEvent): void;
36
39
  private _shakeModal;
37
40
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent, never>;
38
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ng0-modal", ["ng0Modal"], { "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "centered": { "alias": "centered"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; }, { "closeRequest": "closeRequest"; "backdropClick": "backdropClick"; }, never, ["*"], true, never>;
41
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ng0-modal", ["ng0Modal"], { "open": { "alias": "open"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "centered": { "alias": "centered"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; }, { "closeRequest": "closeRequest"; "backdropClick": "backdropClick"; }, never, ["*"], true, never>;
39
42
  }
40
43
 
41
44
  declare class ModalModule {
@@ -45,3 +48,4 @@ declare class ModalModule {
45
48
  }
46
49
 
47
50
  export { ModalComponent, ModalModule };
51
+ export type { ModalCloseRequest };
@@ -5,16 +5,26 @@ declare class NavDirective {
5
5
  /**
6
6
  * The active item.
7
7
  */
8
- activeItem: i0.ModelSignal<any>;
8
+ readonly activeItem: i0.ModelSignal<any>;
9
9
  /**
10
10
  * Whether the navigation is disabled.
11
11
  */
12
- disabled: i0.InputSignal<boolean>;
13
- constructor();
12
+ readonly disabled: i0.InputSignal<boolean>;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NavDirective, never>;
15
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<NavDirective, "[ng0Nav]", ["ng0Nav"], { "activeItem": { "alias": "activeItem"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "activeItem": "activeItemChange"; }, never, never, true, never>;
16
15
  }
17
16
 
17
+ declare class NavLinkDirective {
18
+ private _nav;
19
+ private _navItem;
20
+ elementRef: ElementRef<any>;
21
+ protected _onClick(): void;
22
+ protected get _active(): boolean;
23
+ protected get _disabled(): boolean;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavLinkDirective, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NavLinkDirective, "[ng0NavLink]", ["ng0NavLink"], {}, {}, never, never, true, never>;
26
+ }
27
+
18
28
  declare class NavItemDirective {
19
29
  elementRef: ElementRef;
20
30
  id: i0.InputSignal<any>;
@@ -24,18 +34,6 @@ declare class NavItemDirective {
24
34
  static ɵdir: i0.ɵɵDirectiveDeclaration<NavItemDirective, "[ng0NavItem]", ["ng0NavItem"], { "id": { "alias": "ng0NavItem"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
25
35
  }
26
36
 
27
- declare class NavLinkDirective {
28
- elementRef: ElementRef;
29
- private _nav;
30
- private _navItem;
31
- constructor(elementRef: ElementRef, _nav: NavDirective, _navItem: NavItemDirective);
32
- private _onClick;
33
- private get _active();
34
- private get _disabled();
35
- static ɵfac: i0.ɵɵFactoryDeclaration<NavLinkDirective, never>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<NavLinkDirective, "[ng0NavLink]", ["ng0NavLink"], {}, {}, never, never, true, never>;
37
- }
38
-
39
37
  declare class NavContentDirective {
40
38
  templateRef: TemplateRef<any>;
41
39
  id: i0.InputSignal<any>;
@@ -5,30 +5,30 @@ declare class PaginationComponent {
5
5
  /**
6
6
  * Total number of records.
7
7
  */
8
- totalRecords: _angular_core.InputSignal<number>;
8
+ readonly totalRecords: _angular_core.InputSignal<number>;
9
9
  /**
10
10
  * Page size. Number of items in each page.
11
11
  */
12
- pageSize: _angular_core.InputSignal<number>;
12
+ readonly pageSize: _angular_core.InputSignal<number>;
13
13
  /**
14
14
  * Zero-based index of the selected page.
15
15
  */
16
- selectedPage: _angular_core.InputSignal<number>;
16
+ readonly selectedPage: _angular_core.InputSignal<number>;
17
17
  /**
18
18
  * Maximum number of visible pages.
19
19
  * Default is 10.
20
20
  */
21
- maxVisiblePages: _angular_core.InputSignal<number>;
21
+ readonly maxVisiblePages: _angular_core.InputSignal<number>;
22
22
  /**
23
23
  * Show first and last buttons.
24
24
  * Default is true.
25
25
  */
26
- showNextPreviousButtons: _angular_core.InputSignal<boolean | undefined>;
26
+ readonly showNextPreviousButtons: _angular_core.InputSignal<boolean | undefined>;
27
27
  /**
28
28
  * Show first and last buttons.
29
29
  * Default is true.
30
30
  */
31
- showFirstLastButtons: _angular_core.InputSignal<boolean | undefined>;
31
+ readonly showFirstLastButtons: _angular_core.InputSignal<boolean | undefined>;
32
32
  /**
33
33
  * Total number of pages.
34
34
  * This is a computed property based on totalRecords and pageSize.
@@ -39,7 +39,7 @@ declare class PaginationComponent {
39
39
  * Emits the selected page index when a page is clicked.
40
40
  * The index starts from 1.
41
41
  */
42
- itemClick: EventEmitter<number>;
42
+ readonly itemClick: EventEmitter<number>;
43
43
  protected _totalPagesCount: number;
44
44
  protected _visiblePages: _angular_core.Signal<number[]>;
45
45
  _onPageChange(pageIndex: number): void;
@@ -22,12 +22,12 @@ declare class PopoverDirective implements OnInit, OnDestroy {
22
22
  private _disposeOverlay;
23
23
  private _toggleOverlay;
24
24
  private _getPositions;
25
- private _onClick;
26
- private _onDblclick;
27
- private _onMouseEnter;
28
- private _onMouseLeave;
29
- private _onFocus;
30
- private _onFocusout;
25
+ protected _onClick(): void;
26
+ protected _onDblclick(): void;
27
+ protected _onMouseEnter(): void;
28
+ protected _onMouseLeave(): void;
29
+ protected _onFocus(): void;
30
+ protected _onFocusout(): void;
31
31
  ngOnDestroy(): void;
32
32
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverDirective, never>;
33
33
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[ng0Popover]", ["ng0Popover"], { "header": { "alias": "header"; "required": false; "isSignal": true; }; "content": { "alias": "ng0Popover"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "triggerBy": { "alias": "triggerBy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -19,10 +19,10 @@ type SidenavSize = number | string | 'small' | 'medium' | 'large' | 'full' | und
19
19
  */
20
20
  declare class SidenavComponent implements OnDestroy {
21
21
  private _bodyOverflowStyle?;
22
- private _sidenavContainer;
23
- private _vcr;
24
- private _renderer;
25
- private _backdropRef?;
22
+ private readonly _sidenavContainer;
23
+ private readonly _document;
24
+ private readonly _renderer;
25
+ private _backdropRef;
26
26
  private _backdropClickHandlerUnlisten?;
27
27
  private _platformId;
28
28
  protected _isPlatformServer: boolean;
@@ -31,7 +31,7 @@ declare class SidenavComponent implements OnDestroy {
31
31
  /**
32
32
  * Whether the sidenav is open.
33
33
  */
34
- open: i0.InputSignalWithTransform<boolean, unknown>;
34
+ readonly open: i0.InputSignalWithTransform<boolean, unknown>;
35
35
  /**
36
36
  * Sidenav mode.
37
37
  * Determines how the sidenav is displayed.
@@ -39,23 +39,23 @@ declare class SidenavComponent implements OnDestroy {
39
39
  * - 'push': The content is pushed aside to make room for the sidenav.
40
40
  * - 'over': The sidenav is displayed on top of the content.
41
41
  */
42
- mode: i0.InputSignal<SidenavMode>;
42
+ readonly mode: i0.InputSignal<SidenavMode>;
43
43
  /**
44
44
  * Whether the sidenav has a backdrop.
45
45
  * The backdrop is shown only when the sidenav is open and mode is 'over'.
46
46
  */
47
- hasBackdrop: i0.InputSignalWithTransform<boolean, unknown>;
47
+ readonly hasBackdrop: i0.InputSignalWithTransform<boolean, unknown>;
48
48
  /**
49
49
  * Sidenav z-index.
50
50
  * Determines the stack order of the sidenav.
51
51
  */
52
- zIndex: i0.InputSignalWithTransform<number, unknown>;
52
+ readonly zIndex: i0.InputSignalWithTransform<number, unknown>;
53
53
  /**
54
54
  * Sidenav position.
55
55
  * Determines the position of the sidenav.
56
56
  * Can be either 'start', 'end', 'top', or 'bottom'.
57
57
  */
58
- position: i0.InputSignal<SidenavPosition>;
58
+ readonly position: i0.InputSignal<SidenavPosition>;
59
59
  /**
60
60
  * Sidenav size.
61
61
  * Determines the size of the sidenav.
@@ -64,16 +64,16 @@ declare class SidenavComponent implements OnDestroy {
64
64
  * @example
65
65
  * - 100, '300px', '50%', '50vh', 'small', 'full', ...
66
66
  */
67
- size: i0.InputSignal<SidenavSize>;
67
+ readonly size: i0.InputSignal<SidenavSize>;
68
68
  /**
69
69
  * Whether the sidenav is fixed in the viewport.
70
70
  */
71
- fixedInViewport: i0.InputSignalWithTransform<boolean, unknown>;
72
- elmentRef: ElementRef<any>;
71
+ readonly fixedInViewport: i0.InputSignalWithTransform<boolean, unknown>;
72
+ readonly elmentRef: ElementRef<any>;
73
73
  /**
74
74
  * Emits when the backdrop is clicked.
75
75
  */
76
- backdropClick: EventEmitter<PointerEvent>;
76
+ readonly backdropClick: EventEmitter<PointerEvent>;
77
77
  constructor();
78
78
  _getFixedSize(): string | undefined;
79
79
  private _observeResize;
@@ -88,20 +88,16 @@ declare class SidenavComponent implements OnDestroy {
88
88
  * Sidenav container component
89
89
  */
90
90
  declare class SidenavContainerComponent implements AfterViewInit {
91
- private _platformId;
92
- protected _isPlatformServer: boolean;
91
+ private readonly _platformId;
92
+ protected readonly _isPlatformServer: boolean;
93
93
  protected _isTransitionEnabled: boolean;
94
94
  protected _sidenavs: QueryList<SidenavComponent>;
95
- /**
96
- * Emitted when the backdrop is clicked.
97
- */
98
- backdropClick: EventEmitter<any>;
99
- changeDetectorRef: ChangeDetectorRef;
95
+ readonly changeDetectorRef: ChangeDetectorRef;
100
96
  protected _getPadding(position: SidenavPosition): string | undefined;
101
97
  ngAfterViewInit(): void;
102
98
  protected _canComputePadding(): boolean;
103
99
  static ɵfac: i0.ɵɵFactoryDeclaration<SidenavContainerComponent, never>;
104
- static ɵcmp: i0.ɵɵComponentDeclaration<SidenavContainerComponent, "ng0-sidenav-container", never, {}, { "backdropClick": "backdropClick"; }, ["_sidenavs"], ["ng0-sidenav-content", "*"], true, never>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidenavContainerComponent, "ng0-sidenav-container", never, {}, {}, ["_sidenavs"], ["ng0-sidenav-content", "*"], true, never>;
105
101
  }
106
102
 
107
103
  /**
@@ -3,16 +3,15 @@ import { TemplateRef, QueryList } from '@angular/core';
3
3
 
4
4
  declare class StepDirective {
5
5
  readonly templateRef: TemplateRef<any>;
6
- id: i0.InputSignal<any>;
6
+ readonly id: i0.InputSignal<any>;
7
7
  constructor(templateRef: TemplateRef<any>);
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<StepDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<StepDirective, "[ng0Step]", ["ng0Step"], { "id": { "alias": "iscStep"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StepDirective, "[ng0Step]", ["ng0Step"], { "id": { "alias": "ng0Step"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
10
10
  }
11
11
 
12
12
  declare class StepperComponent {
13
- step: i0.ModelSignal<any>;
13
+ readonly step: i0.ModelSignal<any>;
14
14
  protected _steps: QueryList<StepDirective>;
15
- constructor();
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
17
16
  static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ng0-stepper", ["ng0Stepper"], { "step": { "alias": "step"; "required": true; "isSignal": true; }; }, { "step": "stepChange"; }, ["_steps"], never, true, never>;
18
17
  }