@ngx-formly/core 5.10.24 → 5.10.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ngx-formly-core.umd.js +1 -0
- package/bundles/ngx-formly-core.umd.js.map +1 -1
- package/bundles/ngx-formly-core.umd.min.js +1 -1
- package/bundles/ngx-formly-core.umd.min.js.map +1 -1
- package/esm2015/lib/utils.js +3 -1
- package/esm5/lib/utils.js +3 -1
- package/fesm2015/ngx-formly-core.js +2 -1
- package/fesm2015/ngx-formly-core.js.map +1 -1
- package/fesm5/ngx-formly-core.js +2 -1
- package/fesm5/ngx-formly-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/ngx-formly-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
2
|
-
import { Injectable, InjectionToken, NgModule, ANALYZE_FOR_ENTRY_COMPONENTS, Inject, Optional, Component, Input, ChangeDetectionStrategy, ComponentFactoryResolver, Injector, ChangeDetectorRef, Directive, EventEmitter, NgZone, Attribute, Output, ViewChild, Renderer2, ElementRef, ViewContainerRef, defineInjectable, inject, INJECTOR } from '@angular/core';
|
|
2
|
+
import { TemplateRef, Injectable, InjectionToken, NgModule, ANALYZE_FOR_ENTRY_COMPONENTS, Inject, Optional, Component, Input, ChangeDetectionStrategy, ComponentFactoryResolver, Injector, ChangeDetectorRef, Directive, EventEmitter, NgZone, Attribute, Output, ViewChild, Renderer2, ElementRef, ViewContainerRef, defineInjectable, inject, INJECTOR } from '@angular/core';
|
|
3
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
4
|
import { debounceTime, switchMap, distinctUntilChanged, take, startWith, map } from 'rxjs/operators';
|
|
5
5
|
import { AbstractControl, FormArray, FormGroup, FormControl, FormGroupDirective, Validators } from '@angular/forms';
|
|
@@ -248,6 +248,7 @@ function isPromise(obj) {
|
|
|
248
248
|
function clone(value) {
|
|
249
249
|
if (!isObject(value)
|
|
250
250
|
|| isObservable(value)
|
|
251
|
+
|| (value instanceof TemplateRef)
|
|
251
252
|
|| /* instanceof SafeHtmlImpl */ value.changingThisBreaksApplicationSecurity
|
|
252
253
|
|| ['RegExp', 'FileList', 'File', 'Blob'].indexOf(value.constructor.name) !== -1) {
|
|
253
254
|
return value;
|