@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/cli/main.js CHANGED
@@ -1269,6 +1269,7 @@ var propertyKeys = {
1269
1269
  property_bubbleTag: "@bubbleTag",
1270
1270
  property_extractorTag: "@extractorTag",
1271
1271
  property_extractorInternal: "@extractorInternal",
1272
+ property_bitFingerprint: "@bitFingerprint",
1272
1273
  property_buttonCaption: "@buttonCaption",
1273
1274
  property_callToActionUrl: "@callToActionUrl",
1274
1275
  property_caption: "@caption",
@@ -4552,6 +4553,12 @@ var GROUPS = {
4552
4553
  format: TagFormat.coordinates,
4553
4554
  maxCount: Count.infinity
4554
4555
  },
4556
+ {
4557
+ key: ConfigKey.property_bitFingerprint,
4558
+ description: "Fingerprint(s) used by the AI extractor to identify the bit (font, style, color, pixels, etc.)",
4559
+ format: TagFormat.plainText,
4560
+ maxCount: Count.infinity
4561
+ },
4555
4562
  {
4556
4563
  key: ConfigKey.property_levelCEFRp,
4557
4564
  description: "The CEFRp level for the bit",
@@ -10145,7 +10152,18 @@ var BITS = {
10145
10152
  since: "5.12.0",
10146
10153
  baseBitType: BitType._standard,
10147
10154
  description: "Extractor blueprint bit, used to provide blueprint information about extractors",
10148
- textFormatDefault: TextFormat.json
10155
+ textFormatDefault: TextFormat.json,
10156
+ tags: [
10157
+ {
10158
+ key: ConfigKey.group_resourceBitTags,
10159
+ description: "Resource bit tags for the blueprint reference image"
10160
+ },
10161
+ {
10162
+ key: ConfigKey.group_resourceImage,
10163
+ description: "Optional uncropped reference page image, used so authoring tools can compute crops against the original page dimensions"
10164
+ }
10165
+ ],
10166
+ resourceAttachmentAllowed: false
10149
10167
  },
10150
10168
  [BitType.extractorInformation]: {
10151
10169
  since: "3.8.0",
@@ -13843,7 +13861,7 @@ var instance2 = new Config();
13843
13861
  // src/generated/package_info.ts
13844
13862
  var PACKAGE_INFO = {
13845
13863
  "name": "@gmb/bitmark-parser-generator",
13846
- "version": "5.28.0",
13864
+ "version": "5.29.0",
13847
13865
  "license": "ISC"};
13848
13866
  var Environment = {
13849
13867
  unknown: "",
@@ -14224,6 +14242,8 @@ var NodeType = {
14224
14242
  // bit
14225
14243
  bitType: "bitType",
14226
14244
  // bit type
14245
+ bitFingerprint: "bitFingerprint",
14246
+ bitFingerprintValue: "bitFingerprintValue",
14227
14247
  blockId: "blockId",
14228
14248
  blockIdValue: "blockIdValue",
14229
14249
  body: "body",
@@ -27668,6 +27688,12 @@ var Builder = class extends BaseBuilder {
27668
27688
  options
27669
27689
  ),
27670
27690
  sourceBB: this.normaliseSourceBB(data.sourceBB),
27691
+ bitFingerprint: this.toAstProperty(
27692
+ bitType,
27693
+ ConfigKey.property_bitFingerprint,
27694
+ data.bitFingerprint,
27695
+ options
27696
+ ),
27671
27697
  levelCEFRp: this.toAstProperty(
27672
27698
  bitType,
27673
27699
  ConfigKey.property_levelCEFRp,