You've already forked AstralRinth
forked from didirus/AstralRinth
Finish adding omorphia
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</Modal>
|
||||
</template>
|
||||
<script setup>
|
||||
import { XIcon as CrossIcon, CheckIcon, Modal, Button } from 'omorphia'
|
||||
import { XIcon as CrossIcon, CheckIcon, Modal, Button } from '@modrinth/omorphia'
|
||||
|
||||
const router = useNativeRouter()
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { renderString } from 'omorphia'
|
||||
import { renderString } from '@modrinth/omorphia'
|
||||
import CrossIcon from '~/assets/images/utils/x.svg?component'
|
||||
import TrashIcon from '~/assets/images/utils/trash.svg?component'
|
||||
import Modal from '~/components/ui/Modal.vue'
|
||||
|
||||
@@ -341,7 +341,7 @@ import {
|
||||
XIcon as CrossIcon,
|
||||
EyeOffIcon,
|
||||
ExitIcon,
|
||||
} from 'omorphia'
|
||||
} from '@modrinth/omorphia'
|
||||
import Categories from '~/components/ui/search/Categories.vue'
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -288,7 +288,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { renderString } from 'omorphia'
|
||||
import { renderString } from '@modrinth/omorphia'
|
||||
import InvitationIcon from '~/assets/images/utils/user-plus.svg?component'
|
||||
import ModerationIcon from '~/assets/images/sidebar/admin.svg?component'
|
||||
import NotificationIcon from '~/assets/images/sidebar/notifications.svg?component'
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
</Modal>
|
||||
</template>
|
||||
<script setup>
|
||||
import { XIcon as CrossIcon, CheckIcon, Modal, Button } from 'omorphia'
|
||||
import { XIcon as CrossIcon, CheckIcon, Modal, Button } from '@modrinth/omorphia'
|
||||
|
||||
const router = useNativeRouter()
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ import {
|
||||
Modal,
|
||||
TransferIcon,
|
||||
XIcon,
|
||||
} from 'omorphia'
|
||||
} from '@modrinth/omorphia'
|
||||
|
||||
const modalOpen = ref(null)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup>
|
||||
import dayjs from 'dayjs'
|
||||
import { formatNumber, formatMoney } from 'omorphia'
|
||||
import { formatNumber, formatMoney } from '@modrinth/omorphia'
|
||||
import VueApexCharts from 'vue3-apexcharts'
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -298,7 +298,7 @@ import {
|
||||
formatNumber,
|
||||
DropdownSelect,
|
||||
formatCategoryHeader,
|
||||
} from 'omorphia'
|
||||
} from '@modrinth/omorphia'
|
||||
import dayjs from 'dayjs'
|
||||
import { defineProps, ref, computed } from 'vue'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup>
|
||||
import { Card } from 'omorphia'
|
||||
import { Card } from '@modrinth/omorphia'
|
||||
import VueApexCharts from 'vue3-apexcharts'
|
||||
|
||||
// let VueApexCharts
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { OverflowMenu, MarkdownEditor, DropdownIcon } from 'omorphia'
|
||||
import { OverflowMenu, MarkdownEditor, DropdownIcon } from '@modrinth/omorphia'
|
||||
import { useImageUpload } from '~/composables/image-upload.ts'
|
||||
import CopyCode from '~/components/ui/CopyCode.vue'
|
||||
import ReplyIcon from '~/assets/images/utils/reply.svg?component'
|
||||
|
||||
@@ -109,7 +109,7 @@ import {
|
||||
ModrinthIcon,
|
||||
ScaleIcon,
|
||||
renderString,
|
||||
} from 'omorphia'
|
||||
} from '@modrinth/omorphia'
|
||||
import Avatar from '~/components/ui/Avatar.vue'
|
||||
import Badge from '~/components/ui/Badge.vue'
|
||||
import { isStaff } from '~/helpers/users.js'
|
||||
|
||||
Reference in New Issue
Block a user