pro-editor-schema 1.6.9-dev.0 → 1.6.9

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 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" | "group" | "atom" | "inline" | "trackChanges";
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 | 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";
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" | "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"];
@@ -1728,8 +1726,7 @@ declare const REFERENCE_TYPE_SCHEMAS: {
1728
1726
  };
1729
1727
  };
1730
1728
 
1731
- type ElementLabelValue = string | Record<string, string>;
1732
- declare const getElementLabel: (code: SchemaCode, role?: string | null) => string;
1729
+ declare const ElementLabel: Record<SchemaCode, string>;
1733
1730
 
1734
1731
  type DependentForbiddenElement = {
1735
1732
  code: SchemaCode;
@@ -1764,6 +1761,16 @@ declare const LINKEND_ATTRIBUTE = "linkend";
1764
1761
  declare const ID_ATTRS: readonly ["store", "ele-id"];
1765
1762
 
1766
1763
  declare const ELEMENT_SCHEMAS: {
1764
+ bibliodiv: Schema<readonly ["store", "ele-id", "role"], readonly []>;
1765
+ referenceBibliography: Schema<readonly ["store", "ele-id", "xmlid", {
1766
+ readonly name: "role";
1767
+ readonly values: readonly ["chapterend"];
1768
+ readonly defaultValue: "chapterend";
1769
+ }, {
1770
+ readonly name: "doc-type";
1771
+ readonly values: readonly ["doc-bibliography"];
1772
+ readonly defaultValue: "doc-bibliography";
1773
+ }], readonly []>;
1767
1774
  translator: Schema<readonly [], readonly ["store", "ele-id"]>;
1768
1775
  pagenum: Schema<readonly [], readonly ["store", "ele-id"]>;
1769
1776
  pubId: Schema<readonly [], readonly ["store", "ele-id", "pub-id-type", "assigning-authority"]>;
@@ -1777,6 +1784,11 @@ declare const ELEMENT_SCHEMAS: {
1777
1784
  readonly values: readonly [...string[], "foot_note"];
1778
1785
  readonly defaultValue: "H1";
1779
1786
  }]>;
1787
+ footnote: Schema<readonly ["store", "ele-id", "label", "xmlid", {
1788
+ readonly name: "role";
1789
+ readonly values: readonly ["end-bk-note", "end-ch-note"];
1790
+ readonly defaultValue: "end-ch-note";
1791
+ }], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
1780
1792
  footnoteno: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
1781
1793
  olink: Schema<readonly ["store", "ele-id"], readonly []>;
1782
1794
  firstname: Schema<readonly ["store", "ele-id"], readonly []>;
@@ -1784,9 +1796,21 @@ declare const ELEMENT_SCHEMAS: {
1784
1796
  honorific: Schema<readonly ["store", "ele-id"], readonly []>;
1785
1797
  orgname: Schema<readonly ["store", "ele-id"], readonly []>;
1786
1798
  email: Schema<readonly ["store", "ele-id"], readonly []>;
1799
+ org: Schema<readonly ["store", "ele-id"], readonly []>;
1787
1800
  degrees: Schema<readonly ["store", "ele-id"], readonly []>;
1801
+ dialogue: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
1788
1802
  line: Schema<readonly ["store", "ele-id"], readonly ["role"]>;
1803
+ linegroup: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-line-group-action", "role", "trackmsg"]>;
1789
1804
  speaker: Schema<readonly ["store", "ele-id"], readonly ["role"]>;
1805
+ equation: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
1806
+ readonly name: "eqn-data";
1807
+ readonly values: readonly ["new", "updated"];
1808
+ readonly defaultValue: "new";
1809
+ }, {
1810
+ readonly name: "element-status";
1811
+ readonly values: readonly ["added", "changed"];
1812
+ readonly defaultValue: "added";
1813
+ }]>;
1790
1814
  math: Schema<readonly [], readonly ["xmlns", "display"]>;
1791
1815
  mathphrase: Schema<readonly ["ele-id"], readonly []>;
1792
1816
  merror: Schema<readonly [], readonly []>;
@@ -1819,8 +1843,19 @@ declare const ELEMENT_SCHEMAS: {
1819
1843
  readonly values: readonly ["inline-graphics", "presentation"];
1820
1844
  readonly defaultValue: "inline-graphics";
1821
1845
  }]>;
