@kedataindo/docflow-core 0.0.91 → 0.0.93
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/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +13 -13
package/dist/index.cjs
CHANGED
|
@@ -960,13 +960,13 @@ function replaceAll(editor, replacement) {
|
|
|
960
960
|
return s.matches.length;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
-
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=
|
|
963
|
+
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=00858351959cd6e40e43520c066de1f40e312b64dcfd6be_7def91d83c4dc7f1a0f936fcac6a737a/node_modules/tiptap-pagination-plus/dist/PaginationPlus.js
|
|
964
964
|
var import_core6 = require("@tiptap/core");
|
|
965
965
|
var import_state4 = require("@tiptap/pm/state");
|
|
966
966
|
var import_transform = require("@tiptap/pm/transform");
|
|
967
967
|
var import_view3 = require("@tiptap/pm/view");
|
|
968
968
|
|
|
969
|
-
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=
|
|
969
|
+
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=00858351959cd6e40e43520c066de1f40e312b64dcfd6be_7def91d83c4dc7f1a0f936fcac6a737a/node_modules/tiptap-pagination-plus/dist/utils.js
|
|
970
970
|
var updateCssVariables = (targetNode, config) => {
|
|
971
971
|
const cssVariables = {
|
|
972
972
|
"rm-page-height": `${config.pageHeight}px`,
|
|
@@ -1140,7 +1140,7 @@ var footerClickEvent = (pageNumber, onFooterClick) => {
|
|
|
1140
1140
|
};
|
|
1141
1141
|
};
|
|
1142
1142
|
|
|
1143
|
-
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=
|
|
1143
|
+
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=00858351959cd6e40e43520c066de1f40e312b64dcfd6be_7def91d83c4dc7f1a0f936fcac6a737a/node_modules/tiptap-pagination-plus/dist/PaginationPlus.js
|
|
1144
1144
|
var page_count_meta_key = "PAGE_COUNT_META_KEY";
|
|
1145
1145
|
var key = new import_state4.PluginKey("brDecoration");
|
|
1146
1146
|
function buildDecorations(doc) {
|
|
@@ -1797,7 +1797,7 @@ function createDecoration(pageOptions, headerHeightMap, footerHeightMap) {
|
|
|
1797
1797
|
return [pageWidget, firstHeaderWidget];
|
|
1798
1798
|
}
|
|
1799
1799
|
|
|
1800
|
-
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=
|
|
1800
|
+
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=00858351959cd6e40e43520c066de1f40e312b64dcfd6be_7def91d83c4dc7f1a0f936fcac6a737a/node_modules/tiptap-pagination-plus/dist/constants.js
|
|
1801
1801
|
var A4_PAGE_SIZE = getPageSize(1123, 794, 95, 95, 76, 76);
|
|
1802
1802
|
var A3_PAGE_SIZE = getPageSize(1591, 1123, 95, 95, 76, 76);
|
|
1803
1803
|
var A5_PAGE_SIZE = getPageSize(794, 419, 76, 76, 57, 57);
|
package/dist/index.js
CHANGED
|
@@ -890,13 +890,13 @@ function replaceAll(editor, replacement) {
|
|
|
890
890
|
return s.matches.length;
|
|
891
891
|
}
|
|
892
892
|
|
|
893
|
-
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=
|
|
893
|
+
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=00858351959cd6e40e43520c066de1f40e312b64dcfd6be_7def91d83c4dc7f1a0f936fcac6a737a/node_modules/tiptap-pagination-plus/dist/PaginationPlus.js
|
|
894
894
|
import { Extension as Extension6 } from "@tiptap/core";
|
|
895
895
|
import { Plugin as Plugin4, PluginKey as PluginKey4 } from "@tiptap/pm/state";
|
|
896
896
|
import { ReplaceStep, ReplaceAroundStep, AddMarkStep, RemoveMarkStep, RemoveNodeMarkStep, AttrStep } from "@tiptap/pm/transform";
|
|
897
897
|
import { Decoration as Decoration3, DecorationSet as DecorationSet3 } from "@tiptap/pm/view";
|
|
898
898
|
|
|
899
|
-
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=
|
|
899
|
+
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=00858351959cd6e40e43520c066de1f40e312b64dcfd6be_7def91d83c4dc7f1a0f936fcac6a737a/node_modules/tiptap-pagination-plus/dist/utils.js
|
|
900
900
|
var updateCssVariables = (targetNode, config) => {
|
|
901
901
|
const cssVariables = {
|
|
902
902
|
"rm-page-height": `${config.pageHeight}px`,
|
|
@@ -1070,7 +1070,7 @@ var footerClickEvent = (pageNumber, onFooterClick) => {
|
|
|
1070
1070
|
};
|
|
1071
1071
|
};
|
|
1072
1072
|
|
|
1073
|
-
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=
|
|
1073
|
+
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=00858351959cd6e40e43520c066de1f40e312b64dcfd6be_7def91d83c4dc7f1a0f936fcac6a737a/node_modules/tiptap-pagination-plus/dist/PaginationPlus.js
|
|
1074
1074
|
var page_count_meta_key = "PAGE_COUNT_META_KEY";
|
|
1075
1075
|
var key = new PluginKey4("brDecoration");
|
|
1076
1076
|
function buildDecorations(doc) {
|
|
@@ -1727,7 +1727,7 @@ function createDecoration(pageOptions, headerHeightMap, footerHeightMap) {
|
|
|
1727
1727
|
return [pageWidget, firstHeaderWidget];
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
|
-
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=
|
|
1730
|
+
// ../../node_modules/.pnpm/tiptap-pagination-plus@3.1.0_patch_hash=00858351959cd6e40e43520c066de1f40e312b64dcfd6be_7def91d83c4dc7f1a0f936fcac6a737a/node_modules/tiptap-pagination-plus/dist/constants.js
|
|
1731
1731
|
var A4_PAGE_SIZE = getPageSize(1123, 794, 95, 95, 76, 76);
|
|
1732
1732
|
var A3_PAGE_SIZE = getPageSize(1591, 1123, 95, 95, 76, 76);
|
|
1733
1733
|
var A5_PAGE_SIZE = getPageSize(794, 419, 76, 76, 57, 57);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kedataindo/docflow-core",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.93",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -27,27 +27,27 @@
|
|
|
27
27
|
],
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@tiptap/core": "^2.
|
|
31
|
-
"@tiptap/extension-collaboration": "^2.27.
|
|
30
|
+
"@tiptap/core": "^2.27.3",
|
|
31
|
+
"@tiptap/extension-collaboration": "^2.27.3",
|
|
32
32
|
"@tiptap/extension-collaboration-cursor": "^2.26.2",
|
|
33
|
-
"@tiptap/extension-text-style": "^2.
|
|
34
|
-
"@tiptap/pm": "^2.
|
|
35
|
-
"@tiptap/starter-kit": "^2.
|
|
33
|
+
"@tiptap/extension-text-style": "^2.27.3",
|
|
34
|
+
"@tiptap/pm": "^2.27.3",
|
|
35
|
+
"@tiptap/starter-kit": "^2.27.3",
|
|
36
36
|
"tiptap-pagination-plus": "3.1.0",
|
|
37
37
|
"y-indexeddb": "^9.0.12",
|
|
38
38
|
"y-protocols": "^1.0.7",
|
|
39
|
-
"yjs": "^13.6.
|
|
39
|
+
"yjs": "^13.6.33"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@tiptap/core": "^2.
|
|
43
|
-
"@tiptap/extension-collaboration": "^2.27.
|
|
42
|
+
"@tiptap/core": "^2.27.3",
|
|
43
|
+
"@tiptap/extension-collaboration": "^2.27.3",
|
|
44
44
|
"@tiptap/extension-collaboration-cursor": "^2.26.2",
|
|
45
|
-
"@tiptap/extension-text-style": "^2.
|
|
46
|
-
"@tiptap/starter-kit": "^2.
|
|
45
|
+
"@tiptap/extension-text-style": "^2.27.3",
|
|
46
|
+
"@tiptap/starter-kit": "^2.27.3",
|
|
47
47
|
"tiptap-pagination-plus": "3.1.0",
|
|
48
48
|
"y-webrtc": "^10.3.0",
|
|
49
49
|
"y-websocket": "^2.0.4",
|
|
50
|
-
"yjs": "^13.6.
|
|
50
|
+
"yjs": "^13.6.33"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"@tiptap/extension-collaboration": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@vitest/coverage-v8": "^2.1.3",
|
|
68
68
|
"fake-indexeddb": "^6.2.5",
|
|
69
|
-
"happy-dom": "^
|
|
69
|
+
"happy-dom": "^21.0.1",
|
|
70
70
|
"tsup": "^8.3.0",
|
|
71
71
|
"typescript": "^5.6.3",
|
|
72
72
|
"vitest": "^2.1.3"
|