ooxml-ui 1.54.0 → 1.54.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/glyph.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  import { type TemplateResult } from 'lit';
2
2
  export declare function glyph(name: string | null | undefined, className?: string, hidden?: boolean): TemplateResult;
3
- //# sourceMappingURL=glyph.d.ts.map
@@ -1,4 +1,4 @@
1
- import { THREE_VIEW_EVENTS, applyChart3DSelect, applyChart3DDrag, resolveSmartArtThreeViewSpec, elementInLocalFrame, SMARTART_3D_EDIT_LAYER_ATTRIBUTE, stripEditLayerMarkers, routeEditLayerPointerToNodes, measureSvgViewportRect, findSmartArtNodeText, resolvePalette, smartArtConnectorPaint, smartArtNodeLabel, getContainerStyle, buildChromeStyle, buildSmartArtA11y, resolveRevealedSmartArtNodes, resolveRevealedDrawingShapes, computeSmartArtElementLayout, flattenNodes, computeDrawingViewBox, projectDrawingShapes, styleShadowFilter, resolveRevealedDrawingShapeNodeIds, refreshSmartArtPictureImage, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_PREVIEW_ELEMENT_HEIGHT, buildSmartArtPreviewElement, isForwardedEditLayerEvent } from './chunk-DNXARUCD.mjs';
1
+ import { THREE_VIEW_EVENTS, applyChart3DSelect, applyChart3DDrag, resolveSmartArtThreeViewSpec, elementInLocalFrame, SMARTART_3D_EDIT_LAYER_ATTRIBUTE, stripEditLayerMarkers, routeEditLayerPointerToNodes, measureSvgViewportRect, findSmartArtNodeText, resolvePalette, smartArtConnectorPaint, smartArtNodeLabel, getContainerStyle, buildChromeStyle, buildSmartArtA11y, resolveRevealedSmartArtNodes, resolveRevealedDrawingShapes, computeSmartArtElementLayout, flattenNodes, computeDrawingViewBox, projectDrawingShapes, styleShadowFilter, resolveRevealedDrawingShapeNodeIds, refreshSmartArtPictureImage, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_PREVIEW_ELEMENT_HEIGHT, buildSmartArtPreviewElement, isForwardedEditLayerEvent } from './chunk-TR7VLHAC.mjs';
2
2
  import { canDrillDown } from './chunk-FUKVYJPM.mjs';
3
3
  import { formatAxisValue } from './chunk-YFS2TFET.mjs';
4
4
  import { THREE_VIEW_TAG, defineThreeViewElement } from './chunk-7EVC4DK7.mjs';
