@nettyapps/ntybase 21.1.6 → 21.1.7
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.
|
@@ -4479,6 +4479,7 @@ class NettyAppsFilterBase extends NettyAppsBase {
|
|
|
4479
4479
|
// *********************************************************
|
|
4480
4480
|
isFilterExpanded = model(true, ...(ngDevMode ? [{ debugName: "isFilterExpanded" }] : []));
|
|
4481
4481
|
filteredRecords = output();
|
|
4482
|
+
filterSelectionChanged = output();
|
|
4482
4483
|
refresh = input(0, ...(ngDevMode ? [{ debugName: "refresh" }] : []));
|
|
4483
4484
|
fileName = input('nettyapps_', ...(ngDevMode ? [{ debugName: "fileName" }] : []));
|
|
4484
4485
|
// *********************************************************
|
|
@@ -4507,6 +4508,7 @@ class NettyAppsFilterBase extends NettyAppsBase {
|
|
|
4507
4508
|
this.afterOnInit();
|
|
4508
4509
|
}
|
|
4509
4510
|
onApply() {
|
|
4511
|
+
this.filterSelectionChanged.emit(this.currentItem());
|
|
4510
4512
|
this.filterProxy.selectFilter(this.currentItem()).subscribe({
|
|
4511
4513
|
next: (result) => {
|
|
4512
4514
|
this.filteredRecords.emit(result);
|
|
@@ -4519,11 +4521,13 @@ class NettyAppsFilterBase extends NettyAppsBase {
|
|
|
4519
4521
|
this.filterProxy.initFilter().subscribe({
|
|
4520
4522
|
next: (filter) => {
|
|
4521
4523
|
this.currentItem.set(filter);
|
|
4524
|
+
this.filterSelectionChanged.emit(this.currentItem());
|
|
4522
4525
|
},
|
|
4523
4526
|
error: (err) => this.alertService.showError('@dataLoadFailed', err),
|
|
4524
4527
|
});
|
|
4525
4528
|
}
|
|
4526
4529
|
onExport() {
|
|
4530
|
+
this.filterSelectionChanged.emit(this.currentItem());
|
|
4527
4531
|
this.filterProxy.downloadXLS(this.currentItem()).subscribe({
|
|
4528
4532
|
next: (response) => {
|
|
4529
4533
|
this.downloadBlobFile(response, 'application/zip', this.translateService.instant('@00000072') + '.zip');
|
|
@@ -4547,12 +4551,12 @@ class NettyAppsFilterBase extends NettyAppsBase {
|
|
|
4547
4551
|
console.log(message, inputs);
|
|
4548
4552
|
}
|
|
4549
4553
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: NettyAppsFilterBase, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4550
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.2", 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 });
|
|
4554
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.2", 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", filterSelectionChanged: "filterSelectionChanged" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
4551
4555
|
}
|
|
4552
4556
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: NettyAppsFilterBase, decorators: [{
|
|
4553
4557
|
type: Component,
|
|
4554
4558
|
args: [{ selector: 'ntybase-netty-apps-base', imports: [], template: `` }]
|
|
4555
|
-
}], ctorParameters: () => [], propDecorators: { isFilterExpanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isFilterExpanded", required: false }] }, { type: i0.Output, args: ["isFilterExpandedChange"] }], filteredRecords: [{ type: i0.Output, args: ["filteredRecords"] }], refresh: [{ type: i0.Input, args: [{ isSignal: true, alias: "refresh", required: false }] }], fileName: [{ type: i0.Input, args: [{ isSignal: true, alias: "fileName", required: false }] }] } });
|
|
4559
|
+
}], ctorParameters: () => [], propDecorators: { isFilterExpanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "isFilterExpanded", required: false }] }, { type: i0.Output, args: ["isFilterExpandedChange"] }], filteredRecords: [{ type: i0.Output, args: ["filteredRecords"] }], filterSelectionChanged: [{ type: i0.Output, args: ["filterSelectionChanged"] }], refresh: [{ type: i0.Input, args: [{ isSignal: true, alias: "refresh", required: false }] }], fileName: [{ type: i0.Input, args: [{ isSignal: true, alias: "fileName", required: false }] }] } });
|
|
4556
4560
|
|
|
4557
4561
|
/*
|
|
4558
4562
|
* Public API Surface of ntybase
|