1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { SchemaMetadata, SecurityContext } from '../core';
|
9 | export declare abstract class ElementSchemaRegistry {
|
10 | abstract hasProperty(tagName: string, propName: string, schemaMetas: SchemaMetadata[]): boolean;
|
11 | abstract hasElement(tagName: string, schemaMetas: SchemaMetadata[]): boolean;
|
12 | abstract securityContext(elementName: string, propName: string, isAttribute: boolean): SecurityContext;
|
13 | abstract allKnownElementNames(): string[];
|
14 | abstract getMappedPropName(propName: string): string;
|
15 | abstract getDefaultComponentElementName(): string;
|
16 | abstract validateProperty(name: string): {
|
17 | error: boolean;
|
18 | msg?: string;
|
19 | };
|
20 | abstract validateAttribute(name: string): {
|
21 | error: boolean;
|
22 | msg?: string;
|
23 | };
|
24 | abstract normalizeAnimationStyleProperty(propName: string): string;
|
25 | abstract normalizeAnimationStyleValue(camelCaseProp: string, userProvidedProp: string, val: string | number): {
|
26 | error: string;
|
27 | value: string;
|
28 | };
|
29 | }
|