pptx-vue-viewer 3.0.2 → 3.0.3
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 +6 -0
- package/dist/{AiChatPanel-CFKJeY-S.js → AiChatPanel-C7raOp_I.js} +2 -2
- package/dist/AiChatPanel-C7raOp_I.js.br +0 -0
- package/dist/AiChatPanel-C7raOp_I.js.gz +0 -0
- package/dist/{AiChatPanel-U41tqJtC.cjs → AiChatPanel-CkqkO-KQ.cjs} +1 -1
- package/dist/AiChatPanel-CkqkO-KQ.cjs.br +0 -0
- package/dist/AiChatPanel-CkqkO-KQ.cjs.gz +0 -0
- package/dist/gif-encoder-C2DugKeK.js +2 -0
- package/dist/gif-encoder-C2DugKeK.js.br +0 -0
- package/dist/gif-encoder-C2DugKeK.js.gz +0 -0
- package/dist/gif-encoder-C2ctKqky.cjs +2 -0
- package/dist/gif-encoder-C2ctKqky.cjs.br +0 -0
- package/dist/gif-encoder-C2ctKqky.cjs.gz +0 -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 +3 -3
- 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 +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-BwPALPfo.cjs → useViewerSettingsDialog-BTA3SFi6.cjs} +1920 -1902
- package/dist/useViewerSettingsDialog-BTA3SFi6.cjs.br +0 -0
- package/dist/{useViewerSettingsDialog-BwPALPfo.cjs.gz → useViewerSettingsDialog-BTA3SFi6.cjs.gz} +0 -0
- package/dist/{useViewerSettingsDialog-DDQvhhvK.js → useViewerSettingsDialog-jQGeog3N.js} +1648 -1635
- package/dist/useViewerSettingsDialog-jQGeog3N.js.br +0 -0
- package/dist/{useViewerSettingsDialog-DDQvhhvK.js.gz → useViewerSettingsDialog-jQGeog3N.js.gz} +0 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementRenderer.vue.d.ts +13 -0
- package/dist/viewer/components/ElementRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/InlineTextEditor.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideCanvas.vue.d.ts +6 -0
- package/dist/viewer/components/SlideCanvas.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideStage.vue.d.ts +7 -0
- package/dist/viewer/components/SlideStage.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/DrawingGroup.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/EditingSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/FontFamilyMenu.vue.d.ts +2 -0
- package/dist/viewer/components/ribbon/FontFamilyMenu.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/HomeSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/InsertSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/LayoutGalleryMenu.vue.d.ts +2 -0
- package/dist/viewer/components/ribbon/LayoutGalleryMenu.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ParagraphDropdowns.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/SlideShowSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/SlidesGroup.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/TextSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/anchored-popup.d.ts +23 -0
- package/dist/viewer/components/ribbon/anchored-popup.d.ts.map +1 -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 +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-DiY5zqg0.js → viewer-D7zJSsRN.js} +9866 -9810
- package/dist/viewer-D7zJSsRN.js.br +0 -0
- package/dist/viewer-D7zJSsRN.js.gz +0 -0
- package/dist/{viewer-CnLyS1fM.cjs → viewer-V0-i3fHu.cjs} +4857 -4801
- package/dist/viewer-V0-i3fHu.cjs.br +0 -0
- package/dist/viewer-V0-i3fHu.cjs.gz +0 -0
- package/package.json +2 -2
- package/dist/AiChatPanel-CFKJeY-S.js.br +0 -0
- package/dist/AiChatPanel-CFKJeY-S.js.gz +0 -0
- package/dist/AiChatPanel-U41tqJtC.cjs.br +0 -0
- package/dist/AiChatPanel-U41tqJtC.cjs.gz +0 -0
- package/dist/gif-encoder-BTGLAe_J.cjs +0 -2
- package/dist/gif-encoder-BTGLAe_J.cjs.br +0 -0
- package/dist/gif-encoder-BTGLAe_J.cjs.gz +0 -0
- package/dist/gif-encoder-hppHqnVV.js +0 -2
- package/dist/gif-encoder-hppHqnVV.js.br +0 -0
- package/dist/gif-encoder-hppHqnVV.js.gz +0 -0
- package/dist/useViewerSettingsDialog-BwPALPfo.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-DDQvhhvK.js.br +0 -0
- package/dist/viewer-CnLyS1fM.cjs.br +0 -0
- package/dist/viewer-CnLyS1fM.cjs.gz +0 -0
- package/dist/viewer-DiY5zqg0.js.br +0 -0
- package/dist/viewer-DiY5zqg0.js.gz +0 -0
|
Binary file
|
package/dist/{useViewerSettingsDialog-DDQvhhvK.js.gz → useViewerSettingsDialog-jQGeog3N.js.gz}
RENAMED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"AA2tDA,OAAO,KAAK,EAAyB,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAukEpG,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -38,6 +38,19 @@ type __VLS_Props = {
|
|
|
38
38
|
* group's render branch so a child painted with `a:grpFill` inherits it.
|
|
39
39
|
*/
|
|
40
40
|
parentGroupFill?: ShapeStyle;
|
|
41
|
+
/**
|
|
42
|
+
* The element currently open in the element-level inline text editor
|
|
43
|
+
* (`InlineTextEditor.vue`, mounted separately in `ViewerCanvasOverlays.vue`),
|
|
44
|
+
* or `null`/`undefined` when nothing is being edited.
|
|
45
|
+
*
|
|
46
|
+
* Mirrors React's `ElementBody.renderBody`, which swaps its static text
|
|
47
|
+
* render out for `InlineTextEditor` while `isEditing` is true rather than
|
|
48
|
+
* layering the two: without this, this renderer kept painting the element's
|
|
49
|
+
* normal text UNDERNEATH the editor overlay, and the editor's own
|
|
50
|
+
* translucent background let it show through as a duplicate, offset "text
|
|
51
|
+
* shadow" (issue #182).
|
|
52
|
+
*/
|
|
53
|
+
inlineEditingElementId?: string | null;
|
|
41
54
|
};
|
|
42
55
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
43
56
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElementRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ElementRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementRenderer.vue"],"names":[],"mappings":"AA+eA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AA6ChE;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wEAAwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B;;;;;;;;;;;OAWG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC,CAAC;AAuoBF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineTextEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/InlineTextEditor.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"InlineTextEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/InlineTextEditor.vue"],"names":[],"mappings":"AAAA,OA+MO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQ/D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,WAAW,CAAC;IACrB,wFAAwF;IACxF,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAqMH,QAAA,MAAM,YAAY;;;;;;;;;;;gBAtMH,OAAO;6EA0MpB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -44,6 +44,12 @@ type __VLS_Props = {
|
|
|
44
44
|
* and gain a visual affordance. Threaded down to {@link SlideStage}.
|
|
45
45
|
*/
|
|
46
46
|
editTemplateMode?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The element currently open in the element-level inline text editor;
|
|
49
|
+
* threaded down to {@link SlideStage} so it can suppress that element's own
|
|
50
|
+
* static text render while the editor overlay draws it instead.
|
|
51
|
+
*/
|
|
52
|
+
inlineEditingElementId?: string | null;
|
|
47
53
|
};
|
|
48
54
|
declare var __VLS_14: {};
|
|
49
55
|
type __VLS_Slots = {} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideCanvas.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideCanvas.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideCanvas.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideCanvas.vue"],"names":[],"mappings":"AA4KA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAO/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAI3C;;;;;;;;;;;;;GAaG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iFAAiF;IACjF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gFAAgF;IAChF,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACrF,+DAA+D;IAC/D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC,CAAC;AA4KF,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -65,6 +65,13 @@ type __VLS_Props = {
|
|
|
65
65
|
* behind a flat slab for the entire transition.
|
|
66
66
|
*/
|
|
67
67
|
transparentBackground?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* The element currently open in the element-level inline text editor
|
|
70
|
+
* (mounted as a slotted overlay by the host), threaded down so
|
|
71
|
+
* `ElementRenderer` can suppress its own text render for that one element
|
|
72
|
+
* instead of duplicating it underneath the editor (issue #182).
|
|
73
|
+
*/
|
|
74
|
+
inlineEditingElementId?: string | null;
|
|
68
75
|
};
|
|
69
76
|
declare var __VLS_11: {};
|
|
70
77
|
type __VLS_Slots = {} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideStage.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideStage.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideStage.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideStage.vue"],"names":[],"mappings":"AA0OA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAc/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;;;;;OASG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC,CAAC;AA0LH,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOhD,QAAA,MAAM,UAAU;WAjPN,MAAM;6EAoPd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawingGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/DrawingGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawingGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/DrawingGroup.vue"],"names":[],"mappings":"AAmPA;;;;GAIG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAOhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGzD,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACtD,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CAC5D;AAyaD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditingSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/EditingSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditingSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/EditingSection.vue"],"names":[],"mappings":"AAwGA,UAAU,KAAK;IACd,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAgKD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -8,6 +8,8 @@ type __VLS_Props = {
|
|
|
8
8
|
embeddedFonts?: readonly string[];
|
|
9
9
|
/** Families registered this session from File > Options > Fonts. */
|
|
10
10
|
customFonts?: readonly string[];
|
|
11
|
+
/** The trigger button this menu hangs below (position: fixed anchor; see `anchored-popup.ts`). */
|
|
12
|
+
anchor?: HTMLElement | null;
|
|
11
13
|
};
|
|
12
14
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
15
|
select: (family: string) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FontFamilyMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/FontFamilyMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FontFamilyMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/FontFamilyMenu.vue"],"names":[],"mappings":"AA6FA,KAAK,WAAW,GAAG;IAClB,uEAAuE;IACvE,UAAU,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,wDAAwD;IACxD,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,oEAAoE;IACpE,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,kGAAkG;IAClG,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC5B,CAAC;AAoHF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HomeSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/HomeSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HomeSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/HomeSection.vue"],"names":[],"mappings":"AA4RA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAkB1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI5E,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,uBAAuB,GAAG,IAAI,CAAC;IACjD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,gDAAgD;IAChD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IACxD,uBAAuB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,yBAAyB,CAAC,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;IAClE,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACrC,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IACxD,gEAAgE;IAChE,UAAU,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,qEAAqE;IACrE,oBAAoB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,mEAAmE;IACnE,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AA+bD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsertSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/InsertSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InsertSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/InsertSection.vue"],"names":[],"mappings":"AAmpBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAQ1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,YAAY,EAAE,OAAO,CAAC;IACtB,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,YAAY,EAAE,kBAAkB,CAAC;IACjC,iBAAiB,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACtD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,eAAe,KAAK,IAAI,CAAC;IAClD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAg/BD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -5,6 +5,8 @@ type __VLS_Props = {
|
|
|
5
5
|
previews: ReadonlyMap<string, PptxLayoutPreview>;
|
|
6
6
|
/** Marks the active tile. Omitted by New Slide, which has no "current". */
|
|
7
7
|
currentLayoutPath?: string;
|
|
8
|
+
/** The trigger button this menu hangs below (position: fixed anchor; see `anchored-popup.ts`). */
|
|
9
|
+
anchor?: HTMLElement | null;
|
|
8
10
|
};
|
|
9
11
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
12
|
select: (layout: PptxLayoutOption) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutGalleryMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/LayoutGalleryMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LayoutGalleryMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/LayoutGalleryMenu.vue"],"names":[],"mappings":"AA4IA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAa,MAAM,kBAAkB,CAAC;AAgBvF,KAAK,WAAW,GAAG;IAClB,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,qEAAqE;IACrE,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IACjD,2EAA2E;IAC3E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kGAAkG;IAClG,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC5B,CAAC;AA6LF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParagraphDropdowns.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ParagraphDropdowns.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ParagraphDropdowns.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/ParagraphDropdowns.vue"],"names":[],"mappings":"AAwLA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAOlD,UAAU,KAAK;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;CACzD;AAgTD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlideShowSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/SlideShowSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlideShowSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/SlideShowSection.vue"],"names":[],"mappings":"AAqOA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG3E,UAAU,KAAK;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC;;;OAGG;IACH,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,0EAA0E;IAC1E,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,8EAA8E;IAC9E,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,qFAAqF;IACrF,aAAa,CAAC,EAAE,eAAe,EAAE,CAAC;IAClC,mEAAmE;IACnE,sBAAsB,CAAC,EAAE,0BAA0B,CAAC;IACpD,0EAA0E;IAC1E,8BAA8B,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,0BAA0B,CAAC,KAAK,IAAI,CAAC;CACxF;AA+YD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlidesGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/SlidesGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlidesGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/SlidesGroup.vue"],"names":[],"mappings":"AA4NA,OAAO,KAAK,EAAoB,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAQ1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,gDAAgD;IAChD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IACxD,uBAAuB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,yBAAyB,CAAC,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;IAClE,0EAA0E;IAC1E,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AA2WD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TextSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TextSection.vue"],"names":[],"mappings":"AA2qBA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAG3D,UAAU,KAAK;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,gBAAgB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC/C,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IACzD,mBAAmB,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;CACpD;AA69BD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Directive } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* `v-anchored-popup="{ anchor }"` - pins a ribbon dropdown/popover to its
|
|
4
|
+
* trigger with `position: fixed`, so it escapes the ribbon content row's
|
|
5
|
+
* `overflow-x: auto` clip (the horizontal scroll container otherwise crops
|
|
6
|
+
* any `position: absolute` popup to the row's own height, or the popup's
|
|
7
|
+
* layout pushes the row wide instead - issue #183). Mirrors React's
|
|
8
|
+
* `RibbonMenu` and the Svelte binding's `anchoredPopup` action; the geometry
|
|
9
|
+
* itself comes from the shared, framework-agnostic
|
|
10
|
+
* `computeAnchoredPopupPosition`.
|
|
11
|
+
*
|
|
12
|
+
* Coordinates re-sync on mount/update, on the anchor's `mouseenter` (these
|
|
13
|
+
* popovers are shown via CSS `:hover`, not a JS open flag), on any scroll
|
|
14
|
+
* (capture phase, so ancestor scrolls count), and on window resize.
|
|
15
|
+
*/
|
|
16
|
+
export interface AnchoredPopupBinding {
|
|
17
|
+
/** The trigger element the popup hangs below (its left/right/bottom edges are tracked). */
|
|
18
|
+
anchor: HTMLElement | null | undefined;
|
|
19
|
+
/** Align the popup's right edge to the anchor's right edge instead of left. */
|
|
20
|
+
alignRight?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const vAnchoredPopup: Directive<HTMLElement, AnchoredPopupBinding>;
|
|
23
|
+
//# sourceMappingURL=anchored-popup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchored-popup.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/anchored-popup.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,oBAAoB;IACpC,2FAA2F;IAC3F,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB;AAwCD,eAAO,MAAM,cAAc,EAAE,SAAS,CAAC,WAAW,EAAE,oBAAoB,CAOvE,CAAC"}
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../useViewerSettingsDialog-
|
|
2
|
+
const e = require("../useViewerSettingsDialog-BTA3SFi6.cjs"), t = require("../viewer-V0-i3fHu.cjs");
|
|
3
3
|
exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.ChartRenderer = t.ChartRenderer_default, exports.CollaborationCursors = t.CollaborationCursors_default, exports.CollaborationStatusIndicator = t.CollaborationStatusIndicator_default, exports.ConnectorRenderer = t.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = t.ElementRenderer_default, exports.EquationRenderer = t.EquationRenderer_default, exports.FollowModeBar = t.FollowModeBar_default, exports.InkRenderer = t.InkRenderer_default, exports.Model3DRenderer = t.Model3DRenderer_default, exports.OleRenderer = t.OleRenderer_default, exports.PowerPointViewer = t.PowerPointViewer_default, exports.RemoteSelectionOverlay = t.RemoteSelectionOverlay_default, exports.RibbonToolbar = t.RibbonToolbar_default, exports.SlideCanvas = t.SlideCanvas_default, exports.SlideStage = t.SlideStage_default, exports.SmartArtRenderer = t.SmartArtRenderer_default, exports.TableRenderer = t.TableRenderer_default, exports.WordArtText = t.WordArtText_default, exports.ZoomRenderer = t.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.clearAudienceContent = e.clearAudienceContent, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.getContainerStyle = t.getContainerStyle, exports.getImageSrc = t.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = t.getShapeFillStrokeStyle, exports.getTextBlockStyle = t.getTextBlockStyle, exports.isAudienceTab = e.isAudienceTab, exports.loadAudienceContent = e.loadAudienceContent, exports.parseAudienceNonce = e.parseAudienceNonce, exports.storeAudienceContent = e.storeAudienceContent, exports.useCollaboration = e.useCollaboration, exports.useCollaborativeHistory = t.useCollaborativeHistory, exports.useCollaborativeState = t.useCollaborativeState, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent, exports.usePresenceTracking = t.usePresenceTracking, exports.useYjsProvider = t.useYjsProvider;
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $s as a, C as s,
|
|
2
|
-
import { A, B as
|
|
3
|
-
export {
|
|
1
|
+
import { $s as a, C as s, Gc as e, J as r, Pl as o, S as n, X as t, Xa as d, _n as l, bc as i, ca as R, cn as S, dn as c, ec as m, it as C, j as b, ln as w, no as u, sn as j, to as P, un as T, w as g, wd as p, x as v } from "../useViewerSettingsDialog-jQGeog3N.js";
|
|
2
|
+
import { A as x, B as A, C as D, D as E, E as I, F as M, I as O, L as V, M as f, N as k, O as B, P as F, R as X, S as h, T as q, V as y, a as z, d as G, i as J, j as L, k as N, l as W, n as Z, r as $, t as _, u as H, z as K } from "../viewer-D7zJSsRN.js";
|
|
3
|
+
export { l as AUDIENCE_HASH, O as ChartRenderer, G as CollaborationCursors, y as CollaborationStatusIndicator, M as ConnectorRenderer, j as DEFAULT_CANVAS_HEIGHT, S as DEFAULT_CANVAS_WIDTH, w as DEFAULT_FILL_COLOR, T as DEFAULT_STROKE_COLOR, c as DEFAULT_TEXT_COLOR, I as ElementRenderer, F as EquationRenderer, W as FollowModeBar, k as InkRenderer, f as Model3DRenderer, L as OleRenderer, z as PowerPointViewer, H as RemoteSelectionOverlay, D as RibbonToolbar, h as SlideCanvas, q as SlideStage, x as SmartArtRenderer, N as TableRenderer, B as WordArtText, E as ZoomRenderer, R as buildInitialGuides, d as clearAudienceContent, P as collectImagePaths, u as collectMediaElements, v as exportAllSlidesToSvg, n as exportAllSlidesToSvgBlobs, s as exportSlideToSvg, g as exportSlideToSvgBlob, V as getContainerStyle, X as getImageSrc, a as getResolvedShapeClipPath, m as getResolvedShapeClipPathFor, K as getShapeFillStrokeStyle, A as getTextBlockStyle, i as isAudienceTab, e as loadAudienceContent, o as parseAudienceNonce, p as storeAudienceContent, C as useCollaboration, _ as useCollaborativeHistory, Z as useCollaborativeState, t as useEditorHistory, r as useEditorOperations, b as useLoadContent, $ as usePresenceTracking, J as useYjsProvider };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|