@nettyapps/ntybase 21.0.35-beta.13 → 21.0.35-beta.14
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.
|
@@ -34,7 +34,6 @@ import { FormBuilder, Validators, FormsModule, ReactiveFormsModule } from '@angu
|
|
|
34
34
|
import * as i3$1 from '@angular/material/input';
|
|
35
35
|
import { MatInputModule } from '@angular/material/input';
|
|
36
36
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
37
|
-
import { NettyEnumStorageProxy } from '@nettyapps/ntyui';
|
|
38
37
|
|
|
39
38
|
class Ntybase {
|
|
40
39
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: Ntybase, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -4285,12 +4284,10 @@ class NettyAppsFilterBase extends NettyAppsBase {
|
|
|
4285
4284
|
// *** Service ***
|
|
4286
4285
|
// *********************************************************
|
|
4287
4286
|
filterProxy = inject(NettyStandardFilterProxy);
|
|
4288
|
-
enumStorage = inject(NettyEnumStorageProxy);
|
|
4289
4287
|
// *********************************************************
|
|
4290
4288
|
// *** Signals ***
|
|
4291
4289
|
// *********************************************************
|
|
4292
4290
|
currentItem = signal(this.createNewFilter(), ...(ngDevMode ? [{ debugName: "currentItem" }] : []));
|
|
4293
|
-
allYesNoEnumList = signal([], ...(ngDevMode ? [{ debugName: "allYesNoEnumList" }] : []));
|
|
4294
4291
|
// *********************************************************
|
|
4295
4292
|
// *** Constructor ***
|
|
4296
4293
|
// *********************************************************
|
|
@@ -4306,9 +4303,7 @@ class NettyAppsFilterBase extends NettyAppsBase {
|
|
|
4306
4303
|
// *** Functions ***
|
|
4307
4304
|
// *********************************************************
|
|
4308
4305
|
async ngOnInit() {
|
|
4309
|
-
|
|
4310
|
-
await this.enumStorage.loadEnumList();
|
|
4311
|
-
this.allYesNoEnumList.set(this.enumStorage.getEnum('AllYesNo'));
|
|
4306
|
+
this.afterOnInit();
|
|
4312
4307
|
}
|
|
4313
4308
|
onApply() {
|
|
4314
4309
|
this.filterProxy.selectFilter(this.currentItem()).subscribe({
|
|
@@ -4335,6 +4330,7 @@ class NettyAppsFilterBase extends NettyAppsBase {
|
|
|
4335
4330
|
error: (err) => this.alertService.showError('@dataLoadFailed', err),
|
|
4336
4331
|
});
|
|
4337
4332
|
}
|
|
4333
|
+
async afterOnInit() { }
|
|
4338
4334
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NettyAppsFilterBase, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4339
4335
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: NettyAppsFilterBase, isStandalone: true, selector: "ntybase-netty-apps-base", inputs: { isFilterExpanded: { classPropertyName: "isFilterExpanded", publicName: "isFilterExpanded", isSignal: true, isRequired: false, transformFunction: null }, refresh: { classPropertyName: "refresh", publicName: "refresh", isSignal: true, isRequired: false, transformFunction: null }, fileName: { classPropertyName: "fileName", publicName: "fileName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isFilterExpanded: "isFilterExpandedChange", filteredRecords: "filteredRecords" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
4340
4336
|
}
|