pptx-vue-viewer 4.67.0 → 4.68.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.
- package/CHANGELOG.md +10 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +2 -2
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-CGI6HR0i.js → useViewerSettingsDialog-4TLUKNb7.js} +1685 -1678
- package/dist/useViewerSettingsDialog-4TLUKNb7.js.br +0 -0
- package/dist/useViewerSettingsDialog-4TLUKNb7.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-BNnWGJwV.cjs → useViewerSettingsDialog-Cyo6m7Lv.cjs} +9 -2
- package/dist/useViewerSettingsDialog-Cyo6m7Lv.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Cyo6m7Lv.cjs.gz +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-DYs723bH.js → viewer-B2N9mnnH.js} +6161 -6166
- package/dist/viewer-B2N9mnnH.js.br +0 -0
- package/dist/viewer-B2N9mnnH.js.gz +0 -0
- package/dist/{viewer-B-B4pL2o.cjs → viewer-oYTy0IUg.cjs} +6 -11
- package/dist/viewer-oYTy0IUg.cjs.br +0 -0
- package/dist/viewer-oYTy0IUg.cjs.gz +0 -0
- package/dist/{y-webrtc-D9l3ByiO.cjs → y-webrtc-B_3jGDE-.cjs} +1 -1
- package/dist/y-webrtc-B_3jGDE-.cjs.br +0 -0
- package/dist/y-webrtc-B_3jGDE-.cjs.gz +0 -0
- package/dist/{y-webrtc-BxRkXfn3.js → y-webrtc-DZi_5IuP.js} +1 -1
- package/dist/y-webrtc-DZi_5IuP.js.br +0 -0
- package/dist/y-webrtc-DZi_5IuP.js.gz +0 -0
- package/package.json +3 -3
- package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-CGI6HR0i.js.br +0 -0
- package/dist/useViewerSettingsDialog-CGI6HR0i.js.gz +0 -0
- package/dist/viewer-B-B4pL2o.cjs.br +0 -0
- package/dist/viewer-B-B4pL2o.cjs.gz +0 -0
- package/dist/viewer-DYs723bH.js.br +0 -0
- package/dist/viewer-DYs723bH.js.gz +0 -0
- package/dist/y-webrtc-BxRkXfn3.js.br +0 -0
- package/dist/y-webrtc-BxRkXfn3.js.gz +0 -0
- package/dist/y-webrtc-D9l3ByiO.cjs.br +0 -0
- package/dist/y-webrtc-D9l3ByiO.cjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-Cyo6m7Lv.cjs"), t = require("./useController-CYBNpWy-.cjs"), n = require("./ai-8VTpsXre.cjs"), o = require("./useAiPanelController-aOhIHxkq.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let a = require("ooxml-ui/pptx"), l = require("vue"), r = require("lucide-vue-next"), i = require("ooxml-ui/pptx/ai/host"), s = require("ooxml-ui/pptx/i18n");
|
|
4
4
|
var c = Symbol("pptx-viewer-theme");
|
|
@@ -678,8 +678,8 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
|
|
|
678
678
|
}
|
|
679
679
|
t.focus(), (0, a.placeCaretAt)(t, (0, a.takePendingCaretPoint)()), n && e && (0, a.restoreInlineListBodySelection)(n, t, e);
|
|
680
680
|
}
|
|
681
|
-
function y() {
|
|
682
|
-
p || s("change", g());
|
|
681
|
+
function y(e) {
|
|
682
|
+
p || ("insertParagraph" === e.inputType && c.value && (0, a.markInsertedParagraph)(document, c.value), s("change", g()));
|
|
683
683
|
}
|
|
684
684
|
function h() {
|
|
685
685
|
if (!v && !m) {
|
|
@@ -712,13 +712,8 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
|
|
|
712
712
|
const n = (0, a.mapInlineEditorChord)(e);
|
|
713
713
|
if (n) return e.preventDefault(), e.stopPropagation(), void ("commit" === n && c.value?.blur());
|
|
714
714
|
"Enter" !== e.key || p && (!u || d.value) || function() {
|
|
715
|
-
const e =
|
|
716
|
-
|
|
717
|
-
const { startContainer: n, startOffset: o } = e.getRangeAt(0);
|
|
718
|
-
if (n.nodeType !== Node.TEXT_NODE || 0 === o) return;
|
|
719
|
-
if (" " !== (n.textContent ?? "").charAt(o - 1)) return;
|
|
720
|
-
const a = document.createRange();
|
|
721
|
-
a.setStart(n, o - 1), a.setEnd(n, o), u ? u.mutate(a, () => a.deleteContents()) : a.deleteContents();
|
|
715
|
+
const e = (0, a.spaceBeforeCaretRange)(document);
|
|
716
|
+
e && (u ? u.mutate(e, () => e.deleteContents()) : e.deleteContents());
|
|
722
717
|
}();
|
|
723
718
|
}
|
|
724
719
|
return (0, l.onMounted)(() => x()), (0, l.onBeforeUnmount)(() => {
|
|
@@ -2870,7 +2865,7 @@ var so = Symbol("pptx-viewer-storage");
|
|
|
2870
2865
|
function co() {
|
|
2871
2866
|
return (0, l.inject)(so, () => {});
|
|
2872
2867
|
}
|
|
2873
|
-
var po = "4.
|
|
2868
|
+
var po = "4.68.0", uo = Symbol("pptx-account-auth");
|
|
2874
2869
|
var mo = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, vo = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, go = { class: "text-base font-semibold" }, fo = { class: "mt-4 flex items-center gap-4" }, xo = { class: "min-w-0 flex-1" }, yo = { class: "block text-xs font-medium text-muted-foreground" }, ho = ["value", "placeholder"], bo = { class: "mt-4" }, ko = { class: "block text-xs font-medium text-muted-foreground" }, So = { class: "mt-2 flex gap-2" }, Eo = [
|
|
2875
2870
|
"aria-pressed",
|
|
2876
2871
|
"aria-label",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Mr as e, Nr as t, jr as n } from "./useViewerSettingsDialog-
|
|
1
|
+
import { Mr as e, Nr as t, jr as n } from "./useViewerSettingsDialog-4TLUKNb7.js";
|
|
2
2
|
import * as r from "yjs";
|
|
3
3
|
var i = () => /* @__PURE__ */ new Map(), s = (e, t, n) => {
|
|
4
4
|
let r = e.get(t);
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-vue-viewer",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.68.0",
|
|
4
4
|
"description": "pptx-viewer for Vue 3: a PowerPoint viewer and editor component to render, edit, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"editor",
|
|
@@ -124,8 +124,8 @@
|
|
|
124
124
|
"html2canvas-pro": "^2.5.4",
|
|
125
125
|
"jspdf": "^4.2.1",
|
|
126
126
|
"lucide-vue-next": "^1.0.0",
|
|
127
|
-
"ooxml-core": "^1.
|
|
128
|
-
"ooxml-ui": "^1.
|
|
127
|
+
"ooxml-core": "^1.44.0",
|
|
128
|
+
"ooxml-ui": "^1.47.0",
|
|
129
129
|
"opentype.js": "^2.0.0",
|
|
130
130
|
"tailwind-merge": "^3.7.0"
|
|
131
131
|
},
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|