Skip to content

Commit

Permalink
chore(deps): update dependency @taiga-ui/eslint-plugin-experience to …
Browse files Browse the repository at this point in the history
…v0.61.1 (#1111)

Co-authored-by: taiga-family-bot <[email protected]>
  • Loading branch information
taiga-family-bot and taiga-family-bot authored Mar 1, 2024
1 parent 34d5353 commit 2986a4c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/),
' ',
Expand All @@ -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];
}
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2986a4c

Please sign in to comment.