Finish adding omorphia

This commit is contained in:
Jai A
2024-07-03 19:12:20 -07:00
parent ef4acb1b66
commit 9502639447
363 changed files with 1360 additions and 7736 deletions

View File

@@ -59,7 +59,7 @@
</template>
<script setup>
import { Avatar, Button, Card, PlusIcon, TrashIcon, LogInIcon } from 'omorphia'
import { Avatar, Button, Card, PlusIcon, TrashIcon, LogInIcon } from '@modrinth/omorphia'
import { ref, computed, onMounted, onBeforeUnmount, onUnmounted } from 'vue'
import {
users,

View File

@@ -31,7 +31,7 @@
</template>
<script setup>
import { ChevronRightIcon, Button, ChevronLeftIcon } from 'omorphia'
import { ChevronRightIcon, Button, ChevronLeftIcon } from '@modrinth/omorphia'
import { useBreadcrumbs } from '@/store/breadcrumbs'
import { useRoute } from 'vue-router'
import { computed } from 'vue'

View File

@@ -1,5 +1,5 @@
<script setup>
import { Modal, XIcon, IssuesIcon, LogInIcon } from 'omorphia'
import { Modal, XIcon, IssuesIcon, LogInIcon } from '@modrinth/omorphia'
import { ChatIcon } from '@/assets/icons'
import { ref } from 'vue'
import { login as login_flow, set_default_user } from '@/helpers/auth.js'

View File

@@ -1,5 +1,5 @@
<script setup>
import { Button, Checkbox, Modal, XIcon, PlusIcon } from 'omorphia'
import { Button, Checkbox, Modal, XIcon, PlusIcon } from '@modrinth/omorphia'
import { PackageIcon, VersionIcon } from '@/assets/icons'
import { ref } from 'vue'
import { export_profile_mrpack, get_pack_export_candidates } from '@/helpers/profile.js'

View File

@@ -56,7 +56,7 @@
</template>
<script setup>
import { Button, Modal, XIcon, DownloadIcon, DropdownSelect, formatCategory } from 'omorphia'
import { Button, Modal, XIcon, DownloadIcon, DropdownSelect, formatCategory } from '@modrinth/omorphia'
import { add_project_from_version as installMod } from '@/helpers/profile'
import { ref } from 'vue'
import { handleError, useTheming } from '@/store/state.js'

View File

@@ -1,5 +1,5 @@
<script setup>
import { Button, Modal, XIcon, DownloadIcon } from 'omorphia'
import { Button, Modal, XIcon, DownloadIcon } from '@modrinth/omorphia'
import { install as pack_install } from '@/helpers/pack'
import { ref } from 'vue'
import { mixpanel_track } from '@/helpers/mixpanel'

View File

@@ -1,7 +1,7 @@
<script setup>
import { onUnmounted, ref, watch } from 'vue'
import { useRouter } from 'vue-router'
import { Card, DownloadIcon, StopCircleIcon, Avatar, AnimatedLogo, PlayIcon } from 'omorphia'
import { Card, DownloadIcon, StopCircleIcon, Avatar, AnimatedLogo, PlayIcon } from '@modrinth/omorphia'
import { convertFileSrc } from '@tauri-apps/api/tauri'
import InstallConfirmModal from '@/components/ui/InstallConfirmModal.vue'
import { install as pack_install } from '@/helpers/pack'

View File

@@ -211,7 +211,7 @@ import {
InfoIcon,
FolderSearchIcon,
UpdatedIcon,
} from 'omorphia'
} from '@modrinth/omorphia'
import { computed, onUnmounted, ref, shallowRef } from 'vue'
import { get_loaders } from '@/helpers/tags'
import { create } from '@/helpers/profile'

View File

@@ -35,7 +35,7 @@
</Modal>
</template>
<script setup>
import { Modal, PlusIcon, CheckIcon, Button, XIcon } from 'omorphia'
import { Modal, PlusIcon, CheckIcon, Button, XIcon } from '@modrinth/omorphia'
import { ref } from 'vue'
import { find_filtered_jres } from '@/helpers/jre.js'
import { handleError } from '@/store/notifications.js'

