pro-editor-schema 1.6.13 → 1.6.14-dev.1
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 +1 -0
- package/dist/index.d.mts +159 -150
- package/dist/index.d.ts +159 -150
- package/dist/index.js +224 -85
- package/dist/index.mjs +220 -84
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -250,6 +250,7 @@ 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`)
|
|
253
254
|
- Possible weblink checks
|
|
254
255
|
|
|
255
256
|
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" | "atom" | "inline";
|
|
910
|
+
type SchemaKind = "element" | "group" | "atom" | "inline" | "trackChanges";
|
|
911
911
|
type FreeAttribute = string;
|
|
912
912
|
type RestrictedAttribute<T = readonly string[]> = {
|
|
913
913
|
name: string;
|
|
@@ -930,8 +930,9 @@ type Schema<TRequiredAttributes = readonly AttributeDefinition[], TOptionalAttri
|
|
|
930
930
|
allowsText?: boolean;
|
|
931
931
|
matchesElement?: (element: Element) => boolean;
|
|
932
932
|
};
|
|
933
|
-
type SchemaCode = DocbookSchemaCode | ElementSchemaCode | InlineSchemaCode | AtomSchemaCode;
|
|
934
|
-
type ElementSchemaCode = "
|
|
933
|
+
type SchemaCode = DocbookSchemaCode | ElementSchemaCode | GroupSchemaCode | InlineSchemaCode | AtomSchemaCode;
|
|
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";
|
|
935
936
|
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";
|
|
936
937
|
type InlineSchemaCode = "footnote1" | "inlineequation" | "link" | "uri" | "phrase";
|
|
937
938
|
|
|
@@ -1187,37 +1188,14 @@ declare const SCHEMAS: {
|
|
|
1187
1188
|
readonly values: readonly ["doc-bibliography"];
|
|
1188
1189
|
readonly defaultValue: "doc-bibliography";
|
|
1189
1190
|
}], 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
|
-
}]>;
|
|
1203
1191
|
footnote: Schema<readonly ["store", "ele-id", "label", "xmlid", {
|
|
1204
1192
|
readonly name: "role";
|
|
1205
1193
|
readonly values: readonly ["end-bk-note", "end-ch-note"];
|
|
1206
1194
|
readonly defaultValue: "end-ch-note";
|
|
1207
1195
|
}], 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 []>;
|
|
1215
1196
|
org: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1216
|
-
degrees: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1217
1197
|
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"]>;
|
|
1219
1198
|
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"]>;
|
|
1221
1199
|
equation: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
|
|
1222
1200
|
readonly name: "eqn-data";
|
|
1223
1201
|
readonly values: readonly ["new", "updated"];
|
|
@@ -1227,44 +1205,10 @@ declare const SCHEMAS: {
|
|
|
1227
1205
|
readonly values: readonly ["added", "changed"];
|
|
1228
1206
|
readonly defaultValue: "added";
|
|
1229
1207
|
}]>;
|
|
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
|
-
}]>;
|
|
1262
1208
|
alttext: Schema<readonly [], readonly []>;
|
|
1263
1209
|
imageobject: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1264
1210
|
mediaobject: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1265
1211
|
caption1: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1266
|
-
figsource: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1267
|
-
fignote: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1268
1212
|
figure1: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["data-username", "data-userid", "data-time", "data-date", ...string[], "linkend_fig", "data-anchor-id"]>;
|
|
1269
1213
|
informalfigure: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-anchor-id"]>;
|
|
1270
1214
|
keywordset: Schema<readonly ["store", "ele-id", {
|
|
@@ -1272,18 +1216,6 @@ declare const SCHEMAS: {
|
|
|
1272
1216
|
readonly values: readonly ["xmlonly", "both"];
|
|
1273
1217
|
readonly defaultValue: "both";
|
|
1274
1218
|
}], 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
|
-
}]>;
|
|
1287
1219
|
ol: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-tagname", {
|
|
1288
1220
|
readonly name: "role";
|
|
1289
1221
|
readonly values: readonly ["add-element", "change-style", "change-para-list", "change-element", "changed-element", "LIST1", "LIST2", "LIST3"];
|
|
@@ -1314,20 +1246,6 @@ declare const SCHEMAS: {
|
|
|
1314
1246
|
readonly values: readonly ["disc", "circle", "square", "dash", "ast", "checkbox"];
|
|
1315
1247
|
readonly defaultValue: "disc";
|
|
1316
1248
|
}]>;
|
|
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
|
-
}]>;
|
|
1331
1249
|
table1: Schema<readonly ["store", "ele-id", {
|
|
1332
1250
|
readonly name: "role";
|
|
1333
1251
|
readonly values: readonly ["inline", "float"];
|
|
@@ -1339,9 +1257,6 @@ declare const SCHEMAS: {
|
|
|
1339
1257
|
tbody: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1340
1258
|
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"]>;
|
|
1341
1259
|
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 []>;
|
|
1345
1260
|
heading: Schema<readonly ["store", "ele-id", "xmlid", {
|
|
1346
1261
|
readonly name: "role";
|
|
1347
1262
|
readonly values: string[];
|
|
@@ -1352,7 +1267,6 @@ declare const SCHEMAS: {
|
|
|
1352
1267
|
readonly values: string[];
|
|
1353
1268
|
readonly defaultValue: "ch";
|
|
1354
1269
|
}], 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"]>;
|
|
1356
1270
|
info1: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1357
1271
|
abstract1: Schema<readonly ["store", "ele-id", {
|
|
1358
1272
|
readonly name: "role";
|
|
@@ -1368,6 +1282,7 @@ declare const SCHEMAS: {
|
|
|
1368
1282
|
readonly values: readonly ["add-element", "change-element"];
|
|
1369
1283
|
readonly defaultValue: "add-element";
|
|
1370
1284
|
}]>;
|
|
1285
|
+
example: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "track-code", "element-change-description"]>;
|
|
1371
1286
|
poem: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
|
|
1372
1287
|
blockquote: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "data-tagname", "element-change-description", {
|
|
1373
1288
|
readonly name: "role";
|
|
@@ -1388,6 +1303,93 @@ declare const SCHEMAS: {
|
|
|
1388
1303
|
author: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1389
1304
|
personname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1390
1305
|
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"]>;
|
|
1391
1393
|
indexterm: Schema<readonly ["linkend", {
|
|
1392
1394
|
readonly name: "index-level";
|
|
1393
1395
|
readonly values: readonly ["PRIMARY", "SECONDARY", "TERTIARY", "QUATERNARY"];
|
|
@@ -1727,7 +1729,8 @@ declare const REFERENCE_TYPE_SCHEMAS: {
|
|
|
1727
1729
|
};
|
|
1728
1730
|
};
|
|
1729
1731
|
|
|
1730
|
-
|
|
1732
|
+
type ElementLabelValue = string | Record<string, string>;
|
|
1733
|
+
declare const getElementLabel: (code: SchemaCode, role?: string | null) => string;
|
|
1731
1734
|
|
|
1732
1735
|
type DependentForbiddenElement = {
|
|
1733
1736
|
code: SchemaCode;
|
|
@@ -1762,16 +1765,6 @@ declare const LINKEND_ATTRIBUTE = "linkend";
|
|
|
1762
1765
|
declare const ID_ATTRS: readonly ["store", "ele-id"];
|
|
1763
1766
|
|
|
1764
1767
|
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 []>;
|
|
1775
1768
|
translator: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1776
1769
|
pagenum: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1777
1770
|
pubId: Schema<readonly [], readonly ["store", "ele-id", "pub-id-type", "assigning-authority"]>;
|
|
@@ -1785,11 +1778,6 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1785
1778
|
readonly values: readonly [...string[], "foot_note"];
|
|
1786
1779
|
readonly defaultValue: "H1";
|
|
1787
1780
|
}]>;
|
|
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"]>;
|
|
1793
1781
|
footnoteno: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
|
|
1794
1782
|
olink: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1795
1783
|
firstname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
@@ -1797,21 +1785,9 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1797
1785
|
honorific: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1798
1786
|
orgname: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1799
1787
|
email: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1800
|
-
org: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1801
1788
|
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"]>;
|
|
1803
1789
|
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"]>;
|
|
1805
1790
|
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
|
-
}]>;
|
|
1815
1791
|
math: Schema<readonly [], readonly ["xmlns", "display"]>;
|
|
1816
1792
|
mathphrase: Schema<readonly ["ele-id"], readonly []>;
|
|
1817
1793
|
merror: Schema<readonly [], readonly []>;
|
|
@@ -1844,19 +1820,8 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1844
1820
|
readonly values: readonly ["inline-graphics", "presentation"];
|
|
1845
1821
|
readonly defaultValue: "inline-graphics";
|
|
1846
1822
|
}]>;
|
|
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 []>;
|
|
1851
1823
|
figsource: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1852
1824
|
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 []>;
|
|
1860
1825
|
keyword: Schema<readonly ["store", "ele-id"], readonly ["data-pos"]>;
|
|
1861
1826
|
punc: Schema<readonly ["store", "ele-id"], readonly ["data-role"]>;
|
|
1862
1827
|
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", {
|
|
@@ -1869,6 +1834,64 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1869
1834
|
readonly values: readonly ["list-item-added", "add-element", "list-item-split", "level-list"];
|
|
1870
1835
|
readonly defaultValue: "add-element";
|
|
1871
1836
|
}]>;
|
|
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 []>;
|
|
1872
1895
|
ol: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-tagname", {
|
|
1873
1896
|
readonly name: "role";
|
|
1874
1897
|
readonly values: readonly ["add-element", "change-style", "change-para-list", "change-element", "changed-element", "LIST1", "LIST2", "LIST3"];
|
|
@@ -1899,20 +1922,6 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1899
1922
|
readonly values: readonly ["disc", "circle", "square", "dash", "ast", "checkbox"];
|
|
1900
1923
|
readonly defaultValue: "disc";
|
|
1901
1924
|
}]>;
|
|
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
|
-
}]>;
|
|
1916
1925
|
table1: Schema<readonly ["store", "ele-id", {
|
|
1917
1926
|
readonly name: "role";
|
|
1918
1927
|
readonly values: readonly ["inline", "float"];
|
|
@@ -1924,9 +1933,6 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1924
1933
|
tbody: Schema<readonly [], readonly ["store", "ele-id"]>;
|
|
1925
1934
|
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"]>;
|
|
1926
1935
|
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 []>;
|
|
1930
1936
|
heading: Schema<readonly ["store", "ele-id", "xmlid", {
|
|
1931
1937
|
readonly name: "role";
|
|
1932
1938
|
readonly values: string[];
|
|
@@ -1937,7 +1943,6 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1937
1943
|
readonly values: string[];
|
|
1938
1944
|
readonly defaultValue: "ch";
|
|
1939
1945
|
}], 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"]>;
|
|
1941
1946
|
info1: Schema<readonly ["store", "ele-id"], readonly []>;
|
|
1942
1947
|
abstract1: Schema<readonly ["store", "ele-id", {
|
|
1943
1948
|
readonly name: "role";
|
|
@@ -1953,6 +1958,7 @@ declare const ELEMENT_SCHEMAS: {
|
|
|
1953
1958
|
readonly values: readonly ["add-element", "change-element"];
|
|
1954
1959
|
readonly defaultValue: "add-element";
|
|
1955
1960
|
}]>;
|
|
1961
|
+
example: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "track-code", "element-change-description"]>;
|
|
1956
1962
|
poem: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
|
|
1957
1963
|
blockquote: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "data-tagname", "element-change-description", {
|
|
1958
1964
|
readonly name: "role";
|
|
@@ -2094,7 +2100,7 @@ declare const DOCBOOK_ELEMENT_LABELS: Record<DocbookSchemaCode, string>;
|
|
|
2094
2100
|
declare const BIBLIOMIXED_SCHEMA: Schema;
|
|
2095
2101
|
|
|
2096
2102
|
type ValidationErrorLevel = "blocker" | "warning" | "info";
|
|
2097
|
-
type ValidationErrorKind = "unlinked" | "uncited" | "forbidden" | "missing" | "converted" | "possible-url" | "unreachable-url";
|
|
2103
|
+
type ValidationErrorKind = "unlinked" | "uncited" | "forbidden" | "missing" | "converted" | "possible-url" | "unreachable-url" | "placeholder";
|
|
2098
2104
|
type ValidationError = {
|
|
2099
2105
|
id: string;
|
|
2100
2106
|
store?: string;
|
|
@@ -2113,7 +2119,7 @@ type ValidationError = {
|
|
|
2113
2119
|
* @param elementsToLink - The elements IDs that are linked to.
|
|
2114
2120
|
* @param linkElements - The elements IDs that are linked to.
|
|
2115
2121
|
* @param schemasToValidateAgainst - The schemas to validate against.
|
|
2116
|
-
* * ValidateConsecutiveFootnotes and
|
|
2122
|
+
* * ValidateConsecutiveFootnotes, ValidateConsecutiveFootnoteCues and ValidateDummySpan are default validations.
|
|
2117
2123
|
* @returns The validation errors.
|
|
2118
2124
|
*/
|
|
2119
2125
|
declare const validateXml: (xml: Element, elementsToLink: string[], linkElements: string[], schemasToValidateAgainst: SchemaCode[]) => ValidationError[];
|
|
@@ -2155,6 +2161,8 @@ declare const clearWeblinkMatches: (editor: HTMLElement) => void;
|
|
|
2155
2161
|
|
|
2156
2162
|
declare const validateOlink: (element: Element) => ValidationError[];
|
|
2157
2163
|
|
|
2164
|
+
declare const validateDummySpan: (root: Element) => ValidationError[];
|
|
2165
|
+
|
|
2158
2166
|
type ElementHierarchy = "heading" | "box";
|
|
2159
2167
|
declare const validateHierarchy: (element: Element, elementHierarchy: ElementHierarchy) => ValidationError[];
|
|
2160
2168
|
|
|
@@ -2239,6 +2247,7 @@ declare const IGNORED_ATTRIBUTES: string[];
|
|
|
2239
2247
|
declare const IGNORED_ATTRIBUTES_STARTS_WITH: string[];
|
|
2240
2248
|
declare const isIgnoredAttribute: (attribute: string) => boolean;
|
|
2241
2249
|
|
|
2250
|
+
declare const DUMMY_SPAN_SELECTOR = "span#dummySpan";
|
|
2242
2251
|
declare const IGNORED_ELEMENT_SELECTORS: string[];
|
|
2243
2252
|
declare const isIgnoredElement: (element: Element) => boolean;
|
|
2244
2253
|
|
|
@@ -2257,4 +2266,4 @@ declare const REFERENCE_PART_SELECTOR: string;
|
|
|
2257
2266
|
declare const getReferenceParts: (reference: Element) => HTMLElement[];
|
|
2258
2267
|
declare const getReferenceFieldElements: (reference: Element) => ReferenceFieldElement[];
|
|
2259
2268
|
|
|
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,
|
|
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, DUMMY_SPAN_SELECTOR, type DocbookElementName, type DocbookSchemaCode, ELEMENT_SCHEMAS, ELE_ID_ATTRIBUTE, type ElementLabelValue, type ElementSchemaCode, FIGURE_PLACEMENT_ATTRIBUTE, type FreeAttribute, GROUP_SCHEMAS, type GroupSchemaCode, 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, getElementLabel, getElementLinks, getPossibleWeblinks, getReferenceFieldElements, getReferenceParts, getReferenceStructureIssueElements, getStore, isAttributeRestricted, isDeletedElement, isIgnoredAttribute, isIgnoredElement, isTrackChangesSchema, markPossibleWeblinks, queryAllElementsBySchema, queryElementBySchema, validateAttributes, validateConsecutiveFootnoteCues, validateConsecutiveFootnotes, validateDummySpan, validateElementAgainstSchema, validateElementToLinkTo, validateFootnoteNumber, validateHierarchy, validateLinkend, validateOlink, validatePossibleWeblinks, validatePossibleWeblinksSteps, validateReferenceStructure, validateXml, validateXmlAsync };
|