@lucca-front/ng 22.1.0-rc.1 → 22.1.0-rc.2

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 (177) hide show
  1. package/README.md +1 -0
  2. package/fesm2022/lucca-front-ng-a11y.mjs +1 -0
  3. package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
  4. package/fesm2022/lucca-front-ng-activity-feed.mjs +15 -12
  5. package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
  6. package/fesm2022/lucca-front-ng-approbation-inbox.mjs +3 -3
  7. package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
  8. package/fesm2022/lucca-front-ng-box.mjs +1 -1
  9. package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
  10. package/fesm2022/lucca-front-ng-breadcrumbs.mjs +1 -1
  11. package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
  12. package/fesm2022/lucca-front-ng-bubble-icon.mjs +2 -2
  13. package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
  14. package/fesm2022/lucca-front-ng-callout.mjs +3 -3
  15. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  16. package/fesm2022/lucca-front-ng-chip.mjs +14 -7
  17. package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
  18. package/fesm2022/lucca-front-ng-clear.mjs +1 -1
  19. package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
  20. package/fesm2022/lucca-front-ng-core-select-api.mjs +42 -3
  21. package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
  22. package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +32 -9
  24. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +11 -0
  26. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -1
  28. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-core-select-user.mjs +32 -32
  30. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-core-select.mjs +309 -39
  32. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-data-table.mjs +22 -14
  34. package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
  35. package/fesm2022/lucca-front-ng-date.mjs +2 -4
  36. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  37. package/fesm2022/lucca-front-ng-date2.mjs +210 -107
  38. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-dialog.mjs +9 -4
  40. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  41. package/fesm2022/lucca-front-ng-dropdown.mjs +3 -0
  42. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-fancy-box.mjs +47 -24
  44. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-file-upload.mjs +6 -6
  46. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-filter-pills-core.mjs +55 -0
  48. package/fesm2022/lucca-front-ng-filter-pills-core.mjs.map +1 -0
  49. package/fesm2022/lucca-front-ng-filter-pills.mjs +119 -70
  50. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  51. package/fesm2022/lucca-front-ng-form-field.mjs +110 -28
  52. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  53. package/fesm2022/lucca-front-ng-form-label.mjs +2 -2
  54. package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
  55. package/fesm2022/lucca-front-ng-form.mjs +42 -5
  56. package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
  57. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +15 -13
  58. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  59. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +5 -2
  60. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -1
  61. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +61 -29
  62. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  63. package/fesm2022/lucca-front-ng-forms.mjs +23 -16
  64. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  65. package/fesm2022/lucca-front-ng-highlight-data.mjs +6 -7
  66. package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
  67. package/fesm2022/lucca-front-ng-impersonation.mjs +20 -5
  68. package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
  69. package/fesm2022/lucca-front-ng-index-table.mjs +13 -8
  70. package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
  71. package/fesm2022/lucca-front-ng-inline-message.mjs +1 -1
  72. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  73. package/fesm2022/lucca-front-ng-link.mjs +9 -4
  74. package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
  75. package/fesm2022/lucca-front-ng-listbox.mjs +3 -2
  76. package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
  77. package/fesm2022/lucca-front-ng-markdown.mjs +51 -0
  78. package/fesm2022/lucca-front-ng-markdown.mjs.map +1 -0
  79. package/fesm2022/lucca-front-ng-mobile-push.mjs +2 -2
  80. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  81. package/fesm2022/lucca-front-ng-modal.mjs +9 -4
  82. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  83. package/fesm2022/lucca-front-ng-multi-select.mjs +153 -48
  84. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  85. package/fesm2022/lucca-front-ng-option.mjs +6 -2
  86. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  87. package/fesm2022/lucca-front-ng-pagination.mjs +1 -1
  88. package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
  89. package/fesm2022/lucca-front-ng-picker.mjs.map +1 -1
  90. package/fesm2022/lucca-front-ng-plg-push.mjs +1 -1
  91. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  92. package/fesm2022/lucca-front-ng-popover2.mjs +21 -12
  93. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  94. package/fesm2022/lucca-front-ng-priority-levels.mjs +128 -0
  95. package/fesm2022/lucca-front-ng-priority-levels.mjs.map +1 -0
  96. package/fesm2022/lucca-front-ng-progress-stepper.mjs +2 -2
  97. package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
  98. package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
  99. package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
  100. package/fesm2022/lucca-front-ng-resource-card.mjs +2 -2
  101. package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
  102. package/fesm2022/lucca-front-ng-safe-content.mjs +43 -3
  103. package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
  104. package/fesm2022/lucca-front-ng-scroll-box.mjs +8 -4
  105. package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
  106. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +9 -4
  107. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
  108. package/fesm2022/lucca-front-ng-segmented-control.mjs +10 -5
  109. package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
  110. package/fesm2022/lucca-front-ng-select.mjs +1 -1
  111. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  112. package/fesm2022/lucca-front-ng-simple-select.mjs +71 -17
  113. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  114. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +1 -1
  115. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
  116. package/fesm2022/lucca-front-ng-software-icon.mjs +1 -1
  117. package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
  118. package/fesm2022/lucca-front-ng-status-badge.mjs +1 -1
  119. package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
  120. package/fesm2022/lucca-front-ng-time.mjs +1 -1
  121. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  122. package/fesm2022/lucca-front-ng-user-popover.mjs +3 -2
  123. package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
  124. package/package.json +17 -4
  125. package/schematics/collection.json +5 -0
  126. package/schematics/deprecated-resolver/index.js +1 -4
  127. package/schematics/file-upload/index.js +22 -0
  128. package/schematics/file-upload/migration.js +230 -0
  129. package/schematics/file-upload/migration.spec.js +56 -0
  130. package/schematics/file-upload/schema.json +23 -0
  131. package/schematics/lib/angular-component-ast.js +3 -1
  132. package/schematics/lib/deprecated-mapper.js +2 -10
  133. package/schematics/lib/html-ast.js +26 -0
  134. package/src/components/_listbox.scss +12 -6
  135. package/src/components/cdk/_overlay.scss +3 -1
  136. package/types/lucca-front-ng-activity-feed.d.ts +16 -10
  137. package/types/lucca-front-ng-approbation-inbox.d.ts +32 -25
  138. package/types/lucca-front-ng-box.d.ts +12 -6
  139. package/types/lucca-front-ng-breadcrumbs.d.ts +12 -7
  140. package/types/lucca-front-ng-chip.d.ts +16 -9
  141. package/types/lucca-front-ng-clear.d.ts +12 -8
  142. package/types/lucca-front-ng-core-select-api.d.ts +30 -1
  143. package/types/lucca-front-ng-core-select-establishment.d.ts +7 -0
  144. package/types/lucca-front-ng-core-select-job-qualification.d.ts +8 -0
  145. package/types/lucca-front-ng-core-select-user.d.ts +6 -0
  146. package/types/lucca-front-ng-core-select.d.ts +115 -7
  147. package/types/lucca-front-ng-data-table.d.ts +16 -10
  148. package/types/lucca-front-ng-date.d.ts +12 -10
  149. package/types/lucca-front-ng-date2.d.ts +46 -21
  150. package/types/lucca-front-ng-fancy-box.d.ts +29 -12
  151. package/types/lucca-front-ng-file-upload.d.ts +41 -36
  152. package/types/lucca-front-ng-filter-pills-core.d.ts +69 -0
  153. package/types/lucca-front-ng-filter-pills.d.ts +53 -69
  154. package/types/lucca-front-ng-form-field.d.ts +34 -5
  155. package/types/lucca-front-ng-form-label.d.ts +13 -8
  156. package/types/lucca-front-ng-form.d.ts +7 -1
  157. package/types/lucca-front-ng-forms-rich-text-input.d.ts +40 -35
  158. package/types/lucca-front-ng-forms.d.ts +36 -44
  159. package/types/lucca-front-ng-highlight-data.d.ts +1 -2
  160. package/types/lucca-front-ng-impersonation.d.ts +28 -10
  161. package/types/lucca-front-ng-index-table.d.ts +3 -1
  162. package/types/lucca-front-ng-link.d.ts +16 -7
  163. package/types/lucca-front-ng-markdown.d.ts +24 -0
  164. package/types/lucca-front-ng-mobile-push.d.ts +18 -12
  165. package/types/lucca-front-ng-multi-select.d.ts +10 -1
  166. package/types/lucca-front-ng-option.d.ts +8 -8
  167. package/types/lucca-front-ng-pagination.d.ts +15 -10
  168. package/types/lucca-front-ng-picker.d.ts +2 -2
  169. package/types/lucca-front-ng-plg-push.d.ts +12 -6
  170. package/types/lucca-front-ng-popover2.d.ts +7 -1
  171. package/types/lucca-front-ng-priority-levels.d.ts +44 -0
  172. package/types/lucca-front-ng-read-more.d.ts +13 -9
  173. package/types/lucca-front-ng-safe-content.d.ts +8 -2
  174. package/types/lucca-front-ng-segmented-control-tabs.d.ts +5 -1
  175. package/types/lucca-front-ng-segmented-control.d.ts +5 -1
  176. package/types/lucca-front-ng-select.d.ts +6 -6
  177. package/types/lucca-front-ng-simple-select.d.ts +5 -1
