@sumaris-net/ngx-components 1.23.3 → 1.23.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/sumaris-net.ngx-components.umd.js +15 -17
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/doc/changelog.md +5 -0
- package/esm2015/src/app/core/form/editor.class.js +6 -3
- package/esm2015/src/app/core/form/form.class.js +5 -2
- package/esm2015/src/app/core/table/entities-table-datasource.class.js +7 -14
- package/esm2015/src/app/core/table/table.class.js +5 -5
- package/fesm2015/sumaris-net.ngx-components.js +16 -17
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/editor.class.d.ts +2 -1
- package/src/app/core/form/form.class.d.ts +2 -1
- package/src/app/core/table/table.class.d.ts +1 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { ActivatedRoute, Params, Router } from '@angular/router';
|
|
|
3
3
|
import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
|
|
4
4
|
import { AlertController, IonContent, ToastController } from '@ionic/angular';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { BehaviorSubject, Subscription, TeardownLogic } from 'rxjs';
|
|
6
|
+
import { BehaviorSubject, Subject, Subscription, TeardownLogic } from 'rxjs';
|
|
7
7
|
import { AppTable } from '../table/table.class';
|
|
8
8
|
import { AppForm } from './form.class';
|
|
9
9
|
import { FormButtonsBarToken } from './form-buttons-bar.component';
|
|
@@ -54,6 +54,7 @@ export declare abstract class AppEditor<T = any, ID = number, O = any> implement
|
|
|
54
54
|
protected _enabled: boolean;
|
|
55
55
|
protected _dirty: boolean;
|
|
56
56
|
protected toastController: ToastController;
|
|
57
|
+
protected readonly destroySubject: Subject<unknown>;
|
|
57
58
|
readonly readySubject: BehaviorSubject<boolean>;
|
|
58
59
|
readonly loadingSubject: BehaviorSubject<boolean>;
|
|
59
60
|
readonly errorSubject: BehaviorSubject<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
4
4
|
import { IAppForm } from './form.utils';
|
|
5
5
|
import { LocalSettingsService } from '../services/local-settings.service';
|
|
6
6
|
import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete';
|
|
@@ -15,6 +15,7 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
|
|
|
15
15
|
protected i18nFieldPrefix: string;
|
|
16
16
|
protected readonly translate: TranslateService;
|
|
17
17
|
protected readonly settings: LocalSettingsService;
|
|
18
|
+
protected readonly destroySubject: Subject<unknown>;
|
|
18
19
|
readonly autocompleteHelper: MatAutocompleteConfigHolder;
|
|
19
20
|
readonly autocompleteFields: {
|
|
20
21
|
[key: string]: MatAutocompleteFieldConfig;
|
|
@@ -52,7 +52,6 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
52
52
|
private _dataSourceLoadingSubscription;
|
|
53
53
|
private _cellValueChangesDefs;
|
|
54
54
|
protected _enabled: boolean;
|
|
55
|
-
protected _destroy$: Subject<unknown>;
|
|
56
55
|
protected _autocompleteConfigHolder: MatAutocompleteConfigHolder;
|
|
57
56
|
protected allowRowDetail: boolean;
|
|
58
57
|
protected route: ActivatedRoute;
|
|
@@ -65,6 +64,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
65
64
|
protected toastController: ToastController;
|
|
66
65
|
protected previouslyEditedRowId: number;
|
|
67
66
|
protected formErrorAdapter: FormErrorTranslator;
|
|
67
|
+
protected readonly destroySubject: Subject<unknown>;
|
|
68
68
|
excludesColumns: string[];
|
|
69
69
|
displayedColumns: string[];
|
|
70
70
|
totalRowCount: number | null;
|