dsh-ppt 0.20.7 → 0.21.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/lib/client.js CHANGED
@@ -182,8 +182,11 @@ function __StardustPluginUpdatesFooter({ React, name }) {
182
182
  if (!client) return null;
183
183
  return React.createElement(client.Footer, { name });
184
184
  }
185
+ function __stardustUpdatesFooter(React, name) {
186
+ return React.createElement(__StardustPluginUpdatesFooter, { key: 'plugin-updates', React, name });
187
+ }
185
188
  function __stardustUpdatesInlinePage(React, element, name) {
186
- return React.cloneElement(element, null, element.props.children, React.createElement(__StardustPluginUpdatesFooter, { key: 'plugin-updates', React, name }));
189
+ return React.cloneElement(element, null, element.props.children, __stardustUpdatesFooter(React, name));
187
190
  }
188
191
  function __stardustUpdatesDetailName(subject, rows) {
189
192
  if (!subject || !['bundle', 'row'].includes(subject.kind)) return null;
@@ -211,9 +214,7 @@ function __stardustUpdatesDisplayRows(next, known) {
211
214
  return { ...next, rows };
212
215
  }
213
216
  function __stardustUpdatesSuiteRows(next, participants) {
214
- // The official manager lists top-level dependencies, not Suite's transitive
215
- // components. Project active, build-identified clients for display only.
216
- // Installation and preferences still use the real Suite row from the host.
217
+ // Transitive Suite rows identify the migration entry in existing workbenches.
217
218
  const suite = next.rows.find(row => row.name === '@stardustlc/dsh-suite' && row.enabled);
218
219
  if (!suite) return next;
219
220
  const rows = [...next.rows], names = new Set(rows.map(row => row.name));
@@ -247,20 +248,21 @@ function __stardustUpdatesJoin(host, React, require, participant) {
247
248
  if (typeof root.plugin !== 'function') return;
248
249
  let record = pools.get(root);
249
250
  if (!record) {
250
- record = { refs: new Map(), timer: null, version: participant.version, alive: true, hold: false, uiRevision: 2 };
251
+ record = { refs: new Map(), timer: null, version: participant.version, alive: true, hold: false, uiRevision: 3, migration: Promise.resolve() };
251
252
  pools.set(root, record);
252
253
  __stardustUpdatesActivate(record, pools, root, React, require);
253
- } else if (record.uiRevision !== 2 && !record.migration) {
254
+ } else if ((record.uiRevision || 0) < 3 && !record.upgrading) {
254
255
  // The first loaded participant may still own a pre-footer client. Keep
255
256
  // its references and draft guards, wait for any admitted install, then
256
257
  // replace that one client fiber instead of running two window heartbeats.
257
258
  const shared = record;
258
- record.migration = Promise.resolve().then(async () => {
259
+ const previousMigration = record.migration;
260
+ record.upgrading = record.migration = Promise.resolve(previousMigration).then(async () => {
259
261
  while (shared.alive && shared.hold) await new Promise(resolve => setTimeout(resolve, 500));
260
262
  if (!shared.alive || !shared.refs.size) return;
261
263
  await shared.fiber?.dispose?.();
262
264
  if (!shared.refs.size) return;
263
- shared.alive = true; shared.uiRevision = 2; pools.set(root, shared);
265
+ shared.alive = true; shared.uiRevision = 3; pools.set(root, shared);
264
266
  __stardustUpdatesActivate(shared, pools, root, React, require);
265
267
  }).catch(() => { /* The original page remains usable if host disposal fails. */ });
266
268
  }
@@ -290,13 +292,12 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
290
292
  const language = () => String(ctx.locale?.getSnapshot?.().active || '').startsWith('en') ? 'en' : 'zh';
291
293
  const t = (zh, en) => language() === 'en' ? en : zh;
292
294
  const preferences = name => state?.preferences.packages[name] || { checkEnabled: true, autoInstall: false, deferredUntil: 0, ignoredVersion: null };
293
- const originalRow = name => state?.rows.find(row => row.name === name);
294
- const rowFor = name => { const row = originalRow(name); return row?.bundledBy ? originalRow(row.bundledBy) : row; };
295
+ const rowFor = name => state?.rows.find(row => row.name === name);
295
296
  const activeJob = () => ['verifying', 'installing', 'cancelling'].includes(state?.job?.state);
296
297
  function notify() { shared.hold = manualOperation || activeJob(); for (const listener of listeners) listener(); for (const listener of pool.viewListeners) listener(); }
297
298
  async function api(body = { action: 'state' }) {
298
299
  const controller = new AbortController(); requests.add(controller);
299
- const timeout = setTimeout(() => controller.abort(), body.action === 'check' ? 95000 : 45000);
300
+ const timeout = setTimeout(() => controller.abort(), ['check', 'check-when-due'].includes(body.action) ? 95000 : 45000);
300
301
  try {
301
302
  const response = await fetch(route, { method: 'POST', credentials: 'same-origin', cache: 'no-store', signal: controller.signal, headers: { 'content-type': 'application/json', 'x-stardustlc-updates': '1' }, body: JSON.stringify(body) });
302
303
  let data; try { data = await response.json(); } catch { throw new Error('service-unavailable'); }
@@ -338,8 +339,17 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
338
339
  'preferences-unreadable': t('更新偏好文件无法读取,自动安装已关闭。请检查当前 profile 的 stardustlc-plugin-updates.json。', 'Preferences could not be read. Automatic installation is off. Check stardustlc-plugin-updates.json in this profile.'),
339
340
  'no-update': t('版本已变化或暂不兼容,请重新检查。', 'The version changed or is incompatible. Check again.'),
340
341
  'source-not-registry': t('本地源码、Git 等安装,请通过原安装方式更新。', 'Update local, Git and other external sources through their original installation method.'),
341
- 'managed-by-suite': t('这个插件随 Suite 安装,通过 Suite 更新。', 'This plugin was installed through Suite and is updated through Suite.'),
342
+ 'managed-by-suite': t('先将 Suite 组件迁移为独立安装。', 'Convert Suite components to independent installations first.'),
343
+ 'suite-hmr-required': t('切换安装方式需要宿主启用热重载。', 'Converting Suite requires Host hot reload.'),
344
+ 'suite-inventory-changed': t('套件与独立插件的安装状态或 Loader 条目不一致,请在原生插件详情检查。', 'Suite and standalone bundle inventory or Loader entries differ. Review native plugin details.'),
345
+ 'suite-stage-failed': t('切换安装方式时宿主报告失败,请在插件管理中查看详情。', 'The Host reported a conversion failure. See native plugin management for details.'),
346
+ 'suite-recovery-required': t('Suite 的上次切换等待恢复。', 'The previous Suite conversion needs recovery.'),
347
+ 'suite-recovery-unreadable': t('Suite 恢复记录无法读取,请在原生插件管理中检查已安装组件。', 'The Suite recovery record is unreadable. Check the installed bundles in native plugin management.'),
342
348
  'owner-required': t('只有 profile 拥有者能管理更新。', 'Only the profile owner can manage updates.'),
349
+ 'version-mismatch': t('宿主装入的版本与目标不同。请重新检查版本和软件源策略。', 'The installed version differs from the target. Check the release and registry policy.'),
350
+ 'unexpected-package': t('宿主装入的包或版本与目标不同。请检查版本和软件源策略。', 'The installed package or version differed from the target. Check the release and registry policy.'),
351
+ 'version-unconfirmed': t('尚未确认新版已加载,请在插件详情中检查当前版本。', 'The new version could not be confirmed. Check the installed version in plugin details.'),
352
+ 'build-blocked': t('构建脚本等待批准。请查看原生插件管理中的安装提示。', 'Build scripts await approval. Review the install details in native plugin management.'),
343
353
  })[code] || t('操作未完成,请刷新后重试。DSH 不会因此自动重启。', 'The operation could not be completed. Refresh and retry. DSH will not restart automatically.');
344
354
  }
345
355
  // releaseOf() keeps the failing engine/peer range check as a stable code; say which
@@ -353,6 +363,30 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
353
363
  })[release?.reason] || t('发布元数据的兼容范围与当前环境不符', 'its published compatibility range does not match this environment');
354
364
  }
355
365
  function jobLabel(job) {
366
+ if (job.mode === 'migration') {
367
+ return ({
368
+ complete: t('Suite 已切换为独立安装', 'Suite components are now installed independently'),
369
+ 'restart-required': t('切换配置已保存,等待重启', 'Conversion saved. Restart Harness to finish'),
370
+ restored: t('切换失败,已恢复 Suite', 'Conversion failed; Suite restored'),
371
+ 'restore-failed': t('恢复 Suite 失败', 'Suite recovery failed'),
372
+ cancelled: t('已取消切换', 'Conversion cancelled'),
373
+ failed: t('切换失败', 'Conversion failed'),
374
+ })[job.state] || ({
375
+ checking: t('正在核对 Suite 组件', 'Checking Suite components'),
376
+ installing: t('正在准备独立插件', 'Preparing independent bundles'),
377
+ applying: t('正在切换加载方式', 'Switching bundle activation'),
378
+ restoring: t('正在恢复 Suite', 'Restoring Suite'),
379
+ })[job.phase];
380
+ }
381
+ if (job.state === 'installing') {
382
+ const phase = ({
383
+ checking: t('宿主正在检查版本', 'Host checking release'),
384
+ removing: t('正在卸载旧版', 'Unloading the previous version'),
385
+ applying: t('正在加载新版', 'Loading the new version'),
386
+ restoring: t('正在恢复旧版', 'Restoring the previous version'),
387
+ })[job.phase];
388
+ if (phase) return phase;
389
+ }
356
390
  return ({ verifying: t('正在核对版本', 'Verifying release'), installing: t('正在安装', 'Installing'), cancelling: t('正在请求取消', 'Requesting cancellation'), complete: t('已更新', 'Updated'), 'restart-required': t('已安装,等待你手动重启', 'Installed; manual restart needed'), restored: t('更新未成功,已恢复原版本', 'Update failed; previous version restored'), 'restore-failed': t('恢复未成功,请检查官方插件管理', 'Recovery failed; check native plugin management'), unknown: t('结果未确认,请检查官方插件管理', 'Result unconfirmed; check native plugin management'), cancelled: t('已取消', 'Cancelled'), failed: t('更新未成功', 'Update failed') })[job.state] || job.state;
357
391
  }
358
392
  function FooterFrame({ name, label, subtitle, actions, children }) {
@@ -362,17 +396,24 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
362
396
  h('div', { className: 'updates-head' }, h('div', null, h('h2', null, t('版本与更新', 'Version and updates')), h('p', { className: 'updates-subtitle w-muted' }, subtitle)), actions), children);
363
397
  }
