@angular/elements
Advanced tools
Comparing version 6.0.0-rc.6 to 6.0.0
/** | ||
* @license Angular v6.0.0-rc.6 | ||
* @license Angular v6.0.0 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
@@ -613,3 +613,3 @@ * License: MIT | ||
*/ | ||
var VERSION = new core.Version('6.0.0-rc.6'); | ||
var VERSION = new core.Version('6.0.0'); | ||
@@ -616,0 +616,0 @@ /** |
/** | ||
* @license Angular v6.0.0-rc.6 | ||
* @license Angular v6.0.0 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
@@ -21,3 +21,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=p(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("6.0.0-rc.6"); | ||
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=p(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("6.0.0"); | ||
/** | ||
@@ -24,0 +24,0 @@ * @license |
@@ -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":["6.0.0-rc.6"]}},"origins":{"NgElement":"./src/create-custom-element","NgElementConfig":"./src/create-custom-element","NgElementConstructor":"./src/create-custom-element","WithProperties":"./src/create-custom-element","createCustomElement":"./src/create-custom-element","NgElementStrategy":"./src/element-strategy","NgElementStrategyEvent":"./src/element-strategy","NgElementStrategyFactory":"./src/element-strategy","VERSION":"./src/version"},"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":["6.0.0"]}},"origins":{"NgElement":"./src/create-custom-element","NgElementConfig":"./src/create-custom-element","NgElementConstructor":"./src/create-custom-element","WithProperties":"./src/create-custom-element","createCustomElement":"./src/create-custom-element","NgElementStrategy":"./src/element-strategy","NgElementStrategyEvent":"./src/element-strategy","NgElementStrategyFactory":"./src/element-strategy","VERSION":"./src/version"},"importAs":"@angular/elements"} |
@@ -16,4 +16,4 @@ /** | ||
*/ | ||
export const /** @type {?} */ VERSION = new Version('6.0.0-rc.6'); | ||
export const /** @type {?} */ VERSION = new Version('6.0.0'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2VsZW1lbnRzL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBUUEsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGVBQWUsQ0FBQzs7OztBQUl0QyxNQUFNLENBQUMsdUJBQU0sT0FBTyxHQUFHLElBQUksT0FBTyxDQUFDLG1CQUFtQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG4vKipcbiAqIEBleHBlcmltZW50YWxcbiAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ== |
@@ -12,4 +12,4 @@ /** | ||
*/ | ||
export var VERSION = new Version('6.0.0-rc.6'); | ||
export var VERSION = new Version('6.0.0'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2VsZW1lbnRzL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFRQSxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sZUFBZSxDQUFDOzs7O0FBSXRDLE1BQU0sQ0FBQyxJQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBJbmMuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuLyoqXG4gKiBAZXhwZXJpbWVudGFsXG4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gbmV3IFZlcnNpb24oJzAuMC4wLVBMQUNFSE9MREVSJyk7XG4iXX0= |
/** | ||
* @license Angular v6.0.0-rc.6 | ||
* @license Angular v6.0.0 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
@@ -598,3 +598,3 @@ * License: MIT | ||
*/ | ||
const VERSION = new Version('6.0.0-rc.6'); | ||
const VERSION = new Version('6.0.0'); | ||
@@ -601,0 +601,0 @@ /** |
/** | ||
* @license Angular v6.0.0-rc.6 | ||
* @license Angular v6.0.0 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
@@ -545,3 +545,3 @@ * License: MIT | ||
*/ | ||
var VERSION = new Version('6.0.0-rc.6'); | ||
var VERSION = new Version('6.0.0'); | ||
@@ -548,0 +548,0 @@ /** |
{ | ||
"name": "@angular/elements", | ||
"version": "6.0.0-rc.6", | ||
"version": "6.0.0", | ||
"description": "Angular - library for using Angular Components as Custom Elements", | ||
@@ -19,5 +19,5 @@ "main": "./bundles/elements.umd.js", | ||
"peerDependencies": { | ||
"@angular/core": "6.0.0-rc.6", | ||
"@angular/platform-browser": "6.0.0-rc.6", | ||
"rxjs": "^6.0.0-rc.0" | ||
"@angular/core": "6.0.0", | ||
"@angular/platform-browser": "6.0.0", | ||
"rxjs": "^6.0.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "repository": { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
406183