@syncfusion/ej2-angular-querybuilder 31.1.17 → 31.1.22-ngcc
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/@syncfusion/ej2-angular-querybuilder.es5.js +277 -0
- package/@syncfusion/ej2-angular-querybuilder.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-querybuilder.js +249 -0
- package/@syncfusion/ej2-angular-querybuilder.js.map +1 -0
- package/LICENSE +10 -0
- package/dist/ej2-angular-querybuilder.umd.js +301 -0
- package/dist/ej2-angular-querybuilder.umd.js.map +1 -0
- package/dist/ej2-angular-querybuilder.umd.min.js +11 -0
- package/dist/ej2-angular-querybuilder.umd.min.js.map +1 -0
- package/ej2-angular-querybuilder.d.ts +5 -0
- package/ej2-angular-querybuilder.metadata.json +1 -0
- package/package.json +16 -60
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/index.d.ts +5 -5
- package/src/query-builder/columns.directive.d.ts +94 -99
- package/src/query-builder/querybuilder-all.module.d.ts +7 -13
- package/src/query-builder/querybuilder.component.d.ts +45 -48
- package/src/query-builder/querybuilder.module.d.ts +5 -12
- package/CHANGELOG.md +0 -781
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -6
- package/esm2020/src/query-builder/columns.directive.mjs +0 -72
- package/esm2020/src/query-builder/querybuilder-all.module.mjs +0 -29
- package/esm2020/src/query-builder/querybuilder.component.mjs +0 -78
- package/esm2020/src/query-builder/querybuilder.module.mjs +0 -34
- package/esm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs +0 -204
- package/fesm2015/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs +0 -204
- package/fesm2020/syncfusion-ej2-angular-querybuilder.mjs.map +0 -1
- package/syncfusion-ej2-angular-querybuilder.d.ts +0 -5
|
@@ -1,99 +1,94 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* <e-column field='
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
*
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
*
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*
|
|
41
|
-
* @
|
|
42
|
-
* @
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
*
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
*
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
*
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
*
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
*
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
*
|
|
78
|
-
* @
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
*
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
|
|
96
|
-
constructor();
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsDirective, never>;
|
|
98
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnsDirective, "ejs-querybuilder>e-columns", never, {}, {}, ["children"]>;
|
|
99
|
-
}
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
/**
|
|
4
|
+
* `e-column` directive represent a column of the Angular QueryBuilder.
|
|
5
|
+
* It must be contained in a QueryBuilder component(`ejs-querybuilder`).
|
|
6
|
+
* ```html
|
|
7
|
+
* <ejs-querybuilder [dataSource]='data'>
|
|
8
|
+
* <e-columns>
|
|
9
|
+
* <e-column field='ID' label='ID' type='number'></e-column>
|
|
10
|
+
* <e-column field='Date' label='Date' type='date' format='dd/MM/yyyy'></e-column>
|
|
11
|
+
* </e-columns>
|
|
12
|
+
* </ejs-querybuilder>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
|
|
16
|
+
private viewContainerRef;
|
|
17
|
+
directivePropList: any;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the types in columns field.
|
|
20
|
+
* @default null
|
|
21
|
+
*/
|
|
22
|
+
type: any;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the category for columns.
|
|
25
|
+
* @default null
|
|
26
|
+
*/
|
|
27
|
+
category: any;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the sub fields in columns.
|
|
30
|
+
* @default null
|
|
31
|
+
*/
|
|
32
|
+
columns: any;
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the fields in columns.
|
|
35
|
+
* @default null
|
|
36
|
+
*/
|
|
37
|
+
field: any;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the date format for columns.
|
|
40
|
+
* @asptype string
|
|
41
|
+
* @blazortype string
|
|
42
|
+
* @default null
|
|
43
|
+
*/
|
|
44
|
+
format: any;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the labels name in columns.
|
|
47
|
+
* @default null
|
|
48
|
+
*/
|
|
49
|
+
label: any;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the operators in columns.
|
|
52
|
+
* @default null
|
|
53
|
+
*/
|
|
54
|
+
operators: any;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the step value(numeric textbox) for columns.
|
|
57
|
+
* @default null
|
|
58
|
+
*/
|
|
59
|
+
step: any;
|
|
60
|
+
/**
|
|
61
|
+
* Specifies the validation for columns (text, number and date).
|
|
62
|
+
* @default { isRequired: true , min: 0, max: Number.MAX_VALUE }
|
|
63
|
+
*/
|
|
64
|
+
validation: any;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies the default value for columns.
|
|
67
|
+
* @default null
|
|
68
|
+
*/
|
|
69
|
+
value: any;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies the values in columns or bind the values from sub controls.
|
|
72
|
+
* @default null
|
|
73
|
+
*/
|
|
74
|
+
values: any;
|
|
75
|
+
/**
|
|
76
|
+
* Specifies the rule template for the field with any other widgets.
|
|
77
|
+
* @default null
|
|
78
|
+
* @asptype string
|
|
79
|
+
*/
|
|
80
|
+
ruleTemplate: any;
|
|
81
|
+
/**
|
|
82
|
+
* Specifies the template for value field such as slider or any other widgets.
|
|
83
|
+
* @default null
|
|
84
|
+
*/
|
|
85
|
+
template: any;
|
|
86
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Column Array Directive
|
|
90
|
+
* @private
|
|
91
|
+
*/
|
|
92
|
+
export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
|
|
93
|
+
constructor();
|
|
94
|
+
}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import { ValueProvider } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
export declare class QueryBuilderAllModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderAllModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QueryBuilderAllModule, never, [typeof i1.CommonModule, typeof i2.QueryBuilderModule], [typeof i2.QueryBuilderModule]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<QueryBuilderAllModule>;
|
|
13
|
-
}
|
|
1
|
+
import { ValueProvider } from '@angular/core';
|
|
2
|
+
export declare const QueryLibraryService: ValueProvider;
|
|
3
|
+
/**
|
|
4
|
+
* NgModule definition for the QueryBuilder component with providers.
|
|
5
|
+
*/
|
|
6
|
+
export declare class QueryBuilderAllModule {
|
|
7
|
+
}
|
|
@@ -1,48 +1,45 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core';
|
|
2
|
-
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { QueryBuilder } from '@syncfusion/ej2-querybuilder';
|
|
4
|
-
import { ColumnsDirective } from './columns.directive';
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
* @
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QueryBuilderComponent, "ejs-querybuilder", never, { "addRuleToNewGroups": "addRuleToNewGroups"; "allowDragAndDrop": "allowDragAndDrop"; "allowValidation": "allowValidation"; "autoSelectField": "autoSelectField"; "autoSelectOperator": "autoSelectOperator"; "columns": "columns"; "cssClass": "cssClass"; "dataSource": "dataSource"; "displayMode": "displayMode"; "enableNotCondition": "enableNotCondition"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enableSeparateConnector": "enableSeparateConnector"; "fieldMode": "fieldMode"; "fieldModel": "fieldModel"; "headerTemplate": "headerTemplate"; "height": "height"; "immediateModeDelay": "immediateModeDelay"; "locale": "locale"; "matchCase": "matchCase"; "maxGroupCount": "maxGroupCount"; "operatorModel": "operatorModel"; "readonly": "readonly"; "rule": "rule"; "separator": "separator"; "showButtons": "showButtons"; "sortDirection": "sortDirection"; "summaryView": "summaryView"; "valueModel": "valueModel"; "width": "width"; }, { "actionBegin": "actionBegin"; "beforeChange": "beforeChange"; "change": "change"; "created": "created"; "dataBound": "dataBound"; "ruleChange": "ruleChange"; "drag": "drag"; "dragStart": "dragStart"; "drop": "drop"; }, ["headerTemplate", "childColumns"], never>;
|
|
48
|
-
}
|
|
1
|
+
import { ElementRef, ViewContainerRef, QueryList, Renderer2, Injector } from '@angular/core';
|
|
2
|
+
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { QueryBuilder } from '@syncfusion/ej2-querybuilder';
|
|
4
|
+
import { ColumnsDirective } from './columns.directive';
|
|
5
|
+
export declare const inputs: string[];
|
|
6
|
+
export declare const outputs: string[];
|
|
7
|
+
export declare const twoWays: string[];
|
|
8
|
+
/**
|
|
9
|
+
* Represents the EJ2 Angular QueryBuilder Component.
|
|
10
|
+
* ```html
|
|
11
|
+
* <ejs-querybuilder></ejs-querybuilder>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare class QueryBuilderComponent extends QueryBuilder implements IComponentBase {
|
|
15
|
+
private ngEle;
|
|
16
|
+
private srenderer;
|
|
17
|
+
private viewContainerRef;
|
|
18
|
+
private injector;
|
|
19
|
+
context: any;
|
|
20
|
+
tagObjects: any;
|
|
21
|
+
actionBegin: any;
|
|
22
|
+
beforeChange: any;
|
|
23
|
+
change: any;
|
|
24
|
+
created: any;
|
|
25
|
+
dataBound: any;
|
|
26
|
+
ruleChange: any;
|
|
27
|
+
drag: any;
|
|
28
|
+
dragStart: any;
|
|
29
|
+
drop: any;
|
|
30
|
+
childColumns: QueryList<ColumnsDirective>;
|
|
31
|
+
tags: string[];
|
|
32
|
+
/**
|
|
33
|
+
* Specifies the template for the header with any other widgets.
|
|
34
|
+
* @default null
|
|
35
|
+
* @asptype string
|
|
36
|
+
*/
|
|
37
|
+
headerTemplate: any;
|
|
38
|
+
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngAfterViewInit(): void;
|
|
41
|
+
ngOnDestroy(): void;
|
|
42
|
+
ngAfterContentChecked(): void;
|
|
43
|
+
registerEvents: (eventList: string[]) => void;
|
|
44
|
+
addTwoWay: (propList: string[]) => void;
|
|
45
|
+
}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* NgModule definition for the QueryBuilder component.
|
|
7
|
-
*/
|
|
8
|
-
export declare class QueryBuilderModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QueryBuilderModule, [typeof i1.QueryBuilderComponent, typeof i2.ColumnDirective, typeof i2.ColumnsDirective], [typeof i3.CommonModule], [typeof i1.QueryBuilderComponent, typeof i2.ColumnDirective, typeof i2.ColumnsDirective]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<QueryBuilderModule>;
|
|
12
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* NgModule definition for the QueryBuilder component.
|
|
3
|
+
*/
|
|
4
|
+
export declare class QueryBuilderModule {
|
|
5
|
+
}
|