@lucca-front/ng 21.0.0-rc.4 → 21.0.0-rc.6

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 (141) hide show
  1. package/app-layout/index.d.ts +1 -1
  2. package/box/index.d.ts +3 -3
  3. package/breadcrumbs/index.d.ts +3 -3
  4. package/button/index.d.ts +26 -21
  5. package/callout/index.d.ts +65 -57
  6. package/chip/index.d.ts +1 -1
  7. package/code/index.d.ts +1 -1
  8. package/comment/index.d.ts +11 -14
  9. package/core/index.d.ts +10 -7
  10. package/core-select/index.d.ts +6 -4
  11. package/core-select/user/index.d.ts +3 -2
  12. package/data-table/index.d.ts +1 -1
  13. package/dialog/index.d.ts +65 -48
  14. package/empty-state/index.d.ts +23 -26
  15. package/fancy-box/index.d.ts +11 -10
  16. package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
  17. package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
  18. package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-button.mjs +59 -90
  20. package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-callout.mjs +96 -130
  22. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-chip.mjs +1 -1
  24. package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
  26. package/fesm2022/lucca-front-ng-comment.mjs +14 -34
  27. package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
  28. package/fesm2022/lucca-front-ng-core-select-api.mjs +3 -3
  29. package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
  30. package/fesm2022/lucca-front-ng-core-select-user.mjs +14 -11
  31. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  32. package/fesm2022/lucca-front-ng-core-select.mjs +15 -21
  33. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  34. package/fesm2022/lucca-front-ng-core.mjs +6 -4
  35. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  36. package/fesm2022/lucca-front-ng-data-table.mjs +15 -15
  37. package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
  38. package/fesm2022/lucca-front-ng-date2.mjs +1 -1
  39. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  40. package/fesm2022/lucca-front-ng-dialog.mjs +96 -95
  41. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  42. package/fesm2022/lucca-front-ng-empty-state.mjs +27 -68
  43. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  44. package/fesm2022/lucca-front-ng-establishment.mjs +2 -2
  45. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  46. package/fesm2022/lucca-front-ng-fancy-box.mjs +14 -28
  47. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  48. package/fesm2022/lucca-front-ng-file-upload.mjs +1 -1
  49. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  50. package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
  51. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  52. package/fesm2022/lucca-front-ng-form-field.mjs +2 -2
  53. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  54. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +15 -17
  55. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  56. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +6 -6
  57. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  58. package/fesm2022/lucca-front-ng-forms.mjs +99 -187
  59. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  60. package/fesm2022/lucca-front-ng-icon.mjs +14 -19
  61. package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
  62. package/fesm2022/lucca-front-ng-index-table.mjs +1 -1
  63. package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
  64. package/fesm2022/lucca-front-ng-inline-message.mjs +15 -22
  65. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  66. package/fesm2022/lucca-front-ng-link.mjs +27 -61
  67. package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
  68. package/fesm2022/lucca-front-ng-mobile-push.mjs +4 -8
  69. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  70. package/fesm2022/lucca-front-ng-modal.mjs +3 -3
  71. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  72. package/fesm2022/lucca-front-ng-multi-select.mjs +1 -1
  73. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  74. package/fesm2022/lucca-front-ng-new-badge.mjs +7 -11
  75. package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
  76. package/fesm2022/lucca-front-ng-numeric-badge.mjs +40 -39
  77. package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
  78. package/fesm2022/lucca-front-ng-option.mjs +1 -1
  79. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  80. package/fesm2022/lucca-front-ng-plg-push.mjs +8 -17
  81. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  82. package/fesm2022/lucca-front-ng-popover2.mjs +2 -2
  83. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  84. package/fesm2022/lucca-front-ng-scroll-box.mjs +26 -24
  85. package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
  86. package/fesm2022/lucca-front-ng-scroll.mjs +19 -29
  87. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
  88. package/fesm2022/lucca-front-ng-simple-select.mjs +1 -1
  89. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  90. package/fesm2022/lucca-front-ng-skeleton.mjs +24 -40
  91. package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
  92. package/fesm2022/lucca-front-ng-status-badge.mjs +1 -1
  93. package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
  94. package/fesm2022/lucca-front-ng-tag.mjs +31 -42
  95. package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
  96. package/fesm2022/lucca-front-ng-time.mjs +8 -18
  97. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  98. package/fesm2022/lucca-front-ng-toast.mjs +55 -60
  99. package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
  100. package/fesm2022/lucca-front-ng-tooltip.mjs +85 -108
  101. package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
  102. package/fesm2022/lucca-front-ng-user-popover.mjs +2 -2
  103. package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
  104. package/fesm2022/lucca-front-ng-user.mjs +58 -96
  105. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  106. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +6 -6
  107. package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
  108. package/forms/index.d.ts +54 -62
  109. package/forms/phone-number-input/index.d.ts +13 -13
  110. package/icon/index.d.ts +10 -10
  111. package/index-table/index.d.ts +1 -1
  112. package/inline-message/index.d.ts +9 -11
  113. package/link/index.d.ts +12 -17
  114. package/mobile-push/index.d.ts +5 -6
  115. package/new-badge/index.d.ts +2 -3
  116. package/numeric-badge/index.d.ts +14 -11
  117. package/package.json +33 -37
  118. package/plg-push/index.d.ts +6 -8
  119. package/read-more/index.d.ts +1 -1
  120. package/schematics/collection.json +10 -0
  121. package/schematics/color-text/index.js +55 -0
  122. package/schematics/color-text/migration.spec.js +50 -0
  123. package/schematics/color-text/schema.json +23 -0
  124. package/schematics/lib/angular-component-ast.js +29 -0
  125. package/schematics/lu-text-input/index.js +24 -0
  126. package/schematics/lu-text-input/migration.js +116 -0
  127. package/schematics/lu-text-input/migration.spec.js +23 -0
  128. package/schematics/lu-text-input/schema.json +23 -0
  129. package/scroll/index.d.ts +20 -22
  130. package/scroll-box/index.d.ts +6 -5
  131. package/skeleton/index.d.ts +27 -32
  132. package/src/components/cdk/_global.scss +22 -1
  133. package/tag/index.d.ts +17 -15
  134. package/time/index.d.ts +5 -5
  135. package/toast/index.d.ts +23 -25
  136. package/tooltip/index.d.ts +35 -41
  137. package/user/index.d.ts +24 -32
  138. package/vertical-navigation/index.d.ts +16 -16
  139. package/fesm2022/lucca-front-ng-scrollBox.mjs +0 -6
  140. package/fesm2022/lucca-front-ng-scrollBox.mjs.map +0 -1
  141. package/scrollBox/index.d.ts +0 -1
