mmhglobal-dynamicform 2.19.0 → 2.20.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 +4 -0
- package/esm2020/lib/mmhglobal-dynamicform.module.mjs +1 -6
- package/esm2020/lib/virtual-scroll/virtual-scroll.component.mjs +28 -22
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/mmhglobal-dynamicform.mjs +82 -273
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +81 -273
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/mmhglobal-dynamicform.module.d.ts +72 -73
- package/lib/virtual-scroll/virtual-scroll.component.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2020/lib/zquerybuilder/zquerybuilder.component.mjs +0 -210
- package/lib/zquerybuilder/zquerybuilder.component.d.ts +0 -48
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/********** Angular **********/
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
|
-
import { QueryBuilderConfig, QueryBuilderClassNames, QueryBuilderComponent } from 'angular2-query-builder';
|
|
5
|
-
/********** Component & Service **********/
|
|
6
|
-
import { FieldService, ZComponentProperties, ZField, ZGroup, WebApiService, ResourceApiService } from 'mmhglobal-zcore';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ZquerybuilderComponent implements OnInit {
|
|
9
|
-
private fieldService;
|
|
10
|
-
private resourceApiService;
|
|
11
|
-
private webApiService;
|
|
12
|
-
queryBuilder: QueryBuilderComponent;
|
|
13
|
-
classNames: QueryBuilderClassNames;
|
|
14
|
-
data: ZField;
|
|
15
|
-
group: ZGroup;
|
|
16
|
-
form: FormGroup;
|
|
17
|
-
qbItems: {};
|
|
18
|
-
componentProperties: ZComponentProperties;
|
|
19
|
-
queryCtrl: any;
|
|
20
|
-
currentConfig: QueryBuilderConfig;
|
|
21
|
-
allowRuleset: boolean;
|
|
22
|
-
allowCollapse: boolean;
|
|
23
|
-
persistValueOnFieldChange: boolean;
|
|
24
|
-
isDisabled: boolean;
|
|
25
|
-
rule: any;
|
|
26
|
-
value: any;
|
|
27
|
-
private fields;
|
|
28
|
-
filters: any;
|
|
29
|
-
constructor(fieldService: FieldService, resourceApiService: ResourceApiService, webApiService: WebApiService);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
completeRule(isUndo: boolean, queryValue: any): void;
|
|
32
|
-
bootstrapClassNames: QueryBuilderClassNames;
|
|
33
|
-
conditionList: Array<string>;
|
|
34
|
-
getOperators(defaultOperatorList: any, rule: any): any;
|
|
35
|
-
getOptionList(optionsList: any, rule: any): any;
|
|
36
|
-
setQueryValue(queryValueString: string): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ZquerybuilderComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZquerybuilderComponent, "app-zquerybuilder", never, { "classNames": "classNames"; "data": "data"; "group": "group"; "form": "form"; }, {}, never, never>;
|
|
39
|
-
}
|
|
40
|
-
export interface QueryRule {
|
|
41
|
-
condition: string;
|
|
42
|
-
rules: QueryRule[];
|
|
43
|
-
field: string;
|
|
44
|
-
type: string;
|
|
45
|
-
operator: string;
|
|
46
|
-
value: string[];
|
|
47
|
-
}
|
|
48
|
-
export declare function toQueryRule(queryBuilderModel: any): QueryRule;
|