@@ -133,8 +133,8 @@ type LuOptionComparer<T> = (option1: T, option2: T) => boolean;
133
133
  declare abstract class ALuOptionPicker<T, O extends ILuOptionItem<T> = ILuOptionItem<T>> extends ALuPickerPanel<T> implements ILuOptionPickerPanel<T> {
134
134
  protected _subs: Subscription;
135
135
  onSelectValue: Observable<T | T[]>;
136
- protected _value: T | T[];
137
- setValue(value: T | T[]): void;
136
+ protected _value: T | T[] | undefined;
137
+ setValue(value: T | T[] | undefined): void;
138
138
  private __options$;
139
139
  protected get _options$(): Observable<O[]>;
140
140
  protected set _options$(options$: Observable<O[]>);
@@ -430,12 +430,12 @@ declare class LuTreeOptionOperatorModule {
430
430
  interface ILuOptionSelector<T> {
431
431
  multiple: boolean;
432
432
  onSelectValue: Observable<T | T[]>;
433
- setValue(value: T | T[]): void;
433
+ setValue(value: T | T[] | undefined): void;
434
434
  }
435
435
  declare abstract class ALuOptionSelector<T> implements ILuOptionSelector<T> {
436
436
  multiple: boolean;
437
437
  abstract onSelectValue: Observable<T | T[]>;
438
- abstract setValue(value: T | T[]): void;
438
+ abstract setValue(value: T | T[] | undefined): void;
439
439
  }
440
440
 
441
441
  type ILuTreeOptionSelector<T> = ILuOptionSelector<T>;
@@ -456,7 +456,7 @@ declare class LuOptionSelectAllComponent<T> extends ALuOptionOperator<T> impleme
456
456
  readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_option.ILuOptionSelectAllLabel, Partial<_lucca_front_ng_option.ILuOptionSelectAllLabel>>;
457
457
  selectAll(): void;
458
458
  deselectAll(): void;
459
- setValue(values: T | T[]): void;
459
+ setValue(values: T | T[] | undefined): void;
460
460
  static ɵfac: i0.ɵɵFactoryDeclaration<LuOptionSelectAllComponent<any>, never>;
461
461
  static ɵcmp: i0.ɵɵComponentDeclaration<LuOptionSelectAllComponent<any>, "lu-option-select-all", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
462
462
  }
@@ -491,7 +491,7 @@ declare class LuTreeOptionSelectAllComponent<T> extends ALuTreeOptionOperator<T>
491
491
  readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_option.ILuOptionSelectAllLabel, Partial<_lucca_front_ng_option.ILuOptionSelectAllLabel>>;
492
492
  selectAll(): void;
493
493
  deselectAll(): void;
494
- setValue(values: T | T[]): void;
494
+ setValue(values: T | T[] | undefined): void;
495
495
  private flattenTree;
496
496
  static ɵfac: i0.ɵɵFactoryDeclaration<LuTreeOptionSelectAllComponent<any>, never>;
497
497
  static ɵcmp: i0.ɵɵComponentDeclaration<LuTreeOptionSelectAllComponent<any>, "lu-tree-option-select-all", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -518,7 +518,7 @@ declare abstract class ALuOptionPickerAdvancedComponent<T, O extends ILuOptionIt
518
518
  onScrollBottom(): void;
519
519
  onOpen(): void;
520
520
  onClose(): void;
521
- setValue(value: T | T[]): void;
521
+ setValue(value: T | T[] | undefined): void;
522
522
  protected initOperators(): void;
523
523
  protected initSelectors(): void;
524
524
  ngAfterViewInit(): void;
@@ -603,7 +603,7 @@ declare abstract class ALuTreeOptionPickerAdvancedComponent<T, O extends ILuTree
603
603
  onScrollBottom(): void;
604
604
  onOpen(): void;
605
605
  onClose(): void;
606
- setValue(value: T | T[]): void;
606
+ setValue(value: T | T[] | undefined): void;
607
607
  protected initOperators(): void;
608
608
  protected initSelectors(): void;
609
609
  ngAfterViewInit(): void;
@@ -1,4 +1,7 @@
1
1
  import * as _angular_core from '@angular/core';
2
+ import { InjectionToken } from '@angular/core';
3
+ import * as _lucca_front_ng_pagination from '@lucca-front/ng/pagination';
4
+ import { LuTranslation } from '@lucca-front/ng/core';
2
5
 
3
6
  /**
4
7
  * Available PaginationComponent Mods
@@ -6,15 +9,8 @@ import * as _angular_core from '@angular/core';
6
9
  declare const PAGINATION_MOD: readonly ["default", "compact"];
7
10
  type PaginationMod = (typeof PAGINATION_MOD)[number];
8
11
 
9
- interface LuPaginationLabel {
10
- results: string;
11
- previous: string;
12
- next: string;
13
- resultsA11y: string;
14
- }
15
-
16
12
  declare class PaginationComponent {
17
- readonly intl: _angular_core.InputSignalWithTransform<LuPaginationLabel, Partial<LuPaginationLabel>>;
13
+ readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_pagination.LuPaginationLabel, Partial<_lucca_front_ng_pagination.LuPaginationLabel>>;
18
14
  /**
19
15
  * Disabled the previous page arrow
20
16
  */
@@ -52,5 +48,14 @@ declare class PaginationComponent {
52
48
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationComponent, "lu-pagination", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "isFirstPage": { "alias": "isFirstPage"; "required": false; "isSignal": true; }; "isLastPage": { "alias": "isLastPage"; "required": false; "isSignal": true; }; "from": { "alias": "from"; "required": false; "isSignal": true; }; "to": { "alias": "to"; "required": false; "isSignal": true; }; "itemsCount": { "alias": "itemsCount"; "required": false; "isSignal": true; }; "mod": { "alias": "mod"; "required": false; "isSignal": true; }; }, { "previousPage": "previousPage"; "nextPage": "nextPage"; }, never, never, true, never>;
53
49
  }
