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.
- package/README.md +11 -0
- package/esm2020/lib/animations/component-animations.mjs +29 -2
- package/esm2020/lib/services/main.service.mjs +22 -68
- package/esm2020/lib/virtual-scroll/virtual-scroll.component.mjs +118 -35
- package/esm2020/lib/zgrid/zgrid.binding.directive.mjs +27 -4
- package/esm2020/lib/zgrid/zgrid.component.mjs +4 -2
- package/esm2020/lib/zselectmultiple/zselectmultiple.component.mjs +12 -14
- package/esm2020/lib/ztree/ztree.component.mjs +3 -3
- package/fesm2015/mmhglobal-dynamicform.mjs +201 -116
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +200 -116
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/animations/component-animations.d.ts +2 -0
- package/lib/virtual-scroll/virtual-scroll.component.d.ts +15 -4
- package/lib/zselectmultiple/zselectmultiple.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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:
|
|
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
|
-
|
|
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
|
}
|