pptx-vue-viewer 4.37.0 → 4.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +74 -0
- package/dist/{AiChatPanel-C6b7B9gF.js → AiChatPanel-BUDB-oQp.js} +20 -20
- package/dist/AiChatPanel-BUDB-oQp.js.br +0 -0
- package/dist/AiChatPanel-BUDB-oQp.js.gz +0 -0
- package/dist/{AiChatPanel-Ctnnmz7J.cjs → AiChatPanel-Dqxd6cdd.cjs} +1 -1
- package/dist/AiChatPanel-Dqxd6cdd.cjs.br +0 -0
- package/dist/AiChatPanel-Dqxd6cdd.cjs.gz +0 -0
- package/dist/i18n/de.cjs +629 -42
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +629 -42
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +629 -42
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +629 -42
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +632 -42
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +632 -42
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +640 -53
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +640 -53
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +18 -2
- package/dist/index.js +2 -2
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.d.ts +38 -9
- package/dist/internals.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +8 -8
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-Deo8WA7S.cjs → useViewerSettingsDialog-DxBm2XyQ.cjs} +1361 -1305
- package/dist/useViewerSettingsDialog-DxBm2XyQ.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-DxBm2XyQ.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-fd8zrghi.js → useViewerSettingsDialog-GFwiCVIT.js} +2528 -2482
- package/dist/useViewerSettingsDialog-GFwiCVIT.js.br +0 -0
- package/dist/useViewerSettingsDialog-GFwiCVIT.js.gz +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +18 -2
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-nP5gJuGF.js → viewer-B8GEf0Gj.js} +10708 -10419
- package/dist/viewer-B8GEf0Gj.js.br +0 -0
- package/dist/viewer-B8GEf0Gj.js.gz +0 -0
- package/dist/{viewer-CGm4yC4h.cjs → viewer-CvLv3KhD.cjs} +5819 -5530
- package/dist/viewer-CvLv3KhD.cjs.br +0 -0
- package/dist/viewer-CvLv3KhD.cjs.gz +0 -0
- package/dist/{y-webrtc-rRVx0xtd.js → y-webrtc-BxjFh_in.js} +23 -23
- package/dist/y-webrtc-BxjFh_in.js.br +0 -0
- package/dist/y-webrtc-BxjFh_in.js.gz +0 -0
- package/dist/{y-webrtc-DwByYfBA.cjs → y-webrtc-CjBSuBz8.cjs} +1 -1
- package/dist/y-webrtc-CjBSuBz8.cjs.br +0 -0
- package/dist/y-webrtc-CjBSuBz8.cjs.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-C6b7B9gF.js.br +0 -0
- package/dist/AiChatPanel-C6b7B9gF.js.gz +0 -0
- package/dist/AiChatPanel-Ctnnmz7J.cjs.br +0 -0
- package/dist/AiChatPanel-Ctnnmz7J.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-Deo8WA7S.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Deo8WA7S.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-fd8zrghi.js.br +0 -0
- package/dist/useViewerSettingsDialog-fd8zrghi.js.gz +0 -0
- package/dist/viewer-CGm4yC4h.cjs.br +0 -0
- package/dist/viewer-CGm4yC4h.cjs.gz +0 -0
- package/dist/viewer-nP5gJuGF.js.br +0 -0
- package/dist/viewer-nP5gJuGF.js.gz +0 -0
- package/dist/y-webrtc-DwByYfBA.cjs.br +0 -0
- package/dist/y-webrtc-DwByYfBA.cjs.gz +0 -0
- package/dist/y-webrtc-rRVx0xtd.js.br +0 -0
- package/dist/y-webrtc-rRVx0xtd.js.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,80 @@ A release listed with no entries carried no Conventional Commit in this package'
|
|
|
7
7
|
scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
|
|
8
8
|
conventional commits.
|
|
9
9
|
|
|
10
|
+
## [4.39.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.39.0) - 2026-10-16
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **pptx:** Open the shared Insert sheet from the phone bottom bar ([53526bd](https://github.com/ChristopherVR/ooxml/commit/53526bdaecc293fdd1be168362010921df6c112e))
|
|
15
|
+
- **geometry:** Add the PowerPoint shape gallery catalogue ([2fb79e2](https://github.com/ChristopherVR/ooxml/commit/2fb79e2717cf9094a2692d04503e95cc09453467))
|
|
16
|
+
- **locales:** Translate the Shapes gallery and the Design galleries ([c4aaeb3](https://github.com/ChristopherVR/ooxml/commit/c4aaeb31f9119e0bc825b922b964dfc37d62f7d3))
|
|
17
|
+
- **vue:** Apply a whole theme from the Design > Themes gallery ([624cf94](https://github.com/ChristopherVR/ooxml/commit/624cf94e485ffc47e4a9ab335977f0fd4ac20290))
|
|
18
|
+
- **pptx:** Keep Slide Templates reachable from every New Slide menu ([be03af6](https://github.com/ChristopherVR/ooxml/commit/be03af63a0ed6c23a79800b500d3d425ea22773f))
|
|
19
|
+
- **pptx:** Add chart element format and options edit operations ([d99f83e](https://github.com/ChristopherVR/ooxml/commit/d99f83ec63e6251c4aaa39a31ad5d2f4d2659b54))
|
|
20
|
+
- **locales:** Translate the chart Format pane and Chart Format tab ([3b0b7d2](https://github.com/ChristopherVR/ooxml/commit/3b0b7d2aebac14bcbc0df22f5ceef695b4443cc9))
|
|
21
|
+
- **vue:** Add the chart Format pane and Chart Format tab ([461f497](https://github.com/ChristopherVR/ooxml/commit/461f4974ddd1ecd0673cd43086b1171471f6a6e9))
|
|
22
|
+
- **pptx:** Read chart element formats from each element's spPr on load ([46620d0](https://github.com/ChristopherVR/ooxml/commit/46620d08e61513234ba61964e4f751d679fcb28b))
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
- **svelte:** Translate media and picture inspector labels ([d0bde63](https://github.com/ChristopherVR/ooxml/commit/d0bde63ea46502a316e94f4b795901db20644c17))
|
|
27
|
+
- **svelte:** Translate table, text effects and SmartArt inspector labels ([ca38b70](https://github.com/ChristopherVR/ooxml/commit/ca38b708db0399fec7db9f72046296c82587116d))
|
|
28
|
+
- **ui:** Translate shared preset catalogue labels ([46661a1](https://github.com/ChristopherVR/ooxml/commit/46661a125e90b91b00f3fa66f584f232bc21a871))
|
|
29
|
+
- **vanilla:** Lay out the phone sheets and stack them above the canvas ([1479b46](https://github.com/ChristopherVR/ooxml/commit/1479b46f3d0d928e03d9c5b232960a88ee1d5cae))
|
|
30
|
+
- **pptx:** Stack the phone sheets above the canvas and end them above the bar ([5d38927](https://github.com/ChristopherVR/ooxml/commit/5d3892723a31b10109cc14e2211c616d5fb376bc))
|
|
31
|
+
|
|
32
|
+
## [4.38.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.38.0) - 2026-10-15
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- **chart:** Draw combination, waterfall and histogram charts ([ae79ec2](https://github.com/ChristopherVR/ooxml/commit/ae79ec24da6576a4497fcc4fce0b444be436dcc1))
|
|
37
|
+
- **chart:** Draw bubble, stock, treemap and sunburst charts ([94a4240](https://github.com/ChristopherVR/ooxml/commit/94a424016e799722b22205f87b17e68fd5d5f816))
|
|
38
|
+
- **xlsx:** Draw bubble, stock, treemap and sunburst charts from live cells ([11a4b36](https://github.com/ChristopherVR/ooxml/commit/11a4b367b7e116590c60d8eaccbf051563ae5c97))
|
|
39
|
+
- **chart:** Honour stock bar formatting, draw volume stock, pad bubble axes ([614fc42](https://github.com/ChristopherVR/ooxml/commit/614fc421668e707be211c37658ea76681174eed5))
|
|
40
|
+
- **math:** Draw equations as SVG and write them to Office Math ([cf5d2c0](https://github.com/ChristopherVR/ooxml/commit/cf5d2c09691aea6434a35a23d8116d888a79f320))
|
|
41
|
+
- **automation:** Build word, excel and powerpoint files from outlines ([eda7e9e](https://github.com/ChristopherVR/ooxml/commit/eda7e9e7e5739764d2de03f93a71dcb7a268a78a))
|
|
42
|
+
- **automation:** Suggest word edits as tracked changes, read all cells ([0fdfd3a](https://github.com/ChristopherVR/ooxml/commit/0fdfd3ae752d605db5171d66b2355f8a25e85054))
|
|
43
|
+
- **pptx:** Host regions and capabilities in every binding ([18547f6](https://github.com/ChristopherVR/ooxml/commit/18547f6768fff10d8d8999ef109ef5381add8795))
|
|
44
|
+
- **pptx:** Close binding props drift and guard prop parity ([167802e](https://github.com/ChristopherVR/ooxml/commit/167802e036f62e4c0dd23144a45ae1618eefd007))
|
|
45
|
+
- **pptx:** Host dialog.options in the shared options dialog ([770e85b](https://github.com/ChristopherVR/ooxml/commit/770e85bed0d3bb0b61da4a34fb31591bfc6070e1))
|
|
46
|
+
- **chart:** Model series trendlines and error bars ([bd885ce](https://github.com/ChristopherVR/ooxml/commit/bd885ce5b90b318232363f1d801461ef0bce053e))
|
|
47
|
+
- **chart:** Fit trendlines and size error bars in data space ([1023d6f](https://github.com/ChristopherVR/ooxml/commit/1023d6f892c4534af9e83b34c638c17d26079bef))
|
|
48
|
+
- **chart:** Draw trendlines and error bars in the shared painter ([dcce901](https://github.com/ChristopherVR/ooxml/commit/dcce901233ca1c72580b094c243125c837961b17))
|
|
49
|
+
- **ui:** Lay out the PowerPoint Insert tab as Office does ([55aef8a](https://github.com/ChristopherVR/ooxml/commit/55aef8a30fd3ad7eabf0f2c4f1bd2fa3d8b0f49c))
|
|
50
|
+
- **ui:** Scale the Insert tab like Office and add the Table grid ([e6f5dcc](https://github.com/ChristopherVR/ooxml/commit/e6f5dcc7f050f184de46af1ed07bed16ff6dc446))
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
- **opc:** Stop reporting digest checks as a valid signature ([9b3cac4](https://github.com/ChristopherVR/ooxml/commit/9b3cac4c24c3a2fd17693fa253ceea6970ca0fe7))
|
|
55
|
+
- **pptx:** Guard OCSP responder requests against SSRF ([b223ee0](https://github.com/ChristopherVR/ooxml/commit/b223ee0f2ac593f3b3ac2ec1c452724be4a3fd07))
|
|
56
|
+
- **opc:** Guard zip reads against forged sizes and unsafe part names ([39294e9](https://github.com/ChristopherVR/ooxml/commit/39294e97d434e7132a22e39930d262a0d0b281da))
|
|
57
|
+
- **digest:** Add timingSafeEqual and a 1M default spin limit ([5efd9c9](https://github.com/ChristopherVR/ooxml/commit/5efd9c95dcb2fa1b5e8d830333b9dce5d253e816))
|
|
58
|
+
- **crypto:** Harden agile and standard decryption against hostile input ([b1e7be5](https://github.com/ChristopherVR/ooxml/commit/b1e7be51db6aee35ed91dfcf143a3710d199308a))
|
|
59
|
+
- **automation:** Confine file io by realpath with relative results ([3b0340f](https://github.com/ChristopherVR/ooxml/commit/3b0340fa753c4fa0c483c0715c19693bd5b40b4e))
|
|
60
|
+
- **xml:** Bound nesting depth and element count in parseXml ([7441f60](https://github.com/ChristopherVR/ooxml/commit/7441f60925b128da24500833aecb5936d24ee024))
|
|
61
|
+
- **opc:** Match attribute names exactly and accept single quotes ([9220247](https://github.com/ChristopherVR/ooxml/commit/922024743255a61b6f39b2ef231dffc533da8b14))
|
|
62
|
+
- **math:** Cap LaTeX and OMML nesting and use null-prototype sibling maps ([553cd72](https://github.com/ChristopherVR/ooxml/commit/553cd7232a58d7b979f5065e35d1e9f31c2d48fc))
|
|
63
|
+
- **diagram:** Null-prototype layout variables and a presentation node budget ([572bf71](https://github.com/ChristopherVR/ooxml/commit/572bf71479c24389793db22dc80f056e090d4264))
|
|
64
|
+
- **chart:** Match Excel for extended chart text, labels and fills ([9514ba1](https://github.com/ChristopherVR/ooxml/commit/9514ba19f9624b205da5a64b2ea6f32ea3355d65))
|
|
65
|
+
- **geometry:** Draw the wedge callout presets as ECMA-376 defines them ([2a4f2b0](https://github.com/ChristopherVR/ooxml/commit/2a4f2b0b100040a5ab1352f6d36f6a5e64d82a58))
|
|
66
|
+
- **math:** Draw the minus sign and space only a binary one ([1620cb0](https://github.com/ChristopherVR/ooxml/commit/1620cb00486131c99437dc13259b5d82c5d7d63f))
|
|
67
|
+
- **geometry:** Keep the oval callout on its ellipse ([a98b010](https://github.com/ChristopherVR/ooxml/commit/a98b010ba274ae857d2bd3bc618761a1dce4bb39))
|
|
68
|
+
- **svelte:** Translate the chart section and lead with its title ([1a102b6](https://github.com/ChristopherVR/ooxml/commit/1a102b60aeb7def69f05fd2d5d0b18286467cd46))
|
|
69
|
+
- **vue:** Put the chart title before the chart type ([984a118](https://github.com/ChristopherVR/ooxml/commit/984a118c76fa959387ffbd2d890ef35a5d5cc2a8))
|
|
70
|
+
|
|
71
|
+
### Refactor
|
|
72
|
+
|
|
73
|
+
- **pptx:** Drop the unused jszip import from the chart parser ([66f67dc](https://github.com/ChristopherVR/ooxml/commit/66f67dcb464a61015ea3b56fcc6578a29e7016a5))
|
|
74
|
+
- **chart:** Move waterfall steps and range into the chart area ([b6fa22a](https://github.com/ChristopherVR/ooxml/commit/b6fa22a987d40b63f3369868083435eba35afa83))
|
|
75
|
+
- **pptx:** Open file > options through the shared options dialog ([d6d4fba](https://github.com/ChristopherVR/ooxml/commit/d6d4fbad29c6d0f7ccf5ce676fa8ca3a2e8c0ae6))
|
|
76
|
+
- **chart:** Move number formats, palettes, axis labels, auto title to core ([26bde03](https://github.com/ChristopherVR/ooxml/commit/26bde036faed3663e9a037b8e755e5c517202263))
|
|
77
|
+
- **chart:** Move bubble, stock, treemap and sunburst geometry to core ([a465fa6](https://github.com/ChristopherVR/ooxml/commit/a465fa63dfd1f15c67a22a97fa5ed9c97d2965e8))
|
|
78
|
+
- **pptx:** Read chart trendlines and error bars from core model ([fa53d97](https://github.com/ChristopherVR/ooxml/commit/fa53d97b442df87b60ac1be85f5e4480bb8fec7a))
|
|
79
|
+
|
|
80
|
+
### Chores
|
|
81
|
+
|
|
82
|
+
- **ui:** Drop an unused chart import and clarify the note lookup ([76ed6f1](https://github.com/ChristopherVR/ooxml/commit/76ed6f1bbd263129a0d3950119a8f062ba020d9f))
|
|
83
|
+
|
|
10
84
|
## [4.37.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vue-viewer@4.37.0) - 2026-10-15
|
|
11
85
|
|
|
12
86
|
### Features
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as t, x as a } from "./viewer-
|
|
1
|
+
import { Hr as e } from "./useViewerSettingsDialog-GFwiCVIT.js";
|
|
2
|
+
import { l as t, x as a } from "./viewer-B8GEf0Gj.js";
|
|
3
3
|
import { Fragment as r, Suspense as s, computed as l, createBlock as o, createCommentVNode as i, createElementBlock as n, createElementVNode as p, createTextVNode as d, createVNode as c, defineComponent as u, nextTick as m, normalizeClass as x, normalizeStyle as g, onBeforeUnmount as f, onMounted as b, openBlock as v, ref as y, renderList as h, resolveDynamicComponent as k, shallowRef as w, toDisplayString as C, unref as P, vModelText as T, watch as S, withAsyncContext as I, withCtx as j, withDirectives as _ } from "vue";
|
|
4
|
-
import { Bot as A, ChartColumn as E, Check as M, Crosshair as F, Eye as B, Film as D, GitMerge as N, History as
|
|
4
|
+
import { Bot as A, ChartColumn as E, Check as M, Crosshair as F, Eye as B, Film as D, GitMerge as N, History as H, LayoutTemplate as L, LoaderCircle as R, MessageSquare as W, MessageSquarePlus as z, Move as V, Navigation as K, Palette as O, Pin as U, PinOff as $, Plus as q, Search as G, Send as J, Shapes as Q, Sparkles as X, Square as Y, StickyNote as Z, Table as ee, Trash2 as te, TriangleAlert as ae, Type as re, User as se, Wrench as le, X as oe } from "lucide-vue-next";
|
|
5
5
|
import { createAiChatHistoryController as ie, createAiChatSession as ne, deckIdFromBridge as pe, describeToolActivity as de, extractReadyToolCalls as ce, focusTargetChips as ue, humanizeDiffLine as me, isAiAvailable as xe, isTwoTableFocus as ge, mergeTablesDirective as fe, summarizeToolArgs as be, toRenderableParts as ve, toolCanvasTarget as ye, toolLabel as he } from "ooxml-ui/pptx/ai";
|
|
6
6
|
var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end gap-1.5 rounded-md border border-input bg-background px-2 py-1.5 focus-within:border-ring" }, Ce = ["placeholder", "aria-label"], Pe = ["title", "aria-label"], Te = [
|
|
7
7
|
"disabled",
|
|
@@ -59,10 +59,10 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
59
59
|
"title",
|
|
60
60
|
"aria-label",
|
|
61
61
|
"aria-pressed"
|
|
62
|
-
], De = ["title", "aria-label"], Ne = ["title", "aria-label"],
|
|
62
|
+
], De = ["title", "aria-label"], Ne = ["title", "aria-label"], He = {
|
|
63
63
|
key: 0,
|
|
64
64
|
class: "flex items-center gap-2 border-t border-primary/20 bg-primary/5 px-2.5 py-1"
|
|
65
|
-
},
|
|
65
|
+
}, Le = { class: "text-[11px] font-medium text-primary" }, Re = u({
|
|
66
66
|
__name: "AiFocusBar",
|
|
67
67
|
props: {
|
|
68
68
|
targets: {},
|
|
@@ -130,9 +130,9 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
130
130
|
class: "w-3.5 h-3.5"
|
|
131
131
|
}))], 8, Ne))
|
|
132
132
|
])
|
|
133
|
-
]), t.pickMode ? (v(), n("div",
|
|
133
|
+
]), t.pickMode ? (v(), n("div", He, [
|
|
134
134
|
c(P(F), { class: "w-3.5 h-3.5 shrink-0 animate-pulse text-primary" }),
|
|
135
|
-
p("span",
|
|
135
|
+
p("span", Le, C(P(g)("pptx.ai.pickElementHint")), 1),
|
|
136
136
|
p("button", {
|
|
137
137
|
type: "button",
|
|
138
138
|
class: "ml-auto rounded-sm bg-primary px-2 py-0.5 text-[11px] font-medium text-primary-foreground hover:bg-primary/90",
|
|
@@ -214,7 +214,7 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
214
214
|
shape: Q,
|
|
215
215
|
theme: O,
|
|
216
216
|
table: ee,
|
|
217
|
-
slide:
|
|
217
|
+
slide: L,
|
|
218
218
|
chart: E,
|
|
219
219
|
move: V,
|
|
220
220
|
delete: te,
|
|
@@ -228,7 +228,7 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
228
228
|
p("div", Ye, [
|
|
229
229
|
(v(), o(k(b.value), { class: x(P(a)("w-3.5 h-3.5 shrink-0", u.value ? "text-destructive" : "text-muted-foreground")) }, null, 8, ["class"])),
|
|
230
230
|
p("span", { class: x(P(a)("truncate", u.value ? "text-destructive" : "text-foreground")) }, C(f.value.label), 3),
|
|
231
|
-
p("span", { class: x(P(a)("ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]", u.value ? "bg-destructive/15 text-destructive" : m.value ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground")) }, [g.value ? (v(), o(P(
|
|
231
|
+
p("span", { class: x(P(a)("ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]", u.value ? "bg-destructive/15 text-destructive" : m.value ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground")) }, [g.value ? (v(), o(P(R), {
|
|
232
232
|
key: 0,
|
|
233
233
|
class: "w-3 h-3 animate-spin"
|
|
234
234
|
})) : m.value ? (v(), o(P(M), {
|
|
@@ -437,7 +437,7 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
437
437
|
e && u.bridge.goToSlide(e.slideIndex), u.aiPanel.showChangeBatch(e);
|
|
438
438
|
});
|
|
439
439
|
f(() => D());
|
|
440
|
-
const N = l(() => u.aiPanel.pickTargets.value.length > 0),
|
|
440
|
+
const N = l(() => u.aiPanel.pickTargets.value.length > 0), L = l(() => N.value ? u.aiPanel.pickTargets.value : u.aiPanel.pinnedFocus.value ?? u.aiPanel.liveFocusTargets.value), R = l(() => !N.value && null !== u.aiPanel.pinnedFocus.value);
|
|
441
441
|
function W(e) {
|
|
442
442
|
u.aiPanel.flashToolTarget(null), A(e);
|
|
443
443
|
}
|
|
@@ -449,7 +449,7 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
449
449
|
type: "button",
|
|
450
450
|
class: "inline-flex items-center gap-1 rounded-sm px-1.5 py-1 text-[12px] text-muted-foreground hover:bg-accent max-md:min-h-[44px]!",
|
|
451
451
|
onClick: t[0] || (t[0] = (e) => B.value = !B.value)
|
|
452
|
-
}, [c(P(
|
|
452
|
+
}, [c(P(H), { class: "w-3.5 h-3.5" }), d(" " + C(P(m)("pptx.ai.chats")), 1)]), p("div", wt, [p("button", {
|
|
453
453
|
type: "button",
|
|
454
454
|
title: P(m)("pptx.ai.newChat"),
|
|
455
455
|
"aria-label": P(m)("pptx.ai.newChat"),
|
|
@@ -476,10 +476,10 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
476
476
|
onNewChat: t[5] || (t[5] = (e) => P(F).newChat()),
|
|
477
477
|
onClose: t[6] || (t[6] = (e) => B.value = !1)
|
|
478
478
|
}, null, 8, ["chats", "active-chat-id"])) : i("", !0),
|
|
479
|
-
c(
|
|
480
|
-
targets:
|
|
479
|
+
c(Re, {
|
|
480
|
+
targets: L.value,
|
|
481
481
|
slides: u.bridge.getSlides(),
|
|
482
|
-
"is-pinned":
|
|
482
|
+
"is-pinned": R.value,
|
|
483
483
|
"pick-mode": u.aiPanel.pickMode.value,
|
|
484
484
|
"has-picks": N.value,
|
|
485
485
|
onPin: u.aiPanel.pinFocus,
|
|
@@ -543,10 +543,10 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
543
543
|
}), Ft = { class: "flex items-center gap-2 border-b border-border px-3 py-2" }, Bt = { class: "text-sm font-semibold text-foreground" }, Dt = ["title", "aria-label"], Nt = {
|
|
544
544
|
key: 0,
|
|
545
545
|
class: "flex flex-1 flex-col items-center justify-center gap-2 text-muted-foreground"
|
|
546
|
-
},
|
|
546
|
+
}, Ht = {
|
|
547
547
|
key: 1,
|
|
548
548
|
class: "flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center"
|
|
549
|
-
},
|
|
549
|
+
}, Lt = { class: "text-sm font-medium text-foreground" }, Rt = { class: "text-[12px] text-muted-foreground" }, Wt = { class: "flex flex-1 flex-col items-center justify-center gap-2 text-muted-foreground" }, zt = u({
|
|
550
550
|
__name: "AiChatPanel",
|
|
551
551
|
props: {
|
|
552
552
|
bridge: {},
|
|
@@ -597,12 +597,12 @@ var ke = { class: "border-t border-border p-2" }, we = { class: "flex items-end
|
|
|
597
597
|
class: "ml-auto flex items-center justify-center rounded-sm p-1 text-muted-foreground transition-colors hover:bg-accent max-md:min-w-[44px]! max-md:min-h-[44px]!",
|
|
598
598
|
onClick: t[0] || (t[0] = (e) => u("close"))
|
|
599
599
|
}, [c(P(oe), { class: "w-4 h-4" })], 8, Dt)
|
|
600
|
-
]), "checking" === P(x) ? (v(), n("div", Nt, [c(P(
|
|
600
|
+
]), "checking" === P(x) ? (v(), n("div", Nt, [c(P(R), { class: "w-5 h-5 animate-spin" })])) : "unavailable" === P(x) || "error" === P(x) ? (v(), n("div", Ht, [
|
|
601
601
|
c(P(ae), { class: "w-6 h-6 text-muted-foreground" }),
|
|
602
|
-
p("p",
|
|
603
|
-
p("p",
|
|
602
|
+
p("p", Lt, C(P(m)("pptx.ai.unavailableTitle")), 1),
|
|
603
|
+
p("p", Rt, C(P(b)?.message ?? P(m)("pptx.ai.unavailableHint")), 1)
|
|
604
604
|
])) : "ready" === P(x) && P(f) ? (v(), o(s, { key: 2 }, {
|
|
605
|
-
fallback: j(() => [p("div", Wt, [c(P(
|
|
605
|
+
fallback: j(() => [p("div", Wt, [c(P(R), { class: "w-5 h-5 animate-spin" })])]),
|
|
606
606
|
default: j(() => [c(Mt, {
|
|
607
607
|
session: P(f),
|
|
608
608
|
config: d.config,
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-DxBm2XyQ.cjs"), t = require("./viewer-CvLv3KhD.cjs");
|
|
2
2
|
let r = require("vue"), a = require("lucide-vue-next"), n = require("ooxml-ui/pptx/ai");
|
|
3
3
|
var o = { class: "border-t border-border p-2" }, l = { class: "flex items-end gap-1.5 rounded-md border border-input bg-background px-2 py-1.5 focus-within:border-ring" }, s = ["placeholder", "aria-label"], i = ["title", "aria-label"], c = [
|
|
4
4
|
"disabled",
|
|
Binary file
|
|
Binary file
|