@dereekb/dbx-core 9.23.13 → 9.23.15
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/esm2020/lib/filter/filter.abstract.source.directive.mjs +7 -1
- package/esm2020/lib/filter/filter.map.connector.directive.mjs +7 -2
- package/esm2020/lib/filter/filter.module.mjs +5 -4
- package/esm2020/lib/filter/filter.preset.mjs +1 -1
- package/fesm2015/dereekb-dbx-core.mjs +19 -7
- package/fesm2015/dereekb-dbx-core.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-core.mjs +19 -7
- package/fesm2020/dereekb-dbx-core.mjs.map +1 -1
- package/lib/filter/filter.abstract.source.directive.d.ts +2 -0
- package/lib/filter/filter.module.d.ts +5 -5
- package/lib/filter/filter.preset.d.ts +14 -2
- package/package.json +4 -4
|
@@ -4053,7 +4053,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4053
4053
|
args: [{ name: 'dateTimeRangeOnlyDistance' }]
|
|
4054
4054
|
}] });
|
|
4055
4055
|
|
|
4056
|
-
const declarations = [DateFromToTimePipe, DateDayRangePipe, DateDayTimeRangePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DateTimeRangeOnlyDistancePipe, DateFormatDistancePipe, MinutesStringPipe, TimeDistanceCountdownPipe, TimeDistancePipe, DateDistancePipe, ToJsDatePipe, ToMinutesPipe];
|
|
4056
|
+
const declarations$1 = [DateFromToTimePipe, DateDayRangePipe, DateDayTimeRangePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DateTimeRangeOnlyDistancePipe, DateFormatDistancePipe, MinutesStringPipe, TimeDistanceCountdownPipe, TimeDistancePipe, DateDistancePipe, ToJsDatePipe, ToMinutesPipe];
|
|
4057
4057
|
class DbxDatePipeModule {
|
|
4058
4058
|
}
|
|
4059
4059
|
DbxDatePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxDatePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -4062,8 +4062,8 @@ DbxDatePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
4062
4062
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxDatePipeModule, decorators: [{
|
|
4063
4063
|
type: NgModule,
|
|
4064
4064
|
args: [{
|
|
4065
|
-
exports: declarations,
|
|
4066
|
-
declarations
|
|
4065
|
+
exports: declarations$1,
|
|
4066
|
+
declarations: declarations$1
|
|
4067
4067
|
}]
|
|
4068
4068
|
}] });
|
|
4069
4069
|
|
|
@@ -4202,6 +4202,12 @@ class AbstractFilterSourceDirective {
|
|
|
4202
4202
|
resetFilter() {
|
|
4203
4203
|
this._defaultFilterSource.resetFilter();
|
|
4204
4204
|
}
|
|
4205
|
+
get initialFilterTakesPriority() {
|
|
4206
|
+
return this._defaultFilterSource.initialFilterTakesPriority;
|
|
4207
|
+
}
|
|
4208
|
+
set initialFilterTakesPriority(initialFilterTakesPriority) {
|
|
4209
|
+
this._defaultFilterSource.initialFilterTakesPriority = initialFilterTakesPriority;
|
|
4210
|
+
}
|
|
4205
4211
|
// MARK: Internal
|
|
4206
4212
|
makeDefaultFilter() {
|
|
4207
4213
|
return of(this.defaultFilterValue);
|
|
@@ -4315,7 +4321,12 @@ class DbxFilterMapSourceConnectorDirective extends DbxFilterMapSourceDirective {
|
|
|
4315
4321
|
}
|
|
4316
4322
|
// MARK: FilterSourceConnector
|
|
4317
4323
|
connectWithSource(filterSource) {
|
|
4318
|
-
this.instance$.pipe(first()).subscribe((x) =>
|
|
4324
|
+
this.instance$.pipe(first()).subscribe((x) => {
|
|
4325
|
+
x.connectWithSource(filterSource);
|
|
4326
|
+
if (filterSource.initWithFilter) {
|
|
4327
|
+
filterSource.initWithFilter(this.filter$);
|
|
4328
|
+
}
|
|
4329
|
+
});
|
|
4319
4330
|
}
|
|
4320
4331
|
}
|
|
4321
4332
|
DbxFilterMapSourceConnectorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -4369,17 +4380,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
4369
4380
|
}]
|
|
4370
4381
|
}] });
|
|
4371
4382
|
|
|
4383
|
+
const declarations = [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective];
|
|
4372
4384
|
class DbxCoreFilterModule {
|
|
4373
4385
|
}
|
|
4374
4386
|
DbxCoreFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxCoreFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4375
|
-
DbxCoreFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: DbxCoreFilterModule, declarations: [DbxFilterSourceDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective,
|
|
4387
|
+
DbxCoreFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: DbxCoreFilterModule, declarations: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective], imports: [CommonModule], exports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective] });
|
|
4376
4388
|
DbxCoreFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxCoreFilterModule, imports: [CommonModule] });
|
|
4377
4389
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxCoreFilterModule, decorators: [{
|
|
4378
4390
|
type: NgModule,
|
|
4379
4391
|
args: [{
|
|
4380
4392
|
imports: [CommonModule],
|
|
4381
|
-
declarations
|
|
4382
|
-
exports:
|
|
4393
|
+
declarations,
|
|
4394
|
+
exports: declarations
|
|
4383
4395
|
}]
|
|
4384
4396
|
}] });
|
|
4385
4397
|
|