@sumaris-net/ngx-components 1.20.0 → 1.20.3
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/bundles/sumaris-net.ngx-components.umd.js +6 -3
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/doc/changelog.md +7 -0
- package/esm2015/src/app/core/services/model/filter.model.js +1 -1
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +3 -2
- package/esm2015/src/app/shared/material/chips/material.chips.js +3 -2
- package/esm2015/src/app/shared/material/swipe/material.swipe.js +3 -2
- package/fesm2015/sumaris-net.ngx-components.js +6 -3
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/filter.model.d.ts +1 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +2 -1
- package/src/app/shared/material/chips/material.chips.d.ts +2 -1
- package/src/app/shared/material/swipe/material.swipe.d.ts +2 -1
- package/src/theme/_mixins.scss +2 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Entity, EntityAsObjectOptions, IEntity } from './entity.model';
|
|
2
2
|
import { FilterFn } from '../../../shared/services/entity-service.class';
|
|
3
|
-
export interface IEntityFilter<F extends IEntityFilter<F, T, ID, AO, FO>, T extends IEntity<T,
|
|
3
|
+
export interface IEntityFilter<F extends IEntityFilter<F, T, ID, AO, FO>, T extends IEntity<T, any>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> extends IEntity<F, ID, AO, FO> {
|
|
4
4
|
asPodObject(): any;
|
|
5
5
|
asFilterFn(): FilterFn<T>;
|
|
6
6
|
isEmpty(): boolean;
|
|
@@ -4,7 +4,7 @@ import { BehaviorSubject, Observable } from 'rxjs';
|
|
|
4
4
|
import { LoadResult, SuggestFn, SuggestService } from '../../services/entity-service.class';
|
|
5
5
|
import { InputElement } from '../../inputs';
|
|
6
6
|
import { DisplayFn, EqualsFn } from '../../form/field.model';
|
|
7
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
7
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
8
8
|
import { MatSelect } from '@angular/material/select';
|
|
9
9
|
import { MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
10
10
|
import { IonSearchbar } from '@ionic/angular';
|
|
@@ -51,6 +51,7 @@ export declare class MatAutocompleteField implements OnInit, OnDestroy, InputEle
|
|
|
51
51
|
formControl: FormControl;
|
|
52
52
|
formControlName: string;
|
|
53
53
|
floatLabel: FloatLabelType;
|
|
54
|
+
appearance: MatFormFieldAppearance;
|
|
54
55
|
placeholder: string;
|
|
55
56
|
suggestFn: SuggestFn<any, any>;
|
|
56
57
|
required: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl, FormGroupDirective } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
4
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
5
|
import { MatAutocomplete, MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
6
6
|
import { InputElement } from '../../inputs';
|
|
7
7
|
import { SuggestFn } from '../../services/entity-service.class';
|
|
@@ -19,6 +19,7 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
|
|
|
19
19
|
formControl: FormControl;
|
|
20
20
|
formControlName: string;
|
|
21
21
|
floatLabel: FloatLabelType;
|
|
22
|
+
appearance: MatFormFieldAppearance;
|
|
22
23
|
placeholder: string;
|
|
23
24
|
suggestFn: SuggestFn<any, any>;
|
|
24
25
|
required: boolean;
|
|
@@ -3,7 +3,7 @@ import { ControlValueAccessor, FormControl, FormGroupDirective } from '@angular/
|
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { InputElement, selectInputContent } from '../../inputs';
|
|
5
5
|
import { EqualsFn, DisplayFn } from '../../form/field.model';
|
|
6
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
6
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
7
7
|
import { IonSlides } from '@ionic/angular';
|
|
8
8
|
import { MatButton } from '@angular/material/button';
|
|
9
9
|
export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, ControlValueAccessor {
|
|
@@ -28,6 +28,7 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
|
|
|
28
28
|
formControl: FormControl;
|
|
29
29
|
formControlName: string;
|
|
30
30
|
floatLabel: FloatLabelType;
|
|
31
|
+
appearance: MatFormFieldAppearance;
|
|
31
32
|
placeholder: string;
|
|
32
33
|
debug: boolean;
|
|
33
34
|
required: boolean;
|
package/src/theme/_mixins.scss
CHANGED
|
@@ -111,6 +111,8 @@
|
|
|
111
111
|
--app-paginator-height: #{$app-paginator-height};
|
|
112
112
|
--app-form-buttons-bar-height: #{$app-form-buttons-bar-height};
|
|
113
113
|
--app-footer-height: var(--app-form-buttons-bar-height);
|
|
114
|
+
--mat-tab-link-height: #{$mat-tab-link-height};
|
|
115
|
+
--mat-tab-bar-height: #{$mat-tab-bar-height};
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
@mixin css-variables-to-root-mobile() {
|