@gmb/bitmark-parser-generator 4.16.1 → 4.18.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 +122 -24
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +65 -2
- package/dist/browser/esm/index.d.ts +65 -2
- package/dist/browser/esm/index.js +122 -24
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +122 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +65 -2
- package/dist/index.d.ts +65 -2
- package/dist/index.js +122 -24
- 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",
|
|
@@ -1328,6 +1328,7 @@ var propertyKeys = {
|
|
|
1328
1328
|
// Deprecated, replaced by person
|
|
1329
1329
|
property_path: "@path",
|
|
1330
1330
|
property_platformBackgroundColor: "@platformBackgroundColor",
|
|
1331
|
+
property_platformBorderColor: "@platformBorderColor",
|
|
1331
1332
|
property_platformBrandTarget: "@platformBrandTarget",
|
|
1332
1333
|
property_platformButtonBackgroundColor: "@platformButtonBackgroundColor",
|
|
1333
1334
|
property_platformButtonPrimaryColor: "@platformButtonPrimaryColor",
|
|
@@ -1338,6 +1339,12 @@ var propertyKeys = {
|
|
|
1338
1339
|
property_platformScrollbarColor: "@platformScrollbarColor",
|
|
1339
1340
|
property_platformSecondaryColor: "@platformSecondaryColor",
|
|
1340
1341
|
property_platformSelectionColor: "@platformSelectionColor",
|
|
1342
|
+
property_platformSelectionTextColor: "@platformSelectionTextColor",
|
|
1343
|
+
property_platformBaseLayerColor: "@platformBaseLayerColor",
|
|
1344
|
+
property_platformMargin: "@platformMargin",
|
|
1345
|
+
property_platformBorderRadius: "@platformBorderRadius",
|
|
1346
|
+
property_platformSelectionBorderRadius: "@platformSelectionBorderRadius",
|
|
1347
|
+
property_platformNeedsShadow: "@platformNeedsShadow",
|
|
1341
1348
|
property_platformSeparatorColor: "@platformSeparatorColor",
|
|
1342
1349
|
property_platformTextSelectionColor: "@platformTextSelectionColor",
|
|
1343
1350
|
property_person: "@person",
|
|
@@ -3529,9 +3536,9 @@ var GROUPS = {
|
|
|
3529
3536
|
}
|
|
3530
3537
|
]
|
|
3531
3538
|
},
|
|
3532
|
-
[ConfigKey.
|
|
3539
|
+
[ConfigKey.group_platformStylesCommon]: {
|
|
3533
3540
|
type: GroupConfigType.standard,
|
|
3534
|
-
description: "Common platform
|
|
3541
|
+
description: "Common platform styles",
|
|
3535
3542
|
tags: [
|
|
3536
3543
|
{
|
|
3537
3544
|
key: ConfigKey.property_platformPrimaryColor,
|
|
@@ -3587,6 +3594,41 @@ var GROUPS = {
|
|
|
3587
3594
|
key: ConfigKey.property_platformMessageBackgroundColor,
|
|
3588
3595
|
description: "The platform section chat message background color",
|
|
3589
3596
|
format: TagFormat.plainText
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
key: ConfigKey.property_platformBorderColor,
|
|
3600
|
+
description: "The platform border color",
|
|
3601
|
+
format: TagFormat.plainText
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
key: ConfigKey.property_platformSelectionTextColor,
|
|
3605
|
+
description: "The platform selection text color",
|
|
3606
|
+
format: TagFormat.plainText
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
key: ConfigKey.property_platformBaseLayerColor,
|
|
3610
|
+
description: "The platform base layer color",
|
|
3611
|
+
format: TagFormat.plainText
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
key: ConfigKey.property_platformMargin,
|
|
3615
|
+
description: "The platform margin",
|
|
3616
|
+
format: TagFormat.plainText
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
key: ConfigKey.property_platformBorderRadius,
|
|
3620
|
+
description: "The platform border radius",
|
|
3621
|
+
format: TagFormat.plainText
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
key: ConfigKey.property_platformSelectionBorderRadius,
|
|
3625
|
+
description: "The platform selection border radius",
|
|
3626
|
+
format: TagFormat.plainText
|
|
3627
|
+
},
|
|
3628
|
+
{
|
|
3629
|
+
key: ConfigKey.property_platformNeedsShadow,
|
|
3630
|
+
description: "If true, the platform needs shadow",
|
|
3631
|
+
format: TagFormat.boolean
|
|
3590
3632
|
}
|
|
3591
3633
|
]
|
|
3592
3634
|
},
|
|
@@ -8728,8 +8770,8 @@ var BITS = {
|
|
|
8728
8770
|
maxCount: 1
|
|
8729
8771
|
},
|
|
8730
8772
|
{
|
|
8731
|
-
key: ConfigKey.
|
|
8732
|
-
description: "Common platform
|
|
8773
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8774
|
+
description: "Common platform styles"
|
|
8733
8775
|
}
|
|
8734
8776
|
]
|
|
8735
8777
|
},
|
|
@@ -8739,8 +8781,8 @@ var BITS = {
|
|
|
8739
8781
|
description: "Platform main bit, used to define platform main properties",
|
|
8740
8782
|
tags: [
|
|
8741
8783
|
{
|
|
8742
|
-
key: ConfigKey.
|
|
8743
|
-
description: "Common platform
|
|
8784
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8785
|
+
description: "Common platform styles"
|
|
8744
8786
|
}
|
|
8745
8787
|
]
|
|
8746
8788
|
},
|
|
@@ -8750,8 +8792,8 @@ var BITS = {
|
|
|
8750
8792
|
description: "Platform main button bit, used to define platform main button properties",
|
|
8751
8793
|
tags: [
|
|
8752
8794
|
{
|
|
8753
|
-
key: ConfigKey.
|
|
8754
|
-
description: "Common platform
|
|
8795
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8796
|
+
description: "Common platform styles"
|
|
8755
8797
|
}
|
|
8756
8798
|
]
|
|
8757
8799
|
},
|
|
@@ -8761,8 +8803,8 @@ var BITS = {
|
|
|
8761
8803
|
description: "Platform main input bit, used to define platform main input properties",
|
|
8762
8804
|
tags: [
|
|
8763
8805
|
{
|
|
8764
|
-
key: ConfigKey.
|
|
8765
|
-
description: "Common platform
|
|
8806
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8807
|
+
description: "Common platform styles"
|
|
8766
8808
|
}
|
|
8767
8809
|
]
|
|
8768
8810
|
},
|
|
@@ -8772,8 +8814,8 @@ var BITS = {
|
|
|
8772
8814
|
description: "Platform section bit, used to define platform section properties",
|
|
8773
8815
|
tags: [
|
|
8774
8816
|
{
|
|
8775
|
-
key: ConfigKey.
|
|
8776
|
-
description: "Common platform
|
|
8817
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8818
|
+
description: "Common platform styles"
|
|
8777
8819
|
}
|
|
8778
8820
|
]
|
|
8779
8821
|
},
|
|
@@ -8783,8 +8825,8 @@ var BITS = {
|
|
|
8783
8825
|
description: "Platform section button bit, used to define platform section button properties",
|
|
8784
8826
|
tags: [
|
|
8785
8827
|
{
|
|
8786
|
-
key: ConfigKey.
|
|
8787
|
-
description: "Common platform
|
|
8828
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8829
|
+
description: "Common platform styles"
|
|
8788
8830
|
}
|
|
8789
8831
|
]
|
|
8790
8832
|
},
|
|
@@ -8794,8 +8836,8 @@ var BITS = {
|
|
|
8794
8836
|
description: "Platform section chat bit, used to define platform section chat properties",
|
|
8795
8837
|
tags: [
|
|
8796
8838
|
{
|
|
8797
|
-
key: ConfigKey.
|
|
8798
|
-
description: "Common platform
|
|
8839
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8840
|
+
description: "Common platform styles"
|
|
8799
8841
|
},
|
|
8800
8842
|
{
|
|
8801
8843
|
key: ConfigKey.resource_platformBackgroundImage,
|
|
@@ -8815,8 +8857,8 @@ var BITS = {
|
|
|
8815
8857
|
description: "Platform section header bit, used to define platform section header properties",
|
|
8816
8858
|
tags: [
|
|
8817
8859
|
{
|
|
8818
|
-
key: ConfigKey.
|
|
8819
|
-
description: "Common platform
|
|
8860
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8861
|
+
description: "Common platform styles"
|
|
8820
8862
|
}
|
|
8821
8863
|
]
|
|
8822
8864
|
},
|
|
@@ -8826,8 +8868,8 @@ var BITS = {
|
|
|
8826
8868
|
description: "Platform section input bit, used to define platform section input properties",
|
|
8827
8869
|
tags: [
|
|
8828
8870
|
{
|
|
8829
|
-
key: ConfigKey.
|
|
8830
|
-
description: "Common platform
|
|
8871
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8872
|
+
description: "Common platform styles"
|
|
8831
8873
|
}
|
|
8832
8874
|
]
|
|
8833
8875
|
},
|
|
@@ -8837,8 +8879,8 @@ var BITS = {
|
|
|
8837
8879
|
description: "Platform system icon bit, used to define platform system icon properties",
|
|
8838
8880
|
tags: [
|
|
8839
8881
|
{
|
|
8840
|
-
key: ConfigKey.
|
|
8841
|
-
description: "Common platform
|
|
8882
|
+
key: ConfigKey.group_platformStylesCommon,
|
|
8883
|
+
description: "Common platform styles"
|
|
8842
8884
|
}
|
|
8843
8885
|
]
|
|
8844
8886
|
},
|
|
@@ -10196,7 +10238,7 @@ var instance2 = new Config();
|
|
|
10196
10238
|
// src/generated/package_info.ts
|
|
10197
10239
|
var PACKAGE_INFO = {
|
|
10198
10240
|
"name": "@gmb/bitmark-parser-generator",
|
|
10199
|
-
"version": "4.
|
|
10241
|
+
"version": "4.18.0",
|
|
10200
10242
|
"author": "Get More Brain Ltd",
|
|
10201
10243
|
"license": "ISC",
|
|
10202
10244
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -10952,6 +10994,20 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
10952
10994
|
platformMessageBackgroundColorValue: "platformMessageBackgroundColorValue",
|
|
10953
10995
|
platformBackgroundImage: "platformBackgroundImage",
|
|
10954
10996
|
platformBackgroundImageValue: "platformBackgroundImageValue",
|
|
10997
|
+
platformBorderColor: "platformBorderColor",
|
|
10998
|
+
platformBorderColorValue: "platformBorderColorValue",
|
|
10999
|
+
platformSelectionTextColor: "platformSelectionTextColor",
|
|
11000
|
+
platformSelectionTextColorValue: "platformSelectionTextColorValue",
|
|
11001
|
+
platformBaseLayerColor: "platformBaseLayerColor",
|
|
11002
|
+
platformBaseLayerColorValue: "platformBaseLayerColorValue",
|
|
11003
|
+
platformMargin: "platformMargin",
|
|
11004
|
+
platformMarginValue: "platformMarginValue",
|
|
11005
|
+
platformBorderRadius: "platformBorderRadius",
|
|
11006
|
+
platformBorderRadiusValue: "platformBorderRadiusValue",
|
|
11007
|
+
platformSelectionBorderRadius: "platformSelectionBorderRadius",
|
|
11008
|
+
platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue",
|
|
11009
|
+
platformNeedsShadow: "platformNeedsShadow",
|
|
11010
|
+
platformNeedsShadowValue: "platformNeedsShadowValue",
|
|
10955
11011
|
person: "person",
|
|
10956
11012
|
pointerLeft: "pointerLeft",
|
|
10957
11013
|
pointerLeftValue: "pointerLeftValue",
|
|
@@ -24489,6 +24545,48 @@ var Builder = class extends BaseBuilder {
|
|
|
24489
24545
|
options
|
|
24490
24546
|
),
|
|
24491
24547
|
platformBackgroundImage: this.toImageResource(context, data.platformBackgroundImage),
|
|
24548
|
+
platformBorderColor: this.toAstProperty(
|
|
24549
|
+
bitType,
|
|
24550
|
+
ConfigKey.property_platformBorderColor,
|
|
24551
|
+
data.platformBorderColor,
|
|
24552
|
+
options
|
|
24553
|
+
),
|
|
24554
|
+
platformSelectionTextColor: this.toAstProperty(
|
|
24555
|
+
bitType,
|
|
24556
|
+
ConfigKey.property_platformSelectionTextColor,
|
|
24557
|
+
data.platformSelectionTextColor,
|
|
24558
|
+
options
|
|
24559
|
+
),
|
|
24560
|
+
platformBaseLayerColor: this.toAstProperty(
|
|
24561
|
+
bitType,
|
|
24562
|
+
ConfigKey.property_platformBaseLayerColor,
|
|
24563
|
+
data.platformBaseLayerColor,
|
|
24564
|
+
options
|
|
24565
|
+
),
|
|
24566
|
+
platformMargin: this.toAstProperty(
|
|
24567
|
+
bitType,
|
|
24568
|
+
ConfigKey.property_platformMargin,
|
|
24569
|
+
data.platformMargin,
|
|
24570
|
+
options
|
|
24571
|
+
),
|
|
24572
|
+
platformBorderRadius: this.toAstProperty(
|
|
24573
|
+
bitType,
|
|
24574
|
+
ConfigKey.property_platformBorderRadius,
|
|
24575
|
+
data.platformBorderRadius,
|
|
24576
|
+
options
|
|
24577
|
+
),
|
|
24578
|
+
platformSelectionBorderRadius: this.toAstProperty(
|
|
24579
|
+
bitType,
|
|
24580
|
+
ConfigKey.property_platformSelectionBorderRadius,
|
|
24581
|
+
data.platformSelectionBorderRadius,
|
|
24582
|
+
options
|
|
24583
|
+
),
|
|
24584
|
+
platformNeedsShadow: this.toAstProperty(
|
|
24585
|
+
bitType,
|
|
24586
|
+
ConfigKey.property_platformNeedsShadow,
|
|
24587
|
+
data.platformNeedsShadow,
|
|
24588
|
+
options
|
|
24589
|
+
),
|
|
24492
24590
|
productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
|
|
24493
24591
|
product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
|
|
24494
24592
|
// productList: this.toAstProperty(
|