@w100n/documents 0.12.1 → 0.13.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 (34) hide show
  1. package/dist/{SheetView-G3YWPH5V.js → SheetView-3UAFXGZS.js} +4 -4
  2. package/dist/{TextEditor-SPEVB5HX.js → TextEditor-OLBLWC6F.js} +4 -4
  3. package/dist/{chunk-UWASFTDF.js → chunk-MRP3EURG.js} +3 -3
  4. package/dist/{chunk-UWASFTDF.js.map → chunk-MRP3EURG.js.map} +1 -1
  5. package/dist/{chunk-5NT5ALOF.js → chunk-T7XCGDE5.js} +2 -2
  6. package/dist/{chunk-BKUFGMEA.js → chunk-WR3MT7KP.js} +40 -4
  7. package/dist/{chunk-BKUFGMEA.js.map → chunk-WR3MT7KP.js.map} +1 -1
  8. package/dist/collab.cjs +40 -4
  9. package/dist/collab.cjs.map +1 -1
  10. package/dist/collab.d.cts +1 -1
  11. package/dist/collab.d.ts +1 -1
  12. package/dist/collab.js +2 -2
  13. package/dist/index.cjs +857 -603
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.css +131 -0
  16. package/dist/index.css.map +1 -1
  17. package/dist/index.d.cts +2 -2
  18. package/dist/index.d.ts +2 -2
  19. package/dist/index.js +546 -328
  20. package/dist/index.js.map +1 -1
  21. package/dist/kinds.d.cts +1 -1
  22. package/dist/kinds.d.ts +1 -1
  23. package/dist/memory.cjs +9 -1
  24. package/dist/memory.cjs.map +1 -1
  25. package/dist/memory.d.cts +1 -1
  26. package/dist/memory.d.ts +1 -1
  27. package/dist/memory.js +9 -1
  28. package/dist/memory.js.map +1 -1
  29. package/dist/{types-B5oF25dn.d.cts → types-Er60M5kL.d.cts} +6 -0
  30. package/dist/{types-B5oF25dn.d.ts → types-Er60M5kL.d.ts} +6 -0
  31. package/package.json +1 -1
  32. /package/dist/{SheetView-G3YWPH5V.js.map → SheetView-3UAFXGZS.js.map} +0 -0
  33. /package/dist/{TextEditor-SPEVB5HX.js.map → TextEditor-OLBLWC6F.js.map} +0 -0
  34. /package/dist/{chunk-5NT5ALOF.js.map → chunk-T7XCGDE5.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  pending,
6
6
  save,
7
7
  seed
8
- } from "./chunk-UWASFTDF.js";
8
+ } from "./chunk-MRP3EURG.js";
9
9
 
10
10
  // src/editor/live.ts
11
11
  import { HocuspocusProvider } from "@hocuspocus/provider";
