@gmb/bitmark-parser-generator 4.18.0 → 4.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/browser/cjs/index.cjs +45 -6
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +39 -9
- package/dist/browser/esm/index.d.ts +39 -9
- package/dist/browser/esm/index.js +43 -6
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +45 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -9
- package/dist/index.d.ts +39 -9
- package/dist/index.js +43 -6
- package/dist/index.js.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 [25 Nov 2025 at 04:06]</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+v2dx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YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/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":
|
|
34
|
+
window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1236045,"parsedSize":548507,"gzipSize":105608,"groups":[{"label":"dist/browser/cjs","path":"./dist/browser/cjs","statSize":1229065,"groups":[{"id":922,"label":"index.cjs","path":"./dist/browser/cjs/index.cjs","statSize":1229065,"parsedSize":548403,"gzipSize":105608}],"parsedSize":548403,"gzipSize":105608},{"label":"node_modules/@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
|
|
35
35
|
window.entrypoints = ["main"];
|
|
36
36
|
window.defaultSizes = "stat";
|
|
37
37
|
</script>
|
|
@@ -43,6 +43,8 @@ __export(index_exports, {
|
|
|
43
43
|
Output: () => Output,
|
|
44
44
|
ResourceBuilder: () => ResourceBuilder,
|
|
45
45
|
StringWriter: () => StringWriter,
|
|
46
|
+
TextMarkType: () => TextMarkType,
|
|
47
|
+
TextNodeType: () => TextNodeType,
|
|
46
48
|
bitmarkTextParse: () => parse
|
|
47
49
|
});
|
|
48
50
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -438,6 +440,7 @@ var BitType = (0, import_superenum.superenum)({
|
|
|
438
440
|
multipleResponse: "multiple-response",
|
|
439
441
|
multipleResponse1: "multiple-response-1",
|
|
440
442
|
newspaperArticle: "newspaper-article",
|
|
443
|
+
nonProductionPrototypeIframe: "non-production-prototype-iframe",
|
|
441
444
|
note: "note",
|
|
442
445
|
noteAi: "note-ai",
|
|
443
446
|
noteAlt: "note-alt",
|
|
@@ -1266,6 +1269,8 @@ var propertyKeys = {
|
|
|
1266
1269
|
property_icon: "@icon",
|
|
1267
1270
|
property_iconTag: "@iconTag",
|
|
1268
1271
|
property_id: "@id",
|
|
1272
|
+
property_iframeSrc: "@iframeSrc",
|
|
1273
|
+
property_iframeName: "@iframeName",
|
|
1269
1274
|
property_imageFirst: "@imageFirst",
|
|
1270
1275
|
property_imageSource: "@imageSource",
|
|
1271
1276
|
property_index: "@index",
|
|
@@ -3599,17 +3604,17 @@ var GROUPS = {
|
|
|
3599
3604
|
{
|
|
3600
3605
|
key: ConfigKey.property_platformMargin,
|
|
3601
3606
|
description: "The platform margin",
|
|
3602
|
-
format: TagFormat.
|
|
3607
|
+
format: TagFormat.number
|
|
3603
3608
|
},
|
|
3604
3609
|
{
|
|
3605
3610
|
key: ConfigKey.property_platformBorderRadius,
|
|
3606
3611
|
description: "The platform border radius",
|
|
3607
|
-
format: TagFormat.
|
|
3612
|
+
format: TagFormat.number
|
|
3608
3613
|
},
|
|
3609
3614
|
{
|
|
3610
3615
|
key: ConfigKey.property_platformSelectionBorderRadius,
|
|
3611
3616
|
description: "The platform selection border radius",
|
|
3612
|
-
format: TagFormat.
|
|
3617
|
+
format: TagFormat.number
|
|
3613
3618
|
},
|
|
3614
3619
|
{
|
|
3615
3620
|
key: ConfigKey.property_platformNeedsShadow,
|
|
@@ -8724,6 +8729,10 @@ var BITS = {
|
|
|
8724
8729
|
}
|
|
8725
8730
|
],
|
|
8726
8731
|
maxCount: 1
|
|
8732
|
+
},
|
|
8733
|
+
{
|
|
8734
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8735
|
+
description: "Common platform styles"
|
|
8727
8736
|
}
|
|
8728
8737
|
]
|
|
8729
8738
|
},
|
|
@@ -9184,6 +9193,7 @@ var BITS = {
|
|
|
9184
9193
|
key: ConfigKey.property_tableHeaderWhitespaceNoWrap,
|
|
9185
9194
|
description: "No wrap for table header whitespace, used to prevent header text wrapping",
|
|
9186
9195
|
format: TagFormat.boolean
|
|
9196
|
+
// defaultValue: 'false',
|
|
9187
9197
|
},
|
|
9188
9198
|
{
|
|
9189
9199
|
key: ConfigKey.property_tableSearch,
|
|
@@ -9216,7 +9226,7 @@ var BITS = {
|
|
|
9216
9226
|
key: ConfigKey.property_tableWhitespaceNoWrap,
|
|
9217
9227
|
description: "No wrap for table whitespace, used to prevent text wrapping in table cells",
|
|
9218
9228
|
format: TagFormat.boolean
|
|
9219
|
-
// defaultValue: '
|
|
9229
|
+
// defaultValue: 'false',
|
|
9220
9230
|
},
|
|
9221
9231
|
{
|
|
9222
9232
|
key: ConfigKey.property_tableAutoWidth,
|
|
@@ -9882,6 +9892,22 @@ var BITS = {
|
|
|
9882
9892
|
}
|
|
9883
9893
|
],
|
|
9884
9894
|
resourceAttachmentAllowed: false
|
|
9895
|
+
},
|
|
9896
|
+
[BitType.nonProductionPrototypeIframe]: {
|
|
9897
|
+
since: "4.20.0",
|
|
9898
|
+
baseBitType: BitType._standard,
|
|
9899
|
+
description: "A non-production prototype iframe bit, used to embed prototype iframes",
|
|
9900
|
+
tags: [
|
|
9901
|
+
{
|
|
9902
|
+
key: ConfigKey.property_iframeSrc,
|
|
9903
|
+
description: "Iframe source URL, used to define the source of the iframe"
|
|
9904
|
+
},
|
|
9905
|
+
{
|
|
9906
|
+
key: ConfigKey.property_iframeName,
|
|
9907
|
+
description: "Iframe name, used to define the name of the iframe",
|
|
9908
|
+
minCount: 1
|
|
9909
|
+
}
|
|
9910
|
+
]
|
|
9885
9911
|
}
|
|
9886
9912
|
};
|
|
9887
9913
|
|
|
@@ -10224,7 +10250,7 @@ var instance2 = new Config();
|
|
|
10224
10250
|
// src/generated/package_info.ts
|
|
10225
10251
|
var PACKAGE_INFO = {
|
|
10226
10252
|
"name": "@gmb/bitmark-parser-generator",
|
|
10227
|
-
"version": "4.
|
|
10253
|
+
"version": "4.20.0",
|
|
10228
10254
|
"author": "Get More Brain Ltd",
|
|
10229
10255
|
"license": "ISC",
|
|
10230
10256
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -10818,6 +10844,8 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
10818
10844
|
iconValue: "iconValue",
|
|
10819
10845
|
id: "id",
|
|
10820
10846
|
idValue: "idValue",
|
|
10847
|
+
iframeSrc: "iframeSrc",
|
|
10848
|
+
iframeName: "iframeName",
|
|
10821
10849
|
image: "image",
|
|
10822
10850
|
imageFirst: "imageFirst",
|
|
10823
10851
|
imageFirstValue: "imageFirstValue",
|
|
@@ -23807,6 +23835,13 @@ var Builder = class extends BaseBuilder {
|
|
|
23807
23835
|
data.releaseDate,
|
|
23808
23836
|
options
|
|
23809
23837
|
),
|
|
23838
|
+
iframeSrc: this.toAstProperty(bitType, ConfigKey.property_iframeSrc, data.iframeSrc, options),
|
|
23839
|
+
iframeName: this.toAstProperty(
|
|
23840
|
+
bitType,
|
|
23841
|
+
ConfigKey.property_iframeName,
|
|
23842
|
+
data.iframeName,
|
|
23843
|
+
options
|
|
23844
|
+
),
|
|
23810
23845
|
book: this.buildBooks(context, data.book),
|
|
23811
23846
|
ageRange: this.toAstProperty(bitType, ConfigKey.property_ageRange, data.ageRange, options),
|
|
23812
23847
|
lang: this.toAstProperty(bitType, ConfigKey.property_lang, data.lang, options),
|
|
@@ -30074,7 +30109,9 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
30074
30109
|
}
|
|
30075
30110
|
if (instance2.isOfBitType(bitType, BitType.table)) {
|
|
30076
30111
|
if (bitJson.tableFixedHeader == null) bitJson.tableFixedHeader = false;
|
|
30077
|
-
if (bitJson.tableHeaderWhitespaceNoWrap == null)
|
|
30112
|
+
if (bitJson.tableHeaderWhitespaceNoWrap == null) {
|
|
30113
|
+
bitJson.tableHeaderWhitespaceNoWrap = false;
|
|
30114
|
+
}
|
|
30078
30115
|
if (bitJson.tableSearch == null) bitJson.tableSearch = false;
|
|
30079
30116
|
if (bitJson.tableSort == null) bitJson.tableSort = false;
|
|
30080
30117
|
if (bitJson.tablePagination == null) bitJson.tablePagination = false;
|
|
@@ -38804,6 +38841,8 @@ init();
|
|
|
38804
38841
|
Output,
|
|
38805
38842
|
ResourceBuilder,
|
|
38806
38843
|
StringWriter,
|
|
38844
|
+
TextMarkType,
|
|
38845
|
+
TextNodeType,
|
|
38807
38846
|
bitmarkTextParse
|
|
38808
38847
|
});
|
|
38809
38848
|
//# sourceMappingURL=index.cjs.map
|