1846
+ alttext: Schema<readonly [], readonly []>;
1847
+ imageobject: Schema<readonly ["store", "ele-id"], readonly []>;
1848
+ mediaobject: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
1849
+ caption1: Schema<readonly ["store", "ele-id"], readonly []>;
1822
1850
  figsource: Schema<readonly ["store", "ele-id"], readonly []>;
1823
1851
  fignote: Schema<readonly ["store", "ele-id"], readonly []>;
1852
+ figure1: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["data-username", "data-userid", "data-time", "data-date", ...string[], "linkend_fig", "data-anchor-id"]>;
1853
+ informalfigure: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-anchor-id"]>;
1854
+ keywordset: Schema<readonly ["store", "ele-id", {
1855
+ readonly name: "role";
1856
+ readonly values: readonly ["xmlonly", "both"];
1857
+ readonly defaultValue: "both";
1858
+ }], readonly []>;
1824
1859
  keyword: Schema<readonly ["store", "ele-id"], readonly ["data-pos"]>;
1825
1860
  punc: Schema<readonly ["store", "ele-id"], readonly ["data-role"]>;
1826
1861
  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", {
@@ -1833,64 +1868,6 @@ declare const ELEMENT_SCHEMAS: {
1833
1868
  readonly values: readonly ["list-item-added", "add-element", "list-item-split", "level-list"];
1834
1869
  readonly defaultValue: "add-element";
1835
1870
  }]>;
1836
- token: Schema<readonly ["store", "ele-id"], readonly []>;
1837
- tag: Schema<readonly ["store", "ele-id", "data-id"], readonly []>;
1838
- lrh: Schema<readonly ["store", "ele-id"], readonly []>;
1839
- rrh: Schema<readonly ["store", "ele-id"], readonly []>;
1840
- source1: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
1841
- readonly name: "role";
1842
- readonly values: readonly ["add-element"];
1843
- readonly defaultValue: "add-element";
1844
- }]>;
1845
- subtitle1: Schema<readonly ["store", "ele-id"], readonly [{
1846
- readonly name: "role";
1847
- readonly values: readonly ["add-element"];
1848
- readonly defaultValue: "add-element";
1849
- }]>;
1850
- tp: Schema<readonly [], readonly ["store", "ele-id"]>;
1851
- tblfn: Schema<readonly ["store", "ele-id"], readonly []>;
1852
- tblsource: Schema<readonly [], readonly []>;
1853
- 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"]>;
1854
- };
1855
- declare const GROUP_SCHEMAS: {
1856
- bibliodiv: Schema<readonly ["store", "ele-id", "role"], readonly []>;
1857
- referenceBibliography: Schema<readonly ["store", "ele-id", "xmlid", {
1858
- readonly name: "role";
1859
- readonly values: readonly ["chapterend"];
1860
- readonly defaultValue: "chapterend";
1861
- }, {
1862
- readonly name: "doc-type";
1863
- readonly values: readonly ["doc-bibliography"];
1864
- readonly defaultValue: "doc-bibliography";
1865
- }], readonly []>;
1866
- footnote: Schema<readonly ["store", "ele-id", "label", "xmlid", {
1867
- readonly name: "role";
1868
- readonly values: readonly ["end-bk-note", "end-ch-note"];
1869
- readonly defaultValue: "end-ch-note";
1870
- }], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
1871
- org: Schema<readonly ["store", "ele-id"], readonly []>;
1872
- dialogue: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
1873
- linegroup: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-line-group-action", "role", "trackmsg"]>;
1874
- equation: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
1875
- readonly name: "eqn-data";
1876
- readonly values: readonly ["new", "updated"];
1877
- readonly defaultValue: "new";
1878
- }, {
1879
- readonly name: "element-status";
1880
- readonly values: readonly ["added", "changed"];
1881
- readonly defaultValue: "added";
1882
- }]>;
1883
- alttext: Schema<readonly [], readonly []>;
1884
- imageobject: Schema<readonly ["store", "ele-id"], readonly []>;
1885
- mediaobject: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
1886
- caption1: Schema<readonly ["store", "ele-id"], readonly []>;
1887
- figure1: Schema<readonly ["store", "ele-id", "xmlid"], readonly ["data-username", "data-userid", "data-time", "data-date", ...string[], "linkend_fig", "data-anchor-id"]>;
1888
- informalfigure: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-anchor-id"]>;
1889
- keywordset: Schema<readonly ["store", "ele-id", {
1890
- readonly name: "role";
1891
- readonly values: readonly ["xmlonly", "both"];
1892
- readonly defaultValue: "both";
1893
- }], readonly []>;
1894
1871
  ol: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-tagname", {
