diff --git a/package-lock.json b/package-lock.json index 72854a7b3..ea04c52e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "@nx/workspace": "17.3.0", "@taiga-ui/commitlint-config": "0.5.6", "@taiga-ui/cspell-config": "0.34.0", - "@taiga-ui/eslint-plugin-experience": "0.60.0", + "@taiga-ui/eslint-plugin-experience": "0.61.1", "@taiga-ui/prettier-config": "0.8.4", "@taiga-ui/stylelint-config": "0.18.0", "@taiga-ui/tsconfig": "0.16.0", @@ -11423,9 +11423,9 @@ } }, "node_modules/@taiga-ui/eslint-plugin-experience": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.60.0.tgz", - "integrity": "sha512-5mfdwlVSuhYTAYCVMi41wQ929zaIY/hZFkxqcGjU/yKdcJ7v0zBnHyHHQdc0JIl1YvmROrG7EGEDAmsyP2cHFw==", + "version": "0.61.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.61.1.tgz", + "integrity": "sha512-tQQrPkovPDT8IU+SW5M8xAMtO/xcz6NuGFxY00GVGZpn29P3j+xStQ9rYL/dG7uJzagYSWA9Cmf8Y7uCvJoACg==", "dev": true, "dependencies": { "@angular-eslint/eslint-plugin": "17.2.1", diff --git a/package.json b/package.json index 4170050b1..36cc86b1e 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "@nx/workspace": "17.3.0", "@taiga-ui/commitlint-config": "0.5.6", "@taiga-ui/cspell-config": "0.34.0", - "@taiga-ui/eslint-plugin-experience": "0.60.0", + "@taiga-ui/eslint-plugin-experience": "0.61.1", "@taiga-ui/prettier-config": "0.8.4", "@taiga-ui/stylelint-config": "0.18.0", "@taiga-ui/tsconfig": "0.16.0", diff --git a/projects/demo-integrations/src/tests/component-testing/predicate/multi-test.component.ts b/projects/demo-integrations/src/tests/component-testing/predicate/multi-test.component.ts index 4cb79a960..4425211a2 100644 --- a/projects/demo-integrations/src/tests/component-testing/predicate/multi-test.component.ts +++ b/projects/demo-integrations/src/tests/component-testing/predicate/multi-test.component.ts @@ -22,12 +22,12 @@ import {MaskitoElementPredicate, MaskitoOptions} from '@maskito/core'; changeDetection: ChangeDetectionStrategy.OnPush, }) export class MultiTestInputComponent { - value = { + protected value = { number: '', name: '', }; - readonly cardMask: MaskitoOptions = { + protected readonly cardMask: MaskitoOptions = { mask: [ ...new Array(4).fill(/\d/), ' ', @@ -39,16 +39,16 @@ export class MultiTestInputComponent { ], }; - readonly nameMask: MaskitoOptions = { + protected readonly nameMask: MaskitoOptions = { mask: /^[a-zA-Z\s]+$/, postprocessors: [ ({value, selection}) => ({value: value.toUpperCase(), selection}), ], }; - readonly cardPredicate: MaskitoElementPredicate = element => + protected readonly cardPredicate: MaskitoElementPredicate = element => element.querySelectorAll('input')[0]; - readonly namePredicate: MaskitoElementPredicate = element => + protected readonly namePredicate: MaskitoElementPredicate = element => element.querySelectorAll('input')[1]; } diff --git a/projects/demo-integrations/src/tests/component-testing/utils.ts b/projects/demo-integrations/src/tests/component-testing/utils.ts index 1a221ae6c..79f541a23 100644 --- a/projects/demo-integrations/src/tests/component-testing/utils.ts +++ b/projects/demo-integrations/src/tests/component-testing/utils.ts @@ -27,7 +27,8 @@ export class TestInput { public maskitoOptions: MaskitoOptions | null = null; @Input() - maskitoElementPredicate: MaskitoElementPredicate = MASKITO_DEFAULT_ELEMENT_PREDICATE; + public maskitoElementPredicate: MaskitoElementPredicate = + MASKITO_DEFAULT_ELEMENT_PREDICATE; @Output() public input = new EventEmitter();