mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
migration: remove @vue/compat + update to vue 3.4.21
This commit is contained in:
parent
23594bc338
commit
1d2aa3387d
86 changed files with 3 additions and 123 deletions
|
@ -15,14 +15,13 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/fira-code": "^5.0.17",
|
"@fontsource/fira-code": "^5.0.17",
|
||||||
"@fontsource/firago": "^5.0.7",
|
"@fontsource/firago": "^5.0.7",
|
||||||
"@vue/compat": "3.3.4",
|
|
||||||
"@vuelidate/core": "^2.0.3",
|
"@vuelidate/core": "^2.0.3",
|
||||||
"@vuelidate/validators": "^2.0.4",
|
"@vuelidate/validators": "^2.0.4",
|
||||||
"bootstrap-vue": "^2.23.1",
|
"bootstrap-vue": "^2.23.1",
|
||||||
"date-fns": "^3.3.1",
|
"date-fns": "^3.3.1",
|
||||||
"fork-awesome": "^1.2.0",
|
"fork-awesome": "^1.2.0",
|
||||||
"simple-evaluate": "^1.4.6",
|
"simple-evaluate": "^1.4.6",
|
||||||
"vue": "3.3.4",
|
"vue": "^3.4.21",
|
||||||
"vue-i18n": "^9.10.1",
|
"vue-i18n": "^9.10.1",
|
||||||
"vue-router": "^4.3.0",
|
"vue-router": "^4.3.0",
|
||||||
"vue-showdown": "^4.2.0",
|
"vue-showdown": "^4.2.0",
|
||||||
|
|
|
@ -101,7 +101,6 @@ import { mapGetters } from 'vuex'
|
||||||
import { HistoryConsole, ViewLockOverlay } from '@/views/_partials'
|
import { HistoryConsole, ViewLockOverlay } from '@/views/_partials'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'App',
|
name: 'App',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'AdressInputSelect',
|
name: 'AdressInputSelect',
|
||||||
|
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'CardCollapse',
|
name: 'CardCollapse',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -5,7 +5,6 @@ import { h } from 'vue'
|
||||||
import { BCardGroup } from 'bootstrap-vue'
|
import { BCardGroup } from 'bootstrap-vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'CardDeckFeed',
|
name: 'CardDeckFeed',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -54,7 +54,6 @@
|
||||||
import { filterObject } from '@/helpers/commons'
|
import { filterObject } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ConfigPanel',
|
name: 'ConfigPanel',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -32,7 +32,6 @@ import { defineAsyncComponent } from 'vue'
|
||||||
import { useVuelidate } from '@vuelidate/core'
|
import { useVuelidate } from '@vuelidate/core'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ConfigPanels',
|
name: 'ConfigPanels',
|
||||||
|
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'LazyRenderer',
|
name: 'LazyRenderer',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'MessageListGroup',
|
name: 'MessageListGroup',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'QueryHeader',
|
name: 'QueryHeader',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -45,7 +45,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'RecursiveListGroup',
|
name: 'RecursiveListGroup',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'RoutableTabs',
|
name: 'RoutableTabs',
|
||||||
|
|
||||||
// Thanks to `v-bind="$attrs"` and `inheritAttrs: false`, this component can forward
|
// Thanks to `v-bind="$attrs"` and `inheritAttrs: false`, this component can forward
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'AbstractForm',
|
name: 'AbstractForm',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'CardForm',
|
name: 'CardForm',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'DescriptionRow',
|
name: 'DescriptionRow',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ExplainWhat',
|
name: 'ExplainWhat',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'FormField',
|
name: 'FormField',
|
||||||
|
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ReadOnlyField',
|
name: 'ReadOnlyField',
|
||||||
|
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'TopBar',
|
name: 'TopBar',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
import api from '@/api'
|
import api from '@/api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ViewBase',
|
name: 'ViewBase',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -57,7 +57,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3, INSTANCE_LISTENERS: false },
|
|
||||||
name: 'ViewSearch',
|
name: 'ViewSearch',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
import { DEFAULT_STATUS_ICON } from '@/helpers/yunohostArguments'
|
import { DEFAULT_STATUS_ICON } from '@/helpers/yunohostArguments'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'YAlert',
|
name: 'YAlert',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'YBreadcrumb',
|
name: 'YBreadcrumb',
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -56,7 +56,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'YCard',
|
name: 'YCard',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'YIcon',
|
name: 'YIcon',
|
||||||
props: {
|
props: {
|
||||||
iname: { type: String, required: true },
|
iname: { type: String, required: true },
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
import { DEFAULT_STATUS_ICON } from '@/helpers/yunohostArguments'
|
import { DEFAULT_STATUS_ICON } from '@/helpers/yunohostArguments'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'YListGroupItem',
|
name: 'YListGroupItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'YSpinner',
|
name: 'YSpinner',
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ButtonItem',
|
name: 'ButtonItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'CheckboxItem',
|
name: 'CheckboxItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'DisplayTextItem',
|
name: 'DisplayTextItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
import { getFileContent } from '@/helpers/commons'
|
import { getFileContent } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'FileItem',
|
name: 'FileItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'InputItem',
|
name: 'InputItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'MarkdownItem',
|
name: 'MarkdownItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ReadOnlyAlertItem',
|
name: 'ReadOnlyAlertItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'SelectItem',
|
name: 'SelectItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'TagsItem',
|
name: 'TagsItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -93,7 +93,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'TagsSelectizeItem',
|
name: 'TagsSelectizeItem',
|
||||||
|
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'TextAreaItem',
|
name: 'TextAreaItem',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
import { randint } from '@/helpers/commons'
|
import { randint } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'CardButtonsSkeleton',
|
name: 'CardButtonsSkeleton',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
import { randint } from '@/helpers/commons'
|
import { randint } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'CardFormSkeleton',
|
name: 'CardFormSkeleton',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
import { randint } from '@/helpers/commons'
|
import { randint } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'CardInfoSkeleton',
|
name: 'CardInfoSkeleton',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
import { randint } from '@/helpers/commons'
|
import { randint } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'CardListSkeleton',
|
name: 'CardListSkeleton',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
import { randint } from '@/helpers/commons'
|
import { randint } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ListGroupSkeleton',
|
name: 'ListGroupSkeleton',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { createApp, configureCompat } from 'vue'
|
import { createApp } from 'vue'
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
import BootstrapVue from 'bootstrap-vue'
|
import BootstrapVue from 'bootstrap-vue'
|
||||||
import { VueShowdownPlugin } from 'vue-showdown'
|
import { VueShowdownPlugin } from 'vue-showdown'
|
||||||
|
@ -18,31 +18,6 @@ app.use(store)
|
||||||
app.use(router)
|
app.use(router)
|
||||||
app.use(i18n)
|
app.use(i18n)
|
||||||
|
|
||||||
configureCompat({
|
|
||||||
MODE: 2,
|
|
||||||
// warnings we can do something about should be fixed
|
|
||||||
// next warnings are suppressed because those come from bootstrap-vue (vue2)
|
|
||||||
INSTANCE_EVENT_EMITTER: 'suppress-warning',
|
|
||||||
COMPONENT_FUNCTIONAL: 'suppress-warning',
|
|
||||||
RENDER_FUNCTION: 'suppress-warning',
|
|
||||||
GLOBAL_EXTEND: 'suppress-warning',
|
|
||||||
GLOBAL_MOUNT: 'suppress-warning',
|
|
||||||
WATCH_ARRAY: 'suppress-warning',
|
|
||||||
GLOBAL_PROTOTYPE: 'suppress-warning',
|
|
||||||
INSTANCE_SCOPED_SLOTS: 'suppress-warning',
|
|
||||||
INSTANCE_LISTENERS: 'suppress-warning',
|
|
||||||
OPTIONS_DATA_MERGE: 'suppress-warning',
|
|
||||||
OPTIONS_BEFORE_DESTROY: 'suppress-warning',
|
|
||||||
INSTANCE_ATTRS_CLASS_STYLE: 'suppress-warning',
|
|
||||||
CUSTOM_DIR: 'suppress-warning',
|
|
||||||
// TODO
|
|
||||||
// ATTR_FALSE_VALUE: 'suppress-warning',
|
|
||||||
// ATTR_ENUMERATED_COERCION
|
|
||||||
// ATTR_FALSE_VALUE
|
|
||||||
// COMPONENT_V_MODEL: 'suppress-warning',
|
|
||||||
// COMPILER_V_BIND_SYNC
|
|
||||||
})
|
|
||||||
|
|
||||||
// Styles are imported in `src/App.vue` <style>
|
// Styles are imported in `src/App.vue` <style>
|
||||||
app.use(BootstrapVue, {
|
app.use(BootstrapVue, {
|
||||||
BSkeleton: { animation: 'none' },
|
BSkeleton: { animation: 'none' },
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'HomeView',
|
name: 'HomeView',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -39,7 +39,6 @@ import { useVuelidate } from '@vuelidate/core'
|
||||||
import { alphalownumdot_, required, minLength } from '@/helpers/validators'
|
import { alphalownumdot_, required, minLength } from '@/helpers/validators'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'LoginView',
|
name: 'LoginView',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -104,7 +104,6 @@ import {
|
||||||
} from '@/helpers/validators'
|
} from '@/helpers/validators'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'PostInstall',
|
name: 'PostInstall',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -129,7 +129,6 @@ import {
|
||||||
} from '@/helpers/validators'
|
} from '@/helpers/validators'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'DomainForm',
|
name: 'DomainForm',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -54,7 +54,6 @@
|
||||||
import MessageListGroup from '@/components/MessageListGroup.vue'
|
import MessageListGroup from '@/components/MessageListGroup.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ErrorDisplay',
|
name: 'ErrorDisplay',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -94,7 +94,6 @@ import QueryHeader from '@/components/QueryHeader.vue'
|
||||||
import MessageListGroup from '@/components/MessageListGroup.vue'
|
import MessageListGroup from '@/components/MessageListGroup.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'HistoryConsole',
|
name: 'HistoryConsole',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -43,7 +43,6 @@ import api from '@/api'
|
||||||
import LoginView from '@/views/LoginView.vue'
|
import LoginView from '@/views/LoginView.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ReconnectingDisplay',
|
name: 'ReconnectingDisplay',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -30,7 +30,6 @@ import {
|
||||||
import QueryHeader from '@/components/QueryHeader.vue'
|
import QueryHeader from '@/components/QueryHeader.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ViewLockOverlay',
|
name: 'ViewLockOverlay',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
import MessageListGroup from '@/components/MessageListGroup.vue'
|
import MessageListGroup from '@/components/MessageListGroup.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'WaitingDisplay',
|
name: 'WaitingDisplay',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'WarningDisplay',
|
name: 'WarningDisplay',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -227,7 +227,6 @@ import { required, appRepoUrl } from '@/helpers/validators'
|
||||||
import { randint } from '@/helpers/commons'
|
import { randint } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'AppCatalog',
|
name: 'AppCatalog',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -377,7 +377,6 @@ import {
|
||||||
import ConfigPanels from '@/components/ConfigPanels.vue'
|
import ConfigPanels from '@/components/ConfigPanels.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'AppInfo',
|
name: 'AppInfo',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -217,7 +217,6 @@ import {
|
||||||
import CardCollapse from '@/components/CardCollapse.vue'
|
import CardCollapse from '@/components/CardCollapse.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'AppInstall',
|
name: 'AppInstall',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'AppList',
|
name: 'AppList',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -127,7 +127,6 @@
|
||||||
import api from '@/api'
|
import api from '@/api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'BackupCreate',
|
name: 'BackupCreate',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -142,7 +142,6 @@ import { humanSize } from '@/helpers/filters/human'
|
||||||
import { isEmptyValue } from '@/helpers/commons'
|
import { isEmptyValue } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'BackupInfo',
|
name: 'BackupInfo',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -49,7 +49,6 @@ import { distanceToNow, readableDate } from '@/helpers/filters/date'
|
||||||
import { humanSize } from '@/helpers/filters/human'
|
import { humanSize } from '@/helpers/filters/human'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'BackupList',
|
name: 'BackupList',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'BackupView',
|
name: 'BackupView',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -153,7 +153,6 @@ import { distanceToNow } from '@/helpers/filters/date'
|
||||||
import { DEFAULT_STATUS_ICON } from '@/helpers/yunohostArguments'
|
import { DEFAULT_STATUS_ICON } from '@/helpers/yunohostArguments'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'DiagnosisView',
|
name: 'DiagnosisView',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -14,7 +14,6 @@ import api from '@/api'
|
||||||
import { DomainForm } from '@/views/_partials'
|
import { DomainForm } from '@/views/_partials'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'DomainAdd',
|
name: 'DomainAdd',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -148,7 +148,6 @@ import api from '@/api'
|
||||||
import { isEmptyValue } from '@/helpers/commons'
|
import { isEmptyValue } from '@/helpers/commons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'DomainDns',
|
name: 'DomainDns',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -149,7 +149,6 @@ import ConfigPanels from '@/components/ConfigPanels.vue'
|
||||||
import DomainDns from './DomainDns.vue'
|
import DomainDns from './DomainDns.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'DomainInfo',
|
name: 'DomainInfo',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -53,7 +53,6 @@ import { mapGetters } from 'vuex'
|
||||||
import RecursiveListGroup from '@/components/RecursiveListGroup.vue'
|
import RecursiveListGroup from '@/components/RecursiveListGroup.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'DomainList',
|
name: 'DomainList',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -22,7 +22,6 @@ import api from '@/api'
|
||||||
import { required, alphalownumdot_ } from '@/helpers/validators'
|
import { required, alphalownumdot_ } from '@/helpers/validators'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'GroupCreate',
|
name: 'GroupCreate',
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
|
|
@ -140,7 +140,6 @@ import TagsSelectizeItem from '@/components/globals/formItems/TagsSelectizeItem.
|
||||||
// TODO add global search with type (search by: group, user, permission)
|
// TODO add global search with type (search by: group, user, permission)
|
||||||
// TODO add vuex store update on inputs ?
|
// TODO add vuex store update on inputs ?
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'GroupList',
|
name: 'GroupList',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -86,7 +86,6 @@ import api from '@/api'
|
||||||
import { distanceToNow } from '@/helpers/filters/date'
|
import { distanceToNow } from '@/helpers/filters/date'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ServiceInfo',
|
name: 'ServiceInfo',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -46,7 +46,6 @@
|
||||||
import { distanceToNow } from '@/helpers/filters/date'
|
import { distanceToNow } from '@/helpers/filters/date'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ServiceList',
|
name: 'ServiceList',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -125,7 +125,6 @@ import api from '@/api'
|
||||||
import { required, integer, between } from '@/helpers/validators'
|
import { required, integer, between } from '@/helpers/validators'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ToolFirewall',
|
name: 'ToolFirewall',
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ToolList',
|
name: 'ToolList',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -78,7 +78,6 @@ import { escapeHtml } from '@/helpers/commons'
|
||||||
import { readableDate } from '@/helpers/filters/date'
|
import { readableDate } from '@/helpers/filters/date'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ToolLog',
|
name: 'ToolLog',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
import { distanceToNow, readableDate } from '@/helpers/filters/date'
|
import { distanceToNow, readableDate } from '@/helpers/filters/date'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ToolLogs',
|
name: 'ToolLogs',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -91,7 +91,6 @@ import api from '@/api'
|
||||||
|
|
||||||
// FIXME not tested with pending migrations (disclaimer and stuff)
|
// FIXME not tested with pending migrations (disclaimer and stuff)
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ToolMigrations',
|
name: 'ToolMigrations',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
import api from '@/api'
|
import api from '@/api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ToolPower',
|
name: 'ToolPower',
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -23,7 +23,6 @@ import {
|
||||||
import ConfigPanels from '@/components/ConfigPanels.vue'
|
import ConfigPanels from '@/components/ConfigPanels.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ToolSettingsConfig',
|
name: 'ToolSettingsConfig',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -27,7 +27,6 @@ function mapStoreGetSet(props = [], action = 'commit') {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'ToolWebadmin',
|
name: 'ToolWebadmin',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -144,7 +144,6 @@ import { mapGetters } from 'vuex'
|
||||||
import CardCollapse from '@/components/CardCollapse.vue'
|
import CardCollapse from '@/components/CardCollapse.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'SystemUpdate',
|
name: 'SystemUpdate',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -84,7 +84,6 @@ import {
|
||||||
} from '@/helpers/validators'
|
} from '@/helpers/validators'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'UserCreate',
|
name: 'UserCreate',
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
|
|
@ -134,7 +134,6 @@ import {
|
||||||
import AdressInputSelect from '@/components/AdressInputSelect.vue'
|
import AdressInputSelect from '@/components/AdressInputSelect.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'UserEdit',
|
name: 'UserEdit',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -29,7 +29,6 @@ import { formatFormData } from '@/helpers/yunohostArguments'
|
||||||
import { required } from '@/helpers/validators'
|
import { required } from '@/helpers/validators'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'UserImport',
|
name: 'UserImport',
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
|
|
@ -106,7 +106,6 @@
|
||||||
import api from '@/api'
|
import api from '@/api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'UserInfo',
|
name: 'UserInfo',
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -56,7 +56,6 @@
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
compatConfig: { MODE: 3 },
|
|
||||||
name: 'UserList',
|
name: 'UserList',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -23,7 +23,6 @@ export default defineConfig(({ command, mode }) => {
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: [
|
alias: [
|
||||||
{ find: 'vue', replacement: '@vue/compat' },
|
|
||||||
// this is required for the SCSS modules imports with `~` (node_modules)
|
// this is required for the SCSS modules imports with `~` (node_modules)
|
||||||
{
|
{
|
||||||
find: /^~(.*)$/,
|
find: /^~(.*)$/,
|
||||||
|
@ -47,17 +46,7 @@ export default defineConfig(({ command, mode }) => {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [createVuePlugin()],
|
||||||
createVuePlugin({
|
|
||||||
template: {
|
|
||||||
compilerOptions: {
|
|
||||||
compatConfig: {
|
|
||||||
MODE: 2,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
build: {
|
build: {
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
|
|
Loading…
Reference in a new issue