pptx-svelte-viewer 2.17.5 → 2.17.7
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 +4 -0
- package/dist/{AiChatPanel-CcLIB-PG.js → AiChatPanel-Bq7lyp7Y.js} +1 -1
- package/dist/{export-DyTWcQUn.js → export-Dge8UsTR.js} +14642 -14498
- package/dist/index.js +1 -1
- package/dist/viewer/editor/editor-slides-controller.d.ts.map +1 -1
- package/dist/viewer/index.js +1 -1
- package/dist/viewer/render/smartart-view.d.ts +3 -11
- package/dist/viewer/render/smartart-view.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, G as o, H as a, J as t, K as i, Q as r, U as l, W as n, X as S, Y as m, Z as d, a as p, at as v, c as g, et as T, it as h, l as u, nt as k, o as D, ot as c, q as f, rt as x, s as A, t as C, tt as b } from "./export-
|
|
1
|
+
import { $ as e, G as o, H as a, J as t, K as i, Q as r, U as l, W as n, X as S, Y as m, Z as d, a as p, at as v, c as g, et as T, it as h, l as u, nt as k, o as D, ot as c, q as f, rt as x, s as A, t as C, tt as b } from "./export-Dge8UsTR.js";
|
|
2
2
|
import { i as V } from "./translator-CZy5sxU0.js";
|
|
3
3
|
import "./i18n.js";
|
|
4
4
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-slides-controller.d.ts","sourceRoot":"","sources":["../../../src/viewer/editor/editor-slides-controller.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"editor-slides-controller.d.ts","sourceRoot":"","sources":["../../../src/viewer/editor/editor-slides-controller.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AASrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;;;GAOG;AACH,qBAAa,sBAAsB;;gBAGtB,MAAM,EAAE,WAAW;IAI/B,oGAAoG;IACpG,uBAAuB,IAAI,MAAM,GAAG,IAAI;IAYxC;;;;;;;OAOG;IACH,uBAAuB,CACtB,UAAU,EAAE,eAAe,EAC3B,OAAO,GAAE,yBAA8B,GACrC,MAAM,GAAG,IAAI;IAchB,qFAAqF;IACrF,qBAAqB,IAAI,MAAM,GAAG,IAAI;IAkBtC,mGAAmG;IACnG,kBAAkB,IAAI,MAAM,GAAG,IAAI;IAiBnC;;;;OAIG;IACG,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAQrD,gGAAgG;IAC1F,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAyB7D;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAQ1C,uFAAuF;IACvF,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAY5D"}
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, O as a, a as s, c as t, ct as i, d as l, f as S, g as n, i as v, k as o, l as d, n as b, o as c, r as g, s as p, st as x, t as w, u as T } from "../export-
|
|
1
|
+
import { A as e, O as a, a as s, c as t, ct as i, d as l, f as S, g as n, i as v, k as o, l as d, n as b, o as c, r as g, s as p, st as x, t as w, u as T } from "../export-Dge8UsTR.js";
|
|
2
2
|
var m = e, A = o, P = a;
|
|
3
3
|
export {
|
|
4
4
|
w as PowerPointViewer,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SmartArtPptxElement } from 'pptx-viewer-core';
|
|
2
|
-
import { DiagramBuildState, RenderedNode, RenderedShape, SmartArtLayoutResult } from 'pptx-viewer-shared';
|
|
2
|
+
import { DiagramBuildState, RenderedNode, RenderedShape, SmartArtLayoutResult, SvgTextLine } from 'pptx-viewer-shared';
|
|
3
3
|
/**
|
|
4
4
|
* View-model resolution for `smartArt` elements (port of the vanilla
|
|
5
5
|
* binding's `renderSmartArtElement`). Palette / stroke / shadow / layout
|
|
@@ -47,15 +47,7 @@ export declare function smartArtAriaLabel(element: SmartArtPptxElement): string
|
|
|
47
47
|
*/
|
|
48
48
|
export declare function buildSmartArtView(element: SmartArtPptxElement, build?: DiagramBuildState): SmartArtView;
|
|
49
49
|
/** One rendered line of a multi-line SVG label; `y` offsets the node centre. */
|
|
50
|
-
export
|
|
51
|
-
|
|
52
|
-
y: number;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Split node text on `\n` and compute per-line y offsets (in SVG px) that
|
|
56
|
-
* centre the block around the node centre y (offset 0). Single-line text
|
|
57
|
-
* produces one entry with y=0, preserving `dominant-baseline="central"`
|
|
58
|
-
* behaviour exactly (mirrors Vue's / vanilla's `textLines`).
|
|
59
|
-
*/
|
|
50
|
+
export type { SvgTextLine };
|
|
51
|
+
/** Split a label on newlines and centre the block on the node centre (offset 0). */
|
|
60
52
|
export declare function svgTextLines(text: string, fontSize: number): SvgTextLine[];
|
|
61
53
|
//# sourceMappingURL=smartart-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartart-view.d.ts","sourceRoot":"","sources":["../../../src/viewer/render/smartart-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,mBAAmB,EAAiB,MAAM,kBAAkB,CAAC;AAC7F,OAAO,KAAK,EACX,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,oBAAoB,EAEpB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"smartart-view.d.ts","sourceRoot":"","sources":["../../../src/viewer/render/smartart-view.ts"],"names":[],"mappings":"AAAA,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