@robot-admin/naive-ui-components 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +5 -2
- package/dist/{C_AudioPlayer-Cj4lUdZo.css.map → C_AudioPlayer-ldTy9Y34.css.map} +1 -1
- package/dist/{C_AvatarGroup-D3PwsKME.css.map → C_AvatarGroup-SIzxuuZr.css.map} +1 -1
- package/dist/{C_Breadcrumb-DOcLt9uX.css.map → C_Breadcrumb-Bqqrl8nX.css.map} +1 -1
- package/dist/C_Breadcrumb.d.cts +2 -2
- package/dist/C_Breadcrumb.d.ts +2 -1
- package/dist/C_Captcha.d.cts +1 -1
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/{C_Chat-DwatUQqu.css.map → C_Chat-CF1SU7mc.css.map} +1 -1
- package/dist/C_Chat.css +1 -1
- package/dist/C_Chat.d.cts +1 -1
- package/dist/C_City.d.cts +1 -1
- package/dist/C_Code.d.cts +1 -1
- package/dist/{C_ContextMenu-CD0iaSju.css.map → C_ContextMenu-Bn_uhJSo.css.map} +1 -1
- package/dist/C_ContextMenu.css +1 -1
- package/dist/C_ContextMenu.d.cts +1 -1
- package/dist/C_Date.d.cts +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Guide.d.cts +1 -1
- package/dist/C_Icon.d.cts +1 -1
- package/dist/C_Language.d.cts +1 -1
- package/dist/{C_Login-BrQBs_m4.css.map → C_Login-B3qYkLrN.css.map} +1 -1
- package/dist/C_Login.css +1 -1
- package/dist/C_Login.d.cts +1 -1
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Menu.cjs +1 -1
- package/dist/C_Menu.d.cts +2 -2
- package/dist/C_Menu.d.ts +2 -1
- package/dist/C_Menu.js +1 -1
- package/dist/C_Menu.js.map +1 -1
- package/dist/C_Menu2.js +1 -1
- package/dist/C_Menu2.js.map +1 -1
- package/dist/{C_OrgChart-BXEp4i4w.css.map → C_OrgChart-ChZu346B.css.map} +1 -1
- package/dist/C_OrgChart.css +1 -1
- package/dist/{C_Skeleton-BJoFYwrF.css.map → C_Skeleton-BNPbaut7.css.map} +1 -1
- package/dist/C_Skeleton.css +1 -1
- package/dist/{C_TagsView-DtGtYhBH.css.map → C_TagsView-BN8vMRsY.css.map} +1 -1
- package/dist/C_TagsView.css +1 -1
- package/dist/C_TagsView.d.cts +1 -1
- package/dist/C_TagsView.d.ts +2 -1
- package/dist/{C_Timeline-irQcO-b7.css.map → C_Timeline-4rk0Dzgn.css.map} +1 -1
- package/dist/C_Timeline.css +1 -1
- package/dist/{C_Transfer-11y3k-WD.css.map → C_Transfer-B-vjvhjI.css.map} +1 -1
- package/dist/C_Transfer.css +1 -1
- package/dist/_shared.cjs +1 -0
- package/dist/_shared.d.cts +2 -0
- package/dist/_shared.d.ts +2 -0
- package/dist/_shared.js +1 -0
- package/dist/constants.d.ts +5 -5
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -16
- package/dist/index.d.ts +107 -154
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index10.vue.d.ts +1 -1
- package/dist/index11.vue.d.ts +1 -1
- package/dist/index12.vue.d.ts +3 -3
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.ts +3 -3
- package/dist/index15.vue.d.ts +5 -5
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.ts +5 -5
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.ts +6 -6
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.ts +1 -1
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index26.vue.d.ts +4 -4
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index28.vue.d.ts +4 -4
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index4.vue.d.ts +4 -4
- package/dist/index5.vue.d.ts +1 -1
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.ts +1 -1
- package/dist/index9.vue.d.ts +2 -2
- package/dist/{types.d.ts → menuAdapter.d.ts} +61 -2
- package/dist/menuAdapter.js +2 -0
- package/dist/menuAdapter.js.map +1 -0
- package/dist/style.css +16 -16
- package/dist/useCollapsePanel.d.ts +1 -1
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDraggableLayout.d.ts +5 -5
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useModalEdit.d.ts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.ts +1 -1
- package/dist/useTimeSelection.d.ts +3 -3
- package/dist/useTreeOperations.d.ts +2 -2
- package/dist/useWorkflowValidation.d.ts +7 -7
- package/package.json +3 -2
- package/dist/index2.d.ts +0 -120
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["C_Code","C_Icon","C_Upload","C_Barcode","C_Captcha","C_Cascade","C_Guide","C_Progress","C_Steps","C_ActionBar","C_Theme","C_Language","C_Date","C_Editor","C_Markdown","C_Map","C_City","C_VtableGantt","C_Signature","C_SplitPane","C_CollapsePanel","C_Time","C_FormSearch","C_Tree","C_QRCode","C_ImageCropper","C_Draggable","C_WaterFall","C_FullCalendar","C_NotificationCenter","C_Cron","C_FormulaEditor","C_AntV","C_VideoPlayer","C_FilePreview","C_WorkFlow","C_Form","C_Table","C_GlobalSearch","C_Menu","C_Breadcrumb","C_TagsView","C_AudioPlayer","C_AvatarGroup","C_Chat","C_ContextMenu","C_Login","C_Timeline","C_Transfer","C_Skeleton","C_OrgChart"],"sources":["../src/plugins/highlight.ts","../src/index.ts"],"sourcesContent":["\n\nimport type { App } from 'vue'\nimport type { HLJSApi, LanguageFn } from 'highlight.js'\nimport hljs from 'highlight.js/lib/core'\n\n// 导入默认主题样式\nimport 'highlight.js/styles/github.css'\n\n// 默认支持的语言包(常用语言预加载)\nimport javascript from 'highlight.js/lib/languages/javascript'\nimport typescript from 'highlight.js/lib/languages/typescript'\nimport json from 'highlight.js/lib/languages/json'\nimport xml from 'highlight.js/lib/languages/xml' // HTML\nimport css from 'highlight.js/lib/languages/css'\nimport bash from 'highlight.js/lib/languages/bash'\nimport yaml from 'highlight.js/lib/languages/yaml'\nimport markdown from 'highlight.js/lib/languages/markdown'\nimport java from 'highlight.js/lib/languages/java'\nimport csharp from 'highlight.js/lib/languages/csharp'\nimport go from 'highlight.js/lib/languages/go'\nimport python from 'highlight.js/lib/languages/python'\n\n// 可选语言包映射(懒加载)\nconst OPTIONAL_LANGUAGES: Record<\n string,\n () => Promise<{ default: LanguageFn }>\n> = {\n cpp: () => import('highlight.js/lib/languages/cpp'),\n c: () => import('highlight.js/lib/languages/c'),\n php: () => import('highlight.js/lib/languages/php'),\n ruby: () => import('highlight.js/lib/languages/ruby'),\n rust: () => import('highlight.js/lib/languages/rust'),\n swift: () => import('highlight.js/lib/languages/swift'),\n kotlin: () => import('highlight.js/lib/languages/kotlin'),\n scss: () => import('highlight.js/lib/languages/scss'),\n less: () => import('highlight.js/lib/languages/less'),\n sql: () => import('highlight.js/lib/languages/sql'),\n dockerfile: () => import('highlight.js/lib/languages/dockerfile'),\n powershell: () => import('highlight.js/lib/languages/powershell'),\n}\n\n// 插件配置选项\nexport interface HighlightPluginOptions {\n autoDetect?: boolean\n extraLanguages?: string[]\n}\n\n// 状态管理\nconst loadedLanguages = new Set<string>()\nconst hlJsInstance: HLJSApi = hljs\n\n/**\n * * @description 注册语言包到 highlight.js 实例\n * ? @param name - 语言名称\n * ? @param languageFn - 语言定义函数\n * ! @return void\n */\nfunction registerLanguage(name: string, languageFn: LanguageFn): void {\n hlJsInstance.registerLanguage(name, languageFn)\n loadedLanguages.add(name)\n}\n\n/**\n * * @description 初始化核心配置,注册默认语言包\n * ? @param options - 插件配置选项\n * ! @return void\n */\nfunction initializeCore(options: HighlightPluginOptions): void {\n // 注册默认语言包\n const defaultLanguages = [\n ['javascript', javascript],\n ['typescript', typescript],\n ['json', json],\n ['html', xml],\n ['xml', xml],\n ['css', css],\n ['bash', bash],\n ['shell', bash],\n ['yaml', yaml],\n ['yml', yaml],\n ['markdown', markdown],\n ['java', java],\n ['csharp', csharp],\n ['go', go],\n ['python', python],\n ] as const\n\n defaultLanguages.forEach(([name, langFn]) => {\n registerLanguage(name, langFn)\n })\n\n // 配置 highlight.js\n hlJsInstance.configure({\n ignoreUnescapedHTML: true,\n languages: options.autoDetect ? undefined : [],\n })\n\n // 预加载额外语言\n if (options.extraLanguages?.length) {\n loadLanguages(options.extraLanguages)\n }\n}\n\n/**\n * * @description 批量加载多个语言包\n * ? @param languages - 要加载的语言名称数组\n * ! @return Promise<string[]> 成功加载的语言名称数组\n */\nasync function loadLanguages(languages: string[]): Promise<string[]> {\n const loadPromises = languages.map(lang => loadLanguage(lang))\n const results = await Promise.allSettled(loadPromises)\n\n return results\n .map((result, index) =>\n result.status === 'fulfilled' ? languages[index] : null\n )\n .filter(Boolean) as string[]\n}\n\n/**\n * * @description 动态加载单个语言包\n * ? @param language - 要加载的语言名称\n * ! @return Promise<boolean> 是否加载成功\n */\nasync function loadLanguage(language: string): Promise<boolean> {\n if (loadedLanguages.has(language)) {\n return true\n }\n\n const loader = OPTIONAL_LANGUAGES[language.toLowerCase()]\n if (!loader) {\n console.warn(`[HighlightPlugin] Language '${language}' not supported`)\n return false\n }\n\n try {\n const languageModule = await loader()\n registerLanguage(language, languageModule.default)\n console.log(`[HighlightPlugin] Language '${language}' loaded successfully`)\n return true\n } catch (error) {\n console.error(\n `[HighlightPlugin] Failed to load language '${language}':`,\n error\n )\n return false\n }\n}\n\n/**\n * * @description 获取 highlight 功能的 API 接口\n * ! @return highlight API 对象,包含所有可用方法\n */\nexport const useHighlight = () => {\n return {\n // 核心方法\n getHljs: () => hlJsInstance,\n\n // 语言管理\n loadLanguage: (language: string) => loadLanguage(language),\n loadLanguages: (languages: string[]) => loadLanguages(languages),\n getLoadedLanguages: () => Array.from(loadedLanguages),\n }\n}\n\n/**\n * * @description 安装 highlight.js 插件到 Vue 应用\n * ? @param app - Vue 应用实例\n * ? @param options - 插件配置选项\n * ! @return void\n */\nexport function setupHighlight(app: App, options: HighlightPluginOptions = {}) {\n const pluginOptions: HighlightPluginOptions = {\n autoDetect: false,\n extraLanguages: [],\n ...options,\n }\n\n // 初始化核心配置\n initializeCore(pluginOptions)\n\n // 挂载到全局\n if (typeof window !== 'undefined') {\n window.hljs = hlJsInstance\n }\n\n // 提供给 Vue 应用\n const highlightAPI = useHighlight()\n app.provide('highlightManager', highlightAPI)\n app.config.globalProperties.$highlight = highlightAPI\n\n console.log('[HighlightPlugin] 🎨 highlight.js plugin installed successfully')\n}\n\n// 导出默认配置\nexport const defaultHighlightOptions: HighlightPluginOptions = {\n autoDetect: false,\n extraLanguages: [],\n}\n\n// 类型声明\ndeclare global {\n interface Window {\n hljs: HLJSApi\n }\n}\n","import type { App, Component } from 'vue'\n\n// ====== 全局样式由 sass CLI 编译到 dist/style.css,不再通过 JS 导入 ======\n\n// ====== 组件导入(仅用于 install 全量注册) ======\nimport { C_Code } from './components/C_Code'\nimport { C_Icon } from './components/C_Icon'\nimport { C_Upload } from './components/C_Upload'\nimport { C_Barcode } from './components/C_Barcode'\nimport { C_Captcha } from './components/C_Captcha'\nimport { C_Cascade } from './components/C_Cascade'\nimport { C_Guide } from './components/C_Guide'\nimport { C_Progress } from './components/C_Progress'\nimport { C_Steps } from './components/C_Steps'\nimport { C_ActionBar } from './components/C_ActionBar'\nimport { C_Theme } from './components/C_Theme'\nimport { C_Language } from './components/C_Language'\nimport { C_Date } from './components/C_Date'\nimport { C_Editor } from './components/C_Editor'\nimport { C_Markdown } from './components/C_Markdown'\nimport { C_Map } from './components/C_Map'\nimport { C_City } from './components/C_City'\nimport { C_VtableGantt } from './components/C_VtableGantt'\nimport { C_Signature } from './components/C_Signature'\nimport { C_SplitPane } from './components/C_SplitPane'\nimport { C_CollapsePanel } from './components/C_CollapsePanel'\nimport { C_Time } from './components/C_Time'\nimport { C_FormSearch } from './components/C_FormSearch'\nimport { C_Tree } from './components/C_Tree'\nimport { C_QRCode } from './components/C_QRCode'\nimport { C_ImageCropper } from './components/C_ImageCropper'\nimport { C_Draggable } from './components/C_Draggable'\nimport { C_WaterFall } from './components/C_WaterFall'\nimport { C_FullCalendar } from './components/C_FullCalendar'\nimport { C_NotificationCenter } from './components/C_NotificationCenter'\nimport { C_Cron } from './components/C_Cron'\nimport { C_FormulaEditor } from './components/C_FormulaEditor'\nimport { C_AntV } from './components/C_AntV'\nimport { C_VideoPlayer } from './components/C_VideoPlayer'\nimport { C_FilePreview } from './components/C_FilePreview'\nimport { C_WorkFlow } from './components/C_WorkFlow'\nimport { C_Form } from './components/C_Form'\nimport { C_Table } from './components/C_Table'\nimport { C_GlobalSearch } from './components/C_GlobalSearch'\nimport { C_Menu } from './components/C_Menu'\nimport { C_Breadcrumb } from './components/C_Breadcrumb'\nimport { C_TagsView } from './components/C_TagsView'\nimport { C_AudioPlayer } from './components/C_AudioPlayer'\nimport { C_AvatarGroup } from './components/C_AvatarGroup'\nimport { C_Chat } from './components/C_Chat'\nimport { C_ContextMenu } from './components/C_ContextMenu'\nimport { C_Login } from './components/C_Login'\nimport { C_Timeline } from './components/C_Timeline'\nimport { C_Transfer } from './components/C_Transfer'\nimport { C_Skeleton } from './components/C_Skeleton'\nimport { C_OrgChart } from './components/C_OrgChart'\n\n// ====== 插件 ======\nimport { setupHighlight, useHighlight } from './plugins/highlight'\n\n// ====== 安装选项 ======\nexport interface ComponentLibOptions {\n highlight?: import('./plugins/highlight').HighlightPluginOptions\n}\n\n// ====== 组件列表(全量注册使用) ======\nconst components: Component[] = [\n C_Code,\n C_Icon,\n C_Upload,\n C_Barcode,\n C_Captcha,\n C_Cascade,\n C_Guide,\n C_Progress,\n C_Steps,\n C_ActionBar,\n C_Theme,\n C_Language,\n C_Date,\n C_Editor,\n C_Markdown,\n C_Map,\n C_City,\n C_VtableGantt,\n C_Signature,\n C_SplitPane,\n C_CollapsePanel,\n C_Time,\n C_FormSearch,\n C_Tree,\n C_QRCode,\n C_ImageCropper,\n C_Draggable,\n C_WaterFall,\n C_FullCalendar,\n C_NotificationCenter,\n C_Cron,\n C_FormulaEditor,\n C_AntV,\n C_VideoPlayer,\n C_FilePreview,\n C_WorkFlow,\n C_Form,\n C_Table,\n C_GlobalSearch,\n C_Menu,\n C_Breadcrumb,\n C_TagsView,\n C_AudioPlayer,\n C_AvatarGroup,\n C_Chat,\n C_ContextMenu,\n C_Login,\n C_Timeline,\n C_Transfer,\n C_Skeleton,\n C_OrgChart,\n]\n\n// ====== Barrel Re-exports:所有组件 + composables + types + constants ======\nexport * from './components/C_Code'\nexport * from './components/C_Icon'\nexport * from './components/C_Upload'\nexport * from './components/C_Barcode'\nexport * from './components/C_Captcha'\nexport * from './components/C_Cascade'\nexport * from './components/C_Guide'\nexport * from './components/C_Progress'\nexport * from './components/C_Steps'\nexport * from './components/C_ActionBar'\nexport * from './components/C_Theme'\nexport * from './components/C_Language'\nexport * from './components/C_Date'\nexport * from './components/C_Editor'\nexport * from './components/C_Markdown'\nexport * from './components/C_Map'\nexport * from './components/C_City'\nexport * from './components/C_VtableGantt'\nexport * from './components/C_Signature'\nexport * from './components/C_SplitPane'\nexport * from './components/C_CollapsePanel'\nexport * from './components/C_Time'\nexport * from './components/C_FormSearch'\nexport * from './components/C_Tree'\nexport * from './components/C_QRCode'\nexport * from './components/C_ImageCropper'\nexport * from './components/C_Draggable'\nexport * from './components/C_WaterFall'\nexport * from './components/C_FullCalendar'\nexport * from './components/C_NotificationCenter'\nexport * from './components/C_Cron'\nexport * from './components/C_FormulaEditor'\nexport * from './components/C_AntV'\nexport * from './components/C_VideoPlayer'\nexport * from './components/C_FilePreview'\nexport * from './components/C_WorkFlow'\nexport * from './components/C_Form'\nexport * from './components/C_Table'\nexport * from './components/C_GlobalSearch'\nexport * from './components/C_Menu'\nexport * from './components/C_Breadcrumb'\nexport * from './components/C_TagsView'\nexport * from './components/C_AudioPlayer'\nexport * from './components/C_AvatarGroup'\nexport * from './components/C_Chat'\nexport * from './components/C_ContextMenu'\nexport * from './components/C_Login'\nexport * from './components/C_Timeline'\nexport * from './components/C_Transfer'\nexport * from './components/C_Skeleton'\nexport * from './components/C_OrgChart'\n\n// ====== 工具函数(不属于任何组件的公共工具) ======\nexport { setItem, getItem, removeItem, removeAllItem } from './utils/storage'\n\n// ====== 插件导出 ======\nexport { setupHighlight, useHighlight }\nexport type { HighlightPluginOptions } from './plugins/highlight'\n\n// ====== 全量安装 ======\nconst install = (app: App, options: ComponentLibOptions = {}) => {\n components.forEach(component => {\n const name =\n (component as any).__name || (component as any).name || 'UnknownComponent'\n app.component(name, component)\n })\n\n if (options.highlight !== undefined) {\n setupHighlight(app, options.highlight)\n }\n}\n\nexport default {\n install,\n} satisfies { install: (app: App, options?: ComponentLibOptions) => void }\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["C_Code","C_Icon","C_Upload","C_Barcode","C_Captcha","C_Cascade","C_Guide","C_Progress","C_Steps","C_ActionBar","C_Theme","C_Language","C_Date","C_Editor","C_Markdown","C_Map","C_City","C_VtableGantt","C_Signature","C_SplitPane","C_CollapsePanel","C_Time","C_FormSearch","C_Tree","C_QRCode","C_ImageCropper","C_Draggable","C_WaterFall","C_FullCalendar","C_NotificationCenter","C_Cron","C_FormulaEditor","C_AntV","C_VideoPlayer","C_FilePreview","C_WorkFlow","C_Form","C_Table","C_GlobalSearch","C_Menu","C_Breadcrumb","C_TagsView","C_AudioPlayer","C_AvatarGroup","C_Chat","C_ContextMenu","C_Login","C_Timeline","C_Transfer","C_Skeleton","C_OrgChart"],"sources":["../src/plugins/highlight.ts","../src/index.ts"],"sourcesContent":["\n\nimport type { App } from 'vue'\nimport type { HLJSApi, LanguageFn } from 'highlight.js'\nimport hljs from 'highlight.js/lib/core'\n\n// 导入默认主题样式\nimport 'highlight.js/styles/github.css'\n\n// 默认支持的语言包(常用语言预加载)\nimport javascript from 'highlight.js/lib/languages/javascript'\nimport typescript from 'highlight.js/lib/languages/typescript'\nimport json from 'highlight.js/lib/languages/json'\nimport xml from 'highlight.js/lib/languages/xml' // HTML\nimport css from 'highlight.js/lib/languages/css'\nimport bash from 'highlight.js/lib/languages/bash'\nimport yaml from 'highlight.js/lib/languages/yaml'\nimport markdown from 'highlight.js/lib/languages/markdown'\nimport java from 'highlight.js/lib/languages/java'\nimport csharp from 'highlight.js/lib/languages/csharp'\nimport go from 'highlight.js/lib/languages/go'\nimport python from 'highlight.js/lib/languages/python'\n\n// 可选语言包映射(懒加载)\nconst OPTIONAL_LANGUAGES: Record<\n string,\n () => Promise<{ default: LanguageFn }>\n> = {\n cpp: () => import('highlight.js/lib/languages/cpp'),\n c: () => import('highlight.js/lib/languages/c'),\n php: () => import('highlight.js/lib/languages/php'),\n ruby: () => import('highlight.js/lib/languages/ruby'),\n rust: () => import('highlight.js/lib/languages/rust'),\n swift: () => import('highlight.js/lib/languages/swift'),\n kotlin: () => import('highlight.js/lib/languages/kotlin'),\n scss: () => import('highlight.js/lib/languages/scss'),\n less: () => import('highlight.js/lib/languages/less'),\n sql: () => import('highlight.js/lib/languages/sql'),\n dockerfile: () => import('highlight.js/lib/languages/dockerfile'),\n powershell: () => import('highlight.js/lib/languages/powershell'),\n}\n\n// 插件配置选项\nexport interface HighlightPluginOptions {\n autoDetect?: boolean\n extraLanguages?: string[]\n}\n\n// 状态管理\nconst loadedLanguages = new Set<string>()\nconst hlJsInstance: HLJSApi = hljs\n\n/**\n * * @description 注册语言包到 highlight.js 实例\n * ? @param name - 语言名称\n * ? @param languageFn - 语言定义函数\n * ! @return void\n */\nfunction registerLanguage(name: string, languageFn: LanguageFn): void {\n hlJsInstance.registerLanguage(name, languageFn)\n loadedLanguages.add(name)\n}\n\n/**\n * * @description 初始化核心配置,注册默认语言包\n * ? @param options - 插件配置选项\n * ! @return void\n */\nfunction initializeCore(options: HighlightPluginOptions): void {\n // 注册默认语言包\n const defaultLanguages = [\n ['javascript', javascript],\n ['typescript', typescript],\n ['json', json],\n ['html', xml],\n ['xml', xml],\n ['css', css],\n ['bash', bash],\n ['shell', bash],\n ['yaml', yaml],\n ['yml', yaml],\n ['markdown', markdown],\n ['java', java],\n ['csharp', csharp],\n ['go', go],\n ['python', python],\n ] as const\n\n defaultLanguages.forEach(([name, langFn]) => {\n registerLanguage(name, langFn)\n })\n\n // 配置 highlight.js\n hlJsInstance.configure({\n ignoreUnescapedHTML: true,\n languages: options.autoDetect ? undefined : [],\n })\n\n // 预加载额外语言\n if (options.extraLanguages?.length) {\n loadLanguages(options.extraLanguages)\n }\n}\n\n/**\n * * @description 批量加载多个语言包\n * ? @param languages - 要加载的语言名称数组\n * ! @return Promise<string[]> 成功加载的语言名称数组\n */\nasync function loadLanguages(languages: string[]): Promise<string[]> {\n const loadPromises = languages.map(lang => loadLanguage(lang))\n const results = await Promise.allSettled(loadPromises)\n\n return results\n .map((result, index) =>\n result.status === 'fulfilled' ? languages[index] : null\n )\n .filter(Boolean) as string[]\n}\n\n/**\n * * @description 动态加载单个语言包\n * ? @param language - 要加载的语言名称\n * ! @return Promise<boolean> 是否加载成功\n */\nasync function loadLanguage(language: string): Promise<boolean> {\n if (loadedLanguages.has(language)) {\n return true\n }\n\n const loader = OPTIONAL_LANGUAGES[language.toLowerCase()]\n if (!loader) {\n console.warn(`[HighlightPlugin] Language '${language}' not supported`)\n return false\n }\n\n try {\n const languageModule = await loader()\n registerLanguage(language, languageModule.default)\n console.log(`[HighlightPlugin] Language '${language}' loaded successfully`)\n return true\n } catch (error) {\n console.error(\n `[HighlightPlugin] Failed to load language '${language}':`,\n error\n )\n return false\n }\n}\n\n/**\n * * @description 获取 highlight 功能的 API 接口\n * ! @return highlight API 对象,包含所有可用方法\n */\nexport const useHighlight = () => {\n return {\n // 核心方法\n getHljs: () => hlJsInstance,\n\n // 语言管理\n loadLanguage: (language: string) => loadLanguage(language),\n loadLanguages: (languages: string[]) => loadLanguages(languages),\n getLoadedLanguages: () => Array.from(loadedLanguages),\n }\n}\n\n/**\n * * @description 安装 highlight.js 插件到 Vue 应用\n * ? @param app - Vue 应用实例\n * ? @param options - 插件配置选项\n * ! @return void\n */\nexport function setupHighlight(app: App, options: HighlightPluginOptions = {}) {\n const pluginOptions: HighlightPluginOptions = {\n autoDetect: false,\n extraLanguages: [],\n ...options,\n }\n\n // 初始化核心配置\n initializeCore(pluginOptions)\n\n // 挂载到全局\n if (typeof window !== 'undefined') {\n window.hljs = hlJsInstance\n }\n\n // 提供给 Vue 应用\n const highlightAPI = useHighlight()\n app.provide('highlightManager', highlightAPI)\n app.config.globalProperties.$highlight = highlightAPI\n\n console.log('[HighlightPlugin] 🎨 highlight.js plugin installed successfully')\n}\n\n// 导出默认配置\nexport const defaultHighlightOptions: HighlightPluginOptions = {\n autoDetect: false,\n extraLanguages: [],\n}\n\n// 类型声明\ndeclare global {\n interface Window {\n hljs: HLJSApi\n }\n}\n","import type { App, Component } from 'vue'\n\n// ====== 全局样式由 sass CLI 编译到 dist/style.css,不再通过 JS 导入 ======\n\n// ====== 组件导入(仅用于 install 全量注册) ======\nimport { C_Code } from './components/C_Code'\nimport { C_Icon } from './components/C_Icon'\nimport { C_Upload } from './components/C_Upload'\nimport { C_Barcode } from './components/C_Barcode'\nimport { C_Captcha } from './components/C_Captcha'\nimport { C_Cascade } from './components/C_Cascade'\nimport { C_Guide } from './components/C_Guide'\nimport { C_Progress } from './components/C_Progress'\nimport { C_Steps } from './components/C_Steps'\nimport { C_ActionBar } from './components/C_ActionBar'\nimport { C_Theme } from './components/C_Theme'\nimport { C_Language } from './components/C_Language'\nimport { C_Date } from './components/C_Date'\nimport { C_Editor } from './components/C_Editor'\nimport { C_Markdown } from './components/C_Markdown'\nimport { C_Map } from './components/C_Map'\nimport { C_City } from './components/C_City'\nimport { C_VtableGantt } from './components/C_VtableGantt'\nimport { C_Signature } from './components/C_Signature'\nimport { C_SplitPane } from './components/C_SplitPane'\nimport { C_CollapsePanel } from './components/C_CollapsePanel'\nimport { C_Time } from './components/C_Time'\nimport { C_FormSearch } from './components/C_FormSearch'\nimport { C_Tree } from './components/C_Tree'\nimport { C_QRCode } from './components/C_QRCode'\nimport { C_ImageCropper } from './components/C_ImageCropper'\nimport { C_Draggable } from './components/C_Draggable'\nimport { C_WaterFall } from './components/C_WaterFall'\nimport { C_FullCalendar } from './components/C_FullCalendar'\nimport { C_NotificationCenter } from './components/C_NotificationCenter'\nimport { C_Cron } from './components/C_Cron'\nimport { C_FormulaEditor } from './components/C_FormulaEditor'\nimport { C_AntV } from './components/C_AntV'\nimport { C_VideoPlayer } from './components/C_VideoPlayer'\nimport { C_FilePreview } from './components/C_FilePreview'\nimport { C_WorkFlow } from './components/C_WorkFlow'\nimport { C_Form } from './components/C_Form'\nimport { C_Table } from './components/C_Table'\nimport { C_GlobalSearch } from './components/C_GlobalSearch'\nimport { C_Menu } from './components/C_Menu'\nimport { C_Breadcrumb } from './components/C_Breadcrumb'\nimport { C_TagsView } from './components/C_TagsView'\nimport { C_AudioPlayer } from './components/C_AudioPlayer'\nimport { C_AvatarGroup } from './components/C_AvatarGroup'\nimport { C_Chat } from './components/C_Chat'\nimport { C_ContextMenu } from './components/C_ContextMenu'\nimport { C_Login } from './components/C_Login'\nimport { C_Timeline } from './components/C_Timeline'\nimport { C_Transfer } from './components/C_Transfer'\nimport { C_Skeleton } from './components/C_Skeleton'\nimport { C_OrgChart } from './components/C_OrgChart'\n\n// ====== 插件 ======\nimport { setupHighlight, useHighlight } from './plugins/highlight'\n\n// ====== 安装选项 ======\nexport interface ComponentLibOptions {\n highlight?: import('./plugins/highlight').HighlightPluginOptions\n}\n\n// ====== 组件列表(全量注册使用) ======\nconst components: Component[] = [\n C_Code,\n C_Icon,\n C_Upload,\n C_Barcode,\n C_Captcha,\n C_Cascade,\n C_Guide,\n C_Progress,\n C_Steps,\n C_ActionBar,\n C_Theme,\n C_Language,\n C_Date,\n C_Editor,\n C_Markdown,\n C_Map,\n C_City,\n C_VtableGantt,\n C_Signature,\n C_SplitPane,\n C_CollapsePanel,\n C_Time,\n C_FormSearch,\n C_Tree,\n C_QRCode,\n C_ImageCropper,\n C_Draggable,\n C_WaterFall,\n C_FullCalendar,\n C_NotificationCenter,\n C_Cron,\n C_FormulaEditor,\n C_AntV,\n C_VideoPlayer,\n C_FilePreview,\n C_WorkFlow,\n C_Form,\n C_Table,\n C_GlobalSearch,\n C_Menu,\n C_Breadcrumb,\n C_TagsView,\n C_AudioPlayer,\n C_AvatarGroup,\n C_Chat,\n C_ContextMenu,\n C_Login,\n C_Timeline,\n C_Transfer,\n C_Skeleton,\n C_OrgChart,\n]\n\n// ====== Barrel Re-exports:所有组件 + composables + types + constants ======\nexport * from './components/C_Code'\nexport * from './components/C_Icon'\nexport * from './components/C_Upload'\nexport * from './components/C_Barcode'\nexport * from './components/C_Captcha'\nexport * from './components/C_Cascade'\nexport * from './components/C_Guide'\nexport * from './components/C_Progress'\nexport * from './components/C_Steps'\nexport * from './components/C_ActionBar'\nexport * from './components/C_Theme'\nexport * from './components/C_Language'\nexport * from './components/C_Date'\nexport * from './components/C_Editor'\nexport * from './components/C_Markdown'\nexport * from './components/C_Map'\nexport * from './components/C_City'\nexport * from './components/C_VtableGantt'\nexport * from './components/C_Signature'\nexport * from './components/C_SplitPane'\nexport * from './components/C_CollapsePanel'\nexport * from './components/C_Time'\nexport * from './components/C_FormSearch'\nexport * from './components/C_Tree'\nexport * from './components/C_QRCode'\nexport * from './components/C_ImageCropper'\nexport * from './components/C_Draggable'\nexport * from './components/C_WaterFall'\nexport * from './components/C_FullCalendar'\nexport * from './components/C_NotificationCenter'\nexport * from './components/C_Cron'\nexport * from './components/C_FormulaEditor'\nexport * from './components/C_AntV'\nexport * from './components/C_VideoPlayer'\nexport * from './components/C_FilePreview'\nexport * from './components/C_WorkFlow'\nexport * from './components/C_Form'\nexport * from './components/C_Table'\nexport * from './components/C_GlobalSearch'\nexport * from './components/C_Menu'\nexport * from './components/C_Breadcrumb'\nexport * from './components/C_TagsView'\nexport * from './components/C_AudioPlayer'\nexport * from './components/C_AvatarGroup'\nexport * from './components/C_Chat'\nexport * from './components/C_ContextMenu'\nexport * from './components/C_Login'\nexport * from './components/C_Timeline'\nexport * from './components/C_Transfer'\nexport * from './components/C_Skeleton'\nexport * from './components/C_OrgChart'\n\n// ====== 工具函数(不属于任何组件的公共工具) ======\nexport { setItem, getItem, removeItem, removeAllItem } from './utils/storage'\n\n// ====== 插件导出 ======\nexport { setupHighlight, useHighlight }\nexport type { HighlightPluginOptions } from './plugins/highlight'\n\n// ====== 全量安装 ======\nconst install = (app: App, options: ComponentLibOptions = {}) => {\n components.forEach(component => {\n const name =\n (component as any).__name || (component as any).name || 'UnknownComponent'\n app.component(name, component)\n })\n\n if (options.highlight !== undefined) {\n setupHighlight(app, options.highlight)\n }\n}\n\nexport default {\n install,\n} satisfies { install: (app: App, options?: ComponentLibOptions) => void }\n"],"mappings":"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"}
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -33,12 +33,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
33
33
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
34
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
|
+
trim: boolean;
|
|
36
37
|
code: string;
|
|
37
38
|
language: string;
|
|
38
39
|
showHeader: boolean;
|
|
39
40
|
showLineNumbers: boolean;
|
|
40
41
|
wordWrap: boolean;
|
|
41
|
-
trim: boolean;
|
|
42
42
|
showFullscreen: boolean;
|
|
43
43
|
autoLoadLanguage: boolean;
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -76,8 +76,8 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
76
76
|
}) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
|
-
items: ContextMenuItem[];
|
|
80
79
|
zIndex: number;
|
|
80
|
+
items: ContextMenuItem[];
|
|
81
81
|
minWidth: number;
|
|
82
82
|
maxWidth: number;
|
|
83
83
|
subMenuPlacement: "right" | "left";
|
package/dist/index12.vue.d.ts
CHANGED
|
@@ -24,24 +24,24 @@ interface Props {
|
|
|
24
24
|
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
25
25
|
clearAll: () => void;
|
|
26
26
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
27
|
-
change: (value: string | [string, string] | null) => any;
|
|
28
27
|
"update:singleDate": (value: DateValue) => any;
|
|
29
28
|
"update:singleDateTime": (value: DateValue) => any;
|
|
30
29
|
"update:dateRange": (value: DateRangeValue) => any;
|
|
31
30
|
"update:dateTimeRange": (value: DateRangeValue) => any;
|
|
32
31
|
"update:smartRange": (value: DateRangeValue) => any;
|
|
32
|
+
change: (value: string | [string, string] | null) => any;
|
|
33
33
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
34
|
-
onChange?: ((value: string | [string, string] | null) => any) | undefined;
|
|
35
34
|
"onUpdate:singleDate"?: ((value: DateValue) => any) | undefined;
|
|
36
35
|
"onUpdate:singleDateTime"?: ((value: DateValue) => any) | undefined;
|
|
37
36
|
"onUpdate:dateRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
38
37
|
"onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
39
38
|
"onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
39
|
+
onChange?: ((value: string | [string, string] | null) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
41
|
mode: DatePickerMode;
|
|
42
|
+
placeholder: string;
|
|
42
43
|
startPlaceholder: string;
|
|
43
44
|
endPlaceholder: string;
|
|
44
|
-
placeholder: string;
|
|
45
45
|
disabled: boolean;
|
|
46
46
|
disabledBeforeToday: boolean;
|
|
47
47
|
disabledAfterToday: boolean;
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -28,12 +28,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
28
28
|
"onEditor-mounted"?: ((editor: any) => any) | undefined;
|
|
29
29
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
+
height: number;
|
|
31
32
|
placeholder: string;
|
|
32
|
-
modelValue: string;
|
|
33
33
|
disabled: boolean;
|
|
34
|
-
|
|
35
|
-
readonly: boolean;
|
|
34
|
+
modelValue: string;
|
|
36
35
|
theme: "light" | "dark";
|
|
36
|
+
readonly: boolean;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
39
39
|
//#endregion
|
package/dist/index14.vue.d.ts
CHANGED
|
@@ -79,22 +79,22 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
79
79
|
resetCompleted: () => void;
|
|
80
80
|
isCompleted: () => boolean;
|
|
81
81
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
82
|
-
close: (currentStep: number) => any;
|
|
83
82
|
start: () => any;
|
|
84
83
|
complete: () => any;
|
|
84
|
+
close: (currentStep: number) => any;
|
|
85
85
|
"step-change": (stepIndex: number, step: GuideStep) => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
|
|
87
|
-
onClose?: ((currentStep: number) => any) | undefined;
|
|
88
87
|
onStart?: (() => any) | undefined;
|
|
89
88
|
onComplete?: (() => any) | undefined;
|
|
89
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
90
90
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
92
|
steps: GuideStep[];
|
|
93
|
-
keyboard: boolean;
|
|
94
93
|
doneBtnText: string;
|
|
95
94
|
nextBtnText: string;
|
|
96
95
|
prevBtnText: string;
|
|
97
96
|
showProgress: boolean;
|
|
97
|
+
keyboard: boolean;
|
|
98
98
|
animate: boolean;
|
|
99
99
|
allowClose: boolean;
|
|
100
100
|
popoverClass: string;
|
package/dist/index15.vue.d.ts
CHANGED
|
@@ -61,18 +61,19 @@ declare const __VLS_export: vue.DefineComponent<LegacyIconProps, {
|
|
|
61
61
|
errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
|
|
62
62
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
-
click: (event: MouseEvent) => any;
|
|
65
64
|
error: (type: string, error?: any) => any;
|
|
65
|
+
click: (event: MouseEvent) => any;
|
|
66
66
|
load: () => any;
|
|
67
67
|
}, string, vue.PublicProps, Readonly<LegacyIconProps> & Readonly<{
|
|
68
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
69
68
|
onError?: ((type: string, error?: any) => any) | undefined;
|
|
69
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
70
70
|
onLoad?: (() => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
-
title: string;
|
|
73
72
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
74
|
-
name: string | any;
|
|
75
73
|
size: number | string;
|
|
74
|
+
title: string;
|
|
75
|
+
name: string | any;
|
|
76
|
+
rotate: number;
|
|
76
77
|
loading: boolean;
|
|
77
78
|
color: string;
|
|
78
79
|
clickable: boolean;
|
|
@@ -82,7 +83,6 @@ declare const __VLS_export: vue.DefineComponent<LegacyIconProps, {
|
|
|
82
83
|
fallbackIcon: string;
|
|
83
84
|
ariaLabel: string;
|
|
84
85
|
customClass: string;
|
|
85
|
-
rotate: number;
|
|
86
86
|
flip: "horizontal" | "vertical" | "both";
|
|
87
87
|
componentProps: Record<string, any>;
|
|
88
88
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index16.vue.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ type __VLS_Props = {
|
|
|
19
19
|
tooltip?: string;
|
|
20
20
|
};
|
|
21
21
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (key: string) => any;
|
|
23
22
|
change: (key: string) => any;
|
|
23
|
+
"update:modelValue": (key: string) => any;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
26
25
|
onChange?: ((key: string) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
modelValue: string;
|
|
29
29
|
options: LegacyLanguageOption[];
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -99,9 +99,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
99
99
|
"onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
|
|
100
100
|
"onRegister-send-code"?: ((phone: string) => any) | undefined;
|
|
101
101
|
}>, {
|
|
102
|
+
storageKey: string;
|
|
102
103
|
title: string;
|
|
103
104
|
loading: boolean;
|
|
104
|
-
storageKey: string;
|
|
105
105
|
defaultUsername: string;
|
|
106
106
|
defaultPassword: string;
|
|
107
107
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index18.vue.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
38
38
|
insertText: (text: string) => void;
|
|
39
39
|
wordCount: vue.ComputedRef<number>;
|
|
40
40
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
41
|
-
"update:modelValue": (value: string) => any;
|
|
42
41
|
change: (text: string, html: string) => any;
|
|
42
|
+
"update:modelValue": (value: string) => any;
|
|
43
43
|
save: (text: string, html: string) => any;
|
|
44
44
|
"upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
|
|
45
45
|
"fullscreen-change": (isFullscreen: boolean) => any;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
48
48
|
"auto-save": (text: string) => any;
|
|
49
49
|
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
51
|
onChange?: ((text: string, html: string) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
53
|
onSave?: ((text: string, html: string) => any) | undefined;
|
|
54
54
|
"onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
|
|
55
55
|
"onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
|
|
@@ -58,11 +58,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
58
58
|
"onAuto-save"?: ((text: string) => any) | undefined;
|
|
59
59
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
|
+
height: string | number;
|
|
61
62
|
mode: "edit" | "editable" | "preview";
|
|
62
63
|
placeholder: string;
|
|
63
|
-
modelValue: string;
|
|
64
64
|
disabled: boolean;
|
|
65
|
-
|
|
65
|
+
modelValue: string;
|
|
66
|
+
isDark: boolean;
|
|
66
67
|
tocNavPosition: "left" | "right";
|
|
67
68
|
defaultFullscreen: boolean;
|
|
68
69
|
autofocus: boolean;
|
|
@@ -73,7 +74,6 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
73
74
|
showWordCount: boolean;
|
|
74
75
|
autoSave: boolean;
|
|
75
76
|
autoSaveInterval: number;
|
|
76
|
-
isDark: boolean;
|
|
77
77
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
78
|
declare const _default: typeof __VLS_export;
|
|
79
79
|
//#endregion
|
package/dist/index19.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as RouteItem, t as MenuAdapterConfig } from "./
|
|
1
|
+
import { a as RouteItem, t as MenuAdapterConfig } from "./menuAdapter.js";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { DropdownProps, MenuInst, MenuOption } from "naive-ui/es";
|
|
4
4
|
import * as naive_ui_es_menu_src_interface0 from "naive-ui/es/menu/src/interface";
|
|
@@ -53,11 +53,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
|
53
53
|
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
55
|
mode: "vertical" | "horizontal";
|
|
56
|
-
indent: number;
|
|
57
56
|
collapsed: boolean;
|
|
58
57
|
collapsedWidth: number;
|
|
59
58
|
collapsedIconSize: number;
|
|
60
59
|
inverted: boolean;
|
|
60
|
+
indent: number;
|
|
61
61
|
rootIndent: number;
|
|
62
62
|
dropdownProps: DropdownProps;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -60,22 +60,22 @@ type __VLS_Props = {
|
|
|
60
60
|
theme?: AudioPlayerProps['theme'];
|
|
61
61
|
};
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
|
-
ended: (index: number) => any;
|
|
64
|
-
pause: () => any;
|
|
65
63
|
play: (index: number) => any;
|
|
64
|
+
pause: () => any;
|
|
65
|
+
ended: (index: number) => any;
|
|
66
66
|
modeChange: (mode: string) => any;
|
|
67
67
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
68
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
69
|
-
onPause?: (() => any) | undefined;
|
|
70
68
|
onPlay?: ((index: number) => any) | undefined;
|
|
69
|
+
onPause?: (() => any) | undefined;
|
|
70
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
71
71
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
|
-
mode: "
|
|
74
|
-
theme: "default" | "minimal";
|
|
73
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
75
74
|
initialIndex: number;
|
|
76
75
|
showPlaylist: boolean;
|
|
77
76
|
showCover: boolean;
|
|
78
77
|
autoplay: boolean;
|
|
78
|
+
theme: "default" | "minimal";
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -77,9 +77,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
77
77
|
"onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
|
|
78
78
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
79
79
|
}>, {
|
|
80
|
+
lineColor: string;
|
|
80
81
|
direction: OrgChartDirection;
|
|
81
82
|
collapsible: boolean;
|
|
82
|
-
lineColor: string;
|
|
83
83
|
lineStyle: OrgChartLineStyle;
|
|
84
84
|
lineWidth: number;
|
|
85
85
|
nodeSpacing: number;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -34,11 +34,11 @@ type __VLS_Slots = {} & {
|
|
|
34
34
|
indicator?: (props: typeof __VLS_9) => any;
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
37
|
-
time: number;
|
|
38
37
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
39
38
|
strokeWidth: number;
|
|
40
39
|
percentage: number | number[];
|
|
41
40
|
isAnimation: boolean;
|
|
41
|
+
time: number;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
|
43
43
|
showIndicator: boolean;
|
|
44
44
|
unit: string;
|
package/dist/index22.vue.d.ts
CHANGED
|
@@ -88,9 +88,9 @@ type __VLS_Slots = {} & {
|
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
89
|
preset: SkeletonPreset;
|
|
90
90
|
loading: boolean;
|
|
91
|
-
animation: SkeletonAnimation;
|
|
92
91
|
repeat: number;
|
|
93
92
|
borderRadius: string;
|
|
93
|
+
animation: SkeletonAnimation;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
96
|
declare const _default: typeof __VLS_export;
|
package/dist/index23.vue.d.ts
CHANGED
|
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
35
35
|
onChange?: ((args_0: number) => any) | undefined;
|
|
36
36
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
+
connected: boolean;
|
|
39
|
+
clickable: boolean;
|
|
38
40
|
direction: "horizontal" | "vertical";
|
|
39
41
|
current: number;
|
|
40
|
-
clickable: boolean;
|
|
41
|
-
connected: boolean;
|
|
42
42
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
|
44
44
|
//#endregion
|
package/dist/index24.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as TagItem } from "./
|
|
1
|
+
import { s as TagItem } from "./menuAdapter.js";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
4
|
|
|
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
|
85
85
|
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
86
86
|
onCloseAll?: (() => any) | undefined;
|
|
87
87
|
}>, {
|
|
88
|
-
persistKey: string;
|
|
89
88
|
homePath: string;
|
|
90
89
|
homeTitle: string;
|
|
91
90
|
homeIcon: string;
|
|
91
|
+
persistKey: string;
|
|
92
92
|
contextMenuLabels: LegacyContextMenuLabels;
|
|
93
93
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -84,18 +84,18 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
84
84
|
/** 展开全部 */expandAll: () => void; /** 折叠全部 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
|
-
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
88
87
|
"item-click": (item: TimelineItem, index: number) => any;
|
|
88
|
+
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
89
89
|
}, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
|
|
90
|
-
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
91
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
|
+
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
94
|
mode: "vertical" | "horizontal";
|
|
95
95
|
size: "small" | "medium" | "large";
|
|
96
|
-
labelPlacement: "left" | "right" | "alternate";
|
|
97
|
-
items: TimelineItem[];
|
|
98
96
|
pending: boolean;
|
|
97
|
+
items: TimelineItem[];
|
|
98
|
+
labelPlacement: "left" | "right" | "alternate";
|
|
99
99
|
pendingText: string;
|
|
100
100
|
lineType: "solid" | "dashed" | "dotted";
|
|
101
101
|
showTime: boolean;
|
package/dist/index27.vue.d.ts
CHANGED
|
@@ -61,13 +61,13 @@ type __VLS_Props = {
|
|
|
61
61
|
size?: TransferProps['size'];
|
|
62
62
|
};
|
|
63
63
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
+
change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
|
|
64
65
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
-
change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
|
+
onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
|
|
67
68
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
-
onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
-
size: "
|
|
70
|
+
size: "medium" | "small" | "large";
|
|
71
71
|
filterable: boolean;
|
|
72
72
|
titles: [string, string];
|
|
73
73
|
filterPlaceholder: string;
|
package/dist/index28.vue.d.ts
CHANGED
|
@@ -647,13 +647,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
647
647
|
onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
|
|
648
648
|
onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
|
|
649
649
|
}>, {
|
|
650
|
-
title: string;
|
|
651
|
-
data: GanttTask[];
|
|
652
|
-
preset: GanttPreset;
|
|
653
650
|
height: string | number;
|
|
651
|
+
theme: "light" | "dark";
|
|
652
|
+
data: GanttTask[];
|
|
653
|
+
title: string;
|
|
654
654
|
showToolbar: boolean;
|
|
655
655
|
options: GanttOptions;
|
|
656
|
-
|
|
656
|
+
preset: GanttPreset;
|
|
657
657
|
showFullscreenButton: boolean;
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
659
659
|
declare const _default: typeof __VLS_export;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -73,14 +73,14 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
size: number;
|
|
76
|
-
direction: "ltr" | "rtl";
|
|
77
76
|
max: number;
|
|
78
|
-
clickable: boolean;
|
|
79
77
|
overlap: number;
|
|
80
78
|
shape: "circle" | "square";
|
|
81
79
|
showStatus: boolean;
|
|
82
80
|
showTooltip: boolean;
|
|
81
|
+
clickable: boolean;
|
|
83
82
|
overflowClickable: boolean;
|
|
83
|
+
direction: "ltr" | "rtl";
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
86
86
|
//#endregion
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -23,14 +23,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
23
23
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
24
24
|
width: number;
|
|
25
25
|
height: number;
|
|
26
|
-
fontSize: number;
|
|
27
|
-
label: string;
|
|
28
|
-
showBorder: boolean;
|
|
29
|
-
showLabel: boolean;
|
|
30
26
|
showText: boolean;
|
|
27
|
+
fontSize: number;
|
|
31
28
|
textPosition: "bottom" | "top";
|
|
32
29
|
lineColor: string;
|
|
33
30
|
background: string;
|
|
31
|
+
showBorder: boolean;
|
|
32
|
+
label: string;
|
|
33
|
+
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index5.vue.d.ts
CHANGED
package/dist/index6.vue.d.ts
CHANGED
|
@@ -18,16 +18,16 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
18
18
|
reset: () => void;
|
|
19
19
|
show: () => void;
|
|
20
20
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
21
|
-
reset: () => any;
|
|
22
21
|
change: (valid: boolean) => any;
|
|
22
|
+
reset: () => any;
|
|
23
23
|
success: (data: {
|
|
24
24
|
token: string;
|
|
25
25
|
timestamp: number;
|
|
26
26
|
}) => any;
|
|
27
27
|
fail: (error: string) => any;
|
|
28
28
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
29
|
-
onReset?: (() => any) | undefined;
|
|
30
29
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
30
|
+
onReset?: (() => any) | undefined;
|
|
31
31
|
onSuccess?: ((data: {
|
|
32
32
|
token: string;
|
|
33
33
|
timestamp: number;
|
package/dist/index7.vue.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ type __VLS_Props = {
|
|
|
19
19
|
modelValue?: CascadeValue;
|
|
20
20
|
};
|
|
21
21
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: CascadeValue) => any;
|
|
23
22
|
change: (value: CascadeValue) => any;
|
|
23
|
+
"update:modelValue": (value: CascadeValue) => any;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
26
25
|
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
placeholders: string[];
|
|
29
29
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -104,8 +104,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
104
104
|
"onEmoji-click"?: (() => any) | undefined;
|
|
105
105
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
-
title: string;
|
|
108
107
|
placeholder: string;
|
|
108
|
+
title: string;
|
|
109
109
|
showContacts: boolean;
|
|
110
110
|
showTimestamp: boolean;
|
|
111
111
|
showSendBtn: boolean;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
trigger?: (props: typeof __VLS_9) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
-
"update:modelValue": (value: string) => any;
|
|
18
17
|
change: (value: string) => any;
|
|
18
|
+
"update:modelValue": (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
20
|
onChange?: ((value: string) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: boolean;
|