flipbookengine 0.6.5 → 1.0.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.
Files changed (104) hide show
  1. package/CHANGELOG.md +115 -75
  2. package/README.md +429 -295
  3. package/dist/components/AnnotationPlacement.d.ts +5 -0
  4. package/dist/components/AnnotationPopover.d.ts +10 -0
  5. package/dist/components/App.d.ts +26 -0
  6. package/dist/components/HotspotLayer.d.ts +14 -0
  7. package/dist/components/NoteEditor.d.ts +13 -0
  8. package/dist/components/NotePlacementLayer.d.ts +11 -0
  9. package/dist/components/NotesPanel.d.ts +17 -0
  10. package/dist/components/PluginPanels.d.ts +5 -0
  11. package/dist/components/ReaderHelp.d.ts +3 -0
  12. package/dist/components/ReaderShortcuts.d.ts +16 -0
  13. package/dist/components/SearchPanel.d.ts +11 -0
  14. package/dist/components/TableOfContents.d.ts +1 -0
  15. package/dist/components/TextLayer.d.ts +8 -0
  16. package/dist/components/Toolbar.d.ts +7 -1
  17. package/dist/components/ToolbarMore.d.ts +6 -0
  18. package/dist/components/Viewer.d.ts +8 -0
  19. package/dist/core/LayoutManager.d.ts +1 -1
  20. package/dist/core/PdfRenderer.d.ts +11 -0
  21. package/dist/core/TextLayerLoader.d.ts +5 -0
  22. package/dist/core/domSignal.d.ts +2 -0
  23. package/dist/core-entry.d.ts +14 -0
  24. package/dist/core.d.ts +1 -0
  25. package/dist/embed.d.ts +80 -0
  26. package/dist/engine-DD5qEHLm.js +4657 -0
  27. package/dist/engine-DD5qEHLm.js.map +1 -0
  28. package/dist/engine.d.ts +124 -0
  29. package/dist/feature-Cicli9ie.js +17 -0
  30. package/dist/feature-Cicli9ie.js.map +1 -0
  31. package/dist/flipbook-engine.core.js +8 -0
  32. package/dist/flipbook-engine.core.js.map +1 -0
  33. package/dist/flipbook-engine.css +1 -1
  34. package/dist/flipbook-engine.iife.js +51 -55
  35. package/dist/flipbook-engine.iife.js.map +1 -1
  36. package/dist/flipbook-engine.js +10 -6
  37. package/dist/flipbook-engine.js.map +1 -1
  38. package/dist/flipbook-engine.plugins-annotations.js +14 -0
  39. package/dist/flipbook-engine.plugins-annotations.js.map +1 -0
  40. package/dist/flipbook-engine.plugins-bookmarks.js +16 -0
  41. package/dist/flipbook-engine.plugins-bookmarks.js.map +1 -0
  42. package/dist/flipbook-engine.plugins-deep-link.js +14 -0
  43. package/dist/flipbook-engine.plugins-deep-link.js.map +1 -0
  44. package/dist/flipbook-engine.plugins-hotspots.js +15 -0
  45. package/dist/flipbook-engine.plugins-hotspots.js.map +1 -0
  46. package/dist/flipbook-engine.plugins-notes.js +16 -0
  47. package/dist/flipbook-engine.plugins-notes.js.map +1 -0
  48. package/dist/flipbook-engine.plugins-search.js +15 -0
  49. package/dist/flipbook-engine.plugins-search.js.map +1 -0
  50. package/dist/flipbook-engine.plugins-share.js +13 -0
  51. package/dist/flipbook-engine.plugins-share.js.map +1 -0
  52. package/dist/flipbook-engine.plugins-toc.js +14 -0
  53. package/dist/flipbook-engine.plugins-toc.js.map +1 -0
  54. package/dist/flipbook-engine.plugins.js +5 -0
  55. package/dist/flipbook-engine.plugins.js.map +1 -0
  56. package/dist/flipbook-engine.react.js +1 -1
  57. package/dist/flipbook-engine.vue.js +1 -1
  58. package/dist/i18n/locales/en.d.ts +39 -0
  59. package/dist/i18n/locales/tr.d.ts +39 -0
  60. package/dist/i18n/service.d.ts +117 -0
  61. package/dist/index-BhTR2SK6.js +366 -0
  62. package/dist/index-BhTR2SK6.js.map +1 -0
  63. package/dist/index.d.ts +10 -0
  64. package/dist/model/annotations.d.ts +15 -0
  65. package/dist/model/backend.d.ts +8 -0
  66. package/dist/model/hotspots.d.ts +40 -0
  67. package/dist/model/note-editor.d.ts +22 -0
  68. package/dist/model/search.d.ts +25 -0
  69. package/dist/model/text-layer.d.ts +21 -0
  70. package/dist/plugins/annotations.d.ts +4 -0
  71. package/dist/plugins/bookmarks.d.ts +4 -0
  72. package/dist/plugins/deep-link.d.ts +4 -0
  73. package/dist/plugins/feature.d.ts +5 -0
  74. package/dist/plugins/hotspots.d.ts +4 -0
  75. package/dist/plugins/index.d.ts +65 -0
  76. package/dist/plugins/notes.d.ts +4 -0
  77. package/dist/plugins/search.d.ts +4 -0
  78. package/dist/plugins/share.d.ts +4 -0
  79. package/dist/plugins/toc.d.ts +4 -0
  80. package/dist/plugins-annotations.d.ts +1 -0
  81. package/dist/plugins-bookmarks.d.ts +1 -0
  82. package/dist/plugins-deep-link.d.ts +1 -0
  83. package/dist/plugins-hotspots.d.ts +1 -0
  84. package/dist/plugins-notes.d.ts +1 -0
  85. package/dist/plugins-search.d.ts +1 -0
  86. package/dist/plugins-share.d.ts +1 -0
  87. package/dist/plugins-toc.d.ts +1 -0
  88. package/dist/plugins.d.ts +1 -0
  89. package/dist/state/store.d.ts +35 -5
  90. package/dist/vue/index.d.ts +1 -1
  91. package/docs/api-reference.md +228 -0
  92. package/docs/backend-text-layers.md +40 -0
  93. package/docs/frameworks.md +73 -0
  94. package/docs/getting-started.md +128 -0
  95. package/docs/i18n.md +47 -0
  96. package/docs/migration-0.4.0.md +24 -0
  97. package/docs/migration-0.5.0.md +25 -0
  98. package/docs/migration-1.0.0.md +59 -0
  99. package/docs/plugin-architecture.md +103 -0
  100. package/docs/release-checklist.md +37 -0
  101. package/docs/theming.md +61 -0
  102. package/package.json +52 -1
  103. package/dist/engine-DhQ2zxpm.js +0 -3535
  104. package/dist/engine-DhQ2zxpm.js.map +0 -1
