@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.
@@ -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 [10 Nov 2025 at 04:10]</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":1231246,"parsedSize":545164,"gzipSize":105076,"groups":[{"label":"dist/browser/cjs","path":"./dist/browser/cjs","statSize":1224266,"groups":[{"id":922,"label":"index.cjs","path":"./dist/browser/cjs/index.cjs","statSize":1224266,"parsedSize":545060,"gzipSize":105076}],"parsedSize":545060,"gzipSize":105076},{"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",
@@ -1314,6 +1314,7 @@ var propertyKeys = {
1314
1314
  // Deprecated, replaced by person
1315
1315
  property_path: "@path",
1316
1316
  property_platformBackgroundColor: "@platformBackgroundColor",
1317
+ property_platformBorderColor: "@platformBorderColor",
1317
1318
  property_platformBrandTarget: "@platformBrandTarget",
1318
1319
  property_platformButtonBackgroundColor: "@platformButtonBackgroundColor",
1319
1320
  property_platformButtonPrimaryColor: "@platformButtonPrimaryColor",
@@ -1324,6 +1325,12 @@ var propertyKeys = {
1324
1325
  property_platformScrollbarColor: "@platformScrollbarColor",
1325
1326
  property_platformSecondaryColor: "@platformSecondaryColor",
1326
1327
  property_platformSelectionColor: "@platformSelectionColor",
1328
+ property_platformSelectionTextColor: "@platformSelectionTextColor",
1329
+ property_platformBaseLayerColor: "@platformBaseLayerColor",
1330
+ property_platformMargin: "@platformMargin",
1331
+ property_platformBorderRadius: "@platformBorderRadius",
1332
+ property_platformSelectionBorderRadius: "@platformSelectionBorderRadius",
1333
+ property_platformNeedsShadow: "@platformNeedsShadow",
1327
1334
  property_platformSeparatorColor: "@platformSeparatorColor",
1328
1335
  property_platformTextSelectionColor: "@platformTextSelectionColor",
1329
1336
  property_person: "@person",
@@ -3515,9 +3522,9 @@ var GROUPS = {
3515
3522
  }
3516
3523
  ]
3517
3524
  },
3518
- [ConfigKey.group_platformColorsCommon]: {
3525
+ [ConfigKey.group_platformStylesCommon]: {
3519
3526
  type: GroupConfigType.standard,
3520
- description: "Common platform colors",
3527
+ description: "Common platform styles",
3521
3528
  tags: [
3522
3529
  {
3523
3530
  key: ConfigKey.property_platformPrimaryColor,
@@ -3573,6 +3580,41 @@ var GROUPS = {
3573
3580
  key: ConfigKey.property_platformMessageBackgroundColor,
3574
3581
  description: "The platform section chat message background color",
3575
3582
  format: TagFormat.plainText
3583
+ },
3584
+ {
3585
+ key: ConfigKey.property_platformBorderColor,
3586
+ description: "The platform border color",
3587
+ format: TagFormat.plainText
3588
+ },
3589
+ {
3590
+ key: ConfigKey.property_platformSelectionTextColor,
3591
+ description: "The platform selection text color",
3592
+ format: TagFormat.plainText
3593
+ },
3594
+ {
3595
+ key: ConfigKey.property_platformBaseLayerColor,
3596
+ description: "The platform base layer color",
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
3576
3618
  }
3577
3619
  ]
3578
3620
  },
@@ -8714,8 +8756,8 @@ var BITS = {
8714
8756
  maxCount: 1
8715
8757
  },
8716
8758
  {
8717
- key: ConfigKey.group_platformColorsCommon,
8718
- description: "Common platform colors"
8759
+ key: ConfigKey.group_platformStylesCommon,
8760
+ description: "Common platform styles"
8719
8761
  }
8720
8762
  ]
8721
8763
  },
@@ -8725,8 +8767,8 @@ var BITS = {
8725
8767
  description: "Platform main bit, used to define platform main properties",
8726
8768
  tags: [
8727
8769
  {
8728
- key: ConfigKey.group_platformColorsCommon,
8729
- description: "Common platform colors"
8770
+ key: ConfigKey.group_platformStylesCommon,
8771
+ description: "Common platform styles"
8730
8772
  }
8731
8773
  ]
8732
8774
  },
@@ -8736,8 +8778,8 @@ var BITS = {
8736
8778
  description: "Platform main button bit, used to define platform main button properties",
8737
8779
  tags: [
8738
8780
  {
8739
- key: ConfigKey.group_platformColorsCommon,
8740
- description: "Common platform colors"
8781
+ key: ConfigKey.group_platformStylesCommon,
8782
+ description: "Common platform styles"
8741
8783
  }
8742
8784
  ]
8743
8785
  },
@@ -8747,8 +8789,8 @@ var BITS = {
8747
8789
  description: "Platform main input bit, used to define platform main input properties",
8748
8790
  tags: [
8749
8791
  {
8750
- key: ConfigKey.group_platformColorsCommon,
8751
- description: "Common platform colors"
8792
+ key: ConfigKey.group_platformStylesCommon,
8793
+ description: "Common platform styles"
8752
8794
  }
8753
8795
  ]
8754
8796
  },
