@manuscripts/transform 2.3.29 → 2.3.31-LEAN-3960.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/cjs/schema/index.js +2 -0
- package/dist/cjs/transformer/decode.js +1 -4
- package/dist/cjs/version.js +1 -1
- package/dist/es/schema/index.js +2 -0
- package/dist/es/transformer/decode.js +1 -4
- package/dist/es/version.js +1 -1
- package/dist/types/lib/table-cell-styles.d.ts +1 -1
- package/dist/types/schema/index.d.ts +2 -0
- package/dist/types/schema/nodes/contributors.d.ts +8 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
package/dist/cjs/schema/index.js
CHANGED
|
@@ -120,7 +120,9 @@ __exportStar(require("./nodes/footnotes_section"), exports);
|
|
|
120
120
|
__exportStar(require("./nodes/graphical_abstract_section"), exports);
|
|
121
121
|
__exportStar(require("./nodes/hard_break"), exports);
|
|
122
122
|
__exportStar(require("./nodes/highlight_marker"), exports);
|
|
123
|
+
__exportStar(require("./nodes/inline_equation"), exports);
|
|
123
124
|
__exportStar(require("./nodes/inline_footnote"), exports);
|
|
125
|
+
__exportStar(require("./nodes/keyword_group"), exports);
|
|
124
126
|
__exportStar(require("./nodes/keyword"), exports);
|
|
125
127
|
__exportStar(require("./nodes/keywords_element"), exports);
|
|
126
128
|
__exportStar(require("./nodes/keywords"), exports);
|
|
@@ -525,10 +525,7 @@ class Decoder {
|
|
|
525
525
|
}
|
|
526
526
|
return schema_1.schema.nodes.author_notes.createAndFill({
|
|
527
527
|
id: model._id,
|
|
528
|
-
}, [
|
|
529
|
-
schema_1.schema.nodes.section_title.create({}, schema_1.schema.text('Correspondence')),
|
|
530
|
-
...content,
|
|
531
|
-
]);
|
|
528
|
+
}, [...content]);
|
|
532
529
|
},
|
|
533
530
|
[json_schema_1.ObjectTypes.Corresponding]: (data) => {
|
|
534
531
|
const model = data;
|
package/dist/cjs/version.js
CHANGED
package/dist/es/schema/index.js
CHANGED
|
@@ -103,7 +103,9 @@ export * from './nodes/footnotes_section';
|
|
|
103
103
|
export * from './nodes/graphical_abstract_section';
|
|
104
104
|
export * from './nodes/hard_break';
|
|
105
105
|
export * from './nodes/highlight_marker';
|
|
106
|
+
export * from './nodes/inline_equation';
|
|
106
107
|
export * from './nodes/inline_footnote';
|
|
108
|
+
export * from './nodes/keyword_group';
|
|
107
109
|
export * from './nodes/keyword';
|
|
108
110
|
export * from './nodes/keywords_element';
|
|
109
111
|
export * from './nodes/keywords';
|
|
@@ -516,10 +516,7 @@ export class Decoder {
|
|
|
516
516
|
}
|
|
517
517
|
return schema.nodes.author_notes.createAndFill({
|
|
518
518
|
id: model._id,
|
|
519
|
-
}, [
|
|
520
|
-
schema.nodes.section_title.create({}, schema.text('Correspondence')),
|
|
521
|
-
...content,
|
|
522
|
-
]);
|
|
519
|
+
}, [...content]);
|
|
523
520
|
},
|
|
524
521
|
[ObjectTypes.Corresponding]: (data) => {
|
|
525
522
|
const model = data;
|
package/dist/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "2.3.
|
|
1
|
+
export const VERSION = "2.3.31-LEAN-3960.0";
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
export declare const TABLE_CELL_STYLES: readonly ["backgroundColor", "border-top", "border-right", "border-bottom", "border-left", "verticalAlign", "textAlign"];
|
|
17
|
-
export type TableCellStyleKey =
|
|
17
|
+
export type TableCellStyleKey = typeof TABLE_CELL_STYLES[number];
|
|
18
18
|
export declare const serializeTableCellStyles: (styles: {
|
|
19
19
|
backgroundColor?: string | null | undefined;
|
|
20
20
|
"border-top"?: string | null | undefined;
|
|
@@ -41,7 +41,9 @@ export * from './nodes/footnotes_section';
|
|
|
41
41
|
export * from './nodes/graphical_abstract_section';
|
|
42
42
|
export * from './nodes/hard_break';
|
|
43
43
|
export * from './nodes/highlight_marker';
|
|
44
|
+
export * from './nodes/inline_equation';
|
|
44
45
|
export * from './nodes/inline_footnote';
|
|
46
|
+
export * from './nodes/keyword_group';
|
|
45
47
|
export * from './nodes/keyword';
|
|
46
48
|
export * from './nodes/keywords_element';
|
|
47
49
|
export * from './nodes/keywords';
|
|
@@ -14,4 +14,12 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
18
|
+
interface Attrs {
|
|
19
|
+
id: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ContributorsNode extends ManuscriptNode {
|
|
22
|
+
attrs: Attrs;
|
|
23
|
+
}
|
|
17
24
|
export declare const contributors: NodeSpec;
|
|
25
|
+
export {};
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.3.
|
|
1
|
+
export declare const VERSION = "2.3.31-LEAN-3960.0";
|
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": "2.3.
|
|
4
|
+
"version": "2.3.31-LEAN-3960.0",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-transform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -82,4 +82,4 @@
|
|
|
82
82
|
"rimraf": "^3.0.2",
|
|
83
83
|
"typescript": "^4.0.5"
|
|
84
84
|
}
|
|
85
|
-
}
|
|
85
|
+
}
|