@manuscripts/transform 2.3.38-LEAN-3911.0 → 2.6.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.
Files changed (126) hide show
  1. package/dist/cjs/__tests__/data/project-dump.json +825 -0
  2. package/dist/cjs/index.js +6 -6
  3. package/dist/cjs/jats/importer/index.js +22 -0
  4. package/dist/cjs/jats/importer/{jats-dom-parser.js → jats-body-dom-parser.js} +34 -273
  5. package/dist/cjs/jats/importer/jats-body-transformations.js +22 -74
  6. package/dist/cjs/jats/importer/jats-comments.js +104 -27
  7. package/dist/cjs/jats/importer/jats-front-parser.js +321 -0
  8. package/dist/cjs/jats/importer/jats-journal-meta-parser.js +1 -8
  9. package/dist/cjs/jats/importer/jats-parser-utils.js +5 -43
  10. package/dist/cjs/jats/importer/jats-reference-parser.js +23 -16
  11. package/dist/cjs/jats/importer/jats-references.js +18 -18
  12. package/dist/cjs/jats/importer/parse-jats-article.js +79 -40
  13. package/dist/cjs/jats/index.js +7 -7
  14. package/dist/cjs/jats/{exporter/jats-exporter.js → jats-exporter.js} +398 -264
  15. package/dist/cjs/jats/{exporter/jats-versions.js → jats-versions.js} +3 -1
  16. package/dist/cjs/lib/utils.js +1 -12
  17. package/dist/cjs/transformer/__tests__/__helpers__/doc.js +37 -0
  18. package/dist/cjs/transformer/builders.js +219 -0
  19. package/dist/cjs/transformer/decode.js +898 -0
  20. package/dist/cjs/transformer/document-object-types.js +31 -0
  21. package/dist/cjs/transformer/encode.js +674 -0
  22. package/dist/cjs/{jats/importer/create-article-node.js → transformer/filename.js} +9 -10
  23. package/dist/cjs/transformer/footnote-category.js +20 -0
  24. package/dist/cjs/transformer/footnotes-order.js +60 -0
  25. package/dist/cjs/transformer/highlight-markers.js +138 -0
  26. package/dist/cjs/transformer/html.js +400 -0
  27. package/dist/cjs/transformer/id.js +5 -10
  28. package/dist/cjs/transformer/index.js +18 -0
  29. package/dist/cjs/{jats/exporter → transformer}/labels.js +5 -4
  30. package/dist/cjs/transformer/manuscript-dependencies.js +21 -0
  31. package/dist/cjs/transformer/model-map.js +26 -0
  32. package/dist/cjs/{lib/deafults.js → transformer/models.js} +1 -3
  33. package/dist/cjs/transformer/node-names.js +1 -0
  34. package/dist/cjs/transformer/object-types.js +57 -0
  35. package/dist/cjs/transformer/project-bundle.js +94 -0
  36. package/dist/cjs/transformer/serializer.js +23 -0
  37. package/dist/cjs/transformer/timestamp.js +20 -0
  38. package/dist/cjs/transformer/update-identifiers.js +93 -0
  39. package/dist/cjs/version.js +1 -1
  40. package/dist/es/__tests__/data/project-dump.json +825 -0
  41. package/dist/es/index.js +5 -5
  42. package/dist/{types/jats/importer/create-article-node.d.ts → es/jats/importer/index.js} +2 -3
  43. package/dist/es/jats/importer/{jats-dom-parser.js → jats-body-dom-parser.js} +35 -274
  44. package/dist/es/jats/importer/jats-body-transformations.js +22 -74
  45. package/dist/es/jats/importer/jats-comments.js +101 -26
  46. package/dist/es/jats/importer/jats-front-parser.js +315 -0
  47. package/dist/es/jats/importer/jats-journal-meta-parser.js +0 -6
  48. package/dist/es/jats/importer/jats-parser-utils.js +6 -44
  49. package/dist/es/jats/importer/jats-reference-parser.js +23 -16
  50. package/dist/es/jats/importer/jats-references.js +18 -18
  51. package/dist/es/jats/importer/parse-jats-article.js +78 -41
  52. package/dist/es/jats/index.js +3 -5
  53. package/dist/es/jats/{exporter/jats-exporter.js → jats-exporter.js} +392 -258
  54. package/dist/es/jats/{exporter/jats-versions.js → jats-versions.js} +1 -0
  55. package/dist/es/lib/utils.js +0 -9
  56. package/dist/es/transformer/__tests__/__helpers__/doc.js +29 -0
  57. package/dist/es/transformer/builders.js +186 -0
  58. package/dist/es/transformer/decode.js +888 -0
  59. package/dist/es/transformer/document-object-types.js +28 -0
  60. package/dist/es/transformer/encode.js +664 -0
  61. package/dist/es/transformer/filename.js +23 -0
  62. package/dist/es/transformer/footnote-category.js +16 -0
  63. package/dist/es/transformer/footnotes-order.js +55 -0
  64. package/dist/es/transformer/highlight-markers.js +132 -0
  65. package/dist/es/transformer/html.js +393 -0
  66. package/dist/es/transformer/id.js +3 -8
  67. package/dist/es/transformer/index.js +16 -0
  68. package/dist/es/{jats/exporter → transformer}/labels.js +5 -4
  69. package/dist/es/transformer/manuscript-dependencies.js +17 -0
  70. package/dist/es/transformer/model-map.js +22 -0
  71. package/dist/es/{lib/deafults.js → transformer/models.js} +2 -2
  72. package/dist/es/transformer/node-names.js +1 -0
  73. package/dist/es/transformer/object-types.js +52 -0
  74. package/dist/es/transformer/project-bundle.js +85 -0
  75. package/dist/es/transformer/serializer.js +17 -0
  76. package/dist/es/transformer/timestamp.js +16 -0
  77. package/dist/es/transformer/update-identifiers.js +87 -0
  78. package/dist/es/version.js +1 -1
  79. package/dist/types/index.d.ts +6 -6
  80. package/dist/types/jats/importer/index.d.ts +16 -0
  81. package/dist/types/jats/importer/{jats-dom-parser.d.ts → jats-body-dom-parser.d.ts} +1 -1
  82. package/dist/types/jats/importer/jats-body-transformations.d.ts +1 -5
  83. package/dist/types/jats/importer/jats-comments.d.ts +10 -4
  84. package/dist/types/jats/importer/jats-front-parser.d.ts +84 -0
  85. package/dist/types/jats/importer/jats-journal-meta-parser.d.ts +0 -10
  86. package/dist/types/jats/importer/jats-references.d.ts +8 -19
  87. package/dist/types/jats/importer/parse-jats-article.d.ts +5 -12
  88. package/dist/types/jats/index.d.ts +3 -5
  89. package/dist/types/jats/{exporter/jats-exporter.d.ts → jats-exporter.d.ts} +29 -15
  90. package/dist/types/jats/{exporter/jats-versions.d.ts → jats-versions.d.ts} +1 -0
  91. package/dist/types/lib/utils.d.ts +0 -2
  92. package/dist/types/schema/nodes/bibliography_item.d.ts +3 -3
  93. package/dist/types/schema/nodes/contributor.d.ts +0 -10
  94. package/dist/types/schema/nodes/keyword_group.d.ts +0 -1
  95. package/dist/types/schema/nodes/manuscript.d.ts +7 -8
  96. package/dist/types/schema/nodes/title.d.ts +3 -0
  97. package/dist/types/transformer/__tests__/__helpers__/doc.d.ts +18 -0
  98. package/dist/types/transformer/builders.d.ts +61 -0
  99. package/dist/types/transformer/decode.d.ts +52 -0
  100. package/dist/types/transformer/document-object-types.d.ts +17 -0
  101. package/dist/types/transformer/encode.d.ts +29 -0
  102. package/dist/types/transformer/filename.d.ts +16 -0
  103. package/dist/types/transformer/footnote-category.d.ts +17 -0
  104. package/dist/{es/jats/importer/create-article-node.js → types/transformer/footnotes-order.d.ts} +8 -10
  105. package/dist/types/transformer/highlight-markers.d.ts +31 -0
  106. package/dist/types/transformer/html.d.ts +36 -0
  107. package/dist/types/transformer/id.d.ts +2 -5
  108. package/dist/types/transformer/index.d.ts +16 -0
  109. package/dist/types/{jats/exporter → transformer}/labels.d.ts +2 -2
  110. package/dist/types/transformer/manuscript-dependencies.d.ts +4 -0
  111. package/dist/types/transformer/model-map.d.ts +19 -0
  112. package/dist/types/transformer/models.d.ts +48 -0
  113. package/dist/types/transformer/object-types.d.ts +30 -0
  114. package/dist/types/transformer/project-bundle.d.ts +30 -0
  115. package/dist/types/transformer/serializer.d.ts +19 -0
  116. package/dist/types/{lib/deafults.d.ts → transformer/timestamp.d.ts} +2 -2
  117. package/dist/types/transformer/update-identifiers.d.ts +23 -0
  118. package/dist/types/types.d.ts +2 -0
  119. package/dist/types/version.d.ts +1 -1
  120. package/package.json +1 -2
  121. package/dist/cjs/jats/importer/jats-front-transformations.js +0 -79
  122. package/dist/es/jats/importer/jats-front-transformations.js +0 -76
  123. package/dist/types/jats/importer/jats-front-transformations.d.ts +0 -22
  124. package/dist/types/jats/types.d.ts +0 -1
  125. /package/dist/cjs/{jats/types.js → types.js} +0 -0
  126. /package/dist/es/{jats/types.js → types.js} +0 -0
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * © 2019 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { CommentAnnotation, Figure, Keyword, Manuscript, Model, ObjectTypes, Table } from '@manuscripts/json-schema';
17
+ import { ManuscriptModel } from './models';
18
+ export declare enum ExtraObjectTypes {
19
+ PlaceholderElement = "MPPlaceholderElement",
20
+ GeneralTableFootnote = "MPGeneralTableFootnote"
21
+ }
22
+ export declare const elementObjects: ObjectTypes[];
23
+ export declare const manuscriptObjects: ObjectTypes[];
24
+ export declare const isManuscriptModel: (model: Model) => model is ManuscriptModel;
25
+ export declare const hasObjectType: <T extends Model>(objectType: string) => (model: Model) => model is T;
26
+ export declare const isFigure: (model: Model) => model is Figure;
27
+ export declare const isManuscript: (model: Model) => model is Manuscript;
28
+ export declare const isTable: (model: Model) => model is Table;
29
+ export declare const isCommentAnnotation: (model: Model) => model is CommentAnnotation;
30
+ export declare const isKeyword: (model: Model) => model is Keyword;
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * © 2019 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Journal, Manuscript, Model, ObjectTypes, Titles } from '@manuscripts/json-schema';
17
+ import { ManuscriptModel } from './models';
18
+ export interface ProjectBundle {
19
+ version: string;
20
+ data: Model[];
21
+ }
22
+ export declare const parseProjectBundle: (projectBundle: ProjectBundle, manuscriptID?: string) => {
23
+ doc: import("prosemirror-model").Node;
24
+ modelMap: Map<string, Model>;
25
+ };
26
+ export declare const findManuscript: (modelMap: Map<string, Model>) => Manuscript;
27
+ export declare const findJournal: (modelMap: Map<string, Model>) => Journal | null;
28
+ export declare const findManuscriptModelByType: <T extends ManuscriptModel>(modelMap: Map<string, Model>, manuscript: Manuscript, objectType: ObjectTypes) => T | undefined;
29
+ export declare const findManuscriptById: (modelMap: Map<string, Model>, manuscriptID: string) => Manuscript;
30
+ export declare const findTitles: (modelMap: Map<string, Model>) => Titles;
@@ -0,0 +1,19 @@
1
+ /*!
2
+ * © 2019 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import serializeToString from 'w3c-xmlserializer';
17
+ export declare const xmlSerializer: {
18
+ serializeToString: typeof serializeToString;
19
+ };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * © 2024 Atypon Systems LLC
2
+ * © 2019 Atypon Systems LLC
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -13,4 +13,4 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare const defaultTitle = "Untitled Manuscript";
16
+ export declare const timestamp: () => number;
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * © 2020 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Model } from '@manuscripts/json-schema';
17
+ import JSZip from 'jszip';
18
+ export declare const updateIdentifiers: (data: Model[]) => Promise<{
19
+ data: Model[];
20
+ idMap: Map<string, string>;
21
+ }>;
22
+ export declare const updateAttachmentPath: (oldPath: string, idMap: Map<string, string>) => string | undefined;
23
+ export declare const updateAttachments: (zip: JSZip, idMap: Map<string, string>) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ export type IDGenerator = (element: Element) => Promise<string | null>;
2
+ export type MediaPathGenerator = (element: Element, parentID: string) => Promise<string>;
@@ -1 +1 @@
1
- export declare const VERSION = "2.3.38-LEAN-3911.0";
1
+ export declare const VERSION = "2.6.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.38-LEAN-3911.0",
4
+ "version": "2.6.0",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -38,7 +38,6 @@
38
38
  "mime": "^3.0.0",
39
39
  "prosemirror-model": "^1.18.3",
40
40
  "prosemirror-tables": "^1.3.5",
41
- "prosemirror-utils": "^1.2.2",
42
41
  "semver": "^7.6.2",
43
42
  "uuid": "^9.0.0",
44
43
  "w3c-xmlserializer": "^4.0.0"
@@ -1,79 +0,0 @@
1
- "use strict";
2
- /*!
3
- * © 2024 Atypon Systems LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.jatsFrontTransformations = void 0;
19
- const json_schema_1 = require("@manuscripts/json-schema");
20
- const deafults_1 = require("../../lib/deafults");
21
- const transformer_1 = require("../../transformer");
22
- const jats_parser_utils_1 = require("./jats-parser-utils");
23
- exports.jatsFrontTransformations = {
24
- setArticleAttrs(doc, template) {
25
- var _a;
26
- const doi = (_a = doc.querySelector('article-meta > article-id[pub-id-type="doi"]')) === null || _a === void 0 ? void 0 : _a.textContent;
27
- const attrs = {
28
- DOI: doi !== null && doi !== void 0 ? doi : '',
29
- prototype: template !== null && template !== void 0 ? template : '',
30
- id: (0, transformer_1.generateID)(json_schema_1.ObjectTypes.Manuscript),
31
- };
32
- const article = doc.querySelector('article');
33
- if (article) {
34
- Object.entries(attrs).forEach(([key, value]) => {
35
- if (value) {
36
- article.setAttribute(key, value);
37
- }
38
- });
39
- }
40
- },
41
- createTitle(front, createElement) {
42
- var _a;
43
- let title = front.querySelector('article-meta > title-group > article-title');
44
- if (title) {
45
- title.innerHTML = (_a = (0, jats_parser_utils_1.htmlFromJatsNode)(title, createElement)) !== null && _a !== void 0 ? _a : deafults_1.defaultTitle;
46
- }
47
- else {
48
- title = createElement('article-title');
49
- title.innerHTML = deafults_1.defaultTitle;
50
- }
51
- return title;
52
- },
53
- createAuthorNotes(document, createElement) {
54
- const authorNotes = document.querySelector('article-meta > author-notes');
55
- if (authorNotes) {
56
- const sectionTitle = createElement('title');
57
- authorNotes.prepend(sectionTitle);
58
- }
59
- return authorNotes;
60
- },
61
- createContributors(front, createElement) {
62
- const contributors = createElement('contributors');
63
- const contributorsElement = front.querySelectorAll('article-meta > contrib-group > contrib[contrib-type="author"]');
64
- contributorsElement.forEach((el, priority) => {
65
- el.setAttribute('priority', priority.toString());
66
- contributors.appendChild(el);
67
- });
68
- return contributors.childNodes.length > 0 ? contributors : null;
69
- },
70
- createAffiliations(front, createElement) {
71
- const affiliations = createElement('affiliations');
72
- const affiliationsElements = front.querySelectorAll('article-meta > contrib-group > aff');
73
- affiliationsElements.forEach((el, priority) => {
74
- el.setAttribute('priority', priority.toString());
75
- affiliations.appendChild(el);
76
- });
77
- return affiliations.childNodes.length > 0 ? affiliations : null;
78
- },
79
- };
@@ -1,76 +0,0 @@
1
- /*!
2
- * © 2024 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { ObjectTypes } from '@manuscripts/json-schema';
17
- import { defaultTitle } from '../../lib/deafults';
18
- import { generateID } from '../../transformer';
19
- import { htmlFromJatsNode } from './jats-parser-utils';
20
- export const jatsFrontTransformations = {
21
- setArticleAttrs(doc, template) {
22
- var _a;
23
- const doi = (_a = doc.querySelector('article-meta > article-id[pub-id-type="doi"]')) === null || _a === void 0 ? void 0 : _a.textContent;
24
- const attrs = {
25
- DOI: doi !== null && doi !== void 0 ? doi : '',
26
- prototype: template !== null && template !== void 0 ? template : '',
27
- id: generateID(ObjectTypes.Manuscript),
28
- };
29
- const article = doc.querySelector('article');
30
- if (article) {
31
- Object.entries(attrs).forEach(([key, value]) => {
32
- if (value) {
33
- article.setAttribute(key, value);
34
- }
35
- });
36
- }
37
- },
38
- createTitle(front, createElement) {
39
- var _a;
40
- let title = front.querySelector('article-meta > title-group > article-title');
41
- if (title) {
42
- title.innerHTML = (_a = htmlFromJatsNode(title, createElement)) !== null && _a !== void 0 ? _a : defaultTitle;
43
- }
44
- else {
45
- title = createElement('article-title');
46
- title.innerHTML = defaultTitle;
47
- }
48
- return title;
49
- },
50
- createAuthorNotes(document, createElement) {
51
- const authorNotes = document.querySelector('article-meta > author-notes');
52
- if (authorNotes) {
53
- const sectionTitle = createElement('title');
54
- authorNotes.prepend(sectionTitle);
55
- }
56
- return authorNotes;
57
- },
58
- createContributors(front, createElement) {
59
- const contributors = createElement('contributors');
60
- const contributorsElement = front.querySelectorAll('article-meta > contrib-group > contrib[contrib-type="author"]');
61
- contributorsElement.forEach((el, priority) => {
62
- el.setAttribute('priority', priority.toString());
63
- contributors.appendChild(el);
64
- });
65
- return contributors.childNodes.length > 0 ? contributors : null;
66
- },
67
- createAffiliations(front, createElement) {
68
- const affiliations = createElement('affiliations');
69
- const affiliationsElements = front.querySelectorAll('article-meta > contrib-group > aff');
70
- affiliationsElements.forEach((el, priority) => {
71
- el.setAttribute('priority', priority.toString());
72
- affiliations.appendChild(el);
73
- });
74
- return affiliations.childNodes.length > 0 ? affiliations : null;
75
- },
76
- };
@@ -1,22 +0,0 @@
1
- /*!
2
- * © 2024 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export declare const jatsFrontTransformations: {
17
- setArticleAttrs(doc: Document, template?: string): void;
18
- createTitle(front: Element, createElement: (tagName: string) => HTMLElement): Element;
19
- createAuthorNotes(document: Document, createElement: (tagName: string) => HTMLElement): Element | null;
20
- createContributors(front: Element, createElement: (tagName: string) => HTMLElement): HTMLElement | null;
21
- createAffiliations(front: Element, createElement: (tagName: string) => HTMLElement): HTMLElement | null;
22
- };
@@ -1 +0,0 @@
1
- export type IDGenerator = (element: Element) => Promise<string | null>;
File without changes
File without changes