@gmb/bitmark-parser-generator 5.5.0 → 5.7.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 +27 -1
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +12 -0
- package/dist/browser/esm/index.d.ts +12 -0
- package/dist/browser/esm/index.js +27 -1
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +27 -1
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +27 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +27 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/main.js
CHANGED
|
@@ -1103,6 +1103,7 @@ var propertyKeys = {
|
|
|
1103
1103
|
property_ageRange: "@ageRange",
|
|
1104
1104
|
property_aiGenerated: "@aiGenerated",
|
|
1105
1105
|
property_allowedBit: "@allowedBit",
|
|
1106
|
+
property_allowPrint: "@allowPrint",
|
|
1106
1107
|
property_allowSubtitles: "@allowSubtitles",
|
|
1107
1108
|
property_alt: "@alt",
|
|
1108
1109
|
property_altLangTag: "@altLangTag",
|
|
@@ -1353,6 +1354,7 @@ var propertyKeys = {
|
|
|
1353
1354
|
property_technicalTerm: "@technicalTerm",
|
|
1354
1355
|
property_textReference: "@textReference",
|
|
1355
1356
|
property_theme: "@theme",
|
|
1357
|
+
property_rtl: "@rtl",
|
|
1356
1358
|
property_thumbImage: "@thumbImage",
|
|
1357
1359
|
property_title: "@title",
|
|
1358
1360
|
property_toc: "@toc",
|
|
@@ -2828,6 +2830,12 @@ var GROUPS = {
|
|
|
2828
2830
|
format: TagFormat.plainText,
|
|
2829
2831
|
maxCount: Count.infinity
|
|
2830
2832
|
},
|
|
2833
|
+
{
|
|
2834
|
+
key: ConfigKey.property_rtl,
|
|
2835
|
+
description: "If true, the book is right-to-left",
|
|
2836
|
+
format: TagFormat.boolean,
|
|
2837
|
+
defaultValue: "false"
|
|
2838
|
+
},
|
|
2831
2839
|
{
|
|
2832
2840
|
key: ConfigKey.property_target,
|
|
2833
2841
|
description: "The target(s) for the bit",
|
|
@@ -3365,6 +3373,12 @@ var GROUPS = {
|
|
|
3365
3373
|
description: "Url of the internal print PDF for the book",
|
|
3366
3374
|
format: TagFormat.plainText
|
|
3367
3375
|
},
|
|
3376
|
+
{
|
|
3377
|
+
key: ConfigKey.property_allowPrint,
|
|
3378
|
+
description: "If true, the book allows printing",
|
|
3379
|
+
format: TagFormat.boolean,
|
|
3380
|
+
defaultValue: "false"
|
|
3381
|
+
},
|
|
3368
3382
|
{
|
|
3369
3383
|
key: ConfigKey.property_hasPrintRestriction,
|
|
3370
3384
|
description: "If true, the book has print restrictions",
|
|
@@ -10292,7 +10306,7 @@ var instance2 = new Config();
|
|
|
10292
10306
|
// src/generated/package_info.ts
|
|
10293
10307
|
var PACKAGE_INFO = {
|
|
10294
10308
|
"name": "@gmb/bitmark-parser-generator",
|
|
10295
|
-
"version": "5.
|
|
10309
|
+
"version": "5.7.0",
|
|
10296
10310
|
"license": "ISC"};
|
|
10297
10311
|
var Environment = {
|
|
10298
10312
|
unknown: "",
|
|
@@ -10621,6 +10635,8 @@ var NodeType = {
|
|
|
10621
10635
|
alignment: "alignment",
|
|
10622
10636
|
allowedBit: "allowedBit",
|
|
10623
10637
|
allowedBitValue: "allowedBitValue",
|
|
10638
|
+
allowPrint: "allowPrint",
|
|
10639
|
+
allowPrintValue: "allowPrintValue",
|
|
10624
10640
|
alt: "alt",
|
|
10625
10641
|
alternativeAnswers: "alternativeAnswers",
|
|
10626
10642
|
alternativeAnswersValue: "alternativeAnswersValue",
|
|
@@ -11243,6 +11259,8 @@ var NodeType = {
|
|
|
11243
11259
|
textsValue: "textsValue",
|
|
11244
11260
|
theme: "theme",
|
|
11245
11261
|
themeValue: "themeValue",
|
|
11262
|
+
rtl: "rtl",
|
|
11263
|
+
rtlValue: "rtlValue",
|
|
11246
11264
|
thumbImage: "thumbImage",
|
|
11247
11265
|
thumbImageValue: "thumbImageValue",
|
|
11248
11266
|
thumbnails: "thumbnails",
|
|
@@ -23961,6 +23979,7 @@ var Builder = class extends BaseBuilder {
|
|
|
23961
23979
|
options
|
|
23962
23980
|
),
|
|
23963
23981
|
theme: this.toAstProperty(bitType, ConfigKey.property_theme, data.theme, options),
|
|
23982
|
+
rtl: this.toAstProperty(bitType, ConfigKey.property_rtl, data.rtl, options),
|
|
23964
23983
|
computerLanguage: this.toAstProperty(
|
|
23965
23984
|
bitType,
|
|
23966
23985
|
ConfigKey.property_computerLanguage,
|
|
@@ -24604,6 +24623,12 @@ var Builder = class extends BaseBuilder {
|
|
|
24604
24623
|
options
|
|
24605
24624
|
),
|
|
24606
24625
|
page: this.toAstProperty(bitType, ConfigKey.property_page, data.page, options),
|
|
24626
|
+
allowPrint: this.toAstProperty(
|
|
24627
|
+
bitType,
|
|
24628
|
+
ConfigKey.property_allowPrint,
|
|
24629
|
+
data.allowPrint,
|
|
24630
|
+
options
|
|
24631
|
+
),
|
|
24607
24632
|
printParentChapterLevel: this.toAstProperty(
|
|
24608
24633
|
bitType,
|
|
24609
24634
|
ConfigKey.property_printParentChapterLevel,
|
|
@@ -30281,6 +30306,7 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
30281
30306
|
}
|
|
30282
30307
|
if (instance2.isOfBitType(bitType, BitType.book)) {
|
|
30283
30308
|
if (bitJson.maxTocChapterLevel == null) bitJson.maxTocChapterLevel = -1;
|
|
30309
|
+
if (bitJson.allowPrint == null) bitJson.allowPrint = false;
|
|
30284
30310
|
if (bitJson.hasPrintRestriction == null) bitJson.hasPrintRestriction = true;
|
|
30285
30311
|
if (bitJson.enforceUpdateOverUserInput == null) bitJson.enforceUpdateOverUserInput = false;
|
|
30286
30312
|
if (bitJson.hasMarkAsDone == null) bitJson.hasMarkAsDone = false;
|