@angular/elements
Advanced tools
Comparing version 8.0.0-beta.8 to 8.0.0-beta.9
/** | ||
* @license Angular v8.0.0-beta.8 | ||
* @license Angular v8.0.0-beta.9 | ||
* (c) 2010-2019 Google LLC. https://angular.io/ | ||
@@ -540,3 +540,3 @@ * License: MIT | ||
*/ | ||
var VERSION = new core.Version('8.0.0-beta.8'); | ||
var VERSION = new core.Version('8.0.0-beta.9'); | ||
@@ -543,0 +543,0 @@ /** |
/** | ||
* @license Angular v8.0.0-beta.8 | ||
* @license Angular v8.0.0-beta.9 | ||
* (c) 2010-2019 Google LLC. https://angular.io/ | ||
@@ -29,3 +29,3 @@ * License: MIT | ||
*/ | ||
function i(t,e){var n=t.childNodes,o=e.map(function(){return[]}),i=-1;e.some(function(t,e){return"*"===t&&(i=e,!0)});for(var r=0,s=n.length;r<s;++r){var u=n[r],c=l(u,e,i);-1!==c&&o[c].push(u)}return o}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,o,t),this.implementsOnChanges=function r(t){return"function"==typeof t}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(),this.detectChanges(),this.injector.get(e.ApplicationRef).attachView(this.componentRef.hostView)},t.prototype.initializeInputs=function(){var t=this;this.componentFactory.inputs.forEach(function(e){var n=e.propName,o=t.initialInputValues.get(n);o?t.setInputValue(n,o):t.uninitializedInputs.add(n)}),this.initialInputValues.clear()},t.prototype.initializeOutputs=function(){var t=this,e=this.componentFactory.outputs.map(function(e){var n=e.templateName;return t.componentRef.instance[e.propName].pipe(o.map(function(t){return{name:n,value:t}}))});this.events=n.merge.apply(void 0,function i(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t}(e))},t.prototype.callNgOnChanges=function(){if(this.implementsOnChanges&&null!==this.inputChanges){var t=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(t)}},t.prototype.scheduleDetectChanges=function(){var t=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=a.scheduleBeforeRender(function(){t.scheduledChangeDetectionFn=null,t.detectChanges()}))},t.prototype.recordInputChange=function(t,n){if(!this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var o=this.inputChanges[t];if(o)o.currentValue=n;else{var i=this.uninitializedInputs.has(t);this.uninitializedInputs.delete(t);var r=i?void 0:this.getInputValue(t);this.inputChanges[t]=new e.SimpleChange(r,n,i)}}},t.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},t}(),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ngElementEventsSubscription=null,e}return r(e,t),e}(HTMLElement),m=new e.Version("8.0.0-beta.8"); | ||
function i(t,e){var n=t.childNodes,o=e.map(function(){return[]}),i=-1;e.some(function(t,e){return"*"===t&&(i=e,!0)});for(var r=0,s=n.length;r<s;++r){var u=n[r],c=l(u,e,i);-1!==c&&o[c].push(u)}return o}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,o,t),this.implementsOnChanges=function r(t){return"function"==typeof t}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(),this.detectChanges(),this.injector.get(e.ApplicationRef).attachView(this.componentRef.hostView)},t.prototype.initializeInputs=function(){var t=this;this.componentFactory.inputs.forEach(function(e){var n=e.propName,o=t.initialInputValues.get(n);o?t.setInputValue(n,o):t.uninitializedInputs.add(n)}),this.initialInputValues.clear()},t.prototype.initializeOutputs=function(){var t=this,e=this.componentFactory.outputs.map(function(e){var n=e.templateName;return t.componentRef.instance[e.propName].pipe(o.map(function(t){return{name:n,value:t}}))});this.events=n.merge.apply(void 0,function i(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]));return t}(e))},t.prototype.callNgOnChanges=function(){if(this.implementsOnChanges&&null!==this.inputChanges){var t=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(t)}},t.prototype.scheduleDetectChanges=function(){var t=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=a.scheduleBeforeRender(function(){t.scheduledChangeDetectionFn=null,t.detectChanges()}))},t.prototype.recordInputChange=function(t,n){if(!this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var o=this.inputChanges[t];if(o)o.currentValue=n;else{var i=this.uninitializedInputs.has(t);this.uninitializedInputs.delete(t);var r=i?void 0:this.getInputValue(t);this.inputChanges[t]=new e.SimpleChange(r,n,i)}}},t.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},t}(),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ngElementEventsSubscription=null,e}return r(e,t),e}(HTMLElement),m=new e.Version("8.0.0-beta.9"); | ||
/** | ||
@@ -32,0 +32,0 @@ * @license |
/** | ||
* @license Angular v8.0.0-beta.8 | ||
* @license Angular v8.0.0-beta.9 | ||
* (c) 2010-2019 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"NgElement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"HTMLElement"},"members":{"attributeChangedCallback":[{"__symbolic":"method"}],"connectedCallback":[{"__symbolic":"method"}],"disconnectedCallback":[{"__symbolic":"method"}]}},"NgElementConfig":{"__symbolic":"interface"},"NgElementConstructor":{"__symbolic":"interface"},"WithProperties":{"__symbolic":"interface"},"createCustomElement":{"__symbolic":"function"},"NgElementStrategy":{"__symbolic":"interface"},"NgElementStrategyEvent":{"__symbolic":"interface"},"NgElementStrategyFactory":{"__symbolic":"interface"},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":12,"character":27},"arguments":["8.0.0-beta.8"]}},"origins":{"NgElement":"./elements","NgElementConfig":"./elements","NgElementConstructor":"./elements","WithProperties":"./elements","createCustomElement":"./elements","NgElementStrategy":"./elements","NgElementStrategyEvent":"./elements","NgElementStrategyFactory":"./elements","VERSION":"./elements"},"importAs":"@angular/elements"} | ||
{"__symbolic":"module","version":4,"metadata":{"NgElement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"HTMLElement"},"members":{"attributeChangedCallback":[{"__symbolic":"method"}],"connectedCallback":[{"__symbolic":"method"}],"disconnectedCallback":[{"__symbolic":"method"}]}},"NgElementConfig":{"__symbolic":"interface"},"NgElementConstructor":{"__symbolic":"interface"},"WithProperties":{"__symbolic":"interface"},"createCustomElement":{"__symbolic":"function"},"NgElementStrategy":{"__symbolic":"interface"},"NgElementStrategyEvent":{"__symbolic":"interface"},"NgElementStrategyFactory":{"__symbolic":"interface"},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":12,"character":27},"arguments":["8.0.0-beta.9"]}},"origins":{"NgElement":"./elements","NgElementConfig":"./elements","NgElementConstructor":"./elements","WithProperties":"./elements","createCustomElement":"./elements","NgElementStrategy":"./elements","NgElementStrategyEvent":"./elements","NgElementStrategyFactory":"./elements","VERSION":"./elements"},"importAs":"@angular/elements"} |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -5,0 +5,0 @@ /** |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -5,0 +5,0 @@ /** |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -129,3 +129,6 @@ /** | ||
// moved elsewhere in the DOM | ||
this.scheduledDestroyFn = scheduler.schedule(() => { | ||
this.scheduledDestroyFn = scheduler.schedule((/** | ||
* @return {?} | ||
*/ | ||
() => { | ||
if (this.componentRef) { | ||
@@ -135,3 +138,3 @@ (/** @type {?} */ (this.componentRef)).destroy(); | ||
} | ||
}, DESTROY_DELAY); | ||
}), DESTROY_DELAY); | ||
} | ||
@@ -197,3 +200,7 @@ /** | ||
initializeInputs() { | ||
this.componentFactory.inputs.forEach(({ propName }) => { | ||
this.componentFactory.inputs.forEach((/** | ||
* @param {?} __0 | ||
* @return {?} | ||
*/ | ||
({ propName }) => { | ||
/** @type {?} */ | ||
@@ -209,3 +216,3 @@ const initialValue = this.initialInputValues.get(propName); | ||
} | ||
}); | ||
})); | ||
this.initialInputValues.clear(); | ||
@@ -220,7 +227,15 @@ } | ||
/** @type {?} */ | ||
const eventEmitters = this.componentFactory.outputs.map(({ propName, templateName }) => { | ||
const eventEmitters = this.componentFactory.outputs.map((/** | ||
* @param {?} __0 | ||
* @return {?} | ||
*/ | ||
({ propName, templateName }) => { | ||
/** @type {?} */ | ||
const emitter = (/** @type {?} */ (((/** @type {?} */ ((/** @type {?} */ (this.componentRef)).instance)))[propName])); | ||
return emitter.pipe(map((value) => ({ name: templateName, value }))); | ||
}); | ||
return emitter.pipe(map((/** | ||
* @param {?} value | ||
* @return {?} | ||
*/ | ||
(value) => ({ name: templateName, value })))); | ||
})); | ||
this.events = merge(...eventEmitters); | ||
@@ -254,6 +269,9 @@ } | ||
} | ||
this.scheduledChangeDetectionFn = scheduler.scheduleBeforeRender(() => { | ||
this.scheduledChangeDetectionFn = scheduler.scheduleBeforeRender((/** | ||
* @return {?} | ||
*/ | ||
() => { | ||
this.scheduledChangeDetectionFn = null; | ||
this.detectChanges(); | ||
}); | ||
})); | ||
} | ||
@@ -362,2 +380,2 @@ /** | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaW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2VzW3Byb3BlcnR5XTtcbiAgICBpZiAocGVuZGluZ0NoYW5nZSkge1xuICAgICAgcGVuZGluZ0NoYW5nZS5jdXJyZW50VmFsdWUgPSBjdXJyZW50VmFsdWU7XG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgY29uc3QgaXNGaXJzdENoYW5nZSA9IHRoaXMudW5pbml0aWFsaXplZElucHV0cy5oYXMocHJvcGVydHkpO1xuICAgIHRoaXMudW5pbml0aWFsaXplZElucHV0cy5kZWxldGUocHJvcGVydHkpO1xuXG4gICAgY29uc3QgcHJldmlvdXNWYWx1ZSA9IGlzRmlyc3RDaGFuZ2UgPyB1bmRlZmluZWQgOiB0aGlzLmdldElucHV0VmFsdWUocHJvcGVydHkpO1xuICAgIHRoaXMuaW5wdXRDaGFuZ2VzW3Byb3BlcnR5XSA9IG5ldyBTaW1wbGVDaGFuZ2UocHJldmlvdXNWYWx1ZSwgY3VycmVudFZhbHVlLCBpc0ZpcnN0Q2hhbmdlKTtcbiAgfVxuXG4gIC8qKiBSdW5zIGNoYW5nZSBkZXRlY3Rpb24gb24gdGhlIGNvbXBvbmVudC4gKi9cbiAgcHJvdGVjdGVkIGRldGVjdENoYW5nZXMoKTogdm9pZCB7XG4gICAgaWYgKCF0aGlzLmNvbXBvbmVudFJlZikge1xuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIHRoaXMuY2FsbE5nT25DaGFuZ2VzKCk7XG4gICAgdGhpcy5jb21wb25lbnRSZWYgIS5jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XG4gIH1cbn1cbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -170,7 +170,11 @@ /** | ||
// Listen for events from the strategy and dispatch them as custom events | ||
this.ngElementEventsSubscription = this.ngElementStrategy.events.subscribe(e => { | ||
this.ngElementEventsSubscription = this.ngElementStrategy.events.subscribe((/** | ||
* @param {?} e | ||
* @return {?} | ||
*/ | ||
e => { | ||
/** @type {?} */ | ||
const customEvent = createCustomEvent((/** @type {?} */ (this.ownerDocument)), e.name, e.value); | ||
this.dispatchEvent(customEvent); | ||
}); | ||
})); | ||
} | ||
@@ -199,12 +203,27 @@ /** | ||
// contain property inputs, use all inputs by default. | ||
inputs.map(({ propName }) => propName).forEach(property => { | ||
inputs.map((/** | ||
* @param {?} __0 | ||
* @return {?} | ||
*/ | ||
({ propName }) => propName)).forEach((/** | ||
* @param {?} property | ||
* @return {?} | ||
*/ | ||
property => { | ||
Object.defineProperty(NgElementImpl.prototype, property, { | ||
get: function () { return this.ngElementStrategy.getInputValue(property); }, | ||
set: function (newValue) { this.ngElementStrategy.setInputValue(property, newValue); }, | ||
get: (/** | ||
* @return {?} | ||
*/ | ||
function () { return this.ngElementStrategy.getInputValue(property); }), | ||
set: (/** | ||
* @param {?} newValue | ||
* @return {?} | ||
*/ | ||
function (newValue) { this.ngElementStrategy.setInputValue(property, newValue); }), | ||
configurable: true, | ||
enumerable: true, | ||
}); | ||
}); | ||
})); | ||
return (/** @type {?} */ (((/** @type {?} */ (NgElementImpl))))); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWN1c3RvbS1lbGVtZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZWxlbWVudHMvc3JjL2NyZWF0ZS1jdXN0b20tZWxlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQVdBLE9BQU8sRUFBQyxpQ0FBaUMsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBRS9FLE9BQU8sRUFBQyxpQkFBaUIsRUFBRSxrQ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mlwdGlvbi51bnN1YnNjcmliZSgpO1xuICAgICAgICB0aGlzLm5nRWxlbWVudEV2ZW50c1N1YnNjcmlwdGlvbiA9IG51bGw7XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gQWRkIGdldHRlcnMgYW5kIHNldHRlcnMgdG8gdGhlIHByb3RvdHlwZSBmb3IgZWFjaCBwcm9wZXJ0eSBpbnB1dC4gSWYgdGhlIGNvbmZpZyBkb2VzIG5vdFxuICAvLyBjb250YWluIHByb3BlcnR5IGlucHV0cywgdXNlIGFsbCBpbnB1dHMgYnkgZGVmYXVsdC5cbiAgaW5wdXRzLm1hcCgoe3Byb3BOYW1lfSkgPT4gcHJvcE5hbWUpLmZvckVhY2gocHJvcGVydHkgPT4ge1xuICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShOZ0VsZW1lbnRJbXBsLnByb3RvdHlwZSwgcHJvcGVydHksIHtcbiAgICAgIGdldDogZnVuY3Rpb24oKSB7IHJldHVybiB0aGlzLm5nRWxlbWVudFN0cmF0ZWd5LmdldElucHV0VmFsdWUocHJvcGVydHkpOyB9LFxuICAgICAgc2V0OiBmdW5jdGlvbihuZXdWYWx1ZTogYW55KSB7IHRoaXMubmdFbGVtZW50U3RyYXRlZ3kuc2V0SW5wdXRWYWx1ZShwcm9wZXJ0eSwgbmV3VmFsdWUpOyB9LFxuICAgICAgY29uZmlndXJhYmxlOiB0cnVlLFxuICAgICAgZW51bWVyYWJsZTogdHJ1ZSxcbiAgICB9KTtcbiAgfSk7XG5cbiAgcmV0dXJuIChOZ0VsZW1lbnRJbXBsIGFzIGFueSkgYXMgTmdFbGVtZW50Q29uc3RydWN0b3I8UD47XG59XG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -5,0 +5,0 @@ /** |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -25,6 +25,14 @@ /** | ||
/** @type {?} */ | ||
const projectableNodes = ngContentSelectors.map(() => []); | ||
const projectableNodes = ngContentSelectors.map((/** | ||
* @return {?} | ||
*/ | ||
() => [])); | ||
/** @type {?} */ | ||
let wildcardIndex = -1; | ||
ngContentSelectors.some((selector, i) => { | ||
ngContentSelectors.some((/** | ||
* @param {?} selector | ||
* @param {?} i | ||
* @return {?} | ||
*/ | ||
(selector, i) => { | ||
if (selector === '*') { | ||
@@ -35,3 +43,3 @@ wildcardIndex = i; | ||
return false; | ||
}); | ||
})); | ||
for (let i = 0, ii = nodes.length; i < ii; ++i) { | ||
@@ -58,3 +66,8 @@ /** @type {?} */ | ||
if (isElement(node)) { | ||
selectors.some((selector, i) => { | ||
selectors.some((/** | ||
* @param {?} selector | ||
* @param {?} i | ||
* @return {?} | ||
*/ | ||
(selector, i) => { | ||
if ((selector !== '*') && matchesSelector(node, selector)) { | ||
@@ -65,6 +78,6 @@ matchingIndex = i; | ||
return false; | ||
}); | ||
})); | ||
} | ||
return matchingIndex; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0cmFjdC1wcm9qZWN0YWJsZS1ub2Rlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2VsZW1lbnRzL3NyYy9leHRyYWN0LXByb2plY3RhYmxlLW5vZGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7O0FBWUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxlQUFlLEVBQUMsTUFBTSxTQU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HdpbGRjYXJkSW5kZXggPSBpO1xuICAgICAgcmV0dXJuIHRydWU7XG4gICAgfVxuICAgIHJldHVybiBmYWxzZTtcbiAgfSk7XG5cbiAgZm9yIChsZXQgaSA9IDAsIGlpID0gbm9kZXMubGVuZ3RoOyBpIDwgaWk7ICsraSkge1xuICAgIGNvbnN0IG5vZGUgPSBub2Rlc1tpXTtcbiAgICBjb25zdCBuZ0NvbnRlbnRJbmRleCA9IGZpbmRNYXRjaGluZ0luZGV4KG5vZGUsIG5nQ29udGVudFNlbGVjdG9ycywgd2lsZGNhcmRJbmRleCk7XG5cbiAgICBpZiAobmdDb250ZW50SW5kZXggIT09IC0xKSB7XG4gICAgICBwcm9qZWN0YWJsZU5vZGVzW25nQ29udGVudEluZGV4XS5wdXNoKG5vZGUpO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiBwcm9qZWN0YWJsZU5vZGVzO1xufVxuXG5mdW5jdGlvbiBmaW5kTWF0Y2hpbmdJbmRleChub2RlOiBOb2RlLCBzZWxlY3RvcnM6IHN0cmluZ1tdLCBkZWZhdWx0SW5kZXg6IG51bWJlcik6IG51bWJlciB7XG4gIGxldCBtYXRjaGluZ0luZGV4ID0gZGVmYXVsdEluZGV4O1xuXG4gIGlmIChpc0VsZW1lbnQobm9kZSkpIHtcbiAgICBzZWxlY3RvcnMuc29tZSgoc2VsZWN0b3IsIGkpID0+IHtcbiAgICAgIGlmICgoc2VsZWN0b3IgIT09ICcqJykgJiYgbWF0Y2hlc1NlbGVjdG9yKG5vZGUsIHNlbGVjdG9yKSkge1xuICAgICAgICBtYXRjaGluZ0luZGV4ID0gaTtcbiAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICB9XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfSk7XG4gIH1cblxuICByZXR1cm4gbWF0Y2hpbmdJbmRleDtcbn1cbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -32,3 +32,6 @@ /** | ||
schedule(taskFn, delay) { /** @type {?} */ | ||
const id = setTimeout(taskFn, delay); return () => clearTimeout(id); }, | ||
const id = setTimeout(taskFn, delay); return (/** | ||
* @return {?} | ||
*/ | ||
() => clearTimeout(id)); }, | ||
/** | ||
@@ -56,3 +59,6 @@ * Schedule a callback to be called before the next render. | ||
const id = window.requestAnimationFrame(taskFn); | ||
return () => window.cancelAnimationFrame(id); | ||
return (/** | ||
* @return {?} | ||
*/ | ||
() => window.cancelAnimationFrame(id)); | ||
}, | ||
@@ -66,3 +72,7 @@ }; | ||
export function camelToDashCase(input) { | ||
return input.replace(/[A-Z]/g, char => `-${char.toLowerCase()}`); | ||
return input.replace(/[A-Z]/g, (/** | ||
* @param {?} char | ||
* @return {?} | ||
*/ | ||
char => `-${char.toLowerCase()}`)); | ||
} | ||
@@ -112,3 +122,8 @@ /** | ||
export function kebabToCamelCase(input) { | ||
return input.replace(/-([a-z\d])/g, (_, char) => char.toUpperCase()); | ||
return input.replace(/-([a-z\d])/g, (/** | ||
* @param {?} _ | ||
* @param {?} char | ||
* @return {?} | ||
*/ | ||
(_, char) => char.toUpperCase())); | ||
} | ||
@@ -141,5 +156,9 @@ /** | ||
const attributeToPropertyInputs = {}; | ||
inputs.forEach(({ propName, templateName }) => { | ||
inputs.forEach((/** | ||
* @param {?} __0 | ||
* @return {?} | ||
*/ | ||
({ propName, templateName }) => { | ||
attributeToPropertyInputs[camelToDashCase(templateName)] = propName; | ||
}); | ||
})); | ||
return attributeToPropertyInputs; | ||
@@ -161,2 +180,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdl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vcGVydHlJbnB1dHM7XG59XG5cbi8qKlxuICogR2V0cyBhIGNvbXBvbmVudCdzIHNldCBvZiBpbnB1dHMuIFVzZXMgdGhlIGluamVjdG9yIHRvIGdldCB0aGUgY29tcG9uZW50IGZhY3Rvcnkgd2hlcmUgdGhlIGlucHV0c1xuICogYXJlIGRlZmluZWQuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBnZXRDb21wb25lbnRJbnB1dHMoXG4gICAgY29tcG9uZW50OiBUeXBlPGFueT4sIGluamVjdG9yOiBJbmplY3Rvcik6IHtwcm9wTmFtZTogc3RyaW5nLCB0ZW1wbGF0ZU5hbWU6IHN0cmluZ31bXSB7XG4gIGNvbnN0IGNvbXBvbmVudEZhY3RvcnlSZXNvbHZlcjogQ29tcG9uZW50RmFjdG9yeVJlc29sdmVyID0gaW5qZWN0b3IuZ2V0KENvbXBvbmVudEZhY3RvcnlSZXNvbHZlcik7XG4gIGNvbnN0IGNvbXBvbmVudEZhY3RvcnkgPSBjb21wb25lbnRGYWN0b3J5UmVzb2x2ZXIucmVzb2x2ZUNvbXBvbmVudEZhY3RvcnkoY29tcG9uZW50KTtcbiAgcmV0dXJuIGNvbXBvbmVudEZhY3RvcnkuaW5wdXRzO1xufVxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -17,3 +17,3 @@ /** | ||
*/ | ||
export const VERSION = new Version('8.0.0-beta.8'); | ||
export const VERSION = new Version('8.0.0-beta.9'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2VsZW1lbnRzL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBUUEsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFJdEMsTUFBTSxPQUFPLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtWZXJzaW9ufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbi8qKlxuICogQHB1YmxpY0FwaVxuICovXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19 |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
export var VERSION = new Version('8.0.0-beta.8'); | ||
export var VERSION = new Version('8.0.0-beta.9'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2VsZW1lbnRzL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdEM7O0dBRUc7QUFDSCxNQUFNLENBQUMsSUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsbUJBQW1CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuaW1wb3J0IHtWZXJzaW9ufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbi8qKlxuICogQHB1YmxpY0FwaVxuICovXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19 |
/** | ||
* @license Angular v8.0.0-beta.8 | ||
* @license Angular v8.0.0-beta.9 | ||
* (c) 2010-2019 Google LLC. https://angular.io/ | ||
@@ -13,3 +13,3 @@ * License: MIT | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -35,3 +35,6 @@ /** @type {?} */ | ||
schedule(taskFn, delay) { /** @type {?} */ | ||
const id = setTimeout(taskFn, delay); return () => clearTimeout(id); }, | ||
const id = setTimeout(taskFn, delay); return (/** | ||
* @return {?} | ||
*/ | ||
() => clearTimeout(id)); }, | ||
/** | ||
@@ -59,3 +62,6 @@ * Schedule a callback to be called before the next render. | ||
const id = window.requestAnimationFrame(taskFn); | ||
return () => window.cancelAnimationFrame(id); | ||
return (/** | ||
* @return {?} | ||
*/ | ||
() => window.cancelAnimationFrame(id)); | ||
}, | ||
@@ -69,3 +75,7 @@ }; | ||
function camelToDashCase(input) { | ||
return input.replace(/[A-Z]/g, char => `-${char.toLowerCase()}`); | ||
return input.replace(/[A-Z]/g, (/** | ||
* @param {?} char | ||
* @return {?} | ||
*/ | ||
char => `-${char.toLowerCase()}`)); | ||
} | ||
@@ -135,5 +145,9 @@ /** | ||
const attributeToPropertyInputs = {}; | ||
inputs.forEach(({ propName, templateName }) => { | ||
inputs.forEach((/** | ||
* @param {?} __0 | ||
* @return {?} | ||
*/ | ||
({ propName, templateName }) => { | ||
attributeToPropertyInputs[camelToDashCase(templateName)] = propName; | ||
}); | ||
})); | ||
return attributeToPropertyInputs; | ||
@@ -158,3 +172,3 @@ } | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -170,6 +184,14 @@ /** | ||
/** @type {?} */ | ||
const projectableNodes = ngContentSelectors.map(() => []); | ||
const projectableNodes = ngContentSelectors.map((/** | ||
* @return {?} | ||
*/ | ||
() => [])); | ||
/** @type {?} */ | ||
let wildcardIndex = -1; | ||
ngContentSelectors.some((selector, i) => { | ||
ngContentSelectors.some((/** | ||
* @param {?} selector | ||
* @param {?} i | ||
* @return {?} | ||
*/ | ||
(selector, i) => { | ||
if (selector === '*') { | ||
@@ -180,3 +202,3 @@ wildcardIndex = i; | ||
return false; | ||
}); | ||
})); | ||
for (let i = 0, ii = nodes.length; i < ii; ++i) { | ||
@@ -203,3 +225,8 @@ /** @type {?} */ | ||
if (isElement(node)) { | ||
selectors.some((selector, i) => { | ||
selectors.some((/** | ||
* @param {?} selector | ||
* @param {?} i | ||
* @return {?} | ||
*/ | ||
(selector, i) => { | ||
if ((selector !== '*') && matchesSelector(node, selector)) { | ||
@@ -210,3 +237,3 @@ matchingIndex = i; | ||
return false; | ||
}); | ||
})); | ||
} | ||
@@ -218,3 +245,3 @@ return matchingIndex; | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -319,3 +346,6 @@ /** | ||
// moved elsewhere in the DOM | ||
this.scheduledDestroyFn = scheduler.schedule(() => { | ||
this.scheduledDestroyFn = scheduler.schedule((/** | ||
* @return {?} | ||
*/ | ||
() => { | ||
if (this.componentRef) { | ||
@@ -325,3 +355,3 @@ (/** @type {?} */ (this.componentRef)).destroy(); | ||
} | ||
}, DESTROY_DELAY); | ||
}), DESTROY_DELAY); | ||
} | ||
@@ -387,3 +417,7 @@ /** | ||
initializeInputs() { | ||
this.componentFactory.inputs.forEach(({ propName }) => { | ||
this.componentFactory.inputs.forEach((/** | ||
* @param {?} __0 | ||
* @return {?} | ||
*/ | ||
({ propName }) => { | ||
/** @type {?} */ | ||
@@ -399,3 +433,3 @@ const initialValue = this.initialInputValues.get(propName); | ||
} | ||
}); | ||
})); | ||
this.initialInputValues.clear(); | ||
@@ -410,7 +444,15 @@ } | ||
/** @type {?} */ | ||
const eventEmitters = this.componentFactory.outputs.map(({ propName, templateName }) => { | ||
const eventEmitters = this.componentFactory.outputs.map((/** | ||
* @param {?} __0 | ||
* @return {?} | ||
*/ | ||
({ propName, templateName }) => { | ||
/** @type {?} */ | ||
const emitter = (/** @type {?} */ (((/** @type {?} */ ((/** @type {?} */ (this.componentRef)).instance)))[propName])); | ||
return emitter.pipe(map((value) => ({ name: templateName, value }))); | ||
}); | ||
return emitter.pipe(map((/** | ||
* @param {?} value | ||
* @return {?} | ||
*/ | ||
(value) => ({ name: templateName, value })))); | ||
})); | ||
this.events = merge(...eventEmitters); | ||
@@ -444,6 +486,9 @@ } | ||
} | ||
this.scheduledChangeDetectionFn = scheduler.scheduleBeforeRender(() => { | ||
this.scheduledChangeDetectionFn = scheduler.scheduleBeforeRender((/** | ||
* @return {?} | ||
*/ | ||
() => { | ||
this.scheduledChangeDetectionFn = null; | ||
this.detectChanges(); | ||
}); | ||
})); | ||
} | ||
@@ -496,3 +541,3 @@ /** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -578,7 +623,11 @@ /** | ||
// Listen for events from the strategy and dispatch them as custom events | ||
this.ngElementEventsSubscription = this.ngElementStrategy.events.subscribe(e => { | ||
this.ngElementEventsSubscription = this.ngElementStrategy.events.subscribe((/** | ||
* @param {?} e | ||
* @return {?} | ||
*/ | ||
e => { | ||
/** @type {?} */ | ||
const customEvent = createCustomEvent((/** @type {?} */ (this.ownerDocument)), e.name, e.value); | ||
this.dispatchEvent(customEvent); | ||
}); | ||
})); | ||
} | ||
@@ -603,10 +652,25 @@ /** | ||
// contain property inputs, use all inputs by default. | ||
inputs.map(({ propName }) => propName).forEach(property => { | ||
inputs.map((/** | ||
* @param {?} __0 | ||
* @return {?} | ||
*/ | ||
({ propName }) => propName)).forEach((/** | ||
* @param {?} property | ||
* @return {?} | ||
*/ | ||
property => { | ||
Object.defineProperty(NgElementImpl.prototype, property, { | ||
get: function () { return this.ngElementStrategy.getInputValue(property); }, | ||
set: function (newValue) { this.ngElementStrategy.setInputValue(property, newValue); }, | ||
get: (/** | ||
* @return {?} | ||
*/ | ||
function () { return this.ngElementStrategy.getInputValue(property); }), | ||
set: (/** | ||
* @param {?} newValue | ||
* @return {?} | ||
*/ | ||
function (newValue) { this.ngElementStrategy.setInputValue(property, newValue); }), | ||
configurable: true, | ||
enumerable: true, | ||
}); | ||
}); | ||
})); | ||
return (/** @type {?} */ (((/** @type {?} */ (NgElementImpl))))); | ||
@@ -617,3 +681,3 @@ } | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -624,7 +688,7 @@ /** | ||
*/ | ||
const VERSION = new Version('8.0.0-beta.8'); | ||
const VERSION = new Version('8.0.0-beta.9'); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -634,3 +698,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -637,0 +701,0 @@ |
/** | ||
* @license Angular v8.0.0-beta.8 | ||
* @license Angular v8.0.0-beta.9 | ||
* (c) 2010-2019 Google LLC. https://angular.io/ | ||
@@ -487,3 +487,3 @@ * License: MIT | ||
*/ | ||
var VERSION = new Version('8.0.0-beta.8'); | ||
var VERSION = new Version('8.0.0-beta.9'); | ||
@@ -490,0 +490,0 @@ /** |
{ | ||
"name": "@angular/elements", | ||
"version": "8.0.0-beta.8", | ||
"version": "8.0.0-beta.9", | ||
"description": "Angular - library for using Angular Components as Custom Elements", | ||
@@ -19,4 +19,4 @@ "main": "./bundles/elements.umd.js", | ||
"peerDependencies": { | ||
"@angular/core": "8.0.0-beta.8", | ||
"@angular/platform-browser": "8.0.0-beta.8", | ||
"@angular/core": "8.0.0-beta.9", | ||
"@angular/platform-browser": "8.0.0-beta.9", | ||
"rxjs": "^6.0.0" | ||
@@ -23,0 +23,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
407138
3583