@angular-eslint/eslint-plugin-template 17.3.1-alpha.9 → 17.4.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configs/accessibility.json +15 -15
- package/dist/configs/all.json +33 -33
- package/dist/configs/process-inline-templates.json +7 -7
- package/dist/configs/recommended.json +7 -7
- package/dist/index.d.ts +152 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/processors.d.ts +38 -0
- package/dist/processors.d.ts.map +1 -0
- package/dist/rules/alt-text.d.ts +5 -0
- package/dist/rules/alt-text.d.ts.map +1 -0
- package/dist/rules/attributes-order.d.ts +19 -0
- package/dist/rules/attributes-order.d.ts.map +1 -0
- package/dist/rules/attributes-order.js +31 -22
- package/dist/rules/banana-in-box.d.ts +5 -0
- package/dist/rules/banana-in-box.d.ts.map +1 -0
- package/dist/rules/button-has-type.d.ts +6 -0
- package/dist/rules/button-has-type.d.ts.map +1 -0
- package/dist/rules/click-events-have-key-events.d.ts +5 -0
- package/dist/rules/click-events-have-key-events.d.ts.map +1 -0
- package/dist/rules/conditional-complexity.d.ts +8 -0
- package/dist/rules/conditional-complexity.d.ts.map +1 -0
- package/dist/rules/cyclomatic-complexity.d.ts +8 -0
- package/dist/rules/cyclomatic-complexity.d.ts.map +1 -0
- package/dist/rules/elements-content.d.ts +10 -0
- package/dist/rules/elements-content.d.ts.map +1 -0
- package/dist/rules/eqeqeq.d.ts +9 -0
- package/dist/rules/eqeqeq.d.ts.map +1 -0
- package/dist/rules/i18n.d.ts +19 -0
- package/dist/rules/i18n.d.ts.map +1 -0
- package/dist/rules/interactive-supports-focus.d.ts +5 -0
- package/dist/rules/interactive-supports-focus.d.ts.map +1 -0
- package/dist/rules/label-has-associated-control.d.ts +15 -0
- package/dist/rules/label-has-associated-control.d.ts.map +1 -0
- package/dist/rules/mouse-events-have-key-events.d.ts +6 -0
- package/dist/rules/mouse-events-have-key-events.d.ts.map +1 -0
- package/dist/rules/mouse-events-have-key-events.js +13 -3
- package/dist/rules/no-any.d.ts +5 -0
- package/dist/rules/no-any.d.ts.map +1 -0
- package/dist/rules/no-autofocus.d.ts +5 -0
- package/dist/rules/no-autofocus.d.ts.map +1 -0
- package/dist/rules/no-call-expression.d.ts +10 -0
- package/dist/rules/no-call-expression.d.ts.map +1 -0
- package/dist/rules/no-distracting-elements.d.ts +5 -0
- package/dist/rules/no-distracting-elements.d.ts.map +1 -0
- package/dist/rules/no-duplicate-attributes.d.ts +12 -0
- package/dist/rules/no-duplicate-attributes.d.ts.map +1 -0
- package/dist/rules/no-inline-styles.d.ts +11 -0
- package/dist/rules/no-inline-styles.d.ts.map +1 -0
- package/dist/rules/no-interpolation-in-attributes.d.ts +5 -0
- package/dist/rules/no-interpolation-in-attributes.d.ts.map +1 -0
- package/dist/rules/no-negated-async.d.ts +8 -0
- package/dist/rules/no-negated-async.d.ts.map +1 -0
- package/dist/rules/no-positive-tabindex.d.ts +5 -0
- package/dist/rules/no-positive-tabindex.d.ts.map +1 -0
- package/dist/rules/prefer-control-flow.d.ts +5 -0
- package/dist/rules/prefer-control-flow.d.ts.map +1 -0
- package/dist/rules/prefer-ngsrc.d.ts +5 -0
- package/dist/rules/prefer-ngsrc.d.ts.map +1 -0
- package/dist/rules/prefer-self-closing-tags.d.ts +5 -0
- package/dist/rules/prefer-self-closing-tags.d.ts.map +1 -0
- package/dist/rules/role-has-required-aria.d.ts +5 -0
- package/dist/rules/role-has-required-aria.d.ts.map +1 -0
- package/dist/rules/table-scope.d.ts +5 -0
- package/dist/rules/table-scope.d.ts.map +1 -0
- package/dist/rules/use-track-by-function.d.ts +8 -0
- package/dist/rules/use-track-by-function.d.ts.map +1 -0
- package/dist/rules/valid-aria.d.ts +5 -0
- package/dist/rules/valid-aria.d.ts.map +1 -0
- package/dist/utils/attributes-comparator.d.ts +4 -0
- package/dist/utils/attributes-comparator.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +9 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/create-eslint-rule.d.ts +3 -0
- package/dist/utils/create-eslint-rule.d.ts.map +1 -0
- package/dist/utils/get-attribute-value.d.ts +13 -0
- package/dist/utils/get-attribute-value.d.ts.map +1 -0
- package/dist/utils/get-dom-elements.d.ts +2 -0
- package/dist/utils/get-dom-elements.d.ts.map +1 -0
- package/dist/utils/get-nearest-node-from.d.ts +7 -0
- package/dist/utils/get-nearest-node-from.d.ts.map +1 -0
- package/dist/utils/get-original-attribute-name.d.ts +14 -0
- package/dist/utils/get-original-attribute-name.d.ts.map +1 -0
- package/dist/utils/is-child-node-of.d.ts +3 -0
- package/dist/utils/is-child-node-of.d.ts.map +1 -0
- package/dist/utils/is-content-editable.d.ts +3 -0
- package/dist/utils/is-content-editable.d.ts.map +1 -0
- package/dist/utils/is-disabled-element.d.ts +3 -0
- package/dist/utils/is-disabled-element.d.ts.map +1 -0
- package/dist/utils/is-hidden-from-screen-reader.d.ts +10 -0
- package/dist/utils/is-hidden-from-screen-reader.d.ts.map +1 -0
- package/dist/utils/is-interactive-element/get-interactive-element-ax-object-schemas.d.ts +10 -0
- package/dist/utils/is-interactive-element/get-interactive-element-ax-object-schemas.d.ts.map +1 -0
- package/dist/utils/is-interactive-element/get-interactive-element-role-schemas.d.ts +3 -0
- package/dist/utils/is-interactive-element/get-interactive-element-role-schemas.d.ts.map +1 -0
- package/dist/utils/is-interactive-element/get-non-interactive-element-role-schemas.d.ts +4 -0
- package/dist/utils/is-interactive-element/get-non-interactive-element-role-schemas.d.ts.map +1 -0
- package/dist/utils/is-interactive-element/index.d.ts +10 -0
- package/dist/utils/is-interactive-element/index.d.ts.map +1 -0
- package/dist/utils/is-presentation-role.d.ts +3 -0
- package/dist/utils/is-presentation-role.d.ts.map +1 -0
- package/dist/utils/is-semantic-role-element.d.ts +3 -0
- package/dist/utils/is-semantic-role-element.d.ts.map +1 -0
- package/dist/utils/to-pattern.d.ts +2 -0
- package/dist/utils/to-pattern.d.ts.map +1 -0
- package/package.json +6 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/rules/i18n.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AA6CnE,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,uBAAuB,CAAC,EAAE,MAAM,CAAC;QAC1C,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;QACnC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;QACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;QAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;QAC7B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC9C,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QACxC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC;QACtC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;KACnC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAClB,eAAe,GACf,0BAA0B,GAC1B,yBAAyB,GACzB,uBAAuB,GACvB,uBAAuB,GACvB,yBAAyB,GACzB,wBAAwB,GACxB,oBAAoB,CAAC;AAqBzB,eAAO,MAAM,SAAS,SAAS,CAAC;;AAiBhC,wBAqTG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'interactiveSupportsFocus';
|
|
2
|
+
export declare const RULE_NAME = "interactive-supports-focus";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"interactiveSupportsFocus", [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=interactive-supports-focus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interactive-supports-focus.d.ts","sourceRoot":"","sources":["../../src/rules/interactive-supports-focus.ts"],"names":[],"mappings":"AAcA,MAAM,MAAM,UAAU,GAAG,0BAA0B,CAAC;AACpD,eAAO,MAAM,SAAS,+BAA+B,CAAC;;AAEtD,wBAmEG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type LabelComponent = {
|
|
2
|
+
readonly inputs?: readonly string[];
|
|
3
|
+
readonly selector: string;
|
|
4
|
+
};
|
|
5
|
+
type Options = [
|
|
6
|
+
{
|
|
7
|
+
readonly controlComponents?: readonly string[];
|
|
8
|
+
readonly labelComponents?: readonly LabelComponent[];
|
|
9
|
+
}
|
|
10
|
+
];
|
|
11
|
+
export type MessageIds = 'labelHasAssociatedControl';
|
|
12
|
+
export declare const RULE_NAME = "label-has-associated-control";
|
|
13
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"labelHasAssociatedControl", Options, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=label-has-associated-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label-has-associated-control.d.ts","sourceRoot":"","sources":["../../src/rules/label-has-associated-control.ts"],"names":[],"mappings":"AAKA,KAAK,cAAc,GAAG;IACpB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B,CAAC;AACF,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC/C,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;KACtD;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,2BAA2B,CAAC;AACrD,eAAO,MAAM,SAAS,iCAAiC,CAAC;;AAiBxD,wBAqFG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
+
export type MessageIds = 'mouseEventsHaveKeyEvents';
|
|
3
|
+
export declare const RULE_NAME = "mouse-events-have-key-events";
|
|
4
|
+
declare const _default: TSESLint.RuleModule<"mouseEventsHaveKeyEvents", [], TSESLint.RuleListener>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=mouse-events-have-key-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mouse-events-have-key-events.d.ts","sourceRoot":"","sources":["../../src/rules/mouse-events-have-key-events.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAMzD,MAAM,MAAM,UAAU,GAAG,0BAA0B,CAAC;AACpD,eAAO,MAAM,SAAS,iCAAiC,CAAC;;AAaxD,wBAuCG"}
|
|
@@ -7,12 +7,22 @@ const get_dom_elements_1 = require("../utils/get-dom-elements");
|
|
|
7
7
|
const to_pattern_1 = require("../utils/to-pattern");
|
|
8
8
|
exports.RULE_NAME = 'mouse-events-have-key-events';
|
|
9
9
|
const STYLE_GUIDE_LINK = 'https://www.w3.org/WAI/WCAG21/Understanding/keyboard';
|
|
10
|
+
var KeyEvents;
|
|
11
|
+
(function (KeyEvents) {
|
|
12
|
+
KeyEvents["Blur"] = "blur";
|
|
13
|
+
KeyEvents["Focus"] = "focus";
|
|
14
|
+
})(KeyEvents || (KeyEvents = {}));
|
|
15
|
+
var MouseEvents;
|
|
16
|
+
(function (MouseEvents) {
|
|
17
|
+
MouseEvents["MouseOut"] = "mouseout";
|
|
18
|
+
MouseEvents["MouseOver"] = "mouseover";
|
|
19
|
+
})(MouseEvents || (MouseEvents = {}));
|
|
10
20
|
exports.default = (0, create_eslint_rule_1.createESLintRule)({
|
|
11
21
|
name: exports.RULE_NAME,
|
|
12
22
|
meta: {
|
|
13
23
|
type: 'suggestion',
|
|
14
24
|
docs: {
|
|
15
|
-
description: `[Accessibility] Ensures that the mouse events \`${
|
|
25
|
+
description: `[Accessibility] Ensures that the mouse events \`${MouseEvents.MouseOut}\` and \`${MouseEvents.MouseOver}\` are accompanied by \`${KeyEvents.Focus}\` and \`${KeyEvents.Blur}\` events respectively. Coding for the keyboard is important for users with physical disabilities who cannot use a mouse, AT compatibility, and screenreader users. See more at ${STYLE_GUIDE_LINK}`,
|
|
16
26
|
},
|
|
17
27
|
schema: [],
|
|
18
28
|
messages: {
|
|
@@ -24,8 +34,8 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
|
|
|
24
34
|
const parserServices = (0, utils_1.getTemplateParserServices)(context);
|
|
25
35
|
const domElementsPattern = (0, to_pattern_1.toPattern)([...(0, get_dom_elements_1.getDomElements)()]);
|
|
26
36
|
const eventPairs = [
|
|
27
|
-
[
|
|
28
|
-
[
|
|
37
|
+
[KeyEvents.Blur, MouseEvents.MouseOut],
|
|
38
|
+
[KeyEvents.Focus, MouseEvents.MouseOver],
|
|
29
39
|
];
|
|
30
40
|
return eventPairs.reduce((accumulator, [keyEvent, mouseEvent]) => ({
|
|
31
41
|
...accumulator,
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'noAny' | 'suggestRemoveAny';
|
|
2
|
+
export declare const RULE_NAME = "no-any";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=no-any.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-any.d.ts","sourceRoot":"","sources":["../../src/rules/no-any.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,kBAAkB,CAAC;AACtD,eAAO,MAAM,SAAS,WAAW,CAAC;;AAGlC,wBA0DG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'noAutofocus';
|
|
2
|
+
export declare const RULE_NAME = "no-autofocus";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noAutofocus", [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=no-autofocus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-autofocus.d.ts","sourceRoot":"","sources":["../../src/rules/no-autofocus.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AACvC,eAAO,MAAM,SAAS,iBAAiB,CAAC;;AAExC,wBAsCG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type Options = [
|
|
2
|
+
{
|
|
3
|
+
readonly allowList?: readonly string[];
|
|
4
|
+
}
|
|
5
|
+
];
|
|
6
|
+
export type MessageIds = 'noCallExpression';
|
|
7
|
+
export declare const RULE_NAME = "no-call-expression";
|
|
8
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noCallExpression", Options, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=no-call-expression.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-call-expression.d.ts","sourceRoot":"","sources":["../../src/rules/no-call-expression.ts"],"names":[],"mappings":"AAMA,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;KACxC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,kBAAkB,CAAC;AAC5C,eAAO,MAAM,SAAS,uBAAuB,CAAC;;AAE9C,wBAqDG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'noDistractingElements';
|
|
2
|
+
export declare const RULE_NAME = "no-distracting-elements";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noDistractingElements", [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=no-distracting-elements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-distracting-elements.d.ts","sourceRoot":"","sources":["../../src/rules/no-distracting-elements.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,UAAU,GAAG,uBAAuB,CAAC;AACjD,eAAO,MAAM,SAAS,4BAA4B,CAAC;;AAEnD,wBAoCG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type Options = [
|
|
2
|
+
{
|
|
3
|
+
readonly allowTwoWayDataBinding?: boolean;
|
|
4
|
+
readonly allowStylePrecedenceDuplicates?: boolean;
|
|
5
|
+
readonly ignore?: readonly string[];
|
|
6
|
+
}
|
|
7
|
+
];
|
|
8
|
+
export type MessageIds = 'noDuplicateAttributes' | 'suggestRemoveAttribute';
|
|
9
|
+
export declare const RULE_NAME = "no-duplicate-attributes";
|
|
10
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, Options, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=no-duplicate-attributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-duplicate-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/no-duplicate-attributes.ts"],"names":[],"mappings":"AAUA,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;QAC1C,QAAQ,CAAC,8BAA8B,CAAC,EAAE,OAAO,CAAC;QAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;KACrC;CACF,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,uBAAuB,GAAG,wBAAwB,CAAC;AAC5E,eAAO,MAAM,SAAS,4BAA4B,CAAC;;AAOnD,wBA2IG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Options = [
|
|
2
|
+
{
|
|
3
|
+
readonly allowNgStyle?: boolean;
|
|
4
|
+
readonly allowBindToStyle?: boolean;
|
|
5
|
+
}
|
|
6
|
+
];
|
|
7
|
+
export type MessageIds = 'noInlineStyles';
|
|
8
|
+
export declare const RULE_NAME = "no-inline-styles";
|
|
9
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noInlineStyles", Options, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=no-inline-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-inline-styles.d.ts","sourceRoot":"","sources":["../../src/rules/no-inline-styles.ts"],"names":[],"mappings":"AAOA,KAAK,OAAO,GAAG;IACb;QACE,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;QAChC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;KACrC;CACF,CAAC;AAKF,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAC1C,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAE5C,wBAqEG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MESSAGE_ID = "noInterpolationInAttributes";
|
|
2
|
+
export declare const RULE_NAME = "no-interpolation-in-attributes";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noInterpolationInAttributes", [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=no-interpolation-in-attributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-interpolation-in-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/no-interpolation-in-attributes.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,gCAAgC,CAAC;AACxD,eAAO,MAAM,SAAS,mCAAmC,CAAC;;AAE1D,wBAkCG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type MessageIds = 'noNegatedAsync' | 'noNegatedValueForAsync' | 'suggestFalseComparison' | 'suggestNullComparison' | 'suggestUndefinedComparison' | 'suggestUsingNonNegatedValue';
|
|
2
|
+
export declare const RULE_NAME = "no-negated-async";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const RULE_DOCS_EXTENSION: {
|
|
6
|
+
rationale: string;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=no-negated-async.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-negated-async.d.ts","sourceRoot":"","sources":["../../src/rules/no-negated-async.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,UAAU,GAClB,gBAAgB,GAChB,wBAAwB,GACxB,wBAAwB,GACxB,uBAAuB,GACvB,4BAA4B,GAC5B,6BAA6B,CAAC;AAClC,eAAO,MAAM,SAAS,qBAAqB,CAAC;;AAE5C,wBA2EG;AAEH,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'noPositiveTabindex' | 'suggestNonNegativeTabindex';
|
|
2
|
+
export declare const RULE_NAME = "no-positive-tabindex";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=no-positive-tabindex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-positive-tabindex.d.ts","sourceRoot":"","sources":["../../src/rules/no-positive-tabindex.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,4BAA4B,CAAC;AAC7E,eAAO,MAAM,SAAS,yBAAyB,CAAC;;AAEhD,wBA2CG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MESSAGE_ID = "preferControlFlow";
|
|
2
|
+
export declare const RULE_NAME = "prefer-control-flow";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"preferControlFlow", [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=prefer-control-flow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefer-control-flow.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-control-flow.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,sBAAsB,CAAC;AAC9C,eAAO,MAAM,SAAS,wBAAwB,CAAC;;AAE/C,wBA8BG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'missingAttribute' | 'invalidDoubleSource';
|
|
2
|
+
export declare const RULE_NAME = "prefer-ngsrc";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=prefer-ngsrc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefer-ngsrc.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-ngsrc.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,GAAG,kBAAkB,GAAG,qBAAqB,CAAC;AACpE,eAAO,MAAM,SAAS,iBAAiB,CAAC;;AAExC,wBA4CG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MESSAGE_ID = "preferSelfClosingTags";
|
|
2
|
+
export declare const RULE_NAME = "prefer-self-closing-tags";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"preferSelfClosingTags", [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=prefer-self-closing-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefer-self-closing-tags.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-self-closing-tags.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,UAAU,0BAA0B,CAAC;AAClD,eAAO,MAAM,SAAS,6BAA6B,CAAC;;AAEpD,wBA2HG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'roleHasRequiredAria' | 'suggestRemoveRole';
|
|
2
|
+
export declare const RULE_NAME = "role-has-required-aria";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=role-has-required-aria.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role-has-required-aria.d.ts","sourceRoot":"","sources":["../../src/rules/role-has-required-aria.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,UAAU,GAAG,qBAAqB,GAAG,mBAAmB,CAAC;AACrE,eAAO,MAAM,SAAS,2BAA2B,CAAC;;AAElD,wBA2EG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'tableScope';
|
|
2
|
+
export declare const RULE_NAME = "table-scope";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"tableScope", [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=table-scope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-scope.d.ts","sourceRoot":"","sources":["../../src/rules/table-scope.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC;AACtC,eAAO,MAAM,SAAS,gBAAgB,CAAC;;AAEvC,wBAuCG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type Options = [{
|
|
2
|
+
readonly alias: readonly string[];
|
|
3
|
+
}];
|
|
4
|
+
export type MessageIds = 'useTrackByFunction';
|
|
5
|
+
export declare const RULE_NAME = "use-track-by-function";
|
|
6
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"useTrackByFunction", Options, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=use-track-by-function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-track-by-function.d.ts","sourceRoot":"","sources":["../../src/rules/use-track-by-function.ts"],"names":[],"mappings":"AAQA,KAAK,OAAO,GAAG,CAAC;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC;AACvD,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAC9C,eAAO,MAAM,SAAS,0BAA0B,CAAC;;AAIjD,wBAyEG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type MessageIds = 'validAria' | 'validAriaValue' | 'suggestRemoveInvalidAria';
|
|
2
|
+
export declare const RULE_NAME = "valid-aria";
|
|
3
|
+
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("@typescript-eslint/utils/ts-eslint").RuleListener>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=valid-aria.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valid-aria.d.ts","sourceRoot":"","sources":["../../src/rules/valid-aria.ts"],"names":[],"mappings":"AAiBA,MAAM,MAAM,UAAU,GAClB,WAAW,GACX,gBAAgB,GAChB,0BAA0B,CAAC;AAC/B,eAAO,MAAM,SAAS,eAAe,CAAC;;AAEtC,wBAuEG"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TmplAstElement } from '@angular-eslint/bundled-angular-compiler';
|
|
2
|
+
import type { ARIARoleRelationConceptAttribute } from 'aria-query';
|
|
3
|
+
export declare function attributesComparator(ariaRoleRelationConceptAttributes: readonly ARIARoleRelationConceptAttribute[], node: TmplAstElement): boolean;
|
|
4
|
+
//# sourceMappingURL=attributes-comparator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attributes-comparator.d.ts","sourceRoot":"","sources":["../../src/utils/attributes-comparator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,YAAY,CAAC;AAGnE,wBAAgB,oBAAoB,CAClC,iCAAiC,EAAE,SAAS,gCAAgC,EAAE,EAC9E,IAAI,EAAE,cAAc,GACnB,OAAO,CAqBT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,eAA0B,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
2
|
+
export declare const createESLintRule: <Options extends readonly unknown[], MessageIds extends string>({ name, meta, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<Options, MessageIds>>) => ESLintUtils.RuleModule<MessageIds, Options, ESLintUtils.RuleListener>;
|
|
3
|
+
//# sourceMappingURL=create-eslint-rule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-eslint-rule.d.ts","sourceRoot":"","sources":["../../src/utils/create-eslint-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AA4BvD,eAAO,MAAM,gBAAgB,mOAG5B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TmplAstElement } from '@angular-eslint/bundled-angular-compiler';
|
|
2
|
+
/**
|
|
3
|
+
* Extracts the attribute value.
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* getAttributeValue(Element(`<div property="test"></div>`), 'nonExistent'); // null
|
|
7
|
+
* getAttributeValue(Element(`<div aria-role="none"></div>`), 'role'); // 'none'
|
|
8
|
+
* getAttributeValue(Element(`<div [attr.aria-checked]="true"></div>`), 'aria-checked'); // true
|
|
9
|
+
* getAttributeValue(Element(`<button [variant]="variant"></button>`), 'variant'); // PROPERTY
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare function getAttributeValue({ attributes, inputs }: TmplAstElement, attributeName: string): unknown;
|
|
13
|
+
//# sourceMappingURL=get-attribute-value.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-attribute-value.d.ts","sourceRoot":"","sources":["../../src/utils/get-attribute-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAU/E;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAC/B,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,cAAc,EACtC,aAAa,EAAE,MAAM,GACpB,OAAO,CA6BT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-dom-elements.d.ts","sourceRoot":"","sources":["../../src/utils/get-dom-elements.ts"],"names":[],"mappings":"AAGA,wBAAgB,cAAc,IAAI,WAAW,CAAC,MAAM,CAAC,CAEpD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AST, TmplAstNode } from '@angular-eslint/bundled-angular-compiler';
|
|
2
|
+
type ASTOrNodeWithParent = (AST | TmplAstNode) & {
|
|
3
|
+
parent?: ASTOrNodeWithParent;
|
|
4
|
+
};
|
|
5
|
+
export declare function getNearestNodeFrom<T extends ASTOrNodeWithParent>({ parent }: ASTOrNodeWithParent, predicate: (parent: ASTOrNodeWithParent) => parent is T): T | null;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=get-nearest-node-from.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-nearest-node-from.d.ts","sourceRoot":"","sources":["../../src/utils/get-nearest-node-from.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,WAAW,EACZ,MAAM,0CAA0C,CAAC;AAIlD,KAAK,mBAAmB,GAAG,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG;IAC/C,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAMF,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,mBAAmB,EAC9D,EAAE,MAAM,EAAE,EAAE,mBAAmB,EAC/B,SAAS,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,MAAM,IAAI,CAAC,GACtD,CAAC,GAAG,IAAI,CAUV"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TmplAstBoundAttribute, TmplAstTextAttribute } from '@angular-eslint/bundled-angular-compiler';
|
|
2
|
+
import { TmplAstBoundEvent } from '@angular-eslint/bundled-angular-compiler';
|
|
3
|
+
/**
|
|
4
|
+
* Returns the original attribute name.
|
|
5
|
+
* @example
|
|
6
|
+
* ```html
|
|
7
|
+
* <div [style.display.none]="test"></div> <!-- Instead of "display", "style.display.none" -->
|
|
8
|
+
* <div [attr.role]="'none'"></div> <!-- Instead of "attr.role", "role" -->
|
|
9
|
+
* <div ([ngModel])="test"></div> <!-- Instead of "ngModel", "ngModelChange" -->
|
|
10
|
+
* <div (@fade.start)="handle()"></div> <!-- Instead of "fade", "@fade.start" -->
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare function getOriginalAttributeName(attribute: TmplAstBoundAttribute | TmplAstBoundEvent | TmplAstTextAttribute): string;
|
|
14
|
+
//# sourceMappingURL=get-original-attribute-name.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-original-attribute-name.d.ts","sourceRoot":"","sources":["../../src/utils/get-original-attribute-name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAE7E;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,qBAAqB,GAAG,iBAAiB,GAAG,oBAAoB,GAC1E,MAAM,CAYR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-child-node-of.d.ts","sourceRoot":"","sources":["../../src/utils/is-child-node-of.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,wBAAgB,aAAa,CAC3B,GAAG,EAAE,cAAc,EACnB,aAAa,EAAE,MAAM,GACpB,OAAO,CAUT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-content-editable.d.ts","sourceRoot":"","sources":["../../src/utils/is-content-editable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAI/E,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAW/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-disabled-element.d.ts","sourceRoot":"","sources":["../../src/utils/is-disabled-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAI/E,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAkB/D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TmplAstElement } from '@angular-eslint/bundled-angular-compiler';
|
|
2
|
+
/**
|
|
3
|
+
* Whether an element content cannot be read by a screen reader. It can happen in the following situations:
|
|
4
|
+
* - It has `display: none` or `visibility: hidden` style;
|
|
5
|
+
* - It has `aria-hidden` or `hidden` attribute;
|
|
6
|
+
* - It's an `<input type="hidden">`;
|
|
7
|
+
* - One of its ancestors met one of the following situations above.
|
|
8
|
+
*/
|
|
9
|
+
export declare function isHiddenFromScreenReader(node: TmplAstElement): boolean;
|
|
10
|
+
//# sourceMappingURL=is-hidden-from-screen-reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-hidden-from-screen-reader.d.ts","sourceRoot":"","sources":["../../src/utils/is-hidden-from-screen-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAI1E;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAyBtE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface AXObjectSchema {
|
|
2
|
+
name: string;
|
|
3
|
+
attributes?: {
|
|
4
|
+
name: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
}[];
|
|
7
|
+
}
|
|
8
|
+
export declare function getInteractiveElementAXObjectSchemas(): AXObjectSchema[];
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=get-interactive-element-ax-object-schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-interactive-element-ax-object-schemas.d.ts","sourceRoot":"","sources":["../../../src/utils/is-interactive-element/get-interactive-element-ax-object-schemas.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACjD;AAQD,wBAAgB,oCAAoC,IAAI,cAAc,EAAE,CA+BvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-interactive-element-role-schemas.d.ts","sourceRoot":"","sources":["../../../src/utils/is-interactive-element/get-interactive-element-role-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,YAAY,CAAC;AASpB,wBAAgB,gCAAgC,IAAI,uBAAuB,EAAE,CAuC5E"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ARIARoleDefinitionKey, ARIARoleRelationConcept } from 'aria-query';
|
|
2
|
+
export declare function getNonInteractiveElementRoleSchemas(): ARIARoleRelationConcept[];
|
|
3
|
+
export declare function getNonInteractiveRoles(): Set<ARIARoleDefinitionKey>;
|
|
4
|
+
//# sourceMappingURL=get-non-interactive-element-role-schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-non-interactive-element-role-schemas.d.ts","sourceRoot":"","sources":["../../../src/utils/is-interactive-element/get-non-interactive-element-role-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AAWpB,wBAAgB,mCAAmC,IAAI,uBAAuB,EAAE,CAgB/E;AAED,wBAAgB,sBAAsB,IAAI,GAAG,CAAC,qBAAqB,CAAC,CAyBnE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TmplAstElement } from '@angular-eslint/bundled-angular-compiler';
|
|
2
|
+
/**
|
|
3
|
+
* Returns boolean indicating whether the given element is
|
|
4
|
+
* interactive on the DOM or not. Usually used when an element
|
|
5
|
+
* has a dynamic handler on it and we need to discern whether or not
|
|
6
|
+
* it's intention is to be interacted with on the DOM.
|
|
7
|
+
*/
|
|
8
|
+
export declare function isInteractiveElement(node: TmplAstElement): boolean;
|
|
9
|
+
export declare function isNonInteractiveRole(node: TmplAstElement): boolean;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/is-interactive-element/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAwC/E;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAElE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAElE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-presentation-role.d.ts","sourceRoot":"","sources":["../../src/utils/is-presentation-role.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAQ/E,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAMhE"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { TmplAstBoundAttribute, TmplAstTextAttribute } from '@angular-eslint/bundled-angular-compiler';
|
|
2
|
+
export declare function isSemanticRoleElement(element: string, role: string, elementAttributes: (TmplAstTextAttribute | TmplAstBoundAttribute)[]): boolean;
|
|
3
|
+
//# sourceMappingURL=is-semantic-role-element.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-semantic-role-element.d.ts","sourceRoot":"","sources":["../../src/utils/is-semantic-role-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,0CAA0C,CAAC;AAalD,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,iBAAiB,EAAE,CAAC,oBAAoB,GAAG,qBAAqB,CAAC,EAAE,GAClE,OAAO,CA+BT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-pattern.d.ts","sourceRoot":"","sources":["../../src/utils/to-pattern.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,OAAO,EAAE,GAAG,MAAM,CAE3D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-eslint/eslint-plugin-template",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.4.1-alpha.0",
|
|
4
4
|
"description": "ESLint plugin for Angular Templates",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,15 +12,16 @@
|
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
|
+
"!**/*.tsbuildinfo",
|
|
15
16
|
"package.json",
|
|
16
17
|
"README.md",
|
|
17
18
|
"LICENSE"
|
|
18
19
|
],
|
|
19
20
|
"dependencies": {
|
|
20
|
-
"@angular-eslint/bundled-angular-compiler": "17.
|
|
21
|
-
"@angular-eslint/utils": "17.
|
|
22
|
-
"@typescript-eslint/type-utils": "7.
|
|
23
|
-
"@typescript-eslint/utils": "7.
|
|
21
|
+
"@angular-eslint/bundled-angular-compiler": "17.4.1-alpha.0",
|
|
22
|
+
"@angular-eslint/utils": "17.4.1-alpha.0",
|
|
23
|
+
"@typescript-eslint/type-utils": "7.8.0",
|
|
24
|
+
"@typescript-eslint/utils": "7.8.0",
|
|
24
25
|
"aria-query": "5.3.0",
|
|
25
26
|
"axobject-query": "4.0.0"
|
|
26
27
|
},
|