@ecodev/natural 47.3.2 → 48.0.0

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 (104) hide show
  1. package/esm2020/lib/classes/abstract-editable-list.mjs +2 -2
  2. package/esm2020/lib/classes/abstract-list.mjs +1 -1
  3. package/esm2020/lib/modules/alert/alert.module.mjs +4 -4
  4. package/esm2020/lib/modules/alert/alert.service.mjs +5 -5
  5. package/esm2020/lib/modules/alert/confirm.component.mjs +6 -6
  6. package/esm2020/lib/modules/columns-picker/columns-picker.component.mjs +9 -8
  7. package/esm2020/lib/modules/columns-picker/columns-picker.module.mjs +11 -7
  8. package/esm2020/lib/modules/common/common-module.mjs +4 -4
  9. package/esm2020/lib/modules/common/directives/linkable-tab.directive.mjs +5 -5
  10. package/esm2020/lib/modules/detail-header/detail-header.component.mjs +6 -5
  11. package/esm2020/lib/modules/detail-header/detail-header.module.mjs +6 -5
  12. package/esm2020/lib/modules/dialog-trigger/dialog-trigger.component.mjs +4 -4
  13. package/esm2020/lib/modules/dialog-trigger/dialog-trigger.module.mjs +2 -2
  14. package/esm2020/lib/modules/dropdown-components/natural-dropdown-components.module.mjs +7 -7
  15. package/esm2020/lib/modules/dropdown-components/type-date/type-date.component.mjs +7 -8
  16. package/esm2020/lib/modules/dropdown-components/type-date-range/type-date-range.component.mjs +5 -5
  17. package/esm2020/lib/modules/dropdown-components/type-hierarchic-selector/type-hierarchic-selector.component.mjs +4 -4
  18. package/esm2020/lib/modules/dropdown-components/type-natural-select/type-natural-select.component.mjs +4 -4
  19. package/esm2020/lib/modules/dropdown-components/type-number/type-number.component.mjs +5 -5
  20. package/esm2020/lib/modules/dropdown-components/type-select/type-select.component.mjs +7 -7
  21. package/esm2020/lib/modules/dropdown-components/type-text/type-text.component.mjs +3 -3
  22. package/esm2020/lib/modules/file/component/file.component.mjs +7 -6
  23. package/esm2020/lib/modules/file/file.module.mjs +5 -4
  24. package/esm2020/lib/modules/fixed-button/fixed-button.component.mjs +6 -5
  25. package/esm2020/lib/modules/fixed-button/fixed-button.module.mjs +6 -5
  26. package/esm2020/lib/modules/fixed-button-detail/fixed-button-detail.component.mjs +2 -2
  27. package/esm2020/lib/modules/fixed-button-detail/fixed-button-detail.module.mjs +2 -2
  28. package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.mjs +10 -9
  29. package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.component.mjs +8 -8
  30. package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.service.mjs +4 -4
  31. package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector.module.mjs +8 -8
  32. package/esm2020/lib/modules/icon/icon.directive.mjs +100 -0
  33. package/esm2020/lib/modules/icon/icon.module.mjs +6 -6
  34. package/esm2020/lib/modules/icon/public-api.mjs +2 -2
  35. package/esm2020/lib/modules/panels/panels.module.mjs +2 -2
  36. package/esm2020/lib/modules/panels/panels.service.mjs +4 -4
  37. package/esm2020/lib/modules/relations/relations.component.mjs +10 -9
  38. package/esm2020/lib/modules/relations/relations.module.mjs +13 -9
  39. package/esm2020/lib/modules/search/classes/graphql-doctrine.mjs +1 -1
  40. package/esm2020/lib/modules/search/classes/graphql-doctrine.types.mjs +1 -1
  41. package/esm2020/lib/modules/search/dropdown-container/dropdown-container.component.mjs +3 -3
  42. package/esm2020/lib/modules/search/facet-selector/facet-selector.component.mjs +4 -5
  43. package/esm2020/lib/modules/search/input/input.component.mjs +8 -7
  44. package/esm2020/lib/modules/search/search/search.component.mjs +7 -6
  45. package/esm2020/lib/modules/search/search.module.mjs +12 -8
  46. package/esm2020/lib/modules/search/types/facet.mjs +1 -1
  47. package/esm2020/lib/modules/select/abstract-select.component.mjs +2 -5
  48. package/esm2020/lib/modules/select/select/select.component.mjs +13 -17
  49. package/esm2020/lib/modules/select/select-enum/select-enum.component.mjs +4 -4
  50. package/esm2020/lib/modules/select/select-hierarchic/select-hierarchic.component.mjs +9 -11
  51. package/esm2020/lib/modules/select/select.module.mjs +14 -10
  52. package/esm2020/lib/modules/sidenav/sidenav.module.mjs +2 -2
  53. package/esm2020/lib/modules/stamp/stamp.component.mjs +3 -3
  54. package/esm2020/lib/modules/table-button/table-button.component.mjs +6 -5
  55. package/esm2020/lib/modules/table-button/table-button.module.mjs +6 -5
  56. package/fesm2015/ecodev-natural.mjs +305 -301
  57. package/fesm2015/ecodev-natural.mjs.map +1 -1
  58. package/fesm2020/ecodev-natural.mjs +307 -301
  59. package/fesm2020/ecodev-natural.mjs.map +1 -1
  60. package/lib/classes/abstract-editable-list.d.ts +2 -2
  61. package/lib/classes/abstract-list.d.ts +1 -1
  62. package/lib/modules/alert/alert.module.d.ts +4 -4
  63. package/lib/modules/alert/alert.service.d.ts +2 -2
  64. package/lib/modules/columns-picker/columns-picker.module.d.ts +6 -5
  65. package/lib/modules/common/common-module.d.ts +4 -4
  66. package/lib/modules/common/directives/linkable-tab.directive.d.ts +2 -2
  67. package/lib/modules/detail-header/detail-header.module.d.ts +3 -2
  68. package/lib/modules/dialog-trigger/dialog-trigger.component.d.ts +1 -1
  69. package/lib/modules/dialog-trigger/dialog-trigger.module.d.ts +2 -2
  70. package/lib/modules/dropdown-components/natural-dropdown-components.module.d.ts +7 -7
  71. package/lib/modules/dropdown-components/type-select/type-select.component.d.ts +1 -1
  72. package/lib/modules/file/file.module.d.ts +2 -1
  73. package/lib/modules/fixed-button/fixed-button.module.d.ts +4 -3
  74. package/lib/modules/fixed-button-detail/fixed-button-detail.module.d.ts +2 -2
  75. package/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.component.d.ts +1 -1
  76. package/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.service.d.ts +1 -1
  77. package/lib/modules/hierarchic-selector/hierarchic-selector.module.d.ts +8 -8
  78. package/lib/modules/icon/icon.directive.d.ts +43 -0
  79. package/lib/modules/icon/icon.module.d.ts +3 -3
  80. package/lib/modules/icon/public-api.d.ts +1 -1
  81. package/lib/modules/panels/panels.module.d.ts +2 -2
  82. package/lib/modules/panels/panels.service.d.ts +1 -1
  83. package/lib/modules/relations/relations.component.d.ts +1 -1
  84. package/lib/modules/relations/relations.module.d.ts +8 -7
  85. package/lib/modules/search/classes/graphql-doctrine.types.d.ts +23 -23
  86. package/lib/modules/search/search.module.d.ts +6 -5
  87. package/lib/modules/search/types/facet.d.ts +3 -3
  88. package/lib/modules/select/abstract-select.component.d.ts +1 -3
  89. package/lib/modules/select/select/select.component.d.ts +1 -6
  90. package/lib/modules/select/select-hierarchic/select-hierarchic.component.d.ts +0 -3
  91. package/lib/modules/select/select.module.d.ts +9 -8
  92. package/lib/modules/sidenav/sidenav.module.d.ts +2 -2
  93. package/lib/modules/table-button/table-button.module.d.ts +3 -2
  94. package/package.json +1 -1
  95. package/src/lib/_natural.theme.scss +34 -2
  96. package/src/lib/modules/alert/_alert.theme.scss +1 -1
  97. package/src/lib/modules/panels/_panels.external.scss +2 -3
  98. package/src/lib/modules/search/input/_input.theme.scss +2 -2
  99. package/src/lib/styles/_table.scss +4 -4
  100. package/theming/_natural.theme.scss +1 -1
  101. package/esm2020/lib/modules/icon/icon.component.mjs +0 -95
  102. package/lib/modules/icon/icon.component.d.ts +0 -41
  103. package/src/lib/modules/icon/_icon.theme.scss +0 -34
  104. package/src/lib/modules/table-button/_table-button.theme.scss +0 -22
