@sumaris-net/ngx-components 2.12.26-alpha2 → 2.12.26
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 +6 -0
- package/esm2022/src/app/admin/services/validator/person.validator.mjs +11 -8
- package/esm2022/src/app/admin/users/users.mjs +11 -5
- package/esm2022/src/app/core/account/account.page.mjs +12 -5
- package/esm2022/src/app/core/account/new-token.modal.mjs +15 -8
- package/esm2022/src/app/core/account/password/change-password.form.mjs +10 -5
- package/esm2022/src/app/core/account/password/change-password.page.mjs +9 -4
- package/esm2022/src/app/core/account/token.table.mjs +12 -5
- package/esm2022/src/app/core/auth/auth.form.mjs +11 -5
- package/esm2022/src/app/core/auth/auth.modal.mjs +17 -14
- package/esm2022/src/app/core/auth/reset-password.modal.mjs +20 -16
- package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +13 -5
- package/esm2022/src/app/core/form/entity/editor.class.mjs +20 -14
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +21 -10
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +24 -11
- package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +21 -5
- package/esm2022/src/app/core/form/form-container.class.mjs +5 -4
- package/esm2022/src/app/core/form/form.class.mjs +13 -13
- package/esm2022/src/app/core/form/list/list.form.mjs +20 -10
- package/esm2022/src/app/core/form/properties/properties.form.mjs +26 -17
- package/esm2022/src/app/core/form/properties/properties.table.mjs +14 -10
- package/esm2022/src/app/core/form/properties/property.validator.mjs +8 -5
- package/esm2022/src/app/core/form/username/username.form.mjs +10 -5
- package/esm2022/src/app/core/home/home.mjs +63 -40
- package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +34 -21
- package/esm2022/src/app/core/menu/menu.component.mjs +53 -33
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +15 -13
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +15 -13
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +40 -26
- package/esm2022/src/app/core/services/testing/referential.validator.mjs +8 -5
- package/esm2022/src/app/core/services/validator/account.validator.mjs +18 -8
- package/esm2022/src/app/core/services/validator/base.validator.class.mjs +11 -9
- package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +10 -8
- package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +6 -5
- package/esm2022/src/app/core/services/validator/user-token.validator.mjs +6 -5
- package/esm2022/src/app/core/settings/settings.page.mjs +35 -25
- package/esm2022/src/app/core/table/async-table.class.mjs +32 -16
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +9 -8
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +9 -8
- package/esm2022/src/app/core/table/column/row-field.component.mjs +11 -6
- package/esm2022/src/app/core/table/memory-table.class.mjs +4 -4
- package/esm2022/src/app/core/table/table.class.mjs +40 -27
- package/esm2022/src/app/core/table/table.pipes.mjs +21 -15
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +8 -5
- package/esm2022/src/app/core/table/testing/table.testing.mjs +11 -6
- package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +8 -5
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +13 -9
- package/esm2022/src/app/shared/form/field.component.mjs +16 -14
- package/esm2022/src/app/shared/help/help.modal.mjs +25 -20
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +40 -31
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +18 -14
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +14 -13
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +8 -6
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +21 -14
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +12 -5
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +23 -18
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +41 -33
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +42 -36
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +41 -33
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +13 -11
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +14 -12
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +14 -12
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +29 -18
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +14 -12
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +32 -25
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +20 -15
- package/esm2022/src/app/shared/material/testing/common.test.mjs +14 -12
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +12 -5
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +13 -6
- package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +12 -13
- package/esm2022/src/app/shared/pipes/form.pipes.mjs +26 -18
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +35 -33
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +53 -28
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +30 -20
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +16 -14
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +20 -18
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +26 -18
- package/esm2022/src/app/social/message/message.form.mjs +10 -5
- package/esm2022/src/app/social/message/message.modal.mjs +19 -16
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +27 -18
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +40 -23
- package/fesm2022/sumaris-net.ngx-components.mjs +1250 -756
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/admin/services/validator/person.validator.d.ts +3 -2
- package/src/app/admin/users/users.d.ts +4 -2
- package/src/app/core/account/account.page.d.ts +4 -2
- package/src/app/core/account/new-token.modal.d.ts +3 -2
- package/src/app/core/account/password/change-password.form.d.ts +4 -2
- package/src/app/core/account/password/change-password.page.d.ts +4 -2
- package/src/app/core/account/token.table.d.ts +6 -3
- package/src/app/core/auth/auth.form.d.ts +5 -3
- package/src/app/core/auth/auth.modal.d.ts +7 -5
- package/src/app/core/auth/reset-password.modal.d.ts +6 -6
- package/src/app/core/form/array/testing/form-array.test.d.ts +5 -2
- package/src/app/core/form/entity/editor.class.d.ts +7 -7
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +5 -3
- package/src/app/core/form/entity/entity-editor.class.d.ts +7 -4
- package/src/app/core/form/entity/tab-editor.class.d.ts +11 -2
- package/src/app/core/form/form-container.class.d.ts +1 -2
- package/src/app/core/form/form.class.d.ts +3 -5
- package/src/app/core/form/list/list.form.d.ts +8 -3
- package/src/app/core/form/properties/properties.form.d.ts +7 -3
- package/src/app/core/form/properties/properties.table.d.ts +5 -3
- package/src/app/core/form/properties/property.validator.d.ts +3 -1
- package/src/app/core/form/username/username.form.d.ts +5 -3
- package/src/app/core/home/home.d.ts +22 -16
- package/src/app/core/install/install-upgrade-card.component.d.ts +15 -10
- package/src/app/core/menu/menu.component.d.ts +17 -13
- package/src/app/core/menu/testing/menu-other.testing.d.ts +5 -1
- package/src/app/core/menu/testing/menu.testing.d.ts +5 -1
- package/src/app/core/peer/select-peer.modal.d.ts +15 -10
- package/src/app/core/services/testing/referential.validator.d.ts +3 -2
- package/src/app/core/services/validator/account.validator.d.ts +8 -2
- package/src/app/core/services/validator/base.validator.class.d.ts +3 -3
- package/src/app/core/services/validator/local-settings.validator.d.ts +4 -3
- package/src/app/core/services/validator/user-settings.validator.d.ts +2 -2
- package/src/app/core/services/validator/user-token.validator.d.ts +2 -2
- package/src/app/core/settings/settings.page.d.ts +9 -3
- package/src/app/core/table/async-table.class.d.ts +14 -14
- package/src/app/core/table/column/actions-column.component.d.ts +3 -3
- package/src/app/core/table/column/nav-actions-column.component.d.ts +4 -4
- package/src/app/core/table/column/row-field.component.d.ts +2 -2
- package/src/app/core/table/memory-table.class.d.ts +2 -2
- package/src/app/core/table/table.class.d.ts +14 -15
- package/src/app/core/table/table.pipes.d.ts +5 -4
- package/src/app/core/table/testing/table-validator.service.d.ts +3 -2
- package/src/app/core/table/testing/table.testing.d.ts +4 -2
- package/src/app/core/table/testing/table2-validator.service.d.ts +3 -1
- package/src/app/core/table/testing/table2.testing.d.ts +4 -2
- package/src/app/shared/form/field.component.d.ts +5 -5
- package/src/app/shared/help/help.modal.d.ts +8 -7
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +8 -8
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +7 -6
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +4 -4
- package/src/app/shared/material/badge/badge.test.d.ts +3 -2
- package/src/app/shared/material/boolean/material.boolean.d.ts +6 -5
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +5 -2
- package/src/app/shared/material/chips/material.chips.d.ts +5 -5
- package/src/app/shared/material/datetime/material.date.d.ts +11 -10
- package/src/app/shared/material/datetime/material.dateshort.d.ts +11 -10
- package/src/app/shared/material/datetime/material.datetime.d.ts +11 -10
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +4 -4
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +3 -3
- package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +3 -3
- package/src/app/shared/material/duration/material.duration.d.ts +12 -6
- package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +3 -3
- package/src/app/shared/material/latlong/material.latlong.d.ts +9 -9
- package/src/app/shared/material/swipe/material.swipe.d.ts +5 -5
- package/src/app/shared/material/testing/common.test.d.ts +4 -4
- package/src/app/shared/material/text/text-form.component.d.ts +6 -3
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +5 -2
- package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +3 -4
- package/src/app/shared/pipes/form.pipes.d.ts +7 -6
- package/src/app/shared/pipes/selection.pipes.d.ts +10 -10
- package/src/app/shared/storage/storage-explorer.component.d.ts +15 -12
- package/src/app/shared/toolbar/toolbar.d.ts +12 -10
- package/src/app/shared/upload-file/upload-file-popover.component.d.ts +4 -4
- package/src/app/shared/upload-file/upload-file.component.d.ts +3 -3
- package/src/app/social/job/progression/job-progression.icon.d.ts +6 -5
- package/src/app/social/message/message.form.d.ts +4 -2
- package/src/app/social/message/message.modal.d.ts +5 -5
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +8 -7
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +9 -8
- package/src/assets/manifest.json +1 -1
- package/src/theme/_ngx-components.table.scss +1 -2
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { OnDestroy, PipeTransform } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
|
|
2
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
3
|
import { AbstractSelectionModelPipe } from '../../shared/pipes/selection.pipes';
|
|
4
4
|
import { AppTable } from './table.class';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export type AppTableRowCountProperty = 'visibleRowCount' | 'totalRowCount';
|
|
8
|
-
export declare abstract class AbstractTableSelectionPipe<R, O, T extends AppTable<any> = AppTable<any>> extends AbstractSelectionModelPipe<any, R, O>
|
|
8
|
+
export declare abstract class AbstractTableSelectionPipe<R, O, T extends AppTable<any> = AppTable<any>> extends AbstractSelectionModelPipe<any, R, O> {
|
|
9
9
|
private _onRowsChanges;
|
|
10
|
+
protected constructor(_ref: ChangeDetectorRef);
|
|
10
11
|
transform(selectionOrTable: SelectionModel<any> | T, tableOrOpts?: T | O, opts?: O): R;
|
|
11
12
|
protected _subscribe(selection: SelectionModel<any>, table?: T, opts?: O): Subscription;
|
|
12
13
|
protected _dispose(): void;
|
|
@@ -14,13 +15,13 @@ export declare abstract class AbstractTableSelectionPipe<R, O, T extends AppTabl
|
|
|
14
15
|
static ɵpipe: i0.ɵɵPipeDeclaration<AbstractTableSelectionPipe<any, any, any>, "abstract-table-selection", false>;
|
|
15
16
|
}
|
|
16
17
|
export declare class IsAllSelectedPipe extends AbstractTableSelectionPipe<boolean, AppTableRowCountProperty> implements PipeTransform, OnDestroy {
|
|
17
|
-
constructor();
|
|
18
|
+
constructor(_ref: ChangeDetectorRef);
|
|
18
19
|
protected _transform(selection: SelectionModel<any>, table: AppTable<any>, countPropertyName?: AppTableRowCountProperty): boolean;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<IsAllSelectedPipe, never>;
|
|
20
21
|
static ɵpipe: i0.ɵɵPipeDeclaration<IsAllSelectedPipe, "isAllSelected", false>;
|
|
21
22
|
}
|
|
22
23
|
export declare class IsNotAllSelectedPipe extends IsAllSelectedPipe implements PipeTransform, OnDestroy {
|
|
23
|
-
constructor();
|
|
24
|
+
constructor(_ref: ChangeDetectorRef);
|
|
24
25
|
protected _transform(selection: SelectionModel<any>, table: AppTable<any>, countPropertyName?: AppTableRowCountProperty): boolean;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<IsNotAllSelectedPipe, never>;
|
|
26
27
|
static ɵpipe: i0.ɵɵPipeDeclaration<IsNotAllSelectedPipe, "isNotAllSelected", false>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ReferentialValidatorService } from '../../services/testing/referential.validator';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { Referential } from '../../services/model/referential.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TableValidatorService extends ReferentialValidatorService {
|
|
6
|
-
|
|
6
|
+
protected formBuilder: UntypedFormBuilder;
|
|
7
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
7
8
|
getFormGroup(data?: Referential, opts?: {
|
|
8
9
|
withDescription?: boolean;
|
|
9
10
|
withComments?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AppTable } from '../table.class';
|
|
3
3
|
import { Referential } from '../../services/model/referential.model';
|
|
4
4
|
import { IonInfiniteScroll } from '@ionic/angular';
|
|
@@ -12,6 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export declare class TableTestPage extends AppTable<Referential, ReferentialFilter> implements OnInit, OnDestroy, AfterViewInit {
|
|
13
13
|
protected validatorService: AppValidatorService;
|
|
14
14
|
protected formBuilder: UntypedFormBuilder;
|
|
15
|
+
protected cd: ChangeDetectorRef;
|
|
15
16
|
readonly maxRowCount = 100;
|
|
16
17
|
timer: Subscription;
|
|
17
18
|
canEdit: boolean;
|
|
@@ -30,7 +31,7 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
|
|
|
30
31
|
filterExpansionPanel: MatExpansionPanel;
|
|
31
32
|
infiniteScroll: IonInfiniteScroll;
|
|
32
33
|
get dataService(): InMemoryEntitiesService<Referential>;
|
|
33
|
-
constructor(validatorService: AppValidatorService, formBuilder: UntypedFormBuilder);
|
|
34
|
+
constructor(injector: Injector, validatorService: AppValidatorService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
|
|
34
35
|
ngOnInit(): void;
|
|
35
36
|
ngAfterViewInit(): Promise<void>;
|
|
36
37
|
ngOnDestroy(): void;
|
|
@@ -49,6 +50,7 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
|
|
|
49
50
|
startTimer(): void;
|
|
50
51
|
stopTimer(): void;
|
|
51
52
|
protected generateData(offset?: number, size?: number): Referential[];
|
|
53
|
+
protected markForCheck(): void;
|
|
52
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableTestPage, never>;
|
|
53
55
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableTestPage, "app-table-testing", never, { "filterPanelFloating": { "alias": "filterPanelFloating"; "required": false; }; "enableInfiniteScroll": { "alias": "enableInfiniteScroll"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; }, {}, never, never, false, never>;
|
|
54
56
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ReferentialValidatorService } from '../../services/testing/referential.validator';
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class Table2ValidatorService extends ReferentialValidatorService {
|
|
4
|
-
|
|
5
|
+
protected formBuilder: UntypedFormBuilder;
|
|
6
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
5
7
|
getFormGroupConfig(data?: any, opts?: {
|
|
6
8
|
withDescription?: boolean;
|
|
7
9
|
withComments?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AppTable } from '../table.class';
|
|
3
3
|
import { Referential } from '../../services/model/referential.model';
|
|
4
4
|
import { IonInfiniteScroll } from '@ionic/angular';
|
|
@@ -11,6 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
export declare class Table2TestPage extends AppTable<Referential, ReferentialFilter> implements OnInit, OnDestroy, AfterViewInit {
|
|
12
12
|
protected validatorService: AppValidatorService;
|
|
13
13
|
protected formBuilder: UntypedFormBuilder;
|
|
14
|
+
protected cd: ChangeDetectorRef;
|
|
14
15
|
readonly maxRowCount = 100;
|
|
15
16
|
canEdit: boolean;
|
|
16
17
|
data: Referential[];
|
|
@@ -27,7 +28,7 @@ export declare class Table2TestPage extends AppTable<Referential, ReferentialFil
|
|
|
27
28
|
filterExpansionPanel: MatExpansionPanel;
|
|
28
29
|
infiniteScroll: IonInfiniteScroll;
|
|
29
30
|
get dataService(): InMemoryEntitiesService<Referential>;
|
|
30
|
-
constructor(validatorService: AppValidatorService, formBuilder: UntypedFormBuilder);
|
|
31
|
+
constructor(injector: Injector, validatorService: AppValidatorService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
|
|
31
32
|
ngOnInit(): void;
|
|
32
33
|
ngAfterViewInit(): Promise<void>;
|
|
33
34
|
ngOnDestroy(): void;
|
|
@@ -43,6 +44,7 @@ export declare class Table2TestPage extends AppTable<Referential, ReferentialFil
|
|
|
43
44
|
closeFilterPanel(): void;
|
|
44
45
|
resetFilter(_?: Event): void;
|
|
45
46
|
protected generateData(offset?: number, size?: number): Referential[];
|
|
47
|
+
protected markForCheck(): void;
|
|
46
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<Table2TestPage, never>;
|
|
47
49
|
static ɵcmp: i0.ɵɵComponentDeclaration<Table2TestPage, "app-table2-testing", never, { "filterPanelFloating": { "alias": "filterPanelFloating"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; }, {}, never, ["[suffix]"], false, never>;
|
|
48
50
|
}
|
|
@@ -10,6 +10,9 @@ import { MatAutocompleteField } from '../material/autocomplete/material.autocomp
|
|
|
10
10
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
13
|
+
protected translate: TranslateService;
|
|
14
|
+
protected cd: ChangeDetectorRef;
|
|
15
|
+
protected injector: Injector;
|
|
13
16
|
private formGroupDir;
|
|
14
17
|
private _onChangeCallback;
|
|
15
18
|
private _onTouchedCallback;
|
|
@@ -17,9 +20,6 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
17
20
|
protected _values: Property[];
|
|
18
21
|
protected type: FormFieldType;
|
|
19
22
|
protected numberInputStep: string;
|
|
20
|
-
protected readonly translate: TranslateService;
|
|
21
|
-
protected readonly cd: ChangeDetectorRef;
|
|
22
|
-
protected readonly injector: Injector;
|
|
23
23
|
set definition(value: FormFieldDefinition);
|
|
24
24
|
get definition(): FormFieldDefinition;
|
|
25
25
|
required: boolean;
|
|
@@ -41,7 +41,7 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
41
41
|
get value(): any;
|
|
42
42
|
matInput: ElementRef;
|
|
43
43
|
autocompleteField: MatAutocompleteField;
|
|
44
|
-
constructor(formGroupDir: FormGroupDirective);
|
|
44
|
+
constructor(translate: TranslateService, cd: ChangeDetectorRef, injector: Injector, formGroupDir: FormGroupDirective);
|
|
45
45
|
ngOnInit(): void;
|
|
46
46
|
writeValue(obj: any): void;
|
|
47
47
|
registerOnChange(fn: any): void;
|
|
@@ -68,6 +68,6 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
68
68
|
emitEvent?: boolean;
|
|
69
69
|
}): void;
|
|
70
70
|
protected updateTabIndex(timeout?: number): void;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormField, [{ optional: true; }]>;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormField, [null, null, null, { optional: true; }]>;
|
|
72
72
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": { "alias": "definition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false, never>;
|
|
73
73
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
2
|
import { ModalController } from '@ionic/angular';
|
|
3
3
|
import { PlatformService } from '../../core/services/platform.service';
|
|
4
4
|
import { LocalSettingsService } from '../../core/services/local-settings.service';
|
|
@@ -11,6 +11,12 @@ export interface AppHelpModalOptions {
|
|
|
11
11
|
showError?: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare class AppHelpModal implements AppHelpModalOptions {
|
|
14
|
+
protected injector: Injector;
|
|
15
|
+
protected viewCtrl: ModalController;
|
|
16
|
+
protected platform: PlatformService;
|
|
17
|
+
protected settings: LocalSettingsService;
|
|
18
|
+
protected translate: TranslateService;
|
|
19
|
+
protected cd: ChangeDetectorRef;
|
|
14
20
|
readonly debug: boolean;
|
|
15
21
|
loading: boolean;
|
|
16
22
|
error: string;
|
|
@@ -18,12 +24,7 @@ export declare class AppHelpModal implements AppHelpModalOptions {
|
|
|
18
24
|
showError: boolean;
|
|
19
25
|
markdownContent: string;
|
|
20
26
|
markdownUrl: string;
|
|
21
|
-
|
|
22
|
-
protected readonly platform: PlatformService;
|
|
23
|
-
protected readonly settings: LocalSettingsService;
|
|
24
|
-
protected readonly translate: TranslateService;
|
|
25
|
-
protected readonly cd: ChangeDetectorRef;
|
|
26
|
-
constructor();
|
|
27
|
+
constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, cd: ChangeDetectorRef);
|
|
27
28
|
close(_?: Event): Promise<boolean>;
|
|
28
29
|
markAsLoaded(): void;
|
|
29
30
|
onLoadError(error?: string | Error): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AfterContentChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
3
3
|
import { TableDataSource, TableElement } from '@e-is/ngx-material-table';
|
|
4
|
+
import { Environment } from '../../../../environments/environment.class';
|
|
4
5
|
import { ImageService } from '../image.service';
|
|
5
6
|
import { Image } from '../image.model';
|
|
6
7
|
import { AlertController, IonModal, IonPopover, Platform } from '@ionic/angular';
|
|
@@ -17,6 +18,11 @@ export interface ISwiper extends Swiper {
|
|
|
17
18
|
imagesLoaded: number;
|
|
18
19
|
}
|
|
19
20
|
export declare class AppImageGalleryComponent<T extends Image> implements OnInit, OnDestroy, CollectionViewer, AfterContentChecked {
|
|
21
|
+
protected image: ImageService;
|
|
22
|
+
protected platform: Platform;
|
|
23
|
+
protected alterCtrl: AlertController;
|
|
24
|
+
protected translate: TranslateService;
|
|
25
|
+
protected cd: ChangeDetectorRef;
|
|
20
26
|
protected _destroySubject: Subject<void>;
|
|
21
27
|
protected _renderChangeSubscription: Subscription;
|
|
22
28
|
protected _subscription: Subscription;
|
|
@@ -59,13 +65,7 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
59
65
|
}>>;
|
|
60
66
|
onAfterAddRows: EventEmitter<TableElement<T>[]>;
|
|
61
67
|
onAfterEditRow: EventEmitter<TableElement<T>>;
|
|
62
|
-
|
|
63
|
-
protected readonly platform: Platform;
|
|
64
|
-
protected readonly alterCtrl: AlertController;
|
|
65
|
-
protected readonly translate: TranslateService;
|
|
66
|
-
protected readonly cd: ChangeDetectorRef;
|
|
67
|
-
protected readonly environment: import("../../../../environments/environment.class").Environment;
|
|
68
|
-
constructor();
|
|
68
|
+
constructor(image: ImageService, platform: Platform, alterCtrl: AlertController, translate: TranslateService, cd: ChangeDetectorRef, environment?: Environment);
|
|
69
69
|
ngOnInit(): void;
|
|
70
70
|
ngAfterContentChecked(): void;
|
|
71
71
|
ngOnDestroy(): void;
|
|
@@ -93,6 +93,6 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
93
93
|
interactive?: boolean;
|
|
94
94
|
}): Promise<boolean>;
|
|
95
95
|
protected markForCheck(): void;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppImageGalleryComponent<any>,
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppImageGalleryComponent<any>, [null, null, null, null, null, { optional: true; }]>;
|
|
97
97
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppImageGalleryComponent<any>, "app-image-gallery", never, { "cardColor": { "alias": "cardColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "confirmBeforeDelete": { "alias": "confirmBeforeDelete"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showFabButton": { "alias": "showFabButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showAddCardButton": { "alias": "showAddCardButton"; "required": false; }; "addButtonColor": { "alias": "addButtonColor"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, { "onBeforeDeleteRows": "onBeforeDeleteRows"; "onAfterAddRows": "onAfterAddRows"; "onAfterEditRow": "onAfterEditRow"; }, never, never, false, never>;
|
|
98
98
|
}
|
|
@@ -16,7 +16,7 @@ export interface InputElement extends FocusableElement {
|
|
|
16
16
|
}
|
|
17
17
|
export declare function isInputElement(object: any): object is InputElement;
|
|
18
18
|
export declare function asInputElement(object: ElementRef): InputElement | undefined;
|
|
19
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
19
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
|
|
20
20
|
export interface CanGainFocusOptions {
|
|
21
21
|
minTabindex?: number;
|
|
22
22
|
maxTabindex?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormGroupDirective, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { SuggestFn } from '../../services/entity-service.class';
|
|
@@ -11,7 +11,11 @@ import { IonSearchbar, ModalController } from '@ionic/angular';
|
|
|
11
11
|
import { MatAutocompleteFieldConfig } from './material.autocomplete.config';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDestroy, InputElement, ControlValueAccessor {
|
|
14
|
+
protected injector: Injector;
|
|
14
15
|
protected el: ElementRef<HTMLElement>;
|
|
16
|
+
protected cd: ChangeDetectorRef;
|
|
17
|
+
protected modalController: ModalController;
|
|
18
|
+
protected renderer: Renderer2;
|
|
15
19
|
private formGroupDir;
|
|
16
20
|
private _onChangeCallback;
|
|
17
21
|
private _onTouchedCallback;
|
|
@@ -31,9 +35,6 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
|
|
|
31
35
|
protected _moreItemsCount: number;
|
|
32
36
|
protected _fetchMore$: EventEmitter<Event>;
|
|
33
37
|
protected _defaultPanelWidth: string;
|
|
34
|
-
protected readonly cd: ChangeDetectorRef;
|
|
35
|
-
protected readonly modalController: ModalController;
|
|
36
|
-
protected readonly renderer: Renderer2;
|
|
37
38
|
equals: EqualsFn;
|
|
38
39
|
logPrefix: string;
|
|
39
40
|
formControl: UntypedFormControl;
|
|
@@ -92,7 +93,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
|
|
|
92
93
|
matInputText: ElementRef;
|
|
93
94
|
autocomplete: MatAutocomplete;
|
|
94
95
|
autocompleteTrigger: MatAutocompleteTrigger;
|
|
95
|
-
constructor(el: ElementRef<HTMLElement>, formGroupDir: FormGroupDirective);
|
|
96
|
+
constructor(injector: Injector, el: ElementRef<HTMLElement>, cd: ChangeDetectorRef, modalController: ModalController, renderer: Renderer2, formGroupDir: FormGroupDirective);
|
|
96
97
|
get itemCount(): number;
|
|
97
98
|
get canFetchMore(): boolean;
|
|
98
99
|
set filter(value: any);
|
|
@@ -148,7 +149,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
|
|
|
148
149
|
* @private
|
|
149
150
|
*/
|
|
150
151
|
private _fixSearchbarOverlay;
|
|
151
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteField, [null, { optional: true; }]>;
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteField, [null, null, null, null, null, { optional: true; }]>;
|
|
152
153
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatAutocompleteField, "mat-autocomplete-field", never, { "equals": { "alias": "equals"; "required": false; }; "logPrefix": { "alias": "logPrefix"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "suggestFn": { "alias": "suggestFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "displaySeparator": { "alias": "displaySeparator"; "required": false; }; "displayWith": { "alias": "displayWith"; "required": false; }; "displayAttributes": { "alias": "displayAttributes"; "required": false; }; "displayColumnSizes": { "alias": "displayColumnSizes"; "required": false; }; "displayColumnNames": { "alias": "displayColumnNames"; "required": false; }; "highlightAccent": { "alias": "highlightAccent"; "required": false; }; "showAllOnFocus": { "alias": "showAllOnFocus"; "required": false; }; "showPanelOnFocus": { "alias": "showPanelOnFocus"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "noResultMessage": { "alias": "noResultMessage"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "matAutocompletePosition": { "alias": "matAutocompletePosition"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "fetchMoreThreshold": { "alias": "fetchMoreThreshold"; "required": false; }; "suggestLengthThreshold": { "alias": "suggestLengthThreshold"; "required": false; }; "showLoadingSpinner": { "alias": "showLoadingSpinner"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "stickySearchBar": { "alias": "stickySearchBar"; "required": false; }; "applyImplicitValue": { "alias": "applyImplicitValue"; "required": false; }; "dropButtonTitle": { "alias": "dropButtonTitle"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "trimSearchText": { "alias": "trimSearchText"; "required": false; }; "splitSearchText": { "alias": "splitSearchText"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "clicked": "click"; "blurred": "blur"; "focused": "focus"; "dropButtonClick": "dropButtonClick"; "keydownEscape": "keydown.escape"; "keyupEnter": "keyup.enter"; "optionSelected": "optionSelected"; }, never, ["[matAfter]", "[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
|
|
153
154
|
static ngAcceptInputType_required: unknown;
|
|
154
155
|
static ngAcceptInputType_mobile: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { MatAutocompleteField } from '../material.autocomplete';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
@@ -12,6 +12,8 @@ declare class EntityTestClass {
|
|
|
12
12
|
name: string;
|
|
13
13
|
}
|
|
14
14
|
export declare class AutocompleteTestPage implements OnInit, AfterViewInit {
|
|
15
|
+
protected formBuilder: UntypedFormBuilder;
|
|
16
|
+
private cd;
|
|
15
17
|
private _items;
|
|
16
18
|
private _$items;
|
|
17
19
|
form: UntypedFormGroup;
|
|
@@ -23,9 +25,7 @@ export declare class AutocompleteTestPage implements OnInit, AfterViewInit {
|
|
|
23
25
|
mode: 'mobile' | 'desktop' | 'memory' | 'temp';
|
|
24
26
|
farEntityField: MatAutocompleteField;
|
|
25
27
|
ionModal: IonModal;
|
|
26
|
-
|
|
27
|
-
private readonly cd;
|
|
28
|
-
constructor();
|
|
28
|
+
constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
|
|
29
29
|
ngOnInit(): void;
|
|
30
30
|
ngAfterViewInit(): void;
|
|
31
31
|
loadData(): Promise<void>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
1
2
|
import { BehaviorSubject } from 'rxjs';
|
|
2
3
|
import { MatBadgeFill } from './badge.directive';
|
|
3
4
|
import { MatBadgeSize } from '@angular/material/badge';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MatBadgeTestPage {
|
|
7
|
+
private cd;
|
|
6
8
|
userText: string;
|
|
7
9
|
matBadgeContent: string;
|
|
8
10
|
$icon: BehaviorSubject<string>;
|
|
@@ -11,8 +13,7 @@ export declare class MatBadgeTestPage {
|
|
|
11
13
|
$color: BehaviorSubject<string>;
|
|
12
14
|
$hidden: BehaviorSubject<boolean>;
|
|
13
15
|
$overlap: BehaviorSubject<boolean>;
|
|
14
|
-
|
|
15
|
-
constructor();
|
|
16
|
+
constructor(cd: ChangeDetectorRef);
|
|
16
17
|
onInputChanged(event: any): void;
|
|
17
18
|
onMatBadgeContentChanged(event: any): void;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatBadgeTestPage, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
|
|
3
|
-
import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormControl } from '@angular/forms';
|
|
4
4
|
import { MatRadioButton, MatRadioChange } from '@angular/material/radio';
|
|
5
5
|
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
6
6
|
import { InputElement } from '../../inputs';
|
|
@@ -8,6 +8,9 @@ import { AppFloatLabelType } from '../../form/field.model';
|
|
|
8
8
|
import { IonButton } from '@ionic/angular';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MatBooleanField implements OnInit, ControlValueAccessor, InputElement, OnDestroy {
|
|
11
|
+
private cd;
|
|
12
|
+
protected el: ElementRef<HTMLElement>;
|
|
13
|
+
private formGroupDir;
|
|
11
14
|
private _onChangeCallback;
|
|
12
15
|
private _onTouchedCallback;
|
|
13
16
|
private readonly _subscription;
|
|
@@ -50,9 +53,7 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
50
53
|
get value(): any;
|
|
51
54
|
keyupEnter: EventEmitter<any>;
|
|
52
55
|
blurred: EventEmitter<FocusEvent>;
|
|
53
|
-
|
|
54
|
-
private readonly formGroupDir;
|
|
55
|
-
constructor();
|
|
56
|
+
constructor(cd: ChangeDetectorRef, el: ElementRef<HTMLElement>, formGroupDir: FormGroupDirective);
|
|
56
57
|
ngOnInit(): void;
|
|
57
58
|
ngOnDestroy(): void;
|
|
58
59
|
writeValue(value: any, event?: Event): void;
|
|
@@ -78,7 +79,7 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
78
79
|
protected get radioButtonElements(): HTMLElement[];
|
|
79
80
|
protected get inputsElements(): HTMLElement[];
|
|
80
81
|
protected get ionButtons(): IonButton[];
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatBooleanField,
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBooleanField, [null, null, { optional: true; }]>;
|
|
82
83
|
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; }; "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"; "blurred": "blur"; }, never, ["[matPrefix]", "[matSuffix]"], false, never>;
|
|
83
84
|
static ngAcceptInputType_disabled: unknown;
|
|
84
85
|
static ngAcceptInputType_readonly: unknown;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import { AfterViewInit, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { AppForm } from '../../../../core/form/form.class';
|
|
3
3
|
import { UntypedFormBuilder } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BooleanTestPage extends AppForm<any> implements OnInit, AfterViewInit {
|
|
6
|
+
protected injector: Injector;
|
|
6
7
|
protected formBuilder: UntypedFormBuilder;
|
|
8
|
+
protected cd: ChangeDetectorRef;
|
|
7
9
|
stringify: {
|
|
8
10
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
9
11
|
(value: any, replacer?: (string | number)[], space?: string | number): string;
|
|
10
12
|
};
|
|
11
13
|
mode: 'radio' | 'checkbox' | 'button';
|
|
12
14
|
styles: string[];
|
|
13
|
-
constructor(formBuilder: UntypedFormBuilder);
|
|
15
|
+
constructor(injector: Injector, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
|
|
14
16
|
ngAfterViewInit(): void;
|
|
15
17
|
toggleMode(value: any): void;
|
|
18
|
+
protected markForCheck(): void;
|
|
16
19
|
protected clearControlValue(path: string, event?: Event): void;
|
|
17
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanTestPage, never>;
|
|
18
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanTestPage, "app-boolean-test-page", never, {}, {}, never, never, false, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
2
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { InputElement } from '../../inputs';
|
|
5
5
|
import { SuggestFn } from '../../services/entity-service.class';
|
|
@@ -10,6 +10,8 @@ import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-
|
|
|
10
10
|
import { MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class MatChipsField implements OnInit, OnDestroy, InputElement, ControlValueAccessor {
|
|
13
|
+
protected cd: ChangeDetectorRef;
|
|
14
|
+
private formGroupDir;
|
|
13
15
|
private _onChangeCallback;
|
|
14
16
|
private _onTouchedCallback;
|
|
15
17
|
private _onFetchMoreCallback;
|
|
@@ -80,9 +82,7 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
|
|
|
80
82
|
matInputText: ElementRef;
|
|
81
83
|
autocomplete: MatAutocomplete;
|
|
82
84
|
autocompleteTrigger: MatAutocompleteTrigger;
|
|
83
|
-
|
|
84
|
-
private readonly formGroupDir;
|
|
85
|
-
constructor();
|
|
85
|
+
constructor(cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
86
86
|
get itemCount(): number;
|
|
87
87
|
get canFetchMore(): boolean;
|
|
88
88
|
set filter(value: any);
|
|
@@ -132,7 +132,7 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
|
|
|
132
132
|
private getAutocompletePanel;
|
|
133
133
|
private markForCheck;
|
|
134
134
|
private markAsLoading;
|
|
135
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsField,
|
|
135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsField, [null, { optional: true; }]>;
|
|
136
136
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipsField, "mat-chips-field", never, { "equals": { "alias": "equals"; "required": false; }; "logPrefix": { "alias": "logPrefix"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "suggestFn": { "alias": "suggestFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "displaySeparator": { "alias": "displaySeparator"; "required": false; }; "displayWith": { "alias": "displayWith"; "required": false; }; "displayAttributes": { "alias": "displayAttributes"; "required": false; }; "displayColumnSizes": { "alias": "displayColumnSizes"; "required": false; }; "displayColumnNames": { "alias": "displayColumnNames"; "required": false; }; "highlightAccent": { "alias": "highlightAccent"; "required": false; }; "showAllOnFocus": { "alias": "showAllOnFocus"; "required": false; }; "showPanelOnFocus": { "alias": "showPanelOnFocus"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "noResultMessage": { "alias": "noResultMessage"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "matAutocompletePosition": { "alias": "matAutocompletePosition"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "fetchMoreThreshold": { "alias": "fetchMoreThreshold"; "required": false; }; "suggestLengthThreshold": { "alias": "suggestLengthThreshold"; "required": false; }; "showLoadingSpinner": { "alias": "showLoadingSpinner"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "applyImplicitValue": { "alias": "applyImplicitValue"; "required": false; }; "dropButtonTitle": { "alias": "dropButtonTitle"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "trimSearchText": { "alias": "trimSearchText"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "clicked": "click"; "blurred": "blur"; "focused": "focus"; "dropButtonClick": "dropButtonClick"; "keydownEscape": "keydown.escape"; "keyupEnter": "keyup.enter"; }, never, ["[matAfter]", "[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
|
|
137
137
|
static ngAcceptInputType_required: unknown;
|
|
138
138
|
static ngAcceptInputType_mobile: unknown;
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
2
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
4
|
import { Moment } from 'moment';
|
|
4
5
|
import { InputElement } from '../../inputs';
|
|
5
|
-
import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
|
|
6
|
+
import { MatFormFieldAppearance, MatFormFieldDefaultOptions, SubscriptSizing } from '@angular/material/form-field';
|
|
6
7
|
import { DateFilterFn, MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
8
|
+
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
7
9
|
import { AppFloatLabelType } from '../../form/field.model';
|
|
8
10
|
import { MaskitoOptions } from '@maskito/core';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
export declare class MatDate implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, InputElement {
|
|
13
|
+
private dateAdapter;
|
|
14
|
+
private translate;
|
|
15
|
+
private formBuilder;
|
|
16
|
+
private cd;
|
|
17
|
+
private formGroupDir;
|
|
11
18
|
private _onChangeCallback;
|
|
12
19
|
private _onTouchedCallback;
|
|
13
20
|
private readonly _subscription;
|
|
@@ -48,13 +55,7 @@ export declare class MatDate implements OnInit, AfterViewInit, OnDestroy, Contro
|
|
|
48
55
|
get disabled(): boolean;
|
|
49
56
|
datePicker: MatDatepicker<Moment>;
|
|
50
57
|
_matInput: ElementRef;
|
|
51
|
-
|
|
52
|
-
private readonly formGroupDir;
|
|
53
|
-
private readonly dateAdapter;
|
|
54
|
-
private readonly translate;
|
|
55
|
-
private readonly formBuilder;
|
|
56
|
-
private readonly defaultOptions;
|
|
57
|
-
constructor();
|
|
58
|
+
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
|
|
58
59
|
ngOnInit(): void;
|
|
59
60
|
ngAfterViewInit(): void;
|
|
60
61
|
ngOnDestroy(): void;
|
|
@@ -79,7 +80,7 @@ export declare class MatDate implements OnInit, AfterViewInit, OnDestroy, Contro
|
|
|
79
80
|
private markAsTouched;
|
|
80
81
|
private markAsDirty;
|
|
81
82
|
private markForCheck;
|
|
82
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDate,
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDate, [null, null, null, null, { optional: true; }, null]>;
|
|
83
84
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatDate, "mat-date-field", never, { "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "required": { "alias": "required"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
|
|
84
85
|
static ngAcceptInputType_mobile: unknown;
|
|
85
86
|
static ngAcceptInputType_compact: unknown;
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
2
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
4
|
import { Moment } from 'moment';
|
|
4
5
|
import { InputElement } from '../../inputs';
|
|
5
|
-
import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
|
|
6
|
+
import { MatFormFieldAppearance, MatFormFieldDefaultOptions, SubscriptSizing } from '@angular/material/form-field';
|
|
6
7
|
import { DateFilterFn, MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
8
|
+
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
7
9
|
import { AppFloatLabelType } from '../../form/field.model';
|
|
8
10
|
import { MaskitoOptions } from '@maskito/core';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
export declare class MatDateShort implements OnInit, ControlValueAccessor, InputElement, AfterViewInit, OnDestroy {
|
|
13
|
+
private dateAdapter;
|
|
14
|
+
private translate;
|
|
15
|
+
private formBuilder;
|
|
16
|
+
private cd;
|
|
17
|
+
private formGroupDir;
|
|
11
18
|
private _onChangeCallback;
|
|
12
19
|
private _onTouchedCallback;
|
|
13
20
|
private readonly _subscription;
|
|
@@ -47,13 +54,7 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
|
|
|
47
54
|
get disabled(): boolean;
|
|
48
55
|
datePicker: MatDatepicker<Moment>;
|
|
49
56
|
_matInput: ElementRef;
|
|
50
|
-
|
|
51
|
-
private readonly formGroupDir;
|
|
52
|
-
private readonly dateAdapter;
|
|
53
|
-
private readonly translate;
|
|
54
|
-
private readonly formBuilder;
|
|
55
|
-
private readonly defaultOptions;
|
|
56
|
-
constructor();
|
|
57
|
+
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
|
|
57
58
|
ngOnInit(): void;
|
|
58
59
|
ngAfterViewInit(): void;
|
|
59
60
|
ngOnDestroy(): void;
|
|
@@ -78,7 +79,7 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
|
|
|
78
79
|
private markAsTouched;
|
|
79
80
|
private markAsDirty;
|
|
80
81
|
private markForCheck;
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateShort,
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateShort, [null, null, null, null, { optional: true; }, null]>;
|
|
82
83
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateShort, "mat-date-short-field", never, { "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "required": { "alias": "required"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
|
|
83
84
|
static ngAcceptInputType_mobile: unknown;
|
|
84
85
|
static ngAcceptInputType_compact: unknown;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
|
|
3
|
-
import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
2
|
+
import { MatFormFieldAppearance, MatFormFieldDefaultOptions, SubscriptSizing } from '@angular/material/form-field';
|
|
3
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
5
|
import { Moment } from 'moment';
|
|
5
6
|
import { InputElement } from '../../inputs';
|
|
6
7
|
import { DateFilterFn, MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
8
|
+
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
7
9
|
import { AppFloatLabelType } from '../../form/field.model';
|
|
8
10
|
import { MaskitoOptions } from '@maskito/core';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
@@ -18,6 +20,11 @@ declare interface NgxTimePicker {
|
|
|
18
20
|
close(): any;
|
|
19
21
|
}
|
|
20
22
|
export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, InputElement {
|
|
23
|
+
private dateAdapter;
|
|
24
|
+
private translate;
|
|
25
|
+
private formBuilder;
|
|
26
|
+
private cd;
|
|
27
|
+
private formGroupDir;
|
|
21
28
|
private _onChangeCallback;
|
|
22
29
|
private _onTouchedCallback;
|
|
23
30
|
private _subscription;
|
|
@@ -71,13 +78,7 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
71
78
|
datePicker: MatDatepicker<Moment>;
|
|
72
79
|
timePicker: NgxTimePicker;
|
|
73
80
|
_matInputs: QueryList<ElementRef>;
|
|
74
|
-
|
|
75
|
-
private readonly formGroupDir;
|
|
76
|
-
private readonly dateAdapter;
|
|
77
|
-
private readonly translate;
|
|
78
|
-
private readonly formBuilder;
|
|
79
|
-
private readonly defaultOptions;
|
|
80
|
-
constructor();
|
|
81
|
+
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
|
|
81
82
|
ngOnInit(): void;
|
|
82
83
|
ngAfterViewInit(): void;
|
|
83
84
|
ngOnDestroy(): void;
|
|
@@ -109,7 +110,7 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
109
110
|
private markAsTouched;
|
|
110
111
|
private markAsDirty;
|
|
111
112
|
private markForCheck;
|
|
112
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateTime,
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateTime, [null, null, null, null, { optional: true; }, null]>;
|
|
113
114
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "allowNoTime": { "alias": "allowNoTime"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["[matPrefix]", "[matSuffix]", "mat-error,[matError]", "mat-hint:not([align='end']),[matHint]", "mat-hint[align='end']"], false, never>;
|
|
114
115
|
static ngAcceptInputType_mobile: unknown;
|
|
115
116
|
static ngAcceptInputType_compact: unknown;
|