@gmb/bitmark-parser-generator 5.17.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 +17 -2
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +1 -0
- package/dist/browser/esm/index.d.ts +1 -0
- package/dist/browser/esm/index.js +17 -2
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +17 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +17 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.
|
|
10894
|
+
"version": "5.18.0",
|
|
10880
10895
|
"license": "ISC"};
|
|
10881
10896
|
var Environment = {
|
|
10882
10897
|
unknown: "",
|
|
@@ -31060,7 +31075,7 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
31060
31075
|
if (bitJson.buttonCaption == null) bitJson.buttonCaption = "";
|
|
31061
31076
|
if (bitJson.callToActionUrl == null) bitJson.callToActionUrl = "";
|
|
31062
31077
|
}
|
|
31063
|
-
if (instance2.isOfBitType(bitType, BitType.handInFile)) {
|
|
31078
|
+
if (instance2.isOfBitType(bitType, [BitType.handInFile, BitType.handInSystemMedia])) {
|
|
31064
31079
|
if (bitJson.handInAcceptFileType == null) bitJson.handInAcceptFileType = [];
|
|
31065
31080
|
}
|
|
31066
31081
|
if (instance2.isOfBitType(bitType, BitType.handInSubmit)) {
|