@@ -8758,8 +8800,8 @@ var BITS = {
8758
8800
  description: "Platform section bit, used to define platform section properties",
8759
8801
  tags: [
8760
8802
  {
8761
- key: ConfigKey.group_platformColorsCommon,
8762
- description: "Common platform colors"
8803
+ key: ConfigKey.group_platformStylesCommon,
8804
+ description: "Common platform styles"
8763
8805
  }
8764
8806
  ]
8765
8807
  },
@@ -8769,8 +8811,8 @@ var BITS = {
8769
8811
  description: "Platform section button bit, used to define platform section button properties",
8770
8812
  tags: [
8771
8813
  {
8772
- key: ConfigKey.group_platformColorsCommon,
8773
- description: "Common platform colors"
8814
+ key: ConfigKey.group_platformStylesCommon,
8815
+ description: "Common platform styles"
8774
8816
  }
8775
8817
  ]
8776
8818
  },
@@ -8780,8 +8822,8 @@ var BITS = {
8780
8822
  description: "Platform section chat bit, used to define platform section chat properties",
8781
8823
  tags: [
8782
8824
  {
8783
- key: ConfigKey.group_platformColorsCommon,
8784
- description: "Common platform colors"
8825
+ key: ConfigKey.group_platformStylesCommon,
8826
+ description: "Common platform styles"
8785
8827
  },
8786
8828
  {
8787
8829
  key: ConfigKey.resource_platformBackgroundImage,
@@ -8801,8 +8843,8 @@ var BITS = {
8801
8843
  description: "Platform section header bit, used to define platform section header properties",
8802
8844
  tags: [
8803
8845
  {
8804
- key: ConfigKey.group_platformColorsCommon,
8805
- description: "Common platform colors"
8846
+ key: ConfigKey.group_platformStylesCommon,
8847
+ description: "Common platform styles"
8806
8848
  }
8807
8849
  ]
8808
8850
  },
@@ -8812,8 +8854,8 @@ var BITS = {
8812
8854
  description: "Platform section input bit, used to define platform section input properties",
8813
8855
  tags: [
8814
8856
  {
8815
- key: ConfigKey.group_platformColorsCommon,
8816
- description: "Common platform colors"
8857
+ key: ConfigKey.group_platformStylesCommon,
8858
+ description: "Common platform styles"
8817
8859
  }
8818
8860
  ]
8819
8861
  },
@@ -8823,8 +8865,8 @@ var BITS = {
8823
8865
  description: "Platform system icon bit, used to define platform system icon properties",
8824
8866
  tags: [
8825
8867
  {
8826
- key: ConfigKey.group_platformColorsCommon,
8827
- description: "Common platform colors"
8868
+ key: ConfigKey.group_platformStylesCommon,
8869
+ description: "Common platform styles"
8828
8870
  }
8829
8871
  ]
8830
8872
  },
@@ -10182,7 +10224,7 @@ var instance2 = new Config();
10182
10224
  // src/generated/package_info.ts
10183
10225
  var PACKAGE_INFO = {
10184
10226
  "name": "@gmb/bitmark-parser-generator",
10185
- "version": "4.16.1",
10227
+ "version": "4.18.0",
10186
10228
  "author": "Get More Brain Ltd",
10187
10229
  "license": "ISC",
10188
10230
  "description": "A bitmark parser and generator using Peggy.js"
@@ -10938,6 +10980,20 @@ var NodeType = (0, import_superenum20.superenum)({
10938
10980
  platformMessageBackgroundColorValue: "platformMessageBackgroundColorValue",
10939
10981
  platformBackgroundImage: "platformBackgroundImage",
10940
10982
  platformBackgroundImageValue: "platformBackgroundImageValue",
10983
+ platformBorderColor: "platformBorderColor",
10984
+ platformBorderColorValue: "platformBorderColorValue",
10985
+ platformSelectionTextColor: "platformSelectionTextColor",
10986
+ platformSelectionTextColorValue: "platformSelectionTextColorValue",
10987
+ platformBaseLayerColor: "platformBaseLayerColor",
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",
10941
10997
  person: "person",
10942
10998
  pointerLeft: "pointerLeft",
10943
10999
  pointerLeftValue: "pointerLeftValue",
@@ -24475,6 +24531,48 @@ var Builder = class extends BaseBuilder {
24475
24531
  options
24476
24532
  ),
24477
24533
  platformBackgroundImage: this.toImageResource(context, data.platformBackgroundImage),
24534
+ platformBorderColor: this.toAstProperty(
24535
+ bitType,
24536
+ ConfigKey.property_platformBorderColor,
24537
+ data.platformBorderColor,
24538
+ options
24539
+ ),
24540
+ platformSelectionTextColor: this.toAstProperty(
24541
+ bitType,
24542
+ ConfigKey.property_platformSelectionTextColor,
24543
+ data.platformSelectionTextColor,
24544
+ options
24545
+ ),
24546
+ platformBaseLayerColor: this.toAstProperty(
24547
+ bitType,
24548
+ ConfigKey.property_platformBaseLayerColor,
24549
+ data.platformBaseLayerColor,
24550
+ options
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
+ ),
24478
24576
  productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
24479
24577
  product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
24480
24578
  // productList: this.toAstProperty(