pptx-react-viewer 4.29.0 → 4.30.1
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 +72 -0
- package/README.md +37 -36
- package/dist/{AiChatPanel-AK6X4NJD.js → AiChatPanel-7XZQQZ4P.js} +9 -9
- package/dist/AiChatPanel-7XZQQZ4P.js.br +0 -0
- package/dist/AiChatPanel-7XZQQZ4P.js.gz +0 -0
- package/dist/{AiChatPanel-6EIOUV7J.mjs → AiChatPanel-XI272UTZ.mjs} +1 -1
- package/dist/AiChatPanel-XI272UTZ.mjs.br +0 -0
- package/dist/AiChatPanel-XI272UTZ.mjs.gz +0 -0
- package/dist/{chunk-K3EGXT6W.js → chunk-355ICDU6.js} +262 -258
- package/dist/chunk-355ICDU6.js.br +0 -0
- package/dist/chunk-355ICDU6.js.gz +0 -0
- package/dist/{chunk-VI575UU6.mjs → chunk-ATGP75C4.mjs} +66 -56
- package/dist/chunk-ATGP75C4.mjs.br +0 -0
- package/dist/chunk-ATGP75C4.mjs.gz +0 -0
- package/dist/{chunk-EW45F35P.mjs → chunk-CHZJORUW.mjs} +19 -15
- package/dist/chunk-CHZJORUW.mjs.br +0 -0
- package/dist/chunk-CHZJORUW.mjs.gz +0 -0
- package/dist/{chunk-6YOFWVII.mjs → chunk-FPACF36E.mjs} +16 -15
- package/dist/chunk-FPACF36E.mjs.br +0 -0
- package/dist/chunk-FPACF36E.mjs.gz +0 -0
- package/dist/{chunk-7JMO6R6B.js → chunk-M2AKDETN.js} +396 -395
- package/dist/chunk-M2AKDETN.js.br +0 -0
- package/dist/chunk-M2AKDETN.js.gz +0 -0
- package/dist/{chunk-CTL42ZRR.js → chunk-XRFJ7TAF.js} +65 -55
- package/dist/chunk-XRFJ7TAF.js.br +0 -0
- package/dist/chunk-XRFJ7TAF.js.gz +0 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +24 -24
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.js +81 -81
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +2 -2
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.d.ts +5 -0
- package/dist/viewer/index.js +19 -19
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +3 -3
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-6EIOUV7J.mjs.br +0 -0
- package/dist/AiChatPanel-6EIOUV7J.mjs.gz +0 -0
- package/dist/AiChatPanel-AK6X4NJD.js.br +0 -0
- package/dist/AiChatPanel-AK6X4NJD.js.gz +0 -0
- package/dist/chunk-6YOFWVII.mjs.br +0 -0
- package/dist/chunk-6YOFWVII.mjs.gz +0 -0
- package/dist/chunk-7JMO6R6B.js.br +0 -0
- package/dist/chunk-7JMO6R6B.js.gz +0 -0
- package/dist/chunk-CTL42ZRR.js.br +0 -0
- package/dist/chunk-CTL42ZRR.js.gz +0 -0
- package/dist/chunk-EW45F35P.mjs.br +0 -0
- package/dist/chunk-EW45F35P.mjs.gz +0 -0
- package/dist/chunk-K3EGXT6W.js.br +0 -0
- package/dist/chunk-K3EGXT6W.js.gz +0 -0
- package/dist/chunk-VI575UU6.mjs.br +0 -0
- package/dist/chunk-VI575UU6.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1846,7 +1846,9 @@ function getShapeVisualStyle(element, _hasFill, fillColor, _strokeWidth, _stroke
|
|
|
1846
1846
|
// An unstroked element must occupy EXACTLY its authored box, so the
|
|
1847
1847
|
// selection/hover affordance is an `outline` (see `ElementRenderer`) and
|
|
1848
1848
|
// the border collapses to 0 rather than to a transparent 1px.
|
|
1849
|
-
|
|
1849
|
+
// On screen the painted width never drops under one device pixel (shared
|
|
1850
|
+
// `device-pixel-stroke`); an unstroked element keeps a plain `0`.
|
|
1851
|
+
borderWidth: stroke.borderWidth > 0 ? stroke.cssBorderWidth : 0,
|
|
1850
1852
|
borderColor: animatesStroke ? void 0 : stroke.borderColor,
|
|
1851
1853
|
borderStyle: stroke.borderStyle,
|
|
1852
1854
|
// Inherited SVG presentation properties: written on the container so the
|
|
@@ -1908,7 +1910,7 @@ function getShapeVisualStyle(element, _hasFill, fillColor, _strokeWidth, _stroke
|
|
|
1908
1910
|
...base,
|
|
1909
1911
|
backgroundColor: "transparent",
|
|
1910
1912
|
borderWidth: 0,
|
|
1911
|
-
borderTopWidth: geometry.strokeWidth,
|
|
1913
|
+
borderTopWidth: pptx.screenStrokeWidth(geometry.strokeWidth),
|
|
1912
1914
|
borderTopColor: stroke.borderColor,
|
|
1913
1915
|
borderTopStyle: stroke.borderStyle ?? "solid"
|
|
1914
1916
|
};
|
|
@@ -2006,7 +2008,11 @@ function strokeStrands(d, keyBase, ctx) {
|
|
|
2006
2008
|
strokeLinejoin: ctx.lineJoin,
|
|
2007
2009
|
strokeMiterlimit: ctx.miterLimit,
|
|
2008
2010
|
vectorEffect: "non-scaling-stroke",
|
|
2009
|
-
style:
|
|
2011
|
+
style: {
|
|
2012
|
+
// Never under one device pixel on screen (shared `device-pixel-stroke`).
|
|
2013
|
+
strokeWidth: pptx.screenStrokeWidth(Math.max(ctx.widths[idx] ?? ctx.strokeWidth, 1)),
|
|
2014
|
+
transform: offset !== 0 ? `translate(0, ${offset}px)` : void 0
|
|
2015
|
+
}
|
|
2010
2016
|
},
|
|
2011
2017
|
`${keyBase}-s${idx}`
|
|
2012
2018
|
));
|
|
@@ -2090,6 +2096,7 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2090
2096
|
const height = Math.max(element.height, 1);
|
|
2091
2097
|
const rim = Math.max(Math.min(height * 0.16, 28), 6);
|
|
2092
2098
|
const stroke = Math.max(strokeWidth, 1);
|
|
2099
|
+
const screenStroke = { strokeWidth: pptx.screenStrokeWidth(stroke) };
|
|
2093
2100
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2094
2101
|
"svg",
|
|
2095
2102
|
{
|
|
@@ -2108,7 +2115,8 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2108
2115
|
stroke: strokeWidth > 0 ? strokePaint : "none",
|
|
2109
2116
|
strokeWidth: stroke,
|
|
2110
2117
|
strokeDasharray: dashArray,
|
|
2111
|
-
vectorEffect: "non-scaling-stroke"
|
|
2118
|
+
vectorEffect: "non-scaling-stroke",
|
|
2119
|
+
style: screenStroke
|
|
2112
2120
|
}
|
|
2113
2121
|
),
|
|
2114
2122
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2122,7 +2130,8 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2122
2130
|
stroke: strokeWidth > 0 ? strokePaint : "none",
|
|
2123
2131
|
strokeWidth: stroke,
|
|
2124
2132
|
strokeDasharray: dashArray,
|
|
2125
|
-
vectorEffect: "non-scaling-stroke"
|
|
2133
|
+
vectorEffect: "non-scaling-stroke",
|
|
2134
|
+
style: screenStroke
|
|
2126
2135
|
}
|
|
2127
2136
|
),
|
|
2128
2137
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2136,7 +2145,8 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2136
2145
|
stroke: strokeWidth > 0 ? strokePaint : "none",
|
|
2137
2146
|
strokeWidth: stroke,
|
|
2138
2147
|
strokeDasharray: dashArray,
|
|
2139
|
-
vectorEffect: "non-scaling-stroke"
|
|
2148
|
+
vectorEffect: "non-scaling-stroke",
|
|
2149
|
+
style: screenStroke
|
|
2140
2150
|
}
|
|
2141
2151
|
)
|
|
2142
2152
|
]
|
|
@@ -2188,7 +2198,8 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2188
2198
|
stroke: strokePaint,
|
|
2189
2199
|
strokeWidth: strokeWidth * 2,
|
|
2190
2200
|
strokeDasharray: dashArray,
|
|
2191
|
-
vectorEffect: "non-scaling-stroke"
|
|
2201
|
+
vectorEffect: "non-scaling-stroke",
|
|
2202
|
+
style: { strokeWidth: `calc(2 * ${pptx.screenStrokeWidth(strokeWidth)})` }
|
|
2192
2203
|
}
|
|
2193
2204
|
)
|
|
2194
2205
|
}
|
|
@@ -2231,7 +2242,8 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2231
2242
|
stroke: strokeWidth > 0 ? strokePaint : "none",
|
|
2232
2243
|
strokeWidth,
|
|
2233
2244
|
strokeDasharray: dashArray,
|
|
2234
|
-
vectorEffect: "non-scaling-stroke"
|
|
2245
|
+
vectorEffect: "non-scaling-stroke",
|
|
2246
|
+
style: { strokeWidth: pptx.screenStrokeWidth(strokeWidth) }
|
|
2235
2247
|
}
|
|
2236
2248
|
)
|
|
2237
2249
|
]
|
|
@@ -2278,7 +2290,8 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2278
2290
|
y2: 0,
|
|
2279
2291
|
stroke: strokePaint,
|
|
2280
2292
|
strokeWidth: lineStroke,
|
|
2281
|
-
vectorEffect: "non-scaling-stroke"
|
|
2293
|
+
vectorEffect: "non-scaling-stroke",
|
|
2294
|
+
style: { strokeWidth: pptx.screenStrokeWidth(lineStroke) }
|
|
2282
2295
|
}
|
|
2283
2296
|
),
|
|
2284
2297
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2291,7 +2304,8 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2291
2304
|
strokeDasharray: dashArray,
|
|
2292
2305
|
strokeLinecap: "round",
|
|
2293
2306
|
strokeLinejoin: "round",
|
|
2294
|
-
vectorEffect: "non-scaling-stroke"
|
|
2307
|
+
vectorEffect: "non-scaling-stroke",
|
|
2308
|
+
style: { strokeWidth: pptx.screenStrokeWidth(lineStroke) }
|
|
2295
2309
|
}
|
|
2296
2310
|
)
|
|
2297
2311
|
]
|
|
@@ -2356,6 +2370,7 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2356
2370
|
vectorEffect: "non-scaling-stroke",
|
|
2357
2371
|
style: {
|
|
2358
2372
|
pointerEvents: "none",
|
|
2373
|
+
strokeWidth: pptx.screenStrokeWidth(Math.max(widths[idx] ?? strokeWidth, 1)),
|
|
2359
2374
|
...offset !== 0 ? { transform: `translate(0, ${offset}px)` } : {}
|
|
2360
2375
|
}
|
|
2361
2376
|
},
|
|
@@ -2367,8 +2382,6 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
|
|
|
2367
2382
|
}
|
|
2368
2383
|
return null;
|
|
2369
2384
|
}
|
|
2370
|
-
|
|
2371
|
-
// src/viewer/utils/table-cell-fill.tsx
|
|
2372
2385
|
function parseGradientFillCss(gradFill) {
|
|
2373
2386
|
if (!gradFill) {
|
|
2374
2387
|
return void 0;
|
|
@@ -2543,7 +2556,11 @@ function parseCellBorders(cellProperties) {
|
|
|
2543
2556
|
if (color) {
|
|
2544
2557
|
const opacity = pptx.parseDrawingColorOpacity(ln["a:solidFill"]);
|
|
2545
2558
|
const key = `${edge.prefix}`;
|
|
2546
|
-
borderStyle[key] =
|
|
2559
|
+
borderStyle[key] = pptx.screenBorder(
|
|
2560
|
+
widthPx,
|
|
2561
|
+
cssBorderStyle,
|
|
2562
|
+
pptx.colorWithOpacity(color, opacity)
|
|
2563
|
+
);
|
|
2547
2564
|
}
|
|
2548
2565
|
}
|
|
2549
2566
|
return borderStyle;
|
|
@@ -2825,26 +2842,37 @@ function parseTableElementData(element, fallbackTextStyle) {
|
|
|
2825
2842
|
};
|
|
2826
2843
|
}
|
|
2827
2844
|
function renderTableCellContent(cell, fallbackText) {
|
|
2845
|
+
const blocks = cell ? pptx.cellParagraphBlocks(cell) : void 0;
|
|
2846
|
+
if (blocks) {
|
|
2847
|
+
return blocks.map((block, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2848
|
+
"div",
|
|
2849
|
+
{
|
|
2850
|
+
style: { display: "block", ...block.css },
|
|
2851
|
+
children: block.runs.map(renderRun)
|
|
2852
|
+
},
|
|
2853
|
+
`p-${index}`
|
|
2854
|
+
));
|
|
2855
|
+
}
|
|
2828
2856
|
const runs = cell?.textRuns;
|
|
2829
2857
|
if (!runs || runs.length === 0) {
|
|
2830
|
-
return fallbackText || "
|
|
2858
|
+
return fallbackText || " ";
|
|
2831
2859
|
}
|
|
2832
|
-
return runs.map(
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
}
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2860
|
+
return runs.map(
|
|
2861
|
+
(run, index) => run.isParagraphBreak ? /* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "block", height: 0 } }, `p-${index}`) : renderRun(run, index)
|
|
2862
|
+
);
|
|
2863
|
+
}
|
|
2864
|
+
function renderRun(run, index) {
|
|
2865
|
+
if (run.isLineBreak) {
|
|
2866
|
+
return /* @__PURE__ */ jsxRuntime.jsx("br", {}, `br-${index}`);
|
|
2867
|
+
}
|
|
2868
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2869
|
+
"span",
|
|
2870
|
+
{
|
|
2871
|
+
style: { position: "relative", ...pptx.cellRunStyle(run) },
|
|
2872
|
+
children: run.text
|
|
2873
|
+
},
|
|
2874
|
+
`r-${index}`
|
|
2875
|
+
);
|
|
2848
2876
|
}
|
|
2849
2877
|
function getCellDiagonalBorders(style, tableData, pos, styleCtx) {
|
|
2850
2878
|
return pptx.getCellDiagonalBorders(style, tableData, pos, {
|
|
@@ -2882,7 +2910,8 @@ function TableCellDiagonalBorders({
|
|
|
2882
2910
|
x2: "100%",
|
|
2883
2911
|
y2: "100%",
|
|
2884
2912
|
stroke: diag.diagDownColor,
|
|
2885
|
-
strokeWidth: diag.diagDownWidth
|
|
2913
|
+
strokeWidth: diag.diagDownWidth,
|
|
2914
|
+
style: { strokeWidth: pptx.screenStrokeWidth(diag.diagDownWidth) }
|
|
2886
2915
|
}
|
|
2887
2916
|
),
|
|
2888
2917
|
hasUp && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2893,7 +2922,8 @@ function TableCellDiagonalBorders({
|
|
|
2893
2922
|
x2: "100%",
|
|
2894
2923
|
y2: "0",
|
|
2895
2924
|
stroke: diag.diagUpColor,
|
|
2896
|
-
strokeWidth: diag.diagUpWidth
|
|
2925
|
+
strokeWidth: diag.diagUpWidth,
|
|
2926
|
+
style: { strokeWidth: pptx.screenStrokeWidth(diag.diagUpWidth) }
|
|
2897
2927
|
}
|
|
2898
2928
|
)
|
|
2899
2929
|
]
|
|
@@ -3470,10 +3500,7 @@ function partAttrs(part) {
|
|
|
3470
3500
|
return part ? pptx.chartPartToAttrs(part) : void 0;
|
|
3471
3501
|
}
|
|
3472
3502
|
function resolveReactPalette(chartData) {
|
|
3473
|
-
|
|
3474
|
-
return chartData.colorPalette;
|
|
3475
|
-
}
|
|
3476
|
-
return [...pptx.getChartStylePalette(chartData.style?.styleId)];
|
|
3503
|
+
return pptx.resolveChartPalette(chartData);
|
|
3477
3504
|
}
|
|
3478
3505
|
function buildReactChartViewModel(element) {
|
|
3479
3506
|
if (element.type !== "chart" || !element.chartData) {
|
|
@@ -3594,25 +3621,8 @@ function renderPrimitive(prim, key) {
|
|
|
3594
3621
|
key
|
|
3595
3622
|
);
|
|
3596
3623
|
}
|
|
3597
|
-
case "text":
|
|
3598
|
-
|
|
3599
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3600
|
-
"text",
|
|
3601
|
-
{
|
|
3602
|
-
x: t.x,
|
|
3603
|
-
y: t.y,
|
|
3604
|
-
textAnchor: t.textAnchor,
|
|
3605
|
-
fontSize: t.fontSize,
|
|
3606
|
-
fill: t.fill,
|
|
3607
|
-
fontWeight: t.fontWeight ?? "normal",
|
|
3608
|
-
dominantBaseline: t.dominantBaseline,
|
|
3609
|
-
opacity: t.opacity ?? 1,
|
|
3610
|
-
transform: t.transform,
|
|
3611
|
-
children: t.text
|
|
3612
|
-
},
|
|
3613
|
-
key
|
|
3614
|
-
);
|
|
3615
|
-
}
|
|
3624
|
+
case "text":
|
|
3625
|
+
return renderText(prim, key);
|
|
3616
3626
|
default:
|
|
3617
3627
|
return null;
|
|
3618
3628
|
}
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -394,6 +394,11 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
394
394
|
* the user's own collapse toggle and the `slidesPane` customisation panel.
|
|
395
395
|
*/
|
|
396
396
|
showThumbnails?: boolean;
|
|
397
|
+
/**
|
|
398
|
+
* Show the compatibility warning toast stack after a load. Default `true`.
|
|
399
|
+
* `false` hides the stack only; the warnings are still collected.
|
|
400
|
+
*/
|
|
401
|
+
showCompatibilityToasts?: boolean;
|
|
397
402
|
/**
|
|
398
403
|
* Hide individual toolbar buttons and/or ribbon tabs instead of the whole
|
|
399
404
|
* toolbar. Accepts any mix of button ids (`share`, `broadcast`, `export`,
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkM2AKDETN_js = require('./chunk-M2AKDETN.js');
|
|
4
|
+
var chunk355ICDU6_js = require('./chunk-355ICDU6.js');
|
|
5
|
+
var chunkXRFJ7TAF_js = require('./chunk-XRFJ7TAF.js');
|
|
6
6
|
require('./chunk-DFFCFNK2.js');
|
|
7
7
|
var pptx = require('ooxml-ui/pptx');
|
|
8
8
|
var i18n = require('ooxml-ui/pptx/i18n');
|
|
@@ -11,87 +11,87 @@ var i18n = require('ooxml-ui/pptx/i18n');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkM2AKDETN_js.PowerPointViewer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkM2AKDETN_js.SlideCanvas; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkM2AKDETN_js.SlideTemplateGalleryDialog; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkM2AKDETN_js.SlideTemplatePreview; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkM2AKDETN_js.THEME_CATALOG; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "Toolbar", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkM2AKDETN_js.Toolbar; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkM2AKDETN_js.ViewerThemeProvider; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkM2AKDETN_js.defaultCssVars; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "defaultRadius", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkM2AKDETN_js.defaultRadius; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkM2AKDETN_js.defaultThemeColors; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkM2AKDETN_js.resolveThemeCatalogEntry; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkM2AKDETN_js.themeToCssVars; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkM2AKDETN_js.useViewerTheme; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkM2AKDETN_js.vermilionDarkColors; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkM2AKDETN_js.vermilionDarkTheme; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkM2AKDETN_js.vermilionLightColors; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkM2AKDETN_js.vermilionLightTheme; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkM2AKDETN_js.vermilionRadius; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunk355ICDU6_js.renderToCanvas; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunk355ICDU6_js.useViewerBuildingBlocks; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkXRFJ7TAF_js.getAnimationInitialStyle; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
97
97
|
enumerable: true,
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-
|
|
2
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
3
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-FPACF36E.mjs';
|
|
2
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-CHZJORUW.mjs';
|
|
3
|
+
export { getAnimationInitialStyle } from './chunk-ATGP75C4.mjs';
|
|
4
4
|
import './chunk-GDQSMJQZ.mjs';
|
|
5
5
|
export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, saveViewerProfile, savedPresentationFileName, writeStoredViewerPrefs } from 'ooxml-ui/pptx';
|
|
6
6
|
export { LOCALE_CATALOG } from 'ooxml-ui/pptx/i18n';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|