@ecodev/natural 43.0.0 → 44.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/classes/abstract-controller.mjs +3 -3
- package/esm2020/lib/classes/abstract-detail.mjs +6 -6
- package/esm2020/lib/classes/abstract-editable-list.mjs +7 -7
- package/esm2020/lib/classes/abstract-list.mjs +3 -3
- package/esm2020/lib/classes/abstract-navigable-list.mjs +3 -3
- package/esm2020/lib/classes/validators.mjs +1 -1
- package/esm2020/lib/directives/http-prefix.directive.mjs +3 -3
- package/esm2020/lib/modules/alert/alert.module.mjs +5 -5
- package/esm2020/lib/modules/alert/alert.service.mjs +3 -3
- package/esm2020/lib/modules/alert/confirm.component.mjs +5 -5
- package/esm2020/lib/modules/avatar/avatar.module.mjs +5 -5
- package/esm2020/lib/modules/avatar/component/avatar.component.mjs +7 -17
- 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 +9 -9
- package/esm2020/lib/modules/columns-picker/columns-picker.module.mjs +11 -13
- package/esm2020/lib/modules/common/common-module.mjs +5 -5
- package/esm2020/lib/modules/common/directives/linkable-tab.directive.mjs +3 -3
- package/esm2020/lib/modules/common/directives/src-density.directive.mjs +3 -3
- 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/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 +9 -9
- package/esm2020/lib/modules/detail-header/detail-header.module.mjs +5 -5
- package/esm2020/lib/modules/dialog-trigger/dialog-trigger.component.mjs +3 -3
- package/esm2020/lib/modules/dialog-trigger/dialog-trigger.module.mjs +5 -5
- package/esm2020/lib/modules/dropdown-components/abstract-association-select-component.directive.mjs +6 -6
- package/esm2020/lib/modules/dropdown-components/natural-dropdown-components.module.mjs +16 -18
- package/esm2020/lib/modules/dropdown-components/type-date/type-date.component.mjs +16 -16
- package/esm2020/lib/modules/dropdown-components/type-date-range/type-date-range.component.mjs +14 -14
- package/esm2020/lib/modules/dropdown-components/type-hierarchic-selector/type-hierarchic-selector.component.mjs +9 -9
- package/esm2020/lib/modules/dropdown-components/type-natural-select/type-natural-select.component.mjs +9 -9
- package/esm2020/lib/modules/dropdown-components/type-number/type-number.component.mjs +13 -13
- package/esm2020/lib/modules/dropdown-components/type-select/type-select.component.mjs +11 -11
- package/esm2020/lib/modules/dropdown-components/type-text/type-text.component.mjs +13 -10
- package/esm2020/lib/modules/dropdown-components/types.mjs +1 -1
- package/esm2020/lib/modules/file/abstract-file.mjs +3 -3
- package/esm2020/lib/modules/file/component/file.component.mjs +6 -6
- 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 +5 -5
- package/esm2020/lib/modules/file/file.service.mjs +3 -3
- package/esm2020/lib/modules/fixed-button/fixed-button.component.mjs +6 -6
- package/esm2020/lib/modules/fixed-button/fixed-button.module.mjs +5 -5
- package/esm2020/lib/modules/fixed-button-detail/fixed-button-detail.component.mjs +6 -6
- package/esm2020/lib/modules/fixed-button-detail/fixed-button-detail.module.mjs +5 -5
- package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.mjs +10 -10
- 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 +5 -5
- package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.service.mjs +3 -3
- package/esm2020/lib/modules/hierarchic-selector/hierarchic-selector.module.mjs +19 -21
- package/esm2020/lib/modules/icon/icon.component.mjs +5 -5
- package/esm2020/lib/modules/icon/icon.module.mjs +5 -5
- package/esm2020/lib/modules/logger/error-handler.mjs +3 -3
- package/esm2020/lib/modules/logger/error.module.mjs +5 -5
- package/esm2020/lib/modules/matomo/matomo-module.module.mjs +4 -4
- package/esm2020/lib/modules/matomo/matomo.service.mjs +3 -3
- 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 +5 -5
- package/esm2020/lib/modules/panels/panels.service.mjs +3 -3
- package/esm2020/lib/modules/relations/relations.component.mjs +8 -8
- package/esm2020/lib/modules/relations/relations.module.mjs +14 -16
- package/esm2020/lib/modules/search/dropdown-container/dropdown-container.component.mjs +7 -7
- package/esm2020/lib/modules/search/dropdown-container/dropdown.service.mjs +3 -3
- package/esm2020/lib/modules/search/facet-selector/facet-selector.component.mjs +5 -5
- package/esm2020/lib/modules/search/group/group.component.mjs +5 -5
- package/esm2020/lib/modules/search/input/input.component.mjs +20 -22
- package/esm2020/lib/modules/search/search/search.component.mjs +5 -5
- package/esm2020/lib/modules/search/search.module.mjs +15 -17
- package/esm2020/lib/modules/select/abstract-select.component.mjs +6 -6
- package/esm2020/lib/modules/select/select/select.component.mjs +16 -16
- package/esm2020/lib/modules/select/select-enum/select-enum.component.mjs +8 -8
- package/esm2020/lib/modules/select/select-hierarchic/select-hierarchic.component.mjs +10 -10
- package/esm2020/lib/modules/select/select.module.mjs +16 -18
- package/esm2020/lib/modules/sidenav/sidenav/sidenav.component.mjs +3 -3
- package/esm2020/lib/modules/sidenav/sidenav-container/sidenav-container.component.mjs +5 -5
- 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 +5 -5
- package/esm2020/lib/modules/sidenav/sidenav.service.mjs +3 -3
- package/esm2020/lib/modules/stamp/stamp-module.module.mjs +5 -5
- package/esm2020/lib/modules/stamp/stamp.component.mjs +5 -5
- package/esm2020/lib/modules/table-button/table-button.component.mjs +7 -7
- package/esm2020/lib/modules/table-button/table-button.module.mjs +5 -5
- package/esm2020/lib/services/abstract-model.service.mjs +7 -7
- 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/fesm2015/ecodev-natural.mjs +452 -473
- package/fesm2015/ecodev-natural.mjs.map +1 -1
- package/fesm2020/ecodev-natural.mjs +452 -473
- package/fesm2020/ecodev-natural.mjs.map +1 -1
- package/{ecodev-natural.d.ts → index.d.ts} +0 -0
- package/lib/classes/abstract-controller.d.ts +1 -1
- package/lib/classes/abstract-detail.d.ts +3 -3
- package/lib/classes/abstract-editable-list.d.ts +5 -5
- package/lib/classes/abstract-list.d.ts +1 -1
- package/lib/classes/abstract-navigable-list.d.ts +1 -1
- package/lib/classes/validators.d.ts +2 -2
- package/lib/directives/http-prefix.directive.d.ts +1 -1
- package/lib/modules/alert/confirm.component.d.ts +1 -1
- package/lib/modules/avatar/component/avatar.component.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/common/directives/linkable-tab.directive.d.ts +1 -1
- package/lib/modules/common/directives/src-density.directive.d.ts +1 -1
- package/lib/modules/common/pipes/capitalize.pipe.d.ts +1 -1
- package/lib/modules/common/pipes/ellipsis.pipe.d.ts +1 -1
- package/lib/modules/common/pipes/enum.pipe.d.ts +1 -1
- package/lib/modules/common/pipes/swiss-date.pipe.d.ts +1 -1
- package/lib/modules/detail-header/detail-header.component.d.ts +1 -1
- package/lib/modules/dialog-trigger/dialog-trigger.component.d.ts +1 -1
- package/lib/modules/dropdown-components/abstract-association-select-component.directive.d.ts +11 -8
- package/lib/modules/dropdown-components/type-date/type-date.component.d.ts +9 -6
- package/lib/modules/dropdown-components/type-date-range/type-date-range.component.d.ts +11 -8
- package/lib/modules/dropdown-components/type-hierarchic-selector/type-hierarchic-selector.component.d.ts +1 -1
- 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 +10 -7
- package/lib/modules/dropdown-components/type-select/type-select.component.d.ts +8 -5
- package/lib/modules/dropdown-components/type-text/type-text.component.d.ts +4 -4
- package/lib/modules/dropdown-components/types.d.ts +4 -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/fixed-button/fixed-button.component.d.ts +1 -1
- package/lib/modules/fixed-button-detail/fixed-button-detail.component.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 +1 -1
- package/lib/modules/icon/icon.component.d.ts +1 -1
- package/lib/modules/panels/abstract-panel.d.ts +1 -1
- package/lib/modules/panels/panels.component.d.ts +1 -1
- package/lib/modules/relations/relations.component.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 +6 -7
- package/lib/modules/search/search/search.component.d.ts +1 -1
- package/lib/modules/select/abstract-select.component.d.ts +9 -9
- package/lib/modules/select/select/select.component.d.ts +7 -5
- package/lib/modules/select/select-enum/select-enum.component.d.ts +5 -3
- package/lib/modules/select/select-hierarchic/select-hierarchic.component.d.ts +3 -3
- 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/stamp/stamp.component.d.ts +1 -1
- package/lib/modules/table-button/table-button.component.d.ts +1 -1
- package/lib/services/abstract-model.service.d.ts +2 -2
- package/package.json +15 -8
|
File without changes
|
|
@@ -12,5 +12,5 @@ export declare class NaturalAbstractController implements OnDestroy {
|
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
back(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractController, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractController, never, never, {}, {}, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractController, never, never, {}, {}, never, never, false>;
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { NaturalAlertService } from '../modules/alert/alert.service';
|
|
5
5
|
import { NaturalAbstractPanel } from '../modules/panels/abstract-panel';
|
|
@@ -20,7 +20,7 @@ export declare class NaturalAbstractDetail<TService extends NaturalAbstractModel
|
|
|
20
20
|
/**
|
|
21
21
|
* Form that manages the data from the controller
|
|
22
22
|
*/
|
|
23
|
-
form:
|
|
23
|
+
form: UntypedFormGroup;
|
|
24
24
|
/**
|
|
25
25
|
* Show / hides the bottom fab button (mostly to hide it when we are on other tabs where semantic of button can conflict with ...
|
|
26
26
|
* semantic of data on other tab, like relations that list other objects)
|
|
@@ -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>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractDetail<any>, never, never, {}, {}, never, never, false>;
|
|
61
61
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractControl,
|
|
1
|
+
import { AbstractControl, UntypedFormArray, UntypedFormGroup } from '@angular/forms';
|
|
2
2
|
import { MatTableDataSource } from '@angular/material/table';
|
|
3
3
|
import { NaturalAbstractModelService } from '../services/abstract-model.service';
|
|
4
4
|
import { NaturalAbstractController } from './abstract-controller';
|
|
@@ -28,10 +28,10 @@ import * as i0 from "@angular/core";
|
|
|
28
28
|
*/
|
|
29
29
|
export declare class NaturalAbstractEditableList<TService extends NaturalAbstractModelService<any, any, PaginatedData<Literal>, QueryVariables, any, any, any, any, any, any>, T extends Literal = ExtractTallOne<TService>> extends NaturalAbstractController {
|
|
30
30
|
protected readonly service: TService;
|
|
31
|
-
readonly form:
|
|
32
|
-
readonly formArray:
|
|
31
|
+
readonly form: UntypedFormGroup;
|
|
32
|
+
readonly formArray: UntypedFormArray;
|
|
33
33
|
readonly variablesManager: NaturalQueryVariablesManager<ExtractVall<TService>>;
|
|
34
|
-
readonly dataSource: MatTableDataSource<AbstractControl
|
|
34
|
+
readonly dataSource: MatTableDataSource<AbstractControl<any, any>>;
|
|
35
35
|
constructor(service: TService);
|
|
36
36
|
/**
|
|
37
37
|
* Set the list of items (overwriting what may have existed)
|
|
@@ -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>;
|
|
67
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractEditableList<any, any>, never, never, {}, {}, never, never, false>;
|
|
68
68
|
}
|
|
@@ -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>;
|
|
178
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractList<any, any>, never, never, { "persistSearch": "persistSearch"; "selectedColumns": "selectedColumns"; "forcedVariables": "forcedVariables"; }, {}, never, never, false>;
|
|
179
179
|
}
|
|
180
180
|
export {};
|
|
@@ -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>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractNavigableList<any>, never, never, { "ancestorRelationName": "ancestorRelationName"; }, {}, never, never, false>;
|
|
53
53
|
}
|
|
54
54
|
export {};
|
|
@@ -15,7 +15,7 @@ export declare function available(getAvailableQuery: (value: string, excludedId:
|
|
|
15
15
|
/**
|
|
16
16
|
* Return all errors recursively for the given Form or control
|
|
17
17
|
*/
|
|
18
|
-
export declare function collectErrors(control: AbstractControl): ValidationErrors | null;
|
|
18
|
+
export declare function collectErrors(control: AbstractControl<unknown>): ValidationErrors | null;
|
|
19
19
|
/**
|
|
20
20
|
* Force validation of all form controls recursively.
|
|
21
21
|
*
|
|
@@ -23,7 +23,7 @@ export declare function collectErrors(control: AbstractControl): ValidationError
|
|
|
23
23
|
* Typically used when creating a new object and user clicked on create button but several fields were not
|
|
24
24
|
* touched and are invalid.
|
|
25
25
|
*/
|
|
26
|
-
export declare function validateAllFormControls(control: AbstractControl): void;
|
|
26
|
+
export declare function validateAllFormControls(control: AbstractControl<unknown>): void;
|
|
27
27
|
/**
|
|
28
28
|
* Emits exactly 0 or 1 time:
|
|
29
29
|
*
|
|
@@ -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>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalHttpPrefixDirective, "[naturalHttpPrefix]", never, { "naturalHttpPrefix": "naturalHttpPrefix"; }, {}, never, never, false>;
|
|
17
17
|
}
|
|
@@ -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>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalConfirmComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
13
13
|
}
|
|
@@ -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>;
|
|
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>;
|
|
52
52
|
}
|
|
53
53
|
export {};
|
|
@@ -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>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalColumnsPickerColumnDirective, "[naturalColumnsPickerColumn]", never, { "checked": "checked"; "hidden": "hidden"; "naturalColumnsPickerColumn": "naturalColumnsPickerColumn"; }, {}, never, never, false>;
|
|
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>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalColumnsPickerComponent, "natural-columns-picker", never, { "selections": "selections"; }, { "selectionChange": "selectionChange"; }, ["availableColumns"], never, false>;
|
|
36
36
|
}
|
|
@@ -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>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalLinkableTabDirective, "mat-tab-group[naturalLinkableTab]", never, { "naturalLinkableTab": "naturalLinkableTab"; }, {}, never, never, false>;
|
|
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>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalSrcDensityDirective, "img[naturalSrcDensity]", never, { "naturalSrcDensity": "naturalSrcDensity"; }, {}, never, never, false>;
|
|
34
34
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class NaturalCapitalizePipe implements PipeTransform {
|
|
4
4
|
transform(value: string | null): string | null;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalCapitalizePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalCapitalizePipe, "capitalize">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalCapitalizePipe, "capitalize", false>;
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class NaturalEllipsisPipe implements PipeTransform {
|
|
4
4
|
transform(value: string, limit: number): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalEllipsisPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalEllipsisPipe, "ellipsis">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalEllipsisPipe, "ellipsis", false>;
|
|
7
7
|
}
|
|
@@ -12,5 +12,5 @@ export declare class NaturalEnumPipe implements PipeTransform {
|
|
|
12
12
|
constructor(enumService: NaturalEnumService);
|
|
13
13
|
transform(value: any, enumName: string): Observable<string>;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalEnumPipe, never>;
|
|
15
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalEnumPipe, "enum">;
|
|
15
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalEnumPipe, "enum", false>;
|
|
16
16
|
}
|
|
@@ -8,5 +8,5 @@ export declare class NaturalSwissDatePipe extends DatePipe implements PipeTransf
|
|
|
8
8
|
transform(value: null | undefined, format?: string, timezone?: string, locale?: string): null;
|
|
9
9
|
transform(value: Date | string | number | null | undefined, format?: string, timezone?: string, locale?: string): string | null;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalSwissDatePipe, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalSwissDatePipe, "swissDate">;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NaturalSwissDatePipe, "swissDate", false>;
|
|
12
12
|
}
|
|
@@ -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, ["*"]>;
|
|
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>;
|
|
43
43
|
}
|
|
@@ -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>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalDialogTriggerComponent<any, any>, "ng-component", never, {}, {}, never, never, false>;
|
|
37
37
|
}
|
package/lib/modules/dropdown-components/abstract-association-select-component.directive.d.ts
CHANGED
|
@@ -3,16 +3,19 @@ import { FilterGroupConditionField } from '../search/classes/graphql-doctrine.ty
|
|
|
3
3
|
import { NaturalDropdownData } from '../search/dropdown-container/dropdown.service';
|
|
4
4
|
import { DropdownComponent } from '../search/types/dropdown-component';
|
|
5
5
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
6
|
-
import {
|
|
6
|
+
import { PossibleDiscreteOperatorKeys } from './types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare abstract class AbstractAssociationSelectComponent<C> implements DropdownComponent {
|
|
9
9
|
readonly configuration: C;
|
|
10
10
|
readonly renderedValue: BehaviorSubject<string>;
|
|
11
11
|
requireValueCtrl: boolean;
|
|
12
|
-
readonly operators: PossibleDiscreteOperator[];
|
|
13
|
-
readonly operatorCtrl: FormControl
|
|
14
|
-
readonly valueCtrl: FormControl
|
|
15
|
-
readonly form: FormGroup
|
|
12
|
+
readonly operators: import("./types").PossibleDiscreteOperator[];
|
|
13
|
+
readonly operatorCtrl: FormControl<PossibleDiscreteOperatorKeys>;
|
|
14
|
+
readonly valueCtrl: FormControl<any>;
|
|
15
|
+
readonly form: FormGroup<{
|
|
16
|
+
operator: FormControl<PossibleDiscreteOperatorKeys>;
|
|
17
|
+
value: FormControl<any>;
|
|
18
|
+
}>;
|
|
16
19
|
constructor(data: NaturalDropdownData<C>);
|
|
17
20
|
/**
|
|
18
21
|
* Reload the value from API (`operatorCtrl` should not be touched)
|
|
@@ -25,8 +28,8 @@ export declare abstract class AbstractAssociationSelectComponent<C> implements D
|
|
|
25
28
|
private initValidators;
|
|
26
29
|
private reloadCondition;
|
|
27
30
|
protected getRenderedValue(): string;
|
|
28
|
-
protected conditionToOperatorKey(condition: FilterGroupConditionField):
|
|
29
|
-
protected operatorKeyToCondition(key:
|
|
31
|
+
protected conditionToOperatorKey(condition: FilterGroupConditionField): PossibleDiscreteOperatorKeys;
|
|
32
|
+
protected operatorKeyToCondition(key: PossibleDiscreteOperatorKeys, values: string[]): FilterGroupConditionField;
|
|
30
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractAssociationSelectComponent<any>, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAssociationSelectComponent<any>, never, never, {}, {}, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAssociationSelectComponent<any>, never, never, {}, {}, never, never, false>;
|
|
32
35
|
}
|
|
@@ -12,12 +12,15 @@ export interface TypeDateConfiguration<D = any> {
|
|
|
12
12
|
export declare class TypeDateComponent<D = any> implements DropdownComponent {
|
|
13
13
|
private dateAdapter;
|
|
14
14
|
private dateFormats;
|
|
15
|
-
renderedValue: BehaviorSubject<string>;
|
|
16
|
-
configuration: TypeDateConfiguration<D>;
|
|
17
|
-
operatorCtrl: FormControl
|
|
18
|
-
valueCtrl: FormControl
|
|
15
|
+
readonly renderedValue: BehaviorSubject<string>;
|
|
16
|
+
readonly configuration: TypeDateConfiguration<D>;
|
|
17
|
+
readonly operatorCtrl: FormControl<"equal" | "greater" | "greaterOrEqual" | "less" | "lessOrEqual">;
|
|
18
|
+
readonly valueCtrl: FormControl<D | null>;
|
|
19
19
|
readonly operators: import("../types").PossibleComparableOperator[];
|
|
20
|
-
form: FormGroup
|
|
20
|
+
readonly form: FormGroup<{
|
|
21
|
+
operator: FormControl<"equal" | "greater" | "greaterOrEqual" | "less" | "lessOrEqual">;
|
|
22
|
+
value: FormControl<D | null>;
|
|
23
|
+
}>;
|
|
21
24
|
private readonly defaults;
|
|
22
25
|
constructor(data: NaturalDropdownData<TypeDateConfiguration<D>>, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats);
|
|
23
26
|
getCondition(): FilterGroupConditionField;
|
|
@@ -28,5 +31,5 @@ export declare class TypeDateComponent<D = any> implements DropdownComponent {
|
|
|
28
31
|
private getDayAfter;
|
|
29
32
|
private getRenderedValue;
|
|
30
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeDateComponent<any>, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
32
35
|
}
|
|
@@ -10,7 +10,7 @@ export interface TypeDateRangeConfiguration<D = any> {
|
|
|
10
10
|
max?: D | null;
|
|
11
11
|
}
|
|
12
12
|
declare class InvalidWithValueStateMatcher implements ErrorStateMatcher {
|
|
13
|
-
isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
13
|
+
isErrorState(control: FormControl<unknown> | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Date range with mandatory bounding dates.
|
|
@@ -20,12 +20,15 @@ declare class InvalidWithValueStateMatcher implements ErrorStateMatcher {
|
|
|
20
20
|
export declare class TypeDateRangeComponent<D = any> implements DropdownComponent {
|
|
21
21
|
private dateAdapter;
|
|
22
22
|
private dateFormats;
|
|
23
|
-
renderedValue: BehaviorSubject<string>;
|
|
24
|
-
configuration: TypeDateRangeConfiguration<D>;
|
|
25
|
-
matcher: InvalidWithValueStateMatcher;
|
|
26
|
-
fromCtrl: FormControl
|
|
27
|
-
toCtrl: FormControl
|
|
28
|
-
form: FormGroup
|
|
23
|
+
readonly renderedValue: BehaviorSubject<string>;
|
|
24
|
+
readonly configuration: TypeDateRangeConfiguration<D>;
|
|
25
|
+
readonly matcher: InvalidWithValueStateMatcher;
|
|
26
|
+
readonly fromCtrl: FormControl<D | null>;
|
|
27
|
+
readonly toCtrl: FormControl<D | null>;
|
|
28
|
+
readonly form: FormGroup<{
|
|
29
|
+
from: FormControl<D | null>;
|
|
30
|
+
to: FormControl<D | null>;
|
|
31
|
+
}>;
|
|
29
32
|
private readonly defaults;
|
|
30
33
|
constructor(data: NaturalDropdownData<TypeDateRangeConfiguration<D>>, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats);
|
|
31
34
|
getCondition(): FilterGroupConditionField;
|
|
@@ -36,6 +39,6 @@ export declare class TypeDateRangeComponent<D = any> implements DropdownComponen
|
|
|
36
39
|
render(value: D | null): string;
|
|
37
40
|
private getRenderedValue;
|
|
38
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeDateRangeComponent<any>, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateRangeComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeDateRangeComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
40
43
|
}
|
|
41
44
|
export {};
|
|
@@ -29,5 +29,5 @@ export declare class TypeHierarchicSelectorComponent extends AbstractAssociation
|
|
|
29
29
|
*/
|
|
30
30
|
private noEmptySelection;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeHierarchicSelectorComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeHierarchicSelectorComponent, "ng-component", never, {}, {}, never, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeHierarchicSelectorComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
33
33
|
}
|
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>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeNaturalSelectComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
18
18
|
}
|
|
@@ -13,12 +13,15 @@ export interface TypeNumberConfiguration {
|
|
|
13
13
|
}
|
|
14
14
|
export declare class TypeNumberComponent implements DropdownComponent {
|
|
15
15
|
protected dropdownRef: NaturalDropdownRef;
|
|
16
|
-
renderedValue: BehaviorSubject<string>;
|
|
17
|
-
configuration: TypeNumberConfiguration;
|
|
18
|
-
operatorCtrl: FormControl
|
|
19
|
-
valueCtrl: FormControl
|
|
20
|
-
matcher: InvalidWithValueStateMatcher;
|
|
21
|
-
form: FormGroup
|
|
16
|
+
readonly renderedValue: BehaviorSubject<string>;
|
|
17
|
+
readonly configuration: TypeNumberConfiguration;
|
|
18
|
+
readonly operatorCtrl: FormControl<"equal" | "greater" | "greaterOrEqual" | "less" | "lessOrEqual">;
|
|
19
|
+
readonly valueCtrl: FormControl<any>;
|
|
20
|
+
readonly matcher: InvalidWithValueStateMatcher;
|
|
21
|
+
readonly form: FormGroup<{
|
|
22
|
+
operator: FormControl<"equal" | "greater" | "greaterOrEqual" | "less" | "lessOrEqual">;
|
|
23
|
+
value: FormControl<any>;
|
|
24
|
+
}>;
|
|
22
25
|
readonly operators: import("../types").PossibleComparableOperator[];
|
|
23
26
|
constructor(data: NaturalDropdownData<TypeNumberConfiguration>, dropdownRef: NaturalDropdownRef);
|
|
24
27
|
getCondition(): FilterGroupConditionField;
|
|
@@ -29,5 +32,5 @@ export declare class TypeNumberComponent implements DropdownComponent {
|
|
|
29
32
|
private reloadCondition;
|
|
30
33
|
private getRenderedValue;
|
|
31
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeNumberComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeNumberComponent, "ng-component", never, {}, {}, never, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeNumberComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
33
36
|
}
|
|
@@ -6,7 +6,7 @@ import { NaturalDropdownData } from '../../search/dropdown-container/dropdown.se
|
|
|
6
6
|
import { DropdownComponent } from '../../search/types/dropdown-component';
|
|
7
7
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
8
8
|
import { NaturalAbstractController } from '../../../classes/abstract-controller';
|
|
9
|
-
import { PossibleDiscreteOperator } from '../types';
|
|
9
|
+
import { PossibleDiscreteOperator, PossibleDiscreteOperatorKeys } from '../types';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare type TypeSelectItem = Scalar | {
|
|
12
12
|
id: Scalar;
|
|
@@ -24,9 +24,12 @@ export declare class TypeSelectComponent extends NaturalAbstractController imple
|
|
|
24
24
|
list: MatSelectionList;
|
|
25
25
|
requireValueCtrl: boolean;
|
|
26
26
|
readonly operators: PossibleDiscreteOperator[];
|
|
27
|
-
readonly operatorCtrl: FormControl
|
|
28
|
-
readonly valueCtrl: FormControl
|
|
29
|
-
readonly form: FormGroup
|
|
27
|
+
readonly operatorCtrl: FormControl<PossibleDiscreteOperatorKeys>;
|
|
28
|
+
readonly valueCtrl: FormControl<any>;
|
|
29
|
+
readonly form: FormGroup<{
|
|
30
|
+
operator: FormControl<PossibleDiscreteOperatorKeys>;
|
|
31
|
+
value: FormControl<any>;
|
|
32
|
+
}>;
|
|
30
33
|
items: TypeSelectItem[];
|
|
31
34
|
private readonly configuration;
|
|
32
35
|
private readonly defaults;
|
|
@@ -49,5 +52,5 @@ export declare class TypeSelectComponent extends NaturalAbstractController imple
|
|
|
49
52
|
private conditionToOperatorKey;
|
|
50
53
|
private operatorKeyToCondition;
|
|
51
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<TypeSelectComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TypeSelectComponent, "ng-component", never, {}, {}, never, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeSelectComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
53
56
|
}
|
|
@@ -11,14 +11,14 @@ export declare class InvalidWithValueStateMatcher implements ErrorStateMatcher {
|
|
|
11
11
|
}
|
|
12
12
|
export declare class TypeTextComponent implements DropdownComponent {
|
|
13
13
|
protected dropdownRef: NaturalDropdownRef;
|
|
14
|
-
renderedValue: BehaviorSubject<string>;
|
|
15
|
-
formCtrl: FormControl
|
|
16
|
-
matcher: InvalidWithValueStateMatcher;
|
|
14
|
+
readonly renderedValue: BehaviorSubject<string>;
|
|
15
|
+
readonly formCtrl: FormControl<string>;
|
|
16
|
+
readonly matcher: InvalidWithValueStateMatcher;
|
|
17
17
|
constructor(data: NaturalDropdownData<never>, dropdownRef: NaturalDropdownRef);
|
|
18
18
|
getCondition(): FilterGroupConditionField;
|
|
19
19
|
isValid(): boolean;
|
|
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>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeTextComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
24
24
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { FilterGroupConditionField } from '../search/classes/graphql-doctrine.types';
|
|
2
|
+
export declare type PossibleComparableOpertorKeys = keyof Pick<FilterGroupConditionField, 'less' | 'lessOrEqual' | 'equal' | 'greaterOrEqual' | 'greater'>;
|
|
2
3
|
export interface PossibleComparableOperator {
|
|
3
|
-
key:
|
|
4
|
+
key: PossibleComparableOpertorKeys;
|
|
4
5
|
label: string;
|
|
5
6
|
}
|
|
6
7
|
export declare const possibleComparableOperators: PossibleComparableOperator[];
|
|
8
|
+
export declare type PossibleDiscreteOperatorKeys = 'is' | 'isnot' | 'any' | 'none';
|
|
7
9
|
export interface PossibleDiscreteOperator {
|
|
8
|
-
key:
|
|
10
|
+
key: PossibleDiscreteOperatorKeys;
|
|
9
11
|
label: string;
|
|
10
12
|
}
|
|
11
13
|
export declare const possibleDiscreteOperators: PossibleDiscreteOperator[];
|
|
@@ -93,5 +93,5 @@ export declare abstract class NaturalAbstractFile extends NaturalAbstractControl
|
|
|
93
93
|
private acceptValidator;
|
|
94
94
|
private fileSizeValidator;
|
|
95
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractFile, never>;
|
|
96
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractFile, never, never, { "multiple": "multiple"; "accept": "accept"; "maxSize": "maxSize"; "fileSelectionDisabled": "fileSelectionDisabled"; "selectable": "selectable"; "broadcast": "broadcast"; }, { "fileChange": "fileChange"; "filesChange": "filesChange"; }, never>;
|
|
96
|
+
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>;
|
|
97
97
|
}
|
|
@@ -34,5 +34,5 @@ export declare class FileComponent<TService extends NaturalAbstractModelService<
|
|
|
34
34
|
private updateImage;
|
|
35
35
|
private getBase64;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent<any>, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent<any>, "natural-file", never, { "height": "height"; "action": "action"; "backgroundSize": "backgroundSize"; "accept": "accept"; "service": "service"; "model": "model"; "formCtrl": "formCtrl"; }, { "modelChange": "modelChange"; }, never, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent<any>, "natural-file", never, { "height": "height"; "action": "action"; "backgroundSize": "backgroundSize"; "accept": "accept"; "service": "service"; "model": "model"; "formCtrl": "formCtrl"; }, { "modelChange": "modelChange"; }, never, never, false>;
|
|
38
38
|
}
|
|
@@ -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>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalFileDropDirective, ":not([naturalFileSelect])[naturalFileDrop]", never, {}, { "fileOver": "fileOver"; }, never, never, false>;
|
|
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>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalFileSelectDirective, ":not([naturalFileDrop])[naturalFileSelect]", never, { "selectable": "selectable"; }, {}, never, never, false>;
|
|
15
15
|
}
|
|
@@ -8,5 +8,5 @@ export declare class NaturalFixedButtonComponent {
|
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonComponent, "natural-fixed-button", never, { "icon": "icon"; "link": "link"; "color": "color"; "disabled": "disabled"; }, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonComponent, "natural-fixed-button", never, { "icon": "icon"; "link": "link"; "color": "color"; "disabled": "disabled"; }, {}, never, never, false>;
|
|
12
12
|
}
|
|
@@ -14,5 +14,5 @@ export declare class NaturalFixedButtonDetailComponent {
|
|
|
14
14
|
clickCreate(): void;
|
|
15
15
|
clickDelete(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalFixedButtonDetailComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonDetailComponent, "natural-fixed-button-detail", never, { "model": "model"; "form": "form"; }, { "create": "create"; "delete": "delete"; }, never, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalFixedButtonDetailComponent, "natural-fixed-button-detail", never, { "model": "model"; "form": "form"; }, { "create": "create"; "delete": "delete"; }, never, never, false>;
|
|
18
18
|
}
|
package/lib/modules/hierarchic-selector/hierarchic-selector/hierarchic-selector.component.d.ts
CHANGED
|
@@ -149,5 +149,5 @@ export declare class NaturalHierarchicSelectorComponent extends NaturalAbstractC
|
|
|
149
149
|
*/
|
|
150
150
|
private getMapKey;
|
|
151
151
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalHierarchicSelectorComponent, never>;
|
|
152
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalHierarchicSelectorComponent, "natural-hierarchic-selector", never, { "displayWith": "displayWith"; "config": "config"; "multiple": "multiple"; "selected": "selected"; "allowUnselect": "allowUnselect"; "filters": "filters"; "searchFacets": "searchFacets"; "searchSelections": "searchSelections"; }, { "searchSelectionChange": "searchSelectionChange"; "selectionChange": "selectionChange"; }, never, never>;
|
|
152
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalHierarchicSelectorComponent, "natural-hierarchic-selector", never, { "displayWith": "displayWith"; "config": "config"; "multiple": "multiple"; "selected": "selected"; "allowUnselect": "allowUnselect"; "filters": "filters"; "searchFacets": "searchFacets"; "searchSelections": "searchSelections"; }, { "searchSelectionChange": "searchSelectionChange"; "selectionChange": "selectionChange"; }, never, never, false>;
|
|
153
153
|
}
|
|
@@ -52,5 +52,5 @@ export declare class NaturalHierarchicSelectorDialogComponent {
|
|
|
52
52
|
constructor(data: HierarchicDialogConfig, dialogRef: MatDialogRef<NaturalHierarchicSelectorDialogComponent, HierarchicDialogResult>);
|
|
53
53
|
close(selected: OrganizedModelSelection | undefined): void;
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalHierarchicSelectorDialogComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalHierarchicSelectorDialogComponent, "ng-component", never, {}, {}, never, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalHierarchicSelectorDialogComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
56
56
|
}
|
|
@@ -36,6 +36,6 @@ export declare class NaturalIconComponent {
|
|
|
36
36
|
set size(val: number);
|
|
37
37
|
private registerIcons;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalIconComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalIconComponent, "natural-icon", never, { "label": "label"; "labelColor": "labelColor"; "labelPosition": "labelPosition"; "name": "name"; "size": "size"; }, {}, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalIconComponent, "natural-icon", never, { "label": "label"; "labelColor": "labelColor"; "labelPosition": "labelPosition"; "name": "name"; "size": "size"; }, {}, never, never, false>;
|
|
40
40
|
}
|
|
41
41
|
export {};
|
|
@@ -32,5 +32,5 @@ export declare class NaturalAbstractPanel extends NaturalAbstractController {
|
|
|
32
32
|
*/
|
|
33
33
|
initPanel(panelData: NaturalPanelData): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalAbstractPanel, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractPanel, never, never, {}, {}, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NaturalAbstractPanel, never, never, {}, {}, never, never, false>;
|
|
36
36
|
}
|
|
@@ -8,5 +8,5 @@ export declare class NaturalPanelsComponent implements OnDestroy {
|
|
|
8
8
|
constructor(panelsService: NaturalPanelsService, route: ActivatedRoute);
|
|
9
9
|
ngOnDestroy(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalPanelsComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalPanelsComponent, "natural-panels", never, {}, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalPanelsComponent, "natural-panels", never, {}, {}, never, never, false>;
|
|
12
12
|
}
|
|
@@ -111,5 +111,5 @@ export declare class NaturalRelationsComponent<TService extends NaturalAbstractM
|
|
|
111
111
|
private queryItems;
|
|
112
112
|
private getSelectKey;
|
|
113
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalRelationsComponent<any>, never>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalRelationsComponent<any>, "natural-relations", never, { "service": "service"; "placeholder": "placeholder"; "autocompleteSelectorFilter": "autocompleteSelectorFilter"; "displayWith": "displayWith"; "disabled": "disabled"; "main": "main"; "hierarchicSelectorFilters": "hierarchicSelectorFilters"; "hierarchicSelectorConfig": "hierarchicSelectorConfig"; "otherName": "otherName"; "filter": "filter"; }, { "selectionChange": "selectionChange"; }, ["itemTemplate"], never>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalRelationsComponent<any>, "natural-relations", never, { "service": "service"; "placeholder": "placeholder"; "autocompleteSelectorFilter": "autocompleteSelectorFilter"; "displayWith": "displayWith"; "disabled": "disabled"; "main": "main"; "hierarchicSelectorFilters": "hierarchicSelectorFilters"; "hierarchicSelectorConfig": "hierarchicSelectorConfig"; "otherName": "otherName"; "filter": "filter"; }, { "selectionChange": "selectionChange"; }, ["itemTemplate"], never, false>;
|
|
115
115
|
}
|
|
@@ -33,5 +33,5 @@ export declare class NaturalDropdownContainerComponent extends BasePortalOutlet
|
|
|
33
33
|
/** Restores focus to the element that was focused before the dialog opened. */
|
|
34
34
|
private restoreFocus;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalDropdownContainerComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalDropdownContainerComponent, "ng-component", never, {}, {}, never, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalDropdownContainerComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
37
37
|
}
|
|
@@ -28,5 +28,5 @@ export declare class FacetSelectorComponent implements DropdownComponent {
|
|
|
28
28
|
isValid(): boolean;
|
|
29
29
|
isDirty(): boolean;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<FacetSelectorComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FacetSelectorComponent, "ng-component", never, {}, {}, never, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FacetSelectorComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
32
32
|
}
|
|
@@ -14,5 +14,5 @@ export declare class NaturalGroupComponent {
|
|
|
14
14
|
addInput(selection: NaturalSearchSelection): void;
|
|
15
15
|
removeInput(index: number): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalGroupComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalGroupComponent, "natural-group", never, { "placeholder": "placeholder"; "facets": "facets"; "selections": "selections"; }, { "selectionChange": "selectionChange"; }, never, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NaturalGroupComponent, "natural-group", never, { "placeholder": "placeholder"; "facets": "facets"; "selections": "selections"; }, { "selectionChange": "selectionChange"; }, never, never, false>;
|
|
18
18
|
}
|