@ecodev/natural 61.0.0 → 61.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/modules/alert/alert.service.mjs +9 -9
- package/esm2022/lib/modules/alert/confirm.component.mjs +6 -9
- package/esm2022/lib/modules/avatar/component/avatar.component.mjs +9 -9
- package/esm2022/lib/modules/columns-picker/columns-picker.component.mjs +27 -28
- package/esm2022/lib/modules/columns-picker/public-api.mjs +1 -1
- package/esm2022/lib/modules/common/directives/background-density.directive.mjs +7 -7
- package/esm2022/lib/modules/common/directives/linkable-tab.directive.mjs +11 -12
- package/esm2022/lib/modules/common/directives/src-density.directive.mjs +7 -7
- package/esm2022/lib/modules/common/pipes/enum.pipe.mjs +7 -7
- package/esm2022/lib/modules/common/public-api.mjs +2 -2
- package/esm2022/lib/modules/common/services/seo.service.mjs +13 -22
- package/esm2022/lib/modules/dialog-trigger/dialog-trigger.component.mjs +10 -10
- package/esm2022/lib/modules/dropdown-components/public-api.mjs +3 -3
- package/esm2022/lib/modules/dropdown-components/type-boolean/type-boolean.component.mjs +10 -13
- package/esm2022/lib/modules/dropdown-components/type-date/type-date.component.mjs +14 -19
- package/esm2022/lib/modules/dropdown-components/type-date-range/type-date-range.component.mjs +14 -20
- package/esm2022/lib/modules/dropdown-components/type-number/type-number.component.mjs +14 -16
- package/esm2022/lib/modules/dropdown-components/type-options/type-options.component.mjs +10 -10
- package/esm2022/lib/modules/dropdown-components/type-select/type-select.component.mjs +6 -8
- package/esm2022/lib/modules/dropdown-components/type-text/type-text.component.mjs +12 -14
- package/esm2022/lib/modules/file/component/file.component.mjs +14 -17
- package/esm2022/lib/modules/file/file.service.mjs +6 -9
- package/esm2022/lib/modules/file/public-api.mjs +1 -1
- package/esm2022/lib/modules/fixed-button-detail/fixed-button-detail.component.mjs +9 -8
- package/esm2022/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.mjs +13 -14
- package/esm2022/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.service.mjs +6 -6
- package/esm2022/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.component.mjs +8 -10
- package/esm2022/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.service.mjs +7 -7
- package/esm2022/lib/modules/icon/icon.directive.mjs +12 -20
- package/esm2022/lib/modules/logger/error-handler.mjs +10 -24
- package/esm2022/lib/modules/logger/public-api.mjs +2 -2
- package/esm2022/lib/modules/matomo/matomo.service.mjs +11 -19
- package/esm2022/lib/modules/panels/panels.component.mjs +9 -8
- package/esm2022/lib/modules/panels/panels.service.mjs +13 -17
- package/esm2022/lib/modules/relations/relations.component.mjs +29 -29
- package/esm2022/lib/modules/search/dropdown-container/dropdown-container.component.mjs +12 -15
- package/esm2022/lib/modules/search/dropdown-container/dropdown.service.mjs +8 -9
- package/esm2022/lib/modules/search/facet-selector/facet-selector.component.mjs +11 -14
- package/esm2022/lib/modules/search/input/input.component.mjs +26 -27
- package/esm2022/lib/modules/search/public-api.mjs +1 -1
- package/esm2022/lib/modules/search/search/search.component.mjs +19 -20
- package/esm2022/lib/modules/select/select-enum/select-enum.component.mjs +15 -18
- package/esm2022/lib/modules/select/select-hierarchic/select-hierarchic.component.mjs +16 -19
- package/esm2022/lib/modules/sidenav/sidenav-container/sidenav-container.component.mjs +9 -10
- package/esm2022/lib/modules/sidenav/sidenav.service.mjs +12 -17
- package/esm2022/lib/services/enum.service.mjs +7 -8
- package/esm2022/lib/services/link-mutation.service.mjs +7 -8
- package/esm2022/lib/services/persistence.service.mjs +9 -19
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/ecodev-natural.mjs +325 -421
- package/fesm2022/ecodev-natural.mjs.map +1 -1
- package/lib/modules/alert/alert.service.d.ts +1 -3
- package/lib/modules/alert/confirm.component.d.ts +1 -2
- package/lib/modules/avatar/component/avatar.component.d.ts +0 -2
- package/lib/modules/columns-picker/columns-picker.component.d.ts +1 -3
- package/lib/modules/columns-picker/public-api.d.ts +1 -1
- package/lib/modules/common/directives/background-density.directive.d.ts +0 -2
- package/lib/modules/common/directives/linkable-tab.directive.d.ts +2 -4
- package/lib/modules/common/directives/src-density.directive.d.ts +0 -2
- package/lib/modules/common/pipes/enum.pipe.d.ts +0 -2
- package/lib/modules/common/public-api.d.ts +2 -1
- package/lib/modules/common/services/seo.service.d.ts +2 -3
- package/lib/modules/dialog-trigger/dialog-trigger.component.d.ts +3 -3
- package/lib/modules/dropdown-components/public-api.d.ts +9 -9
- package/lib/modules/dropdown-components/type-boolean/type-boolean.component.d.ts +1 -3
- package/lib/modules/dropdown-components/type-date/type-date.component.d.ts +1 -3
- package/lib/modules/dropdown-components/type-date-range/type-date-range.component.d.ts +2 -3
- package/lib/modules/dropdown-components/type-number/type-number.component.d.ts +1 -2
- package/lib/modules/dropdown-components/type-options/type-options.component.d.ts +3 -3
- package/lib/modules/dropdown-components/type-select/type-select.component.d.ts +1 -2
- package/lib/modules/dropdown-components/type-text/type-text.component.d.ts +1 -2
- package/lib/modules/file/component/file.component.d.ts +0 -3
- package/lib/modules/file/file.service.d.ts +0 -1
- package/lib/modules/file/public-api.d.ts +1 -1
- package/lib/modules/fixed-button-detail/fixed-button-detail.component.d.ts +1 -2
- package/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.d.ts +2 -3
- package/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.service.d.ts +0 -2
- package/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.component.d.ts +1 -2
- package/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.service.d.ts +1 -2
- package/lib/modules/icon/icon.directive.d.ts +3 -5
- package/lib/modules/logger/error-handler.d.ts +3 -4
- package/lib/modules/logger/public-api.d.ts +2 -1
- package/lib/modules/matomo/matomo.service.d.ts +2 -5
- package/lib/modules/panels/panels.component.d.ts +1 -3
- package/lib/modules/panels/panels.service.d.ts +2 -6
- package/lib/modules/relations/relations.component.d.ts +3 -5
- package/lib/modules/search/dropdown-container/dropdown-container.component.d.ts +3 -4
- package/lib/modules/search/dropdown-container/dropdown.service.d.ts +1 -3
- package/lib/modules/search/facet-selector/facet-selector.component.d.ts +1 -2
- package/lib/modules/search/input/input.component.d.ts +1 -3
- package/lib/modules/search/public-api.d.ts +5 -5
- package/lib/modules/search/search/search.component.d.ts +0 -2
- package/lib/modules/select/select-enum/select-enum.component.d.ts +4 -4
- package/lib/modules/select/select-hierarchic/select-hierarchic.component.d.ts +4 -4
- package/lib/modules/sidenav/sidenav-container/sidenav-container.component.d.ts +0 -1
- package/lib/modules/sidenav/sidenav.service.d.ts +2 -7
- package/lib/services/enum.service.d.ts +0 -2
- package/lib/services/link-mutation.service.d.ts +0 -2
- package/lib/services/persistence.service.d.ts +2 -4
- package/package.json +1 -1
- package/public-api.d.ts +3 -2
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MatSnackBar, MatSnackBarRef, SimpleSnackBar } from '@angular/material/snack-bar';
|
|
1
|
+
import { MatSnackBarRef, SimpleSnackBar } from '@angular/material/snack-bar';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class NaturalAlertService {
|
|
6
5
|
private readonly dialog;
|
|
7
6
|
private readonly snackBar;
|
|
8
|
-
constructor(dialog: MatDialog, snackBar: MatSnackBar);
|
|
9
7
|
/**
|
|
10
8
|
* Show an informative message in a snack bar
|
|
11
9
|
*/
|
|
@@ -6,8 +6,7 @@ export type NaturalConfirmData = {
|
|
|
6
6
|
cancelText: string;
|
|
7
7
|
};
|
|
8
8
|
export declare class NaturalConfirmComponent {
|
|
9
|
-
data: NaturalConfirmData;
|
|
10
|
-
constructor(data: NaturalConfirmData);
|
|
9
|
+
readonly data: NaturalConfirmData;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalConfirmComponent, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalConfirmComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
13
12
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AvatarService } from '../service/avatar.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
type Style = Partial<CSSStyleDeclaration>;
|
|
5
4
|
/**
|
|
@@ -23,7 +22,6 @@ export declare class NaturalAvatarComponent implements OnChanges {
|
|
|
23
22
|
hostStyle: Style;
|
|
24
23
|
private currentIndex;
|
|
25
24
|
private sources;
|
|
26
|
-
constructor(avatarService: AvatarService);
|
|
27
25
|
/**
|
|
28
26
|
* Detect inputs change
|
|
29
27
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AvailableColumn, Button } from './types';
|
|
3
3
|
import { ThemePalette } from '@angular/material/core';
|
|
4
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class NaturalColumnsPickerComponent implements OnChanges {
|
|
7
|
-
private readonly breakpointObserver;
|
|
8
6
|
private readonly destroyRef;
|
|
7
|
+
private readonly breakpointObserver;
|
|
9
8
|
private _selections?;
|
|
10
9
|
private _availableColumns;
|
|
11
10
|
buttons: readonly Readonly<Button>[] | null;
|
|
@@ -31,7 +30,6 @@ export declare class NaturalColumnsPickerComponent implements OnChanges {
|
|
|
31
30
|
*/
|
|
32
31
|
displayedColumns: Required<AvailableColumn>[];
|
|
33
32
|
readonly isMobile: import("rxjs").Observable<boolean>;
|
|
34
|
-
constructor(breakpointObserver: BreakpointObserver);
|
|
35
33
|
private initColumns;
|
|
36
34
|
updateColumns(): void;
|
|
37
35
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AvailableColumn, Button, SubButton } from './types';
|
|
1
|
+
export type { AvailableColumn, Button, SubButton } from './types';
|
|
2
2
|
export * from './columns-picker.component';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class NaturalBackgroundDensityDirective {
|
|
4
3
|
private readonly elementRef;
|
|
@@ -33,7 +32,6 @@ export declare class NaturalBackgroundDensityDirective {
|
|
|
33
32
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/image/image-set
|
|
34
33
|
*/
|
|
35
34
|
set naturalBackgroundDensity(src: string);
|
|
36
|
-
constructor(elementRef: ElementRef<HTMLElement>);
|
|
37
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalBackgroundDensityDirective, never>;
|
|
38
36
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalBackgroundDensityDirective, "[naturalBackgroundDensity]", never, { "naturalBackgroundDensity": { "alias": "naturalBackgroundDensity"; "required": true; }; }, {}, never, never, true, never>;
|
|
39
37
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { MatTabGroup } from '@angular/material/tabs';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/**
|
|
6
4
|
* Usage :
|
|
@@ -14,16 +12,16 @@ import * as i0 from "@angular/core";
|
|
|
14
12
|
* ```
|
|
15
13
|
*/
|
|
16
14
|
export declare class NaturalLinkableTabDirective implements AfterViewInit {
|
|
15
|
+
private readonly destroyRef;
|
|
17
16
|
private readonly component;
|
|
18
17
|
private readonly route;
|
|
19
18
|
private readonly router;
|
|
20
|
-
private readonly destroyRef;
|
|
21
19
|
/**
|
|
22
20
|
* If false, disables the persistent navigation
|
|
23
21
|
*/
|
|
24
22
|
naturalLinkableTab: boolean | '';
|
|
25
23
|
private isLoadingRouteConfig;
|
|
26
|
-
constructor(
|
|
24
|
+
constructor();
|
|
27
25
|
ngAfterViewInit(): void;
|
|
28
26
|
private getTabIndex;
|
|
29
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalLinkableTabDirective, never>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare function densities(src: string, forImageSet: boolean): string;
|
|
4
3
|
export declare class NaturalSrcDensityDirective {
|
|
@@ -29,7 +28,6 @@ export declare class NaturalSrcDensityDirective {
|
|
|
29
28
|
* See https://web.dev/codelab-density-descriptors/
|
|
30
29
|
*/
|
|
31
30
|
set naturalSrcDensity(src: string);
|
|
32
|
-
constructor(elementRef: ElementRef<HTMLImageElement>);
|
|
33
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalSrcDensityDirective, never>;
|
|
34
32
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalSrcDensityDirective, "img[naturalSrcDensity]", never, { "naturalSrcDensity": { "alias": "naturalSrcDensity"; "required": true; }; }, {}, never, never, true, never>;
|
|
35
33
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { NaturalEnumService } from '../../../services/enum.service';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
@@ -9,7 +8,6 @@ import * as i0 from "@angular/core";
|
|
|
9
8
|
*/
|
|
10
9
|
export declare class NaturalEnumPipe implements PipeTransform {
|
|
11
10
|
private readonly enumService;
|
|
12
|
-
constructor(enumService: NaturalEnumService);
|
|
13
11
|
transform(value: any, enumName: string): Observable<string>;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalEnumPipe, never>;
|
|
15
13
|
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalEnumPipe, "enum", true>;
|
|
@@ -6,5 +6,6 @@ export { NaturalTimeAgoPipe } from './pipes/time-ago.pipe';
|
|
|
6
6
|
export * from './services/memory-storage';
|
|
7
7
|
export { NaturalSrcDensityDirective } from './directives/src-density.directive';
|
|
8
8
|
export { NaturalBackgroundDensityDirective } from './directives/background-density.directive';
|
|
9
|
-
export { NATURAL_SEO_CONFIG,
|
|
9
|
+
export { NATURAL_SEO_CONFIG, NaturalSeoService } from './services/seo.service';
|
|
10
|
+
export type { NaturalSeoConfig, NaturalSeo, NaturalSeoBasic, NaturalSeoResolve, NaturalSeoCallback, NaturalSeoResolveData, } from './services/seo.service';
|
|
10
11
|
export { provideSeo } from './services/seo.provider';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { Data, Router } from '@angular/router';
|
|
2
|
+
import { Data } from '@angular/router';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export type NaturalSeo = NaturalSeoBasic | NaturalSeoCallback | NaturalSeoResolve;
|
|
@@ -109,7 +108,7 @@ export declare class NaturalSeoService {
|
|
|
109
108
|
private locale;
|
|
110
109
|
private routeData?;
|
|
111
110
|
private config;
|
|
112
|
-
constructor(
|
|
111
|
+
constructor();
|
|
113
112
|
/**
|
|
114
113
|
* Update the SEO with given info. The extra part and app name will be appended automatically.
|
|
115
114
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentType } from '@angular/cdk/portal';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import { ActivatedRoute,
|
|
3
|
+
import { MatDialogConfig } from '@angular/material/dialog';
|
|
4
|
+
import { ActivatedRoute, RouterLink } from '@angular/router';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export type NaturalDialogTriggerRoutingData<T, D> = {
|
|
7
7
|
component: ComponentType<T>;
|
|
@@ -19,7 +19,7 @@ export declare class NaturalDialogTriggerComponent<T, D> implements OnDestroy {
|
|
|
19
19
|
private readonly router;
|
|
20
20
|
private readonly dialogRef;
|
|
21
21
|
private readonly triggerConfig;
|
|
22
|
-
constructor(
|
|
22
|
+
constructor();
|
|
23
23
|
/**
|
|
24
24
|
* Called when router leaves route, and so on, closes the modal with undefined value to prevent a new redirection
|
|
25
25
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { TypeSelectConfiguration, TypeSelectItem, TypeSelectComponent } from './type-select/type-select.component';
|
|
2
|
-
export { TypeSelectNaturalConfiguration, TypeNaturalSelectComponent, } from './type-natural-select/type-natural-select.component';
|
|
3
|
-
export { TypeNumberConfiguration, TypeNumberComponent } from './type-number/type-number.component';
|
|
4
|
-
export { TypeHierarchicSelectorConfiguration, TypeHierarchicSelectorComponent, } from './type-hierarchic-selector/type-hierarchic-selector.component';
|
|
5
|
-
export { TypeDateConfiguration, TypeDateComponent } from './type-date/type-date.component';
|
|
6
|
-
export { TypeDateRangeConfiguration, TypeDateRangeComponent } from './type-date-range/type-date-range.component';
|
|
1
|
+
export { type TypeSelectConfiguration, type TypeSelectItem, TypeSelectComponent, } from './type-select/type-select.component';
|
|
2
|
+
export { type TypeSelectNaturalConfiguration, TypeNaturalSelectComponent, } from './type-natural-select/type-natural-select.component';
|
|
3
|
+
export { type TypeNumberConfiguration, TypeNumberComponent } from './type-number/type-number.component';
|
|
4
|
+
export { type TypeHierarchicSelectorConfiguration, TypeHierarchicSelectorComponent, } from './type-hierarchic-selector/type-hierarchic-selector.component';
|
|
5
|
+
export { type TypeDateConfiguration, TypeDateComponent } from './type-date/type-date.component';
|
|
6
|
+
export { type TypeDateRangeConfiguration, TypeDateRangeComponent } from './type-date-range/type-date-range.component';
|
|
7
7
|
export { TypeTextComponent, InvalidWithValueStateMatcher } from './type-text/type-text.component';
|
|
8
|
-
export { TypeBooleanConfiguration, TypeBooleanComponent } from './type-boolean/type-boolean.component';
|
|
9
|
-
export { TypeOptionsConfiguration, TypeOption, TypeOptionsComponent } from './type-options/type-options.component';
|
|
10
|
-
export { possibleComparableOperators, PossibleComparableOpertorKeys } from './types';
|
|
8
|
+
export { type TypeBooleanConfiguration, TypeBooleanComponent } from './type-boolean/type-boolean.component';
|
|
9
|
+
export { type TypeOptionsConfiguration, type TypeOption, TypeOptionsComponent, } from './type-options/type-options.component';
|
|
10
|
+
export { possibleComparableOperators, type PossibleComparableOpertorKeys } from './types';
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { NaturalDropdownData } from '../../search/dropdown-container/dropdown.service';
|
|
2
1
|
import { DropdownComponent } from '../../search/types/dropdown-component';
|
|
3
2
|
import { TypeOptionsComponent } from '../type-options/type-options.component';
|
|
4
|
-
import { NaturalDropdownRef } from '../../search/dropdown-container/dropdown-ref';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export type TypeBooleanConfiguration = {
|
|
7
5
|
displayWhenActive: string;
|
|
8
6
|
displayWhenInactive: string;
|
|
9
7
|
};
|
|
10
8
|
export declare class TypeBooleanComponent extends TypeOptionsComponent implements DropdownComponent {
|
|
11
|
-
constructor(
|
|
9
|
+
constructor();
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeBooleanComponent, never>;
|
|
13
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<TypeBooleanComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
12
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import { DateAdapter, MatDateFormats } from '@angular/material/core';
|
|
3
2
|
import { BehaviorSubject } from 'rxjs';
|
|
4
3
|
import { FilterGroupConditionField } from '../../search/classes/graphql-doctrine.types';
|
|
5
|
-
import { NaturalDropdownData } from '../../search/dropdown-container/dropdown.service';
|
|
6
4
|
import { DropdownComponent } from '../../search/types/dropdown-component';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export type TypeDateConfiguration<D = Date> = {
|
|
@@ -24,7 +22,7 @@ export declare class TypeDateComponent<D = any> implements DropdownComponent {
|
|
|
24
22
|
today: FormControl<boolean | null>;
|
|
25
23
|
}>;
|
|
26
24
|
private readonly defaults;
|
|
27
|
-
constructor(
|
|
25
|
+
constructor();
|
|
28
26
|
getCondition(): FilterGroupConditionField;
|
|
29
27
|
isValid(): boolean;
|
|
30
28
|
isDirty(): boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
|
|
2
|
-
import {
|
|
2
|
+
import { ErrorStateMatcher } from '@angular/material/core';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { DropdownComponent } from '../../search/types/dropdown-component';
|
|
5
|
-
import { NaturalDropdownData } from '../../search/dropdown-container/dropdown.service';
|
|
6
5
|
import { FilterGroupConditionField } from '../../search/classes/graphql-doctrine.types';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export type TypeDateRangeConfiguration<D = any> = {
|
|
@@ -30,7 +29,7 @@ export declare class TypeDateRangeComponent<D = any> implements DropdownComponen
|
|
|
30
29
|
to: FormControl<D | null>;
|
|
31
30
|
}>;
|
|
32
31
|
private readonly defaults;
|
|
33
|
-
constructor(
|
|
32
|
+
constructor();
|
|
34
33
|
getCondition(): FilterGroupConditionField;
|
|
35
34
|
isValid(): boolean;
|
|
36
35
|
isDirty(): boolean;
|
|
@@ -2,7 +2,6 @@ import { FormControl, FormGroup } from '@angular/forms';
|
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { FilterGroupConditionField } from '../../search/classes/graphql-doctrine.types';
|
|
4
4
|
import { NaturalDropdownRef } from '../../search/dropdown-container/dropdown-ref';
|
|
5
|
-
import { NaturalDropdownData } from '../../search/dropdown-container/dropdown.service';
|
|
6
5
|
import { DropdownComponent } from '../../search/types/dropdown-component';
|
|
7
6
|
import { InvalidWithValueStateMatcher } from '../type-text/type-text.component';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
@@ -24,7 +23,7 @@ export declare class TypeNumberComponent implements DropdownComponent {
|
|
|
24
23
|
}>;
|
|
25
24
|
readonly operators: readonly import("../types").PossibleComparableOperator[];
|
|
26
25
|
private readonly defaults;
|
|
27
|
-
constructor(
|
|
26
|
+
constructor();
|
|
28
27
|
getCondition(): FilterGroupConditionField;
|
|
29
28
|
isValid(): boolean;
|
|
30
29
|
isDirty(): boolean;
|
|
@@ -14,13 +14,13 @@ export type TypeOptionsConfiguration = {
|
|
|
14
14
|
options: TypeOption[];
|
|
15
15
|
};
|
|
16
16
|
export declare class TypeOptionsComponent implements DropdownComponent {
|
|
17
|
-
data: NaturalDropdownData<TypeOptionsConfiguration>;
|
|
18
|
-
protected dropdownRef: NaturalDropdownRef;
|
|
17
|
+
readonly data: NaturalDropdownData<TypeOptionsConfiguration>;
|
|
19
18
|
readonly renderedValue: BehaviorSubject<string>;
|
|
20
19
|
readonly formControl: FormControl<TypeOption>;
|
|
21
20
|
readonly configuration: Required<TypeOptionsConfiguration>;
|
|
22
21
|
private readonly defaults;
|
|
23
|
-
|
|
22
|
+
protected readonly dropdownRef: NaturalDropdownRef;
|
|
23
|
+
constructor(data: NaturalDropdownData<TypeOptionsConfiguration>);
|
|
24
24
|
getCondition(): FilterGroupConditionField;
|
|
25
25
|
isValid(): boolean;
|
|
26
26
|
isDirty(): boolean;
|
|
@@ -2,7 +2,6 @@ import { AfterViewInit } from '@angular/core';
|
|
|
2
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
|
-
import { NaturalDropdownData } from '../../search/dropdown-container/dropdown.service';
|
|
6
5
|
import { DropdownComponent } from '../../search/types/dropdown-component';
|
|
7
6
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
8
7
|
import { PossibleDiscreteOperatorKeys } from '../types';
|
|
@@ -37,7 +36,7 @@ export declare class TypeSelectComponent implements DropdownComponent, AfterView
|
|
|
37
36
|
items: TypeSelectItem[];
|
|
38
37
|
readonly configuration: Required<TypeSelectConfiguration>;
|
|
39
38
|
private readonly defaults;
|
|
40
|
-
constructor(
|
|
39
|
+
constructor();
|
|
41
40
|
ngAfterViewInit(): void;
|
|
42
41
|
getId(item: TypeSelectItem): Scalar;
|
|
43
42
|
getDisplay(item: TypeSelectItem): Scalar;
|
|
@@ -3,7 +3,6 @@ import { ErrorStateMatcher } from '@angular/material/core';
|
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { FilterGroupConditionField } from '../../search/classes/graphql-doctrine.types';
|
|
5
5
|
import { NaturalDropdownRef } from '../../search/dropdown-container/dropdown-ref';
|
|
6
|
-
import { NaturalDropdownData } from '../../search/dropdown-container/dropdown.service';
|
|
7
6
|
import { DropdownComponent } from '../../search/types/dropdown-component';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
/**
|
|
@@ -17,7 +16,7 @@ export declare class TypeTextComponent implements DropdownComponent {
|
|
|
17
16
|
readonly renderedValue: BehaviorSubject<string>;
|
|
18
17
|
readonly formCtrl: FormControl<string>;
|
|
19
18
|
readonly matcher: InvalidWithValueStateMatcher;
|
|
20
|
-
constructor(
|
|
19
|
+
constructor();
|
|
21
20
|
getCondition(): FilterGroupConditionField;
|
|
22
21
|
isValid(): boolean;
|
|
23
22
|
isDirty(): boolean;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { NaturalFileService } from '../file.service';
|
|
5
4
|
import { FileModel } from '../types';
|
|
6
|
-
import { NaturalAlertService } from '../../alert/alert.service';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export declare class NaturalFileComponent implements OnInit, OnChanges {
|
|
9
7
|
private readonly naturalFileService;
|
|
@@ -47,7 +45,6 @@ export declare class NaturalFileComponent implements OnInit, OnChanges {
|
|
|
47
45
|
readonly modelChange: EventEmitter<FileModel>;
|
|
48
46
|
imagePreview: string;
|
|
49
47
|
filePreview: string | null;
|
|
50
|
-
constructor(naturalFileService: NaturalFileService, alertService: NaturalAlertService, document: Document);
|
|
51
48
|
ngOnChanges(changes: SimpleChanges): void;
|
|
52
49
|
ngOnInit(): void;
|
|
53
50
|
upload(file: File): void;
|
|
@@ -13,7 +13,6 @@ export declare class NaturalFileService {
|
|
|
13
13
|
* component.
|
|
14
14
|
*/
|
|
15
15
|
readonly filesChanged: Subject<FileSelection>;
|
|
16
|
-
constructor(document: Document);
|
|
17
16
|
getDownloadLink(model: FileModel | null): null | string;
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFileService, never>;
|
|
19
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<NaturalFileService>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './file-drop.directive';
|
|
2
2
|
export * from './file-select.directive';
|
|
3
3
|
export * from './file.service';
|
|
4
|
-
export { InvalidFile, FileSelection } from './abstract-file';
|
|
4
|
+
export type { InvalidFile, FileSelection } from './abstract-file';
|
|
5
5
|
export * from './component/file.component';
|
|
6
6
|
export * from './types';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute } from '@angular/router';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
type Model = {
|
|
6
5
|
id?: string;
|
|
@@ -17,7 +16,7 @@ export declare class NaturalFixedButtonDetailComponent {
|
|
|
17
16
|
form: FormGroup;
|
|
18
17
|
readonly create: EventEmitter<void>;
|
|
19
18
|
readonly delete: EventEmitter<void>;
|
|
20
|
-
constructor(
|
|
19
|
+
constructor();
|
|
21
20
|
clickCreate(): void;
|
|
22
21
|
clickDelete(): void;
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonDetailComponent, never>;
|
package/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ import { HierarchicFlatNode } from '../classes/flat-node';
|
|
|
8
8
|
import { NaturalHierarchicConfiguration } from '../classes/hierarchic-configuration';
|
|
9
9
|
import { HierarchicFiltersConfiguration } from '../classes/hierarchic-filters-configuration';
|
|
10
10
|
import { HierarchicModelNode } from '../classes/model-node';
|
|
11
|
-
import {
|
|
11
|
+
import { OrganizedModelSelection } from './hierarchic-selector.service';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class NaturalHierarchicSelectorComponent implements OnInit, OnChanges {
|
|
14
|
-
private readonly hierarchicSelectorService;
|
|
15
14
|
private readonly destroyRef;
|
|
15
|
+
private readonly hierarchicSelectorService;
|
|
16
16
|
/**
|
|
17
17
|
* Function that receives a model and returns a string for display value
|
|
18
18
|
*/
|
|
@@ -71,7 +71,6 @@ export declare class NaturalHierarchicSelectorComponent implements OnInit, OnCha
|
|
|
71
71
|
* Cache for transformed nodes
|
|
72
72
|
*/
|
|
73
73
|
private flatNodeMap;
|
|
74
|
-
constructor(hierarchicSelectorService: NaturalHierarchicSelectorService);
|
|
75
74
|
/**
|
|
76
75
|
* Angular OnChange implementation
|
|
77
76
|
*/
|
package/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.service.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
1
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
2
|
import { QueryVariables } from '../../../classes/query-variable-manager';
|
|
4
3
|
import { HierarchicFlatNode } from '../classes/flat-node';
|
|
@@ -21,7 +20,6 @@ export declare class NaturalHierarchicSelectorService {
|
|
|
21
20
|
* The list should be sorted in the order of the hierarchic (list first parent rules, then child rules)
|
|
22
21
|
*/
|
|
23
22
|
private configuration;
|
|
24
|
-
constructor(injector: Injector);
|
|
25
23
|
/**
|
|
26
24
|
* Init component by saving the complete configuration, and then retrieving root elements.
|
|
27
25
|
* Updates **another** observable (this.dataChange) when data is retrieved.
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
1
|
import { NaturalSearchFacets } from '../../search/types/facet';
|
|
3
2
|
import { NaturalSearchSelections } from '../../search/types/values';
|
|
4
3
|
import { NaturalHierarchicConfiguration } from '../classes/hierarchic-configuration';
|
|
@@ -49,7 +48,7 @@ export declare class NaturalHierarchicSelectorDialogComponent {
|
|
|
49
48
|
* Natural search selections after initialisation
|
|
50
49
|
*/
|
|
51
50
|
searchSelectionsOutput: NaturalSearchSelections | undefined | null;
|
|
52
|
-
constructor(
|
|
51
|
+
constructor();
|
|
53
52
|
close(selected: OrganizedModelSelection | undefined): void;
|
|
54
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalHierarchicSelectorDialogComponent, never>;
|
|
55
54
|
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalHierarchicSelectorDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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 {
|
|
5
5
|
private readonly dialog;
|
|
6
|
-
constructor(dialog: MatDialog);
|
|
7
6
|
open(hierarchicConfig: HierarchicDialogConfig, dialogConfig?: MatDialogConfig): MatDialogRef<NaturalHierarchicSelectorDialogComponent, HierarchicDialogResult>;
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalHierarchicSelectorDialogService, never>;
|
|
9
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<NaturalHierarchicSelectorDialogService>;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { MatIcon, MatIconRegistry } from '@angular/material/icon';
|
|
3
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
export type NaturalIconConfig = {
|
|
6
4
|
svg?: string;
|
|
@@ -29,13 +27,13 @@ export declare class NaturalIconDirective {
|
|
|
29
27
|
private readonly matIconRegistry;
|
|
30
28
|
private readonly domSanitizer;
|
|
31
29
|
private readonly config;
|
|
32
|
-
readonly matIconComponent
|
|
30
|
+
private readonly matIconComponent;
|
|
33
31
|
private _size;
|
|
34
32
|
private classes;
|
|
35
|
-
constructor(
|
|
33
|
+
constructor();
|
|
36
34
|
set naturalIcon(value: string);
|
|
37
35
|
set size(size: number | undefined | null);
|
|
38
36
|
private registerIcons;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalIconDirective,
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalIconDirective, never>;
|
|
40
38
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalIconDirective, "mat-icon[naturalIcon]", never, { "naturalIcon": { "alias": "naturalIcon"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
39
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
1
|
import { ErrorHandler, InjectionToken } from '@angular/core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
@@ -40,14 +39,14 @@ export declare class NaturalErrorHandler extends ErrorHandler {
|
|
|
40
39
|
private readonly http;
|
|
41
40
|
private readonly document;
|
|
42
41
|
private readonly url;
|
|
43
|
-
private readonly loggerExtra
|
|
44
|
-
constructor(
|
|
42
|
+
private readonly loggerExtra;
|
|
43
|
+
constructor();
|
|
45
44
|
handleError(error: any): void;
|
|
46
45
|
private toMessage;
|
|
47
46
|
/**
|
|
48
47
|
* Send parameters to remote log
|
|
49
48
|
*/
|
|
50
49
|
private postLog;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalErrorHandler,
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalErrorHandler, never>;
|
|
52
51
|
static ɵprov: i0.ɵɵInjectableDeclaration<NaturalErrorHandler>;
|
|
53
52
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { provideErrorHandler } from './error.module';
|
|
2
|
-
export { NaturalErrorHandler, NaturalLoggerConfigExtra, NaturalLoggerConfigUrl
|
|
2
|
+
export { NaturalErrorHandler, NaturalLoggerConfigExtra, NaturalLoggerConfigUrl } from './error-handler';
|
|
3
|
+
export type { NaturalLoggerExtra, NaturalLoggerType } from './error-handler';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { Title } from '@angular/platform-browser';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
/**
|
|
5
3
|
* Incomplete list of Matomo functions. But it should be enough
|
|
@@ -17,13 +15,12 @@ export type PaqItem = [MatomoFunction, ...(number | string | null)[]];
|
|
|
17
15
|
export declare class NaturalMatomoService {
|
|
18
16
|
private readonly router;
|
|
19
17
|
private readonly document;
|
|
20
|
-
readonly platformId: object;
|
|
21
18
|
private readonly titleService;
|
|
22
|
-
private subscription;
|
|
23
19
|
private readonly isBrowser;
|
|
24
20
|
private readonly window;
|
|
21
|
+
private subscription;
|
|
25
22
|
private referrerUrl;
|
|
26
|
-
constructor(
|
|
23
|
+
constructor();
|
|
27
24
|
/**
|
|
28
25
|
* Inject Matomo script and start tracking all page navigation
|
|
29
26
|
*/
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { NaturalPanelsService } from './panels.service';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
export declare class NaturalPanelsComponent implements OnDestroy {
|
|
6
4
|
private readonly panelsService;
|
|
7
|
-
constructor(
|
|
5
|
+
constructor();
|
|
8
6
|
ngOnDestroy(): void;
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalPanelsComponent, never>;
|
|
10
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalPanelsComponent, "natural-panels", never, {}, {}, never, never, true, never>;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Injector } from '@angular/core';
|
|
3
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
1
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
2
|
import { Subject } from 'rxjs';
|
|
6
3
|
import { NaturalAbstractPanel } from './abstract-panel';
|
|
7
|
-
import { NaturalPanelsHooksConfig } from './types';
|
|
8
4
|
import * as i0 from "@angular/core";
|
|
9
5
|
/**
|
|
10
6
|
* TODO: implement route update when closing dialog with escape
|
|
@@ -62,7 +58,7 @@ export declare class NaturalPanelsService {
|
|
|
62
58
|
* Used to change panels stack orientation on small screens
|
|
63
59
|
*/
|
|
64
60
|
private isVertical;
|
|
65
|
-
constructor(
|
|
61
|
+
constructor();
|
|
66
62
|
start(route: ActivatedRoute): void;
|
|
67
63
|
/**
|
|
68
64
|
* Uses given configuration to add in the end of current url
|
|
@@ -2,10 +2,9 @@ import { EventEmitter, OnChanges, OnInit, TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { PageEvent } from '@angular/material/paginator';
|
|
3
3
|
import { NaturalDataSource, PaginatedData } from '../../classes/data-source';
|
|
4
4
|
import { QueryVariables } from '../../classes/query-variable-manager';
|
|
5
|
-
import { HierarchicFiltersConfiguration } from '
|
|
6
|
-
import { LinkableObject
|
|
5
|
+
import { HierarchicFiltersConfiguration } from '../hierarchic-selector/classes/hierarchic-filters-configuration';
|
|
6
|
+
import { LinkableObject } from '../../services/link-mutation.service';
|
|
7
7
|
import { NaturalHierarchicConfiguration } from '../hierarchic-selector/classes/hierarchic-configuration';
|
|
8
|
-
import { NaturalHierarchicSelectorDialogService } from '../hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.service';
|
|
9
8
|
import { NaturalAbstractModelService } from '../../services/abstract-model.service';
|
|
10
9
|
import { ExtractTallOne, ExtractVall } from '../../types/types';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
@@ -21,9 +20,9 @@ import * as i0 from "@angular/core";
|
|
|
21
20
|
* ```
|
|
22
21
|
*/
|
|
23
22
|
export declare class NaturalRelationsComponent<TService extends NaturalAbstractModelService<unknown, any, PaginatedData<LinkableObject>, QueryVariables, unknown, any, unknown, any, unknown, any>> implements OnInit, OnChanges {
|
|
23
|
+
private readonly destroyRef;
|
|
24
24
|
private readonly linkMutationService;
|
|
25
25
|
private readonly hierarchicSelectorDialog;
|
|
26
|
-
private readonly destroyRef;
|
|
27
26
|
private select?;
|
|
28
27
|
itemTemplate?: TemplateRef<unknown>;
|
|
29
28
|
private _service;
|
|
@@ -88,7 +87,6 @@ export declare class NaturalRelationsComponent<TService extends NaturalAbstractM
|
|
|
88
87
|
*/
|
|
89
88
|
private variablesManager;
|
|
90
89
|
readonly removing: Set<LinkableObject>;
|
|
91
|
-
constructor(linkMutationService: NaturalLinkMutationService, hierarchicSelectorDialog: NaturalHierarchicSelectorDialogService);
|
|
92
90
|
/**
|
|
93
91
|
* The filter used to filter relations
|
|
94
92
|
*
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
|
-
import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
|
|
3
2
|
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
4
|
-
import { ComponentRef,
|
|
3
|
+
import { ComponentRef, EmbeddedViewRef, InjectionToken, OnDestroy, TemplateRef } from '@angular/core';
|
|
5
4
|
import { Subject } from 'rxjs';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare function throwMatDialogContentAlreadyAttachedError(): void;
|
|
@@ -12,7 +11,7 @@ export declare const NATURAL_DROPDOWN_CONTAINER_DATA: InjectionToken<NaturalDrop
|
|
|
12
11
|
export declare class NaturalDropdownContainerComponent extends BasePortalOutlet implements OnDestroy {
|
|
13
12
|
private readonly elementRef;
|
|
14
13
|
private readonly focusTrapFactory;
|
|
15
|
-
data: NaturalDropdownContainerData;
|
|
14
|
+
readonly data: NaturalDropdownContainerData;
|
|
16
15
|
portalOutlet: CdkPortalOutlet;
|
|
17
16
|
templateRef: TemplateRef<any>;
|
|
18
17
|
readonly closed: Subject<void>;
|
|
@@ -22,7 +21,7 @@ export declare class NaturalDropdownContainerComponent extends BasePortalOutlet
|
|
|
22
21
|
private readonly animationDone;
|
|
23
22
|
private focusTrap;
|
|
24
23
|
private elementFocusedBeforeDialogWasOpened;
|
|
25
|
-
constructor(
|
|
24
|
+
constructor();
|
|
26
25
|
ngOnDestroy(): void;
|
|
27
26
|
close(): void;
|
|
28
27
|
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|