shout-angular-query-builder
Advanced tools
Comparing version 0.8.0-alpha to 0.8.1-alpha
@@ -11,3 +11,2 @@ { | ||
"@angular/forms": ">=8.0.0", | ||
"@angular/localize": ">=8.0.0", | ||
"rxjs": ">=6.0.0" | ||
@@ -14,0 +13,0 @@ }, |
{ | ||
"name": "shout-angular-query-builder", | ||
"version": "0.8.0-alpha", | ||
"version": "0.8.1-alpha", | ||
"description": "A modernized Angular 16+ query builder based on jquery QueryBuilder", | ||
@@ -5,0 +5,0 @@ "module": "./dist/shout-angular-query-builder/fesm2022/shout-angular-query-builder.mjs", |
@@ -11,5 +11,4 @@ { | ||
"@angular/forms": ">=8.0.0", | ||
"@angular/localize": ">=8.0.0", | ||
"rxjs": ">=6.0.0" | ||
} | ||
} |
@@ -52,3 +52,2 @@ import { | ||
} from '@angular/core'; | ||
import {$localize} from '@angular/localize/init'; | ||
@@ -109,7 +108,7 @@ export const CONTROL_VALUE_ACCESSOR: any = { | ||
public defaultOperatorMap: { [key: string]: Operator[] } = { | ||
string: ['=', '!=', {value: 'contains', localized: $localize`contains`}, {value: 'like', localized: $localize`like`}], | ||
string: ['=', '!=', 'contains', 'like'], | ||
number: ['=', '!=', '>', '>=', '<', '<='], | ||
time: ['=', '!=', '>', '>=', '<', '<='], | ||
date: ['=', '!=', '>', '>=', '<', '<='], | ||
category: ['=', '!=', {value: 'in', localized: $localize`in`}, {value: 'not in', localized: $localize`not in`}], | ||
category: ['=', '!=', 'in', 'not in'], | ||
boolean: ['='] | ||
@@ -126,3 +125,3 @@ }; | ||
@Input() allowCollapse: boolean = false; | ||
@Input() emptyMessage: string = $localize`A ruleset cannot be empty. Please add a rule or remove it all together.`; | ||
@Input() emptyMessage: string = 'A ruleset cannot be empty. Please add a rule or remove it all together.'; | ||
@Input() classNames: QueryBuilderClassNames; | ||
@@ -129,0 +128,0 @@ @Input() operatorMap: { [key: string]: string[] }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
556974
5488