ets-fe-ng-sdk 19.0.38 → 19.0.39
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/fesm2022/ets-fe-ng-sdk.mjs +5 -3
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/lib/Services/utility.service.d.ts +1 -1
- package/lib/Shared/components/btn/btn.component.d.ts +5 -5
- package/lib/Shared/components/index-comp-layout/index-comp-layout.component.d.ts +1 -1
- package/lib/Shared/components/info-dialog/info-dialog.component.d.ts +1 -1
- package/lib/Shared/components/phone-number/phone-number.component.d.ts +4 -4
- package/lib/Shared/components/table/table-https/table-https.component.d.ts +3 -3
- package/lib/Shared/components/table/table.pipe.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { FormControl, Validators, FormArray, FormGroup, FormBuilder, NG_VALUE_AC
|
|
|
3
3
|
import 'zone.js/plugins/zone-error';
|
|
4
4
|
import { cloneDeep, clone, uniqBy, uniq, isEqual, isEmpty } from 'lodash-es';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { signal, computed, Injectable, inject, APP_INITIALIZER, isDevMode, Pipe, NgModule, input, Directive, booleanAttribute,
|
|
6
|
+
import { signal, computed, Injectable, inject, APP_INITIALIZER, isDevMode, Pipe, NgModule, input, Directive, booleanAttribute, ChangeDetectorRef, model, output, effect, Component, ChangeDetectionStrategy, Input, ViewChild, EventEmitter, Output, forwardRef, HostListener, viewChild, linkedSignal, Inject, HostBinding, DestroyRef, contentChild, ElementRef, InjectionToken, ErrorHandler } from '@angular/core';
|
|
7
7
|
import * as i1 from '@angular/common';
|
|
8
8
|
import { Location, CurrencyPipe, TitleCasePipe, DatePipe, DecimalPipe, CommonModule, NgClass, JsonPipe, AsyncPipe, NgIf, NgFor, UpperCasePipe, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NgStyle } from '@angular/common';
|
|
9
9
|
import { faPlus, faSlidersH, faMoneyCheck, faCancel, faCheck, faListAlt, faClone, faCogs, faTrash, faDownload, faEdit, faFileExport, faFile, faFilter, faPenFancy, faUserShield, faHistory, faHome, faFileImport, faInfoCircle, faLock, faArrowRight, faPause, faPen, faArrowLeft, faRecycle, faSave, faSearch, faEye, faBellSlash, faUpload, faUnlock, faUsers, faStop, faTruck, faTag, faReceipt, faBank, faArrowsH, faPlay, faPercent, faHandshake, faCircleExclamation, faTable, faSpoon } from '@fortawesome/free-solid-svg-icons';
|
|
@@ -3881,7 +3881,7 @@ class BtnComponent {
|
|
|
3881
3881
|
}
|
|
3882
3882
|
constructor() {
|
|
3883
3883
|
this.btnS = inject(BtnService);
|
|
3884
|
-
this.
|
|
3884
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
3885
3885
|
/** To be passed when to check for specific invalid form fields */
|
|
3886
3886
|
this.formSchema = input();
|
|
3887
3887
|
this.debug = input();
|
|
@@ -3929,7 +3929,7 @@ class BtnComponent {
|
|
|
3929
3929
|
this.class = input();
|
|
3930
3930
|
this.form = input();
|
|
3931
3931
|
this.form$ = new ReplaySubject(1);
|
|
3932
|
-
this.formState = toSignal(this.form$.pipe(switchMap((form) => (form ? form.events.pipe(map$1(() => form.valid == true)) : of(null)))), { initialValue: this.form()?.valid === true });
|
|
3932
|
+
this.formState = toSignal(this.form$.pipe(switchMap((form) => (this.form() ? this.form().events.pipe(map$1(() => this.form().valid == true)) : of(null)))), { initialValue: this.form()?.valid === true });
|
|
3933
3933
|
this.forms = input();
|
|
3934
3934
|
this.forms$ = new ReplaySubject(1);
|
|
3935
3935
|
this.formsState = toSignal(this.forms$.pipe(switchMap((forms) => forms?.length
|
|
@@ -3992,9 +3992,11 @@ class BtnComponent {
|
|
|
3992
3992
|
});
|
|
3993
3993
|
effect(() => {
|
|
3994
3994
|
this.form$.next(this.form() || null);
|
|
3995
|
+
this.cdr.detectChanges();
|
|
3995
3996
|
});
|
|
3996
3997
|
effect(() => {
|
|
3997
3998
|
this.forms$.next(this.forms() || null);
|
|
3999
|
+
this.cdr.detectChanges();
|
|
3998
4000
|
});
|
|
3999
4001
|
}
|
|
4000
4002
|
ngAfterViewChecked() {
|