diff --git a/.gitignore b/.gitignore index 69f424e..68bb799 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,13 @@ /.eslintrc-auto-import.json /components.d.ts -/examples/auto-imports.d.ts +/auto-imports.d.ts /AGENTS.md /.npmrc +/docs/.npmrc + +# 文档站 +/docs/.vitepress/cache +/docs/.vitepress/dist # Logs logs diff --git a/.serena/project.yml b/.serena/project.yml index a432796..d361348 100644 --- a/.serena/project.yml +++ b/.serena/project.yml @@ -1,34 +1,6 @@ -# the name by which the project can be referenced within Serena +# the name by which the project can be referenced within Serena/when chatting with the LLM. project_name: "timi-tdesign-pc" - -# list of languages for which language servers are started; choose from: -# al bash clojure cpp csharp -# csharp_omnisharp dart elixir elm erlang -# fortran fsharp go groovy haskell -# haxe java julia kotlin lua -# markdown -# matlab nix pascal perl php -# php_phpactor powershell python python_jedi r -# rego ruby ruby_solargraph rust scala -# swift terraform toml typescript typescript_vts -# vue yaml zig -# (This list may be outdated. For the current list, see values of Language enum here: -# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py -# For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.) -# Note: -# - For C, use cpp -# - For JavaScript, use typescript -# - For Free Pascal/Lazarus, use pascal -# Special requirements: -# Some languages require additional setup/installations. -# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers -# When using multiple languages, the first language server that supports a given file will be used for that file. -# The first language is the default language and the respective language server will be used as a fallback. -# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored. -languages: -- vue - # the encoding used by text files in the project # For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings encoding: "utf-8" @@ -50,12 +22,19 @@ ignore_all_files_in_gitignore: true # advanced configuration option allowing to configure language server-specific options. # Maps the language key to the options. -# Have a look at the docstring of the constructors of the LS implementations within solidlsp (e.g., for C# or PHP) to see which options are available. -# No documentation on options means no options are available. +# The settings are considered only if the project is trusted (see global configuration to define trusted projects). +# See https://oraios.github.io/serena/02-usage/050_configuration.html#language-server-specific-settings ls_specific_settings: {} # list of additional paths to ignore in this project. # Same syntax as gitignore, so you can use * and **. +# Important: quote patterns that start with `*`, otherwise YAML treats them as aliases. +# Example: +# ignored_paths: +# - "examples/**" +# - ".worktrees/**" +# - "**/bin/**" +# - "**/obj/**" # Note: global ignored_paths from serena_config.yml are also applied additively. ignored_paths: [] @@ -66,54 +45,17 @@ read_only: false # list of tool names to exclude. # This extends the existing exclusions (e.g. from the global configuration) -# -# Below is the complete list of tools for convenience. -# To make sure you have the latest list of tools, and to view their descriptions, -# execute `uv run scripts/print_tool_overview.py`. -# -# * `activate_project`: Activates a project based on the project name or path. -# * `check_onboarding_performed`: Checks whether project onboarding was already performed. -# * `create_text_file`: Creates/overwrites a file in the project directory. -# * `delete_memory`: Delete a memory file. Should only happen if a user asks for it explicitly, -# for example by saying that the information retrieved from a memory file is no longer correct -# or no longer relevant for the project. -# * `edit_memory`: Replaces content matching a regular expression in a memory. -# * `execute_shell_command`: Executes a shell command. -# * `find_file`: Finds files in the given relative paths -# * `find_referencing_symbols`: Finds symbols that reference the given symbol using the language server backend -# * `find_symbol`: Performs a global (or local) search using the language server backend. -# * `get_current_config`: Prints the current configuration of the agent, including the active and available projects, tools, contexts, and modes. -# * `get_symbols_overview`: Gets an overview of the top-level symbols defined in a given file. -# * `initial_instructions`: Provides instructions Serena usage (i.e. the 'Serena Instructions Manual') -# for clients that do not read the initial instructions when the MCP server is connected. -# * `insert_after_symbol`: Inserts content after the end of the definition of a given symbol. -# * `insert_before_symbol`: Inserts content before the beginning of the definition of a given symbol. -# * `list_dir`: Lists files and directories in the given directory (optionally with recursion). -# * `list_memories`: List available memories. Any memory can be read using the `read_memory` tool. -# * `onboarding`: Performs onboarding (identifying the project structure and essential tasks, e.g. for testing or building). -# * `read_file`: Reads a file within the project directory. -# * `read_memory`: Read the content of a memory file. This tool should only be used if the information -# is relevant to the current task. You can infer whether the information -# is relevant from the memory file name. -# You should not read the same memory file multiple times in the same conversation. -# * `rename_memory`: Renames or moves a memory. Moving between project and global scope is supported -# (e.g., renaming "global/foo" to "bar" moves it from global to project scope). -# * `rename_symbol`: Renames a symbol throughout the codebase using language server refactoring capabilities. -# For JB, we use a separate tool. -# * `replace_content`: Replaces content in a file (optionally using regular expressions). -# * `replace_symbol_body`: Replaces the full definition of a symbol using the language server backend. -# * `safe_delete_symbol`: -# * `search_for_pattern`: Performs a search for a pattern in the project. -# * `write_memory`: Write some information (utf-8-encoded) about this project that can be useful for future tasks to a memory in md format. -# The memory name should be meaningful. +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html excluded_tools: [] # list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default). # This extends the existing inclusions (e.g. from the global configuration). +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html included_optional_tools: [] # fixed set of tools to use as the base tool set (if non-empty), replacing Serena's default set of tools. # This cannot be combined with non-empty excluded_tools or included_optional_tools. +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html fixed_tools: [] # list of mode names to that are always to be included in the set of active modes @@ -124,11 +66,14 @@ fixed_tools: [] # Set this to a list of mode names to always include the respective modes for this project. base_modes: -# list of mode names that are to be activated by default. -# The full set of modes to be activated is base_modes + default_modes. -# If the setting is undefined, the default_modes from the global configuration (serena_config.yml) apply. +# list of mode names that are to be activated by default, overriding the setting in the global configuration. +# The full set of modes to be activated is base_modes (from global config) + default_modes + added_modes. +# If the setting is undefined/empty, the default_modes from the global configuration (serena_config.yml) apply. # Otherwise, this overrides the setting from the global configuration (serena_config.yml). +# Therefore, you can set this to [] if you do not want the default modes defined in the global config to apply +# for this project. # This setting can, in turn, be overridden by CLI parameters (--mode). +# See https://oraios.github.io/serena/02-usage/050_configuration.html#modes default_modes: # initial prompt for the project. It will always be given to the LLM upon activating the project @@ -152,3 +97,99 @@ read_only_memory_patterns: [] # Extends the list from the global configuration, merging the two lists. # Example: ["_archive/.*", "_episodes/.*"] ignored_memory_patterns: [] + +# list of language servers to start when using the LSP backend; choose from: +# ada al angular ansible astro +# bash bsl clojure cpp cpp_ccls +# crystal csharp csharp_omnisharp cue dart +# deno elixir elm erlang fortran +# fsharp gdscript gleam go groovy +# haskell haxe hlsl html java +# json julia julia_fatou kotlin latex +# lean4 lua lua_emmylua luau markdown +# matlab msl nextflow nix ocaml +# pascal perl php php_devsense php_phpactor +# php_phpantom powershell python python_basedpyright python_jedi +# python_pyrefly python_ty qml r rego +# ruby ruby_solargraph rust scala scss +# solidity svelte swift systemverilog terraform +# toml typescript typescript_tsgo typescript_vts vue +# vbnet wolfram yaml zig +# (This list may be outdated; generated with scripts/print_language_list.py; +# For the current list, see values of the LanguageServerId enum here: +# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py) +# For some languages, there are several alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.) +# Note: +# - For C, use cpp +# - For JavaScript, use typescript +# - For Angular projects, use angular (subsumes typescript+html; requires `npm install` in the project root) +# - For Astro projects, use astro (subsumes typescript/javascript for .astro projects; requires npm) +# - For Svelte projects, use svelte (subsumes typescript/javascript for .svelte projects; requires npm) +# - For Deno projects, use deno (serves the same .ts/.js files as typescript; requires the deno CLI on PATH) +# - For SCSS / Sass / plain CSS, use scss (some-sass-language-server handles all three) +# - For Free Pascal/Lazarus, use pascal +# - External Python adapters may add further registered IDs; install the adapter package first +# and then use its ID here, for example: example +# Special requirements: +# Some language servers require additional setup/installations. +# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers +# When using multiple language servers, the first language server that supports a given file will be used for that file. +# The first language server is the default language and the respective language server will be used as a fallback. +# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored. +language_servers: +- vue + +# list of mode names to be activated additionally for this project, e.g. ["query-projects"] +# The full set of modes to be activated is base_modes (from global config) + default_modes + added_modes. +# See https://oraios.github.io/serena/02-usage/050_configuration.html#modes +added_modes: + +# list of workspace folder paths (LSP backend only). +# These folders will be used to build up Serena's symbol index. +# Paths must be within the project root and should thus be relative to the project root. +# Furthermore, the paths should not be filtered by ignore settings. +# Default setting: The entire project root folder (".") is considered. +# In (large) monorepos, this can be used to index only subfolders of the project root, e.g. +# ls_workspace_folders: +# - "./subproject1" +# - "./subproject2" +ls_workspace_folders: +- . + +# list of additional workspace folder paths for cross-package reference support. +# Paths can be absolute or relative to the project root. +# Each folder is registered as an LSP workspace folder, enabling language servers to discover +# symbols and references across package boundaries, but these folders are not indexed by Serena, +# i.e. the respective symbols will not be found using Serena's symbol search tools. +# Example: +# additional_workspace_folders: +# - ../sibling-package +# - ../shared-lib +ls_additional_workspace_folders: [] + +# optional shell command to run before the language backend (LSP or JetBrains) is initialised. +# the command runs in the project root directory and is only executed if the project is trusted +# (see trusted_project_path_patterns in the global configuration). +# serena waits for the command to exit: a non-zero exit code is logged as an error but does not +# abort activation. a per-project timeout (activation_command_timeout, default 180s) is the safety +# backstop for non-terminating commands; on expiry the process is killed and activation continues. +# example: activation_command: "npx nx run-many -t build" +activation_command: + +# maximum time in seconds to wait for activation_command to complete before killing it (default 180s). +# must be a positive number. +activation_command_timeout: 180.0 + +# list of APIs (facades or facade methods, e.g. "lsp" or "lsp.get_diagnostics_for_symbol") to include in the REPL +# that would otherwise be disabled (particularly optional methods, which are disabled by default). +# This extends the existing inclusions (e.g. from the global configuration). +included_apis: [] + +# list of APIs (facades or facade methods, e.g. "lsp" or "lsp.find_symbol") to exclude from the REPL. +# This extends the existing exclusions (e.g. from the global configuration). +excluded_apis: [] + +# The interface through which the agent (LLM) accesses Serena's functionality (overrides the global setting). +# Valid values: tools, REPL (see the global configuration for details); leave empty to use the global setting. +# Note: the interface is fixed at startup. If a project is activated post-init, its setting is not applied. +agent_interface: diff --git a/.serena/project.yml.wuowemy6.tmp b/.serena/project.yml.wuowemy6.tmp new file mode 100644 index 0000000..b2ec6e5 --- /dev/null +++ b/.serena/project.yml.wuowemy6.tmp @@ -0,0 +1,177 @@ +# the name by which the project can be referenced within Serena/when chatting with the LLM. +project_name: "timi-tdesign-pc" + +# the encoding used by text files in the project +# For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings +encoding: "utf-8" + +# line ending convention to use when writing source files. +# Possible values: unset (use global setting), "lf", "crlf", or "native" (platform default) +# This does not affect Serena's own files (e.g. memories and configuration files), which always use native line endings. +line_ending: + +# The language backend to use for this project. +# If not set, the global setting from serena_config.yml is used. +# Valid values: LSP, JetBrains +# Note: the backend is fixed at startup. If a project with a different backend +# is activated post-init, an error will be returned. +language_backend: + +# whether to use project's .gitignore files to ignore files +ignore_all_files_in_gitignore: true + +# advanced configuration option allowing to configure language server-specific options. +# Maps the language key to the options. +# The settings are considered only if the project is trusted (see global configuration to define trusted projects). +# See https://oraios.github.io/serena/02-usage/050_configuration.html#language-server-specific-settings +ls_specific_settings: {} + +# list of additional paths to ignore in this project. +# Same syntax as gitignore, so you can use * and **. +# Important: quote patterns that start with `*`, otherwise YAML treats them as aliases. +# Example: +# ignored_paths: +# - "examples/**" +# - ".worktrees/**" +# - "**/bin/**" +# - "**/obj/**" +# Note: global ignored_paths from serena_config.yml are also applied additively. +ignored_paths: [] + +# whether the project is in read-only mode +# If set to true, all editing tools will be disabled and attempts to use them will result in an error +# Added on 2025-04-18 +read_only: false + +# list of tool names to exclude. +# This extends the existing exclusions (e.g. from the global configuration) +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html +excluded_tools: [] + +# list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default). +# This extends the existing inclusions (e.g. from the global configuration). +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html +included_optional_tools: [] + +# fixed set of tools to use as the base tool set (if non-empty), replacing Serena's default set of tools. +# This cannot be combined with non-empty excluded_tools or included_optional_tools. +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html +fixed_tools: [] + +# list of mode names to that are always to be included in the set of active modes +# The full set of modes to be activated is base_modes + default_modes. +# If the setting is undefined, the base_modes from the global configuration (serena_config.yml) apply. +# Otherwise, this setting overrides the global configuration. +# Set this to [] to disable base modes for this project. +# Set this to a list of mode names to always include the respective modes for this project. +base_modes: + +# list of mode names that are to be activated by default, overriding the setting in the global configuration. +# The full set of modes to be activated is base_modes (from global config) + default_modes + added_modes. +# If the setting is undefined/empty, the default_modes from the global configuration (serena_config.yml) apply. +# Otherwise, this overrides the setting from the global configuration (serena_config.yml). +# Therefore, you can set this to [] if you do not want the default modes defined in the global config to apply +# for this project. +# This setting can, in turn, be overridden by CLI parameters (--mode). +# See https://oraios.github.io/serena/02-usage/050_configuration.html#modes +default_modes: + +# initial prompt for the project. It will always be given to the LLM upon activating the project +# (contrary to the memories, which are loaded on demand). +initial_prompt: "" + +# time budget (seconds) per tool call for the retrieval of additional symbol information +# such as docstrings or parameter information. +# This overrides the corresponding setting in the global configuration; see the documentation there. +# If null or missing, use the setting from the global configuration. +symbol_info_budget: + +# list of regex patterns which, when matched, mark a memory entry as read‑only. +# Extends the list from the global configuration, merging the two lists. +read_only_memory_patterns: [] + +# list of regex patterns for memories to completely ignore. +# Matching memories will not appear in list_memories or activate_project output +# and cannot be accessed via read_memory or write_memory. +# To access ignored memory files, use the read_file tool on the raw file path. +# Extends the list from the global configuration, merging the two lists. +# Example: ["_archive/.*", "_episodes/.*"] +ignored_memory_patterns: [] + +# list of language servers to start when using the LSP backend; choose from: +# ada al angular ansible bash +# bsl clojure cpp cpp_ccls crystal +# csharp csharp_omnisharp cue dart deno +# elixir elm erlang fortran fsharp +# gdscript gleam go groovy haskell +# haxe hlsl html java json +# julia kotlin latex lean4 lua +# luau markdown matlab msl nextflow +# nix ocaml pascal perl php +# php_phpactor php_phpantom powershell python python_basedpyright +# python_jedi python_pyrefly python_ty qml r +# rego ruby ruby_solargraph rust scala +# scss solidity svelte swift systemverilog +# terraform toml typescript typescript_vts vue +# wolfram yaml zig +# (This list may be outdated; generated with scripts/print_language_list.py; +# For the current list, see values of the LanguageServerId enum here: +# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py) +# For some languages, there are several alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.) +# Note: +# - For C, use cpp +# - For JavaScript, use typescript +# - For Angular projects, use angular (subsumes typescript+html; requires `npm install` in the project root) +# - For Svelte projects, use svelte (subsumes typescript/javascript for .svelte projects; requires npm) +# - For Deno projects, use deno (serves the same .ts/.js files as typescript; requires the deno CLI on PATH) +# - For SCSS / Sass / plain CSS, use scss (some-sass-language-server handles all three) +# - For Free Pascal/Lazarus, use pascal +# Special requirements: +# Some language servers require additional setup/installations. +# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers +# When using multiple language servers, the first language server that supports a given file will be used for that file. +# The first language server is the default language and the respective language server will be used as a fallback. +# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored. +language_servers: +- vue + +# list of mode names to be activated additionally for this project, e.g. ["query-projects"] +# The full set of modes to be activated is base_modes (from global config) + default_modes + added_modes. +# See https://oraios.github.io/serena/02-usage/050_configuration.html#modes +added_modes: + +# list of workspace folder paths (LSP backend only). +# These folders will be used to build up Serena's symbol index. +# Paths must be within the project root and should thus be relative to the project root. +# Furthermore, the paths should not be filtered by ignore settings. +# Default setting: The entire project root folder (".") is considered. +# In (large) monorepos, this can be used to index only subfolders of the project root, e.g. +# ls_workspace_folders: +# - "./subproject1" +# - "./subproject2" +ls_workspace_folders: +- . + +# list of additional workspace folder paths for cross-package reference support. +# Paths can be absolute or relative to the project root. +# Each folder is registered as an LSP workspace folder, enabling language servers to discover +# symbols and references across package boundaries, but these folders are not indexed by Serena, +# i.e. the respective symbols will not be found using Serena's symbol search tools. +# Example: +# additional_workspace_folders: +# - ../sibling-package +# - ../shared-lib +ls_additional_workspace_folders: [] + +# optional shell command to run before the language backend (LSP or JetBrains) is initialised. +# the command runs in the project root directory and is only executed if the project is trusted +# (see trusted_project_path_patterns in the global configuration). +# serena waits for the command to exit: a non-zero exit code is logged as an error but does not +# abort activation. a per-project timeout (activation_command_timeout, default 180s) is the safety +# backstop for non-terminating commands; on expiry the process is killed and activation continues. +# example: activation_command: "npx nx run-many -t build" +activation_command: + +# maximum time in seconds to wait for activation_command to complete before killing it (default 180s). +# must be a positive number. +activation_command_timeout: 180.0 diff --git a/README.md b/README.md index a1c43bf..cb42981 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,30 @@ Vue 3 PC 端通用组件库,依赖 `timi-web` 提供基础组件和编辑器 通知组件使用同样的 `uploadImage`、`uploadVideo` 和 `resolveAttachmentUrl` 回调。没有附件上传需求时,可以不传上传回调。 +## 文档与演示 + +组件演示与 API 文档由 VitePress 驱动,源码位于 `docs/`。它作为独立子包维护,依赖版本与根项目隔离(根项目用 Vite 7,文档站需要 VitePress 自带的 Vite 5)。 + +首次使用先安装文档站依赖: + +```bash +pnpm -C docs install +``` + +启动演示站(默认 http://localhost:3004): + +```bash +pnpm run dev +``` + +构建静态站点: + +```bash +pnpm run build:doc +``` + +演示直接引用 `src` 源码,改动组件即可热更新;API 表格由 `vue-docgen-api` 在构建期解析组件源码生成,无需手写。新增组件的完整步骤见文档站的「演示与文档约定」页面。 + ## 开发 ```bash diff --git a/docs/.vitepress/api-types.ts b/docs/.vitepress/api-types.ts new file mode 100644 index 0000000..d7cff6d --- /dev/null +++ b/docs/.vitepress/api-types.ts @@ -0,0 +1,83 @@ +/** + * API 文档数据类型。 + * + * 这些结构由 Node 侧的 `plugins/docgen.ts` 产出,通过虚拟模块交给浏览器渲染, + * 因此刻意保持为不含第三方类型的纯数据,避免 `vue-docgen-api` 被打进客户端产物。 + */ + +/** 单个 prop 的表格行数据。 */ +export interface ApiPropRow { + /** prop 名称。 */ + name: string; + /** 类型签名,如 `string`、`Article`。 */ + type: string; + /** 默认值,未声明时为空字符串。 */ + defaultValue: string; + /** 是否必填。 */ + required: boolean; + /** 注释说明,取自源码 JSDoc。 */ + description: string; +} + +/** 单个事件的表格行数据。 */ +export interface ApiEventRow { + /** 事件名,如 `update:modelValue`。 */ + name: string; + /** 回调参数签名。 */ + type: string; + /** 注释说明。 */ + description: string; +} + +/** 单个插槽的表格行数据。 */ +export interface ApiSlotRow { + /** 插槽名。 */ + name: string; + /** 注释说明或作用域参数。 */ + description: string; +} + +/** 单个暴露方法或属性的表格行数据。 */ +export interface ApiExposeRow { + /** 暴露的名称。 */ + name: string; + /** 类型签名。 */ + type: string; + /** 注释说明。 */ + description: string; +} + +/** 一个组件解析完成后的完整 API 数据。 */ +export interface ComponentApi { + /** 组件名。 */ + name: string; + /** 组件自身的注释说明。 */ + description: string; + /** + * 源码是否解析成功。 + * + * 用来区分「解析失败」与「组件本身就没有 props/events/slots/expose」, + * 两者都会得到空数组,但提示语完全不同。 + */ + parsed: boolean; + props: ApiPropRow[]; + events: ApiEventRow[]; + slots: ApiSlotRow[]; + exposes: ApiExposeRow[]; +} + +/** 全部组件的 API 数据,键为组件名。 */ +export type ComponentApiMap = Record; + +/** 生成一个空的 API 数据,用于解析失败时兜底,保证文档站不因单个组件而白屏。 */ +export function createEmptyApi(name: string): ComponentApi { + return { + name, + description: "", + parsed: false, + props: [], + events: [], + slots: [], + exposes: [] + }; +} diff --git a/docs/.vitepress/components.ts b/docs/.vitepress/components.ts new file mode 100644 index 0000000..5c0ada5 --- /dev/null +++ b/docs/.vitepress/components.ts @@ -0,0 +1,149 @@ +/** + * 组件元数据清单。 + * + * 这是文档站的唯一数据源,三处消费它: + * - `config.ts` 生成侧边栏导航 + * - `plugins/docgen.ts` 按 `entry` 定位源码并交给 vue-docgen-api 解析 + * - 页面内的 `` 按 `name` 查询解析结果 + * + * 新增组件时只需在此追加一项,导航、API 表、文档路由会同步生效。 + */ + +/** 分类展示顺序即数组顺序。 */ +export const CATEGORY_LIST = [ + "布局组件", + "编辑器组件", + "用户组件" +] as const; + +export type ComponentCategory = (typeof CATEGORY_LIST)[number]; + +export interface ComponentMeta { + /** 组件名,必须与组件内 `defineOptions` 的 name 一致,同时是 api-table 的查询键。 */ + name: string; + /** 文档与侧边栏展示的中文标题。 */ + title: string; + /** 一句话功能描述。 */ + description: string; + /** 所属分类。 */ + category: ComponentCategory; + /** 组件入口源码,相对仓库根目录。 */ + entry: string; +} + +export const COMPONENT_LIST: ComponentMeta[] = [ + // ---------- 布局组件 ---------- + { + name: "RootLayout", + title: "RootLayout 根布局", + description: "提供页面级骨架与统一留白,承载顶部区域与主内容。", + category: "布局组件", + entry: "src/components/root-layout/index.vue" + }, + { + name: "AdminLayout", + title: "AdminLayout 管理台布局", + description: "侧边菜单、顶部栏与内容区三区合一的后台骨架,支持菜单折叠。", + category: "布局组件", + entry: "src/components/admin-layout/index.vue" + }, + + // ---------- 编辑器组件 ---------- + { + name: "CodeEditor", + title: "CodeEditor 代码编辑器", + description: "带行号、语法高亮与查找替换的代码输入框。", + category: "编辑器组件", + entry: "src/components/code-editor/index.vue" + }, + { + name: "TiptapEditor", + title: "TiptapEditor 富文本编辑器", + description: "基于 Tiptap 的富文本编辑器,内置媒体、表格、链接与代码块等工具栏能力。", + category: "编辑器组件", + entry: "src/components/tiptap-editor/index.vue" + }, + { + name: "TiptapView", + title: "TiptapView 富文本视图", + description: "Tiptap 内容的只读渲染视图,与编辑器共用同一套样式。", + category: "编辑器组件", + entry: "src/components/tiptap-view/index.vue" + }, + { + name: "ArticleEditor", + title: "ArticleEditor 文章编辑器", + description: "以 Article 为数据模型,按正文类型切换纯文本、Markdown 与富文本编辑。", + category: "编辑器组件", + entry: "src/components/article-editor/index.vue" + }, + { + name: "ArticleView", + title: "ArticleView 文章视图", + description: "按 Article 的正文类型渲染标题、正文与附件列表。", + category: "编辑器组件", + entry: "src/components/article-view/index.vue" + }, + { + name: "NotifyEditor", + title: "NotifyEditor 通知编辑器", + description: "以 NotifyDetail 为数据模型的通知编辑表单,复用文章编辑器能力。", + category: "编辑器组件", + entry: "src/components/notify-editor/index.vue" + }, + { + name: "NotifyView", + title: "NotifyView 通知视图", + description: "渲染通知主题、状态与正文内容。", + category: "编辑器组件", + entry: "src/components/notify-view/index.vue" + }, + + // ---------- 用户组件 ---------- + { + name: "AuthorizeForm", + title: "AuthorizeForm 授权表单", + description: "登录与注册合一的授权表单,验证码、请求与回调全部由外部注入。", + category: "用户组件", + entry: "src/components/authorize-form/index.vue" + }, + { + name: "UserProfile", + title: "UserProfile 用户资料", + description: "展示用户头像、昵称与等级信息,支持点击展开资料弹窗。", + category: "用户组件", + entry: "src/components/user-profile/index.vue" + }, + { + name: "UserProfilePopup", + title: "UserProfilePopup 用户资料弹窗", + description: "用户资料卡弹窗,由 UserProfile 唤起,也可独立使用。", + category: "用户组件", + entry: "src/components/user-profile/popup/index.vue" + }, + { + name: "UserLevel", + title: "UserLevel 用户等级", + description: "按等级值渲染等级图标与文案,等级规则可外部覆盖。", + category: "用户组件", + entry: "src/components/user-level/index.vue" + } +]; + +/** PascalCase 转 kebab-case,用于推导文档路径与路由。 */ +export function toKebabCase(name: string): string { + return name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(); +} + +/** 组件文档页的站内绝对路径。 */ +export function toDocLink(meta: ComponentMeta): string { + return `/components/${toKebabCase(meta.name)}`; +} + +/** 按分类分组,保持 CATEGORY_LIST 的声明顺序。 */ +export function groupByCategory(): Array<{ category: ComponentCategory; items: ComponentMeta[] }> { + return CATEGORY_LIST.map(category => ({ + category, + items: COMPONENT_LIST.filter(item => item.category === category) + })).filter(group => group.items.length > 0); +} diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts new file mode 100644 index 0000000..7f1d579 --- /dev/null +++ b/docs/.vitepress/config.ts @@ -0,0 +1,131 @@ +import { resolve } from "node:path"; +import { defineConfig } from "vitepress"; +import { + componentPreview, + containerPreview +} from "@vitepress-demo-preview/plugin"; +import AutoImport from "unplugin-auto-import/vite"; +import { groupByCategory, toDocLink } from "./components"; +import { docgenPlugin } from "./plugins/docgen"; +import { timiWebSsrStub } from "./plugins/ssr-stub"; + +/** `__dirname` 由 VitePress 打包配置时注入,指向 `docs/.vitepress`。 */ +const docsDir = resolve(__dirname, ".."); +/** 仓库根目录,组件源码位于它的 `src` 下。 */ +const repoRoot = resolve(docsDir, ".."); +/** timi-web 仓库目录,docs 通过 link 依赖它。 */ +const timiWebRoot = resolve(repoRoot, "../timi-web"); + +/** + * 源码引用别名。 + * + * demo 组件直接引用 `src` 源码而非构建产物,改组件即可热更新文档。 + * markdown 里的 `:::preview` 也共用这份别名来定位演示文件。 + */ +const alias = { + "~": resolve(repoRoot, "src"), + "timi-tdesign-pc": resolve(repoRoot, "src/index.ts"), + "timi-web/editor": resolve(timiWebRoot, "src/editor/index.ts") +}; + +/** 组件文档侧边栏,按 components.ts 的分类与顺序生成。 */ +const componentSidebar = groupByCategory().map(group => ({ + text: group.category, + collapsed: false, + items: group.items.map(item => ({ + text: item.title, + link: toDocLink(item) + })) +})); + +export default defineConfig({ + title: "timi-tdesign-pc", + description: "PC 端 TDesign 组件库的演示与 API 文档", + lang: "zh-CN", + cleanUrls: true, + + themeConfig: { + nav: [ + { text: "指南", link: "/guide/" }, + { text: "场景", link: "/scenarios/editor" }, + { text: "组件", link: "/components/" } + ], + sidebar: [ + { + text: "指南", + items: [ + { text: "快速开始", link: "/guide/" }, + { text: "演示与文档约定", link: "/guide/demo" } + ] + }, + { + text: "场景示例", + collapsed: false, + items: [ + { text: "编辑器能力总览", link: "/scenarios/editor" }, + { text: "文章编辑与预览", link: "/scenarios/article" }, + { text: "通知编辑与预览", link: "/scenarios/notify" } + ] + }, + ...componentSidebar + ], + outline: { + level: [2, 3], + label: "本页目录" + }, + search: { + provider: "local" + }, + docFooter: { + prev: "上一篇", + next: "下一篇" + }, + darkModeSwitchLabel: "主题", + sidebarMenuLabel: "目录", + returnToTopLabel: "回到顶部", + lastUpdated: { + text: "最后更新于" + } + }, + + markdown: { + theme: { + light: "vitesse-light", + dark: "vitesse-dark" + }, + lineNumbers: true, + config(md) { + // 组件几乎都依赖浏览器 API(Tiptap、Prism、剪贴板等), + // 统一开启 clientOnly 交给浏览器渲染,避免 SSR 阶段报错。 + md.use(componentPreview, { clientOnly: true, alias }); + md.use(containerPreview, { clientOnly: true, alias }); + } + }, + + vite: { + resolve: { + alias + }, + + plugins: [ + // 必须最先执行:SSR 阶段拦截 timi-web,否则整个构建无法通过。 + timiWebSsrStub(docsDir), + docgenPlugin(repoRoot), + // src 源码依赖自动导入(内部没有任何一处显式 import vue), + // 这里仅为其提供支持;docs 自身的代码一律显式导入。 + AutoImport({ + imports: ["vue"], + dts: false + }) + ], + + server: { + port: 3004, + host: true, + fs: { + // demo 需要读取 docs 之外的 src 与 timi-web 源码。 + allow: [repoRoot, timiWebRoot] + } + } + } +}); diff --git a/docs/.vitepress/plugins/docgen.ts b/docs/.vitepress/plugins/docgen.ts new file mode 100644 index 0000000..bdb9046 --- /dev/null +++ b/docs/.vitepress/plugins/docgen.ts @@ -0,0 +1,163 @@ +import { existsSync } from "node:fs"; +import { resolve } from "node:path"; +import { parse } from "vue-docgen-api"; +import type { Plugin } from "vite"; +import { COMPONENT_LIST } from "../components"; +import { + createEmptyApi, + type ApiEventRow, + type ApiExposeRow, + type ApiPropRow, + type ApiSlotRow, + type ComponentApi, + type ComponentApiMap +} from "../api-types"; + +/** 虚拟模块的引用标识,业务代码与类型声明共用。 */ +export const API_MODULE_ID = "virtual:timi-api"; + +/** Vite 内部使用的解析后标识,前置 `\0` 避免被其他插件处理。 */ +const RESOLVED_ID = `\0${API_MODULE_ID}`; + +/** + * 把 vue-docgen-api 的联合类型描述压平成可读文本。 + * 不同版本对 `defineEmits` 的产出结构不一致,这里统一兜底。 + */ +function normalizeType(type: unknown): string { + if (!type || typeof type !== "object") { + return "-"; + } + const candidate = type as { name?: unknown; names?: unknown }; + if (Array.isArray(candidate.names)) { + return candidate.names.length > 0 ? candidate.names.join(" | ") : "-"; + } + if (typeof candidate.name === "string" && candidate.name.length > 0) { + return candidate.name; + } + return "-"; +} + +/** 转换 prop 描述符。 */ +function toPropRow(descriptor: any): ApiPropRow { + return { + name: String(descriptor.name ?? ""), + type: normalizeType(descriptor.type), + defaultValue: descriptor.defaultValue?.value === undefined ? "-" : String(descriptor.defaultValue.value), + required: descriptor.required === true, + description: String(descriptor.description ?? "") + }; +} + +/** 转换事件描述符。 */ +function toEventRow(descriptor: any): ApiEventRow { + return { + name: String(descriptor.name ?? ""), + type: normalizeType(descriptor.type), + description: String(descriptor.description ?? "") + }; +} + +/** 转换插槽描述符,把作用域参数并入说明列。 */ +function toSlotRow(descriptor: any): ApiSlotRow { + const bindings = Array.isArray(descriptor.bindings) + ? descriptor.bindings.map((item: any) => String(item.name ?? "")).filter(Boolean) + : []; + const description = String(descriptor.description ?? ""); + const scope = bindings.length > 0 ? `作用域参数:${bindings.join("、")}` : ""; + return { + name: String(descriptor.name ?? ""), + description: [description, scope].filter(Boolean).join(";") + }; +} + +/** 转换暴露描述符。 */ +function toExposeRow(descriptor: any): ApiExposeRow { + return { + name: String(descriptor.name ?? ""), + type: normalizeType(descriptor.type), + description: String(descriptor.description ?? "") + }; +} + +/** 把单个组件文档规范化为纯数据。 */ +function toComponentApi(name: string, doc: any): ComponentApi { + return { + name, + description: String(doc?.description ?? ""), + parsed: true, + props: Array.isArray(doc?.props) ? doc.props.map(toPropRow) : [], + events: Array.isArray(doc?.events) ? doc.events.map(toEventRow) : [], + slots: Array.isArray(doc?.slots) ? doc.slots.map(toSlotRow) : [], + exposes: Array.isArray(doc?.expose) ? doc.expose.map(toExposeRow) : [] + }; +} + +/** + * 逐个解析组件源码。 + * 单个组件解析失败只降级为空 API,不让整个文档站因一处语法而无法构建。 + */ +async function parseAll(repoRoot: string): Promise { + const alias = { + "~": resolve(repoRoot, "src") + }; + const result: ComponentApiMap = {}; + + for (const meta of COMPONENT_LIST) { + const filePath = resolve(repoRoot, meta.entry); + if (!existsSync(filePath)) { + console.warn(`[timi-docgen] 未找到组件入口,已跳过:${meta.entry}`); + result[meta.name] = createEmptyApi(meta.name); + continue; + } + try { + const doc = await parse(filePath, { alias }); + result[meta.name] = toComponentApi(meta.name, doc); + } catch (error) { + console.warn(`[timi-docgen] 解析 ${meta.name} 失败,已降级为空 API:`, error); + result[meta.name] = createEmptyApi(meta.name); + } + } + + return result; +} + +/** + * 提供 `virtual:timi-api` 虚拟模块,内容为全部组件的 API 数据。 + * + * 解析结果按需缓存,仅在组件源码变更时失效,避免每次页面请求都重复解析。 + * @param repoRoot 仓库根目录的绝对路径 + */ +export function docgenPlugin(repoRoot: string): Plugin { + const entryPathSet = new Set(COMPONENT_LIST.map(meta => resolve(repoRoot, meta.entry))); + let cache: ComponentApiMap | null = null; + + return { + name: "timi-docgen", + + resolveId(id: string) { + return id === API_MODULE_ID ? RESOLVED_ID : null; + }, + + async load(id: string) { + if (id !== RESOLVED_ID) { + return null; + } + if (cache === null) { + cache = await parseAll(repoRoot); + } + return `export default ${JSON.stringify(cache)};`; + }, + + handleHotUpdate({ file, server }) { + if (!entryPathSet.has(file)) { + return; + } + cache = null; + const invalidated = server.moduleGraph.getModuleById(RESOLVED_ID); + if (invalidated) { + server.moduleGraph.invalidateModule(invalidated); + server.ws.send({ type: "full-reload" }); + } + } + }; +} diff --git a/docs/.vitepress/plugins/ssr-stub.ts b/docs/.vitepress/plugins/ssr-stub.ts new file mode 100644 index 0000000..a6ee78d --- /dev/null +++ b/docs/.vitepress/plugins/ssr-stub.ts @@ -0,0 +1,141 @@ +import { existsSync, readFileSync } from "node:fs"; +import { resolve } from "node:path"; +import type { Plugin } from "vite"; + +/** 虚拟 stub 模块标识。 */ +const STUB_ID = "\0timi-web-ssr-stub"; + +/** 被 stub 的模块说明符。 */ +const STUBBED_MODULES = new Set(["timi-web", "timi-web/editor"]); + +/** + * SSR 阶段必须存在的具名导出。 + * + * 这是对 `src` 与 `docs` 中所有 `timi-web` / `timi-web/editor` 值导入取并集得到的, + * 是 stub 的保底名单;若构建产物可读,`collectExportNames` 会在此基础上补全全部导出。 + * + * 注意:demo 组件虽然以 `clientOnly` 延迟渲染,但它们的动态导入仍会进入 SSR 的模块图, + * 因此 demo 里用到的 `Popup` 也必须在这里。 + */ +const REQUIRED_EXPORTS = [ + // ---------- timi-web ---------- + "VPopup", + "Popup", + "Icon", + "Copyright", + "Captcha", + "MarkdownView", + "MarkdownEditor", + "Toolkit", + "WebToolkit", + "PopupType", + // 仅出现在类型位置,esbuild 通常会摇掉;保留以免转换策略变化时构建失败。 + "PopupConfig", + + // ---------- timi-web/editor ---------- + "findTextMatches", + "replaceAllText", + "replaceMatchText", + "buildSearchRegex", + "highlightCode", + "resolveCodeEditorKeydown", + "resolvePrismLanguage", + "useTiptapEditor", + "useTiptapView", + "buildHeadingOptions", + "formatPaddingValue", + "normalizeSliderValue", + "ATTACHMENT_ID_ATTR", + "TEMP_FILE_ID_ATTR", + "LOCAL_MEDIA_ID_PREFIX", + "isLocalMediaId", + "normalizeContent", + "TABLE_PICKER_SIZE" +]; + +/** 从构建产物中提取具名导出,让 stub 自动跟上上游变化。 */ +function collectExportNames(distFile: string): Set { + const names = new Set(REQUIRED_EXPORTS); + if (!existsSync(distFile)) { + return names; + } + try { + const source = readFileSync(distFile, "utf-8"); + for (const match of source.matchAll(/export\s*\{([^}]*)\}/g)) { + for (const part of match[1].split(",")) { + const bits = part.trim().split(/\s+as\s+/); + const name = (bits[1] ?? bits[0]).trim(); + if (/^[A-Za-z_$][\w$]*$/.test(name)) { + names.add(name); + } + } + } + } catch { + // 读取失败时退回保底名单,不影响构建。 + } + return names; +} + +/** 生成 stub 模块源码:每个导出都是可调用、可解构、可当插件安装的空实现。 */ +function buildStubSource(names: Set): string { + const named = [...names] + .filter(name => name !== "default") + .map(name => `export const ${name} = stub;`) + .join("\n"); + return `const stub = new Proxy(function () {}, { + get(target, key) { + if (key === Symbol.toPrimitive || key === "valueOf" || key === "toString") { + return () => ""; + } + return stub; + }, + apply() { + return stub; + }, + construct() { + return {}; + } +}); +export default stub; +${named} +`; +} + +/** + * 在 SSR 阶段把 timi-web 替换为空实现。 + * + * timi-web 的构建产物在模块顶层就访问 `window` 并启动 Prism 自动高亮定时器, + * 在 Node 中 import 会直接抛错,导致 VitePress 的 SSR 构建必然失败。 + * + * 而文档站里真正需要 timi-web 的只有 demo 组件,它们全部通过 `clientOnly` 延迟到浏览器渲染, + * SSR 阶段只需要「能 import 且不报错」,因此这里返回一个 Proxy 空实现。 + * 客户端构建不受影响,`options.ssr` 为 false 时照常解析到真实模块。 + * @param docsDir docs 目录绝对路径,用于定位 timi-web 构建产物 + */ +export function timiWebSsrStub(docsDir: string): Plugin { + const distFile = resolve(docsDir, "node_modules/timi-web/dist/timi-web.mjs"); + let stubSource: string | null = null; + + return { + name: "timi-web-ssr-stub", + enforce: "pre", + + resolveId(source, importer, options) { + // 只拦截精确的包名,`timi-web/style.css` 等子路径照常交给 Vite 处理。 + if (options?.ssr && STUBBED_MODULES.has(source)) { + return STUB_ID; + } + return null; + }, + + load(id) { + if (id !== STUB_ID) { + return null; + } + if (stubSource === null) { + stubSource = buildStubSource(collectExportNames(distFile)); + } + return stubSource; + } + }; +} diff --git a/docs/.vitepress/theme/components/ApiTable.vue b/docs/.vitepress/theme/components/ApiTable.vue new file mode 100644 index 0000000..6d2bfa4 --- /dev/null +++ b/docs/.vitepress/theme/components/ApiTable.vue @@ -0,0 +1,156 @@ + + + + + diff --git a/docs/.vitepress/theme/containers/DemoPreview.vue b/docs/.vitepress/theme/containers/DemoPreview.vue new file mode 100644 index 0000000..57aab51 --- /dev/null +++ b/docs/.vitepress/theme/containers/DemoPreview.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/docs/.vitepress/theme/env.d.ts b/docs/.vitepress/theme/env.d.ts new file mode 100644 index 0000000..8323275 --- /dev/null +++ b/docs/.vitepress/theme/env.d.ts @@ -0,0 +1,16 @@ +/// + +/** 构建期由 vue-docgen-api 解析生成的组件 API 数据。 */ +declare module "virtual:timi-api" { + import type { ComponentApiMap } from "../api-types"; + + const apiMap: ComponentApiMap; + export default apiMap; +} + +declare module "*.vue" { + import type { DefineComponent } from "vue"; + + const component: DefineComponent, Record, unknown>; + export default component; +} diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts new file mode 100644 index 0000000..8c24eb7 --- /dev/null +++ b/docs/.vitepress/theme/index.ts @@ -0,0 +1,45 @@ +import DefaultTheme from "vitepress/theme"; +import { watch } from "vue"; +import { useData } from "vitepress"; +import type { App } from "vue"; +import TDesign from "tdesign-vue-next"; +import TimiWebUI, { VPopup } from "timi-web"; + +import "tdesign-vue-next/dist/tdesign.css"; +import "./styles/index.less"; + +import DemoPreview from "./containers/DemoPreview.vue"; +import ApiTable from "./components/ApiTable.vue"; + +/** + * 同步深色模式。 + * + * VitePress 通过 `html.dark` 切换深色,而 TDesign 依赖 `html[theme-mode="dark"]`, + * 两者不是同一套机制,不同步会导致深色模式下 TDesign 组件仍是亮色。 + */ +function syncThemeMode(dark: boolean) { + if (typeof document === "undefined") { + return; + } + document.documentElement.setAttribute("theme-mode", dark ? "dark" : "light"); +} + +export default { + extends: DefaultTheme, + + enhanceApp({ app }: { app: App }) { + // 全量注册 TDesign,演示区内所有 t-* 组件直接可用,无需额外 resolver。 + app.use(TDesign); + // 组件内部大量使用 v-popup 指令与 timi-web 的全局组件。 + app.use(TimiWebUI); + app.directive("popup", VPopup); + + app.component("demo-preview", DemoPreview); + app.component("api-table", ApiTable); + }, + + setup() { + const { isDark } = useData(); + watch(isDark, syncThemeMode, { immediate: true }); + } +}; diff --git a/docs/.vitepress/theme/styles/index.less b/docs/.vitepress/theme/styles/index.less new file mode 100644 index 0000000..7efd824 --- /dev/null +++ b/docs/.vitepress/theme/styles/index.less @@ -0,0 +1,18 @@ +/** + * 文档站全局样式。 + * + * 只处理 VitePress 正文与演示容器、API 表格的交界处; + * 组件自身的样式一律各自 scoped,避免相互污染。 + */ + +.vp-doc { + // 演示容器与正文的呼吸感 + .tui-demo { + margin: 1rem 0; + } + + // API 表格里的类型与默认值不换行,避免长签名把列挤变形 + table code { + white-space: nowrap; + } +} diff --git a/docs/components/admin-layout.md b/docs/components/admin-layout.md new file mode 100644 index 0000000..2e1cf7b --- /dev/null +++ b/docs/components/admin-layout.md @@ -0,0 +1,30 @@ +# AdminLayout 管理台布局 + +侧边菜单、顶部栏与内容区三区合一的后台骨架,支持扁平菜单、`t-menu-group` 分组菜单、菜单折叠,以及可选的移动端抽屉。 + +## 基础用法 + +:::preview 基础用法 || 通过 v-model 双向绑定选中项,menuItems 描述扁平侧边菜单 + +demo-preview=../demos/admin-layout/basic.vue + +::: + +传入 `menuGroups` 后,布局会按分组渲染 `t-menu-group`,此时优先使用 `menuGroups`,`menuItems` 作为兼容回退。 + +## 何时使用 + +需要标准后台管理界面骨架时使用。菜单只负责渲染与选中态,路由跳转交给菜单项的 `href`、`to` 或 `onClick`。 + +## 插槽 + +| 名称 | 说明 | +| --- | --- | +| `logo` | 顶部栏左侧的标识区域。 | +| `menu` | 顶部栏右侧的操作区域。 | +| `sidebar` | 自定义侧边栏内容;不提供时使用 `menuItems` 渲染默认菜单。 | +| 默认 | 主体内容区。 | + +## API + + diff --git a/docs/components/article-editor.md b/docs/components/article-editor.md new file mode 100644 index 0000000..46bd32e --- /dev/null +++ b/docs/components/article-editor.md @@ -0,0 +1,41 @@ +# ArticleEditor 文章编辑器 + +以 `Article` 为数据模型,按正文类型切换纯文本、Markdown 与富文本三种编辑形态。 + +## 基础用法 + +:::preview 基础用法 || 切换正文类型会同时替换内容,提交时读取完整文章 + +demo-preview=../demos/article-editor/basic.vue + +::: + +## 何时使用 + +需要在一套表单里同时支持多种正文格式时使用。切换只改 `contentType`,上层不需要关心具体编辑器。 + +## 数据模型 + +组件只约束三个字段,其他字段会原样保留: + +| 字段 | 说明 | +| --- | --- | +| `contentType` | 正文类型,支持 `TEXT`、`MARKDOWN`、`TIP_TAP`(`TIPTAP` 为兼容写法)。 | +| `content` | 正文内容,随类型分别是纯文本、Markdown 源码或 HTML。 | +| `attachmentList` | 附件列表,元素至少包含 `id`、`name`、`url`。 | + +## 附件与媒体 + +`uploadImage`、`uploadVideo` 负责上传,`resolveAttachmentUrl`、`resolveTempUrl` 负责把附件标识换成可访问地址。四个回调都是可选的,不传时对应能力自动降级。 + +## 提交内容 + +编辑过程中抛出的是实时值,提交时建议调用 `submit()`,它会等待富文本里未完成的上传再返回最终数据: + +```ts +const article = await editorRef.value?.submit(); +``` + +## API + + diff --git a/docs/components/article-view.md b/docs/components/article-view.md new file mode 100644 index 0000000..28e3342 --- /dev/null +++ b/docs/components/article-view.md @@ -0,0 +1,29 @@ +# ArticleView 文章视图 + +按 `Article` 的正文类型渲染正文内容。 + +## 基础用法 + +:::preview 基础用法 || 把 contentType 换成 TEXT 或 MARKDOWN 会切换渲染分支 + +demo-preview=../demos/article-view/basic.vue + +::: + +## 何时使用 + +需要在详情页只读展示文章正文时使用,与 `ArticleEditor` 共用同一套数据类型。 + +## 渲染分支 + +| contentType | 渲染方式 | +| --- | --- | +| `TEXT` | 只读文本域。 | +| `MARKDOWN` | 由 `timi-web` 的 MarkdownView 渲染。 | +| `TIP_TAP` | 由 [TiptapView](/components/tiptap-view) 渲染。 | + +内容为空时统一显示 `emptyText`。 + +## API + + diff --git a/docs/components/authorize-form.md b/docs/components/authorize-form.md new file mode 100644 index 0000000..820f0c7 --- /dev/null +++ b/docs/components/authorize-form.md @@ -0,0 +1,29 @@ +# AuthorizeForm 授权表单 + +登录与注册合一的授权表单,验证码、请求与回调全部由外部注入。 + +## 基础用法 + +:::preview 基础用法 || 演示用验证码由内联 SVG 生成,提交函数为模拟实现 + +demo-preview=../demos/authorize-form/basic.vue + +::: + +## 何时使用 + +需要登录与注册并排在一个面板里切换时使用。组件不发起任何请求,也不保存登录态,全部通过回调交由业务层处理。 + +## 注入能力 + +| 属性 | 说明 | +| --- | --- | +| `captcha` | 拉取验证码,返回 `{ id, data }`,`data` 会直接作为图片地址使用。 | +| `login` | 提交登录,入参含验证码与表单数据。 | +| `register` | 提交注册,入参同上。 | + +表单内部只在请求成功后抛出 `loginSuccess` 或 `registerSuccess`,跳转、写入 token 等动作由外层完成。 + +## API + + diff --git a/docs/components/code-editor.md b/docs/components/code-editor.md new file mode 100644 index 0000000..7f52cf3 --- /dev/null +++ b/docs/components/code-editor.md @@ -0,0 +1,34 @@ +# CodeEditor 代码编辑器 + +带行号、语法高亮与查找替换的代码输入框,基于 textarea 与 Prism 实现。 + +## 基础用法 + +:::preview 基础用法 || 通过 v-model 绑定内容,实例暴露 openSearch 等方法 + +demo-preview=../demos/code-editor/basic.vue + +::: + +## 何时使用 + +需要让用户输入或查看结构化代码时使用。组件不做代码校验,只负责输入、高亮与检索。 + +## 内容绑定 + +`modelValue` 与 `value` 都可作为输入源,`value` 的优先级更高。组件内部会维护一份受控副本,输入时同步抛出 `update:modelValue` 与 `change`。 + +## 实例方法 + +通过模板引用可以调用组件暴露的方法,例如打开查找栏、定位匹配项或替换内容: + +```ts +import type { CodeEditorExpose } from "timi-tdesign-pc"; + +const editorRef = ref(); +editorRef.value?.openSearch(true); +``` + +## API + + diff --git a/docs/components/index.md b/docs/components/index.md new file mode 100644 index 0000000..91c8086 --- /dev/null +++ b/docs/components/index.md @@ -0,0 +1,31 @@ +# 组件总览 + +共 13 个组件,分为布局、编辑器与用户三类。 + +## 布局组件 + +| 组件 | 说明 | +| --- | --- | +| [RootLayout](/components/root-layout) | 提供页面级骨架与统一留白,承载顶部区域与主内容。 | +| [AdminLayout](/components/admin-layout) | 侧边菜单、顶部栏与内容区三区合一的后台骨架,支持菜单折叠。 | + +## 编辑器组件 + +| 组件 | 说明 | +| --- | --- | +| [CodeEditor](/components/code-editor) | 带行号、语法高亮与查找替换的代码输入框。 | +| [TiptapEditor](/components/tiptap-editor) | 基于 Tiptap 的富文本编辑器,内置媒体、表格、链接与代码块等工具栏能力。 | +| [TiptapView](/components/tiptap-view) | Tiptap 内容的只读渲染视图,与编辑器共用同一套样式。 | +| [ArticleEditor](/components/article-editor) | 以 Article 为数据模型,按正文类型切换纯文本、Markdown 与富文本编辑。 | +| [ArticleView](/components/article-view) | 按 Article 的正文类型渲染标题、正文与附件列表。 | +| [NotifyEditor](/components/notify-editor) | 以 NotifyDetail 为数据模型的通知编辑表单,复用文章编辑器能力。 | +| [NotifyView](/components/notify-view) | 渲染通知主题、状态与正文内容。 | + +## 用户组件 + +| 组件 | 说明 | +| --- | --- | +| [AuthorizeForm](/components/authorize-form) | 登录与注册合一的授权表单,验证码、请求与回调全部由外部注入。 | +| [UserProfile](/components/user-profile) | 展示用户头像、昵称与等级信息,支持点击展开资料弹窗。 | +| [UserProfilePopup](/components/user-profile-popup) | 用户资料卡弹窗,由 UserProfile 唤起,也可独立使用。 | +| [UserLevel](/components/user-level) | 按等级值渲染等级图标与文案,等级规则可外部覆盖。 | diff --git a/docs/components/notify-editor.md b/docs/components/notify-editor.md new file mode 100644 index 0000000..4845732 --- /dev/null +++ b/docs/components/notify-editor.md @@ -0,0 +1,37 @@ +# NotifyEditor 通知编辑器 + +以 `NotifyDetail` 为数据模型的通知编辑表单,正文部分复用文章编辑器。 + +## 基础用法 + +:::preview 基础用法 || 通知复用文章编辑器,同时保留主题等自有字段 + +demo-preview=../demos/notify-editor/basic.vue + +::: + +## 何时使用 + +需要编辑系统通知、站内信等内容时使用。通知与文章的差别只在元数据,正文能力完全一致。 + +## 数据模型 + +`NotifyDetail` 只约束正文相关字段,主题、状态等业务字段由外层自行维护并原样保留: + +| 字段 | 说明 | +| --- | --- | +| `content` | 正文内容。 | +| `contentType` | 正文类型,支持 `TEXT`、`TIP_TAP`。 | +| `attachmentList` | 附件列表。 | + +## 提交内容 + +```ts +const detail = await editorRef.value?.submit(); +``` + +与文章编辑器一致,`submit()` 会等待未完成的媒体上传。 + +## API + + diff --git a/docs/components/notify-view.md b/docs/components/notify-view.md new file mode 100644 index 0000000..18845dd --- /dev/null +++ b/docs/components/notify-view.md @@ -0,0 +1,19 @@ +# NotifyView 通知视图 + +渲染通知的正文内容,是 `ArticleView` 在通知场景下的薄封装。 + +## 基础用法 + +:::preview 基础用法 || 传入 NotifyDetail 即可渲染正文 + +demo-preview=../demos/notify-view/basic.vue + +::: + +## 何时使用 + +需要在通知详情页只读展示正文时使用。主题、状态等元数据由业务页面自行呈现,组件只负责正文。 + +## API + + diff --git a/docs/components/root-layout.md b/docs/components/root-layout.md new file mode 100644 index 0000000..45cc77e --- /dev/null +++ b/docs/components/root-layout.md @@ -0,0 +1,19 @@ +# RootLayout 根布局 + +提供页面级骨架与统一留白,承载顶部区域与主内容,底部自动渲染版权与备案信息。 + +## 基础用法 + +:::preview 基础用法 || 插槽填充主体内容,版权信息由四个属性拼装 + +demo-preview=../demos/root-layout/basic.vue + +::: + +## 何时使用 + +需要一套带页脚版权信息的整页容器时使用。组件在窄屏下会自动取消外边距与阴影并撑满视口。 + +## API + + diff --git a/docs/components/tiptap-editor.md b/docs/components/tiptap-editor.md new file mode 100644 index 0000000..c7956a8 --- /dev/null +++ b/docs/components/tiptap-editor.md @@ -0,0 +1,43 @@ +# TiptapEditor 富文本编辑器 + +基于 Tiptap 的富文本编辑器,内置媒体、表格、链接与代码块等工具栏能力。 + +## 基础用法 + +:::preview 基础用法 || 工具栏覆盖标题、颜色、列表、表格、链接、代码块与媒体插入 + +demo-preview=../demos/tiptap-editor/basic.vue + +::: + +## 何时使用 + +需要所见即所得的正文编辑时使用。内容以 HTML 字符串双向绑定,可直接存入数据库。 + +## 媒体上传 + +图片与视频通过 `uploadImage`、`uploadVideo` 回调上传,组件不绑定具体接口。拖拽或粘贴文件时会先插入占位内容,上传成功后替换为真实地址: + +```ts +async function uploadMedia(file: File): Promise { + return await api.upload(file); +} +``` + +未上传成功的媒体会在提交前统一处理,`getPendingMediaCount()` 可查询待处理数量。 + +## 提交内容 + +编辑过程中的 `v-model` 是实时值,提交时建议调用 `submit()` 以等待未完成的上传并归一化内容: + +```ts +const html = await editorRef.value?.submit(); +``` + +## 内边距 + +`paddingTB` 与 `paddingLR` 控制正文内边距,配合 `showPaddingTool` 决定是否显示工具栏里的内边距调节入口,两个方向都支持 `v-model:` 双向绑定。 + +## API + + diff --git a/docs/components/tiptap-view.md b/docs/components/tiptap-view.md new file mode 100644 index 0000000..dd2f631 --- /dev/null +++ b/docs/components/tiptap-view.md @@ -0,0 +1,23 @@ +# TiptapView 富文本视图 + +Tiptap 内容的只读渲染视图,与编辑器共用同一套样式与扩展。 + +## 基础用法 + +:::preview 基础用法 || 超出 maxHeight 时可滚动查看 + +demo-preview=../demos/tiptap-view/basic.vue + +::: + +## 何时使用 + +需要在详情页、审批流等只读场景渲染富文本时使用。相比直接 `v-html`,它复用了编辑器的扩展与样式,能保证展示与编辑效果一致。 + +## 空内容 + +内容为空或规范化后为空字符串时,组件渲染 `emptyText` 占位文案而不是空白区域。 + +## API + + diff --git a/docs/components/user-level.md b/docs/components/user-level.md new file mode 100644 index 0000000..6e6d1bd --- /dev/null +++ b/docs/components/user-level.md @@ -0,0 +1,25 @@ +# UserLevel 用户等级 + +按等级值渲染等级图标,图标来自一张纵向雪碧图,每个等级对应一行。 + +## 基础用法 + +:::preview 全部等级 || 传入 0 到 9 的等级值即可切换到对应图标 + +demo-preview=../demos/user-level/basic.vue + +::: + +## 计算等级 + +组件本体只负责展示,等级换算由导出的 `toUserLevel` 完成。它按固定经验表把经验值换算成等级、当前进度与距下一级所需经验: + +```ts +import { toUserLevel } from "timi-tdesign-pc"; + +const { value, percent, nextLevelUp } = toUserLevel(96); +``` + +## API + + diff --git a/docs/components/user-profile-popup.md b/docs/components/user-profile-popup.md new file mode 100644 index 0000000..a57e859 --- /dev/null +++ b/docs/components/user-profile-popup.md @@ -0,0 +1,37 @@ +# UserProfilePopup 用户资料弹窗 + +用户资料卡弹窗,把 `UserProfile` 挂载到 `timi-web` 的弹层容器中,由悬停触发显示。 + +## 基础用法 + +:::preview 基础用法 || 把鼠标移到文字上查看,切换按钮可更换展示的用户 + +demo-preview=../demos/user-profile-popup/basic.vue + +::: + +## 何时使用 + +页面上出现用户名、头像等标识,且希望悬停时展示完整资料时使用。 + +## 工作原理 + +组件本身是一个隐藏容器,挂载后把自己注册到 `popupUserStore.config`,弹层类型为 `PopupType.EL`: + +```ts +import { UserProfilePopup, popupUserStore } from "timi-tdesign-pc"; + +// 决定弹层里展示谁 +popupUserStore.user.value = user; +``` + +页面上需要同时放置两样东西: + +- ``:资料内容容器,只挂载一次 +- ``:`timi-web` 的弹层容器,同样只挂载一次 + +然后在任意元素上用 `v-popup="popupUserStore.config"` 绑定悬停行为。弹层关闭后 `user` 会被自动清空。 + +## API + + diff --git a/docs/components/user-profile.md b/docs/components/user-profile.md new file mode 100644 index 0000000..f5d913e --- /dev/null +++ b/docs/components/user-profile.md @@ -0,0 +1,24 @@ +# UserProfile 用户资料 + +展示用户头像、昵称、性别与等级信息。 + +## 基础用法 + +:::preview 基础用法 || 传入 UserView 即可,头像与背景支持自定义解析 + +demo-preview=../demos/user-profile/basic.vue + +::: + +## 图片来源 + +按优先级依次取值: + +1. `user.profile.avatarUrl` / `user.profile.wrapperUrl` +2. `resolveAvatarUrl` / `resolveWrapperUrl` 回调的返回值 + +回调适合根据 `attachmentList` 里的附件动态换取带签名的地址。`avatarType` 与 `wrapperType` 用于控制图片渲染模式,取值见导出的 `ImageType`。 + +## API + + diff --git a/docs/demos/admin-layout/basic.vue b/docs/demos/admin-layout/basic.vue new file mode 100644 index 0000000..7efcbd6 --- /dev/null +++ b/docs/demos/admin-layout/basic.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/docs/demos/article-editor/basic.vue b/docs/demos/article-editor/basic.vue new file mode 100644 index 0000000..8b3e34a --- /dev/null +++ b/docs/demos/article-editor/basic.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/docs/demos/article-view/basic.vue b/docs/demos/article-view/basic.vue new file mode 100644 index 0000000..dfd9caf --- /dev/null +++ b/docs/demos/article-view/basic.vue @@ -0,0 +1,20 @@ + + + diff --git a/docs/demos/authorize-form/basic.vue b/docs/demos/authorize-form/basic.vue new file mode 100644 index 0000000..37073c9 --- /dev/null +++ b/docs/demos/authorize-form/basic.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/docs/demos/code-editor/basic.vue b/docs/demos/code-editor/basic.vue new file mode 100644 index 0000000..dd1d7d9 --- /dev/null +++ b/docs/demos/code-editor/basic.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/docs/demos/notify-editor/basic.vue b/docs/demos/notify-editor/basic.vue new file mode 100644 index 0000000..1226afe --- /dev/null +++ b/docs/demos/notify-editor/basic.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/docs/demos/notify-view/basic.vue b/docs/demos/notify-view/basic.vue new file mode 100644 index 0000000..e985ef2 --- /dev/null +++ b/docs/demos/notify-view/basic.vue @@ -0,0 +1,19 @@ + + + diff --git a/docs/demos/root-layout/basic.vue b/docs/demos/root-layout/basic.vue new file mode 100644 index 0000000..8657edc --- /dev/null +++ b/docs/demos/root-layout/basic.vue @@ -0,0 +1,32 @@ + + + + + diff --git a/docs/demos/scenarios/article.vue b/docs/demos/scenarios/article.vue new file mode 100644 index 0000000..0e7c66e --- /dev/null +++ b/docs/demos/scenarios/article.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/docs/demos/scenarios/editor.vue b/docs/demos/scenarios/editor.vue new file mode 100644 index 0000000..720102d --- /dev/null +++ b/docs/demos/scenarios/editor.vue @@ -0,0 +1,179 @@ + + + + + diff --git a/docs/demos/scenarios/notify.vue b/docs/demos/scenarios/notify.vue new file mode 100644 index 0000000..29bf72f --- /dev/null +++ b/docs/demos/scenarios/notify.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/docs/demos/tiptap-editor/basic.vue b/docs/demos/tiptap-editor/basic.vue new file mode 100644 index 0000000..da23069 --- /dev/null +++ b/docs/demos/tiptap-editor/basic.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/docs/demos/tiptap-view/basic.vue b/docs/demos/tiptap-view/basic.vue new file mode 100644 index 0000000..52b88c8 --- /dev/null +++ b/docs/demos/tiptap-view/basic.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/docs/demos/user-level/basic.vue b/docs/demos/user-level/basic.vue new file mode 100644 index 0000000..5cbec6d --- /dev/null +++ b/docs/demos/user-level/basic.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/docs/demos/user-profile-popup/basic.vue b/docs/demos/user-profile-popup/basic.vue new file mode 100644 index 0000000..f4fa244 --- /dev/null +++ b/docs/demos/user-profile-popup/basic.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/docs/demos/user-profile/basic.vue b/docs/demos/user-profile/basic.vue new file mode 100644 index 0000000..d1d94d2 --- /dev/null +++ b/docs/demos/user-profile/basic.vue @@ -0,0 +1,33 @@ + + + diff --git a/docs/guide/demo.md b/docs/guide/demo.md new file mode 100644 index 0000000..166445f --- /dev/null +++ b/docs/guide/demo.md @@ -0,0 +1,113 @@ +# 演示与文档约定 + +本站的演示与 API 文档都由源码驱动,新增组件时只需按下面的顺序补齐三处内容。 + +## 目录结构 + +```text +docs/ +├── .vitepress/ +│ ├── components.ts # 组件元数据清单(唯一数据源) +│ ├── config.ts # 站点配置、侧边栏、markdown 插件 +│ ├── plugins/ +│ │ ├── docgen.ts # vue-docgen-api 解析,产出虚拟模块 +│ │ └── ssr-stub.ts # SSR 阶段替换 timi-web +│ └── theme/ +│ ├── index.ts # 主题入口,注册 TDesign 与自定义组件 +│ ├── containers/ # :::preview 的预览容器 +│ └── components/ # api-table 等文档组件 +├── demos/ # 演示组件,按组件名分目录 +│ └── scenarios/ # 跨组件的组合场景演示 +├── components/ # 组件文档页 +└── scenarios/ # 组合场景文档页 +``` + +单组件文档只回答「这个组件怎么用」,跨组件的协作方式放在 `scenarios/` 下。 + +## 新增一个组件 + +### 1. 登记元数据 + +在 `docs/.vitepress/components.ts` 的 `COMPONENT_LIST` 中追加一项。侧边栏导航、API 数据解析都从这里读取,不需要另外维护列表: + +```ts +{ + name: "CodeEditor", // 必须与组件 defineOptions 的 name 一致 + title: "CodeEditor 代码编辑器", + description: "带行号、语法高亮与查找替换的代码输入框。", + category: "编辑器组件", + entry: "src/components/code-editor/index.vue" +} +``` + +### 2. 编写演示 + +演示组件放在 `docs/demos//` 下。演示直接引用 `src` 源码,改组件会即时热更新: + +```vue + + + +``` + +### 3. 编写文档页 + +在 `docs/components/` 下建立同名 markdown,用 `:::preview` 容器引用演示: + +````md +# CodeEditor 代码编辑器 + +带行号、语法高亮与查找替换的代码输入框。 + +## 基础用法 + +:::preview 基础用法 || 通过 v-model 双向绑定内容 + +demo-preview=../demos/code-editor/basic.vue + +::: + +## API + + +```` + +路径以 markdown 文件所在位置为基准,因此 `docs/components/` 下的页面统一使用 `../demos/`。 + +## API 表从哪来 + +`` 的数据由 `vue-docgen-api` 在构建期解析组件源码得到,通过虚拟模块 `virtual:timi-api` 交给页面渲染。 + +因此: + +- 不需要手写 props / events / slots 表格,改源码后文档自动更新 +- 想让说明出现在表里,就在 props 类型上写 JSDoc 注释: + +```ts +const props = withDefaults(defineProps<{ + /** 侧边栏菜单配置。 */ + menuItems?: AdminMenuItem[]; +}>(), { + menuItems: () => [] +}); +``` + +某个组件解析失败时只会让该组件的 API 区降级为空,不会影响整站构建;构建日志里会打出对应的组件名。 + +## 样式与主题 + +- 演示容器基于 TDesign 实现,未引入额外的 UI 依赖 +- 深色模式由主题入口同步 VitePress 与 TDesign 两套开关,组件内直接使用 TDesign 的 CSS 变量即可自动适配 + +## 关于 SSR + +`timi-web` 的构建产物在模块顶层访问 `window`,无法在 Node 中加载。文档站里真正需要它的只有演示组件,它们全部以 `clientOnly` 方式延迟到浏览器渲染,SSR 阶段则由 `ssr-stub.ts` 提供空实现。 + +所以演示组件不需要额外处理 SSR,但也不要把它当作服务端渲染能力的验证。 diff --git a/docs/guide/index.md b/docs/guide/index.md new file mode 100644 index 0000000..a283ced --- /dev/null +++ b/docs/guide/index.md @@ -0,0 +1,80 @@ +# 快速开始 + +`timi-tdesign-pc` 是面向 PC 端的 Vue 3 业务组件库,底层复用 `timi-web` 的基础组件与编辑器能力。 + +## 安装 + +```sh +pnpm add timi-tdesign-pc tdesign-vue-next +``` + +## 按需引入 + +组件在 ` + + +``` + +## 全局注册 + +每个组件都带有 `install` 方法,可以单独注册为全局组件: + +```ts +import { createApp } from "vue"; +import { CodeEditor, TiptapEditor } from "timi-tdesign-pc"; + +const app = createApp(App); +app.use(CodeEditor); +app.use(TiptapEditor); +``` + +## 注册 timi-web 能力 + +组件内部依赖 `timi-web` 的 `v-popup` 指令与 `Popup` 弹层容器,需要在应用入口注册一次: + +```ts +import TimiWebUI, { VPopup } from "timi-web"; + +app.use(TimiWebUI); +app.directive("popup", VPopup); +``` + +## 引入样式 + +```ts +import "timi-tdesign-pc/style.css"; +``` + +该样式入口已经包含 TDesign 定制与编辑器正文样式,`timi-web` 的样式也会一并带入,无需重复引入。 + +## 数据与回调 + +文章、通知类组件只约束对象的最小字段,业务对象上的其他字段会原样保留。上传与附件地址通过回调注入,库本身不绑定任何接口实现: + +```vue + +``` + +没有附件上传需求时,可以不传上传回调。 + +## 下一步 + +- 在[组件总览](/components/)中浏览全部组件 +- 看[编辑器能力总览](/scenarios/editor)等组合场景,了解多个组件如何协作 +- 了解本站的[演示与文档约定](/guide/demo),向文档站补充新组件 diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..bf818f6 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,23 @@ +--- +layout: home + +hero: + name: timi-tdesign-pc + text: PC 端 TDesign 组件库 + tagline: 基于 Vue 3 与 TDesign Vue Next 的业务组件,每个组件都配有可交互演示与自动生成的 API 文档 + actions: + - theme: brand + text: 快速开始 + link: /guide/ + - theme: alt + text: 浏览组件 + link: /components/ + +features: + - title: 真实可交互 + details: 演示直接运行 src 源码而非静态截图,改动组件源码后文档即时热更新。 + - title: API 自动生成 + details: 由 vue-docgen-api 在构建期解析组件源码提取 props、events、slots 与 expose,文档与代码不会脱节。 + - title: 深色模式联动 + details: 跟随 VitePress 的明暗切换,并同步 TDesign 的 theme-mode,组件在两种主题下都正确显示。 +--- diff --git a/docs/package.json b/docs/package.json new file mode 100644 index 0000000..66ebb41 --- /dev/null +++ b/docs/package.json @@ -0,0 +1,27 @@ +{ + "name": "timi-tdesign-pc-docs", + "private": true, + "version": "0.0.1", + "type": "module", + "description": "timi-tdesign-pc 组件演示与 API 文档站", + "scripts": { + "dev": "vitepress dev .", + "build": "vitepress build .", + "preview": "vitepress preview ." + }, + "dependencies": { + "tdesign-vue-next": "^1.18.6", + "timi-web": "link:E:/WebProject/timi-web", + "vue": "^3.5.26" + }, + "devDependencies": { + "@types/node": "^25.0.8", + "@vitepress-demo-preview/plugin": "^1.4.1", + "less": "^4.5.1", + "markdown-it-container": "^3.0.0", + "typescript": "^5.9.3", + "unplugin-auto-import": "^21.0.0", + "vitepress": "^1.6.4", + "vue-docgen-api": "^4.79.2" + } +} diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml new file mode 100644 index 0000000..e31a114 --- /dev/null +++ b/docs/pnpm-lock.yaml @@ -0,0 +1,2826 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + tdesign-vue-next: + specifier: ^1.18.6 + version: 1.20.8(vue@3.5.43(typescript@5.9.3)) + timi-web: + specifier: link:E:/WebProject/timi-web + version: link:../../timi-web + vue: + specifier: ^3.5.26 + version: 3.5.43(typescript@5.9.3) + devDependencies: + '@types/node': + specifier: ^25.0.8 + version: 25.9.8 + '@vitepress-demo-preview/plugin': + specifier: ^1.4.1 + version: 1.4.1(markdown-it-container@3.0.0)(vitepress@1.6.4(@algolia/client-search@5.59.0)(@types/node@25.9.8)(less@4.9.1)(postcss@8.5.28)(search-insights@2.17.3)(sortablejs@1.15.7)(typescript@5.9.3))(vue@3.5.43(typescript@5.9.3)) + less: + specifier: ^4.5.1 + version: 4.9.1 + markdown-it-container: + specifier: ^3.0.0 + version: 3.0.0 + typescript: + specifier: ^5.9.3 + version: 5.9.3 + unplugin-auto-import: + specifier: ^21.0.0 + version: 21.1.0(@vueuse/core@12.8.2(typescript@5.9.3))(esbuild@0.21.5)(rollup@4.63.4)(vite@5.4.21(@types/node@25.9.8)(less@4.9.1)) + vitepress: + specifier: ^1.6.4 + version: 1.6.4(@algolia/client-search@5.59.0)(@types/node@25.9.8)(less@4.9.1)(postcss@8.5.28)(search-insights@2.17.3)(sortablejs@1.15.7)(typescript@5.9.3) + vue-docgen-api: + specifier: ^4.79.2 + version: 4.79.2(vue@3.5.43(typescript@5.9.3)) + +packages: + + '@algolia/abtesting@1.25.0': + resolution: {integrity: sha512-rSTin9Uta23uaewYVQEp8XI9T3iA/zrg0/1G2vhf8oFFDxFL5vybnZ5IQwsVAg4JpKxPX4/WYNKdcfWrZymk7w==} + engines: {node: '>= 14.0.0'} + + '@algolia/autocomplete-core@1.17.7': + resolution: {integrity: sha512-BjiPOW6ks90UKl7TwMv7oNQMnzU+t/wk9mgIDi6b1tXpUek7MW0lbNOUHpvam9pe3lVCf4xPFT+lK7s+e+fs7Q==} + + '@algolia/autocomplete-plugin-algolia-insights@1.17.7': + resolution: {integrity: sha512-Jca5Ude6yUOuyzjnz57og7Et3aXjbwCSDf/8onLHSQgw1qW3ALl9mrMWaXb5FmPVkV3EtkD2F/+NkT6VHyPu9A==} + peerDependencies: + search-insights: '>= 1 < 3' + + '@algolia/autocomplete-preset-algolia@1.17.7': + resolution: {integrity: sha512-ggOQ950+nwbWROq2MOCIL71RE0DdQZsceqrg32UqnhDz8FlO9rL8ONHNsI2R1MH0tkgVIDKI/D0sMiUchsFdWA==} + peerDependencies: + '@algolia/client-search': '>= 4.9.1 < 6' + algoliasearch: '>= 4.9.1 < 6' + + '@algolia/autocomplete-shared@1.17.7': + resolution: {integrity: sha512-o/1Vurr42U/qskRSuhBH+VKxMvkkUVTLU6WZQr+L5lGZZLYWyhdzWjW0iGXY7EkwRTjBqvN2EsR81yCTGV/kmg==} + peerDependencies: + '@algolia/client-search': '>= 4.9.1 < 6' + algoliasearch: '>= 4.9.1 < 6' + + '@algolia/client-abtesting@5.59.0': + resolution: {integrity: sha512-bm2XN0hCSMYwStSsCBT0/PUB2BDxoyR1Lnub3c392HMEy9bi8PUSW8vR6zltVEKWG2t4PQFWMD5C07bmJxGgPg==} + engines: {node: '>= 14.0.0'} + + '@algolia/client-analytics@5.59.0': + resolution: {integrity: sha512-XOFPOTa69WuqHR6c5tMgnUUwwqQgNSzMpxmhrgA9KmxRf8WIqEa0cokHJvohk5CYb7CZx0xeSL6Bk2IUJ7Lv7Q==} + engines: {node: '>= 14.0.0'} + + '@algolia/client-common@5.59.0': + resolution: {integrity: sha512-PC8ipLOYFKRTfIUY1J3FJxS6ryzWziaXmIX9/sNMoUR8L+XhF7hX2QAeUI87YVl5zujvlYTSOb+HAIqKXDjyHQ==} + engines: {node: '>= 14.0.0'} + + '@algolia/client-insights@5.59.0': + resolution: {integrity: sha512-yFNcCMM5fHiyoR0HuxMrzy+VjDcmhFUZTm2IJ2DHwGsVH3B5SEob4zTmeEZ3j/AZqNnmrJOCKl/tJnBg7+84bA==} + engines: {node: '>= 14.0.0'} + + '@algolia/client-personalization@5.59.0': + resolution: {integrity: sha512-GYja6HkDt2VrQhWmB2cLx3Z5fDwI9no7q+xwCWcFrTPm5CLH9QZvK0XLO9co1FcNIDxxkMaP3AXM39/XcecEOg==} + engines: {node: '>= 14.0.0'} + + '@algolia/client-query-suggestions@5.59.0': + resolution: {integrity: sha512-Wofg7bMpWh8N5qDDZs0wy6whc+KMmdNsxgrIGp9Ug2s1Bka0uq7AjyckdxReKPHLA0Q1qH8X/SNh0wn2t2X2Lw==} + engines: {node: '>= 14.0.0'} + + '@algolia/client-search@5.59.0': + resolution: {integrity: sha512-fHnALZfbEnODczGk14Y/1YBRApp6UEpZUTexGcMUPzY7RDc7q4HN2Y6jh0KUG8Jo9B+q+wOoQEc3ziR0ErbuFg==} + engines: {node: '>= 14.0.0'} + + '@algolia/ingestion@1.59.0': + resolution: {integrity: sha512-Fa38s1mHgoaLCT117sfJ6P78rtxUt93CYxBYpq1VOIcslaF+cH+1h5uikAPsKfxLnsuEDZHiBiaI6eNPTsQMRA==} + engines: {node: '>= 14.0.0'} + + '@algolia/monitoring@1.59.0': + resolution: {integrity: sha512-NyNsRSqM2tF1MX7ZGw/j4rduoEJiQ5wfvbSo/CFVdEzYCjyxbGFRPOZyS/GETJG9rk1TdHOq8NZqKqk/u1fm4g==} + engines: {node: '>= 14.0.0'} + + '@algolia/recommend@5.59.0': + resolution: {integrity: sha512-nXBK2uygWtvbCOffMWqqfjjcEtp9enDKY5/2Pw/Hhw8VVaOyK2ThbGK04bNX/Le+qoK1VHYkodWGVTKfw0Otkw==} + engines: {node: '>= 14.0.0'} + + '@algolia/requester-browser-xhr@5.59.0': + resolution: {integrity: sha512-yb+4afX/zja8QwX0KmV4/ae2kyYkRknsE79CRusYS2U5D8qwn2wq0cn1x12f3tm3F3+5FgmDdbuGdQTuCLSKMQ==} + engines: {node: '>= 14.0.0'} + + '@algolia/requester-fetch@5.59.0': + resolution: {integrity: sha512-Lp52TmpA1QtNmdHzs505Xwf4tgII7RAapkDSF9AAtWIBETcGaTIaXci4Rd9nS6SdaWK1BWTSqAPp5wzh6UN3Ag==} + engines: {node: '>= 14.0.0'} + + '@algolia/requester-node-http@5.59.0': + resolution: {integrity: sha512-YYHLEs5rC6oRTFwT7bJaKBR9NSFzikeVHGAT1ffATmUQzR8XqyhHXjoieAUoR7fBU6I5cfy1FVeh5GoRgriuzA==} + engines: {node: '>= 14.0.0'} + + '@babel/helper-string-parser@7.29.7': + resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.29.7': + resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.29.9': + resolution: {integrity: sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/runtime@7.29.7': + resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.29.8': + resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==} + engines: {node: '>=6.9.0'} + + '@docsearch/css@3.8.2': + resolution: {integrity: sha512-y05ayQFyUmCXze79+56v/4HpycYF3uFqB78pLPrSV5ZKAlDuIAAJNhaRi8tTdRNXh05yxX/TyNnzD6LwSM89vQ==} + + '@docsearch/js@3.8.2': + resolution: {integrity: sha512-Q5wY66qHn0SwA7Taa0aDbHiJvaFJLOJyHmooQ7y8hlwwQLQ/5WwCcoX0g7ii04Qi2DJlHsd0XXzJ8Ypw9+9YmQ==} + + '@docsearch/react@3.8.2': + resolution: {integrity: sha512-xCRrJQlTt8N9GU0DG4ptwHRkfnSnD/YpdeaXe02iKfqs97TkZJv60yE+1eq/tjPcVnTW8dP5qLP7itifFVV5eg==} + peerDependencies: + '@types/react': '>= 16.8.0 < 19.0.0' + react: '>= 16.8.0 < 19.0.0' + react-dom: '>= 16.8.0 < 19.0.0' + search-insights: '>= 1 < 3' + peerDependenciesMeta: + '@types/react': + optional: true + react: + optional: true + react-dom: + optional: true + search-insights: + optional: true + + '@esbuild/aix-ppc64@0.21.5': + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.21.5': + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.21.5': + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.21.5': + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.21.5': + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.21.5': + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.21.5': + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.21.5': + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.21.5': + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.21.5': + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.21.5': + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.21.5': + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.21.5': + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.21.5': + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.21.5': + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.21.5': + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.21.5': + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-x64@0.21.5': + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-x64@0.21.5': + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.21.5': + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.21.5': + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.21.5': + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.21.5': + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + + '@flypeng/tool@5.7.5': + resolution: {integrity: sha512-3/TMouPSQiKcvV4sL/Jog20codkmEObYr0Pn4xJl6J+XEyb1rN/HqaQve2Kv5GhsbBC4s7YSlGcmOCC9CgH9aA==} + + '@iconify-json/simple-icons@1.2.97': + resolution: {integrity: sha512-Z6PmM6jvWVU7rmLzqbxCLJA7SeqCnK6lMHXtjyzHPLZebwuoojBEcHHycppahDzEeN9xujRkrV5J8QpOhMyNrg==} + + '@iconify/types@2.0.0': + resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} + + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/remapping@2.3.5': + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/sourcemap-codec@1.6.0': + resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==} + + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + + '@napi-rs/lzma-linux-x64-gnu@1.5.1': + resolution: {integrity: sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==} + engines: {node: ^22.20 || ^24.12 || >=25} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@popperjs/core@2.11.8': + resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} + + '@rollup/rollup-android-arm-eabi@4.63.4': + resolution: {integrity: sha512-I+BSHzTAhKN2n7ZwGZsegGcZjDpLqFOMAtJz/u6uFGe0pUFbq56dEHjqJV/ZUdRJtNXNxA+hREUatZBvMR3Oiw==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.63.4': + resolution: {integrity: sha512-pu3BdjS2LtEzRu2elmGzS3fIeWSZy4BMDIaLNwjorO76+k2d0LMluijhsDx3KQyQBQ/lLUZCQA9/s6csvUfuhw==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.63.4': + resolution: {integrity: sha512-xfSrj9MHnWK9GaSqT9U0ImHtH/N8WZlHLx4cZHiuLcqs640hvZ3hLPd5UR2AZS57FaE8HrRUSpltbZdWRxHiDA==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.63.4': + resolution: {integrity: sha512-bqU99PLJb/dqb3S0GIMdeuyAEETSUgZBoqXYd3Sd+WCsV+MmPhnN6JrotWyir31+QgH7EvvE5/mwGJlEoci8Fw==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.63.4': + resolution: {integrity: sha512-JinsFZ5G40oXQb+sUuiA5x689vhr6dDYK0H0NL+rwKdL6CqnmYN8PE4ZwfRSoIjrCxqTQG/SLfTtSvHeGxoVlw==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.63.4': + resolution: {integrity: sha512-GAdA4UxpiNm27cLHr2GqXBpAD0x9FqwYBY7/YSP0Ss0/PNi4k8gbviqpIpYbVSRBaS2ZcegXEzgTQMbRNCwxCw==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.63.4': + resolution: {integrity: sha512-qDd6NoA1znaLjp4jR5U/KWCdLAKDJNB8W9ChbbDaKbo0xA+Atln5HK6LFCZ4oJQpemtRZA288DCirFRjrspptw==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-arm-musleabihf@4.63.4': + resolution: {integrity: sha512-WtB5Tz5KTNINb8ZA+8sQ7bmjuS1JrRT7YverYIhUGdWWDlpzVWmIwuZE+jidkEXUn1l0zrEkaIMa8dHF3NGcsA==} + cpu: [arm] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-arm64-gnu@4.63.4': + resolution: {integrity: sha512-VcQ3L1tjnkKzWjryAVaFhHEWcqOfICX9uxVVoDzm2t0DpgKRHd2zOpVrJc0xsWeBZcBFyYROCIBdyR/fS174pg==} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-arm64-musl@4.63.4': + resolution: {integrity: sha512-6+ZQX6P5s0cMDN2Ypb8Lbm2+/sZYmZjdaYny992ujUU9UKi/4CWoJWsl1pNvjWJHNHGK51m+jKGLlh1ylb2ifQ==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-loong64-gnu@4.63.4': + resolution: {integrity: sha512-D72ZnvkFkBXOfzMMQLcwfPLyGkKb7HZ9/mf97B7v6/P5Lbv4oFOtSY/uHbS8lH6uKUOxoKiuokdb50XZSzzbJw==} + cpu: [loong64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-loong64-musl@4.63.4': + resolution: {integrity: sha512-piU6BxeqA3O9KSu3kRCIQQtNqFFaTu21SEV4FwaRZowpnj3bLaWPZHw+xFqCs0XlJ+aOH3PTRWGoglH+mKA/OA==} + cpu: [loong64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-ppc64-gnu@4.63.4': + resolution: {integrity: sha512-/5PGpHwqt2EEEOUs1XwzubE/ucr0dWDQ+to3zqi4Ds7EWpwtQ79wXc4JBoxqj/OwpawTsKWzJxHfSuBOq3DrWA==} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-ppc64-musl@4.63.4': + resolution: {integrity: sha512-cX3beZDLWt7G2oJF+nhChiT+qtaihs+S2xi7ziGmVB+2pwPng6D0Ed0HmElQOgv2UsUmSJJLGwpBao/3TDx3VA==} + cpu: [ppc64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-riscv64-gnu@4.63.4': + resolution: {integrity: sha512-1uz2mGWHyptR7DgHHrlbdRAjXK7v7elGZ9lMja910/RP+ZYbX6xAmCiU9UZSX4hqmgtHMv6lr5l3kq1HIOpcag==} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-riscv64-musl@4.63.4': + resolution: {integrity: sha512-nLS8topojxyz7SRpKR2IODRpQ0XPZ+xaOXvT3+hqK/Uy8Lo5HFgkkIBiIrCu5tL5YqzTvgovGw55PwpahTAGig==} + cpu: [riscv64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-s390x-gnu@4.63.4': + resolution: {integrity: sha512-gs7DRKotr3l3q+jGPQBjH0ng1FjlEDm5ueQrkw5JtQvtLyEIcLASqAEaor56BhkKRzk+IcQzrcanBdb/bBQn8g==} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-x64-gnu@4.63.4': + resolution: {integrity: sha512-791ET7W17NnScOZM7h4dX5hYspxE28htPFsb1awY/NRR8+PRNkS53e475rDdxXXDrP+kwnCcNWg9CX5ztn/Aqw==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-x64-musl@4.63.4': + resolution: {integrity: sha512-iwZQRcmj7g88g3tzefIrQY7qvmuA/cfYwhrDtTBhsmukO4U2huVO5W+86XacUMRvdSFVAc6kZUZy21JaRwiB9w==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@rollup/rollup-openbsd-x64@4.63.4': + resolution: {integrity: sha512-dVHFp9gRWrdTpnqQuGfCwd7hOQDatK1VCP2iWhLY/cGrOQs/ucFzJ6A5SRqbXX12ZDI8EUuejSM5kwg+ja7Png==} + cpu: [x64] + os: [openbsd] + + '@rollup/rollup-openharmony-arm64@4.63.4': + resolution: {integrity: sha512-t3NlauOW6gxZVVFcBEnO62Cb4wbyDFL416gTg1uFI/2tgqYQlf69FbSE115Ajre9I+c26Lk4mcmdFUsS/DGifQ==} + cpu: [arm64] + os: [openharmony] + + '@rollup/rollup-win32-arm64-msvc@4.63.4': + resolution: {integrity: sha512-xWuIaSye5FWZF8+UYtVEcHtRJDN5kN9Kfgxx3Kq8XIov9KSKbc1fiqQCm90SKrgQbUXZelbnUhnlUJmfSE7P9A==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.63.4': + resolution: {integrity: sha512-9ALJJUOg/ZflMJepVo2PlgsGxSaxN7SQ4Z8GoZfVlarWr6r3rkHUNsd/zAio7p4YMtChSMXPionxej4Hkf6CXQ==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-gnu@4.63.4': + resolution: {integrity: sha512-blj9z5qx/Pv4WU0W1NMFDB97e0JH5ed+aZGywW8WCvp/NhWX/4PFAq5uu6Q0AebNn+Vo6KzUYDT++JzTT5ojlQ==} + cpu: [x64] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.63.4': + resolution: {integrity: sha512-Erx822VRBwLa124shbj+wNXe//BOgMEctDV0m1aqTQdNO1S69DgNUCFKC1RCeZfixs1J31l6igk1ziyXErbigQ==} + cpu: [x64] + os: [win32] + + '@shikijs/core@2.5.0': + resolution: {integrity: sha512-uu/8RExTKtavlpH7XqnVYBrfBkUc20ngXiX9NSrBhOVZYv/7XQRKUyhtkeflY5QsxC0GbJThCerruZfsUaSldg==} + + '@shikijs/engine-javascript@2.5.0': + resolution: {integrity: sha512-VjnOpnQf8WuCEZtNUdjjwGUbtAVKuZkVQ/5cHy/tojVVRIRtlWMYVjyWhxOmIq05AlSOv72z7hRNRGVBgQOl0w==} + + '@shikijs/engine-oniguruma@2.5.0': + resolution: {integrity: sha512-pGd1wRATzbo/uatrCIILlAdFVKdxImWJGQ5rFiB5VZi2ve5xj3Ax9jny8QvkaV93btQEwR/rSz5ERFpC5mKNIw==} + + '@shikijs/langs@2.5.0': + resolution: {integrity: sha512-Qfrrt5OsNH5R+5tJ/3uYBBZv3SuGmnRPejV9IlIbFH3HTGLDlkqgHymAlzklVmKBjAaVmkPkyikAV/sQ1wSL+w==} + + '@shikijs/themes@2.5.0': + resolution: {integrity: sha512-wGrk+R8tJnO0VMzmUExHR+QdSaPUl/NKs+a4cQQRWyoc3YFbUzuLEi/KWK1hj+8BfHRKm2jNhhJck1dfstJpiw==} + + '@shikijs/transformers@2.5.0': + resolution: {integrity: sha512-SI494W5X60CaUwgi8u4q4m4s3YAFSxln3tzNjOSYqq54wlVgz0/NbbXEb3mdLbqMBztcmS7bVTaEd2w0qMmfeg==} + + '@shikijs/types@2.5.0': + resolution: {integrity: sha512-ygl5yhxki9ZLNuNpPitBWvcy9fsSKKaRuO4BAlMyagszQidxcpLAr0qiW/q43DtSIDxO6hEbtYLiFZNXO/hdGw==} + + '@shikijs/vscode-textmate@10.0.2': + resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==} + + '@types/estree@1.0.9': + resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + + '@types/hast@3.0.5': + resolution: {integrity: sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==} + + '@types/linkify-it@5.0.0': + resolution: {integrity: sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==} + + '@types/lodash-es@4.17.12': + resolution: {integrity: sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==} + + '@types/lodash@4.17.25': + resolution: {integrity: sha512-+K1NIO8I+F9/wNulfVvu23QYd0Pe9/OCqRrim4NoYIf1VoEDL90Ve4ClzpyqBLc7NpGGWRvYNCKZ1BE/Jpf8dQ==} + + '@types/markdown-it@14.2.0': + resolution: {integrity: sha512-NoQ2yGlLWj4wpxMs+TYmRKk3thDrQ97agr7sFqfLsAlvoS8SNQuTrlObhFqG9iugdTtgOE9jpJ6FNM4ZGsa5xQ==} + + '@types/mdast@4.0.4': + resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} + + '@types/mdurl@2.0.0': + resolution: {integrity: sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==} + + '@types/node@25.9.8': + resolution: {integrity: sha512-VfMrScDmMhUJQmd5hArdQnFvK0OIeD36uN2Va1FcpYaLB/BgkgM8Ulc50XtYISPMz7APJ30+N0T5EM0jlcdfRw==} + + '@types/sortablejs@1.15.9': + resolution: {integrity: sha512-7HP+rZGE2p886PKV9c9OJzLBI6BBJu1O7lJGYnPyG3fS4/duUCcngkNCjsLwIMV+WMqANe3tt4irrXHSIe68OQ==} + + '@types/tinycolor2@1.4.6': + resolution: {integrity: sha512-iEN8J0BoMnsWBqjVbWH/c0G0Hh7O21lpR2/+PrvAVgWdzL7eexIFm4JN/Wn10PTcmNdtS6U67r499mlWMXOxNw==} + + '@types/unist@3.0.3': + resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + + '@types/validator@13.15.10': + resolution: {integrity: sha512-T8L6i7wCuyoK8A/ZeLYt1+q0ty3Zb9+qbSSvrIVitzT3YjZqkTZ40IbRsPanlB4h1QB3JVL1SYCdR6ngtFYcuA==} + + '@types/web-bluetooth@0.0.21': + resolution: {integrity: sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==} + + '@ungap/structured-clone@1.4.0': + resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==} + + '@vitejs/plugin-vue@5.2.4': + resolution: {integrity: sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + vite: ^5.0.0 || ^6.0.0 + vue: ^3.2.25 + + '@vitepress-demo-preview/plugin@1.4.1': + resolution: {integrity: sha512-RYmEieW2URgxw276ztlQfvGeyXjErx0ZyebNUQAFPINXFKdn58b228QqpvwGnsiy0WMxOTUgdH9KUHdX5cfA9w==} + peerDependencies: + markdown-it-container: ^3.0.0 + vitepress: '*' + vue: ^3.2.0 + + '@vue/compiler-core@3.5.43': + resolution: {integrity: sha512-zdiLhnbe1QQqgDT8xZMpNmyqZ3qlI+/Q/FHQco57Kwl/b05HhCzN6eVGN9QU9rbga4CrS0H5SYY8VGHZCt/1Hg==} + + '@vue/compiler-dom@3.5.43': + resolution: {integrity: sha512-PEZoAk3NQmsn/ejMzSOCyTYqwGqczrWm70PuhBKjjv1+TCoQAaO/zOqNwjV+honlNstT5ILxtc+8r8UUfj+iEQ==} + + '@vue/compiler-sfc@3.5.43': + resolution: {integrity: sha512-FCbrG3XNCRl+js3huuKx4IVHBLTvMkJhVepjbxSPu1gn4yWLaYtGNQdjJGZaMytXB6qb76qQDDmDSLy/vkmleQ==} + + '@vue/compiler-ssr@3.5.43': + resolution: {integrity: sha512-GF62orf7KiJX9RqrHNGrYBudsQGD0OhJ5nDs90O8UiDuS40+YMYomiXu6w6EuvtXuRDc3MSNis3EaaSKAVSWpg==} + + '@vue/devtools-api@7.7.10': + resolution: {integrity: sha512-KxtEpUOOpFz/qOGRrAwA36QF7DqIA+FXgCYit9mk9wjbaZt0sXOFz81ElOZtKA4HbWHUdwNjZHBFsFFyp5BZiA==} + + '@vue/devtools-kit@7.7.10': + resolution: {integrity: sha512-3WNi2Kq4tbpVbmhml7RiphmAt0279oh3fKNeWMQIrltfX8Q91b4i5PL8DtyNKdwmcsGrV4fg+erwWOmD05CLIw==} + + '@vue/devtools-shared@7.7.10': + resolution: {integrity: sha512-wOPslzB8vTvpxwdaOcR2qAbwmuSP0L+rhpoC6Cf56V3Jip+HWb7PQQXOUPgBNQARpXsbQX/+mvi8kKucmBGRwQ==} + + '@vue/reactivity@3.5.43': + resolution: {integrity: sha512-G/c9GyOZNI2jVaaS6OX1EF1SSFSv7H0ERqNTl4+DTFMlZmB5eVAB53aLQNam/7NL2NPtaDD7RdVrzf8uJzMuOA==} + + '@vue/runtime-core@3.5.43': + resolution: {integrity: sha512-hU6U6VnVhBGQDpvlnnDlIB8ZGJBiOcgk2lh/0InltHiz3D8oSkluvuvY+do1G2H3+udeKFsmaBlgVYP7gXQzEw==} + + '@vue/runtime-dom@3.5.43': + resolution: {integrity: sha512-Bb2Jc0YjjJdMt1SJmb9b2L/IWd3I8lIT9x9eS/xvvP9CiVgna0ffua74xKRmt4/uSJ+0r4iN8ex1jrqkhQGWQw==} + + '@vue/server-renderer@3.5.43': + resolution: {integrity: sha512-l2Ygjv9NehV94PSBxNWsAHC0j/eIIKbn92mBuWXAPGLnn6HfJ6MH5ubsd+Nk0YoZ5FRuxWI1P2VSoh+dbPQhCQ==} + + '@vue/shared@3.5.43': + resolution: {integrity: sha512-uksS7YGMR5NZyr4JNq0Rp+QyLns0ueaz20KwzIPW9R0LH1Vnt4E+XUM29PNseEbf1www2gOuhuDi5AKOIXag9Q==} + + '@vueuse/core@12.8.2': + resolution: {integrity: sha512-HbvCmZdzAu3VGi/pWYm5Ut+Kd9mn1ZHnn4L5G8kOQTPs/IwIAmJoBrmYk2ckLArgMXZj0AW3n5CAejLUO+PhdQ==} + + '@vueuse/integrations@12.8.2': + resolution: {integrity: sha512-fbGYivgK5uBTRt7p5F3zy6VrETlV9RtZjBqd1/HxGdjdckBgBM4ugP8LHpjolqTj14TXTxSK1ZfgPbHYyGuH7g==} + peerDependencies: + async-validator: ^4 + axios: ^1 + change-case: ^5 + drauu: ^0.4 + focus-trap: ^7 + fuse.js: ^7 + idb-keyval: ^6 + jwt-decode: ^4 + nprogress: ^0.2 + qrcode: ^1.5 + sortablejs: ^1 + universal-cookie: ^7 + peerDependenciesMeta: + async-validator: + optional: true + axios: + optional: true + change-case: + optional: true + drauu: + optional: true + focus-trap: + optional: true + fuse.js: + optional: true + idb-keyval: + optional: true + jwt-decode: + optional: true + nprogress: + optional: true + qrcode: + optional: true + sortablejs: + optional: true + universal-cookie: + optional: true + + '@vueuse/metadata@12.8.2': + resolution: {integrity: sha512-rAyLGEuoBJ/Il5AmFHiziCPdQzRt88VxR+Y/A/QhJ1EWtWqPBBAxTAFaSkviwEuOEZNtW8pvkPgoCZQ+HxqW1A==} + + '@vueuse/shared@12.8.2': + resolution: {integrity: sha512-dznP38YzxZoNloI0qpEfpkms8knDtaoQ6Y/sfS0L7Yki4zh40LFHEhur0odJC6xTHG5dxWVPiUWBXn+wCG2s5w==} + + acorn@7.4.1: + resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} + engines: {node: '>=0.4.0'} + hasBin: true + + acorn@8.18.0: + resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==} + engines: {node: '>=0.4.0'} + hasBin: true + + algoliasearch@5.59.0: + resolution: {integrity: sha512-wUXzaeI7B526W4y1gFg3lcxgDZ67XSgRJIiellYWOas/pLpO7rOtxm9Gr2E/C8aiSDXIgx1q5TdSsvK67Uakqw==} + engines: {node: '>= 14.0.0'} + + argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + asap@2.0.6: + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + + assert-never@1.4.0: + resolution: {integrity: sha512-5oJg84os6NMQNl27T9LnZkvvqzvAnHu03ShCnoj6bsJwS7L8AO4lf+C/XjK/nvzEqQB744moC6V128RucQd1jA==} + + ast-types@0.16.3: + resolution: {integrity: sha512-FvWoWYfSCM6kRxCSH+MGLHIKKGRL6A6AW7Zek2O32REPQRdg131428uRTKMBYAeRd3XXAaHDS60Wpri7CdKDrA==} + engines: {node: '>=4'} + + babel-walk@3.0.0-canary-5: + resolution: {integrity: sha512-GAwkz0AihzY5bkwIY5QDR+LvsRQgB/B+1foMPvi0FZPMl5fjD7ICiznUiBdLYMH1QYe6vqu4gWYytZOccLouFw==} + engines: {node: '>= 10.0.0'} + + birpc@2.9.0: + resolution: {integrity: sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==} + + call-bind-apply-helpers@1.0.2: + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} + engines: {node: '>= 0.4'} + + call-bound@1.0.4: + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} + engines: {node: '>= 0.4'} + + ccount@2.0.1: + resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} + + character-entities-html4@2.1.0: + resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} + + character-entities-legacy@3.0.0: + resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==} + + character-parser@2.2.0: + resolution: {integrity: sha512-+UqJQjFEFaTAs3bNsF2j2kEN1baG/zghZbdqoYEDxGZtJo9LBzl1A+m0D4n3qKx8N2FNv8/Xp6yV9mQmBuptaw==} + + comma-separated-tokens@2.0.3: + resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} + + confbox@0.1.8: + resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + + confbox@0.3.1: + resolution: {integrity: sha512-cKUSoKa8YxFZZSmraVi7onONx3amu77ngK3kGpsYHDH7drPwCRkQE1RYMPlLRrMtnciRj274XNRxcHxnKmDSnA==} + + constantinople@4.0.1: + resolution: {integrity: sha512-vCrqcSIq4//Gx74TXXCGnHpulY1dskqLTFGDmhrGxzeXL8lF8kvXv6mpNWlJj1uD4DW23D4ljAqbY4RRaaUZIw==} + + copy-anything@3.0.5: + resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==} + engines: {node: '>=12.13'} + + copy-anything@4.1.1: + resolution: {integrity: sha512-AoT6Imdr98feSpFfmFwTFN73ccdr7uFPf27cBCgYvyyRyn1BzLRxMvrHNmwXO5LJMddRy4Rdhw2b1h7vSMKsEw==} + engines: {node: '>=18'} + + csstype@3.2.3: + resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==} + + dayjs@1.11.23: + resolution: {integrity: sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==} + + debug@2.6.9: + resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@3.2.7: + resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + dequal@2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + + devlop@1.1.0: + resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + + doctypes@1.1.0: + resolution: {integrity: sha512-LLBi6pEqS6Do3EKQ3J0NqHWV5hhb78Pi8vvESYwyOy2c31ZEZVdtitdzsQsKb7878PEERhzUk0ftqGhG6Mz+pQ==} + + dunder-proto@1.0.1: + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} + + emoji-regex-xs@1.0.0: + resolution: {integrity: sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg==} + + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + entities@7.0.1: + resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==} + engines: {node: '>=0.12'} + + errno@0.1.8: + resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} + hasBin: true + + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} + + es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + + es-object-atoms@1.1.2: + resolution: {integrity: sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==} + engines: {node: '>= 0.4'} + + esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + + escape-string-regexp@5.0.0: + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} + engines: {node: '>=12'} + + esm-resolve@1.0.11: + resolution: {integrity: sha512-LxF0wfUQm3ldUDHkkV2MIbvvY0TgzIpJ420jHSV1Dm+IlplBEWiJTKWM61GtxUfvjV6iD4OtTYFGAGM2uuIUWg==} + + esprima@4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + + estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + exsolve@1.1.1: + resolution: {integrity: sha512-9U/jZUgjnSGyntRr6y5Muu1MJcwFl6kPu7k8qLF0IMNfLqvw0NZ4nnVDq0RVoZ0RvCyumib4Ez3KYrVfilrw+g==} + + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + focus-trap@7.8.0: + resolution: {integrity: sha512-/yNdlIkpWbM0ptxno3ONTuf+2g318kh2ez3KSeZN5dZ8YC6AAmgeWz+GasYYiBJPFaYcSAPeu4GfhUaChzIJXA==} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + get-intrinsic@1.3.0: + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} + + get-proto@1.0.1: + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} + + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} + + has-tostringtag@1.0.2: + resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} + engines: {node: '>= 0.4'} + + hash-sum@2.0.0: + resolution: {integrity: sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==} + + hasown@2.0.4: + resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==} + engines: {node: '>= 0.4'} + + hast-util-to-html@9.0.5: + resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==} + + hast-util-whitespace@3.0.0: + resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} + + hookable@5.5.3: + resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==} + + html-to-image@1.11.13: + resolution: {integrity: sha512-cuOPoI7WApyhBElTTb9oqsawRvZ0rHhaHwghRLlTuffoD1B2aDemlCruLeZrUIIdvG7gs9xeELEPm6PhuASqrg==} + + html-void-elements@3.0.0: + resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} + + iconv-lite@0.4.24: + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} + + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + + is-core-module@2.17.0: + resolution: {integrity: sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==} + engines: {node: '>= 0.4'} + + is-expression@4.0.0: + resolution: {integrity: sha512-zMIXX63sxzG3XrkHkrAPvm/OVZVSCPNkwMHU8oTX7/U3AL78I0QXCEICXUM13BIa8TYGZ68PiTKfQz3yaTNr4A==} + + is-promise@2.2.2: + resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} + + is-regex@1.2.1: + resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} + engines: {node: '>= 0.4'} + + is-what@4.1.16: + resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==} + engines: {node: '>=12.13'} + + js-stringify@1.0.2: + resolution: {integrity: sha512-rtS5ATOo2Q5k1G+DADISilDA6lv79zIiwFd6CcjuIxGKLFm5C+RLImRscVap9k55i+MOZwgliw+NejvkLuGD5g==} + + js-tokens@10.0.0: + resolution: {integrity: sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==} + + jstransformer@1.0.0: + resolution: {integrity: sha512-C9YK3Rf8q6VAPDCCU9fnqo3mAfOH6vUGnMcP4AQAYIEpWtfGLpwOTmZ+igtdK5y+VvI2n3CyYSzy4Qh34eq24A==} + + less@4.9.1: + resolution: {integrity: sha512-orp15PfJvvNDIqJdVWzMI9Sjpjp3VTiw3sfvbB+67LlISTEn8uVT2EdYSuyl02BLvaftv6sdk9Umnxmm5rckmg==} + engines: {node: '>=18'} + hasBin: true + + linkify-it@5.0.2: + resolution: {integrity: sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==} + + local-pkg@1.2.1: + resolution: {integrity: sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q==} + engines: {node: '>=14'} + + lodash-es@4.18.1: + resolution: {integrity: sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==} + + lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + + lodash@4.18.1: + resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==} + + lru-cache@8.0.5: + resolution: {integrity: sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==} + engines: {node: '>=16.14'} + + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + + magic-string@1.4.1: + resolution: {integrity: sha512-8lyCu36ErXR0J9uaGKlKQoiLZKmtI63YGLE8G2o9jyRPdr4X47LusSOwgOJOzcVtp81fTAAjxR7BwKz682Jhow==} + + make-dir@5.1.0: + resolution: {integrity: sha512-IfpFq6UM39dUNiphpA6uDezNx/AvWyhwfICWPR3t1VspkgkMZrL+Rk1RbN1bx+aeNYwOrqGJgEgV3yotk+ZUVw==} + engines: {node: '>=18'} + + mark.js@8.11.1: + resolution: {integrity: sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==} + + markdown-it-container@3.0.0: + resolution: {integrity: sha512-y6oKTq4BB9OQuY/KLfk/O3ysFhB3IMYoIWhGJEidXt1NQFocFK2sA2t0NYZAMyMShAGL6x5OPIbrmXPIqaN9rw==} + + markdown-it@14.3.2: + resolution: {integrity: sha512-sHHjZ5fJKlgrG4qns2YwVcdNep35h5fERrfkD2YNsb9UFk0UIHarbiTaHKVMlPuWAoiilyK8Fv/jAm11slsY7Q==} + hasBin: true + + math-intrinsics@1.1.0: + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} + engines: {node: '>= 0.4'} + + mdast-util-to-hast@13.2.1: + resolution: {integrity: sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==} + + mdurl@2.1.0: + resolution: {integrity: sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==} + + micromark-util-character@2.1.1: + resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==} + + micromark-util-encode@2.0.1: + resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==} + + micromark-util-sanitize-uri@2.0.1: + resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==} + + micromark-util-symbol@2.0.1: + resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==} + + micromark-util-types@2.0.2: + resolution: {integrity: sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==} + + mime@1.6.0: + resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} + engines: {node: '>=4'} + hasBin: true + + minisearch@7.2.0: + resolution: {integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==} + + mitt@3.0.1: + resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} + + mlly@1.8.2: + resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==} + + ms@2.0.0: + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + nanoid@3.3.19: + resolution: {integrity: sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + needle@2.9.1: + resolution: {integrity: sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==} + engines: {node: '>= 4.4.x'} + hasBin: true + + needle@3.5.0: + resolution: {integrity: sha512-jaQyPKKk2YokHrEg+vFDYxXIHTCBgiZwSHOoVx/8V3GIBS8/VN6NdVRmg8q1ERtPkMvmOvebsgga4sAj5hls/w==} + engines: {node: '>= 4.4.x'} + hasBin: true + + object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + + oniguruma-to-es@3.1.1: + resolution: {integrity: sha512-bUH8SDvPkH3ho3dvwJwfonjlQ4R80vjyvrU8YpxuROddv55vAEJrTuCuCVUhhsHbtlD9tGGbaNApGQckXhS8iQ==} + + parse-node-version@1.0.1: + resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==} + engines: {node: '>= 0.10'} + + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + perfect-debounce@1.0.0: + resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@4.0.7: + resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} + engines: {node: '>=12'} + + pkg-types@1.3.1: + resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} + + pkg-types@2.3.3: + resolution: {integrity: sha512-j/lCFdcppV0JxWpCEITdbDltBxPP6cHT+yNJ6Go2OgoSA9518X847X9z0p6LtA4Nc16+eQzCZjRrWanTGvHJ5w==} + + postcss@8.5.28: + resolution: {integrity: sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==} + engines: {node: ^10 || ^12 || >=14} + + preact@10.29.8: + resolution: {integrity: sha512-ej2aVZ+vZ8WO7tvlQWRM9N63A0KzF9q4mWJfDUHgYaIofWY9hu74QdnQrjoPMmZi2/nZ5gN0bJCQF49xQqx09Q==} + peerDependencies: + preact-render-to-string: '>=5' + peerDependenciesMeta: + preact-render-to-string: + optional: true + + probe-image-size@7.4.0: + resolution: {integrity: sha512-cdEprVtZxV+awMde9X+4jILBFYh4CARxVrQaMl4wY4YcPWbul9jntXrIW95NInBDyJwcVUP3U0T6yukN8rMBaQ==} + + promise@7.3.1: + resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} + + property-information@7.2.0: + resolution: {integrity: sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==} + + prr@1.0.1: + resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} + + pug-attrs@3.0.0: + resolution: {integrity: sha512-azINV9dUtzPMFQktvTXciNAfAuVh/L/JCl0vtPCwvOA21uZrC08K/UnmrL+SXGEVc1FwzjW62+xw5S/uaLj6cA==} + + pug-code-gen@3.0.4: + resolution: {integrity: sha512-6okWYIKdasTyXICyEtvobmTZAVX57JkzgzIi4iRJlin8kmhG+Xry2dsus+Mun/nGCn6F2U49haHI5mkELXB14g==} + + pug-error@2.1.0: + resolution: {integrity: sha512-lv7sU9e5Jk8IeUheHata6/UThZ7RK2jnaaNztxfPYUY+VxZyk/ePVaNZ/vwmH8WqGvDz3LrNYt/+gA55NDg6Pg==} + + pug-filters@4.0.0: + resolution: {integrity: sha512-yeNFtq5Yxmfz0f9z2rMXGw/8/4i1cCFecw/Q7+D0V2DdtII5UvqE12VaZ2AY7ri6o5RNXiweGH79OCq+2RQU4A==} + + pug-lexer@5.0.1: + resolution: {integrity: sha512-0I6C62+keXlZPZkOJeVam9aBLVP2EnbeDw3An+k0/QlqdwH6rv8284nko14Na7c0TtqtogfWXcRoFE4O4Ff20w==} + + pug-linker@4.0.0: + resolution: {integrity: sha512-gjD1yzp0yxbQqnzBAdlhbgoJL5qIFJw78juN1NpTLt/mfPJ5VgC4BvkoD3G23qKzJtIIXBbcCt6FioLSFLOHdw==} + + pug-load@3.0.0: + resolution: {integrity: sha512-OCjTEnhLWZBvS4zni/WUMjH2YSUosnsmjGBB1An7CsKQarYSWQ0GCVyd4eQPMFJqZ8w9xgs01QdiZXKVjk92EQ==} + + pug-parser@6.0.0: + resolution: {integrity: sha512-ukiYM/9cH6Cml+AOl5kETtM9NR3WulyVP2y4HOU45DyMim1IeP/OOiyEWRr6qk5I5klpsBnbuHpwKmTx6WURnw==} + + pug-runtime@3.0.1: + resolution: {integrity: sha512-L50zbvrQ35TkpHwv0G6aLSuueDRwc/97XdY8kL3tOT0FmhgG7UypU3VztfV/LATAvmUfYi4wNxSajhSAeNN+Kg==} + + pug-strip-comments@2.0.0: + resolution: {integrity: sha512-zo8DsDpH7eTkPHCXFeAk1xZXJbyoTfdPlNR0bK7rpOMuhBYb0f5qUVCO1xlsitYd3w5FQTK7zpNVKb3rZoUrrQ==} + + pug-walk@2.0.0: + resolution: {integrity: sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ==} + + pug@3.0.4: + resolution: {integrity: sha512-kFfq5mMzrS7+wrl5pLJzZEzemx34OQ0w4SARfhy/3yxTlhbstsudDwJzhf1hP02yHzbjoVMSXUj/Sz6RNfMyXg==} + + punycode.js@2.3.1: + resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} + engines: {node: '>=6'} + + quansync@0.2.11: + resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==} + + recast@0.23.21: + resolution: {integrity: sha512-mFAyJq9vUbSTARLZUvAEf1z3YxlvAwswbmxMx2mPA/MSm4KmpwvwvhsH/NIrZhyOuwD60Lzyw2qh83uCbgTPYw==} + engines: {node: '>= 4'} + + regex-recursion@6.0.2: + resolution: {integrity: sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==} + + regex-utilities@2.3.0: + resolution: {integrity: sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==} + + regex@6.1.0: + resolution: {integrity: sha512-6VwtthbV4o/7+OaAF9I5L5V3llLEsoPyq9P1JVXkedTP33c7MfCG0/5NOPcSJn0TzXcG9YUrR0gQSWioew3LDg==} + + resolve@1.22.12: + resolution: {integrity: sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==} + engines: {node: '>= 0.4'} + hasBin: true + + rfdc@1.4.1: + resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} + + rollup@4.63.4: + resolution: {integrity: sha512-4U0liVayNIoLp3GFl1FcI8561WepLnZ1rqfraGh7S9B3Ur5F9S283y8Futii7RUU2C/97tOBmBy7nYvhoiOpbQ==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + sax@1.6.1: + resolution: {integrity: sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==} + engines: {node: '>=11.0.0'} + + scule@1.3.0: + resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==} + + search-insights@2.17.3: + resolution: {integrity: sha512-RQPdCYTa8A68uM2jwxoY842xDhvx3E5LFL1LxvxCNMev4o5mLuokczhzjAgGwUZBAmOKZknArSxLKmXtIi2AxQ==} + + shiki@2.5.0: + resolution: {integrity: sha512-mI//trrsaiCIPsja5CNfsyNOqgAZUb6VpJA+340toL42UpzQlXpwRV9nch69X6gaUxrr9kaOOa6e3y3uAkGFxQ==} + + sortablejs@1.15.7: + resolution: {integrity: sha512-Kk8wLQPlS+yi1ZEf48a4+fzHa4yxjC30M/Sr2AnQu+f/MPwvvX9XjZ6OWejiz8crBsLwSq8GHqaxaET7u6ux0A==} + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + space-separated-tokens@2.0.2: + resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} + + speakingurl@14.0.1: + resolution: {integrity: sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==} + engines: {node: '>=0.10.0'} + + stream-parser@0.3.1: + resolution: {integrity: sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ==} + + stringify-entities@4.0.4: + resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} + + strip-literal@4.0.0: + resolution: {integrity: sha512-PaqAvfUZKBwc/SLmNZtHmzK+v19Z4O4eS3cKPeGvbIv/U3pnyEq4Tuw3/4v/FwfM8VQaEawsyCcOQ0P+kpwWWw==} + + superjson@2.2.6: + resolution: {integrity: sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA==} + engines: {node: '>=16'} + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + tabbable@6.5.0: + resolution: {integrity: sha512-wieBHXygIm7OyQOu5hQlkk62/WyCFYGlWg7L6/ZCUZwx0o398Zkn4pVmMyfYhfMG8kGrj/Krt8eIk6UKC6VzwA==} + + tdesign-icons-vue-next@0.4.11: + resolution: {integrity: sha512-lBkRUy8bdb6lQLFOOkSb1LPdl4CmZRewrc8SOUlmWkDD/DG3BTsSd/ZQ4Z767pPSlypyvxwSwcJgRv6+zjubAQ==} + peerDependencies: + vue: ^3.0.0 + + tdesign-vue-next@1.20.8: + resolution: {integrity: sha512-grrvotFU6BOUsqHtf5WPlkeLiOqkAukA4/a1Hz0FY2onNCHecNf4SgPbk3ei1GRoCcKg9Nsw4YUx8iJjccJ67w==} + engines: {node: '>= 18'} + peerDependencies: + vue: '>=3.1.0' + + tiny-invariant@1.3.3: + resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==} + + tinycolor2@1.6.0: + resolution: {integrity: sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==} + + tinyglobby@0.2.17: + resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} + engines: {node: '>=12.0.0'} + + token-stream@1.0.0: + resolution: {integrity: sha512-VSsyNPPW74RpHwR8Fc21uubwHY7wMDeJLys2IX5zJNih+OnAnaifKHo+1LHT7DAdloQ7apeaaWg8l7qnf/TnEg==} + + trim-lines@3.0.1: + resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} + + ts-map@1.0.3: + resolution: {integrity: sha512-vDWbsl26LIcPGmDpoVzjEP6+hvHZkBkLW7JpvwbCv/5IYPJlsbzCVXY3wsCeAxAUeTclNOUZxnLdGh3VBD/J6w==} + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + + typescript@5.9.3: + resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + engines: {node: '>=14.17'} + hasBin: true + + uc.micro@2.1.0: + resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==} + + ufo@1.6.4: + resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==} + + undici-types@7.24.6: + resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==} + + unimport@6.5.0: + resolution: {integrity: sha512-t0KLJLRbebz3f7NrQe+vy2ObeugVeM1XqI2oeYnauddmHSglYj3U6bxOJ65IbXmOFkcAGFJK2OyGH7aqHPM6Ug==} + engines: {node: '>=18.12.0'} + peerDependencies: + oxc-parser: '*' + rolldown: ^1.0.0 + peerDependenciesMeta: + oxc-parser: + optional: true + rolldown: + optional: true + + unist-util-is@6.0.1: + resolution: {integrity: sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==} + + unist-util-position@5.0.0: + resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==} + + unist-util-stringify-position@4.0.0: + resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} + + unist-util-visit-parents@6.0.2: + resolution: {integrity: sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==} + + unist-util-visit@5.1.0: + resolution: {integrity: sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==} + + unplugin-auto-import@21.1.0: + resolution: {integrity: sha512-EzrSqWIBulEqCuP7idADXH+tVKYrbwKlR5+r/lOWik0o+Ksny1kitmtryHGNSv7puzzORlcIwT/x2JStiszlHA==} + engines: {node: '>=20.19.0'} + peerDependencies: + '@nuxt/kit': ^4.0.0 + '@vueuse/core': '*' + peerDependenciesMeta: + '@nuxt/kit': + optional: true + '@vueuse/core': + optional: true + + unplugin-utils@0.3.2: + resolution: {integrity: sha512-xVToRh2CTmLk2HnEG7ac4rl1MJTT3RFkpS8B++/SnB0kXvuaavD+n3m/vrzyWQOdJNSZQACnbz01pnppbwV5BA==} + engines: {node: '>=20.19.0'} + + unplugin@3.4.0: + resolution: {integrity: sha512-9skdIFlCsPdFV7wUfZxNsFInlW+7nJmGu2gkTu0OUhF56aXGsHab9x52/QhdJ4lC7ZDPWTxbiC4ANqVlsuaW3w==} + engines: {node: ^20.19.0 || >=22.12.0} + peerDependencies: + '@farmfe/core': '*' + '@rsbuild/core': '*' + '@rspack/core': '*' + bun-types-no-globals: '*' + esbuild: '*' + rolldown: '*' + rollup: '*' + unloader: '*' + vite: '*' + webpack: '*' + peerDependenciesMeta: + '@farmfe/core': + optional: true + '@rsbuild/core': + optional: true + '@rspack/core': + optional: true + bun-types-no-globals: + optional: true + esbuild: + optional: true + rolldown: + optional: true + rollup: + optional: true + unloader: + optional: true + vite: + optional: true + webpack: + optional: true + + validator@13.15.35: + resolution: {integrity: sha512-TQ5pAGhd5whStmqWvYF4OjQROlmv9SMFVt37qoCBdqRffuuklWYQlCNnEs2ZaIBD1kZRNnikiZOS1eqgkar0iw==} + engines: {node: '>= 0.10'} + + vfile-message@4.0.3: + resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==} + + vfile@6.0.3: + resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} + + vite@5.4.21: + resolution: {integrity: sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + + vitepress@1.6.4: + resolution: {integrity: sha512-+2ym1/+0VVrbhNyRoFFesVvBvHAVMZMK0rw60E3X/5349M1GuVdKeazuksqopEdvkKwKGs21Q729jX81/bkBJg==} + hasBin: true + peerDependencies: + markdown-it-mathjax3: ^4 + postcss: ^8 + peerDependenciesMeta: + markdown-it-mathjax3: + optional: true + postcss: + optional: true + + void-elements@3.1.0: + resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==} + engines: {node: '>=0.10.0'} + + vue-docgen-api@4.79.2: + resolution: {integrity: sha512-n9ENAcs+40awPZMsas7STqjkZiVlIjxIKgiJr5rSohDP0/JCrD9VtlzNojafsA1MChm/hz2h3PDtUedx3lbgfA==} + peerDependencies: + vue: '>=2' + + vue-inbrowser-compiler-independent-utils@4.71.1: + resolution: {integrity: sha512-K3wt3iVmNGaFEOUR4JIThQRWfqokxLfnPslD41FDZB2ajXp789+wCqJyGYlIFsvEQ2P61PInw6/ph5iiqg51gg==} + peerDependencies: + vue: '>=2' + + vue@3.5.43: + resolution: {integrity: sha512-o5qZoksdnjIKvW1srZ3ab7pcDNYAerBjRe54D0LBLfRdCYFrSgBHVXokMas35czQc0//lmx4/tuY4ZNQ+Rf2Ng==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + webpack-virtual-modules@0.6.2: + resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==} + + with@7.0.2: + resolution: {integrity: sha512-RNGKj82nUPg3g5ygxkQl0R937xLyho1J24ItRCBTr/m1YnZkzJy1hUiHUJrc/VlsDQzsCnInEGSg3bci0Lmd4w==} + engines: {node: '>= 10.0.0'} + + zwitch@2.0.4: + resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + +snapshots: + + '@algolia/abtesting@1.25.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/autocomplete-core@1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0)(search-insights@2.17.3)': + dependencies: + '@algolia/autocomplete-plugin-algolia-insights': 1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0)(search-insights@2.17.3) + '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0) + transitivePeerDependencies: + - '@algolia/client-search' + - algoliasearch + - search-insights + + '@algolia/autocomplete-plugin-algolia-insights@1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0)(search-insights@2.17.3)': + dependencies: + '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0) + search-insights: 2.17.3 + transitivePeerDependencies: + - '@algolia/client-search' + - algoliasearch + + '@algolia/autocomplete-preset-algolia@1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0)': + dependencies: + '@algolia/autocomplete-shared': 1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0) + '@algolia/client-search': 5.59.0 + algoliasearch: 5.59.0 + + '@algolia/autocomplete-shared@1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0)': + dependencies: + '@algolia/client-search': 5.59.0 + algoliasearch: 5.59.0 + + '@algolia/client-abtesting@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/client-analytics@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/client-common@5.59.0': {} + + '@algolia/client-insights@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/client-personalization@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/client-query-suggestions@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/client-search@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/ingestion@1.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/monitoring@1.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/recommend@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + '@algolia/requester-browser-xhr@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + + '@algolia/requester-fetch@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + + '@algolia/requester-node-http@5.59.0': + dependencies: + '@algolia/client-common': 5.59.0 + + '@babel/helper-string-parser@7.29.7': {} + + '@babel/helper-validator-identifier@7.29.7': {} + + '@babel/parser@7.29.9': + dependencies: + '@babel/types': 7.29.8 + + '@babel/runtime@7.29.7': {} + + '@babel/types@7.29.8': + dependencies: + '@babel/helper-string-parser': 7.29.7 + '@babel/helper-validator-identifier': 7.29.7 + + '@docsearch/css@3.8.2': {} + + '@docsearch/js@3.8.2(@algolia/client-search@5.59.0)(search-insights@2.17.3)': + dependencies: + '@docsearch/react': 3.8.2(@algolia/client-search@5.59.0)(search-insights@2.17.3) + preact: 10.29.8 + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/react' + - preact-render-to-string + - react + - react-dom + - search-insights + + '@docsearch/react@3.8.2(@algolia/client-search@5.59.0)(search-insights@2.17.3)': + dependencies: + '@algolia/autocomplete-core': 1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0)(search-insights@2.17.3) + '@algolia/autocomplete-preset-algolia': 1.17.7(@algolia/client-search@5.59.0)(algoliasearch@5.59.0) + '@docsearch/css': 3.8.2 + algoliasearch: 5.59.0 + optionalDependencies: + search-insights: 2.17.3 + transitivePeerDependencies: + - '@algolia/client-search' + + '@esbuild/aix-ppc64@0.21.5': + optional: true + + '@esbuild/android-arm64@0.21.5': + optional: true + + '@esbuild/android-arm@0.21.5': + optional: true + + '@esbuild/android-x64@0.21.5': + optional: true + + '@esbuild/darwin-arm64@0.21.5': + optional: true + + '@esbuild/darwin-x64@0.21.5': + optional: true + + '@esbuild/freebsd-arm64@0.21.5': + optional: true + + '@esbuild/freebsd-x64@0.21.5': + optional: true + + '@esbuild/linux-arm64@0.21.5': + optional: true + + '@esbuild/linux-arm@0.21.5': + optional: true + + '@esbuild/linux-ia32@0.21.5': + optional: true + + '@esbuild/linux-loong64@0.21.5': + optional: true + + '@esbuild/linux-mips64el@0.21.5': + optional: true + + '@esbuild/linux-ppc64@0.21.5': + optional: true + + '@esbuild/linux-riscv64@0.21.5': + optional: true + + '@esbuild/linux-s390x@0.21.5': + optional: true + + '@esbuild/linux-x64@0.21.5': + optional: true + + '@esbuild/netbsd-x64@0.21.5': + optional: true + + '@esbuild/openbsd-x64@0.21.5': + optional: true + + '@esbuild/sunos-x64@0.21.5': + optional: true + + '@esbuild/win32-arm64@0.21.5': + optional: true + + '@esbuild/win32-ia32@0.21.5': + optional: true + + '@esbuild/win32-x64@0.21.5': + optional: true + + '@flypeng/tool@5.7.5': + dependencies: + dayjs: 1.11.23 + html-to-image: 1.11.13 + lodash: 4.18.1 + + '@iconify-json/simple-icons@1.2.97': + dependencies: + '@iconify/types': 2.0.0 + + '@iconify/types@2.0.0': {} + + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/remapping@2.3.5': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/sourcemap-codec@1.6.0': {} + + '@jridgewell/trace-mapping@0.3.31': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.6.0 + + '@napi-rs/lzma-linux-x64-gnu@1.5.1': + optional: true + + '@popperjs/core@2.11.8': {} + + '@rollup/rollup-android-arm-eabi@4.63.4': + optional: true + + '@rollup/rollup-android-arm64@4.63.4': + optional: true + + '@rollup/rollup-darwin-arm64@4.63.4': + optional: true + + '@rollup/rollup-darwin-x64@4.63.4': + optional: true + + '@rollup/rollup-freebsd-arm64@4.63.4': + optional: true + + '@rollup/rollup-freebsd-x64@4.63.4': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.63.4': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.63.4': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.63.4': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.63.4': + optional: true + + '@rollup/rollup-linux-loong64-gnu@4.63.4': + optional: true + + '@rollup/rollup-linux-loong64-musl@4.63.4': + optional: true + + '@rollup/rollup-linux-ppc64-gnu@4.63.4': + optional: true + + '@rollup/rollup-linux-ppc64-musl@4.63.4': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.63.4': + optional: true + + '@rollup/rollup-linux-riscv64-musl@4.63.4': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.63.4': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.63.4': + optional: true + + '@rollup/rollup-linux-x64-musl@4.63.4': + optional: true + + '@rollup/rollup-openbsd-x64@4.63.4': + optional: true + + '@rollup/rollup-openharmony-arm64@4.63.4': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.63.4': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.63.4': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.63.4': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.63.4': + optional: true + + '@shikijs/core@2.5.0': + dependencies: + '@shikijs/engine-javascript': 2.5.0 + '@shikijs/engine-oniguruma': 2.5.0 + '@shikijs/types': 2.5.0 + '@shikijs/vscode-textmate': 10.0.2 + '@types/hast': 3.0.5 + hast-util-to-html: 9.0.5 + + '@shikijs/engine-javascript@2.5.0': + dependencies: + '@shikijs/types': 2.5.0 + '@shikijs/vscode-textmate': 10.0.2 + oniguruma-to-es: 3.1.1 + + '@shikijs/engine-oniguruma@2.5.0': + dependencies: + '@shikijs/types': 2.5.0 + '@shikijs/vscode-textmate': 10.0.2 + + '@shikijs/langs@2.5.0': + dependencies: + '@shikijs/types': 2.5.0 + + '@shikijs/themes@2.5.0': + dependencies: + '@shikijs/types': 2.5.0 + + '@shikijs/transformers@2.5.0': + dependencies: + '@shikijs/core': 2.5.0 + '@shikijs/types': 2.5.0 + + '@shikijs/types@2.5.0': + dependencies: + '@shikijs/vscode-textmate': 10.0.2 + '@types/hast': 3.0.5 + + '@shikijs/vscode-textmate@10.0.2': {} + + '@types/estree@1.0.9': {} + + '@types/hast@3.0.5': + dependencies: + '@types/unist': 3.0.3 + + '@types/linkify-it@5.0.0': {} + + '@types/lodash-es@4.17.12': + dependencies: + '@types/lodash': 4.17.25 + + '@types/lodash@4.17.25': {} + + '@types/markdown-it@14.2.0': + dependencies: + '@types/linkify-it': 5.0.0 + '@types/mdurl': 2.0.0 + + '@types/mdast@4.0.4': + dependencies: + '@types/unist': 3.0.3 + + '@types/mdurl@2.0.0': {} + + '@types/node@25.9.8': + dependencies: + undici-types: 7.24.6 + + '@types/sortablejs@1.15.9': {} + + '@types/tinycolor2@1.4.6': {} + + '@types/unist@3.0.3': {} + + '@types/validator@13.15.10': {} + + '@types/web-bluetooth@0.0.21': {} + + '@ungap/structured-clone@1.4.0': {} + + '@vitejs/plugin-vue@5.2.4(vite@5.4.21(@types/node@25.9.8)(less@4.9.1))(vue@3.5.43(typescript@5.9.3))': + dependencies: + vite: 5.4.21(@types/node@25.9.8)(less@4.9.1) + vue: 3.5.43(typescript@5.9.3) + + '@vitepress-demo-preview/plugin@1.4.1(markdown-it-container@3.0.0)(vitepress@1.6.4(@algolia/client-search@5.59.0)(@types/node@25.9.8)(less@4.9.1)(postcss@8.5.28)(search-insights@2.17.3)(sortablejs@1.15.7)(typescript@5.9.3))(vue@3.5.43(typescript@5.9.3))': + dependencies: + '@flypeng/tool': 5.7.5 + markdown-it: 14.3.2 + markdown-it-container: 3.0.0 + vitepress: 1.6.4(@algolia/client-search@5.59.0)(@types/node@25.9.8)(less@4.9.1)(postcss@8.5.28)(search-insights@2.17.3)(sortablejs@1.15.7)(typescript@5.9.3) + vue: 3.5.43(typescript@5.9.3) + + '@vue/compiler-core@3.5.43': + dependencies: + '@babel/parser': 7.29.9 + '@vue/shared': 3.5.43 + entities: 7.0.1 + estree-walker: 2.0.2 + source-map-js: 1.2.1 + + '@vue/compiler-dom@3.5.43': + dependencies: + '@vue/compiler-core': 3.5.43 + '@vue/shared': 3.5.43 + + '@vue/compiler-sfc@3.5.43': + dependencies: + '@babel/parser': 7.29.9 + '@vue/compiler-core': 3.5.43 + '@vue/compiler-dom': 3.5.43 + '@vue/compiler-ssr': 3.5.43 + '@vue/shared': 3.5.43 + estree-walker: 2.0.2 + magic-string: 0.30.21 + postcss: 8.5.28 + source-map-js: 1.2.1 + + '@vue/compiler-ssr@3.5.43': + dependencies: + '@vue/compiler-dom': 3.5.43 + '@vue/shared': 3.5.43 + + '@vue/devtools-api@7.7.10': + dependencies: + '@vue/devtools-kit': 7.7.10 + + '@vue/devtools-kit@7.7.10': + dependencies: + '@vue/devtools-shared': 7.7.10 + birpc: 2.9.0 + hookable: 5.5.3 + mitt: 3.0.1 + perfect-debounce: 1.0.0 + speakingurl: 14.0.1 + superjson: 2.2.6 + + '@vue/devtools-shared@7.7.10': + dependencies: + rfdc: 1.4.1 + + '@vue/reactivity@3.5.43': + dependencies: + '@vue/shared': 3.5.43 + + '@vue/runtime-core@3.5.43': + dependencies: + '@vue/reactivity': 3.5.43 + '@vue/shared': 3.5.43 + + '@vue/runtime-dom@3.5.43': + dependencies: + '@vue/reactivity': 3.5.43 + '@vue/runtime-core': 3.5.43 + '@vue/shared': 3.5.43 + csstype: 3.2.3 + + '@vue/server-renderer@3.5.43': + dependencies: + '@vue/compiler-ssr': 3.5.43 + '@vue/runtime-dom': 3.5.43 + '@vue/shared': 3.5.43 + + '@vue/shared@3.5.43': {} + + '@vueuse/core@12.8.2(typescript@5.9.3)': + dependencies: + '@types/web-bluetooth': 0.0.21 + '@vueuse/metadata': 12.8.2 + '@vueuse/shared': 12.8.2(typescript@5.9.3) + vue: 3.5.43(typescript@5.9.3) + transitivePeerDependencies: + - typescript + + '@vueuse/integrations@12.8.2(focus-trap@7.8.0)(sortablejs@1.15.7)(typescript@5.9.3)': + dependencies: + '@vueuse/core': 12.8.2(typescript@5.9.3) + '@vueuse/shared': 12.8.2(typescript@5.9.3) + vue: 3.5.43(typescript@5.9.3) + optionalDependencies: + focus-trap: 7.8.0 + sortablejs: 1.15.7 + transitivePeerDependencies: + - typescript + + '@vueuse/metadata@12.8.2': {} + + '@vueuse/shared@12.8.2(typescript@5.9.3)': + dependencies: + vue: 3.5.43(typescript@5.9.3) + transitivePeerDependencies: + - typescript + + acorn@7.4.1: {} + + acorn@8.18.0: {} + + algoliasearch@5.59.0: + dependencies: + '@algolia/abtesting': 1.25.0 + '@algolia/client-abtesting': 5.59.0 + '@algolia/client-analytics': 5.59.0 + '@algolia/client-common': 5.59.0 + '@algolia/client-insights': 5.59.0 + '@algolia/client-personalization': 5.59.0 + '@algolia/client-query-suggestions': 5.59.0 + '@algolia/client-search': 5.59.0 + '@algolia/ingestion': 1.59.0 + '@algolia/monitoring': 1.59.0 + '@algolia/recommend': 5.59.0 + '@algolia/requester-browser-xhr': 5.59.0 + '@algolia/requester-fetch': 5.59.0 + '@algolia/requester-node-http': 5.59.0 + + argparse@2.0.1: {} + + asap@2.0.6: {} + + assert-never@1.4.0: {} + + ast-types@0.16.3: + dependencies: + tslib: 2.8.1 + + babel-walk@3.0.0-canary-5: + dependencies: + '@babel/types': 7.29.8 + + birpc@2.9.0: {} + + call-bind-apply-helpers@1.0.2: + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + + call-bound@1.0.4: + dependencies: + call-bind-apply-helpers: 1.0.2 + get-intrinsic: 1.3.0 + + ccount@2.0.1: {} + + character-entities-html4@2.1.0: {} + + character-entities-legacy@3.0.0: {} + + character-parser@2.2.0: + dependencies: + is-regex: 1.2.1 + + comma-separated-tokens@2.0.3: {} + + confbox@0.1.8: {} + + confbox@0.3.1: {} + + constantinople@4.0.1: + dependencies: + '@babel/parser': 7.29.9 + '@babel/types': 7.29.8 + + copy-anything@3.0.5: + dependencies: + is-what: 4.1.16 + + copy-anything@4.1.1: {} + + csstype@3.2.3: {} + + dayjs@1.11.23: {} + + debug@2.6.9: + dependencies: + ms: 2.0.0 + optional: true + + debug@3.2.7: + dependencies: + ms: 2.1.3 + optional: true + + dequal@2.0.3: {} + + devlop@1.1.0: + dependencies: + dequal: 2.0.3 + + doctypes@1.1.0: {} + + dunder-proto@1.0.1: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-errors: 1.3.0 + gopd: 1.2.0 + + emoji-regex-xs@1.0.0: {} + + entities@4.5.0: {} + + entities@7.0.1: {} + + errno@0.1.8: + dependencies: + prr: 1.0.1 + optional: true + + es-define-property@1.0.1: {} + + es-errors@1.3.0: {} + + es-object-atoms@1.1.2: + dependencies: + es-errors: 1.3.0 + + esbuild@0.21.5: + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + + escape-string-regexp@5.0.0: {} + + esm-resolve@1.0.11: {} + + esprima@4.0.1: {} + + estree-walker@2.0.2: {} + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.9 + + exsolve@1.1.1: {} + + fdir@6.5.0(picomatch@4.0.7): + optionalDependencies: + picomatch: 4.0.7 + + focus-trap@7.8.0: + dependencies: + tabbable: 6.5.0 + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + get-intrinsic@1.3.0: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.2 + function-bind: 1.1.2 + get-proto: 1.0.1 + gopd: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.4 + math-intrinsics: 1.1.0 + + get-proto@1.0.1: + dependencies: + dunder-proto: 1.0.1 + es-object-atoms: 1.1.2 + + gopd@1.2.0: {} + + graceful-fs@4.2.11: + optional: true + + has-symbols@1.1.0: {} + + has-tostringtag@1.0.2: + dependencies: + has-symbols: 1.1.0 + + hash-sum@2.0.0: {} + + hasown@2.0.4: + dependencies: + function-bind: 1.1.2 + + hast-util-to-html@9.0.5: + dependencies: + '@types/hast': 3.0.5 + '@types/unist': 3.0.3 + ccount: 2.0.1 + comma-separated-tokens: 2.0.3 + hast-util-whitespace: 3.0.0 + html-void-elements: 3.0.0 + mdast-util-to-hast: 13.2.1 + property-information: 7.2.0 + space-separated-tokens: 2.0.2 + stringify-entities: 4.0.4 + zwitch: 2.0.4 + + hast-util-whitespace@3.0.0: + dependencies: + '@types/hast': 3.0.5 + + hookable@5.5.3: {} + + html-to-image@1.11.13: {} + + html-void-elements@3.0.0: {} + + iconv-lite@0.4.24: + dependencies: + safer-buffer: 2.1.2 + optional: true + + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + optional: true + + is-core-module@2.17.0: + dependencies: + hasown: 2.0.4 + + is-expression@4.0.0: + dependencies: + acorn: 7.4.1 + object-assign: 4.1.1 + + is-promise@2.2.2: {} + + is-regex@1.2.1: + dependencies: + call-bound: 1.0.4 + gopd: 1.2.0 + has-tostringtag: 1.0.2 + hasown: 2.0.4 + + is-what@4.1.16: {} + + js-stringify@1.0.2: {} + + js-tokens@10.0.0: {} + + jstransformer@1.0.0: + dependencies: + is-promise: 2.2.2 + promise: 7.3.1 + + less@4.9.1: + dependencies: + copy-anything: 3.0.5 + parse-node-version: 1.0.1 + optionalDependencies: + errno: 0.1.8 + graceful-fs: 4.2.11 + make-dir: 5.1.0 + mime: 1.6.0 + needle: 3.5.0 + probe-image-size: 7.4.0 + source-map: 0.6.1 + transitivePeerDependencies: + - supports-color + + linkify-it@5.0.2: + dependencies: + uc.micro: 2.1.0 + + local-pkg@1.2.1: + dependencies: + mlly: 1.8.2 + pkg-types: 2.3.3 + quansync: 0.2.11 + + lodash-es@4.18.1: {} + + lodash.merge@4.6.2: + optional: true + + lodash@4.18.1: {} + + lru-cache@8.0.5: {} + + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + + magic-string@1.4.1: + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + + make-dir@5.1.0: + optional: true + + mark.js@8.11.1: {} + + markdown-it-container@3.0.0: {} + + markdown-it@14.3.2: + dependencies: + argparse: 2.0.1 + entities: 4.5.0 + linkify-it: 5.0.2 + mdurl: 2.1.0 + punycode.js: 2.3.1 + uc.micro: 2.1.0 + + math-intrinsics@1.1.0: {} + + mdast-util-to-hast@13.2.1: + dependencies: + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + '@ungap/structured-clone': 1.4.0 + devlop: 1.1.0 + micromark-util-sanitize-uri: 2.0.1 + trim-lines: 3.0.1 + unist-util-position: 5.0.0 + unist-util-visit: 5.1.0 + vfile: 6.0.3 + + mdurl@2.1.0: {} + + micromark-util-character@2.1.1: + dependencies: + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-util-encode@2.0.1: {} + + micromark-util-sanitize-uri@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-encode: 2.0.1 + micromark-util-symbol: 2.0.1 + + micromark-util-symbol@2.0.1: {} + + micromark-util-types@2.0.2: {} + + mime@1.6.0: + optional: true + + minisearch@7.2.0: {} + + mitt@3.0.1: {} + + mlly@1.8.2: + dependencies: + acorn: 8.18.0 + pathe: 2.0.3 + pkg-types: 1.3.1 + ufo: 1.6.4 + + ms@2.0.0: + optional: true + + ms@2.1.3: + optional: true + + nanoid@3.3.19: {} + + needle@2.9.1: + dependencies: + debug: 3.2.7 + iconv-lite: 0.4.24 + sax: 1.6.1 + transitivePeerDependencies: + - supports-color + optional: true + + needle@3.5.0: + dependencies: + iconv-lite: 0.6.3 + sax: 1.6.1 + optional: true + + object-assign@4.1.1: {} + + oniguruma-to-es@3.1.1: + dependencies: + emoji-regex-xs: 1.0.0 + regex: 6.1.0 + regex-recursion: 6.0.2 + + parse-node-version@1.0.1: {} + + path-parse@1.0.7: {} + + pathe@2.0.3: {} + + perfect-debounce@1.0.0: {} + + picocolors@1.1.1: {} + + picomatch@4.0.7: {} + + pkg-types@1.3.1: + dependencies: + confbox: 0.1.8 + mlly: 1.8.2 + pathe: 2.0.3 + + pkg-types@2.3.3: + dependencies: + confbox: 0.3.1 + exsolve: 1.1.1 + pathe: 2.0.3 + + postcss@8.5.28: + dependencies: + nanoid: 3.3.19 + picocolors: 1.1.1 + source-map-js: 1.2.1 + + preact@10.29.8: {} + + probe-image-size@7.4.0: + dependencies: + lodash.merge: 4.6.2 + needle: 2.9.1 + stream-parser: 0.3.1 + transitivePeerDependencies: + - supports-color + optional: true + + promise@7.3.1: + dependencies: + asap: 2.0.6 + + property-information@7.2.0: {} + + prr@1.0.1: + optional: true + + pug-attrs@3.0.0: + dependencies: + constantinople: 4.0.1 + js-stringify: 1.0.2 + pug-runtime: 3.0.1 + + pug-code-gen@3.0.4: + dependencies: + constantinople: 4.0.1 + doctypes: 1.1.0 + js-stringify: 1.0.2 + pug-attrs: 3.0.0 + pug-error: 2.1.0 + pug-runtime: 3.0.1 + void-elements: 3.1.0 + with: 7.0.2 + + pug-error@2.1.0: {} + + pug-filters@4.0.0: + dependencies: + constantinople: 4.0.1 + jstransformer: 1.0.0 + pug-error: 2.1.0 + pug-walk: 2.0.0 + resolve: 1.22.12 + + pug-lexer@5.0.1: + dependencies: + character-parser: 2.2.0 + is-expression: 4.0.0 + pug-error: 2.1.0 + + pug-linker@4.0.0: + dependencies: + pug-error: 2.1.0 + pug-walk: 2.0.0 + + pug-load@3.0.0: + dependencies: + object-assign: 4.1.1 + pug-walk: 2.0.0 + + pug-parser@6.0.0: + dependencies: + pug-error: 2.1.0 + token-stream: 1.0.0 + + pug-runtime@3.0.1: {} + + pug-strip-comments@2.0.0: + dependencies: + pug-error: 2.1.0 + + pug-walk@2.0.0: {} + + pug@3.0.4: + dependencies: + pug-code-gen: 3.0.4 + pug-filters: 4.0.0 + pug-lexer: 5.0.1 + pug-linker: 4.0.0 + pug-load: 3.0.0 + pug-parser: 6.0.0 + pug-runtime: 3.0.1 + pug-strip-comments: 2.0.0 + + punycode.js@2.3.1: {} + + quansync@0.2.11: {} + + recast@0.23.21: + dependencies: + ast-types: 0.16.3 + esprima: 4.0.1 + source-map: 0.6.1 + tiny-invariant: 1.3.3 + tslib: 2.8.1 + + regex-recursion@6.0.2: + dependencies: + regex-utilities: 2.3.0 + + regex-utilities@2.3.0: {} + + regex@6.1.0: + dependencies: + regex-utilities: 2.3.0 + + resolve@1.22.12: + dependencies: + es-errors: 1.3.0 + is-core-module: 2.17.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + rfdc@1.4.1: {} + + rollup@4.63.4: + dependencies: + '@types/estree': 1.0.9 + optionalDependencies: + '@napi-rs/lzma-linux-x64-gnu': 1.5.1 + '@rollup/rollup-android-arm-eabi': 4.63.4 + '@rollup/rollup-android-arm64': 4.63.4 + '@rollup/rollup-darwin-arm64': 4.63.4 + '@rollup/rollup-darwin-x64': 4.63.4 + '@rollup/rollup-freebsd-arm64': 4.63.4 + '@rollup/rollup-freebsd-x64': 4.63.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.63.4 + '@rollup/rollup-linux-arm-musleabihf': 4.63.4 + '@rollup/rollup-linux-arm64-gnu': 4.63.4 + '@rollup/rollup-linux-arm64-musl': 4.63.4 + '@rollup/rollup-linux-loong64-gnu': 4.63.4 + '@rollup/rollup-linux-loong64-musl': 4.63.4 + '@rollup/rollup-linux-ppc64-gnu': 4.63.4 + '@rollup/rollup-linux-ppc64-musl': 4.63.4 + '@rollup/rollup-linux-riscv64-gnu': 4.63.4 + '@rollup/rollup-linux-riscv64-musl': 4.63.4 + '@rollup/rollup-linux-s390x-gnu': 4.63.4 + '@rollup/rollup-linux-x64-gnu': 4.63.4 + '@rollup/rollup-linux-x64-musl': 4.63.4 + '@rollup/rollup-openbsd-x64': 4.63.4 + '@rollup/rollup-openharmony-arm64': 4.63.4 + '@rollup/rollup-win32-arm64-msvc': 4.63.4 + '@rollup/rollup-win32-ia32-msvc': 4.63.4 + '@rollup/rollup-win32-x64-gnu': 4.63.4 + '@rollup/rollup-win32-x64-msvc': 4.63.4 + fsevents: 2.3.3 + + safer-buffer@2.1.2: + optional: true + + sax@1.6.1: + optional: true + + scule@1.3.0: {} + + search-insights@2.17.3: {} + + shiki@2.5.0: + dependencies: + '@shikijs/core': 2.5.0 + '@shikijs/engine-javascript': 2.5.0 + '@shikijs/engine-oniguruma': 2.5.0 + '@shikijs/langs': 2.5.0 + '@shikijs/themes': 2.5.0 + '@shikijs/types': 2.5.0 + '@shikijs/vscode-textmate': 10.0.2 + '@types/hast': 3.0.5 + + sortablejs@1.15.7: {} + + source-map-js@1.2.1: {} + + source-map@0.6.1: {} + + space-separated-tokens@2.0.2: {} + + speakingurl@14.0.1: {} + + stream-parser@0.3.1: + dependencies: + debug: 2.6.9 + transitivePeerDependencies: + - supports-color + optional: true + + stringify-entities@4.0.4: + dependencies: + character-entities-html4: 2.1.0 + character-entities-legacy: 3.0.0 + + strip-literal@4.0.0: + dependencies: + js-tokens: 10.0.0 + + superjson@2.2.6: + dependencies: + copy-anything: 4.1.1 + + supports-preserve-symlinks-flag@1.0.0: {} + + tabbable@6.5.0: {} + + tdesign-icons-vue-next@0.4.11(vue@3.5.43(typescript@5.9.3)): + dependencies: + '@babel/runtime': 7.29.7 + vue: 3.5.43(typescript@5.9.3) + + tdesign-vue-next@1.20.8(vue@3.5.43(typescript@5.9.3)): + dependencies: + '@babel/runtime': 7.29.7 + '@popperjs/core': 2.11.8 + '@types/lodash-es': 4.17.12 + '@types/sortablejs': 1.15.9 + '@types/tinycolor2': 1.4.6 + '@types/validator': 13.15.10 + dayjs: 1.11.23 + lodash-es: 4.18.1 + mitt: 3.0.1 + sortablejs: 1.15.7 + tdesign-icons-vue-next: 0.4.11(vue@3.5.43(typescript@5.9.3)) + tinycolor2: 1.6.0 + validator: 13.15.35 + vue: 3.5.43(typescript@5.9.3) + + tiny-invariant@1.3.3: {} + + tinycolor2@1.6.0: {} + + tinyglobby@0.2.17: + dependencies: + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 + + token-stream@1.0.0: {} + + trim-lines@3.0.1: {} + + ts-map@1.0.3: {} + + tslib@2.8.1: {} + + typescript@5.9.3: {} + + uc.micro@2.1.0: {} + + ufo@1.6.4: {} + + undici-types@7.24.6: {} + + unimport@6.5.0(esbuild@0.21.5)(rollup@4.63.4)(vite@5.4.21(@types/node@25.9.8)(less@4.9.1)): + dependencies: + acorn: 8.18.0 + escape-string-regexp: 5.0.0 + estree-walker: 3.0.3 + local-pkg: 1.2.1 + magic-string: 1.4.1 + mlly: 1.8.2 + pathe: 2.0.3 + picomatch: 4.0.7 + pkg-types: 2.3.3 + scule: 1.3.0 + strip-literal: 4.0.0 + tinyglobby: 0.2.17 + unplugin: 3.4.0(esbuild@0.21.5)(rollup@4.63.4)(vite@5.4.21(@types/node@25.9.8)(less@4.9.1)) + unplugin-utils: 0.3.2 + transitivePeerDependencies: + - '@farmfe/core' + - '@rsbuild/core' + - '@rspack/core' + - bun-types-no-globals + - esbuild + - rollup + - unloader + - vite + - webpack + + unist-util-is@6.0.1: + dependencies: + '@types/unist': 3.0.3 + + unist-util-position@5.0.0: + dependencies: + '@types/unist': 3.0.3 + + unist-util-stringify-position@4.0.0: + dependencies: + '@types/unist': 3.0.3 + + unist-util-visit-parents@6.0.2: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.1 + + unist-util-visit@5.1.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.1 + unist-util-visit-parents: 6.0.2 + + unplugin-auto-import@21.1.0(@vueuse/core@12.8.2(typescript@5.9.3))(esbuild@0.21.5)(rollup@4.63.4)(vite@5.4.21(@types/node@25.9.8)(less@4.9.1)): + dependencies: + local-pkg: 1.2.1 + magic-string: 1.4.1 + picomatch: 4.0.7 + unimport: 6.5.0(esbuild@0.21.5)(rollup@4.63.4)(vite@5.4.21(@types/node@25.9.8)(less@4.9.1)) + unplugin: 3.4.0(esbuild@0.21.5)(rollup@4.63.4)(vite@5.4.21(@types/node@25.9.8)(less@4.9.1)) + unplugin-utils: 0.3.2 + optionalDependencies: + '@vueuse/core': 12.8.2(typescript@5.9.3) + transitivePeerDependencies: + - '@farmfe/core' + - '@rsbuild/core' + - '@rspack/core' + - bun-types-no-globals + - esbuild + - oxc-parser + - rolldown + - rollup + - unloader + - vite + - webpack + + unplugin-utils@0.3.2: + dependencies: + pathe: 2.0.3 + picomatch: 4.0.7 + + unplugin@3.4.0(esbuild@0.21.5)(rollup@4.63.4)(vite@5.4.21(@types/node@25.9.8)(less@4.9.1)): + dependencies: + '@jridgewell/remapping': 2.3.5 + picomatch: 4.0.7 + webpack-virtual-modules: 0.6.2 + optionalDependencies: + esbuild: 0.21.5 + rollup: 4.63.4 + vite: 5.4.21(@types/node@25.9.8)(less@4.9.1) + + validator@13.15.35: {} + + vfile-message@4.0.3: + dependencies: + '@types/unist': 3.0.3 + unist-util-stringify-position: 4.0.0 + + vfile@6.0.3: + dependencies: + '@types/unist': 3.0.3 + vfile-message: 4.0.3 + + vite@5.4.21(@types/node@25.9.8)(less@4.9.1): + dependencies: + esbuild: 0.21.5 + postcss: 8.5.28 + rollup: 4.63.4 + optionalDependencies: + '@types/node': 25.9.8 + fsevents: 2.3.3 + less: 4.9.1 + + vitepress@1.6.4(@algolia/client-search@5.59.0)(@types/node@25.9.8)(less@4.9.1)(postcss@8.5.28)(search-insights@2.17.3)(sortablejs@1.15.7)(typescript@5.9.3): + dependencies: + '@docsearch/css': 3.8.2 + '@docsearch/js': 3.8.2(@algolia/client-search@5.59.0)(search-insights@2.17.3) + '@iconify-json/simple-icons': 1.2.97 + '@shikijs/core': 2.5.0 + '@shikijs/transformers': 2.5.0 + '@shikijs/types': 2.5.0 + '@types/markdown-it': 14.2.0 + '@vitejs/plugin-vue': 5.2.4(vite@5.4.21(@types/node@25.9.8)(less@4.9.1))(vue@3.5.43(typescript@5.9.3)) + '@vue/devtools-api': 7.7.10 + '@vue/shared': 3.5.43 + '@vueuse/core': 12.8.2(typescript@5.9.3) + '@vueuse/integrations': 12.8.2(focus-trap@7.8.0)(sortablejs@1.15.7)(typescript@5.9.3) + focus-trap: 7.8.0 + mark.js: 8.11.1 + minisearch: 7.2.0 + shiki: 2.5.0 + vite: 5.4.21(@types/node@25.9.8)(less@4.9.1) + vue: 3.5.43(typescript@5.9.3) + optionalDependencies: + postcss: 8.5.28 + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - async-validator + - axios + - change-case + - drauu + - fuse.js + - idb-keyval + - jwt-decode + - less + - lightningcss + - nprogress + - preact-render-to-string + - qrcode + - react + - react-dom + - sass + - sass-embedded + - search-insights + - sortablejs + - stylus + - sugarss + - terser + - typescript + - universal-cookie + + void-elements@3.1.0: {} + + vue-docgen-api@4.79.2(vue@3.5.43(typescript@5.9.3)): + dependencies: + '@babel/parser': 7.29.9 + '@babel/types': 7.29.8 + '@vue/compiler-dom': 3.5.43 + '@vue/compiler-sfc': 3.5.43 + ast-types: 0.16.3 + esm-resolve: 1.0.11 + hash-sum: 2.0.0 + lru-cache: 8.0.5 + pug: 3.0.4 + recast: 0.23.21 + ts-map: 1.0.3 + vue: 3.5.43(typescript@5.9.3) + vue-inbrowser-compiler-independent-utils: 4.71.1(vue@3.5.43(typescript@5.9.3)) + + vue-inbrowser-compiler-independent-utils@4.71.1(vue@3.5.43(typescript@5.9.3)): + dependencies: + vue: 3.5.43(typescript@5.9.3) + + vue@3.5.43(typescript@5.9.3): + dependencies: + '@vue/compiler-dom': 3.5.43 + '@vue/compiler-sfc': 3.5.43 + '@vue/runtime-dom': 3.5.43 + '@vue/server-renderer': 3.5.43 + '@vue/shared': 3.5.43 + optionalDependencies: + typescript: 5.9.3 + + webpack-virtual-modules@0.6.2: {} + + with@7.0.2: + dependencies: + '@babel/parser': 7.29.9 + '@babel/types': 7.29.8 + assert-never: 1.4.0 + babel-walk: 3.0.0-canary-5 + + zwitch@2.0.4: {} diff --git a/docs/scenarios/article.md b/docs/scenarios/article.md new file mode 100644 index 0000000..7a29fff --- /dev/null +++ b/docs/scenarios/article.md @@ -0,0 +1,23 @@ +# 文章编辑与预览 + +左侧编辑、右侧预览,两侧共用同一个 `Article` 对象,改动实时联动。 + +## 组合演示 + +:::preview 编辑与预览联动 || 切换正文类型时两侧同时切换渲染分支 + +demo-preview=../demos/scenarios/article.vue + +::: + +## 这个场景覆盖了什么 + +- **正文类型切换**:纯文本、Markdown、富文本三种形态共用一份数据 +- **实时联动**:`ArticleEditor` 抛出的更新直接喂给 `ArticleView` +- **字段保留**:`title` 等业务字段由外层维护,编辑器不会丢字段 +- **提交语义**:`submit()` 等待未完成的媒体上传后再返回最终数据 + +## 相关组件 + +- [ArticleEditor](/components/article-editor) +- [ArticleView](/components/article-view) diff --git a/docs/scenarios/editor.md b/docs/scenarios/editor.md new file mode 100644 index 0000000..65bf664 --- /dev/null +++ b/docs/scenarios/editor.md @@ -0,0 +1,24 @@ +# 编辑器能力总览 + +把富文本编辑器、只读视图与代码编辑器放在一起,验证它们共用同一套内容模型与检索能力。 + +## 组合演示 + +:::preview 组合用法 || 两个编辑器各有独立查找栏,提交富文本会等待未完成的上传 + +demo-preview=../demos/scenarios/editor.vue + +::: + +## 这个场景覆盖了什么 + +- **富文本编辑**:工具栏、媒体上传、提交前的占位内容处理 +- **只读渲染**:同一份 HTML 交给 `TiptapView`,展示效果与编辑态一致 +- **代码编辑**:行号、语法高亮与查找替换 +- **统一检索**:`openSearch()` 在两类编辑器上语义一致,便于封装统一的快捷键 + +## 相关组件 + +- [TiptapEditor](/components/tiptap-editor) +- [TiptapView](/components/tiptap-view) +- [CodeEditor](/components/code-editor) diff --git a/docs/scenarios/notify.md b/docs/scenarios/notify.md new file mode 100644 index 0000000..d0e550a --- /dev/null +++ b/docs/scenarios/notify.md @@ -0,0 +1,22 @@ +# 通知编辑与预览 + +通知复用文章编辑器的正文能力,同时保留主题、状态等自有字段。 + +## 组合演示 + +:::preview 编辑与预览联动 || 状态字段由外层维护,切状态不会影响正文 + +demo-preview=../demos/scenarios/notify.vue + +::: + +## 这个场景覆盖了什么 + +- **能力复用**:`NotifyEditor` 内部就是 `ArticleEditor`,正文体验完全一致 +- **元数据独立**:`subject`、`status` 等字段与正文互不干扰 +- **字段透传**:业务字段在编辑过程中原样保留 + +## 相关组件 + +- [NotifyEditor](/components/notify-editor) +- [NotifyView](/components/notify-view) diff --git a/docs/tsconfig.json b/docs/tsconfig.json new file mode 100644 index 0000000..5f9a056 --- /dev/null +++ b/docs/tsconfig.json @@ -0,0 +1,44 @@ +{ + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "Bundler", + "lib": [ + "ESNext", + "DOM", + "DOM.Iterable" + ], + "jsx": "preserve", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "types": [ + "node" + ], + "baseUrl": ".", + "paths": { + "~/*": [ + "../src/*" + ], + "timi-tdesign-pc": [ + "../src/index.ts" + ], + "timi-web/editor": [ + "../../timi-web/src/editor/index.ts" + ] + } + }, + "include": [ + "./**/*.ts", + "./**/*.d.ts", + "./**/*.vue" + ], + "exclude": [ + "node_modules", + ".vitepress/cache", + ".vitepress/dist" + ] +} diff --git a/examples/Root.vue b/examples/Root.vue deleted file mode 100644 index 24cd91a..0000000 --- a/examples/Root.vue +++ /dev/null @@ -1,97 +0,0 @@ - - - - - diff --git a/examples/components/ArticleShowcase.vue b/examples/components/ArticleShowcase.vue deleted file mode 100644 index cc3feaf..0000000 --- a/examples/components/ArticleShowcase.vue +++ /dev/null @@ -1,177 +0,0 @@ - - - - - diff --git a/examples/components/EditorShowcase.vue b/examples/components/EditorShowcase.vue deleted file mode 100644 index 9ef7582..0000000 --- a/examples/components/EditorShowcase.vue +++ /dev/null @@ -1,183 +0,0 @@ - - - - - diff --git a/examples/components/NotifyShowcase.vue b/examples/components/NotifyShowcase.vue deleted file mode 100644 index b4a480b..0000000 --- a/examples/components/NotifyShowcase.vue +++ /dev/null @@ -1,137 +0,0 @@ - - - - - diff --git a/examples/demo-data.ts b/examples/demo-data.ts deleted file mode 100644 index 1f25ef2..0000000 --- a/examples/demo-data.ts +++ /dev/null @@ -1,59 +0,0 @@ -import type { Article, NotifyDetail, UploadResult } from "timi-tdesign-pc"; - -/** 编辑器演示使用的固定内容,避免每个页面各自维护一份 HTML。 */ -export const DEMO_ARTICLE_CONTENT = `

