@gmb/bitmark-parser-generator 5.18.0 → 5.20.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 +222 -110
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +20 -8
- package/dist/browser/esm/index.d.ts +20 -8
- package/dist/browser/esm/index.js +222 -110
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +292 -267
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +292 -267
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -8
- package/dist/index.d.ts +20 -8
- package/dist/index.js +292 -267
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -258,6 +258,7 @@ declare const BitType: {
|
|
|
258
258
|
readonly extractorPageWithBlocks: "extractor-page-with-blocks";
|
|
259
259
|
readonly extractorPageWithBlocksCollapsible: "extractor-page-with-blocks-collapsible";
|
|
260
260
|
readonly extractorRepeatedText: "extractor-repeated-text";
|
|
261
|
+
readonly extractorRule: "extractor-rule";
|
|
261
262
|
readonly extractorTheme: "extractor-theme";
|
|
262
263
|
readonly featured: "featured";
|
|
263
264
|
readonly feedback: "feedback";
|
|
@@ -671,6 +672,7 @@ type BitTagConfigKeyTypeType = EnumType<typeof BitTagConfigKeyType>;
|
|
|
671
672
|
*/
|
|
672
673
|
declare const ConfigKey: {
|
|
673
674
|
readonly group_standardAllBits: "group_standardAllBits";
|
|
675
|
+
readonly group_standardItemLead: "group_standardItemLead";
|
|
674
676
|
readonly group_standardItemLeadInstructionHint: "group_standardItemLeadInstructionHint";
|
|
675
677
|
readonly group_standardTags: "group_standardTags";
|
|
676
678
|
readonly group_imageSource: "group_imageSource";
|
|
@@ -746,6 +748,7 @@ declare const ConfigKey: {
|
|
|
746
748
|
readonly property_bot: "@bot";
|
|
747
749
|
readonly property_bubbleTag: "@bubbleTag";
|
|
748
750
|
readonly property_extractorTag: "@extractorTag";
|
|
751
|
+
readonly property_extractorInternal: "@extractorInternal";
|
|
749
752
|
readonly property_buttonCaption: "@buttonCaption";
|
|
750
753
|
readonly property_callToActionUrl: "@callToActionUrl";
|
|
751
754
|
readonly property_caption: "@caption";
|
|
@@ -959,6 +962,7 @@ declare const ConfigKey: {
|
|
|
959
962
|
readonly property_subject: "@subject";
|
|
960
963
|
readonly property_subtype: "@subtype";
|
|
961
964
|
readonly property_tableAutoWidth: "@tableAutoWidth";
|
|
965
|
+
readonly property_tableColWidth: "@tableColWidth";
|
|
962
966
|
readonly property_tableColumnMinWidth: "@tableColumnMinWidth";
|
|
963
967
|
readonly property_tableFixedHeader: "@tableFixedHeader";
|
|
964
968
|
readonly property_tableHeaderWhitespaceNoWrap: "@tableHeaderWhitespaceNoWrap";
|
|
@@ -1689,6 +1693,7 @@ interface BitJson {
|
|
|
1689
1693
|
reductionTag: string | string[];
|
|
1690
1694
|
bubbleTag: string | string[];
|
|
1691
1695
|
extractorTag: string | string[];
|
|
1696
|
+
extractorInternal: string | string[];
|
|
1692
1697
|
levelCEFRp: string;
|
|
1693
1698
|
levelCEFR: string;
|
|
1694
1699
|
levelILR: string;
|
|
@@ -2137,6 +2142,7 @@ interface TableCellJson {
|
|
|
2137
2142
|
rowspan?: number;
|
|
2138
2143
|
colspan?: number;
|
|
2139
2144
|
scope?: 'row' | 'col' | 'rowgroup' | 'colgroup';
|
|
2145
|
+
colwidth?: number;
|
|
2140
2146
|
}
|
|
2141
2147
|
interface QuestionJson {
|
|
2142
2148
|
question: JsonText;
|
|
@@ -2302,6 +2308,7 @@ interface Bit {
|
|
|
2302
2308
|
reductionTag?: Property;
|
|
2303
2309
|
bubbleTag?: Property;
|
|
2304
2310
|
extractorTag?: Property;
|
|
2311
|
+
extractorInternal?: Property;
|
|
2305
2312
|
levelCEFRp?: Property;
|
|
2306
2313
|
levelCEFR?: Property;
|
|
2307
2314
|
levelILR?: Property;
|
|
@@ -2378,6 +2385,7 @@ interface Bit {
|
|
|
2378
2385
|
tableWhitespaceNoWrap?: Property;
|
|
2379
2386
|
tableAutoWidth?: Property;
|
|
2380
2387
|
tableResizableColumns?: Property;
|
|
2388
|
+
tableColWidth?: Property;
|
|
2381
2389
|
tableColumnMinWidth?: Property;
|
|
2382
2390
|
tableCellType?: Property;
|
|
2383
2391
|
tableRowSpan?: Property;
|
|
@@ -2791,6 +2799,8 @@ declare const NodeType: {
|
|
|
2791
2799
|
readonly extractorExtractionTimestampValue: "extractorExtractionTimestampValue";
|
|
2792
2800
|
readonly extractorTag: "extractorTag";
|
|
2793
2801
|
readonly extractorTagValue: "extractorTagValue";
|
|
2802
|
+
readonly extractorInternal: "extractorInternal";
|
|
2803
|
+
readonly extractorInternalValue: "extractorInternalValue";
|
|
2794
2804
|
readonly extraProperties: "extraProperties";
|
|
2795
2805
|
readonly feedback: "feedback";
|
|
2796
2806
|
readonly feedbackEngine: "feedbackEngine";
|
|
@@ -3194,6 +3204,8 @@ declare const NodeType: {
|
|
|
3194
3204
|
readonly table: "table";
|
|
3195
3205
|
readonly tableAutoWidth: "tableAutoWidth";
|
|
3196
3206
|
readonly tableAutoWidthValue: "tableAutoWidthValue";
|
|
3207
|
+
readonly tableColWidth: "tableColWidth";
|
|
3208
|
+
readonly tableColWidthValue: "tableColWidthValue";
|
|
3197
3209
|
readonly tableColumnMinWidth: "tableColumnMinWidth";
|
|
3198
3210
|
readonly tableColumnMinWidthValue: "tableColumnMinWidthValue";
|
|
3199
3211
|
readonly tableFixedHeader: "tableFixedHeader";
|
|
@@ -3769,7 +3781,6 @@ declare abstract class AbstractTagConfig {
|
|
|
3769
3781
|
readonly minCount: number;
|
|
3770
3782
|
readonly chain?: TagsConfig;
|
|
3771
3783
|
readonly jsonKey?: string;
|
|
3772
|
-
readonly secondaryJsonKey?: string;
|
|
3773
3784
|
readonly deprecated?: string;
|
|
3774
3785
|
constructor(params: {
|
|
3775
3786
|
type: BitTagConfigKeyTypeType;
|
|
@@ -3779,7 +3790,6 @@ declare abstract class AbstractTagConfig {
|
|
|
3779
3790
|
minCount: number;
|
|
3780
3791
|
chain: TagsConfig | undefined;
|
|
3781
3792
|
jsonKey: string | undefined;
|
|
3782
|
-
secondaryJsonKey: string | undefined;
|
|
3783
3793
|
deprecated: string | undefined;
|
|
3784
3794
|
});
|
|
3785
3795
|
}
|
|
@@ -3796,7 +3806,6 @@ declare class MarkupTagConfig extends AbstractTagConfig {
|
|
|
3796
3806
|
maxCount: CountType;
|
|
3797
3807
|
minCount: number;
|
|
3798
3808
|
chain: TagsConfig | undefined;
|
|
3799
|
-
secondaryJsonKey: string | undefined;
|
|
3800
3809
|
deprecated: string | undefined;
|
|
3801
3810
|
});
|
|
3802
3811
|
toString(options?: ToStringOptions$6): string;
|
|
@@ -3830,7 +3839,6 @@ declare class PropertyTagConfig extends AbstractTagConfig {
|
|
|
3830
3839
|
minCount: number;
|
|
3831
3840
|
chain: TagsConfig | undefined;
|
|
3832
3841
|
jsonKey: string | undefined;
|
|
3833
|
-
secondaryJsonKey: string | undefined;
|
|
3834
3842
|
format: TagFormatType | undefined;
|
|
3835
3843
|
values: string[] | undefined;
|
|
3836
3844
|
defaultValue: string | undefined;
|
|
@@ -3852,7 +3860,6 @@ declare class ResourceTagConfig extends AbstractTagConfig {
|
|
|
3852
3860
|
minCount: number;
|
|
3853
3861
|
chain: TagsConfig | undefined;
|
|
3854
3862
|
jsonKey: string | undefined;
|
|
3855
|
-
secondaryJsonKey: string | undefined;
|
|
3856
3863
|
deprecated: string | undefined;
|
|
3857
3864
|
});
|
|
3858
3865
|
toString(options?: ToStringOptions$4): string;
|
|
@@ -3885,8 +3892,9 @@ interface ToStringOptions$2 {
|
|
|
3885
3892
|
declare class CardSideConfig {
|
|
3886
3893
|
readonly name: string;
|
|
3887
3894
|
readonly repeat: boolean;
|
|
3895
|
+
readonly jsonKey: string | null | undefined;
|
|
3888
3896
|
readonly variants: CardVariantConfig[];
|
|
3889
|
-
constructor(name: string, repeat: boolean, variants: CardVariantConfig[]);
|
|
3897
|
+
constructor(name: string, repeat: boolean, variants: CardVariantConfig[], jsonKey?: string | null);
|
|
3890
3898
|
toString(options?: ToStringOptions$2): string;
|
|
3891
3899
|
}
|
|
3892
3900
|
|
|
@@ -3920,14 +3928,17 @@ interface ToStringOptions$1 {
|
|
|
3920
3928
|
declare class CardSetConfig {
|
|
3921
3929
|
readonly configKey: CardSetConfigKeyType;
|
|
3922
3930
|
readonly jsonKey: string | null;
|
|
3923
|
-
readonly itemType: 'object' | 'array';
|
|
3924
3931
|
readonly sections: Record<string, {
|
|
3925
3932
|
jsonKey: string;
|
|
3933
|
+
isDefault?: boolean;
|
|
3934
|
+
sideJsonKey?: string;
|
|
3926
3935
|
}> | undefined;
|
|
3927
3936
|
readonly sides: CardSideConfig[];
|
|
3928
3937
|
get variants(): CardVariantConfig[][];
|
|
3929
|
-
constructor(configKey: CardSetConfigKeyType, jsonKey: string | null,
|
|
3938
|
+
constructor(configKey: CardSetConfigKeyType, jsonKey: string | null, sections: Record<string, {
|
|
3930
3939
|
jsonKey: string;
|
|
3940
|
+
isDefault?: boolean;
|
|
3941
|
+
sideJsonKey?: string;
|
|
3931
3942
|
}> | undefined, sides: CardSideConfig[]);
|
|
3932
3943
|
toString(options?: ToStringOptions$1): string;
|
|
3933
3944
|
}
|
|
@@ -4171,6 +4182,7 @@ declare class Builder extends BaseBuilder {
|
|
|
4171
4182
|
reductionTag?: string | string[];
|
|
4172
4183
|
bubbleTag?: string | string[];
|
|
4173
4184
|
extractorTag?: string | string[];
|
|
4185
|
+
extractorInternal?: string | string[];
|
|
4174
4186
|
levelCEFRp?: string | string[];
|
|
4175
4187
|
levelCEFR?: string | string[];
|
|
4176
4188
|
levelILR?: string | string[];
|
|
@@ -258,6 +258,7 @@ declare const BitType: {
|
|
|
258
258
|
readonly extractorPageWithBlocks: "extractor-page-with-blocks";
|
|
259
259
|
readonly extractorPageWithBlocksCollapsible: "extractor-page-with-blocks-collapsible";
|
|
260
260
|
readonly extractorRepeatedText: "extractor-repeated-text";
|
|
261
|
+
readonly extractorRule: "extractor-rule";
|
|
261
262
|
readonly extractorTheme: "extractor-theme";
|
|
262
263
|
readonly featured: "featured";
|
|
263
264
|
readonly feedback: "feedback";
|
|
@@ -671,6 +672,7 @@ type BitTagConfigKeyTypeType = EnumType<typeof BitTagConfigKeyType>;
|
|
|
671
672
|
*/
|
|
672
673
|
declare const ConfigKey: {
|
|
673
674
|
readonly group_standardAllBits: "group_standardAllBits";
|
|
675
|
+
readonly group_standardItemLead: "group_standardItemLead";
|
|
674
676
|
readonly group_standardItemLeadInstructionHint: "group_standardItemLeadInstructionHint";
|
|
675
677
|
readonly group_standardTags: "group_standardTags";
|
|
676
678
|
readonly group_imageSource: "group_imageSource";
|
|
@@ -746,6 +748,7 @@ declare const ConfigKey: {
|
|
|
746
748
|
readonly property_bot: "@bot";
|
|
747
749
|
readonly property_bubbleTag: "@bubbleTag";
|
|
748
750
|
readonly property_extractorTag: "@extractorTag";
|
|
751
|
+
readonly property_extractorInternal: "@extractorInternal";
|
|
749
752
|
readonly property_buttonCaption: "@buttonCaption";
|
|
750
753
|
readonly property_callToActionUrl: "@callToActionUrl";
|
|
751
754
|
readonly property_caption: "@caption";
|
|
@@ -959,6 +962,7 @@ declare const ConfigKey: {
|
|
|
959
962
|
readonly property_subject: "@subject";
|
|
960
963
|
readonly property_subtype: "@subtype";
|
|
961
964
|
readonly property_tableAutoWidth: "@tableAutoWidth";
|
|
965
|
+
readonly property_tableColWidth: "@tableColWidth";
|
|
962
966
|
readonly property_tableColumnMinWidth: "@tableColumnMinWidth";
|
|
963
967
|
readonly property_tableFixedHeader: "@tableFixedHeader";
|
|
964
968
|
readonly property_tableHeaderWhitespaceNoWrap: "@tableHeaderWhitespaceNoWrap";
|
|
@@ -1689,6 +1693,7 @@ interface BitJson {
|
|
|
1689
1693
|
reductionTag: string | string[];
|
|
1690
1694
|
bubbleTag: string | string[];
|
|
1691
1695
|
extractorTag: string | string[];
|
|
1696
|
+
extractorInternal: string | string[];
|
|
1692
1697
|
levelCEFRp: string;
|
|
1693
1698
|
levelCEFR: string;
|
|
1694
1699
|
levelILR: string;
|
|
@@ -2137,6 +2142,7 @@ interface TableCellJson {
|
|
|
2137
2142
|
rowspan?: number;
|
|
2138
2143
|
colspan?: number;
|
|
2139
2144
|
scope?: 'row' | 'col' | 'rowgroup' | 'colgroup';
|
|
2145
|
+
colwidth?: number;
|
|
2140
2146
|
}
|
|
2141
2147
|
interface QuestionJson {
|
|
2142
2148
|
question: JsonText;
|
|
@@ -2302,6 +2308,7 @@ interface Bit {
|
|
|
2302
2308
|
reductionTag?: Property;
|
|
2303
2309
|
bubbleTag?: Property;
|
|
2304
2310
|
extractorTag?: Property;
|
|
2311
|
+
extractorInternal?: Property;
|
|
2305
2312
|
levelCEFRp?: Property;
|
|
2306
2313
|
levelCEFR?: Property;
|
|
2307
2314
|
levelILR?: Property;
|
|
@@ -2378,6 +2385,7 @@ interface Bit {
|
|
|
2378
2385
|
tableWhitespaceNoWrap?: Property;
|
|
2379
2386
|
tableAutoWidth?: Property;
|
|
2380
2387
|
tableResizableColumns?: Property;
|
|
2388
|
+
tableColWidth?: Property;
|
|
2381
2389
|
tableColumnMinWidth?: Property;
|
|
2382
2390
|
tableCellType?: Property;
|
|
2383
2391
|
tableRowSpan?: Property;
|
|
@@ -2791,6 +2799,8 @@ declare const NodeType: {
|
|
|
2791
2799
|
readonly extractorExtractionTimestampValue: "extractorExtractionTimestampValue";
|
|
2792
2800
|
readonly extractorTag: "extractorTag";
|
|
2793
2801
|
readonly extractorTagValue: "extractorTagValue";
|
|
2802
|
+
readonly extractorInternal: "extractorInternal";
|
|
2803
|
+
readonly extractorInternalValue: "extractorInternalValue";
|
|
2794
2804
|
readonly extraProperties: "extraProperties";
|
|
2795
2805
|
readonly feedback: "feedback";
|
|
2796
2806
|
readonly feedbackEngine: "feedbackEngine";
|
|
@@ -3194,6 +3204,8 @@ declare const NodeType: {
|
|
|
3194
3204
|
readonly table: "table";
|
|
3195
3205
|
readonly tableAutoWidth: "tableAutoWidth";
|
|
3196
3206
|
readonly tableAutoWidthValue: "tableAutoWidthValue";
|
|
3207
|
+
readonly tableColWidth: "tableColWidth";
|
|
3208
|
+
readonly tableColWidthValue: "tableColWidthValue";
|
|
3197
3209
|
readonly tableColumnMinWidth: "tableColumnMinWidth";
|
|
3198
3210
|
readonly tableColumnMinWidthValue: "tableColumnMinWidthValue";
|
|
3199
3211
|
readonly tableFixedHeader: "tableFixedHeader";
|
|
@@ -3769,7 +3781,6 @@ declare abstract class AbstractTagConfig {
|
|
|
3769
3781
|
readonly minCount: number;
|
|
3770
3782
|
readonly chain?: TagsConfig;
|
|
3771
3783
|
readonly jsonKey?: string;
|
|
3772
|
-
readonly secondaryJsonKey?: string;
|
|
3773
3784
|
readonly deprecated?: string;
|
|
3774
3785
|
constructor(params: {
|
|
3775
3786
|
type: BitTagConfigKeyTypeType;
|
|
@@ -3779,7 +3790,6 @@ declare abstract class AbstractTagConfig {
|
|
|
3779
3790
|
minCount: number;
|
|
3780
3791
|
chain: TagsConfig | undefined;
|
|
3781
3792
|
jsonKey: string | undefined;
|
|
3782
|
-
secondaryJsonKey: string | undefined;
|
|
3783
3793
|
deprecated: string | undefined;
|
|
3784
3794
|
});
|
|
3785
3795
|
}
|
|
@@ -3796,7 +3806,6 @@ declare class MarkupTagConfig extends AbstractTagConfig {
|
|
|
3796
3806
|
maxCount: CountType;
|
|
3797
3807
|
minCount: number;
|
|
3798
3808
|
chain: TagsConfig | undefined;
|
|
3799
|
-
secondaryJsonKey: string | undefined;
|
|
3800
3809
|
deprecated: string | undefined;
|
|
3801
3810
|
});
|
|
3802
3811
|
toString(options?: ToStringOptions$6): string;
|
|
@@ -3830,7 +3839,6 @@ declare class PropertyTagConfig extends AbstractTagConfig {
|
|
|
3830
3839
|
minCount: number;
|
|
3831
3840
|
chain: TagsConfig | undefined;
|
|
3832
3841
|
jsonKey: string | undefined;
|
|
3833
|
-
secondaryJsonKey: string | undefined;
|
|
3834
3842
|
format: TagFormatType | undefined;
|
|
3835
3843
|
values: string[] | undefined;
|
|
3836
3844
|
defaultValue: string | undefined;
|
|
@@ -3852,7 +3860,6 @@ declare class ResourceTagConfig extends AbstractTagConfig {
|
|
|
3852
3860
|
minCount: number;
|
|
3853
3861
|
chain: TagsConfig | undefined;
|
|
3854
3862
|
jsonKey: string | undefined;
|
|
3855
|
-
secondaryJsonKey: string | undefined;
|
|
3856
3863
|
deprecated: string | undefined;
|
|
3857
3864
|
});
|
|
3858
3865
|
toString(options?: ToStringOptions$4): string;
|
|
@@ -3885,8 +3892,9 @@ interface ToStringOptions$2 {
|
|
|
3885
3892
|
declare class CardSideConfig {
|
|
3886
3893
|
readonly name: string;
|
|
3887
3894
|
readonly repeat: boolean;
|
|
3895
|
+
readonly jsonKey: string | null | undefined;
|
|
3888
3896
|
readonly variants: CardVariantConfig[];
|
|
3889
|
-
constructor(name: string, repeat: boolean, variants: CardVariantConfig[]);
|
|
3897
|
+
constructor(name: string, repeat: boolean, variants: CardVariantConfig[], jsonKey?: string | null);
|
|
3890
3898
|
toString(options?: ToStringOptions$2): string;
|
|
3891
3899
|
}
|
|
3892
3900
|
|
|
@@ -3920,14 +3928,17 @@ interface ToStringOptions$1 {
|
|
|
3920
3928
|
declare class CardSetConfig {
|
|
3921
3929
|
readonly configKey: CardSetConfigKeyType;
|
|
3922
3930
|
readonly jsonKey: string | null;
|
|
3923
|
-
readonly itemType: 'object' | 'array';
|
|
3924
3931
|
readonly sections: Record<string, {
|
|
3925
3932
|
jsonKey: string;
|
|
3933
|
+
isDefault?: boolean;
|
|
3934
|
+
sideJsonKey?: string;
|
|
3926
3935
|
}> | undefined;
|
|
3927
3936
|
readonly sides: CardSideConfig[];
|
|
3928
3937
|
get variants(): CardVariantConfig[][];
|
|
3929
|
-
constructor(configKey: CardSetConfigKeyType, jsonKey: string | null,
|
|
3938
|
+
constructor(configKey: CardSetConfigKeyType, jsonKey: string | null, sections: Record<string, {
|
|
3930
3939
|
jsonKey: string;
|
|
3940
|
+
isDefault?: boolean;
|
|
3941
|
+
sideJsonKey?: string;
|
|
3931
3942
|
}> | undefined, sides: CardSideConfig[]);
|
|
3932
3943
|
toString(options?: ToStringOptions$1): string;
|
|
3933
3944
|
}
|
|
@@ -4171,6 +4182,7 @@ declare class Builder extends BaseBuilder {
|
|
|
4171
4182
|
reductionTag?: string | string[];
|
|
4172
4183
|
bubbleTag?: string | string[];
|
|
4173
4184
|
extractorTag?: string | string[];
|
|
4185
|
+
extractorInternal?: string | string[];
|
|
4174
4186
|
levelCEFRp?: string | string[];
|
|
4175
4187
|
levelCEFR?: string | string[];
|
|
4176
4188
|
levelILR?: string | string[];
|