luohailiang 2 lat temu
rodzic
commit
d800d6ea97
7 zmienionych plików z 18131 dodań i 2540 usunięć
  1. 11821 1490
      package-lock.json
  2. 21 4
      package.json
  3. 2848 0
      pnpm-lock.yaml
  4. 7 1
      vite.config.js
  5. 16 0
      windi.config.ts
  6. 1398 0
      yarn-error.log
  7. 2020 1045
      yarn.lock

Plik diff jest za duży
+ 11821 - 1490
package-lock.json


+ 21 - 4
package.json

@@ -13,21 +13,38 @@
     "@vitejs/plugin-vue": "^2.2.0",
     "sass": "^1.49.9",
     "vite": "^2.8.0",
-    "vite-plugin-vue2": "^1.9.3"
+    "vite-plugin-vue2": "^1.9.3",
+    "vite-plugin-windicss": "^1.8.8",
+    "vue-template-compiler": "2.6.14",
+    "windicss": "^3.5.6"
   },
   "dependencies": {
     "@vue/composition-api": "^1.4.9",
     "@vueuse/core": "^8.1.1",
     "axios": "^0.26.1",
+    "clipboard": "^2.0.11",
     "default-passive-events": "^2.0.0",
-    "echarts": "^5.3.2",
+    "docxtemplater": "^3.31.6",
+    "echarts": "^5.4.0",
     "element-ui": "^2.15.6",
+    "file-saver": "^2.0.5",
+    "html-docx-js": "^0.3.1",
+    "html2canvas": "^1.4.1",
+    "jszip-utils": "^0.1.0",
+    "lodash-es": "^4.17.21",
     "normalize.css": "^8.0.1",
     "path-browserify": "^1.0.1",
     "path-to-regexp": "^6.2.0",
-    "pinia": "^2.0.12",
+    "pinia": "^2.0.23",
+    "pizzip": "^3.1.3",
+    "print-js": "^1.6.0",
+    "qrcode": "^1.5.1",
+    "require": "^2.4.20",
+    "sortablejs": "^1.15.0",
+    "vue": "^2.6.14",
+    "vue-pdf": "^4.3.0",
     "vue-qr": "^4.0.9",
     "vue-router": "^3.5.3",
-    "vue-template-compiler": "^2.6.14"
+    "xlsx": "^0.18.5"
   }
 }

Plik diff jest za duży
+ 2848 - 0
pnpm-lock.yaml


+ 7 - 1
vite.config.js

@@ -1,6 +1,7 @@
 import {defineConfig} from 'vite'
 import {createVuePlugin} from 'vite-plugin-vue2'
 import {resolve} from 'path'
+import WindiCss from 'vite-plugin-windicss';
 
 // https://vitejs.dev/config/
 export default defineConfig(({command}) => {
@@ -9,12 +10,17 @@ export default defineConfig(({command}) => {
             createVuePlugin({
                 jsx: true,
             }),
+            WindiCss()
         ],
         server: {
             port: 3001,
         },
+        build: {
+            target: 'esnext'
+        },
         resolve: {
             alias: {
+                '~': resolve(__dirname, 'src'),
                 '@': resolve(__dirname, 'src'),
                 '@c': resolve(__dirname, 'src/components'),
             },
@@ -28,4 +34,4 @@ export default defineConfig(({command}) => {
     }
 
     return config
-})
+})

+ 16 - 0
windi.config.ts

@@ -0,0 +1,16 @@
+import { defineConfig } from 'windicss/helpers'
+
+export default defineConfig({
+  shortcuts: {
+    card: 'rounded-xl bg-light-50 p-3 relative box-border',
+    divider: 'w-full h-0 border border-solid border-gray-100 my-2',
+    divider_y: 'w-0 h-full border border-solid border-gray-100 mx-2',
+    icon: 'w-24px h-24px fill-blue-600 bg-light-100 rounded-2px cursor-pointer  mx-4px box-border',
+    icon_reserve:
+      'w-24px h-24px bg-blue-600 fill-light-100 rounded-2px cursor-pointer mx-4px p-2px box-border',
+    flex_center: 'flex justify-center items-center',
+    flex_start: 'flex justify-start items-center',
+    area:'flex bg-gray-100 text-gray-600 my-2 p-4 text-sm h-300px overflow-auto',
+    pre:'before:content-["|"] before:w-4px before:h-full before:inline-block before:text-transparent before:mr-6px before:bg-blue-400 text-gray-700'
+  },
+})

Plik diff jest za duży
+ 1398 - 0
yarn-error.log


Plik diff jest za duży
+ 2020 - 1045
yarn.lock