af-mobile-client-vue3 1.1.5 → 1.1.7
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/.env +6 -6
- package/.env.development +4 -4
- package/.env.envoiceShow +6 -6
- package/.env.production +6 -6
- package/.husky/commit-msg +1 -1
- package/.husky/pre-commit +1 -1
- package/.vscode/settings.json +61 -61
- package/build/vite/index.ts +105 -91
- package/mock/modules/user.mock.ts +152 -152
- package/package.json +3 -1
- package/public/favicon.svg +4 -4
- package/public/safari-pinned-tab.svg +32 -32
- package/scripts/verifyCommit.js +19 -19
- package/src/App.vue +43 -43
- package/src/api/user/index.ts +40 -40
- package/src/bootstrap.ts +18 -18
- package/src/components/core/NavBar/index.vue +12 -12
- package/src/components/core/Tabbar/index.vue +38 -38
- package/src/components/core/Uploader/index.vue +2 -2
- package/src/components/core/XGridDropOption/index.vue +151 -151
- package/src/components/core/XMultiSelect/index.vue +183 -183
- package/src/components/data/XCellDetail/index.vue +106 -106
- package/src/components/data/XForm/index.vue +5 -0
- package/src/components/data/XFormItem/index.vue +48 -14
- package/src/components/data/XOlMap/README.md +0 -2
- package/src/components/data/XOlMap/XLocationPicker/index.vue +21 -9
- package/src/components/data/XOlMap/index.vue +81 -74
- package/src/components/data/XOlMap/types.ts +0 -4
- package/src/components/data/XOlMap/utils/wgs84ToGcj02.js +154 -154
- package/src/components/data/XReportForm/XReportFormJsonRender.vue +220 -220
- package/src/components/data/XReportForm/index.vue +1079 -1079
- package/src/components/data/XReportGrid/XAddReport/index.ts +1 -1
- package/src/components/data/XReportGrid/XReportDrawer/index.ts +1 -1
- package/src/components/data/XSignature/index.vue +285 -285
- package/src/components/data/XTag/index.vue +10 -10
- package/src/components/layout/NormalDataLayout/index.vue +70 -70
- package/src/components/layout/TabBarLayout/index.vue +40 -40
- package/src/components.d.ts +53 -53
- package/src/env.d.ts +16 -16
- package/src/font-style/font.css +3 -3
- package/src/hooks/useCommon.ts +9 -9
- package/src/locales/en-US.json +25 -25
- package/src/locales/zh-CN.json +25 -25
- package/src/plugins/AppData.ts +38 -38
- package/src/router/guards.ts +59 -59
- package/src/router/index.ts +61 -61
- package/src/router/invoiceRoutes.ts +33 -33
- package/src/router/routes.ts +6 -0
- package/src/services/api/common.ts +109 -109
- package/src/services/api/manage.ts +8 -8
- package/src/services/api/search.ts +16 -16
- package/src/services/restTools.ts +56 -56
- package/src/services/v3Api.ts +11 -11
- package/src/stores/modules/setting.ts +52 -52
- package/src/stores/mutation-type.ts +7 -7
- package/src/utils/authority-utils.ts +84 -84
- package/src/utils/crypto.ts +39 -39
- package/src/utils/i18n.ts +41 -41
- package/src/utils/indexedDB.ts +180 -180
- package/src/utils/mobileUtil.ts +26 -26
- package/src/utils/routerUtil.ts +271 -271
- package/src/utils/runEvalFunction.ts +13 -13
- package/src/utils/wechatUtil.ts +9 -9
- package/src/views/common/LoadError.vue +64 -64
- package/src/views/common/NotFound.vue +68 -68
- package/src/views/component/EvaluateRecordView/index.vue +40 -40
- package/src/views/component/IconifyView/index.vue +507 -0
- package/src/views/component/XCellDetailView/index.vue +217 -217
- package/src/views/component/XOlMapView/XLocationPicker/index.vue +120 -120
- package/src/views/component/XOlMapView/index.vue +0 -1
- package/src/views/component/XReportFormIframeView/index.vue +47 -47
- package/src/views/component/XReportFormView/index.vue +13 -13
- package/src/views/component/XSignatureView/index.vue +50 -50
- package/src/views/component/index.vue +4 -0
- package/src/views/component/menu.vue +117 -117
- package/src/views/component/notice.vue +46 -46
- package/src/views/component/topNav.vue +36 -36
- package/src/views/invoiceShow/index.vue +61 -61
- package/src/views/user/login/ForgetPasswordForm.vue +94 -94
- package/src/views/user/login/LoginTitle.vue +68 -68
- package/src/views/user/login/index.vue +22 -22
- package/src/views/user/my/index.vue +230 -230
- package/src/vue-router.d.ts +9 -9
- package/tsconfig.json +43 -43
|
@@ -1,230 +1,230 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import useUserStore from '@af-mobile-client-vue3/stores/modules/user'
|
|
3
|
-
import {
|
|
4
|
-
Col as VanCol,
|
|
5
|
-
Row as VanRow,
|
|
6
|
-
} from 'vant/es'
|
|
7
|
-
|
|
8
|
-
const username = useUserStore().getUserInfo().name
|
|
9
|
-
const fullnames = useUserStore().getLogin().f.resources.data.fullnames
|
|
10
|
-
|
|
11
|
-
async function exit_login() {
|
|
12
|
-
await useUserStore().logout()
|
|
13
|
-
}
|
|
14
|
-
</script>
|
|
15
|
-
|
|
16
|
-
<template>
|
|
17
|
-
<main class="my_main h-full w-full">
|
|
18
|
-
<div class="header">
|
|
19
|
-
<div class="style_back">
|
|
20
|
-
<div class="circle circle1" />
|
|
21
|
-
<div class="circle circle2" />
|
|
22
|
-
</div>
|
|
23
|
-
<div class="header_main">
|
|
24
|
-
<div class="user_nav">
|
|
25
|
-
<img alt="setting_icon" class="user_setting_icon" src="../../../assets/img/user/my/setting.png">
|
|
26
|
-
</div>
|
|
27
|
-
<div class="user_content">
|
|
28
|
-
<VanRow :gutter="18">
|
|
29
|
-
<VanCol>
|
|
30
|
-
<img alt="default-user-profile" class="default_user_profile" src="../../../assets/common/default-user-profile.png">
|
|
31
|
-
</VanCol>
|
|
32
|
-
<VanCol class="user_info_col">
|
|
33
|
-
<p class="user_nickname">
|
|
34
|
-
{{ username }}
|
|
35
|
-
</p>
|
|
36
|
-
<p class="user_remark">
|
|
37
|
-
{{ fullnames }}
|
|
38
|
-
</p>
|
|
39
|
-
</VanCol>
|
|
40
|
-
</VanRow>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="content">
|
|
45
|
-
<div class="core">
|
|
46
|
-
<VanRow class="core_row">
|
|
47
|
-
<VanCol>
|
|
48
|
-
<p class="core_value">
|
|
49
|
-
24
|
|
50
|
-
</p>
|
|
51
|
-
<p class="core_title">
|
|
52
|
-
待办任务
|
|
53
|
-
</p>
|
|
54
|
-
</VanCol>
|
|
55
|
-
<VanCol>
|
|
56
|
-
<p class="core_value">
|
|
57
|
-
2
|
|
58
|
-
</p>
|
|
59
|
-
<p class="core_title">
|
|
60
|
-
待办流程
|
|
61
|
-
</p>
|
|
62
|
-
</VanCol>
|
|
63
|
-
<VanCol>
|
|
64
|
-
<p class="core_value">
|
|
65
|
-
7
|
|
66
|
-
</p>
|
|
67
|
-
<p class="core_title">
|
|
68
|
-
新消息
|
|
69
|
-
</p>
|
|
70
|
-
</VanCol>
|
|
71
|
-
</VanRow>
|
|
72
|
-
</div>
|
|
73
|
-
<div class="setting">
|
|
74
|
-
<van-list>
|
|
75
|
-
<van-cell is-link @click="exit_login">
|
|
76
|
-
<template #title>
|
|
77
|
-
<VanRow :gutter="12" class="setting_row">
|
|
78
|
-
<VanCol>
|
|
79
|
-
<img alt="exit_login_icon" class="setting_icon" src="../../../assets/img/user/my/exit-login.png">
|
|
80
|
-
</VanCol>
|
|
81
|
-
<VanCol class="setting_name_col">
|
|
82
|
-
<span class="setting_name_text">退出登录</span>
|
|
83
|
-
</VanCol>
|
|
84
|
-
</VanRow>
|
|
85
|
-
</template>
|
|
86
|
-
<template #right-icon>
|
|
87
|
-
<img alt="setting_arrow_icon" class="setting_arrow_icon" src="../../../assets/img/user/my/setting-arrow.png">
|
|
88
|
-
</template>
|
|
89
|
-
</van-cell>
|
|
90
|
-
</van-list>
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
93
|
-
</main>
|
|
94
|
-
</template>
|
|
95
|
-
|
|
96
|
-
<style scoped lang="less">
|
|
97
|
-
.my_main {
|
|
98
|
-
.header {
|
|
99
|
-
position: relative;
|
|
100
|
-
height: 200px;
|
|
101
|
-
background-color: #336BF1;
|
|
102
|
-
overflow: hidden;
|
|
103
|
-
.style_back {
|
|
104
|
-
.circle {
|
|
105
|
-
position: absolute;
|
|
106
|
-
border-radius: 50%;
|
|
107
|
-
}
|
|
108
|
-
.circle1 {
|
|
109
|
-
background-color: #3F7AFA;
|
|
110
|
-
width: 265px;
|
|
111
|
-
height: 265px;
|
|
112
|
-
top: -80px;
|
|
113
|
-
left: -50px;
|
|
114
|
-
z-index: 3;
|
|
115
|
-
}
|
|
116
|
-
.circle2 {
|
|
117
|
-
background-color: #3C75F9;
|
|
118
|
-
width: 300px;
|
|
119
|
-
height: 300px;
|
|
120
|
-
top: -80px;
|
|
121
|
-
left: 10px;
|
|
122
|
-
z-index: 2;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
.header_main {
|
|
126
|
-
padding: var(--base-interval-1);
|
|
127
|
-
.user_nav {
|
|
128
|
-
padding: 0 var(--base-interval-0);
|
|
129
|
-
color: #fff;
|
|
130
|
-
position: relative;
|
|
131
|
-
z-index: 4;
|
|
132
|
-
font-size: 26px;
|
|
133
|
-
text-align: right;
|
|
134
|
-
.user_setting_icon {
|
|
135
|
-
width: 26px;
|
|
136
|
-
height: 26px;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
.user_content {
|
|
140
|
-
padding: 0 35px 0 35px;
|
|
141
|
-
color: #fff;
|
|
142
|
-
position: relative;
|
|
143
|
-
z-index: 4;
|
|
144
|
-
.default_user_profile {
|
|
145
|
-
border-radius: 50%;
|
|
146
|
-
width: 76px;
|
|
147
|
-
height: 76px;
|
|
148
|
-
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05),
|
|
149
|
-
0 6px 6px rgba(0, 0, 0, 0.05);
|
|
150
|
-
}
|
|
151
|
-
.van-row {
|
|
152
|
-
flex-wrap: nowrap;
|
|
153
|
-
align-items: center;
|
|
154
|
-
.user_info_col {
|
|
155
|
-
flex-grow: 1;
|
|
156
|
-
p {
|
|
157
|
-
margin: 0;
|
|
158
|
-
}
|
|
159
|
-
.user_nickname {
|
|
160
|
-
font-size: 24px;
|
|
161
|
-
font-weight: bold;
|
|
162
|
-
margin-bottom: 4px;
|
|
163
|
-
}
|
|
164
|
-
.user_remark {
|
|
165
|
-
font-size: 14px;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
.content {
|
|
174
|
-
padding: var(--base-interval-1);
|
|
175
|
-
.core {
|
|
176
|
-
position: relative;
|
|
177
|
-
bottom: 50px;
|
|
178
|
-
padding: 16px 0;
|
|
179
|
-
background-color: #fff;
|
|
180
|
-
z-index: 4;
|
|
181
|
-
margin: 0 16px;
|
|
182
|
-
border-radius: 4px;
|
|
183
|
-
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05),
|
|
184
|
-
0 6px 6px rgba(0, 0, 0, 0.05);
|
|
185
|
-
.core_row {
|
|
186
|
-
text-align: center;
|
|
187
|
-
.van-col {
|
|
188
|
-
flex-grow: 1;
|
|
189
|
-
p {
|
|
190
|
-
margin: 8px 0;
|
|
191
|
-
}
|
|
192
|
-
.core_value {
|
|
193
|
-
font-size: 20px;
|
|
194
|
-
font-weight: bold;
|
|
195
|
-
}
|
|
196
|
-
.core_title {
|
|
197
|
-
font-size: 14px;
|
|
198
|
-
color: #999;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
.setting {
|
|
204
|
-
.setting_row {
|
|
205
|
-
align-items: center;
|
|
206
|
-
.setting_icon {
|
|
207
|
-
width: 28px;
|
|
208
|
-
height: 28px;
|
|
209
|
-
vertical-align: middle;
|
|
210
|
-
}
|
|
211
|
-
.setting_name_col {
|
|
212
|
-
flex-grow: 1;
|
|
213
|
-
.setting_name_text {
|
|
214
|
-
font-size: 16px;
|
|
215
|
-
font-weight: bold;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
.van-cell {
|
|
220
|
-
align-items: center;
|
|
221
|
-
.setting_arrow_icon {
|
|
222
|
-
width: 12px;
|
|
223
|
-
height: 12px;
|
|
224
|
-
vertical-align: middle;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
</style>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import useUserStore from '@af-mobile-client-vue3/stores/modules/user'
|
|
3
|
+
import {
|
|
4
|
+
Col as VanCol,
|
|
5
|
+
Row as VanRow,
|
|
6
|
+
} from 'vant/es'
|
|
7
|
+
|
|
8
|
+
const username = useUserStore().getUserInfo().name
|
|
9
|
+
const fullnames = useUserStore().getLogin().f.resources.data.fullnames
|
|
10
|
+
|
|
11
|
+
async function exit_login() {
|
|
12
|
+
await useUserStore().logout()
|
|
13
|
+
}
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<main class="my_main h-full w-full">
|
|
18
|
+
<div class="header">
|
|
19
|
+
<div class="style_back">
|
|
20
|
+
<div class="circle circle1" />
|
|
21
|
+
<div class="circle circle2" />
|
|
22
|
+
</div>
|
|
23
|
+
<div class="header_main">
|
|
24
|
+
<div class="user_nav">
|
|
25
|
+
<img alt="setting_icon" class="user_setting_icon" src="../../../assets/img/user/my/setting.png">
|
|
26
|
+
</div>
|
|
27
|
+
<div class="user_content">
|
|
28
|
+
<VanRow :gutter="18">
|
|
29
|
+
<VanCol>
|
|
30
|
+
<img alt="default-user-profile" class="default_user_profile" src="../../../assets/common/default-user-profile.png">
|
|
31
|
+
</VanCol>
|
|
32
|
+
<VanCol class="user_info_col">
|
|
33
|
+
<p class="user_nickname">
|
|
34
|
+
{{ username }}
|
|
35
|
+
</p>
|
|
36
|
+
<p class="user_remark">
|
|
37
|
+
{{ fullnames }}
|
|
38
|
+
</p>
|
|
39
|
+
</VanCol>
|
|
40
|
+
</VanRow>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="content">
|
|
45
|
+
<div class="core">
|
|
46
|
+
<VanRow class="core_row">
|
|
47
|
+
<VanCol>
|
|
48
|
+
<p class="core_value">
|
|
49
|
+
24
|
|
50
|
+
</p>
|
|
51
|
+
<p class="core_title">
|
|
52
|
+
待办任务
|
|
53
|
+
</p>
|
|
54
|
+
</VanCol>
|
|
55
|
+
<VanCol>
|
|
56
|
+
<p class="core_value">
|
|
57
|
+
2
|
|
58
|
+
</p>
|
|
59
|
+
<p class="core_title">
|
|
60
|
+
待办流程
|
|
61
|
+
</p>
|
|
62
|
+
</VanCol>
|
|
63
|
+
<VanCol>
|
|
64
|
+
<p class="core_value">
|
|
65
|
+
7
|
|
66
|
+
</p>
|
|
67
|
+
<p class="core_title">
|
|
68
|
+
新消息
|
|
69
|
+
</p>
|
|
70
|
+
</VanCol>
|
|
71
|
+
</VanRow>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="setting">
|
|
74
|
+
<van-list>
|
|
75
|
+
<van-cell is-link @click="exit_login">
|
|
76
|
+
<template #title>
|
|
77
|
+
<VanRow :gutter="12" class="setting_row">
|
|
78
|
+
<VanCol>
|
|
79
|
+
<img alt="exit_login_icon" class="setting_icon" src="../../../assets/img/user/my/exit-login.png">
|
|
80
|
+
</VanCol>
|
|
81
|
+
<VanCol class="setting_name_col">
|
|
82
|
+
<span class="setting_name_text">退出登录</span>
|
|
83
|
+
</VanCol>
|
|
84
|
+
</VanRow>
|
|
85
|
+
</template>
|
|
86
|
+
<template #right-icon>
|
|
87
|
+
<img alt="setting_arrow_icon" class="setting_arrow_icon" src="../../../assets/img/user/my/setting-arrow.png">
|
|
88
|
+
</template>
|
|
89
|
+
</van-cell>
|
|
90
|
+
</van-list>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</main>
|
|
94
|
+
</template>
|
|
95
|
+
|
|
96
|
+
<style scoped lang="less">
|
|
97
|
+
.my_main {
|
|
98
|
+
.header {
|
|
99
|
+
position: relative;
|
|
100
|
+
height: 200px;
|
|
101
|
+
background-color: #336BF1;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
.style_back {
|
|
104
|
+
.circle {
|
|
105
|
+
position: absolute;
|
|
106
|
+
border-radius: 50%;
|
|
107
|
+
}
|
|
108
|
+
.circle1 {
|
|
109
|
+
background-color: #3F7AFA;
|
|
110
|
+
width: 265px;
|
|
111
|
+
height: 265px;
|
|
112
|
+
top: -80px;
|
|
113
|
+
left: -50px;
|
|
114
|
+
z-index: 3;
|
|
115
|
+
}
|
|
116
|
+
.circle2 {
|
|
117
|
+
background-color: #3C75F9;
|
|
118
|
+
width: 300px;
|
|
119
|
+
height: 300px;
|
|
120
|
+
top: -80px;
|
|
121
|
+
left: 10px;
|
|
122
|
+
z-index: 2;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.header_main {
|
|
126
|
+
padding: var(--base-interval-1);
|
|
127
|
+
.user_nav {
|
|
128
|
+
padding: 0 var(--base-interval-0);
|
|
129
|
+
color: #fff;
|
|
130
|
+
position: relative;
|
|
131
|
+
z-index: 4;
|
|
132
|
+
font-size: 26px;
|
|
133
|
+
text-align: right;
|
|
134
|
+
.user_setting_icon {
|
|
135
|
+
width: 26px;
|
|
136
|
+
height: 26px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
.user_content {
|
|
140
|
+
padding: 0 35px 0 35px;
|
|
141
|
+
color: #fff;
|
|
142
|
+
position: relative;
|
|
143
|
+
z-index: 4;
|
|
144
|
+
.default_user_profile {
|
|
145
|
+
border-radius: 50%;
|
|
146
|
+
width: 76px;
|
|
147
|
+
height: 76px;
|
|
148
|
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05),
|
|
149
|
+
0 6px 6px rgba(0, 0, 0, 0.05);
|
|
150
|
+
}
|
|
151
|
+
.van-row {
|
|
152
|
+
flex-wrap: nowrap;
|
|
153
|
+
align-items: center;
|
|
154
|
+
.user_info_col {
|
|
155
|
+
flex-grow: 1;
|
|
156
|
+
p {
|
|
157
|
+
margin: 0;
|
|
158
|
+
}
|
|
159
|
+
.user_nickname {
|
|
160
|
+
font-size: 24px;
|
|
161
|
+
font-weight: bold;
|
|
162
|
+
margin-bottom: 4px;
|
|
163
|
+
}
|
|
164
|
+
.user_remark {
|
|
165
|
+
font-size: 14px;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
}
|
|
173
|
+
.content {
|
|
174
|
+
padding: var(--base-interval-1);
|
|
175
|
+
.core {
|
|
176
|
+
position: relative;
|
|
177
|
+
bottom: 50px;
|
|
178
|
+
padding: 16px 0;
|
|
179
|
+
background-color: #fff;
|
|
180
|
+
z-index: 4;
|
|
181
|
+
margin: 0 16px;
|
|
182
|
+
border-radius: 4px;
|
|
183
|
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05),
|
|
184
|
+
0 6px 6px rgba(0, 0, 0, 0.05);
|
|
185
|
+
.core_row {
|
|
186
|
+
text-align: center;
|
|
187
|
+
.van-col {
|
|
188
|
+
flex-grow: 1;
|
|
189
|
+
p {
|
|
190
|
+
margin: 8px 0;
|
|
191
|
+
}
|
|
192
|
+
.core_value {
|
|
193
|
+
font-size: 20px;
|
|
194
|
+
font-weight: bold;
|
|
195
|
+
}
|
|
196
|
+
.core_title {
|
|
197
|
+
font-size: 14px;
|
|
198
|
+
color: #999;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
.setting {
|
|
204
|
+
.setting_row {
|
|
205
|
+
align-items: center;
|
|
206
|
+
.setting_icon {
|
|
207
|
+
width: 28px;
|
|
208
|
+
height: 28px;
|
|
209
|
+
vertical-align: middle;
|
|
210
|
+
}
|
|
211
|
+
.setting_name_col {
|
|
212
|
+
flex-grow: 1;
|
|
213
|
+
.setting_name_text {
|
|
214
|
+
font-size: 16px;
|
|
215
|
+
font-weight: bold;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
.van-cell {
|
|
220
|
+
align-items: center;
|
|
221
|
+
.setting_arrow_icon {
|
|
222
|
+
width: 12px;
|
|
223
|
+
height: 12px;
|
|
224
|
+
vertical-align: middle;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
</style>
|
package/src/vue-router.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare module 'vue-router' {
|
|
2
|
-
interface RouteMeta {
|
|
3
|
-
/** page title */
|
|
4
|
-
title?: string
|
|
5
|
-
/** i18n key */
|
|
6
|
-
i18n?: string
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export {}
|
|
1
|
+
declare module 'vue-router' {
|
|
2
|
+
interface RouteMeta {
|
|
3
|
+
/** page title */
|
|
4
|
+
title?: string
|
|
5
|
+
/** i18n key */
|
|
6
|
+
i18n?: string
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export {}
|
package/tsconfig.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"jsx": "preserve",
|
|
5
|
-
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
|
|
6
|
-
"experimentalDecorators": true,
|
|
7
|
-
"baseUrl": ".",
|
|
8
|
-
"module": "esnext",
|
|
9
|
-
"moduleResolution": "Bundler",
|
|
10
|
-
"paths": {
|
|
11
|
-
"@af-mobile-client-vue3/*": ["src/*"]
|
|
12
|
-
},
|
|
13
|
-
"types": [
|
|
14
|
-
"node",
|
|
15
|
-
"unplugin-vue-router/client",
|
|
16
|
-
"vite-plugin-vue-layouts/client",
|
|
17
|
-
"vite-plugin-pwa/client"
|
|
18
|
-
],
|
|
19
|
-
"allowJs": true,
|
|
20
|
-
"strictNullChecks": false,
|
|
21
|
-
"noImplicitAny": false,
|
|
22
|
-
"noUnusedLocals": false,
|
|
23
|
-
"noUnusedParameters": false,
|
|
24
|
-
"importHelpers": true,
|
|
25
|
-
"sourceMap": true,
|
|
26
|
-
"allowSyntheticDefaultImports": true,
|
|
27
|
-
"esModuleInterop": true,
|
|
28
|
-
"verbatimModuleSyntax": true,
|
|
29
|
-
"skipLibCheck": true
|
|
30
|
-
},
|
|
31
|
-
"include": [
|
|
32
|
-
"src/App.vue",
|
|
33
|
-
"src/**/*.ts",
|
|
34
|
-
"src/**/*.tsx",
|
|
35
|
-
"src/**/*.vue",
|
|
36
|
-
"tests/**/*.ts",
|
|
37
|
-
"tests/**/*.tsx",
|
|
38
|
-
"src/components.d.ts",
|
|
39
|
-
"src/auto-imports.d.ts",
|
|
40
|
-
"src/typed-router.d.ts",
|
|
41
|
-
"tests/*.ts"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "esnext",
|
|
4
|
+
"jsx": "preserve",
|
|
5
|
+
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
|
|
6
|
+
"experimentalDecorators": true,
|
|
7
|
+
"baseUrl": ".",
|
|
8
|
+
"module": "esnext",
|
|
9
|
+
"moduleResolution": "Bundler",
|
|
10
|
+
"paths": {
|
|
11
|
+
"@af-mobile-client-vue3/*": ["src/*"]
|
|
12
|
+
},
|
|
13
|
+
"types": [
|
|
14
|
+
"node",
|
|
15
|
+
"unplugin-vue-router/client",
|
|
16
|
+
"vite-plugin-vue-layouts/client",
|
|
17
|
+
"vite-plugin-pwa/client"
|
|
18
|
+
],
|
|
19
|
+
"allowJs": true,
|
|
20
|
+
"strictNullChecks": false,
|
|
21
|
+
"noImplicitAny": false,
|
|
22
|
+
"noUnusedLocals": false,
|
|
23
|
+
"noUnusedParameters": false,
|
|
24
|
+
"importHelpers": true,
|
|
25
|
+
"sourceMap": true,
|
|
26
|
+
"allowSyntheticDefaultImports": true,
|
|
27
|
+
"esModuleInterop": true,
|
|
28
|
+
"verbatimModuleSyntax": true,
|
|
29
|
+
"skipLibCheck": true
|
|
30
|
+
},
|
|
31
|
+
"include": [
|
|
32
|
+
"src/App.vue",
|
|
33
|
+
"src/**/*.ts",
|
|
34
|
+
"src/**/*.tsx",
|
|
35
|
+
"src/**/*.vue",
|
|
36
|
+
"tests/**/*.ts",
|
|
37
|
+
"tests/**/*.tsx",
|
|
38
|
+
"src/components.d.ts",
|
|
39
|
+
"src/auto-imports.d.ts",
|
|
40
|
+
"src/typed-router.d.ts",
|
|
41
|
+
"tests/*.ts"
|
|
42
|
+
]
|
|
43
|
+
}
|