mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-15 15:39:37 +00:00
Sorting, fix user object bug, add settings module
This commit is contained in:
parent
9a74825bad
commit
6e8fe32bf5
18 changed files with 164 additions and 17 deletions
|
|
@ -3,6 +3,7 @@ import { wrapFunctional } from './utils'
|
|||
export { default as AudioPlayer } from '../..\\components\\AudioPlayer.vue'
|
||||
export { default as AppAppbar } from '../..\\components\\app\\Appbar.vue'
|
||||
export { default as AppBookShelf } from '../..\\components\\app\\BookShelf.vue'
|
||||
export { default as AppBookShelfToolbar } from '../..\\components\\app\\BookShelfToolbar.vue'
|
||||
export { default as AppStreamContainer } from '../..\\components\\app\\StreamContainer.vue'
|
||||
export { default as AppTracksTable } from '../..\\components\\app\\TracksTable.vue'
|
||||
export { default as CardsBookCard } from '../..\\components\\cards\\BookCard.vue'
|
||||
|
|
@ -27,6 +28,7 @@ export { default as ModalsEditTabsTracks } from '../..\\components\\modals\\edit
|
|||
export const LazyAudioPlayer = import('../..\\components\\AudioPlayer.vue' /* webpackChunkName: "components/audio-player" */).then(c => wrapFunctional(c.default || c))
|
||||
export const LazyAppAppbar = import('../..\\components\\app\\Appbar.vue' /* webpackChunkName: "components/app-appbar" */).then(c => wrapFunctional(c.default || c))
|
||||
export const LazyAppBookShelf = import('../..\\components\\app\\BookShelf.vue' /* webpackChunkName: "components/app-book-shelf" */).then(c => wrapFunctional(c.default || c))
|
||||
export const LazyAppBookShelfToolbar = import('../..\\components\\app\\BookShelfToolbar.vue' /* webpackChunkName: "components/app-book-shelf-toolbar" */).then(c => wrapFunctional(c.default || c))
|
||||
export const LazyAppStreamContainer = import('../..\\components\\app\\StreamContainer.vue' /* webpackChunkName: "components/app-stream-container" */).then(c => wrapFunctional(c.default || c))
|
||||
export const LazyAppTracksTable = import('../..\\components\\app\\TracksTable.vue' /* webpackChunkName: "components/app-tracks-table" */).then(c => wrapFunctional(c.default || c))
|
||||
export const LazyCardsBookCard = import('../..\\components\\cards\\BookCard.vue' /* webpackChunkName: "components/cards-book-card" */).then(c => wrapFunctional(c.default || c))
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ const components = {
|
|||
AudioPlayer: () => import('../..\\components\\AudioPlayer.vue' /* webpackChunkName: "components/audio-player" */).then(c => wrapFunctional(c.default || c)),
|
||||
AppAppbar: () => import('../..\\components\\app\\Appbar.vue' /* webpackChunkName: "components/app-appbar" */).then(c => wrapFunctional(c.default || c)),
|
||||
AppBookShelf: () => import('../..\\components\\app\\BookShelf.vue' /* webpackChunkName: "components/app-book-shelf" */).then(c => wrapFunctional(c.default || c)),
|
||||
AppBookShelfToolbar: () => import('../..\\components\\app\\BookShelfToolbar.vue' /* webpackChunkName: "components/app-book-shelf-toolbar" */).then(c => wrapFunctional(c.default || c)),
|
||||
AppStreamContainer: () => import('../..\\components\\app\\StreamContainer.vue' /* webpackChunkName: "components/app-stream-container" */).then(c => wrapFunctional(c.default || c)),
|
||||
AppTracksTable: () => import('../..\\components\\app\\TracksTable.vue' /* webpackChunkName: "components/app-tracks-table" */).then(c => wrapFunctional(c.default || c)),
|
||||
CardsBookCard: () => import('../..\\components\\cards\\BookCard.vue' /* webpackChunkName: "components/cards-book-card" */).then(c => wrapFunctional(c.default || c)),
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ You can directly use them in pages and other components without the need to impo
|
|||
- `<AudioPlayer>` | `<audio-player>` (components/AudioPlayer.vue)
|
||||
- `<AppAppbar>` | `<app-appbar>` (components/app/Appbar.vue)
|
||||
- `<AppBookShelf>` | `<app-book-shelf>` (components/app/BookShelf.vue)
|
||||
- `<AppBookShelfToolbar>` | `<app-book-shelf-toolbar>` (components/app/BookShelfToolbar.vue)
|
||||
- `<AppStreamContainer>` | `<app-stream-container>` (components/app/StreamContainer.vue)
|
||||
- `<AppTracksTable>` | `<app-tracks-table>` (components/app/TracksTable.vue)
|
||||
- `<CardsBookCard>` | `<cards-book-card>` (components/cards/BookCard.vue)
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ let store = {};
|
|||
store.modules = store.modules || {}
|
||||
|
||||
resolveStoreModules(require('..\\store\\audiobooks.js'), 'audiobooks.js')
|
||||
resolveStoreModules(require('..\\store\\settings.js'), 'settings.js')
|
||||
|
||||
// If the environment supports hot reloading...
|
||||
|
||||
|
|
@ -28,6 +29,7 @@ let store = {};
|
|||
module.hot.accept([
|
||||
'..\\store\\audiobooks.js',
|
||||
'..\\store\\index.js',
|
||||
'..\\store\\settings.js',
|
||||
], () => {
|
||||
// Update `root.modules` with the latest definitions.
|
||||
updateModules()
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
"AppBookShelf": {
|
||||
"description": "Auto imported from components/app/BookShelf.vue"
|
||||
},
|
||||
"AppBookShelfToolbar": {
|
||||
"description": "Auto imported from components/app/BookShelfToolbar.vue"
|
||||
},
|
||||
"AppStreamContainer": {
|
||||
"description": "Auto imported from components/app/StreamContainer.vue"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue