Skip to content

Commit 694a3d5

Browse files
Refactor UI components and remove Element Plus
Removed Element Plus dependencies and related code, updated Quasar config for new structure, and refactored custom components for improved consistency. Deleted legacy multi-page files and migrated sidebar components to a new directory. Added j-q-autocomplete component and made style and usability improvements across form, select, date, and table components. Updated package dependencies and cleaned up unused utility and directive files.
1 parent 6e7285b commit 694a3d5

File tree

115 files changed

+5240
-40588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+5240
-40588
lines changed

components.d.ts

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,5 @@
66
export {}
77

88
declare module 'vue' {
9-
export interface GlobalComponents {
10-
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
11-
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
12-
ElMenu: typeof import('element-plus/es')['ElMenu']
13-
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
14-
ElPopover: typeof import('element-plus/es')['ElPopover']
15-
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
16-
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
17-
ElSwitch: typeof import('element-plus/es')['ElSwitch']
18-
ElTooltip: typeof import('element-plus/es')['ElTooltip']
19-
JCTabs: typeof import('./src/components/j-c-tabs/index.vue')['default']
20-
JCTitleLine: typeof import('./src/components/j-c-title-line/index.vue')['default']
21-
JQConfirm: typeof import('./src/components/j-q-confirm/index.vue')['default']
22-
JQConfirmDialog: typeof import('./src/components/j-q-confirm-dialog/index.vue')['default']
23-
JQDate: typeof import('./src/components/j-q-date/index.vue')['default']
24-
JQDetailList: typeof import('./src/components/j-q-detail-list/index.vue')['default']
25-
JQDialog: typeof import('./src/components/j-q-dialog/index.vue')['default']
26-
JQFile: typeof import('./src/components/j-q-file/index.vue')['default']
27-
JQFormLabel: typeof import('./src/components/j-q-form-label/index.vue')['default']
28-
JQInput: typeof import('./src/components/j-q-input/index.vue')['default']
29-
JQOptionGroup: typeof import('./src/components/j-q-option-group/index.vue')['default']
30-
JQSearchForm: typeof import('./src/components/j-q-search-form/index.vue')['default']
31-
JQSelect: typeof import('./src/components/j-q-select/index.vue')['default']
32-
JQTable: typeof import('./src/components/j-q-table/index.vue')['default']
33-
JQTooltip: typeof import('./src/components/j-q-tooltip/index.vue')['default']
34-
Pagination: typeof import('./src/components/j-q-table/pagination.vue')['default']
35-
RouterLink: typeof import('vue-router')['RouterLink']
36-
RouterView: typeof import('vue-router')['RouterView']
37-
}
38-
}
9+
export interface GlobalComponents {}
10+
}

folder-alias.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/index.template.html renamed to index.html

