@ethlete/query 2.7.0 → 2.7.1
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/directives/infinity-query-trigger.directive.mjs +3 -3
- package/esm2020/lib/directives/infinity-query.directive.mjs +3 -3
- package/esm2020/lib/directives/query.directive.mjs +3 -3
- package/esm2020/lib/infinite-query/infinity-query.mjs +2 -9
- package/fesm2015/ethlete-query.mjs +10 -17
- package/fesm2015/ethlete-query.mjs.map +1 -1
- package/fesm2020/ethlete-query.mjs +10 -17
- package/fesm2020/ethlete-query.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1243,9 +1243,9 @@ class QueryDirective {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
}
|
|
1245
1245
|
}
|
|
1246
|
-
QueryDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1247
|
-
QueryDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1246
|
+
QueryDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: QueryDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ErrorHandler }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1247
|
+
QueryDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: QueryDirective, isStandalone: true, selector: "[query]", inputs: { query: "query", cache: ["queryCache", "cache"] }, ngImport: i0 });
|
|
1248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: QueryDirective, decorators: [{
|
|
1249
1249
|
type: Directive,
|
|
1250
1250
|
args: [{
|
|
1251
1251
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1384,14 +1384,7 @@ class InfinityQuery {
|
|
|
1384
1384
|
this._subscriptions = this._subscriptions.filter((sub) => sub !== stateChangesSub);
|
|
1385
1385
|
},
|
|
1386
1386
|
});
|
|
1387
|
-
|
|
1388
|
-
next: (state) => {
|
|
1389
|
-
if (state.meta.triggeredVia === 'auto') {
|
|
1390
|
-
this.reset();
|
|
1391
|
-
}
|
|
1392
|
-
},
|
|
1393
|
-
});
|
|
1394
|
-
this._subscriptions.push(stateChangesSub, queryAutoRefreshSub);
|
|
1387
|
+
this._subscriptions.push(stateChangesSub);
|
|
1395
1388
|
}
|
|
1396
1389
|
_prepareArgs(config, page) {
|
|
1397
1390
|
const pageParamLocation = this._getPageParamLocation(config?.pageParam?.location);
|
|
@@ -1597,9 +1590,9 @@ class InfinityQueryDirective {
|
|
|
1597
1590
|
this._data$.next([]);
|
|
1598
1591
|
}
|
|
1599
1592
|
}
|
|
1600
|
-
InfinityQueryDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1601
|
-
InfinityQueryDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1593
|
+
InfinityQueryDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: InfinityQueryDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1594
|
+
InfinityQueryDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: InfinityQueryDirective, isStandalone: true, selector: "[infinityQuery]", inputs: { infinityQuery: "infinityQuery" }, providers: [{ provide: INFINITY_QUERY_TOKEN, useExisting: InfinityQueryDirective }, DestroyService], exportAs: ["infinityQuery"], ngImport: i0 });
|
|
1595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: InfinityQueryDirective, decorators: [{
|
|
1603
1596
|
type: Directive,
|
|
1604
1597
|
args: [{
|
|
1605
1598
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1649,9 +1642,9 @@ class InfinityQueryTriggerDirective {
|
|
|
1649
1642
|
this._observer.observe(this._elementRef.nativeElement);
|
|
1650
1643
|
}
|
|
1651
1644
|
}
|
|
1652
|
-
InfinityQueryTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1653
|
-
InfinityQueryTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
1654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1645
|
+
InfinityQueryTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: InfinityQueryTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1646
|
+
InfinityQueryTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.5", type: InfinityQueryTriggerDirective, isStandalone: true, selector: "[infinityQueryTrigger], infinity-query-trigger", inputs: { scrollContainerSelector: "scrollContainerSelector" }, ngImport: i0 });
|
|
1647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: InfinityQueryTriggerDirective, decorators: [{
|
|
1655
1648
|
type: Directive,
|
|
1656
1649
|
args: [{
|
|
1657
1650
|
// eslint-disable-next-line @angular-eslint/directive-selector
|