@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
package/dist/index.cjs
CHANGED
|
@@ -1115,6 +1115,7 @@ var groupKeys = {
|
|
|
1115
1115
|
group_mark: "group_mark",
|
|
1116
1116
|
group_bookCommon: "group_bookCommon",
|
|
1117
1117
|
group_learningPathCommon: "group_learningPathCommon",
|
|
1118
|
+
group_advertisingCommon: "group_advertisingCommon",
|
|
1118
1119
|
group_quizCommon: "group_quizCommon",
|
|
1119
1120
|
group_resourceBitTags: "group_resourceBitTags",
|
|
1120
1121
|
group_resourceCommon: "group_resourceCommon",
|
|
@@ -1158,6 +1159,7 @@ var propertyKeys = {
|
|
|
1158
1159
|
property_action: "@action",
|
|
1159
1160
|
property_activityType: "@activityType",
|
|
1160
1161
|
property_additionalSolutions: "@additionalSolutions",
|
|
1162
|
+
property_advertisingClickUrl: "@advertisingClickUrl",
|
|
1161
1163
|
property_ageRange: "@ageRange",
|
|
1162
1164
|
property_aiGenerated: "@aiGenerated",
|
|
1163
1165
|
property_allowedBit: "@allowedBit",
|
|
@@ -3362,6 +3364,17 @@ var GROUPS = {
|
|
|
3362
3364
|
}
|
|
3363
3365
|
]
|
|
3364
3366
|
},
|
|
3367
|
+
[ConfigKey.group_advertisingCommon]: {
|
|
3368
|
+
type: GroupConfigType.standard,
|
|
3369
|
+
description: "Common advertising tags",
|
|
3370
|
+
tags: [
|
|
3371
|
+
{
|
|
3372
|
+
key: ConfigKey.property_advertisingClickUrl,
|
|
3373
|
+
description: "The URL to which the advertisement should link",
|
|
3374
|
+
format: TagFormat.plainText
|
|
3375
|
+
}
|
|
3376
|
+
]
|
|
3377
|
+
},
|
|
3365
3378
|
[ConfigKey.group_quizCommon]: {
|
|
3366
3379
|
type: GroupConfigType.standard,
|
|
3367
3380
|
description: "Common quiz tags",
|
|
@@ -5274,67 +5287,145 @@ var BITS = {
|
|
|
5274
5287
|
[BitType.advertising]: {
|
|
5275
5288
|
since: "4.2.0",
|
|
5276
5289
|
baseBitType: BitType.article,
|
|
5277
|
-
description: "General advertising content bit"
|
|
5290
|
+
description: "General advertising content bit",
|
|
5291
|
+
tags: [
|
|
5292
|
+
{
|
|
5293
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5294
|
+
description: "Common advertising tags"
|
|
5295
|
+
}
|
|
5296
|
+
]
|
|
5278
5297
|
},
|
|
5279
5298
|
[BitType.advertisingAdvertorial]: {
|
|
5280
5299
|
since: "4.2.0",
|
|
5281
5300
|
baseBitType: BitType.article,
|
|
5282
|
-
description: "Advertorial content bit (sponsored article)"
|
|
5301
|
+
description: "Advertorial content bit (sponsored article)",
|
|
5302
|
+
tags: [
|
|
5303
|
+
{
|
|
5304
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5305
|
+
description: "Common advertising tags"
|
|
5306
|
+
}
|
|
5307
|
+
]
|
|
5283
5308
|
},
|
|
5284
5309
|
[BitType.advertisingCallToAction]: {
|
|
5285
5310
|
since: "4.2.0",
|
|
5286
5311
|
baseBitType: BitType.callToAction,
|
|
5287
|
-
description: "Call-to-action for advertising"
|
|
5312
|
+
description: "Call-to-action for advertising",
|
|
5313
|
+
tags: [
|
|
5314
|
+
{
|
|
5315
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5316
|
+
description: "Common advertising tags"
|
|
5317
|
+
}
|
|
5318
|
+
]
|
|
5288
5319
|
},
|
|
5289
5320
|
[BitType.advertisingCallToActionMeeting]: {
|
|
5290
5321
|
since: "4.2.0",
|
|
5291
5322
|
baseBitType: BitType.callToAction,
|
|
5292
|
-
description: "Call-to-action for meeting or appointment"
|
|
5323
|
+
description: "Call-to-action for meeting or appointment",
|
|
5324
|
+
tags: [
|
|
5325
|
+
{
|
|
5326
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5327
|
+
description: "Common advertising tags"
|
|
5328
|
+
}
|
|
5329
|
+
]
|
|
5293
5330
|
},
|
|
5294
5331
|
[BitType.advertisingBanner]: {
|
|
5295
5332
|
since: "4.2.0",
|
|
5296
5333
|
baseBitType: BitType.image,
|
|
5297
|
-
description: "Banner advertisement bit"
|
|
5334
|
+
description: "Banner advertisement bit",
|
|
5335
|
+
tags: [
|
|
5336
|
+
{
|
|
5337
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5338
|
+
description: "Common advertising tags"
|
|
5339
|
+
}
|
|
5340
|
+
]
|
|
5298
5341
|
},
|
|
5299
5342
|
[BitType.advertisingSkyscraper]: {
|
|
5300
5343
|
since: "4.2.0",
|
|
5301
5344
|
baseBitType: BitType.image,
|
|
5302
|
-
description: "Skyscraper (vertical) advertisement bit"
|
|
5345
|
+
description: "Skyscraper (vertical) advertisement bit",
|
|
5346
|
+
tags: [
|
|
5347
|
+
{
|
|
5348
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5349
|
+
description: "Common advertising tags"
|
|
5350
|
+
}
|
|
5351
|
+
]
|
|
5303
5352
|
},
|
|
5304
5353
|
[BitType.advertisingRectangle]: {
|
|
5305
5354
|
since: "4.2.0",
|
|
5306
5355
|
baseBitType: BitType.image,
|
|
5307
|
-
description: "Rectangle advertisement bit"
|
|
5356
|
+
description: "Rectangle advertisement bit",
|
|
5357
|
+
tags: [
|
|
5358
|
+
{
|
|
5359
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5360
|
+
description: "Common advertising tags"
|
|
5361
|
+
}
|
|
5362
|
+
]
|
|
5308
5363
|
},
|
|
5309
5364
|
[BitType.advertisingFullPage]: {
|
|
5310
5365
|
since: "4.2.0",
|
|
5311
5366
|
baseBitType: BitType.image,
|
|
5312
|
-
description: "Full-page advertisement bit"
|
|
5367
|
+
description: "Full-page advertisement bit",
|
|
5368
|
+
tags: [
|
|
5369
|
+
{
|
|
5370
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5371
|
+
description: "Common advertising tags"
|
|
5372
|
+
}
|
|
5373
|
+
]
|
|
5313
5374
|
},
|
|
5314
5375
|
[BitType.advertisingHalfPage]: {
|
|
5315
5376
|
since: "4.2.0",
|
|
5316
5377
|
baseBitType: BitType.image,
|
|
5317
|
-
description: "Half-page advertisement bit"
|
|
5378
|
+
description: "Half-page advertisement bit",
|
|
5379
|
+
tags: [
|
|
5380
|
+
{
|
|
5381
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5382
|
+
description: "Common advertising tags"
|
|
5383
|
+
}
|
|
5384
|
+
]
|
|
5318
5385
|
},
|
|
5319
5386
|
[BitType.advertisingQuarterPage]: {
|
|
5320
5387
|
since: "4.2.0",
|
|
5321
5388
|
baseBitType: BitType.image,
|
|
5322
|
-
description: "Quarter-page advertisement bit"
|
|
5389
|
+
description: "Quarter-page advertisement bit",
|
|
5390
|
+
tags: [
|
|
5391
|
+
{
|
|
5392
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5393
|
+
description: "Common advertising tags"
|
|
5394
|
+
}
|
|
5395
|
+
]
|
|
5323
5396
|
},
|
|
5324
5397
|
[BitType.advertisingClassifiedPage]: {
|
|
5325
5398
|
since: "4.2.0",
|
|
5326
5399
|
baseBitType: BitType.image,
|
|
5327
|
-
description: "Classifieds advertisement page bit"
|
|
5400
|
+
description: "Classifieds advertisement page bit",
|
|
5401
|
+
tags: [
|
|
5402
|
+
{
|
|
5403
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5404
|
+
description: "Common advertising tags"
|
|
5405
|
+
}
|
|
5406
|
+
]
|
|
5328
5407
|
},
|
|
5329
5408
|
[BitType.advertisingLandscape]: {
|
|
5330
5409
|
since: "4.2.0",
|
|
5331
5410
|
baseBitType: BitType.image,
|
|
5332
|
-
description: "Landscape format advertisement bit"
|
|
5411
|
+
description: "Landscape format advertisement bit",
|
|
5412
|
+
tags: [
|
|
5413
|
+
{
|
|
5414
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5415
|
+
description: "Common advertising tags"
|
|
5416
|
+
}
|
|
5417
|
+
]
|
|
5333
5418
|
},
|
|
5334
5419
|
[BitType.advertisingPortrait]: {
|
|
5335
5420
|
since: "4.2.0",
|
|
5336
5421
|
baseBitType: BitType.image,
|
|
5337
|
-
description: "Portrait format advertisement bit"
|
|
5422
|
+
description: "Portrait format advertisement bit",
|
|
5423
|
+
tags: [
|
|
5424
|
+
{
|
|
5425
|
+
key: ConfigKey.group_advertisingCommon,
|
|
5426
|
+
description: "Common advertising tags"
|
|
5427
|
+
}
|
|
5428
|
+
]
|
|
5338
5429
|
},
|
|
5339
5430
|
[BitType.cookPreparation]: {
|
|
5340
5431
|
since: "1.3.0",
|
|
@@ -9191,7 +9282,7 @@ var instance2 = new Config();
|
|
|
9191
9282
|
// src/generated/package_info.ts
|
|
9192
9283
|
var PACKAGE_INFO = {
|
|
9193
9284
|
"name": "@gmb/bitmark-parser-generator",
|
|
9194
|
-
"version": "4.
|
|
9285
|
+
"version": "4.12.0",
|
|
9195
9286
|
"author": "Get More Brain Ltd",
|
|
9196
9287
|
"license": "ISC",
|
|
9197
9288
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -9533,6 +9624,8 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
9533
9624
|
activityTypeValue: "activityTypeValue",
|
|
9534
9625
|
additionalSolutions: "additionalSolutions",
|
|
9535
9626
|
additionalSolutionsValue: "additionalSolutionsValue",
|
|
9627
|
+
advertisingClickUrl: "advertisingClickUrl",
|
|
9628
|
+
advertisingClickUrlValue: "advertisingClickUrlValue",
|
|
9536
9629
|
ageRange: "ageRange",
|
|
9537
9630
|
ageRangeValue: "ageRangeValue",
|
|
9538
9631
|
aiGenerated: "aiGenerated",
|
|
@@ -22936,6 +23029,12 @@ var Builder = class extends BaseBuilder {
|
|
|
22936
23029
|
data.callToActionUrl,
|
|
22937
23030
|
options
|
|
22938
23031
|
),
|
|
23032
|
+
advertisingClickUrl: this.toAstProperty(
|
|
23033
|
+
bitType,
|
|
23034
|
+
ConfigKey.property_advertisingClickUrl,
|
|
23035
|
+
data.advertisingClickUrl,
|
|
23036
|
+
options
|
|
23037
|
+
),
|
|
22939
23038
|
caption: this.handleJsonText(context, TextLocation.tag, data.caption),
|
|
22940
23039
|
quotedPerson: this.toAstProperty(
|
|
22941
23040
|
bitType,
|