namirasoft-core
Advanced tools
Comparing version 1.3.49 to 1.3.50
@@ -5,6 +5,8 @@ import { FilterItemColumnType } from "./FilterItemColumnType"; | ||
Equals: FilterItemOperator; | ||
Contains: FilterItemOperator; | ||
Regex: FilterItemOperator; | ||
Empty: FilterItemOperator; | ||
Exists: FilterItemOperator; | ||
StartsWith: FilterItemOperator; | ||
EndsWith: FilterItemOperator; | ||
Contains: FilterItemOperator; | ||
Regex: FilterItemOperator; | ||
LessThan: FilterItemOperator; | ||
@@ -14,3 +16,2 @@ LessThanEqual: FilterItemOperator; | ||
MoreThanEqual: FilterItemOperator; | ||
Empty: FilterItemOperator; | ||
}; | ||
@@ -17,0 +18,0 @@ static getAll(): FilterItemOperator[]; |
@@ -34,12 +34,13 @@ "use strict"; | ||
Equals: new FilterItemOperator("Equals", "=", 1, (_) => { return true; }), | ||
StartsWith: new FilterItemOperator("Starts With", "^", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.String; }), | ||
EndsWith: new FilterItemOperator("Ends With", "$", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.String; }), | ||
Contains: new FilterItemOperator("Contains", ":", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.Number || type == FilterItemColumnType_1.FilterItemColumnType.String; }), | ||
Regex: new FilterItemOperator("Regex", "R", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.Number || type == FilterItemColumnType_1.FilterItemColumnType.String; }), | ||
Regex: new FilterItemOperator("Regex", "*", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.Number || type == FilterItemColumnType_1.FilterItemColumnType.String; }), | ||
Empty: new FilterItemOperator("Is Empty", "?", 0, (type) => { return type != FilterItemColumnType_1.FilterItemColumnType.Any; }), | ||
Exists: new FilterItemOperator("Exists", "??", 0, (_) => { return true; }), | ||
StartsWith: new FilterItemOperator("Starts With", "(", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.String; }), | ||
EndsWith: new FilterItemOperator("Ends With", ")", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.String; }), | ||
LessThan: new FilterItemOperator("Less Than", "<", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.Number; }), | ||
LessThanEqual: new FilterItemOperator("Less Than Equal", "<=", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.Number; }), | ||
MoreThan: new FilterItemOperator("More Than", ">", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.Number; }), | ||
MoreThanEqual: new FilterItemOperator("More Than Equal", ">=", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.Number; }), | ||
Empty: new FilterItemOperator("Is Empty", "0", 0, (type) => { return type != FilterItemColumnType_1.FilterItemColumnType.Any; }), | ||
MoreThanEqual: new FilterItemOperator("More Than Equal", ">=", 1, (type) => { return type == FilterItemColumnType_1.FilterItemColumnType.Number; }) | ||
}; | ||
//# sourceMappingURL=FilterItemOperator.js.map |
@@ -11,3 +11,3 @@ { | ||
"private": false, | ||
"version": "1.3.49", | ||
"version": "1.3.50", | ||
"author": "Amir Abolhasani", | ||
@@ -24,4 +24,4 @@ "license": "MIT", | ||
"moment": "^2.30.1", | ||
"phone": "^3.1.44" | ||
"phone": "^3.1.45" | ||
} | ||
} |
@@ -7,11 +7,12 @@ import { FilterItemColumnType } from "./FilterItemColumnType"; | ||
Equals: new FilterItemOperator("Equals", "=", 1, (_: FilterItemColumnType) => { return true; }), | ||
StartsWith: new FilterItemOperator("Starts With", "^", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.String; }), | ||
EndsWith: new FilterItemOperator("Ends With", "$", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.String; }), | ||
Contains: new FilterItemOperator("Contains", ":", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.Number || type == FilterItemColumnType.String; }), | ||
Regex: new FilterItemOperator("Regex", "R", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.Number || type == FilterItemColumnType.String; }), | ||
Regex: new FilterItemOperator("Regex", "*", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.Number || type == FilterItemColumnType.String; }), | ||
Empty: new FilterItemOperator("Is Empty", "?", 0, (type: FilterItemColumnType) => { return type != FilterItemColumnType.Any; }), | ||
Exists: new FilterItemOperator("Exists", "??", 0, (_: FilterItemColumnType) => { return true; }), | ||
StartsWith: new FilterItemOperator("Starts With", "(", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.String; }), | ||
EndsWith: new FilterItemOperator("Ends With", ")", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.String; }), | ||
LessThan: new FilterItemOperator("Less Than", "<", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.Number; }), | ||
LessThanEqual: new FilterItemOperator("Less Than Equal", "<=", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.Number; }), | ||
MoreThan: new FilterItemOperator("More Than", ">", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.Number; }), | ||
MoreThanEqual: new FilterItemOperator("More Than Equal", ">=", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.Number; }), | ||
Empty: new FilterItemOperator("Is Empty", "0", 0, (type: FilterItemColumnType) => { return type != FilterItemColumnType.Any; }), | ||
MoreThanEqual: new FilterItemOperator("More Than Equal", ">=", 1, (type: FilterItemColumnType) => { return type == FilterItemColumnType.Number; }) | ||
}; | ||
@@ -18,0 +19,0 @@ static getAll(): FilterItemOperator[] |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
353451
4443
Updatedphone@^3.1.45