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