1895
1872
  readonly name: "role";
1896
1873
  readonly values: readonly ["add-element", "change-style", "change-para-list", "change-element", "changed-element", "LIST1", "LIST2", "LIST3"];
@@ -1921,6 +1898,20 @@ declare const GROUP_SCHEMAS: {
1921
1898
  readonly values: readonly ["disc", "circle", "square", "dash", "ast", "checkbox"];
1922
1899
  readonly defaultValue: "disc";
1923
1900
  }]>;
1901
+ token: Schema<readonly ["store", "ele-id"], readonly []>;
1902
+ tag: Schema<readonly ["store", "ele-id", "data-id"], readonly []>;
1903
+ lrh: Schema<readonly ["store", "ele-id"], readonly []>;
1904
+ rrh: Schema<readonly ["store", "ele-id"], readonly []>;
1905
+ source1: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", {
1906
+ readonly name: "role";
1907
+ readonly values: readonly ["add-element"];
1908
+ readonly defaultValue: "add-element";
1909
+ }]>;
1910
+ subtitle1: Schema<readonly ["store", "ele-id"], readonly [{
1911
+ readonly name: "role";
1912
+ readonly values: readonly ["add-element"];
1913
+ readonly defaultValue: "add-element";
1914
+ }]>;
1924
1915
  table1: Schema<readonly ["store", "ele-id", {
1925
1916
  readonly name: "role";
1926
1917
  readonly values: readonly ["inline", "float"];
@@ -1932,6 +1923,9 @@ declare const GROUP_SCHEMAS: {
1932
1923
  tbody: Schema<readonly [], readonly ["store", "ele-id"]>;
1933
1924
  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"]>;
1934
1925
  td: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "data-cell-width", "width"]>;
1926
+ tp: Schema<readonly [], readonly ["store", "ele-id"]>;
1927
+ tblfn: Schema<readonly ["store", "ele-id"], readonly []>;
1928
+ tblsource: Schema<readonly [], readonly []>;
1935
1929
  heading: Schema<readonly ["store", "ele-id", "xmlid", {
1936
1930
  readonly name: "role";
1937
1931
  readonly values: string[];
@@ -1942,6 +1936,7 @@ declare const GROUP_SCHEMAS: {
1942
1936
  readonly values: string[];
1943
1937
  readonly defaultValue: "ch";
1944
1938
  }], readonly ["data-username", "data-userid", "data-time", "data-date"]>;
1939
+ 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"]>;
1945
1940
  info1: Schema<readonly ["store", "ele-id"], readonly []>;
1946
1941
  abstract1: Schema<readonly ["store", "ele-id", {
1947
1942
  readonly name: "role";
@@ -1957,7 +1952,6 @@ declare const GROUP_SCHEMAS: {
1957
1952
  readonly values: readonly ["add-element", "change-element"];
1958
1953
  readonly defaultValue: "add-element";
1959
1954
  }]>;
1960
- example: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "track-code", "element-change-description"]>;
1961
1955
  poem: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "role", "trackmsg"]>;
1962
1956
  blockquote: Schema<readonly ["store", "ele-id"], readonly ["data-username", "data-userid", "data-time", "data-date", "xmlid", "data-tagname", "element-change-description", {
1963
1957
  readonly name: "role";
@@ -2261,4 +2255,4 @@ declare const REFERENCE_PART_SELECTOR: string;
2261
2255
  declare const getReferenceParts: (reference: Element) => HTMLElement[];
2262
2256
  declare const getReferenceFieldElements: (reference: Element) => ReferenceFieldElement[];
2263
2257
 
2264
- 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, 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, validateElementAgainstSchema, validateElementToLinkTo, validateFootnoteNumber, validateHierarchy, validateLinkend, validateOlink, validatePossibleWeblinks, validatePossibleWeblinksSteps, validateReferenceStructure, validateXml, validateXmlAsync };
2258
+ 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 };