@gmb/bitmark-parser-generator 5.16.0 → 5.18.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 +84 -29
- package/dist/browser/cjs/index.cjs +37 -2
- 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 +37 -2
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +37 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +37 -2
- 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 +37 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -285,6 +285,7 @@ declare const BitType: {
|
|
|
285
285
|
readonly handInPhoto: "hand-in-photo";
|
|
286
286
|
readonly handInScan: "hand-in-scan";
|
|
287
287
|
readonly handInSubmit: "hand-in-submit";
|
|
288
|
+
readonly handInSystemMedia: "hand-in-system-media";
|
|
288
289
|
readonly handInVideo: "hand-in-video";
|
|
289
290
|
readonly handInVoice: "hand-in-voice";
|
|
290
291
|
readonly help: "help";
|
|
@@ -1099,6 +1100,16 @@ declare const TextMarkType: {
|
|
|
1099
1100
|
readonly light: "light";
|
|
1100
1101
|
readonly italic: "italic";
|
|
1101
1102
|
readonly highlight: "highlight";
|
|
1103
|
+
readonly highlightOrange: "highlightOrange";
|
|
1104
|
+
readonly highlightYellow: "highlightYellow";
|
|
1105
|
+
readonly highlightGreen: "highlightGreen";
|
|
1106
|
+
readonly highlightBlue: "highlightBlue";
|
|
1107
|
+
readonly highlightPurple: "highlightPurple";
|
|
1108
|
+
readonly highlightPink: "highlightPink";
|
|
1109
|
+
readonly highlightBrown: "highlightBrown";
|
|
1110
|
+
readonly highlightBlack: "highlightBlack";
|
|
1111
|
+
readonly highlightWhite: "highlightWhite";
|
|
1112
|
+
readonly highlightGray: "highlightGray";
|
|
1102
1113
|
readonly strike: "strike";
|
|
1103
1114
|
readonly subscript: "subscript";
|
|
1104
1115
|
readonly superscript: "superscript";
|
|
@@ -285,6 +285,7 @@ declare const BitType: {
|
|
|
285
285
|
readonly handInPhoto: "hand-in-photo";
|
|
286
286
|
readonly handInScan: "hand-in-scan";
|
|
287
287
|
readonly handInSubmit: "hand-in-submit";
|
|
288
|
+
readonly handInSystemMedia: "hand-in-system-media";
|
|
288
289
|
readonly handInVideo: "hand-in-video";
|
|
289
290
|
readonly handInVoice: "hand-in-voice";
|
|
290
291
|
readonly help: "help";
|
|
@@ -1099,6 +1100,16 @@ declare const TextMarkType: {
|
|
|
1099
1100
|
readonly light: "light";
|
|
1100
1101
|
readonly italic: "italic";
|
|
1101
1102
|
readonly highlight: "highlight";
|
|
1103
|
+
readonly highlightOrange: "highlightOrange";
|
|
1104
|
+
readonly highlightYellow: "highlightYellow";
|
|
1105
|
+
readonly highlightGreen: "highlightGreen";
|
|
1106
|
+
readonly highlightBlue: "highlightBlue";
|
|
1107
|
+
readonly highlightPurple: "highlightPurple";
|
|
1108
|
+
readonly highlightPink: "highlightPink";
|
|
1109
|
+
readonly highlightBrown: "highlightBrown";
|
|
1110
|
+
readonly highlightBlack: "highlightBlack";
|
|
1111
|
+
readonly highlightWhite: "highlightWhite";
|
|
1112
|
+
readonly highlightGray: "highlightGray";
|
|
1102
1113
|
readonly strike: "strike";
|
|
1103
1114
|
readonly subscript: "subscript";
|
|
1104
1115
|
readonly superscript: "superscript";
|
|
@@ -294,6 +294,7 @@ var BitType2 = {
|
|
|
294
294
|
handInPhoto: "hand-in-photo",
|
|
295
295
|
handInScan: "hand-in-scan",
|
|
296
296
|
handInSubmit: "hand-in-submit",
|
|
297
|
+
handInSystemMedia: "hand-in-system-media",
|
|
297
298
|
handInVideo: "hand-in-video",
|
|
298
299
|
handInVoice: "hand-in-voice",
|
|
299
300
|
help: "help",
|
|
@@ -10191,6 +10192,20 @@ var BITS = {
|
|
|
10191
10192
|
baseBitType: BitType2._standard,
|
|
10192
10193
|
description: "Hand in scan bit, used to create scan submission sections in articles or books"
|
|
10193
10194
|
},
|
|
10195
|
+
[BitType2.handInSystemMedia]: {
|
|
10196
|
+
//
|
|
10197
|
+
since: "1.5.15",
|
|
10198
|
+
baseBitType: BitType2._standard,
|
|
10199
|
+
description: "Hand in system media bit, used to create system media submission sections in articles or books",
|
|
10200
|
+
tags: [
|
|
10201
|
+
{
|
|
10202
|
+
key: ConfigKey.property_handInAcceptFileType,
|
|
10203
|
+
description: "Accepted file types for the hand-in system media, used to define allowed file formats",
|
|
10204
|
+
format: TagFormat.plainText,
|
|
10205
|
+
maxCount: Count.infinity
|
|
10206
|
+
}
|
|
10207
|
+
]
|
|
10208
|
+
},
|
|
10194
10209
|
[BitType2.handInSubmit]: {
|
|
10195
10210
|
//
|
|
10196
10211
|
since: "3.2.0",
|
|
@@ -10920,7 +10935,7 @@ var instance2 = new Config();
|
|
|
10920
10935
|
// src/generated/package_info.ts
|
|
10921
10936
|
var PACKAGE_INFO = {
|
|
10922
10937
|
"name": "@gmb/bitmark-parser-generator",
|
|
10923
|
-
"version": "5.
|
|
10938
|
+
"version": "5.18.0",
|
|
10924
10939
|
"author": "Get More Brain Ltd",
|
|
10925
10940
|
"license": "ISC",
|
|
10926
10941
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -11177,6 +11192,16 @@ var TextMarkType = {
|
|
|
11177
11192
|
light: "light",
|
|
11178
11193
|
italic: "italic",
|
|
11179
11194
|
highlight: "highlight",
|
|
11195
|
+
highlightOrange: "highlightOrange",
|
|
11196
|
+
highlightYellow: "highlightYellow",
|
|
11197
|
+
highlightGreen: "highlightGreen",
|
|
11198
|
+
highlightBlue: "highlightBlue",
|
|
11199
|
+
highlightPurple: "highlightPurple",
|
|
11200
|
+
highlightPink: "highlightPink",
|
|
11201
|
+
highlightBrown: "highlightBrown",
|
|
11202
|
+
highlightBlack: "highlightBlack",
|
|
11203
|
+
highlightWhite: "highlightWhite",
|
|
11204
|
+
highlightGray: "highlightGray",
|
|
11180
11205
|
// Inline only styles
|
|
11181
11206
|
strike: "strike",
|
|
11182
11207
|
subscript: "subscript",
|
|
@@ -12701,6 +12726,16 @@ var STANDARD_MARK_TYPES = [
|
|
|
12701
12726
|
TextMarkType.highlight
|
|
12702
12727
|
];
|
|
12703
12728
|
var INLINE_MARK_TYPES = [
|
|
12729
|
+
TextMarkType.highlightOrange,
|
|
12730
|
+
TextMarkType.highlightYellow,
|
|
12731
|
+
TextMarkType.highlightGreen,
|
|
12732
|
+
TextMarkType.highlightBlue,
|
|
12733
|
+
TextMarkType.highlightPurple,
|
|
12734
|
+
TextMarkType.highlightPink,
|
|
12735
|
+
TextMarkType.highlightBrown,
|
|
12736
|
+
TextMarkType.highlightBlack,
|
|
12737
|
+
TextMarkType.highlightWhite,
|
|
12738
|
+
TextMarkType.highlightGray,
|
|
12704
12739
|
TextMarkType.strike,
|
|
12705
12740
|
TextMarkType.subscript,
|
|
12706
12741
|
TextMarkType.superscript,
|
|
@@ -31325,7 +31360,7 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
31325
31360
|
if (bitJson.buttonCaption == null) bitJson.buttonCaption = "";
|
|
31326
31361
|
if (bitJson.callToActionUrl == null) bitJson.callToActionUrl = "";
|
|
31327
31362
|
}
|
|
31328
|
-
if (instance2.isOfBitType(bitType, BitType2.handInFile)) {
|
|
31363
|
+
if (instance2.isOfBitType(bitType, [BitType2.handInFile, BitType2.handInSystemMedia])) {
|
|
31329
31364
|
if (bitJson.handInAcceptFileType == null) bitJson.handInAcceptFileType = [];
|
|
31330
31365
|
}
|
|
31331
31366
|
if (instance2.isOfBitType(bitType, BitType2.handInSubmit)) {
|