@robot-admin/naive-ui-components 0.6.8 → 0.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +277 -261
- package/dist/C_AudioPlayer-DKRIGhi7.css.map +1 -0
- package/dist/C_AudioPlayer-DlB6eNsa.css.map +1 -0
- package/dist/C_AudioPlayer.cjs +1 -0
- package/dist/C_AudioPlayer.css +283 -0
- package/dist/C_AudioPlayer.d.cts +2 -0
- package/dist/C_AudioPlayer.d.ts +2 -0
- package/dist/C_AudioPlayer.js +1 -0
- package/dist/C_AudioPlayer.js.map +1 -0
- package/dist/C_AudioPlayer2.js +2 -0
- package/dist/C_AudioPlayer2.js.map +1 -0
- package/dist/C_AvatarGroup-D02zci-i.css.map +1 -0
- package/dist/C_AvatarGroup-DatHaUlY.css.map +1 -0
- package/dist/C_AvatarGroup.cjs +1 -0
- package/dist/C_AvatarGroup.css +107 -0
- package/dist/C_AvatarGroup.d.cts +2 -0
- package/dist/C_AvatarGroup.d.ts +2 -0
- package/dist/C_AvatarGroup.js +1 -0
- package/dist/C_AvatarGroup.js.map +1 -0
- package/dist/C_AvatarGroup2.js +2 -0
- package/dist/C_AvatarGroup2.js.map +1 -0
- package/dist/C_Barcode.d.cts +1 -1
- package/dist/C_Barcode.d.ts +1 -1
- package/dist/{C_Breadcrumb-B5PGpP5m.css.map → C_Breadcrumb-BiH0d9AI.css.map} +1 -1
- package/dist/{C_Breadcrumb-Cay7qluL.css.map → C_Breadcrumb-Bqqrl8nX.css.map} +1 -1
- package/dist/C_Breadcrumb.css +8 -2
- package/dist/C_Breadcrumb.d.cts +1 -1
- package/dist/C_Breadcrumb.d.ts +1 -1
- package/dist/C_Breadcrumb.js.map +1 -1
- package/dist/C_Breadcrumb2.js.map +1 -1
- package/dist/C_Captcha.d.cts +1 -1
- package/dist/C_Captcha.d.ts +1 -1
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.d.ts +1 -1
- package/dist/C_Chat-CcjZdAwu.css.map +1 -0
- package/dist/C_Chat-Diq7tyWU.css.map +1 -0
- package/dist/C_Chat.cjs +1 -0
- package/dist/C_Chat.css +395 -0
- package/dist/C_Chat.d.cts +2 -0
- package/dist/C_Chat.d.ts +2 -0
- package/dist/C_Chat.js +1 -0
- package/dist/C_Chat.js.map +1 -0
- package/dist/C_Chat2.js +2 -0
- package/dist/C_Chat2.js.map +1 -0
- package/dist/C_City.d.cts +1 -1
- package/dist/C_City.d.ts +1 -1
- package/dist/C_Code.d.cts +1 -1
- package/dist/C_Code.d.ts +1 -1
- package/dist/C_ContextMenu-B3Cgz_wJ.css.map +1 -0
- package/dist/C_ContextMenu-u1LixF3_.css.map +1 -0
- package/dist/C_ContextMenu.cjs +1 -0
- package/dist/C_ContextMenu.css +115 -0
- package/dist/C_ContextMenu.d.cts +2 -0
- package/dist/C_ContextMenu.d.ts +2 -0
- package/dist/C_ContextMenu.js +1 -0
- package/dist/C_ContextMenu.js.map +1 -0
- package/dist/C_ContextMenu2.js +2 -0
- package/dist/C_ContextMenu2.js.map +1 -0
- package/dist/C_Date.d.cts +1 -1
- package/dist/C_Date.d.ts +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_Guide.d.cts +1 -1
- package/dist/C_Guide.d.ts +1 -1
- package/dist/C_Icon.d.cts +1 -1
- package/dist/C_Icon.d.ts +1 -1
- package/dist/C_Icon.js.map +1 -1
- package/dist/C_Icon2.js +1 -1
- package/dist/C_Icon2.js.map +1 -1
- package/dist/C_Language.d.cts +1 -1
- package/dist/C_Language.d.ts +1 -1
- package/dist/C_Language.js.map +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Language2.js.map +1 -1
- package/dist/C_Login-BkdnkBKX.css.map +1 -0
- package/dist/C_Login-VkMM6OJ2.css.map +1 -0
- package/dist/C_Login.cjs +1 -0
- package/dist/C_Login.css +515 -0
- package/dist/C_Login.d.cts +2 -0
- package/dist/C_Login.d.ts +2 -0
- package/dist/C_Login.js +1 -0
- package/dist/C_Login.js.map +1 -0
- package/dist/C_Login2.js +2 -0
- package/dist/C_Login2.js.map +1 -0
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Menu.d.cts +1 -1
- package/dist/C_Menu.d.ts +1 -1
- package/dist/C_Progress.d.cts +1 -1
- package/dist/C_Progress.d.ts +1 -1
- package/dist/C_Steps.d.cts +1 -1
- package/dist/C_Steps.d.ts +1 -1
- package/dist/C_TagsView.d.cts +1 -1
- package/dist/C_TagsView.d.ts +1 -1
- package/dist/C_Theme.d.cts +1 -1
- package/dist/C_Theme.d.ts +1 -1
- package/dist/C_Timeline-BIvw3f41.css.map +1 -0
- package/dist/C_Timeline-VsDfCv4Q.css.map +1 -0
- package/dist/C_Timeline.cjs +1 -0
- package/dist/C_Timeline.css +271 -0
- package/dist/C_Timeline.d.cts +2 -0
- package/dist/C_Timeline.d.ts +2 -0
- package/dist/C_Timeline.js +1 -0
- package/dist/C_Timeline.js.map +1 -0
- package/dist/C_Timeline2.js +2 -0
- package/dist/C_Timeline2.js.map +1 -0
- package/dist/C_Transfer-BOB6OBqS.css.map +1 -0
- package/dist/C_Transfer-Dpq7ezWC.css.map +1 -0
- package/dist/C_Transfer.cjs +1 -0
- package/dist/C_Transfer.css +193 -0
- package/dist/C_Transfer.d.cts +2 -0
- package/dist/C_Transfer.d.ts +2 -0
- package/dist/C_Transfer.js +1 -0
- package/dist/C_Transfer.js.map +1 -0
- package/dist/C_Transfer2.js +2 -0
- package/dist/C_Transfer2.js.map +1 -0
- package/dist/C_VtableGantt.d.cts +1 -1
- package/dist/C_VtableGantt.d.ts +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants4.d.ts +3 -3
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +48 -41
- package/dist/index.d.ts +48 -41
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.ts +41 -23
- package/dist/index11.vue.d.ts +80 -63
- package/dist/index12.vue.d.ts +48 -20
- package/dist/index13.vue.d.ts +23 -63
- package/dist/index14.vue.d.ts +21 -58
- package/dist/index15.vue.d.ts +65 -48
- package/dist/index16.vue.d.ts +16 -21
- package/dist/index17.vue.d.ts +106 -77
- package/dist/index18.vue.d.ts +74 -11
- package/dist/index19.vue.d.ts +58 -653
- package/dist/index2.vue.d.ts +75 -30
- package/dist/index20.vue.d.ts +55 -0
- package/dist/index21.vue.d.ts +33 -0
- package/dist/index22.vue.d.ts +88 -0
- package/dist/index23.vue.d.ts +18 -0
- package/dist/index24.vue.d.ts +112 -0
- package/dist/index25.vue.d.ts +81 -0
- package/dist/index26.vue.d.ts +662 -0
- package/dist/index3.vue.d.ts +77 -19
- package/dist/index4.vue.d.ts +29 -36
- package/dist/index5.vue.d.ts +19 -20
- package/dist/index6.vue.d.ts +36 -26
- package/dist/index7.vue.d.ts +23 -40
- package/dist/index8.vue.d.ts +117 -45
- package/dist/index9.vue.d.ts +19 -25
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/resolver.js.map +1 -1
- package/dist/style.css +1920 -21
- package/dist/useCollapsePanel.d.ts +1 -1
- package/dist/useCropperCore.d.ts +4 -4
- package/dist/useDraggableLayout.d.ts +8 -8
- package/dist/useDynamicFormState.d.ts +10 -10
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useModalEdit.d.ts +2 -2
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSignatureHistory.d.ts +1 -1
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.ts +1 -1
- package/package.json +1 -1
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"],"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'\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]\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'\n\n// ====== 共享类型 + 适配器 ======\nexport * from './components/_shared'\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"],"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'\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]\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'\n\n// ====== 共享类型 + 适配器 ======\nexport * from './components/_shared'\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/index.vue.d.ts
CHANGED
|
@@ -63,10 +63,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
63
63
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
64
64
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
+
config: ActionBarConfig;
|
|
66
67
|
actions: ActionItem[];
|
|
67
68
|
leftActions: ActionItem[];
|
|
68
69
|
rightActions: ActionItem[];
|
|
69
|
-
config: ActionBarConfig;
|
|
70
70
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
71
71
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
72
72
|
declare const _default: typeof __VLS_export;
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -1,30 +1,48 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
|
-
import "driver.js/dist/driver.css";
|
|
3
2
|
|
|
4
|
-
//#region src/components/
|
|
5
|
-
interface
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
//#region src/components/C_Code/index.vue.d.ts
|
|
4
|
+
interface Props {
|
|
5
|
+
code: string;
|
|
6
|
+
language?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
showHeader?: boolean;
|
|
9
|
+
showLineNumbers?: boolean;
|
|
10
|
+
wordWrap?: boolean;
|
|
11
|
+
trim?: boolean;
|
|
12
|
+
showFullscreen?: boolean;
|
|
13
|
+
maxHeight?: string | number;
|
|
14
|
+
autoLoadLanguage?: boolean;
|
|
12
15
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
/**
|
|
17
|
+
* 复制代码到剪贴板
|
|
18
|
+
*/
|
|
19
|
+
declare function copyCode(): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* 切换全屏显示状态
|
|
22
|
+
*/
|
|
23
|
+
declare function toggleFullscreen(): void;
|
|
24
|
+
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
25
|
+
copyCode: typeof copyCode;
|
|
26
|
+
toggleFullscreen: typeof toggleFullscreen;
|
|
27
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
28
|
+
click: (event: MouseEvent) => any;
|
|
29
|
+
copy: (code: string) => any;
|
|
30
|
+
fullscreen: (isFullscreen: boolean) => any;
|
|
31
|
+
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
33
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
34
|
+
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
code: string;
|
|
37
|
+
language: string;
|
|
38
|
+
showHeader: boolean;
|
|
39
|
+
showLineNumbers: boolean;
|
|
40
|
+
wordWrap: boolean;
|
|
41
|
+
trim: boolean;
|
|
42
|
+
showFullscreen: boolean;
|
|
43
|
+
autoLoadLanguage: boolean;
|
|
26
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
27
45
|
declare const _default: typeof __VLS_export;
|
|
28
46
|
//#endregion
|
|
29
|
-
export { _default as
|
|
47
|
+
export { _default as t };
|
|
30
48
|
//# sourceMappingURL=index10.vue.d.ts.map
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -1,72 +1,89 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
title?: string;
|
|
27
|
-
/** 无障碍标签 */
|
|
28
|
-
ariaLabel?: string;
|
|
3
|
+
//#region src/components/C_ContextMenu/types.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* @Description: 右键菜单组件类型定义
|
|
6
|
+
* Copyright (c) 2026 by CHENY, All Rights Reserved 😎.
|
|
7
|
+
*/
|
|
8
|
+
/** 菜单项 */
|
|
9
|
+
interface ContextMenuItem {
|
|
10
|
+
/** 唯一标识 */
|
|
11
|
+
key: string;
|
|
12
|
+
/** 菜单文字 */
|
|
13
|
+
label: string;
|
|
14
|
+
/** 图标(Iconify 图标名) */
|
|
15
|
+
icon?: string;
|
|
16
|
+
/** 快捷键标注文字(仅展示,不绑定) */
|
|
17
|
+
shortcut?: string;
|
|
18
|
+
/** 是否禁用 */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** 是否隐藏 */
|
|
21
|
+
hidden?: boolean;
|
|
22
|
+
/** 分割线(此项渲染为分割线,label 被忽略) */
|
|
23
|
+
divider?: boolean;
|
|
24
|
+
/** 子菜单(支持无限嵌套) */
|
|
25
|
+
children?: ContextMenuItem[];
|
|
29
26
|
/** 自定义样式类 */
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
/** 是否翻转 */
|
|
34
|
-
flip?: 'horizontal' | 'vertical' | 'both';
|
|
35
|
-
/** 传递给组件的额外属性(仅type=component时使用) */
|
|
36
|
-
componentProps?: Record<string, any>;
|
|
27
|
+
className?: string;
|
|
28
|
+
/** 危险操作(红色高亮) */
|
|
29
|
+
danger?: boolean;
|
|
37
30
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
31
|
+
/** 组件 Props */
|
|
32
|
+
interface ContextMenuProps {
|
|
33
|
+
/** 菜单项列表 */
|
|
34
|
+
items: ContextMenuItem[];
|
|
35
|
+
/** 菜单最小宽度 */
|
|
36
|
+
minWidth?: number;
|
|
37
|
+
/** 菜单最大宽度 */
|
|
38
|
+
maxWidth?: number;
|
|
39
|
+
/** 子菜单展开方向 */
|
|
40
|
+
subMenuPlacement?: 'right' | 'left';
|
|
41
|
+
/** 点击菜单项后是否自动关闭 */
|
|
42
|
+
autoClose?: boolean;
|
|
43
|
+
/** 是否禁用整个菜单 */
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/** 自定义 z-index */
|
|
46
|
+
zIndex?: number;
|
|
47
|
+
}
|
|
48
|
+
/** 默认 Props */
|
|
49
|
+
declare const DEFAULT_CONTEXT_MENU_PROPS: {
|
|
50
|
+
minWidth: number;
|
|
51
|
+
maxWidth: number;
|
|
52
|
+
subMenuPlacement: "right";
|
|
53
|
+
autoClose: boolean;
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
zIndex: number;
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/components/C_ContextMenu/index.vue.d.ts
|
|
59
|
+
declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
60
|
+
/** 在指定坐标打开菜单 */open: (x: number, y: number) => void; /** 关闭菜单 */
|
|
61
|
+
close: () => void; /** 当前是否可见 */
|
|
62
|
+
visible: vue.ComputedRef<boolean>;
|
|
63
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
+
select: (item: ContextMenuItem) => any;
|
|
65
|
+
close: () => any;
|
|
66
|
+
open: (position: {
|
|
67
|
+
x: number;
|
|
68
|
+
y: number;
|
|
69
|
+
}) => any;
|
|
70
|
+
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
+
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
|
+
onClose?: (() => any) | undefined;
|
|
73
|
+
onOpen?: ((position: {
|
|
74
|
+
x: number;
|
|
75
|
+
y: number;
|
|
76
|
+
}) => any) | undefined;
|
|
51
77
|
}>, {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
rotate: number;
|
|
60
|
-
svgPath: string;
|
|
61
|
-
viewBox: string;
|
|
62
|
-
alt: string;
|
|
63
|
-
clickable: boolean;
|
|
64
|
-
fallbackIcon: string;
|
|
65
|
-
ariaLabel: string;
|
|
66
|
-
customClass: string;
|
|
67
|
-
componentProps: Record<string, any>;
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
maxWidth: number;
|
|
80
|
+
minWidth: number;
|
|
81
|
+
zIndex: number;
|
|
82
|
+
items: ContextMenuItem[];
|
|
83
|
+
subMenuPlacement: "right" | "left";
|
|
84
|
+
autoClose: boolean;
|
|
68
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
69
86
|
declare const _default: typeof __VLS_export;
|
|
70
87
|
//#endregion
|
|
71
|
-
export {
|
|
88
|
+
export { DEFAULT_CONTEXT_MENU_PROPS as i, ContextMenuItem as n, ContextMenuProps as r, _default as t };
|
|
72
89
|
//# sourceMappingURL=index11.vue.d.ts.map
|
package/dist/index12.vue.d.ts
CHANGED
|
@@ -1,28 +1,56 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
//#region src/components/C_Date/index.vue.d.ts
|
|
4
|
+
type DatePickerMode = "date" | "datetime" | "daterange" | "datetimerange" | "smart-range";
|
|
5
|
+
type DateValue = number | null;
|
|
6
|
+
type DateRangeValue = [number, number] | null;
|
|
7
|
+
interface Props {
|
|
8
|
+
mode?: DatePickerMode;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
startPlaceholder?: string;
|
|
11
|
+
endPlaceholder?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
disabledBeforeToday?: boolean;
|
|
14
|
+
disabledAfterToday?: boolean;
|
|
15
|
+
valueFormat?: string;
|
|
16
|
+
startDateProps?: Record<string, any>;
|
|
17
|
+
endDateProps?: Record<string, any>;
|
|
8
18
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
20
|
+
singleDate: vue.Ref<DateValue, DateValue>;
|
|
21
|
+
singleDateTime: vue.Ref<DateValue, DateValue>;
|
|
22
|
+
dateRange: vue.Ref<DateRangeValue, DateRangeValue>;
|
|
23
|
+
dateTimeRange: vue.Ref<DateRangeValue, DateRangeValue>;
|
|
24
|
+
startDate: vue.Ref<DateValue, DateValue>;
|
|
25
|
+
endDate: vue.Ref<DateValue, DateValue>;
|
|
26
|
+
clearAll: () => void;
|
|
27
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
28
|
+
change: (value: number | [number, number] | null) => any;
|
|
29
|
+
"update:singleDate": (value: DateValue) => any;
|
|
30
|
+
"update:singleDateTime": (value: DateValue) => any;
|
|
31
|
+
"update:dateRange": (value: DateRangeValue) => any;
|
|
32
|
+
"update:dateTimeRange": (value: DateRangeValue) => any;
|
|
33
|
+
"update:smartRange": (value: DateRangeValue) => any;
|
|
34
|
+
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
35
|
+
onChange?: ((value: number | [number, number] | null) => any) | undefined;
|
|
36
|
+
"onUpdate:singleDate"?: ((value: DateValue) => any) | undefined;
|
|
37
|
+
"onUpdate:singleDateTime"?: ((value: DateValue) => any) | undefined;
|
|
38
|
+
"onUpdate:dateRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
39
|
+
"onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
40
|
+
"onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
20
41
|
}>, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
placeholder: string;
|
|
44
|
+
mode: DatePickerMode;
|
|
45
|
+
startPlaceholder: string;
|
|
46
|
+
endPlaceholder: string;
|
|
47
|
+
disabledBeforeToday: boolean;
|
|
48
|
+
disabledAfterToday: boolean;
|
|
49
|
+
valueFormat: string;
|
|
50
|
+
startDateProps: Record<string, any>;
|
|
51
|
+
endDateProps: Record<string, any>;
|
|
24
52
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
25
53
|
declare const _default: typeof __VLS_export;
|
|
26
54
|
//#endregion
|
|
27
|
-
export { _default as
|
|
55
|
+
export { _default as t };
|
|
28
56
|
//# sourceMappingURL=index12.vue.d.ts.map
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -1,79 +1,39 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/components/
|
|
4
|
-
type InsertImageFunction = (config: {
|
|
5
|
-
url: string;
|
|
6
|
-
desc?: string;
|
|
7
|
-
width?: string | number;
|
|
8
|
-
height?: string | number;
|
|
9
|
-
}) => void;
|
|
3
|
+
//#region src/components/C_Editor/index.vue.d.ts
|
|
10
4
|
interface Props {
|
|
5
|
+
editorId: string;
|
|
11
6
|
modelValue?: string;
|
|
12
|
-
height?: string | number;
|
|
13
|
-
disabled?: boolean;
|
|
14
7
|
placeholder?: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
multiple?: boolean;
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
tocNavPosition?: 'left' | 'right';
|
|
23
|
-
defaultFullscreen?: boolean;
|
|
24
|
-
autofocus?: boolean;
|
|
25
|
-
includeLevel?: number[];
|
|
26
|
-
leftToolbar?: string;
|
|
27
|
-
rightToolbar?: string;
|
|
28
|
-
maxLength?: number;
|
|
29
|
-
showWordCount?: boolean;
|
|
30
|
-
autoSave?: boolean;
|
|
31
|
-
autoSaveInterval?: number;
|
|
32
|
-
/** 是否为暗色主题(外部传入) */
|
|
33
|
-
isDark?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
height?: number;
|
|
11
|
+
theme?: "light" | "dark";
|
|
34
12
|
}
|
|
35
13
|
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
14
|
+
initializeEditor: () => void;
|
|
15
|
+
destroyEditor: () => void;
|
|
16
|
+
setContent: (html: string) => void;
|
|
17
|
+
getContent: () => string;
|
|
18
|
+
handleEditorFocus: () => void;
|
|
19
|
+
handleEditorBlur: () => void;
|
|
20
|
+
editorInstance: Readonly<vue.Ref<any, any>>;
|
|
21
|
+
isInitialized: Readonly<vue.Ref<boolean, boolean>>;
|
|
22
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
41
23
|
"update:modelValue": (value: string) => any;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
|
|
45
|
-
"fullscreen-change": (isFullscreen: boolean) => any;
|
|
46
|
-
"copy-code-success": (text: string) => any;
|
|
47
|
-
"word-count-change": (count: number) => any;
|
|
48
|
-
"auto-save": (text: string) => any;
|
|
49
|
-
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
24
|
+
"editor-mounted": (editor: any) => any;
|
|
25
|
+
"editor-change": (html: string) => any;
|
|
50
26
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
27
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
|
|
55
|
-
"onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
|
|
56
|
-
"onCopy-code-success"?: ((text: string) => any) | undefined;
|
|
57
|
-
"onWord-count-change"?: ((count: number) => any) | undefined;
|
|
58
|
-
"onAuto-save"?: ((text: string) => any) | undefined;
|
|
59
|
-
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
28
|
+
"onEditor-mounted"?: ((editor: any) => any) | undefined;
|
|
29
|
+
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
60
30
|
}>, {
|
|
61
31
|
modelValue: string;
|
|
62
|
-
|
|
32
|
+
height: number;
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
theme: "light" | "dark";
|
|
63
35
|
disabled: boolean;
|
|
64
|
-
|
|
65
|
-
isDark: boolean;
|
|
66
|
-
autoSave: boolean;
|
|
67
|
-
mode: "edit" | "editable" | "preview";
|
|
68
|
-
tocNavPosition: "left" | "right";
|
|
69
|
-
defaultFullscreen: boolean;
|
|
70
|
-
autofocus: boolean;
|
|
71
|
-
includeLevel: number[];
|
|
72
|
-
leftToolbar: string;
|
|
73
|
-
rightToolbar: string;
|
|
74
|
-
maxLength: number;
|
|
75
|
-
showWordCount: boolean;
|
|
76
|
-
autoSaveInterval: number;
|
|
36
|
+
placeholder: string;
|
|
77
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
38
|
declare const _default: typeof __VLS_export;
|
|
79
39
|
//#endregion
|
package/dist/index14.vue.d.ts
CHANGED
|
@@ -1,67 +1,30 @@
|
|
|
1
|
-
import { a as RouteItem, t as MenuAdapterConfig } from "./menuAdapter.js";
|
|
2
1
|
import * as vue from "vue";
|
|
3
|
-
import
|
|
4
|
-
import * as naive_ui_es_menu_src_interface0 from "naive-ui/es/menu/src/interface";
|
|
2
|
+
import "driver.js/dist/driver.css";
|
|
5
3
|
|
|
6
|
-
//#region src/components/
|
|
4
|
+
//#region src/components/C_Guide/index.vue.d.ts
|
|
5
|
+
interface GuideStep {
|
|
6
|
+
element: string;
|
|
7
|
+
popover: {
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
11
|
+
};
|
|
12
|
+
}
|
|
7
13
|
type __VLS_Props = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
options?: MenuOption[];
|
|
13
|
-
/**
|
|
14
|
-
* 模式二:传入路由数据,自动转换为 MenuOption[]
|
|
15
|
-
* 兼容 Vue Router RouteRecordRaw / 后端 JSON 路由表
|
|
16
|
-
*/
|
|
17
|
-
routes?: RouteItem[];
|
|
18
|
-
/**
|
|
19
|
-
* 适配器配置(仅 routes 模式生效)
|
|
20
|
-
* 可自定义 key/label/icon 取值、过滤逻辑等
|
|
21
|
-
*/
|
|
22
|
-
adapterConfig?: MenuAdapterConfig;
|
|
23
|
-
/**
|
|
24
|
-
* 标签文本格式化函数(routes 模式的快捷方式)
|
|
25
|
-
* 等同于 `adapterConfig.labelFormatter`,但优先级更高
|
|
26
|
-
*/
|
|
27
|
-
labelFormatter?: (label: string) => string; /** 当前激活的菜单 key */
|
|
28
|
-
value?: string; /** 菜单模式 */
|
|
29
|
-
mode?: 'vertical' | 'horizontal'; /** 是否折叠 */
|
|
30
|
-
collapsed?: boolean; /** 折叠宽度 */
|
|
31
|
-
collapsedWidth?: number; /** 折叠图标大小 */
|
|
32
|
-
collapsedIconSize?: number; /** 是否反色 */
|
|
33
|
-
inverted?: boolean; /** 主题覆盖 */
|
|
34
|
-
themeOverrides?: Record<string, any>; /** 缩进像素 */
|
|
35
|
-
indent?: number; /** 根缩进像素 */
|
|
36
|
-
rootIndent?: number; /** 下拉菜单属性(折叠模式) */
|
|
37
|
-
dropdownProps?: DropdownProps;
|
|
14
|
+
steps?: GuideStep[];
|
|
15
|
+
doneBtnText?: string;
|
|
16
|
+
nextBtnText?: string;
|
|
17
|
+
prevBtnText?: string;
|
|
38
18
|
};
|
|
39
19
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
deriveResponsiveState: () => void;
|
|
47
|
-
} | null>;
|
|
48
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
49
|
-
select: (key: string) => any;
|
|
50
|
-
"update:expandedKeys": (keys: string[]) => any;
|
|
51
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
52
|
-
onSelect?: ((key: string) => any) | undefined;
|
|
53
|
-
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
54
|
-
}>, {
|
|
55
|
-
mode: "vertical" | "horizontal";
|
|
56
|
-
collapsed: boolean;
|
|
57
|
-
collapsedWidth: number;
|
|
58
|
-
collapsedIconSize: number;
|
|
59
|
-
inverted: boolean;
|
|
60
|
-
indent: number;
|
|
61
|
-
rootIndent: number;
|
|
62
|
-
dropdownProps: DropdownProps;
|
|
20
|
+
startGuide: () => void;
|
|
21
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
+
steps: GuideStep[];
|
|
23
|
+
doneBtnText: string;
|
|
24
|
+
nextBtnText: string;
|
|
25
|
+
prevBtnText: string;
|
|
63
26
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
27
|
declare const _default: typeof __VLS_export;
|
|
65
28
|
//#endregion
|
|
66
|
-
export { _default as t };
|
|
29
|
+
export { _default as n, GuideStep as t };
|
|
67
30
|
//# sourceMappingURL=index14.vue.d.ts.map
|