Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ng-web-apis/intersection-observer

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ng-web-apis/intersection-observer - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

662

bundles/ng-web-apis-intersection-observer.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('rxjs/operators'), require('@angular/core'), require('@ng-web-apis/common')) :
typeof define === 'function' && define.amd ? define('@ng-web-apis/intersection-observer', ['exports', 'rxjs', 'rxjs/operators', '@angular/core', '@ng-web-apis/common'], factory) :
(factory((global['ng-web-apis'] = global['ng-web-apis'] || {}, global['ng-web-apis']['intersection-observer'] = {}),global.rxjs,global.rxjs.operators,global.ng.core,global.common));
}(this, (function (exports,rxjs,operators,core,common) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@ng-web-apis/common')) :
typeof define === 'function' && define.amd ? define('@ng-web-apis/intersection-observer', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@ng-web-apis/common'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["ng-web-apis"] = global["ng-web-apis"] || {}, global["ng-web-apis"]["intersection-observer"] = {}), global.ng.core, global.rxjs, global.rxjs.operators, global.common));
})(this, (function (exports, i0, i1, operators, common) { 'use strict';
function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
if (k !== 'default') {
var d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: function () { return e[k]; }
});
}
});
}
n["default"] = e;
return Object.freeze(n);
}
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
Copyright (c) Microsoft Corporation.
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */

@@ -26,3 +47,3 @@ /* global Reflect, Promise */

function (d, b) { for (var p in b)
if (b.hasOwnProperty(p))
if (Object.prototype.hasOwnProperty.call(b, p))
d[p] = b[p]; };

@@ -32,2 +53,4 @@ return extendStatics(d, b);

function __extends(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);

