@veltra/desktop 1.9.2 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ai-button/ai-button.js +117 -0
- package/dist/components/ai-button/ai-button.js.map +1 -0
- package/dist/components/ai-button/style.d.ts +1 -0
- package/dist/components/ai-button/style.js +3 -0
- package/dist/components/ai-button/style2.css +29 -0
- package/dist/components/code-editor/basic-setup.js +5 -5
- package/dist/components/code-editor/code-editor.js +2 -2
- package/dist/components/code-editor/langs/bash/index.js +2 -2
- package/dist/components/code-editor/langs/powershell/index.js +2 -2
- package/dist/components/code-editor/langs/spel/index.js +1 -1
- package/dist/components/code-editor/langs/spel/language.js +1 -1
- package/dist/components/code-editor/shell-extension.js +2 -2
- package/dist/components/file-viewer/previewers/pdf-worker-wrapper.js.map +1 -1
- package/dist/components/file-viewer/previewers/sheet-previewer.js +10 -14
- package/dist/components/file-viewer/previewers/sheet-previewer.js.map +1 -1
- package/dist/components/file-viewer/style2.css +42 -176
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +3 -1
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +108 -106
- package/dist/index.js +107 -106
- package/dist/node_modules/.bun/@codemirror_autocomplete@6.20.3/node_modules/@codemirror/autocomplete/dist/index.js +3 -3
- package/dist/node_modules/.bun/@codemirror_autocomplete@6.20.3/node_modules/@codemirror/autocomplete/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/{@codemirror_commands@6.11.0 → @codemirror_commands@6.11.1}/node_modules/@codemirror/commands/dist/index.js +7 -7
- package/dist/node_modules/.bun/@codemirror_commands@6.11.1/node_modules/@codemirror/commands/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@codemirror_lang-css@6.3.1/node_modules/@codemirror/lang-css/dist/index.js +3 -3
- package/dist/node_modules/.bun/@codemirror_lang-css@6.3.1/node_modules/@codemirror/lang-css/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-html@6.4.12/node_modules/@codemirror/lang-html/dist/index.js +3 -3
- package/dist/node_modules/.bun/@codemirror_lang-html@6.4.12/node_modules/@codemirror/lang-html/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-java@6.0.2/node_modules/@codemirror/lang-java/dist/index.js +2 -2
- package/dist/node_modules/.bun/@codemirror_lang-java@6.0.2/node_modules/@codemirror/lang-java/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-javascript@6.2.5/node_modules/@codemirror/lang-javascript/dist/index.js +5 -5
- package/dist/node_modules/.bun/@codemirror_lang-javascript@6.2.5/node_modules/@codemirror/lang-javascript/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-json@6.0.2/node_modules/@codemirror/lang-json/dist/index.js +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-json@6.0.2/node_modules/@codemirror/lang-json/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-markdown@6.5.2/node_modules/@codemirror/lang-markdown/dist/index.js +5 -5
- package/dist/node_modules/.bun/@codemirror_lang-markdown@6.5.2/node_modules/@codemirror/lang-markdown/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lang-sql@6.10.0/node_modules/@codemirror/lang-sql/dist/index.js +3 -3
- package/dist/node_modules/.bun/@codemirror_lang-sql@6.10.0/node_modules/@codemirror/lang-sql/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/{@codemirror_language@6.12.4 → @codemirror_language@6.13.1}/node_modules/@codemirror/language/dist/index.js +8 -171
- package/dist/node_modules/.bun/@codemirror_language@6.13.1/node_modules/@codemirror/language/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/{@codemirror_legacy-modes@6.5.4 → @codemirror_legacy-modes@6.5.5}/node_modules/@codemirror/legacy-modes/mode/powershell.js +1 -1
- package/dist/node_modules/.bun/{@codemirror_legacy-modes@6.5.4 → @codemirror_legacy-modes@6.5.5}/node_modules/@codemirror/legacy-modes/mode/powershell.js.map +1 -1
- package/dist/node_modules/.bun/{@codemirror_legacy-modes@6.5.4 → @codemirror_legacy-modes@6.5.5}/node_modules/@codemirror/legacy-modes/mode/shell.js +1 -1
- package/dist/node_modules/.bun/{@codemirror_legacy-modes@6.5.4 → @codemirror_legacy-modes@6.5.5}/node_modules/@codemirror/legacy-modes/mode/shell.js.map +1 -1
- package/dist/node_modules/.bun/@codemirror_lint@6.9.7/node_modules/@codemirror/lint/dist/index.js +2 -2
- package/dist/node_modules/.bun/@codemirror_lint@6.9.7/node_modules/@codemirror/lint/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/{@codemirror_search@6.7.1 → @codemirror_search@6.7.2}/node_modules/@codemirror/search/dist/index.js +10 -3
- package/dist/node_modules/.bun/@codemirror_search@6.7.2/node_modules/@codemirror/search/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/{@codemirror_state@6.7.1 → @codemirror_state@6.7.6}/node_modules/@codemirror/state/dist/index.js +51 -17
- package/dist/node_modules/.bun/@codemirror_state@6.7.6/node_modules/@codemirror/state/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@codemirror_streamparser@6.0.0/node_modules/@codemirror/streamparser/dist/index.js +169 -0
- package/dist/node_modules/.bun/@codemirror_streamparser@6.0.0/node_modules/@codemirror/streamparser/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@codemirror_theme-one-dark@6.1.3/node_modules/@codemirror/theme-one-dark/dist/index.js +3 -3
- package/dist/node_modules/.bun/@codemirror_theme-one-dark@6.1.3/node_modules/@codemirror/theme-one-dark/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/{@codemirror_view@6.43.9 → @codemirror_view@6.43.14}/node_modules/@codemirror/view/dist/index.js +160 -94
- package/dist/node_modules/.bun/@codemirror_view@6.43.14/node_modules/@codemirror/view/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/{@lezer_common@1.5.2 → @lezer_common@1.5.3}/node_modules/@lezer/common/dist/index.js +4 -4
- package/dist/node_modules/.bun/{@lezer_common@1.5.2 → @lezer_common@1.5.3}/node_modules/@lezer/common/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@lezer_css@1.3.9/node_modules/@lezer/css/dist/index.js +278 -0
- package/dist/node_modules/.bun/@lezer_css@1.3.9/node_modules/@lezer/css/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/{@lezer_highlight@1.2.3 → @lezer_highlight@1.2.5}/node_modules/@lezer/highlight/dist/index.js +4 -4
- package/dist/node_modules/.bun/@lezer_highlight@1.2.5/node_modules/@lezer/highlight/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@lezer_html@1.3.13/node_modules/@lezer/html/dist/index.js +3 -3
- package/dist/node_modules/.bun/@lezer_html@1.3.13/node_modules/@lezer/html/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/@lezer_java@1.1.5/node_modules/@lezer/java/dist/index.js +240 -0
- package/dist/node_modules/.bun/@lezer_java@1.1.5/node_modules/@lezer/java/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@lezer_javascript@1.5.6/node_modules/@lezer/javascript/dist/index.js +491 -0
- package/dist/node_modules/.bun/@lezer_javascript@1.5.6/node_modules/@lezer/javascript/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@lezer_json@1.0.3/node_modules/@lezer/json/dist/index.js +2 -2
- package/dist/node_modules/.bun/@lezer_json@1.0.3/node_modules/@lezer/json/dist/index.js.map +1 -1
- package/dist/node_modules/.bun/{@lezer_lr@1.4.10 → @lezer_lr@1.4.11}/node_modules/@lezer/lr/dist/index.js +41 -29
- package/dist/node_modules/.bun/@lezer_lr@1.4.11/node_modules/@lezer/lr/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/{@lezer_markdown@1.7.2 → @lezer_markdown@1.8.0}/node_modules/@lezer/markdown/dist/index.js +17 -8
- package/dist/node_modules/.bun/@lezer_markdown@1.8.0/node_modules/@lezer/markdown/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/{@marijn_find-cluster-break@1.0.3 → @marijn_find-cluster-break@1.0.4}/node_modules/@marijn/find-cluster-break/src/index.js +2 -2
- package/dist/node_modules/.bun/@marijn_find-cluster-break@1.0.4/node_modules/@marijn/find-cluster-break/src/index.js.map +1 -0
- package/dist/node_modules/.bun/crelt@1.0.7/node_modules/crelt/index.js.map +1 -1
- package/dist/node_modules/.bun/{style-mod@4.1.3 → style-mod@4.1.4}/node_modules/style-mod/src/style-mod.js +9 -4
- package/dist/node_modules/.bun/style-mod@4.1.4/node_modules/style-mod/src/style-mod.js.map +1 -0
- package/dist/node_modules/.bun/w3c-keyname@2.2.8/node_modules/w3c-keyname/index.js.map +1 -1
- package/dist/types/ai-button.d.ts +42 -0
- package/dist/types/index.d.ts +2 -1
- package/package.json +16 -22
- package/src/components/ai-button/__test__/ai-button.test.ts +375 -0
- package/src/components/ai-button/ai-button.vue +87 -0
- package/src/components/ai-button/index.ts +1 -0
- package/src/components/ai-button/style.scss +19 -0
- package/src/components/ai-button/style.ts +3 -0
- package/src/components/file-viewer/previewers/sheet-previewer.vue +7 -12
- package/src/components/file-viewer/style.scss +52 -233
- package/src/components/index.ts +2 -0
- package/src/types/ai-button.ts +44 -0
- package/src/types/index.ts +2 -0
- package/dist/node_modules/.bun/@codemirror_commands@6.11.0/node_modules/@codemirror/commands/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@codemirror_language@6.12.4/node_modules/@codemirror/language/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@codemirror_search@6.7.1/node_modules/@codemirror/search/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@codemirror_state@6.7.1/node_modules/@codemirror/state/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@codemirror_view@6.43.9/node_modules/@codemirror/view/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@lezer_css@1.3.6/node_modules/@lezer/css/dist/index.js +0 -268
- package/dist/node_modules/.bun/@lezer_css@1.3.6/node_modules/@lezer/css/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@lezer_highlight@1.2.3/node_modules/@lezer/highlight/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@lezer_java@1.1.3/node_modules/@lezer/java/dist/index.js +0 -235
- package/dist/node_modules/.bun/@lezer_java@1.1.3/node_modules/@lezer/java/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@lezer_javascript@1.5.4/node_modules/@lezer/javascript/dist/index.js +0 -491
- package/dist/node_modules/.bun/@lezer_javascript@1.5.4/node_modules/@lezer/javascript/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@lezer_lr@1.4.10/node_modules/@lezer/lr/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@lezer_markdown@1.7.2/node_modules/@lezer/markdown/dist/index.js.map +0 -1
- package/dist/node_modules/.bun/@marijn_find-cluster-break@1.0.3/node_modules/@marijn/find-cluster-break/src/index.js.map +0 -1
- package/dist/node_modules/.bun/style-mod@4.1.3/node_modules/style-mod/src/style-mod.js.map +0 -1
|
@@ -13,7 +13,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
13
13
|
},
|
|
14
14
|
emits: ["error"],
|
|
15
15
|
setup(__props, { emit: __emit }) {
|
|
16
|
-
/** 仅类型查询;运行时通过动态 import
|
|
16
|
+
/** 仅类型查询;运行时通过动态 import 加载(保持 sheet 层按需分包,不打进主产物) */
|
|
17
17
|
const emit = __emit;
|
|
18
18
|
const cls = bem("file-viewer");
|
|
19
19
|
const container = useTemplateRef("container");
|
|
@@ -32,15 +32,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
32
32
|
grid?.release();
|
|
33
33
|
grid = void 0;
|
|
34
34
|
}
|
|
35
|
-
/**
|
|
35
|
+
/** 动态加载电子表格层(infinitable/sheet);加载失败(缺依赖)时返回 undefined */
|
|
36
36
|
async function resolveSheetCore() {
|
|
37
37
|
if (sheetCore) return sheetCore;
|
|
38
38
|
try {
|
|
39
|
-
|
|
40
|
-
sheetCore = {
|
|
41
|
-
...core,
|
|
42
|
-
...grid
|
|
43
|
-
};
|
|
39
|
+
sheetCore = await import("infinitable/sheet");
|
|
44
40
|
return sheetCore;
|
|
45
41
|
} catch {
|
|
46
42
|
return;
|
|
@@ -85,7 +81,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
85
81
|
if (token !== loadToken) return;
|
|
86
82
|
if (!core) {
|
|
87
83
|
unavailable.value = true;
|
|
88
|
-
emit("error", /* @__PURE__ */ new Error("未安装
|
|
84
|
+
emit("error", /* @__PURE__ */ new Error("未安装 infinitable,无法预览 Excel/CSV"));
|
|
89
85
|
return;
|
|
90
86
|
}
|
|
91
87
|
unavailable.value = false;
|
|
@@ -113,13 +109,18 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
113
109
|
key: 0,
|
|
114
110
|
class: normalizeClass(unref(cls).e("empty"))
|
|
115
111
|
}, [createVNode(unref(_sfc_main$1), {
|
|
116
|
-
text: "无法预览表格:未安装
|
|
112
|
+
text: "无法预览表格:未安装 infinitable",
|
|
117
113
|
size: 32
|
|
118
114
|
})], 2)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
119
115
|
truncated.value ? (openBlock(), createElementBlock("div", {
|
|
120
116
|
key: 0,
|
|
121
117
|
class: normalizeClass(unref(cls).e("sheet-note"))
|
|
122
118
|
}, " 共 " + toDisplayString(totalRows.value.toLocaleString()) + " 行,超出预览上限 " + toDisplayString(__props.maxRows.toLocaleString()) + " 行,已全量加载 ", 3)) : createCommentVNode("v-if", true),
|
|
119
|
+
createElementVNode("div", {
|
|
120
|
+
ref_key: "container",
|
|
121
|
+
ref: container,
|
|
122
|
+
class: normalizeClass(unref(cls).e("sheet-stage"))
|
|
123
|
+
}, null, 2),
|
|
123
124
|
sheets.value.length > 1 ? (openBlock(), createElementBlock("div", {
|
|
124
125
|
key: 1,
|
|
125
126
|
class: normalizeClass(unref(cls).e("sheet-tabs"))
|
|
@@ -130,11 +131,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
130
131
|
onClick: ($event) => activeSheetIndex.value = i
|
|
131
132
|
}, toDisplayString(s.name), 11, _hoisted_1);
|
|
132
133
|
}), 128))], 2)) : createCommentVNode("v-if", true),
|
|
133
|
-
createElementVNode("div", {
|
|
134
|
-
ref_key: "container",
|
|
135
|
-
ref: container,
|
|
136
|
-
class: normalizeClass(unref(cls).e("sheet-stage"))
|
|
137
|
-
}, null, 2),
|
|
138
134
|
loading.value ? (openBlock(), createElementBlock("div", {
|
|
139
135
|
key: 2,
|
|
140
136
|
class: normalizeClass(unref(cls).e("loading"))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet-previewer.js","names":["_openBlock","_createElementBlock","_normalizeClass","_unref","_createVNode","UEmpty","_Fragment","_toDisplayString","_createCommentVNode","
|
|
1
|
+
{"version":3,"file":"sheet-previewer.js","names":["_openBlock","_createElementBlock","_normalizeClass","_unref","_createVNode","UEmpty","_Fragment","_toDisplayString","_createCommentVNode","_createElementVNode","_renderList"],"sources":["../../../../src/components/file-viewer/previewers/sheet-previewer.vue"],"sourcesContent":["<template>\n <div :class=\"cls.e('sheet')\">\n <div v-if=\"unavailable\" :class=\"cls.e('empty')\">\n <u-empty text=\"无法预览表格:未安装 infinitable\" :size=\"32\" />\n </div>\n <template v-else>\n <div v-if=\"truncated\" :class=\"cls.e('sheet-note')\">\n 共 {{ totalRows.toLocaleString() }} 行,超出预览上限\n {{ maxRows.toLocaleString() }} 行,已全量加载\n </div>\n <div ref=\"container\" :class=\"cls.e('sheet-stage')\" />\n <div v-if=\"sheets.length > 1\" :class=\"cls.e('sheet-tabs')\">\n <button\n v-for=\"(s, i) in sheets\"\n :key=\"s.name\"\n :class=\"[cls.e('sheet-tab'), bem.is('active', i === activeSheetIndex)]\"\n @click=\"activeSheetIndex = i\"\n >\n {{ s.name }}\n </button>\n </div>\n <div v-if=\"loading\" :class=\"cls.e('loading')\">加载中…</div>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { bem } from '@veltra/utils'\nimport { onBeforeUnmount, ref, shallowRef, useTemplateRef, watch } from 'vue'\n\nimport type { FileViewerItem } from '../../../types/file-viewer'\nimport { UEmpty } from '../../empty'\nimport { getExtension, toArrayBuffer } from '../helper'\n\ndefineOptions({ name: 'UFileViewerSheetPreviewer' })\n\n/** 仅类型查询;运行时通过动态 import 加载(保持 sheet 层按需分包,不打进主产物) */\ntype SheetCoreModule = typeof import('infinitable/sheet')\ntype Sheet = InstanceType<SheetCoreModule['Sheet']>\ntype SheetGrid = InstanceType<SheetCoreModule['SheetGrid']>\n\nconst { file, maxRows = 50_000 } = defineProps<{ file: FileViewerItem; maxRows?: number }>()\n\nconst emit = defineEmits<{ (e: 'error', err: unknown): void }>()\n\nconst cls = bem('file-viewer')\nconst container = useTemplateRef<HTMLDivElement>('container')\nconst loading = ref(true)\nconst unavailable = ref(false)\nconst truncated = ref(false)\nconst totalRows = ref(0)\nconst sheets = shallowRef<Sheet[]>([])\nconst activeSheetIndex = ref(0)\n\nlet controller: AbortController | undefined\n/** 递增 token:importXlsx 无 AbortSignal,靠它防止切文件后旧解析结果落地 */\nlet loadToken = 0\nlet grid: SheetGrid | undefined\nlet sheetCore: SheetCoreModule | undefined\n\nfunction releaseGrid() {\n grid?.release()\n grid = undefined\n}\n\n/** 动态加载电子表格层(infinitable/sheet);加载失败(缺依赖)时返回 undefined */\nasync function resolveSheetCore(): Promise<SheetCoreModule | undefined> {\n if (sheetCore) return sheetCore\n try {\n sheetCore = await import('infinitable/sheet')\n return sheetCore\n } catch {\n return undefined\n }\n}\n\n/** 解析文件为 Sheet 列表:xlsx 多表(importXlsx 建工作簿);csv 单表,表名取文件名 */\nasync function parseFile(\n core: SheetCoreModule,\n file: FileViewerItem,\n signal?: AbortSignal\n): Promise<Sheet[]> {\n const buf = await toArrayBuffer(file.src, signal)\n if (getExtension(file.name) === 'csv') {\n const text = new TextDecoder('utf-8', { fatal: false }).decode(buf)\n const sheet = new core.Sheet(file.name)\n core.importCsv(text, sheet)\n return [sheet]\n }\n const workbook = await core.importXlsx(buf)\n return workbook.getSheets()\n}\n\nfunction renderActive() {\n const sheet = sheets.value[activeSheetIndex.value]\n const el = container.value\n releaseGrid()\n if (!sheet || !el || !sheetCore) return\n\n // SheetGrid 的 rows 选项是渲染行数下限(构造时数据高水位恒并入渲染尺寸),\n // 不能用作行数上限;deleteRows 硬裁又会让引用被裁区域的公式显示 #REF!,\n // 故 maxRows 只驱动截断提示,不裁模型\n const total = sheet.rowCount\n totalRows.value = total\n truncated.value = maxRows > 0 && total > maxRows\n\n grid = new sheetCore.SheetGrid({ container: el, sheet, readonly: true })\n}\n\nasync function load() {\n const token = ++loadToken\n controller?.abort()\n controller = new AbortController()\n loading.value = true\n truncated.value = false\n releaseGrid()\n sheets.value = []\n activeSheetIndex.value = 0\n\n try {\n const core = await resolveSheetCore()\n if (token !== loadToken) return\n if (!core) {\n unavailable.value = true\n emit('error', new Error('未安装 infinitable,无法预览 Excel/CSV'))\n return\n }\n unavailable.value = false\n\n const parsed = await parseFile(core, file, controller.signal)\n if (token !== loadToken) return\n sheets.value = parsed\n renderActive()\n } catch (err) {\n if (token !== loadToken) return\n if ((err as { name?: string })?.name === 'AbortError') return\n emit('error', err)\n } finally {\n if (token === loadToken) loading.value = false\n }\n}\n\n// 只盯 src:宿主重算出的同内容新 file 对象不应触发重载(重新解析 zip 开销大)\nwatch(() => file.src, load, { immediate: true })\nwatch(activeSheetIndex, renderActive)\n\nonBeforeUnmount(() => {\n controller?.abort()\n releaseGrid()\n sheets.value = []\n})\n</script>\n"],"mappings":"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"}
|
|
@@ -18,46 +18,14 @@
|
|
|
18
18
|
/**
|
|
19
19
|
* 文件查看器样式
|
|
20
20
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
21
|
+
* 画布与模态均跟随主题:内嵌与模态共用同一套主题表面(bg-color.bottom 做画布底、
|
|
22
|
+
* bg-color.middle 做顶部微亮渐变),模态仅以全屏接管 + 入场动画表达层级,与 dialog
|
|
23
|
+
* 的遮罩/表面策略保持一致。纸面(图片/PDF/OFD/DOCX 页面)始终恒白,不随主题切换,
|
|
24
|
+
* 其色值收敛到下方文件头变量块(待 styles 包扩充深色中性阶 token 后可替换)。
|
|
25
25
|
*/
|
|
26
26
|
.u-file-viewer {
|
|
27
|
-
--u-file-viewer-canvas: #101114;
|
|
28
|
-
--u-file-viewer-canvas-soft: #17191f;
|
|
29
|
-
--u-file-viewer-canvas-overlay: rgba(16, 17, 20, 0.74);
|
|
30
27
|
--u-file-viewer-light-surface: #fff;
|
|
31
28
|
--u-file-viewer-light-ink: #222;
|
|
32
|
-
--u-file-viewer-page-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
|
|
33
|
-
--u-file-viewer-page-shadow-modal:
|
|
34
|
-
0 38px 110px rgba(0, 0, 0, 0.5),
|
|
35
|
-
0 0 0 1px rgba(255, 255, 255, 0.04);
|
|
36
|
-
--u-file-viewer-modal-backdrop: linear-gradient(
|
|
37
|
-
180deg,
|
|
38
|
-
rgba(5, 7, 11, 0.78),
|
|
39
|
-
rgba(4, 5, 8, 0.94)
|
|
40
|
-
);
|
|
41
|
-
--u-file-viewer-modal-sidebar: linear-gradient(
|
|
42
|
-
90deg,
|
|
43
|
-
rgba(8, 10, 15, 0.76),
|
|
44
|
-
rgba(8, 10, 15, 0.58) 78%,
|
|
45
|
-
rgba(8, 10, 15, 0.34)
|
|
46
|
-
);
|
|
47
|
-
--u-file-viewer-modal-stage-head: linear-gradient(
|
|
48
|
-
180deg,
|
|
49
|
-
rgba(9, 11, 16, 0.72),
|
|
50
|
-
rgba(9, 11, 16, 0.28) 72%,
|
|
51
|
-
transparent
|
|
52
|
-
);
|
|
53
|
-
--u-file-viewer-modal-body: linear-gradient(
|
|
54
|
-
180deg,
|
|
55
|
-
rgba(13, 16, 23, 0.58),
|
|
56
|
-
rgba(5, 6, 10, 0.82)
|
|
57
|
-
);
|
|
58
|
-
--u-file-viewer-modal-surface: rgba(8, 10, 14, 0.82);
|
|
59
|
-
--u-file-viewer-modal-panel: rgba(10, 12, 18, 0.78);
|
|
60
|
-
--u-file-viewer-modal-text: rgba(5, 7, 10, 0.76);
|
|
61
29
|
--u-file-viewer-kind-video: #db2777;
|
|
62
30
|
--u-file-viewer-kind-video-border: rgba(219, 39, 119, 0.28);
|
|
63
31
|
--u-file-viewer-kind-video-bg: rgba(219, 39, 119, 0.1);
|
|
@@ -99,9 +67,7 @@
|
|
|
99
67
|
.u-file-viewer.is-modal .u-file-viewer__backdrop {
|
|
100
68
|
position: absolute;
|
|
101
69
|
inset: 0;
|
|
102
|
-
background: var(--u-
|
|
103
|
-
backdrop-filter: var(--u-bg-filter);
|
|
104
|
-
-webkit-backdrop-filter: var(--u-bg-filter);
|
|
70
|
+
background: var(--u-bg-color-bottom);
|
|
105
71
|
}
|
|
106
72
|
.u-file-viewer.is-modal .u-file-viewer__sidebar, .u-file-viewer.is-modal .u-file-viewer__stage {
|
|
107
73
|
position: relative;
|
|
@@ -118,13 +84,6 @@
|
|
|
118
84
|
background: linear-gradient(180deg, var(--u-text-color-white-a-4), transparent 34%), var(--u-bg-color-middle);
|
|
119
85
|
border-right: 1px solid var(--u-border-color);
|
|
120
86
|
}
|
|
121
|
-
.u-file-viewer.is-modal .u-file-viewer__sidebar {
|
|
122
|
-
color: var(--u-text-color-white-a-86);
|
|
123
|
-
background: var(--u-file-viewer-modal-sidebar);
|
|
124
|
-
border-right: 1px solid var(--u-text-color-white-a-5);
|
|
125
|
-
backdrop-filter: var(--u-bg-filter);
|
|
126
|
-
-webkit-backdrop-filter: var(--u-bg-filter);
|
|
127
|
-
}
|
|
128
87
|
.u-file-viewer__sidebar-head {
|
|
129
88
|
display: flex;
|
|
130
89
|
align-items: center;
|
|
@@ -133,9 +92,6 @@
|
|
|
133
92
|
padding: 14px 12px 6px;
|
|
134
93
|
color: var(--u-text-color-title);
|
|
135
94
|
}
|
|
136
|
-
.u-file-viewer.is-modal .u-file-viewer__sidebar-head {
|
|
137
|
-
color: var(--u-text-color-white-a-70);
|
|
138
|
-
}
|
|
139
95
|
.u-file-viewer__sidebar-title {
|
|
140
96
|
font-size: 12px;
|
|
141
97
|
font-weight: 620;
|
|
@@ -147,9 +103,6 @@
|
|
|
147
103
|
font-variant-numeric: tabular-nums;
|
|
148
104
|
color: var(--u-text-color-second);
|
|
149
105
|
}
|
|
150
|
-
.u-file-viewer.is-modal .u-file-viewer__sidebar-count, .u-file-viewer.is-modal .u-file-viewer__item-size {
|
|
151
|
-
color: var(--u-text-color-white-a-50);
|
|
152
|
-
}
|
|
153
106
|
.u-file-viewer__list {
|
|
154
107
|
flex: 1;
|
|
155
108
|
min-height: 0;
|
|
@@ -167,18 +120,18 @@
|
|
|
167
120
|
display: flex;
|
|
168
121
|
align-items: center;
|
|
169
122
|
gap: 12px;
|
|
170
|
-
min-height:
|
|
171
|
-
padding: 7px 8px 7px
|
|
123
|
+
min-height: 44px;
|
|
124
|
+
padding: 7px 8px 7px 14px;
|
|
172
125
|
margin: 0;
|
|
173
|
-
border-radius:
|
|
126
|
+
border-radius: 8px;
|
|
174
127
|
cursor: pointer;
|
|
175
128
|
transition: background var(--u-transition-fast) var(--u-transition-ease), color var(--u-transition-fast) var(--u-transition-ease);
|
|
176
129
|
}
|
|
177
130
|
.u-file-viewer__item::before {
|
|
178
131
|
position: absolute;
|
|
179
|
-
left:
|
|
180
|
-
top:
|
|
181
|
-
bottom:
|
|
132
|
+
left: 4px;
|
|
133
|
+
top: 10px;
|
|
134
|
+
bottom: 10px;
|
|
182
135
|
width: 2px;
|
|
183
136
|
border-radius: 999px;
|
|
184
137
|
background: var(--u-color-primary);
|
|
@@ -197,19 +150,6 @@
|
|
|
197
150
|
opacity: 1;
|
|
198
151
|
transform: scaleY(1);
|
|
199
152
|
}
|
|
200
|
-
.u-file-viewer.is-modal .u-file-viewer__item {
|
|
201
|
-
color: var(--u-text-color-white-a-70);
|
|
202
|
-
}
|
|
203
|
-
.u-file-viewer.is-modal .u-file-viewer__item:hover {
|
|
204
|
-
background: var(--u-text-color-white-a-5);
|
|
205
|
-
}
|
|
206
|
-
.u-file-viewer.is-modal .u-file-viewer__item.is-active {
|
|
207
|
-
color: var(--u-text-color-white);
|
|
208
|
-
background: var(--u-text-color-white-a-8);
|
|
209
|
-
}
|
|
210
|
-
.u-file-viewer.is-modal .u-file-viewer__item.is-active::before {
|
|
211
|
-
background: var(--u-text-color-white-a-86);
|
|
212
|
-
}
|
|
213
153
|
.u-file-viewer__item-meta {
|
|
214
154
|
display: flex;
|
|
215
155
|
flex: 1;
|
|
@@ -226,9 +166,6 @@
|
|
|
226
166
|
text-overflow: ellipsis;
|
|
227
167
|
white-space: nowrap;
|
|
228
168
|
}
|
|
229
|
-
.u-file-viewer.is-modal .u-file-viewer__item-name {
|
|
230
|
-
color: var(--u-text-color-white-a-86);
|
|
231
|
-
}
|
|
232
169
|
.u-file-viewer__item-size {
|
|
233
170
|
font-size: 11px;
|
|
234
171
|
line-height: 1;
|
|
@@ -243,12 +180,6 @@
|
|
|
243
180
|
line-height: 1;
|
|
244
181
|
text-align: right;
|
|
245
182
|
}
|
|
246
|
-
.u-file-viewer.is-modal .u-file-viewer__item-kind {
|
|
247
|
-
color: var(--u-text-color-white-a-40);
|
|
248
|
-
}
|
|
249
|
-
.u-file-viewer.is-modal .u-file-viewer__item.is-active .u-file-viewer__item-kind {
|
|
250
|
-
color: var(--u-text-color-white-a-70);
|
|
251
|
-
}
|
|
252
183
|
.u-file-viewer__badge {
|
|
253
184
|
--u-file-viewer-kind: var(--u-text-color-second);
|
|
254
185
|
--u-file-viewer-kind-border: var(--u-text-color-second-a-28);
|
|
@@ -305,30 +236,17 @@
|
|
|
305
236
|
min-height: 0;
|
|
306
237
|
background: var(--u-bg-color-top);
|
|
307
238
|
}
|
|
308
|
-
.u-file-viewer.is-modal .u-file-viewer__stage {
|
|
309
|
-
position: relative;
|
|
310
|
-
color: var(--u-text-color-white-a-86);
|
|
311
|
-
background: transparent;
|
|
312
|
-
}
|
|
313
239
|
.u-file-viewer__stage-head {
|
|
314
240
|
display: flex;
|
|
315
241
|
align-items: center;
|
|
316
242
|
justify-content: space-between;
|
|
317
243
|
gap: 16px;
|
|
318
|
-
min-height:
|
|
319
|
-
padding:
|
|
244
|
+
min-height: 58px;
|
|
245
|
+
padding: 10px 14px 10px 16px;
|
|
320
246
|
background: linear-gradient(180deg, var(--u-text-color-white-a-4), transparent), var(--u-bg-color-top);
|
|
321
247
|
border-bottom: 1px solid var(--u-border-color);
|
|
322
248
|
flex-shrink: 0;
|
|
323
249
|
}
|
|
324
|
-
.u-file-viewer.is-modal .u-file-viewer__stage-head {
|
|
325
|
-
min-height: 64px;
|
|
326
|
-
color: var(--u-text-color-white-a-86);
|
|
327
|
-
background: var(--u-file-viewer-modal-stage-head);
|
|
328
|
-
border-bottom-color: transparent;
|
|
329
|
-
backdrop-filter: var(--u-bg-filter);
|
|
330
|
-
-webkit-backdrop-filter: var(--u-bg-filter);
|
|
331
|
-
}
|
|
332
250
|
.u-file-viewer__stage-title {
|
|
333
251
|
display: flex;
|
|
334
252
|
align-items: center;
|
|
@@ -350,9 +268,6 @@
|
|
|
350
268
|
text-overflow: ellipsis;
|
|
351
269
|
white-space: nowrap;
|
|
352
270
|
}
|
|
353
|
-
.u-file-viewer.is-modal .u-file-viewer__stage-name {
|
|
354
|
-
color: var(--u-text-color-white-a-86);
|
|
355
|
-
}
|
|
356
271
|
.u-file-viewer__stage-sub {
|
|
357
272
|
display: flex;
|
|
358
273
|
align-items: center;
|
|
@@ -378,9 +293,6 @@
|
|
|
378
293
|
content: "";
|
|
379
294
|
transform: translateY(-50%);
|
|
380
295
|
}
|
|
381
|
-
.u-file-viewer.is-modal .u-file-viewer__stage-sub {
|
|
382
|
-
color: var(--u-text-color-white-a-52);
|
|
383
|
-
}
|
|
384
296
|
.u-file-viewer__stage-actions {
|
|
385
297
|
display: flex;
|
|
386
298
|
align-items: center;
|
|
@@ -396,13 +308,9 @@
|
|
|
396
308
|
height: 34px;
|
|
397
309
|
padding: 2px;
|
|
398
310
|
border: 1px solid var(--u-border-color-a-86);
|
|
399
|
-
border-radius:
|
|
311
|
+
border-radius: 10px;
|
|
400
312
|
background: var(--u-bg-color-middle);
|
|
401
|
-
|
|
402
|
-
.u-file-viewer.is-modal .u-file-viewer__action-group {
|
|
403
|
-
border-color: var(--u-text-color-white-a-8);
|
|
404
|
-
background: var(--u-text-color-white-a-5);
|
|
405
|
-
box-shadow: 0 1px 0 var(--u-text-color-white-a-5) inset;
|
|
313
|
+
box-shadow: 0 1px 0 var(--u-text-color-white-a-4) inset;
|
|
406
314
|
}
|
|
407
315
|
.u-file-viewer__action {
|
|
408
316
|
display: inline-flex;
|
|
@@ -433,13 +341,6 @@
|
|
|
433
341
|
.u-file-viewer__action:focus-visible {
|
|
434
342
|
box-shadow: var(--u-focus-ring);
|
|
435
343
|
}
|
|
436
|
-
.u-file-viewer.is-modal .u-file-viewer__action {
|
|
437
|
-
color: var(--u-text-color-white-a-70);
|
|
438
|
-
}
|
|
439
|
-
.u-file-viewer.is-modal .u-file-viewer__action:not(:disabled):hover {
|
|
440
|
-
color: var(--u-text-color-white);
|
|
441
|
-
background: var(--u-text-color-white-a-10);
|
|
442
|
-
}
|
|
443
344
|
.u-file-viewer__action--icon {
|
|
444
345
|
width: 30px;
|
|
445
346
|
padding: 0;
|
|
@@ -453,15 +354,6 @@
|
|
|
453
354
|
color: var(--u-text-color-white);
|
|
454
355
|
background: var(--u-color-primary-light-1);
|
|
455
356
|
}
|
|
456
|
-
.u-file-viewer.is-modal .u-file-viewer__action--primary {
|
|
457
|
-
color: var(--u-file-viewer-light-ink);
|
|
458
|
-
background: var(--u-text-color-white-a-86);
|
|
459
|
-
border-color: var(--u-text-color-white-a-86);
|
|
460
|
-
}
|
|
461
|
-
.u-file-viewer.is-modal .u-file-viewer__action--primary:not(:disabled):hover {
|
|
462
|
-
color: var(--u-file-viewer-light-ink);
|
|
463
|
-
background: var(--u-file-viewer-light-surface);
|
|
464
|
-
}
|
|
465
357
|
.u-file-viewer__zoom-value {
|
|
466
358
|
min-width: 48px;
|
|
467
359
|
color: var(--u-text-color-title);
|
|
@@ -470,18 +362,12 @@
|
|
|
470
362
|
text-align: center;
|
|
471
363
|
user-select: none;
|
|
472
364
|
}
|
|
473
|
-
.u-file-viewer.is-modal .u-file-viewer__zoom-value {
|
|
474
|
-
color: var(--u-text-color-white-a-86);
|
|
475
|
-
}
|
|
476
365
|
.u-file-viewer__body {
|
|
477
366
|
position: relative;
|
|
478
367
|
flex: 1;
|
|
479
368
|
min-height: 0;
|
|
480
369
|
overflow: hidden;
|
|
481
|
-
background:
|
|
482
|
-
}
|
|
483
|
-
.u-file-viewer.is-modal .u-file-viewer__body {
|
|
484
|
-
background: var(--u-file-viewer-modal-body), linear-gradient(90deg, var(--u-text-color-white-a-4), transparent 22%, transparent 78%, var(--u-text-color-white-a-4));
|
|
370
|
+
background: radial-gradient(120% 80% at 50% 0%, var(--u-bg-color-middle), transparent 62%), var(--u-bg-color-bottom);
|
|
485
371
|
}
|
|
486
372
|
.u-file-viewer__viewport {
|
|
487
373
|
position: absolute;
|
|
@@ -497,7 +383,7 @@
|
|
|
497
383
|
display: flex;
|
|
498
384
|
align-items: center;
|
|
499
385
|
justify-content: center;
|
|
500
|
-
color: var(--u-text-color-
|
|
386
|
+
color: var(--u-text-color-second);
|
|
501
387
|
}
|
|
502
388
|
.u-file-viewer__image {
|
|
503
389
|
position: absolute;
|
|
@@ -525,15 +411,12 @@
|
|
|
525
411
|
object-fit: contain;
|
|
526
412
|
border-radius: 6px;
|
|
527
413
|
background: var(--u-file-viewer-light-surface);
|
|
528
|
-
box-shadow: var(--u-file-viewer-page-shadow);
|
|
529
414
|
}
|
|
530
415
|
.u-file-viewer.is-modal .u-file-viewer__image {
|
|
531
416
|
padding: clamp(18px, 4vw, 64px);
|
|
532
417
|
}
|
|
533
418
|
.u-file-viewer.is-modal .u-file-viewer__image img {
|
|
534
|
-
background: var(--u-text-color-white-a-4);
|
|
535
419
|
border-radius: 4px;
|
|
536
|
-
box-shadow: var(--u-file-viewer-page-shadow-modal);
|
|
537
420
|
}
|
|
538
421
|
.u-file-viewer__video {
|
|
539
422
|
position: absolute;
|
|
@@ -554,16 +437,12 @@
|
|
|
554
437
|
.u-file-viewer__text {
|
|
555
438
|
position: absolute;
|
|
556
439
|
inset: 0;
|
|
557
|
-
background: var(--u-file-viewer-canvas);
|
|
558
|
-
}
|
|
559
|
-
.u-file-viewer.is-modal .u-file-viewer__text {
|
|
560
|
-
background: var(--u-file-viewer-modal-text);
|
|
561
440
|
}
|
|
562
441
|
.u-file-viewer__text-pre {
|
|
563
442
|
min-width: max-content;
|
|
564
443
|
margin: 0;
|
|
565
444
|
padding: 22px 26px;
|
|
566
|
-
color: var(--u-text-color-
|
|
445
|
+
color: var(--u-text-color-main);
|
|
567
446
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
568
447
|
font-size: 12.5px;
|
|
569
448
|
line-height: 1.65;
|
|
@@ -595,9 +474,8 @@
|
|
|
595
474
|
height: 0;
|
|
596
475
|
}
|
|
597
476
|
.u-file-viewer__pdf-page {
|
|
598
|
-
margin:
|
|
477
|
+
margin: 28px auto;
|
|
599
478
|
background: var(--u-file-viewer-light-surface);
|
|
600
|
-
box-shadow: var(--u-file-viewer-page-shadow);
|
|
601
479
|
}
|
|
602
480
|
.u-file-viewer__pdf-page canvas {
|
|
603
481
|
display: block;
|
|
@@ -606,7 +484,6 @@
|
|
|
606
484
|
}
|
|
607
485
|
.u-file-viewer.is-modal .u-file-viewer__pdf-page {
|
|
608
486
|
margin: clamp(24px, 3vw, 44px) auto;
|
|
609
|
-
box-shadow: var(--u-file-viewer-page-shadow-modal);
|
|
610
487
|
}
|
|
611
488
|
.u-file-viewer__pdf-failed {
|
|
612
489
|
position: absolute;
|
|
@@ -615,7 +492,9 @@
|
|
|
615
492
|
align-items: center;
|
|
616
493
|
justify-content: center;
|
|
617
494
|
color: var(--u-color-danger);
|
|
618
|
-
background: var(--u-
|
|
495
|
+
background: var(--u-bg-color-bottom-a-70);
|
|
496
|
+
backdrop-filter: blur(4px);
|
|
497
|
+
-webkit-backdrop-filter: blur(4px);
|
|
619
498
|
font-size: 13px;
|
|
620
499
|
pointer-events: none;
|
|
621
500
|
}
|
|
@@ -629,9 +508,8 @@
|
|
|
629
508
|
overflow: auto;
|
|
630
509
|
}
|
|
631
510
|
.u-file-viewer__ofd-page {
|
|
632
|
-
margin:
|
|
511
|
+
margin: 28px auto;
|
|
633
512
|
background: var(--u-file-viewer-light-surface);
|
|
634
|
-
box-shadow: var(--u-file-viewer-page-shadow);
|
|
635
513
|
}
|
|
636
514
|
.u-file-viewer__ofd-page svg {
|
|
637
515
|
display: block;
|
|
@@ -654,14 +532,10 @@
|
|
|
654
532
|
margin: 0 auto;
|
|
655
533
|
color: var(--u-file-viewer-light-ink);
|
|
656
534
|
background: var(--u-file-viewer-light-surface);
|
|
657
|
-
box-shadow: var(--u-file-viewer-page-shadow);
|
|
658
535
|
}
|
|
659
536
|
.u-file-viewer.is-modal .u-file-viewer__docx-body {
|
|
660
537
|
padding: clamp(24px, 4vw, 64px);
|
|
661
538
|
}
|
|
662
|
-
.u-file-viewer.is-modal .u-file-viewer__docx-doc {
|
|
663
|
-
box-shadow: var(--u-file-viewer-page-shadow-modal);
|
|
664
|
-
}
|
|
665
539
|
.u-file-viewer__sheet {
|
|
666
540
|
position: absolute;
|
|
667
541
|
inset: 0;
|
|
@@ -669,9 +543,6 @@
|
|
|
669
543
|
flex-direction: column;
|
|
670
544
|
background: var(--u-bg-color-top);
|
|
671
545
|
}
|
|
672
|
-
.u-file-viewer.is-modal .u-file-viewer__sheet {
|
|
673
|
-
background: var(--u-file-viewer-modal-surface);
|
|
674
|
-
}
|
|
675
546
|
.u-file-viewer__sheet-note {
|
|
676
547
|
padding: 8px 16px;
|
|
677
548
|
color: var(--u-text-color-second);
|
|
@@ -681,19 +552,19 @@
|
|
|
681
552
|
line-height: 1.4;
|
|
682
553
|
flex-shrink: 0;
|
|
683
554
|
}
|
|
684
|
-
.u-file-viewer.is-modal .u-file-viewer__sheet-note, .u-file-viewer.is-modal .u-file-viewer__sheet-tabs {
|
|
685
|
-
color: var(--u-text-color-white-a-60);
|
|
686
|
-
background: var(--u-file-viewer-modal-panel);
|
|
687
|
-
border-bottom-color: var(--u-text-color-white-a-8);
|
|
688
|
-
}
|
|
689
555
|
.u-file-viewer__sheet-tabs {
|
|
690
556
|
display: flex;
|
|
691
557
|
gap: 6px;
|
|
692
558
|
padding: 9px 12px;
|
|
693
|
-
border-
|
|
559
|
+
border-top: 1px solid var(--u-border-color);
|
|
694
560
|
background: var(--u-bg-color-top);
|
|
695
561
|
flex-shrink: 0;
|
|
696
562
|
overflow-x: auto;
|
|
563
|
+
scrollbar-width: none;
|
|
564
|
+
}
|
|
565
|
+
.u-file-viewer__sheet-tabs::-webkit-scrollbar {
|
|
566
|
+
width: 0;
|
|
567
|
+
height: 0;
|
|
697
568
|
}
|
|
698
569
|
.u-file-viewer__sheet-tab {
|
|
699
570
|
flex-shrink: 0;
|
|
@@ -719,18 +590,6 @@
|
|
|
719
590
|
.u-file-viewer__sheet-tab:focus-visible {
|
|
720
591
|
box-shadow: var(--u-focus-ring);
|
|
721
592
|
}
|
|
722
|
-
.u-file-viewer.is-modal .u-file-viewer__sheet-tab {
|
|
723
|
-
color: var(--u-text-color-white-a-60);
|
|
724
|
-
}
|
|
725
|
-
.u-file-viewer.is-modal .u-file-viewer__sheet-tab:hover {
|
|
726
|
-
color: var(--u-text-color-white-a-86);
|
|
727
|
-
background: var(--u-text-color-white-a-8);
|
|
728
|
-
}
|
|
729
|
-
.u-file-viewer.is-modal .u-file-viewer__sheet-tab.is-active {
|
|
730
|
-
color: var(--u-text-color-white);
|
|
731
|
-
background: var(--u-text-color-white-a-10);
|
|
732
|
-
border-color: var(--u-text-color-white-a-11);
|
|
733
|
-
}
|
|
734
593
|
.u-file-viewer__sheet-stage {
|
|
735
594
|
flex: 1;
|
|
736
595
|
min-height: 0;
|
|
@@ -742,9 +601,12 @@
|
|
|
742
601
|
display: flex;
|
|
743
602
|
align-items: center;
|
|
744
603
|
justify-content: center;
|
|
745
|
-
color: var(--u-text-color-
|
|
746
|
-
background: var(--u-
|
|
604
|
+
color: var(--u-text-color-second);
|
|
605
|
+
background: var(--u-bg-color-bottom-a-70);
|
|
606
|
+
backdrop-filter: blur(4px);
|
|
607
|
+
-webkit-backdrop-filter: blur(4px);
|
|
747
608
|
font-size: 13px;
|
|
609
|
+
letter-spacing: 0.02em;
|
|
748
610
|
pointer-events: none;
|
|
749
611
|
}
|
|
750
612
|
@media (max-width: 720px) {
|
|
@@ -761,10 +623,6 @@
|
|
|
761
623
|
border-right: none;
|
|
762
624
|
border-bottom: 1px solid var(--u-border-color);
|
|
763
625
|
}
|
|
764
|
-
.u-file-viewer.is-modal .u-file-viewer__sidebar {
|
|
765
|
-
border-bottom-color: var(--u-text-color-white-a-8);
|
|
766
|
-
border-right: none;
|
|
767
|
-
}
|
|
768
626
|
.u-file-viewer__stage-head {
|
|
769
627
|
align-items: flex-start;
|
|
770
628
|
flex-direction: column;
|
|
@@ -792,6 +650,14 @@
|
|
|
792
650
|
will-change: opacity;
|
|
793
651
|
}
|
|
794
652
|
|
|
653
|
+
.u-file-viewer-modal-enter-active .u-file-viewer__stage {
|
|
654
|
+
transition: transform var(--u-transition-normal) var(--u-transition-ease);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.u-file-viewer-modal-enter-from .u-file-viewer__stage {
|
|
658
|
+
transform: translateY(10px) scale(0.99);
|
|
659
|
+
}
|
|
660
|
+
|
|
795
661
|
.u-file-viewer-modal-leave-active {
|
|
796
662
|
pointer-events: none;
|
|
797
663
|
}
|
|
@@ -108,6 +108,7 @@ import _sfc_main$102 from "./timeline/timeline.js";
|
|
|
108
108
|
import _sfc_main$103 from "./timeline/timeline-item.js";
|
|
109
109
|
import _sfc_main$104 from "./carousel/carousel.js";
|
|
110
110
|
import _sfc_main$105 from "./carousel/carousel-item.js";
|
|
111
|
+
import _sfc_main$106 from "./ai-button/ai-button.js";
|
|
111
112
|
import { EvaluateOptions, createEmptyGroup, createEmptyLeaf, evaluate } from "./condition-editor/core/evaluator.js";
|
|
112
113
|
import "./condition-editor/index.js";
|
|
113
114
|
import { messageConfirm } from "./message-confirm/message-confirm.js";
|
|
@@ -127,4 +128,4 @@ import { defineBatchEditColumns } from "./batch-edit/helper.js";
|
|
|
127
128
|
import "./batch-edit/index.js";
|
|
128
129
|
import { defineTableColumns } from "./table/use-columns.js";
|
|
129
130
|
import "./table/index.js";
|
|
130
|
-
export { type EvaluateOptions as ConditionEvaluateOptions, ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main$57 as UAction, action_group_default as UActionGroup, _sfc_main$94 as UAlert, _sfc_main$89 as UAnchor, _sfc_main$90 as UAnchorItem, _sfc_main$31 as UAutoComplete, _sfc_main$91 as UAvatar, _sfc_main$92 as UAvatarGroup, _sfc_main$93 as UBackTop, _sfc_main$85 as UBadge, _sfc_main$58 as UBatchEdit, _sfc_main$82 as UBreadcrumb, _sfc_main$18 as UButton, _sfc_main$19 as UButtonGroup, _sfc_main$21 as UCalendar, _sfc_main$23 as UCard, _sfc_main$27 as UCardAction, _sfc_main$26 as UCardContent, _sfc_main$25 as UCardCover, _sfc_main$24 as UCardHeader, _sfc_main$104 as UCarousel, _sfc_main$105 as UCarouselItem, _sfc_main$61 as UCascade, _sfc_main$48 as UCheckTag, _sfc_main$11 as UCheckbox, _sfc_main$36 as UCheckboxButton, _sfc_main$79 as UCheckboxGroup, _sfc_main$14 as UCodeEditor, _sfc_main$44 as UCollapse, _sfc_main$45 as UCollapseItem, _sfc_main$7 as UConditionEditor, _sfc_main$49 as UContextmenu, _sfc_main$28 as UDatePanel, _sfc_main$63 as UDatePicker, _sfc_main$29 as UDateRangePicker, _sfc_main$101 as UDescriptions, _sfc_main$100 as UDescriptionsItem, _sfc_main$52 as UDialog, _sfc_main$96 as UDivider, _sfc_main$15 as UDrawer, _sfc_main$4 as UDropdown, _sfc_main$74 as UDualNav, _sfc_main$1 as UEmpty, _sfc_main$53 as UExpressionEditor, _sfc_main$41 as UFilePicker, _sfc_main$80 as UFileViewer, _sfc_main$84 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$39 as UGanttChart, _sfc_main$16 as UGrid, _sfc_main$76 as UGridInput, _sfc_main$17 as UGridItem, _sfc_main$67 as UGroupInput, _sfc_main$75 as UGroupNav, _sfc_main as UIcon, _sfc_main$87 as UImageCropper, input_default as UInput, _sfc_main$88 as UKanban, _sfc_main$55 as UKbd, _sfc_main$34 as ULayout, _sfc_main$68 as UList, _sfc_main$69 as UListItem, _sfc_main$5 as ULoading, _sfc_main$40 as UMessage, _sfc_main$20 as UMessageConfirm, _sfc_main$37 as UMultiSelect, _sfc_main$66 as UMultiTreeSelect, _sfc_main$73 as UNav, _sfc_main$71 as UNavItem, _sfc_main$72 as UNavSub, NodeRender as UNodeRender, _sfc_main$33 as UNotification, _sfc_main$51 as UNumber, _sfc_main$42 as UNumberInput, _sfc_main$43 as UNumberRangeInput, _sfc_main$83 as UPaginator, _sfc_main$64 as UPalette, _sfc_main$50 as UPasswordInput, _sfc_main$56 as UPopConfirm, _sfc_main$32 as UProgress, _sfc_main$30 as UProgressNodes, _sfc_main$22 as URadio, _sfc_main$78 as URadioGroup, _sfc_main$95 as URate, _sfc_main$70 as URichTextEditor, _sfc_main$2 as UScroll, _sfc_main$86 as USegment, _sfc_main$6 as USelect, _sfc_main$98 as USkeleton, _sfc_main$38 as USlider, _sfc_main$97 as USpace, _sfc_main$62 as USteps, _sfc_main$77 as USwitch, _sfc_main$46 as UTable, _sfc_main$47 as UTableEditor, _sfc_main$10 as UTabs, _sfc_main$8 as UTabsHorizontal, _sfc_main$9 as UTabsVertical, _sfc_main$35 as UTag, _sfc_main$81 as UText, _sfc_main$60 as UTextarea, _sfc_main$65 as UTheme, _sfc_main$99 as UTimePicker, _sfc_main$102 as UTimeline, _sfc_main$103 as UTimelineItem, _sfc_main$3 as UTip, _sfc_main$59 as UTransfer, _sfc_main$12 as UTree, _sfc_main$13 as UTreeSelect, _sfc_main$54 as UWatermark, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
|
|
131
|
+
export { type EvaluateOptions as ConditionEvaluateOptions, ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main$57 as UAction, action_group_default as UActionGroup, _sfc_main$106 as UAiButton, _sfc_main$94 as UAlert, _sfc_main$89 as UAnchor, _sfc_main$90 as UAnchorItem, _sfc_main$31 as UAutoComplete, _sfc_main$91 as UAvatar, _sfc_main$92 as UAvatarGroup, _sfc_main$93 as UBackTop, _sfc_main$85 as UBadge, _sfc_main$58 as UBatchEdit, _sfc_main$82 as UBreadcrumb, _sfc_main$18 as UButton, _sfc_main$19 as UButtonGroup, _sfc_main$21 as UCalendar, _sfc_main$23 as UCard, _sfc_main$27 as UCardAction, _sfc_main$26 as UCardContent, _sfc_main$25 as UCardCover, _sfc_main$24 as UCardHeader, _sfc_main$104 as UCarousel, _sfc_main$105 as UCarouselItem, _sfc_main$61 as UCascade, _sfc_main$48 as UCheckTag, _sfc_main$11 as UCheckbox, _sfc_main$36 as UCheckboxButton, _sfc_main$79 as UCheckboxGroup, _sfc_main$14 as UCodeEditor, _sfc_main$44 as UCollapse, _sfc_main$45 as UCollapseItem, _sfc_main$7 as UConditionEditor, _sfc_main$49 as UContextmenu, _sfc_main$28 as UDatePanel, _sfc_main$63 as UDatePicker, _sfc_main$29 as UDateRangePicker, _sfc_main$101 as UDescriptions, _sfc_main$100 as UDescriptionsItem, _sfc_main$52 as UDialog, _sfc_main$96 as UDivider, _sfc_main$15 as UDrawer, _sfc_main$4 as UDropdown, _sfc_main$74 as UDualNav, _sfc_main$1 as UEmpty, _sfc_main$53 as UExpressionEditor, _sfc_main$41 as UFilePicker, _sfc_main$80 as UFileViewer, _sfc_main$84 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$39 as UGanttChart, _sfc_main$16 as UGrid, _sfc_main$76 as UGridInput, _sfc_main$17 as UGridItem, _sfc_main$67 as UGroupInput, _sfc_main$75 as UGroupNav, _sfc_main as UIcon, _sfc_main$87 as UImageCropper, input_default as UInput, _sfc_main$88 as UKanban, _sfc_main$55 as UKbd, _sfc_main$34 as ULayout, _sfc_main$68 as UList, _sfc_main$69 as UListItem, _sfc_main$5 as ULoading, _sfc_main$40 as UMessage, _sfc_main$20 as UMessageConfirm, _sfc_main$37 as UMultiSelect, _sfc_main$66 as UMultiTreeSelect, _sfc_main$73 as UNav, _sfc_main$71 as UNavItem, _sfc_main$72 as UNavSub, NodeRender as UNodeRender, _sfc_main$33 as UNotification, _sfc_main$51 as UNumber, _sfc_main$42 as UNumberInput, _sfc_main$43 as UNumberRangeInput, _sfc_main$83 as UPaginator, _sfc_main$64 as UPalette, _sfc_main$50 as UPasswordInput, _sfc_main$56 as UPopConfirm, _sfc_main$32 as UProgress, _sfc_main$30 as UProgressNodes, _sfc_main$22 as URadio, _sfc_main$78 as URadioGroup, _sfc_main$95 as URate, _sfc_main$70 as URichTextEditor, _sfc_main$2 as UScroll, _sfc_main$86 as USegment, _sfc_main$6 as USelect, _sfc_main$98 as USkeleton, _sfc_main$38 as USlider, _sfc_main$97 as USpace, _sfc_main$62 as USteps, _sfc_main$77 as USwitch, _sfc_main$46 as UTable, _sfc_main$47 as UTableEditor, _sfc_main$10 as UTabs, _sfc_main$8 as UTabsHorizontal, _sfc_main$9 as UTabsVertical, _sfc_main$35 as UTag, _sfc_main$81 as UText, _sfc_main$60 as UTextarea, _sfc_main$65 as UTheme, _sfc_main$99 as UTimePicker, _sfc_main$102 as UTimeline, _sfc_main$103 as UTimelineItem, _sfc_main$3 as UTip, _sfc_main$59 as UTransfer, _sfc_main$12 as UTree, _sfc_main$13 as UTreeSelect, _sfc_main$54 as UWatermark, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
|
package/dist/components/index.js
CHANGED
|
@@ -119,12 +119,14 @@ import _sfc_main$102 from "./timeline/timeline.js";
|
|
|
119
119
|
import _sfc_main$103 from "./timeline/timeline-item.js";
|
|
120
120
|
import _sfc_main$104 from "./carousel/carousel.js";
|
|
121
121
|
import _sfc_main$105 from "./carousel/carousel-item.js";
|
|
122
|
+
import _sfc_main$106 from "./ai-button/ai-button.js";
|
|
122
123
|
//#region src/components/index.ts
|
|
123
124
|
var components_exports = /* @__PURE__ */ __exportAll({
|
|
124
125
|
ContextmenuPanelDIKey: () => ContextmenuPanelDIKey,
|
|
125
126
|
ContextmenuRootDIKey: () => ContextmenuRootDIKey,
|
|
126
127
|
UAction: () => _sfc_main$57,
|
|
127
128
|
UActionGroup: () => action_group_default,
|
|
129
|
+
UAiButton: () => _sfc_main$106,
|
|
128
130
|
UAlert: () => _sfc_main$94,
|
|
129
131
|
UAnchor: () => _sfc_main$89,
|
|
130
132
|
UAnchorItem: () => _sfc_main$90,
|
|
@@ -246,6 +248,6 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
246
248
|
vLoading: () => vLoading
|
|
247
249
|
});
|
|
248
250
|
//#endregion
|
|
249
|
-
export { ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main$57 as UAction, action_group_default as UActionGroup, _sfc_main$94 as UAlert, _sfc_main$89 as UAnchor, _sfc_main$90 as UAnchorItem, _sfc_main$31 as UAutoComplete, _sfc_main$91 as UAvatar, _sfc_main$92 as UAvatarGroup, _sfc_main$93 as UBackTop, _sfc_main$85 as UBadge, _sfc_main$58 as UBatchEdit, _sfc_main$82 as UBreadcrumb, _sfc_main$18 as UButton, _sfc_main$19 as UButtonGroup, _sfc_main$21 as UCalendar, _sfc_main$23 as UCard, _sfc_main$27 as UCardAction, _sfc_main$26 as UCardContent, _sfc_main$25 as UCardCover, _sfc_main$24 as UCardHeader, _sfc_main$104 as UCarousel, _sfc_main$105 as UCarouselItem, _sfc_main$61 as UCascade, _sfc_main$48 as UCheckTag, _sfc_main$11 as UCheckbox, _sfc_main$36 as UCheckboxButton, _sfc_main$79 as UCheckboxGroup, _sfc_main$14 as UCodeEditor, _sfc_main$44 as UCollapse, _sfc_main$45 as UCollapseItem, _sfc_main$7 as UConditionEditor, _sfc_main$49 as UContextmenu, _sfc_main$28 as UDatePanel, _sfc_main$63 as UDatePicker, _sfc_main$29 as UDateRangePicker, _sfc_main$101 as UDescriptions, _sfc_main$100 as UDescriptionsItem, _sfc_main$52 as UDialog, _sfc_main$96 as UDivider, _sfc_main$15 as UDrawer, _sfc_main$4 as UDropdown, _sfc_main$74 as UDualNav, _sfc_main$1 as UEmpty, _sfc_main$53 as UExpressionEditor, _sfc_main$41 as UFilePicker, _sfc_main$80 as UFileViewer, _sfc_main$84 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$39 as UGanttChart, _sfc_main$16 as UGrid, _sfc_main$76 as UGridInput, _sfc_main$17 as UGridItem, _sfc_main$67 as UGroupInput, _sfc_main$75 as UGroupNav, _sfc_main as UIcon, _sfc_main$87 as UImageCropper, input_default as UInput, _sfc_main$88 as UKanban, _sfc_main$55 as UKbd, _sfc_main$34 as ULayout, _sfc_main$68 as UList, _sfc_main$69 as UListItem, _sfc_main$5 as ULoading, _sfc_main$40 as UMessage, _sfc_main$20 as UMessageConfirm, _sfc_main$37 as UMultiSelect, _sfc_main$66 as UMultiTreeSelect, _sfc_main$73 as UNav, _sfc_main$71 as UNavItem, _sfc_main$72 as UNavSub, NodeRender as UNodeRender, _sfc_main$33 as UNotification, _sfc_main$51 as UNumber, _sfc_main$42 as UNumberInput, _sfc_main$43 as UNumberRangeInput, _sfc_main$83 as UPaginator, _sfc_main$64 as UPalette, _sfc_main$50 as UPasswordInput, _sfc_main$56 as UPopConfirm, _sfc_main$32 as UProgress, _sfc_main$30 as UProgressNodes, _sfc_main$22 as URadio, _sfc_main$78 as URadioGroup, _sfc_main$95 as URate, _sfc_main$70 as URichTextEditor, _sfc_main$2 as UScroll, _sfc_main$86 as USegment, _sfc_main$6 as USelect, _sfc_main$98 as USkeleton, _sfc_main$38 as USlider, _sfc_main$97 as USpace, _sfc_main$62 as USteps, _sfc_main$77 as USwitch, _sfc_main$46 as UTable, _sfc_main$47 as UTableEditor, _sfc_main$10 as UTabs, _sfc_main$8 as UTabsHorizontal, _sfc_main$9 as UTabsVertical, _sfc_main$35 as UTag, _sfc_main$81 as UText, _sfc_main$60 as UTextarea, _sfc_main$65 as UTheme, _sfc_main$99 as UTimePicker, _sfc_main$102 as UTimeline, _sfc_main$103 as UTimelineItem, _sfc_main$3 as UTip, _sfc_main$59 as UTransfer, _sfc_main$12 as UTree, _sfc_main$13 as UTreeSelect, _sfc_main$54 as UWatermark, components_exports, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
|
|
251
|
+
export { ContextmenuPanelDIKey, ContextmenuRootDIKey, _sfc_main$57 as UAction, action_group_default as UActionGroup, _sfc_main$106 as UAiButton, _sfc_main$94 as UAlert, _sfc_main$89 as UAnchor, _sfc_main$90 as UAnchorItem, _sfc_main$31 as UAutoComplete, _sfc_main$91 as UAvatar, _sfc_main$92 as UAvatarGroup, _sfc_main$93 as UBackTop, _sfc_main$85 as UBadge, _sfc_main$58 as UBatchEdit, _sfc_main$82 as UBreadcrumb, _sfc_main$18 as UButton, _sfc_main$19 as UButtonGroup, _sfc_main$21 as UCalendar, _sfc_main$23 as UCard, _sfc_main$27 as UCardAction, _sfc_main$26 as UCardContent, _sfc_main$25 as UCardCover, _sfc_main$24 as UCardHeader, _sfc_main$104 as UCarousel, _sfc_main$105 as UCarouselItem, _sfc_main$61 as UCascade, _sfc_main$48 as UCheckTag, _sfc_main$11 as UCheckbox, _sfc_main$36 as UCheckboxButton, _sfc_main$79 as UCheckboxGroup, _sfc_main$14 as UCodeEditor, _sfc_main$44 as UCollapse, _sfc_main$45 as UCollapseItem, _sfc_main$7 as UConditionEditor, _sfc_main$49 as UContextmenu, _sfc_main$28 as UDatePanel, _sfc_main$63 as UDatePicker, _sfc_main$29 as UDateRangePicker, _sfc_main$101 as UDescriptions, _sfc_main$100 as UDescriptionsItem, _sfc_main$52 as UDialog, _sfc_main$96 as UDivider, _sfc_main$15 as UDrawer, _sfc_main$4 as UDropdown, _sfc_main$74 as UDualNav, _sfc_main$1 as UEmpty, _sfc_main$53 as UExpressionEditor, _sfc_main$41 as UFilePicker, _sfc_main$80 as UFileViewer, _sfc_main$84 as UFloatButton, form_default as UForm, form_item_default as UFormItem, _sfc_main$39 as UGanttChart, _sfc_main$16 as UGrid, _sfc_main$76 as UGridInput, _sfc_main$17 as UGridItem, _sfc_main$67 as UGroupInput, _sfc_main$75 as UGroupNav, _sfc_main as UIcon, _sfc_main$87 as UImageCropper, input_default as UInput, _sfc_main$88 as UKanban, _sfc_main$55 as UKbd, _sfc_main$34 as ULayout, _sfc_main$68 as UList, _sfc_main$69 as UListItem, _sfc_main$5 as ULoading, _sfc_main$40 as UMessage, _sfc_main$20 as UMessageConfirm, _sfc_main$37 as UMultiSelect, _sfc_main$66 as UMultiTreeSelect, _sfc_main$73 as UNav, _sfc_main$71 as UNavItem, _sfc_main$72 as UNavSub, NodeRender as UNodeRender, _sfc_main$33 as UNotification, _sfc_main$51 as UNumber, _sfc_main$42 as UNumberInput, _sfc_main$43 as UNumberRangeInput, _sfc_main$83 as UPaginator, _sfc_main$64 as UPalette, _sfc_main$50 as UPasswordInput, _sfc_main$56 as UPopConfirm, _sfc_main$32 as UProgress, _sfc_main$30 as UProgressNodes, _sfc_main$22 as URadio, _sfc_main$78 as URadioGroup, _sfc_main$95 as URate, _sfc_main$70 as URichTextEditor, _sfc_main$2 as UScroll, _sfc_main$86 as USegment, _sfc_main$6 as USelect, _sfc_main$98 as USkeleton, _sfc_main$38 as USlider, _sfc_main$97 as USpace, _sfc_main$62 as USteps, _sfc_main$77 as USwitch, _sfc_main$46 as UTable, _sfc_main$47 as UTableEditor, _sfc_main$10 as UTabs, _sfc_main$8 as UTabsHorizontal, _sfc_main$9 as UTabsVertical, _sfc_main$35 as UTag, _sfc_main$81 as UText, _sfc_main$60 as UTextarea, _sfc_main$65 as UTheme, _sfc_main$99 as UTimePicker, _sfc_main$102 as UTimeline, _sfc_main$103 as UTimelineItem, _sfc_main$3 as UTip, _sfc_main$59 as UTransfer, _sfc_main$12 as UTree, _sfc_main$13 as UTreeSelect, _sfc_main$54 as UWatermark, components_exports, contextmenu, createEmptyGroup, createEmptyLeaf, defineBatchEditColumns, defineTableColumns, evaluate as evaluateConditionExpression, message, messageConfirm, notification, vLoading };
|
|
250
252
|
|
|
251
253
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["export * from './condition-editor'\n\nexport * from './tabs'\n\nexport * from './tree'\n\nexport * from './tree-select'\n\nexport * from './code-editor'\n\nexport * from './dropdown'\n\nexport * from './drawer'\n\nexport * from './form'\n\nexport * from './message-confirm'\n\nexport * from './calendar'\n\nexport * from './radio'\n\nexport * from './card'\n\nexport * from './date-range-picker'\n\nexport * from './loading'\n\nexport * from './scroll'\n\nexport * from './progress-nodes'\n\nexport * from './empty'\n\nexport * from './auto-complete'\n\nexport * from './progress'\n\nexport * from './input'\n\nexport * from './notification'\n\nexport * from './layout'\n\nexport * from './multi-select'\n\nexport * from './checkbox'\n\nexport * from './slider'\n\nexport * from './gantt-chart'\n\nexport * from './message'\n\nexport * from './file-picker'\n\nexport * from './number-range-input'\n\nexport * from './number-input'\n\nexport * from './collapse'\n\nexport * from './date-panel'\n\nexport * from './table-editor'\n\nexport * from './check-tag'\n\nexport * from './contextmenu'\n\nexport * from './password-input'\n\nexport * from './number'\n\nexport * from './dialog'\n\nexport * from './node-render'\n\nexport * from './expression-editor'\n\nexport * from './watermark'\n\nexport * from './batch-edit'\n\nexport * from './action'\n\nexport * from './tip'\n\nexport * from './transfer'\n\nexport * from './textarea'\n\nexport * from './button'\n\nexport * from './cascade'\n\nexport * from './steps'\n\nexport * from './date-picker'\n\nexport * from './theme'\n\nexport * from './table'\n\nexport * from './multi-tree-select'\n\nexport * from './group-input'\n\nexport * from './list'\n\nexport * from './rich-text-editor'\n\nexport * from './nav'\n\nexport * from './dual-nav'\n\nexport * from './group-nav'\n\nexport * from './grid-input'\n\nexport * from './switch'\n\nexport * from './form-item'\n\nexport * from './radio-group'\n\nexport * from './checkbox-group'\n\nexport * from './file-viewer'\n\nexport * from './text'\n\nexport * from './select'\n\nexport * from './breadcrumb'\n\nexport * from './icon'\n\nexport * from './kbd'\n\nexport * from './pop-confirm'\n\nexport * from './paginator'\n\nexport * from './tag'\n\nexport * from './float-button'\n\nexport * from './palette'\n\nexport * from './grid'\n\nexport * from './badge'\n\nexport * from './segment'\n\nexport * from './image-cropper'\n\nexport * from './kanban'\n\nexport * from './anchor'\n\nexport * from './avatar'\n\nexport * from './back-top'\n\nexport * from './alert'\n\nexport * from './rate'\n\nexport * from './divider'\n\nexport * from './space'\n\nexport * from './skeleton'\n\nexport * from './time-picker'\n\nexport * from './descriptions'\n\nexport * from './timeline'\n\nexport * from './carousel'\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["export * from './condition-editor'\n\nexport * from './tabs'\n\nexport * from './tree'\n\nexport * from './tree-select'\n\nexport * from './code-editor'\n\nexport * from './dropdown'\n\nexport * from './drawer'\n\nexport * from './form'\n\nexport * from './message-confirm'\n\nexport * from './calendar'\n\nexport * from './radio'\n\nexport * from './card'\n\nexport * from './date-range-picker'\n\nexport * from './loading'\n\nexport * from './scroll'\n\nexport * from './progress-nodes'\n\nexport * from './empty'\n\nexport * from './auto-complete'\n\nexport * from './progress'\n\nexport * from './input'\n\nexport * from './notification'\n\nexport * from './layout'\n\nexport * from './multi-select'\n\nexport * from './checkbox'\n\nexport * from './slider'\n\nexport * from './gantt-chart'\n\nexport * from './message'\n\nexport * from './file-picker'\n\nexport * from './number-range-input'\n\nexport * from './number-input'\n\nexport * from './collapse'\n\nexport * from './date-panel'\n\nexport * from './table-editor'\n\nexport * from './check-tag'\n\nexport * from './contextmenu'\n\nexport * from './password-input'\n\nexport * from './number'\n\nexport * from './dialog'\n\nexport * from './node-render'\n\nexport * from './expression-editor'\n\nexport * from './watermark'\n\nexport * from './batch-edit'\n\nexport * from './action'\n\nexport * from './tip'\n\nexport * from './transfer'\n\nexport * from './textarea'\n\nexport * from './button'\n\nexport * from './cascade'\n\nexport * from './steps'\n\nexport * from './date-picker'\n\nexport * from './theme'\n\nexport * from './table'\n\nexport * from './multi-tree-select'\n\nexport * from './group-input'\n\nexport * from './list'\n\nexport * from './rich-text-editor'\n\nexport * from './nav'\n\nexport * from './dual-nav'\n\nexport * from './group-nav'\n\nexport * from './grid-input'\n\nexport * from './switch'\n\nexport * from './form-item'\n\nexport * from './radio-group'\n\nexport * from './checkbox-group'\n\nexport * from './file-viewer'\n\nexport * from './text'\n\nexport * from './select'\n\nexport * from './breadcrumb'\n\nexport * from './icon'\n\nexport * from './kbd'\n\nexport * from './pop-confirm'\n\nexport * from './paginator'\n\nexport * from './tag'\n\nexport * from './float-button'\n\nexport * from './palette'\n\nexport * from './grid'\n\nexport * from './badge'\n\nexport * from './segment'\n\nexport * from './image-cropper'\n\nexport * from './kanban'\n\nexport * from './anchor'\n\nexport * from './avatar'\n\nexport * from './back-top'\n\nexport * from './alert'\n\nexport * from './rate'\n\nexport * from './divider'\n\nexport * from './space'\n\nexport * from './skeleton'\n\nexport * from './time-picker'\n\nexport * from './descriptions'\n\nexport * from './timeline'\n\nexport * from './carousel'\n\nexport * from './ai-button'\n"],"mappings":""}
|