Changes: * couple of component migrated from legacy quasar wrapper comonents (src/components/quasar-legcay) the normal quasar comonents * removed unused files and folders (quasar-legcay, templates) * removed some unused commented code * removed unused "axios" boot file and it's dependency Change-Id: I6baa5ee0612e2ff2b8adbe0e2ea8915c1fb230f5mr10.0
parent
8cbecc1f92
commit
d7782b1dcf
@ -1,23 +0,0 @@
|
|||||||
|
|
||||||
import axios from 'axios'
|
|
||||||
import {
|
|
||||||
getJwt,
|
|
||||||
hasJwt
|
|
||||||
} from 'src/auth'
|
|
||||||
|
|
||||||
export default ({ Vue, store, app }) => {
|
|
||||||
const http = axios.create({
|
|
||||||
baseURL: app.config.baseHttpUrl
|
|
||||||
})
|
|
||||||
http.interceptors.request.use(function (config) {
|
|
||||||
if (hasJwt()) {
|
|
||||||
config.headers.Authorization = 'Bearer ' + getJwt()
|
|
||||||
}
|
|
||||||
return config
|
|
||||||
}, function (error) {
|
|
||||||
return Promise.reject(error)
|
|
||||||
})
|
|
||||||
Vue.http = http
|
|
||||||
Vue.$http = http
|
|
||||||
store.$http = http
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
|
|
||||||
import QItemMain from 'src/components/quasar-legacy/QItemMain'
|
|
||||||
import QItemSide from 'src/components/quasar-legacy/QItemSide'
|
|
||||||
import QCollapsible from 'src/components/quasar-legacy/QCollapsible'
|
|
||||||
import QAlert from 'src/components/quasar-legacy/QAlert'
|
|
||||||
import QResizeObservable from 'src/components/quasar-legacy/QResizeObservable'
|
|
||||||
import QModal from 'src/components/quasar-legacy/QModal'
|
|
||||||
import QPopover from 'src/components/quasar-legacy/QPopover'
|
|
||||||
|
|
||||||
export default ({ Vue }) => {
|
|
||||||
Vue.component('q-item-main', QItemMain)
|
|
||||||
Vue.component('q-item-side', QItemSide)
|
|
||||||
Vue.component('q-collapsible', QCollapsible)
|
|
||||||
Vue.component('q-alert', QAlert)
|
|
||||||
Vue.component('q-resize-observable', QResizeObservable)
|
|
||||||
Vue.component('q-modal', QModal)
|
|
||||||
Vue.component('q-popover', QPopover)
|
|
||||||
}
|
|
@ -1,46 +0,0 @@
|
|||||||
<template>
|
|
||||||
<q-list
|
|
||||||
item-separator
|
|
||||||
link
|
|
||||||
class="csc-toolbar-btn-popover"
|
|
||||||
>
|
|
||||||
<q-item @click="initCall('audioOnly')">
|
|
||||||
<q-item-side
|
|
||||||
icon="mic"
|
|
||||||
color="primary"
|
|
||||||
/>
|
|
||||||
<q-item-main :label="$t('Audio Only')" />
|
|
||||||
</q-item>
|
|
||||||
<q-item @click="initCall('audioVideo')">
|
|
||||||
<q-item-side
|
|
||||||
icon="videocam"
|
|
||||||
color="primary"
|
|
||||||
/>
|
|
||||||
<q-item-main :label="$t('Audio + Video')" />
|
|
||||||
</q-item>
|
|
||||||
<q-item @click="initCall('audioScreen')">
|
|
||||||
<q-item-side
|
|
||||||
icon="computer"
|
|
||||||
color="primary"
|
|
||||||
/>
|
|
||||||
<q-item-main :label="$t('Audio + Screen')" />
|
|
||||||
</q-item>
|
|
||||||
</q-list>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'CscCallOptionList',
|
|
||||||
data () {
|
|
||||||
return {}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
initCall (media) {
|
|
||||||
this.$emit('init-call', media)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="stylus" rel="stylesheet/stylus">
|
|
||||||
</style>
|
|
@ -1,11 +0,0 @@
|
|||||||
<template>
|
|
||||||
<q-banner />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'QAlert',
|
|
||||||
props: {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,22 +0,0 @@
|
|||||||
<template>
|
|
||||||
<q-expansion-item
|
|
||||||
:value="value"
|
|
||||||
v-bind="$attrs"
|
|
||||||
v-on="$listeners"
|
|
||||||
@input="$emit('input', $event)"
|
|
||||||
>
|
|
||||||
<slot />
|
|
||||||
</q-expansion-item>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'QCollapsible',
|
|
||||||
props: {
|
|
||||||
value: {
|
|
||||||
type: Boolean,
|
|
||||||
default: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,14 +0,0 @@
|
|||||||
<template>
|
|
||||||
<q-item-section
|
|
||||||
v-bind="$attrs"
|
|
||||||
v-on="$listeners"
|
|
||||||
>
|
|
||||||
<q-item-label>{{ $attrs.label }}</q-item-label>
|
|
||||||
</q-item-section>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'QItemMain'
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,14 +0,0 @@
|
|||||||
<template>
|
|
||||||
<q-item-section
|
|
||||||
v-bind="$attrs"
|
|
||||||
v-on="$listeners"
|
|
||||||
>
|
|
||||||
<slot />
|
|
||||||
</q-item-section>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'QItemSide'
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,11 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'QModal',
|
|
||||||
props: {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,11 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'QPopover',
|
|
||||||
props: {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,11 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'QResizeObservable',
|
|
||||||
props: {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,15 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data () {
|
|
||||||
return {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="stylus" rel="stylesheet/stylus">
|
|
||||||
@import '../themes/quasar.variables.styl'
|
|
||||||
</style>
|
|
@ -1,73 +0,0 @@
|
|||||||
<template>
|
|
||||||
<!-- Configure "view" prop for QLayout -->
|
|
||||||
<q-layout>
|
|
||||||
<q-toolbar slot="header">
|
|
||||||
<!-- opens drawer below
|
|
||||||
<button class="hide-on-drawer-visible" @click="$refs.drawer.open()">
|
|
||||||
<i>menu</i>
|
|
||||||
</button>
|
|
||||||
-->
|
|
||||||
<q-toolbar-title>
|
|
||||||
Title
|
|
||||||
</q-toolbar-title>
|
|
||||||
</q-toolbar>
|
|
||||||
|
|
||||||
<!-- Navigation Tabs
|
|
||||||
<q-tabs slot="navigation">
|
|
||||||
<q-route-tab slot="title" icon="view_quilt" to="/layout/about" replace hide="icon" label="About" />
|
|
||||||
<q-route-tab slot="title" icon="view_day" to="/layout/toolbar" replace hide="icon" label="Toolbar" />
|
|
||||||
<q-route-tab slot="title" icon="view_day" to="/layout/tabs" replace label="Tabs" />
|
|
||||||
<q-route-tab slot="title" icon="input" to="/layout/drawer" replace label="Drawer" />
|
|
||||||
</q-tabs>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Left Side Panel
|
|
||||||
<div slot="left">
|
|
||||||
<q-list no-border link inset-delimiter>
|
|
||||||
<q-list-header>Essential Links</q-list-header>
|
|
||||||
<q-item>
|
|
||||||
<q-item-side icon="school" />
|
|
||||||
<q-item-main label="Docs" sublabel="quasar-framework.org" />
|
|
||||||
</q-item>
|
|
||||||
<q-item>
|
|
||||||
<q-item-side icon="record_voice_over" />
|
|
||||||
<q-item-main label="Forum" sublabel="forum.quasar-framework.org" />
|
|
||||||
</q-item>
|
|
||||||
<q-item>
|
|
||||||
<q-item-side icon="chat" />
|
|
||||||
<q-item-main label="Gitter Channel" sublabel="Quasar Lobby" />
|
|
||||||
</q-item>
|
|
||||||
<q-item>
|
|
||||||
<q-item-side icon="rss feed" />
|
|
||||||
<q-item-main label="Twitter" sublabel="@quasarframework" />
|
|
||||||
</q-item>
|
|
||||||
</q-list>
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Right Side Panel
|
|
||||||
<div slot="right">
|
|
||||||
...
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<router-view />
|
|
||||||
|
|
||||||
<!-- Footer
|
|
||||||
<q-toolbar slot="footer">
|
|
||||||
...
|
|
||||||
</q-toolbar>
|
|
||||||
-->
|
|
||||||
</q-layout>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data () {
|
|
||||||
return {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
</style>
|
|
@ -1,17 +0,0 @@
|
|||||||
<template>
|
|
||||||
<!-- if you want automatic padding use "layout-padding" class -->
|
|
||||||
<div class="layout-padding">
|
|
||||||
<!-- your content -->
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data () {
|
|
||||||
return {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
</style>
|
|
Loading…
Reference in new issue