better imports organization
This commit is contained in:
parent
6f5eb6c442
commit
42930252b1
167 changed files with 663 additions and 445 deletions
18
biome.json
18
biome.json
|
|
@ -124,6 +124,22 @@
|
||||||
],
|
],
|
||||||
"assist": {
|
"assist": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"actions": { "source": { "organizeImports": "on" } }
|
"actions": {
|
||||||
|
"source": {
|
||||||
|
"organizeImports": {
|
||||||
|
"level": "on",
|
||||||
|
"options": {
|
||||||
|
"groups": [
|
||||||
|
[":NODE:", ":PACKAGE:", "!src/**", "!@fortawesome/**"],
|
||||||
|
":BLANK_LINE:",
|
||||||
|
[":PATH:", "src/**"],
|
||||||
|
":BLANK_LINE:",
|
||||||
|
"@fortawesome/fontawesome-svg-core",
|
||||||
|
"@fortawesome/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import { access } from 'node:fs/promises'
|
import { access } from 'node:fs/promises'
|
||||||
import { resolve } from 'node:path'
|
import { resolve } from 'node:path'
|
||||||
|
|
||||||
import { languages } from '../src/i18n/languages.js'
|
import { languages } from '../src/i18n/languages.js'
|
||||||
|
|
||||||
const annotationsImportPrefix = '@kazvmoe-infra/unicode-emoji-json/annotations/'
|
const annotationsImportPrefix = '@kazvmoe-infra/unicode-emoji-json/annotations/'
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
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'
|
import { langCodeToJsonName, languages } from '../src/i18n/languages.js'
|
||||||
|
|
||||||
const i18nDir = resolve(
|
const i18nDir = resolve(
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ import { dirname, resolve } from 'node:path'
|
||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
import * as esbuild from 'esbuild'
|
import * as esbuild from 'esbuild'
|
||||||
import { build } from 'vite'
|
import { build } from 'vite'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
generateServiceWorkerMessages,
|
generateServiceWorkerMessages,
|
||||||
i18nFiles,
|
i18nFiles,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import { throttle } from 'lodash'
|
import { throttle } from 'lodash'
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
import DesktopNav from './components/desktop_nav/desktop_nav.vue'
|
import DesktopNav from './components/desktop_nav/desktop_nav.vue'
|
||||||
import EditStatusModal from './components/edit_status_modal/edit_status_modal.vue'
|
import EditStatusModal from './components/edit_status_modal/edit_status_modal.vue'
|
||||||
import FeaturesPanel from './components/features_panel/features_panel.vue'
|
import FeaturesPanel from './components/features_panel/features_panel.vue'
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ import ShoutPanel from 'components/shout_panel/shout_panel.vue'
|
||||||
import TagTimeline from 'components/tag_timeline/tag_timeline.vue'
|
import TagTimeline from 'components/tag_timeline/tag_timeline.vue'
|
||||||
import UserProfile from 'components/user_profile/user_profile.vue'
|
import UserProfile from 'components/user_profile/user_profile.vue'
|
||||||
import WhoToFollow from 'components/who_to_follow/who_to_follow.vue'
|
import WhoToFollow from 'components/who_to_follow/who_to_follow.vue'
|
||||||
|
|
||||||
import NavPanel from 'src/components/nav_panel/nav_panel.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 BookmarkFolders from '../components/bookmark_folders/bookmark_folders.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,15 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { mapState } from 'vuex'
|
||||||
import { faEllipsisV } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import UserListMenu from 'src/components/user_list_menu/user_list_menu.vue'
|
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 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 ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
||||||
import Popover from '../popover/popover.vue'
|
import Popover from '../popover/popover.vue'
|
||||||
import ProgressButton from '../progress_button/progress_button.vue'
|
import ProgressButton from '../progress_button/progress_button.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faEllipsisV } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faEllipsisV)
|
library.add(faEllipsisV)
|
||||||
|
|
||||||
const AccountActions = {
|
const AccountActions = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
import localeService from '../../services/locale/locale.service.js'
|
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'
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
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'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
|
import { useMediaViewerStore } from 'src/stores/media_viewer'
|
||||||
|
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'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faAlignRight,
|
faAlignRight,
|
||||||
|
|
@ -12,13 +21,6 @@ import {
|
||||||
faTrashAlt,
|
faTrashAlt,
|
||||||
faVideo,
|
faVideo,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
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,6 +1,7 @@
|
||||||
import { mapState } from 'pinia'
|
import { mapState } from 'pinia'
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow'
|
|
||||||
import { h, resolveComponent } from 'vue'
|
import { h, resolveComponent } from 'vue'
|
||||||
|
|
||||||
|
import { useAuthFlowStore } from 'src/stores/auth_flow'
|
||||||
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'
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { mapState } from 'pinia'
|
import { mapState } from 'pinia'
|
||||||
|
|
||||||
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 NavigationEntry from 'src/components/navigation/navigation_entry.vue'
|
||||||
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
import { useBookmarkFoldersStore } from 'src/stores/bookmark_folders'
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faChevronDown, faChevronLeft } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
|
||||||
import { mapGetters, mapState } from 'vuex'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||||
import { WSConnectionStatus } from '../../services/api/api.service.js'
|
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 { buildFakeMessage } from '../../services/chat_utils/chat_utils.js'
|
||||||
|
|
@ -18,6 +17,9 @@ import {
|
||||||
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'
|
||||||
|
|
||||||
library.add(faChevronDown, faChevronLeft)
|
library.add(faChevronDown, faChevronLeft)
|
||||||
|
|
||||||
const BOTTOMED_OUT_OFFSET = 10
|
const BOTTOMED_OUT_OFFSET = 10
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { mapGetters, mapState } 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,5 +1,6 @@
|
||||||
import fileType from 'src/services/file_type/file_type.service'
|
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
|
import fileType from 'src/services/file_type/file_type.service'
|
||||||
import AvatarList from '../avatar_list/avatar_list.vue'
|
import AvatarList from '../avatar_list/avatar_list.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 StatusBody from '../status_content/status_content.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
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 { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
import { mapGetters, mapState } from 'vuex'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import Attachment from '../attachment/attachment.vue'
|
import Attachment from '../attachment/attachment.vue'
|
||||||
import ChatMessageDate from '../chat_message_date/chat_message_date.vue'
|
import ChatMessageDate from '../chat_message_date/chat_message_date.vue'
|
||||||
import Gallery from '../gallery/gallery.vue'
|
import Gallery from '../gallery/gallery.vue'
|
||||||
|
|
@ -12,6 +11,9 @@ import Popover from '../popover/popover.vue'
|
||||||
import StatusContent from '../status_content/status_content.vue'
|
import StatusContent from '../status_content/status_content.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 { faEllipsisH, faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faTimes, faEllipsisH)
|
library.add(faTimes, faEllipsisH)
|
||||||
|
|
||||||
const ChatMessage = {
|
const ChatMessage = {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { mapGetters, mapState } from 'vuex'
|
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 { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faSearch, faChevronLeft)
|
library.add(faSearch, faChevronLeft)
|
||||||
|
|
||||||
const chatNew = {
|
const chatNew = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
|
||||||
import { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
|
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||||
import UserAvatar from '../user_avatar/user_avatar.vue'
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -64,12 +64,14 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faEyeDropper } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { throttle } from 'lodash'
|
import { throttle } from 'lodash'
|
||||||
|
|
||||||
import { hex2rgb } from '../../services/color_convert/color_convert.js'
|
import { hex2rgb } from '../../services/color_convert/color_convert.js'
|
||||||
import Checkbox from '../checkbox/checkbox.vue'
|
import Checkbox from '../checkbox/checkbox.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faEyeDropper } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faEyeDropper)
|
library.add(faEyeDropper)
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import ColorInput from 'src/components/color_input/color_input.vue'
|
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 {
|
||||||
adoptStyleSheets,
|
adoptStyleSheets,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import Select from 'src/components/select/select.vue'
|
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
|
import Select from 'src/components/select/select.vue'
|
||||||
import ConfirmModal from './confirm_modal.vue'
|
import ConfirmModal from './confirm_modal.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -57,13 +57,14 @@
|
||||||
</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,18 +1,20 @@
|
||||||
|
import { clone, filter, findIndex, get, reduce } from 'lodash'
|
||||||
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
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'
|
||||||
|
|
||||||
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,3 +1,8 @@
|
||||||
|
import SearchBar from 'components/search_bar/search_bar.vue'
|
||||||
|
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
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,
|
faBell,
|
||||||
|
|
@ -12,9 +17,6 @@ import {
|
||||||
faTachometerAlt,
|
faTachometerAlt,
|
||||||
faUserPlus,
|
faUserPlus,
|
||||||
} 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 ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faSignInAlt,
|
faSignInAlt,
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faPollH } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { cloneDeep } from 'lodash'
|
import { cloneDeep } from 'lodash'
|
||||||
|
|
||||||
import ConfirmModal from 'src/components/confirm_modal/confirm_modal.vue'
|
import ConfirmModal from 'src/components/confirm_modal/confirm_modal.vue'
|
||||||
import EditStatusForm from 'src/components/edit_status_form/edit_status_form.vue'
|
import EditStatusForm from 'src/components/edit_status_form/edit_status_form.vue'
|
||||||
import Gallery from 'src/components/gallery/gallery.vue'
|
import Gallery from 'src/components/gallery/gallery.vue'
|
||||||
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
||||||
import StatusContent from 'src/components/status_content/status_content.vue'
|
import StatusContent from 'src/components/status_content/status_content.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faPollH } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faPollH)
|
library.add(faPollH)
|
||||||
|
|
||||||
const Draft = {
|
const Draft = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
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 EditStatusForm from '../edit_status_form/edit_status_form.vue'
|
||||||
import Modal from '../modal/modal.vue'
|
import Modal from '../modal/modal.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faSmileBeam } from '@fortawesome/free-regular-svg-icons'
|
|
||||||
import { take } from 'lodash'
|
import { take } from 'lodash'
|
||||||
|
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
import ScreenReaderNotice from 'src/components/screen_reader_notice/screen_reader_notice.vue'
|
import ScreenReaderNotice from 'src/components/screen_reader_notice/screen_reader_notice.vue'
|
||||||
import { ensureFinalFallback } from '../../i18n/languages.js'
|
import { ensureFinalFallback } from '../../i18n/languages.js'
|
||||||
|
|
@ -10,6 +9,9 @@ import genRandomSeed from '../../services/random_seed/random_seed.service.js'
|
||||||
import EmojiPicker from '../emoji_picker/emoji_picker.vue'
|
import EmojiPicker from '../emoji_picker/emoji_picker.vue'
|
||||||
import UnicodeDomainIndicator from '../unicode_domain_indicator/unicode_domain_indicator.vue'
|
import UnicodeDomainIndicator from '../unicode_domain_indicator/unicode_domain_indicator.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faSmileBeam } from '@fortawesome/free-regular-svg-icons'
|
||||||
|
|
||||||
library.add(faSmileBeam)
|
library.add(faSmileBeam)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
import { chunk, debounce, trim } from 'lodash'
|
||||||
|
import { defineAsyncComponent } from 'vue'
|
||||||
|
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
import { ensureFinalFallback } from '../../i18n/languages.js'
|
||||||
|
import Checkbox from '../checkbox/checkbox.vue'
|
||||||
|
import StillImage from '../still-image/still-image.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faBasketballBall,
|
faBasketballBall,
|
||||||
|
|
@ -13,12 +21,6 @@ import {
|
||||||
faStickyNote,
|
faStickyNote,
|
||||||
faUser,
|
faUser,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
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,9 +1,10 @@
|
||||||
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 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 { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faCheck, faMinus, faPlus } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faPlus, faMinus, faCheck)
|
library.add(faPlus, faMinus, faCheck)
|
||||||
|
|
||||||
const EMOJI_REACTION_COUNT_CUTOFF = 12
|
const EMOJI_REACTION_COUNT_CUTOFF = 12
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,15 @@
|
||||||
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faBullhorn,
|
faBullhorn,
|
||||||
faComments,
|
faComments,
|
||||||
faUserPlus,
|
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 { mapGetters } from 'vuex'
|
|
||||||
|
|
||||||
library.add(faUserPlus, faComments, faBullhorn)
|
library.add(faUserPlus, faComments, faBullhorn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
|
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 {
|
||||||
faExclamationTriangle,
|
faExclamationTriangle,
|
||||||
faStop,
|
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,13 +1,14 @@
|
||||||
|
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'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faExclamationTriangle,
|
faExclamationTriangle,
|
||||||
faFont,
|
faFont,
|
||||||
faKeyboard,
|
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 { set, sumBy } from 'lodash'
|
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'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
|
||||||
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 { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
|
|
||||||
library.add(faTimes)
|
library.add(faTimes)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import 'cropperjs' // This adds all of the cropperjs's components into DOM
|
import 'cropperjs' // This adds all of the cropperjs's components into DOM
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faCircleNotch } from '@fortawesome/free-solid-svg-icons'
|
import { faCircleNotch } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
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 ProfileSettingIndicator from 'src/components/settings_modal/helpers/profile_setting_indicator.vue'
|
||||||
import localeService from '../../services/locale/locale.service.js'
|
import localeService from '../../services/locale/locale.service.js'
|
||||||
import Select from '../select/select.vue'
|
import Select from '../select/select.vue'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,17 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
|
||||||
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
||||||
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
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 BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
||||||
import ListsUserSearch from '../lists_user_search/lists_user_search.vue'
|
import ListsUserSearch from '../lists_user_search/lists_user_search.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 { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faSearch, faChevronLeft)
|
library.add(faSearch, faChevronLeft)
|
||||||
|
|
||||||
const ListsNew = {
|
const ListsNew = {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
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 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,7 +1,9 @@
|
||||||
|
import { debounce } from 'lodash'
|
||||||
|
|
||||||
|
import Checkbox from '../checkbox/checkbox.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
import { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
|
||||||
import { debounce } from 'lodash'
|
|
||||||
import Checkbox from '../checkbox/checkbox.vue'
|
|
||||||
|
|
||||||
library.add(faSearch, faChevronLeft)
|
library.add(faSearch, faChevronLeft)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
||||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import oauthApi from '../../services/new_api/oauth.js'
|
import oauthApi from '../../services/new_api/oauth.js'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faTimes)
|
library.add(faTimes)
|
||||||
|
|
||||||
const LoginForm = {
|
const LoginForm = {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,3 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import {
|
|
||||||
faChevronLeft,
|
|
||||||
faChevronRight,
|
|
||||||
faCircleNotch,
|
|
||||||
faTimes,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import Flash from 'src/components/flash/flash.vue'
|
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 fileTypeService from '../../services/file_type/file_type.service.js'
|
||||||
|
|
@ -15,6 +8,14 @@ import StillImage from '../still-image/still-image.vue'
|
||||||
import SwipeClick from '../swipe_click/swipe_click.vue'
|
import SwipeClick from '../swipe_click/swipe_click.vue'
|
||||||
import VideoAttachment from '../video_attachment/video_attachment.vue'
|
import VideoAttachment from '../video_attachment/video_attachment.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faChevronLeft,
|
||||||
|
faChevronRight,
|
||||||
|
faCircleNotch,
|
||||||
|
faTimes,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faChevronLeft, faChevronRight, faCircleNotch, faTimes)
|
library.add(faChevronLeft, faChevronRight, faCircleNotch, faTimes)
|
||||||
|
|
||||||
const MediaModal = {
|
const MediaModal = {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
/* eslint-env browser */
|
/* eslint-env browser */
|
||||||
|
|
||||||
|
import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
|
||||||
|
import statusPosterService from '../../services/status_poster/status_poster.service.js'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faCircleNotch, faUpload } 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,8 +1,7 @@
|
||||||
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 { defineAsyncComponent } from 'vue'
|
import { defineAsyncComponent } from 'vue'
|
||||||
import { mapGetters, mapState } from 'vuex'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
|
||||||
|
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
|
||||||
import {
|
import {
|
||||||
highlightClass,
|
highlightClass,
|
||||||
highlightStyle,
|
highlightStyle,
|
||||||
|
|
@ -10,6 +9,9 @@ import {
|
||||||
import UnicodeDomainIndicator from '../unicode_domain_indicator/unicode_domain_indicator.vue'
|
import UnicodeDomainIndicator from '../unicode_domain_indicator/unicode_domain_indicator.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 { faAt } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faAt)
|
library.add(faAt)
|
||||||
|
|
||||||
const MentionLink = {
|
const MentionLink = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import MentionLink from 'src/components/mention_link/mention_link.vue'
|
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
|
import MentionLink from 'src/components/mention_link/mention_link.vue'
|
||||||
|
|
||||||
export const MENTIONS_LIMIT = 5
|
export const MENTIONS_LIMIT = 5
|
||||||
|
|
||||||
const MentionsLine = {
|
const MentionsLine = {
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
||||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import mfaApi from '../../services/new_api/mfa.js'
|
import mfaApi from '../../services/new_api/mfa.js'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faTimes)
|
library.add(faTimes)
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
import { mapActions, mapState as mapPiniaState, mapStores } from 'pinia'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
import { useAuthFlowStore } from 'src/stores/auth_flow.js'
|
||||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import mfaApi from '../../services/new_api/mfa.js'
|
import mfaApi from '../../services/new_api/mfa.js'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faTimes)
|
library.add(faTimes)
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,18 @@
|
||||||
|
import { mapState } from 'pinia'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
|
import NavigationPins from 'src/components/navigation/navigation_pins.vue'
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
|
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||||
|
import GestureService from '../../services/gesture_service/gesture_service'
|
||||||
|
import {
|
||||||
|
countExtraNotifications,
|
||||||
|
unseenNotificationsFromStore,
|
||||||
|
} from '../../services/notification_utils/notification_utils'
|
||||||
|
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
||||||
|
import Notifications from '../notifications/notifications.vue'
|
||||||
|
import SideDrawer from '../side_drawer/side_drawer.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faArrowUp,
|
faArrowUp,
|
||||||
|
|
@ -7,20 +22,6 @@ import {
|
||||||
faMinus,
|
faMinus,
|
||||||
faTimes,
|
faTimes,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import { mapState } from 'pinia'
|
|
||||||
import NavigationPins from 'src/components/navigation/navigation_pins.vue'
|
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
|
||||||
|
|
||||||
import { mapGetters } from 'vuex'
|
|
||||||
import GestureService from '../../services/gesture_service/gesture_service'
|
|
||||||
import {
|
|
||||||
countExtraNotifications,
|
|
||||||
unseenNotificationsFromStore,
|
|
||||||
} from '../../services/notification_utils/notification_utils'
|
|
||||||
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
|
|
||||||
import Notifications from '../notifications/notifications.vue'
|
|
||||||
import SideDrawer from '../side_drawer/side_drawer.vue'
|
|
||||||
|
|
||||||
library.add(faTimes, faBell, faBars, faArrowUp, faMinus, faCheckDouble)
|
library.add(faTimes, faBell, faBars, faArrowUp, faMinus, faCheckDouble)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
|
import { debounce } from 'lodash'
|
||||||
|
|
||||||
|
import { usePostStatusStore } from 'src/stores/post_status'
|
||||||
|
|
||||||
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'
|
|
||||||
|
|
||||||
library.add(faPen)
|
library.add(faPen)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faChevronDown } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
|
|
||||||
import DialogModal from '../dialog_modal/dialog_modal.vue'
|
import DialogModal from '../dialog_modal/dialog_modal.vue'
|
||||||
import Popover from '../popover/popover.vue'
|
import Popover from '../popover/popover.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faChevronDown } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faChevronDown)
|
library.add(faChevronDown)
|
||||||
|
|
||||||
const FORCE_NSFW = 'mrf_tag:media-force-nsfw'
|
const FORCE_NSFW = 'mrf_tag:media-force-nsfw'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,16 @@
|
||||||
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
|
||||||
|
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 { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faBell,
|
faBell,
|
||||||
|
|
@ -15,17 +28,6 @@ import {
|
||||||
faStream,
|
faStream,
|
||||||
faUsers,
|
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,11 +1,13 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faThumbtack } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { mapState as mapPiniaState, mapStores } from 'pinia'
|
import { mapState as mapPiniaState, mapStores } from 'pinia'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import { routeTo } from 'src/components/navigation/navigation.js'
|
import { routeTo } from 'src/components/navigation/navigation.js'
|
||||||
import OptionalRouterLink from 'src/components/optional_router_link/optional_router_link.vue'
|
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'
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faThumbtack } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faThumbtack)
|
library.add(faThumbtack)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,6 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import {
|
|
||||||
faBell,
|
|
||||||
faBookmark,
|
|
||||||
faCity,
|
|
||||||
faComments,
|
|
||||||
faEnvelope,
|
|
||||||
faGlobe,
|
|
||||||
faInfoCircle,
|
|
||||||
faList,
|
|
||||||
faStream,
|
|
||||||
faUsers,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
filterNavigation,
|
filterNavigation,
|
||||||
getBookmarkFolderEntries,
|
getBookmarkFolderEntries,
|
||||||
|
|
@ -27,7 +16,20 @@ 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 { useListsStore } from 'src/stores/lists'
|
||||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||||
import { mapState } from 'vuex'
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faBell,
|
||||||
|
faBookmark,
|
||||||
|
faCity,
|
||||||
|
faComments,
|
||||||
|
faEnvelope,
|
||||||
|
faGlobe,
|
||||||
|
faInfoCircle,
|
||||||
|
faList,
|
||||||
|
faStream,
|
||||||
|
faUsers,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faUsers,
|
faUsers,
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,7 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { mapState } from 'vuex'
|
||||||
import {
|
|
||||||
faCheck,
|
|
||||||
faCompressAlt,
|
|
||||||
faExpandAlt,
|
|
||||||
faEyeSlash,
|
|
||||||
faRetweet,
|
|
||||||
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 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 { 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,
|
||||||
|
|
@ -29,6 +17,20 @@ import UserCard from '../user_card/user_card.vue'
|
||||||
import UserLink from '../user_link/user_link.vue'
|
import UserLink from '../user_link/user_link.vue'
|
||||||
import UserPopover from '../user_popover/user_popover.vue'
|
import UserPopover from '../user_popover/user_popover.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faCheck,
|
||||||
|
faCompressAlt,
|
||||||
|
faExpandAlt,
|
||||||
|
faEyeSlash,
|
||||||
|
faRetweet,
|
||||||
|
faStar,
|
||||||
|
faSuitcaseRolling,
|
||||||
|
faTimes,
|
||||||
|
faUser,
|
||||||
|
faUserPlus,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faCheck,
|
faCheck,
|
||||||
faTimes,
|
faTimes,
|
||||||
|
|
|
||||||
|
|
@ -106,9 +106,10 @@
|
||||||
</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,14 +1,9 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import {
|
|
||||||
faArrowUp,
|
|
||||||
faCircleNotch,
|
|
||||||
faMinus,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { mapState } from 'pinia'
|
import { mapState } from 'pinia'
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import FaviconService from '../../services/favicon_service/favicon_service.js'
|
import FaviconService from '../../services/favicon_service/favicon_service.js'
|
||||||
import {
|
import {
|
||||||
ACTIONABLE_NOTIFICATION_TYPES,
|
ACTIONABLE_NOTIFICATION_TYPES,
|
||||||
|
|
@ -22,6 +17,13 @@ import ExtraNotifications from '../extra_notifications/extra_notifications.vue'
|
||||||
import Notification from '../notification/notification.vue'
|
import Notification from '../notification/notification.vue'
|
||||||
import NotificationFilters from './notification_filters.vue'
|
import NotificationFilters from './notification_filters.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faArrowUp,
|
||||||
|
faCircleNotch,
|
||||||
|
faMinus,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faCircleNotch, faArrowUp, faMinus)
|
library.add(faCircleNotch, faArrowUp, faMinus)
|
||||||
|
|
||||||
const DEFAULT_SEEN_TO_DISPLAY_COUNT = 30
|
const DEFAULT_SEEN_TO_DISPLAY_COUNT = 30
|
||||||
|
|
|
||||||
|
|
@ -45,15 +45,17 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { computed } from 'vue'
|
||||||
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 {
|
||||||
newExporter,
|
newExporter,
|
||||||
newImporter,
|
newImporter,
|
||||||
} from 'src/services/export_import/export_import.js'
|
} from 'src/services/export_import/export_import.js'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import { computed } from 'vue'
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faFileExport, faFileImport } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faFileImport, faFileExport)
|
library.add(faFileImport, faFileExport)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
|
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,6 +1,7 @@
|
||||||
import Checkbox from 'components/checkbox/checkbox.vue'
|
import Checkbox from 'components/checkbox/checkbox.vue'
|
||||||
import RichContent from 'components/rich_content/rich_content.jsx'
|
import RichContent from 'components/rich_content/rich_content.jsx'
|
||||||
import Timeago from 'components/timeago/timeago.vue'
|
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'
|
import genRandomSeed from '../../services/random_seed/random_seed.service.js'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
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 Select from '../select/select.vue'
|
import Select from '../select/select.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faPlus, faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faTimes, faPlus)
|
library.add(faTimes, faPlus)
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,13 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import {
|
|
||||||
faBan,
|
|
||||||
faChevronDown,
|
|
||||||
faChevronLeft,
|
|
||||||
faChevronRight,
|
|
||||||
faCircleNotch,
|
|
||||||
faPollH,
|
|
||||||
faSmileBeam,
|
|
||||||
faTimes,
|
|
||||||
faUpload,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { debounce, map, reject, uniqBy } from 'lodash'
|
import { debounce, map, reject, uniqBy } from 'lodash'
|
||||||
import { mapActions, mapState } from 'pinia'
|
import { mapActions, mapState } from 'pinia'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
import DraftCloser from 'src/components/draft_closer/draft_closer.vue'
|
import DraftCloser from 'src/components/draft_closer/draft_closer.vue'
|
||||||
import Gallery from 'src/components/gallery/gallery.vue'
|
import Gallery from 'src/components/gallery/gallery.vue'
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
import { pollFormToMasto } from 'src/services/poll/poll.service.js'
|
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 { propsToNative } from '../../services/attributes_helper/attributes_helper.service.js'
|
||||||
import fileTypeService from '../../services/file_type/file_type.service.js'
|
import fileTypeService from '../../services/file_type/file_type.service.js'
|
||||||
import { findOffset } from '../../services/offset_finder/offset_finder.service.js'
|
import { findOffset } from '../../services/offset_finder/offset_finder.service.js'
|
||||||
|
|
@ -34,6 +23,19 @@ import ScopeSelector from '../scope_selector/scope_selector.vue'
|
||||||
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 { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faBan,
|
||||||
|
faChevronDown,
|
||||||
|
faChevronLeft,
|
||||||
|
faChevronRight,
|
||||||
|
faCircleNotch,
|
||||||
|
faPollH,
|
||||||
|
faSmileBeam,
|
||||||
|
faTimes,
|
||||||
|
faUpload,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faSmileBeam,
|
faSmileBeam,
|
||||||
faPollH,
|
faPollH,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
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 Modal from '../modal/modal.vue'
|
||||||
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
|
import { mapState } from 'pinia'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import Popover from '../popover/popover.vue'
|
||||||
|
|
||||||
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 { mapGetters } from 'vuex'
|
|
||||||
import Popover from '../popover/popover.vue'
|
|
||||||
|
|
||||||
library.add(faFilter, faFont, faWrench)
|
library.add(faFilter, faFont, faWrench)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
import { mapState } from 'pinia'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
|
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 { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faBars,
|
faBars,
|
||||||
|
|
@ -5,11 +12,6 @@ import {
|
||||||
faList,
|
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 { mapGetters } from 'vuex'
|
|
||||||
|
|
||||||
library.add(faList, faFolderTree, faBars, faWrench)
|
library.add(faList, faFolderTree, faBars, faWrench)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
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 { DAY } from 'src/services/date_utils/date_utils.js'
|
|
||||||
import { mapActions, mapState } from 'vuex'
|
import { mapActions, mapState } from 'vuex'
|
||||||
|
|
||||||
|
import { DAY } from 'src/services/date_utils/date_utils.js'
|
||||||
import localeService from '../../services/locale/locale.service.js'
|
import localeService from '../../services/locale/locale.service.js'
|
||||||
import InterfaceLanguageSwitcher from '../interface_language_switcher/interface_language_switcher.vue'
|
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'
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { flattenDeep, unescape as ldUnescape } from 'lodash'
|
import { flattenDeep, unescape as ldUnescape } from 'lodash'
|
||||||
|
|
||||||
import HashtagLink from 'src/components/hashtag_link/hashtag_link.vue'
|
import HashtagLink from 'src/components/hashtag_link/hashtag_link.vue'
|
||||||
import { MENTIONS_LIMIT } from 'src/components/mentions_line/mentions_line.js'
|
import { MENTIONS_LIMIT } from 'src/components/mentions_line/mentions_line.js'
|
||||||
import MentionsLine from 'src/components/mentions_line/mentions_line.vue'
|
import MentionsLine from 'src/components/mentions_line/mentions_line.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faCircleNotch, faSearch } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { uniqBy } from 'lodash'
|
import { uniqBy } from 'lodash'
|
||||||
import map from 'lodash/map'
|
import map from 'lodash/map'
|
||||||
|
|
||||||
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
||||||
import Conversation from '../conversation/conversation.vue'
|
import Conversation from '../conversation/conversation.vue'
|
||||||
import FollowCard from '../follow_card/follow_card.vue'
|
import FollowCard from '../follow_card/follow_card.vue'
|
||||||
import Status from '../status/status.vue'
|
import Status from '../status/status.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faCircleNotch, faSearch } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faCircleNotch, faSearch)
|
library.add(faCircleNotch, faSearch)
|
||||||
|
|
||||||
const Search = {
|
const Search = {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
|
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'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faArrowsRotate,
|
faArrowsRotate,
|
||||||
|
|
@ -5,18 +19,6 @@ import {
|
||||||
faFolderOpen,
|
faFolderOpen,
|
||||||
faServer,
|
faServer,
|
||||||
} 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,5 +1,3 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faGlobe } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
|
@ -10,6 +8,9 @@ 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'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faGlobe } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faGlobe)
|
library.add(faGlobe)
|
||||||
|
|
||||||
const FrontendsTab = {
|
const FrontendsTab = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { get } from 'lodash'
|
import { get } from 'lodash'
|
||||||
|
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.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'
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { get } from 'lodash'
|
import { get } from 'lodash'
|
||||||
|
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.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'
|
||||||
|
|
@ -8,7 +9,6 @@ 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 PWAManifestIconsSetting from '../helpers/pwa_manifest_icons_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 StringSetting from '../helpers/string_setting.vue'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { get } from 'lodash'
|
import { get } from 'lodash'
|
||||||
|
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
import AttachmentSetting from '../helpers/attachment_setting.vue'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
|
|
@ -6,7 +7,6 @@ import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import GroupSetting from '../helpers/group_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 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'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faGlobe } from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import AttachmentSetting from '../helpers/attachment_setting.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'
|
||||||
|
|
@ -9,6 +7,9 @@ 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'
|
import StringSetting from '../helpers/string_setting.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faGlobe } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faGlobe)
|
library.add(faGlobe)
|
||||||
|
|
||||||
const MonitoringTab = {
|
const MonitoringTab = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import RateSetting from '../helpers/rate_setting.vue'
|
import RateSetting from '../helpers/rate_setting.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
|
||||||
const RatesTab = {
|
const RatesTab = {
|
||||||
|
|
|
||||||
|
|
@ -57,9 +57,10 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faWrench } from '@fortawesome/free-solid-svg-icons'
|
import { faWrench } from '@fortawesome/free-solid-svg-icons'
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
|
|
||||||
library.add(faWrench)
|
library.add(faWrench)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,10 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faCircleQuestion } from '@fortawesome/free-solid-svg-icons'
|
import { faCircleQuestion } from '@fortawesome/free-solid-svg-icons'
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
|
|
||||||
library.add(faCircleQuestion)
|
library.add(faCircleQuestion)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,10 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faWrench } from '@fortawesome/free-solid-svg-icons'
|
import { faWrench } from '@fortawesome/free-solid-svg-icons'
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
|
|
||||||
library.add(faWrench)
|
library.add(faWrench)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,10 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Popover from 'src/components/popover/popover.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faServer } from '@fortawesome/free-solid-svg-icons'
|
import { faServer } from '@fortawesome/free-solid-svg-icons'
|
||||||
import Popover from 'src/components/popover/popover.vue'
|
|
||||||
|
|
||||||
library.add(faServer)
|
library.add(faServer)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { clone } from 'lodash'
|
import { clone } from 'lodash'
|
||||||
|
|
||||||
import Attachment from 'src/components/attachment/attachment.vue'
|
import Attachment from 'src/components/attachment/attachment.vue'
|
||||||
import MediaUpload from 'src/components/media_upload/media_upload.vue'
|
import MediaUpload from 'src/components/media_upload/media_upload.vue'
|
||||||
import Select from 'src/components/select/select.vue'
|
import Select from 'src/components/select/select.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { cloneDeep, get, isEqual, set } from 'lodash'
|
import { cloneDeep, get, isEqual, set } from 'lodash'
|
||||||
|
|
||||||
import DraftButtons from './draft_buttons.vue'
|
import DraftButtons from './draft_buttons.vue'
|
||||||
import ModifiedIndicator from './modified_indicator.vue'
|
import ModifiedIndicator from './modified_indicator.vue'
|
||||||
import ProfileSettingIndicator from './profile_setting_indicator.vue'
|
import ProfileSettingIndicator from './profile_setting_indicator.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
// eslint-disable-next-line no-unused
|
// eslint-disable-next-line no-unused
|
||||||
|
|
||||||
import { FontAwesomeIcon as FAIcon } from '@fortawesome/vue-fontawesome'
|
|
||||||
import { throttle } from 'lodash'
|
import { throttle } from 'lodash'
|
||||||
import { mapState as mapPiniaState, mapState } from 'pinia'
|
import { mapState as mapPiniaState, mapState } from 'pinia'
|
||||||
import { Fragment, h } from 'vue'
|
import { Fragment, h } from 'vue'
|
||||||
|
|
||||||
|
import { FontAwesomeIcon as FAIcon } from '@fortawesome/vue-fontawesome'
|
||||||
|
|
||||||
import './vertical_tab_switcher.scss'
|
import './vertical_tab_switcher.scss'
|
||||||
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
|
||||||
const findFirstUsable = (slots) => slots.findIndex((_) => _.props)
|
const findFirstUsable = (slots) => slots.findIndex((_) => _.props)
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,6 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faWindowMinimize } from '@fortawesome/free-regular-svg-icons'
|
|
||||||
import {
|
|
||||||
faChevronDown,
|
|
||||||
faFileDownload,
|
|
||||||
faFileUpload,
|
|
||||||
faTimes,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { cloneDeep, isEqual } from 'lodash'
|
import { cloneDeep, isEqual } from 'lodash'
|
||||||
import { mapActions, mapState } from 'pinia'
|
import { mapActions, mapState } from 'pinia'
|
||||||
|
|
||||||
import AsyncComponentError from 'src/components/async_component_error/async_component_error.vue'
|
import AsyncComponentError from 'src/components/async_component_error/async_component_error.vue'
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import ConfirmModal from 'src/components/confirm_modal/confirm_modal.vue'
|
import ConfirmModal from 'src/components/confirm_modal/confirm_modal.vue'
|
||||||
|
|
@ -21,6 +14,15 @@ import getResettableAsyncComponent from 'src/services/resettable_async_component
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import Popover from '../popover/popover.vue'
|
import Popover from '../popover/popover.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faWindowMinimize } from '@fortawesome/free-regular-svg-icons'
|
||||||
|
import {
|
||||||
|
faChevronDown,
|
||||||
|
faFileDownload,
|
||||||
|
faFileUpload,
|
||||||
|
faTimes,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
const PLEROMAFE_SETTINGS_MAJOR_VERSION = 1
|
const PLEROMAFE_SETTINGS_MAJOR_VERSION = 1
|
||||||
const PLEROMAFE_SETTINGS_MINOR_VERSION = 0
|
const PLEROMAFE_SETTINGS_MINOR_VERSION = 0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,3 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import {
|
|
||||||
faChain,
|
|
||||||
faChartLine,
|
|
||||||
faCircleNodes,
|
|
||||||
faDoorOpen,
|
|
||||||
faEllipsis,
|
|
||||||
faEnvelope,
|
|
||||||
faGauge,
|
|
||||||
faGears,
|
|
||||||
faGlobe,
|
|
||||||
faHand,
|
|
||||||
faKey,
|
|
||||||
faLaptopCode,
|
|
||||||
faMessage,
|
|
||||||
faTowerBroadcast,
|
|
||||||
faUpload,
|
|
||||||
faWrench,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import AuthTab from './admin_tabs/auth_tab.vue'
|
import AuthTab from './admin_tabs/auth_tab.vue'
|
||||||
import EmojiTab from './admin_tabs/emoji_tab.vue'
|
import EmojiTab from './admin_tabs/emoji_tab.vue'
|
||||||
|
|
@ -37,6 +18,26 @@ import RegistrationsTab from './admin_tabs/registrations_tab.vue'
|
||||||
import UploadsTab from './admin_tabs/uploads_tab.vue'
|
import UploadsTab from './admin_tabs/uploads_tab.vue'
|
||||||
import VerticalTabSwitcher from './helpers/vertical_tab_switcher.jsx'
|
import VerticalTabSwitcher from './helpers/vertical_tab_switcher.jsx'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faChain,
|
||||||
|
faChartLine,
|
||||||
|
faCircleNodes,
|
||||||
|
faDoorOpen,
|
||||||
|
faEllipsis,
|
||||||
|
faEnvelope,
|
||||||
|
faGauge,
|
||||||
|
faGears,
|
||||||
|
faGlobe,
|
||||||
|
faHand,
|
||||||
|
faKey,
|
||||||
|
faLaptopCode,
|
||||||
|
faMessage,
|
||||||
|
faTowerBroadcast,
|
||||||
|
faUpload,
|
||||||
|
faWrench,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faWrench,
|
faWrench,
|
||||||
faHand,
|
faHand,
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,3 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import {
|
|
||||||
faBell,
|
|
||||||
faBroom,
|
|
||||||
faCode,
|
|
||||||
faColumns,
|
|
||||||
faDownload,
|
|
||||||
faEyeSlash,
|
|
||||||
faFilter,
|
|
||||||
faLock,
|
|
||||||
faMessage,
|
|
||||||
faPaintBrush,
|
|
||||||
faPalette,
|
|
||||||
faUser,
|
|
||||||
faWindowRestore,
|
|
||||||
faWrench,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import VerticalTabSwitcher from './helpers/vertical_tab_switcher.jsx'
|
import VerticalTabSwitcher from './helpers/vertical_tab_switcher.jsx'
|
||||||
import AppearanceTab from './tabs/appearance_tab.vue'
|
import AppearanceTab from './tabs/appearance_tab.vue'
|
||||||
|
|
@ -33,6 +16,24 @@ import ProfileTab from './tabs/profile_tab.vue'
|
||||||
import SecurityTab from './tabs/security_tab/security_tab.vue'
|
import SecurityTab from './tabs/security_tab/security_tab.vue'
|
||||||
import StyleTab from './tabs/style_tab/style_tab.vue'
|
import StyleTab from './tabs/style_tab/style_tab.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faBell,
|
||||||
|
faBroom,
|
||||||
|
faCode,
|
||||||
|
faColumns,
|
||||||
|
faDownload,
|
||||||
|
faEyeSlash,
|
||||||
|
faFilter,
|
||||||
|
faLock,
|
||||||
|
faMessage,
|
||||||
|
faPaintBrush,
|
||||||
|
faPalette,
|
||||||
|
faUser,
|
||||||
|
faWindowRestore,
|
||||||
|
faWrench,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faWrench,
|
faWrench,
|
||||||
faUser,
|
faUser,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { mapActions } from 'pinia'
|
import { mapActions } from 'pinia'
|
||||||
|
|
||||||
import fileSizeFormatService from 'src/components/../services/file_size_format/file_size_format.js'
|
import fileSizeFormatService from 'src/components/../services/file_size_format/file_size_format.js'
|
||||||
import PaletteEditor from 'src/components/palette_editor/palette_editor.vue'
|
import PaletteEditor from 'src/components/palette_editor/palette_editor.vue'
|
||||||
import { newImporter } from 'src/services/export_import/export_import.js'
|
import { newImporter } from 'src/services/export_import/export_import.js'
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import { mapActions, mapState } from 'pinia'
|
import { mapActions, mapState } from 'pinia'
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
|
||||||
import Select from 'src/components/select/select.vue'
|
|
||||||
|
|
||||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
|
||||||
import { v4 as uuidv4 } from 'uuid'
|
import { v4 as uuidv4 } from 'uuid'
|
||||||
import { mapState as mapVuexState } from 'vuex'
|
import { mapState as mapVuexState } from 'vuex'
|
||||||
|
|
||||||
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
|
import Select from 'src/components/select/select.vue'
|
||||||
|
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||||
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 HelpIndicator from '../helpers/help_indicator.vue'
|
import HelpIndicator from '../helpers/help_indicator.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,19 @@
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
|
import FontControl from 'src/components/font_control/font_control.vue'
|
||||||
|
import InterfaceLanguageSwitcher from 'src/components/interface_language_switcher/interface_language_switcher.vue'
|
||||||
|
import ScopeSelector from 'src/components/scope_selector/scope_selector.vue'
|
||||||
|
import Select from 'src/components/select/select.vue'
|
||||||
|
import localeService from 'src/services/locale/locale.service.js'
|
||||||
|
import { cacheKey, clearCache, emojiCacheKey } from 'src/services/sw/sw.js'
|
||||||
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
|
import FloatSetting from '../helpers/float_setting.vue'
|
||||||
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
|
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
||||||
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
import UnitSetting from '../helpers/unit_setting.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faDatabase,
|
faDatabase,
|
||||||
|
|
@ -6,20 +22,6 @@ import {
|
||||||
faPenAlt,
|
faPenAlt,
|
||||||
faSliders,
|
faSliders,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import FontControl from 'src/components/font_control/font_control.vue'
|
|
||||||
import InterfaceLanguageSwitcher from 'src/components/interface_language_switcher/interface_language_switcher.vue'
|
|
||||||
import ScopeSelector from 'src/components/scope_selector/scope_selector.vue'
|
|
||||||
import Select from 'src/components/select/select.vue'
|
|
||||||
import localeService from 'src/services/locale/locale.service.js'
|
|
||||||
import { cacheKey, clearCache, emojiCacheKey } from 'src/services/sw/sw.js'
|
|
||||||
import { mapState } from 'vuex'
|
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
|
||||||
import FloatSetting from '../helpers/float_setting.vue'
|
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
|
||||||
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
|
||||||
import UnitSetting from '../helpers/unit_setting.vue'
|
|
||||||
|
|
||||||
library.add(faGlobe, faMessage, faPenAlt, faDatabase, faSliders)
|
library.add(faGlobe, faMessage, faPenAlt, faDatabase, faSliders)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import Exporter from 'src/components/exporter/exporter.vue'
|
import Exporter from 'src/components/exporter/exporter.vue'
|
||||||
import Importer from 'src/components/importer/importer.vue'
|
import Importer from 'src/components/importer/importer.vue'
|
||||||
import { useOAuthTokensStore } from 'src/stores/oauth_tokens'
|
import { useOAuthTokensStore } from 'src/stores/oauth_tokens'
|
||||||
import { mapState } from 'vuex'
|
|
||||||
|
|
||||||
const DataImportExportTab = {
|
const DataImportExportTab = {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
import { cloneDeep } from 'lodash'
|
import { cloneDeep } from 'lodash'
|
||||||
import { mapActions, mapState } from 'pinia'
|
import { mapActions, mapState } from 'pinia'
|
||||||
|
import { v4 as uuidv4 } from 'uuid'
|
||||||
|
import { mapState as mapVuexState } from 'vuex'
|
||||||
|
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import Select from 'src/components/select/select.vue'
|
import Select from 'src/components/select/select.vue'
|
||||||
import {
|
import {
|
||||||
|
|
@ -8,8 +11,6 @@ import {
|
||||||
} from 'src/services/export_import/export_import.js'
|
} from 'src/services/export_import/export_import.js'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
|
||||||
import { v4 as uuidv4 } from 'uuid'
|
|
||||||
import { mapState as mapVuexState } from 'vuex'
|
|
||||||
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 HelpIndicator from '../helpers/help_indicator.vue'
|
import HelpIndicator from '../helpers/help_indicator.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import FontControl from 'src/components/font_control/font_control.vue'
|
import FontControl from 'src/components/font_control/font_control.vue'
|
||||||
import InterfaceLanguageSwitcher from 'src/components/interface_language_switcher/interface_language_switcher.vue'
|
import InterfaceLanguageSwitcher from 'src/components/interface_language_switcher/interface_language_switcher.vue'
|
||||||
import localeService from 'src/services/locale/locale.service.js'
|
import localeService from 'src/services/locale/locale.service.js'
|
||||||
import { mapState } from 'vuex'
|
|
||||||
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 FloatSetting from '../helpers/float_setting.vue'
|
import FloatSetting from '../helpers/float_setting.vue'
|
||||||
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
import UnitSetting from '../helpers/unit_setting.vue'
|
import UnitSetting from '../helpers/unit_setting.vue'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import get from 'lodash/get'
|
import get from 'lodash/get'
|
||||||
import map from 'lodash/map'
|
import map from 'lodash/map'
|
||||||
import reject from 'lodash/reject'
|
import reject from 'lodash/reject'
|
||||||
|
|
||||||
import withLoadMore from 'src/components/../hocs/with_load_more/with_load_more'
|
import withLoadMore from 'src/components/../hocs/with_load_more/with_load_more'
|
||||||
import withSubscription from 'src/components/../hocs/with_subscription/with_subscription'
|
import withSubscription from 'src/components/../hocs/with_subscription/with_subscription'
|
||||||
import Autosuggest from 'src/components/autosuggest/autosuggest.vue'
|
import Autosuggest from 'src/components/autosuggest/autosuggest.vue'
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faReply,
|
faReply,
|
||||||
|
|
@ -125,7 +127,6 @@ import {
|
||||||
faStar,
|
faStar,
|
||||||
faTimes,
|
faTimes,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
|
||||||
|
|
||||||
library.add(faTimes, faStar, faRetweet, faReply)
|
library.add(faTimes, faStar, faRetweet, faReply)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ 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 ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
||||||
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
|
||||||
const GeneralTab = {
|
const GeneralTab = {
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,15 @@
|
||||||
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
|
import UserCard from 'src/components/user_card/user_card.vue'
|
||||||
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
|
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
||||||
|
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faCircleNotch,
|
faCircleNotch,
|
||||||
faPlus,
|
faPlus,
|
||||||
faTimes,
|
faTimes,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
|
||||||
import UserCard from 'src/components/user_card/user_card.vue'
|
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
|
||||||
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
|
||||||
import SharedComputedObject from '../helpers/shared_computed_object.js'
|
|
||||||
|
|
||||||
library.add(faTimes, faPlus, faCircleNotch)
|
library.add(faTimes, faPlus, faCircleNotch)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import VueQrcode from '@chenfengyuan/vue-qrcode'
|
import VueQrcode from '@chenfengyuan/vue-qrcode'
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import Confirm from './confirm.vue'
|
import Confirm from './confirm.vue'
|
||||||
import RecoveryCodes from './mfa_backup_codes.vue'
|
import RecoveryCodes from './mfa_backup_codes.vue'
|
||||||
import TOTP from './mfa_totp.vue'
|
import TOTP from './mfa_totp.vue'
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import Confirm from './confirm.vue'
|
import Confirm from './confirm.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import {
|
|
||||||
faArrowsRotate,
|
|
||||||
faCheck,
|
|
||||||
faFile,
|
|
||||||
faFloppyDisk,
|
|
||||||
faFolderOpen,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { get, set, throttle, unset } from 'lodash'
|
import { get, set, throttle, unset } from 'lodash'
|
||||||
|
import {
|
||||||
|
computed,
|
||||||
|
getCurrentInstance,
|
||||||
|
provide,
|
||||||
|
reactive,
|
||||||
|
ref,
|
||||||
|
watch,
|
||||||
|
} from 'vue'
|
||||||
|
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import ColorInput from 'src/components/color_input/color_input.vue'
|
import ColorInput from 'src/components/color_input/color_input.vue'
|
||||||
import ComponentPreview from 'src/components/component_preview/component_preview.vue'
|
import ComponentPreview from 'src/components/component_preview/component_preview.vue'
|
||||||
|
|
@ -43,18 +44,19 @@ import {
|
||||||
init,
|
init,
|
||||||
} from 'src/services/theme_data/theme_data_3.service.js'
|
} from 'src/services/theme_data/theme_data_3.service.js'
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
import {
|
|
||||||
computed,
|
|
||||||
getCurrentInstance,
|
|
||||||
provide,
|
|
||||||
reactive,
|
|
||||||
ref,
|
|
||||||
watch,
|
|
||||||
} from 'vue'
|
|
||||||
import StringSetting from '../../helpers/string_setting.vue'
|
import StringSetting from '../../helpers/string_setting.vue'
|
||||||
import Preview from '../old_theme_tab/theme_preview.vue'
|
import Preview from '../old_theme_tab/theme_preview.vue'
|
||||||
import VirtualDirectivesTab from './virtual_directives_tab.vue'
|
import VirtualDirectivesTab from './virtual_directives_tab.vue'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faArrowsRotate,
|
||||||
|
faCheck,
|
||||||
|
faFile,
|
||||||
|
faFloppyDisk,
|
||||||
|
faFolderOpen,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
// helper for debugging
|
// helper for debugging
|
||||||
// const toValue = (x) => JSON.parse(JSON.stringify(x === undefined ? 'null' : x))
|
// const toValue = (x) => JSON.parse(JSON.stringify(x === undefined ? 'null' : x))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import ColorInput from 'src/components/color_input/color_input.vue'
|
import { computed, inject, ref, watch } from 'vue'
|
||||||
|
|
||||||
|
import ColorInput from 'src/components/color_input/color_input.vue'
|
||||||
import Select from 'src/components/select/select.vue'
|
import Select from 'src/components/select/select.vue'
|
||||||
import SelectMotion from 'src/components/select/select_motion.vue'
|
import SelectMotion from 'src/components/select/select_motion.vue'
|
||||||
import ShadowControl from 'src/components/shadow_control/shadow_control.vue'
|
import ShadowControl from 'src/components/shadow_control/shadow_control.vue'
|
||||||
import { serializeShadow } from 'src/services/theme_data/iss_serializer.js'
|
import { serializeShadow } from 'src/services/theme_data/iss_serializer.js'
|
||||||
import { computed, inject, ref, watch } from 'vue'
|
|
||||||
|
|
||||||
// helper for debugging
|
// helper for debugging
|
||||||
// const toValue = (x) => JSON.parse(JSON.stringify(x === undefined ? 'null' : x))
|
// const toValue = (x) => JSON.parse(JSON.stringify(x === undefined ? 'null' : x))
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,5 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import {
|
|
||||||
faChevronDown,
|
|
||||||
faChevronUp,
|
|
||||||
faPlus,
|
|
||||||
faTimes,
|
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
|
||||||
import { flattenDeep, throttle } from 'lodash'
|
import { flattenDeep, throttle } from 'lodash'
|
||||||
|
|
||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import ColorInput from 'src/components/color_input/color_input.vue'
|
import ColorInput from 'src/components/color_input/color_input.vue'
|
||||||
import ComponentPreview from 'src/components/component_preview/component_preview.vue'
|
import ComponentPreview from 'src/components/component_preview/component_preview.vue'
|
||||||
|
|
@ -25,6 +19,14 @@ import {
|
||||||
findShadow,
|
findShadow,
|
||||||
} from 'src/services/theme_data/theme_data_3.service.js'
|
} from 'src/services/theme_data/theme_data_3.service.js'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import {
|
||||||
|
faChevronDown,
|
||||||
|
faChevronUp,
|
||||||
|
faPlus,
|
||||||
|
faTimes,
|
||||||
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faChevronDown, faChevronUp, faTimes, faPlus)
|
library.add(faChevronDown, faChevronUp, faTimes, faPlus)
|
||||||
|
|
||||||
const toModel = (input) => {
|
const toModel = (input) => {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
||||||
import { faBullhorn, faTimes } 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 { useShoutStore } from 'src/stores/shout'
|
import { useShoutStore } from 'src/stores/shout'
|
||||||
|
|
||||||
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
|
import { faBullhorn, faTimes } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(faBullhorn, faTimes)
|
library.add(faBullhorn, faTimes)
|
||||||
|
|
||||||
const shoutPanel = {
|
const shoutPanel = {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,14 @@
|
||||||
|
import { mapState as mapPiniaState } from 'pinia'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
|
||||||
|
import { USERNAME_ROUTES } from 'src/components/navigation/navigation.js'
|
||||||
|
import { useAnnouncementsStore } from 'src/stores/announcements'
|
||||||
|
import { useInterfaceStore } from 'src/stores/interface'
|
||||||
|
import { useShoutStore } from 'src/stores/shout'
|
||||||
|
import GestureService from '../../services/gesture_service/gesture_service'
|
||||||
|
import { unseenNotificationsFromStore } from '../../services/notification_utils/notification_utils'
|
||||||
|
import UserCard from '../user_card/user_card.vue'
|
||||||
|
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faBell,
|
faBell,
|
||||||
|
|
@ -15,15 +26,6 @@ import {
|
||||||
faTachometerAlt,
|
faTachometerAlt,
|
||||||
faUserPlus,
|
faUserPlus,
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
import { mapState as mapPiniaState } from 'pinia'
|
|
||||||
import { USERNAME_ROUTES } from 'src/components/navigation/navigation.js'
|
|
||||||
import { useAnnouncementsStore } from 'src/stores/announcements'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface'
|
|
||||||
import { useShoutStore } from 'src/stores/shout'
|
|
||||||
import { mapGetters, mapState } from 'vuex'
|
|
||||||
import GestureService from '../../services/gesture_service/gesture_service'
|
|
||||||
import { unseenNotificationsFromStore } from '../../services/notification_utils/notification_utils'
|
|
||||||
import UserCard from '../user_card/user_card.vue'
|
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faSignInAlt,
|
faSignInAlt,
|
||||||
|
|
|
||||||
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