@tinkoff/ng-polymorpheus
Advanced tools
Comparing version 4.0.7 to 4.0.8
@@ -11,3 +11,3 @@ import { DoCheck, Injector, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; | ||
private componentRef?; | ||
content: PolymorpheusContent<C>; | ||
content: PolymorpheusContent<Partial<C>>; | ||
context?: C; | ||
@@ -14,0 +14,0 @@ constructor(viewContainerRef: ViewContainerRef, injector: Injector, templateRef: TemplateRef<PolymorpheusContext<string>>); |
@@ -89,2 +89,2 @@ import { ChangeDetectorRef, ComponentFactoryResolver, Directive, Input, TemplateRef, } from '@angular/core'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0bGV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcG9seW1vcnBoZXVzL3NyYy9kaXJlY3RpdmVzL291dGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsaUJBQWlCLEVBQ2pCLHdCQUF3QixFQUV4QixTQUFTLEVBSVQsS0FBSyxFQUdMLFdBQVcsR0FFZCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUMzRCxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQztBQUV2RCxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSxZQUFZLENBQUM7O0FBS2hELE1BQU0sT0FBTywyQkFBMkI7SUFXcEMsWUFDcUIsZ0JBQWtDLEVBQ2xDLFFBQWtCLEVBQ2xCLFdBQXFEO1FBRnJELHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7UUFDbEMsYUFBUSxHQUFSLFFBQVEsQ0FBVTtRQUNsQixnQkFBVyxHQUFYLFdBQVcsQ0FBMEM7UU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ICAgICAgIGlmICghY29udGVudCkge1xyXG4gICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICB0aGlzLnZpZXdDb250YWluZXJSZWYuY2xlYXIoKTtcclxuXHJcbiAgICAgICAgaWYgKGlzQ29tcG9uZW50KHRoaXMuY29udGVudCkpIHtcclxuICAgICAgICAgICAgY29uc3QgcHJveHkgPVxyXG4gICAgICAgICAgICAgICAgdGhpcy5jb250ZXh0ICYmXHJcbiAgICAgICAgICAgICAgICBuZXcgUHJveHkoKHRoaXMuY29udGV4dCBhcyB1bmtub3duKSBhcyBvYmplY3QsIHtcclxuICAgICAgICAgICAgICAgICAgICBnZXQ6IChfLCBrZXkpID0+IHRoaXMuY29udGV4dD8uW2tleSBhcyBrZXlvZiBDXSxcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICBjb25zdCBpbmplY3RvciA9IHRoaXMuY29udGVudC5jcmVhdGVJbmplY3RvcihcclxuICAgICAgICAgICAgICAgIHRoaXMuaW5qZWN0b3IsXHJcbiAgICAgICAgICAgICAgICAocHJveHkgYXMgdW5rbm93bikgYXMgQyxcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICAgICAgY29uc3QgY29tcG9uZW50RmFjdG9yeSA9IGluamVjdG9yXHJcbiAgICAgICAgICAgICAgICAuZ2V0KENvbXBvbmVudEZhY3RvcnlSZXNvbHZlcilcclxuICAgICAgICAgICAgICAgIC5yZXNvbHZlQ29tcG9uZW50RmFjdG9yeSh0aGlzLmNvbnRlbnQuY29tcG9uZW50KTtcclxuXHJcbiAgICAgICAgICAgIHRoaXMuY29tcG9uZW50UmVmID0gdGhpcy52aWV3Q29udGFpbmVyUmVmLmNyZWF0ZUNvbXBvbmVudChcclxuICAgICAgICAgICAgICAgIGNvbXBvbmVudEZhY3RvcnksXHJcbiAgICAgICAgICAgICAgICAwLFxyXG4gICAgICAgICAgICAgICAgaW5qZWN0b3IsXHJcbiAgICAgICAgICAgICk7XHJcblxyXG4gICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBjb25zdCAkaW1wbGljaXQgPSBjb250ZXh0IGluc3RhbmNlb2YgUG9seW1vcnBoZXVzQ29udGV4dCAmJiBjb250ZXh0LiRpbXBsaWNpdDtcclxuXHJcbiAgICAgICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOnRyaXBsZS1lcXVhbHNcclxuICAgICAgICBpZiAoJGltcGxpY2l0ICE9IG51bGwpIHtcclxuICAgICAgICAgICAgdGhpcy52aWV3UmVmID0gdGhpcy52aWV3Q29udGFpbmVyUmVmLmNyZWF0ZUVtYmVkZGVkVmlldyhcclxuICAgICAgICAgICAgICAgIHRoaXMudGVtcGxhdGUsXHJcbiAgICAgICAgICAgICAgICBjb250ZXh0LFxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBuZ0RvQ2hlY2soKSB7XHJcbiAgICAgICAgaWYgKGlzRGlyZWN0aXZlKHRoaXMuY29udGVudCkpIHtcclxuICAgICAgICAgICAgdGhpcy5jb250ZW50LmNoZWNrKCk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHN0YXRpYyBuZ1RlbXBsYXRlQ29udGV4dEd1YXJkPFQ+KFxyXG4gICAgICAgIF9kaXI6IFBvbHltb3JwaGV1c091dGxldERpcmVjdGl2ZTxUPixcclxuICAgICAgICBfY3R4OiBhbnksXHJcbiAgICApOiBfY3R4IGlzIFBvbHltb3JwaGV1c0NvbnRleHQ8c3RyaW5nPiB7XHJcbiAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBnZXRDb250ZXh0KCk6IHVua25vd24ge1xyXG4gICAgICAgIGlmIChpc1RlbXBsYXRlKHRoaXMuY29udGVudCkgfHwgaXNDb21wb25lbnQodGhpcy5jb250ZW50KSkge1xyXG4gICAgICAgICAgICByZXR1cm4gdGhpcy5jb250ZXh0O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIG5ldyBQb2x5bW9ycGhldXNDb250ZXh0KFxyXG4gICAgICAgICAgICB0eXBlb2YgdGhpcy5jb250ZW50ID09PSAnZnVuY3Rpb24nXHJcbiAgICAgICAgICAgICAgICA/IHRoaXMuY29udGVudCh0aGlzLmNvbnRleHQhKVxyXG4gICAgICAgICAgICAgICAgOiB0aGlzLmNvbnRlbnQsXHJcbiAgICAgICAgKTtcclxuICAgIH1cclxufVxyXG5cclxuZnVuY3Rpb24gaXNEaXJlY3RpdmU8Qz4oXHJcbiAgICBjb250ZW50OiBQb2x5bW9ycGhldXNDb250ZW50PEM+LFxyXG4pOiBjb250ZW50IGlzIFBvbHltb3JwaGV1c1RlbXBsYXRlPEM+IHtcclxuICAgIHJldHVybiBjb250ZW50IGluc3RhbmNlb2YgUG9seW1vcnBoZXVzVGVtcGxhdGU7XHJcbn1cclxuXHJcbmZ1bmN0aW9uIGlzQ29tcG9uZW50PEM+KFxyXG4gICAgY29udGVudDogUG9seW1vcnBoZXVzQ29udGVudDxDPixcclxuKTogY29udGVudCBpcyBQb2x5bW9ycGhldXNDb21wb25lbnQ8YW55LCBDPiB7XHJcbiAgICByZXR1cm4gY29udGVudCBpbnN0YW5jZW9mIFBvbHltb3JwaGV1c0NvbXBvbmVudDtcclxufVxyXG5cclxuZnVuY3Rpb24gaXNUZW1wbGF0ZTxDPihcclxuICAgIGNvbnRlbnQ6IFBvbHltb3JwaGV1c0NvbnRlbnQ8Qz4sXHJcbik6IGNvbnRlbnQgaXMgUG9seW1vcnBoZXVzVGVtcGxhdGU8Qz4gfCBUZW1wbGF0ZVJlZjxDPiB7XHJcbiAgICByZXR1cm4gaXNEaXJlY3RpdmUoY29udGVudCkgfHwgY29udGVudCBpbnN0YW5jZW9mIFRlbXBsYXRlUmVmO1xyXG59XHJcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZX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KTogVGVtcGxhdGVSZWY8dW5rbm93bj4ge1xyXG4gICAgICAgIGlmIChpc0RpcmVjdGl2ZSh0aGlzLmNvbnRlbnQpKSB7XHJcbiAgICAgICAgICAgIHJldHVybiB0aGlzLmNvbnRlbnQudGVtcGxhdGU7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gdGhpcy5jb250ZW50IGluc3RhbmNlb2YgVGVtcGxhdGVSZWYgPyB0aGlzLmNvbnRlbnQgOiB0aGlzLnRlbXBsYXRlUmVmO1xyXG4gICAgfVxyXG5cclxuICAgIG5nT25DaGFuZ2VzKHtjb250ZW50fTogU2ltcGxlQ2hhbmdlcykge1xyXG4gICAgICAgIGNvbnN0IGNvbnRleHQgPSB0aGlzLmdldENvbnRleHQoKTtcclxuXHJcbiAgICAgICAgaWYgKHRoaXMudmlld1JlZikge1xyXG4gICAgICAgICAgICB0aGlzLnZpZXdSZWYuY29udGV4dCA9IGNvbnRleHQ7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBpZiAodGhpcy5jb21wb25lbnRSZWYpIHtcclxuICAgICAgICAgICAgdGhpcy5jb21wb25lbnRSZWYuaW5qZWN0b3IuZ2V0KENoYW5nZURldGVjdG9yUmVmKS5tYXJrRm9yQ2hlY2soKTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGlmICghY29udGVudCkge1xyXG4gICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICB0aGlzLnZpZXdDb250YWluZXJSZWYuY2xlYXIoKTtcclxuXHJcbiAgICAgICAgaWYgKGlzQ29tcG9uZW50KHRoaXMuY29udGVudCkpIHtcclxuICAgICAgICAgICAgY29uc3QgcHJveHkgPVxyXG4gICAgICAgICAgICAgICAgdGhpcy5jb250ZXh0ICYmXHJcbiAgICAgICAgICAgICAgICBuZXcgUHJveHkoKHRoaXMuY29udGV4dCBhcyB1bmtub3duKSBhcyBvYmplY3QsIHtcclxuICAgICAgICAgICAgICAgICAgICBnZXQ6IChfLCBrZXkpID0+IHRoaXMuY29udGV4dD8uW2tleSBhcyBrZXlvZiBDXSxcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICBjb25zdCBpbmplY3RvciA9IHRoaXMuY29udGVudC5jcmVhdGVJbmplY3RvcihcclxuICAgICAgICAgICAgICAgIHRoaXMuaW5qZWN0b3IsXHJcbiAgICAgICAgICAgICAgICAocHJveHkgYXMgdW5rbm93bikgYXMgQyxcclxuICAgICAgICAgICAgKTtcclxuICAgICAgICAgICAgY29uc3QgY29tcG9uZW50RmFjdG9yeSA9IGluamVjdG9yXHJcbiAgICAgICAgICAgICAgICAuZ2V0KENvbXBvbmVudEZhY3RvcnlSZXNvbHZlcilcclxuICAgICAgICAgICAgICAgIC5yZXNvbHZlQ29tcG9uZW50RmFjdG9yeSh0aGlzLmNvbnRlbnQuY29tcG9uZW50KTtcclxuXHJcbiAgICAgICAgICAgIHRoaXMuY29tcG9uZW50UmVmID0gdGhpcy52aWV3Q29udGFpbmVyUmVmLmNyZWF0ZUNvbXBvbmVudChcclxuICAgICAgICAgICAgICAgIGNvbXBvbmVudEZhY3RvcnksXHJcbiAgICAgICAgICAgICAgICAwLFxyXG4gICAgICAgICAgICAgICAgaW5qZWN0b3IsXHJcbiAgICAgICAgICAgICk7XHJcblxyXG4gICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBjb25zdCAkaW1wbGljaXQgPSBjb250ZXh0IGluc3RhbmNlb2YgUG9seW1vcnBoZXVzQ29udGV4dCAmJiBjb250ZXh0LiRpbXBsaWNpdDtcclxuXHJcbiAgICAgICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOnRyaXBsZS1lcXVhbHNcclxuICAgICAgICBpZiAoJGltcGxpY2l0ICE9IG51bGwpIHtcclxuICAgICAgICAgICAgdGhpcy52aWV3UmVmID0gdGhpcy52aWV3Q29udGFpbmVyUmVmLmNyZWF0ZUVtYmVkZGVkVmlldyhcclxuICAgICAgICAgICAgICAgIHRoaXMudGVtcGxhdGUsXHJcbiAgICAgICAgICAgICAgICBjb250ZXh0LFxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBuZ0RvQ2hlY2soKSB7XHJcbiAgICAgICAgaWYgKGlzRGlyZWN0aXZlKHRoaXMuY29udGVudCkpIHtcclxuICAgICAgICAgICAgdGhpcy5jb250ZW50LmNoZWNrKCk7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHN0YXRpYyBuZ1RlbXBsYXRlQ29udGV4dEd1YXJkPFQ+KFxyXG4gICAgICAgIF9kaXI6IFBvbHltb3JwaGV1c091dGxldERpcmVjdGl2ZTxUPixcclxuICAgICAgICBfY3R4OiBhbnksXHJcbiAgICApOiBfY3R4IGlzIFBvbHltb3JwaGV1c0NvbnRleHQ8c3RyaW5nPiB7XHJcbiAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBnZXRDb250ZXh0KCk6IHVua25vd24ge1xyXG4gICAgICAgIGlmIChpc1RlbXBsYXRlKHRoaXMuY29udGVudCkgfHwgaXNDb21wb25lbnQodGhpcy5jb250ZW50KSkge1xyXG4gICAgICAgICAgICByZXR1cm4gdGhpcy5jb250ZXh0O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIG5ldyBQb2x5bW9ycGhldXNDb250ZXh0KFxyXG4gICAgICAgICAgICB0eXBlb2YgdGhpcy5jb250ZW50ID09PSAnZnVuY3Rpb24nXHJcbiAgICAgICAgICAgICAgICA/IHRoaXMuY29udGVudCh0aGlzLmNvbnRleHQhKVxyXG4gICAgICAgICAgICAgICAgOiB0aGlzLmNvbnRlbnQsXHJcbiAgICAgICAgKTtcclxuICAgIH1cclxufVxyXG5cclxuZnVuY3Rpb24gaXNEaXJlY3RpdmU8Qz4oXHJcbiAgICBjb250ZW50OiBQb2x5bW9ycGhldXNDb250ZW50PEM+LFxyXG4pOiBjb250ZW50IGlzIFBvbHltb3JwaGV1c1RlbXBsYXRlPEM+IHtcclxuICAgIHJldHVybiBjb250ZW50IGluc3RhbmNlb2YgUG9seW1vcnBoZXVzVGVtcGxhdGU7XHJcbn1cclxuXHJcbmZ1bmN0aW9uIGlzQ29tcG9uZW50PEM+KFxyXG4gICAgY29udGVudDogUG9seW1vcnBoZXVzQ29udGVudDxDPixcclxuKTogY29udGVudCBpcyBQb2x5bW9ycGhldXNDb21wb25lbnQ8YW55LCBDPiB7XHJcbiAgICByZXR1cm4gY29udGVudCBpbnN0YW5jZW9mIFBvbHltb3JwaGV1c0NvbXBvbmVudDtcclxufVxyXG5cclxuZnVuY3Rpb24gaXNUZW1wbGF0ZTxDPihcclxuICAgIGNvbnRlbnQ6IFBvbHltb3JwaGV1c0NvbnRlbnQ8Qz4sXHJcbik6IGNvbnRlbnQgaXMgUG9seW1vcnBoZXVzVGVtcGxhdGU8Qz4gfCBUZW1wbGF0ZVJlZjxDPiB7XHJcbiAgICByZXR1cm4gaXNEaXJlY3RpdmUoY29udGVudCkgfHwgY29udGVudCBpbnN0YW5jZW9mIFRlbXBsYXRlUmVmO1xyXG59XHJcbiJdfQ== |
{ | ||
"name": "@tinkoff/ng-polymorpheus", | ||
"version": "4.0.7", | ||
"version": "4.0.8", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/core": ">=12.0.0" |
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
99681