@gmb/bitmark-parser-generator 4.12.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.
- package/dist/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/browser/cjs/index.cjs +451 -60
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +209 -7
- package/dist/browser/esm/index.d.ts +209 -7
- package/dist/browser/esm/index.js +451 -60
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +451 -60
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +209 -7
- package/dist/index.d.ts +209 -7
- package/dist/index.js +451 -60
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -161,6 +161,7 @@ var BitType = (0, import_superenum.superenum)({
|
|
|
161
161
|
botActionSend: "bot-action-send",
|
|
162
162
|
botActionTrueFalse: "bot-action-true-false",
|
|
163
163
|
botInterview: "bot-interview",
|
|
164
|
+
brandColor: "brand-color",
|
|
164
165
|
browserImage: "browser-image",
|
|
165
166
|
bug: "bug",
|
|
166
167
|
bugAlt: "bug-alt",
|
|
@@ -475,7 +476,18 @@ var BitType = (0, import_superenum.superenum)({
|
|
|
475
476
|
pageSubscribe: "page-subscribe",
|
|
476
477
|
parameters: "parameters",
|
|
477
478
|
photo: "photo",
|
|
479
|
+
platform: "platform",
|
|
480
|
+
platformHeader: "platform-header",
|
|
481
|
+
platformMain: "platform-main",
|
|
482
|
+
platformMainButton: "platform-main-button",
|
|
483
|
+
platformMainInput: "platform-main-input",
|
|
478
484
|
platformPath: "platform-path",
|
|
485
|
+
platformSection: "platform-section",
|
|
486
|
+
platformSectionButton: "platform-section-button",
|
|
487
|
+
platformSectionChat: "platform-section-chat",
|
|
488
|
+
platformSectionHeader: "platform-section-header",
|
|
489
|
+
platformSectionInput: "platform-section-input",
|
|
490
|
+
platformSystemIcon: "platform-system-icon",
|
|
479
491
|
preparationNote: "preparation-note",
|
|
480
492
|
pronunciationTable: "pronunciation-table",
|
|
481
493
|
prototypeImages: "prototype-images",
|
|
@@ -1102,6 +1114,7 @@ var groupKeys = {
|
|
|
1102
1114
|
group_bookCommon: "group_bookCommon",
|
|
1103
1115
|
group_learningPathCommon: "group_learningPathCommon",
|
|
1104
1116
|
group_advertisingCommon: "group_advertisingCommon",
|
|
1117
|
+
group_platformColorsCommon: "group_platformColorsCommon",
|
|
1105
1118
|
group_quizCommon: "group_quizCommon",
|
|
1106
1119
|
group_resourceBitTags: "group_resourceBitTags",
|
|
1107
1120
|
group_resourceCommon: "group_resourceCommon",
|
|
@@ -1156,6 +1169,8 @@ var propertyKeys = {
|
|
|
1156
1169
|
property_author: "@author",
|
|
1157
1170
|
property_autoplay: "@autoplay",
|
|
1158
1171
|
property_availableClassifications: "@availableClassifications",
|
|
1172
|
+
property_brandColor: "@brandColor",
|
|
1173
|
+
property_brandColorName: "@brandColorName",
|
|
1159
1174
|
property_blockId: "@blockId",
|
|
1160
1175
|
property_book: "@book",
|
|
1161
1176
|
property_bookAlias: "@bookAlias",
|
|
@@ -1222,6 +1237,7 @@ var propertyKeys = {
|
|
|
1222
1237
|
property_imageSource: "@imageSource",
|
|
1223
1238
|
property_index: "@index",
|
|
1224
1239
|
property_internalComment: "@internalComment",
|
|
1240
|
+
property_internalPrintPdf: "@internalPrintPdf",
|
|
1225
1241
|
property_isCaseSensitive: "@isCaseSensitive",
|
|
1226
1242
|
property_isInfoOnly: "@isInfoOnly",
|
|
1227
1243
|
property_isPublic: "@isPublic",
|
|
@@ -1262,6 +1278,18 @@ var propertyKeys = {
|
|
|
1262
1278
|
property_partner: "@partner",
|
|
1263
1279
|
// Deprecated, replaced by person
|
|
1264
1280
|
property_path: "@path",
|
|
1281
|
+
property_platformBackgroundColor: "@platformBackgroundColor",
|
|
1282
|
+
property_platformButtonBackgroundColor: "@platformButtonBackgroundColor",
|
|
1283
|
+
property_platformButtonPrimaryColor: "@platformButtonPrimaryColor",
|
|
1284
|
+
property_platformMessageBackgroundColor: "@platformMessageBackgroundColor",
|
|
1285
|
+
property_platformName: "@platformName",
|
|
1286
|
+
property_platformPlaceholderColor: "@platformPlaceholderColor",
|
|
1287
|
+
property_platformPrimaryColor: "@platformPrimaryColor",
|
|
1288
|
+
property_platformScrollbarColor: "@platformScrollbarColor",
|
|
1289
|
+
property_platformSecondaryColor: "@platformSecondaryColor",
|
|
1290
|
+
property_platformSelectionColor: "@platformSelectionColor",
|
|
1291
|
+
property_platformSeparatorColor: "@platformSeparatorColor",
|
|
1292
|
+
property_platformTextSelectionColor: "@platformTextSelectionColor",
|
|
1265
1293
|
property_person: "@person",
|
|
1266
1294
|
property_pointerLeft: "@pointerLeft",
|
|
1267
1295
|
property_pointerTop: "@pointerTop",
|
|
@@ -1311,6 +1339,7 @@ var propertyKeys = {
|
|
|
1311
1339
|
property_size: "@size",
|
|
1312
1340
|
property_slug: "@slug",
|
|
1313
1341
|
property_sourceDocument: "@sourceDocument",
|
|
1342
|
+
property_sourceRL: "@sourceRL",
|
|
1314
1343
|
property_spaceId: "@spaceId",
|
|
1315
1344
|
property_src1x: "@src1x",
|
|
1316
1345
|
property_src2x: "@src2x",
|
|
@@ -1385,6 +1414,9 @@ var resourceKeys = {
|
|
|
1385
1414
|
resource_appLink: "&appLink",
|
|
1386
1415
|
resource_websiteLink: "&websiteLink",
|
|
1387
1416
|
resource_icon: "&icon",
|
|
1417
|
+
resource_platformBackgroundImage: "&platformBackgroundImage",
|
|
1418
|
+
resource_platformIcon: "&platformIcon",
|
|
1419
|
+
resource_platformLogo: "&platformLogo",
|
|
1388
1420
|
resource_backgroundWallpaper: "&backgroundWallpaper",
|
|
1389
1421
|
resource_imagePlaceholder: "&imagePlaceholder"
|
|
1390
1422
|
};
|
|
@@ -1611,7 +1643,10 @@ var ResourceType = (0, import_superenum13.superenum)({
|
|
|
1611
1643
|
// Aliases for image
|
|
1612
1644
|
icon: "icon",
|
|
1613
1645
|
backgroundWallpaper: "backgroundWallpaper",
|
|
1614
|
-
imagePlaceholder: "imagePlaceholder"
|
|
1646
|
+
imagePlaceholder: "imagePlaceholder",
|
|
1647
|
+
platformIcon: "platformIcon",
|
|
1648
|
+
platformLogo: "platformLogo",
|
|
1649
|
+
platformBackgroundImage: "platformBackgroundImage"
|
|
1615
1650
|
});
|
|
1616
1651
|
function resourceTypeToConfigKey(type) {
|
|
1617
1652
|
return `&${stringUtils.kebabToCamel(type)}`;
|
|
@@ -2626,6 +2661,11 @@ var GROUPS = {
|
|
|
2626
2661
|
format: TagFormat.plainText,
|
|
2627
2662
|
maxCount: Count.infinity
|
|
2628
2663
|
},
|
|
2664
|
+
{
|
|
2665
|
+
key: ConfigKey.property_sourceRL,
|
|
2666
|
+
description: "The original location of the information in the original source material",
|
|
2667
|
+
format: TagFormat.plainText
|
|
2668
|
+
},
|
|
2629
2669
|
{
|
|
2630
2670
|
key: ConfigKey.property_isTemplate,
|
|
2631
2671
|
description: "If true, the bit is a template",
|
|
@@ -3272,6 +3312,11 @@ var GROUPS = {
|
|
|
3272
3312
|
key: ConfigKey.property_sourceDocument,
|
|
3273
3313
|
description: "Url of the source document for the book (for example, a PDF file)",
|
|
3274
3314
|
format: TagFormat.plainText
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
key: ConfigKey.property_internalPrintPdf,
|
|
3318
|
+
description: "Url of the internal print PDF for the book",
|
|
3319
|
+
format: TagFormat.plainText
|
|
3275
3320
|
}
|
|
3276
3321
|
]
|
|
3277
3322
|
},
|
|
@@ -3361,6 +3406,67 @@ var GROUPS = {
|
|
|
3361
3406
|
}
|
|
3362
3407
|
]
|
|
3363
3408
|
},
|
|
3409
|
+
[ConfigKey.group_platformColorsCommon]: {
|
|
3410
|
+
type: GroupConfigType.standard,
|
|
3411
|
+
description: "Common platform colors",
|
|
3412
|
+
tags: [
|
|
3413
|
+
{
|
|
3414
|
+
key: ConfigKey.property_platformPrimaryColor,
|
|
3415
|
+
description: "The platform system primary color",
|
|
3416
|
+
format: TagFormat.plainText
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
key: ConfigKey.property_platformSecondaryColor,
|
|
3420
|
+
description: "The platform section secondary color",
|
|
3421
|
+
format: TagFormat.plainText
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
key: ConfigKey.property_platformBackgroundColor,
|
|
3425
|
+
description: "The platform system background color",
|
|
3426
|
+
format: TagFormat.plainText
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
key: ConfigKey.property_platformButtonPrimaryColor,
|
|
3430
|
+
description: "The platform section header button primary color",
|
|
3431
|
+
format: TagFormat.plainText
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
key: ConfigKey.property_platformButtonBackgroundColor,
|
|
3435
|
+
description: "The platform section header button background color",
|
|
3436
|
+
format: TagFormat.plainText
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
key: ConfigKey.property_platformScrollbarColor,
|
|
3440
|
+
description: "The platform main scrollbar color",
|
|
3441
|
+
format: TagFormat.plainText
|
|
3442
|
+
},
|
|
3443
|
+
{
|
|
3444
|
+
key: ConfigKey.property_platformSelectionColor,
|
|
3445
|
+
description: "The platform main selection color",
|
|
3446
|
+
format: TagFormat.plainText
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
key: ConfigKey.property_platformTextSelectionColor,
|
|
3450
|
+
description: "The platform main input text selection color",
|
|
3451
|
+
format: TagFormat.plainText
|
|
3452
|
+
},
|
|
3453
|
+
{
|
|
3454
|
+
key: ConfigKey.property_platformSeparatorColor,
|
|
3455
|
+
description: "The platform main separator color",
|
|
3456
|
+
format: TagFormat.plainText
|
|
3457
|
+
},
|
|
3458
|
+
{
|
|
3459
|
+
key: ConfigKey.property_platformPlaceholderColor,
|
|
3460
|
+
description: "The platform main input placeholder color",
|
|
3461
|
+
format: TagFormat.plainText
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
key: ConfigKey.property_platformMessageBackgroundColor,
|
|
3465
|
+
description: "The platform section chat message background color",
|
|
3466
|
+
format: TagFormat.plainText
|
|
3467
|
+
}
|
|
3468
|
+
]
|
|
3469
|
+
},
|
|
3364
3470
|
[ConfigKey.group_quizCommon]: {
|
|
3365
3471
|
type: GroupConfigType.standard,
|
|
3366
3472
|
description: "Common quiz tags",
|
|
@@ -7162,6 +7268,23 @@ var BITS = {
|
|
|
7162
7268
|
baseBitType: BitType.interview,
|
|
7163
7269
|
description: "Bot interview bit, used to create bot interviews in articles or books"
|
|
7164
7270
|
},
|
|
7271
|
+
[BitType.brandColor]: {
|
|
7272
|
+
since: "4.12.0",
|
|
7273
|
+
baseBitType: BitType._standard,
|
|
7274
|
+
description: "Brand color bit, used to define brand colors",
|
|
7275
|
+
tags: [
|
|
7276
|
+
{
|
|
7277
|
+
key: ConfigKey.property_brandColor,
|
|
7278
|
+
description: "The brand color",
|
|
7279
|
+
format: TagFormat.plainText
|
|
7280
|
+
},
|
|
7281
|
+
{
|
|
7282
|
+
key: ConfigKey.property_brandColorName,
|
|
7283
|
+
description: "The brand color name",
|
|
7284
|
+
format: TagFormat.plainText
|
|
7285
|
+
}
|
|
7286
|
+
]
|
|
7287
|
+
},
|
|
7165
7288
|
[BitType.learningPathBook]: {
|
|
7166
7289
|
since: "1.3.0",
|
|
7167
7290
|
baseBitType: BitType._standard,
|
|
@@ -7920,6 +8043,160 @@ var BITS = {
|
|
|
7920
8043
|
baseBitType: BitType.image,
|
|
7921
8044
|
description: "Photo bit, used to create photo bits in articles or books"
|
|
7922
8045
|
},
|
|
8046
|
+
[BitType.platform]: {
|
|
8047
|
+
since: "4.12.0",
|
|
8048
|
+
baseBitType: BitType._standard,
|
|
8049
|
+
description: "Platform bit, used to define platform properties",
|
|
8050
|
+
tags: [
|
|
8051
|
+
{
|
|
8052
|
+
key: ConfigKey.property_platformName,
|
|
8053
|
+
description: "The platform name",
|
|
8054
|
+
format: TagFormat.plainText
|
|
8055
|
+
},
|
|
8056
|
+
{
|
|
8057
|
+
key: ConfigKey.resource_platformIcon,
|
|
8058
|
+
description: "The platform icon",
|
|
8059
|
+
chain: [
|
|
8060
|
+
{
|
|
8061
|
+
key: ConfigKey.group_resourceImageCommon,
|
|
8062
|
+
description: "Common image properties for the platform icon resource"
|
|
8063
|
+
}
|
|
8064
|
+
],
|
|
8065
|
+
maxCount: 1
|
|
8066
|
+
}
|
|
8067
|
+
]
|
|
8068
|
+
},
|
|
8069
|
+
[BitType.platformHeader]: {
|
|
8070
|
+
since: "4.12.0",
|
|
8071
|
+
baseBitType: BitType._standard,
|
|
8072
|
+
description: "Platform header bit, used to define platform header properties",
|
|
8073
|
+
tags: [
|
|
8074
|
+
{
|
|
8075
|
+
key: ConfigKey.resource_platformLogo,
|
|
8076
|
+
description: "The platform logo",
|
|
8077
|
+
chain: [
|
|
8078
|
+
{
|
|
8079
|
+
key: ConfigKey.group_resourceImageCommon,
|
|
8080
|
+
description: "Common image properties for the platform logo resource"
|
|
8081
|
+
}
|
|
8082
|
+
],
|
|
8083
|
+
maxCount: 1
|
|
8084
|
+
},
|
|
8085
|
+
{
|
|
8086
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8087
|
+
description: "Common platform colors"
|
|
8088
|
+
}
|
|
8089
|
+
]
|
|
8090
|
+
},
|
|
8091
|
+
[BitType.platformMain]: {
|
|
8092
|
+
since: "4.12.0",
|
|
8093
|
+
baseBitType: BitType._standard,
|
|
8094
|
+
description: "Platform main bit, used to define platform main properties",
|
|
8095
|
+
tags: [
|
|
8096
|
+
{
|
|
8097
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8098
|
+
description: "Common platform colors"
|
|
8099
|
+
}
|
|
8100
|
+
]
|
|
8101
|
+
},
|
|
8102
|
+
[BitType.platformMainButton]: {
|
|
8103
|
+
since: "4.12.0",
|
|
8104
|
+
baseBitType: BitType._standard,
|
|
8105
|
+
description: "Platform main button bit, used to define platform main button properties",
|
|
8106
|
+
tags: [
|
|
8107
|
+
{
|
|
8108
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8109
|
+
description: "Common platform colors"
|
|
8110
|
+
}
|
|
8111
|
+
]
|
|
8112
|
+
},
|
|
8113
|
+
[BitType.platformMainInput]: {
|
|
8114
|
+
since: "4.12.0",
|
|
8115
|
+
baseBitType: BitType._standard,
|
|
8116
|
+
description: "Platform main input bit, used to define platform main input properties",
|
|
8117
|
+
tags: [
|
|
8118
|
+
{
|
|
8119
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8120
|
+
description: "Common platform colors"
|
|
8121
|
+
}
|
|
8122
|
+
]
|
|
8123
|
+
},
|
|
8124
|
+
[BitType.platformSection]: {
|
|
8125
|
+
since: "4.12.0",
|
|
8126
|
+
baseBitType: BitType._standard,
|
|
8127
|
+
description: "Platform section bit, used to define platform section properties",
|
|
8128
|
+
tags: [
|
|
8129
|
+
{
|
|
8130
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8131
|
+
description: "Common platform colors"
|
|
8132
|
+
}
|
|
8133
|
+
]
|
|
8134
|
+
},
|
|
8135
|
+
[BitType.platformSectionButton]: {
|
|
8136
|
+
since: "4.12.0",
|
|
8137
|
+
baseBitType: BitType._standard,
|
|
8138
|
+
description: "Platform section button bit, used to define platform section button properties",
|
|
8139
|
+
tags: [
|
|
8140
|
+
{
|
|
8141
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8142
|
+
description: "Common platform colors"
|
|
8143
|
+
}
|
|
8144
|
+
]
|
|
8145
|
+
},
|
|
8146
|
+
[BitType.platformSectionChat]: {
|
|
8147
|
+
since: "4.12.0",
|
|
8148
|
+
baseBitType: BitType._standard,
|
|
8149
|
+
description: "Platform section chat bit, used to define platform section chat properties",
|
|
8150
|
+
tags: [
|
|
8151
|
+
{
|
|
8152
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8153
|
+
description: "Common platform colors"
|
|
8154
|
+
},
|
|
8155
|
+
{
|
|
8156
|
+
key: ConfigKey.resource_platformBackgroundImage,
|
|
8157
|
+
description: "The platform section chat background image",
|
|
8158
|
+
chain: [
|
|
8159
|
+
{
|
|
8160
|
+
key: ConfigKey.group_resourceImageCommon,
|
|
8161
|
+
description: "Common image properties for the platform background image resource"
|
|
8162
|
+
}
|
|
8163
|
+
]
|
|
8164
|
+
}
|
|
8165
|
+
]
|
|
8166
|
+
},
|
|
8167
|
+
[BitType.platformSectionHeader]: {
|
|
8168
|
+
since: "4.12.0",
|
|
8169
|
+
baseBitType: BitType._standard,
|
|
8170
|
+
description: "Platform section header bit, used to define platform section header properties",
|
|
8171
|
+
tags: [
|
|
8172
|
+
{
|
|
8173
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8174
|
+
description: "Common platform colors"
|
|
8175
|
+
}
|
|
8176
|
+
]
|
|
8177
|
+
},
|
|
8178
|
+
[BitType.platformSectionInput]: {
|
|
8179
|
+
since: "4.12.0",
|
|
8180
|
+
baseBitType: BitType._standard,
|
|
8181
|
+
description: "Platform section input bit, used to define platform section input properties",
|
|
8182
|
+
tags: [
|
|
8183
|
+
{
|
|
8184
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8185
|
+
description: "Common platform colors"
|
|
8186
|
+
}
|
|
8187
|
+
]
|
|
8188
|
+
},
|
|
8189
|
+
[BitType.platformSystemIcon]: {
|
|
8190
|
+
since: "4.12.0",
|
|
8191
|
+
baseBitType: BitType._standard,
|
|
8192
|
+
description: "Platform system icon bit, used to define platform system icon properties",
|
|
8193
|
+
tags: [
|
|
8194
|
+
{
|
|
8195
|
+
key: ConfigKey.group_platformColorsCommon,
|
|
8196
|
+
description: "Common platform colors"
|
|
8197
|
+
}
|
|
8198
|
+
]
|
|
8199
|
+
},
|
|
7923
8200
|
[BitType.quote]: {
|
|
7924
8201
|
since: "1.3.0",
|
|
7925
8202
|
baseBitType: BitType._standard,
|
|
@@ -9268,7 +9545,7 @@ var instance2 = new Config();
|
|
|
9268
9545
|
// src/generated/package_info.ts
|
|
9269
9546
|
var PACKAGE_INFO = {
|
|
9270
9547
|
"name": "@gmb/bitmark-parser-generator",
|
|
9271
|
-
"version": "4.
|
|
9548
|
+
"version": "4.13.0",
|
|
9272
9549
|
"author": "Get More Brain Ltd",
|
|
9273
9550
|
"license": "ISC",
|
|
9274
9551
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -9613,6 +9890,10 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
9613
9890
|
advertisingClickUrl: "advertisingClickUrl",
|
|
9614
9891
|
advertisingClickUrlValue: "advertisingClickUrlValue",
|
|
9615
9892
|
ageRange: "ageRange",
|
|
9893
|
+
brandColor: "brandColor",
|
|
9894
|
+
brandColorValue: "brandColorValue",
|
|
9895
|
+
brandColorName: "brandColorName",
|
|
9896
|
+
brandColorNameValue: "brandColorNameValue",
|
|
9616
9897
|
ageRangeValue: "ageRangeValue",
|
|
9617
9898
|
aiGenerated: "aiGenerated",
|
|
9618
9899
|
aiGeneratedValue: "aiGeneratedValue",
|
|
@@ -9843,6 +10124,8 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
9843
10124
|
instruction: "instruction",
|
|
9844
10125
|
internalComment: "internalComment",
|
|
9845
10126
|
internalCommentValue: "internalCommentValue",
|
|
10127
|
+
internalPrintPdf: "internalPrintPdf",
|
|
10128
|
+
internalPrintPdfValue: "internalPrintPdfValue",
|
|
9846
10129
|
isCaseSensitive: "isCaseSensitive",
|
|
9847
10130
|
isCommented: "isCommented",
|
|
9848
10131
|
isCorrect: "isCorrect",
|
|
@@ -9945,6 +10228,36 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
9945
10228
|
partialAnswerValue: "partialAnswerValue",
|
|
9946
10229
|
path: "path",
|
|
9947
10230
|
pathValue: "pathValue",
|
|
10231
|
+
platformName: "platformName",
|
|
10232
|
+
platformNameValue: "platformNameValue",
|
|
10233
|
+
platformIcon: "platformIcon",
|
|
10234
|
+
platformIconValue: "platformIconValue",
|
|
10235
|
+
platformLogo: "platformLogo",
|
|
10236
|
+
platformLogoValue: "platformLogoValue",
|
|
10237
|
+
platformPrimaryColor: "platformPrimaryColor",
|
|
10238
|
+
platformPrimaryColorValue: "platformPrimaryColorValue",
|
|
10239
|
+
platformSecondaryColor: "platformSecondaryColor",
|
|
10240
|
+
platformSecondaryColorValue: "platformSecondaryColorValue",
|
|
10241
|
+
platformBackgroundColor: "platformBackgroundColor",
|
|
10242
|
+
platformBackgroundColorValue: "platformBackgroundColorValue",
|
|
10243
|
+
platformScrollbarColor: "platformScrollbarColor",
|
|
10244
|
+
platformScrollbarColorValue: "platformScrollbarColorValue",
|
|
10245
|
+
platformSelectionColor: "platformSelectionColor",
|
|
10246
|
+
platformSelectionColorValue: "platformSelectionColorValue",
|
|
10247
|
+
platformSeparatorColor: "platformSeparatorColor",
|
|
10248
|
+
platformSeparatorColorValue: "platformSeparatorColorValue",
|
|
10249
|
+
platformPlaceholderColor: "platformPlaceholderColor",
|
|
10250
|
+
platformPlaceholderColorValue: "platformPlaceholderColorValue",
|
|
10251
|
+
platformTextSelectionColor: "platformTextSelectionColor",
|
|
10252
|
+
platformTextSelectionColorValue: "platformTextSelectionColorValue",
|
|
10253
|
+
platformButtonPrimaryColor: "platformButtonPrimaryColor",
|
|
10254
|
+
platformButtonPrimaryColorValue: "platformButtonPrimaryColorValue",
|
|
10255
|
+
platformButtonBackgroundColor: "platformButtonBackgroundColor",
|
|
10256
|
+
platformButtonBackgroundColorValue: "platformButtonBackgroundColorValue",
|
|
10257
|
+
platformMessageBackgroundColor: "platformMessageBackgroundColor",
|
|
10258
|
+
platformMessageBackgroundColorValue: "platformMessageBackgroundColorValue",
|
|
10259
|
+
platformBackgroundImage: "platformBackgroundImage",
|
|
10260
|
+
platformBackgroundImageValue: "platformBackgroundImageValue",
|
|
9948
10261
|
person: "person",
|
|
9949
10262
|
pointerLeft: "pointerLeft",
|
|
9950
10263
|
pointerLeftValue: "pointerLeftValue",
|
|
@@ -10063,7 +10376,8 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
10063
10376
|
solutionsValue: "solutionsValue",
|
|
10064
10377
|
sourceDocument: "sourceDocument",
|
|
10065
10378
|
sourceDocumentValue: "sourceDocumentValue",
|
|
10066
|
-
|
|
10379
|
+
sourceRL: "sourceRL",
|
|
10380
|
+
sourceRLValue: "sourceRLValue",
|
|
10067
10381
|
spaceId: "spaceId",
|
|
10068
10382
|
spaceIdValue: "spaceIdValue",
|
|
10069
10383
|
src: "src",
|
|
@@ -21462,6 +21776,9 @@ var ResourceBuilder = class extends BaseBuilder {
|
|
|
21462
21776
|
case ResourceType.backgroundWallpaper:
|
|
21463
21777
|
case ResourceType.imagePlaceholder:
|
|
21464
21778
|
case ResourceType.icon:
|
|
21779
|
+
case ResourceType.platformIcon:
|
|
21780
|
+
case ResourceType.platformLogo:
|
|
21781
|
+
case ResourceType.platformBackgroundImage:
|
|
21465
21782
|
node = this.imageResource(context, finalData, type);
|
|
21466
21783
|
break;
|
|
21467
21784
|
// case ResourceType.imageResponsive: {
|
|
@@ -22498,6 +22815,7 @@ var Builder = class extends BaseBuilder {
|
|
|
22498
22815
|
data.jupyterExecutionCount,
|
|
22499
22816
|
options
|
|
22500
22817
|
),
|
|
22818
|
+
sourceRL: this.toAstProperty(bitType, ConfigKey.property_sourceRL, data.sourceRL, options),
|
|
22501
22819
|
isPublic: this.toAstProperty(bitType, ConfigKey.property_isPublic, data.isPublic, options),
|
|
22502
22820
|
isTemplate: this.toAstProperty(
|
|
22503
22821
|
bitType,
|
|
@@ -23021,6 +23339,18 @@ var Builder = class extends BaseBuilder {
|
|
|
23021
23339
|
data.advertisingClickUrl,
|
|
23022
23340
|
options
|
|
23023
23341
|
),
|
|
23342
|
+
brandColor: this.toAstProperty(
|
|
23343
|
+
bitType,
|
|
23344
|
+
ConfigKey.property_brandColor,
|
|
23345
|
+
data.brandColor,
|
|
23346
|
+
options
|
|
23347
|
+
),
|
|
23348
|
+
brandColorName: this.toAstProperty(
|
|
23349
|
+
bitType,
|
|
23350
|
+
ConfigKey.property_brandColorName,
|
|
23351
|
+
data.brandColorName,
|
|
23352
|
+
options
|
|
23353
|
+
),
|
|
23024
23354
|
caption: this.handleJsonText(context, TextLocation2.tag, data.caption),
|
|
23025
23355
|
quotedPerson: this.toAstProperty(
|
|
23026
23356
|
bitType,
|
|
@@ -23084,6 +23414,12 @@ var Builder = class extends BaseBuilder {
|
|
|
23084
23414
|
data.sourceDocument,
|
|
23085
23415
|
options
|
|
23086
23416
|
),
|
|
23417
|
+
internalPrintPdf: this.toAstProperty(
|
|
23418
|
+
bitType,
|
|
23419
|
+
ConfigKey.property_internalPrintPdf,
|
|
23420
|
+
data.internalPrintPdf,
|
|
23421
|
+
options
|
|
23422
|
+
),
|
|
23087
23423
|
tocResource: this.toAstProperty(
|
|
23088
23424
|
bitType,
|
|
23089
23425
|
ConfigKey.property_tocResource,
|
|
@@ -23097,6 +23433,81 @@ var Builder = class extends BaseBuilder {
|
|
|
23097
23433
|
options
|
|
23098
23434
|
),
|
|
23099
23435
|
page: this.toAstProperty(bitType, ConfigKey.property_page, data.page, options),
|
|
23436
|
+
platformName: this.toAstProperty(
|
|
23437
|
+
bitType,
|
|
23438
|
+
ConfigKey.property_platformName,
|
|
23439
|
+
data.platformName,
|
|
23440
|
+
options
|
|
23441
|
+
),
|
|
23442
|
+
platformIcon: this.toImageResource(context, data.platformIcon),
|
|
23443
|
+
platformLogo: this.toImageResource(context, data.platformLogo),
|
|
23444
|
+
platformPrimaryColor: this.toAstProperty(
|
|
23445
|
+
bitType,
|
|
23446
|
+
ConfigKey.property_platformPrimaryColor,
|
|
23447
|
+
data.platformPrimaryColor,
|
|
23448
|
+
options
|
|
23449
|
+
),
|
|
23450
|
+
platformSecondaryColor: this.toAstProperty(
|
|
23451
|
+
bitType,
|
|
23452
|
+
ConfigKey.property_platformSecondaryColor,
|
|
23453
|
+
data.platformSecondaryColor,
|
|
23454
|
+
options
|
|
23455
|
+
),
|
|
23456
|
+
platformBackgroundColor: this.toAstProperty(
|
|
23457
|
+
bitType,
|
|
23458
|
+
ConfigKey.property_platformBackgroundColor,
|
|
23459
|
+
data.platformBackgroundColor,
|
|
23460
|
+
options
|
|
23461
|
+
),
|
|
23462
|
+
platformScrollbarColor: this.toAstProperty(
|
|
23463
|
+
bitType,
|
|
23464
|
+
ConfigKey.property_platformScrollbarColor,
|
|
23465
|
+
data.platformScrollbarColor,
|
|
23466
|
+
options
|
|
23467
|
+
),
|
|
23468
|
+
platformSelectionColor: this.toAstProperty(
|
|
23469
|
+
bitType,
|
|
23470
|
+
ConfigKey.property_platformSelectionColor,
|
|
23471
|
+
data.platformSelectionColor,
|
|
23472
|
+
options
|
|
23473
|
+
),
|
|
23474
|
+
platformSeparatorColor: this.toAstProperty(
|
|
23475
|
+
bitType,
|
|
23476
|
+
ConfigKey.property_platformSeparatorColor,
|
|
23477
|
+
data.platformSeparatorColor,
|
|
23478
|
+
options
|
|
23479
|
+
),
|
|
23480
|
+
platformPlaceholderColor: this.toAstProperty(
|
|
23481
|
+
bitType,
|
|
23482
|
+
ConfigKey.property_platformPlaceholderColor,
|
|
23483
|
+
data.platformPlaceholderColor,
|
|
23484
|
+
options
|
|
23485
|
+
),
|
|
23486
|
+
platformTextSelectionColor: this.toAstProperty(
|
|
23487
|
+
bitType,
|
|
23488
|
+
ConfigKey.property_platformTextSelectionColor,
|
|
23489
|
+
data.platformTextSelectionColor,
|
|
23490
|
+
options
|
|
23491
|
+
),
|
|
23492
|
+
platformButtonPrimaryColor: this.toAstProperty(
|
|
23493
|
+
bitType,
|
|
23494
|
+
ConfigKey.property_platformButtonPrimaryColor,
|
|
23495
|
+
data.platformButtonPrimaryColor,
|
|
23496
|
+
options
|
|
23497
|
+
),
|
|
23498
|
+
platformButtonBackgroundColor: this.toAstProperty(
|
|
23499
|
+
bitType,
|
|
23500
|
+
ConfigKey.property_platformButtonBackgroundColor,
|
|
23501
|
+
data.platformButtonBackgroundColor,
|
|
23502
|
+
options
|
|
23503
|
+
),
|
|
23504
|
+
platformMessageBackgroundColor: this.toAstProperty(
|
|
23505
|
+
bitType,
|
|
23506
|
+
ConfigKey.property_platformMessageBackgroundColor,
|
|
23507
|
+
data.platformMessageBackgroundColor,
|
|
23508
|
+
options
|
|
23509
|
+
),
|
|
23510
|
+
platformBackgroundImage: this.toImageResource(context, data.platformBackgroundImage),
|
|
23100
23511
|
productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
|
|
23101
23512
|
product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
|
|
23102
23513
|
// productList: this.toAstProperty(
|
|
@@ -23168,7 +23579,6 @@ var Builder = class extends BaseBuilder {
|
|
|
23168
23579
|
item: this.handleJsonText(context, TextLocation2.tag, data.item),
|
|
23169
23580
|
lead: this.handleJsonText(context, TextLocation2.tag, data.lead),
|
|
23170
23581
|
pageNumber: this.handleJsonText(context, TextLocation2.tag, data.pageNumber),
|
|
23171
|
-
sourcePageNumber: this.handleJsonText(context, TextLocation2.tag, data.sourcePageNumber),
|
|
23172
23582
|
marginNumber: this.handleJsonText(context, TextLocation2.tag, data.marginNumber),
|
|
23173
23583
|
hint: this.handleJsonText(context, TextLocation2.tag, data.hint),
|
|
23174
23584
|
instruction: this.handleJsonText(context, TextLocation2.tag, data.instruction),
|
|
@@ -23271,15 +23681,7 @@ var Builder = class extends BaseBuilder {
|
|
|
23271
23681
|
objectUtils.removeUnwantedProperties(node, {
|
|
23272
23682
|
ignoreAllFalse: true,
|
|
23273
23683
|
ignoreUndefined: ["example"],
|
|
23274
|
-
ignoreEmptyArrays: [
|
|
23275
|
-
"item",
|
|
23276
|
-
"lead",
|
|
23277
|
-
"pageNumber",
|
|
23278
|
-
"sourcePageNumber",
|
|
23279
|
-
"marginNumber",
|
|
23280
|
-
"hint",
|
|
23281
|
-
"instruction"
|
|
23282
|
-
]
|
|
23684
|
+
ignoreEmptyArrays: ["item", "lead", "pageNumber", "marginNumber", "hint", "instruction"]
|
|
23283
23685
|
});
|
|
23284
23686
|
return nodeValidator.validateBit(node);
|
|
23285
23687
|
}
|
|
@@ -25592,7 +25994,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
|
|
|
25592
25994
|
if (this.isEmptyText(item)) return false;
|
|
25593
25995
|
if (!this.isEmptyText(parent?.value?.lead)) return true;
|
|
25594
25996
|
if (!this.isEmptyText(parent?.value?.pageNumber)) return true;
|
|
25595
|
-
if (!this.isEmptyText(parent?.value?.sourcePageNumber)) return true;
|
|
25596
25997
|
if (!this.isEmptyText(parent?.value?.marginNumber)) return true;
|
|
25597
25998
|
this.writeNL_IfNotChain(route);
|
|
25598
25999
|
this.writeOPC();
|
|
@@ -25606,7 +26007,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
|
|
|
25606
26007
|
const parent = this.getParentNode(route);
|
|
25607
26008
|
if (this.isEmptyText(lead)) return false;
|
|
25608
26009
|
if (!this.isEmptyText(parent?.value?.pageNumber)) return true;
|
|
25609
|
-
if (!this.isEmptyText(parent?.value?.sourcePageNumber)) return true;
|
|
25610
26010
|
if (!this.isEmptyText(parent?.value?.marginNumber)) return true;
|
|
25611
26011
|
this.writeNL_IfNotChain(route);
|
|
25612
26012
|
this.writeOPC();
|
|
@@ -25622,7 +26022,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
|
|
|
25622
26022
|
const pageNumber = node.value;
|
|
25623
26023
|
const parent = this.getParentNode(route);
|
|
25624
26024
|
if (this.isEmptyText(pageNumber)) return false;
|
|
25625
|
-
if (!this.isEmptyText(parent?.value?.sourcePageNumber)) return true;
|
|
25626
26025
|
if (!this.isEmptyText(parent?.value?.marginNumber)) return true;
|
|
25627
26026
|
this.writeNL_IfNotChain(route);
|
|
25628
26027
|
this.writeOPC();
|
|
@@ -25636,31 +26035,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
|
|
|
25636
26035
|
this.writeCL();
|
|
25637
26036
|
return true;
|
|
25638
26037
|
}
|
|
25639
|
-
// bitmarkAst -> bits -> bitsValue -> sourcePageNumber
|
|
25640
|
-
enter_sourcePageNumber(node, route) {
|
|
25641
|
-
const sourcePageNumber = node.value;
|
|
25642
|
-
const parent = this.getParentNode(route);
|
|
25643
|
-
if (this.isEmptyText(sourcePageNumber)) return false;
|
|
25644
|
-
if (!this.isEmptyText(parent?.value?.marginNumber)) return true;
|
|
25645
|
-
this.writeNL_IfNotChain(route);
|
|
25646
|
-
this.writeOPC();
|
|
25647
|
-
this.writeTextOrValue(parent?.value?.item ?? "", TextFormat2.bitmarkText, TextLocation2.tag);
|
|
25648
|
-
this.writeCL();
|
|
25649
|
-
this.writeOPC();
|
|
25650
|
-
this.writeTextOrValue(parent?.value?.lead ?? "", TextFormat2.bitmarkText, TextLocation2.tag);
|
|
25651
|
-
this.writeCL();
|
|
25652
|
-
this.writeOPC();
|
|
25653
|
-
this.writeTextOrValue(
|
|
25654
|
-
parent?.value?.pageNumber ?? "",
|
|
25655
|
-
TextFormat2.bitmarkText,
|
|
25656
|
-
TextLocation2.tag
|
|
25657
|
-
);
|
|
25658
|
-
this.writeCL();
|
|
25659
|
-
this.writeOPC();
|
|
25660
|
-
this.writeTextOrValue(sourcePageNumber ?? "", TextFormat2.bitmarkText, TextLocation2.tag);
|
|
25661
|
-
this.writeCL();
|
|
25662
|
-
return true;
|
|
25663
|
-
}
|
|
25664
26038
|
// bitmarkAst -> bits -> bitsValue -> marginNumber
|
|
25665
26039
|
enter_marginNumber(node, route) {
|
|
25666
26040
|
const marginNumber = node.value;
|
|
@@ -25681,13 +26055,6 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
|
|
|
25681
26055
|
);
|
|
25682
26056
|
this.writeCL();
|
|
25683
26057
|
this.writeOPC();
|
|
25684
|
-
this.writeTextOrValue(
|
|
25685
|
-
parent?.value?.sourcePageNumber ?? "",
|
|
25686
|
-
TextFormat2.bitmarkText,
|
|
25687
|
-
TextLocation2.tag
|
|
25688
|
-
);
|
|
25689
|
-
this.writeCL();
|
|
25690
|
-
this.writeOPC();
|
|
25691
26058
|
this.writeTextOrValue(marginNumber, TextFormat2.bitmarkText, TextLocation2.tag);
|
|
25692
26059
|
this.writeCL();
|
|
25693
26060
|
return true;
|
|
@@ -26242,6 +26609,27 @@ var BitmarkGenerator = class extends AstWalkerGenerator {
|
|
|
26242
26609
|
this.writePropertyStyleResource(node.key, resource);
|
|
26243
26610
|
return true;
|
|
26244
26611
|
}
|
|
26612
|
+
// bitmarkAst -> bits -> bitsValue -> platformIcon
|
|
26613
|
+
enter_platformIcon(node, _route) {
|
|
26614
|
+
const resource = node.value;
|
|
26615
|
+
this.writeNL();
|
|
26616
|
+
this.writePropertyStyleResource(node.key, resource);
|
|
26617
|
+
return true;
|
|
26618
|
+
}
|
|
26619
|
+
// bitmarkAst -> bits -> bitsValue -> platformLogo
|
|
26620
|
+
enter_platformLogo(node, _route) {
|
|
26621
|
+
const resource = node.value;
|
|
26622
|
+
this.writeNL();
|
|
26623
|
+
this.writePropertyStyleResource(node.key, resource);
|
|
26624
|
+
return true;
|
|
26625
|
+
}
|
|
26626
|
+
// bitmarkAst -> bits -> bitsValue -> platformBackgroundImage
|
|
26627
|
+
enter_platformBackgroundImage(node, _route) {
|
|
26628
|
+
const resource = node.value;
|
|
26629
|
+
this.writeNL();
|
|
26630
|
+
this.writePropertyStyleResource(node.key, resource);
|
|
26631
|
+
return true;
|
|
26632
|
+
}
|
|
26245
26633
|
exit_imagePlaceholder(_node, _route) {
|
|
26246
26634
|
}
|
|
26247
26635
|
// bitmarkAst -> bits -> bitsValue -> posterImage
|
|
@@ -27512,10 +27900,6 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
27512
27900
|
enter_pageNumber(node, route) {
|
|
27513
27901
|
return this.standardHandler(node, route, NodeType.bitsValue, { array: true });
|
|
27514
27902
|
}
|
|
27515
|
-
// bitmarkAst -> bits -> bitsValue -> sourcePageNumber
|
|
27516
|
-
enter_sourcePageNumber(node, route) {
|
|
27517
|
-
return this.standardHandler(node, route, NodeType.bitsValue, { array: true });
|
|
27518
|
-
}
|
|
27519
27903
|
// bitmarkAst -> bits -> bitsValue -> marginNumber
|
|
27520
27904
|
enter_marginNumber(node, route) {
|
|
27521
27905
|
return this.standardHandler(node, route, NodeType.bitsValue, { array: true });
|
|
@@ -27802,6 +28186,18 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
27802
28186
|
enter_imagePlaceholder(node, route) {
|
|
27803
28187
|
return this.standardHandler(node, route, NodeType.bitsValue, { array: false });
|
|
27804
28188
|
}
|
|
28189
|
+
// bitmarkAst -> bits -> bitsValue -> platformIcon
|
|
28190
|
+
enter_platformIcon(node, route) {
|
|
28191
|
+
return this.standardHandler(node, route, NodeType.bitsValue, { array: false });
|
|
28192
|
+
}
|
|
28193
|
+
// bitmarkAst -> bits -> bitsValue -> platformLogo
|
|
28194
|
+
enter_platformLogo(node, route) {
|
|
28195
|
+
return this.standardHandler(node, route, NodeType.bitsValue, { array: false });
|
|
28196
|
+
}
|
|
28197
|
+
// bitmarkAst -> bits -> bitsValue -> platformBackgroundImage
|
|
28198
|
+
enter_platformBackgroundImage(node, route) {
|
|
28199
|
+
return this.standardHandler(node, route, NodeType.bitsValue, { array: false });
|
|
28200
|
+
}
|
|
27805
28201
|
// bitmarkAst -> bits -> bitsValue -> resources
|
|
27806
28202
|
enter_resources(node, route) {
|
|
27807
28203
|
const resources = node.value;
|
|
@@ -28238,7 +28634,6 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
28238
28634
|
delete bitJson.item;
|
|
28239
28635
|
delete bitJson.lead;
|
|
28240
28636
|
delete bitJson.pageNumber;
|
|
28241
|
-
delete bitJson.sourcePageNumber;
|
|
28242
28637
|
delete bitJson.marginNumber;
|
|
28243
28638
|
delete bitJson.hint;
|
|
28244
28639
|
delete bitJson.instruction;
|
|
@@ -28250,8 +28645,6 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
28250
28645
|
if (bitJson.lead == null || bitJson.lead?.length === 0) delete bitJson.lead;
|
|
28251
28646
|
if (bitJson.pageNumber == null || bitJson.pageNumber?.length === 0)
|
|
28252
28647
|
delete bitJson.pageNumber;
|
|
28253
|
-
if (bitJson.sourcePageNumber == null || bitJson.sourcePageNumber?.length === 0)
|
|
28254
|
-
delete bitJson.sourcePageNumber;
|
|
28255
28648
|
if (bitJson.marginNumber == null || bitJson.marginNumber?.length === 0)
|
|
28256
28649
|
delete bitJson.marginNumber;
|
|
28257
28650
|
if (bitJson.hint == null || bitJson.hint?.length === 0) delete bitJson.hint;
|
|
@@ -28263,7 +28656,6 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
28263
28656
|
if (bitJson.hint == null) bitJson.hint = this.textDefault;
|
|
28264
28657
|
if (bitJson.instruction == null) bitJson.instruction = this.textDefault;
|
|
28265
28658
|
if (bitJson.pageNumber == null) bitJson.pageNumber = this.textDefault;
|
|
28266
|
-
if (bitJson.sourcePageNumber == null) bitJson.sourcePageNumber = this.textDefault;
|
|
28267
28659
|
if (bitJson.marginNumber == null) bitJson.marginNumber = this.textDefault;
|
|
28268
28660
|
}
|
|
28269
28661
|
if (bitJson.body == null) bitJson.body = this.bodyDefault;
|
|
@@ -29718,7 +30110,7 @@ var BitmarkPegParserValidator = class {
|
|
|
29718
30110
|
let tagData = validTypeKeys.get(validTypeKey);
|
|
29719
30111
|
if (!tagData && typeKey === TypeKey.Property) {
|
|
29720
30112
|
const resourceKey = key.replace(/^@/, "&");
|
|
29721
|
-
if (resourceKey === ConfigKey.resource_backgroundWallpaper || resourceKey === ConfigKey.resource_imagePlaceholder) {
|
|
30113
|
+
if (resourceKey === ConfigKey.resource_backgroundWallpaper || resourceKey === ConfigKey.resource_imagePlaceholder || resourceKey === ConfigKey.resource_platformIcon || resourceKey === ConfigKey.resource_platformLogo || resourceKey === ConfigKey.resource_platformBackgroundImage) {
|
|
29722
30114
|
tagData = validTypeKeys.get(resourceKey);
|
|
29723
30115
|
if (tagData) {
|
|
29724
30116
|
typeKey = TypeKey.Resource;
|
|
@@ -31995,7 +32387,7 @@ function resourceContentProcessor(context, _contentDepth, tagsConfig, content, t
|
|
|
31995
32387
|
...tags2
|
|
31996
32388
|
});
|
|
31997
32389
|
if (resource) {
|
|
31998
|
-
if (configKey === ConfigKey.resource_backgroundWallpaper || configKey === ConfigKey.resource_imagePlaceholder) {
|
|
32390
|
+
if (configKey === ConfigKey.resource_backgroundWallpaper || configKey === ConfigKey.resource_imagePlaceholder || configKey === ConfigKey.resource_platformIcon || configKey === ConfigKey.resource_platformLogo || configKey === ConfigKey.resource_platformBackgroundImage) {
|
|
31999
32391
|
if (target.propertyStyleResources) target.propertyStyleResources[resourceType] = resource;
|
|
32000
32392
|
} else {
|
|
32001
32393
|
resources.push(resource);
|
|
@@ -32703,8 +33095,7 @@ var BitmarkPegParserProcessor = class {
|
|
|
32703
33095
|
if (l > 0) result.item = result.itemLead[0];
|
|
32704
33096
|
if (l > 1) result.lead = result.itemLead[1];
|
|
32705
33097
|
if (l > 2) result.pageNumber = result.itemLead[2];
|
|
32706
|
-
if (l > 3) result.
|
|
32707
|
-
if (l > 4) result.marginNumber = result.itemLead[l - 1];
|
|
33098
|
+
if (l > 3) result.marginNumber = result.itemLead[l - 1];
|
|
32708
33099
|
}
|
|
32709
33100
|
if (inBit) {
|
|
32710
33101
|
result.body = instance11.process(
|