package/scroll/index.d.ts CHANGED
@@ -1,43 +1,41 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, ElementRef, EventEmitter } from '@angular/core';
3
- import { Observable } from 'rxjs';
1
+ import * as _angular_core from '@angular/core';
2
+ import { OutputEmitterRef, OnInit, ElementRef } from '@angular/core';
4
3
 
5
4
  interface ILuScrollable {
6
- onScroll: Observable<Event>;
7
- onScrollTop: Observable<Event>;
8
- onScrollBottom: Observable<Event>;
9
- onScrollLeft: Observable<Event>;
10
- onScrollRight: Observable<Event>;
5
+ onScroll: OutputEmitterRef<Event>;
6
+ onScrollTop: OutputEmitterRef<Event>;
7
+ onScrollBottom: OutputEmitterRef<Event>;
8
+ onScrollLeft: OutputEmitterRef<Event>;
9
+ onScrollRight: OutputEmitterRef<Event>;
11
10
  }
12
11
 
13
12
  /**
14
13
  * emits on scroll events
15
14
  */
16
15
  declare class LuScrollDirective implements ILuScrollable, OnInit {
16
+ #private;
17
17
  protected _elementRef: ElementRef<HTMLElement>;
18
- debounceTime: number;
19
- onScroll: EventEmitter<Event>;
20
- onScrollTop: EventEmitter<Event>;
21
- onScrollBottom: EventEmitter<Event>;
22
- onScrollLeft: EventEmitter<Event>;
23
- onScrollRight: EventEmitter<Event>;
24
- private scrollSubject;
25
- private scroll$;
26
- _scroll($event: Event): void;
18
+ readonly debounceTime: _angular_core.InputSignal<number>;
19
+ readonly onScroll: _angular_core.OutputEmitterRef<Event>;
20
+ readonly onScrollTop: _angular_core.OutputEmitterRef<Event>;
21
+ readonly onScrollBottom: _angular_core.OutputEmitterRef<Event>;
22
+ readonly onScrollLeft: _angular_core.OutputEmitterRef<Event>;
23
+ readonly onScrollRight: _angular_core.OutputEmitterRef<Event>;
24
+ scroll(event: Event): void;
27
25
  ngOnInit(): void;
28
26
  private emitScrollEvents;
29
27
  constructor(_elementRef: ElementRef<HTMLElement>);
30
- static ɵfac: i0.ɵɵFactoryDeclaration<LuScrollDirective, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<LuScrollDirective, "[luScroll]", ["luScroll"], { "debounceTime": { "alias": "debounceTime"; "required": false; }; }, { "onScroll": "onScroll"; "onScrollTop": "onScrollTop"; "onScrollBottom": "onScrollBottom"; "onScrollLeft": "onScrollLeft"; "onScrollRight": "onScrollRight"; }, never, never, true, never>;
28
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuScrollDirective, never>;
29
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuScrollDirective, "[luScroll]", ["luScroll"], { "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "onScroll": "onScroll"; "onScrollTop": "onScrollTop"; "onScrollBottom": "onScrollBottom"; "onScrollLeft": "onScrollLeft"; "onScrollRight": "onScrollRight"; }, never, never, true, never>;
32
30
  }
33
31
 
34
32
  /**
35
33
  * @deprecated use `LuScrollDirective` instead
36
34
  */
37
35
  declare class LuScrollModule {
38
- static ɵfac: i0.ɵɵFactoryDeclaration<LuScrollModule, never>;
39
- static ɵmod: i0.ɵɵNgModuleDeclaration<LuScrollModule, never, [typeof LuScrollDirective], [typeof LuScrollDirective]>;
40
- static ɵinj: i0.ɵɵInjectorDeclaration<LuScrollModule>;
36
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuScrollModule, never>;
37
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuScrollModule, never, [typeof LuScrollDirective], [typeof LuScrollDirective]>;
38
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuScrollModule>;
41
39
  }
42
40
 
43
41
  export { LuScrollDirective, LuScrollModule };
@@ -1,15 +1,16 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, ElementRef } from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
3
 
