dsh-cite 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.en.md +18 -8
- package/README.md +18 -8
- package/docs/assets/screenshots/doi-check-en.jpg +0 -0
- package/docs/assets/screenshots/doi-check-zh.jpg +0 -0
- package/docs/assets/screenshots/import-en.jpg +0 -0
- package/docs/assets/screenshots/import-zh.jpg +0 -0
- package/docs/assets/screenshots/library-en.jpg +0 -0
- package/docs/assets/screenshots/library-zh.jpg +0 -0
- package/lib/client.js +1375 -253
- package/lib/index.d.ts +4 -0
- package/lib/index.js +29 -7
- package/package.json +2 -2
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,
|
|
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
|
-
//
|
|
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:
|
|
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
|
|
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
|
-
|
|
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 =
|
|
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
|
|
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(),
|
|
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('
|
|
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),
|
|
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
|
|
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(
|
|
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
|
|
390
|
-
const
|
|
391
|
-
const
|
|
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
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
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('
|
|
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
|
-
|
|
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
|
-
|
|
410
|
-
|
|
411
|
-
|
|
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 + '
|
|
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 && !!
|
|
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,67 +567,815 @@ 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
|
-
/*
|
|
462
|
-
* Vendored
|
|
463
|
-
*
|
|
570
|
+
/* DeepSeek Harness (>=0.2.2-rc.3) Unified Style Switcher & Safe Host Primitives.
|
|
571
|
+
* Vendored from _dsh-design-system/style-switcher.js as classic script (no ESM exports)
|
|
572
|
+
* so @stardustlc/dsh-updates/build acorn script parser succeeds without extra bundlers.
|
|
464
573
|
*/
|
|
465
|
-
|
|
574
|
+
const DSH_STYLE_STORAGE_KEY = 'dsh-stardust:ui-style';
|
|
575
|
+
const DSH_STYLE_EVENT = 'dsh-stardust-style';
|
|
576
|
+
const DSH_DEFAULT_STYLE = 'harness';
|
|
577
|
+
|
|
578
|
+
const DSH_STYLES = Object.freeze([
|
|
579
|
+
Object.freeze({
|
|
580
|
+
id: 'harness',
|
|
581
|
+
zh: '原生清透',
|
|
582
|
+
zhShort: '原生',
|
|
583
|
+
en: 'Native Airy',
|
|
584
|
+
enShort: 'Native',
|
|
585
|
+
swatch: '#4176e6',
|
|
586
|
+
surface: '#f8fafc',
|
|
587
|
+
}),
|
|
588
|
+
Object.freeze({
|
|
589
|
+
id: 'cream',
|
|
590
|
+
zh: '米白纸感',
|
|
591
|
+
zhShort: '米白色',
|
|
592
|
+
en: 'Warm Cream',
|
|
593
|
+
enShort: 'Cream',
|
|
594
|
+
swatch: '#9e5829',
|
|
595
|
+
surface: '#faf7f0',
|
|
596
|
+
}),
|
|
597
|
+
Object.freeze({
|
|
598
|
+
id: 'claude',
|
|
599
|
+
zh: 'Claude 暖书卷',
|
|
600
|
+
zhShort: 'Claude风',
|
|
601
|
+
en: 'Claude Warmth',
|
|
602
|
+
enShort: 'Claude',
|
|
603
|
+
swatch: '#c96442',
|
|
604
|
+
surface: '#f5f4ed',
|
|
605
|
+
}),
|
|
606
|
+
Object.freeze({
|
|
607
|
+
id: 'pixel8bit',
|
|
608
|
+
zh: '8-Bit 像素',
|
|
609
|
+
zhShort: '8-Bit像素',
|
|
610
|
+
en: 'Bright 8-Bit',
|
|
611
|
+
enShort: '8-Bit',
|
|
612
|
+
swatch: '#2e7d5b',
|
|
613
|
+
surface: '#f4f6e8',
|
|
614
|
+
}),
|
|
615
|
+
Object.freeze({
|
|
616
|
+
id: 'mint',
|
|
617
|
+
zh: '晴空薄荷',
|
|
618
|
+
zhShort: '薄荷',
|
|
619
|
+
en: 'Airy Mint',
|
|
620
|
+
enShort: 'Mint',
|
|
621
|
+
swatch: '#0f766e',
|
|
622
|
+
surface: '#f5fafb',
|
|
623
|
+
}),
|
|
624
|
+
]);
|
|
625
|
+
|
|
626
|
+
const DSH_VALID_STYLE_IDS = new Set(DSH_STYLES.map(preset => preset.id));
|
|
627
|
+
const DSH_MEMORY_STYLE = { current: DSH_DEFAULT_STYLE };
|
|
628
|
+
const DSH_STYLE_SUBSCRIBERS = new Set();
|
|
629
|
+
|
|
630
|
+
function resolveDshWindow(win) {
|
|
631
|
+
if (win && typeof win === 'object') return win;
|
|
632
|
+
return typeof window !== 'undefined' ? window : null;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
function normalizeDshStyle(value) {
|
|
636
|
+
const key = typeof value === 'string' ? value.trim() : '';
|
|
637
|
+
return DSH_VALID_STYLE_IDS.has(key) ? key : DSH_DEFAULT_STYLE;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
function getDshStylePreset(value) {
|
|
641
|
+
const id = normalizeDshStyle(value);
|
|
642
|
+
return DSH_STYLES.find(preset => preset.id === id) || DSH_STYLES[0];
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
function readDshStyle(win) {
|
|
646
|
+
const target = resolveDshWindow(win);
|
|
647
|
+
if (!target) return DSH_MEMORY_STYLE.current;
|
|
648
|
+
try {
|
|
649
|
+
const raw = target.localStorage?.getItem(DSH_STYLE_STORAGE_KEY);
|
|
650
|
+
if (raw !== null && raw !== undefined) {
|
|
651
|
+
const normalized = normalizeDshStyle(raw);
|
|
652
|
+
DSH_MEMORY_STYLE.current = normalized;
|
|
653
|
+
return normalized;
|
|
654
|
+
}
|
|
655
|
+
} catch {
|
|
656
|
+
// Restricted storage: fall back to in-memory style.
|
|
657
|
+
}
|
|
658
|
+
return DSH_MEMORY_STYLE.current || DSH_DEFAULT_STYLE;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
function syncPortaledOverlays(style, doc) {
|
|
662
|
+
const normalized = normalizeDshStyle(style);
|
|
663
|
+
const targetDoc = doc || (typeof document !== 'undefined' ? document : null);
|
|
664
|
+
if (!targetDoc || typeof targetDoc.querySelectorAll !== 'function') return;
|
|
665
|
+
for (const el of targetDoc.querySelectorAll('[data-dsh-portal-synced]')) {
|
|
666
|
+
el.setAttribute('data-dsh-style', normalized);
|
|
667
|
+
if (!el.hasAttribute('data-window-drag-exclude')) {
|
|
668
|
+
el.setAttribute('data-window-drag-exclude', '');
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
function writeDshStyle(nextStyle, win) {
|
|
674
|
+
const normalized = normalizeDshStyle(nextStyle);
|
|
675
|
+
DSH_MEMORY_STYLE.current = normalized;
|
|
676
|
+
const target = resolveDshWindow(win);
|
|
677
|
+
if (target) {
|
|
678
|
+
try {
|
|
679
|
+
target.localStorage?.setItem(DSH_STYLE_STORAGE_KEY, normalized);
|
|
680
|
+
} catch {
|
|
681
|
+
// Restricted storage: keep in-memory + custom event sync working.
|
|
682
|
+
}
|
|
683
|
+
syncPortaledOverlays(normalized, target.document);
|
|
684
|
+
if (typeof target.dispatchEvent === 'function') {
|
|
685
|
+
try {
|
|
686
|
+
const CustomEventCtor = target.CustomEvent || (typeof CustomEvent === 'function' ? CustomEvent : null);
|
|
687
|
+
if (CustomEventCtor) {
|
|
688
|
+
target.dispatchEvent(new CustomEventCtor(DSH_STYLE_EVENT, { detail: { style: normalized } }));
|
|
689
|
+
} else if (typeof Event === 'function') {
|
|
690
|
+
const ev = new Event(DSH_STYLE_EVENT);
|
|
691
|
+
ev.detail = { style: normalized };
|
|
692
|
+
target.dispatchEvent(ev);
|
|
693
|
+
}
|
|
694
|
+
} catch {
|
|
695
|
+
// Ignore synthetic event errors in minimal VM environments.
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
for (const notify of DSH_STYLE_SUBSCRIBERS) {
|
|
700
|
+
try { notify(normalized); } catch {}
|
|
701
|
+
}
|
|
702
|
+
return normalized;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
function subscribeDshStyle(onChange, win) {
|
|
706
|
+
if (typeof onChange !== 'function') return () => {};
|
|
707
|
+
DSH_STYLE_SUBSCRIBERS.add(onChange);
|
|
708
|
+
const target = resolveDshWindow(win);
|
|
709
|
+
if (!target || typeof target.addEventListener !== 'function') {
|
|
710
|
+
return () => { DSH_STYLE_SUBSCRIBERS.delete(onChange); };
|
|
711
|
+
}
|
|
712
|
+
const onCustom = event => {
|
|
713
|
+
const next = normalizeDshStyle(event?.detail?.style ?? readDshStyle(target));
|
|
714
|
+
DSH_MEMORY_STYLE.current = next;
|
|
715
|
+
syncPortaledOverlays(next, target.document);
|
|
716
|
+
onChange(next);
|
|
717
|
+
};
|
|
718
|
+
const onStorage = event => {
|
|
719
|
+
if (event && event.key !== null && event.key !== undefined && event.key !== DSH_STYLE_STORAGE_KEY) {
|
|
720
|
+
return;
|
|
721
|
+
}
|
|
722
|
+
const next = normalizeDshStyle(event?.newValue ?? readDshStyle(target));
|
|
723
|
+
DSH_MEMORY_STYLE.current = next;
|
|
724
|
+
syncPortaledOverlays(next, target.document);
|
|
725
|
+
onChange(next);
|
|
726
|
+
};
|
|
727
|
+
target.addEventListener(DSH_STYLE_EVENT, onCustom);
|
|
728
|
+
target.addEventListener('storage', onStorage);
|
|
729
|
+
return () => {
|
|
730
|
+
DSH_STYLE_SUBSCRIBERS.delete(onChange);
|
|
731
|
+
target.removeEventListener(DSH_STYLE_EVENT, onCustom);
|
|
732
|
+
target.removeEventListener('storage', onStorage);
|
|
733
|
+
};
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
function useDshStyle(React, win) {
|
|
737
|
+
if (!React || typeof React.useState !== 'function') {
|
|
738
|
+
return [readDshStyle(win), next => writeDshStyle(next, win)];
|
|
739
|
+
}
|
|
740
|
+
const [style, setStyleState] = React.useState(() => readDshStyle(win));
|
|
741
|
+
if (typeof React.useEffect === 'function') {
|
|
742
|
+
React.useEffect(() => {
|
|
743
|
+
const current = readDshStyle(win);
|
|
744
|
+
setStyleState(prev => (prev === current ? prev : current));
|
|
745
|
+
syncPortaledOverlays(current, resolveDshWindow(win)?.document);
|
|
746
|
+
return subscribeDshStyle(next => {
|
|
747
|
+
setStyleState(prev => (prev === next ? prev : next));
|
|
748
|
+
}, win);
|
|
749
|
+
}, [win]);
|
|
750
|
+
}
|
|
751
|
+
const setStyle = next => {
|
|
752
|
+
const resolved = typeof next === 'function' ? next(style) : next;
|
|
753
|
+
const applied = writeDshStyle(resolved, win);
|
|
754
|
+
setStyleState(applied);
|
|
755
|
+
return applied;
|
|
756
|
+
};
|
|
757
|
+
return [style, setStyle];
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
function createOverlaySyncRef(style) {
|
|
761
|
+
const normalized = normalizeDshStyle(style);
|
|
762
|
+
return node => {
|
|
763
|
+
if (!node || typeof node.setAttribute !== 'function') return;
|
|
764
|
+
node.setAttribute('data-dsh-style', normalized);
|
|
765
|
+
node.setAttribute('data-window-drag-exclude', '');
|
|
766
|
+
node.setAttribute('data-dsh-portal-synced', 'true');
|
|
767
|
+
if (typeof node.closest === 'function') {
|
|
768
|
+
const overlay = node.closest('[role="dialog"], [role="alertdialog"], [role="menu"], dialog');
|
|
769
|
+
if (overlay && typeof overlay.setAttribute === 'function') {
|
|
770
|
+
overlay.setAttribute('data-dsh-style', normalized);
|
|
771
|
+
overlay.setAttribute('data-window-drag-exclude', '');
|
|
772
|
+
overlay.setAttribute('data-dsh-portal-synced', 'true');
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
};
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
const DSH_ICON_PATHS = Object.freeze({
|
|
779
|
+
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'],
|
|
780
|
+
calendar: ['M4 6h16v14H4z', 'M8 3v4M16 3v4M4 10h16'],
|
|
781
|
+
mail: ['M3 5h18v14H3z', 'm3 6 9 7 9-7'],
|
|
782
|
+
inbox: ['M4 13 6 5h12l2 8v6H4z', 'M4 13h5l1 3h4l1-3h5'],
|
|
783
|
+
send: ['m22 2-7 20-4-9-9-4Z', 'M22 2 11 13'],
|
|
784
|
+
rss: ['M5 19a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z', 'M4 11a9 9 0 0 1 9 9', 'M4 5a15 15 0 0 1 15 15'],
|
|
785
|
+
slides: ['M3 4h18v13H3z', 'M12 17v4M8 21h8'],
|
|
786
|
+
shield: ['m12 3 8 3v6c0 4-4 7-8 9-4-2-8-5-8-9V6z', 'm8 12 3 3 5-6'],
|
|
787
|
+
layers: ['M5 3h16v16H5z', 'M2 7v15h15'],
|
|
788
|
+
play: ['m7 5 12 7-12 7Z'],
|
|
789
|
+
video: ['M3 5h12v14H3z', 'm15 10 6-4v12l-6-4'],
|
|
790
|
+
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'],
|
|
791
|
+
plus: ['M12 5v14M5 12h14'],
|
|
792
|
+
refresh: ['M20 7a9 9 0 1 0 1 8', 'M20 2v5h-5'],
|
|
793
|
+
settings: ['m9 3-.7 2.4-2 .9L4 5.8 2.5 8.4l1.7 1.8v2.3L2.5 14 4 17l2.5-.4 1.9 1L9 20h3l.8-2.4 2-1 2.5.4 1.5-2.7-1.7-1.9v-2.2l1.7-1.8-1.5-2.6-2.5.4-2-1L12 3Z', 'M14 11.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z'],
|
|
794
|
+
close: ['m6 6 12 12M18 6 6 18'],
|
|
795
|
+
left: ['m14 5-7 7 7 7'],
|
|
796
|
+
right: ['m10 5 7 7-7 7'],
|
|
797
|
+
down: ['m5 9 7 7 7-7'],
|
|
798
|
+
filter: ['M4 5h16M7 12h10M10 19h4'],
|
|
799
|
+
download: ['M12 3v12m-5-5 5 5 5-5', 'M4 16v5h16v-5'],
|
|
800
|
+
upload: ['M12 16V4m-5 5 5-5 5 5', 'M4 16v5h16v-5'],
|
|
801
|
+
copy: ['M9 9h10v11H9z', 'M5 15H4V4h10v1'],
|
|
802
|
+
external: ['M14 4h6v6', 'M10 14 20 4', 'M18 13v6H5V6h6'],
|
|
803
|
+
file: ['M4 3h10l6 6v12H4z', 'M14 3v6h6M8 13h8M8 17h6'],
|
|
804
|
+
folder: ['M3 5h7l2 3h9v12H3z'],
|
|
805
|
+
edit: ['m15 4 5 5-10 10-6 1 1-6Z', 'm13 6 5 5'],
|
|
806
|
+
trash: ['M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7M14 10v7'],
|
|
807
|
+
more: ['M5 12h.01M12 12h.01M19 12h.01'],
|
|
808
|
+
info: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z', 'M12 11v6M12 7h.01'],
|
|
809
|
+
check: ['m5 12 4 4L19 6'],
|
|
810
|
+
quote: ['M4 12h6v7H3v-7c0-4 2-6 5-7M15 12h6v7h-7v-7c0-4 2-6 5-7'],
|
|
811
|
+
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'],
|
|
812
|
+
reply: ['m9 5-7 7 7 7v-5h6c3 0 5 2 6 5 0-8-4-11-12-11Z'],
|
|
813
|
+
link: ['M10 13a5 5 0 0 0 7.1 0l2.8-2.8a5 5 0 0 0-7.1-7.1L11 4.9', 'M14 11a5 5 0 0 0-7.1 0l-2.8 2.8a5 5 0 0 0 7.1 7.1L13 19.1'],
|
|
814
|
+
lock: ['M5 10h14v11H5z', 'M8 10V7a4 4 0 0 1 8 0v3M12 14v3'],
|
|
815
|
+
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'],
|
|
816
|
+
clock: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z', 'M12 6v6l4 2'],
|
|
817
|
+
image: ['M3 4h18v16H3z', 'm3 17 6-6 5 5 2-2 5 5M16 8h.01'],
|
|
818
|
+
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'],
|
|
819
|
+
sparkles: ['m12 3 1.8 4.2L18 9l-4.2 1.8L12 15l-1.8-4.2L6 9l4.2-1.8Z', 'M19 15v4M17 17h4'],
|
|
820
|
+
sparkle: ['m12 3 1.8 4.2L18 9l-4.2 1.8L12 15l-1.8-4.2L6 9l4.2-1.8Z', 'M19 15v4M17 17h4'],
|
|
821
|
+
diff: ['M12 4v16', 'M4 8h5M6.5 5.5v5M4 16h5', 'M15 8h5M15 16h5'],
|
|
822
|
+
moon: ['M21 12.8A8.5 8.5 0 1 1 11.2 3a6.5 6.5 0 0 0 9.8 9.8z'],
|
|
823
|
+
});
|
|
824
|
+
|
|
825
|
+
function renderDshIcon(React, { name = 'file', size = 16, paths = DSH_ICON_PATHS, spinning = false, ...props } = {}) {
|
|
826
|
+
const h = React.createElement;
|
|
827
|
+
const segments = paths[name] || DSH_ICON_PATHS[name] || DSH_ICON_PATHS.file;
|
|
828
|
+
return h(
|
|
829
|
+
'svg',
|
|
830
|
+
{
|
|
831
|
+
width: size,
|
|
832
|
+
height: size,
|
|
833
|
+
viewBox: '0 0 24 24',
|
|
834
|
+
fill: 'none',
|
|
835
|
+
stroke: 'currentColor',
|
|
836
|
+
strokeWidth: 1.65,
|
|
837
|
+
strokeLinecap: 'round',
|
|
838
|
+
strokeLinejoin: 'round',
|
|
839
|
+
'aria-hidden': 'true',
|
|
840
|
+
focusable: 'false',
|
|
841
|
+
'data-dsh-icon': name,
|
|
842
|
+
'data-spinning': spinning ? 'true' : undefined,
|
|
843
|
+
...props,
|
|
844
|
+
},
|
|
845
|
+
segments.map((d, index) => h('path', { key: index, d })),
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
const DSH_PRIMITIVES_CACHE = new WeakMap();
|
|
850
|
+
|
|
851
|
+
function resolveHostPrimitives(React, requireFn) {
|
|
852
|
+
if (typeof requireFn === 'function' && DSH_PRIMITIVES_CACHE.has(requireFn)) {
|
|
853
|
+
return DSH_PRIMITIVES_CACHE.get(requireFn);
|
|
854
|
+
}
|
|
855
|
+
const h = React.createElement;
|
|
856
|
+
let host = null;
|
|
857
|
+
if (typeof requireFn === 'function') {
|
|
858
|
+
try {
|
|
859
|
+
host = requireFn('@deepseek-ai/dsh-client-ui-primitives') || null;
|
|
860
|
+
} catch {
|
|
861
|
+
host = null;
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
function FallbackButton({ variant = 'ghost', size = 'md', icon, className, children, type = 'button', ...rest }) {
|
|
866
|
+
const cls = ['dsh-btn', 'dsh-btn-' + variant, 'dsh-btn-' + size, className].filter(Boolean).join(' ');
|
|
867
|
+
return h(
|
|
868
|
+
'button',
|
|
869
|
+
{ type, className: cls, ...rest },
|
|
870
|
+
icon != null ? h('span', { className: 'dsh-fallback-btn-icon' }, icon) : null,
|
|
871
|
+
children,
|
|
872
|
+
);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
function FallbackInput({ icon, className, ...rest }) {
|
|
876
|
+
const cls = ['dsh-fallback-input-wrap', className].filter(Boolean).join(' ');
|
|
877
|
+
return h(
|
|
878
|
+
'span',
|
|
879
|
+
{ className: cls },
|
|
880
|
+
icon != null ? h('span', { className: 'dsh-fallback-input-icon' }, icon) : null,
|
|
881
|
+
h('input', rest),
|
|
882
|
+
);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
function FallbackCheckbox({ checked = false, onChange, label, disabled = false, title, className, ...rest }) {
|
|
886
|
+
return h(
|
|
887
|
+
'label',
|
|
888
|
+
{ className: ['dsh-checkbox-label', className].filter(Boolean).join(' '), title },
|
|
889
|
+
h('input', {
|
|
890
|
+
type: 'checkbox',
|
|
891
|
+
checked: Boolean(checked),
|
|
892
|
+
disabled,
|
|
893
|
+
'aria-label': rest['aria-label'] || (typeof label === 'string' ? label : undefined),
|
|
894
|
+
onChange: event => onChange?.(typeof event === 'boolean' ? event : Boolean(event?.target?.checked)),
|
|
895
|
+
...rest,
|
|
896
|
+
}),
|
|
897
|
+
label != null ? h('span', null, label) : null,
|
|
898
|
+
);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
function FallbackSwitch({ checked = false, onChange, label, disabled = false, title, className }) {
|
|
902
|
+
return h(
|
|
903
|
+
'button',
|
|
904
|
+
{
|
|
905
|
+
type: 'button',
|
|
906
|
+
role: 'switch',
|
|
907
|
+
'aria-checked': Boolean(checked),
|
|
908
|
+
'aria-label': label,
|
|
909
|
+
title,
|
|
910
|
+
disabled,
|
|
911
|
+
className,
|
|
912
|
+
onClick: () => { if (!disabled) onChange?.(!checked); },
|
|
913
|
+
},
|
|
914
|
+
h('span', null),
|
|
915
|
+
);
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
function FallbackSegmentedControl({ id, value, options = [], onChange, label, disabled = false, className }) {
|
|
919
|
+
function handleKeys(event, index) {
|
|
920
|
+
if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event?.key)) return;
|
|
921
|
+
event.preventDefault?.();
|
|
922
|
+
const enabled = options.map((opt, idx) => ({ opt, idx })).filter(item => !item.opt.disabled);
|
|
923
|
+
if (!enabled.length) return;
|
|
924
|
+
const pos = Math.max(0, enabled.findIndex(item => item.idx === index));
|
|
925
|
+
const nextItem = event.key === 'Home'
|
|
926
|
+
? enabled[0]
|
|
927
|
+
: event.key === 'End'
|
|
928
|
+
? enabled[enabled.length - 1]
|
|
929
|
+
: enabled[(pos + (event.key === 'ArrowRight' ? 1 : -1) + enabled.length) % enabled.length];
|
|
930
|
+
if (nextItem && !disabled) {
|
|
931
|
+
onChange?.(nextItem.opt.value);
|
|
932
|
+
event.currentTarget?.parentElement?.querySelectorAll('[role="tab"]')?.[nextItem.idx]?.focus?.();
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
return h(
|
|
936
|
+
'div',
|
|
937
|
+
{ role: 'tablist', 'aria-label': label, className: ['dsh-segmented-fallback', className].filter(Boolean).join(' ') },
|
|
938
|
+
options.map((opt, index) => {
|
|
939
|
+
const selected = opt.value === value;
|
|
940
|
+
return h(
|
|
941
|
+
'button',
|
|
942
|
+
{
|
|
943
|
+
key: opt.value,
|
|
944
|
+
id: id ? id + '-' + opt.value : undefined,
|
|
945
|
+
type: 'button',
|
|
946
|
+
role: 'tab',
|
|
947
|
+
title: opt.title,
|
|
948
|
+
'aria-selected': selected,
|
|
949
|
+
tabIndex: selected ? 0 : -1,
|
|
950
|
+
disabled: disabled || Boolean(opt.disabled),
|
|
951
|
+
onClick: () => {
|
|
952
|
+
if (!disabled && !opt.disabled && opt.value !== value) onChange?.(opt.value);
|
|
953
|
+
},
|
|
954
|
+
onKeyDown: event => handleKeys(event, index),
|
|
955
|
+
},
|
|
956
|
+
opt.label,
|
|
957
|
+
);
|
|
958
|
+
}),
|
|
959
|
+
);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
function FallbackSegmentedTabs({ label, value, onChange, items = [], className }) {
|
|
963
|
+
function handleKeys(event, index) {
|
|
964
|
+
if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event?.key)) return;
|
|
965
|
+
event.preventDefault?.();
|
|
966
|
+
if (!items.length) return;
|
|
967
|
+
const next = event.key === 'Home' ? 0 : event.key === 'End' ? items.length - 1 : (index + (event.key === 'ArrowRight' ? 1 : -1) + items.length) % items.length;
|
|
968
|
+
const target = items[next];
|
|
969
|
+
if (target) {
|
|
970
|
+
onChange?.(target.value);
|
|
971
|
+
event.currentTarget?.parentElement?.querySelectorAll('[role="tab"]')?.[next]?.focus?.();
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
return h(
|
|
975
|
+
'div',
|
|
976
|
+
{ role: 'tablist', 'aria-label': label, className: ['dsh-segmented-fallback', className].filter(Boolean).join(' ') },
|
|
977
|
+
items.map((item, index) => {
|
|
978
|
+
const selected = item.value === value;
|
|
979
|
+
return h(
|
|
980
|
+
'button',
|
|
981
|
+
{
|
|
982
|
+
key: item.value,
|
|
983
|
+
id: item.id,
|
|
984
|
+
type: 'button',
|
|
985
|
+
role: 'tab',
|
|
986
|
+
'aria-selected': selected,
|
|
987
|
+
tabIndex: selected ? 0 : -1,
|
|
988
|
+
onClick: () => { if (item.value !== value) onChange?.(item.value); },
|
|
989
|
+
onKeyDown: event => handleKeys(event, index),
|
|
990
|
+
},
|
|
991
|
+
item.label,
|
|
992
|
+
);
|
|
993
|
+
}),
|
|
994
|
+
);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
function FallbackMenuSurface({ className, children, ...rest }) {
|
|
998
|
+
return h('div', { className, ...rest }, children);
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
function FallbackPill({ active, className, children, ...rest }) {
|
|
1002
|
+
return h(
|
|
1003
|
+
'button',
|
|
1004
|
+
{
|
|
1005
|
+
type: 'button',
|
|
1006
|
+
'data-active': active ? 'true' : undefined,
|
|
1007
|
+
className: ['dsh-pill-fallback', className].filter(Boolean).join(' '),
|
|
1008
|
+
...rest,
|
|
1009
|
+
},
|
|
1010
|
+
children,
|
|
1011
|
+
);
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
function FallbackTag({ tone, className, children, ...rest }) {
|
|
1015
|
+
return h(
|
|
1016
|
+
'span',
|
|
1017
|
+
{
|
|
1018
|
+
'data-tone': tone || undefined,
|
|
1019
|
+
className: ['dsh-tag-fallback', className].filter(Boolean).join(' '),
|
|
1020
|
+
...rest,
|
|
1021
|
+
},
|
|
1022
|
+
children,
|
|
1023
|
+
);
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
function FallbackDiffBlock({ diffs = [] }) {
|
|
1027
|
+
return h(
|
|
1028
|
+
'div',
|
|
1029
|
+
{ className: 'dsh-diff-fallback' },
|
|
1030
|
+
diffs.map((item, index) =>
|
|
1031
|
+
h(
|
|
1032
|
+
'section',
|
|
1033
|
+
{ key: item.path || index },
|
|
1034
|
+
h('strong', null, item.path),
|
|
1035
|
+
item.oldText ? h('pre', { 'data-diff': 'old' }, '- ' + item.oldText) : null,
|
|
1036
|
+
item.newText ? h('pre', { 'data-diff': 'new' }, '+ ' + item.newText) : null,
|
|
1037
|
+
),
|
|
1038
|
+
),
|
|
1039
|
+
);
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
function renderPortalSyncNode(styleValue) {
|
|
1043
|
+
const syncStyle = normalizeDshStyle(styleValue ?? readDshStyle());
|
|
1044
|
+
return h('span', {
|
|
1045
|
+
key: '__dsh_portal_sync__',
|
|
1046
|
+
ref: createOverlaySyncRef(syncStyle),
|
|
1047
|
+
hidden: true,
|
|
1048
|
+
'aria-hidden': 'true',
|
|
1049
|
+
'data-dsh-style': syncStyle,
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
function FallbackMenu({
|
|
1054
|
+
open = false,
|
|
1055
|
+
anchor,
|
|
1056
|
+
items = [],
|
|
1057
|
+
children,
|
|
1058
|
+
selectedId,
|
|
1059
|
+
onSelect,
|
|
1060
|
+
onClose,
|
|
1061
|
+
footer,
|
|
1062
|
+
className,
|
|
1063
|
+
listClassName,
|
|
1064
|
+
dshStyle,
|
|
1065
|
+
}) {
|
|
1066
|
+
const style = normalizeDshStyle(dshStyle ?? readDshStyle());
|
|
1067
|
+
return h(
|
|
1068
|
+
'div',
|
|
1069
|
+
{ className: ['dsh-style-fallback-wrap', className].filter(Boolean).join(' ') },
|
|
1070
|
+
anchor,
|
|
1071
|
+
open
|
|
1072
|
+
? h(
|
|
1073
|
+
'div',
|
|
1074
|
+
{
|
|
1075
|
+
role: 'menu',
|
|
1076
|
+
'data-dsh-style': style,
|
|
1077
|
+
'data-window-drag-exclude': '',
|
|
1078
|
+
'data-dsh-portal-synced': 'true',
|
|
1079
|
+
className: ['dsh-style-fallback-menu', listClassName].filter(Boolean).join(' '),
|
|
1080
|
+
onKeyDown: event => {
|
|
1081
|
+
if (event?.key === 'Escape') {
|
|
1082
|
+
event.stopPropagation?.();
|
|
1083
|
+
onClose?.();
|
|
1084
|
+
}
|
|
1085
|
+
},
|
|
1086
|
+
},
|
|
1087
|
+
items.map(item =>
|
|
1088
|
+
h(
|
|
1089
|
+
'button',
|
|
1090
|
+
{
|
|
1091
|
+
key: item.id,
|
|
1092
|
+
type: 'button',
|
|
1093
|
+
role: 'menuitemradio',
|
|
1094
|
+
'aria-checked': item.id === selectedId,
|
|
1095
|
+
disabled: Boolean(item.disabled),
|
|
1096
|
+
className: 'dsh-style-fallback-item',
|
|
1097
|
+
onClick: () => {
|
|
1098
|
+
if (!item.disabled) {
|
|
1099
|
+
onSelect?.(item.id);
|
|
1100
|
+
onClose?.();
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
},
|
|
1104
|
+
h('span', null, item.label),
|
|
1105
|
+
item.id === selectedId ? h('span', { 'aria-hidden': 'true' }, '✓') : null,
|
|
1106
|
+
),
|
|
1107
|
+
),
|
|
1108
|
+
children,
|
|
1109
|
+
footer,
|
|
1110
|
+
)
|
|
1111
|
+
: null,
|
|
1112
|
+
);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
function FallbackModal({
|
|
1116
|
+
open = true,
|
|
1117
|
+
onClose,
|
|
1118
|
+
title,
|
|
1119
|
+
closeLabel = 'Close',
|
|
1120
|
+
children,
|
|
1121
|
+
footer,
|
|
1122
|
+
className,
|
|
1123
|
+
contentClassName,
|
|
1124
|
+
onKeyDownCapture,
|
|
1125
|
+
headless = false,
|
|
1126
|
+
dshStyle,
|
|
1127
|
+
}) {
|
|
1128
|
+
if (!open) return null;
|
|
1129
|
+
const style = normalizeDshStyle(dshStyle ?? readDshStyle());
|
|
1130
|
+
return h(
|
|
1131
|
+
'div',
|
|
1132
|
+
{
|
|
1133
|
+
className: 'dsh-fallback-modal-root',
|
|
1134
|
+
role: 'presentation',
|
|
1135
|
+
'data-dsh-style': style,
|
|
1136
|
+
'data-window-drag-exclude': '',
|
|
1137
|
+
'data-dsh-portal-synced': 'true',
|
|
1138
|
+
onKeyDownCapture: event => {
|
|
1139
|
+
onKeyDownCapture?.(event);
|
|
1140
|
+
if (!event?.defaultPrevented && event?.key === 'Escape') {
|
|
1141
|
+
onClose?.();
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
},
|
|
1145
|
+
h('div', { className: 'dsh-fallback-modal-mask', 'aria-hidden': 'true', onClick: onClose }),
|
|
1146
|
+
h(
|
|
1147
|
+
'div',
|
|
1148
|
+
{
|
|
1149
|
+
role: 'dialog',
|
|
1150
|
+
'aria-modal': 'true',
|
|
1151
|
+
'aria-label': title,
|
|
1152
|
+
tabIndex: -1,
|
|
1153
|
+
'data-dsh-style': style,
|
|
1154
|
+
'data-window-drag-exclude': '',
|
|
1155
|
+
'data-dsh-portal-synced': 'true',
|
|
1156
|
+
className: ['dsh-fallback-modal-dialog', className].filter(Boolean).join(' '),
|
|
1157
|
+
},
|
|
1158
|
+
headless
|
|
1159
|
+
? children
|
|
1160
|
+
: h(
|
|
1161
|
+
React.Fragment || 'div',
|
|
1162
|
+
null,
|
|
1163
|
+
h(
|
|
1164
|
+
'header',
|
|
1165
|
+
null,
|
|
1166
|
+
h('h2', null, title),
|
|
1167
|
+
h('button', { type: 'button', 'aria-label': closeLabel, onClick: onClose }, '×'),
|
|
1168
|
+
),
|
|
1169
|
+
h('div', { className: contentClassName }, children),
|
|
1170
|
+
footer ? h('footer', null, footer) : null,
|
|
1171
|
+
),
|
|
1172
|
+
),
|
|
1173
|
+
);
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
const WrappedMenu = host?.Menu
|
|
1177
|
+
? function HostMenuWithStyle({ dshStyle, children, ...menuProps }) {
|
|
1178
|
+
if (!menuProps.open) {
|
|
1179
|
+
return children !== undefined ? h(host.Menu, menuProps, children) : h(host.Menu, menuProps);
|
|
1180
|
+
}
|
|
1181
|
+
const syncNode = renderPortalSyncNode(dshStyle);
|
|
1182
|
+
return children !== undefined && children !== null
|
|
1183
|
+
? h(host.Menu, menuProps, children, syncNode)
|
|
1184
|
+
: h(host.Menu, menuProps, syncNode);
|
|
1185
|
+
}
|
|
1186
|
+
: FallbackMenu;
|
|
1187
|
+
|
|
1188
|
+
const WrappedModal = host?.Modal
|
|
1189
|
+
? function HostModalWithStyle({ dshStyle, children, ...modalProps }) {
|
|
1190
|
+
if (!modalProps.open) {
|
|
1191
|
+
return children !== undefined ? h(host.Modal, modalProps, children) : h(host.Modal, modalProps);
|
|
1192
|
+
}
|
|
1193
|
+
const syncNode = renderPortalSyncNode(dshStyle);
|
|
1194
|
+
return children !== undefined && children !== null
|
|
1195
|
+
? h(host.Modal, modalProps, children, syncNode)
|
|
1196
|
+
: h(host.Modal, modalProps, syncNode);
|
|
1197
|
+
}
|
|
1198
|
+
: FallbackModal;
|
|
1199
|
+
|
|
1200
|
+
const resolved = {
|
|
1201
|
+
...(host || {}),
|
|
1202
|
+
isFallback: !host,
|
|
1203
|
+
Button: host?.Button || FallbackButton,
|
|
1204
|
+
Input: host?.Input || FallbackInput,
|
|
1205
|
+
Checkbox: host?.Checkbox || FallbackCheckbox,
|
|
1206
|
+
Switch: host?.Switch || FallbackSwitch,
|
|
1207
|
+
SegmentedControl: host?.SegmentedControl || FallbackSegmentedControl,
|
|
1208
|
+
SegmentedTabs: host?.SegmentedTabs || FallbackSegmentedTabs,
|
|
1209
|
+
MenuSurface: host?.MenuSurface || FallbackMenuSurface,
|
|
1210
|
+
Pill: host?.Pill || FallbackPill,
|
|
1211
|
+
Tag: host?.Tag || FallbackTag,
|
|
1212
|
+
DiffBlock: host?.DiffBlock || FallbackDiffBlock,
|
|
1213
|
+
Menu: WrappedMenu,
|
|
1214
|
+
Modal: WrappedModal,
|
|
1215
|
+
};
|
|
1216
|
+
if (typeof requireFn === 'function') {
|
|
1217
|
+
DSH_PRIMITIVES_CACHE.set(requireFn, resolved);
|
|
1218
|
+
}
|
|
1219
|
+
return resolved;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
function createStyleSwitcherComponent(React, requireFn) {
|
|
1223
|
+
const h = React.createElement;
|
|
1224
|
+
return function StyleSwitcher({
|
|
1225
|
+
style: controlledStyle,
|
|
1226
|
+
onChange,
|
|
1227
|
+
lang = 'zh',
|
|
1228
|
+
id = 'dsh-style-switcher',
|
|
1229
|
+
compact = false,
|
|
1230
|
+
disabled = false,
|
|
1231
|
+
align = 'end',
|
|
1232
|
+
className,
|
|
1233
|
+
formatOptionLabel,
|
|
1234
|
+
formatTriggerLabel,
|
|
1235
|
+
formatAriaLabel,
|
|
1236
|
+
} = {}) {
|
|
1237
|
+
const [syncedStyle, setSyncedStyle] = useDshStyle(React);
|
|
1238
|
+
const activeStyle = normalizeDshStyle(controlledStyle ?? syncedStyle);
|
|
1239
|
+
const [open, setOpen] = typeof React.useState === 'function' ? React.useState(false) : [false, () => {}];
|
|
1240
|
+
const isZh = String(lang || '').toLowerCase().startsWith('zh');
|
|
1241
|
+
const preset = getDshStylePreset(activeStyle);
|
|
1242
|
+
const P = resolveHostPrimitives(React, requireFn);
|
|
1243
|
+
const triggerLabel = typeof formatAriaLabel === 'function'
|
|
1244
|
+
? formatAriaLabel(preset, isZh)
|
|
1245
|
+
: (isZh ? '界面风格:' + preset.zh : 'UI style: ' + preset.en);
|
|
1246
|
+
const visibleText = typeof formatTriggerLabel === 'function'
|
|
1247
|
+
? formatTriggerLabel(preset, compact, isZh)
|
|
1248
|
+
: (compact ? (isZh ? preset.zhShort : preset.enShort) : (isZh ? preset.zh : preset.en));
|
|
1249
|
+
const items = DSH_STYLES.map(option => ({
|
|
1250
|
+
id: option.id,
|
|
1251
|
+
label: typeof formatOptionLabel === 'function'
|
|
1252
|
+
? formatOptionLabel(option, isZh)
|
|
1253
|
+
: (isZh ? option.zh + ' (' + option.enShort + ')' : option.en),
|
|
1254
|
+
}));
|
|
1255
|
+
const selectStyle = nextId => {
|
|
1256
|
+
const applied = writeDshStyle(nextId);
|
|
1257
|
+
setSyncedStyle(applied);
|
|
1258
|
+
onChange?.(applied);
|
|
1259
|
+
setOpen(false);
|
|
1260
|
+
};
|
|
1261
|
+
|
|
1262
|
+
return h(
|
|
1263
|
+
'div',
|
|
1264
|
+
{
|
|
1265
|
+
className: ['dsh-style-switcher', className].filter(Boolean).join(' '),
|
|
1266
|
+
'data-window-drag-exclude': '',
|
|
1267
|
+
},
|
|
1268
|
+
h(P.Menu, {
|
|
1269
|
+
open: open && !disabled,
|
|
1270
|
+
selectedId: activeStyle,
|
|
1271
|
+
dshStyle: activeStyle,
|
|
1272
|
+
items,
|
|
1273
|
+
align,
|
|
1274
|
+
portal: !P.isFallback,
|
|
1275
|
+
autoFocus: true,
|
|
1276
|
+
minWidthFromAnchor: true,
|
|
1277
|
+
onClose: () => setOpen(false),
|
|
1278
|
+
onSelect: selectStyle,
|
|
1279
|
+
anchor: h(
|
|
1280
|
+
P.Button,
|
|
1281
|
+
{
|
|
1282
|
+
id,
|
|
1283
|
+
variant: 'outline',
|
|
1284
|
+
size: 'sm',
|
|
1285
|
+
disabled,
|
|
1286
|
+
className: 'dsh-style-trigger',
|
|
1287
|
+
'aria-label': triggerLabel,
|
|
1288
|
+
'aria-haspopup': 'menu',
|
|
1289
|
+
'aria-expanded': Boolean(open && !disabled),
|
|
1290
|
+
title: triggerLabel,
|
|
1291
|
+
onClick: () => setOpen(prev => !prev),
|
|
1292
|
+
onKeyDown: event => {
|
|
1293
|
+
if (!open && (event?.key === 'ArrowDown' || event?.key === 'ArrowUp')) {
|
|
1294
|
+
event.preventDefault?.();
|
|
1295
|
+
setOpen(true);
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
},
|
|
1299
|
+
h('span', {
|
|
1300
|
+
className: 'dsh-style-swatch',
|
|
1301
|
+
'aria-hidden': 'true',
|
|
1302
|
+
style: { '--dsh-swatch-color': preset.swatch },
|
|
1303
|
+
}),
|
|
1304
|
+
h('span', { className: 'dsh-style-label' }, visibleText),
|
|
1305
|
+
renderDshIcon(React, { name: 'down', size: 14 }),
|
|
1306
|
+
),
|
|
1307
|
+
}),
|
|
1308
|
+
);
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/* DSH workbench UI v2 (>=0.2.2-rc.3). MIT.
|
|
1313
|
+
* Vendored into each plugin: lazy @deepseek-ai/dsh-client-ui-primitives resolution
|
|
1314
|
+
* with semantic HTML fallbacks for standalone jsdom/node:vm tests.
|
|
1315
|
+
*/
|
|
1316
|
+
function createWorkbenchUI(React, requireFn) {
|
|
466
1317
|
const h = React.createElement;
|
|
467
1318
|
const { useEffect, useId, useRef } = React;
|
|
468
1319
|
const cx = (...values) => values.filter(Boolean).join(' ');
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
mail: ['M3 5h18v14H3z', 'm3 6 9 7 9-7'],
|
|
473
|
-
rss: ['M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16', 'M4 19h.01'],
|
|
474
|
-
slides: ['M3 4h18v13H3z', 'M12 17v4M8 21h8'],
|
|
475
|
-
shield: ['m12 3 8 3v6c0 4-4 7-8 9-4-2-8-5-8-9V6z', 'm8 12 3 3 5-6'],
|
|
476
|
-
layers: ['M5 3h16v16H5z', 'M2 7v15h15'],
|
|
477
|
-
play: ['m9 6 9 6-9 6Z'],
|
|
478
|
-
video: ['M3 5h12v14H3z', 'm15 10 6-4v12l-6-4'],
|
|
479
|
-
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
|
-
plus: ['M12 5v14M5 12h14'],
|
|
481
|
-
refresh: ['M20 7a9 9 0 1 0 1 8', 'M20 2v5h-5'],
|
|
482
|
-
settings: ['m9 3-.7 2.4-2 .9L4 5.8 2.5 8.4l1.7 1.8v2.3L2.5 14 4 17l2.5-.4 1.9 1L9 20h3l.8-2.4 2-1 2.5.4 1.5-2.7-1.7-1.9v-2.2l1.7-1.8-1.5-2.6-2.5.4-2-1L12 3Z', 'M14 11.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z'],
|
|
483
|
-
close: ['m6 6 12 12M18 6 6 18'],
|
|
484
|
-
left: ['m14 5-7 7 7 7'],
|
|
485
|
-
right: ['m10 5 7 7-7 7'],
|
|
486
|
-
down: ['m5 9 7 7 7-7'],
|
|
487
|
-
filter: ['M4 5h16M7 12h10M10 19h4'],
|
|
488
|
-
download: ['M12 3v12m-5-5 5 5 5-5', 'M4 16v5h16v-5'],
|
|
489
|
-
upload: ['M12 16V4m-5 5 5-5 5 5', 'M4 16v5h16v-5'],
|
|
490
|
-
copy: ['M8 8h13v13H8z', 'M16 8V3H3v13h5'],
|
|
491
|
-
external: ['M14 3h7v7m0-7L10 14', 'M10 3H3v18h18v-7'],
|
|
492
|
-
file: ['M4 3h10l6 6v12H4z', 'M14 3v6h6M8 13h8M8 17h6'],
|
|
493
|
-
folder: ['M3 5h7l2 3h9v12H3z'],
|
|
494
|
-
edit: ['m15 4 5 5-10 10-6 1 1-6Z', 'm13 6 5 5'],
|
|
495
|
-
trash: ['M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7M14 10v7'],
|
|
496
|
-
more: ['M5 12h.01M12 12h.01M19 12h.01'],
|
|
497
|
-
info: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z', 'M12 11v6M12 7h.01'],
|
|
498
|
-
check: ['m5 12 4 4L19 6'],
|
|
499
|
-
quote: ['M4 12h6v7H3v-7c0-4 2-6 5-7M15 12h6v7h-7v-7c0-4 2-6 5-7'],
|
|
500
|
-
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
|
-
reply: ['m9 5-7 7 7 7v-5h6c3 0 5 2 6 5 0-8-4-11-12-11Z'],
|
|
502
|
-
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'],
|
|
503
|
-
};
|
|
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 })));
|
|
1320
|
+
|
|
1321
|
+
function Icon({ name = 'file', size = 20, spinning = false, ...props }) {
|
|
1322
|
+
return renderDshIcon(React, { name, size, spinning, ...props });
|
|
507
1323
|
}
|
|
508
|
-
|
|
509
|
-
|
|
1324
|
+
|
|
1325
|
+
function Button({ children, icon, spinning = false, variant, className, ...props }) {
|
|
1326
|
+
const P = resolveHostPrimitives(React, requireFn);
|
|
1327
|
+
const mappedVariant = variant === 'danger' ? 'ghost' : (variant || 'outline');
|
|
1328
|
+
return h(
|
|
1329
|
+
P.Button,
|
|
1330
|
+
{
|
|
1331
|
+
type: 'button',
|
|
1332
|
+
variant: mappedVariant,
|
|
1333
|
+
size: props.size || 'sm',
|
|
1334
|
+
...props,
|
|
1335
|
+
className: cx('w-button', variant && 'w-' + variant, className),
|
|
1336
|
+
icon: icon ? h(Icon, { name: icon, size: 16, spinning }) : undefined,
|
|
1337
|
+
},
|
|
1338
|
+
children,
|
|
1339
|
+
);
|
|
510
1340
|
}
|
|
511
|
-
|
|
512
|
-
|
|
1341
|
+
|
|
1342
|
+
function IconButton({ label, icon, spinning = false, variant = 'ghost', ...props }) {
|
|
1343
|
+
return h(Button, {
|
|
1344
|
+
...props,
|
|
1345
|
+
variant,
|
|
1346
|
+
icon,
|
|
1347
|
+
spinning,
|
|
1348
|
+
className: cx('w-icon-button', props.className),
|
|
1349
|
+
'aria-label': label,
|
|
1350
|
+
title: label,
|
|
1351
|
+
});
|
|
513
1352
|
}
|
|
514
|
-
|
|
515
|
-
|
|
1353
|
+
|
|
1354
|
+
function Page({ title, subtitle, actions, children, workbench = false, className, rootRef, style: styleProp, ...props }) {
|
|
1355
|
+
const [syncedStyle] = useDshStyle(React);
|
|
1356
|
+
const activeStyle = normalizeDshStyle(styleProp ?? syncedStyle);
|
|
1357
|
+
return h(
|
|
1358
|
+
'section',
|
|
1359
|
+
{
|
|
1360
|
+
...props,
|
|
1361
|
+
ref: rootRef,
|
|
1362
|
+
className: cx('dshw', 'w-page', className),
|
|
1363
|
+
'data-main': workbench ? 'true' : 'false',
|
|
1364
|
+
'data-dsh-style': activeStyle,
|
|
1365
|
+
},
|
|
516
1366
|
h(Styles, { key: 'styles' }),
|
|
517
|
-
h(
|
|
518
|
-
|
|
1367
|
+
h(
|
|
1368
|
+
'header',
|
|
1369
|
+
{ className: 'w-page-header' },
|
|
1370
|
+
h('div', { className: 'w-heading' }, h('h1', null, title), subtitle ? h('p', { className: 'w-subtitle' }, subtitle) : null),
|
|
1371
|
+
actions ? h('div', { className: 'w-header-actions' }, actions) : null,
|
|
1372
|
+
),
|
|
1373
|
+
h('div', { className: 'w-body' }, children),
|
|
1374
|
+
);
|
|
519
1375
|
}
|
|
1376
|
+
|
|
520
1377
|
function Tabs({ items, value, onChange, label, children }) {
|
|
521
|
-
const id = useId();
|
|
1378
|
+
const id = typeof useId === 'function' ? useId() : 'w-tabs';
|
|
522
1379
|
const active = items.some(item => item.id === value) ? value : items[0]?.id;
|
|
523
1380
|
function keys(event, index) {
|
|
524
1381
|
if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key)) return;
|
|
@@ -527,20 +1384,60 @@ function createWorkbenchUI(React) {
|
|
|
527
1384
|
const node = event.currentTarget.parentElement?.querySelectorAll('[role=tab]')[next];
|
|
528
1385
|
if (node) { onChange(items[next].id); node.focus(); }
|
|
529
1386
|
}
|
|
530
|
-
return h(
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
1387
|
+
return h(
|
|
1388
|
+
'div',
|
|
1389
|
+
{ className: 'w-tabs-layout' },
|
|
1390
|
+
h(
|
|
1391
|
+
'div',
|
|
1392
|
+
{ className: 'w-tabs', role: 'tablist', 'aria-label': label },
|
|
1393
|
+
items.map((item, index) =>
|
|
1394
|
+
h(
|
|
1395
|
+
'button',
|
|
1396
|
+
{
|
|
1397
|
+
type: 'button',
|
|
1398
|
+
role: 'tab',
|
|
1399
|
+
key: item.id,
|
|
1400
|
+
id: id + '-' + item.id,
|
|
1401
|
+
'aria-selected': active === item.id,
|
|
1402
|
+
tabIndex: active === item.id ? 0 : -1,
|
|
1403
|
+
onClick: () => onChange(item.id),
|
|
1404
|
+
onKeyDown: event => keys(event, index),
|
|
1405
|
+
},
|
|
1406
|
+
item.label,
|
|
1407
|
+
item.count !== undefined ? h('span', { className: 'w-count' }, item.count) : null,
|
|
1408
|
+
),
|
|
1409
|
+
),
|
|
1410
|
+
),
|
|
1411
|
+
h('div', { className: 'w-tab-panel', id: id + '-panel', role: 'tabpanel', 'aria-labelledby': id + '-' + active }, children),
|
|
1412
|
+
);
|
|
536
1413
|
}
|
|
1414
|
+
|
|
537
1415
|
function Status({ children, tone = 'info', className }) {
|
|
538
1416
|
if (!children) return null;
|
|
539
|
-
return h(
|
|
1417
|
+
return h(
|
|
1418
|
+
'div',
|
|
1419
|
+
{
|
|
1420
|
+
className: cx('dshw', 'w-status', 'w-status-' + tone, className),
|
|
1421
|
+
role: tone === 'error' ? 'alert' : 'status',
|
|
1422
|
+
'aria-live': tone === 'error' ? 'assertive' : 'polite',
|
|
1423
|
+
},
|
|
1424
|
+
h(Icon, { name: tone === 'success' ? 'check' : 'info', size: 18 }),
|
|
1425
|
+
h('div', null, children),
|
|
1426
|
+
);
|
|
540
1427
|
}
|
|
1428
|
+
|
|
541
1429
|
function Empty({ title, children, action, icon = 'file' }) {
|
|
542
|
-
return h(
|
|
1430
|
+
return h(
|
|
1431
|
+
'div',
|
|
1432
|
+
{ className: 'dshw w-empty' },
|
|
1433
|
+
h(Styles, { key: 'styles' }),
|
|
1434
|
+
h(Icon, { name: icon, size: 32 }),
|
|
1435
|
+
h('h2', null, title),
|
|
1436
|
+
children ? h('div', { className: 'w-muted' }, children) : null,
|
|
1437
|
+
action ? h('div', { className: 'w-toolbar' }, action) : null,
|
|
1438
|
+
);
|
|
543
1439
|
}
|
|
1440
|
+
|
|
544
1441
|
function Split({ list, detail, selected, onBack, backLabel, className, listWidth = 360 }) {
|
|
545
1442
|
const ref = useRef(null);
|
|
546
1443
|
useEffect(() => {
|
|
@@ -548,64 +1445,125 @@ function createWorkbenchUI(React) {
|
|
|
548
1445
|
const heading = ref.current.querySelector('.w-detail h2');
|
|
549
1446
|
if (heading) { heading.tabIndex = -1; heading.focus({ preventScroll: true }); }
|
|
550
1447
|
}, [selected]);
|
|
551
|
-
return h(
|
|
1448
|
+
return h(
|
|
1449
|
+
'div',
|
|
1450
|
+
{ ref, className: cx('w-split', className), 'data-selected': selected ? 'true' : 'false', style: { '--w-list-width': listWidth + 'px' } },
|
|
552
1451
|
h('div', { className: 'w-master' }, list),
|
|
553
|
-
h('div', { className: 'w-detail' }, selected ? h(Button, { className: 'w-back', icon: 'left', variant: 'ghost', onClick: onBack }, backLabel) : null, detail)
|
|
1452
|
+
h('div', { className: 'w-detail' }, selected ? h(Button, { className: 'w-back', icon: 'left', variant: 'ghost', onClick: onBack }, backLabel) : null, detail),
|
|
1453
|
+
);
|
|
554
1454
|
}
|
|
1455
|
+
|
|
555
1456
|
function Row({ title, meta, description, active, onClick, children, status, className, disabled }) {
|
|
556
|
-
return h(
|
|
1457
|
+
return h(
|
|
1458
|
+
'div',
|
|
1459
|
+
{ className: cx('w-row', active && 'w-selected', className), 'data-dsh-row': '', 'data-selected': active ? 'true' : 'false' },
|
|
557
1460
|
children ? h('div', { className: 'w-row-select' }, children) : null,
|
|
558
|
-
h(
|
|
1461
|
+
h(
|
|
1462
|
+
'button',
|
|
1463
|
+
{ type: 'button', className: 'w-row-button', onClick, disabled, 'aria-pressed': !!active },
|
|
559
1464
|
h('span', { className: 'w-row-head' }, h('strong', null, title), status ? h('span', { className: 'w-tag' }, status) : null),
|
|
560
1465
|
meta ? h('span', { className: 'w-row-meta' }, meta) : null,
|
|
561
|
-
description ? h('span', { className: 'w-row-description' }, description) : null
|
|
1466
|
+
description ? h('span', { className: 'w-row-description' }, description) : null,
|
|
1467
|
+
),
|
|
1468
|
+
);
|
|
562
1469
|
}
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
1470
|
+
|
|
1471
|
+
function Search({ label, value, onChange, className, ...props }) {
|
|
1472
|
+
const id = typeof useId === 'function' ? useId() : undefined;
|
|
1473
|
+
const P = resolveHostPrimitives(React, requireFn);
|
|
1474
|
+
return h(P.Input, {
|
|
1475
|
+
type: 'search',
|
|
1476
|
+
id,
|
|
1477
|
+
'aria-label': label,
|
|
1478
|
+
placeholder: label,
|
|
1479
|
+
value,
|
|
1480
|
+
onChange,
|
|
1481
|
+
icon: h(Icon, { name: 'search', size: 15 }),
|
|
1482
|
+
className: cx('w-search', className),
|
|
1483
|
+
...props,
|
|
1484
|
+
});
|
|
566
1485
|
}
|
|
1486
|
+
|
|
567
1487
|
function Switch({ label, checked, onChange, disabled }) {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
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(); }
|
|
1488
|
+
const P = resolveHostPrimitives(React, requireFn);
|
|
1489
|
+
if (!P.isFallback && P.Switch) {
|
|
1490
|
+
return h(
|
|
1491
|
+
'div',
|
|
1492
|
+
{ className: 'w-switch-label' },
|
|
1493
|
+
h('span', null, label),
|
|
1494
|
+
h(P.Switch, {
|
|
1495
|
+
label,
|
|
1496
|
+
checked: Boolean(checked),
|
|
1497
|
+
disabled,
|
|
1498
|
+
onChange: next => onChange?.(typeof next === 'boolean' ? { target: { checked: next }, checked: next } : next),
|
|
1499
|
+
}),
|
|
1500
|
+
);
|
|
585
1501
|
}
|
|
586
|
-
return h(
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
1502
|
+
return h(
|
|
1503
|
+
'label',
|
|
1504
|
+
{ className: 'w-switch-label' },
|
|
1505
|
+
h('span', null, label),
|
|
1506
|
+
h('input', { type: 'checkbox', role: 'switch', checked, disabled, onChange, 'aria-label': label }),
|
|
1507
|
+
h('span', { className: 'w-switch-track', 'aria-hidden': true }),
|
|
1508
|
+
);
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
function Dialog({ title, children, onClose, closeLabel = 'Close', className, busy = false, footer, style: styleProp }) {
|
|
1512
|
+
const [syncedStyle] = useDshStyle(React);
|
|
1513
|
+
const activeStyle = normalizeDshStyle(styleProp ?? syncedStyle);
|
|
1514
|
+
const titleId = typeof useId === 'function' ? useId() : 'w-dialog-title';
|
|
1515
|
+
const P = resolveHostPrimitives(React, requireFn);
|
|
1516
|
+
const close = () => { if (!busy) onClose?.(); };
|
|
1517
|
+
return h(
|
|
1518
|
+
P.Modal,
|
|
1519
|
+
{
|
|
1520
|
+
open: true,
|
|
1521
|
+
dshStyle: activeStyle,
|
|
1522
|
+
headless: true,
|
|
1523
|
+
title,
|
|
1524
|
+
closeLabel,
|
|
1525
|
+
onClose: close,
|
|
1526
|
+
backdropBlur: false,
|
|
1527
|
+
className: cx('w-modal', className),
|
|
1528
|
+
},
|
|
1529
|
+
h(
|
|
1530
|
+
'section',
|
|
1531
|
+
{
|
|
1532
|
+
ref: createOverlaySyncRef(activeStyle),
|
|
1533
|
+
className: cx('dshw', 'w-dialog', className),
|
|
1534
|
+
'data-dsh-style': activeStyle,
|
|
1535
|
+
'data-window-drag-exclude': '',
|
|
1536
|
+
'aria-labelledby': titleId,
|
|
1537
|
+
},
|
|
1538
|
+
h(
|
|
1539
|
+
'header',
|
|
1540
|
+
{ className: 'w-dialog-header' },
|
|
1541
|
+
h('h2', { id: titleId }, title),
|
|
1542
|
+
h(IconButton, { icon: 'close', label: closeLabel, disabled: busy, onClick: close }),
|
|
1543
|
+
),
|
|
1544
|
+
h('div', { className: 'w-dialog-body', 'aria-busy': busy || undefined }, children),
|
|
1545
|
+
footer ? h('footer', { className: 'w-dialog-footer' }, footer) : null,
|
|
1546
|
+
),
|
|
1547
|
+
);
|
|
590
1548
|
}
|
|
1549
|
+
|
|
591
1550
|
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
1551
|
ctx.slots.inject('main', () => ctx.slots.register({ name: 'main', key: id, inject: () => ({ ...(inject?.() || {}), workbench: true }) }, component));
|
|
595
1552
|
ctx.slots.inject('sidebar.panellist', () => ctx.slots.register({ name: 'sidebar.panellist', id, order, label }, function WorkbenchIcon({ size }) { return h(Icon, { name: icon, size }); }));
|
|
596
1553
|
}
|
|
1554
|
+
|
|
597
1555
|
const styles = `
|
|
598
|
-
.dshw{--w-bg:var(--dsw-alias-bg-layer-1,#
|
|
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:
|
|
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:
|
|
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:
|
|
1556
|
+
.dshw{--w-bg:var(--dsw-alias-bg-base,#ffffff);--w-soft:var(--dsw-alias-bg-layer-1,#f7f9fc);--w-layer-2:var(--dsw-alias-bg-layer-2,#eef2f7);--w-text:var(--dsw-alias-label-primary,#1b2230);--w-muted:var(--dsw-alias-label-secondary,#5b667a);--w-border:var(--dsw-alias-border-l2,#e2e7f0);--w-accent:var(--dsw-alias-state-business-primary,#4176e6);--w-selected:color-mix(in oklab,var(--w-accent) 12%,var(--w-bg));--w-primary:var(--dsw-alias-button-primary-fill,#4176e6);--w-on-primary:var(--dsw-alias-button-primary-ink,#ffffff);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}
|
|
1557
|
+
.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:20px;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:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,8px);padding:6px 10px;min-width:0;line-height:1.5}.dshw input:not([type=checkbox]):not([type=radio]):not([type=file]),.dshw select{min-height:34px}.dshw textarea{resize:vertical}.dshw input[type=checkbox],.dshw input[type=radio]{width:15px;height:15px;flex-shrink:0;accent-color:var(--w-accent)}.dshw :focus-visible{outline:2px solid var(--w-accent);outline-offset:2px}.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:var(--dsw-radius-sm,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;transition:transform .18s ease}.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:var(--dsw-radius-sm,8px);padding:12px}.dshw img,.dshw video,.dshw iframe{max-width:100%}
|
|
1558
|
+
.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:var(--dsw-radius-xs,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)}
|
|
1559
|
+
.dshw .w-button{display:inline-flex;justify-content:center;align-items:center;gap:6px;background:var(--w-bg);border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,8px);padding:6px 11px;min-height:30px;line-height:1.4;font-size:13px;font-weight:500;cursor:pointer;text-decoration:none;white-space:normal}.dshw .w-button:not(:disabled):hover{background:var(--dsw-alias-interactive-bg-hover,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(--dsw-alias-button-primary-hover,var(--w-primary));opacity:.95}.dshw .w-ghost{background:transparent;border-color:transparent}.dshw .w-danger{color:var(--dsw-alias-state-error-primary,#b43c3c)}.dshw .w-icon-button{width:30px;min-width:30px;padding:6px}.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:10px 12px;margin:10px 0;border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,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-warn-label,#8a5a00)}.w-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;width:100%;max-width:580px;padding:40px 24px;margin:auto;min-height:240px;overflow-wrap:anywhere}.w-empty>svg{color:var(--w-muted)}.w-empty h2{font-size:18px}.w-empty .w-muted{font-size:13px}.w-empty .w-toolbar{justify-content:center}
|
|
1560
|
+
.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:6px;border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,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:6px 0!important;min-height:30px;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
1561
|
.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-
|
|
605
|
-
@container dsh-workbench (max-width:1000px){.w-
|
|
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:
|
|
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))}
|
|
608
|
-
@media(prefers-reduced-motion:reduce){.dshw
|
|
1562
|
+
.w-modal{width:min(620px,100%);max-height:calc(100dvh - 32px);padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}.w-dialog{width:100%;max-height:inherit;display:flex;flex-direction:column;min-height:0;background:var(--dsw-alias-bg-overlay,var(--w-bg));color:var(--w-text);border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-md,12px);box-shadow:var(--dsw-elevation-prominent,0 18px 50px rgba(15,23,42,.18));overflow:clip}.w-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;border-bottom:var(--dsh-control-border-width,1px) solid var(--w-border);flex-shrink:0}.w-dialog-header>h2{font-size:16px;font-weight:650}.w-dialog-body{overflow:auto;overscroll-behavior:contain;padding:16px 18px;min-height:0}.w-dialog-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px 18px;border-top:var(--dsh-control-border-width,1px) solid var(--w-border);flex-shrink:0}
|
|
1563
|
+
@container dsh-workbench (max-width:1000px){.w-header-actions{max-width:60%}.w-split{grid-template-columns:minmax(240px,32%) minmax(0,1fr)}}
|
|
1564
|
+
@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:20px}.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-dialog-header,.w-dialog-body{padding:14px}.w-definition{grid-template-columns:80px minmax(0,1fr)}}
|
|
1565
|
+
@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))}}
|
|
1566
|
+
@media(prefers-reduced-motion:reduce){.dshw summary:after,.w-switch-track,.w-switch-track:before{transition:none!important}}
|
|
609
1567
|
`;
|
|
610
1568
|
function Styles() { return h('style', null, styles); }
|
|
611
1569
|
return { Icon, Button, IconButton, Page, Tabs, Status, Empty, Split, Row, Search, Switch, Dialog, Styles, register, styles };
|
|
@@ -618,53 +1576,111 @@ window.__ModuleLoader__.load(__stardustUpdatesWrap({
|
|
|
618
1576
|
const React = require('react');
|
|
619
1577
|
const { useEffect, useMemo, useRef, useState } = React;
|
|
620
1578
|
const h = React.createElement;
|
|
621
|
-
|
|
622
|
-
const CITE_WORKBENCH_CSS = ".cite-workbench.dshw {\n --cite-base: var(--dsw-alias-bg-base, var(--w-bg));\n --cite-layer: var(--dsw-alias-bg-module-platform, var(--w-soft));\n --cite-control: var(--dsw-alias-interactive-bg-hover-solid, var(--w-soft));\n --cite-ink: var(--dsw-alias-label-primary, var(--w-text));\n --cite-secondary: var(--dsw-alias-label-secondary, var(--w-muted));\n --cite-line: var(--dsw-alias-border-l2, var(--w-border));\n --cite-subtle-line: var(--dsw-alias-border-l1, var(--w-border));\n --cite-accent: var(--dsw-alias-link, var(--w-accent));\n --cite-hover: var(--dsw-alias-interactive-bg-hover, var(--w-soft));\n --cite-active: var(--dsw-alias-interactive-bg-active, var(--w-selected));\n --cite-primary: var(--dsw-alias-button-primary-fill, var(--w-primary));\n --cite-on-primary: var(--dsw-alias-label-primary-inverted, var(--w-on-primary));\n --cite-mono: var(--ds-font-family-code, ui-monospace, Consolas, monospace);\n container: cite-workbench / inline-size;\n inline-size: 100%;\n min-inline-size: 0;\n min-block-size: 0;\n box-sizing: border-box;\n font-family: inherit;\n font-size: 13px;\n line-height: 1.5;\n color: var(--cite-ink);\n}\n\n.cite-workbench[data-main=\"true\"] {\n block-size: 100%;\n padding-block-start: var(--dsh-frame-top-clearance, 0px);\n padding-inline-start: var(--dsh-frame-leading-clearance, 0px);\n}\n\n.cite-workbench[data-main=\"false\"] {\n block-size: min(680px, 72dvh);\n min-block-size: 300px;\n}\n\n.cite-workbench * {\n box-sizing: border-box;\n}\n\n.cite-workbench .cite-shell {\n display: grid;\n grid-template:\n \"brand tabs import\" auto\n \"panel panel panel\" minmax(0, 1fr)\n / max-content minmax(0, 1fr) max-content;\n align-items: center;\n column-gap: 12px;\n block-size: 100%;\n background: var(--cite-base);\n}\n\n.cite-workbench[data-main=\"false\"] .cite-shell {\n border: 0.5px solid var(--cite-line);\n border-radius: 12px;\n overflow: hidden;\n}\n\n.cite-workbench .cite-brand {\n grid-area: brand;\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0 0 0 14px;\n font-size: 14px;\n line-height: 1.3;\n font-weight: 600;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-brand-icon {\n display: grid;\n place-items: center;\n inline-size: 24px;\n block-size: 24px;\n border-radius: 7px;\n color: var(--cite-on-primary);\n background: var(--cite-primary);\n}\n\n.cite-workbench .cite-quick-import {\n grid-area: import;\n justify-self: end;\n margin: 7px 14px 7px 0;\n}\n\n.cite-workbench .w-tabs-layout {\n display: contents;\n}\n\n.cite-workbench .w-tabs {\n grid-area: tabs;\n justify-self: start;\n flex-wrap: nowrap;\n max-inline-size: 100%;\n gap: 2px;\n margin: 7px 0;\n padding: 2px;\n border: 0;\n border-radius: 9px;\n background: var(--cite-control);\n}\n\n.cite-workbench .w-tabs > button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n gap: 5px;\n min-inline-size: 0;\n min-block-size: 28px;\n border: 0;\n border-radius: 7px;\n padding: 4px 10px;\n color: var(--cite-secondary);\n font-size: 12px;\n line-height: 1.3;\n font-weight: 500;\n white-space: nowrap;\n}\n\n.cite-workbench .w-tabs > button[aria-selected=\"true\"] {\n color: var(--cite-ink);\n background: var(--cite-base);\n box-shadow: var(--dsw-elevation-soft);\n}\n\n.cite-workbench .w-tabs .w-count {\n min-inline-size: 0;\n padding: 0;\n color: var(--cite-secondary);\n background: transparent;\n font: 10px/1.4 var(--cite-mono);\n}\n\n.cite-workbench .w-tab-panel {\n grid-area: panel;\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n min-inline-size: 0;\n block-size: 100%;\n overflow: hidden;\n border-block-start: 0.5px solid var(--cite-line);\n}\n\n.cite-workbench :is(button, a, input, select, textarea, summary):focus-visible {\n outline: 2px solid var(--cite-accent);\n outline-offset: 2px;\n}\n\n.cite-workbench :is(.cite-reference-button, .cite-filter, .w-tabs > button):focus-visible {\n outline-offset: -2px;\n}\n\n.cite-workbench .cite-button {\n flex: 0 0 auto;\n min-block-size: 30px;\n padding-inline: 9px;\n font-size: 12px;\n line-height: 1.3;\n}\n\n.cite-workbench .cite-button-primary {\n color: var(--cite-on-primary);\n}\n\n.cite-workbench .cite-icon-button {\n inline-size: 30px;\n padding-inline: 0;\n justify-content: center;\n}\n\n.cite-workbench :is(.cite-actions, .cite-chips) {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n min-inline-size: 0;\n gap: 5px;\n}\n\n.cite-workbench .cite-chip {\n display: inline-block;\n max-inline-size: 100%;\n padding: 2px 6px;\n border-radius: 4px;\n background: var(--cite-control);\n color: var(--cite-secondary);\n font: 10.5px/1.45 var(--cite-mono);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-chip.accent {\n color: var(--cite-accent);\n background: var(--dsw-alias-interactive-bg-hover-accent, var(--cite-control));\n}\n\n.cite-workbench .cite-chip.warn {\n color: var(--dsw-alias-state-warn-label, var(--cite-ink));\n background: var(--dsw-alias-state-warn-tertiary, var(--cite-control));\n}\n\n.cite-workbench .cite-chip.success {\n color: var(--dsw-alias-state-success-primary, var(--cite-ink));\n background: var(--dsw-alias-state-success-tertiary, var(--cite-control));\n}\n\n.cite-workbench :is(.cite-chip.danger, .cite-error-text) {\n color: var(--dsw-alias-state-error-primary, var(--cite-ink));\n}\n\n.cite-workbench :is(.cite-muted, .cite-label) {\n color: var(--cite-secondary);\n font-size: 12px;\n line-height: 1.5;\n}\n\n.cite-workbench :is(.cite-mono, code) {\n font-family: var(--cite-mono);\n}\n\n.cite-workbench .cite-label {\n display: block;\n margin-block: 0 5px;\n font-size: 11.5px;\n font-weight: 500;\n}\n\n.cite-workbench .cite-field {\n display: block;\n inline-size: 100%;\n min-block-size: 32px;\n border: 0.5px solid var(--cite-line);\n border-radius: 8px;\n padding: 6px 9px;\n background: var(--cite-base);\n color: var(--cite-ink);\n font-size: 12.5px;\n line-height: 1.5;\n}\n\n.cite-workbench textarea.cite-field {\n resize: vertical;\n min-block-size: 108px;\n}\n\n.cite-workbench :is(.cite-picker, .cite-picker-button) {\n inline-size: 100%;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-picker-button {\n justify-content: space-between;\n text-align: start;\n background: var(--cite-base);\n border-radius: 8px;\n}\n\n.cite-workbench :is(input[type=\"checkbox\"], input[type=\"radio\"], progress) {\n accent-color: var(--cite-accent);\n}\n\n.cite-workbench :is(input[type=\"checkbox\"], input[type=\"radio\"]) {\n flex: 0 0 auto;\n inline-size: 14px;\n block-size: 14px;\n margin: 0;\n}\n\n.cite-workbench .cite-library {\n display: grid;\n flex: 1 1 auto;\n min-block-size: 0;\n grid-template-columns: clamp(168px, 18cqi, 236px) clamp(248px, 27cqi, 348px) minmax(0, 1fr);\n}\n\n.cite-workbench :is(.cite-rail, .cite-list, .cite-inspector) {\n min-inline-size: 0;\n min-block-size: 0;\n}\n\n.cite-workbench .cite-rail {\n overflow: auto;\n padding: 12px 10px;\n border-inline-end: 0.5px solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-style-box {\n margin-block-end: 12px;\n padding: 10px;\n border: 0.5px solid var(--cite-line);\n border-radius: 12px;\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-filters {\n display: grid;\n gap: 3px;\n}\n\n.cite-workbench .cite-filters > h2 {\n margin: 4px 8px;\n font-size: 11px;\n font-weight: 600;\n}\n\n.cite-workbench .cite-filter {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 6px;\n min-block-size: 32px;\n padding: 6px 8px;\n border: 0;\n border-radius: 8px;\n color: var(--cite-secondary);\n background: transparent;\n font: inherit;\n line-height: 1.35;\n text-align: start;\n cursor: pointer;\n}\n\n.cite-workbench .cite-filter[aria-pressed=\"true\"] {\n color: var(--cite-ink);\n background: var(--cite-active);\n font-weight: 600;\n}\n\n.cite-workbench .cite-count {\n color: var(--cite-secondary);\n font: 11px/1.45 var(--cite-mono);\n}\n\n.cite-workbench :is(.cite-list, .cite-inspector) {\n display: flex;\n flex-direction: column;\n}\n\n.cite-workbench .cite-list {\n border-inline-end: 0.5px solid var(--cite-line);\n}\n\n.cite-workbench :is(.cite-searchbar, .cite-inspector-bar, .cite-selection) {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n gap: 6px;\n min-block-size: 44px;\n padding: 6px 12px;\n border-block-end: 0.5px solid var(--cite-line);\n}\n\n.cite-workbench .cite-searchbar > :first-child {\n flex: 1 1 auto;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-searchbar input {\n min-inline-size: 0;\n font-size: 12px;\n}\n\n.cite-workbench.dshw .cite-searchbar .cite-search input {\n border: 0;\n border-radius: 0;\n padding: 0;\n background: transparent;\n}\n\n.cite-workbench .cite-searchbar input::placeholder {\n color: var(--dsw-alias-label-tertiary, var(--cite-secondary));\n}\n\n.cite-workbench :is(.cite-inspector-bar, .cite-selection) {\n justify-content: space-between;\n flex-wrap: wrap;\n}\n\n.cite-workbench .cite-selection {\n gap: 2px 5px;\n min-block-size: 0;\n padding-block: 3px;\n border-color: var(--cite-subtle-line);\n}\n\n.cite-workbench .cite-selection .cite-button {\n min-block-size: 25px;\n padding-inline: 5px;\n font-size: 11.5px;\n}\n\n.cite-workbench :is(.cite-list-scroll, .cite-inspector-scroll, .cite-subpage) {\n flex: 1 1 auto;\n min-block-size: 0;\n min-inline-size: 0;\n overflow: auto;\n}\n\n.cite-workbench :is(.cite-list-loading, .cite-inspector-empty) {\n margin: auto;\n padding: 28px 18px;\n color: var(--cite-secondary);\n text-align: center;\n}\n\n.cite-workbench .cite-list .w-empty {\n gap: 9px;\n min-block-size: 220px;\n padding: 28px 16px;\n}\n\n.cite-workbench .cite-list .w-empty h2 {\n font-size: 15px;\n line-height: 1.4;\n}\n\n.cite-workbench .cite-list .w-empty .w-muted {\n font-size: 12px;\n}\n\n.cite-workbench :is(.cite-reference-list, .cite-plain-list) {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.cite-workbench .cite-reference-row {\n position: relative;\n display: flex;\n border-block-end: 0.5px solid var(--cite-subtle-line);\n}\n\n.cite-workbench .cite-reference-row[data-active=\"true\"] {\n background: var(--cite-active);\n}\n\n.cite-workbench .cite-reference-row[data-active=\"true\"]::before {\n content: \"\";\n position: absolute;\n inset-block: 6px;\n inset-inline-start: 0;\n inline-size: 2.5px;\n border-radius: 2px;\n background: var(--cite-accent);\n pointer-events: none;\n}\n\n.cite-workbench .cite-reference-check {\n display: flex;\n align-items: flex-start;\n cursor: pointer;\n padding: 15px 5px 8px 12px;\n}\n\n.cite-workbench .cite-reference-button {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n gap: 3px;\n min-inline-size: 0;\n border: 0;\n padding: 10px 12px 10px 5px;\n background: transparent;\n color: var(--cite-ink);\n font: inherit;\n text-align: start;\n cursor: pointer;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-reference-meta {\n color: var(--cite-secondary);\n font-size: 11.5px;\n line-height: 1.45;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-reference-button .cite-chips {\n gap: 4px;\n margin-block-start: 3px;\n}\n\n.cite-workbench .cite-more {\n margin: 10px 12px;\n}\n\n.cite-workbench .cite-selection-footer {\n padding: 8px 12px;\n border-block-start: 0.5px solid var(--cite-line);\n}\n\n.cite-workbench .cite-inspector-bar {\n padding-inline: 16px;\n}\n\n.cite-workbench .cite-inspector-bar > .cite-chips {\n max-inline-size: 100%;\n}\n\n.cite-workbench .cite-crossref {\n color: var(--cite-accent);\n}\n\n.cite-workbench .cite-back {\n display: none;\n}\n\n.cite-workbench .cite-inspector-scroll {\n padding: 16px 22px 22px;\n}\n\n.cite-workbench .cite-card {\n padding: 12px 14px;\n border: 0.5px solid var(--cite-line);\n border-radius: 12px;\n background: var(--cite-layer);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-card + .cite-card,\n.cite-workbench .cite-subpage-inner > form + .cite-card {\n margin-block-start: 12px;\n}\n\n.cite-workbench .cite-card p {\n margin-block: 0;\n}\n\n.cite-workbench .cite-card-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px 9px;\n margin-block-end: 8px;\n}\n\n.cite-workbench .cite-card-header > h3 {\n margin: 0;\n font-size: 13px;\n line-height: 1.45;\n font-weight: 600;\n}\n\n.cite-workbench :is(.cite-formatted, .cite-code) {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n margin: 0;\n padding: 9px 11px;\n border-radius: 8px;\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-formatted {\n border-inline-start: 3px solid var(--cite-accent);\n font: inherit;\n line-height: 1.6;\n}\n\n.cite-workbench .cite-code {\n border: 0.5px solid var(--cite-line);\n color: var(--cite-secondary);\n font: 11.5px/1.55 var(--cite-mono);\n}\n\n.cite-workbench :is(.cite-metadata, .cite-form-grid) {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 9px 10px;\n margin: 0;\n}\n\n.cite-workbench .cite-field-wide {\n grid-column: 1 / -1;\n}\n\n.cite-workbench .cite-metadata dd {\n margin: 0;\n min-block-size: 30px;\n padding: 5px 9px;\n border: 0.5px solid var(--cite-line);\n border-radius: 8px;\n background: var(--cite-base);\n font-size: 12px;\n white-space: pre-wrap;\n}\n\n.cite-workbench .cite-differences {\n border: 1px solid var(--dsw-alias-state-warn-secondary, var(--cite-line));\n}\n\n.cite-workbench .cite-diff-table {\n inline-size: 100%;\n margin-block-start: 8px;\n border-collapse: collapse;\n table-layout: fixed;\n font-size: 12px;\n}\n\n.cite-workbench .cite-diff-table :is(th, td) {\n padding: 6px 7px;\n border-block-end: 0.5px solid var(--cite-line);\n vertical-align: top;\n text-align: start;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-diff-table th:first-child {\n inline-size: 24%;\n}\n\n.cite-workbench .cite-diff-table td:nth-child(2) {\n background: var(--cite-control);\n}\n\n.cite-workbench .cite-subpage {\n padding: 22px 20px 36px;\n}\n\n.cite-workbench .cite-subpage-inner {\n max-inline-size: 840px;\n margin-inline: auto;\n}\n\n.cite-workbench .cite-subpage h2 {\n margin: 0 0 4px;\n font-size: 17px;\n line-height: 1.45;\n font-weight: 600;\n}\n\n.cite-workbench .cite-description {\n margin: 0 0 16px;\n color: var(--cite-secondary);\n font-size: 12.5px;\n}\n\n.cite-workbench .cite-card :is(.cite-form-note, .cite-metadata-note, .cite-export-sample) {\n margin-block-start: 10px;\n}\n\n.cite-workbench .cite-provenance > summary {\n font-weight: 600;\n cursor: pointer;\n}\n\n.cite-workbench .cite-provenance[open] > summary {\n margin-block-end: 8px;\n}\n\n.cite-workbench .cite-conflict {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n}\n\n.cite-workbench .cite-plain-list > li {\n padding-block: 8px;\n border-block-end: 0.5px solid var(--cite-subtle-line);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-plain-list > li:last-child {\n border-block-end: 0;\n padding-block-end: 0;\n}\n\n.cite-workbench .cite-preview-row {\n display: flex;\n align-items: flex-start;\n gap: 9px;\n cursor: pointer;\n}\n\n.cite-workbench .cite-preview-row > input {\n margin-block-start: 3px;\n}\n\n.cite-workbench .cite-preview-row > span {\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-preview-meta {\n display: block;\n color: var(--cite-secondary);\n font-size: 12px;\n}\n\n.cite-workbench .cite-preview-row .cite-chips {\n margin-block-start: 4px;\n}\n\n.cite-workbench :is(.cite-result-row, .cite-message-body, .cite-job-header) {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n\n.cite-workbench .cite-scope {\n display: grid;\n gap: 5px;\n min-inline-size: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\n.cite-workbench .cite-scope > label {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.cite-workbench .cite-download {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n min-block-size: 30px;\n padding: 4px 9px;\n border: 0.5px solid var(--cite-line);\n border-radius: 8px;\n color: var(--cite-ink);\n background: var(--cite-base);\n text-decoration: none;\n font-size: 12px;\n font-weight: 500;\n}\n\n.cite-workbench .cite-download[data-primary=\"true\"] {\n color: var(--cite-on-primary);\n background: var(--cite-primary);\n border-color: transparent;\n}\n\n.cite-workbench .cite-feedback {\n flex: 0 0 auto;\n max-block-size: 33%;\n overflow: auto;\n padding: 6px 12px;\n border-block-end: 0.5px solid var(--cite-line);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-feedback .cite-message {\n align-items: center;\n margin: 0;\n padding: 4px 8px;\n}\n\n.cite-workbench .cite-message > div {\n flex: 1;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-job {\n font-size: 12px;\n}\n\n.cite-workbench .cite-job p {\n margin: 0;\n}\n\n.cite-workbench .cite-job > progress {\n display: block;\n inline-size: 100%;\n block-size: 8px;\n}\n\n.cite-workbench .cite-job summary {\n width: fit-content;\n cursor: pointer;\n color: var(--cite-accent);\n}\n\n@media (hover: hover) {\n .cite-workbench .w-tabs > button:hover {\n color: var(--cite-ink);\n }\n\n .cite-workbench :is(.cite-filter, .cite-reference-button, .cite-download):hover {\n background: var(--cite-hover);\n }\n\n .cite-workbench .cite-download[data-primary=\"true\"]:hover {\n background: var(--dsw-alias-button-primary-hover, var(--cite-primary));\n }\n}\n\n@container cite-workbench (max-width: 860px) {\n .cite-workbench .cite-library {\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: auto minmax(0, 1fr);\n }\n\n .cite-workbench .cite-rail {\n overflow: visible;\n padding: 8px 10px;\n border-inline-end: 0;\n border-block-end: 0.5px solid var(--cite-line);\n }\n\n .cite-workbench .cite-style-box {\n display: grid;\n grid-template-columns: auto minmax(120px, 1fr);\n align-items: center;\n gap: 8px;\n padding: 0;\n margin: 0 0 6px;\n border: 0;\n background: transparent;\n }\n\n .cite-workbench .cite-style-box .cite-label {\n margin: 0;\n }\n\n .cite-workbench .cite-filters {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .cite-workbench .cite-filters > h2,\n .cite-workbench .cite-library[data-open=\"false\"] .cite-inspector,\n .cite-workbench .cite-library[data-open=\"true\"] :is(.cite-rail, .cite-list) {\n display: none;\n }\n\n .cite-workbench .cite-filter {\n font-size: 11.5px;\n }\n\n .cite-workbench .cite-list {\n border-inline-end: 0;\n }\n\n .cite-workbench .cite-library[data-open=\"true\"] .cite-inspector {\n grid-row: 1 / -1;\n }\n\n .cite-workbench .cite-back {\n display: inline-flex;\n align-self: flex-start;\n margin: 5px 8px;\n }\n\n .cite-workbench .cite-inspector-bar {\n padding-inline: 10px;\n border-block-start: 0.5px solid var(--cite-subtle-line);\n }\n\n .cite-workbench .cite-inspector-scroll {\n padding-inline: 12px;\n }\n}\n\n@container cite-workbench (max-width: 630px) {\n .cite-workbench .cite-shell {\n grid-template:\n \"brand import\" auto\n \"tabs tabs\" auto\n \"panel panel\" minmax(0, 1fr)\n / minmax(0, 1fr) max-content;\n }\n\n .cite-workbench .w-tabs {\n justify-self: stretch;\n margin: 0 10px 7px;\n }\n\n .cite-workbench .w-tabs > button {\n flex: 1 1 auto;\n padding-inline: 6px;\n min-block-size: 32px;\n }\n\n .cite-workbench .cite-subpage {\n padding: 15px 12px 24px;\n }\n}\n\n@container cite-workbench (max-width: 420px) {\n .cite-workbench :is(.cite-metadata, .cite-form-grid) {\n grid-template-columns: minmax(0, 1fr);\n }\n\n .cite-workbench .cite-card {\n padding: 10px;\n }\n}\n";
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
if (primitives?.Button) {
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
1579
|
+
// Lazy host primitives: never call require('@deepseek-ai/dsh-client-ui-primitives') eagerly at load time.
|
|
1580
|
+
const hostPrimitives = () => resolveHostPrimitives(React, require);
|
|
1581
|
+
const StyleSwitcher = createStyleSwitcherComponent(React, require);
|
|
1582
|
+
const W = createWorkbenchUI(React, require);
|
|
1583
|
+
const CITE_WORKBENCH_CSS = "/* ==========================================================================\n * DeepSeek Harness (>=0.2.2-rc.3) Unified Workbench Themes & Motion System\n * Vendored from _dsh-design-system/themes-and-motion.css for standalone builds.\n *\n * Design Principles:\n * 1. NEVER TOO DARK: Airy daylight defaults; when host `body[data-ds-dark-theme]`\n * is active under `harness`, soften to breathable slate (#1f232b / #272c36),\n * never pitch black (#000 / #090a0f / #151517).\n * 2. 5 SWITCHABLE PRESETS via `[data-dsh-style]`:\n * - `harness` (原生清透 / Native Airy)\n * - `cream` (米白纸感 / Warm Cream)\n * - `claude` (Claude 暖书卷 / Claude Warmth)\n * - `pixel8bit` (8-Bit 像素 / Bright 8-Bit)\n * - `mint` (晴空薄荷 / Airy Mint)\n * 3. PORTALED OVERLAY SYNC: Selectors match both `[data-dsh-style=\"...\"]` roots\n * AND portaled `[role=\"dialog\"]` / `[role=\"menu\"]` containers carrying or\n * wrapping `[data-dsh-style=\"...\"]`.\n * 4. COMPOSITOR MOTION & ICON MICRO-ANIMATIONS with full `prefers-reduced-motion`\n * and `forced-colors` compliance.\n * ========================================================================== */\n\n/* --------------------------------------------------------------------------\n * 1. Motion Timing & Base Token Fallbacks (Standalone + Host Safe)\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) {\n --dsh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n --dsh-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n /* Standard cubic-bezier fallback before linear() physics spring */\n --dsh-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);\n --dsh-motion-fast: 140ms;\n --dsh-motion-base: 200ms;\n --dsh-motion-dialog: 220ms;\n --dsh-control-border-width: 0.5px;\n --dsh-button-shadow: none;\n --dsh-button-hover-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);\n --dsh-card-hover-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);\n}\n\n@supports (transition-timing-function: linear(0, 1)) {\n :where([data-dsh-style]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) {\n --dsh-ease-spring: linear(\n 0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%,\n 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%,\n 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1\n );\n }\n}\n\n/* Electron / macOS 0.2.2+ window-drag-regions rule:\n * Exclude ONLY the visible overlay owner box itself (never `[data-window-drag-exclude] *`,\n * so scrolled/clipped descendants cannot register offscreen no-drag rects over headers). */\n[data-window-drag-exclude] {\n -webkit-app-region: no-drag;\n}\n\n/* --------------------------------------------------------------------------\n * 2. Preset 1: `harness` — 原生清透 / Native Airy\n * - Daylight: crisp airy white & mist slate; defers to host tokens when set,\n * with bright standalone fallbacks for tests/previews.\n * - Host Dark (`body[data-ds-dark-theme]`): softened breathable slate\n * (`#1f232b` / `#272c36`), overriding DSH's near-black `#151517`.\n * -------------------------------------------------------------------------- */\n:where(body:not([data-ds-dark-theme])) [data-dsh-style=\"harness\"],\n:where(body:not([data-ds-dark-theme])) :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"harness\"], :has([data-dsh-style=\"harness\"])) {\n color-scheme: light;\n accent-color: var(--dsw-alias-state-business-primary, #4176e6);\n}\n\n/* Standalone fallbacks when host ui-theme stylesheet is not mounted (e.g. jsdom / preview) */\n:root:not([data-dsh-host-tokens]) :where([data-dsh-style=\"harness\"], [role=\"dialog\"][data-dsh-style=\"harness\"], [role=\"menu\"][data-dsh-style=\"harness\"]) {\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 8px;\n --dsw-radius-md: 12px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n}\n\nbody:not([data-ds-dark-theme]) [data-dsh-style=\"harness\"] {\n --dsh-surface-spotlight: rgba(65, 118, 230, 0.06);\n}\n\n/* NEVER TOO DARK: Soft breathable slate when host dark mode is active in `harness` mode */\nbody[data-ds-dark-theme] [data-dsh-style=\"harness\"],\nbody[data-ds-dark-theme] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"harness\"], :has([data-dsh-style=\"harness\"])) {\n color-scheme: dark;\n accent-color: #7aaaff;\n --dsw-alias-bg-base: #1f232b;\n --dsw-alias-bg-layer-1: #272c36;\n --dsw-alias-bg-layer-2: #2f3542;\n --dsw-alias-bg-layer-3: #373e4d;\n --dsw-alias-bg-overlay: #2a303c;\n --dsw-alias-bg-module-platform: #2c323e;\n --dsw-alias-settings-card-fill: #262b35;\n --dsw-alias-settings-card-stroke: rgba(226, 232, 240, 0.12);\n --dsw-specific-menu: rgba(39, 44, 54, 0.96);\n --dsw-alias-border-l1: rgba(226, 232, 240, 0.09);\n --dsw-alias-border-l2: rgba(226, 232, 240, 0.15);\n --dsw-alias-border-l3: rgba(226, 232, 240, 0.22);\n --dsw-alias-border-l4: rgba(226, 232, 240, 0.28);\n --dsw-alias-label-primary: #eef2f7;\n --dsw-alias-label-secondary: #b6c0cf;\n --dsw-alias-label-tertiary: #8d98ab;\n --dsw-alias-label-dimmed: #737e91;\n --dsw-alias-brand-primary: #7aaaff;\n --dsw-alias-brand-text: #eef2f7;\n --dsw-alias-state-business-primary: #7aaaff;\n --dsw-alias-state-business-tertiary: rgba(122, 170, 255, 0.16);\n --dsw-alias-link: #8bb6ff;\n --dsw-alias-button-primary-fill: #5b8def;\n --dsw-alias-button-primary-hover: #6f9cf4;\n --dsw-alias-button-primary-ink: #ffffff;\n --dsw-alias-interactive-bg-hover: rgba(226, 232, 240, 0.07);\n --dsw-alias-interactive-bg-active: rgba(226, 232, 240, 0.13);\n --dsw-alias-interactive-bg-hover-accent: rgba(122, 170, 255, 0.15);\n --dsw-alias-interactive-bg-hover-danger: rgba(248, 113, 113, 0.16);\n --dsw-alias-state-error-primary: #f87171;\n --dsw-alias-state-warn-primary: #fbbf24;\n --dsw-alias-state-warn-label: #fcd34d;\n --dsw-alias-state-warn-tertiary: rgba(251, 191, 36, 0.15);\n --dsw-alias-state-success-primary: #4ade80;\n --dsw-alias-state-success-tertiary: rgba(74, 222, 128, 0.15);\n --dsw-elevation-soft: 0 2px 8px rgba(10, 14, 22, 0.22);\n --dsw-elevation-panel: 0 4px 16px rgba(10, 14, 22, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.12);\n --dsw-elevation-prominent: 0 14px 38px rgba(10, 14, 22, 0.42), 0 0 0 1px rgba(226, 232, 240, 0.16);\n --dsh-button-hover-shadow: 0 2px 8px rgba(10, 14, 22, 0.25);\n --dsh-card-hover-shadow: 0 8px 22px rgba(10, 14, 22, 0.32);\n --dsh-surface-spotlight: rgba(122, 170, 255, 0.10);\n}\n\n/* --------------------------------------------------------------------------\n * 3. Preset 2: `cream` — 米白纸感 / Warm Cream\n * (#FAF7F0 / #F3EFE4 paper surfaces, #2B2620 ink, warm amber/sand accents)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"cream\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"cream\"], :has([data-dsh-style=\"cream\"])) {\n color-scheme: light;\n accent-color: #9e5829;\n --dsw-alias-bg-base: #faf7f0;\n --dsw-alias-bg-layer-1: #f3efe4;\n --dsw-alias-bg-layer-2: #eae3d3;\n --dsw-alias-bg-layer-3: #e0d7c3;\n --dsw-alias-bg-overlay: #fcfaf4;\n --dsw-alias-bg-module-platform: #efe9da;\n --dsw-alias-settings-card-fill: #f5f1e6;\n --dsw-alias-settings-card-stroke: #dfd5be;\n --dsw-specific-menu: rgba(252, 250, 244, 0.97);\n --dsw-alias-border-l1: #e6dec8;\n --dsw-alias-border-l2: #d4c8ae;\n --dsw-alias-border-l3: #c0b193;\n --dsw-alias-border-l4: #ad9c7c;\n --dsw-alias-label-primary: #2b2620;\n --dsw-alias-label-secondary: #655b4e;\n --dsw-alias-label-tertiary: #857968;\n --dsw-alias-label-dimmed: #9c907f;\n --dsw-alias-brand-primary: #9e5829;\n --dsw-alias-brand-text: #2b2620;\n --dsw-alias-state-business-primary: #a65e2e;\n --dsw-alias-state-business-tertiary: rgba(166, 94, 46, 0.13);\n --dsw-alias-link: #934e20;\n --dsw-alias-button-primary-fill: #9e5829;\n --dsw-alias-button-primary-hover: #86481e;\n --dsw-alias-button-primary-ink: #fffdf9;\n --dsw-alias-interactive-bg-hover: rgba(108, 84, 50, 0.075);\n --dsw-alias-interactive-bg-active: rgba(166, 94, 46, 0.14);\n --dsw-alias-interactive-bg-hover-accent: rgba(166, 94, 46, 0.12);\n --dsw-alias-interactive-bg-hover-danger: rgba(185, 56, 44, 0.11);\n --dsw-alias-state-error-primary: #b9382c;\n --dsw-alias-state-warn-primary: #b45309;\n --dsw-alias-state-warn-label: #8c3d08;\n --dsw-alias-state-warn-tertiary: #fdefd6;\n --dsw-alias-state-success-primary: #2a6f4e;\n --dsw-alias-state-success-tertiary: rgba(42, 111, 78, 0.13);\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 9px;\n --dsw-radius-md: 13px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n --dsw-elevation-soft: 0 1px 4px rgba(68, 52, 32, 0.06);\n --dsw-elevation-panel: 0 3px 12px rgba(68, 52, 32, 0.07), 0 0 0 1px rgba(180, 164, 138, 0.35);\n --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);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 6px rgba(84, 62, 34, 0.09);\n --dsh-card-hover-shadow: 0 8px 20px rgba(84, 62, 34, 0.10);\n --dsh-surface-spotlight: rgba(166, 94, 46, 0.08);\n}\n\n/* --------------------------------------------------------------------------\n * 4. Preset 3: `claude` — Claude 暖书卷 / Claude Warmth\n * (#F5F4ED / #ECE9DF parchment, #C96442 terracotta accent, editorial warmth)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"claude\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"claude\"], :has([data-dsh-style=\"claude\"])) {\n color-scheme: light;\n accent-color: #c96442;\n --dsw-alias-bg-base: #f5f4ed;\n --dsw-alias-bg-layer-1: #ece9df;\n --dsw-alias-bg-layer-2: #e3dfd2;\n --dsw-alias-bg-layer-3: #d8d3c3;\n --dsw-alias-bg-overlay: #faf9f4;\n --dsw-alias-bg-module-platform: #e7e3d6;\n --dsw-alias-settings-card-fill: #efece2;\n --dsw-alias-settings-card-stroke: #dad5c6;\n --dsw-specific-menu: rgba(250, 249, 244, 0.97);\n --dsw-alias-border-l1: #e2ded0;\n --dsw-alias-border-l2: #d0cbc0;\n --dsw-alias-border-l3: #bcb6a7;\n --dsw-alias-border-l4: #a69f8f;\n --dsw-alias-label-primary: #1f1e1b;\n --dsw-alias-label-secondary: #5d5a51;\n --dsw-alias-label-tertiary: #7b776c;\n --dsw-alias-label-dimmed: #948f83;\n --dsw-alias-brand-primary: #c96442;\n --dsw-alias-brand-text: #1f1e1b;\n --dsw-alias-state-business-primary: #c96442;\n --dsw-alias-state-business-tertiary: rgba(201, 100, 66, 0.14);\n --dsw-alias-link: #b35030;\n --dsw-alias-button-primary-fill: #c96442;\n --dsw-alias-button-primary-hover: #b25232;\n --dsw-alias-button-primary-ink: #faf9f5;\n --dsw-alias-interactive-bg-hover: rgba(31, 30, 27, 0.055);\n --dsw-alias-interactive-bg-active: rgba(201, 100, 66, 0.14);\n --dsw-alias-interactive-bg-hover-accent: rgba(201, 100, 66, 0.11);\n --dsw-alias-interactive-bg-hover-danger: rgba(180, 48, 42, 0.11);\n --dsw-alias-state-error-primary: #b4302a;\n --dsw-alias-state-warn-primary: #b85d19;\n --dsw-alias-state-warn-label: #8c430c;\n --dsw-alias-state-warn-tertiary: #f7e8d6;\n --dsw-alias-state-success-primary: #2d6a4f;\n --dsw-alias-state-success-tertiary: rgba(45, 106, 79, 0.13);\n --dsw-radius-xs: 7px;\n --dsw-radius-sm: 10px;\n --dsw-radius-md: 14px;\n --dsw-radius-lg: 18px;\n --dsw-radius-xl: 22px;\n --dsw-elevation-soft: 0 1px 4px rgba(31, 30, 27, 0.05);\n --dsw-elevation-panel: 0 3px 14px rgba(31, 30, 27, 0.06), 0 0 0 1px rgba(145, 139, 126, 0.28);\n --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);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 7px rgba(31, 30, 27, 0.08);\n --dsh-card-hover-shadow: 0 8px 22px rgba(31, 30, 27, 0.09);\n --dsh-surface-spotlight: rgba(201, 100, 66, 0.08);\n}\n\n/* Subtle editorial serif warmth on primary workbench/dialog headings in Claude preset */\n[data-dsh-style=\"claude\"] :where(header h1, .cite-brand, [data-dsh-editorial-heading]),\n:where([role=\"dialog\"], dialog):where([data-dsh-style=\"claude\"], :has([data-dsh-style=\"claude\"])) header h2 {\n font-family: \"Iowan Old Style\", \"Georgia\", \"Songti SC\", \"Noto Serif SC\", var(--dsw-font-family, serif);\n letter-spacing: -0.01em;\n}\n\n/* --------------------------------------------------------------------------\n * 5. Preset 4: `pixel8bit` — 8-Bit 像素 / Bright 8-Bit\n * (#F4F6E8 / #E7EED2 pastel arcade, #1E2826 ink, #2E7D5B & #D95B43 accents,\n * 0px radius, 2px solid crisp borders, 2px 2px 0 pixel shadow,\n * stepped translate(1px, 1px) press — bright & legible!)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"pixel8bit\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) {\n color-scheme: light;\n accent-color: #2e7d5b;\n --dsw-alias-bg-base: #f4f6e8;\n --dsw-alias-bg-layer-1: #e7eed2;\n --dsw-alias-bg-layer-2: #dbe5c0;\n --dsw-alias-bg-layer-3: #cedaad;\n --dsw-alias-bg-overlay: #f9fbf0;\n --dsw-alias-bg-module-platform: #e2ebc9;\n --dsw-alias-settings-card-fill: #edf2dc;\n --dsw-alias-settings-card-stroke: #1e2826;\n --dsw-specific-menu: #f9fbf0;\n --dsw-alias-border-l1: #7e9478;\n --dsw-alias-border-l2: #1e2826;\n --dsw-alias-border-l3: #1e2826;\n --dsw-alias-border-l4: #1e2826;\n --dsw-alias-label-primary: #1e2826;\n --dsw-alias-label-secondary: #3d514c;\n --dsw-alias-label-tertiary: #58706a;\n --dsw-alias-label-dimmed: #6e857f;\n --dsw-alias-brand-primary: #2e7d5b;\n --dsw-alias-brand-text: #1e2826;\n --dsw-alias-state-business-primary: #2e7d5b;\n --dsw-alias-state-business-tertiary: rgba(46, 125, 91, 0.18);\n --dsw-alias-link: #226448;\n --dsw-alias-button-primary-fill: #2e7d5b;\n --dsw-alias-button-primary-hover: #24674a;\n --dsw-alias-button-primary-ink: #f4f6e8;\n --dsw-alias-interactive-bg-hover: #dfe9c4;\n --dsw-alias-interactive-bg-active: #cfe0ad;\n --dsw-alias-interactive-bg-hover-accent: rgba(46, 125, 91, 0.16);\n --dsw-alias-interactive-bg-hover-danger: rgba(217, 91, 67, 0.18);\n --dsw-alias-state-error-primary: #d95b43;\n --dsw-alias-state-warn-primary: #c47614;\n --dsw-alias-state-warn-label: #7a4808;\n --dsw-alias-state-warn-tertiary: #f6e7b4;\n --dsw-alias-state-success-primary: #2e7d5b;\n --dsw-alias-state-success-tertiary: rgba(46, 125, 91, 0.16);\n --dsh-pixel-accent-secondary: #d95b43;\n --dsw-radius-xs: 0px;\n --dsw-radius-sm: 0px;\n --dsw-radius-md: 0px;\n --dsw-radius-lg: 0px;\n --dsw-radius-xl: 0px;\n --dsw-corner-shape: square;\n --dsw-elevation-soft: 2px 2px 0px #1e2826;\n --dsw-elevation-panel: 3px 3px 0px #1e2826;\n --dsw-elevation-prominent: 4px 4px 0px #1e2826;\n --dsh-control-border-width: 2px;\n --dsh-button-shadow: 2px 2px 0px #1e2826;\n --dsh-button-hover-shadow: 3px 3px 0px #1e2826;\n --dsh-card-hover-shadow: 4px 4px 0px #1e2826;\n --dsh-surface-spotlight: rgba(46, 125, 91, 0.12);\n}\n\n/* Crisp 0px corners, 2px solid borders, and arcade shadows in `pixel8bit` */\n[data-dsh-style=\"pixel8bit\"] :where(button, input, select, textarea, [role=\"button\"], [role=\"tab\"], [role=\"menuitem\"], [role=\"menuitemradio\"], [data-dsh-card], [data-dsh-panel]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])),\n: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\"]) {\n border-radius: 0px !important;\n corner-shape: square;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]), .dsh-btn),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]), .dsh-btn) {\n border: 2px solid #1e2826;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where(input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]), select, textarea),\n: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) {\n border-width: 2px;\n border-color: #1e2826;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where([data-dsh-card], .dsh-card) {\n border: 2px solid #1e2826;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) {\n border: 2px solid #1e2826 !important;\n box-shadow: 4px 4px 0px #1e2826 !important;\n backdrop-filter: none;\n}\n\n[data-dsh-style=\"pixel8bit\"] [role=\"tab\"][aria-selected=\"true\"]::after {\n border-block-end-color: #d95b43;\n border-block-end-width: 3px;\n}\n\n/* --------------------------------------------------------------------------\n * 6. Preset 5: `mint` — 晴空薄荷 / Airy Mint\n * (#F5FAFB / #EAF3F6 breeze surfaces, #0F766E teal & #0284C7 sky accents)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"mint\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"mint\"], :has([data-dsh-style=\"mint\"])) {\n color-scheme: light;\n accent-color: #0f766e;\n --dsw-alias-bg-base: #f5fafb;\n --dsw-alias-bg-layer-1: #eaf3f6;\n --dsw-alias-bg-layer-2: #dcebf0;\n --dsw-alias-bg-layer-3: #cce1e8;\n --dsw-alias-bg-overlay: #fafdff;\n --dsw-alias-bg-module-platform: #e3eff3;\n --dsw-alias-settings-card-fill: #eef6f8;\n --dsw-alias-settings-card-stroke: #c7dde5;\n --dsw-specific-menu: rgba(250, 253, 255, 0.97);\n --dsw-alias-border-l1: #d5e6ec;\n --dsw-alias-border-l2: #bdd5de;\n --dsw-alias-border-l3: #9ec0cd;\n --dsw-alias-border-l4: #7faab9;\n --dsw-alias-label-primary: #132a2e;\n --dsw-alias-label-secondary: #426067;\n --dsw-alias-label-tertiary: #628088;\n --dsw-alias-label-dimmed: #7c98a0;\n --dsw-alias-brand-primary: #0f766e;\n --dsw-alias-brand-text: #132a2e;\n --dsw-alias-state-business-primary: #0f766e;\n --dsw-alias-state-business-tertiary: rgba(15, 118, 110, 0.13);\n --dsw-alias-link: #0284c7;\n --dsw-alias-button-primary-fill: #0f766e;\n --dsw-alias-button-primary-hover: #0d635c;\n --dsw-alias-button-primary-ink: #f5fafb;\n --dsw-alias-interactive-bg-hover: rgba(15, 118, 110, 0.07);\n --dsw-alias-interactive-bg-active: rgba(15, 118, 110, 0.13);\n --dsw-alias-interactive-bg-hover-accent: rgba(2, 132, 199, 0.11);\n --dsw-alias-interactive-bg-hover-danger: rgba(200, 50, 64, 0.11);\n --dsw-alias-state-error-primary: #c83240;\n --dsw-alias-state-warn-primary: #b4690e;\n --dsw-alias-state-warn-label: #864c07;\n --dsw-alias-state-warn-tertiary: #fdf1d6;\n --dsw-alias-state-success-primary: #0f766e;\n --dsw-alias-state-success-tertiary: rgba(15, 118, 110, 0.13);\n --dsh-mint-sky-accent: #0284c7;\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 9px;\n --dsw-radius-md: 12px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n --dsw-elevation-soft: 0 1px 4px rgba(15, 76, 92, 0.06);\n --dsw-elevation-panel: 0 3px 12px rgba(15, 76, 92, 0.07), 0 0 0 1px rgba(127, 170, 185, 0.28);\n --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);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 7px rgba(15, 118, 110, 0.11);\n --dsh-card-hover-shadow: 0 8px 22px rgba(2, 132, 199, 0.10);\n --dsh-surface-spotlight: rgba(2, 132, 199, 0.08);\n}\n\n/* --------------------------------------------------------------------------\n * 7. Interactive Dynamics: Tactile Button Physics & Active States\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where(button, [role=\"button\"], a.cite-download),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"]) {\n translate: 0px 0px;\n scale: 1;\n transition-property: background-color, border-color, color, box-shadow, opacity, translate, scale;\n transition-duration: var(--dsh-motion-fast);\n transition-timing-function: var(--dsh-ease-out);\n}\n\n/* Visible active style on open menu triggers (per `menu` guidance) */\n:where([data-dsh-style]) :where(button, [role=\"button\"])[aria-expanded=\"true\"]:not(:disabled):not([aria-disabled=\"true\"]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"])[aria-expanded=\"true\"]:not(:disabled):not([aria-disabled=\"true\"]) {\n background-color: var(--dsw-alias-interactive-bg-active);\n color: var(--dsw-alias-label-primary);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n @media (hover: hover) {\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]):not([role=\"switch\"]):not(.cite-reference-button), .dsh-btn, a.cite-download):hover:not(:disabled):not([aria-disabled=\"true\"]),\n :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):hover:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: 0px -0.5px;\n }\n\n [data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]):not(.cite-reference-button), .dsh-btn, a.cite-download):hover:not(:disabled):not([aria-disabled=\"true\"]),\n :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):hover:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: -1px -1px;\n box-shadow: 3px 3px 0px #1e2826;\n transition-timing-function: steps(2, end);\n transition-duration: 70ms;\n }\n }\n\n /* Tactile spring press on non-pixel themes */\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"switch\"]):not(.cite-reference-button), [role=\"button\"], a.cite-download):active:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"switch\"]), [role=\"button\"]):active:not(:disabled):not([aria-disabled=\"true\"]) {\n scale: 0.965;\n translate: 0px 0.5px;\n transition-duration: 80ms;\n }\n\n /* Stepped 8-Bit arcade press (`translate(1px, 1px)` + crisp 1px pixel shadow) */\n [data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]):not([role=\"switch\"]):not(.cite-reference-button), .dsh-btn, a.cite-download):active:not(:disabled):not([aria-disabled=\"true\"]),\n :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):active:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: 1px 1px !important;\n scale: 1 !important;\n box-shadow: 1px 1px 0px #1e2826 !important;\n transition-timing-function: steps(2, end);\n transition-duration: 50ms;\n }\n}\n\n/* --------------------------------------------------------------------------\n * 8. Small-Button SVG Icon Micro-Animations\n * Works automatically with `svg[data-dsh-icon=\"<name>\"]` or `svg[data-icon=\"<name>\"]`\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where(button, [role=\"button\"], summary, a) svg,\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"], summary, a) svg {\n translate: 0px 0px;\n rotate: 0deg;\n scale: 1;\n transform-origin: center;\n}\n\n@keyframes dsh-icon-spin {\n to {\n rotate: 360deg;\n }\n}\n\n@keyframes dsh-icon-wiggle {\n 0% { rotate: 0deg; }\n 25% { rotate: -12deg; }\n 55% { rotate: 10deg; }\n 80% { rotate: -5deg; }\n 100% { rotate: 0deg; }\n}\n\n@keyframes dsh-icon-pop {\n 0% { scale: 1; }\n 45% { scale: 1.26; }\n 75% { scale: 0.94; }\n 100% { scale: 1; }\n}\n\n@keyframes dsh-icon-bounce {\n 0%, 100% { translate: 0px 0px; }\n 45% { translate: 0px 2.5px; }\n 75% { translate: 0px -1px; }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :where([data-dsh-style]) :where(button, [role=\"button\"], summary, a) svg,\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"], summary, a) svg {\n transition:\n translate var(--dsh-motion-base) var(--dsh-ease-spring),\n rotate 240ms var(--dsh-ease-spring),\n scale var(--dsh-motion-base) var(--dsh-ease-spring);\n }\n\n /* 1) `down` / chevron: 180deg flip on `[aria-expanded=\"true\"]` or `details[open]` */\n :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\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]),\n :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\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]) {\n rotate: 180deg;\n }\n\n /* 2) `refresh` / `sync`: smooth 180deg spin on hover, continuous spin when busy */\n :where([data-dsh-style]) :where(button, [role=\"button\"])[aria-busy=\"true\"] :is(svg[data-dsh-icon=\"refresh\"], svg[data-dsh-icon=\"sync\"], svg[data-icon=\"refresh\"], svg[data-icon=\"sync\"]),\n :where([data-dsh-style]) :is(svg[data-dsh-icon=\"refresh\"], svg[data-icon=\"refresh\"])[data-spinning=\"true\"] {\n animation: dsh-icon-spin 0.85s linear infinite;\n }\n\n @media (hover: hover) {\n :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\"], svg[data-icon=\"refresh\"], svg[data-icon=\"sync\"], svg[data-icon=\"reload\"]) {\n rotate: 180deg;\n }\n\n /* 3) `plus` / `close`: crisp 90deg turn */\n :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\"], svg[data-icon=\"plus\"], svg[data-icon=\"add\"], svg[data-icon=\"close\"], svg[data-icon=\"x\"]) {\n rotate: 90deg;\n }\n\n /* 4) `send` / `external` / `link`: forward/diagonal glide */\n :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\"], svg[data-icon=\"send\"], svg[data-icon=\"external\"], svg[data-icon=\"link\"]) {\n translate: 2px -1.5px;\n }\n\n /* 5) `reply` / `left` / `undo`: leading glide */\n :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\"], svg[data-icon=\"reply\"], svg[data-icon=\"left\"], svg[data-icon=\"undo\"]) {\n translate: -2px 0px;\n }\n\n /* 6) `right` / `play`: trailing nudge & pulse */\n :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=\"right\"], svg[data-icon=\"right\"]) {\n translate: 2px 0px;\n }\n\n :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=\"play\"], svg[data-icon=\"play\"]) {\n translate: 1.5px 0px;\n scale: 1.14;\n }\n\n /* 7) `trash` / `delete`: tactile warning wiggle */\n :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\"], svg[data-icon=\"trash\"], svg[data-icon=\"delete\"]) {\n animation: dsh-icon-wiggle 360ms var(--dsh-ease-in-out);\n }\n\n /* 8) `star` / `check` / `copy` / `bookmark`: spring pop */\n :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\"], svg[data-dsh-icon=\"bookmark\"], svg[data-icon=\"star\"], svg[data-icon=\"check\"], svg[data-icon=\"copy\"], svg[data-icon=\"bookmark\"]) {\n scale: 1.18;\n }\n\n /* 9) `download` / `export` / `upload`: vertical bounce */\n :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=\"download\"], svg[data-dsh-icon=\"export\"], svg[data-dsh-icon=\"upload\"], svg[data-icon=\"download\"], svg[data-icon=\"export\"], svg[data-icon=\"upload\"]) {\n animation: dsh-icon-bounce 420ms var(--dsh-ease-out);\n }\n\n /* 10) `palette` / `sparkles` / `sparkle` / `edit`: playful tilt */\n :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=\"sparkle\"], svg[data-dsh-icon=\"edit\"], svg[data-icon=\"palette\"], svg[data-icon=\"sparkles\"], svg[data-icon=\"edit\"]) {\n rotate: -12deg;\n scale: 1.08;\n }\n\n /* Closed chevron gentle downward cue on hover */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"])[aria-expanded=\"false\"]:hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"down\"], svg[data-dsh-icon=\"chevron-down\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]) {\n translate: 0px 1.5px;\n }\n }\n\n /* Pop feedback when toggled into active/pressed/checked/copied state */\n :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\"], svg[data-icon=\"star\"], svg[data-icon=\"check\"], svg[data-icon=\"copy\"]) {\n animation: dsh-icon-pop 300ms var(--dsh-ease-spring);\n }\n}\n\n/* --------------------------------------------------------------------------\n * 9. Tabs, Interactive Rows, Cards & Top-Layer Dialog/Popover Entrance\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) [role=\"tablist\"] {\n scrollbar-width: thin;\n}\n\n:where([data-dsh-style]) [role=\"tab\"] {\n position: relative;\n}\n\n/* Non-color border indicator on selected tabs (WCAG 1.4.1 + Forced Colors safe) */\n:where([data-dsh-style]) [role=\"tab\"][aria-selected=\"true\"]::after {\n content: \"\";\n position: absolute;\n inset-inline: 6px;\n inset-block-end: 0;\n border-block-end: 2px solid var(--dsw-alias-state-business-primary, currentColor);\n pointer-events: none;\n}\n\n/* Interactive workbench cards & list rows */\n:where([data-dsh-style]) :where([data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row) {\n translate: 0px 0px;\n transition:\n background-color var(--dsh-motion-fast) var(--dsh-ease-out),\n border-color var(--dsh-motion-fast) var(--dsh-ease-out),\n box-shadow var(--dsh-motion-base) var(--dsh-ease-out),\n translate var(--dsh-motion-base) var(--dsh-ease-out);\n}\n\n@media (hover: hover) and (prefers-reduced-motion: no-preference) {\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where([data-dsh-card], .dsh-card):hover {\n translate: 0px -1.5px;\n box-shadow: var(--dsh-card-hover-shadow);\n }\n\n [data-dsh-style=\"pixel8bit\"] :where([data-dsh-card], .dsh-card):hover {\n translate: -1px -1px;\n box-shadow: 4px 4px 0px #1e2826;\n }\n\n :where([data-dsh-style]) :where([data-dsh-row], .dsh-row):hover:not([data-selected=\"true\"]):not([aria-selected=\"true\"]):not([data-active=\"true\"]) {\n background-color: var(--dsh-surface-spotlight, var(--dsw-alias-interactive-bg-hover));\n }\n}\n\n/* Modal / Dialog & Popover Top-Layer Entrance + Scroll Containment */\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n overscroll-behavior: contain;\n opacity: 1;\n transition-property: opacity, scale, translate, display, overlay;\n transition-duration: var(--dsh-motion-dialog);\n transition-timing-function: var(--dsh-ease-out);\n /* Separate declaration after transition so older parsers never drop transitions */\n transition-behavior: allow-discrete;\n}\n\n@starting-style {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n opacity: 0;\n }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: 1;\n translate: 0px 0px;\n }\n\n @starting-style {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: 0.965;\n translate: 0px 6px;\n }\n }\n}\n\ndialog[open]::backdrop {\n overflow: hidden;\n overscroll-behavior: contain;\n}\n\n/* --------------------------------------------------------------------------\n * 10. Unified Header Style Switcher & Standalone Fallback Controls\n * -------------------------------------------------------------------------- */\n.dsh-style-switcher {\n display: inline-flex;\n align-items: center;\n flex: none;\n}\n\n.dsh-style-trigger.dsh-style-trigger {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n min-height: 28px;\n padding-inline: 8px;\n width: auto;\n font-size: 12px;\n line-height: 18px;\n font-weight: 500;\n color: var(--dsw-alias-label-secondary, #5b667a);\n background: var(--dsw-alias-bg-layer-1, #f7f9fc);\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-sm, 8px);\n cursor: pointer;\n white-space: nowrap;\n}\n\n@media (hover: hover) {\n .dsh-style-trigger.dsh-style-trigger:hover:not(:disabled) {\n color: var(--dsw-alias-label-primary, #1b2230);\n background: var(--dsw-alias-interactive-bg-hover, #eef2f7);\n }\n}\n\n.dsh-style-swatch {\n display: inline-block;\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n corner-shape: round;\n background: var(--dsh-swatch-color, var(--dsw-alias-state-business-primary, #4176e6));\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);\n}\n\n[data-dsh-style=\"pixel8bit\"] .dsh-style-swatch {\n border-radius: 0px !important;\n corner-shape: square;\n box-shadow: 1px 1px 0px #1e2826;\n}\n\n.dsh-style-fallback-wrap {\n position: relative;\n display: inline-flex;\n}\n\n.dsh-style-fallback-menu {\n position: absolute;\n inset-block-start: calc(100% + 4px);\n inset-inline-end: 0;\n z-index: 2147483001;\n display: grid;\n gap: 2px;\n min-width: 168px;\n padding: 4px;\n background: var(--dsw-alias-bg-overlay, var(--dsw-alias-bg-base, #ffffff));\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-md, 12px);\n box-shadow: var(--dsw-elevation-prominent, 0 12px 32px rgba(15, 23, 42, 0.14));\n}\n\n.dsh-style-fallback-item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n width: 100%;\n min-height: 28px;\n padding: 4px 8px;\n border: 0;\n border-radius: var(--dsw-radius-xs, 6px);\n background: transparent;\n color: var(--dsw-alias-label-primary, #1b2230);\n font: inherit;\n font-size: 12px;\n text-align: start;\n cursor: pointer;\n}\n\n.dsh-style-fallback-item[aria-checked=\"true\"] {\n background: var(--dsw-alias-interactive-bg-active, rgba(65, 118, 230, 0.12));\n font-weight: 600;\n}\n\n@media (hover: hover) {\n .dsh-style-fallback-item:hover:not(:disabled) {\n background: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.05));\n }\n}\n\n.dsh-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n min-height: 28px;\n padding: 4px 10px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-sm, 8px);\n background: var(--dsw-alias-bg-base, #ffffff);\n color: var(--dsw-alias-label-primary, #1b2230);\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n cursor: pointer;\n}\n\n.dsh-btn-ghost {\n background: transparent;\n border-color: transparent;\n}\n\n.dsh-btn-primary {\n background: var(--dsw-alias-button-primary-fill, #4176e6);\n border-color: var(--dsw-alias-button-primary-fill, #4176e6);\n color: var(--dsw-alias-button-primary-ink, #ffffff);\n}\n\n.dsh-fallback-btn-icon,\n.dsh-fallback-input-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n}\n\n.dsh-fallback-input-wrap {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n min-width: 0;\n min-height: 30px;\n padding-inline: 8px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-sm, 8px);\n background: var(--dsw-alias-bg-base, #ffffff);\n}\n\n.dsh-fallback-input-wrap > input {\n flex: 1 1 auto;\n min-width: 0;\n border: 0 !important;\n background: transparent !important;\n padding: 4px 0 !important;\n outline: none;\n color: inherit;\n font: inherit;\n}\n\n.dsh-checkbox-label {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n cursor: pointer;\n}\n\n.dsh-checkbox-icon > span {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n.dsh-segmented-fallback {\n display: inline-flex;\n align-items: center;\n gap: 2px;\n padding: 2px;\n border-radius: var(--dsw-radius-sm, 8px);\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n background: var(--dsw-alias-bg-layer-2, #eef2f7);\n max-width: 100%;\n overflow-x: auto;\n}\n\n.dsh-segmented-fallback > button {\n flex: 1 1 auto;\n min-height: 26px;\n padding: 3px 9px;\n border: 0;\n border-radius: max(4px, calc(var(--dsw-radius-sm, 8px) - 2px));\n background: transparent;\n color: var(--dsw-alias-label-secondary, #5b667a);\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.dsh-segmented-fallback > button[aria-selected=\"true\"],\n.dsh-segmented-fallback > button[aria-checked=\"true\"] {\n background: var(--dsw-alias-bg-base, #ffffff);\n color: var(--dsw-alias-label-primary, #1b2230);\n box-shadow: var(--dsw-elevation-soft, 0 1px 3px rgba(15, 23, 42, 0.08));\n font-weight: 600;\n}\n\n.dsh-pill-fallback {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px 8px;\n border-radius: 999px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n background: var(--dsw-alias-bg-layer-1, #f7f9fc);\n color: var(--dsw-alias-label-secondary, #5b667a);\n font: inherit;\n font-size: 11.5px;\n cursor: pointer;\n}\n\n.dsh-pill-fallback[data-active=\"true\"],\n.dsh-pill-fallback[aria-pressed=\"true\"] {\n background: var(--dsw-alias-button-primary-fill, #4176e6);\n border-color: var(--dsw-alias-button-primary-fill, #4176e6);\n color: var(--dsw-alias-button-primary-ink, #ffffff);\n}\n\n.dsh-tag-fallback {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 1px 7px;\n border-radius: var(--dsw-radius-xs, 6px);\n background: var(--dsw-alias-bg-layer-2, #eef2f7);\n color: var(--dsw-alias-label-secondary, #5b667a);\n font-size: 11px;\n font-weight: 500;\n}\n\n.dsh-tag-fallback[data-tone=\"success\"] {\n color: var(--dsw-alias-state-success-primary, #1f7a4c);\n background: var(--dsw-alias-state-success-tertiary, rgba(31, 122, 76, 0.12));\n}\n\n.dsh-tag-fallback[data-tone=\"warning\"] {\n color: var(--dsw-alias-state-warn-label, #8c4b08);\n background: var(--dsw-alias-state-warn-tertiary, rgba(180, 83, 9, 0.14));\n}\n\n.dsh-tag-fallback[data-tone=\"danger\"] {\n color: var(--dsw-alias-state-error-primary, #b9382c);\n background: var(--dsw-alias-interactive-bg-hover-danger, rgba(185, 56, 44, 0.12));\n}\n\n.dsh-tag-fallback[data-tone=\"info\"] {\n color: var(--dsw-alias-state-business-primary, #4176e6);\n background: var(--dsw-alias-state-business-tertiary, rgba(65, 118, 230, 0.12));\n}\n\n/* Fallback Modal & Menu Chrome (when host `@deepseek-ai/dsh-client-ui-primitives` is absent) */\n.dsh-fallback-modal-root {\n position: fixed;\n inset: 0;\n z-index: 2147483000;\n display: grid;\n place-items: center;\n padding: 16px;\n}\n\n.dsh-fallback-modal-mask {\n position: fixed;\n inset: 0;\n background: rgba(15, 23, 42, 0.32);\n}\n\n.dsh-fallback-modal-dialog {\n position: relative;\n z-index: 1;\n width: min(580px, calc(100dvw - 32px));\n max-height: calc(100dvh - 32px);\n overflow: clip;\n display: flex;\n flex-direction: column;\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-md, 12px);\n background: var(--dsw-alias-bg-layer-1, #f8fafc);\n color: var(--dsw-alias-label-primary, #1f232b);\n box-shadow: var(--dsw-elevation-prominent, 0 16px 40px rgba(15, 23, 42, 0.2));\n}\n\n/* --------------------------------------------------------------------------\n * 11. Accessibility: Reduced Motion & Windows High Contrast (Forced Colors)\n * -------------------------------------------------------------------------- */\n@media (prefers-reduced-motion: reduce) {\n :where([data-dsh-style]) :where(button, [role=\"button\"], a.cite-download, [data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"]) {\n translate: none !important;\n scale: none !important;\n transition-property: background-color, border-color, color, opacity;\n transition-duration: 90ms;\n }\n\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"], summary, a) svg {\n animation: none !important;\n transition: none !important;\n translate: none !important;\n rotate: none !important;\n scale: none !important;\n }\n\n /* Short, non-spatial fade only for top-layer dialogs under reduced motion */\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: none !important;\n translate: none !important;\n transition-duration: 100ms;\n }\n}\n\n@media (forced-colors: active) {\n :where([data-dsh-style]) :where(button, input, select, textarea),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style], :has([data-dsh-style])) {\n border: 1px solid ButtonText;\n }\n\n :where([data-dsh-style]) [role=\"tab\"][aria-selected=\"true\"]::after {\n border-block-end: 3px solid Highlight;\n }\n}\n\n.cite-workbench.dshw {\n --cite-base: var(--dsw-alias-bg-base, #ffffff);\n --cite-layer: var(--dsw-alias-bg-layer-1, #f7f9fc);\n --cite-control: var(--dsw-alias-bg-layer-2, #eef2f7);\n --cite-ink: var(--dsw-alias-label-primary, #1b2230);\n --cite-secondary: var(--dsw-alias-label-secondary, #5b667a);\n --cite-line: var(--dsw-alias-border-l2, #e2e7f0);\n --cite-subtle-line: var(--dsw-alias-border-l1, #ebf0f6);\n --cite-accent: var(--dsw-alias-state-business-primary, #4176e6);\n --cite-hover: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.045));\n --cite-active: var(--dsw-alias-interactive-bg-active, rgba(65, 118, 230, 0.11));\n --cite-primary: var(--dsw-alias-button-primary-fill, #4176e6);\n --cite-on-primary: var(--dsw-alias-button-primary-ink, #ffffff);\n --cite-mono: var(--ds-font-family-code, ui-monospace, SFMono-Regular, Consolas, monospace);\n --cite-radius-sm: var(--dsw-radius-sm, 8px);\n --cite-radius-md: var(--dsw-radius-md, 12px);\n container: cite-workbench / inline-size;\n inline-size: 100%;\n min-inline-size: 0;\n min-block-size: 0;\n box-sizing: border-box;\n font-family: inherit;\n font-size: 13px;\n line-height: 1.5;\n color: var(--cite-ink);\n background: var(--cite-base);\n}\n\n.cite-workbench[data-main=\"true\"] {\n block-size: 100%;\n padding-block-start: var(--dsh-frame-top-clearance, 0px);\n padding-inline-start: var(--dsh-frame-leading-clearance, 0px);\n}\n\n.cite-workbench[data-main=\"false\"] {\n block-size: min(680px, 76dvh);\n min-block-size: 320px;\n padding: 0;\n}\n\n.cite-workbench * {\n box-sizing: border-box;\n}\n\n.cite-workbench .cite-shell {\n display: grid;\n grid-template:\n \"brand tabs import\" auto\n \"panel panel panel\" minmax(0, 1fr)\n / max-content minmax(0, 1fr) max-content;\n align-items: center;\n column-gap: 12px;\n block-size: 100%;\n background: var(--cite-base);\n}\n\n.cite-workbench[data-main=\"false\"] .cite-shell {\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n overflow: clip;\n}\n\n.cite-workbench .cite-brand {\n grid-area: brand;\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0 0 0 14px;\n font-size: 14px;\n line-height: 1.3;\n font-weight: 650;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-brand-icon {\n display: grid;\n place-items: center;\n inline-size: 25px;\n block-size: 25px;\n border-radius: var(--dsw-radius-xs, 7px);\n color: var(--cite-on-primary);\n background: var(--cite-primary);\n}\n\n.cite-workbench .cite-header-actions {\n grid-area: import;\n justify-self: end;\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 7px 14px 7px 0;\n}\n\n.cite-workbench .w-tabs-layout {\n display: contents;\n}\n\n.cite-workbench .w-tabs {\n grid-area: tabs;\n justify-self: start;\n flex-wrap: nowrap;\n max-inline-size: 100%;\n gap: 2px;\n margin: 7px 0;\n padding: 3px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n border-radius: calc(var(--cite-radius-sm) + 2px);\n background: var(--cite-control);\n}\n\n.cite-workbench .w-tabs > button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n gap: 5px;\n min-inline-size: 0;\n min-block-size: 28px;\n border: 0;\n border-radius: var(--cite-radius-sm);\n padding: 4px 11px;\n color: var(--cite-secondary);\n font-size: 12px;\n line-height: 1.3;\n font-weight: 500;\n white-space: nowrap;\n}\n\n.cite-workbench .w-tabs > button[aria-selected=\"true\"] {\n color: var(--cite-ink);\n background: var(--cite-base);\n box-shadow: var(--dsw-elevation-soft, 0 1px 3px rgba(15, 23, 42, 0.08));\n font-weight: 600;\n}\n\n.cite-workbench .w-tabs .w-count {\n min-inline-size: 0;\n padding: 0 4px;\n border-radius: 999px;\n color: var(--cite-secondary);\n background: color-mix(in oklab, var(--cite-ink) 7%, transparent);\n font: 10px/1.45 var(--cite-mono);\n}\n\n.cite-workbench .w-tabs > button[aria-selected=\"true\"] .w-count {\n color: var(--cite-accent);\n background: color-mix(in oklab, var(--cite-accent) 14%, transparent);\n}\n\n.cite-workbench .w-tab-panel {\n grid-area: panel;\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n min-inline-size: 0;\n block-size: 100%;\n overflow: hidden;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n}\n\n.cite-workbench .w-tab-panel > [data-plugin-update-footer=\"dsh-cite\"] {\n flex: 0 0 auto;\n padding: 10px 16px;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench :is(button, a, input, select, textarea, summary):focus-visible {\n outline: 2px solid var(--cite-accent);\n outline-offset: 2px;\n}\n\n.cite-workbench :is(.cite-reference-button, .cite-filter, .w-tabs > button):focus-visible {\n outline-offset: -2px;\n}\n\n.cite-workbench .cite-button {\n flex: 0 0 auto;\n min-block-size: 30px;\n padding-inline: 10px;\n font-size: 12px;\n line-height: 1.3;\n border-radius: var(--cite-radius-sm);\n}\n\n.cite-workbench .cite-button-primary {\n background: var(--cite-primary);\n border-color: var(--cite-primary);\n color: var(--cite-on-primary);\n}\n\n.cite-workbench .cite-button-danger {\n color: var(--dsw-alias-state-error-primary, #b9382c);\n}\n\n.cite-workbench .cite-icon-button {\n inline-size: 30px;\n min-inline-size: 30px;\n padding-inline: 0;\n justify-content: center;\n}\n\n.cite-workbench .cite-input-wrap {\n width: 100%;\n min-width: 0;\n min-height: 32px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-input-wrap input {\n min-width: 0;\n font-size: 12.5px;\n line-height: 1.5;\n}\n\n.cite-workbench .cite-segmented {\n width: 100%;\n}\n\n.cite-workbench .cite-checkbox {\n min-width: 0;\n color: inherit;\n}\n\n.cite-workbench :is(.cite-actions, .cite-chips) {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n min-inline-size: 0;\n gap: 5px;\n}\n\n.cite-workbench .cite-chip {\n display: inline-block;\n max-inline-size: 100%;\n padding: 2px 6px;\n border-radius: var(--dsw-radius-xs, 5px);\n background: var(--cite-control);\n color: var(--cite-secondary);\n font: 10.5px/1.45 var(--cite-mono);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-chip.accent {\n color: var(--cite-accent);\n background: var(--dsw-alias-interactive-bg-hover-accent, color-mix(in oklab, var(--cite-accent) 13%, transparent));\n}\n\n.cite-workbench .cite-chip.warn {\n color: var(--dsw-alias-state-warn-label, #8c4b08);\n background: var(--dsw-alias-state-warn-tertiary, rgba(180, 83, 9, 0.14));\n}\n\n.cite-workbench .cite-chip.success {\n color: var(--dsw-alias-state-success-primary, #1f7a4c);\n background: var(--dsw-alias-state-success-tertiary, rgba(31, 122, 76, 0.12));\n}\n\n.cite-workbench :is(.cite-chip.danger, .cite-error-text) {\n color: var(--dsw-alias-state-error-primary, #b9382c);\n}\n\n.cite-workbench :is(.cite-muted, .cite-label) {\n color: var(--cite-secondary);\n font-size: 12px;\n line-height: 1.5;\n}\n\n.cite-workbench :is(.cite-mono, code) {\n font-family: var(--cite-mono);\n}\n\n.cite-workbench .cite-label {\n display: block;\n margin-block: 0 5px;\n font-size: 11.5px;\n font-weight: 550;\n}\n\n.cite-workbench .cite-field {\n display: block;\n inline-size: 100%;\n min-block-size: 32px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n padding: 6px 9px;\n background: var(--cite-base);\n color: var(--cite-ink);\n font-size: 12.5px;\n line-height: 1.5;\n}\n\n.cite-workbench textarea.cite-field {\n resize: vertical;\n min-block-size: 108px;\n}\n\n.cite-workbench :is(.cite-picker-wrap, .cite-picker, .cite-picker-button) {\n inline-size: 100%;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-picker-button {\n justify-content: space-between;\n text-align: start;\n background: var(--cite-base);\n border-radius: var(--cite-radius-sm);\n}\n\n.cite-workbench :is(input[type=\"checkbox\"], input[type=\"radio\"], progress) {\n accent-color: var(--cite-accent);\n}\n\n.cite-workbench :is(input[type=\"checkbox\"], input[type=\"radio\"]) {\n flex: 0 0 auto;\n inline-size: 15px;\n block-size: 15px;\n margin: 0;\n}\n\n.cite-workbench .cite-library {\n display: grid;\n flex: 1 1 auto;\n min-block-size: 0;\n grid-template-columns: clamp(168px, 18cqi, 236px) clamp(252px, 28cqi, 356px) minmax(0, 1fr);\n}\n\n.cite-workbench :is(.cite-rail, .cite-list, .cite-inspector) {\n min-inline-size: 0;\n min-block-size: 0;\n}\n\n.cite-workbench .cite-rail {\n overflow: auto;\n overscroll-behavior: contain;\n padding: 12px 10px;\n border-inline-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-style-box {\n margin-block-end: 12px;\n padding: 10px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-filters {\n display: grid;\n gap: 3px;\n}\n\n.cite-workbench .cite-filters > h2 {\n margin: 4px 8px;\n font-size: 11px;\n font-weight: 600;\n}\n\n.cite-workbench .cite-filter {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 6px;\n min-block-size: 32px;\n padding: 6px 9px;\n border: 0;\n border-radius: var(--cite-radius-sm);\n color: var(--cite-secondary);\n background: transparent;\n font: inherit;\n line-height: 1.35;\n text-align: start;\n cursor: pointer;\n}\n\n.cite-workbench .cite-filter[aria-pressed=\"true\"] {\n color: var(--cite-ink);\n background: var(--cite-active);\n font-weight: 600;\n}\n\n.cite-workbench .cite-count {\n color: var(--cite-secondary);\n font: 11px/1.45 var(--cite-mono);\n}\n\n.cite-workbench :is(.cite-list, .cite-inspector) {\n display: flex;\n flex-direction: column;\n}\n\n.cite-workbench .cite-list {\n border-inline-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-inspector {\n background: var(--cite-base);\n}\n\n.cite-workbench :is(.cite-searchbar, .cite-inspector-bar, .cite-selection) {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n gap: 6px;\n min-block-size: 44px;\n padding: 6px 12px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n}\n\n.cite-workbench .cite-searchbar > :first-child {\n flex: 1 1 auto;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-searchbar input {\n min-inline-size: 0;\n font-size: 12px;\n}\n\n.cite-workbench.dshw .cite-searchbar .cite-search input {\n border: 0;\n border-radius: 0;\n padding: 0;\n background: transparent;\n}\n\n.cite-workbench .cite-searchbar input::placeholder {\n color: var(--dsw-alias-label-tertiary, var(--cite-secondary));\n}\n\n.cite-workbench :is(.cite-inspector-bar, .cite-selection) {\n justify-content: space-between;\n flex-wrap: wrap;\n}\n\n.cite-workbench .cite-selection {\n gap: 2px 5px;\n min-block-size: 0;\n padding-block: 4px;\n border-color: var(--cite-subtle-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-selection .cite-button {\n min-block-size: 26px;\n padding-inline: 6px;\n font-size: 11.5px;\n}\n\n.cite-workbench :is(.cite-list-scroll, .cite-inspector-scroll, .cite-subpage) {\n flex: 1 1 auto;\n min-block-size: 0;\n min-inline-size: 0;\n overflow: auto;\n overscroll-behavior: contain;\n}\n\n.cite-workbench :is(.cite-list-loading, .cite-inspector-empty) {\n margin: auto;\n padding: 28px 18px;\n color: var(--cite-secondary);\n text-align: center;\n}\n\n.cite-workbench .cite-list .w-empty {\n gap: 9px;\n min-block-size: 220px;\n padding: 28px 16px;\n}\n\n.cite-workbench .cite-list .w-empty h2 {\n font-size: 15px;\n line-height: 1.4;\n}\n\n.cite-workbench .cite-list .w-empty .w-muted {\n font-size: 12px;\n}\n\n.cite-workbench :is(.cite-reference-list, .cite-plain-list) {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.cite-workbench .cite-reference-row {\n position: relative;\n display: flex;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n}\n\n.cite-workbench .cite-reference-row[data-active=\"true\"] {\n background: var(--cite-active);\n}\n\n.cite-workbench .cite-reference-row[data-active=\"true\"]::before {\n content: \"\";\n position: absolute;\n inset-block: 6px;\n inset-inline-start: 0;\n inline-size: 3px;\n border-radius: 2px;\n background: var(--cite-accent);\n pointer-events: none;\n}\n\n.cite-workbench .cite-reference-check {\n display: flex;\n align-items: flex-start;\n padding: 14px 5px 8px 12px;\n}\n\n.cite-workbench .cite-reference-button {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n gap: 3px;\n min-inline-size: 0;\n border: 0;\n padding: 10px 12px 10px 5px;\n background: transparent;\n color: var(--cite-ink);\n font: inherit;\n text-align: start;\n cursor: pointer;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-reference-meta {\n color: var(--cite-secondary);\n font-size: 11.5px;\n line-height: 1.45;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-reference-button .cite-chips {\n gap: 4px;\n margin-block-start: 3px;\n}\n\n.cite-workbench .cite-more {\n margin: 10px 12px;\n}\n\n.cite-workbench .cite-selection-footer {\n padding: 8px 12px;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-inspector-bar {\n padding-inline: 16px;\n}\n\n.cite-workbench .cite-inspector-bar > .cite-chips {\n max-inline-size: 100%;\n}\n\n.cite-workbench .cite-crossref {\n color: var(--cite-accent);\n}\n\n.cite-workbench .cite-back {\n display: none;\n}\n\n.cite-workbench .cite-inspector-scroll {\n padding: 16px 22px 24px;\n}\n\n.cite-workbench .cite-card {\n padding: 13px 15px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n background: var(--cite-layer);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-card + .cite-card,\n.cite-workbench .cite-subpage-inner > form + .cite-card {\n margin-block-start: 12px;\n}\n\n.cite-workbench .cite-card p {\n margin-block: 0;\n}\n\n.cite-workbench .cite-card-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px 9px;\n margin-block-end: 8px;\n}\n\n.cite-workbench .cite-card-header > h3 {\n margin: 0;\n font-size: 13px;\n line-height: 1.45;\n font-weight: 600;\n}\n\n.cite-workbench :is(.cite-formatted, .cite-code),\n.w-dialog .cite-code {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n margin: 0;\n padding: 10px 12px;\n border-radius: var(--cite-radius-sm, 8px);\n background: var(--cite-base, var(--w-bg));\n}\n\n.cite-workbench .cite-formatted {\n border-inline-start: 3px solid var(--cite-accent);\n font: inherit;\n line-height: 1.65;\n}\n\n.cite-workbench .cite-code,\n.w-dialog .cite-code {\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line, var(--w-border));\n color: var(--cite-secondary, var(--w-muted));\n font: 11.5px/1.55 var(--cite-mono, ui-monospace, monospace);\n}\n\n.w-dialog .cite-source-entry + .cite-source-entry {\n margin-block-start: 14px;\n}\n\n.cite-workbench :is(.cite-metadata, .cite-form-grid) {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 10px 12px;\n margin: 0;\n}\n\n.cite-workbench .cite-field-wide {\n grid-column: 1 / -1;\n}\n\n.cite-workbench .cite-metadata dd {\n margin: 0;\n min-block-size: 30px;\n padding: 5px 9px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n background: var(--cite-base);\n font-size: 12px;\n white-space: pre-wrap;\n}\n\n.cite-workbench .cite-differences {\n border: 1px solid var(--dsw-alias-state-warn-primary, var(--cite-line));\n}\n\n.cite-workbench .cite-diff-table {\n inline-size: 100%;\n margin-block-start: 8px;\n border-collapse: collapse;\n table-layout: fixed;\n font-size: 12px;\n}\n\n.cite-workbench .cite-diff-table :is(th, td) {\n padding: 6px 7px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n vertical-align: top;\n text-align: start;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-diff-table th:first-child {\n inline-size: 24%;\n}\n\n.cite-workbench .cite-diff-table td:nth-child(2) {\n background: var(--cite-control);\n}\n\n.cite-workbench .cite-subpage {\n padding: 22px 20px 36px;\n}\n\n.cite-workbench .cite-subpage-inner {\n max-inline-size: 840px;\n margin-inline: auto;\n}\n\n.cite-workbench .cite-subpage h2 {\n margin: 0 0 4px;\n font-size: 17px;\n line-height: 1.45;\n font-weight: 650;\n}\n\n.cite-workbench .cite-description {\n margin: 0 0 16px;\n color: var(--cite-secondary);\n font-size: 12.5px;\n}\n\n.cite-workbench .cite-card :is(.cite-form-note, .cite-metadata-note, .cite-export-sample) {\n margin-block-start: 10px;\n}\n\n.cite-workbench .cite-provenance > summary {\n font-weight: 600;\n cursor: pointer;\n}\n\n.cite-workbench .cite-provenance[open] > summary {\n margin-block-end: 8px;\n}\n\n.cite-workbench .cite-conflict {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n}\n\n.cite-workbench .cite-plain-list > li {\n padding-block: 8px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-plain-list > li:last-child {\n border-block-end: 0;\n padding-block-end: 0;\n}\n\n.cite-workbench .cite-preview-row {\n display: flex;\n align-items: flex-start;\n gap: 9px;\n}\n\n.cite-workbench .cite-preview-content {\n min-inline-size: 0;\n flex: 1 1 auto;\n}\n\n.cite-workbench .cite-preview-meta {\n display: block;\n color: var(--cite-secondary);\n font-size: 12px;\n}\n\n.cite-workbench .cite-preview-row .cite-chips {\n margin-block-start: 4px;\n}\n\n.cite-workbench :is(.cite-result-row, .cite-message-body, .cite-job-header) {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n\n.cite-workbench .cite-download {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n min-block-size: 30px;\n padding: 4px 10px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n color: var(--cite-ink);\n background: var(--cite-base);\n text-decoration: none;\n font-size: 12px;\n font-weight: 500;\n}\n\n.cite-workbench .cite-download[data-primary=\"true\"] {\n color: var(--cite-on-primary);\n background: var(--cite-primary);\n border-color: var(--cite-primary);\n}\n\n.cite-workbench[data-dsh-style=\"pixel8bit\"] .cite-download {\n border: 2px solid #1e2826;\n border-radius: 0px !important;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n.cite-workbench .cite-feedback {\n flex: 0 0 auto;\n max-block-size: 33%;\n overflow: auto;\n padding: 6px 12px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-feedback .cite-message {\n align-items: center;\n margin: 0;\n padding: 4px 8px;\n}\n\n.cite-workbench .cite-message > div {\n flex: 1;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-job {\n font-size: 12px;\n}\n\n.cite-workbench .cite-job p {\n margin: 0;\n}\n\n.cite-workbench .cite-job > progress {\n display: block;\n inline-size: 100%;\n block-size: 8px;\n}\n\n.cite-workbench .cite-job summary {\n width: fit-content;\n cursor: pointer;\n color: var(--cite-accent);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .cite-workbench :is(.cite-subpage, .cite-inspector-scroll) {\n opacity: 1;\n translate: 0px 0px;\n transition: opacity 180ms var(--dsh-ease-out, ease-out), translate 200ms var(--dsh-ease-out, ease-out);\n }\n\n @starting-style {\n .cite-workbench :is(.cite-subpage, .cite-inspector-scroll) {\n opacity: 0;\n translate: 0px 4px;\n }\n }\n\n @media (hover: hover) {\n .cite-workbench .cite-reference-row {\n translate: 0px 0px;\n transition: background-color 140ms var(--dsh-ease-out, ease-out), translate 180ms var(--dsh-ease-out, ease-out);\n }\n\n .cite-workbench:not([data-dsh-style=\"pixel8bit\"]) .cite-reference-row:hover {\n translate: 2px 0px;\n }\n }\n}\n\n@media (hover: hover) {\n .cite-workbench .w-tabs > button:hover {\n color: var(--cite-ink);\n }\n\n .cite-workbench :is(.cite-filter, .cite-download):hover {\n background: var(--cite-hover);\n }\n\n .cite-workbench .cite-download[data-primary=\"true\"]:hover {\n background: var(--dsw-alias-button-primary-hover, var(--cite-primary));\n }\n}\n\n@container cite-workbench (max-width: 860px) {\n .cite-workbench .cite-library {\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: auto minmax(0, 1fr);\n }\n\n .cite-workbench .cite-rail {\n overflow: visible;\n padding: 8px 10px;\n border-inline-end: 0;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n }\n\n .cite-workbench .cite-style-box {\n display: grid;\n grid-template-columns: auto minmax(120px, 1fr);\n align-items: center;\n gap: 8px;\n padding: 0;\n margin: 0 0 6px;\n border: 0;\n box-shadow: none;\n background: transparent;\n }\n\n .cite-workbench .cite-style-box .cite-label {\n margin: 0;\n }\n\n .cite-workbench .cite-filters {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .cite-workbench .cite-filters > h2,\n .cite-workbench .cite-library[data-open=\"false\"] .cite-inspector,\n .cite-workbench .cite-library[data-open=\"true\"] :is(.cite-rail, .cite-list) {\n display: none;\n }\n\n .cite-workbench .cite-filter {\n font-size: 11.5px;\n }\n\n .cite-workbench .cite-list {\n border-inline-end: 0;\n }\n\n .cite-workbench .cite-library[data-open=\"true\"] .cite-inspector {\n grid-row: 1 / -1;\n }\n\n .cite-workbench .cite-back {\n display: inline-flex;\n align-self: flex-start;\n margin: 5px 8px;\n }\n\n .cite-workbench .cite-inspector-bar {\n padding-inline: 10px;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n }\n\n .cite-workbench .cite-inspector-scroll {\n padding-inline: 12px;\n }\n}\n\n@container cite-workbench (max-width: 660px) {\n .cite-workbench .cite-shell {\n grid-template:\n \"brand import\" auto\n \"tabs tabs\" auto\n \"panel panel\" minmax(0, 1fr)\n / minmax(0, 1fr) max-content;\n }\n\n .cite-workbench .w-tabs {\n justify-self: stretch;\n margin: 0 10px 7px;\n }\n\n .cite-workbench .w-tabs > button {\n flex: 1 1 auto;\n padding-inline: 6px;\n min-block-size: 32px;\n }\n\n .cite-workbench .cite-subpage {\n padding: 15px 12px 24px;\n }\n}\n\n@container cite-workbench (max-width: 420px) {\n .cite-workbench :is(.cite-metadata, .cite-form-grid) {\n grid-template-columns: minmax(0, 1fr);\n }\n\n .cite-workbench .cite-card {\n padding: 10px;\n }\n}\n";
|
|
1584
|
+
function CiteButton({ className = '', children, variant = 'outline', icon, spinning = false, type = 'button', ...props }) {
|
|
1585
|
+
const P = hostPrimitives();
|
|
1586
|
+
const mappedVariant = variant === 'danger' ? 'ghost' : variant;
|
|
1587
|
+
const classes = [
|
|
1588
|
+
'cite-button',
|
|
1589
|
+
variant === 'primary' && 'cite-button-primary',
|
|
1590
|
+
variant === 'danger' && 'cite-button-danger',
|
|
1591
|
+
className,
|
|
1592
|
+
].filter(Boolean).join(' ');
|
|
1593
|
+
return h(P.Button, {
|
|
1594
|
+
type,
|
|
1595
|
+
...props,
|
|
1596
|
+
'aria-busy': spinning ? 'true' : props['aria-busy'],
|
|
1597
|
+
className: classes,
|
|
1598
|
+
variant: mappedVariant,
|
|
1599
|
+
size: 'sm',
|
|
1600
|
+
icon: icon ? h(W.Icon, { name: icon, size: 15, spinning }) : undefined,
|
|
1601
|
+
}, children);
|
|
632
1602
|
}
|
|
633
1603
|
|
|
634
1604
|
function CiteIconButton({ label, className = '', ...props }) {
|
|
635
1605
|
return h(CiteButton, {
|
|
636
|
-
...props,
|
|
637
|
-
'
|
|
1606
|
+
...props,
|
|
1607
|
+
variant: 'ghost',
|
|
1608
|
+
className: ('cite-icon-button ' + className).trim(),
|
|
1609
|
+
'aria-label': label,
|
|
1610
|
+
title: label,
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
function CiteInput({ className = '', icon, ...props }) {
|
|
1615
|
+
const P = hostPrimitives();
|
|
1616
|
+
return h(P.Input, {
|
|
1617
|
+
...props,
|
|
1618
|
+
className: ('cite-input-wrap ' + className).trim(),
|
|
1619
|
+
icon: icon ? h(W.Icon, { name: icon, size: 15 }) : undefined,
|
|
1620
|
+
});
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
function CiteCheckbox({ label, hiddenLabel = false, checked, disabled, onChange, className = '', title, ...props }) {
|
|
1624
|
+
const P = hostPrimitives();
|
|
1625
|
+
return h(P.Checkbox, {
|
|
1626
|
+
...props,
|
|
1627
|
+
checked: Boolean(checked),
|
|
1628
|
+
disabled,
|
|
1629
|
+
label,
|
|
1630
|
+
title: title || (hiddenLabel && typeof label === 'string' ? label : undefined),
|
|
1631
|
+
className: ['cite-checkbox', hiddenLabel && 'dsh-checkbox-icon', className].filter(Boolean).join(' '),
|
|
1632
|
+
onChange: next => onChange?.(typeof next === 'boolean' ? next : Boolean(next?.target?.checked)),
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
function CiteSegmented({ id, label, value, options, onChange, disabled = false, className = '' }) {
|
|
1637
|
+
const P = hostPrimitives();
|
|
1638
|
+
return h(P.SegmentedControl, {
|
|
1639
|
+
id,
|
|
1640
|
+
label,
|
|
1641
|
+
value,
|
|
1642
|
+
options,
|
|
1643
|
+
disabled,
|
|
1644
|
+
onChange,
|
|
1645
|
+
className: ('cite-segmented ' + className).trim(),
|
|
638
1646
|
});
|
|
639
1647
|
}
|
|
640
1648
|
|
|
641
1649
|
function CitePicker({ id, label, value, options, onChange, disabled }) {
|
|
642
1650
|
const [open, setOpen] = useState(false);
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
1651
|
+
const [uiStyle] = useDshStyle(React);
|
|
1652
|
+
const P = hostPrimitives();
|
|
1653
|
+
const current = options.find(option => option.id === value) || options[0];
|
|
1654
|
+
return h('div', { className: 'cite-picker-wrap', 'data-window-drag-exclude': '' },
|
|
1655
|
+
h(P.Menu, {
|
|
1656
|
+
open: Boolean(open && !disabled),
|
|
1657
|
+
dshStyle: uiStyle,
|
|
1658
|
+
portal: !P.isFallback,
|
|
1659
|
+
compact: true,
|
|
1660
|
+
autoFocus: true,
|
|
1661
|
+
minWidthFromAnchor: true,
|
|
1662
|
+
className: 'cite-picker',
|
|
1663
|
+
anchor: h(CiteButton, {
|
|
1664
|
+
id,
|
|
1665
|
+
disabled,
|
|
1666
|
+
className: 'cite-picker-button',
|
|
1667
|
+
'aria-label': label + ' · ' + (current?.label || ''),
|
|
1668
|
+
'aria-haspopup': 'menu',
|
|
1669
|
+
'aria-expanded': Boolean(open && !disabled),
|
|
1670
|
+
onClick: () => setOpen(prev => !prev),
|
|
1671
|
+
onKeyDown: event => {
|
|
1672
|
+
if (!open && (event?.key === 'ArrowDown' || event?.key === 'ArrowUp')) {
|
|
1673
|
+
event.preventDefault?.();
|
|
1674
|
+
setOpen(true);
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
}, h('span', { ref: open ? createOverlaySyncRef(uiStyle) : undefined }, current?.label || ''), h(W.Icon, { name: 'down', size: 13 })),
|
|
1678
|
+
items: options,
|
|
1679
|
+
selectedId: value,
|
|
1680
|
+
onClose: () => setOpen(false),
|
|
1681
|
+
onSelect: nextId => { setOpen(false); onChange(nextId); },
|
|
1682
|
+
}),
|
|
1683
|
+
);
|
|
668
1684
|
}
|
|
669
1685
|
|
|
670
1686
|
const citationStyles = [
|
|
@@ -674,7 +1690,7 @@ const citationStyles = [
|
|
|
674
1690
|
{ id: 'chicago', label: 'Chicago' },
|
|
675
1691
|
];
|
|
676
1692
|
|
|
677
|
-
const styleLabel = id => citationStyles.find(option => option.id === id)
|
|
1693
|
+
const styleLabel = id => citationStyles.find(option => option.id === id)?.label || id;
|
|
678
1694
|
const authorName = author => author.name || [author.family, author.given].filter(Boolean).join(' ');
|
|
679
1695
|
const authors = work => work.authors.map(authorName).join(', ');
|
|
680
1696
|
|
|
@@ -705,7 +1721,7 @@ function CiteChip({ tone = '', children, ...props }) {
|
|
|
705
1721
|
}
|
|
706
1722
|
|
|
707
1723
|
function CiteCard({ title, actions, children, className = '' }) {
|
|
708
|
-
return h('section', { className: ('cite-card ' + className).trim() },
|
|
1724
|
+
return h('section', { className: ('cite-card ' + className).trim(), 'data-dsh-card': '' },
|
|
709
1725
|
h('header', { className: 'cite-card-header' }, h('h3', null, title), actions),
|
|
710
1726
|
children,
|
|
711
1727
|
);
|
|
@@ -714,7 +1730,7 @@ function CiteCard({ title, actions, children, className = '' }) {
|
|
|
714
1730
|
function CiteSubpage({ title, description, children }) {
|
|
715
1731
|
return h('div', { className: 'cite-subpage' },
|
|
716
1732
|
h('div', { className: 'cite-subpage-inner' },
|
|
717
|
-
h('h2',
|
|
1733
|
+
h('h2', { 'data-dsh-editorial-heading': '' }, title),
|
|
718
1734
|
description ? h('p', { className: 'cite-description' }, description) : null,
|
|
719
1735
|
children,
|
|
720
1736
|
),
|
|
@@ -798,7 +1814,7 @@ function CiteImport({
|
|
|
798
1814
|
t, locked, kind, text, label, preview, chosen, dirty, conflict,
|
|
799
1815
|
changeImport, upload, onPreview, onChoose, onRetry, onSave, onBack,
|
|
800
1816
|
}) {
|
|
801
|
-
const id = React.useId();
|
|
1817
|
+
const id = typeof React.useId === 'function' ? React.useId() : 'cite-import';
|
|
802
1818
|
const file = useRef(null);
|
|
803
1819
|
const inputLabel = t('DOI / BibTeX 输入', 'DOI / BibTeX input');
|
|
804
1820
|
const noInput = !text.trim();
|
|
@@ -811,23 +1827,33 @@ function CiteImport({
|
|
|
811
1827
|
h(CiteCard, {
|
|
812
1828
|
title: t('批量输入', 'Batch input'),
|
|
813
1829
|
actions: h('div', { className: 'cite-actions' },
|
|
814
|
-
h(CiteButton, { icon: 'upload', disabled: locked, onClick: () => file.current
|
|
1830
|
+
h(CiteButton, { icon: 'upload', disabled: locked, onClick: () => file.current?.click() }, t('上传 .bib', 'Upload .bib')),
|
|
815
1831
|
h(CiteButton, { variant: 'primary', type: 'submit', icon: 'search', disabled: locked || noInput || conflict }, t('本地预览', 'Local preview')),
|
|
816
1832
|
),
|
|
817
1833
|
},
|
|
818
1834
|
h('div', { className: 'cite-form-grid' },
|
|
819
1835
|
h('div', null,
|
|
820
|
-
h('
|
|
821
|
-
h(
|
|
822
|
-
id: id + '-kind',
|
|
823
|
-
|
|
1836
|
+
h('span', { className: 'cite-label' }, t('输入类型', 'Input type')),
|
|
1837
|
+
h(CiteSegmented, {
|
|
1838
|
+
id: id + '-kind',
|
|
1839
|
+
label: t('输入类型', 'Input type'),
|
|
1840
|
+
value: kind,
|
|
1841
|
+
disabled: locked,
|
|
1842
|
+
options: [
|
|
1843
|
+
{ value: 'doi', label: t('DOI 列表', 'DOI list') },
|
|
1844
|
+
{ value: 'bibtex', label: 'BibTeX / BibLaTeX' },
|
|
1845
|
+
],
|
|
824
1846
|
onChange: value => changeImport({ kind: value }),
|
|
825
1847
|
}),
|
|
826
1848
|
),
|
|
827
1849
|
h('div', null,
|
|
828
1850
|
h('label', { className: 'cite-label', htmlFor: id + '-source' }, t('来源名称(可选)', 'Source name (optional)')),
|
|
829
|
-
h(
|
|
830
|
-
id: id + '-source',
|
|
1851
|
+
h(CiteInput, {
|
|
1852
|
+
id: id + '-source',
|
|
1853
|
+
value: label,
|
|
1854
|
+
maxLength: 160,
|
|
1855
|
+
disabled: locked,
|
|
1856
|
+
placeholder: t('例如:开题参考文献', 'e.g. Manuscript draft'),
|
|
831
1857
|
onChange: event => changeImport({ label: event.target.value }),
|
|
832
1858
|
}),
|
|
833
1859
|
),
|
|
@@ -856,21 +1882,23 @@ function CiteImport({
|
|
|
856
1882
|
preview ? h(CiteCard, {
|
|
857
1883
|
title: t('导入预览', 'Import preview'),
|
|
858
1884
|
actions: h('div', { className: 'cite-actions' },
|
|
859
|
-
h(CiteButton, { variant: 'ghost', disabled: locked || conflict, onClick: onBack }, t('返回输入', 'Back to input')),
|
|
1885
|
+
h(CiteButton, { variant: 'ghost', icon: 'left', disabled: locked || conflict, onClick: onBack }, t('返回输入', 'Back to input')),
|
|
860
1886
|
h(CiteButton, {
|
|
861
1887
|
variant: 'primary', icon: 'check', disabled: locked || conflict || chosen.length === 0, onClick: onSave,
|
|
862
1888
|
}, t('保存所选 ', 'Save selected ') + chosen.length),
|
|
863
1889
|
),
|
|
864
1890
|
},
|
|
865
1891
|
h('p', { className: 'cite-muted', role: 'status' }, preview.label + ' · ' + t('已选 ', 'Selected ') + chosen.length + '/' + preview.rows.length),
|
|
866
|
-
h('ul', { className: 'cite-plain-list' }, preview.rows.map(row => h('li', { key: row.index },
|
|
867
|
-
h('
|
|
868
|
-
h(
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
1892
|
+
h('ul', { className: 'cite-plain-list' }, preview.rows.map(row => h('li', { key: row.index, 'data-dsh-row': '' },
|
|
1893
|
+
h('div', { className: 'cite-preview-row' },
|
|
1894
|
+
h(CiteCheckbox, {
|
|
1895
|
+
checked: chosenRows.has(row.index),
|
|
1896
|
+
disabled: locked || !!row.error || !!row.duplicate,
|
|
1897
|
+
hiddenLabel: true,
|
|
1898
|
+
label: t('保存预览条目 ', 'Save preview entry ') + (row.index + 1),
|
|
1899
|
+
onChange: checked => onChoose(checked ? [...chosen, row.index] : chosen.filter(index => index !== row.index)),
|
|
872
1900
|
}),
|
|
873
|
-
h('span',
|
|
1901
|
+
h('span', { className: 'cite-preview-content' },
|
|
874
1902
|
h('strong', null, row.work?.title || row.work?.doi || row.key),
|
|
875
1903
|
row.work ? h('span', { className: 'cite-preview-meta' }, [authors(row.work), row.work.year, row.work.doi].filter(Boolean).join(' · ')) : null,
|
|
876
1904
|
h('span', { className: 'cite-chips' },
|
|
@@ -888,7 +1916,7 @@ function CiteImport({
|
|
|
888
1916
|
}
|
|
889
1917
|
|
|
890
1918
|
function CiteCheck({ t, lang, text, report, onReport, onChange }) {
|
|
891
|
-
const id = React.useId();
|
|
1919
|
+
const id = typeof React.useId === 'function' ? React.useId() : 'cite-check';
|
|
892
1920
|
const request = useRef(null);
|
|
893
1921
|
const [running, setRunning] = useState(false);
|
|
894
1922
|
const [error, setError] = useState('');
|
|
@@ -936,7 +1964,7 @@ function CiteCheck({ t, lang, text, report, onReport, onChange }) {
|
|
|
936
1964
|
h('form', { onSubmit: submit },
|
|
937
1965
|
h(CiteCard, {
|
|
938
1966
|
title: t('核查输入', 'Text to check'),
|
|
939
|
-
actions: running ? h(CiteButton, { onClick: cancel }, t('取消核查', 'Cancel check'))
|
|
1967
|
+
actions: running ? h(CiteButton, { icon: 'close', onClick: cancel }, t('取消核查', 'Cancel check'))
|
|
940
1968
|
: h(CiteButton, {
|
|
941
1969
|
variant: 'primary', type: 'submit', icon: 'check', disabled: !text.trim(),
|
|
942
1970
|
}, t('核查 DOI', 'Check DOIs')),
|
|
@@ -959,7 +1987,7 @@ function CiteCheck({ t, lang, text, report, onReport, onChange }) {
|
|
|
959
1987
|
? t('共 ' + report.count + ' 个 DOI,查到 ' + pass + ' 个。',
|
|
960
1988
|
'Found ' + pass + ' of ' + report.count + ' DOIs.')
|
|
961
1989
|
: t('输入中未提取到 DOI。', 'No DOIs were found in the input.')),
|
|
962
|
-
h('ul', { className: 'cite-plain-list' }, report.results.map(row => h('li', { key: row.doi, className: 'cite-result-row' },
|
|
1990
|
+
h('ul', { className: 'cite-plain-list' }, report.results.map(row => h('li', { key: row.doi, className: 'cite-result-row', 'data-dsh-row': '' },
|
|
963
1991
|
h('div', null, h('code', null, row.doi),
|
|
964
1992
|
h('p', { className: 'cite-muted' }, row.ok ? row.title || t('未提供标题', 'Title unavailable') : t(row.error, row.errorEn)),
|
|
965
1993
|
),
|
|
@@ -970,16 +1998,17 @@ function CiteCheck({ t, lang, text, report, onReport, onChange }) {
|
|
|
970
1998
|
}
|
|
971
1999
|
|
|
972
2000
|
function CiteExport({ t, lang, entries, selected, style, setStyle, revision, scope, onScope }) {
|
|
973
|
-
const id = React.useId();
|
|
2001
|
+
const id = typeof React.useId === 'function' ? React.useId() : 'cite-export';
|
|
974
2002
|
const selectedIds = new Set(selected);
|
|
975
2003
|
const picked = entries.filter(entry => selectedIds.has(entry.id));
|
|
976
|
-
const
|
|
2004
|
+
const effectiveScope = scope === 'selected' && picked.length ? 'selected' : 'all';
|
|
2005
|
+
const scoped = effectiveScope === 'selected' ? picked : entries;
|
|
977
2006
|
const preview = useCitationOutput({ kind: 'references', id: scoped[0]?.id, style, lang, revision });
|
|
978
2007
|
const checks = ['title', 'authors', 'year'].map(field => ({
|
|
979
2008
|
field, missing: scoped.filter(entry => entry.warnings.includes('missing_' + field)).length,
|
|
980
2009
|
}));
|
|
981
2010
|
const hasMissing = checks.some(check => check.missing > 0);
|
|
982
|
-
const scopedIds =
|
|
2011
|
+
const scopedIds = effectiveScope === 'selected' ? picked.map(entry => entry.id) : undefined;
|
|
983
2012
|
const items = [
|
|
984
2013
|
{ kind: 'references', label: t('参考文献文本', 'Reference text'), detail: styleLabel(style) + ' · .txt', ids: scopedIds },
|
|
985
2014
|
{ kind: 'bibtex', label: 'BibTeX', detail: '.bib', ids: scopedIds },
|
|
@@ -992,15 +2021,18 @@ function CiteExport({ t, lang, entries, selected, style, setStyle, revision, sco
|
|
|
992
2021
|
},
|
|
993
2022
|
h(CiteCard, { title: t('导出前检查', 'Before you export') },
|
|
994
2023
|
h('div', { className: 'cite-form-grid' },
|
|
995
|
-
h('
|
|
996
|
-
h('
|
|
997
|
-
h(
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
2024
|
+
h('div', null,
|
|
2025
|
+
h('span', { className: 'cite-label' }, t('导出范围', 'Export scope')),
|
|
2026
|
+
h(CiteSegmented, {
|
|
2027
|
+
id: id + '-scope',
|
|
2028
|
+
label: t('导出范围', 'Export scope'),
|
|
2029
|
+
value: effectiveScope,
|
|
2030
|
+
options: [
|
|
2031
|
+
{ value: 'all', label: t('全部文献', 'Entire library') + ' · ' + entries.length },
|
|
2032
|
+
{ value: 'selected', label: t('仅所选', 'Selected only') + ' · ' + picked.length, disabled: !picked.length },
|
|
2033
|
+
],
|
|
2034
|
+
onChange: onScope,
|
|
2035
|
+
}),
|
|
1004
2036
|
),
|
|
1005
2037
|
h('div', null,
|
|
1006
2038
|
h('label', { className: 'cite-label', htmlFor: id + '-style' }, t('引文格式', 'Citation format')),
|
|
@@ -1022,11 +2054,11 @@ function CiteExport({ t, lang, entries, selected, style, setStyle, revision, sco
|
|
|
1022
2054
|
h(CiteCard, { title: t('下载', 'Downloads') },
|
|
1023
2055
|
h('ul', { className: 'cite-plain-list cite-downloads' }, items.map(item => {
|
|
1024
2056
|
const available = item.kind === 'backup' ? entries.length > 0 : scoped.length > 0;
|
|
1025
|
-
return h('li', { key: item.kind, className: 'cite-result-row' },
|
|
2057
|
+
return h('li', { key: item.kind, className: 'cite-result-row', 'data-dsh-row': '' },
|
|
1026
2058
|
h('div', null, h('strong', null, item.label), h('p', { className: 'cite-muted' }, item.detail)),
|
|
1027
2059
|
available ? h('a', {
|
|
1028
2060
|
className: 'cite-download',
|
|
1029
|
-
'data-primary': item.kind === 'backup',
|
|
2061
|
+
'data-primary': String(item.kind === 'backup'),
|
|
1030
2062
|
href: download(item.kind, style, lang, item.ids),
|
|
1031
2063
|
download: '',
|
|
1032
2064
|
'aria-label': t('下载 ', 'Download ') + item.label,
|
|
@@ -1042,13 +2074,14 @@ function referenceTitle(entry, t) {
|
|
|
1042
2074
|
}
|
|
1043
2075
|
|
|
1044
2076
|
function CiteLibrary({
|
|
1045
|
-
entries, sources, revision, t, lang, loading, loaded, locked,
|
|
2077
|
+
entries, sources, revision, t, lang, uiStyle, loading, loaded, locked, running,
|
|
2078
|
+
selected, setSelected, style, setStyle, copiedKey,
|
|
1046
2079
|
filter, search, limit, activeId, setActiveId, onSearch, onFilter, onMore, onRefresh, onImport, enrich, copy,
|
|
1047
2080
|
}) {
|
|
1048
2081
|
const [openedId, setOpenedId] = useState('');
|
|
1049
2082
|
const lastRow = useRef(null);
|
|
1050
2083
|
const root = useRef(null);
|
|
1051
|
-
const pickerId = React.useId();
|
|
2084
|
+
const pickerId = typeof React.useId === 'function' ? React.useId() : 'cite-style-picker';
|
|
1052
2085
|
const { indexed, missing, enriched } = useMemo(() => {
|
|
1053
2086
|
const indexed = entries.map(entry => {
|
|
1054
2087
|
const byline = authors(entry.work);
|
|
@@ -1085,12 +2118,14 @@ function CiteLibrary({
|
|
|
1085
2118
|
useEffect(() => {
|
|
1086
2119
|
if (!open) return;
|
|
1087
2120
|
const back = root.current?.querySelector('.cite-back');
|
|
1088
|
-
if (back?.getClientRects().length) back.focus({ preventScroll: true });
|
|
2121
|
+
if (back?.getClientRects?.().length) back.focus({ preventScroll: true });
|
|
1089
2122
|
}, [open, openedId]);
|
|
1090
2123
|
|
|
1091
2124
|
function back() {
|
|
1092
2125
|
setOpenedId('');
|
|
1093
|
-
|
|
2126
|
+
if (typeof requestAnimationFrame === 'function') {
|
|
2127
|
+
requestAnimationFrame(() => lastRow.current?.focus({ preventScroll: true }));
|
|
2128
|
+
}
|
|
1094
2129
|
}
|
|
1095
2130
|
|
|
1096
2131
|
function changeFilter(value) {
|
|
@@ -1103,9 +2138,9 @@ function CiteLibrary({
|
|
|
1103
2138
|
setOpenedId('');
|
|
1104
2139
|
}
|
|
1105
2140
|
|
|
1106
|
-
return h('div', { ref: root, className: 'cite-library', 'data-open': open },
|
|
2141
|
+
return h('div', { ref: root, className: 'cite-library', 'data-open': String(open) },
|
|
1107
2142
|
h('aside', { className: 'cite-rail', 'aria-label': t('文献库筛选', 'Library filters') },
|
|
1108
|
-
h('div', { className: 'cite-style-box' },
|
|
2143
|
+
h('div', { className: 'cite-style-box', 'data-dsh-card': '' },
|
|
1109
2144
|
h('label', { className: 'cite-label', htmlFor: pickerId }, t('引文格式', 'Citation format')),
|
|
1110
2145
|
h(CitePicker, { id: pickerId, label: t('引文格式', 'Citation format'), value: style, options: citationStyles, onChange: setStyle }),
|
|
1111
2146
|
),
|
|
@@ -1119,13 +2154,22 @@ function CiteLibrary({
|
|
|
1119
2154
|
),
|
|
1120
2155
|
h('section', { className: 'cite-list', 'aria-label': t('文献列表', 'Reference list'), 'aria-busy': loading },
|
|
1121
2156
|
h('div', { className: 'cite-searchbar' },
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
2157
|
+
h(CiteInput, {
|
|
2158
|
+
className: 'cite-search',
|
|
2159
|
+
type: 'search',
|
|
2160
|
+
'aria-label': searchLabel,
|
|
2161
|
+
placeholder: searchLabel + '…',
|
|
2162
|
+
value: search,
|
|
2163
|
+
onChange: changeSearch,
|
|
2164
|
+
icon: 'search',
|
|
2165
|
+
}),
|
|
2166
|
+
h(CiteIconButton, {
|
|
2167
|
+
icon: 'refresh',
|
|
2168
|
+
spinning: Boolean(loading || running),
|
|
2169
|
+
label: t('刷新文献库', 'Refresh library'),
|
|
2170
|
+
disabled: locked,
|
|
2171
|
+
onClick: onRefresh,
|
|
2172
|
+
}),
|
|
1129
2173
|
),
|
|
1130
2174
|
entries.length ? h('div', { className: 'cite-selection' },
|
|
1131
2175
|
h('span', { className: 'cite-muted', role: 'status' },
|
|
@@ -1136,7 +2180,7 @@ function CiteLibrary({
|
|
|
1136
2180
|
variant: 'ghost', disabled: locked || !visible.length,
|
|
1137
2181
|
onClick: () => setSelected(visible.slice(0, 100).map(({ entry }) => entry.id)),
|
|
1138
2182
|
}, t('选择可见项', 'Select visible')),
|
|
1139
|
-
selected.length ? h(CiteButton, { variant: 'ghost', disabled: locked, onClick: () => setSelected([]) },
|
|
2183
|
+
selected.length ? h(CiteButton, { variant: 'ghost', icon: 'close', disabled: locked, onClick: () => setSelected([]) },
|
|
1140
2184
|
t('清空选择', 'Clear selection'),
|
|
1141
2185
|
) : null,
|
|
1142
2186
|
),
|
|
@@ -1145,15 +2189,15 @@ function CiteLibrary({
|
|
|
1145
2189
|
loading ? h('p', { className: 'cite-list-loading', role: 'status' }, t('正在读取文献库…', 'Loading library…'))
|
|
1146
2190
|
: !loaded ? h(W.Empty, {
|
|
1147
2191
|
title: t('暂时无法读取文献库', 'Could not load the library'),
|
|
1148
|
-
action: h(CiteButton, { disabled: locked, onClick: onRefresh }, t('重新加载', 'Reload')),
|
|
2192
|
+
action: h(CiteButton, { icon: 'refresh', disabled: locked, onClick: onRefresh }, t('重新加载', 'Reload')),
|
|
1149
2193
|
})
|
|
1150
2194
|
: entries.length === 0 ? h(W.Empty, {
|
|
1151
2195
|
icon: 'book', title: t('文献库为空', 'Your library is empty'),
|
|
1152
|
-
action: h(CiteButton, { variant: 'primary', onClick: onImport }, t('导入文献', 'Import references')),
|
|
2196
|
+
action: h(CiteButton, { variant: 'primary', icon: 'plus', onClick: onImport }, t('导入文献', 'Import references')),
|
|
1153
2197
|
}, t('从 DOI 列表或 BibTeX 开始。', 'Start with a DOI list or a BibTeX file.'))
|
|
1154
2198
|
: matches.length === 0 ? h(W.Empty, {
|
|
1155
2199
|
icon: 'search', title: t('没有匹配的文献', 'No matching references'),
|
|
1156
|
-
action: h(CiteButton, { onClick: () => { changeFilter('all'); onSearch(''); } }, t('清空筛选', 'Clear filters')),
|
|
2200
|
+
action: h(CiteButton, { icon: 'close', onClick: () => { changeFilter('all'); onSearch(''); } }, t('清空筛选', 'Clear filters')),
|
|
1157
2201
|
}) : h('ul', { className: 'cite-reference-list' }, visible.map(({ entry, byline }) => h(CiteReferenceRow, {
|
|
1158
2202
|
key: entry.id, entry, byline, active: entry.id === active?.id, checked: selectedIds.has(entry.id),
|
|
1159
2203
|
disabled: locked || (selected.length >= 100 && !selectedIds.has(entry.id)), t,
|
|
@@ -1169,13 +2213,15 @@ function CiteLibrary({
|
|
|
1169
2213
|
) : null,
|
|
1170
2214
|
),
|
|
1171
2215
|
selected.length ? h('div', { className: 'cite-selection-footer' }, h(CiteButton, {
|
|
1172
|
-
icon: 'refresh', disabled: locked || !canEnrichSelected, onClick: () => enrich(selected),
|
|
2216
|
+
icon: 'refresh', spinning: Boolean(running), disabled: locked || !canEnrichSelected, onClick: () => enrich(selected),
|
|
1173
2217
|
}, t('从 Crossref 补全所选', 'Enrich selection from Crossref'))) : null,
|
|
1174
2218
|
),
|
|
1175
2219
|
h('section', { className: 'cite-inspector', 'aria-label': t('文献详情', 'Reference details') },
|
|
1176
2220
|
open ? h(CiteButton, { className: 'cite-back', icon: 'left', variant: 'ghost', onClick: back }, t('返回文献列表', 'Back to references')) : null,
|
|
1177
2221
|
active
|
|
1178
|
-
? h(CiteInspector, {
|
|
2222
|
+
? h(CiteInspector, {
|
|
2223
|
+
key: active.id, entry: active, sources, style, uiStyle, lang, revision, locked, running, copiedKey, enrich, copy, t,
|
|
2224
|
+
})
|
|
1179
2225
|
: h('p', { className: 'cite-inspector-empty' }, t('选择文献以查看引文与元数据。', 'Select a reference to view its citation and metadata.')),
|
|
1180
2226
|
),
|
|
1181
2227
|
);
|
|
@@ -1185,10 +2231,18 @@ function CiteReferenceRow({ entry, byline, active, checked, disabled, t, onOpen,
|
|
|
1185
2231
|
const title = referenceTitle(entry, t);
|
|
1186
2232
|
const { work, bibKey, warnings, crossref } = entry;
|
|
1187
2233
|
const meta = [byline, work.year, work.containerTitle].filter(Boolean).join(' · ');
|
|
1188
|
-
return h('li', {
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
2234
|
+
return h('li', {
|
|
2235
|
+
className: 'cite-reference-row',
|
|
2236
|
+
'data-dsh-row': '',
|
|
2237
|
+
'data-selected': String(Boolean(active)),
|
|
2238
|
+
'data-active': String(Boolean(active)),
|
|
2239
|
+
},
|
|
2240
|
+
h('div', { className: 'cite-reference-check' }, h(CiteCheckbox, {
|
|
2241
|
+
checked,
|
|
2242
|
+
disabled,
|
|
2243
|
+
hiddenLabel: true,
|
|
2244
|
+
label: t('选择文献 ', 'Select reference ') + title,
|
|
2245
|
+
onChange: onSelect,
|
|
1192
2246
|
})),
|
|
1193
2247
|
h('button', { type: 'button', className: 'cite-reference-button', 'aria-pressed': active, onClick: onOpen },
|
|
1194
2248
|
h('strong', null, title),
|
|
@@ -1203,10 +2257,12 @@ function CiteReferenceRow({ entry, byline, active, checked, disabled, t, onOpen,
|
|
|
1203
2257
|
);
|
|
1204
2258
|
}
|
|
1205
2259
|
|
|
1206
|
-
function CiteInspector({ entry, sources, style, lang, revision, locked, enrich, copy, t }) {
|
|
2260
|
+
function CiteInspector({ entry, sources, style, uiStyle, lang, revision, locked, running, copiedKey, enrich, copy, t }) {
|
|
2261
|
+
const [sourceOpen, setSourceOpen] = useState(false);
|
|
1207
2262
|
const { id, work, bibKey, warnings, crossref } = entry;
|
|
1208
2263
|
const citation = useCitationOutput({ kind: 'references', id, style, lang, revision });
|
|
1209
2264
|
const bibtex = useCitationOutput({ kind: 'bibtex', id, lang, revision });
|
|
2265
|
+
const matchedSources = entry.sourceIds.map(sourceId => sources.find(source => source.id === sourceId)).filter(Boolean);
|
|
1210
2266
|
const sourceLabels = entry.sourceIds.map(sourceId => sources.find(source => source.id === sourceId)?.label || sourceId);
|
|
1211
2267
|
const citationLabel = styleLabel(style);
|
|
1212
2268
|
const volumePages = [work.year, work.volume && t('卷 ', 'Vol. ') + work.volume,
|
|
@@ -1237,15 +2293,31 @@ function CiteInspector({ entry, sources, style, lang, revision, locked, enrich,
|
|
|
1237
2293
|
),
|
|
1238
2294
|
h('div', { className: 'cite-actions' },
|
|
1239
2295
|
h(CiteButton, {
|
|
1240
|
-
className: 'cite-crossref',
|
|
1241
|
-
|
|
2296
|
+
className: 'cite-crossref',
|
|
2297
|
+
icon: 'refresh',
|
|
2298
|
+
spinning: Boolean(running),
|
|
2299
|
+
disabled: locked || !work.doi,
|
|
2300
|
+
title: crossrefHint,
|
|
2301
|
+
onClick: () => enrich([id]),
|
|
1242
2302
|
}, t('Crossref 补全', 'Enrich from Crossref')),
|
|
1243
2303
|
h(CiteButton, {
|
|
1244
|
-
icon:
|
|
1245
|
-
|
|
2304
|
+
icon: copiedKey === 'citation' ? 'check' : 'copy',
|
|
2305
|
+
'data-copied': copiedKey === 'citation' ? 'true' : undefined,
|
|
2306
|
+
disabled: !citation.content,
|
|
2307
|
+
onClick: () => copy(citation.content, t('引文', 'citation'), 'citation'),
|
|
2308
|
+
}, copiedKey === 'citation' ? t('已复制引文', 'Copied citation') : t('复制引文', 'Copy citation')),
|
|
1246
2309
|
h(CiteButton, {
|
|
1247
|
-
icon: '
|
|
1248
|
-
|
|
2310
|
+
icon: copiedKey === 'bibtex' ? 'check' : 'copy',
|
|
2311
|
+
'data-copied': copiedKey === 'bibtex' ? 'true' : undefined,
|
|
2312
|
+
disabled: !bibtex.content,
|
|
2313
|
+
onClick: () => copy(bibtex.content, 'BibTeX', 'bibtex'),
|
|
2314
|
+
}, copiedKey === 'bibtex' ? t('已复制 BibTeX', 'Copied BibTeX') : t('复制 BibTeX', 'Copy BibTeX')),
|
|
2315
|
+
matchedSources.length ? h(CiteButton, {
|
|
2316
|
+
variant: 'ghost',
|
|
2317
|
+
icon: 'file',
|
|
2318
|
+
'aria-haspopup': 'dialog',
|
|
2319
|
+
onClick: () => setSourceOpen(true),
|
|
2320
|
+
}, t('原始输入', 'Raw source')) : null,
|
|
1249
2321
|
),
|
|
1250
2322
|
),
|
|
1251
2323
|
h('div', { className: 'cite-inspector-scroll' },
|
|
@@ -1275,7 +2347,7 @@ function CiteInspector({ entry, sources, style, lang, revision, locked, enrich,
|
|
|
1275
2347
|
) : null,
|
|
1276
2348
|
),
|
|
1277
2349
|
h(CiteCard, { title: t('BibTeX 条目', 'BibTeX entry') }, h(CiteOutput, { output: bibtex, label: 'BibTeX', code: true, t })),
|
|
1278
|
-
h('details', { className: 'cite-card cite-provenance' },
|
|
2350
|
+
h('details', { className: 'cite-card cite-provenance', 'data-dsh-card': '' },
|
|
1279
2351
|
h('summary', null, t('来源与补全记录', 'Sources and enrichment history')),
|
|
1280
2352
|
h(CiteMetadata, { fields: provenance, t }),
|
|
1281
2353
|
crossref ? h('p', { className: 'cite-muted cite-metadata-note' },
|
|
@@ -1284,6 +2356,23 @@ function CiteInspector({ entry, sources, style, lang, revision, locked, enrich,
|
|
|
1284
2356
|
) : null,
|
|
1285
2357
|
),
|
|
1286
2358
|
),
|
|
2359
|
+
sourceOpen ? h(W.Dialog, {
|
|
2360
|
+
style: uiStyle,
|
|
2361
|
+
title: t('原始导入来源', 'Original import source'),
|
|
2362
|
+
closeLabel: t('关闭', 'Close'),
|
|
2363
|
+
onClose: () => setSourceOpen(false),
|
|
2364
|
+
footer: h(CiteButton, { onClick: () => setSourceOpen(false) }, t('完成', 'Done')),
|
|
2365
|
+
}, matchedSources.map(source => h('section', { key: source.id, className: 'cite-source-entry' },
|
|
2366
|
+
h('div', { className: 'cite-card-header' },
|
|
2367
|
+
h('strong', null, source.label || source.id),
|
|
2368
|
+
source.text ? h(CiteButton, {
|
|
2369
|
+
icon: copiedKey === 'source-' + source.id ? 'check' : 'copy',
|
|
2370
|
+
'data-copied': copiedKey === 'source-' + source.id ? 'true' : undefined,
|
|
2371
|
+
onClick: () => copy(source.text, t('原始输入', 'raw source'), 'source-' + source.id),
|
|
2372
|
+
}, copiedKey === 'source-' + source.id ? t('已复制', 'Copied') : t('复制原文', 'Copy source')) : null,
|
|
2373
|
+
),
|
|
2374
|
+
h('pre', { className: 'cite-code' }, source.text || t('无原文记录', 'No raw text recorded')),
|
|
2375
|
+
))) : null,
|
|
1287
2376
|
);
|
|
1288
2377
|
}
|
|
1289
2378
|
|
|
@@ -1295,13 +2384,6 @@ function CiteMetadata({ fields, t }) {
|
|
|
1295
2384
|
}
|
|
1296
2385
|
|
|
1297
2386
|
|
|
1298
|
-
let primitives;
|
|
1299
|
-
try {
|
|
1300
|
-
primitives = require('@deepseek-ai/dsh-client-ui-primitives');
|
|
1301
|
-
} catch {
|
|
1302
|
-
// The shared styles and standard form controls support partial hosts.
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
2387
|
const route = 'api/dsh-cite/library';
|
|
1306
2388
|
const emptyLibrary = { revision: 0, entries: [], sources: [] };
|
|
1307
2389
|
const pageSize = 50;
|
|
@@ -1352,6 +2434,7 @@ function CiteMetadata({ fields, t }) {
|
|
|
1352
2434
|
|
|
1353
2435
|
function Workbench({ locale, workbench = false } = {}) {
|
|
1354
2436
|
const [lang, setLang] = useState(() => language(locale));
|
|
2437
|
+
const [uiStyle, setUiStyle] = useDshStyle(React);
|
|
1355
2438
|
const [activeTab, setActiveTab] = useState('library');
|
|
1356
2439
|
const [library, setLibrary] = useState(null);
|
|
1357
2440
|
const [job, setJob] = useState(null);
|
|
@@ -1359,6 +2442,7 @@ function CiteMetadata({ fields, t }) {
|
|
|
1359
2442
|
const [busy, setBusy] = useState(false);
|
|
1360
2443
|
const [error, setError] = useState('');
|
|
1361
2444
|
const [notice, setNotice] = useState('');
|
|
2445
|
+
const [copiedKey, setCopiedKey] = useState('');
|
|
1362
2446
|
const [search, setSearch] = useState('');
|
|
1363
2447
|
const [filter, setFilter] = useState('all');
|
|
1364
2448
|
const [limit, setLimit] = useState(pageSize);
|
|
@@ -1371,6 +2455,7 @@ function CiteMetadata({ fields, t }) {
|
|
|
1371
2455
|
|
|
1372
2456
|
const busyRef = useRef(false);
|
|
1373
2457
|
const dirtyRef = useRef(dirty);
|
|
2458
|
+
const copyTimerRef = useRef(null);
|
|
1374
2459
|
const t = (zh, en) => lang === 'en' ? en : zh;
|
|
1375
2460
|
const jobId = job?.id;
|
|
1376
2461
|
const running = job?.state === 'running';
|
|
@@ -1383,6 +2468,9 @@ function CiteMetadata({ fields, t }) {
|
|
|
1383
2468
|
// Update protection: dsh-cite
|
|
1384
2469
|
__stardustUpdatesGuard(React, "dsh-cite", { dirty, busy: locked, retainOnClose: true });
|
|
1385
2470
|
|
|
2471
|
+
useEffect(() => () => {
|
|
2472
|
+
if (copyTimerRef.current) clearTimeout(copyTimerRef.current);
|
|
2473
|
+
}, []);
|
|
1386
2474
|
useEffect(() => {
|
|
1387
2475
|
const update = () => setLang(language(locale));
|
|
1388
2476
|
update();
|
|
@@ -1393,6 +2481,7 @@ function CiteMetadata({ fields, t }) {
|
|
|
1393
2481
|
dirtyRef.current = dirty;
|
|
1394
2482
|
}, [form, dirty]);
|
|
1395
2483
|
useEffect(() => {
|
|
2484
|
+
if (typeof window?.addEventListener !== 'function') return;
|
|
1396
2485
|
function warn(event) {
|
|
1397
2486
|
if (!dirtyRef.current) return;
|
|
1398
2487
|
event.preventDefault();
|
|
@@ -1431,7 +2520,6 @@ function CiteMetadata({ fields, t }) {
|
|
|
1431
2520
|
const next = await api({ action: 'job', job: jobId }, lang, controller.signal);
|
|
1432
2521
|
if (controller.signal.aborted) return;
|
|
1433
2522
|
if (next.state !== 'running') {
|
|
1434
|
-
// Keep the job's real result visible even if the library refresh fails.
|
|
1435
2523
|
await refresh(controller.signal).catch(err => {
|
|
1436
2524
|
if (!controller.signal.aborted) setError(err.message);
|
|
1437
2525
|
});
|
|
@@ -1514,11 +2602,16 @@ function CiteMetadata({ fields, t }) {
|
|
|
1514
2602
|
});
|
|
1515
2603
|
}
|
|
1516
2604
|
|
|
1517
|
-
async function copy(value, format) {
|
|
2605
|
+
async function copy(value, format, key = '') {
|
|
1518
2606
|
try {
|
|
1519
2607
|
await navigator.clipboard.writeText(value);
|
|
1520
2608
|
setError('');
|
|
1521
2609
|
setNotice(t('已复制' + format + '。', 'Copied ' + format + '.'));
|
|
2610
|
+
if (key) {
|
|
2611
|
+
setCopiedKey(key);
|
|
2612
|
+
if (copyTimerRef.current) clearTimeout(copyTimerRef.current);
|
|
2613
|
+
copyTimerRef.current = setTimeout(() => setCopiedKey(''), 1400);
|
|
2614
|
+
}
|
|
1522
2615
|
} catch {
|
|
1523
2616
|
setNotice('');
|
|
1524
2617
|
setError(t('无法访问剪贴板,请从预览中手动复制。', 'Clipboard access is unavailable. Copy from the preview.'));
|
|
@@ -1558,7 +2651,8 @@ function CiteMetadata({ fields, t }) {
|
|
|
1558
2651
|
break;
|
|
1559
2652
|
default:
|
|
1560
2653
|
panel = h(CiteLibrary, {
|
|
1561
|
-
t, lang, entries, sources, revision, loading, loaded: !!library, locked,
|
|
2654
|
+
t, lang, uiStyle, entries, sources, revision, loading, loaded: !!library, locked, running,
|
|
2655
|
+
selected, setSelected, style, setStyle, copiedKey,
|
|
1562
2656
|
filter, search, limit, activeId, setActiveId, onImport, enrich, copy,
|
|
1563
2657
|
onSearch: value => { setSearch(value); setActiveId(''); setLimit(pageSize); },
|
|
1564
2658
|
onFilter: value => { setFilter(value); setActiveId(''); setLimit(pageSize); },
|
|
@@ -1567,14 +2661,27 @@ function CiteMetadata({ fields, t }) {
|
|
|
1567
2661
|
});
|
|
1568
2662
|
}
|
|
1569
2663
|
|
|
1570
|
-
return h('section', {
|
|
2664
|
+
return h('section', {
|
|
2665
|
+
className: 'dshw cite-workbench',
|
|
2666
|
+
'data-main': String(Boolean(workbench)),
|
|
2667
|
+
'data-dsh-style': uiStyle,
|
|
2668
|
+
},
|
|
1571
2669
|
h(W.Styles),
|
|
1572
2670
|
h('style', null, CITE_WORKBENCH_CSS),
|
|
1573
2671
|
h('div', { className: 'cite-shell' },
|
|
1574
2672
|
h('h1', { className: 'cite-brand' }, h('span', { className: 'cite-brand-icon' }, h(W.Icon, { name: 'book', size: 15 })), 'dsh-cite'),
|
|
1575
|
-
h(
|
|
1576
|
-
|
|
1577
|
-
|
|
2673
|
+
h('div', { className: 'cite-header-actions' },
|
|
2674
|
+
h(StyleSwitcher, {
|
|
2675
|
+
style: uiStyle,
|
|
2676
|
+
onChange: setUiStyle,
|
|
2677
|
+
lang,
|
|
2678
|
+
compact: true,
|
|
2679
|
+
id: 'cite-style-switcher',
|
|
2680
|
+
}),
|
|
2681
|
+
h(CiteButton, {
|
|
2682
|
+
className: 'cite-quick-import', variant: 'primary', icon: 'plus', onClick: onImport,
|
|
2683
|
+
}, t('导入 DOI / BibTeX', 'Import DOI / BibTeX')),
|
|
2684
|
+
),
|
|
1578
2685
|
h(W.Tabs, { label: t('引文工作台', 'Citation workbench'), items: tabs, value: activeTab, onChange: setActiveTab },
|
|
1579
2686
|
error || notice || job ? h('div', { className: 'cite-feedback' },
|
|
1580
2687
|
error ? h(CiteMessage, { tone: 'error', onClose: () => setError(''), t }, error) : null,
|
|
@@ -1585,6 +2692,8 @@ function CiteMetadata({ fields, t }) {
|
|
|
1585
2692
|
}) : null,
|
|
1586
2693
|
) : null,
|
|
1587
2694
|
panel,
|
|
2695
|
+
workbench && typeof __stardustUpdatesFooter === 'function'
|
|
2696
|
+
? __stardustUpdatesFooter(React, 'dsh-cite') : null,
|
|
1588
2697
|
),
|
|
1589
2698
|
),
|
|
1590
2699
|
);
|
|
@@ -1620,9 +2729,22 @@ function CiteMetadata({ fields, t }) {
|
|
|
1620
2729
|
}, Workbench));
|
|
1621
2730
|
}
|
|
1622
2731
|
|
|
1623
|
-
return {
|
|
2732
|
+
return {
|
|
2733
|
+
inject: ['slots', 'locale'],
|
|
2734
|
+
apply,
|
|
2735
|
+
__internals: {
|
|
2736
|
+
DSH_STYLES,
|
|
2737
|
+
DSH_STYLE_STORAGE_KEY,
|
|
2738
|
+
DSH_STYLE_EVENT,
|
|
2739
|
+
DSH_DEFAULT_STYLE,
|
|
2740
|
+
normalizeDshStyle,
|
|
2741
|
+
readDshStyle,
|
|
2742
|
+
writeDshStyle,
|
|
2743
|
+
subscribeDshStyle,
|
|
2744
|
+
},
|
|
2745
|
+
};
|
|
1624
2746
|
},
|
|
1625
|
-
},{"name":"dsh-cite","version":"0.1.0","hasWorkbench":false,"packageVersion":"0.8.0","label":"引文库","labelEn":"Citations","suiteComponent":true,"sectionIds":["dsh-cite"],"iconData":"data:image/webp;base64,UklGRn5aAABXRUJQVlA4WAoAAAAQAAAA/wAA/wAAQUxQSBkZAAABz6e4bRsn0v5rp135R0QGXylJOrklAznFcOS2jSRJ/392d9tJLzPXiJgA/koVded8yHhPO+s9Gx9gx4r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FgrAQaGDz3mLem3dXmTvLBB+rynP+SVlWo4bfi4PfFrhUi92kmpdg9FwKv7YbOmr9ta59A5hDnQl2lwedVD8rolxBy2PGx5jO2pMM2hxHek3N5X6g6NVFT3lr5o/ndDgaKkpdA2Wp0civz/Q4vzTnbpaYwLrbrkzDkEOTi7Y4uC9cOKchr7IXPmxX8GqQLBkhNOkIcN38Cg0YMDfeAtzH9JIIG2R3a+f+YfMb2aYA+2gTbNuAYIQhm79Rm1zvQ622DDBP4S6gmElgXrOBtUyPYG0HoN5UgnKVoFGc6DNpt1aROxj5CvsP36FYnQkv50R62shrbdQyRdnKFVlhoyJ/8Vo3rxkqhKNuewo+TkF9IqbAZbPL5tBm7+yL2wDD4kgx9bimJxBTcWJ+4/QiJbnPUSHjZ+3R+bm3fjRNzPigR5eml9Q6FBsvEkR3DHT52Q3WmCcBaJY2+ApPYZkc7cliSLJlN8l2FlzTXsBNGJKJDH25gJzR2+q93m5lW/TAXl+qLYPc/gVQx69eK4BP/BQzxSOZp+6i2OA2oAw1SoACliAAAAAA="}));
|
|
2747
|
+
},{"name":"dsh-cite","version":"0.1.0","hasWorkbench":true,"packageVersion":"0.9.0","label":"引文库","labelEn":"Citations","suiteComponent":true,"sectionIds":["dsh-cite"],"iconData":"data:image/webp;base64,UklGRn5aAABXRUJQVlA4WAoAAAAQAAAA/wAA/wAAQUxQSBkZAAABz6e4bRsn0v5rp135R0QGXylJOrklAznFcOS2jSRJ/392d9tJLzPXiJgA/koVded8yHhPO+s9Gx9gx4rDW6TmTJCFe97HMQMUBggdvnI8gQJFSVVJjtReI4Py3d6wbTOkSdu2IyKyztbYRhtj27Zt20ZPj23btm3bnra7p3FWcP9bGRkZVZlZdfuO6D8syHaiSpcwYNwYZEmiIu+XjgC3YSTp/5+9qC1x024JKMBzeUT/ZUGyWrfSBPmZOBhJgOS7qf2mju/+33/8TxgwLkSSJEJw1oG3FYkIZzZPeCcFF9xbNe+AjfY89OjD995kYO80NR0tElHC5lzn+Ds/H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