@@ -1,5 +1,5 @@
1
1
  import { AbstractControl, UntypedFormArray, UntypedFormGroup } from '@angular/forms';
2
- import { MatLegacyTableDataSource as MatTableDataSource } from '@angular/material/legacy-table';
2
+ import { MatTableDataSource } from '@angular/material/table';
3
3
  import { NaturalAbstractModelService } from '../services/abstract-model.service';
4
4
  import { NaturalAbstractController } from './abstract-controller';
5
5
  import { NaturalQueryVariablesManager, QueryVariables } from './query-variable-manager';
@@ -31,7 +31,7 @@ export declare class NaturalAbstractEditableList<TService extends NaturalAbstrac
31
31
  readonly form: UntypedFormGroup;
32
32
  readonly formArray: UntypedFormArray;
33
33
  readonly variablesManager: NaturalQueryVariablesManager<ExtractVall<TService>>;
34
- readonly dataSource: MatTableDataSource<AbstractControl<any, any>>;
34
+ readonly dataSource: MatTableDataSource<AbstractControl<any, any>, import("@angular/material/table").MatTableDataSourcePaginator>;
35
35
  constructor(service: TService);
36
36
  /**
37
37
  * Set the list of items (overwriting what may have existed)
@@ -1,6 +1,6 @@
1
1
  import { SelectionModel } from '@angular/cdk/collections';
2
2
  import { Injector, OnDestroy, OnInit } from '@angular/core';
3
- import { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';
3
+ import { PageEvent } from '@angular/material/paginator';
4
4
  import { Sort } from '@angular/material/sort';
5
5
  import { ActivatedRoute, Data, NavigationExtras, Router } from '@angular/router';
6
6
  import { Observable } from 'rxjs';
@@ -1,11 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./confirm.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-dialog";
5
- import * as i4 from "@angular/material/legacy-snack-bar";
6
- import * as i5 from "@angular/material/legacy-button";
4
+ import * as i3 from "@angular/material/dialog";
5
+ import * as i4 from "@angular/material/snack-bar";
6
+ import * as i5 from "@angular/material/button";
7
7
  export declare class NaturalAlertModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAlertModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalAlertModule, [typeof i1.NaturalConfirmComponent], [typeof i2.CommonModule, typeof i3.MatLegacyDialogModule, typeof i4.MatLegacySnackBarModule, typeof i5.MatLegacyButtonModule], never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalAlertModule, [typeof i1.NaturalConfirmComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.MatSnackBarModule, typeof i5.MatButtonModule], never>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalAlertModule>;
11
11
  }
@@ -1,5 +1,5 @@
1
- import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
2
- import { MatLegacySnackBar as MatSnackBar, MatLegacySnackBarRef as MatSnackBarRef, LegacySimpleSnackBar as SimpleSnackBar } from '@angular/material/legacy-snack-bar';
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { MatSnackBar, MatSnackBarRef, SimpleSnackBar } from '@angular/material/snack-bar';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class NaturalAlertService {
@@ -3,13 +3,14 @@ import * as i1 from "./columns-picker-column.directive";
3
3
  import * as i2 from "./columns-picker.component";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
- import * as i5 from "@angular/material/legacy-menu";
7
- import * as i6 from "@angular/material/legacy-button";
8
- import * as i7 from "@angular/material/legacy-checkbox";
6
+ import * as i5 from "@angular/material/menu";
7
+ import * as i6 from "@angular/material/button";
8
+ import * as i7 from "@angular/material/checkbox";
9
9
  import * as i8 from "../icon/icon.module";
10
- import * as i9 from "@angular/material/legacy-tooltip";
10
+ import * as i9 from "@angular/material/tooltip";
11
+ import * as i10 from "@angular/material/icon";
11
12
  export declare class NaturalColumnsPickerModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalColumnsPickerModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalColumnsPickerModule, [typeof i1.NaturalColumnsPickerColumnDirective, typeof i2.NaturalColumnsPickerComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.MatLegacyMenuModule, typeof i6.MatLegacyButtonModule, typeof i7.MatLegacyCheckboxModule, typeof i8.NaturalIconModule, typeof i9.MatLegacyTooltipModule], [typeof i1.NaturalColumnsPickerColumnDirective, typeof i2.NaturalColumnsPickerComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalColumnsPickerModule, [typeof i1.NaturalColumnsPickerColumnDirective, typeof i2.NaturalColumnsPickerComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.MatMenuModule, typeof i6.MatButtonModule, typeof i7.MatCheckboxModule, typeof i8.NaturalIconModule, typeof i9.MatTooltipModule, typeof i10.MatIconModule], [typeof i1.NaturalColumnsPickerColumnDirective, typeof i2.NaturalColumnsPickerComponent]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalColumnsPickerModule>;
15
16
  }
@@ -8,11 +8,11 @@ import * as i6 from "./directives/src-density.directive";
8
8
  import * as i7 from "./pipes/swiss-date.pipe";
9
9
  import * as i8 from "./pipes/time-ago.pipe";
10
10
  import * as i9 from "@angular/common";
11
- import * as i10 from "@angular/material/legacy-form-field";
12
- import * as i11 from "@angular/material/legacy-input";
13
- import * as i12 from "@angular/material/legacy-select";
11
+ import * as i10 from "@angular/material/form-field";
12
+ import * as i11 from "@angular/material/input";
13
+ import * as i12 from "@angular/material/select";
14
14
  export declare class NaturalCommonModule {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalCommonModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalCommonModule, [typeof i1.NaturalCapitalizePipe, typeof i2.NaturalEllipsisPipe, typeof i3.NaturalEnumPipe, typeof i4.NaturalHttpPrefixDirective, typeof i5.NaturalLinkableTabDirective, typeof i6.NaturalSrcDensityDirective, typeof i7.NaturalSwissDatePipe, typeof i8.NaturalTimeAgoPipe], [typeof i9.CommonModule, typeof i10.MatLegacyFormFieldModule, typeof i11.MatLegacyInputModule, typeof i12.MatLegacySelectModule], [typeof i1.NaturalCapitalizePipe, typeof i2.NaturalEllipsisPipe, typeof i3.NaturalEnumPipe, typeof i4.NaturalHttpPrefixDirective, typeof i5.NaturalLinkableTabDirective, typeof i6.NaturalSrcDensityDirective, typeof i7.NaturalSwissDatePipe, typeof i8.NaturalTimeAgoPipe]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalCommonModule, [typeof i1.NaturalCapitalizePipe, typeof i2.NaturalEllipsisPipe, typeof i3.NaturalEnumPipe, typeof i4.NaturalHttpPrefixDirective, typeof i5.NaturalLinkableTabDirective, typeof i6.NaturalSrcDensityDirective, typeof i7.NaturalSwissDatePipe, typeof i8.NaturalTimeAgoPipe], [typeof i9.CommonModule, typeof i10.MatFormFieldModule, typeof i11.MatInputModule, typeof i12.MatSelectModule], [typeof i1.NaturalCapitalizePipe, typeof i2.NaturalEllipsisPipe, typeof i3.NaturalEnumPipe, typeof i4.NaturalHttpPrefixDirective, typeof i5.NaturalLinkableTabDirective, typeof i6.NaturalSrcDensityDirective, typeof i7.NaturalSwissDatePipe, typeof i8.NaturalTimeAgoPipe]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalCommonModule>;
18
18
  }
@@ -1,12 +1,12 @@
1
1
  import { AfterViewInit } from '@angular/core';
2
- import { MatLegacyTabGroup as MatTabGroup } from '@angular/material/legacy-tabs';
2
+ import { MatTabGroup } from '@angular/material/tabs';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { NaturalAbstractController } from '../../../classes/abstract-controller';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Usage :
8
8
  *
9
- * <mat-tab-group [naturalLinkableTab]="!isPanel">
9
+ * <mat-tab-group mat-stretch-tabs="false" [naturalLinkableTab]="!isPanel">
10
10
  * <mat-tab label="Third 1">third 1</mat-tab> // First tab doesn't need id. This keeps url clean on default one
11
11
  * <mat-tab label="Third 2" id="third2">Third 2</mat-tab>
12
12
  * ...
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./detail-header.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/router";
5
- import * as i4 from "@angular/material/legacy-button";
5
+ import * as i4 from "@angular/material/button";
6
6
  import * as i5 from "../icon/icon.module";
7
+ import * as i6 from "@angular/material/icon";
7
8
  export declare class NaturalDetailHeaderModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalDetailHeaderModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalDetailHeaderModule, [typeof i1.NaturalDetailHeaderComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatLegacyButtonModule, typeof i5.NaturalIconModule], [typeof i1.NaturalDetailHeaderComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalDetailHeaderModule, [typeof i1.NaturalDetailHeaderComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatButtonModule, typeof i5.NaturalIconModule, typeof i6.MatIconModule], [typeof i1.NaturalDetailHeaderComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalDetailHeaderModule>;
11
12
  }
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from '@angular/cdk/portal';
2
2
  import { OnDestroy } from '@angular/core';
3
- import { MatLegacyDialog as MatDialog, MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-dialog';
3
+ import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
4
4
  import { ActivatedRoute, Router, RouterLink } from '@angular/router';
5
5
  import * as i0 from "@angular/core";
6
6
  export interface NaturalDialogTriggerRoutingData<T, D> {
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./dialog-trigger.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-dialog";
4
+ import * as i3 from "@angular/material/dialog";
5
5
  export declare class NaturalDialogTriggerModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalDialogTriggerModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalDialogTriggerModule, [typeof i1.NaturalDialogTriggerComponent], [typeof i2.CommonModule, typeof i3.MatLegacyDialogModule], [typeof i1.NaturalDialogTriggerComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalDialogTriggerModule, [typeof i1.NaturalDialogTriggerComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule], [typeof i1.NaturalDialogTriggerComponent]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalDialogTriggerModule>;
9
9
  }
@@ -8,17 +8,17 @@ import * as i6 from "./type-text/type-text.component";
8
8
  import * as i7 from "./type-hierarchic-selector/type-hierarchic-selector.component";
9
9
  import * as i8 from "@angular/common";
10
10
  import * as i9 from "@angular/forms";
11
- import * as i10 from "@angular/material/legacy-form-field";
12
- import * as i11 from "@angular/material/legacy-button";
13
- import * as i12 from "@angular/material/legacy-input";
14
- import * as i13 from "@angular/material/legacy-list";
15
- import * as i14 from "@angular/material/legacy-checkbox";
11
+ import * as i10 from "@angular/material/form-field";
12
+ import * as i11 from "@angular/material/button";
13
+ import * as i12 from "@angular/material/input";
14
+ import * as i13 from "@angular/material/list";
15
+ import * as i14 from "@angular/material/checkbox";
16
16
  import * as i15 from "@angular/material/datepicker";
17
- import * as i16 from "@angular/material/legacy-select";
17
+ import * as i16 from "@angular/material/select";
18
18
  import * as i17 from "../select/select.module";
19
19
  import * as i18 from "../hierarchic-selector/hierarchic-selector.module";
20
20
  export declare class NaturalDropdownComponentsModule {
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalDropdownComponentsModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalDropdownComponentsModule, [typeof i1.TypeNumberComponent, typeof i2.TypeSelectComponent, typeof i3.TypeDateComponent, typeof i4.TypeDateRangeComponent, typeof i5.TypeNaturalSelectComponent, typeof i6.TypeTextComponent, typeof i7.TypeHierarchicSelectorComponent], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.MatLegacyFormFieldModule, typeof i9.ReactiveFormsModule, typeof i11.MatLegacyButtonModule, typeof i12.MatLegacyInputModule, typeof i13.MatLegacyListModule, typeof i14.MatLegacyCheckboxModule, typeof i15.MatDatepickerModule, typeof i16.MatLegacySelectModule, typeof i17.NaturalSelectModule, typeof i18.NaturalHierarchicSelectorModule], [typeof i1.TypeNumberComponent, typeof i2.TypeSelectComponent, typeof i3.TypeDateComponent, typeof i4.TypeDateRangeComponent, typeof i5.TypeNaturalSelectComponent, typeof i6.TypeTextComponent, typeof i7.TypeHierarchicSelectorComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalDropdownComponentsModule, [typeof i1.TypeNumberComponent, typeof i2.TypeSelectComponent, typeof i3.TypeDateComponent, typeof i4.TypeDateRangeComponent, typeof i5.TypeNaturalSelectComponent, typeof i6.TypeTextComponent, typeof i7.TypeHierarchicSelectorComponent], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.MatFormFieldModule, typeof i9.ReactiveFormsModule, typeof i11.MatButtonModule, typeof i12.MatInputModule, typeof i13.MatListModule, typeof i14.MatCheckboxModule, typeof i15.MatDatepickerModule, typeof i16.MatSelectModule, typeof i17.NaturalSelectModule, typeof i18.NaturalHierarchicSelectorModule], [typeof i1.TypeNumberComponent, typeof i2.TypeSelectComponent, typeof i3.TypeDateComponent, typeof i4.TypeDateRangeComponent, typeof i5.TypeNaturalSelectComponent, typeof i6.TypeTextComponent, typeof i7.TypeHierarchicSelectorComponent]>;
23
23
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalDropdownComponentsModule>;
24
24
  }
@@ -1,5 +1,5 @@
1
1
  import { AfterViewInit, OnDestroy } from '@angular/core';
2
- import { MatLegacySelectionList as MatSelectionList } from '@angular/material/legacy-list';
2
+ import { MatSelectionList } from '@angular/material/list';
3
3
  import { BehaviorSubject, Observable } from 'rxjs';
4
4
  import { FilterGroupConditionField, Scalar } from '../../search/classes/graphql-doctrine.types';
5
5
  import { NaturalDropdownData } from '../../search/dropdown-container/dropdown.service';
@@ -6,8 +6,9 @@ import * as i4 from "@angular/common";
6
6
  import * as i5 from "../icon/icon.module";
7
7
  import * as i6 from "@angular/material/core";
8
8
  import * as i7 from "../common/common-module";
9
+ import * as i8 from "@angular/material/icon";
9
10
  export declare class NaturalFileModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFileModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalFileModule, [typeof i1.NaturalFileDropDirective, typeof i2.NaturalFileSelectDirective, typeof i3.FileComponent], [typeof i4.CommonModule, typeof i5.NaturalIconModule, typeof i6.MatRippleModule, typeof i7.NaturalCommonModule], [typeof i1.NaturalFileDropDirective, typeof i2.NaturalFileSelectDirective, typeof i3.FileComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalFileModule, [typeof i1.NaturalFileDropDirective, typeof i2.NaturalFileSelectDirective, typeof i3.FileComponent], [typeof i4.CommonModule, typeof i5.NaturalIconModule, typeof i6.MatRippleModule, typeof i7.NaturalCommonModule, typeof i8.MatIconModule], [typeof i1.NaturalFileDropDirective, typeof i2.NaturalFileSelectDirective, typeof i3.FileComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalFileModule>;
13
14
  }
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./fixed-button.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/router";
5
- import * as i4 from "@angular/material/legacy-button";
6
- import * as i5 from "../icon/icon.module";
5
+ import * as i4 from "@angular/material/button";
6
+ import * as i5 from "@angular/material/icon";
7
+ import * as i6 from "../icon/icon.module";
7
8
  export declare class NaturalFixedButtonModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalFixedButtonModule, [typeof i1.NaturalFixedButtonComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatLegacyButtonModule, typeof i5.NaturalIconModule], [typeof i1.NaturalFixedButtonComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalFixedButtonModule, [typeof i1.NaturalFixedButtonComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.NaturalIconModule], [typeof i1.NaturalFixedButtonComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalFixedButtonModule>;
11
12
  }
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./fixed-button-detail.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../fixed-button/fixed-button.module";
5
- import * as i4 from "@angular/material/legacy-tooltip";
5
+ import * as i4 from "@angular/material/tooltip";
6
6
  export declare class NaturalFixedButtonDetailModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonDetailModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalFixedButtonDetailModule, [typeof i1.NaturalFixedButtonDetailComponent], [typeof i2.CommonModule, typeof i3.NaturalFixedButtonModule, typeof i4.MatLegacyTooltipModule], [typeof i1.NaturalFixedButtonDetailComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalFixedButtonDetailModule, [typeof i1.NaturalFixedButtonDetailComponent], [typeof i2.CommonModule, typeof i3.NaturalFixedButtonModule, typeof i4.MatTooltipModule], [typeof i1.NaturalFixedButtonDetailComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalFixedButtonDetailModule>;
10
10
  }
@@ -1,4 +1,4 @@
1
- import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
2
  import { NaturalSearchFacets } from '../../search/types/facet';
3
3
  import { NaturalSearchSelections } from '../../search/types/values';
4
4
  import { NaturalHierarchicConfiguration } from '../classes/hierarchic-configuration';
@@ -1,4 +1,4 @@
1
- import { MatLegacyDialog as MatDialog, MatLegacyDialogConfig as MatDialogConfig, MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
1
+ import { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
2
2
  import { HierarchicDialogConfig, HierarchicDialogResult, NaturalHierarchicSelectorDialogComponent } from './hierarchic-selector-dialog.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class NaturalHierarchicSelectorDialogService {
@@ -4,20 +4,20 @@ import * as i2 from "./hierarchic-selector-dialog/hierarchic-selector-dialog.com
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
6
  import * as i5 from "@angular/cdk/tree";
7
- import * as i6 from "@angular/material/legacy-checkbox";
8
- import * as i7 from "@angular/material/legacy-form-field";
9
- import * as i8 from "@angular/material/legacy-button";
7
+ import * as i6 from "@angular/material/checkbox";
8
+ import * as i7 from "@angular/material/form-field";
9
+ import * as i8 from "@angular/material/button";
10
10
  import * as i9 from "@angular/material/tree";
11
11
  import * as i10 from "@angular/material/icon";
12
- import * as i11 from "@angular/material/legacy-input";
13
- import * as i12 from "@angular/material/legacy-progress-spinner";
14
- import * as i13 from "@angular/material/legacy-dialog";
12
+ import * as i11 from "@angular/material/input";
13
+ import * as i12 from "@angular/material/progress-spinner";
14
+ import * as i13 from "@angular/material/dialog";
15
15
  import * as i14 from "../icon/icon.module";
16
- import * as i15 from "@angular/material/legacy-chips";
16
+ import * as i15 from "@angular/material/chips";
17
17
  import * as i16 from "../search/search.module";
18
18
  import * as i17 from "../common/common-module";
19
19
  export declare class NaturalHierarchicSelectorModule {
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalHierarchicSelectorModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalHierarchicSelectorModule, [typeof i1.NaturalHierarchicSelectorComponent, typeof i2.NaturalHierarchicSelectorDialogComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.CdkTreeModule, typeof i6.MatLegacyCheckboxModule, typeof i7.MatLegacyFormFieldModule, typeof i8.MatLegacyButtonModule, typeof i9.MatTreeModule, typeof i10.MatIconModule, typeof i11.MatLegacyInputModule, typeof i12.MatLegacyProgressSpinnerModule, typeof i13.MatLegacyDialogModule, typeof i14.NaturalIconModule, typeof i15.MatLegacyChipsModule, typeof i16.NaturalSearchModule, typeof i17.NaturalCommonModule], [typeof i1.NaturalHierarchicSelectorComponent]>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalHierarchicSelectorModule, [typeof i1.NaturalHierarchicSelectorComponent, typeof i2.NaturalHierarchicSelectorDialogComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.CdkTreeModule, typeof i6.MatCheckboxModule, typeof i7.MatFormFieldModule, typeof i8.MatButtonModule, typeof i9.MatTreeModule, typeof i10.MatIconModule, typeof i11.MatInputModule, typeof i12.MatProgressSpinnerModule, typeof i13.MatDialogModule, typeof i14.NaturalIconModule, typeof i15.MatChipsModule, typeof i16.NaturalSearchModule, typeof i17.NaturalCommonModule], [typeof i1.NaturalHierarchicSelectorComponent]>;
22
22
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalHierarchicSelectorModule>;
23
23
  }
@@ -0,0 +1,43 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { MatIcon, MatIconRegistry } from '@angular/material/icon';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+ import * as i0 from "@angular/core";
5
+ export interface NaturalIconConfig {
6
+ svg?: string;
7
+ font?: string;
8
+ class?: 'negative' | 'neutral' | 'positive';
9
+ }
10
+ export interface NaturalIconsConfig {
11
+ [key: string]: NaturalIconConfig;
12
+ }
13
+ export declare const NATURAL_ICONS_CONFIG: InjectionToken<NaturalIconsConfig>;
14
+ /**
15
+ * Allows to use `<mat-icon>` without knowing where an icon comes from (SVG or font) or with aliases for Material font.
16
+ *
17
+ * SVG icons and Material font aliases must be configured ahead of time, via `NATURAL_ICONS_CONFIG`.
18
+ *
19
+ * It also make it easy to give a specific size to the icon via `[size]`.
20
+ *
21
+ * Usage:
22
+ *
23
+ * ```html
24
+ * <mat-icon naturalIcon="search"></mat-icon>
25
+ * <mat-icon naturalIcon="my-svg-icon-name"></mat-icon>
26
+ * <mat-icon naturalIcon="my-alias-for-search"></mat-icon>
27
+ * <mat-icon naturalIcon="search" [size]="150"></mat-icon>
28
+ * ```
29
+ */
30
+ export declare class NaturalIconDirective {
31
+ private readonly matIconRegistry;
32
+ private readonly domSanitizer;
33
+ private readonly config;
34
+ readonly matIconComponent: MatIcon;
35
+ private _size;
36
+ private classes;
37
+ constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, config: NaturalIconsConfig, matIconComponent: MatIcon);
38
+ set naturalIcon(value: string);
39
+ set size(size: number | undefined | null);
40
+ private registerIcons;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<NaturalIconDirective, [null, null, null, { host: true; self: true; }]>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalIconDirective, "mat-icon[naturalIcon]", never, { "naturalIcon": "naturalIcon"; "size": "size"; }, {}, never, never, false, never>;
43
+ }
@@ -1,12 +1,12 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
- import { NaturalIconsConfig } from './icon.component';
2
+ import { NaturalIconsConfig } from './icon.directive';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "./icon.component";
4
+ import * as i1 from "./icon.directive";
5
5
  import * as i2 from "@angular/common";
