mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 00:18:51 +08:00
chore: update
This commit is contained in:
parent
88d804df89
commit
1ce0038c13
@ -36,8 +36,6 @@ const include = [
|
|||||||
"vue-json-pretty",
|
"vue-json-pretty",
|
||||||
"@logicflow/core",
|
"@logicflow/core",
|
||||||
"@pureadmin/utils",
|
"@pureadmin/utils",
|
||||||
"@vue-office/docx",
|
|
||||||
"@vue-office/excel",
|
|
||||||
"@wangeditor/editor",
|
"@wangeditor/editor",
|
||||||
"responsive-storage",
|
"responsive-storage",
|
||||||
"plus-pro-components",
|
"plus-pro-components",
|
||||||
|
@ -166,8 +166,6 @@ menus:
|
|||||||
pureSwiper: Swiper Plugin
|
pureSwiper: Swiper Plugin
|
||||||
pureVirtualList: Virtual List
|
pureVirtualList: Virtual List
|
||||||
purePdf: PDF Preview
|
purePdf: PDF Preview
|
||||||
pureWord: Word Preview
|
|
||||||
pureExcels: Excel Preview
|
|
||||||
pureExcel: Export Excel
|
pureExcel: Export Excel
|
||||||
pureInfiniteScroll: Table Infinite Scroll
|
pureInfiniteScroll: Table Infinite Scroll
|
||||||
pureSensitive: Sensitive Filter
|
pureSensitive: Sensitive Filter
|
||||||
|
@ -166,8 +166,6 @@ menus:
|
|||||||
pureSwiper: Swiper插件
|
pureSwiper: Swiper插件
|
||||||
pureVirtualList: 虚拟列表
|
pureVirtualList: 虚拟列表
|
||||||
purePdf: PDF预览
|
purePdf: PDF预览
|
||||||
pureWord: Word预览
|
|
||||||
pureExcels: Excel预览
|
|
||||||
pureExcel: 导出Excel
|
pureExcel: 导出Excel
|
||||||
pureInfiniteScroll: 表格无限滚动
|
pureInfiniteScroll: 表格无限滚动
|
||||||
pureSensitive: 敏感词过滤
|
pureSensitive: 敏感词过滤
|
||||||
|
10
package.json
10
package.json
@ -57,8 +57,6 @@
|
|||||||
"@pureadmin/utils": "^2.4.7",
|
"@pureadmin/utils": "^2.4.7",
|
||||||
"@vue-flow/background": "^1.3.0",
|
"@vue-flow/background": "^1.3.0",
|
||||||
"@vue-flow/core": "^1.33.5",
|
"@vue-flow/core": "^1.33.5",
|
||||||
"@vue-office/docx": "^1.6.0",
|
|
||||||
"@vue-office/excel": "^1.7.6",
|
|
||||||
"@vueuse/core": "^10.9.0",
|
"@vueuse/core": "^10.9.0",
|
||||||
"@vueuse/motion": "^2.1.0",
|
"@vueuse/motion": "^2.1.0",
|
||||||
"@wangeditor/editor": "^5.1.23",
|
"@wangeditor/editor": "^5.1.23",
|
||||||
@ -93,7 +91,7 @@
|
|||||||
"v-contextmenu": "^3.2.0",
|
"v-contextmenu": "^3.2.0",
|
||||||
"v3-infinite-loading": "^1.3.1",
|
"v3-infinite-loading": "^1.3.1",
|
||||||
"version-rocket": "^1.7.1",
|
"version-rocket": "^1.7.1",
|
||||||
"vue": "^3.4.23",
|
"vue": "^3.4.24",
|
||||||
"vue-i18n": "^9.13.1",
|
"vue-i18n": "^9.13.1",
|
||||||
"vue-json-pretty": "^2.4.0",
|
"vue-json-pretty": "^2.4.0",
|
||||||
"vue-pdf-embed": "^2.0.3",
|
"vue-pdf-embed": "^2.0.3",
|
||||||
@ -130,15 +128,15 @@
|
|||||||
"@types/qrcode": "^1.5.5",
|
"@types/qrcode": "^1.5.5",
|
||||||
"@types/qs": "^6.9.15",
|
"@types/qs": "^6.9.15",
|
||||||
"@types/sortablejs": "^1.15.8",
|
"@types/sortablejs": "^1.15.8",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
||||||
"@typescript-eslint/parser": "^7.7.0",
|
"@typescript-eslint/parser": "^7.7.1",
|
||||||
"@vitejs/plugin-vue": "^5.0.4",
|
"@vitejs/plugin-vue": "^5.0.4",
|
||||||
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
||||||
"autoprefixer": "^10.4.19",
|
"autoprefixer": "^10.4.19",
|
||||||
"boxen": "^7.1.1",
|
"boxen": "^7.1.1",
|
||||||
"cssnano": "^6.1.2",
|
"cssnano": "^6.1.2",
|
||||||
"dagre": "^0.8.5",
|
"dagre": "^0.8.5",
|
||||||
"eslint": "^9.1.0",
|
"eslint": "^9.1.1",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-define-config": "^2.1.0",
|
"eslint-define-config": "^2.1.0",
|
||||||
"eslint-plugin-prettier": "^5.1.3",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
|
648
pnpm-lock.yaml
generated
648
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -95,22 +95,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: "/able/word",
|
|
||||||
name: "Word",
|
|
||||||
component: () => import("@/views/able/word.vue"),
|
|
||||||
meta: {
|
|
||||||
title: $t("menus.pureWord")
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/able/excels",
|
|
||||||
name: "Excels",
|
|
||||||
component: () => import("@/views/able/excels.vue"),
|
|
||||||
meta: {
|
|
||||||
title: $t("menus.pureExcels")
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: "/able/pdf",
|
path: "/able/pdf",
|
||||||
name: "Pdf",
|
name: "Pdf",
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
|
import { defineStore } from "pinia";
|
||||||
import {
|
import {
|
||||||
type appType,
|
type appType,
|
||||||
store,
|
store,
|
||||||
getConfig,
|
getConfig,
|
||||||
defineStore,
|
|
||||||
storageLocal,
|
storageLocal,
|
||||||
deviceDetection,
|
deviceDetection,
|
||||||
responsiveStorageNameSpace
|
responsiveStorageNameSpace
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
import { defineStore } from "pinia";
|
||||||
import {
|
import {
|
||||||
store,
|
store,
|
||||||
getConfig,
|
getConfig,
|
||||||
defineStore,
|
|
||||||
storageLocal,
|
storageLocal,
|
||||||
responsiveStorageNameSpace
|
responsiveStorageNameSpace
|
||||||
} from "../utils";
|
} from "../utils";
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { defineStore } from "pinia";
|
||||||
import {
|
import {
|
||||||
type multiType,
|
type multiType,
|
||||||
type positionType,
|
type positionType,
|
||||||
@ -7,7 +8,6 @@ import {
|
|||||||
isNumber,
|
isNumber,
|
||||||
isBoolean,
|
isBoolean,
|
||||||
getConfig,
|
getConfig,
|
||||||
defineStore,
|
|
||||||
routerArrays,
|
routerArrays,
|
||||||
storageLocal,
|
storageLocal,
|
||||||
responsiveStorageNameSpace
|
responsiveStorageNameSpace
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { defineStore } from "pinia";
|
||||||
import {
|
import {
|
||||||
type cacheType,
|
type cacheType,
|
||||||
store,
|
store,
|
||||||
@ -5,7 +6,6 @@ import {
|
|||||||
ascending,
|
ascending,
|
||||||
getKeyList,
|
getKeyList,
|
||||||
filterTree,
|
filterTree,
|
||||||
defineStore,
|
|
||||||
constantMenus,
|
constantMenus,
|
||||||
filterNoPermissionTree,
|
filterNoPermissionTree,
|
||||||
formatFlatteningRoutes
|
formatFlatteningRoutes
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import { type setType, store, defineStore, getConfig } from "../utils";
|
import { defineStore } from "pinia";
|
||||||
|
import { type setType, store, getConfig } from "../utils";
|
||||||
|
|
||||||
export const useSettingStore = defineStore({
|
export const useSettingStore = defineStore({
|
||||||
id: "pure-setting",
|
id: "pure-setting",
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
|
import { defineStore } from "pinia";
|
||||||
import {
|
import {
|
||||||
type userType,
|
type userType,
|
||||||
store,
|
store,
|
||||||
router,
|
router,
|
||||||
defineStore,
|
|
||||||
resetRouter,
|
resetRouter,
|
||||||
routerArrays,
|
routerArrays,
|
||||||
storageLocal
|
storageLocal
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
export { store } from "@/store";
|
export { store } from "@/store";
|
||||||
export { defineStore } from "pinia";
|
|
||||||
export { routerArrays } from "@/layout/types";
|
export { routerArrays } from "@/layout/types";
|
||||||
export { router, resetRouter, constantMenus } from "@/router";
|
export { router, resetRouter, constantMenus } from "@/router";
|
||||||
export { getConfig, responsiveStorageNameSpace } from "@/config";
|
export { getConfig, responsiveStorageNameSpace } from "@/config";
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
<script setup lang="ts">
|
|
||||||
import "@vue-office/excel/lib/index.css";
|
|
||||||
import VueOfficeExcel from "@vue-office/excel";
|
|
||||||
|
|
||||||
defineOptions({
|
|
||||||
name: "Excels"
|
|
||||||
});
|
|
||||||
|
|
||||||
const excel = "https://xiaoxian521.github.io/hyperlink/other/excel.xlsx";
|
|
||||||
|
|
||||||
function renderedHandler() {
|
|
||||||
console.log("渲染完成");
|
|
||||||
}
|
|
||||||
|
|
||||||
function errorHandler() {
|
|
||||||
console.log("渲染失败");
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<vue-office-excel
|
|
||||||
:src="excel"
|
|
||||||
style="height: 100vh"
|
|
||||||
@rendered="renderedHandler"
|
|
||||||
@error="errorHandler"
|
|
||||||
/>
|
|
||||||
</template>
|
|
@ -1,18 +0,0 @@
|
|||||||
<script setup lang="ts">
|
|
||||||
import "@vue-office/docx/lib/index.css";
|
|
||||||
import VueOfficeDocx from "@vue-office/docx";
|
|
||||||
|
|
||||||
defineOptions({
|
|
||||||
name: "Word"
|
|
||||||
});
|
|
||||||
|
|
||||||
const docx = "https://xiaoxian521.github.io/hyperlink/other/word.docx";
|
|
||||||
|
|
||||||
function rendered() {
|
|
||||||
console.log("渲染完成");
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<vue-office-docx :src="docx" @rendered="rendered" />
|
|
||||||
</template>
|
|
Loading…
x
Reference in New Issue
Block a user