@gmb/bitmark-parser-generator 3.35.0 → 3.37.0

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.cts CHANGED
@@ -1158,7 +1158,607 @@ declare const BodyBitType: Readonly<{
1158
1158
  }>>;
1159
1159
  type BodyBitTypeType = EnumType<typeof BodyBitType>;
1160
1160
 
1161
- declare const ResourceTag: Readonly<{
1161
+ declare const BitTagConfigKeyType: Readonly<{
1162
+ unknown: "unknown";
1163
+ tag: "tag";
1164
+ property: "property";
1165
+ resource: "resource";
1166
+ group: "group";
1167
+ }> & _ncoderz_superenum.EnumExtensions<EnumType<{
1168
+ unknown: "unknown";
1169
+ tag: "tag";
1170
+ property: "property";
1171
+ resource: "resource";
1172
+ group: "group";
1173
+ }>>;
1174
+ type BitTagConfigKeyTypeType = EnumType<typeof BitTagConfigKeyType>;
1175
+
1176
+ /**
1177
+ * Config keys for tags, resources, properties, and groups.
1178
+ *
1179
+ * Each type has a different prefix so there are no conflicts:
1180
+ * - Resources: `&`
1181
+ * - Properties: `@`
1182
+ * - Groups: `group_`
1183
+ * - Tags: <none>
1184
+ *
1185
+ */
1186
+ declare const ConfigKey: Readonly<{
1187
+ group_standardAllBits: "group_standardAllBits";
1188
+ group_standardItemLeadInstructionHint: "group_standardItemLeadInstructionHint";
1189
+ group_standardTags: "group_standardTags";
1190
+ group_imageSource: "group_imageSource";
1191
+ group_technicalTerm: "group_technicalTerm";
1192
+ group_person: "group_person";
1193
+ group_gap: "group_gap";
1194
+ group_trueFalse: "group_trueFalse";
1195
+ group_markConfig: "group_markConfig";
1196
+ group_mark: "group_mark";
1197
+ group_bookCommon: "group_bookCommon";
1198
+ group_learningPathCommon: "group_learningPathCommon";
1199
+ group_quizCommon: "group_quizCommon";
1200
+ group_resourceBitTags: "group_resourceBitTags";
1201
+ group_resourceCommon: "group_resourceCommon";
1202
+ group_resourceImageCommon: "group_resourceImageCommon";
1203
+ group_resourceAudioCommon: "group_resourceAudioCommon";
1204
+ group_resourceVideoCommon: "group_resourceVideoCommon";
1205
+ group_resourceIcon: "group_resourceIcon";
1206
+ group_resourceImage: "group_resourceImage";
1207
+ group_resourceImageEmbed: "group_resourceImageEmbed";
1208
+ group_resourceImageLink: "group_resourceImageLink";
1209
+ group_resourceImageResponsive: "group_resourceImageResponsive";
1210
+ group_resourceImagePortrait: "group_resourceImagePortrait";
1211
+ group_resourceImageLandscape: "group_resourceImageLandscape";
1212
+ group_resourceAudio: "group_resourceAudio";
1213
+ group_resourceAudioEmbed: "group_resourceAudioEmbed";
1214
+ group_resourceAudioLink: "group_resourceAudioLink";
1215
+ group_resourceVideo: "group_resourceVideo";
1216
+ group_resourceVideoEmbed: "group_resourceVideoEmbed";
1217
+ group_resourceVideoLink: "group_resourceVideoLink";
1218
+ group_resourceStillImageFilm: "group_resourceStillImageFilm";
1219
+ group_resourceStillImageFilmEmbed: "group_resourceStillImageFilmEmbed";
1220
+ group_resourceStillImageFilmLink: "group_resourceStillImageFilmLink";
1221
+ group_resourceArticle: "group_resourceArticle";
1222
+ group_resourceArticleEmbed: "group_resourceArticleEmbed";
1223
+ group_resourceArticleLink: "group_resourceArticleLink";
1224
+ group_resourceDocument: "group_resourceDocument";
1225
+ group_resourceDocumentEmbed: "group_resourceDocumentEmbed";
1226
+ group_resourceDocumentLink: "group_resourceDocumentLink";
1227
+ group_resourceDocumentDownload: "group_resourceDocumentDownload";
1228
+ group_resourceAppLink: "group_resourceAppLink";
1229
+ group_resourceWebsiteLink: "group_resourceWebsiteLink";
1230
+ property_action: "@action";
1231
+ property_activityType: "@activityType";
1232
+ property_additionalSolutions: "@additionalSolutions";
1233
+ property_ageRange: "@ageRange";
1234
+ property_aiGenerated: "@aiGenerated";
1235
+ property_allowedBit: "@allowedBit";
1236
+ property_allowSubtitles: "@allowSubtitles";
1237
+ property_alt: "@alt";
1238
+ property_altLangTag: "@altLangTag";
1239
+ property_analyticsTag: "@analyticsTag";
1240
+ property_author: "@author";
1241
+ property_autoplay: "@autoplay";
1242
+ property_availableClassifications: "@availableClassifications";
1243
+ property_blockId: "@blockId";
1244
+ property_book: "@book";
1245
+ property_bookAlias: "@bookAlias";
1246
+ property_bookDiff: "@bookDiff";
1247
+ property_bot: "@bot";
1248
+ property_bubbleTag: "@bubbleTag";
1249
+ property_buttonCaption: "@buttonCaption";
1250
+ property_callToActionUrl: "@callToActionUrl";
1251
+ property_caption: "@caption";
1252
+ property_categoryTag: "@categoryTag";
1253
+ property_chatWithBook: "@chatWithBook";
1254
+ property_chatWithBookBrainKey: "@chatWithBookBrainKey";
1255
+ property_citationStyle: "@citationStyle";
1256
+ property_classification: "@classification";
1257
+ property_codeLineNumbers: "@codeLineNumbers";
1258
+ property_codeMinimap: "@codeMinimap";
1259
+ property_color: "@color";
1260
+ property_colorTag: "@colorTag";
1261
+ property_computerLanguage: "@computerLanguage";
1262
+ property_content2Buy: "@content2Buy";
1263
+ property_copyright: "@copyright";
1264
+ property_coverColor: "@coverColor";
1265
+ property_coverImage: "@coverImage";
1266
+ property_customerExternalId: "@customerExternalId";
1267
+ property_customerId: "@customerId";
1268
+ property_date: "@date";
1269
+ property_dateEnd: "@dateEnd";
1270
+ property_decimalPlaces: "@decimalPlaces";
1271
+ property_deeplink: "@deeplink";
1272
+ property_diffContext: "@diffContext";
1273
+ property_diffOp: "@diffOp";
1274
+ property_diffRef: "@diffRef";
1275
+ property_diffTime: "@diffTime";
1276
+ property_diffTo: "@diffTo";
1277
+ property_disableCalculation: "@disableCalculation";
1278
+ property_disableFeedback: "@disableFeedback";
1279
+ property_duration: "@duration";
1280
+ property_emphasis: "@emphasis";
1281
+ property_example: "@example";
1282
+ property_externalId: "@externalId";
1283
+ property_externalLink: "@externalLink";
1284
+ property_externalLinkText: "@externalLinkText";
1285
+ property_feedbackEngine: "@feedbackEngine";
1286
+ property_feedbackType: "@feedbackType";
1287
+ property_flashcardSet: "@flashcardSet";
1288
+ property_focusX: "@focusX";
1289
+ property_focusY: "@focusY";
1290
+ property_format: "@format";
1291
+ property_groupTag: "@groupTag";
1292
+ property_handInAcceptFileType: "@handInAcceptFileType";
1293
+ property_handInInstruction: "@handInInstruction";
1294
+ property_handInRequirement: "@handInRequirement";
1295
+ property_hasBookNavigation: "@hasBookNavigation";
1296
+ property_hasMarkAsDone: "@hasMarkAsDone";
1297
+ property_height: "@height";
1298
+ property_icon: "@icon";
1299
+ property_iconTag: "@iconTag";
1300
+ property_id: "@id";
1301
+ property_imageFirst: "@imageFirst";
1302
+ property_imageSource: "@imageSource";
1303
+ property_index: "@index";
1304
+ property_internalComment: "@internalComment";
1305
+ property_isCaseSensitive: "@isCaseSensitive";
1306
+ property_isInfoOnly: "@isInfoOnly";
1307
+ property_isPublic: "@isPublic";
1308
+ property_isTemplate: "@isTemplate";
1309
+ property_isTemplateStripTheme: "@isTemplateStripTheme";
1310
+ property_isTracked: "@isTracked";
1311
+ property_jupyterExecutionCount: "@jupyterExecutionCount";
1312
+ property_jupyterId: "@jupyterId";
1313
+ property_kind: "@kind";
1314
+ property_label: "@label";
1315
+ property_labelFalse: "@labelFalse";
1316
+ property_labelTrue: "@labelTrue";
1317
+ property_lang: "@lang";
1318
+ property_language: "@language";
1319
+ property_layer: "@layer";
1320
+ property_layerRole: "@layerRole";
1321
+ property_levelACTFL: "@levelACTFL";
1322
+ property_levelCEFR: "@levelCEFR";
1323
+ property_levelCEFRp: "@levelCEFRp";
1324
+ property_levelILR: "@levelILR";
1325
+ property_license: "@license";
1326
+ property_list: "@list";
1327
+ property_listItemIndent: "@listItemIndent";
1328
+ property_location: "@location";
1329
+ property_machineTranslated: "@machineTranslated";
1330
+ property_mailingList: "@mailingList";
1331
+ property_mark: "@mark";
1332
+ property_maxCreatedBits: "@maxCreatedBits";
1333
+ property_maxDisplayLevel: "@maxDisplayLevel";
1334
+ property_maxTocChapterLevel: "@maxTocChapterLevel";
1335
+ property_mockupId: "@mockupId";
1336
+ property_mute: "@mute";
1337
+ property_padletId: "@padletId";
1338
+ property_page: "@page";
1339
+ property_pageNo: "@pageNo";
1340
+ property_partialAnswer: "@partialAnswer";
1341
+ property_partner: "@partner";
1342
+ property_path: "@path";
1343
+ property_person: "@person";
1344
+ property_pointerLeft: "@pointerLeft";
1345
+ property_pointerTop: "@pointerTop";
1346
+ property_posterImage: "@posterImage";
1347
+ property_processHandIn: "@processHandIn";
1348
+ property_processHandInLocation: "@processHandInLocation";
1349
+ property_product: "@product";
1350
+ property_productFolder: "@productFolder";
1351
+ property_productId: "@productId";
1352
+ property_productVideo: "@productVideo";
1353
+ property_progress: "@progress";
1354
+ property_publications: "@publications";
1355
+ property_publisher: "@publisher";
1356
+ property_publisherName: "@publisherName";
1357
+ property_quizCountItems: "@quizCountItems";
1358
+ property_quizStrikethroughSolutions: "@quizStrikethroughSolutions";
1359
+ property_quotedPerson: "@quotedPerson";
1360
+ property_ratingLevelEnd: "@ratingLevelEnd";
1361
+ property_ratingLevelSelected: "@ratingLevelSelected";
1362
+ property_ratingLevelStart: "@ratingLevelStart";
1363
+ property_reaction: "@reaction";
1364
+ property_reasonableNumOfChars: "@reasonableNumOfChars";
1365
+ property_reductionTag: "@reductionTag";
1366
+ property_refAuthor: "@refAuthor";
1367
+ property_refBookTitle: "@refBookTitle";
1368
+ property_reference: "@reference";
1369
+ property_refPublicationYear: "@refPublicationYear";
1370
+ property_refPublisher: "@refPublisher";
1371
+ property_releaseDate: "@releaseDate";
1372
+ property_releaseKind: "@releaseKind";
1373
+ property_releaseVersion: "@releaseVersion";
1374
+ property_reportTag: "@reportTag";
1375
+ property_resolved: "@resolved";
1376
+ property_resolvedBy: "@resolvedBy";
1377
+ property_resolvedDate: "@resolvedDate";
1378
+ property_revealSolutions: "@revealSolutions";
1379
+ property_sampleSolution: "@sampleSolution";
1380
+ property_scormSource: "@scormSource";
1381
+ property_search: "@search";
1382
+ property_searchIndex: "@searchIndex";
1383
+ property_servings: "@servings";
1384
+ property_showInIndex: "@showInIndex";
1385
+ property_showSubtitles: "@showSubtitles";
1386
+ property_siteName: "@siteName";
1387
+ property_size: "@size";
1388
+ property_slug: "@slug";
1389
+ property_spaceId: "@spaceId";
1390
+ property_src1x: "@src1x";
1391
+ property_src2x: "@src2x";
1392
+ property_src3x: "@src3x";
1393
+ property_src4x: "@src4x";
1394
+ property_stripePricingTableId: "@stripePricingTableId";
1395
+ property_stripePublishableKey: "@stripePublishableKey";
1396
+ property_subject: "@subject";
1397
+ property_subtype: "@subtype";
1398
+ property_tableAutoWidth: "@tableAutoWidth";
1399
+ property_tableColumnMinWidth: "@tableColumnMinWidth";
1400
+ property_tableFixedHeader: "@tableFixedHeader";
1401
+ property_tableHeaderWhitespaceNoWrap: "@tableHeaderWhitespaceNoWrap";
1402
+ property_tableHeight: "@tableHeight";
1403
+ property_tablePagination: "@tablePagination";
1404
+ property_tablePaginationLimit: "@tablePaginationLimit";
1405
+ property_tableResizableColumns: "@tableResizableColumns";
1406
+ property_tableSearch: "@tableSearch";
1407
+ property_tableSort: "@tableSort";
1408
+ property_tableWhitespaceNoWrap: "@tableWhitespaceNoWrap";
1409
+ property_tag: "@tag";
1410
+ property_target: "@target";
1411
+ property_technicalTerm: "@technicalTerm";
1412
+ property_textReference: "@textReference";
1413
+ property_theme: "@theme";
1414
+ property_thumbImage: "@thumbImage";
1415
+ property_title: "@title";
1416
+ property_toc: "@toc";
1417
+ property_tocContent: "@tocContent";
1418
+ property_tocResource: "@tocResource";
1419
+ property_topicTag: "@topicTag";
1420
+ property_trim: "@trim";
1421
+ property_unit: "@unit";
1422
+ property_unitAbbr: "@unitAbbr";
1423
+ property_vendorDashboardId: "@vendorDashboardId";
1424
+ property_vendorSurveyId: "@vendorSurveyId";
1425
+ property_vendorUrl: "@vendorUrl";
1426
+ property_videoCallLink: "@videoCallLink";
1427
+ property_width: "@width";
1428
+ property_x: "@x";
1429
+ property_y: "@y";
1430
+ property_zoomDisabled: "@zoomDisabled";
1431
+ resource_image: "&image";
1432
+ resource_imageResponsive: "&imageResponsive";
1433
+ resource_imagePortrait: "&imagePortrait";
1434
+ resource_imageLandscape: "&imageLandscape";
1435
+ resource_imageEmbed: "&imageEmbed";
1436
+ resource_imageLink: "&imageLink";
1437
+ resource_audio: "&audio";
1438
+ resource_audioEmbed: "&audioEmbed";
1439
+ resource_audioLink: "&audioLink";
1440
+ resource_video: "&video";
1441
+ resource_videoEmbed: "&videoEmbed";
1442
+ resource_videoLink: "&videoLink";
1443
+ resource_stillImageFilm: "&stillImageFilm";
1444
+ resource_stillImageFilmEmbed: "&stillImageFilmEmbed";
1445
+ resource_stillImageFilmLink: "&stillImageFilmLink";
1446
+ resource_article: "&article";
1447
+ resource_articleEmbed: "&articleEmbed";
1448
+ resource_articleLink: "&articleLink";
1449
+ resource_document: "&document";
1450
+ resource_documentEmbed: "&documentEmbed";
1451
+ resource_documentLink: "&documentLink";
1452
+ resource_documentDownload: "&documentDownload";
1453
+ resource_appLink: "&appLink";
1454
+ resource_websiteLink: "&websiteLink";
1455
+ resource_icon: "&icon";
1456
+ resource_backgroundWallpaper: "&backgroundWallpaper";
1457
+ resource_imagePlaceholder: "&imagePlaceholder";
1458
+ tag_title: "#";
1459
+ tag_anchor: "▼";
1460
+ tag_reference: "►";
1461
+ tag_property: "@";
1462
+ tag_item: "%";
1463
+ tag_instruction: "!";
1464
+ tag_hint: "?";
1465
+ tag_true: "+";
1466
+ tag_false: "-";
1467
+ tag_sampleSolution: "$";
1468
+ tag_gap: "_";
1469
+ tag_mark: "=";
1470
+ tag_resource: "&";
1471
+ _unknown: "_unknown";
1472
+ }> & _ncoderz_superenum.EnumExtensions<EnumType<{
1473
+ group_standardAllBits: "group_standardAllBits";
1474
+ group_standardItemLeadInstructionHint: "group_standardItemLeadInstructionHint";
1475
+ group_standardTags: "group_standardTags";
1476
+ group_imageSource: "group_imageSource";
1477
+ group_technicalTerm: "group_technicalTerm";
1478
+ group_person: "group_person";
1479
+ group_gap: "group_gap";
1480
+ group_trueFalse: "group_trueFalse";
1481
+ group_markConfig: "group_markConfig";
1482
+ group_mark: "group_mark";
1483
+ group_bookCommon: "group_bookCommon";
1484
+ group_learningPathCommon: "group_learningPathCommon";
1485
+ group_quizCommon: "group_quizCommon";
1486
+ group_resourceBitTags: "group_resourceBitTags";
1487
+ group_resourceCommon: "group_resourceCommon";
1488
+ group_resourceImageCommon: "group_resourceImageCommon";
1489
+ group_resourceAudioCommon: "group_resourceAudioCommon";
1490
+ group_resourceVideoCommon: "group_resourceVideoCommon";
1491
+ group_resourceIcon: "group_resourceIcon";
1492
+ group_resourceImage: "group_resourceImage";
1493
+ group_resourceImageEmbed: "group_resourceImageEmbed";
1494
+ group_resourceImageLink: "group_resourceImageLink";
1495
+ group_resourceImageResponsive: "group_resourceImageResponsive";
1496
+ group_resourceImagePortrait: "group_resourceImagePortrait";
1497
+ group_resourceImageLandscape: "group_resourceImageLandscape";
1498
+ group_resourceAudio: "group_resourceAudio";
1499
+ group_resourceAudioEmbed: "group_resourceAudioEmbed";
1500
+ group_resourceAudioLink: "group_resourceAudioLink";
1501
+ group_resourceVideo: "group_resourceVideo";
1502
+ group_resourceVideoEmbed: "group_resourceVideoEmbed";
1503
+ group_resourceVideoLink: "group_resourceVideoLink";
1504
+ group_resourceStillImageFilm: "group_resourceStillImageFilm";
1505
+ group_resourceStillImageFilmEmbed: "group_resourceStillImageFilmEmbed";
1506
+ group_resourceStillImageFilmLink: "group_resourceStillImageFilmLink";
1507
+ group_resourceArticle: "group_resourceArticle";
1508
+ group_resourceArticleEmbed: "group_resourceArticleEmbed";
1509
+ group_resourceArticleLink: "group_resourceArticleLink";
1510
+ group_resourceDocument: "group_resourceDocument";
1511
+ group_resourceDocumentEmbed: "group_resourceDocumentEmbed";
1512
+ group_resourceDocumentLink: "group_resourceDocumentLink";
1513
+ group_resourceDocumentDownload: "group_resourceDocumentDownload";
1514
+ group_resourceAppLink: "group_resourceAppLink";
1515
+ group_resourceWebsiteLink: "group_resourceWebsiteLink";
1516
+ property_action: "@action";
1517
+ property_activityType: "@activityType";
1518
+ property_additionalSolutions: "@additionalSolutions";
1519
+ property_ageRange: "@ageRange";
1520
+ property_aiGenerated: "@aiGenerated";
1521
+ property_allowedBit: "@allowedBit";
1522
+ property_allowSubtitles: "@allowSubtitles";
1523
+ property_alt: "@alt";
1524
+ property_altLangTag: "@altLangTag";
1525
+ property_analyticsTag: "@analyticsTag";
1526
+ property_author: "@author";
1527
+ property_autoplay: "@autoplay";
1528
+ property_availableClassifications: "@availableClassifications";
1529
+ property_blockId: "@blockId";
1530
+ property_book: "@book";
1531
+ property_bookAlias: "@bookAlias";
1532
+ property_bookDiff: "@bookDiff";
1533
+ property_bot: "@bot";
1534
+ property_bubbleTag: "@bubbleTag";
1535
+ property_buttonCaption: "@buttonCaption";
1536
+ property_callToActionUrl: "@callToActionUrl";
1537
+ property_caption: "@caption";
1538
+ property_categoryTag: "@categoryTag";
1539
+ property_chatWithBook: "@chatWithBook";
1540
+ property_chatWithBookBrainKey: "@chatWithBookBrainKey";
1541
+ property_citationStyle: "@citationStyle";
1542
+ property_classification: "@classification";
1543
+ property_codeLineNumbers: "@codeLineNumbers";
1544
+ property_codeMinimap: "@codeMinimap";
1545
+ property_color: "@color";
1546
+ property_colorTag: "@colorTag";
1547
+ property_computerLanguage: "@computerLanguage";
1548
+ property_content2Buy: "@content2Buy";
1549
+ property_copyright: "@copyright";
1550
+ property_coverColor: "@coverColor";
1551
+ property_coverImage: "@coverImage";
1552
+ property_customerExternalId: "@customerExternalId";
1553
+ property_customerId: "@customerId";
1554
+ property_date: "@date";
1555
+ property_dateEnd: "@dateEnd";
1556
+ property_decimalPlaces: "@decimalPlaces";
1557
+ property_deeplink: "@deeplink";
1558
+ property_diffContext: "@diffContext";
1559
+ property_diffOp: "@diffOp";
1560
+ property_diffRef: "@diffRef";
1561
+ property_diffTime: "@diffTime";
1562
+ property_diffTo: "@diffTo";
1563
+ property_disableCalculation: "@disableCalculation";
1564
+ property_disableFeedback: "@disableFeedback";
1565
+ property_duration: "@duration";
1566
+ property_emphasis: "@emphasis";
1567
+ property_example: "@example";
1568
+ property_externalId: "@externalId";
1569
+ property_externalLink: "@externalLink";
1570
+ property_externalLinkText: "@externalLinkText";
1571
+ property_feedbackEngine: "@feedbackEngine";
1572
+ property_feedbackType: "@feedbackType";
1573
+ property_flashcardSet: "@flashcardSet";
1574
+ property_focusX: "@focusX";
1575
+ property_focusY: "@focusY";
1576
+ property_format: "@format";
1577
+ property_groupTag: "@groupTag";
1578
+ property_handInAcceptFileType: "@handInAcceptFileType";
1579
+ property_handInInstruction: "@handInInstruction";
1580
+ property_handInRequirement: "@handInRequirement";
1581
+ property_hasBookNavigation: "@hasBookNavigation";
1582
+ property_hasMarkAsDone: "@hasMarkAsDone";
1583
+ property_height: "@height";
1584
+ property_icon: "@icon";
1585
+ property_iconTag: "@iconTag";
1586
+ property_id: "@id";
1587
+ property_imageFirst: "@imageFirst";
1588
+ property_imageSource: "@imageSource";
1589
+ property_index: "@index";
1590
+ property_internalComment: "@internalComment";
1591
+ property_isCaseSensitive: "@isCaseSensitive";
1592
+ property_isInfoOnly: "@isInfoOnly";
1593
+ property_isPublic: "@isPublic";
1594
+ property_isTemplate: "@isTemplate";
1595
+ property_isTemplateStripTheme: "@isTemplateStripTheme";
1596
+ property_isTracked: "@isTracked";
1597
+ property_jupyterExecutionCount: "@jupyterExecutionCount";
1598
+ property_jupyterId: "@jupyterId";
1599
+ property_kind: "@kind";
1600
+ property_label: "@label";
1601
+ property_labelFalse: "@labelFalse";
1602
+ property_labelTrue: "@labelTrue";
1603
+ property_lang: "@lang";
1604
+ property_language: "@language";
1605
+ property_layer: "@layer";
1606
+ property_layerRole: "@layerRole";
1607
+ property_levelACTFL: "@levelACTFL";
1608
+ property_levelCEFR: "@levelCEFR";
1609
+ property_levelCEFRp: "@levelCEFRp";
1610
+ property_levelILR: "@levelILR";
1611
+ property_license: "@license";
1612
+ property_list: "@list";
1613
+ property_listItemIndent: "@listItemIndent";
1614
+ property_location: "@location";
1615
+ property_machineTranslated: "@machineTranslated";
1616
+ property_mailingList: "@mailingList";
1617
+ property_mark: "@mark";
1618
+ property_maxCreatedBits: "@maxCreatedBits";
1619
+ property_maxDisplayLevel: "@maxDisplayLevel";
1620
+ property_maxTocChapterLevel: "@maxTocChapterLevel";
1621
+ property_mockupId: "@mockupId";
1622
+ property_mute: "@mute";
1623
+ property_padletId: "@padletId";
1624
+ property_page: "@page";
1625
+ property_pageNo: "@pageNo";
1626
+ property_partialAnswer: "@partialAnswer";
1627
+ property_partner: "@partner";
1628
+ property_path: "@path";
1629
+ property_person: "@person";
1630
+ property_pointerLeft: "@pointerLeft";
1631
+ property_pointerTop: "@pointerTop";
1632
+ property_posterImage: "@posterImage";
1633
+ property_processHandIn: "@processHandIn";
1634
+ property_processHandInLocation: "@processHandInLocation";
1635
+ property_product: "@product";
1636
+ property_productFolder: "@productFolder";
1637
+ property_productId: "@productId";
1638
+ property_productVideo: "@productVideo";
1639
+ property_progress: "@progress";
1640
+ property_publications: "@publications";
1641
+ property_publisher: "@publisher";
1642
+ property_publisherName: "@publisherName";
1643
+ property_quizCountItems: "@quizCountItems";
1644
+ property_quizStrikethroughSolutions: "@quizStrikethroughSolutions";
1645
+ property_quotedPerson: "@quotedPerson";
1646
+ property_ratingLevelEnd: "@ratingLevelEnd";
1647
+ property_ratingLevelSelected: "@ratingLevelSelected";
1648
+ property_ratingLevelStart: "@ratingLevelStart";
1649
+ property_reaction: "@reaction";
1650
+ property_reasonableNumOfChars: "@reasonableNumOfChars";
1651
+ property_reductionTag: "@reductionTag";
1652
+ property_refAuthor: "@refAuthor";
1653
+ property_refBookTitle: "@refBookTitle";
1654
+ property_reference: "@reference";
1655
+ property_refPublicationYear: "@refPublicationYear";
1656
+ property_refPublisher: "@refPublisher";
1657
+ property_releaseDate: "@releaseDate";
1658
+ property_releaseKind: "@releaseKind";
1659
+ property_releaseVersion: "@releaseVersion";
1660
+ property_reportTag: "@reportTag";
1661
+ property_resolved: "@resolved";
1662
+ property_resolvedBy: "@resolvedBy";
1663
+ property_resolvedDate: "@resolvedDate";
1664
+ property_revealSolutions: "@revealSolutions";
1665
+ property_sampleSolution: "@sampleSolution";
1666
+ property_scormSource: "@scormSource";
1667
+ property_search: "@search";
1668
+ property_searchIndex: "@searchIndex";
1669
+ property_servings: "@servings";
1670
+ property_showInIndex: "@showInIndex";
1671
+ property_showSubtitles: "@showSubtitles";
1672
+ property_siteName: "@siteName";
1673
+ property_size: "@size";
1674
+ property_slug: "@slug";
1675
+ property_spaceId: "@spaceId";
1676
+ property_src1x: "@src1x";
1677
+ property_src2x: "@src2x";
1678
+ property_src3x: "@src3x";
1679
+ property_src4x: "@src4x";
1680
+ property_stripePricingTableId: "@stripePricingTableId";
1681
+ property_stripePublishableKey: "@stripePublishableKey";
1682
+ property_subject: "@subject";
1683
+ property_subtype: "@subtype";
1684
+ property_tableAutoWidth: "@tableAutoWidth";
1685
+ property_tableColumnMinWidth: "@tableColumnMinWidth";
1686
+ property_tableFixedHeader: "@tableFixedHeader";
1687
+ property_tableHeaderWhitespaceNoWrap: "@tableHeaderWhitespaceNoWrap";
1688
+ property_tableHeight: "@tableHeight";
1689
+ property_tablePagination: "@tablePagination";
1690
+ property_tablePaginationLimit: "@tablePaginationLimit";
1691
+ property_tableResizableColumns: "@tableResizableColumns";
1692
+ property_tableSearch: "@tableSearch";
1693
+ property_tableSort: "@tableSort";
1694
+ property_tableWhitespaceNoWrap: "@tableWhitespaceNoWrap";
1695
+ property_tag: "@tag";
1696
+ property_target: "@target";
1697
+ property_technicalTerm: "@technicalTerm";
1698
+ property_textReference: "@textReference";
1699
+ property_theme: "@theme";
1700
+ property_thumbImage: "@thumbImage";
1701
+ property_title: "@title";
1702
+ property_toc: "@toc";
1703
+ property_tocContent: "@tocContent";
1704
+ property_tocResource: "@tocResource";
1705
+ property_topicTag: "@topicTag";
1706
+ property_trim: "@trim";
1707
+ property_unit: "@unit";
1708
+ property_unitAbbr: "@unitAbbr";
1709
+ property_vendorDashboardId: "@vendorDashboardId";
1710
+ property_vendorSurveyId: "@vendorSurveyId";
1711
+ property_vendorUrl: "@vendorUrl";
1712
+ property_videoCallLink: "@videoCallLink";
1713
+ property_width: "@width";
1714
+ property_x: "@x";
1715
+ property_y: "@y";
1716
+ property_zoomDisabled: "@zoomDisabled";
1717
+ resource_image: "&image";
1718
+ resource_imageResponsive: "&imageResponsive";
1719
+ resource_imagePortrait: "&imagePortrait";
1720
+ resource_imageLandscape: "&imageLandscape";
1721
+ resource_imageEmbed: "&imageEmbed";
1722
+ resource_imageLink: "&imageLink";
1723
+ resource_audio: "&audio";
1724
+ resource_audioEmbed: "&audioEmbed";
1725
+ resource_audioLink: "&audioLink";
1726
+ resource_video: "&video";
1727
+ resource_videoEmbed: "&videoEmbed";
1728
+ resource_videoLink: "&videoLink";
1729
+ resource_stillImageFilm: "&stillImageFilm";
1730
+ resource_stillImageFilmEmbed: "&stillImageFilmEmbed";
1731
+ resource_stillImageFilmLink: "&stillImageFilmLink";
1732
+ resource_article: "&article";
1733
+ resource_articleEmbed: "&articleEmbed";
1734
+ resource_articleLink: "&articleLink";
1735
+ resource_document: "&document";
1736
+ resource_documentEmbed: "&documentEmbed";
1737
+ resource_documentLink: "&documentLink";
1738
+ resource_documentDownload: "&documentDownload";
1739
+ resource_appLink: "&appLink";
1740
+ resource_websiteLink: "&websiteLink";
1741
+ resource_icon: "&icon";
1742
+ resource_backgroundWallpaper: "&backgroundWallpaper";
1743
+ resource_imagePlaceholder: "&imagePlaceholder";
1744
+ tag_title: "#";
1745
+ tag_anchor: "▼";
1746
+ tag_reference: "►";
1747
+ tag_property: "@";
1748
+ tag_item: "%";
1749
+ tag_instruction: "!";
1750
+ tag_hint: "?";
1751
+ tag_true: "+";
1752
+ tag_false: "-";
1753
+ tag_sampleSolution: "$";
1754
+ tag_gap: "_";
1755
+ tag_mark: "=";
1756
+ tag_resource: "&";
1757
+ _unknown: "_unknown";
1758
+ }>>;
1759
+ type ConfigKeyType = EnumType<typeof ConfigKey>;
1760
+
1761
+ declare const ResourceType: Readonly<{
1162
1762
  unknown: "unknown";
1163
1763
  image: "image";
1164
1764
  imageResponsive: "image-responsive";
@@ -1217,7 +1817,7 @@ declare const ResourceTag: Readonly<{
1217
1817
  backgroundWallpaper: "backgroundWallpaper";
1218
1818
  imagePlaceholder: "imagePlaceholder";
1219
1819
  }>>;
1220
- type ResourceTagType = EnumType<typeof ResourceTag>;
1820
+ type ResourceTypeType = EnumType<typeof ResourceType>;
1221
1821
 
1222
1822
  declare const TextFormat: Readonly<{
1223
1823
  plainText: "text";
@@ -1572,8 +2172,9 @@ interface HighlightTextJson {
1572
2172
  type ResourceDataJson = ImageResourceJson & ImageResponsiveResourceJson & ImageLinkResourceJson & AudioResourceJson & AudioEmbedResourceJson & AudioLinkResourceJson & VideoResourceJson & VideoEmbedResourceJson & VideoLinkResourceJson & StillImageFilmResourceJson & StillImageFilmEmbedResourceJson & StillImageFilmLinkResourceJson & ArticleResourceJson & DocumentResourceJson & DocumentEmbedResourceJson & DocumentLinkResourceJson & DocumentDownloadResourceJson & AppLinkResourceJson & WebsiteLinkResourceJson;
1573
2173
  type ResourceJson = ImageResourceWrapperJson | ImageResponsiveResourceWrapperJson | ImageLinkResourceWrapperJson | AudioResourceWrapperJson | AudioEmbedResourceWrapperJson | AudioLinkResourceWrapperJson | VideoResourceWrapperJson | VideoEmbedResourceWrapperJson | VideoLinkResourceWrapperJson | StillImageFilmResourceWrapperJson | StillImageFilmEmbedResourceWrapperJson | StillImageFilmLinkResourceWrapperJson | ArticleResourceWrapperJson | DocumentResourceWrapperJson | DocumentEmbedResourceWrapperJson | DocumentLinkResourceWrapperJson | DocumentDownloadResourceWrapperJson | AppLinkResourceWrapperJson | WebsiteLinkResourceWrapperJson;
1574
2174
  interface ResourceWrapperJson {
1575
- type: string;
1576
- __typeAlias: ResourceTagType;
2175
+ type: ResourceTypeType;
2176
+ __typeAlias: ResourceTypeType;
2177
+ __configKey: ConfigKeyType;
1577
2178
  }
1578
2179
  interface ImageResourceWrapperJson extends ResourceWrapperJson {
1579
2180
  type: 'image';
@@ -1834,6 +2435,7 @@ interface BitJson {
1834
2435
  analyticsTag: string | string[];
1835
2436
  categoryTag: string | string[];
1836
2437
  topicTag: string | string[];
2438
+ reportTag: string | string[];
1837
2439
  altLangTag: string;
1838
2440
  feedbackEngine: string;
1839
2441
  feedbackType: string;
@@ -1853,6 +2455,7 @@ interface BitJson {
1853
2455
  target: string | string[];
1854
2456
  slug: string;
1855
2457
  tag: string | string[];
2458
+ groupTag: GroupTagJson[];
1856
2459
  reductionTag: string | string[];
1857
2460
  bubbleTag: string | string[];
1858
2461
  levelCEFRp: string;
@@ -2036,6 +2639,10 @@ interface BookJson {
2036
2639
  reference: string;
2037
2640
  referenceEnd: string;
2038
2641
  }
2642
+ interface GroupTagJson {
2643
+ name: string;
2644
+ tags: string[];
2645
+ }
2039
2646
  interface ImageSourceJson {
2040
2647
  url: string;
2041
2648
  mockupId: string;
@@ -2327,7 +2934,7 @@ interface Bit {
2327
2934
  bitType: BitTypeType;
2328
2935
  bitLevel: number;
2329
2936
  textFormat: TextFormatType;
2330
- resourceType?: ResourceTagType;
2937
+ resourceType?: ResourceTypeType;
2331
2938
  isCommented?: boolean;
2332
2939
  id?: Property;
2333
2940
  internalComment?: Property;
@@ -2347,6 +2954,7 @@ interface Bit {
2347
2954
  analyticsTag?: Property;
2348
2955
  categoryTag?: Property;
2349
2956
  topicTag?: Property;
2957
+ reportTag?: Property;
2350
2958
  altLangTag?: Property;
2351
2959
  feedbackEngine?: Property;
2352
2960
  feedbackType?: Property;
@@ -2370,6 +2978,7 @@ interface Bit {
2370
2978
  target?: Property;
2371
2979
  slug?: Property;
2372
2980
  tag?: Property;
2981
+ groupTag?: GroupTagJson[];
2373
2982
  reductionTag?: Property;
2374
2983
  bubbleTag?: Property;
2375
2984
  levelCEFRp?: Property;
@@ -2534,7 +3143,7 @@ type Example = JsonText | string | boolean;
2534
3143
  interface ExtraProperties {
2535
3144
  [key: string]: Property;
2536
3145
  }
2537
- type Property = string[] | number[] | boolean[] | unknown[];
3146
+ type Property = string[] | number[] | boolean[] | string | number | boolean;
2538
3147
  interface Body {
2539
3148
  body?: JsonText | unknown;
2540
3149
  bodyBits?: BodyBitJson[];
@@ -2581,6 +3190,8 @@ interface Footer {
2581
3190
  */
2582
3191
  declare const NodeType: Readonly<{
2583
3192
  unknown: "unknown";
3193
+ __isDefaultExample: "__isDefaultExample";
3194
+ __typeAlias: "__typeAlias";
2584
3195
  action: "action";
2585
3196
  actionValue: "actionValue";
2586
3197
  activityType: "activityType";
@@ -2627,7 +3238,6 @@ declare const NodeType: Readonly<{
2627
3238
  blockId: "blockId";
2628
3239
  blockIdValue: "blockIdValue";
2629
3240
  body: "body";
2630
- bodyValue: "bodyValue";
2631
3241
  bodyBit: "bodyBit";
2632
3242
  bodyBits: "bodyBits";
2633
3243
  bodyJson: "bodyJson";
@@ -2635,12 +3245,13 @@ declare const NodeType: Readonly<{
2635
3245
  bodyPartsValue: "bodyPartsValue";
2636
3246
  bodyPartText: "bodyPartText";
2637
3247
  bodyText: "bodyText";
3248
+ bodyValue: "bodyValue";
2638
3249
  book: "book";
2639
- bookValue: "bookValue";
2640
3250
  bookAlias: "bookAlias";
2641
3251
  bookAliasValue: "bookAliasValue";
2642
3252
  bookDiff: "bookDiff";
2643
3253
  bookDiffValue: "bookDiffValue";
3254
+ bookValue: "bookValue";
2644
3255
  bot: "bot";
2645
3256
  botResponses: "botResponses";
2646
3257
  botResponsesValue: "botResponsesValue";
@@ -2662,13 +3273,15 @@ declare const NodeType: Readonly<{
2662
3273
  cells: "cells";
2663
3274
  cellsValue: "cellsValue";
2664
3275
  chatWithBook: "chatWithBook";
2665
- chatWithBookValue: "chatWithBookValue";
2666
3276
  chatWithBookBrainKey: "chatWithBookBrainKey";
2667
3277
  chatWithBookBrainKeyValue: "chatWithBookBrainKeyValue";
3278
+ chatWithBookValue: "chatWithBookValue";
2668
3279
  checked: "checked";
2669
3280
  choice: "choice";
2670
3281
  choices: "choices";
2671
3282
  choicesValue: "choicesValue";
3283
+ citationStyle: "citationStyle";
3284
+ citationStyleValue: "citationStyleValue";
2672
3285
  class: "class";
2673
3286
  classification: "classification";
2674
3287
  classificationValue: "classificationValue";
@@ -2711,19 +3324,19 @@ declare const NodeType: Readonly<{
2711
3324
  definition: "definition";
2712
3325
  definitions: "definitions";
2713
3326
  definitionsValue: "definitionsValue";
2714
- disableCalculation: "disableCalculation";
2715
- disableFeedback: "disableFeedback";
2716
- disableFeedbackValue: "disableFeedbackValue";
2717
- diffTo: "diffTo";
2718
- diffToValue: "diffToValue";
3327
+ diffContext: "diffContext";
3328
+ diffContextValue: "diffContextValue";
2719
3329
  diffOp: "diffOp";
2720
3330
  diffOpValue: "diffOpValue";
2721
3331
  diffRef: "diffRef";
2722
3332
  diffRefValue: "diffRefValue";
2723
- diffContext: "diffContext";
2724
- diffContextValue: "diffContextValue";
2725
3333
  diffTime: "diffTime";
2726
3334
  diffTimeValue: "diffTimeValue";
3335
+ diffTo: "diffTo";
3336
+ diffToValue: "diffToValue";
3337
+ disableCalculation: "disableCalculation";
3338
+ disableFeedback: "disableFeedback";
3339
+ disableFeedbackValue: "disableFeedbackValue";
2727
3340
  document: "document";
2728
3341
  documentDownload: "documentDownload";
2729
3342
  documentEmbed: "documentEmbed";
@@ -2743,11 +3356,11 @@ declare const NodeType: Readonly<{
2743
3356
  externalLink: "externalLink";
2744
3357
  externalLinkText: "externalLinkText";
2745
3358
  extraProperties: "extraProperties";
2746
- feedbacks: "feedbacks";
2747
- feedbacksValue: "feedbacksValue";
2748
3359
  feedback: "feedback";
2749
3360
  feedbackEngine: "feedbackEngine";
2750
3361
  feedbackEngineValue: "feedbackEngineValue";
3362
+ feedbacks: "feedbacks";
3363
+ feedbacksValue: "feedbacksValue";
2751
3364
  feedbackType: "feedbackType";
2752
3365
  flashcards: "flashcards";
2753
3366
  flashcardSet: "flashcardSet";
@@ -2764,12 +3377,14 @@ declare const NodeType: Readonly<{
2764
3377
  forValues: "forValues";
2765
3378
  forValuesValue: "forValuesValue";
2766
3379
  gap: "gap";
3380
+ groupTag: "groupTag";
3381
+ groupTagValue: "groupTagValue";
2767
3382
  handInAcceptFileType: "handInAcceptFileType";
2768
3383
  handInAcceptFileTypeValue: "handInAcceptFileTypeValue";
2769
- handInRequirement: "handInRequirement";
2770
- handInRequirementValue: "handInRequirementValue";
2771
3384
  handInInstruction: "handInInstruction";
2772
3385
  handInInstructionValue: "handInInstructionValue";
3386
+ handInRequirement: "handInRequirement";
3387
+ handInRequirementValue: "handInRequirementValue";
2773
3388
  hasBookNavigation: "hasBookNavigation";
2774
3389
  hasBookNavigationValue: "hasBookNavigationValue";
2775
3390
  hasMarkAsDone: "hasMarkAsDone";
@@ -2805,7 +3420,6 @@ declare const NodeType: Readonly<{
2805
3420
  isCaseSensitive: "isCaseSensitive";
2806
3421
  isCommented: "isCommented";
2807
3422
  isCorrect: "isCorrect";
2808
- __isDefaultExample: "__isDefaultExample";
2809
3423
  isExample: "isExample";
2810
3424
  isInfoOnly: "isInfoOnly";
2811
3425
  isInfoOnlyValue: "isInfoOnlyValue";
@@ -2813,9 +3427,9 @@ declare const NodeType: Readonly<{
2813
3427
  isPublic: "isPublic";
2814
3428
  isPublicValue: "isPublicValue";
2815
3429
  isTemplate: "isTemplate";
2816
- isTemplateValue: "isTemplateValue";
2817
3430
  isTemplateStripTheme: "isTemplateStripTheme";
2818
3431
  isTemplateStripThemeValue: "isTemplateStripThemeValue";
3432
+ isTemplateValue: "isTemplateValue";
2819
3433
  isTracked: "isTracked";
2820
3434
  isTrackedValue: "isTrackedValue";
2821
3435
  item: "item";
@@ -2839,9 +3453,9 @@ declare const NodeType: Readonly<{
2839
3453
  languageValue: "languageValue";
2840
3454
  langValue: "langValue";
2841
3455
  layer: "layer";
2842
- layerValue: "layerValue";
2843
3456
  layerRole: "layerRole";
2844
3457
  layerRoleValue: "layerRoleValue";
3458
+ layerValue: "layerValue";
2845
3459
  lead: "lead";
2846
3460
  level: "level";
2847
3461
  levelACTFL: "levelACTFL";
@@ -2878,10 +3492,6 @@ declare const NodeType: Readonly<{
2878
3492
  maxDisplayLevelValue: "maxDisplayLevelValue";
2879
3493
  maxTocChapterLevel: "maxTocChapterLevel";
2880
3494
  maxTocChapterLevelValue: "maxTocChapterLevelValue";
2881
- tocResource: "tocResource";
2882
- tocResourceValue: "tocResourceValue";
2883
- tocContent: "tocContent";
2884
- tocContentValue: "tocContentValue";
2885
3495
  message: "message";
2886
3496
  mockupId: "mockupId";
2887
3497
  name: "name";
@@ -2902,9 +3512,9 @@ declare const NodeType: Readonly<{
2902
3512
  parser: "parser";
2903
3513
  partialAnswer: "partialAnswer";
2904
3514
  partialAnswerValue: "partialAnswerValue";
2905
- person: "person";
2906
3515
  path: "path";
2907
3516
  pathValue: "pathValue";
3517
+ person: "person";
2908
3518
  pointerLeft: "pointerLeft";
2909
3519
  pointerLeftValue: "pointerLeftValue";
2910
3520
  pointerTop: "pointerTop";
@@ -2914,9 +3524,9 @@ declare const NodeType: Readonly<{
2914
3524
  postfix: "postfix";
2915
3525
  prefix: "prefix";
2916
3526
  processHandIn: "processHandIn";
2917
- processHandInValue: "processHandInValue";
2918
3527
  processHandInLocation: "processHandInLocation";
2919
3528
  processHandInLocationValue: "processHandInLocationValue";
3529
+ processHandInValue: "processHandInValue";
2920
3530
  product: "product";
2921
3531
  productFolder: "productFolder";
2922
3532
  productFolderValue: "productFolderValue";
@@ -2971,16 +3581,16 @@ declare const NodeType: Readonly<{
2971
3581
  referenceEnd: "referenceEnd";
2972
3582
  referenceProperty: "referenceProperty";
2973
3583
  referencePropertyValue: "referencePropertyValue";
2974
- refPublisher: "refPublisher";
2975
3584
  refPublicationYear: "refPublicationYear";
2976
- citationStyle: "citationStyle";
2977
- citationStyleValue: "citationStyleValue";
3585
+ refPublisher: "refPublisher";
2978
3586
  releaseDate: "releaseDate";
2979
3587
  releaseDateValue: "releaseDateValue";
2980
3588
  releaseKind: "releaseKind";
2981
3589
  releaseKindValue: "releaseKindValue";
2982
3590
  releaseVersion: "releaseVersion";
2983
3591
  releaseVersionValue: "releaseVersionValue";
3592
+ reportTag: "reportTag";
3593
+ reportTagValue: "reportTagValue";
2984
3594
  resolved: "resolved";
2985
3595
  resolvedBy: "resolvedBy";
2986
3596
  resolvedByValue: "resolvedByValue";
@@ -3000,9 +3610,9 @@ declare const NodeType: Readonly<{
3000
3610
  scormSource: "scormSource";
3001
3611
  scormSourceValue: "scormSourceValue";
3002
3612
  search: "search";
3003
- searchValue: "searchValue";
3004
3613
  searchIndex: "searchIndex";
3005
3614
  searchIndexValue: "searchIndexValue";
3615
+ searchValue: "searchValue";
3006
3616
  section: "section";
3007
3617
  select: "select";
3008
3618
  servings: "servings";
@@ -3041,6 +3651,8 @@ declare const NodeType: Readonly<{
3041
3651
  table: "table";
3042
3652
  tableAutoWidth: "tableAutoWidth";
3043
3653
  tableAutoWidthValue: "tableAutoWidthValue";
3654
+ tableColumnMinWidth: "tableColumnMinWidth";
3655
+ tableColumnMinWidthValue: "tableColumnMinWidthValue";
3044
3656
  tableFixedHeader: "tableFixedHeader";
3045
3657
  tableFixedHeaderValue: "tableFixedHeaderValue";
3046
3658
  tableHeaderWhitespaceNoWrap: "tableHeaderWhitespaceNoWrap";
@@ -3053,8 +3665,6 @@ declare const NodeType: Readonly<{
3053
3665
  tablePaginationValue: "tablePaginationValue";
3054
3666
  tableResizableColumns: "tableResizableColumns";
3055
3667
  tableResizableColumnsValue: "tableResizableColumnsValue";
3056
- tableColumnMinWidth: "tableColumnMinWidth";
3057
- tableColumnMinWidthValue: "tableColumnMinWidthValue";
3058
3668
  tableSearch: "tableSearch";
3059
3669
  tableSearchValue: "tableSearchValue";
3060
3670
  tableSort: "tableSort";
@@ -3085,12 +3695,15 @@ declare const NodeType: Readonly<{
3085
3695
  thumbnailsValue: "thumbnailsValue";
3086
3696
  title: "title";
3087
3697
  toc: "toc";
3698
+ tocContent: "tocContent";
3699
+ tocContentValue: "tocContentValue";
3700
+ tocResource: "tocResource";
3701
+ tocResourceValue: "tocResourceValue";
3088
3702
  tocValue: "tocValue";
3089
3703
  topicTag: "topicTag";
3090
3704
  topicTagValue: "topicTagValue";
3091
3705
  trim: "trim";
3092
3706
  type: "type";
3093
- __typeAlias: "__typeAlias";
3094
3707
  unit: "unit";
3095
3708
  unitAbbr: "unitAbbr";
3096
3709
  url: "url";
@@ -3121,6 +3734,8 @@ declare const NodeType: Readonly<{
3121
3734
  zoomDisabled: "zoomDisabled";
3122
3735
  }> & _ncoderz_superenum.EnumExtensions<EnumType<{
3123
3736
  unknown: "unknown";
3737
+ __isDefaultExample: "__isDefaultExample";
3738
+ __typeAlias: "__typeAlias";
3124
3739
  action: "action";
3125
3740
  actionValue: "actionValue";
3126
3741
  activityType: "activityType";
@@ -3167,7 +3782,6 @@ declare const NodeType: Readonly<{
3167
3782
  blockId: "blockId";
3168
3783
  blockIdValue: "blockIdValue";
3169
3784
  body: "body";
3170
- bodyValue: "bodyValue";
3171
3785
  bodyBit: "bodyBit";
3172
3786
  bodyBits: "bodyBits";
3173
3787
  bodyJson: "bodyJson";
@@ -3175,12 +3789,13 @@ declare const NodeType: Readonly<{
3175
3789
  bodyPartsValue: "bodyPartsValue";
3176
3790
  bodyPartText: "bodyPartText";
3177
3791
  bodyText: "bodyText";
3792
+ bodyValue: "bodyValue";
3178
3793
  book: "book";
3179
- bookValue: "bookValue";
3180
3794
  bookAlias: "bookAlias";
3181
3795
  bookAliasValue: "bookAliasValue";
3182
3796
  bookDiff: "bookDiff";
3183
3797
  bookDiffValue: "bookDiffValue";
3798
+ bookValue: "bookValue";
3184
3799
  bot: "bot";
3185
3800
  botResponses: "botResponses";
3186
3801
  botResponsesValue: "botResponsesValue";
@@ -3202,13 +3817,15 @@ declare const NodeType: Readonly<{
3202
3817
  cells: "cells";
3203
3818
  cellsValue: "cellsValue";
3204
3819
  chatWithBook: "chatWithBook";
3205
- chatWithBookValue: "chatWithBookValue";
3206
3820
  chatWithBookBrainKey: "chatWithBookBrainKey";
3207
3821
  chatWithBookBrainKeyValue: "chatWithBookBrainKeyValue";
3822
+ chatWithBookValue: "chatWithBookValue";
3208
3823
  checked: "checked";
3209
3824
  choice: "choice";
3210
3825
  choices: "choices";
3211
3826
  choicesValue: "choicesValue";
3827
+ citationStyle: "citationStyle";
3828
+ citationStyleValue: "citationStyleValue";
3212
3829
  class: "class";
3213
3830
  classification: "classification";
3214
3831
  classificationValue: "classificationValue";
@@ -3251,19 +3868,19 @@ declare const NodeType: Readonly<{
3251
3868
  definition: "definition";
3252
3869
  definitions: "definitions";
3253
3870
  definitionsValue: "definitionsValue";
3254
- disableCalculation: "disableCalculation";
3255
- disableFeedback: "disableFeedback";
3256
- disableFeedbackValue: "disableFeedbackValue";
3257
- diffTo: "diffTo";
3258
- diffToValue: "diffToValue";
3871
+ diffContext: "diffContext";
3872
+ diffContextValue: "diffContextValue";
3259
3873
  diffOp: "diffOp";
3260
3874
  diffOpValue: "diffOpValue";
3261
3875
  diffRef: "diffRef";
3262
3876
  diffRefValue: "diffRefValue";
3263
- diffContext: "diffContext";
3264
- diffContextValue: "diffContextValue";
3265
3877
  diffTime: "diffTime";
3266
3878
  diffTimeValue: "diffTimeValue";
3879
+ diffTo: "diffTo";
3880
+ diffToValue: "diffToValue";
3881
+ disableCalculation: "disableCalculation";
3882
+ disableFeedback: "disableFeedback";
3883
+ disableFeedbackValue: "disableFeedbackValue";
3267
3884
  document: "document";
3268
3885
  documentDownload: "documentDownload";
3269
3886
  documentEmbed: "documentEmbed";
@@ -3283,11 +3900,11 @@ declare const NodeType: Readonly<{
3283
3900
  externalLink: "externalLink";
3284
3901
  externalLinkText: "externalLinkText";
3285
3902
  extraProperties: "extraProperties";
3286
- feedbacks: "feedbacks";
3287
- feedbacksValue: "feedbacksValue";
3288
3903
  feedback: "feedback";
3289
3904
  feedbackEngine: "feedbackEngine";
3290
3905
  feedbackEngineValue: "feedbackEngineValue";
3906
+ feedbacks: "feedbacks";
3907
+ feedbacksValue: "feedbacksValue";
3291
3908
  feedbackType: "feedbackType";
3292
3909
  flashcards: "flashcards";
3293
3910
  flashcardSet: "flashcardSet";
@@ -3304,12 +3921,14 @@ declare const NodeType: Readonly<{
3304
3921
  forValues: "forValues";
3305
3922
  forValuesValue: "forValuesValue";
3306
3923
  gap: "gap";
3924
+ groupTag: "groupTag";
3925
+ groupTagValue: "groupTagValue";
3307
3926
  handInAcceptFileType: "handInAcceptFileType";
3308
3927
  handInAcceptFileTypeValue: "handInAcceptFileTypeValue";
3309
- handInRequirement: "handInRequirement";
3310
- handInRequirementValue: "handInRequirementValue";
3311
3928
  handInInstruction: "handInInstruction";
3312
3929
  handInInstructionValue: "handInInstructionValue";
3930
+ handInRequirement: "handInRequirement";
3931
+ handInRequirementValue: "handInRequirementValue";
3313
3932
  hasBookNavigation: "hasBookNavigation";
3314
3933
  hasBookNavigationValue: "hasBookNavigationValue";
3315
3934
  hasMarkAsDone: "hasMarkAsDone";
@@ -3345,7 +3964,6 @@ declare const NodeType: Readonly<{
3345
3964
  isCaseSensitive: "isCaseSensitive";
3346
3965
  isCommented: "isCommented";
3347
3966
  isCorrect: "isCorrect";
3348
- __isDefaultExample: "__isDefaultExample";
3349
3967
  isExample: "isExample";
3350
3968
  isInfoOnly: "isInfoOnly";
3351
3969
  isInfoOnlyValue: "isInfoOnlyValue";
@@ -3353,9 +3971,9 @@ declare const NodeType: Readonly<{
3353
3971
  isPublic: "isPublic";
3354
3972
  isPublicValue: "isPublicValue";
3355
3973
  isTemplate: "isTemplate";
3356
- isTemplateValue: "isTemplateValue";
3357
3974
  isTemplateStripTheme: "isTemplateStripTheme";
3358
3975
  isTemplateStripThemeValue: "isTemplateStripThemeValue";
3976
+ isTemplateValue: "isTemplateValue";
3359
3977
  isTracked: "isTracked";
3360
3978
  isTrackedValue: "isTrackedValue";
3361
3979
  item: "item";
@@ -3379,9 +3997,9 @@ declare const NodeType: Readonly<{
3379
3997
  languageValue: "languageValue";
3380
3998
  langValue: "langValue";
3381
3999
  layer: "layer";
3382
- layerValue: "layerValue";
3383
4000
  layerRole: "layerRole";
3384
4001
  layerRoleValue: "layerRoleValue";
4002
+ layerValue: "layerValue";
3385
4003
  lead: "lead";
3386
4004
  level: "level";
3387
4005
  levelACTFL: "levelACTFL";
@@ -3418,10 +4036,6 @@ declare const NodeType: Readonly<{
3418
4036
  maxDisplayLevelValue: "maxDisplayLevelValue";
3419
4037
  maxTocChapterLevel: "maxTocChapterLevel";
3420
4038
  maxTocChapterLevelValue: "maxTocChapterLevelValue";
3421
- tocResource: "tocResource";
3422
- tocResourceValue: "tocResourceValue";
3423
- tocContent: "tocContent";
3424
- tocContentValue: "tocContentValue";
3425
4039
  message: "message";
3426
4040
  mockupId: "mockupId";
3427
4041
  name: "name";
@@ -3442,9 +4056,9 @@ declare const NodeType: Readonly<{
3442
4056
  parser: "parser";
3443
4057
  partialAnswer: "partialAnswer";
3444
4058
  partialAnswerValue: "partialAnswerValue";
3445
- person: "person";
3446
4059
  path: "path";
3447
4060
  pathValue: "pathValue";
4061
+ person: "person";
3448
4062
  pointerLeft: "pointerLeft";
3449
4063
  pointerLeftValue: "pointerLeftValue";
3450
4064
  pointerTop: "pointerTop";
@@ -3454,9 +4068,9 @@ declare const NodeType: Readonly<{
3454
4068
  postfix: "postfix";
3455
4069
  prefix: "prefix";
3456
4070
  processHandIn: "processHandIn";
3457
- processHandInValue: "processHandInValue";
3458
4071
  processHandInLocation: "processHandInLocation";
3459
4072
  processHandInLocationValue: "processHandInLocationValue";
4073
+ processHandInValue: "processHandInValue";
3460
4074
  product: "product";
3461
4075
  productFolder: "productFolder";
3462
4076
  productFolderValue: "productFolderValue";
@@ -3511,16 +4125,16 @@ declare const NodeType: Readonly<{
3511
4125
  referenceEnd: "referenceEnd";
3512
4126
  referenceProperty: "referenceProperty";
3513
4127
  referencePropertyValue: "referencePropertyValue";
3514
- refPublisher: "refPublisher";
3515
4128
  refPublicationYear: "refPublicationYear";
3516
- citationStyle: "citationStyle";
3517
- citationStyleValue: "citationStyleValue";
4129
+ refPublisher: "refPublisher";
3518
4130
  releaseDate: "releaseDate";
3519
4131
  releaseDateValue: "releaseDateValue";
3520
4132
  releaseKind: "releaseKind";
3521
4133
  releaseKindValue: "releaseKindValue";
3522
4134
  releaseVersion: "releaseVersion";
3523
4135
  releaseVersionValue: "releaseVersionValue";
4136
+ reportTag: "reportTag";
4137
+ reportTagValue: "reportTagValue";
3524
4138
  resolved: "resolved";
3525
4139
  resolvedBy: "resolvedBy";
3526
4140
  resolvedByValue: "resolvedByValue";
@@ -3540,9 +4154,9 @@ declare const NodeType: Readonly<{
3540
4154
  scormSource: "scormSource";
3541
4155
  scormSourceValue: "scormSourceValue";
3542
4156
  search: "search";
3543
- searchValue: "searchValue";
3544
4157
  searchIndex: "searchIndex";
3545
4158
  searchIndexValue: "searchIndexValue";
4159
+ searchValue: "searchValue";
3546
4160
  section: "section";
3547
4161
  select: "select";
3548
4162
  servings: "servings";
@@ -3581,6 +4195,8 @@ declare const NodeType: Readonly<{
3581
4195
  table: "table";
3582
4196
  tableAutoWidth: "tableAutoWidth";
3583
4197
  tableAutoWidthValue: "tableAutoWidthValue";
4198
+ tableColumnMinWidth: "tableColumnMinWidth";
4199
+ tableColumnMinWidthValue: "tableColumnMinWidthValue";
3584
4200
  tableFixedHeader: "tableFixedHeader";
3585
4201
  tableFixedHeaderValue: "tableFixedHeaderValue";
3586
4202
  tableHeaderWhitespaceNoWrap: "tableHeaderWhitespaceNoWrap";
@@ -3593,8 +4209,6 @@ declare const NodeType: Readonly<{
3593
4209
  tablePaginationValue: "tablePaginationValue";
3594
4210
  tableResizableColumns: "tableResizableColumns";
3595
4211
  tableResizableColumnsValue: "tableResizableColumnsValue";
3596
- tableColumnMinWidth: "tableColumnMinWidth";
3597
- tableColumnMinWidthValue: "tableColumnMinWidthValue";
3598
4212
  tableSearch: "tableSearch";
3599
4213
  tableSearchValue: "tableSearchValue";
3600
4214
  tableSort: "tableSort";
@@ -3625,12 +4239,15 @@ declare const NodeType: Readonly<{
3625
4239
  thumbnailsValue: "thumbnailsValue";
3626
4240
  title: "title";
3627
4241
  toc: "toc";
4242
+ tocContent: "tocContent";
4243
+ tocContentValue: "tocContentValue";
4244
+ tocResource: "tocResource";
4245
+ tocResourceValue: "tocResourceValue";
3628
4246
  tocValue: "tocValue";
3629
4247
  topicTag: "topicTag";
3630
4248
  topicTagValue: "topicTagValue";
3631
4249
  trim: "trim";
3632
4250
  type: "type";
3633
- __typeAlias: "__typeAlias";
3634
4251
  unit: "unit";
3635
4252
  unitAbbr: "unitAbbr";
3636
4253
  url: "url";
@@ -3931,1326 +4548,257 @@ declare const Stage: {
3931
4548
  };
3932
4549
  type StageType = EnumType<typeof Stage>;
3933
4550
  type WriteCallback = (s: string) => void;
3934
- type BodyBitCallback = (bodyBit: BodyBitJson, index: number, route: NodeInfo[]) => string;
3935
- interface MediaAttributeOptions {
3936
- ignoreAttributes?: Set<string>;
3937
- }
3938
- /**
3939
- * Generate text from a bitmark text AST
3940
- */
3941
- declare class TextGenerator extends AstWalkerGenerator<TextAst, BreakscapedString> {
3942
- protected ast: Ast;
3943
- private bitmarkVersion;
3944
- private options;
3945
- private generateOptions;
3946
- private textFormat;
3947
- private textLocation;
3948
- private writerText;
3949
- private nodeIndex;
3950
- private currentIndent;
3951
- private prevIndent;
3952
- private indentationStringCache;
3953
- private inParagraph;
3954
- private inHeading;
3955
- private inCodeBlock;
3956
- private exitedCodeBlock;
3957
- private inBulletList;
3958
- private inInline;
3959
- private textDepth;
3960
- private placeholderIndex;
3961
- private placeholders;
3962
- private rootParagraphNodeContentIndex;
3963
- private previousRootParagraphContextType;
3964
- private inPreText;
3965
- private thisNodeIsPreText;
3966
- private preTextIndexTemp;
3967
- private havePreText;
3968
- private preTextIndex;
3969
- /**
3970
- * Generate text from a bitmark text AST
3971
- *
3972
- * @param bitmarkVersion - bitmark version, use null to use latest version
3973
- * @param options - text generation options
3974
- */
3975
- constructor(bitmarkVersion?: BitmarkVersionType, options?: TextOptions);
3976
- /**
3977
- * Generate text from a bitmark text AST
3978
- *
3979
- * @param ast bitmark text AST
3980
- */
3981
- generate(ast: TextAst, textFormat: TextFormatType, textLocation: TextLocationType, options?: GenerateOptions): Promise<BreakscapedString>;
3982
- /**
3983
- * Generate text from a bitmark text AST synchronously
3984
- *
3985
- * @param ast bitmark text AST
3986
- */
3987
- generateSync(ast: TextAst, textFormat: TextFormatType, textLocation: TextLocationType, options?: GenerateOptions): BreakscapedString;
3988
- getPlaceholders(): BodyBitsJson;
3989
- private resetState;
3990
- private walkAndWrite;
3991
- protected enter_textAstValue(node: NodeInfo, route: NodeInfo[]): void | false;
3992
- protected between_textAstValue(node: NodeInfo, left: NodeInfo, right: NodeInfo, route: NodeInfo[]): void | false;
3993
- protected exit_textAstValue(node: NodeInfo, route: NodeInfo[]): void | false;
3994
- protected enter_contentValue(node: NodeInfo, route: NodeInfo[]): void | false;
3995
- protected between_contentValue(node: NodeInfo, left: NodeInfo, right: NodeInfo, route: NodeInfo[]): void;
3996
- protected exit_contentValue(node: NodeInfo, route: NodeInfo[]): void | false;
3997
- protected enter_contentValueValue(node: NodeInfo, route: NodeInfo[]): void | false;
3998
- protected between_contentValueValue(node: NodeInfo, left: NodeInfo, right: NodeInfo, route: NodeInfo[]): void;
3999
- protected exit_contentValueValue(node: NodeInfo, route: NodeInfo[]): void | false;
4000
- protected handleEnterNode(node: TextNode, route: NodeInfo[]): void | false;
4001
- protected handleBetweenNode(node: TextNode, _left: NodeInfo, _right: NodeInfo, _route: NodeInfo[]): void;
4002
- protected handleExitNode(node: TextNode, _route: NodeInfo[]): void | false;
4003
- protected handleIndent(node: TextNode): void;
4004
- protected handleDedent(node: TextNode): void;
4005
- protected handleEnterContentValueNode(_node: NodeInfo, route: NodeInfo[]): void | false;
4006
- protected handleBetweenContentValueNode(_node: NodeInfo, left: NodeInfo, _right: NodeInfo, route: NodeInfo[]): void;
4007
- protected handleExitContentValueNode(_node: NodeInfo, route: NodeInfo[]): void | false;
4008
- private updatePreTextState;
4009
- protected handleEnterNodePreTextCheck(node: TextNode, route: NodeInfo[]): void;
4010
- /**
4011
- * Check if a text node has a link mark, and if so, return the href
4012
- *
4013
- * @param node the node to check for a link mark
4014
- * @returns the href, or false if no link mark
4015
- */
4016
- protected getLinkHref(node: TextNode): string | false;
4017
- /**
4018
- * Get the current indentation string
4019
- * @returns
4020
- */
4021
- protected getIndentationString(): string;
4022
- protected writeBodyBit(node: TextNode, route: NodeInfo[]): void;
4023
- protected writeText(node: TextNode): void;
4024
- /**
4025
- * Check if a node is a link node and if so and the node has only the link mark, and the link without the
4026
- * protocol is the same as the text, return true. Otherwise return false.
4027
- *
4028
- * @param node
4029
- * @returns true if a simple link, otherwise false
4030
- */
4031
- protected isSimpleLink(node: TextNode): boolean;
4032
- /**
4033
- * Get the link text if the node is a link, otherwise return false
4034
- *
4035
- * @param node
4036
- * @returns
4037
- */
4038
- protected getLinkText(node: TextNode): string | false;
4039
- /**
4040
- * If the existing written text ends with a half-mark, and the new text starts with the same half-mark, insert a
4041
- * breakscape ^ between them to break the sequence.
4042
- *
4043
- * Only applies to bitmark version > 2
4044
- *
4045
- * @param s
4046
- */
4047
- protected getInterTextBreakscape(s: string): string;
4048
- protected validateGenerateOptions(ast: TextNode[]): void;
4049
- /**
4050
- * Write the marks for the node.
4051
- *
4052
- * All marks need to be considered at once, because if there are multiple marks, they need to be written in
4053
- * a combined manner.
4054
- *
4055
- * e.g. if there are bold and italic marks, they need to be written as
4056
- *
4057
- * ==the text==|bold|italic|
4058
- * rather than
4059
- * **__the text__**
4060
- * or
4061
- * **__the text**__
4062
- *
4063
- * @param node the text node
4064
- * @param start true if starting (before) the text, false if ending (after) the text
4065
- */
4066
- protected writeMarks(node: TextNode, stage: StageType): void;
4067
- protected writeParagraph(node: TextNode): void;
4068
- protected writeHardBreak(_node: TextNode): void;
4069
- protected writeHeading(node: HeadingTextNode): void;
4070
- protected writeSection(node: SectionTextNode): void;
4071
- protected writeBullet(node: TextNode, route: NodeInfo[]): void;
4072
- protected writeImage(node: ImageTextNode | ImageInlineTextNode): void;
4073
- protected writeCodeBlock(node: CodeBlockTextNode): void;
4074
- protected writeLatex(node: LatexTextNode): void;
4075
- protected writeMarkTextWrapper(s: string): void;
4076
- protected writeInlineMark(mark: TextMark): void;
4077
- protected writeCommentMark(mark: CommentMark): void;
4078
- protected writeLinkMark(mark: LinkMark): void;
4079
- protected writeRefMark(mark: RefMark): void;
4080
- protected writeXRefMark(mark: XRefMark): void;
4081
- protected writeExtRefMark(mark: ExtRefMark): void;
4082
- protected writeFootnoteMark(_mark: FootnoteMark): void;
4083
- protected writeFootnoteStarMark(_mark: FootnoteMark): void;
4084
- protected writeSymbolMark(mark: SymbolMark): void;
4085
- protected writeInlineMarkStartEnd(): void;
4086
- protected writePlainTextDivider(): void;
4087
- protected writeString(s?: string): void;
4088
- protected writeNL(): void;
4089
- protected writeInlineDebug(key: string, state: {
4090
- open?: boolean;
4091
- close?: boolean;
4092
- single?: boolean;
4093
- }): void;
4094
- protected getMediaAttrs(mediaType: string, attrs: MediaAttributes, options?: MediaAttributeOptions): string | undefined;
4095
- protected breakscape(s: string, options: BreakscapeOptions$1): string;
4096
- protected getBitType(route: NodeInfo[]): BitTypeType | undefined;
4097
- /**
4098
- * Writes a string value to the output.
4099
- * @param value - The string value to be written.
4100
- */
4101
- write(value: string): this;
4102
- /**
4103
- * Writes a new line to the output. The line is indented automatically. The line is ended with the endOfLineString.
4104
- * @param value - The line to write. When omitted, only the endOfLineString is written.
4105
- */
4106
- writeLine(value?: string): this;
4107
- /**
4108
- * Writes a collection of lines to the output. Each line is indented automatically and ended with the endOfLineString.
4109
- * @param values - The lines to write.
4110
- * @param delimiter - An optional delimiter to be written at the end of each line, except for the last one.
4111
- */
4112
- writeLines(values: string[], delimiter?: string): this;
4113
- /**
4114
- * Writes a single whitespace character to the output.
4115
- */
4116
- writeWhiteSpace(): this;
4117
- }
4118
-
4119
- declare const ExampleType: Readonly<{
4120
- none: "none";
4121
- string: "string";
4122
- boolean: "boolean";
4123
- }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4124
- none: "none";
4125
- string: "string";
4126
- boolean: "boolean";
4127
- }>>;
4128
- type ExampleTypeType = EnumType<typeof ExampleType>;
4129
-
4130
- declare const Count: Readonly<{
4131
- infinity: "infinity";
4132
- }> & _ncoderz_superenum.EnumExtensions<"infinity">;
4133
- type CountType = EnumType<typeof Count> | number;
4134
-
4135
- declare const BitTagType: Readonly<{
4136
- tag: "tag";
4137
- property: "property";
4138
- resource: "resource";
4139
- group: "group";
4140
- }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4141
- tag: "tag";
4142
- property: "property";
4143
- resource: "resource";
4144
- group: "group";
4145
- }>>;
4146
- type BitTagTypeType = EnumType<typeof BitTagType>;
4147
-
4148
- declare const Tag: Readonly<{
4149
- tag_title: "#";
4150
- tag_anchor: "▼";
4151
- tag_reference: "►";
4152
- tag_property: "@";
4153
- tag_itemLead: "%";
4154
- tag_instruction: "!";
4155
- tag_hint: "?";
4156
- tag_true: "+";
4157
- tag_false: "-";
4158
- tag_sampleSolution: "$";
4159
- tag_gap: "_";
4160
- tag_mark: "=";
4161
- tag_resource: "&";
4162
- }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4163
- tag_title: "#";
4164
- tag_anchor: "▼";
4165
- tag_reference: "►";
4166
- tag_property: "@";
4167
- tag_itemLead: "%";
4168
- tag_instruction: "!";
4169
- tag_hint: "?";
4170
- tag_true: "+";
4171
- tag_false: "-";
4172
- tag_sampleSolution: "$";
4173
- tag_gap: "_";
4174
- tag_mark: "=";
4175
- tag_resource: "&";
4176
- }>>;
4177
- type TagType = EnumType<typeof Tag>;
4178
-
4179
- /**
4180
- * The key of the property in AST.
4181
- *
4182
- * Only keys that vary from the markup default are included.
4183
- */
4184
- declare const PropertyAstKey: Readonly<{
4185
- ast_isCaseSensitive: "isCaseSensitive";
4186
- ast_referenceProperty: "referenceProperty";
4187
- ast_markConfig: "markConfig";
4188
- ast_productList: "productList";
4189
- ast_productVideoList: "productVideoList";
4190
- }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4191
- ast_isCaseSensitive: "isCaseSensitive";
4192
- ast_referenceProperty: "referenceProperty";
4193
- ast_markConfig: "markConfig";
4194
- ast_productList: "productList";
4195
- ast_productVideoList: "productVideoList";
4196
- }>>;
4197
- type PropertyAstKeyType = EnumType<typeof PropertyAstKey>;
4198
-
4199
- /**
4200
- * The key of the property in JSON.
4201
- *
4202
- * Only keys that vary from the markup default are included.
4203
- */
4204
- declare const PropertyJsonKey: Readonly<{}> & _ncoderz_superenum.EnumExtensions<never>;
4205
- type PropertyJsonKeyType = EnumType<typeof PropertyJsonKey>;
4206
-
4207
- declare const PropertyTag: Readonly<{
4208
- tag_mark: "mark";
4209
- tag_reference: "reference";
4210
- tag_sampleSolution: "sampleSolution";
4211
- tag_title: "title";
4212
- action: "action";
4213
- activityType: "activityType";
4214
- additionalSolutions: "additionalSolutions";
4215
- ageRange: "ageRange";
4216
- aiGenerated: "aiGenerated";
4217
- analyticsTag: "analyticsTag";
4218
- allowedBit: "allowedBit";
4219
- allowSubtitles: "allowSubtitles";
4220
- alt: "alt";
4221
- altLangTag: "altLangTag";
4222
- author: "author";
4223
- autoplay: "autoplay";
4224
- availableClassifications: "availableClassifications";
4225
- blockId: "blockId";
4226
- book: "book";
4227
- bookAlias: "bookAlias";
4228
- bookDiff: "bookDiff";
4229
- bot: "bot";
4230
- bubbleTag: "bubbleTag";
4231
- buttonCaption: "buttonCaption";
4232
- callToActionUrl: "callToActionUrl";
4233
- caption: "caption";
4234
- categoryTag: "categoryTag";
4235
- chatWithBook: "chatWithBook";
4236
- chatWithBookBrainKey: "chatWithBookBrainKey";
4237
- citationStyle: "citationStyle";
4238
- classification: "classification";
4239
- codeLineNumbers: "codeLineNumbers";
4240
- codeMinimap: "codeMinimap";
4241
- color: "color";
4242
- colorTag: "colorTag";
4243
- computerLanguage: "computerLanguage";
4244
- content2Buy: "content2Buy";
4245
- copyright: "copyright";
4246
- coverColor: "coverColor";
4247
- coverImage: "coverImage";
4248
- customerExternalId: "customerExternalId";
4249
- customerId: "customerId";
4250
- date: "date";
4251
- dateEnd: "dateEnd";
4252
- decimalPlaces: "decimalPlaces";
4253
- deeplink: "deeplink";
4254
- disableCalculation: "disableCalculation";
4255
- disableFeedback: "disableFeedback";
4256
- diffTo: "diffTo";
4257
- diffOp: "diffOp";
4258
- diffRef: "diffRef";
4259
- diffContext: "diffContext";
4260
- diffTime: "diffTime";
4261
- duration: "duration";
4262
- emphasis: "emphasis";
4263
- example: "example";
4264
- externalId: "externalId";
4265
- externalLink: "externalLink";
4266
- externalLinkText: "externalLinkText";
4267
- feedbackEngine: "feedbackEngine";
4268
- feedbackType: "feedbackType";
4269
- flashcardSet: "flashcardSet";
4270
- focusX: "focusX";
4271
- focusY: "focusY";
4272
- format: "format";
4273
- handInAcceptFileType: "handInAcceptFileType";
4274
- handInRequirement: "handInRequirement";
4275
- handInInstruction: "handInInstruction";
4276
- hasBookNavigation: "hasBookNavigation";
4277
- hasMarkAsDone: "hasMarkAsDone";
4278
- height: "height";
4279
- icon: "icon";
4280
- iconTag: "iconTag";
4281
- id: "id";
4282
- imageFirst: "imageFirst";
4283
- imageSource: "imageSource";
4284
- index: "index";
4285
- internalComment: "internalComment";
4286
- isCaseSensitive: "isCaseSensitive";
4287
- isInfoOnly: "isInfoOnly";
4288
- isPublic: "isPublic";
4289
- isTemplate: "isTemplate";
4290
- isTemplateStripTheme: "isTemplateStripTheme";
4291
- isTracked: "isTracked";
4292
- jupyterExecutionCount: "jupyterExecutionCount";
4293
- jupyterId: "jupyterId";
4294
- kind: "kind";
4295
- label: "label";
4296
- labelFalse: "labelFalse";
4297
- labelTrue: "labelTrue";
4298
- lang: "lang";
4299
- language: "language";
4300
- layer: "layer";
4301
- layerRole: "layerRole";
4302
- levelCEFRp: "levelCEFRp";
4303
- levelCEFR: "levelCEFR";
4304
- levelILR: "levelILR";
4305
- levelACTFL: "levelACTFL";
4306
- license: "license";
4307
- list: "list";
4308
- listItemIndent: "listItemIndent";
4309
- location: "location";
4310
- machineTranslated: "machineTranslated";
4311
- mailingList: "mailingList";
4312
- markConfig: "markConfig";
4313
- maxCreatedBits: "maxCreatedBits";
4314
- maxDisplayLevel: "maxDisplayLevel";
4315
- maxTocChapterLevel: "maxTocChapterLevel";
4316
- mockupId: "mockupId";
4317
- mute: "mute";
4318
- padletId: "padletId";
4319
- pageNo: "pageNo";
4320
- partialAnswer: "partialAnswer";
4321
- partner: "partner";
4322
- person: "person";
4323
- path: "path";
4324
- pointerLeft: "pointerLeft";
4325
- pointerTop: "pointerTop";
4326
- posterImage: "posterImage";
4327
- page: "page";
4328
- processHandIn: "processHandIn";
4329
- processHandInLocation: "processHandInLocation";
4330
- product: "product";
4331
- productFolder: "productFolder";
4332
- productId: "productId";
4333
- productList: "productList";
4334
- productVideo: "productVideo";
4335
- productVideoList: "productVideoList";
4336
- progress: "progress";
4337
- property_mark: "property_mark";
4338
- property_reference: "property_reference";
4339
- property_sampleSolution: "property_sampleSolution";
4340
- property_title: "property_title";
4341
- publications: "publications";
4342
- publisher: "publisher";
4343
- publisherName: "publisherName";
4344
- quizCountItems: "quizCountItems";
4345
- quizStrikethroughSolutions: "quizStrikethroughSolutions";
4346
- quotedPerson: "quotedPerson";
4347
- ratingLevelEnd: "ratingLevelEnd";
4348
- ratingLevelSelected: "ratingLevelSelected";
4349
- ratingLevelStart: "ratingLevelStart";
4350
- reaction: "reaction";
4351
- reasonableNumOfChars: "reasonableNumOfChars";
4352
- reductionTag: "reductionTag";
4353
- refAuthor: "refAuthor";
4354
- refBookTitle: "refBookTitle";
4355
- refPublisher: "refPublisher";
4356
- refPublicationYear: "refPublicationYear";
4357
- releaseDate: "releaseDate";
4358
- releaseKind: "releaseKind";
4359
- releaseVersion: "releaseVersion";
4360
- resolved: "resolved";
4361
- resolvedBy: "resolvedBy";
4362
- resolvedDate: "resolvedDate";
4363
- revealSolutions: "revealSolutions";
4364
- scormSource: "scormSource";
4365
- search: "search";
4366
- searchIndex: "searchIndex";
4367
- servings: "servings";
4368
- showInIndex: "showInIndex";
4369
- showSubtitles: "showSubtitles";
4370
- siteName: "siteName";
4371
- size: "size";
4372
- slug: "slug";
4373
- spaceId: "spaceId";
4374
- src1x: "src1x";
4375
- src2x: "src2x";
4376
- src3x: "src3x";
4377
- src4x: "src4x";
4378
- stripePricingTableId: "stripePricingTableId";
4379
- stripePublishableKey: "stripePublishableKey";
4380
- subject: "subject";
4381
- subtype: "subtype";
4382
- tableAutoWidth: "tableAutoWidth";
4383
- tableFixedHeader: "tableFixedHeader";
4384
- tableHeaderWhitespaceNoWrap: "tableHeaderWhitespaceNoWrap";
4385
- tableHeight: "tableHeight";
4386
- tablePagination: "tablePagination";
4387
- tablePaginationLimit: "tablePaginationLimit";
4388
- tableResizableColumns: "tableResizableColumns";
4389
- tableColumnMinWidth: "tableColumnMinWidth";
4390
- tableSearch: "tableSearch";
4391
- tableSort: "tableSort";
4392
- tableWhitespaceNoWrap: "tableWhitespaceNoWrap";
4393
- tag: "tag";
4394
- target: "target";
4395
- technicalTerm: "technicalTerm";
4396
- textReference: "textReference";
4397
- theme: "theme";
4398
- thumbImage: "thumbImage";
4399
- toc: "toc";
4400
- tocResource: "tocResource";
4401
- tocContent: "tocContent";
4402
- topicTag: "topicTag";
4403
- trim: "trim";
4404
- unit: "unit";
4405
- unitAbbr: "unitAbbr";
4406
- vendorDashboardId: "vendorDashboardId";
4407
- vendorSurveyId: "vendorSurveyId";
4408
- vendorUrl: "vendorUrl";
4409
- videoCallLink: "videoCallLink";
4410
- width: "width";
4411
- x: "x";
4412
- y: "y";
4413
- zoomDisabled: "zoomDisabled";
4414
- }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4415
- tag_mark: "mark";
4416
- tag_reference: "reference";
4417
- tag_sampleSolution: "sampleSolution";
4418
- tag_title: "title";
4419
- action: "action";
4420
- activityType: "activityType";
4421
- additionalSolutions: "additionalSolutions";
4422
- ageRange: "ageRange";
4423
- aiGenerated: "aiGenerated";
4424
- analyticsTag: "analyticsTag";
4425
- allowedBit: "allowedBit";
4426
- allowSubtitles: "allowSubtitles";
4427
- alt: "alt";
4428
- altLangTag: "altLangTag";
4429
- author: "author";
4430
- autoplay: "autoplay";
4431
- availableClassifications: "availableClassifications";
4432
- blockId: "blockId";
4433
- book: "book";
4434
- bookAlias: "bookAlias";
4435
- bookDiff: "bookDiff";
4436
- bot: "bot";
4437
- bubbleTag: "bubbleTag";
4438
- buttonCaption: "buttonCaption";
4439
- callToActionUrl: "callToActionUrl";
4440
- caption: "caption";
4441
- categoryTag: "categoryTag";
4442
- chatWithBook: "chatWithBook";
4443
- chatWithBookBrainKey: "chatWithBookBrainKey";
4444
- citationStyle: "citationStyle";
4445
- classification: "classification";
4446
- codeLineNumbers: "codeLineNumbers";
4447
- codeMinimap: "codeMinimap";
4448
- color: "color";
4449
- colorTag: "colorTag";
4450
- computerLanguage: "computerLanguage";
4451
- content2Buy: "content2Buy";
4452
- copyright: "copyright";
4453
- coverColor: "coverColor";
4454
- coverImage: "coverImage";
4455
- customerExternalId: "customerExternalId";
4456
- customerId: "customerId";
4457
- date: "date";
4458
- dateEnd: "dateEnd";
4459
- decimalPlaces: "decimalPlaces";
4460
- deeplink: "deeplink";
4461
- disableCalculation: "disableCalculation";
4462
- disableFeedback: "disableFeedback";
4463
- diffTo: "diffTo";
4464
- diffOp: "diffOp";
4465
- diffRef: "diffRef";
4466
- diffContext: "diffContext";
4467
- diffTime: "diffTime";
4468
- duration: "duration";
4469
- emphasis: "emphasis";
4470
- example: "example";
4471
- externalId: "externalId";
4472
- externalLink: "externalLink";
4473
- externalLinkText: "externalLinkText";
4474
- feedbackEngine: "feedbackEngine";
4475
- feedbackType: "feedbackType";
4476
- flashcardSet: "flashcardSet";
4477
- focusX: "focusX";
4478
- focusY: "focusY";
4479
- format: "format";
4480
- handInAcceptFileType: "handInAcceptFileType";
4481
- handInRequirement: "handInRequirement";
4482
- handInInstruction: "handInInstruction";
4483
- hasBookNavigation: "hasBookNavigation";
4484
- hasMarkAsDone: "hasMarkAsDone";
4485
- height: "height";
4486
- icon: "icon";
4487
- iconTag: "iconTag";
4488
- id: "id";
4489
- imageFirst: "imageFirst";
4490
- imageSource: "imageSource";
4491
- index: "index";
4492
- internalComment: "internalComment";
4493
- isCaseSensitive: "isCaseSensitive";
4494
- isInfoOnly: "isInfoOnly";
4495
- isPublic: "isPublic";
4496
- isTemplate: "isTemplate";
4497
- isTemplateStripTheme: "isTemplateStripTheme";
4498
- isTracked: "isTracked";
4499
- jupyterExecutionCount: "jupyterExecutionCount";
4500
- jupyterId: "jupyterId";
4501
- kind: "kind";
4502
- label: "label";
4503
- labelFalse: "labelFalse";
4504
- labelTrue: "labelTrue";
4505
- lang: "lang";
4506
- language: "language";
4507
- layer: "layer";
4508
- layerRole: "layerRole";
4509
- levelCEFRp: "levelCEFRp";
4510
- levelCEFR: "levelCEFR";
4511
- levelILR: "levelILR";
4512
- levelACTFL: "levelACTFL";
4513
- license: "license";
4514
- list: "list";
4515
- listItemIndent: "listItemIndent";
4516
- location: "location";
4517
- machineTranslated: "machineTranslated";
4518
- mailingList: "mailingList";
4519
- markConfig: "markConfig";
4520
- maxCreatedBits: "maxCreatedBits";
4521
- maxDisplayLevel: "maxDisplayLevel";
4522
- maxTocChapterLevel: "maxTocChapterLevel";
4523
- mockupId: "mockupId";
4524
- mute: "mute";
4525
- padletId: "padletId";
4526
- pageNo: "pageNo";
4527
- partialAnswer: "partialAnswer";
4528
- partner: "partner";
4529
- person: "person";
4530
- path: "path";
4531
- pointerLeft: "pointerLeft";
4532
- pointerTop: "pointerTop";
4533
- posterImage: "posterImage";
4534
- page: "page";
4535
- processHandIn: "processHandIn";
4536
- processHandInLocation: "processHandInLocation";
4537
- product: "product";
4538
- productFolder: "productFolder";
4539
- productId: "productId";
4540
- productList: "productList";
4541
- productVideo: "productVideo";
4542
- productVideoList: "productVideoList";
4543
- progress: "progress";
4544
- property_mark: "property_mark";
4545
- property_reference: "property_reference";
4546
- property_sampleSolution: "property_sampleSolution";
4547
- property_title: "property_title";
4548
- publications: "publications";
4549
- publisher: "publisher";
4550
- publisherName: "publisherName";
4551
- quizCountItems: "quizCountItems";
4552
- quizStrikethroughSolutions: "quizStrikethroughSolutions";
4553
- quotedPerson: "quotedPerson";
4554
- ratingLevelEnd: "ratingLevelEnd";
4555
- ratingLevelSelected: "ratingLevelSelected";
4556
- ratingLevelStart: "ratingLevelStart";
4557
- reaction: "reaction";
4558
- reasonableNumOfChars: "reasonableNumOfChars";
4559
- reductionTag: "reductionTag";
4560
- refAuthor: "refAuthor";
4561
- refBookTitle: "refBookTitle";
4562
- refPublisher: "refPublisher";
4563
- refPublicationYear: "refPublicationYear";
4564
- releaseDate: "releaseDate";
4565
- releaseKind: "releaseKind";
4566
- releaseVersion: "releaseVersion";
4567
- resolved: "resolved";
4568
- resolvedBy: "resolvedBy";
4569
- resolvedDate: "resolvedDate";
4570
- revealSolutions: "revealSolutions";
4571
- scormSource: "scormSource";
4572
- search: "search";
4573
- searchIndex: "searchIndex";
4574
- servings: "servings";
4575
- showInIndex: "showInIndex";
4576
- showSubtitles: "showSubtitles";
4577
- siteName: "siteName";
4578
- size: "size";
4579
- slug: "slug";
4580
- spaceId: "spaceId";
4581
- src1x: "src1x";
4582
- src2x: "src2x";
4583
- src3x: "src3x";
4584
- src4x: "src4x";
4585
- stripePricingTableId: "stripePricingTableId";
4586
- stripePublishableKey: "stripePublishableKey";
4587
- subject: "subject";
4588
- subtype: "subtype";
4589
- tableAutoWidth: "tableAutoWidth";
4590
- tableFixedHeader: "tableFixedHeader";
4591
- tableHeaderWhitespaceNoWrap: "tableHeaderWhitespaceNoWrap";
4592
- tableHeight: "tableHeight";
4593
- tablePagination: "tablePagination";
4594
- tablePaginationLimit: "tablePaginationLimit";
4595
- tableResizableColumns: "tableResizableColumns";
4596
- tableColumnMinWidth: "tableColumnMinWidth";
4597
- tableSearch: "tableSearch";
4598
- tableSort: "tableSort";
4599
- tableWhitespaceNoWrap: "tableWhitespaceNoWrap";
4600
- tag: "tag";
4601
- target: "target";
4602
- technicalTerm: "technicalTerm";
4603
- textReference: "textReference";
4604
- theme: "theme";
4605
- thumbImage: "thumbImage";
4606
- toc: "toc";
4607
- tocResource: "tocResource";
4608
- tocContent: "tocContent";
4609
- topicTag: "topicTag";
4610
- trim: "trim";
4611
- unit: "unit";
4612
- unitAbbr: "unitAbbr";
4613
- vendorDashboardId: "vendorDashboardId";
4614
- vendorSurveyId: "vendorSurveyId";
4615
- vendorUrl: "vendorUrl";
4616
- videoCallLink: "videoCallLink";
4617
- width: "width";
4618
- x: "x";
4619
- y: "y";
4620
- zoomDisabled: "zoomDisabled";
4621
- }>>;
4622
- type PropertyTagType = EnumType<typeof PropertyTag>;
4623
-
4624
- declare const ResourceJsonKey: Readonly<{
4625
- imageResponsive: "imageResponsive";
4626
- imagePortrait: "imagePortrait";
4627
- imageLandscape: "imageLandscape";
4628
- imageEmbed: "imageEmbed";
4629
- imageLink: "imageLink";
4630
- audioEmbed: "audioEmbed";
4631
- audioLink: "audioLink";
4632
- videoEmbed: "videoEmbed";
4633
- videoLink: "videoLink";
4634
- stillImageFilm: "stillImageFilm";
4635
- stillImageFilmEmbed: "stillImageFilmEmbed";
4636
- stillImageFilmLink: "stillImageFilmLink";
4637
- articleEmbed: "articleEmbed";
4638
- articleLink: "articleLink";
4639
- documentEmbed: "documentEmbed";
4640
- documentLink: "documentLink";
4641
- documentDownload: "documentDownload";
4642
- appLink: "appLink";
4643
- websiteLink: "websiteLink";
4644
- }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4645
- imageResponsive: "imageResponsive";
4646
- imagePortrait: "imagePortrait";
4647
- imageLandscape: "imageLandscape";
4648
- imageEmbed: "imageEmbed";
4649
- imageLink: "imageLink";
4650
- audioEmbed: "audioEmbed";
4651
- audioLink: "audioLink";
4652
- videoEmbed: "videoEmbed";
4653
- videoLink: "videoLink";
4654
- stillImageFilm: "stillImageFilm";
4655
- stillImageFilmEmbed: "stillImageFilmEmbed";
4656
- stillImageFilmLink: "stillImageFilmLink";
4657
- articleEmbed: "articleEmbed";
4658
- articleLink: "articleLink";
4659
- documentEmbed: "documentEmbed";
4660
- documentLink: "documentLink";
4661
- documentDownload: "documentDownload";
4662
- appLink: "appLink";
4663
- websiteLink: "websiteLink";
4664
- }>>;
4665
- type ResourceJsonKeyType = EnumType<typeof ResourceJsonKey>;
4666
-
4667
- /**
4668
- * Combined bit config keys
4669
- */
4670
- declare const ConfigKey: Readonly<{
4671
- group_standardAllBits: "group_standardAllBits";
4672
- group_standardItemLeadInstructionHint: "group_standardItemLeadInstructionHint";
4673
- group_standardExample: "group_standardExample";
4674
- group_standardTags: "group_standardTags";
4675
- group_imageSource: "group_imageSource";
4676
- group_technicalTerm: "group_technicalTerm";
4677
- group_person: "group_person";
4678
- group_gap: "group_gap";
4679
- group_trueFalse: "group_trueFalse";
4680
- group_markConfig: "group_markConfig";
4681
- group_mark: "group_mark";
4682
- group_bookCommon: "group_bookCommon";
4683
- group_learningPathCommon: "group_learningPathCommon";
4684
- group_quizCommon: "group_quizCommon";
4685
- group_resourceBitTags: "group_resourceBitTags";
4686
- group_resourceCommon: "group_resourceCommon";
4687
- group_resourceImageCommon: "group_resourceImageCommon";
4688
- group_resourceAudioCommon: "group_resourceAudioCommon";
4689
- group_resourceVideoCommon: "group_resourceVideoCommon";
4690
- group_resourceIcon: "group_resourceIcon";
4691
- group_resourceImage: "group_resourceImage";
4692
- group_resourceImageEmbed: "group_resourceImageEmbed";
4693
- group_resourceImageLink: "group_resourceImageLink";
4694
- group_resourceImageResponsive: "group_resourceImageResponsive";
4695
- group_resourceImagePortrait: "group_resourceImagePortrait";
4696
- group_resourceImageLandscape: "group_resourceImageLandscape";
4697
- group_resourceAudio: "group_resourceAudio";
4698
- group_resourceAudioEmbed: "group_resourceAudioEmbed";
4699
- group_resourceAudioLink: "group_resourceAudioLink";
4700
- group_resourceVideo: "group_resourceVideo";
4701
- group_resourceVideoEmbed: "group_resourceVideoEmbed";
4702
- group_resourceVideoLink: "group_resourceVideoLink";
4703
- group_resourceStillImageFilm: "group_resourceStillImageFilm";
4704
- group_resourceStillImageFilmEmbed: "group_resourceStillImageFilmEmbed";
4705
- group_resourceStillImageFilmLink: "group_resourceStillImageFilmLink";
4706
- group_resourceArticle: "group_resourceArticle";
4707
- group_resourceArticleEmbed: "group_resourceArticleEmbed";
4708
- group_resourceArticleLink: "group_resourceArticleLink";
4709
- group_resourceDocument: "group_resourceDocument";
4710
- group_resourceDocumentEmbed: "group_resourceDocumentEmbed";
4711
- group_resourceDocumentLink: "group_resourceDocumentLink";
4712
- group_resourceDocumentDownload: "group_resourceDocumentDownload";
4713
- group_resourceAppLink: "group_resourceAppLink";
4714
- group_resourceWebsiteLink: "group_resourceWebsiteLink";
4715
- image: "image";
4716
- imagePortrait: "imagePortrait";
4717
- imageLandscape: "imageLandscape";
4718
- imageEmbed: "imageEmbed";
4719
- imageLink: "imageLink";
4720
- audio: "audio";
4721
- audioEmbed: "audioEmbed";
4722
- audioLink: "audioLink";
4723
- video: "video";
4724
- videoEmbed: "videoEmbed";
4725
- videoLink: "videoLink";
4726
- stillImageFilmEmbed: "stillImageFilmEmbed";
4727
- stillImageFilmLink: "stillImageFilmLink";
4728
- article: "article";
4729
- articleEmbed: "articleEmbed";
4730
- articleLink: "articleLink";
4731
- document: "document";
4732
- documentEmbed: "documentEmbed";
4733
- documentLink: "documentLink";
4734
- documentDownload: "documentDownload";
4735
- appLink: "appLink";
4736
- websiteLink: "websiteLink";
4737
- icon: "icon";
4738
- backgroundWallpaper: "backgroundWallpaper";
4739
- imagePlaceholder: "imagePlaceholder";
4740
- action: "action";
4741
- activityType: "activityType";
4742
- additionalSolutions: "additionalSolutions";
4743
- ageRange: "ageRange";
4744
- aiGenerated: "aiGenerated";
4745
- analyticsTag: "analyticsTag";
4746
- allowedBit: "allowedBit";
4747
- allowSubtitles: "allowSubtitles";
4748
- alt: "alt";
4749
- altLangTag: "altLangTag";
4750
- author: "author";
4751
- autoplay: "autoplay";
4752
- availableClassifications: "availableClassifications";
4753
- blockId: "blockId";
4754
- book: "book";
4755
- bookAlias: "bookAlias";
4756
- bookDiff: "bookDiff";
4757
- bot: "bot";
4758
- bubbleTag: "bubbleTag";
4759
- buttonCaption: "buttonCaption";
4760
- callToActionUrl: "callToActionUrl";
4761
- caption: "caption";
4762
- categoryTag: "categoryTag";
4763
- chatWithBook: "chatWithBook";
4764
- chatWithBookBrainKey: "chatWithBookBrainKey";
4765
- citationStyle: "citationStyle";
4766
- classification: "classification";
4767
- codeLineNumbers: "codeLineNumbers";
4768
- codeMinimap: "codeMinimap";
4769
- color: "color";
4770
- colorTag: "colorTag";
4771
- computerLanguage: "computerLanguage";
4772
- content2Buy: "content2Buy";
4773
- copyright: "copyright";
4774
- coverColor: "coverColor";
4775
- coverImage: "coverImage";
4776
- customerExternalId: "customerExternalId";
4777
- customerId: "customerId";
4778
- date: "date";
4779
- dateEnd: "dateEnd";
4780
- decimalPlaces: "decimalPlaces";
4781
- deeplink: "deeplink";
4782
- disableCalculation: "disableCalculation";
4783
- disableFeedback: "disableFeedback";
4784
- diffTo: "diffTo";
4785
- diffOp: "diffOp";
4786
- diffRef: "diffRef";
4787
- diffContext: "diffContext";
4788
- diffTime: "diffTime";
4789
- duration: "duration";
4790
- emphasis: "emphasis";
4791
- example: "example";
4792
- externalId: "externalId";
4793
- externalLink: "externalLink";
4794
- externalLinkText: "externalLinkText";
4795
- feedbackEngine: "feedbackEngine";
4796
- feedbackType: "feedbackType";
4797
- flashcardSet: "flashcardSet";
4798
- focusX: "focusX";
4799
- focusY: "focusY";
4800
- format: "format";
4801
- handInAcceptFileType: "handInAcceptFileType";
4802
- handInRequirement: "handInRequirement";
4803
- handInInstruction: "handInInstruction";
4804
- hasBookNavigation: "hasBookNavigation";
4805
- hasMarkAsDone: "hasMarkAsDone";
4806
- height: "height";
4807
- iconTag: "iconTag";
4808
- id: "id";
4809
- imageFirst: "imageFirst";
4810
- imageSource: "imageSource";
4811
- index: "index";
4812
- internalComment: "internalComment";
4813
- isCaseSensitive: "isCaseSensitive";
4814
- isInfoOnly: "isInfoOnly";
4815
- isPublic: "isPublic";
4816
- isTemplate: "isTemplate";
4817
- isTemplateStripTheme: "isTemplateStripTheme";
4818
- isTracked: "isTracked";
4819
- jupyterExecutionCount: "jupyterExecutionCount";
4820
- jupyterId: "jupyterId";
4821
- kind: "kind";
4822
- label: "label";
4823
- labelFalse: "labelFalse";
4824
- labelTrue: "labelTrue";
4825
- lang: "lang";
4826
- language: "language";
4827
- layer: "layer";
4828
- layerRole: "layerRole";
4829
- levelCEFRp: "levelCEFRp";
4830
- levelCEFR: "levelCEFR";
4831
- levelILR: "levelILR";
4832
- levelACTFL: "levelACTFL";
4833
- license: "license";
4834
- list: "list";
4835
- listItemIndent: "listItemIndent";
4836
- location: "location";
4837
- machineTranslated: "machineTranslated";
4838
- mailingList: "mailingList";
4839
- markConfig: "markConfig";
4840
- maxCreatedBits: "maxCreatedBits";
4841
- maxDisplayLevel: "maxDisplayLevel";
4842
- maxTocChapterLevel: "maxTocChapterLevel";
4843
- mockupId: "mockupId";
4844
- mute: "mute";
4845
- padletId: "padletId";
4846
- pageNo: "pageNo";
4847
- partialAnswer: "partialAnswer";
4848
- partner: "partner";
4849
- person: "person";
4850
- path: "path";
4851
- pointerLeft: "pointerLeft";
4852
- pointerTop: "pointerTop";
4853
- posterImage: "posterImage";
4854
- page: "page";
4855
- processHandIn: "processHandIn";
4856
- processHandInLocation: "processHandInLocation";
4857
- product: "product";
4858
- productFolder: "productFolder";
4859
- productId: "productId";
4860
- productList: "productList";
4861
- productVideo: "productVideo";
4862
- productVideoList: "productVideoList";
4863
- progress: "progress";
4864
- property_mark: "property_mark";
4865
- property_reference: "property_reference";
4866
- property_sampleSolution: "property_sampleSolution";
4867
- property_title: "property_title";
4868
- publications: "publications";
4869
- publisher: "publisher";
4870
- publisherName: "publisherName";
4871
- quizCountItems: "quizCountItems";
4872
- quizStrikethroughSolutions: "quizStrikethroughSolutions";
4873
- quotedPerson: "quotedPerson";
4874
- ratingLevelEnd: "ratingLevelEnd";
4875
- ratingLevelSelected: "ratingLevelSelected";
4876
- ratingLevelStart: "ratingLevelStart";
4877
- reaction: "reaction";
4878
- reasonableNumOfChars: "reasonableNumOfChars";
4879
- reductionTag: "reductionTag";
4880
- refAuthor: "refAuthor";
4881
- refBookTitle: "refBookTitle";
4882
- refPublisher: "refPublisher";
4883
- refPublicationYear: "refPublicationYear";
4884
- releaseDate: "releaseDate";
4885
- releaseKind: "releaseKind";
4886
- releaseVersion: "releaseVersion";
4887
- resolved: "resolved";
4888
- resolvedBy: "resolvedBy";
4889
- resolvedDate: "resolvedDate";
4890
- revealSolutions: "revealSolutions";
4891
- scormSource: "scormSource";
4892
- search: "search";
4893
- searchIndex: "searchIndex";
4894
- servings: "servings";
4895
- showInIndex: "showInIndex";
4896
- showSubtitles: "showSubtitles";
4897
- siteName: "siteName";
4898
- size: "size";
4899
- slug: "slug";
4900
- spaceId: "spaceId";
4901
- src1x: "src1x";
4902
- src2x: "src2x";
4903
- src3x: "src3x";
4904
- src4x: "src4x";
4905
- stripePricingTableId: "stripePricingTableId";
4906
- stripePublishableKey: "stripePublishableKey";
4907
- subject: "subject";
4908
- subtype: "subtype";
4909
- tableAutoWidth: "tableAutoWidth";
4910
- tableFixedHeader: "tableFixedHeader";
4911
- tableHeaderWhitespaceNoWrap: "tableHeaderWhitespaceNoWrap";
4912
- tableHeight: "tableHeight";
4913
- tablePagination: "tablePagination";
4914
- tablePaginationLimit: "tablePaginationLimit";
4915
- tableResizableColumns: "tableResizableColumns";
4916
- tableColumnMinWidth: "tableColumnMinWidth";
4917
- tableSearch: "tableSearch";
4918
- tableSort: "tableSort";
4919
- tableWhitespaceNoWrap: "tableWhitespaceNoWrap";
4920
- tag: "tag";
4921
- target: "target";
4922
- technicalTerm: "technicalTerm";
4923
- textReference: "textReference";
4924
- theme: "theme";
4925
- thumbImage: "thumbImage";
4926
- toc: "toc";
4927
- tocResource: "tocResource";
4928
- tocContent: "tocContent";
4929
- topicTag: "topicTag";
4930
- trim: "trim";
4931
- unit: "unit";
4932
- unitAbbr: "unitAbbr";
4933
- vendorDashboardId: "vendorDashboardId";
4934
- vendorSurveyId: "vendorSurveyId";
4935
- vendorUrl: "vendorUrl";
4936
- videoCallLink: "videoCallLink";
4937
- width: "width";
4938
- x: "x";
4939
- y: "y";
4940
- zoomDisabled: "zoomDisabled";
4941
- title: "title";
4942
- anchor: "anchor";
4943
- tag_reference: "tag_reference";
4944
- property: "property";
4945
- itemLead: "itemLead";
4946
- instruction: "instruction";
4947
- hint: "hint";
4948
- true: "true";
4949
- false: "false";
4950
- sampleSolution: "sampleSolution";
4951
- gap: "gap";
4952
- tag_mark: "tag_mark";
4953
- resource: "resource";
4954
- _unknown: "_unknown";
4955
- }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4956
- group_standardAllBits: "group_standardAllBits";
4957
- group_standardItemLeadInstructionHint: "group_standardItemLeadInstructionHint";
4958
- group_standardExample: "group_standardExample";
4959
- group_standardTags: "group_standardTags";
4960
- group_imageSource: "group_imageSource";
4961
- group_technicalTerm: "group_technicalTerm";
4962
- group_person: "group_person";
4963
- group_gap: "group_gap";
4964
- group_trueFalse: "group_trueFalse";
4965
- group_markConfig: "group_markConfig";
4966
- group_mark: "group_mark";
4967
- group_bookCommon: "group_bookCommon";
4968
- group_learningPathCommon: "group_learningPathCommon";
4969
- group_quizCommon: "group_quizCommon";
4970
- group_resourceBitTags: "group_resourceBitTags";
4971
- group_resourceCommon: "group_resourceCommon";
4972
- group_resourceImageCommon: "group_resourceImageCommon";
4973
- group_resourceAudioCommon: "group_resourceAudioCommon";
4974
- group_resourceVideoCommon: "group_resourceVideoCommon";
4975
- group_resourceIcon: "group_resourceIcon";
4976
- group_resourceImage: "group_resourceImage";
4977
- group_resourceImageEmbed: "group_resourceImageEmbed";
4978
- group_resourceImageLink: "group_resourceImageLink";
4979
- group_resourceImageResponsive: "group_resourceImageResponsive";
4980
- group_resourceImagePortrait: "group_resourceImagePortrait";
4981
- group_resourceImageLandscape: "group_resourceImageLandscape";
4982
- group_resourceAudio: "group_resourceAudio";
4983
- group_resourceAudioEmbed: "group_resourceAudioEmbed";
4984
- group_resourceAudioLink: "group_resourceAudioLink";
4985
- group_resourceVideo: "group_resourceVideo";
4986
- group_resourceVideoEmbed: "group_resourceVideoEmbed";
4987
- group_resourceVideoLink: "group_resourceVideoLink";
4988
- group_resourceStillImageFilm: "group_resourceStillImageFilm";
4989
- group_resourceStillImageFilmEmbed: "group_resourceStillImageFilmEmbed";
4990
- group_resourceStillImageFilmLink: "group_resourceStillImageFilmLink";
4991
- group_resourceArticle: "group_resourceArticle";
4992
- group_resourceArticleEmbed: "group_resourceArticleEmbed";
4993
- group_resourceArticleLink: "group_resourceArticleLink";
4994
- group_resourceDocument: "group_resourceDocument";
4995
- group_resourceDocumentEmbed: "group_resourceDocumentEmbed";
4996
- group_resourceDocumentLink: "group_resourceDocumentLink";
4997
- group_resourceDocumentDownload: "group_resourceDocumentDownload";
4998
- group_resourceAppLink: "group_resourceAppLink";
4999
- group_resourceWebsiteLink: "group_resourceWebsiteLink";
5000
- image: "image";
5001
- imagePortrait: "imagePortrait";
5002
- imageLandscape: "imageLandscape";
5003
- imageEmbed: "imageEmbed";
5004
- imageLink: "imageLink";
5005
- audio: "audio";
5006
- audioEmbed: "audioEmbed";
5007
- audioLink: "audioLink";
5008
- video: "video";
5009
- videoEmbed: "videoEmbed";
5010
- videoLink: "videoLink";
5011
- stillImageFilmEmbed: "stillImageFilmEmbed";
5012
- stillImageFilmLink: "stillImageFilmLink";
5013
- article: "article";
5014
- articleEmbed: "articleEmbed";
5015
- articleLink: "articleLink";
5016
- document: "document";
5017
- documentEmbed: "documentEmbed";
5018
- documentLink: "documentLink";
5019
- documentDownload: "documentDownload";
5020
- appLink: "appLink";
5021
- websiteLink: "websiteLink";
5022
- icon: "icon";
5023
- backgroundWallpaper: "backgroundWallpaper";
5024
- imagePlaceholder: "imagePlaceholder";
5025
- action: "action";
5026
- activityType: "activityType";
5027
- additionalSolutions: "additionalSolutions";
5028
- ageRange: "ageRange";
5029
- aiGenerated: "aiGenerated";
5030
- analyticsTag: "analyticsTag";
5031
- allowedBit: "allowedBit";
5032
- allowSubtitles: "allowSubtitles";
5033
- alt: "alt";
5034
- altLangTag: "altLangTag";
5035
- author: "author";
5036
- autoplay: "autoplay";
5037
- availableClassifications: "availableClassifications";
5038
- blockId: "blockId";
5039
- book: "book";
5040
- bookAlias: "bookAlias";
5041
- bookDiff: "bookDiff";
5042
- bot: "bot";
5043
- bubbleTag: "bubbleTag";
5044
- buttonCaption: "buttonCaption";
5045
- callToActionUrl: "callToActionUrl";
5046
- caption: "caption";
5047
- categoryTag: "categoryTag";
5048
- chatWithBook: "chatWithBook";
5049
- chatWithBookBrainKey: "chatWithBookBrainKey";
5050
- citationStyle: "citationStyle";
5051
- classification: "classification";
5052
- codeLineNumbers: "codeLineNumbers";
5053
- codeMinimap: "codeMinimap";
5054
- color: "color";
5055
- colorTag: "colorTag";
5056
- computerLanguage: "computerLanguage";
5057
- content2Buy: "content2Buy";
5058
- copyright: "copyright";
5059
- coverColor: "coverColor";
5060
- coverImage: "coverImage";
5061
- customerExternalId: "customerExternalId";
5062
- customerId: "customerId";
5063
- date: "date";
5064
- dateEnd: "dateEnd";
5065
- decimalPlaces: "decimalPlaces";
5066
- deeplink: "deeplink";
5067
- disableCalculation: "disableCalculation";
5068
- disableFeedback: "disableFeedback";
5069
- diffTo: "diffTo";
5070
- diffOp: "diffOp";
5071
- diffRef: "diffRef";
5072
- diffContext: "diffContext";
5073
- diffTime: "diffTime";
5074
- duration: "duration";
5075
- emphasis: "emphasis";
5076
- example: "example";
5077
- externalId: "externalId";
5078
- externalLink: "externalLink";
5079
- externalLinkText: "externalLinkText";
5080
- feedbackEngine: "feedbackEngine";
5081
- feedbackType: "feedbackType";
5082
- flashcardSet: "flashcardSet";
5083
- focusX: "focusX";
5084
- focusY: "focusY";
5085
- format: "format";
5086
- handInAcceptFileType: "handInAcceptFileType";
5087
- handInRequirement: "handInRequirement";
5088
- handInInstruction: "handInInstruction";
5089
- hasBookNavigation: "hasBookNavigation";
5090
- hasMarkAsDone: "hasMarkAsDone";
5091
- height: "height";
5092
- iconTag: "iconTag";
5093
- id: "id";
5094
- imageFirst: "imageFirst";
5095
- imageSource: "imageSource";
5096
- index: "index";
5097
- internalComment: "internalComment";
5098
- isCaseSensitive: "isCaseSensitive";
5099
- isInfoOnly: "isInfoOnly";
5100
- isPublic: "isPublic";
5101
- isTemplate: "isTemplate";
5102
- isTemplateStripTheme: "isTemplateStripTheme";
5103
- isTracked: "isTracked";
5104
- jupyterExecutionCount: "jupyterExecutionCount";
5105
- jupyterId: "jupyterId";
5106
- kind: "kind";
5107
- label: "label";
5108
- labelFalse: "labelFalse";
5109
- labelTrue: "labelTrue";
5110
- lang: "lang";
5111
- language: "language";
5112
- layer: "layer";
5113
- layerRole: "layerRole";
5114
- levelCEFRp: "levelCEFRp";
5115
- levelCEFR: "levelCEFR";
5116
- levelILR: "levelILR";
5117
- levelACTFL: "levelACTFL";
5118
- license: "license";
5119
- list: "list";
5120
- listItemIndent: "listItemIndent";
5121
- location: "location";
5122
- machineTranslated: "machineTranslated";
5123
- mailingList: "mailingList";
5124
- markConfig: "markConfig";
5125
- maxCreatedBits: "maxCreatedBits";
5126
- maxDisplayLevel: "maxDisplayLevel";
5127
- maxTocChapterLevel: "maxTocChapterLevel";
5128
- mockupId: "mockupId";
5129
- mute: "mute";
5130
- padletId: "padletId";
5131
- pageNo: "pageNo";
5132
- partialAnswer: "partialAnswer";
5133
- partner: "partner";
5134
- person: "person";
5135
- path: "path";
5136
- pointerLeft: "pointerLeft";
5137
- pointerTop: "pointerTop";
5138
- posterImage: "posterImage";
5139
- page: "page";
5140
- processHandIn: "processHandIn";
5141
- processHandInLocation: "processHandInLocation";
5142
- product: "product";
5143
- productFolder: "productFolder";
5144
- productId: "productId";
5145
- productList: "productList";
5146
- productVideo: "productVideo";
5147
- productVideoList: "productVideoList";
5148
- progress: "progress";
5149
- property_mark: "property_mark";
5150
- property_reference: "property_reference";
5151
- property_sampleSolution: "property_sampleSolution";
5152
- property_title: "property_title";
5153
- publications: "publications";
5154
- publisher: "publisher";
5155
- publisherName: "publisherName";
5156
- quizCountItems: "quizCountItems";
5157
- quizStrikethroughSolutions: "quizStrikethroughSolutions";
5158
- quotedPerson: "quotedPerson";
5159
- ratingLevelEnd: "ratingLevelEnd";
5160
- ratingLevelSelected: "ratingLevelSelected";
5161
- ratingLevelStart: "ratingLevelStart";
5162
- reaction: "reaction";
5163
- reasonableNumOfChars: "reasonableNumOfChars";
5164
- reductionTag: "reductionTag";
5165
- refAuthor: "refAuthor";
5166
- refBookTitle: "refBookTitle";
5167
- refPublisher: "refPublisher";
5168
- refPublicationYear: "refPublicationYear";
5169
- releaseDate: "releaseDate";
5170
- releaseKind: "releaseKind";
5171
- releaseVersion: "releaseVersion";
5172
- resolved: "resolved";
5173
- resolvedBy: "resolvedBy";
5174
- resolvedDate: "resolvedDate";
5175
- revealSolutions: "revealSolutions";
5176
- scormSource: "scormSource";
5177
- search: "search";
5178
- searchIndex: "searchIndex";
5179
- servings: "servings";
5180
- showInIndex: "showInIndex";
5181
- showSubtitles: "showSubtitles";
5182
- siteName: "siteName";
5183
- size: "size";
5184
- slug: "slug";
5185
- spaceId: "spaceId";
5186
- src1x: "src1x";
5187
- src2x: "src2x";
5188
- src3x: "src3x";
5189
- src4x: "src4x";
5190
- stripePricingTableId: "stripePricingTableId";
5191
- stripePublishableKey: "stripePublishableKey";
5192
- subject: "subject";
5193
- subtype: "subtype";
5194
- tableAutoWidth: "tableAutoWidth";
5195
- tableFixedHeader: "tableFixedHeader";
5196
- tableHeaderWhitespaceNoWrap: "tableHeaderWhitespaceNoWrap";
5197
- tableHeight: "tableHeight";
5198
- tablePagination: "tablePagination";
5199
- tablePaginationLimit: "tablePaginationLimit";
5200
- tableResizableColumns: "tableResizableColumns";
5201
- tableColumnMinWidth: "tableColumnMinWidth";
5202
- tableSearch: "tableSearch";
5203
- tableSort: "tableSort";
5204
- tableWhitespaceNoWrap: "tableWhitespaceNoWrap";
5205
- tag: "tag";
5206
- target: "target";
5207
- technicalTerm: "technicalTerm";
5208
- textReference: "textReference";
5209
- theme: "theme";
5210
- thumbImage: "thumbImage";
5211
- toc: "toc";
5212
- tocResource: "tocResource";
5213
- tocContent: "tocContent";
5214
- topicTag: "topicTag";
5215
- trim: "trim";
5216
- unit: "unit";
5217
- unitAbbr: "unitAbbr";
5218
- vendorDashboardId: "vendorDashboardId";
5219
- vendorSurveyId: "vendorSurveyId";
5220
- vendorUrl: "vendorUrl";
5221
- videoCallLink: "videoCallLink";
5222
- width: "width";
5223
- x: "x";
5224
- y: "y";
5225
- zoomDisabled: "zoomDisabled";
5226
- title: "title";
5227
- anchor: "anchor";
5228
- tag_reference: "tag_reference";
5229
- property: "property";
5230
- itemLead: "itemLead";
5231
- instruction: "instruction";
5232
- hint: "hint";
5233
- true: "true";
5234
- false: "false";
5235
- sampleSolution: "sampleSolution";
5236
- gap: "gap";
5237
- tag_mark: "tag_mark";
5238
- resource: "resource";
5239
- _unknown: "_unknown";
4551
+ type BodyBitCallback = (bodyBit: BodyBitJson, index: number, route: NodeInfo[]) => string;
4552
+ interface MediaAttributeOptions {
4553
+ ignoreAttributes?: Set<string>;
4554
+ }
4555
+ /**
4556
+ * Generate text from a bitmark text AST
4557
+ */
4558
+ declare class TextGenerator extends AstWalkerGenerator<TextAst, BreakscapedString> {
4559
+ protected ast: Ast;
4560
+ private bitmarkVersion;
4561
+ private options;
4562
+ private generateOptions;
4563
+ private textFormat;
4564
+ private textLocation;
4565
+ private writerText;
4566
+ private nodeIndex;
4567
+ private currentIndent;
4568
+ private prevIndent;
4569
+ private indentationStringCache;
4570
+ private inParagraph;
4571
+ private inHeading;
4572
+ private inCodeBlock;
4573
+ private exitedCodeBlock;
4574
+ private inBulletList;
4575
+ private inInline;
4576
+ private textDepth;
4577
+ private placeholderIndex;
4578
+ private placeholders;
4579
+ private rootParagraphNodeContentIndex;
4580
+ private previousRootParagraphContextType;
4581
+ private inPreText;
4582
+ private thisNodeIsPreText;
4583
+ private preTextIndexTemp;
4584
+ private havePreText;
4585
+ private preTextIndex;
4586
+ /**
4587
+ * Generate text from a bitmark text AST
4588
+ *
4589
+ * @param bitmarkVersion - bitmark version, use null to use latest version
4590
+ * @param options - text generation options
4591
+ */
4592
+ constructor(bitmarkVersion?: BitmarkVersionType, options?: TextOptions);
4593
+ /**
4594
+ * Generate text from a bitmark text AST
4595
+ *
4596
+ * @param ast bitmark text AST
4597
+ */
4598
+ generate(ast: TextAst, textFormat: TextFormatType, textLocation: TextLocationType, options?: GenerateOptions): Promise<BreakscapedString>;
4599
+ /**
4600
+ * Generate text from a bitmark text AST synchronously
4601
+ *
4602
+ * @param ast bitmark text AST
4603
+ */
4604
+ generateSync(ast: TextAst, textFormat: TextFormatType, textLocation: TextLocationType, options?: GenerateOptions): BreakscapedString;
4605
+ getPlaceholders(): BodyBitsJson;
4606
+ private resetState;
4607
+ private walkAndWrite;
4608
+ protected enter_textAstValue(node: NodeInfo, route: NodeInfo[]): void | false;
4609
+ protected between_textAstValue(node: NodeInfo, left: NodeInfo, right: NodeInfo, route: NodeInfo[]): void | false;
4610
+ protected exit_textAstValue(node: NodeInfo, route: NodeInfo[]): void | false;
4611
+ protected enter_contentValue(node: NodeInfo, route: NodeInfo[]): void | false;
4612
+ protected between_contentValue(node: NodeInfo, left: NodeInfo, right: NodeInfo, route: NodeInfo[]): void;
4613
+ protected exit_contentValue(node: NodeInfo, route: NodeInfo[]): void | false;
4614
+ protected enter_contentValueValue(node: NodeInfo, route: NodeInfo[]): void | false;
4615
+ protected between_contentValueValue(node: NodeInfo, left: NodeInfo, right: NodeInfo, route: NodeInfo[]): void;
4616
+ protected exit_contentValueValue(node: NodeInfo, route: NodeInfo[]): void | false;
4617
+ protected handleEnterNode(node: TextNode, route: NodeInfo[]): void | false;
4618
+ protected handleBetweenNode(node: TextNode, _left: NodeInfo, _right: NodeInfo, _route: NodeInfo[]): void;
4619
+ protected handleExitNode(node: TextNode, _route: NodeInfo[]): void | false;
4620
+ protected handleIndent(node: TextNode): void;
4621
+ protected handleDedent(node: TextNode): void;
4622
+ protected handleEnterContentValueNode(_node: NodeInfo, route: NodeInfo[]): void | false;
4623
+ protected handleBetweenContentValueNode(_node: NodeInfo, left: NodeInfo, _right: NodeInfo, route: NodeInfo[]): void;
4624
+ protected handleExitContentValueNode(_node: NodeInfo, route: NodeInfo[]): void | false;
4625
+ private updatePreTextState;
4626
+ protected handleEnterNodePreTextCheck(node: TextNode, route: NodeInfo[]): void;
4627
+ /**
4628
+ * Check if a text node has a link mark, and if so, return the href
4629
+ *
4630
+ * @param node the node to check for a link mark
4631
+ * @returns the href, or false if no link mark
4632
+ */
4633
+ protected getLinkHref(node: TextNode): string | false;
4634
+ /**
4635
+ * Get the current indentation string
4636
+ * @returns
4637
+ */
4638
+ protected getIndentationString(): string;
4639
+ protected writeBodyBit(node: TextNode, route: NodeInfo[]): void;
4640
+ protected writeText(node: TextNode): void;
4641
+ /**
4642
+ * Check if a node is a link node and if so and the node has only the link mark, and the link without the
4643
+ * protocol is the same as the text, return true. Otherwise return false.
4644
+ *
4645
+ * @param node
4646
+ * @returns true if a simple link, otherwise false
4647
+ */
4648
+ protected isSimpleLink(node: TextNode): boolean;
4649
+ /**
4650
+ * Get the link text if the node is a link, otherwise return false
4651
+ *
4652
+ * @param node
4653
+ * @returns
4654
+ */
4655
+ protected getLinkText(node: TextNode): string | false;
4656
+ /**
4657
+ * If the existing written text ends with a half-mark, and the new text starts with the same half-mark, insert a
4658
+ * breakscape ^ between them to break the sequence.
4659
+ *
4660
+ * Only applies to bitmark version > 2
4661
+ *
4662
+ * @param s
4663
+ */
4664
+ protected getInterTextBreakscape(s: string): string;
4665
+ protected validateGenerateOptions(ast: TextNode[]): void;
4666
+ /**
4667
+ * Write the marks for the node.
4668
+ *
4669
+ * All marks need to be considered at once, because if there are multiple marks, they need to be written in
4670
+ * a combined manner.
4671
+ *
4672
+ * e.g. if there are bold and italic marks, they need to be written as
4673
+ *
4674
+ * ==the text==|bold|italic|
4675
+ * rather than
4676
+ * **__the text__**
4677
+ * or
4678
+ * **__the text**__
4679
+ *
4680
+ * @param node the text node
4681
+ * @param start true if starting (before) the text, false if ending (after) the text
4682
+ */
4683
+ protected writeMarks(node: TextNode, stage: StageType): void;
4684
+ protected writeParagraph(node: TextNode): void;
4685
+ protected writeHardBreak(_node: TextNode): void;
4686
+ protected writeHeading(node: HeadingTextNode): void;
4687
+ protected writeSection(node: SectionTextNode): void;
4688
+ protected writeBullet(node: TextNode, route: NodeInfo[]): void;
4689
+ protected writeImage(node: ImageTextNode | ImageInlineTextNode): void;
4690
+ protected writeCodeBlock(node: CodeBlockTextNode): void;
4691
+ protected writeLatex(node: LatexTextNode): void;
4692
+ protected writeMarkTextWrapper(s: string): void;
4693
+ protected writeInlineMark(mark: TextMark): void;
4694
+ protected writeCommentMark(mark: CommentMark): void;
4695
+ protected writeLinkMark(mark: LinkMark): void;
4696
+ protected writeRefMark(mark: RefMark): void;
4697
+ protected writeXRefMark(mark: XRefMark): void;
4698
+ protected writeExtRefMark(mark: ExtRefMark): void;
4699
+ protected writeFootnoteMark(_mark: FootnoteMark): void;
4700
+ protected writeFootnoteStarMark(_mark: FootnoteMark): void;
4701
+ protected writeSymbolMark(mark: SymbolMark): void;
4702
+ protected writeInlineMarkStartEnd(): void;
4703
+ protected writePlainTextDivider(): void;
4704
+ protected writeString(s?: string): void;
4705
+ protected writeNL(): void;
4706
+ protected writeInlineDebug(key: string, state: {
4707
+ open?: boolean;
4708
+ close?: boolean;
4709
+ single?: boolean;
4710
+ }): void;
4711
+ protected getMediaAttrs(mediaType: string, attrs: MediaAttributes, options?: MediaAttributeOptions): string | undefined;
4712
+ protected breakscape(s: string, options: BreakscapeOptions$1): string;
4713
+ protected getBitType(route: NodeInfo[]): BitTypeType | undefined;
4714
+ /**
4715
+ * Writes a string value to the output.
4716
+ * @param value - The string value to be written.
4717
+ */
4718
+ write(value: string): this;
4719
+ /**
4720
+ * Writes a new line to the output. The line is indented automatically. The line is ended with the endOfLineString.
4721
+ * @param value - The line to write. When omitted, only the endOfLineString is written.
4722
+ */
4723
+ writeLine(value?: string): this;
4724
+ /**
4725
+ * Writes a collection of lines to the output. Each line is indented automatically and ended with the endOfLineString.
4726
+ * @param values - The lines to write.
4727
+ * @param delimiter - An optional delimiter to be written at the end of each line, except for the last one.
4728
+ */
4729
+ writeLines(values: string[], delimiter?: string): this;
4730
+ /**
4731
+ * Writes a single whitespace character to the output.
4732
+ */
4733
+ writeWhiteSpace(): this;
4734
+ }
4735
+
4736
+ declare const ExampleType: Readonly<{
4737
+ none: "none";
4738
+ string: "string";
4739
+ boolean: "boolean";
4740
+ }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4741
+ none: "none";
4742
+ string: "string";
4743
+ boolean: "boolean";
5240
4744
  }>>;
5241
- type ConfigKeyType = EnumType<typeof ConfigKey>;
4745
+ type ExampleTypeType = EnumType<typeof ExampleType>;
4746
+
4747
+ declare const Count: Readonly<{
4748
+ infinity: "infinity";
4749
+ }> & _ncoderz_superenum.EnumExtensions<"infinity">;
4750
+ type CountType = EnumType<typeof Count> | number;
4751
+
4752
+ declare const Tag: Readonly<{
4753
+ readonly tag_title: "#";
4754
+ readonly tag_anchor: "▼";
4755
+ readonly tag_reference: "►";
4756
+ readonly tag_property: "@";
4757
+ readonly tag_item: "%";
4758
+ readonly tag_instruction: "!";
4759
+ readonly tag_hint: "?";
4760
+ readonly tag_true: "+";
4761
+ readonly tag_false: "-";
4762
+ readonly tag_sampleSolution: "$";
4763
+ readonly tag_gap: "_";
4764
+ readonly tag_mark: "=";
4765
+ readonly tag_resource: "&";
4766
+ }> & _ncoderz_superenum.EnumExtensions<EnumType<{
4767
+ readonly tag_title: "#";
4768
+ readonly tag_anchor: "▼";
4769
+ readonly tag_reference: "►";
4770
+ readonly tag_property: "@";
4771
+ readonly tag_item: "%";
4772
+ readonly tag_instruction: "!";
4773
+ readonly tag_hint: "?";
4774
+ readonly tag_true: "+";
4775
+ readonly tag_false: "-";
4776
+ readonly tag_sampleSolution: "$";
4777
+ readonly tag_gap: "_";
4778
+ readonly tag_mark: "=";
4779
+ readonly tag_resource: "&";
4780
+ }>>;
4781
+ type TagType = EnumType<typeof Tag>;
5242
4782
 
5243
4783
  declare abstract class AbstractTagConfig {
5244
- readonly type: BitTagTypeType;
4784
+ readonly type: BitTagConfigKeyTypeType;
5245
4785
  readonly configKey: ConfigKeyType;
5246
- readonly tag: TagType | ResourceTagType | PropertyTagType;
4786
+ readonly tag: string;
5247
4787
  readonly maxCount: CountType;
5248
4788
  readonly minCount: number;
5249
4789
  readonly chain?: TagsConfig;
5250
- readonly jsonKey?: PropertyJsonKeyType | ResourceJsonKeyType;
5251
- readonly astKey?: PropertyAstKeyType;
4790
+ readonly jsonKey?: string;
5252
4791
  readonly deprecated?: string;
5253
- constructor(type: BitTagTypeType, configKey: ConfigKeyType, tag: TagType | ResourceTagType | PropertyTagType, maxCount: CountType, minCount: number, chain: TagsConfig | undefined, jsonKey: PropertyJsonKeyType | ResourceJsonKeyType | undefined, astKey: PropertyAstKeyType | undefined, deprecated: string | undefined);
4792
+ constructor(params: {
4793
+ type: BitTagConfigKeyTypeType;
4794
+ configKey: ConfigKeyType;
4795
+ tag: string;
4796
+ maxCount: CountType;
4797
+ minCount: number;
4798
+ chain: TagsConfig | undefined;
4799
+ jsonKey: string | undefined;
4800
+ deprecated: string | undefined;
4801
+ });
5254
4802
  }
5255
4803
 
5256
4804
  interface ToStringOptions$5 {
@@ -5258,12 +4806,19 @@ interface ToStringOptions$5 {
5258
4806
  includeConfigs?: boolean;
5259
4807
  }
5260
4808
  declare class MarkupTagConfig extends AbstractTagConfig {
5261
- readonly type: BitTagTypeType;
5262
- constructor(configKey: ConfigKeyType, tag: TagType, maxCount: CountType, minCount: number, chain: TagsConfig | undefined, deprecated: string | undefined);
4809
+ readonly type: BitTagConfigKeyTypeType;
4810
+ constructor(params: {
4811
+ configKey: ConfigKeyType;
4812
+ tag: TagType;
4813
+ maxCount: CountType;
4814
+ minCount: number;
4815
+ chain: TagsConfig | undefined;
4816
+ deprecated: string | undefined;
4817
+ });
5263
4818
  toString(options?: ToStringOptions$5): string;
5264
4819
  }
5265
4820
 
5266
- declare const PropertyFormat: Readonly<{
4821
+ declare const TagFormat: Readonly<{
5267
4822
  none: "none";
5268
4823
  plainText: "plainText";
5269
4824
  bitmarkText: "bitmarkText";
@@ -5278,18 +4833,28 @@ declare const PropertyFormat: Readonly<{
5278
4833
  boolean: "boolean";
5279
4834
  invertedBoolean: "invertedBoolean";
5280
4835
  }>>;
5281
- type PropertyFormatType = EnumType<typeof PropertyFormat>;
4836
+ type TagFormatType = EnumType<typeof TagFormat>;
5282
4837
 
5283
4838
  interface ToStringOptions$4 {
5284
4839
  includeChains?: boolean;
5285
4840
  includeConfigs?: boolean;
5286
4841
  }
5287
4842
  declare class PropertyTagConfig extends AbstractTagConfig {
5288
- readonly type: BitTagTypeType;
5289
- readonly single?: boolean;
5290
- readonly format?: PropertyFormatType;
4843
+ readonly type: BitTagConfigKeyTypeType;
4844
+ readonly array?: boolean;
4845
+ readonly format?: TagFormatType;
5291
4846
  readonly defaultValue?: string;
5292
- constructor(configKey: ConfigKeyType, tag: PropertyTagType, maxCount: CountType, minCount: number, chain: TagsConfig | undefined, jsonKey: PropertyJsonKeyType | undefined, astKey: PropertyAstKeyType | undefined, single: boolean | undefined, format: PropertyFormatType | undefined, defaultValue: string | undefined, deprecated: string | undefined);
4847
+ constructor(params: {
4848
+ configKey: ConfigKeyType;
4849
+ tag: string;
4850
+ maxCount: CountType;
4851
+ minCount: number;
4852
+ chain: TagsConfig | undefined;
4853
+ jsonKey: string | undefined;
4854
+ format: TagFormatType | undefined;
4855
+ defaultValue: string | undefined;
4856
+ deprecated: string | undefined;
4857
+ });
5293
4858
  toString(options?: ToStringOptions$4): string;
5294
4859
  }
5295
4860
 
@@ -5298,8 +4863,16 @@ interface ToStringOptions$3 {
5298
4863
  includeConfigs?: boolean;
5299
4864
  }
5300
4865
  declare class ResourceTagConfig extends AbstractTagConfig {
5301
- readonly type: BitTagTypeType;
5302
- constructor(configKey: ConfigKeyType, tag: ResourceTagType, maxCount: CountType, minCount: number, chain: TagsConfig | undefined, jsonKey: ResourceJsonKeyType | undefined, deprecated: string | undefined);
4866
+ readonly type: BitTagConfigKeyTypeType;
4867
+ constructor(params: {
4868
+ configKey: ConfigKeyType;
4869
+ tag: string;
4870
+ maxCount: CountType;
4871
+ minCount: number;
4872
+ chain: TagsConfig | undefined;
4873
+ jsonKey: string | undefined;
4874
+ deprecated: string | undefined;
4875
+ });
5303
4876
  toString(options?: ToStringOptions$3): string;
5304
4877
  }
5305
4878
 
@@ -5323,43 +4896,43 @@ declare class CardVariantConfig {
5323
4896
  }
5324
4897
 
5325
4898
  declare const CardSetConfigKey: Readonly<{
5326
- _flashcard: "_flashcard";
5327
- _definitionList: "_definitionList";
5328
- _elements: "_elements";
5329
- _statements: "_statements";
5330
- _quiz: "_quiz";
5331
- _feedback: "_feedback";
5332
- _questions: "_questions";
5333
- _matchPairs: "_matchPairs";
5334
- _matchAudioPairs: "_matchAudioPairs";
5335
- _matchImagePairs: "_matchImagePairs";
5336
- _matchMatrix: "_matchMatrix";
5337
- _table: "_table";
5338
- _pronunciationTable: "_pronunciationTable";
5339
- _botActionResponses: "_botActionResponses";
5340
- _exampleBitList: "_exampleBitList";
5341
- _clozeList: "_clozeList";
5342
- _ingredients: "_ingredients";
5343
- _bookReferenceList: "_bookReferenceList";
4899
+ flashcard: "flashcard";
4900
+ definitionList: "definitionList";
4901
+ elements: "elements";
4902
+ statements: "statements";
4903
+ quiz: "quiz";
4904
+ feedback: "feedback";
4905
+ questions: "questions";
4906
+ matchPairs: "matchPairs";
4907
+ matchAudioPairs: "matchAudioPairs";
4908
+ matchImagePairs: "matchImagePairs";
4909
+ matchMatrix: "matchMatrix";
4910
+ table: "table";
4911
+ pronunciationTable: "pronunciationTable";
4912
+ botActionResponses: "botActionResponses";
4913
+ exampleBitList: "exampleBitList";
4914
+ clozeList: "clozeList";
4915
+ ingredients: "ingredients";
4916
+ bookReferenceList: "bookReferenceList";
5344
4917
  }> & _ncoderz_superenum.EnumExtensions<EnumType<{
5345
- _flashcard: "_flashcard";
5346
- _definitionList: "_definitionList";
5347
- _elements: "_elements";
5348
- _statements: "_statements";
5349
- _quiz: "_quiz";
5350
- _feedback: "_feedback";
5351
- _questions: "_questions";
5352
- _matchPairs: "_matchPairs";
5353
- _matchAudioPairs: "_matchAudioPairs";
5354
- _matchImagePairs: "_matchImagePairs";
5355
- _matchMatrix: "_matchMatrix";
5356
- _table: "_table";
5357
- _pronunciationTable: "_pronunciationTable";
5358
- _botActionResponses: "_botActionResponses";
5359
- _exampleBitList: "_exampleBitList";
5360
- _clozeList: "_clozeList";
5361
- _ingredients: "_ingredients";
5362
- _bookReferenceList: "_bookReferenceList";
4918
+ flashcard: "flashcard";
4919
+ definitionList: "definitionList";
4920
+ elements: "elements";
4921
+ statements: "statements";
4922
+ quiz: "quiz";
4923
+ feedback: "feedback";
4924
+ questions: "questions";
4925
+ matchPairs: "matchPairs";
4926
+ matchAudioPairs: "matchAudioPairs";
4927
+ matchImagePairs: "matchImagePairs";
4928
+ matchMatrix: "matchMatrix";
4929
+ table: "table";
4930
+ pronunciationTable: "pronunciationTable";
4931
+ botActionResponses: "botActionResponses";
4932
+ exampleBitList: "exampleBitList";
4933
+ clozeList: "clozeList";
4934
+ ingredients: "ingredients";
4935
+ bookReferenceList: "bookReferenceList";
5363
4936
  }>>;
5364
4937
  type CardSetConfigKeyType = EnumType<typeof CardSetConfigKey>;
5365
4938
 
@@ -5394,7 +4967,7 @@ declare class BitConfig {
5394
4967
  readonly footerRequired?: boolean;
5395
4968
  readonly resourceAttachmentAllowed?: boolean;
5396
4969
  readonly rootExampleType?: ExampleTypeType;
5397
- readonly comboResourceType?: ResourceTagType;
4970
+ readonly comboResourceConfigKey?: ConfigKeyType;
5398
4971
  constructor(config: {
5399
4972
  since: string;
5400
4973
  bitType: BitTypeType;
@@ -5410,7 +4983,7 @@ declare class BitConfig {
5410
4983
  footerRequired: boolean | undefined;
5411
4984
  resourceAttachmentAllowed: boolean | undefined;
5412
4985
  rootExampleType: ExampleTypeType | undefined;
5413
- comboResourceType: ResourceTagType | undefined;
4986
+ comboResourceConfigKey: ConfigKeyType | undefined;
5414
4987
  });
5415
4988
  toString(options?: ToStringOptions): string;
5416
4989
  }
@@ -5475,6 +5048,12 @@ interface BuildContext {
5475
5048
  bitType: BitTypeType;
5476
5049
  textFormat: TextFormatType;
5477
5050
  }
5051
+ interface ToAstPropertyOptions {
5052
+ cardSet?: {
5053
+ sideNo: number;
5054
+ variantNo: number;
5055
+ };
5056
+ }
5478
5057
  declare class BaseBuilder {
5479
5058
  protected textParser: TextParser;
5480
5059
  protected textGenerator: TextGenerator;
@@ -5495,9 +5074,10 @@ declare class BaseBuilder {
5495
5074
  *
5496
5075
  * @param key
5497
5076
  * @param value
5077
+ * @param options
5498
5078
  * @returns
5499
5079
  */
5500
- protected toAstProperty(key: ConfigKeyType, value: unknown | unknown[] | undefined): Property | undefined;
5080
+ protected toAstProperty(bitType: BitTypeType, key: ConfigKeyType, value: unknown | unknown[] | undefined, options: ToAstPropertyOptions | undefined): Property | undefined;
5501
5081
  protected getEmptyTextAst(context: BuildContext): TextAst;
5502
5082
  /**
5503
5083
  * Convert the JsonText from the JSON to the AST format:
@@ -5518,6 +5098,12 @@ declare class BaseBuilder {
5518
5098
  protected handleJsonText<T extends JsonText | JsonText[] | undefined, R = T extends JsonText[] ? TextAst[] : TextAst>(context: BuildContext, textLocation: TextLocationType, text: T): R;
5519
5099
  }
5520
5100
 
5101
+ interface BuildBitOptions {
5102
+ cardSet?: {
5103
+ sideNo: number;
5104
+ variantNo: number;
5105
+ };
5106
+ }
5521
5107
  /**
5522
5108
  * Builder to build bitmark AST node programmatically
5523
5109
  */
@@ -5543,7 +5129,7 @@ declare class Builder extends BaseBuilder {
5543
5129
  bitType: BitTypeType;
5544
5130
  bitLevel: number;
5545
5131
  textFormat?: TextFormatType;
5546
- resourceType?: ResourceTagType;
5132
+ resourceType?: ResourceTypeType;
5547
5133
  isCommented?: boolean;
5548
5134
  id?: string | string[];
5549
5135
  internalComment?: string | string[];
@@ -5563,6 +5149,7 @@ declare class Builder extends BaseBuilder {
5563
5149
  analyticsTag?: string | string[];
5564
5150
  categoryTag?: string | string[];
5565
5151
  topicTag?: string | string[];
5152
+ reportTag?: string | string[];
5566
5153
  altLangTag?: string;
5567
5154
  feedbackEngine?: string;
5568
5155
  feedbackType?: string;
@@ -5586,6 +5173,7 @@ declare class Builder extends BaseBuilder {
5586
5173
  target?: string | string[];
5587
5174
  slug?: string;
5588
5175
  tag?: string | string[];
5176
+ groupTag?: Partial<GroupTagJson> | Partial<GroupTagJson>[];
5589
5177
  reductionTag?: string | string[];
5590
5178
  bubbleTag?: string | string[];
5591
5179
  levelCEFRp?: string | string[];
@@ -5699,9 +5287,7 @@ declare class Builder extends BaseBuilder {
5699
5287
  page?: string | string[];
5700
5288
  productId?: string | string[];
5701
5289
  product?: string | string[];
5702
- productList?: string | string[];
5703
5290
  productVideo?: string | string[];
5704
- productVideoList?: string | string[];
5705
5291
  productFolder?: string;
5706
5292
  technicalTerm?: Partial<TechnicalTermJson>;
5707
5293
  servings?: Partial<ServingsJson>;
@@ -5760,7 +5346,7 @@ declare class Builder extends BaseBuilder {
5760
5346
  markup?: string;
5761
5347
  parser?: ParserInfo;
5762
5348
  __isDefaultExample?: boolean;
5763
- }): Bit | undefined;
5349
+ }, options?: BuildBitOptions): Bit | undefined;
5764
5350
  /**
5765
5351
  * Build books[] node
5766
5352
  *
@@ -5775,6 +5361,20 @@ declare class Builder extends BaseBuilder {
5775
5361
  * @returns
5776
5362
  */
5777
5363
  protected buildBook(_context: BuildContext, data: Partial<BookJson> | undefined): BookJson | undefined;
5364
+ /**
5365
+ * Build groupTag[] node
5366
+ *
5367
+ * @param data - data for the node
5368
+ * @returns
5369
+ */
5370
+ protected buildGroupTags(context: BuildContext, data: Partial<GroupTagJson> | Partial<GroupTagJson>[] | undefined): GroupTagJson[] | undefined;
5371
+ /**
5372
+ * Build groupTag node
5373
+ *
5374
+ * @param data - data for the node
5375
+ * @returns
5376
+ */
5377
+ protected buildGroupTag(_context: BuildContext, data: Partial<GroupTagJson> | undefined): GroupTagJson | undefined;
5778
5378
  /**
5779
5379
  * Build feedbackChoices[] node
5780
5380
  *
@@ -6213,7 +5813,7 @@ declare class ResourceBuilder extends BaseBuilder {
6213
5813
  * @returns
6214
5814
  */
6215
5815
  resourceFromResourceJson(context: BuildContext, resource?: Partial<ResourceJson> | Partial<ResourceJson>[]): ResourceJson | ResourceJson[] | undefined;
6216
- resourceFromResourceDataJson(context: BuildContext, type: ResourceTagType, data: Partial<ResourceDataJson> | undefined): ResourceJson | undefined;
5816
+ resourceFromResourceDataJson(context: BuildContext, type: ResourceTypeType, data: Partial<ResourceDataJson> | undefined): ResourceJson | undefined;
6217
5817
  /**
6218
5818
  * Build resource node
6219
5819
  *
@@ -6221,7 +5821,7 @@ declare class ResourceBuilder extends BaseBuilder {
6221
5821
  * @returns
6222
5822
  */
6223
5823
  resource(context: BuildContext, data: {
6224
- type: ResourceTagType;
5824
+ type: ResourceTypeType;
6225
5825
  value?: string;
6226
5826
  format?: string;
6227
5827
  src1x?: string;
@@ -6268,7 +5868,7 @@ declare class ResourceBuilder extends BaseBuilder {
6268
5868
  showInIndex?: boolean;
6269
5869
  caption?: TextAst;
6270
5870
  search?: string;
6271
- }, __typeAlias?: ResourceTagType): ImageResourceWrapperJson | undefined;
5871
+ }, __typeAlias?: ResourceTypeType): ImageResourceWrapperJson | undefined;
6272
5872
  /**
6273
5873
  * Build imageLinkResource node
6274
5874
  *
@@ -6802,6 +6402,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6802
6402
  protected enter_bitsValue(node: NodeInfo, _route: NodeInfo[]): boolean;
6803
6403
  protected exit_bitsValue(_node: NodeInfo, _route: NodeInfo[]): void;
6804
6404
  protected enter_internalComment(node: NodeInfo, route: NodeInfo[]): boolean;
6405
+ protected enter_groupTag(node: NodeInfo, route: NodeInfo[]): boolean;
6805
6406
  protected enter_labelTrue(node: NodeInfo, route: NodeInfo[]): boolean;
6806
6407
  protected enter_labelFalse(_node: NodeInfo, _route: NodeInfo[]): boolean;
6807
6408
  protected enter_imageSource(node: NodeInfo, route: NodeInfo[]): boolean;
@@ -6811,17 +6412,17 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6811
6412
  protected enter_text(node: NodeInfo, route: NodeInfo[]): boolean;
6812
6413
  protected leaf_text(node: NodeInfo, route: NodeInfo[]): boolean;
6813
6414
  protected enter_icon(node: NodeInfo, route: NodeInfo[]): boolean;
6814
- protected leaf_iconValue(node: NodeInfo, _route: NodeInfo[]): boolean;
6415
+ protected leaf_iconValue(node: NodeInfo, route: NodeInfo[]): boolean;
6815
6416
  protected enter_ratingLevelStart(node: NodeInfo, route: NodeInfo[]): boolean;
6816
6417
  protected enter_ratingLevelEnd(node: NodeInfo, route: NodeInfo[]): boolean;
6817
6418
  protected enterRatingLevelStartEndCommon(node: NodeInfo, route: NodeInfo[]): boolean;
6818
6419
  protected enter_markConfig(_node: NodeInfo, _route: NodeInfo[]): boolean;
6819
6420
  protected enter_markConfigValue(node: NodeInfo, route: NodeInfo[]): boolean;
6820
- protected enter_partialAnswer(node: NodeInfo, _route: NodeInfo[]): boolean;
6821
- protected leaf_partialAnswer(node: NodeInfo, _route: NodeInfo[]): boolean;
6822
- protected enter_sampleSolution(node: NodeInfo, _route: NodeInfo[]): boolean;
6823
- protected leaf_sampleSolution(node: NodeInfo, _route: NodeInfo[]): boolean;
6824
- protected leaf_reasonableNumOfChars(node: NodeInfo, _route: NodeInfo[]): void;
6421
+ protected enter_partialAnswer(node: NodeInfo, route: NodeInfo[]): boolean;
6422
+ protected leaf_partialAnswer(node: NodeInfo, route: NodeInfo[]): boolean;
6423
+ protected enter_sampleSolution(node: NodeInfo, route: NodeInfo[]): boolean;
6424
+ protected leaf_sampleSolution(node: NodeInfo, route: NodeInfo[]): boolean;
6425
+ protected leaf_reasonableNumOfChars(node: NodeInfo, route: NodeInfo[]): void;
6825
6426
  protected leaf_additionalSolutionsValue(node: NodeInfo, route: NodeInfo[]): void;
6826
6427
  protected enter_item(node: NodeInfo, route: NodeInfo[]): boolean;
6827
6428
  protected enter_lead(node: NodeInfo, route: NodeInfo[]): boolean;
@@ -6888,7 +6489,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6888
6489
  protected between_questions(_node: NodeInfo, _left: NodeInfo, _right: NodeInfo, _route: NodeInfo[]): void;
6889
6490
  protected enter_ingredients(_node: NodeInfo, _route: NodeInfo[]): void;
6890
6491
  protected between_ingredients(_node: NodeInfo, _left: NodeInfo, _right: NodeInfo, _route: NodeInfo[]): void;
6891
- protected enter_ingredientsValue(node: NodeInfo, _route: NodeInfo[]): boolean;
6492
+ protected enter_ingredientsValue(node: NodeInfo, route: NodeInfo[]): boolean;
6892
6493
  protected enter_botResponses(_node: NodeInfo, _route: NodeInfo[]): void;
6893
6494
  protected between_botResponses(_node: NodeInfo, _left: NodeInfo, _right: NodeInfo, _route: NodeInfo[]): void;
6894
6495
  protected enter_cardBits(_node: NodeInfo, _route: NodeInfo[]): void;
@@ -6900,54 +6501,54 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6900
6501
  protected enter_imagePlaceholder(node: NodeInfo, _route: NodeInfo[]): boolean;
6901
6502
  protected exit_imagePlaceholder(_node: NodeInfo, _route: NodeInfo[]): void;
6902
6503
  protected enter_posterImage(node: NodeInfo, route: NodeInfo[]): boolean;
6903
- protected enter_thumbnails(node: NodeInfo, _route: NodeInfo[]): boolean;
6504
+ protected enter_thumbnails(node: NodeInfo, route: NodeInfo[]): boolean;
6904
6505
  protected leaf_level(node: NodeInfo, route: NodeInfo[]): boolean;
6905
6506
  protected enter_title(node: NodeInfo, route: NodeInfo[]): boolean;
6906
6507
  protected enter_subtitle(node: NodeInfo, route: NodeInfo[]): boolean;
6907
6508
  protected enter_book(_node: NodeInfo, _route: NodeInfo[]): void;
6908
- protected enter_bookValue(node: NodeInfo, _route: NodeInfo[]): boolean;
6509
+ protected enter_bookValue(node: NodeInfo, route: NodeInfo[]): boolean;
6909
6510
  protected leaf_book(node: NodeInfo, route: NodeInfo[]): void;
6910
6511
  protected leaf_anchor(node: NodeInfo, _route: NodeInfo[]): void;
6911
6512
  protected leaf_reference(node: NodeInfo, route: NodeInfo[]): void;
6912
6513
  protected enter_hint(node: NodeInfo, route: NodeInfo[]): boolean;
6913
6514
  protected enter_instruction(node: NodeInfo, route: NodeInfo[]): boolean;
6914
- protected enter_lang(node: NodeInfo, _route: NodeInfo[]): void;
6915
- protected enter_refAuthor(node: NodeInfo, _route: NodeInfo[]): void;
6916
- protected enter_refBookTitle(node: NodeInfo, _route: NodeInfo[]): void;
6917
- protected enter_refPublisher(node: NodeInfo, _route: NodeInfo[]): void;
6918
- protected enter_refPublicationYear(node: NodeInfo, _route: NodeInfo[]): void;
6919
- protected enter_citationStyle(node: NodeInfo, _route: NodeInfo[]): void;
6515
+ protected leaf_lang(node: NodeInfo, route: NodeInfo[]): void;
6516
+ protected enter_refAuthor(node: NodeInfo, route: NodeInfo[]): void;
6517
+ protected leaf_refBookTitle(node: NodeInfo, route: NodeInfo[]): void;
6518
+ protected enter_refPublisher(node: NodeInfo, route: NodeInfo[]): void;
6519
+ protected leaf_refPublicationYear(node: NodeInfo, route: NodeInfo[]): void;
6520
+ protected leaf_citationStyle(node: NodeInfo, route: NodeInfo[]): void;
6920
6521
  protected leaf_isExample(node: NodeInfo, route: NodeInfo[]): void;
6921
6522
  protected leaf_elementsValue(node: NodeInfo, _route: NodeInfo[]): void;
6922
6523
  protected leaf_solutionsValue(node: NodeInfo, route: NodeInfo[]): void;
6923
6524
  protected leaf_prefix(node: NodeInfo, _route: NodeInfo[]): void;
6924
6525
  protected leaf_postfix(node: NodeInfo, _route: NodeInfo[]): void;
6925
- protected leaf_isCaseSensitive(node: NodeInfo, _route: NodeInfo[]): void;
6526
+ protected leaf_isCaseSensitive(node: NodeInfo, route: NodeInfo[]): void;
6926
6527
  protected leaf_forKeys(node: NodeInfo, _route: NodeInfo[]): void;
6927
6528
  protected leaf_forValues(node: NodeInfo, _route: NodeInfo[]): void;
6928
6529
  protected leaf_forValuesValue(node: NodeInfo, _route: NodeInfo[]): void;
6929
6530
  protected leaf_key(node: NodeInfo, _route: NodeInfo[]): void;
6930
6531
  protected leaf_valuesValue(node: NodeInfo, _route: NodeInfo[]): void;
6931
6532
  protected leaf_question(node: NodeInfo, route: NodeInfo[]): void;
6932
- protected leaf_src1x(node: NodeInfo, _route: NodeInfo[]): void;
6933
- protected leaf_src2x(node: NodeInfo, _route: NodeInfo[]): void;
6934
- protected leaf_src3x(node: NodeInfo, _route: NodeInfo[]): void;
6935
- protected leaf_src4x(node: NodeInfo, _route: NodeInfo[]): void;
6936
- protected leaf_width(node: NodeInfo, _route: NodeInfo[]): void;
6937
- protected leaf_height(node: NodeInfo, _route: NodeInfo[]): void;
6938
- protected leaf_alt(node: NodeInfo, _route: NodeInfo[]): void;
6939
- protected leaf_zoomDisabled(node: NodeInfo, _route: NodeInfo[]): void;
6940
- protected leaf_license(node: NodeInfo, _route: NodeInfo[]): void;
6941
- protected leaf_copyright(node: NodeInfo, _route: NodeInfo[]): void;
6533
+ protected leaf_src1x(node: NodeInfo, route: NodeInfo[]): void;
6534
+ protected leaf_src2x(node: NodeInfo, route: NodeInfo[]): void;
6535
+ protected leaf_src3x(node: NodeInfo, route: NodeInfo[]): void;
6536
+ protected leaf_src4x(node: NodeInfo, route: NodeInfo[]): void;
6537
+ protected leaf_width(node: NodeInfo, route: NodeInfo[]): void;
6538
+ protected leaf_height(node: NodeInfo, route: NodeInfo[]): void;
6539
+ protected leaf_alt(node: NodeInfo, route: NodeInfo[]): void;
6540
+ protected leaf_zoomDisabled(node: NodeInfo, route: NodeInfo[]): void;
6541
+ protected leaf_license(node: NodeInfo, route: NodeInfo[]): void;
6542
+ protected leaf_copyright(node: NodeInfo, route: NodeInfo[]): void;
6942
6543
  protected leaf_provider(_node: NodeInfo, _route: NodeInfo[]): void;
6943
6544
  protected leaf_showInIndex(node: NodeInfo, route: NodeInfo[]): void;
6944
6545
  protected enter_caption(node: NodeInfo, route: NodeInfo[]): boolean;
6945
6546
  protected leaf_search(node: NodeInfo, route: NodeInfo[]): void;
6946
6547
  protected leaf_duration(node: NodeInfo, route: NodeInfo[]): void;
6947
- protected leaf_mute(node: NodeInfo, _route: NodeInfo[]): void;
6948
- protected leaf_autoplay(node: NodeInfo, _route: NodeInfo[]): void;
6949
- protected leaf_allowSubtitles(node: NodeInfo, _route: NodeInfo[]): void;
6950
- protected leaf_showSubtitles(node: NodeInfo, _route: NodeInfo[]): void;
6548
+ protected leaf_mute(node: NodeInfo, route: NodeInfo[]): void;
6549
+ protected leaf_autoplay(node: NodeInfo, route: NodeInfo[]): void;
6550
+ protected leaf_allowSubtitles(node: NodeInfo, route: NodeInfo[]): void;
6551
+ protected leaf_showSubtitles(node: NodeInfo, route: NodeInfo[]): void;
6951
6552
  /**
6952
6553
  * Generate the handlers for resources, as they are mostly the same, but not quite
6953
6554
  */
@@ -6956,6 +6557,13 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6956
6557
  * Generate the handlers for properties, as they are mostly the same, but not quite
6957
6558
  */
6958
6559
  protected generatePropertyHandlers(): void;
6560
+ /**
6561
+ * Get the bit type from any node
6562
+ *
6563
+ * @param route the route to the current node
6564
+ * @returns the bit type
6565
+ */
6566
+ protected getBitType(route: NodeInfo[]): BitTypeType | undefined;
6959
6567
  /**
6960
6568
  * Check if in a chain.
6961
6569
  *
@@ -7031,13 +6639,13 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
7031
6639
  protected writeNL_IfNotChain(route: NodeInfo[]): void;
7032
6640
  protected writeNL(): void;
7033
6641
  protected writePropertyStyleResource(key: string, resource: ResourceJson, deprecated_writeAsProperty?: boolean): boolean | void;
7034
- protected writeResource(type: ResourceTagType, value: string): void;
7035
- protected writeProperty(name: string, values: unknown | unknown[] | undefined, options: {
7036
- format: PropertyFormatType;
7037
- single: boolean;
6642
+ protected writeResource(type: ResourceTypeType, value: string): void;
6643
+ protected writeProperty(name: string, values: unknown | unknown[] | undefined, route: NodeInfo[], options: {
6644
+ format: TagFormatType;
6645
+ array?: boolean;
7038
6646
  ignoreFalse?: boolean;
7039
6647
  ignoreTrue?: boolean;
7040
- ignoreEmpty?: boolean;
6648
+ writeEmpty?: boolean;
7041
6649
  }): void;
7042
6650
  protected writeInlineDebug(key: string, state: {
7043
6651
  open?: boolean;
@@ -7315,7 +6923,7 @@ declare class JsonGenerator extends AstWalkerGenerator<BitmarkAst, void> {
7315
6923
  * @param route the route to the current node
7316
6924
  * @returns the bit type
7317
6925
  */
7318
- protected getResourceType(route: NodeInfo[]): ResourceTagType | undefined;
6926
+ protected getResourceType(route: NodeInfo[]): ResourceTypeType | undefined;
7319
6927
  /**
7320
6928
  * Get the internal comments from any node
7321
6929
  *
@@ -7620,6 +7228,11 @@ interface InfoOptions {
7620
7228
  */
7621
7229
  prettify?: boolean | number;
7622
7230
  }
7231
+ /**
7232
+ * Config generation options for the parser
7233
+ */
7234
+ interface GenerateConfigOptions {
7235
+ }
7623
7236
  /**
7624
7237
  * Conversion options for bitmark / JSON conversion
7625
7238
  */
@@ -7905,6 +7518,10 @@ declare class BitmarkParserGenerator {
7905
7518
  * Get information about the bitmark-parser-generator library
7906
7519
  */
7907
7520
  info(options?: InfoOptions): unknown;
7521
+ /**
7522
+ * Generate the new configuration for the bitmark parser.
7523
+ */
7524
+ generateConfig(options?: GenerateConfigOptions): Promise<unknown>;
7908
7525
  /**
7909
7526
  * Convert bitmark from bitmark to JSON, or JSON to bitmark.
7910
7527
  *
@@ -8182,4 +7799,4 @@ declare class JsonFileGenerator implements Generator<BitmarkAst> {
8182
7799
  generateSync(_ast: BitmarkAst): string;
8183
7800
  }
8184
7801
 
8185
- export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, CardSetVersion, type CardSetVersionType, type ChoiceJson, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtraProperties, type FileOptions, FileWriter, type FlashcardJson, type GapJson, type Generator, type HeadingJson, type HighlightJson, type HighlightTextJson, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type ListItemJson, type MarkConfigJson, type MatrixCellJson, type MatrixJson, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, ResourceBuilder, type ResourceDataJson, type ResourceJson, ResourceTag, type ResourceTagType, type ResourceWrapperJson, type ResponseJson, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type TableJson, type TechnicalTermJson, type JsonText as Text, type TextAst, type TextJsonOptions, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, parse as bitmarkTextParse };
7802
+ export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type GapJson, type Generator, type HeadingJson, type HighlightJson, type HighlightTextJson, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type ListItemJson, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceWrapperJson, type ResponseJson, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type TableJson, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, parse as bitmarkTextParse };