6
6
  import * as i3 from "@angular/material/icon";
7
7
  export declare class NaturalIconModule {
8
8
  static forRoot(config: NaturalIconsConfig): ModuleWithProviders<NaturalIconModule>;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalIconModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalIconModule, [typeof i1.NaturalIconComponent], [typeof i2.CommonModule, typeof i3.MatIconModule], [typeof i1.NaturalIconComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalIconModule, [typeof i1.NaturalIconDirective], [typeof i2.CommonModule, typeof i3.MatIconModule], [typeof i1.NaturalIconDirective]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalIconModule>;
12
12
  }
@@ -1,2 +1,2 @@
1
- export * from './icon.component';
1
+ export * from './icon.directive';
2
2
  export * from './icon.module';
@@ -4,10 +4,10 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "./panels.component";
5
5
  import * as i2 from "@angular/common";
6
6
  import * as i3 from "@angular/router";
7
- import * as i4 from "@angular/material/legacy-dialog";
7
+ import * as i4 from "@angular/material/dialog";
8
8
  export declare class NaturalPanelsModule {
9
9
  static forRoot(hooks?: NaturalPanelsHooksConfig): ModuleWithProviders<NaturalPanelsModule>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalPanelsModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalPanelsModule, [typeof i1.NaturalPanelsComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatLegacyDialogModule], [typeof i1.NaturalPanelsComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalPanelsModule, [typeof i1.NaturalPanelsComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatDialogModule], [typeof i1.NaturalPanelsComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalPanelsModule>;
13
13
  }
@@ -1,6 +1,6 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { MediaObserver } from '@angular/flex-layout';
3
- import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
3
+ import { MatDialog } from '@angular/material/dialog';
4
4
  import { ActivatedRoute, Router } from '@angular/router';
5
5
  import { Subject } from 'rxjs';
6
6
  import { NaturalAbstractPanel } from './abstract-panel';
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnChanges, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
- import { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator';
2
+ import { PageEvent } from '@angular/material/paginator';
3
3
  import { NaturalAbstractController } from '../../classes/abstract-controller';
4
4
  import { NaturalDataSource, PaginatedData } from '../../classes/data-source';
5
5
  import { QueryVariables } from '../../classes/query-variable-manager';
@@ -1,17 +1,18 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./relations.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-input";
5
- import * as i4 from "@angular/material/legacy-button";
6
- import * as i5 from "@angular/material/legacy-progress-spinner";
4
+ import * as i3 from "@angular/material/input";
5
+ import * as i4 from "@angular/material/button";
6
+ import * as i5 from "@angular/material/progress-spinner";
7
7
  import * as i6 from "../icon/icon.module";
8
- import * as i7 from "@angular/material/legacy-table";
8
+ import * as i7 from "@angular/material/table";
9
9
  import * as i8 from "../select/select.module";
10
10
  import * as i9 from "../hierarchic-selector/hierarchic-selector.module";
11
- import * as i10 from "@angular/material/legacy-paginator";
12
- import * as i11 from "@angular/material/legacy-tooltip";
11
+ import * as i10 from "@angular/material/paginator";
12
+ import * as i11 from "@angular/material/tooltip";
13
+ import * as i12 from "@angular/material/icon";
13
14
  export declare class NaturalRelationsModule {
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalRelationsModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalRelationsModule, [typeof i1.NaturalRelationsComponent], [typeof i2.CommonModule, typeof i3.MatLegacyInputModule, typeof i4.MatLegacyButtonModule, typeof i5.MatLegacyProgressSpinnerModule, typeof i6.NaturalIconModule, typeof i7.MatLegacyTableModule, typeof i8.NaturalSelectModule, typeof i9.NaturalHierarchicSelectorModule, typeof i10.MatLegacyPaginatorModule, typeof i11.MatLegacyTooltipModule], [typeof i1.NaturalRelationsComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalRelationsModule, [typeof i1.NaturalRelationsComponent], [typeof i2.CommonModule, typeof i3.MatInputModule, typeof i4.MatButtonModule, typeof i5.MatProgressSpinnerModule, typeof i6.NaturalIconModule, typeof i7.MatTableModule, typeof i8.NaturalSelectModule, typeof i9.NaturalHierarchicSelectorModule, typeof i10.MatPaginatorModule, typeof i11.MatTooltipModule, typeof i12.MatIconModule], [typeof i1.NaturalRelationsComponent]>;
16
17
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalRelationsModule>;
17
18
  }
@@ -28,60 +28,60 @@ export interface FilterGroupCondition {
28
28
  [key: string]: FilterGroupConditionField;
29
29
  }
30
30
  export interface FilterGroupConditionField {
31
- between?: BetweenOperator;
32
- equal?: EqualOperator;
33
- greater?: GreaterOperator;
34
- greaterOrEqual?: GreaterOrEqualOperator;
35
- in?: InOperator;
36
- less?: LessOperator;
37
- lessOrEqual?: LessOrEqualOperator;
38
- like?: LikeOperator;
39
- null?: NullOperator;
40
- have?: HaveOperator;
41
- empty?: EmptyOperator;
42
- [key: string]: Literal | undefined;
31
+ between?: BetweenOperator | null;
32
+ equal?: EqualOperator | null;
33
+ greater?: GreaterOperator | null;
34
+ greaterOrEqual?: GreaterOrEqualOperator | null;
35
+ in?: InOperator | null;
36
+ less?: LessOperator | null;
37
+ lessOrEqual?: LessOrEqualOperator | null;
38
+ like?: LikeOperator | null;
39
+ null?: NullOperator | null;
40
+ have?: HaveOperator | null;
41
+ empty?: EmptyOperator | null;
42
+ [key: string]: Literal | undefined | null;
43
43
  }
44
44
  export type Scalar = number | string | boolean;
45
45
  export interface HaveOperator {
46
46
  values: Array<string>;
47
- not?: boolean;
47
+ not?: boolean | null;
48
48
  }
49
49
  export interface EmptyOperator {
50
- not?: boolean;
50
+ not?: boolean | null;
51
51
  }
52
52
  export interface BetweenOperator {
53
53
  from: Scalar;
54
54
  to: Scalar;
55
- not?: boolean;
55
+ not?: boolean | null;
56
56
  }
57
57
  export interface EqualOperator {
58
58
  value: Scalar;
59
- not?: boolean;
59
+ not?: boolean | null;
60
60
  }
61
61
  export interface GreaterOperator {
62
62
  value: Scalar;
63
- not?: boolean;
63
+ not?: boolean | null;
64
64
  }
65
65
  export interface GreaterOrEqualOperator {
66
66
  value: Scalar;
67
- not?: boolean;
67
+ not?: boolean | null;
68
68
  }
69
69
  export interface InOperator {
70
70
  values: Array<Scalar>;
71
- not?: boolean;
71
+ not?: boolean | null;
72
72
  }
73
73
  export interface LessOperator {
74
74
  value: Scalar;
75
- not?: boolean;
75
+ not?: boolean | null;
76
76
  }
77
77
  export interface LessOrEqualOperator {
78
78
  value: Scalar;
79
- not?: boolean;
79
+ not?: boolean | null;
80
80
  }
81
81
  export interface LikeOperator {
82
82
  value: Scalar;
83
- not?: boolean;
83
+ not?: boolean | null;
84
84
  }
85
85
  export interface NullOperator {
86
- not?: boolean;
86
+ not?: boolean | null;
87
87
  }
@@ -6,16 +6,17 @@ import * as i4 from "./dropdown-container/dropdown-container.component";
6
6
  import * as i5 from "./facet-selector/facet-selector.component";
7
7
  import * as i6 from "@angular/common";
8
8
  import * as i7 from "@angular/forms";
9
- import * as i8 from "@angular/material/legacy-input";
10
- import * as i9 from "@angular/material/legacy-button";
11
- import * as i10 from "@angular/material/legacy-menu";
9
+ import * as i8 from "@angular/material/input";
10
+ import * as i9 from "@angular/material/button";
11
+ import * as i10 from "@angular/material/menu";
12
12
  import * as i11 from "@angular/material/core";
13
13
  import * as i12 from "@angular/cdk/portal";
14
14
  import * as i13 from "@angular/cdk/overlay";
15
- import * as i14 from "@angular/material/legacy-list";
15
+ import * as i14 from "@angular/material/list";
16
16
  import * as i15 from "../icon/icon.module";
17
+ import * as i16 from "@angular/material/icon";
17
18
  export declare class NaturalSearchModule {
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<NaturalSearchModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalSearchModule, [typeof i1.NaturalSearchComponent, typeof i2.NaturalGroupComponent, typeof i3.NaturalInputComponent, typeof i4.NaturalDropdownContainerComponent, typeof i5.FacetSelectorComponent], [typeof i6.CommonModule, typeof i7.ReactiveFormsModule, typeof i8.MatLegacyInputModule, typeof i9.MatLegacyButtonModule, typeof i10.MatLegacyMenuModule, typeof i11.MatRippleModule, typeof i12.PortalModule, typeof i13.OverlayModule, typeof i14.MatLegacyListModule, typeof i15.NaturalIconModule], [typeof i1.NaturalSearchComponent]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalSearchModule, [typeof i1.NaturalSearchComponent, typeof i2.NaturalGroupComponent, typeof i3.NaturalInputComponent, typeof i4.NaturalDropdownContainerComponent, typeof i5.FacetSelectorComponent], [typeof i6.CommonModule, typeof i7.ReactiveFormsModule, typeof i8.MatInputModule, typeof i9.MatButtonModule, typeof i10.MatMenuModule, typeof i11.MatRippleModule, typeof i12.PortalModule, typeof i13.OverlayModule, typeof i14.MatListModule, typeof i15.NaturalIconModule, typeof i16.MatIconModule], [typeof i1.NaturalSearchComponent]>;
20
21
  static ɵinj: i0.ɵɵInjectorDeclaration<NaturalSearchModule>;
21
22
  }
@@ -37,11 +37,11 @@ interface BasicFacet {
37
37
  /**
38
38
  * Facet that is only a flag (set or unset)
39
39
  */
40
- export interface FlagFacet extends BasicFacet {
40
+ export interface FlagFacet<Condition> extends BasicFacet {
41
41
  /**
42
42
  * The value to be returned when the flag is set
43
43
  */
44
- condition: any;
44
+ condition: Condition;
45
45
  /**
46
46
  * If true the value is set when the flag does NOT exist and the
47
47
  * value is unset when the flag exists.
@@ -67,7 +67,7 @@ export interface DropdownFacet<C> extends BasicFacet {
67
67
  /**
68
68
  * A facet
69
69
  */
70
- export type Facet = DropdownFacet<any> | FlagFacet;
70
+ export type Facet = DropdownFacet<any> | FlagFacet<any>;
71
71
  /**
72
72
  * Exhaustive list of facets
73
73
  */
@@ -1,7 +1,6 @@
1
1
  import { DoCheck, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
3
3
  import { ErrorStateMatcher } from '@angular/material/core';
4
- import { LegacyFloatLabelType as FloatLabelType } from '@angular/material/legacy-form-field';
5
4
  import { NaturalAbstractController } from '../../classes/abstract-controller';
6
5
  import * as i0 from "@angular/core";
7
6
  /**
@@ -18,7 +17,6 @@ declare class ExternalFormControlMatcher<T, I> extends ErrorStateMatcher {
18
17
  export declare abstract class AbstractSelect<V, I> extends NaturalAbstractController implements OnInit, OnDestroy, ControlValueAccessor, DoCheck {
19
18
  readonly ngControl: NgControl | null;
20
19
  placeholder?: string;
21
- floatPlaceholder: FloatLabelType;
22
20
  /**
23
21
  * If the field is required
24
22
  */
@@ -97,6 +95,6 @@ export declare abstract class AbstractSelect<V, I> extends NaturalAbstractContro
97
95
  */
98
96
  private applyRequired;
99
97
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelect<any, any>, [{ optional: true; self: true; }]>;
100
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelect<any, any>, never, never, { "placeholder": "placeholder"; "floatPlaceholder": "floatPlaceholder"; "required": "required"; "navigateTo": "navigateTo"; "clearLabel": "clearLabel"; "showIcon": "showIcon"; "icon": "icon"; "displayWith": "displayWith"; "disabled": "disabled"; }, { "selectionChange": "selectionChange"; "blur": "blur"; }, never, never, false, never>;
98
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelect<any, any>, never, never, { "placeholder": "placeholder"; "required": "required"; "navigateTo": "navigateTo"; "clearLabel": "clearLabel"; "showIcon": "showIcon"; "icon": "icon"; "displayWith": "displayWith"; "disabled": "disabled"; }, { "selectionChange": "selectionChange"; "blur": "blur"; }, never, never, false, never>;
101
99
  }
102
100
  export {};
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { MatLegacyAutocompleteTrigger as MatAutocompleteTrigger } from '@angular/material/legacy-autocomplete';
3
+ import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
4
4
  import { Observable } from 'rxjs';
5
5
  import { PaginatedData } from '../../../classes/data-source';
6
6
  import { QueryVariables } from '../../../classes/query-variable-manager';
@@ -31,11 +31,6 @@ type V<TService> = string | ExtractTallOne<TService>;
31
31
  * <natural-select placeholder="my placeholder"></natural-select>
32
32
  * ```
33
33
  *
34
- * Never float placeholder :
35
- * ```html
36
- * <natural-select placeholder="my placeholder" floatPlaceholder="never"></natural-select>
37
- * ```
38
- *
39
34
  * Search with like %xxx% on specified field `name` instead of custom filter on whole object
40
35
  * ```html
41
36
  * <natural-select searchField="name"></natural-select>
@@ -14,9 +14,6 @@ import * as i0 from "@angular/core";
14
14
  *
15
15
  * Placeholder :
16
16
  * <natural-select placeholder="amazing placeholder">
17
- *
18
- * Never float placeholder :
19
- * <natural-select placeholder="amazing placeholder" floatPlaceholder="never">
20
17
  */
21
18
  export declare class NaturalSelectHierarchicComponent extends AbstractSelect<Literal, string> implements OnInit, OnDestroy, ControlValueAccessor {
22
19
  private readonly hierarchicSelectorDialogService;