@@ -37,18 +60,294 @@ function __() { this.constructor = d; }

}
var __assign = function () {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __rest(s, e) {
var t = {};
for (var p in s)
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
r = Reflect.decorate(decorators, target, key, desc);
else
for (var i = decorators.length - 1; i >= 0; i--)
if (d = decorators[i])
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __param(paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); };
}
function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
return Reflect.metadata(metadataKey, metadataValue);
}
function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try {
step(generator.next(value));
}
catch (e) {
reject(e);
} }
function rejected(value) { try {
step(generator["throw"](value));
}
catch (e) {
reject(e);
} }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function () { if (t[0] & 1)
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f)
throw new TypeError("Generator is already executing.");
while (_)
try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
return t;
if (y = 0, t)
op = [op[0] & 2, t.value];
switch (op[0]) {
case 0:
case 1:
t = op;
break;
case 4:
_.label++;
return { value: op[1], done: false };
case 5:
_.label++;
y = op[1];
op = [0];
continue;
case 7:
op = _.ops.pop();
_.trys.pop();
continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
_ = 0;
continue;
}
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
_.label = op[1];
break;
}
if (op[0] === 6 && _.label < t[1]) {
_.label = t[1];
t = op;
break;
}
if (t && _.label < t[2]) {
_.label = t[2];
_.ops.push(op);
break;
}
if (t[2])
_.ops.pop();
_.trys.pop();
continue;
}
op = body.call(thisArg, _);
}
catch (e) {
op = [6, e];
y = 0;
}
finally {
f = t = 0;
}
if (op[0] & 5)
throw op[1];
return { value: op[0] ? op[1] : void 0, done: true };
}
}
var __createBinding = Object.create ? (function (o, m, k, k2) {
if (k2 === undefined)
k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
}) : (function (o, m, k, k2) {
if (k2 === undefined)
k2 = k;
o[k2] = m[k];
});
function __exportStar(m, o) {
for (var p in m)
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
__createBinding(o, m, p);
}
function __values(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m)
return m.call(o);
if (o && typeof o.length === "number")
return {
next: function () {
if (o && i >= o.length)
o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m)
return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
ar.push(r.value);
}
catch (error) {
e = { error: error };
}
finally {
try {
if (r && !r.done && (m = i["return"]))
m.call(i);
}
finally {
if (e)
throw e.error;
}
}
return ar;
}
/** @deprecated */
function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
}
/** @deprecated */
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}
function __spreadArray(to, from, pack) {
if (pack || arguments.length === 2)
for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar)
ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
}
function __await(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
function verb(n) { if (g[n])
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
function resume(n, v) { try {
step(g[n](v));
}
catch (e) {
settle(q[0][3], e);
} }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); }
function settle(f, v) { if (f(v), q.shift(), q.length)
resume(q[0][0], q[0][1]); }
}
function __asyncDelegator(o) {
var i, p;
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
}
function __asyncValues(o) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
}
function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) {
Object.defineProperty(cooked, "raw", { value: raw });
}
else {
cooked.raw = raw;
}
return cooked;
}
;
var __setModuleDefault = Object.create ? (function (o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function (o, v) {
o["default"] = v;
};
function __importStar(mod) {
if (mod && mod.__esModule)
return mod;
var result = {};
if (mod != null)
for (var k in mod)
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
__createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
}
function __importDefault(mod) {
return (mod && mod.__esModule) ? mod : { default: mod };
}
function __classPrivateFieldGet(receiver, state, kind, f) {
if (kind === "a" && !f)
throw new TypeError("Private accessor was defined without a getter");
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
throw new TypeError("Cannot read private member from an object whose class did not declare it");
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
}
function __classPrivateFieldSet(receiver, state, value, kind, f) {
if (kind === "m")
throw new TypeError("Private method is not writable");
if (kind === "a" && !f)
throw new TypeError("Private accessor was defined without a setter");
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
throw new TypeError("Cannot write private member to an object whose class did not declare it");
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
var INTERSECTION_ROOT = new core.InjectionToken('Root element for IntersectionObserver');
var INTERSECTION_ROOT = new i0.InjectionToken('Root element for IntersectionObserver');
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
var INTERSECTION_ROOT_MARGIN_DEFAULT = '0px 0px 0px 0px';
/** @type {?} */
var INTERSECTION_ROOT_MARGIN = new core.InjectionToken('rootMargin for IntersectionObserver', {
var INTERSECTION_ROOT_MARGIN = new i0.InjectionToken('rootMargin for IntersectionObserver', {
providedIn: 'root',

@@ -58,10 +357,2 @@ factory: function () { return INTERSECTION_ROOT_MARGIN_DEFAULT; },

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @param {?} rootMargin
* @return {?}
*/
function rootMarginFactory(rootMargin) {

@@ -71,10 +362,4 @@ return rootMargin || INTERSECTION_ROOT_MARGIN_DEFAULT;

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
var INTERSECTION_THRESHOLD_DEFAULT = 0;
/** @type {?} */
var INTERSECTION_THRESHOLD = new core.InjectionToken('threshold for IntersectionObserver', {
var INTERSECTION_THRESHOLD = new i0.InjectionToken('threshold for IntersectionObserver', {
providedIn: 'root',

@@ -84,20 +369,6 @@ factory: function () { return INTERSECTION_THRESHOLD_DEFAULT; },

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @param {?} threshold
* @return {?}
*/
function thresholdFactory(threshold) {
return threshold
? threshold.split(',').map(parseFloat)
: INTERSECTION_THRESHOLD_DEFAULT;
return (threshold === null || threshold === void 0 ? void 0 : threshold.split(',').map(parseFloat)) || INTERSECTION_THRESHOLD_DEFAULT;
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var IntersectionObserverDirective = /** @class */ (function (_super) {

@@ -108,3 +379,2 @@ __extends(IntersectionObserverDirective, _super);

_this.callbacks.forEach(function (callback, element) {
/** @type {?} */
var filtered = entries.filter(function (_a) {

@@ -124,61 +394,39 @@ var target = _a.target;

}
/**
* @param {?} target
* @param {?=} callback
* @return {?}
*/
IntersectionObserverDirective.prototype.observe = /**
* @param {?} target
* @param {?=} callback
* @return {?}
*/
function (target, callback) {
if (callback === void 0) {
callback = function () { };
}
_super.prototype.observe.call(this, target);
this.callbacks.set(target, callback);
};
/**
* @param {?} target
* @return {?}
*/
IntersectionObserverDirective.prototype.unobserve = /**
* @param {?} target
* @return {?}
*/
function (target) {
_super.prototype.unobserve.call(this, target);
this.callbacks.delete(target);
};
/**
* @return {?}
*/
IntersectionObserverDirective.prototype.ngOnDestroy = /**
* @return {?}
*/
function () {
this.disconnect();
};
IntersectionObserverDirective.decorators = [
{ type: core.Directive, args: [{
selector: '[waIntersectionObserver]',
exportAs: 'IntersectionObserver',
},] }
];
/** @nocollapse */
IntersectionObserverDirective.ctorParameters = function () {
return [
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [INTERSECTION_ROOT,] }] },
{ type: undefined, decorators: [{ type: core.Attribute, args: ['waIntersectionRootMargin',] }] },
{ type: undefined, decorators: [{ type: core.Attribute, args: ['waIntersectionThreshold',] }] }
];
IntersectionObserverDirective.prototype.observe = function (target, callback) {
if (callback === void 0) { callback = function () { }; }
_super.prototype.observe.call(this, target);
this.callbacks.set(target, callback);
};
IntersectionObserverDirective.prototype.unobserve = function (target) {
_super.prototype.unobserve.call(this, target);
this.callbacks.delete(target);
};
IntersectionObserverDirective.prototype.ngOnDestroy = function () {
this.disconnect();
};
return IntersectionObserverDirective;
}(IntersectionObserver));
/** @nocollapse */ IntersectionObserverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverDirective, deps: [{ token: INTERSECTION_ROOT, optional: true }, { token: 'waIntersectionRootMargin', attribute: true }, { token: 'waIntersectionThreshold', attribute: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionObserverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionObserverDirective, selector: "[waIntersectionObserver]", exportAs: ["IntersectionObserver"], usesInheritance: true, ngImport: i0__namespace });
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverDirective, decorators: [{
type: i0.Directive,
args: [{
selector: '[waIntersectionObserver]',
exportAs: 'IntersectionObserver',
}]
}], ctorParameters: function () {
return [{ type: i0__namespace.ElementRef, decorators: [{
type: i0.Optional
}, {
type: i0.Inject,
args: [INTERSECTION_ROOT]
}] }, { type: undefined, decorators: [{
type: i0.Attribute,
args: ['waIntersectionRootMargin']
}] }, { type: undefined, decorators: [{
type: i0.Attribute,
args: ['waIntersectionThreshold']
}] }];
} });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var IntersectionObserveeService = /** @class */ (function (_super) {

@@ -198,20 +446,18 @@ __extends(IntersectionObserveeService, _super);

}
IntersectionObserveeService.decorators = [
{ type: core.Injectable }
];
/** @nocollapse */
IntersectionObserveeService.ctorParameters = function () {
return [
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
{ type: IntersectionObserverDirective, decorators: [{ type: core.Inject, args: [IntersectionObserverDirective,] }] }
];
};
return IntersectionObserveeService;
}(rxjs.Observable));
}(i1.Observable));
/** @nocollapse */ IntersectionObserveeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserveeService, deps: [{ token: i0.ElementRef }, { token: IntersectionObserverDirective }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
/** @nocollapse */ IntersectionObserveeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserveeService });
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserveeService, decorators: [{
type: i0.Injectable
}], ctorParameters: function () {
return [{ type: i0__namespace.ElementRef, decorators: [{
type: i0.Inject,
args: [i0.ElementRef]
}] }, { type: IntersectionObserverDirective, decorators: [{
type: i0.Inject,
args: [IntersectionObserverDirective]
}] }];
} });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
// @dynamic
var IntersectionObserveeDirective = /** @class */ (function () {

@@ -221,27 +467,35 @@ function IntersectionObserveeDirective(waIntersectionObservee) {

}
IntersectionObserveeDirective.decorators = [
{ type: core.Directive, args: [{
return IntersectionObserveeDirective;
}());
/** @nocollapse */ IntersectionObserveeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserveeDirective, deps: [{ token: IntersectionObserveeService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionObserveeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionObserveeDirective, selector: "[waIntersectionObservee]", outputs: { waIntersectionObservee: "waIntersectionObservee" }, providers: [IntersectionObserveeService], ngImport: i0__namespace });
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserveeDirective, decorators: [{
type: i0.Directive,
args: [{
selector: '[waIntersectionObservee]',
outputs: ['waIntersectionObservee'],
providers: [IntersectionObserveeService],
},] }
];
/** @nocollapse */
IntersectionObserveeDirective.ctorParameters = function () {
return [
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [IntersectionObserveeService,] }] }
];
};
return IntersectionObserveeDirective;
}());
}]
}], ctorParameters: function () {
return [{ type: i1__namespace.Observable, decorators: [{
type: i0.Inject,
args: [IntersectionObserveeService]
}] }];
} });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var IntersectionRootDirective = /** @class */ (function () {
function IntersectionRootDirective() {
}
IntersectionRootDirective.decorators = [
{ type: core.Directive, args: [{
return IntersectionRootDirective;
}());
/** @nocollapse */ IntersectionRootDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionRootDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionRootDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionRootDirective, selector: "[waIntersectionRoot]", providers: [
{
provide: INTERSECTION_ROOT,
useExisting: i0.ElementRef,
},
], ngImport: i0__namespace });
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionRootDirective, decorators: [{
type: i0.Directive,
args: [{
selector: '[waIntersectionRoot]',

@@ -251,19 +505,23 @@ providers: [

provide: INTERSECTION_ROOT,
useExisting: core.ElementRef,
useExisting: i0.ElementRef,
},
],
},] }
];
return IntersectionRootDirective;
}());
}]
}] });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var IntersectionObserverModule = /** @class */ (function () {
function IntersectionObserverModule() {
}
IntersectionObserverModule.decorators = [
{ type: core.NgModule, args: [{
return IntersectionObserverModule;
}());
/** @nocollapse */ IntersectionObserverModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IntersectionObserverModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverModule, declarations: [IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective], exports: [IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective] });
/** @nocollapse */ IntersectionObserverModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverModule });
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverModule, decorators: [{
type: i0.NgModule,
args: [{
declarations: [

@@ -279,21 +537,10 @@ IntersectionObserverDirective,

],
},] }
];
return IntersectionObserverModule;
}());
}]
}] });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
var INTERSECTION_OBSERVER_SUPPORT = new core.InjectionToken('Intersection Observer API support', {
var INTERSECTION_OBSERVER_SUPPORT = new i0.InjectionToken('Intersection Observer API support', {
providedIn: 'root',
factory: function () { return !!core.inject(common.WINDOW).IntersectionObserver; },
factory: function () { return !!i0.inject(common.WINDOW).IntersectionObserver; },
});
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var IntersectionObserverService = /** @class */ (function (_super) {

@@ -308,3 +555,2 @@ __extends(IntersectionObserverService, _super);

}
/** @type {?} */
var observer = new IntersectionObserver(function (entries) {

@@ -324,45 +570,53 @@ subscriber.next(entries);

}
IntersectionObserverService.decorators = [
{ type: core.Injectable }
];
/** @nocollapse */
IntersectionObserverService.ctorParameters = function () {
return [
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
{ type: Boolean, decorators: [{ type: core.Inject, args: [INTERSECTION_OBSERVER_SUPPORT,] }] },
{ type: String, decorators: [{ type: core.Inject, args: [INTERSECTION_ROOT_MARGIN,] }] },
{ type: undefined, decorators: [{ type: core.Inject, args: [INTERSECTION_THRESHOLD,] }] },
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [INTERSECTION_ROOT,] }] }
];
};
return IntersectionObserverService;
}(rxjs.Observable));
}(i1.Observable));
/** @nocollapse */ IntersectionObserverService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverService, deps: [{ token: i0.ElementRef }, { token: INTERSECTION_OBSERVER_SUPPORT }, { token: INTERSECTION_ROOT_MARGIN }, { token: INTERSECTION_THRESHOLD }, { token: INTERSECTION_ROOT, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
/** @nocollapse */ IntersectionObserverService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverService });
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IntersectionObserverService, decorators: [{
type: i0.Injectable
}], ctorParameters: function () {
return [{ type: i0__namespace.ElementRef, decorators: [{
type: i0.Inject,
args: [i0.ElementRef]
}] }, { type: undefined, decorators: [{
type: i0.Inject,
args: [INTERSECTION_OBSERVER_SUPPORT]
}] }, { type: undefined, decorators: [{
type: i0.Inject,
args: [INTERSECTION_ROOT_MARGIN]
}] }, { type: undefined, decorators: [{
type: i0.Inject,
args: [INTERSECTION_THRESHOLD]
}] }, { type: i0__namespace.ElementRef, decorators: [{
type: i0.Optional
}, {
type: i0.Inject,
args: [INTERSECTION_ROOT]
}] }];
} });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* Public API Surface of @ng-web-apis/intersection-observer
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* Generated bundle index. Do not edit.
*/
exports.INTERSECTION_OBSERVER_SUPPORT = INTERSECTION_OBSERVER_SUPPORT;
exports.INTERSECTION_ROOT = INTERSECTION_ROOT;
exports.INTERSECTION_ROOT_MARGIN = INTERSECTION_ROOT_MARGIN;
exports.INTERSECTION_ROOT_MARGIN_DEFAULT = INTERSECTION_ROOT_MARGIN_DEFAULT;
exports.INTERSECTION_THRESHOLD = INTERSECTION_THRESHOLD;
exports.INTERSECTION_THRESHOLD_DEFAULT = INTERSECTION_THRESHOLD_DEFAULT;
exports.IntersectionObserveeDirective = IntersectionObserveeDirective;
exports.IntersectionObserveeService = IntersectionObserveeService;
exports.IntersectionObserverDirective = IntersectionObserverDirective;
exports.IntersectionRootDirective = IntersectionRootDirective;
exports.IntersectionObserverModule = IntersectionObserverModule;
exports.IntersectionObserveeService = IntersectionObserveeService;
exports.IntersectionObserverService = IntersectionObserverService;
exports.INTERSECTION_ROOT = INTERSECTION_ROOT;
exports.INTERSECTION_ROOT_MARGIN_DEFAULT = INTERSECTION_ROOT_MARGIN_DEFAULT;
exports.INTERSECTION_ROOT_MARGIN = INTERSECTION_ROOT_MARGIN;
exports.INTERSECTION_THRESHOLD_DEFAULT = INTERSECTION_THRESHOLD_DEFAULT;
exports.INTERSECTION_THRESHOLD = INTERSECTION_THRESHOLD;
exports.INTERSECTION_OBSERVER_SUPPORT = INTERSECTION_OBSERVER_SUPPORT;
exports.IntersectionRootDirective = IntersectionRootDirective;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=ng-web-apis-intersection-observer.umd.js.map
}));
//# sourceMappingURL=ng-web-apis-intersection-observer.umd.js.map
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class IntersectionObserveeDirective {
readonly waIntersectionObservee: Observable<IntersectionObserverEntry[]>;
constructor(waIntersectionObservee: Observable<IntersectionObserverEntry[]>);
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionObserveeDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<IntersectionObserveeDirective, "[waIntersectionObservee]", never, {}, { "waIntersectionObservee": "waIntersectionObservee"; }, never>;
}
import { ElementRef, OnDestroy } from '@angular/core';
import * as i0 from "@angular/core";
export declare class IntersectionObserverDirective extends IntersectionObserver implements OnDestroy {

@@ -8,2 +9,4 @@ private readonly callbacks;

ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionObserverDirective, [{ optional: true; }, { attribute: "waIntersectionRootMargin"; }, { attribute: "waIntersectionThreshold"; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<IntersectionObserverDirective, "[waIntersectionObserver]", ["IntersectionObserver"], {}, {}, never>;
}

@@ -0,2 +1,5 @@

import * as i0 from "@angular/core";
export declare class IntersectionRootDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionRootDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<IntersectionRootDirective, "[waIntersectionRoot]", never, {}, {}, never>;
}

@@ -1,13 +0,7 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Directive, Inject } from '@angular/core';
import { Observable } from 'rxjs';
import { IntersectionObserveeService } from '../services/intersection-observee.service';
// @dynamic
import * as i0 from "@angular/core";
import * as i1 from "rxjs";
export class IntersectionObserveeDirective {
/**
* @param {?} waIntersectionObservee
*/
constructor(waIntersectionObservee) {

@@ -17,17 +11,15 @@ this.waIntersectionObservee = waIntersectionObservee;

}
IntersectionObserveeDirective.decorators = [
{ type: Directive, args: [{
selector: '[waIntersectionObservee]',
outputs: ['waIntersectionObservee'],
providers: [IntersectionObserveeService],
},] }
];
/** @nocollapse */
IntersectionObserveeDirective.ctorParameters = () => [
{ type: Observable, decorators: [{ type: Inject, args: [IntersectionObserveeService,] }] }
];
if (false) {
/** @type {?} */
IntersectionObserveeDirective.prototype.waIntersectionObservee;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLW9ic2VydmVlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZy13ZWItYXBpcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIvIiwic291cmNlcyI6WyJkaXJlY3RpdmVzL2ludGVyc2VjdGlvbi1vYnNlcnZlZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hELE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDaEMsT0FBTyxFQUFDLDJCQUEyQixFQUFDLE1BQU0sMkNBQTJDLENBQUM7O0FBUXRGLE1BQU0sT0FBTyw2QkFBNkI7Ozs7SUFDdEMsWUFFYSxzQkFBK0Q7UUFBL0QsMkJBQXNCLEdBQXRCLHNCQUFzQixDQUF5QztJQUN6RSxDQUFDOzs7WUFUUCxTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLDBCQUEwQjtnQkFDcEMsT0FBTyxFQUFFLENBQUMsd0JBQXdCLENBQUM7Z0JBQ25DLFNBQVMsRUFBRSxDQUFDLDJCQUEyQixDQUFDO2FBQzNDOzs7O1lBUk8sVUFBVSx1QkFXVCxNQUFNLFNBQUMsMkJBQTJCOzs7O0lBQW5DLCtEQUN3RSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RGlyZWN0aXZlLCBJbmplY3R9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQge09ic2VydmFibGV9IGZyb20gJ3J4anMnO1xyXG5pbXBvcnQge0ludGVyc2VjdGlvbk9ic2VydmVlU2VydmljZX0gZnJvbSAnLi4vc2VydmljZXMvaW50ZXJzZWN0aW9uLW9ic2VydmVlLnNlcnZpY2UnO1xyXG5cclxuLy8gQGR5bmFtaWNcclxuQERpcmVjdGl2ZSh7XHJcbiAgICBzZWxlY3RvcjogJ1t3YUludGVyc2VjdGlvbk9ic2VydmVlXScsXHJcbiAgICBvdXRwdXRzOiBbJ3dhSW50ZXJzZWN0aW9uT2JzZXJ2ZWUnXSxcclxuICAgIHByb3ZpZGVyczogW0ludGVyc2VjdGlvbk9ic2VydmVlU2VydmljZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBJbnRlcnNlY3Rpb25PYnNlcnZlZURpcmVjdGl2ZSB7XHJcbiAgICBjb25zdHJ1Y3RvcihcclxuICAgICAgICBASW5qZWN0KEludGVyc2VjdGlvbk9ic2VydmVlU2VydmljZSlcclxuICAgICAgICByZWFkb25seSB3YUludGVyc2VjdGlvbk9ic2VydmVlOiBPYnNlcnZhYmxlPEludGVyc2VjdGlvbk9ic2VydmVyRW50cnlbXT4sXHJcbiAgICApIHt9XHJcbn1cclxuIl19
/** @nocollapse */ IntersectionObserveeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeDirective, deps: [{ token: IntersectionObserveeService }], target: i0.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionObserveeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionObserveeDirective, selector: "[waIntersectionObservee]", outputs: { waIntersectionObservee: "waIntersectionObservee" }, providers: [IntersectionObserveeService], ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeDirective, decorators: [{
type: Directive,
args: [{
selector: '[waIntersectionObservee]',
outputs: ['waIntersectionObservee'],
providers: [IntersectionObserveeService],
}]
}], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
type: Inject,
args: [IntersectionObserveeService]
}] }]; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLW9ic2VydmVlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2ludGVyc2VjdGlvbi1vYnNlcnZlci9zcmMvZGlyZWN0aXZlcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZWUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hELE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFFaEMsT0FBTyxFQUFDLDJCQUEyQixFQUFDLE1BQU0sMkNBQTJDLENBQUM7OztBQU90RixNQUFNLE9BQU8sNkJBQTZCO0lBQ3RDLFlBRWEsc0JBQStEO1FBQS9ELDJCQUFzQixHQUF0QixzQkFBc0IsQ0FBeUM7SUFDekUsQ0FBQzs7OElBSkssNkJBQTZCLGtCQUUxQiwyQkFBMkI7a0lBRjlCLDZCQUE2QixrSEFGM0IsQ0FBQywyQkFBMkIsQ0FBQzs0RkFFL0IsNkJBQTZCO2tCQUx6QyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSwwQkFBMEI7b0JBQ3BDLE9BQU8sRUFBRSxDQUFDLHdCQUF3QixDQUFDO29CQUNuQyxTQUFTLEVBQUUsQ0FBQywyQkFBMkIsQ0FBQztpQkFDM0M7OzBCQUdRLE1BQU07MkJBQUMsMkJBQTJCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtEaXJlY3RpdmUsIEluamVjdH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7T2JzZXJ2YWJsZX0gZnJvbSAncnhqcyc7XHJcblxyXG5pbXBvcnQge0ludGVyc2VjdGlvbk9ic2VydmVlU2VydmljZX0gZnJvbSAnLi4vc2VydmljZXMvaW50ZXJzZWN0aW9uLW9ic2VydmVlLnNlcnZpY2UnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgICBzZWxlY3RvcjogJ1t3YUludGVyc2VjdGlvbk9ic2VydmVlXScsXHJcbiAgICBvdXRwdXRzOiBbJ3dhSW50ZXJzZWN0aW9uT2JzZXJ2ZWUnXSxcclxuICAgIHByb3ZpZGVyczogW0ludGVyc2VjdGlvbk9ic2VydmVlU2VydmljZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBJbnRlcnNlY3Rpb25PYnNlcnZlZURpcmVjdGl2ZSB7XHJcbiAgICBjb25zdHJ1Y3RvcihcclxuICAgICAgICBASW5qZWN0KEludGVyc2VjdGlvbk9ic2VydmVlU2VydmljZSlcclxuICAgICAgICByZWFkb25seSB3YUludGVyc2VjdGlvbk9ic2VydmVlOiBPYnNlcnZhYmxlPEludGVyc2VjdGlvbk9ic2VydmVyRW50cnlbXT4sXHJcbiAgICApIHt9XHJcbn1cclxuIl19

