ooxml-ui 1.28.1 → 1.29.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.
Files changed (61) hide show
  1. package/dist/{chunk-2EFIFIPB.js → chunk-LNHFMJ2P.js} +1 -1
  2. package/dist/{chunk-FHO7TEWA.js → chunk-WYKMVMX4.js} +14 -1
  3. package/dist/{chunk-WBE2Q5DC.js → chunk-YMZFOG2U.js} +2 -2
  4. package/dist/index.js +3 -3
  5. package/dist/pptx/ai/host.cjs +153 -0
  6. package/dist/pptx/ai/host.d.ts +44 -0
  7. package/dist/pptx/ai/host.d.ts.map +1 -0
  8. package/dist/pptx/ai/host.mjs +4 -0
  9. package/dist/pptx/ai/index.cjs +163 -1466
  10. package/dist/pptx/ai/index.mjs +8 -1428
  11. package/dist/pptx/chunk-BMMTD6PB.cjs +1467 -0
  12. package/dist/pptx/{chunk-34A7YWVZ.cjs → chunk-BXCXY4HB.cjs} +536 -144
  13. package/dist/pptx/{chunk-TOPXMCGQ.mjs → chunk-DVLU476S.mjs} +504 -96
  14. package/dist/pptx/{chunk-MJACF7Y2.mjs → chunk-EHIQ4ANA.mjs} +5 -0
  15. package/dist/pptx/{chunk-GWKTHP6U.cjs → chunk-PATUICO4.cjs} +5 -0
  16. package/dist/pptx/chunk-SMMEIEEJ.mjs +1427 -0
  17. package/dist/pptx/{chunk-BYSLCSDL.cjs → chunk-UTBHXIDK.cjs} +46 -46
  18. package/dist/pptx/{chunk-SJX7SFED.mjs → chunk-YO3EMGXD.mjs} +2 -2
  19. package/dist/pptx/dom/glyph-outline-cache.d.ts +3 -1
  20. package/dist/pptx/dom/glyph-outline-cache.d.ts.map +1 -1
  21. package/dist/pptx/dom/index.cjs +399 -398
  22. package/dist/pptx/dom/index.mjs +15 -14
  23. package/dist/pptx/dom/load-presentation.d.ts +7 -1
  24. package/dist/pptx/dom/load-presentation.d.ts.map +1 -1
  25. package/dist/pptx/export/html2canvas-clone.cjs +4 -4
  26. package/dist/pptx/export/html2canvas-clone.mjs +1 -1
  27. package/dist/pptx/export/print-document.cjs +18 -18
  28. package/dist/pptx/export/print-document.mjs +2 -2
  29. package/dist/pptx/i18n/index.cjs +6 -6
  30. package/dist/pptx/i18n/index.mjs +1 -1
  31. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  32. package/dist/pptx/index.cjs +3179 -3163
  33. package/dist/pptx/index.mjs +9 -9
  34. package/dist/pptx/render/embedded-font-trust.d.ts +7 -0
  35. package/dist/pptx/render/embedded-font-trust.d.ts.map +1 -1
  36. package/dist/pptx/render/embedded-fonts.d.ts +4 -3
  37. package/dist/pptx/render/embedded-fonts.d.ts.map +1 -1
  38. package/dist/pptx/render/glyph-outline-font-registration.d.ts +83 -0
  39. package/dist/pptx/render/glyph-outline-font-registration.d.ts.map +1 -0
  40. package/dist/pptx/render/index.d.ts +2 -0
  41. package/dist/pptx/render/index.d.ts.map +1 -1
  42. package/dist/pptx/render/load-limits.d.ts +18 -0
  43. package/dist/pptx/render/load-limits.d.ts.map +1 -0
  44. package/dist/pptx/render/text-warp-glyph-outline-lookup.d.ts +39 -0
  45. package/dist/pptx/render/text-warp-glyph-outline-lookup.d.ts.map +1 -0
  46. package/dist/pptx/render/text-warp-opentype-parser.d.ts +15 -2
  47. package/dist/pptx/render/text-warp-opentype-parser.d.ts.map +1 -1
  48. package/dist/pptx/render/text-warp-outline-font-cache.d.ts +116 -42
  49. package/dist/pptx/render/text-warp-outline-font-cache.d.ts.map +1 -1
  50. package/dist/pptx/render/viewer-props-manifest.d.ts.map +1 -1
  51. package/dist/pptx/{smartart-insert-preview-OW6RXM7M.cjs → smartart-insert-preview-DHQ47GXP.cjs} +11 -11
  52. package/dist/pptx/{smartart-insert-preview-RAWXO2RH.mjs → smartart-insert-preview-IQVC5LMF.mjs} +10 -10
  53. package/dist/{presentation-preview-KY56TONW.js → presentation-preview-XGJMARKI.js} +1 -1
  54. package/dist/teams/app/presentation-preview.d.ts +3 -0
  55. package/dist/teams.js +2 -2
  56. package/dist/xlsx.js +4 -4
  57. package/package.json +8 -8
  58. package/dist/pptx/{chunk-YMITEJST.cjs → chunk-3CYWRMYZ.cjs} +1 -1
  59. package/dist/pptx/{chunk-3LOVEO7U.mjs → chunk-5VSUIPDX.mjs} +1 -1
  60. /package/dist/pptx/{chunk-FM4C4MBJ.cjs → chunk-67UQWOEQ.cjs} +0 -0
  61. /package/dist/pptx/{chunk-AMW2AR7J.mjs → chunk-6MZFWTBS.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { defineSmartArt, defineSmartArtPicker, defineSmartArtTextPane } from './chunk-W2JD75LX.js';
2
- import { TEAMS_TAGS, registerTeams } from './chunk-WBE2Q5DC.js';
2
+ import { TEAMS_TAGS, registerTeams } from './chunk-YMZFOG2U.js';
3
3
  import { installOfficeUiTheme } from './chunk-T5ARELU2.js';
4
4
  import { registerControls } from './chunk-WDOWQKKC.js';
5
5
  import { definePresence } from './chunk-YZH2QS7J.js';
@@ -3320,7 +3320,10 @@ var TeamsPresentationPreview = class extends TeamsLitElement {
3320
3320
  observer;
3321
3321
  resizeFrame = 0;
3322
3322
  fontUrls = [];
3323
+ /** Releases the shown deck's fonts from the shared glyph-outline cache. */
3324
+ releaseOutlineFonts;
3323
3325
  generation = 0;
3326
+ detachOutlineFonts;
3324
3327
  constructor() {
3325
3328
  super();
3326
3329
  this.data = null;
@@ -3366,7 +3369,13 @@ var TeamsPresentationPreview = class extends TeamsLitElement {
3366
3369
  );
3367
3370
  this.fontCss = fonts.fontFaceCss;
3368
3371
  this.fontUrls = fonts.objectUrls;
3369
- renderer.glyphOutlineFontCache.registerEmbeddedFonts(data.embeddedFonts);
3372
+ this.releaseOutlineFonts = renderer.glyphOutlineFontCache.registerEmbeddedFonts(
3373
+ data.embeddedFonts
3374
+ );
3375
+ this.detachOutlineFonts = renderer.glyphOutlineFontCache.subscribe(() => {
3376
+ this.showSlide();
3377
+ this.requestUpdate();
3378
+ });
3370
3379
  this.showSlide();
3371
3380
  await this.updateComplete;
3372
3381
  if (generation !== this.generation || !this.isConnected) return;
@@ -3409,11 +3418,15 @@ var TeamsPresentationPreview = class extends TeamsLitElement {
3409
3418
  this.stageNode = null;
3410
3419
  }
3411
3420
  clear() {
3421
+ this.detachOutlineFonts?.();
3422
+ this.detachOutlineFonts = void 0;
3412
3423
  cancelAnimationFrame(this.resizeFrame);
3413
3424
  this.observer?.disconnect();
3414
3425
  this.observer = void 0;
3415
3426
  this.stopMedia();
3416
3427
  this.data?.handler.dispose();
3428
+ this.releaseOutlineFonts?.();
3429
+ this.releaseOutlineFonts = void 0;
3417
3430
  this.renderer?.revokeBlobUrls([...this.data?.blobUrls ?? [], ...this.fontUrls]);
3418
3431
  this.fontUrls = [];
3419
3432
  this.fontCss = "";
@@ -1,4 +1,4 @@
1
- import { TeamsLitElement, LOCALE_HOST, teamsI18n, inheritLocale, pushLocale } from './chunk-FHO7TEWA.js';
1
+ import { TeamsLitElement, LOCALE_HOST, teamsI18n, inheritLocale, pushLocale } from './chunk-WYKMVMX4.js';
2
2
  import { listenEvents, bindElement, syncClassName } from './chunk-CDAXY5KC.js';
3
3
  import { eventArgs, pickProps } from './chunk-NDUD5JJB.js';
4
4
  import { THEME_CSS, installOfficeUiTheme } from './chunk-T5ARELU2.js';
@@ -2257,7 +2257,7 @@ var TeamsContentPreview = class extends TeamsLitElement {
2257
2257
  if (kind === "xlsx") (await import('./xlsx.js')).defineXlsxEditor();
2258
2258
  if (kind === "vsdx") (await import('./visio.js')).registerVisioViewer();
2259
2259
  if (kind === "pptx")
2260
- (await import('./presentation-preview-KY56TONW.js')).defineTeamsPresentationPreview();
2260
+ (await import('./presentation-preview-XGJMARKI.js')).defineTeamsPresentationPreview();
2261
2261
  if (request.signal.aborted) return;
2262
2262
  this.native = kind;
2263
2263
  await this.updateComplete;
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export { OFFICE_UI_TAGS, registerOfficeUi } from './chunk-2EFIFIPB.js';
1
+ export { OFFICE_UI_TAGS, registerOfficeUi } from './chunk-LNHFMJ2P.js';
2
2
  export { HOST_REGION_ATTRIBUTE, HostRegionHost, RIBBON_ADD_IN_EVENT, createHostBackstagePages, defineRibbonAddInElements, syncHostMenuChildren, syncRibbonAddIns, tidyMenuSeparators, withHostMenuItems } from './chunk-KSOHDEUI.js';
3
3
  export { OfficeUiSmartArt, OfficeUiSmartArtPicker, OfficeUiSmartArtTextPane, SmartArtTextPaneController, defineSmartArt, defineSmartArtPicker, defineSmartArtTextPane, renderDiagramDrawing, smartArtColorsGalleryState, smartArtLayoutTileSvg, smartArtStylesGalleryState, smartArtTileSvg } from './chunk-W2JD75LX.js';
4
- export { EMOJI, OfficeUiActivityFeed, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCalendarAgenda, OfficeUiCalendarView, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiChatSidebar, OfficeUiPeoplePicker, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_CONTRACT, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, activityTime, applyTeamsProps, bindTeams, colorFor, createTeams, dayKind, dayLabel, defineActivityFeed, defineAppRail, defineAvatar, defineCalendarAgenda, defineCalendarView, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, defineChatSidebar, definePeoplePicker, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, formatWhen, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, pickTeamsProps, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-WBE2Q5DC.js';
5
- export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-FHO7TEWA.js';
4
+ export { EMOJI, OfficeUiActivityFeed, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCalendarAgenda, OfficeUiCalendarView, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiChatSidebar, OfficeUiPeoplePicker, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_CONTRACT, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, activityTime, applyTeamsProps, bindTeams, colorFor, createTeams, dayKind, dayLabel, defineActivityFeed, defineAppRail, defineAvatar, defineCalendarAgenda, defineCalendarView, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, defineChatSidebar, definePeoplePicker, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, formatWhen, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, pickTeamsProps, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-YMZFOG2U.js';
5
+ export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-WYKMVMX4.js';
6
6
  import './chunk-CDAXY5KC.js';
7
7
  import './chunk-NDUD5JJB.js';
8
8
  import './chunk-KJMAVPQB.js';
@@ -0,0 +1,153 @@
1
+ 'use strict';
2
+
3
+ var chunkBMMTD6PB_cjs = require('../chunk-BMMTD6PB.cjs');
4
+ var chunkA5MANNJR_cjs = require('../chunk-A5MANNJR.cjs');
5
+ require('../chunk-Y6DO6SVT.cjs');
6
+ require('../chunk-PBZWDEXQ.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "AI_CHANGE_ATTR", {
11
+ enumerable: true,
12
+ get: function () { return chunkBMMTD6PB_cjs.AI_CHANGE_ATTR; }
13
+ });
14
+ Object.defineProperty(exports, "AI_TOOL_FLASH_MS", {
15
+ enumerable: true,
16
+ get: function () { return chunkBMMTD6PB_cjs.AI_TOOL_FLASH_MS; }
17
+ });
18
+ Object.defineProperty(exports, "aiChangeAnimationCss", {
19
+ enumerable: true,
20
+ get: function () { return chunkBMMTD6PB_cjs.aiChangeAnimationCss; }
21
+ });
22
+ Object.defineProperty(exports, "aiFixDirective", {
23
+ enumerable: true,
24
+ get: function () { return chunkBMMTD6PB_cjs.aiFixDirective; }
25
+ });
26
+ Object.defineProperty(exports, "applyElementUpdate", {
27
+ enumerable: true,
28
+ get: function () { return chunkBMMTD6PB_cjs.applyElementUpdate; }
29
+ });
30
+ Object.defineProperty(exports, "applyShapeStyleUpdate", {
31
+ enumerable: true,
32
+ get: function () { return chunkBMMTD6PB_cjs.applyShapeStyleUpdate; }
33
+ });
34
+ Object.defineProperty(exports, "applyTextUpdate", {
35
+ enumerable: true,
36
+ get: function () { return chunkBMMTD6PB_cjs.applyTextUpdate; }
37
+ });
38
+ Object.defineProperty(exports, "buildChatLogExport", {
39
+ enumerable: true,
40
+ get: function () { return chunkBMMTD6PB_cjs.buildChatLogExport; }
41
+ });
42
+ Object.defineProperty(exports, "buildChatLogMarkdown", {
43
+ enumerable: true,
44
+ get: function () { return chunkBMMTD6PB_cjs.buildChatLogMarkdown; }
45
+ });
46
+ Object.defineProperty(exports, "changeGhostStyle", {
47
+ enumerable: true,
48
+ get: function () { return chunkBMMTD6PB_cjs.changeGhostStyle; }
49
+ });
50
+ Object.defineProperty(exports, "collectStoredChats", {
51
+ enumerable: true,
52
+ get: function () { return chunkBMMTD6PB_cjs.collectStoredChats; }
53
+ });
54
+ Object.defineProperty(exports, "computeFocusTargets", {
55
+ enumerable: true,
56
+ get: function () { return chunkBMMTD6PB_cjs.computeFocusTargets; }
57
+ });
58
+ Object.defineProperty(exports, "createAiChangeAnimator", {
59
+ enumerable: true,
60
+ get: function () { return chunkBMMTD6PB_cjs.createAiChangeAnimator; }
61
+ });
62
+ Object.defineProperty(exports, "createAiChatHistoryController", {
63
+ enumerable: true,
64
+ get: function () { return chunkBMMTD6PB_cjs.createAiChatHistoryController; }
65
+ });
66
+ Object.defineProperty(exports, "createPptxAiBridge", {
67
+ enumerable: true,
68
+ get: function () { return chunkBMMTD6PB_cjs.createPptxAiBridge; }
69
+ });
70
+ Object.defineProperty(exports, "createPptxAiPanelController", {
71
+ enumerable: true,
72
+ get: function () { return chunkBMMTD6PB_cjs.createPptxAiPanelController; }
73
+ });
74
+ Object.defineProperty(exports, "deckDataFieldChanged", {
75
+ enumerable: true,
76
+ get: function () { return chunkBMMTD6PB_cjs.deckDataFieldChanged; }
77
+ });
78
+ Object.defineProperty(exports, "deckIdFromBridge", {
79
+ enumerable: true,
80
+ get: function () { return chunkBMMTD6PB_cjs.deckIdFromBridge; }
81
+ });
82
+ Object.defineProperty(exports, "describeToolActivity", {
83
+ enumerable: true,
84
+ get: function () { return chunkBMMTD6PB_cjs.describeToolActivity; }
85
+ });
86
+ Object.defineProperty(exports, "diffChangedElements", {
87
+ enumerable: true,
88
+ get: function () { return chunkBMMTD6PB_cjs.diffChangedElements; }
89
+ });
90
+ Object.defineProperty(exports, "exportAiChatLogs", {
91
+ enumerable: true,
92
+ get: function () { return chunkBMMTD6PB_cjs.exportAiChatLogs; }
93
+ });
94
+ Object.defineProperty(exports, "focusTargetChips", {
95
+ enumerable: true,
96
+ get: function () { return chunkBMMTD6PB_cjs.focusTargetChips; }
97
+ });
98
+ Object.defineProperty(exports, "humanizeDiffLine", {
99
+ enumerable: true,
100
+ get: function () { return chunkBMMTD6PB_cjs.humanizeDiffLine; }
101
+ });
102
+ Object.defineProperty(exports, "isAiFocusPinned", {
103
+ enumerable: true,
104
+ get: function () { return chunkBMMTD6PB_cjs.isAiFocusPinned; }
105
+ });
106
+ Object.defineProperty(exports, "isTwoTableFocus", {
107
+ enumerable: true,
108
+ get: function () { return chunkBMMTD6PB_cjs.isTwoTableFocus; }
109
+ });
110
+ Object.defineProperty(exports, "mergeTablesDirective", {
111
+ enumerable: true,
112
+ get: function () { return chunkBMMTD6PB_cjs.mergeTablesDirective; }
113
+ });
114
+ Object.defineProperty(exports, "pptxAiDeckTitle", {
115
+ enumerable: true,
116
+ get: function () { return chunkBMMTD6PB_cjs.pptxAiDeckTitle; }
117
+ });
118
+ Object.defineProperty(exports, "resolveAiEffectiveTargets", {
119
+ enumerable: true,
120
+ get: function () { return chunkBMMTD6PB_cjs.resolveAiEffectiveTargets; }
121
+ });
122
+ Object.defineProperty(exports, "resolveChangeAnimationConfig", {
123
+ enumerable: true,
124
+ get: function () { return chunkBMMTD6PB_cjs.resolveChangeAnimationConfig; }
125
+ });
126
+ Object.defineProperty(exports, "summarizeToolArgs", {
127
+ enumerable: true,
128
+ get: function () { return chunkBMMTD6PB_cjs.summarizeToolArgs; }
129
+ });
130
+ Object.defineProperty(exports, "toLogChat", {
131
+ enumerable: true,
132
+ get: function () { return chunkBMMTD6PB_cjs.toLogChat; }
133
+ });
134
+ Object.defineProperty(exports, "toRenderableParts", {
135
+ enumerable: true,
136
+ get: function () { return chunkBMMTD6PB_cjs.toRenderableParts; }
137
+ });
138
+ Object.defineProperty(exports, "toolCallLine", {
139
+ enumerable: true,
140
+ get: function () { return chunkBMMTD6PB_cjs.toolCallLine; }
141
+ });
142
+ Object.defineProperty(exports, "toolCanvasTarget", {
143
+ enumerable: true,
144
+ get: function () { return chunkBMMTD6PB_cjs.toolCanvasTarget; }
145
+ });
146
+ Object.defineProperty(exports, "toolLabel", {
147
+ enumerable: true,
148
+ get: function () { return chunkBMMTD6PB_cjs.toolLabel; }
149
+ });
150
+ Object.defineProperty(exports, "createChatHistoryStore", {
151
+ enumerable: true,
152
+ get: function () { return chunkA5MANNJR_cjs.createChatHistoryStore; }
153
+ });
@@ -0,0 +1,44 @@
1
+ /**
2
+ * `ooxml-ui/pptx/ai/host`: the part of the AI assistant core with no SDK runtime imports.
3
+ *
4
+ * A viewer needs these helpers even when the host never opens the chat: the deck bridge
5
+ * (`createPptxAiBridge`, focus targets, the deck-data change check, element updates), the
6
+ * panel controller, the canvas change overlay and its animator, and the stored chat history
7
+ * with its log export. The full `ooxml-ui/pptx/ai` barrel also carries the chat session, the
8
+ * tool registry and the server tool set, which reach the optional `ai` SDK, `zod` and the
9
+ * automation schemas. Nothing reachable from this entry imports any of those at runtime
10
+ * (`host.test.ts` checks it), so a binding's main entry can use it without pulling the
11
+ * assistant runtime into the host's initial bundle.
12
+ *
13
+ * This is about runtime imports only. The type declarations still reference SDK types (the
14
+ * stored chat history and log export name the `ai` package's `UIMessage`), so type checking a
15
+ * consumer resolves `ai` types the same way the full barrel does.
16
+ *
17
+ * Every export here is also exported, unchanged, from `ooxml-ui/pptx/ai`.
18
+ */
19
+ export { deckDataFieldChanged } from './deck-data-diff.js';
20
+ export { createPptxAiBridge, pptxAiDeckTitle } from './bridge-factory.js';
21
+ export type { PptxAiBridgePort, PptxAiCanvasSize } from './bridge-factory.js';
22
+ export { AI_TOOL_FLASH_MS, aiFixDirective, createPptxAiPanelController, isAiFocusPinned, resolveAiEffectiveTargets, } from './panel-controller.js';
23
+ export type { PptxAiPanelController, PptxAiPanelControllerDeps, PptxAiPanelState, PptxAiPrefill, } from './panel-controller.js';
24
+ export type { PptxAiBridge, PptxAiDataUpdater, PptxAiDeckMeta, PptxAiElementUpdate, PptxAiFocusedTarget, PptxAiNotifyLevel, PptxAiSlidesUpdater, } from './bridge.js';
25
+ export { computeFocusTargets, focusTargetChips, isTwoTableFocus, mergeTablesDirective, } from './focus-targets.js';
26
+ export type { AiCanvasHighlight, FocusChip, FocusSelectionInput } from './focus-targets.js';
27
+ export { createAiChangeAnimator, resolveChangeAnimationConfig } from './change-animator.js';
28
+ export type { AiChangeAnimationConfig, AiChangeAnimator, AiChangeBatch, ResolvedAiChangeAnimationConfig, } from './change-animator.js';
29
+ export { diffChangedElements } from './change-diff.js';
30
+ export type { AiChangeBounds, AiChangeKind, AiElementChange } from './change-diff.js';
31
+ export { AI_CHANGE_ATTR, aiChangeAnimationCss, changeGhostStyle } from './change-animation-css.js';
32
+ export type { GhostStyle } from './change-animation-css.js';
33
+ export { createChatHistoryStore } from './chat-history-store.js';
34
+ export type { PptxAiChatStore, PptxAiChatSummary, PptxAiStoredChat } from './chat-history-store.js';
35
+ export { buildChatLogExport, buildChatLogMarkdown, collectStoredChats, exportAiChatLogs, toLogChat, toolCallLine, } from './chat-log-export.js';
36
+ export type { AiLogChat, AiLogExport, AiLogFormat, AiLogMessage, AiLogToolCall, BuildChatLogOptions, ExportAiChatLogsMeta, SaveChatLogFile, } from './chat-log-export.js';
37
+ export { applyElementUpdate, applyShapeStyleUpdate, applyTextUpdate } from './tools/mutations.js';
38
+ export type { ToolCanvasTarget } from './tool-target.js';
39
+ export { createAiChatHistoryController, deckIdFromBridge } from './chat-history-controller.js';
40
+ export { humanizeDiffLine } from './proposals-diff.js';
41
+ export { toRenderableParts } from './ui-parts.js';
42
+ export { describeToolActivity, summarizeToolArgs, toolLabel } from './tool-summary.js';
43
+ export { toolCanvasTarget } from './tool-target.js';
44
+ //# sourceMappingURL=host.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../../../src/pptx/ai/host.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,EACN,gBAAgB,EAChB,cAAc,EACd,2BAA2B,EAC3B,eAAe,EACf,yBAAyB,GACzB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACX,qBAAqB,EACrB,yBAAyB,EACzB,gBAAgB,EAChB,aAAa,GACb,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACX,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,GACnB,MAAM,UAAU,CAAC;AAElB,OAAO,EACN,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,GACpB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEzF,OAAO,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AACzF,YAAY,EACX,uBAAuB,EACvB,gBAAgB,EAChB,aAAa,EACb,+BAA+B,GAC/B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAChG,YAAY,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAEjG,OAAO,EACN,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,YAAY,GACZ,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACX,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,GACf,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE/F,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAItD,OAAO,EAAE,6BAA6B,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { AI_CHANGE_ATTR, AI_TOOL_FLASH_MS, aiChangeAnimationCss, aiFixDirective, applyElementUpdate, applyShapeStyleUpdate, applyTextUpdate, buildChatLogExport, buildChatLogMarkdown, changeGhostStyle, collectStoredChats, computeFocusTargets, createAiChangeAnimator, createAiChatHistoryController, createPptxAiBridge, createPptxAiPanelController, deckDataFieldChanged, deckIdFromBridge, describeToolActivity, diffChangedElements, exportAiChatLogs, focusTargetChips, humanizeDiffLine, isAiFocusPinned, isTwoTableFocus, mergeTablesDirective, pptxAiDeckTitle, resolveAiEffectiveTargets, resolveChangeAnimationConfig, summarizeToolArgs, toLogChat, toRenderableParts, toolCallLine, toolCanvasTarget, toolLabel } from '../chunk-SMMEIEEJ.mjs';
2
+ export { createChatHistoryStore } from '../chunk-LVDF75JU.mjs';
3
+ import '../chunk-WM5SW737.mjs';
4
+ import '../chunk-PEDGPFLR.mjs';