@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.
@@ -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 [11 Nov 2025 at 01:12]</title>
6
+ <title>@gmb/bitmark-parser-generator [17 Nov 2025 at 03:33]</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+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9Ib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nRuLabN4CGNRkAE23na2+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":1232813,"parsedSize":546293,"gzipSize":105227,"groups":[{"label":"dist/browser/cjs","path":"./dist/browser/cjs","statSize":1225833,"groups":[{"id":922,"label":"index.cjs","path":"./dist/browser/cjs/index.cjs","statSize":1225833,"parsedSize":546189,"gzipSize":105227}],"parsedSize":546189,"gzipSize":105227},{"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}}];
34
+ window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1234826,"parsedSize":547722,"gzipSize":105450,"groups":[{"label":"dist/browser/cjs","path":"./dist/browser/cjs","statSize":1227846,"groups":[{"id":922,"label":"index.cjs","path":"./dist/browser/cjs/index.cjs","statSize":1227846,"parsedSize":547618,"gzipSize":105450}],"parsedSize":547618,"gzipSize":105450},{"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
- group_platformColorsCommon: "group_platformColorsCommon",
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.group_platformColorsCommon]: {
3525
+ [ConfigKey.group_platformStylesCommon]: {
3522
3526
  type: GroupConfigType.standard,
3523
- description: "Common platform colors",
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.plainText
3603
+ },
3604
+ {
3605
+ key: ConfigKey.property_platformBorderRadius,
3606
+ description: "The platform border radius",
3607
+ format: TagFormat.plainText
3608
+ },
3609
+ {
3610
+ key: ConfigKey.property_platformSelectionBorderRadius,
3611
+ description: "The platform selection border radius",
3612
+ format: TagFormat.plainText
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
  },
@@ -8732,8 +8756,8 @@ var BITS = {
8732
8756
  maxCount: 1
8733
8757
  },
8734
8758
  {
8735
- key: ConfigKey.group_platformColorsCommon,
8736
- description: "Common platform colors"
8759
+ key: ConfigKey.group_platformStylesCommon,
8760
+ description: "Common platform styles"
8737
8761
  }
8738
8762
  ]
8739
8763
  },
@@ -8743,8 +8767,8 @@ var BITS = {
8743
8767
  description: "Platform main bit, used to define platform main properties",
8744
8768
  tags: [
8745
8769
  {
8746
- key: ConfigKey.group_platformColorsCommon,
8747
- description: "Common platform colors"
8770
+ key: ConfigKey.group_platformStylesCommon,
8771
+ description: "Common platform styles"
8748
8772
  }
8749
8773
  ]
8750
8774
  },
@@ -8754,8 +8778,8 @@ var BITS = {
8754
8778
  description: "Platform main button bit, used to define platform main button properties",
8755
8779
  tags: [
8756
8780
  {
8757
- key: ConfigKey.group_platformColorsCommon,
8758
- description: "Common platform colors"
8781
+ key: ConfigKey.group_platformStylesCommon,
8782
+ description: "Common platform styles"
8759
8783
  }
8760
8784
  ]
8761
8785
  },
@@ -8765,8 +8789,8 @@ var BITS = {
8765
8789
  description: "Platform main input bit, used to define platform main input properties",
8766
8790
  tags: [
8767
8791
  {
8768
- key: ConfigKey.group_platformColorsCommon,
8769
- description: "Common platform colors"
8792
+ key: ConfigKey.group_platformStylesCommon,
8793
+ description: "Common platform styles"
8770
8794
  }
8771
8795
  ]
8772
8796
  },
@@ -8776,8 +8800,8 @@ var BITS = {
8776
8800
  description: "Platform section bit, used to define platform section properties",
8777
8801
  tags: [
8778
8802
  {
8779
- key: ConfigKey.group_platformColorsCommon,
8780
- description: "Common platform colors"
8803
+ key: ConfigKey.group_platformStylesCommon,
8804
+ description: "Common platform styles"
8781
8805
  }
8782
8806
  ]
8783
8807
  },
@@ -8787,8 +8811,8 @@ var BITS = {
8787
8811
  description: "Platform section button bit, used to define platform section button properties",
8788
8812
  tags: [
8789
8813
  {
8790
- key: ConfigKey.group_platformColorsCommon,
8791
- description: "Common platform colors"
8814
+ key: ConfigKey.group_platformStylesCommon,
8815
+ description: "Common platform styles"
8792
8816
  }
8793
8817
  ]
8794
8818
  },
