orbcafe-ui 3.1.2 → 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -3543,12 +3543,19 @@ type OMPHFileBody = {
3543
3543
  url: string;
3544
3544
  alt?: string;
3545
3545
  }
3546
+ /** 可内嵌渲染的文档(PDF 等)。宿主保证 URL 可达;面板用 iframe 承载浏览器的原生查看器。 */
3547
+ | {
3548
+ kind: 'embed';
3549
+ url: string;
3550
+ mimeType?: string;
3551
+ caption?: string;
3552
+ }
3546
3553
  /** 文件不存在。不提供重试,只给说明。 */
3547
3554
  | {
3548
3555
  kind: 'missing';
3549
3556
  message?: string;
3550
3557
  }
3551
- /** 文件存在但本面板无法渲染(PDF、Office、压缩包等)。 */
3558
+ /** 文件存在但本面板无法渲染(Office、压缩包等)。 */
3552
3559
  | {
3553
3560
  kind: 'unsupported';
3554
3561
  message?: string;
package/dist/index.d.ts CHANGED
@@ -3543,12 +3543,19 @@ type OMPHFileBody = {
3543
3543
  url: string;
3544
3544
  alt?: string;
3545
3545
  }
3546
+ /** 可内嵌渲染的文档(PDF 等)。宿主保证 URL 可达;面板用 iframe 承载浏览器的原生查看器。 */
3547
+ | {
3548
+ kind: 'embed';
3549
+ url: string;
3550
+ mimeType?: string;
3551
+ caption?: string;
3552
+ }
3546
3553
  /** 文件不存在。不提供重试,只给说明。 */
3547
3554
  | {
3548
3555
  kind: 'missing';
3549
3556
  message?: string;
3550
3557
  }
3551
- /** 文件存在但本面板无法渲染(PDF、Office、压缩包等)。 */
3558
+ /** 文件存在但本面板无法渲染(Office、压缩包等)。 */
3552
3559
  | {
3553
3560
  kind: 'unsupported';
3554
3561
  message?: string;