@gmb/bitmark-parser-generator 3.27.0 → 3.29.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/README.md +3 -3
- package/dist/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/cjs/BitmarkParserGenerator.js +13 -14
- package/dist/cjs/BitmarkParserGenerator.js.map +1 -1
- package/dist/cjs/ast/Builder.js +14 -12
- package/dist/cjs/ast/Builder.js.map +1 -1
- package/dist/cjs/ast/ResourceBuilder.js +3 -1
- package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
- package/dist/cjs/config/raw/bits.js +9 -2
- package/dist/cjs/config/raw/bits.js.map +1 -1
- package/dist/cjs/config/raw/groups.js +2 -2
- package/dist/cjs/config/raw/properties.js +0 -10
- package/dist/cjs/config/raw/properties.js.map +1 -1
- package/dist/cjs/config/raw/resources.js +10 -3
- package/dist/cjs/config/raw/resources.js.map +1 -1
- package/dist/cjs/generated/build-info.js +1 -1
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js +17 -3
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/cjs/generator/json/JsonGenerator.js +5 -6
- package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
- package/dist/cjs/generator/text/TextGenerator.js +1 -1
- package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/config/enum/PropertyConfigKey.js +0 -2
- package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -1
- package/dist/cjs/model/config/enum/ResourceConfigKey.js +3 -1
- package/dist/cjs/model/config/enum/ResourceConfigKey.js.map +1 -1
- package/dist/cjs/model/enum/BodyTextFormat.js +14 -0
- package/dist/cjs/model/enum/BodyTextFormat.js.map +1 -0
- package/dist/cjs/model/enum/DeprecatedTextFormat.js +1 -2
- package/dist/cjs/model/enum/DeprecatedTextFormat.js.map +1 -1
- package/dist/cjs/model/enum/ResourceTag.js +4 -1
- package/dist/cjs/model/enum/ResourceTag.js.map +1 -1
- package/dist/cjs/model/enum/TextFormat.js +1 -1
- package/dist/cjs/model/enum/TextFormat.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js +8 -6
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js +16 -10
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +0 -6
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +10 -26
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/cjs/parser/json/JsonParser.js +1 -2
- package/dist/cjs/parser/json/JsonParser.js.map +1 -1
- package/dist/esm/BitmarkParserGenerator.js +13 -14
- package/dist/esm/BitmarkParserGenerator.js.map +1 -1
- package/dist/esm/ast/Builder.js +14 -12
- package/dist/esm/ast/Builder.js.map +1 -1
- package/dist/esm/ast/ResourceBuilder.js +3 -1
- package/dist/esm/ast/ResourceBuilder.js.map +1 -1
- package/dist/esm/config/raw/bits.js +9 -2
- package/dist/esm/config/raw/bits.js.map +1 -1
- package/dist/esm/config/raw/groups.js +2 -2
- package/dist/esm/config/raw/properties.js +0 -10
- package/dist/esm/config/raw/properties.js.map +1 -1
- package/dist/esm/config/raw/resources.js +10 -3
- package/dist/esm/config/raw/resources.js.map +1 -1
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/generator/bitmark/BitmarkGenerator.js +17 -3
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/esm/generator/json/JsonGenerator.js +5 -6
- package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
- package/dist/esm/generator/text/TextGenerator.js +1 -1
- package/dist/esm/generator/text/TextGenerator.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/model/config/enum/PropertyConfigKey.js +0 -2
- package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -1
- package/dist/esm/model/config/enum/ResourceConfigKey.js +3 -1
- package/dist/esm/model/config/enum/ResourceConfigKey.js.map +1 -1
- package/dist/esm/model/enum/BodyTextFormat.js +11 -0
- package/dist/esm/model/enum/BodyTextFormat.js.map +1 -0
- package/dist/esm/model/enum/DeprecatedTextFormat.js +1 -2
- package/dist/esm/model/enum/DeprecatedTextFormat.js.map +1 -1
- package/dist/esm/model/enum/ResourceTag.js +4 -1
- package/dist/esm/model/enum/ResourceTag.js.map +1 -1
- package/dist/esm/model/enum/TextFormat.js +1 -1
- package/dist/esm/model/enum/TextFormat.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js +8 -6
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js +16 -10
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +0 -6
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +11 -26
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/esm/parser/json/JsonParser.js +1 -2
- package/dist/esm/parser/json/JsonParser.js.map +1 -1
- package/dist/types/BitmarkParserGenerator.d.ts +7 -7
- package/dist/types/BitmarkParserGenerator.d.ts.map +1 -1
- package/dist/types/ast/Builder.d.ts +2 -1
- package/dist/types/ast/Builder.d.ts.map +1 -1
- package/dist/types/ast/ResourceBuilder.d.ts.map +1 -1
- package/dist/types/config/raw/bits.d.ts.map +1 -1
- package/dist/types/config/raw/properties.d.ts.map +1 -1
- package/dist/types/config/raw/resources.d.ts.map +1 -1
- 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 +1 -0
- package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/model/ast/Nodes.d.ts +1 -1
- package/dist/types/model/ast/Nodes.d.ts.map +1 -1
- package/dist/types/model/config/enum/ConfigKey.d.ts +6 -6
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts +0 -6
- package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -1
- package/dist/types/model/config/enum/ResourceConfigKey.d.ts +9 -3
- package/dist/types/model/config/enum/ResourceConfigKey.d.ts.map +1 -1
- package/dist/types/model/enum/BodyTextFormat.d.ts +17 -0
- package/dist/types/model/enum/BodyTextFormat.d.ts.map +1 -0
- package/dist/types/model/enum/DeprecatedTextFormat.d.ts +1 -5
- package/dist/types/model/enum/DeprecatedTextFormat.d.ts.map +1 -1
- package/dist/types/model/enum/PropertyTag.d.ts +0 -4
- package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
- package/dist/types/model/enum/ResourceTag.d.ts +6 -2
- package/dist/types/model/enum/ResourceTag.d.ts.map +1 -1
- package/dist/types/model/enum/TextFormat.d.ts +2 -2
- package/dist/types/model/json/BitJson.d.ts +1 -1
- package/dist/types/model/json/BitJson.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts +1 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8"/>
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
6
|
-
<title>@gmb/bitmark-parser-generator [
|
|
6
|
+
<title>@gmb/bitmark-parser-generator [2 Jun 2025 at 05:25]</title>
|
|
7
7
|
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0r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8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
|
|
8
8
|
|
|
9
9
|
<script>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<body>
|
|
32
32
|
<div id="app"></div>
|
|
33
33
|
<script>
|
|
34
|
-
window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1568777,"parsedSize":515571,"gzipSize":101148,"groups":[{"label":"dist/cjs","path":"./dist/cjs","statSize":1553700,"groups":[{"id":1791,"label":"BitmarkParserGenerator.js","path":"./dist/cjs/BitmarkParserGenerator.js","statSize":32043},{"label":"ast","path":"./dist/cjs/ast","statSize":174009,"groups":[{"id":5126,"label":"Ast.js","path":"./dist/cjs/ast/Ast.js","statSize":7709},{"id":4470,"label":"BaseBuilder.js","path":"./dist/cjs/ast/BaseBuilder.js","statSize":8124},{"id":5809,"label":"Builder.js","path":"./dist/cjs/ast/Builder.js","statSize":97300},{"id":5533,"label":"ResourceBuilder.js","path":"./dist/cjs/ast/ResourceBuilder.js","statSize":50850},{"label":"rules","path":"./dist/cjs/ast/rules","statSize":6615,"groups":[{"id":4564,"label":"NodeValidator.js","path":"./dist/cjs/ast/rules/NodeValidator.js","statSize":6615}],"parsedSize":0,"gzipSize":0},{"label":"writer","path":"./dist/cjs/ast/writer","statSize":3411,"groups":[{"id":6772,"label":"StringWriter.js","path":"./dist/cjs/ast/writer/StringWriter.js","statSize":3411}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"breakscaping","path":"./dist/cjs/breakscaping","statSize":17401,"groups":[{"id":7735,"label":"Breakscape.js","path":"./dist/cjs/breakscaping/Breakscape.js","statSize":17401}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/config","statSize":252774,"groups":[{"id":2028,"label":"Config.js","path":"./dist/cjs/config/Config.js","statSize":15538},{"id":4445,"label":"ConfigHydrator.js","path":"./dist/cjs/config/ConfigHydrator.js","statSize":7700},{"label":"raw","path":"./dist/cjs/config/raw","statSize":229536,"groups":[{"id":6853,"label":"bits.js","path":"./dist/cjs/config/raw/bits.js","statSize":116792},{"id":5554,"label":"cardSets.js","path":"./dist/cjs/config/raw/cardSets.js","statSize":22160},{"id":5837,"label":"groups.js","path":"./dist/cjs/config/raw/groups.js","statSize":45341},{"id":9916,"label":"properties.js","path":"./dist/cjs/config/raw/properties.js","statSize":39607},{"id":168,"label":"resources.js","path":"./dist/cjs/config/raw/resources.js","statSize":4198},{"id":9248,"label":"tags.js","path":"./dist/cjs/config/raw/tags.js","statSize":1438}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generated","path":"./dist/cjs/generated","statSize":479358,"groups":[{"id":1464,"label":"build-info.js","path":"./dist/cjs/generated/build-info.js","statSize":438},{"label":"parser","path":"./dist/cjs/generated/parser","statSize":478920,"groups":[{"label":"bitmark","path":"./dist/cjs/generated/parser/bitmark","statSize":95348,"groups":[{"id":5057,"label":"bitmark-peggy-parser.js","path":"./dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js","statSize":95348}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generated/parser/text","statSize":383572,"groups":[{"id":8321,"label":"text-peggy-parser.js","path":"./dist/cjs/generated/parser/text/text-peggy-parser.js","statSize":383572}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generator","path":"./dist/cjs/generator","statSize":233344,"groups":[{"id":4,"label":"AstWalkerGenerator.js","path":"./dist/cjs/generator/AstWalkerGenerator.js","statSize":3051},{"label":"bitmark","path":"./dist/cjs/generator/bitmark","statSize":107739,"groups":[{"id":5087,"label":"BitmarkGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkGenerator.js","statSize":105674},{"id":3968,"label":"BitmarkStringGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkStringGenerator.js","statSize":2065}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/generator/json","statSize":74623,"groups":[{"id":2497,"label":"JsonGenerator.js","path":"./dist/cjs/generator/json/JsonGenerator.js","statSize":70673},{"id":7984,"label":"JsonObjectGenerator.js","path":"./dist/cjs/generator/json/JsonObjectGenerator.js","statSize":2002},{"id":98,"label":"JsonStringGenerator.js","path":"./dist/cjs/generator/json/JsonStringGenerator.js","statSize":1948}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generator/text","statSize":47931,"groups":[{"id":431,"label":"TextGenerator.js","path":"./dist/cjs/generator/text/TextGenerator.js","statSize":47931}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":5469,"label":"index.js","path":"./dist/cjs/index.js","statSize":5626,"parsedSize":515439,"gzipSize":101148},{"label":"info","path":"./dist/cjs/info","statSize":1971,"groups":[{"id":3881,"label":"InfoBuilder.js","path":"./dist/cjs/info/InfoBuilder.js","statSize":1971}],"parsedSize":0,"gzipSize":0},{"label":"init","path":"./dist/cjs/init","statSize":480,"groups":[{"id":1412,"label":"init.js","path":"./dist/cjs/init/init.js","statSize":480}],"parsedSize":0,"gzipSize":0},{"label":"model","path":"./dist/cjs/model","statSize":81868,"groups":[{"label":"ast","path":"./dist/cjs/model/ast","statSize":18236,"groups":[{"id":126,"label":"NodeType.js","path":"./dist/cjs/model/ast/NodeType.js","statSize":18236}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/model/config","statSize":26281,"groups":[{"id":6634,"label":"AbstractTagConfig.js","path":"./dist/cjs/model/config/AbstractTagConfig.js","statSize":617},{"id":3619,"label":"BitConfig.js","path":"./dist/cjs/model/config/BitConfig.js","statSize":2977},{"id":5814,"label":"CardSetConfig.js","path":"./dist/cjs/model/config/CardSetConfig.js","statSize":781},{"id":9371,"label":"CardVariantConfig.js","path":"./dist/cjs/model/config/CardVariantConfig.js","statSize":1073},{"id":9788,"label":"MarkupTagConfig.js","path":"./dist/cjs/model/config/MarkupTagConfig.js","statSize":1553},{"id":1519,"label":"PropertyTagConfig.js","path":"./dist/cjs/model/config/PropertyTagConfig.js","statSize":2005},{"id":9600,"label":"ResourceTagConfig.js","path":"./dist/cjs/model/config/ResourceTagConfig.js","statSize":1594},{"id":1457,"label":"ResourcesConfig.js","path":"./dist/cjs/model/config/ResourcesConfig.js","statSize":1127},{"label":"enum","path":"./dist/cjs/model/config/enum","statSize":14554,"groups":[{"id":8199,"label":"CardSetConfigKey.js","path":"./dist/cjs/model/config/enum/CardSetConfigKey.js","statSize":1043},{"id":5591,"label":"ConfigKey.js","path":"./dist/cjs/model/config/enum/ConfigKey.js","statSize":1390},{"id":7112,"label":"GroupConfigKey.js","path":"./dist/cjs/model/config/enum/GroupConfigKey.js","statSize":2905},{"id":6915,"label":"GroupConfigType.js","path":"./dist/cjs/model/config/enum/GroupConfigType.js","statSize":493},{"id":9888,"label":"PropertyConfigKey.js","path":"./dist/cjs/model/config/enum/PropertyConfigKey.js","statSize":6712},{"id":5051,"label":"ResourceConfigKey.js","path":"./dist/cjs/model/config/enum/ResourceConfigKey.js","statSize":1265},{"id":7797,"label":"TagConfigKey.js","path":"./dist/cjs/model/config/enum/TagConfigKey.js","statSize":746}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"enum","path":"./dist/cjs/model/enum","statSize":36569,"groups":[{"id":5512,"label":"BitTagType.js","path":"./dist/cjs/model/enum/BitTagType.js","statSize":457},{"id":5854,"label":"BitType.js","path":"./dist/cjs/model/enum/BitType.js","statSize":25671},{"id":8588,"label":"BitmarkParserType.js","path":"./dist/cjs/model/enum/BitmarkParserType.js","statSize":335},{"id":3811,"label":"BitmarkVersion.js","path":"./dist/cjs/model/enum/BitmarkVersion.js","statSize":466},{"id":4410,"label":"BodyBitType.js","path":"./dist/cjs/model/enum/BodyBitType.js","statSize":426},{"id":1163,"label":"CardSetVersion.js","path":"./dist/cjs/model/enum/CardSetVersion.js","statSize":322},{"id":3778,"label":"Count.js","path":"./dist/cjs/model/enum/Count.js","statSize":281},{"id":6220,"label":"DeprecatedTextFormat.js","path":"./dist/cjs/model/enum/DeprecatedTextFormat.js","statSize":400},{"id":363,"label":"ExampleType.js","path":"./dist/cjs/model/enum/ExampleType.js","statSize":434},{"id":7203,"label":"PropertyAstKey.js","path":"./dist/cjs/model/enum/PropertyAstKey.js","statSize":615},{"id":9727,"label":"PropertyFormat.js","path":"./dist/cjs/model/enum/PropertyFormat.js","statSize":822},{"id":166,"label":"PropertyTag.js","path":"./dist/cjs/model/enum/PropertyTag.js","statSize":535},{"id":9984,"label":"ResourceJsonKey.js","path":"./dist/cjs/model/enum/ResourceJsonKey.js","statSize":959},{"id":6149,"label":"ResourceTag.js","path":"./dist/cjs/model/enum/ResourceTag.js","statSize":1134},{"id":9917,"label":"Tag.js","path":"./dist/cjs/model/enum/Tag.js","statSize":533},{"id":385,"label":"TextFormat.js","path":"./dist/cjs/model/enum/TextFormat.js","statSize":584},{"id":6877,"label":"TextLocation.js","path":"./dist/cjs/model/enum/TextLocation.js","statSize":425},{"id":2483,"label":"TextMarkType.js","path":"./dist/cjs/model/enum/TextMarkType.js","statSize":1164},{"id":9554,"label":"TextNodeType.js","path":"./dist/cjs/model/enum/TextNodeType.js","statSize":1006}],"parsedSize":0,"gzipSize":0},{"label":"info/enum","path":"./dist/cjs/model/info/enum","statSize":782,"groups":[{"id":3069,"label":"InfoFormat.js","path":"./dist/cjs/model/info/enum/InfoFormat.js","statSize":334},{"id":486,"label":"InfoType.js","path":"./dist/cjs/model/info/enum/InfoType.js","statSize":448}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./dist/cjs/parser","statSize":236781,"groups":[{"label":"bitmark","path":"./dist/cjs/parser/bitmark","statSize":220466,"groups":[{"id":5633,"label":"BitmarkParser.js","path":"./dist/cjs/parser/bitmark/BitmarkParser.js","statSize":795},{"label":"peg","path":"./dist/cjs/parser/bitmark/peg","statSize":219671,"groups":[{"id":5078,"label":"BitmarkPegParser.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParser.js","statSize":319},{"id":3206,"label":"BitmarkPegParserHelper.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js","statSize":21782},{"id":7124,"label":"BitmarkPegParserProcessor.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js","statSize":34488},{"id":3029,"label":"BitmarkPegParserTypes.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js","statSize":2433},{"id":4266,"label":"BitmarkPegParserValidator.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js","statSize":31987},{"id":7461,"label":"PeggyGrammarLocation.js","path":"./dist/cjs/parser/bitmark/peg/PeggyGrammarLocation.js","statSize":2879},{"label":"contentProcessors","path":"./dist/cjs/parser/bitmark/peg/contentProcessors","statSize":125783,"groups":[{"id":5033,"label":"BodyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js","statSize":11928},{"id":3045,"label":"BookChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js","statSize":2430},{"id":1083,"label":"CardContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js","statSize":40443},{"id":554,"label":"ClozeTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js","statSize":1395},{"id":6128,"label":"ContentProcessorUtils.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js","statSize":2643},{"id":4402,"label":"DefaultTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js","statSize":3150},{"id":4091,"label":"ExampleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js","statSize":6973},{"id":4382,"label":"FooterContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js","statSize":2884},{"id":3904,"label":"GapChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js","statSize":1689},{"id":8848,"label":"ImageSourceChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js","statSize":3252},{"id":6991,"label":"InternalCommentTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js","statSize":672},{"id":9289,"label":"ItemLeadChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js","statSize":1652},{"id":8216,"label":"ItemLeadTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js","statSize":914},{"id":5189,"label":"MarkChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js","statSize":2560},{"id":3063,"label":"MarkConfigChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js","statSize":2439},{"id":5980,"label":"MarkTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js","statSize":494},{"id":21,"label":"PersonChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js","statSize":2577},{"id":9647,"label":"PropertyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js","statSize":9959},{"id":3967,"label":"RatingLevelChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js","statSize":1732},{"id":3990,"label":"ReferenceTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js","statSize":1184},{"id":6521,"label":"ResourceContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js","statSize":9218},{"id":4953,"label":"ServingsChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js","statSize":1296},{"id":4475,"label":"TechnicalTermChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js","statSize":1435},{"id":7667,"label":"TitleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js","statSize":2644},{"id":9885,"label":"TrueFalseChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js","statSize":9079},{"id":4020,"label":"TrueFalseTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js","statSize":1141}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/parser/json","statSize":11101,"groups":[{"id":5663,"label":"JsonParser.js","path":"./dist/cjs/parser/json/JsonParser.js","statSize":11101}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/parser/text","statSize":5214,"groups":[{"id":777,"label":"TextParser.js","path":"./dist/cjs/parser/text/TextParser.js","statSize":4910},{"label":"peg","path":"./dist/cjs/parser/text/peg","statSize":304,"groups":[{"id":2220,"label":"TextPegParser.js","path":"./dist/cjs/parser/text/peg/TextPegParser.js","statSize":304}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"utils","path":"./dist/cjs/utils","statSize":38045,"groups":[{"id":6989,"label":"ArrayUtils.js","path":"./dist/cjs/utils/ArrayUtils.js","statSize":1474},{"id":8903,"label":"BitUtils.js","path":"./dist/cjs/utils/BitUtils.js","statSize":2625},{"id":4078,"label":"BooleanUtils.js","path":"./dist/cjs/utils/BooleanUtils.js","statSize":1839},{"id":8025,"label":"NumberUtils.js","path":"./dist/cjs/utils/NumberUtils.js","statSize":1890},{"id":955,"label":"ObjectUtils.js","path":"./dist/cjs/utils/ObjectUtils.js","statSize":14455},{"id":9681,"label":"StringUtils.js","path":"./dist/cjs/utils/StringUtils.js","statSize":6529},{"id":201,"label":"UrlUtils.js","path":"./dist/cjs/utils/UrlUtils.js","statSize":986},{"label":"env","path":"./dist/cjs/utils/env","statSize":8247,"groups":[{"id":6936,"label":"Env.js","path":"./dist/cjs/utils/env/Env.js","statSize":4069},{"id":6278,"label":"Environment.js","path":"./dist/cjs/utils/env/Environment.js","statSize":420},{"id":9561,"label":"Os.js","path":"./dist/cjs/utils/env/Os.js","statSize":361},{"id":2287,"label":"Version.js","path":"./dist/cjs/utils/env/Version.js","statSize":284},{"id":5659,"label":"userAgent.js","path":"./dist/cjs/utils/env/userAgent.js","statSize":3113}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":515439,"gzipSize":101148},{"label":"node_modules","path":"./node_modules","statSize":15077,"groups":[{"label":"@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":4718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0},{"label":"@ungap/structured-clone/cjs","path":"./node_modules/@ungap/structured-clone/cjs","statSize":8097,"groups":[{"id":5005,"label":"deserialize.js","path":"./node_modules/@ungap/structured-clone/cjs/deserialize.js","statSize":2210},{"id":7678,"label":"index.js","path":"./node_modules/@ungap/structured-clone/cjs/index.js","statSize":941},{"id":5416,"label":"serialize.js","path":"./node_modules/@ungap/structured-clone/cjs/serialize.js","statSize":4451},{"id":1731,"label":"types.js","path":"./node_modules/@ungap/structured-clone/cjs/types.js","statSize":495}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
|
|
34
|
+
window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1569306,"parsedSize":515889,"gzipSize":101251,"groups":[{"label":"dist/cjs","path":"./dist/cjs","statSize":1554229,"groups":[{"id":1791,"label":"BitmarkParserGenerator.js","path":"./dist/cjs/BitmarkParserGenerator.js","statSize":32200},{"label":"ast","path":"./dist/cjs/ast","statSize":174075,"groups":[{"id":5126,"label":"Ast.js","path":"./dist/cjs/ast/Ast.js","statSize":7709},{"id":4470,"label":"BaseBuilder.js","path":"./dist/cjs/ast/BaseBuilder.js","statSize":8124},{"id":5809,"label":"Builder.js","path":"./dist/cjs/ast/Builder.js","statSize":97241},{"id":5533,"label":"ResourceBuilder.js","path":"./dist/cjs/ast/ResourceBuilder.js","statSize":50975},{"label":"rules","path":"./dist/cjs/ast/rules","statSize":6615,"groups":[{"id":4564,"label":"NodeValidator.js","path":"./dist/cjs/ast/rules/NodeValidator.js","statSize":6615}],"parsedSize":0,"gzipSize":0},{"label":"writer","path":"./dist/cjs/ast/writer","statSize":3411,"groups":[{"id":6772,"label":"StringWriter.js","path":"./dist/cjs/ast/writer/StringWriter.js","statSize":3411}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"breakscaping","path":"./dist/cjs/breakscaping","statSize":17401,"groups":[{"id":7735,"label":"Breakscape.js","path":"./dist/cjs/breakscaping/Breakscape.js","statSize":17401}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/config","statSize":252945,"groups":[{"id":2028,"label":"Config.js","path":"./dist/cjs/config/Config.js","statSize":15538},{"id":4445,"label":"ConfigHydrator.js","path":"./dist/cjs/config/ConfigHydrator.js","statSize":7700},{"label":"raw","path":"./dist/cjs/config/raw","statSize":229707,"groups":[{"id":6853,"label":"bits.js","path":"./dist/cjs/config/raw/bits.js","statSize":117118},{"id":5554,"label":"cardSets.js","path":"./dist/cjs/config/raw/cardSets.js","statSize":22160},{"id":5837,"label":"groups.js","path":"./dist/cjs/config/raw/groups.js","statSize":45341},{"id":9916,"label":"properties.js","path":"./dist/cjs/config/raw/properties.js","statSize":39183},{"id":168,"label":"resources.js","path":"./dist/cjs/config/raw/resources.js","statSize":4467},{"id":9248,"label":"tags.js","path":"./dist/cjs/config/raw/tags.js","statSize":1438}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generated","path":"./dist/cjs/generated","statSize":479358,"groups":[{"id":1464,"label":"build-info.js","path":"./dist/cjs/generated/build-info.js","statSize":438},{"label":"parser","path":"./dist/cjs/generated/parser","statSize":478920,"groups":[{"label":"bitmark","path":"./dist/cjs/generated/parser/bitmark","statSize":95348,"groups":[{"id":5057,"label":"bitmark-peggy-parser.js","path":"./dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js","statSize":95348}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generated/parser/text","statSize":383572,"groups":[{"id":8321,"label":"text-peggy-parser.js","path":"./dist/cjs/generated/parser/text/text-peggy-parser.js","statSize":383572}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generator","path":"./dist/cjs/generator","statSize":233687,"groups":[{"id":4,"label":"AstWalkerGenerator.js","path":"./dist/cjs/generator/AstWalkerGenerator.js","statSize":3051},{"label":"bitmark","path":"./dist/cjs/generator/bitmark","statSize":108267,"groups":[{"id":5087,"label":"BitmarkGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkGenerator.js","statSize":106202},{"id":3968,"label":"BitmarkStringGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkStringGenerator.js","statSize":2065}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/generator/json","statSize":74475,"groups":[{"id":2497,"label":"JsonGenerator.js","path":"./dist/cjs/generator/json/JsonGenerator.js","statSize":70525},{"id":7984,"label":"JsonObjectGenerator.js","path":"./dist/cjs/generator/json/JsonObjectGenerator.js","statSize":2002},{"id":98,"label":"JsonStringGenerator.js","path":"./dist/cjs/generator/json/JsonStringGenerator.js","statSize":1948}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generator/text","statSize":47894,"groups":[{"id":431,"label":"TextGenerator.js","path":"./dist/cjs/generator/text/TextGenerator.js","statSize":47894}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":5469,"label":"index.js","path":"./dist/cjs/index.js","statSize":5650,"parsedSize":515757,"gzipSize":101251},{"label":"info","path":"./dist/cjs/info","statSize":1971,"groups":[{"id":3881,"label":"InfoBuilder.js","path":"./dist/cjs/info/InfoBuilder.js","statSize":1971}],"parsedSize":0,"gzipSize":0},{"label":"init","path":"./dist/cjs/init","statSize":480,"groups":[{"id":1412,"label":"init.js","path":"./dist/cjs/init/init.js","statSize":480}],"parsedSize":0,"gzipSize":0},{"label":"model","path":"./dist/cjs/model","statSize":82441,"groups":[{"label":"ast","path":"./dist/cjs/model/ast","statSize":18236,"groups":[{"id":126,"label":"NodeType.js","path":"./dist/cjs/model/ast/NodeType.js","statSize":18236}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/model/config","statSize":26281,"groups":[{"id":6634,"label":"AbstractTagConfig.js","path":"./dist/cjs/model/config/AbstractTagConfig.js","statSize":617},{"id":3619,"label":"BitConfig.js","path":"./dist/cjs/model/config/BitConfig.js","statSize":2977},{"id":5814,"label":"CardSetConfig.js","path":"./dist/cjs/model/config/CardSetConfig.js","statSize":781},{"id":9371,"label":"CardVariantConfig.js","path":"./dist/cjs/model/config/CardVariantConfig.js","statSize":1073},{"id":9788,"label":"MarkupTagConfig.js","path":"./dist/cjs/model/config/MarkupTagConfig.js","statSize":1553},{"id":1519,"label":"PropertyTagConfig.js","path":"./dist/cjs/model/config/PropertyTagConfig.js","statSize":2005},{"id":9600,"label":"ResourceTagConfig.js","path":"./dist/cjs/model/config/ResourceTagConfig.js","statSize":1594},{"id":1457,"label":"ResourcesConfig.js","path":"./dist/cjs/model/config/ResourcesConfig.js","statSize":1127},{"label":"enum","path":"./dist/cjs/model/config/enum","statSize":14554,"groups":[{"id":8199,"label":"CardSetConfigKey.js","path":"./dist/cjs/model/config/enum/CardSetConfigKey.js","statSize":1043},{"id":5591,"label":"ConfigKey.js","path":"./dist/cjs/model/config/enum/ConfigKey.js","statSize":1390},{"id":7112,"label":"GroupConfigKey.js","path":"./dist/cjs/model/config/enum/GroupConfigKey.js","statSize":2905},{"id":6915,"label":"GroupConfigType.js","path":"./dist/cjs/model/config/enum/GroupConfigType.js","statSize":493},{"id":9888,"label":"PropertyConfigKey.js","path":"./dist/cjs/model/config/enum/PropertyConfigKey.js","statSize":6622},{"id":5051,"label":"ResourceConfigKey.js","path":"./dist/cjs/model/config/enum/ResourceConfigKey.js","statSize":1355},{"id":7797,"label":"TagConfigKey.js","path":"./dist/cjs/model/config/enum/TagConfigKey.js","statSize":746}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"enum","path":"./dist/cjs/model/enum","statSize":37142,"groups":[{"id":5512,"label":"BitTagType.js","path":"./dist/cjs/model/enum/BitTagType.js","statSize":457},{"id":5854,"label":"BitType.js","path":"./dist/cjs/model/enum/BitType.js","statSize":25671},{"id":8588,"label":"BitmarkParserType.js","path":"./dist/cjs/model/enum/BitmarkParserType.js","statSize":335},{"id":3811,"label":"BitmarkVersion.js","path":"./dist/cjs/model/enum/BitmarkVersion.js","statSize":466},{"id":4410,"label":"BodyBitType.js","path":"./dist/cjs/model/enum/BodyBitType.js","statSize":426},{"id":8453,"label":"BodyTextFormat.js","path":"./dist/cjs/model/enum/BodyTextFormat.js","statSize":476},{"id":1163,"label":"CardSetVersion.js","path":"./dist/cjs/model/enum/CardSetVersion.js","statSize":322},{"id":3778,"label":"Count.js","path":"./dist/cjs/model/enum/Count.js","statSize":281},{"id":6220,"label":"DeprecatedTextFormat.js","path":"./dist/cjs/model/enum/DeprecatedTextFormat.js","statSize":403},{"id":363,"label":"ExampleType.js","path":"./dist/cjs/model/enum/ExampleType.js","statSize":434},{"id":7203,"label":"PropertyAstKey.js","path":"./dist/cjs/model/enum/PropertyAstKey.js","statSize":615},{"id":9727,"label":"PropertyFormat.js","path":"./dist/cjs/model/enum/PropertyFormat.js","statSize":822},{"id":166,"label":"PropertyTag.js","path":"./dist/cjs/model/enum/PropertyTag.js","statSize":535},{"id":9984,"label":"ResourceJsonKey.js","path":"./dist/cjs/model/enum/ResourceJsonKey.js","statSize":959},{"id":6149,"label":"ResourceTag.js","path":"./dist/cjs/model/enum/ResourceTag.js","statSize":1230},{"id":9917,"label":"Tag.js","path":"./dist/cjs/model/enum/Tag.js","statSize":533},{"id":385,"label":"TextFormat.js","path":"./dist/cjs/model/enum/TextFormat.js","statSize":582},{"id":6877,"label":"TextLocation.js","path":"./dist/cjs/model/enum/TextLocation.js","statSize":425},{"id":2483,"label":"TextMarkType.js","path":"./dist/cjs/model/enum/TextMarkType.js","statSize":1164},{"id":9554,"label":"TextNodeType.js","path":"./dist/cjs/model/enum/TextNodeType.js","statSize":1006}],"parsedSize":0,"gzipSize":0},{"label":"info/enum","path":"./dist/cjs/model/info/enum","statSize":782,"groups":[{"id":3069,"label":"InfoFormat.js","path":"./dist/cjs/model/info/enum/InfoFormat.js","statSize":334},{"id":486,"label":"InfoType.js","path":"./dist/cjs/model/info/enum/InfoType.js","statSize":448}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./dist/cjs/parser","statSize":235976,"groups":[{"label":"bitmark","path":"./dist/cjs/parser/bitmark","statSize":219761,"groups":[{"id":5633,"label":"BitmarkParser.js","path":"./dist/cjs/parser/bitmark/BitmarkParser.js","statSize":795},{"label":"peg","path":"./dist/cjs/parser/bitmark/peg","statSize":218966,"groups":[{"id":5078,"label":"BitmarkPegParser.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParser.js","statSize":319},{"id":3206,"label":"BitmarkPegParserHelper.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js","statSize":21782},{"id":7124,"label":"BitmarkPegParserProcessor.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js","statSize":34675},{"id":3029,"label":"BitmarkPegParserTypes.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js","statSize":2433},{"id":4266,"label":"BitmarkPegParserValidator.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js","statSize":32596},{"id":7461,"label":"PeggyGrammarLocation.js","path":"./dist/cjs/parser/bitmark/peg/PeggyGrammarLocation.js","statSize":2879},{"label":"contentProcessors","path":"./dist/cjs/parser/bitmark/peg/contentProcessors","statSize":124282,"groups":[{"id":5033,"label":"BodyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js","statSize":11928},{"id":3045,"label":"BookChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js","statSize":2430},{"id":1083,"label":"CardContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js","statSize":40443},{"id":554,"label":"ClozeTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js","statSize":1395},{"id":6128,"label":"ContentProcessorUtils.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js","statSize":2643},{"id":4402,"label":"DefaultTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js","statSize":3150},{"id":4091,"label":"ExampleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js","statSize":6973},{"id":4382,"label":"FooterContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js","statSize":2884},{"id":3904,"label":"GapChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js","statSize":1689},{"id":8848,"label":"ImageSourceChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js","statSize":3252},{"id":6991,"label":"InternalCommentTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js","statSize":672},{"id":9289,"label":"ItemLeadChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js","statSize":1652},{"id":8216,"label":"ItemLeadTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js","statSize":914},{"id":5189,"label":"MarkChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js","statSize":2560},{"id":3063,"label":"MarkConfigChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js","statSize":2439},{"id":5980,"label":"MarkTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js","statSize":494},{"id":21,"label":"PersonChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js","statSize":2577},{"id":9647,"label":"PropertyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js","statSize":9529},{"id":3967,"label":"RatingLevelChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js","statSize":1732},{"id":3990,"label":"ReferenceTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js","statSize":1184},{"id":6521,"label":"ResourceContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js","statSize":8147},{"id":4953,"label":"ServingsChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js","statSize":1296},{"id":4475,"label":"TechnicalTermChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js","statSize":1435},{"id":7667,"label":"TitleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js","statSize":2644},{"id":9885,"label":"TrueFalseChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js","statSize":9079},{"id":4020,"label":"TrueFalseTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js","statSize":1141}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/parser/json","statSize":11001,"groups":[{"id":5663,"label":"JsonParser.js","path":"./dist/cjs/parser/json/JsonParser.js","statSize":11001}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/parser/text","statSize":5214,"groups":[{"id":777,"label":"TextParser.js","path":"./dist/cjs/parser/text/TextParser.js","statSize":4910},{"label":"peg","path":"./dist/cjs/parser/text/peg","statSize":304,"groups":[{"id":2220,"label":"TextPegParser.js","path":"./dist/cjs/parser/text/peg/TextPegParser.js","statSize":304}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"utils","path":"./dist/cjs/utils","statSize":38045,"groups":[{"id":6989,"label":"ArrayUtils.js","path":"./dist/cjs/utils/ArrayUtils.js","statSize":1474},{"id":8903,"label":"BitUtils.js","path":"./dist/cjs/utils/BitUtils.js","statSize":2625},{"id":4078,"label":"BooleanUtils.js","path":"./dist/cjs/utils/BooleanUtils.js","statSize":1839},{"id":8025,"label":"NumberUtils.js","path":"./dist/cjs/utils/NumberUtils.js","statSize":1890},{"id":955,"label":"ObjectUtils.js","path":"./dist/cjs/utils/ObjectUtils.js","statSize":14455},{"id":9681,"label":"StringUtils.js","path":"./dist/cjs/utils/StringUtils.js","statSize":6529},{"id":201,"label":"UrlUtils.js","path":"./dist/cjs/utils/UrlUtils.js","statSize":986},{"label":"env","path":"./dist/cjs/utils/env","statSize":8247,"groups":[{"id":6936,"label":"Env.js","path":"./dist/cjs/utils/env/Env.js","statSize":4069},{"id":6278,"label":"Environment.js","path":"./dist/cjs/utils/env/Environment.js","statSize":420},{"id":9561,"label":"Os.js","path":"./dist/cjs/utils/env/Os.js","statSize":361},{"id":2287,"label":"Version.js","path":"./dist/cjs/utils/env/Version.js","statSize":284},{"id":5659,"label":"userAgent.js","path":"./dist/cjs/utils/env/userAgent.js","statSize":3113}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":515757,"gzipSize":101251},{"label":"node_modules","path":"./node_modules","statSize":15077,"groups":[{"label":"@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":4718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0},{"label":"@ungap/structured-clone/cjs","path":"./node_modules/@ungap/structured-clone/cjs","statSize":8097,"groups":[{"id":5005,"label":"deserialize.js","path":"./node_modules/@ungap/structured-clone/cjs/deserialize.js","statSize":2210},{"id":7678,"label":"index.js","path":"./node_modules/@ungap/structured-clone/cjs/index.js","statSize":941},{"id":5416,"label":"serialize.js","path":"./node_modules/@ungap/structured-clone/cjs/serialize.js","statSize":4451},{"id":1731,"label":"types.js","path":"./node_modules/@ungap/structured-clone/cjs/types.js","statSize":495}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
|
|
35
35
|
window.entrypoints = ["main"];
|
|
36
36
|
window.defaultSizes = "stat";
|
|
37
37
|
</script>
|
|
@@ -59,7 +59,7 @@ const InfoBuilder_1 = require("./info/InfoBuilder");
|
|
|
59
59
|
const InfoType_1 = require("./model/info/enum/InfoType");
|
|
60
60
|
const InfoFormat_1 = require("./model/info/enum/InfoFormat");
|
|
61
61
|
const Config_1 = require("./config/Config");
|
|
62
|
-
|
|
62
|
+
// import { TextFormat, TextFormatType } from './model/enum/TextFormat';
|
|
63
63
|
const TextGenerator_1 = require("./generator/text/TextGenerator");
|
|
64
64
|
const TextParser_1 = require("./parser/text/TextParser");
|
|
65
65
|
/*
|
|
@@ -81,6 +81,7 @@ const BitmarkFileGenerator_1 = require("./generator/bitmark/BitmarkFileGenerator
|
|
|
81
81
|
const JsonFileGenerator_1 = require("./generator/json/JsonFileGenerator");
|
|
82
82
|
const Breakscape_1 = require("./breakscaping/Breakscape");
|
|
83
83
|
const TextLocation_1 = require("./model/enum/TextLocation");
|
|
84
|
+
const TextFormat_1 = require("./model/enum/TextFormat");
|
|
84
85
|
/* STRIP:END */
|
|
85
86
|
STRIP;
|
|
86
87
|
/**
|
|
@@ -582,7 +583,7 @@ class BitmarkParserGenerator {
|
|
|
582
583
|
const opts = Object.assign({}, options);
|
|
583
584
|
const fileOptions = Object.assign({}, opts.fileOptions);
|
|
584
585
|
const jsonOptions = Object.assign({}, opts.jsonOptions);
|
|
585
|
-
const textFormat = (_a = opts.textFormat) !== null && _a !== void 0 ? _a : TextFormat_1.TextFormat.bitmarkText;
|
|
586
|
+
const textFormat = (_a = TextFormat_1.TextFormat.fromValue(opts.textFormat)) !== null && _a !== void 0 ? _a : TextFormat_1.TextFormat.bitmarkText;
|
|
586
587
|
const textLocation = (_b = opts.textLocation) !== null && _b !== void 0 ? _b : TextLocation_1.TextLocation.body;
|
|
587
588
|
let inStr = input;
|
|
588
589
|
// Check if we are trying to write to a file in the browser
|
|
@@ -654,14 +655,13 @@ class BitmarkParserGenerator {
|
|
|
654
655
|
* @throws Error if any error occurs
|
|
655
656
|
*/
|
|
656
657
|
breakscapeText(input, options) {
|
|
658
|
+
var _a, _b;
|
|
657
659
|
if (!input)
|
|
658
660
|
return input;
|
|
659
661
|
const opts = Object.assign({}, options);
|
|
660
662
|
const fileOptions = Object.assign({}, opts.fileOptions);
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
if (!opts.textLocation)
|
|
664
|
-
opts.textLocation = TextLocation_1.TextLocation.body;
|
|
663
|
+
const textFormat = (_a = TextFormat_1.TextFormat.fromValue(opts.textFormat)) !== null && _a !== void 0 ? _a : TextFormat_1.TextFormat.bitmarkText;
|
|
664
|
+
const textLocation = (_b = opts.textLocation) !== null && _b !== void 0 ? _b : TextLocation_1.TextLocation.body;
|
|
665
665
|
let inStr = input;
|
|
666
666
|
// Check if we are trying to write to a file in the browser
|
|
667
667
|
if (Env_1.env.isBrowser && opts.outputFile) {
|
|
@@ -679,8 +679,8 @@ class BitmarkParserGenerator {
|
|
|
679
679
|
}
|
|
680
680
|
// Do the breakscape
|
|
681
681
|
const res = Breakscape_1.Breakscape.breakscape(inStr, {
|
|
682
|
-
textFormat
|
|
683
|
-
textLocation
|
|
682
|
+
textFormat,
|
|
683
|
+
textLocation,
|
|
684
684
|
});
|
|
685
685
|
if (opts.outputFile) {
|
|
686
686
|
const output = opts.outputFile.toString();
|
|
@@ -714,14 +714,13 @@ class BitmarkParserGenerator {
|
|
|
714
714
|
* @throws Error if any error occurs
|
|
715
715
|
*/
|
|
716
716
|
unbreakscapeText(input, options) {
|
|
717
|
+
var _a, _b;
|
|
717
718
|
if (!input)
|
|
718
719
|
return input;
|
|
719
720
|
const opts = Object.assign({}, options);
|
|
720
721
|
const fileOptions = Object.assign({}, opts.fileOptions);
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
if (!opts.textLocation)
|
|
724
|
-
opts.textLocation = TextLocation_1.TextLocation.body;
|
|
722
|
+
const textFormat = (_a = TextFormat_1.TextFormat.fromValue(opts.textFormat)) !== null && _a !== void 0 ? _a : TextFormat_1.TextFormat.bitmarkText;
|
|
723
|
+
const textLocation = (_b = opts.textLocation) !== null && _b !== void 0 ? _b : TextLocation_1.TextLocation.body;
|
|
725
724
|
let inStr = input;
|
|
726
725
|
// Check if we are trying to write to a file in the browser
|
|
727
726
|
if (Env_1.env.isBrowser && opts.outputFile) {
|
|
@@ -739,8 +738,8 @@ class BitmarkParserGenerator {
|
|
|
739
738
|
}
|
|
740
739
|
// Do the unbreakscape
|
|
741
740
|
const res = Breakscape_1.Breakscape.unbreakscape(inStr, {
|
|
742
|
-
textFormat
|
|
743
|
-
textLocation
|
|
741
|
+
textFormat,
|
|
742
|
+
textLocation,
|
|
744
743
|
});
|
|
745
744
|
if (opts.outputFile) {
|
|
746
745
|
const output = opts.outputFile.toString();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BitmarkParserGenerator.js","sourceRoot":"","sources":["../../src/BitmarkParserGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAyC;AACzC,kDAAyD;AAEzD,mCAAgC;AAEhC,uFAAoF;AAEpF,8EAA2E;AAE3E,sEAA0F;AAC1F,kEAA+D;AAC/D,yDAAsD;AACtD,yCAAsC;AAEtC,oDAA+D;AAC/D,yDAAoE;AACpE,6DAA0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uilder_1.BaseBuilder {
|
|
|
55
55
|
* @returns
|
|
56
56
|
*/
|
|
57
57
|
buildBit(data) {
|
|
58
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
58
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
59
59
|
const bitConfig = Config_1.Config.getBitConfig(data.bitType);
|
|
60
60
|
const bitType = data.bitType;
|
|
61
61
|
// Text Format (accepts deprecated values, and converts them to the new format)
|
|
62
62
|
const deprecatedTextFormat = DeprecatedTextFormat_1.DeprecatedTextFormat.fromValue(data.textFormat);
|
|
63
63
|
let textFormat = (_a = TextFormat_1.TextFormat.fromValue(data.textFormat)) !== null && _a !== void 0 ? _a : bitConfig.textFormatDefault;
|
|
64
|
-
if (deprecatedTextFormat === DeprecatedTextFormat_1.DeprecatedTextFormat.bitmarkMinusMinus
|
|
65
|
-
deprecatedTextFormat === DeprecatedTextFormat_1.DeprecatedTextFormat.bitmarkPlusPlus) {
|
|
64
|
+
if (deprecatedTextFormat === DeprecatedTextFormat_1.DeprecatedTextFormat.bitmarkMinusMinus) {
|
|
66
65
|
textFormat = TextFormat_1.TextFormat.bitmarkText;
|
|
67
66
|
}
|
|
68
67
|
const context = {
|
|
@@ -82,19 +81,19 @@ class Builder extends BaseBuilder_1.BaseBuilder {
|
|
|
82
81
|
// NOTE: Node order is important and is defined here
|
|
83
82
|
const node = Object.assign(Object.assign({ bitType, bitLevel: data.bitLevel, textFormat, resourceType: ResourceTag_1.ResourceTag.fromValue(data.resourceType), isCommented: data.isCommented,
|
|
84
83
|
// Properties
|
|
85
|
-
id: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.id, data.id), internalComment: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.internalComment, data.internalComment), customerId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.customerId, data.customerId), customerExternalId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.customerExternalId, data.customerExternalId), externalId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.externalId, data.externalId), spaceId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.spaceId, data.spaceId), padletId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.padletId, data.padletId), jupyterId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.jupyterId, data.jupyterId), jupyterExecutionCount: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.jupyterExecutionCount, data.jupyterExecutionCount), isPublic: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.isPublic, data.isPublic), aiGenerated: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.aiGenerated, data.aiGenerated), machineTranslated: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.machineTranslated, data.machineTranslated), searchIndex: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.searchIndex, data.searchIndex), analyticsTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.analyticsTag, data.analyticsTag), categoryTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.categoryTag, data.categoryTag), topicTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.topicTag, data.topicTag), altLangTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.altLangTag, data.altLangTag), feedbackEngine: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.feedbackEngine, data.feedbackEngine), feedbackType: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.feedbackType, data.feedbackType), disableFeedback: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.disableFeedback, data.disableFeedback), diffTo: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffTo, data.diffTo), diffOp: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffOp, data.diffOp), diffRef: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffRef, data.diffRef), diffContext: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffContext, data.diffContext), diffTime: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffTime, data.diffTime), path: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.path, data.path), releaseVersion: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.releaseVersion, data.releaseVersion), releaseKind: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.releaseKind, data.releaseKind), releaseDate: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.releaseDate, data.releaseDate), book: this.buildBooks(context, data.book), ageRange: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.ageRange, data.ageRange), lang: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.lang, data.lang), language: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.language, data.language), publisher: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.publisher, data.publisher), publisherName: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.publisherName, data.publisherName), theme: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.theme, data.theme), computerLanguage: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.computerLanguage, data.computerLanguage), target: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.target, data.target), slug: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.slug, data.slug), tag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tag, data.tag), reductionTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.reductionTag, data.reductionTag), bubbleTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.bubbleTag, data.bubbleTag), levelCEFRp: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.levelCEFRp, data.levelCEFRp), levelCEFR: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.levelCEFR, data.levelCEFR), levelILR: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.levelILR, data.levelILR), levelACTFL: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.levelACTFL, data.levelACTFL), icon: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.icon, data.icon), iconTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.iconTag, data.iconTag), colorTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.colorTag, data.colorTag), flashcardSet: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.flashcardSet, data.flashcardSet), subtype: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.subtype, data.subtype), bookAlias: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.bookAlias, data.bookAlias), bookDiff: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.bookDiff, data.bookDiff), coverImage: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.coverImage, data.coverImage), coverColor: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.coverColor, data.coverColor), publications: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.publications, data.publications), author: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.author, data.author), subject: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.subject, data.subject), date: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.date, data.date), dateEnd: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.dateEnd, data.dateEnd), location: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.location, data.location), kind: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.kind, data.kind), hasMarkAsDone: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.hasMarkAsDone, data.hasMarkAsDone), processHandIn: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.processHandIn, data.processHandIn), chatWithBook: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.chatWithBook, data.chatWithBook), chatWithBookBrainKey: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.chatWithBookBrainKey, data.chatWithBookBrainKey), action: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.action, data.action), showInIndex: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.showInIndex, data.showInIndex), refAuthor: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.refAuthor, data.refAuthor), refBookTitle: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.refBookTitle, data.refBookTitle), refPublisher: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.refPublisher, data.refPublisher), refPublicationYear: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.refPublicationYear, data.refPublicationYear), citationStyle: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.citationStyle, data.citationStyle), blockId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.blockId, data.blockId), pageNo: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.pageNo, data.pageNo), x: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.x, data.x), y: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.y, data.y), width: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.width, data.width), height: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.height, data.height), index: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.index, data.index), classification: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.classification, data.classification), availableClassifications: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.availableClassifications, data.availableClassifications), allowedBit: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.allowedBit, data.allowedBit), tableFixedHeader: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableFixedHeader, data.tableFixedHeader), tableSearch: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableSearch, data.tableSearch), tableSort: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableSort, data.tableSort), tablePagination: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tablePagination, data.tablePagination), tablePaginationLimit: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tablePaginationLimit, data.tablePaginationLimit), tableHeight: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableHeight, data.tableHeight), tableWhitespaceNoWrap: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableWhitespaceNoWrap, data.tableWhitespaceNoWrap), tableAutoWidth: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableAutoWidth, data.tableAutoWidth), tableResizableColumns: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableResizableColumns, data.tableResizableColumns), tableColumnMinWidth: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableColumnMinWidth, data.tableColumnMinWidth), quizCountItems: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.quizCountItems, data.quizCountItems), quizStrikethroughSolutions: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.quizStrikethroughSolutions, data.quizStrikethroughSolutions), codeLineNumbers: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.codeLineNumbers, data.codeLineNumbers), codeMinimap: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.codeMinimap, data.codeMinimap), stripePricingTableId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.stripePricingTableId, data.stripePricingTableId), stripePublishableKey: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.stripePublishableKey, data.stripePublishableKey), thumbImage: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.thumbImage, data.thumbImage), scormSource: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.scormSource, data.scormSource), posterImage: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.posterImage, data.posterImage), focusX: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.focusX, data.focusX), focusY: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.focusY, data.focusY), pointerLeft: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.pointerLeft, data.pointerLeft), pointerTop: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.pointerTop, data.pointerTop), listItemIndent: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.listItemIndent, data.listItemIndent), backgroundWallpaper: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.backgroundWallpaper, data.backgroundWallpaper), hasBookNavigation: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.hasBookNavigation, data.hasBookNavigation), duration: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.duration, data.duration), deeplink: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.deeplink, data.deeplink), externalLink: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.externalLink, data.externalLink), externalLinkText: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.externalLinkText, data.externalLinkText), videoCallLink: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.videoCallLink, data.videoCallLink), vendorDashboardId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.vendorDashboardId, data.vendorDashboardId), vendorSurveyId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.vendorSurveyId, data.vendorSurveyId), vendorUrl: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.vendorUrl, data.vendorUrl), search: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.search, data.search), list: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.list, data.list), layer: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.layer, data.layer), layerRole: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.layerRole, data.layerRole), textReference: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.textReference, data.textReference), isTracked: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.isTracked, data.isTracked), isInfoOnly: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.isInfoOnly, data.isInfoOnly), imageFirst: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.imageFirst, data.imageFirst), activityType: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.activityType, data.activityType), labelTrue: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.labelTrue, data.labelTrue), labelFalse: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.labelFalse, data.labelFalse), content2Buy: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.content2Buy, data.content2Buy), mailingList: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.mailingList, data.mailingList), buttonCaption: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.buttonCaption, data.buttonCaption), callToActionUrl: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.callToActionUrl, data.callToActionUrl), caption: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.caption), quotedPerson: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.quotedPerson, data.quotedPerson), reasonableNumOfChars: reasonableNumOfCharsProperty, resolved: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.resolved, data.resolved), resolvedDate: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.resolvedDate, data.resolvedDate), resolvedBy: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.resolvedBy, data.resolvedBy), handInAcceptFileType: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.handInAcceptFileType, data.handInAcceptFileType), handInRequirement: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.handInRequirement, data.handInRequirement), handInInstruction: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.handInInstruction, data.handInInstruction), maxCreatedBits: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.maxCreatedBits, data.maxCreatedBits), maxDisplayLevel: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.maxDisplayLevel, data.maxDisplayLevel), maxTocChapterLevel: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.maxTocChapterLevel, data.maxTocChapterLevel), page: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.page, data.page), productId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productId, data.productId), product: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.product, data.product), productList: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productList, data.productList), productVideo: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productVideo, data.productVideo), productVideoList: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productVideoList, data.productVideoList), productFolder: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productFolder, data.productFolder), technicalTerm: this.buildTechnicalTerm(context, data.technicalTerm), servings: this.buildServings(context, data.servings), ratingLevelStart: this.buildRatingLevelStartEnd(context, data.ratingLevelStart), ratingLevelEnd: this.buildRatingLevelStartEnd(context, data.ratingLevelEnd), ratingLevelSelected: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.ratingLevelSelected, data.ratingLevelSelected), markConfig: this.buildMarkConfigs(context, data.markConfig), imageSource: this.buildImageSource(context, data.imageSource), person: this.buildPerson(context, data.person), bot: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.bot, data.bot), referenceProperty: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.property_reference, data.referenceProperty),
|
|
84
|
+
id: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.id, data.id), internalComment: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.internalComment, data.internalComment), customerId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.customerId, data.customerId), customerExternalId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.customerExternalId, data.customerExternalId), externalId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.externalId, data.externalId), spaceId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.spaceId, data.spaceId), padletId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.padletId, data.padletId), jupyterId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.jupyterId, data.jupyterId), jupyterExecutionCount: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.jupyterExecutionCount, data.jupyterExecutionCount), isPublic: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.isPublic, data.isPublic), aiGenerated: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.aiGenerated, data.aiGenerated), machineTranslated: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.machineTranslated, data.machineTranslated), searchIndex: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.searchIndex, data.searchIndex), analyticsTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.analyticsTag, data.analyticsTag), categoryTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.categoryTag, data.categoryTag), topicTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.topicTag, data.topicTag), altLangTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.altLangTag, data.altLangTag), feedbackEngine: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.feedbackEngine, data.feedbackEngine), feedbackType: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.feedbackType, data.feedbackType), disableFeedback: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.disableFeedback, data.disableFeedback), diffTo: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffTo, data.diffTo), diffOp: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffOp, data.diffOp), diffRef: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffRef, data.diffRef), diffContext: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffContext, data.diffContext), diffTime: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.diffTime, data.diffTime), path: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.path, data.path), releaseVersion: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.releaseVersion, data.releaseVersion), releaseKind: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.releaseKind, data.releaseKind), releaseDate: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.releaseDate, data.releaseDate), book: this.buildBooks(context, data.book), ageRange: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.ageRange, data.ageRange), lang: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.lang, data.lang), language: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.language, data.language), publisher: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.publisher, data.publisher), publisherName: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.publisherName, data.publisherName), theme: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.theme, data.theme), computerLanguage: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.computerLanguage, data.computerLanguage), target: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.target, data.target), slug: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.slug, data.slug), tag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tag, data.tag), reductionTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.reductionTag, data.reductionTag), bubbleTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.bubbleTag, data.bubbleTag), levelCEFRp: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.levelCEFRp, data.levelCEFRp), levelCEFR: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.levelCEFR, data.levelCEFR), levelILR: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.levelILR, data.levelILR), levelACTFL: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.levelACTFL, data.levelACTFL), icon: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.icon, data.icon), iconTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.iconTag, data.iconTag), colorTag: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.colorTag, data.colorTag), flashcardSet: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.flashcardSet, data.flashcardSet), subtype: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.subtype, data.subtype), bookAlias: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.bookAlias, data.bookAlias), bookDiff: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.bookDiff, data.bookDiff), coverImage: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.coverImage, data.coverImage), coverColor: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.coverColor, data.coverColor), publications: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.publications, data.publications), author: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.author, data.author), subject: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.subject, data.subject), date: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.date, data.date), dateEnd: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.dateEnd, data.dateEnd), location: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.location, data.location), kind: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.kind, data.kind), hasMarkAsDone: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.hasMarkAsDone, data.hasMarkAsDone), processHandIn: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.processHandIn, data.processHandIn), chatWithBook: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.chatWithBook, data.chatWithBook), chatWithBookBrainKey: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.chatWithBookBrainKey, data.chatWithBookBrainKey), action: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.action, data.action), showInIndex: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.showInIndex, data.showInIndex), refAuthor: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.refAuthor, data.refAuthor), refBookTitle: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.refBookTitle, data.refBookTitle), refPublisher: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.refPublisher, data.refPublisher), refPublicationYear: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.refPublicationYear, data.refPublicationYear), citationStyle: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.citationStyle, data.citationStyle), blockId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.blockId, data.blockId), pageNo: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.pageNo, data.pageNo), x: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.x, data.x), y: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.y, data.y), width: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.width, data.width), height: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.height, data.height), index: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.index, data.index), classification: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.classification, data.classification), availableClassifications: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.availableClassifications, data.availableClassifications), allowedBit: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.allowedBit, data.allowedBit), tableFixedHeader: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableFixedHeader, data.tableFixedHeader), tableSearch: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableSearch, data.tableSearch), tableSort: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableSort, data.tableSort), tablePagination: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tablePagination, data.tablePagination), tablePaginationLimit: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tablePaginationLimit, data.tablePaginationLimit), tableHeight: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableHeight, data.tableHeight), tableWhitespaceNoWrap: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableWhitespaceNoWrap, data.tableWhitespaceNoWrap), tableAutoWidth: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableAutoWidth, data.tableAutoWidth), tableResizableColumns: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableResizableColumns, data.tableResizableColumns), tableColumnMinWidth: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.tableColumnMinWidth, data.tableColumnMinWidth), quizCountItems: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.quizCountItems, data.quizCountItems), quizStrikethroughSolutions: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.quizStrikethroughSolutions, data.quizStrikethroughSolutions), codeLineNumbers: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.codeLineNumbers, data.codeLineNumbers), codeMinimap: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.codeMinimap, data.codeMinimap), stripePricingTableId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.stripePricingTableId, data.stripePricingTableId), stripePublishableKey: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.stripePublishableKey, data.stripePublishableKey), thumbImage: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.thumbImage, data.thumbImage), scormSource: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.scormSource, data.scormSource), posterImage: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.posterImage, data.posterImage), focusX: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.focusX, data.focusX), focusY: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.focusY, data.focusY), pointerLeft: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.pointerLeft, data.pointerLeft), pointerTop: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.pointerTop, data.pointerTop), listItemIndent: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.listItemIndent, data.listItemIndent), backgroundWallpaper: this.toImageResource(context, data.backgroundWallpaper), hasBookNavigation: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.hasBookNavigation, data.hasBookNavigation), duration: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.duration, data.duration), deeplink: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.deeplink, data.deeplink), externalLink: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.externalLink, data.externalLink), externalLinkText: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.externalLinkText, data.externalLinkText), videoCallLink: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.videoCallLink, data.videoCallLink), vendorDashboardId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.vendorDashboardId, data.vendorDashboardId), vendorSurveyId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.vendorSurveyId, data.vendorSurveyId), vendorUrl: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.vendorUrl, data.vendorUrl), search: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.search, data.search), list: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.list, data.list), layer: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.layer, data.layer), layerRole: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.layerRole, data.layerRole), textReference: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.textReference, data.textReference), isTracked: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.isTracked, data.isTracked), isInfoOnly: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.isInfoOnly, data.isInfoOnly), imageFirst: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.imageFirst, data.imageFirst), activityType: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.activityType, data.activityType), labelTrue: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.labelTrue, data.labelTrue), labelFalse: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.labelFalse, data.labelFalse), content2Buy: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.content2Buy, data.content2Buy), mailingList: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.mailingList, data.mailingList), buttonCaption: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.buttonCaption, data.buttonCaption), callToActionUrl: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.callToActionUrl, data.callToActionUrl), caption: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.caption), quotedPerson: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.quotedPerson, data.quotedPerson), reasonableNumOfChars: reasonableNumOfCharsProperty, resolved: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.resolved, data.resolved), resolvedDate: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.resolvedDate, data.resolvedDate), resolvedBy: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.resolvedBy, data.resolvedBy), handInAcceptFileType: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.handInAcceptFileType, data.handInAcceptFileType), handInRequirement: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.handInRequirement, data.handInRequirement), handInInstruction: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.handInInstruction, data.handInInstruction), maxCreatedBits: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.maxCreatedBits, data.maxCreatedBits), maxDisplayLevel: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.maxDisplayLevel, data.maxDisplayLevel), maxTocChapterLevel: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.maxTocChapterLevel, data.maxTocChapterLevel), page: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.page, data.page), productId: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productId, data.productId), product: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.product, data.product), productList: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productList, data.productList), productVideo: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productVideo, data.productVideo), productVideoList: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productVideoList, data.productVideoList), productFolder: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.productFolder, data.productFolder), technicalTerm: this.buildTechnicalTerm(context, data.technicalTerm), servings: this.buildServings(context, data.servings), ratingLevelStart: this.buildRatingLevelStartEnd(context, data.ratingLevelStart), ratingLevelEnd: this.buildRatingLevelStartEnd(context, data.ratingLevelEnd), ratingLevelSelected: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.ratingLevelSelected, data.ratingLevelSelected), markConfig: this.buildMarkConfigs(context, data.markConfig), imageSource: this.buildImageSource(context, data.imageSource), person: this.buildPerson(context, data.person), bot: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.bot, data.bot), referenceProperty: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.property_reference, data.referenceProperty),
|
|
86
85
|
// Book data
|
|
87
86
|
title: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.title), subtitle: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.subtitle), level: NumberUtils_1.NumberUtils.asNumber(data.level), toc: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.toc, data.toc), progress: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.progress, data.progress), anchor: data.anchor, reference: data.reference, referenceEnd: data.referenceEnd, revealSolutions: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.revealSolutions, data.revealSolutions),
|
|
88
87
|
// Item, Lead, Hint, Instruction
|
|
89
88
|
item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), pageNumber: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.pageNumber), marginNumber: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.marginNumber), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction), partialAnswer: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.partialAnswer, data.partialAnswer), sampleSolution: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.property_sampleSolution, data.sampleSolution), additionalSolutions: this.toAstProperty(PropertyConfigKey_1.PropertyConfigKey.additionalSolutions, data.additionalSolutions) }, this.toExample(data.__isDefaultExample, data.example)), {
|
|
90
89
|
// Person
|
|
91
|
-
imagePlaceholder:
|
|
90
|
+
imagePlaceholder: this.toImageResource(context, data.imagePlaceholder), resources: ArrayUtils_1.ArrayUtils.asArray(this.resourceBuilder.resourceFromResourceJson(context, data.resources)),
|
|
92
91
|
// Body, Card, Footer, must be after all other properties except the extraProperties and markup / parser
|
|
93
92
|
body: this.buildBody(context, data.body), cardNode, footer: this.buildFooter(context, data.footer),
|
|
94
93
|
// Must be after other properties/tags in the AST so key clashes are avoided correctly
|
|
95
94
|
extraProperties: this.parseExtraProperties(data.extraProperties), markup: data.markup, parser: data.parser,
|
|
96
95
|
// Private properties
|
|
97
|
-
__isDefaultExample: (
|
|
96
|
+
__isDefaultExample: (_b = data.__isDefaultExample) !== null && _b !== void 0 ? _b : false });
|
|
98
97
|
// Push reasonableNumOfChars down the tree for the interview bits
|
|
99
98
|
if (Config_1.Config.isOfBitType(node.bitType, BitType_1.BitType.interview)) {
|
|
100
99
|
this.pushDownTree(context, undefined, undefined, cardNode, 'questions', PropertyConfigKey_1.PropertyConfigKey.reasonableNumOfChars, data.reasonableNumOfChars);
|
|
@@ -104,10 +103,10 @@ class Builder extends BaseBuilder_1.BaseBuilder {
|
|
|
104
103
|
this.pushDownTree(context, undefined, undefined, cardNode, ['feedbacks', 'reason'], PropertyConfigKey_1.PropertyConfigKey.reasonableNumOfChars, data.reasonableNumOfChars);
|
|
105
104
|
}
|
|
106
105
|
// Push isCaseSensitive down the tree for the cloze, match and match-matrix bits
|
|
107
|
-
this.pushDownTree(context, [node.body, ...((
|
|
108
|
-
PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (
|
|
109
|
-
this.pushDownTree(context, undefined, undefined, cardNode, 'pairs', PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (
|
|
110
|
-
this.pushDownTree(context, undefined, undefined, cardNode, ['matrix', 'cells'], PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (
|
|
106
|
+
this.pushDownTree(context, [node.body, ...((_d = (_c = cardNode === null || cardNode === void 0 ? void 0 : cardNode.cardBits) === null || _c === void 0 ? void 0 : _c.map((cardBit) => cardBit.body)) !== null && _d !== void 0 ? _d : [])], [BodyBitType_1.BodyBitType.gap], undefined, undefined, //'isCaseSensitive',
|
|
107
|
+
PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_e = data.isCaseSensitive) !== null && _e !== void 0 ? _e : true);
|
|
108
|
+
this.pushDownTree(context, undefined, undefined, cardNode, 'pairs', PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_f = data.isCaseSensitive) !== null && _f !== void 0 ? _f : true);
|
|
109
|
+
this.pushDownTree(context, undefined, undefined, cardNode, ['matrix', 'cells'], PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_g = data.isCaseSensitive) !== null && _g !== void 0 ? _g : true);
|
|
111
110
|
// If __isDefaultExample is set at the bit level, push the default example down the tree to the relevant nodes
|
|
112
111
|
this.pushExampleDownTree(context, node.body, cardNode, node.__isDefaultExample, convertedExample.example);
|
|
113
112
|
// Set default values
|
|
@@ -748,7 +747,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
|
|
|
748
747
|
const placeholderNodes = {};
|
|
749
748
|
// TODO - process body bits through the correct builders.
|
|
750
749
|
if (StringUtils_1.StringUtils.isString(data.body)) {
|
|
751
|
-
// Body is a string (legacy bitmark v2, or not
|
|
750
|
+
// Body is a string (legacy bitmark v2, or not bitmarkText)
|
|
752
751
|
bodyStr = ((_a = data.body) !== null && _a !== void 0 ? _a : '').trim();
|
|
753
752
|
rawBody = [];
|
|
754
753
|
}
|
|
@@ -768,7 +767,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
|
|
|
768
767
|
}
|
|
769
768
|
}
|
|
770
769
|
if (bodyStr) {
|
|
771
|
-
// Bug #7141: Use textFormat for textParser, not always
|
|
770
|
+
// Bug #7141: Use textFormat for textParser, not always bitmarkText if it is a v2 string body
|
|
772
771
|
// However, only use plain text breakscaping the text from the v2 JSON body
|
|
773
772
|
// Special v2 Breakscaping
|
|
774
773
|
bodyStr = Breakscape_1.Breakscape.breakscape(bodyStr, {
|
|
@@ -1417,6 +1416,9 @@ class Builder extends BaseBuilder_1.BaseBuilder {
|
|
|
1417
1416
|
// Validate and correct invalid bits as much as possible
|
|
1418
1417
|
return NodeValidator_1.NodeValidator.validateCardBit(node);
|
|
1419
1418
|
}
|
|
1419
|
+
toImageResource(context, data) {
|
|
1420
|
+
return ArrayUtils_1.ArrayUtils.asSingle(this.resourceBuilder.resourceFromResourceDataJson(context, ResourceTag_1.ResourceTag.image, data === null || data === void 0 ? void 0 : data.image));
|
|
1421
|
+
}
|
|
1420
1422
|
//
|
|
1421
1423
|
// Private
|
|
1422
1424
|
//
|