ooxml-core 1.26.0 → 1.26.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/dist/{PptxHandler-5QBRBXRX.mjs → PptxHandler-64BZOBWX.mjs} +2 -2
- package/dist/{PptxHandler-CVYP5PAN.cjs → PptxHandler-AILFLRH7.cjs} +2 -2
- package/dist/{PptxHandler-TOAD6P7N.mjs → PptxHandler-PMLQGMFQ.mjs} +1 -1
- package/dist/{PresentationBuilder-EBVNYMLE.mjs → PresentationBuilder-EJY2TYWL.mjs} +1 -1
- package/dist/{PresentationBuilder-M5UXW4AF.mjs → PresentationBuilder-HBCCO2CF.mjs} +2 -2
- package/dist/{PresentationBuilder-RVQZCTIO.cjs → PresentationBuilder-RBQP6A37.cjs} +4 -4
- package/dist/{chunk-EBJ724RB.mjs → chunk-DHAZSMC7.mjs} +1 -1
- package/dist/{chunk-4IIR2QEH.mjs → chunk-FZBAMWCJ.mjs} +181 -172
- package/dist/{chunk-EEHK52XB.cjs → chunk-NXTHB2M3.cjs} +180 -171
- package/dist/{chunk-KONCS53X.mjs → chunk-OQPT5IC3.mjs} +4 -4
- package/dist/{chunk-K6OFJ5GJ.mjs → chunk-OTXJVFMY.mjs} +180 -171
- package/dist/{chunk-DNYZX6YG.mjs → chunk-R7RL7W43.mjs} +1 -1
- package/dist/{chunk-ZXPPM63Y.mjs → chunk-WRFMS5CL.mjs} +1 -1
- package/dist/pptx/automation/index.cjs +188 -178
- package/dist/pptx/automation/index.d.ts +3 -3
- package/dist/pptx/automation/index.mjs +5 -5
- package/dist/pptx/chunks/{index-D3gKRIAi.d.ts → index-CbFowkp4.d.ts} +3 -3
- package/dist/pptx/chunks/{index-D3gKRIAi.d.ts.map → index-CbFowkp4.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-BOpULlxB.d.ts → index-D4FnOx6x.d.ts} +2 -2
- package/dist/pptx/chunks/{index-BOpULlxB.d.ts.map → index-D4FnOx6x.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-B94RKk84.d.ts → index-D8DNpc1X.d.ts} +14 -4
- package/dist/pptx/chunks/{index-B94RKk84.d.ts.map → index-D8DNpc1X.d.ts.map} +1 -1
- package/dist/pptx/cli/index.cjs +188 -178
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/render/find-replace.d.ts +1 -1
- package/dist/pptx/editor/render/slide-operations.cjs +1 -1
- package/dist/pptx/editor/render/slide-operations.mjs +1 -1
- package/dist/pptx/index.cjs +188 -178
- package/dist/pptx/index.d.ts +3 -3
- package/dist/pptx/index.mjs +5 -5
- package/dist/pptx/node/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -111434,6 +111434,157 @@ var init_pptx_view_props_helpers = __esm({
|
|
|
111434
111434
|
}
|
|
111435
111435
|
});
|
|
111436
111436
|
|
|
111437
|
+
// pptx/core/core/runtime/chart-part-registration.ts
|
|
111438
|
+
function asArray4(value) {
|
|
111439
|
+
if (value === void 0 || value === null) {
|
|
111440
|
+
return [];
|
|
111441
|
+
}
|
|
111442
|
+
return (Array.isArray(value) ? value : [value]).filter(
|
|
111443
|
+
(entry2) => Boolean(entry2) && typeof entry2 === "object"
|
|
111444
|
+
);
|
|
111445
|
+
}
|
|
111446
|
+
function nextFreeChartPartPath(zip, directory) {
|
|
111447
|
+
let n = 1;
|
|
111448
|
+
while (zip.file(`${directory}/chart${n}.xml`)) {
|
|
111449
|
+
n += 1;
|
|
111450
|
+
}
|
|
111451
|
+
return `${directory}/chart${n}.xml`;
|
|
111452
|
+
}
|
|
111453
|
+
function resolvePartTarget(fromPart, target) {
|
|
111454
|
+
if (target.startsWith("/")) {
|
|
111455
|
+
return target.slice(1);
|
|
111456
|
+
}
|
|
111457
|
+
const segments = fromPart.split("/").slice(0, -1);
|
|
111458
|
+
for (const segment of target.split("/")) {
|
|
111459
|
+
if (segment === "..") {
|
|
111460
|
+
segments.pop();
|
|
111461
|
+
} else if (segment !== "." && segment !== "") {
|
|
111462
|
+
segments.push(segment);
|
|
111463
|
+
}
|
|
111464
|
+
}
|
|
111465
|
+
return segments.join("/");
|
|
111466
|
+
}
|
|
111467
|
+
function relativePartTarget2(fromPart, toPart) {
|
|
111468
|
+
const from = fromPart.split("/").slice(0, -1);
|
|
111469
|
+
const to = toPart.split("/");
|
|
111470
|
+
let common = 0;
|
|
111471
|
+
while (common < from.length && common < to.length - 1 && from[common] === to[common]) {
|
|
111472
|
+
common += 1;
|
|
111473
|
+
}
|
|
111474
|
+
return [...from.slice(common).map(() => ".."), ...to.slice(common)].join("/");
|
|
111475
|
+
}
|
|
111476
|
+
async function ensureContentTypeOverride2(deps, partPath, contentType) {
|
|
111477
|
+
const xml = await deps.zip.file("[Content_Types].xml")?.async("string");
|
|
111478
|
+
if (!xml) {
|
|
111479
|
+
return;
|
|
111480
|
+
}
|
|
111481
|
+
const tree = deps.parser.parse(xml);
|
|
111482
|
+
const types = tree["Types"] ?? {};
|
|
111483
|
+
const overrides = asArray4(types["Override"]);
|
|
111484
|
+
const partName = `/${partPath}`;
|
|
111485
|
+
if (overrides.some((entry2) => String(entry2["@_PartName"]) === partName)) {
|
|
111486
|
+
return;
|
|
111487
|
+
}
|
|
111488
|
+
overrides.push({ "@_PartName": partName, "@_ContentType": contentType });
|
|
111489
|
+
types["Override"] = overrides;
|
|
111490
|
+
tree["Types"] = types;
|
|
111491
|
+
deps.zip.file("[Content_Types].xml", deps.builder.build(tree));
|
|
111492
|
+
}
|
|
111493
|
+
async function rewriteChartRelationship(deps, slidePath, rewrite) {
|
|
111494
|
+
const slash = slidePath.lastIndexOf("/");
|
|
111495
|
+
const relsPath2 = `${slidePath.slice(0, slash + 1)}_rels/${slidePath.slice(slash + 1)}.rels`;
|
|
111496
|
+
const xml = await deps.zip.file(relsPath2)?.async("string");
|
|
111497
|
+
if (!xml) {
|
|
111498
|
+
return void 0;
|
|
111499
|
+
}
|
|
111500
|
+
const tree = deps.parser.parse(xml);
|
|
111501
|
+
const root = tree["Relationships"];
|
|
111502
|
+
const relationships3 = asArray4(root?.["Relationship"]);
|
|
111503
|
+
const match = relationships3.find((rel) => String(rel["@_Id"]) === rewrite.relationshipId) ?? relationships3.find(
|
|
111504
|
+
(rel) => resolvePartTarget(slidePath, String(rel["@_Target"] ?? "")) === rewrite.oldPartPath
|
|
111505
|
+
);
|
|
111506
|
+
if (!match || !root) {
|
|
111507
|
+
return void 0;
|
|
111508
|
+
}
|
|
111509
|
+
match["@_Type"] = rewrite.relationshipType;
|
|
111510
|
+
match["@_Target"] = relativePartTarget2(slidePath, rewrite.newPartPath);
|
|
111511
|
+
delete match["@_TargetMode"];
|
|
111512
|
+
root["Relationship"] = relationships3.length === 1 ? relationships3[0] : relationships3;
|
|
111513
|
+
deps.zip.file(relsPath2, deps.builder.build(tree));
|
|
111514
|
+
return String(match["@_Id"]);
|
|
111515
|
+
}
|
|
111516
|
+
function rebindGraphicData(node2, relationshipId2, extended2) {
|
|
111517
|
+
for (const key2 of Object.keys(node2)) {
|
|
111518
|
+
delete node2[key2];
|
|
111519
|
+
}
|
|
111520
|
+
node2["@_uri"] = extended2 ? CHART_EX_GRAPHIC_DATA_URI : CHART_GRAPHIC_DATA_URI;
|
|
111521
|
+
if (extended2) {
|
|
111522
|
+
node2["cx:chart"] = {
|
|
111523
|
+
"@_xmlns:cx": CHART_EX_GRAPHIC_DATA_URI,
|
|
111524
|
+
"@_xmlns:r": NS_R,
|
|
111525
|
+
"@_r:id": relationshipId2
|
|
111526
|
+
};
|
|
111527
|
+
} else {
|
|
111528
|
+
node2["c:chart"] = {
|
|
111529
|
+
"@_xmlns:c": CHART_GRAPHIC_DATA_URI,
|
|
111530
|
+
"@_xmlns:r": NS_R,
|
|
111531
|
+
"@_r:id": relationshipId2
|
|
111532
|
+
};
|
|
111533
|
+
}
|
|
111534
|
+
}
|
|
111535
|
+
function visitGraphicData(node2, relationshipId2, extended2, getLocalName2) {
|
|
111536
|
+
if (!node2 || typeof node2 !== "object") {
|
|
111537
|
+
return 0;
|
|
111538
|
+
}
|
|
111539
|
+
if (Array.isArray(node2)) {
|
|
111540
|
+
return node2.reduce(
|
|
111541
|
+
(count2, entry2) => count2 + visitGraphicData(entry2, relationshipId2, extended2, getLocalName2),
|
|
111542
|
+
0
|
|
111543
|
+
);
|
|
111544
|
+
}
|
|
111545
|
+
const object2 = node2;
|
|
111546
|
+
let count = 0;
|
|
111547
|
+
for (const key2 of Object.keys(object2)) {
|
|
111548
|
+
if (key2.startsWith("@_")) {
|
|
111549
|
+
continue;
|
|
111550
|
+
}
|
|
111551
|
+
const value = object2[key2];
|
|
111552
|
+
if (getLocalName2(key2) === "graphicData" && value && typeof value === "object") {
|
|
111553
|
+
for (const candidate of asArray4(value)) {
|
|
111554
|
+
const chartKey = Object.keys(candidate).find((k) => getLocalName2(k) === "chart");
|
|
111555
|
+
const chart = chartKey ? candidate[chartKey] : void 0;
|
|
111556
|
+
if (chart && String(chart["@_r:id"]) === relationshipId2) {
|
|
111557
|
+
rebindGraphicData(candidate, relationshipId2, extended2);
|
|
111558
|
+
count += 1;
|
|
111559
|
+
}
|
|
111560
|
+
}
|
|
111561
|
+
continue;
|
|
111562
|
+
}
|
|
111563
|
+
count += visitGraphicData(value, relationshipId2, extended2, getLocalName2);
|
|
111564
|
+
}
|
|
111565
|
+
return count;
|
|
111566
|
+
}
|
|
111567
|
+
async function rewriteChartGraphicFrames(deps, slidePath, relationshipId2, extended2) {
|
|
111568
|
+
const xml = await deps.zip.file(slidePath)?.async("string");
|
|
111569
|
+
if (!xml) {
|
|
111570
|
+
return 0;
|
|
111571
|
+
}
|
|
111572
|
+
const tree = deps.parser.parse(xml);
|
|
111573
|
+
const count = visitGraphicData(tree, relationshipId2, extended2, deps.getLocalName);
|
|
111574
|
+
if (count > 0) {
|
|
111575
|
+
deps.zip.file(slidePath, deps.builder.build(tree));
|
|
111576
|
+
}
|
|
111577
|
+
return count;
|
|
111578
|
+
}
|
|
111579
|
+
var CHART_GRAPHIC_DATA_URI, CHART_EX_GRAPHIC_DATA_URI, NS_R;
|
|
111580
|
+
var init_chart_part_registration = __esm({
|
|
111581
|
+
"pptx/core/core/runtime/chart-part-registration.ts"() {
|
|
111582
|
+
CHART_GRAPHIC_DATA_URI = "http://schemas.openxmlformats.org/drawingml/2006/chart";
|
|
111583
|
+
CHART_EX_GRAPHIC_DATA_URI = "http://schemas.microsoft.com/office/drawing/2014/chartex";
|
|
111584
|
+
NS_R = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
|
|
111585
|
+
}
|
|
111586
|
+
});
|
|
111587
|
+
|
|
111437
111588
|
// pptx/core/utils/chart-color-style-writer.ts
|
|
111438
111589
|
function localName22(key2) {
|
|
111439
111590
|
return key2.replace(/^.*:/u, "");
|
|
@@ -111703,7 +111854,7 @@ function buildChartExSpaceXml(chartData) {
|
|
|
111703
111854
|
const chartSpace = {
|
|
111704
111855
|
"@_xmlns:cx": NS_CX,
|
|
111705
111856
|
"@_xmlns:a": NS_A,
|
|
111706
|
-
"@_xmlns:r":
|
|
111857
|
+
"@_xmlns:r": NS_R2,
|
|
111707
111858
|
"cx:chartData": {
|
|
111708
111859
|
"cx:data": chartData.series.map(
|
|
111709
111860
|
(series, index2) => buildChartExData(chartData, series, index2)
|
|
@@ -111717,7 +111868,7 @@ function buildChartExSpaceXml(chartData) {
|
|
|
111717
111868
|
}
|
|
111718
111869
|
return { "cx:chartSpace": chartSpace };
|
|
111719
111870
|
}
|
|
111720
|
-
var NS_CX, NS_A,
|
|
111871
|
+
var NS_CX, NS_A, NS_R2, NS_C;
|
|
111721
111872
|
var init_chart_cx_generator = __esm({
|
|
111722
111873
|
"pptx/core/utils/chart-cx-generator.ts"() {
|
|
111723
111874
|
init_chart_cx_legend();
|
|
@@ -111725,7 +111876,7 @@ var init_chart_cx_generator = __esm({
|
|
|
111725
111876
|
init_chart_cx_legend();
|
|
111726
111877
|
NS_CX = "http://schemas.microsoft.com/office/drawing/2014/chartex";
|
|
111727
111878
|
NS_A = "http://schemas.openxmlformats.org/drawingml/2006/main";
|
|
111728
|
-
|
|
111879
|
+
NS_R2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
|
|
111729
111880
|
NS_C = "http://schemas.openxmlformats.org/drawingml/2006/chart";
|
|
111730
111881
|
}
|
|
111731
111882
|
});
|
|
@@ -113352,7 +113503,7 @@ function buildChartSpaceXml(chartData) {
|
|
|
113352
113503
|
"c:chartSpace": {
|
|
113353
113504
|
"@_xmlns:c": NS_C2,
|
|
113354
113505
|
"@_xmlns:a": NS_A2,
|
|
113355
|
-
"@_xmlns:r":
|
|
113506
|
+
"@_xmlns:r": NS_R3,
|
|
113356
113507
|
"c:chart": chart
|
|
113357
113508
|
}
|
|
113358
113509
|
};
|
|
@@ -113360,7 +113511,7 @@ function buildChartSpaceXml(chartData) {
|
|
|
113360
113511
|
applyGeneratedChartSpaceFormat(result, chartData);
|
|
113361
113512
|
return result;
|
|
113362
113513
|
}
|
|
113363
|
-
var NS_C2, NS_A2,
|
|
113514
|
+
var NS_C2, NS_A2, NS_R3, CAT_AX_ID, VAL_AX_ID, SER_AX_ID, SCATTER_LIKE;
|
|
113364
113515
|
var init_chart_xml_generator = __esm({
|
|
113365
113516
|
"pptx/core/utils/chart-xml-generator.ts"() {
|
|
113366
113517
|
init_chart_bubble_options();
|
|
@@ -113381,7 +113532,7 @@ var init_chart_xml_generator = __esm({
|
|
|
113381
113532
|
init_chart_xml_series_fill();
|
|
113382
113533
|
NS_C2 = "http://schemas.openxmlformats.org/drawingml/2006/chart";
|
|
113383
113534
|
NS_A2 = "http://schemas.openxmlformats.org/drawingml/2006/main";
|
|
113384
|
-
|
|
113535
|
+
NS_R3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
|
|
113385
113536
|
CAT_AX_ID = 111111111;
|
|
113386
113537
|
VAL_AX_ID = 222222222;
|
|
113387
113538
|
SER_AX_ID = 333333333;
|
|
@@ -115533,7 +115684,7 @@ function buildTitleDefRPr(style, existing, resolveColor2) {
|
|
|
115533
115684
|
}
|
|
115534
115685
|
return rPr;
|
|
115535
115686
|
}
|
|
115536
|
-
function
|
|
115687
|
+
function asArray5(value) {
|
|
115537
115688
|
if (Array.isArray(value)) {
|
|
115538
115689
|
return value;
|
|
115539
115690
|
}
|
|
@@ -115552,7 +115703,7 @@ function applyRichTitleFont(title, style, getLocalName2, resolveColor2) {
|
|
|
115552
115703
|
return txKey;
|
|
115553
115704
|
}
|
|
115554
115705
|
const pKey = findKey30(rich, "p", getLocalName2) ?? "a:p";
|
|
115555
|
-
const paragraphs =
|
|
115706
|
+
const paragraphs = asArray5(rich[pKey]).map((para) => {
|
|
115556
115707
|
const next = { ...para };
|
|
115557
115708
|
const pPrKey = findKey30(next, "pPr", getLocalName2) ?? "a:pPr";
|
|
115558
115709
|
const pPr = { ...ensureXmlChildOrCreate(next, pPrKey, "first") };
|
|
@@ -115565,7 +115716,7 @@ function applyRichTitleFont(title, style, getLocalName2, resolveColor2) {
|
|
|
115565
115716
|
next[pPrKey] = pPr;
|
|
115566
115717
|
const rKey = findKey30(next, "r", getLocalName2);
|
|
115567
115718
|
if (rKey) {
|
|
115568
|
-
const runs =
|
|
115719
|
+
const runs = asArray5(next[rKey]).map((run2) => {
|
|
115569
115720
|
const rPrKey = findKey30(run2, "rPr", getLocalName2) ?? "a:rPr";
|
|
115570
115721
|
const existingRPr = run2[rPrKey] ?? {};
|
|
115571
115722
|
const nextRun = { ...run2 };
|
|
@@ -115959,7 +116110,7 @@ var init_chart_neutral_save = __esm({
|
|
|
115959
116110
|
function findKey31(node2, localName28, getLocalName2) {
|
|
115960
116111
|
return Object.keys(node2).find((key2) => getLocalName2(key2) === localName28);
|
|
115961
116112
|
}
|
|
115962
|
-
function
|
|
116113
|
+
function asArray6(value) {
|
|
115963
116114
|
if (value === void 0 || value === null) {
|
|
115964
116115
|
return [];
|
|
115965
116116
|
}
|
|
@@ -115973,8 +116124,8 @@ function dimensionType(node2) {
|
|
|
115973
116124
|
function replaceLevels(target, source, getLocalName2) {
|
|
115974
116125
|
const targetKey = findKey31(target, "lvl", getLocalName2) ?? "cx:lvl";
|
|
115975
116126
|
const sourceKey = findKey31(source, "lvl", getLocalName2);
|
|
115976
|
-
const oldLevels =
|
|
115977
|
-
const newLevels =
|
|
116127
|
+
const oldLevels = asArray6(target[targetKey]);
|
|
116128
|
+
const newLevels = asArray6(sourceKey ? source[sourceKey] : void 0).map((level2, index2) => {
|
|
115978
116129
|
const old = oldLevels[index2];
|
|
115979
116130
|
if (!old) {
|
|
115980
116131
|
return level2;
|
|
@@ -115993,8 +116144,8 @@ function replaceChartExDataDimensions(target, fresh, getLocalName2) {
|
|
|
115993
116144
|
for (const kind of ["strDim", "numDim"]) {
|
|
115994
116145
|
const targetKey = findKey31(target, kind, getLocalName2) ?? `cx:${kind}`;
|
|
115995
116146
|
const freshKey = findKey31(fresh, kind, getLocalName2);
|
|
115996
|
-
const existing =
|
|
115997
|
-
const incoming =
|
|
116147
|
+
const existing = asArray6(target[targetKey]);
|
|
116148
|
+
const incoming = asArray6(freshKey ? fresh[freshKey] : void 0);
|
|
115998
116149
|
for (const dimension of incoming) {
|
|
115999
116150
|
const wantedType = dimensionType(dimension);
|
|
116000
116151
|
let match = existing.find((candidate) => dimensionType(candidate) === wantedType);
|
|
@@ -116032,7 +116183,7 @@ function child28(node2, localName28, getLocalName2) {
|
|
|
116032
116183
|
const value = key2 ? node2[key2] : void 0;
|
|
116033
116184
|
return value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
116034
116185
|
}
|
|
116035
|
-
function
|
|
116186
|
+
function asArray7(value) {
|
|
116036
116187
|
if (value === void 0 || value === null) {
|
|
116037
116188
|
return [];
|
|
116038
116189
|
}
|
|
@@ -116221,7 +116372,7 @@ function chartExLayoutChanged(chartSpace, chartData, getLocalName2) {
|
|
|
116221
116372
|
getLocalName2
|
|
116222
116373
|
);
|
|
116223
116374
|
const seriesKey = region ? findKey32(region, "series", getLocalName2) : void 0;
|
|
116224
|
-
const first2 = region && seriesKey ?
|
|
116375
|
+
const first2 = region && seriesKey ? asArray7(region[seriesKey])[0] : void 0;
|
|
116225
116376
|
const existing = String(first2?.["@_layoutId"] ?? "").toLowerCase();
|
|
116226
116377
|
const series = chartData.series[0];
|
|
116227
116378
|
if (!existing || !series) {
|
|
@@ -116239,9 +116390,9 @@ function applyChartExUpdate(chartSpace, chartData, getLocalName2) {
|
|
|
116239
116390
|
const chartDataKey = findKey32(chartSpace, "chartData", getLocalName2);
|
|
116240
116391
|
const chartDataNode = (chartDataKey ? chartSpace[chartDataKey] : void 0) ?? {};
|
|
116241
116392
|
const dataKey = findKey32(chartDataNode, "data", getLocalName2) ?? "cx:data";
|
|
116242
|
-
const dataNodes =
|
|
116393
|
+
const dataNodes = asArray7(chartDataNode[dataKey]);
|
|
116243
116394
|
const seriesKey = findKey32(region, "series", getLocalName2) ?? "cx:series";
|
|
116244
|
-
const existing =
|
|
116395
|
+
const existing = asArray7(region[seriesKey]);
|
|
116245
116396
|
const updated = [];
|
|
116246
116397
|
chartData.series.forEach((series, index2) => {
|
|
116247
116398
|
const node2 = existing[index2];
|
|
@@ -116323,157 +116474,6 @@ var init_chart_external_workbook_save = __esm({
|
|
|
116323
116474
|
}
|
|
116324
116475
|
});
|
|
116325
116476
|
|
|
116326
|
-
// pptx/core/core/runtime/chart-part-registration.ts
|
|
116327
|
-
function asArray7(value) {
|
|
116328
|
-
if (value === void 0 || value === null) {
|
|
116329
|
-
return [];
|
|
116330
|
-
}
|
|
116331
|
-
return (Array.isArray(value) ? value : [value]).filter(
|
|
116332
|
-
(entry2) => Boolean(entry2) && typeof entry2 === "object"
|
|
116333
|
-
);
|
|
116334
|
-
}
|
|
116335
|
-
function nextFreeChartPartPath(zip, directory) {
|
|
116336
|
-
let n = 1;
|
|
116337
|
-
while (zip.file(`${directory}/chart${n}.xml`)) {
|
|
116338
|
-
n += 1;
|
|
116339
|
-
}
|
|
116340
|
-
return `${directory}/chart${n}.xml`;
|
|
116341
|
-
}
|
|
116342
|
-
function resolvePartTarget(fromPart, target) {
|
|
116343
|
-
if (target.startsWith("/")) {
|
|
116344
|
-
return target.slice(1);
|
|
116345
|
-
}
|
|
116346
|
-
const segments = fromPart.split("/").slice(0, -1);
|
|
116347
|
-
for (const segment of target.split("/")) {
|
|
116348
|
-
if (segment === "..") {
|
|
116349
|
-
segments.pop();
|
|
116350
|
-
} else if (segment !== "." && segment !== "") {
|
|
116351
|
-
segments.push(segment);
|
|
116352
|
-
}
|
|
116353
|
-
}
|
|
116354
|
-
return segments.join("/");
|
|
116355
|
-
}
|
|
116356
|
-
function relativePartTarget2(fromPart, toPart) {
|
|
116357
|
-
const from = fromPart.split("/").slice(0, -1);
|
|
116358
|
-
const to = toPart.split("/");
|
|
116359
|
-
let common = 0;
|
|
116360
|
-
while (common < from.length && common < to.length - 1 && from[common] === to[common]) {
|
|
116361
|
-
common += 1;
|
|
116362
|
-
}
|
|
116363
|
-
return [...from.slice(common).map(() => ".."), ...to.slice(common)].join("/");
|
|
116364
|
-
}
|
|
116365
|
-
async function ensureContentTypeOverride2(deps, partPath, contentType) {
|
|
116366
|
-
const xml = await deps.zip.file("[Content_Types].xml")?.async("string");
|
|
116367
|
-
if (!xml) {
|
|
116368
|
-
return;
|
|
116369
|
-
}
|
|
116370
|
-
const tree = deps.parser.parse(xml);
|
|
116371
|
-
const types = tree["Types"] ?? {};
|
|
116372
|
-
const overrides = asArray7(types["Override"]);
|
|
116373
|
-
const partName = `/${partPath}`;
|
|
116374
|
-
if (overrides.some((entry2) => String(entry2["@_PartName"]) === partName)) {
|
|
116375
|
-
return;
|
|
116376
|
-
}
|
|
116377
|
-
overrides.push({ "@_PartName": partName, "@_ContentType": contentType });
|
|
116378
|
-
types["Override"] = overrides;
|
|
116379
|
-
tree["Types"] = types;
|
|
116380
|
-
deps.zip.file("[Content_Types].xml", deps.builder.build(tree));
|
|
116381
|
-
}
|
|
116382
|
-
async function rewriteChartRelationship(deps, slidePath, rewrite) {
|
|
116383
|
-
const slash = slidePath.lastIndexOf("/");
|
|
116384
|
-
const relsPath2 = `${slidePath.slice(0, slash + 1)}_rels/${slidePath.slice(slash + 1)}.rels`;
|
|
116385
|
-
const xml = await deps.zip.file(relsPath2)?.async("string");
|
|
116386
|
-
if (!xml) {
|
|
116387
|
-
return void 0;
|
|
116388
|
-
}
|
|
116389
|
-
const tree = deps.parser.parse(xml);
|
|
116390
|
-
const root = tree["Relationships"];
|
|
116391
|
-
const relationships3 = asArray7(root?.["Relationship"]);
|
|
116392
|
-
const match = relationships3.find((rel) => String(rel["@_Id"]) === rewrite.relationshipId) ?? relationships3.find(
|
|
116393
|
-
(rel) => resolvePartTarget(slidePath, String(rel["@_Target"] ?? "")) === rewrite.oldPartPath
|
|
116394
|
-
);
|
|
116395
|
-
if (!match || !root) {
|
|
116396
|
-
return void 0;
|
|
116397
|
-
}
|
|
116398
|
-
match["@_Type"] = rewrite.relationshipType;
|
|
116399
|
-
match["@_Target"] = relativePartTarget2(slidePath, rewrite.newPartPath);
|
|
116400
|
-
delete match["@_TargetMode"];
|
|
116401
|
-
root["Relationship"] = relationships3.length === 1 ? relationships3[0] : relationships3;
|
|
116402
|
-
deps.zip.file(relsPath2, deps.builder.build(tree));
|
|
116403
|
-
return String(match["@_Id"]);
|
|
116404
|
-
}
|
|
116405
|
-
function rebindGraphicData(node2, relationshipId2, extended2) {
|
|
116406
|
-
for (const key2 of Object.keys(node2)) {
|
|
116407
|
-
delete node2[key2];
|
|
116408
|
-
}
|
|
116409
|
-
node2["@_uri"] = extended2 ? CHART_EX_GRAPHIC_DATA_URI : CHART_GRAPHIC_DATA_URI;
|
|
116410
|
-
if (extended2) {
|
|
116411
|
-
node2["cx:chart"] = {
|
|
116412
|
-
"@_xmlns:cx": CHART_EX_GRAPHIC_DATA_URI,
|
|
116413
|
-
"@_xmlns:r": NS_R3,
|
|
116414
|
-
"@_r:id": relationshipId2
|
|
116415
|
-
};
|
|
116416
|
-
} else {
|
|
116417
|
-
node2["c:chart"] = {
|
|
116418
|
-
"@_xmlns:c": CHART_GRAPHIC_DATA_URI,
|
|
116419
|
-
"@_xmlns:r": NS_R3,
|
|
116420
|
-
"@_r:id": relationshipId2
|
|
116421
|
-
};
|
|
116422
|
-
}
|
|
116423
|
-
}
|
|
116424
|
-
function visitGraphicData(node2, relationshipId2, extended2, getLocalName2) {
|
|
116425
|
-
if (!node2 || typeof node2 !== "object") {
|
|
116426
|
-
return 0;
|
|
116427
|
-
}
|
|
116428
|
-
if (Array.isArray(node2)) {
|
|
116429
|
-
return node2.reduce(
|
|
116430
|
-
(count2, entry2) => count2 + visitGraphicData(entry2, relationshipId2, extended2, getLocalName2),
|
|
116431
|
-
0
|
|
116432
|
-
);
|
|
116433
|
-
}
|
|
116434
|
-
const object2 = node2;
|
|
116435
|
-
let count = 0;
|
|
116436
|
-
for (const key2 of Object.keys(object2)) {
|
|
116437
|
-
if (key2.startsWith("@_")) {
|
|
116438
|
-
continue;
|
|
116439
|
-
}
|
|
116440
|
-
const value = object2[key2];
|
|
116441
|
-
if (getLocalName2(key2) === "graphicData" && value && typeof value === "object") {
|
|
116442
|
-
for (const candidate of asArray7(value)) {
|
|
116443
|
-
const chartKey = Object.keys(candidate).find((k) => getLocalName2(k) === "chart");
|
|
116444
|
-
const chart = chartKey ? candidate[chartKey] : void 0;
|
|
116445
|
-
if (chart && String(chart["@_r:id"]) === relationshipId2) {
|
|
116446
|
-
rebindGraphicData(candidate, relationshipId2, extended2);
|
|
116447
|
-
count += 1;
|
|
116448
|
-
}
|
|
116449
|
-
}
|
|
116450
|
-
continue;
|
|
116451
|
-
}
|
|
116452
|
-
count += visitGraphicData(value, relationshipId2, extended2, getLocalName2);
|
|
116453
|
-
}
|
|
116454
|
-
return count;
|
|
116455
|
-
}
|
|
116456
|
-
async function rewriteChartGraphicFrames(deps, slidePath, relationshipId2, extended2) {
|
|
116457
|
-
const xml = await deps.zip.file(slidePath)?.async("string");
|
|
116458
|
-
if (!xml) {
|
|
116459
|
-
return 0;
|
|
116460
|
-
}
|
|
116461
|
-
const tree = deps.parser.parse(xml);
|
|
116462
|
-
const count = visitGraphicData(tree, relationshipId2, extended2, deps.getLocalName);
|
|
116463
|
-
if (count > 0) {
|
|
116464
|
-
deps.zip.file(slidePath, deps.builder.build(tree));
|
|
116465
|
-
}
|
|
116466
|
-
return count;
|
|
116467
|
-
}
|
|
116468
|
-
var CHART_GRAPHIC_DATA_URI, CHART_EX_GRAPHIC_DATA_URI, NS_R3;
|
|
116469
|
-
var init_chart_part_registration = __esm({
|
|
116470
|
-
"pptx/core/core/runtime/chart-part-registration.ts"() {
|
|
116471
|
-
CHART_GRAPHIC_DATA_URI = "http://schemas.openxmlformats.org/drawingml/2006/chart";
|
|
116472
|
-
CHART_EX_GRAPHIC_DATA_URI = "http://schemas.microsoft.com/office/drawing/2014/chartex";
|
|
116473
|
-
NS_R3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
|
|
116474
|
-
}
|
|
116475
|
-
});
|
|
116476
|
-
|
|
116477
116477
|
// pptx/core/core/runtime/chart-part-family-switch.ts
|
|
116478
116478
|
function detectChartPartFamily(chartSpace, getLocalName2) {
|
|
116479
116479
|
const keys = Object.keys(chartSpace);
|
|
@@ -120520,18 +120520,22 @@ var init_PptxHandlerRuntimeElementActions = __esm({
|
|
|
120520
120520
|
* Write or remove a single `a:hlinkClick` / `a:hlinkHover` node on
|
|
120521
120521
|
* a `p:cNvPr` parent.
|
|
120522
120522
|
*/
|
|
120523
|
-
serializeSingleAction(cNvPr, nodeName, action,
|
|
120523
|
+
serializeSingleAction(cNvPr, nodeName, action, links) {
|
|
120524
120524
|
if (!action) {
|
|
120525
120525
|
delete cNvPr[nodeName];
|
|
120526
120526
|
return;
|
|
120527
120527
|
}
|
|
120528
120528
|
const node2 = {};
|
|
120529
|
+
const url2 = action.url?.trim() || (/^ppaction:\/\/hlinksldjump\b/iu.test(action.action ?? "") && typeof action.targetSlideIndex === "number" ? links.slideTargetAt?.(action.targetSlideIndex) : void 0);
|
|
120529
120530
|
let rId = action.rId;
|
|
120530
|
-
if (
|
|
120531
|
+
if (rId && url2 && links.getSlideRelationshipMap().get(rId) !== url2) {
|
|
120532
|
+
rId = void 0;
|
|
120533
|
+
}
|
|
120534
|
+
if (!rId && url2) {
|
|
120531
120535
|
const forceExternal = /^ppaction:\/\/(program|hlinkfile|hlinkpres)\b/iu.test(
|
|
120532
120536
|
action.action ?? ""
|
|
120533
120537
|
);
|
|
120534
|
-
rId = resolveHyperlinkRelationshipId(
|
|
120538
|
+
rId = links.resolveHyperlinkRelationshipId(url2, forceExternal) ?? void 0;
|
|
120535
120539
|
}
|
|
120536
120540
|
node2["@_r:id"] = rId ?? "";
|
|
120537
120541
|
if (action.action) {
|
|
@@ -120605,7 +120609,7 @@ var init_PptxHandlerRuntimeElementActions = __esm({
|
|
|
120605
120609
|
* the `a:hlinkClick` and `a:hlinkHover` nodes on the element's
|
|
120606
120610
|
* non-visual properties.
|
|
120607
120611
|
*/
|
|
120608
|
-
serializeElementActions(shape, el,
|
|
120612
|
+
serializeElementActions(shape, el, links) {
|
|
120609
120613
|
const key2 = this.getTreeBucketKeyForElementType(el.type);
|
|
120610
120614
|
const cNvPr = this.getCnvPrNode(shape, key2);
|
|
120611
120615
|
if (!cNvPr) {
|
|
@@ -120613,8 +120617,8 @@ var init_PptxHandlerRuntimeElementActions = __esm({
|
|
|
120613
120617
|
}
|
|
120614
120618
|
const actionClick = "actionClick" in el ? el.actionClick : void 0;
|
|
120615
120619
|
const actionHover = "actionHover" in el ? el.actionHover : void 0;
|
|
120616
|
-
this.serializeSingleAction(cNvPr, "a:hlinkClick", actionClick,
|
|
120617
|
-
this.serializeSingleAction(cNvPr, "a:hlinkHover", actionHover,
|
|
120620
|
+
this.serializeSingleAction(cNvPr, "a:hlinkClick", actionClick, links);
|
|
120621
|
+
this.serializeSingleAction(cNvPr, "a:hlinkHover", actionHover, links);
|
|
120618
120622
|
const isDecorative = "isDecorative" in el ? el.isDecorative : void 0;
|
|
120619
120623
|
serializeDecorativeExtension(cNvPr, isDecorative);
|
|
120620
120624
|
}
|
|
@@ -133903,7 +133907,7 @@ var init_PptxHandlerRuntimeSaveElementWriter = __esm({
|
|
|
133903
133907
|
if (ctx.connectorShapeIds) {
|
|
133904
133908
|
applyConnectorShapeIds(shape, el, ctx.connectorShapeIds);
|
|
133905
133909
|
}
|
|
133906
|
-
this.serializeElementActions(shape, el, ctx
|
|
133910
|
+
this.serializeElementActions(shape, el, ctx);
|
|
133907
133911
|
this.serializeShapeLocks(shape, el);
|
|
133908
133912
|
this.applyHiddenToCnvPr(shape, el);
|
|
133909
133913
|
this.applyNameToCnvPr(shape, el);
|
|
@@ -134881,6 +134885,7 @@ var init_PptxHandlerRuntimeSaveSlideWriter = __esm({
|
|
|
134881
134885
|
init_theme_override_utils();
|
|
134882
134886
|
init_builders();
|
|
134883
134887
|
init_authored_slide_background();
|
|
134888
|
+
init_chart_part_registration();
|
|
134884
134889
|
init_PptxHandlerRuntimeSaveElementWriter();
|
|
134885
134890
|
init_save_structural_id_gate();
|
|
134886
134891
|
init_slide_fingerprint();
|
|
@@ -135016,7 +135021,7 @@ var init_PptxHandlerRuntimeSaveSlideWriter = __esm({
|
|
|
135016
135021
|
* Process a single slide during save: update slide XML, process elements,
|
|
135017
135022
|
* rebuild shape tree, and persist relationships.
|
|
135018
135023
|
*/
|
|
135019
|
-
async processSlideForSave(slide, saveSession, constants) {
|
|
135024
|
+
async processSlideForSave(slide, saveSession, constants, slidePaths = []) {
|
|
135020
135025
|
if (this.canSkipSlideSave(slide)) {
|
|
135021
135026
|
return;
|
|
135022
135027
|
}
|
|
@@ -135201,6 +135206,10 @@ var init_PptxHandlerRuntimeSaveSlideWriter = __esm({
|
|
|
135201
135206
|
slideRelationshipRegistry,
|
|
135202
135207
|
resolveHyperlinkRelationshipId: (target, forceExternal) => slideRelationshipRegistry.resolveHyperlinkRelationshipId(target, forceExternal),
|
|
135203
135208
|
getSlideRelationshipMap: () => slideRelationshipRegistry.toRelationshipMap(),
|
|
135209
|
+
slideTargetAt: (index2) => {
|
|
135210
|
+
const target = slidePaths[index2];
|
|
135211
|
+
return target ? relativePartTarget2(slide.id, target) : void 0;
|
|
135212
|
+
},
|
|
135204
135213
|
resolvedMediaBytes,
|
|
135205
135214
|
saveSession,
|
|
135206
135215
|
slideImageRelationshipType: constants.slideImageRelationshipType,
|
|
@@ -137576,8 +137585,9 @@ var init_PptxHandlerRuntimeSavePipeline = __esm({
|
|
|
137576
137585
|
await this.ensureNotesMasterForAuthoredNotes(slides, saveConstants);
|
|
137577
137586
|
await this.ensureHandoutMasterInfrastructure(options?.handoutMaster, saveConstants);
|
|
137578
137587
|
this.templateElementBaselines.beginSave();
|
|
137588
|
+
const slidePaths = slides.map((slide) => slide.id);
|
|
137579
137589
|
for (const slide of slides) {
|
|
137580
|
-
await this.processSlideForSave(slide, saveSession, saveConstants);
|
|
137590
|
+
await this.processSlideForSave(slide, saveSession, saveConstants, slidePaths);
|
|
137581
137591
|
}
|
|
137582
137592
|
this.templateElementBaselines.commitSave();
|
|
137583
137593
|
const contentTypesXml3 = await this.zip.file("[Content_Types].xml")?.async("string");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as TextSegment } from "../chunks/text-D49FKllA.js";
|
|
2
2
|
import { t as PptxThemeColorRef } from "../chunks/color-ref-DT599vEx.js";
|
|
3
3
|
import { $ as ParsedTableStyleFill, Jt as PptxChartMarkerSymbol, Lt as PptxChartErrBars, Z as ParsedTableStyleBorders, _ as PptxElementWithText, at as ParsedTableStyleText, m as PptxElement, or as ShapeStyle, pn as PptxChartUserShape, st as PptxTableCell3D, t as ChartPptxElement } from "../chunks/elements-DhW764aK.js";
|
|
4
|
-
import { Yd as OleNestedDeckSlideDetail, Zi as TableStylePartName, cf as OleSheetGrid, ff as OlePayloadEditorKind } from "../chunks/index-
|
|
4
|
+
import { Yd as OleNestedDeckSlideDetail, Zi as TableStylePartName, cf as OleSheetGrid, ff as OlePayloadEditorKind } from "../chunks/index-CbFowkp4.js";
|
|
5
5
|
import { C as PptxSlide, Ct as PptxCoreProperties, ct as PptxThemeColorScheme, d as PptxData, ft as PptxThemeFontScheme, wt as PptxCustomProperty, x as PptxPresentationProperties, yt as PptxAppProperties } from "../chunks/text-operations-CNfUj45U.js";
|
|
6
|
-
import { A as PresentationDiff, ft as ChartAxisEdit } from "../chunks/index-
|
|
7
|
-
import { C as PptxJsonAssetStats } from "../chunks/index-
|
|
6
|
+
import { A as PresentationDiff, ft as ChartAxisEdit } from "../chunks/index-D8DNpc1X.js";
|
|
7
|
+
import { C as PptxJsonAssetStats } from "../chunks/index-D4FnOx6x.js";
|
|
8
8
|
import { d as ZodType, g as $ZodTypeInternals, h as $ZodShape, m as output, s as ZodObject } from "../chunks/schemas-fuDGetRe.js";
|
|
9
9
|
import { Doc, Text } from "yjs";
|
|
10
10
|
declare namespace types_d_exports {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { duplicateSlide, ThemePresets, getThemePreset, ChartBuilder, setChartDataPointStyle, setChartHelperLine, setChartColorMapOverride, listChartUserShapes, addChartUserShape, updateChartUserShape, removeChartUserShape, diffPresentations, findPlaceholders, applyTemplate, getSectionForSlide, moveSlidesToSection, reorderSections, removeSection, addSection, replaceWithCustomGeometry, replaceShapeGeometry, setElementLocked } from '../../chunk-
|
|
1
|
+
import { duplicateSlide, ThemePresets, getThemePreset, ChartBuilder, setChartDataPointStyle, setChartHelperLine, setChartColorMapOverride, listChartUserShapes, addChartUserShape, updateChartUserShape, removeChartUserShape, diffPresentations, findPlaceholders, applyTemplate, getSectionForSlide, moveSlidesToSection, reorderSections, removeSection, addSection, replaceWithCustomGeometry, replaceShapeGeometry, setElementLocked } from '../../chunk-OQPT5IC3.mjs';
|
|
2
2
|
import '../../chunk-6Q7TP72Y.mjs';
|
|
3
|
-
import { mergePresentation } from '../../chunk-
|
|
4
|
-
import { PptxMarkdownConverter } from '../../chunk-
|
|
5
|
-
import { rebuildTableStructureInRawXml, TABLE_STYLE_PART_SEQUENCE, normalizeTableStyleGuid, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, setChartType, setChartTitle, setChartGrouping, setChartLegend, setChartDataLabels, setChartAxis, setChartCategories, addChartSeries, removeChartSeries, updateChartSeriesValues, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, setChartSeriesMarker, setChartSeriesTrendline, setChartSeriesErrorBars, findLayoutByName, findLayoutByType, PptxHandler } from '../../chunk-
|
|
6
|
-
import { hasTextProperties, resolveDisplayedChartTypeName, isTemplateElementId, makeStoreAwareId, reassignDescendantIds, groupElements, ungroupElements, decomposeSmartArt, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, updateSmartArtNodeText, removeSmartArtNode, addSmartArtNode, SvgExporter, buildPptxJsonDocument, deserializePptxFromJson, applyImportedPptxData, validatePptx, repairPptx, resolveOleEditorKindFromPayload, getOleNestedDeckDetail, getOleDocumentParagraphs, getOleSheetGrid, applyOleSheetCellEdit, applyOleDocumentParagraphEdit, applyOleNestedDeckElementTextEdit, setOleObjectName, parseDataUrlToBytes, replaceOleFile, ELEMENT_FIELD_KIND, SLIDE_FIELD_KIND } from '../../chunk-
|
|
3
|
+
import { mergePresentation } from '../../chunk-WRFMS5CL.mjs';
|
|
4
|
+
import { PptxMarkdownConverter } from '../../chunk-DHAZSMC7.mjs';
|
|
5
|
+
import { rebuildTableStructureInRawXml, TABLE_STYLE_PART_SEQUENCE, normalizeTableStyleGuid, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, setChartType, setChartTitle, setChartGrouping, setChartLegend, setChartDataLabels, setChartAxis, setChartCategories, addChartSeries, removeChartSeries, updateChartSeriesValues, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, setChartSeriesMarker, setChartSeriesTrendline, setChartSeriesErrorBars, findLayoutByName, findLayoutByType, PptxHandler } from '../../chunk-FZBAMWCJ.mjs';
|
|
6
|
+
import { hasTextProperties, resolveDisplayedChartTypeName, isTemplateElementId, makeStoreAwareId, reassignDescendantIds, groupElements, ungroupElements, decomposeSmartArt, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, updateSmartArtNodeText, removeSmartArtNode, addSmartArtNode, SvgExporter, buildPptxJsonDocument, deserializePptxFromJson, applyImportedPptxData, validatePptx, repairPptx, resolveOleEditorKindFromPayload, getOleNestedDeckDetail, getOleDocumentParagraphs, getOleSheetGrid, applyOleSheetCellEdit, applyOleDocumentParagraphEdit, applyOleNestedDeckElementTextEdit, setOleObjectName, parseDataUrlToBytes, replaceOleFile, ELEMENT_FIELD_KIND, SLIDE_FIELD_KIND } from '../../chunk-R7RL7W43.mjs';
|
|
7
7
|
import '../../chunk-JJ37PCNR.mjs';
|
|
8
8
|
import '../../chunk-3GXV5MPC.mjs';
|
|
9
9
|
import { cloneElement } from '../../chunk-54S5A5PZ.mjs';
|
|
@@ -3,8 +3,8 @@ import { n as PptxThemeColorSchemeName, t as PptxThemeColorRef } from "./color-r
|
|
|
3
3
|
import { $ as ParsedTableStyleFill, An as PptxChartElementEffects, B as ElementAction, Bt as PptxChartGradientFill, Dt as PptxChartDataLabel, E as TextPptxElement, Et as PptxChartData, Fn as PptxChartElementLine, Gt as PptxChartLineStyle, H as PptxAction, Hn as PptxChartPatternFill, Ht as PptxChartLayouts, K as PptxAudioCdPosition, Kt as PptxChartManualLayout, Ln as PptxChartElementText, Lt as PptxChartErrBars, Mt as PptxChartDataTable, O as ZoomPptxElement, Ot as PptxChartDataLabelOptions, Q as ParsedTableStyleEntry, Rn as PptxChartElementThreeD, S as ShapePptxElement, T as TablePptxElement, Un as PptxChartPictureFill, X as ParsedTableStyleBorder, Zn as PptxChartTickMark, _ as PptxElementWithText, a as GroupPptxElement, bt as PptxChartAxisFormatting, c as MediaPptxElement, d as OlePptxElement, dn as PptxEmbeddedWorkbookData, dt as PptxTableData, en as PptxChartShapeProps, er as PptxCropShape, g as PptxElementWithShapeStyle, j as Model3DSceneData, jn as PptxChartElementFill, jt as PptxChartDataPoint, kt as PptxChartDataLabelPosition, lt as PptxTableCellStyle, m as PptxElement, mn as PptxChartUserShapeGroupChild, mt as ParsedTableFillRef, n as ConnectorPptxElement, o as ImagePptxElement, on as PptxChartType, or as ShapeStyle, pn as PptxChartUserShape, pt as CreateTableStyleOptions, q as PptxMediaReferenceKind, qt as PptxChartMarker, r as ContentPartInkStroke, rn as PptxChartTrendline, rt as ParsedTableStyleMap, s as InkPptxElement, sn as PptxChartUpDownBars, t as ChartPptxElement, u as OleObjectType, ut as PptxTableCellTextRun, vt as PptxBubbleChartOptions, y as PptxImageLikeElement, yt as PptxChart3DSurface, zn as PptxChartFormatTarget } from "./elements-DhW764aK.js";
|
|
4
4
|
import { A as PptxSmartArtNode, At as DiagramStyleIntensity, Bt as CustomGeometryPoint, D as PptxSmartArtLayoutNode, Dt as DiagramConnection, E as PptxSmartArtLayoutDefinition, F as PptxSmartArtQuickStyleLabel, N as PptxSmartArtPresLayoutVars, P as PptxSmartArtQuickStyle, Tt as DiagramNumericRule, U as SmartArtNodeCustomLayout, Vt as CustomGeometryRawData, W as SmartArtRoleColorList, Y as DiagramPresLayoutVars, a as SmartArtLayoutType, bt as DiagramConstraint, ct as DiagramLayoutDefinition, d as PptxSmartArtColorStyleLabel, j as PptxSmartArtNodeStyle, jt as DiagramNode, lt as DiagramLayoutNode, n as PptxSmartArtData, o as SmartArtStyle, r as PptxSmartArtDrawingShape, t as PptxSmartArtConnection, u as PptxSmartArtColorListMetadata, y as PptxSmartArtDefinitionMetadata, zt as CustomGeometryPath } from "./smart-art-BEEl0l8X.js";
|
|
5
5
|
import { $ as PptxThemeOption, C as PptxSlide, Ct as PptxCoreProperties, D as PptxSmartTagsReference, Dt as PptxTagCollection, Ht as PptxAnimationTimelineAnchor, J as PptxNotesMaster, Jt as PptxGraphicBuild, Nt as PptxAnimationEffectFilter, P as PptxViewProperties, Q as PptxTextStyleLevels, Rt as PptxAnimationPreset, S as PptxSection, Tt as PptxModernCommentAuthor, Vt as PptxAnimationTarget, W as PptxHandoutMaster, Z as PptxSlideMaster, Zt as PptxNativeAnimation, _ as PptxLayoutOption, _t as PptxThemeVariant, b as PptxPhotoAlbum, c as PptxCustomShow, ct as PptxThemeColorScheme, d as PptxData, f as PptxEmbeddedFont, ft as PptxThemeFontScheme, g as PptxKinsoku, h as PptxHeaderFooter, jt as PptxAfterAnimationAction, kt as AnimationCondition, l as PptxCustomXmlPart, nt as PptxSlideBackgroundStyleRef, pt as PptxThemeFormatScheme, qt as PptxElementAnimation, rn as PptxVisibilitySetTiming, s as PptxActiveXControl, st as PptxTheme, u as PptxCustomerData, wt as PptxCustomProperty, x as PptxPresentationProperties, xt as PptxCommentAuthor, y as PptxModifyVerifier, yt as PptxAppProperties } from "./text-operations-CNfUj45U.js";
|
|
6
|
-
import { $ as PresentationThemeInput, Cn as PptxBuilderFactoryContext, G as ConnectorOptions, Gt as ChartGradientInput, H as ChartInput, J as GroupOptions, Nr as ResolveChartColor, Sn as PictureXmlFactoryInit, Ti as OoxmlPresetMapping, U as ChartOptions, Ut as ChartAreaFormatInput, Wt as ChartGroupOptionsInput, X as MediaOptions, Y as ImageOptions, _n as IPictureXmlFactory, at as TableOptions, et as ShadowInput, ft as ChartAxisEdit, gn as IMediaGraphicFrameXmlFactory, gt as PptxChartAxisType, hn as IConnectorXmlFactory, it as TableInput, lt as TextSegmentInput, mn as ConnectorXmlFactoryInit, nt as StrokeInput, q as FillInput, rt as TableCellInput, si as EncryptionOptions, st as TextOptions, tt as ShapeOptions, ut as TextStyleInput, vi as IPptxAnimationWriteService, vn as IPptxXmlFactoryProvider, wn as TextShapeXmlFactoryInit, xn as MediaGraphicFrameXmlFactoryInit, yn as ITextShapeXmlFactory } from "./index-
|
|
7
|
-
import "./index-
|
|
6
|
+
import { $ as PresentationThemeInput, Cn as PptxBuilderFactoryContext, G as ConnectorOptions, Gt as ChartGradientInput, H as ChartInput, J as GroupOptions, Nr as ResolveChartColor, Sn as PictureXmlFactoryInit, Ti as OoxmlPresetMapping, U as ChartOptions, Ut as ChartAreaFormatInput, Wt as ChartGroupOptionsInput, X as MediaOptions, Y as ImageOptions, _n as IPictureXmlFactory, at as TableOptions, et as ShadowInput, ft as ChartAxisEdit, gn as IMediaGraphicFrameXmlFactory, gt as PptxChartAxisType, hn as IConnectorXmlFactory, it as TableInput, lt as TextSegmentInput, mn as ConnectorXmlFactoryInit, nt as StrokeInput, q as FillInput, rt as TableCellInput, si as EncryptionOptions, st as TextOptions, tt as ShapeOptions, ut as TextStyleInput, vi as IPptxAnimationWriteService, vn as IPptxXmlFactoryProvider, wn as TextShapeXmlFactoryInit, xn as MediaGraphicFrameXmlFactoryInit, yn as ITextShapeXmlFactory } from "./index-D8DNpc1X.js";
|
|
7
|
+
import "./index-D4FnOx6x.js";
|
|
8
8
|
//#region diagram/layout/smartart-layout-types.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* SmartArt DiagramML interpreter - pure geometry types.
|
|
@@ -9681,4 +9681,4 @@ declare function createPresentationFromOutline(slides: readonly PresentationOutl
|
|
|
9681
9681
|
declare const ELEMENT_PARAGRAPH_GEOMETRY_KEYS: readonly ["align", "rtl", "paragraphMarginLeft", "paragraphMarginRight", "paragraphIndent", "defaultTabSize", "eaLineBreak", "latinLineBreak", "fontAlignment", "hangingPunctuation", "lineSpacing", "lineSpacingExactPt", "paragraphSpacingBefore", "paragraphSpacingAfter", "tabStops"];
|
|
9682
9682
|
//#endregion
|
|
9683
9683
|
export { ImageBuilder as $, estimateMediaDurationMs as $a, parseVmlElements as $c, writeOleNestedDeckElementText as $d, createTemplateConnectorRawXml as $f, resolveTableBackgroundFillRef as $i, resolveModifyVerifierAlgorithmName as $l, applySmartArtRoleColors as $m, GeometryContext as $n, getNativeAnimationPresetMetadata as $o, getAfterAnimation as $p, getRoundRectRadiusPx as $r, applyThemeToData as $s, duplicateSlide as $t, arrangeConn as $u, createSlideClipboardPackage as A, toChineseNumeral as Aa, LinkedTextBoxChainMember as Ac, getOleNestedDeckBytes as Ad, InkBounds as Af, RenderedCircleNode as Ah, DEFAULT_CANVAS_WIDTH as Ai, ChartUserShapesChartBox as Al, SLIDE_FIELD_KIND as Am, intersectShapes as An, xmlChildren as Ao, EffectTimingInput as Ap, PresetTextRectDefinition as Ar, relativeLuminance as As, ChartAxisOptionsEdit as At, addSmartArtNode as Au, inches as B, HINDI_VOWELS as Ba, applyKinsokuToXml as Bc, oleObjectTypeToGlyph as Bd, cssDegreesToOoxmlGradientAngle as Bf, MIN_TABLE_DIMENSION as Bi, parseShapeProps as Bl, PptxSmartArtDefinitionHeaderKind as Bm, svgPathToPolygons as Bn, LayoutDisplayNameInput as Bo, PptxGraphicBuildEntry as Bp, lookupPresetShape as Br, validateSmartArtLayoutDefinition as Bs, ChartElementFormatView as Bt, updateSmartArtNodeText as Bu, summarizeOpenXmlCoverage as C, chartGridRemoveCategory as Ca, getSectionSlideRange as Cc, computeSmartArtElementsWithoutCache as Cd, inferOleExtensionFromTarget as Cf, hasReference as Ch, parseOoxmlPercent as Ci, chartDataAddCategory as Cl, mergeNativeSoundIntoEditorAnimations as Cm, FreeformPathBuilder as Cn, parseChartManualLayout as Co, cloneShapeStyle as Cp, applyCustomGeometryGuideOverrides as Cr, checkDuplicateTitles as Cs, removeChartUserShape as Ct, extractGuidFromPartName as Cu, serializeSlidePackageClipboard as D, bijectiveLabel as Da, isZoomElement as Dc, applyOleNestedDeckElementTextEdit as Dd, ParsedInkMlContent as Df, BoundingBox as Dh, CONNECTOR_GEOMETRY_OPTIONS as Di, chartDataRemoveSeries as Dl, reconcileAnimationTargets as Dm, combineShapes as Dn, xmlAttrBool as Do, cloneXmlObject as Dp, customGeometryPathsToSvgSubpaths as Dr, checkPresentation as Ds, chartSupportsSecondaryAxis as Dt, ReflowedNodePosition as Du, deserializeSlidePackageClipboard as E, chartGridSetCellValue as Ea, isSummaryZoomSlide as Ec, applyOleNestedDeckBytes as Ed, inkElementToStrokes as Ef, validateSmartArtConstraintRules as Eh, CONNECTOR_ARROW_OPTIONS as Ei, chartDataRemoveCategory as El, remapEditorAnimationsToShapeIds as Em, MergeShapeOperation as En, xmlAttr as Eo, cloneTextStyle as Ep, CustomGeometrySubpathSvg as Er, checkMissingSlideTitle as Es, updateChartUserShapeAtPath as Et, obfuscateFont as Eu, getThemePreset as F, toThaiDigits as Fa, getLinkedTextBoxSegments as Fc, setOleObjectName as Fd, fetchUrlToBytes as Ff, RenderedPolygonNode as Fh, DEFAULT_TEXT_COLOR as Fi, parseChartDataLabelOptions as Fl, isInkElement as Fm, subtractSvgPaths as Fn, PRESENTATION_CHILD_ORDER as Fo, shouldHoldEndState as Fp, PresetConnectionSiteToken as Fr, parseSmartArtStyleLabelRefs as Fs, withChartLegendOptions as Ft, promoteSmartArtNode as Fu, EMU_PER_INCH as G, toEa1ChtNumeral as Ga, remapElementShapeIds as Gc, zlibDeflate as Gd, elementActionToPptxAction as Gf, SupportedShapeType as Gi, WHITESPACE_PRESERVING_TAGS as Gl, applyCustomLayoutOverrides as Gm, parseStructuredCustomGeometry as Gn, regenerateSmartArtDrawingShapes as Go, parseCondition as Gp, PRESET_SHAPE_GEOMETRY_TABLE as Gr, formatSchemeKey as Gs, setChartAreaFormat as Gt, parseSmartArtColorListHexes as Gu, mm as H, hebrewAlphaLabel as Ha, MAX_SHAPE_ID as Hc, RasterCanvas as Hd, getCssBorderDashStyle as Hf, OOXML_PERCENT_UNITS as Hi, parseLineStyle as Hl, PptxSmartArtDefinitionPartDescriptor as Hm, orderedXmlKey as Hn, applySmartArtQuickStyle3d as Ho, parseTimeTargetElement as Hp, ST_SHAPE_TYPE_VALUES as Hr, THEME_EFFECT_SCHEMES as Hs, ChartFormatTargetSupport as Ht, SmartArtColorLists as Hu, SlideSizes as I, ARABIC_ABJADI_LETTERS as Ia, parseBodyPrBooleanAttrs as Ic, renderOleDeckPreviewPng as Id, parseDataUrlToBytes as If, RenderedRectNode as Ih, DEFAULT_TEXT_FONT_SIZE as Ii, parseSeriesDataLabels as Il, isShapeElement as Im, unionPolygons as In, SP_PR_ORDER as Io, PptxOpacitySet as Ip, filterValidShapeAdjustmentEntries as Ir, validateSmartArtColorStyleLabels as Is, withChartSeriesOptions as It, removeSmartArtNode as Iu, GroupBuilder as J, formatAutoNumberMarker as Ja, applyActiveXControlsToSlide as Jc, encodePng as Jd, buildSrgbColorChoice as Jf, resolveTableStyleLineRef as Ji, decodeXmlEntities as Jl, arrangeCycle as Jm, createBuiltinVariables as Jn, AnimationCategory as Jo, serializeConditionList as Jp, PresetShapeGeometryDefinition as Jr, reResolveSlideFonts as Js, setChartSeriesGradient as Jt, resolveSmartArtNodeCoherent3DOff as Ju, EMU_PER_PIXEL as K, TEXT_AUTONUMBER_SCHEMES as Ka, remapShapeIdReferences as Kc, encodeCompressedPng as Kd, elementHasAction as Kf, PRESET_COLOR_MAP as Ki, preservesSpreadsheetXmlWhitespace as Kl, arrangePyramid as Km, ooxmlArcToSvg as Kn, relayoutSmartArt as Ko, parseConditionList as Kp, PresetPath as Kr, applyThemeOverrideToSlide as Ks, setChartGroupOptions as Kt, SmartArtEffectIntensity as Ku, cm as L, ARABIC_HIJAI_LETTERS as La, writeBodyPrBooleanAttrs as Lc, renderOleDocumentPreviewPng as Ld, normalizePositiveFixedAngleDegrees as Lf, SmartArtLayoutResult as Lh, EMU_PER_PX as Li, parseMarker as Ll, isTextElement as Lm, unionShapes as Ln, TC_PR_BORDERS_ORDER as Lo, resolveOpacitySet as Lp, PresetShapeEvaluationResult as Lr, validateSmartArtDefinitionMetadata as Ls, ChartElementFormatPatch as Lt, reorderSmartArtNode as Lu, ThemePreset as M, toEa1ChsNumeral as Ma, buildLinkedTextBoxChains as Mc, getOleSheetGrid as Md, inkBounds as Mf, RenderedNode as Mh, DEFAULT_FONT_FAMILY as Mi, parseCxChartSeries as Ml, hasTextProperties as Mm, mergeShapes as Mn, xmlText as Mo, applySpeedToDuration as Mp, getPresetConnectionSites as Mr, parseSmartArtColorStyleLabels as Ms, ChartLegendOptionsEdit as Mt, addSmartArtNodeAsChild as Mu, ThemePresetName as N, toFullWidthDigits as Na, distributeSegmentsAcrossChain as Nc, replaceOleFile as Nd, inkLengthToPx as Nf, RenderedNodeIdentity as Nh, DEFAULT_SCHEME_COLOR_MAP as Ni, parseChart3DSurfaces as Nl, isConnectorElement as Nm, subtractPolygons as Nn, BLIP_FILL_ORDER as No, resolveEffectTiming as Np, lookupPresetConnectionSites as Nr, parseSmartArtDefinitionMetadata as Ns, withChartAxisOptions as Nt, addSmartArtNodeBefore as Nu, ImportSlidePackageOptions as O, formatScriptAutoNumber as Oa, shouldReturnToZoomSlide as Oc, applyOleSheetCellEdit as Od, parseInkMlContent as Of, LayoutFamily as Oh, ConnectorGeometryType as Oi, chartDataUpdatePoint as Ol, CollabFieldKind as Om, fragmentShapes as On, xmlAttrNumber as Oo, deepCloneData as Op, getPresetTextRect as Or, computeContrastRatio as Os, isChartSeriesOnSecondaryAxis as Ot, reflowSmartArtLayout as Ou, ThemePresets as P, toHebrewNumeral as Pa, estimateTextBoxCapacity as Pc, resolveOleEditorKindFromPayload as Pd, inkPointMapper as Pf, RenderedNodeTextStyle as Ph, DEFAULT_STROKE_COLOR as Pi, parseChartAxes as Pl, isImageLikeElement as Pm, subtractShapes as Pn, EFFECT_LST_ORDER as Po, resolveIterationCount as Pp, PresetConnectionSiteDefinition as Pr, parseSmartArtQuickStyleLabels as Ps, withChartDataLabelOptions as Pt, demoteSmartArtNode as Pu, TableBuilder as Q, syncPictureShapeTypeWithCropShape as Qa, parseVmlElement as Qc, readOleNestedDeckFirstSlideTextLines as Qd, serializeColorChoiceWithRef as Qf, normalizeTableStyleGuid as Qi, createSaltlessModifyVerifierForTesting as Ql, SmartArtColorRoleMap as Qm, resolveCoordinate as Qn, getAnimationPresetInfo as Qo, DEFAULT_AFTER_ANIMATION_DIM_COLOR as Qp, getImageMaskStyle as Qr, slideBackgroundStyleRefFromNode as Qs, duplicateElement as Qt, interpretSmartArtLayout as Qu, cmToEmu as R, HEBREW_LETTERS as Ra, inheritedPlaceholderFieldType as Rc, renderOleSheetPreviewPng as Rd, positiveFixedAngleAttribute as Rf, MAX_TABLE_DIMENSION as Ri, parseSeriesDataPoints as Rl, isZoomElement$1 as Rm, unionSvgPaths as Rn, reorderObjectKeys as Ro, parseAnimEffectFilter as Rp, PresetSubpathResult as Rr, applySmartArtLayoutDefinition as Rs, resetChartElementFormat as Rt, reorderSmartArtNodeToIndex as Ru, listUnassessedOpenXmlCoverage as S, chartGridAddSeries as Sa, parsePanoseString as Sc, resetDecomposeCounter as Sd, getOleObjectTypeLabel as Sf, buildConstraintIndex as Sh, parseDrawingPercent as Si, resolveDisplayedChartTypeName as Sl, timingCurveToAccelDecel as Sm, isCalloutShape as Sn, parseChartLayouts as So, cloneElement as Sp, evaluateCustomGeometryPaths as Sr, checkComplexTables as Ss, listChartUserShapes as St, detectFontFormat as Su, SLIDE_PACKAGE_CLIPBOARD_MIME as T, chartGridSetCategoryLabel as Ta, getZoomTargetSlideIndexes as Tc, applyOleDocumentParagraphEdit as Td, stripParentDirSegments as Tf, resolveConstraint as Th, toHex as Ti, chartDataChangeType as Tl, resolveConnectorShapeIds as Tm, douglasPeucker as Tn, isXmlNode as To, cloneTemplateElementsBySlideId as Tp, resolveCustomGeometryToken as Tr, checkMissingAltText as Ts, updateChartUserShape as Tt, guidToKey as Tu, pixelsToEmu as U, repeatedLabel as Ua, findCnvPrNode as Uc, RasterColor as Ud, getSvgStrokeDasharray as Uf, POWERPOINT_PRESENCE_KEY as Ui, parseSeriesErrBars as Ul, PptxSmartArtHeaderCategory as Um, stripXmlOrderSuffix as Un, isDefaultSmartArtLabelScene as Uo, serializeGraphicBuild as Up, isStShapeType as Ur, findThemeEffectScheme as Us, chartFormatTargetSupports as Ut, buildSmartArtColorLists as Uu, inchesToEmu as V, THAI_CONSONANTS as Va, parseKinsoku as Vc, renderOleIconPng as Vd, ooxmlGradientAngleToCssDegrees as Vf, OOXML_ANGLE_UNITS_PER_DEGREE as Vi, parseDataTable as Vl, PptxSmartArtDefinitionHeaderList as Vm, Vec2 as Vn, resolveLayoutDisplayName as Vo, extractGraphicBuilds as Vp, PRESET_GEOMETRY_ALIASES as Vr, PptxThemeEffectScheme as Vs, ChartFormatFillKind as Vt, SmartArtColorListDeps as Vu, pt as W, toCjkDigitString as Wa, parseShapeId as Wc, rgb as Wd, normalizeStrokeDashType as Wf, STROKE_DASH_OPTIONS as Wi, parseSeriesTrendlines as Wl, PptxSmartArtHeaderText as Wm, buildCustomGeometryPathsFromNodes as Wn, smartArtQuickStyleHas3d as Wo, serializeTimeTargetElement as Wp, normalizeStShapeType as Wr, findThemeEffectSchemeByName as Ws, readChartElementFormat as Wt, buildSmartArtColorRoleMap as Wu, ConnectorBuilder as X, cropShapeForPresetGeometry as Xa, parseActiveXControlsFromSlide as Xc, OleNestedDeckTextElement as Xd, extractColorChoiceXml as Xf, TABLE_STYLE_PART_SEQUENCE as Xi, encodeXmlTextValue as Xl, arrangeText as Xm, parseAdjustmentValues as Xn, EMPHASIS_PRESETS as Xo, applyAfterAnimationFromEditorList as Xp, getAdjustmentAwareShapeClipPath as Xr, backgroundRefNodeForPreset as Xs, setChartDataPointStyle as Xt, interpretedLayoutToElements as Xu, MediaBuilder as Y, romanNumeral as Ya, buildActiveXControlNode as Yc, OleNestedDeckSlideDetail as Yd, colorsEqual as Yf, resolveTableStyleLineRefColor as Yi, encodeXmlAttributeValue as Yl, arrangeSpacer as Ym, evaluateGuides as Yn, AnimationPresetInfo as Yo, extractAfterAnimationFromSubTnLst as Yp, ImageMaskStyle as Yr, backgroundRefNode as Ys, setChartColorMapOverride as Yt, resolveSmartArtNodeStyleRoles as Yu, ChartBuilder as Z, presetGeometryForCropShape as Za, VML_SHAPE_TAGS as Zc, readOleNestedDeckDetail as Zd, serializeColorChoice as Zf, TableStylePartName as Zi, createModifyVerifier as Zl, InterpretLayoutInput as Zm, parseGuideDefinitions as Zn, MOTION_PATH_PRESETS as Zo, AFTER_ANIMATION_VALUES as Zp, getCloudPathForRendering as Zr, backgroundStyleRefIsCurrent as Zs, setChartHelperLine as Zt, parseSmartArtPointCustomLayout as Zu, OpenXmlCoverageFacets as _, extractTableCellTextRuns as _a, getPanoseWeight as _c, styleShadow as _d, decodeOle10Native as _f, findConstraint as _h, hexToRgbChannels as _i, guidePxToEmu as _l, capturedSubtypes as _m, CalloutPoint as _n, validateSmartArtDefinitionHeaderList as _o, groupElements as _p, CLOUD_LOBE_COUNT as _r, AccessibilityCheckOptions as _s, uniquePrefixedName as _t, buildClrMapOverrideXml as _u, setPresentationRunText as a, updateCellTextInRawXml as aa, repairPptx as ac, ArrangementPlan as ad, readOleXlsGrid as af, buildForest as ah, parseDrawingColorOpacity as ai, getSupportedNamespaces as al, DEFAULT_ANIMATION_DURATION_MS as am, createImageElement as an, applyDrawingLineDash as ao, ensureArrayValue as ap, PresetShapeCategory as ar, TableStyleFlags as as, replaceShapeGeometry as at, Ole2ParseError as au, OpenXmlVocabulary as b, chartDataToSheet as ba, hasDirectSubstitution as bc, ContainerBounds as bd, unwrapOleEmbedding as bf, ConstraintIndex as bh, parseDrawingFraction as bi, ParetoDetectableChartData as bl, resolveDirectionSubtype as bm, getCalloutTier as bn, applyChartLayouts as bo, reassignDescendantIds as bp, getAdjustmentAwareClipPath as br, AccessibilityIssueType as bs, addChartUserShapeGroupChild as bt, themeColorSchemesEqual as bu, isLegacyPpt as c, rebuildTableStructureInRawXml as ca, ValidationIssue as cc, colour as cd, OleSheetGrid$1 as cf, treeWidth as ch, themeColorRefFromColorChoice as ci, isNamespaceSupported as cl, hasAnimation as cm, createTableElement as cn, applyDrawingMediaReference as co, getElementLabel as cp, getElementOrientationMatrix as cr, TableStylePartFill as cs, addSection as ct, verifyPassword as cu, OPENXML_TRANSITIONAL_SCHEMA_CONSTRUCT_IDS as d, createTableCellXml as da, PANOSE_FAMILY_MAP as dc, gearPoints as dd, writeOleSheetCellEdit as df, algorithmParam as dh, themeColorRefToSolidFillWithOpacity as di, switchSmartArtLayout as dl, applySoundToEffectCTn as dm, TextShapeXmlFactory as dn, parseChartUpDownBars as do, isTemplateElement as dp, isTextOrientationMatrix as dr, resolveTableCellStyle as ds, removeSection as dt, EncryptedFileError as du, addTableStyleToMap as ea, buildColorMapForBackgroundPair as ec, arrangeComposite as ed, readOleDocParagraphs as ef, StyleContext as eh, getShapeClipPath as ei, Model3DTransform as el, getAfterAnimationState as em, resetCloneIdCounter as en, sampleFirstPixelColorFromBytes as eo, createTemplateShapeRawXml as ep, GeometryGuide as er, getPresetsByCategory as es, ShapeBuilder as et, verifyModifyPassword as eu, OPENXML_STRICT_SCHEMA_CONSTRUCT_IDS as f, createTableGraphicFrameRawXml as fa, PANOSE_MONOSPACE_PROPORTION as fc, nodeFill as fd, OlePayloadEditorKind as ff, itemNode as fh, themeColorRefToXml as fi, convertMetafileToDataUrl as fl, applyAfterAnimationBehavior as fm, PptxXmlFactoryProvider as fn, applySmartArtConstraintRules as fo, readFileAsDataUrl as fp, multiplyTextOrientationMatrices as fr, findCustomShow as fs, reorderSections as ft, FileFormatDetection as fu, OpenXmlCoverageFacet as g, TableCellRunsContext as ga, classifyPanose as gc, strokeFor as gd, OleUnwrapResult as gf, clampByRules as gh, colorWithOpacity as gi, guideEmuToPx as gl, capturedPresetIds as gm, CalloutLeaderLineGeometry as gn, serializeSmartArtDefinitionHeaderList as go, UngroupResult as gp, CLOUD_CALLOUT_TAIL_COUNT as gr, resolveCustomShowSlideIndices as gs, uniqueDisplayName as gt, DEFAULT_COLOR_MAP as gu, OpenXmlCoverageEvidence as h, PptxLoadDataBuilder as ha, buildFontFamilyString as hc, nodeTextStyle as hd, replaceOleEmbedding as hf, ArrangementKind as hh, clampUnitInterval as hi, buildGuideListExtension as hl, CapturedPreset as hm, ConnectorXmlFactory as hn, parseSmartArtDefinitionHeaderList as ho, UngroupOptions as hp, getConnectorPathGeometry as hr, navigateCustomShow as hs, collectMasterNames as ht, ColorMapAliasKey as hu, inspectPresentationText as i, DEFAULT_POWERPOINT_TABLE_STYLE_ID as ia, reResolveSlideColors as ic, resolveConstraintDeclaredBy as id, writeOleXlsStringCellEdit as if, styleContext as ih, parseDrawingColorChoice as ii, areNamespacesSupported as il, setAfterAnimationColor as im, createGroupElement as in, withThemePlaceholderColor as io, createUniformTextSegments as ip, getPresetShapeClipPath as ir, ParsedTableStylePart as is, parseSvgPath as it, Ole2File as iu, importSlidePackage as j, toDevanagariDigits as ja, LinkedTextBoxSegmentMap as jc, getOleNestedDeckDetail as jd, InkTargetBox as jf, RenderedConnector as jh, DEFAULT_FILL_COLOR as ji, flattenChartUserShapes as jl, hasShapeProperties as jm, intersectSvgPaths as jn, xmlPath as jo, EffectTimingResolution as jp, EvaluatedPresetConnectionSite as jr, SmartArtStyleLabelRefs as js, ChartDataLabelOptionsEdit as jt, addSmartArtNodeAbove as ju, ImportSlidePackageResult as k, toArabicAbjadNumeral as ka, LinkedTextBoxChain as kc, getOleDocumentParagraphs as kd, buildInkMlContent as kf, LayoutRect as kh, DEFAULT_CANVAS_HEIGHT as ki, parseEmbeddedXlsx as kl, ELEMENT_FIELD_KIND as km, intersectPolygons as kn, xmlChild as ko, resolveVisibilitySetTiming as kp, lookupPresetTextRectOverride as kr, parseHexColor as ks, withChartSeriesOnSecondaryAxis as kt, setSmartArtNodeStyle as ku, EncryptedPptError as l, TableStructureEdit as la, ValidationResult as lc, fitFontSize as ld, OleSheetRow$1 as lf, selectArrangedNodes as lh, themeColorRefFromSchemeClr as li, SWITCHABLE_LAYOUT_TYPES as ll, upsert as lm, createTextElement as ln, parseDrawingMediaReference as lo, getElementTextContent as lp, getElementTransform as lr, TableStylePartText as ls, getSectionForSlide as lt, DataIntegrityError as lu, OpenXmlConstructCoverage as m, PptxShapeIdValidator as ma, PANOSE_WEIGHT_MAP as mc, nodeStroke as md, encodeOle10Native as mf, resolveFlowDirection as mh, HslColor as mi, P15_GUIDE_URI as ml, CapturedBehaviorNode as mm, MediaGraphicFrameXmlFactory as mn, SMART_ART_DEFINITION_PARTS as mo, GroupResult as mp, getConnectorAdjustment as mr, getCustomShowPositionLabel as ms, collectLayoutNames as mt, COLOR_MAP_ALIAS_KEYS as mu, PresentationOutlineSlide as n, deleteTableStyleFromMap as na, reResolveElementColors as nc, arrangeLinear as nd, readOleDocumentParagraphs as nf, polygonNode as nh, getShapeType as ni, resolveModel3DMimeType as nl, mergeNativeAfterAnimationIntoEditorAnimations as nm, createConnectorElement as nn, deriveSlideTitles as no, createDrawingObjectId as np, PRESET_SHAPE_DEFINITIONS as nr, EXIT_PRESETS as ns, setElementLocked as nt, parseOle2 as nu, convertPptToPptx as o, updateCellTextStyleInRawXml as oa, validatePptx as oc, discoverArrangement as od, writeOleXlsNumericCellEdit as of, buildTree as oh, isThemeColorSchemeName as oi, isAlternateContentChoiceSupported as ol, DEFAULT_ANIMATION_TRIGGER as om, createMediaElement as on, parseDrawingLineDash as oo, formatCommentTimestamp as op, PresetShapeDefinition as or, TableStylePartBorder as os, replaceWithCustomGeometry as ot, decryptPptx as ou, OPENXML_COVERAGE as p, IPptxShapeIdValidator as pa, PANOSE_SANS_SERIF_STYLES as pc, nodeOpacity as pd, detectOlePayloadEditorKind as pf, numericParam as ph, applyDrawingColorTransforms as pi, P14_GUIDE_URI as pl, capturedPresetNativeAnimation as pm, PictureXmlFactory as pn, parseSmartArtConstraintRules as po, shouldRenderFallbackLabel as pp, ConnectorPathGeometry as pr, getCustomShowNames as ps, resetSectionIdCounter as pt, detectFileFormat as pu, EMU_PER_POINT as q, alphaLabel as qa, visitXmlObjects as qc, decodePngDimensions as qd, pptxActionToElementAction as qf, SYSTEM_COLOR_MAP as qi, preservesXmlWhitespace as ql, arrangeSnake as qm, evaluateGeometryPaths as qn, ALL_ANIMATION_PRESETS as qo, serializeCondition as qp, PresetPathCommand as qr, reResolveElementFonts as qs, setChartDataPointGradient as qt, resolveSmartArtEffectIntensity as qu, createPresentationFromOutline as r, generateTableStyleGuid as ra, reResolveElementsForColorMapChange as rc, chooseAlgType as rd, writeOleDocumentParagraphEdit as rf, rectNode as rh, parseDrawingColor as ri, parseModel3DScene as rl, setAfterAnimation as rm, createFreeformElement as rn, extractStyleReferenceColorXml as ro, createEditorId as rp, PRESET_SHAPE_CLIP_PATHS as rr, ParsedTableStyle as rs, interpolateShapeGeometry as rt, Ole2DirectoryEntry as ru, isEncryptedLegacyPpt as s, updateMergeAttrsInRawXml as sa, RepairResult as sc, chevronPoints as sd, OleSheetCell$1 as sf, treeDepth as sh, resolveThemeColorRef as si, isAlternateContentChoiceXmlSupported as sl, animationFor as sm, createShapeElement as sn, ParsedDrawingMediaReference as so, getCommentMarkerPosition as sp, TEXT_ORIENTATION_IDENTITY as sr, TableStylePartBorders as ss, serializeSvgPath as st, encryptPptx as su, ELEMENT_PARAGRAPH_GEOMETRY_KEYS as t, createTableStyleEntry as ta, buildThemeColorMap as tc, arrangeHierarchy as td, writeOleDocParagraphEdit as tf, circleNode as th, getShapeClipPathFromPreset as ti, extractModel3DTransform as tl, isNativeAfterAnimationOnly as tm, createChartElement as tn, deriveSlideTitle as to, createArrayBufferCopy as tp, PRESET_SHAPE_CATEGORY_LABELS as tr, ENTRANCE_PRESETS as ts, TextBuilder as tt, buildOle2 as tu, OPENXML_SCHEMA_CONSTRUCT_IDS as u, applyTableCellTextAndStyle as ua, FONT_SUBSTITUTION_MAP as uc, flattenNodes as ud, readOleSheetGrid as uf, FlowDirection as uh, themeColorRefToSolidFill as ui, isSwitchableLayoutType as ul, buildSingleEffectNode as um, resetIdCounter as un, applyChartUpDownBars as uo, isEditableTextElement as up, getTextCompensationTransform as ur, mergeStyleParts as us, moveSlidesToSection as ut, IncorrectPasswordError as uu, OpenXmlCoverageLevel as v, chartDataApplySheetEdit as va, getSubstituteFontFamily as vc, styleStroke as vd, isOle2CompoundFile as vf, ratioConstraint as vh, hslToRgb as vi, parsePresentationDrawingGuides as vl, getCapturedPreset as vm, buildCalloutLeaderLineSvgPath as vn, applyBubbleChartOptions as vo, isTemplateElementId as vp, getCloudCalloutClipPath as vr, AccessibilityIssue as vs, ChartUserShapePath as vt, hasNonTrivialOverride as vu, summarizeOpenXmlCoverageByVocabulary as w, chartGridRemoveSeries as wa, getZoomElements as wc, decomposeSmartArt as wd, mimeTypeForOleFile as wf, roleOf as wh, rgbToHsl as wi, chartDataAddSeries as wl, applyConnectorShapeIds as wm, catmullRomToBezier as wn, ensureXmlChild as wo, cloneSlide as wp, resolveCustomGeometryGuideContext as wr, checkLowContrast as ws, removeChartUserShapeAtPath as wt, generateFontGuid as wu, findOpenXmlCoverage as x, chartGridAddCategory as xa, parsePanoseBytes as xc, TreeNode as xd, detectOleObjectType as xf, EMPTY_CONSTRAINT_INDEX as xh, parseDrawingHueDegrees as xi, isParetoChartData as xl, PptxAnimationWriteService as xm, getCalloutViewBoxBounds as xn, applyChartManualLayout as xo, ungroupElements as xp, evaluateCustomGeometryPathData as xr, checkBlankSlide as xs, getChartUserShapeAtPath as xt, deobfuscateFont as xu, OpenXmlCoverageSummary as y, chartDataApplySheetEdits as ya, getSubstituteFonts as yc, truncate as yd, oleBytesToDataUrl as yf, resolveRatioConstraint as yh, normalizeHexColor as yi, parseSlideDrawingGuides as yl, getCapturedTree as ym, getCalloutLeaderLineGeometry as yn, parseBubbleChartOptions as yo, makeStoreAwareId as yp, getCloudClipPath as yr, AccessibilityIssueSeverity as ys, addChartUserShape as yt, mergeThemeColorOverride as yu, emuToPixels as z, HINDI_CONSONANTS as za, isHeaderFooterPlaceholder as zc, OleIconGlyph as zd, shadowOffsetToDistanceAndDirection as zf, MIN_ELEMENT_SIZE as zi, parseSeriesExplosion as zl, PptxSmartArtDefinitionHeader as zm, polygonsToSvgPath as zn, reorderObjectKeysByLocalName as zo, parseFilterToken as zp, evaluatePresetShape as zr, parseSmartArtLayoutDefinition as zs, withChartElementFormat as zt, resetSmartArtEditCounter as zu };
|
|
9684
|
-
//# sourceMappingURL=index-
|
|
9684
|
+
//# sourceMappingURL=index-CbFowkp4.d.ts.map
|