ngx-angular-query-builder 17.0.0 → 18.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.
- package/{esm2020 → esm2022}/lib/ngx-angular-query-builder.module.mjs +68 -68
- package/{esm2020 → esm2022}/lib/query-builder/query-arrow-icon.directive.mjs +14 -14
- package/esm2022/lib/query-builder/query-builder.component.mjs +758 -0
- package/{esm2020 → esm2022}/lib/query-builder/query-builder.interfaces.mjs +1 -1
- package/{esm2020 → esm2022}/lib/query-builder/query-button-group.directive.mjs +14 -14
- package/{esm2020 → esm2022}/lib/query-builder/query-empty-warning.directive.mjs +14 -14
- package/{esm2020 → esm2022}/lib/query-builder/query-entity.directive.mjs +14 -14
- package/{esm2020 → esm2022}/lib/query-builder/query-field.directive.mjs +14 -14
- package/esm2022/lib/query-builder/query-input.directive.mjs +28 -0
- package/{esm2020 → esm2022}/lib/query-builder/query-operator.directive.mjs +14 -14
- package/{esm2020 → esm2022}/lib/query-builder/query-remove-button.directive.mjs +14 -14
- package/{esm2020 → esm2022}/lib/query-builder/query-switch-group.directive.mjs +14 -14
- package/{esm2020 → esm2022}/ngx-angular-query-builder.mjs +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +15 -15
- package/{fesm2020 → fesm2022}/ngx-angular-query-builder.mjs +910 -910
- package/{fesm2020 → fesm2022}/ngx-angular-query-builder.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/ngx-angular-query-builder.module.d.ts +18 -18
- package/lib/query-builder/query-arrow-icon.directive.d.ts +8 -8
- package/lib/query-builder/query-builder.component.d.ts +129 -129
- package/lib/query-builder/query-builder.interfaces.d.ts +143 -143
- package/lib/query-builder/query-button-group.directive.d.ts +8 -8
- package/lib/query-builder/query-empty-warning.directive.d.ts +8 -8
- package/lib/query-builder/query-entity.directive.d.ts +8 -8
- package/lib/query-builder/query-field.directive.d.ts +8 -8
- package/lib/query-builder/query-input.directive.d.ts +12 -12
- package/lib/query-builder/query-operator.directive.d.ts +8 -8
- package/lib/query-builder/query-remove-button.directive.d.ts +8 -8
- package/lib/query-builder/query-switch-group.directive.d.ts +8 -8
- package/package.json +7 -13
- package/public-api.d.ts +12 -12
- package/esm2020/lib/query-builder/query-builder.component.mjs +0 -758
- package/esm2020/lib/query-builder/query-input.directive.mjs +0 -28
- package/fesm2015/ngx-angular-query-builder.mjs +0 -939
- package/fesm2015/ngx-angular-query-builder.mjs.map +0 -1
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class QueryInputDirective {
|
|
4
|
-
/** Unique name for query input type. */
|
|
5
|
-
get queryInputType() {
|
|
6
|
-
return this._type;
|
|
7
|
-
}
|
|
8
|
-
set queryInputType(value) {
|
|
9
|
-
// If the directive is set without a type (updated programatically), then this setter will
|
|
10
|
-
// trigger with an empty string and should not overwrite the programatically set value.
|
|
11
|
-
if (!value) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
this._type = value;
|
|
15
|
-
}
|
|
16
|
-
constructor(template) {
|
|
17
|
-
this.template = template;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
QueryInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: QueryInputDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
-
QueryInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0", type: QueryInputDirective, selector: "[queryInput]", inputs: { queryInputType: "queryInputType" }, ngImport: i0 });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: QueryInputDirective, decorators: [{
|
|
23
|
-
type: Directive,
|
|
24
|
-
args: [{ selector: "[queryInput]" }]
|
|
25
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }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