@gmb/bitmark-parser-generator 4.19.0 → 4.20.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 +33 -1
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +33 -3
- package/dist/browser/esm/index.d.ts +33 -3
- package/dist/browser/esm/index.js +31 -1
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +33 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -3
- package/dist/index.d.ts +33 -3
- package/dist/index.js +31 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -57,6 +57,8 @@ __export(index_exports, {
|
|
|
57
57
|
ResourceBuilder: () => ResourceBuilder,
|
|
58
58
|
StreamWriter: () => StreamWriter,
|
|
59
59
|
StringWriter: () => StringWriter,
|
|
60
|
+
TextMarkType: () => TextMarkType,
|
|
61
|
+
TextNodeType: () => TextNodeType,
|
|
60
62
|
bitmarkTextParse: () => parse
|
|
61
63
|
});
|
|
62
64
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -452,6 +454,7 @@ var BitType = (0, import_superenum.superenum)({
|
|
|
452
454
|
multipleResponse: "multiple-response",
|
|
453
455
|
multipleResponse1: "multiple-response-1",
|
|
454
456
|
newspaperArticle: "newspaper-article",
|
|
457
|
+
nonProductionPrototypeIframe: "non-production-prototype-iframe",
|
|
455
458
|
note: "note",
|
|
456
459
|
noteAi: "note-ai",
|
|
457
460
|
noteAlt: "note-alt",
|
|
@@ -1280,6 +1283,8 @@ var propertyKeys = {
|
|
|
1280
1283
|
property_icon: "@icon",
|
|
1281
1284
|
property_iconTag: "@iconTag",
|
|
1282
1285
|
property_id: "@id",
|
|
1286
|
+
property_iframeSrc: "@iframeSrc",
|
|
1287
|
+
property_iframeName: "@iframeName",
|
|
1283
1288
|
property_imageFirst: "@imageFirst",
|
|
1284
1289
|
property_imageSource: "@imageSource",
|
|
1285
1290
|
property_index: "@index",
|
|
@@ -9901,6 +9906,22 @@ var BITS = {
|
|
|
9901
9906
|
}
|
|
9902
9907
|
],
|
|
9903
9908
|
resourceAttachmentAllowed: false
|
|
9909
|
+
},
|
|
9910
|
+
[BitType.nonProductionPrototypeIframe]: {
|
|
9911
|
+
since: "4.20.0",
|
|
9912
|
+
baseBitType: BitType._standard,
|
|
9913
|
+
description: "A non-production prototype iframe bit, used to embed prototype iframes",
|
|
9914
|
+
tags: [
|
|
9915
|
+
{
|
|
9916
|
+
key: ConfigKey.property_iframeSrc,
|
|
9917
|
+
description: "Iframe source URL, used to define the source of the iframe"
|
|
9918
|
+
},
|
|
9919
|
+
{
|
|
9920
|
+
key: ConfigKey.property_iframeName,
|
|
9921
|
+
description: "Iframe name, used to define the name of the iframe",
|
|
9922
|
+
minCount: 1
|
|
9923
|
+
}
|
|
9924
|
+
]
|
|
9904
9925
|
}
|
|
9905
9926
|
};
|
|
9906
9927
|
|
|
@@ -10243,7 +10264,7 @@ var instance2 = new Config();
|
|
|
10243
10264
|
// src/generated/package_info.ts
|
|
10244
10265
|
var PACKAGE_INFO = {
|
|
10245
10266
|
"name": "@gmb/bitmark-parser-generator",
|
|
10246
|
-
"version": "4.
|
|
10267
|
+
"version": "4.20.0",
|
|
10247
10268
|
"author": "Get More Brain Ltd",
|
|
10248
10269
|
"license": "ISC",
|
|
10249
10270
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -10837,6 +10858,8 @@ var NodeType = (0, import_superenum20.superenum)({
|
|
|
10837
10858
|
iconValue: "iconValue",
|
|
10838
10859
|
id: "id",
|
|
10839
10860
|
idValue: "idValue",
|
|
10861
|
+
iframeSrc: "iframeSrc",
|
|
10862
|
+
iframeName: "iframeName",
|
|
10840
10863
|
image: "image",
|
|
10841
10864
|
imageFirst: "imageFirst",
|
|
10842
10865
|
imageFirstValue: "imageFirstValue",
|
|
@@ -23826,6 +23849,13 @@ var Builder = class extends BaseBuilder {
|
|
|
23826
23849
|
data.releaseDate,
|
|
23827
23850
|
options
|
|
23828
23851
|
),
|
|
23852
|
+
iframeSrc: this.toAstProperty(bitType, ConfigKey.property_iframeSrc, data.iframeSrc, options),
|
|
23853
|
+
iframeName: this.toAstProperty(
|
|
23854
|
+
bitType,
|
|
23855
|
+
ConfigKey.property_iframeName,
|
|
23856
|
+
data.iframeName,
|
|
23857
|
+
options
|
|
23858
|
+
),
|
|
23829
23859
|
book: this.buildBooks(context, data.book),
|
|
23830
23860
|
ageRange: this.toAstProperty(bitType, ConfigKey.property_ageRange, data.ageRange, options),
|
|
23831
23861
|
lang: this.toAstProperty(bitType, ConfigKey.property_lang, data.lang, options),
|
|
@@ -39600,6 +39630,8 @@ init();
|
|
|
39600
39630
|
ResourceBuilder,
|
|
39601
39631
|
StreamWriter,
|
|
39602
39632
|
StringWriter,
|
|
39633
|
+
TextMarkType,
|
|
39634
|
+
TextNodeType,
|
|
39603
39635
|
bitmarkTextParse
|
|
39604
39636
|
});
|
|
39605
39637
|
//# sourceMappingURL=index.cjs.map
|