View File

@@ -60,7 +60,7 @@ import {
XIcon,
FolderSearchIcon,
DownloadIcon,
} from 'omorphia'
} from '@modrinth/omorphia'
import { auto_install_java, find_filtered_jres, get_jre, test_jre } from '@/helpers/jre.js'
import { ref } from 'vue'
import { open } from '@tauri-apps/api/dialog'

View File

@@ -10,7 +10,7 @@ import {
XIcon,
RightArrowIcon,
CheckIcon,
} from 'omorphia'
} from '@modrinth/omorphia'
import { computed, ref } from 'vue'
import {
add_project_from_version as installMod,

View File

@@ -1,5 +1,5 @@
<script setup>
import { Button, Modal, CheckIcon, Badge } from 'omorphia'
import { Button, Modal, CheckIcon, Badge } from '@modrinth/omorphia'
import { computed, ref } from 'vue'
import { useTheming } from '@/store/theme'
import { update_managed_modrinth_version } from '@/helpers/profile'

View File

@@ -8,7 +8,7 @@ import {
DownloadIcon,
HeartIcon,
CalendarIcon,
} from 'omorphia'
} from '@modrinth/omorphia'
import { computed, ref } from 'vue'
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime'

View File

@@ -110,7 +110,7 @@ import {
StopCircleIcon,
TerminalSquareIcon,
DropdownIcon,
} from 'omorphia'
} from '@modrinth/omorphia'
import { onBeforeUnmount, onMounted, ref } from 'vue'
import {
get_all_running_profiles as getRunningProfiles,

View File

@@ -76,7 +76,7 @@ import {
CalendarIcon,
CheckIcon,
StarIcon,
} from 'omorphia'
} from '@modrinth/omorphia'
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime'
import { ref } from 'vue'

View File

@@ -5,7 +5,7 @@
</template>
<script setup>
import { AnimatedLogo } from 'omorphia'
import { AnimatedLogo } from '@modrinth/omorphia'
defineProps({
appLoading: Boolean,

View File

@@ -1,5 +1,5 @@
<script setup>
import { Modal, Button } from 'omorphia'
import { Modal, Button } from '@modrinth/omorphia'
import { ref } from 'vue'
import { useFetch } from '@/helpers/fetch.js'
import SearchCard from '@/components/ui/SearchCard.vue'

View File

@@ -7,7 +7,7 @@
* }
*/
import { computed, ref } from 'vue'
import { Button, ChevronRightIcon, ChevronLeftIcon } from 'omorphia'
import { Button, ChevronRightIcon, ChevronLeftIcon } from '@modrinth/omorphia'
const props = defineProps({
logo: {

View File

@@ -1,5 +1,5 @@
<script setup>
import { Button, LogInIcon, Card } from 'omorphia'
import { Button, LogInIcon, Card } from '@modrinth/omorphia'
import { login as login_flow, set_default_user } from '@/helpers/auth.js'
import { handleError } from '@/store/notifications.js'
import mixpanel from 'mixpanel-browser'

View File

@@ -1,5 +1,5 @@
<script setup>
import { Button, Card, UserIcon, LockIcon, MailIcon, Checkbox } from 'omorphia'
import { Button, Card, UserIcon, LockIcon, MailIcon, Checkbox } from '@modrinth/omorphia'
import {
DiscordIcon,
GithubIcon,

View File

@@ -1,5 +1,5 @@
<script setup>
import { Button } from 'omorphia'
import { Button } from '@modrinth/omorphia'
import { ref } from 'vue'
import { get, set } from '@/helpers/settings.js'
import mixpanel from 'mixpanel-browser'

View File

@@ -1,5 +1,5 @@
<script setup>
import { Button, XIcon } from 'omorphia'
import { Button, XIcon } from '@modrinth/omorphia'
import { appWindow } from '@tauri-apps/api/window'
import { saveWindowState, StateFlags } from 'tauri-plugin-window-state-api'
import { window } from '@tauri-apps/api'