@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.
@@ -342,6 +342,7 @@ var BitType2 = {
342
342
  handInPhoto: "hand-in-photo",
343
343
  handInScan: "hand-in-scan",
344
344
  handInSubmit: "hand-in-submit",
345
+ handInSystemMedia: "hand-in-system-media",
345
346
  handInVideo: "hand-in-video",
346
347
  handInVoice: "hand-in-voice",
347
348
  help: "help",
@@ -10239,6 +10240,20 @@ var BITS = {
10239
10240
  baseBitType: BitType2._standard,
10240
10241
  description: "Hand in scan bit, used to create scan submission sections in articles or books"
10241
10242
  },
10243
+ [BitType2.handInSystemMedia]: {
10244
+ //
10245
+ since: "1.5.15",
10246
+ baseBitType: BitType2._standard,
10247
+ description: "Hand in system media bit, used to create system media submission sections in articles or books",
10248
+ tags: [
10249
+ {
10250
+ key: ConfigKey.property_handInAcceptFileType,
10251
+ description: "Accepted file types for the hand-in system media, used to define allowed file formats",
10252
+ format: TagFormat.plainText,
10253
+ maxCount: Count.infinity
10254
+ }
10255
+ ]
10256
+ },
10242
10257
  [BitType2.handInSubmit]: {
10243
10258
  //
10244
10259
  since: "3.2.0",
@@ -10968,7 +10983,7 @@ var instance2 = new Config();
10968
10983
  // src/generated/package_info.ts
10969
10984
  var PACKAGE_INFO = {
10970
10985
  "name": "@gmb/bitmark-parser-generator",
10971
- "version": "5.16.0",
10986
+ "version": "5.18.0",
10972
10987
  "author": "Get More Brain Ltd",
10973
10988
  "license": "ISC",
10974
10989
  "description": "A bitmark parser and generator using Peggy.js"
@@ -11225,6 +11240,16 @@ var TextMarkType = {
11225
11240
  light: "light",
11226
11241
  italic: "italic",
11227
11242
  highlight: "highlight",
11243
+ highlightOrange: "highlightOrange",
11244
+ highlightYellow: "highlightYellow",
11245
+ highlightGreen: "highlightGreen",
11246
+ highlightBlue: "highlightBlue",
11247
+ highlightPurple: "highlightPurple",
11248
+ highlightPink: "highlightPink",
11249
+ highlightBrown: "highlightBrown",
11250
+ highlightBlack: "highlightBlack",
11251
+ highlightWhite: "highlightWhite",
11252
+ highlightGray: "highlightGray",
11228
11253
  // Inline only styles
11229
11254
  strike: "strike",
11230
11255
  subscript: "subscript",
@@ -12749,6 +12774,16 @@ var STANDARD_MARK_TYPES = [
12749
12774
  TextMarkType.highlight
12750
12775
  ];
12751
12776
  var INLINE_MARK_TYPES = [
12777
+ TextMarkType.highlightOrange,
12778
+ TextMarkType.highlightYellow,
12779
+ TextMarkType.highlightGreen,
12780
+ TextMarkType.highlightBlue,
12781
+ TextMarkType.highlightPurple,
12782
+ TextMarkType.highlightPink,
12783
+ TextMarkType.highlightBrown,
12784
+ TextMarkType.highlightBlack,
12785
+ TextMarkType.highlightWhite,
12786
+ TextMarkType.highlightGray,
12752
12787
  TextMarkType.strike,
12753
12788
  TextMarkType.subscript,
12754
12789
  TextMarkType.superscript,
@@ -31373,7 +31408,7 @@ var JsonGenerator = class extends AstWalkerGenerator {
31373
31408
  if (bitJson.buttonCaption == null) bitJson.buttonCaption = "";
31374
31409
  if (bitJson.callToActionUrl == null) bitJson.callToActionUrl = "";
31375
31410
  }
31376
- if (instance2.isOfBitType(bitType, BitType2.handInFile)) {
31411
+ if (instance2.isOfBitType(bitType, [BitType2.handInFile, BitType2.handInSystemMedia])) {
31377
31412
  if (bitJson.handInAcceptFileType == null) bitJson.handInAcceptFileType = [];
31378
31413
  }
31379
31414
  if (instance2.isOfBitType(bitType, BitType2.handInSubmit)) {