@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
package/dist/index.cjs
CHANGED
|
@@ -1135,7 +1135,7 @@ var groupKeys = {
|
|
|
1135
1135
|
group_bookCommon: "group_bookCommon",
|
|
1136
1136
|
group_learningPathCommon: "group_learningPathCommon",
|
|
1137
1137
|
group_advertisingCommon: "group_advertisingCommon",
|
|
1138
|
-
|
|
1138
|
+
group_platformStylesCommon: "group_platformStylesCommon",
|
|
1139
1139
|
group_quizCommon: "group_quizCommon",
|
|
1140
1140
|
group_resourceBitTags: "group_resourceBitTags",
|
|
1141
1141
|
group_resourceCommon: "group_resourceCommon",
|
|
@@ -1341,6 +1341,10 @@ var propertyKeys = {
|
|
|
1341
1341
|
property_platformSelectionColor: "@platformSelectionColor",
|
|
1342
1342
|
property_platformSelectionTextColor: "@platformSelectionTextColor",
|
|
1343
1343
|
property_platformBaseLayerColor: "@platformBaseLayerColor",
|
|
1344
|
+
property_platformMargin: "@platformMargin",
|
|
1345
|
+
property_platformBorderRadius: "@platformBorderRadius",
|
|
1346
|
+
property_platformSelectionBorderRadius: "@platformSelectionBorderRadius",
|
|
1347
|
+
property_platformNeedsShadow: "@platformNeedsShadow",
|
|
1344
1348
|
property_platformSeparatorColor: "@platformSeparatorColor",
|
|
1345
1349
|
property_platformTextSelectionColor: "@platformTextSelectionColor",
|
|
1346
1350
|
property_person: "@person",
|
|
@@ -3532,9 +3536,9 @@ var GROUPS = {
|
|
|
3532
3536
|
}
|
|
3533
3537
|
]
|
|
3534
3538
|
},
|
|
3535
|
-
[ConfigKey.
|
|
3539
|
+
[ConfigKey.group_platformStylesCommon]: {
|
|
3536
3540
|
type: GroupConfigType.standard,
|
|
3537
|
-
description: "Common platform
|
|
3541
|
+
description: "Common platform styles",
|
|
3538
3542
|
tags: [
|
|
3539
3543
|
{
|
|
3540
3544
|
key: ConfigKey.property_platformPrimaryColor,
|
|
@@ -3605,6 +3609,26 @@ var GROUPS = {
|
|
|
3605
3609
|
key: ConfigKey.property_platformBaseLayerColor,
|
|
3606
3610
|
description: "The platform base layer color",
|
|
3607
3611
|
format: TagFormat.plainText
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
key: ConfigKey.property_platformMargin,
|
|
3615
|
+
description: "The platform margin",
|
|
3616
|
+
format: TagFormat.number
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
key: ConfigKey.property_platformBorderRadius,
|
|
3620
|
+
description: "The platform border radius",
|
|
3621
|
+
format: TagFormat.number
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
key: ConfigKey.property_platformSelectionBorderRadius,
|
|
3625
|
+
description: "The platform selection border radius",
|
|
3626
|
+
format: TagFormat.number
|
|
3627
|
+
},
|
|
3628
|
+
{
|
|
3629
|
+
key: ConfigKey.property_platformNeedsShadow,
|
|
3630
|
+
description: "If true, the platform needs shadow",
|
|
3631
|
+
format: TagFormat.boolean
|
|
3608
3632
|
}
|
|
3609
3633
|
]
|
|
3610
3634
|
},
|
|
@@ -8714,6 +8738,10 @@ var BITS = {
|
|
|
8714
8738
|
}
|
|
8715
8739
|
],
|
|
8716
8740
|
maxCount: 1
|
|
8741
|
+
},
|
|
8742
|
+
{
|
|
8743
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8744
|
+
description: "Common platform styles"
|
|
8717
8745
|
}
|
|
8718
8746
|
]
|
|
8719
8747
|
},
|
|
@@ -8746,8 +8774,8 @@ var BITS = {
|
|
|
8746
8774
|
maxCount: 1
|
|
8747
8775
|
},
|
|
8748
8776
|
{
|
|
8749
|
-
key: ConfigKey.
|
|
8750
|
-
description: "Common platform
|
|
8777
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8778
|
+
description: "Common platform styles"
|
|
8751
8779
|
}
|
|
8752
8780
|
]
|
|
8753
8781
|
},
|
|
@@ -8757,8 +8785,8 @@ var BITS = {
|
|
|
8757
8785
|
description: "Platform main bit, used to define platform main properties",
|
|
8758
8786
|
tags: [
|
|
8759
8787
|
{
|
|
8760
|
-
key: ConfigKey.
|
|
8761
|
-
description: "Common platform
|
|
8788
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8789
|
+
description: "Common platform styles"
|
|
8762
8790
|
}
|
|
8763
8791
|
]
|
|
8764
8792
|
},
|
|
@@ -8768,8 +8796,8 @@ var BITS = {
|
|
|
8768
8796
|
description: "Platform main button bit, used to define platform main button properties",
|
|
8769
8797
|
tags: [
|
|
8770
8798
|
{
|
|
8771
|
-
key: ConfigKey.
|
|
8772
|
-
description: "Common platform
|
|
8799
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8800
|
+
description: "Common platform styles"
|
|
8773
8801
|
}
|
|
8774
8802
|
]
|
|
8775
8803
|
},
|
|
@@ -8779,8 +8807,8 @@ var BITS = {
|
|
|
8779
8807
|
description: "Platform main input bit, used to define platform main input properties",
|
|
8780
8808
|
tags: [
|
|
8781
8809
|
{
|
|
8782
|
-
key: ConfigKey.
|
|
8783
|
-
description: "Common platform
|
|
8810
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8811
|
+
description: "Common platform styles"
|
|
8784
8812
|
}
|
|
8785
8813
|
]
|
|
8786
8814
|
},
|
|
@@ -8790,8 +8818,8 @@ var BITS = {
|
|
|
8790
8818
|
description: "Platform section bit, used to define platform section properties",
|
|
8791
8819
|
tags: [
|
|
8792
8820
|
{
|
|
8793
|
-
key: ConfigKey.
|
|
8794
|
-
description: "Common platform
|
|
8821
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8822
|
+
description: "Common platform styles"
|
|
8795
8823
|
}
|
|
8796
8824
|
]
|
|
8797
8825
|
},
|
|
@@ -8801,8 +8829,8 @@ var BITS = {
|
|
|
8801
8829
|
description: "Platform section button bit, used to define platform section button properties",
|
|
8802
8830
|
tags: [
|
|
8803
8831
|
{
|
|
8804
|
-
key: ConfigKey.
|
|
8805
|
-
description: "Common platform
|
|
8832
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8833
|
+
description: "Common platform styles"
|
|
8806
8834
|
}
|
|
8807
8835
|
]
|
|
8808
8836
|
},
|
|
@@ -8812,8 +8840,8 @@ var BITS = {
|
|
|
8812
8840
|
description: "Platform section chat bit, used to define platform section chat properties",
|
|
8813
8841
|
tags: [
|
|
8814
8842
|
{
|
|
8815
|
-
key: ConfigKey.
|
|
8816
|
-
description: "Common platform
|
|
8843
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8844
|
+
description: "Common platform styles"
|
|
8817
8845
|
},
|
|
8818
8846
|
{
|
|
8819
8847
|
key: ConfigKey.resource_platformBackgroundImage,
|
|
@@ -8833,8 +8861,8 @@ var BITS = {
|
|
|
8833
8861
|
description: "Platform section header bit, used to define platform section header properties",
|
|
8834
8862
|
tags: [
|
|
8835
8863
|
{
|
|
8836
|
-
key: ConfigKey.
|
|
8837
|
-
description: "Common platform
|
|
8864
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8865
|
+
description: "Common platform styles"
|
|
8838
8866
|
}
|
|
8839
8867
|
]
|
|
8840
8868
|
},
|
|
@@ -8844,8 +8872,8 @@ var BITS = {
|
|
|
8844
8872
|
description: "Platform section input bit, used to define platform section input properties",
|
|
8845
8873
|
tags: [
|
|
8846
8874
|
{
|
|
8847
|
-
key: ConfigKey.
|
|
8848
|
-
description: "Common platform
|
|
8875
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8876
|
+
description: "Common platform styles"
|
|
8849
8877
|
}
|
|
8850
8878
|
]
|
|
8851
8879
|
},
|
|
@@ -8855,8 +8883,8 @@ var BITS = {
|
|
|
8855
8883
|
description: "Platform system icon bit, used to define platform system icon properties",
|
|
8856
8884
|
tags: [
|
|
8857
8885
|
{
|
|
8858
|
-
key: ConfigKey.
|
|
8859
|
-
description: "Common platform
|
|
8886
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8887
|
+
description: "Common platform styles"
|
|
8860
8888
|
}
|
|
8861
8889
|
]
|
|
8862
8890
|
},
|
|
@@ -9174,6 +9202,7 @@ var BITS = {
|
|
|
9174
9202
|
key: ConfigKey.property_tableHeaderWhitespaceNoWrap,
|
|
9175
9203
|
description: "No wrap for table header whitespace, used to prevent header text wrapping",
|
|
9176
9204
|
format: TagFormat.boolean
|
|
9205
|
+
// defaultValue: 'false',
|
|
9177
9206
|
},
|
|
9178
9207
|
{
|
|
9179
9208
|
key: ConfigKey.property_tableSearch,
|
|
@@ -9206,7 +9235,7 @@ var BITS = {
|
|
|
9206
9235
|
key: ConfigKey.property_tableWhitespaceNoWrap,
|
|
9207
9236
|
description: "No wrap for table whitespace, used to prevent text wrapping in table cells",
|
|
9208
9237
|
format: TagFormat.boolean
|
|
9209
|
-
// defaultValue: '
|
|
9238
|
+
// defaultValue: 'false',
|
|
9210
9239
|
},
|
|
9211
9240
|
{
|
|
9212
9241
|
key: ConfigKey.property_tableAutoWidth,
|
|
@@ -10214,7 +10243,7 @@ var instance2 = new Config();
|
|
|
10214
10243
|
// src/generated/package_info.ts
|
|
10215
10244
|
var PACKAGE_INFO = {
|
|
10216
10245
|
"name": "@gmb/bitmark-parser-generator",
|
|
10217
|
-
"version": "4.
|
|
10246
|
+
"version": "4.19.0",
|
|
10218
10247
|
"author": "Get More Brain Ltd",
|
|
10219
10248
|
"license": "ISC",
|
|
10220
10249
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -10976,6 +11005,14 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
10976
11005
|
platformSelectionTextColorValue: "platformSelectionTextColorValue",
|
|
10977
11006
|
platformBaseLayerColor: "platformBaseLayerColor",
|
|
10978
11007
|
platformBaseLayerColorValue: "platformBaseLayerColorValue",
|
|
11008
|
+
platformMargin: "platformMargin",
|
|
11009
|
+
platformMarginValue: "platformMarginValue",
|
|
11010
|
+
platformBorderRadius: "platformBorderRadius",
|
|
11011
|
+
platformBorderRadiusValue: "platformBorderRadiusValue",
|
|
11012
|
+
platformSelectionBorderRadius: "platformSelectionBorderRadius",
|
|
11013
|
+
platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue",
|
|
11014
|
+
platformNeedsShadow: "platformNeedsShadow",
|
|
11015
|
+
platformNeedsShadowValue: "platformNeedsShadowValue",
|
|
10979
11016
|
person: "person",
|
|
10980
11017
|
pointerLeft: "pointerLeft",
|
|
10981
11018
|
pointerLeftValue: "pointerLeftValue",
|
|
@@ -24531,6 +24568,30 @@ var Builder = class extends BaseBuilder {
|
|
|
24531
24568
|
data.platformBaseLayerColor,
|
|
24532
24569
|
options
|
|
24533
24570
|
),
|
|
24571
|
+
platformMargin: this.toAstProperty(
|
|
24572
|
+
bitType,
|
|
24573
|
+
ConfigKey.property_platformMargin,
|
|
24574
|
+
data.platformMargin,
|
|
24575
|
+
options
|
|
24576
|
+
),
|
|
24577
|
+
platformBorderRadius: this.toAstProperty(
|
|
24578
|
+
bitType,
|
|
24579
|
+
ConfigKey.property_platformBorderRadius,
|
|
24580
|
+
data.platformBorderRadius,
|
|
24581
|
+
options
|
|
24582
|
+
),
|
|
24583
|
+
platformSelectionBorderRadius: this.toAstProperty(
|
|
24584
|
+
bitType,
|
|
24585
|
+
ConfigKey.property_platformSelectionBorderRadius,
|
|
24586
|
+
data.platformSelectionBorderRadius,
|
|
24587
|
+
options
|
|
24588
|
+
),
|
|
24589
|
+
platformNeedsShadow: this.toAstProperty(
|
|
24590
|
+
bitType,
|
|
24591
|
+
ConfigKey.property_platformNeedsShadow,
|
|
24592
|
+
data.platformNeedsShadow,
|
|
24593
|
+
options
|
|
24594
|
+
),
|
|
24534
24595
|
productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
|
|
24535
24596
|
product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
|
|
24536
24597
|
// productList: this.toAstProperty(
|
|
@@ -30032,7 +30093,9 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
30032
30093
|
}
|
|
30033
30094
|
if (instance2.isOfBitType(bitType, BitType.table)) {
|
|
30034
30095
|
if (bitJson.tableFixedHeader == null) bitJson.tableFixedHeader = false;
|
|
30035
|
-
if (bitJson.tableHeaderWhitespaceNoWrap == null)
|
|
30096
|
+
if (bitJson.tableHeaderWhitespaceNoWrap == null) {
|
|
30097
|
+
bitJson.tableHeaderWhitespaceNoWrap = false;
|
|
30098
|
+
}
|
|
30036
30099
|
if (bitJson.tableSearch == null) bitJson.tableSearch = false;
|
|
30037
30100
|
if (bitJson.tableSort == null) bitJson.tableSort = false;
|
|
30038
30101
|
if (bitJson.tablePagination == null) bitJson.tablePagination = false;
|