@gmb/bitmark-parser-generator 4.11.0 → 4.12.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/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/browser/cjs/index.cjs +113 -14
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +11 -0
- package/dist/browser/esm/index.d.ts +11 -0
- package/dist/browser/esm/index.js +113 -14
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +113 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +113 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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 [
|
|
6
|
+
<title>@gmb/bitmark-parser-generator [29 Sep 2025 at 21:27]</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+v2dx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YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+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":
|
|
34
|
+
window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1158380,"parsedSize":505238,"gzipSize":98404,"groups":[{"label":"dist/browser/cjs","path":"./dist/browser/cjs","statSize":1151400,"groups":[{"id":922,"label":"index.cjs","path":"./dist/browser/cjs/index.cjs","statSize":1151400,"parsedSize":505134,"gzipSize":98404}],"parsedSize":505134,"gzipSize":98404},{"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>
|
|
@@ -1101,6 +1101,7 @@ var groupKeys = {
|
|
|
1101
1101
|
group_mark: "group_mark",
|
|
1102
1102
|
group_bookCommon: "group_bookCommon",
|
|
1103
1103
|
group_learningPathCommon: "group_learningPathCommon",
|
|
1104
|
+
group_advertisingCommon: "group_advertisingCommon",
|
|
1104
1105
|
group_quizCommon: "group_quizCommon",
|
|
1105
1106
|
group_resourceBitTags: "group_resourceBitTags",
|
|
1106
1107
|
group_resourceCommon: "group_resourceCommon",
|
|
@@ -1144,6 +1145,7 @@ var propertyKeys = {
|
|
|
1144
1145
|
property_action: "@action",
|
|
1145
1146
|
property_activityType: "@activityType",
|
|
1146
1147
|
property_additionalSolutions: "@additionalSolutions",
|
|
1148
|
+
property_advertisingClickUrl: "@advertisingClickUrl",
|
|
1147
1149
|
property_ageRange: "@ageRange",
|
|
1148
1150
|
property_aiGenerated: "@aiGenerated",
|
|
1149
1151
|
property_allowedBit: "@allowedBit",
|
|
@@ -3348,6 +3350,17 @@ var GROUPS = {
|
|
|
3348
3350
|
}
|
|
3349
3351
|
]
|
|
3350
3352
|
},
|
|
3353
|
+
[ConfigKey.group_advertisingCommon]: {
|
|
3354
|
+
type: GroupConfigType.standard,
|
|
3355
|
+
description: "Common advertising tags",
|
|
3356
|
+
tags: [
|
|
3357
|
+
{
|
|
3358
|
+
key: ConfigKey.property_advertisingClickUrl,
|
|
3359
|
+
description: "The URL to which the advertisement should link",
|
|
3360
|
+
format: TagFormat.plainText
|
|
3361
|
+
}
|
|
3362
|
+
]
|
|
3363
|
+
},
|
|
3351
3364
|
[ConfigKey.group_quizCommon]: {
|
|
3352
3365
|
type: GroupConfigType.standard,
|
|
3353
3366
|
description: "Common quiz tags",
|
|
@@ -5260,67 +5273,145 @@ var BITS = {
|
|
|
5260
5273
|
[BitType.advertising]: {
|
|
5261
5274
|
since: "4.2.0",
|
|
5262
5275
|
baseBitType: BitType.article,
|
|
5263
|
-
description: "General advertising content bit"
|
|
5276
|
+
description: "General advertising content bit",
|
|
5277
|
+
tags: [
|
|
5278
|
+
{
|
|
5279
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5280
|
+
description: "Common advertising tags"
|
|
5281
|
+
}
|
|
5282
|
+
]
|
|
5264
5283
|
},
|
|
5265
5284
|
[BitType.advertisingAdvertorial]: {
|
|
5266
5285
|
since: "4.2.0",
|
|
5267
5286
|
baseBitType: BitType.article,
|
|
5268
|
-
description: "Advertorial content bit (sponsored article)"
|
|
5287
|
+
description: "Advertorial content bit (sponsored article)",
|
|
5288
|
+
tags: [
|
|
5289
|
+
{
|
|
5290
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5291
|
+
description: "Common advertising tags"
|
|
5292
|
+
}
|
|
5293
|
+
]
|
|
5269
5294
|
},
|
|
5270
5295
|
[BitType.advertisingCallToAction]: {
|
|
5271
5296
|
since: "4.2.0",
|
|
5272
5297
|
baseBitType: BitType.callToAction,
|
|
5273
|
-
description: "Call-to-action for advertising"
|
|
5298
|
+
description: "Call-to-action for advertising",
|
|
5299
|
+
tags: [
|
|
5300
|
+
{
|
|
5301
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5302
|
+
description: "Common advertising tags"
|
|
5303
|
+
}
|
|
5304
|
+
]
|
|
5274
5305
|
},
|
|
5275
5306
|
[BitType.advertisingCallToActionMeeting]: {
|
|
5276
5307
|
since: "4.2.0",
|
|
5277
5308
|
baseBitType: BitType.callToAction,
|
|
5278
|
-
description: "Call-to-action for meeting or appointment"
|
|
5309
|
+
description: "Call-to-action for meeting or appointment",
|
|
5310
|
+
tags: [
|
|
5311
|
+
{
|
|
5312
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5313
|
+
description: "Common advertising tags"
|
|
5314
|
+
}
|
|
5315
|
+
]
|
|
5279
5316
|
},
|
|
5280
5317
|
[BitType.advertisingBanner]: {
|
|
5281
5318
|
since: "4.2.0",
|
|
5282
5319
|
baseBitType: BitType.image,
|
|
5283
|
-
description: "Banner advertisement bit"
|
|
5320
|
+
description: "Banner advertisement bit",
|
|
5321
|
+
tags: [
|
|
5322
|
+
{
|
|
5323
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5324
|
+
description: "Common advertising tags"
|
|
5325
|
+
}
|
|
5326
|
+
]
|
|
5284
5327
|
},
|
|
5285
5328
|
[BitType.advertisingSkyscraper]: {
|
|
5286
5329
|
since: "4.2.0",
|
|
5287
5330
|
baseBitType: BitType.image,
|
|
5288
|
-
description: "Skyscraper (vertical) advertisement bit"
|
|
5331
|
+
description: "Skyscraper (vertical) advertisement bit",
|
|
5332
|
+
tags: [
|
|
5333
|
+
{
|
|
5334
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5335
|
+
description: "Common advertising tags"
|
|
5336
|
+
}
|
|
5337
|
+
]
|
|
5289
5338
|
},
|
|
5290
5339
|
[BitType.advertisingRectangle]: {
|
|
5291
5340
|
since: "4.2.0",
|
|
5292
5341
|
baseBitType: BitType.image,
|
|
5293
|
-
description: "Rectangle advertisement bit"
|
|
5342
|
+
description: "Rectangle advertisement bit",
|
|
5343
|
+
tags: [
|
|
5344
|
+
{
|
|
5345
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5346
|
+
description: "Common advertising tags"
|
|
5347
|
+
}
|
|
5348
|
+
]
|
|
5294
5349
|
},
|
|
5295
5350
|
[BitType.advertisingFullPage]: {
|
|
5296
5351
|
since: "4.2.0",
|
|
5297
5352
|
baseBitType: BitType.image,
|
|
5298
|
-
description: "Full-page advertisement bit"
|
|
5353
|
+
description: "Full-page advertisement bit",
|
|
5354
|
+
tags: [
|
|
5355
|
+
{
|
|
5356
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5357
|
+
description: "Common advertising tags"
|
|
5358
|
+
}
|
|
5359
|
+
]
|
|
5299
5360
|
},
|
|
5300
5361
|
[BitType.advertisingHalfPage]: {
|
|
5301
5362
|
since: "4.2.0",
|
|
5302
5363
|
baseBitType: BitType.image,
|
|
5303
|
-
description: "Half-page advertisement bit"
|
|
5364
|
+
description: "Half-page advertisement bit",
|
|
5365
|
+
tags: [
|
|
5366
|
+
{
|
|
5367
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5368
|
+
description: "Common advertising tags"
|
|
5369
|
+
}
|
|
5370
|
+
]
|
|
5304
5371
|
},
|
|
5305
5372
|
[BitType.advertisingQuarterPage]: {
|
|
5306
5373
|
since: "4.2.0",
|
|
5307
5374
|
baseBitType: BitType.image,
|
|
5308
|
-
description: "Quarter-page advertisement bit"
|
|
5375
|
+
description: "Quarter-page advertisement bit",
|
|
5376
|
+
tags: [
|
|
5377
|
+
{
|
|
5378
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5379
|
+
description: "Common advertising tags"
|
|
5380
|
+
}
|
|
5381
|
+
]
|
|
5309
5382
|
},
|
|
5310
5383
|
[BitType.advertisingClassifiedPage]: {
|
|
5311
5384
|
since: "4.2.0",
|
|
5312
5385
|
baseBitType: BitType.image,
|
|
5313
|
-
description: "Classifieds advertisement page bit"
|
|
5386
|
+
description: "Classifieds advertisement page bit",
|
|
5387
|
+
tags: [
|
|
5388
|
+
{
|
|
5389
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5390
|
+
description: "Common advertising tags"
|
|
5391
|
+
}
|
|
5392
|
+
]
|
|
5314
5393
|
},
|
|
5315
5394
|
[BitType.advertisingLandscape]: {
|
|
5316
5395
|
since: "4.2.0",
|
|
5317
5396
|
baseBitType: BitType.image,
|
|
5318
|
-
description: "Landscape format advertisement bit"
|
|
5397
|
+
description: "Landscape format advertisement bit",
|
|
5398
|
+
tags: [
|
|
5399
|
+
{
|
|
5400
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5401
|
+
description: "Common advertising tags"
|
|
5402
|
+
}
|
|
5403
|
+
]
|
|
5319
5404
|
},
|
|
5320
5405
|
[BitType.advertisingPortrait]: {
|
|
5321
5406
|
since: "4.2.0",
|
|
5322
5407
|
baseBitType: BitType.image,
|
|
5323
|
-
description: "Portrait format advertisement bit"
|
|
5408
|
+
description: "Portrait format advertisement bit",
|
|
5409
|
+
tags: [
|
|
5410
|
+
{
|
|
5411
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5412
|
+
description: "Common advertising tags"
|
|
5413
|
+
}
|
|
5414
|
+
]
|
|
5324
5415
|
},
|
|
5325
5416
|
[BitType.cookPreparation]: {
|
|
5326
5417
|
since: "1.3.0",
|
|
@@ -9177,7 +9268,7 @@ var instance2 = new Config();
|
|
|
9177
9268
|
// src/generated/package_info.ts
|
|
9178
9269
|
var PACKAGE_INFO = {
|
|
9179
9270
|
"name": "@gmb/bitmark-parser-generator",
|
|
9180
|
-
"version": "4.
|
|
9271
|
+
"version": "4.12.0",
|
|
9181
9272
|
"author": "Get More Brain Ltd",
|
|
9182
9273
|
"license": "ISC",
|
|
9183
9274
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -9519,6 +9610,8 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
9519
9610
|
activityTypeValue: "activityTypeValue",
|
|
9520
9611
|
additionalSolutions: "additionalSolutions",
|
|
9521
9612
|
additionalSolutionsValue: "additionalSolutionsValue",
|
|
9613
|
+
advertisingClickUrl: "advertisingClickUrl",
|
|
9614
|
+
advertisingClickUrlValue: "advertisingClickUrlValue",
|
|
9522
9615
|
ageRange: "ageRange",
|
|
9523
9616
|
ageRangeValue: "ageRangeValue",
|
|
9524
9617
|
aiGenerated: "aiGenerated",
|
|
@@ -22922,6 +23015,12 @@ var Builder = class extends BaseBuilder {
|
|
|
22922
23015
|
data.callToActionUrl,
|
|
22923
23016
|
options
|
|
22924
23017
|
),
|
|
23018
|
+
advertisingClickUrl: this.toAstProperty(
|
|
23019
|
+
bitType,
|
|
23020
|
+
ConfigKey.property_advertisingClickUrl,
|
|
23021
|
+
data.advertisingClickUrl,
|
|
23022
|
+
options
|
|
23023
|
+
),
|
|
22925
23024
|
caption: this.handleJsonText(context, TextLocation2.tag, data.caption),
|
|
22926
23025
|
quotedPerson: this.toAstProperty(
|
|
22927
23026
|
bitType,
|