@@ -1,9 +1,13 @@
1
- import { F as s, i, a as e, n as l, b as n } from "./engine-DhQ2zxpm.js";
1
+ import { F as e, a as i, c as s, i as l, b as r, n as b, d as p } from "./engine-DD5qEHLm.js";
2
+ import { F as n } from "./index-BhTR2SK6.js";
2
3
  export {
3
- s as FlipbookEngine,
4
- i as isA3Landscape,
5
- e as isFlipbookPageAsset,
6
- l as normalizeFlipbookPages,
7
- n as normalizeFlipbookToc
4
+ e as FlipbookEmbedBridge,
5
+ i as FlipbookEngine,
6
+ n as FlipbookPluginRegistry,
7
+ s as createFlipbookEmbedController,
8
+ l as isA3Landscape,
9
+ r as isFlipbookPageAsset,
10
+ b as normalizeFlipbookPages,
11
+ p as normalizeFlipbookToc
8
12
  };
9
13
  //# sourceMappingURL=flipbook-engine.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"flipbook-engine.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"flipbook-engine.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,14 @@
1
+ import { c as o } from "./feature-Cicli9ie.js";
2
+ /** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */
3
+ function a() {
4
+ return o("annotations", (n) => ({
5
+ get: (t) => n.getAnnotations(t),
6
+ close: () => n.closeAnnotation()
7
+ }));
8
+ }
9
+ const i = a();
10
+ export {
11
+ i as annotationsPlugin,
12
+ a as createAnnotationsPlugin
13
+ };
14
+ //# sourceMappingURL=flipbook-engine.plugins-annotations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins-annotations.js","sources":["../src/plugins/annotations.ts"],"sourcesContent":["/** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */\nimport { createFeaturePlugin } from './feature';\nimport type { FlipbookPlugin } from './index';\n\nexport function createAnnotationsPlugin(): FlipbookPlugin {\n return createFeaturePlugin('annotations', (engine) => ({\n get: (pageIndex?: number) => engine.getAnnotations(pageIndex),\n close: () => engine.closeAnnotation()\n }));\n}\n\nexport const annotationsPlugin = createAnnotationsPlugin();\n"],"names":["createAnnotationsPlugin","createFeaturePlugin","engine","pageIndex","annotationsPlugin"],"mappings":";AAAA;AAIO,SAASA,IAA0C;AACxD,SAAOC,EAAoB,eAAe,CAACC,OAAY;AAAA,IACrD,KAAK,CAACC,MAAuBD,EAAO,eAAeC,CAAS;AAAA,IAC5D,OAAO,MAAMD,EAAO,gBAAA;AAAA,EAAgB,EACpC;AACJ;AAEO,MAAME,IAAoBJ,EAAA;"}
@@ -0,0 +1,16 @@
1
+ import { c as t } from "./feature-Cicli9ie.js";
2
+ /** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */
3
+ function a() {
4
+ return t("bookmarks", (r) => ({
5
+ getAll: () => r.getBookmarkedPages(),
6
+ isBookmarked: (o) => r.isBookmarked(o),
7
+ set: (o, k = !0) => r.setBookmark(o, k),
8
+ toggle: (o) => r.toggleBookmark(o)
9
+ }));
10
+ }
11
+ const m = a();
12
+ export {
13
+ m as bookmarksPlugin,
14
+ a as createBookmarksPlugin
15
+ };
16
+ //# sourceMappingURL=flipbook-engine.plugins-bookmarks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins-bookmarks.js","sources":["../src/plugins/bookmarks.ts"],"sourcesContent":["/** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */\nimport { createFeaturePlugin } from './feature';\nimport type { FlipbookPlugin } from './index';\n\nexport function createBookmarksPlugin(): FlipbookPlugin {\n return createFeaturePlugin('bookmarks', (engine) => ({\n getAll: () => engine.getBookmarkedPages(),\n isBookmarked: (pageIndex?: number) => engine.isBookmarked(pageIndex),\n set: (pageIndex: number, bookmarked = true) => engine.setBookmark(pageIndex, bookmarked),\n toggle: (pageIndex?: number) => engine.toggleBookmark(pageIndex)\n }));\n}\n\nexport const bookmarksPlugin = createBookmarksPlugin();\n"],"names":["createBookmarksPlugin","createFeaturePlugin","engine","pageIndex","bookmarked","bookmarksPlugin"],"mappings":";AAAA;AAIO,SAASA,IAAwC;AACtD,SAAOC,EAAoB,aAAa,CAACC,OAAY;AAAA,IACnD,QAAQ,MAAMA,EAAO,mBAAA;AAAA,IACrB,cAAc,CAACC,MAAuBD,EAAO,aAAaC,CAAS;AAAA,IACnE,KAAK,CAACA,GAAmBC,IAAa,OAASF,EAAO,YAAYC,GAAWC,CAAU;AAAA,IACvF,QAAQ,CAACD,MAAuBD,EAAO,eAAeC,CAAS;AAAA,EAAA,EAC/D;AACJ;AAEO,MAAME,IAAkBL,EAAA;"}
@@ -0,0 +1,14 @@
1
+ import { c as t } from "./feature-Cicli9ie.js";
2
+ /** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */
3
+ function g() {
4
+ return t("deep-link", (r) => ({
5
+ getUrl: (e) => r.getPageUrl(e),
6
+ goToPage: (e) => r.goToPage(e)
7
+ }));
8
+ }
9
+ const n = g();
10
+ export {
11
+ g as createDeepLinkPlugin,
12
+ n as deepLinkPlugin
13
+ };
14
+ //# sourceMappingURL=flipbook-engine.plugins-deep-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins-deep-link.js","sources":["../src/plugins/deep-link.ts"],"sourcesContent":["/** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */\nimport { createFeaturePlugin } from './feature';\nimport type { FlipbookPlugin } from './index';\n\nexport function createDeepLinkPlugin(): FlipbookPlugin {\n return createFeaturePlugin('deep-link', (engine) => ({\n getUrl: (pageIndex?: number) => engine.getPageUrl(pageIndex),\n goToPage: (pageIndex: number) => engine.goToPage(pageIndex)\n }));\n}\n\nexport const deepLinkPlugin = createDeepLinkPlugin();\n"],"names":["createDeepLinkPlugin","createFeaturePlugin","engine","pageIndex","deepLinkPlugin"],"mappings":";AAAA;AAIO,SAASA,IAAuC;AACrD,SAAOC,EAAoB,aAAa,CAACC,OAAY;AAAA,IACnD,QAAQ,CAACC,MAAuBD,EAAO,WAAWC,CAAS;AAAA,IAC3D,UAAU,CAACA,MAAsBD,EAAO,SAASC,CAAS;AAAA,EAAA,EAC1D;AACJ;AAEO,MAAMC,IAAiBJ,EAAA;"}
@@ -0,0 +1,15 @@
1
+ import { c as s } from "./feature-Cicli9ie.js";
2
+ /** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */
3
+ function e() {
4
+ return s("hotspots", (t) => ({
5
+ get: (o) => t.getHotspots(o),
6
+ activate: (o) => t.activateHotspot(o),
7
+ close: () => t.closeHotspot()
8
+ }));
9
+ }
10
+ const a = e();
11
+ export {
12
+ e as createHotspotsPlugin,
13
+ a as hotspotsPlugin
14
+ };
15
+ //# sourceMappingURL=flipbook-engine.plugins-hotspots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins-hotspots.js","sources":["../src/plugins/hotspots.ts"],"sourcesContent":["/** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */\nimport { createFeaturePlugin } from './feature';\nimport type { FlipbookPlugin } from './index';\n\nexport function createHotspotsPlugin(): FlipbookPlugin {\n return createFeaturePlugin('hotspots', (engine) => ({\n get: (pageIndex?: number) => engine.getHotspots(pageIndex),\n activate: (id: string) => engine.activateHotspot(id),\n close: () => engine.closeHotspot()\n }));\n}\n\nexport const hotspotsPlugin = createHotspotsPlugin();\n"],"names":["createHotspotsPlugin","createFeaturePlugin","engine","pageIndex","id","hotspotsPlugin"],"mappings":";AAAA;AAIO,SAASA,IAAuC;AACrD,SAAOC,EAAoB,YAAY,CAACC,OAAY;AAAA,IAClD,KAAK,CAACC,MAAuBD,EAAO,YAAYC,CAAS;AAAA,IACzD,UAAU,CAACC,MAAeF,EAAO,gBAAgBE,CAAE;AAAA,IACnD,OAAO,MAAMF,EAAO,aAAA;AAAA,EAAa,EACjC;AACJ;AAEO,MAAMG,IAAiBL,EAAA;"}
@@ -0,0 +1,16 @@
1
+ import { c as r } from "./feature-Cicli9ie.js";
2
+ /** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */
3
+ function s() {
4
+ return r("notes", (e) => ({
5
+ getAll: () => e.getNotes(),
6
+ get: (t) => e.getNote(t),
7
+ set: (t, o) => e.setNote(t, o),
8
+ clear: (t) => e.clearNote(t)
9
+ }));
10
+ }
11
+ const l = s();
12
+ export {
13
+ s as createNotesPlugin,
14
+ l as notesPlugin
15
+ };
16
+ //# sourceMappingURL=flipbook-engine.plugins-notes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins-notes.js","sources":["../src/plugins/notes.ts"],"sourcesContent":["/** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */\nimport { createFeaturePlugin } from './feature';\nimport type { FlipbookPlugin } from './index';\n\nexport function createNotesPlugin(): FlipbookPlugin {\n return createFeaturePlugin('notes', (engine) => ({\n getAll: () => engine.getNotes(),\n get: (pageIndex?: number) => engine.getNote(pageIndex),\n set: (pageIndex: number, note: string) => engine.setNote(pageIndex, note),\n clear: (pageIndex?: number) => engine.clearNote(pageIndex)\n }));\n}\n\nexport const notesPlugin = createNotesPlugin();\n"],"names":["createNotesPlugin","createFeaturePlugin","engine","pageIndex","note","notesPlugin"],"mappings":";AAAA;AAIO,SAASA,IAAoC;AAClD,SAAOC,EAAoB,SAAS,CAACC,OAAY;AAAA,IAC/C,QAAQ,MAAMA,EAAO,SAAA;AAAA,IACrB,KAAK,CAACC,MAAuBD,EAAO,QAAQC,CAAS;AAAA,IACrD,KAAK,CAACA,GAAmBC,MAAiBF,EAAO,QAAQC,GAAWC,CAAI;AAAA,IACxE,OAAO,CAACD,MAAuBD,EAAO,UAAUC,CAAS;AAAA,EAAA,EACzD;AACJ;AAEO,MAAME,IAAcL,EAAA;"}
@@ -0,0 +1,15 @@
1
+ import { c as a } from "./feature-Cicli9ie.js";
2
+ /** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */
3
+ function t() {
4
+ return a("search", (e) => ({
5
+ search: (r, c) => e.search(r, c),
6
+ clear: () => e.clearSearch(),
7
+ getResults: () => e.getSearchResults()
8
+ }));
9
+ }
10
+ const u = t();
11
+ export {
12
+ t as createSearchPlugin,
13
+ u as searchPlugin
14
+ };
15
+ //# sourceMappingURL=flipbook-engine.plugins-search.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins-search.js","sources":["../src/plugins/search.ts"],"sourcesContent":["/** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */\nimport { createFeaturePlugin } from './feature';\nimport type { FlipbookSearchOptions } from '../model/search';\nimport type { FlipbookPlugin } from './index';\n\nexport function createSearchPlugin(): FlipbookPlugin {\n return createFeaturePlugin('search', (engine) => ({\n search: (query: string, options?: FlipbookSearchOptions) => engine.search(query, options),\n clear: () => engine.clearSearch(),\n getResults: () => engine.getSearchResults()\n }));\n}\n\nexport const searchPlugin = createSearchPlugin();\n"],"names":["createSearchPlugin","createFeaturePlugin","engine","query","options","searchPlugin"],"mappings":";AAAA;AAKO,SAASA,IAAqC;AACnD,SAAOC,EAAoB,UAAU,CAACC,OAAY;AAAA,IAChD,QAAQ,CAACC,GAAeC,MAAoCF,EAAO,OAAOC,GAAOC,CAAO;AAAA,IACxF,OAAO,MAAMF,EAAO,YAAA;AAAA,IACpB,YAAY,MAAMA,EAAO,iBAAA;AAAA,EAAiB,EAC1C;AACJ;AAEO,MAAMG,IAAeL,EAAA;"}
@@ -0,0 +1,13 @@
1
+ import { c as t } from "./feature-Cicli9ie.js";
2
+ /** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */
3
+ function a() {
4
+ return t("share", (e) => ({
5
+ getUrl: (r) => e.getPageUrl(r)
6
+ }));
7
+ }
8
+ const g = a();
9
+ export {
10
+ a as createSharePlugin,
11
+ g as sharePlugin
12
+ };
13
+ //# sourceMappingURL=flipbook-engine.plugins-share.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins-share.js","sources":["../src/plugins/share.ts"],"sourcesContent":["/** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */\nimport { createFeaturePlugin } from './feature';\nimport type { FlipbookPlugin } from './index';\n\nexport function createSharePlugin(): FlipbookPlugin {\n return createFeaturePlugin('share', (engine) => ({\n getUrl: (pageIndex?: number) => engine.getPageUrl(pageIndex)\n }));\n}\n\nexport const sharePlugin = createSharePlugin();\n"],"names":["createSharePlugin","createFeaturePlugin","engine","pageIndex","sharePlugin"],"mappings":";AAAA;AAIO,SAASA,IAAoC;AAClD,SAAOC,EAAoB,SAAS,CAACC,OAAY;AAAA,IAC/C,QAAQ,CAACC,MAAuBD,EAAO,WAAWC,CAAS;AAAA,EAAA,EAC3D;AACJ;AAEO,MAAMC,IAAcJ,EAAA;"}
@@ -0,0 +1,14 @@
1
+ import { c as o } from "./feature-Cicli9ie.js";
2
+ /** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */
3
+ function r() {
4
+ return o("toc", (t) => ({
5
+ get: () => t.getToc(),
6
+ set: (c, e) => t.setToc(c, e)
7
+ }));
8
+ }
9
+ const n = r();
10
+ export {
11
+ r as createTocPlugin,
12
+ n as tocPlugin
13
+ };
14
+ //# sourceMappingURL=flipbook-engine.plugins-toc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins-toc.js","sources":["../src/plugins/toc.ts"],"sourcesContent":["/** @license FlipbookEngine v1.0.0 | SPDX-License-Identifier: AGPL-3.0-or-later */\nimport { createFeaturePlugin } from './feature';\nimport type { FlipbookTocEntry } from '../model/toc';\nimport type { FlipbookPlugin } from './index';\n\nexport function createTocPlugin(): FlipbookPlugin {\n return createFeaturePlugin('toc', (engine) => ({\n get: () => engine.getToc(),\n set: (entries: FlipbookTocEntry[], show?: boolean) => engine.setToc(entries, show)\n }));\n}\n\nexport const tocPlugin = createTocPlugin();\n"],"names":["createTocPlugin","createFeaturePlugin","engine","entries","show","tocPlugin"],"mappings":";AAAA;AAKO,SAASA,IAAkC;AAChD,SAAOC,EAAoB,OAAO,CAACC,OAAY;AAAA,IAC7C,KAAK,MAAMA,EAAO,OAAA;AAAA,IAClB,KAAK,CAACC,GAA6BC,MAAmBF,EAAO,OAAOC,GAASC,CAAI;AAAA,EAAA,EACjF;AACJ;AAEO,MAAMC,IAAYL,EAAA;"}
@@ -0,0 +1,5 @@
1
+ import { F as r } from "./index-BhTR2SK6.js";
2
+ export {
3
+ r as FlipbookPluginRegistry
4
+ };
5
+ //# sourceMappingURL=flipbook-engine.plugins.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flipbook-engine.plugins.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useRef as g, useImperativeHandle as x, useEffect as c } from "react";
3
- import { F as d } from "./engine-DhQ2zxpm.js";
3
+ import { a as d } from "./engine-DD5qEHLm.js";
4
4
  const v = P(({
5
5
  className: a,
6
6
  style: f,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, ref as s, onMounted as g, onBeforeUnmount as P, watch as l, h as c } from "vue";
2
- import { F as h } from "./engine-DhQ2zxpm.js";
2
+ import { a as h } from "./engine-DD5qEHLm.js";
3
3
  const v = d({
4
4
  name: "Flipbook",
5
5
  props: {
@@ -16,7 +16,46 @@ export declare const enMessages: {
16
16
  readonly fullscreen: "Fullscreen";
17
17
  readonly settings: "Settings";
18
18
  readonly downloadCatalog: "Download Catalog";
19
+ readonly share: "Share";
20
+ readonly bookmark: "Bookmark page";
21
+ readonly removeBookmark: "Remove bookmark";
22
+ readonly notes: "Page note";
23
+ readonly saveNote: "Save note";
24
+ readonly clearNote: "Clear note";
25
+ readonly closeNote: "Close note editor";
26
+ readonly editNote: "Edit";
27
+ readonly deleteNote: "Delete";
19
28
  readonly play: "Play";
20
29
  readonly pause: "Pause";
21
30
  readonly tableOfContents: "Table of Contents";
31
+ readonly search: "Search";
32
+ readonly searchPlaceholder: "Search PDF text";
33
+ readonly clearSearch: "Clear";
34
+ readonly closeSearch: "Close search";
35
+ readonly noSearchResults: "No results";
36
+ readonly searchUnavailable: "Text search is available only in Direct PDF mode.";
37
+ readonly closeHotspot: "Close popup";
38
+ readonly annotation: "Page annotation";
39
+ readonly saving: "Saving…";
40
+ readonly noteFailed: "Could not save the note. Your draft is retained; try again.";
41
+ readonly searching: "Searching…";
42
+ readonly searchFailed: "Search failed. Try again.";
43
+ readonly closeContents: "Close table of contents";
44
+ readonly moreActions: "More actions";
45
+ readonly sound: "Sound";
46
+ readonly myNotes: "My notes";
47
+ readonly currentPage: "This page";
48
+ readonly allNotes: "All notes";
49
+ readonly privateNotes: "Your personal notes for this document.";
50
+ readonly noNotes: "No notes yet. Select a place on the page to add your first note.";
51
+ readonly addNote: "Place a note";
52
+ readonly pageHasNote: "This page has a note";
53
+ readonly page: "Page";
54
+ readonly noteSaved: "Saved";
55
+ readonly confirmDeleteNote: "Delete this note?";
56
+ readonly cancel: "Cancel";
57
+ readonly placeNote: "Click or tap a place on the page for your note.";
58
+ readonly keyboardShortcuts: "Keyboard shortcuts";
59
+ readonly textSelection: "Select text";
60
+ readonly resetZoom: "Fit page";
22
61
  };
@@ -16,7 +16,46 @@ export declare const trMessages: {
16
16
  readonly fullscreen: "Tam Ekran";
17
17
  readonly settings: "Ayarlar";
18
18
  readonly downloadCatalog: "Kataloğu İndir";
19
+ readonly share: "Paylaş";
20
+ readonly bookmark: "Sayfayı yer imlerine ekle";
21
+ readonly removeBookmark: "Yer imini kaldır";
22
+ readonly notes: "Sayfa notu";
23
+ readonly saveNote: "Notu kaydet";
24
+ readonly clearNote: "Notu temizle";
25
+ readonly closeNote: "Not editörünü kapat";
26
+ readonly editNote: "Düzenle";
27
+ readonly deleteNote: "Sil";
19
28
  readonly play: "Otomatik Oynat";
20
29
  readonly pause: "Duraklat";
21
30
  readonly tableOfContents: "İçindekiler";
31
+ readonly search: "Ara";
32
+ readonly searchPlaceholder: "PDF metninde ara";
33
+ readonly clearSearch: "Temizle";
34
+ readonly closeSearch: "Aramayı kapat";
35
+ readonly noSearchResults: "Sonuç bulunamadı";
36
+ readonly searchUnavailable: "Metin arama yalnızca Doğrudan PDF modunda desteklenir.";
37
+ readonly closeHotspot: "Açılır pencereyi kapat";
38
+ readonly annotation: "Sayfa açıklaması";
39
+ readonly saving: "Kaydediliyor…";
40
+ readonly noteFailed: "Not kaydedilemedi. Taslağınız korundu; tekrar deneyin.";
41
+ readonly searching: "Aranıyor…";
42
+ readonly searchFailed: "Arama başarısız oldu. Tekrar deneyin.";
43
+ readonly closeContents: "İçindekileri kapat";
44
+ readonly moreActions: "Diğer işlemler";
45
+ readonly sound: "Ses";
46
+ readonly myNotes: "Notlarım";
47
+ readonly currentPage: "Bu sayfa";
48
+ readonly allNotes: "Tüm notlar";
49
+ readonly privateNotes: "Bu belge için kişisel notlarınız.";
50
+ readonly noNotes: "Henüz not yok. İlk notunuz için sayfada bir yer seçin.";
51
+ readonly addNote: "Konuma not ekle";
52
+ readonly pageHasNote: "Bu sayfada not var";
53
+ readonly page: "Sayfa";
54
+ readonly noteSaved: "Kaydedildi";
55
+ readonly confirmDeleteNote: "Bu not silinsin mi?";
56
+ readonly cancel: "Vazgeç";
57
+ readonly placeNote: "Not eklemek için sayfada bir yere tıklayın veya dokunun.";
58
+ readonly keyboardShortcuts: "Klavye kısayolları";
59
+ readonly textSelection: "Metin seçimi";
60
+ readonly resetZoom: "Sayfaya sığdır";
22
61
  };
@@ -5,6 +5,7 @@
5
5
  * https://flipbookengine.com
6
6
  */
7
7
  export interface FlipbookMessages {
8
+ textSelection: string;
8
9
  emptyStateTitle: string;
9
10
  thumbnails: string;
10
11
  singlePageMode: string;
@@ -16,9 +17,47 @@ export interface FlipbookMessages {
16
17
  fullscreen: string;
17
18
  settings: string;
18
19
  downloadCatalog: string;
20
+ share: string;
21
+ bookmark: string;
22
+ removeBookmark: string;
23
+ notes: string;
24
+ saveNote: string;
25
+ clearNote: string;
26
+ closeNote: string;
27
+ editNote: string;
28
+ deleteNote: string;
19
29
  play: string;
20
30
  pause: string;
21
31
  tableOfContents: string;
32
+ search: string;
33
+ searchPlaceholder: string;
34
+ clearSearch: string;
35
+ closeSearch: string;
36
+ noSearchResults: string;
37
+ searchUnavailable: string;
38
+ closeHotspot: string;
39
+ annotation: string;
40
+ saving: string;
41
+ noteFailed: string;
42
+ searching: string;
43
+ searchFailed: string;
44
+ closeContents: string;
45
+ moreActions: string;
46
+ sound: string;
47
+ myNotes: string;
48
+ currentPage: string;
49
+ allNotes: string;
50
+ privateNotes: string;
51
+ noNotes: string;
52
+ addNote: string;
53
+ pageHasNote: string;
54
+ page: string;
55
+ noteSaved: string;
56
+ confirmDeleteNote: string;
57
+ cancel: string;
58
+ placeNote: string;
59
+ keyboardShortcuts: string;
60
+ resetZoom: string;
22
61
  }
23
62
  export declare const builtInMessages: {
24
63
  readonly en: {
@@ -33,9 +72,48 @@ export declare const builtInMessages: {
33
72
  readonly fullscreen: "Fullscreen";
34
73
  readonly settings: "Settings";
35
74
  readonly downloadCatalog: "Download Catalog";
75
+ readonly share: "Share";
76
+ readonly bookmark: "Bookmark page";
77
+ readonly removeBookmark: "Remove bookmark";
78
+ readonly notes: "Page note";
79
+ readonly saveNote: "Save note";
80
+ readonly clearNote: "Clear note";
81
+ readonly closeNote: "Close note editor";
82
+ readonly editNote: "Edit";
83
+ readonly deleteNote: "Delete";
36
84
  readonly play: "Play";
37
85
  readonly pause: "Pause";
38
86
  readonly tableOfContents: "Table of Contents";
87
+ readonly search: "Search";
88
+ readonly searchPlaceholder: "Search PDF text";
89
+ readonly clearSearch: "Clear";
90
+ readonly closeSearch: "Close search";
91
+ readonly noSearchResults: "No results";
92
+ readonly searchUnavailable: "Text search is available only in Direct PDF mode.";
93
+ readonly closeHotspot: "Close popup";
94
+ readonly annotation: "Page annotation";
95
+ readonly saving: "Saving…";
96
+ readonly noteFailed: "Could not save the note. Your draft is retained; try again.";
97
+ readonly searching: "Searching…";
98
+ readonly searchFailed: "Search failed. Try again.";
99
+ readonly closeContents: "Close table of contents";
100
+ readonly moreActions: "More actions";
101
+ readonly sound: "Sound";
102
+ readonly myNotes: "My notes";
103
+ readonly currentPage: "This page";
104
+ readonly allNotes: "All notes";
105
+ readonly privateNotes: "Your personal notes for this document.";
106
+ readonly noNotes: "No notes yet. Select a place on the page to add your first note.";
107
+ readonly addNote: "Place a note";
108
+ readonly pageHasNote: "This page has a note";
109
+ readonly page: "Page";
110
+ readonly noteSaved: "Saved";
111
+ readonly confirmDeleteNote: "Delete this note?";
112
+ readonly cancel: "Cancel";
113
+ readonly placeNote: "Click or tap a place on the page for your note.";
114
+ readonly keyboardShortcuts: "Keyboard shortcuts";
115
+ readonly textSelection: "Select text";
116
+ readonly resetZoom: "Fit page";
39
117
  };
40
118
  readonly tr: {
41
119
  readonly emptyStateTitle: "Veri bulunamadi.";
@@ -49,9 +127,48 @@ export declare const builtInMessages: {
49
127
  readonly fullscreen: "Tam Ekran";
50
128
  readonly settings: "Ayarlar";
51
129
  readonly downloadCatalog: "Kataloğu İndir";
130
+ readonly share: "Paylaş";
131
+ readonly bookmark: "Sayfayı yer imlerine ekle";
132
+ readonly removeBookmark: "Yer imini kaldır";
133
+ readonly notes: "Sayfa notu";
134
+ readonly saveNote: "Notu kaydet";
135
+ readonly clearNote: "Notu temizle";
136
+ readonly closeNote: "Not editörünü kapat";
137
+ readonly editNote: "Düzenle";
138
+ readonly deleteNote: "Sil";
52
139
  readonly play: "Otomatik Oynat";
53
140
  readonly pause: "Duraklat";
54
141
  readonly tableOfContents: "İçindekiler";
142
+ readonly search: "Ara";
143
+ readonly searchPlaceholder: "PDF metninde ara";
144
+ readonly clearSearch: "Temizle";
145
+ readonly closeSearch: "Aramayı kapat";
146
+ readonly noSearchResults: "Sonuç bulunamadı";
147
+ readonly searchUnavailable: "Metin arama yalnızca Doğrudan PDF modunda desteklenir.";
148
+ readonly closeHotspot: "Açılır pencereyi kapat";
149
+ readonly annotation: "Sayfa açıklaması";
150
+ readonly saving: "Kaydediliyor…";
151
+ readonly noteFailed: "Not kaydedilemedi. Taslağınız korundu; tekrar deneyin.";
152
+ readonly searching: "Aranıyor…";
153
+ readonly searchFailed: "Arama başarısız oldu. Tekrar deneyin.";
154
+ readonly closeContents: "İçindekileri kapat";
155
+ readonly moreActions: "Diğer işlemler";
156
+ readonly sound: "Ses";
157
+ readonly myNotes: "Notlarım";
158
+ readonly currentPage: "Bu sayfa";
159
+ readonly allNotes: "Tüm notlar";
160
+ readonly privateNotes: "Bu belge için kişisel notlarınız.";
161
+ readonly noNotes: "Henüz not yok. İlk notunuz için sayfada bir yer seçin.";
162
+ readonly addNote: "Konuma not ekle";
163
+ readonly pageHasNote: "Bu sayfada not var";
164
+ readonly page: "Sayfa";
165
+ readonly noteSaved: "Kaydedildi";
166
+ readonly confirmDeleteNote: "Bu not silinsin mi?";
167
+ readonly cancel: "Vazgeç";
168
+ readonly placeNote: "Not eklemek için sayfada bir yere tıklayın veya dokunun.";
169
+ readonly keyboardShortcuts: "Klavye kısayolları";
170
+ readonly textSelection: "Metin seçimi";
171
+ readonly resetZoom: "Sayfaya sığdır";
55
172
  };
56
173
  };
57
174
  export type FlipbookLocale = keyof typeof builtInMessages;