@ecodev/natural 46.0.0 → 47.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.
- package/esm2020/lib/classes/abstract-controller.mjs +3 -3
- package/esm2020/lib/classes/abstract-detail.mjs +3 -3
- package/esm2020/lib/classes/abstract-editable-list.mjs +5 -5
- package/esm2020/lib/classes/abstract-list.mjs +4 -4
- package/esm2020/lib/classes/abstract-navigable-list.mjs +3 -3
- package/esm2020/lib/classes/utility.mjs +8 -5
- package/esm2020/lib/directives/http-prefix.directive.mjs +3 -3
- package/esm2020/lib/modules/alert/alert.module.mjs +8 -8
- package/esm2020/lib/modules/alert/alert.service.mjs +7 -7
- package/esm2020/lib/modules/alert/confirm.component.mjs +7 -7
- package/esm2020/lib/modules/avatar/avatar.module.mjs +4 -4
- package/esm2020/lib/modules/avatar/component/avatar.component.mjs +3 -3
- package/esm2020/lib/modules/avatar/service/avatar.service.mjs +3 -3
- package/esm2020/lib/modules/columns-picker/columns-picker-column.directive.mjs +3 -3
- package/esm2020/lib/modules/columns-picker/columns-picker.component.mjs +24 -24
- package/esm2020/lib/modules/columns-picker/columns-picker.module.mjs +9 -9
- package/esm2020/lib/modules/common/common-module.mjs +8 -8
- package/esm2020/lib/modules/common/directives/linkable-tab.directive.mjs +6 -6
- package/esm2020/lib/modules/common/directives/src-density.directive.mjs +7 -7
- package/esm2020/lib/modules/common/pipes/capitalize.pipe.mjs +3 -3
- package/esm2020/lib/modules/common/pipes/ellipsis.pipe.mjs +3 -3
- package/esm2020/lib/modules/common/pipes/enum.pipe.mjs +3 -3
- package/esm2020/lib/modules/common/pipes/swiss-date.pipe.mjs +3 -3
- package/esm2020/lib/modules/common/pipes/time-ago.pipe.mjs +3 -3
- package/esm2020/lib/modules/common/services/memory-storage.mjs +3 -3
- package/esm2020/lib/modules/common/services/seo.service.mjs +3 -3
- package/esm2020/lib/modules/detail-header/detail-header.component.mjs +4 -4
- package/esm2020/lib/modules/detail-header/detail-header.module.mjs +6 -6
- package/esm2020/lib/modules/dialog-trigger/dialog-trigger.component.mjs +6 -6
- package/esm2020/lib/modules/dialog-trigger/dialog-trigger.module.mjs +6 -6
- package/esm2020/lib/modules/dropdown-components/abstract-association-select-component.directive.mjs +3 -3
- package/esm2020/lib/modules/dropdown-components/natural-dropdown-components.module.mjs +11 -11
- package/esm2020/lib/modules/dropdown-components/type-date/type-date.component.mjs +9 -8
- package/esm2020/lib/modules/dropdown-components/type-date-range/type-date-range.component.mjs +5 -5
- package/esm2020/lib/modules/dropdown-components/type-hierarchic-selector/type-hierarchic-selector.component.mjs +6 -6
- package/esm2020/lib/modules/dropdown-components/type-natural-select/type-natural-select.component.mjs +6 -6
- package/esm2020/lib/modules/dropdown-components/type-number/type-number.component.mjs +7 -7
- package/esm2020/lib/modules/dropdown-components/type-select/type-select.component.mjs +9 -9
- package/esm2020/lib/modules/dropdown-components/type-text/type-text.component.mjs +5 -5
- package/esm2020/lib/modules/file/abstract-file.mjs +4 -4
- package/esm2020/lib/modules/file/component/file.component.mjs +5 -5
- package/esm2020/lib/modules/file/file-drop.directive.mjs +3 -3
- package/esm2020/lib/modules/file/file-select.directive.mjs +3 -3
- package/esm2020/lib/modules/file/file.module.mjs +4 -4
- package/esm2020/lib/modules/file/file.service.mjs +4 -4
- package/esm2020/lib/modules/fixed-button/fixed-button.component.mjs +4 -4
- package/esm2020/lib/modules/fixed-button/fixed-button.module.mjs +6 -6
- package/esm2020/lib/modules/fixed-button-detail/fixed-button-detail.component.mjs +13 -13
- package/esm2020/lib/modules/fixed-button-detail/fixed-button-detail.module.mjs +6 -6
- package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.mjs +7 -7
- package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.service.mjs +3 -3
- package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.component.mjs +8 -8
- package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.service.mjs +6 -6
- package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector.module.mjs +12 -12
- package/esm2020/lib/modules/icon/icon.component.mjs +3 -3
- package/esm2020/lib/modules/icon/icon.module.mjs +4 -4
- package/esm2020/lib/modules/logger/error-handler.mjs +4 -4
- package/esm2020/lib/modules/logger/error.module.mjs +4 -4
- package/esm2020/lib/modules/matomo/matomo-module.module.mjs +4 -4
- package/esm2020/lib/modules/matomo/matomo.service.mjs +4 -4
- package/esm2020/lib/modules/panels/abstract-panel.mjs +3 -3
- package/esm2020/lib/modules/panels/panels.component.mjs +3 -3
- package/esm2020/lib/modules/panels/panels.module.mjs +6 -6
- package/esm2020/lib/modules/panels/panels.service.mjs +9 -9
- package/esm2020/lib/modules/relations/relations.component.mjs +9 -9
- package/esm2020/lib/modules/relations/relations.module.mjs +11 -11
- package/esm2020/lib/modules/search/dropdown-container/dropdown-container.component.mjs +5 -5
- package/esm2020/lib/modules/search/dropdown-container/dropdown.service.mjs +3 -3
- package/esm2020/lib/modules/search/facet-selector/facet-selector.component.mjs +4 -4
- package/esm2020/lib/modules/search/group/group.component.mjs +3 -3
- package/esm2020/lib/modules/search/input/input.component.mjs +18 -18
- package/esm2020/lib/modules/search/search/search.component.mjs +4 -4
- package/esm2020/lib/modules/search/search.module.mjs +10 -10
- package/esm2020/lib/modules/select/abstract-select.component.mjs +14 -14
- package/esm2020/lib/modules/select/select/select.component.mjs +12 -12
- package/esm2020/lib/modules/select/select-enum/select-enum.component.mjs +6 -6
- package/esm2020/lib/modules/select/select-hierarchic/select-hierarchic.component.mjs +8 -8
- package/esm2020/lib/modules/select/select.module.mjs +12 -12
- package/esm2020/lib/modules/sidenav/sidenav/sidenav.component.mjs +3 -3
- package/esm2020/lib/modules/sidenav/sidenav-container/sidenav-container.component.mjs +3 -3
- package/esm2020/lib/modules/sidenav/sidenav-content/sidenav-content.component.mjs +3 -3
- package/esm2020/lib/modules/sidenav/sidenav-stack.service.mjs +3 -3
- package/esm2020/lib/modules/sidenav/sidenav.module.mjs +6 -6
- package/esm2020/lib/modules/sidenav/sidenav.service.mjs +3 -3
- package/esm2020/lib/modules/stamp/stamp-module.module.mjs +4 -4
- package/esm2020/lib/modules/stamp/stamp.component.mjs +3 -3
- package/esm2020/lib/modules/table-button/table-button.component.mjs +4 -4
- package/esm2020/lib/modules/table-button/table-button.module.mjs +6 -6
- package/esm2020/lib/services/abstract-model.service.mjs +1 -1
- package/esm2020/lib/services/debounce.service.mjs +3 -3
- package/esm2020/lib/services/enum.service.mjs +3 -3
- package/esm2020/lib/services/link-mutation.service.mjs +3 -3
- package/esm2020/lib/services/persistence.service.mjs +3 -3
- package/esm2020/lib/services/swiss-parsing-date-adapter.service.mjs +3 -3
- package/esm2020/lib/types/types.mjs +1 -1
- package/fesm2015/ecodev-natural.mjs +516 -512
- package/fesm2015/ecodev-natural.mjs.map +1 -1
- package/fesm2020/ecodev-natural.mjs +516 -512
- package/fesm2020/ecodev-natural.mjs.map +1 -1
- package/lib/classes/abstract-controller.d.ts +1 -1
- package/lib/classes/abstract-detail.d.ts +1 -1
- package/lib/classes/abstract-editable-list.d.ts +2 -2
- package/lib/classes/abstract-list.d.ts +3 -3
- package/lib/classes/abstract-navigable-list.d.ts +3 -3
- package/lib/classes/utility.d.ts +1 -1
- package/lib/directives/http-prefix.directive.d.ts +1 -1
- package/lib/modules/alert/alert.module.d.ts +4 -4
- package/lib/modules/alert/alert.service.d.ts +2 -2
- package/lib/modules/alert/confirm.component.d.ts +1 -1
- package/lib/modules/avatar/component/avatar.component.d.ts +2 -2
- package/lib/modules/avatar/sources/source.d.ts +1 -1
- package/lib/modules/columns-picker/columns-picker-column.directive.d.ts +1 -1
- package/lib/modules/columns-picker/columns-picker.component.d.ts +1 -1
- package/lib/modules/columns-picker/columns-picker.module.d.ts +5 -5
- package/lib/modules/common/common-module.d.ts +4 -4
- package/lib/modules/common/directives/linkable-tab.directive.d.ts +2 -2
- package/lib/modules/common/directives/src-density.directive.d.ts +1 -1
- package/lib/modules/common/services/memory-storage.d.ts +1 -1
- package/lib/modules/common/services/seo.service.d.ts +4 -4
- package/lib/modules/detail-header/detail-header.component.d.ts +1 -1
- package/lib/modules/detail-header/detail-header.module.d.ts +2 -2
- package/lib/modules/dialog-trigger/dialog-trigger.component.d.ts +4 -4
- package/lib/modules/dialog-trigger/dialog-trigger.module.d.ts +2 -2
- package/lib/modules/dropdown-components/abstract-association-select-component.directive.d.ts +1 -1
- package/lib/modules/dropdown-components/natural-dropdown-components.module.d.ts +7 -7
- package/lib/modules/dropdown-components/type-date/type-date.component.d.ts +1 -1
- package/lib/modules/dropdown-components/type-date-range/type-date-range.component.d.ts +1 -1
- package/lib/modules/dropdown-components/type-hierarchic-selector/type-hierarchic-selector.component.d.ts +2 -2
- package/lib/modules/dropdown-components/type-natural-select/type-natural-select.component.d.ts +1 -1
- package/lib/modules/dropdown-components/type-number/type-number.component.d.ts +1 -1
- package/lib/modules/dropdown-components/type-select/type-select.component.d.ts +3 -3
- package/lib/modules/dropdown-components/type-text/type-text.component.d.ts +1 -1
- package/lib/modules/dropdown-components/types.d.ts +2 -2
- package/lib/modules/file/abstract-file.d.ts +1 -1
- package/lib/modules/file/component/file.component.d.ts +1 -1
- package/lib/modules/file/file-drop.directive.d.ts +1 -1
- package/lib/modules/file/file-select.directive.d.ts +1 -1
- package/lib/modules/file/types.d.ts +1 -1
- package/lib/modules/fixed-button/fixed-button.component.d.ts +1 -1
- package/lib/modules/fixed-button/fixed-button.module.d.ts +2 -2
- package/lib/modules/fixed-button-detail/fixed-button-detail.component.d.ts +2 -2
- package/lib/modules/fixed-button-detail/fixed-button-detail.module.d.ts +2 -2
- package/lib/modules/hierarchic-selector/classes/hierarchic-configuration.d.ts +1 -1
- package/lib/modules/hierarchic-selector/classes/hierarchic-filters-configuration.d.ts +1 -1
- package/lib/modules/hierarchic-selector/classes/model-node.d.ts +1 -1
- package/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.d.ts +1 -1
- package/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.component.d.ts +2 -2
- package/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.service.d.ts +1 -1
- package/lib/modules/hierarchic-selector/hierarchic-selector.module.d.ts +8 -8
- package/lib/modules/icon/icon.component.d.ts +1 -1
- package/lib/modules/matomo/matomo.service.d.ts +2 -2
- package/lib/modules/panels/abstract-panel.d.ts +1 -1
- package/lib/modules/panels/panels.component.d.ts +1 -1
- package/lib/modules/panels/panels.module.d.ts +2 -2
- package/lib/modules/panels/panels.service.d.ts +1 -1
- package/lib/modules/panels/types.d.ts +2 -2
- package/lib/modules/relations/relations.component.d.ts +2 -2
- package/lib/modules/relations/relations.module.d.ts +7 -7
- package/lib/modules/search/classes/graphql-doctrine.types.d.ts +1 -1
- package/lib/modules/search/dropdown-container/dropdown-container.component.d.ts +1 -1
- package/lib/modules/search/facet-selector/facet-selector.component.d.ts +1 -1
- package/lib/modules/search/group/group.component.d.ts +1 -1
- package/lib/modules/search/input/input.component.d.ts +1 -1
- package/lib/modules/search/search/search.component.d.ts +1 -1
- package/lib/modules/search/search.module.d.ts +5 -5
- package/lib/modules/search/types/facet.d.ts +2 -2
- package/lib/modules/search/types/values.d.ts +2 -2
- package/lib/modules/select/abstract-select.component.d.ts +2 -2
- package/lib/modules/select/select/select.component.d.ts +3 -3
- package/lib/modules/select/select-enum/select-enum.component.d.ts +2 -2
- package/lib/modules/select/select-hierarchic/select-hierarchic.component.d.ts +1 -1
- package/lib/modules/select/select.module.d.ts +8 -8
- package/lib/modules/sidenav/sidenav/sidenav.component.d.ts +1 -1
- package/lib/modules/sidenav/sidenav-container/sidenav-container.component.d.ts +1 -1
- package/lib/modules/sidenav/sidenav-content/sidenav-content.component.d.ts +1 -1
- package/lib/modules/sidenav/sidenav.module.d.ts +2 -2
- package/lib/modules/stamp/stamp.component.d.ts +2 -2
- package/lib/modules/table-button/table-button.component.d.ts +1 -1
- package/lib/modules/table-button/table-button.module.d.ts +2 -2
- package/lib/services/abstract-model.service.d.ts +6 -6
- package/lib/services/debounce.service.d.ts +1 -1
- package/lib/services/persistence.service.d.ts +1 -1
- package/lib/types/types.d.ts +12 -12
- package/package.json +12 -12
|
@@ -11,5 +11,5 @@ export declare class NaturalAbstractController implements OnDestroy {
|
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
back(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractController, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractController, never, never, {}, {}, never, never, false>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractController, never, never, {}, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -57,5 +57,5 @@ export declare class NaturalAbstractDetail<TService extends NaturalAbstractModel
|
|
|
57
57
|
*/
|
|
58
58
|
protected formToData(): void;
|
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractDetail<any>, never>;
|
|
60
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractDetail<any>, never, never, {}, {}, never, never, false>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractDetail<any>, never, never, {}, {}, never, never, false, never>;
|
|
61
61
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractControl, UntypedFormArray, UntypedFormGroup } from '@angular/forms';
|
|
2
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
2
|
+
import { MatLegacyTableDataSource as MatTableDataSource } from '@angular/material/legacy-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';
|
|
@@ -64,5 +64,5 @@ export declare class NaturalAbstractEditableList<TService extends NaturalAbstrac
|
|
|
64
64
|
*/
|
|
65
65
|
validateForm(): void;
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractEditableList<any, any>, never>;
|
|
67
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractEditableList<any, any>, never, never, {}, {}, never, never, false>;
|
|
67
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractEditableList<any, any>, never, never, {}, {}, never, never, false, never>;
|
|
68
68
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
2
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
+
import { LegacyPageEvent as PageEvent } from '@angular/material/legacy-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';
|
|
@@ -15,7 +15,7 @@ import { NaturalQueryVariablesManager, PaginationInput, QueryVariables, Sorting
|
|
|
15
15
|
import { ExtractTall, ExtractVall, Literal } from '../types/types';
|
|
16
16
|
import { NavigableItem } from './abstract-navigable-list';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
|
-
|
|
18
|
+
type MaybeNavigable = Literal | NavigableItem<Literal>;
|
|
19
19
|
/**
|
|
20
20
|
* This class helps managing a list of paginated items that can be filtered,
|
|
21
21
|
* selected, and then bulk actions can be performed on selection.
|
|
@@ -175,6 +175,6 @@ export declare class NaturalAbstractList<TService extends NaturalAbstractModelSe
|
|
|
175
175
|
private applyForcedVariables;
|
|
176
176
|
selectColumns(columns: string[]): void;
|
|
177
177
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractList<any, any>, never>;
|
|
178
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractList<any, any>, never, never, { "persistSearch": "persistSearch"; "selectedColumns": "selectedColumns"; "forcedVariables": "forcedVariables"; }, {}, never, never, false>;
|
|
178
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractList<any, any>, never, never, { "persistSearch": "persistSearch"; "selectedColumns": "selectedColumns"; "forcedVariables": "forcedVariables"; }, {}, never, never, false, never>;
|
|
179
179
|
}
|
|
180
180
|
export {};
|
|
@@ -8,11 +8,11 @@ import { QueryVariables } from './query-variable-manager';
|
|
|
8
8
|
import { ExtractTall, ExtractTallOne, Literal } from '../types/types';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
|
|
11
|
+
type BreadcrumbItem = {
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
14
|
} & Literal;
|
|
15
|
-
export
|
|
15
|
+
export type NavigableItem<T> = {
|
|
16
16
|
item: T;
|
|
17
17
|
hasNavigation: boolean;
|
|
18
18
|
};
|
|
@@ -49,6 +49,6 @@ export declare class NaturalAbstractNavigableList<TService extends NaturalAbstra
|
|
|
49
49
|
*/
|
|
50
50
|
protected getBreadcrumb(item: BreadcrumbItem): BreadcrumbItem[];
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractNavigableList<any>, never>;
|
|
52
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractNavigableList<any>, never, never, { "ancestorRelationName": "ancestorRelationName"; }, {}, never, never, false>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractNavigableList<any>, never, never, { "ancestorRelationName": "ancestorRelationName"; }, {}, never, never, false, never>;
|
|
53
53
|
}
|
|
54
54
|
export {};
|
package/lib/classes/utility.d.ts
CHANGED
|
@@ -56,4 +56,4 @@ export declare function mergeOverrideArray(destValue: any, source: any): any;
|
|
|
56
56
|
* Accepts line breaks `\n` as textarea do.
|
|
57
57
|
*/
|
|
58
58
|
export declare function copyToClipboard(document: Document, text: string): void;
|
|
59
|
-
export declare function deepFreeze<T>(o: T): ReadonlyDeep<T>;
|
|
59
|
+
export declare function deepFreeze<T extends Literal>(o: T): ReadonlyDeep<T>;
|
|
@@ -13,5 +13,5 @@ export declare class NaturalHttpPrefixDirective extends NaturalAbstractControlle
|
|
|
13
13
|
constructor();
|
|
14
14
|
httpize($event: string): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalHttpPrefixDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalHttpPrefixDirective, "[naturalHttpPrefix]", never, { "naturalHttpPrefix": "naturalHttpPrefix"; }, {}, never, never, false>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalHttpPrefixDirective, "[naturalHttpPrefix]", never, { "naturalHttpPrefix": "naturalHttpPrefix"; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -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/dialog";
|
|
5
|
-
import * as i4 from "@angular/material/snack-bar";
|
|
6
|
-
import * as i5 from "@angular/material/button";
|
|
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";
|
|
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.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalAlertModule, [typeof i1.NaturalConfirmComponent], [typeof i2.CommonModule, typeof i3.MatLegacyDialogModule, typeof i4.MatLegacySnackBarModule, typeof i5.MatLegacyButtonModule], never>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<NaturalAlertModule>;
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { MatSnackBar, MatSnackBarRef, SimpleSnackBar } from '@angular/material/snack-bar';
|
|
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';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NaturalAlertService {
|
|
@@ -9,5 +9,5 @@ export declare class NaturalConfirmComponent {
|
|
|
9
9
|
data: NaturalConfirmData;
|
|
10
10
|
constructor(data: NaturalConfirmData);
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalConfirmComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalConfirmComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalConfirmComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AvatarService } from '../service/avatar.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
type Style = Partial<CSSStyleDeclaration>;
|
|
5
5
|
/**
|
|
6
6
|
* Show an avatar from different sources
|
|
7
7
|
*/
|
|
@@ -48,6 +48,6 @@ export declare class AvatarComponent implements OnChanges {
|
|
|
48
48
|
*/
|
|
49
49
|
private getImageStyle;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "natural-avatar", never, { "image": "image"; "initials": "initials"; "gravatar": "gravatar"; "size": "size"; "textSizeRatio": "textSizeRatio"; "bgColor": "bgColor"; "fgColor": "fgColor"; "borderRadius": "borderRadius"; "textMaximumLength": "textMaximumLength"; }, {}, never, never, false>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "natural-avatar", never, { "image": "image"; "initials": "initials"; "gravatar": "gravatar"; "size": "size"; "textSizeRatio": "textSizeRatio"; "bgColor": "bgColor"; "fgColor": "fgColor"; "borderRadius": "borderRadius"; "textMaximumLength": "textMaximumLength"; }, {}, never, never, false, never>;
|
|
52
52
|
}
|
|
53
53
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A creator interface used to instantiate source implementation
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type SourceCreator = new (sourceValue: string) => Source;
|
|
5
5
|
/**
|
|
6
6
|
* Contract of all Sources.
|
|
7
7
|
* Every source must implements the fetch method
|
|
@@ -23,5 +23,5 @@ export declare class NaturalColumnsPickerColumnDirective implements AfterViewIni
|
|
|
23
23
|
ngOnInit(): void;
|
|
24
24
|
ngAfterViewInit(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalColumnsPickerColumnDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalColumnsPickerColumnDirective, "[naturalColumnsPickerColumn]", never, { "checked": "checked"; "hidden": "hidden"; "naturalColumnsPickerColumn": "naturalColumnsPickerColumn"; }, {}, never, never, false>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalColumnsPickerColumnDirective, "[naturalColumnsPickerColumn]", never, { "checked": "checked"; "hidden": "hidden"; "naturalColumnsPickerColumn": "naturalColumnsPickerColumn"; }, {}, never, never, false, never>;
|
|
27
27
|
}
|
|
@@ -32,5 +32,5 @@ export declare class NaturalColumnsPickerComponent implements AfterViewInit, OnD
|
|
|
32
32
|
updateColumns(): void;
|
|
33
33
|
ngOnDestroy(): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalColumnsPickerComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalColumnsPickerComponent, "natural-columns-picker", never, { "selections": "selections"; }, { "selectionChange": "selectionChange"; }, ["availableColumns"], never, false>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalColumnsPickerComponent, "natural-columns-picker", never, { "selections": "selections"; }, { "selectionChange": "selectionChange"; }, ["availableColumns"], never, false, never>;
|
|
36
36
|
}
|
|
@@ -3,13 +3,13 @@ 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/menu";
|
|
7
|
-
import * as i6 from "@angular/material/button";
|
|
8
|
-
import * as i7 from "@angular/material/checkbox";
|
|
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";
|
|
9
9
|
import * as i8 from "../icon/icon.module";
|
|
10
|
-
import * as i9 from "@angular/material/tooltip";
|
|
10
|
+
import * as i9 from "@angular/material/legacy-tooltip";
|
|
11
11
|
export declare class NaturalColumnsPickerModule {
|
|
12
12
|
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.
|
|
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
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<NaturalColumnsPickerModule>;
|
|
15
15
|
}
|
|
@@ -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/form-field";
|
|
12
|
-
import * as i11 from "@angular/material/input";
|
|
13
|
-
import * as i12 from "@angular/material/select";
|
|
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";
|
|
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.
|
|
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]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<NaturalCommonModule>;
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { MatTabGroup } from '@angular/material/tabs';
|
|
2
|
+
import { MatLegacyTabGroup as MatTabGroup } from '@angular/material/legacy-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";
|
|
@@ -24,5 +24,5 @@ export declare class NaturalLinkableTabDirective extends NaturalAbstractControll
|
|
|
24
24
|
ngAfterViewInit(): void;
|
|
25
25
|
private getTabIndex;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalLinkableTabDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalLinkableTabDirective, "mat-tab-group[naturalLinkableTab]", never, { "naturalLinkableTab": "naturalLinkableTab"; }, {}, never, never, false>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalLinkableTabDirective, "mat-tab-group[naturalLinkableTab]", never, { "naturalLinkableTab": "naturalLinkableTab"; }, {}, never, never, false, never>;
|
|
28
28
|
}
|
|
@@ -30,5 +30,5 @@ export declare class NaturalSrcDensityDirective {
|
|
|
30
30
|
set naturalSrcDensity(src: string);
|
|
31
31
|
constructor(elementRef: ElementRef<HTMLImageElement>);
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalSrcDensityDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalSrcDensityDirective, "img[naturalSrcDensity]", never, { "naturalSrcDensity": "naturalSrcDensity"; }, {}, never, never, false>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalSrcDensityDirective, "img[naturalSrcDensity]", never, { "naturalSrcDensity": "naturalSrcDensity"; }, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
@@ -5,7 +5,7 @@ export declare const LOCAL_STORAGE: InjectionToken<NaturalStorage>;
|
|
|
5
5
|
/**
|
|
6
6
|
* Normal `Storage` type, but without array access
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type NaturalStorage = Pick<Storage, 'length' | 'clear' | 'getItem' | 'key' | 'removeItem' | 'setItem'>;
|
|
9
9
|
/**
|
|
10
10
|
* Memory storage to keep store volatile things in memory
|
|
11
11
|
*
|
|
@@ -2,14 +2,14 @@ import { InjectionToken } from '@angular/core';
|
|
|
2
2
|
import { Meta, Title } from '@angular/platform-browser';
|
|
3
3
|
import { Data, Router } from '@angular/router';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export
|
|
5
|
+
export type NaturalSeo = NaturalSeoBasic | NaturalSeoCallback | NaturalSeoResolve;
|
|
6
6
|
/**
|
|
7
7
|
* Typically used for "static" pages where there is not a single resolved object. So
|
|
8
8
|
* all pages such as "About", or list of objects (list of risks, etc.).
|
|
9
9
|
*
|
|
10
10
|
* This should be the most common used variant.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type NaturalSeoBasic = Robots & {
|
|
13
13
|
/**
|
|
14
14
|
* The page title, that will be concatenated with application name
|
|
15
15
|
*/
|
|
@@ -23,7 +23,7 @@ export declare type NaturalSeoBasic = Robots & {
|
|
|
23
23
|
* Typically used for a "dynamic" page where a single object is resolved. So a detail page, such
|
|
24
24
|
* as the detail of a risk and so on.
|
|
25
25
|
*/
|
|
26
|
-
export
|
|
26
|
+
export type NaturalSeoResolve = Robots & {
|
|
27
27
|
/**
|
|
28
28
|
* The key to be used in the resolved data to find the resolved object. The fullName
|
|
29
29
|
* or name of the object will be used for page title, and the object description, if any,
|
|
@@ -35,7 +35,7 @@ export declare type NaturalSeoResolve = Robots & {
|
|
|
35
35
|
* Rarely used for a page that has very specific needs and need to build title and description in a custom way.
|
|
36
36
|
* The callback back will be given the resolved data, and it is up to the callback to find whatever it needs.
|
|
37
37
|
*/
|
|
38
|
-
export
|
|
38
|
+
export type NaturalSeoCallback = (routeData: Data) => NaturalSeoBasic;
|
|
39
39
|
interface Robots {
|
|
40
40
|
/**
|
|
41
41
|
* If given will be used as robots meta tag, otherwise fallback on default value
|
|
@@ -39,5 +39,5 @@ export declare class NaturalDetailHeaderComponent {
|
|
|
39
39
|
getRootLink(): string[];
|
|
40
40
|
getLink(id: string): any[];
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalDetailHeaderComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalDetailHeaderComponent, "natural-detail-header", never, { "currentBaseUrl": "currentBaseUrl"; "isPanel": "isPanel"; "icon": "icon"; "label": "label"; "rootLabel": "rootLabel"; "newLabel": "newLabel"; "model": "model"; "breadcrumbs": "breadcrumbs"; "listRoute": "listRoute"; "listFragment": "listFragment"; "link": "link"; }, {}, never, ["*"], false>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalDetailHeaderComponent, "natural-detail-header", never, { "currentBaseUrl": "currentBaseUrl"; "isPanel": "isPanel"; "icon": "icon"; "label": "label"; "rootLabel": "rootLabel"; "newLabel": "newLabel"; "model": "model"; "breadcrumbs": "breadcrumbs"; "listRoute": "listRoute"; "listFragment": "listFragment"; "link": "link"; }, {}, never, ["*"], false, never>;
|
|
43
43
|
}
|
|
@@ -2,10 +2,10 @@ 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/button";
|
|
5
|
+
import * as i4 from "@angular/material/legacy-button";
|
|
6
6
|
import * as i5 from "../icon/icon.module";
|
|
7
7
|
export declare class NaturalDetailHeaderModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalDetailHeaderModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalDetailHeaderModule, [typeof i1.NaturalDetailHeaderComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.
|
|
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
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<NaturalDetailHeaderModule>;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType } from '@angular/cdk/portal';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
|
-
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
3
|
+
import { MatLegacyDialog as MatDialog, MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-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> {
|
|
@@ -8,11 +8,11 @@ export interface NaturalDialogTriggerRoutingData<T, D> {
|
|
|
8
8
|
afterClosedRoute?: RouterLink['routerLink'];
|
|
9
9
|
dialogConfig: MatDialogConfig<D>;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type NaturalDialogTriggerProvidedData<D> = {
|
|
12
12
|
data?: Readonly<D> | null;
|
|
13
13
|
activatedRoute: ActivatedRoute;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type NaturalDialogTriggerRedirectionValues = RouterLink['routerLink'] | null | undefined | '' | -1;
|
|
16
16
|
export declare class NaturalDialogTriggerComponent<T, D> implements OnDestroy {
|
|
17
17
|
private readonly dialog;
|
|
18
18
|
private readonly route;
|
|
@@ -33,5 +33,5 @@ export declare class NaturalDialogTriggerComponent<T, D> implements OnDestroy {
|
|
|
33
33
|
*/
|
|
34
34
|
redirect(exitValue: NaturalDialogTriggerRedirectionValues): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalDialogTriggerComponent<any, any>, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalDialogTriggerComponent<any, any>, "ng-component", never, {}, {}, never, never, false>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalDialogTriggerComponent<any, any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -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/dialog";
|
|
4
|
+
import * as i3 from "@angular/material/legacy-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.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalDialogTriggerModule, [typeof i1.NaturalDialogTriggerComponent], [typeof i2.CommonModule, typeof i3.MatLegacyDialogModule], [typeof i1.NaturalDialogTriggerComponent]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<NaturalDialogTriggerModule>;
|
|
9
9
|
}
|
package/lib/modules/dropdown-components/abstract-association-select-component.directive.d.ts
CHANGED
|
@@ -31,5 +31,5 @@ export declare abstract class AbstractAssociationSelectComponent<C> implements D
|
|
|
31
31
|
protected conditionToOperatorKey(condition: FilterGroupConditionField): PossibleDiscreteOperatorKeys;
|
|
32
32
|
protected operatorKeyToCondition(key: PossibleDiscreteOperatorKeys, values: string[]): FilterGroupConditionField;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractAssociationSelectComponent<any>, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAssociationSelectComponent<any>, never, never, {}, {}, never, never, false>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAssociationSelectComponent<any>, never, never, {}, {}, never, never, false, never>;
|
|
35
35
|
}
|
|
@@ -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/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";
|
|
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";
|
|
16
16
|
import * as i15 from "@angular/material/datepicker";
|
|
17
|
-
import * as i16 from "@angular/material/select";
|
|
17
|
+
import * as i16 from "@angular/material/legacy-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.
|
|
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]>;
|
|
23
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<NaturalDropdownComponentsModule>;
|
|
24
24
|
}
|
|
@@ -35,5 +35,5 @@ export declare class TypeDateComponent<D = any> extends NaturalAbstractControlle
|
|
|
35
35
|
private getDayAfter;
|
|
36
36
|
private getRenderedValue;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeDateComponent<any>, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
39
39
|
}
|
|
@@ -39,6 +39,6 @@ export declare class TypeDateRangeComponent<D = any> implements DropdownComponen
|
|
|
39
39
|
render(value: D | null): string;
|
|
40
40
|
private getRenderedValue;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeDateRangeComponent<any>, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateRangeComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateRangeComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
43
43
|
}
|
|
44
44
|
export {};
|
|
@@ -10,7 +10,7 @@ export interface HierarchicFilterConfiguration<T = Literal> {
|
|
|
10
10
|
service: NaturalHierarchicConfiguration['service'];
|
|
11
11
|
filter: T;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type HierarchicFiltersConfiguration<T = Literal> = Array<HierarchicFilterConfiguration<T>>;
|
|
14
14
|
export interface TypeHierarchicSelectorConfiguration {
|
|
15
15
|
key: string;
|
|
16
16
|
service: NaturalAbstractModelService<any, any, any, any, any, any, any, any, any, any>;
|
|
@@ -28,5 +28,5 @@ export declare class TypeHierarchicSelectorComponent extends AbstractAssociation
|
|
|
28
28
|
*/
|
|
29
29
|
private noEmptySelection;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeHierarchicSelectorComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeHierarchicSelectorComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeHierarchicSelectorComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
32
32
|
}
|
package/lib/modules/dropdown-components/type-natural-select/type-natural-select.component.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export declare class TypeNaturalSelectComponent<TService extends NaturalAbstract
|
|
|
14
14
|
protected reloadValue(condition: FilterGroupConditionField): Observable<ExtractTone<TService>>;
|
|
15
15
|
protected renderValueWithoutOperator(): string;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeNaturalSelectComponent<any>, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeNaturalSelectComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeNaturalSelectComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -33,5 +33,5 @@ export declare class TypeNumberComponent implements DropdownComponent {
|
|
|
33
33
|
private reloadCondition;
|
|
34
34
|
private getRenderedValue;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeNumberComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeNumberComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeNumberComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatSelectionList } from '@angular/material/list';
|
|
2
|
+
import { MatLegacySelectionList as MatSelectionList } from '@angular/material/legacy-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';
|
|
@@ -8,7 +8,7 @@ import { FormControl, FormGroup } from '@angular/forms';
|
|
|
8
8
|
import { NaturalAbstractController } from '../../../classes/abstract-controller';
|
|
9
9
|
import { PossibleDiscreteOperatorKeys } from '../types';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export
|
|
11
|
+
export type TypeSelectItem = Scalar | {
|
|
12
12
|
id: Scalar;
|
|
13
13
|
name: Scalar;
|
|
14
14
|
} | {
|
|
@@ -56,5 +56,5 @@ export declare class TypeSelectComponent extends NaturalAbstractController imple
|
|
|
56
56
|
private conditionToOperatorKey;
|
|
57
57
|
private operatorKeyToCondition;
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeSelectComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeSelectComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeSelectComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
60
60
|
}
|
|
@@ -20,5 +20,5 @@ export declare class TypeTextComponent implements DropdownComponent {
|
|
|
20
20
|
isDirty(): boolean;
|
|
21
21
|
close(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeTextComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeTextComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeTextComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
24
24
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FilterGroupConditionField } from '../search/classes/graphql-doctrine.types';
|
|
2
|
-
export
|
|
2
|
+
export type PossibleComparableOpertorKeys = keyof Pick<FilterGroupConditionField, 'less' | 'lessOrEqual' | 'equal' | 'greaterOrEqual' | 'greater'>;
|
|
3
3
|
export interface PossibleComparableOperator {
|
|
4
4
|
key: PossibleComparableOpertorKeys;
|
|
5
5
|
label: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const possibleComparableOperators: PossibleComparableOperator[];
|
|
8
|
-
export
|
|
8
|
+
export type PossibleDiscreteOperatorKeys = 'is' | 'isnot' | 'any' | 'none';
|
|
9
9
|
export interface PossibleDiscreteOperator {
|
|
10
10
|
key: PossibleDiscreteOperatorKeys;
|
|
11
11
|
label: string;
|
|
@@ -90,5 +90,5 @@ export declare abstract class NaturalAbstractFile extends NaturalAbstractControl
|
|
|
90
90
|
onChange(event: Event): void;
|
|
91
91
|
private validate;
|
|
92
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractFile, never>;
|
|
93
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractFile, never, never, { "multiple": "multiple"; "accept": "accept"; "maxSize": "maxSize"; "fileSelectionDisabled": "fileSelectionDisabled"; "selectable": "selectable"; "broadcast": "broadcast"; }, { "fileChange": "fileChange"; "filesChange": "filesChange"; }, never, never, false>;
|
|
93
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractFile, never, never, { "multiple": "multiple"; "accept": "accept"; "maxSize": "maxSize"; "fileSelectionDisabled": "fileSelectionDisabled"; "selectable": "selectable"; "broadcast": "broadcast"; }, { "fileChange": "fileChange"; "filesChange": "filesChange"; }, never, never, false, never>;
|
|
94
94
|
}
|
|
@@ -57,5 +57,5 @@ export declare class FileComponent implements OnInit, OnChanges {
|
|
|
57
57
|
private updateImage;
|
|
58
58
|
private getBase64;
|
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "natural-file", never, { "height": "height"; "action": "action"; "backgroundSize": "backgroundSize"; "accept": "accept"; "uploader": "uploader"; "model": "model"; "formCtrl": "formCtrl"; }, { "modelChange": "modelChange"; }, never, never, false>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "natural-file", never, { "height": "height"; "action": "action"; "backgroundSize": "backgroundSize"; "accept": "accept"; "uploader": "uploader"; "model": "model"; "formCtrl": "formCtrl"; }, { "modelChange": "modelChange"; }, never, never, false, never>;
|
|
61
61
|
}
|
|
@@ -27,5 +27,5 @@ export declare class NaturalFileDropDirective extends NaturalAbstractFile implem
|
|
|
27
27
|
onDragLeave(event: DragEvent): void;
|
|
28
28
|
private hasObservers;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFileDropDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalFileDropDirective, ":not([naturalFileSelect])[naturalFileDrop]", never, {}, { "fileOver": "fileOver"; }, never, never, false>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalFileDropDirective, ":not([naturalFileSelect])[naturalFileDrop]", never, {}, { "fileOver": "fileOver"; }, never, never, false, never>;
|
|
31
31
|
}
|
|
@@ -11,5 +11,5 @@ export declare class NaturalFileSelectDirective extends NaturalAbstractFile {
|
|
|
11
11
|
*/
|
|
12
12
|
selectable: boolean;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFileSelectDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalFileSelectDirective, ":not([naturalFileDrop])[naturalFileSelect]", never, { "selectable": "selectable"; }, {}, never, never, false>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalFileSelectDirective, ":not([naturalFileDrop])[naturalFileSelect]", never, { "selectable": "selectable"; }, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -7,5 +7,5 @@ export declare class NaturalFixedButtonComponent {
|
|
|
7
7
|
color: ThemePalette;
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonComponent, "natural-fixed-button", never, { "icon": "icon"; "link": "link"; "color": "color"; "disabled": "disabled"; }, {}, never, never, false>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonComponent, "natural-fixed-button", never, { "icon": "icon"; "link": "link"; "color": "color"; "disabled": "disabled"; }, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -2,10 +2,10 @@ 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/button";
|
|
5
|
+
import * as i4 from "@angular/material/legacy-button";
|
|
6
6
|
import * as i5 from "../icon/icon.module";
|
|
7
7
|
export declare class NaturalFixedButtonModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalFixedButtonModule, [typeof i1.NaturalFixedButtonComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.
|
|
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
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<NaturalFixedButtonModule>;
|
|
11
11
|
}
|
|
@@ -3,7 +3,7 @@ import { FormGroup } from '@angular/forms';
|
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { NaturalAbstractController } from '../../classes/abstract-controller';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
6
|
+
type Model = {
|
|
7
7
|
id?: string;
|
|
8
8
|
permissions?: {
|
|
9
9
|
delete: boolean;
|
|
@@ -22,6 +22,6 @@ export declare class NaturalFixedButtonDetailComponent extends NaturalAbstractCo
|
|
|
22
22
|
clickCreate(): void;
|
|
23
23
|
clickDelete(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonDetailComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonDetailComponent, "natural-fixed-button-detail", never, { "model": "model"; "form": "form"; }, { "create": "create"; "delete": "delete"; }, never, never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonDetailComponent, "natural-fixed-button-detail", never, { "model": "model"; "form": "form"; }, { "create": "create"; "delete": "delete"; }, never, never, false, never>;
|
|
26
26
|
}
|
|
27
27
|
export {};
|
|
@@ -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/tooltip";
|
|
5
|
+
import * as i4 from "@angular/material/legacy-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.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NaturalFixedButtonDetailModule, [typeof i1.NaturalFixedButtonDetailComponent], [typeof i2.CommonModule, typeof i3.NaturalFixedButtonModule, typeof i4.MatLegacyTooltipModule], [typeof i1.NaturalFixedButtonDetailComponent]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<NaturalFixedButtonDetailModule>;
|
|
10
10
|
}
|