54
50
 
55
- export { PAGINATION_MOD, PaginationComponent };
56
- export type { PaginationMod };
51
+ declare const LU_PAGINATION_TRANSLATIONS: InjectionToken<LuTranslation<LuPaginationLabel>>;
52
+ interface LuPaginationLabel {
53
+ results: string;
54
+ previous: string;
55
+ next: string;
56
+ resultsA11y: string;
57
+ }
58
+ declare const luPaginationTranslations: LuTranslation<LuPaginationLabel>;
59
+
60
+ export { LU_PAGINATION_TRANSLATIONS, PAGINATION_MOD, PaginationComponent, luPaginationTranslations };
61
+ export type { LuPaginationLabel, PaginationMod };
@@ -15,12 +15,12 @@ declare interface ILuPickerPanel<T> extends ILuPopoverPanel {
15
15
  * called to tell the picker what's the current value
16
16
  * @param value
17
17
  */
18
- setValue(value: T | T[]): void;
18
+ setValue(value: T | T[] | undefined): void;
19
19
  }
20
20
  declare abstract class ALuPickerPanel<T> extends ALuPopoverPanel implements ILuPickerPanel<T> {
21
21
  multiple: boolean;
22
22
  onSelectValue: Observable<T | T[]>;
23
- abstract setValue(value: T | T[]): void;
23
+ abstract setValue(value: T | T[] | undefined): void;
24
24
  }
