openatc-components 0.4.85 → 0.4.87

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.
@@ -35,11 +35,12 @@ import IntersectionDirectionSelection from './components/IntersectionDirectionSe
35
35
  import PhaseLegend from './components/PhaseLegend/index.js'
36
36
  import OverviewComponent from './components/OverviewComponent/index.js'
37
37
  import IntersectionMapDirSelect from './components/IntersectionMapDirSelect/index.js'
38
- import { setToken, setHost, setIsCheckPermission, setUserRoles, setPermissions } from '../utils/auth.js'
38
+ import { setToken, setHost, setIsCheckPermission, setUserRoles, setPermissions, setLanguage, getLanguage } from '../utils/auth.js'
39
39
  import componentsGlobalParam from '../store/modules/globalParam'
40
40
 
41
41
  import en from '../i18n/language/en'
42
42
  import zh from '../i18n/language/zh'
43
+ import ru from '../i18n/language/ru'
43
44
  // 第三方插件
44
45
  import VTooltip from 'v-tooltip'
45
46
 
@@ -84,10 +85,13 @@ const components = {
84
85
 
85
86
  const language = {
86
87
  en,
87
- zh
88
+ zh,
89
+ ru
88
90
  }
89
91
 
90
92
  const func = {
93
+ getLanguage,
94
+ setLanguage,
91
95
  setHost,
92
96
  setToken,
93
97
  setUserRoles,