@gmb/bitmark-parser-generator 4.13.0 → 4.14.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/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/browser/cjs/index.cjs +1336 -379
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +92 -10
- package/dist/browser/esm/index.d.ts +92 -10
- package/dist/browser/esm/index.js +1336 -379
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +1336 -379
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +92 -10
- package/dist/index.d.ts +92 -10
- package/dist/index.js +1336 -379
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -568,6 +568,7 @@ declare const BitType: Readonly<{
|
|
|
568
568
|
surveyRatingOnce: "survey-rating-once";
|
|
569
569
|
table: "table";
|
|
570
570
|
tableAlt: "table-alt";
|
|
571
|
+
tableExtended: "table-extended";
|
|
571
572
|
tableImage: "table-image";
|
|
572
573
|
tableImageAlt: "table-image-alt";
|
|
573
574
|
takePicture: "take-picture";
|
|
@@ -1178,6 +1179,7 @@ declare const BitType: Readonly<{
|
|
|
1178
1179
|
surveyRatingOnce: "survey-rating-once";
|
|
1179
1180
|
table: "table";
|
|
1180
1181
|
tableAlt: "table-alt";
|
|
1182
|
+
tableExtended: "table-extended";
|
|
1181
1183
|
tableImage: "table-image";
|
|
1182
1184
|
tableImageAlt: "table-image-alt";
|
|
1183
1185
|
takePicture: "take-picture";
|
|
@@ -1394,6 +1396,7 @@ declare const ConfigKey: Readonly<{
|
|
|
1394
1396
|
property_index: "@index";
|
|
1395
1397
|
property_internalComment: "@internalComment";
|
|
1396
1398
|
property_internalPrintPdf: "@internalPrintPdf";
|
|
1399
|
+
property_hasPrintRestriction: "@hasPrintRestriction";
|
|
1397
1400
|
property_isCaseSensitive: "@isCaseSensitive";
|
|
1398
1401
|
property_isInfoOnly: "@isInfoOnly";
|
|
1399
1402
|
property_isPublic: "@isPublic";
|
|
@@ -1516,6 +1519,10 @@ declare const ConfigKey: Readonly<{
|
|
|
1516
1519
|
property_tableSearch: "@tableSearch";
|
|
1517
1520
|
property_tableSort: "@tableSort";
|
|
1518
1521
|
property_tableWhitespaceNoWrap: "@tableWhitespaceNoWrap";
|
|
1522
|
+
property_tableCellType: "@tableCellType";
|
|
1523
|
+
property_tableRowSpan: "@tableRowSpan";
|
|
1524
|
+
property_tableColSpan: "@tableColSpan";
|
|
1525
|
+
property_tableScope: "@tableScope";
|
|
1519
1526
|
property_tag: "@tag";
|
|
1520
1527
|
property_target: "@target";
|
|
1521
1528
|
property_technicalTerm: "@technicalTerm";
|
|
@@ -1711,6 +1718,7 @@ declare const ConfigKey: Readonly<{
|
|
|
1711
1718
|
property_index: "@index";
|
|
1712
1719
|
property_internalComment: "@internalComment";
|
|
1713
1720
|
property_internalPrintPdf: "@internalPrintPdf";
|
|
1721
|
+
property_hasPrintRestriction: "@hasPrintRestriction";
|
|
1714
1722
|
property_isCaseSensitive: "@isCaseSensitive";
|
|
1715
1723
|
property_isInfoOnly: "@isInfoOnly";
|
|
1716
1724
|
property_isPublic: "@isPublic";
|
|
@@ -1833,6 +1841,10 @@ declare const ConfigKey: Readonly<{
|
|
|
1833
1841
|
property_tableSearch: "@tableSearch";
|
|
1834
1842
|
property_tableSort: "@tableSort";
|
|
1835
1843
|
property_tableWhitespaceNoWrap: "@tableWhitespaceNoWrap";
|
|
1844
|
+
property_tableCellType: "@tableCellType";
|
|
1845
|
+
property_tableRowSpan: "@tableRowSpan";
|
|
1846
|
+
property_tableColSpan: "@tableColSpan";
|
|
1847
|
+
property_tableScope: "@tableScope";
|
|
1836
1848
|
property_tag: "@tag";
|
|
1837
1849
|
property_target: "@target";
|
|
1838
1850
|
property_technicalTerm: "@technicalTerm";
|
|
@@ -2728,6 +2740,7 @@ interface BitJson {
|
|
|
2728
2740
|
maxTocChapterLevel: number;
|
|
2729
2741
|
sourceDocument: string;
|
|
2730
2742
|
internalPrintPdf: string;
|
|
2743
|
+
hasPrintRestriction: boolean;
|
|
2731
2744
|
tocResource: string | string[];
|
|
2732
2745
|
tocContent: string | string[];
|
|
2733
2746
|
page: string;
|
|
@@ -2789,7 +2802,7 @@ interface BitJson {
|
|
|
2789
2802
|
additionalSolutions: string[];
|
|
2790
2803
|
partialAnswer: string;
|
|
2791
2804
|
elements: string[];
|
|
2792
|
-
statement:
|
|
2805
|
+
statement: JsonText;
|
|
2793
2806
|
isCorrect: boolean;
|
|
2794
2807
|
cards: FlashcardJson[];
|
|
2795
2808
|
definitions: DefinitionListItemJson[];
|
|
@@ -2802,6 +2815,7 @@ interface BitJson {
|
|
|
2802
2815
|
pairs: PairJson[];
|
|
2803
2816
|
matrix: MatrixJson[];
|
|
2804
2817
|
table: TableJson;
|
|
2818
|
+
tableExtended: TableExtendedJson;
|
|
2805
2819
|
choices: ChoiceJson[];
|
|
2806
2820
|
questions: QuestionJson[];
|
|
2807
2821
|
ingredients: IngredientJson[];
|
|
@@ -2868,7 +2882,7 @@ interface TextAndIconJson {
|
|
|
2868
2882
|
icon: ImageResourceWrapperJson;
|
|
2869
2883
|
}
|
|
2870
2884
|
interface StatementJson {
|
|
2871
|
-
statement:
|
|
2885
|
+
statement: JsonText;
|
|
2872
2886
|
isCorrect: boolean;
|
|
2873
2887
|
item: JsonText;
|
|
2874
2888
|
lead: JsonText;
|
|
@@ -3003,8 +3017,26 @@ interface TableJson {
|
|
|
3003
3017
|
columns: JsonText[];
|
|
3004
3018
|
data: JsonText[][];
|
|
3005
3019
|
}
|
|
3020
|
+
interface TableExtendedJson {
|
|
3021
|
+
head?: TableSectionJson;
|
|
3022
|
+
body?: TableSectionJson;
|
|
3023
|
+
foot?: TableSectionJson;
|
|
3024
|
+
}
|
|
3025
|
+
interface TableSectionJson {
|
|
3026
|
+
rows: TableRowJson[];
|
|
3027
|
+
}
|
|
3028
|
+
interface TableRowJson {
|
|
3029
|
+
cells: TableCellJson[];
|
|
3030
|
+
}
|
|
3031
|
+
interface TableCellJson {
|
|
3032
|
+
content: JsonText;
|
|
3033
|
+
title?: boolean;
|
|
3034
|
+
rowspan?: number;
|
|
3035
|
+
colspan?: number;
|
|
3036
|
+
scope?: 'row' | 'col' | 'rowgroup' | 'colgroup';
|
|
3037
|
+
}
|
|
3006
3038
|
interface QuestionJson {
|
|
3007
|
-
question:
|
|
3039
|
+
question: JsonText;
|
|
3008
3040
|
partialAnswer: string;
|
|
3009
3041
|
sampleSolution: string;
|
|
3010
3042
|
additionalSolutions: string[];
|
|
@@ -3214,6 +3246,10 @@ interface Bit {
|
|
|
3214
3246
|
tableAutoWidth?: Property;
|
|
3215
3247
|
tableResizableColumns?: Property;
|
|
3216
3248
|
tableColumnMinWidth?: Property;
|
|
3249
|
+
tableCellType?: Property;
|
|
3250
|
+
tableRowSpan?: Property;
|
|
3251
|
+
tableColSpan?: Property;
|
|
3252
|
+
tableScope?: Property;
|
|
3217
3253
|
quizCountItems?: Property;
|
|
3218
3254
|
quizStrikethroughSolutions?: Property;
|
|
3219
3255
|
codeLineNumbers?: Property;
|
|
@@ -3277,6 +3313,7 @@ interface Bit {
|
|
|
3277
3313
|
maxTocChapterLevel?: Property;
|
|
3278
3314
|
sourceDocument?: Property;
|
|
3279
3315
|
internalPrintPdf?: Property;
|
|
3316
|
+
hasPrintRestriction?: Property;
|
|
3280
3317
|
tocResource?: Property;
|
|
3281
3318
|
tocContent?: Property;
|
|
3282
3319
|
page?: Property;
|
|
@@ -3376,7 +3413,7 @@ interface CardNode {
|
|
|
3376
3413
|
pairs?: PairJson[];
|
|
3377
3414
|
matrix?: MatrixJson[];
|
|
3378
3415
|
pronunciationTable?: PronunciationTableJson;
|
|
3379
|
-
table?: TableJson;
|
|
3416
|
+
table?: TableJson | TableExtendedJson;
|
|
3380
3417
|
botResponses?: BotResponseJson[];
|
|
3381
3418
|
cardBits?: Bit[];
|
|
3382
3419
|
ingredients?: IngredientJson[];
|
|
@@ -3556,6 +3593,7 @@ declare const NodeType: Readonly<{
|
|
|
3556
3593
|
durationValue: "durationValue";
|
|
3557
3594
|
elements: "elements";
|
|
3558
3595
|
elementsValue: "elementsValue";
|
|
3596
|
+
elementsValueValue: "elementsValueValue";
|
|
3559
3597
|
emphasis: "emphasis";
|
|
3560
3598
|
end: "end";
|
|
3561
3599
|
errors: "errors";
|
|
@@ -3584,6 +3622,7 @@ declare const NodeType: Readonly<{
|
|
|
3584
3622
|
focusY: "focusY";
|
|
3585
3623
|
focusYValue: "focusYValue";
|
|
3586
3624
|
footer: "footer";
|
|
3625
|
+
footerValue: "footerValue";
|
|
3587
3626
|
footerText: "footerText";
|
|
3588
3627
|
forKeys: "forKeys";
|
|
3589
3628
|
format: "format";
|
|
@@ -3606,11 +3645,13 @@ declare const NodeType: Readonly<{
|
|
|
3606
3645
|
hasBookNavigationValue: "hasBookNavigationValue";
|
|
3607
3646
|
hasMarkAsDone: "hasMarkAsDone";
|
|
3608
3647
|
hasMarkAsDoneValue: "hasMarkAsDoneValue";
|
|
3648
|
+
head: "head";
|
|
3609
3649
|
heading: "heading";
|
|
3610
3650
|
height: "height";
|
|
3611
3651
|
heightValue: "heightValue";
|
|
3612
3652
|
highlight: "highlight";
|
|
3613
3653
|
hint: "hint";
|
|
3654
|
+
hintValue: "hintValue";
|
|
3614
3655
|
href: "href";
|
|
3615
3656
|
icon: "icon";
|
|
3616
3657
|
iconTag: "iconTag";
|
|
@@ -3632,10 +3673,13 @@ declare const NodeType: Readonly<{
|
|
|
3632
3673
|
ingredients: "ingredients";
|
|
3633
3674
|
ingredientsValue: "ingredientsValue";
|
|
3634
3675
|
instruction: "instruction";
|
|
3676
|
+
instructionValue: "instructionValue";
|
|
3635
3677
|
internalComment: "internalComment";
|
|
3636
3678
|
internalCommentValue: "internalCommentValue";
|
|
3637
3679
|
internalPrintPdf: "internalPrintPdf";
|
|
3638
3680
|
internalPrintPdfValue: "internalPrintPdfValue";
|
|
3681
|
+
hasPrintRestriction: "hasPrintRestriction";
|
|
3682
|
+
hasPrintRestrictionValue: "hasPrintRestrictionValue";
|
|
3639
3683
|
isCaseSensitive: "isCaseSensitive";
|
|
3640
3684
|
isCommented: "isCommented";
|
|
3641
3685
|
isCorrect: "isCorrect";
|
|
@@ -3654,6 +3698,7 @@ declare const NodeType: Readonly<{
|
|
|
3654
3698
|
isTracked: "isTracked";
|
|
3655
3699
|
isTrackedValue: "isTrackedValue";
|
|
3656
3700
|
item: "item";
|
|
3701
|
+
itemValue: "itemValue";
|
|
3657
3702
|
itemLead: "itemLead";
|
|
3658
3703
|
jobTitle: "jobTitle";
|
|
3659
3704
|
jobTitleValue: "jobTitleValue";
|
|
@@ -3680,6 +3725,7 @@ declare const NodeType: Readonly<{
|
|
|
3680
3725
|
layerRoleValue: "layerRoleValue";
|
|
3681
3726
|
layerValue: "layerValue";
|
|
3682
3727
|
lead: "lead";
|
|
3728
|
+
leadValue: "leadValue";
|
|
3683
3729
|
level: "level";
|
|
3684
3730
|
levelACTFL: "levelACTFL";
|
|
3685
3731
|
levelACTFLValue: "levelACTFLValue";
|
|
@@ -3701,6 +3747,7 @@ declare const NodeType: Readonly<{
|
|
|
3701
3747
|
machineTranslatedValue: "machineTranslatedValue";
|
|
3702
3748
|
mailingList: "mailingList";
|
|
3703
3749
|
marginNumber: "marginNumber";
|
|
3750
|
+
marginNumberValue: "marginNumberValue";
|
|
3704
3751
|
mark: "mark";
|
|
3705
3752
|
markConfig: "markConfig";
|
|
3706
3753
|
markConfigValue: "markConfigValue";
|
|
@@ -3728,6 +3775,7 @@ declare const NodeType: Readonly<{
|
|
|
3728
3775
|
pageNo: "pageNo";
|
|
3729
3776
|
pageNoValue: "pageNoValue";
|
|
3730
3777
|
pageNumber: "pageNumber";
|
|
3778
|
+
pageNumberValue: "pageNumberValue";
|
|
3731
3779
|
pageValue: "pageValue";
|
|
3732
3780
|
pairs: "pairs";
|
|
3733
3781
|
pairsValue: "pairsValue";
|
|
@@ -3811,6 +3859,7 @@ declare const NodeType: Readonly<{
|
|
|
3811
3859
|
publisherValue: "publisherValue";
|
|
3812
3860
|
quantity: "quantity";
|
|
3813
3861
|
question: "question";
|
|
3862
|
+
questionValue: "questionValue";
|
|
3814
3863
|
questions: "questions";
|
|
3815
3864
|
questionsValue: "questionsValue";
|
|
3816
3865
|
quizCountItems: "quizCountItems";
|
|
@@ -3862,6 +3911,10 @@ declare const NodeType: Readonly<{
|
|
|
3862
3911
|
responsesValue: "responsesValue";
|
|
3863
3912
|
revealSolutions: "revealSolutions";
|
|
3864
3913
|
root: "root";
|
|
3914
|
+
rows: "rows";
|
|
3915
|
+
rowsValue: "rowsValue";
|
|
3916
|
+
rubric: "rubric";
|
|
3917
|
+
rubricValue: "rubricValue";
|
|
3865
3918
|
sampleSolution: "sampleSolution";
|
|
3866
3919
|
sampleSolutionValue: "sampleSolutionValue";
|
|
3867
3920
|
scormSource: "scormSource";
|
|
@@ -4159,6 +4212,7 @@ declare const NodeType: Readonly<{
|
|
|
4159
4212
|
durationValue: "durationValue";
|
|
4160
4213
|
elements: "elements";
|
|
4161
4214
|
elementsValue: "elementsValue";
|
|
4215
|
+
elementsValueValue: "elementsValueValue";
|
|
4162
4216
|
emphasis: "emphasis";
|
|
4163
4217
|
end: "end";
|
|
4164
4218
|
errors: "errors";
|
|
@@ -4187,6 +4241,7 @@ declare const NodeType: Readonly<{
|
|
|
4187
4241
|
focusY: "focusY";
|
|
4188
4242
|
focusYValue: "focusYValue";
|
|
4189
4243
|
footer: "footer";
|
|
4244
|
+
footerValue: "footerValue";
|
|
4190
4245
|
footerText: "footerText";
|
|
4191
4246
|
forKeys: "forKeys";
|
|
4192
4247
|
format: "format";
|
|
@@ -4209,11 +4264,13 @@ declare const NodeType: Readonly<{
|
|
|
4209
4264
|
hasBookNavigationValue: "hasBookNavigationValue";
|
|
4210
4265
|
hasMarkAsDone: "hasMarkAsDone";
|
|
4211
4266
|
hasMarkAsDoneValue: "hasMarkAsDoneValue";
|
|
4267
|
+
head: "head";
|
|
4212
4268
|
heading: "heading";
|
|
4213
4269
|
height: "height";
|
|
4214
4270
|
heightValue: "heightValue";
|
|
4215
4271
|
highlight: "highlight";
|
|
4216
4272
|
hint: "hint";
|
|
4273
|
+
hintValue: "hintValue";
|
|
4217
4274
|
href: "href";
|
|
4218
4275
|
icon: "icon";
|
|
4219
4276
|
iconTag: "iconTag";
|
|
@@ -4235,10 +4292,13 @@ declare const NodeType: Readonly<{
|
|
|
4235
4292
|
ingredients: "ingredients";
|
|
4236
4293
|
ingredientsValue: "ingredientsValue";
|
|
4237
4294
|
instruction: "instruction";
|
|
4295
|
+
instructionValue: "instructionValue";
|
|
4238
4296
|
internalComment: "internalComment";
|
|
4239
4297
|
internalCommentValue: "internalCommentValue";
|
|
4240
4298
|
internalPrintPdf: "internalPrintPdf";
|
|
4241
4299
|
internalPrintPdfValue: "internalPrintPdfValue";
|
|
4300
|
+
hasPrintRestriction: "hasPrintRestriction";
|
|
4301
|
+
hasPrintRestrictionValue: "hasPrintRestrictionValue";
|
|
4242
4302
|
isCaseSensitive: "isCaseSensitive";
|
|
4243
4303
|
isCommented: "isCommented";
|
|
4244
4304
|
isCorrect: "isCorrect";
|
|
@@ -4257,6 +4317,7 @@ declare const NodeType: Readonly<{
|
|
|
4257
4317
|
isTracked: "isTracked";
|
|
4258
4318
|
isTrackedValue: "isTrackedValue";
|
|
4259
4319
|
item: "item";
|
|
4320
|
+
itemValue: "itemValue";
|
|
4260
4321
|
itemLead: "itemLead";
|
|
4261
4322
|
jobTitle: "jobTitle";
|
|
4262
4323
|
jobTitleValue: "jobTitleValue";
|
|
@@ -4283,6 +4344,7 @@ declare const NodeType: Readonly<{
|
|
|
4283
4344
|
layerRoleValue: "layerRoleValue";
|
|
4284
4345
|
layerValue: "layerValue";
|
|
4285
4346
|
lead: "lead";
|
|
4347
|
+
leadValue: "leadValue";
|
|
4286
4348
|
level: "level";
|
|
4287
4349
|
levelACTFL: "levelACTFL";
|
|
4288
4350
|
levelACTFLValue: "levelACTFLValue";
|
|
@@ -4304,6 +4366,7 @@ declare const NodeType: Readonly<{
|
|
|
4304
4366
|
machineTranslatedValue: "machineTranslatedValue";
|
|
4305
4367
|
mailingList: "mailingList";
|
|
4306
4368
|
marginNumber: "marginNumber";
|
|
4369
|
+
marginNumberValue: "marginNumberValue";
|
|
4307
4370
|
mark: "mark";
|
|
4308
4371
|
markConfig: "markConfig";
|
|
4309
4372
|
markConfigValue: "markConfigValue";
|
|
@@ -4331,6 +4394,7 @@ declare const NodeType: Readonly<{
|
|
|
4331
4394
|
pageNo: "pageNo";
|
|
4332
4395
|
pageNoValue: "pageNoValue";
|
|
4333
4396
|
pageNumber: "pageNumber";
|
|
4397
|
+
pageNumberValue: "pageNumberValue";
|
|
4334
4398
|
pageValue: "pageValue";
|
|
4335
4399
|
pairs: "pairs";
|
|
4336
4400
|
pairsValue: "pairsValue";
|
|
@@ -4414,6 +4478,7 @@ declare const NodeType: Readonly<{
|
|
|
4414
4478
|
publisherValue: "publisherValue";
|
|
4415
4479
|
quantity: "quantity";
|
|
4416
4480
|
question: "question";
|
|
4481
|
+
questionValue: "questionValue";
|
|
4417
4482
|
questions: "questions";
|
|
4418
4483
|
questionsValue: "questionsValue";
|
|
4419
4484
|
quizCountItems: "quizCountItems";
|
|
@@ -4465,6 +4530,10 @@ declare const NodeType: Readonly<{
|
|
|
4465
4530
|
responsesValue: "responsesValue";
|
|
4466
4531
|
revealSolutions: "revealSolutions";
|
|
4467
4532
|
root: "root";
|
|
4533
|
+
rows: "rows";
|
|
4534
|
+
rowsValue: "rowsValue";
|
|
4535
|
+
rubric: "rubric";
|
|
4536
|
+
rubricValue: "rubricValue";
|
|
4468
4537
|
sampleSolution: "sampleSolution";
|
|
4469
4538
|
sampleSolutionValue: "sampleSolutionValue";
|
|
4470
4539
|
scormSource: "scormSource";
|
|
@@ -5231,6 +5300,7 @@ declare const CardSetConfigKey: Readonly<{
|
|
|
5231
5300
|
matchImagePairs: "matchImagePairs";
|
|
5232
5301
|
matchMatrix: "matchMatrix";
|
|
5233
5302
|
table: "table";
|
|
5303
|
+
tableExtended: "tableExtended";
|
|
5234
5304
|
pronunciationTable: "pronunciationTable";
|
|
5235
5305
|
botActionResponses: "botActionResponses";
|
|
5236
5306
|
exampleBitList: "exampleBitList";
|
|
@@ -5250,6 +5320,7 @@ declare const CardSetConfigKey: Readonly<{
|
|
|
5250
5320
|
matchImagePairs: "matchImagePairs";
|
|
5251
5321
|
matchMatrix: "matchMatrix";
|
|
5252
5322
|
table: "table";
|
|
5323
|
+
tableExtended: "tableExtended";
|
|
5253
5324
|
pronunciationTable: "pronunciationTable";
|
|
5254
5325
|
botActionResponses: "botActionResponses";
|
|
5255
5326
|
exampleBitList: "exampleBitList";
|
|
@@ -5618,6 +5689,7 @@ declare class Builder extends BaseBuilder {
|
|
|
5618
5689
|
maxTocChapterLevel?: number;
|
|
5619
5690
|
sourceDocument?: string;
|
|
5620
5691
|
internalPrintPdf?: string;
|
|
5692
|
+
hasPrintRestriction?: boolean;
|
|
5621
5693
|
tocResource?: string | string[];
|
|
5622
5694
|
tocContent?: string | string[];
|
|
5623
5695
|
page?: string | string[];
|
|
@@ -5677,7 +5749,7 @@ declare class Builder extends BaseBuilder {
|
|
|
5677
5749
|
sampleSolution?: string;
|
|
5678
5750
|
additionalSolutions?: string | string[];
|
|
5679
5751
|
heading?: Partial<HeadingJson>;
|
|
5680
|
-
elements?:
|
|
5752
|
+
elements?: JsonText[];
|
|
5681
5753
|
flashcards?: Partial<FlashcardJson>[];
|
|
5682
5754
|
definitions?: Partial<DefinitionListItemJson>[];
|
|
5683
5755
|
legend?: Partial<DefinitionListItemJson>[];
|
|
@@ -5688,7 +5760,7 @@ declare class Builder extends BaseBuilder {
|
|
|
5688
5760
|
pairs?: Partial<PairJson>[];
|
|
5689
5761
|
matrix?: Partial<MatrixJson>[];
|
|
5690
5762
|
pronunciationTable?: Partial<PronunciationTableJson>;
|
|
5691
|
-
table?: Partial<TableJson>;
|
|
5763
|
+
table?: Partial<TableJson | TableExtendedJson>;
|
|
5692
5764
|
choices?: Partial<ChoiceJson>[];
|
|
5693
5765
|
questions?: Partial<QuestionJson>[];
|
|
5694
5766
|
botResponses?: Partial<BotResponseJson>[];
|
|
@@ -5868,12 +5940,12 @@ declare class Builder extends BaseBuilder {
|
|
|
5868
5940
|
*/
|
|
5869
5941
|
protected buildPronunciationTable(context: BuildContext, dataIn: Partial<PronunciationTableJson> | undefined): PronunciationTableJson | undefined;
|
|
5870
5942
|
/**
|
|
5871
|
-
* Build table node
|
|
5943
|
+
* Build table / table extended node
|
|
5872
5944
|
*
|
|
5873
5945
|
* @param data - data for the node
|
|
5874
5946
|
* @returns
|
|
5875
5947
|
*/
|
|
5876
|
-
protected buildTable(context: BuildContext, dataIn: Partial<TableJson> | undefined): TableJson | undefined;
|
|
5948
|
+
protected buildTable(context: BuildContext, dataIn: Partial<TableJson | TableExtendedJson> | undefined): TableJson | TableExtendedJson | undefined;
|
|
5877
5949
|
/**
|
|
5878
5950
|
* Build question[] node
|
|
5879
5951
|
*
|
|
@@ -6739,6 +6811,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
|
|
|
6739
6811
|
private hasCardSet;
|
|
6740
6812
|
private hasFooter;
|
|
6741
6813
|
private inTag;
|
|
6814
|
+
private skipTableTraversal;
|
|
6742
6815
|
/**
|
|
6743
6816
|
* Generate bitmark markup from a bitmark AST
|
|
6744
6817
|
*
|
|
@@ -6842,7 +6915,12 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
|
|
|
6842
6915
|
protected enter_values(_node: NodeInfo, _route: NodeInfo[]): void;
|
|
6843
6916
|
protected between_values(_node: NodeInfo, _left: NodeInfo, _right: NodeInfo, _route: NodeInfo[]): void;
|
|
6844
6917
|
protected between_pronunciationTable(_node: NodeInfo, _left: NodeInfo, _right: NodeInfo, route: NodeInfo[]): void;
|
|
6918
|
+
protected enter_table(node: NodeInfo, route: NodeInfo[]): boolean | void;
|
|
6845
6919
|
protected between_table(_node: NodeInfo, _left: NodeInfo, _right: NodeInfo, route: NodeInfo[]): void;
|
|
6920
|
+
private writeAdvancedTable;
|
|
6921
|
+
private writeTableRow;
|
|
6922
|
+
private writeTableCell;
|
|
6923
|
+
private writeTableCellProperty;
|
|
6846
6924
|
protected between_data(_node: NodeInfo, _left: NodeInfo, _right: NodeInfo, route: NodeInfo[]): void;
|
|
6847
6925
|
protected between_columns(_node: NodeInfo, _left: NodeInfo, _right: NodeInfo, route: NodeInfo[]): void;
|
|
6848
6926
|
protected leaf_columnsValue(node: NodeInfo, _route: NodeInfo[]): void;
|
|
@@ -6893,7 +6971,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
|
|
|
6893
6971
|
protected leaf_refPublicationYear(node: NodeInfo, route: NodeInfo[]): void;
|
|
6894
6972
|
protected leaf_citationStyle(node: NodeInfo, route: NodeInfo[]): void;
|
|
6895
6973
|
protected leaf_isExample(node: NodeInfo, route: NodeInfo[]): void;
|
|
6896
|
-
protected
|
|
6974
|
+
protected enter_elementsValue(node: NodeInfo, _route: NodeInfo[]): void;
|
|
6897
6975
|
protected leaf_solutionsValue(node: NodeInfo, route: NodeInfo[]): void;
|
|
6898
6976
|
protected leaf_prefix(node: NodeInfo, _route: NodeInfo[]): void;
|
|
6899
6977
|
protected leaf_postfix(node: NodeInfo, _route: NodeInfo[]): void;
|
|
@@ -6903,6 +6981,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
|
|
|
6903
6981
|
protected leaf_forValuesValue(node: NodeInfo, _route: NodeInfo[]): void;
|
|
6904
6982
|
protected leaf_key(node: NodeInfo, _route: NodeInfo[]): void;
|
|
6905
6983
|
protected leaf_valuesValue(node: NodeInfo, _route: NodeInfo[]): void;
|
|
6984
|
+
protected enter_question(node: NodeInfo, route: NodeInfo[]): void;
|
|
6906
6985
|
protected leaf_question(node: NodeInfo, route: NodeInfo[]): void;
|
|
6907
6986
|
protected leaf_srcAltValue(node: NodeInfo, route: NodeInfo[]): void;
|
|
6908
6987
|
protected leaf_src1x(node: NodeInfo, route: NodeInfo[]): void;
|
|
@@ -7008,9 +7087,11 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
|
|
|
7008
7087
|
protected writePlainTextDivider(): void;
|
|
7009
7088
|
protected writeCardSetStart(): void;
|
|
7010
7089
|
protected writeCardSetEnd(): void;
|
|
7011
|
-
protected writeCardSetCardDivider(): void;
|
|
7090
|
+
protected writeCardSetCardDivider(qualifier?: string): void;
|
|
7012
7091
|
protected writeCardSetSideDivider(): void;
|
|
7013
7092
|
protected writeCardSetVariantDivider(): void;
|
|
7093
|
+
private getCardDividerMarker;
|
|
7094
|
+
private appendCardDividerQualifier;
|
|
7014
7095
|
protected writeNL_IfNotChain(route: NodeInfo[]): void;
|
|
7015
7096
|
protected writeNL(): void;
|
|
7016
7097
|
protected writePropertyStyleResource(key: string, resource: ResourceJson, deprecated_writeAsProperty?: boolean): boolean | void;
|
|
@@ -7030,6 +7111,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
|
|
|
7030
7111
|
protected isEmptyText(text: TextAst | undefined): boolean;
|
|
7031
7112
|
protected isWriteTextFormat(bitsValue: string, textFormatDefault: TextFormatType): boolean;
|
|
7032
7113
|
protected calculateIsCardAllowed(): boolean;
|
|
7114
|
+
protected isTableBitType(): boolean;
|
|
7033
7115
|
protected isOfBitType1(): boolean;
|
|
7034
7116
|
protected isOfBitType(baseBitType: BitTypeType | BitTypeType[]): boolean;
|
|
7035
7117
|
/**
|