pro-editor-schema 0.2.2 → 0.2.22
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/index.d.mts +25 -17
- package/dist/index.d.ts +25 -17
- package/dist/index.js +282 -111
- package/dist/index.mjs +281 -110
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
type SchemaKind = "element" | "atom" | "inline";
|
|
2
2
|
type FreeAttribute = string;
|
|
3
|
-
type RestrictedAttribute = {
|
|
3
|
+
type RestrictedAttribute<T = readonly string[]> = {
|
|
4
4
|
name: string;
|
|
5
|
-
values:
|
|
5
|
+
values: T;
|
|
6
6
|
defaultValue: string;
|
|
7
7
|
};
|
|
8
|
-
type AttributeDefinition = FreeAttribute | RestrictedAttribute
|
|
8
|
+
type AttributeDefinition<T = readonly string[]> = FreeAttribute | RestrictedAttribute<T>;
|
|
9
9
|
type AllowedChildren = {
|
|
10
10
|
code: SchemaCode;
|
|
11
11
|
required: boolean;
|
|
12
12
|
};
|
|
13
|
-
type Schema = {
|
|
13
|
+
type Schema<TRequiredAttributes = readonly AttributeDefinition[], TOptionalAttributes = readonly AttributeDefinition[]> = {
|
|
14
14
|
code: SchemaCode;
|
|
15
15
|
kind: SchemaKind;
|
|
16
16
|
tag: string;
|
|
17
|
-
requiredAttributes:
|
|
18
|
-
optionalAttributes:
|
|
17
|
+
requiredAttributes: TRequiredAttributes;
|
|
18
|
+
optionalAttributes: TOptionalAttributes;
|
|
19
19
|
defaultChildCode?: SchemaCode;
|
|
20
20
|
allowedChildrenCodes: AllowedChildren[];
|
|
21
|
+
matchesElement?: (element: Element) => boolean;
|
|
21
22
|
};
|
|
22
23
|
type SchemaCode = ElementSchemaCode | InlineSchemaCode | AtomSchemaCode;
|
|
23
24
|
type ElementSchemaCode = "referenceBibliomixed" | "referenceBibliography" | "bibliodiv" | "degrees" | "email" | "equation" | "fignote" | "figsource" | "firstname" | "footnote" | "footnoteno" | "honorific" | "img" | "informalfigure" | "keyword" | "label1" | "li" | "line" | "lrh" | "math" | "mathphrase" | "merror" | "mfrac" | "mi" | "mmultiscripts" | "mn" | "mo" | "mover" | "mpadded" | "mphantom" | "mprescripts" | "mroot" | "mrow" | "ms" | "mspace" | "msqrt" | "mstyle" | "msub" | "msubsup" | "msup" | "mtable" | "mtd" | "mtext" | "mtr" | "munder" | "munderover" | "olink" | "org" | "orgname" | "para" | "punc" | "rrh" | "source1" | "speaker" | "subtitle1" | "surname" | "tag" | "tblfn" | "tblsource" | "thead" | "title1" | "token" | "tp" | "abstract1" | "affiliation" | "alttext" | "appendix" | "author" | "authorgroup" | "blockquote" | "caption1" | "chapter" | "dialogue" | "epigraph" | "figure1" | "footnoteSection" | "heading" | "imageobject" | "info1" | "keywordset" | "mediaobject" | "ol" | "personname" | "poem" | "sidebar" | "table" | "table1" | "tbody" | "td" | "tgroup" | "tr" | "ul";
|
|
24
|
-
type AtomSchemaCode = "indexterm" | "primary" | "secondary" | "tertiary" | "quaternary" | "bookmark" | "see" | "commentQuerySection" | "comment" | "content" | "query" | "reply" | "deletion" | "emphasis" | "highlightmark" | "i" | "insertion" | "sc" | "strike" | "sub" | "sup" | "u" | "b" | "referenceMark";
|
|
25
|
+
type AtomSchemaCode = "indexterm" | "primary" | "secondary" | "tertiary" | "quaternary" | "bookmark" | "see" | "commentQuerySection" | "comment" | "content" | "query" | "reply" | "deletion" | "emphasis" | "highlightmark" | "i" | "insertion" | "sc" | "strike" | "sub" | "sup" | "u" | "b" | "referenceMark" | "abbreviation";
|
|
25
26
|
type InlineSchemaCode = "footnote1" | "inlineequation" | "link" | "uri" | "phrase";
|
|
26
27
|
|
|
27
28
|
declare const SCHEMAS: Record<SchemaCode, Schema>;
|
|
@@ -30,18 +31,25 @@ declare const isTrackChangesSchema: (schema: Schema) => boolean;
|
|
|
30
31
|
declare const isIgnoredAttribute: (attribute: string) => boolean;
|
|
31
32
|
declare const isIgnoredElement: (element: Element) => boolean;
|
|
32
33
|
declare const isIgnoredValidation: (code: SchemaCode) => boolean;
|
|
33
|
-
declare const findSchemaByCode: (code: SchemaCode) => Schema
|
|
34
|
-
declare const findSchemaByTagName: (tagName: string) => Schema[];
|
|
34
|
+
declare const findSchemaByCode: (code: SchemaCode) => Schema;
|
|
35
35
|
declare const findSchemaByElement: (element: Element) => Schema | undefined;
|
|
36
36
|
declare const isAttributeRestricted: (attr: AttributeDefinition) => attr is RestrictedAttribute;
|
|
37
37
|
declare const getAttributeName: (attribute: AttributeDefinition) => string;
|
|
38
|
-
declare const findAttributeDefinitionByName: (definitions: AttributeDefinition[], name: string) => AttributeDefinition | undefined;
|
|
38
|
+
declare const findAttributeDefinitionByName: (definitions: readonly AttributeDefinition[], name: string) => AttributeDefinition | undefined;
|
|
39
39
|
|
|
40
|
-
type
|
|
40
|
+
type AttributeValue<TAttribute extends AttributeDefinition> = TAttribute extends string ? string : TAttribute extends RestrictedAttribute<infer TValues> ? TValues extends readonly string[] ? TValues[number] : string : never;
|
|
41
|
+
type SchemaAttributes<TSchema extends Schema> = TSchema extends Schema<infer TRequired extends readonly AttributeDefinition[], infer TOptional extends readonly AttributeDefinition[]> ? {
|
|
42
|
+
[TAttribute in TRequired[number] as TAttribute extends string ? TAttribute : TAttribute extends RestrictedAttribute ? TAttribute["name"] : never]: AttributeValue<TAttribute>;
|
|
43
|
+
} & {
|
|
44
|
+
[TAttribute in TOptional[number] as TAttribute extends string ? TAttribute : TAttribute extends RestrictedAttribute ? TAttribute["name"] : never]?: AttributeValue<TAttribute>;
|
|
45
|
+
} : never;
|
|
46
|
+
type CreateElementParams<TSchema extends Schema> = {
|
|
41
47
|
schemaCode: SchemaCode;
|
|
42
|
-
attributes:
|
|
48
|
+
attributes: SchemaAttributes<TSchema>;
|
|
43
49
|
};
|
|
44
|
-
declare const createElement: ({ schemaCode, attributes, }: CreateElementParams) => HTMLElement;
|
|
50
|
+
declare const createElement: <TSchema extends Schema>({ schemaCode, attributes, }: CreateElementParams<TSchema>) => HTMLElement;
|
|
51
|
+
|
|
52
|
+
declare const ElementLabel: Record<SchemaCode, string>;
|
|
45
53
|
|
|
46
54
|
declare const IGNORED_ELEMENT_SELECTORS: string[];
|
|
47
55
|
declare const IGNORED_VALIDATION_ELEMENT_SELECTORS: SchemaCode[];
|
|
@@ -68,15 +76,15 @@ declare const FIGURE_PLACEMENT_ATTRIBUTE = "data-figure-placement";
|
|
|
68
76
|
declare const LAYOUT_CELL_WIDTH_ATTRIBUTE = "data-cell-width";
|
|
69
77
|
declare const LAYOUT_TABLE_ORIENTATION_ATTRIBUTE = "data-table-orientation";
|
|
70
78
|
declare const LAYOUT_TABLE_PLACEMENT_ATTRIBUTE = "data-table-placement";
|
|
71
|
-
declare const LAYOUT_ATTRIBUTES:
|
|
79
|
+
declare const LAYOUT_ATTRIBUTES: readonly ["data-alignment", "data-left-indent", "data-right-indent", "data-special-indent", "data-space-above", "data-space-below", "data-indent-type", "data-layout-user", "data-paragraph-style"];
|
|
72
80
|
declare const TRACK_CHANGES_ATTR_DATA_USERNAME = "data-username";
|
|
73
81
|
declare const TRACK_CHANGES_ATTR_DATA_USERID = "data-userid";
|
|
74
82
|
declare const TRACK_CHANGES_ATTR_DATA_TIME = "data-time";
|
|
75
83
|
declare const TRACK_CHANGES_ATTR_DATA_DATE = "data-date";
|
|
76
|
-
declare const TRACK_CHANGES_ATTRS:
|
|
84
|
+
declare const TRACK_CHANGES_ATTRS: readonly ["data-username", "data-userid", "data-time", "data-date"];
|
|
77
85
|
declare const ELE_ID_ATTRIBUTE = "ele-id";
|
|
78
86
|
declare const STORE_ATTRIBUTE = "store";
|
|
79
|
-
declare const ID_ATTRS:
|
|
87
|
+
declare const ID_ATTRS: readonly ["store", "ele-id"];
|
|
80
88
|
|
|
81
89
|
declare const ELEMENT_SCHEMAS: Record<ElementSchemaCode, Schema>;
|
|
82
90
|
|
|
@@ -107,4 +115,4 @@ type ValidationError = {
|
|
|
107
115
|
*/
|
|
108
116
|
declare const validateXml: (xml: Element, elementsToLink: string[], linkElements: string[], schemasToValidateAgainst: SchemaCode[]) => ValidationError[];
|
|
109
117
|
|
|
110
|
-
export { ALIGNMENT_ATTRIBUTE, ATOM_SCHEMAS, type AllowedChildren, type AtomSchemaCode, type AttributeDefinition, DEPENDENT_FORBIDDEN_ELEMENTS, ELEMENT_SCHEMAS, ELE_ID_ATTRIBUTE, type ElementSchemaCode, FIGURE_PLACEMENT_ATTRIBUTE, type FreeAttribute, ID_ATTRS, IGNORED_ATTRIBUTES, IGNORED_ATTRIBUTES_STARTS_WITH, IGNORED_ELEMENT_SELECTORS, IGNORED_VALIDATION_ELEMENT_SELECTORS, INDENT_TYPE_ATTRIBUTE, INLINE_ELEMENT_SCHEMAS, type InlineSchemaCode, LAYOUT_ATTRIBUTES, LAYOUT_CELL_WIDTH_ATTRIBUTE, LAYOUT_TABLE_ORIENTATION_ATTRIBUTE, LAYOUT_TABLE_PLACEMENT_ATTRIBUTE, LAYOUT_USER_ATTRIBUTE, LEFT_INDENT_ATTRIBUTE, RIGHT_INDENT_ATTRIBUTE, type RestrictedAttribute, SCHEMAS, SPACE_ABOVE_ATTRIBUTE, SPACE_BELOW_ATTRIBUTE, SPECIAL_INDENT_ATTRIBUTE, STORE_ATTRIBUTE, STYLE_NAME_ATTRIBUTE, type Schema, type SchemaCode, type SchemaKind, TRACK_CHANGES_ATTRS, TRACK_CHANGES_ATTR_DATA_DATE, TRACK_CHANGES_ATTR_DATA_TIME, TRACK_CHANGES_ATTR_DATA_USERID, TRACK_CHANGES_ATTR_DATA_USERNAME, type ValidationError, type ValidationErrorKind, type ValidationErrorLevel, createElement, findAttributeDefinitionByName, findSchemaByCode, findSchemaByElement,
|
|
118
|
+
export { ALIGNMENT_ATTRIBUTE, ATOM_SCHEMAS, type AllowedChildren, type AtomSchemaCode, type AttributeDefinition, DEPENDENT_FORBIDDEN_ELEMENTS, ELEMENT_SCHEMAS, ELE_ID_ATTRIBUTE, ElementLabel, type ElementSchemaCode, FIGURE_PLACEMENT_ATTRIBUTE, type FreeAttribute, ID_ATTRS, IGNORED_ATTRIBUTES, IGNORED_ATTRIBUTES_STARTS_WITH, IGNORED_ELEMENT_SELECTORS, IGNORED_VALIDATION_ELEMENT_SELECTORS, INDENT_TYPE_ATTRIBUTE, INLINE_ELEMENT_SCHEMAS, type InlineSchemaCode, LAYOUT_ATTRIBUTES, LAYOUT_CELL_WIDTH_ATTRIBUTE, LAYOUT_TABLE_ORIENTATION_ATTRIBUTE, LAYOUT_TABLE_PLACEMENT_ATTRIBUTE, LAYOUT_USER_ATTRIBUTE, LEFT_INDENT_ATTRIBUTE, RIGHT_INDENT_ATTRIBUTE, type RestrictedAttribute, SCHEMAS, SPACE_ABOVE_ATTRIBUTE, SPACE_BELOW_ATTRIBUTE, SPECIAL_INDENT_ATTRIBUTE, STORE_ATTRIBUTE, STYLE_NAME_ATTRIBUTE, type Schema, type SchemaCode, type SchemaKind, TRACK_CHANGES_ATTRS, TRACK_CHANGES_ATTR_DATA_DATE, TRACK_CHANGES_ATTR_DATA_TIME, TRACK_CHANGES_ATTR_DATA_USERID, TRACK_CHANGES_ATTR_DATA_USERNAME, type ValidationError, type ValidationErrorKind, type ValidationErrorLevel, createElement, findAttributeDefinitionByName, findSchemaByCode, findSchemaByElement, getAttributeName, isAttributeRestricted, isIgnoredAttribute, isIgnoredElement, isIgnoredValidation, isTrackChangesSchema, validateXml };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
type SchemaKind = "element" | "atom" | "inline";
|
|
2
2
|
type FreeAttribute = string;
|
|
3
|
-
type RestrictedAttribute = {
|
|
3
|
+
type RestrictedAttribute<T = readonly string[]> = {
|
|
4
4
|
name: string;
|
|
5
|
-
values:
|
|
5
|
+
values: T;
|
|
6
6
|
defaultValue: string;
|
|
7
7
|
};
|
|
8
|
-
type AttributeDefinition = FreeAttribute | RestrictedAttribute
|
|
8
|
+
type AttributeDefinition<T = readonly string[]> = FreeAttribute | RestrictedAttribute<T>;
|
|
9
9
|
type AllowedChildren = {
|
|
10
10
|
code: SchemaCode;
|
|
11
11
|
required: boolean;
|
|
12
12
|
};
|
|
13
|
-
type Schema = {
|
|
13
|
+
type Schema<TRequiredAttributes = readonly AttributeDefinition[], TOptionalAttributes = readonly AttributeDefinition[]> = {
|
|
14
14
|
code: SchemaCode;
|
|
15
15
|
kind: SchemaKind;
|
|
16
16
|
tag: string;
|
|
17
|
-
requiredAttributes:
|
|
18
|
-
optionalAttributes:
|
|
17
|
+
requiredAttributes: TRequiredAttributes;
|
|
18
|
+
optionalAttributes: TOptionalAttributes;
|
|
19
19
|
defaultChildCode?: SchemaCode;
|
|
20
20
|
allowedChildrenCodes: AllowedChildren[];
|
|
21
|
+
matchesElement?: (element: Element) => boolean;
|
|
21
22
|
};
|
|
22
23
|
type SchemaCode = ElementSchemaCode | InlineSchemaCode | AtomSchemaCode;
|
|
23
24
|
type ElementSchemaCode = "referenceBibliomixed" | "referenceBibliography" | "bibliodiv" | "degrees" | "email" | "equation" | "fignote" | "figsource" | "firstname" | "footnote" | "footnoteno" | "honorific" | "img" | "informalfigure" | "keyword" | "label1" | "li" | "line" | "lrh" | "math" | "mathphrase" | "merror" | "mfrac" | "mi" | "mmultiscripts" | "mn" | "mo" | "mover" | "mpadded" | "mphantom" | "mprescripts" | "mroot" | "mrow" | "ms" | "mspace" | "msqrt" | "mstyle" | "msub" | "msubsup" | "msup" | "mtable" | "mtd" | "mtext" | "mtr" | "munder" | "munderover" | "olink" | "org" | "orgname" | "para" | "punc" | "rrh" | "source1" | "speaker" | "subtitle1" | "surname" | "tag" | "tblfn" | "tblsource" | "thead" | "title1" | "token" | "tp" | "abstract1" | "affiliation" | "alttext" | "appendix" | "author" | "authorgroup" | "blockquote" | "caption1" | "chapter" | "dialogue" | "epigraph" | "figure1" | "footnoteSection" | "heading" | "imageobject" | "info1" | "keywordset" | "mediaobject" | "ol" | "personname" | "poem" | "sidebar" | "table" | "table1" | "tbody" | "td" | "tgroup" | "tr" | "ul";
|
|
24
|
-
type AtomSchemaCode = "indexterm" | "primary" | "secondary" | "tertiary" | "quaternary" | "bookmark" | "see" | "commentQuerySection" | "comment" | "content" | "query" | "reply" | "deletion" | "emphasis" | "highlightmark" | "i" | "insertion" | "sc" | "strike" | "sub" | "sup" | "u" | "b" | "referenceMark";
|
|
25
|
+
type AtomSchemaCode = "indexterm" | "primary" | "secondary" | "tertiary" | "quaternary" | "bookmark" | "see" | "commentQuerySection" | "comment" | "content" | "query" | "reply" | "deletion" | "emphasis" | "highlightmark" | "i" | "insertion" | "sc" | "strike" | "sub" | "sup" | "u" | "b" | "referenceMark" | "abbreviation";
|
|
25
26
|
type InlineSchemaCode = "footnote1" | "inlineequation" | "link" | "uri" | "phrase";
|
|
26
27
|
|
|
27
28
|
declare const SCHEMAS: Record<SchemaCode, Schema>;
|
|
@@ -30,18 +31,25 @@ declare const isTrackChangesSchema: (schema: Schema) => boolean;
|
|
|
30
31
|
declare const isIgnoredAttribute: (attribute: string) => boolean;
|
|
31
32
|
declare const isIgnoredElement: (element: Element) => boolean;
|
|
32
33
|
declare const isIgnoredValidation: (code: SchemaCode) => boolean;
|
|
33
|
-
declare const findSchemaByCode: (code: SchemaCode) => Schema
|
|
34
|
-
declare const findSchemaByTagName: (tagName: string) => Schema[];
|
|
34
|
+
declare const findSchemaByCode: (code: SchemaCode) => Schema;
|
|
35
35
|
declare const findSchemaByElement: (element: Element) => Schema | undefined;
|
|
36
36
|
declare const isAttributeRestricted: (attr: AttributeDefinition) => attr is RestrictedAttribute;
|
|
37
37
|
declare const getAttributeName: (attribute: AttributeDefinition) => string;
|
|
38
|
-
declare const findAttributeDefinitionByName: (definitions: AttributeDefinition[], name: string) => AttributeDefinition | undefined;
|
|
38
|
+
declare const findAttributeDefinitionByName: (definitions: readonly AttributeDefinition[], name: string) => AttributeDefinition | undefined;
|
|
39
39
|
|
|
40
|
-
type
|
|
40
|
+
type AttributeValue<TAttribute extends AttributeDefinition> = TAttribute extends string ? string : TAttribute extends RestrictedAttribute<infer TValues> ? TValues extends readonly string[] ? TValues[number] : string : never;
|
|
41
|
+
type SchemaAttributes<TSchema extends Schema> = TSchema extends Schema<infer TRequired extends readonly AttributeDefinition[], infer TOptional extends readonly AttributeDefinition[]> ? {
|
|
42
|
+
[TAttribute in TRequired[number] as TAttribute extends string ? TAttribute : TAttribute extends RestrictedAttribute ? TAttribute["name"] : never]: AttributeValue<TAttribute>;
|
|
43
|
+
} & {
|
|
44
|
+
[TAttribute in TOptional[number] as TAttribute extends string ? TAttribute : TAttribute extends RestrictedAttribute ? TAttribute["name"] : never]?: AttributeValue<TAttribute>;
|
|
45
|
+
} : never;
|
|
46
|
+
type CreateElementParams<TSchema extends Schema> = {
|
|
41
47
|
schemaCode: SchemaCode;
|
|
42
|
-
attributes:
|
|
48
|
+
attributes: SchemaAttributes<TSchema>;
|
|
43
49
|
};
|
|
44
|
-
declare const createElement: ({ schemaCode, attributes, }: CreateElementParams) => HTMLElement;
|
|
50
|
+
declare const createElement: <TSchema extends Schema>({ schemaCode, attributes, }: CreateElementParams<TSchema>) => HTMLElement;
|
|
51
|
+
|
|
52
|
+
declare const ElementLabel: Record<SchemaCode, string>;
|
|
45
53
|
|
|
46
54
|
declare const IGNORED_ELEMENT_SELECTORS: string[];
|
|
47
55
|
declare const IGNORED_VALIDATION_ELEMENT_SELECTORS: SchemaCode[];
|
|
@@ -68,15 +76,15 @@ declare const FIGURE_PLACEMENT_ATTRIBUTE = "data-figure-placement";
|
|
|
68
76
|
declare const LAYOUT_CELL_WIDTH_ATTRIBUTE = "data-cell-width";
|
|
69
77
|
declare const LAYOUT_TABLE_ORIENTATION_ATTRIBUTE = "data-table-orientation";
|
|
70
78
|
declare const LAYOUT_TABLE_PLACEMENT_ATTRIBUTE = "data-table-placement";
|
|
71
|
-
declare const LAYOUT_ATTRIBUTES:
|
|
79
|
+
declare const LAYOUT_ATTRIBUTES: readonly ["data-alignment", "data-left-indent", "data-right-indent", "data-special-indent", "data-space-above", "data-space-below", "data-indent-type", "data-layout-user", "data-paragraph-style"];
|
|
72
80
|
declare const TRACK_CHANGES_ATTR_DATA_USERNAME = "data-username";
|
|
73
81
|
declare const TRACK_CHANGES_ATTR_DATA_USERID = "data-userid";
|
|
74
82
|
declare const TRACK_CHANGES_ATTR_DATA_TIME = "data-time";
|
|
75
83
|
declare const TRACK_CHANGES_ATTR_DATA_DATE = "data-date";
|
|
76
|
-
declare const TRACK_CHANGES_ATTRS:
|
|
84
|
+
declare const TRACK_CHANGES_ATTRS: readonly ["data-username", "data-userid", "data-time", "data-date"];
|
|
77
85
|
declare const ELE_ID_ATTRIBUTE = "ele-id";
|
|
78
86
|
declare const STORE_ATTRIBUTE = "store";
|
|
79
|
-
declare const ID_ATTRS:
|
|
87
|
+
declare const ID_ATTRS: readonly ["store", "ele-id"];
|
|
80
88
|
|
|
81
89
|
declare const ELEMENT_SCHEMAS: Record<ElementSchemaCode, Schema>;
|
|
82
90
|
|
|
@@ -107,4 +115,4 @@ type ValidationError = {
|
|
|
107
115
|
*/
|
|
108
116
|
declare const validateXml: (xml: Element, elementsToLink: string[], linkElements: string[], schemasToValidateAgainst: SchemaCode[]) => ValidationError[];
|
|
109
117
|
|
|
110
|
-
export { ALIGNMENT_ATTRIBUTE, ATOM_SCHEMAS, type AllowedChildren, type AtomSchemaCode, type AttributeDefinition, DEPENDENT_FORBIDDEN_ELEMENTS, ELEMENT_SCHEMAS, ELE_ID_ATTRIBUTE, type ElementSchemaCode, FIGURE_PLACEMENT_ATTRIBUTE, type FreeAttribute, ID_ATTRS, IGNORED_ATTRIBUTES, IGNORED_ATTRIBUTES_STARTS_WITH, IGNORED_ELEMENT_SELECTORS, IGNORED_VALIDATION_ELEMENT_SELECTORS, INDENT_TYPE_ATTRIBUTE, INLINE_ELEMENT_SCHEMAS, type InlineSchemaCode, LAYOUT_ATTRIBUTES, LAYOUT_CELL_WIDTH_ATTRIBUTE, LAYOUT_TABLE_ORIENTATION_ATTRIBUTE, LAYOUT_TABLE_PLACEMENT_ATTRIBUTE, LAYOUT_USER_ATTRIBUTE, LEFT_INDENT_ATTRIBUTE, RIGHT_INDENT_ATTRIBUTE, type RestrictedAttribute, SCHEMAS, SPACE_ABOVE_ATTRIBUTE, SPACE_BELOW_ATTRIBUTE, SPECIAL_INDENT_ATTRIBUTE, STORE_ATTRIBUTE, STYLE_NAME_ATTRIBUTE, type Schema, type SchemaCode, type SchemaKind, TRACK_CHANGES_ATTRS, TRACK_CHANGES_ATTR_DATA_DATE, TRACK_CHANGES_ATTR_DATA_TIME, TRACK_CHANGES_ATTR_DATA_USERID, TRACK_CHANGES_ATTR_DATA_USERNAME, type ValidationError, type ValidationErrorKind, type ValidationErrorLevel, createElement, findAttributeDefinitionByName, findSchemaByCode, findSchemaByElement,
|
|
118
|
+
export { ALIGNMENT_ATTRIBUTE, ATOM_SCHEMAS, type AllowedChildren, type AtomSchemaCode, type AttributeDefinition, DEPENDENT_FORBIDDEN_ELEMENTS, ELEMENT_SCHEMAS, ELE_ID_ATTRIBUTE, ElementLabel, type ElementSchemaCode, FIGURE_PLACEMENT_ATTRIBUTE, type FreeAttribute, ID_ATTRS, IGNORED_ATTRIBUTES, IGNORED_ATTRIBUTES_STARTS_WITH, IGNORED_ELEMENT_SELECTORS, IGNORED_VALIDATION_ELEMENT_SELECTORS, INDENT_TYPE_ATTRIBUTE, INLINE_ELEMENT_SCHEMAS, type InlineSchemaCode, LAYOUT_ATTRIBUTES, LAYOUT_CELL_WIDTH_ATTRIBUTE, LAYOUT_TABLE_ORIENTATION_ATTRIBUTE, LAYOUT_TABLE_PLACEMENT_ATTRIBUTE, LAYOUT_USER_ATTRIBUTE, LEFT_INDENT_ATTRIBUTE, RIGHT_INDENT_ATTRIBUTE, type RestrictedAttribute, SCHEMAS, SPACE_ABOVE_ATTRIBUTE, SPACE_BELOW_ATTRIBUTE, SPECIAL_INDENT_ATTRIBUTE, STORE_ATTRIBUTE, STYLE_NAME_ATTRIBUTE, type Schema, type SchemaCode, type SchemaKind, TRACK_CHANGES_ATTRS, TRACK_CHANGES_ATTR_DATA_DATE, TRACK_CHANGES_ATTR_DATA_TIME, TRACK_CHANGES_ATTR_DATA_USERID, TRACK_CHANGES_ATTR_DATA_USERNAME, type ValidationError, type ValidationErrorKind, type ValidationErrorLevel, createElement, findAttributeDefinitionByName, findSchemaByCode, findSchemaByElement, getAttributeName, isAttributeRestricted, isIgnoredAttribute, isIgnoredElement, isIgnoredValidation, isTrackChangesSchema, validateXml };
|