@gmb/bitmark-parser-generator 4.19.0 → 4.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 +33 -1
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +33 -3
- package/dist/browser/esm/index.d.ts +33 -3
- package/dist/browser/esm/index.js +31 -1
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +33 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -3
- package/dist/index.d.ts +33 -3
- package/dist/index.js +31 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -388,6 +388,7 @@ declare const BitType: Readonly<{
|
|
|
388
388
|
multipleResponse: "multiple-response";
|
|
389
389
|
multipleResponse1: "multiple-response-1";
|
|
390
390
|
newspaperArticle: "newspaper-article";
|
|
391
|
+
nonProductionPrototypeIframe: "non-production-prototype-iframe";
|
|
391
392
|
note: "note";
|
|
392
393
|
noteAi: "note-ai";
|
|
393
394
|
noteAlt: "note-alt";
|
|
@@ -1004,6 +1005,7 @@ declare const BitType: Readonly<{
|
|
|
1004
1005
|
multipleResponse: "multiple-response";
|
|
1005
1006
|
multipleResponse1: "multiple-response-1";
|
|
1006
1007
|
newspaperArticle: "newspaper-article";
|
|
1008
|
+
nonProductionPrototypeIframe: "non-production-prototype-iframe";
|
|
1007
1009
|
note: "note";
|
|
1008
1010
|
noteAi: "note-ai";
|
|
1009
1011
|
noteAlt: "note-alt";
|
|
@@ -1427,6 +1429,8 @@ declare const ConfigKey: Readonly<{
|
|
|
1427
1429
|
property_icon: "@icon";
|
|
1428
1430
|
property_iconTag: "@iconTag";
|
|
1429
1431
|
property_id: "@id";
|
|
1432
|
+
property_iframeSrc: "@iframeSrc";
|
|
1433
|
+
property_iframeName: "@iframeName";
|
|
1430
1434
|
property_imageFirst: "@imageFirst";
|
|
1431
1435
|
property_imageSource: "@imageSource";
|
|
1432
1436
|
property_index: "@index";
|
|
@@ -1788,6 +1792,8 @@ declare const ConfigKey: Readonly<{
|
|
|
1788
1792
|
property_icon: "@icon";
|
|
1789
1793
|
property_iconTag: "@iconTag";
|
|
1790
1794
|
property_id: "@id";
|
|
1795
|
+
property_iframeSrc: "@iframeSrc";
|
|
1796
|
+
property_iframeName: "@iframeName";
|
|
1791
1797
|
property_imageFirst: "@imageFirst";
|
|
1792
1798
|
property_imageSource: "@imageSource";
|
|
1793
1799
|
property_index: "@index";
|
|
@@ -2282,6 +2288,10 @@ interface SectionTextNode extends TextNode {
|
|
|
2282
2288
|
type: 'heading';
|
|
2283
2289
|
section: string;
|
|
2284
2290
|
}
|
|
2291
|
+
interface TaskItemTextNode extends TextNode {
|
|
2292
|
+
type: 'taskItem';
|
|
2293
|
+
attrs?: TaskItemTextNodeAttributes;
|
|
2294
|
+
}
|
|
2285
2295
|
interface ImageTextNode extends TextNode {
|
|
2286
2296
|
type: 'image';
|
|
2287
2297
|
attrs?: ImageTextNodeAttributes;
|
|
@@ -2296,7 +2306,11 @@ interface CodeBlockTextNode extends TextNode {
|
|
|
2296
2306
|
}
|
|
2297
2307
|
interface LatexTextNode extends TextNode {
|
|
2298
2308
|
type: 'latex';
|
|
2299
|
-
attrs?:
|
|
2309
|
+
attrs?: LatexTextNodeAttributes;
|
|
2310
|
+
}
|
|
2311
|
+
interface ListTextNode extends TextNode {
|
|
2312
|
+
type: 'noBulletList' | 'bulletList' | 'orderedList' | 'orderedListRoman' | 'orderedListRomanLower' | 'letteredList' | 'letteredListLower';
|
|
2313
|
+
attrs?: ListTextNodeAttributes;
|
|
2300
2314
|
}
|
|
2301
2315
|
interface TextNodeAttibutes {
|
|
2302
2316
|
section: string;
|
|
@@ -2304,14 +2318,20 @@ interface TextNodeAttibutes {
|
|
|
2304
2318
|
interface HeadingTextNodeAttributes extends TextNodeAttibutes {
|
|
2305
2319
|
level: number;
|
|
2306
2320
|
}
|
|
2321
|
+
interface TaskItemTextNodeAttributes extends TextNodeAttibutes {
|
|
2322
|
+
checked: boolean;
|
|
2323
|
+
}
|
|
2307
2324
|
interface ImageTextNodeAttributes extends TextNodeAttibutes, MediaAttributes {
|
|
2308
2325
|
}
|
|
2309
2326
|
interface CodeBlockTextNodeAttributes extends TextNodeAttibutes {
|
|
2310
2327
|
language: string;
|
|
2311
2328
|
}
|
|
2312
|
-
interface
|
|
2329
|
+
interface LatexTextNodeAttributes extends TextNodeAttibutes {
|
|
2313
2330
|
formula: string;
|
|
2314
2331
|
}
|
|
2332
|
+
interface ListTextNodeAttributes extends TextNodeAttibutes {
|
|
2333
|
+
start: number;
|
|
2334
|
+
}
|
|
2315
2335
|
interface TextMarkAttibutes {
|
|
2316
2336
|
}
|
|
2317
2337
|
interface LinkMarkAttibutes extends TextMarkAttibutes {
|
|
@@ -2711,6 +2731,8 @@ interface BitJson {
|
|
|
2711
2731
|
releaseVersion: string;
|
|
2712
2732
|
releaseKind: string;
|
|
2713
2733
|
releaseDate: string;
|
|
2734
|
+
iframeSrc: string;
|
|
2735
|
+
iframeName: string;
|
|
2714
2736
|
ageRange: number | number[];
|
|
2715
2737
|
lang: string;
|
|
2716
2738
|
language: string | string[];
|
|
@@ -3309,6 +3331,8 @@ interface Bit {
|
|
|
3309
3331
|
releaseVersion?: Property;
|
|
3310
3332
|
releaseKind?: Property;
|
|
3311
3333
|
releaseDate?: Property;
|
|
3334
|
+
iframeSrc?: Property;
|
|
3335
|
+
iframeName?: Property;
|
|
3312
3336
|
ageRange?: Property;
|
|
3313
3337
|
lang?: Property;
|
|
3314
3338
|
language?: Property;
|
|
@@ -3851,6 +3875,8 @@ declare const NodeType: Readonly<{
|
|
|
3851
3875
|
iconValue: "iconValue";
|
|
3852
3876
|
id: "id";
|
|
3853
3877
|
idValue: "idValue";
|
|
3878
|
+
iframeSrc: "iframeSrc";
|
|
3879
|
+
iframeName: "iframeName";
|
|
3854
3880
|
image: "image";
|
|
3855
3881
|
imageFirst: "imageFirst";
|
|
3856
3882
|
imageFirstValue: "imageFirstValue";
|
|
@@ -4523,6 +4549,8 @@ declare const NodeType: Readonly<{
|
|
|
4523
4549
|
iconValue: "iconValue";
|
|
4524
4550
|
id: "id";
|
|
4525
4551
|
idValue: "idValue";
|
|
4552
|
+
iframeSrc: "iframeSrc";
|
|
4553
|
+
iframeName: "iframeName";
|
|
4526
4554
|
image: "image";
|
|
4527
4555
|
imageFirst: "imageFirst";
|
|
4528
4556
|
imageFirstValue: "imageFirstValue";
|
|
@@ -5831,6 +5859,8 @@ declare class Builder extends BaseBuilder {
|
|
|
5831
5859
|
releaseVersion?: string;
|
|
5832
5860
|
releaseKind?: string;
|
|
5833
5861
|
releaseDate?: string;
|
|
5862
|
+
iframeSrc?: string;
|
|
5863
|
+
iframeName?: string;
|
|
5834
5864
|
ageRange?: number | number[];
|
|
5835
5865
|
lang?: string;
|
|
5836
5866
|
language?: string | string[];
|
|
@@ -8609,4 +8639,4 @@ declare class JsonFileGenerator implements Generator<BitmarkAst> {
|
|
|
8609
8639
|
generateSync(_ast: BitmarkAst): void;
|
|
8610
8640
|
}
|
|
8611
8641
|
|
|
8612
|
-
export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type GapJson, type Generator, type GroupTagJson, type HeadingJson, type HighlightJson, type HighlightTextJson, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type ListItemJson, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceTypeType, type ResourceWrapperJson, type ResponseJson, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type TableCellJson, type TableExtendedJson, type TableJson, type TableRowJson, type TableSectionJson, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, parse as bitmarkTextParse };
|
|
8642
|
+
export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type CodeBlockTextNode, type CodeBlockTextNodeAttributes, type CommentMark, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtRefMark, type ExtRefMarkAttibutes, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type FootnoteAttibutes, type FootnoteMark, type GapJson, type Generator, type GroupTagJson, type HeadingJson, type HeadingTextNode, type HeadingTextNodeAttributes, type HighlightJson, type HighlightTextJson, type ImageInlineTextNode, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, type ImageTextNode, type ImageTextNodeAttributes, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type LatexTextNode, type LatexTextNodeAttributes, type LinkMark, type LinkMarkAttibutes, type ListItemJson, type ListTextNode, type ListTextNodeAttributes, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type MediaAttributes, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, type RefMark, type RefMarkAttibutes, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceTypeType, type ResourceWrapperJson, type ResponseJson, type SectionTextNode, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type SymbolMark, type TableCellJson, type TableExtendedJson, type TableJson, type TableRowJson, type TableSectionJson, type TaskItemTextNode, type TaskItemTextNodeAttributes, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type TextMark, type TextMarkAttibutes, TextMarkType, type TextMarkTypeType, type TextNode, type TextNodeAttibutes, TextNodeType, type TextNodeTypeType, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, type XRefMark, type XRefMarkAttibutes, parse as bitmarkTextParse };
|
package/dist/index.d.ts
CHANGED
|
@@ -388,6 +388,7 @@ declare const BitType: Readonly<{
|
|
|
388
388
|
multipleResponse: "multiple-response";
|
|
389
389
|
multipleResponse1: "multiple-response-1";
|
|
390
390
|
newspaperArticle: "newspaper-article";
|
|
391
|
+
nonProductionPrototypeIframe: "non-production-prototype-iframe";
|
|
391
392
|
note: "note";
|
|
392
393
|
noteAi: "note-ai";
|
|
393
394
|
noteAlt: "note-alt";
|
|
@@ -1004,6 +1005,7 @@ declare const BitType: Readonly<{
|
|
|
1004
1005
|
multipleResponse: "multiple-response";
|
|
1005
1006
|
multipleResponse1: "multiple-response-1";
|
|
1006
1007
|
newspaperArticle: "newspaper-article";
|
|
1008
|
+
nonProductionPrototypeIframe: "non-production-prototype-iframe";
|
|
1007
1009
|
note: "note";
|
|
1008
1010
|
noteAi: "note-ai";
|
|
1009
1011
|
noteAlt: "note-alt";
|
|
@@ -1427,6 +1429,8 @@ declare const ConfigKey: Readonly<{
|
|
|
1427
1429
|
property_icon: "@icon";
|
|
1428
1430
|
property_iconTag: "@iconTag";
|
|
1429
1431
|
property_id: "@id";
|
|
1432
|
+
property_iframeSrc: "@iframeSrc";
|
|
1433
|
+
property_iframeName: "@iframeName";
|
|
1430
1434
|
property_imageFirst: "@imageFirst";
|
|
1431
1435
|
property_imageSource: "@imageSource";
|
|
1432
1436
|
property_index: "@index";
|
|
@@ -1788,6 +1792,8 @@ declare const ConfigKey: Readonly<{
|
|
|
1788
1792
|
property_icon: "@icon";
|
|
1789
1793
|
property_iconTag: "@iconTag";
|
|
1790
1794
|
property_id: "@id";
|
|
1795
|
+
property_iframeSrc: "@iframeSrc";
|
|
1796
|
+
property_iframeName: "@iframeName";
|
|
1791
1797
|
property_imageFirst: "@imageFirst";
|
|
1792
1798
|
property_imageSource: "@imageSource";
|
|
1793
1799
|
property_index: "@index";
|
|
@@ -2282,6 +2288,10 @@ interface SectionTextNode extends TextNode {
|
|
|
2282
2288
|
type: 'heading';
|
|
2283
2289
|
section: string;
|
|
2284
2290
|
}
|
|
2291
|
+
interface TaskItemTextNode extends TextNode {
|
|
2292
|
+
type: 'taskItem';
|
|
2293
|
+
attrs?: TaskItemTextNodeAttributes;
|
|
2294
|
+
}
|
|
2285
2295
|
interface ImageTextNode extends TextNode {
|
|
2286
2296
|
type: 'image';
|
|
2287
2297
|
attrs?: ImageTextNodeAttributes;
|
|
@@ -2296,7 +2306,11 @@ interface CodeBlockTextNode extends TextNode {
|
|
|
2296
2306
|
}
|
|
2297
2307
|
interface LatexTextNode extends TextNode {
|
|
2298
2308
|
type: 'latex';
|
|
2299
|
-
attrs?:
|
|
2309
|
+
attrs?: LatexTextNodeAttributes;
|
|
2310
|
+
}
|
|
2311
|
+
interface ListTextNode extends TextNode {
|
|
2312
|
+
type: 'noBulletList' | 'bulletList' | 'orderedList' | 'orderedListRoman' | 'orderedListRomanLower' | 'letteredList' | 'letteredListLower';
|
|
2313
|
+
attrs?: ListTextNodeAttributes;
|
|
2300
2314
|
}
|
|
2301
2315
|
interface TextNodeAttibutes {
|
|
2302
2316
|
section: string;
|
|
@@ -2304,14 +2318,20 @@ interface TextNodeAttibutes {
|
|
|
2304
2318
|
interface HeadingTextNodeAttributes extends TextNodeAttibutes {
|
|
2305
2319
|
level: number;
|
|
2306
2320
|
}
|
|
2321
|
+
interface TaskItemTextNodeAttributes extends TextNodeAttibutes {
|
|
2322
|
+
checked: boolean;
|
|
2323
|
+
}
|
|
2307
2324
|
interface ImageTextNodeAttributes extends TextNodeAttibutes, MediaAttributes {
|
|
2308
2325
|
}
|
|
2309
2326
|
interface CodeBlockTextNodeAttributes extends TextNodeAttibutes {
|
|
2310
2327
|
language: string;
|
|
2311
2328
|
}
|
|
2312
|
-
interface
|
|
2329
|
+
interface LatexTextNodeAttributes extends TextNodeAttibutes {
|
|
2313
2330
|
formula: string;
|
|
2314
2331
|
}
|
|
2332
|
+
interface ListTextNodeAttributes extends TextNodeAttibutes {
|
|
2333
|
+
start: number;
|
|
2334
|
+
}
|
|
2315
2335
|
interface TextMarkAttibutes {
|
|
2316
2336
|
}
|
|
2317
2337
|
interface LinkMarkAttibutes extends TextMarkAttibutes {
|
|
@@ -2711,6 +2731,8 @@ interface BitJson {
|
|
|
2711
2731
|
releaseVersion: string;
|
|
2712
2732
|
releaseKind: string;
|
|
2713
2733
|
releaseDate: string;
|
|
2734
|
+
iframeSrc: string;
|
|
2735
|
+
iframeName: string;
|
|
2714
2736
|
ageRange: number | number[];
|
|
2715
2737
|
lang: string;
|
|
2716
2738
|
language: string | string[];
|
|
@@ -3309,6 +3331,8 @@ interface Bit {
|
|
|
3309
3331
|
releaseVersion?: Property;
|
|
3310
3332
|
releaseKind?: Property;
|
|
3311
3333
|
releaseDate?: Property;
|
|
3334
|
+
iframeSrc?: Property;
|
|
3335
|
+
iframeName?: Property;
|
|
3312
3336
|
ageRange?: Property;
|
|
3313
3337
|
lang?: Property;
|
|
3314
3338
|
language?: Property;
|
|
@@ -3851,6 +3875,8 @@ declare const NodeType: Readonly<{
|
|
|
3851
3875
|
iconValue: "iconValue";
|
|
3852
3876
|
id: "id";
|
|
3853
3877
|
idValue: "idValue";
|
|
3878
|
+
iframeSrc: "iframeSrc";
|
|
3879
|
+
iframeName: "iframeName";
|
|
3854
3880
|
image: "image";
|
|
3855
3881
|
imageFirst: "imageFirst";
|
|
3856
3882
|
imageFirstValue: "imageFirstValue";
|
|
@@ -4523,6 +4549,8 @@ declare const NodeType: Readonly<{
|
|
|
4523
4549
|
iconValue: "iconValue";
|
|
4524
4550
|
id: "id";
|
|
4525
4551
|
idValue: "idValue";
|
|
4552
|
+
iframeSrc: "iframeSrc";
|
|
4553
|
+
iframeName: "iframeName";
|
|
4526
4554
|
image: "image";
|
|
4527
4555
|
imageFirst: "imageFirst";
|
|
4528
4556
|
imageFirstValue: "imageFirstValue";
|
|
@@ -5831,6 +5859,8 @@ declare class Builder extends BaseBuilder {
|
|
|
5831
5859
|
releaseVersion?: string;
|
|
5832
5860
|
releaseKind?: string;
|
|
5833
5861
|
releaseDate?: string;
|
|
5862
|
+
iframeSrc?: string;
|
|
5863
|
+
iframeName?: string;
|
|
5834
5864
|
ageRange?: number | number[];
|
|
5835
5865
|
lang?: string;
|
|
5836
5866
|
language?: string | string[];
|
|
@@ -8609,4 +8639,4 @@ declare class JsonFileGenerator implements Generator<BitmarkAst> {
|
|
|
8609
8639
|
generateSync(_ast: BitmarkAst): void;
|
|
8610
8640
|
}
|
|
8611
8641
|
|
|
8612
|
-
export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type GapJson, type Generator, type GroupTagJson, type HeadingJson, type HighlightJson, type HighlightTextJson, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type ListItemJson, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceTypeType, type ResourceWrapperJson, type ResponseJson, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type TableCellJson, type TableExtendedJson, type TableJson, type TableRowJson, type TableSectionJson, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, parse as bitmarkTextParse };
|
|
8642
|
+
export { type AppLinkResourceJson, type AppLinkResourceWrapperJson, type ArticleResourceJson, type ArticleResourceWrapperJson, Ast, type AstWalkCallbacks, type AudioEmbedResourceJson, type AudioEmbedResourceWrapperJson, type AudioLinkResourceJson, type AudioLinkResourceWrapperJson, type AudioResourceJson, type AudioResourceWrapperJson, type Bit, type BitJson, BitType, type BitTypeType, type BitWrapperJson, type BitmarkAst, BitmarkFileGenerator, BitmarkGenerator, type BitmarkOptions, BitmarkParser, BitmarkParserGenerator, BitmarkParserType, type BitmarkParserTypeType, BitmarkStringGenerator, BitmarkVersion, type BitmarkVersionType, type Body, type BodyBitJson, type BodyBitsJson, type BodyPart, BodyTextFormat, type BodyTextFormatType, type BookJson, type BookReferenceJson, type BotResponseJson, type BreakscapeOptions, type BreakscapedString, Builder, type CardBit, type CardNode, CardSetVersion, type CardSetVersionType, type ChoiceJson, type CodeBlockTextNode, type CodeBlockTextNodeAttributes, type CommentMark, type ConvertOptions, type ConvertTextOptions, type CreateAstOptions, type DefinitionListItemJson, type DocumentDownloadResourceJson, type DocumentDownloadResourceWrapperJson, type DocumentEmbedResourceJson, type DocumentEmbedResourceWrapperJson, type DocumentLinkResourceJson, type DocumentLinkResourceWrapperJson, type DocumentResourceJson, type DocumentResourceWrapperJson, type Example, type ExampleJson, type ExtRefMark, type ExtRefMarkAttibutes, type ExtraProperties, type FeedbackChoiceJson, type FeedbackJson, type FeedbackReasonJson, type FileOptions, FileWriter, type FlashcardJson, type Footer, type FootnoteAttibutes, type FootnoteMark, type GapJson, type Generator, type GroupTagJson, type HeadingJson, type HeadingTextNode, type HeadingTextNodeAttributes, type HighlightJson, type HighlightTextJson, type ImageInlineTextNode, type ImageLinkResourceJson, type ImageLinkResourceWrapperJson, type ImageResourceJson, type ImageResourceWrapperJson, type ImageSourceJson, type ImageTextNode, type ImageTextNodeAttributes, InfoFormat, type InfoFormatType, type InfoOptions, InfoType, type InfoTypeType, type IngredientJson, Input, type InputType, JsonFileGenerator, JsonGenerator, type JsonOptions, JsonParser, JsonStringGenerator, type LatexTextNode, type LatexTextNodeAttributes, type LinkMark, type LinkMarkAttibutes, type ListItemJson, type ListTextNode, type ListTextNodeAttributes, type MarkConfigJson, type MarkJson, type MatrixCellJson, type MatrixJson, type MediaAttributes, type Node, type NodeInfo, NodeType, type NodeTypeType, Output, type OutputType, type PairJson, type ParserJson, type PersonJson, type UpgradeOptions as PrettifyOptions, type PronunciationTableCellJson, type PronunciationTableJson, type Property, type QuestionJson, type QuizJson, type RatingLevelStartEndJson, type RefMark, type RefMarkAttibutes, ResourceBuilder, type ResourceDataJson, type ResourceJson, type ResourceTypeType, type ResourceWrapperJson, type ResponseJson, type SectionTextNode, type SelectJson, type SelectOptionJson, type ServingsJson, type StatementJson, type StillImageFilmEmbedResourceJson, type StillImageFilmEmbedResourceWrapperJson, type StillImageFilmLinkResourceJson, type StillImageFilmLinkResourceWrapperJson, type StillImageFilmResourceJson, type StillImageFilmResourceWrapperJson, StreamWriter, StringWriter, type SymbolMark, type TableCellJson, type TableExtendedJson, type TableJson, type TableRowJson, type TableSectionJson, type TaskItemTextNode, type TaskItemTextNodeAttributes, type TechnicalTermJson, type JsonText as Text, type TextAndIconJson, type TextAst, type TextJsonOptions, type TextMark, type TextMarkAttibutes, TextMarkType, type TextMarkTypeType, type TextNode, type TextNodeAttibutes, TextNodeType, type TextNodeTypeType, type UnbreakscapeOptions, type UpgradeOptions, type VideoEmbedResourceJson, type VideoEmbedResourceWrapperJson, type VideoLinkResourceJson, type VideoLinkResourceWrapperJson, type VideoResourceJson, type VideoResourceWrapperJson, type WebsiteLinkResourceJson, type WebsiteLinkResourceWrapperJson, type Writer, type XRefMark, type XRefMarkAttibutes, parse as bitmarkTextParse };
|
package/dist/index.js
CHANGED
|
@@ -393,6 +393,7 @@ var BitType = superenum({
|
|
|
393
393
|
multipleResponse: "multiple-response",
|
|
394
394
|
multipleResponse1: "multiple-response-1",
|
|
395
395
|
newspaperArticle: "newspaper-article",
|
|
396
|
+
nonProductionPrototypeIframe: "non-production-prototype-iframe",
|
|
396
397
|
note: "note",
|
|
397
398
|
noteAi: "note-ai",
|
|
398
399
|
noteAlt: "note-alt",
|
|
@@ -1221,6 +1222,8 @@ var propertyKeys = {
|
|
|
1221
1222
|
property_icon: "@icon",
|
|
1222
1223
|
property_iconTag: "@iconTag",
|
|
1223
1224
|
property_id: "@id",
|
|
1225
|
+
property_iframeSrc: "@iframeSrc",
|
|
1226
|
+
property_iframeName: "@iframeName",
|
|
1224
1227
|
property_imageFirst: "@imageFirst",
|
|
1225
1228
|
property_imageSource: "@imageSource",
|
|
1226
1229
|
property_index: "@index",
|
|
@@ -9842,6 +9845,22 @@ var BITS = {
|
|
|
9842
9845
|
}
|
|
9843
9846
|
],
|
|
9844
9847
|
resourceAttachmentAllowed: false
|
|
9848
|
+
},
|
|
9849
|
+
[BitType.nonProductionPrototypeIframe]: {
|
|
9850
|
+
since: "4.20.0",
|
|
9851
|
+
baseBitType: BitType._standard,
|
|
9852
|
+
description: "A non-production prototype iframe bit, used to embed prototype iframes",
|
|
9853
|
+
tags: [
|
|
9854
|
+
{
|
|
9855
|
+
key: ConfigKey.property_iframeSrc,
|
|
9856
|
+
description: "Iframe source URL, used to define the source of the iframe"
|
|
9857
|
+
},
|
|
9858
|
+
{
|
|
9859
|
+
key: ConfigKey.property_iframeName,
|
|
9860
|
+
description: "Iframe name, used to define the name of the iframe",
|
|
9861
|
+
minCount: 1
|
|
9862
|
+
}
|
|
9863
|
+
]
|
|
9845
9864
|
}
|
|
9846
9865
|
};
|
|
9847
9866
|
|
|
@@ -10184,7 +10203,7 @@ var instance2 = new Config();
|
|
|
10184
10203
|
// src/generated/package_info.ts
|
|
10185
10204
|
var PACKAGE_INFO = {
|
|
10186
10205
|
"name": "@gmb/bitmark-parser-generator",
|
|
10187
|
-
"version": "4.
|
|
10206
|
+
"version": "4.20.0",
|
|
10188
10207
|
"author": "Get More Brain Ltd",
|
|
10189
10208
|
"license": "ISC",
|
|
10190
10209
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -10778,6 +10797,8 @@ var NodeType = superenum20({
|
|
|
10778
10797
|
iconValue: "iconValue",
|
|
10779
10798
|
id: "id",
|
|
10780
10799
|
idValue: "idValue",
|
|
10800
|
+
iframeSrc: "iframeSrc",
|
|
10801
|
+
iframeName: "iframeName",
|
|
10781
10802
|
image: "image",
|
|
10782
10803
|
imageFirst: "imageFirst",
|
|
10783
10804
|
imageFirstValue: "imageFirstValue",
|
|
@@ -23767,6 +23788,13 @@ var Builder = class extends BaseBuilder {
|
|
|
23767
23788
|
data.releaseDate,
|
|
23768
23789
|
options
|
|
23769
23790
|
),
|
|
23791
|
+
iframeSrc: this.toAstProperty(bitType, ConfigKey.property_iframeSrc, data.iframeSrc, options),
|
|
23792
|
+
iframeName: this.toAstProperty(
|
|
23793
|
+
bitType,
|
|
23794
|
+
ConfigKey.property_iframeName,
|
|
23795
|
+
data.iframeName,
|
|
23796
|
+
options
|
|
23797
|
+
),
|
|
23770
23798
|
book: this.buildBooks(context, data.book),
|
|
23771
23799
|
ageRange: this.toAstProperty(bitType, ConfigKey.property_ageRange, data.ageRange, options),
|
|
23772
23800
|
lang: this.toAstProperty(bitType, ConfigKey.property_lang, data.lang, options),
|
|
@@ -39540,6 +39568,8 @@ export {
|
|
|
39540
39568
|
ResourceBuilder,
|
|
39541
39569
|
StreamWriter,
|
|
39542
39570
|
StringWriter,
|
|
39571
|
+
TextMarkType,
|
|
39572
|
+
TextNodeType,
|
|
39543
39573
|
parse as bitmarkTextParse
|
|
39544
39574
|
};
|
|
39545
39575
|
//# sourceMappingURL=index.js.map
|