跨平台编辑器

-

这段内容同时验证标题、段落、链接、表格和代码块的渲染。

-

移动端和 PC 端只替换交互层,共享文档模型。

-
const message: string = "timi editor";
`; - -export const DEMO_CODE = `type DemoUser = { -\tid: string; -\tname: string; -}; - -const user: DemoUser = { -\tid: "demo-001", -\tname: "Timi" -}; - -console.log(user.name);`; - -export const DEMO_ARTICLE: Article = { - title: "编辑器组件演示文章", - description: "用于验证文章编辑、预览和附件处理。", - contentType: "TIP_TAP", - content: DEMO_ARTICLE_CONTENT, - attachmentList: [] -}; - -export const DEMO_NOTIFY: NotifyDetail = { - subject: "编辑器通知演示", - msgType: "INTERNAL", - contentType: "TIP_TAP", - content: DEMO_ARTICLE_CONTENT, - status: "WAITING", - attachmentList: [] -}; - -export function cloneArticle(): Article { - return { - ...DEMO_ARTICLE, - attachmentList: [...(DEMO_ARTICLE.attachmentList || [])] - }; -} - -export function cloneNotify(): NotifyDetail { - return { - ...DEMO_NOTIFY, - attachmentList: [...(DEMO_NOTIFY.attachmentList || [])] - }; -} - -/** 返回本地预览地址,让示例无需依赖后端上传接口。 */ -export async function uploadDemoMedia(file: File): Promise { - return { - id: `demo-${Date.now()}-${file.name}`, - name: file.name, - url: URL.createObjectURL(file) - }; -} diff --git a/examples/main.ts b/examples/main.ts deleted file mode 100644 index 1351690..0000000 --- a/examples/main.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { createApp } from "vue"; -import Root from "./Root.vue"; -import TimiWebUI, { VPopup } from "timi-web"; - -import "timi-web/style.css"; -import "~/assets/style/tdesign-custom.less"; - -const app = createApp(Root); -app.use(TimiWebUI); -app.directive("popup", VPopup); -app.mount("#root"); diff --git a/examples/vite-env.d.ts b/examples/vite-env.d.ts deleted file mode 100644 index 140e810..0000000 --- a/examples/vite-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare module "*.vue" { - import type { DefineComponent } from "vue"; - const component: DefineComponent<{}, {}, any>; - export default component; -} diff --git a/index.html b/index.html deleted file mode 100644 index 166eaae..0000000 --- a/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Vite + Vue + TS - - -
- - - diff --git a/package.json b/package.json index 150c4c6..65fef92 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,10 @@ "version": "0.0.1", "license": "MIT", "scripts": { - "dev": "vite", - "dev:doc": "pnpm run -C docs dev", + "dev": "pnpm run -C docs dev", "build": "vue-tsc --noEmit && vite build", "build:doc": "pnpm run -C docs build", + "preview:doc": "pnpm run -C docs preview", "pub": "pnpm run build && npm publish --registry=https://nexus.imyeyu.com/repository/npm-timi/" }, "publishConfig": { @@ -20,7 +20,6 @@ "files": [ "dist/**", "src/**", - "examples/**", "README.md", "package.json" ], diff --git a/src/components/admin-layout/index.ts b/src/components/admin-layout/index.ts new file mode 100644 index 0000000..77c302b --- /dev/null +++ b/src/components/admin-layout/index.ts @@ -0,0 +1,11 @@ +import view from "./index.vue"; +import { WebToolkit } from "timi-web"; + +export const AdminLayout = WebToolkit.withInstall(view); +export default AdminLayout; + +export type { + AdminMenuGroup, + AdminMenuItem, + AdminMenuWidth +} from "./types"; diff --git a/src/components/admin-layout/index.vue b/src/components/admin-layout/index.vue new file mode 100644 index 0000000..13fb67a --- /dev/null +++ b/src/components/admin-layout/index.vue @@ -0,0 +1,370 @@ + + + + + diff --git a/src/components/admin-layout/types.ts b/src/components/admin-layout/types.ts new file mode 100644 index 0000000..efa117d --- /dev/null +++ b/src/components/admin-layout/types.ts @@ -0,0 +1,24 @@ +import type { TdMenuGroupProps, TdMenuItemProps, TdMenuProps } from "tdesign-vue-next"; + +/** 管理端侧边栏菜单项。 */ +export type AdminMenuItem = Omit & { + /** 菜单项唯一值。 */ + value: NonNullable; + /** 菜单项显示文本。 */ + label: string; + /** 菜单项图标名称或渲染节点。 */ + icon?: string | TdMenuItemProps["icon"]; +}; + +/** 管理端侧边栏菜单分组。 */ +export type AdminMenuGroup = Omit & { + /** 分组唯一标识,用于渲染列表的 key。 */ + key?: string | number; + /** 分组标题。 */ + title: NonNullable; + /** 分组内的菜单项。 */ + items: readonly AdminMenuItem[]; +}; + +/** 管理端布局侧边栏菜单的宽度。 */ +export type AdminMenuWidth = TdMenuProps["width"]; diff --git a/src/components/index.ts b/src/components/index.ts index b523378..95708c6 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -11,6 +11,7 @@ import ArticleEditor from "~/components/article-editor"; import ArticleView from "~/components/article-view"; import NotifyEditor from "~/components/notify-editor"; import NotifyView from "~/components/notify-view"; +import AdminLayout from "~/components/admin-layout"; export default [ RootLayout, @@ -24,7 +25,8 @@ export default [ ArticleEditor, ArticleView, NotifyEditor, - NotifyView + NotifyView, + AdminLayout ]; export { @@ -39,9 +41,16 @@ export { ArticleEditor, ArticleView, NotifyEditor, - NotifyView + NotifyView, + AdminLayout }; +export type { + AdminMenuGroup, + AdminMenuItem, + AdminMenuWidth +} from "./admin-layout"; + export type { CodeEditorExpose } from "./code-editor"; diff --git a/tsconfig.json b/tsconfig.json index 2a4c4ca..99cee57 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,9 +20,6 @@ "~/*": [ "./src/*" ], - "@/*": [ - "./examples/*" - ], "timi-web/editor": [ "../timi-web/src/editor/index.ts" ], @@ -35,9 +32,7 @@ "src/**/*.ts", "src/**/*.d.ts", "src/**/*.vue", - "examples/**/*.ts", - "examples/**/*.d.ts", - "examples/**/*.vue" + "auto-imports.d.ts" ], "references": [ { diff --git a/vite.config.ts b/vite.config.ts index 502abba..e17cd43 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,10 +8,6 @@ import { TDesignResolver } from "unplugin-vue-components/resolvers"; import dts from "vite-plugin-dts"; const alias: Alias[] = [ - { - find: "@", - replacement: resolve(__dirname, "./examples") - }, { find: "~", replacement: resolve(__dirname, "./src") @@ -80,7 +76,7 @@ export default defineConfig({ imports: [ "vue" ], - dts: "examples/auto-imports.d.ts", + dts: "auto-imports.d.ts", eslintrc: { enabled: true, globalsPropValue: true