ngx-angular-query-builder 18.0.0 → 20.0.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.
Files changed (31) hide show
  1. package/fesm2022/ngx-angular-query-builder.mjs +72 -45
  2. package/fesm2022/ngx-angular-query-builder.mjs.map +1 -1
  3. package/index.d.ts +342 -5
  4. package/package.json +4 -5
  5. package/esm2022/lib/ngx-angular-query-builder.module.mjs +0 -68
  6. package/esm2022/lib/query-builder/query-arrow-icon.directive.mjs +0 -14
  7. package/esm2022/lib/query-builder/query-builder.component.mjs +0 -758
  8. package/esm2022/lib/query-builder/query-builder.interfaces.mjs +0 -2
  9. package/esm2022/lib/query-builder/query-button-group.directive.mjs +0 -14
  10. package/esm2022/lib/query-builder/query-empty-warning.directive.mjs +0 -14
  11. package/esm2022/lib/query-builder/query-entity.directive.mjs +0 -14
  12. package/esm2022/lib/query-builder/query-field.directive.mjs +0 -14
  13. package/esm2022/lib/query-builder/query-input.directive.mjs +0 -28
  14. package/esm2022/lib/query-builder/query-operator.directive.mjs +0 -14
  15. package/esm2022/lib/query-builder/query-remove-button.directive.mjs +0 -14
  16. package/esm2022/lib/query-builder/query-switch-group.directive.mjs +0 -14
  17. package/esm2022/ngx-angular-query-builder.mjs +0 -5
  18. package/esm2022/public-api.mjs +0 -16
  19. package/lib/ngx-angular-query-builder.module.d.ts +0 -18
  20. package/lib/query-builder/query-arrow-icon.directive.d.ts +0 -8
  21. package/lib/query-builder/query-builder.component.d.ts +0 -129
  22. package/lib/query-builder/query-builder.interfaces.d.ts +0 -143
  23. package/lib/query-builder/query-button-group.directive.d.ts +0 -8
  24. package/lib/query-builder/query-empty-warning.directive.d.ts +0 -8
  25. package/lib/query-builder/query-entity.directive.d.ts +0 -8
  26. package/lib/query-builder/query-field.directive.d.ts +0 -8
  27. package/lib/query-builder/query-input.directive.d.ts +0 -12
  28. package/lib/query-builder/query-operator.directive.d.ts +0 -8
  29. package/lib/query-builder/query-remove-button.directive.d.ts +0 -8
  30. package/lib/query-builder/query-switch-group.directive.d.ts +0 -8
  31. package/public-api.d.ts +0 -12
