pptx-react-viewer 1.14.0 → 1.14.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 +6 -0
- package/dist/{Model3DScene-2E4HO4RQ.js → Model3DScene-E2FDY2TX.js} +2 -2
- package/dist/Model3DScene-E2FDY2TX.js.br +0 -0
- package/dist/Model3DScene-E2FDY2TX.js.gz +0 -0
- package/dist/{Model3DScene-DX7S3IM7.mjs → Model3DScene-JUJB4MJX.mjs} +1 -1
- package/dist/Model3DScene-JUJB4MJX.mjs.br +0 -0
- package/dist/Model3DScene-JUJB4MJX.mjs.gz +0 -0
- package/dist/{PowerPointViewer-DCYB93o0.d.ts → PowerPointViewer-BsaUH3ZT.d.ts} +1 -1
- package/dist/{PowerPointViewer-Crgj0LoS.d.mts → PowerPointViewer-Nxku67uL.d.mts} +1 -1
- package/dist/{SurfaceChart3DScene-C3D3F2NN.mjs → SurfaceChart3DScene-2DEB7NMW.mjs} +1 -1
- package/dist/SurfaceChart3DScene-2DEB7NMW.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-2DEB7NMW.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-327DEJSK.js → SurfaceChart3DScene-Z64TSGR5.js} +2 -2
- package/dist/SurfaceChart3DScene-Z64TSGR5.js.br +0 -0
- package/dist/SurfaceChart3DScene-Z64TSGR5.js.gz +0 -0
- package/dist/{chunk-H5KXQEQD.js → chunk-6CNJINIT.js} +295 -0
- package/dist/chunk-6CNJINIT.js.br +0 -0
- package/dist/chunk-6CNJINIT.js.gz +0 -0
- package/dist/{chunk-FMB2AJD7.js → chunk-CHG7GPGB.js} +400 -555
- package/dist/chunk-CHG7GPGB.js.br +0 -0
- package/dist/chunk-CHG7GPGB.js.gz +0 -0
- package/dist/{chunk-TQD5XTOT.mjs → chunk-CZOMQPLZ.mjs} +63 -218
- package/dist/chunk-CZOMQPLZ.mjs.br +0 -0
- package/dist/chunk-CZOMQPLZ.mjs.gz +0 -0
- package/dist/{chunk-45JY7DOB.mjs → chunk-MAXS6AU7.mjs} +37 -17
- package/dist/chunk-MAXS6AU7.mjs.br +0 -0
- package/dist/chunk-MAXS6AU7.mjs.gz +0 -0
- package/dist/{chunk-55OTTA3H.js → chunk-RXIGJGJN.js} +774 -754
- package/dist/chunk-RXIGJGJN.js.br +0 -0
- package/dist/chunk-RXIGJGJN.js.gz +0 -0
- package/dist/{chunk-JZP5LYN3.mjs → chunk-ZK4SPHDQ.mjs} +289 -1
- package/dist/chunk-ZK4SPHDQ.mjs.br +0 -0
- package/dist/chunk-ZK4SPHDQ.mjs.gz +0 -0
- package/dist/hooks-unstable.d.mts +10 -4
- package/dist/hooks-unstable.d.ts +10 -4
- package/dist/hooks-unstable.js +73 -73
- package/dist/hooks-unstable.js.br +0 -0
- package/dist/hooks-unstable.js.gz +0 -0
- package/dist/hooks-unstable.mjs +2 -2
- package/dist/hooks-unstable.mjs.br +0 -0
- package/dist/hooks-unstable.mjs.gz +0 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -17
- 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/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/{types-ui-Bagu4aYj.d.mts → types-ui-NG29h55h.d.mts} +17 -6
- package/dist/{types-ui-Bagu4aYj.d.ts → types-ui-NG29h55h.d.ts} +17 -6
- package/dist/{usePresenterWindow-DxZUXXk_.d.ts → usePresenterWindow-DToCijGy.d.ts} +1 -1
- package/dist/{usePresenterWindow-BarXkdvr.d.mts → usePresenterWindow-DeTm-unp.d.mts} +1 -1
- package/dist/viewer/index.d.mts +5 -5
- package/dist/viewer/index.d.ts +5 -5
- package/dist/viewer/index.js +18 -18
- 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 +1 -1
- package/dist/Model3DScene-2E4HO4RQ.js.br +0 -0
- package/dist/Model3DScene-2E4HO4RQ.js.gz +0 -0
- package/dist/Model3DScene-DX7S3IM7.mjs.br +0 -0
- package/dist/Model3DScene-DX7S3IM7.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-327DEJSK.js.br +0 -0
- package/dist/SurfaceChart3DScene-327DEJSK.js.gz +0 -0
- package/dist/SurfaceChart3DScene-C3D3F2NN.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-C3D3F2NN.mjs.gz +0 -0
- package/dist/chunk-45JY7DOB.mjs.br +0 -0
- package/dist/chunk-45JY7DOB.mjs.gz +0 -0
- package/dist/chunk-55OTTA3H.js.br +0 -0
- package/dist/chunk-55OTTA3H.js.gz +0 -0
- package/dist/chunk-FMB2AJD7.js.br +0 -0
- package/dist/chunk-FMB2AJD7.js.gz +0 -0
- package/dist/chunk-H5KXQEQD.js.br +0 -0
- package/dist/chunk-H5KXQEQD.js.gz +0 -0
- package/dist/chunk-JZP5LYN3.mjs.br +0 -0
- package/dist/chunk-JZP5LYN3.mjs.gz +0 -0
- package/dist/chunk-TQD5XTOT.mjs.br +0 -0
- package/dist/chunk-TQD5XTOT.mjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project are documented here.
|
|
|
4
4
|
This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
|
|
5
5
|
by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
6
6
|
|
|
7
|
+
## [1.14.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@1.14.0) - 2026-07-11
|
|
8
|
+
|
|
9
|
+
### Other
|
|
10
|
+
|
|
11
|
+
- Reconcile with origin/main before push (by @ChristopherVR) ([0ecd3d9](https://github.com/ChristopherVR/pptx-viewer/commit/0ecd3d935f97c78e8b0a62bebc8bf610c42414ab))
|
|
12
|
+
|
|
7
13
|
## [1.13.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@1.13.1) - 2026-07-10
|
|
8
14
|
|
|
9
15
|
### Bug Fixes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6CNJINIT_js = require('./chunk-6CNJINIT.js');
|
|
4
4
|
require('./chunk-OBLHB72P.js');
|
|
5
5
|
require('./chunk-QGM4M3NI.js');
|
|
6
6
|
var react = require('react');
|
|
@@ -15,7 +15,7 @@ function Model3DScene({ modelUrl, interactive, width, height }) {
|
|
|
15
15
|
return;
|
|
16
16
|
}
|
|
17
17
|
let disposed = false;
|
|
18
|
-
void
|
|
18
|
+
void chunk6CNJINIT_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
|
|
19
19
|
if (disposed) {
|
|
20
20
|
handle.dispose();
|
|
21
21
|
} else {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g, V } from './presentation-BfnrtJV1.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types-ui-
|
|
4
|
+
import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types-ui-NG29h55h.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Thin adapter shim: the initial-style resolution now lives in
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g, V } from './presentation-BfnrtJV1.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types-ui-
|
|
4
|
+
import { b as PowerPointViewerProps, a as PowerPointViewerHandle } from './types-ui-NG29h55h.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Thin adapter shim: the initial-style resolution now lives in
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6CNJINIT_js = require('./chunk-6CNJINIT.js');
|
|
4
4
|
require('./chunk-OBLHB72P.js');
|
|
5
5
|
require('./chunk-QGM4M3NI.js');
|
|
6
6
|
var react = require('react');
|
|
@@ -26,7 +26,7 @@ function SurfaceChart3DScene({
|
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
28
|
let disposed = false;
|
|
29
|
-
void
|
|
29
|
+
void chunk6CNJINIT_js.mountSurfaceChart3D(container, {
|
|
30
30
|
cols,
|
|
31
31
|
rows,
|
|
32
32
|
heightMap,
|
|
Binary file
|
|
Binary file
|
|
@@ -11931,6 +11931,59 @@ function findTextPositionInSegment(editor, segIdx, charOffset) {
|
|
|
11931
11931
|
}
|
|
11932
11932
|
return null;
|
|
11933
11933
|
}
|
|
11934
|
+
var SENTENCE_END_RE = /([.!?]\s+)/u;
|
|
11935
|
+
function transformTextCase(text, mode) {
|
|
11936
|
+
switch (mode) {
|
|
11937
|
+
case "upper":
|
|
11938
|
+
return text.toUpperCase();
|
|
11939
|
+
case "lower":
|
|
11940
|
+
return text.toLowerCase();
|
|
11941
|
+
case "toggle":
|
|
11942
|
+
return Array.from(text).map((ch) => ch === ch.toUpperCase() ? ch.toLowerCase() : ch.toUpperCase()).join("");
|
|
11943
|
+
case "capitalize":
|
|
11944
|
+
return text.replace(
|
|
11945
|
+
/\p{L}[\p{L}\p{N}'’]*/gu,
|
|
11946
|
+
(word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()
|
|
11947
|
+
);
|
|
11948
|
+
case "sentence":
|
|
11949
|
+
return text.toLowerCase().split(SENTENCE_END_RE).map((part) => {
|
|
11950
|
+
const firstLetter = part.search(/\p{L}/u);
|
|
11951
|
+
if (firstLetter === -1) {
|
|
11952
|
+
return part;
|
|
11953
|
+
}
|
|
11954
|
+
return part.slice(0, firstLetter) + part.charAt(firstLetter).toUpperCase() + part.slice(firstLetter + 1);
|
|
11955
|
+
}).join("");
|
|
11956
|
+
default:
|
|
11957
|
+
return text;
|
|
11958
|
+
}
|
|
11959
|
+
}
|
|
11960
|
+
function applyCaseTransformToSegments(segments, selection, mode) {
|
|
11961
|
+
if (!selection) {
|
|
11962
|
+
return segments.map(
|
|
11963
|
+
(seg) => seg.isParagraphBreak || seg.text === "\n" ? seg : { ...seg, text: transformTextCase(seg.text, mode) }
|
|
11964
|
+
);
|
|
11965
|
+
}
|
|
11966
|
+
const { startSegIdx, startOffset, endSegIdx, endOffset } = selection;
|
|
11967
|
+
const result = [];
|
|
11968
|
+
for (let i = 0; i < segments.length; i++) {
|
|
11969
|
+
const seg = segments[i];
|
|
11970
|
+
if (seg.isParagraphBreak || seg.text === "\n" || i < startSegIdx || i > endSegIdx) {
|
|
11971
|
+
result.push(seg);
|
|
11972
|
+
continue;
|
|
11973
|
+
}
|
|
11974
|
+
const from = i === startSegIdx ? startOffset : 0;
|
|
11975
|
+
const to = i === endSegIdx ? endOffset : seg.text.length;
|
|
11976
|
+
if (from >= to) {
|
|
11977
|
+
result.push(seg);
|
|
11978
|
+
continue;
|
|
11979
|
+
}
|
|
11980
|
+
const before = seg.text.slice(0, from);
|
|
11981
|
+
const selected = transformTextCase(seg.text.slice(from, to), mode);
|
|
11982
|
+
const after = seg.text.slice(to);
|
|
11983
|
+
result.push({ ...seg, text: before + selected + after });
|
|
11984
|
+
}
|
|
11985
|
+
return result;
|
|
11986
|
+
}
|
|
11934
11987
|
function getConnectionSites(width, height) {
|
|
11935
11988
|
return [
|
|
11936
11989
|
{ x: width / 2, y: 0, index: 0 },
|
|
@@ -16791,6 +16844,241 @@ var ARTISTIC_EFFECTS = [
|
|
|
16791
16844
|
["texturizer", "pptx.image.effectTexturizer", "contrast(110%) brightness(105%)"],
|
|
16792
16845
|
["crisscrossEtching", "pptx.image.effectCrisscross", "grayscale(60%) contrast(120%)"]
|
|
16793
16846
|
];
|
|
16847
|
+
var PASTE_OFFSET_PX = 20;
|
|
16848
|
+
function generateElementId() {
|
|
16849
|
+
return `el-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
|
|
16850
|
+
}
|
|
16851
|
+
function makeCloneId(intoTemplate, sourceId) {
|
|
16852
|
+
if (!intoTemplate) {
|
|
16853
|
+
return generateElementId();
|
|
16854
|
+
}
|
|
16855
|
+
if (sourceId.startsWith("master-")) {
|
|
16856
|
+
return `master-${generateElementId()}`;
|
|
16857
|
+
}
|
|
16858
|
+
return `layout-${generateElementId()}`;
|
|
16859
|
+
}
|
|
16860
|
+
function buildElementClipboardPayload(element, isTemplate) {
|
|
16861
|
+
return { element: structuredClone(element), isTemplate };
|
|
16862
|
+
}
|
|
16863
|
+
function cloneElementForPaste(element, options = {}) {
|
|
16864
|
+
const clone = structuredClone(element);
|
|
16865
|
+
clone.id = makeCloneId(options.intoTemplate ?? false, element.id);
|
|
16866
|
+
clone.x += options.offsetX ?? PASTE_OFFSET_PX;
|
|
16867
|
+
clone.y += options.offsetY ?? PASTE_OFFSET_PX;
|
|
16868
|
+
return clone;
|
|
16869
|
+
}
|
|
16870
|
+
var SHAPE_PRESET_DEFS = [
|
|
16871
|
+
{
|
|
16872
|
+
type: "rect",
|
|
16873
|
+
label: "Rectangle",
|
|
16874
|
+
i18nKey: "pptx.editorToolbar.shapeRectangle",
|
|
16875
|
+
glyph: "square",
|
|
16876
|
+
glyphClass: ""
|
|
16877
|
+
},
|
|
16878
|
+
{
|
|
16879
|
+
type: "roundRect",
|
|
16880
|
+
label: "Rounded",
|
|
16881
|
+
i18nKey: "pptx.shapePresets.rounded",
|
|
16882
|
+
glyph: "square",
|
|
16883
|
+
glyphClass: ""
|
|
16884
|
+
},
|
|
16885
|
+
{
|
|
16886
|
+
type: "ellipse",
|
|
16887
|
+
label: "Circle",
|
|
16888
|
+
i18nKey: "pptx.shapePresets.circle",
|
|
16889
|
+
glyph: "circle",
|
|
16890
|
+
glyphClass: ""
|
|
16891
|
+
},
|
|
16892
|
+
{
|
|
16893
|
+
type: "cylinder",
|
|
16894
|
+
label: "Cylinder",
|
|
16895
|
+
i18nKey: "pptx.shapePresets.cylinder",
|
|
16896
|
+
glyph: "database",
|
|
16897
|
+
glyphClass: ""
|
|
16898
|
+
},
|
|
16899
|
+
{
|
|
16900
|
+
type: "rtArrow",
|
|
16901
|
+
label: "Right Arrow",
|
|
16902
|
+
i18nKey: "pptx.shapePresets.rightArrow",
|
|
16903
|
+
glyph: "moveRight",
|
|
16904
|
+
glyphClass: ""
|
|
16905
|
+
},
|
|
16906
|
+
{
|
|
16907
|
+
type: "leftArrow",
|
|
16908
|
+
label: "Left Arrow",
|
|
16909
|
+
i18nKey: "pptx.shapePresets.leftArrow",
|
|
16910
|
+
glyph: "moveRight",
|
|
16911
|
+
glyphClass: "rotate-180"
|
|
16912
|
+
},
|
|
16913
|
+
{
|
|
16914
|
+
type: "upArrow",
|
|
16915
|
+
label: "Up Arrow",
|
|
16916
|
+
i18nKey: "pptx.shapePresets.upArrow",
|
|
16917
|
+
glyph: "moveRight",
|
|
16918
|
+
glyphClass: "-rotate-90"
|
|
16919
|
+
},
|
|
16920
|
+
{
|
|
16921
|
+
type: "downArrow",
|
|
16922
|
+
label: "Down Arrow",
|
|
16923
|
+
i18nKey: "pptx.shapePresets.downArrow",
|
|
16924
|
+
glyph: "moveRight",
|
|
16925
|
+
glyphClass: "rotate-90"
|
|
16926
|
+
},
|
|
16927
|
+
{
|
|
16928
|
+
type: "triangle",
|
|
16929
|
+
label: "Triangle",
|
|
16930
|
+
i18nKey: "pptx.editorToolbar.shapeTriangle",
|
|
16931
|
+
glyph: "triangle",
|
|
16932
|
+
glyphClass: ""
|
|
16933
|
+
},
|
|
16934
|
+
{
|
|
16935
|
+
type: "rtTriangle",
|
|
16936
|
+
label: "Right Triangle",
|
|
16937
|
+
i18nKey: "pptx.shapePresets.rightTriangle",
|
|
16938
|
+
glyph: "triangle",
|
|
16939
|
+
glyphClass: "rotate-90"
|
|
16940
|
+
},
|
|
16941
|
+
{
|
|
16942
|
+
type: "diamond",
|
|
16943
|
+
label: "Diamond",
|
|
16944
|
+
i18nKey: "pptx.shapePresets.diamond",
|
|
16945
|
+
glyph: "diamond",
|
|
16946
|
+
glyphClass: ""
|
|
16947
|
+
},
|
|
16948
|
+
{
|
|
16949
|
+
type: "parallelogram",
|
|
16950
|
+
label: "Parallelogram",
|
|
16951
|
+
i18nKey: "pptx.shapePresets.parallelogram",
|
|
16952
|
+
glyph: "square",
|
|
16953
|
+
glyphClass: "-skew-x-12"
|
|
16954
|
+
},
|
|
16955
|
+
{
|
|
16956
|
+
type: "trapezoid",
|
|
16957
|
+
label: "Trapezoid",
|
|
16958
|
+
i18nKey: "pptx.shapePresets.trapezoid",
|
|
16959
|
+
glyph: "square",
|
|
16960
|
+
glyphClass: ""
|
|
16961
|
+
},
|
|
16962
|
+
{
|
|
16963
|
+
type: "pentagon",
|
|
16964
|
+
label: "Pentagon",
|
|
16965
|
+
i18nKey: "pptx.shapePresets.pentagon",
|
|
16966
|
+
glyph: "diamond",
|
|
16967
|
+
glyphClass: ""
|
|
16968
|
+
},
|
|
16969
|
+
{
|
|
16970
|
+
type: "hexagon",
|
|
16971
|
+
label: "Hexagon",
|
|
16972
|
+
i18nKey: "pptx.shapePresets.hexagon",
|
|
16973
|
+
glyph: "diamond",
|
|
16974
|
+
glyphClass: ""
|
|
16975
|
+
},
|
|
16976
|
+
{
|
|
16977
|
+
type: "octagon",
|
|
16978
|
+
label: "Octagon",
|
|
16979
|
+
i18nKey: "pptx.shapePresets.octagon",
|
|
16980
|
+
glyph: "circle",
|
|
16981
|
+
glyphClass: ""
|
|
16982
|
+
},
|
|
16983
|
+
{
|
|
16984
|
+
type: "chevron",
|
|
16985
|
+
label: "Chevron",
|
|
16986
|
+
i18nKey: "pptx.shapePresets.chevron",
|
|
16987
|
+
glyph: "moveRight",
|
|
16988
|
+
glyphClass: ""
|
|
16989
|
+
},
|
|
16990
|
+
{
|
|
16991
|
+
type: "star5",
|
|
16992
|
+
label: "Star",
|
|
16993
|
+
i18nKey: "pptx.shapePresets.star",
|
|
16994
|
+
glyph: "diamond",
|
|
16995
|
+
glyphClass: "rotate-45"
|
|
16996
|
+
},
|
|
16997
|
+
{
|
|
16998
|
+
type: "star6",
|
|
16999
|
+
label: "Star 6",
|
|
17000
|
+
i18nKey: "pptx.shapePresets.star6",
|
|
17001
|
+
glyph: "diamond",
|
|
17002
|
+
glyphClass: ""
|
|
17003
|
+
},
|
|
17004
|
+
{
|
|
17005
|
+
type: "star8",
|
|
17006
|
+
label: "Star 8",
|
|
17007
|
+
i18nKey: "pptx.shapePresets.star8",
|
|
17008
|
+
glyph: "diamond",
|
|
17009
|
+
glyphClass: "rotate-45"
|
|
17010
|
+
},
|
|
17011
|
+
{
|
|
17012
|
+
type: "plus",
|
|
17013
|
+
label: "Plus",
|
|
17014
|
+
i18nKey: "pptx.shapePresets.plus",
|
|
17015
|
+
glyph: "plus",
|
|
17016
|
+
glyphClass: ""
|
|
17017
|
+
},
|
|
17018
|
+
{
|
|
17019
|
+
type: "heart",
|
|
17020
|
+
label: "Heart",
|
|
17021
|
+
i18nKey: "pptx.shapePresets.heart",
|
|
17022
|
+
glyph: "circle",
|
|
17023
|
+
glyphClass: ""
|
|
17024
|
+
},
|
|
17025
|
+
{
|
|
17026
|
+
type: "cloud",
|
|
17027
|
+
label: "Cloud",
|
|
17028
|
+
i18nKey: "pptx.shapePresets.cloud",
|
|
17029
|
+
glyph: "circle",
|
|
17030
|
+
glyphClass: ""
|
|
17031
|
+
},
|
|
17032
|
+
{
|
|
17033
|
+
type: "sun",
|
|
17034
|
+
label: "Sun",
|
|
17035
|
+
i18nKey: "pptx.shapePresets.sun",
|
|
17036
|
+
glyph: "circle",
|
|
17037
|
+
glyphClass: ""
|
|
17038
|
+
},
|
|
17039
|
+
{
|
|
17040
|
+
type: "moon",
|
|
17041
|
+
label: "Moon",
|
|
17042
|
+
i18nKey: "pptx.shapePresets.moon",
|
|
17043
|
+
glyph: "circle",
|
|
17044
|
+
glyphClass: ""
|
|
17045
|
+
},
|
|
17046
|
+
{
|
|
17047
|
+
type: "pie",
|
|
17048
|
+
label: "Pie",
|
|
17049
|
+
i18nKey: "pptx.shapePresets.pie",
|
|
17050
|
+
glyph: "circle",
|
|
17051
|
+
glyphClass: ""
|
|
17052
|
+
},
|
|
17053
|
+
{
|
|
17054
|
+
type: "plaque",
|
|
17055
|
+
label: "Plaque",
|
|
17056
|
+
i18nKey: "pptx.shapePresets.plaque",
|
|
17057
|
+
glyph: "square",
|
|
17058
|
+
glyphClass: ""
|
|
17059
|
+
},
|
|
17060
|
+
{
|
|
17061
|
+
type: "teardrop",
|
|
17062
|
+
label: "Teardrop",
|
|
17063
|
+
i18nKey: "pptx.shapePresets.teardrop",
|
|
17064
|
+
glyph: "circle",
|
|
17065
|
+
glyphClass: ""
|
|
17066
|
+
},
|
|
17067
|
+
{
|
|
17068
|
+
type: "line",
|
|
17069
|
+
label: "Line",
|
|
17070
|
+
i18nKey: "pptx.shapePresets.line",
|
|
17071
|
+
glyph: "minus",
|
|
17072
|
+
glyphClass: ""
|
|
17073
|
+
},
|
|
17074
|
+
{
|
|
17075
|
+
type: "connector",
|
|
17076
|
+
label: "Connector",
|
|
17077
|
+
i18nKey: "pptx.elementType.connector",
|
|
17078
|
+
glyph: "moveRight",
|
|
17079
|
+
glyphClass: ""
|
|
17080
|
+
}
|
|
17081
|
+
];
|
|
16794
17082
|
function resolveTitleBarStatusKey(input) {
|
|
16795
17083
|
const { autosaveState, isDirty, autosaveEnabled, disabledReason } = input;
|
|
16796
17084
|
if (autosaveState === "disabled") {
|
|
@@ -18755,6 +19043,7 @@ exports.RULER_FONT_SIZE = RULER_FONT_SIZE;
|
|
|
18755
19043
|
exports.RULER_THICKNESS = RULER_THICKNESS;
|
|
18756
19044
|
exports.SECTION_HEADING = SECTION_HEADING;
|
|
18757
19045
|
exports.SEL = SEL;
|
|
19046
|
+
exports.SHAPE_PRESET_DEFS = SHAPE_PRESET_DEFS;
|
|
18758
19047
|
exports.SLIDE_TRANSITION_KEYFRAMES = SLIDE_TRANSITION_KEYFRAMES;
|
|
18759
19048
|
exports.TABLET_BREAKPOINT = TABLET_BREAKPOINT;
|
|
18760
19049
|
exports.TABLE_STYLE_PRESETS = TABLE_STYLE_PRESETS;
|
|
@@ -18768,6 +19057,7 @@ exports.WEBM_MIME_CANDIDATES = WEBM_MIME_CANDIDATES;
|
|
|
18768
19057
|
exports.addSection = addSection;
|
|
18769
19058
|
exports.alignElements = alignElements;
|
|
18770
19059
|
exports.apply3dEffects = apply3dEffects;
|
|
19060
|
+
exports.applyCaseTransformToSegments = applyCaseTransformToSegments;
|
|
18771
19061
|
exports.applyColorChange = applyColorChange;
|
|
18772
19062
|
exports.applyDuotone = applyDuotone;
|
|
18773
19063
|
exports.applyFormatToElement = applyFormatToElement;
|
|
@@ -18782,6 +19072,7 @@ exports.buildCacheKey = buildCacheKey;
|
|
|
18782
19072
|
exports.buildChartViewModel = buildChartViewModel;
|
|
18783
19073
|
exports.buildCssGradientFromShapeStyle = buildCssGradientFromShapeStyle;
|
|
18784
19074
|
exports.buildDuotoneCacheKey = buildDuotoneCacheKey;
|
|
19075
|
+
exports.buildElementClipboardPayload = buildElementClipboardPayload;
|
|
18785
19076
|
exports.buildGlowBoxShadow = buildGlowBoxShadow;
|
|
18786
19077
|
exports.buildHandoutsHtml = buildHandoutsHtml;
|
|
18787
19078
|
exports.buildInitialGuides = buildInitialGuides;
|
|
@@ -18813,6 +19104,7 @@ exports.clampCropValue = clampCropValue;
|
|
|
18813
19104
|
exports.clampNotesFontSize = clampNotesFontSize;
|
|
18814
19105
|
exports.clampPercent = clampPercent;
|
|
18815
19106
|
exports.clampUnitInterval = clampUnitInterval;
|
|
19107
|
+
exports.cloneElementForPaste = cloneElementForPaste;
|
|
18816
19108
|
exports.cloneHistorySnapshot = cloneHistorySnapshot;
|
|
18817
19109
|
exports.cloneSlide = cloneSlide;
|
|
18818
19110
|
exports.cloneTemplateElementsBySlideId = cloneTemplateElementsBySlideId;
|
|
@@ -18880,6 +19172,7 @@ exports.formatTime = formatTime;
|
|
|
18880
19172
|
exports.formatVersionTimestamp = formatVersionTimestamp;
|
|
18881
19173
|
exports.fpsToFrameIntervalMs = fpsToFrameIntervalMs;
|
|
18882
19174
|
exports.generateBroadcastRoomId = generateBroadcastRoomId;
|
|
19175
|
+
exports.generateElementId = generateElementId;
|
|
18883
19176
|
exports.generateLogTicks = generateLogTicks;
|
|
18884
19177
|
exports.generateNoteLineCount = generateNoteLineCount;
|
|
18885
19178
|
exports.generatePressureCircles = generatePressureCircles;
|
|
@@ -18945,6 +19238,7 @@ exports.isPpactionUrl = isPpactionUrl;
|
|
|
18945
19238
|
exports.isTemplateElement = isTemplateElement;
|
|
18946
19239
|
exports.isTemplateElementId = isTemplateElementId;
|
|
18947
19240
|
exports.isUrlSafe = isUrlSafe;
|
|
19241
|
+
exports.makeCloneId = makeCloneId;
|
|
18948
19242
|
exports.makeSlideId = makeSlideId;
|
|
18949
19243
|
exports.mergeAdditiveSelection = mergeAdditiveSelection;
|
|
18950
19244
|
exports.mergeCells = mergeCells;
|
|
@@ -19027,6 +19321,7 @@ exports.tintColor2 = tintColor2;
|
|
|
19027
19321
|
exports.toCssTextOrientation = toCssTextOrientation;
|
|
19028
19322
|
exports.toCssVerticalDirection = toCssVerticalDirection;
|
|
19029
19323
|
exports.toCssWritingMode = toCssWritingMode;
|
|
19324
|
+
exports.transformTextCase = transformTextCase;
|
|
19030
19325
|
exports.validateRoomId = validateRoomId;
|
|
19031
19326
|
exports.valueToY = valueToY;
|
|
19032
19327
|
exports.vermilionDarkColors = vermilionDarkColors;
|
|
Binary file
|
|
Binary file
|