25
25
  declare interface ILuInputWithPicker<TValue> extends ILuInput, ILuPopoverTrigger<ILuPickerPanel<TValue>> {
26
26
  }
@@ -1,11 +1,10 @@
1
1
  import * as _angular_core from '@angular/core';
2
-
3
- interface LuPlgPushLabel {
4
- close: string;
5
- }
2
+ import { InjectionToken } from '@angular/core';
3
+ import * as _lucca_front_ng_plg_push from '@lucca-front/ng/plg-push';
4
+ import { LuTranslation } from '@lucca-front/ng/core';
6
5
 
7
6
  declare class PLGPushComponent {
8
- readonly intl: _angular_core.InputSignalWithTransform<LuPlgPushLabel, Partial<LuPlgPushLabel>>;
7
+ readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_plg_push.LuPlgPushLabel, Partial<_lucca_front_ng_plg_push.LuPlgPushLabel>>;
9
8
  /**
10
9
  * Changes the title displayed in plg
11
10
  */
@@ -22,4 +21,11 @@ declare class PLGPushComponent {
22
21
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PLGPushComponent, "lu-plg-push", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "removed": { "alias": "removed"; "required": false; "isSignal": true; }; }, { "removed": "removedChange"; }, never, ["*"], true, never>;
23
22
  }
