@acorex/components 16.0.22 → 16.0.23
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +1 -1
- package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +1 -1
- package/esm2022/lib/property-editor/editors/range-editor/range.editor.mjs +1 -1
- package/esm2022/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +1 -1
- package/esm2022/lib/validation/validation-rule.widget.mjs +27 -39
- package/fesm2022/acorex-components.mjs +29 -41
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/lib/validation/validation-rule.widget.d.ts +3 -2
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { AXValidationRuleResult, AXValidationRule, AXValidationRuleTypes } from './validation.class';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXValidationRules {
|
5
5
|
private static registredRules;
|
@@ -15,9 +15,10 @@ export declare class AXValidationRuleComponent implements AXValidationRule {
|
|
15
15
|
message: string;
|
16
16
|
value: any;
|
17
17
|
enabled: boolean;
|
18
|
+
operation?: 'eq' | 'not';
|
18
19
|
constructor(ref?: ElementRef);
|
19
20
|
validate(value: any): Promise<AXValidationRuleResult>;
|
20
21
|
private internalValidate;
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValidationRuleComponent, [{ optional: true; }]>;
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXValidationRuleComponent, "ax-validation-rule", never, { "type": { "alias": "type"; "required": false; }; "message": { "alias": "message"; "required": false; }; "value": { "alias": "value"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; }, {}, never, never, false, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXValidationRuleComponent, "ax-validation-rule", never, { "type": { "alias": "type"; "required": false; }; "message": { "alias": "message"; "required": false; }; "value": { "alias": "value"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "operation": { "alias": "operation"; "required": false; }; }, {}, never, never, false, never>;
|
23
24
|
}
|