@gmb/bitmark-parser-generator 4.17.0 → 4.19.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 +89 -26
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +38 -2
- package/dist/browser/esm/index.d.ts +38 -2
- package/dist/browser/esm/index.js +89 -26
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +89 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -2
- package/dist/index.d.ts +38 -2
- package/dist/index.js +89 -26
- 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 [23 Nov 2025 at 21: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+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":1234989,"parsedSize":547785,"gzipSize":105448,"groups":[{"label":"dist/browser/cjs","path":"./dist/browser/cjs","statSize":1228009,"groups":[{"id":922,"label":"index.cjs","path":"./dist/browser/cjs/index.cjs","statSize":1228009,"parsedSize":547681,"gzipSize":105448}],"parsedSize":547681,"gzipSize":105448},{"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>
|
|
@@ -1121,7 +1121,7 @@ var groupKeys = {
|
|
|
1121
1121
|
group_bookCommon: "group_bookCommon",
|
|
1122
1122
|
group_learningPathCommon: "group_learningPathCommon",
|
|
1123
1123
|
group_advertisingCommon: "group_advertisingCommon",
|
|
1124
|
-
|
|
1124
|
+
group_platformStylesCommon: "group_platformStylesCommon",
|
|
1125
1125
|
group_quizCommon: "group_quizCommon",
|
|
1126
1126
|
group_resourceBitTags: "group_resourceBitTags",
|
|
1127
1127
|
group_resourceCommon: "group_resourceCommon",
|
|
@@ -1327,6 +1327,10 @@ var propertyKeys = {
|
|
|
1327
1327
|
property_platformSelectionColor: "@platformSelectionColor",
|
|
1328
1328
|
property_platformSelectionTextColor: "@platformSelectionTextColor",
|
|
1329
1329
|
property_platformBaseLayerColor: "@platformBaseLayerColor",
|
|
1330
|
+
property_platformMargin: "@platformMargin",
|
|
1331
|
+
property_platformBorderRadius: "@platformBorderRadius",
|
|
1332
|
+
property_platformSelectionBorderRadius: "@platformSelectionBorderRadius",
|
|
1333
|
+
property_platformNeedsShadow: "@platformNeedsShadow",
|
|
1330
1334
|
property_platformSeparatorColor: "@platformSeparatorColor",
|
|
1331
1335
|
property_platformTextSelectionColor: "@platformTextSelectionColor",
|
|
1332
1336
|
property_person: "@person",
|
|
@@ -3518,9 +3522,9 @@ var GROUPS = {
|
|
|
3518
3522
|
}
|
|
3519
3523
|
]
|
|
3520
3524
|
},
|
|
3521
|
-
[ConfigKey.
|
|
3525
|
+
[ConfigKey.group_platformStylesCommon]: {
|
|
3522
3526
|
type: GroupConfigType.standard,
|
|
3523
|
-
description: "Common platform
|
|
3527
|
+
description: "Common platform styles",
|
|
3524
3528
|
tags: [
|
|
3525
3529
|
{
|
|
3526
3530
|
key: ConfigKey.property_platformPrimaryColor,
|
|
@@ -3591,6 +3595,26 @@ var GROUPS = {
|
|
|
3591
3595
|
key: ConfigKey.property_platformBaseLayerColor,
|
|
3592
3596
|
description: "The platform base layer color",
|
|
3593
3597
|
format: TagFormat.plainText
|
|
3598
|
+
},
|
|
3599
|
+
{
|
|
3600
|
+
key: ConfigKey.property_platformMargin,
|
|
3601
|
+
description: "The platform margin",
|
|
3602
|
+
format: TagFormat.number
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
key: ConfigKey.property_platformBorderRadius,
|
|
3606
|
+
description: "The platform border radius",
|
|
3607
|
+
format: TagFormat.number
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
key: ConfigKey.property_platformSelectionBorderRadius,
|
|
3611
|
+
description: "The platform selection border radius",
|
|
3612
|
+
format: TagFormat.number
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
key: ConfigKey.property_platformNeedsShadow,
|
|
3616
|
+
description: "If true, the platform needs shadow",
|
|
3617
|
+
format: TagFormat.boolean
|
|
3594
3618
|
}
|
|
3595
3619
|
]
|
|
3596
3620
|
},
|
|
@@ -8700,6 +8724,10 @@ var BITS = {
|
|
|
8700
8724
|
}
|
|
8701
8725
|
],
|
|
8702
8726
|
maxCount: 1
|
|
8727
|
+
},
|
|
8728
|
+
{
|
|
8729
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8730
|
+
description: "Common platform styles"
|
|
8703
8731
|
}
|
|
8704
8732
|
]
|
|
8705
8733
|
},
|
|
@@ -8732,8 +8760,8 @@ var BITS = {
|
|
|
8732
8760
|
maxCount: 1
|
|
8733
8761
|
},
|
|
8734
8762
|
{
|
|
8735
|
-
key: ConfigKey.
|
|
8736
|
-
description: "Common platform
|
|
8763
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8764
|
+
description: "Common platform styles"
|
|
8737
8765
|
}
|
|
8738
8766
|
]
|
|
8739
8767
|
},
|
|
@@ -8743,8 +8771,8 @@ var BITS = {
|
|
|
8743
8771
|
description: "Platform main bit, used to define platform main properties",
|
|
8744
8772
|
tags: [
|
|
8745
8773
|
{
|
|
8746
|
-
key: ConfigKey.
|
|
8747
|
-
description: "Common platform
|
|
8774
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8775
|
+
description: "Common platform styles"
|
|
8748
8776
|
}
|
|
8749
8777
|
]
|
|
8750
8778
|
},
|
|
@@ -8754,8 +8782,8 @@ var BITS = {
|
|
|
8754
8782
|
description: "Platform main button bit, used to define platform main button properties",
|
|
8755
8783
|
tags: [
|
|
8756
8784
|
{
|
|
8757
|
-
key: ConfigKey.
|
|
8758
|
-
description: "Common platform
|
|
8785
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8786
|
+
description: "Common platform styles"
|
|
8759
8787
|
}
|
|
8760
8788
|
]
|
|
8761
8789
|
},
|
|
@@ -8765,8 +8793,8 @@ var BITS = {
|
|
|
8765
8793
|
description: "Platform main input bit, used to define platform main input properties",
|
|
8766
8794
|
tags: [
|
|
8767
8795
|
{
|
|
8768
|
-
key: ConfigKey.
|
|
8769
|
-
description: "Common platform
|
|
8796
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8797
|
+
description: "Common platform styles"
|
|
8770
8798
|
}
|
|
8771
8799
|
]
|
|
8772
8800
|
},
|
|
@@ -8776,8 +8804,8 @@ var BITS = {
|
|
|
8776
8804
|
description: "Platform section bit, used to define platform section properties",
|
|
8777
8805
|
tags: [
|
|
8778
8806
|
{
|
|
8779
|
-
key: ConfigKey.
|
|
8780
|
-
description: "Common platform
|
|
8807
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8808
|
+
description: "Common platform styles"
|
|
8781
8809
|
}
|
|
8782
8810
|
]
|
|
8783
8811
|
},
|
|
@@ -8787,8 +8815,8 @@ var BITS = {
|
|
|
8787
8815
|
description: "Platform section button bit, used to define platform section button properties",
|
|
8788
8816
|
tags: [
|
|
8789
8817
|
{
|
|
8790
|
-
key: ConfigKey.
|
|
8791
|
-
description: "Common platform
|
|
8818
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8819
|
+
description: "Common platform styles"
|
|
8792
8820
|
}
|
|
8793
8821
|
]
|
|
8794
8822
|
},
|
|
@@ -8798,8 +8826,8 @@ var BITS = {
|
|
|
8798
8826
|
description: "Platform section chat bit, used to define platform section chat properties",
|
|
8799
8827
|
tags: [
|
|
8800
8828
|
{
|
|
8801
|
-
key: ConfigKey.
|
|
8802
|
-
description: "Common platform
|
|
8829
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8830
|
+
description: "Common platform styles"
|
|
8803
8831
|
},
|
|
8804
8832
|
{
|
|
8805
8833
|
key: ConfigKey.resource_platformBackgroundImage,
|
|
@@ -8819,8 +8847,8 @@ var BITS = {
|
|
|
8819
8847
|
description: "Platform section header bit, used to define platform section header properties",
|
|
8820
8848
|
tags: [
|
|
8821
8849
|
{
|
|
8822
|
-
key: ConfigKey.
|
|
8823
|
-
description: "Common platform
|
|
8850
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8851
|
+
description: "Common platform styles"
|
|
8824
8852
|
}
|
|
8825
8853
|
]
|
|
8826
8854
|
},
|
|
@@ -8830,8 +8858,8 @@ var BITS = {
|
|
|
8830
8858
|
description: "Platform section input bit, used to define platform section input properties",
|
|
8831
8859
|
tags: [
|
|
8832
8860
|
{
|
|
8833
|
-
key: ConfigKey.
|
|
8834
|
-
description: "Common platform
|
|
8861
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8862
|
+
description: "Common platform styles"
|
|
8835
8863
|
}
|
|
8836
8864
|
]
|
|
8837
8865
|
},
|
|
@@ -8841,8 +8869,8 @@ var BITS = {
|
|
|
8841
8869
|
description: "Platform system icon bit, used to define platform system icon properties",
|
|
8842
8870
|
tags: [
|
|
8843
8871
|
{
|
|
8844
|
-
key: ConfigKey.
|
|
8845
|
-
description: "Common platform
|
|
8872
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8873
|
+
description: "Common platform styles"
|
|
8846
8874
|
}
|
|
8847
8875
|
]
|
|
8848
8876
|
},
|
|
@@ -9160,6 +9188,7 @@ var BITS = {
|
|
|
9160
9188
|
key: ConfigKey.property_tableHeaderWhitespaceNoWrap,
|
|
9161
9189
|
description: "No wrap for table header whitespace, used to prevent header text wrapping",
|
|
9162
9190
|
format: TagFormat.boolean
|
|
9191
|
+
// defaultValue: 'false',
|
|
9163
9192
|
},
|
|
9164
9193
|
{
|
|
9165
9194
|
key: ConfigKey.property_tableSearch,
|
|
@@ -9192,7 +9221,7 @@ var BITS = {
|
|
|
9192
9221
|
key: ConfigKey.property_tableWhitespaceNoWrap,
|
|
9193
9222
|
description: "No wrap for table whitespace, used to prevent text wrapping in table cells",
|
|
9194
9223
|
format: TagFormat.boolean
|
|
9195
|
-
// defaultValue: '
|
|
9224
|
+
// defaultValue: 'false',
|
|
9196
9225
|
},
|
|
9197
9226
|
{
|
|
9198
9227
|
key: ConfigKey.property_tableAutoWidth,
|
|
@@ -10200,7 +10229,7 @@ var instance2 = new Config();
|
|
|
10200
10229
|
// src/generated/package_info.ts
|
|
10201
10230
|
var PACKAGE_INFO = {
|
|
10202
10231
|
"name": "@gmb/bitmark-parser-generator",
|
|
10203
|
-
"version": "4.
|
|
10232
|
+
"version": "4.19.0",
|
|
10204
10233
|
"author": "Get More Brain Ltd",
|
|
10205
10234
|
"license": "ISC",
|
|
10206
10235
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -10962,6 +10991,14 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
10962
10991
|
platformSelectionTextColorValue: "platformSelectionTextColorValue",
|
|
10963
10992
|
platformBaseLayerColor: "platformBaseLayerColor",
|
|
10964
10993
|
platformBaseLayerColorValue: "platformBaseLayerColorValue",
|
|
10994
|
+
platformMargin: "platformMargin",
|
|
10995
|
+
platformMarginValue: "platformMarginValue",
|
|
10996
|
+
platformBorderRadius: "platformBorderRadius",
|
|
10997
|
+
platformBorderRadiusValue: "platformBorderRadiusValue",
|
|
10998
|
+
platformSelectionBorderRadius: "platformSelectionBorderRadius",
|
|
10999
|
+
platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue",
|
|
11000
|
+
platformNeedsShadow: "platformNeedsShadow",
|
|
11001
|
+
platformNeedsShadowValue: "platformNeedsShadowValue",
|
|
10965
11002
|
person: "person",
|
|
10966
11003
|
pointerLeft: "pointerLeft",
|
|
10967
11004
|
pointerLeftValue: "pointerLeftValue",
|
|
@@ -24517,6 +24554,30 @@ var Builder = class extends BaseBuilder {
|
|
|
24517
24554
|
data.platformBaseLayerColor,
|
|
24518
24555
|
options
|
|
24519
24556
|
),
|
|
24557
|
+
platformMargin: this.toAstProperty(
|
|
24558
|
+
bitType,
|
|
24559
|
+
ConfigKey.property_platformMargin,
|
|
24560
|
+
data.platformMargin,
|
|
24561
|
+
options
|
|
24562
|
+
),
|
|
24563
|
+
platformBorderRadius: this.toAstProperty(
|
|
24564
|
+
bitType,
|
|
24565
|
+
ConfigKey.property_platformBorderRadius,
|
|
24566
|
+
data.platformBorderRadius,
|
|
24567
|
+
options
|
|
24568
|
+
),
|
|
24569
|
+
platformSelectionBorderRadius: this.toAstProperty(
|
|
24570
|
+
bitType,
|
|
24571
|
+
ConfigKey.property_platformSelectionBorderRadius,
|
|
24572
|
+
data.platformSelectionBorderRadius,
|
|
24573
|
+
options
|
|
24574
|
+
),
|
|
24575
|
+
platformNeedsShadow: this.toAstProperty(
|
|
24576
|
+
bitType,
|
|
24577
|
+
ConfigKey.property_platformNeedsShadow,
|
|
24578
|
+
data.platformNeedsShadow,
|
|
24579
|
+
options
|
|
24580
|
+
),
|
|
24520
24581
|
productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
|
|
24521
24582
|
product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
|
|
24522
24583
|
// productList: this.toAstProperty(
|
|
@@ -30018,7 +30079,9 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
30018
30079
|
}
|
|
30019
30080
|
if (instance2.isOfBitType(bitType, BitType.table)) {
|
|
30020
30081
|
if (bitJson.tableFixedHeader == null) bitJson.tableFixedHeader = false;
|
|
30021
|
-
if (bitJson.tableHeaderWhitespaceNoWrap == null)
|
|
30082
|
+
if (bitJson.tableHeaderWhitespaceNoWrap == null) {
|
|
30083
|
+
bitJson.tableHeaderWhitespaceNoWrap = false;
|
|
30084
|
+
}
|
|
30022
30085
|
if (bitJson.tableSearch == null) bitJson.tableSearch = false;
|
|
30023
30086
|
if (bitJson.tableSort == null) bitJson.tableSort = false;
|
|
30024
30087
|
if (bitJson.tablePagination == null) bitJson.tablePagination = false;
|