@file-viewer/vue3 3.3.3 → 3.3.4

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/README.en.md CHANGED
@@ -298,6 +298,7 @@ The table below lists the real props, event channel, and customization entry for
298
298
  | Options Field | Description |
299
299
  | --- | --- |
300
300
  | `theme` | `light`, `dark`, or `system`. This takes precedence over browser `prefers-color-scheme`. |
301
+ | `locale` / `i18n` / `messages` | Bundled offline: `zh-CN`, `en-US`, `ja-JP`, `zh-TW`, `zh-HK`, `de-DE`, `ru-RU`. Update options to switch language while preserving the file and reading state. The i18n group takes priority. See [internationalization](https://doc.file-viewer.app/guide/i18n). |
301
302
  | `styleIsolation` | `auto`, `shadow`, `scoped`, or `none`. With `auto`, Web Component, IIFE, Vue, React, Svelte, jQuery, and full packages all use Shadow DOM by default. Legacy integrations that depend on deep class overrides can explicitly use `none`. |
302
303
  | `watermark` | Text or image watermark with opacity, rotation, gap, size, font, and color controls. |
303
304
  | `toolbar` | Controls the theme toggle, download, print, HTML export, zoom, item order, toolbar position, and operation-level preflight checks. |
package/README.md CHANGED
@@ -298,6 +298,7 @@ The table below lists the real props, event channel, and customization entry for
298
298
  | Options Field | Description |
299
299
  | --- | --- |
300
300
  | `theme` | `light`, `dark`, or `system`. This takes precedence over browser `prefers-color-scheme`. |
301
+ | `locale` / `i18n` / `messages` | Bundled offline: `zh-CN`, `en-US`, `ja-JP`, `zh-TW`, `zh-HK`, `de-DE`, `ru-RU`. Update options to switch language while preserving the file and reading state. The i18n group takes priority. See [internationalization](https://doc.file-viewer.app/guide/i18n). |
301
302
  | `styleIsolation` | `auto`, `shadow`, `scoped`, or `none`. With `auto`, Web Component, IIFE, Vue, React, Svelte, jQuery, and full packages all use Shadow DOM by default. Legacy integrations that depend on deep class overrides can explicitly use `none`. |
302
303
  | `watermark` | Text or image watermark with opacity, rotation, gap, size, font, and color controls. |
303
304
  | `toolbar` | Controls the theme toggle, download, print, HTML export, zoom, item order, toolbar position, and operation-level preflight checks. |
package/README.zh-CN.md CHANGED
@@ -280,6 +280,7 @@ const options = {
280
280
 
281
281
  | Options 字段 | 说明 |
282
282
  | --- | --- |
283
+ | `locale` / `i18n` / `messages` | 离线内置 `zh-CN`, `en-US`, `ja-JP`, `zh-TW`, `zh-HK`, `de-DE`, `ru-RU`。通过 options 更新语言并保留当前文件和阅读状态,i18n 分组优先。详见[国际化指南](https://doc.file-viewer.app/zh/guide/i18n)。 |
283
284
  | `theme` | `light`、`dark` 或 `system`,优先级高于浏览器 `prefers-color-scheme`。 |
284
285
  | `styleIsolation` | `auto`、`shadow`、`scoped` 或 `none`。`auto` 下 Web Component、IIFE、Vue、React、Svelte、jQuery 和 full 包均默认使用 Shadow DOM;依赖深层 class 覆盖的旧项目可显式使用 `none`。 |
285
286
  | `watermark` | 开启文字或图片水印,可设置透明度、旋转、间距、尺寸、字体和颜色。 |