pro-editor-schema 1.6.12-dev.2 → 1.6.12
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/README.md +0 -1
- package/dist/index.d.mts +149 -158
- package/dist/index.d.ts +149 -158
- package/dist/index.js +92 -222
- package/dist/index.mjs +91 -218
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -250,7 +250,6 @@ const errors = validateXml(rootElement, elementsToLink, linkElements, [
|
|
|
250
250
|
|
|
251
251
|
- Consecutive footnote number checks
|
|
252
252
|
- Consecutive footnote cue checks
|
|
253
|
-
- Dummy span checks (a `blocker` on each element holding a `span#dummySpan`)
|
|
254
253
|
- Possible weblink checks
|
|
255
254
|
|
|
256
255
|
It also runs per-element checks for:
|
package/dist/index.d.mts
CHANGED
|
@@ -907,7 +907,7 @@ type DocbookSchemaCode = (typeof REFERENCE_SCHEMA_CODES)[ReferenceElementName] |
|
|
|
907
907
|
declare const getDocbookSchemaCode: (name: DocbookElementName) => DocbookSchemaCode;
|
|
908
908
|
declare const DOCBOOK_ELEMENT_NAMES: DocbookElementName[];
|
|
909
909
|
|
|
910
|
-
type SchemaKind = "element" | "
|
|
910
|
+
type SchemaKind = "element" | "atom" | "inline";
|
|
911
911
|
type FreeAttribute = string;
|
|
912
912
|
type RestrictedAttribute<T = readonly string[]> = {
|
|
913
913
|
name: string;
|
|
@@ -930,9 +930,8 @@ type Schema<TRequiredAttributes = readonly AttributeDefinition[], TOptionalAttri
|
|
|
930
930
|
allowsText?: boolean;
|
|
931
931
|
matchesElement?: (element: Element) => boolean;
|
|
932
932
|
};
|
|
933
|
-
type SchemaCode = DocbookSchemaCode | ElementSchemaCode |
|
|
934
|
-
type ElementSchemaCode = "translator" | "pagenum" | "pubId" | "degrees" | "email" | "fignote" | "figsource" | "firstname" | "footnoteno" | "honorific" | "img" | "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" | "orgname" | "para" | "punc" | "rrh" | "source1" | "speaker" | "subtitle1" | "surname" | "tag" | "tblfn" | "tblsource" | "title1" | "token" | "tp" | "chapter";
|
|
935
|
-
type GroupSchemaCode = "referenceBibliography" | "bibliodiv" | "equation" | "footnote" | "informalfigure" | "linegroup" | "org" | "thead" | "abstract1" | "affiliation" | "alttext" | "appendix" | "author" | "authorgroup" | "blockquote" | "caption1" | "dialogue" | "epigraph" | "example" | "figure1" | "footnoteSection" | "heading" | "imageobject" | "info1" | "keywordset" | "mediaobject" | "ol" | "personname" | "poem" | "sidebar" | "table" | "table1" | "tbody" | "td" | "tgroup" | "tr" | "ul";
|
|
933
|
+
type SchemaCode = DocbookSchemaCode | ElementSchemaCode | InlineSchemaCode | AtomSchemaCode;
|
|
934
|
+
type ElementSchemaCode = "referenceBibliography" | "bibliodiv" | "translator" | "pagenum" | "pubId" | "degrees" | "email" | "equation" | "fignote" | "figsource" | "firstname" | "footnote" | "footnoteno" | "honorific" | "img" | "informalfigure" | "keyword" | "label1" | "li" | "line" | "linegroup" | "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";
|
|
936
935
|
type AtomSchemaCode = "mark" | "indexterm" | "primary" | "secondary" | "tertiary" | "quaternary" | "bookmark" | "see" | "commentQuerySection" | "comment" | "content" | "query" | "reply" | "deletion" | "lineGroupRemoval" | "formatRemoval" | "emphasis" | "highlightmark" | "i" | "insertion" | "sc" | "strike" | "sub" | "sup" | "u" | "b" | "referenceMark" | "abbreviation" | "delimiter" | "em" | "strong";
|
|
937
936
|
type InlineSchemaCode = "footnote1" | "inlineequation" | "link" | "uri" | "phrase";
|
|
938
937
|
|
|
@@ -1188,14 +1187,37 @@ declare const SCHEMAS: {
|
|
|
1188
1187
|
readonly values: readonly ["doc-bibliography"];
|
|
1189
1188
|
readonly defaultValue: "doc-bibliography";
|
|
1190
1189
|
}], readonly []>;
|
|
1190
|
+
translator: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1191
|
+
pagenum: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1192
|
+
pubId: Schema<readonly [], readonly ["store", "ele-id", "pub-id-type", "assigning-authority"]>;
|
|
1193
|
+
para: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "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", "xmlid", "role", "data-pos"]>;
|
|
1194
|
+
title1: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "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", "role", {
|
|
1195
|
+
readonly name: "fm-role";
|
|
1196
|
+
readonly values: readonly ["true", "false"];
|
|
1197
|
+
readonly defaultValue: "false";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly name: "title";
|
|
1200
|
+
readonly values: readonly [...string[], "foot_note"];
|
|
1201
|
+
readonly defaultValue: "H1";
|
|
1202
|
+
}]>;
|
|
1191
1203
|
footnote: Schema<readonly ["store", "ele-id", "label", "xmlid", {
|
|
1192
1204
|
readonly name: "role";
|
|
1193
1205
|
readonly values: readonly ["end-bk-note", "end-ch-note"];
|
|
1194
1206
|
readonly defaultValue: "end-ch-note";
|
|
1195
1207
|
}], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1208
|
+
footnoteno: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1209
|
+
olink: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1210
|
+
firstname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1211
|
+
surname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1212
|
+
honorific: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1213
|
+
orgname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1214
|
+
email: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1196
1215
|
org: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1216
|
+
degrees: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1197
1217
|
dialogue: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
|
|
1218
|
+
line: Schema<readonly ["store", "ele-id"], readonly ["role"]>;
|
|
1198
1219
|
linegroup: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-line-group-action", "role", "trackmsg"]>;
|
|
1220
|
+
speaker: Schema<readonly ["store", "ele-id"], readonly ["role"]>;
|
|
1199
1221
|
equation: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
|
|
1200
1222
|
readonly name: "eqn-data";
|
|
1201
1223
|
readonly values: readonly ["new", "updated"];
|
|
@@ -1205,10 +1227,44 @@ declare const SCHEMAS: {
|
|
|
1205
1227
|
readonly values: readonly ["added", "changed"];
|
|
1206
1228
|
readonly defaultValue: "added";
|
|
1207
1229
|
}]>;
|
|
1230
|
+
math: Schema<readonly [], readonly ["xmlns", "display"]>;
|
|
1231
|
+
mathphrase: Schema<readonly ["ele-id"], readonly []>;
|
|
1232
|
+
merror: Schema<readonly [], readonly []>;
|
|
1233
|
+
mfrac: Schema<readonly [], readonly ["denomalign", "linethickness", "numalign"]>;
|
|
1234
|
+
mi: Schema<readonly [], readonly ["mathvariant"]>;
|
|
1235
|
+
mmultiscripts: Schema<readonly [], readonly ["subscriptshift", "superscriptshift"]>;
|
|
1236
|
+
mn: Schema<readonly [], readonly []>;
|
|
1237
|
+
mo: Schema<readonly [], readonly ["accent", "fence", "form", "largeop", "lspace", "maxsize", "minsize", "movablelimits", "rspace", "separator", "stretchy", "symmetric"]>;
|
|
1238
|
+
mover: Schema<readonly [], readonly ["accent"]>;
|
|
1239
|
+
mpadded: Schema<readonly [], readonly ["depth", "height", "lspace", "voffset", "width"]>;
|
|
1240
|
+
mphantom: Schema<readonly [], readonly []>;
|
|
1241
|
+
mprescripts: Schema<readonly [], readonly []>;
|
|
1242
|
+
mroot: Schema<readonly [], readonly []>;
|
|
1243
|
+
mrow: Schema<readonly [], readonly []>;
|
|
1244
|
+
ms: Schema<readonly [], readonly ["lquote", "rquote"]>;
|
|
1245
|
+
mspace: Schema<readonly [], readonly ["depth", "height", "width"]>;
|
|
1246
|
+
msqrt: Schema<readonly [], readonly []>;
|
|
1247
|
+
mstyle: Schema<readonly [], readonly ["displaystyle", "mathbackground", "mathcolor", "mathsize", "scriptlevel", "scriptminsize", "scriptsizemultiplier"]>;
|
|
1248
|
+
msub: Schema<readonly [], readonly ["subscriptshift"]>;
|
|
1249
|
+
msubsup: Schema<readonly [], readonly ["subscriptshift", "superscriptshift"]>;
|
|
1250
|
+
msup: Schema<readonly [], readonly ["superscriptshift"]>;
|
|
1251
|
+
mtable: Schema<readonly [], readonly ["align", "columnalign", "columnlines", "columnspacing", "displaystyle", "equalcolumns", "equalrows", "frame", "rowalign", "rowlines", "rowspacing", "width"]>;
|
|
1252
|
+
mtd: Schema<readonly [], readonly ["columnalign", "columnspan", "rowalign", "rowspan"]>;
|
|
1253
|
+
mtext: Schema<readonly [], readonly ["mathvariant"]>;
|
|
1254
|
+
mtr: Schema<readonly [], readonly ["columnalign", "rowalign"]>;
|
|
1255
|
+
munder: Schema<readonly [], readonly ["accentunder"]>;
|
|
1256
|
+
munderover: Schema<readonly [], readonly ["accent", "accentunder"]>;
|
|
1257
|
+
img: Schema<readonly ["store", "ele-id", "src", "format"], readonly ["alt", "data-track-alt", "data-alignment", "before-replace-img", "data-prev-alt", {
|
|
1258
|
+
readonly name: "role";
|
|
1259
|
+
readonly values: readonly ["inline-graphics", "presentation"];
|
|
1260
|
+
readonly defaultValue: "inline-graphics";
|
|
1261
|
+
}]>;
|
|
1208
1262
|
alttext: Schema<readonly [], readonly []>;
|
|
1209
1263
|
imageobject: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1210
1264
|
mediaobject: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1211
1265
|
caption1: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1266
|
+
figsource: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1267
|
+
fignote: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1212
1268
|
figure1: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["data-username", "data-userid", "data-time", "data-date", ...string[], "linkend_fig", "data-anchor-id"]>;
|
|
1213
1269
|
informalfigure: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-anchor-id"]>;
|
|
1214
1270
|
keywordset: Schema<readonly ["store", "ele-id", {
|
|
@@ -1216,6 +1272,18 @@ declare const SCHEMAS: {
|
|
|
1216
1272
|
readonly values: readonly ["xmlonly", "both"];
|
|
1217
1273
|
readonly defaultValue: "both";
|
|
1218
1274
|
}], readonly []>;
|
|
1275
|
+
keyword: Schema<readonly ["store", "ele-id"], readonly ["data-pos"]>;
|
|
1276
|
+
punc: Schema<readonly ["store", "ele-id"], readonly ["data-role"]>;
|
|
1277
|
+
label1: Schema<readonly ["store", "ele-id"], 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", {
|
|
1278
|
+
readonly name: "fm-role";
|
|
1279
|
+
readonly values: readonly ["true", "false"];
|
|
1280
|
+
readonly defaultValue: "false";
|
|
1281
|
+
}]>;
|
|
1282
|
+
li: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "token", "element-change-description", {
|
|
1283
|
+
readonly name: "role";
|
|
1284
|
+
readonly values: readonly ["list-item-added", "add-element", "list-item-split", "level-list"];
|
|
1285
|
+
readonly defaultValue: "add-element";
|
|
1286
|
+
}]>;
|
|
1219
1287
|
ol: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-tagname", {
|
|
1220
1288
|
readonly name: "role";
|
|
1221
1289
|
readonly values: readonly ["add-element", "change-style", "change-para-list", "change-element", "changed-element", "LIST1", "LIST2", "LIST3"];
|
|
@@ -1246,6 +1314,20 @@ declare const SCHEMAS: {
|
|
|
1246
1314
|
readonly values: readonly ["disc", "circle", "square", "dash", "ast", "checkbox"];
|
|
1247
1315
|
readonly defaultValue: "disc";
|
|
1248
1316
|
}]>;
|
|
1317
|
+
token: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1318
|
+
tag: Schema<readonly ["store", "ele-id", "data-id"], readonly []>;
|
|
1319
|
+
lrh: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1320
|
+
rrh: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1321
|
+
source1: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
|
|
1322
|
+
readonly name: "role";
|
|
1323
|
+
readonly values: readonly ["add-element"];
|
|
1324
|
+
readonly defaultValue: "add-element";
|
|
1325
|
+
}]>;
|
|
1326
|
+
subtitle1: Schema<readonly ["store", "ele-id"], readonly [{
|
|
1327
|
+
readonly name: "role";
|
|
1328
|
+
readonly values: readonly ["add-element"];
|
|
1329
|
+
readonly defaultValue: "add-element";
|
|
1330
|
+
}]>;
|
|
1249
1331
|
table1: Schema<readonly ["store", "ele-id", {
|
|
1250
1332
|
readonly name: "role";
|
|
1251
1333
|
readonly values: readonly ["inline", "float"];
|
|
@@ -1257,6 +1339,9 @@ declare const SCHEMAS: {
|
|
|
1257
1339
|
tbody: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1258
1340
|
tr: Schema<readonly [], 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", "store", "ele-id", "width"]>;
|
|
1259
1341
|
td: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-cell-width", "width"]>;
|
|
1342
|
+
tp: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1343
|
+
tblfn: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1344
|
+
tblsource: Schema<readonly [], readonly []>;
|
|
1260
1345
|
heading: Schema<readonly ["store", "ele-id", "xmlid", {
|
|
1261
1346
|
readonly name: "role";
|
|
1262
1347
|
readonly values: string[];
|
|
@@ -1267,6 +1352,7 @@ declare const SCHEMAS: {
|
|
|
1267
1352
|
readonly values: string[];
|
|
1268
1353
|
readonly defaultValue: "ch";
|
|
1269
1354
|
}], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1355
|
+
chapter: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["role", "data-paragraph-numbering-padding", "data-paragraph-numbering-format", "data-paragraph-numbering-elements", "data-paragraph-numbering-chapters"]>;
|
|
1270
1356
|
info1: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1271
1357
|
abstract1: Schema<readonly ["store", "ele-id", {
|
|
1272
1358
|
readonly name: "role";
|
|
@@ -1282,7 +1368,6 @@ declare const SCHEMAS: {
|
|
|
1282
1368
|
readonly values: readonly ["add-element", "change-element"];
|
|
1283
1369
|
readonly defaultValue: "add-element";
|
|
1284
1370
|
}]>;
|
|
1285
|
-
example: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "track-code", "element-change-description"]>;
|
|
1286
1371
|
poem: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
|
|
1287
1372
|
blockquote: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "data-tagname", "element-change-description", {
|
|
1288
1373
|
readonly name: "role";
|
|
@@ -1303,93 +1388,6 @@ declare const SCHEMAS: {
|
|
|
1303
1388
|
author: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1304
1389
|
personname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1305
1390
|
affiliation: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1306
|
-
translator: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1307
|
-
pagenum: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1308
|
-
pubId: Schema<readonly [], readonly ["store", "ele-id", "pub-id-type", "assigning-authority"]>;
|
|
1309
|
-
para: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "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", "xmlid", "role", "data-pos"]>;
|
|
1310
|
-
title1: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "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", "role", {
|
|
1311
|
-
readonly name: "fm-role";
|
|
1312
|
-
readonly values: readonly ["true", "false"];
|
|
1313
|
-
readonly defaultValue: "false";
|
|
1314
|
-
}, {
|
|
1315
|
-
readonly name: "title";
|
|
1316
|
-
readonly values: readonly [...string[], "foot_note"];
|
|
1317
|
-
readonly defaultValue: "H1";
|
|
1318
|
-
}]>;
|
|
1319
|
-
footnoteno: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1320
|
-
olink: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1321
|
-
firstname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1322
|
-
surname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1323
|
-
honorific: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1324
|
-
orgname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1325
|
-
email: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1326
|
-
degrees: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1327
|
-
line: Schema<readonly ["store", "ele-id"], readonly ["role"]>;
|
|
1328
|
-
speaker: Schema<readonly ["store", "ele-id"], readonly ["role"]>;
|
|
1329
|
-
math: Schema<readonly [], readonly ["xmlns", "display"]>;
|
|
1330
|
-
mathphrase: Schema<readonly ["ele-id"], readonly []>;
|
|
1331
|
-
merror: Schema<readonly [], readonly []>;
|
|
1332
|
-
mfrac: Schema<readonly [], readonly ["denomalign", "linethickness", "numalign"]>;
|
|
1333
|
-
mi: Schema<readonly [], readonly ["mathvariant"]>;
|
|
1334
|
-
mmultiscripts: Schema<readonly [], readonly ["subscriptshift", "superscriptshift"]>;
|
|
1335
|
-
mn: Schema<readonly [], readonly []>;
|
|
1336
|
-
mo: Schema<readonly [], readonly ["accent", "fence", "form", "largeop", "lspace", "maxsize", "minsize", "movablelimits", "rspace", "separator", "stretchy", "symmetric"]>;
|
|
1337
|
-
mover: Schema<readonly [], readonly ["accent"]>;
|
|
1338
|
-
mpadded: Schema<readonly [], readonly ["depth", "height", "lspace", "voffset", "width"]>;
|
|
1339
|
-
mphantom: Schema<readonly [], readonly []>;
|
|
1340
|
-
mprescripts: Schema<readonly [], readonly []>;
|
|
1341
|
-
mroot: Schema<readonly [], readonly []>;
|
|
1342
|
-
mrow: Schema<readonly [], readonly []>;
|
|
1343
|
-
ms: Schema<readonly [], readonly ["lquote", "rquote"]>;
|
|
1344
|
-
mspace: Schema<readonly [], readonly ["depth", "height", "width"]>;
|
|
1345
|
-
msqrt: Schema<readonly [], readonly []>;
|
|
1346
|
-
mstyle: Schema<readonly [], readonly ["displaystyle", "mathbackground", "mathcolor", "mathsize", "scriptlevel", "scriptminsize", "scriptsizemultiplier"]>;
|
|
1347
|
-
msub: Schema<readonly [], readonly ["subscriptshift"]>;
|
|
1348
|
-
msubsup: Schema<readonly [], readonly ["subscriptshift", "superscriptshift"]>;
|
|
1349
|
-
msup: Schema<readonly [], readonly ["superscriptshift"]>;
|
|
1350
|
-
mtable: Schema<readonly [], readonly ["align", "columnalign", "columnlines", "columnspacing", "displaystyle", "equalcolumns", "equalrows", "frame", "rowalign", "rowlines", "rowspacing", "width"]>;
|
|
1351
|
-
mtd: Schema<readonly [], readonly ["columnalign", "columnspan", "rowalign", "rowspan"]>;
|
|
1352
|
-
mtext: Schema<readonly [], readonly ["mathvariant"]>;
|
|
1353
|
-
mtr: Schema<readonly [], readonly ["columnalign", "rowalign"]>;
|
|
1354
|
-
munder: Schema<readonly [], readonly ["accentunder"]>;
|
|
1355
|
-
munderover: Schema<readonly [], readonly ["accent", "accentunder"]>;
|
|
1356
|
-
img: Schema<readonly ["store", "ele-id", "src", "format"], readonly ["alt", "data-track-alt", "data-alignment", "before-replace-img", "data-prev-alt", {
|
|
1357
|
-
readonly name: "role";
|
|
1358
|
-
readonly values: readonly ["inline-graphics", "presentation"];
|
|
1359
|
-
readonly defaultValue: "inline-graphics";
|
|
1360
|
-
}]>;
|
|
1361
|
-
figsource: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1362
|
-
fignote: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1363
|
-
keyword: Schema<readonly ["store", "ele-id"], readonly ["data-pos"]>;
|
|
1364
|
-
punc: Schema<readonly ["store", "ele-id"], readonly ["data-role"]>;
|
|
1365
|
-
label1: Schema<readonly ["store", "ele-id"], 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", {
|
|
1366
|
-
readonly name: "fm-role";
|
|
1367
|
-
readonly values: readonly ["true", "false"];
|
|
1368
|
-
readonly defaultValue: "false";
|
|
1369
|
-
}]>;
|
|
1370
|
-
li: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "token", "element-change-description", {
|
|
1371
|
-
readonly name: "role";
|
|
1372
|
-
readonly values: readonly ["list-item-added", "add-element", "list-item-split", "level-list"];
|
|
1373
|
-
readonly defaultValue: "add-element";
|
|
1374
|
-
}]>;
|
|
1375
|
-
token: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1376
|
-
tag: Schema<readonly ["store", "ele-id", "data-id"], readonly []>;
|
|
1377
|
-
lrh: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1378
|
-
rrh: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1379
|
-
source1: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
|
|
1380
|
-
readonly name: "role";
|
|
1381
|
-
readonly values: readonly ["add-element"];
|
|
1382
|
-
readonly defaultValue: "add-element";
|
|
1383
|
-
}]>;
|
|
1384
|
-
subtitle1: Schema<readonly ["store", "ele-id"], readonly [{
|
|
1385
|
-
readonly name: "role";
|
|
1386
|
-
readonly values: readonly ["add-element"];
|
|
1387
|
-
readonly defaultValue: "add-element";
|
|
1388
|
-
}]>;
|
|
1389
|
-
tp: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1390
|
-
tblfn: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1391
|
-
tblsource: Schema<readonly [], readonly []>;
|
|
1392
|
-
chapter: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["role", "data-paragraph-numbering-padding", "data-paragraph-numbering-format", "data-paragraph-numbering-elements", "data-paragraph-numbering-chapters"]>;
|
|
1393
1391
|
indexterm: Schema<readonly ["linkend", {
|
|
1394
1392
|
readonly name: "index-level";
|
|
1395
1393
|
readonly values: readonly ["PRIMARY", "SECONDARY", "TERTIARY", "QUATERNARY"];
|
|
@@ -1729,8 +1727,7 @@ declare const REFERENCE_TYPE_SCHEMAS: {
|
|
|
1729
1727
|
};
|
|
1730
1728
|
};
|
|
1731
1729
|
|
|
1732
|
-
|
|
1733
|
-
declare const getElementLabel: (code: SchemaCode, role?: string | null) => string;
|
|
1730
|
+
declare const ElementLabel: Record<SchemaCode, string>;
|
|
1734
1731
|
|
|
1735
1732
|
type DependentForbiddenElement = {
|
|
1736
1733
|
code: SchemaCode;
|
|
@@ -1765,6 +1762,16 @@ declare const LINKEND_ATTRIBUTE = "linkend";
|
|
|
1765
1762
|
declare const ID_ATTRS: readonly ["store", "ele-id"];
|
|
1766
1763
|
|
|
1767
1764
|
declare const ELEMENT_SCHEMAS: {
|
|
1765
|
+
bibliodiv: Schema<readonly ["store", "ele-id", "role"], readonly []>;
|
|
1766
|
+
referenceBibliography: Schema<readonly ["store", "ele-id", "xmlid", {
|
|
1767
|
+
readonly name: "role";
|
|
1768
|
+
readonly values: readonly ["chapterend"];
|
|
1769
|
+
readonly defaultValue: "chapterend";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly name: "doc-type";
|
|
1772
|
+
readonly values: readonly ["doc-bibliography"];
|
|
1773
|
+
readonly defaultValue: "doc-bibliography";
|
|
1774
|
+
}], readonly []>;
|
|
1768
1775
|
translator: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1769
1776
|
pagenum: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1770
1777
|
pubId: Schema<readonly [], readonly ["store", "ele-id", "pub-id-type", "assigning-authority"]>;
|
|
@@ -1778,6 +1785,11 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1778
1785
|
readonly values: readonly [...string[], "foot_note"];
|
|
1779
1786
|
readonly defaultValue: "H1";
|
|
1780
1787
|
}]>;
|
|
1788
|
+
footnote: Schema<readonly ["store", "ele-id", "label", "xmlid", {
|
|
1789
|
+
readonly name: "role";
|
|
1790
|
+
readonly values: readonly ["end-bk-note", "end-ch-note"];
|
|
1791
|
+
readonly defaultValue: "end-ch-note";
|
|
1792
|
+
}], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1781
1793
|
footnoteno: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1782
1794
|
olink: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1783
1795
|
firstname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
@@ -1785,9 +1797,21 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1785
1797
|
honorific: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1786
1798
|
orgname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1787
1799
|
email: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1800
|
+
org: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1788
1801
|
degrees: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1802
|
+
dialogue: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
|
|
1789
1803
|
line: Schema<readonly ["store", "ele-id"], readonly ["role"]>;
|
|
1804
|
+
linegroup: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-line-group-action", "role", "trackmsg"]>;
|
|
1790
1805
|
speaker: Schema<readonly ["store", "ele-id"], readonly ["role"]>;
|
|
1806
|
+
equation: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
|
|
1807
|
+
readonly name: "eqn-data";
|
|
1808
|
+
readonly values: readonly ["new", "updated"];
|
|
1809
|
+
readonly defaultValue: "new";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly name: "element-status";
|
|
1812
|
+
readonly values: readonly ["added", "changed"];
|
|
1813
|
+
readonly defaultValue: "added";
|
|
1814
|
+
}]>;
|
|
1791
1815
|
math: Schema<readonly [], readonly ["xmlns", "display"]>;
|
|
1792
1816
|
mathphrase: Schema<readonly ["ele-id"], readonly []>;
|
|
1793
1817
|
merror: Schema<readonly [], readonly []>;
|
|
@@ -1820,8 +1844,19 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1820
1844
|
readonly values: readonly ["inline-graphics", "presentation"];
|
|
1821
1845
|
readonly defaultValue: "inline-graphics";
|
|
1822
1846
|
}]>;
|
|
1847
|
+
alttext: Schema<readonly [], readonly []>;
|
|
1848
|
+
imageobject: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1849
|
+
mediaobject: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1850
|
+
caption1: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1823
1851
|
figsource: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1824
1852
|
fignote: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1853
|
+
figure1: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["data-username", "data-userid", "data-time", "data-date", ...string[], "linkend_fig", "data-anchor-id"]>;
|
|
1854
|
+
informalfigure: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-anchor-id"]>;
|
|
1855
|
+
keywordset: Schema<readonly ["store", "ele-id", {
|
|
1856
|
+
readonly name: "role";
|
|
1857
|
+
readonly values: readonly ["xmlonly", "both"];
|
|
1858
|
+
readonly defaultValue: "both";
|
|
1859
|
+
}], readonly []>;
|
|
1825
1860
|
keyword: Schema<readonly ["store", "ele-id"], readonly ["data-pos"]>;
|
|
1826
1861
|
punc: Schema<readonly ["store", "ele-id"], readonly ["data-role"]>;
|
|
1827
1862
|
label1: Schema<readonly ["store", "ele-id"], 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", {
|
|
@@ -1834,64 +1869,6 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1834
1869
|
readonly values: readonly ["list-item-added", "add-element", "list-item-split", "level-list"];
|
|
1835
1870
|
readonly defaultValue: "add-element";
|
|
1836
1871
|
}]>;
|
|
1837
|
-
token: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1838
|
-
tag: Schema<readonly ["store", "ele-id", "data-id"], readonly []>;
|
|
1839
|
-
lrh: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1840
|
-
rrh: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1841
|
-
source1: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
|
|
1842
|
-
readonly name: "role";
|
|
1843
|
-
readonly values: readonly ["add-element"];
|
|
1844
|
-
readonly defaultValue: "add-element";
|
|
1845
|
-
}]>;
|
|
1846
|
-
subtitle1: Schema<readonly ["store", "ele-id"], readonly [{
|
|
1847
|
-
readonly name: "role";
|
|
1848
|
-
readonly values: readonly ["add-element"];
|
|
1849
|
-
readonly defaultValue: "add-element";
|
|
1850
|
-
}]>;
|
|
1851
|
-
tp: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1852
|
-
tblfn: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1853
|
-
tblsource: Schema<readonly [], readonly []>;
|
|
1854
|
-
chapter: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["role", "data-paragraph-numbering-padding", "data-paragraph-numbering-format", "data-paragraph-numbering-elements", "data-paragraph-numbering-chapters"]>;
|
|
1855
|
-
};
|
|
1856
|
-
declare const GROUP_SCHEMAS: {
|
|
1857
|
-
bibliodiv: Schema<readonly ["store", "ele-id", "role"], readonly []>;
|
|
1858
|
-
referenceBibliography: Schema<readonly ["store", "ele-id", "xmlid", {
|
|
1859
|
-
readonly name: "role";
|
|
1860
|
-
readonly values: readonly ["chapterend"];
|
|
1861
|
-
readonly defaultValue: "chapterend";
|
|
1862
|
-
}, {
|
|
1863
|
-
readonly name: "doc-type";
|
|
1864
|
-
readonly values: readonly ["doc-bibliography"];
|
|
1865
|
-
readonly defaultValue: "doc-bibliography";
|
|
1866
|
-
}], readonly []>;
|
|
1867
|
-
footnote: Schema<readonly ["store", "ele-id", "label", "xmlid", {
|
|
1868
|
-
readonly name: "role";
|
|
1869
|
-
readonly values: readonly ["end-bk-note", "end-ch-note"];
|
|
1870
|
-
readonly defaultValue: "end-ch-note";
|
|
1871
|
-
}], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1872
|
-
org: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1873
|
-
dialogue: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
|
|
1874
|
-
linegroup: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-line-group-action", "role", "trackmsg"]>;
|
|
1875
|
-
equation: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
|
|
1876
|
-
readonly name: "eqn-data";
|
|
1877
|
-
readonly values: readonly ["new", "updated"];
|
|
1878
|
-
readonly defaultValue: "new";
|
|
1879
|
-
}, {
|
|
1880
|
-
readonly name: "element-status";
|
|
1881
|
-
readonly values: readonly ["added", "changed"];
|
|
1882
|
-
readonly defaultValue: "added";
|
|
1883
|
-
}]>;
|
|
1884
|
-
alttext: Schema<readonly [], readonly []>;
|
|
1885
|
-
imageobject: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1886
|
-
mediaobject: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1887
|
-
caption1: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1888
|
-
figure1: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["data-username", "data-userid", "data-time", "data-date", ...string[], "linkend_fig", "data-anchor-id"]>;
|
|
1889
|
-
informalfigure: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-anchor-id"]>;
|
|
1890
|
-
keywordset: Schema<readonly ["store", "ele-id", {
|
|
1891
|
-
readonly name: "role";
|
|
1892
|
-
readonly values: readonly ["xmlonly", "both"];
|
|
1893
|
-
readonly defaultValue: "both";
|
|
1894
|
-
}], readonly []>;
|
|
1895
1872
|
ol: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-tagname", {
|
|
1896
1873
|
readonly name: "role";
|
|
1897
1874
|
readonly values: readonly ["add-element", "change-style", "change-para-list", "change-element", "changed-element", "LIST1", "LIST2", "LIST3"];
|
|
@@ -1922,6 +1899,20 @@ declare const GROUP_SCHEMAS: {
|
|
|
1922
1899
|
readonly values: readonly ["disc", "circle", "square", "dash", "ast", "checkbox"];
|
|
1923
1900
|
readonly defaultValue: "disc";
|
|
1924
1901
|
}]>;
|
|
1902
|
+
token: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1903
|
+
tag: Schema<readonly ["store", "ele-id", "data-id"], readonly []>;
|
|
1904
|
+
lrh: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1905
|
+
rrh: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1906
|
+
source1: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
|
|
1907
|
+
readonly name: "role";
|
|
1908
|
+
readonly values: readonly ["add-element"];
|
|
1909
|
+
readonly defaultValue: "add-element";
|
|
1910
|
+
}]>;
|
|
1911
|
+
subtitle1: Schema<readonly ["store", "ele-id"], readonly [{
|
|
1912
|
+
readonly name: "role";
|
|
1913
|
+
readonly values: readonly ["add-element"];
|
|
1914
|
+
readonly defaultValue: "add-element";
|
|
1915
|
+
}]>;
|
|
1925
1916
|
table1: Schema<readonly ["store", "ele-id", {
|
|
1926
1917
|
readonly name: "role";
|
|
1927
1918
|
readonly values: readonly ["inline", "float"];
|
|
@@ -1933,6 +1924,9 @@ declare const GROUP_SCHEMAS: {
|
|
|
1933
1924
|
tbody: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1934
1925
|
tr: Schema<readonly [], 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", "store", "ele-id", "width"]>;
|
|
1935
1926
|
td: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-cell-width", "width"]>;
|
|
1927
|
+
tp: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1928
|
+
tblfn: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1929
|
+
tblsource: Schema<readonly [], readonly []>;
|
|
1936
1930
|
heading: Schema<readonly ["store", "ele-id", "xmlid", {
|
|
1937
1931
|
readonly name: "role";
|
|
1938
1932
|
readonly values: string[];
|
|
@@ -1943,6 +1937,7 @@ declare const GROUP_SCHEMAS: {
|
|
|
1943
1937
|
readonly values: string[];
|
|
1944
1938
|
readonly defaultValue: "ch";
|
|
1945
1939
|
}], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1940
|
+
chapter: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["role", "data-paragraph-numbering-padding", "data-paragraph-numbering-format", "data-paragraph-numbering-elements", "data-paragraph-numbering-chapters"]>;
|
|
1946
1941
|
info1: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1947
1942
|
abstract1: Schema<readonly ["store", "ele-id", {
|
|
1948
1943
|
readonly name: "role";
|
|
@@ -1958,7 +1953,6 @@ declare const GROUP_SCHEMAS: {
|
|
|
1958
1953
|
readonly values: readonly ["add-element", "change-element"];
|
|
1959
1954
|
readonly defaultValue: "add-element";
|
|
1960
1955
|
}]>;
|
|
1961
|
-
example: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "track-code", "element-change-description"]>;
|
|
1962
1956
|
poem: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
|
|
1963
1957
|
blockquote: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "data-tagname", "element-change-description", {
|
|
1964
1958
|
readonly name: "role";
|
|
@@ -2119,7 +2113,7 @@ type ValidationError = {
|
|
|
2119
2113
|
* @param elementsToLink - The elements IDs that are linked to.
|
|
2120
2114
|
* @param linkElements - The elements IDs that are linked to.
|
|
2121
2115
|
* @param schemasToValidateAgainst - The schemas to validate against.
|
|
2122
|
-
* * ValidateConsecutiveFootnotes
|
|
2116
|
+
* * ValidateConsecutiveFootnotes and ValidateConsecutiveFootnoteCues are default validations.
|
|
2123
2117
|
* @returns The validation errors.
|
|
2124
2118
|
*/
|
|
2125
2119
|
declare const validateXml: (xml: Element, elementsToLink: string[], linkElements: string[], schemasToValidateAgainst: SchemaCode[]) => ValidationError[];
|
|
@@ -2161,8 +2155,6 @@ declare const clearWeblinkMatches: (editor: HTMLElement) => void;
|
|
|
2161
2155
|
|
|
2162
2156
|
declare const validateOlink: (element: Element) => ValidationError[];
|
|
2163
2157
|
|
|
2164
|
-
declare const validateDummySpan: (root: Element) => ValidationError[];
|
|
2165
|
-
|
|
2166
2158
|
type ElementHierarchy = "heading" | "box";
|
|
2167
2159
|
declare const validateHierarchy: (element: Element, elementHierarchy: ElementHierarchy) => ValidationError[];
|
|
2168
2160
|
|
|
@@ -2247,7 +2239,6 @@ declare const IGNORED_ATTRIBUTES: string[];
|
|
|
2247
2239
|
declare const IGNORED_ATTRIBUTES_STARTS_WITH: string[];
|
|
2248
2240
|
declare const isIgnoredAttribute: (attribute: string) => boolean;
|
|
2249
2241
|
|
|
2250
|
-
declare const DUMMY_SPAN_SELECTOR = "span#dummySpan";
|
|
2251
2242
|
declare const IGNORED_ELEMENT_SELECTORS: string[];
|
|
2252
2243
|
declare const isIgnoredElement: (element: Element) => boolean;
|
|
2253
2244
|
|
|
@@ -2266,4 +2257,4 @@ declare const REFERENCE_PART_SELECTOR: string;
|
|
|
2266
2257
|
declare const getReferenceParts: (reference: Element) => HTMLElement[];
|
|
2267
2258
|
declare const getReferenceFieldElements: (reference: Element) => ReferenceFieldElement[];
|
|
2268
2259
|
|
|
2269
|
-
export { ALIGNMENT_ATTRIBUTE, ATOM_SCHEMAS, type AllowedChildren, type AtomSchemaCode, type AttributeDefinition, BIBLIOMIXED_SCHEMA, type BibliomsetRelation, DEPENDENT_FORBIDDEN_ELEMENTS, DOCBOOK_CONTENT_MODEL, DOCBOOK_ELEMENT_LABELS, DOCBOOK_ELEMENT_NAMES, DOCBOOK_SCHEMAS,
|
|
2260
|
+
export { ALIGNMENT_ATTRIBUTE, ATOM_SCHEMAS, type AllowedChildren, type AtomSchemaCode, type AttributeDefinition, BIBLIOMIXED_SCHEMA, type BibliomsetRelation, DEPENDENT_FORBIDDEN_ELEMENTS, DOCBOOK_CONTENT_MODEL, DOCBOOK_ELEMENT_LABELS, DOCBOOK_ELEMENT_NAMES, DOCBOOK_SCHEMAS, type DocbookElementName, type DocbookSchemaCode, ELEMENT_SCHEMAS, ELE_ID_ATTRIBUTE, ElementLabel, type ElementSchemaCode, FIGURE_PLACEMENT_ATTRIBUTE, type FreeAttribute, ID_ATTRS, IGNORED_ATTRIBUTES, IGNORED_ATTRIBUTES_STARTS_WITH, IGNORED_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, LINKEND_ATTRIBUTE, LINK_BLOCKER_ROLES, LINK_TO_CROSS_CHECK, POSSIBLE_WEBLINK_CLASS, POSSIBLE_WEBLINK_EXCLUDE_SELECTORS, REFERENCE_FIELD_SCHEMAS, REFERENCE_PART_SELECTOR, REFERENCE_TYPE_SCHEMAS, RIGHT_INDENT_ATTRIBUTE, type ReferenceElementReplacement, type ReferenceFieldCode, type ReferenceFieldElement, type ReferenceFieldSchema, type ReferenceMarkupIssue, type ReferenceMarkupRule, type ReferenceStructureIssue, type ReferenceTypeCode, type ReferenceTypeSchema, type RequiredReferenceField, type RestrictedAttribute, SCHEMAS, SPACE_ABOVE_ATTRIBUTE, SPACE_BELOW_ATTRIBUTE, SPECIAL_INDENT_ATTRIBUTE, STORE_ATTRIBUTE, STYLE_NAME_ATTRIBUTE, type Schema, type SchemaAttributes, type SchemaCode, type SchemaKind, type SchemasByCode, TRACK_CHANGES_ATTRS, TRACK_CHANGES_ATTR_DATA_DATE, TRACK_CHANGES_ATTR_DATA_TIME, TRACK_CHANGES_ATTR_DATA_USERID, TRACK_CHANGES_ATTR_DATA_USERNAME, VALIDATION_IGNORED_ATTRIBUTE, type ValidateXmlAsyncOptions, type ValidationError, type ValidationErrorKind, type ValidationErrorLevel, XMLID_ATTRIBUTE, clearWeblinkMatches, closestElementBySchema, createElement, extractFootnoteNumber, findAttributeDefinitionByName, findElementLinkedTo, findReferenceFieldByElement, findReferenceTypeSchemaByElement, findSchemaByCode, findSchemaByElement, getAdjacentElement, getAttributeName, getDocbookSchemaCode, getEffectiveChildElements, getElementLinks, getPossibleWeblinks, getReferenceFieldElements, getReferenceParts, getReferenceStructureIssueElements, getStore, isAttributeRestricted, isDeletedElement, isIgnoredAttribute, isIgnoredElement, isTrackChangesSchema, markPossibleWeblinks, queryAllElementsBySchema, queryElementBySchema, validateAttributes, validateConsecutiveFootnoteCues, validateConsecutiveFootnotes, validateElementAgainstSchema, validateElementToLinkTo, validateFootnoteNumber, validateHierarchy, validateLinkend, validateOlink, validatePossibleWeblinks, validatePossibleWeblinksSteps, validateReferenceStructure, validateXml, validateXmlAsync };
|