@manuscripts/transform 2.3.26-LEAN-3923.2 → 2.3.26
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.
|
@@ -520,9 +520,6 @@ class Decoder {
|
|
|
520
520
|
[json_schema_1.ObjectTypes.AuthorNotes]: (data) => {
|
|
521
521
|
const model = data;
|
|
522
522
|
const content = model.containedObjectIDs.map((id) => this.decode(this.modelMap.get(id)));
|
|
523
|
-
if (content.length == 0) {
|
|
524
|
-
return null;
|
|
525
|
-
}
|
|
526
523
|
return schema_1.schema.nodes.author_notes.createAndFill({
|
|
527
524
|
id: model._id,
|
|
528
525
|
}, [
|
package/dist/cjs/version.js
CHANGED
|
@@ -511,9 +511,6 @@ export class Decoder {
|
|
|
511
511
|
[ObjectTypes.AuthorNotes]: (data) => {
|
|
512
512
|
const model = data;
|
|
513
513
|
const content = model.containedObjectIDs.map((id) => this.decode(this.modelMap.get(id)));
|
|
514
|
-
if (content.length == 0) {
|
|
515
|
-
return null;
|
|
516
|
-
}
|
|
517
514
|
return schema.nodes.author_notes.createAndFill({
|
|
518
515
|
id: model._id,
|
|
519
516
|
}, [
|
package/dist/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "2.3.26
|
|
1
|
+
export const VERSION = "2.3.26";
|
|
@@ -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;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.3.26
|
|
1
|
+
export declare const VERSION = "2.3.26";
|
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.26
|
|
4
|
+
"version": "2.3.26",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-transform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"version": "yarn build"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@manuscripts/json-schema": "2.2.
|
|
33
|
+
"@manuscripts/json-schema": "2.2.11-LEAN-3647.0",
|
|
34
34
|
"@manuscripts/library": "1.3.11",
|
|
35
35
|
"debug": "^4.3.4",
|
|
36
36
|
"jszip": "^3.10.1",
|