@@ -8798,8 +8822,8 @@ var BITS = {
8798
8822
  description: "Platform section chat bit, used to define platform section chat properties",
8799
8823
  tags: [
8800
8824
  {
8801
- key: ConfigKey.group_platformColorsCommon,
8802
- description: "Common platform colors"
8825
+ key: ConfigKey.group_platformStylesCommon,
8826
+ description: "Common platform styles"
8803
8827
  },
8804
8828
  {
8805
8829
  key: ConfigKey.resource_platformBackgroundImage,
@@ -8819,8 +8843,8 @@ var BITS = {
8819
8843
  description: "Platform section header bit, used to define platform section header properties",
8820
8844
  tags: [
8821
8845
  {
8822
- key: ConfigKey.group_platformColorsCommon,
8823
- description: "Common platform colors"
8846
+ key: ConfigKey.group_platformStylesCommon,
8847
+ description: "Common platform styles"
8824
8848
  }
8825
8849
  ]
8826
8850
  },
@@ -8830,8 +8854,8 @@ var BITS = {
8830
8854
  description: "Platform section input bit, used to define platform section input properties",
8831
8855
  tags: [
8832
8856
  {
8833
- key: ConfigKey.group_platformColorsCommon,
8834
- description: "Common platform colors"
8857
+ key: ConfigKey.group_platformStylesCommon,
8858
+ description: "Common platform styles"
8835
8859
  }
8836
8860
  ]
8837
8861
  },
@@ -8841,8 +8865,8 @@ var BITS = {
8841
8865
  description: "Platform system icon bit, used to define platform system icon properties",
8842
8866
  tags: [
8843
8867
  {
8844
- key: ConfigKey.group_platformColorsCommon,
8845
- description: "Common platform colors"
8868
+ key: ConfigKey.group_platformStylesCommon,
8869
+ description: "Common platform styles"
8846
8870
  }
8847
8871
  ]
8848
8872
  },
@@ -10200,7 +10224,7 @@ var instance2 = new Config();
10200
10224
  // src/generated/package_info.ts
10201
10225
  var PACKAGE_INFO = {
10202
10226
  "name": "@gmb/bitmark-parser-generator",
10203
- "version": "4.17.0",
10227
+ "version": "4.18.0",
10204
10228
  "author": "Get More Brain Ltd",
10205
10229
  "license": "ISC",
10206
10230
  "description": "A bitmark parser and generator using Peggy.js"
@@ -10962,6 +10986,14 @@ var NodeType = (0, import_superenum20.superenum)({
10962
10986
  platformSelectionTextColorValue: "platformSelectionTextColorValue",
10963
10987
  platformBaseLayerColor: "platformBaseLayerColor",
10964
10988
  platformBaseLayerColorValue: "platformBaseLayerColorValue",
10989
+ platformMargin: "platformMargin",
10990
+ platformMarginValue: "platformMarginValue",
10991
+ platformBorderRadius: "platformBorderRadius",
10992
+ platformBorderRadiusValue: "platformBorderRadiusValue",
10993
+ platformSelectionBorderRadius: "platformSelectionBorderRadius",
10994
+ platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue",
10995
+ platformNeedsShadow: "platformNeedsShadow",
10996
+ platformNeedsShadowValue: "platformNeedsShadowValue",
10965
10997
  person: "person",
10966
10998
  pointerLeft: "pointerLeft",
10967
10999
  pointerLeftValue: "pointerLeftValue",
@@ -24517,6 +24549,30 @@ var Builder = class extends BaseBuilder {
24517
24549
  data.platformBaseLayerColor,
24518
24550
  options
24519
24551
  ),
24552
+ platformMargin: this.toAstProperty(
24553
+ bitType,
24554
+ ConfigKey.property_platformMargin,
24555
+ data.platformMargin,
24556
+ options
24557
+ ),
24558
+ platformBorderRadius: this.toAstProperty(
24559
+ bitType,
24560
+ ConfigKey.property_platformBorderRadius,
24561
+ data.platformBorderRadius,
24562
+ options
24563
+ ),
24564
+ platformSelectionBorderRadius: this.toAstProperty(
24565
+ bitType,
24566
+ ConfigKey.property_platformSelectionBorderRadius,
24567
+ data.platformSelectionBorderRadius,
24568
+ options
24569
+ ),
24570
+ platformNeedsShadow: this.toAstProperty(
24571
+ bitType,
24572
+ ConfigKey.property_platformNeedsShadow,
24573
+ data.platformNeedsShadow,
24574
+ options
24575
+ ),
24520
24576
  productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
24521
24577
  product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
24522
24578
  // productList: this.toAstProperty(