package/index.d.ts CHANGED
@@ -1,5 +1,342 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngx-angular-query-builder" />
5
- export * from './public-api';
1
+ import * as i12 from '@angular/forms';
2
+ import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
3
+ import * as i0 from '@angular/core';
4
+ import { TemplateRef, OnChanges, QueryList, ElementRef, ChangeDetectorRef, SimpleChanges } from '@angular/core';
5
+ import * as i11 from '@angular/common';
6
+
7
+ interface RuleSet {
8
+ condition: string;
9
+ rules: Array<RuleSet | Rule | any>;
10
+ collapsed?: boolean;
11
+ isChild?: boolean;
12
+ }
13
+ interface Rule {
14
+ field: string;
15
+ value?: any;
16
+ operator?: string;
17
+ entity?: string;
18
+ }
19
+ interface Option {
20
+ name: string;
21
+ value: any;
22
+ }
23
+ interface FieldMap {
24
+ [key: string]: Field;
25
+ }
26
+ interface Field {
27
+ name: string;
28
+ value?: string;
29
+ type: string;
30
+ nullable?: boolean;
31
+ options?: Option[];
32
+ operators?: string[];
33
+ defaultValue?: any;
34
+ defaultOperator?: any;
35
+ entity?: string;
36
+ validator?: (rule: Rule, parent: RuleSet) => any | null;
37
+ }
38
+ interface LocalRuleMeta {
39
+ ruleset: boolean;
40
+ invalid: boolean;
41
+ }
42
+ interface EntityMap {
43
+ [key: string]: Entity;
44
+ }
45
+ interface Entity {
46
+ name: string;
47
+ value?: string;
48
+ defaultField?: any;
49
+ }
50
+ interface QueryBuilderClassNames {
51
+ arrowIconButton?: string;
52
+ arrowIcon?: string;
53
+ removeIcon?: string;
54
+ addIcon?: string;
55
+ button?: string;
56
+ buttonGroup?: string;
57
+ removeButton?: string;
58
+ removeButtonSize?: string;
59
+ switchRow?: string;
60
+ switchGroup?: string;
61
+ switchLabel?: string;
62
+ switchRadio?: string;
63
+ switchControl?: string;
64
+ rightAlign?: string;
65
+ transition?: string;
66
+ collapsed?: string;
67
+ treeContainer?: string;
68
+ tree?: string;
69
+ row?: string;
70
+ connector?: string;
71
+ rule?: string;
72
+ ruleSet?: string;
73
+ invalidRuleSet?: string;
74
+ emptyWarning?: string;
75
+ fieldControl?: string;
76
+ fieldControlSize?: string;
77
+ entityControl?: string;
78
+ entityControlSize?: string;
79
+ operatorControl?: string;
80
+ operatorControlSize?: string;
81
+ inputControl?: string;
82
+ inputControlSize?: string;
83
+ }
84
+ interface QueryBuilderConfig {
85
+ fields: FieldMap;
86
+ entities?: EntityMap;
87
+ allowEmptyRulesets?: boolean;
88
+ getOperators?: (fieldName: string, field: Field) => string[];
89
+ getInputType?: (field: string, operator: string) => string;
90
+ getOptions?: (field: string) => Option[];
91
+ addRuleSet?: (parent: RuleSet) => void;
92
+ addRule?: (parent: RuleSet) => void;
93
+ removeRuleSet?: (ruleset: RuleSet, parent?: RuleSet) => void;
94
+ removeRule?: (rule: Rule, parent: RuleSet) => void;
95
+ coerceValueForOperator?: (operator: string, value: any, rule: Rule) => any;
96
+ calculateFieldChangeValue?: (currentField: Field, nextField: Field, currentValue: any) => any;
97
+ }
98
+ interface SwitchGroupContext {
99
+ onChange: (conditionValue: string) => void;
100
+ getDisabledState: () => boolean;
101
+ $implicit: RuleSet;
102
+ }
103
+ interface EmptyWarningContext {
104
+ getDisabledState: () => boolean;
105
+ message: string;
106
+ $implicit: RuleSet;
107
+ }
108
+ interface ArrowIconContext {
109
+ getDisabledState: () => boolean;
110
+ $implicit: RuleSet;
111
+ }
112
+ interface EntityContext {
113
+ onChange: (entityValue: string, rule: Rule) => void;
114
+ getDisabledState: () => boolean;
115
+ entities: Entity[];
116
+ $implicit: Rule;
117
+ }
118
+ interface FieldContext {
119
+ onChange: (fieldValue: string, rule: Rule) => void;
120
+ getFields: (entityName: string) => void;
121
+ getDisabledState: () => boolean;
122
+ fields: Field[];
123
+ $implicit: Rule;
124
+ }
125
+ interface OperatorContext {
126
+ onChange: () => void;
127
+ getDisabledState: () => boolean;
128
+ operators: string[];
129
+ $implicit: Rule;
130
+ }
131
+ interface InputContext {
132
+ onChange: () => void;
133
+ getDisabledState: () => boolean;
134
+ options: Option[];
135
+ field: Field;
136
+ $implicit: Rule;
137
+ }
138
+ interface ButtonGroupContext {
139
+ addRule: () => void;
140
+ addRuleSet: () => void;
141
+ removeRuleSet: () => void;
142
+ getDisabledState: () => boolean;
143
+ $implicit: RuleSet;
144
+ }
145
+ interface RemoveButtonContext {
146
+ removeRule: (rule: Rule) => void;
147
+ getDisabledState: () => boolean;
148
+ $implicit: Rule;
149
+ }
150
+
151
+ declare class QueryOperatorDirective {
152
+ template: TemplateRef<any>;
153
+ constructor(template: TemplateRef<any>);
154
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryOperatorDirective, never>;
155
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QueryOperatorDirective, "[queryOperator]", never, {}, {}, never, never, false, never>;
156
+ }
157
+
158
+ declare class QueryFieldDirective {
159
+ template: TemplateRef<any>;
160
+ constructor(template: TemplateRef<any>);
161
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryFieldDirective, never>;
162
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QueryFieldDirective, "[queryField]", never, {}, {}, never, never, false, never>;
163
+ }
164
+
165
+ declare class QueryEntityDirective {
166
+ template: TemplateRef<any>;
167
+ constructor(template: TemplateRef<any>);
168
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryEntityDirective, never>;
169
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QueryEntityDirective, "[queryEntity]", never, {}, {}, never, never, false, never>;
170
+ }
171
+
172
+ declare class QuerySwitchGroupDirective {
173
+ template: TemplateRef<any>;
174
+ constructor(template: TemplateRef<any>);
175
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuerySwitchGroupDirective, never>;
176
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QuerySwitchGroupDirective, "[querySwitchGroup]", never, {}, {}, never, never, false, never>;
177
+ }
178
+
179
+ declare class QueryButtonGroupDirective {
180
+ template: TemplateRef<any>;
181
+ constructor(template: TemplateRef<any>);
182
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryButtonGroupDirective, never>;
183
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QueryButtonGroupDirective, "[queryButtonGroup]", never, {}, {}, never, never, false, never>;
184
+ }
185
+
186
+ declare class QueryInputDirective {
187
+ template: TemplateRef<any>;
188
+ /** Unique name for query input type. */
189
+ get queryInputType(): string;
190
+ set queryInputType(value: string);
191
+ private _type;
192
+ constructor(template: TemplateRef<any>);
193
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryInputDirective, never>;
194
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QueryInputDirective, "[queryInput]", never, { "queryInputType": { "alias": "queryInputType"; "required": false; }; }, {}, never, never, false, never>;
195
+ }
196
+
197
+ declare class QueryRemoveButtonDirective {
198
+ template: TemplateRef<any>;
199
+ constructor(template: TemplateRef<any>);
200
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryRemoveButtonDirective, never>;
201
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QueryRemoveButtonDirective, "[queryRemoveButton]", never, {}, {}, never, never, false, never>;
202
+ }
203
+
204
+ declare class QueryEmptyWarningDirective {
205
+ template: TemplateRef<any>;
206
+ constructor(template: TemplateRef<any>);
207
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryEmptyWarningDirective, never>;
208
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QueryEmptyWarningDirective, "[queryEmptyWarning]", never, {}, {}, never, never, false, never>;
209
+ }
210
+
211
+ declare class QueryArrowIconDirective {
212
+ template: TemplateRef<any>;
213
+ constructor(template: TemplateRef<any>);
214
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryArrowIconDirective, never>;
215
+ static ɵdir: i0.ɵɵDirectiveDeclaration<QueryArrowIconDirective, "[queryArrowIcon]", never, {}, {}, never, never, false, never>;
216
+ }
217
+
218
+ declare const CONTROL_VALUE_ACCESSOR: any;
219
+ declare const VALIDATOR: any;
220
+ declare class QueryBuilderComponent implements OnChanges, ControlValueAccessor, Validator {
221
+ private changeDetectorRef;
222
+ fields: Field[];
223
+ filterFields: Field[];
224
+ entities: Entity[];
225
+ defaultClassNames: QueryBuilderClassNames;
226
+ defaultOperatorMap: {
227
+ [key: string]: string[];
228
+ };
229
+ disabled: boolean;
230
+ data: RuleSet;
231
+ get condition(): string;
232
+ onChangeCallback: () => void;
233
+ onTouchedCallback: () => any;
234
+ allowRuleset: boolean;
235
+ allowCollapse: boolean;
236
+ emptyMessage: string;
237
+ classNames: QueryBuilderClassNames;
238
+ operatorMap: {
239
+ [key: string]: string[];
240
+ };
241
+ parentValue?: RuleSet;
242
+ config: QueryBuilderConfig;
243
+ parentArrowIconTemplate: QueryArrowIconDirective;
244
+ parentInputTemplates: QueryList<QueryInputDirective>;
245
+ parentOperatorTemplate: QueryOperatorDirective;
246
+ parentFieldTemplate: QueryFieldDirective;
247
+ parentEntityTemplate: QueryEntityDirective;
248
+ parentSwitchGroupTemplate: QuerySwitchGroupDirective;
249
+ parentButtonGroupTemplate: QueryButtonGroupDirective;
250
+ parentRemoveButtonTemplate: QueryRemoveButtonDirective;
251
+ parentEmptyWarningTemplate: QueryEmptyWarningDirective;
252
+ parentChangeCallback: () => void;
253
+ parentTouchedCallback: () => void;
254
+ persistValueOnFieldChange: boolean;
255
+ treeContainer: ElementRef;
256
+ buttonGroupTemplate: QueryButtonGroupDirective;
257
+ switchGroupTemplate: QuerySwitchGroupDirective;
258
+ fieldTemplate: QueryFieldDirective;
259
+ entityTemplate: QueryEntityDirective;
260
+ operatorTemplate: QueryOperatorDirective;
261
+ removeButtonTemplate: QueryRemoveButtonDirective;
262
+ emptyWarningTemplate: QueryEmptyWarningDirective;
263
+ inputTemplates: QueryList<QueryInputDirective>;
264
+ arrowIconTemplate: QueryArrowIconDirective;
265
+ private defaultTemplateTypes;
266
+ private defaultPersistValueTypes;
267
+ private defaultEmptyList;
268
+ private operatorsCache;
269
+ private inputContextCache;
270
+ private operatorContextCache;
271
+ private fieldContextCache;
272
+ private entityContextCache;
273
+ private removeButtonContextCache;
274
+ private buttonGroupContext;
275
+ constructor(changeDetectorRef: ChangeDetectorRef);
276
+ ngOnChanges(changes: SimpleChanges): void;
277
+ validate(control: AbstractControl): ValidationErrors | null;
278
+ get value(): RuleSet;
279
+ set value(value: RuleSet);
280
+ writeValue(obj: any): void;
281
+ registerOnChange(fn: any): void;
282
+ registerOnTouched(fn: any): void;
283
+ setDisabledState(isDisabled: boolean): void;
284
+ getDisabledState: () => boolean;
285
+ findTemplateForRule(rule: Rule): TemplateRef<any> | any;
286
+ findQueryInput(type: string): QueryInputDirective;
287
+ getOperators(field: string): string[];
288
+ getFields(entity: string): Field[];
289
+ getInputType(field: string, operator: string): string | null;
290
+ getOptions(field: string): Option[];
291
+ getClassNames(...args: string[]): any | string[];
292
+ getDefaultField(entity: Entity): Field | null;
293
+ getDefaultOperator(field: Field): string | null;
294
+ addRule(parent?: RuleSet): void;
295
+ removeRule(rule: Rule, parent?: RuleSet): void;
296
+ addRuleSet(parent?: RuleSet): void;
297
+ removeRuleSet(ruleset?: RuleSet, parent?: RuleSet): void;
298
+ transitionEnd(e: Event): void;
299
+ toggleCollapse(): void;
300
+ computedTreeContainerHeight(): void;
301
+ changeCondition(value: string): void;
302
+ changeOperator(rule: Rule): void;
303
+ coerceValueForOperator(operator: string, value: any, rule: Rule): any;
304
+ changeInput(): void;
305
+ changeField(fieldValue: string, rule: Rule): void;
306
+ changeEntity(entityValue: string, rule: Rule, index: number, data: RuleSet): void;
307
+ getDefaultValue(defaultValue: any): any;
308
+ getOperatorTemplate(): TemplateRef<any> | null;
309
+ getFieldTemplate(): TemplateRef<any> | null;
310
+ getEntityTemplate(): TemplateRef<any> | null;
311
+ getArrowIconTemplate(): TemplateRef<any> | null;
312
+ getButtonGroupTemplate(): TemplateRef<any> | null;
313
+ getSwitchGroupTemplate(): TemplateRef<any> | null;
314
+ getRemoveButtonTemplate(): TemplateRef<any> | null;
315
+ getEmptyWarningTemplate(): TemplateRef<any> | null;
316
+ getQueryItemClassName(local: LocalRuleMeta): string;
317
+ getButtonGroupContext(): ButtonGroupContext;
318
+ getRemoveButtonContext(rule: Rule): RemoveButtonContext;
319
+ getFieldContext(rule: Rule): FieldContext;
320
+ getEntityContext(rule: Rule): EntityContext;
321
+ getSwitchGroupContext(): SwitchGroupContext;
322
+ getArrowIconContext(): ArrowIconContext;
323
+ getEmptyWarningContext(): EmptyWarningContext;
324
+ getOperatorContext(rule: Rule): OperatorContext;
325
+ getInputContext(rule: Rule): InputContext;
326
+ private calculateFieldChangeValue;
327
+ private checkEmptyRuleInRuleset;
328
+ private validateRulesInRuleset;
329
+ private handleDataChange;
330
+ private handleTouched;
331
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryBuilderComponent, never>;
332
+ static ɵcmp: i0.ɵɵComponentDeclaration<QueryBuilderComponent, "query-builder", never, { "disabled": { "alias": "disabled"; "required": false; }; "data": { "alias": "data"; "required": false; }; "allowRuleset": { "alias": "allowRuleset"; "required": false; }; "allowCollapse": { "alias": "allowCollapse"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "classNames": { "alias": "classNames"; "required": false; }; "operatorMap": { "alias": "operatorMap"; "required": false; }; "parentValue": { "alias": "parentValue"; "required": false; }; "config": { "alias": "config"; "required": false; }; "parentArrowIconTemplate": { "alias": "parentArrowIconTemplate"; "required": false; }; "parentInputTemplates": { "alias": "parentInputTemplates"; "required": false; }; "parentOperatorTemplate": { "alias": "parentOperatorTemplate"; "required": false; }; "parentFieldTemplate": { "alias": "parentFieldTemplate"; "required": false; }; "parentEntityTemplate": { "alias": "parentEntityTemplate"; "required": false; }; "parentSwitchGroupTemplate": { "alias": "parentSwitchGroupTemplate"; "required": false; }; "parentButtonGroupTemplate": { "alias": "parentButtonGroupTemplate"; "required": false; }; "parentRemoveButtonTemplate": { "alias": "parentRemoveButtonTemplate"; "required": false; }; "parentEmptyWarningTemplate": { "alias": "parentEmptyWarningTemplate"; "required": false; }; "parentChangeCallback": { "alias": "parentChangeCallback"; "required": false; }; "parentTouchedCallback": { "alias": "parentTouchedCallback"; "required": false; }; "persistValueOnFieldChange": { "alias": "persistValueOnFieldChange"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, ["buttonGroupTemplate", "switchGroupTemplate", "fieldTemplate", "entityTemplate", "operatorTemplate", "removeButtonTemplate", "emptyWarningTemplate", "arrowIconTemplate", "inputTemplates"], never, false, never>;
333
+ }
334
+
335
+ declare class NgxAngularQueryBuilderModule {
336
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxAngularQueryBuilderModule, never>;
337
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgxAngularQueryBuilderModule, [typeof QueryBuilderComponent, typeof QueryInputDirective, typeof QueryOperatorDirective, typeof QueryFieldDirective, typeof QueryEntityDirective, typeof QueryButtonGroupDirective, typeof QuerySwitchGroupDirective, typeof QueryRemoveButtonDirective, typeof QueryEmptyWarningDirective, typeof QueryArrowIconDirective], [typeof i11.CommonModule, typeof i12.FormsModule], [typeof QueryBuilderComponent, typeof QueryInputDirective, typeof QueryOperatorDirective, typeof QueryFieldDirective, typeof QueryEntityDirective, typeof QueryButtonGroupDirective, typeof QuerySwitchGroupDirective, typeof QueryRemoveButtonDirective, typeof QueryEmptyWarningDirective, typeof QueryArrowIconDirective]>;
338
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgxAngularQueryBuilderModule>;
339
+ }
340
+
341
+ export { CONTROL_VALUE_ACCESSOR, NgxAngularQueryBuilderModule, QueryArrowIconDirective, QueryBuilderComponent, QueryButtonGroupDirective, QueryEmptyWarningDirective, QueryEntityDirective, QueryFieldDirective, QueryInputDirective, QueryOperatorDirective, QueryRemoveButtonDirective, QuerySwitchGroupDirective, VALIDATOR };
342
+ export type { ArrowIconContext, ButtonGroupContext, EmptyWarningContext, Entity, EntityContext, EntityMap, Field, FieldContext, FieldMap, InputContext, LocalRuleMeta, OperatorContext, Option, QueryBuilderClassNames, QueryBuilderConfig, RemoveButtonContext, Rule, RuleSet, SwitchGroupContext };
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "ngx-angular-query-builder",
3
- "version": "18.0.0",
3
+ "version": "20.0.0",
4
4
  "description": "Port of angular2-query-builder from github.com/designermanjeets/Angular-QueryBuilder in order to support angular 12+",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
7
- "@angular/common": "^18.0.3",
8
- "@angular/core": "^18.0.3"
7
+ "@angular/common": "^20.0.0",
8
+ "@angular/core": "^20.0.0",
9
+ "@angular/forms": "^20.0.0"
9
10
  },
10
11
  "dependencies": {
11
12
  "tslib": "^2.3.0"
@@ -18,8 +19,6 @@
18
19
  },
19
20
  ".": {
20
21
  "types": "./index.d.ts",
21
- "esm2022": "./esm2022/ngx-angular-query-builder.mjs",
22
- "esm": "./esm2022/ngx-angular-query-builder.mjs",
23
22
  "default": "./fesm2022/ngx-angular-query-builder.mjs"
24
23
  }
25
24
  },
@@ -1,68 +0,0 @@
1
- import { NgModule } from "@angular/core";
2
- import { CommonModule } from "@angular/common";
3
- import { FormsModule } from "@angular/forms";
4
- import { QueryBuilderComponent } from "./query-builder/query-builder.component";
5
- import { QueryArrowIconDirective } from "./query-builder/query-arrow-icon.directive";
6
- import { QueryFieldDirective } from "./query-builder/query-field.directive";
7
- import { QueryInputDirective } from "./query-builder/query-input.directive";
8
- import { QueryEntityDirective } from "./query-builder/query-entity.directive";
9
- import { QueryOperatorDirective } from "./query-builder/query-operator.directive";
10
- import { QueryButtonGroupDirective } from "./query-builder/query-button-group.directive";
11
- import { QuerySwitchGroupDirective } from "./query-builder/query-switch-group.directive";
12
- import { QueryRemoveButtonDirective } from "./query-builder/query-remove-button.directive";
13
- import { QueryEmptyWarningDirective } from "./query-builder/query-empty-warning.directive";
14
- import * as i0 from "@angular/core";
15
- export class NgxAngularQueryBuilderModule {
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NgxAngularQueryBuilderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
17
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.3", ngImport: i0, type: NgxAngularQueryBuilderModule, declarations: [QueryBuilderComponent,
18
- QueryInputDirective,
19
- QueryOperatorDirective,
20
- QueryFieldDirective,
21
- QueryEntityDirective,
22
- QueryButtonGroupDirective,
23
- QuerySwitchGroupDirective,
24
- QueryRemoveButtonDirective,
25
- QueryEmptyWarningDirective,
26
- QueryArrowIconDirective], imports: [CommonModule, FormsModule], exports: [QueryBuilderComponent,
27
- QueryInputDirective,
28
- QueryOperatorDirective,
29
- QueryFieldDirective,
30
- QueryEntityDirective,
31
- QueryButtonGroupDirective,
32
- QuerySwitchGroupDirective,
33
- QueryRemoveButtonDirective,
34
- QueryEmptyWarningDirective,
35
- QueryArrowIconDirective] }); }
36
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NgxAngularQueryBuilderModule, imports: [CommonModule, FormsModule] }); }
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NgxAngularQueryBuilderModule, decorators: [{
39
- type: NgModule,
40
- args: [{
41
- imports: [CommonModule, FormsModule],
42
- declarations: [
43
- QueryBuilderComponent,
44
- QueryInputDirective,
45
- QueryOperatorDirective,
46
- QueryFieldDirective,
47
- QueryEntityDirective,
48
- QueryButtonGroupDirective,
49
- QuerySwitchGroupDirective,
50
- QueryRemoveButtonDirective,
51
- QueryEmptyWarningDirective,
52
- QueryArrowIconDirective
53
- ],
54
- exports: [
55
- QueryBuilderComponent,
56
- QueryInputDirective,
57
- QueryOperatorDirective,
58
- QueryFieldDirective,
59
- QueryEntityDirective,
60
- QueryButtonGroupDirective,
61
- QuerySwitchGroupDirective,
62
- QueryRemoveButtonDirective,
63
- QueryEmptyWarningDirective,
64
- QueryArrowIconDirective
65
- ]
66
- }]
67
- }] });
68
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWFuZ3VsYXItcXVlcnktYnVpbGRlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtYW5ndWxhci1xdWVyeS1idWlsZGVyL3NyYy9saWIvbmd4LWFuZ3VsYXItcXVlcnktYnVpbGRlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTdDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBRWhGLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDRDQUE0QyxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzVFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzVFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDBDQUEwQyxDQUFDO0FBQ2xGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQ3p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BRdWVyeUlucHV0RGlyZWN0aXZlLFxuICAgIFF1ZXJ5T3BlcmF0b3JEaXJlY3RpdmUsXG4gICAgUXVlcnlGaWVsZERpcmVjdGl2ZSxcbiAgICBRdWVyeUVudGl0eURpcmVjdGl2ZSxcbiAgICBRdWVyeUJ1dHRvbkdyb3VwRGlyZWN0aXZlLFxuICAgIFF1ZXJ5U3dpdGNoR3JvdXBEaXJlY3RpdmUsXG4gICAgUXVlcnlSZW1vdmVCdXR0b25EaXJlY3RpdmUsXG4gICAgUXVlcnlFbXB0eVdhcm5pbmdEaXJlY3RpdmUsXG4gICAgUXVlcnlBcnJvd0ljb25EaXJlY3RpdmVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBOZ3hBbmd1bGFyUXVlcnlCdWlsZGVyTW9kdWxlIHt9XG4iXX0=
@@ -1,14 +0,0 @@
1
- import { Directive } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export class QueryArrowIconDirective {
4
- constructor(template) {
5
- this.template = template;
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: QueryArrowIconDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.3", type: QueryArrowIconDirective, selector: "[queryArrowIcon]", ngImport: i0 }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: QueryArrowIconDirective, decorators: [{
11
- type: Directive,
12
- args: [{ selector: "[queryArrowIcon]" }]
13
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnktYXJyb3ctaWNvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtYW5ndWxhci1xdWVyeS1idWlsZGVyL3NyYy9saWIvcXVlcnktYnVpbGRlci9xdWVyeS1hcnJvdy1pY29uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFlLE1BQU0sZUFBZSxDQUFDOztBQUd2RCxNQUFNLE9BQU8sdUJBQXVCO0lBQ2xDLFlBQW1CLFFBQTBCO1FBQTFCLGFBQVEsR0FBUixRQUFRLENBQWtCO0lBQUcsQ0FBQzs4R0FEdEMsdUJBQXVCO2tHQUF2Qix1QkFBdUI7OzJGQUF2Qix1QkFBdUI7a0JBRG5DLFNBQVM7bUJBQUMsRUFBRSxRQUFRLEVBQUUsa0JBQWtCLEVBQUUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIFRlbXBsYXRlUmVmIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcblxuQERpcmVjdGl2ZSh7IHNlbGVjdG9yOiBcIltxdWVyeUFycm93SWNvbl1cIiB9KVxuZXhwb3J0IGNsYXNzIFF1ZXJ5QXJyb3dJY29uRGlyZWN0aXZlIHtcbiAgY29uc3RydWN0b3IocHVibGljIHRlbXBsYXRlOiBUZW1wbGF0ZVJlZjxhbnk+KSB7fVxufVxuIl19