Browse Source

Maintenance: Updated the npm dependencies.

Dominik Klein 3 years ago
parent
commit
d31782ac50

+ 2 - 2
Gemfile.lock

@@ -590,10 +590,10 @@ GEM
       logging
       nokogiri
       rubyntlm
-    vite_rails (3.0.0)
+    vite_rails (3.0.2)
       railties (>= 5.1, < 8)
       vite_ruby (~> 3.0)
-    vite_ruby (3.0.0)
+    vite_ruby (3.0.5)
       dry-cli (~> 0.7.0)
       rack-proxy (~> 0.6, >= 0.6.1)
       zeitwerk (~> 2.2)

+ 2 - 2
app/frontend/apps/mobile/router/index.ts

@@ -1,10 +1,10 @@
 // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
 
-import { RouteRecordRaw } from 'vue-router'
+import type { RouteRecordRaw } from 'vue-router'
 import Login from '@mobile/views/Login.vue'
 import Error from '@mobile/views/Error.vue'
 import LayoutMain from '@mobile/components/layout/LayoutMain.vue'
-import { ImportGlobEagerDefault } from '@common/types/utils'
+import type { ImportGlobEagerDefault } from '@common/types/utils'
 
 const routeModules = import.meta.globEager('./routes/*.ts')
 

+ 1 - 1
app/frontend/apps/mobile/router/routes/home.ts

@@ -1,7 +1,7 @@
 // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
 
 import Home from '@mobile/views/Home.vue'
-import { RouteRecordRaw } from 'vue-router'
+import type { RouteRecordRaw } from 'vue-router'
 
 const route: RouteRecordRaw = {
   path: '/',

+ 1 - 1
app/frontend/apps/mobile/router/routes/ticketOverview.ts

@@ -1,7 +1,7 @@
 // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
 
 import TicketOverview from '@mobile/views/TicketOverview.vue'
-import { RouteRecordRaw } from 'vue-router'
+import type { RouteRecordRaw } from 'vue-router'
 
 const route: RouteRecordRaw = {
   path: '/tickets',

+ 1 - 1
app/frontend/common/initializer/globalComponents.ts

@@ -1,6 +1,6 @@
 // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
 
-import { App } from 'vue'
+import type { App } from 'vue'
 import CommonIcon from '@common/components/common/CommonIcon.vue'
 
 declare module '@vue/runtime-core' {

+ 1 - 1
app/frontend/common/router/guards/after/headerTitle.ts

@@ -1,7 +1,7 @@
 // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
 
 import useMetaTitle from '@common/composables/useMetaTitle'
-import { NavigationHookAfter, RouteLocationNormalized } from 'vue-router'
+import type { NavigationHookAfter, RouteLocationNormalized } from 'vue-router'
 
 const headerTitleGuard: NavigationHookAfter = (to: RouteLocationNormalized) => {
   if (to.meta.title) {

+ 1 - 1
app/frontend/common/router/guards/before/authentication.ts

@@ -3,7 +3,7 @@
 import useApplicationLoadedStore from '@common/stores/application/loaded'
 import useAuthenticatedStore from '@common/stores/authenticated'
 import log from '@common/utils/log'
-import {
+import type {
   NavigationGuard,
   RouteLocationNormalized,
   NavigationGuardNext,

+ 1 - 1
app/frontend/common/router/guards/before/permission.ts

@@ -1,6 +1,6 @@
 // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
 
-import {
+import type {
   NavigationGuard,
   RouteLocationNormalized,
   NavigationGuardNext,

+ 2 - 2
app/frontend/common/router/index.ts

@@ -1,14 +1,14 @@
 // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
 
 import authenticationGuard from '@common/router/guards/before/authentication'
-import { App } from 'vue'
+import type { App } from 'vue'
 import {
   createRouter,
   createWebHashHistory,
   Router,
   RouteRecordRaw,
 } from 'vue-router'
-import { RouteRecordMeta } from '@common/types/router'
+import type { RouteRecordMeta } from '@common/types/router'
 import permissionGuard from '@common/router/guards/before/permission'
 import headerTitleGuard from '@common/router/guards/after/headerTitle'
 

+ 2 - 2
app/frontend/common/stores/application/config.ts

@@ -1,8 +1,8 @@
 // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
 
 import { defineStore } from 'pinia'
-import { SingleValueStore, ConfigValues } from '@common/types/store'
-import {
+import type { SingleValueStore, ConfigValues } from '@common/types/store'
+import type {
   ApplicationConfigQuery,
   ApplicationConfigQueryVariables,
 } from '@common/graphql/types'

Some files were not shown because too many files changed in this diff