mmhglobal-dynamicform 2.1.1 → 2.2.0

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.
@@ -10,6 +10,8 @@ export declare class ZComponentService {
10
10
  private translateService;
11
11
  private zcoreService;
12
12
  environment: any;
13
+ private componentCounter;
14
+ private componentLoadSubject;
13
15
  constructor(componentObjectService: ComponentObjectService, translateService: TranslationService, zcoreService: ZCoreService);
14
16
  isSkipComponentType(componentType: string): boolean;
15
17
  loadComponent(componentFactoryResolver: ComponentFactoryResolver, fieldElement: FieldElementDirective, field: any, group: any, form: FormGroup, containerField: any): void;
@@ -31,6 +33,9 @@ export declare class ZComponentService {
31
33
  localizeDateTimeByIgnoringTimeZone(value: string, data: ZField): Date;
32
34
  private removeTimeZoneAndConvertToISOString;
33
35
  private convertOffsetMinToHour;
36
+ get componentLoaded$(): Observable<void>;
37
+ incrementComponentCounter(): void;
38
+ decrementComponentCounter(): void;
34
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ZComponentService, never>;
35
40
  static ɵprov: i0.ɵɵInjectableDeclaration<ZComponentService>;
36
41
  }
@@ -15,6 +15,7 @@ export declare class ZselectmultipleComponent extends InputFieldBase implements
15
15
  private resourceApiService;
16
16
  private webApiService;
17
17
  private cacheService;
18
+ componentService: ZComponentService;
18
19
  comboboxComponent: ComboBoxComponent;
19
20
  multiselect: MultiSelectComponent;
20
21
  multiselecttree: MultiSelectTreeComponent;
@@ -37,10 +38,11 @@ export declare class ZselectmultipleComponent extends InputFieldBase implements
37
38
  parsedItemsData: any[];
38
39
  dataInfo: {};
39
40
  filterSettings: DropDownFilterSettings;
40
- constructor(resourceApiService: ResourceApiService, webApiService: WebApiService, cacheService: CacheService, compService: ZComponentService);
41
+ constructor(resourceApiService: ResourceApiService, webApiService: WebApiService, cacheService: CacheService, componentService: ZComponentService);
41
42
  ngOnDestroy(): void;
42
43
  virtual: any;
43
44
  ngOnInit(): void;
45
+ ngAfterViewInit(): void;
44
46
  private autoSelectFirstOption;
45
47
  lazyLoadDataOptions(): Observable<any>;
46
48
  getInfiniteData(event: {
@@ -13,6 +13,7 @@ export declare class ZudfComponent extends ContainerFieldBase implements ZCompon
13
13
  private fieldService;
14
14
  private toastService;
15
15
  private componentErrorHandlerService;
16
+ componentService: ZComponentService;
16
17
  private cdr;
17
18
  componentProperties: ZComponentProperties;
18
19
  initialDataValue: any;
@@ -27,7 +28,7 @@ export declare class ZudfComponent extends ContainerFieldBase implements ZCompon
27
28
  readonly prefixCustomAddButtonOnClick = "_CustomAddButtonOnClick";
28
29
  readonly prefixCustomResetButtonOnClick = "_CustomResetButtonOnClick";
29
30
  readonly prefixCustomRemoveButtonOnClick = "_CustomRemoveButtonOnClick";
30
- constructor(compService: ZComponentService, alertService: AlertService, authService: AuthService, fieldService: FieldService, toastService: ToastService, componentErrorHandlerService: ComponentErrorHandlerService, cdr: ChangeDetectorRef);
31
+ constructor(alertService: AlertService, authService: AuthService, fieldService: FieldService, toastService: ToastService, componentErrorHandlerService: ComponentErrorHandlerService, componentService: ZComponentService, cdr: ChangeDetectorRef);
31
32
  ngOnInit(): void;
32
33
  /**
33
34
  * Renders the field element and sets up the form.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmhglobal-dynamicform",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.1"