@manuscripts/transform 4.3.5 → 4.3.7
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/cjs/jats/exporter/jats-exporter.js +4 -0
- package/dist/cjs/jats/importer/jats-transformations.js +1 -1
- package/dist/cjs/transformer/node-names.js +1 -0
- package/dist/cjs/version.js +1 -1
- package/dist/es/jats/exporter/jats-exporter.js +4 -0
- package/dist/es/jats/importer/jats-transformations.js +1 -1
- package/dist/es/transformer/node-names.js +1 -0
- package/dist/es/version.js +1 -1
- package/dist/types/jats/exporter/jats-exporter.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -155,6 +155,7 @@ class JATSExporter {
|
|
|
155
155
|
this.updateFootnoteTypes(front, back);
|
|
156
156
|
this.fillEmptyTableFooters(article);
|
|
157
157
|
this.fillEmptyFootnotes(article);
|
|
158
|
+
this.fillEmptyListItem(article);
|
|
158
159
|
this.moveAwards(front, body);
|
|
159
160
|
this.moveFloatsGroup(article);
|
|
160
161
|
await this.rewriteIDs();
|
|
@@ -1626,5 +1627,8 @@ class JATSExporter {
|
|
|
1626
1627
|
fillEmptyTableFooters(articleElement) {
|
|
1627
1628
|
this.fillEmptyElements(articleElement, 'table-wrap-foot');
|
|
1628
1629
|
}
|
|
1630
|
+
fillEmptyListItem(articleElement) {
|
|
1631
|
+
this.fillEmptyElements(articleElement, 'list-item');
|
|
1632
|
+
}
|
|
1629
1633
|
}
|
|
1630
1634
|
exports.JATSExporter = JATSExporter;
|
|
@@ -336,7 +336,7 @@ const createSupplementaryMaterialsSection = (document, body, createElement) => {
|
|
|
336
336
|
const section = createElement('sec');
|
|
337
337
|
section.setAttribute('sec-type', 'supplementary-material');
|
|
338
338
|
const title = createElement('title');
|
|
339
|
-
title.textContent = '
|
|
339
|
+
title.textContent = 'Supplements';
|
|
340
340
|
section.append(title);
|
|
341
341
|
section.append(...suppls);
|
|
342
342
|
body.append(section);
|
package/dist/cjs/version.js
CHANGED
|
@@ -115,6 +115,7 @@ export class JATSExporter {
|
|
|
115
115
|
this.updateFootnoteTypes(front, back);
|
|
116
116
|
this.fillEmptyTableFooters(article);
|
|
117
117
|
this.fillEmptyFootnotes(article);
|
|
118
|
+
this.fillEmptyListItem(article);
|
|
118
119
|
this.moveAwards(front, body);
|
|
119
120
|
this.moveFloatsGroup(article);
|
|
120
121
|
await this.rewriteIDs();
|
|
@@ -1586,4 +1587,7 @@ export class JATSExporter {
|
|
|
1586
1587
|
fillEmptyTableFooters(articleElement) {
|
|
1587
1588
|
this.fillEmptyElements(articleElement, 'table-wrap-foot');
|
|
1588
1589
|
}
|
|
1590
|
+
fillEmptyListItem(articleElement) {
|
|
1591
|
+
this.fillEmptyElements(articleElement, 'list-item');
|
|
1592
|
+
}
|
|
1589
1593
|
}
|
|
@@ -319,7 +319,7 @@ export const createSupplementaryMaterialsSection = (document, body, createElemen
|
|
|
319
319
|
const section = createElement('sec');
|
|
320
320
|
section.setAttribute('sec-type', 'supplementary-material');
|
|
321
321
|
const title = createElement('title');
|
|
322
|
-
title.textContent = '
|
|
322
|
+
title.textContent = 'Supplements';
|
|
323
323
|
section.append(title);
|
|
324
324
|
section.append(...suppls);
|
|
325
325
|
body.append(section);
|
package/dist/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "4.3.
|
|
1
|
+
export const VERSION = "4.3.7";
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.3.
|
|
1
|
+
export declare const VERSION = "4.3.7";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manuscripts/transform",
|
|
3
3
|
"description": "ProseMirror transformer for Manuscripts applications",
|
|
4
|
-
"version": "4.3.
|
|
4
|
+
"version": "4.3.7",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-transform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|