2020-02-16 19:30:00 +01:00
|
|
|
import Vue from 'vue'
|
|
|
|
import FtCard from '../../components/ft-card/ft-card.vue'
|
|
|
|
import FtElementList from '../../components/ft-element-list/ft-element-list.vue'
|
2020-02-21 21:40:46 +01:00
|
|
|
import GeneralSettings from '../../components/general-settings/general-settings.vue'
|
2020-03-01 04:37:02 +01:00
|
|
|
import ThemeSettings from '../../components/theme-settings/theme-settings.vue'
|
2020-02-21 21:40:46 +01:00
|
|
|
import PlayerSettings from '../../components/player-settings/player-settings.vue'
|
2021-06-13 17:31:43 +02:00
|
|
|
import ExternalPlayerSettings from '../../components/external-player-settings/external-player-settings.vue'
|
2020-02-27 04:10:56 +01:00
|
|
|
import SubscriptionSettings from '../../components/subscription-settings/subscription-settings.vue'
|
2022-01-30 18:49:16 +01:00
|
|
|
import DownloadSettings from '../../components/download-settings/download-settings.vue'
|
2020-09-07 00:12:25 +02:00
|
|
|
import PrivacySettings from '../../components/privacy-settings/privacy-settings.vue'
|
|
|
|
import DataSettings from '../../components/data-settings/data-settings.vue'
|
2020-10-06 04:27:32 +02:00
|
|
|
import DistractionSettings from '../../components/distraction-settings/distraction-settings.vue'
|
2021-01-14 19:51:33 +01:00
|
|
|
import ProxySettings from '../../components/proxy-settings/proxy-settings.vue'
|
2021-05-16 22:01:24 +02:00
|
|
|
import SponsorBlockSettings from '../../components/sponsor-block-settings/sponsor-block-settings.vue'
|
2022-06-21 08:14:15 +02:00
|
|
|
import ParentControlSettings from '../../components/parental-control-settings/parental-control-settings.vue'
|
2022-10-25 04:33:08 +02:00
|
|
|
import ExperimentalSettings from '../../components/experimental-settings/experimental-settings.vue'
|
2020-02-16 19:30:00 +01:00
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
name: 'Settings',
|
|
|
|
components: {
|
|
|
|
'ft-card': FtCard,
|
2020-02-21 21:40:46 +01:00
|
|
|
'ft-element-list': FtElementList,
|
|
|
|
'general-settings': GeneralSettings,
|
2020-03-01 04:37:02 +01:00
|
|
|
'theme-settings': ThemeSettings,
|
2020-02-27 04:10:56 +01:00
|
|
|
'player-settings': PlayerSettings,
|
2021-06-13 17:31:43 +02:00
|
|
|
'external-player-settings': ExternalPlayerSettings,
|
2020-09-07 00:12:25 +02:00
|
|
|
'subscription-settings': SubscriptionSettings,
|
2020-08-22 22:51:04 +02:00
|
|
|
'privacy-settings': PrivacySettings,
|
2020-10-06 04:27:32 +02:00
|
|
|
'data-settings': DataSettings,
|
2021-01-14 19:51:33 +01:00
|
|
|
'distraction-settings': DistractionSettings,
|
2021-05-16 22:01:24 +02:00
|
|
|
'proxy-settings': ProxySettings,
|
2022-01-30 18:49:16 +01:00
|
|
|
'sponsor-block-settings': SponsorBlockSettings,
|
2022-06-21 08:14:15 +02:00
|
|
|
'download-settings': DownloadSettings,
|
2022-10-25 04:33:08 +02:00
|
|
|
'parental-control-settings': ParentControlSettings,
|
|
|
|
'experimental-settings': ExperimentalSettings
|
2021-06-13 17:31:43 +02:00
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
usingElectron: function () {
|
2022-09-15 10:59:09 +02:00
|
|
|
return process.env.IS_ELECTRON
|
2021-06-13 17:31:43 +02:00
|
|
|
}
|
2020-02-16 19:30:00 +01:00
|
|
|
}
|
|
|
|
})
|