@sumaris-net/ngx-components 2.12.25 → 2.12.26-alpha1
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/esm2022/src/app/admin/users/users.mjs +5 -11
- package/esm2022/src/app/core/account/account.page.mjs +5 -12
- package/esm2022/src/app/core/account/new-token.modal.mjs +8 -15
- package/esm2022/src/app/core/account/password/change-password.form.mjs +5 -10
- package/esm2022/src/app/core/account/password/change-password.page.mjs +4 -9
- package/esm2022/src/app/core/account/token.table.mjs +5 -12
- package/esm2022/src/app/core/auth/auth.form.mjs +5 -11
- package/esm2022/src/app/core/auth/auth.modal.mjs +14 -17
- package/esm2022/src/app/core/auth/reset-password.modal.mjs +16 -20
- package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +5 -13
- package/esm2022/src/app/core/form/entity/editor.class.mjs +14 -20
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +10 -21
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +11 -24
- package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +5 -21
- package/esm2022/src/app/core/form/form-container.class.mjs +4 -5
- package/esm2022/src/app/core/form/form.class.mjs +13 -13
- package/esm2022/src/app/core/form/list/list.form.mjs +10 -20
- package/esm2022/src/app/core/form/properties/properties.form.mjs +17 -26
- package/esm2022/src/app/core/form/properties/properties.table.mjs +5 -7
- package/esm2022/src/app/core/form/username/username.form.mjs +5 -10
- package/esm2022/src/app/core/home/home.mjs +39 -61
- package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +21 -34
- package/esm2022/src/app/core/menu/menu.component.mjs +33 -53
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +13 -15
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +13 -15
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +26 -40
- package/esm2022/src/app/core/settings/settings.page.mjs +25 -35
- package/esm2022/src/app/core/table/async-table.class.mjs +20 -29
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +8 -9
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +8 -9
- package/esm2022/src/app/core/table/column/row-field.component.mjs +6 -11
- package/esm2022/src/app/core/table/memory-table.class.mjs +4 -4
- package/esm2022/src/app/core/table/table.class.mjs +28 -33
- package/esm2022/src/app/core/table/table.pipes.mjs +15 -21
- package/esm2022/src/app/core/table/testing/table.testing.mjs +6 -11
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +9 -13
- package/esm2022/src/app/shared/form/field.component.mjs +14 -16
- package/esm2022/src/app/shared/help/help.modal.mjs +20 -25
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +31 -40
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +14 -18
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +13 -14
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +6 -8
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +14 -21
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +5 -12
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +18 -23
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +33 -41
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +36 -42
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +33 -41
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +11 -13
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +12 -14
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +12 -14
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +18 -29
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +12 -14
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +25 -32
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +15 -20
- package/esm2022/src/app/shared/material/testing/common.test.mjs +12 -14
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +5 -12
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +6 -13
- package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +13 -12
- package/esm2022/src/app/shared/pipes/form.pipes.mjs +18 -26
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +33 -35
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +28 -53
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +20 -30
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +14 -16
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +18 -20
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +18 -26
- package/esm2022/src/app/social/message/message.form.mjs +5 -10
- package/esm2022/src/app/social/message/message.modal.mjs +16 -19
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +18 -27
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +23 -40
- package/fesm2022/sumaris-net.ngx-components.mjs +693 -1151
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/admin/users/users.d.ts +2 -4
- package/src/app/core/account/account.page.d.ts +2 -4
- package/src/app/core/account/new-token.modal.d.ts +2 -3
- package/src/app/core/account/password/change-password.form.d.ts +2 -4
- package/src/app/core/account/password/change-password.page.d.ts +2 -4
- package/src/app/core/account/token.table.d.ts +3 -6
- package/src/app/core/auth/auth.form.d.ts +3 -5
- package/src/app/core/auth/auth.modal.d.ts +5 -7
- package/src/app/core/auth/reset-password.modal.d.ts +6 -6
- package/src/app/core/form/array/testing/form-array.test.d.ts +2 -5
- package/src/app/core/form/entity/editor.class.d.ts +7 -7
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +3 -5
- package/src/app/core/form/entity/entity-editor.class.d.ts +4 -7
- package/src/app/core/form/entity/tab-editor.class.d.ts +2 -11
- package/src/app/core/form/form-container.class.d.ts +2 -1
- package/src/app/core/form/form.class.d.ts +5 -3
- package/src/app/core/form/list/list.form.d.ts +3 -8
- package/src/app/core/form/properties/properties.form.d.ts +3 -7
- package/src/app/core/form/properties/properties.table.d.ts +2 -3
- package/src/app/core/form/username/username.form.d.ts +3 -5
- package/src/app/core/home/home.d.ts +16 -22
- package/src/app/core/install/install-upgrade-card.component.d.ts +10 -15
- package/src/app/core/menu/menu.component.d.ts +13 -17
- package/src/app/core/menu/testing/menu-other.testing.d.ts +1 -5
- package/src/app/core/menu/testing/menu.testing.d.ts +1 -5
- package/src/app/core/peer/select-peer.modal.d.ts +10 -15
- package/src/app/core/settings/settings.page.d.ts +3 -9
- package/src/app/core/table/async-table.class.d.ts +15 -13
- 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 +16 -13
- package/src/app/core/table/table.pipes.d.ts +4 -5
- package/src/app/core/table/testing/table.testing.d.ts +2 -4
- package/src/app/core/table/testing/table2.testing.d.ts +2 -4
- package/src/app/shared/form/field.component.d.ts +5 -5
- package/src/app/shared/help/help.modal.d.ts +7 -8
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +8 -8
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +6 -7
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +4 -4
- package/src/app/shared/material/badge/badge.test.d.ts +2 -3
- package/src/app/shared/material/boolean/material.boolean.d.ts +5 -6
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +2 -5
- package/src/app/shared/material/chips/material.chips.d.ts +5 -5
- package/src/app/shared/material/datetime/material.date.d.ts +10 -11
- package/src/app/shared/material/datetime/material.dateshort.d.ts +10 -11
- package/src/app/shared/material/datetime/material.datetime.d.ts +10 -11
- 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 +6 -12
- 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 +3 -6
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +2 -5
- package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +4 -3
- package/src/app/shared/pipes/form.pipes.d.ts +6 -7
- package/src/app/shared/pipes/selection.pipes.d.ts +10 -10
- package/src/app/shared/storage/storage-explorer.component.d.ts +12 -15
- package/src/app/shared/toolbar/toolbar.d.ts +10 -12
- 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 +5 -6
- package/src/app/social/message/message.form.d.ts +2 -4
- package/src/app/social/message/message.modal.d.ts +5 -5
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +7 -8
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +8 -9
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ModalController, ToastController } from '@ionic/angular';
|
|
1
|
+
import { InjectionToken, OnDestroy } from '@angular/core';
|
|
3
2
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { AccountService } from '../services/account.service';
|
|
5
3
|
import { Account } from '../services/model/account.model';
|
|
6
4
|
import { Configuration } from '../services/model/config.model';
|
|
7
5
|
import { Department } from '../services/model/department.model';
|
|
8
|
-
import {
|
|
9
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
10
|
-
import { ConfigService } from '../services/config.service';
|
|
11
|
-
import { PlatformService } from '../services/platform.service';
|
|
6
|
+
import { LocalSettings } from '../services/model/settings.model';
|
|
12
7
|
import { LocalSettingsService } from '../services/local-settings.service';
|
|
13
8
|
import { NetworkService } from '../services/network.service';
|
|
14
9
|
import { IMenuItem } from '../menu/menu.model';
|
|
15
10
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
16
|
-
import { Environment } from '../../../environments/environment.class';
|
|
17
11
|
import { HistoryPageReference } from '../services/model/history.model';
|
|
18
12
|
import { RxState } from '@rx-angular/state';
|
|
19
13
|
import { ImagesUtils } from '../../shared/file/images.utils';
|
|
@@ -32,18 +26,6 @@ export interface HomePageState {
|
|
|
32
26
|
pageHistory: HistoryPageReference[];
|
|
33
27
|
}
|
|
34
28
|
export declare class HomePage extends RxState<HomePageState> implements OnDestroy {
|
|
35
|
-
private accountService;
|
|
36
|
-
private modalCtrl;
|
|
37
|
-
private translate;
|
|
38
|
-
private toastController;
|
|
39
|
-
private configService;
|
|
40
|
-
private platform;
|
|
41
|
-
private cd;
|
|
42
|
-
network: NetworkService;
|
|
43
|
-
settings: LocalSettingsService;
|
|
44
|
-
protected environment: Environment;
|
|
45
|
-
locales: LocaleConfig[];
|
|
46
|
-
buttons: IMenuItem[];
|
|
47
29
|
private readonly _debug;
|
|
48
30
|
private _subscription;
|
|
49
31
|
private _config;
|
|
@@ -72,7 +54,19 @@ export declare class HomePage extends RxState<HomePageState> implements OnDestro
|
|
|
72
54
|
set showPartnerBanner(value: boolean);
|
|
73
55
|
get showPartnerBanner(): boolean;
|
|
74
56
|
get currentLocaleCode(): string;
|
|
75
|
-
|
|
57
|
+
private readonly accountService;
|
|
58
|
+
private readonly modalCtrl;
|
|
59
|
+
private readonly translate;
|
|
60
|
+
private readonly toastController;
|
|
61
|
+
private readonly configService;
|
|
62
|
+
private readonly platform;
|
|
63
|
+
private readonly cd;
|
|
64
|
+
network: NetworkService;
|
|
65
|
+
settings: LocalSettingsService;
|
|
66
|
+
protected environment: import("../../../environments/environment.class").Environment;
|
|
67
|
+
locales: import("../services/model/settings.model").LocaleConfig[];
|
|
68
|
+
buttons: IMenuItem[];
|
|
69
|
+
constructor();
|
|
76
70
|
ngOnDestroy(): void;
|
|
77
71
|
login(): Promise<void>;
|
|
78
72
|
register(): Promise<void>;
|
|
@@ -89,6 +83,6 @@ export declare class HomePage extends RxState<HomePageState> implements OnDestro
|
|
|
89
83
|
protected refreshButtons(account?: Account): void;
|
|
90
84
|
protected removePageHistory(path: string): Promise<void>;
|
|
91
85
|
protected markForCheck(): void;
|
|
92
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HomePage,
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomePage, never>;
|
|
93
87
|
static ɵcmp: i0.ɵɵComponentDeclaration<HomePage, "app-page-home", never, {}, {}, never, never, false, never>;
|
|
94
88
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AlertController, ModalController, ToastController } from '@ionic/angular';
|
|
3
|
-
import { ConfigService } from '../services/config.service';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
4
2
|
import { PlatformService } from '../services/platform.service';
|
|
5
3
|
import { NetworkService } from '../services/network.service';
|
|
6
|
-
import { Environment } from '../../../environments/environment.class';
|
|
7
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
8
4
|
import * as i0 from "@angular/core";
|
|
9
5
|
export declare interface InstallAppLink {
|
|
10
6
|
name: string;
|
|
@@ -19,15 +15,6 @@ export declare interface InstallAppLink {
|
|
|
19
15
|
location?: string;
|
|
20
16
|
}
|
|
21
17
|
export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
22
|
-
private modalCtrl;
|
|
23
|
-
private configService;
|
|
24
|
-
private toastController;
|
|
25
|
-
private alertController;
|
|
26
|
-
private translate;
|
|
27
|
-
private cd;
|
|
28
|
-
platform: PlatformService;
|
|
29
|
-
network: NetworkService;
|
|
30
|
-
protected environment: Environment;
|
|
31
18
|
private _subscription;
|
|
32
19
|
loading: boolean;
|
|
33
20
|
hasDownloader: boolean;
|
|
@@ -41,7 +28,15 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
41
28
|
showUpgradeWarning: boolean;
|
|
42
29
|
showOfflineWarning: boolean;
|
|
43
30
|
showInstallButton: boolean;
|
|
44
|
-
|
|
31
|
+
private readonly configService;
|
|
32
|
+
private readonly toastController;
|
|
33
|
+
private readonly alertController;
|
|
34
|
+
private readonly translate;
|
|
35
|
+
private readonly cd;
|
|
36
|
+
platform: PlatformService;
|
|
37
|
+
network: NetworkService;
|
|
38
|
+
protected environment: import("../../../environments/environment.class").Environment;
|
|
39
|
+
constructor();
|
|
45
40
|
ngOnInit(): void;
|
|
46
41
|
ngOnDestroy(): void;
|
|
47
42
|
download(event: Event, link: InstallAppLink): Promise<void>;
|
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { IonSplitPane, MenuController, ModalController, NavController } from '@ionic/angular';
|
|
3
3
|
import { Account } from '../services/model/account.model';
|
|
4
4
|
import { AccountService } from '../services/account.service';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { PlatformService } from '../services/platform.service';
|
|
7
|
-
import { Environment } from '../../../environments/environment.class';
|
|
8
6
|
import { MenuService, SplitPaneShowWhen } from './menu.service';
|
|
9
7
|
import { IMenuItem, MenuItem } from './menu.model';
|
|
10
8
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
11
9
|
import { RxStrategyNames } from '@rx-angular/cdk/render-strategies';
|
|
12
10
|
import * as i0 from "@angular/core";
|
|
13
11
|
export declare class MenuComponent implements OnInit {
|
|
14
|
-
protected platformService: PlatformService;
|
|
15
|
-
protected accountService: AccountService;
|
|
16
|
-
protected navController: NavController;
|
|
17
|
-
protected menu: MenuController;
|
|
18
|
-
protected modalCtrl: ModalController;
|
|
19
|
-
protected alertController: AlertController;
|
|
20
|
-
protected translate: TranslateService;
|
|
21
|
-
protected cd: ChangeDetectorRef;
|
|
22
|
-
protected menuService: MenuService;
|
|
23
|
-
protected router: Router;
|
|
24
|
-
protected environment: Environment;
|
|
25
|
-
protected route: ActivatedRoute;
|
|
26
12
|
id: string;
|
|
27
13
|
menuId: string;
|
|
28
14
|
side: string;
|
|
@@ -39,7 +25,17 @@ export declare class MenuComponent implements OnInit {
|
|
|
39
25
|
accountEmail: string;
|
|
40
26
|
private readonly _debug;
|
|
41
27
|
private _subscription;
|
|
42
|
-
|
|
28
|
+
protected readonly accountService: AccountService;
|
|
29
|
+
protected readonly navController: NavController;
|
|
30
|
+
protected readonly menu: MenuController;
|
|
31
|
+
protected readonly modalCtrl: ModalController;
|
|
32
|
+
protected readonly translate: TranslateService;
|
|
33
|
+
protected readonly cd: ChangeDetectorRef;
|
|
34
|
+
protected readonly menuService: MenuService;
|
|
35
|
+
protected readonly router: Router;
|
|
36
|
+
protected environment: import("../../../environments/environment.class").Environment;
|
|
37
|
+
protected route: ActivatedRoute;
|
|
38
|
+
constructor();
|
|
43
39
|
ngOnInit(): Promise<void>;
|
|
44
40
|
onLogin(account: Account): Promise<void>;
|
|
45
41
|
onLogout(skipRedirect?: boolean): Promise<void>;
|
|
@@ -64,6 +60,6 @@ export declare class MenuComponent implements OnInit {
|
|
|
64
60
|
protected detectChanges(): void;
|
|
65
61
|
protected markForCheck(): void;
|
|
66
62
|
protected togglePinned(event: Event, item: IMenuItem): void;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent,
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
68
64
|
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "app-menu", never, { "id": { "alias": "id"; "required": false; }; "menuId": { "alias": "menuId"; "required": false; }; "side": { "alias": "side"; "required": false; }; "contentId": { "alias": "contentId"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "rxStrategy": { "alias": "rxStrategy"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; }, {}, never, ["*", "[headerBottomRight]"], false, never>;
|
|
69
65
|
}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
-
import { AlertController, NavController } from '@ionic/angular';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
1
|
import { MenuService } from '../menu.service';
|
|
5
2
|
import { MenuTestingPage } from './menu.testing';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
export declare class OtherMenuTestingPage extends MenuTestingPage {
|
|
8
|
-
constructor(
|
|
9
|
-
router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService, menuService: MenuService);
|
|
5
|
+
constructor(menuService: MenuService);
|
|
10
6
|
initSubMenu(): Promise<void>;
|
|
11
7
|
protected getDefaultTitle(): string;
|
|
12
8
|
protected computeTitle(): Promise<string>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MenuService } from '../menu.service';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { AlertController, NavController } from '@ionic/angular';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
3
|
import { Subject } from 'rxjs';
|
|
7
4
|
import { MatTabGroup } from '@angular/material/tabs';
|
|
8
5
|
import { AppTabEditor } from '../../form/entity/tab-editor.class';
|
|
@@ -26,8 +23,7 @@ export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnD
|
|
|
26
23
|
subTabGroup: MatTabGroup;
|
|
27
24
|
protected set title(value: string);
|
|
28
25
|
protected set secondTabTitle(value: string);
|
|
29
|
-
constructor(
|
|
30
|
-
router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService, menuService: MenuService);
|
|
26
|
+
constructor(menuService: MenuService);
|
|
31
27
|
ngOnInit(): void;
|
|
32
28
|
ngAfterViewInit(): void;
|
|
33
29
|
ngOnDestroy(): void;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ModalController, PopoverController } from '@ionic/angular';
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
3
2
|
import { Peer } from '../services/model/peer.model';
|
|
4
3
|
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { Environment } from '../../../environments/environment.class';
|
|
7
4
|
import { TextPopoverOptions } from '../form/text-popover/text-popover.component';
|
|
8
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
9
|
-
import { ILoggingService } from '../../shared/logging/logger.model';
|
|
10
5
|
import * as i0 from "@angular/core";
|
|
11
6
|
export interface ISelectPeerModalOptions {
|
|
12
7
|
canCancel: boolean;
|
|
@@ -16,13 +11,6 @@ export interface ISelectPeerModalOptions {
|
|
|
16
11
|
selectedPeer?: string;
|
|
17
12
|
}
|
|
18
13
|
export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptions {
|
|
19
|
-
private modalCtrl;
|
|
20
|
-
private popoverController;
|
|
21
|
-
private translate;
|
|
22
|
-
private http;
|
|
23
|
-
private cd;
|
|
24
|
-
protected environment: Environment;
|
|
25
|
-
protected loggingService?: ILoggingService;
|
|
26
14
|
private _subscription;
|
|
27
15
|
private readonly _logger;
|
|
28
16
|
protected loading: boolean;
|
|
@@ -35,7 +23,14 @@ export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptio
|
|
|
35
23
|
allowSelectDownPeer: boolean;
|
|
36
24
|
showSetManuallyButton: boolean;
|
|
37
25
|
onRefresh: EventEmitter<Event>;
|
|
38
|
-
|
|
26
|
+
private readonly modalCtrl;
|
|
27
|
+
private readonly popoverController;
|
|
28
|
+
private readonly translate;
|
|
29
|
+
private readonly http;
|
|
30
|
+
private readonly cd;
|
|
31
|
+
protected environment: import("../../../environments/environment.class").Environment;
|
|
32
|
+
protected loggingService: import("../../shared/logging/logger.model").ILoggingService;
|
|
33
|
+
constructor();
|
|
39
34
|
set peers(peers: Observable<Peer[]>);
|
|
40
35
|
cancel(): void;
|
|
41
36
|
ngOnDestroy(): void;
|
|
@@ -52,7 +47,7 @@ export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptio
|
|
|
52
47
|
protected refreshPeer(peer: Peer): Promise<Peer>;
|
|
53
48
|
protected openPeerUrlPopover(event: Event, opts?: Partial<TextPopoverOptions>): Promise<any>;
|
|
54
49
|
protected markForCheck(): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal,
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal, never>;
|
|
56
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "selectedPeer": { "alias": "selectedPeer"; "required": false; }; "canCancel": { "alias": "canCancel"; "required": false; }; "allowSelectDownPeer": { "alias": "allowSelectDownPeer"; "required": false; }; "showSetManuallyButton": { "alias": "showSetManuallyButton"; "required": false; }; "onRefresh": { "alias": "onRefresh"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
52
|
static ngAcceptInputType_canCancel: unknown;
|
|
58
53
|
static ngAcceptInputType_allowSelectDownPeer: unknown;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InjectionToken, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AccountService } from '../services/account.service';
|
|
3
3
|
import { LocaleConfig, LocalSettings, UsageMode } from '../services/model/settings.model';
|
|
4
4
|
import { UntypedFormArray, UntypedFormBuilder } from '@angular/forms';
|
|
5
5
|
import { AppForm } from '../form/form.class';
|
|
6
6
|
import { CanLeave } from '../form/form.utils';
|
|
7
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
8
7
|
import { LocalSettingsValidatorService } from '../services/validator/local-settings.validator';
|
|
9
8
|
import { PlatformService } from '../services/platform.service';
|
|
10
9
|
import { NetworkService } from '../services/network.service';
|
|
11
|
-
import { LocalSettingsService } from '../services/local-settings.service';
|
|
12
10
|
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../shared/form/field.model';
|
|
13
11
|
import { AlertController, NavController } from '@ionic/angular';
|
|
14
12
|
import { Property } from '../../shared/types';
|
|
@@ -22,11 +20,8 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
22
20
|
protected navController: NavController;
|
|
23
21
|
protected validatorService: LocalSettingsValidatorService;
|
|
24
22
|
protected alertCtrl: AlertController;
|
|
25
|
-
protected translate: TranslateService;
|
|
26
23
|
protected formBuilder: UntypedFormBuilder;
|
|
27
24
|
protected accountService: AccountService;
|
|
28
|
-
protected settings: LocalSettingsService;
|
|
29
|
-
protected cd: ChangeDetectorRef;
|
|
30
25
|
network: NetworkService;
|
|
31
26
|
locales: LocaleConfig[];
|
|
32
27
|
private data;
|
|
@@ -46,7 +41,7 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
46
41
|
get propertiesForm(): UntypedFormArray;
|
|
47
42
|
get darkMode(): boolean;
|
|
48
43
|
set darkMode(value: boolean);
|
|
49
|
-
constructor(
|
|
44
|
+
constructor(platform: PlatformService, navController: NavController, validatorService: LocalSettingsValidatorService, alertCtrl: AlertController, formBuilder: UntypedFormBuilder, accountService: AccountService, network: NetworkService, locales: LocaleConfig[], menuItems?: IMenuItem[]);
|
|
50
45
|
ngOnInit(): Promise<void>;
|
|
51
46
|
getPropertyDefinition(index: number): FormFieldDefinition;
|
|
52
47
|
updatePropertyDefinition(index: number): FormFieldDefinition;
|
|
@@ -64,7 +59,6 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
64
59
|
executeAction(event: Event, item: IMenuItem): Promise<void>;
|
|
65
60
|
getValue(): Promise<LocalSettings>;
|
|
66
61
|
protected toggleDarkMode(enable?: boolean): Promise<void>;
|
|
67
|
-
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsPage, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsPage, [null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
69
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsPage, "page-settings", never, {}, {}, never, never, false, never>;
|
|
70
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatPaginator } from '@angular/material/paginator';
|
|
3
3
|
import { MatSort, MatSortable, SortDirection } from '@angular/material/sort';
|
|
4
4
|
import { MatTable } from '@angular/material/table';
|
|
@@ -31,21 +31,22 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
31
31
|
private _subscription;
|
|
32
32
|
private _dataSourceLoadingSubscription;
|
|
33
33
|
private _cellValueChangesDefs;
|
|
34
|
+
protected readonly route: ActivatedRoute;
|
|
35
|
+
protected readonly router: Router;
|
|
36
|
+
protected readonly navController: NavController;
|
|
37
|
+
protected readonly location: Location;
|
|
38
|
+
protected readonly settings: LocalSettingsService;
|
|
39
|
+
protected readonly translate: TranslateService;
|
|
40
|
+
protected readonly modalCtrl: ModalController;
|
|
41
|
+
protected readonly alertCtrl: AlertController;
|
|
42
|
+
protected readonly toastController: ToastController;
|
|
43
|
+
protected readonly formErrorAdapter: FormErrorTranslator;
|
|
44
|
+
protected readonly cd: ChangeDetectorRef;
|
|
45
|
+
protected readonly destroySubject: Subject<void>;
|
|
34
46
|
protected _enabled: boolean;
|
|
35
47
|
protected _autocompleteConfigHolder: MatAutocompleteConfigHolder;
|
|
36
48
|
protected allowRowDetail: boolean;
|
|
37
|
-
protected route: ActivatedRoute;
|
|
38
|
-
protected router: Router;
|
|
39
|
-
protected navController: NavController;
|
|
40
|
-
protected location: Location;
|
|
41
|
-
protected settings: LocalSettingsService;
|
|
42
|
-
protected translate: TranslateService;
|
|
43
|
-
protected modalCtrl: ModalController;
|
|
44
|
-
protected alertCtrl: AlertController;
|
|
45
|
-
protected toastController: ToastController;
|
|
46
49
|
protected previouslyEditedRowId: number;
|
|
47
|
-
protected formErrorAdapter: FormErrorTranslator;
|
|
48
|
-
protected readonly destroySubject: Subject<void>;
|
|
49
50
|
excludesColumns: string[];
|
|
50
51
|
displayedColumns: string[];
|
|
51
52
|
totalRowCount: number | null;
|
|
@@ -190,7 +191,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
190
191
|
table: MatTable<T>;
|
|
191
192
|
childPaginator: MatPaginator;
|
|
192
193
|
sort: MatSort;
|
|
193
|
-
protected constructor(
|
|
194
|
+
protected constructor(columns: string[], _dataSource?: EntitiesAsyncTableDataSource<T, F, ID>, _filter?: F);
|
|
194
195
|
ngOnInit(): void;
|
|
195
196
|
ngAfterViewInit(): void;
|
|
196
197
|
ngOnDestroy(): void;
|
|
@@ -337,6 +338,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
337
338
|
protected getShowColumn(columnName: string): boolean;
|
|
338
339
|
protected startsWithUpperCase(input: string, search: string): boolean;
|
|
339
340
|
protected markForCheck(): void;
|
|
341
|
+
protected detectChanges(): void;
|
|
340
342
|
protected askDeleteConfirmation(event?: Event, rows?: AsyncTableElement<T>[]): Promise<boolean>;
|
|
341
343
|
protected askCancelConfirmation(event?: Event, rows?: AsyncTableElement<T>[]): Promise<boolean>;
|
|
342
344
|
protected askRestoreConfirmation(event?: Event): Promise<boolean>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AsyncTableElement, TableElement } from '@e-is/ngx-material-table';
|
|
3
3
|
import { MatColumnDef, MatTable } from '@angular/material/table';
|
|
4
4
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ActionsColumnComponent<T extends TableElement<any> | AsyncTableElement<any> = TableElement<any>> implements OnInit, OnDestroy {
|
|
7
7
|
private table;
|
|
8
|
-
private cd;
|
|
9
8
|
columnDef: MatColumnDef;
|
|
10
9
|
matMenuTrigger: MatMenuTrigger;
|
|
11
10
|
matColumnDef: string;
|
|
@@ -44,7 +43,8 @@ export declare class ActionsColumnComponent<T extends TableElement<any> | AsyncT
|
|
|
44
43
|
event: Event;
|
|
45
44
|
row: T;
|
|
46
45
|
}>;
|
|
47
|
-
|
|
46
|
+
private readonly cd;
|
|
47
|
+
constructor(table: MatTable<any>);
|
|
48
48
|
ngOnInit(): void;
|
|
49
49
|
ngOnDestroy(): void;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsColumnComponent<any>, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AsyncTableElement, TableElement } from '@e-is/ngx-material-table';
|
|
3
3
|
import { MatColumnDef, MatTable } from '@angular/material/table';
|
|
4
4
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
@@ -8,7 +8,6 @@ import { Subject, Subscription } from 'rxjs';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class NavActionsColumnComponent<T extends TableElement<any> | AsyncTableElement<any> = TableElement<any>> implements OnInit, OnDestroy {
|
|
10
10
|
private matTable;
|
|
11
|
-
private cd;
|
|
12
11
|
_subscription: Subscription;
|
|
13
12
|
_forwardEventSubject: Subject<{
|
|
14
13
|
event: Event;
|
|
@@ -33,13 +32,14 @@ export declare class NavActionsColumnComponent<T extends TableElement<any> | Asy
|
|
|
33
32
|
}>;
|
|
34
33
|
throttleTime: number;
|
|
35
34
|
optionsClick: EventEmitter<Event>;
|
|
36
|
-
|
|
35
|
+
private readonly cd;
|
|
36
|
+
constructor(matTable: MatTable<any>, appTable: AppTable<any>, appAsyncTable: AppAsyncTable<any>);
|
|
37
37
|
ngOnInit(): void;
|
|
38
38
|
ngOnDestroy(): void;
|
|
39
39
|
protected cancelOrDelete(event: Event, row: T): void;
|
|
40
40
|
protected confirmAndForward(event: Event, row: T): void;
|
|
41
41
|
protected confirmAndBackward(event: Event, row: T): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavActionsColumnComponent<any>, [null,
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavActionsColumnComponent<any>, [null, { optional: true; }, { optional: true; }]>;
|
|
43
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavActionsColumnComponent<any>, "app-nav-actions-column", never, { "appTable": { "alias": "appTable"; "required": false; }; "matColumnDef": { "alias": "matColumnDef"; "required": false; }; "style": { "alias": "style"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; "showPending": { "alias": "showPending"; "required": false; }; "dirtyIcon": { "alias": "dirtyIcon"; "required": false; }; "optionsTitle": { "alias": "optionsTitle"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "throttleTime": { "alias": "throttleTime"; "required": false; }; }, { "optionsClick": "optionsClick"; }, never, ["[matHeader]", "[matFooter]", "[matHeader]", "[matFooter]"], false, never>;
|
|
44
44
|
static ngAcceptInputType_stickyEnd: unknown;
|
|
45
45
|
static ngAcceptInputType_showPending: unknown;
|
|
@@ -7,7 +7,6 @@ import { MatColumnDef, MatTable } from '@angular/material/table';
|
|
|
7
7
|
import { AsyncTableElement, TableElement } from '@e-is/ngx-material-table';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class AppRowField implements OnInit, OnDestroy {
|
|
10
|
-
protected cd: ChangeDetectorRef;
|
|
11
10
|
matTable: MatTable<any>;
|
|
12
11
|
columnDef: MatColumnDef;
|
|
13
12
|
name: string;
|
|
@@ -32,7 +31,8 @@ export declare class AppRowField implements OnInit, OnDestroy {
|
|
|
32
31
|
classList: string;
|
|
33
32
|
debug: boolean;
|
|
34
33
|
protected logPrefix: string;
|
|
35
|
-
|
|
34
|
+
protected readonly cd: ChangeDetectorRef;
|
|
35
|
+
constructor(matTable: MatTable<any>);
|
|
36
36
|
ngOnInit(): void;
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppRowField, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ValidatorService } from '@e-is/ngx-material-table';
|
|
3
3
|
import { EntitiesTableDataSourceConfig } from './entities-table-datasource.class';
|
|
4
4
|
import { AppTable } from './table.class';
|
|
@@ -14,7 +14,7 @@ export declare abstract class AppInMemoryTable<T extends IEntity<T, ID>, F = any
|
|
|
14
14
|
canDelete: boolean;
|
|
15
15
|
set value(data: T[]);
|
|
16
16
|
get value(): T[];
|
|
17
|
-
protected constructor(
|
|
17
|
+
protected constructor(columns: string[], dataType: new () => T, memoryDataService: InMemoryEntitiesService<T, F, ID>, validatorService: ValidatorService, options?: EntitiesTableDataSourceConfig<T, ID>, filter?: F);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
setValue(value: T[], opts?: {
|
|
20
20
|
emitEvent?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatSort, MatSortable, SortDirection } from '@angular/material/sort';
|
|
3
3
|
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
|
4
4
|
import { TableElement } from '@e-is/ngx-material-table';
|
|
@@ -31,21 +31,23 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
31
31
|
private _subscription;
|
|
32
32
|
private _dataSourceLoadingSubscription;
|
|
33
33
|
private _cellValueChangesDefs;
|
|
34
|
+
protected readonly route: ActivatedRoute;
|
|
35
|
+
protected readonly router: Router;
|
|
36
|
+
protected readonly navController: NavController;
|
|
37
|
+
protected readonly location: Location;
|
|
38
|
+
protected readonly settings: LocalSettingsService;
|
|
39
|
+
protected readonly translate: TranslateService;
|
|
40
|
+
protected readonly modalCtrl: ModalController;
|
|
41
|
+
protected readonly alertCtrl: AlertController;
|
|
42
|
+
protected readonly toastController: ToastController;
|
|
43
|
+
protected readonly formErrorAdapter: FormErrorTranslator;
|
|
44
|
+
protected readonly cd: ChangeDetectorRef;
|
|
45
|
+
protected readonly destroySubject: Subject<void>;
|
|
34
46
|
protected _enabled: boolean;
|
|
35
47
|
protected _autocompleteConfigHolder: MatAutocompleteConfigHolder;
|
|
36
48
|
protected allowRowDetail: boolean;
|
|
37
|
-
protected route: ActivatedRoute;
|
|
38
|
-
protected router: Router;
|
|
39
|
-
protected navController: NavController;
|
|
40
|
-
protected location: Location;
|
|
41
|
-
protected settings: LocalSettingsService;
|
|
42
|
-
protected translate: TranslateService;
|
|
43
|
-
protected modalCtrl: ModalController;
|
|
44
|
-
protected alertCtrl: AlertController;
|
|
45
|
-
protected toastController: ToastController;
|
|
46
49
|
protected previouslyEditedRowId: number;
|
|
47
|
-
protected
|
|
48
|
-
protected readonly destroySubject: Subject<void>;
|
|
50
|
+
protected detectChangesOnEditRow: boolean;
|
|
49
51
|
excludesColumns: string[];
|
|
50
52
|
displayedColumns: string[];
|
|
51
53
|
totalRowCount: number | null;
|
|
@@ -195,7 +197,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
195
197
|
table: MatTable<T>;
|
|
196
198
|
childPaginator: MatPaginator;
|
|
197
199
|
sort: MatSort;
|
|
198
|
-
protected constructor(
|
|
200
|
+
protected constructor(columns: string[], _dataSource?: EntitiesTableDataSource<T, F, ID>, _filter?: F);
|
|
199
201
|
ngOnInit(): void;
|
|
200
202
|
ngAfterViewInit(): void;
|
|
201
203
|
ngOnDestroy(): void;
|
|
@@ -342,6 +344,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
342
344
|
protected getShowColumn(columnName: string): boolean;
|
|
343
345
|
protected startsWithUpperCase(input: string, search: string): boolean;
|
|
344
346
|
protected markForCheck(): void;
|
|
347
|
+
protected detectChanges(): void;
|
|
345
348
|
protected askDeleteConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
|
|
346
349
|
protected askCancelConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
|
|
347
350
|
protected askRestoreConfirmation(event?: Event): Promise<boolean>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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> implements PipeTransform {
|
|
9
9
|
private _onRowsChanges;
|
|
10
|
-
protected constructor(_ref: ChangeDetectorRef);
|
|
11
10
|
transform(selectionOrTable: SelectionModel<any> | T, tableOrOpts?: T | O, opts?: O): R;
|
|
12
11
|
protected _subscribe(selection: SelectionModel<any>, table?: T, opts?: O): Subscription;
|
|
13
12
|
protected _dispose(): void;
|
|
@@ -15,13 +14,13 @@ export declare abstract class AbstractTableSelectionPipe<R, O, T extends AppTabl
|
|
|
15
14
|
static ɵpipe: i0.ɵɵPipeDeclaration<AbstractTableSelectionPipe<any, any, any>, "abstract-table-selection", false>;
|
|
16
15
|
}
|
|
17
16
|
export declare class IsAllSelectedPipe extends AbstractTableSelectionPipe<boolean, AppTableRowCountProperty> implements PipeTransform, OnDestroy {
|
|
18
|
-
constructor(
|
|
17
|
+
constructor();
|
|
19
18
|
protected _transform(selection: SelectionModel<any>, table: AppTable<any>, countPropertyName?: AppTableRowCountProperty): boolean;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<IsAllSelectedPipe, never>;
|
|
21
20
|
static ɵpipe: i0.ɵɵPipeDeclaration<IsAllSelectedPipe, "isAllSelected", false>;
|
|
22
21
|
}
|
|
23
22
|
export declare class IsNotAllSelectedPipe extends IsAllSelectedPipe implements PipeTransform, OnDestroy {
|
|
24
|
-
constructor(
|
|
23
|
+
constructor();
|
|
25
24
|
protected _transform(selection: SelectionModel<any>, table: AppTable<any>, countPropertyName?: AppTableRowCountProperty): boolean;
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<IsNotAllSelectedPipe, never>;
|
|
27
26
|
static ɵpipe: i0.ɵɵPipeDeclaration<IsNotAllSelectedPipe, "isNotAllSelected", false>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, 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,7 +12,6 @@ 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;
|
|
16
15
|
readonly maxRowCount = 100;
|
|
17
16
|
timer: Subscription;
|
|
18
17
|
canEdit: boolean;
|
|
@@ -31,7 +30,7 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
|
|
|
31
30
|
filterExpansionPanel: MatExpansionPanel;
|
|
32
31
|
infiniteScroll: IonInfiniteScroll;
|
|
33
32
|
get dataService(): InMemoryEntitiesService<Referential>;
|
|
34
|
-
constructor(
|
|
33
|
+
constructor(validatorService: AppValidatorService, formBuilder: UntypedFormBuilder);
|
|
35
34
|
ngOnInit(): void;
|
|
36
35
|
ngAfterViewInit(): Promise<void>;
|
|
37
36
|
ngOnDestroy(): void;
|
|
@@ -50,7 +49,6 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
|
|
|
50
49
|
startTimer(): void;
|
|
51
50
|
stopTimer(): void;
|
|
52
51
|
protected generateData(offset?: number, size?: number): Referential[];
|
|
53
|
-
protected markForCheck(): void;
|
|
54
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableTestPage, never>;
|
|
55
53
|
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>;
|
|
56
54
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, 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,7 +11,6 @@ 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;
|
|
15
14
|
readonly maxRowCount = 100;
|
|
16
15
|
canEdit: boolean;
|
|
17
16
|
data: Referential[];
|
|
@@ -28,7 +27,7 @@ export declare class Table2TestPage extends AppTable<Referential, ReferentialFil
|
|
|
28
27
|
filterExpansionPanel: MatExpansionPanel;
|
|
29
28
|
infiniteScroll: IonInfiniteScroll;
|
|
30
29
|
get dataService(): InMemoryEntitiesService<Referential>;
|
|
31
|
-
constructor(
|
|
30
|
+
constructor(validatorService: AppValidatorService, formBuilder: UntypedFormBuilder);
|
|
32
31
|
ngOnInit(): void;
|
|
33
32
|
ngAfterViewInit(): Promise<void>;
|
|
34
33
|
ngOnDestroy(): void;
|
|
@@ -44,7 +43,6 @@ export declare class Table2TestPage extends AppTable<Referential, ReferentialFil
|
|
|
44
43
|
closeFilterPanel(): void;
|
|
45
44
|
resetFilter(_?: Event): void;
|
|
46
45
|
protected generateData(offset?: number, size?: number): Referential[];
|
|
47
|
-
protected markForCheck(): void;
|
|
48
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<Table2TestPage, never>;
|
|
49
47
|
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>;
|
|
50
48
|
}
|