@@ -193,4 +193,4 @@ ${id}`, id, kind, doc, host2, { id: me.id, name: me.name, language }, edit) : ne
193
193
  export {
194
194
  useLive
195
195
  };
196
- //# sourceMappingURL=chunk-5NT5ALOF.js.map
196
+ //# sourceMappingURL=chunk-T7XCGDE5.js.map
@@ -2399,7 +2399,19 @@ var en = {
2399
2399
  openForms: { one: "open", other: "opens" },
2400
2400
  commentForms: { one: "comment", other: "comments" },
2401
2401
  methods: { typed: "Typed", drawn: "Drawn", image: "Image" },
2402
- kinds: { docx: "DOCX", markdown: "Markdown", pdf: "PDF", sheet: "Sheets", slides: "Slides" }
2402
+ kinds: { docx: "DOCX", markdown: "Markdown", pdf: "PDF", sheet: "Sheets", slides: "Slides" },
2403
+ create: "New",
2404
+ newTitle: "New document",
2405
+ startFrom: "Start from",
2406
+ name: "Name",
2407
+ savesTo: "Saves to",
2408
+ make: "Create",
2409
+ making: "Creating",
2410
+ makeFailed: "Could not create the document",
2411
+ untitled: "Untitled",
2412
+ kindHints: { docx: "Word, DOCX", markdown: "MD, same editor", sheet: "Excel, XLSX", slides: "HTML slides" },
2413
+ newKinds: { docx: "Document", markdown: "Markdown", sheet: "Spreadsheet", slides: "Presentation" },
2414
+ templates: { blank: "Blank", letter: "Letter", contract: "Contract", notes: "Meeting notes", invoice: "Invoice", report: "Report" }
2403
2415
  };
2404
2416
  var pl = {
2405
2417
  documents: "Dokumenty",
@@ -2645,7 +2657,19 @@ var pl = {
2645
2657
  openForms: { one: "otwarcie", few: "otwarcia", many: "otwar\u0107", other: "otwarcia" },
2646
2658
  commentForms: { one: "komentarz", few: "komentarze", many: "komentarzy", other: "komentarza" },
2647
2659
  methods: { typed: "Wpisany", drawn: "Narysowany", image: "Obraz" },
2648
- kinds: { docx: "DOCX", markdown: "Markdown", pdf: "PDF", sheet: "Arkusze", slides: "Slajdy" }
2660
+ kinds: { docx: "DOCX", markdown: "Markdown", pdf: "PDF", sheet: "Arkusze", slides: "Slajdy" },
2661
+ create: "Nowy",
2662
+ newTitle: "Nowy dokument",
2663
+ startFrom: "Zacznij od",
2664
+ name: "Nazwa",
2665
+ savesTo: "Zapisze si\u0119 w",
2666
+ make: "Utw\xF3rz",
2667
+ making: "Tworzenie",
2668
+ makeFailed: "Nie uda\u0142o si\u0119 utworzy\u0107 dokumentu",
2669
+ untitled: "Bez tytu\u0142u",
2670
+ kindHints: { docx: "Word, DOCX", markdown: "MD, ten sam edytor", sheet: "Excel, XLSX", slides: "Slajdy HTML" },
2671
+ newKinds: { docx: "Dokument", markdown: "Markdown", sheet: "Arkusz", slides: "Prezentacja" },
2672
+ templates: { blank: "Pusty", letter: "List", contract: "Umowa", notes: "Notatki ze spotkania", invoice: "Faktura", report: "Raport" }
2649
2673
  };
2650
2674
  var uk = {
2651
2675
  documents: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0438",
@@ -2891,7 +2915,19 @@ var uk = {
2891
2915
  openForms: { one: "\u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0442\u044F", few: "\u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0442\u044F", many: "\u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0442\u0456\u0432", other: "\u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0442\u044F" },
2892
2916
  commentForms: { one: "\u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440", few: "\u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0456", many: "\u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u0456\u0432", other: "\u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440\u044F" },
2893
2917
  methods: { typed: "\u0412\u0432\u0435\u0434\u0435\u043D\u0438\u0439", drawn: "\u041D\u0430\u043C\u0430\u043B\u044C\u043E\u0432\u0430\u043D\u0438\u0439", image: "\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F" },
2894
- kinds: { docx: "DOCX", markdown: "Markdown", pdf: "PDF", sheet: "\u0422\u0430\u0431\u043B\u0438\u0446\u0456", slides: "\u0421\u043B\u0430\u0439\u0434\u0438" }
2918
+ kinds: { docx: "DOCX", markdown: "Markdown", pdf: "PDF", sheet: "\u0422\u0430\u0431\u043B\u0438\u0446\u0456", slides: "\u0421\u043B\u0430\u0439\u0434\u0438" },
2919
+ create: "\u041D\u043E\u0432\u0438\u0439",
2920
+ newTitle: "\u041D\u043E\u0432\u0438\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442",
2921
+ startFrom: "\u041F\u043E\u0447\u0430\u0442\u0438 \u0437",
2922
+ name: "\u041D\u0430\u0437\u0432\u0430",
2923
+ savesTo: "\u0417\u0431\u0435\u0440\u0435\u0436\u0435\u0442\u044C\u0441\u044F \u0432",
2924
+ make: "\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438",
2925
+ making: "\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F",
2926
+ makeFailed: "\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0441\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442",
2927
+ untitled: "\u0411\u0435\u0437 \u043D\u0430\u0437\u0432\u0438",
2928
+ kindHints: { docx: "Word, DOCX", markdown: "MD, \u0442\u043E\u0439 \u0441\u0430\u043C\u0438\u0439 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440", sheet: "Excel, XLSX", slides: "HTML-\u0441\u043B\u0430\u0439\u0434\u0438" },
2929
+ newKinds: { docx: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442", markdown: "Markdown", sheet: "\u0422\u0430\u0431\u043B\u0438\u0446\u044F", slides: "\u041F\u0440\u0435\u0437\u0435\u043D\u0442\u0430\u0446\u0456\u044F" },
2930
+ templates: { blank: "\u041F\u043E\u0440\u043E\u0436\u043D\u0456\u0439", letter: "\u041B\u0438\u0441\u0442", contract: "\u0414\u043E\u0433\u043E\u0432\u0456\u0440", notes: "\u041D\u043E\u0442\u0430\u0442\u043A\u0438 \u0437\u0443\u0441\u0442\u0440\u0456\u0447\u0456", invoice: "\u0420\u0430\u0445\u0443\u043D\u043E\u043A", report: "\u0417\u0432\u0456\u0442" }
2895
2931
  };
2896
2932
  var texts = { en, pl, uk };
2897
2933
 
@@ -2909,4 +2945,4 @@ export {
2909
2945
  writeDocx,
2910
2946
  texts
2911
2947
  };
2912
- //# sourceMappingURL=chunk-BKUFGMEA.js.map
2948
+ //# sourceMappingURL=chunk-WR3MT7KP.js.map