├── img1.jpg ├── frontend ├── src │ ├── index.css │ ├── assets │ │ ├── images │ │ │ └── background-image.png │ │ ├── fonts │ │ │ ├── nunito-v16-latin-regular.woff2 │ │ │ └── OFL.txt │ │ └── icons │ │ │ ├── loading.svg │ │ │ ├── power.svg │ │ │ ├── folder.svg │ │ │ ├── file.svg │ │ │ ├── setting-config.svg │ │ │ ├── file-minus.svg │ │ │ ├── folder-check.svg │ │ │ ├── folder-medical.svg │ │ │ ├── file-medical.svg │ │ │ ├── file-check.svg │ │ │ ├── file-alt.svg │ │ │ ├── file-minus-alt.svg │ │ │ ├── file-question.svg │ │ │ ├── file-plus-alt.svg │ │ │ ├── file-check-alt.svg │ │ │ ├── bright.svg │ │ │ ├── file-edit-alt.svg │ │ │ ├── file-times-alt.svg │ │ │ ├── file-exclamation.svg │ │ │ ├── folder-exclamation.svg │ │ │ └── file-question-alt.svg │ ├── main.js │ ├── animation.less │ ├── style.css │ ├── components │ │ ├── SvgIcon.vue │ │ ├── Options.vue │ │ └── Upload.vue │ └── App.vue ├── wailsjs │ ├── index.js │ ├── go │ │ ├── main │ │ │ ├── App.d.ts │ │ │ └── App.js │ │ └── models.ts │ └── runtime │ │ ├── package.json │ │ ├── runtime.js │ │ └── runtime.d.ts ├── README.md ├── postcss.config.js ├── tailwind.config.js ├── .gitignore ├── index.html ├── vite.config.js └── package.json ├── .gitignore ├── README.md ├── wails.json ├── main.go ├── go.mod ├── charset └── charset.go ├── options.go ├── app.go └── go.sum /img1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lnncoco/wails-data-filter/HEAD/img1.jpg -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /frontend/wailsjs/index.js: -------------------------------------------------------------------------------- 1 | export * from "./go/main/App"; 2 | export * from "./runtime/runtime"; 3 | -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | 数据过滤工具前端部分。 4 | 5 | 基于: 6 | 7 | - Vue3 + Vite 8 | - Tailwind + Less 9 | -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # system ignore 2 | .DS_Store 3 | Thumbs.db 4 | 5 | # ide 6 | .idea/ 7 | 8 | # project 9 | build/bin 10 | options.json 11 | -------------------------------------------------------------------------------- /frontend/src/assets/images/background-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lnncoco/wails-data-filter/HEAD/frontend/src/assets/images/background-image.png -------------------------------------------------------------------------------- /frontend/src/assets/fonts/nunito-v16-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lnncoco/wails-data-filter/HEAD/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2 -------------------------------------------------------------------------------- /frontend/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from "vue"; 2 | import App from "./App.vue"; 3 | import "virtual:svg-icons-register"; 4 | import svgIcon from "./components/SvgIcon.vue"; 5 | import "./index.css"; 6 | 7 | createApp(App).component("svg-icon", svgIcon).mount("#app"); 8 | -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"], 4 | theme: { 5 | extend: {}, 6 | theme: {}, 7 | }, 8 | plugins: [require("daisyui")], 9 | }; 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | 基于 Wails2 的数据过滤工具,用来替换或删除文本数据指定字符工具。 4 | 5 | 前端实现:Vue3 + Vite + Tailwind + Less 6 | 7 |  8 | 9 | 10 | ## 开发 11 | 12 | 调试 13 | 14 | ``` 15 | wails dev 16 | ``` 17 | 18 | 执行编译 19 | 20 | ``` 21 | wails build -webview2 Embed 22 | ``` 23 | 24 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # system ignore 9 | .DS_Store 10 | Thumbs.db 11 | 12 | # ide 13 | .idea/ 14 | 15 | # project 16 | dist/* 17 | !dist/.gitkeep 18 | node_modules 19 | package-lock.json 20 | package.json.md5 21 | -------------------------------------------------------------------------------- /frontend/src/assets/icons/loading.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wails.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wails-data-filter", 3 | "outputfilename": "wails-data-filter", 4 | "frontend:install": "npm install", 5 | "frontend:build": "npm run build", 6 | "frontend:dev:watcher": "npm run dev", 7 | "frontend:dev:serverUrl": "auto", 8 | "author": { 9 | "name": "lnncoco", 10 | "email": "lnncoco@foxmail.com" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |12 | 请选择目标文件,程序会根据配置处理相应字符 13 |
14 |