@w100n/documents 0.16.0 → 0.16.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/{SheetView-EFBSMY7K.js → SheetView-S5AFXKPA.js} +5 -5
- package/dist/{TextEditor-MGCSGGGA.js → TextEditor-7WQJFUUU.js} +399 -349
- package/dist/TextEditor-7WQJFUUU.js.map +1 -0
- package/dist/{chunk-3OLRFIHQ.js → chunk-JC4DLTMI.js} +2 -2
- package/dist/{chunk-2L3TK7UF.js → chunk-KGAQT5M3.js} +3 -3
- package/dist/{chunk-2L3TK7UF.js.map → chunk-KGAQT5M3.js.map} +1 -1
- package/dist/{chunk-RKV3N6OS.js → chunk-LZYITB56.js} +22 -1
- package/dist/chunk-LZYITB56.js.map +1 -0
- package/dist/collab.cjs +22 -1
- package/dist/collab.cjs.map +1 -1
- package/dist/collab.d.cts +1 -1
- package/dist/collab.d.ts +1 -1
- package/dist/collab.js +2 -2
- package/dist/{grid-Q4XBPQFY.js → grid-AZLMNS7K.js} +15 -6
- package/dist/grid-AZLMNS7K.js.map +1 -0
- package/dist/index.cjs +1023 -886
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +78 -6
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +58 -14
- package/dist/index.js.map +1 -1
- package/dist/kinds.d.cts +1 -1
- package/dist/kinds.d.ts +1 -1
- package/dist/memory.cjs +25 -2
- package/dist/memory.cjs.map +1 -1
- package/dist/memory.d.cts +3 -2
- package/dist/memory.d.ts +3 -2
- package/dist/memory.js +25 -2
- package/dist/memory.js.map +1 -1
- package/dist/{types-BTsVooZw.d.cts → types-DNcaU6SK.d.cts} +9 -0
- package/dist/{types-BTsVooZw.d.ts → types-DNcaU6SK.d.ts} +9 -0
- package/package.json +1 -1
- package/dist/TextEditor-MGCSGGGA.js.map +0 -1
- package/dist/chunk-RKV3N6OS.js.map +0 -1
- package/dist/grid-Q4XBPQFY.js.map +0 -1
- /package/dist/{SheetView-EFBSMY7K.js.map → SheetView-S5AFXKPA.js.map} +0 -0
- /package/dist/{chunk-3OLRFIHQ.js.map → chunk-JC4DLTMI.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
useLive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JC4DLTMI.js";
|
|
5
5
|
import {
|
|
6
6
|
SheetRefusal,
|
|
7
7
|
build,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
strip,
|
|
26
26
|
worksheets,
|
|
27
27
|
writeSheet
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KGAQT5M3.js";
|
|
29
29
|
import "./chunk-EQLBYW42.js";
|
|
30
30
|
import {
|
|
31
31
|
rove,
|
|
32
32
|
useRestore
|
|
33
33
|
} from "./chunk-TDP6OJET.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-LZYITB56.js";
|
|
35
35
|
import "./chunk-ZAVXCH7V.js";
|
|
36
36
|
import {
|
|
37
37
|
span
|
|
@@ -620,7 +620,7 @@ function SheetView({ bytes, name, kind, rights, language, theme, onChange, onSav
|
|
|
620
620
|
setDirty(false);
|
|
621
621
|
const families = new Set([model.book.defaultStyle, ...Object.values(model.book.styles)].map((s) => typeof s === "object" ? s?.ff : null).filter(Boolean));
|
|
622
622
|
const fonts = Promise.race([Promise.all([...families].flatMap((f) => ["", "bold ", "italic "].map((w) => document.fonts.load(`${w}11pt "${f}"`).catch(() => [])))), new Promise((r) => setTimeout(r, 800))]);
|
|
623
|
-
Promise.all([import("./grid-
|
|
623
|
+
Promise.all([import("./grid-AZLMNS7K.js"), fonts]).then(([{ grid, marks }]) => {
|
|
624
624
|
if (gone) return;
|
|
625
625
|
shared?.doc.off("update", change);
|
|
626
626
|
if (shared && moved) model = extras(shared.doc, build(shared.doc));
|
|
@@ -968,4 +968,4 @@ export {
|
|
|
968
968
|
readSheet,
|
|
969
969
|
writeSheet
|
|
970
970
|
};
|
|
971
|
-
//# sourceMappingURL=SheetView-
|
|
971
|
+
//# sourceMappingURL=SheetView-S5AFXKPA.js.map
|