@manuscripts/transform 2.6.1-LEAN-3958.0 → 2.6.1-LEAN-3958.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/cjs/schema/nodes/bibliography_item.js +0 -1
- package/dist/cjs/schema/nodes/blockquote_element.js +0 -1
- package/dist/cjs/schema/nodes/contributor.js +0 -1
- package/dist/cjs/schema/nodes/cross_reference.js +0 -1
- package/dist/cjs/schema/nodes/equation_element.js +0 -1
- package/dist/cjs/schema/nodes/figure_element.js +0 -1
- package/dist/cjs/schema/nodes/footnotes_element.js +0 -2
- package/dist/cjs/schema/nodes/general_table_footnote.js +0 -1
- package/dist/cjs/schema/nodes/inline_equation.js +0 -1
- package/dist/cjs/schema/nodes/inline_footnote.js +0 -1
- package/dist/cjs/schema/nodes/list.js +0 -2
- package/dist/cjs/schema/nodes/section_title.js +0 -1
- package/dist/cjs/schema/nodes/table_element.js +0 -1
- package/dist/cjs/schema/nodes/table_element_footer.js +0 -2
- package/dist/cjs/transformer/node-names.js +18 -2
- package/dist/cjs/version.js +1 -1
- package/dist/es/schema/nodes/bibliography_item.js +0 -1
- package/dist/es/schema/nodes/blockquote_element.js +0 -1
- package/dist/es/schema/nodes/contributor.js +0 -1
- package/dist/es/schema/nodes/cross_reference.js +0 -1
- package/dist/es/schema/nodes/equation_element.js +0 -1
- package/dist/es/schema/nodes/figure_element.js +0 -1
- package/dist/es/schema/nodes/footnotes_element.js +0 -2
- package/dist/es/schema/nodes/general_table_footnote.js +0 -1
- package/dist/es/schema/nodes/inline_equation.js +0 -1
- package/dist/es/schema/nodes/inline_footnote.js +0 -1
- package/dist/es/schema/nodes/list.js +0 -2
- package/dist/es/schema/nodes/section_title.js +0 -1
- package/dist/es/schema/nodes/table_element.js +0 -1
- package/dist/es/schema/nodes/table_element_footer.js +0 -2
- package/dist/es/transformer/node-names.js +18 -2
- package/dist/es/version.js +1 -1
- package/dist/types/schema/nodes/bibliography_item.d.ts +3 -2
- package/dist/types/schema/nodes/blockquote_element.d.ts +3 -2
- package/dist/types/schema/nodes/contributor.d.ts +3 -2
- package/dist/types/schema/nodes/cross_reference.d.ts +3 -2
- package/dist/types/schema/nodes/equation_element.d.ts +3 -2
- package/dist/types/schema/nodes/figure_element.d.ts +3 -2
- package/dist/types/schema/nodes/footnotes_element.d.ts +3 -5
- package/dist/types/schema/nodes/general_table_footnote.d.ts +3 -2
- package/dist/types/schema/nodes/inline_equation.d.ts +3 -2
- package/dist/types/schema/nodes/inline_footnote.d.ts +3 -2
- package/dist/types/schema/nodes/list.d.ts +4 -3
- package/dist/types/schema/nodes/section_title.d.ts +3 -2
- package/dist/types/schema/nodes/table_element.d.ts +3 -2
- package/dist/types/schema/nodes/table_element_footer.d.ts +3 -5
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,6 @@ exports.isBlockquoteElement = exports.blockquoteElement = void 0;
|
|
|
19
19
|
const json_schema_1 = require("@manuscripts/json-schema");
|
|
20
20
|
const attributes_1 = require("../../lib/attributes");
|
|
21
21
|
exports.blockquoteElement = {
|
|
22
|
-
name: 'Blockquote',
|
|
23
22
|
content: 'paragraph+ attribution',
|
|
24
23
|
attrs: {
|
|
25
24
|
id: { default: '' },
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.isFigureElementNode = exports.figureElement = void 0;
|
|
19
19
|
exports.figureElement = {
|
|
20
|
-
name: 'Figure',
|
|
21
20
|
content: '(paragraph | figure | missing_figure | placeholder)+ attribution* figcaption (listing | placeholder)',
|
|
22
21
|
attrs: {
|
|
23
22
|
figureLayout: { default: '' },
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.isFootnotesElementNode = exports.footnotesElement = void 0;
|
|
19
19
|
exports.footnotesElement = {
|
|
20
|
-
name: 'Footnotes',
|
|
21
|
-
isWrapper: true,
|
|
22
20
|
attrs: {
|
|
23
21
|
id: { default: '' },
|
|
24
22
|
kind: { default: 'footnote' },
|
|
@@ -25,7 +25,6 @@ const getListType = (style) => {
|
|
|
25
25
|
};
|
|
26
26
|
exports.getListType = getListType;
|
|
27
27
|
exports.list = {
|
|
28
|
-
name: 'List',
|
|
29
28
|
content: 'list_item+',
|
|
30
29
|
group: 'block list element',
|
|
31
30
|
attrs: {
|
|
@@ -72,7 +71,6 @@ exports.list = {
|
|
|
72
71
|
},
|
|
73
72
|
};
|
|
74
73
|
exports.listItem = {
|
|
75
|
-
name: 'List Item',
|
|
76
74
|
content: 'paragraph? (paragraph | list)+',
|
|
77
75
|
group: 'block',
|
|
78
76
|
defining: true,
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.isSectionTitleNode = exports.sectionTitle = void 0;
|
|
19
19
|
exports.sectionTitle = {
|
|
20
|
-
name: 'Section Title',
|
|
21
20
|
content: '(text | highlight_marker)*',
|
|
22
21
|
marks: 'italic superscript subscript smallcaps bold tracked_insert tracked_delete',
|
|
23
22
|
group: 'block',
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.tableElement = void 0;
|
|
19
19
|
exports.tableElement = {
|
|
20
|
-
name: 'Table',
|
|
21
20
|
content: ' figcaption? (table | placeholder) table_colgroup? table_element_footer? (listing | placeholder)',
|
|
22
21
|
attrs: {
|
|
23
22
|
id: { default: '' },
|
|
@@ -18,21 +18,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
exports.nodeNames = void 0;
|
|
19
19
|
const schema_1 = require("../schema");
|
|
20
20
|
exports.nodeNames = new Map([
|
|
21
|
+
[schema_1.schema.nodes.title, 'Title'],
|
|
22
|
+
[schema_1.schema.nodes.contributor, 'Author'],
|
|
23
|
+
[schema_1.schema.nodes.keywords, 'Keywords'],
|
|
24
|
+
[schema_1.schema.nodes.keyword, 'Keyword'],
|
|
21
25
|
[schema_1.schema.nodes.bibliography_element, 'Bibliography'],
|
|
26
|
+
[schema_1.schema.nodes.bibliography_item, 'Reference'],
|
|
22
27
|
[schema_1.schema.nodes.bibliography_section, 'Section'],
|
|
23
28
|
[schema_1.schema.nodes.citation, 'Citation'],
|
|
24
29
|
[schema_1.schema.nodes.listing_element, 'Listing'],
|
|
25
30
|
[schema_1.schema.nodes.cross_reference, 'Cross Reference'],
|
|
26
31
|
[schema_1.schema.nodes.equation_element, 'Equation'],
|
|
27
32
|
[schema_1.schema.nodes.figure_element, 'Figure'],
|
|
33
|
+
[schema_1.schema.nodes.table_element, 'Table'],
|
|
34
|
+
[schema_1.schema.nodes.table_cell, 'Table Cell'],
|
|
35
|
+
[schema_1.schema.nodes.table_col, 'Table Column'],
|
|
36
|
+
[schema_1.schema.nodes.table_row, 'Table Row'],
|
|
37
|
+
[schema_1.schema.nodes.table_header, 'Table Header'],
|
|
38
|
+
[schema_1.schema.nodes.general_table_footnote, 'General Table note'],
|
|
39
|
+
[schema_1.schema.nodes.table_element_footer, 'Table Footer'],
|
|
40
|
+
[schema_1.schema.nodes.equation, 'Equation'],
|
|
41
|
+
[schema_1.schema.nodes.inline_equation, 'Inline Equation'],
|
|
42
|
+
[schema_1.schema.nodes.inline_footnote, 'Footnote Reference'],
|
|
28
43
|
[schema_1.schema.nodes.footnote, 'Footnote'],
|
|
29
44
|
[schema_1.schema.nodes.footnotes_element, 'Notes'],
|
|
30
45
|
[schema_1.schema.nodes.list, 'List'],
|
|
46
|
+
[schema_1.schema.nodes.list_item, 'List Item'],
|
|
31
47
|
[schema_1.schema.nodes.manuscript, 'Manuscript'],
|
|
32
48
|
[schema_1.schema.nodes.paragraph, 'Paragraph'],
|
|
33
49
|
[schema_1.schema.nodes.section, 'Section'],
|
|
34
|
-
[schema_1.schema.nodes.section_title, 'Section'],
|
|
35
|
-
[schema_1.schema.nodes.section_title_plain, 'Section'],
|
|
50
|
+
[schema_1.schema.nodes.section_title, 'Section Title'],
|
|
51
|
+
[schema_1.schema.nodes.section_title_plain, 'Section Title'],
|
|
36
52
|
[schema_1.schema.nodes.table, 'Table'],
|
|
37
53
|
[schema_1.schema.nodes.table_element, 'Table'],
|
|
38
54
|
[schema_1.schema.nodes.blockquote_element, 'Block Quote'],
|
package/dist/cjs/version.js
CHANGED
|
@@ -21,7 +21,6 @@ export const getListType = (style) => {
|
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
export const list = {
|
|
24
|
-
name: 'List',
|
|
25
24
|
content: 'list_item+',
|
|
26
25
|
group: 'block list element',
|
|
27
26
|
attrs: {
|
|
@@ -68,7 +67,6 @@ export const list = {
|
|
|
68
67
|
},
|
|
69
68
|
};
|
|
70
69
|
export const listItem = {
|
|
71
|
-
name: 'List Item',
|
|
72
70
|
content: 'paragraph? (paragraph | list)+',
|
|
73
71
|
group: 'block',
|
|
74
72
|
defining: true,
|
|
@@ -15,21 +15,37 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { schema } from '../schema';
|
|
17
17
|
export const nodeNames = new Map([
|
|
18
|
+
[schema.nodes.title, 'Title'],
|
|
19
|
+
[schema.nodes.contributor, 'Author'],
|
|
20
|
+
[schema.nodes.keywords, 'Keywords'],
|
|
21
|
+
[schema.nodes.keyword, 'Keyword'],
|
|
18
22
|
[schema.nodes.bibliography_element, 'Bibliography'],
|
|
23
|
+
[schema.nodes.bibliography_item, 'Reference'],
|
|
19
24
|
[schema.nodes.bibliography_section, 'Section'],
|
|
20
25
|
[schema.nodes.citation, 'Citation'],
|
|
21
26
|
[schema.nodes.listing_element, 'Listing'],
|
|
22
27
|
[schema.nodes.cross_reference, 'Cross Reference'],
|
|
23
28
|
[schema.nodes.equation_element, 'Equation'],
|
|
24
29
|
[schema.nodes.figure_element, 'Figure'],
|
|
30
|
+
[schema.nodes.table_element, 'Table'],
|
|
31
|
+
[schema.nodes.table_cell, 'Table Cell'],
|
|
32
|
+
[schema.nodes.table_col, 'Table Column'],
|
|
33
|
+
[schema.nodes.table_row, 'Table Row'],
|
|
34
|
+
[schema.nodes.table_header, 'Table Header'],
|
|
35
|
+
[schema.nodes.general_table_footnote, 'General Table note'],
|
|
36
|
+
[schema.nodes.table_element_footer, 'Table Footer'],
|
|
37
|
+
[schema.nodes.equation, 'Equation'],
|
|
38
|
+
[schema.nodes.inline_equation, 'Inline Equation'],
|
|
39
|
+
[schema.nodes.inline_footnote, 'Footnote Reference'],
|
|
25
40
|
[schema.nodes.footnote, 'Footnote'],
|
|
26
41
|
[schema.nodes.footnotes_element, 'Notes'],
|
|
27
42
|
[schema.nodes.list, 'List'],
|
|
43
|
+
[schema.nodes.list_item, 'List Item'],
|
|
28
44
|
[schema.nodes.manuscript, 'Manuscript'],
|
|
29
45
|
[schema.nodes.paragraph, 'Paragraph'],
|
|
30
46
|
[schema.nodes.section, 'Section'],
|
|
31
|
-
[schema.nodes.section_title, 'Section'],
|
|
32
|
-
[schema.nodes.section_title_plain, 'Section'],
|
|
47
|
+
[schema.nodes.section_title, 'Section Title'],
|
|
48
|
+
[schema.nodes.section_title_plain, 'Section Title'],
|
|
33
49
|
[schema.nodes.table, 'Table'],
|
|
34
50
|
[schema.nodes.table_element, 'Table'],
|
|
35
51
|
[schema.nodes.blockquote_element, 'Block Quote'],
|
package/dist/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "2.6.1-LEAN-3958.
|
|
1
|
+
export const VERSION = "2.6.1-LEAN-3958.2";
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { BibliographicDate, BibliographicName } from '@manuscripts/json-schema';
|
|
17
|
-
import {
|
|
17
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
18
|
+
import { ManuscriptNode } from '../types';
|
|
18
19
|
interface Attrs {
|
|
19
20
|
id: string;
|
|
20
21
|
type: string;
|
|
@@ -32,5 +33,5 @@ interface Attrs {
|
|
|
32
33
|
export interface BibliographyItemNode extends ManuscriptNode {
|
|
33
34
|
attrs: Attrs;
|
|
34
35
|
}
|
|
35
|
-
export declare const bibliographyItem:
|
|
36
|
+
export declare const bibliographyItem: NodeSpec;
|
|
36
37
|
export {};
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
id: string;
|
|
19
20
|
paragraphStyle: string;
|
|
@@ -22,6 +23,6 @@ interface Attrs {
|
|
|
22
23
|
export interface BlockquoteElementNode extends ManuscriptNode {
|
|
23
24
|
attrs: Attrs;
|
|
24
25
|
}
|
|
25
|
-
export declare const blockquoteElement:
|
|
26
|
+
export declare const blockquoteElement: NodeSpec;
|
|
26
27
|
export declare const isBlockquoteElement: (node: ManuscriptNode) => node is BlockquoteElementNode;
|
|
27
28
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BibliographicName } from '@manuscripts/json-schema';
|
|
2
|
-
import {
|
|
2
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
3
|
+
import { ManuscriptNode } from '../types';
|
|
3
4
|
interface Attrs {
|
|
4
5
|
id: string;
|
|
5
6
|
role: string;
|
|
@@ -16,6 +17,6 @@ interface Attrs {
|
|
|
16
17
|
export interface ContributorNode extends ManuscriptNode {
|
|
17
18
|
attrs: Attrs;
|
|
18
19
|
}
|
|
19
|
-
export declare const contributor:
|
|
20
|
+
export declare const contributor: NodeSpec;
|
|
20
21
|
export declare const isContributorNode: (node: ManuscriptNode) => node is ContributorNode;
|
|
21
22
|
export {};
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
rids: string[];
|
|
19
20
|
label: string;
|
|
@@ -22,5 +23,5 @@ interface Attrs {
|
|
|
22
23
|
export interface CrossReferenceNode extends ManuscriptNode {
|
|
23
24
|
attrs: Attrs;
|
|
24
25
|
}
|
|
25
|
-
export declare const crossReference:
|
|
26
|
+
export declare const crossReference: NodeSpec;
|
|
26
27
|
export {};
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
id: string;
|
|
19
20
|
label: string;
|
|
@@ -21,5 +22,5 @@ interface Attrs {
|
|
|
21
22
|
export interface EquationElementNode extends ManuscriptNode {
|
|
22
23
|
attrs: Attrs;
|
|
23
24
|
}
|
|
24
|
-
export declare const equationElement:
|
|
25
|
+
export declare const equationElement: NodeSpec;
|
|
25
26
|
export {};
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
import { AttributionNode } from './attribution';
|
|
18
19
|
interface Attrs {
|
|
19
20
|
columns: number;
|
|
@@ -36,6 +37,6 @@ interface Attrs {
|
|
|
36
37
|
export interface FigureElementNode extends ManuscriptNode {
|
|
37
38
|
attrs: Attrs;
|
|
38
39
|
}
|
|
39
|
-
export declare const figureElement:
|
|
40
|
+
export declare const figureElement: NodeSpec;
|
|
40
41
|
export declare const isFigureElementNode: (node: ManuscriptNode) => node is FigureElementNode;
|
|
41
42
|
export {};
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
id: string;
|
|
19
20
|
kind?: string;
|
|
@@ -22,9 +23,6 @@ interface Attrs {
|
|
|
22
23
|
export interface FootnotesElementNode extends ManuscriptNode {
|
|
23
24
|
attrs: Attrs;
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
-
isWrapper: boolean;
|
|
27
|
-
}
|
|
28
|
-
export declare const footnotesElement: FootnotesElementNodeSpec;
|
|
26
|
+
export declare const footnotesElement: NodeSpec;
|
|
29
27
|
export declare const isFootnotesElementNode: (node: ManuscriptNode) => node is FootnotesElementNode;
|
|
30
28
|
export {};
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
id: string;
|
|
19
20
|
}
|
|
20
21
|
export interface GeneralTableFootnote extends ManuscriptNode {
|
|
21
22
|
attrs: Attrs;
|
|
22
23
|
}
|
|
23
|
-
export declare const generalTableFootnote:
|
|
24
|
+
export declare const generalTableFootnote: NodeSpec;
|
|
24
25
|
export {};
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
id: string;
|
|
19
20
|
contents: string;
|
|
@@ -22,5 +23,5 @@ interface Attrs {
|
|
|
22
23
|
export interface InlineEquationNode extends ManuscriptNode {
|
|
23
24
|
attrs: Attrs;
|
|
24
25
|
}
|
|
25
|
-
export declare const inlineEquation:
|
|
26
|
+
export declare const inlineEquation: NodeSpec;
|
|
26
27
|
export {};
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
rids: string[];
|
|
19
20
|
contents: string;
|
|
@@ -21,6 +22,6 @@ interface Attrs {
|
|
|
21
22
|
export interface InlineFootnoteNode extends ManuscriptNode {
|
|
22
23
|
attrs: Attrs;
|
|
23
24
|
}
|
|
24
|
-
export declare const inlineFootnote:
|
|
25
|
+
export declare const inlineFootnote: NodeSpec;
|
|
25
26
|
export declare const isInlineFootnoteNode: (node: ManuscriptNode) => node is InlineFootnoteNode;
|
|
26
27
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
2
|
+
import { ManuscriptNode } from '../types';
|
|
2
3
|
export type JatsStyleType = 'simple' | 'bullet' | 'order' | 'alpha-lower' | 'alpha-upper' | 'roman-lower' | 'roman-upper';
|
|
3
4
|
interface ListTypeInfo {
|
|
4
5
|
type: 'ul' | 'ol';
|
|
@@ -12,12 +13,12 @@ export interface ListNode extends ManuscriptNode {
|
|
|
12
13
|
listStyleType: string;
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
|
-
export declare const list:
|
|
16
|
+
export declare const list: NodeSpec;
|
|
16
17
|
export interface ListItemNode extends ManuscriptNode {
|
|
17
18
|
attrs: {
|
|
18
19
|
placeholder: string;
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
|
-
export declare const listItem:
|
|
22
|
+
export declare const listItem: NodeSpec;
|
|
22
23
|
export declare const isListNode: (node: ManuscriptNode) => node is ListNode;
|
|
23
24
|
export {};
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
export interface SectionTitleNode extends ManuscriptNode {
|
|
18
19
|
attrs: Record<string, unknown>;
|
|
19
20
|
}
|
|
20
|
-
export declare const sectionTitle:
|
|
21
|
+
export declare const sectionTitle: NodeSpec;
|
|
21
22
|
export declare const isSectionTitleNode: (node: ManuscriptNode) => node is SectionTitleNode;
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
id: string;
|
|
19
20
|
paragraphStyle: string;
|
|
@@ -28,5 +29,5 @@ interface Attrs {
|
|
|
28
29
|
export interface TableElementNode extends ManuscriptNode {
|
|
29
30
|
attrs: Attrs;
|
|
30
31
|
}
|
|
31
|
-
export declare const tableElement:
|
|
32
|
+
export declare const tableElement: NodeSpec;
|
|
32
33
|
export {};
|
|
@@ -13,15 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { NodeSpec } from 'prosemirror-model';
|
|
17
|
+
import { ManuscriptNode } from '../types';
|
|
17
18
|
interface Attrs {
|
|
18
19
|
id: string;
|
|
19
20
|
}
|
|
20
21
|
export interface TableElementFooterNode extends ManuscriptNode {
|
|
21
22
|
attrs: Attrs;
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
-
isWrapper: boolean;
|
|
25
|
-
}
|
|
26
|
-
export declare const tableElementFooter: TableElementNodeSpec;
|
|
24
|
+
export declare const tableElementFooter: NodeSpec;
|
|
27
25
|
export {};
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.6.1-LEAN-3958.
|
|
1
|
+
export declare const VERSION = "2.6.1-LEAN-3958.2";
|
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.6.1-LEAN-3958.
|
|
4
|
+
"version": "2.6.1-LEAN-3958.2",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-transform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|