mmhglobal-dynamicform 2.15.2 → 2.16.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.
@@ -1 +1,3 @@
1
1
  export declare const hideAndShowVerticalAnimation: import("@angular/animations").AnimationTriggerMetadata;
2
+ export declare const rotateAnimation: import("@angular/animations").AnimationTriggerMetadata;
3
+ export declare const collapseAnimation: import("@angular/animations").AnimationTriggerMetadata;
@@ -5,28 +5,39 @@ import { OnInit } from "@angular/core";
5
5
  /********** Component & Service **********/
6
6
  import { ContainerFieldBase } from "../components/containerfieldbase.component";
7
7
  import { ZComponentService } from "../services/zcomponent.service";
8
- import { ZComponent } from "mmhglobal-zcore";
8
+ import { DataSetResult, FontAweSomeService, VirtualScrollOption, ZComponent } from "mmhglobal-zcore";
9
9
  import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class VirtualScrollComponent extends ContainerFieldBase implements ZComponent, OnInit {
12
+ fontAweSomeService: FontAweSomeService;
12
13
  viewPort: CdkVirtualScrollViewport;
14
+ collapsedGroupBy: any[];
15
+ groupByValueToExpand: string;
16
+ collapsedGroupBy_FirstNodeIndexList: number[];
17
+ private fullDataItems;
13
18
  dataItems: Array<any>;
14
19
  pageSize: number;
15
20
  pageFetched: any[];
16
- options: any;
21
+ options: VirtualScrollOption;
17
22
  footerFields: any[];
18
- constructor(componentService: ZComponentService);
23
+ constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService);
19
24
  ngOnInit(): void;
20
25
  ngAfterViewInit(): void;
21
26
  scrollToTop(): void;
22
- setData(): void;
27
+ private setupComponent;
23
28
  appendData(dataItems: Array<any>): void;
24
29
  private setupDataItems;
30
+ setData(dataSetResult: DataSetResult): void;
25
31
  private populateListData;
26
32
  private fetchData;
27
33
  private updateDataByIndex;
28
34
  private updateViewPortData;
29
35
  setupFooter(): void;
36
+ getGroupByLabelTemplate(dataItem: any, options: any): string;
37
+ groupByOnClick(groupByValue: string): void;
38
+ private computeDataItems;
39
+ expandAll(): void;
40
+ expandByGroupByValues(groupByValue: Array<string>): void;
30
41
  static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScrollComponent, never>;
31
42
  static ɵcmp: i0.ɵɵComponentDeclaration<VirtualScrollComponent, "app-virtual-scroll", never, {}, {}, never, never>;
32
43
  }
@@ -95,6 +95,7 @@ export declare class ZselectmultipleComponent extends InputFieldBase implements
95
95
  private setupDataItems;
96
96
  private populateDataWithoutHierarchy;
97
97
  setDefaultExpandable(): void;
98
+ private afterLoadzDataOptions;
98
99
  static ɵfac: i0.ɵɵFactoryDeclaration<ZselectmultipleComponent, never>;
99
100
  static ɵcmp: i0.ɵɵComponentDeclaration<ZselectmultipleComponent, "app-zselectmultiple", never, {}, {}, never, never>;
100
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmhglobal-dynamicform",
3
- "version": "2.15.2",
3
+ "version": "2.16.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.1"