shared-ritm 1.1.86 → 1.1.88
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/dist/index.css +1 -1
- package/dist/shared-ritm.es.js +18 -13
- package/dist/shared-ritm.umd.js +3 -3
- package/dist/types/api/services/ProjectsService.d.ts +1 -0
- package/package.json +1 -1
- package/src/App.vue +6 -0
- package/src/api/services/AuthService.ts +41 -41
- package/src/api/services/FileService.ts +15 -15
- package/src/api/services/ProjectsService.ts +65 -61
- package/src/api/settings/ApiService.ts +126 -126
- package/src/api/types/Api_Repairs.ts +93 -93
- package/src/common/app-button/AppButton.vue +173 -173
- package/src/common/app-date-picker/AppDatePicker.vue +81 -79
- package/src/common/app-icon/AppIcon.vue +104 -104
- package/src/common/app-input/AppInput.vue +147 -147
- package/src/common/app-layout/AppLayout.vue +63 -63
- package/src/common/app-layout/components/AppLayoutHeader.vue +123 -123
- package/src/common/app-loader/index.vue +43 -43
- package/src/common/app-page-layout/AppPageLayout.vue +122 -122
- package/src/common/app-sheet/AppSheet.vue +120 -120
- package/src/common/app-sidebar/AppSidebar.vue +168 -168
- package/src/common/app-sidebar/components/SidebarMenu.vue +37 -37
- package/src/common/app-sidebar/components/SidebarMenuItem.vue +146 -146
- package/src/common/app-toggle/AppToggle.vue +23 -23
- package/src/global.d.ts +1 -1
- package/src/icons/components/arrow-down-icon.vue +25 -25
- package/src/icons/components/arrow-frame-icon.vue +19 -19
- package/src/icons/components/arrow-square.vue +22 -22
- package/src/icons/header/flashIcon.vue +24 -24
- package/src/icons/header/notificationIcon.vue +18 -18
- package/src/icons/header/searchStatusIcon.vue +24 -24
- package/src/icons/header/smallCapsIcon.vue +34 -34
- package/src/icons/sidebar/assign-module-icon.vue +36 -36
- package/src/icons/sidebar/instrument-history-icon.vue +32 -32
- package/src/icons/sidebar/instrument-order-icon.vue +38 -38
- package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
- package/src/icons/sidebar/instruments-icon.vue +45 -45
- package/src/icons/sidebar/logo-icon.vue +15 -15
- package/src/icons/sidebar/logout-icon.vue +13 -13
- package/src/icons/sidebar/modules-icon.vue +16 -16
- package/src/icons/sidebar/notifications-icon.vue +24 -24
- package/src/icons/sidebar/order-icon.vue +44 -44
- package/src/icons/sidebar/pass-icon.vue +38 -38
- package/src/icons/sidebar/positions-icon.vue +42 -42
- package/src/icons/sidebar/preorder-icon.vue +19 -19
- package/src/icons/sidebar/projects-icon.vue +31 -31
- package/src/icons/sidebar/repair-object-icon.vue +18 -18
- package/src/icons/sidebar/repairs-icon.vue +20 -20
- package/src/icons/sidebar/roles-icon.vue +26 -26
- package/src/icons/sidebar/status-history-icon.vue +24 -24
- package/src/icons/sidebar/tasks-icon.vue +28 -28
- package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
- package/src/icons/sidebar/tasks_today-icon.vue +27 -27
- package/src/icons/sidebar/teams-icon.vue +32 -32
- package/src/icons/sidebar/user-icon.vue +18 -18
- package/src/icons/sidebar/users-icon.vue +46 -46
- package/src/icons/sidebar/videosources-icon.vue +19 -19
- package/src/icons/sidebar/videowall-icon.vue +13 -13
- package/src/icons/sidebar/videozones-icon.vue +21 -21
- package/src/icons/sidebar/warehouses-icon.vue +43 -43
- package/src/icons/sidebar/workshop-icon.vue +100 -100
- package/src/icons/sidebar/workzones-icon.vue +22 -22
- package/src/main.ts +18 -18
- package/src/quasar-user-options.ts +17 -17
- package/src/router/index.ts +10 -10
- package/src/shims-vue.d.ts +5 -5
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg width="24" height="24" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g filter="url(#filter0_d_116_6675)">
|
|
4
|
-
<path d="M11.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
|
|
5
|
-
</g>
|
|
6
|
-
<g filter="url(#filter1_d_116_6675)">
|
|
7
|
-
<path d="M15.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
|
|
8
|
-
</g>
|
|
9
|
-
<path
|
|
10
|
-
d="M2 22H22"
|
|
11
|
-
stroke="currentStroke"
|
|
12
|
-
stroke-width="1.5"
|
|
13
|
-
stroke-miterlimit="10"
|
|
14
|
-
stroke-linecap="round"
|
|
15
|
-
stroke-linejoin="round"
|
|
16
|
-
/>
|
|
17
|
-
<path
|
|
18
|
-
d="M12 2C13.6 2.64 15.4 2.64 17 2V5C15.4 5.64 13.6 5.64 12 5V2Z"
|
|
19
|
-
stroke="currentStroke"
|
|
20
|
-
stroke-width="1.5"
|
|
21
|
-
stroke-miterlimit="10"
|
|
22
|
-
stroke-linecap="round"
|
|
23
|
-
stroke-linejoin="round"
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d="M12 5V8"
|
|
27
|
-
stroke="currentStroke"
|
|
28
|
-
stroke-width="1.5"
|
|
29
|
-
stroke-miterlimit="10"
|
|
30
|
-
stroke-linecap="round"
|
|
31
|
-
stroke-linejoin="round"
|
|
32
|
-
/>
|
|
33
|
-
<path
|
|
34
|
-
d="M17 8H7C5 8 4 9 4 11V22H20V11C20 9 19 8 17 8Z"
|
|
35
|
-
stroke="currentStroke"
|
|
36
|
-
stroke-width="1.5"
|
|
37
|
-
stroke-miterlimit="10"
|
|
38
|
-
stroke-linecap="round"
|
|
39
|
-
stroke-linejoin="round"
|
|
40
|
-
/>
|
|
41
|
-
<path
|
|
42
|
-
d="M4.58008 12H19.4201"
|
|
43
|
-
stroke="currentStroke"
|
|
44
|
-
stroke-width="1.5"
|
|
45
|
-
stroke-miterlimit="10"
|
|
46
|
-
stroke-linecap="round"
|
|
47
|
-
stroke-linejoin="round"
|
|
48
|
-
/>
|
|
49
|
-
<path d="M7.98999 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
|
|
50
|
-
<defs>
|
|
51
|
-
<filter
|
|
52
|
-
id="filter0_d_116_6675"
|
|
53
|
-
x="7.23999"
|
|
54
|
-
y="12"
|
|
55
|
-
width="9.5"
|
|
56
|
-
height="18"
|
|
57
|
-
filterUnits="userSpaceOnUse"
|
|
58
|
-
color-interpolation-filters="sRGB"
|
|
59
|
-
>
|
|
60
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
61
|
-
<feColorMatrix
|
|
62
|
-
in="SourceAlpha"
|
|
63
|
-
type="matrix"
|
|
64
|
-
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
65
|
-
result="hardAlpha"
|
|
66
|
-
/>
|
|
67
|
-
<feOffset dy="4" />
|
|
68
|
-
<feGaussianBlur stdDeviation="2" />
|
|
69
|
-
<feComposite in2="hardAlpha" operator="out" />
|
|
70
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
|
|
71
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675" />
|
|
72
|
-
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape" />
|
|
73
|
-
</filter>
|
|
74
|
-
<filter
|
|
75
|
-
id="filter1_d_116_6675"
|
|
76
|
-
x="11.24"
|
|
77
|
-
y="12"
|
|
78
|
-
width="9.5"
|
|
79
|
-
height="18"
|
|
80
|
-
filterUnits="userSpaceOnUse"
|
|
81
|
-
color-interpolation-filters="sRGB"
|
|
82
|
-
>
|
|
83
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
84
|
-
<feColorMatrix
|
|
85
|
-
in="SourceAlpha"
|
|
86
|
-
type="matrix"
|
|
87
|
-
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
88
|
-
result="hardAlpha"
|
|
89
|
-
/>
|
|
90
|
-
<feOffset dy="4" />
|
|
91
|
-
<feGaussianBlur stdDeviation="2" />
|
|
92
|
-
<feComposite in2="hardAlpha" operator="out" />
|
|
93
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
|
|
94
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675" />
|
|
95
|
-
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape" />
|
|
96
|
-
</filter>
|
|
97
|
-
</defs>
|
|
98
|
-
</svg>
|
|
99
|
-
</template>
|
|
100
|
-
<script setup lang="ts"></script>
|
|
1
|
+
<template>
|
|
2
|
+
<svg width="24" height="24" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g filter="url(#filter0_d_116_6675)">
|
|
4
|
+
<path d="M11.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
|
|
5
|
+
</g>
|
|
6
|
+
<g filter="url(#filter1_d_116_6675)">
|
|
7
|
+
<path d="M15.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
|
|
8
|
+
</g>
|
|
9
|
+
<path
|
|
10
|
+
d="M2 22H22"
|
|
11
|
+
stroke="currentStroke"
|
|
12
|
+
stroke-width="1.5"
|
|
13
|
+
stroke-miterlimit="10"
|
|
14
|
+
stroke-linecap="round"
|
|
15
|
+
stroke-linejoin="round"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
d="M12 2C13.6 2.64 15.4 2.64 17 2V5C15.4 5.64 13.6 5.64 12 5V2Z"
|
|
19
|
+
stroke="currentStroke"
|
|
20
|
+
stroke-width="1.5"
|
|
21
|
+
stroke-miterlimit="10"
|
|
22
|
+
stroke-linecap="round"
|
|
23
|
+
stroke-linejoin="round"
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d="M12 5V8"
|
|
27
|
+
stroke="currentStroke"
|
|
28
|
+
stroke-width="1.5"
|
|
29
|
+
stroke-miterlimit="10"
|
|
30
|
+
stroke-linecap="round"
|
|
31
|
+
stroke-linejoin="round"
|
|
32
|
+
/>
|
|
33
|
+
<path
|
|
34
|
+
d="M17 8H7C5 8 4 9 4 11V22H20V11C20 9 19 8 17 8Z"
|
|
35
|
+
stroke="currentStroke"
|
|
36
|
+
stroke-width="1.5"
|
|
37
|
+
stroke-miterlimit="10"
|
|
38
|
+
stroke-linecap="round"
|
|
39
|
+
stroke-linejoin="round"
|
|
40
|
+
/>
|
|
41
|
+
<path
|
|
42
|
+
d="M4.58008 12H19.4201"
|
|
43
|
+
stroke="currentStroke"
|
|
44
|
+
stroke-width="1.5"
|
|
45
|
+
stroke-miterlimit="10"
|
|
46
|
+
stroke-linecap="round"
|
|
47
|
+
stroke-linejoin="round"
|
|
48
|
+
/>
|
|
49
|
+
<path d="M7.98999 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
|
|
50
|
+
<defs>
|
|
51
|
+
<filter
|
|
52
|
+
id="filter0_d_116_6675"
|
|
53
|
+
x="7.23999"
|
|
54
|
+
y="12"
|
|
55
|
+
width="9.5"
|
|
56
|
+
height="18"
|
|
57
|
+
filterUnits="userSpaceOnUse"
|
|
58
|
+
color-interpolation-filters="sRGB"
|
|
59
|
+
>
|
|
60
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
61
|
+
<feColorMatrix
|
|
62
|
+
in="SourceAlpha"
|
|
63
|
+
type="matrix"
|
|
64
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
65
|
+
result="hardAlpha"
|
|
66
|
+
/>
|
|
67
|
+
<feOffset dy="4" />
|
|
68
|
+
<feGaussianBlur stdDeviation="2" />
|
|
69
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
70
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
|
|
71
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675" />
|
|
72
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape" />
|
|
73
|
+
</filter>
|
|
74
|
+
<filter
|
|
75
|
+
id="filter1_d_116_6675"
|
|
76
|
+
x="11.24"
|
|
77
|
+
y="12"
|
|
78
|
+
width="9.5"
|
|
79
|
+
height="18"
|
|
80
|
+
filterUnits="userSpaceOnUse"
|
|
81
|
+
color-interpolation-filters="sRGB"
|
|
82
|
+
>
|
|
83
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
84
|
+
<feColorMatrix
|
|
85
|
+
in="SourceAlpha"
|
|
86
|
+
type="matrix"
|
|
87
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
88
|
+
result="hardAlpha"
|
|
89
|
+
/>
|
|
90
|
+
<feOffset dy="4" />
|
|
91
|
+
<feGaussianBlur stdDeviation="2" />
|
|
92
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
93
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
|
|
94
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675" />
|
|
95
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape" />
|
|
96
|
+
</filter>
|
|
97
|
+
</defs>
|
|
98
|
+
</svg>
|
|
99
|
+
</template>
|
|
100
|
+
<script setup lang="ts"></script>
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path d="M17 3H21V7" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
4
|
-
<path d="M15 9L21 3" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
5
|
-
<path d="M7 21H3V17" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
6
|
-
<path d="M9 15L3 21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
7
|
-
<path
|
|
8
|
-
d="M14.02 2.20001C13.37 2.07001 12.69 2 12 2C6.48 2 2 6.48 2 12C2 12.69 2.07001 13.36 2.20001 14"
|
|
9
|
-
stroke="currentStroke"
|
|
10
|
-
stroke-width="1.5"
|
|
11
|
-
stroke-linecap="round"
|
|
12
|
-
stroke-linejoin="round"
|
|
13
|
-
/>
|
|
14
|
-
<path
|
|
15
|
-
d="M9.97998 21.8C10.63 21.93 11.31 22 12 22C17.52 22 22 17.52 22 12C22 11.32 21.93 10.65 21.8 10"
|
|
16
|
-
stroke="currentStroke"
|
|
17
|
-
stroke-width="1.5"
|
|
18
|
-
stroke-linecap="round"
|
|
19
|
-
stroke-linejoin="round"
|
|
20
|
-
/>
|
|
21
|
-
</svg>
|
|
22
|
-
</template>
|
|
1
|
+
<template>
|
|
2
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M17 3H21V7" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
4
|
+
<path d="M15 9L21 3" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
5
|
+
<path d="M7 21H3V17" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
6
|
+
<path d="M9 15L3 21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
7
|
+
<path
|
|
8
|
+
d="M14.02 2.20001C13.37 2.07001 12.69 2 12 2C6.48 2 2 6.48 2 12C2 12.69 2.07001 13.36 2.20001 14"
|
|
9
|
+
stroke="currentStroke"
|
|
10
|
+
stroke-width="1.5"
|
|
11
|
+
stroke-linecap="round"
|
|
12
|
+
stroke-linejoin="round"
|
|
13
|
+
/>
|
|
14
|
+
<path
|
|
15
|
+
d="M9.97998 21.8C10.63 21.93 11.31 22 12 22C17.52 22 22 17.52 22 12C22 11.32 21.93 10.65 21.8 10"
|
|
16
|
+
stroke="currentStroke"
|
|
17
|
+
stroke-width="1.5"
|
|
18
|
+
stroke-linecap="round"
|
|
19
|
+
stroke-linejoin="round"
|
|
20
|
+
/>
|
|
21
|
+
</svg>
|
|
22
|
+
</template>
|
package/src/main.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { createApp } from 'vue'
|
|
2
|
-
import { Quasar, quasarUserOptions } from './quasar-user-options'
|
|
3
|
-
import router from './router/index'
|
|
4
|
-
|
|
5
|
-
import '@quasar/extras/material-icons/material-icons.css'
|
|
6
|
-
import 'quasar/src/css/index.sass'
|
|
7
|
-
|
|
8
|
-
import '@/shared/styles/general.css'
|
|
9
|
-
|
|
10
|
-
import App from './App.vue'
|
|
11
|
-
|
|
12
|
-
const app = createApp(App)
|
|
13
|
-
|
|
14
|
-
//@ts-ignore
|
|
15
|
-
app.use(Quasar, quasarUserOptions)
|
|
16
|
-
|
|
17
|
-
app.use(router)
|
|
18
|
-
app.mount('#app')
|
|
1
|
+
import { createApp } from 'vue'
|
|
2
|
+
import { Quasar, quasarUserOptions } from './quasar-user-options'
|
|
3
|
+
import router from './router/index'
|
|
4
|
+
|
|
5
|
+
import '@quasar/extras/material-icons/material-icons.css'
|
|
6
|
+
import 'quasar/src/css/index.sass'
|
|
7
|
+
|
|
8
|
+
import '@/shared/styles/general.css'
|
|
9
|
+
|
|
10
|
+
import App from './App.vue'
|
|
11
|
+
|
|
12
|
+
const app = createApp(App)
|
|
13
|
+
|
|
14
|
+
//@ts-ignore
|
|
15
|
+
app.use(Quasar, quasarUserOptions)
|
|
16
|
+
|
|
17
|
+
app.use(router)
|
|
18
|
+
app.mount('#app')
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Quasar, Notify, Loading, Dialog } from 'quasar'
|
|
2
|
-
|
|
3
|
-
import 'quasar/src/css/index.sass'
|
|
4
|
-
import '@quasar/extras/roboto-font/roboto-font.css'
|
|
5
|
-
import '@quasar/extras/material-icons/material-icons.css'
|
|
6
|
-
import '@quasar/extras/material-icons-outlined/material-icons-outlined.css'
|
|
7
|
-
import '@quasar/extras/mdi-v7/mdi-v7.css'
|
|
8
|
-
|
|
9
|
-
const quasarUserOptions = {
|
|
10
|
-
plugins: {
|
|
11
|
-
Notify,
|
|
12
|
-
Loading,
|
|
13
|
-
Dialog,
|
|
14
|
-
},
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { Quasar, quasarUserOptions }
|
|
1
|
+
import { Quasar, Notify, Loading, Dialog } from 'quasar'
|
|
2
|
+
|
|
3
|
+
import 'quasar/src/css/index.sass'
|
|
4
|
+
import '@quasar/extras/roboto-font/roboto-font.css'
|
|
5
|
+
import '@quasar/extras/material-icons/material-icons.css'
|
|
6
|
+
import '@quasar/extras/material-icons-outlined/material-icons-outlined.css'
|
|
7
|
+
import '@quasar/extras/mdi-v7/mdi-v7.css'
|
|
8
|
+
|
|
9
|
+
const quasarUserOptions = {
|
|
10
|
+
plugins: {
|
|
11
|
+
Notify,
|
|
12
|
+
Loading,
|
|
13
|
+
Dialog,
|
|
14
|
+
},
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { Quasar, quasarUserOptions }
|
package/src/router/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
|
|
2
|
-
|
|
3
|
-
const routes: RouteRecordRaw[] = []
|
|
4
|
-
|
|
5
|
-
const router = createRouter({
|
|
6
|
-
history: createWebHistory(),
|
|
7
|
-
routes,
|
|
8
|
-
})
|
|
9
|
-
|
|
10
|
-
export default router
|
|
1
|
+
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
|
|
2
|
+
|
|
3
|
+
const routes: RouteRecordRaw[] = []
|
|
4
|
+
|
|
5
|
+
const router = createRouter({
|
|
6
|
+
history: createWebHistory(),
|
|
7
|
+
routes,
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
export default router
|
package/src/shims-vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare module '*.vue' {
|
|
2
|
-
import { DefineComponent } from 'vue'
|
|
3
|
-
const component: DefineComponent<{}, {}, any>
|
|
4
|
-
export default component
|
|
5
|
-
}
|
|
1
|
+
declare module '*.vue' {
|
|
2
|
+
import { DefineComponent } from 'vue'
|
|
3
|
+
const component: DefineComponent<{}, {}, any>
|
|
4
|
+
export default component
|
|
5
|
+
}
|