af-mobile-client-vue3 1.1.44 → 1.1.46
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/package.json
CHANGED
|
@@ -1,115 +1,112 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "af-mobile-client-vue3",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
5
|
-
"description": "Vue + Vite component lib",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=18.12.0",
|
|
9
|
-
"pnpm": ">=8.15.0"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"dev": "cross-env MOCK_SERVER_PORT=8086 vite",
|
|
13
|
-
"build": "vue-tsc --noEmit && vite build",
|
|
14
|
-
"build:dev": "vue-tsc --noEmit && vite build --mode=development",
|
|
15
|
-
"preview": "vite preview",
|
|
16
|
-
"lint": "eslint . && vue-tsc --noEmit",
|
|
17
|
-
"lint:fix": "eslint . --fix",
|
|
18
|
-
"test": "vitest",
|
|
19
|
-
"release": "bumpp --commit --push --tag"
|
|
20
|
-
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"@types/
|
|
54
|
-
"@types/
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"vite": "^
|
|
82
|
-
"vite-plugin-
|
|
83
|
-
"vite-plugin-
|
|
84
|
-
"vite-plugin-
|
|
85
|
-
"vite-plugin-
|
|
86
|
-
"vite-plugin-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "af-mobile-client-vue3",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.1.46",
|
|
5
|
+
"description": "Vue + Vite component lib",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=18.12.0",
|
|
9
|
+
"pnpm": ">=8.15.0"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "cross-env MOCK_SERVER_PORT=8086 vite",
|
|
13
|
+
"build": "vue-tsc --noEmit && vite build",
|
|
14
|
+
"build:dev": "vue-tsc --noEmit && vite build --mode=development",
|
|
15
|
+
"preview": "vite preview",
|
|
16
|
+
"lint": "eslint . && vue-tsc --noEmit",
|
|
17
|
+
"lint:fix": "eslint . --fix",
|
|
18
|
+
"test": "vitest",
|
|
19
|
+
"release": "bumpp --commit --push --tag"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@iconify/vue": "4.3.0",
|
|
23
|
+
"@micro-zoe/micro-app": "1.0.0-rc.24",
|
|
24
|
+
"@unhead/vue": "^2.0.5",
|
|
25
|
+
"@vant/area-data": "^2.0.0",
|
|
26
|
+
"@vant/touch-emulator": "^1.4.0",
|
|
27
|
+
"@vant/use": "^1.6.0",
|
|
28
|
+
"@vueuse/core": "^13.1.0",
|
|
29
|
+
"animate.css": "^4.1.1",
|
|
30
|
+
"axios": "^1.8.4",
|
|
31
|
+
"crypto-js": "^4.2.0",
|
|
32
|
+
"echarts": "^5.6.0",
|
|
33
|
+
"lodash-es": "^4.17.21",
|
|
34
|
+
"nprogress": "^0.2.0",
|
|
35
|
+
"ol": "^10.5.0",
|
|
36
|
+
"pinia": "^3.0.2",
|
|
37
|
+
"pinia-plugin-persistedstate": "^4.2.0",
|
|
38
|
+
"qs": "^6.14.0",
|
|
39
|
+
"resize-detector": "^0.3.0",
|
|
40
|
+
"store": "^2.0.12",
|
|
41
|
+
"vant": "^4.9.18",
|
|
42
|
+
"vconsole": "^3.15.1",
|
|
43
|
+
"vue": "^3.5.13",
|
|
44
|
+
"vue-router": "^4.5.0",
|
|
45
|
+
"vue3-hash-calendar": "^1.1.3"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@antfu/eslint-config": "^4.12.0",
|
|
49
|
+
"@iconify/json": "2.2.318",
|
|
50
|
+
"@types/crypto-js": "^4.2.2",
|
|
51
|
+
"@types/lodash-es": "^4.17.12",
|
|
52
|
+
"@types/node": "^22.14.1",
|
|
53
|
+
"@types/nprogress": "^0.2.3",
|
|
54
|
+
"@types/store": "^2.0.5",
|
|
55
|
+
"@unocss/eslint-plugin": "^66.1.0-beta.11",
|
|
56
|
+
"@unocss/preset-rem-to-px": "66.1.0-beta.11",
|
|
57
|
+
"@vitejs/plugin-legacy": "^6.0.2",
|
|
58
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
59
|
+
"autoprefixer": "^10.4.21",
|
|
60
|
+
"bumpp": "^10.1.0",
|
|
61
|
+
"commitizen": "^4.3.1",
|
|
62
|
+
"consola": "^3.4.2",
|
|
63
|
+
"cross-env": "^7.0.3",
|
|
64
|
+
"cz-emoji-chinese": "^0.3.1",
|
|
65
|
+
"eslint": "^9.24.0",
|
|
66
|
+
"eslint-ts-patch": "^8.57.0-0",
|
|
67
|
+
"husky": "^9.1.7",
|
|
68
|
+
"less": "^4.3.0",
|
|
69
|
+
"mockjs": "^1.1.0",
|
|
70
|
+
"postcss-mobile-forever": "^5.0.0",
|
|
71
|
+
"rollup": "^4.40.0",
|
|
72
|
+
"terser": "^5.39.0",
|
|
73
|
+
"typescript": "^5.8.3",
|
|
74
|
+
"unocss": "^66.1.0-beta.11",
|
|
75
|
+
"unplugin-auto-import": "^19.1.2",
|
|
76
|
+
"unplugin-vue-components": "^28.4.1",
|
|
77
|
+
"unplugin-vue-router": "^0.12.0",
|
|
78
|
+
"vite": "^6.2.6",
|
|
79
|
+
"vite-plugin-compression": "^0.5.1",
|
|
80
|
+
"vite-plugin-mock-dev-server": "^1.8.5",
|
|
81
|
+
"vite-plugin-pwa": "^1.0.0",
|
|
82
|
+
"vite-plugin-sitemap": "^0.7.1",
|
|
83
|
+
"vite-plugin-svg-icons": "^2.0.1",
|
|
84
|
+
"vite-plugin-vconsole": "^2.1.1",
|
|
85
|
+
"vite-plugin-vue-devtools": "^7.7.2",
|
|
86
|
+
"vite-plugin-vue-layouts": "^0.11.0",
|
|
87
|
+
"vitest": "^3.1.1",
|
|
88
|
+
"vue-tsc": "^2.2.8"
|
|
89
|
+
},
|
|
90
|
+
"pnpm": {
|
|
91
|
+
"peerDependencyRules": {
|
|
92
|
+
"ignoreMissing": [
|
|
93
|
+
"postcss",
|
|
94
|
+
"esbuild"
|
|
95
|
+
],
|
|
96
|
+
"allowedVersions": {
|
|
97
|
+
"rollup": "^4.x"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"config": {
|
|
102
|
+
"commitizen": {
|
|
103
|
+
"path": "./node_modules/cz-emoji-chinese"
|
|
104
|
+
},
|
|
105
|
+
"cz-emoji-chinese": {
|
|
106
|
+
"skipQuestions": [
|
|
107
|
+
"body",
|
|
108
|
+
"scope"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -594,7 +594,7 @@ defineExpose({
|
|
|
594
594
|
class="card_item_title"
|
|
595
595
|
:style="handleFunctionStyle(column.styleFunctionForValue, item)"
|
|
596
596
|
>
|
|
597
|
-
{{ item[column.dataIndex]
|
|
597
|
+
{{ item[column.dataIndex] ?? '--' }}
|
|
598
598
|
</p>
|
|
599
599
|
</div>
|
|
600
600
|
<div v-for="(column) in subTitleColumns" :key="`subtitle_${column.dataIndex}`" class="sub-title">
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import XGridDropOption from '@af-mobile-client-vue3/components/core/XGridDropOption/index.vue'
|
|
3
3
|
import XFormItem from '@af-mobile-client-vue3/components/data/XFormItem/index.vue'
|
|
4
|
+
import { Icon } from '@iconify/vue'
|
|
4
5
|
import {
|
|
5
6
|
showFailToast,
|
|
6
7
|
Button as VanButton,
|
|
@@ -284,7 +285,7 @@ function handleCloseScanButton() {
|
|
|
284
285
|
<VanDropdownItem v-if="showScanButton" v-model="scanMenuShow" @change="handleScanMenuChange">
|
|
285
286
|
<template #title>
|
|
286
287
|
<div class="filter-icon-box">
|
|
287
|
-
<
|
|
288
|
+
<Icon icon="ri:qr-scan-2-line" :width="24" />
|
|
288
289
|
</div>
|
|
289
290
|
</template>
|
|
290
291
|
|
|
@@ -334,7 +335,7 @@ function handleCloseScanButton() {
|
|
|
334
335
|
<VanDropdownItem v-if="!props.buttonState || props.buttonState.filter !== false" v-model="filterMenuShow" @change="handleFilterMenuChange">
|
|
335
336
|
<template #title>
|
|
336
337
|
<div class="filter-icon-box">
|
|
337
|
-
<
|
|
338
|
+
<Icon icon="mdi:filter" :width="24" />
|
|
338
339
|
</div>
|
|
339
340
|
</template>
|
|
340
341
|
<div class="dropdown-title">
|
package/src/main.ts
CHANGED
|
@@ -3,7 +3,6 @@ import bootstrap from '@af-mobile-client-vue3/bootstrap'
|
|
|
3
3
|
import Plugins from '@af-mobile-client-vue3/plugins'
|
|
4
4
|
import router from '@af-mobile-client-vue3/router'
|
|
5
5
|
import pinia from '@af-mobile-client-vue3/stores'
|
|
6
|
-
import FontAwesomeIcon from '@af-mobile-client-vue3/styles/fontawesome-icons'
|
|
7
6
|
import { createHead } from '@unhead/vue/client'
|
|
8
7
|
import { createApp } from 'vue'
|
|
9
8
|
import 'virtual:uno.css'
|
|
@@ -28,7 +27,6 @@ import 'vant/es/image-preview/style'
|
|
|
28
27
|
|
|
29
28
|
(async () => {
|
|
30
29
|
const app = createApp(App)
|
|
31
|
-
.component('font-awesome-icon', FontAwesomeIcon)
|
|
32
30
|
const head = createHead()
|
|
33
31
|
|
|
34
32
|
app.use(head)
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
2
|
-
import { faFilter, faFlag, faPhone, faQrcode, faUser } from '@fortawesome/free-solid-svg-icons'
|
|
3
|
-
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
4
|
-
|
|
5
|
-
library.add(faPhone, faUser, faFlag, faFilter, faQrcode)
|
|
6
|
-
|
|
7
|
-
export default FontAwesomeIcon
|