@@ -1,5 +0,1 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Attribute, Directive, Inject, Optional, } from '@angular/core';

@@ -9,12 +5,7 @@ import { INTERSECTION_ROOT } from '../tokens/intersection-root';

import { thresholdFactory } from '../utils/threshold-factory';
import * as i0 from "@angular/core";
export class IntersectionObserverDirective extends IntersectionObserver {
/**
* @param {?} root
* @param {?} rootMargin
* @param {?} threshold
*/
constructor(root, rootMargin, threshold) {
super(entries => {
this.callbacks.forEach((callback, element) => {
/** @type {?} */
const filtered = entries.filter(({ target }) => target === element);

@@ -30,7 +21,2 @@ return filtered.length && callback(filtered, this);

}
/**
* @param {?} target
* @param {?=} callback
* @return {?}
*/
observe(target, callback = () => { }) {

@@ -40,6 +26,2 @@ super.observe(target);

}
/**
* @param {?} target
* @return {?}
*/
unobserve(target) {

@@ -49,5 +31,2 @@ super.unobserve(target);

}
/**
* @return {?}
*/
ngOnDestroy() {

@@ -57,21 +36,22 @@ this.disconnect();

}
IntersectionObserverDirective.decorators = [
{ type: Directive, args: [{
selector: '[waIntersectionObserver]',
exportAs: 'IntersectionObserver',
},] }
];
/** @nocollapse */
IntersectionObserverDirective.ctorParameters = () => [
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [INTERSECTION_ROOT,] }] },
{ type: undefined, decorators: [{ type: Attribute, args: ['waIntersectionRootMargin',] }] },
{ type: undefined, decorators: [{ type: Attribute, args: ['waIntersectionThreshold',] }] }
];
if (false) {
/**
* @type {?}
* @private
*/
IntersectionObserverDirective.prototype.callbacks;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLW9ic2VydmVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZy13ZWItYXBpcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIvIiwic291cmNlcyI6WyJkaXJlY3RpdmVzL2ludGVyc2VjdGlvbi1vYnNlcnZlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDSCxTQUFTLEVBQ1QsU0FBUyxFQUVULE1BQU0sRUFFTixRQUFRLEdBQ1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sNkJBQTZCLENBQUM7QUFDOUQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDL0QsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sNEJBQ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nQsXHJcbiAgICAgICAgICAgICAgICByb290TWFyZ2luOiByb290TWFyZ2luRmFjdG9yeShyb290TWFyZ2luKSxcclxuICAgICAgICAgICAgICAgIHRocmVzaG9sZDogdGhyZXNob2xkRmFjdG9yeSh0aHJlc2hvbGQpLFxyXG4gICAgICAgICAgICB9LFxyXG4gICAgICAgICk7XHJcbiAgICB9XHJcblxyXG4gICAgb2JzZXJ2ZSh0YXJnZXQ6IEVsZW1lbnQsIGNhbGxiYWNrOiBJbnRlcnNlY3Rpb25PYnNlcnZlckNhbGxiYWNrID0gKCkgPT4ge30pIHtcclxuICAgICAgICBzdXBlci5vYnNlcnZlKHRhcmdldCk7XHJcbiAgICAgICAgdGhpcy5jYWxsYmFja3Muc2V0KHRhcmdldCwgY2FsbGJhY2spO1xyXG4gICAgfVxyXG5cclxuICAgIHVub2JzZXJ2ZSh0YXJnZXQ6IEVsZW1lbnQpIHtcclxuICAgICAgICBzdXBlci51bm9ic2VydmUodGFyZ2V0KTtcclxuICAgICAgICB0aGlzLmNhbGxiYWNrcy5kZWxldGUodGFyZ2V0KTtcclxuICAgIH1cclxuXHJcbiAgICBuZ09uRGVzdHJveSgpIHtcclxuICAgICAgICB0aGlzLmRpc2Nvbm5lY3QoKTtcclxuICAgIH1cclxufVxyXG4iXX0=
/** @nocollapse */ IntersectionObserverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverDirective, deps: [{ token: INTERSECTION_ROOT, optional: true }, { token: 'waIntersectionRootMargin', attribute: true }, { token: 'waIntersectionThreshold', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionObserverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionObserverDirective, selector: "[waIntersectionObserver]", exportAs: ["IntersectionObserver"], usesInheritance: true, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverDirective, decorators: [{
type: Directive,
args: [{
selector: '[waIntersectionObserver]',
exportAs: 'IntersectionObserver',
}]
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
type: Optional
}, {
type: Inject,
args: [INTERSECTION_ROOT]
}] }, { type: undefined, decorators: [{
type: Attribute,
args: ['waIntersectionRootMargin']
}] }, { type: undefined, decorators: [{
type: Attribute,
args: ['waIntersectionThreshold']
}] }]; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLW9ic2VydmVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2ludGVyc2VjdGlvbi1vYnNlcnZlci9zcmMvZGlyZWN0aXZlcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBQ1QsU0FBUyxFQUVULE1BQU0sRUFFTixRQUFRLEdBQ1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sNkJBQTZCLENBQUM7QUFDOUQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDL0QsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sNEJBQTRCLENBQUM7O0FBTTVELE1BQU0sT0FBTyw2QkFBOEIsU0FBUSxvQkFBb0I7SUFJbkUsWUFDMkMsSUFBZ0MsRUFDaEMsVUFBeUIsRUFDMUIsU0FBd0I7UUFFOUQsS0FBSyxDQUNELE9BQU8sQ0FBQyxFQUFFO1lBQ04sSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxRQUFRLEVBQUUsT0FBTyxFQUFFLE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YWxsYmFja3MgPSBuZXcgTWFwPEVsZW1lbnQsIEludGVyc2VjdGlvbk9ic2VydmVyQ2FsbGJhY2s+KCk7XHJcblxyXG4gICAgY29uc3RydWN0b3IoXHJcbiAgICAgICAgQE9wdGlvbmFsKCkgQEluamVjdChJTlRFUlNFQ1RJT05fUk9PVCkgcm9vdDogRWxlbWVudFJlZjxFbGVtZW50PiB8IG51bGwsXHJcbiAgICAgICAgQEF0dHJpYnV0ZSgnd2FJbnRlcnNlY3Rpb25Sb290TWFyZ2luJykgcm9vdE1hcmdpbjogc3RyaW5nIHwgbnVsbCxcclxuICAgICAgICBAQXR0cmlidXRlKCd3YUludGVyc2VjdGlvblRocmVzaG9sZCcpIHRocmVzaG9sZDogc3RyaW5nIHwgbnVsbCxcclxuICAgICkge1xyXG4gICAgICAgIHN1cGVyKFxyXG4gICAgICAgICAgICBlbnRyaWVzID0+IHtcclxuICAgICAgICAgICAgICAgIHRoaXMuY2FsbGJhY2tzLmZvckVhY2goKGNhbGxiYWNrLCBlbGVtZW50KSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgZmlsdGVyZWQgPSBlbnRyaWVzLmZpbHRlcigoe3RhcmdldH0pID0+IHRhcmdldCA9PT0gZWxlbWVudCk7XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBmaWx0ZXJlZC5sZW5ndGggJiYgY2FsbGJhY2soZmlsdGVyZWQsIHRoaXMpO1xyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgIHJvb3Q6IHJvb3QgJiYgcm9vdC5uYXRpdmVFbGVtZW50LFxyXG4gICAgICAgICAgICAgICAgcm9vdE1hcmdpbjogcm9vdE1hcmdpbkZhY3Rvcnkocm9vdE1hcmdpbiksXHJcbiAgICAgICAgICAgICAgICB0aHJlc2hvbGQ6IHRocmVzaG9sZEZhY3RvcnkodGhyZXNob2xkKSxcclxuICAgICAgICAgICAgfSxcclxuICAgICAgICApO1xyXG4gICAgfVxyXG5cclxuICAgIG9ic2VydmUodGFyZ2V0OiBFbGVtZW50LCBjYWxsYmFjazogSW50ZXJzZWN0aW9uT2JzZXJ2ZXJDYWxsYmFjayA9ICgpID0+IHt9KSB7XHJcbiAgICAgICAgc3VwZXIub2JzZXJ2ZSh0YXJnZXQpO1xyXG4gICAgICAgIHRoaXMuY2FsbGJhY2tzLnNldCh0YXJnZXQsIGNhbGxiYWNrKTtcclxuICAgIH1cclxuXHJcbiAgICB1bm9ic2VydmUodGFyZ2V0OiBFbGVtZW50KSB7XHJcbiAgICAgICAgc3VwZXIudW5vYnNlcnZlKHRhcmdldCk7XHJcbiAgICAgICAgdGhpcy5jYWxsYmFja3MuZGVsZXRlKHRhcmdldCk7XHJcbiAgICB9XHJcblxyXG4gICAgbmdPbkRlc3Ryb3koKSB7XHJcbiAgICAgICAgdGhpcy5kaXNjb25uZWN0KCk7XHJcbiAgICB9XHJcbn1cclxuIl19

@@ -1,20 +0,25 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Directive, ElementRef } from '@angular/core';
import { INTERSECTION_ROOT } from '../tokens/intersection-root';
import * as i0 from "@angular/core";
export class IntersectionRootDirective {
}
IntersectionRootDirective.decorators = [
{ type: Directive, args: [{
selector: '[waIntersectionRoot]',
providers: [
{
provide: INTERSECTION_ROOT,
useExisting: ElementRef,
},
],
},] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLXJvb3QuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5nLXdlYi1hcGlzL2ludGVyc2VjdGlvbi1vYnNlcnZlci8iLCJzb3VyY2VzIjpbImRpcmVjdGl2ZXMvaW50ZXJzZWN0aW9uLXJvb3QuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSw2QkFBNkIsQ0FBQztBQVc5RCxNQUFNLE9BQU8seUJBQXlCOzs7WUFUckMsU0FBUyxTQUFDO2dCQUNQLFFBQVEsRUFBRSxzQkFBc0I7Z0JBQ2hDLFNBQVMsRUFBRTtvQkFDUDt3QkFDSSxPQUFPLEVBQUUsaUJBQWlCO3dCQUMxQixXQUFXLEVBQUUsVUFBVTtxQkFDMUI7aUJBQ0o7YUFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RGlyZWN0aXZlLCBFbGVtZW50UmVmfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHtJTlRFUlNFQ1RJT05fUk9PVH0gZnJvbSAnLi4vdG9rZW5zL2ludGVyc2VjdGlvbi1yb290JztcclxuXHJcbkBEaXJlY3RpdmUoe1xyXG4gICAgc2VsZWN0b3I6ICdbd2FJbnRlcnNlY3Rpb25Sb290XScsXHJcbiAgICBwcm92aWRlcnM6IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICAgIHByb3ZpZGU6IElOVEVSU0VDVElPTl9ST09ULFxyXG4gICAgICAgICAgICB1c2VFeGlzdGluZzogRWxlbWVudFJlZixcclxuICAgICAgICB9LFxyXG4gICAgXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEludGVyc2VjdGlvblJvb3REaXJlY3RpdmUge31cclxuIl19
/** @nocollapse */ IntersectionRootDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionRootDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionRootDirective, selector: "[waIntersectionRoot]", providers: [
{
provide: INTERSECTION_ROOT,
useExisting: ElementRef,
},
], ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionRootDirective, decorators: [{
type: Directive,
args: [{
selector: '[waIntersectionRoot]',
providers: [
{
provide: INTERSECTION_ROOT,
useExisting: ElementRef,
},
],
}]
}] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLXJvb3QuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvaW50ZXJzZWN0aW9uLW9ic2VydmVyL3NyYy9kaXJlY3RpdmVzL2ludGVyc2VjdGlvbi1yb290LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSw2QkFBNkIsQ0FBQzs7QUFXOUQsTUFBTSxPQUFPLHlCQUF5Qjs7MElBQXpCLHlCQUF5Qjs4SEFBekIseUJBQXlCLCtDQVB2QjtRQUNQO1lBQ0ksT0FBTyxFQUFFLGlCQUFpQjtZQUMxQixXQUFXLEVBQUUsVUFBVTtTQUMxQjtLQUNKOzRGQUVRLHlCQUF5QjtrQkFUckMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsc0JBQXNCO29CQUNoQyxTQUFTLEVBQUU7d0JBQ1A7NEJBQ0ksT0FBTyxFQUFFLGlCQUFpQjs0QkFDMUIsV0FBVyxFQUFFLFVBQVU7eUJBQzFCO3FCQUNKO2lCQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtEaXJlY3RpdmUsIEVsZW1lbnRSZWZ9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQge0lOVEVSU0VDVElPTl9ST09UfSBmcm9tICcuLi90b2tlbnMvaW50ZXJzZWN0aW9uLXJvb3QnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgICBzZWxlY3RvcjogJ1t3YUludGVyc2VjdGlvblJvb3RdJyxcclxuICAgIHByb3ZpZGVyczogW1xyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgcHJvdmlkZTogSU5URVJTRUNUSU9OX1JPT1QsXHJcbiAgICAgICAgICAgIHVzZUV4aXN0aW5nOiBFbGVtZW50UmVmLFxyXG4gICAgICAgIH0sXHJcbiAgICBdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgSW50ZXJzZWN0aW9uUm9vdERpcmVjdGl2ZSB7fVxyXG4iXX0=

@@ -1,5 +0,1 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { NgModule } from '@angular/core';

@@ -9,18 +5,27 @@ import { IntersectionObserveeDirective } from './directives/intersection-observee.directive';

import { IntersectionRootDirective } from './directives/intersection-root.directive';
import * as i0 from "@angular/core";
export class IntersectionObserverModule {
}
IntersectionObserverModule.decorators = [
{ type: NgModule, args: [{
declarations: [
IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective,
],
exports: [
IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective,
],
},] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5nLXdlYi1hcGlzL2ludGVyc2VjdGlvbi1vYnNlcnZlci8iLCJzb3VyY2VzIjpbIm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN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Rpb25Sb290RGlyZWN0aXZlLFxyXG4gICAgXSxcclxuICAgIGV4cG9ydHM6IFtcclxuICAgICAgICBJbnRlcnNlY3Rpb25PYnNlcnZlckRpcmVjdGl2ZSxcclxuICAgICAgICBJbnRlcnNlY3Rpb25PYnNlcnZlZURpcmVjdGl2ZSxcclxuICAgICAgICBJbnRlcnNlY3Rpb25Sb290RGlyZWN0aXZlLFxyXG4gICAgXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEludGVyc2VjdGlvbk9ic2VydmVyTW9kdWxlIHt9XHJcbiJdfQ==
/** @nocollapse */ IntersectionObserverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IntersectionObserverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverModule, declarations: [IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective], exports: [IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective] });
/** @nocollapse */ IntersectionObserverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverModule, decorators: [{
type: NgModule,
args: [{
declarations: [
IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective,
],
exports: [
IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective,
],
}]
}] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvaW50ZXJzZWN0aW9uLW9ic2VydmVyL3NyYy9tb2R1bGUudHMiXS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cnNlY3Rpb25Sb290RGlyZWN0aXZlfSBmcm9tICcuL2RpcmVjdGl2ZXMvaW50ZXJzZWN0aW9uLXJvb3QuZGlyZWN0aXZlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgICBkZWNsYXJhdGlvbnM6IFtcclxuICAgICAgICBJbnRlcnNlY3Rpb25PYnNlcnZlckRpcmVjdGl2ZSxcclxuICAgICAgICBJbnRlcnNlY3Rpb25PYnNlcnZlZURpcmVjdGl2ZSxcclxuICAgICAgICBJbnRlcnNlY3Rpb25Sb290RGlyZWN0aXZlLFxyXG4gICAgXSxcclxuICAgIGV4cG9ydHM6IFtcclxuICAgICAgICBJbnRlcnNlY3Rpb25PYnNlcnZlckRpcmVjdGl2ZSxcclxuICAgICAgICBJbnRlcnNlY3Rpb25PYnNlcnZlZURpcmVjdGl2ZSxcclxuICAgICAgICBJbnRlcnNlY3Rpb25Sb290RGlyZWN0aXZlLFxyXG4gICAgXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEludGVyc2VjdGlvbk9ic2VydmVyTW9kdWxlIHt9XHJcbiJdfQ==
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* Generated bundle index. Do not edit.
*/
export { IntersectionObserveeDirective, IntersectionObserverDirective, IntersectionRootDirective, IntersectionObserverModule, IntersectionObserveeService, IntersectionObserverService, INTERSECTION_ROOT, INTERSECTION_ROOT_MARGIN_DEFAULT, INTERSECTION_ROOT_MARGIN, INTERSECTION_THRESHOLD_DEFAULT, INTERSECTION_THRESHOLD, INTERSECTION_OBSERVER_SUPPORT } from './public-api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctd2ViLWFwaXMtaW50ZXJzZWN0aW9uLW9ic2VydmVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5nLXdlYi1hcGlzL2ludGVyc2VjdGlvbi1vYnNlcnZlci8iLCJzb3VyY2VzIjpbIm5nLXdlYi1hcGlzLWludGVyc2VjdGlvbi1vYnNlcnZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsb1dBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
export * from './public-api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctd2ViLWFwaXMtaW50ZXJzZWN0aW9uLW9ic2VydmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvaW50ZXJzZWN0aW9uLW9ic2VydmVyL3NyYy9uZy13ZWItYXBpcy1pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* Public API Surface of @ng-web-apis/intersection-observer
*/
/* Directives */
export { IntersectionObserveeDirective } from './directives/intersection-observee.directive';
export { IntersectionObserverDirective } from './directives/intersection-observer.directive';
export { IntersectionRootDirective } from './directives/intersection-root.directive';
export * from './directives/intersection-observee.directive';
export * from './directives/intersection-observer.directive';
export * from './directives/intersection-root.directive';
/* Modules */
export { IntersectionObserverModule } from './module';
export * from './module';
/* Services */
export { IntersectionObserveeService } from './services/intersection-observee.service';
export { IntersectionObserverService } from './services/intersection-observer.service';
export * from './services/intersection-observee.service';
export * from './services/intersection-observer.service';
/* Tokens */
export { INTERSECTION_ROOT } from './tokens/intersection-root';
export { INTERSECTION_ROOT_MARGIN_DEFAULT, INTERSECTION_ROOT_MARGIN } from './tokens/intersection-root-margin';
export { INTERSECTION_THRESHOLD_DEFAULT, INTERSECTION_THRESHOLD } from './tokens/intersection-threshold';
export { INTERSECTION_OBSERVER_SUPPORT } from './tokens/support';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZy13ZWItYXBpcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBS0EsOENBQWMsOENBQThDLENBQUM7QUFDN0QsOENBQWMsOENBQThDLENBQUM7QUFDN0QsMENBQWMsMENBQTBDLENBQUM7O0FBR3pELDJDQUFjLFVBQVUsQ0FBQzs7QUFHekIsNENBQWMsMENBQTBDLENBQUM7QUFDekQsNENBQWMsMENBQTBDLENBQUM7O0FBR3pELGtDQUFjLDRCQUE0QixDQUFDO0FBQzNDLDJFQUFjLG1DQUFtQyxDQUFDO0FBQ2xELHVFQUFjLGlDQUFpQyxDQUFDO0FBQ2hELDhDQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXHJcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBAbmctd2ViLWFwaXMvaW50ZXJzZWN0aW9uLW9ic2VydmVyXHJcbiAqL1xyXG5cclxuLyogRGlyZWN0aXZlcyAqL1xyXG5leHBvcnQgKiBmcm9tICcuL2RpcmVjdGl2ZXMvaW50ZXJzZWN0aW9uLW9ic2VydmVlLmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZGlyZWN0aXZlcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIuZGlyZWN0aXZlJztcclxuZXhwb3J0ICogZnJvbSAnLi9kaXJlY3RpdmVzL2ludGVyc2VjdGlvbi1yb290LmRpcmVjdGl2ZSc7XHJcblxyXG4vKiBNb2R1bGVzICovXHJcbmV4cG9ydCAqIGZyb20gJy4vbW9kdWxlJztcclxuXHJcbi8qIFNlcnZpY2VzICovXHJcbmV4cG9ydCAqIGZyb20gJy4vc2VydmljZXMvaW50ZXJzZWN0aW9uLW9ic2VydmVlLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2VzL2ludGVyc2VjdGlvbi1vYnNlcnZlci5zZXJ2aWNlJztcclxuXHJcbi8qIFRva2VucyAqL1xyXG5leHBvcnQgKiBmcm9tICcuL3Rva2Vucy9pbnRlcnNlY3Rpb24tcm9vdCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdG9rZW5zL2ludGVyc2VjdGlvbi1yb290LW1hcmdpbic7XHJcbmV4cG9ydCAqIGZyb20gJy4vdG9rZW5zL2ludGVyc2VjdGlvbi10aHJlc2hvbGQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3Rva2Vucy9zdXBwb3J0JztcclxuIl19
export * from './tokens/intersection-root';
export * from './tokens/intersection-root-margin';
export * from './tokens/intersection-threshold';
export * from './tokens/support';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2ludGVyc2VjdGlvbi1vYnNlcnZlci9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGdCQUFnQjtBQUNoQixjQUFjLDhDQUE4QyxDQUFDO0FBQzdELGNBQWMsOENBQThDLENBQUM7QUFDN0QsY0FBY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uL3Rva2Vucy9pbnRlcnNlY3Rpb24tcm9vdC1tYXJnaW4nO1xyXG5leHBvcnQgKiBmcm9tICcuL3Rva2Vucy9pbnRlcnNlY3Rpb24tdGhyZXNob2xkJztcclxuZXhwb3J0ICogZnJvbSAnLi90b2tlbnMvc3VwcG9ydCc7XHJcbiJdfQ==

@@ -1,5 +0,1 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { ElementRef, Inject, Injectable } from '@angular/core';

@@ -9,7 +5,5 @@ import { Observable } from 'rxjs';

import { IntersectionObserverDirective } from '../directives/intersection-observer.directive';
import * as i0 from "@angular/core";
import * as i1 from "../directives/intersection-observer.directive";
export class IntersectionObserveeService extends Observable {
/**
* @param {?} __0
* @param {?} observer
*/
constructor({ nativeElement }, observer) {

@@ -27,10 +21,13 @@ super(subscriber => {

}
IntersectionObserveeService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
IntersectionObserveeService.ctorParameters = () => [
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
{ type: IntersectionObserverDirective, decorators: [{ type: Inject, args: [IntersectionObserverDirective,] }] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLW9ic2VydmVlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmctd2ViLWFwaXMvaW50ZXJzZWN0aW9uLW9ic2VydmVyLyIsInNvdXJjZXMiOlsic2VydmljZXMvaW50ZXJzZWN0aW9uLW9ic2VydmVlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQ2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mRpcmVjdGl2ZSc7XHJcblxyXG5ASW5qZWN0YWJsZSgpXHJcbmV4cG9ydCBjbGFzcyBJbnRlcnNlY3Rpb25PYnNlcnZlZVNlcnZpY2UgZXh0ZW5kcyBPYnNlcnZhYmxlPEludGVyc2VjdGlvbk9ic2VydmVyRW50cnlbXT4ge1xyXG4gICAgY29uc3RydWN0b3IoXHJcbiAgICAgICAgQEluamVjdChFbGVtZW50UmVmKSB7bmF0aXZlRWxlbWVudH06IEVsZW1lbnRSZWY8RWxlbWVudD4sXHJcbiAgICAgICAgQEluamVjdChJbnRlcnNlY3Rpb25PYnNlcnZlckRpcmVjdGl2ZSlcclxuICAgICAgICBvYnNlcnZlcjogSW50ZXJzZWN0aW9uT2JzZXJ2ZXJEaXJlY3RpdmUsXHJcbiAgICApIHtcclxuICAgICAgICBzdXBlcihzdWJzY3JpYmVyID0+IHtcclxuICAgICAgICAgICAgb2JzZXJ2ZXIub2JzZXJ2ZShuYXRpdmVFbGVtZW50LCBlbnRyaWVzID0+IHtcclxuICAgICAgICAgICAgICAgIHN1YnNjcmliZXIubmV4dChlbnRyaWVzKTtcclxuICAgICAgICAgICAgfSk7XHJcblxyXG4gICAgICAgICAgICByZXR1cm4gKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgb2JzZXJ2ZXIudW5vYnNlcnZlKG5hdGl2ZUVsZW1lbnQpO1xyXG4gICAgICAgICAgICB9O1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICByZXR1cm4gdGhpcy5waXBlKHNoYXJlKCkpO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
/** @nocollapse */ IntersectionObserveeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeService, deps: [{ token: ElementRef }, { token: IntersectionObserverDirective }], target: i0.ɵɵFactoryTarget.Injectable });
/** @nocollapse */ IntersectionObserveeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeService });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeService, decorators: [{
type: Injectable
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
type: Inject,
args: [ElementRef]
}] }, { type: i1.IntersectionObserverDirective, decorators: [{
type: Inject,
args: [IntersectionObserverDirective]
}] }]; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLW9ic2VydmVlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIvc3JjL3NlcnZpY2VzL2ludGVyc2VjdGlvbi1vYnNlcnZlZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQ2hDLE9BQU8sRUFBQyxLQUFLLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyQyxPQUFPLEVBQUMsNkJBQTZCLEVBQUMsTUFBTSwrQ0FBK0MsQ0FBQzs7O0FBRzVGLE1BQU0sT0FBTywyQkFBNEIsU0FBUSxVQUF1QztJQUNwRixZQUN3QixFQUFDLGFBQWEsRUFBc0IsRUFFeEQsUUFBdUM7UUFFdkMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxFQUFFO1lBQ2YsUUFBUSxDQUFDLE9BQU8sQ0FBQyxhQUFhLEVBQUUsT0FBTyxDQUFDLEVBQUU7Z0JBQ3RDLFVBQVUsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLENBQUM7WUFDN0I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RpcmVjdGl2ZSlcclxuICAgICAgICBvYnNlcnZlcjogSW50ZXJzZWN0aW9uT2JzZXJ2ZXJEaXJlY3RpdmUsXHJcbiAgICApIHtcclxuICAgICAgICBzdXBlcihzdWJzY3JpYmVyID0+IHtcclxuICAgICAgICAgICAgb2JzZXJ2ZXIub2JzZXJ2ZShuYXRpdmVFbGVtZW50LCBlbnRyaWVzID0+IHtcclxuICAgICAgICAgICAgICAgIHN1YnNjcmliZXIubmV4dChlbnRyaWVzKTtcclxuICAgICAgICAgICAgfSk7XHJcblxyXG4gICAgICAgICAgICByZXR1cm4gKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgb2JzZXJ2ZXIudW5vYnNlcnZlKG5hdGl2ZUVsZW1lbnQpO1xyXG4gICAgICAgICAgICB9O1xyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICByZXR1cm4gdGhpcy5waXBlKHNoYXJlKCkpO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==

@@ -1,5 +0,1 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { ElementRef, Inject, Injectable, Optional } from '@angular/core';

@@ -12,10 +8,4 @@ import { Observable } from 'rxjs';

import { INTERSECTION_OBSERVER_SUPPORT } from '../tokens/support';
import * as i0 from "@angular/core";
export class IntersectionObserverService extends Observable {
/**
* @param {?} __0
* @param {?} support
* @param {?} rootMargin
* @param {?} threshold
* @param {?} root
*/
constructor({ nativeElement }, support, rootMargin, threshold, root) {

@@ -27,3 +17,2 @@ super(subscriber => {

}
/** @type {?} */
const observer = new IntersectionObserver(entries => {

@@ -44,13 +33,24 @@ subscriber.next(entries);

}
IntersectionObserverService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
IntersectionObserverService.ctorParameters = () => [
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
{ type: Boolean, decorators: [{ type: Inject, args: [INTERSECTION_OBSERVER_SUPPORT,] }] },
{ type: String, decorators: [{ type: Inject, args: [INTERSECTION_ROOT_MARGIN,] }] },
{ type: undefined, decorators: [{ type: Inject, args: [INTERSECTION_THRESHOLD,] }] },
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [INTERSECTION_ROOT,] }] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLW9ic2VydmVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmctd2ViLWFwaXMvaW50ZXJzZWN0aW9uLW9ic2VydmVyLyIsInNvdXJjZXMiOlsic2VydmljZXMvaW50ZXJzZWN0aW9uLW9ic2VydmVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkUsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUNoQyxPQUFPLEVBQUMsS0FBSyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDckMsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sNkJBQTZCLENBQUM7QUFDOUQsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sb0NBQW9DLENBQUM7QUFDNUUsT0FBTyxFQUFDLHNCQUFzQixFQUFDLE1BQU0sa0NBQWtDLENBQUM7QUFDeEUsT0FBTyxFQUFDLDZCQUE2QixFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFHaEUsTUFBTSxPQUFPLDJCQUE0QixTQUFRLFVBQXVDOzs7Ozs7OztJQUNwRixZQUN3QixFQUFDLGFBQWEsRUFBc0IsRUFDakIsT0FBZ0IsRUFDckIsVUFBa0IsRUFDcEIsU0FBNEIsRUFDckIsSUFBZ0M7UUFFdkUsS0FBSyxDQUFDLFV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3Vic2NyaWJlciA9PiB7XHJcbiAgICAgICAgICAgIGlmICghc3VwcG9ydCkge1xyXG4gICAgICAgICAgICAgICAgc3Vic2NyaWJlci5lcnJvcignSW50ZXJzZWN0aW9uT2JzZXJ2ZXIgaXMgbm90IHN1cHBvcnRlZCBpbiB5b3VyIGJyb3dzZXInKTtcclxuXHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGNvbnN0IG9ic2VydmVyID0gbmV3IEludGVyc2VjdGlvbk9ic2VydmVyKFxyXG4gICAgICAgICAgICAgICAgZW50cmllcyA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgc3Vic2NyaWJlci5uZXh0KGVudHJpZXMpO1xyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgICAgICByb290OiByb290ICYmIHJvb3QubmF0aXZlRWxlbWVudCxcclxuICAgICAgICAgICAgICAgICAgICByb290TWFyZ2luLFxyXG4gICAgICAgICAgICAgICAgICAgIHRocmVzaG9sZCxcclxuICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICk7XHJcblxyXG4gICAgICAgICAgICBvYnNlcnZlci5vYnNlcnZlKG5hdGl2ZUVsZW1lbnQpO1xyXG5cclxuICAgICAgICAgICAgcmV0dXJuICgpID0+IHtcclxuICAgICAgICAgICAgICAgIG9ic2VydmVyLmRpc2Nvbm5lY3QoKTtcclxuICAgICAgICAgICAgfTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgcmV0dXJuIHRoaXMucGlwZShzaGFyZSgpKTtcclxuICAgIH1cclxufVxyXG4iXX0=
/** @nocollapse */ IntersectionObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverService, deps: [{ token: ElementRef }, { token: INTERSECTION_OBSERVER_SUPPORT }, { token: INTERSECTION_ROOT_MARGIN }, { token: INTERSECTION_THRESHOLD }, { token: INTERSECTION_ROOT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
/** @nocollapse */ IntersectionObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverService });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverService, decorators: [{
type: Injectable
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
type: Inject,
args: [ElementRef]
}] }, { type: undefined, decorators: [{
type: Inject,
args: [INTERSECTION_OBSERVER_SUPPORT]
}] }, { type: undefined, decorators: [{
type: Inject,
args: [INTERSECTION_ROOT_MARGIN]
}] }, { type: undefined, decorators: [{
type: Inject,
args: [INTERSECTION_THRESHOLD]
}] }, { type: i0.ElementRef, decorators: [{
type: Optional
}, {
type: Inject,
args: [INTERSECTION_ROOT]
}] }]; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLW9ic2VydmVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIvc3JjL3NlcnZpY2VzL2ludGVyc2VjdGlvbi1vYnNlcnZlci5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkUsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUNoQyxPQUFPLEVBQUMsS0FBSyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDckMsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sNkJBQTZC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dHJ1Y3RvcihcclxuICAgICAgICBASW5qZWN0KEVsZW1lbnRSZWYpIHtuYXRpdmVFbGVtZW50fTogRWxlbWVudFJlZjxFbGVtZW50PixcclxuICAgICAgICBASW5qZWN0KElOVEVSU0VDVElPTl9PQlNFUlZFUl9TVVBQT1JUKSBzdXBwb3J0OiBib29sZWFuLFxyXG4gICAgICAgIEBJbmplY3QoSU5URVJTRUNUSU9OX1JPT1RfTUFSR0lOKSByb290TWFyZ2luOiBzdHJpbmcsXHJcbiAgICAgICAgQEluamVjdChJTlRFUlNFQ1RJT05fVEhSRVNIT0xEKSB0aHJlc2hvbGQ6IG51bWJlciB8IG51bWJlcltdLFxyXG4gICAgICAgIEBPcHRpb25hbCgpIEBJbmplY3QoSU5URVJTRUNUSU9OX1JPT1QpIHJvb3Q6IEVsZW1lbnRSZWY8RWxlbWVudD4gfCBudWxsLFxyXG4gICAgKSB7XHJcbiAgICAgICAgc3VwZXIoc3Vic2NyaWJlciA9PiB7XHJcbiAgICAgICAgICAgIGlmICghc3VwcG9ydCkge1xyXG4gICAgICAgICAgICAgICAgc3Vic2NyaWJlci5lcnJvcignSW50ZXJzZWN0aW9uT2JzZXJ2ZXIgaXMgbm90IHN1cHBvcnRlZCBpbiB5b3VyIGJyb3dzZXInKTtcclxuXHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGNvbnN0IG9ic2VydmVyID0gbmV3IEludGVyc2VjdGlvbk9ic2VydmVyKFxyXG4gICAgICAgICAgICAgICAgZW50cmllcyA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgc3Vic2NyaWJlci5uZXh0KGVudHJpZXMpO1xyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgICAgICByb290OiByb290ICYmIHJvb3QubmF0aXZlRWxlbWVudCxcclxuICAgICAgICAgICAgICAgICAgICByb290TWFyZ2luLFxyXG4gICAgICAgICAgICAgICAgICAgIHRocmVzaG9sZCxcclxuICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICk7XHJcblxyXG4gICAgICAgICAgICBvYnNlcnZlci5vYnNlcnZlKG5hdGl2ZUVsZW1lbnQpO1xyXG5cclxuICAgICAgICAgICAgcmV0dXJuICgpID0+IHtcclxuICAgICAgICAgICAgICAgIG9ic2VydmVyLmRpc2Nvbm5lY3QoKTtcclxuICAgICAgICAgICAgfTtcclxuICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgcmV0dXJuIHRoaXMucGlwZShzaGFyZSgpKTtcclxuICAgIH1cclxufVxyXG4iXX0=

@@ -1,9 +0,3 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { InjectionToken } from '@angular/core';
/** @type {?} */
export const INTERSECTION_ROOT_MARGIN_DEFAULT = '0px 0px 0px 0px';
/** @type {?} */
export const INTERSECTION_ROOT_MARGIN = new InjectionToken('rootMargin for IntersectionObserver', {

@@ -13,2 +7,2 @@ providedIn: 'root',

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLXJvb3QtbWFyZ2luLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5nLXdlYi1hcGlzL2ludGVyc2VjdGlvbi1vYnNlcnZlci8iLCJzb3VyY2VzIjpbInRva2Vucy9pbnRlcnNlY3Rpb24tcm9vdC1tYXJnaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBRTdDLE1BQU0sT0FBTyxnQ0FBZ0MsR0FBRyxpQkFBaUI7O0FBQ2pFLE1BQU0sT0FBTyx3QkFBd0IsR0FBRyxJQUFJLGNBQWMsQ0FDdEQscUNBQXFDLEVBQ3JDO0lBQ0ksVUF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UFBRSxNQUFNO0lBQ2xCLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQyxnQ0FBZ0M7Q0FDbEQsQ0FDSixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtJbmplY3Rpb25Ub2tlbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5leHBvcnQgY29uc3QgSU5URVJTRUNUSU9OX1JPT1RfTUFSR0lOX0RFRkFVTFQgPSAnMHB4IDBweCAwcHggMHB4JztcclxuZXhwb3J0IGNvbnN0IElOVEVSU0VDVElPTl9ST09UX01BUkdJTiA9IG5ldyBJbmplY3Rpb25Ub2tlbjxzdHJpbmc+KFxyXG4gICAgJ3Jvb3RNYXJnaW4gZm9yIEludGVyc2VjdGlvbk9ic2VydmVyJyxcclxuICAgIHtcclxuICAgICAgICBwcm92aWRlZEluOiAncm9vdCcsXHJcbiAgICAgICAgZmFjdG9yeTogKCkgPT4gSU5URVJTRUNUSU9OX1JPT1RfTUFSR0lOX0RFRkFVTFQsXHJcbiAgICB9LFxyXG4pO1xyXG4iXX0=

@@ -1,8 +0,3 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { InjectionToken } from '@angular/core';
/** @type {?} */
export const INTERSECTION_ROOT = new InjectionToken('Root element for IntersectionObserver');
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLXJvb3QuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmctd2ViLWFwaXMvaW50ZXJzZWN0aW9uLW9ic2VydmVyLyIsInNvdXJjZXMiOlsidG9rZW5zL2ludGVyc2VjdGlvbi1yb290LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQWEsY0FBYyxFQUFDLE1BQU0sZUFBZSxDQUFDOztBQUV6RCxNQUFNLE9BQU8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added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { InjectionToken } from '@angular/core';
/** @type {?} */
export const INTERSECTION_THRESHOLD_DEFAULT = 0;
/** @type {?} */
export const INTERSECTION_THRESHOLD = new InjectionToken('threshold for IntersectionObserver', {

@@ -13,2 +7,2 @@ providedIn: 'root',

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJzZWN0aW9uLXRocmVzaG9sZC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZy13ZWItYXBpcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIvIiwic291cmNlcyI6WyJ0b2tlbnMvaW50ZXJzZWN0aW9uLXRocmVzaG9sZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFFN0MsTUFBTSxPQUFPLDhCQUE4QixHQUFHLENBQUM7O0FBQy9DLE1BQU0sT0FBTyxzQkFBc0IsR0FBRyxJQUFJLGNBQWMsQ0FDcEQsb0NBQW9DLEVBQ3BDO0lBQ0ksVUFBVSxFQUFFLE1BQU07SUFDbEIsT0FBTyxFQUFFLEdBQUcsRUFBRSxDQUFDLDhCQUE4QjtDQUNoRCxDQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtJbmplY3Rpb25Ub2tlbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5leHBvcnQgY29uc3QgSU5URVJTRUNUSU9OX1RIUkVTSE9MRF9ERUZBVUxUID0gMDtcclxuZXhwb3J0IGNvbnN0IElOVEVSU0VDVElPTl9USFJFU0hPTEQgPSBuZXcgSW5qZWN0aW9uVG9rZW48bnVtYmVyIHwgbnVtYmVyW10+KFxyXG4gICAgJ3RocmVzaG9sZCBmb3IgSW50ZXJzZWN0aW9uT2JzZXJ2ZX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XG4gICAgICAgIHByb3ZpZGVkSW46ICdyb290JyxcclxuICAgICAgICBmYWN0b3J5OiAoKSA9PiBJTlRFUlNFQ1RJT05fVEhSRVNIT0xEX0RFRkFVTFQsXHJcbiAgICB9LFxyXG4pO1xyXG4iXX0=

@@ -1,8 +0,3 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { inject, InjectionToken } from '@angular/core';
import { WINDOW } from '@ng-web-apis/common';
/** @type {?} */
export const INTERSECTION_OBSERVER_SUPPORT = new InjectionToken('Intersection Observer API support', {

@@ -12,2 +7,2 @@ providedIn: 'root',

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VwcG9ydC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZy13ZWItYXBpcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIvIiwic291cmNlcyI6WyJ0b2tlbnMvc3VwcG9ydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFDLE1BQU0sRUFBRSxjQUFjLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDckQsT0FBTyxFQUFDLE1BQU0sRUFBQyxNQUFNLHFCQUFxQixDQUFDOztBQVMzQyxNQUFNLE9BQU8sNkJBQTZCLEdBQUcsSUFBSSxjQUFjLENBQzNELG1DQUFtQyxFQUNuQztJQUNJLFVBQVUsRUFBRSxNQUFNO0lBQ2xCLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDLG9CQUFvQjtDQUN2RCxDQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtpbmplY3QsIEluamVjdGlvblRva2VufSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHtXSU5ET1d9IGZyb20gJ0BuZy13ZWItY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xDQUFFLE1BQU0sQ0FBQyxNQUFNLENBQVMsQ0FBQyxvQkFBb0I7Q0FDaEUsQ0FDSixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtpbmplY3QsIEluamVjdGlvblRva2VufSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHtXSU5ET1d9IGZyb20gJ0BuZy13ZWItYXBpcy9jb21tb24nO1xyXG5cclxuZXhwb3J0IGNvbnN0IElOVEVSU0VDVElPTl9PQlNFUlZFUl9TVVBQT1JUID0gbmV3IEluamVjdGlvblRva2VuPGJvb2xlYW4+KFxyXG4gICAgJ0ludGVyc2VjdGlvbiBPYnNlcnZlciBBUEkgc3VwcG9ydCcsXHJcbiAgICB7XHJcbiAgICAgICAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxyXG4gICAgICAgIGZhY3Rvcnk6ICgpID0+ICEhKGluamVjdChXSU5ET1cpIGFzIGFueSkuSW50ZXJzZWN0aW9uT2JzZXJ2ZXIsXHJcbiAgICB9LFxyXG4pO1xyXG4iXX0=

@@ -1,13 +0,5 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { INTERSECTION_ROOT_MARGIN_DEFAULT } from '../tokens/intersection-root-margin';
/**
* @param {?} rootMargin
* @return {?}
*/
export function rootMarginFactory(rootMargin) {
return rootMargin || INTERSECTION_ROOT_MARGIN_DEFAULT;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vdC1tYXJnaW4tZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZy13ZWItYXBpcy9pbnRlcnNlY3Rpb24tb2JzZXJ2ZXIvIiwic291cmNlcyI6WyJ1dGlscy9yb290LW1hcmdpbi1mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUMsZ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1bmN0aW9uIHJvb3RNYXJnaW5GYWN0b3J5KHJvb3RNYXJnaW46IHN0cmluZyB8IG51bGwpOiBzdHJpbmcge1xyXG4gICAgcmV0dXJuIHJvb3RNYXJnaW4gfHwgSU5URVJTRUNUSU9OX1JPT1RfTUFSR0lOX0RFRkFVTFQ7XHJcbn1cclxuIl19

@@ -1,15 +0,5 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { INTERSECTION_THRESHOLD_DEFAULT } from '../tokens/intersection-threshold';
/**
* @param {?} threshold
* @return {?}
*/
export function thresholdFactory(threshold) {
return threshold
? threshold.split(',').map(parseFloat)
: INTERSECTION_THRESHOLD_DEFAULT;
return (threshold === null || threshold === void 0 ? void 0 : threshold.split(',').map(parseFloat)) || INTERSECTION_THRESHOLD_DEFAULT;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhyZXNob2xkLWZhY3RvcnkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmctd2ViLWFwaXMvaW50ZXJzZWN0aW9uLW9ic2VydmVyLyIsInNvdXJjZXMiOlsidXRpbHMvdGhyZXNob2xkLWZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyw4QkFBOEIsRUFBQyxNQUFNLGtDQUFrQyxDQUFDOzs7OztBQUVoRixNQUFNLFVBQVUsZ0JBQWdCLENBQUMsU0FBd0I7SUFDckQsT0FBTyxTQUFTO1FBQ1osQ0FBQyxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQztRQUN0QyxDQUFDLENBQUMsOEJBQThCLENBQUM7QUFDekMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7SU5URVJTRUNUSU9OX1RIUkVTSE9MRF9ERUZB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udWxsKTogbnVtYmVyIHwgbnVtYmVyW10ge1xyXG4gICAgcmV0dXJuIHRocmVzaG9sZD8uc3BsaXQoJywnKS5tYXAocGFyc2VGbG9hdCkgfHwgSU5URVJTRUNUSU9OX1RIUkVTSE9MRF9ERUZBVUxUO1xyXG59XHJcbiJdfQ==

@@ -0,20 +1,11 @@

import * as i0 from '@angular/core';
import { InjectionToken, Directive, Optional, Inject, Attribute, ElementRef, Injectable, NgModule, inject } from '@angular/core';
import * as i1 from 'rxjs';
import { Observable } from 'rxjs';
import { share } from 'rxjs/operators';
import { InjectionToken, Attribute, Directive, Inject, Optional, ElementRef, Injectable, NgModule, inject } from '@angular/core';
import { WINDOW } from '@ng-web-apis/common';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
const INTERSECTION_ROOT = new InjectionToken('Root element for IntersectionObserver');
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
const INTERSECTION_ROOT_MARGIN_DEFAULT = '0px 0px 0px 0px';
/** @type {?} */
const INTERSECTION_ROOT_MARGIN = new InjectionToken('rootMargin for IntersectionObserver', {

@@ -25,10 +16,2 @@ providedIn: 'root',

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @param {?} rootMargin
* @return {?}
*/
function rootMarginFactory(rootMargin) {

@@ -38,9 +21,3 @@ return rootMargin || INTERSECTION_ROOT_MARGIN_DEFAULT;

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
const INTERSECTION_THRESHOLD_DEFAULT = 0;
/** @type {?} */
const INTERSECTION_THRESHOLD = new InjectionToken('threshold for IntersectionObserver', {

@@ -51,30 +28,10 @@ providedIn: 'root',

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @param {?} threshold
* @return {?}
*/
function thresholdFactory(threshold) {
return threshold
? threshold.split(',').map(parseFloat)
: INTERSECTION_THRESHOLD_DEFAULT;
return (threshold === null || threshold === void 0 ? void 0 : threshold.split(',').map(parseFloat)) || INTERSECTION_THRESHOLD_DEFAULT;
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class IntersectionObserverDirective extends IntersectionObserver {
/**
* @param {?} root
* @param {?} rootMargin
* @param {?} threshold
*/
constructor(root, rootMargin, threshold) {
super(entries => {
this.callbacks.forEach((callback, element) => {
/** @type {?} */
const filtered = entries.filter(({ target }) => target === element);

@@ -90,7 +47,2 @@ return filtered.length && callback(filtered, this);

}
/**
* @param {?} target
* @param {?=} callback
* @return {?}
*/
observe(target, callback = () => { }) {

@@ -100,6 +52,2 @@ super.observe(target);

}
/**
* @param {?} target
* @return {?}
*/
unobserve(target) {

@@ -109,5 +57,2 @@ super.unobserve(target);

}
/**
* @return {?}
*/
ngOnDestroy() {

@@ -117,24 +62,24 @@ this.disconnect();

}
IntersectionObserverDirective.decorators = [
{ type: Directive, args: [{
selector: '[waIntersectionObserver]',
exportAs: 'IntersectionObserver',
},] }
];
/** @nocollapse */
IntersectionObserverDirective.ctorParameters = () => [
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [INTERSECTION_ROOT,] }] },
{ type: undefined, decorators: [{ type: Attribute, args: ['waIntersectionRootMargin',] }] },
{ type: undefined, decorators: [{ type: Attribute, args: ['waIntersectionThreshold',] }] }
];
/** @nocollapse */ IntersectionObserverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverDirective, deps: [{ token: INTERSECTION_ROOT, optional: true }, { token: 'waIntersectionRootMargin', attribute: true }, { token: 'waIntersectionThreshold', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionObserverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionObserverDirective, selector: "[waIntersectionObserver]", exportAs: ["IntersectionObserver"], usesInheritance: true, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverDirective, decorators: [{
type: Directive,
args: [{
selector: '[waIntersectionObserver]',
exportAs: 'IntersectionObserver',
}]
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
type: Optional
}, {
type: Inject,
args: [INTERSECTION_ROOT]
}] }, { type: undefined, decorators: [{
type: Attribute,
args: ['waIntersectionRootMargin']
}] }, { type: undefined, decorators: [{
type: Attribute,
args: ['waIntersectionThreshold']
}] }]; } });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class IntersectionObserveeService extends Observable {
/**
* @param {?} __0
* @param {?} observer
*/
constructor({ nativeElement }, observer) {

@@ -152,20 +97,15 @@ super(subscriber => {

}
IntersectionObserveeService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
IntersectionObserveeService.ctorParameters = () => [
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
{ type: IntersectionObserverDirective, decorators: [{ type: Inject, args: [IntersectionObserverDirective,] }] }
];
/** @nocollapse */ IntersectionObserveeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeService, deps: [{ token: ElementRef }, { token: IntersectionObserverDirective }], target: i0.ɵɵFactoryTarget.Injectable });
/** @nocollapse */ IntersectionObserveeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeService });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeService, decorators: [{
type: Injectable
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
type: Inject,
args: [ElementRef]
}] }, { type: IntersectionObserverDirective, decorators: [{
type: Inject,
args: [IntersectionObserverDirective]
}] }]; } });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
// @dynamic
class IntersectionObserveeDirective {
/**
* @param {?} waIntersectionObservee
*/
constructor(waIntersectionObservee) {

@@ -175,58 +115,63 @@ this.waIntersectionObservee = waIntersectionObservee;

}
IntersectionObserveeDirective.decorators = [
{ type: Directive, args: [{
selector: '[waIntersectionObservee]',
outputs: ['waIntersectionObservee'],
providers: [IntersectionObserveeService],
},] }
];
/** @nocollapse */
IntersectionObserveeDirective.ctorParameters = () => [
{ type: Observable, decorators: [{ type: Inject, args: [IntersectionObserveeService,] }] }
];
/** @nocollapse */ IntersectionObserveeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeDirective, deps: [{ token: IntersectionObserveeService }], target: i0.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionObserveeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionObserveeDirective, selector: "[waIntersectionObservee]", outputs: { waIntersectionObservee: "waIntersectionObservee" }, providers: [IntersectionObserveeService], ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserveeDirective, decorators: [{
type: Directive,
args: [{
selector: '[waIntersectionObservee]',
outputs: ['waIntersectionObservee'],
providers: [IntersectionObserveeService],
}]
}], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
type: Inject,
args: [IntersectionObserveeService]
}] }]; } });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class IntersectionRootDirective {
}
IntersectionRootDirective.decorators = [
{ type: Directive, args: [{
selector: '[waIntersectionRoot]',
providers: [
{
provide: INTERSECTION_ROOT,
useExisting: ElementRef,
},
],
},] }
];
/** @nocollapse */ IntersectionRootDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
/** @nocollapse */ IntersectionRootDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IntersectionRootDirective, selector: "[waIntersectionRoot]", providers: [
{
provide: INTERSECTION_ROOT,
useExisting: ElementRef,
},
], ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionRootDirective, decorators: [{
type: Directive,
args: [{
selector: '[waIntersectionRoot]',
providers: [
{
provide: INTERSECTION_ROOT,
useExisting: ElementRef,
},
],
}]
}] });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class IntersectionObserverModule {
}
IntersectionObserverModule.decorators = [
{ type: NgModule, args: [{
declarations: [
IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective,
],
exports: [
IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective,
],
},] }
];
/** @nocollapse */ IntersectionObserverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ IntersectionObserverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverModule, declarations: [IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective], exports: [IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective] });
/** @nocollapse */ IntersectionObserverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverModule });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverModule, decorators: [{
type: NgModule,
args: [{
declarations: [
IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective,
],
exports: [
IntersectionObserverDirective,
IntersectionObserveeDirective,
IntersectionRootDirective,
],
}]
}] });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/** @type {?} */
const INTERSECTION_OBSERVER_SUPPORT = new InjectionToken('Intersection Observer API support', {

@@ -237,14 +182,3 @@ providedIn: 'root',

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class IntersectionObserverService extends Observable {
/**
* @param {?} __0
* @param {?} support
* @param {?} rootMargin
* @param {?} threshold
* @param {?} root
*/
constructor({ nativeElement }, support, rootMargin, threshold, root) {

@@ -256,3 +190,2 @@ super(subscriber => {

}
/** @type {?} */
const observer = new IntersectionObserver(entries => {

@@ -273,26 +206,34 @@ subscriber.next(entries);

}
IntersectionObserverService.decorators = [
{ type: Injectable }
];
/** @nocollapse */
IntersectionObserverService.ctorParameters = () => [
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
{ type: Boolean, decorators: [{ type: Inject, args: [INTERSECTION_OBSERVER_SUPPORT,] }] },
{ type: String, decorators: [{ type: Inject, args: [INTERSECTION_ROOT_MARGIN,] }] },
{ type: undefined, decorators: [{ type: Inject, args: [INTERSECTION_THRESHOLD,] }] },
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [INTERSECTION_ROOT,] }] }
];
/** @nocollapse */ IntersectionObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverService, deps: [{ token: ElementRef }, { token: INTERSECTION_OBSERVER_SUPPORT }, { token: INTERSECTION_ROOT_MARGIN }, { token: INTERSECTION_THRESHOLD }, { token: INTERSECTION_ROOT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
/** @nocollapse */ IntersectionObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverService });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IntersectionObserverService, decorators: [{
type: Injectable
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
type: Inject,
args: [ElementRef]
}] }, { type: undefined, decorators: [{
type: Inject,
args: [INTERSECTION_OBSERVER_SUPPORT]
}] }, { type: undefined, decorators: [{
type: Inject,
args: [INTERSECTION_ROOT_MARGIN]
}] }, { type: undefined, decorators: [{
type: Inject,
args: [INTERSECTION_THRESHOLD]
}] }, { type: i0.ElementRef, decorators: [{
type: Optional
}, {
type: Inject,
args: [INTERSECTION_ROOT]
}] }]; } });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* Public API Surface of @ng-web-apis/intersection-observer
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* Generated bundle index. Do not edit.
*/
export { IntersectionObserveeDirective, IntersectionObserverDirective, IntersectionRootDirective, IntersectionObserverModule, IntersectionObserveeService, IntersectionObserverService, INTERSECTION_ROOT, INTERSECTION_ROOT_MARGIN_DEFAULT, INTERSECTION_ROOT_MARGIN, INTERSECTION_THRESHOLD_DEFAULT, INTERSECTION_THRESHOLD, INTERSECTION_OBSERVER_SUPPORT };
//# sourceMappingURL=ng-web-apis-intersection-observer.js.map
export { INTERSECTION_OBSERVER_SUPPORT, INTERSECTION_ROOT, INTERSECTION_ROOT_MARGIN, INTERSECTION_ROOT_MARGIN_DEFAULT, INTERSECTION_THRESHOLD, INTERSECTION_THRESHOLD_DEFAULT, IntersectionObserveeDirective, IntersectionObserveeService, IntersectionObserverDirective, IntersectionObserverModule, IntersectionObserverService, IntersectionRootDirective };
//# sourceMappingURL=ng-web-apis-intersection-observer.js.map

