pptx-vue-viewer 1.1.58 → 1.1.60
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/{dist-B0hxOELM.js → dist-DIAipSld.js} +1 -1
- package/dist/dist-DIAipSld.js.br +0 -0
- package/dist/{dist-B0hxOELM.js.gz → dist-DIAipSld.js.gz} +0 -0
- package/dist/{dist-DMlHEuzV.cjs → dist-Ne_ZOH7N.cjs} +5 -0
- package/dist/dist-Ne_ZOH7N.cjs.br +0 -0
- package/dist/{dist-DMlHEuzV.cjs.gz → dist-Ne_ZOH7N.cjs.gz} +0 -0
- package/dist/gif-encoder-D9mFhxb8.cjs +2 -0
- package/dist/gif-encoder-D9mFhxb8.cjs.br +0 -0
- package/dist/gif-encoder-D9mFhxb8.cjs.gz +0 -0
- package/dist/gif-encoder-neipuMlr.js +2 -0
- package/dist/gif-encoder-neipuMlr.js.br +3 -0
- package/dist/gif-encoder-neipuMlr.js.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +3 -3
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +1 -1
- package/dist/index.js.br +1 -2
- package/dist/index.js.gz +0 -0
- package/dist/viewer/components/SectionList.vue.d.ts +2 -2
- package/dist/viewer/components/SmartArtRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/SmartArtNodeRow.vue.d.ts +41 -0
- package/dist/viewer/components/inspector/SmartArtNodeRow.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/SmartArtPropertiesPanel.vue.d.ts +7 -4
- package/dist/viewer/components/inspector/SmartArtPropertiesPanel.vue.d.ts.map +1 -1
- package/dist/viewer/composables/smartart-editing-constants.d.ts +15 -0
- package/dist/viewer/composables/smartart-editing-constants.d.ts.map +1 -0
- package/dist/viewer/composables/smartart-node-limits.d.ts +45 -0
- package/dist/viewer/composables/smartart-node-limits.d.ts.map +1 -0
- package/dist/viewer/composables/smartart-node-pane-handlers.d.ts +53 -0
- package/dist/viewer/composables/smartart-node-pane-handlers.d.ts.map +1 -0
- package/dist/viewer/composables/useSmartArtEditing.d.ts +33 -14
- package/dist/viewer/composables/useSmartArtEditing.d.ts.map +1 -1
- package/dist/viewer/composables/useSmartArtFocus.d.ts +21 -0
- package/dist/viewer/composables/useSmartArtFocus.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 +1 -1
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-DGEv39Ny.js → viewer-BOeuEVa7.js} +5642 -5282
- package/dist/viewer-BOeuEVa7.js.br +0 -0
- package/dist/viewer-BOeuEVa7.js.gz +0 -0
- package/dist/{viewer-Pr4mhkIE.cjs → viewer-Cm9GkuGX.cjs} +2753 -2393
- package/dist/viewer-Cm9GkuGX.cjs.br +0 -0
- package/dist/viewer-Cm9GkuGX.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/dist-B0hxOELM.js.br +0 -0
- package/dist/dist-DMlHEuzV.cjs.br +0 -0
- package/dist/gif-encoder-CcWUggji.js +0 -2
- package/dist/gif-encoder-CcWUggji.js.br +0 -3
- package/dist/gif-encoder-CcWUggji.js.gz +0 -0
- package/dist/gif-encoder-DumqPjSP.cjs +0 -2
- package/dist/gif-encoder-DumqPjSP.cjs.br +0 -0
- package/dist/gif-encoder-DumqPjSP.cjs.gz +0 -0
- package/dist/viewer-DGEv39Ny.js.br +0 -0
- package/dist/viewer-DGEv39Ny.js.gz +0 -0
- package/dist/viewer-Pr4mhkIE.cjs.br +0 -0
- package/dist/viewer-Pr4mhkIE.cjs.gz +0 -0
|
@@ -50242,4 +50242,4 @@ var bT = class t {
|
|
|
50242
50242
|
return r;
|
|
50243
50243
|
}
|
|
50244
50244
|
};
|
|
50245
|
-
export { Gt as $, Sc as A, pl as B, gp as C, ml as D, Me as E, yl as F, Hx as G, Zx as H, Yx as I, Qs as J, Th as K, zp as L, Ia as M, jt as N, Ce as O, JS as P, zt as Q, qx as R, fp as S, ol as T, Vx as U, ah as V, Kx as W, Ht as X, Vt as Y, bn as Z, Md as _, Op as a, gc as at, bp as b, qg as c, Sv as ct, qt as d, _v as dt, Wt as et, Ot as f, Cv as ft, rp as g,
|
|
50245
|
+
export { Gt as $, Sc as A, pl as B, gp as C, ml as D, Me as E, yl as F, Hx as G, Zx as H, Yx as I, Qs as J, Th as K, zp as L, Ia as M, jt as N, Ce as O, JS as P, zt as Q, qx as R, fp as S, ol as T, Vx as U, ah as V, Kx as W, Ht as X, Vt as Y, bn as Z, Md as _, yc as _t, Op as a, gc as at, bp as b, qg as c, Sv as ct, qt as d, _v as dt, Wt as et, Ot as f, Cv as ft, rp as g, Ld as gt, wn as h, mb as ht, jp as i, bc as it, Pa as j, Te as k, Fd as l, vv as lt, vc as m, Tc as mt, Ks as n, Al as nt, Ac as o, xc as ot, fc as p, Tv as pt, oi as q, $p as r, ha as rt, kn as s, wv as st, qs as t, Vi as tt, Yt as u, Pv as ut, Sp as v, il as w, yp as x, xp as y, tb as z };
|
|
Binary file
|
|
Binary file
|
|
@@ -50593,6 +50593,11 @@ Object.defineProperty(exports, "COLOR_MAP_ALIAS_KEYS", {
|
|
|
50593
50593
|
get: function() {
|
|
50594
50594
|
return Mv;
|
|
50595
50595
|
}
|
|
50596
|
+
}), Object.defineProperty(exports, "setSmartArtNodeStyle", {
|
|
50597
|
+
enumerable: !0,
|
|
50598
|
+
get: function() {
|
|
50599
|
+
return Mc;
|
|
50600
|
+
}
|
|
50596
50601
|
}), Object.defineProperty(exports, "svgPathToPolygons", {
|
|
50597
50602
|
enumerable: !0,
|
|
50598
50603
|
get: function() {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./viewer-
|
|
2
|
+
const e = require("./viewer-Cm9GkuGX.cjs");
|
|
3
3
|
exports.ElementRenderer = e.ElementRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.cn = e.cn, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.provideViewerTheme = e.provideViewerTheme, exports.themeToCssVars = e.themeToCssVars, exports.useThemeStyle = e.useThemeStyle, exports.useViewerTheme = e.useViewerTheme;
|
package/dist/index.cjs.br
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
�
|
|
2
|
-
]
|
|
3
|
-
]
|
|
1
|
+
� ,
|
|
2
|
+
�f���x��2����m]q��4��nItJ9�� (
|
|
3
|
+
N�|{ o��=V7����ްZu��ۓz�� ��@��/�IJ�6�~�}BZʏd5�ҳ܋�H8�k�����&�Cb6�-���)~�� ��H>���o�겉���jٙF=@�����dj�bE�e��WP����~�d1;R�U����]��澚u^N���D����,E=�g&��'6��>y���ry�
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as a, B as s, F as e, I as r, O as i, P as o, a as t, c as n, k as d, o as l, s as m, t as w } from "./viewer-
|
|
1
|
+
import { A as a, B as s, F as e, I as r, O as i, P as o, a as t, c as n, k as d, o as l, s as m, t as w } from "./viewer-BOeuEVa7.js";
|
|
2
2
|
export { n as ElementRenderer, w as PowerPointViewer, t as SlideCanvas, m as SlideStage, l as cn, o as defaultCssVars, e as defaultRadius, r as defaultThemeColors, i as provideViewerTheme, s as themeToCssVars, d as useThemeStyle, a as useViewerTheme };
|
package/dist/index.js.br
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
#��`H�����|AN/��f$#�;�������=��V{:(�7�����s���Y�ø8�+�δjN�F�`~�Z[�F�d��|�t�Ę�=��
|
|
1
|
+
�`��^!�.���[ɢI�?j����N���k����������"�D�%Y����v��LK�$��"��z5@LoBlUx���h�)43�d�j��I��䢲�̿����2P�iեs:\�t�U;rz���43)ܩ\O��M$�SZ#�ŬXZ�bm��zGPv��i_�u��q�5B����#YdS��A>Z��ӽ��
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
|
@@ -16,17 +16,17 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
16
16
|
select: (index: number) => any;
|
|
17
17
|
rename: (sectionId: string, name: string) => any;
|
|
18
18
|
delete: (sectionId: string) => any;
|
|
19
|
-
"toggle-collapse": (sectionId: string) => any;
|
|
20
19
|
"move-up": (sectionId: string) => any;
|
|
21
20
|
"move-down": (sectionId: string) => any;
|
|
21
|
+
"toggle-collapse": (sectionId: string) => any;
|
|
22
22
|
"add-section": (afterSlideIndex: number) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
24
|
onSelect?: ((index: number) => any) | undefined;
|
|
25
25
|
onRename?: ((sectionId: string, name: string) => any) | undefined;
|
|
26
26
|
onDelete?: ((sectionId: string) => any) | undefined;
|
|
27
|
-
"onToggle-collapse"?: ((sectionId: string) => any) | undefined;
|
|
28
27
|
"onMove-up"?: ((sectionId: string) => any) | undefined;
|
|
29
28
|
"onMove-down"?: ((sectionId: string) => any) | undefined;
|
|
29
|
+
"onToggle-collapse"?: ((sectionId: string) => any) | undefined;
|
|
30
30
|
"onAdd-section"?: ((afterSlideIndex: number) => any) | undefined;
|
|
31
31
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartArtRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SmartArtRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SmartArtRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SmartArtRenderer.vue"],"names":[],"mappings":"AAknBA,OAAO,KAAK,EACX,WAAW,EAMX,MAAM,kBAAkB,CAAC;AAqB1B;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAqkBF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { PptxSmartArtNode, PptxSmartArtNodeStyle } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* SmartArtNodeRow: a single editable node row in the SmartArt text pane.
|
|
4
|
+
*
|
|
5
|
+
* Vue port of the React `SmartArtNodeRow.tsx`, extended with per-node visual
|
|
6
|
+
* overrides (fill colour, font colour, bold, italic). Purely presentational:
|
|
7
|
+
* every mutation is routed back through events so the editing logic stays in the
|
|
8
|
+
* parent composable / core ops. Renders as a `role="listitem"` for AT.
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
node: PptxSmartArtNode;
|
|
12
|
+
/** 1-based display number among top-level nodes (0 for child rows). */
|
|
13
|
+
displayIndex: number;
|
|
14
|
+
isChild: boolean;
|
|
15
|
+
canEdit: boolean;
|
|
16
|
+
removeDisabled: boolean;
|
|
17
|
+
moveUpDisabled: boolean;
|
|
18
|
+
moveDownDisabled: boolean;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
remove: (nodeId: string) => any;
|
|
22
|
+
changeText: (nodeId: string, text: string) => any;
|
|
23
|
+
keydownNode: (event: KeyboardEvent, nodeId: string) => any;
|
|
24
|
+
setStyle: (nodeId: string, style: Partial<PptxSmartArtNodeStyle>) => any;
|
|
25
|
+
addSubItem: (nodeId: string) => any;
|
|
26
|
+
moveUp: (nodeId: string) => any;
|
|
27
|
+
moveDown: (nodeId: string) => any;
|
|
28
|
+
registerInput: (nodeId: string, el: HTMLInputElement | null) => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
onRemove?: ((nodeId: string) => any) | undefined;
|
|
31
|
+
onChangeText?: ((nodeId: string, text: string) => any) | undefined;
|
|
32
|
+
onKeydownNode?: ((event: KeyboardEvent, nodeId: string) => any) | undefined;
|
|
33
|
+
onSetStyle?: ((nodeId: string, style: Partial<PptxSmartArtNodeStyle>) => any) | undefined;
|
|
34
|
+
onAddSubItem?: ((nodeId: string) => any) | undefined;
|
|
35
|
+
onMoveUp?: ((nodeId: string) => any) | undefined;
|
|
36
|
+
onMoveDown?: ((nodeId: string) => any) | undefined;
|
|
37
|
+
onRegisterInput?: ((nodeId: string, el: HTMLInputElement | null) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
41
|
+
//# sourceMappingURL=SmartArtNodeRow.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartArtNodeRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/SmartArtNodeRow.vue"],"names":[],"mappings":"AAgNA,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAIhF;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,gBAAgB,CAAC;IACvB,uEAAuE;IACvE,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC1B,CAAC;AAwTF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -3,10 +3,13 @@ import { PptxElement } from 'pptx-viewer-core';
|
|
|
3
3
|
* SmartArtPropertiesPanel: inspector panel for `smartArt` elements.
|
|
4
4
|
*
|
|
5
5
|
* Vue port of the React `SmartArtPropertiesPanel.tsx`. Provides per-node text
|
|
6
|
-
* editing,
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* editing, keyboard structural edits (Enter inserts a sibling, Backspace/Delete
|
|
7
|
+
* removes an empty node, Tab/Shift+Tab demote/promote), focus management after a
|
|
8
|
+
* structural edit, add item / add sub-item, remove, reorder, colour-scheme,
|
|
9
|
+
* style, a layout switcher, per-node visual overrides (fill / font / bold /
|
|
10
|
+
* italic), layout node-count bounds, and read-only awareness of non-tree
|
|
11
|
+
* connections. All logic lives in `useSmartArtEditing` (core ops only); this SFC
|
|
12
|
+
* is thin presentation.
|
|
10
13
|
*
|
|
11
14
|
* Follows the uniform inspector-panel contract: `props { element }`, emits
|
|
12
15
|
* `update` with a shallow `Partial<PptxElement>` patch the host merges via
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartArtPropertiesPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/SmartArtPropertiesPanel.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"SmartArtPropertiesPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/inspector/SmartArtPropertiesPanel.vue"],"names":[],"mappings":"AAAA,OAsNO,KAAK,EACX,WAAW,EAMX,MAAM,kBAAkB,CAAC;AAW1B;;;;;;;;;;;;;;;GAeG;AACH,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAmWH,QAAA,MAAM,YAAY;;;;;aApWN,OAAO;6EAwWjB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SmartArtColorScheme, SmartArtLayoutType, SmartArtStyle } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* Static option lists and layout-label helper for the SmartArt inspector.
|
|
4
|
+
*
|
|
5
|
+
* Extracted from `useSmartArtEditing` so that composable stays within the
|
|
6
|
+
* per-file line budget. Re-exported from the composable barrel for callers that
|
|
7
|
+
* import them from there.
|
|
8
|
+
*
|
|
9
|
+
* @module smartart-editing-constants
|
|
10
|
+
*/
|
|
11
|
+
export declare const SMARTART_COLOR_SCHEMES: readonly SmartArtColorScheme[];
|
|
12
|
+
export declare const SMARTART_STYLE_OPTIONS: readonly SmartArtStyle[];
|
|
13
|
+
/** Title-case fallback for any layout type without an explicit label. */
|
|
14
|
+
export declare function smartArtLayoutLabel(layout: SmartArtLayoutType): string;
|
|
15
|
+
//# sourceMappingURL=smartart-editing-constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smartart-editing-constants.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/smartart-editing-constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE/F;;;;;;;;GAQG;AAEH,eAAO,MAAM,sBAAsB,EAAE,SAAS,mBAAmB,EAMhE,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,SAAS,aAAa,EAAoC,CAAC;AAoBhG,yEAAyE;AACzE,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAEtE"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { SmartArtLayoutType } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* Practical node-count bounds per SmartArt layout category.
|
|
4
|
+
*
|
|
5
|
+
* Vue port of the React `smartart-node-limits.ts`. These are soft, UX-level
|
|
6
|
+
* guards (not hard schema constraints): PowerPoint itself will render most
|
|
7
|
+
* layouts with any number of top-level nodes, but several layouts only make
|
|
8
|
+
* visual sense within a range. Surfacing the bounds lets the properties panel
|
|
9
|
+
* disable add / remove and explain why, instead of silently producing a
|
|
10
|
+
* broken-looking diagram.
|
|
11
|
+
*
|
|
12
|
+
* Bounds apply to the count of *top-level* nodes (items without a parentId),
|
|
13
|
+
* which is what the add / remove affordances in the text pane operate on.
|
|
14
|
+
*
|
|
15
|
+
* Note: this is a shared-extraction candidate. The same table and predicates
|
|
16
|
+
* exist verbatim in the React binding; both should eventually move into
|
|
17
|
+
* `pptx-viewer-shared`.
|
|
18
|
+
*
|
|
19
|
+
* @module smartart-node-limits
|
|
20
|
+
*/
|
|
21
|
+
/** A min/max bound for the number of top-level nodes in a layout. */
|
|
22
|
+
export interface SmartArtNodeBounds {
|
|
23
|
+
/** Minimum sensible number of top-level nodes. */
|
|
24
|
+
readonly min: number;
|
|
25
|
+
/** Maximum sensible number of top-level nodes (undefined = unbounded). */
|
|
26
|
+
readonly max?: number;
|
|
27
|
+
}
|
|
28
|
+
/** Fallback bounds for any layout without an explicit entry. */
|
|
29
|
+
export declare const DEFAULT_BOUNDS: SmartArtNodeBounds;
|
|
30
|
+
/**
|
|
31
|
+
* Resolve the node-count bounds for a given layout category.
|
|
32
|
+
* Returns {@link DEFAULT_BOUNDS} when the layout has no specific table entry.
|
|
33
|
+
*/
|
|
34
|
+
export declare function getSmartArtNodeBounds(layout: SmartArtLayoutType | undefined): SmartArtNodeBounds;
|
|
35
|
+
/** Whether adding another top-level node stays within the layout's max. */
|
|
36
|
+
export declare function canAddTopLevelNode(layout: SmartArtLayoutType | undefined, topLevelCount: number): boolean;
|
|
37
|
+
/** Whether removing a top-level node keeps the count at or above the min. */
|
|
38
|
+
export declare function canRemoveTopLevelNode(layout: SmartArtLayoutType | undefined, topLevelCount: number): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Build a short, human-readable explanation of the bounds for a layout, or
|
|
41
|
+
* `undefined` when the layout imposes no meaningful limit (min <= 1, no max).
|
|
42
|
+
* The returned string is intended as a tooltip / hint, not a hard error.
|
|
43
|
+
*/
|
|
44
|
+
export declare function describeSmartArtBounds(layout: SmartArtLayoutType | undefined): string | undefined;
|
|
45
|
+
//# sourceMappingURL=smartart-node-limits.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smartart-node-limits.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/smartart-node-limits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D;;;;;;;;;;;;;;;;;;GAkBG;AAEH,qEAAqE;AACrE,MAAM,WAAW,kBAAkB;IAClC,kDAAkD;IAClD,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,0EAA0E;IAC1E,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;CACtB;AAyBD,gEAAgE;AAChE,eAAO,MAAM,cAAc,EAAE,kBAA+B,CAAC;AAE7D;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,kBAAkB,GAAG,SAAS,GAAG,kBAAkB,CAKhG;AAED,2EAA2E;AAC3E,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,kBAAkB,GAAG,SAAS,EACtC,aAAa,EAAE,MAAM,GACnB,OAAO,CAGT;AAED,6EAA6E;AAC7E,wBAAgB,qBAAqB,CACpC,MAAM,EAAE,kBAAkB,GAAG,SAAS,EACtC,aAAa,EAAE,MAAM,GACnB,OAAO,CAGT;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,kBAAkB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAYjG"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PptxSmartArtData } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* Pure keyboard / reorder handlers for the SmartArt text pane.
|
|
4
|
+
*
|
|
5
|
+
* Vue port of the React `smartart-node-pane-handlers.ts`. All functions delegate
|
|
6
|
+
* to the core editing ops (which rewire connections and clear drawing shapes)
|
|
7
|
+
* and return either a new {@link PptxSmartArtData} to apply, or `undefined` when
|
|
8
|
+
* the action is a no-op. Keeping this logic out of the composable / SFC keeps
|
|
9
|
+
* them thin and makes the behaviour unit-testable.
|
|
10
|
+
*
|
|
11
|
+
* @module smartart-node-pane-handlers
|
|
12
|
+
*/
|
|
13
|
+
/** Result of a keyboard action: the data to apply plus an optional focus hint. */
|
|
14
|
+
export interface NodePaneKeyResult {
|
|
15
|
+
/** Updated SmartArt data to apply via the element patch. */
|
|
16
|
+
data: PptxSmartArtData;
|
|
17
|
+
/**
|
|
18
|
+
* Node id that should receive focus after the update, when known. For a
|
|
19
|
+
* newly inserted sibling this is the sibling that follows `nodeId`.
|
|
20
|
+
*/
|
|
21
|
+
focusNodeId?: string;
|
|
22
|
+
}
|
|
23
|
+
/** Count of top-level nodes (no parentId) in the data model. */
|
|
24
|
+
export declare function countTopLevel(data: PptxSmartArtData): number;
|
|
25
|
+
/**
|
|
26
|
+
* Enter: insert a sibling node immediately after the current one.
|
|
27
|
+
*
|
|
28
|
+
* Returns the new data and the id of the inserted sibling so the caller can
|
|
29
|
+
* move focus to it.
|
|
30
|
+
*/
|
|
31
|
+
export declare function addSiblingAfter(data: PptxSmartArtData, nodeId: string): NodePaneKeyResult | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Delete / Backspace on an empty node: remove it (when more than one node
|
|
34
|
+
* remains). Returns the previous sibling / node id to focus when available.
|
|
35
|
+
*/
|
|
36
|
+
export declare function removeEmptyNode(data: PptxSmartArtData, nodeId: string): NodePaneKeyResult | undefined;
|
|
37
|
+
/** Tab: demote a node under its preceding sibling (connection-aware). */
|
|
38
|
+
export declare function demoteNode(data: PptxSmartArtData, nodeId: string): PptxSmartArtData | undefined;
|
|
39
|
+
/** Shift+Tab: promote a node to its parent's level (connection-aware). */
|
|
40
|
+
export declare function promoteNode(data: PptxSmartArtData, nodeId: string): PptxSmartArtData | undefined;
|
|
41
|
+
/** Move a node up (-1) or down (+1) within its sibling group. */
|
|
42
|
+
export declare function reorderNode(data: PptxSmartArtData, nodeId: string, direction: 1 | -1): PptxSmartArtData | undefined;
|
|
43
|
+
/** Index of a node among its siblings (nodes sharing its parentId). */
|
|
44
|
+
export declare function siblingIndex(data: PptxSmartArtData, nodeId: string): number;
|
|
45
|
+
/** Number of siblings (including the node itself) sharing its parentId. */
|
|
46
|
+
export declare function siblingCount(data: PptxSmartArtData, nodeId: string): number;
|
|
47
|
+
/**
|
|
48
|
+
* Connections beyond the editable parent/child tree (e.g. `sibTrans`,
|
|
49
|
+
* `presOf`). Surfaced read-only so the user knows the diagram carries
|
|
50
|
+
* relationships the simple text pane does not edit.
|
|
51
|
+
*/
|
|
52
|
+
export declare function extraConnectionCount(data: PptxSmartArtData): number;
|
|
53
|
+
//# sourceMappingURL=smartart-node-pane-handlers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smartart-node-pane-handlers.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/smartart-node-pane-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AASzD;;;;;;;;;;GAUG;AAEH,kFAAkF;AAClF,MAAM,WAAW,iBAAiB;IACjC,4DAA4D;IAC5D,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,gEAAgE;AAChE,wBAAgB,aAAa,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAE5D;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC9B,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,MAAM,GACZ,iBAAiB,GAAG,SAAS,CAQ/B;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC9B,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,MAAM,GACZ,iBAAiB,GAAG,SAAS,CAW/B;AAED,yEAAyE;AACzE,wBAAgB,UAAU,CAAC,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CAG/F;AAED,0EAA0E;AAC1E,wBAAgB,WAAW,CAAC,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CAGhG;AAED,iEAAiE;AACjE,wBAAgB,WAAW,CAC1B,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC,GACf,gBAAgB,GAAG,SAAS,CAG9B;AAED,uEAAuE;AACvE,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAO3E;AAED,2EAA2E;AAC3E,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAM3E;AAKD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAEnE"}
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
import { PptxElement, PptxSmartArtData, PptxSmartArtNode, SmartArtColorScheme, SmartArtLayoutType, SmartArtStyle } from 'pptx-viewer-core';
|
|
2
|
-
import { ComputedRef } from 'vue';
|
|
1
|
+
import { PptxElement, PptxSmartArtData, PptxSmartArtNode, PptxSmartArtNodeStyle, SmartArtColorScheme, SmartArtLayoutType, SmartArtStyle } from 'pptx-viewer-core';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
3
|
/**
|
|
4
|
-
* useSmartArtEditing:
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* (`emit('update', patch)` -> `useEditorOperations.updateElement`). Going
|
|
11
|
-
* through that single history-tracked path keeps undo/redo working.
|
|
4
|
+
* useSmartArtEditing: editing logic for the Vue SmartArt inspector panel,
|
|
5
|
+
* extracted out of the SFC so the component stays thin. Every mutation defers
|
|
6
|
+
* to a real `pptx-viewer-core` op (no re-implementation) and emits a SHALLOW
|
|
7
|
+
* `Partial<PptxElement>` patch (`{ smartArtData }`) through the supplied `apply`
|
|
8
|
+
* callback, matching the inspector-panel contract (`emit('update', patch)` ->
|
|
9
|
+
* `useEditorOperations.updateElement`), so undo/redo keeps working.
|
|
12
10
|
*/
|
|
13
|
-
export
|
|
14
|
-
export declare const SMARTART_STYLE_OPTIONS: readonly SmartArtStyle[];
|
|
15
|
-
/** Title-case fallback for any layout type without an explicit label. */
|
|
16
|
-
export declare function smartArtLayoutLabel(layout: SmartArtLayoutType): string;
|
|
11
|
+
export { SMARTART_COLOR_SCHEMES, SMARTART_STYLE_OPTIONS, smartArtLayoutLabel, } from './smartart-editing-constants';
|
|
17
12
|
/** A node enriched with display metadata for the text-pane list. */
|
|
18
13
|
export interface SmartArtNodeRow {
|
|
19
14
|
node: PptxSmartArtNode;
|
|
15
|
+
/** Zero-based position in the flat node list. */
|
|
20
16
|
index: number;
|
|
17
|
+
/** 1-based display number among top-level nodes (0 for child rows). */
|
|
18
|
+
displayIndex: number;
|
|
21
19
|
isChild: boolean;
|
|
20
|
+
/** Disable the move-up control (already first among siblings). */
|
|
21
|
+
moveUpDisabled: boolean;
|
|
22
|
+
/** Disable the move-down control (already last among siblings). */
|
|
23
|
+
moveDownDisabled: boolean;
|
|
24
|
+
/** Disable the remove control (last node, or layout minimum reached). */
|
|
25
|
+
removeDisabled: boolean;
|
|
22
26
|
}
|
|
23
27
|
export interface UseSmartArtEditingInput {
|
|
24
28
|
/** Current SmartArt data for the selected element. */
|
|
@@ -32,7 +36,20 @@ export interface SmartArtEditingApi {
|
|
|
32
36
|
colorScheme: ComputedRef<SmartArtColorScheme>;
|
|
33
37
|
style: ComputedRef<SmartArtStyle>;
|
|
34
38
|
currentLayout: ComputedRef<SmartArtLayoutType>;
|
|
39
|
+
/** Number of top-level (parent-less) nodes. */
|
|
40
|
+
topLevelCount: ComputedRef<number>;
|
|
41
|
+
/** Whether the layout's max allows another top-level node. */
|
|
42
|
+
canAdd: ComputedRef<boolean>;
|
|
43
|
+
/** Human bounds hint for the active layout, or `undefined`. */
|
|
44
|
+
boundsHint: ComputedRef<string | undefined>;
|
|
45
|
+
/** Count of non-tree connections (read-only awareness note). */
|
|
46
|
+
extraConnections: ComputedRef<number>;
|
|
47
|
+
/** Id of the node input to focus after a structural edit (via input ref + nextTick). */
|
|
48
|
+
pendingFocusId: Ref<string | null>;
|
|
49
|
+
/** Register / unregister a node's `<input>` element for focus management. */
|
|
50
|
+
setInputEl: (nodeId: string, el: HTMLInputElement | null) => void;
|
|
35
51
|
updateNodeText: (nodeId: string, text: string) => void;
|
|
52
|
+
setNodeStyle: (nodeId: string, style: Partial<PptxSmartArtNodeStyle>) => void;
|
|
36
53
|
addItem: () => void;
|
|
37
54
|
addSubItem: (parentId: string) => void;
|
|
38
55
|
removeNode: (nodeId: string) => void;
|
|
@@ -40,6 +57,8 @@ export interface SmartArtEditingApi {
|
|
|
40
57
|
demote: (nodeId: string) => void;
|
|
41
58
|
moveUp: (nodeId: string) => void;
|
|
42
59
|
moveDown: (nodeId: string) => void;
|
|
60
|
+
/** Keyboard handler for a node input (Enter/Backspace/Delete/Tab). */
|
|
61
|
+
onNodeKeyDown: (event: KeyboardEvent, nodeId: string) => void;
|
|
43
62
|
setColorScheme: (scheme: SmartArtColorScheme) => void;
|
|
44
63
|
setStyle: (style: SmartArtStyle) => void;
|
|
45
64
|
switchLayout: (layout: SmartArtLayoutType) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSmartArtEditing.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useSmartArtEditing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSmartArtEditing.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useSmartArtEditing.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Focus management for the SmartArt text-pane node inputs.
|
|
4
|
+
*
|
|
5
|
+
* The SFC registers each node's `<input>` element via {@link SmartArtFocusApi.setInputEl};
|
|
6
|
+
* after a structural edit (add / remove / move / promote / demote) the composable
|
|
7
|
+
* sets `pendingFocusId` and focuses the matching input on the next tick. This is
|
|
8
|
+
* the Vue equivalent of the React `pendingFocusId` ref + `useEffect` pattern.
|
|
9
|
+
*
|
|
10
|
+
* @module useSmartArtFocus
|
|
11
|
+
*/
|
|
12
|
+
export interface SmartArtFocusApi {
|
|
13
|
+
/** Id of the node input that should receive focus after the next render. */
|
|
14
|
+
pendingFocusId: Ref<string | null>;
|
|
15
|
+
/** Register / unregister a node's `<input>` element. */
|
|
16
|
+
setInputEl: (nodeId: string, el: HTMLInputElement | null) => void;
|
|
17
|
+
/** Request focus for `nodeId` (no-op when undefined). */
|
|
18
|
+
focusNode: (nodeId: string | undefined) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare function useSmartArtFocus(): SmartArtFocusApi;
|
|
21
|
+
//# sourceMappingURL=useSmartArtFocus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSmartArtFocus.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useSmartArtFocus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B;;;;;;;;;GASG;AAEH,MAAM,WAAW,gBAAgB;IAChC,4EAA4E;IAC5E,cAAc,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACnC,wDAAwD;IACxD,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IAClE,yDAAyD;IACzD,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CAChD;AAED,wBAAgB,gBAAgB,IAAI,gBAAgB,CA0BnD"}
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../viewer-
|
|
2
|
+
const e = require("../viewer-Cm9GkuGX.cjs");
|
|
3
3
|
exports.ChartRenderer = e.ChartRenderer_default, exports.ConnectorRenderer = e.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 = e.ElementRenderer_default, exports.EquationRenderer = e.EquationRenderer_default, exports.InkRenderer = e.InkRenderer_default, exports.Model3DRenderer = e.Model3DRenderer_default, exports.OleRenderer = e.OleRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.SmartArtRenderer = e.SmartArtRenderer_default, exports.TableRenderer = e.TableRenderer_default, exports.WordArtText = e.WordArtText_default, exports.ZoomRenderer = e.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.getContainerStyle = e.getContainerStyle, exports.getImageSrc = e.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = e.getShapeFillStrokeStyle, exports.getTextBlockStyle = e.getTextBlockStyle, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent;
|
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,2 +1,2 @@
|
|
|
1
|
-
import { C as a, D as s, E as e, M as r, N as n, R as d, S as t, T as o, _ as R, a as i, b as l, c as m, d as S, f as w, g as C, h as p, i as v, j as x, l as E, m as T, n as b, p as c, r as f, s as g, t as h, u as j, v as u, w as A, x as D, y as M, z as P } from "../viewer-
|
|
1
|
+
import { C as a, D as s, E as e, M as r, N as n, R as d, S as t, T as o, _ as R, a as i, b as l, c as m, d as S, f as w, g as C, h as p, i as v, j as x, l as E, m as T, n as b, p as c, r as f, s as g, t as h, u as j, v as u, w as A, x as D, y as M, z as P } from "../viewer-BOeuEVa7.js";
|
|
2
2
|
export { u as ChartRenderer, R as ConnectorRenderer, a as DEFAULT_CANVAS_HEIGHT, A as DEFAULT_CANVAS_WIDTH, o as DEFAULT_FILL_COLOR, e as DEFAULT_STROKE_COLOR, s as DEFAULT_TEXT_COLOR, m as ElementRenderer, C as EquationRenderer, p as InkRenderer, T as Model3DRenderer, c as OleRenderer, h as PowerPointViewer, i as SlideCanvas, g as SlideStage, w as SmartArtRenderer, S as TableRenderer, j as WordArtText, E as ZoomRenderer, x as buildInitialGuides, r as collectImagePaths, n as collectMediaElements, M as getContainerStyle, l as getImageSrc, d as getResolvedShapeClipPath, P as getResolvedShapeClipPathFor, D as getShapeFillStrokeStyle, t as getTextBlockStyle, v as useEditorHistory, f as useEditorOperations, b as useLoadContent };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|