4
4
  declare class ScrollBoxComponent implements OnInit {
5
- first: _angular_core.Signal<ElementRef<HTMLElement>>;
6
- last: _angular_core.Signal<ElementRef<HTMLElement>>;
5
+ #private;
7
6
  isFirstVisible: _angular_core.WritableSignal<boolean>;
8
7
  isLastVisible: _angular_core.WritableSignal<boolean>;
9
- initObserver(element: Element, isFirst: boolean): void;
8
+ vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
9
+ scroll(): void;
10
+ constructor();
10
11
  ngOnInit(): void;
11
12
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScrollBoxComponent, never>;
12
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScrollBoxComponent, "lu-scroll-box", never, {}, {}, never, ["*"], true, never>;
13
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScrollBoxComponent, "lu-scroll-box", never, { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
13
14
  }
14
15
 
15
16
  export { ScrollBoxComponent };
@@ -1,23 +1,21 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
 
3
3
  declare class SkeletonButtonComponent {
4
- dark: boolean;
5
- size: 'XS' | 'S' | 'M';
4
+ readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
5
+ readonly size: _angular_core.InputSignal<"XS" | "S" | "M">;
6
6
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonButtonComponent, never>;
7
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonButtonComponent, "lu-skeleton-button", never, { "dark": { "alias": "dark"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
8
- static ngAcceptInputType_dark: unknown;
7
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonButtonComponent, "lu-skeleton-button", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
8
  }
10
9
 
11
10
  declare class SkeletonDataTableComponent {
12
- dataTableBodyOnly: boolean;
13
- cols: _angular_core.InputSignal<number>;
14
- colsNumber: _angular_core.Signal<unknown[]>;
15
- rows: _angular_core.InputSignal<number>;
16
- rowsNumber: _angular_core.Signal<unknown[]>;
17
- getRandomPercent: (min?: number, max?: number) => string;
11
+ readonly dataTableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
12
+ readonly cols: _angular_core.InputSignal<number>;
13
+ readonly colsNumber: _angular_core.Signal<unknown[]>;
14
+ readonly rows: _angular_core.InputSignal<number>;
15
+ readonly rowsNumber: _angular_core.Signal<unknown[]>;
16
+ readonly getRandomPercent: (min?: number, max?: number) => string;
18
17
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonDataTableComponent, never>;
19
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonDataTableComponent, "lu-skeleton-data-table", never, { "dataTableBodyOnly": { "alias": "dataTableBodyOnly"; "required": false; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
20
- static ngAcceptInputType_dataTableBodyOnly: unknown;
18
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonDataTableComponent, "lu-skeleton-data-table", never, { "dataTableBodyOnly": { "alias": "dataTableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
21
19
  }
22
20
 
23
21
  declare class SkeletonFieldComponent {
@@ -25,40 +23,37 @@ declare class SkeletonFieldComponent {
25
23
  readonly hiddenLabel: _angular_core.InputSignalWithTransform<boolean, boolean | "false" | "true">;
26
24
  readonly rows: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
27
25
  readonly lines: _angular_core.Signal<unknown[]>;
28
- readonly getRandomPercent: (min?: number, max?: number) => number;
26
+ readonly getRandomPercent: (min?: number, max?: number) => string;
29
27
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonFieldComponent, never>;
30
28
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonFieldComponent, "lu-skeleton-field", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
31
29
  }
32
30
 
33
31
  declare class SkeletonHeaderComponent {
34
- dark: boolean;
32
+ readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
35
33
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonHeaderComponent, never>;
36
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonHeaderComponent, "lu-skeleton-header", never, { "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
37
- static ngAcceptInputType_dark: unknown;
34
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonHeaderComponent, "lu-skeleton-header", never, { "dark": { "alias": "dark"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
38
35
  }
39
36
 
40
37
  declare class SkeletonIndexTableComponent {
41
- tableBodyOnly: boolean;
42
- cols: _angular_core.InputSignal<number>;
43
- colsNumber: _angular_core.Signal<unknown[]>;
44
- rows: _angular_core.InputSignal<number>;
45
- rowsNumber: _angular_core.Signal<unknown[]>;
46
- getRandomPercent: (min?: number, max?: number) => string;
38
+ readonly tableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
39
+ readonly cols: _angular_core.InputSignal<number>;
40
+ readonly colsNumber: _angular_core.Signal<unknown[]>;
41
+ readonly rows: _angular_core.InputSignal<number>;
42
+ readonly rowsNumber: _angular_core.Signal<unknown[]>;
43
+ readonly getRandomPercent: (min?: number, max?: number) => string;
47
44
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonIndexTableComponent, never>;
48
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonIndexTableComponent, "lu-skeleton-index-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
49
- static ngAcceptInputType_tableBodyOnly: unknown;
45
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonIndexTableComponent, "lu-skeleton-index-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
50
46
  }
51
47
 
52
48
  declare class SkeletonTableComponent {
53
- tableBodyOnly: boolean;
54
- cols: _angular_core.InputSignal<number>;
55
- colsNumber: _angular_core.Signal<unknown[]>;
56
- rows: _angular_core.InputSignal<number>;
57
- rowsNumber: _angular_core.Signal<unknown[]>;
58
- getRandomPercent: (min?: number, max?: number) => string;
49
+ readonly tableBodyOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
50
+ readonly cols: _angular_core.InputSignal<number>;
51
+ readonly colsNumber: _angular_core.Signal<unknown[]>;
52
+ readonly rows: _angular_core.InputSignal<number>;
53
+ readonly rowsNumber: _angular_core.Signal<unknown[]>;
54
+ readonly randomPercent: string;
59
55
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonTableComponent, never>;
60
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonTableComponent, "lu-skeleton-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
61
- static ngAcceptInputType_tableBodyOnly: unknown;
56
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonTableComponent, "lu-skeleton-table", never, { "tableBodyOnly": { "alias": "tableBodyOnly"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
62
57
  }
63
58
 
64
59
  export { SkeletonButtonComponent, SkeletonDataTableComponent, SkeletonFieldComponent, SkeletonHeaderComponent, SkeletonIndexTableComponent, SkeletonTableComponent };
@@ -1,4 +1,22 @@
1
1
  @use '@lucca-front/scss/src/commons/utils/overflow';
2
+ @use '@lucca-front/scss/src/commons/utils/media';
3
+
4
+ @mixin stacked($level) {
5
+ $selector: '';
6
+ $string: '~ .cdk-global-overlay-wrapper';
7
+
8
+ @for $i from 1 through $level {
9
+ $selector: $selector + $string;
10
+ }
11
+
12
+ &:has(#{$selector}) {
13
+ .dialog {
14
+ &.mod-stacked {
15
+ --components-dialog-level: #{$level};
16
+ }
17
+ }
18
+ }
19
+ }
2
20
 
3
21
  .cdk-global-overlay-wrapper {
4
22
  block-size: 100%;
@@ -9,6 +27,10 @@
9
27
  display: flex;
10
28
  position: absolute;
11
29
  z-index: 1000;
30
+
31
+ @for $i from 1 through 3 {
32
+ @include stacked($i);
33
+ }
12
34
  }
13
35
 
14
36
  .cdk-global-scrollblock {
@@ -17,4 +39,3 @@
17
39
 
18
40
  @include overflow.scrollblock('!important');
19
41
  }
20
-
package/tag/index.d.ts CHANGED
@@ -3,37 +3,39 @@ import { LuccaIcon } from '@lucca-front/icons';
3
3
  import { Palette, DecorativePalette } from '@lucca-front/ng/core';
4
4
 
5
5
  declare class TagComponent {
6
- withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
7
- label: string;
8
6
  /**
9
- * Which size should the callout be? Defaults to medium
7
+ * Which text should the tag be? Defaults to medium
10
8
  */
11
- size: 'S' | 'M' | 'L';
9
+ readonly label: _angular_core.InputSignal<string>;
12
10
  /**
13
- * Which palette should be used for the entire callout.
11
+ * Which size should the tag be? Defaults to medium
12
+ */
13
+ readonly size: _angular_core.InputSignal<"S" | "M" | "L">;
14
+ /**
15
+ * Which palette should be used for the entire tag.
14
16
  * Defaults to none (inherits parent palette)
15
17
  */
16
- palette: Palette | DecorativePalette;
18
+ readonly palette: _angular_core.InputSignal<Palette | DecorativePalette>;
17
19
  /**
18
20
  * Should display be outlined?
19
21
  */
20
- outlined: boolean;
22
+ readonly outlined: _angular_core.InputSignalWithTransform<boolean, unknown>;
21
23
  /**
22
24
  * For routerLink usage
23
25
  */
24
- link: string;
26
+ readonly link: _angular_core.InputSignal<string>;
25
27
  /**
26
- * Which icon should we display in the callout if any?
28
+ * Which icon should we display in the tag if any?
27
29
  * Defaults to no icon.
28
30
  */
29
- icon: LuccaIcon | undefined;
30
- AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
31
- get tagClasses(): {
31
+ readonly icon: _angular_core.InputSignal<LuccaIcon>;
32
+ readonly withEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
33
+ readonly AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
34
+ readonly tagClasses: _angular_core.Signal<{
32
35
  [x: string]: boolean;
33
- };
36
+ }>;
34
37
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
35
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "withEllipsis": { "alias": "withEllipsis"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; }; "size": { "alias": "size"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "link": { "alias": "link"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
36
- static ngAcceptInputType_outlined: unknown;
38
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "outlined": { "alias": "outlined"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "withEllipsis": { "alias": "withEllipsis"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
37
39
  }
38
40
 
39
41
  export { TagComponent };
package/time/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { InjectionToken, ModelSignal, EventEmitter, ElementRef } from '@angular/core';
2
+ import { InjectionToken, ModelSignal, ElementRef } from '@angular/core';
3
3
  import { LuTranslation } from '@lucca-front/ng/core';
4
4
  import { ControlValueAccessor } from '@angular/forms';
5
5
 
@@ -28,10 +28,10 @@ declare class TimePickerPartComponent {
28
28
  hideValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
29
29
  disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
30
30
  focused: _angular_core.InputSignalWithTransform<boolean, unknown>;
31
- prevRequest: EventEmitter<void>;
32
- nextRequest: EventEmitter<void>;
33
- inputControlClick: EventEmitter<PickerControlDirection>;
34
- touched: EventEmitter<void>;
31
+ prevRequest: _angular_core.OutputEmitterRef<void>;
32
+ nextRequest: _angular_core.OutputEmitterRef<void>;
33
+ inputControlClick: _angular_core.OutputEmitterRef<PickerControlDirection>;
34
+ touched: _angular_core.OutputEmitterRef<void>;
35
35
  timePickerInput?: ElementRef<HTMLInputElement>;
36
36
  valueLabel: _angular_core.Signal<string | number>;
37
37
  protected inputId: string;
package/toast/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, OnDestroy } from '@angular/core';
2
+ import { InjectionToken } from '@angular/core';
3
3
  import { LuTranslation, PortalContent } from '@lucca-front/ng/core';
4
4
  import * as rxjs from 'rxjs';
5
- import { BehaviorSubject, Observable } from 'rxjs';
5
+ import { Observable, BehaviorSubject } from 'rxjs';
6
6
 
7
7
  declare const LU_TOAST_TRANSLATIONS: InjectionToken<LuTranslation<ILuToastLabel>>;
8
8
  interface ILuToastLabel {
@@ -33,33 +33,20 @@ interface LuToast extends LuToastInput {
33
33
  id: string;
34
34
  }
35
35
 
36
- declare class LuToastsService {
37
- toasts$: BehaviorSubject<LuToast[]>;
38
- addToast(toastInput: LuToastInput): LuToast;
39
- removeToast(toast: LuToast): void;
40
- isOnlyDismissibleManually({ duration }: LuToastInput): boolean;
41
- private getToast;
42
- private generateId;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<LuToastsService, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<LuToastsService>;
45
- }
46
-
47
- declare class LuToastsComponent implements OnDestroy {
48
- private toastsService;
49
- bottom: boolean;
50
- set sources(sources: Array<Observable<LuToastInput>>);
51
- toasts$: rxjs.BehaviorSubject<LuToast[]>;
52
- private destroy$;
53
- intl: ILuToastLabel;
54
- constructor(toastsService: LuToastsService);
55
- ngOnDestroy(): void;
56
- iconClassByToastType: Record<LuToastType, string>;
57
- paletteClassByToastType: Record<LuToastType, string>;
36
+ declare class LuToastsComponent {
37
+ #private;
38
+ readonly bottom: i0.InputSignal<boolean>;
39
+ readonly sources: i0.InputSignal<Observable<LuToastInput>[]>;
40
+ constructor();
41
+ readonly toasts$: rxjs.BehaviorSubject<LuToast[]>;
42
+ readonly intl: ILuToastLabel;
43
+ readonly iconClassByToastType: Record<LuToastType, string>;
44
+ readonly paletteClassByToastType: Record<LuToastType, string>;
58
45
  isStringPortalContent(message: PortalContent): message is string;
59
46
  removeToast(toast: LuToast): void;
60
47
  isOnlyDismissibleManually(toast: LuToast): boolean;
61
48
  static ɵfac: i0.ɵɵFactoryDeclaration<LuToastsComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<LuToastsComponent, "lu-toasts", never, { "bottom": { "alias": "bottom"; "required": false; }; "sources": { "alias": "sources"; "required": false; }; }, {}, never, never, true, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuToastsComponent, "lu-toasts", never, { "bottom": { "alias": "bottom"; "required": false; "isSignal": true; }; "sources": { "alias": "sources"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
63
50
  }
64
51
 
65
52
  /**
@@ -71,5 +58,16 @@ declare class LuToastsModule {
71
58
  static ɵinj: i0.ɵɵInjectorDeclaration<LuToastsModule>;
72
59
  }
73
60
 
61
+ declare class LuToastsService {
62
+ toasts$: BehaviorSubject<LuToast[]>;
63
+ addToast(toastInput: LuToastInput): LuToast;
64
+ removeToast(toast: LuToast): void;
65
+ isOnlyDismissibleManually({ duration }: LuToastInput): boolean;
66
+ private getToast;
67
+ private generateId;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuToastsService, never>;
69
+ static ɵprov: i0.ɵɵInjectableDeclaration<LuToastsService>;
70
+ }
71
+
74
72
  export { LU_TOAST_TRANSLATIONS, LuToastsComponent, LuToastsModule, LuToastsService, defaultToastDuration, luToastTranslations };
75
73
  export type { ILuToastLabel, LuToast, LuToastInput, LuToastType };
@@ -1,8 +1,8 @@
1
1
  import { AnimationTriggerMetadata } from '@angular/animations';
2
+ import * as _angular_core from '@angular/core';
3
+ import { DestroyRef, OnDestroy } from '@angular/core';
2
4
  import * as i2 from '@angular/cdk/overlay';
3
5
  import { HorizontalConnectionPos, VerticalConnectionPos, FlexibleConnectedPositionStrategyOrigin, OverlayRef } from '@angular/cdk/overlay';
4
- import * as i0 from '@angular/core';
5
- import { DestroyRef, Signal, AfterContentInit, OnDestroy } from '@angular/core';
6
6
  import { SafeHtml } from '@angular/platform-browser';
7
7
  import { Subject, Observable } from 'rxjs';
8
8
  import { LuPopoverPosition } from '@lucca-front/ng/popover';
@@ -10,54 +10,49 @@ import { LuPopoverPosition } from '@lucca-front/ng/popover';
10
10
  declare const luTransformTooltip: AnimationTriggerMetadata;
11
11
 
12
12
  declare class LuTooltipPanelComponent {
13
- destroyRef: DestroyRef;
14
- mouseEnter$: Subject<void>;
15
- mouseEnter(): void;
16
- mouseLeave$: Subject<void>;
17
- mouseLeave(): void;
18
- content: Signal<string | SafeHtml>;
19
- id: string;
20
- contentPositionClasses: Record<string, boolean>;
13
+ readonly destroyRef: DestroyRef;
14
+ readonly mouseEnter$: Subject<void>;
15
+ readonly mouseLeave$: Subject<void>;
16
+ readonly content: _angular_core.WritableSignal<string | SafeHtml>;
17
+ readonly id: _angular_core.WritableSignal<string>;
18
+ readonly contentPositionClasses: _angular_core.WritableSignal<Record<string, boolean>>;
21
19
  setPanelPosition(posX: HorizontalConnectionPos, posY: VerticalConnectionPos): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipPanelComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<LuTooltipPanelComponent, "lu-tooltip-panel", never, {}, {}, never, never, true, never>;
20
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipPanelComponent, never>;
21
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuTooltipPanelComponent, "lu-tooltip-panel", never, {}, {}, never, never, true, never>;
24
22
  }
25
23
 
26
24
  /**
27
25
  * @deprecated use `LuTooltipPanelComponent` instead
28
26
  */
29
27
  declare class LuTooltipPanelModule {
30
- static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipPanelModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<LuTooltipPanelModule, never, [typeof LuTooltipPanelComponent], [typeof LuTooltipPanelComponent]>;
32
- static ɵinj: i0.ɵɵInjectorDeclaration<LuTooltipPanelModule>;
28
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipPanelModule, never>;
29
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipPanelModule, never, [typeof LuTooltipPanelComponent], [typeof LuTooltipPanelComponent]>;
30
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuTooltipPanelModule>;
33
31
  }
34
32
 
35
- declare class LuTooltipTriggerDirective implements AfterContentInit, OnDestroy {
33
+ declare class LuTooltipTriggerDirective implements OnDestroy {
36
34
  #private;
37
- luTooltip: i0.InputSignal<string | SafeHtml>;
38
- set luTooltipEnterDelay(delay: number);
39
- set luTooltipLeaveDelay(delay: number);
40
- luTooltipDisabled: i0.InputSignalWithTransform<boolean, unknown>;
41
- luTooltipOnlyForDisplay: boolean;
42
- luTooltipPosition: LuPopoverPosition;
43
- luTooltipWhenEllipsis: i0.InputSignalWithTransform<boolean, unknown>;
44
- luTooltipAnchor: i0.InputSignal<FlexibleConnectedPositionStrategyOrigin>;
45
- resize$: Observable<void>;
46
- open$: Subject<void>;
47
- close$: Subject<void>;
35
+ readonly luTooltip: _angular_core.InputSignal<string | SafeHtml>;
36
+ readonly luTooltipEnterDelay: _angular_core.InputSignalWithTransform<number, unknown>;
37
+ readonly luTooltipLeaveDelay: _angular_core.InputSignalWithTransform<number, unknown>;
38
+ readonly luTooltipDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
39
+ readonly luTooltipOnlyForDisplay: _angular_core.InputSignalWithTransform<boolean, unknown>;
40
+ readonly luTooltipPosition: _angular_core.InputSignal<LuPopoverPosition>;
41
+ readonly luTooltipWhenEllipsis: _angular_core.InputSignalWithTransform<boolean, unknown>;
42
+ readonly luTooltipAnchor: _angular_core.InputSignal<FlexibleConnectedPositionStrategyOrigin>;
43
+ readonly id: _angular_core.InputSignal<string>;
44
+ readonly resize$: Observable<void>;
48
45
  onMouseEnter(): void;
49
46
  onMouseLeave(): void;
50
47
  onFocus(): void;
51
48
  onBlur(): void;
52
- _id: string;
53
- get ariaDescribedBy(): string;
49
+ readonly ariaDescribedBy: _angular_core.Signal<string>;
54
50
  overlayRef?: OverlayRef;
55
51
  constructor();
56
52
  ngOnDestroy(): void;
57
53
  private openTooltip;
58
54
  private closeTooltip;
59
55
  private setAccessibilityProperties;
60
- ngAfterContentInit(): void;
61
56
  private runOutsideZoneJS;
62
57
  /**********************
63
58
  *
@@ -67,29 +62,28 @@ declare class LuTooltipTriggerDirective implements AfterContentInit, OnDestroy {
67
62
  private legacyPositionBuilder;
68
63
  private invertVerticalPos;
69
64
  private invertHorizontalPos;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipTriggerDirective, never>;
71
- static ɵdir: i0.ɵɵDirectiveDeclaration<LuTooltipTriggerDirective, "[luTooltip]", ["luTooltip"], { "luTooltip": { "alias": "luTooltip"; "required": false; "isSignal": true; }; "luTooltipEnterDelay": { "alias": "luTooltipEnterDelay"; "required": false; }; "luTooltipLeaveDelay": { "alias": "luTooltipLeaveDelay"; "required": false; }; "luTooltipDisabled": { "alias": "luTooltipDisabled"; "required": false; "isSignal": true; }; "luTooltipOnlyForDisplay": { "alias": "luTooltipOnlyForDisplay"; "required": false; }; "luTooltipPosition": { "alias": "luTooltipPosition"; "required": false; }; "luTooltipWhenEllipsis": { "alias": "luTooltipWhenEllipsis"; "required": false; "isSignal": true; }; "luTooltipAnchor": { "alias": "luTooltipAnchor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
72
- static ngAcceptInputType_luTooltipEnterDelay: unknown;
73
- static ngAcceptInputType_luTooltipLeaveDelay: unknown;
74
- static ngAcceptInputType_luTooltipOnlyForDisplay: unknown;
65
+ requestClose(): void;
66
+ requestOpen(): void;
67
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipTriggerDirective, never>;
68
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuTooltipTriggerDirective, "[luTooltip]", ["luTooltip"], { "luTooltip": { "alias": "luTooltip"; "required": false; "isSignal": true; }; "luTooltipEnterDelay": { "alias": "luTooltipEnterDelay"; "required": false; "isSignal": true; }; "luTooltipLeaveDelay": { "alias": "luTooltipLeaveDelay"; "required": false; "isSignal": true; }; "luTooltipDisabled": { "alias": "luTooltipDisabled"; "required": false; "isSignal": true; }; "luTooltipOnlyForDisplay": { "alias": "luTooltipOnlyForDisplay"; "required": false; "isSignal": true; }; "luTooltipPosition": { "alias": "luTooltipPosition"; "required": false; "isSignal": true; }; "luTooltipWhenEllipsis": { "alias": "luTooltipWhenEllipsis"; "required": false; "isSignal": true; }; "luTooltipAnchor": { "alias": "luTooltipAnchor"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
75
69
  }
76
70
 
77
71
  /**
78
72
  * @deprecated use `LuTooltipTriggerDirective, OverlayModule` instead
79
73
  */
80
74
  declare class LuTooltipTriggerModule {
81
- static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipTriggerModule, never>;
82
- static ɵmod: i0.ɵɵNgModuleDeclaration<LuTooltipTriggerModule, never, [typeof LuTooltipTriggerDirective, typeof i2.OverlayModule], [typeof LuTooltipTriggerDirective]>;
83
- static ɵinj: i0.ɵɵInjectorDeclaration<LuTooltipTriggerModule>;
75
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipTriggerModule, never>;
76
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipTriggerModule, never, [typeof LuTooltipTriggerDirective, typeof i2.OverlayModule], [typeof LuTooltipTriggerDirective]>;
77
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuTooltipTriggerModule>;
84
78
  }
85
79
 
86
80
  /**
87
81
  * @deprecated use `LuTooltipTriggerDirective, OverlayModule, LuTooltipPanelComponent` instead
88
82
  */
89
83
  declare class LuTooltipModule {
90
- static ɵfac: i0.ɵɵFactoryDeclaration<LuTooltipModule, never>;
91
- static ɵmod: i0.ɵɵNgModuleDeclaration<LuTooltipModule, never, [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule], [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule]>;
92
- static ɵinj: i0.ɵɵInjectorDeclaration<LuTooltipModule>;
84
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuTooltipModule, never>;
85
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuTooltipModule, never, [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule], [typeof LuTooltipTriggerModule, typeof LuTooltipPanelModule]>;
86
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuTooltipModule>;
93
87
  }
94
88
 
95
89
  export { LuTooltipModule, LuTooltipPanelComponent, LuTooltipPanelModule, LuTooltipTriggerDirective, LuTooltipTriggerModule, luTransformTooltip };
package/user/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, PipeTransform, OnChanges, AfterViewInit, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, OnInit, OnDestroy, TemplateRef } from '@angular/core';
2
+ import { InjectionToken, PipeTransform, AfterViewInit, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, OnInit, OnDestroy, TemplateRef } from '@angular/core';
3
3
  import { EnumValue, LuTranslation, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuOnCloseSubscriber } from '@lucca-front/ng/core';
4
4
  import { Overlay } from '@angular/cdk/overlay';
5
5
  import { ControlValueAccessor, FormGroup } from '@angular/forms';
@@ -91,33 +91,27 @@ interface LuUserTileUserInput {
91
91
  */
92
92
  declare class LuUserTileComponent {
93
93
  #private;
94
- displayPictureFormat: LuDisplayInitials;
95
- private _user;
96
94
  /**
97
95
  * LuUserTileUserInput to display.
98
96
  */
99
- set user(user: LuUserTileUserInput);
100
- get user(): LuUserTileUserInput;
101
- private _displayFormat;
97
+ readonly user: i0.InputSignal<LuUserTileUserInput>;
102
98
  /**
103
99
  * User Display format.
104
100
  * It is set to 'LU_DEFAULT_DISPLAY_POLICY' by default
105
101
  */
106
- set displayFormat(displayFormat: LuDisplayFormat);
107
- get displayFormat(): LuDisplayFormat;
108
- private _role;
102
+ readonly displayFormat: i0.InputSignal<LuDisplayFormat>;
109
103
  /**
110
104
  * LuUserTileUserInput role to display
111
105
  */
112
- set role(role: string);
113
- get role(): string;
106
+ readonly role: i0.InputSignal<string>;
114
107
  /**
115
108
  * Which size should the user tile be? Defaults to medium
116
109
  */
117
- size: i0.InputSignal<"L" | "XS" | "S" | "M">;
110
+ readonly size: i0.InputSignal<"L" | "XS" | "S" | "M">;
111
+ readonly displayPictureFormat: i0.Signal<LuDisplayInitials>;
118
112
  constructor();
119
113
  static ɵfac: i0.ɵɵFactoryDeclaration<LuUserTileComponent, never>;
120
- static ɵcmp: i0.ɵɵComponentDeclaration<LuUserTileComponent, "lu-user-tile", never, { "user": { "alias": "user"; "required": false; }; "displayFormat": { "alias": "displayFormat"; "required": false; }; "role": { "alias": "role"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuUserTileComponent, "lu-user-tile", never, { "user": { "alias": "user"; "required": false; "isSignal": true; }; "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
121
115
  }
122
116
 
123
117
  /**
@@ -140,37 +134,35 @@ interface LuUserPictureUserInput {
140
134
  /**
141
135
  * Displays user's picture or a placeholder with his/her initials and random bg color'
142
136
  */
143
- declare class LuUserPictureComponent implements OnChanges {
137
+ declare class LuUserPictureComponent {
138
+ #private;
144
139
  /**
145
140
  * User Display format.
146
141
  * It is set to 'LU_DEFAULT_DISPLAY_POLICY' by default
147
142
  */
148
- displayFormat: LuDisplayInitials;
143
+ readonly displayFormat: i0.InputSignal<LuDisplayInitials>;
144
+ readonly user: i0.InputSignal<LuUserPictureUserInput>;
145
+ readonly AI: i0.InputSignalWithTransform<boolean, unknown>;
146
+ readonly size: i0.InputSignal<"L" | "XS" | "S" | "M" | "XL" | "XXL" | "XXXL">;
149
147
  /**
150
148
  * Image loading attribute
151
149
  * It is set to 'lazy' by default
152
150
  *
153
151
  * (more info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading)
154
152
  */
155
- imageLoadingAttribute: HTMLImageElement['loading'];
156
- /**
157
- * UserPictureUserInput whose picture you want to display.
158
- */
159
- private _user;
160
- set user(user: LuUserPictureUserInput);
161
- AI: i0.InputSignalWithTransform<boolean, unknown>;
162
- size: i0.InputSignal<"L" | "XS" | "S" | "M" | "XL" | "XXL" | "XXXL">;
163
- get user(): LuUserPictureUserInput;
164
- initials: string;
165
- hasPicture: boolean;
166
- pictureHref: string;
167
- style: {};
168
- modSize: i0.Signal<string>;
169
- ngOnChanges(): void;
153
+ readonly imageLoadingAttribute: i0.InputSignal<"eager" | "lazy">;
154
+ readonly initials: i0.Signal<string>;
155
+ readonly modSize: i0.Signal<string>;
156
+ readonly hasPicture: i0.WritableSignal<boolean>;
157
+ readonly pictureHref: i0.Signal<string>;
158
+ readonly style: i0.WritableSignal<{
159
+ 'background-color': string;
160
+ } | {
161
+ 'background-color'?: undefined;
162
+ }>;
170
163
  pictureError(): void;
171
- private getNameHue;
172
164
  static ɵfac: i0.ɵɵFactoryDeclaration<LuUserPictureComponent, never>;
173
- static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; }; "user": { "alias": "user"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
165
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
174
166
  }
175
167
 
176
168
  /**