@gmb/bitmark-parser-generator 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/cjs/BitmarkParserGenerator.js +90 -0
- package/dist/cjs/BitmarkParserGenerator.js.map +1 -1
- package/dist/cjs/ast/BaseBuilder.js +16 -11
- package/dist/cjs/ast/BaseBuilder.js.map +1 -1
- package/dist/cjs/ast/Builder.js +9 -6
- package/dist/cjs/ast/Builder.js.map +1 -1
- package/dist/cjs/ast/ResourceBuilder.js +115 -127
- package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
- package/dist/cjs/ast/rules/NodeValidator.js +20 -22
- package/dist/cjs/ast/rules/NodeValidator.js.map +1 -1
- package/dist/cjs/config/Config.js +344 -0
- package/dist/cjs/config/Config.js.map +1 -0
- package/dist/cjs/config/ConfigHydrator.js +155 -0
- package/dist/cjs/config/ConfigHydrator.js.map +1 -0
- package/dist/cjs/config/raw/bits.js +1321 -0
- package/dist/cjs/config/raw/bits.js.map +1 -0
- package/dist/cjs/config/raw/cardSets.js +275 -0
- package/dist/cjs/config/raw/cardSets.js.map +1 -0
- package/dist/cjs/config/raw/groups.js +842 -0
- package/dist/cjs/config/raw/groups.js.map +1 -0
- package/dist/cjs/config/raw/properties.js +413 -0
- package/dist/cjs/config/raw/properties.js.map +1 -0
- package/dist/cjs/config/raw/resources.js +93 -0
- package/dist/cjs/config/raw/resources.js.map +1 -0
- package/dist/cjs/config/raw/tags.js +54 -0
- package/dist/cjs/config/raw/tags.js.map +1 -0
- package/dist/cjs/generated/build-info.js +1 -1
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js +59 -49
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/cjs/generator/json/JsonGenerator.js +126 -88
- package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
- package/dist/cjs/index.js +3 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/info/InfoBuilder.js +66 -0
- package/dist/cjs/info/InfoBuilder.js.map +1 -0
- package/dist/cjs/init/init.js +1 -1
- package/dist/cjs/model/ast/NodeType.js +2 -1
- package/dist/cjs/model/ast/NodeType.js.map +1 -1
- package/dist/cjs/model/config/AbstractTagConfig.js +18 -0
- package/dist/cjs/model/config/AbstractTagConfig.js.map +1 -0
- package/dist/cjs/model/config/BitConfig.js +66 -0
- package/dist/cjs/model/config/BitConfig.js.map +1 -0
- package/dist/cjs/model/config/CardSetConfig.js +26 -0
- package/dist/cjs/model/config/CardSetConfig.js.map +1 -0
- package/dist/cjs/model/config/CardVariantConfig.js +32 -0
- package/dist/cjs/model/config/CardVariantConfig.js.map +1 -0
- package/dist/cjs/model/config/MarkupTagConfig.js +41 -0
- package/dist/cjs/model/config/MarkupTagConfig.js.map +1 -0
- package/dist/cjs/model/config/PropertyTagConfig.js +50 -0
- package/dist/cjs/model/config/PropertyTagConfig.js.map +1 -0
- package/dist/cjs/model/config/ResourceTagConfig.js +42 -0
- package/dist/cjs/model/config/ResourceTagConfig.js.map +1 -0
- package/dist/cjs/model/config/ResourcesConfig.js +31 -0
- package/dist/cjs/model/config/ResourcesConfig.js.map +1 -0
- package/dist/cjs/model/config/TagConfig.js +3 -0
- package/dist/cjs/model/config/TagConfig.js.map +1 -0
- package/dist/cjs/model/config/TagsConfig.js +3 -0
- package/dist/cjs/model/config/TagsConfig.js.map +1 -0
- package/dist/cjs/model/config/TagsConfigWithInfo.js +3 -0
- package/dist/cjs/model/config/TagsConfigWithInfo.js.map +1 -0
- package/dist/cjs/model/config/_Config.js +3 -0
- package/dist/cjs/model/config/_Config.js.map +1 -0
- package/dist/cjs/model/config/enum/CardSetConfigKey.js +18 -0
- package/dist/cjs/model/config/enum/CardSetConfigKey.js.map +1 -0
- package/dist/cjs/model/config/enum/ConfigKey.js +173 -0
- package/dist/cjs/model/config/enum/ConfigKey.js.map +1 -0
- package/dist/cjs/model/config/enum/GroupConfigType.js +14 -0
- package/dist/cjs/model/config/enum/GroupConfigType.js.map +1 -0
- package/dist/cjs/model/enum/BitTagType.js +13 -0
- package/dist/cjs/model/enum/BitTagType.js.map +1 -0
- package/dist/cjs/model/enum/BitType.js +18 -300
- package/dist/cjs/model/enum/BitType.js.map +1 -1
- package/dist/cjs/model/enum/Count.js +9 -0
- package/dist/cjs/model/enum/Count.js.map +1 -0
- package/dist/cjs/model/enum/PropertyAstKey.js +19 -0
- package/dist/cjs/model/enum/PropertyAstKey.js.map +1 -0
- package/dist/cjs/model/enum/PropertyFormat.js +14 -0
- package/dist/cjs/model/enum/PropertyFormat.js.map +1 -0
- package/dist/cjs/model/enum/PropertyJsonKey.js +15 -0
- package/dist/cjs/model/enum/PropertyJsonKey.js.map +1 -0
- package/dist/cjs/model/enum/PropertyTag.js +89 -0
- package/dist/cjs/model/enum/PropertyTag.js.map +1 -0
- package/dist/cjs/model/enum/ResourceJsonKey.js +27 -0
- package/dist/cjs/model/enum/ResourceJsonKey.js.map +1 -0
- package/dist/cjs/model/enum/ResourceTag.js +33 -0
- package/dist/cjs/model/enum/ResourceTag.js.map +1 -0
- package/dist/cjs/model/enum/Tag.js +23 -0
- package/dist/cjs/model/enum/Tag.js.map +1 -0
- package/dist/cjs/model/info/enum/InfoFormat.js +11 -0
- package/dist/cjs/model/info/enum/InfoFormat.js.map +1 -0
- package/dist/cjs/model/info/enum/InfoType.js +12 -0
- package/dist/cjs/model/info/enum/InfoType.js.map +1 -0
- package/dist/cjs/model/parser/TagValidationData.js +3 -0
- package/dist/cjs/model/parser/TagValidationData.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js +27 -24
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js +14 -13
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js +173 -143
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +4 -5
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +20 -18
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +9 -7
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +13 -10
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +12 -9
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +5 -3
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js +4 -4
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +63 -45
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +43 -118
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +15 -15
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/json/JsonParser.js +43 -30
- package/dist/cjs/parser/json/JsonParser.js.map +1 -1
- package/dist/cjs/utils/BitUtils.js +0 -26
- package/dist/cjs/utils/BitUtils.js.map +1 -1
- package/dist/cjs/utils/StringUtils.js +10 -1
- package/dist/cjs/utils/StringUtils.js.map +1 -1
- package/dist/esm/BitmarkParserGenerator.js +90 -0
- package/dist/esm/BitmarkParserGenerator.js.map +1 -1
- package/dist/esm/ast/BaseBuilder.js +16 -11
- package/dist/esm/ast/BaseBuilder.js.map +1 -1
- package/dist/esm/ast/Builder.js +9 -6
- package/dist/esm/ast/Builder.js.map +1 -1
- package/dist/esm/ast/ResourceBuilder.js +115 -127
- package/dist/esm/ast/ResourceBuilder.js.map +1 -1
- package/dist/esm/ast/rules/NodeValidator.js +20 -22
- package/dist/esm/ast/rules/NodeValidator.js.map +1 -1
- package/dist/esm/config/Config.js +341 -0
- package/dist/esm/config/Config.js.map +1 -0
- package/dist/esm/config/ConfigHydrator.js +152 -0
- package/dist/esm/config/ConfigHydrator.js.map +1 -0
- package/dist/esm/config/raw/bits.js +1318 -0
- package/dist/esm/config/raw/bits.js.map +1 -0
- package/dist/esm/config/raw/cardSets.js +272 -0
- package/dist/esm/config/raw/cardSets.js.map +1 -0
- package/dist/esm/config/raw/groups.js +839 -0
- package/dist/esm/config/raw/groups.js.map +1 -0
- package/dist/esm/config/raw/properties.js +410 -0
- package/dist/esm/config/raw/properties.js.map +1 -0
- package/dist/esm/config/raw/resources.js +90 -0
- package/dist/esm/config/raw/resources.js.map +1 -0
- package/dist/esm/config/raw/tags.js +51 -0
- package/dist/esm/config/raw/tags.js.map +1 -0
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/generator/bitmark/BitmarkGenerator.js +59 -49
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/esm/generator/json/JsonGenerator.js +127 -89
- package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/info/InfoBuilder.js +63 -0
- package/dist/esm/info/InfoBuilder.js.map +1 -0
- package/dist/esm/init/init.js +1 -1
- package/dist/esm/model/ast/NodeType.js +2 -1
- package/dist/esm/model/ast/NodeType.js.map +1 -1
- package/dist/esm/model/config/AbstractTagConfig.js +15 -0
- package/dist/esm/model/config/AbstractTagConfig.js.map +1 -0
- package/dist/esm/model/config/BitConfig.js +63 -0
- package/dist/esm/model/config/BitConfig.js.map +1 -0
- package/dist/esm/model/config/CardSetConfig.js +23 -0
- package/dist/esm/model/config/CardSetConfig.js.map +1 -0
- package/dist/esm/model/config/CardVariantConfig.js +29 -0
- package/dist/esm/model/config/CardVariantConfig.js.map +1 -0
- package/dist/esm/model/config/MarkupTagConfig.js +38 -0
- package/dist/esm/model/config/MarkupTagConfig.js.map +1 -0
- package/dist/esm/model/config/PropertyTagConfig.js +47 -0
- package/dist/esm/model/config/PropertyTagConfig.js.map +1 -0
- package/dist/esm/model/config/ResourceTagConfig.js +39 -0
- package/dist/esm/model/config/ResourceTagConfig.js.map +1 -0
- package/dist/esm/model/config/ResourcesConfig.js +28 -0
- package/dist/esm/model/config/ResourcesConfig.js.map +1 -0
- package/dist/esm/model/config/TagConfig.js +2 -0
- package/dist/esm/model/config/TagConfig.js.map +1 -0
- package/dist/esm/model/config/TagsConfig.js +2 -0
- package/dist/esm/model/config/TagsConfig.js.map +1 -0
- package/dist/esm/model/config/TagsConfigWithInfo.js +2 -0
- package/dist/esm/model/config/TagsConfigWithInfo.js.map +1 -0
- package/dist/esm/model/config/_Config.js +2 -0
- package/dist/esm/model/config/_Config.js.map +1 -0
- package/dist/esm/model/config/enum/CardSetConfigKey.js +15 -0
- package/dist/esm/model/config/enum/CardSetConfigKey.js.map +1 -0
- package/dist/esm/model/config/enum/ConfigKey.js +170 -0
- package/dist/esm/model/config/enum/ConfigKey.js.map +1 -0
- package/dist/esm/model/config/enum/GroupConfigType.js +11 -0
- package/dist/esm/model/config/enum/GroupConfigType.js.map +1 -0
- package/dist/esm/model/enum/BitTagType.js +10 -0
- package/dist/esm/model/enum/BitTagType.js.map +1 -0
- package/dist/esm/model/enum/BitType.js +18 -299
- package/dist/esm/model/enum/BitType.js.map +1 -1
- package/dist/esm/model/enum/Count.js +6 -0
- package/dist/esm/model/enum/Count.js.map +1 -0
- package/dist/esm/model/enum/PropertyAstKey.js +16 -0
- package/dist/esm/model/enum/PropertyAstKey.js.map +1 -0
- package/dist/esm/model/enum/PropertyFormat.js +11 -0
- package/dist/esm/model/enum/PropertyFormat.js.map +1 -0
- package/dist/esm/model/enum/PropertyJsonKey.js +12 -0
- package/dist/esm/model/enum/PropertyJsonKey.js.map +1 -0
- package/dist/esm/model/enum/PropertyTag.js +86 -0
- package/dist/esm/model/enum/PropertyTag.js.map +1 -0
- package/dist/esm/model/enum/ResourceJsonKey.js +24 -0
- package/dist/esm/model/enum/ResourceJsonKey.js.map +1 -0
- package/dist/esm/model/enum/ResourceTag.js +30 -0
- package/dist/esm/model/enum/ResourceTag.js.map +1 -0
- package/dist/esm/model/enum/Tag.js +20 -0
- package/dist/esm/model/enum/Tag.js.map +1 -0
- package/dist/esm/model/info/enum/InfoFormat.js +8 -0
- package/dist/esm/model/info/enum/InfoFormat.js.map +1 -0
- package/dist/esm/model/info/enum/InfoType.js +9 -0
- package/dist/esm/model/info/enum/InfoType.js.map +1 -0
- package/dist/esm/model/parser/TagValidationData.js +2 -0
- package/dist/esm/model/parser/TagValidationData.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js +29 -26
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js +14 -13
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js +173 -143
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js +4 -5
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +20 -18
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js +9 -7
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js +13 -10
- package/dist/esm/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +12 -9
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +5 -3
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js +4 -4
- package/dist/esm/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +63 -45
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +42 -117
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +15 -15
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/json/JsonParser.js +44 -31
- package/dist/esm/parser/json/JsonParser.js.map +1 -1
- package/dist/esm/utils/BitUtils.js +0 -26
- package/dist/esm/utils/BitUtils.js.map +1 -1
- package/dist/esm/utils/StringUtils.js +10 -1
- package/dist/esm/utils/StringUtils.js.map +1 -1
- package/dist/types/BitmarkParserGenerator.d.ts +44 -0
- package/dist/types/BitmarkParserGenerator.d.ts.map +1 -1
- package/dist/types/ast/BaseBuilder.d.ts +2 -2
- package/dist/types/ast/BaseBuilder.d.ts.map +1 -1
- package/dist/types/ast/Builder.d.ts +3 -3
- package/dist/types/ast/Builder.d.ts.map +1 -1
- package/dist/types/ast/ResourceBuilder.d.ts +4 -77
- package/dist/types/ast/ResourceBuilder.d.ts.map +1 -1
- package/dist/types/ast/rules/NodeValidator.d.ts.map +1 -1
- package/dist/types/config/Config.d.ts +117 -0
- package/dist/types/config/Config.d.ts.map +1 -0
- package/dist/types/config/ConfigHydrator.d.ts +16 -0
- package/dist/types/config/ConfigHydrator.d.ts.map +1 -0
- package/dist/types/config/raw/bits.d.ts +4 -0
- package/dist/types/config/raw/bits.d.ts.map +1 -0
- package/dist/types/config/raw/cardSets.d.ts +4 -0
- package/dist/types/config/raw/cardSets.d.ts.map +1 -0
- package/dist/types/config/raw/groups.d.ts +4 -0
- package/dist/types/config/raw/groups.d.ts.map +1 -0
- package/dist/types/config/raw/properties.d.ts +4 -0
- package/dist/types/config/raw/properties.d.ts.map +1 -0
- package/dist/types/config/raw/resources.d.ts +4 -0
- package/dist/types/config/raw/resources.d.ts.map +1 -0
- package/dist/types/config/raw/tags.d.ts +4 -0
- package/dist/types/config/raw/tags.d.ts.map +1 -0
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +2 -1
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
- package/dist/types/generator/json/JsonGenerator.d.ts +10 -2
- package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/info/InfoBuilder.d.ts +19 -0
- package/dist/types/info/InfoBuilder.d.ts.map +1 -0
- package/dist/types/init/init.d.ts +1 -1
- package/dist/types/model/ast/NodeType.d.ts +4 -2
- package/dist/types/model/ast/NodeType.d.ts.map +1 -1
- package/dist/types/model/ast/Nodes.d.ts +5 -15
- package/dist/types/model/ast/Nodes.d.ts.map +1 -1
- package/dist/types/model/config/AbstractTagConfig.d.ts +24 -0
- package/dist/types/model/config/AbstractTagConfig.d.ts.map +1 -0
- package/dist/types/model/config/BitConfig.d.ts +28 -0
- package/dist/types/model/config/BitConfig.d.ts.map +1 -0
- package/dist/types/model/config/CardSetConfig.d.ts +14 -0
- package/dist/types/model/config/CardSetConfig.d.ts.map +1 -0
- package/dist/types/model/config/CardVariantConfig.d.ts +16 -0
- package/dist/types/model/config/CardVariantConfig.d.ts.map +1 -0
- package/dist/types/model/config/MarkupTagConfig.d.ts +17 -0
- package/dist/types/model/config/MarkupTagConfig.d.ts.map +1 -0
- package/dist/types/model/config/PropertyTagConfig.d.ts +23 -0
- package/dist/types/model/config/PropertyTagConfig.d.ts.map +1 -0
- package/dist/types/model/config/ResourceTagConfig.d.ts +18 -0
- package/dist/types/model/config/ResourceTagConfig.d.ts.map +1 -0
- package/dist/types/model/config/ResourcesConfig.d.ts +14 -0
- package/dist/types/model/config/ResourcesConfig.d.ts.map +1 -0
- package/dist/types/model/config/TagConfig.d.ts +5 -0
- package/dist/types/model/config/TagConfig.d.ts.map +1 -0
- package/dist/types/model/config/TagsConfig.d.ts +5 -0
- package/dist/types/model/config/TagsConfig.d.ts.map +1 -0
- package/dist/types/model/config/TagsConfigWithInfo.d.ts +9 -0
- package/dist/types/model/config/TagsConfigWithInfo.d.ts.map +1 -0
- package/dist/types/model/config/_Config.d.ts +118 -0
- package/dist/types/model/config/_Config.d.ts.map +1 -0
- package/dist/types/model/config/enum/CardSetConfigKey.d.ts +27 -0
- package/dist/types/model/config/enum/CardSetConfigKey.d.ts.map +1 -0
- package/dist/types/model/config/enum/ConfigKey.d.ts +325 -0
- package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -0
- package/dist/types/model/config/enum/GroupConfigType.d.ts +16 -0
- package/dist/types/model/config/enum/GroupConfigType.d.ts.map +1 -0
- package/dist/types/model/enum/BitTagType.d.ts +15 -0
- package/dist/types/model/enum/BitTagType.d.ts.map +1 -0
- package/dist/types/model/enum/BitType.d.ts +35 -51
- package/dist/types/model/enum/BitType.d.ts.map +1 -1
- package/dist/types/model/enum/Count.d.ts +7 -0
- package/dist/types/model/enum/Count.d.ts.map +1 -0
- package/dist/types/model/enum/PropertyAstKey.d.ts +24 -0
- package/dist/types/model/enum/PropertyAstKey.d.ts.map +1 -0
- package/dist/types/model/enum/PropertyFormat.d.ts +19 -0
- package/dist/types/model/enum/PropertyFormat.d.ts.map +1 -0
- package/dist/types/model/enum/PropertyJsonKey.d.ts +16 -0
- package/dist/types/model/enum/PropertyJsonKey.d.ts.map +1 -0
- package/dist/types/model/enum/PropertyTag.d.ts +169 -0
- package/dist/types/model/enum/PropertyTag.d.ts.map +1 -0
- package/dist/types/model/enum/ResourceJsonKey.d.ts +45 -0
- package/dist/types/model/enum/ResourceJsonKey.d.ts.map +1 -0
- package/dist/types/model/enum/ResourceTag.d.ts +57 -0
- package/dist/types/model/enum/ResourceTag.d.ts.map +1 -0
- package/dist/types/model/enum/Tag.d.ts +37 -0
- package/dist/types/model/enum/Tag.d.ts.map +1 -0
- package/dist/types/model/info/enum/InfoFormat.d.ts +13 -0
- package/dist/types/model/info/enum/InfoFormat.d.ts.map +1 -0
- package/dist/types/model/info/enum/InfoType.d.ts +15 -0
- package/dist/types/model/info/enum/InfoType.d.ts.map +1 -0
- package/dist/types/model/parser/TagValidationData.d.ts +24 -0
- package/dist/types/model/parser/TagValidationData.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/BitmarkPegParserHelper.d.ts +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts +3 -2
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts +28 -27
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts +27 -26
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.d.ts +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts +6 -5
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts +2 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/json/JsonParser.d.ts +1 -0
- package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
- package/dist/types/utils/BitUtils.d.ts +1 -12
- package/dist/types/utils/BitUtils.d.ts.map +1 -1
- package/dist/types/utils/StringUtils.d.ts +7 -0
- package/dist/types/utils/StringUtils.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/cjs/config/bits/_errorBitConfig.js +0 -10
- package/dist/cjs/config/bits/_errorBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/appFlashcardsBitConfig.js +0 -20
- package/dist/cjs/config/bits/appFlashcardsBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/appLinkBitConfig.js +0 -14
- package/dist/cjs/config/bits/appLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/articleBitConfig.js +0 -13
- package/dist/cjs/config/bits/articleBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/articleEmbedBitConfig.js +0 -14
- package/dist/cjs/config/bits/articleEmbedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/articleLinkBitConfig.js +0 -14
- package/dist/cjs/config/bits/articleLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/audioBitConfig.js +0 -14
- package/dist/cjs/config/bits/audioBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/audioEmbedBitConfig.js +0 -14
- package/dist/cjs/config/bits/audioEmbedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/audioLinkBitConfig.js +0 -14
- package/dist/cjs/config/bits/audioLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/bitAliasBitConfig.js +0 -12
- package/dist/cjs/config/bits/bitAliasBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/bookBitConfig.js +0 -17
- package/dist/cjs/config/bits/bookBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/botActionResponseBitConfig.js +0 -14
- package/dist/cjs/config/bits/botActionResponseBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/botActionSendBitConfig.js +0 -12
- package/dist/cjs/config/bits/botActionSendBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/browserImageBitConfig.js +0 -15
- package/dist/cjs/config/bits/browserImageBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/card1BitConfig.js +0 -12
- package/dist/cjs/config/bits/card1BitConfig.js.map +0 -1
- package/dist/cjs/config/bits/chapterBitConfig.js +0 -12
- package/dist/cjs/config/bits/chapterBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/clozeAndMultipleChoiceTextBitConfig.js +0 -13
- package/dist/cjs/config/bits/clozeAndMultipleChoiceTextBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/clozeBitConfig.js +0 -14
- package/dist/cjs/config/bits/clozeBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/codeBitConfig.js +0 -12
- package/dist/cjs/config/bits/codeBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/conversationBitConfig.js +0 -13
- package/dist/cjs/config/bits/conversationBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/documentBitConfig.js +0 -14
- package/dist/cjs/config/bits/documentBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/documentDownloadBitConfig.js +0 -14
- package/dist/cjs/config/bits/documentDownloadBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/documentEmbedBitConfig.js +0 -14
- package/dist/cjs/config/bits/documentEmbedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/documentLinkBitConfig.js +0 -14
- package/dist/cjs/config/bits/documentLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/essayBitConfig.js +0 -15
- package/dist/cjs/config/bits/essayBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/exampleBitConfig.js +0 -15
- package/dist/cjs/config/bits/exampleBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/flashcardBitConfig.js +0 -15
- package/dist/cjs/config/bits/flashcardBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/focusImageBitConfig.js +0 -15
- package/dist/cjs/config/bits/focusImageBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/generic/cardSetBitConfigs.js +0 -152
- package/dist/cjs/config/bits/generic/cardSetBitConfigs.js.map +0 -1
- package/dist/cjs/config/bits/generic/chainBitConfigs.js +0 -80
- package/dist/cjs/config/bits/generic/chainBitConfigs.js.map +0 -1
- package/dist/cjs/config/bits/generic/resourceChainBitConfigs.js +0 -195
- package/dist/cjs/config/bits/generic/resourceChainBitConfigs.js.map +0 -1
- package/dist/cjs/config/bits/generic/standardBitConfigs.js +0 -64
- package/dist/cjs/config/bits/generic/standardBitConfigs.js.map +0 -1
- package/dist/cjs/config/bits/highlightTextBitConfig.js +0 -13
- package/dist/cjs/config/bits/highlightTextBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/imageBitConfig.js +0 -14
- package/dist/cjs/config/bits/imageBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/imageLinkBitConfig.js +0 -14
- package/dist/cjs/config/bits/imageLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/imageOnDeviceBitConfig.js +0 -16
- package/dist/cjs/config/bits/imageOnDeviceBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/imageResponsiveBitConfig.js +0 -14
- package/dist/cjs/config/bits/imageResponsiveBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/internalLinkBitConfig.js +0 -12
- package/dist/cjs/config/bits/internalLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/interviewBitConfig.js +0 -15
- package/dist/cjs/config/bits/interviewBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/learningPathBitConfig.js +0 -42
- package/dist/cjs/config/bits/learningPathBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/markBitConfig.js +0 -13
- package/dist/cjs/config/bits/markBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/matchBitConfig.js +0 -36
- package/dist/cjs/config/bits/matchBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/multipleChoice1BitConfig.js +0 -13
- package/dist/cjs/config/bits/multipleChoice1BitConfig.js.map +0 -1
- package/dist/cjs/config/bits/multipleChoiceBitConfig.js +0 -16
- package/dist/cjs/config/bits/multipleChoiceBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/multipleChoiceTextBitConfig.js +0 -13
- package/dist/cjs/config/bits/multipleChoiceTextBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/multipleResponse1BitConfig.js +0 -13
- package/dist/cjs/config/bits/multipleResponse1BitConfig.js.map +0 -1
- package/dist/cjs/config/bits/multipleResponseBitConfig.js +0 -16
- package/dist/cjs/config/bits/multipleResponseBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/photoBitConfig.js +0 -14
- package/dist/cjs/config/bits/photoBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/quoteBitConfig.js +0 -12
- package/dist/cjs/config/bits/quoteBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/ratingBitConfig.js +0 -11
- package/dist/cjs/config/bits/ratingBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/releaseNoteBitConfig.js +0 -13
- package/dist/cjs/config/bits/releaseNoteBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/sampleSolutionBitConfig.js +0 -15
- package/dist/cjs/config/bits/sampleSolutionBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/screenshotBitConfig.js +0 -14
- package/dist/cjs/config/bits/screenshotBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/sequenceBitConfig.js +0 -17
- package/dist/cjs/config/bits/sequenceBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/stillImageFilmBitConfig.js +0 -14
- package/dist/cjs/config/bits/stillImageFilmBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/stillImageFilmEmbedBitConfig.js +0 -14
- package/dist/cjs/config/bits/stillImageFilmEmbedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/stillImageFilmLinkBitConfig.js +0 -14
- package/dist/cjs/config/bits/stillImageFilmLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/surveyAnonymousBitConfig.js +0 -12
- package/dist/cjs/config/bits/surveyAnonymousBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/surveyBitConfig.js +0 -12
- package/dist/cjs/config/bits/surveyBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/tocBitConfig.js +0 -11
- package/dist/cjs/config/bits/tocBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/trueFalse1BitConfig.js +0 -16
- package/dist/cjs/config/bits/trueFalse1BitConfig.js.map +0 -1
- package/dist/cjs/config/bits/trueFalseBitConfig.js +0 -16
- package/dist/cjs/config/bits/trueFalseBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/vendorPadletEmbedBitConfig.js +0 -12
- package/dist/cjs/config/bits/vendorPadletEmbedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/videoBitConfig.js +0 -14
- package/dist/cjs/config/bits/videoBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/videoEmbedBitConfig.js +0 -14
- package/dist/cjs/config/bits/videoEmbedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/videoLinkBitConfig.js +0 -14
- package/dist/cjs/config/bits/videoLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/websiteLinkBitConfig.js +0 -14
- package/dist/cjs/config/bits/websiteLinkBitConfig.js.map +0 -1
- package/dist/cjs/config/config.js +0 -133
- package/dist/cjs/config/config.js.map +0 -1
- package/dist/cjs/config/properties/actionPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/actionPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/ageRangePropertyConfig.js +0 -8
- package/dist/cjs/config/properties/ageRangePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/aiGeneratedPropertyConfig.js +0 -11
- package/dist/cjs/config/properties/aiGeneratedPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/authorPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/authorPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/bookPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/bookPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/botPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/botPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/caseSensitivePropertyConfig.js +0 -11
- package/dist/cjs/config/properties/caseSensitivePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/colorPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/colorPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/colorTagPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/colorTagPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/computerLanguagePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/computerLanguagePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/coverImagePropertyConfig.js +0 -8
- package/dist/cjs/config/properties/coverImagePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/datePropertyConfig.js +0 -8
- package/dist/cjs/config/properties/datePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/deeplinkPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/deeplinkPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/durationPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/durationPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/examplePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/examplePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/externalIdPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/externalIdPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/externalLinkPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/externalLinkPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/externalLinkTextPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/externalLinkTextPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/flashcardSetPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/flashcardSetPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/focusXPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/focusXPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/focusYPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/focusYPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/formatPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/formatPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/iconPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/iconPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/iconTagPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/iconTagPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/idPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/idPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/imageSourcePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/imageSourcePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/indicationPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/indicationPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/isInfoOnlyPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/isInfoOnlyPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/isTrackedPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/isTrackedPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/kindPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/kindPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/labelFalsePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/labelFalsePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/labelTruePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/labelTruePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/languagePropertyConfig.js +0 -8
- package/dist/cjs/config/properties/languagePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/levelPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/levelPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/listPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/listPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/locationPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/locationPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/longAnswerPropertyConfig.js +0 -11
- package/dist/cjs/config/properties/longAnswerPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/markPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/markPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/mockupIdPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/mockupIdPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/padletIdPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/padletIdPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/partialAnswerPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/partialAnswerPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/partnerPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/partnerPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/progressPropertyConfig.js +0 -10
- package/dist/cjs/config/properties/progressPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/publicationsPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/publicationsPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/publisherPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/publisherPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/quotedPersonPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/quotedPersonPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/reactionPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/reactionPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/referencePropertyConfig.js +0 -10
- package/dist/cjs/config/properties/referencePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/releaseVersionPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/releaseVersionPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/resourcePropertyConfig.js +0 -78
- package/dist/cjs/config/properties/resourcePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/sampleSolutionPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/sampleSolutionPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/shortAnswerPropertyConfig.js +0 -11
- package/dist/cjs/config/properties/shortAnswerPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/sizePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/sizePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/spaceIdPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/spaceIdPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/subjectPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/subjectPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/subtypePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/subtypePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/tagPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/tagPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/targetPropertyConfig.js +0 -8
- package/dist/cjs/config/properties/targetPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/textReferencePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/textReferencePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/themePropertyConfig.js +0 -8
- package/dist/cjs/config/properties/themePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/thumbImagePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/thumbImagePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/tocPropertyConfig.js +0 -10
- package/dist/cjs/config/properties/tocPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/trimPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/trimPropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/typePropertyConfig.js +0 -9
- package/dist/cjs/config/properties/typePropertyConfig.js.map +0 -1
- package/dist/cjs/config/properties/videoCallLinkPropertyConfig copy.js +0 -9
- package/dist/cjs/config/properties/videoCallLinkPropertyConfig copy.js.map +0 -1
- package/dist/cjs/config/properties/videoCallLinkPropertyConfig.js +0 -9
- package/dist/cjs/config/properties/videoCallLinkPropertyConfig.js.map +0 -1
- package/dist/cjs/model/config/TagData.js +0 -6
- package/dist/cjs/model/config/TagData.js.map +0 -1
- package/dist/cjs/model/enum/CardSetType.js +0 -16
- package/dist/cjs/model/enum/CardSetType.js.map +0 -1
- package/dist/cjs/model/enum/PropertyKey.js +0 -93
- package/dist/cjs/model/enum/PropertyKey.js.map +0 -1
- package/dist/cjs/model/enum/ResourceType.js +0 -34
- package/dist/cjs/model/enum/ResourceType.js.map +0 -1
- package/dist/cjs/model/enum/TagType.js +0 -23
- package/dist/cjs/model/enum/TagType.js.map +0 -1
- package/dist/esm/config/bits/_errorBitConfig.js +0 -8
- package/dist/esm/config/bits/_errorBitConfig.js.map +0 -1
- package/dist/esm/config/bits/appFlashcardsBitConfig.js +0 -18
- package/dist/esm/config/bits/appFlashcardsBitConfig.js.map +0 -1
- package/dist/esm/config/bits/appLinkBitConfig.js +0 -12
- package/dist/esm/config/bits/appLinkBitConfig.js.map +0 -1
- package/dist/esm/config/bits/articleBitConfig.js +0 -11
- package/dist/esm/config/bits/articleBitConfig.js.map +0 -1
- package/dist/esm/config/bits/articleEmbedBitConfig.js +0 -12
- package/dist/esm/config/bits/articleEmbedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/articleLinkBitConfig.js +0 -12
- package/dist/esm/config/bits/articleLinkBitConfig.js.map +0 -1
- package/dist/esm/config/bits/audioBitConfig.js +0 -12
- package/dist/esm/config/bits/audioBitConfig.js.map +0 -1
- package/dist/esm/config/bits/audioEmbedBitConfig.js +0 -12
- package/dist/esm/config/bits/audioEmbedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/audioLinkBitConfig.js +0 -12
- package/dist/esm/config/bits/audioLinkBitConfig.js.map +0 -1
- package/dist/esm/config/bits/bitAliasBitConfig.js +0 -10
- package/dist/esm/config/bits/bitAliasBitConfig.js.map +0 -1
- package/dist/esm/config/bits/bookBitConfig.js +0 -15
- package/dist/esm/config/bits/bookBitConfig.js.map +0 -1
- package/dist/esm/config/bits/botActionResponseBitConfig.js +0 -12
- package/dist/esm/config/bits/botActionResponseBitConfig.js.map +0 -1
- package/dist/esm/config/bits/botActionSendBitConfig.js +0 -10
- package/dist/esm/config/bits/botActionSendBitConfig.js.map +0 -1
- package/dist/esm/config/bits/browserImageBitConfig.js +0 -13
- package/dist/esm/config/bits/browserImageBitConfig.js.map +0 -1
- package/dist/esm/config/bits/card1BitConfig.js +0 -10
- package/dist/esm/config/bits/card1BitConfig.js.map +0 -1
- package/dist/esm/config/bits/chapterBitConfig.js +0 -10
- package/dist/esm/config/bits/chapterBitConfig.js.map +0 -1
- package/dist/esm/config/bits/clozeAndMultipleChoiceTextBitConfig.js +0 -11
- package/dist/esm/config/bits/clozeAndMultipleChoiceTextBitConfig.js.map +0 -1
- package/dist/esm/config/bits/clozeBitConfig.js +0 -12
- package/dist/esm/config/bits/clozeBitConfig.js.map +0 -1
- package/dist/esm/config/bits/codeBitConfig.js +0 -10
- package/dist/esm/config/bits/codeBitConfig.js.map +0 -1
- package/dist/esm/config/bits/conversationBitConfig.js +0 -11
- package/dist/esm/config/bits/conversationBitConfig.js.map +0 -1
- package/dist/esm/config/bits/documentBitConfig.js +0 -12
- package/dist/esm/config/bits/documentBitConfig.js.map +0 -1
- package/dist/esm/config/bits/documentDownloadBitConfig.js +0 -12
- package/dist/esm/config/bits/documentDownloadBitConfig.js.map +0 -1
- package/dist/esm/config/bits/documentEmbedBitConfig.js +0 -12
- package/dist/esm/config/bits/documentEmbedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/documentLinkBitConfig.js +0 -12
- package/dist/esm/config/bits/documentLinkBitConfig.js.map +0 -1
- package/dist/esm/config/bits/essayBitConfig.js +0 -13
- package/dist/esm/config/bits/essayBitConfig.js.map +0 -1
- package/dist/esm/config/bits/exampleBitConfig.js +0 -13
- package/dist/esm/config/bits/exampleBitConfig.js.map +0 -1
- package/dist/esm/config/bits/flashcardBitConfig.js +0 -13
- package/dist/esm/config/bits/flashcardBitConfig.js.map +0 -1
- package/dist/esm/config/bits/focusImageBitConfig.js +0 -13
- package/dist/esm/config/bits/focusImageBitConfig.js.map +0 -1
- package/dist/esm/config/bits/generic/cardSetBitConfigs.js +0 -140
- package/dist/esm/config/bits/generic/cardSetBitConfigs.js.map +0 -1
- package/dist/esm/config/bits/generic/chainBitConfigs.js +0 -72
- package/dist/esm/config/bits/generic/chainBitConfigs.js.map +0 -1
- package/dist/esm/config/bits/generic/resourceChainBitConfigs.js +0 -170
- package/dist/esm/config/bits/generic/resourceChainBitConfigs.js.map +0 -1
- package/dist/esm/config/bits/generic/standardBitConfigs.js +0 -58
- package/dist/esm/config/bits/generic/standardBitConfigs.js.map +0 -1
- package/dist/esm/config/bits/highlightTextBitConfig.js +0 -11
- package/dist/esm/config/bits/highlightTextBitConfig.js.map +0 -1
- package/dist/esm/config/bits/imageBitConfig.js +0 -12
- package/dist/esm/config/bits/imageBitConfig.js.map +0 -1
- package/dist/esm/config/bits/imageLinkBitConfig.js +0 -12
- package/dist/esm/config/bits/imageLinkBitConfig.js.map +0 -1
- package/dist/esm/config/bits/imageOnDeviceBitConfig.js +0 -14
- package/dist/esm/config/bits/imageOnDeviceBitConfig.js.map +0 -1
- package/dist/esm/config/bits/imageResponsiveBitConfig.js +0 -12
- package/dist/esm/config/bits/imageResponsiveBitConfig.js.map +0 -1
- package/dist/esm/config/bits/internalLinkBitConfig.js +0 -10
- package/dist/esm/config/bits/internalLinkBitConfig.js.map +0 -1
- package/dist/esm/config/bits/interviewBitConfig.js +0 -13
- package/dist/esm/config/bits/interviewBitConfig.js.map +0 -1
- package/dist/esm/config/bits/learningPathBitConfig.js +0 -40
- package/dist/esm/config/bits/learningPathBitConfig.js.map +0 -1
- package/dist/esm/config/bits/markBitConfig.js +0 -11
- package/dist/esm/config/bits/markBitConfig.js.map +0 -1
- package/dist/esm/config/bits/matchBitConfig.js +0 -34
- package/dist/esm/config/bits/matchBitConfig.js.map +0 -1
- package/dist/esm/config/bits/multipleChoice1BitConfig.js +0 -11
- package/dist/esm/config/bits/multipleChoice1BitConfig.js.map +0 -1
- package/dist/esm/config/bits/multipleChoiceBitConfig.js +0 -14
- package/dist/esm/config/bits/multipleChoiceBitConfig.js.map +0 -1
- package/dist/esm/config/bits/multipleChoiceTextBitConfig.js +0 -11
- package/dist/esm/config/bits/multipleChoiceTextBitConfig.js.map +0 -1
- package/dist/esm/config/bits/multipleResponse1BitConfig.js +0 -11
- package/dist/esm/config/bits/multipleResponse1BitConfig.js.map +0 -1
- package/dist/esm/config/bits/multipleResponseBitConfig.js +0 -14
- package/dist/esm/config/bits/multipleResponseBitConfig.js.map +0 -1
- package/dist/esm/config/bits/photoBitConfig.js +0 -12
- package/dist/esm/config/bits/photoBitConfig.js.map +0 -1
- package/dist/esm/config/bits/quoteBitConfig.js +0 -10
- package/dist/esm/config/bits/quoteBitConfig.js.map +0 -1
- package/dist/esm/config/bits/ratingBitConfig.js +0 -9
- package/dist/esm/config/bits/ratingBitConfig.js.map +0 -1
- package/dist/esm/config/bits/releaseNoteBitConfig.js +0 -11
- package/dist/esm/config/bits/releaseNoteBitConfig.js.map +0 -1
- package/dist/esm/config/bits/sampleSolutionBitConfig.js +0 -13
- package/dist/esm/config/bits/sampleSolutionBitConfig.js.map +0 -1
- package/dist/esm/config/bits/screenshotBitConfig.js +0 -12
- package/dist/esm/config/bits/screenshotBitConfig.js.map +0 -1
- package/dist/esm/config/bits/sequenceBitConfig.js +0 -15
- package/dist/esm/config/bits/sequenceBitConfig.js.map +0 -1
- package/dist/esm/config/bits/stillImageFilmBitConfig.js +0 -12
- package/dist/esm/config/bits/stillImageFilmBitConfig.js.map +0 -1
- package/dist/esm/config/bits/stillImageFilmEmbedBitConfig.js +0 -12
- package/dist/esm/config/bits/stillImageFilmEmbedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/stillImageFilmLinkBitConfig.js +0 -12
- package/dist/esm/config/bits/stillImageFilmLinkBitConfig.js.map +0 -1
- package/dist/esm/config/bits/surveyAnonymousBitConfig.js +0 -10
- package/dist/esm/config/bits/surveyAnonymousBitConfig.js.map +0 -1
- package/dist/esm/config/bits/surveyBitConfig.js +0 -10
- package/dist/esm/config/bits/surveyBitConfig.js.map +0 -1
- package/dist/esm/config/bits/tocBitConfig.js +0 -9
- package/dist/esm/config/bits/tocBitConfig.js.map +0 -1
- package/dist/esm/config/bits/trueFalse1BitConfig.js +0 -14
- package/dist/esm/config/bits/trueFalse1BitConfig.js.map +0 -1
- package/dist/esm/config/bits/trueFalseBitConfig.js +0 -14
- package/dist/esm/config/bits/trueFalseBitConfig.js.map +0 -1
- package/dist/esm/config/bits/vendorPadletEmbedBitConfig.js +0 -10
- package/dist/esm/config/bits/vendorPadletEmbedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/videoBitConfig.js +0 -12
- package/dist/esm/config/bits/videoBitConfig.js.map +0 -1
- package/dist/esm/config/bits/videoEmbedBitConfig.js +0 -12
- package/dist/esm/config/bits/videoEmbedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/videoLinkBitConfig.js +0 -12
- package/dist/esm/config/bits/videoLinkBitConfig.js.map +0 -1
- package/dist/esm/config/bits/websiteLinkBitConfig.js +0 -12
- package/dist/esm/config/bits/websiteLinkBitConfig.js.map +0 -1
- package/dist/esm/config/config.js +0 -131
- package/dist/esm/config/config.js.map +0 -1
- package/dist/esm/config/properties/actionPropertyConfig.js +0 -7
- package/dist/esm/config/properties/actionPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/ageRangePropertyConfig.js +0 -6
- package/dist/esm/config/properties/ageRangePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/aiGeneratedPropertyConfig.js +0 -9
- package/dist/esm/config/properties/aiGeneratedPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/authorPropertyConfig.js +0 -6
- package/dist/esm/config/properties/authorPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/bookPropertyConfig.js +0 -7
- package/dist/esm/config/properties/bookPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/botPropertyConfig.js +0 -6
- package/dist/esm/config/properties/botPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/caseSensitivePropertyConfig.js +0 -9
- package/dist/esm/config/properties/caseSensitivePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/colorPropertyConfig.js +0 -7
- package/dist/esm/config/properties/colorPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/colorTagPropertyConfig.js +0 -6
- package/dist/esm/config/properties/colorTagPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/computerLanguagePropertyConfig.js +0 -7
- package/dist/esm/config/properties/computerLanguagePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/coverImagePropertyConfig.js +0 -6
- package/dist/esm/config/properties/coverImagePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/datePropertyConfig.js +0 -6
- package/dist/esm/config/properties/datePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/deeplinkPropertyConfig.js +0 -6
- package/dist/esm/config/properties/deeplinkPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/durationPropertyConfig.js +0 -7
- package/dist/esm/config/properties/durationPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/examplePropertyConfig.js +0 -7
- package/dist/esm/config/properties/examplePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/externalIdPropertyConfig.js +0 -6
- package/dist/esm/config/properties/externalIdPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/externalLinkPropertyConfig.js +0 -7
- package/dist/esm/config/properties/externalLinkPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/externalLinkTextPropertyConfig.js +0 -7
- package/dist/esm/config/properties/externalLinkTextPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/flashcardSetPropertyConfig.js +0 -6
- package/dist/esm/config/properties/flashcardSetPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/focusXPropertyConfig.js +0 -7
- package/dist/esm/config/properties/focusXPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/focusYPropertyConfig.js +0 -7
- package/dist/esm/config/properties/focusYPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/formatPropertyConfig.js +0 -7
- package/dist/esm/config/properties/formatPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/iconPropertyConfig.js +0 -7
- package/dist/esm/config/properties/iconPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/iconTagPropertyConfig.js +0 -7
- package/dist/esm/config/properties/iconTagPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/idPropertyConfig.js +0 -6
- package/dist/esm/config/properties/idPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/imageSourcePropertyConfig.js +0 -7
- package/dist/esm/config/properties/imageSourcePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/indicationPropertyConfig.js +0 -7
- package/dist/esm/config/properties/indicationPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/isInfoOnlyPropertyConfig.js +0 -7
- package/dist/esm/config/properties/isInfoOnlyPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/isTrackedPropertyConfig.js +0 -7
- package/dist/esm/config/properties/isTrackedPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/kindPropertyConfig.js +0 -7
- package/dist/esm/config/properties/kindPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/labelFalsePropertyConfig.js +0 -7
- package/dist/esm/config/properties/labelFalsePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/labelTruePropertyConfig.js +0 -7
- package/dist/esm/config/properties/labelTruePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/languagePropertyConfig.js +0 -6
- package/dist/esm/config/properties/languagePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/levelPropertyConfig.js +0 -7
- package/dist/esm/config/properties/levelPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/listPropertyConfig.js +0 -6
- package/dist/esm/config/properties/listPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/locationPropertyConfig.js +0 -7
- package/dist/esm/config/properties/locationPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/longAnswerPropertyConfig.js +0 -9
- package/dist/esm/config/properties/longAnswerPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/markPropertyConfig.js +0 -6
- package/dist/esm/config/properties/markPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/mockupIdPropertyConfig.js +0 -7
- package/dist/esm/config/properties/mockupIdPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/padletIdPropertyConfig.js +0 -7
- package/dist/esm/config/properties/padletIdPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/partialAnswerPropertyConfig.js +0 -7
- package/dist/esm/config/properties/partialAnswerPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/partnerPropertyConfig.js +0 -7
- package/dist/esm/config/properties/partnerPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/progressPropertyConfig.js +0 -8
- package/dist/esm/config/properties/progressPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/publicationsPropertyConfig.js +0 -6
- package/dist/esm/config/properties/publicationsPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/publisherPropertyConfig.js +0 -6
- package/dist/esm/config/properties/publisherPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/quotedPersonPropertyConfig.js +0 -7
- package/dist/esm/config/properties/quotedPersonPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/reactionPropertyConfig.js +0 -7
- package/dist/esm/config/properties/reactionPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/referencePropertyConfig.js +0 -8
- package/dist/esm/config/properties/referencePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/releaseVersionPropertyConfig.js +0 -7
- package/dist/esm/config/properties/releaseVersionPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/resourcePropertyConfig.js +0 -76
- package/dist/esm/config/properties/resourcePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/sampleSolutionPropertyConfig.js +0 -7
- package/dist/esm/config/properties/sampleSolutionPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/shortAnswerPropertyConfig.js +0 -9
- package/dist/esm/config/properties/shortAnswerPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/sizePropertyConfig.js +0 -7
- package/dist/esm/config/properties/sizePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/spaceIdPropertyConfig.js +0 -6
- package/dist/esm/config/properties/spaceIdPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/subjectPropertyConfig.js +0 -6
- package/dist/esm/config/properties/subjectPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/subtypePropertyConfig.js +0 -7
- package/dist/esm/config/properties/subtypePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/tagPropertyConfig.js +0 -6
- package/dist/esm/config/properties/tagPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/targetPropertyConfig.js +0 -6
- package/dist/esm/config/properties/targetPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/textReferencePropertyConfig.js +0 -7
- package/dist/esm/config/properties/textReferencePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/themePropertyConfig.js +0 -6
- package/dist/esm/config/properties/themePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/thumbImagePropertyConfig.js +0 -7
- package/dist/esm/config/properties/thumbImagePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/tocPropertyConfig.js +0 -8
- package/dist/esm/config/properties/tocPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/trimPropertyConfig.js +0 -7
- package/dist/esm/config/properties/trimPropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/typePropertyConfig.js +0 -7
- package/dist/esm/config/properties/typePropertyConfig.js.map +0 -1
- package/dist/esm/config/properties/videoCallLinkPropertyConfig copy.js +0 -7
- package/dist/esm/config/properties/videoCallLinkPropertyConfig copy.js.map +0 -1
- package/dist/esm/config/properties/videoCallLinkPropertyConfig.js +0 -7
- package/dist/esm/config/properties/videoCallLinkPropertyConfig.js.map +0 -1
- package/dist/esm/model/config/TagData.js +0 -3
- package/dist/esm/model/config/TagData.js.map +0 -1
- package/dist/esm/model/enum/CardSetType.js +0 -13
- package/dist/esm/model/enum/CardSetType.js.map +0 -1
- package/dist/esm/model/enum/PropertyKey.js +0 -90
- package/dist/esm/model/enum/PropertyKey.js.map +0 -1
- package/dist/esm/model/enum/ResourceType.js +0 -31
- package/dist/esm/model/enum/ResourceType.js.map +0 -1
- package/dist/esm/model/enum/TagType.js +0 -20
- package/dist/esm/model/enum/TagType.js.map +0 -1
- package/dist/types/config/bits/_errorBitConfig.d.ts +0 -2
- package/dist/types/config/bits/_errorBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/appFlashcardsBitConfig.d.ts +0 -2
- package/dist/types/config/bits/appFlashcardsBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/appLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/appLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/articleBitConfig.d.ts +0 -2
- package/dist/types/config/bits/articleBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/articleEmbedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/articleEmbedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/articleLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/articleLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/audioBitConfig.d.ts +0 -2
- package/dist/types/config/bits/audioBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/audioEmbedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/audioEmbedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/audioLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/audioLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/bitAliasBitConfig.d.ts +0 -2
- package/dist/types/config/bits/bitAliasBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/bookBitConfig.d.ts +0 -2
- package/dist/types/config/bits/bookBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/botActionResponseBitConfig.d.ts +0 -2
- package/dist/types/config/bits/botActionResponseBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/botActionSendBitConfig.d.ts +0 -2
- package/dist/types/config/bits/botActionSendBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/browserImageBitConfig.d.ts +0 -2
- package/dist/types/config/bits/browserImageBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/card1BitConfig.d.ts +0 -2
- package/dist/types/config/bits/card1BitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/chapterBitConfig.d.ts +0 -2
- package/dist/types/config/bits/chapterBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/clozeAndMultipleChoiceTextBitConfig.d.ts +0 -2
- package/dist/types/config/bits/clozeAndMultipleChoiceTextBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/clozeBitConfig.d.ts +0 -2
- package/dist/types/config/bits/clozeBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/codeBitConfig.d.ts +0 -2
- package/dist/types/config/bits/codeBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/conversationBitConfig.d.ts +0 -2
- package/dist/types/config/bits/conversationBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/documentBitConfig.d.ts +0 -2
- package/dist/types/config/bits/documentBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/documentDownloadBitConfig.d.ts +0 -2
- package/dist/types/config/bits/documentDownloadBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/documentEmbedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/documentEmbedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/documentLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/documentLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/essayBitConfig.d.ts +0 -2
- package/dist/types/config/bits/essayBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/exampleBitConfig.d.ts +0 -2
- package/dist/types/config/bits/exampleBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/flashcardBitConfig.d.ts +0 -2
- package/dist/types/config/bits/flashcardBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/focusImageBitConfig.d.ts +0 -2
- package/dist/types/config/bits/focusImageBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/generic/cardSetBitConfigs.d.ts +0 -13
- package/dist/types/config/bits/generic/cardSetBitConfigs.d.ts.map +0 -1
- package/dist/types/config/bits/generic/chainBitConfigs.d.ts +0 -9
- package/dist/types/config/bits/generic/chainBitConfigs.d.ts.map +0 -1
- package/dist/types/config/bits/generic/resourceChainBitConfigs.d.ts +0 -26
- package/dist/types/config/bits/generic/resourceChainBitConfigs.d.ts.map +0 -1
- package/dist/types/config/bits/generic/standardBitConfigs.d.ts +0 -7
- package/dist/types/config/bits/generic/standardBitConfigs.d.ts.map +0 -1
- package/dist/types/config/bits/highlightTextBitConfig.d.ts +0 -2
- package/dist/types/config/bits/highlightTextBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/imageBitConfig.d.ts +0 -2
- package/dist/types/config/bits/imageBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/imageLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/imageLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/imageOnDeviceBitConfig.d.ts +0 -2
- package/dist/types/config/bits/imageOnDeviceBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/imageResponsiveBitConfig.d.ts +0 -2
- package/dist/types/config/bits/imageResponsiveBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/internalLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/internalLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/interviewBitConfig.d.ts +0 -2
- package/dist/types/config/bits/interviewBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/learningPathBitConfig.d.ts +0 -2
- package/dist/types/config/bits/learningPathBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/markBitConfig.d.ts +0 -2
- package/dist/types/config/bits/markBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/matchBitConfig.d.ts +0 -2
- package/dist/types/config/bits/matchBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/multipleChoice1BitConfig.d.ts +0 -2
- package/dist/types/config/bits/multipleChoice1BitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/multipleChoiceBitConfig.d.ts +0 -2
- package/dist/types/config/bits/multipleChoiceBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/multipleChoiceTextBitConfig.d.ts +0 -2
- package/dist/types/config/bits/multipleChoiceTextBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/multipleResponse1BitConfig.d.ts +0 -2
- package/dist/types/config/bits/multipleResponse1BitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/multipleResponseBitConfig.d.ts +0 -2
- package/dist/types/config/bits/multipleResponseBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/photoBitConfig.d.ts +0 -2
- package/dist/types/config/bits/photoBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/quoteBitConfig.d.ts +0 -2
- package/dist/types/config/bits/quoteBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/ratingBitConfig.d.ts +0 -2
- package/dist/types/config/bits/ratingBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/releaseNoteBitConfig.d.ts +0 -2
- package/dist/types/config/bits/releaseNoteBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/sampleSolutionBitConfig.d.ts +0 -2
- package/dist/types/config/bits/sampleSolutionBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/screenshotBitConfig.d.ts +0 -2
- package/dist/types/config/bits/screenshotBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/sequenceBitConfig.d.ts +0 -2
- package/dist/types/config/bits/sequenceBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/stillImageFilmBitConfig.d.ts +0 -2
- package/dist/types/config/bits/stillImageFilmBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/stillImageFilmEmbedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/stillImageFilmEmbedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/stillImageFilmLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/stillImageFilmLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/surveyAnonymousBitConfig.d.ts +0 -2
- package/dist/types/config/bits/surveyAnonymousBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/surveyBitConfig.d.ts +0 -2
- package/dist/types/config/bits/surveyBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/tocBitConfig.d.ts +0 -2
- package/dist/types/config/bits/tocBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/trueFalse1BitConfig.d.ts +0 -2
- package/dist/types/config/bits/trueFalse1BitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/trueFalseBitConfig.d.ts +0 -2
- package/dist/types/config/bits/trueFalseBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/vendorPadletEmbedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/vendorPadletEmbedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/videoBitConfig.d.ts +0 -2
- package/dist/types/config/bits/videoBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/videoEmbedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/videoEmbedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/videoLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/videoLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/websiteLinkBitConfig.d.ts +0 -2
- package/dist/types/config/bits/websiteLinkBitConfig.d.ts.map +0 -1
- package/dist/types/config/config.d.ts +0 -129
- package/dist/types/config/config.d.ts.map +0 -1
- package/dist/types/config/properties/actionPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/actionPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/ageRangePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/ageRangePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/aiGeneratedPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/aiGeneratedPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/authorPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/authorPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/bookPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/bookPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/botPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/botPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/caseSensitivePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/caseSensitivePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/colorPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/colorPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/colorTagPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/colorTagPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/computerLanguagePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/computerLanguagePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/coverImagePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/coverImagePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/datePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/datePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/deeplinkPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/deeplinkPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/durationPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/durationPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/examplePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/examplePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/externalIdPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/externalIdPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/externalLinkPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/externalLinkPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/externalLinkTextPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/externalLinkTextPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/flashcardSetPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/flashcardSetPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/focusXPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/focusXPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/focusYPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/focusYPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/formatPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/formatPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/iconPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/iconPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/iconTagPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/iconTagPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/idPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/idPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/imageSourcePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/imageSourcePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/indicationPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/indicationPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/isInfoOnlyPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/isInfoOnlyPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/isTrackedPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/isTrackedPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/kindPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/kindPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/labelFalsePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/labelFalsePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/labelTruePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/labelTruePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/languagePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/languagePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/levelPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/levelPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/listPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/listPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/locationPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/locationPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/longAnswerPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/longAnswerPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/markPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/markPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/mockupIdPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/mockupIdPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/padletIdPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/padletIdPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/partialAnswerPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/partialAnswerPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/partnerPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/partnerPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/progressPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/progressPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/publicationsPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/publicationsPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/publisherPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/publisherPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/quotedPersonPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/quotedPersonPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/reactionPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/reactionPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/referencePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/referencePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/releaseVersionPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/releaseVersionPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/resourcePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/resourcePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/sampleSolutionPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/sampleSolutionPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/shortAnswerPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/shortAnswerPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/sizePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/sizePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/spaceIdPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/spaceIdPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/subjectPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/subjectPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/subtypePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/subtypePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/tagPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/tagPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/targetPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/targetPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/textReferencePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/textReferencePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/themePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/themePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/thumbImagePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/thumbImagePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/tocPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/tocPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/trimPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/trimPropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/typePropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/typePropertyConfig.d.ts.map +0 -1
- package/dist/types/config/properties/videoCallLinkPropertyConfig copy.d.ts +0 -2
- package/dist/types/config/properties/videoCallLinkPropertyConfig copy.d.ts.map +0 -1
- package/dist/types/config/properties/videoCallLinkPropertyConfig.d.ts +0 -2
- package/dist/types/config/properties/videoCallLinkPropertyConfig.d.ts.map +0 -1
- package/dist/types/model/config/TagData.d.ts +0 -14
- package/dist/types/model/config/TagData.d.ts.map +0 -1
- package/dist/types/model/enum/CardSetType.d.ts +0 -23
- package/dist/types/model/enum/CardSetType.d.ts.map +0 -1
- package/dist/types/model/enum/PropertyKey.d.ts +0 -180
- package/dist/types/model/enum/PropertyKey.d.ts.map +0 -1
- package/dist/types/model/enum/ResourceType.d.ts +0 -85
- package/dist/types/model/enum/ResourceType.d.ts.map +0 -1
- package/dist/types/model/enum/TagType.d.ts +0 -37
- package/dist/types/model/enum/TagType.d.ts.map +0 -1
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Config = void 0;
|
|
4
|
+
const BitConfig_1 = require("../model/config/BitConfig");
|
|
5
|
+
const ResourceTagConfig_1 = require("../model/config/ResourceTagConfig");
|
|
6
|
+
const ResourcesConfig_1 = require("../model/config/ResourcesConfig");
|
|
7
|
+
const GroupConfigType_1 = require("../model/config/enum/GroupConfigType");
|
|
8
|
+
const BitTagType_1 = require("../model/enum/BitTagType");
|
|
9
|
+
const ConfigHydrator_1 = require("./ConfigHydrator");
|
|
10
|
+
const bits_1 = require("./raw/bits");
|
|
11
|
+
const groups_1 = require("./raw/groups");
|
|
12
|
+
const properties_1 = require("./raw/properties");
|
|
13
|
+
const BitType_1 = require("../model/enum/BitType");
|
|
14
|
+
class Config {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.bitTypeAliasMap = new Map();
|
|
17
|
+
this.bitCache = new Map();
|
|
18
|
+
this.comboResourcesCache = new Map();
|
|
19
|
+
// Build the bitTypeAliasMap
|
|
20
|
+
this.buildBitTypeAliasMap();
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Return the bitType (root and alias types) given a root or alias bit type
|
|
24
|
+
*
|
|
25
|
+
* If the bit type is not found, the returned bitType will contain the _error bit type
|
|
26
|
+
*
|
|
27
|
+
* @param aliasOrRootBitType bit type in (root or alias, may be invalid)
|
|
28
|
+
* @returns valid bitType (root and alias types) which will contain _error bit types if the bit type is invalid
|
|
29
|
+
*/
|
|
30
|
+
getBitType(aliasOrRootBitType) {
|
|
31
|
+
const alias = this.getAliasedBitType(aliasOrRootBitType);
|
|
32
|
+
const root = this.getRootBitType(alias);
|
|
33
|
+
return {
|
|
34
|
+
alias,
|
|
35
|
+
root,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Get the configuration for a bit.
|
|
40
|
+
*
|
|
41
|
+
* @param bitType
|
|
42
|
+
* @returns the bit configuration
|
|
43
|
+
*/
|
|
44
|
+
getBitConfig(bitType) {
|
|
45
|
+
var _a;
|
|
46
|
+
let bitConfig = this.bitCache.get(bitType.alias);
|
|
47
|
+
if (!bitConfig) {
|
|
48
|
+
const throwNotFoundError = () => {
|
|
49
|
+
throw new Error(`No config found for bit: ALIAS:${bitType.alias}, ROOT:${bitType.root}`);
|
|
50
|
+
};
|
|
51
|
+
const _bitConfig = bits_1.BITS[bitType.root];
|
|
52
|
+
if (!_bitConfig)
|
|
53
|
+
throwNotFoundError();
|
|
54
|
+
const isAlias = bitType.root !== bitType.alias;
|
|
55
|
+
let alias;
|
|
56
|
+
if (isAlias) {
|
|
57
|
+
// Looking up an alias
|
|
58
|
+
if (_bitConfig.aliases) {
|
|
59
|
+
alias = _bitConfig.aliases[bitType.alias];
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (isAlias && !alias)
|
|
63
|
+
throwNotFoundError();
|
|
64
|
+
// Extract alias specific config that overrides the root config
|
|
65
|
+
const { since, deprecated } = alias ? alias : _bitConfig;
|
|
66
|
+
// Get bit aliases
|
|
67
|
+
const aliases = _bitConfig.aliases
|
|
68
|
+
? Object.keys(_bitConfig.aliases).map((t) => BitType_1.AliasBitType.fromValue(t))
|
|
69
|
+
: [];
|
|
70
|
+
// Extract the root config
|
|
71
|
+
const { tags: _tags, cardSet: _cardSet, bodyAllowed, bodyRequired, footerAllowed, footerRequired, resourceAttachmentAllowed, rootExampleType, } = _bitConfig;
|
|
72
|
+
// Hydratre the configuration
|
|
73
|
+
const zeroCountAllResourcesTags = this.getAllResourcesTagsWithZeroCounts();
|
|
74
|
+
const bitTags = ConfigHydrator_1.ConfigHydrator.hydrateTagsConfig(_tags);
|
|
75
|
+
const cardSet = ConfigHydrator_1.ConfigHydrator.hydrateCardSetConfig(_cardSet);
|
|
76
|
+
// Merge the allResourcesTags with the bitTags *in the correct order*
|
|
77
|
+
const comboResourceTagType = (_a = bitTags.info) === null || _a === void 0 ? void 0 : _a.comboResourceType;
|
|
78
|
+
const tags = Object.assign({}, bitTags.tags);
|
|
79
|
+
for (const [k, v] of Object.entries(zeroCountAllResourcesTags)) {
|
|
80
|
+
if (!tags[k])
|
|
81
|
+
tags[k] = v;
|
|
82
|
+
}
|
|
83
|
+
// Create the bit config
|
|
84
|
+
bitConfig = new BitConfig_1.BitConfig(since, bitType, aliases, tags, cardSet, deprecated, bodyAllowed, bodyRequired, footerAllowed, footerRequired, resourceAttachmentAllowed, rootExampleType, comboResourceTagType);
|
|
85
|
+
// Add to cache
|
|
86
|
+
this.bitCache.set(bitType.root, bitConfig);
|
|
87
|
+
}
|
|
88
|
+
return bitConfig;
|
|
89
|
+
}
|
|
90
|
+
getRawPropertiesConfig() {
|
|
91
|
+
return properties_1.PROPERTIES;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Look up the tag configuration by tag (rather than by config key).
|
|
95
|
+
*
|
|
96
|
+
* @param bitType
|
|
97
|
+
* @param tag
|
|
98
|
+
* @param parentTagConfig
|
|
99
|
+
* @returns
|
|
100
|
+
*/
|
|
101
|
+
getTagConfigForTag(tagsConfig, tag) {
|
|
102
|
+
if (!tagsConfig)
|
|
103
|
+
return undefined;
|
|
104
|
+
// Search the properties in the bit config for the matching tag.
|
|
105
|
+
for (const [, t] of Object.entries(tagsConfig)) {
|
|
106
|
+
if (t.tag === tag) {
|
|
107
|
+
return t;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return undefined;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Look up the tag configuration for a cardSet.
|
|
114
|
+
*
|
|
115
|
+
* @param bitType
|
|
116
|
+
* @param sideNo
|
|
117
|
+
* @param variantNo
|
|
118
|
+
* @param tag
|
|
119
|
+
* @param parentTagConfig
|
|
120
|
+
* @returns
|
|
121
|
+
*/
|
|
122
|
+
getTagsConfigForCardSet(bitType, sideNo, variantNo) {
|
|
123
|
+
const bitConfig = this.getBitConfig(bitType);
|
|
124
|
+
if (!bitConfig)
|
|
125
|
+
return undefined;
|
|
126
|
+
const cardSet = bitConfig.cardSet;
|
|
127
|
+
if (!cardSet)
|
|
128
|
+
return undefined;
|
|
129
|
+
sideNo = Math.min(sideNo, cardSet.variants.length - 1);
|
|
130
|
+
const variants = cardSet.variants[sideNo];
|
|
131
|
+
variantNo = Math.min(variantNo, variants.length - 1);
|
|
132
|
+
const variant = variants[variantNo];
|
|
133
|
+
return variant.tags;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Get the resource configuration for a bit.
|
|
137
|
+
*
|
|
138
|
+
* The configuration returned potentially depends on the resourceTypeAttachment which can change the allowed
|
|
139
|
+
* count of the resource (or comboResource) it matches.
|
|
140
|
+
*
|
|
141
|
+
* The function is a bit complicated, but it is actually just manipulating the configuration into a format that
|
|
142
|
+
* the rest of the app can use easily.
|
|
143
|
+
*
|
|
144
|
+
* @param bitType
|
|
145
|
+
* @param resourceTypeAttachment the resource type specified in the bit header
|
|
146
|
+
* @returns the definitive resource configuration for the bit
|
|
147
|
+
*/
|
|
148
|
+
getBitResourcesConfig(bitType, resourceTypeAttachment) {
|
|
149
|
+
var _a;
|
|
150
|
+
let finalResourceTags = {};
|
|
151
|
+
const comboResourceTagTypesMap = new Map();
|
|
152
|
+
const bitConfig = this.getBitConfig(bitType);
|
|
153
|
+
// Filter out the resource tags
|
|
154
|
+
const resourceTags = {};
|
|
155
|
+
for (const [k, v] of Object.entries(bitConfig.tags)) {
|
|
156
|
+
if (v.type === BitTagType_1.BitTagType.resource) {
|
|
157
|
+
resourceTags[k] = v;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
// Work out the potential combo resource type, which is either fixed by the bit type, or comes from the bit header
|
|
161
|
+
const comboResourceType = (_a = bitConfig.comboResourceType) !== null && _a !== void 0 ? _a : (bitConfig.resourceAttachmentAllowed && resourceTypeAttachment);
|
|
162
|
+
if (comboResourceType) {
|
|
163
|
+
// The comboResourceType might be a combo resource. Build the comborResourceTagTypesMap
|
|
164
|
+
const comboResourcesMap = new Map();
|
|
165
|
+
// The resource type attachment might be a combo resource - handle it
|
|
166
|
+
const comboResource = this.getComboResource(comboResourceType);
|
|
167
|
+
if (comboResource) {
|
|
168
|
+
// Extract the resource types from the combo resource
|
|
169
|
+
const comboResourceTagConfigs = Object.values(comboResource).filter((t) => {
|
|
170
|
+
return t.type === BitTagType_1.BitTagType.resource;
|
|
171
|
+
});
|
|
172
|
+
const comboResourceTypes = comboResourceTagConfigs.map((t) => t.tag);
|
|
173
|
+
// Combine into a map for easy lookup
|
|
174
|
+
comboResourceTypes.forEach((type) => {
|
|
175
|
+
const tags = comboResourceTagConfigs.find((t) => t.tag === type);
|
|
176
|
+
if (tags)
|
|
177
|
+
comboResourcesMap.set(type, tags);
|
|
178
|
+
});
|
|
179
|
+
// If the resource tag is a combo resource tag, then add it to the comboResourceTagTypesMap
|
|
180
|
+
const resourceTagTypes = this.getComboResourceTagTypes(comboResourceType);
|
|
181
|
+
if (resourceTagTypes && resourceTagTypes.length > 0) {
|
|
182
|
+
comboResourceTagTypesMap.set(comboResourceType, resourceTagTypes);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
// If the resource is an attachment...
|
|
186
|
+
// Modify the count for the resource that matched the resource type attachment
|
|
187
|
+
// (create a copy so as not to modify the original configuration)
|
|
188
|
+
if (resourceTypeAttachment) {
|
|
189
|
+
for (const [k, tag] of Object.entries(resourceTags)) {
|
|
190
|
+
// Check if the tag matches the resource type attachment or the comboResource
|
|
191
|
+
const singleTagMatch = comboResourceType === tag.tag;
|
|
192
|
+
const comboTagMatch = comboResourcesMap ? comboResourcesMap.has(tag.tag) : false;
|
|
193
|
+
if (singleTagMatch) {
|
|
194
|
+
// Single tag match for a resource specified in the bit header
|
|
195
|
+
const newTag = new ResourceTagConfig_1.ResourceTagConfig(tag.configKey, tag.tag, 1, 1, tag.chain, tag.jsonKey, tag.deprecated);
|
|
196
|
+
finalResourceTags[k] = newTag;
|
|
197
|
+
}
|
|
198
|
+
else if (comboTagMatch) {
|
|
199
|
+
// Combo resource tag match for a resource specified in the bit header
|
|
200
|
+
if (comboResourcesMap) {
|
|
201
|
+
const newTag = comboResourcesMap.get(tag.tag);
|
|
202
|
+
if (newTag)
|
|
203
|
+
finalResourceTags[k] = newTag;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
else {
|
|
207
|
+
finalResourceTags[k] = tag;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
// Combo resource, but not a resource type attachement
|
|
213
|
+
finalResourceTags = resourceTags;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
// No combo resource and no resource type attachment
|
|
218
|
+
finalResourceTags = resourceTags;
|
|
219
|
+
}
|
|
220
|
+
const resourcesConfig = new ResourcesConfig_1.ResourcesConfig(finalResourceTags, bitConfig.resourceAttachmentAllowed, resourceTypeAttachment, comboResourceTagTypesMap);
|
|
221
|
+
return resourcesConfig;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Get the resourceType tags for a combo resource.
|
|
225
|
+
*
|
|
226
|
+
* @param resourceTypeAttachment
|
|
227
|
+
* @returns resourceTypes for the combo resource (or undefined if not a combo resource)
|
|
228
|
+
*/
|
|
229
|
+
getComboResourceTagTypes(resourceTypeAttachment) {
|
|
230
|
+
const comboResource = this.getComboResource(resourceTypeAttachment);
|
|
231
|
+
if (comboResource) {
|
|
232
|
+
const comboResourceTypes = Object.values(comboResource)
|
|
233
|
+
.filter((t) => {
|
|
234
|
+
return t.type === BitTagType_1.BitTagType.resource;
|
|
235
|
+
})
|
|
236
|
+
.map((t) => t.tag);
|
|
237
|
+
return comboResourceTypes;
|
|
238
|
+
}
|
|
239
|
+
return undefined;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Get the tags for a combo resource.
|
|
243
|
+
*
|
|
244
|
+
* Combo resources are resources that contain more than one resource, such as still-image-film.
|
|
245
|
+
* These resources require special handling in the code and therefore also special configuration.
|
|
246
|
+
*
|
|
247
|
+
* @returns TagsConfig for the combo resource or undefined if not found
|
|
248
|
+
*/
|
|
249
|
+
getComboResource(resourceType) {
|
|
250
|
+
if (!resourceType)
|
|
251
|
+
return undefined;
|
|
252
|
+
let comboResourcesTags = this.comboResourcesCache.get(resourceType);
|
|
253
|
+
if (!comboResourcesTags) {
|
|
254
|
+
// Filter for all the resource groups and hydrate the tags
|
|
255
|
+
comboResourcesTags = {};
|
|
256
|
+
Object.values(groups_1.GROUPS)
|
|
257
|
+
.filter((g) => g.type === GroupConfigType_1.GroupConfigType.comboResource && g.comboResourceType === resourceType)
|
|
258
|
+
.forEach((g) => {
|
|
259
|
+
comboResourcesTags = Object.assign(Object.assign({}, comboResourcesTags), ConfigHydrator_1.ConfigHydrator.hydrateTagsConfig(g.tags).tags);
|
|
260
|
+
});
|
|
261
|
+
// Add to cache
|
|
262
|
+
if (Object.keys(comboResourcesTags).length === 0)
|
|
263
|
+
comboResourcesTags = undefined;
|
|
264
|
+
this.comboResourcesCache.set(resourceType, comboResourcesTags);
|
|
265
|
+
}
|
|
266
|
+
return comboResourcesTags;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Get the tags for all resources with 0 max/min counts.
|
|
270
|
+
*
|
|
271
|
+
* This is required so that any bit can parse all resources correctly. It is necessary to parse all resources
|
|
272
|
+
* for any bit because of the requirement to add excess resources to the 'parser' output.
|
|
273
|
+
*
|
|
274
|
+
* NOTE: These are not used for validation, only for parsing. They will be overridden for individual bits for
|
|
275
|
+
* validation.
|
|
276
|
+
*
|
|
277
|
+
* @returns TagsConfig for all resources
|
|
278
|
+
*/
|
|
279
|
+
getAllResourcesTagsWithZeroCounts() {
|
|
280
|
+
let allResourcesTags = this.allResourcesCache;
|
|
281
|
+
if (!allResourcesTags) {
|
|
282
|
+
// Filter for all the resource groups and hydrate the tags
|
|
283
|
+
allResourcesTags = {};
|
|
284
|
+
Object.values(groups_1.GROUPS)
|
|
285
|
+
.filter((g) => g.type === GroupConfigType_1.GroupConfigType.resource)
|
|
286
|
+
.forEach((g) => {
|
|
287
|
+
allResourcesTags = Object.assign(Object.assign({}, allResourcesTags), ConfigHydrator_1.ConfigHydrator.hydrateTagsConfig(g.tags).tags);
|
|
288
|
+
});
|
|
289
|
+
// Ensure the minimum and maximum counts are all set to 0
|
|
290
|
+
// We only use this config to understand how to parse, not to validate
|
|
291
|
+
for (const tag of Object.values(allResourcesTags)) {
|
|
292
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
293
|
+
const tagAny = tag;
|
|
294
|
+
tagAny.maxCount = 0;
|
|
295
|
+
tagAny.minCount = 0;
|
|
296
|
+
}
|
|
297
|
+
// Add to cache
|
|
298
|
+
this.allResourcesCache = allResourcesTags;
|
|
299
|
+
}
|
|
300
|
+
return allResourcesTags;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Builds a map to enable fast lookup of the bit type from the bit type alias.
|
|
304
|
+
*/
|
|
305
|
+
buildBitTypeAliasMap() {
|
|
306
|
+
// Ensure bit type aliases to itself
|
|
307
|
+
for (const v of BitType_1.RootBitType.values()) {
|
|
308
|
+
this.bitTypeAliasMap.set(v, v);
|
|
309
|
+
}
|
|
310
|
+
// Aliases to bit type
|
|
311
|
+
for (const [k, v] of Object.entries(bits_1.BITS)) {
|
|
312
|
+
if (v.aliases) {
|
|
313
|
+
for (const kAlias of Object.keys(v.aliases)) {
|
|
314
|
+
this.bitTypeAliasMap.set(kAlias, k);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Get the root bit type from a root or alias bit type.
|
|
321
|
+
*
|
|
322
|
+
* @param bitTypeOrAlias
|
|
323
|
+
* @returns
|
|
324
|
+
*/
|
|
325
|
+
getRootBitType(bitTypeOrAlias) {
|
|
326
|
+
var _a;
|
|
327
|
+
if (!bitTypeOrAlias)
|
|
328
|
+
return BitType_1.RootBitType._error;
|
|
329
|
+
return (_a = this.bitTypeAliasMap.get(bitTypeOrAlias)) !== null && _a !== void 0 ? _a : BitType_1.RootBitType._error;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Get the aliased bit type from a root or alias bit type.
|
|
333
|
+
*
|
|
334
|
+
* @param bitTypeOrAlias
|
|
335
|
+
* @returns
|
|
336
|
+
*/
|
|
337
|
+
getAliasedBitType(bitTypeOrAlias) {
|
|
338
|
+
var _a, _b;
|
|
339
|
+
return (_b = (_a = BitType_1.AliasBitType.fromValue(bitTypeOrAlias)) !== null && _a !== void 0 ? _a : BitType_1.RootBitType.fromValue(bitTypeOrAlias)) !== null && _b !== void 0 ? _b : BitType_1.RootBitType._error;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
const instance = new Config();
|
|
343
|
+
exports.Config = instance;
|
|
344
|
+
//# sourceMappingURL=Config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.js","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AACtD,yEAAsE;AACtE,qEAAkE;AAIlE,0EAAuE;AACvE,yDAAsD;AAItD,qDAAkD;AAClD,qCAAkC;AAClC,yCAAsC;AACtC,iDAA8C;AAE9C,mDAO+B;AAM/B,MAAM,MAAM;IAMV;QALQ,oBAAe,GAAiD,IAAI,GAAG,EAAE,CAAC;QAC1E,aAAQ,GAA2C,IAAI,GAAG,EAAE,CAAC;QAE7D,wBAAmB,GAAiD,IAAI,GAAG,EAAE,CAAC;QAGpF,4BAA4B;QAC5B,IAAI,CAAC,oBAAoB,EAAE,CAAC;IAC9B,CAAC;IAED;;;;;;;OAOG;IACI,UA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B,CAAC;IAED;;OAEG;IACK,oBAAoB;QAC1B,oCAAoC;QACpC,KAAK,MAAM,CAAC,IAAI,qBAAW,CAAC,MAAM,EAAE,EAAE;YACpC,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAA2B,EAAE,CAAoB,CAAC,CAAC;SAC7E;QACD,sBAAsB;QACtB,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAI,CAAC,EAAE;YACzC,IAAI,CAAC,CAAC,OAAO,EAAE;gBACb,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE;oBAC3C,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,MAAgC,EAAE,CAAoB,CAAC,CAAC;iBAClF;aACF;SACF;IACH,CAAC;IAED;;;;;OAKG;IACK,cAAc,CAAC,cAAkD;;QACvE,IAAI,CAAC,cAAc;YAAE,OAAO,qBAAW,CAAC,MAAM,CAAC;QAC/C,OAAO,MAAA,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,qBAAW,CAAC,MAAM,CAAC;IACxE,CAAC;IAED;;;;;OAKG;IACK,iBAAiB,CAAC,cAAkC;;QAC1D,OAAO,MAAA,MAAA,sBAAY,CAAC,SAAS,CAAC,cAAc,CAAC,mCAAI,qBAAW,CAAC,SAAS,CAAC,cAAc,CAAC,mCAAI,qBAAW,CAAC,MAAM,CAAC;IAC/G,CAAC;CACF;AAED,MAAM,QAAQ,GAAG,IAAI,MAAM,EAAE,CAAC;AAET,0BAAM"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConfigHydrator = void 0;
|
|
4
|
+
const CardSetConfig_1 = require("../model/config/CardSetConfig");
|
|
5
|
+
const CardVariantConfig_1 = require("../model/config/CardVariantConfig");
|
|
6
|
+
const MarkupTagConfig_1 = require("../model/config/MarkupTagConfig");
|
|
7
|
+
const PropertyTagConfig_1 = require("../model/config/PropertyTagConfig");
|
|
8
|
+
const ResourceTagConfig_1 = require("../model/config/ResourceTagConfig");
|
|
9
|
+
const ConfigKey_1 = require("../model/config/enum/ConfigKey");
|
|
10
|
+
const BitTagType_1 = require("../model/enum/BitTagType");
|
|
11
|
+
const cardSets_1 = require("./raw/cardSets");
|
|
12
|
+
const groups_1 = require("./raw/groups");
|
|
13
|
+
const properties_1 = require("./raw/properties");
|
|
14
|
+
const resources_1 = require("./raw/resources");
|
|
15
|
+
const tags_1 = require("./raw/tags");
|
|
16
|
+
const MAX_COUNT_DEFAULT = 1;
|
|
17
|
+
const MIN_COUNT_DEFAULT = 0;
|
|
18
|
+
class ConfigHydrator {
|
|
19
|
+
hydrateTagsConfig(_tags) {
|
|
20
|
+
var _a;
|
|
21
|
+
const tagsWithInfo = {
|
|
22
|
+
tags: {},
|
|
23
|
+
};
|
|
24
|
+
for (const t of _tags) {
|
|
25
|
+
let expandedTags;
|
|
26
|
+
switch (t.type) {
|
|
27
|
+
case BitTagType_1.BitTagType.tag:
|
|
28
|
+
expandedTags = this.hydrateTagConfig(t);
|
|
29
|
+
break;
|
|
30
|
+
case BitTagType_1.BitTagType.property:
|
|
31
|
+
expandedTags = this.hydratePropertyTagConfig(t);
|
|
32
|
+
break;
|
|
33
|
+
case BitTagType_1.BitTagType.resource:
|
|
34
|
+
expandedTags = this.hydrateResourceTagConfig(t);
|
|
35
|
+
break;
|
|
36
|
+
case BitTagType_1.BitTagType.group:
|
|
37
|
+
expandedTags = this.hydrateTagGroupConfig(t);
|
|
38
|
+
break;
|
|
39
|
+
default:
|
|
40
|
+
// Ignore
|
|
41
|
+
}
|
|
42
|
+
if (expandedTags) {
|
|
43
|
+
tagsWithInfo.tags = Object.assign(Object.assign({}, tagsWithInfo.tags), expandedTags.tags);
|
|
44
|
+
tagsWithInfo.info = Object.assign((_a = tagsWithInfo.info) !== null && _a !== void 0 ? _a : {}, expandedTags.info);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return tagsWithInfo;
|
|
48
|
+
}
|
|
49
|
+
hydrateCardSetConfig(_cardSet) {
|
|
50
|
+
if (!_cardSet)
|
|
51
|
+
return undefined;
|
|
52
|
+
const _cardSetConfig = cardSets_1.CARDS[_cardSet];
|
|
53
|
+
if (!_cardSetConfig)
|
|
54
|
+
throw new Error(`No config found for card set config key '${_cardSet}'`);
|
|
55
|
+
const variants = [];
|
|
56
|
+
for (const _variants of _cardSetConfig.variants) {
|
|
57
|
+
const variantsOfSide = [];
|
|
58
|
+
for (const _variant of _variants) {
|
|
59
|
+
const v = this.hydrateCardVariantConfig(_variant);
|
|
60
|
+
variantsOfSide.push(v);
|
|
61
|
+
}
|
|
62
|
+
variants.push(variantsOfSide);
|
|
63
|
+
}
|
|
64
|
+
const cardSetConfig = new CardSetConfig_1.CardSetConfig(_cardSet, variants);
|
|
65
|
+
return cardSetConfig;
|
|
66
|
+
}
|
|
67
|
+
hydrateTagConfig(_tag) {
|
|
68
|
+
const { configKey: _configKey, maxCount, minCount, chain: _chain } = _tag;
|
|
69
|
+
const configKey = ConfigKey_1.ConfigKey.fromKey(_configKey) || ConfigKey_1.ConfigKey._unknown;
|
|
70
|
+
const _tagConfig = tags_1.TAGS[configKey];
|
|
71
|
+
if (!_tagConfig)
|
|
72
|
+
throw new Error(`No config found for tag config key '${_configKey}'`);
|
|
73
|
+
const { tag, deprecated } = _tagConfig;
|
|
74
|
+
let chain;
|
|
75
|
+
if (_chain) {
|
|
76
|
+
chain = this.hydrateTagsConfig(_chain).tags;
|
|
77
|
+
}
|
|
78
|
+
const hydratedTag = new MarkupTagConfig_1.MarkupTagConfig(configKey, tag, maxCount !== null && maxCount !== void 0 ? maxCount : MAX_COUNT_DEFAULT, minCount !== null && minCount !== void 0 ? minCount : MIN_COUNT_DEFAULT, chain, deprecated);
|
|
79
|
+
return {
|
|
80
|
+
tags: {
|
|
81
|
+
[configKey]: hydratedTag,
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
hydratePropertyTagConfig(_tag) {
|
|
86
|
+
const { configKey: _configKey, maxCount, minCount, chain: _chain } = _tag;
|
|
87
|
+
const configKey = ConfigKey_1.ConfigKey.fromKey(_configKey) || ConfigKey_1.ConfigKey._unknown;
|
|
88
|
+
const _propertyConfig = properties_1.PROPERTIES[configKey];
|
|
89
|
+
if (!_propertyConfig)
|
|
90
|
+
throw new Error(`No config found for property config key '${_configKey}'`);
|
|
91
|
+
const { tag, deprecated, single, format, defaultValue, jsonKey, astKey } = _propertyConfig;
|
|
92
|
+
let chain;
|
|
93
|
+
if (_chain) {
|
|
94
|
+
chain = this.hydrateTagsConfig(_chain).tags;
|
|
95
|
+
}
|
|
96
|
+
const hydratedTag = new PropertyTagConfig_1.PropertyTagConfig(configKey, tag, maxCount !== null && maxCount !== void 0 ? maxCount : MAX_COUNT_DEFAULT, minCount !== null && minCount !== void 0 ? minCount : MIN_COUNT_DEFAULT, chain, jsonKey, astKey, single, format, defaultValue, deprecated);
|
|
97
|
+
return {
|
|
98
|
+
tags: {
|
|
99
|
+
[configKey]: hydratedTag,
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
hydrateResourceTagConfig(_tag) {
|
|
104
|
+
const { configKey: _configKey, maxCount, minCount, chain: _chain } = _tag;
|
|
105
|
+
const configKey = ConfigKey_1.ConfigKey.fromKey(_configKey) || ConfigKey_1.ConfigKey._unknown;
|
|
106
|
+
const _resourceConfig = resources_1.RESOURCES[configKey];
|
|
107
|
+
if (!_resourceConfig)
|
|
108
|
+
throw new Error(`No config found for resource config key '${_configKey}'`);
|
|
109
|
+
const { tag, deprecated, jsonKey } = _resourceConfig;
|
|
110
|
+
let chain;
|
|
111
|
+
if (_chain) {
|
|
112
|
+
chain = this.hydrateTagsConfig(_chain).tags;
|
|
113
|
+
}
|
|
114
|
+
const hydratedTag = new ResourceTagConfig_1.ResourceTagConfig(configKey, tag, maxCount !== null && maxCount !== void 0 ? maxCount : MAX_COUNT_DEFAULT, minCount !== null && minCount !== void 0 ? minCount : MIN_COUNT_DEFAULT, chain, jsonKey, deprecated);
|
|
115
|
+
return {
|
|
116
|
+
tags: {
|
|
117
|
+
[configKey]: hydratedTag,
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
hydrateTagGroupConfig(_tag) {
|
|
122
|
+
var _a, _b;
|
|
123
|
+
const { configKey: _configKey } = _tag;
|
|
124
|
+
const configKey = ConfigKey_1.ConfigKey.fromKey(_configKey) || ConfigKey_1.ConfigKey._unknown;
|
|
125
|
+
const _groupConfig = groups_1.GROUPS[configKey];
|
|
126
|
+
if (!_groupConfig)
|
|
127
|
+
throw new Error(`No config found for tag config key '${_configKey}'`);
|
|
128
|
+
const { tags: _tags } = _groupConfig;
|
|
129
|
+
const tags = this.hydrateTagsConfig(_tags).tags;
|
|
130
|
+
// Apply the groups min/max to the first tag in the group (overriding the default value)
|
|
131
|
+
const tagValues = Object.values(tags);
|
|
132
|
+
if (tagValues.length > 0) {
|
|
133
|
+
const firstTag = tagValues[0];
|
|
134
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
135
|
+
const firstTagAny = firstTag;
|
|
136
|
+
firstTagAny.maxCount = (_a = _tag.maxCount) !== null && _a !== void 0 ? _a : firstTag.maxCount;
|
|
137
|
+
firstTagAny.minCount = (_b = _tag.minCount) !== null && _b !== void 0 ? _b : firstTag.minCount;
|
|
138
|
+
}
|
|
139
|
+
return {
|
|
140
|
+
tags,
|
|
141
|
+
info: {
|
|
142
|
+
comboResourceType: _groupConfig.comboResourceType,
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
hydrateCardVariantConfig(_variant) {
|
|
147
|
+
const { tags: _tags, bodyAllowed, bodyRequired, repeatCount } = _variant;
|
|
148
|
+
const tags = this.hydrateTagsConfig(_tags);
|
|
149
|
+
const cardSetConfig = new CardVariantConfig_1.CardVariantConfig(tags.tags, bodyAllowed, bodyRequired, repeatCount);
|
|
150
|
+
return cardSetConfig;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
const instance = new ConfigHydrator();
|
|
154
|
+
exports.ConfigHydrator = instance;
|
|
155
|
+
//# sourceMappingURL=ConfigHydrator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigHydrator.js","sourceRoot":"","sources":["../../../src/config/ConfigHydrator.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAC9D,yEAAsE;AACtE,qEAAkE;AAClE,yEAAsE;AACtE,yEAAsE;AAKtE,8DAA2D;AAC3D,yDAAsD;AAEtD,6CAAuC;AACvC,yCAAsC;AACtC,iDAA8C;AAC9C,+CAA4C;AAC5C,qCAAkC;AAElC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAC5B,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAE5B,MAAM,cAAc;IACX,iBAAiB,CAAC,KAAuB;;QAC9C,MAAM,YAAY,GAAuB;YACvC,IAAI,EAAE,EAAE;SACT,CAAC;QAEF,KAAK,MAAM,CAAC,IAAI,KAAK,EAAE;YACrB,IAAI,YAA4C,CAAC;YACjD,QAAQ,CAAC,CAAC,IAAI,EAAE;gBACd,KAAK,uBAAU,CAAC,GAAG;oBACjB,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;oBACxC,MAAM;gBAER,KAAK,uBAAU,CAAC,QAAQ;oBACtB,YAAY,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;oBAChD,MAAM;gBAER,KAAK,uBAAU,CAAC,QAAQ;oBACtB,YAAY,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;oBAChD,MAAM;gBAER,KAAK,uBAAU,CAAC,KAAK;oBACnB,YAAY,GAAG,IAAI,CAAC,qBAAqB,CAAC,CAAC,CA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