@@ -0,2 +1,9 @@

import * as i0 from "@angular/core";
import * as i1 from "./directives/intersection-observer.directive";
import * as i2 from "./directives/intersection-observee.directive";
import * as i3 from "./directives/intersection-root.directive";
export declare class IntersectionObserverModule {
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionObserverModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<IntersectionObserverModule, [typeof i1.IntersectionObserverDirective, typeof i2.IntersectionObserveeDirective, typeof i3.IntersectionRootDirective], never, [typeof i1.IntersectionObserverDirective, typeof i2.IntersectionObserveeDirective, typeof i3.IntersectionRootDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<IntersectionObserverModule>;
}
/**
* Generated bundle index. Do not edit.
*/
/// <amd-module name="@ng-web-apis/intersection-observer" />
export * from './public-api';
{
"name": "@ng-web-apis/intersection-observer",
"version": "2.1.0",
"peerDependencies": {
"@angular/core": ">=6.0.0",
"@ng-web-apis/common": ">=1.1.0"
},
"version": "3.0.0",
"description": "A library for declarative use of Intersection Observer API with Angular",

@@ -15,2 +11,5 @@ "keywords": [

],
"homepage": "https://github.com/ng-web-apis/intersection-observer#README",
"bugs": "https://github.com/ng-web-apis/intersection-observer/issues",
"repository": "https://github.com/ng-web-apis/intersection-observer",
"license": "MIT",

@@ -24,18 +23,16 @@ "author": {

],
"repository": "https://github.com/ng-web-apis/intersection-observer",
"bugs": "https://github.com/ng-web-apis/intersection-observer/issues",
"homepage": "https://github.com/ng-web-apis/intersection-observer#README",
"peerDependencies": {
"@angular/core": ">=12.0.0",
"@ng-web-apis/common": ">=2.0.0"
},
"main": "bundles/ng-web-apis-intersection-observer.umd.js",
"module": "fesm5/ng-web-apis-intersection-observer.js",
"module": "fesm2015/ng-web-apis-intersection-observer.js",
"es2015": "fesm2015/ng-web-apis-intersection-observer.js",
"esm5": "esm5/ng-web-apis-intersection-observer.js",
"esm2015": "esm2015/ng-web-apis-intersection-observer.js",
"fesm5": "fesm5/ng-web-apis-intersection-observer.js",
"fesm2015": "fesm2015/ng-web-apis-intersection-observer.js",
"typings": "ng-web-apis-intersection-observer.d.ts",
"metadata": "ng-web-apis-intersection-observer.metadata.json",
"sideEffects": false,
"dependencies": {
"tslib": "^1.9.0"
"tslib": "^2.2.0"
}
}
}
import { ElementRef } from '@angular/core';
import { Observable } from 'rxjs';
import { IntersectionObserverDirective } from '../directives/intersection-observer.directive';
import * as i0 from "@angular/core";
export declare class IntersectionObserveeService extends Observable<IntersectionObserverEntry[]> {
constructor({ nativeElement }: ElementRef<Element>, observer: IntersectionObserverDirective);
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionObserveeService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionObserveeService>;
}
import { ElementRef } from '@angular/core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class IntersectionObserverService extends Observable<IntersectionObserverEntry[]> {
constructor({ nativeElement }: ElementRef<Element>, support: boolean, rootMargin: string, threshold: number | number[], root: ElementRef<Element> | null);
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionObserverService, [null, null, null, null, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionObserverService>;
}
import { InjectionToken } from '@angular/core';
declare global {
interface Window {
IntersectionObserver: IntersectionObserver;
}
}
export declare const INTERSECTION_OBSERVER_SUPPORT: InjectionToken<boolean>;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc