@gmb/bitmark-parser-generator 5.11.0 → 5.13.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 +1057 -568
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +40 -10
- package/dist/browser/esm/index.d.ts +40 -10
- package/dist/browser/esm/index.js +1057 -568
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +1071 -572
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +1072 -573
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -10
- package/dist/index.d.ts +40 -10
- package/dist/index.js +1072 -573
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -239,6 +239,8 @@ declare const BitType: {
|
|
|
239
239
|
readonly exampleList: "example-list";
|
|
240
240
|
readonly extractorAiChat: "extractor-ai-chat";
|
|
241
241
|
readonly extractorBlock: "extractor-block";
|
|
242
|
+
readonly extractorBlueprint: "extractor-blueprint";
|
|
243
|
+
readonly extractorBlueprintConfiguration: "extractor-blueprint-configuration";
|
|
242
244
|
readonly extractorConfiguration: "extractor-configuration";
|
|
243
245
|
readonly extractorImage: "extractor-image";
|
|
244
246
|
readonly extractorImageCollapsible: "extractor-image-collapsible";
|
|
@@ -422,6 +424,7 @@ declare const BitType: {
|
|
|
422
424
|
readonly pageOpenBookList: "page-open-book-list";
|
|
423
425
|
readonly printBook: "print-book";
|
|
424
426
|
readonly openBookChapter: "open-book-chapter";
|
|
427
|
+
readonly openBookChapterTeaser: "open-book-chapter-teaser";
|
|
425
428
|
readonly pagePerson: "page-person";
|
|
426
429
|
readonly pageProduct: "page-product";
|
|
427
430
|
readonly pageProductList: "page-product-list";
|
|
@@ -585,6 +588,7 @@ declare const BitType: {
|
|
|
585
588
|
readonly table: "table";
|
|
586
589
|
readonly tableAlt: "table-alt";
|
|
587
590
|
readonly tableExtended: "table-extended";
|
|
591
|
+
readonly tableExtendedImage: "table-extended-image";
|
|
588
592
|
readonly tableImage: "table-image";
|
|
589
593
|
readonly tableImageAlt: "table-image-alt";
|
|
590
594
|
readonly takePicture: "take-picture";
|
|
@@ -3744,6 +3748,7 @@ declare abstract class AbstractTagConfig {
|
|
|
3744
3748
|
readonly minCount: number;
|
|
3745
3749
|
readonly chain?: TagsConfig;
|
|
3746
3750
|
readonly jsonKey?: string;
|
|
3751
|
+
readonly secondaryJsonKey?: string;
|
|
3747
3752
|
readonly deprecated?: string;
|
|
3748
3753
|
constructor(params: {
|
|
3749
3754
|
type: BitTagConfigKeyTypeType;
|
|
@@ -3753,11 +3758,12 @@ declare abstract class AbstractTagConfig {
|
|
|
3753
3758
|
minCount: number;
|
|
3754
3759
|
chain: TagsConfig | undefined;
|
|
3755
3760
|
jsonKey: string | undefined;
|
|
3761
|
+
secondaryJsonKey: string | undefined;
|
|
3756
3762
|
deprecated: string | undefined;
|
|
3757
3763
|
});
|
|
3758
3764
|
}
|
|
3759
3765
|
|
|
3760
|
-
interface ToStringOptions$
|
|
3766
|
+
interface ToStringOptions$6 {
|
|
3761
3767
|
includeChains?: boolean;
|
|
3762
3768
|
includeConfigs?: boolean;
|
|
3763
3769
|
}
|
|
@@ -3769,9 +3775,10 @@ declare class MarkupTagConfig extends AbstractTagConfig {
|
|
|
3769
3775
|
maxCount: CountType;
|
|
3770
3776
|
minCount: number;
|
|
3771
3777
|
chain: TagsConfig | undefined;
|
|
3778
|
+
secondaryJsonKey: string | undefined;
|
|
3772
3779
|
deprecated: string | undefined;
|
|
3773
3780
|
});
|
|
3774
|
-
toString(options?: ToStringOptions$
|
|
3781
|
+
toString(options?: ToStringOptions$6): string;
|
|
3775
3782
|
}
|
|
3776
3783
|
|
|
3777
3784
|
declare const TagFormat: {
|
|
@@ -3785,7 +3792,7 @@ declare const TagFormat: {
|
|
|
3785
3792
|
};
|
|
3786
3793
|
type TagFormatType = EnumType<typeof TagFormat>;
|
|
3787
3794
|
|
|
3788
|
-
interface ToStringOptions$
|
|
3795
|
+
interface ToStringOptions$5 {
|
|
3789
3796
|
includeChains?: boolean;
|
|
3790
3797
|
includeConfigs?: boolean;
|
|
3791
3798
|
}
|
|
@@ -3802,15 +3809,16 @@ declare class PropertyTagConfig extends AbstractTagConfig {
|
|
|
3802
3809
|
minCount: number;
|
|
3803
3810
|
chain: TagsConfig | undefined;
|
|
3804
3811
|
jsonKey: string | undefined;
|
|
3812
|
+
secondaryJsonKey: string | undefined;
|
|
3805
3813
|
format: TagFormatType | undefined;
|
|
3806
3814
|
values: string[] | undefined;
|
|
3807
3815
|
defaultValue: string | undefined;
|
|
3808
3816
|
deprecated: string | undefined;
|
|
3809
3817
|
});
|
|
3810
|
-
toString(options?: ToStringOptions$
|
|
3818
|
+
toString(options?: ToStringOptions$5): string;
|
|
3811
3819
|
}
|
|
3812
3820
|
|
|
3813
|
-
interface ToStringOptions$
|
|
3821
|
+
interface ToStringOptions$4 {
|
|
3814
3822
|
includeChains?: boolean;
|
|
3815
3823
|
includeConfigs?: boolean;
|
|
3816
3824
|
}
|
|
@@ -3823,9 +3831,10 @@ declare class ResourceTagConfig extends AbstractTagConfig {
|
|
|
3823
3831
|
minCount: number;
|
|
3824
3832
|
chain: TagsConfig | undefined;
|
|
3825
3833
|
jsonKey: string | undefined;
|
|
3834
|
+
secondaryJsonKey: string | undefined;
|
|
3826
3835
|
deprecated: string | undefined;
|
|
3827
3836
|
});
|
|
3828
|
-
toString(options?: ToStringOptions$
|
|
3837
|
+
toString(options?: ToStringOptions$4): string;
|
|
3829
3838
|
}
|
|
3830
3839
|
|
|
3831
3840
|
type TagConfig = MarkupTagConfig | PropertyTagConfig | ResourceTagConfig;
|
|
@@ -3834,7 +3843,7 @@ interface TagsConfig {
|
|
|
3834
3843
|
[configKey: string]: TagConfig;
|
|
3835
3844
|
}
|
|
3836
3845
|
|
|
3837
|
-
interface ToStringOptions$
|
|
3846
|
+
interface ToStringOptions$3 {
|
|
3838
3847
|
includeChains?: boolean;
|
|
3839
3848
|
includeConfigs?: boolean;
|
|
3840
3849
|
}
|
|
@@ -3843,7 +3852,20 @@ declare class CardVariantConfig {
|
|
|
3843
3852
|
bodyAllowed?: boolean;
|
|
3844
3853
|
bodyRequired?: boolean;
|
|
3845
3854
|
repeatCount?: CountType;
|
|
3846
|
-
|
|
3855
|
+
readonly jsonKey?: string | null;
|
|
3856
|
+
constructor(tags: TagsConfig, bodyAllowed?: boolean, bodyRequired?: boolean, repeatCount?: CountType, jsonKey?: string | null);
|
|
3857
|
+
toString(options?: ToStringOptions$3): string;
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
interface ToStringOptions$2 {
|
|
3861
|
+
includeChains?: boolean;
|
|
3862
|
+
includeConfigs?: boolean;
|
|
3863
|
+
}
|
|
3864
|
+
declare class CardSideConfig {
|
|
3865
|
+
readonly name: string;
|
|
3866
|
+
readonly repeat: boolean;
|
|
3867
|
+
readonly variants: CardVariantConfig[];
|
|
3868
|
+
constructor(name: string, repeat: boolean, variants: CardVariantConfig[]);
|
|
3847
3869
|
toString(options?: ToStringOptions$2): string;
|
|
3848
3870
|
}
|
|
3849
3871
|
|
|
@@ -3876,8 +3898,16 @@ interface ToStringOptions$1 {
|
|
|
3876
3898
|
}
|
|
3877
3899
|
declare class CardSetConfig {
|
|
3878
3900
|
readonly configKey: CardSetConfigKeyType;
|
|
3879
|
-
readonly
|
|
3880
|
-
|
|
3901
|
+
readonly jsonKey: string | null;
|
|
3902
|
+
readonly itemType: 'object' | 'array';
|
|
3903
|
+
readonly sections: Record<string, {
|
|
3904
|
+
jsonKey: string;
|
|
3905
|
+
}> | undefined;
|
|
3906
|
+
readonly sides: CardSideConfig[];
|
|
3907
|
+
get variants(): CardVariantConfig[][];
|
|
3908
|
+
constructor(configKey: CardSetConfigKeyType, jsonKey: string | null, itemType: 'object' | 'array', sections: Record<string, {
|
|
3909
|
+
jsonKey: string;
|
|
3910
|
+
}> | undefined, sides: CardSideConfig[]);
|
|
3881
3911
|
toString(options?: ToStringOptions$1): string;
|
|
3882
3912
|
}
|
|
3883
3913
|
|
package/dist/index.d.ts
CHANGED
|
@@ -239,6 +239,8 @@ declare const BitType: {
|
|
|
239
239
|
readonly exampleList: "example-list";
|
|
240
240
|
readonly extractorAiChat: "extractor-ai-chat";
|
|
241
241
|
readonly extractorBlock: "extractor-block";
|
|
242
|
+
readonly extractorBlueprint: "extractor-blueprint";
|
|
243
|
+
readonly extractorBlueprintConfiguration: "extractor-blueprint-configuration";
|
|
242
244
|
readonly extractorConfiguration: "extractor-configuration";
|
|
243
245
|
readonly extractorImage: "extractor-image";
|
|
244
246
|
readonly extractorImageCollapsible: "extractor-image-collapsible";
|
|
@@ -422,6 +424,7 @@ declare const BitType: {
|
|
|
422
424
|
readonly pageOpenBookList: "page-open-book-list";
|
|
423
425
|
readonly printBook: "print-book";
|
|
424
426
|
readonly openBookChapter: "open-book-chapter";
|
|
427
|
+
readonly openBookChapterTeaser: "open-book-chapter-teaser";
|
|
425
428
|
readonly pagePerson: "page-person";
|
|
426
429
|
readonly pageProduct: "page-product";
|
|
427
430
|
readonly pageProductList: "page-product-list";
|
|
@@ -585,6 +588,7 @@ declare const BitType: {
|
|
|
585
588
|
readonly table: "table";
|
|
586
589
|
readonly tableAlt: "table-alt";
|
|
587
590
|
readonly tableExtended: "table-extended";
|
|
591
|
+
readonly tableExtendedImage: "table-extended-image";
|
|
588
592
|
readonly tableImage: "table-image";
|
|
589
593
|
readonly tableImageAlt: "table-image-alt";
|
|
590
594
|
readonly takePicture: "take-picture";
|
|
@@ -3744,6 +3748,7 @@ declare abstract class AbstractTagConfig {
|
|
|
3744
3748
|
readonly minCount: number;
|
|
3745
3749
|
readonly chain?: TagsConfig;
|
|
3746
3750
|
readonly jsonKey?: string;
|
|
3751
|
+
readonly secondaryJsonKey?: string;
|
|
3747
3752
|
readonly deprecated?: string;
|
|
3748
3753
|
constructor(params: {
|
|
3749
3754
|
type: BitTagConfigKeyTypeType;
|
|
@@ -3753,11 +3758,12 @@ declare abstract class AbstractTagConfig {
|
|
|
3753
3758
|
minCount: number;
|
|
3754
3759
|
chain: TagsConfig | undefined;
|
|
3755
3760
|
jsonKey: string | undefined;
|
|
3761
|
+
secondaryJsonKey: string | undefined;
|
|
3756
3762
|
deprecated: string | undefined;
|
|
3757
3763
|
});
|
|
3758
3764
|
}
|
|
3759
3765
|
|
|
3760
|
-
interface ToStringOptions$
|
|
3766
|
+
interface ToStringOptions$6 {
|
|
3761
3767
|
includeChains?: boolean;
|
|
3762
3768
|
includeConfigs?: boolean;
|
|
3763
3769
|
}
|
|
@@ -3769,9 +3775,10 @@ declare class MarkupTagConfig extends AbstractTagConfig {
|
|
|
3769
3775
|
maxCount: CountType;
|
|
3770
3776
|
minCount: number;
|
|
3771
3777
|
chain: TagsConfig | undefined;
|
|
3778
|
+
secondaryJsonKey: string | undefined;
|
|
3772
3779
|
deprecated: string | undefined;
|
|
3773
3780
|
});
|
|
3774
|
-
toString(options?: ToStringOptions$
|
|
3781
|
+
toString(options?: ToStringOptions$6): string;
|
|
3775
3782
|
}
|
|
3776
3783
|
|
|
3777
3784
|
declare const TagFormat: {
|
|
@@ -3785,7 +3792,7 @@ declare const TagFormat: {
|
|
|
3785
3792
|
};
|
|
3786
3793
|
type TagFormatType = EnumType<typeof TagFormat>;
|
|
3787
3794
|
|
|
3788
|
-
interface ToStringOptions$
|
|
3795
|
+
interface ToStringOptions$5 {
|
|
3789
3796
|
includeChains?: boolean;
|
|
3790
3797
|
includeConfigs?: boolean;
|
|
3791
3798
|
}
|
|
@@ -3802,15 +3809,16 @@ declare class PropertyTagConfig extends AbstractTagConfig {
|
|
|
3802
3809
|
minCount: number;
|
|
3803
3810
|
chain: TagsConfig | undefined;
|
|
3804
3811
|
jsonKey: string | undefined;
|
|
3812
|
+
secondaryJsonKey: string | undefined;
|
|
3805
3813
|
format: TagFormatType | undefined;
|
|
3806
3814
|
values: string[] | undefined;
|
|
3807
3815
|
defaultValue: string | undefined;
|
|
3808
3816
|
deprecated: string | undefined;
|
|
3809
3817
|
});
|
|
3810
|
-
toString(options?: ToStringOptions$
|
|
3818
|
+
toString(options?: ToStringOptions$5): string;
|
|
3811
3819
|
}
|
|
3812
3820
|
|
|
3813
|
-
interface ToStringOptions$
|
|
3821
|
+
interface ToStringOptions$4 {
|
|
3814
3822
|
includeChains?: boolean;
|
|
3815
3823
|
includeConfigs?: boolean;
|
|
3816
3824
|
}
|
|
@@ -3823,9 +3831,10 @@ declare class ResourceTagConfig extends AbstractTagConfig {
|
|
|
3823
3831
|
minCount: number;
|
|
3824
3832
|
chain: TagsConfig | undefined;
|
|
3825
3833
|
jsonKey: string | undefined;
|
|
3834
|
+
secondaryJsonKey: string | undefined;
|
|
3826
3835
|
deprecated: string | undefined;
|
|
3827
3836
|
});
|
|
3828
|
-
toString(options?: ToStringOptions$
|
|
3837
|
+
toString(options?: ToStringOptions$4): string;
|
|
3829
3838
|
}
|
|
3830
3839
|
|
|
3831
3840
|
type TagConfig = MarkupTagConfig | PropertyTagConfig | ResourceTagConfig;
|
|
@@ -3834,7 +3843,7 @@ interface TagsConfig {
|
|
|
3834
3843
|
[configKey: string]: TagConfig;
|
|
3835
3844
|
}
|
|
3836
3845
|
|
|
3837
|
-
interface ToStringOptions$
|
|
3846
|
+
interface ToStringOptions$3 {
|
|
3838
3847
|
includeChains?: boolean;
|
|
3839
3848
|
includeConfigs?: boolean;
|
|
3840
3849
|
}
|
|
@@ -3843,7 +3852,20 @@ declare class CardVariantConfig {
|
|
|
3843
3852
|
bodyAllowed?: boolean;
|
|
3844
3853
|
bodyRequired?: boolean;
|
|
3845
3854
|
repeatCount?: CountType;
|
|
3846
|
-
|
|
3855
|
+
readonly jsonKey?: string | null;
|
|
3856
|
+
constructor(tags: TagsConfig, bodyAllowed?: boolean, bodyRequired?: boolean, repeatCount?: CountType, jsonKey?: string | null);
|
|
3857
|
+
toString(options?: ToStringOptions$3): string;
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
interface ToStringOptions$2 {
|
|
3861
|
+
includeChains?: boolean;
|
|
3862
|
+
includeConfigs?: boolean;
|
|
3863
|
+
}
|
|
3864
|
+
declare class CardSideConfig {
|
|
3865
|
+
readonly name: string;
|
|
3866
|
+
readonly repeat: boolean;
|
|
3867
|
+
readonly variants: CardVariantConfig[];
|
|
3868
|
+
constructor(name: string, repeat: boolean, variants: CardVariantConfig[]);
|
|
3847
3869
|
toString(options?: ToStringOptions$2): string;
|
|
3848
3870
|
}
|
|
3849
3871
|
|
|
@@ -3876,8 +3898,16 @@ interface ToStringOptions$1 {
|
|
|
3876
3898
|
}
|
|
3877
3899
|
declare class CardSetConfig {
|
|
3878
3900
|
readonly configKey: CardSetConfigKeyType;
|
|
3879
|
-
readonly
|
|
3880
|
-
|
|
3901
|
+
readonly jsonKey: string | null;
|
|
3902
|
+
readonly itemType: 'object' | 'array';
|
|
3903
|
+
readonly sections: Record<string, {
|
|
3904
|
+
jsonKey: string;
|
|
3905
|
+
}> | undefined;
|
|
3906
|
+
readonly sides: CardSideConfig[];
|
|
3907
|
+
get variants(): CardVariantConfig[][];
|
|
3908
|
+
constructor(configKey: CardSetConfigKeyType, jsonKey: string | null, itemType: 'object' | 'array', sections: Record<string, {
|
|
3909
|
+
jsonKey: string;
|
|
3910
|
+
}> | undefined, sides: CardSideConfig[]);
|
|
3881
3911
|
toString(options?: ToStringOptions$1): string;
|
|
3882
3912
|
}
|
|
3883
3913
|
|