364
398
  function Panel({ name }) {
365
- const snapshot = useSnapshot(), [error, setError] = useState(''), [working, setWorking] = useState(false), [checking, setChecking] = useState(false), [dialog, setDialog] = useState(null), [notes, setNotes] = useState(null), [notesOpen, setNotesOpen] = useState(false), [loadingNotes, setLoadingNotes] = useState(false);
366
- const row = rowFor(name), original = originalRow(name), target = row?.name || name, prefs = preferences(target), job = snapshot?.job?.name === target ? snapshot.job : null;
399
+ const snapshot = useSnapshot(), [error, setError] = useState(''), [working, setWorking] = useState(false), [checking, setChecking] = useState(false), [dialog, setDialog] = useState(null), [selectedVersion, setSelectedVersion] = useState(null), [notes, setNotes] = useState(null), [notesOpen, setNotesOpen] = useState(false), [loadingNotes, setLoadingNotes] = useState(false);
400
+ const row = rowFor(name), target = name, prefs = preferences(name);
401
+ const suiteEntry = !!row?.bundledBy || (name === '@stardustlc/dsh-suite' && row?.enabled);
402
+ const managed = row?.sourceKind === 'registry' && !suiteEntry;
403
+ const latestJob = snapshot?.job;
404
+ const job = latestJob?.name === name || latestJob?.mode === 'migration' && (latestJob.requestedName === name || suiteEntry && activeJob()) ? latestJob : null;
405
+ useEffect(() => {
406
+ if (managed && prefs.checkEnabled) void api({ action: 'check-when-due', name }).then(refresh).catch(() => {});
407
+ }, [name, managed, prefs.checkEnabled]);
367
408
  async function perform(callback) { setError(''); setWorking(true); try { await callback(); await refresh(); } catch (error) { setError(error.message); await refresh().catch(() => {}); } finally { setWorking(false); } }
368
409
  async function save(changes, consent) { await api({ action: 'preferences', name: target, revision: state.preferences.revision, changes, consent }); }
369
410
  async function check() { setError(''); setChecking(true); try { await api({ action: 'check', name: target }); await refresh(); } catch (error) { setError(error.message); } finally { setChecking(false); } }
370
- async function install() {
411
+ async function runOperation(request) {
371
412
  setDialog(null); manualOperation = true; notify();
372
413
  await perform(async () => {
373
414
  try {
374
415
  await heartbeat();
375
- const started = await api({ action: 'install', name: row.name, version: row.release.version, confirmation: 'update-installed-plugin' });
416
+ const started = await api(request);
376
417
  while (alive) {
377
418
  await new Promise(resolve => setTimeout(resolve, 800)); await heartbeat(); await refresh();
378
419
  if (state.job?.id !== started.id) throw new Error('operation-unconfirmed');
@@ -386,32 +427,100 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
386
427
  setNotesOpen(true); setNotes(null); setLoadingNotes(true); setError('');
387
428
  try { setNotes(await api({ action: 'notes', name: target, version: row.release.version })); } catch (error) { setError(error.message); } finally { setLoadingNotes(false); }
388
429
  }
389
- if (!snapshot || !row) return h(W.Status, null, t('此插件尚未安装或已从当前 profile 移除。', 'This plugin is not installed in the current profile.'));
390
- const title = language() === 'en' ? original.labelEn : original.label;
391
- const ownPage = pageState(true), unconfirmed = ['unknown', 'restore-failed'].includes(snapshot.job?.state), pageBusy = ownPage.busy || (snapshot.pages.clients || []).some(client => client.id !== id && client.busy), installLocked = working || activeJob() || unconfirmed || snapshot.updaterRestart || snapshot.preferenceError || !snapshot.activity.known || snapshot.activity.busy || snapshot.pages.dirty || ownPage.dirty || pageBusy || !snapshot.pages.known;
430
+ if (!snapshot) return h(W.Status, null, t('正在读取更新状态…', 'Loading update status…'));
431
+ const ownPage = pageState(true), unconfirmed = ['unknown', 'restore-failed'].includes(snapshot.job?.state);
432
+ const pageBusy = ownPage.busy || (snapshot.pages.clients || []).some(client => client.id !== id && client.busy);
433
+ const busy = working || activeJob() || snapshot.updaterRestart || snapshot.preferenceError || !snapshot.activity.known
434
+ || snapshot.activity.busy || snapshot.pages.dirty || ownPage.dirty || pageBusy || !snapshot.pages.known;
435
+ const installLocked = busy || unconfirmed || !!snapshot.suiteRecovery;
392
436
  const checkingThis = checking || snapshot.checkingNames?.includes(target);
393
- const status = row.sourceKind !== 'registry' ? t('本地 / 外部来源,保留原安装方式', 'Local / external source; keep original install method') : row.loadError ? t('加载异常,请先检查官方插件管理', 'Loading error; check native plugin management') : row.error ? t('检查失败,可以重试', 'Check failed; retry available') : row.release && !row.release.compatible ? t('新版本暂不兼容当前环境:', 'Latest release is incompatible with this environment: ') + requirement(row.release) : row.available ? (prefs.ignoredVersion === row.release.version ? t('已忽略提醒,仍可手动更新', 'Reminder ignored; manual update available') : t('有新版本', 'Update available')) : row.checkedAt ? t('当前已是最新稳定版', 'Latest stable version') : t('尚未检查', 'Not checked yet');
394
- return h(FooterFrame, { name, label: title, subtitle: original.name + ' · ' + original.version, actions: h(W.Button, { icon: 'refresh', disabled: checkingThis || row.sourceKind !== 'registry', onClick: check }, checkingThis ? t('正在检查…', 'Checking…') : target === '@stardustlc/dsh-suite' ? t('检查整包更新', 'Check Suite updates') : t('检查更新', 'Check for updates')) },
395
- original.bundledBy && h(W.Status, null, t('此插件随 Suite 安装。以下设置与安装作用于 Suite 整包,以保持组件版本一致。单独安装的插件可以独立更新。', 'This plugin was installed through Suite. These controls update Suite as a package so its components stay consistent. Independently installed plugins update individually.')),
396
- h('section', { className: 'w-section' }, (original.bundledBy || row.available) && h('p', { className: 'updates-version' }, target + ' · ' + row.version, row.release?.version && row.release.version !== row.version ? ' → ' + row.release.version : ''), h('p', { className: 'w-muted updates-note' }, status), !row.enabled && h('p', { className: 'w-muted' }, t('当前已停用,更新后仍保持停用。', 'Currently disabled; it will remain disabled after updating.')), row.checkedAt && h('p', { className: 'w-muted updates-note' }, t('上次检查:', 'Last checked: ') + new Date(row.checkedAt).toLocaleString(language() === 'en' ? 'en-US' : 'zh-CN')),
397
- h('div', { className: 'w-toolbar' }, row.available && row.sourceKind === 'registry' && h(W.Button, { variant: 'primary', icon: 'download', disabled: installLocked || row.loadError, onClick: () => setDialog('install') }, target === '@stardustlc/dsh-suite' ? t('更新 Suite 整包', 'Update whole Suite') : t('更新此插件', 'Update this plugin')), row.release && h(W.Button, { variant: 'ghost', onClick: showNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')), row.available && h(W.Button, { variant: 'ghost', disabled: working, onClick: () => perform(() => api({ action: 'later', name: target, revision: state.preferences.revision })) }, t('明天再提醒', 'Remind me tomorrow')), row.available && prefs.ignoredVersion !== row.release.version && h(W.Button, { variant: 'ghost', disabled: working, onClick: () => perform(() => api({ action: 'ignore', name: target, revision: state.preferences.revision, version: row.release.version })) }, t('忽略此版本提醒', 'Ignore this reminder')))),
437
+ const canMigrate = snapshot.suiteMigration && !installLocked && !snapshot.pendingRestart;
438
+ const canRecover = snapshot.suiteRecovery?.version && snapshot.suiteMigration && !busy && !snapshot.pendingRestart;
439
+ const showUpdate = managed && row.available;
440
+ const canConfirm = showUpdate && row.release.version === selectedVersion && !installLocked && !row.loadError;
441
+ function progress() {
442
+ if (!job) return null;
443
+ const result = job.outcome?.result;
444
+ const reason = job.reason || (result?.pendingBuilds || result?.failureKind === 'build-blocked' ? 'build-blocked' : result?.error?.code);
445
+ const canCancel = activeJob() && !['applying', 'restoring'].includes(job.phase);
446
+ return h('section', { className: 'w-section', role: 'status', 'aria-label': t('更新进度', 'Update progress') },
447
+ h('h3', null, jobLabel(job)),
448
+ job.to && h('p', { className: 'w-muted' }, job.from + ' → ' + job.to + (job.mode === 'automatic' ? t(' · 自动补丁', ' · Automatic patch') : '')),
449
+ job.total && activeJob() && h('p', { className: 'w-muted' }, job.completed + ' / ' + job.total),
450
+ reason && h(W.Status, { tone: 'error' }, message(reason)),
451
+ canCancel && h(W.Button, { disabled: job.state === 'cancelling', onClick: () => perform(() => api({ action: 'cancel', id: job.id })) }, t('取消', 'Cancel')));
452
+ }
453
+ function windowControls() {
454
+ if (!(snapshot.pages.clients || []).some(client => !client.fresh)) return null;
455
+ return h('div', null,
456
+ h(W.Status, null, h('p', null, t('有窗口已断开,无法确认是否还有未保存修改。仍在使用的窗口请先保存并刷新;已关闭的窗口可以手动重新确认。', 'A disconnected window may contain unsaved changes. Save and refresh windows still in use. If they are closed, you can confirm that manually.')), h(W.Button, { onClick: () => setDialog('windows') }, t('重新确认已关闭的窗口', 'Confirm closed windows'))),
457
+ dialog === 'windows' && h(W.Dialog, { title: t('断开的窗口都已关闭?', 'Are the disconnected windows closed?'), closeLabel: t('关闭', 'Close'), onClose: () => setDialog(null) },
458
+ h('div', { className: 'w-stack' }, h('p', null, t('只清除超过 45 秒未回应的其他窗口记录。请先确认它们已经关闭;仍在使用的窗口请保存修改并刷新。当前或仍在回应的窗口保护会保留。', 'Only other windows silent for over 45 seconds are cleared. Confirm that they are closed; save and refresh windows still in use. Current and responsive windows remain protected.')), h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')), h(W.Button, { onClick: () => { setDialog(null); void perform(() => api({ ...pageState(true), action: 'reconfirm-windows', confirmation: 'other-stale-windows-are-closed' })); } }, t('已关闭,重新确认状态', 'They are closed; reconfirm'))))));
459
+ }
460
+ function recoveryControls() {
461
+ if (!snapshot.suiteRecovery) return null;
462
+ if (snapshot.suiteRecovery.restartRequired) return h(W.Status, null, t('请重启 Harness。下次启动时会核对独立插件是否已加载。', 'Restart Harness. It will verify that the individual plugins loaded at startup.'));
463
+ return h('div', null,
464
+ h(W.Status, null, snapshot.suiteRecovery.awaitingVerification
465
+ ? t('正在核对独立插件的加载状态。若仍有插件无法加载,可以恢复 Suite。', 'Checking the individual plugins. Recover Suite if any still fail to load.')
466
+ : message(snapshot.suiteRecovery.error || 'suite-recovery-required')),
467
+ snapshot.suiteRecovery.version && h(W.Button, { disabled: !canRecover, onClick: () => setDialog('recovery') }, t('恢复 Suite', 'Recover Suite')),
468
+ dialog === 'recovery' && h(W.Dialog, { title: t('恢复上次 Suite 切换?', 'Recover the previous Suite conversion?'), closeLabel: t('关闭', 'Close'), onClose: () => setDialog(null) },
469
+ h('div', { className: 'w-stack' },
470
+ h('p', null, t('Harness 会核对当前组件状态,并按需恢复切换前的安装方式。', 'Harness checks the current component state and recovers the previous installation if needed.')),
471
+ h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')),
472
+ h(W.Button, { variant: 'primary', disabled: !canRecover, onClick: () => runOperation({ action: 'recover-suite', name, confirmation: 'restore-previous-suite' }) }, t('确认恢复', 'Recover'))))));
473
+ }
474
+ if (!row) return recoveryControls() || progress() || h(W.Status, null, t('此插件尚未安装或已从当前 profile 移除。', 'This plugin is not installed in the current profile.'));
475
+ const title = language() === 'en' ? row.labelEn : row.label;
476
+ if (suiteEntry) return h(FooterFrame, { name, label: title, subtitle: name + ' · ' + row.version, actions: h(W.Button, { variant: 'primary', disabled: !canMigrate, onClick: () => setDialog('migration') }, t('切换为独立安装', 'Use independent installations')) },
477
+ h(W.Status, null, snapshot.suiteMigration ? t('组件随 Suite 安装。切换后即可单独更新。', 'These components are installed by Suite. Convert them for per-plugin updates.') : message('suite-hmr-required')),
478
+ (snapshot.pages.dirty || ownPage.dirty) && h(W.Status, null, message('page-dirty')),
479
+ (snapshot.activity.busy || pageBusy) && h(W.Status, null, message(snapshot.activity.busy ? 'busy' : 'page-busy')),
480
+ snapshot.pendingRestart && h(W.Status, null, message('restart-required')),
481
+ error && h(W.Status, { tone: 'error' }, message(error)),
482
+ unconfirmed && h(W.Status, { tone: 'error' }, message('operation-unconfirmed')),
483
+ windowControls(),
484
+ recoveryControls(),
485
+ progress(),
486
+ dialog === 'migration' && h(W.Dialog, { title: t('将 Suite 组件切换为独立安装?', 'Convert Suite components to independent installations?'), closeLabel: t('关闭', 'Close'), onClose: () => setDialog(null) },
487
+ h('div', { className: 'w-stack' }, h('p', null, t('Harness 会卸载旧 Suite 包,以当前版本登记各组件并恢复配置。切换期间组件会暂时卸载。', 'Harness removes the old Suite bundle and registers the components independently at the same versions with their existing settings. The components unload during the conversion.')),
488
+ h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')), h(W.Button, { variant: 'primary', disabled: !canMigrate, onClick: () => runOperation({ action: 'migrate-suite', name, confirmation: 'convert-suite-to-independent-bundles' }) }, t('确认切换', 'Convert installations'))))));
489
+ const status = row.sourceKind !== 'registry' ? t('请通过原安装方式更新', 'Update through the original installation method') : row.loadError ? t('加载异常,请先检查原生插件管理', 'Loading error. Check native plugin management') : row.error ? t('检查失败,可以重试', 'Check failed. Try again') : row.release && !row.release.compatible ? 'v' + row.release.version + ' · ' + requirement(row.release) + (row.release.required ? ' (' + row.release.required + ')' : '') : row.available ? (prefs.ignoredVersion === row.release.version ? t('已忽略提醒,仍可手动更新', 'Reminder ignored. Manual update available') : t('有兼容的新版本', 'Compatible update available')) : row.checkedAt ? t('当前已是最新稳定版', 'Latest stable version') : t('尚未检查', 'Not checked yet');
490
+ const checkButton = variant => h(W.Button, { variant, icon: 'refresh', disabled: checkingThis || !managed, onClick: check }, checkingThis ? t('正在检查…', 'Checking…') : t('检查更新', 'Check for updates'));
491
+ const primary = showUpdate
492
+ ? h(W.Button, { variant: 'primary', icon: 'download', disabled: installLocked || row.loadError, onClick: () => { setSelectedVersion(row.release.version); setDialog('install'); } }, t('更新至 v', 'Update to v') + row.release.version)
493
+ : managed ? checkButton() : null;
494
+ return h(FooterFrame, { name, label: title, subtitle: name + ' · ' + row.version, actions: primary },
495
+ h('section', { className: 'w-section' },
496
+ h('p', { className: 'w-muted updates-note' }, status),
497
+ showUpdate && row.blockedRelease && h('p', { className: 'w-muted updates-note' }, 'v' + row.blockedRelease.version + ' · ' + requirement(row.blockedRelease) + (row.blockedRelease.required ? ' (' + row.blockedRelease.required + ')' : '')),
498
+ !row.enabled && h('p', { className: 'w-muted' }, t('当前已停用。', 'Currently disabled.')),
499
+ row.checkedAt && h('p', { className: 'w-muted updates-note' }, t('上次检查 ', 'Last checked ') + new Date(row.checkedAt).toLocaleString(language() === 'en' ? 'en-US' : 'zh-CN')),
500
+ h('div', { className: 'w-toolbar' },
501
+ showUpdate && checkButton('ghost'),
502
+ row.release && h(W.Button, { variant: 'ghost', onClick: showNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')),
503
+ showUpdate && h(W.Button, { variant: 'ghost', disabled: working, onClick: () => perform(() => api({ action: 'later', name: target, revision: state.preferences.revision })) }, t('明天再提醒', 'Remind me tomorrow')),
504
+ showUpdate && prefs.ignoredVersion !== row.release.version && h(W.Button, { variant: 'ghost', disabled: working, onClick: () => perform(() => api({ action: 'ignore', name: target, revision: state.preferences.revision, version: row.release.version })) }, t('忽略此版本提醒', 'Ignore this reminder')))),
398
505
  notesOpen && h('section', { className: 'updates-notes', 'aria-label': t('更新记录', 'Release notes') }, h('strong', null, target + ' · ' + (notes?.version || row.release?.version || '')), loadingNotes ? h('p', null, t('正在读取…', 'Loading…')) : notes?.text ? h('pre', null, notes.text) : h('p', null, t('未找到此版本的独立更新记录。', 'No separate notes were found for this version.')), notes?.url && h('a', { href: notes.url, target: '_blank', rel: 'noreferrer noopener' }, t('查看仓库更新记录', 'View repository changelog'))),
399
506
  h('details', { className: 'updates-options' }, h('summary', null, t('更新选项', 'Update options'), ' · ', prefs.checkEnabled ? t('自动检查:开', 'Checks: on') : t('自动检查:关', 'Checks: off'), ' · ', prefs.autoInstall ? t('自动安装:开', 'Install: on') : t('自动安装:关', 'Install: off')), h('section', { className: 'updates-settings', 'aria-label': t('这个插件的更新偏好', 'Update preferences for this plugin') },
400
- h('div', null, h(W.Switch, { label: t('自动检查这个插件的更新', 'Automatically check this plugin'), checked: prefs.checkEnabled, disabled: working || !!snapshot.preferenceError || row.sourceKind !== 'registry', onChange: event => perform(() => save({ checkEnabled: event.target.checked })) }), h('p', { className: 'w-muted updates-note' }, t('默认开启,每天最多一次。只影响这个插件,关闭后仍可手动检查。', 'On by default, at most once daily. This affects only this plugin; manual checks remain available.'))),
507
+ h('div', null, h(W.Switch, { label: t('自动检查这个插件的更新', 'Automatically check this plugin'), checked: prefs.checkEnabled, disabled: working || !!snapshot.preferenceError || row.sourceKind !== 'registry', onChange: event => perform(() => save({ checkEnabled: event.target.checked })) }), h('p', { className: 'w-muted updates-note' }, t('默认开启,后台每 15 分钟检查。', 'On by default. Checks run every 15 minutes.'))),
401
508
  h('div', null, h(W.Switch, { label: t('空闲时自动安装这个插件的补丁', 'Install patches for this plugin while idle'), checked: prefs.autoInstall, disabled: working || !!snapshot.preferenceError || row.sourceKind !== 'registry', onChange: event => event.target.checked ? setDialog('automatic') : perform(() => save({ autoInstall: false })) }), h('p', { className: 'w-muted updates-note' }, t('默认关闭。明确开启后,仅空闲且没有未保存修改时安装兼容补丁。其他插件的开关不变。', 'Off by default. Explicitly enable compatible patches while idle with no unsaved changes. Other plugins’ settings stay unchanged.'))))),
402
509
  error && h(W.Status, { tone: 'error' }, message(error)), snapshot.preferenceError && h(W.Status, { tone: 'error' }, message('preferences-unreadable')),
403
510
  snapshot.pendingRestart && h(W.Status, null, snapshot.updaterRestart ? message('restart-required') : t('已有更新等待手动重启后生效。你可以继续工作,自动安装已暂停。', 'Some updates need a manual restart. Continue your work; automatic installation is paused.')),
404
511
  prefs.autoInstall && snapshot.autoReady === false && h(W.Status, null, message('page-not-ready')),
405
- snapshot.pages.clients.some(client => !client.fresh) && h(W.Status, null, h('p', null, t('有窗口已断开,无法确认是否还有未保存修改。仍在使用的窗口请先保存并刷新;已关闭的窗口可以手动重新确认。', 'A disconnected window may contain unsaved changes. Save and refresh windows still in use. If they are closed, you can confirm that manually.')), h(W.Button, { onClick: () => setDialog('windows') }, t('重新确认已关闭的窗口', 'Confirm closed windows'))),
512
+ windowControls(),
406
513
  (snapshot.pages.dirty || ownPage.dirty) && h(W.Status, null, message('page-dirty')), (snapshot.activity.busy || pageBusy) && h(W.Status, null, message(snapshot.activity.busy ? 'busy' : 'page-busy')),
407
514
  prefs.deferredUntil > Date.now() && h(W.Status, null, t('此插件已推迟提醒和自动安装 24 小时,仍可手动更新。', 'Reminders and automatic installation for this plugin are deferred for 24 hours. Manual updates remain available.')),
408
515
  unconfirmed && h(W.Status, { tone: 'error' }, message('operation-unconfirmed')),
409
- job && h('section', { className: 'w-section', 'aria-label': t('这个插件的更新进度', 'Update progress for this plugin') }, h('h3', null, jobLabel(job)), h('p', { className: 'w-muted' }, job.from + ' → ' + job.to + (job.mode === 'automatic' ? t(' · 自动补丁更新', ' · Automatic patch') : '')), (job.reason || job.outcome?.result?.error?.code) && h(W.Status, { tone: 'error' }, message(job.reason || job.outcome.result.error.code)), activeJob() && h(W.Button, { disabled: job.state === 'cancelling', onClick: () => perform(() => api({ action: 'cancel', id: job.id })) }, t('取消更新', 'Cancel update')), h('p', { className: 'w-muted updates-note' }, t('安装开始后,取消由官方包管理器处理;已落盘的写入以实际结果或恢复状态为准。', 'After installation starts, the native package manager handles cancellation. Completed writes and recovery are reported as they occur.'))),
410
- dialog && h(W.Dialog, { title: dialog === 'windows' ? t('断开的窗口都已关闭?', 'Are the disconnected windows closed?') : dialog === 'automatic' ? t('允许这个插件自动安装补丁?', 'Allow automatic patches for this plugin?') : t('确认更新此插件', 'Confirm this plugin update'), closeLabel: t('关闭', 'Close'), onClose: () => setDialog(null) },
411
- target === '@stardustlc/dsh-suite' && h('p', null, t('此处操作的是 Suite 整包,包含 18 个组件。独立安装的其他插件不受影响。', 'This action applies to the whole Suite, including its 18 components. Other independently installed plugins are unaffected.')),
412
- dialog === 'windows' ? h('div', { className: 'w-stack' }, h('p', null, t('只清除超过 45 秒未回应的其他窗口记录。请先确认它们已经关闭;仍在使用的窗口请保存修改并刷新。当前或仍在回应的窗口保护会保留。', 'Only other windows silent for over 45 seconds are cleared. Confirm that they are closed; save and refresh windows still in use. Current and responsive windows remain protected.')), h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')), h(W.Button, { onClick: () => { setDialog(null); void perform(() => api({ ...pageState(true), action: 'reconfirm-windows', confirmation: 'other-stale-windows-are-closed' })); } }, t('已关闭,重新确认状态', 'They are closed; reconfirm')))) :
516
+ recoveryControls(),
517
+ progress(),
518
+ ['automatic', 'install'].includes(dialog) && h(W.Dialog, { title: dialog === 'automatic' ? t('允许这个插件自动安装补丁?', 'Allow automatic patches for this plugin?') : t('确认更新此插件', 'Confirm this plugin update'), closeLabel: t('关闭', 'Close'), onClose: () => setDialog(null) },
413
519
  dialog === 'automatic' ? h('div', { className: 'w-stack' }, h('p', null, (language() === 'en' ? row.labelEn : row.label) + ' · ' + target), h('p', null, t('你正在主动启用这个插件的自动安装。只处理兼容的稳定补丁;有任务、未保存修改、未知窗口或等待重启时暂停。', 'You are explicitly enabling automatic installation for this plugin. Only compatible stable patches qualify; running tasks, unsaved changes, unknown windows or a pending restart pause it.')), h('p', null, t('不会自动重启 DSH,其他插件不会跟着开启。可随时关闭。', 'DSH will not restart automatically, and other plugins will not be enabled for automatic updates. Turn it off anytime.')), h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('保持关闭', 'Keep off')), h(W.Button, { variant: 'primary', onClick: () => { setDialog(null); void perform(() => save({ checkEnabled: true, autoInstall: true }, 'enable-idle-patch-updates')); } }, t('允许此插件自动安装补丁', 'Allow patches for this plugin')))) :
414
- h('div', { className: 'w-stack' }, h('p', { className: 'updates-version' }, target + ': ' + row.version + ' → ' + row.release.version), h('p', null, t('通过 DSH 官方插件管理器安装。需要重启时,由你手动决定时间;停用状态会保留。', 'Install through DSH’s native plugin manager. Choose when to restart if needed; disabled status is preserved.')), h('p', { className: 'w-muted' }, t('来源:npm 官方 registry,网络不可达时回退 npmmirror。安装前再次核对版本与完整性。', 'Source: official npm registry, with npmmirror fallback if unreachable. Version and integrity are checked again before installation.')), (ownPage.dirty || snapshot.pages.dirty) && h(W.Status, null, message('page-dirty')), h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')), h(W.Button, { variant: 'primary', disabled: installLocked || row.loadError, onClick: install }, t('确认安装此版本', 'Install this version')))))
520
+ h('div', { className: 'w-stack' }, h('p', { className: 'updates-version' }, target + ' · ' + row.version + ' → ' + selectedVersion),
521
+ h('p', null, selectedVersion === row.release?.version ? t('Harness 会重新加载此插件。需要重启时,更新区会显示宿主结果。', 'Harness reloads this plugin. If a restart is needed, it appears in the update result.') : message('check-first')),
522
+ h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')),
523
+ h(W.Button, { variant: 'primary', disabled: !canConfirm, onClick: () => runOperation({ action: 'install', name, version: selectedVersion, confirmation: 'update-installed-plugin' }) }, t('安装此版本', 'Install this version')))))
415
524
  );
416
525
  }
417
526
  function NativeFooter({ subject }) {
@@ -444,7 +553,7 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
444
553
  finally { inPoll = false; }
445
554
  }
446
555
  const timer = setInterval(() => { void poll(); }, 15000), first = setTimeout(() => { void poll(); }, 100);
447
- const client = { t, Footer: Panel, Button: W.Button, open(name) { const footer = [...document.querySelectorAll('[data-plugin-update-footer]')].find(node => node.getAttribute('data-plugin-update-footer') === name); if (footer) footer.scrollIntoView({ block: 'end', behavior: 'smooth' }); else { legacyHint = name; notify(); } }, has: name => registered && !!originalRow(name), row: rowFor, dispose() {
556
+ const client = { t, Footer: Panel, Button: W.Button, open(name) { const footer = [...document.querySelectorAll('[data-plugin-update-footer]')].find(node => node.getAttribute('data-plugin-update-footer') === name); if (footer) footer.scrollIntoView({ block: 'end', behavior: 'smooth' }); else { legacyHint = name; notify(); } }, has: name => registered && !!rowFor(name), row: rowFor, dispose() {
448
557
  close(); alive = false; clearTimeout(first); clearInterval(timer); pool.clients.delete(client);
449
558
  pool.listeners.delete(guardChanged); listeners.clear();
450
559
  for (const event of ['pointerdown', 'keydown', 'input']) document.removeEventListener(event, interaction, true);
@@ -458,23 +567,180 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
458
567
  /* STARDUSTLC_UPDATE_CLIENT_BODY_START */
459
568
  // Generated from templates/client.js, templates/panels/ and templates/workbench-ui.js. Edit the sources.
460
569
  (function () {
461
- /* DSH workbench UI v1. MIT. Canonical source: dsh-suite/ui/workbench-ui.js.
462
- * Vendored into each plugin: no Suite or extra runtime dependency is required.
463
- * Styles are scoped to .dshw and never replace the host chrome or theme.
570
+ /* DSH Workbench UI v2 — Unified DeepSeek Harness (>=0.2.2-rc.3) Studio UI & Motion Kit.
571
+ * Integrates @deepseek-ai/dsh-client-ui-primitives lazily at render time with semantic HTML
572
+ * fallbacks for standalone jsdom/VM tests, 5 switchable [data-dsh-style] themes synced via
573
+ * localStorage['dsh-stardust:ui-style'] + 'dsh-stardust-style', soft-slate dark adaptation,
574
+ * tactile press physics, small-button icon micro-animations, and window-drag exclusions.
464
575
  */
465
- function createWorkbenchUI(React) {
576
+ function createWorkbenchUI(React, requireFn) {
466
577
  const h = React.createElement;
467
- const { useEffect, useId, useRef } = React;
578
+ const useIdHook = typeof React.useId === 'function' ? React.useId : () => 'dshw-id';
579
+ const useEffectHook = typeof React.useEffect === 'function' ? React.useEffect : () => {};
580
+ const useRefHook = typeof React.useRef === 'function' ? React.useRef : (initial => ({ current: initial }));
581
+ const useStateHook = typeof React.useState === 'function' ? React.useState : (initial => [typeof initial === 'function' ? initial() : initial, () => {}]);
582
+ const forwardRefWrap = typeof React.forwardRef === 'function' ? React.forwardRef : (fn => props => fn(props, null));
468
583
  const cx = (...values) => values.filter(Boolean).join(' ');
584
+
585
+ const DSH_STYLE_STORAGE_KEY = 'dsh-stardust:ui-style';
586
+ const DSH_STYLE_EVENT = 'dsh-stardust-style';
587
+ const DSH_DEFAULT_STYLE = 'harness';
588
+
589
+ const DSH_STYLES = Object.freeze([
590
+ Object.freeze({ id: 'harness', zh: '原生清透', zhShort: '原生', en: 'Native Airy', enShort: 'Native', swatch: '#4176e6', surface: '#f8fafc' }),
591
+ Object.freeze({ id: 'cream', zh: '米白纸感', zhShort: '米白色', en: 'Warm Cream', enShort: 'Cream', swatch: '#9e5829', surface: '#faf7f0' }),
592
+ Object.freeze({ id: 'claude', zh: 'Claude 暖书卷', zhShort: 'Claude风', en: 'Claude Warmth', enShort: 'Claude', swatch: '#c96442', surface: '#f5f4ed' }),
593
+ Object.freeze({ id: 'pixel8bit', zh: '8-Bit 像素', zhShort: '8-Bit像素', en: 'Bright 8-Bit', enShort: '8-Bit', swatch: '#2e7d5b', surface: '#f4f6e8' }),
594
+ Object.freeze({ id: 'mint', zh: '晴空薄荷', zhShort: '薄荷', en: 'Airy Mint', enShort: 'Mint', swatch: '#0f766e', surface: '#f5fafb' }),
595
+ ]);
596
+
597
+ const VALID_STYLE_IDS = new Set(DSH_STYLES.map(preset => preset.id));
598
+
599
+ function resolveWindow(win) {
600
+ if (win && typeof win === 'object') return win;
601
+ return typeof window !== 'undefined' ? window : null;
602
+ }
603
+
604
+ function normalizeDshStyle(value) {
605
+ const key = typeof value === 'string' ? value.trim() : '';
606
+ return VALID_STYLE_IDS.has(key) ? key : DSH_DEFAULT_STYLE;
607
+ }
608
+
609
+ function getDshStylePreset(value) {
610
+ const id = normalizeDshStyle(value);
611
+ return DSH_STYLES.find(preset => preset.id === id) || DSH_STYLES[0];
612
+ }
613
+
614
+ function readDshStyle(win) {
615
+ const target = resolveWindow(win);
616
+ if (!target) return DSH_DEFAULT_STYLE;
617
+ try {
618
+ const raw = target.localStorage?.getItem(DSH_STYLE_STORAGE_KEY);
619
+ return normalizeDshStyle(raw);
620
+ } catch {
621
+ return DSH_DEFAULT_STYLE;
622
+ }
623
+ }
624
+
625
+ function syncPortaledOverlays(style, doc) {
626
+ const normalized = normalizeDshStyle(style);
627
+ const targetDoc = doc || (typeof document !== 'undefined' ? document : null);
628
+ if (!targetDoc || typeof targetDoc.querySelectorAll !== 'function') return;
629
+ for (const el of targetDoc.querySelectorAll('[data-dsh-portal-synced]')) {
630
+ el.setAttribute('data-dsh-style', normalized);
631
+ if (!el.hasAttribute('data-window-drag-exclude')) {
632
+ el.setAttribute('data-window-drag-exclude', '');
633
+ }
634
+ }
635
+ }
636
+
637
+ function writeDshStyle(nextStyle, win) {
638
+ const normalized = normalizeDshStyle(nextStyle);
639
+ const target = resolveWindow(win);
640
+ if (target) {
641
+ try {
642
+ target.localStorage?.setItem(DSH_STYLE_STORAGE_KEY, normalized);
643
+ } catch {
644
+ // Restricted storage: keep in-memory + custom event sync working.
645
+ }
646
+ syncPortaledOverlays(normalized, target.document);
647
+ if (typeof target.dispatchEvent === 'function') {
648
+ try {
649
+ const CustomEventCtor = target.CustomEvent || (typeof CustomEvent === 'function' ? CustomEvent : null);
650
+ if (CustomEventCtor) {
651
+ target.dispatchEvent(new CustomEventCtor(DSH_STYLE_EVENT, { detail: { style: normalized } }));
652
+ } else if (typeof Event === 'function') {
653
+ const ev = new Event(DSH_STYLE_EVENT);
654
+ ev.detail = { style: normalized };
655
+ target.dispatchEvent(ev);
656
+ }
657
+ } catch {
658
+ // Ignore synthetic event errors in minimal VM environments.
659
+ }
660
+ }
661
+ }
662
+ return normalized;
663
+ }
664
+
665
+ function subscribeDshStyle(onChange, win) {
666
+ const target = resolveWindow(win);
667
+ if (!target || typeof target.addEventListener !== 'function' || typeof onChange !== 'function') {
668
+ return () => {};
669
+ }
670
+ const onCustom = event => {
671
+ const next = normalizeDshStyle(event?.detail?.style ?? readDshStyle(target));
672
+ syncPortaledOverlays(next, target.document);
673
+ onChange(next);
674
+ };
675
+ const onStorage = event => {
676
+ if (event && event.key !== null && event.key !== undefined && event.key !== DSH_STYLE_STORAGE_KEY) {
677
+ return;
678
+ }
679
+ const next = normalizeDshStyle(event?.newValue ?? readDshStyle(target));
680
+ syncPortaledOverlays(next, target.document);
681
+ onChange(next);
682
+ };
683
+ target.addEventListener(DSH_STYLE_EVENT, onCustom);
684
+ target.addEventListener('storage', onStorage);
685
+ return () => {
686
+ target.removeEventListener(DSH_STYLE_EVENT, onCustom);
687
+ target.removeEventListener('storage', onStorage);
688
+ };
689
+ }
690
+
691
+ function useDshStyle(win) {
692
+ if (typeof React.useState !== 'function') {
693
+ return [readDshStyle(win), next => writeDshStyle(next, win)];
694
+ }
695
+ const [style, setStyleState] = React.useState(() => readDshStyle(win));
696
+ if (typeof React.useEffect === 'function') {
697
+ React.useEffect(() => {
698
+ const current = readDshStyle(win);
699
+ setStyleState(prev => (prev === current ? prev : current));
700
+ syncPortaledOverlays(current, resolveWindow(win)?.document);
701
+ return subscribeDshStyle(next => {
702
+ setStyleState(prev => (prev === next ? prev : next));
703
+ }, win);
704
+ }, [win]);
705
+ }
706
+ const setStyle = next => {
707
+ const resolved = typeof next === 'function' ? next(style) : next;
708
+ const applied = writeDshStyle(resolved, win);
709
+ setStyleState(applied);
710
+ return applied;
711
+ };
712
+ return [style, setStyle];
713
+ }
714
+
715
+ function createOverlaySyncRef(style) {
716
+ const normalized = normalizeDshStyle(style);
717
+ return node => {
718
+ if (!node || typeof node.setAttribute !== 'function') return;
719
+ node.setAttribute('data-dsh-style', normalized);
720
+ node.setAttribute('data-window-drag-exclude', '');
721
+ node.setAttribute('data-dsh-portal-synced', 'true');
722
+ if (typeof node.closest === 'function') {
723
+ const overlay = node.closest('[role="dialog"], [role="alertdialog"], [role="menu"], dialog');
724
+ if (overlay) {
725
+ overlay.setAttribute('data-dsh-style', normalized);
726
+ overlay.setAttribute('data-window-drag-exclude', '');
727
+ overlay.setAttribute('data-dsh-portal-synced', 'true');
728
+ }
729
+ }
730
+ };
731
+ }
732
+
469
733
  const paths = {
470
734
  book: ['M4 4h6a3 3 0 0 1 2 2v15a4 4 0 0 0-4-2H4z', 'M20 4h-6a3 3 0 0 0-2 2v15a4 4 0 0 1 4-2h4z'],
471
735
  calendar: ['M5 5h14a2 2 0 0 1 2 2v13H3V7a2 2 0 0 1 2-2Z', 'M7 3v4M17 3v4M3 10h18'],
472
736
  mail: ['M3 5h18v14H3z', 'm3 6 9 7 9-7'],
737
+ inbox: ['M4 13 6 5h12l2 8v6H4z', 'M4 13h5l1 3h4l1-3h5'],
738
+ send: ['m22 2-7 20-4-9-9-4Z', 'M22 2 11 13'],
473
739
  rss: ['M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16', 'M4 19h.01'],
474
740
  slides: ['M3 4h18v13H3z', 'M12 17v4M8 21h8'],
475
741
  shield: ['m12 3 8 3v6c0 4-4 7-8 9-4-2-8-5-8-9V6z', 'm8 12 3 3 5-6'],
476
742
  layers: ['M5 3h16v16H5z', 'M2 7v15h15'],
477
- play: ['m9 6 9 6-9 6Z'],
743
+ play: ['m8 5 11 7-11 7Z'],
478
744
  video: ['M3 5h12v14H3z', 'm15 10 6-4v12l-6-4'],
479
745
  search: ['M10.5 18a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15Z', 'm16 16 5 5'],
480
746
  plus: ['M12 5v14M5 12h14'],
@@ -483,6 +749,7 @@ function createWorkbenchUI(React) {
483
749
  close: ['m6 6 12 12M18 6 6 18'],
484
750
  left: ['m14 5-7 7 7 7'],
485
751
  right: ['m10 5 7 7-7 7'],
752
+ up: ['m5 15 7-7 7 7'],
486
753
  down: ['m5 9 7 7 7-7'],
487
754
  filter: ['M4 5h16M7 12h10M10 19h4'],
488
755
  download: ['M12 3v12m-5-5 5 5 5-5', 'M4 16v5h16v-5'],
@@ -500,25 +767,388 @@ function createWorkbenchUI(React) {
500
767
  star: ['m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9Z'],
501
768
  reply: ['m9 5-7 7 7 7v-5h6c3 0 5 2 6 5 0-8-4-11-12-11Z'],
502
769
  link: ['m10 13 4-4M8 16l-2 2a4 4 0 0 1-6-6l4-4a4 4 0 0 1 6 0', 'm14 8 2-2a4 4 0 0 1 6 6l-4 4a4 4 0 0 1-6 0'],
770
+ lock: ['M5 10h14v11H5z', 'M8 10V7a4 4 0 0 1 8 0v3M12 14v3'],
771
+ clip: ['m8 13 6-6a2.5 2.5 0 0 1 3.5 3.5l-7 7a4 4 0 0 1-5.7-5.7l8-8a5 5 0 0 1 7.1 7.1l-8 8'],
772
+ clock: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z', 'M12 6v6l4 2'],
773
+ image: ['M3 4h18v16H3z', 'm3 17 6-6 5 5 2-2 5 5M16 8h.01'],
774
+ palette: ['M12 3a9 9 0 1 0 0 18h1.5a2.5 2.5 0 0 0 0-5H12a2 2 0 0 1 0-4h4a5 5 0 0 0 5-5c0-2.2-4-4-9-4Z', 'M7.5 10.5h.01M10.5 7.5h.01M14.5 7.5h.01'],
775
+ sparkles: ['m12 3 1.8 4.2L18 9l-4.2 1.8L12 15l-1.8-4.2L6 9l4.2-1.8Z', 'M19 15v4M17 17h4'],
503
776
  };
504
- function Icon({ name = 'file', size = 20, ...props }) {
505
- return h('svg', { width: size, height: size, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 1.75, strokeLinecap: 'round', strokeLinejoin: 'round', 'aria-hidden': true, focusable: false, ...props },
506
- (paths[name] || paths.file).map((d, index) => h('path', { key: index, d })));
777
+
778
+ function Icon({ name = 'file', size = 16, ...props }) {
779
+ return h('svg', {
780
+ width: size,
781
+ height: size,
782
+ viewBox: '0 0 24 24',
783
+ fill: 'none',
784
+ stroke: 'currentColor',
785
+ strokeWidth: 1.7,
786
+ strokeLinecap: 'round',
787
+ strokeLinejoin: 'round',
788
+ 'aria-hidden': 'true',
789
+ focusable: 'false',
790
+ 'data-dsh-icon': name,
791
+ ...props,
792
+ }, (paths[name] || paths.file).map((d, index) => h('path', { key: index, d })));
507
793
  }
508
- function Button({ children, icon, variant, className, ...props }) {
509
- return h('button', { type: 'button', ...props, className: cx('w-button', variant && 'w-' + variant, className) }, icon ? h(Icon, { name: icon, size: 18 }) : null, children);
794
+
795
+ function resolveHostPrimitives(customRequire = requireFn) {
796
+ let host = null;
797
+ if (typeof customRequire === 'function') {
798
+ try {
799
+ host = customRequire('@deepseek-ai/dsh-client-ui-primitives') || null;
800
+ } catch {
801
+ host = null;
802
+ }
803
+ }
804
+
805
+ const FallbackButton = forwardRefWrap(function FallbackButton({ variant = 'ghost', size = 'md', icon, className, children, type = 'button', ...rest }, ref) {
806
+ return h('button', {
807
+ ...(ref ? { ref } : {}),
808
+ type,
809
+ className: cx('dsh-btn', 'dsh-btn-' + variant, 'dsh-btn-' + size, className),
810
+ ...rest,
811
+ }, icon != null ? h('span', { className: 'dsh-fallback-btn-icon' }, icon) : null, children);
812
+ });
813
+
814
+ const FallbackInput = forwardRefWrap(function FallbackInput({ icon, className, ...rest }, ref) {
815
+ return h('span', { className: cx('dsh-fallback-input-wrap', className) },
816
+ icon != null ? h('span', { className: 'dsh-fallback-input-icon' }, icon) : null,
817
+ h('input', ref ? { ...rest, ref } : rest));
818
+ });
819
+
820
+ function FallbackCheckbox({ checked = false, onChange, label, disabled = false, title, className, ...rest }) {
821
+ return h('label', { className, title },
822
+ h('input', {
823
+ type: 'checkbox',
824
+ checked: Boolean(checked),
825
+ disabled,
826
+ onChange: event => onChange?.(Boolean(event?.target?.checked)),
827
+ ...rest,
828
+ }),
829
+ h('span', null, label));
830
+ }
831
+
832
+ function FallbackSwitch({ checked = false, onChange, label, disabled = false, title, className }) {
833
+ return h('button', {
834
+ type: 'button',
835
+ role: 'switch',
836
+ 'aria-checked': Boolean(checked),
837
+ 'aria-label': label,
838
+ title,
839
+ disabled,
840
+ className,
841
+ onClick: () => onChange?.(!checked),
842
+ }, h('span', null));
843
+ }
844
+
845
+ function FallbackSegmentedControl({ id, value, options = [], onChange, label, disabled = false, className }) {
846
+ return h('div', { role: 'tablist', 'aria-label': label, className },
847
+ options.map(opt => {
848
+ const selected = opt.value === value;
849
+ return h('button', {
850
+ key: opt.value,
851
+ id: id ? id + '-' + opt.value : undefined,
852
+ type: 'button',
853
+ role: 'tab',
854
+ 'aria-selected': selected,
855
+ tabIndex: selected ? 0 : -1,
856
+ disabled: disabled || Boolean(opt.disabled),
857
+ onClick: () => {
858
+ if (!disabled && !opt.disabled && opt.value !== value) onChange?.(opt.value);
859
+ },
860
+ }, opt.label);
861
+ }));
862
+ }
863
+
864
+ function renderPortalSyncNode(styleValue) {
865
+ const syncStyle = normalizeDshStyle(styleValue ?? readDshStyle());
866
+ return h('span', {
867
+ key: '__dsh_portal_sync__',
868
+ ref: createOverlaySyncRef(syncStyle),
869
+ hidden: true,
870
+ 'aria-hidden': 'true',
871
+ 'data-dsh-style': syncStyle,
872
+ });
873
+ }
874
+
875
+ function FallbackMenu({ open = false, anchor, items = [], children, selectedId, onSelect, onClose, footer, className, listClassName, dshStyle }) {
876
+ const style = normalizeDshStyle(dshStyle ?? readDshStyle());
877
+ return h('div', { className: cx('dsh-style-fallback-wrap', className) },
878
+ anchor,
879
+ open
880
+ ? h('div', {
881
+ role: 'menu',
882
+ 'data-dsh-style': style,
883
+ 'data-window-drag-exclude': '',
884
+ 'data-dsh-portal-synced': 'true',
885
+ className: cx('dsh-style-fallback-menu', listClassName),
886
+ onKeyDown: event => {
887
+ if (event?.key === 'Escape') {
888
+ event.stopPropagation?.();
889
+ onClose?.();
890
+ }
891
+ },
892
+ },
893
+ items.map(item => h('button', {
894
+ key: item.id,
895
+ type: 'button',
896
+ role: 'menuitemradio',
897
+ 'aria-checked': item.id === selectedId,
898
+ disabled: Boolean(item.disabled),
899
+ className: 'dsh-style-fallback-item',
900
+ onClick: () => {
901
+ if (!item.disabled) {
902
+ onSelect?.(item.id);
903
+ onClose?.();
904
+ }
905
+ },
906
+ }, h('span', null, item.label), item.id === selectedId ? h('span', { 'aria-hidden': 'true' }, '✓') : null)),
907
+ children,
908
+ footer)
909
+ : null);
910
+ }
911
+
912
+ function FallbackModal({ open = true, onClose, title, closeLabel = 'Close', children, footer, className, contentClassName, onKeyDownCapture, headless = false, dshStyle }) {
913
+ if (!open) return null;
914
+ const style = normalizeDshStyle(dshStyle ?? readDshStyle());
915
+ return h('div', {
916
+ className: 'dsh-fallback-modal-root',
917
+ role: 'presentation',
918
+ 'data-dsh-style': style,
919
+ 'data-window-drag-exclude': '',
920
+ 'data-dsh-portal-synced': 'true',
921
+ onKeyDownCapture: event => {
922
+ onKeyDownCapture?.(event);
923
+ if (!event?.defaultPrevented && event?.key === 'Escape') {
924
+ onClose?.();
925
+ }
926
+ },
927
+ },
928
+ h('div', { className: 'dsh-fallback-modal-mask', 'aria-hidden': 'true', onClick: onClose }),
929
+ h('div', {
930
+ role: 'dialog',
931
+ 'aria-modal': 'true',
932
+ 'aria-label': title,
933
+ tabIndex: -1,
934
+ 'data-dsh-style': style,
935
+ 'data-window-drag-exclude': '',
936
+ 'data-dsh-portal-synced': 'true',
937
+ className: cx('dsh-fallback-modal-dialog', className),
938
+ }, headless
939
+ ? children
940
+ : h(React.Fragment || 'div', null,
941
+ h('header', null, h('h2', null, title), h('button', { type: 'button', 'aria-label': closeLabel, onClick: onClose }, '×')),
942
+ h('div', { className: contentClassName }, children),
943
+ footer ? h('footer', null, footer) : null)));
944
+ }
945
+
946
+ const WrappedMenu = host?.Menu
947
+ ? function HostMenuWithStyle({ dshStyle, children, ...menuProps }) {
948
+ if (!menuProps.open) {
949
+ return children !== undefined ? h(host.Menu, menuProps, children) : h(host.Menu, menuProps);
950
+ }
951
+ const syncNode = renderPortalSyncNode(dshStyle);
952
+ return children !== undefined && children !== null
953
+ ? h(host.Menu, menuProps, children, syncNode)
954
+ : h(host.Menu, menuProps, syncNode);
955
+ }
956
+ : FallbackMenu;
957
+
958
+ const WrappedModal = host?.Modal
959
+ ? function HostModalWithStyle({ dshStyle, children, ...modalProps }) {
960
+ if (!modalProps.open) {
961
+ return children !== undefined ? h(host.Modal, modalProps, children) : h(host.Modal, modalProps);
962
+ }
963
+ const syncNode = renderPortalSyncNode(dshStyle);
964
+ return children !== undefined && children !== null
965
+ ? h(host.Modal, modalProps, children, syncNode)
966
+ : h(host.Modal, modalProps, syncNode);
967
+ }
968
+ : FallbackModal;
969
+
970
+ return {
971
+ ...(host || {}),
972
+ isFallback: !host,
973
+ Button: host?.Button || FallbackButton,
974
+ Input: host?.Input || FallbackInput,
975
+ Checkbox: host?.Checkbox || FallbackCheckbox,
976
+ Switch: host?.Switch || FallbackSwitch,
977
+ SegmentedControl: host?.SegmentedControl || FallbackSegmentedControl,
978
+ Menu: WrappedMenu,
979
+ Modal: WrappedModal,
980
+ };
510
981
  }
511
- function IconButton({ label, icon, ...props }) {
512
- return h(Button, { ...props, icon, className: cx('w-icon-button', props.className), 'aria-label': label, title: label });
982
+
983
+ function Button({ children, icon, iconSize = 16, variant = 'outline', size = 'sm', className, ...props }) {
984
+ const P = resolveHostPrimitives();
985
+ const hostVariant = variant === 'danger' ? 'ghost' : (variant || 'outline');
986
+ const iconEl = typeof icon === 'string' ? h(Icon, { name: icon, size: iconSize }) : icon;
987
+ return h(P.Button, {
988
+ variant: hostVariant,
989
+ size,
990
+ ...props,
991
+ 'data-variant': variant || 'outline',
992
+ className: cx('w-button', variant && 'w-' + variant, className),
993
+ icon: iconEl,
994
+ }, children);
513
995
  }
514
- function Page({ title, subtitle, actions, children, workbench = false, className, rootRef, ...props }) {
515
- return h('section', { ...props, ref: rootRef, className: cx('dshw', 'w-page', className), 'data-main': workbench ? 'true' : 'false' },
996
+
997
+ function IconButton({ label, icon, variant = 'ghost', className, ...props }) {
998
+ return h(Button, { ...props, icon, variant, className: cx('w-icon-button', className), 'aria-label': label, title: label });
999
+ }
1000
+
1001
+ const Input = forwardRefWrap(function Input({ icon, className, inputRef, ...props }, ref) {
1002
+ const P = resolveHostPrimitives();
1003
+ const iconEl = typeof icon === 'string' ? h(Icon, { name: icon, size: 16 }) : icon;
1004
+ const targetRef = inputRef || ref;
1005
+ return h(P.Input, {
1006
+ ...props,
1007
+ ...(targetRef ? { ref: targetRef } : {}),
1008
+ icon: iconEl,
1009
+ className: cx('w-input', className),
1010
+ });
1011
+ });
1012
+
1013
+ function Checkbox({ checked = false, onChange, label, hiddenLabel = false, disabled = false, title, className, ...props }) {
1014
+ const P = resolveHostPrimitives();
1015
+ return h(P.Checkbox, {
1016
+ ...props,
1017
+ checked: Boolean(checked),
1018
+ disabled,
1019
+ title,
1020
+ label,
1021
+ className: cx('w-checkbox', hiddenLabel && 'w-checkbox-icon', className),
1022
+ onChange: value => {
1023
+ const next = typeof value === 'boolean' ? value : Boolean(value?.target?.checked);
1024
+ onChange?.(next);
1025
+ },
1026
+ });
1027
+ }
1028
+
1029
+ function ChoiceMenu({ label, id, value, items = [], onChange, disabled, children, className, align = 'start' }) {
1030
+ const [open, setOpen] = useStateHook(false);
1031
+ const [style] = useDshStyle();
1032
+ const P = resolveHostPrimitives();
1033
+ const selected = items.find(item => item.id === value);
1034
+ return h(P.Menu, {
1035
+ open: Boolean(open && !disabled),
1036
+ selectedId: value,
1037
+ dshStyle: style,
1038
+ items,
1039
+ align,
1040
+ portal: !P.isFallback,
1041
+ autoFocus: true,
1042
+ minWidthFromAnchor: true,
1043
+ className: cx('w-menu', className),
1044
+ onClose: () => setOpen(false),
1045
+ onSelect: next => {
1046
+ setOpen(false);
1047
+ if (next !== value) onChange?.(next);
1048
+ },
1049
+ anchor: h(Button, {
1050
+ id,
1051
+ variant: 'outline',
1052
+ className: 'w-menu-button',
1053
+ disabled: Boolean(disabled || items.length === 0),
1054
+ 'aria-label': label,
1055
+ 'aria-haspopup': 'menu',
1056
+ 'aria-expanded': Boolean(open && !disabled),
1057
+ onClick: () => setOpen(prev => !prev),
1058
+ onKeyDown: event => {
1059
+ if (!open && (event.key === 'ArrowDown' || event.key === 'ArrowUp')) {
1060
+ event.preventDefault?.();
1061
+ setOpen(true);
1062
+ }
1063
+ },
1064
+ }, h('span', { className: 'w-menu-value' }, children ?? selected?.label ?? label), h(Icon, { name: 'down', size: 14 })),
1065
+ });
1066
+ }
1067
+
1068
+ function StyleSwitcher({ style: controlledStyle, onChange, lang = 'zh', id = 'dsh-style-switcher', compact = true, disabled = false, align = 'end', className } = {}) {
1069
+ const [syncedStyle, setSyncedStyle] = useDshStyle();
1070
+ const activeStyle = normalizeDshStyle(controlledStyle ?? syncedStyle);
1071
+ const [open, setOpen] = useStateHook(false);
1072
+ const isZh = String(lang || '').toLowerCase().startsWith('zh');
1073
+ const preset = getDshStylePreset(activeStyle);
1074
+ const P = resolveHostPrimitives();
1075
+ const triggerLabel = isZh ? '界面风格:' + preset.zh : 'UI style: ' + preset.en;
1076
+ const visibleText = compact ? (isZh ? preset.zhShort : preset.enShort) : (isZh ? preset.zh : preset.en);
1077
+ const items = DSH_STYLES.map(option => ({
1078
+ id: option.id,
1079
+ label: isZh ? option.zh + ' (' + option.enShort + ')' : option.en,
1080
+ }));
1081
+ const selectStyle = nextId => {
1082
+ const applied = writeDshStyle(nextId);
1083
+ setSyncedStyle(applied);
1084
+ onChange?.(applied);
1085
+ setOpen(false);
1086
+ };
1087
+ return h('div', {
1088
+ className: cx('dsh-style-switcher', className),
1089
+ 'data-window-drag-exclude': '',
1090
+ }, h(P.Menu, {
1091
+ open: Boolean(open && !disabled),
1092
+ selectedId: activeStyle,
1093
+ dshStyle: activeStyle,
1094
+ items,
1095
+ align,
1096
+ portal: !P.isFallback,
1097
+ autoFocus: true,
1098
+ minWidthFromAnchor: true,
1099
+ onClose: () => setOpen(false),
1100
+ onSelect: selectStyle,
1101
+ anchor: h(P.Button, {
1102
+ id,
1103
+ variant: 'outline',
1104
+ size: 'sm',
1105
+ disabled,
1106
+ className: 'dsh-style-trigger',
1107
+ 'aria-label': triggerLabel,
1108
+ 'aria-haspopup': 'menu',
1109
+ 'aria-expanded': Boolean(open && !disabled),
1110
+ title: triggerLabel,
1111
+ onClick: () => setOpen(prev => !prev),
1112
+ onKeyDown: event => {
1113
+ if (!open && (event.key === 'ArrowDown' || event.key === 'ArrowUp')) {
1114
+ event.preventDefault?.();
1115
+ setOpen(true);
1116
+ }
1117
+ },
1118
+ },
1119
+ h('span', { className: 'dsh-style-swatch', 'aria-hidden': 'true', style: { '--dsh-swatch-color': preset.swatch } }),
1120
+ h('span', { className: 'dsh-style-label' }, visibleText),
1121
+ h(Icon, { name: 'down', size: 14 })),
1122
+ }));
1123
+ }
1124
+
1125
+ function Page({ title, subtitle, icon, navigation, actions, children, workbench = false, lang = 'zh', showStyleSwitcher = true, className, rootRef, ...props }) {
1126
+ const [style, setStyle] = useDshStyle();
1127
+ return h('section', {
1128
+ ...props,
1129
+ ref: rootRef,
1130
+ 'data-dsh-style': style,
1131
+ 'data-main': workbench ? 'true' : 'false',
1132
+ className: cx('dshw', 'w-page', !workbench && 'w-embedded', className),
1133
+ },
516
1134
  h(Styles, { key: 'styles' }),
517
- h('header', { className: 'w-page-header' }, h('div', { className: 'w-heading' }, h('h1', null, title), subtitle ? h('p', { className: 'w-subtitle' }, subtitle) : null), actions ? h('div', { className: 'w-header-actions' }, actions) : null),
1135
+ h('header', { className: 'w-page-header' },
1136
+ h('div', { className: 'w-heading' },
1137
+ h('h1', { className: 'w-title' },
1138
+ icon ? h('span', { className: 'w-brand' }, h(Icon, { name: icon, size: 17 })) : null,
1139
+ h('span', null, title)),
1140
+ subtitle ? h('p', { className: 'w-subtitle' }, subtitle) : null),
1141
+ navigation || null,
1142
+ (actions || showStyleSwitcher)
1143
+ ? h('div', { className: 'w-header-actions', 'data-window-drag-exclude': '' },
1144
+ showStyleSwitcher ? h(StyleSwitcher, { style, onChange: setStyle, lang, compact: true }) : null,
1145
+ actions)
1146
+ : null),
518
1147
  h('div', { className: 'w-body' }, children));
519
1148
  }
1149
+
520
1150
  function Tabs({ items, value, onChange, label, children }) {
521
- const id = useId();
1151
+ const id = useIdHook();
522
1152
  const active = items.some(item => item.id === value) ? value : items[0]?.id;
523
1153
  function keys(event, index) {
524
1154
  if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key)) return;
@@ -529,21 +1159,42 @@ function createWorkbenchUI(React) {
529
1159
  }
530
1160
  return h('div', { className: 'w-tabs-layout' },
531
1161
  h('div', { className: 'w-tabs', role: 'tablist', 'aria-label': label }, items.map((item, index) => h('button', {
532
- type: 'button', role: 'tab', key: item.id, id: id + '-' + item.id, 'aria-controls': id + '-panel', 'aria-selected': active === item.id, tabIndex: active === item.id ? 0 : -1,
533
- onClick: () => onChange(item.id), onKeyDown: event => keys(event, index),
534
- }, item.label, item.count !== undefined ? h('span', { className: 'w-count' }, item.count) : null))),
1162
+ type: 'button',
1163
+ role: 'tab',
1164
+ key: item.id,
1165
+ className: 'w-tab',
1166
+ id: id + '-' + item.id,
1167
+ 'aria-selected': active === item.id,
1168
+ tabIndex: active === item.id ? 0 : -1,
1169
+ onClick: () => onChange(item.id),
1170
+ onKeyDown: event => keys(event, index),
1171
+ }, item.icon ? h(Icon, { name: item.icon, size: 15 }) : null, item.label, item.count !== undefined ? h('span', { className: 'w-count' }, item.count) : null))),
535
1172
  h('div', { className: 'w-tab-panel', id: id + '-panel', role: 'tabpanel', 'aria-labelledby': id + '-' + active }, children));
536
1173
  }
1174
+
537
1175
  function Status({ children, tone = 'info', className }) {
538
1176
  if (!children) return null;
539
- return h('div', { className: cx('dshw', 'w-status', 'w-status-' + tone, className), role: tone === 'error' ? 'alert' : 'status', 'aria-live': tone === 'error' ? 'assertive' : 'polite' }, h(Icon, { name: tone === 'success' ? 'check' : 'info', size: 18 }), h('div', null, children));
1177
+ return h('div', {
1178
+ className: cx('dshw', 'w-status', 'w-status-' + tone, className),
1179
+ 'data-tone': tone,
1180
+ role: tone === 'error' ? 'alert' : 'status',
1181
+ 'aria-live': tone === 'error' ? 'assertive' : 'polite',
1182
+ }, h(Icon, { name: tone === 'success' ? 'check' : 'info', size: 16 }), h('div', { className: 'w-status-text' }, children));
540
1183
  }
1184
+
541
1185
  function Empty({ title, children, action, icon = 'file' }) {
542
- return h('div', { className: 'dshw w-empty' }, h(Styles, { key: 'styles' }), h(Icon, { name: icon, size: 32 }), h('h2', null, title), children ? h('div', { className: 'w-muted' }, children) : null, action ? h('div', { className: 'w-toolbar' }, action) : null);
1186
+ const [style] = useDshStyle();
1187
+ return h('div', { className: 'dshw w-empty', 'data-dsh-style': style },
1188
+ h(Styles, { key: 'styles' }),
1189
+ h('span', { className: 'w-empty-icon' }, h(Icon, { name: icon, size: 24 })),
1190
+ h('h2', null, title),
1191
+ children ? h('div', { className: 'w-muted' }, children) : null,
1192
+ action ? h('div', { className: 'w-toolbar' }, action) : null);
543
1193
  }
1194
+
544
1195
  function Split({ list, detail, selected, onBack, backLabel, className, listWidth = 360 }) {
545
- const ref = useRef(null);
546
- useEffect(() => {
1196
+ const ref = useRefHook(null);
1197
+ useEffectHook(() => {
547
1198
  if (!selected || !ref.current || ref.current.clientWidth > 760) return;
548
1199
  const heading = ref.current.querySelector('.w-detail h2');
549
1200
  if (heading) { heading.tabIndex = -1; heading.focus({ preventScroll: true }); }
@@ -552,86 +1203,1230 @@ function createWorkbenchUI(React) {
552
1203
  h('div', { className: 'w-master' }, list),
553
1204
  h('div', { className: 'w-detail' }, selected ? h(Button, { className: 'w-back', icon: 'left', variant: 'ghost', onClick: onBack }, backLabel) : null, detail));
554
1205
  }
1206
+
555
1207
  function Row({ title, meta, description, active, onClick, children, status, className, disabled }) {
556
- return h('div', { className: cx('w-row', active && 'w-selected', className) },
1208
+ return h('div', {
1209
+ className: cx('w-row', 'dsh-row', active && 'w-selected', className),
1210
+ 'data-dsh-row': '',
1211
+ 'data-selected': active ? 'true' : 'false',
1212
+ },
557
1213
  children ? h('div', { className: 'w-row-select' }, children) : null,
558
1214
  h('button', { type: 'button', className: 'w-row-button', onClick, disabled, 'aria-pressed': !!active },
559
1215
  h('span', { className: 'w-row-head' }, h('strong', null, title), status ? h('span', { className: 'w-tag' }, status) : null),
560
1216
  meta ? h('span', { className: 'w-row-meta' }, meta) : null,
561
1217
  description ? h('span', { className: 'w-row-description' }, description) : null));
562
1218
  }
1219
+
563
1220
  function Search({ label, value, onChange, ...props }) {
564
- const id = useId();
565
- return h('div', { className: 'w-search' }, h(Icon, { name: 'search', size: 18 }), h('input', { type: 'search', id, 'aria-label': label, placeholder: label, value, onChange, ...props }));
1221
+ const id = useIdHook();
1222
+ return h(Input, { type: 'search', id, icon: 'search', 'aria-label': label, placeholder: label, value, onChange, className: 'w-search', ...props });
566
1223
  }
567
- function Switch({ label, checked, onChange, disabled }) {
568
- return h('label', { className: 'w-switch-label' }, h('span', null, label), h('input', { type: 'checkbox', role: 'switch', checked, disabled, onChange, 'aria-label': label }), h('span', { className: 'w-switch-track', 'aria-hidden': true }));
1224
+
1225
+ function Switch({ label, checked, onChange, disabled, className }) {
1226
+ const P = resolveHostPrimitives();
1227
+ return h('div', { className: cx('w-switch-row', className) },
1228
+ label ? h('span', { className: 'w-switch-text' }, label) : null,
1229
+ h(P.Switch, {
1230
+ checked: Boolean(checked),
1231
+ disabled,
1232
+ label,
1233
+ className: 'w-switch',
1234
+ onChange: next => onChange?.(typeof next === 'boolean' ? next : Boolean(next?.target?.checked)),
1235
+ }));
569
1236
  }
570
- function Dialog({ title, children, onClose, closeLabel, className, busy = false }) {
571
- const id = useId(), panel = useRef(null);
572
- useEffect(() => {
573
- const previous = document.activeElement;
574
- panel.current?.querySelector('button:not(:disabled), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex="0"]')?.focus();
575
- return () => { if (previous?.isConnected) previous.focus({ preventScroll: true }); };
576
- }, []);
577
- function keydown(event) {
578
- if (event.key === 'Escape' && !event.isComposing) { event.preventDefault(); event.stopPropagation(); if (!busy) onClose(); return; }
579
- if (event.key !== 'Tab') return;
580
- const controls = [...panel.current.querySelectorAll('button:not(:disabled), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), a[href], [tabindex="0"]')].filter(node => node.getClientRects().length);
581
- const first = controls[0], last = controls.at(-1);
582
- if (!controls.length) { event.preventDefault(); panel.current.focus(); }
583
- else if (event.shiftKey && document.activeElement === first) { event.preventDefault(); last.focus(); }
584
- else if (!event.shiftKey && document.activeElement === last) { event.preventDefault(); first.focus(); }
585
- }
586
- return h('div', { className: 'dshw w-overlay', onClick: event => { if (!busy && event.target === event.currentTarget) onClose(); } },
587
- h(Styles, { key: 'styles' }),
588
- h('section', { ref: panel, className: cx('w-dialog', className), role: 'dialog', 'aria-modal': true, 'aria-labelledby': id, tabIndex: -1, onKeyDown: keydown },
589
- h('header', { className: 'w-dialog-header' }, h('h2', { id }, title), h(IconButton, { icon: 'close', label: closeLabel, disabled: busy, onClick: onClose })), h('div', { className: 'w-dialog-body' }, children)));
1237
+
1238
+ function Dialog({ title, children, onClose, closeLabel, className, busy = false, footer, tone }) {
1239
+ const [style] = useDshStyle();
1240
+ const id = useIdHook();
1241
+ const P = resolveHostPrimitives();
1242
+ const close = () => { if (!busy) onClose?.(); };
1243
+ return h(P.Modal, {
1244
+ open: true,
1245
+ headless: true,
1246
+ dshStyle: style,
1247
+ title,
1248
+ onClose: close,
1249
+ backdropBlur: false,
1250
+ className: cx('dshw', 'w-dialog-modal', className),
1251
+ },
1252
+ h('div', {
1253
+ ref: createOverlaySyncRef(style),
1254
+ className: cx('dshw', 'w-dialog', className),
1255
+ 'data-dsh-style': style,
1256
+ 'data-window-drag-exclude': '',
1257
+ 'aria-labelledby': id,
1258
+ },
1259
+ h(Styles, { key: 'styles' }),
1260
+ h('header', { className: 'w-dialog-header' },
1261
+ h('h2', { id, 'data-tone': tone }, title),
1262
+ h(IconButton, { icon: 'close', label: closeLabel, disabled: busy, onClick: close })),
1263
+ h('div', { className: 'w-dialog-body', 'aria-busy': busy || undefined }, children),
1264
+ footer ? h('footer', { className: 'w-dialog-footer' }, footer) : null));
590
1265
  }
1266
+
591
1267
  function register(ctx, { id, label, icon, component, inject, order = 50 }) {
592
- // The two slots are optional. Existing settings and manual tools still load
593
- // in hosts without a workbench, while RC.3 owns navigation/pinning itself.
594
1268
  ctx.slots.inject('main', () => ctx.slots.register({ name: 'main', key: id, inject: () => ({ ...(inject?.() || {}), workbench: true }) }, component));
595
1269
  ctx.slots.inject('sidebar.panellist', () => ctx.slots.register({ name: 'sidebar.panellist', id, order, label }, function WorkbenchIcon({ size }) { return h(Icon, { name: icon, size }); }));
596
1270
  }
1271
+
597
1272
  const styles = `
598
- .dshw{--w-bg:var(--dsw-alias-bg-layer-1,#fff);--w-soft:var(--dsw-alias-bg-layer-2,#f7f8fa);--w-text:var(--dsw-alias-label-primary,#18202c);--w-muted:var(--dsw-alias-label-secondary,#667085);--w-border:var(--dsw-alias-border-l3,#e7e9ef);--w-accent:var(--dsh-plugin-workbench-accent,#4f6bdb);--w-selected:color-mix(in srgb,var(--w-accent) 10%,var(--w-bg));--w-primary:var(--w-text);--w-on-primary:var(--w-bg);container-type:inline-size;container-name:dsh-workbench;color:var(--w-text);font:14px/1.65 var(--dsh-font-family-content,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif);min-width:0;max-width:100%;box-sizing:border-box;text-align:start;color-scheme:inherit}
599
- .dshw *,.dshw *:before,.dshw *:after{box-sizing:border-box}.dshw h1,.dshw h2,.dshw h3,.dshw h4,.dshw p{margin:0}.dshw h1{font-size:30px;line-height:1.25;letter-spacing:-.025em;font-weight:650}.dshw h2{font-size:24px;line-height:1.35;font-weight:650;letter-spacing:-.015em;overflow-wrap:anywhere}.dshw h3,.dshw h4{font-size:16px;line-height:1.4;font-weight:600}.dshw a{color:var(--w-accent);text-underline-offset:3px;overflow-wrap:anywhere}.dshw button,.dshw input,.dshw select,.dshw textarea{font:inherit;color:inherit;max-width:100%}.dshw input:not([type=checkbox]):not([type=radio]):not([type=file]),.dshw select,.dshw textarea{background:var(--dsw-specific-input-major,var(--w-bg));border:1px solid var(--w-border);border-radius:8px;padding:8px 11px;min-width:0;line-height:1.5}.dshw input:not([type=checkbox]):not([type=radio]):not([type=file]),.dshw select{min-height:38px}.dshw textarea{resize:vertical}.dshw input[type=checkbox],.dshw input[type=radio]{width:16px;height:16px;flex-shrink:0;accent-color:var(--w-accent)}.dshw :focus-visible{outline:2px solid var(--w-accent);outline-offset:3px}.dshw button:disabled,.dshw input:disabled,.dshw select:disabled,.dshw textarea:disabled{opacity:.5;cursor:not-allowed}.dshw label{font-size:13px}.dshw fieldset{min-width:0;border:1px solid var(--w-border);border-radius:8px}.dshw summary{cursor:pointer;font-weight:550;list-style:none;display:flex;align-items:center;gap:8px}.dshw summary::-webkit-details-marker{display:none}.dshw summary:after{content:'';display:block;margin-inline-start:auto;width:7px;height:7px;border-inline-end:1.75px solid currentColor;border-bottom:1.75px solid currentColor;transform:rotate(45deg);flex-shrink:0}.dshw details[open]>summary:after{transform:rotate(225deg)}.dshw details>summary+*{margin-top:12px}.dshw pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;max-width:100%;background:var(--w-soft);border-radius:6px;padding:14px}.dshw img,.dshw video,.dshw iframe{max-width:100%}
600
- .w-page{display:flex;flex-direction:column;position:relative;padding:0;min-height:540px;gap:0}.w-page[data-main=true]{height:100%;min-height:0;padding:calc(24px + var(--dsh-frame-top-clearance,0px)) 28px 0 max(28px,var(--dsh-frame-leading-clearance,0px));overflow:auto}.dshw[data-main=true]{background:var(--w-bg)}.dshw.w-page,.dshw .w-body,.dshw .w-tab-panel{overflow-x:clip}.w-page-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding-bottom:22px;flex-shrink:0}.w-heading{min-width:0}.w-subtitle{margin-top:8px!important;font-size:14px;color:var(--w-muted);line-height:1.6}.w-header-actions,.w-toolbar,.w-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.w-header-actions{justify-content:flex-end}.w-body,.w-tabs-layout{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.w-body{overflow:auto}.w-tab-panel{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto}.w-tabs{display:flex;align-items:stretch;gap:20px;border-bottom:1px solid var(--w-border);flex-shrink:0;overflow-x:auto;scrollbar-width:thin}.dshw .w-tabs>button{border:0;border-bottom:2px solid transparent;background:transparent;padding:11px 8px 13px;white-space:nowrap;font-size:14px;font-weight:550;cursor:pointer;color:var(--w-muted);display:flex;align-items:center;gap:7px}.dshw .w-tabs>button[aria-selected=true]{border-bottom-color:var(--w-accent);color:var(--w-accent)}.w-count,.w-tag{font-size:12px;line-height:1.5;display:inline-flex;align-items:center;flex-shrink:0;background:var(--w-soft);border-radius:5px;padding:1px 6px;color:var(--w-muted)}.w-tabs [aria-selected=true] .w-count,.w-selected .w-tag{color:var(--w-accent);background:var(--w-selected)}
601
- .dshw .w-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;background:var(--w-bg);border:1px solid var(--w-border);border-radius:8px;padding:8px 12px;min-height:36px;line-height:1.4;font-size:14px;font-weight:500;cursor:pointer;text-decoration:none;white-space:normal}.dshw .w-button:not(:disabled):hover{background:var(--w-soft)}.dshw .w-primary{background:var(--w-primary);border-color:var(--w-primary);color:var(--w-on-primary)}.dshw .w-primary:not(:disabled):hover{background:var(--w-primary);opacity:.9}.dshw .w-ghost{background:transparent;border-color:transparent}.dshw .w-danger{color:var(--dsw-alias-state-error-primary,#b43c3c)}.dshw .w-icon-button{width:36px;min-width:36px;padding:8px}.dshw .w-button svg{flex-shrink:0}.w-muted{color:var(--w-muted);font-size:12px;line-height:1.6}.w-section{padding:24px 0;border-bottom:1px solid var(--w-border);min-width:0}.w-section>h3{margin-bottom:12px}.w-section>p+p{margin-top:8px}.w-fields{display:grid;gap:16px;min-width:0}.w-field{display:grid;gap:6px;min-width:0}.w-field>input,.w-field>select,.w-field>textarea{width:100%}.w-status{display:flex;align-items:flex-start;gap:8px;padding:11px 13px;margin:12px 0;border:1px solid var(--w-border);border-radius:8px;background:var(--w-soft);font-size:13px;overflow-wrap:anywhere;flex-shrink:0}.w-status>svg{flex-shrink:0;margin-top:2px}.w-status-error{color:var(--dsw-alias-state-error-primary,#ad3636)}.w-status-success{color:var(--dsw-alias-state-success-primary,#24794a)}.w-status-warn{color:var(--dsw-alias-state-warning-primary,#8a5a00)}.w-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;width:100%;max-width:580px;padding:48px 24px;margin:auto;min-height:280px;overflow-wrap:anywhere}.w-empty>svg{color:var(--w-muted)}.w-empty h2{font-size:20px}.w-empty .w-muted{font-size:14px}.w-empty .w-toolbar{justify-content:center}
602
- .w-split{display:grid;grid-template-columns:minmax(240px,var(--w-list-width)) minmax(0,1fr);min-height:460px;flex:1;min-width:0}.w-master{min-width:0;border-inline-end:1px solid var(--w-border);overflow:auto;padding-bottom:24px}.w-detail{min-width:0;padding:26px 28px;overflow:auto;overflow-wrap:anywhere;display:flex;flex-direction:column}.w-master-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:20px 16px}.w-search{display:flex;align-items:center;gap:8px;border:1px solid var(--w-border);border-radius:8px;padding:0 10px;min-width:0;flex:1;background:var(--w-bg)}.w-search>svg{color:var(--w-muted);flex-shrink:0}.dshw .w-search>input{border:0!important;background:transparent!important;padding:8px 0!important;width:100%;outline-offset:0}.w-row{display:flex;gap:0;min-width:0;position:relative;border-bottom:1px solid var(--w-border);border-inline-start:3px solid transparent}.w-row-select{display:flex;align-items:flex-start;padding:21px 0 0 14px}.dshw .w-row-button{display:flex;flex-direction:column;align-items:stretch;gap:7px;text-align:start;width:100%;padding:18px 18px 18px 16px;border:0;background:transparent;color:inherit;min-width:0;cursor:pointer;line-height:1.5}.dshw .w-row-button:hover{background:var(--w-soft)}.w-row-head{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;min-width:0}.w-row-head>strong{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.w-row-meta,.w-row-description{color:var(--w-muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.w-row-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.w-selected{background:var(--w-selected);border-inline-start-color:var(--w-accent)}.w-back{display:none!important}.w-detail-title{margin-bottom:12px!important}.w-detail-meta{color:var(--w-muted);font-size:13px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.w-detail-footer{padding:24px 0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto;border-top:1px solid var(--w-border)}.w-detail-footer .w-muted{flex:1;min-width:160px}.w-definition{display:grid;grid-template-columns:minmax(80px,120px) minmax(0,1fr);gap:8px 16px;font-size:14px;margin:20px 0}.w-definition dt{color:var(--w-muted)}.w-definition dd{margin:0;min-width:0;overflow-wrap:anywhere}
603
- .w-switch-label{display:inline-flex;align-items:center;gap:8px;font-size:13px;position:relative;cursor:pointer}.w-switch-label>input{position:absolute;opacity:0;inset-inline-end:0;width:36px!important;height:22px!important;margin:0;cursor:pointer}.w-switch-track{width:36px;height:22px;border-radius:12px;display:block;background:var(--w-border);border:1px solid var(--w-border);pointer-events:none;padding:2px;transition:background .15s}.w-switch-track:before{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .15s}.w-switch-label>input:checked+.w-switch-track{background:var(--w-accent);border-color:var(--w-accent)}.w-switch-label>input:checked+.w-switch-track:before{transform:translateX(14px)}.w-switch-label>input:focus-visible+.w-switch-track{outline:2px solid var(--w-accent);outline-offset:3px}.w-switch-label:has(>input:disabled){opacity:.5;cursor:not-allowed}
604
- .w-overlay{position:fixed;inset:0;background:#0005;display:flex;justify-content:flex-end;z-index:1000;padding:12px;overflow:auto}.w-dialog{width:min(620px,100%);max-height:100%;display:flex;flex-direction:column;min-height:0;background:var(--w-bg);color:var(--w-text);border:1px solid var(--w-border);border-radius:12px;box-shadow:0 18px 70px #0003}.w-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid var(--w-border);flex-shrink:0}.w-dialog-header>h2{font-size:20px}.w-dialog-body{overflow:auto;padding:20px 24px;min-height:0}.w-editor-grid{display:grid;grid-template-columns:210px minmax(0,1fr) 300px;min-height:500px;flex:1}.w-editor-list{padding:20px 12px;border-inline-end:1px solid var(--w-border);min-width:0}.w-editor-canvas{background:var(--w-soft);padding:20px;min-width:0;display:flex;flex-direction:column;gap:14px}.w-editor-inspector{padding:24px;border-inline-start:1px solid var(--w-border);min-width:0;overflow:auto}.w-editor-inspector h3{margin-bottom:18px}.w-preview-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;aspect-ratio:16/9;min-height:180px;background:var(--w-soft);border:1px solid var(--w-border);border-radius:8px;padding:24px;color:var(--w-muted)}.w-content-pad{padding:24px 0}.w-stack{display:flex;flex-direction:column;gap:16px;min-width:0}.w-scroll-x{overflow:auto;max-width:100%}
605
- @container dsh-workbench (max-width:1000px){.w-editor-grid{grid-template-columns:160px minmax(0,1fr)}.w-editor-inspector{grid-column:1/-1;border-inline-start:0;border-top:1px solid var(--w-border)}.w-header-actions{max-width:60%}.w-split{grid-template-columns:minmax(240px,32%) minmax(0,1fr)}}
606
- @container dsh-workbench (max-width:760px){.w-page-header{gap:14px;flex-wrap:wrap;padding-bottom:18px}.w-heading{flex:1;min-width:170px}.dshw h1{font-size:24px}.w-header-actions{max-width:100%;justify-content:flex-start}.w-subtitle{font-size:13px}.w-tabs{gap:12px}.dshw .w-tabs>button{padding:10px 4px 12px}.w-split{display:block;min-height:360px}.w-split[data-selected=false]>.w-detail{display:none}.w-split[data-selected=true]>.w-master{display:none}.w-master{border-inline-end:0}.w-detail{padding:20px 0}.w-back{display:inline-flex!important;align-self:flex-start;margin:0 0 16px!important}.w-detail h2{font-size:22px}.w-master-toolbar{padding:16px 0}.dshw .w-row-button{padding:16px 10px}.w-detail-footer{position:static}.w-detail-footer .w-muted{flex-basis:100%}.w-editor-grid{display:flex;flex-direction:column}.w-editor-list{border-inline-end:0;border-bottom:1px solid var(--w-border);padding:16px 0}.w-editor-canvas{padding:16px 0;background:var(--w-bg)}.w-editor-inspector{padding:20px 0}.w-dialog-header,.w-dialog-body{padding:16px}.w-button{min-height:40px}.w-definition{grid-template-columns:80px minmax(0,1fr)}}
607
- @media(max-width:700px){.w-page[data-main=true]{padding:calc(16px + var(--dsh-frame-top-clearance,0px)) 16px 0 max(16px,var(--dsh-frame-leading-clearance,0px))}.w-overlay{padding:8px}.w-dialog{width:100%}}
608
- @media(prefers-reduced-motion:reduce){.dshw *,.dshw *:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
1273
+ /* ==========================================================================
1274
+ * DeepSeek Harness (>=0.2.2-rc.3) Unified Themes, Motion & Workbench UI v2
1275
+ * ========================================================================== */
1276
+ :where([data-dsh-style]),
1277
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):has([data-dsh-style]) {
1278
+ --dsh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
1279
+ --dsh-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
1280
+ --dsh-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
1281
+ --dsh-motion-fast: 140ms;
1282
+ --dsh-motion-base: 200ms;
1283
+ --dsh-motion-dialog: 220ms;
1284
+ --dsh-control-border-width: 0.5px;
1285
+ --dsh-button-shadow: none;
1286
+ --dsh-button-hover-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
1287
+ --dsh-card-hover-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
1288
+ }
1289
+
1290
+ @supports (transition-timing-function: linear(0, 1)) {
1291
+ :where([data-dsh-style]),
1292
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):has([data-dsh-style]) {
1293
+ --dsh-ease-spring: linear(
1294
+ 0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%,
1295
+ 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%,
1296
+ 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1
1297
+ );
1298
+ }
1299
+ }
1300
+
1301
+ [data-window-drag-exclude] {
1302
+ -webkit-app-region: no-drag;
1303
+ }
1304
+
1305
+ /* 1. Preset: harness (Native Airy + Soft Breathable Slate Dark Mode) */
1306
+ :where(body:not([data-ds-dark-theme])) [data-dsh-style="harness"],
1307
+ :where(body:not([data-ds-dark-theme])) :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):has([data-dsh-style="harness"]) {
1308
+ color-scheme: light;
1309
+ accent-color: var(--dsw-alias-state-business-primary, #4176e6);
1310
+ }
1311
+
1312
+ :root:not([data-dsh-host-tokens]) [data-dsh-style="harness"] {
1313
+ --dsw-radius-xs: 6px;
1314
+ --dsw-radius-sm: 8px;
1315
+ --dsw-radius-md: 12px;
1316
+ --dsw-radius-lg: 16px;
1317
+ --dsw-radius-xl: 20px;
1318
+ }
1319
+
1320
+ body:not([data-ds-dark-theme]) [data-dsh-style="harness"] {
1321
+ --dsh-surface-spotlight: rgba(65, 118, 230, 0.06);
1322
+ }
1323
+
1324
+ /* NEVER TOO DARK: Soft breathable slate when host dark mode is active in harness mode */
1325
+ body[data-ds-dark-theme] [data-dsh-style="harness"],
1326
+ body[data-ds-dark-theme] :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="harness"], :has([data-dsh-style="harness"])) {
1327
+ color-scheme: dark;
1328
+ accent-color: #7aaaff;
1329
+ --dsw-alias-bg-base: #1f232b;
1330
+ --dsw-alias-bg-layer-1: #272c36;
1331
+ --dsw-alias-bg-layer-2: #2f3542;
1332
+ --dsw-alias-bg-layer-3: #373e4d;
1333
+ --dsw-alias-bg-overlay: #2a303c;
1334
+ --dsw-alias-bg-document-preview: #1f232b;
1335
+ --dsw-alias-bg-module-platform: #2c323e;
1336
+ --dsw-alias-settings-card-fill: #262b35;
1337
+ --dsw-alias-settings-card-stroke: rgba(226, 232, 240, 0.12);
1338
+ --dsw-specific-menu: rgba(39, 44, 54, 0.96);
1339
+ --dsw-alias-border-l1: rgba(226, 232, 240, 0.09);
1340
+ --dsw-alias-border-l2: rgba(226, 232, 240, 0.15);
1341
+ --dsw-alias-border-l3: rgba(226, 232, 240, 0.22);
1342
+ --dsw-alias-border-l4: rgba(226, 232, 240, 0.28);
1343
+ --dsw-alias-label-primary: #eef2f7;
1344
+ --dsw-alias-label-secondary: #b6c0cf;
1345
+ --dsw-alias-label-tertiary: #8d98ab;
1346
+ --dsw-alias-label-dimmed: #737e91;
1347
+ --dsw-alias-brand-primary: #7aaaff;
1348
+ --dsw-alias-brand-text: #eef2f7;
1349
+ --dsw-alias-state-business-primary: #7aaaff;
1350
+ --dsw-alias-state-business-tertiary: rgba(122, 170, 255, 0.16);
1351
+ --dsw-alias-link: #8bb6ff;
1352
+ --dsw-alias-button-primary-fill: #5b8def;
1353
+ --dsw-alias-button-primary-hover: #6f9cf4;
1354
+ --dsw-alias-button-primary-ink: #ffffff;
1355
+ --dsw-alias-interactive-bg-hover: rgba(226, 232, 240, 0.07);
1356
+ --dsw-alias-interactive-bg-active: rgba(226, 232, 240, 0.13);
1357
+ --dsw-alias-interactive-bg-hover-accent: rgba(122, 170, 255, 0.15);
1358
+ --dsw-alias-interactive-bg-hover-danger: rgba(248, 113, 113, 0.16);
1359
+ --dsw-alias-state-error-primary: #f87171;
1360
+ --dsw-alias-state-warn-primary: #fbbf24;
1361
+ --dsw-alias-state-warn-label: #fcd34d;
1362
+ --dsw-alias-state-warn-tertiary: rgba(251, 191, 36, 0.15);
1363
+ --dsw-alias-state-success-primary: #4ade80;
1364
+ --dsw-elevation-panel: 0 4px 16px rgba(10, 14, 22, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.12);
1365
+ --dsw-elevation-prominent: 0 14px 38px rgba(10, 14, 22, 0.42), 0 0 0 1px rgba(226, 232, 240, 0.16);
1366
+ --dsh-button-hover-shadow: 0 2px 8px rgba(10, 14, 22, 0.25);
1367
+ --dsh-card-hover-shadow: 0 8px 22px rgba(10, 14, 22, 0.32);
1368
+ --dsh-surface-spotlight: rgba(122, 170, 255, 0.10);
1369
+ }
1370
+
1371
+ /* 2. Preset: cream (Warm Cream / 米白纸感) */
1372
+ [data-dsh-style="cream"],
1373
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="cream"], :has([data-dsh-style="cream"])) {
1374
+ color-scheme: light;
1375
+ accent-color: #9e5829;
1376
+ --dsw-alias-bg-base: #faf7f0;
1377
+ --dsw-alias-bg-layer-1: #f3efe4;
1378
+ --dsw-alias-bg-layer-2: #eae3d3;
1379
+ --dsw-alias-bg-layer-3: #e0d7c3;
1380
+ --dsw-alias-bg-overlay: #fcfaf4;
1381
+ --dsw-alias-bg-document-preview: #e8e1d0;
1382
+ --dsw-alias-bg-module-platform: #efe9da;
1383
+ --dsw-alias-settings-card-fill: #f5f1e6;
1384
+ --dsw-alias-settings-card-stroke: #dfd5be;
1385
+ --dsw-specific-menu: rgba(252, 250, 244, 0.97);
1386
+ --dsw-alias-border-l1: #e6dec8;
1387
+ --dsw-alias-border-l2: #d4c8ae;
1388
+ --dsw-alias-border-l3: #c0b193;
1389
+ --dsw-alias-border-l4: #ad9c7c;
1390
+ --dsw-alias-label-primary: #2b2620;
1391
+ --dsw-alias-label-secondary: #655b4e;
1392
+ --dsw-alias-label-tertiary: #857968;
1393
+ --dsw-alias-label-dimmed: #9c907f;
1394
+ --dsw-alias-brand-primary: #9e5829;
1395
+ --dsw-alias-brand-text: #2b2620;
1396
+ --dsw-alias-state-business-primary: #a65e2e;
1397
+ --dsw-alias-state-business-tertiary: rgba(166, 94, 46, 0.13);
1398
+ --dsw-alias-link: #934e20;
1399
+ --dsw-alias-button-primary-fill: #9e5829;
1400
+ --dsw-alias-button-primary-hover: #86481e;
1401
+ --dsw-alias-button-primary-ink: #fffdf9;
1402
+ --dsw-alias-interactive-bg-hover: rgba(108, 84, 50, 0.075);
1403
+ --dsw-alias-interactive-bg-active: rgba(166, 94, 46, 0.14);
1404
+ --dsw-alias-interactive-bg-hover-accent: rgba(166, 94, 46, 0.12);
1405
+ --dsw-alias-interactive-bg-hover-danger: rgba(185, 56, 44, 0.11);
1406
+ --dsw-alias-state-error-primary: #b9382c;
1407
+ --dsw-alias-state-warn-primary: #b45309;
1408
+ --dsw-alias-state-warn-label: #8c3d08;
1409
+ --dsw-alias-state-warn-tertiary: #fdefd6;
1410
+ --dsw-alias-state-success-primary: #2a6f4e;
1411
+ --dsw-radius-xs: 6px;
1412
+ --dsw-radius-sm: 9px;
1413
+ --dsw-radius-md: 13px;
1414
+ --dsw-radius-lg: 16px;
1415
+ --dsw-radius-xl: 20px;
1416
+ --dsw-elevation-panel: 0 3px 12px rgba(68, 52, 32, 0.07), 0 0 0 1px rgba(180, 164, 138, 0.35);
1417
+ --dsw-elevation-prominent: 0 14px 34px rgba(68, 52, 32, 0.14), 0 2px 6px rgba(68, 52, 32, 0.06), 0 0 0 1px rgba(180, 164, 138, 0.42);
1418
+ --dsh-control-border-width: 1px;
1419
+ --dsh-button-hover-shadow: 0 2px 6px rgba(84, 62, 34, 0.09);
1420
+ --dsh-card-hover-shadow: 0 8px 20px rgba(84, 62, 34, 0.10);
1421
+ --dsh-surface-spotlight: rgba(166, 94, 46, 0.08);
1422
+ }
1423
+
1424
+ /* 3. Preset: claude (Claude Warmth / Claude 暖书卷) */
1425
+ [data-dsh-style="claude"],
1426
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="claude"], :has([data-dsh-style="claude"])) {
1427
+ color-scheme: light;
1428
+ accent-color: #c96442;
1429
+ --dsw-alias-bg-base: #f5f4ed;
1430
+ --dsw-alias-bg-layer-1: #ece9df;
1431
+ --dsw-alias-bg-layer-2: #e3dfd2;
1432
+ --dsw-alias-bg-layer-3: #d8d3c3;
1433
+ --dsw-alias-bg-overlay: #faf9f4;
1434
+ --dsw-alias-bg-document-preview: #e1ddd0;
1435
+ --dsw-alias-bg-module-platform: #e7e3d6;
1436
+ --dsw-alias-settings-card-fill: #efece2;
1437
+ --dsw-alias-settings-card-stroke: #dad5c6;
1438
+ --dsw-specific-menu: rgba(250, 249, 244, 0.97);
1439
+ --dsw-alias-border-l1: #e2ded0;
1440
+ --dsw-alias-border-l2: #d0cbc0;
1441
+ --dsw-alias-border-l3: #bcb6a7;
1442
+ --dsw-alias-border-l4: #a69f8f;
1443
+ --dsw-alias-label-primary: #1f1e1b;
1444
+ --dsw-alias-label-secondary: #5d5a51;
1445
+ --dsw-alias-label-tertiary: #7b776c;
1446
+ --dsw-alias-label-dimmed: #948f83;
1447
+ --dsw-alias-brand-primary: #c96442;
1448
+ --dsw-alias-brand-text: #1f1e1b;
1449
+ --dsw-alias-state-business-primary: #c96442;
1450
+ --dsw-alias-state-business-tertiary: rgba(201, 100, 66, 0.14);
1451
+ --dsw-alias-link: #b35030;
1452
+ --dsw-alias-button-primary-fill: #c96442;
1453
+ --dsw-alias-button-primary-hover: #b25232;
1454
+ --dsw-alias-button-primary-ink: #faf9f5;
1455
+ --dsw-alias-interactive-bg-hover: rgba(31, 30, 27, 0.055);
1456
+ --dsw-alias-interactive-bg-active: rgba(201, 100, 66, 0.14);
1457
+ --dsw-alias-interactive-bg-hover-accent: rgba(201, 100, 66, 0.11);
1458
+ --dsw-alias-interactive-bg-hover-danger: rgba(180, 48, 42, 0.11);
1459
+ --dsw-alias-state-error-primary: #b4302a;
1460
+ --dsw-alias-state-warn-primary: #b85d19;
1461
+ --dsw-alias-state-warn-label: #8c430c;
1462
+ --dsw-alias-state-warn-tertiary: #f7e8d6;
1463
+ --dsw-alias-state-success-primary: #2d6a4f;
1464
+ --dsw-radius-xs: 7px;
1465
+ --dsw-radius-sm: 10px;
1466
+ --dsw-radius-md: 14px;
1467
+ --dsw-radius-lg: 18px;
1468
+ --dsw-radius-xl: 22px;
1469
+ --dsw-elevation-panel: 0 3px 14px rgba(31, 30, 27, 0.06), 0 0 0 1px rgba(145, 139, 126, 0.28);
1470
+ --dsw-elevation-prominent: 0 16px 38px rgba(31, 30, 27, 0.13), 0 2px 8px rgba(31, 30, 27, 0.05), 0 0 0 1px rgba(145, 139, 126, 0.34);
1471
+ --dsh-control-border-width: 1px;
1472
+ --dsh-button-hover-shadow: 0 2px 7px rgba(31, 30, 27, 0.08);
1473
+ --dsh-card-hover-shadow: 0 8px 22px rgba(31, 30, 27, 0.09);
1474
+ --dsh-surface-spotlight: rgba(201, 100, 66, 0.08);
1475
+ }
1476
+
1477
+ [data-dsh-style="claude"] :where(header h1, [data-dsh-editorial-heading]),
1478
+ :where([role="dialog"], dialog):where([data-dsh-style="claude"], :has([data-dsh-style="claude"])) header h2 {
1479
+ font-family: "Iowan Old Style", "Georgia", "Songti SC", "Noto Serif SC", var(--dsw-font-family, serif);
1480
+ letter-spacing: -0.01em;
1481
+ }
1482
+
1483
+ /* 4. Preset: pixel8bit (Bright 8-Bit / 8-Bit 像素) */
1484
+ [data-dsh-style="pixel8bit"],
1485
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="pixel8bit"], :has([data-dsh-style="pixel8bit"])) {
1486
+ color-scheme: light;
1487
+ accent-color: #2e7d5b;
1488
+ --dsw-alias-bg-base: #f4f6e8;
1489
+ --dsw-alias-bg-layer-1: #e7eed2;
1490
+ --dsw-alias-bg-layer-2: #dbe5c0;
1491
+ --dsw-alias-bg-layer-3: #cedaad;
1492
+ --dsw-alias-bg-overlay: #f9fbf0;
1493
+ --dsw-alias-bg-document-preview: #dbe5c0;
1494
+ --dsw-alias-bg-module-platform: #e2ebc9;
1495
+ --dsw-alias-settings-card-fill: #edf2dc;
1496
+ --dsw-alias-settings-card-stroke: #1e2826;
1497
+ --dsw-specific-menu: #f9fbf0;
1498
+ --dsw-alias-border-l1: #7e9478;
1499
+ --dsw-alias-border-l2: #1e2826;
1500
+ --dsw-alias-border-l3: #1e2826;
1501
+ --dsw-alias-border-l4: #1e2826;
1502
+ --dsw-alias-label-primary: #1e2826;
1503
+ --dsw-alias-label-secondary: #3d514c;
1504
+ --dsw-alias-label-tertiary: #58706a;
1505
+ --dsw-alias-label-dimmed: #6e857f;
1506
+ --dsw-alias-brand-primary: #2e7d5b;
1507
+ --dsw-alias-brand-text: #1e2826;
1508
+ --dsw-alias-state-business-primary: #2e7d5b;
1509
+ --dsw-alias-state-business-tertiary: rgba(46, 125, 91, 0.18);
1510
+ --dsw-alias-link: #226448;
1511
+ --dsw-alias-button-primary-fill: #2e7d5b;
1512
+ --dsw-alias-button-primary-hover: #24674a;
1513
+ --dsw-alias-button-primary-ink: #f4f6e8;
1514
+ --dsw-alias-interactive-bg-hover: #dfe9c4;
1515
+ --dsw-alias-interactive-bg-active: #cfe0ad;
1516
+ --dsw-alias-interactive-bg-hover-accent: rgba(46, 125, 91, 0.16);
1517
+ --dsw-alias-interactive-bg-hover-danger: rgba(217, 91, 67, 0.18);
1518
+ --dsw-alias-state-error-primary: #d95b43;
1519
+ --dsw-alias-state-warn-primary: #c47614;
1520
+ --dsw-alias-state-warn-label: #7a4808;
1521
+ --dsw-alias-state-warn-tertiary: #f6e7b4;
1522
+ --dsw-alias-state-success-primary: #2e7d5b;
1523
+ --dsh-pixel-accent-secondary: #d95b43;
1524
+ --dsw-radius-xs: 0px;
1525
+ --dsw-radius-sm: 0px;
1526
+ --dsw-radius-md: 0px;
1527
+ --dsw-radius-lg: 0px;
1528
+ --dsw-radius-xl: 0px;
1529
+ --dsw-corner-shape: square;
1530
+ --dsw-elevation-panel: 3px 3px 0px #1e2826;
1531
+ --dsw-elevation-prominent: 4px 4px 0px #1e2826;
1532
+ --dsh-control-border-width: 2px;
1533
+ --dsh-button-shadow: 2px 2px 0px #1e2826;
1534
+ --dsh-button-hover-shadow: 3px 3px 0px #1e2826;
1535
+ --dsh-card-hover-shadow: 4px 4px 0px #1e2826;
1536
+ --dsh-surface-spotlight: rgba(46, 125, 91, 0.12);
1537
+ }
1538
+
1539
+ [data-dsh-style="pixel8bit"] :where(button, input, select, textarea, [role="button"], [role="tab"], [role="menuitem"], [role="menuitemradio"], [data-dsh-card], [data-dsh-panel], .w-input, .w-status, .w-tag, .w-count, .w-brand, .w-empty-icon),
1540
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="pixel8bit"], :has([data-dsh-style="pixel8bit"])),
1541
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="pixel8bit"], :has([data-dsh-style="pixel8bit"])) :where(button, input, select, textarea, [role="menuitem"], [role="menuitemradio"], .w-input) {
1542
+ border-radius: 0px !important;
1543
+ corner-shape: square;
1544
+ }
1545
+
1546
+ [data-dsh-style="pixel8bit"] :where(button:not([role="tab"]), .dsh-btn, a.w-button),
1547
+ :where([role="dialog"], [role="alertdialog"], dialog):where([data-dsh-style="pixel8bit"], :has([data-dsh-style="pixel8bit"])) :where(button:not([role="tab"]), .dsh-btn, a.w-button) {
1548
+ border: 2px solid #1e2826;
1549
+ box-shadow: 2px 2px 0px #1e2826;
1550
+ }
1551
+
1552
+ [data-dsh-style="pixel8bit"] :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea, .w-input),
1553
+ :where([role="dialog"], [role="alertdialog"], dialog):where([data-dsh-style="pixel8bit"], :has([data-dsh-style="pixel8bit"])) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea, .w-input) {
1554
+ border-width: 2px;
1555
+ border-color: #1e2826;
1556
+ }
1557
+
1558
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="pixel8bit"], :has([data-dsh-style="pixel8bit"])) {
1559
+ border: 2px solid #1e2826 !important;
1560
+ box-shadow: 4px 4px 0px #1e2826 !important;
1561
+ backdrop-filter: none;
1562
+ }
1563
+
1564
+ [data-dsh-style="pixel8bit"] [role="tab"][aria-selected="true"]::after {
1565
+ border-block-end-color: #d95b43;
1566
+ border-block-end-width: 3px;
1567
+ }
1568
+
1569
+ /* 5. Preset: mint (Airy Mint / 晴空薄荷) */
1570
+ [data-dsh-style="mint"],
1571
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="mint"], :has([data-dsh-style="mint"])) {
1572
+ color-scheme: light;
1573
+ accent-color: #0f766e;
1574
+ --dsw-alias-bg-base: #f5fafb;
1575
+ --dsw-alias-bg-layer-1: #eaf3f6;
1576
+ --dsw-alias-bg-layer-2: #dcebf0;
1577
+ --dsw-alias-bg-layer-3: #cce1e8;
1578
+ --dsw-alias-bg-overlay: #fafdff;
1579
+ --dsw-alias-bg-document-preview: #d9e8ee;
1580
+ --dsw-alias-bg-module-platform: #e3eff3;
1581
+ --dsw-alias-settings-card-fill: #eef6f8;
1582
+ --dsw-alias-settings-card-stroke: #c7dde5;
1583
+ --dsw-specific-menu: rgba(250, 253, 255, 0.97);
1584
+ --dsw-alias-border-l1: #d5e6ec;
1585
+ --dsw-alias-border-l2: #bdd5de;
1586
+ --dsw-alias-border-l3: #9ec0cd;
1587
+ --dsw-alias-border-l4: #7faab9;
1588
+ --dsw-alias-label-primary: #132a2e;
1589
+ --dsw-alias-label-secondary: #426067;
1590
+ --dsw-alias-label-tertiary: #628088;
1591
+ --dsw-alias-label-dimmed: #7c98a0;
1592
+ --dsw-alias-brand-primary: #0f766e;
1593
+ --dsw-alias-brand-text: #132a2e;
1594
+ --dsw-alias-state-business-primary: #0f766e;
1595
+ --dsw-alias-state-business-tertiary: rgba(15, 118, 110, 0.13);
1596
+ --dsw-alias-link: #0284c7;
1597
+ --dsw-alias-button-primary-fill: #0f766e;
1598
+ --dsw-alias-button-primary-hover: #0d635c;
1599
+ --dsw-alias-button-primary-ink: #f5fafb;
1600
+ --dsw-alias-interactive-bg-hover: rgba(15, 118, 110, 0.07);
1601
+ --dsw-alias-interactive-bg-active: rgba(15, 118, 110, 0.13);
1602
+ --dsw-alias-interactive-bg-hover-accent: rgba(2, 132, 199, 0.11);
1603
+ --dsw-alias-interactive-bg-hover-danger: rgba(200, 50, 64, 0.11);
1604
+ --dsw-alias-state-error-primary: #c83240;
1605
+ --dsw-alias-state-warn-primary: #b4690e;
1606
+ --dsw-alias-state-warn-label: #864c07;
1607
+ --dsw-alias-state-warn-tertiary: #fdf1d6;
1608
+ --dsw-alias-state-success-primary: #0f766e;
1609
+ --dsh-mint-sky-accent: #0284c7;
1610
+ --dsw-radius-xs: 6px;
1611
+ --dsw-radius-sm: 9px;
1612
+ --dsw-radius-md: 12px;
1613
+ --dsw-radius-lg: 16px;
1614
+ --dsw-radius-xl: 20px;
1615
+ --dsw-elevation-panel: 0 3px 12px rgba(15, 76, 92, 0.07), 0 0 0 1px rgba(127, 170, 185, 0.28);
1616
+ --dsw-elevation-prominent: 0 14px 34px rgba(15, 76, 92, 0.13), 0 2px 6px rgba(15, 76, 92, 0.05), 0 0 0 1px rgba(127, 170, 185, 0.34);
1617
+ --dsh-control-border-width: 1px;
1618
+ --dsh-button-hover-shadow: 0 2px 7px rgba(15, 118, 110, 0.11);
1619
+ --dsh-card-hover-shadow: 0 8px 22px rgba(2, 132, 199, 0.10);
1620
+ --dsh-surface-spotlight: rgba(2, 132, 199, 0.08);
1621
+ }
1622
+
1623
+ /* 6. Interactive Dynamics: Tactile Button Physics & Active States */
1624
+ :where([data-dsh-style]) :where(button, [role="button"], a.w-button),
1625
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):has([data-dsh-style]) :where(button, [role="button"], a.w-button) {
1626
+ translate: 0px 0px;
1627
+ scale: 1;
1628
+ transition-property: background-color, border-color, color, box-shadow, opacity, translate, scale;
1629
+ transition-duration: var(--dsh-motion-fast);
1630
+ transition-timing-function: var(--dsh-ease-out);
1631
+ }
1632
+
1633
+ :where([data-dsh-style]) :where(button, [role="button"])[aria-expanded="true"]:not(:disabled):not([aria-disabled="true"]),
1634
+ :where([role="dialog"], [role="alertdialog"], dialog):has([data-dsh-style]) :where(button, [role="button"])[aria-expanded="true"]:not(:disabled):not([aria-disabled="true"]) {
1635
+ background-color: var(--dsw-alias-interactive-bg-active);
1636
+ color: var(--dsw-alias-label-primary);
1637
+ }
1638
+
1639
+ @media (prefers-reduced-motion: no-preference) {
1640
+ @media (hover: hover) {
1641
+ :where([data-dsh-style]:not([data-dsh-style="pixel8bit"])) :where(button:not([role="tab"]):not([role="menuitem"]):not([role="menuitemradio"]):not([role="switch"]), .dsh-btn, a.w-button):hover:not(:disabled):not([aria-disabled="true"]),
1642
+ :where([role="dialog"], [role="alertdialog"], dialog):has([data-dsh-style]:not([data-dsh-style="pixel8bit"])) :where(button:not([role="tab"]):not([role="menuitem"]):not([role="menuitemradio"]):not([role="switch"]), .dsh-btn, a.w-button):hover:not(:disabled):not([aria-disabled="true"]) {
1643
+ translate: 0px -0.5px;
1644
+ box-shadow: var(--dsh-button-hover-shadow);
1645
+ }
1646
+
1647
+ [data-dsh-style="pixel8bit"] :where(button:not([role="tab"]):not([role="menuitem"]):not([role="menuitemradio"]), .dsh-btn, a.w-button):hover:not(:disabled):not([aria-disabled="true"]),
1648
+ :where([role="dialog"], [role="alertdialog"], dialog):where([data-dsh-style="pixel8bit"], :has([data-dsh-style="pixel8bit"])) :where(button:not([role="tab"]):not([role="menuitem"]):not([role="menuitemradio"]), .dsh-btn, a.w-button):hover:not(:disabled):not([aria-disabled="true"]) {
1649
+ translate: -1px -1px;
1650
+ box-shadow: 3px 3px 0px #1e2826;
1651
+ transition-timing-function: steps(2, end);
1652
+ transition-duration: 70ms;
1653
+ }
1654
+ }
1655
+
1656
+ :where([data-dsh-style]:not([data-dsh-style="pixel8bit"])) :where(button:not([role="switch"]), [role="button"], a.w-button):active:not(:disabled):not([aria-disabled="true"]),
1657
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):has([data-dsh-style]:not([data-dsh-style="pixel8bit"])) :where(button:not([role="switch"]), [role="button"], a.w-button):active:not(:disabled):not([aria-disabled="true"]) {
1658
+ scale: 0.965;
1659
+ translate: 0px 0.5px;
1660
+ transition-duration: 80ms;
1661
+ }
1662
+
1663
+ [data-dsh-style="pixel8bit"] :where(button:not([role="tab"]):not([role="switch"]), .dsh-btn, a.w-button):active:not(:disabled):not([aria-disabled="true"]),
1664
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style="pixel8bit"], :has([data-dsh-style="pixel8bit"])) :where(button:not([role="tab"]):not([role="switch"]), .dsh-btn, a.w-button):active:not(:disabled):not([aria-disabled="true"]) {
1665
+ translate: 1px 1px !important;
1666
+ scale: 1 !important;
1667
+ box-shadow: 1px 1px 0px #1e2826 !important;
1668
+ transition-timing-function: steps(2, end);
1669
+ transition-duration: 50ms;
1670
+ }
1671
+ }
1672
+
1673
+ /* 7. Small-Button SVG Icon Micro-Animations */
1674
+ :where([data-dsh-style]) :where(button, [role="button"], summary, a.w-button) svg,
1675
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):has([data-dsh-style]) :where(button, [role="button"], summary, a.w-button) svg {
1676
+ translate: 0px 0px;
1677
+ rotate: 0deg;
1678
+ scale: 1;
1679
+ transform-origin: center;
1680
+ }
1681
+
1682
+ @keyframes dsh-icon-spin { to { rotate: 360deg; } }
1683
+ @keyframes dsh-icon-wiggle {
1684
+ 0% { rotate: 0deg; }
1685
+ 25% { rotate: -12deg; }
1686
+ 55% { rotate: 10deg; }
1687
+ 80% { rotate: -5deg; }
1688
+ 100% { rotate: 0deg; }
1689
+ }
1690
+ @keyframes dsh-icon-pop {
1691
+ 0% { scale: 1; }
1692
+ 45% { scale: 1.26; }
1693
+ 75% { scale: 0.94; }
1694
+ 100% { scale: 1; }
1695
+ }
1696
+ @keyframes dsh-icon-bounce {
1697
+ 0%, 100% { translate: 0px 0px; }
1698
+ 45% { translate: 0px 2.5px; }
1699
+ 75% { translate: 0px -1px; }
1700
+ }
1701
+ @keyframes dsh-icon-bounce-up {
1702
+ 0%, 100% { translate: 0px 0px; }
1703
+ 45% { translate: 0px -2.5px; }
1704
+ 75% { translate: 0px 1px; }
1705
+ }
1706
+
1707
+ @media (prefers-reduced-motion: no-preference) {
1708
+ :where([data-dsh-style]) :where(button, [role="button"], summary, a.w-button) svg,
1709
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):has([data-dsh-style]) :where(button, [role="button"], summary, a.w-button) svg {
1710
+ transition:
1711
+ translate var(--dsh-motion-base) var(--dsh-ease-spring),
1712
+ rotate 240ms var(--dsh-ease-spring),
1713
+ scale var(--dsh-motion-base) var(--dsh-ease-spring);
1714
+ }
1715
+
1716
+ :where([data-dsh-style]) :where([aria-expanded="true"], [data-open="true"], details[open] > summary) :is(svg[data-dsh-icon="down"], svg[data-dsh-icon="chevron-down"]),
1717
+ :where([role="dialog"], [role="alertdialog"], dialog):has([data-dsh-style]) :where([aria-expanded="true"], [data-open="true"]) :is(svg[data-dsh-icon="down"], svg[data-dsh-icon="chevron-down"]) {
1718
+ rotate: 180deg;
1719
+ }
1720
+
1721
+ :where([data-dsh-style]) :where(button, [role="button"])[aria-busy="true"] :is(svg[data-dsh-icon="refresh"], svg[data-dsh-icon="sync"]),
1722
+ :where([data-dsh-style]) svg[data-dsh-icon="refresh"][data-spinning="true"] {
1723
+ animation: dsh-icon-spin 0.85s linear infinite;
1724
+ }
1725
+
1726
+ @media (hover: hover) {
1727
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) :is(svg[data-dsh-icon="refresh"], svg[data-dsh-icon="sync"], svg[data-dsh-icon="reload"]) {
1728
+ rotate: 180deg;
1729
+ }
1730
+
1731
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) :is(svg[data-dsh-icon="plus"], svg[data-dsh-icon="add"], svg[data-dsh-icon="close"], svg[data-dsh-icon="x"]) {
1732
+ rotate: 90deg;
1733
+ }
1734
+
1735
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"], a):hover:not(:disabled):not([aria-disabled="true"]) :is(svg[data-dsh-icon="send"], svg[data-dsh-icon="external"], svg[data-dsh-icon="link"]) {
1736
+ translate: 2px -1.5px;
1737
+ }
1738
+
1739
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) :is(svg[data-dsh-icon="reply"], svg[data-dsh-icon="left"], svg[data-dsh-icon="undo"]) {
1740
+ translate: -2px 0px;
1741
+ }
1742
+
1743
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) svg[data-dsh-icon="right"] {
1744
+ translate: 2px 0px;
1745
+ }
1746
+
1747
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) svg[data-dsh-icon="up"] {
1748
+ translate: 0px -1.5px;
1749
+ }
1750
+
1751
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) svg[data-dsh-icon="play"] {
1752
+ translate: 1.5px 0px;
1753
+ scale: 1.14;
1754
+ }
1755
+
1756
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) :is(svg[data-dsh-icon="trash"], svg[data-dsh-icon="delete"]) {
1757
+ animation: dsh-icon-wiggle 360ms var(--dsh-ease-in-out);
1758
+ }
1759
+
1760
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) :is(svg[data-dsh-icon="star"], svg[data-dsh-icon="check"], svg[data-dsh-icon="copy"]) {
1761
+ scale: 1.18;
1762
+ }
1763
+
1764
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"], a.w-button):hover:not(:disabled):not([aria-disabled="true"]) :is(svg[data-dsh-icon="download"], svg[data-dsh-icon="export"]) {
1765
+ animation: dsh-icon-bounce 420ms var(--dsh-ease-out);
1766
+ }
1767
+
1768
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) svg[data-dsh-icon="upload"] {
1769
+ animation: dsh-icon-bounce-up 420ms var(--dsh-ease-out);
1770
+ }
1771
+
1772
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"]):hover:not(:disabled):not([aria-disabled="true"]) :is(svg[data-dsh-icon="palette"], svg[data-dsh-icon="sparkles"], svg[data-dsh-icon="edit"]) {
1773
+ rotate: -12deg;
1774
+ scale: 1.08;
1775
+ }
1776
+
1777
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"])[aria-expanded="false"]:hover:not(:disabled):not([aria-disabled="true"]) svg[data-dsh-icon="down"] {
1778
+ translate: 0px 1.5px;
1779
+ }
1780
+ }
1781
+
1782
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where([aria-pressed="true"], [aria-checked="true"], [data-active="true"], [data-copied="true"]) :is(svg[data-dsh-icon="star"], svg[data-dsh-icon="check"], svg[data-dsh-icon="copy"]) {
1783
+ animation: dsh-icon-pop 300ms var(--dsh-ease-spring);
1784
+ }
1785
+ }
1786
+
1787
+ /* 8. Tabs, Cards, Rows & Top-Layer Dialog/Inspector Entrance */
1788
+ :where([data-dsh-style]) [role="tablist"] { scrollbar-width: thin; }
1789
+ :where([data-dsh-style]) [role="tab"] { position: relative; }
1790
+ :where([data-dsh-style]) [role="tab"][aria-selected="true"]::after {
1791
+ content: "";
1792
+ position: absolute;
1793
+ inset-inline: 6px;
1794
+ inset-block-end: 0;
1795
+ border-block-end: 2px solid var(--dsw-alias-state-business-primary, var(--w-accent));
1796
+ pointer-events: none;
1797
+ }
1798
+
1799
+ :where([data-dsh-style]) :where([data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row) {
1800
+ translate: 0px 0px;
1801
+ transition:
1802
+ background-color var(--dsh-motion-fast) var(--dsh-ease-out),
1803
+ border-color var(--dsh-motion-fast) var(--dsh-ease-out),
1804
+ box-shadow var(--dsh-motion-base) var(--dsh-ease-out),
1805
+ translate var(--dsh-motion-base) var(--dsh-ease-out);
1806
+ }
1807
+
1808
+ @media (hover: hover) and (prefers-reduced-motion: no-preference) {
1809
+ :where([data-dsh-style]:not([data-dsh-style="pixel8bit"])) :where([data-dsh-card], .dsh-card):hover {
1810
+ translate: 0px -1.5px;
1811
+ box-shadow: var(--dsh-card-hover-shadow);
1812
+ }
1813
+ [data-dsh-style="pixel8bit"] :where([data-dsh-card], .dsh-card):hover {
1814
+ translate: -1px -1px;
1815
+ box-shadow: 4px 4px 0px #1e2826;
1816
+ }
1817
+ :where([data-dsh-style]) :where([data-dsh-row], .dsh-row):hover:not([data-selected="true"]):not([aria-selected="true"]) {
1818
+ background-color: var(--dsh-surface-spotlight, var(--dsw-alias-interactive-bg-hover));
1819
+ }
1820
+ }
1821
+
1822
+ :where([role="dialog"], [role="alertdialog"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {
1823
+ overscroll-behavior: contain;
1824
+ opacity: 1;
1825
+ transition-property: opacity, scale, translate, display, overlay;
1826
+ transition-duration: var(--dsh-motion-dialog);
1827
+ transition-timing-function: var(--dsh-ease-out);
1828
+ transition-behavior: allow-discrete;
1829
+ }
1830
+
1831
+ @starting-style {
1832
+ :where([role="dialog"], [role="alertdialog"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {
1833
+ opacity: 0;
1834
+ }
1835
+ }
1836
+
1837
+ @media (prefers-reduced-motion: no-preference) {
1838
+ :where([role="dialog"], [role="alertdialog"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {
1839
+ scale: 1;
1840
+ translate: 0px 0px;
1841
+ }
1842
+ @starting-style {
1843
+ :where([role="dialog"], [role="alertdialog"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {
1844
+ scale: 0.965;
1845
+ translate: 0px 6px;
1846
+ }
1847
+ }
1848
+ .dshw .w-tab-panel,
1849
+ .dshw .ppt-inspector-panel:not([hidden]) {
1850
+ opacity: 1;
1851
+ translate: 0px 0px;
1852
+ transition: opacity 160ms var(--dsh-ease-out), translate 180ms var(--dsh-ease-out);
1853
+ }
1854
+ @starting-style {
1855
+ .dshw .w-tab-panel,
1856
+ .dshw .ppt-inspector-panel:not([hidden]) {
1857
+ opacity: 0;
1858
+ translate: 0px 4px;
1859
+ }
1860
+ }
1861
+ }
1862
+
1863
+ /* 9. Header Style Switcher & Fallback Overlay Chrome */
1864
+ .dsh-style-switcher { display: inline-flex; align-items: center; flex: none; }
1865
+ .dsh-style-trigger.dsh-style-trigger {
1866
+ display: inline-flex; align-items: center; gap: 6px;
1867
+ min-height: 32px; padding-inline: 10px; width: auto;
1868
+ font-size: 12.5px; line-height: 18px; font-weight: 500;
1869
+ color: var(--dsw-alias-label-secondary, #64748b);
1870
+ background: var(--dsw-alias-bg-layer-1, #f8fafc);
1871
+ border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e8f0);
1872
+ border-radius: var(--dsw-radius-sm, 8px);
1873
+ cursor: pointer; white-space: nowrap;
1874
+ }
1875
+ @media (hover: hover) {
1876
+ .dsh-style-trigger.dsh-style-trigger:hover:not(:disabled) {
1877
+ color: var(--dsw-alias-label-primary, #1e293b);
1878
+ background: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.04));
1879
+ }
1880
+ }
1881
+ .dsh-style-swatch {
1882
+ display: inline-block; flex: none; width: 10px; height: 10px;
1883
+ border-radius: 50%; corner-shape: round;
1884
+ background: var(--dsh-swatch-color, var(--dsw-alias-state-business-primary, #4176e6));
1885
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
1886
+ }
1887
+ [data-dsh-style="pixel8bit"] .dsh-style-swatch {
1888
+ border-radius: 0px !important; corner-shape: square; box-shadow: 1px 1px 0px #1e2826;
1889
+ }
1890
+ .dsh-style-fallback-wrap { position: relative; display: inline-flex; }
1891
+ .dsh-style-fallback-menu {
1892
+ position: absolute; inset-block-start: calc(100% + 4px); inset-inline-end: 0;
1893
+ z-index: 2147483001; display: grid; gap: 2px; min-width: 176px; padding: 4px;
1894
+ background: var(--dsw-alias-bg-overlay, var(--dsw-alias-bg-base, #ffffff));
1895
+ border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e8f0);
1896
+ border-radius: var(--dsw-radius-md, 12px);
1897
+ box-shadow: var(--dsw-elevation-prominent, 0 12px 32px rgba(15, 23, 42, 0.12));
1898
+ }
1899
+ .dsh-style-fallback-item {
1900
+ display: flex; align-items: center; justify-content: space-between; gap: 8px;
1901
+ width: 100%; min-height: 28px; padding: 4px 8px; border: 0;
1902
+ border-radius: var(--dsw-radius-xs, 6px); background: transparent;
1903
+ color: var(--dsw-alias-label-primary, #1e293b); font: inherit; font-size: 12px;
1904
+ text-align: start; cursor: pointer;
1905
+ }
1906
+ .dsh-style-fallback-item[aria-checked="true"] {
1907
+ background: var(--dsw-alias-interactive-bg-active, rgba(65, 118, 230, 0.12)); font-weight: 600;
1908
+ }
1909
+ @media (hover: hover) {
1910
+ .dsh-style-fallback-item:hover:not(:disabled) {
1911
+ background: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.04));
1912
+ }
1913
+ }
1914
+ .dsh-fallback-modal-root {
1915
+ position: fixed; inset: 0; z-index: 2147483000;
1916
+ display: grid; place-items: center; padding: 16px;
1917
+ }
1918
+ .dsh-fallback-modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.36); }
1919
+ .dsh-fallback-modal-dialog {
1920
+ position: relative; z-index: 1;
1921
+ width: min(620px, calc(100dvw - 32px)); max-height: calc(100dvh - 32px);
1922
+ overflow: clip; display: flex; flex-direction: column;
1923
+ border-radius: var(--dsw-radius-md, 12px);
1924
+ background: var(--dsw-alias-bg-layer-1, #f8fafc);
1925
+ color: var(--dsw-alias-label-primary, #1e293b);
1926
+ box-shadow: var(--dsw-elevation-prominent, 0 16px 40px rgba(15, 23, 42, 0.18));
1927
+ }
1928
+
1929
+ /* 10. Workbench UI v2 Core Studio Layout & Components */
1930
+ .dshw,
1931
+ .dshw[data-dsh-style],
1932
+ [data-dsh-style] .dshw {
1933
+ --w-canvas: var(--dsw-alias-bg-base, #ffffff);
1934
+ --w-bg: var(--dsw-alias-bg-layer-1, #f8fafc);
1935
+ --w-soft: var(--dsw-alias-bg-layer-2, #f1f5f9);
1936
+ --w-text: var(--dsw-alias-label-primary, #1e293b);
1937
+ --w-muted: var(--dsw-alias-label-secondary, #64748b);
1938
+ --w-border: var(--dsw-alias-border-l2, #e2e8f0);
1939
+ --w-accent: var(--dsw-alias-state-business-primary, #4176e6);
1940
+ --w-selected: var(--dsw-alias-interactive-bg-active, color-mix(in oklab, var(--w-accent) 11%, var(--w-canvas)));
1941
+ --w-primary: var(--dsw-alias-button-primary-fill, var(--w-accent));
1942
+ --w-on-primary: var(--dsw-alias-button-primary-ink, #ffffff);
1943
+ container-type: inline-size;
1944
+ container-name: dsh-workbench;
1945
+ color: var(--w-text);
1946
+ font: 13.5px/1.6 var(--dsw-font-family, var(--dsh-font-family-content, system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif));
1947
+ min-width: 0;
1948
+ max-width: 100%;
1949
+ box-sizing: border-box;
1950
+ text-align: start;
1951
+ }
1952
+ .dshw *, .dshw *:before, .dshw *:after { box-sizing: border-box; }
1953
+ .dshw h1, .dshw h2, .dshw h3, .dshw h4, .dshw p { margin: 0; }
1954
+ .dshw h1 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 650; }
1955
+ .dshw h2 { font-size: 18px; line-height: 1.35; font-weight: 650; letter-spacing: -0.01em; overflow-wrap: anywhere; }
1956
+ .dshw h3, .dshw h4 { font-size: 15px; line-height: 1.4; font-weight: 600; }
1957
+ .dshw a { color: var(--dsw-alias-link, var(--w-accent)); text-underline-offset: 3px; overflow-wrap: anywhere; }
1958
+ .dshw button, .dshw input, .dshw select, .dshw textarea { font: inherit; color: inherit; max-width: 100%; }
1959
+ .dshw input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),
1960
+ .dshw select,
1961
+ .dshw textarea {
1962
+ background: var(--dsw-alias-bg-base, var(--w-canvas));
1963
+ border: var(--dsh-control-border-width, 1px) solid var(--w-border);
1964
+ border-radius: var(--dsw-radius-sm, 8px);
1965
+ padding: 7px 10px;
1966
+ min-width: 0;
1967
+ line-height: 1.5;
1968
+ }
1969
+ .dshw input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),
1970
+ .dshw select { min-height: 34px; }
1971
+ .dshw textarea { resize: vertical; }
1972
+ .dshw input[type=checkbox], .dshw input[type=radio] {
1973
+ width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--w-accent);
1974
+ }
1975
+ .dshw :focus-visible { outline: 2px solid var(--w-accent); outline-offset: 2px; }
1976
+ .dshw button:disabled, .dshw input:disabled, .dshw select:disabled, .dshw textarea:disabled {
1977
+ opacity: 0.48; cursor: not-allowed;
1978
+ }
1979
+ .dshw label { font-size: 13px; }
1980
+ .dshw fieldset { min-width: 0; border: 1px solid var(--w-border); border-radius: var(--dsw-radius-sm, 8px); }
1981
+ .dshw summary { cursor: pointer; font-weight: 550; list-style: none; display: flex; align-items: center; gap: 8px; }
1982
+ .dshw summary::-webkit-details-marker { display: none; }
1983
+ .dshw summary:after {
1984
+ content: ''; display: block; margin-inline-start: auto; width: 7px; height: 7px;
1985
+ border-inline-end: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor;
1986
+ transform: rotate(45deg); flex-shrink: 0;
1987
+ transition: transform var(--dsh-motion-fast, 140ms) var(--dsh-ease-out, ease);
1988
+ }
1989
+ .dshw details[open] > summary:after { transform: rotate(225deg); }
1990
+ .dshw details > summary + * { margin-top: 12px; }
1991
+ .dshw pre {
1992
+ white-space: pre-wrap; overflow-wrap: anywhere;
1993
+ font: 12px/1.65 var(--ds-font-family-code, ui-monospace, SFMono-Regular, Consolas, monospace);
1994
+ max-width: 100%; background: var(--w-soft); border-radius: var(--dsw-radius-xs, 6px); padding: 12px;
1995
+ }
1996
+ .dshw img, .dshw video, .dshw iframe { max-width: 100%; }
1997
+
1998
+ .w-page {
1999
+ display: flex; flex-direction: column; position: relative;
2000
+ padding: 0; min-height: 540px; gap: 0;
2001
+ background: var(--w-canvas);
2002
+ }
2003
+ .w-page[data-main="true"] {
2004
+ height: 100%; min-height: 0;
2005
+ padding-block-start: calc(16px + var(--dsh-frame-top-clearance, 0px));
2006
+ padding-inline-end: 24px;
2007
+ padding-block-end: 0;
2008
+ padding-inline-start: max(24px, calc(12px + var(--dsh-frame-leading-clearance, 0px)));
2009
+ overflow: auto;
2010
+ }
2011
+ .w-page.w-embedded, .w-page[data-main="false"] { padding: 0; }
2012
+ .dshw.w-page, .dshw .w-body, .dshw .w-tab-panel { overflow-x: clip; }
2013
+
2014
+ .w-page-header {
2015
+ display: flex; justify-content: space-between; gap: 16px;
2016
+ align-items: center; padding-block-end: 14px;
2017
+ border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--w-border);
2018
+ flex-shrink: 0;
2019
+ }
2020
+ .w-heading { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
2021
+ .w-title { display: flex; align-items: center; gap: 9px; }
2022
+ .w-brand, .w-empty-icon {
2023
+ display: grid; place-items: center; flex: none;
2024
+ color: var(--w-accent);
2025
+ background: var(--dsw-alias-interactive-bg-hover-accent, color-mix(in oklab, var(--w-accent) 12%, transparent));
2026
+ border-radius: var(--dsw-radius-sm, 8px);
2027
+ }
2028
+ .w-brand { width: 28px; height: 28px; }
2029
+ .w-subtitle { font-size: 12.5px; color: var(--w-muted); line-height: 1.5; }
2030
+ .w-header-actions, .w-toolbar, .w-actions {
2031
+ display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0;
2032
+ }
2033
+ .w-header-actions { justify-content: flex-end; margin-inline-start: auto; }
2034
+ .w-body, .w-tabs-layout {
2035
+ display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0;
2036
+ }
2037
+ .w-body { overflow: auto; }
2038
+ .w-body > [data-plugin-update-footer] {
2039
+ box-sizing: border-box; width: min(100%, 1040px);
2040
+ margin: 16px auto 0; padding: 12px 16px 20px;
2041
+ border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--w-border);
2042
+ flex: none;
2043
+ }
2044
+ .w-tab-panel {
2045
+ flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: auto;
2046
+ }
2047
+ .w-tabs {
2048
+ display: flex; align-items: stretch; gap: 6px;
2049
+ border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--w-border);
2050
+ flex-shrink: 0; overflow-x: auto; scrollbar-width: thin; padding-block-start: 4px;
2051
+ }
2052
+ .dshw .w-tabs > button,
2053
+ .dshw[data-dsh-style] .w-tabs > button {
2054
+ border: 0 !important; background: transparent;
2055
+ padding: 9px 10px 11px; white-space: nowrap;
2056
+ font-size: 13.5px; font-weight: 550; cursor: pointer;
2057
+ color: var(--w-muted); display: inline-flex; align-items: center; gap: 6px;
2058
+ border-radius: var(--dsw-radius-xs, 6px) var(--dsw-radius-xs, 6px) 0 0;
2059
+ }
2060
+ .dshw .w-tabs > button:hover:not(:disabled),
2061
+ .dshw[data-dsh-style] .w-tabs > button:hover:not(:disabled) {
2062
+ color: var(--w-text); background: var(--dsw-alias-interactive-bg-hover, var(--w-soft));
2063
+ }
2064
+ .dshw .w-tabs > button[aria-selected="true"],
2065
+ .dshw[data-dsh-style] .w-tabs > button[aria-selected="true"] {
2066
+ color: var(--w-accent);
2067
+ }
2068
+ .w-count, .w-tag {
2069
+ font-size: 11.5px; line-height: 1.45; display: inline-flex; align-items: center;
2070
+ flex-shrink: 0; background: var(--w-soft); border-radius: var(--dsw-radius-xs, 6px);
2071
+ padding: 1px 7px; color: var(--w-muted);
2072
+ }
2073
+ .w-tabs [aria-selected="true"] .w-count, .w-selected .w-tag {
2074
+ color: var(--w-accent); background: var(--w-selected);
2075
+ }
2076
+
2077
+ .dshw .w-button {
2078
+ display: inline-flex; justify-content: center; align-items: center; gap: 6px;
2079
+ background: var(--dsw-alias-bg-base, var(--w-canvas));
2080
+ border: var(--dsh-control-border-width, 1px) solid var(--w-border);
2081
+ border-radius: var(--dsw-radius-sm, 8px);
2082
+ padding: 6px 11px; min-height: 32px; height: auto;
2083
+ line-height: 1.4; font-size: 13px; font-weight: 500;
2084
+ cursor: pointer; text-decoration: none; white-space: normal;
2085
+ box-shadow: var(--dsh-button-shadow, none);
2086
+ }
2087
+ .dshw .w-button:not(:disabled):hover {
2088
+ background: var(--dsw-alias-interactive-bg-hover, var(--w-soft));
2089
+ }
2090
+ .dshw .w-button.w-primary {
2091
+ background: var(--w-primary); border-color: var(--w-primary); color: var(--w-on-primary);
2092
+ }
2093
+ .dshw .w-button.w-primary:not(:disabled):hover {
2094
+ background: var(--dsw-alias-button-primary-hover, var(--w-primary));
2095
+ }
2096
+ .dshw .w-button.w-ghost {
2097
+ background: transparent; border-color: transparent; box-shadow: none;
2098
+ }
2099
+ .dshw .w-button.w-ghost:not(:disabled):hover {
2100
+ background: var(--dsw-alias-interactive-bg-hover, var(--w-soft));
2101
+ }
2102
+ .dshw .w-button.w-danger {
2103
+ color: var(--dsw-alias-state-error-primary, #c83240);
2104
+ }
2105
+ .dshw .w-button.w-danger:not(:disabled):hover {
2106
+ background: var(--dsw-alias-interactive-bg-hover-danger, rgba(200, 50, 64, 0.1));
2107
+ }
2108
+ .dshw .w-icon-button {
2109
+ width: 32px; min-width: 32px; padding-inline: 0; flex: none;
2110
+ }
2111
+ .dshw .w-button svg, .dshw .dsh-fallback-btn-icon {
2112
+ display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
2113
+ }
2114
+
2115
+ .dshw .w-input {
2116
+ display: inline-flex; align-items: center; gap: 8px;
2117
+ width: 100%; min-width: 0; min-height: 34px; padding-inline: 10px;
2118
+ background: var(--dsw-alias-bg-base, var(--w-canvas));
2119
+ border: var(--dsh-control-border-width, 1px) solid var(--w-border);
2120
+ border-radius: var(--dsw-radius-sm, 8px);
2121
+ box-shadow: none;
2122
+ }
2123
+ .dshw .w-input:focus-within {
2124
+ border-color: var(--w-accent);
2125
+ outline: 2px solid color-mix(in oklab, var(--w-accent) 22%, transparent);
2126
+ outline-offset: 1px;
2127
+ }
2128
+ .dshw .w-input > span { display: inline-flex; align-items: center; color: var(--w-muted); flex: none; }
2129
+ .dshw .w-input > input {
2130
+ border: 0 !important; background: transparent !important;
2131
+ padding: 5px 0 !important; min-height: 30px !important;
2132
+ width: 100%; min-width: 0; font: inherit; color: var(--w-text);
2133
+ outline: none !important; box-shadow: none !important;
2134
+ }
2135
+
2136
+ .dshw .w-checkbox {
2137
+ display: inline-flex; align-items: flex-start; gap: 8px;
2138
+ min-width: 0; cursor: pointer; color: inherit;
2139
+ }
2140
+ .dshw .w-checkbox input { margin-block-start: 2px; accent-color: var(--w-accent); }
2141
+ .dshw .w-checkbox-icon > span {
2142
+ position: absolute; inline-size: 1px; block-size: 1px;
2143
+ overflow: hidden; clip-path: inset(50%); white-space: nowrap;
2144
+ }
2145
+
2146
+ .dshw .w-menu { display: inline-block; min-width: 0; }
2147
+ .dshw .w-menu-button { width: 100%; justify-content: space-between; gap: 8px; text-align: start; }
2148
+ .dshw .w-menu-value { display: block; min-width: 0; overflow-wrap: anywhere; }
2149
+
2150
+ .w-muted { color: var(--w-muted); font-size: 12px; line-height: 1.6; }
2151
+ .w-section { padding: 20px 0; border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--w-border); min-width: 0; }
2152
+ .w-section > h3 { margin-block-end: 10px; }
2153
+ .w-section > p + p { margin-block-start: 8px; }
2154
+ .w-fields { display: grid; gap: 14px; min-width: 0; }
2155
+ .w-field { display: grid; gap: 6px; min-width: 0; }
2156
+ .w-field > input, .w-field > select, .w-field > textarea { width: 100%; }
2157
+
2158
+ .w-status {
2159
+ display: flex; align-items: flex-start; gap: 8px;
2160
+ padding: 9px 12px; margin: 10px 0;
2161
+ border: var(--dsh-control-border-width, 0.5px) solid var(--w-border);
2162
+ border-radius: var(--dsw-radius-sm, 8px);
2163
+ background: var(--w-bg); font-size: 12.5px; line-height: 1.55;
2164
+ overflow-wrap: anywhere; flex-shrink: 0;
2165
+ }
2166
+ .w-status > svg { flex-shrink: 0; margin-block-start: 2px; }
2167
+ .w-status-text { min-width: 0; flex: 1; }
2168
+ .w-status-error {
2169
+ background: var(--dsw-alias-interactive-bg-hover-danger, color-mix(in oklab, var(--dsw-alias-state-error-primary, #c83240) 10%, var(--w-canvas)));
2170
+ color: var(--dsw-alias-state-error-primary, #c83240);
2171
+ }
2172
+ .w-status-success { color: var(--dsw-alias-state-success-primary, #24794a); }
2173
+ .w-status-warn {
2174
+ background: var(--dsw-alias-state-warn-tertiary, var(--w-soft));
2175
+ color: var(--dsw-alias-state-warn-label, var(--dsw-alias-state-warn-primary, #8a5a00));
2176
+ }
2177
+
2178
+ .w-empty {
2179
+ display: flex; flex-direction: column; align-items: center; justify-content: center;
2180
+ text-align: center; gap: 10px; width: 100%; max-width: 560px;
2181
+ padding: 40px 20px; margin: auto; min-height: 240px; overflow-wrap: anywhere;
2182
+ }
2183
+ .w-empty-icon { width: 44px; height: 44px; margin-block-end: 4px; }
2184
+ .w-empty h2 { font-size: 16px; }
2185
+ .w-empty .w-muted { font-size: 13px; max-width: 46ch; }
2186
+ .w-empty .w-toolbar { justify-content: center; margin-block-start: 4px; }
2187
+
2188
+ .w-split {
2189
+ display: grid; grid-template-columns: minmax(240px, var(--w-list-width)) minmax(0, 1fr);
2190
+ min-height: 460px; flex: 1; min-width: 0;
2191
+ }
2192
+ .w-master { min-width: 0; border-inline-end: var(--dsh-control-border-width, 0.5px) solid var(--w-border); overflow: auto; padding-block-end: 20px; }
2193
+ .w-detail { min-width: 0; padding: 22px 24px; overflow: auto; overflow-wrap: anywhere; display: flex; flex-direction: column; }
2194
+ .w-master-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px; }
2195
+
2196
+ .w-row {
2197
+ display: flex; gap: 0; min-width: 0; position: relative;
2198
+ border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--w-border);
2199
+ border-inline-start: 3px solid transparent;
2200
+ border-radius: var(--dsw-radius-xs, 6px);
2201
+ }
2202
+ .w-row-select { display: flex; align-items: flex-start; padding: 18px 0 0 12px; }
2203
+ .dshw .w-row-button {
2204
+ display: flex; flex-direction: column; align-items: stretch; gap: 5px;
2205
+ text-align: start; width: 100%; padding: 15px 16px;
2206
+ border: 0; background: transparent; color: inherit; min-width: 0;
2207
+ cursor: pointer; line-height: 1.5;
2208
+ }
2209
+ .w-row-head { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; min-width: 0; }
2210
+ .w-row-head > strong { font-size: 14px; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
2211
+ .w-row-meta, .w-row-description { color: var(--w-muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
2212
+ .w-row-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
2213
+ .w-selected { background: var(--w-selected); border-inline-start-color: var(--w-accent); }
2214
+ .w-back { display: none !important; }
2215
+
2216
+ .w-dialog-modal { padding: 0 !important; border: 0 !important; background: transparent !important; }
2217
+ .w-dialog {
2218
+ width: min(620px, 100%); max-height: min(85dvh, 100%);
2219
+ display: flex; flex-direction: column; min-height: 0;
2220
+ background: var(--dsw-alias-bg-overlay, var(--w-canvas));
2221
+ color: var(--w-text);
2222
+ border: var(--dsh-control-border-width, 0.5px) solid var(--w-border);
2223
+ border-radius: var(--dsw-radius-md, 12px);
2224
+ box-shadow: var(--dsw-elevation-prominent, 0 18px 50px rgba(15, 23, 42, 0.16));
2225
+ overflow: clip;
2226
+ }
2227
+ .w-dialog-header, .w-dialog-footer {
2228
+ display: flex; justify-content: space-between; align-items: center; gap: 12px;
2229
+ padding: 14px 18px; background: var(--dsw-alias-bg-base, var(--w-canvas)); flex-shrink: 0;
2230
+ }
2231
+ .w-dialog-header { border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--w-border); }
2232
+ .w-dialog-header > h2 { font-size: 16px; line-height: 1.4; }
2233
+ .w-dialog-body { overflow: auto; overscroll-behavior: contain; padding: 18px; min-height: 0; }
2234
+ .w-dialog-footer { justify-content: flex-end; flex-wrap: wrap; border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--w-border); }
2235
+
2236
+ .w-preview-empty {
2237
+ display: flex; flex-direction: column; justify-content: center; align-items: center;
2238
+ text-align: center; gap: 10px; aspect-ratio: 16 / 9; min-height: 180px;
2239
+ background: var(--w-bg);
2240
+ border: var(--dsh-control-border-width, 1px) solid var(--w-border);
2241
+ border-radius: var(--dsw-radius-md, 12px);
2242
+ padding: 24px; color: var(--w-muted);
2243
+ }
2244
+
2245
+ @container dsh-workbench (max-width: 1000px) {
2246
+ .w-header-actions { max-width: 65%; }
2247
+ .w-split { grid-template-columns: minmax(240px, 34%) minmax(0, 1fr); }
2248
+ }
2249
+
2250
+ @container dsh-workbench (max-width: 760px) {
2251
+ .w-page-header { gap: 10px; flex-wrap: wrap; padding-block-end: 12px; }
2252
+ .w-heading { flex: 1; min-width: 170px; }
2253
+ .w-header-actions { max-width: 100%; justify-content: flex-start; margin-inline-start: 0; }
2254
+ .w-split { display: block; min-height: 360px; }
2255
+ .w-split[data-selected="false"] > .w-detail { display: none; }
2256
+ .w-split[data-selected="true"] > .w-master { display: none; }
2257
+ .w-master { border-inline-end: 0; }
2258
+ .w-detail { padding: 18px 0; }
2259
+ .w-back { display: inline-flex !important; align-self: flex-start; margin: 0 0 14px !important; }
2260
+ .w-dialog-header, .w-dialog-body, .w-dialog-footer { padding: 14px; }
2261
+ }
2262
+
2263
+ @media (max-width: 700px) {
2264
+ .w-page[data-main="true"] {
2265
+ padding: calc(12px + var(--dsh-frame-top-clearance, 0px)) 14px 0 max(14px, var(--dsh-frame-leading-clearance, 0px));
2266
+ }
2267
+ .w-dialog { width: 100%; }
2268
+ }
2269
+
2270
+ /* 11. Accessibility: Reduced Motion & Forced Colors */
2271
+ @media (prefers-reduced-motion: reduce) {
2272
+ :where([data-dsh-style]) :where(button, [role="button"], a.w-button, [data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row),
2273
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):has([data-dsh-style]) :where(button, [role="button"], a.w-button) {
2274
+ translate: none !important;
2275
+ scale: none !important;
2276
+ transition-property: background-color, border-color, color, opacity;
2277
+ transition-duration: 90ms;
2278
+ }
2279
+ :where([data-dsh-style], [role="dialog"], [role="alertdialog"], dialog) :where(button, [role="button"], summary, a.w-button) svg {
2280
+ animation: none !important;
2281
+ transition: none !important;
2282
+ translate: none !important;
2283
+ scale: none !important;
2284
+ rotate: none !important;
2285
+ }
2286
+ :where([role="dialog"], [role="alertdialog"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {
2287
+ scale: none !important;
2288
+ translate: none !important;
2289
+ transition-duration: 100ms;
2290
+ }
2291
+ .dshw .w-tab-panel,
2292
+ .dshw .ppt-inspector-panel:not([hidden]) {
2293
+ translate: none !important;
2294
+ transition: opacity 90ms linear;
2295
+ }
2296
+ }
2297
+
2298
+ @media (forced-colors: active) {
2299
+ :where([data-dsh-style]) :where(button, input, select, textarea),
2300
+ :where([role="dialog"], [role="alertdialog"], [role="menu"], dialog):where([data-dsh-style], :has([data-dsh-style])) {
2301
+ border: 1px solid ButtonText;
2302
+ }
2303
+ :where([data-dsh-style]) [role="tab"][aria-selected="true"]::after {
2304
+ border-block-end: 3px solid Highlight;
2305
+ }
2306
+ }
609
2307
  `;
2308
+
610
2309
  function Styles() { return h('style', null, styles); }
611
- return { Icon, Button, IconButton, Page, Tabs, Status, Empty, Split, Row, Search, Switch, Dialog, Styles, register, styles };
2310
+
2311
+ return {
2312
+ Icon,
2313
+ Button,
2314
+ IconButton,
2315
+ Input,
2316
+ Checkbox,
2317
+ ChoiceMenu,
2318
+ StyleSwitcher,
2319
+ Page,
2320
+ Tabs,
2321
+ Status,
2322
+ Empty,
2323
+ Split,
2324
+ Row,
2325
+ Search,
2326
+ Switch,
2327
+ Dialog,
2328
+ Styles,
2329
+ register,
2330
+ styles,
2331
+ DSH_STYLES,
2332
+ DSH_STYLE_STORAGE_KEY,
2333
+ DSH_STYLE_EVENT,
2334
+ DSH_DEFAULT_STYLE,
2335
+ normalizeDshStyle,
2336
+ readDshStyle,
2337
+ writeDshStyle,
2338
+ subscribeDshStyle,
2339
+ useDshStyle,
2340
+ createOverlaySyncRef,
2341
+ resolveHostPrimitives,
2342
+ };
612
2343
  }
613
2344
 
614
2345
  // Editable browser entry. Build with node scripts/build-client.mjs.
615
2346
  // Browser source, distributed directly. tsc deliberately does not rewrite this file.
616
2347
  window.__ModuleLoader__.load(__stardustUpdatesWrap({ id: 'dsh-ppt', factory: require => {
617
2348
  const React = require('react');
618
- const W = createWorkbenchUI(React);
2349
+ const W = createWorkbenchUI(React, require);
619
2350
  function pptText(zh, en) { return languageOf() === 'en' ? en : zh; }
620
2351
 
621
2352
  function PptPages({ project, selected, busy, imagePending, onChoose, onDuplicate, dirty, dataDirty }) {
622
2353
  return h('aside', { className: 'ppt-page-rail', 'aria-label': pptText('幻灯片目录', 'Slide outline') },
623
2354
  h('h3', null, pptText('幻灯片', 'Slides')),
624
2355
  h('div', { className: 'ppt-page-buttons' }, project.slides.map((row, index) => h('button', {
625
- type: 'button', key: row.id, 'aria-current': row.id === selected ? 'true' : undefined, disabled: busy || imagePending, onClick: () => onChoose(row),
626
- }, h('span', { className: 'ppt-page-number' }, String(index + 1).padStart(2, '0')), h('span', null, row.title || t('未命名页'))))),
2356
+ type: 'button',
2357
+ key: row.id,
2358
+ className: 'ppt-slide-card',
2359
+ 'data-dsh-card': '',
2360
+ 'aria-current': row.id === selected ? 'true' : undefined,
2361
+ disabled: busy || imagePending,
2362
+ onClick: () => onChoose(row),
2363
+ }, h('span', { className: 'ppt-page-number' }, String(index + 1).padStart(2, '0')), h('span', { className: 'ppt-page-label' }, row.title || t('未命名页'))))),
627
2364
  h(W.Button, { icon: 'copy', className: 'ppt-duplicate', disabled: busy || dirty || imagePending || dataDirty || project.slides.length >= 120, onClick: onDuplicate }, t('复制本页')));
628
2365
  }
629
2366
 
630
2367
  const PPT_WORKBENCH_CSS = `
631
- .ppt-workbench.pptw{--fg:var(--w-text);--fg-muted:var(--w-muted);--bg:var(--w-bg);--bg-surface:var(--w-bg);--border:var(--w-border);max-width:none;margin:0;padding:0}.ppt-workbench.pptw[data-main=true]{padding:calc(24px + var(--dsh-frame-top-clearance,0px)) 28px 0 max(28px,var(--dsh-frame-leading-clearance,0px))}.ppt-workbench .ppt-editor{--ppt-inspector:320px;display:grid;grid-template-columns:190px minmax(0,1fr) var(--ppt-inspector);flex:1;min-height:520px}.ppt-workbench .ppt-editor[data-view=visual],.ppt-workbench .ppt-editor[data-view=rehearsal],.ppt-workbench .ppt-editor[data-view=data]{--ppt-inspector:400px}.ppt-workbench .ppt-page-rail{padding:24px 14px 24px 0;border-inline-end:1px solid var(--w-border);min-width:0;display:flex;flex-direction:column;gap:18px}.ppt-workbench .ppt-page-rail h3{margin:0;font-size:16px}.ppt-workbench .ppt-page-buttons{display:flex;flex-direction:column;gap:4px;max-height:calc(100dvh - 340px);overflow:auto;min-width:0}.ppt-workbench .ppt-page-buttons>button{border:0;border-inline-start:3px solid transparent;border-radius:6px;padding:12px 8px;display:flex;align-items:flex-start;gap:10px;background:transparent;min-width:0;font-size:13px;line-height:1.6;text-align:start;overflow-wrap:anywhere}.ppt-workbench .ppt-page-buttons>button[aria-current=true]{border-inline-start-color:var(--w-accent);background:var(--w-selected);color:var(--w-text)}.ppt-workbench .ppt-page-number{font-variant-numeric:tabular-nums;color:var(--w-muted);font-size:12px;flex-shrink:0}.ppt-workbench .ppt-duplicate{margin-top:auto;font-size:13px}.ppt-workbench .ppt-canvas-region{display:flex;flex-direction:column;gap:14px;padding:24px;background:var(--w-soft);min-width:0}.ppt-workbench .ppt-preview-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ppt-workbench .ppt-preview-tools .w-button{font-size:12px;min-height:32px;padding:7px 9px}.ppt-workbench .ppt-preview-tools [aria-pressed=true]{background:var(--w-bg);border-color:var(--w-accent);color:var(--w-accent)}.ppt-workbench .ppt-preview-tools .w-icon-button{margin-inline-start:auto}.ppt-workbench .preview{width:100%;aspect-ratio:16/9;border:1px solid var(--w-border);border-radius:4px;background:var(--w-bg);box-shadow:0 6px 20px #0001;overflow:hidden;min-height:0;margin:auto 0}.ppt-workbench .preview{position:relative}.ppt-workbench .preview>.ppt-fullscreen-exit{display:none}.ppt-workbench .preview:fullscreen>.ppt-fullscreen-exit{display:inline-flex;position:absolute;inset:16px 16px auto auto;z-index:10;background:#14171c;color:#fff;border:1px solid #ffffff66}.ppt-workbench .preview:fullscreen{width:100vw;height:100vh;aspect-ratio:auto;border:0;border-radius:0;margin:0;background:#14171c;box-shadow:none}.ppt-workbench .preview:fullscreen iframe{background:#14171c}.ppt-workbench .preview .render-page{width:100%;height:100%;object-fit:contain}.ppt-workbench .ppt-preview-help{font-size:12px;color:var(--w-muted);line-height:1.7}.ppt-workbench .ppt-preview-help+details{background:transparent;border:0;border-top:1px solid var(--w-border);border-radius:0;padding:14px 0}.ppt-workbench .ppt-preview-help+details summary{font-size:12px}.ppt-workbench .ppt-inspector{padding:24px 0 24px 22px;border-inline-start:1px solid var(--w-border);min-width:0;overflow-wrap:anywhere}.ppt-workbench .ppt-inspector-panel[hidden]{display:none!important}.ppt-workbench .ppt-inspector .card{border:0;border-bottom:1px solid var(--w-border);border-radius:0;padding:0 0 20px;margin:0 0 20px;background:transparent;box-shadow:none}.ppt-workbench .ppt-inspector h3{font-size:17px;margin:0 0 18px}.ppt-workbench .ppt-inspector .card>div>label,.ppt-workbench .ppt-inspector .card>label{font-size:13px;margin:16px 0 6px;color:var(--w-muted)}.ppt-workbench .ppt-inspector input,.ppt-workbench .ppt-inspector textarea,.ppt-workbench .ppt-inspector select{font-size:14px}.ppt-workbench .ppt-inspector textarea{min-height:72px}.ppt-workbench .ppt-inspector .tools{gap:8px;margin-top:18px}.ppt-workbench .ppt-inspector .tools button{font-size:13px;min-height:34px;padding:7px 9px}.ppt-workbench .ppt-inspector .coaching-grid{grid-template-columns:1fr}.ppt-workbench .ppt-inspector .before-after,.ppt-workbench .ppt-inspector .data-before-after{grid-template-columns:1fr}.ppt-workbench .ppt-inspector .coaching{margin-top:0}.ppt-workbench .ppt-inspector .coaching p,.ppt-workbench .ppt-inspector .data-workbench p{font-size:13px;line-height:1.7}.ppt-workbench .ppt-inspector .coaching blockquote{margin:12px 0;padding-inline-start:12px}.ppt-workbench .ppt-inspector .muted{font-size:12px;color:var(--w-muted)}.ppt-workbench .ppt-inspector .data-workbench .data-controls{grid-template-columns:1fr}.ppt-workbench .ppt-structure{border-top:1px solid var(--w-border);padding-top:16px;margin-top:16px}.ppt-workbench .ppt-structure .w-button{font-size:12px}.ppt-workbench.pptw button.primary{background:var(--w-primary);color:var(--w-on-primary);border-color:var(--w-primary)}.ppt-workbench .ppt-library{max-width:1000px;padding:12px 0 24px}.ppt-workbench .ppt-library .w-row-button{padding:20px 16px;border:0;border-radius:0;background:transparent}.ppt-workbench .notice{border:1px solid var(--w-border);border-radius:8px;background:var(--w-soft);color:var(--w-text)}.ppt-workbench .notice.error{color:var(--dsw-alias-state-error-primary,#ad3636)}.ppt-workbench .ppt-data-warning{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ppt-workbench .ppt-downloads{display:flex;flex-direction:column;gap:16px}.ppt-workbench .ppt-downloads .tools{display:flex;flex-direction:column;align-items:stretch}.ppt-workbench .ppt-downloads button{font-size:14px;min-height:38px}.ppt-workbench .ppt-image-section{border-block:1px solid var(--w-border);margin:20px 0;padding:16px 0}.ppt-workbench .ppt-image-section>summary{font-size:14px}.ppt-workbench .ppt-image-section input,.ppt-workbench .ppt-image-section select{width:100%;margin-bottom:14px}.ppt-workbench .ppt-image-section input[type=file]{font-size:12px}.ppt-workbench :focus-visible{outline:2px solid var(--w-accent);outline-offset:3px}.ppt-workbench .w-dialog{max-width:700px}.ppt-workbench .ppt-inspector .image-preview{max-height:180px;object-fit:contain;background:var(--w-soft)}
632
- @container dsh-workbench (max-width:1100px){.ppt-workbench .ppt-editor{grid-template-columns:160px minmax(0,1fr)}.ppt-workbench .ppt-inspector{grid-column:1/-1;border-inline-start:0;border-top:1px solid var(--w-border);padding:24px 0}.ppt-workbench .ppt-inspector .coaching-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ppt-workbench .ppt-canvas-region{padding-inline-end:0}.ppt-workbench .ppt-page-buttons{max-height:400px}}
633
- @container dsh-workbench (max-width:760px){.ppt-workbench .ppt-editor{display:flex;flex-direction:column;min-height:0}.ppt-workbench .ppt-page-rail{border-inline-end:0;border-bottom:1px solid var(--w-border);padding:16px 0}.ppt-workbench .ppt-page-buttons{display:flex;flex-direction:row;max-height:150px;overflow:auto;gap:8px}.ppt-workbench .ppt-page-buttons>button{min-width:150px;max-width:200px;flex-shrink:0}.ppt-workbench .ppt-duplicate{align-self:flex-start}.ppt-workbench .ppt-canvas-region{padding:18px 0;background:var(--w-bg)}.ppt-workbench .preview{margin:0;min-height:0}.ppt-workbench .ppt-preview-tools .w-icon-button{margin-inline-start:0}.ppt-workbench .ppt-inspector .coaching-grid{grid-template-columns:1fr}.ppt-workbench .ppt-preview-tools .w-button{font-size:12px}.ppt-workbench .ppt-inspector{padding:20px 0}}
634
- @media(max-width:700px){.ppt-workbench.pptw[data-main=true]{padding:calc(16px + var(--dsh-frame-top-clearance,0px)) 16px 0 max(16px,var(--dsh-frame-leading-clearance,0px))}}
2368
+ .ppt-workbench.pptw{--fg:var(--w-text);--fg-muted:var(--w-muted);--bg:var(--w-canvas);--bg-surface:var(--w-bg);--border:var(--w-border);max-width:none;margin:0}
2369
+ .ppt-workbench .ppt-editor{--ppt-inspector:340px;display:grid;grid-template-columns:204px minmax(0,1fr) var(--ppt-inspector);flex:1;min-height:520px}
2370
+ .ppt-workbench .ppt-editor[data-view=visual],.ppt-workbench .ppt-editor[data-view=rehearsal],.ppt-workbench .ppt-editor[data-view=data]{--ppt-inspector:410px}
2371
+ .ppt-workbench .ppt-page-rail{padding:20px 14px 20px 0;border-inline-end:var(--dsh-control-border-width,0.5px) solid var(--w-border);min-width:0;display:flex;flex-direction:column;gap:14px}
2372
+ .ppt-workbench .ppt-page-rail h3{margin:0;font-size:14.5px;color:var(--w-muted);font-weight:600}
2373
+ .ppt-workbench .ppt-page-buttons{display:flex;flex-direction:column;gap:6px;max-height:calc(100dvh - 340px);overflow:auto;overscroll-behavior:contain;min-width:0;padding:2px}
2374
+ .ppt-workbench .ppt-page-buttons>button{border:var(--dsh-control-border-width,1px) solid transparent;border-inline-start:3px solid transparent;border-radius:var(--dsw-radius-sm,8px);padding:10px 10px;display:flex;align-items:flex-start;gap:10px;background:var(--w-canvas);min-width:0;font-size:13px;line-height:1.45;text-align:start;overflow-wrap:anywhere}
2375
+ .ppt-workbench .ppt-page-buttons>button:hover:not(:disabled){background:var(--dsh-surface-spotlight,var(--w-bg));border-color:var(--w-border)}
2376
+ .ppt-workbench .ppt-page-buttons>button[aria-current=true]{border-color:var(--w-border);border-inline-start-color:var(--w-accent);background:var(--w-selected);color:var(--w-text);font-weight:550}
2377
+ .ppt-workbench .ppt-page-number{font-variant-numeric:tabular-nums;color:var(--w-muted);font-size:11.5px;font-weight:600;flex-shrink:0;padding-top:1px}
2378
+ .ppt-workbench .ppt-page-buttons>button[aria-current=true] .ppt-page-number{color:var(--w-accent)}
2379
+ .ppt-workbench .ppt-duplicate{margin-top:auto;font-size:13px}
2380
+ .ppt-workbench .ppt-canvas-region{display:flex;flex-direction:column;gap:14px;padding:20px 22px;background:var(--w-bg);min-width:0}
2381
+ .ppt-workbench .ppt-preview-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
2382
+ .ppt-workbench .ppt-preview-tools .w-button{font-size:12.5px;min-height:30px;padding:5px 10px}
2383
+ .ppt-workbench .ppt-preview-tools [aria-pressed=true]{background:var(--w-selected);border-color:var(--w-accent);color:var(--w-accent);font-weight:600}
2384
+ .ppt-workbench .ppt-preview-tools .w-icon-button{margin-inline-start:auto}
2385
+ .ppt-workbench .preview{width:100%;aspect-ratio:16/9;border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-md,10px);background:var(--w-soft,#f0f4fa);box-shadow:var(--dsw-elevation-panel,0 6px 20px rgba(15,23,42,0.06));overflow:clip;min-height:0;margin:auto 0;position:relative}
2386
+ .ppt-workbench .preview>.ppt-fullscreen-exit{display:none}
2387
+ .ppt-workbench .preview:fullscreen>.ppt-fullscreen-exit{display:inline-flex;position:absolute;inset:16px 16px auto auto;z-index:10;background:var(--w-canvas,#272c36);color:var(--w-text,#e8ecf4);border:1px solid var(--w-border)}
2388
+ .ppt-workbench .preview:fullscreen{width:100dvw;height:100dvh;aspect-ratio:auto;border:0;border-radius:0;margin:0;background:var(--dsw-alias-bg-document-preview,#1f232b);box-shadow:none}
2389
+ .ppt-workbench .preview:fullscreen iframe{background:var(--dsw-alias-bg-document-preview,#1f232b)}
2390
+ .ppt-workbench .preview .render-page{width:100%;height:100%;object-fit:contain}
2391
+ .ppt-workbench .ppt-preview-help{font-size:12px;color:var(--w-muted);line-height:1.65}
2392
+ .ppt-workbench .ppt-preview-help+details{background:var(--w-canvas);border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,8px);padding:12px 14px}
2393
+ .ppt-workbench .ppt-preview-help+details summary{font-size:12.5px}
2394
+ .ppt-workbench .ppt-inspector{padding:20px 0 20px 20px;border-inline-start:var(--dsh-control-border-width,0.5px) solid var(--w-border);min-width:0;overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere}
2395
+ .ppt-workbench .ppt-inspector-panel[hidden]{display:none!important}
2396
+ .ppt-workbench .ppt-inspector .card{border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-md,10px);padding:16px;margin:0 0 16px;background:var(--w-canvas);box-shadow:none}
2397
+ .ppt-workbench .ppt-inspector h3{font-size:15.5px;margin:0 0 14px}
2398
+ .ppt-workbench .ppt-inspector .card>div>label,.ppt-workbench .ppt-inspector .card>label{font-size:12.5px;margin:14px 0 5px;color:var(--w-muted)}
2399
+ .ppt-workbench .ppt-inspector input,.ppt-workbench .ppt-inspector textarea,.ppt-workbench .ppt-inspector select{font-size:13.5px}
2400
+ .ppt-workbench .ppt-inspector textarea{min-height:72px}
2401
+ .ppt-workbench .ppt-inspector .tools{gap:8px;margin-top:16px}
2402
+ .ppt-workbench .ppt-inspector .tools button{font-size:12.5px;min-height:32px;padding:6px 10px}
2403
+ .ppt-workbench .ppt-inspector .coaching-grid{grid-template-columns:1fr}
2404
+ .ppt-workbench .ppt-inspector .before-after,.ppt-workbench .ppt-inspector .data-before-after{grid-template-columns:1fr}
2405
+ .ppt-workbench .ppt-inspector .coaching{margin-top:0}
2406
+ .ppt-workbench .ppt-inspector .coaching p,.ppt-workbench .ppt-inspector .data-workbench p{font-size:13px;line-height:1.65}
2407
+ .ppt-workbench .ppt-inspector .coaching blockquote{margin:10px 0;padding-inline-start:12px}
2408
+ .ppt-workbench .ppt-inspector .muted{font-size:12px;color:var(--w-muted)}
2409
+ .ppt-workbench .ppt-inspector .data-workbench .data-controls{grid-template-columns:1fr}
2410
+ .ppt-workbench .ppt-structure{border-top:var(--dsh-control-border-width,0.5px) solid var(--w-border);padding-top:14px;margin-top:14px}
2411
+ .ppt-workbench .ppt-structure .w-button{font-size:12.5px}
2412
+ .ppt-workbench.pptw button.primary,:is(.ppt-workbench,.ppt-dialog) button.primary{background:var(--w-primary);color:var(--w-on-primary);border-color:var(--w-primary)}
2413
+ .ppt-workbench .ppt-library{max-width:1000px;padding:12px 0 24px}
2414
+ .ppt-workbench .ppt-library .w-row-button{padding:16px;border:0;border-radius:0;background:transparent}
2415
+ :is(.ppt-workbench,.ppt-dialog) .notice{border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,8px);background:var(--w-bg);color:var(--w-text)}
2416
+ :is(.ppt-workbench,.ppt-dialog) .notice.error{color:var(--dsw-alias-state-error-primary,#ad3636);background:var(--dsw-alias-interactive-bg-hover-danger,var(--w-bg))}
2417
+ .ppt-workbench .ppt-data-warning{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
2418
+ :is(.ppt-workbench,.ppt-dialog) .ppt-downloads{display:flex;flex-direction:column;gap:14px}
2419
+ :is(.ppt-workbench,.ppt-dialog) .ppt-downloads .tools{display:flex;flex-direction:column;align-items:stretch;gap:8px}
2420
+ :is(.ppt-workbench,.ppt-dialog) .ppt-downloads .w-button,:is(.ppt-workbench,.ppt-dialog) .ppt-downloads button{font-size:13.5px;min-height:36px;justify-content:flex-start}
2421
+ .ppt-workbench .ppt-image-section{border-block:var(--dsh-control-border-width,0.5px) solid var(--w-border);margin:16px 0;padding:14px 0}
2422
+ .ppt-workbench .ppt-image-section>summary{font-size:13.5px}
2423
+ .ppt-workbench .ppt-image-section input,.ppt-workbench .ppt-image-section select{width:100%;margin-bottom:12px}
2424
+ .ppt-workbench .ppt-image-section input[type=file]{font-size:12px}
2425
+ .ppt-workbench :focus-visible{outline:2px solid var(--w-accent);outline-offset:2px}
2426
+ .ppt-workbench .w-dialog,.ppt-dialog.w-dialog{max-width:680px}
2427
+ .ppt-workbench .ppt-inspector .image-preview{max-height:180px;object-fit:contain;background:var(--w-soft)}
2428
+ @container dsh-workbench (max-width:1100px){.ppt-workbench .ppt-editor{grid-template-columns:170px minmax(0,1fr)}.ppt-workbench .ppt-inspector{grid-column:1/-1;border-inline-start:0;border-top:var(--dsh-control-border-width,0.5px) solid var(--w-border);padding:20px 0}.ppt-workbench .ppt-inspector .coaching-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ppt-workbench .ppt-canvas-region{padding-inline-end:0}.ppt-workbench .ppt-page-buttons{max-height:400px}}
2429
+ @container dsh-workbench (max-width:760px){.ppt-workbench .ppt-editor{display:flex;flex-direction:column;min-height:0}.ppt-workbench .ppt-page-rail{border-inline-end:0;border-bottom:var(--dsh-control-border-width,0.5px) solid var(--w-border);padding:14px 0}.ppt-workbench .ppt-page-buttons{display:flex;flex-direction:row;max-height:150px;overflow:auto;gap:8px}.ppt-workbench .ppt-page-buttons>button{min-width:150px;max-width:210px;flex-shrink:0}.ppt-workbench .ppt-duplicate{align-self:flex-start}.ppt-workbench .ppt-canvas-region{padding:16px 0;background:var(--w-canvas)}.ppt-workbench .preview{margin:0;min-height:0}.ppt-workbench .ppt-preview-tools .w-icon-button{margin-inline-start:0}.ppt-workbench .ppt-inspector .coaching-grid{grid-template-columns:1fr}.ppt-workbench .ppt-preview-tools .w-button{font-size:12px}.ppt-workbench .ppt-inspector{padding:18px 0}}
635
2430
  `;
636
2431
 
637
2432
  // Per-view preferences stay in this plugin instance; user files are never changed.
@@ -657,20 +2452,20 @@ function ProjectLibrary({ items, scope = 'projects', language = 'zh', searchText
657
2452
  h('style', null, PROJECT_LIBRARY_CSS),
658
2453
  h('div', { className: 'project-library-controls' },
659
2454
  h('label', { htmlFor: controlId + '-query' }, t('搜索工程', 'Search projects'),
660
- h('input', { id: controlId + '-query', type: 'search', value: query, placeholder: searchHint, maxLength: 200,
2455
+ h(W.Input, { id: controlId + '-query', icon: 'search', type: 'search', value: query, placeholder: searchHint, maxLength: 200,
661
2456
  onChange: e => change(e.target.value, order), onKeyDown: e => { if (e.key === 'Escape' && query) { e.preventDefault(); e.stopPropagation(); change('', order); } } })),
662
2457
  h('label', { htmlFor: controlId + '-order' }, t('排序', 'Sort by'),
663
2458
  h('select', { id: controlId + '-order', value: order, onChange: e => change(query, e.target.value) },
664
2459
  h('option', { value: 'updated' }, t('最近更新', 'Recently updated')),
665
2460
  h('option', { value: 'oldest' }, t('最早更新', 'Oldest updated')),
666
2461
  h('option', { value: 'title' }, t('标题', 'Title')))),
667
- query ? h(W.Button, { variant: 'ghost', onClick: () => change('', order) }, t('清空搜索', 'Clear search')) : null),
2462
+ query ? h(W.Button, { variant: 'ghost', icon: 'close', onClick: () => change('', order) }, t('清空搜索', 'Clear search')) : null),
668
2463
  h('p', { className: 'w-muted project-library-count', role: 'status', 'aria-live': 'polite' },
669
2464
  t('显示 ', 'Showing ') + visible.length + ' / ' + items.length + t(' 个工程', ' projects')),
670
- visible.length ? visible.map(renderItem) : h(W.Empty, { title: t('没有匹配的工程', 'No matching projects'), icon: 'folder' },
2465
+ visible.length ? h('div', { className: 'project-library-list' }, visible.map(renderItem)) : h(W.Empty, { title: t('没有匹配的工程', 'No matching projects'), icon: 'folder' },
671
2466
  t('换个关键词,或清空搜索查看全部工程。', 'Try another keyword or clear the search to show all projects.')));
672
2467
  }
673
- const PROJECT_LIBRARY_CSS = `.project-library{min-width:0}.project-library-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:12px 0}.project-library-controls>label{display:grid;gap:6px;margin:0!important;min-width:0;color:var(--w-muted);font-size:13px}.project-library-controls>label:first-child{flex:1 1 240px}.project-library-controls>label:nth-child(2){flex:0 1 180px}.project-library-controls input,.project-library-controls select{width:100%;min-width:0;min-height:38px;font:inherit;color:var(--w-text);background:var(--w-bg);border:1px solid var(--w-border);border-radius:8px;padding:8px 10px}.project-library-count{margin:4px 0 12px;font-size:12px}.project-library-controls :focus-visible{outline:2px solid var(--w-accent);outline-offset:3px}@media(max-width:520px){.project-library-controls>label:first-child{flex-basis:100%}.project-library-controls>label:nth-child(2){flex:1 1 160px}}`;
2468
+ const PROJECT_LIBRARY_CSS = `.project-library{min-width:0}.project-library-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:12px 0}.project-library-controls>label{display:grid;gap:6px;margin:0!important;min-width:0;color:var(--w-muted);font-size:12.5px}.project-library-controls>label:first-child{flex:1 1 240px}.project-library-controls>label:nth-child(2){flex:0 1 180px}.project-library-controls select{width:100%;min-width:0;min-height:34px;font:inherit;color:var(--w-text);background:var(--dsw-alias-bg-base,var(--w-canvas));border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,8px);padding:6px 10px}.project-library-list{display:flex;flex-direction:column;gap:6px}.project-library-count{margin:4px 0 12px;font-size:12px}.project-library-controls :focus-visible{outline:2px solid var(--w-accent);outline-offset:2px}@media(max-width:520px){.project-library-controls>label:first-child{flex-basis:100%}.project-library-controls>label:nth-child(2){flex:1 1 160px}}`;
674
2469
 
675
2470
  const { useState, useEffect, useRef, useMemo } = React;
676
2471
  const h = React.createElement;
@@ -795,35 +2590,36 @@ const PROJECT_LIBRARY_CSS = `.project-library{min-width:0}.project-library-contr
795
2590
  const ROUTE = 'api/dsh-ppt/workbench';
796
2591
  const fields = [['title', '标题'], ['subtitle', '副标题'], ['kicker', '眉题'], ['text', '正文'], ['bullets', '要点(每行一条)'], ['notes', '演讲备注']];
797
2592
  const css = `
798
- .pptw {--fg:var(--dsw-alias-label-primary,#27354b);--fg-muted:var(--dsw-alias-label-tertiary,#66768a);--bg:var(--dsw-alias-bg-layer-1,#fff);--bg-surface:var(--dsw-alias-bg-layer-2,#fff);--border:var(--dsw-alias-border-l3,#ccd8e5);color:var(--fg);font:14px/1.6 system-ui,sans-serif;min-width:0;max-width:1140px;margin:0 auto;padding:8px}
799
- .pptw *{box-sizing:border-box}.pptw h2{font-size:22px;margin:0}.pptw h3{font-size:16px;margin:12px 0 6px}
800
- .pptw .muted{color:var(--w-muted,#66768a);font-size:13px}.pptw .tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;align-items:center}
801
- .pptw button{font:inherit;border:1px solid var(--w-border,#ccd8e5);border-radius:9px;background:var(--w-bg,#fff);color:inherit;padding:7px 12px;cursor:pointer;text-align:left;white-space:normal}
802
- .pptw button.primary{background:var(--w-primary,#245ee9);border-color:var(--w-primary,#245ee9);color:var(--w-on-primary,#fff)}.pptw button:disabled{opacity:.45;cursor:default}
803
- .pptw input:not([type=file]),.pptw textarea,.pptw select{font:inherit;color:inherit;width:100%;background:var(--w-bg,#fff);border:1px solid var(--w-border,#c9d5e4);border-radius:8px;padding:8px 10px}
804
- .pptw textarea{resize:vertical}.pptw label{display:block;margin:8px 0 3px}.pptw .layout{display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr);gap:14px}
805
- .pptw .pages{display:flex;flex-direction:column;gap:5px;max-height:480px;overflow:auto}.pptw .pages button[aria-current=true]{background:var(--w-selected,#e9eefc);color:var(--w-accent,#245ee9);border-color:var(--w-accent,#245ee9)}
806
- .pptw .preview{border:1px solid var(--w-border,#ced8e6);border-radius:12px;overflow:hidden;background:var(--w-soft,#f0f4fa);aspect-ratio:16/9;position:relative}
2593
+ .pptw {--fg:var(--dsw-alias-label-primary,var(--w-text,#1e293b));--fg-muted:var(--dsw-alias-label-secondary,var(--w-muted,#64748b));--bg:var(--dsw-alias-bg-base,var(--w-canvas,#fff));--bg-surface:var(--dsw-alias-bg-layer-1,var(--w-bg,#f8fafc));--border:var(--dsw-alias-border-l2,var(--w-border,#e2e8f0));color:var(--fg);min-width:0}
2594
+ .pptw *{box-sizing:border-box}.pptw h2{font-size:20px;margin:0}.pptw h3{font-size:15.5px;margin:10px 0 6px}
2595
+ .pptw .muted{color:var(--w-muted,#64748b);font-size:12.5px}.pptw .tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;align-items:center}
2596
+ .pptw button:not(.w-button):not(.dsh-style-trigger):not(.dsh-style-fallback-item):not(.ppt-slide-card):not([role=tab]):not(.w-row-button){font:inherit;border:var(--dsh-control-border-width,1px) solid var(--w-border,#e2e8f0);border-radius:var(--dsw-radius-sm,8px);background:var(--w-bg,#f8fafc);color:inherit;padding:6px 11px;cursor:pointer;text-align:start;white-space:normal}
2597
+ .pptw button.primary{background:var(--w-primary,#4176e6);border-color:var(--w-primary,#4176e6);color:var(--w-on-primary,#fff)}.pptw button:disabled{opacity:.48;cursor:not-allowed}
2598
+ .pptw input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=range]),.pptw textarea,.pptw select{font:inherit;color:inherit;width:100%;background:var(--dsw-alias-bg-base,var(--w-bg,#fff));border:var(--dsh-control-border-width,1px) solid var(--w-border,#e2e8f0);border-radius:var(--dsw-radius-sm,8px);padding:7px 10px}
2599
+ .pptw .w-input>input{border:0!important;background:transparent!important;padding:5px 0!important}
2600
+ .pptw textarea{resize:vertical}.pptw label:not(.w-checkbox){display:block;margin:8px 0 3px}.pptw .layout{display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr);gap:14px}
2601
+ .pptw .pages{display:flex;flex-direction:column;gap:5px;max-height:480px;overflow:auto}.pptw .pages button[aria-current=true]{background:var(--w-selected,#e9eefc);color:var(--w-accent,#4176e6);border-color:var(--w-accent,#4176e6)}
2602
+ .pptw .preview{border:var(--dsh-control-border-width,1px) solid var(--w-border,#e2e8f0);border-radius:var(--dsw-radius-md,10px);overflow:clip;background:var(--w-soft,#f0f4fa);aspect-ratio:16/9;position:relative}
807
2603
  .pptw iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.pptw .render-page{width:100%;display:block}.pptw .preview .ppt-fullscreen-exit{display:none}.pptw .preview:fullscreen .ppt-fullscreen-exit{display:inline-flex;position:absolute;top:10px;inset-inline-end:10px;z-index:2}
808
- .pptw .notice{border-radius:9px;padding:10px 12px;margin:10px 0;background:color-mix(in srgb,var(--w-accent,#5686fe) 12%,var(--w-bg,#fff));color:var(--w-text);overflow-wrap:anywhere}.pptw .error{background:color-mix(in srgb,var(--dsw-alias-state-error-primary,#f25a5a) 14%,var(--w-bg,#fff))}
809
- .pptw .card{border:1px solid var(--w-border,#d5dfeb);border-radius:12px;padding:12px;margin:10px 0;background:var(--w-bg,#fff)}
810
- .pptw .coaching{margin-top:24px}.pptw .coaching-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
811
- .pptw .coaching label.choice{display:flex;gap:8px;align-items:flex-start}.pptw .coaching input[type=checkbox]{width:auto;flex:none;margin-top:5px}
812
- .pptw .coaching pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:6px 0}.pptw .coaching blockquote{margin:8px 0;padding-left:12px;border-left:3px solid var(--w-border,#ccd8e5);overflow-wrap:anywhere}
2604
+ .pptw .notice{border-radius:var(--dsw-radius-sm,8px);padding:10px 12px;margin:10px 0;background:color-mix(in oklab,var(--w-accent,#4176e6) 10%,var(--w-bg,#f8fafc));color:var(--w-text);overflow-wrap:anywhere}.pptw .error{background:color-mix(in oklab,var(--dsw-alias-state-error-primary,#c83240) 12%,var(--w-bg,#f8fafc))}
2605
+ .pptw .card{border:var(--dsh-control-border-width,1px) solid var(--w-border,#e2e8f0);border-radius:var(--dsw-radius-md,10px);padding:12px;margin:10px 0;background:var(--w-bg,#f8fafc)}
2606
+ .pptw .coaching{margin-top:20px}.pptw .coaching-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
2607
+ .pptw .coaching .choice{margin:6px 0}.pptw .coaching input[type=checkbox]{width:16px;flex:none;margin-top:3px}
2608
+ .pptw .coaching pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:6px 0}.pptw .coaching blockquote{margin:8px 0;padding-inline-start:12px;border-inline-start:3px solid var(--w-border,#e2e8f0);overflow-wrap:anywhere}
813
2609
  .pptw .coaching .card{overflow-wrap:anywhere}.pptw .coaching .before-after{display:grid;grid-template-columns:1fr 1fr;gap:12px}
814
- .pptw .project-list{display:flex;flex-direction:column;gap:8px}.pptw .project-list button{display:block;width:100%}
815
- .pptw .file{font-size:12px;overflow-wrap:anywhere}.pptw .image-preview{width:100%;max-height:160px;object-fit:contain;background:var(--w-soft,#edf2f8);border-radius:8px}
816
- .pptw :focus-visible{outline:3px solid var(--w-accent,#78a8ff);outline-offset:2px}.pptw .dirty{color:var(--dsw-alias-state-warn-primary,#986114);font-size:13px}
817
- .pptw .badge-dirty{color:var(--dsw-alias-state-warn-primary,#986114);font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.35);margin-left:4px}
818
- .pptw .notice button{margin-left:8px;padding:2px 9px;border-radius:6px;border:1px solid currentColor;background:transparent;color:inherit;font-size:12px;cursor:pointer}
819
- [role=dialog]:has(.pptw){width:min(1200px,calc(100vw - 48px))!important;max-width:1200px!important}
820
- @media(max-width:700px){.pptw .layout{grid-template-columns:1fr}.pptw .pages{max-height:180px}.pptw .preview{min-height:190px}.pptw{padding:3px}
2610
+ .pptw .project-list{display:flex;flex-direction:column;gap:8px}.pptw .project-list button{width:100%;justify-content:flex-start}
2611
+ .pptw .file{font-size:12px;overflow-wrap:anywhere}.pptw .image-preview{width:100%;max-height:160px;object-fit:contain;background:var(--w-soft,#f0f4fa);border-radius:var(--dsw-radius-sm,8px)}
2612
+ .pptw :focus-visible{outline:2px solid var(--w-accent,#4176e6);outline-offset:2px}.pptw .dirty{color:var(--dsw-alias-state-warn-primary,#b45309);font-size:13px}
2613
+ .pptw .badge-dirty{color:var(--dsw-alias-state-warn-primary,#b45309);font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--dsw-alias-state-warn-tertiary,rgba(245,158,11,.14));border:1px solid rgba(245,158,11,.32);margin-inline-start:6px}
2614
+ .pptw .notice button{margin-inline-start:8px;padding:2px 9px;border-radius:var(--dsw-radius-xs,6px);border:1px solid currentColor;background:transparent;color:inherit;font-size:12px;cursor:pointer}
2615
+ [role=dialog]:has(.pptw.w-page){width:min(1200px,calc(100dvw - 48px))!important;max-width:1200px!important}
2616
+ @media(max-width:700px){.pptw .layout{grid-template-columns:1fr}.pptw .pages{max-height:180px}.pptw .preview{min-height:190px}
821
2617
  .pptw .coaching-grid,.pptw .coaching .before-after{grid-template-columns:1fr}
822
- [role=dialog]:has(.pptw){width:100%!important;max-width:100%!important;flex-direction:column!important}
823
- [role=dialog]:has(.pptw)>nav+div{min-width:0;width:100%}
824
- [role=dialog]:has(.pptw)>nav+div>div:has(.pptw){padding:12px!important;min-width:0}
825
- [role=dialog]:has(.pptw) nav{width:100%!important;flex-basis:auto!important;border-right:0;max-height:170px;overflow:auto}
826
- [role=dialog]:has(.pptw) nav>div:has(>button){display:flex;flex-direction:row!important;flex-wrap:wrap;flex-shrink:0;gap:4px}
2618
+ [role=dialog]:has(.pptw.w-page){width:100%!important;max-width:100%!important;flex-direction:column!important}
2619
+ [role=dialog]:has(.pptw.w-page)>nav+div{min-width:0;width:100%}
2620
+ [role=dialog]:has(.pptw.w-page)>nav+div>div:has(.pptw.w-page){padding:12px!important;min-width:0}
2621
+ [role=dialog]:has(.pptw.w-page) nav{width:100%!important;flex-basis:auto!important;border-right:0;max-height:170px;overflow:auto}
2622
+ [role=dialog]:has(.pptw.w-page) nav>div:has(>button){display:flex;flex-direction:row!important;flex-wrap:wrap;flex-shrink:0;gap:4px}
827
2623
  }`;
828
2624
  async function action(body, signal) {
829
2625
  const response = await fetch(new URL(ROUTE, document.baseURI), { method: 'POST', credentials: 'same-origin', signal,
@@ -1105,7 +2901,7 @@ const fieldId=React.useId();
1105
2901
  function toggle(set, values, id) { set(values.includes(id) ? values.filter(v => v !== id) : [...values, id]); }
1106
2902
  function pageButton(id) {
1107
2903
  const index = project.slides.findIndex(s => s.id === id);
1108
- return h('button', { disabled: blocked || index < 0, onClick: () => onChoose(id) }, L('查看第 ' + (index + 1) + ' 页', 'View slide ' + (index + 1)));
2904
+ return h(W.Button, { icon: 'right', disabled: blocked || index < 0, onClick: () => onChoose(id) }, L('查看第 ' + (index + 1) + ' 页', 'View slide ' + (index + 1)));
1109
2905
  }
1110
2906
  function source(card) { return card.reference ? h('blockquote', null, h('small', { className: 'muted' }, card.reference === 'material' ? L('补充材料中的原文', 'Quote from supporting material') : L('幻灯片中的原文', 'Quote from slides')), h('pre', null, card.quote)) : h('p', { className: 'muted' }, L('未匹配到材料原文,请核对或补充依据。', 'No matching source quote. Verify or add supporting evidence.')); }
1111
2907
  const last = run?.questions.at(-1);
@@ -1119,18 +2915,18 @@ __stardustUpdatesGuard(React, "dsh-ppt.coaching", { dirty: !!last && !last.feedb
1119
2915
  window.addEventListener('beforeunload', warn);
1120
2916
  return () => window.removeEventListener('beforeunload', warn);
1121
2917
  }, [run?.id, last?.id, last?.feedback, last?.answer, answer]);
1122
- return h('section', { className: 'card coaching', 'aria-label': L('可选演练', 'Optional rehearsal'), onKeyDown: e => { if (e.key === 'Escape' || (e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 's') {
2918
+ return h('section', { className: 'card coaching', 'data-dsh-card': '', 'aria-label': L('可选演练', 'Optional rehearsal'), onKeyDown: e => { if (e.key === 'Escape' || (e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 's') {
1123
2919
  e.stopPropagation();
1124
2920
  if (e.key.toLowerCase() === 's')
1125
2921
  e.preventDefault();
1126
- } } }, h('h3', null, L('想再准备充分一点?', 'Want to prepare further?')), h('p', { className: 'muted' }, L('成品已可下载。以下两项按需开启,不影响直接交付。', 'Your files are ready to download. Both options below are optional.')), h('div', { className: 'tools' }, h('button', { disabled: busy, 'aria-pressed': mode === 'review', onClick: () => configure('review') }, L('AI 预审', 'AI review')), h('button', { disabled: busy, 'aria-pressed': mode === 'practice', onClick: () => configure('practice') }, L('模拟答辩', 'Rehearsal')), mode && h('button', { disabled: busy, onClick: () => { if (canLeave()) {
2922
+ } } }, h('h3', null, L('想再准备充分一点?', 'Want to prepare further?')), h('p', { className: 'muted' }, L('成品已可下载。以下两项按需开启,不影响直接交付。', 'Your files are ready to download. Both options below are optional.')), h('div', { className: 'tools' }, h(W.Button, { icon: 'sparkles', disabled: busy, 'aria-pressed': mode === 'review', onClick: () => configure('review') }, L('AI 预审', 'AI review')), h(W.Button, { icon: 'play', disabled: busy, 'aria-pressed': mode === 'practice', onClick: () => configure('practice') }, L('模拟答辩', 'Rehearsal')), mode && h(W.Button, { variant: 'ghost', icon: 'close', disabled: busy, onClick: () => { if (canLeave()) {
1127
2923
  setMode('');
1128
2924
  accept(null);
1129
2925
  setAnswer('');
1130
- } } }, L('收起', 'Collapse'))), mode && h(React.Fragment, null, error && h('div', { role: 'alert', className: 'notice error' }, error), notice && h('div', { role: 'status', className: 'notice' }, notice), busy && h('div', { role: 'status', className: 'tools' }, L('正在处理…可以继续预览或下载成品。', 'Working… You can still preview or download your presentation.'), h('button', { onClick: stop }, L('停止', 'Stop'))), !run && h(React.Fragment, null, h('p', null, mode === 'review' ? L('AI 根据材料模拟质疑与回答,最多保留 5 个值得改进的问题。', 'AI simulates questions and answers based on your material, keeping up to five useful findings.') : L('AI 一次问一题,你来回答;可随时结束并整理已完成的问答。', 'AI asks one question at a time. You answer and can finish at any point.')), h('div', { className: 'coaching-grid' }, h('label', null, L('模型', 'Model'), h('select', { 'aria-label': L('演练模型', 'Rehearsal model'), value: route, disabled: busy, onChange: e => setRoute(e.target.value) }, h('option', { value: '' }, routes.length ? L('请选择模型', 'Choose a model') : L('暂无可用模型', 'No configured model')), routes.map(r => h('option', { key: modelRouteKey(r), value: modelRouteKey(r) }, r.label)))), h('label', null, L('听众', 'Audience'), h('select', { 'aria-label': L('听众', 'Audience'), value: audience, disabled: busy, onChange: e => setAudience(e.target.value) }, [['general', L('一般听众', 'General audience')], ['management', L('管理层 / 客户', 'Management / clients')], ['academic', L('答辩评委', 'Academic panel')]].map(([v, label]) => h('option', { key: v, value: v }, label)))), h('label', null, L('提问强度', 'Difficulty'), h('select', { 'aria-label': L('提问强度', 'Difficulty'), value: difficulty, disabled: busy, onChange: e => setDifficulty(e.target.value) }, [['gentle', L('温和', 'Gentle')], ['normal', L('普通', 'Normal')], ['strict', L('严格', 'Strict')]].map(([v, label]) => h('option', { key: v, value: v }, label)))), h('label', null, mode === 'review' ? L('预审轮数', 'Review rounds') : L('答辩题数', 'Questions'), h('select', { 'aria-label': mode === 'review' ? L('预审轮数', 'Review rounds') : L('答辩题数', 'Questions'), value: limit, disabled: busy, onChange: e => setLimit(Number(e.target.value)) }, Array.from({ length: mode === 'review' ? 3 : 5 }, (_, i) => h('option', { key: i, value: i + 1 }, String(i + 1))))), h('label', null, L('检查范围', 'Scope'), h('select', { 'aria-label': L('检查范围', 'Scope'), value: scope, disabled: busy, onChange: e => setScope(e.target.value) }, h('option', { value: 'all' }, L('整个工程', 'Whole presentation')), h('option', { value: 'current' }, L('当前页', 'Current slide'))))), h('label', { htmlFor: fieldId + '-ppt-coach-material' }, L('补充材料(可选)', 'Supporting material (optional)')), h('textarea', { id: fieldId + '-ppt-coach-material', rows: 3, maxLength: 20000, value: material, disabled: busy, onChange: e => { reading.current++; setMaterial(e.target.value); } }), h('label', null, L('或导入 TXT / Markdown', 'Or import TXT / Markdown'), h('input', { type: 'file', accept: '.txt,.md,text/plain,text/markdown', disabled: busy, onChange: uploadMaterial })), h('p', { className: 'muted' }, L('将所选页面的文字、图表数据、备注及补充材料发送给所选 DSH 模型,不发送图片文件。最多 ' + maxCalls + ' 次插件调用;模型服务自身的重试与计费规则仍适用。', 'Sends selected slide text, chart data, notes and supporting material to the chosen DSH model. Image files are excluded. Up to ' + maxCalls + ' plugin calls; provider retry and billing rules still apply.')), h('div', { className: 'tools' }, h('button', { disabled: busy || blocked || !findModelRoute(routes, route), onClick: start }, mode === 'review' ? L('开始 AI 预审', 'Start AI review') : L('开始模拟答辩', 'Start rehearsal')), h('button', { disabled: busy, onClick: () => configure(mode) }, L('刷新模型', 'Refresh models'))), blocked && h('p', { className: 'muted' }, L('请先保存或取消幻灯片修改。', 'Save or cancel slide edits first.'))), run && h(React.Fragment, null, h('h3', null, modeName(run.mode) + ' · ' + statusName(run.status)), h('p', { className: 'muted' }, L('修订 ', 'Revision ') + run.revision + ' · ' + run.route.provider + ' / ' + run.route.model + ' · ' + L('调用 ', 'Calls ') + run.usedCalls + '/' + run.maxCalls), h('p', { className: 'muted' }, L('AI 意见不等于事实核验,也不代表真实听众的评价。请先看原文与改动,再决定是否采纳。', 'AI suggestions are not fact checks or predictions of audience feedback. Compare sources and edits before adopting them.')), stale && h('div', { role: 'alert', className: 'notice' }, L('工程已经修改。旧报告仍可导出,但不能继续调用或采纳;请重新开始。', 'The presentation changed. You can export this report, but cannot continue or apply it. Start a new rehearsal.')), run.error && h('p', { className: 'muted' }, languageOf() === 'en' ? run.error.split(' / ').at(-1) : run.error.split(' / ')[0]), run.findings.map(f => {
2926
+ } } }, L('收起', 'Collapse'))), mode && h(React.Fragment, null, error && h('div', { role: 'alert', className: 'notice error' }, error), notice && h('div', { role: 'status', className: 'notice' }, notice), busy && h('div', { role: 'status', className: 'tools' }, L('正在处理…可以继续预览或下载成品。', 'Working… You can still preview or download your presentation.'), h(W.Button, { icon: 'close', onClick: stop }, L('停止', 'Stop'))), !run && h(React.Fragment, null, h('p', null, mode === 'review' ? L('AI 根据材料模拟质疑与回答,最多保留 5 个值得改进的问题。', 'AI simulates questions and answers based on your material, keeping up to five useful findings.') : L('AI 一次问一题,你来回答;可随时结束并整理已完成的问答。', 'AI asks one question at a time. You answer and can finish at any point.')), h('div', { className: 'coaching-grid' }, h('label', null, L('模型', 'Model'), h('select', { 'aria-label': L('演练模型', 'Rehearsal model'), value: route, disabled: busy, onChange: e => setRoute(e.target.value) }, h('option', { value: '' }, routes.length ? L('请选择模型', 'Choose a model') : L('暂无可用模型', 'No configured model')), routes.map(r => h('option', { key: modelRouteKey(r), value: modelRouteKey(r) }, r.label)))), h('label', null, L('听众', 'Audience'), h('select', { 'aria-label': L('听众', 'Audience'), value: audience, disabled: busy, onChange: e => setAudience(e.target.value) }, [['general', L('一般听众', 'General audience')], ['management', L('管理层 / 客户', 'Management / clients')], ['academic', L('答辩评委', 'Academic panel')]].map(([v, label]) => h('option', { key: v, value: v }, label)))), h('label', null, L('提问强度', 'Difficulty'), h('select', { 'aria-label': L('提问强度', 'Difficulty'), value: difficulty, disabled: busy, onChange: e => setDifficulty(e.target.value) }, [['gentle', L('温和', 'Gentle')], ['normal', L('普通', 'Normal')], ['strict', L('严格', 'Strict')]].map(([v, label]) => h('option', { key: v, value: v }, label)))), h('label', null, mode === 'review' ? L('预审轮数', 'Review rounds') : L('答辩题数', 'Questions'), h('select', { 'aria-label': mode === 'review' ? L('预审轮数', 'Review rounds') : L('答辩题数', 'Questions'), value: limit, disabled: busy, onChange: e => setLimit(Number(e.target.value)) }, Array.from({ length: mode === 'review' ? 3 : 5 }, (_, i) => h('option', { key: i, value: i + 1 }, String(i + 1))))), h('label', null, L('检查范围', 'Scope'), h('select', { 'aria-label': L('检查范围', 'Scope'), value: scope, disabled: busy, onChange: e => setScope(e.target.value) }, h('option', { value: 'all' }, L('整个工程', 'Whole presentation')), h('option', { value: 'current' }, L('当前页', 'Current slide'))))), h('label', { htmlFor: fieldId + '-ppt-coach-material' }, L('补充材料(可选)', 'Supporting material (optional)')), h('textarea', { id: fieldId + '-ppt-coach-material', rows: 3, maxLength: 20000, value: material, disabled: busy, onChange: e => { reading.current++; setMaterial(e.target.value); } }), h('label', null, L('或导入 TXT / Markdown', 'Or import TXT / Markdown'), h('input', { type: 'file', accept: '.txt,.md,text/plain,text/markdown', disabled: busy, onChange: uploadMaterial })), h('p', { className: 'muted' }, L('将所选页面的文字、图表数据、备注及补充材料发送给所选 DSH 模型,不发送图片文件。最多 ' + maxCalls + ' 次插件调用;模型服务自身的重试与计费规则仍适用。', 'Sends selected slide text, chart data, notes and supporting material to the chosen DSH model. Image files are excluded. Up to ' + maxCalls + ' plugin calls; provider retry and billing rules still apply.')), h('div', { className: 'tools' }, h(W.Button, { variant: 'primary', icon: 'play', disabled: busy || blocked || !findModelRoute(routes, route), onClick: start }, mode === 'review' ? L('开始 AI 预审', 'Start AI review') : L('开始模拟答辩', 'Start rehearsal')), h(W.Button, { icon: 'refresh', 'aria-busy': busy ? 'true' : undefined, disabled: busy, onClick: () => configure(mode) }, L('刷新模型', 'Refresh models'))), blocked && h('p', { className: 'muted' }, L('请先保存或取消幻灯片修改。', 'Save or cancel slide edits first.'))), run && h(React.Fragment, null, h('h3', null, modeName(run.mode) + ' · ' + statusName(run.status)), h('p', { className: 'muted' }, L('修订 ', 'Revision ') + run.revision + ' · ' + run.route.provider + ' / ' + run.route.model + ' · ' + L('调用 ', 'Calls ') + run.usedCalls + '/' + run.maxCalls), h('p', { className: 'muted' }, L('AI 意见不等于事实核验,也不代表真实听众的评价。请先看原文与改动,再决定是否采纳。', 'AI suggestions are not fact checks or predictions of audience feedback. Compare sources and edits before adopting them.')), stale && h('div', { role: 'alert', className: 'notice' }, L('工程已经修改。旧报告仍可导出,但不能继续调用或采纳;请重新开始。', 'The presentation changed. You can export this report, but cannot continue or apply it. Start a new rehearsal.')), run.error && h('p', { className: 'muted' }, languageOf() === 'en' ? run.error.split(' / ').at(-1) : run.error.split(' / ')[0]), run.findings.map(f => {
1131
2927
  const slide = project.slides.find(s => s.id === f.slideId);
1132
- return h('article', { key: f.id, className: 'card' }, h('strong', null, kindName(f.kind) + ' · ' + f.issue), h('div', { className: 'tools' }, pageButton(f.slideId)), h('p', null, f.question), h('p', null, f.answer), h('p', null, f.suggestion), source(f), f.patch && h(React.Fragment, null, h('details', null, h('summary', null, L('比较原文和建议', 'Compare before and after')), Object.entries(f.patch).map(([key, value]) => h('div', { key }, h('strong', null, t(fields.find(([name]) => name === key)?.[1] || key)), h('div', { className: 'before-after' }, h('div', null, h('small', null, L('原文', 'Before')), h('pre', null, Array.isArray(slide?.[key]) ? slide[key].join('\n') : slide?.[key] || '')), h('div', null, h('small', null, L('建议', 'After')), h('pre', null, Array.isArray(value) ? value.join('\n') : value)))))), h('label', { className: 'choice' }, h('input', { type: 'checkbox', disabled: busy || stale, checked: patches.includes(f.id), onChange: () => toggle(setPatches, patches, f.id) }), L('采纳这项表达修改', 'Adopt this expression edit'))), h('label', { className: 'choice' }, h('input', { type: 'checkbox', disabled: busy || stale, checked: backups.includes(f.id), onChange: () => toggle(setBackups, backups, f.id) }), L('选为备用问答页', 'Add as a backup Q&A slide')));
1133
- }), run.mode === 'review' && run.status === 'complete' && !run.findings.length && h('p', null, L('本次未提出明显问题。仍建议检查事实、字体和最终 PPTX。', 'No findings this time. Still check facts, fonts and the final PPTX.')), run.questions.map((q, i) => h('article', { key: q.id, className: 'card' }, h('strong', null, (i + 1) + '. ' + q.question), h('div', { className: 'tools' }, pageButton(q.slideId)), q.answer && h('p', null, L('你的回答:', 'Your answer: ') + q.answer), q.feedback && h('p', null, q.feedback), q.needsEvidence && h('p', { className: 'muted' }, L('待补充依据', 'Evidence needed')), source(q), q.answer && h('label', { className: 'choice' }, h('input', { type: 'checkbox', disabled: busy || stale, checked: backups.includes(q.id), onChange: () => toggle(setBackups, backups, q.id) }), L('选为备用问答页', 'Add as a backup Q&A slide')))), run.mode === 'practice' && last && !last.feedback && run.status !== 'complete' && !stale && h(React.Fragment, null, h('label', { htmlFor: 'ppt-coach-answer' }, L('你的回答', 'Your answer')), h('textarea', { id: 'ppt-coach-answer', maxLength: 4000, rows: 4, value: answer, disabled: busy, onChange: e => setAnswer(e.target.value) }), h('button', { disabled: busy || blocked || !answer.trim() || run.usedCalls >= run.maxCalls, onClick: () => task(signal => advance(run, signal, answer)) }, L('提交回答,继续', 'Submit answer and continue'))), h('div', { className: 'tools' }, h('button', { disabled: busy, onClick: exportReport }, L('下载问答与材料清单', 'Download Q&A and evidence checklist')), h('button', { disabled: busy || blocked || stale || !(patches.length + backups.length), onClick: applySelected }, L('将所选内容保存为副本', 'Save selected changes as a copy')), run.status !== 'complete' && h('button', { disabled: busy || run.status === 'busy', onClick: finish }, L('结束并整理已有结果', 'Finish with current results')), h('button', { disabled: busy, onClick: () => configure(run.mode) }, L('重新开始', 'Start again')), h('button', { disabled: busy || run.status === 'busy', onClick: removeReport }, L('删除本次记录', 'Delete this record'))), h('p', { className: 'muted' }, L('采纳后会生成新副本,原稿保留;副本中可“撤销上次修改”。备用页包含 AI 演练标记,请核对后再对外展示。', 'Adoption creates a copy and keeps the original. Undo last change also works in the copy. Backup slides identify AI rehearsal content; verify before presenting.'))), history.length > 0 && h('details', null, h('summary', null, L('本机历史记录(', 'Local history (') + history.length + L(')', ')')), h('div', { className: 'project-list' }, history.map(item => h('button', { key: item.id, disabled: busy, onClick: () => openReport(item.id) }, modeName(item.mode) + ' · ' + L('修订 ', 'Revision ') + item.revision + ' · ' + new Date(item.createdAt).toLocaleString(languageOf() === 'en' ? 'en-US' : 'zh-CN')))))));
2928
+ return h('article', { key: f.id, className: 'card', 'data-dsh-card': '' }, h('strong', null, kindName(f.kind) + ' · ' + f.issue), h('div', { className: 'tools' }, pageButton(f.slideId)), h('p', null, f.question), h('p', null, f.answer), h('p', null, f.suggestion), source(f), f.patch && h(React.Fragment, null, h('details', null, h('summary', null, L('比较原文和建议', 'Compare before and after')), Object.entries(f.patch).map(([key, value]) => h('div', { key }, h('strong', null, t(fields.find(([name]) => name === key)?.[1] || key)), h('div', { className: 'before-after' }, h('div', null, h('small', null, L('原文', 'Before')), h('pre', null, Array.isArray(slide?.[key]) ? slide[key].join('\n') : slide?.[key] || '')), h('div', null, h('small', null, L('建议', 'After')), h('pre', null, Array.isArray(value) ? value.join('\n') : value)))))), h(W.Checkbox, { className: 'choice', disabled: busy || stale, checked: patches.includes(f.id), onChange: () => toggle(setPatches, patches, f.id), label: L('采纳这项表达修改', 'Adopt this expression edit') })), h(W.Checkbox, { className: 'choice', disabled: busy || stale, checked: backups.includes(f.id), onChange: () => toggle(setBackups, backups, f.id), label: L('选为备用问答页', 'Add as a backup Q&A slide') }));
2929
+ }), run.mode === 'review' && run.status === 'complete' && !run.findings.length && h('p', null, L('本次未提出明显问题。仍建议检查事实、字体和最终 PPTX。', 'No findings this time. Still check facts, fonts and the final PPTX.')), run.questions.map((q, i) => h('article', { key: q.id, className: 'card', 'data-dsh-card': '' }, h('strong', null, (i + 1) + '. ' + q.question), h('div', { className: 'tools' }, pageButton(q.slideId)), q.answer && h('p', null, L('你的回答:', 'Your answer: ') + q.answer), q.feedback && h('p', null, q.feedback), q.needsEvidence && h('p', { className: 'muted' }, L('待补充依据', 'Evidence needed')), source(q), q.answer && h(W.Checkbox, { className: 'choice', disabled: busy || stale, checked: backups.includes(q.id), onChange: () => toggle(setBackups, backups, q.id), label: L('选为备用问答页', 'Add as a backup Q&A slide') }))), run.mode === 'practice' && last && !last.feedback && run.status !== 'complete' && !stale && h(React.Fragment, null, h('label', { htmlFor: 'ppt-coach-answer' }, L('你的回答', 'Your answer')), h('textarea', { id: 'ppt-coach-answer', maxLength: 4000, rows: 4, value: answer, disabled: busy, onChange: e => setAnswer(e.target.value) }), h(W.Button, { variant: 'primary', icon: 'send', disabled: busy || blocked || !answer.trim() || run.usedCalls >= run.maxCalls, onClick: () => task(signal => advance(run, signal, answer)) }, L('提交回答,继续', 'Submit answer and continue'))), h('div', { className: 'tools' }, h(W.Button, { icon: 'download', disabled: busy, onClick: exportReport }, L('下载问答与材料清单', 'Download Q&A and evidence checklist')), h(W.Button, { variant: 'primary', icon: 'copy', disabled: busy || blocked || stale || !(patches.length + backups.length), onClick: applySelected }, L('将所选内容保存为副本', 'Save selected changes as a copy')), run.status !== 'complete' && h(W.Button, { icon: 'check', disabled: busy || run.status === 'busy', onClick: finish }, L('结束并整理已有结果', 'Finish with current results')), h(W.Button, { icon: 'refresh', disabled: busy, onClick: () => configure(run.mode) }, L('重新开始', 'Start again')), h(W.Button, { variant: 'danger', icon: 'trash', disabled: busy || run.status === 'busy', onClick: removeReport }, L('删除本次记录', 'Delete this record'))), h('p', { className: 'muted' }, L('采纳后会生成新副本,原稿保留;副本中可“撤销上次修改”。备用页包含 AI 演练标记,请核对后再对外展示。', 'Adoption creates a copy and keeps the original. Undo last change also works in the copy. Backup slides identify AI rehearsal content; verify before presenting.'))), history.length > 0 && h('details', null, h('summary', null, L('本机历史记录(', 'Local history (') + history.length + L(')', ')')), h('div', { className: 'project-list' }, history.map(item => h(W.Button, { key: item.id, disabled: busy, onClick: () => openReport(item.id) }, modeName(item.mode) + ' · ' + L('修订 ', 'Revision ') + item.revision + ' · ' + new Date(item.createdAt).toLocaleString(languageOf() === 'en' ? 'en-US' : 'zh-CN')))))));
1134
2930
  }
1135
2931
  const dataCss = `.pptw .data-workbench{margin-top:18px}.pptw .data-workbench details{margin:12px 0}.pptw .data-workbench summary{cursor:pointer;font-weight:600}.pptw .data-workbench pre,.pptw .data-workbench code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;max-height:220px;overflow:auto}.pptw .data-input-row{margin:15px 0}.pptw .data-input-controls{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:12px;align-items:center}.pptw .data-input-controls input[type=range]{accent-color:var(--dsw-alias-brand-primary,#2563eb)}.pptw .data-before-after{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.pptw .data-before-after pre{padding:10px;border:1px solid var(--dsw-alias-divider-default,#b8c0cc);border-radius:8px}.pptw .data-copy{display:flex;gap:8px;align-items:center}.pptw .data-copy input{width:auto}@media(max-width:640px){.pptw .data-before-after{grid-template-columns:minmax(0,1fr)}.pptw .data-input-controls{grid-template-columns:minmax(0,1fr) 100px}}`;
1136
2932
  function VisualPanel({ project, selected, blocked, onBusy, onAdopt }) {
@@ -1264,8 +3060,8 @@ __stardustUpdatesGuard(React, "dsh-ppt.visual", { busy: busy || loading });
1264
3060
  setCompare(last.ids[0]); }, [run?.id, run?.rounds.length, run?.rounds.at(-1)?.rendered, busy, compare]);
1265
3061
  const first = run?.rounds[0], last = run?.rounds.at(-1), stale = run && (run.stale || run.revision !== project.revision), count = scope === 'all' ? project.slides.length : 1;
1266
3062
  const callCap = Array.from({ length: repairs + 1 }, (_, i) => Math.ceil(count * 2 ** i / 2)).reduce((a, b) => a + b, 0);
1267
- function image(src, round, label) { return h('figure', { style: { margin: 0, minWidth: 0 } }, h('figcaption', null, label), src ? h('div', { style: { position: 'relative', lineHeight: 0 } }, h('img', { src, alt: label, style: { width: '100%', height: 'auto', display: 'block' } }), (round?.findings || []).filter(f => f.slideId === compare).map((f, i) => h('span', { key: i, title: f.issue, style: { position: 'absolute', pointerEvents: 'none', border: '2px solid #f97316', boxSizing: 'border-box', left: f.box[0] * 100 + '%', top: f.box[1] * 100 + '%', width: f.box[2] * 100 + '%', height: f.box[3] * 100 + '%' } }))) : h('p', { className: 'muted' }, round === first && !first.ids.includes(compare) ? L('此页由拆分生成,没有对应的原页画面。', 'This page was created by a split and has no original counterpart.') : L('画面尚未载入,请重新选择页面。', 'Image not loaded; select the slide again.'))); }
1268
- return h('section', { className: 'card coaching', 'aria-label': L('视觉检查与修复', 'Visual review and repair') }, h('h3', null, L('让 AI 看完成品,再修排版', 'Let AI inspect the finished slides and repair formatting')), h('p', { className: 'muted' }, L('可选功能。检查实际 PPTX 画面,另存修复副本,再渲染复查。原稿保留。', 'Optional. Inspect actual PPTX images, save a repaired copy, and render it again for rechecking. The original is kept.')), !expanded ? h('button', { disabled: busy || blocked, onClick: configure }, L('视觉检查与修复', 'Visual review and repair')) : h(React.Fragment, null, error && h('div', { role: 'alert', className: 'notice error' }, error), !run && h(React.Fragment, null, h('div', { className: 'coaching-grid' }, h('label', null, L('视觉模型', 'Vision model'), h('select', { 'aria-label': L('视觉模型', 'Vision model'), value: route, disabled: busy, onChange: e => setRoute(e.target.value) }, h('option', { value: '' }, L('请选择', 'Choose a model')), routes.map(m => h('option', { key: modelRouteKey(m), value: modelRouteKey(m) }, m.label)))), h('label', null, L('检查范围', 'Review scope'), h('select', { 'aria-label': L('视觉检查范围', 'Visual review scope'), value: scope, disabled: busy, onChange: e => setScope(e.target.value) }, h('option', { value: 'all', disabled: project.slides.length > 12 }, L('全部页面(最多 12 页)', 'All slides (up to 12)')), h('option', { value: 'current' }, L('当前页', 'Current slide')))), h('label', null, L('自动修复上限', 'Repair limit'), h('select', { 'aria-label': L('自动修复上限', 'Repair limit'), value: repairs, disabled: busy, onChange: e => setRepairs(Number(e.target.value)) }, h('option', { value: 0 }, L('仅看图检查', 'Inspect only')), h('option', { value: 1 }, L('最多修复 1 轮(推荐)', 'Up to 1 repair round (recommended)')), h('option', { value: 2 }, L('最多修复 2 轮', 'Up to 2 repair rounds'))))), !routes.length && h('p', { className: 'notice' }, L('未找到声明支持图片输入的模型。请在 DSH 模型设置中检查图片输入配置;普通生成和下载仍可使用。', 'No model declares image input. Check the image-input configuration in DSH model settings; normal creation and downloads remain available.')), h('p', null, L('会向所选模型发送 ' + count + ' 页的渲染图片和页面文字;拆页后会重新检查新增页面,最多 ' + callCap + ' 次模型调用。', 'Sends rendered images and text from ' + count + ' slides to the selected model. New split pages are rechecked, with up to ' + callCap + ' model calls.')), h('p', { className: 'muted' }, L('只调整字号、拆页、图表方向和图片裁切,不改写原文、数字或公式。可随时停止;服务商仍可能收取已发起调用的费用。', 'Changes font sizes, pagination, chart orientation and image cropping. Original text, numbers and formulas are preserved. You can stop at any time; calls already sent may still be billed.')), h('div', { className: 'tools' }, h('button', { className: 'primary', disabled: busy || blocked || !findModelRoute(routes, route) || count > 12, onClick: start }, L('开始看图检查', 'Start visual review')), h('button', { disabled: busy, onClick: configure }, L('刷新视觉模型', 'Refresh vision models')))), run && h(React.Fragment, null, h('p', { role: 'status' }, (run.status === 'paused' ? L('检查已停止', 'Review stopped') : run.status === 'ready' && !busy ? L('等待检查', 'Review ready') : phaseName(run.phase)) + ' · ' + L('已调用 ', 'Calls ') + run.usedCalls + '/' + run.maxCalls + ' · ' + L('本轮已检查 ', 'Slides checked this pass ') + (last?.cursor || 0) + '/' + (last?.ids.length || 0)), busy && h('button', { onClick: stop }, L('停止视觉检查', 'Stop visual review')), run.error && h('p', { role: 'alert', className: 'notice error' }, failureText(run.error)), stale && h('p', { className: 'notice' }, L('工程或成品已变化,旧记录可查看,但不能继续或采纳。', 'The project or output changed. This old record is readable, but cannot be continued or adopted.')), run.status === 'complete' && h('p', { className: 'notice' }, last.findings.length ? L('复查仍有 ' + last.findings.length + ' 个问题,请查看标记和说明。', 'Recheck still found ' + last.findings.length + ' issues. Review the highlighted regions and notes.') : L('AI 在本次范围内未发现明显视觉问题;这是一份模型检查记录。', 'AI found no obvious visual issues in this scope. This is a model review record.')), (last?.missingFonts || []).length > 0 && h('p', { className: 'notice error' }, L('渲染引擎报告缺失字体:', 'Renderer reported missing fonts: ') + last.missingFonts.join(', ')), run.rounds.map((r, i) => h('details', { key: i, open: i === run.rounds.length - 1 }, h('summary', null, L('检查轮次 ', 'Inspection pass ') + i + ' · ' + r.cursor + '/' + r.ids.length), r.findings.map((f, j) => h('p', { key: j }, h('strong', null, (project.slides.findIndex(s => s.id === f.slideId) >= 0 ? L('原第 ' + (project.slides.findIndex(s => s.id === f.slideId) + 1) + ' 页', 'Original slide ' + (project.slides.findIndex(s => s.id === f.slideId) + 1)) : L('拆分页', 'Split page')) + ' · '), f.issue, h('br'), h('small', { className: 'muted' }, f.action ? actionName(f.action) : L('需要人工判断', 'Needs manual review')))), r.applied.length > 0 && h('ul', null, r.applied.map((a, j) => h('li', { key: j }, L('已应用:', 'Applied: ') + actionName(a)))))), !busy && last?.rendered && h(React.Fragment, null, h('label', null, L('查看前后画面(橙框为 AI 定位区域)', 'Compare images (orange boxes mark AI findings)'), h('select', { 'aria-label': L('对比页面', 'Comparison slide'), value: compare, onChange: e => setCompare(e.target.value) }, last.ids.map((id, i) => h('option', { value: id, key: id }, String(i + 1) + '. ' + (project.slides.find(s => s.id === id)?.title || L('拆分页', 'Split page')))))), loading ? h('p', { role: 'status' }, L('正在载入画面…', 'Loading images…')) : h('div', { className: 'before-after' }, image(pictures.before, first, L('原稿 · 实际 PPTX', 'Original · actual PPTX')), image(pictures.after, last, run.rounds.length > 1 ? L('修复后 · 实际 PPTX', 'Repaired · actual PPTX') : L('本次检查画面', 'Reviewed image')))), h('div', { className: 'tools' }, h('button', { className: 'primary', disabled: busy || blocked || !run.canAdopt || stale, onClick: adopt }, last?.findings.length ? L('打开修复副本(仍有待处理问题)', 'Open repaired copy (issues remain)') : L('采用修复副本', 'Use repaired copy')), h('button', { disabled: busy, onClick: download }, L('下载视觉检查记录', 'Download visual review')), h('button', { disabled: busy || run.status === 'busy', onClick: remove }, L('删除检查记录', 'Delete review')), h('button', { disabled: busy, onClick: () => { accept(null); setCompare(''); setPictures({}); configure(); } }, L('新建视觉检查', 'New visual review')))), !busy && history.length > 0 && h('details', null, h('summary', null, L('本机视觉检查历史', 'Local visual review history')), h('div', { className: 'project-list' }, history.map(item => h('button', { key: item.id, onClick: () => open(item.id) }, L('修订 ', 'Revision ') + item.revision + ' · ' + new Date(item.createdAt).toLocaleString(languageOf() === 'en' ? 'en-US' : 'zh-CN'))))), h('button', { disabled: busy, onClick: () => setExpanded(false) }, L('收起视觉检查', 'Collapse visual review'))));
3063
+ function image(src, round, label) { return h('figure', { style: { margin: 0, minWidth: 0 } }, h('figcaption', null, label), src ? h('div', { style: { position: 'relative', lineHeight: 0 } }, h('img', { src, alt: label, style: { width: '100%', height: 'auto', display: 'block' } }), (round?.findings || []).filter(f => f.slideId === compare).map((f, i) => h('span', { key: i, title: f.issue, style: { position: 'absolute', pointerEvents: 'none', border: '2px solid var(--dsw-alias-state-warn-primary,#f97316)', boxSizing: 'border-box', left: f.box[0] * 100 + '%', top: f.box[1] * 100 + '%', width: f.box[2] * 100 + '%', height: f.box[3] * 100 + '%' } }))) : h('p', { className: 'muted' }, round === first && !first.ids.includes(compare) ? L('此页由拆分生成,没有对应的原页画面。', 'This page was created by a split and has no original counterpart.') : L('画面尚未载入,请重新选择页面。', 'Image not loaded; select the slide again.'))); }
3064
+ return h('section', { className: 'card coaching', 'data-dsh-card': '', 'aria-label': L('视觉检查与修复', 'Visual review and repair') }, h('h3', null, L('让 AI 看完成品,再修排版', 'Let AI inspect the finished slides and repair formatting')), h('p', { className: 'muted' }, L('可选功能。检查实际 PPTX 画面,另存修复副本,再渲染复查。原稿保留。', 'Optional. Inspect actual PPTX images, save a repaired copy, and render it again for rechecking. The original is kept.')), !expanded ? h(W.Button, { icon: 'sparkles', disabled: busy || blocked, onClick: configure }, L('视觉检查与修复', 'Visual review and repair')) : h(React.Fragment, null, error && h('div', { role: 'alert', className: 'notice error' }, error), !run && h(React.Fragment, null, h('div', { className: 'coaching-grid' }, h('label', null, L('视觉模型', 'Vision model'), h('select', { 'aria-label': L('视觉模型', 'Vision model'), value: route, disabled: busy, onChange: e => setRoute(e.target.value) }, h('option', { value: '' }, L('请选择', 'Choose a model')), routes.map(m => h('option', { key: modelRouteKey(m), value: modelRouteKey(m) }, m.label)))), h('label', null, L('检查范围', 'Review scope'), h('select', { 'aria-label': L('视觉检查范围', 'Visual review scope'), value: scope, disabled: busy, onChange: e => setScope(e.target.value) }, h('option', { value: 'all', disabled: project.slides.length > 12 }, L('全部页面(最多 12 页)', 'All slides (up to 12)')), h('option', { value: 'current' }, L('当前页', 'Current slide')))), h('label', null, L('自动修复上限', 'Repair limit'), h('select', { 'aria-label': L('自动修复上限', 'Repair limit'), value: repairs, disabled: busy, onChange: e => setRepairs(Number(e.target.value)) }, h('option', { value: 0 }, L('仅看图检查', 'Inspect only')), h('option', { value: 1 }, L('最多修复 1 轮(推荐)', 'Up to 1 repair round (recommended)')), h('option', { value: 2 }, L('最多修复 2 轮', 'Up to 2 repair rounds'))))), !routes.length && h('p', { className: 'notice' }, L('未找到声明支持图片输入的模型。请在 DSH 模型设置中检查图片输入配置;普通生成和下载仍可使用。', 'No model declares image input. Check the image-input configuration in DSH model settings; normal creation and downloads remain available.')), h('p', null, L('会向所选模型发送 ' + count + ' 页的渲染图片和页面文字;拆页后会重新检查新增页面,最多 ' + callCap + ' 次模型调用。', 'Sends rendered images and text from ' + count + ' slides to the selected model. New split pages are rechecked, with up to ' + callCap + ' model calls.')), h('p', { className: 'muted' }, L('只调整字号、拆页、图表方向和图片裁切,不改写原文、数字或公式。可随时停止;服务商仍可能收取已发起调用的费用。', 'Changes font sizes, pagination, chart orientation and image cropping. Original text, numbers and formulas are preserved. You can stop at any time; calls already sent may still be billed.')), h('div', { className: 'tools' }, h(W.Button, { variant: 'primary', icon: 'play', disabled: busy || blocked || !findModelRoute(routes, route) || count > 12, onClick: start }, L('开始看图检查', 'Start visual review')), h(W.Button, { icon: 'refresh', 'aria-busy': busy ? 'true' : undefined, disabled: busy, onClick: configure }, L('刷新视觉模型', 'Refresh vision models')))), run && h(React.Fragment, null, h('p', { role: 'status' }, (run.status === 'paused' ? L('检查已停止', 'Review stopped') : run.status === 'ready' && !busy ? L('等待检查', 'Review ready') : phaseName(run.phase)) + ' · ' + L('已调用 ', 'Calls ') + run.usedCalls + '/' + run.maxCalls + ' · ' + L('本轮已检查 ', 'Slides checked this pass ') + (last?.cursor || 0) + '/' + (last?.ids.length || 0)), busy && h(W.Button, { icon: 'close', onClick: stop }, L('停止视觉检查', 'Stop visual review')), run.error && h('p', { role: 'alert', className: 'notice error' }, failureText(run.error)), stale && h('p', { className: 'notice' }, L('工程或成品已变化,旧记录可查看,但不能继续或采纳。', 'The project or output changed. This old record is readable, but cannot be continued or adopted.')), run.status === 'complete' && h('p', { className: 'notice' }, last.findings.length ? L('复查仍有 ' + last.findings.length + ' 个问题,请查看标记和说明。', 'Recheck still found ' + last.findings.length + ' issues. Review the highlighted regions and notes.') : L('AI 在本次范围内未发现明显视觉问题;这是一份模型检查记录。', 'AI found no obvious visual issues in this scope. This is a model review record.')), (last?.missingFonts || []).length > 0 && h('p', { className: 'notice error' }, L('渲染引擎报告缺失字体:', 'Renderer reported missing fonts: ') + last.missingFonts.join(', ')), run.rounds.map((r, i) => h('details', { key: i, open: i === run.rounds.length - 1 }, h('summary', null, L('检查轮次 ', 'Inspection pass ') + i + ' · ' + r.cursor + '/' + r.ids.length), r.findings.map((f, j) => h('p', { key: j }, h('strong', null, (project.slides.findIndex(s => s.id === f.slideId) >= 0 ? L('原第 ' + (project.slides.findIndex(s => s.id === f.slideId) + 1) + ' 页', 'Original slide ' + (project.slides.findIndex(s => s.id === f.slideId) + 1)) : L('拆分页', 'Split page')) + ' · '), f.issue, h('br'), h('small', { className: 'muted' }, f.action ? actionName(f.action) : L('需要人工判断', 'Needs manual review')))), r.applied.length > 0 && h('ul', null, r.applied.map((a, j) => h('li', { key: j }, L('已应用:', 'Applied: ') + actionName(a)))))), !busy && last?.rendered && h(React.Fragment, null, h('label', null, L('查看前后画面(橙框为 AI 定位区域)', 'Compare images (orange boxes mark AI findings)'), h('select', { 'aria-label': L('对比页面', 'Comparison slide'), value: compare, onChange: e => setCompare(e.target.value) }, last.ids.map((id, i) => h('option', { value: id, key: id }, String(i + 1) + '. ' + (project.slides.find(s => s.id === id)?.title || L('拆分页', 'Split page')))))), loading ? h('p', { role: 'status' }, L('正在载入画面…', 'Loading images…')) : h('div', { className: 'before-after' }, image(pictures.before, first, L('原稿 · 实际 PPTX', 'Original · actual PPTX')), image(pictures.after, last, run.rounds.length > 1 ? L('修复后 · 实际 PPTX', 'Repaired · actual PPTX') : L('本次检查画面', 'Reviewed image')))), h('div', { className: 'tools' }, h(W.Button, { variant: 'primary', icon: 'check', disabled: busy || blocked || !run.canAdopt || stale, onClick: adopt }, last?.findings.length ? L('打开修复副本(仍有待处理问题)', 'Open repaired copy (issues remain)') : L('采用修复副本', 'Use repaired copy')), h(W.Button, { icon: 'download', disabled: busy, onClick: download }, L('下载视觉检查记录', 'Download visual review')), h(W.Button, { variant: 'danger', icon: 'trash', disabled: busy || run.status === 'busy', onClick: remove }, L('删除检查记录', 'Delete review')), h(W.Button, { icon: 'plus', disabled: busy, onClick: () => { accept(null); setCompare(''); setPictures({}); configure(); } }, L('新建视觉检查', 'New visual review')))), !busy && history.length > 0 && h('details', null, h('summary', null, L('本机视觉检查历史', 'Local visual review history')), h('div', { className: 'project-list' }, history.map(item => h(W.Button, { key: item.id, onClick: () => open(item.id) }, L('修订 ', 'Revision ') + item.revision + ' · ' + new Date(item.createdAt).toLocaleString(languageOf() === 'en' ? 'en-US' : 'zh-CN'))))), h(W.Button, { variant: 'ghost', icon: 'close', disabled: busy, onClick: () => setExpanded(false) }, L('收起视觉检查', 'Collapse visual review'))));
1269
3065
  }
1270
3066
  function DataPanel({ project, blocked, incoming, onParameters, onDirty, onBusy, onAdopt, onChoose, onDownload }) {
1271
3067
  const fieldId=React.useId();
@@ -1386,7 +3182,7 @@ __stardustUpdatesGuard(React, "dsh-ppt.data", { busy: busy || readingFile });
1386
3182
  const metric = model.metrics.find(m => m.id === metricId), source = model.sources.find(s => s.id === sourceId), replacement = updates[sourceId];
1387
3183
  const format = (value, m) => new Intl.NumberFormat(languageOf() === 'en' ? 'en-US' : 'zh-CN', { style: m.format.style === 'percent' ? 'percent' : 'decimal', minimumFractionDigits: m.format.digits, maximumFractionDigits: m.format.digits }).format(value) + (m.format.unit || '');
1388
3184
  const display = value => typeof value === 'string' ? value : JSON.stringify(value, null, 2), disabled = busy || blocked || readingFile;
1389
- return h('section', { className: 'card data-workbench', 'aria-label': L('数据溯源与现场推演', 'Data lineage and what-if') }, h('style', null, dataCss), h('h3', null, L('数据溯源与现场推演', 'Data lineage and what-if')), h('p', { className: 'muted' }, L('点预览中的数字可追问来源。只有明确声明的假设可调;来源不等于事实已核验。', 'Click numbers in the preview to inspect their lineage. Only declared assumptions are adjustable. Lineage is not factual verification.')), h('details', null, h('summary', null, L('数字来自哪里', 'Where the numbers come from')), h('label', null, L('指标', 'Metric'), h('select', { value: metricId, disabled, onChange: event => setMetricId(event.target.value) }, model.metrics.map(m => h('option', { key: m.id, value: m.id }, m.label + ' [' + m.id + ']')))), metric && h('div', { className: 'data-evidence' }, h('strong', null, metric.label + ' = ' + format(model.values[metric.id], metric)), metric.kind === 'source' ? h(React.Fragment, null, h('p', null, metric.evidence.name + ' · ' + metric.evidence.locator), h('pre', null, metric.evidence.excerpt), h('details', null, h('summary', null, L('来源快照校验值', 'Source snapshot checksum')), h('code', null, metric.evidence.sha256))) : metric.kind === 'input' ? h('p', null, L('用户假设', 'User assumption') + (metric.note ? ' · ' + metric.note : '')) : h(React.Fragment, null, h('pre', null, '= ' + metric.formula), h('div', { className: 'tools' }, metric.dependencies.map(id => h('button', { key: id, disabled, onClick: () => setMetricId(id) }, model.metrics.find(m => m.id === id).label))))), h('button', { disabled: disabled || changed, onClick: () => onDownload('data') }, L('下载溯源与假设报告', 'Download lineage and assumptions'))), model.metrics.some(m => m.kind === 'input') && h('details', { open: true }, h('summary', null, L('现场推演参数', 'What-if assumptions')), model.metrics.filter(m => m.kind === 'input').map(m => h('div', { key: m.id, className: 'data-input-row' }, h('label', { htmlFor: fieldId + '-ppt-data-' + m.id }, m.label, h('small', { className: 'muted' }, ' · ' + L('假设', 'Assumption') + (m.note ? ' · ' + m.note : ''))), h('div', { className: 'data-input-controls' }, h('input', { type: 'range', min: m.min, max: m.max, step: m.step, value: Number(parameters[m.id]), disabled, 'aria-label': m.label + ' ' + L('滑杆', 'slider'), onChange: event => changeParameter(m.id, event.target.value) }), h('input', { id: fieldId + '-ppt-data-' + m.id, type: 'number', min: m.min, max: m.max, step: m.step, value: parameters[m.id], disabled, onChange: event => changeParameter(m.id, event.target.value) })))), h('label', null, L('导入离线 HTML 保存的推演参数', 'Import scenario parameters saved in offline HTML'), h('input', { type: 'file', accept: '.json,application/json', disabled, onChange: importScenario }))), model.sources.length > 0 && h('details', null, h('summary', null, L('更新来源材料', 'Update source material')), h('p', { className: 'muted' }, L('先导入或粘贴新材料,预览影响后再确认;不会自动监视或修改原文件。表格可从 Excel 导出 CSV。', 'Import or paste new material, then preview the impact before confirming. Original source files are not watched or modified. Export Excel tables as CSV.')), h('label', null, L('替换来源', 'Replace source'), h('select', { value: sourceId, disabled, onChange: event => setSourceId(event.target.value) }, model.sources.map(s => h('option', { key: s.id, value: s.id }, s.name)))), h('label', null, L('导入替换材料', 'Import replacement material'), h('input', { type: 'file', accept: source?.kind === 'table' ? '.csv,.tsv' : '.txt,.md', disabled, onChange: importSource })), source?.kind === 'table' && h('label', null, L('分隔格式', 'Delimiter format'), h('select', { value: replacement?.format || 'csv', disabled, onChange: event => { setUpdates(old => ({ ...old, [sourceId]: { id: sourceId, format: event.target.value, content: replacement?.content || '' } })); setPreview(null); } }, h('option', { value: 'csv' }, 'CSV'), h('option', { value: 'tsv' }, 'TSV'))), h('label', null, L('或粘贴内容', 'Or paste content'), h('textarea', { rows: 4, maxLength: 1048576, value: replacement?.content ?? '', disabled, onChange: event => { setUpdates(old => ({ ...old, [sourceId]: { id: sourceId, format: source.kind === 'table' ? replacement?.format || 'csv' : 'text', content: event.target.value } })); setPreview(null); setError(''); } })), replacement && h('button', { disabled, onClick: () => { setUpdates(old => { const next = { ...old }; delete next[sourceId]; return next; }); setPreview(null); } }, L('取消此来源更新', 'Cancel this source update'))), changed && h('p', { className: 'dirty', role: 'status' }, L('推演或材料尚未保存,当前 PPTX 仍是已保存版本。先预览差异并确认,或恢复参数后下载。', 'Unsaved scenario or source changes. The PPTX still contains saved values. Preview and confirm, or reset before downloading.')), (!valid || !inputsValid) && h('p', { className: 'notice error', role: 'alert' }, L('参数无法计算,请检查范围、步长或除零,再恢复或修改。', 'Cannot calculate these parameters. Check ranges, steps or division by zero; adjust or reset.')), error && h('p', { className: 'notice error', role: 'alert' }, error), h('div', { className: 'tools' }, h('button', { disabled: disabled || !changed || !valid || !inputsValid, onClick: inspect }, L('预览差异', 'Preview changes')), h('button', { disabled: disabled || !changed, onClick: reset }, L('恢复已保存数据', 'Reset to saved data'))), preview && preview.signature === signature && h('div', { className: 'data-diff' }, h('h4', null, L('确认前核对', 'Review before confirming')), !preview.changed ? h('p', null, L('内容没有变化。', 'No content changes.')) : h(React.Fragment, null, h('ul', null, preview.changes.map(change => h('li', { key: change.id }, h('strong', null, change.label + ': '), change.beforeText + ' → ' + change.afterText, change.before === change.after && ' · ' + L('来源已更新', 'Source updated')))), h('h4', null, L('受影响页面', 'Affected slides')), !preview.affectedSlides.length && h('p', { className: 'muted' }, L('指标尚未绑定到页面,只更新数据模型。', 'Metrics are not bound to slides; only the data model changes.')), preview.affectedSlides.map(slide => h('details', { key: slide.id }, h('summary', null, (slide.page) + '. ' + slide.title), h('button', { disabled, onClick: () => onChoose(slide.id) }, L('查看页面', 'View slide')), slide.evidenceChanged && h('p', null, L('关联的来源快照有变化。', 'A linked source snapshot changed.')), slide.fields.map(field => h('div', { key: field.field }, h('strong', null, t(fields.find(([key]) => key === field.field)?.[1] || field.field)), h('div', { className: 'data-before-after' }, h('pre', null, L('之前:', 'Before: ') + display(field.before)), h('pre', null, L('之后:', 'After: ') + display(field.after))))))), h('label', { className: 'data-copy' }, h('input', { type: 'checkbox', checked: saveAs, disabled, onChange: event => setSaveAs(event.target.checked) }), L('保存为新副本,保留原稿(推荐)', 'Save a new copy and keep the original (recommended)')), h('p', { className: 'muted' }, L('PPTX 保存确认后的静态结果,并附公式、来源和假设;HTML 保留交互。JSON 工程包含导入的完整材料,分享前请检查。', 'PPTX saves confirmed static results with formulas, sources and assumptions; HTML retains interaction. The JSON project contains full imported material; review it before sharing.')), h('button', { className: 'primary', disabled: disabled || !valid || !inputsValid, onClick: apply }, saveAs ? L('确认并保存推演副本', 'Confirm and save scenario copy') : L('确认并更新当前工程', 'Confirm and update this project')))));
3185
+ return h('section', { className: 'card data-workbench', 'data-dsh-card': '', 'aria-label': L('数据溯源与现场推演', 'Data lineage and what-if') }, h('style', null, dataCss), h('h3', null, L('数据溯源与现场推演', 'Data lineage and what-if')), h('p', { className: 'muted' }, L('点预览中的数字可追问来源。只有明确声明的假设可调;来源不等于事实已核验。', 'Click numbers in the preview to inspect their lineage. Only declared assumptions are adjustable. Lineage is not factual verification.')), h('details', null, h('summary', null, L('数字来自哪里', 'Where the numbers come from')), h('label', null, L('指标', 'Metric'), h('select', { value: metricId, disabled, onChange: event => setMetricId(event.target.value) }, model.metrics.map(m => h('option', { key: m.id, value: m.id }, m.label + ' [' + m.id + ']')))), metric && h('div', { className: 'data-evidence' }, h('strong', null, metric.label + ' = ' + format(model.values[metric.id], metric)), metric.kind === 'source' ? h(React.Fragment, null, h('p', null, metric.evidence.name + ' · ' + metric.evidence.locator), h('pre', null, metric.evidence.excerpt), h('details', null, h('summary', null, L('来源快照校验值', 'Source snapshot checksum')), h('code', null, metric.evidence.sha256))) : metric.kind === 'input' ? h('p', null, L('用户假设', 'User assumption') + (metric.note ? ' · ' + metric.note : '')) : h(React.Fragment, null, h('pre', null, '= ' + metric.formula), h('div', { className: 'tools' }, metric.dependencies.map(id => h(W.Button, { key: id, disabled, onClick: () => setMetricId(id) }, model.metrics.find(m => m.id === id).label))))), h(W.Button, { icon: 'download', disabled: disabled || changed, onClick: () => onDownload('data') }, L('下载溯源与假设报告', 'Download lineage and assumptions'))), model.metrics.some(m => m.kind === 'input') && h('details', { open: true }, h('summary', null, L('现场推演参数', 'What-if assumptions')), model.metrics.filter(m => m.kind === 'input').map(m => h('div', { key: m.id, className: 'data-input-row' }, h('label', { htmlFor: fieldId + '-ppt-data-' + m.id }, m.label, h('small', { className: 'muted' }, ' · ' + L('假设', 'Assumption') + (m.note ? ' · ' + m.note : ''))), h('div', { className: 'data-input-controls' }, h('input', { type: 'range', min: m.min, max: m.max, step: m.step, value: Number(parameters[m.id]), disabled, 'aria-label': m.label + ' ' + L('滑杆', 'slider'), onChange: event => changeParameter(m.id, event.target.value) }), h(W.Input, { id: fieldId + '-ppt-data-' + m.id, type: 'number', min: m.min, max: m.max, step: m.step, value: parameters[m.id], disabled, onChange: event => changeParameter(m.id, event.target.value) })))), h('label', null, L('导入离线 HTML 保存的推演参数', 'Import scenario parameters saved in offline HTML'), h('input', { type: 'file', accept: '.json,application/json', disabled, onChange: importScenario }))), model.sources.length > 0 && h('details', null, h('summary', null, L('更新来源材料', 'Update source material')), h('p', { className: 'muted' }, L('先导入或粘贴新材料,预览影响后再确认;不会自动监视或修改原文件。表格可从 Excel 导出 CSV。', 'Import or paste new material, then preview the impact before confirming. Original source files are not watched or modified. Export Excel tables as CSV.')), h('label', null, L('替换来源', 'Replace source'), h('select', { value: sourceId, disabled, onChange: event => setSourceId(event.target.value) }, model.sources.map(s => h('option', { key: s.id, value: s.id }, s.name)))), h('label', null, L('导入替换材料', 'Import replacement material'), h('input', { type: 'file', accept: source?.kind === 'table' ? '.csv,.tsv' : '.txt,.md', disabled, onChange: importSource })), source?.kind === 'table' && h('label', null, L('分隔格式', 'Delimiter format'), h('select', { value: replacement?.format || 'csv', disabled, onChange: event => { setUpdates(old => ({ ...old, [sourceId]: { id: sourceId, format: event.target.value, content: replacement?.content || '' } })); setPreview(null); } }, h('option', { value: 'csv' }, 'CSV'), h('option', { value: 'tsv' }, 'TSV'))), h('label', null, L('或粘贴内容', 'Or paste content'), h('textarea', { rows: 4, maxLength: 1048576, value: replacement?.content ?? '', disabled, onChange: event => { setUpdates(old => ({ ...old, [sourceId]: { id: sourceId, format: source.kind === 'table' ? replacement?.format || 'csv' : 'text', content: event.target.value } })); setPreview(null); setError(''); } })), replacement && h(W.Button, { icon: 'close', disabled, onClick: () => { setUpdates(old => { const next = { ...old }; delete next[sourceId]; return next; }); setPreview(null); } }, L('取消此来源更新', 'Cancel this source update'))), changed && h('p', { className: 'dirty', role: 'status' }, L('推演或材料尚未保存,当前 PPTX 仍是已保存版本。先预览差异并确认,或恢复参数后下载。', 'Unsaved scenario or source changes. The PPTX still contains saved values. Preview and confirm, or reset before downloading.')), (!valid || !inputsValid) && h('p', { className: 'notice error', role: 'alert' }, L('参数无法计算,请检查范围、步长或除零,再恢复或修改。', 'Cannot calculate these parameters. Check ranges, steps or division by zero; adjust or reset.')), error && h('p', { className: 'notice error', role: 'alert' }, error), h('div', { className: 'tools' }, h(W.Button, { icon: 'search', disabled: disabled || !changed || !valid || !inputsValid, onClick: inspect }, L('预览差异', 'Preview changes')), h(W.Button, { icon: 'reply', disabled: disabled || !changed, onClick: reset }, L('恢复已保存数据', 'Reset to saved data'))), preview && preview.signature === signature && h('div', { className: 'data-diff' }, h('h4', null, L('确认前核对', 'Review before confirming')), !preview.changed ? h('p', null, L('内容没有变化。', 'No content changes.')) : h(React.Fragment, null, h('ul', null, preview.changes.map(change => h('li', { key: change.id }, h('strong', null, change.label + ': '), change.beforeText + ' → ' + change.afterText, change.before === change.after && ' · ' + L('来源已更新', 'Source updated')))), h('h4', null, L('受影响页面', 'Affected slides')), !preview.affectedSlides.length && h('p', { className: 'muted' }, L('指标尚未绑定到页面,只更新数据模型。', 'Metrics are not bound to slides; only the data model changes.')), preview.affectedSlides.map(slide => h('details', { key: slide.id }, h('summary', null, (slide.page) + '. ' + slide.title), h(W.Button, { icon: 'right', disabled, onClick: () => onChoose(slide.id) }, L('查看页面', 'View slide')), slide.evidenceChanged && h('p', null, L('关联的来源快照有变化。', 'A linked source snapshot changed.')), slide.fields.map(field => h('div', { key: field.field }, h('strong', null, t(fields.find(([key]) => key === field.field)?.[1] || field.field)), h('div', { className: 'data-before-after' }, h('pre', null, L('之前:', 'Before: ') + display(field.before)), h('pre', null, L('之后:', 'After: ') + display(field.after))))))), h(W.Checkbox, { className: 'data-copy', checked: saveAs, disabled, onChange: next => setSaveAs(next), label: L('保存为新副本,保留原稿(推荐)', 'Save a new copy and keep the original (recommended)') }), h('p', { className: 'muted' }, L('PPTX 保存确认后的静态结果,并附公式、来源和假设;HTML 保留交互。JSON 工程包含导入的完整材料,分享前请检查。', 'PPTX saves confirmed static results with formulas, sources and assumptions; HTML retains interaction. The JSON project contains full imported material; review it before sharing.')), h(W.Button, { variant: 'primary', icon: 'check', disabled: disabled || !valid || !inputsValid, onClick: apply }, saveAs ? L('确认并保存推演副本', 'Confirm and save scenario copy') : L('确认并更新当前工程', 'Confirm and update this project')))));
1390
3186
  }
1391
3187
  function Workbench({locale,workbench=false}={}) {
1392
3188
  const [activeTab,setActiveTab]=useState('content'),[downloadOpen,setDownloadOpen]=useState(false),[pendingNav,setPendingNav]=useState(null),[deleteOpen,setDeleteOpen]=useState(false);
@@ -1683,28 +3479,28 @@ if(!rootElement.current?.contains(event.target) || event.target?.closest?.('[rol
1683
3479
  setMessage(t("正在读取图片,切换页面会取消本次读取。"));
1684
3480
  }
1685
3481
  const currentImage = image?.src || (slide?.image?.assetId && project.assets[slide.image.assetId]?.data);
1686
- return __stardustUpdatesInlinePage(React,h(W.Page,{workbench,rootRef:rootElement,title:t('演示文稿'),subtitle:project?h(React.Fragment,null,project.title+' · '+project.slides.length+t(' 页 · 修订 ')+project.revision,(dirty || dataDirty)?h('span',{className:'w-tag'},t('未保存')):h('span',null,' · '+pptText('已保存','Saved'))):pptText('管理、预览和编辑已生成的演示文稿。','Manage, preview and edit generated presentations.'),className:'pptw ppt-workbench','aria-busy':busy?'true':undefined,actions:project?h(React.Fragment,null,
3482
+ return __stardustUpdatesInlinePage(React,h(W.Page,{workbench,lang:languageOf(),icon:'slides',rootRef:rootElement,title:t('演示文稿'),subtitle:project?h(React.Fragment,null,project.title+' · '+project.slides.length+t(' 页 · 修订 ')+project.revision,(dirty || dataDirty)?h('span',{className:'w-tag badge-dirty'},t('未保存')):h('span',null,' · '+pptText('已保存','Saved'))):pptText('管理、预览和编辑已生成的演示文稿。','Manage, preview and edit generated presentations.'),className:'pptw ppt-workbench','aria-busy':busy?'true':undefined,actions:project?h(React.Fragment,null,
1687
3483
  h(W.Button,{icon:'left',disabled:busy || dataDirty,onClick:()=>requestNavigation({kind:'back'})},t('返回项目')),
1688
- h(W.Button,{variant:'primary',disabled:busy || dataDirty || imagePending || !dirty,'aria-keyshortcuts':'Control+S Meta+S',onClick:()=>save()},pptText('保存修改','Save changes')),
1689
- h(W.Button,{icon:'download',disabled:busy || dirty || dataDirty || imagePending,title:dirty || dataDirty?pptText('先保存当前修改','Save changes first'):undefined,onClick:()=>setDownloadOpen(true)},pptText('下载成品','Download output'))) : h(W.IconButton,{icon:'refresh',label:t('刷新项目'),disabled:busy,onClick:refreshList})},
1690
- h('style',null,css),h('style',null,PPT_WORKBENCH_CSS),error && h(W.Status,{tone:'error',className:'ppt-recovery'},[h('p',{key:'text'},error),h('div',{key:'actions',className:'w-toolbar'},[h(W.Button,{key:'retry',icon:'refresh',disabled:busy || dataDirty,onClick:() => project ? open(project.id) : refreshList()},t("重试")),conflict && project ? h(W.Button,{key:'reload',disabled:busy || dataDirty,onClick:keepInputsAndReload},t("载入最新版本,保留我的输入")) : null])]),h(W.Status,{tone:'success'},message),busy?h(W.Status,null,job):null,
1691
- dataDirty ? h(W.Status,null,h('div',{className:'ppt-data-warning'},pptText('数据推演或材料尚未保存,成品仍是已保存版本。','Scenario or source changes are unsaved. Output still uses saved values.'),h(W.Button,{variant:'ghost',onClick:()=>setActiveTab('data')},pptText('前往数据与推演','Open data and what-if')))) : null,
1692
- !project ? projects.length ? h('div',{className:'ppt-library'},h(ProjectLibrary,{items:projects,language:languageOf(),t:pptText,searchHint:pptText('搜索标题或工程路径','Search titles or project paths'),searchText:row=>row.title+' '+row.path,updatedAt:row=>row.updatedAt,renderItem:row=>h(W.Row,{key:row.id,title:row.title,description:row.path,disabled:busy,onClick:()=>{setActiveTab('content');open(row.id);}})})) : h(W.Empty,{icon:'slides',title:t("还没有可以编辑的项目"),action:h(React.Fragment,null,[h(W.Button,{key:'copy',onClick:copyExample},t("复制示例")),h(W.Button,{key:'refresh',icon:'refresh',disabled:busy,onClick:refreshList},t("刷新项目"))])},[h('p',{key:'how'},t("先在对话中让助手生成演示文稿。已有项目可以让助手调用 ppt_check 检查一次,它会出现在这里。")),h('p',{key:'example'},t("示例:请把这份材料制作成可直接交付的演示文稿,生成 HTML、PPTX 和工程文件。"))]) :
1693
- h(W.Tabs,{label:pptText('演示文稿工作台视图','Presentation workbench views'),value:activeTab,onChange:value=>{setActiveTab(value);if(value==='data' && project.dataModel)setMode('html');},items:[{id:'content',label:pptText('内容编辑','Edit content')},{id:'visual',label:pptText('视觉检查','Visual review')},{id:'rehearsal',label:pptText('演练','Rehearsal')},{id:'data',label:pptText('数据与推演','Data and what-if')}]},
3484
+ h(W.Button,{variant:'primary',icon:'check',disabled:busy || dataDirty || imagePending || !dirty,'aria-keyshortcuts':'Control+S Meta+S',onClick:()=>save()},pptText('保存修改','Save changes')),
3485
+ h(W.Button,{icon:'download',disabled:busy || dirty || dataDirty || imagePending,title:dirty || dataDirty?pptText('先保存当前修改','Save changes first'):undefined,onClick:()=>setDownloadOpen(true)},pptText('下载成品','Download output'))) : h(W.IconButton,{icon:'refresh',label:t('刷新项目'),'aria-busy':busy?'true':undefined,disabled:busy,onClick:refreshList})},
3486
+ h('style',null,css),h('style',null,PPT_WORKBENCH_CSS),error && h(W.Status,{tone:'error',className:'ppt-recovery'},[h('p',{key:'text'},error),h('div',{key:'actions',className:'w-toolbar'},[h(W.Button,{key:'retry',icon:'refresh','aria-busy':busy?'true':undefined,disabled:busy || dataDirty,onClick:() => project ? open(project.id) : refreshList()},t("重试")),conflict && project ? h(W.Button,{key:'reload',icon:'download',disabled:busy || dataDirty,onClick:keepInputsAndReload},t("载入最新版本,保留我的输入")) : null])]),h(W.Status,{tone:'success'},message),busy?h(W.Status,null,job):null,
3487
+ dataDirty ? h(W.Status,null,h('div',{className:'ppt-data-warning'},pptText('数据推演或材料尚未保存,成品仍是已保存版本。','Scenario or source changes are unsaved. Output still uses saved values.'),h(W.Button,{variant:'ghost',icon:'right',onClick:()=>setActiveTab('data')},pptText('前往数据与推演','Open data and what-if')))) : null,
3488
+ !project ? projects.length ? h('div',{className:'ppt-library'},h(ProjectLibrary,{items:projects,language:languageOf(),t:pptText,searchHint:pptText('搜索标题或工程路径','Search titles or project paths'),searchText:row=>row.title+' '+row.path,updatedAt:row=>row.updatedAt,renderItem:row=>h(W.Row,{key:row.id,title:row.title,description:row.path,disabled:busy,onClick:()=>{setActiveTab('content');open(row.id);}})})) : h(W.Empty,{icon:'slides',title:t("还没有可以编辑的项目"),action:h(React.Fragment,null,[h(W.Button,{key:'copy',icon:'copy',onClick:copyExample},t("复制示例")),h(W.Button,{key:'refresh',icon:'refresh','aria-busy':busy?'true':undefined,disabled:busy,onClick:refreshList},t("刷新项目"))])},[h('p',{key:'how'},t("先在对话中让助手生成演示文稿。已有项目可以让助手调用 ppt_check 检查一次,它会出现在这里。")),h('p',{key:'example'},t("示例:请把这份材料制作成可直接交付的演示文稿,生成 HTML、PPTX 和工程文件。"))]) :
3489
+ h(W.Tabs,{label:pptText('演示文稿工作台视图','Presentation workbench views'),value:activeTab,onChange:value=>{setActiveTab(value);if(value==='data' && project.dataModel)setMode('html');},items:[{id:'content',icon:'edit',label:pptText('内容编辑','Edit content')},{id:'visual',icon:'image',label:pptText('视觉检查','Visual review')},{id:'rehearsal',icon:'sparkles',label:pptText('演练','Rehearsal')},{id:'data',icon:'filter',label:pptText('数据与推演','Data and what-if')}]},
1694
3490
  h('div',{className:'ppt-editor','data-view':activeTab},
1695
3491
  h(PptPages,{project,selected,busy,imagePending,dirty,dataDirty,onChoose:choose,onDuplicate:()=>structure('duplicate')}),
1696
3492
  h('section',{className:'ppt-canvas-region','aria-label':pptText('成品预览','Presentation preview')},
1697
- h('div',{className:'ppt-preview-tools'},h(W.Button,{'aria-pressed':mode==='html',disabled:busy || dataDirty,onClick:()=>setMode('html')},t('HTML 预览')),h(W.Button,{'aria-pressed':mode==='pptx',disabled:busy || dataDirty || !project.render,onClick:()=>setMode('pptx')},t('最终 PPTX 预览')),h(W.Button,{disabled:busy || dirty || imagePending || dataDirty,onClick:render},t('渲染当前 PPTX')),h(W.IconButton,{icon:'external',label:pptText('查看全屏','View fullscreen'),onClick:async()=>{try{await previewBox.current?.requestFullscreen();previewBox.current?.querySelector('.ppt-fullscreen-exit')?.focus();}catch{setError(pptText('当前宿主无法进入全屏,可以继续使用页面预览。','Fullscreen is unavailable in this host. The page preview remains usable.'));}}})),
1698
- h('div', { className: 'preview', ref: previewBox },h(W.Button,{className:'ppt-fullscreen-exit',onClick:()=>{if(document.fullscreenElement)void document.exitFullscreen().catch(()=>{});}},pptText('退出全屏','Exit fullscreen')), mode === 'html' ? (project.html ? h('iframe', { ref: frame, title: t("演示文稿 HTML 预览"), sandbox: 'allow-scripts', srcDoc: previewDocument, onLoad: jump }) : h('p', null, t("此项目尚无 HTML,请保存一次生成预览。"))) : raster ? h('img', { className: 'render-page', src: raster, alt: t("最终 PPTX 第 ") + (index + 1) + t(" 页渲染结果") }) : h('p', null, t("正在载入当前页渲染…"))),h('div',{className:'ppt-preview-help'},h('p', { className: 'muted' }, mode === 'html' ? t("这是 HTML 放映预览。最终 PPTX 的字体和排版请用上方渲染检查。点击文字可定位编辑字段。") : t("这是当前 PPTX 文件的实际渲染图片,仍需检查每页画面;PowerPoint / WPS 可能因字体环境而不同。"))),project.render?.missingFonts?.length ? h('div', { role: 'alert', className: 'notice error' }, t("渲染引擎报告缺失字体:") + project.render.missingFonts.join('、') + t("。请替换为目标电脑可用字体后重新渲染。")) : null,h('details', { className: 'card' }, h('summary', null, t("质量提醒(") + (project.quality.warningCount + project.quality.errorCount) + (languageOf() === 'en' ? ')' : ')')), (project.quality.issues || []).map((issue, i) => h('p', { key: i }, (issue.slide > 0 ? t("第 ") + issue.slide + t(" 页:") : "") + (languageOf() === 'en' ? issue.messageEn : issue.message) + (languageOf() === 'en' ? ' ' : ';') + (languageOf() === 'en' ? issue.suggestionEn : issue.suggestion)))),h('p',{className:'w-muted'},t('快捷键:Ctrl/⌘+S 保存 · Esc 取消或返回 · Alt+←/→ 切换页面'))),
3493
+ h('div',{className:'ppt-preview-tools'},h(W.Button,{icon:'slides','aria-pressed':mode==='html',disabled:busy || dataDirty,onClick:()=>setMode('html')},t('HTML 预览')),h(W.Button,{icon:'image','aria-pressed':mode==='pptx',disabled:busy || dataDirty || !project.render,onClick:()=>setMode('pptx')},t('最终 PPTX 预览')),h(W.Button,{icon:'play',disabled:busy || dirty || imagePending || dataDirty,onClick:render},t('渲染当前 PPTX')),h(W.IconButton,{icon:'external',label:pptText('查看全屏','View fullscreen'),onClick:async()=>{try{await previewBox.current?.requestFullscreen();previewBox.current?.querySelector('.ppt-fullscreen-exit')?.focus();}catch{setError(pptText('当前宿主无法进入全屏,可以继续使用页面预览。','Fullscreen is unavailable in this host. The page preview remains usable.'));}}})),
3494
+ h('div', { className: 'preview', ref: previewBox },h(W.Button,{icon:'close',className:'ppt-fullscreen-exit','data-window-drag-exclude':'',onClick:()=>{if(document.fullscreenElement)void document.exitFullscreen().catch(()=>{});}},pptText('退出全屏','Exit fullscreen')), mode === 'html' ? (project.html ? h('iframe', { ref: frame, title: t("演示文稿 HTML 预览"), sandbox: 'allow-scripts', srcDoc: previewDocument, onLoad: jump }) : h('p', null, t("此项目尚无 HTML,请保存一次生成预览。"))) : raster ? h('img', { className: 'render-page', src: raster, alt: t("最终 PPTX 第 ") + (index + 1) + t(" 页渲染结果") }) : h('p', null, t("正在载入当前页渲染…"))),h('div',{className:'ppt-preview-help'},h('p', { className: 'muted' }, mode === 'html' ? t("这是 HTML 放映预览。最终 PPTX 的字体和排版请用上方渲染检查。点击文字可定位编辑字段。") : t("这是当前 PPTX 文件的实际渲染图片,仍需检查每页画面;PowerPoint / WPS 可能因字体环境而不同。"))),project.render?.missingFonts?.length ? h('div', { role: 'alert', className: 'notice error' }, t("渲染引擎报告缺失字体:") + project.render.missingFonts.join('、') + t("。请替换为目标电脑可用字体后重新渲染。")) : null,h('details', { className: 'card', 'data-dsh-card': '' }, h('summary', null, t("质量提醒(") + (project.quality.warningCount + project.quality.errorCount) + (languageOf() === 'en' ? ')' : ')')), (project.quality.issues || []).map((issue, i) => h('p', { key: i }, (issue.slide > 0 ? t("第 ") + issue.slide + t(" 页:") : "") + (languageOf() === 'en' ? issue.messageEn : issue.message) + (languageOf() === 'en' ? ' ' : ';') + (languageOf() === 'en' ? issue.suggestionEn : issue.suggestion)))),h('p',{className:'w-muted'},t('快捷键:Ctrl/⌘+S 保存 · Esc 取消或返回 · Alt+←/→ 切换页面'))),
1699
3495
  h('aside',{className:'ppt-inspector','aria-label':pptText('页面与辅助工具','Slide properties and tools')},
1700
- h('section',{className:'ppt-inspector-panel',hidden:activeTab!=='content'},h('div',{className:'card'},h('h3',null,pptText('页面内容','Slide content')),dirty && h('p', { className: 'dirty' }, t("有未保存修改,请先保存或取消,再切换页面。")),
3496
+ h('section',{className:'ppt-inspector-panel',hidden:activeTab!=='content'},h('div',{className:'card','data-dsh-card':''},h('h3',null,pptText('页面内容','Slide content')),dirty && h('p', { className: 'dirty' }, t("有未保存修改,请先保存或取消,再切换页面。")),
1701
3497
  overlaps.length ? h('div', { className: 'notice' }, h('strong', null, t("这些字段也被修改过,请比较后决定是否保存:")), overlaps.map(row => h('div', { key: row.key }, h('strong', null, t(fields.find(([key]) => key === row.key)[1])), h('p', null, t("最新版本:") + row.latest), h('p', null, t("你的修改:") + row.yours)))) : null,
1702
- fields.filter(([key]) => key === 'title' || key === 'notes' || key === 'bullets' && (slide.layout === 'bullets' || slide.bullets?.length > 0) || key !== 'bullets' && (slide[key] || key === 'subtitle' && ['cover', 'section', 'closing', 'quote'].includes(slide.layout) || key === 'kicker' && ['cover', 'section', 'closing'].includes(slide.layout))).map(([key, label]) => h('div', { key }, h('label', { htmlFor: controlId+'-'+key }, t(label)), h(key === 'title' || key === 'kicker' ? 'input' : 'textarea', { id: controlId+'-'+key, ref: el => { fieldRefs.current[key] = el; }, disabled: busy || dataDirty, value: draft[key] || '', rows: key === 'bullets' ? 4 : 2, maxLength: 8000, onChange: e => { setDraft({ ...draft, [key]: e.target.value }); setDirty(true); } }))),h('details',{className:'ppt-image-section',open:!!image},h('summary',null,pptText('图片','Image')),h('label', { htmlFor: controlId+'-image' }, slide.image ? t("替换图片(PNG / JPEG)") : t("添加图片(会改为图文布局)")),
3498
+ fields.filter(([key]) => key === 'title' || key === 'notes' || key === 'bullets' && (slide.layout === 'bullets' || slide.bullets?.length > 0) || key !== 'bullets' && (slide[key] || key === 'subtitle' && ['cover', 'section', 'closing', 'quote'].includes(slide.layout) || key === 'kicker' && ['cover', 'section', 'closing'].includes(slide.layout))).map(([key, label]) => h('div', { key }, h('label', { htmlFor: controlId+'-'+key }, t(label)), key === 'title' || key === 'kicker' ? h(W.Input, { id: controlId+'-'+key, inputRef: el => { fieldRefs.current[key] = el; }, disabled: busy || dataDirty, value: draft[key] || '', maxLength: 8000, onChange: e => { setDraft({ ...draft, [key]: e.target.value }); setDirty(true); } }) : h('textarea', { id: controlId+'-'+key, ref: el => { fieldRefs.current[key] = el; }, disabled: busy || dataDirty, value: draft[key] || '', rows: key === 'bullets' ? 4 : 2, maxLength: 8000, onChange: e => { setDraft({ ...draft, [key]: e.target.value }); setDirty(true); } }))),h('details',{className:'ppt-image-section',open:!!image},h('summary',null,pptText('图片','Image')),h('label', { htmlFor: controlId+'-image' }, slide.image ? t("替换图片(PNG / JPEG)") : t("添加图片(会改为图文布局)")),
1703
3499
  h('input', { id: controlId+'-image', type: 'file', accept: 'image/png,image/jpeg', disabled: busy || dataDirty, onChange: upload }),
1704
3500
  currentImage && h('img', { className: 'image-preview', src: currentImage, alt: image?.alt || slide.image?.alt || t("当前图片") }),
1705
- image && h(React.Fragment, null, h('p', { className: 'muted' }, t("已选择:") + image.name), h('label', { htmlFor: controlId+'-alt' }, t("图片说明")), h('input', { id: controlId+'-alt', value: image.alt, disabled: busy || dataDirty, onChange: e => setImage({ ...image, alt: e.target.value }) }), h('label', { htmlFor: controlId+'-fit' }, t("图片适应方式")), h('select', { id: controlId+'-fit', value: image.fit, disabled: busy || dataDirty, onChange: e => setImage({ ...image, fit: e.target.value }) }, h('option', { value: 'contain' }, t("完整显示")), h('option', { value: 'cover' }, t("填满并裁切"))))),h('div',{className:'tools'},h('button', { 'aria-keyshortcuts': 'Control+Shift+S Meta+Shift+S', disabled: busy || dataDirty || imagePending, onClick: () => save(true) }, t("另存副本")),
1706
- h('button', { 'aria-keyshortcuts': 'Escape', disabled: busy || (!dirty && !imagePending), onClick: () => { imageLoader.current.cancel(); setDraft(draftFor(slide)); setImage(null); setDirty(false); setError(''); setMessage(''); setConflict(false); setOverlaps([]); } }, t("取消修改")),
1707
- h('button', { disabled: busy || dirty || imagePending || dataDirty || !project.undoAvailable, onClick: undo }, t("撤销上次修改")))),h('div',{className:'w-toolbar ppt-structure'},h(W.Button,{disabled:busy || dirty || imagePending || dataDirty || index===0,onClick:()=>move(-1)},t('上移')),h(W.Button,{disabled:busy || dirty || imagePending || dataDirty || index===project.slides.length-1,onClick:()=>move(1)},t('下移')),h(W.Button,{icon:'trash',variant:'danger',disabled:busy || dirty || imagePending || dataDirty || project.slides.length<=1,onClick:()=>{setError('');setDeleteOpen(true);}},t('删除本页')))),
3501
+ image && h(React.Fragment, null, h('p', { className: 'muted' }, t("已选择:") + image.name), h('label', { htmlFor: controlId+'-alt' }, t("图片说明")), h(W.Input, { id: controlId+'-alt', value: image.alt, disabled: busy || dataDirty, onChange: e => setImage({ ...image, alt: e.target.value }) }), h('label', { htmlFor: controlId+'-fit' }, t("图片适应方式")), h('select', { id: controlId+'-fit', value: image.fit, disabled: busy || dataDirty, onChange: e => setImage({ ...image, fit: e.target.value }) }, h('option', { value: 'contain' }, t("完整显示")), h('option', { value: 'cover' }, t("填满并裁切"))))),h('div',{className:'tools'},h(W.Button, { icon: 'copy', 'aria-keyshortcuts': 'Control+Shift+S Meta+Shift+S', disabled: busy || dataDirty || imagePending, onClick: () => save(true) }, t("另存副本")),
3502
+ h(W.Button, { icon: 'close', 'aria-keyshortcuts': 'Escape', disabled: busy || (!dirty && !imagePending), onClick: () => { imageLoader.current.cancel(); setDraft(draftFor(slide)); setImage(null); setDirty(false); setError(''); setMessage(''); setConflict(false); setOverlaps([]); } }, t("取消修改")),
3503
+ h(W.Button, { icon: 'reply', disabled: busy || dirty || imagePending || dataDirty || !project.undoAvailable, onClick: undo }, t("撤销上次修改")))),h('div',{className:'w-toolbar ppt-structure'},h(W.Button,{icon:'up',disabled:busy || dirty || imagePending || dataDirty || index===0,onClick:()=>move(-1)},t('上移')),h(W.Button,{icon:'down',disabled:busy || dirty || imagePending || dataDirty || index===project.slides.length-1,onClick:()=>move(1)},t('下移')),h(W.Button,{icon:'trash',variant:'danger',disabled:busy || dirty || imagePending || dataDirty || project.slides.length<=1,onClick:()=>{setError('');setDeleteOpen(true);}},t('删除本页')))),
1708
3504
  h('section',{className:'ppt-inspector-panel',hidden:activeTab!=='visual'},h(VisualPanel, { key: 'visual:' + project.id, project, selected, blocked: busy || dirty || imagePending || dataDirty,
1709
3505
  onBusy: value => { setBusy(value); setJob(languageOf() === 'en' ? 'Reviewing rendered slides…' : '正在检查和复查实际 PPTX 画面…'); },
1710
3506
  onAdopt: next => { adopt(next, selected); setMode(next.render ? 'pptx' : 'html'); setMessage(languageOf() === 'en' ? 'Opened the repaired copy. The original is kept, and formatting changes can be undone.' : '已打开修复副本,原稿保留,可撤销排版修改。'); } })),
@@ -1714,12 +3510,12 @@ h('button', { disabled: busy || dirty || imagePending || dataDirty || !project.u
1714
3510
  h('section',{className:'ppt-inspector-panel',hidden:activeTab!=='data'},project.dataModel?project.dataModel && h(DataPanel, { key: project.id + ':' + project.revision, project, blocked: busy || dirty || imagePending || mode !== 'html', incoming: incomingData,
1715
3511
  onParameters: parameters => frame.current?.contentWindow?.postMessage({ type: 'dsh-ppt-data-set', nonce: nonce.current, parameters, command: ++dataCommand.current }, '*'), onDirty: setDataDirty, onBusy: value => { setBusy(value); setJob(languageOf() === 'en' ? 'Updating presentation data…' : '正在核对并更新数据…'); },
1716
3512
  onAdopt: next => { adopt(next, selected); setMessage(languageOf() === 'en' ? 'Saved confirmed data. HTML, PPTX and project are synchronized; undo is available.' : '已保存确认后的数据,HTML、PPTX 和工程已同步,可撤销。'); }, onChoose: id => choose(project.slides.find(s => s.id === id)), onDownload: download }):h(W.Empty,{title:pptText('此工程没有绑定数据模型','This project has no bound data model'),icon:'file'},pptText('生成时提供来源、指标和可调假设后,可在这里核对来源并预览推演影响。普通演示文稿仍可正常编辑和下载。','Provide sources, metrics and adjustable assumptions when generating the deck to inspect lineage and scenario changes here. Normal editing and downloads remain available.')))))),
1717
- downloadOpen && project ? h(W.Dialog,{title:pptText('下载成品','Download output'),closeLabel:pptText('关闭','Close'),onClose:()=>setDownloadOpen(false)},h('div',{className:'ppt-downloads'},
3513
+ downloadOpen && project ? h(W.Dialog,{className:'pptw ppt-dialog',title:pptText('下载成品','Download output'),closeLabel:pptText('关闭','Close'),onClose:()=>setDownloadOpen(false)},h('div',{className:'ppt-downloads'},
1718
3514
  h('p',{className:'muted'},pptText('分享包包含 PPTX、HTML 和讲稿,不含工程 JSON;工程包保留完整编辑资料。请先保存修改,再下载最新版本。','The share bundle contains PPTX, HTML and speaker notes, without the project JSON. The project bundle keeps full editing data. Save edits before downloading.')),
1719
3515
  h('p',{className:'muted'},pptText('HTML、PPTX 备注和讲稿保留已绑定的来源摘录与用户填写内容。','HTML, PPTX notes and speaker notes retain bound source excerpts and authored content.')),
1720
- h('div', { className: 'tools' }, h('button', { className: 'primary', disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('share') }, pptText('下载分享成品包 ZIP','Download share bundle ZIP')),h('button',{disabled:busy || dirty || imagePending || dataDirty,onClick:()=>download('bundle')},pptText('下载完整工程包 ZIP','Download project bundle ZIP')), h('button', { disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('pptx') }, t("下载最新 PPTX")), h('button', { disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('html') }, t("下载 HTML")), h('button', { disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('notes') }, t("下载讲稿 Markdown")), h('button', { disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('json') }, t("备份工程"))))) : null,
1721
- pendingNav ? h(W.Dialog,{title:pptText('有未保存的修改','Unsaved changes'),closeLabel:pptText('继续编辑','Keep editing'),busy,onClose:()=>setPendingNav(null)},h('p',null,pptText('请选择如何处理当前页的修改。','Choose what to do with the current slide edits.')),h(W.Status,{tone:'error'},error),h('div',{className:'w-toolbar'},h(W.Button,{variant:'primary',disabled:busy || imagePending || dataDirty,onClick:async()=>{const target=pendingNav;const result=await save();if(result?.project && alive.current)finishNavigation(target,result.project);}},pptText('保存后继续','Save and continue')),h(W.Button,{disabled:busy,onClick:()=>finishNavigation(pendingNav)},pptText('放弃修改并继续','Discard and continue')),h(W.Button,{disabled:busy,onClick:()=>setPendingNav(null)},pptText('继续编辑','Keep editing')))) : null,
1722
- deleteOpen && project ? h(W.Dialog,{title:t('删除本页'),closeLabel:pptText('取消','Cancel'),busy,onClose:()=>setDeleteOpen(false)},h('p',null,pptText('将删除当前页面,之后可以撤销。','Remove the current slide. You can undo this change.')),h(W.Status,{tone:'error'},error),h('div',{className:'w-toolbar'},h(W.Button,{variant:'danger',disabled:busy,onClick:async()=>{const result=await structure('remove');if(result)setDeleteOpen(false);}},pptText('确认删除本页','Confirm remove slide')),h(W.Button,{disabled:busy,onClick:()=>setDeleteOpen(false)},pptText('取消','Cancel')))) : null),"dsh-ppt");
3516
+ h('div', { className: 'tools' }, h(W.Button, { variant: 'primary', icon: 'download', disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('share') }, pptText('下载分享成品包 ZIP','Download share bundle ZIP')),h(W.Button,{icon:'download',disabled:busy || dirty || imagePending || dataDirty,onClick:()=>download('bundle')},pptText('下载完整工程包 ZIP','Download project bundle ZIP')), h(W.Button, { icon: 'download', disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('pptx') }, t("下载最新 PPTX")), h(W.Button, { icon: 'download', disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('html') }, t("下载 HTML")), h(W.Button, { icon: 'download', disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('notes') }, t("下载讲稿 Markdown")), h(W.Button, { icon: 'download', disabled: busy || dirty || imagePending || dataDirty, onClick: () => download('json') }, t("备份工程"))))) : null,
3517
+ pendingNav ? h(W.Dialog,{className:'pptw ppt-dialog',title:pptText('有未保存的修改','Unsaved changes'),closeLabel:pptText('继续编辑','Keep editing'),busy,onClose:()=>setPendingNav(null)},h('p',null,pptText('请选择如何处理当前页的修改。','Choose what to do with the current slide edits.')),h(W.Status,{tone:'error'},error),h('div',{className:'w-toolbar'},h(W.Button,{variant:'primary',icon:'check',disabled:busy || imagePending || dataDirty,onClick:async()=>{const target=pendingNav;const result=await save();if(result?.project && alive.current)finishNavigation(target,result.project);}},pptText('保存后继续','Save and continue')),h(W.Button,{icon:'close',disabled:busy,onClick:()=>finishNavigation(pendingNav)},pptText('放弃修改并继续','Discard and continue')),h(W.Button,{variant:'ghost',disabled:busy,onClick:()=>setPendingNav(null)},pptText('继续编辑','Keep editing')))) : null,
3518
+ deleteOpen && project ? h(W.Dialog,{className:'pptw ppt-dialog',title:t('删除本页'),closeLabel:pptText('取消','Cancel'),busy,onClose:()=>setDeleteOpen(false)},h('p',null,pptText('将删除当前页面,之后可以撤销。','Remove the current slide. You can undo this change.')),h(W.Status,{tone:'error'},error),h('div',{className:'w-toolbar'},h(W.Button,{variant:'danger',icon:'trash',disabled:busy,onClick:async()=>{const result=await structure('remove');if(result)setDeleteOpen(false);}},pptText('确认删除本页','Confirm remove slide')),h(W.Button,{disabled:busy,onClick:()=>setDeleteOpen(false)},pptText('取消','Cancel')))) : null),"dsh-ppt");
1723
3519
  }
1724
3520
  function apply(ctx) {
1725
3521
  W.register(ctx,{id:'dsh-ppt.workbench',label:()=>t('演示文稿'),icon:'slides',component:Workbench,inject:()=>({locale:localeService}),order:57});
@@ -1733,7 +3529,7 @@ W.register(ctx,{id:'dsh-ppt.workbench',label:()=>t('演示文稿'),icon:'slides'
1733
3529
  ctx.slots.inject('settings.section', () => ctx.slots.register({ name: 'settings.section', id: 'dsh-ppt', order: 58, label: () => t("演示文稿"), inject: () => ({ locale: localeService }) }, Workbench));
1734
3530
  }
1735
3531
  return { inject: ['slots', 'locale'], apply, __internals: { draftFor, editorHtml, createImageLoader, modelRouteKey, findModelRoute, reconcileModelRoute } };
1736
- } },{"name":"dsh-ppt","version":"0.1.0","hasWorkbench":true,"packageVersion":"0.20.7","label":"演示文稿","labelEn":"PPT","suiteComponent":true,"sectionIds":["dsh-ppt"],"iconData":"data:image/webp;base64,UklGRtpcAABXRUJQVlA4WAoAAAAQAAAA/wAA/wAAQUxQSJUZAAABDMZtGzky+y/7sBMuvSNiAvIvrcWW64LikPKE7p7bQUjBRLcB6dCaLBjO2XCqe5mhYEtmUpziFFvkYQmSTuoS5wS5q9XLG3rA9s+QJPv/3hGRjZ1rzuiM7VnbnLVt27Zt27Zt27Y9uz08GlXwdV2ZkZFZFYVzPowIWLTtVI0uSXlIGaQKCSAyv34jyXZt27YteiGRFr0U2hJsamuxZdib3RIsamMkBMZ7tFqym41Ra6I6Nh8RsCBbrducSH7bwUggJDud6S+1fPP//uN/vIJxIZLMCMFZK45bVNRc8BYaIhLvWI+xy2+4/R777rPTJisO7/ACWmUIEYlx21/08m9zkDczv7l/95Et0cGy78+z5qUfzIYDnNVKSqm0ARxmPboaI9H6XHzpi77L4qqsuI31j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","suiteComponent":true,"sectionIds":["dsh-ppt"],"iconData":"data:image/webp;base64,UklGRtpcAABXRUJQVlA4WAoAAAAQAAAA/wAA/wAAQUxQSJUZAAABDMZtGzky+y/7sBMuvSNiAvIvrcWW64LikPKE7p7bQUjBRLcB6dCaLBjO2XCqe5mhYEtmUpziFFvkYQmSTuoS5wS5q9XLG3rA9s+QJPv/3hGRjZ1rzuiM7VnbnLVt27Zt27Zt27Y9uz08GlXwdV2ZkZFZFYVzPowIWLTtVI0uSXlIGaQKCSAyv34jyXZt27YteiGRFr0U2hJsamuxZdib3RIsamMkBMZ7tFqym41Ra6I6Nh8RsCBbrducSH7bwUggJDud6S+1fPP//uN/vIJxIZLMCMFZK45bVNRc8BYaIhLvWI+xy2+4/R777rPTJisO7/ACWmUIEYlx21/08m9zkDczv7l/95Et0cGy78+z5qUfzIYDnNVKSqm0ARxmPboaI9H6XHzpi77L4qqsuI31jTFaKgf3wtIkWCtLh1HnVq8YwEhtbAljlEblSOItiwSnv+z7BZxVaUhpkzpuFKw1kRDUtusPcFo752wJBPIicRPxFvWt1d+DU5mrkExmbA7OKpzQghLjgobfaqG0tWV5bRuxfY0xq7ccZxp64D+glfXZ2mLoh4jknMZH8xBrLY0tjXwC1kvH42qRBe1KorVE22galA1wGWizGDbFa60lGj/DuZSDMFrKrKyNzoQv/8tcMIOJrcMS1PcJaL++9eMZqVBgrFSZiyJxccuAoAmfQ3p3Ve4ukxaY9dFtR226wjJLLTtx+9Mf/MEA+hGkkXmLiJzQUn9AhuVKA/nM9qPCF1W3pY77FK9niZXZY4m3Bl5mBlSosjUKc29e1KuME8FTI5IkK972Td6B1QXWOi3BK2iJySkHoDVeXizrceIlOmHE3n+DL5AfO3ajJJAvr2NOpPE4a7a8cBeUDbCy6rBM/ygnlQsa+y5UTgH54GD/gye8UHtpogGcBn8HFdKoFKanNxMv3QnZQb3f8HJ5cBglud+o1xJbH37WJZdfcNKea45u89TXZilt0jwvQgXTx08LU8Kq6INk1PcTaMJOJD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