24
23
 
25
- export { PLGPushComponent };
24
+ declare const LU_PLG_PUSH_TRANSLATIONS: InjectionToken<LuTranslation<LuPlgPushLabel>>;
25
+ interface LuPlgPushLabel {
26
+ close: string;
27
+ }
28
+ declare const LuPlgPushTranslations: LuTranslation<LuPlgPushLabel>;
29
+
30
+ export { LU_PLG_PUSH_TRANSLATIONS, LuPlgPushTranslations, PLGPushComponent };
31
+ export type { LuPlgPushLabel };
@@ -38,6 +38,12 @@ declare class PopoverDirective implements OnDestroy {
38
38
  * for placement purpose
39
39
  */
40
40
  readonly luPopoverAnchor: _angular_core.InputSignal<FlexibleConnectedPositionStrategyOrigin>;
41
+ /**
42
+ * Renders a transparent backdrop catching the outside click instead of letting it through to the page.
43
+ * Reserved for menu-like popovers (a filter dropdown, where the click that closes the panel shouldn't
44
+ * also hit what's underneath): a description popover must stay non-blocking, see #5012.
45
+ */
46
+ readonly luPopoverBackdrop: InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
41
47
  /**
42
48
  * Extra element(s) to treat as "inside" the popover for outside-pointer detection. Pointer events
43
49
  * originating from them won't close the popover. Useful when an external control opens the popover
@@ -76,7 +82,7 @@ declare class PopoverDirective implements OnDestroy {
76
82
  focusOutBefore(): void;
77
83
  updatePosition(): void;
78
84
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverDirective, never>;
79
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[luPopover2]", ["luPopover2"], { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "luPopover2": { "alias": "luPopover2"; "required": false; "isSignal": true; }; "luPopoverPosition": { "alias": "luPopoverPosition"; "required": false; "isSignal": true; }; "luPopoverMaxBlockSize": { "alias": "luPopoverMaxBlockSize"; "required": false; "isSignal": true; }; "luPopoverMaxInlineSize": { "alias": "luPopoverMaxInlineSize"; "required": false; "isSignal": true; }; "overlayScrollStrategy": { "alias": "overlayScrollStrategy"; "required": false; "isSignal": true; }; "luPopoverDisabledInput": { "alias": "luPopoverDisabled"; "required": false; "isSignal": true; }; "luPopoverTrigger": { "alias": "luPopoverTrigger"; "required": false; "isSignal": true; }; "customPositionsInput": { "alias": "customPositions"; "required": false; "isSignal": true; }; "luPopoverNoCloseButtonInput": { "alias": "luPopoverNoCloseButton"; "required": false; "isSignal": true; }; "luPopoverAnchor": { "alias": "luPopoverAnchor"; "required": false; "isSignal": true; }; "luPopoverIgnoredOutsidePointerTargets": { "alias": "luPopoverIgnoredOutsidePointerTargets"; "required": false; "isSignal": true; }; "luPopoverOpenDelay": { "alias": "luPopoverOpenDelay"; "required": false; "isSignal": true; }; "luPopoverCloseDelay": { "alias": "luPopoverCloseDelay"; "required": false; "isSignal": true; }; }, { "luPopoverTrigger": "luPopoverTriggerChange"; "luPopoverClosed": "luPopoverClosed"; "luPopoverOpened": "luPopoverOpened"; }, never, never, true, never>;
85
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[luPopover2]", ["luPopover2"], { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "luPopover2": { "alias": "luPopover2"; "required": false; "isSignal": true; }; "luPopoverPosition": { "alias": "luPopoverPosition"; "required": false; "isSignal": true; }; "luPopoverMaxBlockSize": { "alias": "luPopoverMaxBlockSize"; "required": false; "isSignal": true; }; "luPopoverMaxInlineSize": { "alias": "luPopoverMaxInlineSize"; "required": false; "isSignal": true; }; "overlayScrollStrategy": { "alias": "overlayScrollStrategy"; "required": false; "isSignal": true; }; "luPopoverDisabledInput": { "alias": "luPopoverDisabled"; "required": false; "isSignal": true; }; "luPopoverTrigger": { "alias": "luPopoverTrigger"; "required": false; "isSignal": true; }; "customPositionsInput": { "alias": "customPositions"; "required": false; "isSignal": true; }; "luPopoverNoCloseButtonInput": { "alias": "luPopoverNoCloseButton"; "required": false; "isSignal": true; }; "luPopoverAnchor": { "alias": "luPopoverAnchor"; "required": false; "isSignal": true; }; "luPopoverBackdrop": { "alias": "luPopoverBackdrop"; "required": false; "isSignal": true; }; "luPopoverIgnoredOutsidePointerTargets": { "alias": "luPopoverIgnoredOutsidePointerTargets"; "required": false; "isSignal": true; }; "luPopoverOpenDelay": { "alias": "luPopoverOpenDelay"; "required": false; "isSignal": true; }; "luPopoverCloseDelay": { "alias": "luPopoverCloseDelay"; "required": false; "isSignal": true; }; }, { "luPopoverTrigger": "luPopoverTriggerChange"; "luPopoverClosed": "luPopoverClosed"; "luPopoverOpened": "luPopoverOpened"; }, never, never, true, never>;
80
86
  }
81
87
 
82
88
  declare class PopoverContentComponent implements AfterViewInit, OnDestroy {
@@ -0,0 +1,44 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ interface PriorityLevelsTranslate {
4
+ low: string;
5
+ medium: string;
6
+ high: string;
7
+ }
8
+
9
+ declare class PriorityLevelsComponent {
10
+ /**
11
+ * Which priority level should be displayed (1 = low, 2 = medium, 3 = high)
12
+ */
13
+ readonly level: _angular_core.InputSignalWithTransform<1 | 2 | 3, 1 | 2 | 3 | "1" | "2" | "3">;
14
+ /**
15
+ * Which size should the component be? Defaults to M
16
+ */
17
+ readonly size: _angular_core.InputSignal<"S" | "M" | "L">;
18
+ /**
19
+ * Overrides for the default translations
20
+ */
21
+ readonly intl: _angular_core.InputSignalWithTransform<PriorityLevelsTranslate, Partial<PriorityLevelsTranslate>>;
22
+ /**
23
+ * Visually hides the label while keeping it in the DOM for screen readers, and shows it in a tooltip on the icon instead
24
+ */
25
+ readonly hiddenLabel: _angular_core.InputSignalWithTransform<boolean, unknown>;
26
+ readonly label: _angular_core.Signal<string>;
27
+ readonly iconSize: _angular_core.Signal<"S" | "M" | "L" | "XXS" | "XS" | "XL" | "XXL">;
28
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PriorityLevelsComponent, never>;
29
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PriorityLevelsComponent, "lu-priority-levels", never, { "level": { "alias": "level"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
30
+ }
31
+
32
+ /**
33
+ * Available PriorityLevelsComponent levels (1 = low, 2 = medium, 3 = high)
34
+ */
35
+ declare const PRIORITY_LEVELS: readonly [1, 2, 3];
36
+ type PriorityLevel = (typeof PRIORITY_LEVELS)[number];
37
+ /**
38
+ * Available PriorityLevelsComponent sizes
39
+ */
40
+ declare const PRIORITY_LEVELS_SIZES: readonly ["S", "M", "L"];
41
+ type PriorityLevelsSize = (typeof PRIORITY_LEVELS_SIZES)[number];
42
+
43
+ export { PRIORITY_LEVELS, PRIORITY_LEVELS_SIZES, PriorityLevelsComponent };
44
+ export type { PriorityLevel, PriorityLevelsSize };
@@ -1,13 +1,10 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { ElementRef } from '@angular/core';
3
-
4
- interface ReadMoreTranslate {
5
- readMore: string;
6
- readLess: string;
7
- }
2
+ import { ElementRef, InjectionToken } from '@angular/core';
3
+ import * as _lucca_front_ng_read_more from '@lucca-front/ng/read-more';
4
+ import { LuTranslation } from '@lucca-front/ng/core';
8
5
 
9
6
  declare class ReadMoreComponent {
10
- readonly intl: _angular_core.InputSignalWithTransform<ReadMoreTranslate, Partial<ReadMoreTranslate>>;
7
+ readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_read_more.ReadMoreTranslate, Partial<_lucca_front_ng_read_more.ReadMoreTranslate>>;
11
8
  /**
12
9
  * Change the number of lines displayed when collapsed
13
10
  */
@@ -53,5 +50,12 @@ declare class ReadMoreComponent {
53
50
  declare const READ_MORE_SURFACE: readonly ["sunken", "default"];
54
51
  type ReadMoreSurface = (typeof READ_MORE_SURFACE)[number];
55
52
 
56
- export { READ_MORE_SURFACE, ReadMoreComponent };
57
- export type { ReadMoreSurface };
53
+ declare const LU_READMORE_TRANSLATIONS: InjectionToken<LuTranslation<ReadMoreTranslate>>;
54
+ interface ReadMoreTranslate {
55
+ readMore: string;
56
+ readLess: string;
57
+ }
58
+ declare const luReadMoreTranslations: LuTranslation<ReadMoreTranslate>;
59
+
60
+ export { LU_READMORE_TRANSLATIONS, READ_MORE_SURFACE, ReadMoreComponent, luReadMoreTranslations };
61
+ export type { ReadMoreSurface, ReadMoreTranslate };
@@ -2,7 +2,6 @@ import * as i0 from '@angular/core';
2
2
  import { PipeTransform } from '@angular/core';
3
3
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
4
  import { Config } from 'isomorphic-dompurify';
5
- export * from '@lucca/prisme/safe-content';
6
5
 
7
6
  type SanitizerConfig = Config & {
8
7
  RETURN_DOM_FRAGMENT?: false | undefined;
@@ -25,4 +24,11 @@ declare class LuSafeContentModule {
25
24
  static ɵinj: i0.ɵɵInjectorDeclaration<LuSafeContentModule>;
26
25
  }
27
26
 
28
- export { LuSafeContentModule, LuSafeHtmlPipe };
27
+ declare class LuSafeExternalSvgPipe implements PipeTransform {
28
+ #private;
29
+ transform(url: string): SafeHtml;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuSafeExternalSvgPipe, never>;
31
+ static ɵpipe: i0.ɵɵPipeDeclaration<LuSafeExternalSvgPipe, "luSafeExternalSvg", true>;
32
+ }
33
+
34
+ export { LuSafeContentModule, LuSafeExternalSvgPipe, LuSafeHtmlPipe };
@@ -24,6 +24,10 @@ declare class SegmentedControlTabsComponent<T = unknown> implements AfterContent
24
24
  * Display segmented control tabs vertically
25
25
  */
26
26
  readonly vertical: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
27
+ /**
28
+ * Accessible name for the tablist, exposed to assistive technologies
29
+ */
30
+ readonly ariaLabel: _angular_core.InputSignal<string>;
27
31
  readonly active: _angular_core.ModelSignal<T>;
28
32
  readonly id: string;
29
33
  readonly tabs: _angular_core.Signal<readonly SegmentedControlTabsPanelComponent<T>[]>;
@@ -36,7 +40,7 @@ declare class SegmentedControlTabsComponent<T = unknown> implements AfterContent
36
40
  setActiveTab(index: number): void;
37
41
  ngAfterContentInit(): void;
38
42
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlTabsComponent<any>, never>;
39
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlTabsComponent<any>, "lu-segmented-control-tabs", never, { "small": { "alias": "small"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, ["tabs"], ["*"], true, [{ directive: typeof i1.NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
43
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlTabsComponent<any>, "lu-segmented-control-tabs", never, { "small": { "alias": "small"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, ["tabs"], ["*"], true, [{ directive: typeof i1.NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
40
44
  }
41
45
 
42
46
  export { SegmentedControlTabsComponent, SegmentedControlTabsPanelComponent };
@@ -39,9 +39,13 @@ declare class SegmentedControlComponent {
39
39
  * Display segmented control vertically
40
40
  */
41
41
  readonly vertical: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
42
+ /**
43
+ * Accessible name for the group of options, exposed to assistive technologies
44
+ */
45
+ readonly ariaLabel: _angular_core.InputSignal<string>;
42
46
  readonly id: string;
43
47
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
44
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlComponent, "lu-segmented-control", never, { "small": { "alias": "small"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
48
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlComponent, "lu-segmented-control", never, { "small": { "alias": "small"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
45
49
  }
46
50
 
47
51
  export { SegmentedControlComponent, SegmentedControlFilterComponent };
@@ -23,13 +23,13 @@ declare abstract class ALuSelectInput<T, TPicker extends ILuPickerPanel<T> = ILu
23
23
  /**
24
24
  * contriol value accessor interface implementation
25
25
  */
26
- protected _value: T | T[];
26
+ protected _value: T | T[] | undefined;
27
27
  setValue(value: T | T[] | undefined): void;
28
- get value(): T | T[];
29
- set value(value: T | T[]);
30
- writeValue(value: T | T[]): void;
31
- protected _cvaOnChange: (v: T | T[]) => unknown;
32
- registerOnChange(fn: (v: T | T[]) => unknown): void;
28
+ get value(): T | T[] | undefined;
29
+ set value(value: T | T[] | undefined);
30
+ writeValue(value: T | T[] | undefined): void;
31
+ protected _cvaOnChange: (v: T | T[] | undefined) => unknown;
32
+ registerOnChange(fn: (v: T | T[] | undefined) => unknown): void;
33
33
  protected _onTouched: () => unknown;
34
34
  registerOnTouched(fn: () => unknown): void;
35
35
  set disabled(d: boolean);
@@ -5,6 +5,7 @@ import * as _lucca_front_ng_core_select from '@lucca-front/ng/core-select';
5
5
  import { LuSelectPanelRef, ALuSelectInputComponent, CoreSelectPanelInstance, ɵCoreSelectPanelElement as _CoreSelectPanelElement, CoreSelectKeyManager } from '@lucca-front/ng/core-select';
6
6
  import { ControlValueAccessor } from '@angular/forms';
7
7
  import { Overlay, OverlayPositionBuilder, ScrollStrategyOptions, OverlayConfig } from '@angular/cdk/overlay';
8
+ import { LuDialogService } from '@lucca-front/ng/dialog';
8
9
  import { LuTranslation } from '@lucca-front/ng/core';
9
10
 
10
11
  declare class LuSimpleSelectPanelRefFactory {
@@ -13,6 +14,7 @@ declare class LuSimpleSelectPanelRefFactory {
13
14
  protected positionBuilder: OverlayPositionBuilder;
14
15
  protected scrollStrategies: ScrollStrategyOptions;
15
16
  protected parentInjector: Injector;
17
+ protected dialogService: LuDialogService;
16
18
  private selectLabelId;
17
19
  private selectId;
18
20
  buildPanelRef<T>(selectInput: LuSimpleSelectInputComponent<T>, overlayConfigOverride?: OverlayConfig): LuSelectPanelRef<T, T>;
@@ -50,7 +52,7 @@ declare class LuSelectPanelComponent<T> implements AfterViewInit, CoreSelectPane
50
52
  readonly optionComparer: _angular_core.WritableSignal<_lucca_front_ng_core_select.LuOptionComparer<T>>;
51
53
  readonly optionKey: _angular_core.WritableSignal<(option: T) => unknown>;
52
54
  colorPanel: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
53
- initialValue: T | null;
55
+ initialValue: T | null | undefined;
54
56
  readonly optionTpl: _angular_core.ModelSignal<_angular_core.Type<unknown> | _angular_core.TemplateRef<_lucca_front_ng_core_select.LuOptionContext<T>>>;
55
57
  readonly options: _angular_core.WritableSignal<_CoreSelectPanelElement<T>[]>;
56
58
  readonly pointerNavigation: _angular_core.Signal<boolean>;
@@ -63,6 +65,8 @@ declare class LuSelectPanelComponent<T> implements AfterViewInit, CoreSelectPane
63
65
  groupTemplateLocation: _angular_core.Signal<"group-header" | "option" | "none">;
64
66
  readonly listboxState: _angular_core.Signal<"loading" | "empty">;
65
67
  readonly listboxStatusMsg: _angular_core.Signal<string>;
68
+ private readonly sheetViewport;
69
+ constructor();
66
70
  onScroll(evt: Event): void;
67
71
  ngAfterViewInit(): void;
68
72
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSelectPanelComponent<any>, never>;