@jxsuite/parser 1.5.0 → 1.5.2
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/content-loader.js +17 -15
- package/dist/content.js +12 -10
- package/dist/csv.js +10 -8
- package/dist/markdown.js +152 -150
- package/dist/serialize.js +138 -136
- package/package.json +5 -5
package/dist/content-loader.js
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -663,14 +665,14 @@ class Content {
|
|
|
663
665
|
}
|
|
664
666
|
}
|
|
665
667
|
export {
|
|
666
|
-
|
|
667
|
-
resolveContentTypeRefs,
|
|
668
|
-
localesForExpansion,
|
|
669
|
-
localeSource,
|
|
670
|
-
loadContentSection,
|
|
671
|
-
loadContentConfig,
|
|
672
|
-
getContentTypeElements,
|
|
673
|
-
contentAssetMounts,
|
|
668
|
+
Content,
|
|
674
669
|
LOCALE_PLACEHOLDER,
|
|
675
|
-
|
|
670
|
+
contentAssetMounts,
|
|
671
|
+
getContentTypeElements,
|
|
672
|
+
loadContentConfig,
|
|
673
|
+
loadContentSection,
|
|
674
|
+
localeSource,
|
|
675
|
+
localesForExpansion,
|
|
676
|
+
resolveContentTypeRefs,
|
|
677
|
+
rewriteEntryAssets
|
|
676
678
|
};
|
package/dist/content.js
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -281,9 +283,9 @@ class ContentEntry {
|
|
|
281
283
|
}
|
|
282
284
|
}
|
|
283
285
|
export {
|
|
284
|
-
|
|
285
|
-
findEntry,
|
|
286
|
-
evaluateFilterRule,
|
|
286
|
+
ContentCollection,
|
|
287
287
|
ContentEntry,
|
|
288
|
-
|
|
288
|
+
evaluateFilterRule,
|
|
289
|
+
findEntry,
|
|
290
|
+
queryContentType
|
|
289
291
|
};
|
package/dist/csv.js
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -187,7 +189,7 @@ class Csv {
|
|
|
187
189
|
}
|
|
188
190
|
}
|
|
189
191
|
export {
|
|
190
|
-
|
|
192
|
+
Csv,
|
|
191
193
|
coerceCSVRows,
|
|
192
|
-
|
|
194
|
+
parseCSV
|
|
193
195
|
};
|