@gmb/bitmark-parser-generator 5.28.0 → 5.29.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/index.cjs CHANGED
@@ -1369,6 +1369,7 @@ var propertyKeys = {
1369
1369
  property_bubbleTag: "@bubbleTag",
1370
1370
  property_extractorTag: "@extractorTag",
1371
1371
  property_extractorInternal: "@extractorInternal",
1372
+ property_bitFingerprint: "@bitFingerprint",
1372
1373
  property_buttonCaption: "@buttonCaption",
1373
1374
  property_callToActionUrl: "@callToActionUrl",
1374
1375
  property_caption: "@caption",
@@ -4661,6 +4662,12 @@ var GROUPS = {
4661
4662
  format: TagFormat.coordinates,
4662
4663
  maxCount: Count.infinity
4663
4664
  },
4665
+ {
4666
+ key: ConfigKey.property_bitFingerprint,
4667
+ description: "Fingerprint(s) used by the AI extractor to identify the bit (font, style, color, pixels, etc.)",
4668
+ format: TagFormat.plainText,
4669
+ maxCount: Count.infinity
4670
+ },
4664
4671
  {
4665
4672
  key: ConfigKey.property_levelCEFRp,
4666
4673
  description: "The CEFRp level for the bit",
@@ -10254,7 +10261,18 @@ var BITS = {
10254
10261
  since: "5.12.0",
10255
10262
  baseBitType: BitType._standard,
10256
10263
  description: "Extractor blueprint bit, used to provide blueprint information about extractors",
10257
- textFormatDefault: TextFormat.json
10264
+ textFormatDefault: TextFormat.json,
10265
+ tags: [
10266
+ {
10267
+ key: ConfigKey.group_resourceBitTags,
10268
+ description: "Resource bit tags for the blueprint reference image"
10269
+ },
10270
+ {
10271
+ key: ConfigKey.group_resourceImage,
10272
+ description: "Optional uncropped reference page image, used so authoring tools can compute crops against the original page dimensions"
10273
+ }
10274
+ ],
10275
+ resourceAttachmentAllowed: false
10258
10276
  },
10259
10277
  [BitType.extractorInformation]: {
10260
10278
  since: "3.8.0",
@@ -13952,7 +13970,7 @@ var instance2 = new Config();
13952
13970
  // src/generated/package_info.ts
13953
13971
  var PACKAGE_INFO = {
13954
13972
  "name": "@gmb/bitmark-parser-generator",
13955
- "version": "5.28.0",
13973
+ "version": "5.29.0",
13956
13974
  "author": "Get More Brain Ltd",
13957
13975
  "license": "ISC",
13958
13976
  "description": "A bitmark parser and generator using Peggy.js"
@@ -14365,6 +14383,8 @@ var NodeType = {
14365
14383
  // bit
14366
14384
  bitType: "bitType",
14367
14385
  // bit type
14386
+ bitFingerprint: "bitFingerprint",
14387
+ bitFingerprintValue: "bitFingerprintValue",
14368
14388
  blockId: "blockId",
14369
14389
  blockIdValue: "blockIdValue",
14370
14390
  body: "body",
@@ -27993,6 +28013,12 @@ var Builder = class extends BaseBuilder {
27993
28013
  options
27994
28014
  ),
27995
28015
  sourceBB: this.normaliseSourceBB(data.sourceBB),
28016
+ bitFingerprint: this.toAstProperty(
28017
+ bitType,
28018
+ ConfigKey.property_bitFingerprint,
28019
+ data.bitFingerprint,
28020
+ options
28021
+ ),
27996
28022
  levelCEFRp: this.toAstProperty(
27997
28023
  bitType,
27998
28024
  ConfigKey.property_levelCEFRp,