@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.
@@ -1,5 +1,5 @@
1
1
  import { ElementRef } from '@angular/core';
2
- import { AXValidationRule, AXValidationRuleResult, AXValidationRuleTypes } from './validation.class';
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "16.0.22",
3
+ "version": "16.0.23",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0",