@@ -7060,6 +7060,9 @@ var translationsEn = {
7060
7060
  "pptx.compatibility.externalImageReference": "This presentation links to an image outside the file, which may not load for other people.",
7061
7061
  "pptx.compatibility.slideSynchronizationMetadata": "This slide is linked to another presentation for synchronization; that link is preserved but not applied here.",
7062
7062
  "pptx.compatibility.unsupportedAlternateContentChoice": "This presentation uses a newer PowerPoint feature; a compatible fallback was used instead.",
7063
+ "pptx.compatibility.partialOleSupport": "This presentation has embedded objects. They show as pictures and can be opened or downloaded; Excel, Word and PowerPoint objects can also be edited here.",
7064
+ "pptx.compatibility.partialInkSupport": "Some ink drawings use pen settings this viewer cannot show exactly.",
7065
+ "pptx.compatibility.unsupportedGraphicFrame": "This presentation contains an object this viewer cannot show. It is kept unchanged when you save.",
7063
7066
  "pptx.compatibility.groupDepthExceeded": "A group of shapes is nested more deeply than this viewer supports and was flattened.",
7064
7067
  "pptx.compatibility.saveNotesRelationshipMissing": "Speaker notes could not be linked to this slide when saving.",
7065
7068
  "pptx.compatibility.saveNotesPartMissing": "Speaker notes could not be saved for this slide.",
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk5BQM5YYS_cjs = require('./chunk-5BQM5YYS.cjs');
3
+ var chunkWGKDCAFA_cjs = require('./chunk-WGKDCAFA.cjs');
4
4
  var chunkCWWL7MCL_cjs = require('./chunk-CWWL7MCL.cjs');
5
5
  var chunkK2SGPTSG_cjs = require('./chunk-K2SGPTSG.cjs');
6
6
  var chunkWPM2ADMY_cjs = require('./chunk-WPM2ADMY.cjs');
@@ -145,13 +145,13 @@ function wireChartThreeViewEvents(view, element, context, badgeHost) {
145
145
  const listeners = new AbortController();
146
146
  chartViewListeners.set(view, listeners);
147
147
  view.addEventListener(
148
- chunk5BQM5YYS_cjs.THREE_VIEW_EVENTS.select,
149
- (event) => chunk5BQM5YYS_cjs.applyChart3DSelect(bridge, event.detail.part),
148
+ chunkWGKDCAFA_cjs.THREE_VIEW_EVENTS.select,
149
+ (event) => chunkWGKDCAFA_cjs.applyChart3DSelect(bridge, event.detail.part),
150
150
  { signal: listeners.signal }
151
151
  );
152
152
  view.addEventListener(
153
- chunk5BQM5YYS_cjs.THREE_VIEW_EVENTS.drag,
154
- (event) => chunk5BQM5YYS_cjs.applyChart3DDrag(bridge, event.detail),
153
+ chunkWGKDCAFA_cjs.THREE_VIEW_EVENTS.drag,
154
+ (event) => chunkWGKDCAFA_cjs.applyChart3DDrag(bridge, event.detail),
155
155
  { signal: listeners.signal }
156
156
  );
157
157
  }
@@ -165,7 +165,7 @@ function applyThreeViewTextStyle(el, style) {
165
165
  // src/pptx/dom/elements/smartart-3d.ts
166
166
  var renderSmartArt3DElement = (element, zIndex, context) => {
167
167
  const wrapper = renderSmartArtSvg(element, zIndex, context);
168
- const spec = wrapper ? chunk5BQM5YYS_cjs.resolveSmartArtThreeViewSpec(element, context.smartArt3D) : null;
168
+ const spec = wrapper ? chunkWGKDCAFA_cjs.resolveSmartArtThreeViewSpec(element, context.smartArt3D) : null;
169
169
  if (!wrapper || !spec) {
170
170
  return wrapper;
171
171
  }
@@ -175,18 +175,18 @@ var renderSmartArt3DElement = (element, zIndex, context) => {
175
175
  textStyle: context.presentationStates?.get(element.id)?.textStyle
176
176
  });
177
177
  if (context.onSmartArtNodeTextChange && context.interactive && !context.presenting) {
178
- const layer = renderSmartArtSvg(chunk5BQM5YYS_cjs.elementInLocalFrame(element), 0, context);
178
+ const layer = renderSmartArtSvg(chunkWGKDCAFA_cjs.elementInLocalFrame(element), 0, context);
179
179
  if (layer) {
180
180
  layer.classList.add("pptxv-smartart-3d-edit-layer");
181
- layer.setAttribute(chunk5BQM5YYS_cjs.SMARTART_3D_EDIT_LAYER_ATTRIBUTE, "true");
182
- chunk5BQM5YYS_cjs.stripEditLayerMarkers(layer);
181
+ layer.setAttribute(chunkWGKDCAFA_cjs.SMARTART_3D_EDIT_LAYER_ATTRIBUTE, "true");
182
+ chunkWGKDCAFA_cjs.stripEditLayerMarkers(layer);
183
183
  layer.setAttribute("aria-hidden", "true");
184
184
  Object.assign(layer.style, { position: "absolute", inset: "0", zIndex: "1" });
185
185
  for (const svg of layer.querySelectorAll("svg")) {
186
186
  svg.style.opacity = "0";
187
187
  }
188
188
  wrapper.appendChild(layer);
189
- chunk5BQM5YYS_cjs.routeEditLayerPointerToNodes(layer);
189
+ chunkWGKDCAFA_cjs.routeEditLayerPointerToNodes(layer);
190
190
  }
191
191
  }
192
192
  return wrapper;
@@ -206,7 +206,7 @@ function enableSmartArtEditing(chrome, element, context) {
206
206
  let swatches = null;
207
207
  let hideTimer;
208
208
  const cancelHide = () => clearTimeout(hideTimer);
209
- const ignoredHover = (event) => chrome.closest(`[${chunk5BQM5YYS_cjs.SMARTART_3D_EDIT_LAYER_ATTRIBUTE}]`) !== null && !chunk5BQM5YYS_cjs.isForwardedEditLayerEvent(event);
209
+ const ignoredHover = (event) => chrome.closest(`[${chunkWGKDCAFA_cjs.SMARTART_3D_EDIT_LAYER_ATTRIBUTE}]`) !== null && !chunkWGKDCAFA_cjs.isForwardedEditLayerEvent(event);
210
210
  const closeEditor = (input = editor) => {
211
211
  if (!input || input !== editor) {
212
212
  return;
@@ -222,8 +222,8 @@ function enableSmartArtEditing(chrome, element, context) {
222
222
  }
223
223
  event.stopPropagation();
224
224
  const textNode = target.querySelector("text");
225
- const textRect = textNode ? chunk5BQM5YYS_cjs.measureSvgViewportRect(textNode) : null;
226
- const rect = textRect && textRect.width > 0 ? textRect : chunk5BQM5YYS_cjs.measureSvgViewportRect(target);
225
+ const textRect = textNode ? chunkWGKDCAFA_cjs.measureSvgViewportRect(textNode) : null;
226
+ const rect = textRect && textRect.width > 0 ? textRect : chunkWGKDCAFA_cjs.measureSvgViewportRect(target);
227
227
  if (!rect) {
228
228
  return;
229
229
  }
@@ -247,7 +247,7 @@ function enableSmartArtEditing(chrome, element, context) {
247
247
  textAlign: "center"
248
248
  });
249
249
  editor = input;
250
- input.value = chunk5BQM5YYS_cjs.findSmartArtNodeText(data, nodeId) ?? "";
250
+ input.value = chunkWGKDCAFA_cjs.findSmartArtNodeText(data, nodeId) ?? "";
251
251
  const commit = () => {
252
252
  if (input !== editor) {
253
253
  return;
@@ -282,7 +282,7 @@ function enableSmartArtEditing(chrome, element, context) {
282
282
  }
283
283
  cancelHide();
284
284
  swatches?.remove();
285
- const rect = chunk5BQM5YYS_cjs.measureSvgViewportRect(target);
285
+ const rect = chunkWGKDCAFA_cjs.measureSvgViewportRect(target);
286
286
  if (!rect) {
287
287
  return;
288
288
  }
@@ -301,7 +301,7 @@ function enableSmartArtEditing(chrome, element, context) {
301
301
  });
302
302
  swatches.setAttribute("role", "group");
303
303
  swatches.setAttribute("aria-label", context.t("pptx.smartArt.fillColor"));
304
- for (const color of chunk5BQM5YYS_cjs.resolvePalette(data).slice(0, 6)) {
304
+ for (const color of chunkWGKDCAFA_cjs.resolvePalette(data).slice(0, 6)) {
305
305
  const button = createEl(chrome.ownerDocument, "button", "", {
306
306
  width: "18px",
307
307
  height: "18px",
@@ -403,7 +403,7 @@ function buildSmartArtFallbackSvg(doc, layout, a11yNodes = [], nodeIds = []) {
403
403
  svg.setAttribute("class", "pptxv-smartart-svg");
404
404
  svg.setAttribute("style", SMARTART_SVG_STYLE);
405
405
  for (const conn of layout.connectors) {
406
- const paint = chunk5BQM5YYS_cjs.smartArtConnectorPaint(conn);
406
+ const paint = chunkWGKDCAFA_cjs.smartArtConnectorPaint(conn);
407
407
  svg.appendChild(
408
408
  createSvgEl(doc, "path", {
409
409
  d: paint.d,
@@ -462,7 +462,7 @@ function buildFallbackNode(doc, node, shadowFilter, a11yLabel, nodeId) {
462
462
  })
463
463
  );
464
464
  }
465
- const label = chunk5BQM5YYS_cjs.smartArtNodeLabel(node);
465
+ const label = chunkWGKDCAFA_cjs.smartArtNodeLabel(node);
466
466
  if (label.visible) {
467
467
  appendSvgTextLines(doc, g, {
468
468
  lines: label.lines,
@@ -498,41 +498,41 @@ var renderSmartArtSvg = (element, zIndex, context) => {
498
498
  doc,
499
499
  "div",
500
500
  "pptxv-element pptxv-smartart",
501
- chunk5BQM5YYS_cjs.getContainerStyle(element, zIndex)
501
+ chunkWGKDCAFA_cjs.getContainerStyle(element, zIndex)
502
502
  );
503
503
  wrapper.dataset.elementId = element.id;
504
504
  wrapper.dataset.testid = `smartart-${data?.layout ?? "diagram"}`;
505
- const chrome = createEl(doc, "div", "pptxv-smartart-chrome", chunk5BQM5YYS_cjs.buildChromeStyle(data?.chrome));
505
+ const chrome = createEl(doc, "div", "pptxv-smartart-chrome", chunkWGKDCAFA_cjs.buildChromeStyle(data?.chrome));
506
506
  chrome.style.position = "relative";
507
507
  wrapper.appendChild(chrome);
508
508
  if (data) {
509
- const a11y = chunk5BQM5YYS_cjs.buildSmartArtA11y(data);
509
+ const a11y = chunkWGKDCAFA_cjs.buildSmartArtA11y(data);
510
510
  chrome.setAttribute("role", "img");
511
511
  chrome.setAttribute("aria-label", a11y.label);
512
512
  }
513
513
  const nodes = data?.nodes ?? [];
514
514
  const drawingShapes = data?.drawingShapes ?? [];
515
515
  const animationState = context.presentationStates?.get(element.id);
516
- const { nodes: revealedNodesFull } = chunk5BQM5YYS_cjs.resolveRevealedSmartArtNodes(
516
+ const { nodes: revealedNodesFull } = chunkWGKDCAFA_cjs.resolveRevealedSmartArtNodes(
517
517
  nodes,
518
518
  animationState,
519
519
  data?.presLayoutVars
520
520
  );
521
521
  if (data && drawingShapes.length > 0) {
522
- const revealedShapes = chunk5BQM5YYS_cjs.resolveRevealedDrawingShapes(drawingShapes, nodes, animationState);
522
+ const revealedShapes = chunkWGKDCAFA_cjs.resolveRevealedDrawingShapes(drawingShapes, nodes, animationState);
523
523
  chrome.appendChild(
524
- buildDrawingShapesSvg(doc, element.id, data, chunk5BQM5YYS_cjs.buildSmartArtA11y(data).nodes, revealedShapes)
524
+ buildDrawingShapesSvg(doc, element.id, data, chunkWGKDCAFA_cjs.buildSmartArtA11y(data).nodes, revealedShapes)
525
525
  );
526
526
  enableSmartArtEditing(chrome, element, context);
527
527
  return wrapper;
528
528
  }
529
529
  if (data && nodes.length > 0) {
530
530
  const revealedNodes = revealedNodesFull;
531
- const layout = chunk5BQM5YYS_cjs.computeSmartArtElementLayout(
531
+ const layout = chunkWGKDCAFA_cjs.computeSmartArtElementLayout(
532
532
  data,
533
533
  revealedNodes,
534
534
  { width: element.width, height: element.height },
535
- chunk5BQM5YYS_cjs.resolvePalette(data),
535
+ chunkWGKDCAFA_cjs.resolvePalette(data),
536
536
  data.style ?? "flat",
537
537
  element.id
538
538
  );
@@ -540,8 +540,8 @@ var renderSmartArtSvg = (element, zIndex, context) => {
540
540
  buildSmartArtFallbackSvg(
541
541
  doc,
542
542
  layout,
543
- chunk5BQM5YYS_cjs.buildSmartArtA11y(data).nodes,
544
- chunk5BQM5YYS_cjs.flattenNodes(revealedNodes).map((node) => node.id)
543
+ chunkWGKDCAFA_cjs.buildSmartArtA11y(data).nodes,
544
+ chunkWGKDCAFA_cjs.flattenNodes(revealedNodes).map((node) => node.id)
545
545
  )
546
546
  );
547
547
  enableSmartArtEditing(chrome, element, context);
@@ -564,17 +564,17 @@ var renderSmartArtSvg = (element, zIndex, context) => {
564
564
  function buildDrawingShapesSvg(doc, elementId, data, a11yNodes, revealedShapes) {
565
565
  const allShapes = data.drawingShapes ?? [];
566
566
  const style = data.style ?? "flat";
567
- const viewBox = chunk5BQM5YYS_cjs.computeDrawingViewBox(allShapes);
568
- const rendered = chunk5BQM5YYS_cjs.projectDrawingShapes(
567
+ const viewBox = chunkWGKDCAFA_cjs.computeDrawingViewBox(allShapes);
568
+ const rendered = chunkWGKDCAFA_cjs.projectDrawingShapes(
569
569
  elementId,
570
570
  revealedShapes,
571
571
  viewBox,
572
- chunk5BQM5YYS_cjs.resolvePalette(data),
572
+ chunkWGKDCAFA_cjs.resolvePalette(data),
573
573
  style
574
574
  );
575
- const shadow = chunk5BQM5YYS_cjs.styleShadowFilter(style);
575
+ const shadow = chunkWGKDCAFA_cjs.styleShadowFilter(style);
576
576
  const labelsById = new Map(a11yNodes.map((node) => [node.id, node.label]));
577
- const nodeIds = chunk5BQM5YYS_cjs.resolveRevealedDrawingShapeNodeIds(allShapes, revealedShapes, data.nodes);
577
+ const nodeIds = chunkWGKDCAFA_cjs.resolveRevealedDrawingShapeNodeIds(allShapes, revealedShapes, data.nodes);
578
578
  const svg = createSvgEl(doc, "svg", {
579
579
  viewBox: `0 0 ${viewBox.width} ${viewBox.height}`,
580
580
  preserveAspectRatio: "xMidYMid meet"
@@ -615,7 +615,7 @@ function buildDrawingShapesSvg(doc, elementId, data, a11yNodes, revealedShapes)
615
615
  image.setAttribute("href", shape.imageUrl ?? "");
616
616
  image.addEventListener(
617
617
  "load",
618
- (event) => chunk5BQM5YYS_cjs.refreshSmartArtPictureImage(event, shape.pictureSource)
618
+ (event) => chunkWGKDCAFA_cjs.refreshSmartArtPictureImage(event, shape.pictureSource)
619
619
  );
620
620
  g.appendChild(image);
621
621
  } else if (shape.kind === "ellipse") {
@@ -707,26 +707,26 @@ function createElementRendererRegistry() {
707
707
  // src/pptx/dom/smartart-insert-preview.ts
708
708
  function buildSmartArtInsertPreview(doc, t, layout, size) {
709
709
  const scale = Math.min(
710
- size.width / chunk5BQM5YYS_cjs.SMARTART_PREVIEW_ELEMENT_WIDTH,
711
- size.height / chunk5BQM5YYS_cjs.SMARTART_PREVIEW_ELEMENT_HEIGHT
710
+ size.width / chunkWGKDCAFA_cjs.SMARTART_PREVIEW_ELEMENT_WIDTH,
711
+ size.height / chunkWGKDCAFA_cjs.SMARTART_PREVIEW_ELEMENT_HEIGHT
712
712
  );
713
713
  const box = createEl(doc, "div", "pptxv-smartart-option-preview", {
714
- width: `${Math.round(chunk5BQM5YYS_cjs.SMARTART_PREVIEW_ELEMENT_WIDTH * scale)}px`,
715
- height: `${Math.round(chunk5BQM5YYS_cjs.SMARTART_PREVIEW_ELEMENT_HEIGHT * scale)}px`,
714
+ width: `${Math.round(chunkWGKDCAFA_cjs.SMARTART_PREVIEW_ELEMENT_WIDTH * scale)}px`,
715
+ height: `${Math.round(chunkWGKDCAFA_cjs.SMARTART_PREVIEW_ELEMENT_HEIGHT * scale)}px`,
716
716
  overflow: "hidden",
717
717
  pointerEvents: "none",
718
718
  position: "relative"
719
719
  });
720
720
  box.setAttribute("aria-hidden", "true");
721
721
  const stage = createEl(doc, "div", void 0, {
722
- width: `${chunk5BQM5YYS_cjs.SMARTART_PREVIEW_ELEMENT_WIDTH}px`,
723
- height: `${chunk5BQM5YYS_cjs.SMARTART_PREVIEW_ELEMENT_HEIGHT}px`,
722
+ width: `${chunkWGKDCAFA_cjs.SMARTART_PREVIEW_ELEMENT_WIDTH}px`,
723
+ height: `${chunkWGKDCAFA_cjs.SMARTART_PREVIEW_ELEMENT_HEIGHT}px`,
724
724
  transform: `scale(${scale})`,
725
725
  transformOrigin: "top left",
726
726
  position: "relative"
727
727
  });
728
728
  box.appendChild(stage);
729
- const element = chunk5BQM5YYS_cjs.buildSmartArtPreviewElement(layout);
729
+ const element = chunkWGKDCAFA_cjs.buildSmartArtPreviewElement(layout);
730
730
  const slide = {
731
731
  id: "smartart-preview",
732
732
  rId: "smartart-preview",
@@ -736,7 +736,7 @@ function buildSmartArtInsertPreview(doc, t, layout, size) {
736
736
  const context = {
737
737
  document: doc,
738
738
  slide,
739
- canvasSize: { width: chunk5BQM5YYS_cjs.SMARTART_PREVIEW_ELEMENT_WIDTH, height: chunk5BQM5YYS_cjs.SMARTART_PREVIEW_ELEMENT_HEIGHT },
739
+ canvasSize: { width: chunkWGKDCAFA_cjs.SMARTART_PREVIEW_ELEMENT_WIDTH, height: chunkWGKDCAFA_cjs.SMARTART_PREVIEW_ELEMENT_HEIGHT },
740
740
  scale: 1,
741
741
  mediaDataUrls: /* @__PURE__ */ new Map(),
742
742
  t,
@@ -7062,6 +7062,9 @@ var translationsEn = {
7062
7062
  "pptx.compatibility.externalImageReference": "This presentation links to an image outside the file, which may not load for other people.",
7063
7063
  "pptx.compatibility.slideSynchronizationMetadata": "This slide is linked to another presentation for synchronization; that link is preserved but not applied here.",
7064
7064
  "pptx.compatibility.unsupportedAlternateContentChoice": "This presentation uses a newer PowerPoint feature; a compatible fallback was used instead.",
7065
+ "pptx.compatibility.partialOleSupport": "This presentation has embedded objects. They show as pictures and can be opened or downloaded; Excel, Word and PowerPoint objects can also be edited here.",
7066
+ "pptx.compatibility.partialInkSupport": "Some ink drawings use pen settings this viewer cannot show exactly.",
7067
+ "pptx.compatibility.unsupportedGraphicFrame": "This presentation contains an object this viewer cannot show. It is kept unchanged when you save.",
7065
7068
  "pptx.compatibility.groupDepthExceeded": "A group of shapes is nested more deeply than this viewer supports and was flattened.",
7066
7069
  "pptx.compatibility.saveNotesRelationshipMissing": "Speaker notes could not be linked to this slide when saving.",
7067
7070
  "pptx.compatibility.saveNotesPartMissing": "Speaker notes could not be saved for this slide.",
@@ -22,7 +22,7 @@ import { A4_PORTRAIT } from './chunk-WHUMPYEM.mjs';
22
22
  import { escapeHtml } from './chunk-IEAO7N4E.mjs';
23
23
  import { TOUCH, tok, OFFICE_TOKENS, installOfficeUiTheme, withOfficeThemeCss, installOfficeUiThemeFor, LEGACY_OFFICE_THEME_TOKENS, legacyThemeBridge, GALLERY_THEME_PRESETS, activeGalleryThemePreset } from './chunk-Q23MZFWZ.mjs';
24
24
  import { resolveTableCellImageUrls, resolveTextFillBlipUrls, collectMediaElements, resolveMediaElementSource } from './chunk-AEQGGKRZ.mjs';
25
- import { CHART_FORMAT_STRINGS, CHART_FORMAT_LOCALES, translationsEn } from './chunk-FYNZ6QSV.mjs';
25
+ import { CHART_FORMAT_STRINGS, CHART_FORMAT_LOCALES, translationsEn } from './chunk-E6RWBJAO.mjs';
26
26
  import { createControllerStore } from './chunk-PM2SOLK3.mjs';
27
27
  import { updateTextSegmentStyle } from './chunk-PEDGPFLR.mjs';
28
28
  import { html, LitElement, nothing, render, unsafeCSS, svg } from 'lit';
@@ -15084,7 +15084,9 @@ function restoreFilteredSeries(data, filteredIndex) {
15084
15084
  name,
15085
15085
  values,
15086
15086
  idx: filtered.idx,
15087
- ...filtered.uniqueId ? { uniqueId: filtered.uniqueId } : {}
15087
+ ...filtered.uniqueId ? { uniqueId: filtered.uniqueId } : {},
15088
+ ...filtered.seriesChartType ? { seriesChartType: filtered.seriesChartType } : {},
15089
+ ...filtered.axisId !== void 0 ? { axisId: filtered.axisId } : {}
15088
15090
  };
15089
15091
  const insertAt = data.series.findIndex((s, i) => (s.idx ?? i) > filtered.idx);
15090
15092
  const nextSeries = [...data.series];
@@ -85802,6 +85804,12 @@ var CODE_MESSAGE_KEYS = {
85802
85804
  EXTERNAL_IMAGE_REFERENCE: "pptx.compatibility.externalImageReference",
85803
85805
  SLIDE_SYNCHRONIZATION_METADATA: "pptx.compatibility.slideSynchronizationMetadata",
85804
85806
  UNSUPPORTED_ALTERNATE_CONTENT_CHOICE: "pptx.compatibility.unsupportedAlternateContentChoice",
85807
+ // The graphic-frame limitations (GRAPHIC_FRAME_LIMITATIONS in core's
85808
+ // compatibility-child-sets.ts) had no entry, so their toast showed the
85809
+ // generic message with the raw code.
85810
+ PARTIAL_OLE_SUPPORT: "pptx.compatibility.partialOleSupport",
85811
+ PARTIAL_INK_SUPPORT: "pptx.compatibility.partialInkSupport",
85812
+ UNSUPPORTED_GRAPHIC_FRAME: "pptx.compatibility.unsupportedGraphicFrame",
85805
85813
  "group-depth-exceeded": "pptx.compatibility.groupDepthExceeded",
85806
85814
  SAVE_NOTES_RELATIONSHIP_MISSING: "pptx.compatibility.saveNotesRelationshipMissing",
85807
85815
  SAVE_NOTES_PART_MISSING: "pptx.compatibility.saveNotesPartMissing",
@@ -96007,7 +96015,7 @@ function definePptxInsertSmartArtDialog(registry2) {
96007
96015
  if (this.#live || this.#draw) {
96008
96016
  return;
96009
96017
  }
96010
- this.#live = import('./smartart-insert-preview-D2WJBY2M.mjs').then((module) => {
96018
+ this.#live = import('./smartart-insert-preview-62T5FTHD.mjs').then((module) => {
96011
96019
  if (this.#draw || !this.#picker) {
96012
96020
  return;
96013
96021
  }
@@ -24,7 +24,7 @@ var chunkEW5DW5KR_cjs = require('./chunk-EW5DW5KR.cjs');
24
24
  var chunkUPN5FFKP_cjs = require('./chunk-UPN5FFKP.cjs');
25
25
  var chunkIV2F5JWR_cjs = require('./chunk-IV2F5JWR.cjs');
26
26
  var chunkU47LRWDT_cjs = require('./chunk-U47LRWDT.cjs');
27
- var chunk3GS5BKST_cjs = require('./chunk-3GS5BKST.cjs');
27
+ var chunkTFTLK7HI_cjs = require('./chunk-TFTLK7HI.cjs');
28
28
  var chunk3RIGT7H6_cjs = require('./chunk-3RIGT7H6.cjs');
29
29
  var chunkPBZWDEXQ_cjs = require('./chunk-PBZWDEXQ.cjs');
30
30
  var lit = require('lit');
@@ -4341,13 +4341,13 @@ function chartSpaceFormatSource(space, options = {}) {
4341
4341
  labelOptions: labels
4342
4342
  };
4343
4343
  }
4344
- var chartFormatLocale = (value) => i18n.normalizeLocale(value, chunk3GS5BKST_cjs.CHART_FORMAT_LOCALES, "en");
4344
+ var chartFormatLocale = (value) => i18n.normalizeLocale(value, chunkTFTLK7HI_cjs.CHART_FORMAT_LOCALES, "en");
4345
4345
  function chartFormatTranslator(locale, override) {
4346
- const strings = chunk3GS5BKST_cjs.CHART_FORMAT_STRINGS[chartFormatLocale(locale)];
4346
+ const strings = chunkTFTLK7HI_cjs.CHART_FORMAT_STRINGS[chartFormatLocale(locale)];
4347
4347
  return (key2, params, fallback) => {
4348
4348
  const own = override?.(key2, params, fallback);
4349
4349
  if (own && own !== key2) return own;
4350
- return strings[key2] ?? chunk3GS5BKST_cjs.CHART_FORMAT_STRINGS.en[key2] ?? key2;
4350
+ return strings[key2] ?? chunkTFTLK7HI_cjs.CHART_FORMAT_STRINGS.en[key2] ?? key2;
4351
4351
  };
4352
4352
  }
4353
4353
 
@@ -15043,7 +15043,9 @@ function restoreFilteredSeries(data, filteredIndex) {
15043
15043
  name,
15044
15044
  values,
15045
15045
  idx: filtered.idx,
15046
- ...filtered.uniqueId ? { uniqueId: filtered.uniqueId } : {}
15046
+ ...filtered.uniqueId ? { uniqueId: filtered.uniqueId } : {},
15047
+ ...filtered.seriesChartType ? { seriesChartType: filtered.seriesChartType } : {},
15048
+ ...filtered.axisId !== void 0 ? { axisId: filtered.axisId } : {}
15047
15049
  };
15048
15050
  const insertAt = data.series.findIndex((s, i) => (s.idx ?? i) > filtered.idx);
15049
15051
  const nextSeries = [...data.series];
@@ -37746,7 +37748,7 @@ function createTemplateContext(options = {}) {
37746
37748
  const scheme = { ...pptx.DEFAULT_SCHEME_COLOR_MAP, ...options.scheme ?? {} };
37747
37749
  let counter = 0;
37748
37750
  const idFor = options.idFor ?? ((index) => `template-el-${Date.now()}-${index}`);
37749
- const dictionary = chunk3GS5BKST_cjs.translationsEn;
37751
+ const dictionary = chunkTFTLK7HI_cjs.translationsEn;
37750
37752
  const translate2 = options.translate ?? ((key2) => dictionary[key2] ?? key2);
37751
37753
  return {
37752
37754
  scheme,
@@ -85761,6 +85763,12 @@ var CODE_MESSAGE_KEYS = {
85761
85763
  EXTERNAL_IMAGE_REFERENCE: "pptx.compatibility.externalImageReference",
85762
85764
  SLIDE_SYNCHRONIZATION_METADATA: "pptx.compatibility.slideSynchronizationMetadata",
85763
85765
  UNSUPPORTED_ALTERNATE_CONTENT_CHOICE: "pptx.compatibility.unsupportedAlternateContentChoice",
85766
+ // The graphic-frame limitations (GRAPHIC_FRAME_LIMITATIONS in core's
85767
+ // compatibility-child-sets.ts) had no entry, so their toast showed the
85768
+ // generic message with the raw code.
85769
+ PARTIAL_OLE_SUPPORT: "pptx.compatibility.partialOleSupport",
85770
+ PARTIAL_INK_SUPPORT: "pptx.compatibility.partialInkSupport",
85771
+ UNSUPPORTED_GRAPHIC_FRAME: "pptx.compatibility.unsupportedGraphicFrame",
85764
85772
  "group-depth-exceeded": "pptx.compatibility.groupDepthExceeded",
85765
85773
  SAVE_NOTES_RELATIONSHIP_MISSING: "pptx.compatibility.saveNotesRelationshipMissing",
85766
85774
  SAVE_NOTES_PART_MISSING: "pptx.compatibility.saveNotesPartMissing",
@@ -95966,7 +95974,7 @@ function definePptxInsertSmartArtDialog(registry2) {
95966
95974
  if (this.#live || this.#draw) {
95967
95975
  return;
95968
95976
  }
95969
- this.#live = import('./smartart-insert-preview-WI2O6X6C.cjs').then((module) => {
95977
+ this.#live = import('./smartart-insert-preview-QK5YGL4L.cjs').then((module) => {
95970
95978
  if (this.#draw || !this.#picker) {
95971
95979
  return;
95972
95980
  }