@sumaris-net/ngx-components 18.16.1 → 18.16.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/doc/changelog.md +4 -0
- package/esm2022/src/app/core/graphql/graphql.service.mjs +13 -2
- package/esm2022/src/app/core/services/network.service.mjs +35 -3
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +8 -15
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +4 -4
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +25 -8
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +4 -4
- package/fesm2022/sumaris-net.ngx-components.mjs +87 -35
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/network.service.d.ts +5 -0
- package/src/app/shared/material/boolean/material.boolean.d.ts +2 -2
- package/src/app/shared/material/datetime/material.datetime.d.ts +1 -2
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -146,6 +146,11 @@ export declare class NetworkService extends StartableObservableService<Peer, Pee
|
|
|
146
146
|
nocache?: boolean;
|
|
147
147
|
timeout?: number;
|
|
148
148
|
}): Promise<T>;
|
|
149
|
+
protected addVersionHeader<T extends {
|
|
150
|
+
headers?: HttpHeaders | {
|
|
151
|
+
[header: string]: string | string[];
|
|
152
|
+
};
|
|
153
|
+
}>(opts?: T): T;
|
|
149
154
|
protected getUri(path: string): string;
|
|
150
155
|
protected onDeviceConnectionChanged(connectionType?: ConnectionType): void;
|
|
151
156
|
/**
|
|
@@ -49,7 +49,7 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
49
49
|
set value(v: any);
|
|
50
50
|
get value(): any;
|
|
51
51
|
keyupEnter: EventEmitter<any>;
|
|
52
|
-
|
|
52
|
+
focused: EventEmitter<FocusEvent>;
|
|
53
53
|
blurred: EventEmitter<FocusEvent>;
|
|
54
54
|
constructor(cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
55
55
|
ngOnInit(): void;
|
|
@@ -79,7 +79,7 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
79
79
|
protected get radioButtonElements(): HTMLElement[];
|
|
80
80
|
protected get inputsElements(): HTMLElement[];
|
|
81
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatBooleanField, [null, { optional: true; }]>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatBooleanField, "mat-boolean-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "style": { "alias": "style"; "required": false; }; "buttonsColCount": { "alias": "buttonsColCount"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "yesLabel": { "alias": "yesLabel"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; "showButtonIcons": { "alias": "showButtonIcons"; "required": false; }; "yesIcon": { "alias": "yesIcon"; "required": false; }; "noIcon": { "alias": "noIcon"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "showRadio": { "alias": "showRadio"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "keyupEnter": "keyup.enter"; "
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatBooleanField, "mat-boolean-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "style": { "alias": "style"; "required": false; }; "buttonsColCount": { "alias": "buttonsColCount"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "yesLabel": { "alias": "yesLabel"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; "showButtonIcons": { "alias": "showButtonIcons"; "required": false; }; "yesIcon": { "alias": "yesIcon"; "required": false; }; "noIcon": { "alias": "noIcon"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "showRadio": { "alias": "showRadio"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "keyupEnter": "keyup.enter"; "focused": "focus"; "blurred": "blur"; }, never, ["[matPrefix]", "[matSuffix]"], false, never>;
|
|
83
83
|
static ngAcceptInputType_disabled: unknown;
|
|
84
84
|
static ngAcceptInputType_readonly: unknown;
|
|
85
85
|
static ngAcceptInputType_required: unknown;
|
|
@@ -46,7 +46,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
46
46
|
protected maskitoTimeOptions: MaskitoOptions;
|
|
47
47
|
protected datePlaceholder: string;
|
|
48
48
|
protected timePlaceholder: string;
|
|
49
|
-
protected timePickerReady: boolean;
|
|
50
49
|
logPrefix: string;
|
|
51
50
|
placeholder: string;
|
|
52
51
|
floatLabel: AppFloatLabelType;
|
|
@@ -105,7 +104,7 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
105
104
|
protected _openDatePickerIfMobile(event?: Event, datePicker?: MatDatepicker<any>): void;
|
|
106
105
|
protected _openTimePickerIfMobile(event?: Event): void;
|
|
107
106
|
filterInputTextFocusEvent(event: FocusEvent): boolean;
|
|
108
|
-
protected filterInputTextBlurEvent(event: FocusEvent):
|
|
107
|
+
protected filterInputTextBlurEvent(event: FocusEvent): boolean;
|
|
109
108
|
protected _onBlur(event: FocusEvent): void;
|
|
110
109
|
protected _checkIfTouched(): void;
|
|
111
110
|
protected _preventEvent(event?: Event): void;
|
|
@@ -14,7 +14,7 @@ export declare class DateTimeTestPage implements OnInit {
|
|
|
14
14
|
memoryHide: boolean;
|
|
15
15
|
memoryMobile: boolean;
|
|
16
16
|
memoryTimer: Subscription;
|
|
17
|
-
|
|
17
|
+
hasFocus: boolean;
|
|
18
18
|
form: UntypedFormGroup;
|
|
19
19
|
mode: 'mobile' | 'desktop' | 'memory' | 'temp';
|
|
20
20
|
appearance: MatFormFieldAppearance;
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "18.16.
|
|
5
|
+
"version": "18.16.3",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|