@gmb/bitmark-parser-generator 4.14.0 → 4.15.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
@@ -117,6 +117,9 @@ declare const BitType: Readonly<{
117
117
  bugAlt: "bug-alt";
118
118
  bugCollapsible: "bug-collapsible";
119
119
  buttonCopyText: "button-copy-text";
120
+ catalogItemBook: "catalog-item-book";
121
+ catalogItemExternalBook: "catalog-item-external-book";
122
+ catalogItemProduct: "catalog-item-product";
120
123
  callToAction: "call-to-action";
121
124
  callToActionBookNow: "call-to-action-book-now";
122
125
  callToActionContact: "call-to-action-contact";
@@ -238,8 +241,8 @@ declare const BitType: Readonly<{
238
241
  extractorAiChat: "extractor-ai-chat";
239
242
  extractorBlock: "extractor-block";
240
243
  extractorConfiguration: "extractor-configuration";
241
- extractorImage: "extractor-image";
242
- extractorImageCollapsible: "extractor-image-collapsible";
244
+ extractorImages: "extractor-images";
245
+ extractorImagesCollapsible: "extractor-images-collapsible";
243
246
  extractorInformation: "extractor-information";
244
247
  extractorPage: "extractor-page";
245
248
  extractorPageCollapsible: "extractor-page-collapsible";
@@ -728,6 +731,9 @@ declare const BitType: Readonly<{
728
731
  bugAlt: "bug-alt";
729
732
  bugCollapsible: "bug-collapsible";
730
733
  buttonCopyText: "button-copy-text";
734
+ catalogItemBook: "catalog-item-book";
735
+ catalogItemExternalBook: "catalog-item-external-book";
736
+ catalogItemProduct: "catalog-item-product";
731
737
  callToAction: "call-to-action";
732
738
  callToActionBookNow: "call-to-action-book-now";
733
739
  callToActionContact: "call-to-action-contact";
@@ -849,8 +855,8 @@ declare const BitType: Readonly<{
849
855
  extractorAiChat: "extractor-ai-chat";
850
856
  extractorBlock: "extractor-block";
851
857
  extractorConfiguration: "extractor-configuration";
852
- extractorImage: "extractor-image";
853
- extractorImageCollapsible: "extractor-image-collapsible";
858
+ extractorImages: "extractor-images";
859
+ extractorImagesCollapsible: "extractor-images-collapsible";
854
860
  extractorInformation: "extractor-information";
855
861
  extractorPage: "extractor-page";
856
862
  extractorPageCollapsible: "extractor-page-collapsible";
@@ -1350,6 +1356,9 @@ declare const ConfigKey: Readonly<{
1350
1356
  property_colorTag: "@colorTag";
1351
1357
  property_computerLanguage: "@computerLanguage";
1352
1358
  property_content2Buy: "@content2Buy";
1359
+ property_listPrice: "@listPrice";
1360
+ property_customerProductId: "@customerProductId";
1361
+ property_customerProductShopLink: "@customerProductShopLink";
1353
1362
  property_copyright: "@copyright";
1354
1363
  property_coverColor: "@coverColor";
1355
1364
  property_coverImage: "@coverImage";
@@ -1423,6 +1432,7 @@ declare const ConfigKey: Readonly<{
1423
1432
  property_listItemIndent: "@listItemIndent";
1424
1433
  property_location: "@location";
1425
1434
  property_machineTranslated: "@machineTranslated";
1435
+ property_spansPageBreak: "@spansPageBreak";
1426
1436
  property_mailingList: "@mailingList";
1427
1437
  property_mark: "@mark";
1428
1438
  property_maxCreatedBits: "@maxCreatedBits";
@@ -1672,6 +1682,9 @@ declare const ConfigKey: Readonly<{
1672
1682
  property_colorTag: "@colorTag";
1673
1683
  property_computerLanguage: "@computerLanguage";
1674
1684
  property_content2Buy: "@content2Buy";
1685
+ property_listPrice: "@listPrice";
1686
+ property_customerProductId: "@customerProductId";
1687
+ property_customerProductShopLink: "@customerProductShopLink";
1675
1688
  property_copyright: "@copyright";
1676
1689
  property_coverColor: "@coverColor";
1677
1690
  property_coverImage: "@coverImage";
@@ -1745,6 +1758,7 @@ declare const ConfigKey: Readonly<{
1745
1758
  property_listItemIndent: "@listItemIndent";
1746
1759
  property_location: "@location";
1747
1760
  property_machineTranslated: "@machineTranslated";
1761
+ property_spansPageBreak: "@spansPageBreak";
1748
1762
  property_mailingList: "@mailingList";
1749
1763
  property_mark: "@mark";
1750
1764
  property_maxCreatedBits: "@maxCreatedBits";
@@ -2598,6 +2612,7 @@ interface BitJson {
2598
2612
  isEditable: boolean;
2599
2613
  aiGenerated: boolean;
2600
2614
  machineTranslated: string;
2615
+ spansPageBreak: boolean;
2601
2616
  searchIndex: string | string[];
2602
2617
  analyticsTag: string | string[];
2603
2618
  categoryTag: string | string[];
@@ -2720,6 +2735,9 @@ interface BitJson {
2720
2735
  labelTrue: string;
2721
2736
  labelFalse: string;
2722
2737
  content2Buy: string;
2738
+ listPrice: string;
2739
+ customerProductId: string;
2740
+ customerProductShopLink: string;
2723
2741
  mailingList: string;
2724
2742
  buttonCaption: string;
2725
2743
  callToActionUrl: string;
@@ -3018,9 +3036,9 @@ interface TableJson {
3018
3036
  data: JsonText[][];
3019
3037
  }
3020
3038
  interface TableExtendedJson {
3021
- head?: TableSectionJson;
3039
+ header?: TableSectionJson;
3022
3040
  body?: TableSectionJson;
3023
- foot?: TableSectionJson;
3041
+ footer?: TableSectionJson;
3024
3042
  }
3025
3043
  interface TableSectionJson {
3026
3044
  rows: TableRowJson[];
@@ -3160,6 +3178,7 @@ interface Bit {
3160
3178
  isEditable?: Property;
3161
3179
  aiGenerated?: Property;
3162
3180
  machineTranslated?: Property;
3181
+ spansPageBreak?: Property;
3163
3182
  searchIndex?: Property;
3164
3183
  analyticsTag?: Property;
3165
3184
  categoryTag?: Property;
@@ -3292,6 +3311,9 @@ interface Bit {
3292
3311
  labelTrue?: Property;
3293
3312
  labelFalse?: Property;
3294
3313
  content2Buy?: Property;
3314
+ listPrice?: Property;
3315
+ customerProductId?: Property;
3316
+ customerProductShopLink?: Property;
3295
3317
  mailingList?: Property;
3296
3318
  buttonCaption?: Property;
3297
3319
  callToActionUrl?: Property;
@@ -3559,6 +3581,8 @@ declare const NodeType: Readonly<{
3559
3581
  customerExternalId: "customerExternalId";
3560
3582
  customerId: "customerId";
3561
3583
  customerIdValue: "customerIdValue";
3584
+ customerProductId: "customerProductId";
3585
+ customerProductShopLink: "customerProductShopLink";
3562
3586
  data: "data";
3563
3587
  dataValue: "dataValue";
3564
3588
  dataValueValue: "dataValueValue";
@@ -3740,11 +3764,14 @@ declare const NodeType: Readonly<{
3740
3764
  list: "list";
3741
3765
  listItemIndent: "listItemIndent";
3742
3766
  listItemIndentValue: "listItemIndentValue";
3767
+ listPrice: "listPrice";
3743
3768
  listValue: "listValue";
3744
3769
  location: "location";
3745
3770
  locationValue: "locationValue";
3746
3771
  machineTranslated: "machineTranslated";
3747
3772
  machineTranslatedValue: "machineTranslatedValue";
3773
+ spansPageBreak: "spansPageBreak";
3774
+ spansPageBreakValue: "spansPageBreakValue";
3748
3775
  mailingList: "mailingList";
3749
3776
  marginNumber: "marginNumber";
3750
3777
  marginNumberValue: "marginNumberValue";
@@ -4178,6 +4205,8 @@ declare const NodeType: Readonly<{
4178
4205
  customerExternalId: "customerExternalId";
4179
4206
  customerId: "customerId";
4180
4207
  customerIdValue: "customerIdValue";
4208
+ customerProductId: "customerProductId";
4209
+ customerProductShopLink: "customerProductShopLink";
4181
4210
  data: "data";
4182
4211
  dataValue: "dataValue";
4183
4212
  dataValueValue: "dataValueValue";
@@ -4359,11 +4388,14 @@ declare const NodeType: Readonly<{
4359
4388
  list: "list";
4360
4389
  listItemIndent: "listItemIndent";
4361
4390
  listItemIndentValue: "listItemIndentValue";
4391
+ listPrice: "listPrice";
4362
4392
  listValue: "listValue";
4363
4393
  location: "location";
4364
4394
  locationValue: "locationValue";
4365
4395
  machineTranslated: "machineTranslated";
4366
4396
  machineTranslatedValue: "machineTranslatedValue";
4397
+ spansPageBreak: "spansPageBreak";
4398
+ spansPageBreakValue: "spansPageBreakValue";
4367
4399
  mailingList: "mailingList";
4368
4400
  marginNumber: "marginNumber";
4369
4401
  marginNumberValue: "marginNumberValue";
@@ -5541,6 +5573,7 @@ declare class Builder extends BaseBuilder {
5541
5573
  isEditable?: boolean;
5542
5574
  aiGenerated?: boolean;
5543
5575
  machineTranslated?: string;
5576
+ spansPageBreak?: boolean;
5544
5577
  searchIndex?: string | string[];
5545
5578
  analyticsTag?: string | string[];
5546
5579
  categoryTag?: string | string[];
@@ -5669,6 +5702,9 @@ declare class Builder extends BaseBuilder {
5669
5702
  labelTrue?: string;
5670
5703
  labelFalse?: string;
5671
5704
  content2Buy?: string;
5705
+ listPrice?: string;
5706
+ customerProductId?: string;
5707
+ customerProductShopLink?: string;
5672
5708
  mailingList?: string;
5673
5709
  buttonCaption?: string;
5674
5710
  callToActionUrl?: string;
@@ -6971,7 +7007,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6971
7007
  protected leaf_refPublicationYear(node: NodeInfo, route: NodeInfo[]): void;
6972
7008
  protected leaf_citationStyle(node: NodeInfo, route: NodeInfo[]): void;
6973
7009
  protected leaf_isExample(node: NodeInfo, route: NodeInfo[]): void;
6974
- protected enter_elementsValue(node: NodeInfo, _route: NodeInfo[]): void;
7010
+ protected enter_elementsValue(node: NodeInfo, _route: NodeInfo[]): boolean;
6975
7011
  protected leaf_solutionsValue(node: NodeInfo, route: NodeInfo[]): void;
6976
7012
  protected leaf_prefix(node: NodeInfo, _route: NodeInfo[]): void;
6977
7013
  protected leaf_postfix(node: NodeInfo, _route: NodeInfo[]): void;
@@ -6981,7 +7017,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6981
7017
  protected leaf_forValuesValue(node: NodeInfo, _route: NodeInfo[]): void;
6982
7018
  protected leaf_key(node: NodeInfo, _route: NodeInfo[]): void;
6983
7019
  protected leaf_valuesValue(node: NodeInfo, _route: NodeInfo[]): void;
6984
- protected enter_question(node: NodeInfo, route: NodeInfo[]): void;
7020
+ protected enter_question(node: NodeInfo, route: NodeInfo[]): boolean;
6985
7021
  protected leaf_question(node: NodeInfo, route: NodeInfo[]): void;
6986
7022
  protected leaf_srcAltValue(node: NodeInfo, route: NodeInfo[]): void;
6987
7023
  protected leaf_src1x(node: NodeInfo, route: NodeInfo[]): void;
package/dist/index.d.ts CHANGED
@@ -117,6 +117,9 @@ declare const BitType: Readonly<{
117
117
  bugAlt: "bug-alt";
118
118
  bugCollapsible: "bug-collapsible";
119
119
  buttonCopyText: "button-copy-text";
120
+ catalogItemBook: "catalog-item-book";
121
+ catalogItemExternalBook: "catalog-item-external-book";
122
+ catalogItemProduct: "catalog-item-product";
120
123
  callToAction: "call-to-action";
121
124
  callToActionBookNow: "call-to-action-book-now";
122
125
  callToActionContact: "call-to-action-contact";
@@ -238,8 +241,8 @@ declare const BitType: Readonly<{
238
241
  extractorAiChat: "extractor-ai-chat";
239
242
  extractorBlock: "extractor-block";
240
243
  extractorConfiguration: "extractor-configuration";
241
- extractorImage: "extractor-image";
242
- extractorImageCollapsible: "extractor-image-collapsible";
244
+ extractorImages: "extractor-images";
245
+ extractorImagesCollapsible: "extractor-images-collapsible";
243
246
  extractorInformation: "extractor-information";
244
247
  extractorPage: "extractor-page";
245
248
  extractorPageCollapsible: "extractor-page-collapsible";
@@ -728,6 +731,9 @@ declare const BitType: Readonly<{
728
731
  bugAlt: "bug-alt";
729
732
  bugCollapsible: "bug-collapsible";
730
733
  buttonCopyText: "button-copy-text";
734
+ catalogItemBook: "catalog-item-book";
735
+ catalogItemExternalBook: "catalog-item-external-book";
736
+ catalogItemProduct: "catalog-item-product";
731
737
  callToAction: "call-to-action";
732
738
  callToActionBookNow: "call-to-action-book-now";
733
739
  callToActionContact: "call-to-action-contact";
@@ -849,8 +855,8 @@ declare const BitType: Readonly<{
849
855
  extractorAiChat: "extractor-ai-chat";
850
856
  extractorBlock: "extractor-block";
851
857
  extractorConfiguration: "extractor-configuration";
852
- extractorImage: "extractor-image";
853
- extractorImageCollapsible: "extractor-image-collapsible";
858
+ extractorImages: "extractor-images";
859
+ extractorImagesCollapsible: "extractor-images-collapsible";
854
860
  extractorInformation: "extractor-information";
855
861
  extractorPage: "extractor-page";
856
862
  extractorPageCollapsible: "extractor-page-collapsible";
@@ -1350,6 +1356,9 @@ declare const ConfigKey: Readonly<{
1350
1356
  property_colorTag: "@colorTag";
1351
1357
  property_computerLanguage: "@computerLanguage";
1352
1358
  property_content2Buy: "@content2Buy";
1359
+ property_listPrice: "@listPrice";
1360
+ property_customerProductId: "@customerProductId";
1361
+ property_customerProductShopLink: "@customerProductShopLink";
1353
1362
  property_copyright: "@copyright";
1354
1363
  property_coverColor: "@coverColor";
1355
1364
  property_coverImage: "@coverImage";
@@ -1423,6 +1432,7 @@ declare const ConfigKey: Readonly<{
1423
1432
  property_listItemIndent: "@listItemIndent";
1424
1433
  property_location: "@location";
1425
1434
  property_machineTranslated: "@machineTranslated";
1435
+ property_spansPageBreak: "@spansPageBreak";
1426
1436
  property_mailingList: "@mailingList";
1427
1437
  property_mark: "@mark";
1428
1438
  property_maxCreatedBits: "@maxCreatedBits";
@@ -1672,6 +1682,9 @@ declare const ConfigKey: Readonly<{
1672
1682
  property_colorTag: "@colorTag";
1673
1683
  property_computerLanguage: "@computerLanguage";
1674
1684
  property_content2Buy: "@content2Buy";
1685
+ property_listPrice: "@listPrice";
1686
+ property_customerProductId: "@customerProductId";
1687
+ property_customerProductShopLink: "@customerProductShopLink";
1675
1688
  property_copyright: "@copyright";
1676
1689
  property_coverColor: "@coverColor";
1677
1690
  property_coverImage: "@coverImage";
@@ -1745,6 +1758,7 @@ declare const ConfigKey: Readonly<{
1745
1758
  property_listItemIndent: "@listItemIndent";
1746
1759
  property_location: "@location";
1747
1760
  property_machineTranslated: "@machineTranslated";
1761
+ property_spansPageBreak: "@spansPageBreak";
1748
1762
  property_mailingList: "@mailingList";
1749
1763
  property_mark: "@mark";
1750
1764
  property_maxCreatedBits: "@maxCreatedBits";
@@ -2598,6 +2612,7 @@ interface BitJson {
2598
2612
  isEditable: boolean;
2599
2613
  aiGenerated: boolean;
2600
2614
  machineTranslated: string;
2615
+ spansPageBreak: boolean;
2601
2616
  searchIndex: string | string[];
2602
2617
  analyticsTag: string | string[];
2603
2618
  categoryTag: string | string[];
@@ -2720,6 +2735,9 @@ interface BitJson {
2720
2735
  labelTrue: string;
2721
2736
  labelFalse: string;
2722
2737
  content2Buy: string;
2738
+ listPrice: string;
2739
+ customerProductId: string;
2740
+ customerProductShopLink: string;
2723
2741
  mailingList: string;
2724
2742
  buttonCaption: string;
2725
2743
  callToActionUrl: string;
@@ -3018,9 +3036,9 @@ interface TableJson {
3018
3036
  data: JsonText[][];
3019
3037
  }
3020
3038
  interface TableExtendedJson {
3021
- head?: TableSectionJson;
3039
+ header?: TableSectionJson;
3022
3040
  body?: TableSectionJson;
3023
- foot?: TableSectionJson;
3041
+ footer?: TableSectionJson;
3024
3042
  }
3025
3043
  interface TableSectionJson {
3026
3044
  rows: TableRowJson[];
@@ -3160,6 +3178,7 @@ interface Bit {
3160
3178
  isEditable?: Property;
3161
3179
  aiGenerated?: Property;
3162
3180
  machineTranslated?: Property;
3181
+ spansPageBreak?: Property;
3163
3182
  searchIndex?: Property;
3164
3183
  analyticsTag?: Property;
3165
3184
  categoryTag?: Property;
@@ -3292,6 +3311,9 @@ interface Bit {
3292
3311
  labelTrue?: Property;
3293
3312
  labelFalse?: Property;
3294
3313
  content2Buy?: Property;
3314
+ listPrice?: Property;
3315
+ customerProductId?: Property;
3316
+ customerProductShopLink?: Property;
3295
3317
  mailingList?: Property;
3296
3318
  buttonCaption?: Property;
3297
3319
  callToActionUrl?: Property;
@@ -3559,6 +3581,8 @@ declare const NodeType: Readonly<{
3559
3581
  customerExternalId: "customerExternalId";
3560
3582
  customerId: "customerId";
3561
3583
  customerIdValue: "customerIdValue";
3584
+ customerProductId: "customerProductId";
3585
+ customerProductShopLink: "customerProductShopLink";
3562
3586
  data: "data";
3563
3587
  dataValue: "dataValue";
3564
3588
  dataValueValue: "dataValueValue";
@@ -3740,11 +3764,14 @@ declare const NodeType: Readonly<{
3740
3764
  list: "list";
3741
3765
  listItemIndent: "listItemIndent";
3742
3766
  listItemIndentValue: "listItemIndentValue";
3767
+ listPrice: "listPrice";
3743
3768
  listValue: "listValue";
3744
3769
  location: "location";
3745
3770
  locationValue: "locationValue";
3746
3771
  machineTranslated: "machineTranslated";
3747
3772
  machineTranslatedValue: "machineTranslatedValue";
3773
+ spansPageBreak: "spansPageBreak";
3774
+ spansPageBreakValue: "spansPageBreakValue";
3748
3775
  mailingList: "mailingList";
3749
3776
  marginNumber: "marginNumber";
3750
3777
  marginNumberValue: "marginNumberValue";
@@ -4178,6 +4205,8 @@ declare const NodeType: Readonly<{
4178
4205
  customerExternalId: "customerExternalId";
4179
4206
  customerId: "customerId";
4180
4207
  customerIdValue: "customerIdValue";
4208
+ customerProductId: "customerProductId";
4209
+ customerProductShopLink: "customerProductShopLink";
4181
4210
  data: "data";
4182
4211
  dataValue: "dataValue";
4183
4212
  dataValueValue: "dataValueValue";
@@ -4359,11 +4388,14 @@ declare const NodeType: Readonly<{
4359
4388
  list: "list";
4360
4389
  listItemIndent: "listItemIndent";
4361
4390
  listItemIndentValue: "listItemIndentValue";
4391
+ listPrice: "listPrice";
4362
4392
  listValue: "listValue";
4363
4393
  location: "location";
4364
4394
  locationValue: "locationValue";
4365
4395
  machineTranslated: "machineTranslated";
4366
4396
  machineTranslatedValue: "machineTranslatedValue";
4397
+ spansPageBreak: "spansPageBreak";
4398
+ spansPageBreakValue: "spansPageBreakValue";
4367
4399
  mailingList: "mailingList";
4368
4400
  marginNumber: "marginNumber";
4369
4401
  marginNumberValue: "marginNumberValue";
@@ -5541,6 +5573,7 @@ declare class Builder extends BaseBuilder {
5541
5573
  isEditable?: boolean;
5542
5574
  aiGenerated?: boolean;
5543
5575
  machineTranslated?: string;
5576
+ spansPageBreak?: boolean;
5544
5577
  searchIndex?: string | string[];
5545
5578
  analyticsTag?: string | string[];
5546
5579
  categoryTag?: string | string[];
@@ -5669,6 +5702,9 @@ declare class Builder extends BaseBuilder {
5669
5702
  labelTrue?: string;
5670
5703
  labelFalse?: string;
5671
5704
  content2Buy?: string;
5705
+ listPrice?: string;
5706
+ customerProductId?: string;
5707
+ customerProductShopLink?: string;
5672
5708
  mailingList?: string;
5673
5709
  buttonCaption?: string;
5674
5710
  callToActionUrl?: string;
@@ -6971,7 +7007,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6971
7007
  protected leaf_refPublicationYear(node: NodeInfo, route: NodeInfo[]): void;
6972
7008
  protected leaf_citationStyle(node: NodeInfo, route: NodeInfo[]): void;
6973
7009
  protected leaf_isExample(node: NodeInfo, route: NodeInfo[]): void;
6974
- protected enter_elementsValue(node: NodeInfo, _route: NodeInfo[]): void;
7010
+ protected enter_elementsValue(node: NodeInfo, _route: NodeInfo[]): boolean;
6975
7011
  protected leaf_solutionsValue(node: NodeInfo, route: NodeInfo[]): void;
6976
7012
  protected leaf_prefix(node: NodeInfo, _route: NodeInfo[]): void;
6977
7013
  protected leaf_postfix(node: NodeInfo, _route: NodeInfo[]): void;
@@ -6981,7 +7017,7 @@ declare class BitmarkGenerator extends AstWalkerGenerator<BitmarkAst, void> {
6981
7017
  protected leaf_forValuesValue(node: NodeInfo, _route: NodeInfo[]): void;
6982
7018
  protected leaf_key(node: NodeInfo, _route: NodeInfo[]): void;
6983
7019
  protected leaf_valuesValue(node: NodeInfo, _route: NodeInfo[]): void;
6984
- protected enter_question(node: NodeInfo, route: NodeInfo[]): void;
7020
+ protected enter_question(node: NodeInfo, route: NodeInfo[]): boolean;
6985
7021
  protected leaf_question(node: NodeInfo, route: NodeInfo[]): void;
6986
7022
  protected leaf_srcAltValue(node: NodeInfo, route: NodeInfo[]): void;
6987
7023
  protected leaf_src1x(node: NodeInfo, route: NodeInfo[]): void;