@gmb/bitmark-parser-generator 1.0.11
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/LICENSE +7 -0
- package/README.md +183 -0
- package/dist/browser/bitmark-parser-generator-antlr.min.js +2 -0
- package/dist/browser/bitmark-parser-generator-antlr.min.js.LICENSE.txt +22 -0
- package/dist/browser/bitmark-parser-generator.min.js +1 -0
- package/dist/browser/bundle-report.html +39 -0
- package/dist/cjs/BitmarkParserGenerator.js +470 -0
- package/dist/cjs/BitmarkParserGenerator.js.map +1 -0
- package/dist/cjs/ast/Ast.js +216 -0
- package/dist/cjs/ast/Ast.js.map +1 -0
- package/dist/cjs/ast/BaseBuilder.js +72 -0
- package/dist/cjs/ast/BaseBuilder.js.map +1 -0
- package/dist/cjs/ast/Builder.js +607 -0
- package/dist/cjs/ast/Builder.js.map +1 -0
- package/dist/cjs/ast/ResourceBuilder.js +629 -0
- package/dist/cjs/ast/ResourceBuilder.js.map +1 -0
- package/dist/cjs/ast/rules/NodeValidator.js +137 -0
- package/dist/cjs/ast/rules/NodeValidator.js.map +1 -0
- package/dist/cjs/ast/writer/FileWriter.js +109 -0
- package/dist/cjs/ast/writer/FileWriter.js.map +1 -0
- package/dist/cjs/ast/writer/StreamWriter.js +76 -0
- package/dist/cjs/ast/writer/StreamWriter.js.map +1 -0
- package/dist/cjs/ast/writer/StringWriter.js +102 -0
- package/dist/cjs/ast/writer/StringWriter.js.map +1 -0
- package/dist/cjs/ast/writer/Writer.js +3 -0
- package/dist/cjs/ast/writer/Writer.js.map +1 -0
- package/dist/cjs/config/bits/_errorBitConfig.js +10 -0
- package/dist/cjs/config/bits/_errorBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/aiPromptBitConfig.js +12 -0
- package/dist/cjs/config/bits/aiPromptBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/anchorBitConfig.js +11 -0
- package/dist/cjs/config/bits/anchorBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/appLinkBitConfig.js +14 -0
- package/dist/cjs/config/bits/appLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/articleAiBitConfig.js +13 -0
- package/dist/cjs/config/bits/articleAiBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/articleAttachmentBitConfig.js +12 -0
- package/dist/cjs/config/bits/articleAttachmentBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/articleBitConfig.js +12 -0
- package/dist/cjs/config/bits/articleBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/articleEmbedBitConfig.js +14 -0
- package/dist/cjs/config/bits/articleEmbedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/articleLinkBitConfig.js +14 -0
- package/dist/cjs/config/bits/articleLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/assignmentBitConfig.js +12 -0
- package/dist/cjs/config/bits/assignmentBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/audioBitConfig.js +14 -0
- package/dist/cjs/config/bits/audioBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/audioEmbedBitConfig.js +14 -0
- package/dist/cjs/config/bits/audioEmbedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/audioLinkBitConfig.js +14 -0
- package/dist/cjs/config/bits/audioLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/bitAliasBitConfig.js +12 -0
- package/dist/cjs/config/bits/bitAliasBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/bitBookEndingBitConfig.js +11 -0
- package/dist/cjs/config/bits/bitBookEndingBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/bitBookSummaryBitConfig.js +11 -0
- package/dist/cjs/config/bits/bitBookSummaryBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/blogArticleBitConfig.js +12 -0
- package/dist/cjs/config/bits/blogArticleBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/bookBitConfig.js +49 -0
- package/dist/cjs/config/bits/bookBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/botActionAnnounceBitConfig.js +11 -0
- package/dist/cjs/config/bits/botActionAnnounceBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/botActionRatingNumberBitConfig.js +11 -0
- package/dist/cjs/config/bits/botActionRatingNumberBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/botActionRemindBitConfig.js +11 -0
- package/dist/cjs/config/bits/botActionRemindBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/botActionResponseBitConfig.js +14 -0
- package/dist/cjs/config/bits/botActionResponseBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/botActionSaveBitConfig.js +11 -0
- package/dist/cjs/config/bits/botActionSaveBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/botActionSendBitConfig.js +12 -0
- package/dist/cjs/config/bits/botActionSendBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/botActionTrueFalseBitConfig.js +11 -0
- package/dist/cjs/config/bits/botActionTrueFalseBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/botInterviewBitConfig.js +11 -0
- package/dist/cjs/config/bits/botInterviewBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/browserImageBitConfig.js +15 -0
- package/dist/cjs/config/bits/browserImageBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/bugBitConfig.js +12 -0
- package/dist/cjs/config/bits/bugBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/card1BitConfig.js +12 -0
- package/dist/cjs/config/bits/card1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/chapterBitConfig.js +12 -0
- package/dist/cjs/config/bits/chapterBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/chapterSubjectMatterBitConfig.js +11 -0
- package/dist/cjs/config/bits/chapterSubjectMatterBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/chatBitConfig.js +11 -0
- package/dist/cjs/config/bits/chatBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/clozeAndMultipleChoiceTextBitConfig.js +13 -0
- package/dist/cjs/config/bits/clozeAndMultipleChoiceTextBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/clozeBitConfig.js +13 -0
- package/dist/cjs/config/bits/clozeBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/clozeInstructionGroupedBitConfig.js +13 -0
- package/dist/cjs/config/bits/clozeInstructionGroupedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/clozeSolutionGroupedBitConfig.js +13 -0
- package/dist/cjs/config/bits/clozeSolutionGroupedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/codeBitConfig.js +12 -0
- package/dist/cjs/config/bits/codeBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/conclusionBitConfig.js +12 -0
- package/dist/cjs/config/bits/conclusionBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/conversationBitConfig.js +19 -0
- package/dist/cjs/config/bits/conversationBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/correctionBitConfig.js +12 -0
- package/dist/cjs/config/bits/correctionBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/dangerBitConfig.js +12 -0
- package/dist/cjs/config/bits/dangerBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/details1BitConfig.js +11 -0
- package/dist/cjs/config/bits/details1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/detailsBitConfig.js +12 -0
- package/dist/cjs/config/bits/detailsBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/documentBitConfig.js +14 -0
- package/dist/cjs/config/bits/documentBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/documentDownloadBitConfig.js +14 -0
- package/dist/cjs/config/bits/documentDownloadBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/documentEmbedBitConfig.js +14 -0
- package/dist/cjs/config/bits/documentEmbedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/documentLinkBitConfig.js +14 -0
- package/dist/cjs/config/bits/documentLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/documentUploadBitConfig.js +11 -0
- package/dist/cjs/config/bits/documentUploadBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/editorialBitConfig.js +12 -0
- package/dist/cjs/config/bits/editorialBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/essayBitConfig.js +13 -0
- package/dist/cjs/config/bits/essayBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/exampleBitConfig.js +12 -0
- package/dist/cjs/config/bits/exampleBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/featuredBitConfig.js +12 -0
- package/dist/cjs/config/bits/featuredBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/flashcard1BitConfig.js +11 -0
- package/dist/cjs/config/bits/flashcard1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/flashcardBitConfig.js +11 -0
- package/dist/cjs/config/bits/flashcardBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/focusImageBitConfig.js +15 -0
- package/dist/cjs/config/bits/focusImageBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/footNoteBitConfig.js +12 -0
- package/dist/cjs/config/bits/footNoteBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/generic/cardSetBitConfigs.js +138 -0
- package/dist/cjs/config/bits/generic/cardSetBitConfigs.js.map +1 -0
- package/dist/cjs/config/bits/generic/chainBitConfigs.js +47 -0
- package/dist/cjs/config/bits/generic/chainBitConfigs.js.map +1 -0
- package/dist/cjs/config/bits/generic/resourceChainBitConfigs.js +197 -0
- package/dist/cjs/config/bits/generic/resourceChainBitConfigs.js.map +1 -0
- package/dist/cjs/config/bits/generic/standardBitConfigs.js +46 -0
- package/dist/cjs/config/bits/generic/standardBitConfigs.js.map +1 -0
- package/dist/cjs/config/bits/groupBornBitConfig.js +11 -0
- package/dist/cjs/config/bits/groupBornBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/groupDiedBitConfig.js +11 -0
- package/dist/cjs/config/bits/groupDiedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/helpBitConfig.js +12 -0
- package/dist/cjs/config/bits/helpBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/highlightTextBitConfig.js +13 -0
- package/dist/cjs/config/bits/highlightTextBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/hintBitConfig.js +12 -0
- package/dist/cjs/config/bits/hintBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/imageBitConfig.js +14 -0
- package/dist/cjs/config/bits/imageBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/imageLinkBitConfig.js +14 -0
- package/dist/cjs/config/bits/imageLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/imagePrototypeBitConfig.js +14 -0
- package/dist/cjs/config/bits/imagePrototypeBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/imageSuperWideBitConfig.js +14 -0
- package/dist/cjs/config/bits/imageSuperWideBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/imageZoomBitConfig.js +14 -0
- package/dist/cjs/config/bits/imageZoomBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/infoBitConfig.js +12 -0
- package/dist/cjs/config/bits/infoBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/internalLinkBitConfig.js +12 -0
- package/dist/cjs/config/bits/internalLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/interviewBitConfig.js +15 -0
- package/dist/cjs/config/bits/interviewBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/interviewInstructionGroupedBitConfig.js +15 -0
- package/dist/cjs/config/bits/interviewInstructionGroupedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/learningPathBitConfig.js +87 -0
- package/dist/cjs/config/bits/learningPathBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/markBitConfig.js +12 -0
- package/dist/cjs/config/bits/markBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/matchBitConfig.js +64 -0
- package/dist/cjs/config/bits/matchBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/messageBitConfig.js +12 -0
- package/dist/cjs/config/bits/messageBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/multipleChoice1BitConfig.js +13 -0
- package/dist/cjs/config/bits/multipleChoice1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/multipleChoiceBitConfig.js +16 -0
- package/dist/cjs/config/bits/multipleChoiceBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/multipleChoiceTextBitConfig.js +13 -0
- package/dist/cjs/config/bits/multipleChoiceTextBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/multipleResponse1BitConfig.js +13 -0
- package/dist/cjs/config/bits/multipleResponse1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/multipleResponseBitConfig.js +16 -0
- package/dist/cjs/config/bits/multipleResponseBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/newspaperArticleBitConfig.js +12 -0
- package/dist/cjs/config/bits/newspaperArticleBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/noteAiBitConfig.js +13 -0
- package/dist/cjs/config/bits/noteAiBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/noteBitConfig.js +12 -0
- package/dist/cjs/config/bits/noteBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/notebookArticleBitConfig.js +12 -0
- package/dist/cjs/config/bits/notebookArticleBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/pageBitConfig.js +12 -0
- package/dist/cjs/config/bits/pageBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/photoBitConfig.js +14 -0
- package/dist/cjs/config/bits/photoBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/preparationNoteBitConfig.js +12 -0
- package/dist/cjs/config/bits/preparationNoteBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/question1BitConfig.js +12 -0
- package/dist/cjs/config/bits/question1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/quoteBitConfig.js +12 -0
- package/dist/cjs/config/bits/quoteBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/ratingBitConfig.js +11 -0
- package/dist/cjs/config/bits/ratingBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/recordAudioBitConfig.js +11 -0
- package/dist/cjs/config/bits/recordAudioBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/releaseNoteBitConfig.js +13 -0
- package/dist/cjs/config/bits/releaseNoteBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/releaseNotesSummaryBitConfig.js +12 -0
- package/dist/cjs/config/bits/releaseNotesSummaryBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/remarkBitConfig.js +12 -0
- package/dist/cjs/config/bits/remarkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/sampleSolutionBitConfig.js +15 -0
- package/dist/cjs/config/bits/sampleSolutionBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/screenshotBitConfig.js +14 -0
- package/dist/cjs/config/bits/screenshotBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/selfAssessmentBitConfig.js +12 -0
- package/dist/cjs/config/bits/selfAssessmentBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/sequenceBitConfig.js +15 -0
- package/dist/cjs/config/bits/sequenceBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/sideNoteBitConfig.js +12 -0
- package/dist/cjs/config/bits/sideNoteBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/statementBitConfig.js +12 -0
- package/dist/cjs/config/bits/statementBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/stickyNoteBitConfig.js +12 -0
- package/dist/cjs/config/bits/stickyNoteBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/stillImageFilmBitConfig.js +14 -0
- package/dist/cjs/config/bits/stillImageFilmBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/stillImageFilmEmbedBitConfig.js +14 -0
- package/dist/cjs/config/bits/stillImageFilmEmbedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/stillImageFilmLinkBitConfig.js +14 -0
- package/dist/cjs/config/bits/stillImageFilmLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/summaryAiBitConfig.js +13 -0
- package/dist/cjs/config/bits/summaryAiBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/summaryBitConfig.js +13 -0
- package/dist/cjs/config/bits/summaryBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/survey1BitConfig.js +12 -0
- package/dist/cjs/config/bits/survey1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/surveyAnonymous1BitConfig.js +12 -0
- package/dist/cjs/config/bits/surveyAnonymous1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/surveyAnonymousBitConfig.js +12 -0
- package/dist/cjs/config/bits/surveyAnonymousBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/surveyBitConfig.js +12 -0
- package/dist/cjs/config/bits/surveyBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/takePictureBitConfig.js +11 -0
- package/dist/cjs/config/bits/takePictureBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/tocBitConfig.js +11 -0
- package/dist/cjs/config/bits/tocBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/trueFalse1BitConfig.js +14 -0
- package/dist/cjs/config/bits/trueFalse1BitConfig.js.map +1 -0
- package/dist/cjs/config/bits/trueFalseBitConfig.js +16 -0
- package/dist/cjs/config/bits/trueFalseBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/vendorPadletEmbedBitConfig.js +12 -0
- package/dist/cjs/config/bits/vendorPadletEmbedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/videoBitConfig.js +14 -0
- package/dist/cjs/config/bits/videoBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/videoEmbedBitConfig.js +14 -0
- package/dist/cjs/config/bits/videoEmbedBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/videoLandscapeBitConfig.js +14 -0
- package/dist/cjs/config/bits/videoLandscapeBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/videoLinkBitConfig.js +14 -0
- package/dist/cjs/config/bits/videoLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/videoPortraitBitConfig.js +14 -0
- package/dist/cjs/config/bits/videoPortraitBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/warningBitConfig.js +12 -0
- package/dist/cjs/config/bits/warningBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/websiteLinkBitConfig.js +14 -0
- package/dist/cjs/config/bits/websiteLinkBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/workbookArticleBitConfig.js +12 -0
- package/dist/cjs/config/bits/workbookArticleBitConfig.js.map +1 -0
- package/dist/cjs/config/config.js +177 -0
- package/dist/cjs/config/config.js.map +1 -0
- package/dist/cjs/config/properties/actionPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/actionPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/ageRangePropertyConfig.js +8 -0
- package/dist/cjs/config/properties/ageRangePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/aiGeneratedPropertyConfig.js +11 -0
- package/dist/cjs/config/properties/aiGeneratedPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/authorPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/authorPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/bookPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/bookPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/botPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/botPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/caseSensitivePropertyConfig.js +11 -0
- package/dist/cjs/config/properties/caseSensitivePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/computerLanguagePropertyConfig.js +9 -0
- package/dist/cjs/config/properties/computerLanguagePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/coverImagePropertyConfig.js +8 -0
- package/dist/cjs/config/properties/coverImagePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/datePropertyConfig.js +8 -0
- package/dist/cjs/config/properties/datePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/deeplinkPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/deeplinkPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/durationPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/durationPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/examplePropertyConfig.js +9 -0
- package/dist/cjs/config/properties/examplePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/externalIdPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/externalIdPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/externalLinkPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/externalLinkPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/externalLinkTextPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/externalLinkTextPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/focusXPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/focusXPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/focusYPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/focusYPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/idPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/idPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/isInfoOnlyPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/isInfoOnlyPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/isTrackedPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/isTrackedPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/kindPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/kindPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/labelFalsePropertyConfig.js +9 -0
- package/dist/cjs/config/properties/labelFalsePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/labelTruePropertyConfig.js +9 -0
- package/dist/cjs/config/properties/labelTruePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/languagePropertyConfig.js +8 -0
- package/dist/cjs/config/properties/languagePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/levelPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/levelPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/listPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/listPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/locationPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/locationPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/longAnswerPropertyConfig.js +11 -0
- package/dist/cjs/config/properties/longAnswerPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/padletIdPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/padletIdPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/partialAnswerPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/partialAnswerPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/partnerPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/partnerPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/progressPropertyConfig.js +10 -0
- package/dist/cjs/config/properties/progressPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/publicationsPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/publicationsPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/publisherPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/publisherPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/quotedPersonPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/quotedPersonPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/reactionPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/reactionPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/referencePropertyConfig.js +10 -0
- package/dist/cjs/config/properties/referencePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/releaseVersionPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/releaseVersionPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/resourcePropertyConfig.js +78 -0
- package/dist/cjs/config/properties/resourcePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/sampleSolutionPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/sampleSolutionPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/shortAnswerPropertyConfig.js +11 -0
- package/dist/cjs/config/properties/shortAnswerPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/spaceIdPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/spaceIdPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/subjectPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/subjectPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/subtypePropertyConfig.js +9 -0
- package/dist/cjs/config/properties/subtypePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/textReferencePropertyConfig.js +9 -0
- package/dist/cjs/config/properties/textReferencePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/themePropertyConfig.js +8 -0
- package/dist/cjs/config/properties/themePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/thumbImagePropertyConfig.js +9 -0
- package/dist/cjs/config/properties/thumbImagePropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/tocPropertyConfig.js +10 -0
- package/dist/cjs/config/properties/tocPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/videoCallLinkPropertyConfig copy.js +9 -0
- package/dist/cjs/config/properties/videoCallLinkPropertyConfig copy.js.map +1 -0
- package/dist/cjs/config/properties/videoCallLinkPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/videoCallLinkPropertyConfig.js.map +1 -0
- package/dist/cjs/generated/build-info.js +10 -0
- package/dist/cjs/generated/build-info.js.map +1 -0
- package/dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js +3429 -0
- package/dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js.map +1 -0
- package/dist/cjs/generated/parser/text/text-peggy-parser.js +6897 -0
- package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -0
- package/dist/cjs/generator/Generator.js +3 -0
- package/dist/cjs/generator/Generator.js.map +1 -0
- package/dist/cjs/generator/bitmark/BitmarkFileGenerator.js +49 -0
- package/dist/cjs/generator/bitmark/BitmarkFileGenerator.js.map +1 -0
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js +1202 -0
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -0
- package/dist/cjs/generator/bitmark/BitmarkStringGenerator.js +51 -0
- package/dist/cjs/generator/bitmark/BitmarkStringGenerator.js.map +1 -0
- package/dist/cjs/generator/json/JsonFileGenerator.js +53 -0
- package/dist/cjs/generator/json/JsonFileGenerator.js.map +1 -0
- package/dist/cjs/generator/json/JsonGenerator.js +2049 -0
- package/dist/cjs/generator/json/JsonGenerator.js.map +1 -0
- package/dist/cjs/generator/json/JsonObjectGenerator.js +51 -0
- package/dist/cjs/generator/json/JsonObjectGenerator.js.map +1 -0
- package/dist/cjs/generator/json/JsonStringGenerator.js +50 -0
- package/dist/cjs/generator/json/JsonStringGenerator.js.map +1 -0
- package/dist/cjs/generator/text/TextGenerator.js +663 -0
- package/dist/cjs/generator/text/TextGenerator.js.map +1 -0
- package/dist/cjs/index.js +66 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/init/init.js +16 -0
- package/dist/cjs/init/init.js.map +1 -0
- package/dist/cjs/model/ast/NodeType.js +238 -0
- package/dist/cjs/model/ast/NodeType.js.map +1 -0
- package/dist/cjs/model/ast/Nodes.js +3 -0
- package/dist/cjs/model/ast/Nodes.js.map +1 -0
- package/dist/cjs/model/ast/TextNodes.js +3 -0
- package/dist/cjs/model/ast/TextNodes.js.map +1 -0
- package/dist/cjs/model/config/TagData.js +6 -0
- package/dist/cjs/model/config/TagData.js.map +1 -0
- package/dist/cjs/model/enum/BitType.js +185 -0
- package/dist/cjs/model/enum/BitType.js.map +1 -0
- package/dist/cjs/model/enum/BitmarkGeneratorOutput.js +2 -0
- package/dist/cjs/model/enum/BitmarkGeneratorOutput.js.map +1 -0
- package/dist/cjs/model/enum/BitmarkParserType.js +10 -0
- package/dist/cjs/model/enum/BitmarkParserType.js.map +1 -0
- package/dist/cjs/model/enum/BitmarkVersion.js +12 -0
- package/dist/cjs/model/enum/BitmarkVersion.js.map +1 -0
- package/dist/cjs/model/enum/BodyBitType.js +13 -0
- package/dist/cjs/model/enum/BodyBitType.js.map +1 -0
- package/dist/cjs/model/enum/CardSetType.js +15 -0
- package/dist/cjs/model/enum/CardSetType.js.map +1 -0
- package/dist/cjs/model/enum/CardSetVersion.js +10 -0
- package/dist/cjs/model/enum/CardSetVersion.js.map +1 -0
- package/dist/cjs/model/enum/PropertyKey.js +76 -0
- package/dist/cjs/model/enum/PropertyKey.js.map +1 -0
- package/dist/cjs/model/enum/ResourceType.js +31 -0
- package/dist/cjs/model/enum/ResourceType.js.map +1 -0
- package/dist/cjs/model/enum/TagType.js +22 -0
- package/dist/cjs/model/enum/TagType.js.map +1 -0
- package/dist/cjs/model/enum/TextFormat.js +11 -0
- package/dist/cjs/model/enum/TextFormat.js.map +1 -0
- package/dist/cjs/model/enum/TextMarkType.js +25 -0
- package/dist/cjs/model/enum/TextMarkType.js.map +1 -0
- package/dist/cjs/model/enum/TextNodeType.js +26 -0
- package/dist/cjs/model/enum/TextNodeType.js.map +1 -0
- package/dist/cjs/model/enum/TextSection.js +18 -0
- package/dist/cjs/model/enum/TextSection.js.map +1 -0
- package/dist/cjs/model/json/BitJson.js +3 -0
- package/dist/cjs/model/json/BitJson.js.map +1 -0
- package/dist/cjs/model/json/BitWrapperJson.js +3 -0
- package/dist/cjs/model/json/BitWrapperJson.js.map +1 -0
- package/dist/cjs/model/json/BodyBitJson.js +3 -0
- package/dist/cjs/model/json/BodyBitJson.js.map +1 -0
- package/dist/cjs/model/json/ParserJson.js +3 -0
- package/dist/cjs/model/json/ParserJson.js.map +1 -0
- package/dist/cjs/model/json/ResourceJson.js +3 -0
- package/dist/cjs/model/json/ResourceJson.js.map +1 -0
- package/dist/cjs/model/parser/ParserData.js +3 -0
- package/dist/cjs/model/parser/ParserData.js.map +1 -0
- package/dist/cjs/model/parser/ParserError.js +3 -0
- package/dist/cjs/model/parser/ParserError.js.map +1 -0
- package/dist/cjs/model/parser/ParserInfo.js +3 -0
- package/dist/cjs/model/parser/ParserInfo.js.map +1 -0
- package/dist/cjs/model/parser/ParserLocation.js +3 -0
- package/dist/cjs/model/parser/ParserLocation.js.map +1 -0
- package/dist/cjs/model/parser/ParserLocationRange.js +3 -0
- package/dist/cjs/model/parser/ParserLocationRange.js.map +1 -0
- package/dist/cjs/parser/bitmark/BitmarkParser.js +67 -0
- package/dist/cjs/parser/bitmark/BitmarkParser.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParser.js +7 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParser.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js +533 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js +575 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js +64 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js +610 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/PeggyGrammarLocation.js +82 -0
- package/dist/cjs/parser/bitmark/peg/PeggyGrammarLocation.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +35 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +405 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +16 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js +19 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +35 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +42 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +16 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js +51 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +63 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +16 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +115 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +42 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +177 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +18 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -0
- package/dist/cjs/parser/json/JsonParser.js +592 -0
- package/dist/cjs/parser/json/JsonParser.js.map +1 -0
- package/dist/cjs/parser/text/TextParser.js +33 -0
- package/dist/cjs/parser/text/TextParser.js.map +1 -0
- package/dist/cjs/parser/text/peg/TextPegParser.js +7 -0
- package/dist/cjs/parser/text/peg/TextPegParser.js.map +1 -0
- package/dist/cjs/utils/ArrayUtils.js +43 -0
- package/dist/cjs/utils/ArrayUtils.js.map +1 -0
- package/dist/cjs/utils/BitUtils.js +34 -0
- package/dist/cjs/utils/BitUtils.js.map +1 -0
- package/dist/cjs/utils/BooleanUtils.js +62 -0
- package/dist/cjs/utils/BooleanUtils.js.map +1 -0
- package/dist/cjs/utils/FileUtils.js +65 -0
- package/dist/cjs/utils/FileUtils.js.map +1 -0
- package/dist/cjs/utils/NumberUtils.js +26 -0
- package/dist/cjs/utils/NumberUtils.js.map +1 -0
- package/dist/cjs/utils/ObjectUtils.js +203 -0
- package/dist/cjs/utils/ObjectUtils.js.map +1 -0
- package/dist/cjs/utils/StringUtils.js +134 -0
- package/dist/cjs/utils/StringUtils.js.map +1 -0
- package/dist/cjs/utils/UrlUtils.js +37 -0
- package/dist/cjs/utils/UrlUtils.js.map +1 -0
- package/dist/cjs/utils/env/Env.js +131 -0
- package/dist/cjs/utils/env/Env.js.map +1 -0
- package/dist/cjs/utils/env/Environment.js +15 -0
- package/dist/cjs/utils/env/Environment.js.map +1 -0
- package/dist/cjs/utils/env/Os.js +14 -0
- package/dist/cjs/utils/env/Os.js.map +1 -0
- package/dist/cjs/utils/env/Version.js +12 -0
- package/dist/cjs/utils/env/Version.js.map +1 -0
- package/dist/cjs/utils/env/userAgent.js +89 -0
- package/dist/cjs/utils/env/userAgent.js.map +1 -0
- package/dist/cjs/utils/polyfill/fs.js +15 -0
- package/dist/cjs/utils/polyfill/fs.js.map +1 -0
- package/dist/esm/BitmarkParserGenerator.js +440 -0
- package/dist/esm/BitmarkParserGenerator.js.map +1 -0
- package/dist/esm/ast/Ast.js +213 -0
- package/dist/esm/ast/Ast.js.map +1 -0
- package/dist/esm/ast/BaseBuilder.js +69 -0
- package/dist/esm/ast/BaseBuilder.js.map +1 -0
- package/dist/esm/ast/Builder.js +604 -0
- package/dist/esm/ast/Builder.js.map +1 -0
- package/dist/esm/ast/ResourceBuilder.js +626 -0
- package/dist/esm/ast/ResourceBuilder.js.map +1 -0
- package/dist/esm/ast/rules/NodeValidator.js +134 -0
- package/dist/esm/ast/rules/NodeValidator.js.map +1 -0
- package/dist/esm/ast/writer/FileWriter.js +80 -0
- package/dist/esm/ast/writer/FileWriter.js.map +1 -0
- package/dist/esm/ast/writer/StreamWriter.js +70 -0
- package/dist/esm/ast/writer/StreamWriter.js.map +1 -0
- package/dist/esm/ast/writer/StringWriter.js +99 -0
- package/dist/esm/ast/writer/StringWriter.js.map +1 -0
- package/dist/esm/ast/writer/Writer.js +2 -0
- package/dist/esm/ast/writer/Writer.js.map +1 -0
- package/dist/esm/config/bits/_errorBitConfig.js +8 -0
- package/dist/esm/config/bits/_errorBitConfig.js.map +1 -0
- package/dist/esm/config/bits/aiPromptBitConfig.js +10 -0
- package/dist/esm/config/bits/aiPromptBitConfig.js.map +1 -0
- package/dist/esm/config/bits/anchorBitConfig.js +9 -0
- package/dist/esm/config/bits/anchorBitConfig.js.map +1 -0
- package/dist/esm/config/bits/appLinkBitConfig.js +12 -0
- package/dist/esm/config/bits/appLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/articleAiBitConfig.js +11 -0
- package/dist/esm/config/bits/articleAiBitConfig.js.map +1 -0
- package/dist/esm/config/bits/articleAttachmentBitConfig.js +10 -0
- package/dist/esm/config/bits/articleAttachmentBitConfig.js.map +1 -0
- package/dist/esm/config/bits/articleBitConfig.js +10 -0
- package/dist/esm/config/bits/articleBitConfig.js.map +1 -0
- package/dist/esm/config/bits/articleEmbedBitConfig.js +12 -0
- package/dist/esm/config/bits/articleEmbedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/articleLinkBitConfig.js +12 -0
- package/dist/esm/config/bits/articleLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/assignmentBitConfig.js +10 -0
- package/dist/esm/config/bits/assignmentBitConfig.js.map +1 -0
- package/dist/esm/config/bits/audioBitConfig.js +12 -0
- package/dist/esm/config/bits/audioBitConfig.js.map +1 -0
- package/dist/esm/config/bits/audioEmbedBitConfig.js +12 -0
- package/dist/esm/config/bits/audioEmbedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/audioLinkBitConfig.js +12 -0
- package/dist/esm/config/bits/audioLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/bitAliasBitConfig.js +10 -0
- package/dist/esm/config/bits/bitAliasBitConfig.js.map +1 -0
- package/dist/esm/config/bits/bitBookEndingBitConfig.js +9 -0
- package/dist/esm/config/bits/bitBookEndingBitConfig.js.map +1 -0
- package/dist/esm/config/bits/bitBookSummaryBitConfig.js +9 -0
- package/dist/esm/config/bits/bitBookSummaryBitConfig.js.map +1 -0
- package/dist/esm/config/bits/blogArticleBitConfig.js +10 -0
- package/dist/esm/config/bits/blogArticleBitConfig.js.map +1 -0
- package/dist/esm/config/bits/bookBitConfig.js +47 -0
- package/dist/esm/config/bits/bookBitConfig.js.map +1 -0
- package/dist/esm/config/bits/botActionAnnounceBitConfig.js +9 -0
- package/dist/esm/config/bits/botActionAnnounceBitConfig.js.map +1 -0
- package/dist/esm/config/bits/botActionRatingNumberBitConfig.js +9 -0
- package/dist/esm/config/bits/botActionRatingNumberBitConfig.js.map +1 -0
- package/dist/esm/config/bits/botActionRemindBitConfig.js +9 -0
- package/dist/esm/config/bits/botActionRemindBitConfig.js.map +1 -0
- package/dist/esm/config/bits/botActionResponseBitConfig.js +12 -0
- package/dist/esm/config/bits/botActionResponseBitConfig.js.map +1 -0
- package/dist/esm/config/bits/botActionSaveBitConfig.js +9 -0
- package/dist/esm/config/bits/botActionSaveBitConfig.js.map +1 -0
- package/dist/esm/config/bits/botActionSendBitConfig.js +10 -0
- package/dist/esm/config/bits/botActionSendBitConfig.js.map +1 -0
- package/dist/esm/config/bits/botActionTrueFalseBitConfig.js +9 -0
- package/dist/esm/config/bits/botActionTrueFalseBitConfig.js.map +1 -0
- package/dist/esm/config/bits/botInterviewBitConfig.js +9 -0
- package/dist/esm/config/bits/botInterviewBitConfig.js.map +1 -0
- package/dist/esm/config/bits/browserImageBitConfig.js +13 -0
- package/dist/esm/config/bits/browserImageBitConfig.js.map +1 -0
- package/dist/esm/config/bits/bugBitConfig.js +10 -0
- package/dist/esm/config/bits/bugBitConfig.js.map +1 -0
- package/dist/esm/config/bits/card1BitConfig.js +10 -0
- package/dist/esm/config/bits/card1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/chapterBitConfig.js +10 -0
- package/dist/esm/config/bits/chapterBitConfig.js.map +1 -0
- package/dist/esm/config/bits/chapterSubjectMatterBitConfig.js +9 -0
- package/dist/esm/config/bits/chapterSubjectMatterBitConfig.js.map +1 -0
- package/dist/esm/config/bits/chatBitConfig.js +9 -0
- package/dist/esm/config/bits/chatBitConfig.js.map +1 -0
- package/dist/esm/config/bits/clozeAndMultipleChoiceTextBitConfig.js +11 -0
- package/dist/esm/config/bits/clozeAndMultipleChoiceTextBitConfig.js.map +1 -0
- package/dist/esm/config/bits/clozeBitConfig.js +11 -0
- package/dist/esm/config/bits/clozeBitConfig.js.map +1 -0
- package/dist/esm/config/bits/clozeInstructionGroupedBitConfig.js +11 -0
- package/dist/esm/config/bits/clozeInstructionGroupedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/clozeSolutionGroupedBitConfig.js +11 -0
- package/dist/esm/config/bits/clozeSolutionGroupedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/codeBitConfig.js +10 -0
- package/dist/esm/config/bits/codeBitConfig.js.map +1 -0
- package/dist/esm/config/bits/conclusionBitConfig.js +10 -0
- package/dist/esm/config/bits/conclusionBitConfig.js.map +1 -0
- package/dist/esm/config/bits/conversationBitConfig.js +17 -0
- package/dist/esm/config/bits/conversationBitConfig.js.map +1 -0
- package/dist/esm/config/bits/correctionBitConfig.js +10 -0
- package/dist/esm/config/bits/correctionBitConfig.js.map +1 -0
- package/dist/esm/config/bits/dangerBitConfig.js +10 -0
- package/dist/esm/config/bits/dangerBitConfig.js.map +1 -0
- package/dist/esm/config/bits/details1BitConfig.js +9 -0
- package/dist/esm/config/bits/details1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/detailsBitConfig.js +10 -0
- package/dist/esm/config/bits/detailsBitConfig.js.map +1 -0
- package/dist/esm/config/bits/documentBitConfig.js +12 -0
- package/dist/esm/config/bits/documentBitConfig.js.map +1 -0
- package/dist/esm/config/bits/documentDownloadBitConfig.js +12 -0
- package/dist/esm/config/bits/documentDownloadBitConfig.js.map +1 -0
- package/dist/esm/config/bits/documentEmbedBitConfig.js +12 -0
- package/dist/esm/config/bits/documentEmbedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/documentLinkBitConfig.js +12 -0
- package/dist/esm/config/bits/documentLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/documentUploadBitConfig.js +9 -0
- package/dist/esm/config/bits/documentUploadBitConfig.js.map +1 -0
- package/dist/esm/config/bits/editorialBitConfig.js +10 -0
- package/dist/esm/config/bits/editorialBitConfig.js.map +1 -0
- package/dist/esm/config/bits/essayBitConfig.js +11 -0
- package/dist/esm/config/bits/essayBitConfig.js.map +1 -0
- package/dist/esm/config/bits/exampleBitConfig.js +10 -0
- package/dist/esm/config/bits/exampleBitConfig.js.map +1 -0
- package/dist/esm/config/bits/featuredBitConfig.js +10 -0
- package/dist/esm/config/bits/featuredBitConfig.js.map +1 -0
- package/dist/esm/config/bits/flashcard1BitConfig.js +9 -0
- package/dist/esm/config/bits/flashcard1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/flashcardBitConfig.js +9 -0
- package/dist/esm/config/bits/flashcardBitConfig.js.map +1 -0
- package/dist/esm/config/bits/focusImageBitConfig.js +13 -0
- package/dist/esm/config/bits/focusImageBitConfig.js.map +1 -0
- package/dist/esm/config/bits/footNoteBitConfig.js +10 -0
- package/dist/esm/config/bits/footNoteBitConfig.js.map +1 -0
- package/dist/esm/config/bits/generic/cardSetBitConfigs.js +127 -0
- package/dist/esm/config/bits/generic/cardSetBitConfigs.js.map +1 -0
- package/dist/esm/config/bits/generic/chainBitConfigs.js +42 -0
- package/dist/esm/config/bits/generic/chainBitConfigs.js.map +1 -0
- package/dist/esm/config/bits/generic/resourceChainBitConfigs.js +173 -0
- package/dist/esm/config/bits/generic/resourceChainBitConfigs.js.map +1 -0
- package/dist/esm/config/bits/generic/standardBitConfigs.js +40 -0
- package/dist/esm/config/bits/generic/standardBitConfigs.js.map +1 -0
- package/dist/esm/config/bits/groupBornBitConfig.js +9 -0
- package/dist/esm/config/bits/groupBornBitConfig.js.map +1 -0
- package/dist/esm/config/bits/groupDiedBitConfig.js +9 -0
- package/dist/esm/config/bits/groupDiedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/helpBitConfig.js +10 -0
- package/dist/esm/config/bits/helpBitConfig.js.map +1 -0
- package/dist/esm/config/bits/highlightTextBitConfig.js +11 -0
- package/dist/esm/config/bits/highlightTextBitConfig.js.map +1 -0
- package/dist/esm/config/bits/hintBitConfig.js +10 -0
- package/dist/esm/config/bits/hintBitConfig.js.map +1 -0
- package/dist/esm/config/bits/imageBitConfig.js +12 -0
- package/dist/esm/config/bits/imageBitConfig.js.map +1 -0
- package/dist/esm/config/bits/imageLinkBitConfig.js +12 -0
- package/dist/esm/config/bits/imageLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/imagePrototypeBitConfig.js +12 -0
- package/dist/esm/config/bits/imagePrototypeBitConfig.js.map +1 -0
- package/dist/esm/config/bits/imageSuperWideBitConfig.js +12 -0
- package/dist/esm/config/bits/imageSuperWideBitConfig.js.map +1 -0
- package/dist/esm/config/bits/imageZoomBitConfig.js +12 -0
- package/dist/esm/config/bits/imageZoomBitConfig.js.map +1 -0
- package/dist/esm/config/bits/infoBitConfig.js +10 -0
- package/dist/esm/config/bits/infoBitConfig.js.map +1 -0
- package/dist/esm/config/bits/internalLinkBitConfig.js +10 -0
- package/dist/esm/config/bits/internalLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/interviewBitConfig.js +13 -0
- package/dist/esm/config/bits/interviewBitConfig.js.map +1 -0
- package/dist/esm/config/bits/interviewInstructionGroupedBitConfig.js +13 -0
- package/dist/esm/config/bits/interviewInstructionGroupedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/learningPathBitConfig.js +85 -0
- package/dist/esm/config/bits/learningPathBitConfig.js.map +1 -0
- package/dist/esm/config/bits/markBitConfig.js +10 -0
- package/dist/esm/config/bits/markBitConfig.js.map +1 -0
- package/dist/esm/config/bits/matchBitConfig.js +62 -0
- package/dist/esm/config/bits/matchBitConfig.js.map +1 -0
- package/dist/esm/config/bits/messageBitConfig.js +10 -0
- package/dist/esm/config/bits/messageBitConfig.js.map +1 -0
- package/dist/esm/config/bits/multipleChoice1BitConfig.js +11 -0
- package/dist/esm/config/bits/multipleChoice1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/multipleChoiceBitConfig.js +14 -0
- package/dist/esm/config/bits/multipleChoiceBitConfig.js.map +1 -0
- package/dist/esm/config/bits/multipleChoiceTextBitConfig.js +11 -0
- package/dist/esm/config/bits/multipleChoiceTextBitConfig.js.map +1 -0
- package/dist/esm/config/bits/multipleResponse1BitConfig.js +11 -0
- package/dist/esm/config/bits/multipleResponse1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/multipleResponseBitConfig.js +14 -0
- package/dist/esm/config/bits/multipleResponseBitConfig.js.map +1 -0
- package/dist/esm/config/bits/newspaperArticleBitConfig.js +10 -0
- package/dist/esm/config/bits/newspaperArticleBitConfig.js.map +1 -0
- package/dist/esm/config/bits/noteAiBitConfig.js +11 -0
- package/dist/esm/config/bits/noteAiBitConfig.js.map +1 -0
- package/dist/esm/config/bits/noteBitConfig.js +10 -0
- package/dist/esm/config/bits/noteBitConfig.js.map +1 -0
- package/dist/esm/config/bits/notebookArticleBitConfig.js +10 -0
- package/dist/esm/config/bits/notebookArticleBitConfig.js.map +1 -0
- package/dist/esm/config/bits/pageBitConfig.js +10 -0
- package/dist/esm/config/bits/pageBitConfig.js.map +1 -0
- package/dist/esm/config/bits/photoBitConfig.js +12 -0
- package/dist/esm/config/bits/photoBitConfig.js.map +1 -0
- package/dist/esm/config/bits/preparationNoteBitConfig.js +10 -0
- package/dist/esm/config/bits/preparationNoteBitConfig.js.map +1 -0
- package/dist/esm/config/bits/question1BitConfig.js +10 -0
- package/dist/esm/config/bits/question1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/quoteBitConfig.js +10 -0
- package/dist/esm/config/bits/quoteBitConfig.js.map +1 -0
- package/dist/esm/config/bits/ratingBitConfig.js +9 -0
- package/dist/esm/config/bits/ratingBitConfig.js.map +1 -0
- package/dist/esm/config/bits/recordAudioBitConfig.js +9 -0
- package/dist/esm/config/bits/recordAudioBitConfig.js.map +1 -0
- package/dist/esm/config/bits/releaseNoteBitConfig.js +11 -0
- package/dist/esm/config/bits/releaseNoteBitConfig.js.map +1 -0
- package/dist/esm/config/bits/releaseNotesSummaryBitConfig.js +10 -0
- package/dist/esm/config/bits/releaseNotesSummaryBitConfig.js.map +1 -0
- package/dist/esm/config/bits/remarkBitConfig.js +10 -0
- package/dist/esm/config/bits/remarkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/sampleSolutionBitConfig.js +13 -0
- package/dist/esm/config/bits/sampleSolutionBitConfig.js.map +1 -0
- package/dist/esm/config/bits/screenshotBitConfig.js +12 -0
- package/dist/esm/config/bits/screenshotBitConfig.js.map +1 -0
- package/dist/esm/config/bits/selfAssessmentBitConfig.js +10 -0
- package/dist/esm/config/bits/selfAssessmentBitConfig.js.map +1 -0
- package/dist/esm/config/bits/sequenceBitConfig.js +13 -0
- package/dist/esm/config/bits/sequenceBitConfig.js.map +1 -0
- package/dist/esm/config/bits/sideNoteBitConfig.js +10 -0
- package/dist/esm/config/bits/sideNoteBitConfig.js.map +1 -0
- package/dist/esm/config/bits/statementBitConfig.js +10 -0
- package/dist/esm/config/bits/statementBitConfig.js.map +1 -0
- package/dist/esm/config/bits/stickyNoteBitConfig.js +10 -0
- package/dist/esm/config/bits/stickyNoteBitConfig.js.map +1 -0
- package/dist/esm/config/bits/stillImageFilmBitConfig.js +12 -0
- package/dist/esm/config/bits/stillImageFilmBitConfig.js.map +1 -0
- package/dist/esm/config/bits/stillImageFilmEmbedBitConfig.js +12 -0
- package/dist/esm/config/bits/stillImageFilmEmbedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/stillImageFilmLinkBitConfig.js +12 -0
- package/dist/esm/config/bits/stillImageFilmLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/summaryAiBitConfig.js +11 -0
- package/dist/esm/config/bits/summaryAiBitConfig.js.map +1 -0
- package/dist/esm/config/bits/summaryBitConfig.js +11 -0
- package/dist/esm/config/bits/summaryBitConfig.js.map +1 -0
- package/dist/esm/config/bits/survey1BitConfig.js +10 -0
- package/dist/esm/config/bits/survey1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/surveyAnonymous1BitConfig.js +10 -0
- package/dist/esm/config/bits/surveyAnonymous1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/surveyAnonymousBitConfig.js +10 -0
- package/dist/esm/config/bits/surveyAnonymousBitConfig.js.map +1 -0
- package/dist/esm/config/bits/surveyBitConfig.js +10 -0
- package/dist/esm/config/bits/surveyBitConfig.js.map +1 -0
- package/dist/esm/config/bits/takePictureBitConfig.js +9 -0
- package/dist/esm/config/bits/takePictureBitConfig.js.map +1 -0
- package/dist/esm/config/bits/tocBitConfig.js +9 -0
- package/dist/esm/config/bits/tocBitConfig.js.map +1 -0
- package/dist/esm/config/bits/trueFalse1BitConfig.js +12 -0
- package/dist/esm/config/bits/trueFalse1BitConfig.js.map +1 -0
- package/dist/esm/config/bits/trueFalseBitConfig.js +14 -0
- package/dist/esm/config/bits/trueFalseBitConfig.js.map +1 -0
- package/dist/esm/config/bits/vendorPadletEmbedBitConfig.js +10 -0
- package/dist/esm/config/bits/vendorPadletEmbedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/videoBitConfig.js +12 -0
- package/dist/esm/config/bits/videoBitConfig.js.map +1 -0
- package/dist/esm/config/bits/videoEmbedBitConfig.js +12 -0
- package/dist/esm/config/bits/videoEmbedBitConfig.js.map +1 -0
- package/dist/esm/config/bits/videoLandscapeBitConfig.js +12 -0
- package/dist/esm/config/bits/videoLandscapeBitConfig.js.map +1 -0
- package/dist/esm/config/bits/videoLinkBitConfig.js +12 -0
- package/dist/esm/config/bits/videoLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/videoPortraitBitConfig.js +12 -0
- package/dist/esm/config/bits/videoPortraitBitConfig.js.map +1 -0
- package/dist/esm/config/bits/warningBitConfig.js +10 -0
- package/dist/esm/config/bits/warningBitConfig.js.map +1 -0
- package/dist/esm/config/bits/websiteLinkBitConfig.js +12 -0
- package/dist/esm/config/bits/websiteLinkBitConfig.js.map +1 -0
- package/dist/esm/config/bits/workbookArticleBitConfig.js +10 -0
- package/dist/esm/config/bits/workbookArticleBitConfig.js.map +1 -0
- package/dist/esm/config/config.js +175 -0
- package/dist/esm/config/config.js.map +1 -0
- package/dist/esm/config/properties/actionPropertyConfig.js +7 -0
- package/dist/esm/config/properties/actionPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/ageRangePropertyConfig.js +6 -0
- package/dist/esm/config/properties/ageRangePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/aiGeneratedPropertyConfig.js +9 -0
- package/dist/esm/config/properties/aiGeneratedPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/authorPropertyConfig.js +6 -0
- package/dist/esm/config/properties/authorPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/bookPropertyConfig.js +7 -0
- package/dist/esm/config/properties/bookPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/botPropertyConfig.js +6 -0
- package/dist/esm/config/properties/botPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/caseSensitivePropertyConfig.js +9 -0
- package/dist/esm/config/properties/caseSensitivePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/computerLanguagePropertyConfig.js +7 -0
- package/dist/esm/config/properties/computerLanguagePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/coverImagePropertyConfig.js +6 -0
- package/dist/esm/config/properties/coverImagePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/datePropertyConfig.js +6 -0
- package/dist/esm/config/properties/datePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/deeplinkPropertyConfig.js +6 -0
- package/dist/esm/config/properties/deeplinkPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/durationPropertyConfig.js +7 -0
- package/dist/esm/config/properties/durationPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/examplePropertyConfig.js +7 -0
- package/dist/esm/config/properties/examplePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/externalIdPropertyConfig.js +6 -0
- package/dist/esm/config/properties/externalIdPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/externalLinkPropertyConfig.js +7 -0
- package/dist/esm/config/properties/externalLinkPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/externalLinkTextPropertyConfig.js +7 -0
- package/dist/esm/config/properties/externalLinkTextPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/focusXPropertyConfig.js +7 -0
- package/dist/esm/config/properties/focusXPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/focusYPropertyConfig.js +7 -0
- package/dist/esm/config/properties/focusYPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/idPropertyConfig.js +6 -0
- package/dist/esm/config/properties/idPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/isInfoOnlyPropertyConfig.js +7 -0
- package/dist/esm/config/properties/isInfoOnlyPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/isTrackedPropertyConfig.js +7 -0
- package/dist/esm/config/properties/isTrackedPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/kindPropertyConfig.js +7 -0
- package/dist/esm/config/properties/kindPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/labelFalsePropertyConfig.js +7 -0
- package/dist/esm/config/properties/labelFalsePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/labelTruePropertyConfig.js +7 -0
- package/dist/esm/config/properties/labelTruePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/languagePropertyConfig.js +6 -0
- package/dist/esm/config/properties/languagePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/levelPropertyConfig.js +7 -0
- package/dist/esm/config/properties/levelPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/listPropertyConfig.js +6 -0
- package/dist/esm/config/properties/listPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/locationPropertyConfig.js +7 -0
- package/dist/esm/config/properties/locationPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/longAnswerPropertyConfig.js +9 -0
- package/dist/esm/config/properties/longAnswerPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/padletIdPropertyConfig.js +7 -0
- package/dist/esm/config/properties/padletIdPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/partialAnswerPropertyConfig.js +7 -0
- package/dist/esm/config/properties/partialAnswerPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/partnerPropertyConfig.js +7 -0
- package/dist/esm/config/properties/partnerPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/progressPropertyConfig.js +8 -0
- package/dist/esm/config/properties/progressPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/publicationsPropertyConfig.js +6 -0
- package/dist/esm/config/properties/publicationsPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/publisherPropertyConfig.js +6 -0
- package/dist/esm/config/properties/publisherPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/quotedPersonPropertyConfig.js +7 -0
- package/dist/esm/config/properties/quotedPersonPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/reactionPropertyConfig.js +7 -0
- package/dist/esm/config/properties/reactionPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/referencePropertyConfig.js +8 -0
- package/dist/esm/config/properties/referencePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/releaseVersionPropertyConfig.js +7 -0
- package/dist/esm/config/properties/releaseVersionPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/resourcePropertyConfig.js +76 -0
- package/dist/esm/config/properties/resourcePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/sampleSolutionPropertyConfig.js +7 -0
- package/dist/esm/config/properties/sampleSolutionPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/shortAnswerPropertyConfig.js +9 -0
- package/dist/esm/config/properties/shortAnswerPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/spaceIdPropertyConfig.js +6 -0
- package/dist/esm/config/properties/spaceIdPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/subjectPropertyConfig.js +6 -0
- package/dist/esm/config/properties/subjectPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/subtypePropertyConfig.js +7 -0
- package/dist/esm/config/properties/subtypePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/textReferencePropertyConfig.js +7 -0
- package/dist/esm/config/properties/textReferencePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/themePropertyConfig.js +6 -0
- package/dist/esm/config/properties/themePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/thumbImagePropertyConfig.js +7 -0
- package/dist/esm/config/properties/thumbImagePropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/tocPropertyConfig.js +8 -0
- package/dist/esm/config/properties/tocPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/videoCallLinkPropertyConfig copy.js +7 -0
- package/dist/esm/config/properties/videoCallLinkPropertyConfig copy.js.map +1 -0
- package/dist/esm/config/properties/videoCallLinkPropertyConfig.js +7 -0
- package/dist/esm/config/properties/videoCallLinkPropertyConfig.js.map +1 -0
- package/dist/esm/generated/build-info.js +7 -0
- package/dist/esm/generated/build-info.js.map +1 -0
- package/dist/esm/generated/parser/bitmark/bitmark-peggy-parser.js +3425 -0
- package/dist/esm/generated/parser/bitmark/bitmark-peggy-parser.js.map +1 -0
- package/dist/esm/generated/parser/text/text-peggy-parser.js +6893 -0
- package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -0
- package/dist/esm/generator/Generator.js +2 -0
- package/dist/esm/generator/Generator.js.map +1 -0
- package/dist/esm/generator/bitmark/BitmarkFileGenerator.js +46 -0
- package/dist/esm/generator/bitmark/BitmarkFileGenerator.js.map +1 -0
- package/dist/esm/generator/bitmark/BitmarkGenerator.js +1199 -0
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -0
- package/dist/esm/generator/bitmark/BitmarkStringGenerator.js +48 -0
- package/dist/esm/generator/bitmark/BitmarkStringGenerator.js.map +1 -0
- package/dist/esm/generator/json/JsonFileGenerator.js +50 -0
- package/dist/esm/generator/json/JsonFileGenerator.js.map +1 -0
- package/dist/esm/generator/json/JsonGenerator.js +2046 -0
- package/dist/esm/generator/json/JsonGenerator.js.map +1 -0
- package/dist/esm/generator/json/JsonObjectGenerator.js +48 -0
- package/dist/esm/generator/json/JsonObjectGenerator.js.map +1 -0
- package/dist/esm/generator/json/JsonStringGenerator.js +47 -0
- package/dist/esm/generator/json/JsonStringGenerator.js.map +1 -0
- package/dist/esm/generator/text/TextGenerator.js +660 -0
- package/dist/esm/generator/text/TextGenerator.js.map +1 -0
- package/dist/esm/index.js +40 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/init/init.js +13 -0
- package/dist/esm/init/init.js.map +1 -0
- package/dist/esm/model/ast/NodeType.js +235 -0
- package/dist/esm/model/ast/NodeType.js.map +1 -0
- package/dist/esm/model/ast/Nodes.js +2 -0
- package/dist/esm/model/ast/Nodes.js.map +1 -0
- package/dist/esm/model/ast/TextNodes.js +2 -0
- package/dist/esm/model/ast/TextNodes.js.map +1 -0
- package/dist/esm/model/config/TagData.js +3 -0
- package/dist/esm/model/config/TagData.js.map +1 -0
- package/dist/esm/model/enum/BitType.js +182 -0
- package/dist/esm/model/enum/BitType.js.map +1 -0
- package/dist/esm/model/enum/BitmarkGeneratorOutput.js +2 -0
- package/dist/esm/model/enum/BitmarkGeneratorOutput.js.map +1 -0
- package/dist/esm/model/enum/BitmarkParserType.js +7 -0
- package/dist/esm/model/enum/BitmarkParserType.js.map +1 -0
- package/dist/esm/model/enum/BitmarkVersion.js +8 -0
- package/dist/esm/model/enum/BitmarkVersion.js.map +1 -0
- package/dist/esm/model/enum/BodyBitType.js +10 -0
- package/dist/esm/model/enum/BodyBitType.js.map +1 -0
- package/dist/esm/model/enum/CardSetType.js +12 -0
- package/dist/esm/model/enum/CardSetType.js.map +1 -0
- package/dist/esm/model/enum/CardSetVersion.js +7 -0
- package/dist/esm/model/enum/CardSetVersion.js.map +1 -0
- package/dist/esm/model/enum/PropertyKey.js +73 -0
- package/dist/esm/model/enum/PropertyKey.js.map +1 -0
- package/dist/esm/model/enum/ResourceType.js +28 -0
- package/dist/esm/model/enum/ResourceType.js.map +1 -0
- package/dist/esm/model/enum/TagType.js +19 -0
- package/dist/esm/model/enum/TagType.js.map +1 -0
- package/dist/esm/model/enum/TextFormat.js +8 -0
- package/dist/esm/model/enum/TextFormat.js.map +1 -0
- package/dist/esm/model/enum/TextMarkType.js +22 -0
- package/dist/esm/model/enum/TextMarkType.js.map +1 -0
- package/dist/esm/model/enum/TextNodeType.js +23 -0
- package/dist/esm/model/enum/TextNodeType.js.map +1 -0
- package/dist/esm/model/enum/TextSection.js +15 -0
- package/dist/esm/model/enum/TextSection.js.map +1 -0
- package/dist/esm/model/json/BitJson.js +2 -0
- package/dist/esm/model/json/BitJson.js.map +1 -0
- package/dist/esm/model/json/BitWrapperJson.js +2 -0
- package/dist/esm/model/json/BitWrapperJson.js.map +1 -0
- package/dist/esm/model/json/BodyBitJson.js +2 -0
- package/dist/esm/model/json/BodyBitJson.js.map +1 -0
- package/dist/esm/model/json/ParserJson.js +2 -0
- package/dist/esm/model/json/ParserJson.js.map +1 -0
- package/dist/esm/model/json/ResourceJson.js +2 -0
- package/dist/esm/model/json/ResourceJson.js.map +1 -0
- package/dist/esm/model/parser/ParserData.js +2 -0
- package/dist/esm/model/parser/ParserData.js.map +1 -0
- package/dist/esm/model/parser/ParserError.js +2 -0
- package/dist/esm/model/parser/ParserError.js.map +1 -0
- package/dist/esm/model/parser/ParserInfo.js +2 -0
- package/dist/esm/model/parser/ParserInfo.js.map +1 -0
- package/dist/esm/model/parser/ParserLocation.js +2 -0
- package/dist/esm/model/parser/ParserLocation.js.map +1 -0
- package/dist/esm/model/parser/ParserLocationRange.js +2 -0
- package/dist/esm/model/parser/ParserLocationRange.js.map +1 -0
- package/dist/esm/parser/bitmark/BitmarkParser.js +64 -0
- package/dist/esm/parser/bitmark/BitmarkParser.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParser.js +4 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParser.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js +530 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js +572 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js +54 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js +607 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/PeggyGrammarLocation.js +79 -0
- package/dist/esm/parser/bitmark/peg/PeggyGrammarLocation.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +32 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +402 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +13 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js +16 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +32 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +39 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +13 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js +48 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +60 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +13 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +111 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +38 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +174 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js +15 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -0
- package/dist/esm/parser/json/JsonParser.js +589 -0
- package/dist/esm/parser/json/JsonParser.js.map +1 -0
- package/dist/esm/parser/text/TextParser.js +30 -0
- package/dist/esm/parser/text/TextParser.js.map +1 -0
- package/dist/esm/parser/text/peg/TextPegParser.js +4 -0
- package/dist/esm/parser/text/peg/TextPegParser.js.map +1 -0
- package/dist/esm/utils/ArrayUtils.js +40 -0
- package/dist/esm/utils/ArrayUtils.js.map +1 -0
- package/dist/esm/utils/BitUtils.js +31 -0
- package/dist/esm/utils/BitUtils.js.map +1 -0
- package/dist/esm/utils/BooleanUtils.js +59 -0
- package/dist/esm/utils/BooleanUtils.js.map +1 -0
- package/dist/esm/utils/FileUtils.js +36 -0
- package/dist/esm/utils/FileUtils.js.map +1 -0
- package/dist/esm/utils/NumberUtils.js +23 -0
- package/dist/esm/utils/NumberUtils.js.map +1 -0
- package/dist/esm/utils/ObjectUtils.js +200 -0
- package/dist/esm/utils/ObjectUtils.js.map +1 -0
- package/dist/esm/utils/StringUtils.js +131 -0
- package/dist/esm/utils/StringUtils.js.map +1 -0
- package/dist/esm/utils/UrlUtils.js +34 -0
- package/dist/esm/utils/UrlUtils.js.map +1 -0
- package/dist/esm/utils/env/Env.js +127 -0
- package/dist/esm/utils/env/Env.js.map +1 -0
- package/dist/esm/utils/env/Environment.js +12 -0
- package/dist/esm/utils/env/Environment.js.map +1 -0
- package/dist/esm/utils/env/Os.js +11 -0
- package/dist/esm/utils/env/Os.js.map +1 -0
- package/dist/esm/utils/env/Version.js +9 -0
- package/dist/esm/utils/env/Version.js.map +1 -0
- package/dist/esm/utils/env/userAgent.js +86 -0
- package/dist/esm/utils/env/userAgent.js.map +1 -0
- package/dist/esm/utils/polyfill/fs.js +11 -0
- package/dist/esm/utils/polyfill/fs.js.map +1 -0
- package/dist/types/BitmarkParserGenerator.d.ts +212 -0
- package/dist/types/BitmarkParserGenerator.d.ts.map +1 -0
- package/dist/types/ast/Ast.d.ts +141 -0
- package/dist/types/ast/Ast.d.ts.map +1 -0
- package/dist/types/ast/BaseBuilder.d.ts +22 -0
- package/dist/types/ast/BaseBuilder.d.ts.map +1 -0
- package/dist/types/ast/Builder.d.ts +402 -0
- package/dist/types/ast/Builder.d.ts.map +1 -0
- package/dist/types/ast/ResourceBuilder.d.ts +383 -0
- package/dist/types/ast/ResourceBuilder.d.ts.map +1 -0
- package/dist/types/ast/rules/NodeValidator.d.ts +20 -0
- package/dist/types/ast/rules/NodeValidator.d.ts.map +1 -0
- package/dist/types/ast/writer/FileWriter.d.ts +39 -0
- package/dist/types/ast/writer/FileWriter.d.ts.map +1 -0
- package/dist/types/ast/writer/StreamWriter.d.ts +28 -0
- package/dist/types/ast/writer/StreamWriter.d.ts.map +1 -0
- package/dist/types/ast/writer/StringWriter.d.ts +28 -0
- package/dist/types/ast/writer/StringWriter.d.ts.map +1 -0
- package/dist/types/ast/writer/Writer.d.ts +66 -0
- package/dist/types/ast/writer/Writer.d.ts.map +1 -0
- package/dist/types/config/bits/_errorBitConfig.d.ts +2 -0
- package/dist/types/config/bits/_errorBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/aiPromptBitConfig.d.ts +2 -0
- package/dist/types/config/bits/aiPromptBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/anchorBitConfig.d.ts +2 -0
- package/dist/types/config/bits/anchorBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/appLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/appLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/articleAiBitConfig.d.ts +2 -0
- package/dist/types/config/bits/articleAiBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/articleAttachmentBitConfig.d.ts +2 -0
- package/dist/types/config/bits/articleAttachmentBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/articleBitConfig.d.ts +2 -0
- package/dist/types/config/bits/articleBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/articleEmbedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/articleEmbedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/articleLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/articleLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/assignmentBitConfig.d.ts +2 -0
- package/dist/types/config/bits/assignmentBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/audioBitConfig.d.ts +2 -0
- package/dist/types/config/bits/audioBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/audioEmbedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/audioEmbedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/audioLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/audioLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/bitAliasBitConfig.d.ts +2 -0
- package/dist/types/config/bits/bitAliasBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/bitBookEndingBitConfig.d.ts +2 -0
- package/dist/types/config/bits/bitBookEndingBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/bitBookSummaryBitConfig.d.ts +2 -0
- package/dist/types/config/bits/bitBookSummaryBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/blogArticleBitConfig.d.ts +2 -0
- package/dist/types/config/bits/blogArticleBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/bookBitConfig.d.ts +2 -0
- package/dist/types/config/bits/bookBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/botActionAnnounceBitConfig.d.ts +2 -0
- package/dist/types/config/bits/botActionAnnounceBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/botActionRatingNumberBitConfig.d.ts +2 -0
- package/dist/types/config/bits/botActionRatingNumberBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/botActionRemindBitConfig.d.ts +2 -0
- package/dist/types/config/bits/botActionRemindBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/botActionResponseBitConfig.d.ts +2 -0
- package/dist/types/config/bits/botActionResponseBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/botActionSaveBitConfig.d.ts +2 -0
- package/dist/types/config/bits/botActionSaveBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/botActionSendBitConfig.d.ts +2 -0
- package/dist/types/config/bits/botActionSendBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/botActionTrueFalseBitConfig.d.ts +2 -0
- package/dist/types/config/bits/botActionTrueFalseBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/botInterviewBitConfig.d.ts +2 -0
- package/dist/types/config/bits/botInterviewBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/browserImageBitConfig.d.ts +2 -0
- package/dist/types/config/bits/browserImageBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/bugBitConfig.d.ts +2 -0
- package/dist/types/config/bits/bugBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/card1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/card1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/chapterBitConfig.d.ts +2 -0
- package/dist/types/config/bits/chapterBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/chapterSubjectMatterBitConfig.d.ts +2 -0
- package/dist/types/config/bits/chapterSubjectMatterBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/chatBitConfig.d.ts +2 -0
- package/dist/types/config/bits/chatBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/clozeAndMultipleChoiceTextBitConfig.d.ts +2 -0
- package/dist/types/config/bits/clozeAndMultipleChoiceTextBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/clozeBitConfig.d.ts +2 -0
- package/dist/types/config/bits/clozeBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/clozeInstructionGroupedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/clozeInstructionGroupedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/clozeSolutionGroupedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/clozeSolutionGroupedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/codeBitConfig.d.ts +2 -0
- package/dist/types/config/bits/codeBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/conclusionBitConfig.d.ts +2 -0
- package/dist/types/config/bits/conclusionBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/conversationBitConfig.d.ts +2 -0
- package/dist/types/config/bits/conversationBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/correctionBitConfig.d.ts +2 -0
- package/dist/types/config/bits/correctionBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/dangerBitConfig.d.ts +2 -0
- package/dist/types/config/bits/dangerBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/details1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/details1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/detailsBitConfig.d.ts +2 -0
- package/dist/types/config/bits/detailsBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/documentBitConfig.d.ts +2 -0
- package/dist/types/config/bits/documentBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/documentDownloadBitConfig.d.ts +2 -0
- package/dist/types/config/bits/documentDownloadBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/documentEmbedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/documentEmbedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/documentLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/documentLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/documentUploadBitConfig.d.ts +2 -0
- package/dist/types/config/bits/documentUploadBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/editorialBitConfig.d.ts +2 -0
- package/dist/types/config/bits/editorialBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/essayBitConfig.d.ts +2 -0
- package/dist/types/config/bits/essayBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/exampleBitConfig.d.ts +2 -0
- package/dist/types/config/bits/exampleBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/featuredBitConfig.d.ts +2 -0
- package/dist/types/config/bits/featuredBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/flashcard1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/flashcard1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/flashcardBitConfig.d.ts +2 -0
- package/dist/types/config/bits/flashcardBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/focusImageBitConfig.d.ts +2 -0
- package/dist/types/config/bits/focusImageBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/footNoteBitConfig.d.ts +2 -0
- package/dist/types/config/bits/footNoteBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/generic/cardSetBitConfigs.d.ts +12 -0
- package/dist/types/config/bits/generic/cardSetBitConfigs.d.ts.map +1 -0
- package/dist/types/config/bits/generic/chainBitConfigs.d.ts +6 -0
- package/dist/types/config/bits/generic/chainBitConfigs.d.ts.map +1 -0
- package/dist/types/config/bits/generic/resourceChainBitConfigs.d.ts +25 -0
- package/dist/types/config/bits/generic/resourceChainBitConfigs.d.ts.map +1 -0
- package/dist/types/config/bits/generic/standardBitConfigs.d.ts +7 -0
- package/dist/types/config/bits/generic/standardBitConfigs.d.ts.map +1 -0
- package/dist/types/config/bits/groupBornBitConfig.d.ts +2 -0
- package/dist/types/config/bits/groupBornBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/groupDiedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/groupDiedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/helpBitConfig.d.ts +2 -0
- package/dist/types/config/bits/helpBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/highlightTextBitConfig.d.ts +2 -0
- package/dist/types/config/bits/highlightTextBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/hintBitConfig.d.ts +2 -0
- package/dist/types/config/bits/hintBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/imageBitConfig.d.ts +2 -0
- package/dist/types/config/bits/imageBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/imageLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/imageLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/imagePrototypeBitConfig.d.ts +2 -0
- package/dist/types/config/bits/imagePrototypeBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/imageSuperWideBitConfig.d.ts +2 -0
- package/dist/types/config/bits/imageSuperWideBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/imageZoomBitConfig.d.ts +2 -0
- package/dist/types/config/bits/imageZoomBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/infoBitConfig.d.ts +2 -0
- package/dist/types/config/bits/infoBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/internalLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/internalLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/interviewBitConfig.d.ts +2 -0
- package/dist/types/config/bits/interviewBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/interviewInstructionGroupedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/interviewInstructionGroupedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/learningPathBitConfig.d.ts +2 -0
- package/dist/types/config/bits/learningPathBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/markBitConfig.d.ts +2 -0
- package/dist/types/config/bits/markBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/matchBitConfig.d.ts +2 -0
- package/dist/types/config/bits/matchBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/messageBitConfig.d.ts +2 -0
- package/dist/types/config/bits/messageBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/multipleChoice1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/multipleChoice1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/multipleChoiceBitConfig.d.ts +2 -0
- package/dist/types/config/bits/multipleChoiceBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/multipleChoiceTextBitConfig.d.ts +2 -0
- package/dist/types/config/bits/multipleChoiceTextBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/multipleResponse1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/multipleResponse1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/multipleResponseBitConfig.d.ts +2 -0
- package/dist/types/config/bits/multipleResponseBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/newspaperArticleBitConfig.d.ts +2 -0
- package/dist/types/config/bits/newspaperArticleBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/noteAiBitConfig.d.ts +2 -0
- package/dist/types/config/bits/noteAiBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/noteBitConfig.d.ts +2 -0
- package/dist/types/config/bits/noteBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/notebookArticleBitConfig.d.ts +2 -0
- package/dist/types/config/bits/notebookArticleBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/pageBitConfig.d.ts +2 -0
- package/dist/types/config/bits/pageBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/photoBitConfig.d.ts +2 -0
- package/dist/types/config/bits/photoBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/preparationNoteBitConfig.d.ts +2 -0
- package/dist/types/config/bits/preparationNoteBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/question1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/question1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/quoteBitConfig.d.ts +2 -0
- package/dist/types/config/bits/quoteBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/ratingBitConfig.d.ts +2 -0
- package/dist/types/config/bits/ratingBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/recordAudioBitConfig.d.ts +2 -0
- package/dist/types/config/bits/recordAudioBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/releaseNoteBitConfig.d.ts +2 -0
- package/dist/types/config/bits/releaseNoteBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/releaseNotesSummaryBitConfig.d.ts +2 -0
- package/dist/types/config/bits/releaseNotesSummaryBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/remarkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/remarkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/sampleSolutionBitConfig.d.ts +2 -0
- package/dist/types/config/bits/sampleSolutionBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/screenshotBitConfig.d.ts +2 -0
- package/dist/types/config/bits/screenshotBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/selfAssessmentBitConfig.d.ts +2 -0
- package/dist/types/config/bits/selfAssessmentBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/sequenceBitConfig.d.ts +2 -0
- package/dist/types/config/bits/sequenceBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/sideNoteBitConfig.d.ts +2 -0
- package/dist/types/config/bits/sideNoteBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/statementBitConfig.d.ts +2 -0
- package/dist/types/config/bits/statementBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/stickyNoteBitConfig.d.ts +2 -0
- package/dist/types/config/bits/stickyNoteBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/stillImageFilmBitConfig.d.ts +2 -0
- package/dist/types/config/bits/stillImageFilmBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/stillImageFilmEmbedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/stillImageFilmEmbedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/stillImageFilmLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/stillImageFilmLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/summaryAiBitConfig.d.ts +2 -0
- package/dist/types/config/bits/summaryAiBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/summaryBitConfig.d.ts +2 -0
- package/dist/types/config/bits/summaryBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/survey1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/survey1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/surveyAnonymous1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/surveyAnonymous1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/surveyAnonymousBitConfig.d.ts +2 -0
- package/dist/types/config/bits/surveyAnonymousBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/surveyBitConfig.d.ts +2 -0
- package/dist/types/config/bits/surveyBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/takePictureBitConfig.d.ts +2 -0
- package/dist/types/config/bits/takePictureBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/tocBitConfig.d.ts +2 -0
- package/dist/types/config/bits/tocBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/trueFalse1BitConfig.d.ts +2 -0
- package/dist/types/config/bits/trueFalse1BitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/trueFalseBitConfig.d.ts +2 -0
- package/dist/types/config/bits/trueFalseBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/vendorPadletEmbedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/vendorPadletEmbedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/videoBitConfig.d.ts +2 -0
- package/dist/types/config/bits/videoBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/videoEmbedBitConfig.d.ts +2 -0
- package/dist/types/config/bits/videoEmbedBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/videoLandscapeBitConfig.d.ts +2 -0
- package/dist/types/config/bits/videoLandscapeBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/videoLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/videoLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/videoPortraitBitConfig.d.ts +2 -0
- package/dist/types/config/bits/videoPortraitBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/warningBitConfig.d.ts +2 -0
- package/dist/types/config/bits/warningBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/websiteLinkBitConfig.d.ts +2 -0
- package/dist/types/config/bits/websiteLinkBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/workbookArticleBitConfig.d.ts +2 -0
- package/dist/types/config/bits/workbookArticleBitConfig.d.ts.map +1 -0
- package/dist/types/config/config.d.ts +173 -0
- package/dist/types/config/config.d.ts.map +1 -0
- package/dist/types/config/properties/actionPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/actionPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/ageRangePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/ageRangePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/aiGeneratedPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/aiGeneratedPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/authorPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/authorPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/bookPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/bookPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/botPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/botPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/caseSensitivePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/caseSensitivePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/computerLanguagePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/computerLanguagePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/coverImagePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/coverImagePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/datePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/datePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/deeplinkPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/deeplinkPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/durationPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/durationPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/examplePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/examplePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/externalIdPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/externalIdPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/externalLinkPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/externalLinkPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/externalLinkTextPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/externalLinkTextPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/focusXPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/focusXPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/focusYPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/focusYPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/idPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/idPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/isInfoOnlyPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/isInfoOnlyPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/isTrackedPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/isTrackedPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/kindPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/kindPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/labelFalsePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/labelFalsePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/labelTruePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/labelTruePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/languagePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/languagePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/levelPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/levelPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/listPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/listPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/locationPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/locationPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/longAnswerPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/longAnswerPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/padletIdPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/padletIdPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/partialAnswerPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/partialAnswerPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/partnerPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/partnerPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/progressPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/progressPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/publicationsPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/publicationsPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/publisherPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/publisherPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/quotedPersonPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/quotedPersonPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/reactionPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/reactionPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/referencePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/referencePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/releaseVersionPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/releaseVersionPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/resourcePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/resourcePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/sampleSolutionPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/sampleSolutionPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/shortAnswerPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/shortAnswerPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/spaceIdPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/spaceIdPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/subjectPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/subjectPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/subtypePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/subtypePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/textReferencePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/textReferencePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/themePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/themePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/thumbImagePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/thumbImagePropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/tocPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/tocPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/videoCallLinkPropertyConfig copy.d.ts +2 -0
- package/dist/types/config/properties/videoCallLinkPropertyConfig copy.d.ts.map +1 -0
- package/dist/types/config/properties/videoCallLinkPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/videoCallLinkPropertyConfig.d.ts.map +1 -0
- package/dist/types/generated/build-info.d.ts +5 -0
- package/dist/types/generated/build-info.d.ts.map +1 -0
- package/dist/types/generated/parser/bitmark/bitmark-peggy-parser.d.ts +11 -0
- package/dist/types/generated/parser/bitmark/bitmark-peggy-parser.d.ts.map +1 -0
- package/dist/types/generated/parser/text/text-peggy-parser.d.ts +11 -0
- package/dist/types/generated/parser/text/text-peggy-parser.d.ts.map +1 -0
- package/dist/types/generator/Generator.d.ts +6 -0
- package/dist/types/generator/Generator.d.ts.map +1 -0
- package/dist/types/generator/bitmark/BitmarkFileGenerator.d.ts +42 -0
- package/dist/types/generator/bitmark/BitmarkFileGenerator.d.ts.map +1 -0
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +263 -0
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -0
- package/dist/types/generator/bitmark/BitmarkStringGenerator.d.ts +31 -0
- package/dist/types/generator/bitmark/BitmarkStringGenerator.d.ts.map +1 -0
- package/dist/types/generator/json/JsonFileGenerator.d.ts +46 -0
- package/dist/types/generator/json/JsonFileGenerator.d.ts.map +1 -0
- package/dist/types/generator/json/JsonGenerator.d.ts +288 -0
- package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -0
- package/dist/types/generator/json/JsonObjectGenerator.d.ts +32 -0
- package/dist/types/generator/json/JsonObjectGenerator.d.ts.map +1 -0
- package/dist/types/generator/json/JsonStringGenerator.d.ts +30 -0
- package/dist/types/generator/json/JsonStringGenerator.d.ts.map +1 -0
- package/dist/types/generator/text/TextGenerator.d.ts +127 -0
- package/dist/types/generator/text/TextGenerator.d.ts.map +1 -0
- package/dist/types/index.d.ts +44 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/init/init.d.ts +4 -0
- package/dist/types/init/init.d.ts.map +1 -0
- package/dist/types/model/ast/NodeType.d.ts +445 -0
- package/dist/types/model/ast/NodeType.d.ts.map +1 -0
- package/dist/types/model/ast/Nodes.d.ts +408 -0
- package/dist/types/model/ast/Nodes.d.ts.map +1 -0
- package/dist/types/model/ast/TextNodes.d.ts +73 -0
- package/dist/types/model/ast/TextNodes.d.ts.map +1 -0
- package/dist/types/model/config/TagData.d.ts +14 -0
- package/dist/types/model/config/TagData.d.ts.map +1 -0
- package/dist/types/model/enum/BitType.d.ts +385 -0
- package/dist/types/model/enum/BitType.d.ts.map +1 -0
- package/dist/types/model/enum/BitmarkGeneratorOutput.d.ts +1 -0
- package/dist/types/model/enum/BitmarkGeneratorOutput.d.ts.map +1 -0
- package/dist/types/model/enum/BitmarkParserType.d.ts +11 -0
- package/dist/types/model/enum/BitmarkParserType.d.ts.map +1 -0
- package/dist/types/model/enum/BitmarkVersion.d.ts +12 -0
- package/dist/types/model/enum/BitmarkVersion.d.ts.map +1 -0
- package/dist/types/model/enum/BodyBitType.d.ts +22 -0
- package/dist/types/model/enum/BodyBitType.d.ts.map +1 -0
- package/dist/types/model/enum/CardSetType.d.ts +21 -0
- package/dist/types/model/enum/CardSetType.d.ts.map +1 -0
- package/dist/types/model/enum/CardSetVersion.d.ts +11 -0
- package/dist/types/model/enum/CardSetVersion.d.ts.map +1 -0
- package/dist/types/model/enum/PropertyKey.d.ts +150 -0
- package/dist/types/model/enum/PropertyKey.d.ts.map +1 -0
- package/dist/types/model/enum/ResourceType.d.ts +76 -0
- package/dist/types/model/enum/ResourceType.d.ts.map +1 -0
- package/dist/types/model/enum/TagType.d.ts +35 -0
- package/dist/types/model/enum/TagType.d.ts.map +1 -0
- package/dist/types/model/enum/TextFormat.d.ts +13 -0
- package/dist/types/model/enum/TextFormat.d.ts.map +1 -0
- package/dist/types/model/enum/TextMarkType.d.ts +37 -0
- package/dist/types/model/enum/TextMarkType.d.ts.map +1 -0
- package/dist/types/model/enum/TextNodeType.d.ts +37 -0
- package/dist/types/model/enum/TextNodeType.d.ts.map +1 -0
- package/dist/types/model/enum/TextSection.d.ts +27 -0
- package/dist/types/model/enum/TextSection.d.ts.map +1 -0
- package/dist/types/model/json/BitJson.d.ts +187 -0
- package/dist/types/model/json/BitJson.d.ts.map +1 -0
- package/dist/types/model/json/BitWrapperJson.d.ts +8 -0
- package/dist/types/model/json/BitWrapperJson.d.ts.map +1 -0
- package/dist/types/model/json/BodyBitJson.d.ts +61 -0
- package/dist/types/model/json/BodyBitJson.d.ts.map +1 -0
- package/dist/types/model/json/ParserJson.d.ts +10 -0
- package/dist/types/model/json/ParserJson.d.ts.map +1 -0
- package/dist/types/model/json/ResourceJson.d.ts +252 -0
- package/dist/types/model/json/ResourceJson.d.ts.map +1 -0
- package/dist/types/model/parser/ParserData.d.ts +11 -0
- package/dist/types/model/parser/ParserData.d.ts.map +1 -0
- package/dist/types/model/parser/ParserError.d.ts +17 -0
- package/dist/types/model/parser/ParserError.d.ts.map +1 -0
- package/dist/types/model/parser/ParserInfo.d.ts +10 -0
- package/dist/types/model/parser/ParserInfo.d.ts.map +1 -0
- package/dist/types/model/parser/ParserLocation.d.ts +6 -0
- package/dist/types/model/parser/ParserLocation.d.ts.map +1 -0
- package/dist/types/model/parser/ParserLocationRange.d.ts +10 -0
- package/dist/types/model/parser/ParserLocationRange.d.ts.map +1 -0
- package/dist/types/parser/bitmark/BitmarkParser.d.ts +28 -0
- package/dist/types/parser/bitmark/BitmarkParser.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParser.d.ts +8 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParser.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserHelper.d.ts +96 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserHelper.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts +128 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts +261 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts +182 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/PeggyGrammarLocation.d.ts +61 -0
- package/dist/types/parser/bitmark/peg/PeggyGrammarLocation.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts +6 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts +6 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts +14 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts +6 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts +6 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/json/JsonParser.d.ts +77 -0
- package/dist/types/parser/json/JsonParser.d.ts.map +1 -0
- package/dist/types/parser/text/TextParser.d.ts +19 -0
- package/dist/types/parser/text/TextParser.d.ts.map +1 -0
- package/dist/types/parser/text/peg/TextPegParser.d.ts +8 -0
- package/dist/types/parser/text/peg/TextPegParser.d.ts.map +1 -0
- package/dist/types/utils/ArrayUtils.d.ts +25 -0
- package/dist/types/utils/ArrayUtils.d.ts.map +1 -0
- package/dist/types/utils/BitUtils.d.ts +17 -0
- package/dist/types/utils/BitUtils.d.ts.map +1 -0
- package/dist/types/utils/BooleanUtils.d.ts +30 -0
- package/dist/types/utils/BooleanUtils.d.ts.map +1 -0
- package/dist/types/utils/FileUtils.d.ts +12 -0
- package/dist/types/utils/FileUtils.d.ts.map +1 -0
- package/dist/types/utils/NumberUtils.d.ts +16 -0
- package/dist/types/utils/NumberUtils.d.ts.map +1 -0
- package/dist/types/utils/ObjectUtils.d.ts +118 -0
- package/dist/types/utils/ObjectUtils.d.ts.map +1 -0
- package/dist/types/utils/StringUtils.d.ts +46 -0
- package/dist/types/utils/StringUtils.d.ts.map +1 -0
- package/dist/types/utils/UrlUtils.d.ts +7 -0
- package/dist/types/utils/UrlUtils.d.ts.map +1 -0
- package/dist/types/utils/env/Env.d.ts +39 -0
- package/dist/types/utils/env/Env.d.ts.map +1 -0
- package/dist/types/utils/env/Environment.d.ts +21 -0
- package/dist/types/utils/env/Environment.d.ts.map +1 -0
- package/dist/types/utils/env/Os.d.ts +19 -0
- package/dist/types/utils/env/Os.d.ts.map +1 -0
- package/dist/types/utils/env/Version.d.ts +10 -0
- package/dist/types/utils/env/Version.d.ts.map +1 -0
- package/dist/types/utils/env/userAgent.d.ts +11 -0
- package/dist/types/utils/env/userAgent.d.ts.map +1 -0
- package/dist/types/utils/polyfill/fs.d.ts +6 -0
- package/dist/types/utils/polyfill/fs.d.ts.map +1 -0
- package/package.json +127 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { AstWalkCallbacks, Ast, NodeInfo } from '../../ast/Ast';
|
|
2
|
+
import { Writer } from '../../ast/writer/Writer';
|
|
3
|
+
import { ImageLinkResource } from '../../model/ast/Nodes';
|
|
4
|
+
import { AudioEmbedResource } from '../../model/ast/Nodes';
|
|
5
|
+
import { AudioLinkResource } from '../../model/ast/Nodes';
|
|
6
|
+
import { VideoEmbedResource } from '../../model/ast/Nodes';
|
|
7
|
+
import { VideoLinkResource } from '../../model/ast/Nodes';
|
|
8
|
+
import { DocumentResource } from '../../model/ast/Nodes';
|
|
9
|
+
import { DocumentEmbedResource } from '../../model/ast/Nodes';
|
|
10
|
+
import { DocumentLinkResource } from '../../model/ast/Nodes';
|
|
11
|
+
import { DocumentDownloadResource } from '../../model/ast/Nodes';
|
|
12
|
+
import { StillImageFilmEmbedResource } from '../../model/ast/Nodes';
|
|
13
|
+
import { StillImageFilmLinkResource } from '../../model/ast/Nodes';
|
|
14
|
+
import { Text, TextAst } from '../../model/ast/TextNodes';
|
|
15
|
+
import { BitTypeType } from '../../model/enum/BitType';
|
|
16
|
+
import { BitmarkVersionType } from '../../model/enum/BitmarkVersion';
|
|
17
|
+
import { TextFormatType } from '../../model/enum/TextFormat';
|
|
18
|
+
import { Generator } from '../Generator';
|
|
19
|
+
import { Example, Highlight } from '../../model/ast/Nodes';
|
|
20
|
+
import { BitmarkAst, Bit, ItemLead, ImageResource, Resource, ArticleResource, Gap, AudioResource, VideoResource, AppLinkResource, WebsiteLinkResource, Select } from '../../model/ast/Nodes';
|
|
21
|
+
import { BitJson } from '../../model/json/BitJson';
|
|
22
|
+
import { BodyBitJson, GapJson, HighlightJson, SelectJson } from '../../model/json/BodyBitJson';
|
|
23
|
+
import { AppLinkResourceJson, ArticleResourceJson, AudioEmbedResourceJson, AudioLinkResourceJson, AudioResourceJson, BaseResourceJson, DocumentDownloadResourceJson, DocumentEmbedResourceJson, DocumentLinkResourceJson, DocumentResourceJson, ImageLinkResourceJson, ImageResourceJson, ResourceJson, StillImageFilmEmbedResourceJson, StillImageFilmLinkResourceJson, VideoEmbedResourceJson, VideoLinkResourceJson, VideoResourceJson, WebsiteLinkResourceJson } from '../../model/json/ResourceJson';
|
|
24
|
+
/**
|
|
25
|
+
* JSON output options
|
|
26
|
+
*/
|
|
27
|
+
export interface JsonOptions {
|
|
28
|
+
/**
|
|
29
|
+
* Enable parser warnings.
|
|
30
|
+
*
|
|
31
|
+
* If not set or false, parser warnings will not be included in the output.
|
|
32
|
+
* If true, any parser warnings will be included in the output.
|
|
33
|
+
*/
|
|
34
|
+
enableWarnings?: boolean | number;
|
|
35
|
+
/**
|
|
36
|
+
* Prettify the JSON.
|
|
37
|
+
*
|
|
38
|
+
* If not set or false, JSON will not be prettified.
|
|
39
|
+
* If true, JSON will be prettified with an indent of 2.
|
|
40
|
+
* If a positive integer, JSON will be prettified with an indent of this number.
|
|
41
|
+
*
|
|
42
|
+
* If prettify is set, a string will be returned if possible.
|
|
43
|
+
*/
|
|
44
|
+
prettify?: boolean | number;
|
|
45
|
+
/**
|
|
46
|
+
* Stringify the JSON.
|
|
47
|
+
*
|
|
48
|
+
* If not set or false, JSON will be returned as a plain JS object.
|
|
49
|
+
* It true, JSON will be stringified.
|
|
50
|
+
*
|
|
51
|
+
* If prettify is set, it will override this setting.
|
|
52
|
+
*/
|
|
53
|
+
stringify?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Output text as plain text rather than parsed bitmark text
|
|
56
|
+
*
|
|
57
|
+
* If not set, the default for the bitmark version will be used.
|
|
58
|
+
* If false, text will be output as parsed bitmark text.
|
|
59
|
+
* It true, text will be output as plain text strings.
|
|
60
|
+
*/
|
|
61
|
+
textAsPlainText?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Exclude unknown properties in the output.
|
|
64
|
+
*
|
|
65
|
+
* If not set or false, unknown properties will be included in the JSON output.
|
|
66
|
+
* It true, unknown properties will NOT be included in the JSON output.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
excludeUnknownProperties?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* [development only]
|
|
72
|
+
* Generate debug information in the output.
|
|
73
|
+
*/
|
|
74
|
+
debugGenerationInline?: boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* JSON generator options
|
|
78
|
+
*/
|
|
79
|
+
export interface JsonGeneratorOptions {
|
|
80
|
+
/**
|
|
81
|
+
* bitmarkVersion - The version of bitmark to output.
|
|
82
|
+
* If not specified, the version will default to 3.
|
|
83
|
+
*
|
|
84
|
+
* Specifying the version will set defaults for other options.
|
|
85
|
+
* - Bitmark v2:
|
|
86
|
+
* - textAsPlainText: true
|
|
87
|
+
* - Bitmark v3:
|
|
88
|
+
* - textAsPlainText: false
|
|
89
|
+
*/
|
|
90
|
+
bitmarkVersion?: BitmarkVersionType;
|
|
91
|
+
/**
|
|
92
|
+
* The options for JSON generation.
|
|
93
|
+
*/
|
|
94
|
+
jsonOptions?: JsonOptions;
|
|
95
|
+
}
|
|
96
|
+
interface ItemLeadHintInstructionNode {
|
|
97
|
+
itemLead?: ItemLead;
|
|
98
|
+
hint?: string;
|
|
99
|
+
instruction?: string;
|
|
100
|
+
}
|
|
101
|
+
interface ItemLeadHintInstuction {
|
|
102
|
+
item: Text;
|
|
103
|
+
lead: Text;
|
|
104
|
+
hint: Text;
|
|
105
|
+
instruction: Text;
|
|
106
|
+
}
|
|
107
|
+
interface ExampleAndIsExample {
|
|
108
|
+
isExample: boolean;
|
|
109
|
+
example: Text;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Generate bitmark JSON from a bitmark AST
|
|
113
|
+
*
|
|
114
|
+
* TODO: NOT IMPLEMENTED!
|
|
115
|
+
*/
|
|
116
|
+
declare class JsonGenerator implements Generator<BitmarkAst>, AstWalkCallbacks {
|
|
117
|
+
protected ast: Ast;
|
|
118
|
+
private bitmarkVersion;
|
|
119
|
+
private textParser;
|
|
120
|
+
private options;
|
|
121
|
+
private jsonPrettifySpace;
|
|
122
|
+
private writer;
|
|
123
|
+
private json;
|
|
124
|
+
private bitWrapperJson;
|
|
125
|
+
private bitJson;
|
|
126
|
+
private textDefault;
|
|
127
|
+
private bodyDefault;
|
|
128
|
+
private printed;
|
|
129
|
+
/**
|
|
130
|
+
* Generate bitmark JSON from a bitmark AST
|
|
131
|
+
*
|
|
132
|
+
* @param writer - destination for the output
|
|
133
|
+
* @param options - JSON generation options
|
|
134
|
+
*/
|
|
135
|
+
constructor(writer: Writer, options?: JsonGeneratorOptions);
|
|
136
|
+
/**
|
|
137
|
+
* Generate bitmark markup from bitmark AST
|
|
138
|
+
*
|
|
139
|
+
* @param ast bitmark AST
|
|
140
|
+
*/
|
|
141
|
+
generate(ast: BitmarkAst): Promise<void>;
|
|
142
|
+
/**
|
|
143
|
+
* Generate text from a bitmark text AST synchronously
|
|
144
|
+
*
|
|
145
|
+
* @param ast bitmark text AST
|
|
146
|
+
*/
|
|
147
|
+
generateSync(ast: BitmarkAst): void;
|
|
148
|
+
private resetState;
|
|
149
|
+
private walkAndWrite;
|
|
150
|
+
enter(node: NodeInfo, parent: NodeInfo | undefined, route: NodeInfo[]): boolean | void;
|
|
151
|
+
between(node: NodeInfo, left: NodeInfo, right: NodeInfo, parent: NodeInfo | undefined, route: NodeInfo[]): boolean | void;
|
|
152
|
+
exit(node: NodeInfo, parent: NodeInfo | undefined, route: NodeInfo[]): void;
|
|
153
|
+
leaf(node: NodeInfo, parent: NodeInfo | undefined, route: NodeInfo[]): void;
|
|
154
|
+
protected enter_bitmarkAst(_node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
155
|
+
protected enter_bitsValue(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
156
|
+
protected exit_bitsValue(_node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
157
|
+
protected enter_partner(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
158
|
+
protected enter_sampleSolution(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
159
|
+
protected enter_itemLead(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
160
|
+
protected enter_extraProperties(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
161
|
+
protected enter_bodyParts(node: NodeInfo, _parent: NodeInfo | undefined, route: NodeInfo[]): boolean;
|
|
162
|
+
protected enter_elements(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
163
|
+
protected enter_statement(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
164
|
+
protected enter_statements(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
165
|
+
protected enter_choices(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
166
|
+
protected enter_responses(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
167
|
+
protected enter_quizzes(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
168
|
+
protected enter_heading(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): boolean | void;
|
|
169
|
+
protected enter_pairs(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
170
|
+
protected enter_matrix(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
171
|
+
protected enter_questions(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
172
|
+
protected enter_botResponses(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
173
|
+
protected enter_resource(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): boolean | void;
|
|
174
|
+
protected leaf_title(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
175
|
+
protected leaf_subtitle(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
176
|
+
protected leaf_level(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
177
|
+
protected leaf_book(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
178
|
+
protected leaf_anchor(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
179
|
+
protected leaf_reference(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
180
|
+
protected leaf_referenceEnd(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
181
|
+
protected leaf_hint(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
182
|
+
protected leaf_instruction(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
183
|
+
protected leaf_example(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
184
|
+
protected leaf_footerText(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
185
|
+
protected leaf_markup(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
186
|
+
protected enter_parser(node: NodeInfo, parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
187
|
+
/**
|
|
188
|
+
* Generate the handlers for properties, as they are mostly the same, but not quite
|
|
189
|
+
*/
|
|
190
|
+
protected generatePropertyHandlers(): void;
|
|
191
|
+
protected createGapJson(gap: Gap): GapJson;
|
|
192
|
+
protected createSelectJson(select: Select): SelectJson;
|
|
193
|
+
protected createHighlightJson(highlight: Highlight): HighlightJson;
|
|
194
|
+
protected parseResourceToJson(resource: Resource | undefined): ResourceJson | undefined;
|
|
195
|
+
protected addImageResource(resource: ImageResource | string): ImageResourceJson;
|
|
196
|
+
protected addImageLinkResource(resource: ImageLinkResource | string): ImageLinkResourceJson;
|
|
197
|
+
protected addAudioResource(resource: AudioResource): AudioResourceJson;
|
|
198
|
+
protected addAudioEmbedResource(resource: AudioEmbedResource): AudioEmbedResourceJson;
|
|
199
|
+
protected addAudioLinkResource(resource: AudioLinkResource): AudioLinkResourceJson;
|
|
200
|
+
protected addVideoResource(resource: VideoResource): VideoResourceJson;
|
|
201
|
+
protected addVideoEmbedResource(resource: VideoEmbedResource): VideoEmbedResourceJson;
|
|
202
|
+
protected addVideoLinkResource(resource: VideoLinkResource): VideoLinkResourceJson;
|
|
203
|
+
protected addStillImageFilmEmbedResource(resource: StillImageFilmEmbedResource): StillImageFilmEmbedResourceJson;
|
|
204
|
+
protected addStillImageFilmLinkResource(resource: StillImageFilmLinkResource): StillImageFilmLinkResourceJson;
|
|
205
|
+
protected addArticleResource(resource: ArticleResource): ArticleResourceJson;
|
|
206
|
+
protected addDocumentResource(resource: DocumentResource): DocumentResourceJson;
|
|
207
|
+
protected addDocumentEmbedResource(resource: DocumentEmbedResource): DocumentEmbedResourceJson;
|
|
208
|
+
protected addDocumentLinkResource(resource: DocumentLinkResource): DocumentLinkResourceJson;
|
|
209
|
+
protected addDocumentDownloadResource(resource: DocumentDownloadResource): DocumentDownloadResourceJson;
|
|
210
|
+
protected addAppLinkResource(resource: AppLinkResource): AppLinkResourceJson;
|
|
211
|
+
protected addWebsiteLinkResource(resource: WebsiteLinkResource): WebsiteLinkResourceJson;
|
|
212
|
+
protected addGenericResourceProperties(resource: Resource, resourceJson: BaseResourceJson, noDefaults?: boolean): ArticleResourceJson | DocumentResourceJson;
|
|
213
|
+
protected toItemLeadHintInstruction(item: ItemLeadHintInstructionNode): ItemLeadHintInstuction;
|
|
214
|
+
protected toExampleAndIsExample(exampleIn: Example | undefined): ExampleAndIsExample;
|
|
215
|
+
protected addProperty(target: any, name: string, values: unknown | unknown[] | undefined, singleWithoutArray?: boolean): void;
|
|
216
|
+
/**
|
|
217
|
+
* Get the bit type from any node
|
|
218
|
+
*
|
|
219
|
+
* @param route the route to the node
|
|
220
|
+
* @returns the bit type
|
|
221
|
+
*/
|
|
222
|
+
protected getBitType(route: NodeInfo[]): BitTypeType | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* Get the text format from any node
|
|
225
|
+
*
|
|
226
|
+
* @param route the route to the node
|
|
227
|
+
* @returns the text format
|
|
228
|
+
*/
|
|
229
|
+
protected getTextFormat(route: NodeInfo[]): TextFormatType | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* Convert parse a string to TextAst if required, otherwise just return the string as is.
|
|
232
|
+
* @param text
|
|
233
|
+
* @returns
|
|
234
|
+
*/
|
|
235
|
+
protected toTextAstOrString(text: string | undefined, format?: TextFormatType): Text;
|
|
236
|
+
/**
|
|
237
|
+
* Walk the body AST to find the placeholder and replace it with the body bit.
|
|
238
|
+
*
|
|
239
|
+
* @param bodyAst the body AST
|
|
240
|
+
* @param bodyBitJson the body bit json to insert at the placeholder position
|
|
241
|
+
* @param index the index of the placeholder to replace
|
|
242
|
+
*/
|
|
243
|
+
protected replacePlaceholderWithBodyBit(bodyAst: TextAst, bodyBitJson: BodyBitJson, index: number): void;
|
|
244
|
+
protected writeInlineDebug(key: string, state: {
|
|
245
|
+
open?: boolean;
|
|
246
|
+
close?: boolean;
|
|
247
|
+
single?: boolean;
|
|
248
|
+
}): void;
|
|
249
|
+
protected writeString(s?: string): void;
|
|
250
|
+
/**
|
|
251
|
+
* Create a new bit json object.
|
|
252
|
+
* - This function defines the order of the properties in the json.
|
|
253
|
+
*
|
|
254
|
+
* @param bit
|
|
255
|
+
* @returns
|
|
256
|
+
*/
|
|
257
|
+
protected createBitJson(bit: Bit): Partial<BitJson>;
|
|
258
|
+
/**
|
|
259
|
+
* Remove wanted properties from bit json object.
|
|
260
|
+
* - This function defines the defaults for properties in the json.
|
|
261
|
+
*
|
|
262
|
+
* @param bit
|
|
263
|
+
* @returns
|
|
264
|
+
*/
|
|
265
|
+
protected cleanAndSetDefaultsForBitJson(bitJson: Partial<BitJson>): Partial<BitJson>;
|
|
266
|
+
/**
|
|
267
|
+
* Writes a string value to the output.
|
|
268
|
+
* @param value - The string value to be written.
|
|
269
|
+
*/
|
|
270
|
+
write(value: string): this;
|
|
271
|
+
/**
|
|
272
|
+
* Writes a new line to the output. The line is indented automatically. The line is ended with the endOfLineString.
|
|
273
|
+
* @param value - The line to write. When omitted, only the endOfLineString is written.
|
|
274
|
+
*/
|
|
275
|
+
writeLine(value?: string): this;
|
|
276
|
+
/**
|
|
277
|
+
* Writes a collection of lines to the output. Each line is indented automatically and ended with the endOfLineString.
|
|
278
|
+
* @param values - The lines to write.
|
|
279
|
+
* @param delimiter - An optional delimiter to be written at the end of each line, except for the last one.
|
|
280
|
+
*/
|
|
281
|
+
writeLines(values: string[], delimiter?: string): this;
|
|
282
|
+
/**
|
|
283
|
+
* Writes a single whitespace character to the output.
|
|
284
|
+
*/
|
|
285
|
+
writeWhiteSpace(): this;
|
|
286
|
+
}
|
|
287
|
+
export { JsonGenerator };
|
|
288
|
+
//# sourceMappingURL=JsonGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JsonGenerator.d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,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IA0PpF;;;OAGG;IACH,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAK1B;;;OAGG;IACH,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAK/B;;;;OAIG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAKtD;;OAEG;IACH,eAAe,IAAI,IAAI;CAIxB;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BitmarkAst } from '../../model/ast/Nodes';
|
|
2
|
+
import { BitWrapperJson } from '../../model/json/BitWrapperJson';
|
|
3
|
+
import { Generator } from '../Generator';
|
|
4
|
+
import { JsonGeneratorOptions } from './JsonGenerator';
|
|
5
|
+
/**
|
|
6
|
+
* Generate bitmark JSON from a bitmark AST as a plain JS object
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
declare class JsonObjectGenerator implements Generator<BitmarkAst, BitWrapperJson[]> {
|
|
10
|
+
private generator;
|
|
11
|
+
private writer;
|
|
12
|
+
/**
|
|
13
|
+
* Generate bitmark JSON from a bitmark AST as a string
|
|
14
|
+
*
|
|
15
|
+
* @param options - JSON generation options
|
|
16
|
+
*/
|
|
17
|
+
constructor(options?: JsonGeneratorOptions);
|
|
18
|
+
/**
|
|
19
|
+
* Generate bitmark JSON from bitmark AST as a plain JS object
|
|
20
|
+
*
|
|
21
|
+
* @param ast bitmark AST
|
|
22
|
+
*/
|
|
23
|
+
generate(ast: BitmarkAst): Promise<BitWrapperJson[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Generate bitmark JSON from bitmark AST as a plain JS object synchronously
|
|
26
|
+
*
|
|
27
|
+
* @param ast bitmark AST
|
|
28
|
+
*/
|
|
29
|
+
generateSync(ast: BitmarkAst): BitWrapperJson[];
|
|
30
|
+
}
|
|
31
|
+
export { JsonObjectGenerator };
|
|
32
|
+
//# sourceMappingURL=JsonObjectGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JsonObjectGenerator.d.ts","sourceRoot":"","sources":["../../../../src/generator/json/JsonObjectGenerator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAiB,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEtE;;;GAGG;AACH,cAAM,mBAAoB,YAAW,SAAS,CAAC,UAAU,EAAE,cAAc,EAAE,CAAC;IAC1E,OAAO,CAAC,SAAS,CAAgB;IACjC,OAAO,CAAC,MAAM,CAAe;IAE7B;;;;OAIG;gBACS,OAAO,CAAC,EAAE,oBAAoB;IAK1C;;;;OAIG;IACU,QAAQ,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAKjE;;;;OAIG;IACI,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,EAAE;CAIvD;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BitmarkAst } from '../../model/ast/Nodes';
|
|
2
|
+
import { Generator } from '../Generator';
|
|
3
|
+
import { JsonGeneratorOptions } from './JsonGenerator';
|
|
4
|
+
/**
|
|
5
|
+
* Generate bitmark JSON from a bitmark AST as a string
|
|
6
|
+
*/
|
|
7
|
+
declare class JsonStringGenerator implements Generator<BitmarkAst, string> {
|
|
8
|
+
private generator;
|
|
9
|
+
private writer;
|
|
10
|
+
/**
|
|
11
|
+
* Generate bitmark JSON from a bitmark AST as a string
|
|
12
|
+
*
|
|
13
|
+
* @param options - JSON generation options
|
|
14
|
+
*/
|
|
15
|
+
constructor(options?: JsonGeneratorOptions);
|
|
16
|
+
/**
|
|
17
|
+
* Generate bitmark JSON from bitmark AST as a string
|
|
18
|
+
*
|
|
19
|
+
* @param ast bitmark AST
|
|
20
|
+
*/
|
|
21
|
+
generate(ast: BitmarkAst): Promise<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Generate bitmark JSON from bitmark AST as a string synchronously
|
|
24
|
+
*
|
|
25
|
+
* @param ast bitmark AST
|
|
26
|
+
*/
|
|
27
|
+
generateSync(ast: BitmarkAst): string;
|
|
28
|
+
}
|
|
29
|
+
export { JsonStringGenerator };
|
|
30
|
+
//# sourceMappingURL=JsonStringGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JsonStringGenerator.d.ts","sourceRoot":"","sources":["../../../../src/generator/json/JsonStringGenerator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAiB,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEtE;;GAEG;AACH,cAAM,mBAAoB,YAAW,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC;IAChE,OAAO,CAAC,SAAS,CAAgB;IACjC,OAAO,CAAC,MAAM,CAAe;IAE7B;;;;OAIG;gBACS,OAAO,CAAC,EAAE,oBAAoB;IAK1C;;;;OAIG;IACU,QAAQ,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC;IAKvD;;;;OAIG;IACI,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,MAAM;CAI7C;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { AstWalkCallbacks, Ast, NodeInfo } from '../../ast/Ast';
|
|
2
|
+
import { BitTypeType } from '../../model/enum/BitType';
|
|
3
|
+
import { BitmarkVersionType } from '../../model/enum/BitmarkVersion';
|
|
4
|
+
import { TextFormatType } from '../../model/enum/TextFormat';
|
|
5
|
+
import { BodyBitsJson } from '../../model/json/BodyBitJson';
|
|
6
|
+
import { CodeBlockTextNode, CommentMark, HeadingTextNode, ImageTextNode, SectionTextNode, TextAst, TextMark, TextNode } from '../../model/ast/TextNodes';
|
|
7
|
+
/**
|
|
8
|
+
* Text generation options
|
|
9
|
+
*/
|
|
10
|
+
export interface TextOptions {
|
|
11
|
+
/**
|
|
12
|
+
* [development only]
|
|
13
|
+
* Generate debug information in the output.
|
|
14
|
+
*/
|
|
15
|
+
debugGenerationInline?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Generate text from a bitmark text AST
|
|
19
|
+
*/
|
|
20
|
+
declare class TextGenerator implements AstWalkCallbacks {
|
|
21
|
+
protected ast: Ast;
|
|
22
|
+
private bitmarkVersion;
|
|
23
|
+
private options;
|
|
24
|
+
private textFormat;
|
|
25
|
+
private writerText;
|
|
26
|
+
private currentIndent;
|
|
27
|
+
private prevIndent;
|
|
28
|
+
private indentationStringCache;
|
|
29
|
+
private inCodeBlock;
|
|
30
|
+
private exitedCodeBlock;
|
|
31
|
+
private placeholderIndex;
|
|
32
|
+
private placeholders;
|
|
33
|
+
private printed;
|
|
34
|
+
/**
|
|
35
|
+
* Generate text from a bitmark text AST
|
|
36
|
+
*
|
|
37
|
+
* @param bitmarkVersion - bitmark version, use null to use latest version
|
|
38
|
+
* @param options - text generation options
|
|
39
|
+
*/
|
|
40
|
+
constructor(bitmarkVersion?: BitmarkVersionType, options?: TextOptions);
|
|
41
|
+
/**
|
|
42
|
+
* Generate text from a bitmark text AST
|
|
43
|
+
*
|
|
44
|
+
* @param ast bitmark text AST
|
|
45
|
+
*/
|
|
46
|
+
generate(ast: TextAst, textFormat?: TextFormatType): Promise<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Generate text from a bitmark text AST synchronously
|
|
49
|
+
*
|
|
50
|
+
* @param ast bitmark text AST
|
|
51
|
+
*/
|
|
52
|
+
generateSync(ast: TextAst, textFormat?: TextFormatType): string;
|
|
53
|
+
getPlaceholders(): BodyBitsJson;
|
|
54
|
+
private resetState;
|
|
55
|
+
private walkAndWrite;
|
|
56
|
+
enter(node: NodeInfo, parent: NodeInfo | undefined, route: NodeInfo[]): boolean | void;
|
|
57
|
+
between(node: NodeInfo, left: NodeInfo, right: NodeInfo, parent: NodeInfo | undefined, route: NodeInfo[]): boolean | void;
|
|
58
|
+
exit(node: NodeInfo, parent: NodeInfo | undefined, route: NodeInfo[]): void;
|
|
59
|
+
leaf(node: NodeInfo, parent: NodeInfo | undefined, route: NodeInfo[]): void;
|
|
60
|
+
protected enter_textAstValue(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
61
|
+
protected between_textAstValue(node: NodeInfo, _left: NodeInfo, _right: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
62
|
+
protected exit_textAstValue(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
63
|
+
protected enter_contentValueValue(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
64
|
+
protected between_contentValueValue(node: NodeInfo, _left: NodeInfo, _right: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
65
|
+
protected exit_contentValueValue(node: NodeInfo, _parent: NodeInfo | undefined, _route: NodeInfo[]): void;
|
|
66
|
+
protected handleEnterNode(node: TextNode): void;
|
|
67
|
+
protected handleBetweenNode(node: TextNode): void;
|
|
68
|
+
protected handleExitNode(node: TextNode): void;
|
|
69
|
+
protected handleIndent(node: TextNode): void;
|
|
70
|
+
protected handleDedent(node: TextNode): void;
|
|
71
|
+
/**
|
|
72
|
+
* Check if a text node has a link mark, and if so, return the href
|
|
73
|
+
*
|
|
74
|
+
* @param node the node to check for a link mark
|
|
75
|
+
* @returns the href, or false if no link mark
|
|
76
|
+
*/
|
|
77
|
+
protected getLinkHref(node: TextNode): string | false;
|
|
78
|
+
/**
|
|
79
|
+
* Get the current indentation string
|
|
80
|
+
* @returns
|
|
81
|
+
*/
|
|
82
|
+
protected getIndentationString(): string;
|
|
83
|
+
protected writeBodyBit(node: TextNode): void;
|
|
84
|
+
protected writeText(node: TextNode): void;
|
|
85
|
+
protected writeLink(node: TextNode): boolean;
|
|
86
|
+
protected writeMarks(node: TextNode, enter: boolean): void;
|
|
87
|
+
protected writeParagraph(_node: TextNode): void;
|
|
88
|
+
protected writeHardBreak(_node: TextNode): void;
|
|
89
|
+
protected writeHeading(node: HeadingTextNode): void;
|
|
90
|
+
protected writeSection(node: SectionTextNode): void;
|
|
91
|
+
protected writeBullet(node: TextNode): void;
|
|
92
|
+
protected writeImage(node: ImageTextNode): void;
|
|
93
|
+
protected writeCodeBlock(node: CodeBlockTextNode): void;
|
|
94
|
+
protected writeStandardMark(mark: TextMark): void;
|
|
95
|
+
protected writeInlineMark(mark: TextMark, enter: boolean): void;
|
|
96
|
+
protected writeCommentMark(mark: CommentMark, enter: boolean): void;
|
|
97
|
+
protected writeString(s?: string): void;
|
|
98
|
+
protected writeNL(): void;
|
|
99
|
+
protected writeInlineDebug(key: string, state: {
|
|
100
|
+
open?: boolean;
|
|
101
|
+
close?: boolean;
|
|
102
|
+
single?: boolean;
|
|
103
|
+
}): void;
|
|
104
|
+
protected getBitType(route: NodeInfo[]): BitTypeType | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Writes a string value to the output.
|
|
107
|
+
* @param value - The string value to be written.
|
|
108
|
+
*/
|
|
109
|
+
write(value: string): this;
|
|
110
|
+
/**
|
|
111
|
+
* Writes a new line to the output. The line is indented automatically. The line is ended with the endOfLineString.
|
|
112
|
+
* @param value - The line to write. When omitted, only the endOfLineString is written.
|
|
113
|
+
*/
|
|
114
|
+
writeLine(value?: string): this;
|
|
115
|
+
/**
|
|
116
|
+
* Writes a collection of lines to the output. Each line is indented automatically and ended with the endOfLineString.
|
|
117
|
+
* @param values - The lines to write.
|
|
118
|
+
* @param delimiter - An optional delimiter to be written at the end of each line, except for the last one.
|
|
119
|
+
*/
|
|
120
|
+
writeLines(values: string[], delimiter?: string): this;
|
|
121
|
+
/**
|
|
122
|
+
* Writes a single whitespace character to the output.
|
|
123
|
+
*/
|
|
124
|
+
writeWhiteSpace(): this;
|
|
125
|
+
}
|
|
126
|
+
export { TextGenerator };
|
|
127
|
+
//# sourceMappingURL=TextGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextGenerator.d.ts","sourceRoot":"","sources":["../../../../src/generator/text/TextGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGhE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAkB,kBAAkB,EAA2B,MAAM,iCAAiC,CAAC;AAC9G,OAAO,EAAc,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAGzE,OAAO,EAAe,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,aAAa,EAEb,eAAe,EAEf,OAAO,EACP,QAAQ,EACR,QAAQ,EACT,MAAM,2BAA2B,CAAC;AAmDnC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;GAEG;AACH,cAAM,aAAc,YAAW,gBAAgB;IAC7C,SAAS,CAAC,GAAG,MAAa;IAC1B,OAAO,CAAC,cAAc,CAAqB;IAC3C,OAAO,CAAC,OAAO,CAAc;IAG7B,OAAO,CAAC,UAAU,CAAwC;IAC1D,OAAO,CAAC,UAAU,CAAM;IACxB,OAAO,CAAC,aAAa,CAAK;IAC1B,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,sBAAsB,CAAM;IACpC,OAA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EAAE,MAAM,GAAG,IAAI;IAM1B;;;OAGG;IACH,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAK/B;;;;OAIG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAOtD;;OAEG;IACH,eAAe,IAAI,IAAI;CAIxB;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export { BitmarkParserGenerator, Output } from './BitmarkParserGenerator';
|
|
2
|
+
export { Builder } from './ast/Builder';
|
|
3
|
+
export { ResourceBuilder } from './ast/ResourceBuilder';
|
|
4
|
+
export { Ast } from './ast/Ast';
|
|
5
|
+
export { JsonParser } from './parser/json/JsonParser';
|
|
6
|
+
export { JsonGenerator } from './generator/json/JsonGenerator';
|
|
7
|
+
export { JsonStringGenerator } from './generator/json/JsonStringGenerator';
|
|
8
|
+
export { BitmarkParser } from './parser/bitmark/BitmarkParser';
|
|
9
|
+
export { BitmarkGenerator } from './generator/bitmark/BitmarkGenerator';
|
|
10
|
+
export { BitmarkStringGenerator } from './generator/bitmark/BitmarkStringGenerator';
|
|
11
|
+
export { Writer } from './ast/writer/Writer';
|
|
12
|
+
export { StringWriter } from './ast/writer/StringWriter';
|
|
13
|
+
export { BitType } from './model/enum/BitType';
|
|
14
|
+
export { TextFormat } from './model/enum/TextFormat';
|
|
15
|
+
export { ResourceType } from './model/enum/ResourceType';
|
|
16
|
+
export { NodeType } from './model/ast/NodeType';
|
|
17
|
+
export { BitmarkParserType } from './model/enum/BitmarkParserType';
|
|
18
|
+
export { BitmarkVersion } from './model/enum/BitmarkVersion';
|
|
19
|
+
export { CardSetVersion } from './model/enum/CardSetVersion';
|
|
20
|
+
export { JsonFileGenerator } from './generator/json/JsonFileGenerator';
|
|
21
|
+
export { BitmarkFileGenerator } from './generator/bitmark/BitmarkFileGenerator';
|
|
22
|
+
export { FileWriter } from './ast/writer/FileWriter';
|
|
23
|
+
export { StreamWriter } from './ast/writer/StreamWriter';
|
|
24
|
+
export type { ConvertOptions, UpgradeOptions as PrettifyOptions, OutputType } from './BitmarkParserGenerator';
|
|
25
|
+
export type { FileOptions } from './ast/writer/FileWriter';
|
|
26
|
+
export type { BitmarkOptions } from './generator/bitmark/BitmarkGenerator';
|
|
27
|
+
export type { JsonOptions } from './generator/json/JsonGenerator';
|
|
28
|
+
export type { BitTypeType } from './model/enum/BitType';
|
|
29
|
+
export type { TextFormatType } from './model/enum/TextFormat';
|
|
30
|
+
export type { ResourceTypeType } from './model/enum/ResourceType';
|
|
31
|
+
export type { NodeTypeType } from './model/ast/NodeType';
|
|
32
|
+
export type { BitmarkParserTypeType } from './model/enum/BitmarkParserType';
|
|
33
|
+
export type { BitmarkVersionType } from './model/enum/BitmarkVersion';
|
|
34
|
+
export type { CardSetVersionType } from './model/enum/CardSetVersion';
|
|
35
|
+
export type { Generator } from './generator/Generator';
|
|
36
|
+
export type { NodeInfo, AstWalkCallbacks } from './ast/Ast';
|
|
37
|
+
export type { Node, BitmarkAst, Bit, ItemLead, Example, ExtraProperties, Property, Partner, Statement, Choice, Response, BotResponse, Quiz, Heading, Pair, Matrix, MatrixCell, Question, Body, BodyText, BodyPart, BodyBit, Gap, Select, SelectOption, Highlight, HighlightText, FooterText, Resource, ImageResource, ImageLinkResource, AudioResource, AudioEmbedResource, AudioLinkResource, VideoResource, VideoEmbedResource, VideoLinkResource, StillImageFilmResource, StillImageFilmEmbedResource, StillImageFilmLinkResource, ArticleResource, DocumentResource, DocumentEmbedResource, DocumentLinkResource, DocumentDownloadResource, AppLinkResource, WebsiteLinkResource, } from './model/ast/Nodes';
|
|
38
|
+
export type { Text, TextAst } from './model/ast/TextNodes';
|
|
39
|
+
export type { BitWrapperJson } from './model/json/BitWrapperJson';
|
|
40
|
+
export type { BitJson, StatementJson, ChoiceJson, ResponseJson, QuizJson, HeadingJson, PairJson, MatrixJson, MatrixCellJson, QuestionJson, } from './model/json/BitJson';
|
|
41
|
+
export type { BodyBitsJson, BodyBitJson, GapJson, SelectJson, SelectOptionJson, HighlightJson, HighlightTextJson, } from './model/json/BodyBitJson';
|
|
42
|
+
export type { ResourceDataJson, ResourceJson, ResourceWrapperJson, ImageResourceWrapperJson, ImageLinkResourceWrapperJson, AudioResourceWrapperJson, AudioEmbedResourceWrapperJson, AudioLinkResourceWrapperJson, VideoResourceWrapperJson, VideoEmbedResourceWrapperJson, VideoLinkResourceWrapperJson, StillImageFilmResourceWrapperJson, StillImageFilmEmbedResourceWrapperJson, StillImageFilmLinkResourceWrapperJson, ArticleResourceWrapperJson, DocumentResourceWrapperJson, DocumentEmbedResourceWrapperJson, DocumentLinkResourceWrapperJson, DocumentDownloadResourceWrapperJson, AppLinkResourceWrapperJson, WebsiteLinkResourceWrapperJson, ImageResourceJson, ImageLinkResourceJson, AudioResourceJson, AudioEmbedResourceJson, AudioLinkResourceJson, VideoResourceJson, VideoEmbedResourceJson, VideoLinkResourceJson, StillImageFilmResourceJson, StillImageFilmEmbedResourceJson, StillImageFilmLinkResourceJson, ArticleResourceJson, DocumentResourceJson, DocumentEmbedResourceJson, DocumentLinkResourceJson, DocumentDownloadResourceJson, AppLinkResourceJson, WebsiteLinkResourceJson, } from './model/json/ResourceJson';
|
|
43
|
+
export type { ParserJson } from './model/json/ParserJson';
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,sBAAsB,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAE1E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CA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