UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

1,117 lines (1,106 loc) 55.9 kB
import * as i0 from '@angular/core'; import { Component, SkipSelf, Host, Input, NgModule } from '@angular/core'; import * as i1 from 'devextreme-angular/core'; import { NestedOption, NestedOptionHost, DxIntegrationModule, CollectionNestedOption } from 'devextreme-angular/core'; import { PROPERTY_TOKEN_validationRules } from 'devextreme-angular/core/tokens'; /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxoValidatorAdapterComponent extends NestedOption { get applyValidationResults() { return this._getOption('applyValidationResults'); } set applyValidationResults(value) { this._setOption('applyValidationResults', value); } get bypass() { return this._getOption('bypass'); } set bypass(value) { this._setOption('bypass', value); } get focus() { return this._getOption('focus'); } set focus(value) { this._setOption('focus', value); } get getValue() { return this._getOption('getValue'); } set getValue(value) { this._setOption('getValue', value); } get reset() { return this._getOption('reset'); } set reset(value) { this._setOption('reset', value); } get validationRequestsCallbacks() { return this._getOption('validationRequestsCallbacks'); } set validationRequestsCallbacks(value) { this._setOption('validationRequestsCallbacks', value); } get _optionPath() { return 'adapter'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnInit() { this._addRecreatedComponent(); } ngOnDestroy() { this._addRemovedOption(this._getOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoValidatorAdapterComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoValidatorAdapterComponent, isStandalone: true, selector: "dxo-validator-adapter", inputs: { applyValidationResults: "applyValidationResults", bypass: "bypass", focus: "focus", getValue: "getValue", reset: "reset", validationRequestsCallbacks: "validationRequestsCallbacks" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoValidatorAdapterComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-validator-adapter', standalone: true, template: '', imports: [DxIntegrationModule], providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { applyValidationResults: [{ type: Input }], bypass: [{ type: Input }], focus: [{ type: Input }], getValue: [{ type: Input }], reset: [{ type: Input }], validationRequestsCallbacks: [{ type: Input }] } }); class DxoValidatorAdapterModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoValidatorAdapterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoValidatorAdapterModule, imports: [DxoValidatorAdapterComponent], exports: [DxoValidatorAdapterComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoValidatorAdapterModule, imports: [DxoValidatorAdapterComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoValidatorAdapterModule, decorators: [{ type: NgModule, args: [{ imports: [ DxoValidatorAdapterComponent ], exports: [ DxoValidatorAdapterComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorAsyncRuleComponent extends CollectionNestedOption { get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get reevaluate() { return this._getOption('reevaluate'); } set reevaluate(value) { this._setOption('reevaluate', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get validationCallback() { return this._getOption('validationCallback'); } set validationCallback(value) { this._setOption('validationCallback', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'async'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorAsyncRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorAsyncRuleComponent, isStandalone: true, selector: "dxi-validator-async-rule", inputs: { ignoreEmptyValue: "ignoreEmptyValue", message: "message", reevaluate: "reevaluate", type: "type", validationCallback: "validationCallback" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorAsyncRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorAsyncRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-async-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorAsyncRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { ignoreEmptyValue: [{ type: Input }], message: [{ type: Input }], reevaluate: [{ type: Input }], type: [{ type: Input }], validationCallback: [{ type: Input }] } }); class DxiValidatorAsyncRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorAsyncRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorAsyncRuleModule, imports: [DxiValidatorAsyncRuleComponent], exports: [DxiValidatorAsyncRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorAsyncRuleModule, imports: [DxiValidatorAsyncRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorAsyncRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorAsyncRuleComponent ], exports: [ DxiValidatorAsyncRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorCompareRuleComponent extends CollectionNestedOption { get comparisonTarget() { return this._getOption('comparisonTarget'); } set comparisonTarget(value) { this._setOption('comparisonTarget', value); } get comparisonType() { return this._getOption('comparisonType'); } set comparisonType(value) { this._setOption('comparisonType', value); } get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'compare'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCompareRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorCompareRuleComponent, isStandalone: true, selector: "dxi-validator-compare-rule", inputs: { comparisonTarget: "comparisonTarget", comparisonType: "comparisonType", ignoreEmptyValue: "ignoreEmptyValue", message: "message", type: "type" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorCompareRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCompareRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-compare-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorCompareRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { comparisonTarget: [{ type: Input }], comparisonType: [{ type: Input }], ignoreEmptyValue: [{ type: Input }], message: [{ type: Input }], type: [{ type: Input }] } }); class DxiValidatorCompareRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCompareRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCompareRuleModule, imports: [DxiValidatorCompareRuleComponent], exports: [DxiValidatorCompareRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCompareRuleModule, imports: [DxiValidatorCompareRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCompareRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorCompareRuleComponent ], exports: [ DxiValidatorCompareRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorCustomRuleComponent extends CollectionNestedOption { get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get reevaluate() { return this._getOption('reevaluate'); } set reevaluate(value) { this._setOption('reevaluate', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get validationCallback() { return this._getOption('validationCallback'); } set validationCallback(value) { this._setOption('validationCallback', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'custom'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCustomRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorCustomRuleComponent, isStandalone: true, selector: "dxi-validator-custom-rule", inputs: { ignoreEmptyValue: "ignoreEmptyValue", message: "message", reevaluate: "reevaluate", type: "type", validationCallback: "validationCallback" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorCustomRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCustomRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-custom-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorCustomRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { ignoreEmptyValue: [{ type: Input }], message: [{ type: Input }], reevaluate: [{ type: Input }], type: [{ type: Input }], validationCallback: [{ type: Input }] } }); class DxiValidatorCustomRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCustomRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCustomRuleModule, imports: [DxiValidatorCustomRuleComponent], exports: [DxiValidatorCustomRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCustomRuleModule, imports: [DxiValidatorCustomRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorCustomRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorCustomRuleComponent ], exports: [ DxiValidatorCustomRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorEmailRuleComponent extends CollectionNestedOption { get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'email'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorEmailRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorEmailRuleComponent, isStandalone: true, selector: "dxi-validator-email-rule", inputs: { ignoreEmptyValue: "ignoreEmptyValue", message: "message", type: "type" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorEmailRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorEmailRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-email-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorEmailRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { ignoreEmptyValue: [{ type: Input }], message: [{ type: Input }], type: [{ type: Input }] } }); class DxiValidatorEmailRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorEmailRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorEmailRuleModule, imports: [DxiValidatorEmailRuleComponent], exports: [DxiValidatorEmailRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorEmailRuleModule, imports: [DxiValidatorEmailRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorEmailRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorEmailRuleComponent ], exports: [ DxiValidatorEmailRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorNumericRuleComponent extends CollectionNestedOption { get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'numeric'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorNumericRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorNumericRuleComponent, isStandalone: true, selector: "dxi-validator-numeric-rule", inputs: { ignoreEmptyValue: "ignoreEmptyValue", message: "message", type: "type" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorNumericRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorNumericRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-numeric-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorNumericRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { ignoreEmptyValue: [{ type: Input }], message: [{ type: Input }], type: [{ type: Input }] } }); class DxiValidatorNumericRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorNumericRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorNumericRuleModule, imports: [DxiValidatorNumericRuleComponent], exports: [DxiValidatorNumericRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorNumericRuleModule, imports: [DxiValidatorNumericRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorNumericRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorNumericRuleComponent ], exports: [ DxiValidatorNumericRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorPatternRuleComponent extends CollectionNestedOption { get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get pattern() { return this._getOption('pattern'); } set pattern(value) { this._setOption('pattern', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'pattern'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorPatternRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorPatternRuleComponent, isStandalone: true, selector: "dxi-validator-pattern-rule", inputs: { ignoreEmptyValue: "ignoreEmptyValue", message: "message", pattern: "pattern", type: "type" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorPatternRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorPatternRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-pattern-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorPatternRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { ignoreEmptyValue: [{ type: Input }], message: [{ type: Input }], pattern: [{ type: Input }], type: [{ type: Input }] } }); class DxiValidatorPatternRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorPatternRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorPatternRuleModule, imports: [DxiValidatorPatternRuleComponent], exports: [DxiValidatorPatternRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorPatternRuleModule, imports: [DxiValidatorPatternRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorPatternRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorPatternRuleComponent ], exports: [ DxiValidatorPatternRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorRangeRuleComponent extends CollectionNestedOption { get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get max() { return this._getOption('max'); } set max(value) { this._setOption('max', value); } get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get min() { return this._getOption('min'); } set min(value) { this._setOption('min', value); } get reevaluate() { return this._getOption('reevaluate'); } set reevaluate(value) { this._setOption('reevaluate', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'range'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRangeRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorRangeRuleComponent, isStandalone: true, selector: "dxi-validator-range-rule", inputs: { ignoreEmptyValue: "ignoreEmptyValue", max: "max", message: "message", min: "min", reevaluate: "reevaluate", type: "type" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorRangeRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRangeRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-range-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorRangeRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { ignoreEmptyValue: [{ type: Input }], max: [{ type: Input }], message: [{ type: Input }], min: [{ type: Input }], reevaluate: [{ type: Input }], type: [{ type: Input }] } }); class DxiValidatorRangeRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRangeRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRangeRuleModule, imports: [DxiValidatorRangeRuleComponent], exports: [DxiValidatorRangeRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRangeRuleModule, imports: [DxiValidatorRangeRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRangeRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorRangeRuleComponent ], exports: [ DxiValidatorRangeRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorRequiredRuleComponent extends CollectionNestedOption { get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get trim() { return this._getOption('trim'); } set trim(value) { this._setOption('trim', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'required'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRequiredRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorRequiredRuleComponent, isStandalone: true, selector: "dxi-validator-required-rule", inputs: { message: "message", trim: "trim", type: "type" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorRequiredRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRequiredRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-required-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorRequiredRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { message: [{ type: Input }], trim: [{ type: Input }], type: [{ type: Input }] } }); class DxiValidatorRequiredRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRequiredRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRequiredRuleModule, imports: [DxiValidatorRequiredRuleComponent], exports: [DxiValidatorRequiredRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRequiredRuleModule, imports: [DxiValidatorRequiredRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorRequiredRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorRequiredRuleComponent ], exports: [ DxiValidatorRequiredRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorStringLengthRuleComponent extends CollectionNestedOption { get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get max() { return this._getOption('max'); } set max(value) { this._setOption('max', value); } get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get min() { return this._getOption('min'); } set min(value) { this._setOption('min', value); } get trim() { return this._getOption('trim'); } set trim(value) { this._setOption('trim', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'validationRules'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); this.type = 'stringLength'; } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorStringLengthRuleComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiValidatorStringLengthRuleComponent, isStandalone: true, selector: "dxi-validator-string-length-rule", inputs: { ignoreEmptyValue: "ignoreEmptyValue", max: "max", message: "message", min: "min", trim: "trim", type: "type" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorStringLengthRuleComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorStringLengthRuleComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-validator-string-length-rule', standalone: true, template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_validationRules, useExisting: DxiValidatorStringLengthRuleComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { ignoreEmptyValue: [{ type: Input }], max: [{ type: Input }], message: [{ type: Input }], min: [{ type: Input }], trim: [{ type: Input }], type: [{ type: Input }] } }); class DxiValidatorStringLengthRuleModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorStringLengthRuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorStringLengthRuleModule, imports: [DxiValidatorStringLengthRuleComponent], exports: [DxiValidatorStringLengthRuleComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorStringLengthRuleModule, imports: [DxiValidatorStringLengthRuleComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiValidatorStringLengthRuleModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiValidatorStringLengthRuleComponent ], exports: [ DxiValidatorStringLengthRuleComponent ], }] }] }); /*! * devextreme-angular * Version: 25.1.6 * Build date: Mon Oct 13 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxiValidatorValidationRuleComponent extends CollectionNestedOption { get message() { return this._getOption('message'); } set message(value) { this._setOption('message', value); } get trim() { return this._getOption('trim'); } set trim(value) { this._setOption('trim', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get ignoreEmptyValue() { return this._getOption('ignoreEmptyValue'); } set ignoreEmptyValue(value) { this._setOption('ignoreEmptyValue', value); } get max() { return this._getOption('max'); } set max(value) { this._setOption('max', value); } get min() { return this._getOption('min'); } set min(value) { this._setOption('min', value); } get reevaluate() { return this._getOption('reevaluate'); } set reevaluate(value) { this._setOption('reevaluate', value); } get validationCallback() { return this._getOption('validationCallback'); } set validationCallback(value) { this._setOption('validationCallback', value); } get comparisonTarget() { return this._getOption('comparisonTarget'); } set comparisonTarget(value) { this._setOption('comparisonTarget', value); } get comparisonType() { return this._getOption('comparisonType'); } set comparisonType(value) { this._setOption('comp