Lines changed: 2 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -38,63 +38,8 @@
3838
<script src="<%= process.env.NODE_ENV !== 'production'?'/':'/v3-admin/'%>three/orbit-controls.js"></script>
3939
<script src="<%= process.env.NODE_ENV !== 'production'?'/':'/v3-admin/'%>world/jsvectormap.min.js"></script>
4040
<script src="<%= process.env.NODE_ENV !== 'production'?'/':'/v3-admin/'%>world/world-merc.js"></script>
41-
<style>
42-
.q-spinner-html {
43-
vertical-align: middle;
44-
}
45-
.q-spinner-mat-html {
46-
animation: q-spin 2s linear infinite;
47-
transform-origin: center center;
48-
position: absolute;
49-
left: 50%;
50-
top: 50%;
51-
transform: translate(-50%, -50%);
52-
color: #3b4170;
53-
}
54-
.q-spinner-mat-html .path {
55-
stroke-dasharray: 1, 200 /* rtl:ignore */;
56-
stroke-dashoffset: 0 /* rtl:ignore */;
57-
animation: q-mat-dash 1.5s ease-in-out infinite;
58-
}
59-
@keyframes q-spin {
60-
0% {
61-
transform: rotate3d(0, 0, 1, 0deg) /* rtl:ignore */;
62-
}
63-
25% {
64-
transform: rotate3d(0, 0, 1, 90deg) /* rtl:ignore */;
65-
}
66-
50% {
67-
transform: rotate3d(0, 0, 1, 180deg) /* rtl:ignore */;
68-
}
69-
75% {
70-
transform: rotate3d(0, 0, 1, 270deg) /* rtl:ignore */;
71-
}
72-
100% {
73-
transform: rotate3d(0, 0, 1, 359deg) /* rtl:ignore */;
74-
}
75-
}
76-
@keyframes q-mat-dash {
77-
0% {
78-
stroke-dasharray: 1, 200;
79-
stroke-dashoffset: 0;
80-
}
81-
50% {
82-
stroke-dasharray: 89, 200;
83-
stroke-dashoffset: -35px;
84-
}
85-
100% {
86-
stroke-dasharray: 89, 200;
87-
stroke-dashoffset: -124px;
88-
}
89-
}
90-
</style>
9141
</head>
9242
<body>
93-
<!-- DO NOT touch the following DIV -->
94-
<div id="q-app">
95-
<svg class="q-spinner-html q-spinner-mat-html" width="68" height="68" viewBox="25 25 50 50">
96-
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="5" stroke-miterlimit="10"></circle>
97-
</svg>
98-
</div>
43+
<!-- quasar:entry-point -->
9944
</body>
100-
</html>
45+
</html>

multiple.config.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

multiple.index.template.html

Lines changed: 0 additions & 72 deletions
This file was deleted.

multiple.page.generate.js

Lines changed: 0 additions & 63 deletions
This file was deleted.

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"core-js": "^3.6.5",
3232
"echarts": "^5.4.0",
3333
"echarts-liquidfill": "^3.1.0",
34-
"element-plus": "^2.6.3",
3534
"js-cookie": "^3.0.1",
3635
"jsencrypt": "^3.2.1",
3736
"json-bigint": "^1.0.0",
@@ -62,7 +61,7 @@
6261
"xterm-addon-fit": "^0.7.0"
6362
},
6463
"devDependencies": {
65-
"@quasar/app-webpack": "^3.13.4",
64+
"@quasar/app-webpack": "^4.3.1",
6665
"@types/chart.js": "^2.9.41",
6766
"@types/codemirror": "0.0.97",
6867
"@types/js-cookie": "^3.0.2",
@@ -72,6 +71,7 @@
7271
"@typescript-eslint/parser": "^5.10.0",
7372
"ajv": "^7",
7473
"autoprefixer": "^10.4.2",
74+
"babel-plugin-prismjs": "^2.1.0",
7575
"browserslist": "^4.21.9",
7676
"caniuse-lite": "^1.0.30001517",
7777
"cross-env": "^7.0.3",
@@ -80,9 +80,10 @@
8080
"eslint-plugin-vue": "^9.0.0",
8181
"html-webpack-plugin": "^5.5.0",
8282
"prettier": "^2.5.1",
83-
"sass": "1.69.7",
84-
"sass-loader": "^12.3.0",
85-
"typescript": "^4.5.4",
83+
"sass": "1.93.3",
84+
"sass-loader": "^16.0.6",
85+
"ts-loader": "^9.5.4",
86+
"typescript": "^5.9.3",
8687
"unplugin-auto-import": "^0.16.0",
8788
"unplugin-vue-components": "^0.25.2",
8889
"vuex-module-decorators": "^2.0.0"
@@ -99,8 +100,8 @@
99100
"last 5 Opera versions"
100101
],
101102
"engines": {
102-
"npm": "please-use-yarn",
103-
"node": ">= 18.16.0",
104-
"yarn": ">= 1.22.19"
103+
"node": "^28 || ^26 || ^24 || ^22 || ^20 || ^18",
104+
"npm": ">= 6.13.4",
105+
"yarn": ">= 1.21.1"
105106
}
106-
}
107+
}

0 commit comments

Comments
 (0)