@gmb/bitmark-parser-generator 4.17.0 → 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.
@@ -1291,7 +1291,7 @@ declare const ConfigKey: Readonly<{
1291
1291
  group_bookCommon: "group_bookCommon";
1292
1292
  group_learningPathCommon: "group_learningPathCommon";
1293
1293
  group_advertisingCommon: "group_advertisingCommon";
1294
- group_platformColorsCommon: "group_platformColorsCommon";
1294
+ group_platformStylesCommon: "group_platformStylesCommon";
1295
1295
  group_quizCommon: "group_quizCommon";
1296
1296
  group_resourceBitTags: "group_resourceBitTags";
1297
1297
  group_resourceCommon: "group_resourceCommon";
@@ -1487,6 +1487,10 @@ declare const ConfigKey: Readonly<{
1487
1487
  property_platformSelectionColor: "@platformSelectionColor";
1488
1488
  property_platformSelectionTextColor: "@platformSelectionTextColor";
1489
1489
  property_platformBaseLayerColor: "@platformBaseLayerColor";
1490
+ property_platformMargin: "@platformMargin";
1491
+ property_platformBorderRadius: "@platformBorderRadius";
1492
+ property_platformSelectionBorderRadius: "@platformSelectionBorderRadius";
1493
+ property_platformNeedsShadow: "@platformNeedsShadow";
1490
1494
  property_platformSeparatorColor: "@platformSeparatorColor";
1491
1495
  property_platformTextSelectionColor: "@platformTextSelectionColor";
1492
1496
  property_person: "@person";
@@ -1648,7 +1652,7 @@ declare const ConfigKey: Readonly<{
1648
1652
  group_bookCommon: "group_bookCommon";
1649
1653
  group_learningPathCommon: "group_learningPathCommon";
1650
1654
  group_advertisingCommon: "group_advertisingCommon";
1651
- group_platformColorsCommon: "group_platformColorsCommon";
1655
+ group_platformStylesCommon: "group_platformStylesCommon";
1652
1656
  group_quizCommon: "group_quizCommon";
1653
1657
  group_resourceBitTags: "group_resourceBitTags";
1654
1658
  group_resourceCommon: "group_resourceCommon";
@@ -1844,6 +1848,10 @@ declare const ConfigKey: Readonly<{
1844
1848
  property_platformSelectionColor: "@platformSelectionColor";
1845
1849
  property_platformSelectionTextColor: "@platformSelectionTextColor";
1846
1850
  property_platformBaseLayerColor: "@platformBaseLayerColor";
1851
+ property_platformMargin: "@platformMargin";
1852
+ property_platformBorderRadius: "@platformBorderRadius";
1853
+ property_platformSelectionBorderRadius: "@platformSelectionBorderRadius";
1854
+ property_platformNeedsShadow: "@platformNeedsShadow";
1847
1855
  property_platformSeparatorColor: "@platformSeparatorColor";
1848
1856
  property_platformTextSelectionColor: "@platformTextSelectionColor";
1849
1857
  property_person: "@person";
@@ -2875,6 +2883,10 @@ interface BitJson {
2875
2883
  platformBorderColor: string;
2876
2884
  platformSelectionTextColor: string;
2877
2885
  platformBaseLayerColor: string;
2886
+ platformMargin: string;
2887
+ platformBorderRadius: string;
2888
+ platformSelectionBorderRadius: string;
2889
+ platformNeedsShadow: boolean;
2878
2890
  productId: string | string[];
2879
2891
  product: string;
2880
2892
  productVideo: string;
@@ -3479,6 +3491,10 @@ interface Bit {
3479
3491
  platformBorderColor?: Property;
3480
3492
  platformSelectionTextColor?: Property;
3481
3493
  platformBaseLayerColor?: Property;
3494
+ platformMargin?: Property;
3495
+ platformBorderRadius?: Property;
3496
+ platformSelectionBorderRadius?: Property;
3497
+ platformNeedsShadow?: Property;
3482
3498
  productId?: Property;
3483
3499
  product?: Property;
3484
3500
  productList?: Property;
@@ -4002,6 +4018,14 @@ declare const NodeType: Readonly<{
4002
4018
  platformSelectionTextColorValue: "platformSelectionTextColorValue";
4003
4019
  platformBaseLayerColor: "platformBaseLayerColor";
4004
4020
  platformBaseLayerColorValue: "platformBaseLayerColorValue";
4021
+ platformMargin: "platformMargin";
4022
+ platformMarginValue: "platformMarginValue";
4023
+ platformBorderRadius: "platformBorderRadius";
4024
+ platformBorderRadiusValue: "platformBorderRadiusValue";
4025
+ platformSelectionBorderRadius: "platformSelectionBorderRadius";
4026
+ platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue";
4027
+ platformNeedsShadow: "platformNeedsShadow";
4028
+ platformNeedsShadowValue: "platformNeedsShadowValue";
4005
4029
  person: "person";
4006
4030
  pointerLeft: "pointerLeft";
4007
4031
  pointerLeftValue: "pointerLeftValue";
@@ -4666,6 +4690,14 @@ declare const NodeType: Readonly<{
4666
4690
  platformSelectionTextColorValue: "platformSelectionTextColorValue";
4667
4691
  platformBaseLayerColor: "platformBaseLayerColor";
4668
4692
  platformBaseLayerColorValue: "platformBaseLayerColorValue";
4693
+ platformMargin: "platformMargin";
4694
+ platformMarginValue: "platformMarginValue";
4695
+ platformBorderRadius: "platformBorderRadius";
4696
+ platformBorderRadiusValue: "platformBorderRadiusValue";
4697
+ platformSelectionBorderRadius: "platformSelectionBorderRadius";
4698
+ platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue";
4699
+ platformNeedsShadow: "platformNeedsShadow";
4700
+ platformNeedsShadowValue: "platformNeedsShadowValue";
4669
4701
  person: "person";
4670
4702
  pointerLeft: "pointerLeft";
4671
4703
  pointerLeftValue: "pointerLeftValue";
@@ -5976,6 +6008,10 @@ declare class Builder extends BaseBuilder {
5976
6008
  platformBorderColor?: string;
5977
6009
  platformSelectionTextColor?: string;
5978
6010
  platformBaseLayerColor?: string;
6011
+ platformMargin?: string;
6012
+ platformBorderRadius?: string;
6013
+ platformSelectionBorderRadius?: string;
6014
+ platformNeedsShadow?: boolean;
5979
6015
  productId?: string | string[];
5980
6016
  product?: string | string[];
5981
6017
  productVideo?: string | string[];
@@ -1291,7 +1291,7 @@ declare const ConfigKey: Readonly<{
1291
1291
  group_bookCommon: "group_bookCommon";
1292
1292
  group_learningPathCommon: "group_learningPathCommon";
1293
1293
  group_advertisingCommon: "group_advertisingCommon";
1294
- group_platformColorsCommon: "group_platformColorsCommon";
1294
+ group_platformStylesCommon: "group_platformStylesCommon";
1295
1295
  group_quizCommon: "group_quizCommon";
1296
1296
  group_resourceBitTags: "group_resourceBitTags";
1297
1297
  group_resourceCommon: "group_resourceCommon";
@@ -1487,6 +1487,10 @@ declare const ConfigKey: Readonly<{
1487
1487
  property_platformSelectionColor: "@platformSelectionColor";
1488
1488
  property_platformSelectionTextColor: "@platformSelectionTextColor";
1489
1489
  property_platformBaseLayerColor: "@platformBaseLayerColor";
1490
+ property_platformMargin: "@platformMargin";
1491
+ property_platformBorderRadius: "@platformBorderRadius";
1492
+ property_platformSelectionBorderRadius: "@platformSelectionBorderRadius";
1493
+ property_platformNeedsShadow: "@platformNeedsShadow";
1490
1494
  property_platformSeparatorColor: "@platformSeparatorColor";
1491
1495
  property_platformTextSelectionColor: "@platformTextSelectionColor";
1492
1496
  property_person: "@person";
@@ -1648,7 +1652,7 @@ declare const ConfigKey: Readonly<{
1648
1652
  group_bookCommon: "group_bookCommon";
1649
1653
  group_learningPathCommon: "group_learningPathCommon";
1650
1654
  group_advertisingCommon: "group_advertisingCommon";
1651
- group_platformColorsCommon: "group_platformColorsCommon";
1655
+ group_platformStylesCommon: "group_platformStylesCommon";
1652
1656
  group_quizCommon: "group_quizCommon";
1653
1657
  group_resourceBitTags: "group_resourceBitTags";
1654
1658
  group_resourceCommon: "group_resourceCommon";
@@ -1844,6 +1848,10 @@ declare const ConfigKey: Readonly<{
1844
1848
  property_platformSelectionColor: "@platformSelectionColor";
1845
1849
  property_platformSelectionTextColor: "@platformSelectionTextColor";
1846
1850
  property_platformBaseLayerColor: "@platformBaseLayerColor";
1851
+ property_platformMargin: "@platformMargin";
1852
+ property_platformBorderRadius: "@platformBorderRadius";
1853
+ property_platformSelectionBorderRadius: "@platformSelectionBorderRadius";
1854
+ property_platformNeedsShadow: "@platformNeedsShadow";
1847
1855
  property_platformSeparatorColor: "@platformSeparatorColor";
1848
1856
  property_platformTextSelectionColor: "@platformTextSelectionColor";
1849
1857
  property_person: "@person";
@@ -2875,6 +2883,10 @@ interface BitJson {
2875
2883
  platformBorderColor: string;
2876
2884
  platformSelectionTextColor: string;
2877
2885
  platformBaseLayerColor: string;
2886
+ platformMargin: string;
2887
+ platformBorderRadius: string;
2888
+ platformSelectionBorderRadius: string;
2889
+ platformNeedsShadow: boolean;
2878
2890
  productId: string | string[];
2879
2891
  product: string;
2880
2892
  productVideo: string;
@@ -3479,6 +3491,10 @@ interface Bit {
3479
3491
  platformBorderColor?: Property;
3480
3492
  platformSelectionTextColor?: Property;
3481
3493
  platformBaseLayerColor?: Property;
3494
+ platformMargin?: Property;
3495
+ platformBorderRadius?: Property;
3496
+ platformSelectionBorderRadius?: Property;
3497
+ platformNeedsShadow?: Property;
3482
3498
  productId?: Property;
3483
3499
  product?: Property;
3484
3500
  productList?: Property;
@@ -4002,6 +4018,14 @@ declare const NodeType: Readonly<{
4002
4018
  platformSelectionTextColorValue: "platformSelectionTextColorValue";
4003
4019
  platformBaseLayerColor: "platformBaseLayerColor";
4004
4020
  platformBaseLayerColorValue: "platformBaseLayerColorValue";
4021
+ platformMargin: "platformMargin";
4022
+ platformMarginValue: "platformMarginValue";
4023
+ platformBorderRadius: "platformBorderRadius";
4024
+ platformBorderRadiusValue: "platformBorderRadiusValue";
4025
+ platformSelectionBorderRadius: "platformSelectionBorderRadius";
4026
+ platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue";
4027
+ platformNeedsShadow: "platformNeedsShadow";
4028
+ platformNeedsShadowValue: "platformNeedsShadowValue";
4005
4029
  person: "person";
4006
4030
  pointerLeft: "pointerLeft";
4007
4031
  pointerLeftValue: "pointerLeftValue";
@@ -4666,6 +4690,14 @@ declare const NodeType: Readonly<{
4666
4690
  platformSelectionTextColorValue: "platformSelectionTextColorValue";
4667
4691
  platformBaseLayerColor: "platformBaseLayerColor";
4668
4692
  platformBaseLayerColorValue: "platformBaseLayerColorValue";
4693
+ platformMargin: "platformMargin";
4694
+ platformMarginValue: "platformMarginValue";
4695
+ platformBorderRadius: "platformBorderRadius";
4696
+ platformBorderRadiusValue: "platformBorderRadiusValue";
4697
+ platformSelectionBorderRadius: "platformSelectionBorderRadius";
4698
+ platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue";
4699
+ platformNeedsShadow: "platformNeedsShadow";
4700
+ platformNeedsShadowValue: "platformNeedsShadowValue";
4669
4701
  person: "person";
4670
4702
  pointerLeft: "pointerLeft";
4671
4703
  pointerLeftValue: "pointerLeftValue";
@@ -5976,6 +6008,10 @@ declare class Builder extends BaseBuilder {
5976
6008
  platformBorderColor?: string;
5977
6009
  platformSelectionTextColor?: string;
5978
6010
  platformBaseLayerColor?: string;
6011
+ platformMargin?: string;
6012
+ platformBorderRadius?: string;
6013
+ platformSelectionBorderRadius?: string;
6014
+ platformNeedsShadow?: boolean;
5979
6015
  productId?: string | string[];
5980
6016
  product?: string | string[];
5981
6017
  productVideo?: string | string[];
@@ -1076,7 +1076,7 @@ var groupKeys = {
1076
1076
  group_bookCommon: "group_bookCommon",
1077
1077
  group_learningPathCommon: "group_learningPathCommon",
1078
1078
  group_advertisingCommon: "group_advertisingCommon",
1079
- group_platformColorsCommon: "group_platformColorsCommon",
1079
+ group_platformStylesCommon: "group_platformStylesCommon",
1080
1080
  group_quizCommon: "group_quizCommon",
1081
1081
  group_resourceBitTags: "group_resourceBitTags",
1082
1082
  group_resourceCommon: "group_resourceCommon",
@@ -1282,6 +1282,10 @@ var propertyKeys = {
1282
1282
  property_platformSelectionColor: "@platformSelectionColor",
1283
1283
  property_platformSelectionTextColor: "@platformSelectionTextColor",
1284
1284
  property_platformBaseLayerColor: "@platformBaseLayerColor",
1285
+ property_platformMargin: "@platformMargin",
1286
+ property_platformBorderRadius: "@platformBorderRadius",
1287
+ property_platformSelectionBorderRadius: "@platformSelectionBorderRadius",
1288
+ property_platformNeedsShadow: "@platformNeedsShadow",
1285
1289
  property_platformSeparatorColor: "@platformSeparatorColor",
1286
1290
  property_platformTextSelectionColor: "@platformTextSelectionColor",
1287
1291
  property_person: "@person",
@@ -3473,9 +3477,9 @@ var GROUPS = {
3473
3477
  }
3474
3478
  ]
3475
3479
  },
3476
- [ConfigKey.group_platformColorsCommon]: {
3480
+ [ConfigKey.group_platformStylesCommon]: {
3477
3481
  type: GroupConfigType.standard,
3478
- description: "Common platform colors",
3482
+ description: "Common platform styles",
3479
3483
  tags: [
3480
3484
  {
3481
3485
  key: ConfigKey.property_platformPrimaryColor,
@@ -3546,6 +3550,26 @@ var GROUPS = {
3546
3550
  key: ConfigKey.property_platformBaseLayerColor,
3547
3551
  description: "The platform base layer color",
3548
3552
  format: TagFormat.plainText
3553
+ },
3554
+ {
3555
+ key: ConfigKey.property_platformMargin,
3556
+ description: "The platform margin",
3557
+ format: TagFormat.plainText
3558
+ },
3559
+ {
3560
+ key: ConfigKey.property_platformBorderRadius,
3561
+ description: "The platform border radius",
3562
+ format: TagFormat.plainText
3563
+ },
3564
+ {
3565
+ key: ConfigKey.property_platformSelectionBorderRadius,
3566
+ description: "The platform selection border radius",
3567
+ format: TagFormat.plainText
3568
+ },
3569
+ {
3570
+ key: ConfigKey.property_platformNeedsShadow,
3571
+ description: "If true, the platform needs shadow",
3572
+ format: TagFormat.boolean
3549
3573
  }
3550
3574
  ]
3551
3575
  },
@@ -8687,8 +8711,8 @@ var BITS = {
8687
8711
  maxCount: 1
8688
8712
  },
8689
8713
  {
8690
- key: ConfigKey.group_platformColorsCommon,
8691
- description: "Common platform colors"
8714
+ key: ConfigKey.group_platformStylesCommon,
8715
+ description: "Common platform styles"
8692
8716
  }
8693
8717
  ]
8694
8718
  },
@@ -8698,8 +8722,8 @@ var BITS = {
8698
8722
  description: "Platform main bit, used to define platform main properties",
8699
8723
  tags: [
8700
8724
  {
8701
- key: ConfigKey.group_platformColorsCommon,
8702
- description: "Common platform colors"
8725
+ key: ConfigKey.group_platformStylesCommon,
8726
+ description: "Common platform styles"
8703
8727
  }
8704
8728
  ]
8705
8729
  },
@@ -8709,8 +8733,8 @@ var BITS = {
8709
8733
  description: "Platform main button bit, used to define platform main button properties",
8710
8734
  tags: [
8711
8735
  {
8712
- key: ConfigKey.group_platformColorsCommon,
8713
- description: "Common platform colors"
8736
+ key: ConfigKey.group_platformStylesCommon,
8737
+ description: "Common platform styles"
8714
8738
  }
8715
8739
  ]
8716
8740
  },
@@ -8720,8 +8744,8 @@ var BITS = {
8720
8744
  description: "Platform main input bit, used to define platform main input properties",
8721
8745
  tags: [
8722
8746
  {
8723
- key: ConfigKey.group_platformColorsCommon,
8724
- description: "Common platform colors"
8747
+ key: ConfigKey.group_platformStylesCommon,
8748
+ description: "Common platform styles"
8725
8749
  }
8726
8750
  ]
8727
8751
  },
@@ -8731,8 +8755,8 @@ var BITS = {
8731
8755
  description: "Platform section bit, used to define platform section properties",
8732
8756
  tags: [
8733
8757
  {
8734
- key: ConfigKey.group_platformColorsCommon,
8735
- description: "Common platform colors"
8758
+ key: ConfigKey.group_platformStylesCommon,
8759
+ description: "Common platform styles"
8736
8760
  }
8737
8761
  ]
8738
8762
  },
@@ -8742,8 +8766,8 @@ var BITS = {
8742
8766
  description: "Platform section button bit, used to define platform section button properties",
8743
8767
  tags: [
8744
8768
  {
8745
- key: ConfigKey.group_platformColorsCommon,
8746
- description: "Common platform colors"
8769
+ key: ConfigKey.group_platformStylesCommon,
8770
+ description: "Common platform styles"
8747
8771
  }
8748
8772
  ]
8749
8773
  },
@@ -8753,8 +8777,8 @@ var BITS = {
8753
8777
  description: "Platform section chat bit, used to define platform section chat properties",
8754
8778
  tags: [
8755
8779
  {
8756
- key: ConfigKey.group_platformColorsCommon,
8757
- description: "Common platform colors"
8780
+ key: ConfigKey.group_platformStylesCommon,
8781
+ description: "Common platform styles"
8758
8782
  },
8759
8783
  {
8760
8784
  key: ConfigKey.resource_platformBackgroundImage,
@@ -8774,8 +8798,8 @@ var BITS = {
8774
8798
  description: "Platform section header bit, used to define platform section header properties",
8775
8799
  tags: [
8776
8800
  {
8777
- key: ConfigKey.group_platformColorsCommon,
8778
- description: "Common platform colors"
8801
+ key: ConfigKey.group_platformStylesCommon,
8802
+ description: "Common platform styles"
8779
8803
  }
8780
8804
  ]
8781
8805
  },
@@ -8785,8 +8809,8 @@ var BITS = {
8785
8809
  description: "Platform section input bit, used to define platform section input properties",
8786
8810
  tags: [
8787
8811
  {
8788
- key: ConfigKey.group_platformColorsCommon,
8789
- description: "Common platform colors"
8812
+ key: ConfigKey.group_platformStylesCommon,
8813
+ description: "Common platform styles"
8790
8814
  }
8791
8815
  ]
8792
8816
  },
@@ -8796,8 +8820,8 @@ var BITS = {
8796
8820
  description: "Platform system icon bit, used to define platform system icon properties",
8797
8821
  tags: [
8798
8822
  {
8799
- key: ConfigKey.group_platformColorsCommon,
8800
- description: "Common platform colors"
8823
+ key: ConfigKey.group_platformStylesCommon,
8824
+ description: "Common platform styles"
8801
8825
  }
8802
8826
  ]
8803
8827
  },
@@ -10155,7 +10179,7 @@ var instance2 = new Config();
10155
10179
  // src/generated/package_info.ts
10156
10180
  var PACKAGE_INFO = {
10157
10181
  "name": "@gmb/bitmark-parser-generator",
10158
- "version": "4.17.0",
10182
+ "version": "4.18.0",
10159
10183
  "author": "Get More Brain Ltd",
10160
10184
  "license": "ISC",
10161
10185
  "description": "A bitmark parser and generator using Peggy.js"
@@ -10917,6 +10941,14 @@ var NodeType = superenum20({
10917
10941
  platformSelectionTextColorValue: "platformSelectionTextColorValue",
10918
10942
  platformBaseLayerColor: "platformBaseLayerColor",
10919
10943
  platformBaseLayerColorValue: "platformBaseLayerColorValue",
10944
+ platformMargin: "platformMargin",
10945
+ platformMarginValue: "platformMarginValue",
10946
+ platformBorderRadius: "platformBorderRadius",
10947
+ platformBorderRadiusValue: "platformBorderRadiusValue",
10948
+ platformSelectionBorderRadius: "platformSelectionBorderRadius",
10949
+ platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue",
10950
+ platformNeedsShadow: "platformNeedsShadow",
10951
+ platformNeedsShadowValue: "platformNeedsShadowValue",
10920
10952
  person: "person",
10921
10953
  pointerLeft: "pointerLeft",
10922
10954
  pointerLeftValue: "pointerLeftValue",
@@ -24472,6 +24504,30 @@ var Builder = class extends BaseBuilder {
24472
24504
  data.platformBaseLayerColor,
24473
24505
  options
24474
24506
  ),
24507
+ platformMargin: this.toAstProperty(
24508
+ bitType,
24509
+ ConfigKey.property_platformMargin,
24510
+ data.platformMargin,
24511
+ options
24512
+ ),
24513
+ platformBorderRadius: this.toAstProperty(
24514
+ bitType,
24515
+ ConfigKey.property_platformBorderRadius,
24516
+ data.platformBorderRadius,
24517
+ options
24518
+ ),
24519
+ platformSelectionBorderRadius: this.toAstProperty(
24520
+ bitType,
24521
+ ConfigKey.property_platformSelectionBorderRadius,
24522
+ data.platformSelectionBorderRadius,
24523
+ options
24524
+ ),
24525
+ platformNeedsShadow: this.toAstProperty(
24526
+ bitType,
24527
+ ConfigKey.property_platformNeedsShadow,
24528
+ data.platformNeedsShadow,
24529
+ options
24530
+ ),
24475
24531
  productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
24476
24532
  product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
24477
24533
  // productList: this.toAstProperty(