biome check --write
This commit is contained in:
parent
9262e803ec
commit
b05a501236
225 changed files with 1177 additions and 1266 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import semver from 'semver'
|
|
||||||
import chalk from 'chalk'
|
import chalk from 'chalk'
|
||||||
|
import semver from 'semver'
|
||||||
|
|
||||||
import packageConfig from '../package.json' with { type: 'json' }
|
import packageConfig from '../package.json' with { type: 'json' }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import serveStatic from 'serve-static'
|
|
||||||
import { resolve } from 'node:path'
|
|
||||||
import { cp } from 'node:fs/promises'
|
import { cp } from 'node:fs/promises'
|
||||||
|
import { resolve } from 'node:path'
|
||||||
|
import serveStatic from 'serve-static'
|
||||||
|
|
||||||
const getPrefix = (s) => {
|
const getPrefix = (s) => {
|
||||||
const padEnd = s.endsWith('/') ? s : s + '/'
|
const padEnd = s.endsWith('/') ? s : s + '/'
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { resolve } from 'node:path'
|
|
||||||
import { access } from 'node:fs/promises'
|
import { access } from 'node:fs/promises'
|
||||||
import { languages, langCodeToCldrName } from '../src/i18n/languages.js'
|
import { resolve } from 'node:path'
|
||||||
|
import { langCodeToCldrName, languages } from '../src/i18n/languages.js'
|
||||||
|
|
||||||
const annotationsImportPrefix = '@kazvmoe-infra/unicode-emoji-json/annotations/'
|
const annotationsImportPrefix = '@kazvmoe-infra/unicode-emoji-json/annotations/'
|
||||||
const specialAnnotationsLocale = {
|
const specialAnnotationsLocale = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { resolve } from 'node:path'
|
|
||||||
import { readFile } from 'node:fs/promises'
|
import { readFile } from 'node:fs/promises'
|
||||||
|
import { resolve } from 'node:path'
|
||||||
|
|
||||||
const target = 'node_modules/msw/lib/mockServiceWorker.js'
|
const target = 'node_modules/msw/lib/mockServiceWorker.js'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { languages, langCodeToJsonName } from '../src/i18n/languages.js'
|
|
||||||
import { readFile } from 'node:fs/promises'
|
import { readFile } from 'node:fs/promises'
|
||||||
import { dirname, resolve } from 'node:path'
|
import { dirname, resolve } from 'node:path'
|
||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
|
import { langCodeToJsonName, languages } from '../src/i18n/languages.js'
|
||||||
|
|
||||||
const i18nDir = resolve(
|
const i18nDir = resolve(
|
||||||
dirname(dirname(fileURLToPath(import.meta.url))),
|
dirname(dirname(fileURLToPath(import.meta.url))),
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import { fileURLToPath } from 'node:url'
|
|
||||||
import { dirname, resolve } from 'node:path'
|
|
||||||
import { readFile } from 'node:fs/promises'
|
import { readFile } from 'node:fs/promises'
|
||||||
import { build } from 'vite'
|
import { dirname, resolve } from 'node:path'
|
||||||
|
import { fileURLToPath } from 'node:url'
|
||||||
import * as esbuild from 'esbuild'
|
import * as esbuild from 'esbuild'
|
||||||
|
import { build } from 'vite'
|
||||||
import {
|
import {
|
||||||
generateServiceWorkerMessages,
|
generateServiceWorkerMessages,
|
||||||
i18nFiles,
|
i18nFiles,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import vue from 'eslint-plugin-vue'
|
|
||||||
import js from '@eslint/js'
|
import js from '@eslint/js'
|
||||||
|
import vue from 'eslint-plugin-vue'
|
||||||
import globals from 'globals'
|
import globals from 'globals'
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
|
|
|
||||||
45
src/App.js
45
src/App.js
|
|
@ -1,27 +1,26 @@
|
||||||
import UserPanel from './components/user_panel/user_panel.vue'
|
|
||||||
import NavPanel from './components/nav_panel/nav_panel.vue'
|
|
||||||
import InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue'
|
|
||||||
import FeaturesPanel from './components/features_panel/features_panel.vue'
|
|
||||||
import WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue'
|
|
||||||
import ShoutPanel from './components/shout_panel/shout_panel.vue'
|
|
||||||
import MediaModal from './components/media_modal/media_modal.vue'
|
|
||||||
import SideDrawer from './components/side_drawer/side_drawer.vue'
|
|
||||||
import MobilePostStatusButton from './components/mobile_post_status_button/mobile_post_status_button.vue'
|
|
||||||
import MobileNav from './components/mobile_nav/mobile_nav.vue'
|
|
||||||
import DesktopNav from './components/desktop_nav/desktop_nav.vue'
|
|
||||||
import UserReportingModal from './components/user_reporting_modal/user_reporting_modal.vue'
|
|
||||||
import EditStatusModal from './components/edit_status_modal/edit_status_modal.vue'
|
|
||||||
import PostStatusModal from './components/post_status_modal/post_status_modal.vue'
|
|
||||||
import StatusHistoryModal from './components/status_history_modal/status_history_modal.vue'
|
|
||||||
import GlobalNoticeList from './components/global_notice_list/global_notice_list.vue'
|
|
||||||
import { getOrCreateServiceWorker } from './services/sw/sw'
|
|
||||||
import { windowWidth, windowHeight } from './services/window_utils/window_utils'
|
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
import { defineAsyncComponent } from 'vue'
|
|
||||||
import { useShoutStore } from './stores/shout'
|
|
||||||
import { useInterfaceStore } from './stores/interface'
|
|
||||||
|
|
||||||
import { throttle } from 'lodash'
|
import { throttle } from 'lodash'
|
||||||
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
import DesktopNav from './components/desktop_nav/desktop_nav.vue'
|
||||||
|
import EditStatusModal from './components/edit_status_modal/edit_status_modal.vue'
|
||||||
|
import FeaturesPanel from './components/features_panel/features_panel.vue'
|
||||||
|
import GlobalNoticeList from './components/global_notice_list/global_notice_list.vue'
|
||||||
|
import InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue'
|
||||||
|
import MediaModal from './components/media_modal/media_modal.vue'
|
||||||
|
import MobileNav from './components/mobile_nav/mobile_nav.vue'
|
||||||
|
import MobilePostStatusButton from './components/mobile_post_status_button/mobile_post_status_button.vue'
|
||||||
|
import NavPanel from './components/nav_panel/nav_panel.vue'
|
||||||
|
import PostStatusModal from './components/post_status_modal/post_status_modal.vue'
|
||||||
|
import ShoutPanel from './components/shout_panel/shout_panel.vue'
|
||||||
|
import SideDrawer from './components/side_drawer/side_drawer.vue'
|
||||||
|
import StatusHistoryModal from './components/status_history_modal/status_history_modal.vue'
|
||||||
|
import UserPanel from './components/user_panel/user_panel.vue'
|
||||||
|
import UserReportingModal from './components/user_reporting_modal/user_reporting_modal.vue'
|
||||||
|
import WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue'
|
||||||
|
import { getOrCreateServiceWorker } from './services/sw/sw'
|
||||||
|
import { windowHeight, windowWidth } from './services/window_utils/window_utils'
|
||||||
|
import { useInterfaceStore } from './stores/interface'
|
||||||
|
import { useShoutStore } from './stores/shout'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'app',
|
name: 'app',
|
||||||
|
|
|
||||||
|
|
@ -1,39 +1,39 @@
|
||||||
/* global process */
|
/* global process */
|
||||||
|
|
||||||
|
import vClickOutside from 'click-outside-vue3'
|
||||||
import { createApp } from 'vue'
|
import { createApp } from 'vue'
|
||||||
import { createRouter, createWebHistory } from 'vue-router'
|
import { createRouter, createWebHistory } from 'vue-router'
|
||||||
import vClickOutside from 'click-outside-vue3'
|
|
||||||
import VueVirtualScroller from 'vue-virtual-scroller'
|
import VueVirtualScroller from 'vue-virtual-scroller'
|
||||||
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'
|
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'
|
||||||
|
|
||||||
|
import { config } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
FontAwesomeIcon,
|
FontAwesomeIcon,
|
||||||
FontAwesomeLayers,
|
FontAwesomeLayers,
|
||||||
} from '@fortawesome/vue-fontawesome'
|
} from '@fortawesome/vue-fontawesome'
|
||||||
import { config } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
config.autoAddCss = false
|
config.autoAddCss = false
|
||||||
|
|
||||||
import App from '../App.vue'
|
|
||||||
import routes from './routes'
|
|
||||||
import VBodyScrollLock from 'src/directives/body_scroll_lock'
|
import VBodyScrollLock from 'src/directives/body_scroll_lock'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
windowWidth,
|
instanceDefaultConfig,
|
||||||
windowHeight,
|
staticOrApiConfigDefault,
|
||||||
} from '../services/window_utils/window_utils'
|
} from 'src/modules/default_config_state.js'
|
||||||
import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'
|
|
||||||
import { applyConfig } from '../services/style_setter/style_setter.js'
|
|
||||||
import FaviconService from '../services/favicon_service/favicon_service.js'
|
|
||||||
import { initServiceWorker, updateFocus } from '../services/sw/sw.js'
|
|
||||||
|
|
||||||
import { useOAuthStore } from 'src/stores/oauth'
|
|
||||||
import { useI18nStore } from 'src/stores/i18n'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow'
|
import { useAuthFlowStore } from 'src/stores/auth_flow'
|
||||||
|
import { useI18nStore } from 'src/stores/i18n'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { useOAuthStore } from 'src/stores/oauth'
|
||||||
|
import App from '../App.vue'
|
||||||
|
import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'
|
||||||
|
import FaviconService from '../services/favicon_service/favicon_service.js'
|
||||||
|
import { applyConfig } from '../services/style_setter/style_setter.js'
|
||||||
|
import { initServiceWorker, updateFocus } from '../services/sw/sw.js'
|
||||||
import {
|
import {
|
||||||
staticOrApiConfigDefault,
|
windowHeight,
|
||||||
instanceDefaultConfig,
|
windowWidth,
|
||||||
} from 'src/modules/default_config_state.js'
|
} from '../services/window_utils/window_utils'
|
||||||
|
import routes from './routes'
|
||||||
|
|
||||||
let staticInitialResults = null
|
let staticInitialResults = null
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,35 +1,35 @@
|
||||||
import PublicTimeline from 'components/public_timeline/public_timeline.vue'
|
|
||||||
import BubbleTimeline from 'components/bubble_timeline/bubble_timeline.vue'
|
|
||||||
import PublicAndExternalTimeline from 'components/public_and_external_timeline/public_and_external_timeline.vue'
|
|
||||||
import FriendsTimeline from 'components/friends_timeline/friends_timeline.vue'
|
|
||||||
import TagTimeline from 'components/tag_timeline/tag_timeline.vue'
|
|
||||||
import BookmarkTimeline from 'components/bookmark_timeline/bookmark_timeline.vue'
|
|
||||||
import ConversationPage from 'components/conversation-page/conversation-page.vue'
|
|
||||||
import Interactions from 'components/interactions/interactions.vue'
|
|
||||||
import DMs from 'components/dm_timeline/dm_timeline.vue'
|
|
||||||
import ChatList from 'components/chat_list/chat_list.vue'
|
|
||||||
import Chat from 'components/chat/chat.vue'
|
|
||||||
import UserProfile from 'components/user_profile/user_profile.vue'
|
|
||||||
import Search from 'components/search/search.vue'
|
|
||||||
import Registration from 'components/registration/registration.vue'
|
|
||||||
import PasswordReset from 'components/password_reset/password_reset.vue'
|
|
||||||
import FollowRequests from 'components/follow_requests/follow_requests.vue'
|
|
||||||
import OAuthCallback from 'components/oauth_callback/oauth_callback.vue'
|
|
||||||
import Notifications from 'components/notifications/notifications.vue'
|
|
||||||
import AuthForm from 'components/auth_form/auth_form.js'
|
|
||||||
import ShoutPanel from 'components/shout_panel/shout_panel.vue'
|
|
||||||
import WhoToFollow from 'components/who_to_follow/who_to_follow.vue'
|
|
||||||
import About from 'components/about/about.vue'
|
import About from 'components/about/about.vue'
|
||||||
import RemoteUserResolver from 'components/remote_user_resolver/remote_user_resolver.vue'
|
|
||||||
import Lists from 'components/lists/lists.vue'
|
|
||||||
import ListsTimeline from 'components/lists_timeline/lists_timeline.vue'
|
|
||||||
import ListsEdit from 'components/lists_edit/lists_edit.vue'
|
|
||||||
import NavPanel from 'src/components/nav_panel/nav_panel.vue'
|
|
||||||
import AnnouncementsPage from 'components/announcements_page/announcements_page.vue'
|
import AnnouncementsPage from 'components/announcements_page/announcements_page.vue'
|
||||||
import QuotesTimeline from '../components/quotes_timeline/quotes_timeline.vue'
|
import AuthForm from 'components/auth_form/auth_form.js'
|
||||||
|
import BookmarkTimeline from 'components/bookmark_timeline/bookmark_timeline.vue'
|
||||||
|
import BubbleTimeline from 'components/bubble_timeline/bubble_timeline.vue'
|
||||||
|
import Chat from 'components/chat/chat.vue'
|
||||||
|
import ChatList from 'components/chat_list/chat_list.vue'
|
||||||
|
import ConversationPage from 'components/conversation-page/conversation-page.vue'
|
||||||
|
import DMs from 'components/dm_timeline/dm_timeline.vue'
|
||||||
import Drafts from 'components/drafts/drafts.vue'
|
import Drafts from 'components/drafts/drafts.vue'
|
||||||
import BookmarkFolders from '../components/bookmark_folders/bookmark_folders.vue'
|
import FollowRequests from 'components/follow_requests/follow_requests.vue'
|
||||||
|
import FriendsTimeline from 'components/friends_timeline/friends_timeline.vue'
|
||||||
|
import Interactions from 'components/interactions/interactions.vue'
|
||||||
|
import Lists from 'components/lists/lists.vue'
|
||||||
|
import ListsEdit from 'components/lists_edit/lists_edit.vue'
|
||||||
|
import ListsTimeline from 'components/lists_timeline/lists_timeline.vue'
|
||||||
|
import Notifications from 'components/notifications/notifications.vue'
|
||||||
|
import OAuthCallback from 'components/oauth_callback/oauth_callback.vue'
|
||||||
|
import PasswordReset from 'components/password_reset/password_reset.vue'
|
||||||
|
import PublicAndExternalTimeline from 'components/public_and_external_timeline/public_and_external_timeline.vue'
|
||||||
|
import PublicTimeline from 'components/public_timeline/public_timeline.vue'
|
||||||
|
import Registration from 'components/registration/registration.vue'
|
||||||
|
import RemoteUserResolver from 'components/remote_user_resolver/remote_user_resolver.vue'
|
||||||
|
import Search from 'components/search/search.vue'
|
||||||
|
import ShoutPanel from 'components/shout_panel/shout_panel.vue'
|
||||||
|
import TagTimeline from 'components/tag_timeline/tag_timeline.vue'
|
||||||
|
import UserProfile from 'components/user_profile/user_profile.vue'
|
||||||
|
import WhoToFollow from 'components/who_to_follow/who_to_follow.vue'
|
||||||
|
import NavPanel from 'src/components/nav_panel/nav_panel.vue'
|
||||||
import BookmarkFolderEdit from '../components/bookmark_folder_edit/bookmark_folder_edit.vue'
|
import BookmarkFolderEdit from '../components/bookmark_folder_edit/bookmark_folder_edit.vue'
|
||||||
|
import BookmarkFolders from '../components/bookmark_folders/bookmark_folders.vue'
|
||||||
|
import QuotesTimeline from '../components/quotes_timeline/quotes_timeline.vue'
|
||||||
|
|
||||||
export default (store) => {
|
export default (store) => {
|
||||||
const validateAuthenticatedRoute = (to, from, next) => {
|
const validateAuthenticatedRoute = (to, from, next) => {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import InstanceSpecificPanel from '../instance_specific_panel/instance_specific_panel.vue'
|
|
||||||
import FeaturesPanel from '../features_panel/features_panel.vue'
|
import FeaturesPanel from '../features_panel/features_panel.vue'
|
||||||
import TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'
|
import InstanceSpecificPanel from '../instance_specific_panel/instance_specific_panel.vue'
|
||||||
import StaffPanel from '../staff_panel/staff_panel.vue'
|
|
||||||
import MRFTransparencyPanel from '../mrf_transparency_panel/mrf_transparency_panel.vue'
|
import MRFTransparencyPanel from '../mrf_transparency_panel/mrf_transparency_panel.vue'
|
||||||
|
import StaffPanel from '../staff_panel/staff_panel.vue'
|
||||||
|
import TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'
|
||||||
|
|
||||||
const About = {
|
const About = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import ProgressButton from '../progress_button/progress_button.vue'
|
|
||||||
import Popover from '../popover/popover.vue'
|
|
||||||
import UserListMenu from 'src/components/user_list_menu/user_list_menu.vue'
|
|
||||||
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
|
||||||
import UserTimedFilterModal from 'src/components/user_timed_filter_modal/user_timed_filter_modal.vue'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faEllipsisV } from '@fortawesome/free-solid-svg-icons'
|
import { faEllipsisV } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import UserListMenu from 'src/components/user_list_menu/user_list_menu.vue'
|
||||||
|
import UserTimedFilterModal from 'src/components/user_timed_filter_modal/user_timed_filter_modal.vue'
|
||||||
import { useReportsStore } from 'src/stores/reports'
|
import { useReportsStore } from 'src/stores/reports'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
||||||
|
import Popover from '../popover/popover.vue'
|
||||||
|
import ProgressButton from '../progress_button/progress_button.vue'
|
||||||
|
|
||||||
library.add(faEllipsisV)
|
library.add(faEllipsisV)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
import localeService from '../../services/locale/locale.service.js'
|
||||||
import AnnouncementEditor from '../announcement_editor/announcement_editor.vue'
|
import AnnouncementEditor from '../announcement_editor/announcement_editor.vue'
|
||||||
import RichContent from '../rich_content/rich_content.jsx'
|
import RichContent from '../rich_content/rich_content.jsx'
|
||||||
import localeService from '../../services/locale/locale.service.js'
|
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
|
|
||||||
const Announcement = {
|
const Announcement = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
import Announcement from '../announcement/announcement.vue'
|
import Announcement from '../announcement/announcement.vue'
|
||||||
import AnnouncementEditor from '../announcement_editor/announcement_editor.vue'
|
import AnnouncementEditor from '../announcement_editor/announcement_editor.vue'
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
|
|
||||||
const AnnouncementsPage = {
|
const AnnouncementsPage = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,24 @@
|
||||||
import StillImage from '../still-image/still-image.vue'
|
|
||||||
import Flash from '../flash/flash.vue'
|
|
||||||
import VideoAttachment from '../video_attachment/video_attachment.vue'
|
|
||||||
import nsfwImage from '../../assets/nsfw.png'
|
|
||||||
import fileTypeService from '../../services/file_type/file_type.service.js'
|
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faFile,
|
|
||||||
faMusic,
|
|
||||||
faImage,
|
|
||||||
faVideo,
|
|
||||||
faPlayCircle,
|
|
||||||
faTimes,
|
|
||||||
faStop,
|
|
||||||
faSearchPlus,
|
|
||||||
faTrashAlt,
|
|
||||||
faPencilAlt,
|
|
||||||
faAlignRight,
|
faAlignRight,
|
||||||
|
faFile,
|
||||||
|
faImage,
|
||||||
|
faMusic,
|
||||||
|
faPencilAlt,
|
||||||
|
faPlayCircle,
|
||||||
|
faSearchPlus,
|
||||||
|
faStop,
|
||||||
|
faTimes,
|
||||||
|
faTrashAlt,
|
||||||
|
faVideo,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import { useMediaViewerStore } from 'src/stores/media_viewer'
|
import { useMediaViewerStore } from 'src/stores/media_viewer'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
import nsfwImage from '../../assets/nsfw.png'
|
||||||
|
import fileTypeService from '../../services/file_type/file_type.service.js'
|
||||||
|
import Flash from '../flash/flash.vue'
|
||||||
|
import StillImage from '../still-image/still-image.vue'
|
||||||
|
import VideoAttachment from '../video_attachment/video_attachment.vue'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faFile,
|
faFile,
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
|
import { mapState } from 'pinia'
|
||||||
|
import { useAuthFlowStore } from 'src/stores/auth_flow'
|
||||||
import { h, resolveComponent } from 'vue'
|
import { h, resolveComponent } from 'vue'
|
||||||
import LoginForm from '../login_form/login_form.vue'
|
import LoginForm from '../login_form/login_form.vue'
|
||||||
import MFARecoveryForm from '../mfa_form/recovery_form.vue'
|
import MFARecoveryForm from '../mfa_form/recovery_form.vue'
|
||||||
import MFATOTPForm from '../mfa_form/totp_form.vue'
|
import MFATOTPForm from '../mfa_form/totp_form.vue'
|
||||||
import { mapState } from 'pinia'
|
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow'
|
|
||||||
|
|
||||||
const AuthForm = {
|
const AuthForm = {
|
||||||
name: 'AuthForm',
|
name: 'AuthForm',
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
|
||||||
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
||||||
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
|
|
||||||
const AvatarList = {
|
const AvatarList = {
|
||||||
props: ['users'],
|
props: ['users'],
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import UserPopover from '../user_popover/user_popover.vue'
|
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
|
||||||
import UserLink from '../user_link/user_link.vue'
|
|
||||||
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||||
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
||||||
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
|
import UserLink from '../user_link/user_link.vue'
|
||||||
|
import UserPopover from '../user_popover/user_popover.vue'
|
||||||
|
|
||||||
const BasicUserCard = {
|
const BasicUserCard = {
|
||||||
props: ['user'],
|
props: ['user'],
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import EmojiPicker from '../emoji_picker/emoji_picker.vue'
|
|
||||||
import apiService from '../../services/api/api.service'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import apiService from '../../services/api/api.service'
|
||||||
|
import EmojiPicker from '../emoji_picker/emoji_picker.vue'
|
||||||
|
|
||||||
const BookmarkFolderEdit = {
|
const BookmarkFolderEdit = {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import BookmarkFolderCard from '../bookmark_folder_card/bookmark_folder_card.vue'
|
|
||||||
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
||||||
|
import BookmarkFolderCard from '../bookmark_folder_card/bookmark_folder_card.vue'
|
||||||
|
|
||||||
const BookmarkFolders = {
|
const BookmarkFolders = {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { mapState } from 'pinia'
|
import { mapState } from 'pinia'
|
||||||
import NavigationEntry from 'src/components/navigation/navigation_entry.vue'
|
|
||||||
import { getBookmarkFolderEntries } from 'src/components/navigation/filter.js'
|
import { getBookmarkFolderEntries } from 'src/components/navigation/filter.js'
|
||||||
|
import NavigationEntry from 'src/components/navigation/navigation_entry.vue'
|
||||||
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
||||||
|
|
||||||
export const BookmarkFoldersMenuContent = {
|
export const BookmarkFoldersMenuContent = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import Timeline from '../timeline/timeline.vue'
|
import Timeline from '../timeline/timeline.vue'
|
||||||
|
|
||||||
const BubbleTimeline = {
|
const BubbleTimeline = {
|
||||||
components: {
|
components: {
|
||||||
Timeline,
|
Timeline,
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,22 @@
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faChevronDown, faChevronLeft } from '@fortawesome/free-solid-svg-icons'
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import { WSConnectionStatus } from '../../services/api/api.service.js'
|
|
||||||
import { mapGetters, mapState } from 'vuex'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
import ChatMessage from '../chat_message/chat_message.vue'
|
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||||
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
import ChatTitle from '../chat_title/chat_title.vue'
|
import { WSConnectionStatus } from '../../services/api/api.service.js'
|
||||||
import chatService from '../../services/chat_service/chat_service.js'
|
import chatService from '../../services/chat_service/chat_service.js'
|
||||||
|
import { buildFakeMessage } from '../../services/chat_utils/chat_utils.js'
|
||||||
import { promiseInterval } from '../../services/promise_interval/promise_interval.js'
|
import { promiseInterval } from '../../services/promise_interval/promise_interval.js'
|
||||||
|
import ChatMessage from '../chat_message/chat_message.vue'
|
||||||
|
import ChatTitle from '../chat_title/chat_title.vue'
|
||||||
|
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
||||||
import {
|
import {
|
||||||
getScrollPosition,
|
|
||||||
getNewTopPosition,
|
getNewTopPosition,
|
||||||
|
getScrollPosition,
|
||||||
isBottomedOut,
|
isBottomedOut,
|
||||||
isScrollable,
|
isScrollable,
|
||||||
} from './chat_layout_utils.js'
|
} from './chat_layout_utils.js'
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faChevronDown, faChevronLeft } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { buildFakeMessage } from '../../services/chat_utils/chat_utils.js'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
|
||||||
|
|
||||||
library.add(faChevronDown, faChevronLeft)
|
library.add(faChevronDown, faChevronLeft)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { mapState, mapGetters } from 'vuex'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
import ChatListItem from '../chat_list_item/chat_list_item.vue'
|
import ChatListItem from '../chat_list_item/chat_list_item.vue'
|
||||||
import ChatNew from '../chat_new/chat_new.vue'
|
import ChatNew from '../chat_new/chat_new.vue'
|
||||||
import List from '../list/list.vue'
|
import List from '../list/list.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import StatusBody from '../status_content/status_content.vue'
|
|
||||||
import fileType from 'src/services/file_type/file_type.service'
|
import fileType from 'src/services/file_type/file_type.service'
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
import { mapState } from 'vuex'
|
||||||
import AvatarList from '../avatar_list/avatar_list.vue'
|
import AvatarList from '../avatar_list/avatar_list.vue'
|
||||||
import Timeago from '../timeago/timeago.vue'
|
|
||||||
import ChatTitle from '../chat_title/chat_title.vue'
|
import ChatTitle from '../chat_title/chat_title.vue'
|
||||||
|
import StatusBody from '../status_content/status_content.vue'
|
||||||
|
import Timeago from '../timeago/timeago.vue'
|
||||||
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
|
|
||||||
const ChatListItem = {
|
const ChatListItem = {
|
||||||
name: 'ChatListItem',
|
name: 'ChatListItem',
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
import { mapState, mapGetters } from 'vuex'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faEllipsisH, faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
import Popover from '../popover/popover.vue'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
import Attachment from '../attachment/attachment.vue'
|
import Attachment from '../attachment/attachment.vue'
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
import ChatMessageDate from '../chat_message_date/chat_message_date.vue'
|
||||||
import Gallery from '../gallery/gallery.vue'
|
import Gallery from '../gallery/gallery.vue'
|
||||||
import LinkPreview from '../link-preview/link-preview.vue'
|
import LinkPreview from '../link-preview/link-preview.vue'
|
||||||
|
import Popover from '../popover/popover.vue'
|
||||||
import StatusContent from '../status_content/status_content.vue'
|
import StatusContent from '../status_content/status_content.vue'
|
||||||
import ChatMessageDate from '../chat_message_date/chat_message_date.vue'
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
import { defineAsyncComponent } from 'vue'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faTimes, faEllipsisH } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
|
|
||||||
library.add(faTimes, faEllipsisH)
|
library.add(faTimes, faEllipsisH)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import { mapState, mapGetters } from 'vuex'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faSearch, faChevronLeft } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
|
|
||||||
library.add(faSearch, faChevronLeft)
|
library.add(faSearch, faChevronLeft)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
|
||||||
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ChatTitle',
|
name: 'ChatTitle',
|
||||||
|
|
|
||||||
|
|
@ -64,12 +64,11 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import Checkbox from '../checkbox/checkbox.vue'
|
|
||||||
import { hex2rgb } from '../../services/color_convert/color_convert.js'
|
|
||||||
import { throttle } from 'lodash'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faEyeDropper } from '@fortawesome/free-solid-svg-icons'
|
import { faEyeDropper } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { throttle } from 'lodash'
|
||||||
|
import { hex2rgb } from '../../services/color_convert/color_convert.js'
|
||||||
|
import Checkbox from '../checkbox/checkbox.vue'
|
||||||
|
|
||||||
library.add(faEyeDropper)
|
library.add(faEyeDropper)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ import ColorInput from 'src/components/color_input/color_input.vue'
|
||||||
|
|
||||||
import genRandomSeed from 'src/services/random_seed/random_seed.service.js'
|
import genRandomSeed from 'src/services/random_seed/random_seed.service.js'
|
||||||
import {
|
import {
|
||||||
createStyleSheet,
|
|
||||||
adoptStyleSheets,
|
adoptStyleSheets,
|
||||||
|
createStyleSheet,
|
||||||
} from 'src/services/style_setter/style_setter.js'
|
} from 'src/services/style_setter/style_setter.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
|
|
||||||
import ConfirmModal from './confirm_modal.vue'
|
|
||||||
import Select from 'src/components/select/select.vue'
|
import Select from 'src/components/select/select.vue'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
import ConfirmModal from './confirm_modal.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: ['type', 'user', 'status'],
|
props: ['type', 'user', 'status'],
|
||||||
|
|
|
||||||
|
|
@ -57,14 +57,13 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Tooltip from 'src/components/tooltip/tooltip.vue'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faAdjust,
|
faAdjust,
|
||||||
faExclamationTriangle,
|
faExclamationTriangle,
|
||||||
faThumbsUp,
|
faThumbsUp,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import Tooltip from 'src/components/tooltip/tooltip.vue'
|
||||||
|
|
||||||
library.add(faAdjust, faExclamationTriangle, faThumbsUp)
|
library.add(faAdjust, faExclamationTriangle, faThumbsUp)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,18 @@
|
||||||
import { reduce, filter, findIndex, clone, get } from 'lodash'
|
|
||||||
import Status from '../status/status.vue'
|
|
||||||
import ThreadTree from '../thread_tree/thread_tree.vue'
|
|
||||||
import { WSConnectionStatus } from '../../services/api/api.service.js'
|
|
||||||
import { mapGetters, mapState } from 'vuex'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
|
||||||
import QuickFilterSettings from '../quick_filter_settings/quick_filter_settings.vue'
|
|
||||||
import QuickViewSettings from '../quick_view_settings/quick_view_settings.vue'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faAngleDoubleDown,
|
faAngleDoubleDown,
|
||||||
faAngleDoubleLeft,
|
faAngleDoubleLeft,
|
||||||
faChevronLeft,
|
faChevronLeft,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { clone, filter, findIndex, get, reduce } from 'lodash'
|
||||||
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
import { WSConnectionStatus } from '../../services/api/api.service.js'
|
||||||
|
import QuickFilterSettings from '../quick_filter_settings/quick_filter_settings.vue'
|
||||||
|
import QuickViewSettings from '../quick_view_settings/quick_view_settings.vue'
|
||||||
|
import Status from '../status/status.vue'
|
||||||
|
import ThreadTree from '../thread_tree/thread_tree.vue'
|
||||||
|
|
||||||
library.add(faAngleDoubleDown, faAngleDoubleLeft, faChevronLeft)
|
library.add(faAngleDoubleDown, faAngleDoubleLeft, faChevronLeft)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,20 @@
|
||||||
import SearchBar from 'components/search_bar/search_bar.vue'
|
|
||||||
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
|
faBell,
|
||||||
|
faBullhorn,
|
||||||
|
faCog,
|
||||||
|
faComments,
|
||||||
|
faHome,
|
||||||
|
faInfoCircle,
|
||||||
|
faSearch,
|
||||||
faSignInAlt,
|
faSignInAlt,
|
||||||
faSignOutAlt,
|
faSignOutAlt,
|
||||||
faHome,
|
|
||||||
faComments,
|
|
||||||
faBell,
|
|
||||||
faUserPlus,
|
|
||||||
faBullhorn,
|
|
||||||
faSearch,
|
|
||||||
faTachometerAlt,
|
faTachometerAlt,
|
||||||
faCog,
|
faUserPlus,
|
||||||
faInfoCircle,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import SearchBar from 'components/search_bar/search_bar.vue'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faSignInAlt,
|
faSignInAlt,
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
|
||||||
import EditStatusForm from 'src/components/edit_status_form/edit_status_form.vue'
|
|
||||||
import ConfirmModal from 'src/components/confirm_modal/confirm_modal.vue'
|
|
||||||
import StatusContent from 'src/components/status_content/status_content.vue'
|
|
||||||
import Gallery from 'src/components/gallery/gallery.vue'
|
|
||||||
import { cloneDeep } from 'lodash'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faPollH } from '@fortawesome/free-solid-svg-icons'
|
import { faPollH } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { cloneDeep } from 'lodash'
|
||||||
|
import ConfirmModal from 'src/components/confirm_modal/confirm_modal.vue'
|
||||||
|
import EditStatusForm from 'src/components/edit_status_form/edit_status_form.vue'
|
||||||
|
import Gallery from 'src/components/gallery/gallery.vue'
|
||||||
|
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
||||||
|
import StatusContent from 'src/components/status_content/status_content.vue'
|
||||||
|
|
||||||
library.add(faPollH)
|
library.add(faPollH)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
|
||||||
import statusPosterService from '../../services/status_poster/status_poster.service.js'
|
import statusPosterService from '../../services/status_poster/status_poster.service.js'
|
||||||
|
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
||||||
|
|
||||||
const EditStatusForm = {
|
const EditStatusForm = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import EditStatusForm from '../edit_status_form/edit_status_form.vue'
|
|
||||||
import Modal from '../modal/modal.vue'
|
|
||||||
import get from 'lodash/get'
|
import get from 'lodash/get'
|
||||||
import { useEditStatusStore } from 'src/stores/editStatus'
|
import { useEditStatusStore } from 'src/stores/editStatus'
|
||||||
|
import EditStatusForm from '../edit_status_form/edit_status_form.vue'
|
||||||
|
import Modal from '../modal/modal.vue'
|
||||||
|
|
||||||
const EditStatusModal = {
|
const EditStatusModal = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
import Completion from '../../services/completion/completion.js'
|
|
||||||
import genRandomSeed from '../../services/random_seed/random_seed.service.js'
|
|
||||||
import EmojiPicker from '../emoji_picker/emoji_picker.vue'
|
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
import ScreenReaderNotice from 'src/components/screen_reader_notice/screen_reader_notice.vue'
|
|
||||||
import UnicodeDomainIndicator from '../unicode_domain_indicator/unicode_domain_indicator.vue'
|
|
||||||
import { take } from 'lodash'
|
|
||||||
import { findOffset } from '../../services/offset_finder/offset_finder.service.js'
|
|
||||||
import { ensureFinalFallback } from '../../i18n/languages.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faSmileBeam } from '@fortawesome/free-regular-svg-icons'
|
import { faSmileBeam } from '@fortawesome/free-regular-svg-icons'
|
||||||
|
import { take } from 'lodash'
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
import ScreenReaderNotice from 'src/components/screen_reader_notice/screen_reader_notice.vue'
|
||||||
|
import { ensureFinalFallback } from '../../i18n/languages.js'
|
||||||
|
import Completion from '../../services/completion/completion.js'
|
||||||
|
import { findOffset } from '../../services/offset_finder/offset_finder.service.js'
|
||||||
|
import genRandomSeed from '../../services/random_seed/random_seed.service.js'
|
||||||
|
import EmojiPicker from '../emoji_picker/emoji_picker.vue'
|
||||||
|
import UnicodeDomainIndicator from '../unicode_domain_indicator/unicode_domain_indicator.vue'
|
||||||
|
|
||||||
library.add(faSmileBeam)
|
library.add(faSmileBeam)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,24 @@
|
||||||
import { defineAsyncComponent } from 'vue'
|
|
||||||
import Checkbox from '../checkbox/checkbox.vue'
|
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
import StillImage from '../still-image/still-image.vue'
|
|
||||||
import { ensureFinalFallback } from '../../i18n/languages.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faBoxOpen,
|
|
||||||
faStickyNote,
|
|
||||||
faSmileBeam,
|
|
||||||
faSmile,
|
|
||||||
faUser,
|
|
||||||
faPaw,
|
|
||||||
faIceCream,
|
|
||||||
faBus,
|
|
||||||
faBasketballBall,
|
faBasketballBall,
|
||||||
faLightbulb,
|
faBoxOpen,
|
||||||
|
faBus,
|
||||||
faCode,
|
faCode,
|
||||||
faFlag,
|
faFlag,
|
||||||
|
faIceCream,
|
||||||
|
faLightbulb,
|
||||||
|
faPaw,
|
||||||
|
faSmile,
|
||||||
|
faSmileBeam,
|
||||||
|
faStickyNote,
|
||||||
|
faUser,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import { debounce, trim, chunk } from 'lodash'
|
import { chunk, debounce, trim } from 'lodash'
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
import { ensureFinalFallback } from '../../i18n/languages.js'
|
||||||
|
import Checkbox from '../checkbox/checkbox.vue'
|
||||||
|
import StillImage from '../still-image/still-image.vue'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faBoxOpen,
|
faBoxOpen,
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faCheck, faMinus, faPlus } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import StillImage from 'src/components/still-image/still-image.vue'
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
import UserListPopover from '../user_list_popover/user_list_popover.vue'
|
import UserListPopover from '../user_list_popover/user_list_popover.vue'
|
||||||
import StillImage from 'src/components/still-image/still-image.vue'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faPlus, faMinus, faCheck } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
|
|
||||||
library.add(faPlus, faMinus, faCheck)
|
library.add(faPlus, faMinus, faCheck)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,13 @@
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faUserPlus,
|
|
||||||
faComments,
|
|
||||||
faBullhorn,
|
faBullhorn,
|
||||||
|
faComments,
|
||||||
|
faUserPlus,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
library.add(faUserPlus, faComments, faBullhorn)
|
library.add(faUserPlus, faComments, faBullhorn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
import RuffleService from '../../services/ruffle_service/ruffle_service.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faStop,
|
|
||||||
faExclamationTriangle,
|
faExclamationTriangle,
|
||||||
|
faStop,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import RuffleService from '../../services/ruffle_service/ruffle_service.js'
|
||||||
|
|
||||||
library.add(faStop, faExclamationTriangle)
|
library.add(faStop, faExclamationTriangle)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
|
||||||
import {
|
import {
|
||||||
requestFollow,
|
requestFollow,
|
||||||
requestUnfollow,
|
requestUnfollow,
|
||||||
} from '../../services/follow_manipulate/follow_manipulate'
|
} from '../../services/follow_manipulate/follow_manipulate'
|
||||||
|
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
||||||
export default {
|
export default {
|
||||||
props: ['relationship', 'user', 'labelFollowing', 'buttonClass'],
|
props: ['relationship', 'user', 'labelFollowing', 'buttonClass'],
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
||||||
import RemoteFollow from '../remote_follow/remote_follow.vue'
|
|
||||||
import FollowButton from '../follow_button/follow_button.vue'
|
import FollowButton from '../follow_button/follow_button.vue'
|
||||||
|
import RemoteFollow from '../remote_follow/remote_follow.vue'
|
||||||
import RemoveFollowerButton from '../remove_follower_button/remove_follower_button.vue'
|
import RemoveFollowerButton from '../remove_follower_button/remove_follower_button.vue'
|
||||||
|
|
||||||
const FollowCard = {
|
const FollowCard = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
import { notificationsFromStore } from '../../services/notification_utils/notification_utils.js'
|
||||||
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
||||||
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
||||||
import { notificationsFromStore } from '../../services/notification_utils/notification_utils.js'
|
|
||||||
|
|
||||||
const FollowRequestCard = {
|
const FollowRequestCard = {
|
||||||
props: ['user'],
|
props: ['user'],
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,13 @@
|
||||||
import Select from '../select/select.vue'
|
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faExclamationTriangle,
|
faExclamationTriangle,
|
||||||
faKeyboard,
|
|
||||||
faFont,
|
faFont,
|
||||||
|
faKeyboard,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import Select from '../select/select.vue'
|
||||||
|
|
||||||
library.add(faExclamationTriangle, faKeyboard, faFont)
|
library.add(faExclamationTriangle, faKeyboard, faFont)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import Timeline from '../timeline/timeline.vue'
|
import Timeline from '../timeline/timeline.vue'
|
||||||
|
|
||||||
const FriendsTimeline = {
|
const FriendsTimeline = {
|
||||||
components: {
|
components: {
|
||||||
Timeline,
|
Timeline,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
import { set, sumBy } from 'lodash'
|
||||||
import { useMediaViewerStore } from 'src/stores/media_viewer'
|
import { useMediaViewerStore } from 'src/stores/media_viewer'
|
||||||
import Attachment from '../attachment/attachment.vue'
|
import Attachment from '../attachment/attachment.vue'
|
||||||
import { sumBy, set } from 'lodash'
|
|
||||||
|
|
||||||
const Gallery = {
|
const Gallery = {
|
||||||
props: [
|
props: [
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import Notifications from '../notifications/notifications.vue'
|
|
||||||
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
||||||
|
import Notifications from '../notifications/notifications.vue'
|
||||||
|
|
||||||
const tabModeDict = {
|
const tabModeDict = {
|
||||||
mentions: ['mention'],
|
mentions: ['mention'],
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import localeService from '../../services/locale/locale.service.js'
|
|
||||||
|
|
||||||
import Select from '../select/select.vue'
|
|
||||||
import ProfileSettingIndicator from 'src/components/settings_modal/helpers/profile_setting_indicator.vue'
|
import ProfileSettingIndicator from 'src/components/settings_modal/helpers/profile_setting_indicator.vue'
|
||||||
|
|
||||||
import { v4 as uuidv4 } from 'uuid'
|
import { v4 as uuidv4 } from 'uuid'
|
||||||
|
import localeService from '../../services/locale/locale.service.js'
|
||||||
|
import Select from '../select/select.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
import { mapState, mapGetters } from 'vuex'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
|
||||||
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
|
||||||
import ListsUserSearch from '../lists_user_search/lists_user_search.vue'
|
|
||||||
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
|
||||||
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faSearch, faChevronLeft } from '@fortawesome/free-solid-svg-icons'
|
import { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
||||||
|
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import { useListsStore } from 'src/stores/lists'
|
import { useListsStore } from 'src/stores/lists'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
||||||
|
import ListsUserSearch from '../lists_user_search/lists_user_search.vue'
|
||||||
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
|
|
||||||
library.add(faSearch, faChevronLeft)
|
library.add(faSearch, faChevronLeft)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
import NavigationEntry from 'src/components/navigation/navigation_entry.vue'
|
|
||||||
import { getListEntries } from 'src/components/navigation/filter.js'
|
import { getListEntries } from 'src/components/navigation/filter.js'
|
||||||
|
import NavigationEntry from 'src/components/navigation/navigation_entry.vue'
|
||||||
import { useListsStore } from 'src/stores/lists'
|
import { useListsStore } from 'src/stores/lists'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
export const ListsMenuContent = {
|
export const ListsMenuContent = {
|
||||||
props: ['showPin'],
|
props: ['showPin'],
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import { useListsStore } from 'src/stores/lists'
|
import { useListsStore } from 'src/stores/lists'
|
||||||
import Timeline from '../timeline/timeline.vue'
|
import Timeline from '../timeline/timeline.vue'
|
||||||
|
|
||||||
const ListsTimeline = {
|
const ListsTimeline = {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faSearch, faChevronLeft } from '@fortawesome/free-solid-svg-icons'
|
import { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
||||||
import { debounce } from 'lodash'
|
import { debounce } from 'lodash'
|
||||||
import Checkbox from '../checkbox/checkbox.vue'
|
import Checkbox from '../checkbox/checkbox.vue'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import { mapStores, mapActions, mapState as mapPiniaState } from 'pinia'
|
|
||||||
import oauthApi from '../../services/new_api/oauth.js'
|
|
||||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
||||||
|
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
||||||
|
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
import oauthApi from '../../services/new_api/oauth.js'
|
||||||
|
|
||||||
library.add(faTimes)
|
library.add(faTimes)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,3 @@
|
||||||
import StillImage from '../still-image/still-image.vue'
|
|
||||||
import VideoAttachment from '../video_attachment/video_attachment.vue'
|
|
||||||
import Modal from '../modal/modal.vue'
|
|
||||||
import PinchZoom from '../pinch_zoom/pinch_zoom.vue'
|
|
||||||
import SwipeClick from '../swipe_click/swipe_click.vue'
|
|
||||||
import GestureService from '../../services/gesture_service/gesture_service'
|
|
||||||
import Flash from 'src/components/flash/flash.vue'
|
|
||||||
import fileTypeService from '../../services/file_type/file_type.service.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faChevronLeft,
|
faChevronLeft,
|
||||||
|
|
@ -13,7 +5,15 @@ import {
|
||||||
faCircleNotch,
|
faCircleNotch,
|
||||||
faTimes,
|
faTimes,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import Flash from 'src/components/flash/flash.vue'
|
||||||
import { useMediaViewerStore } from 'src/stores/media_viewer'
|
import { useMediaViewerStore } from 'src/stores/media_viewer'
|
||||||
|
import fileTypeService from '../../services/file_type/file_type.service.js'
|
||||||
|
import GestureService from '../../services/gesture_service/gesture_service'
|
||||||
|
import Modal from '../modal/modal.vue'
|
||||||
|
import PinchZoom from '../pinch_zoom/pinch_zoom.vue'
|
||||||
|
import StillImage from '../still-image/still-image.vue'
|
||||||
|
import SwipeClick from '../swipe_click/swipe_click.vue'
|
||||||
|
import VideoAttachment from '../video_attachment/video_attachment.vue'
|
||||||
|
|
||||||
library.add(faChevronLeft, faChevronRight, faCircleNotch, faTimes)
|
library.add(faChevronLeft, faChevronRight, faCircleNotch, faTimes)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
/* eslint-env browser */
|
/* eslint-env browser */
|
||||||
import statusPosterService from '../../services/status_poster/status_poster.service.js'
|
|
||||||
import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faUpload, faCircleNotch } from '@fortawesome/free-solid-svg-icons'
|
import { faCircleNotch, faUpload } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
|
||||||
|
import statusPosterService from '../../services/status_poster/status_poster.service.js'
|
||||||
|
|
||||||
library.add(faUpload, faCircleNotch)
|
library.add(faUpload, faCircleNotch)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faAt } from '@fortawesome/free-solid-svg-icons'
|
||||||
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
||||||
|
import { defineAsyncComponent } from 'vue'
|
||||||
import { mapGetters, mapState } from 'vuex'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
import {
|
import {
|
||||||
highlightClass,
|
highlightClass,
|
||||||
highlightStyle,
|
highlightStyle,
|
||||||
} from '../../services/user_highlighter/user_highlighter.js'
|
} from '../../services/user_highlighter/user_highlighter.js'
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
|
||||||
import UnicodeDomainIndicator from '../unicode_domain_indicator/unicode_domain_indicator.vue'
|
import UnicodeDomainIndicator from '../unicode_domain_indicator/unicode_domain_indicator.vue'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faAt } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
|
|
||||||
library.add(faAt)
|
library.add(faAt)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import mfaApi from '../../services/new_api/mfa.js'
|
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import { mapStores, mapActions, mapState as mapPiniaState } from 'pinia'
|
|
||||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
||||||
|
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
||||||
|
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
import mfaApi from '../../services/new_api/mfa.js'
|
||||||
|
|
||||||
library.add(faTimes)
|
library.add(faTimes)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import mfaApi from '../../services/new_api/mfa.js'
|
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import { mapStores, mapActions, mapState as mapPiniaState } from 'pinia'
|
|
||||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
||||||
|
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
||||||
|
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
import mfaApi from '../../services/new_api/mfa.js'
|
||||||
|
|
||||||
library.add(faTimes)
|
library.add(faTimes)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,26 @@
|
||||||
import SideDrawer from '../side_drawer/side_drawer.vue'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import Notifications from '../notifications/notifications.vue'
|
|
||||||
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
|
||||||
import GestureService from '../../services/gesture_service/gesture_service'
|
|
||||||
import NavigationPins from 'src/components/navigation/navigation_pins.vue'
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
unseenNotificationsFromStore,
|
faArrowUp,
|
||||||
countExtraNotifications,
|
faBars,
|
||||||
} from '../../services/notification_utils/notification_utils'
|
faBell,
|
||||||
|
faCheckDouble,
|
||||||
import { mapGetters } from 'vuex'
|
faMinus,
|
||||||
|
faTimes,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import { mapState } from 'pinia'
|
import { mapState } from 'pinia'
|
||||||
|
import NavigationPins from 'src/components/navigation/navigation_pins.vue'
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { mapGetters } from 'vuex'
|
||||||
|
import GestureService from '../../services/gesture_service/gesture_service'
|
||||||
import {
|
import {
|
||||||
faTimes,
|
countExtraNotifications,
|
||||||
faBell,
|
unseenNotificationsFromStore,
|
||||||
faBars,
|
} from '../../services/notification_utils/notification_utils'
|
||||||
faArrowUp,
|
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
||||||
faMinus,
|
import Notifications from '../notifications/notifications.vue'
|
||||||
faCheckDouble,
|
import SideDrawer from '../side_drawer/side_drawer.vue'
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
|
|
||||||
library.add(faTimes, faBell, faBars, faArrowUp, faMinus, faCheckDouble)
|
library.add(faTimes, faBell, faBars, faArrowUp, faMinus, faCheckDouble)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { debounce } from 'lodash'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faPen } from '@fortawesome/free-solid-svg-icons'
|
import { faPen } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { debounce } from 'lodash'
|
||||||
import { usePostStatusStore } from 'src/stores/post_status'
|
import { usePostStatusStore } from 'src/stores/post_status'
|
||||||
|
|
||||||
library.add(faPen)
|
library.add(faPen)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import { get } from 'lodash'
|
import { get } from 'lodash'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is for backwards compatibility. We originally didn't recieve
|
* This is for backwards compatibility. We originally didn't recieve
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
|
||||||
import UserTimedFilterModal from 'src/components/user_timed_filter_modal/user_timed_filter_modal.vue'
|
import UserTimedFilterModal from 'src/components/user_timed_filter_modal/user_timed_filter_modal.vue'
|
||||||
|
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
||||||
|
|
||||||
const MuteCard = {
|
const MuteCard = {
|
||||||
props: ['userId'],
|
props: ['userId'],
|
||||||
|
|
|
||||||
|
|
@ -1,33 +1,31 @@
|
||||||
import BookmarkFoldersMenuContent from 'src/components/bookmark_folders_menu/bookmark_folders_menu_content.vue'
|
|
||||||
import ListsMenuContent from 'src/components/lists_menu/lists_menu_content.vue'
|
|
||||||
import { mapState, mapGetters } from 'vuex'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
|
||||||
import { TIMELINES, ROOT_ITEMS } from 'src/components/navigation/navigation.js'
|
|
||||||
import { filterNavigation } from 'src/components/navigation/filter.js'
|
|
||||||
import NavigationEntry from 'src/components/navigation/navigation_entry.vue'
|
|
||||||
import NavigationPins from 'src/components/navigation/navigation_pins.vue'
|
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
|
||||||
|
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faUsers,
|
faBell,
|
||||||
faGlobe,
|
|
||||||
faCity,
|
|
||||||
faBookmark,
|
faBookmark,
|
||||||
faEnvelope,
|
faBullhorn,
|
||||||
faChevronDown,
|
faChevronDown,
|
||||||
faChevronUp,
|
faChevronUp,
|
||||||
|
faCity,
|
||||||
faComments,
|
faComments,
|
||||||
faBell,
|
faEnvelope,
|
||||||
faInfoCircle,
|
|
||||||
faStream,
|
|
||||||
faList,
|
|
||||||
faBullhorn,
|
|
||||||
faFilePen,
|
faFilePen,
|
||||||
|
faGlobe,
|
||||||
|
faInfoCircle,
|
||||||
|
faList,
|
||||||
|
faStream,
|
||||||
|
faUsers,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import BookmarkFoldersMenuContent from 'src/components/bookmark_folders_menu/bookmark_folders_menu_content.vue'
|
||||||
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
|
import ListsMenuContent from 'src/components/lists_menu/lists_menu_content.vue'
|
||||||
|
import { filterNavigation } from 'src/components/navigation/filter.js'
|
||||||
|
import { ROOT_ITEMS, TIMELINES } from 'src/components/navigation/navigation.js'
|
||||||
|
import NavigationEntry from 'src/components/navigation/navigation_entry.vue'
|
||||||
|
import NavigationPins from 'src/components/navigation/navigation_pins.vue'
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
|
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faUsers,
|
faUsers,
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import { routeTo } from 'src/components/navigation/navigation.js'
|
|
||||||
import OptionalRouterLink from 'src/components/optional_router_link/optional_router_link.vue'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faThumbtack } from '@fortawesome/free-solid-svg-icons'
|
import { faThumbtack } from '@fortawesome/free-solid-svg-icons'
|
||||||
import { mapStores, mapState as mapPiniaState } from 'pinia'
|
import { mapState as mapPiniaState, mapStores } from 'pinia'
|
||||||
|
import { routeTo } from 'src/components/navigation/navigation.js'
|
||||||
|
import OptionalRouterLink from 'src/components/optional_router_link/optional_router_link.vue'
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
library.add(faThumbtack)
|
library.add(faThumbtack)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,35 +1,33 @@
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
|
||||||
import {
|
|
||||||
TIMELINES,
|
|
||||||
ROOT_ITEMS,
|
|
||||||
routeTo,
|
|
||||||
} from 'src/components/navigation/navigation.js'
|
|
||||||
import {
|
|
||||||
getBookmarkFolderEntries,
|
|
||||||
getListEntries,
|
|
||||||
filterNavigation,
|
|
||||||
} from 'src/components/navigation/filter.js'
|
|
||||||
|
|
||||||
import StillImage from 'src/components/still-image/still-image.vue'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faUsers,
|
|
||||||
faGlobe,
|
|
||||||
faCity,
|
|
||||||
faBookmark,
|
|
||||||
faEnvelope,
|
|
||||||
faComments,
|
|
||||||
faBell,
|
faBell,
|
||||||
|
faBookmark,
|
||||||
|
faCity,
|
||||||
|
faComments,
|
||||||
|
faEnvelope,
|
||||||
|
faGlobe,
|
||||||
faInfoCircle,
|
faInfoCircle,
|
||||||
faStream,
|
|
||||||
faList,
|
faList,
|
||||||
|
faStream,
|
||||||
|
faUsers,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import { useListsStore } from 'src/stores/lists'
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import {
|
||||||
|
filterNavigation,
|
||||||
|
getBookmarkFolderEntries,
|
||||||
|
getListEntries,
|
||||||
|
} from 'src/components/navigation/filter.js'
|
||||||
|
import {
|
||||||
|
ROOT_ITEMS,
|
||||||
|
routeTo,
|
||||||
|
TIMELINES,
|
||||||
|
} from 'src/components/navigation/navigation.js'
|
||||||
|
import StillImage from 'src/components/still-image/still-image.vue'
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
||||||
|
import { useListsStore } from 'src/stores/lists'
|
||||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faUsers,
|
faUsers,
|
||||||
|
|
|
||||||
|
|
@ -1,33 +1,33 @@
|
||||||
import StatusContent from '../status_content/status_content.vue'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { mapState } from 'vuex'
|
import {
|
||||||
import Status from '../status/status.vue'
|
faCheck,
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
faCompressAlt,
|
||||||
import UserCard from '../user_card/user_card.vue'
|
faExpandAlt,
|
||||||
import Timeago from '../timeago/timeago.vue'
|
faEyeSlash,
|
||||||
import Report from '../report/report.vue'
|
faRetweet,
|
||||||
import UserLink from '../user_link/user_link.vue'
|
faStar,
|
||||||
|
faSuitcaseRolling,
|
||||||
|
faTimes,
|
||||||
|
faUser,
|
||||||
|
faUserPlus,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||||
import UserPopover from '../user_popover/user_popover.vue'
|
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
||||||
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
import { mapState } from 'vuex'
|
||||||
import { isStatusNotification } from '../../services/notification_utils/notification_utils.js'
|
import { isStatusNotification } from '../../services/notification_utils/notification_utils.js'
|
||||||
import {
|
import {
|
||||||
highlightClass,
|
highlightClass,
|
||||||
highlightStyle,
|
highlightStyle,
|
||||||
} from '../../services/user_highlighter/user_highlighter.js'
|
} from '../../services/user_highlighter/user_highlighter.js'
|
||||||
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import Report from '../report/report.vue'
|
||||||
import {
|
import Status from '../status/status.vue'
|
||||||
faCheck,
|
import StatusContent from '../status_content/status_content.vue'
|
||||||
faTimes,
|
import Timeago from '../timeago/timeago.vue'
|
||||||
faStar,
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
faRetweet,
|
import UserCard from '../user_card/user_card.vue'
|
||||||
faUserPlus,
|
import UserLink from '../user_link/user_link.vue'
|
||||||
faEyeSlash,
|
import UserPopover from '../user_popover/user_popover.vue'
|
||||||
faUser,
|
|
||||||
faSuitcaseRolling,
|
|
||||||
faExpandAlt,
|
|
||||||
faCompressAlt,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faCheck,
|
faCheck,
|
||||||
|
|
|
||||||
|
|
@ -106,9 +106,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Popover from '../popover/popover.vue'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faFilter } from '@fortawesome/free-solid-svg-icons'
|
import { faFilter } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import Popover from '../popover/popover.vue'
|
||||||
|
|
||||||
library.add(faFilter)
|
library.add(faFilter)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,26 @@
|
||||||
import { computed } from 'vue'
|
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
import { mapState } from 'pinia'
|
|
||||||
import Notification from '../notification/notification.vue'
|
|
||||||
import ExtraNotifications from '../extra_notifications/extra_notifications.vue'
|
|
||||||
import NotificationFilters from './notification_filters.vue'
|
|
||||||
import notificationsFetcher from '../../services/notifications_fetcher/notifications_fetcher.service.js'
|
|
||||||
import {
|
|
||||||
notificationsFromStore,
|
|
||||||
filteredNotificationsFromStore,
|
|
||||||
unseenNotificationsFromStore,
|
|
||||||
countExtraNotifications,
|
|
||||||
ACTIONABLE_NOTIFICATION_TYPES,
|
|
||||||
} from '../../services/notification_utils/notification_utils.js'
|
|
||||||
import FaviconService from '../../services/favicon_service/favicon_service.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faCircleNotch,
|
|
||||||
faArrowUp,
|
faArrowUp,
|
||||||
|
faCircleNotch,
|
||||||
faMinus,
|
faMinus,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { mapState } from 'pinia'
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { computed } from 'vue'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
import FaviconService from '../../services/favicon_service/favicon_service.js'
|
||||||
|
import {
|
||||||
|
ACTIONABLE_NOTIFICATION_TYPES,
|
||||||
|
countExtraNotifications,
|
||||||
|
filteredNotificationsFromStore,
|
||||||
|
notificationsFromStore,
|
||||||
|
unseenNotificationsFromStore,
|
||||||
|
} from '../../services/notification_utils/notification_utils.js'
|
||||||
|
import notificationsFetcher from '../../services/notifications_fetcher/notifications_fetcher.service.js'
|
||||||
|
import ExtraNotifications from '../extra_notifications/extra_notifications.vue'
|
||||||
|
import Notification from '../notification/notification.vue'
|
||||||
|
import NotificationFilters from './notification_filters.vue'
|
||||||
|
|
||||||
library.add(faCircleNotch, faArrowUp, faMinus)
|
library.add(faCircleNotch, faArrowUp, faMinus)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import oauth from '../../services/new_api/oauth.js'
|
|
||||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||||
|
import oauth from '../../services/new_api/oauth.js'
|
||||||
|
|
||||||
const oac = {
|
const oac = {
|
||||||
props: ['code'],
|
props: ['code'],
|
||||||
|
|
|
||||||
|
|
@ -45,18 +45,15 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed } from 'vue'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faFileExport, faFileImport } from '@fortawesome/free-solid-svg-icons'
|
||||||
import ColorInput from 'src/components/color_input/color_input.vue'
|
import ColorInput from 'src/components/color_input/color_input.vue'
|
||||||
import {
|
import {
|
||||||
newImporter,
|
|
||||||
newExporter,
|
newExporter,
|
||||||
|
newImporter,
|
||||||
} from 'src/services/export_import/export_import.js'
|
} from 'src/services/export_import/export_import.js'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faFileImport, faFileExport } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { computed } from 'vue'
|
||||||
|
|
||||||
library.add(faFileImport, faFileExport)
|
library.add(faFileImport, faFileExport)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import passwordResetApi from '../../services/new_api/password_reset.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
import passwordResetApi from '../../services/new_api/password_reset.js'
|
||||||
|
|
||||||
library.add(faTimes)
|
library.add(faTimes)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import Timeago from 'components/timeago/timeago.vue'
|
|
||||||
import genRandomSeed from '../../services/random_seed/random_seed.service.js'
|
|
||||||
import RichContent from 'components/rich_content/rich_content.jsx'
|
|
||||||
import Checkbox from 'components/checkbox/checkbox.vue'
|
import Checkbox from 'components/checkbox/checkbox.vue'
|
||||||
|
import RichContent from 'components/rich_content/rich_content.jsx'
|
||||||
|
import Timeago from 'components/timeago/timeago.vue'
|
||||||
import { usePollsStore } from 'src/stores/polls'
|
import { usePollsStore } from 'src/stores/polls'
|
||||||
|
import genRandomSeed from '../../services/random_seed/random_seed.service.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Poll',
|
name: 'Poll',
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faPlus, faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
import * as DateUtils from 'src/services/date_utils/date_utils.js'
|
import * as DateUtils from 'src/services/date_utils/date_utils.js'
|
||||||
import { pollFallback } from 'src/services/poll/poll.service.js'
|
import { pollFallback } from 'src/services/poll/poll.service.js'
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import Select from '../select/select.vue'
|
import Select from '../select/select.vue'
|
||||||
import { faTimes, faPlus } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
|
|
||||||
library.add(faTimes, faPlus)
|
library.add(faTimes, faPlus)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,40 +1,38 @@
|
||||||
import statusPoster from '../../services/status_poster/status_poster.service.js'
|
|
||||||
import genRandomSeed from '../../services/random_seed/random_seed.service.js'
|
|
||||||
import MediaUpload from '../media_upload/media_upload.vue'
|
|
||||||
import ScopeSelector from '../scope_selector/scope_selector.vue'
|
|
||||||
import EmojiInput from '../emoji_input/emoji_input.vue'
|
|
||||||
import PollForm from '../poll/poll_form.vue'
|
|
||||||
import Attachment from '../attachment/attachment.vue'
|
|
||||||
import Gallery from 'src/components/gallery/gallery.vue'
|
|
||||||
import StatusContent from '../status_content/status_content.vue'
|
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
import fileTypeService from '../../services/file_type/file_type.service.js'
|
|
||||||
import { findOffset } from '../../services/offset_finder/offset_finder.service.js'
|
|
||||||
import { propsToNative } from '../../services/attributes_helper/attributes_helper.service.js'
|
|
||||||
import { pollFormToMasto } from 'src/services/poll/poll.service.js'
|
|
||||||
import { reject, map, uniqBy, debounce } from 'lodash'
|
|
||||||
import suggestor from '../emoji_input/suggestor.js'
|
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
import { mapState, mapActions } from 'pinia'
|
|
||||||
import Checkbox from '../checkbox/checkbox.vue'
|
|
||||||
import Select from '../select/select.vue'
|
|
||||||
import DraftCloser from 'src/components/draft_closer/draft_closer.vue'
|
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faSmileBeam,
|
|
||||||
faPollH,
|
|
||||||
faUpload,
|
|
||||||
faBan,
|
faBan,
|
||||||
faTimes,
|
|
||||||
faCircleNotch,
|
|
||||||
faChevronDown,
|
faChevronDown,
|
||||||
faChevronLeft,
|
faChevronLeft,
|
||||||
faChevronRight,
|
faChevronRight,
|
||||||
|
faCircleNotch,
|
||||||
|
faPollH,
|
||||||
|
faSmileBeam,
|
||||||
|
faTimes,
|
||||||
|
faUpload,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { debounce, map, reject, uniqBy } from 'lodash'
|
||||||
|
import { mapActions, mapState } from 'pinia'
|
||||||
|
import DraftCloser from 'src/components/draft_closer/draft_closer.vue'
|
||||||
|
import Gallery from 'src/components/gallery/gallery.vue'
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
import { pollFormToMasto } from 'src/services/poll/poll.service.js'
|
||||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||||
import { useMediaViewerStore } from 'src/stores/media_viewer.js'
|
import { useMediaViewerStore } from 'src/stores/media_viewer.js'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
import { propsToNative } from '../../services/attributes_helper/attributes_helper.service.js'
|
||||||
|
import fileTypeService from '../../services/file_type/file_type.service.js'
|
||||||
|
import { findOffset } from '../../services/offset_finder/offset_finder.service.js'
|
||||||
|
import genRandomSeed from '../../services/random_seed/random_seed.service.js'
|
||||||
|
import statusPoster from '../../services/status_poster/status_poster.service.js'
|
||||||
|
import Attachment from '../attachment/attachment.vue'
|
||||||
|
import Checkbox from '../checkbox/checkbox.vue'
|
||||||
|
import EmojiInput from '../emoji_input/emoji_input.vue'
|
||||||
|
import suggestor from '../emoji_input/suggestor.js'
|
||||||
|
import MediaUpload from '../media_upload/media_upload.vue'
|
||||||
|
import PollForm from '../poll/poll_form.vue'
|
||||||
|
import ScopeSelector from '../scope_selector/scope_selector.vue'
|
||||||
|
import Select from '../select/select.vue'
|
||||||
|
import StatusContent from '../status_content/status_content.vue'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faSmileBeam,
|
faSmileBeam,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
|
||||||
import Modal from '../modal/modal.vue'
|
|
||||||
import get from 'lodash/get'
|
import get from 'lodash/get'
|
||||||
import { usePostStatusStore } from 'src/stores/post_status'
|
import { usePostStatusStore } from 'src/stores/post_status'
|
||||||
|
import Modal from '../modal/modal.vue'
|
||||||
|
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
||||||
|
|
||||||
const PostStatusModal = {
|
const PostStatusModal = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import Timeline from '../timeline/timeline.vue'
|
import Timeline from '../timeline/timeline.vue'
|
||||||
|
|
||||||
const PublicAndExternalTimeline = {
|
const PublicAndExternalTimeline = {
|
||||||
components: {
|
components: {
|
||||||
Timeline,
|
Timeline,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import Timeline from '../timeline/timeline.vue'
|
import Timeline from '../timeline/timeline.vue'
|
||||||
|
|
||||||
const PublicTimeline = {
|
const PublicTimeline = {
|
||||||
components: {
|
components: {
|
||||||
Timeline,
|
Timeline,
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
import Popover from '../popover/popover.vue'
|
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
import { mapState } from 'pinia'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faFilter, faFont, faWrench } from '@fortawesome/free-solid-svg-icons'
|
import { faFilter, faFont, faWrench } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapState } from 'pinia'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
import Popover from '../popover/popover.vue'
|
||||||
|
|
||||||
library.add(faFilter, faFont, faWrench)
|
library.add(faFilter, faFont, faWrench)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
import QuickFilterSettings from 'src/components/quick_filter_settings/quick_filter_settings.vue'
|
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
import { mapState } from 'pinia'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faList,
|
|
||||||
faFolderTree,
|
|
||||||
faBars,
|
faBars,
|
||||||
|
faFolderTree,
|
||||||
|
faList,
|
||||||
faWrench,
|
faWrench,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import { mapState } from 'pinia'
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
import QuickFilterSettings from 'src/components/quick_filter_settings/quick_filter_settings.vue'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
library.add(faList, faFolderTree, faBars, faWrench)
|
library.add(faList, faFolderTree, faBars, faWrench)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
import useVuelidate from '@vuelidate/core'
|
import useVuelidate from '@vuelidate/core'
|
||||||
import { required, requiredIf, sameAs } from '@vuelidate/validators'
|
import { required, requiredIf, sameAs } from '@vuelidate/validators'
|
||||||
import { mapActions, mapState } from 'vuex'
|
|
||||||
import InterfaceLanguageSwitcher from '../interface_language_switcher/interface_language_switcher.vue'
|
|
||||||
import localeService from '../../services/locale/locale.service.js'
|
|
||||||
import { DAY } from 'src/services/date_utils/date_utils.js'
|
import { DAY } from 'src/services/date_utils/date_utils.js'
|
||||||
|
import { mapActions, mapState } from 'vuex'
|
||||||
|
import localeService from '../../services/locale/locale.service.js'
|
||||||
|
import InterfaceLanguageSwitcher from '../interface_language_switcher/interface_language_switcher.vue'
|
||||||
import TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'
|
import TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'
|
||||||
|
|
||||||
const registration = {
|
const registration = {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
|
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||||
|
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
||||||
import { useReportsStore } from 'src/stores/reports'
|
import { useReportsStore } from 'src/stores/reports'
|
||||||
import Select from '../select/select.vue'
|
import Select from '../select/select.vue'
|
||||||
import StatusContent from '../status_content/status_content.vue'
|
import StatusContent from '../status_content/status_content.vue'
|
||||||
import Timeago from '../timeago/timeago.vue'
|
import Timeago from '../timeago/timeago.vue'
|
||||||
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
|
||||||
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
|
||||||
|
|
||||||
const Report = {
|
const Report = {
|
||||||
props: ['reportId'],
|
props: ['reportId'],
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
import { unescape, flattenDeep } from 'lodash'
|
import { flattenDeep, unescape } from 'lodash'
|
||||||
|
import HashtagLink from 'src/components/hashtag_link/hashtag_link.vue'
|
||||||
|
import { MENTIONS_LIMIT } from 'src/components/mentions_line/mentions_line.js'
|
||||||
|
import MentionsLine from 'src/components/mentions_line/mentions_line.vue'
|
||||||
|
import StillImageEmojiPopover from 'src/components/still-image/still-image-emoji-popover.vue'
|
||||||
|
import { convertHtmlToLines } from 'src/services/html_converter/html_line_converter.service.js'
|
||||||
|
import { convertHtmlToTree } from 'src/services/html_converter/html_tree_converter.service.js'
|
||||||
import {
|
import {
|
||||||
|
getAttrs,
|
||||||
getTagName,
|
getTagName,
|
||||||
processTextForEmoji,
|
processTextForEmoji,
|
||||||
getAttrs,
|
|
||||||
} from 'src/services/html_converter/utility.service.js'
|
} from 'src/services/html_converter/utility.service.js'
|
||||||
import { convertHtmlToTree } from 'src/services/html_converter/html_tree_converter.service.js'
|
|
||||||
import { convertHtmlToLines } from 'src/services/html_converter/html_line_converter.service.js'
|
|
||||||
import StillImageEmojiPopover from 'src/components/still-image/still-image-emoji-popover.vue'
|
|
||||||
import MentionsLine from 'src/components/mentions_line/mentions_line.vue'
|
|
||||||
import { MENTIONS_LIMIT } from 'src/components/mentions_line/mentions_line.js'
|
|
||||||
import HashtagLink from 'src/components/hashtag_link/hashtag_link.vue'
|
|
||||||
|
|
||||||
import './rich_content.scss'
|
import './rich_content.scss'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faEnvelope,
|
faEnvelope,
|
||||||
|
faGlobe,
|
||||||
faLock,
|
faLock,
|
||||||
faLockOpen,
|
faLockOpen,
|
||||||
faGlobe,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faEnvelope, faGlobe, faLock, faLockOpen)
|
library.add(faEnvelope, faGlobe, faLock, faLockOpen)
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
import FollowCard from '../follow_card/follow_card.vue'
|
|
||||||
import Conversation from '../conversation/conversation.vue'
|
|
||||||
import Status from '../status/status.vue'
|
|
||||||
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
|
||||||
import map from 'lodash/map'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faCircleNotch, faSearch } from '@fortawesome/free-solid-svg-icons'
|
import { faCircleNotch, faSearch } from '@fortawesome/free-solid-svg-icons'
|
||||||
import { uniqBy } from 'lodash'
|
import { uniqBy } from 'lodash'
|
||||||
|
import map from 'lodash/map'
|
||||||
|
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
||||||
|
import Conversation from '../conversation/conversation.vue'
|
||||||
|
import FollowCard from '../follow_card/follow_card.vue'
|
||||||
|
import Status from '../status/status.vue'
|
||||||
|
|
||||||
library.add(faCircleNotch, faSearch)
|
library.add(faCircleNotch, faSearch)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faTimes, faSearch } from '@fortawesome/free-solid-svg-icons'
|
import { faSearch, faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faTimes, faSearch)
|
library.add(faTimes, faSearch)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import List from '../list/list.vue'
|
|
||||||
import Checkbox from '../checkbox/checkbox.vue'
|
import Checkbox from '../checkbox/checkbox.vue'
|
||||||
|
import List from '../list/list.vue'
|
||||||
|
|
||||||
const SelectableList = {
|
const SelectableList = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,13 @@
|
||||||
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import TupleSetting from '../helpers/tuple_setting.vue'
|
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import ListSetting from '../helpers/list_setting.vue'
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
import MapSetting from '../helpers/map_setting.vue'
|
import MapSetting from '../helpers/map_setting.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
import TupleSetting from '../helpers/tuple_setting.vue'
|
||||||
|
|
||||||
const AuthTab = {
|
const AuthTab = {
|
||||||
provide() {
|
provide() {
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,22 @@
|
||||||
import { clone, assign } from 'lodash'
|
|
||||||
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import Checkbox from 'components/checkbox/checkbox.vue'
|
|
||||||
import StillImage from 'components/still-image/still-image.vue'
|
|
||||||
import Select from 'components/select/select.vue'
|
|
||||||
import Popover from 'components/popover/popover.vue'
|
|
||||||
import ConfirmModal from 'components/confirm_modal/confirm_modal.vue'
|
|
||||||
import ModifiedIndicator from '../helpers/modified_indicator.vue'
|
|
||||||
import EmojiEditingPopover from '../helpers/emoji_editing_popover.vue'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faArrowsRotate,
|
faArrowsRotate,
|
||||||
|
faDownload,
|
||||||
faFolderOpen,
|
faFolderOpen,
|
||||||
faServer,
|
faServer,
|
||||||
faDownload,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import Checkbox from 'components/checkbox/checkbox.vue'
|
||||||
|
import ConfirmModal from 'components/confirm_modal/confirm_modal.vue'
|
||||||
|
import Popover from 'components/popover/popover.vue'
|
||||||
|
import Select from 'components/select/select.vue'
|
||||||
|
import StillImage from 'components/still-image/still-image.vue'
|
||||||
|
import { assign, clone } from 'lodash'
|
||||||
|
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import EmojiEditingPopover from '../helpers/emoji_editing_popover.vue'
|
||||||
|
import ModifiedIndicator from '../helpers/modified_indicator.vue'
|
||||||
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
library.add(faArrowsRotate, faFolderOpen, faDownload, faServer)
|
library.add(faArrowsRotate, faFolderOpen, faDownload, faServer)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import ListSetting from '../helpers/list_setting.vue'
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
import ListTupleSetting from '../helpers/list_tuple_setting.vue'
|
import ListTupleSetting from '../helpers/list_tuple_setting.vue'
|
||||||
import MapSetting from '../helpers/map_setting.vue'
|
import MapSetting from '../helpers/map_setting.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
const FederationTab = {
|
const FederationTab = {
|
||||||
provide() {
|
provide() {
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,14 @@
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faGlobe } from '@fortawesome/free-solid-svg-icons'
|
import { faGlobe } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
library.add(faGlobe)
|
library.add(faGlobe)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,15 @@
|
||||||
|
import { get } from 'lodash'
|
||||||
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import ListSetting from '../helpers/list_setting.vue'
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
import TupleSetting from '../helpers/tuple_setting.vue'
|
|
||||||
import MapSetting from '../helpers/map_setting.vue'
|
import MapSetting from '../helpers/map_setting.vue'
|
||||||
import ProxySetting from '../helpers/proxy_setting.vue'
|
import ProxySetting from '../helpers/proxy_setting.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
import { get } from 'lodash'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
import TupleSetting from '../helpers/tuple_setting.vue'
|
||||||
|
|
||||||
const HTTPTab = {
|
const HTTPTab = {
|
||||||
provide() {
|
provide() {
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
|
import { get } from 'lodash'
|
||||||
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import ColorSetting from '../helpers/color_setting.vue'
|
import ColorSetting from '../helpers/color_setting.vue'
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import ListSetting from '../helpers/list_setting.vue'
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
import PWAManifestIconsSetting from '../helpers/pwa_manifest_icons_setting.vue'
|
|
||||||
import MapSetting from '../helpers/map_setting.vue'
|
import MapSetting from '../helpers/map_setting.vue'
|
||||||
|
import PWAManifestIconsSetting from '../helpers/pwa_manifest_icons_setting.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
import { get } from 'lodash'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
const InstanceTab = {
|
const InstanceTab = {
|
||||||
provide() {
|
provide() {
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
import TupleSetting from '../helpers/tuple_setting.vue'
|
import TupleSetting from '../helpers/tuple_setting.vue'
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
|
||||||
import ListSetting from '../helpers/list_setting.vue'
|
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
|
||||||
|
|
||||||
const JobQueuesTab = {
|
const JobQueuesTab = {
|
||||||
provide() {
|
provide() {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
const LimitsTab = {
|
const LimitsTab = {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,14 @@
|
||||||
|
import { get } from 'lodash'
|
||||||
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import ListSetting from '../helpers/list_setting.vue'
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
|
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
import { get } from 'lodash'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
const LinksTab = {
|
const LinksTab = {
|
||||||
provide() {
|
provide() {
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
|
||||||
import ColorSetting from '../helpers/color_setting.vue'
|
import ColorSetting from '../helpers/color_setting.vue'
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
const MailerTab = {
|
const MailerTab = {
|
||||||
provide() {
|
provide() {
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
import ListSetting from '../helpers/list_setting.vue'
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
const MediaProxyTab = {
|
const MediaProxyTab = {
|
||||||
provide() {
|
provide() {
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,13 @@
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import StringSetting from '../helpers/string_setting.vue'
|
|
||||||
import GroupSetting from '../helpers/group_setting.vue'
|
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
|
||||||
import ListSetting from '../helpers/list_setting.vue'
|
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faGlobe } from '@fortawesome/free-solid-svg-icons'
|
import { faGlobe } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
|
import GroupSetting from '../helpers/group_setting.vue'
|
||||||
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
|
import ListSetting from '../helpers/list_setting.vue'
|
||||||
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
library.add(faGlobe)
|
library.add(faGlobe)
|
||||||
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue