@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/cli/main.js CHANGED
@@ -294,6 +294,7 @@ var BitType = {
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",
@@ -10147,6 +10148,20 @@ var BITS = {
10147
10148
  baseBitType: BitType._standard,
10148
10149
  description: "Hand in scan bit, used to create scan submission sections in articles or books"
10149
10150
  },
10151
+ [BitType.handInSystemMedia]: {
10152
+ //
10153
+ since: "1.5.15",
10154
+ baseBitType: BitType._standard,
10155
+ description: "Hand in system media bit, used to create system media submission sections in articles or books",
10156
+ tags: [
10157
+ {
10158
+ key: ConfigKey.property_handInAcceptFileType,
10159
+ description: "Accepted file types for the hand-in system media, used to define allowed file formats",
10160
+ format: TagFormat.plainText,
10161
+ maxCount: Count.infinity
10162
+ }
10163
+ ]
10164
+ },
10150
10165
  [BitType.handInSubmit]: {
10151
10166
  //
10152
10167
  since: "3.2.0",
@@ -10876,7 +10891,7 @@ var instance2 = new Config();
10876
10891
  // src/generated/package_info.ts
10877
10892
  var PACKAGE_INFO = {
10878
10893
  "name": "@gmb/bitmark-parser-generator",
10879
- "version": "5.16.0",
10894
+ "version": "5.18.0",
10880
10895
  "license": "ISC"};
10881
10896
  var Environment = {
10882
10897
  unknown: "",
@@ -11107,6 +11122,16 @@ var TextMarkType = {
11107
11122
  light: "light",
11108
11123
  italic: "italic",
11109
11124
  highlight: "highlight",
11125
+ highlightOrange: "highlightOrange",
11126
+ highlightYellow: "highlightYellow",
11127
+ highlightGreen: "highlightGreen",
11128
+ highlightBlue: "highlightBlue",
11129
+ highlightPurple: "highlightPurple",
11130
+ highlightPink: "highlightPink",
11131
+ highlightBrown: "highlightBrown",
11132
+ highlightBlack: "highlightBlack",
11133
+ highlightWhite: "highlightWhite",
11134
+ highlightGray: "highlightGray",
11110
11135
  // Inline only styles
11111
11136
  strike: "strike",
11112
11137
  subscript: "subscript",
@@ -12601,6 +12626,16 @@ var STANDARD_MARK_TYPES = [
12601
12626
  TextMarkType.highlight
12602
12627
  ];
12603
12628
  var INLINE_MARK_TYPES = [
12629
+ TextMarkType.highlightOrange,
12630
+ TextMarkType.highlightYellow,
12631
+ TextMarkType.highlightGreen,
12632
+ TextMarkType.highlightBlue,
12633
+ TextMarkType.highlightPurple,
12634
+ TextMarkType.highlightPink,
12635
+ TextMarkType.highlightBrown,
12636
+ TextMarkType.highlightBlack,
12637
+ TextMarkType.highlightWhite,
12638
+ TextMarkType.highlightGray,
12604
12639
  TextMarkType.strike,
12605
12640
  TextMarkType.subscript,
12606
12641
  TextMarkType.superscript,
@@ -31040,7 +31075,7 @@ var JsonGenerator = class extends AstWalkerGenerator {
31040
31075
  if (bitJson.buttonCaption == null) bitJson.buttonCaption = "";
31041
31076
  if (bitJson.callToActionUrl == null) bitJson.callToActionUrl = "";
31042
31077
  }
31043
- if (instance2.isOfBitType(bitType, BitType.handInFile)) {
31078
+ if (instance2.isOfBitType(bitType, [BitType.handInFile, BitType.handInSystemMedia])) {
31044
31079
  if (bitJson.handInAcceptFileType == null) bitJson.handInAcceptFileType = [];
31045
31080
  }
31046
31081
  if (instance2.isOfBitType(bitType, BitType.handInSubmit)) {