@gmb/bitmark-parser-generator 4.11.0 → 4.13.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.
@@ -116,6 +116,7 @@ var BitType = superenum({
116
116
  botActionSend: "bot-action-send",
117
117
  botActionTrueFalse: "bot-action-true-false",
118
118
  botInterview: "bot-interview",
119
+ brandColor: "brand-color",
119
120
  browserImage: "browser-image",
120
121
  bug: "bug",
121
122
  bugAlt: "bug-alt",
@@ -430,7 +431,18 @@ var BitType = superenum({
430
431
  pageSubscribe: "page-subscribe",
431
432
  parameters: "parameters",
432
433
  photo: "photo",
434
+ platform: "platform",
435
+ platformHeader: "platform-header",
436
+ platformMain: "platform-main",
437
+ platformMainButton: "platform-main-button",
438
+ platformMainInput: "platform-main-input",
433
439
  platformPath: "platform-path",
440
+ platformSection: "platform-section",
441
+ platformSectionButton: "platform-section-button",
442
+ platformSectionChat: "platform-section-chat",
443
+ platformSectionHeader: "platform-section-header",
444
+ platformSectionInput: "platform-section-input",
445
+ platformSystemIcon: "platform-system-icon",
434
446
  preparationNote: "preparation-note",
435
447
  pronunciationTable: "pronunciation-table",
436
448
  prototypeImages: "prototype-images",
@@ -1056,6 +1068,8 @@ var groupKeys = {
1056
1068
  group_mark: "group_mark",
1057
1069
  group_bookCommon: "group_bookCommon",
1058
1070
  group_learningPathCommon: "group_learningPathCommon",
1071
+ group_advertisingCommon: "group_advertisingCommon",
1072
+ group_platformColorsCommon: "group_platformColorsCommon",
1059
1073
  group_quizCommon: "group_quizCommon",
1060
1074
  group_resourceBitTags: "group_resourceBitTags",
1061
1075
  group_resourceCommon: "group_resourceCommon",
@@ -1099,6 +1113,7 @@ var propertyKeys = {
1099
1113
  property_action: "@action",
1100
1114
  property_activityType: "@activityType",
1101
1115
  property_additionalSolutions: "@additionalSolutions",
1116
+ property_advertisingClickUrl: "@advertisingClickUrl",
1102
1117
  property_ageRange: "@ageRange",
1103
1118
  property_aiGenerated: "@aiGenerated",
1104
1119
  property_allowedBit: "@allowedBit",
@@ -1109,6 +1124,8 @@ var propertyKeys = {
1109
1124
  property_author: "@author",
1110
1125
  property_autoplay: "@autoplay",
1111
1126
  property_availableClassifications: "@availableClassifications",
1127
+ property_brandColor: "@brandColor",
1128
+ property_brandColorName: "@brandColorName",
1112
1129
  property_blockId: "@blockId",
1113
1130
  property_book: "@book",
1114
1131
  property_bookAlias: "@bookAlias",
@@ -1175,6 +1192,7 @@ var propertyKeys = {
1175
1192
  property_imageSource: "@imageSource",
1176
1193
  property_index: "@index",
1177
1194
  property_internalComment: "@internalComment",
1195
+ property_internalPrintPdf: "@internalPrintPdf",
1178
1196
  property_isCaseSensitive: "@isCaseSensitive",
1179
1197
  property_isInfoOnly: "@isInfoOnly",
1180
1198
  property_isPublic: "@isPublic",
@@ -1215,6 +1233,18 @@ var propertyKeys = {
1215
1233
  property_partner: "@partner",
1216
1234
  // Deprecated, replaced by person
1217
1235
  property_path: "@path",
1236
+ property_platformBackgroundColor: "@platformBackgroundColor",
1237
+ property_platformButtonBackgroundColor: "@platformButtonBackgroundColor",
1238
+ property_platformButtonPrimaryColor: "@platformButtonPrimaryColor",
1239
+ property_platformMessageBackgroundColor: "@platformMessageBackgroundColor",
1240
+ property_platformName: "@platformName",
1241
+ property_platformPlaceholderColor: "@platformPlaceholderColor",
1242
+ property_platformPrimaryColor: "@platformPrimaryColor",
1243
+ property_platformScrollbarColor: "@platformScrollbarColor",
1244
+ property_platformSecondaryColor: "@platformSecondaryColor",
1245
+ property_platformSelectionColor: "@platformSelectionColor",
1246
+ property_platformSeparatorColor: "@platformSeparatorColor",
1247
+ property_platformTextSelectionColor: "@platformTextSelectionColor",
1218
1248
  property_person: "@person",
1219
1249
  property_pointerLeft: "@pointerLeft",
1220
1250
  property_pointerTop: "@pointerTop",
@@ -1264,6 +1294,7 @@ var propertyKeys = {
1264
1294
  property_size: "@size",
1265
1295
  property_slug: "@slug",
1266
1296
  property_sourceDocument: "@sourceDocument",
1297
+ property_sourceRL: "@sourceRL",
1267
1298
  property_spaceId: "@spaceId",
1268
1299
  property_src1x: "@src1x",
1269
1300
  property_src2x: "@src2x",
@@ -1338,6 +1369,9 @@ var resourceKeys = {
1338
1369
  resource_appLink: "&appLink",
1339
1370
  resource_websiteLink: "&websiteLink",
1340
1371
  resource_icon: "&icon",
1372
+ resource_platformBackgroundImage: "&platformBackgroundImage",
1373
+ resource_platformIcon: "&platformIcon",
1374
+ resource_platformLogo: "&platformLogo",
1341
1375
  resource_backgroundWallpaper: "&backgroundWallpaper",
1342
1376
  resource_imagePlaceholder: "&imagePlaceholder"
1343
1377
  };
@@ -1564,7 +1598,10 @@ var ResourceType = superenum13({
1564
1598
  // Aliases for image
1565
1599
  icon: "icon",
1566
1600
  backgroundWallpaper: "backgroundWallpaper",
1567
- imagePlaceholder: "imagePlaceholder"
1601
+ imagePlaceholder: "imagePlaceholder",
1602
+ platformIcon: "platformIcon",
1603
+ platformLogo: "platformLogo",
1604
+ platformBackgroundImage: "platformBackgroundImage"
1568
1605
  });
1569
1606
  function resourceTypeToConfigKey(type) {
1570
1607
  return `&${stringUtils.kebabToCamel(type)}`;
@@ -2579,6 +2616,11 @@ var GROUPS = {
2579
2616
  format: TagFormat.plainText,
2580
2617
  maxCount: Count.infinity
2581
2618
  },
2619
+ {
2620
+ key: ConfigKey.property_sourceRL,
2621
+ description: "The original location of the information in the original source material",
2622
+ format: TagFormat.plainText
2623
+ },
2582
2624
  {
2583
2625
  key: ConfigKey.property_isTemplate,
2584
2626
  description: "If true, the bit is a template",
@@ -3225,6 +3267,11 @@ var GROUPS = {
3225
3267
  key: ConfigKey.property_sourceDocument,
3226
3268
  description: "Url of the source document for the book (for example, a PDF file)",
3227
3269
  format: TagFormat.plainText
3270
+ },
3271
+ {
3272
+ key: ConfigKey.property_internalPrintPdf,
3273
+ description: "Url of the internal print PDF for the book",
3274
+ format: TagFormat.plainText
3228
3275
  }
3229
3276
  ]
3230
3277
  },
@@ -3303,6 +3350,78 @@ var GROUPS = {
3303
3350
  }
3304
3351
  ]
3305
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
+ },
3364
+ [ConfigKey.group_platformColorsCommon]: {
3365
+ type: GroupConfigType.standard,
3366
+ description: "Common platform colors",
3367
+ tags: [
3368
+ {
3369
+ key: ConfigKey.property_platformPrimaryColor,
3370
+ description: "The platform system primary color",
3371
+ format: TagFormat.plainText
3372
+ },
3373
+ {
3374
+ key: ConfigKey.property_platformSecondaryColor,
3375
+ description: "The platform section secondary color",
3376
+ format: TagFormat.plainText
3377
+ },
3378
+ {
3379
+ key: ConfigKey.property_platformBackgroundColor,
3380
+ description: "The platform system background color",
3381
+ format: TagFormat.plainText
3382
+ },
3383
+ {
3384
+ key: ConfigKey.property_platformButtonPrimaryColor,
3385
+ description: "The platform section header button primary color",
3386
+ format: TagFormat.plainText
3387
+ },
3388
+ {
3389
+ key: ConfigKey.property_platformButtonBackgroundColor,
3390
+ description: "The platform section header button background color",
3391
+ format: TagFormat.plainText
3392
+ },
3393
+ {
3394
+ key: ConfigKey.property_platformScrollbarColor,
3395
+ description: "The platform main scrollbar color",
3396
+ format: TagFormat.plainText
3397
+ },
3398
+ {
3399
+ key: ConfigKey.property_platformSelectionColor,
3400
+ description: "The platform main selection color",
3401
+ format: TagFormat.plainText
3402
+ },
3403
+ {
3404
+ key: ConfigKey.property_platformTextSelectionColor,
3405
+ description: "The platform main input text selection color",
3406
+ format: TagFormat.plainText
3407
+ },
3408
+ {
3409
+ key: ConfigKey.property_platformSeparatorColor,
3410
+ description: "The platform main separator color",
3411
+ format: TagFormat.plainText
3412
+ },
3413
+ {
3414
+ key: ConfigKey.property_platformPlaceholderColor,
3415
+ description: "The platform main input placeholder color",
3416
+ format: TagFormat.plainText
3417
+ },
3418
+ {
3419
+ key: ConfigKey.property_platformMessageBackgroundColor,
3420
+ description: "The platform section chat message background color",
3421
+ format: TagFormat.plainText
3422
+ }
3423
+ ]
3424
+ },
3306
3425
  [ConfigKey.group_quizCommon]: {
3307
3426
  type: GroupConfigType.standard,
3308
3427
  description: "Common quiz tags",
@@ -5215,67 +5334,145 @@ var BITS = {
5215
5334
  [BitType.advertising]: {
5216
5335
  since: "4.2.0",
5217
5336
  baseBitType: BitType.article,
5218
- description: "General advertising content bit"
5337
+ description: "General advertising content bit",
5338
+ tags: [
5339
+ {
5340
+ key: ConfigKey.group_advertisingCommon,
5341
+ description: "Common advertising tags"
5342
+ }
5343
+ ]
5219
5344
  },
5220
5345
  [BitType.advertisingAdvertorial]: {
5221
5346
  since: "4.2.0",
5222
5347
  baseBitType: BitType.article,
5223
- description: "Advertorial content bit (sponsored article)"
5348
+ description: "Advertorial content bit (sponsored article)",
5349
+ tags: [
5350
+ {
5351
+ key: ConfigKey.group_advertisingCommon,
5352
+ description: "Common advertising tags"
5353
+ }
5354
+ ]
5224
5355
  },
5225
5356
  [BitType.advertisingCallToAction]: {
5226
5357
  since: "4.2.0",
5227
5358
  baseBitType: BitType.callToAction,
5228
- description: "Call-to-action for advertising"
5359
+ description: "Call-to-action for advertising",
5360
+ tags: [
5361
+ {
5362
+ key: ConfigKey.group_advertisingCommon,
5363
+ description: "Common advertising tags"
5364
+ }
5365
+ ]
5229
5366
  },
5230
5367
  [BitType.advertisingCallToActionMeeting]: {
5231
5368
  since: "4.2.0",
5232
5369
  baseBitType: BitType.callToAction,
5233
- description: "Call-to-action for meeting or appointment"
5370
+ description: "Call-to-action for meeting or appointment",
5371
+ tags: [
5372
+ {
5373
+ key: ConfigKey.group_advertisingCommon,
5374
+ description: "Common advertising tags"
5375
+ }
5376
+ ]
5234
5377
  },
5235
5378
  [BitType.advertisingBanner]: {
5236
5379
  since: "4.2.0",
5237
5380
  baseBitType: BitType.image,
5238
- description: "Banner advertisement bit"
5381
+ description: "Banner advertisement bit",
5382
+ tags: [
5383
+ {
5384
+ key: ConfigKey.group_advertisingCommon,
5385
+ description: "Common advertising tags"
5386
+ }
5387
+ ]
5239
5388
  },
5240
5389
  [BitType.advertisingSkyscraper]: {
5241
5390
  since: "4.2.0",
5242
5391
  baseBitType: BitType.image,
5243
- description: "Skyscraper (vertical) advertisement bit"
5392
+ description: "Skyscraper (vertical) advertisement bit",
5393
+ tags: [
5394
+ {
5395
+ key: ConfigKey.group_advertisingCommon,
5396
+ description: "Common advertising tags"
5397
+ }
5398
+ ]
5244
5399
  },
5245
5400
  [BitType.advertisingRectangle]: {
5246
5401
  since: "4.2.0",
5247
5402
  baseBitType: BitType.image,
5248
- description: "Rectangle advertisement bit"
5403
+ description: "Rectangle advertisement bit",
5404
+ tags: [
5405
+ {
5406
+ key: ConfigKey.group_advertisingCommon,
5407
+ description: "Common advertising tags"
5408
+ }
5409
+ ]
5249
5410
  },
5250
5411
  [BitType.advertisingFullPage]: {
5251
5412
  since: "4.2.0",
5252
5413
  baseBitType: BitType.image,
5253
- description: "Full-page advertisement bit"
5414
+ description: "Full-page advertisement bit",
5415
+ tags: [
5416
+ {
5417
+ key: ConfigKey.group_advertisingCommon,
5418
+ description: "Common advertising tags"
5419
+ }
5420
+ ]
5254
5421
  },
5255
5422
  [BitType.advertisingHalfPage]: {
5256
5423
  since: "4.2.0",
5257
5424
  baseBitType: BitType.image,
5258
- description: "Half-page advertisement bit"
5425
+ description: "Half-page advertisement bit",
5426
+ tags: [
5427
+ {
5428
+ key: ConfigKey.group_advertisingCommon,
5429
+ description: "Common advertising tags"
5430
+ }
5431
+ ]
5259
5432
  },
5260
5433
  [BitType.advertisingQuarterPage]: {
5261
5434
  since: "4.2.0",
5262
5435
  baseBitType: BitType.image,
5263
- description: "Quarter-page advertisement bit"
5436
+ description: "Quarter-page advertisement bit",
5437
+ tags: [
5438
+ {
5439
+ key: ConfigKey.group_advertisingCommon,
5440
+ description: "Common advertising tags"
5441
+ }
5442
+ ]
5264
5443
  },
5265
5444
  [BitType.advertisingClassifiedPage]: {
5266
5445
  since: "4.2.0",
5267
5446
  baseBitType: BitType.image,
5268
- description: "Classifieds advertisement page bit"
5447
+ description: "Classifieds advertisement page bit",
5448
+ tags: [
5449
+ {
5450
+ key: ConfigKey.group_advertisingCommon,
5451
+ description: "Common advertising tags"
5452
+ }
5453
+ ]
5269
5454
  },
5270
5455
  [BitType.advertisingLandscape]: {
5271
5456
  since: "4.2.0",
5272
5457
  baseBitType: BitType.image,
5273
- description: "Landscape format advertisement bit"
5458
+ description: "Landscape format advertisement bit",
5459
+ tags: [
5460
+ {
5461
+ key: ConfigKey.group_advertisingCommon,
5462
+ description: "Common advertising tags"
5463
+ }
5464
+ ]
5274
5465
  },
5275
5466
  [BitType.advertisingPortrait]: {
5276
5467
  since: "4.2.0",
5277
5468
  baseBitType: BitType.image,
5278
- description: "Portrait format advertisement bit"
5469
+ description: "Portrait format advertisement bit",
5470
+ tags: [
5471
+ {
5472
+ key: ConfigKey.group_advertisingCommon,
5473
+ description: "Common advertising tags"
5474
+ }
5475
+ ]
5279
5476
  },
5280
5477
  [BitType.cookPreparation]: {
5281
5478
  since: "1.3.0",
@@ -7026,6 +7223,23 @@ var BITS = {
7026
7223
  baseBitType: BitType.interview,
7027
7224
  description: "Bot interview bit, used to create bot interviews in articles or books"
7028
7225
  },
7226
+ [BitType.brandColor]: {
7227
+ since: "4.12.0",
7228
+ baseBitType: BitType._standard,
7229
+ description: "Brand color bit, used to define brand colors",
7230
+ tags: [
7231
+ {
7232
+ key: ConfigKey.property_brandColor,
7233
+ description: "The brand color",
7234
+ format: TagFormat.plainText
7235
+ },
7236
+ {
7237
+ key: ConfigKey.property_brandColorName,
7238
+ description: "The brand color name",
7239
+ format: TagFormat.plainText
7240
+ }
7241
+ ]
7242
+ },
7029
7243
  [BitType.learningPathBook]: {
7030
7244
  since: "1.3.0",
7031
7245
  baseBitType: BitType._standard,
@@ -7784,6 +7998,160 @@ var BITS = {
7784
7998
  baseBitType: BitType.image,
7785
7999
  description: "Photo bit, used to create photo bits in articles or books"
7786
8000
  },
8001
+ [BitType.platform]: {
8002
+ since: "4.12.0",
8003
+ baseBitType: BitType._standard,
8004
+ description: "Platform bit, used to define platform properties",
8005
+ tags: [
8006
+ {
8007
+ key: ConfigKey.property_platformName,
8008
+ description: "The platform name",
8009
+ format: TagFormat.plainText
8010
+ },
8011
+ {
8012
+ key: ConfigKey.resource_platformIcon,
8013
+ description: "The platform icon",
8014
+ chain: [
8015
+ {
8016
+ key: ConfigKey.group_resourceImageCommon,
8017
+ description: "Common image properties for the platform icon resource"
8018
+ }
8019
+ ],
8020
+ maxCount: 1
8021
+ }
8022
+ ]
8023
+ },
8024
+ [BitType.platformHeader]: {
8025
+ since: "4.12.0",
8026
+ baseBitType: BitType._standard,
8027
+ description: "Platform header bit, used to define platform header properties",
8028
+ tags: [
8029
+ {
8030
+ key: ConfigKey.resource_platformLogo,
8031
+ description: "The platform logo",
8032
+ chain: [
8033
+ {
8034
+ key: ConfigKey.group_resourceImageCommon,
8035
+ description: "Common image properties for the platform logo resource"
8036
+ }
8037
+ ],
8038
+ maxCount: 1
8039
+ },
8040
+ {
8041
+ key: ConfigKey.group_platformColorsCommon,
8042
+ description: "Common platform colors"
8043
+ }
8044
+ ]
8045
+ },
8046
+ [BitType.platformMain]: {
8047
+ since: "4.12.0",
8048
+ baseBitType: BitType._standard,
8049
+ description: "Platform main bit, used to define platform main properties",
8050
+ tags: [
8051
+ {
8052
+ key: ConfigKey.group_platformColorsCommon,
8053
+ description: "Common platform colors"
8054
+ }
8055
+ ]
8056
+ },
8057
+ [BitType.platformMainButton]: {
8058
+ since: "4.12.0",
8059
+ baseBitType: BitType._standard,
8060
+ description: "Platform main button bit, used to define platform main button properties",
8061
+ tags: [
8062
+ {
8063
+ key: ConfigKey.group_platformColorsCommon,
8064
+ description: "Common platform colors"
8065
+ }
8066
+ ]
8067
+ },
8068
+ [BitType.platformMainInput]: {
8069
+ since: "4.12.0",
8070
+ baseBitType: BitType._standard,
8071
+ description: "Platform main input bit, used to define platform main input properties",
8072
+ tags: [
8073
+ {
8074
+ key: ConfigKey.group_platformColorsCommon,
8075
+ description: "Common platform colors"
8076
+ }
8077
+ ]
8078
+ },
8079
+ [BitType.platformSection]: {
8080
+ since: "4.12.0",
8081
+ baseBitType: BitType._standard,
8082
+ description: "Platform section bit, used to define platform section properties",
8083
+ tags: [
8084
+ {
8085
+ key: ConfigKey.group_platformColorsCommon,
8086
+ description: "Common platform colors"
8087
+ }
8088
+ ]
8089
+ },
8090
+ [BitType.platformSectionButton]: {
8091
+ since: "4.12.0",
8092
+ baseBitType: BitType._standard,
8093
+ description: "Platform section button bit, used to define platform section button properties",
8094
+ tags: [
8095
+ {
8096
+ key: ConfigKey.group_platformColorsCommon,
8097
+ description: "Common platform colors"
8098
+ }
8099
+ ]
8100
+ },
8101
+ [BitType.platformSectionChat]: {
8102
+ since: "4.12.0",
8103
+ baseBitType: BitType._standard,
8104
+ description: "Platform section chat bit, used to define platform section chat properties",
8105
+ tags: [
8106
+ {
8107
+ key: ConfigKey.group_platformColorsCommon,
8108
+ description: "Common platform colors"
8109
+ },
8110
+ {
8111
+ key: ConfigKey.resource_platformBackgroundImage,
8112
+ description: "The platform section chat background image",
8113
+ chain: [
8114
+ {
8115
+ key: ConfigKey.group_resourceImageCommon,
8116
+ description: "Common image properties for the platform background image resource"
8117
+ }
8118
+ ]
8119
+ }
8120
+ ]
8121
+ },
8122
+ [BitType.platformSectionHeader]: {
8123
+ since: "4.12.0",
8124
+ baseBitType: BitType._standard,
8125
+ description: "Platform section header bit, used to define platform section header properties",
8126
+ tags: [
8127
+ {
8128
+ key: ConfigKey.group_platformColorsCommon,
8129
+ description: "Common platform colors"
8130
+ }
8131
+ ]
8132
+ },
8133
+ [BitType.platformSectionInput]: {
8134
+ since: "4.12.0",
8135
+ baseBitType: BitType._standard,
8136
+ description: "Platform section input bit, used to define platform section input properties",
8137
+ tags: [
8138
+ {
8139
+ key: ConfigKey.group_platformColorsCommon,
8140
+ description: "Common platform colors"
8141
+ }
8142
+ ]
8143
+ },
8144
+ [BitType.platformSystemIcon]: {
8145
+ since: "4.12.0",
8146
+ baseBitType: BitType._standard,
8147
+ description: "Platform system icon bit, used to define platform system icon properties",
8148
+ tags: [
8149
+ {
8150
+ key: ConfigKey.group_platformColorsCommon,
8151
+ description: "Common platform colors"
8152
+ }
8153
+ ]
8154
+ },
7787
8155
  [BitType.quote]: {
7788
8156
  since: "1.3.0",
7789
8157
  baseBitType: BitType._standard,
@@ -9132,7 +9500,7 @@ var instance2 = new Config();
9132
9500
  // src/generated/package_info.ts
9133
9501
  var PACKAGE_INFO = {
9134
9502
  "name": "@gmb/bitmark-parser-generator",
9135
- "version": "4.11.0",
9503
+ "version": "4.13.0",
9136
9504
  "author": "Get More Brain Ltd",
9137
9505
  "license": "ISC",
9138
9506
  "description": "A bitmark parser and generator using Peggy.js"
@@ -9474,7 +9842,13 @@ var NodeType = superenum20({
9474
9842
  activityTypeValue: "activityTypeValue",
9475
9843
  additionalSolutions: "additionalSolutions",
9476
9844
  additionalSolutionsValue: "additionalSolutionsValue",
9845
+ advertisingClickUrl: "advertisingClickUrl",
9846
+ advertisingClickUrlValue: "advertisingClickUrlValue",
9477
9847
  ageRange: "ageRange",
9848
+ brandColor: "brandColor",
9849
+ brandColorValue: "brandColorValue",
9850
+ brandColorName: "brandColorName",
9851
+ brandColorNameValue: "brandColorNameValue",
9478
9852
  ageRangeValue: "ageRangeValue",
9479
9853
  aiGenerated: "aiGenerated",
9480
9854
  aiGeneratedValue: "aiGeneratedValue",
@@ -9705,6 +10079,8 @@ var NodeType = superenum20({
9705
10079
  instruction: "instruction",
9706
10080
  internalComment: "internalComment",
9707
10081
  internalCommentValue: "internalCommentValue",
10082
+ internalPrintPdf: "internalPrintPdf",
10083
+ internalPrintPdfValue: "internalPrintPdfValue",
9708
10084
  isCaseSensitive: "isCaseSensitive",
9709
10085
  isCommented: "isCommented",
9710
10086
  isCorrect: "isCorrect",
@@ -9807,6 +10183,36 @@ var NodeType = superenum20({
9807
10183
  partialAnswerValue: "partialAnswerValue",
9808
10184
  path: "path",
9809
10185
  pathValue: "pathValue",
10186
+ platformName: "platformName",
10187
+ platformNameValue: "platformNameValue",
10188
+ platformIcon: "platformIcon",
10189
+ platformIconValue: "platformIconValue",
10190
+ platformLogo: "platformLogo",
10191
+ platformLogoValue: "platformLogoValue",
10192
+ platformPrimaryColor: "platformPrimaryColor",
10193
+ platformPrimaryColorValue: "platformPrimaryColorValue",
10194
+ platformSecondaryColor: "platformSecondaryColor",
10195
+ platformSecondaryColorValue: "platformSecondaryColorValue",
10196
+ platformBackgroundColor: "platformBackgroundColor",
10197
+ platformBackgroundColorValue: "platformBackgroundColorValue",
10198
+ platformScrollbarColor: "platformScrollbarColor",
10199
+ platformScrollbarColorValue: "platformScrollbarColorValue",
10200
+ platformSelectionColor: "platformSelectionColor",
10201
+ platformSelectionColorValue: "platformSelectionColorValue",
10202
+ platformSeparatorColor: "platformSeparatorColor",
10203
+ platformSeparatorColorValue: "platformSeparatorColorValue",
10204
+ platformPlaceholderColor: "platformPlaceholderColor",
10205
+ platformPlaceholderColorValue: "platformPlaceholderColorValue",
10206
+ platformTextSelectionColor: "platformTextSelectionColor",
10207
+ platformTextSelectionColorValue: "platformTextSelectionColorValue",
10208
+ platformButtonPrimaryColor: "platformButtonPrimaryColor",
10209
+ platformButtonPrimaryColorValue: "platformButtonPrimaryColorValue",
10210
+ platformButtonBackgroundColor: "platformButtonBackgroundColor",
10211
+ platformButtonBackgroundColorValue: "platformButtonBackgroundColorValue",
10212
+ platformMessageBackgroundColor: "platformMessageBackgroundColor",
10213
+ platformMessageBackgroundColorValue: "platformMessageBackgroundColorValue",
10214
+ platformBackgroundImage: "platformBackgroundImage",
10215
+ platformBackgroundImageValue: "platformBackgroundImageValue",
9810
10216
  person: "person",
9811
10217
  pointerLeft: "pointerLeft",
9812
10218
  pointerLeftValue: "pointerLeftValue",
@@ -9925,7 +10331,8 @@ var NodeType = superenum20({
9925
10331
  solutionsValue: "solutionsValue",
9926
10332
  sourceDocument: "sourceDocument",
9927
10333
  sourceDocumentValue: "sourceDocumentValue",
9928
- sourcePageNumber: "sourcePageNumber",
10334
+ sourceRL: "sourceRL",
10335
+ sourceRLValue: "sourceRLValue",
9929
10336
  spaceId: "spaceId",
9930
10337
  spaceIdValue: "spaceIdValue",
9931
10338
  src: "src",
@@ -21324,6 +21731,9 @@ var ResourceBuilder = class extends BaseBuilder {
21324
21731
  case ResourceType.backgroundWallpaper:
21325
21732
  case ResourceType.imagePlaceholder:
21326
21733
  case ResourceType.icon:
21734
+ case ResourceType.platformIcon:
21735
+ case ResourceType.platformLogo:
21736
+ case ResourceType.platformBackgroundImage:
21327
21737
  node = this.imageResource(context, finalData, type);
21328
21738
  break;
21329
21739
  // case ResourceType.imageResponsive: {
@@ -22360,6 +22770,7 @@ var Builder = class extends BaseBuilder {
22360
22770
  data.jupyterExecutionCount,
22361
22771
  options
22362
22772
  ),
22773
+ sourceRL: this.toAstProperty(bitType, ConfigKey.property_sourceRL, data.sourceRL, options),
22363
22774
  isPublic: this.toAstProperty(bitType, ConfigKey.property_isPublic, data.isPublic, options),
22364
22775
  isTemplate: this.toAstProperty(
22365
22776
  bitType,
@@ -22877,6 +23288,24 @@ var Builder = class extends BaseBuilder {
22877
23288
  data.callToActionUrl,
22878
23289
  options
22879
23290
  ),
23291
+ advertisingClickUrl: this.toAstProperty(
23292
+ bitType,
23293
+ ConfigKey.property_advertisingClickUrl,
23294
+ data.advertisingClickUrl,
23295
+ options
23296
+ ),
23297
+ brandColor: this.toAstProperty(
23298
+ bitType,
23299
+ ConfigKey.property_brandColor,
23300
+ data.brandColor,
23301
+ options
23302
+ ),
23303
+ brandColorName: this.toAstProperty(
23304
+ bitType,
23305
+ ConfigKey.property_brandColorName,
23306
+ data.brandColorName,
23307
+ options
23308
+ ),
22880
23309
  caption: this.handleJsonText(context, TextLocation2.tag, data.caption),
22881
23310
  quotedPerson: this.toAstProperty(
22882
23311
  bitType,
@@ -22940,6 +23369,12 @@ var Builder = class extends BaseBuilder {
22940
23369
  data.sourceDocument,
22941
23370
  options
22942
23371
  ),
23372
+ internalPrintPdf: this.toAstProperty(
23373
+ bitType,
23374
+ ConfigKey.property_internalPrintPdf,
23375
+ data.internalPrintPdf,
23376
+ options
23377
+ ),
22943
23378
  tocResource: this.toAstProperty(
22944
23379
  bitType,
22945
23380
  ConfigKey.property_tocResource,
@@ -22953,6 +23388,81 @@ var Builder = class extends BaseBuilder {
22953
23388
  options
22954
23389
  ),
22955
23390
  page: this.toAstProperty(bitType, ConfigKey.property_page, data.page, options),
23391
+ platformName: this.toAstProperty(
23392
+ bitType,
23393
+ ConfigKey.property_platformName,
23394
+ data.platformName,
23395
+ options
23396
+ ),
23397
+ platformIcon: this.toImageResource(context, data.platformIcon),
23398
+ platformLogo: this.toImageResource(context, data.platformLogo),
23399
+ platformPrimaryColor: this.toAstProperty(
23400
+ bitType,
23401
+ ConfigKey.property_platformPrimaryColor,
23402
+ data.platformPrimaryColor,
23403
+ options
23404
+ ),
23405
+ platformSecondaryColor: this.toAstProperty(
23406
+ bitType,
23407
+ ConfigKey.property_platformSecondaryColor,
23408
+ data.platformSecondaryColor,
23409
+ options
23410
+ ),
23411
+ platformBackgroundColor: this.toAstProperty(
23412
+ bitType,
23413
+ ConfigKey.property_platformBackgroundColor,
23414
+ data.platformBackgroundColor,
23415
+ options
23416
+ ),
23417
+ platformScrollbarColor: this.toAstProperty(
23418
+ bitType,
23419
+ ConfigKey.property_platformScrollbarColor,
23420
+ data.platformScrollbarColor,
23421
+ options
23422
+ ),
23423
+ platformSelectionColor: this.toAstProperty(
23424
+ bitType,
23425
+ ConfigKey.property_platformSelectionColor,
23426
+ data.platformSelectionColor,
23427
+ options
23428
+ ),
23429
+ platformSeparatorColor: this.toAstProperty(
23430
+ bitType,
23431
+ ConfigKey.property_platformSeparatorColor,
23432
+ data.platformSeparatorColor,
23433
+ options
23434
+ ),
23435
+ platformPlaceholderColor: this.toAstProperty(
23436
+ bitType,
23437
+ ConfigKey.property_platformPlaceholderColor,
23438
+ data.platformPlaceholderColor,
23439
+ options
23440
+ ),
23441
+ platformTextSelectionColor: this.toAstProperty(
23442
+ bitType,
23443
+ ConfigKey.property_platformTextSelectionColor,
23444
+ data.platformTextSelectionColor,
23445
+ options
23446
+ ),
23447
+ platformButtonPrimaryColor: this.toAstProperty(
23448
+ bitType,
23449
+ ConfigKey.property_platformButtonPrimaryColor,
23450
+ data.platformButtonPrimaryColor,
23451
+ options
23452
+ ),
23453
+ platformButtonBackgroundColor: this.toAstProperty(
23454
+ bitType,
23455
+ ConfigKey.property_platformButtonBackgroundColor,
23456
+ data.platformButtonBackgroundColor,
23457
+ options
23458
+ ),
23459
+ platformMessageBackgroundColor: this.toAstProperty(
23460
+ bitType,
23461
+ ConfigKey.property_platformMessageBackgroundColor,
23462
+ data.platformMessageBackgroundColor,
23463
+ options
23464
+ ),
23465
+ platformBackgroundImage: this.toImageResource(context, data.platformBackgroundImage),
22956
23466
  productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
22957
23467
  product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
22958
23468
  // productList: this.toAstProperty(
@@ -23024,7 +23534,6 @@ var Builder = class extends BaseBuilder {
23024
23534
  item: this.handleJsonText(context, TextLocation2.tag, data.item),
23025
23535
  lead: this.handleJsonText(context, TextLocation2.tag, data.lead),
23026
23536
  pageNumber: this.handleJsonText(context, TextLocation2.tag, data.pageNumber),
23027
- sourcePageNumber: this.handleJsonText(context, TextLocation2.tag, data.sourcePageNumber),
23028
23537
  marginNumber: this.handleJsonText(context, TextLocation2.tag, data.marginNumber),
23029
23538
  hint: this.handleJsonText(context, TextLocation2.tag, data.hint),
23030
23539
  instruction: this.handleJsonText(context, TextLocation2.tag, data.instruction),
@@ -23127,15 +23636,7 @@ var Builder = class extends BaseBuilder {
23127
23636
  objectUtils.removeUnwantedProperties(node, {
23128
23637
  ignoreAllFalse: true,
23129
23638
  ignoreUndefined: ["example"],
23130
- ignoreEmptyArrays: [
23131
- "item",
23132
- "lead",
23133
- "pageNumber",
23134
- "sourcePageNumber",
23135
- "marginNumber",
23136
- "hint",
23137
- "instruction"
23138
- ]
23639
+ ignoreEmptyArrays: ["item", "lead", "pageNumber", "marginNumber", "hint", "instruction"]
23139
23640
  });
23140
23641
  return nodeValidator.validateBit(node);
23141
23642
  }
@@ -25448,7 +25949,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
25448
25949
  if (this.isEmptyText(item)) return false;
25449
25950
  if (!this.isEmptyText(parent?.value?.lead)) return true;
25450
25951
  if (!this.isEmptyText(parent?.value?.pageNumber)) return true;
25451
- if (!this.isEmptyText(parent?.value?.sourcePageNumber)) return true;
25452
25952
  if (!this.isEmptyText(parent?.value?.marginNumber)) return true;
25453
25953
  this.writeNL_IfNotChain(route);
25454
25954
  this.writeOPC();
@@ -25462,7 +25962,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
25462
25962
  const parent = this.getParentNode(route);
25463
25963
  if (this.isEmptyText(lead)) return false;
25464
25964
  if (!this.isEmptyText(parent?.value?.pageNumber)) return true;
25465
- if (!this.isEmptyText(parent?.value?.sourcePageNumber)) return true;
25466
25965
  if (!this.isEmptyText(parent?.value?.marginNumber)) return true;
25467
25966
  this.writeNL_IfNotChain(route);
25468
25967
  this.writeOPC();
@@ -25478,7 +25977,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
25478
25977
  const pageNumber = node.value;
25479
25978
  const parent = this.getParentNode(route);
25480
25979
  if (this.isEmptyText(pageNumber)) return false;
25481
- if (!this.isEmptyText(parent?.value?.sourcePageNumber)) return true;
25482
25980
  if (!this.isEmptyText(parent?.value?.marginNumber)) return true;
25483
25981
  this.writeNL_IfNotChain(route);
25484
25982
  this.writeOPC();
@@ -25492,31 +25990,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
25492
25990
  this.writeCL();
25493
25991
  return true;
25494
25992
  }
25495
- // bitmarkAst -> bits -> bitsValue -> sourcePageNumber
25496
- enter_sourcePageNumber(node, route) {
25497
- const sourcePageNumber = node.value;
25498
- const parent = this.getParentNode(route);
25499
- if (this.isEmptyText(sourcePageNumber)) return false;
25500
- if (!this.isEmptyText(parent?.value?.marginNumber)) return true;
25501
- this.writeNL_IfNotChain(route);
25502
- this.writeOPC();
25503
- this.writeTextOrValue(parent?.value?.item ?? "", TextFormat2.bitmarkText, TextLocation2.tag);
25504
- this.writeCL();
25505
- this.writeOPC();
25506
- this.writeTextOrValue(parent?.value?.lead ?? "", TextFormat2.bitmarkText, TextLocation2.tag);
25507
- this.writeCL();
25508
- this.writeOPC();
25509
- this.writeTextOrValue(
25510
- parent?.value?.pageNumber ?? "",
25511
- TextFormat2.bitmarkText,
25512
- TextLocation2.tag
25513
- );
25514
- this.writeCL();
25515
- this.writeOPC();
25516
- this.writeTextOrValue(sourcePageNumber ?? "", TextFormat2.bitmarkText, TextLocation2.tag);
25517
- this.writeCL();
25518
- return true;
25519
- }
25520
25993
  // bitmarkAst -> bits -> bitsValue -> marginNumber
25521
25994
  enter_marginNumber(node, route) {
25522
25995
  const marginNumber = node.value;
@@ -25537,13 +26010,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
25537
26010
  );
25538
26011
  this.writeCL();
25539
26012
  this.writeOPC();
25540
- this.writeTextOrValue(
25541
- parent?.value?.sourcePageNumber ?? "",
25542
- TextFormat2.bitmarkText,
25543
- TextLocation2.tag
25544
- );
25545
- this.writeCL();
25546
- this.writeOPC();
25547
26013
  this.writeTextOrValue(marginNumber, TextFormat2.bitmarkText, TextLocation2.tag);
25548
26014
  this.writeCL();
25549
26015
  return true;
@@ -26098,6 +26564,27 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
26098
26564
  this.writePropertyStyleResource(node.key, resource);
26099
26565
  return true;
26100
26566
  }
26567
+ // bitmarkAst -> bits -> bitsValue -> platformIcon
26568
+ enter_platformIcon(node, _route) {
26569
+ const resource = node.value;
26570
+ this.writeNL();
26571
+ this.writePropertyStyleResource(node.key, resource);
26572
+ return true;
26573
+ }
26574
+ // bitmarkAst -> bits -> bitsValue -> platformLogo
26575
+ enter_platformLogo(node, _route) {
26576
+ const resource = node.value;
26577
+ this.writeNL();
26578
+ this.writePropertyStyleResource(node.key, resource);
26579
+ return true;
26580
+ }
26581
+ // bitmarkAst -> bits -> bitsValue -> platformBackgroundImage
26582
+ enter_platformBackgroundImage(node, _route) {
26583
+ const resource = node.value;
26584
+ this.writeNL();
26585
+ this.writePropertyStyleResource(node.key, resource);
26586
+ return true;
26587
+ }
26101
26588
  exit_imagePlaceholder(_node, _route) {
26102
26589
  }
26103
26590
  // bitmarkAst -> bits -> bitsValue -> posterImage
@@ -27368,10 +27855,6 @@ var JsonGenerator = class extends AstWalkerGenerator {
27368
27855
  enter_pageNumber(node, route) {
27369
27856
  return this.standardHandler(node, route, NodeType.bitsValue, { array: true });
27370
27857
  }
27371
- // bitmarkAst -> bits -> bitsValue -> sourcePageNumber
27372
- enter_sourcePageNumber(node, route) {
27373
- return this.standardHandler(node, route, NodeType.bitsValue, { array: true });
27374
- }
27375
27858
  // bitmarkAst -> bits -> bitsValue -> marginNumber
27376
27859
  enter_marginNumber(node, route) {
27377
27860
  return this.standardHandler(node, route, NodeType.bitsValue, { array: true });
@@ -27658,6 +28141,18 @@ var JsonGenerator = class extends AstWalkerGenerator {
27658
28141
  enter_imagePlaceholder(node, route) {
27659
28142
  return this.standardHandler(node, route, NodeType.bitsValue, { array: false });
27660
28143
  }
28144
+ // bitmarkAst -> bits -> bitsValue -> platformIcon
28145
+ enter_platformIcon(node, route) {
28146
+ return this.standardHandler(node, route, NodeType.bitsValue, { array: false });
28147
+ }
28148
+ // bitmarkAst -> bits -> bitsValue -> platformLogo
28149
+ enter_platformLogo(node, route) {
28150
+ return this.standardHandler(node, route, NodeType.bitsValue, { array: false });
28151
+ }
28152
+ // bitmarkAst -> bits -> bitsValue -> platformBackgroundImage
28153
+ enter_platformBackgroundImage(node, route) {
28154
+ return this.standardHandler(node, route, NodeType.bitsValue, { array: false });
28155
+ }
27661
28156
  // bitmarkAst -> bits -> bitsValue -> resources
27662
28157
  enter_resources(node, route) {
27663
28158
  const resources = node.value;
@@ -28094,7 +28589,6 @@ var JsonGenerator = class extends AstWalkerGenerator {
28094
28589
  delete bitJson.item;
28095
28590
  delete bitJson.lead;
28096
28591
  delete bitJson.pageNumber;
28097
- delete bitJson.sourcePageNumber;
28098
28592
  delete bitJson.marginNumber;
28099
28593
  delete bitJson.hint;
28100
28594
  delete bitJson.instruction;
@@ -28106,8 +28600,6 @@ var JsonGenerator = class extends AstWalkerGenerator {
28106
28600
  if (bitJson.lead == null || bitJson.lead?.length === 0) delete bitJson.lead;
28107
28601
  if (bitJson.pageNumber == null || bitJson.pageNumber?.length === 0)
28108
28602
  delete bitJson.pageNumber;
28109
- if (bitJson.sourcePageNumber == null || bitJson.sourcePageNumber?.length === 0)
28110
- delete bitJson.sourcePageNumber;
28111
28603
  if (bitJson.marginNumber == null || bitJson.marginNumber?.length === 0)
28112
28604
  delete bitJson.marginNumber;
28113
28605
  if (bitJson.hint == null || bitJson.hint?.length === 0) delete bitJson.hint;
@@ -28119,7 +28611,6 @@ var JsonGenerator = class extends AstWalkerGenerator {
28119
28611
  if (bitJson.hint == null) bitJson.hint = this.textDefault;
28120
28612
  if (bitJson.instruction == null) bitJson.instruction = this.textDefault;
28121
28613
  if (bitJson.pageNumber == null) bitJson.pageNumber = this.textDefault;
28122
- if (bitJson.sourcePageNumber == null) bitJson.sourcePageNumber = this.textDefault;
28123
28614
  if (bitJson.marginNumber == null) bitJson.marginNumber = this.textDefault;
28124
28615
  }
28125
28616
  if (bitJson.body == null) bitJson.body = this.bodyDefault;
@@ -29574,7 +30065,7 @@ var BitmarkPegParserValidator = class {
29574
30065
  let tagData = validTypeKeys.get(validTypeKey);
29575
30066
  if (!tagData && typeKey === TypeKey.Property) {
29576
30067
  const resourceKey = key.replace(/^@/, "&");
29577
- if (resourceKey === ConfigKey.resource_backgroundWallpaper || resourceKey === ConfigKey.resource_imagePlaceholder) {
30068
+ if (resourceKey === ConfigKey.resource_backgroundWallpaper || resourceKey === ConfigKey.resource_imagePlaceholder || resourceKey === ConfigKey.resource_platformIcon || resourceKey === ConfigKey.resource_platformLogo || resourceKey === ConfigKey.resource_platformBackgroundImage) {
29578
30069
  tagData = validTypeKeys.get(resourceKey);
29579
30070
  if (tagData) {
29580
30071
  typeKey = TypeKey.Resource;
@@ -31851,7 +32342,7 @@ function resourceContentProcessor(context, _contentDepth, tagsConfig, content, t
31851
32342
  ...tags2
31852
32343
  });
31853
32344
  if (resource) {
31854
- if (configKey === ConfigKey.resource_backgroundWallpaper || configKey === ConfigKey.resource_imagePlaceholder) {
32345
+ if (configKey === ConfigKey.resource_backgroundWallpaper || configKey === ConfigKey.resource_imagePlaceholder || configKey === ConfigKey.resource_platformIcon || configKey === ConfigKey.resource_platformLogo || configKey === ConfigKey.resource_platformBackgroundImage) {
31855
32346
  if (target.propertyStyleResources) target.propertyStyleResources[resourceType] = resource;
31856
32347
  } else {
31857
32348
  resources.push(resource);
@@ -32559,8 +33050,7 @@ var BitmarkPegParserProcessor = class {
32559
33050
  if (l > 0) result.item = result.itemLead[0];
32560
33051
  if (l > 1) result.lead = result.itemLead[1];
32561
33052
  if (l > 2) result.pageNumber = result.itemLead[2];
32562
- if (l > 3) result.sourcePageNumber = result.itemLead[3];
32563
- if (l > 4) result.marginNumber = result.itemLead[l - 1];
33053
+ if (l > 3) result.marginNumber = result.itemLead[l - 1];
32564
33054
  }
32565
33055
  if (inBit) {
32566
33056
  result.body = instance11.process(