Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
feat: introducing self hosted admin dashboard package (#12)
Joel Jacob Stephen3f5959786441
diff --git a/packages/hoppscotch-cli/README.md b/packages/hoppscotch-cli/README.mdindex 9e806c009..420af5315 100644--- a/packages/hoppscotch-cli/README.md+++ b/packages/hoppscotch-cli/README.md@@ -1,4 +1,17 @@-# Hoppscotch CLI <sup>ALPHA</sup>+<div align="center">+ <a href="https://hoppscotch.io">+ <img+ src="https://avatars.githubusercontent.com/u/56705483"+ alt="Hoppscotch Logo"+ height="64"+ />+ </a>+</div>+<div align="center">++# Hoppscotch CLI <font size=2><sup>ALPHA</sup></font>++</div>A CLI to run Hoppscotch test scripts in CI environments.@@ -33,7 +46,7 @@ hopp [options or commands] arguments#### Options:##### `-e <file_path>` / `--env <file_path>`- - Accepts path to env.json with contents in below format:+ - Accepts path to env.json with contents in below format:```json{"ENV1":"value1",@@ -41,7 +54,7 @@ hopp [options or commands] arguments}```- You can now access those variables using `pw.env.get('<var_name>')`-+Taking the above example, `pw.env.get("ENV1")` will return `"value1"`## Installdiff --git a/packages/hoppscotch-common/package.json b/packages/hoppscotch-common/package.jsonindex 34c92fb88..57e35b399 100644--- a/packages/hoppscotch-common/package.json+++ b/packages/hoppscotch-common/package.json@@ -90,7 +90,7 @@"vue-pdf-embed": "^1.1.4","vue-router": "^4.0.16","vue-tippy": "6.0.0-alpha.58",- "vuedraggable": "^4.1.0",+ "vuedraggable-es": "^4.1.1","wonka": "^4.0.15","workbox-window": "^6.5.4","yargs-parser": "^21.1.1"diff --git a/packages/hoppscotch-common/src/App.vue b/packages/hoppscotch-common/src/App.vueindex de03b4aa4..8cf3e8e26 100644--- a/packages/hoppscotch-common/src/App.vue+++ b/packages/hoppscotch-common/src/App.vue@@ -4,7 +4,7 @@v-if="isLoadingInitialRoute"class="flex flex-col items-center justify-center min-h-screen">- <SmartSpinner />+ <HoppSmartSpinner /></div><ErrorPage v-if="errorInfo !== null" :error="errorInfo" /><RouterView v-else />diff --git a/packages/hoppscotch-common/src/components.d.ts b/packages/hoppscotch-common/src/components.d.tsindex 3b7ae649d..e0268dcf4 100644--- a/packages/hoppscotch-common/src/components.d.ts+++ b/packages/hoppscotch-common/src/components.d.ts@@ -97,18 +97,6 @@ declare module '@vue/runtime-core' {HttpTestResultReport: typeof import('./components/http/TestResultReport.vue')['default']HttpTests: typeof import('./components/http/Tests.vue')['default']HttpURLEncodedParams: typeof import('./components/http/URLEncodedParams.vue')['default']- IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default']- IconLucideCheckCircle: typeof import('~icons/lucide/check-circle')['default']- IconLucideChevronRight: typeof import('~icons/lucide/chevron-right')['default']- IconLucideGlobe: typeof import('~icons/lucide/globe')['default']- IconLucideInbox: typeof import('~icons/lucide/inbox')['default']- IconLucideInfo: typeof import('~icons/lucide/info')['default']- IconLucideLayers: typeof import('~icons/lucide/layers')['default']- IconLucideLoader: typeof import('~icons/lucide/loader')['default']- IconLucideMinus: typeof import('~icons/lucide/minus')['default']- IconLucideSearch: typeof import('~icons/lucide/search')['default']- IconLucideUser: typeof import('~icons/lucide/user')['default']- IconLucideUsers: typeof import('~icons/lucide/users')['default']LensesHeadersRenderer: typeof import('./components/lenses/HeadersRenderer.vue')['default']LensesHeadersRendererEntry: typeof import('./components/lenses/HeadersRendererEntry.vue')['default']LensesRenderersHTMLLensRenderer: typeof import('./components/lenses/renderers/HTMLLensRenderer.vue')['default']diff --git a/packages/hoppscotch-common/src/components/app/DeveloperOptions.vue b/packages/hoppscotch-common/src/components/app/DeveloperOptions.vueindex f2f63346f..a94977acf 100644--- a/packages/hoppscotch-common/src/components/app/DeveloperOptions.vue+++ b/packages/hoppscotch-common/src/components/app/DeveloperOptions.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('app.developer_option')"@@ -10,7 +10,7 @@{{ t("app.developer_option_description") }}</p><div class="flex flex-1">- <ButtonSecondary+ <HoppButtonSecondaryoutlinefilled:icon="copyIcon"@@ -19,7 +19,7 @@/></div></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/app/Footer.vue b/packages/hoppscotch-common/src/components/app/Footer.vueindex 3c02499bb..a6731e11d 100644--- a/packages/hoppscotch-common/src/components/app/Footer.vue+++ b/packages/hoppscotch-common/src/components/app/Footer.vue@@ -2,7 +2,7 @@<div><div class="flex justify-between bg-primary"><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="EXPAND_NAVIGATION ? t('hide.sidebar') : t('show.sidebar')":icon="IconSidebar"@@ -10,7 +10,7 @@:class="{ '-rotate-180': !EXPAND_NAVIGATION }"@click="EXPAND_NAVIGATION = !EXPAND_NAVIGATION"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="`${ZEN_MODE ? t('action.turn_off') : t('action.turn_on')} ${t('layout.zen_mode'@@ -23,7 +23,7 @@@click="ZEN_MODE = !ZEN_MODE"/><tippy interactive trigger="click" theme="popover">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('settings.interceptor')":icon="IconShieldCheck"@@ -40,7 +40,7 @@theme="popover":on-shown="() => tippyActions!.focus()">- <ButtonSecondary+ <HoppButtonSecondary:icon="IconHelpCircle"class="!rounded-none":label="`${t('app.help')}`"@@ -55,7 +55,7 @@@keyup.c="chat!.$el.click()"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemref="documentation":icon="IconBook":label="`${t('app.documentation')}`"@@ -64,7 +64,7 @@:shortcut="['D']"@click="hide()"/>- <SmartItem+ <HoppSmartItemref="shortcuts":icon="IconZap":label="`${t('app.keyboard_shortcuts')}`"@@ -76,7 +76,7 @@}"/>- <SmartItem+ <HoppSmartItemref="chat":icon="IconMessageCircle":label="`${t('app.chat_with_us')}`"@@ -88,14 +88,14 @@}"/>- <SmartItem+ <HoppSmartItem:icon="IconGift":label="`${t('app.whats_new')}`"to="https://docs.hoppscotch.io/changelog"blank@click="hide()"/>- <SmartItem+ <HoppSmartItem:icon="IconActivity":label="t('app.status')"to="https://status.hoppscotch.io"@@ -103,21 +103,21 @@@click="hide()"/><hr />- <SmartItem+ <HoppSmartItem:icon="IconGithub":label="`${t('app.github')}`"to="https://github.com/hoppscotch/hoppscotch"blank@click="hide()"/>- <SmartItem+ <HoppSmartItem:icon="IconTwitter":label="`${t('app.twitter')}`"to="https://hoppscotch.io/twitter"blank@click="hide()"/>- <SmartItem+ <HoppSmartItem:icon="IconUserPlus":label="`${t('app.invite')}`"@click="@@ -127,7 +127,7 @@}"/>- <SmartItem+ <HoppSmartItem:icon="IconLock":label="`${t('app.terms_and_privacy')}`"to="https://docs.hoppscotch.io/privacy"@@ -148,7 +148,7 @@</div></template></tippy>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t('app.shortcuts'@@ -156,14 +156,14 @@:icon="IconZap"@click="invokeAction('flyouts.keybinds.toggle')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="navigatorShare"v-tippy="{ theme: 'tooltip' }":icon="IconShare2":title="t('request.share')"@click="nativeShare()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="COLUMN_LAYOUT ? t('layout.row') : t('layout.column')":icon="IconColumns"@@ -177,7 +177,7 @@'rotate-180': SIDEBAR_ON_LEFT,}">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="SIDEBAR ? t('hide.sidebar') : t('show.sidebar')":icon="IconSidebarOpen"@@ -223,7 +223,7 @@ import { platform } from "~/platform"import { TippyComponent } from "vue-tippy"import { getPlatformSpecialKey as getSpecialKey } from "~/helpers/platformutils"import { invokeAction } from "@helpers/actions"-import SmartItem from "@hoppscotch/ui/src/components/smart/Item.vue"+import { HoppSmartItem } from "@hoppscotch/ui"const t = useI18n()const showDeveloperOptions = ref(false)@@ -274,7 +274,7 @@ const showDeveloperOptionModal = () => {// Template refsconst tippyActions = ref<TippyComponent | null>(null)-const documentation = ref<typeof SmartItem>()-const shortcuts = ref<typeof SmartItem>()-const chat = ref<typeof SmartItem>()+const documentation = ref<typeof HoppSmartItem>()+const shortcuts = ref<typeof HoppSmartItem>()+const chat = ref<typeof HoppSmartItem>()</script>diff --git a/packages/hoppscotch-common/src/components/app/Header.vue b/packages/hoppscotch-common/src/components/app/Header.vueindex f20e619cc..539d994c3 100644--- a/packages/hoppscotch-common/src/components/app/Header.vue+++ b/packages/hoppscotch-common/src/components/app/Header.vue@@ -10,7 +10,7 @@paddingLeft: platform.ui?.appHeader?.paddingLeft?.value,}">- <ButtonSecondary+ <HoppButtonSecondaryclass="tracking-wide !font-bold !text-secondaryDark hover:bg-primaryDark focus-visible:bg-primaryDark uppercase":label="t('app.name')"to="/"@@ -18,7 +18,7 @@<AppGitHubStarButton class="mt-1.5 transition <sm:hidden" /></div><div class="inline-flex items-center space-x-2">- <ButtonSecondary+ <HoppButtonSecondaryv-if="showInstallButton"v-tippy="{ theme: 'tooltip' }":title="t('header.install_pwa')"@@ -26,14 +26,14 @@class="rounded hover:bg-primaryDark focus-visible:bg-primaryDark"@click="installPWA()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t('app.search')} <kbd>/</kbd>`":icon="IconSearch"class="rounded hover:bg-primaryDark focus-visible:bg-primaryDark"@click="invokeAction('modals.search.toggle')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${mdAndLarger ? t('support.title') : t('app.options')@@ -42,7 +42,7 @@class="rounded hover:bg-primaryDark focus-visible:bg-primaryDark"@click="invokeAction('modals.support.toggle')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="currentUser === null":icon="IconUploadCloud":label="t('header.save_workspace')"@@ -50,13 +50,13 @@class="hidden md:flex"@click="invokeAction('modals.login.toggle')"/>- <ButtonPrimary+ <HoppButtonPrimaryv-if="currentUser === null":label="t('header.login')"@click="invokeAction('modals.login.toggle')"/><div v-else class="inline-flex items-center space-x-2">- <ButtonPrimary+ <HoppButtonPrimaryv-tippy="{ theme: 'tooltip' }":title="t('team.invite_tooltip')":label="t('team.invite')"@@ -127,7 +127,7 @@</span></div><hr />- <SmartItem+ <HoppSmartItemref="profile"to="/profile":icon="IconUser"@@ -135,7 +135,7 @@:shortcut="['P']"@click="hide()"/>- <SmartItem+ <HoppSmartItemref="settings"to="/settings":icon="IconSettings"diff --git a/packages/hoppscotch-common/src/components/app/Interceptor.vue b/packages/hoppscotch-common/src/components/app/Interceptor.vueindex 0bc4755e2..f54dbb110 100644--- a/packages/hoppscotch-common/src/components/app/Interceptor.vue+++ b/packages/hoppscotch-common/src/components/app/Interceptor.vue@@ -8,12 +8,15 @@{{ t("settings.interceptor_description") }}</p></div>- <SmartRadioGroup v-model="interceptorSelection" :radios="interceptors" />+ <HoppSmartRadioGroup+ v-model="interceptorSelection"+ :radios="interceptors"+ /><divv-if="interceptorSelection == 'EXTENSIONS_ENABLED' && !extensionVersion"class="flex space-x-2">- <ButtonSecondary+ <HoppButtonSecondaryto="https://chrome.google.com/webstore/detail/hoppscotch-browser-extens/amknoiejhlmhancpahfcfcfhllgkpbld"blank:icon="IconChrome"@@ -21,7 +24,7 @@outlineclass="!flex-1"/>- <ButtonSecondary+ <HoppButtonSecondaryto="https://addons.mozilla.org/en-US/firefox/addon/hoppscotch"blank:icon="IconFirefox"diff --git a/packages/hoppscotch-common/src/components/app/Options.vue b/packages/hoppscotch-common/src/components/app/Options.vueindex 33413c588..707c5cd9d 100644--- a/packages/hoppscotch-common/src/components/app/Options.vue+++ b/packages/hoppscotch-common/src/components/app/Options.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('app.options')"@@ -11,7 +11,7 @@<h2 class="p-4 font-semibold font-bold text-secondaryDark">{{ t("layout.name") }}</h2>- <SmartItem+ <HoppSmartItem:icon="IconSidebar":label="EXPAND_NAVIGATION ? t('hide.sidebar') : t('show.sidebar')":description="t('layout.collapse_sidebar')"@@ -19,7 +19,7 @@active@click="expandNavigation"/>- <SmartItem+ <HoppSmartItem:icon="IconSidebarOpen":label="SIDEBAR ? t('hide.collection') : t('show.collection')":description="t('layout.collapse_collection')"@@ -30,7 +30,7 @@<h2 class="p-4 font-semibold font-bold text-secondaryDark">{{ t("support.title") }}</h2>- <SmartItem+ <HoppSmartItem:icon="IconBook":label="t('app.documentation')"to="https://docs.hoppscotch.io"@@ -40,7 +40,7 @@blank@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconGift":label="t('app.whats_new')"to="https://docs.hoppscotch.io/changelog"@@ -50,7 +50,7 @@blank@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconActivity":label="t('app.status')"to="https://status.hoppscotch.io"@@ -60,7 +60,7 @@active@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconLock":label="`${t('app.terms_and_privacy')}`"to="https://docs.hoppscotch.io/privacy"@@ -73,7 +73,7 @@<h2 class="p-4 font-semibold font-bold text-secondaryDark">{{ t("settings.follow") }}</h2>- <SmartItem+ <HoppSmartItem:icon="IconDiscord":label="t('app.discord')"to="https://hoppscotch.io/discord"@@ -83,7 +83,7 @@active@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconTwitter":label="t('app.twitter')"to="https://hoppscotch.io/twitter"@@ -93,7 +93,7 @@active@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconGithub":label="`${t('app.github')}`"to="https://github.com/hoppscotch/hoppscotch"@@ -103,7 +103,7 @@active@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconMessageCircle":label="t('app.chat_with_us')":description="t('support.chat')"@@ -111,7 +111,7 @@active@click="chatWithUs()"/>- <SmartItem+ <HoppSmartItem:icon="IconUserPlus":label="`${t('app.invite')}`":description="t('shortcut.miscellaneous.invite')"@@ -119,7 +119,7 @@active@click="expandInvite()"/>- <SmartItem+ <HoppSmartItemv-if="navigatorShare"v-tippy="{ theme: 'tooltip' }":icon="IconShare2"@@ -132,7 +132,7 @@</div><AppShare :show="showShare" @hide-modal="showShare = false" /></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/app/PowerSearch.vue b/packages/hoppscotch-common/src/components/app/PowerSearch.vueindex 88873710c..88645191b 100644--- a/packages/hoppscotch-common/src/components/app/PowerSearch.vue+++ b/packages/hoppscotch-common/src/components/app/PowerSearch.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"styles="sm:max-w-lg"full-width@@ -68,7 +68,7 @@</div></div></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/app/Share.vue b/packages/hoppscotch-common/src/components/app/Share.vueindex 198aa5ee1..9b6635079 100644--- a/packages/hoppscotch-common/src/components/app/Share.vue+++ b/packages/hoppscotch-common/src/components/app/Share.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('app.invite_your_friends')"@@ -35,7 +35,7 @@{{ t("app.invite_description") }}</p></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/app/Shortcuts.vue b/packages/hoppscotch-common/src/components/app/Shortcuts.vueindex ec8c5c001..2adfd302a 100644--- a/packages/hoppscotch-common/src/components/app/Shortcuts.vue+++ b/packages/hoppscotch-common/src/components/app/Shortcuts.vue@@ -1,5 +1,5 @@<template>- <SmartSlideOver :show="show" :title="t('app.shortcuts')" @close="close()">+ <HoppSmartSlideOver :show="show" :title="t('app.shortcuts')" @close="close()"><template #content><divclass="sticky top-0 z-10 flex flex-col flex-shrink-0 overflow-x-auto bg-primary"@@ -76,7 +76,7 @@</details></div></template>- </SmartSlideOver>+ </HoppSmartSlideOver></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/app/ShortcutsPrompt.vue b/packages/hoppscotch-common/src/components/app/ShortcutsPrompt.vueindex 99cfbf431..1839a6bf3 100644--- a/packages/hoppscotch-common/src/components/app/ShortcutsPrompt.vue+++ b/packages/hoppscotch-common/src/components/app/ShortcutsPrompt.vue@@ -32,7 +32,7 @@</div></div></div>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('app.documentation')}`"to="https://docs.hoppscotch.io/features/response":icon="IconExternalLink"diff --git a/packages/hoppscotch-common/src/components/app/Sidenav.vue b/packages/hoppscotch-common/src/components/app/Sidenav.vueindex 212d997fc..7636a988e 100644--- a/packages/hoppscotch-common/src/components/app/Sidenav.vue+++ b/packages/hoppscotch-common/src/components/app/Sidenav.vue@@ -1,7 +1,7 @@<template><aside class="flex justify-between h-full md:flex-col"><nav class="flex flex-1 flex-nowrap md:flex-col md:flex-none bg-primary">- <SmartLink+ <HoppSmartLinkv-for="(navigation, index) in primaryNavigation":key="`navigation-${index}`"v-tippy="{@@ -20,7 +20,7 @@<span v-if="EXPAND_NAVIGATION" class="nav-title">{{ t(navigation.title) }}</span>- </SmartLink>+ </HoppSmartLink></nav></aside></template>diff --git a/packages/hoppscotch-common/src/components/app/Support.vue b/packages/hoppscotch-common/src/components/app/Support.vueindex 82e2aa8c7..cdf0668b3 100644--- a/packages/hoppscotch-common/src/components/app/Support.vue+++ b/packages/hoppscotch-common/src/components/app/Support.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('support.title')"@@ -8,7 +8,7 @@><template #body><div class="flex flex-col space-y-2">- <SmartItem+ <HoppSmartItem:icon="IconBook":label="t('app.documentation')"to="https://docs.hoppscotch.io"@@ -18,7 +18,7 @@blank@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconZap":label="t('app.keyboard_shortcuts')":description="t('support.shortcuts')"@@ -26,7 +26,7 @@active@click="showShortcuts()"/>- <SmartItem+ <HoppSmartItem:icon="IconGift":label="t('app.whats_new')"to="https://docs.hoppscotch.io/changelog"@@ -36,7 +36,7 @@blank@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconMessageCircle":label="t('app.chat_with_us')":description="t('support.chat')"@@ -44,7 +44,7 @@active@click="chatWithUs()"/>- <SmartItem+ <HoppSmartItem:icon="IconGitHub":label="t('app.github')"to="https://hoppscotch.io/github"@@ -54,7 +54,7 @@active@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconDiscord":label="t('app.join_discord_community')"to="https://hoppscotch.io/discord"@@ -64,7 +64,7 @@active@click="hideModal()"/>- <SmartItem+ <HoppSmartItem:icon="IconTwitter":label="t('app.twitter')"to="https://hoppscotch.io/twitter"@@ -76,7 +76,7 @@/></div></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/Add.vue b/packages/hoppscotch-common/src/components/collections/Add.vueindex a2f0575c0..1377f5621 100644--- a/packages/hoppscotch-common/src/components/collections/Add.vue+++ b/packages/hoppscotch-common/src/components/collections/Add.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('collection.new')"@@ -24,13 +24,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('action.save')":loading="loadingState"outline@click="addNewCollection"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -38,7 +38,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/AddFolder.vue b/packages/hoppscotch-common/src/components/collections/AddFolder.vueindex ba0d56fb4..11126d8da 100644--- a/packages/hoppscotch-common/src/components/collections/AddFolder.vue+++ b/packages/hoppscotch-common/src/components/collections/AddFolder.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('folder.new')"@@ -24,13 +24,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('action.save')":loading="loadingState"outline@click="addFolder"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -38,7 +38,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/AddRequest.vue b/packages/hoppscotch-common/src/components/collections/AddRequest.vueindex fba4fe5d9..23bcd729c 100644--- a/packages/hoppscotch-common/src/components/collections/AddRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/AddRequest.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('request.new')"@@ -22,13 +22,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('action.save')":loading="loadingState"outline@click="addRequest"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -36,7 +36,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/Collection.vue b/packages/hoppscotch-common/src/components/collections/Collection.vueindex 7a96c7387..466e5b54e 100644--- a/packages/hoppscotch-common/src/components/collections/Collection.vue+++ b/packages/hoppscotch-common/src/components/collections/Collection.vue@@ -29,14 +29,14 @@</span></span><div v-if="!hasNoTeamAccess" class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconFilePlus":title="t('request.new')"class="hidden group-hover:inline-flex"@click="emit('add-request')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconFolderPlus":title="t('folder.new')"@@ -51,7 +51,7 @@theme="popover":on-shown="() => tippyActions!.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -68,7 +68,7 @@@keyup.x="exportAction?.$el.click()"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemref="requestAction":icon="IconFilePlus":label="t('request.new')"@@ -80,7 +80,7 @@}"/>- <SmartItem+ <HoppSmartItemref="folderAction":icon="IconFolderPlus":label="t('folder.new')"@@ -92,7 +92,7 @@}"/>- <SmartItem+ <HoppSmartItemref="edit":icon="IconEdit":label="t('action.edit')"@@ -104,7 +104,7 @@}"/>- <SmartItem+ <HoppSmartItemref="exportAction":icon="IconDownload":label="t('export.title')"@@ -117,7 +117,7 @@}"/>- <SmartItem+ <HoppSmartItemref="deleteAction":icon="IconTrash2":label="t('action.delete')"diff --git a/packages/hoppscotch-common/src/components/collections/Edit.vue b/packages/hoppscotch-common/src/components/collections/Edit.vueindex 65b348977..f1e61d9ab 100644--- a/packages/hoppscotch-common/src/components/collections/Edit.vue+++ b/packages/hoppscotch-common/src/components/collections/Edit.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('collection.edit')"@@ -24,13 +24,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('action.save')":loading="loadingState"outline@click="saveCollection"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -38,7 +38,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/EditFolder.vue b/packages/hoppscotch-common/src/components/collections/EditFolder.vueindex 58ec7549c..eb6423deb 100644--- a/packages/hoppscotch-common/src/components/collections/EditFolder.vue+++ b/packages/hoppscotch-common/src/components/collections/EditFolder.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('folder.edit')"@@ -24,13 +24,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('action.save')":loading="loadingState"outline@click="editFolder"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -38,7 +38,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/EditRequest.vue b/packages/hoppscotch-common/src/components/collections/EditRequest.vueindex f08e8fbf1..6299ea0e8 100644--- a/packages/hoppscotch-common/src/components/collections/EditRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/EditRequest.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('modal.edit_request')"@@ -24,13 +24,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('action.save')":loading="loadingState"outline@click="editRequest"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -38,7 +38,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/ImportExport.vue b/packages/hoppscotch-common/src/components/collections/ImportExport.vueindex f224f7b20..90badc53f 100644--- a/packages/hoppscotch-common/src/components/collections/ImportExport.vue+++ b/packages/hoppscotch-common/src/components/collections/ImportExport.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('modal.collections')"@@ -7,7 +7,7 @@@close="hideModal"><template #actions>- <ButtonSecondary+ <HoppButtonSecondaryv-if="importerType !== null"v-tippy="{ theme: 'tooltip' }":title="t('action.go_back')"@@ -101,7 +101,7 @@</div></div></div>- <ButtonPrimary+ <HoppButtonPrimary:label="t('import.title')":disabled="enableImportButton":loading="importingMyCollections"@@ -109,9 +109,9 @@/></div><div v-else class="flex flex-col">- <SmartExpand>+ <HoppSmartExpand><template #body>- <SmartItem+ <HoppSmartItemv-for="(importer, index) in importerModules":key="`importer-${index}`":icon="importer.icon"@@ -119,10 +119,10 @@@click="importerType = index"/></template>- </SmartExpand>+ </HoppSmartExpand><hr /><div class="flex flex-col space-y-2">- <SmartItem+ <HoppSmartItemv-tippy="{ theme: 'tooltip' }":title="t('action.download_file')":icon="IconDownload"@@ -141,7 +141,7 @@"class="flex">- <SmartItem+ <HoppSmartItem:disabled="!currentUser? true@@ -158,7 +158,7 @@</div></div></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/MyCollections.vue b/packages/hoppscotch-common/src/components/collections/MyCollections.vueindex 1b3607a06..9d71a7c36 100644--- a/packages/hoppscotch-common/src/components/collections/MyCollections.vue+++ b/packages/hoppscotch-common/src/components/collections/MyCollections.vue@@ -8,21 +8,21 @@: 'top: var(--upper-primary-sticky-fold)'">- <ButtonSecondary+ <HoppButtonSecondary:icon="IconPlus":label="t('action.new')"class="!rounded-none"@click="emit('display-modal-add')"/><span class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/collections"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="!saveRequest"v-tippy="{ theme: 'tooltip' }":icon="IconArchive"@@ -210,7 +210,7 @@<span class="pb-4 text-center">{{ t("empty.collections") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('add.new')"filledoutline@@ -231,7 +231,7 @@<span class="pb-4 text-center">{{ t("empty.collection") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('add.new')"filledoutlinediff --git a/packages/hoppscotch-common/src/components/collections/Request.vue b/packages/hoppscotch-common/src/components/collections/Request.vueindex 24739fab1..cb2b0a328 100644--- a/packages/hoppscotch-common/src/components/collections/Request.vue+++ b/packages/hoppscotch-common/src/components/collections/Request.vue@@ -47,7 +47,7 @@</span></span><div v-if="!hasNoTeamAccess" class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-if="!saveRequest"v-tippy="{ theme: 'tooltip' }":icon="IconRotateCCW"@@ -63,7 +63,7 @@theme="popover":on-shown="() => tippyActions!.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -78,7 +78,7 @@@keyup.delete="deleteAction?.$el.click()"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemref="edit":icon="IconEdit":label="t('action.edit')"@@ -90,7 +90,7 @@}"/>- <SmartItem+ <HoppSmartItemref="duplicate":icon="IconCopy":label="t('action.duplicate')"@@ -103,7 +103,7 @@}"/>- <SmartItem+ <HoppSmartItemref="deleteAction":icon="IconTrash2":label="t('action.delete')"diff --git a/packages/hoppscotch-common/src/components/collections/SaveRequest.vue b/packages/hoppscotch-common/src/components/collections/SaveRequest.vueindex 91039a6e4..b342b44d6 100644--- a/packages/hoppscotch-common/src/components/collections/SaveRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/SaveRequest.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('collection.save_as')}`"@@ -43,13 +43,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="`${t('action.save')}`":loading="modalLoadingState"outline@click="saveRequestAs"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.cancel')}`"outlinefilled@@ -57,7 +57,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/TeamCollections.vue b/packages/hoppscotch-common/src/components/collections/TeamCollections.vueindex d45e7fbc4..2a4eb6790 100644--- a/packages/hoppscotch-common/src/components/collections/TeamCollections.vue+++ b/packages/hoppscotch-common/src/components/collections/TeamCollections.vue@@ -8,7 +8,7 @@: 'top: var(--upper-secondary-sticky-fold)'">- <ButtonSecondary+ <HoppButtonSecondaryv-if="hasNoTeamAccess"v-tippy="{ theme: 'tooltip' }"disabled@@ -17,7 +17,7 @@:title="t('team.no_access')":label="t('action.new')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:icon="IconPlus":label="t('action.new')"@@ -25,14 +25,14 @@@click="emit('display-modal-add')"/><span class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/collections"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="!saveRequest"v-tippy="{ theme: 'tooltip' }":disabled="@@ -206,7 +206,7 @@<span class="pb-4 text-center">{{ t("empty.collections") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryv-if="hasNoTeamAccess"v-tippy="{ theme: 'tooltip' }"disabled@@ -215,7 +215,7 @@:title="t('team.no_access')":label="t('add.new')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="t('add.new')"filled@@ -237,7 +237,7 @@<span class="pb-4 text-center">{{ t("empty.collection") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryv-if="hasNoTeamAccess"v-tippy="{ theme: 'tooltip' }"disabled@@ -246,7 +246,7 @@:title="t('team.no_access')":label="t('add.new')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="t('add.new')"filleddiff --git a/packages/hoppscotch-common/src/components/collections/TeamSelect.vue b/packages/hoppscotch-common/src/components/collections/TeamSelect.vueindex 8c540d43e..c4745017c 100644--- a/packages/hoppscotch-common/src/components/collections/TeamSelect.vue+++ b/packages/hoppscotch-common/src/components/collections/TeamSelect.vue@@ -1,6 +1,6 @@<template><div class="flex flex-1">- <SmartIntersection+ <HoppSmartIntersectionclass="flex flex-col flex-1"@intersecting="onTeamSelectIntersect">@@ -16,13 +16,13 @@:title="`${t('collection.select_team')}`"class="bg-transparent border-b border-dividerLight select-wrapper">- <ButtonSecondary+ <HoppButtonSecondaryv-if="collectionsType.selectedTeam":icon="IconUsers":label="collectionsType.selectedTeam.name"class="flex-1 !justify-start pr-8 rounded-none"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="`${t('collection.select_team')}`"class="flex-1 !justify-start pr-8 rounded-none"@@ -39,11 +39,11 @@v-if="isTeamListLoading && myTeams.length === 0"class="flex flex-col items-center justify-center flex-1 p-2">- <SmartSpinner class="my-2" />+ <HoppSmartSpinner class="my-2" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><div v-else-if="myTeams.length > 0" class="flex flex-col">- <SmartItem+ <HoppSmartItemv-for="(team, index) in myTeams":key="`team-${index}`":label="team.name"@@ -62,7 +62,7 @@"/><hr />- <SmartItem+ <HoppSmartItem:icon="IconPlus":label="t('team.create_new')"@click="@@ -86,7 +86,7 @@<span class="pb-4 text-center">{{ t("empty.teams") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('team.create_new')"filledoutline@@ -101,7 +101,7 @@</div></template></tippy>- </SmartIntersection>+ </HoppSmartIntersection></div></template>diff --git a/packages/hoppscotch-common/src/components/collections/graphql/Add.vue b/packages/hoppscotch-common/src/components/collections/graphql/Add.vueindex 6415413f7..190248af9 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/Add.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/Add.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('collection.new')}`"@@ -24,12 +24,12 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="`${t('action.save')}`"outline@click="addNewCollection"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.cancel')}`"outlinefilled@@ -37,7 +37,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/graphql/AddFolder.vue b/packages/hoppscotch-common/src/components/collections/graphql/AddFolder.vueindex 5d080fb54..1c4ab322d 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/AddFolder.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/AddFolder.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('folder.new')"@@ -24,8 +24,12 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary :label="t('action.save')" outline @click="addFolder" />- <ButtonSecondary+ <HoppButtonPrimary+ :label="t('action.save')"+ outline+ @click="addFolder"+ />+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -33,7 +37,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue b/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vueindex 9d918169e..ec8fb7698 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/AddRequest.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('request.new')"@@ -24,8 +24,12 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary :label="t('action.save')" outline @click="addRequest" />- <ButtonSecondary+ <HoppButtonPrimary+ :label="t('action.save')"+ outline+ @click="addRequest"+ />+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -33,7 +37,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/graphql/Collection.vue b/packages/hoppscotch-common/src/components/collections/graphql/Collection.vueindex d68775b83..4776a15bf 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/Collection.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/Collection.vue@@ -29,7 +29,7 @@</span></span><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconFilePlus":title="t('request.new')"@@ -40,7 +40,7 @@})"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconFolderPlus":title="t('folder.new')"@@ -59,7 +59,7 @@theme="popover":on-shown="() => tippyActions.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -75,7 +75,7 @@@keyup.delete="deleteAction.$el.click()"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemref="requestAction":icon="IconFilePlus":label="`${t('request.new')}`"@@ -89,7 +89,7 @@}"/>- <SmartItem+ <HoppSmartItemref="folderAction":icon="IconFolderPlus":label="`${t('folder.new')}`"@@ -103,7 +103,7 @@}"/>- <SmartItem+ <HoppSmartItemref="edit":icon="IconEdit":label="`${t('action.edit')}`"@@ -115,7 +115,7 @@}"/>- <SmartItem+ <HoppSmartItemref="deleteAction":icon="IconTrash2":label="`${t('action.delete')}`"@@ -186,7 +186,7 @@<span class="pb-4 text-center">{{ t("empty.collection") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('add.new')"filledoutline@@ -199,7 +199,7 @@</div></div></div>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmRemove":title="`${t('confirm.remove_collection')}`"@hide-modal="confirmRemove = false"diff --git a/packages/hoppscotch-common/src/components/collections/graphql/Edit.vue b/packages/hoppscotch-common/src/components/collections/graphql/Edit.vueindex 3058d6d55..a5a3e1049 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/Edit.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/Edit.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('collection.edit')}`"@@ -24,12 +24,12 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="`${t('action.save')}`"outline@click="saveCollection"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.cancel')}`"outlinefilled@@ -37,7 +37,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/graphql/EditFolder.vue b/packages/hoppscotch-common/src/components/collections/graphql/EditFolder.vueindex 0de42b604..2f069b522 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/EditFolder.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/EditFolder.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('folder.edit')}`"@@ -24,12 +24,12 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="`${t('action.save')}`"outline@click="editFolder"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.cancel')}`"outlinefilled@@ -37,7 +37,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue b/packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vueindex 9771a339a..0302523d3 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/EditRequest.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('modal.edit_request')}`"@@ -24,12 +24,12 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="`${t('action.save')}`"outline@click="saveRequest"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.cancel')}`"outlinefilled@@ -37,7 +37,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/graphql/Folder.vue b/packages/hoppscotch-common/src/components/collections/graphql/Folder.vueindex 7a2f799d9..701dfa0df 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/Folder.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/Folder.vue@@ -29,14 +29,14 @@</span></span><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconFilePlus":title="t('request.new')"class="hidden group-hover:inline-flex"@click="emit('add-request', { path: folderPath })"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconFolderPlus":title="t('folder.new')"@@ -51,7 +51,7 @@theme="popover":on-shown="() => tippyActions.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -67,7 +67,7 @@@keyup.delete="deleteAction.$el.click()"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemref="requestAction":icon="IconFilePlus":label="`${t('request.new')}`"@@ -79,7 +79,7 @@}"/>- <SmartItem+ <HoppSmartItemref="folderAction":icon="IconFolderPlus":label="`${t('folder.new')}`"@@ -91,7 +91,7 @@}"/>- <SmartItem+ <HoppSmartItemref="edit":icon="IconEdit":label="`${t('action.edit')}`"@@ -103,7 +103,7 @@}"/>- <SmartItem+ <HoppSmartItemref="deleteAction":icon="IconTrash2":label="`${t('action.delete')}`"@@ -181,7 +181,7 @@</div></div></div>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmRemove":title="`${t('confirm.remove_folder')}`"@hide-modal="confirmRemove = false"diff --git a/packages/hoppscotch-common/src/components/collections/graphql/ImportExport.vue b/packages/hoppscotch-common/src/components/collections/graphql/ImportExport.vueindex 9874609cf..190ec8a3d 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/ImportExport.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/ImportExport.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('modal.collections')}`"@@ -9,7 +9,7 @@<template #actions><span><tippy interactive trigger="click" theme="popover">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -22,7 +22,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItem:icon="IconGithub":label="t('import.from_gist')"@click="@@ -42,7 +42,7 @@: undefined">- <SmartItem+ <HoppSmartItem:disabled="!currentUser? true@@ -67,7 +67,7 @@</template><template #body><div class="flex flex-col space-y-2">- <SmartItem+ <HoppSmartItem:icon="IconFolderPlus":label="t('import.from_json')"@click="openDialogChooseFileToImportFrom"@@ -80,7 +80,7 @@@change="importFromJSON"/><hr />- <SmartItem+ <HoppSmartItemv-tippy="{ theme: 'tooltip' }":title="t('action.download_file')":icon="IconDownload"@@ -89,7 +89,7 @@/></div></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/collections/graphql/Request.vue b/packages/hoppscotch-common/src/components/collections/graphql/Request.vueindex ac16a9c72..0c4225404 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/Request.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/Request.vue@@ -28,7 +28,7 @@</span></span><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-if="!saveRequest"v-tippy="{ theme: 'tooltip' }":icon="IconRotateCCW"@@ -44,7 +44,7 @@theme="popover":on-shown="() => tippyActions.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -59,7 +59,7 @@@keyup.delete="deleteAction.$el.click()"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemref="edit":icon="IconEdit":label="`${t('action.edit')}`"@@ -75,7 +75,7 @@}"/>- <SmartItem+ <HoppSmartItemref="duplicate":icon="IconCopy":label="`${t('action.duplicate')}`"@@ -91,7 +91,7 @@}"/>- <SmartItem+ <HoppSmartItemref="deleteAction":icon="IconTrash2":label="`${t('action.delete')}`"@@ -109,7 +109,7 @@</span></div></div>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmRemove":title="`${t('confirm.remove_request')}`"@hide-modal="confirmRemove = false"diff --git a/packages/hoppscotch-common/src/components/collections/graphql/index.vue b/packages/hoppscotch-common/src/components/collections/graphql/index.vueindex 23887a972..6bf7a715b 100644--- a/packages/hoppscotch-common/src/components/collections/graphql/index.vue+++ b/packages/hoppscotch-common/src/components/collections/graphql/index.vue@@ -16,21 +16,21 @@<divclass="flex justify-between flex-1 flex-shrink-0 border-y bg-primary border-dividerLight">- <ButtonSecondary+ <HoppButtonSecondary:icon="IconPlus":label="t('action.new')"class="!rounded-none"@click="displayModalAdd(true)"/><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/collections"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="!saveRequest"v-tippy="{ theme: 'tooltip' }":title="t('modal.import_export')"@@ -73,7 +73,7 @@<span class="pb-4 text-center">{{ t("empty.collections") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('add.new')"filledoutlinediff --git a/packages/hoppscotch-common/src/components/collections/index.vue b/packages/hoppscotch-common/src/components/collections/index.vueindex b45695993..d8e360c29 100644--- a/packages/hoppscotch-common/src/components/collections/index.vue+++ b/packages/hoppscotch-common/src/components/collections/index.vue@@ -15,7 +15,7 @@:disabled="collectionsType.type === 'team-collections'"/></div>- <SmartTabs+ <HoppSmartTabsv-model="selectedCollectionTab"render-inactive-tabs:styles="`@@ -27,7 +27,7 @@}`">- <SmartTab+ <HoppSmartTab:id="'my-collections'":label="`${t('collection.my_collections')}`">@@ -53,8 +53,8 @@@display-modal-add="displayModalAdd(true)"@display-modal-import-export="displayModalImportExport(true)"/>- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'team-collections'":label="`${t('collection.team_collections')}`">@@ -99,8 +99,8 @@@display-modal-add="displayModalAdd(true)"@display-modal-import-export="displayModalImportExport(true)"/>- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs><CollectionsAdd:show="showModalAdd":loading-state="modalLoadingState"@@ -140,7 +140,7 @@@submit="updateEditingRequest"@hide-modal="displayModalEditRequest(false)"/>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="showConfirmModal":title="confirmModalTitle":loading-state="modalLoadingState"diff --git a/packages/hoppscotch-common/src/components/environments/ChooseType.vue b/packages/hoppscotch-common/src/components/environments/ChooseType.vueindex ddfa2d620..8ed0b78e6 100644--- a/packages/hoppscotch-common/src/components/environments/ChooseType.vue+++ b/packages/hoppscotch-common/src/components/environments/ChooseType.vue@@ -1,19 +1,19 @@<template><div>- <SmartTabs+ <HoppSmartTabs:id="'environments_tab'"v-model="selectedEnvironmentTab"render-inactive-tabs>- <SmartTab+ <HoppSmartTab:id="'my-environments'":label="`${t('environment.my_environments')}`"/>- <SmartTab+ <HoppSmartTab:id="'team-environments'":label="`${t('environment.team_environments')}`">- <SmartIntersection @intersecting="onTeamSelectIntersect">+ <HoppSmartIntersection @intersecting="onTeamSelectIntersect"><tippyinteractivetrigger="click"@@ -26,13 +26,13 @@:title="`${t('collection.select_team')}`"class="bg-transparent border-b border-dividerLight select-wrapper">- <ButtonSecondary+ <HoppButtonSecondaryv-if="environmentType.selectedTeam":icon="IconUsers":label="environmentType.selectedTeam.name"class="flex-1 !justify-start pr-8 rounded-none"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="`${t('collection.select_team')}`"class="flex-1 !justify-start pr-8 rounded-none"@@ -45,7 +45,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="(team, index) in myTeams":key="`team-${index}`":label="team.name"@@ -68,9 +68,9 @@</div></template></tippy>- </SmartIntersection>- </SmartTab>- </SmartTabs>+ </HoppSmartIntersection>+ </HoppSmartTab>+ </HoppSmartTabs></div></template>diff --git a/packages/hoppscotch-common/src/components/environments/ImportExport.vue b/packages/hoppscotch-common/src/components/environments/ImportExport.vueindex 8e7f12da2..89a186449 100644--- a/packages/hoppscotch-common/src/components/environments/ImportExport.vue+++ b/packages/hoppscotch-common/src/components/environments/ImportExport.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('environment.title')}`"@@ -14,7 +14,7 @@theme="popover":on-shown="() => tippyActions!.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -26,7 +26,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItem:icon="IconGithub":label="t('import.from_gist')"@click="@@ -46,7 +46,7 @@: undefined">- <SmartItem+ <HoppSmartItem:disabled="!currentUser? true@@ -71,11 +71,11 @@</template><template #body><div v-if="loading" class="flex flex-col items-center justify-center p-4">- <SmartSpinner class="my-4" />+ <HoppSmartSpinner class="my-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><div v-else class="flex flex-col space-y-2">- <SmartItem+ <HoppSmartItem:icon="IconFolderPlus":label="t('import.from_json')"@click="openDialogChooseFileToImportFrom"@@ -88,7 +88,7 @@@change="importFromJSON"/><hr />- <SmartItem+ <HoppSmartItemv-tippy="{ theme: 'tooltip' }":title="t('action.download_file')":icon="IconDownload"@@ -97,7 +97,7 @@/></div></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/environments/index.vue b/packages/hoppscotch-common/src/components/environments/index.vueindex 61c6435bd..8afe7d2ee 100644--- a/packages/hoppscotch-common/src/components/environments/index.vue+++ b/packages/hoppscotch-common/src/components/environments/index.vue@@ -15,14 +15,14 @@:title="`${t('environment.select')}`"class="bg-transparent border-b border-dividerLight select-wrapper">- <ButtonSecondary+ <HoppButtonSecondaryv-if="selectedEnv.type === 'MY_ENV' && selectedEnv.index !== undefined":label="myEnvironments[selectedEnv.index].name"class="flex-1 !justify-start pr-8 rounded-none"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="`${t('environment.select')}`"class="flex-1 !justify-start pr-8 rounded-none"@@ -36,7 +36,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItem:label="`${t('environment.no_environment')}`":info-icon="selectedEnvironmentIndex.type !== 'MY_ENV'@@ -52,7 +52,7 @@"/><hr v-if="myEnvironments.length > 0" />- <SmartItem+ <HoppSmartItemv-for="(gen, index) in myEnvironments":key="`gen-${index}`":label="gen.name"@@ -74,12 +74,12 @@:title="`${t('environment.select')}`"class="bg-transparent border-b border-dividerLight select-wrapper">- <ButtonSecondary+ <HoppButtonSecondaryv-if="selectedEnv.name":label="selectedEnv.name"class="flex-1 !justify-start pr-8 rounded-none"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="`${t('environment.select')}`"class="flex-1 !justify-start pr-8 rounded-none"@@ -92,7 +92,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItem:label="`${t('environment.no_environment')}`":info-icon="selectedEnvironmentIndex.type !== 'TEAM_ENV'@@ -111,7 +111,7 @@v-if="loading"class="flex flex-col items-center justify-center p-4">- <SmartSpinner class="my-4" />+ <HoppSmartSpinner class="my-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><hr v-if="teamEnvironmentList.length > 0" />@@ -119,7 +119,7 @@v-if="environmentType.selectedTeam !== undefined"class="flex flex-col">- <SmartItem+ <HoppSmartItemv-for="(gen, index) in teamEnvironmentList":key="`gen-team-${index}`":label="gen.environment.name"diff --git a/packages/hoppscotch-common/src/components/environments/my/Details.vue b/packages/hoppscotch-common/src/components/environments/my/Details.vueindex 497e8fd54..6e9f90cc5 100644--- a/packages/hoppscotch-common/src/components/environments/my/Details.vue+++ b/packages/hoppscotch-common/src/components/environments/my/Details.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t(`environment.${action}`)"@@ -28,13 +28,13 @@{{ t("environment.variable_list") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="clearIcon"@click="clearContent()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconPlus":title="t('add.new')"@@ -69,7 +69,7 @@:name="'value' + index"/><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryid="variable"v-tippy="{ theme: 'tooltip' }":title="t('action.remove')"@@ -92,7 +92,7 @@<span class="pb-4 text-center">{{ t("empty.environments") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('add.new')}`"filledclass="mb-4"@@ -104,12 +104,12 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="`${t('action.save')}`"outline@click="saveEnvironment"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.cancel')}`"outlinefilled@@ -117,7 +117,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/environments/my/Environment.vue b/packages/hoppscotch-common/src/components/environments/my/Environment.vueindex de2669a2f..32e7dd670 100644--- a/packages/hoppscotch-common/src/components/environments/my/Environment.vue+++ b/packages/hoppscotch-common/src/components/environments/my/Environment.vue@@ -33,7 +33,7 @@theme="popover":on-shown="() => tippyActions!.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -53,7 +53,7 @@"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemref="edit":icon="IconEdit":label="`${t('action.edit')}`"@@ -65,7 +65,7 @@}"/>- <SmartItem+ <HoppSmartItemref="duplicate":icon="IconCopy":label="`${t('action.duplicate')}`"@@ -77,7 +77,7 @@}"/>- <SmartItem+ <HoppSmartItemv-if="environmentIndex !== 'Global'"ref="deleteAction":icon="IconTrash2"@@ -94,7 +94,7 @@</template></tippy></span>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmRemove":title="`${t('confirm.remove_environment')}`"@hide-modal="confirmRemove = false"@@ -122,7 +122,7 @@ import {import { useI18n } from "@composables/i18n"import { useToast } from "@composables/toast"import { TippyComponent } from "vue-tippy"-import SmartItem from "@hoppscotch/ui/src/components/smart/Item.vue"+import { HoppSmartItem } from "@hoppscotch/ui"const t = useI18n()const toast = useToast()@@ -140,9 +140,9 @@ const confirmRemove = ref(false)const tippyActions = ref<TippyComponent | null>(null)const options = ref<TippyComponent | null>(null)-const edit = ref<typeof SmartItem>()-const duplicate = ref<typeof SmartItem>()-const deleteAction = ref<typeof SmartItem>()+const edit = ref<typeof HoppSmartItem>()+const duplicate = ref<typeof HoppSmartItem>()+const deleteAction = ref<typeof HoppSmartItem>()const removeEnvironment = () => {if (props.environmentIndex === null) returndiff --git a/packages/hoppscotch-common/src/components/environments/my/index.vue b/packages/hoppscotch-common/src/components/environments/my/index.vueindex b48390e6e..fde550b90 100644--- a/packages/hoppscotch-common/src/components/environments/my/index.vue+++ b/packages/hoppscotch-common/src/components/environments/my/index.vue@@ -3,21 +3,21 @@<divclass="sticky z-10 flex justify-between flex-1 flex-shrink-0 overflow-x-auto border-b top-upperPrimaryStickyFold border-dividerLight bg-primary">- <ButtonSecondary+ <HoppButtonSecondary:icon="IconPlus":label="`${t('action.new')}`"class="!rounded-none"@click="displayModalAdd(true)"/><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/environments"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconArchive":title="t('modal.import_export')"@@ -45,7 +45,7 @@<span class="pb-4 text-center">{{ t("empty.environments") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('add.new')}`"filledoutlinediff --git a/packages/hoppscotch-common/src/components/environments/teams/Details.vue b/packages/hoppscotch-common/src/components/environments/teams/Details.vueindex b7993b839..ac00d8ca0 100644--- a/packages/hoppscotch-common/src/components/environments/teams/Details.vue+++ b/packages/hoppscotch-common/src/components/environments/teams/Details.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t(`environment.${action}`)"@@ -29,13 +29,13 @@{{ t("environment.variable_list") }}</label><div v-if="!isViewer" class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="clearIcon"@click="clearContent()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconPlus":title="t('add.new')"@@ -73,7 +73,7 @@:readonly="isViewer"/><div v-if="!isViewer" class="flex">- <ButtonSecondary+ <HoppButtonSecondaryid="variable"v-tippy="{ theme: 'tooltip' }":title="t('action.remove')"@@ -96,14 +96,14 @@<span class="pb-4 text-center">{{ t("empty.environments") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryv-if="isViewer"disabled:label="`${t('add.new')}`"filledclass="mb-4"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="`${t('add.new')}`"filled@@ -116,13 +116,13 @@</template><template v-if="!isViewer" #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="`${t('action.save')}`":loading="isLoading"outline@click="saveEnvironment"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.cancel')}`"outlinefilled@@ -130,7 +130,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/environments/teams/Environment.vue b/packages/hoppscotch-common/src/components/environments/teams/Environment.vueindex 086285003..9b20e960a 100644--- a/packages/hoppscotch-common/src/components/environments/teams/Environment.vue+++ b/packages/hoppscotch-common/src/components/environments/teams/Environment.vue@@ -26,7 +26,7 @@theme="popover":on-shown="() => tippyActions!.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -42,7 +42,7 @@@keyup.delete="deleteAction!.$el.click()"@keyup.escape="options!.tippy().hide()">- <SmartItem+ <HoppSmartItemref="edit":icon="IconEdit":label="`${t('action.edit')}`"@@ -54,7 +54,7 @@}"/>- <SmartItem+ <HoppSmartItemref="duplicate":icon="IconCopy":label="`${t('action.duplicate')}`"@@ -66,7 +66,7 @@}"/>- <SmartItem+ <HoppSmartItemref="deleteAction":icon="IconTrash2":label="`${t('action.delete')}`"@@ -82,7 +82,7 @@</template></tippy></span>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmRemove":title="`${t('confirm.remove_environment')}`"@hide-modal="confirmRemove = false"@@ -108,7 +108,7 @@ import IconCopy from "~icons/lucide/copy"import IconTrash2 from "~icons/lucide/trash-2"import IconMoreVertical from "~icons/lucide/more-vertical"import { TippyComponent } from "vue-tippy"-import SmartItem from "@hoppscotch/ui/src/components/smart/Item.vue"+import { HoppSmartItem } from "@hoppscotch/ui"const t = useI18n()const toast = useToast()@@ -126,9 +126,9 @@ const confirmRemove = ref(false)const tippyActions = ref<TippyComponent | null>(null)const options = ref<TippyComponent | null>(null)-const edit = ref<typeof SmartItem>()-const duplicate = ref<typeof SmartItem>()-const deleteAction = ref<typeof SmartItem>()+const edit = ref<typeof HoppSmartItem>()+const duplicate = ref<typeof HoppSmartItem>()+const deleteAction = ref<typeof HoppSmartItem>()const removeEnvironment = () => {pipe(diff --git a/packages/hoppscotch-common/src/components/environments/teams/index.vue b/packages/hoppscotch-common/src/components/environments/teams/index.vueindex f3557660a..3e77f7218 100644--- a/packages/hoppscotch-common/src/components/environments/teams/index.vue+++ b/packages/hoppscotch-common/src/components/environments/teams/index.vue@@ -3,7 +3,7 @@<divclass="sticky z-10 flex justify-between flex-1 flex-shrink-0 overflow-x-auto border-b top-upperSecondaryStickyFold border-dividerLight bg-primary">- <ButtonSecondary+ <HoppButtonSecondaryv-if="team === undefined || team.myRole === 'VIEWER'"v-tippy="{ theme: 'tooltip' }"disabled@@ -12,7 +12,7 @@:title="t('team.no_access')":label="t('action.new')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:icon="IconPlus":label="`${t('action.new')}`"@@ -20,21 +20,21 @@@click="displayModalAdd(true)"/><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/environments"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="team !== undefined && team.myRole === 'VIEWER'"v-tippy="{ theme: 'tooltip' }"disabled:icon="IconArchive":title="t('modal.import_export')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-elsev-tippy="{ theme: 'tooltip' }":icon="IconArchive"@@ -56,7 +56,7 @@<span class="pb-4 text-center">{{ t("empty.environments") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryv-if="team === undefined || team.myRole === 'VIEWER'"v-tippy="{ theme: 'tooltip' }"disabled@@ -66,7 +66,7 @@:title="t('team.no_access')":label="t('action.new')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="`${t('add.new')}`"filled@@ -87,7 +87,7 @@/></div><div v-if="loading" class="flex flex-col items-center justify-center p-4">- <SmartSpinner class="my-4" />+ <HoppSmartSpinner class="my-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><divdiff --git a/packages/hoppscotch-common/src/components/firebase/Login.vue b/packages/hoppscotch-common/src/components/firebase/Login.vueindex 67397827e..f37409e60 100644--- a/packages/hoppscotch-common/src/components/firebase/Login.vue+++ b/packages/hoppscotch-common/src/components/firebase/Login.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('auth.login_to_hoppscotch')}`"@@ -8,25 +8,25 @@><template #body><div v-if="mode === 'sign-in'" class="flex flex-col space-y-2">- <SmartItem+ <HoppSmartItem:loading="signingInWithGitHub":icon="IconGithub":label="`${t('auth.continue_with_github')}`"@click="signInWithGithub"/>- <SmartItem+ <HoppSmartItem:loading="signingInWithGoogle":icon="IconGoogle":label="`${t('auth.continue_with_google')}`"@click="signInWithGoogle"/>- <SmartItem+ <HoppSmartItem:loading="signingInWithMicrosoft":icon="IconMicrosoft":label="`${t('auth.continue_with_microsoft')}`"@click="signInWithMicrosoft"/>- <SmartItem+ <HoppSmartItem:icon="IconEmail":label="`${t('auth.continue_with_email')}`"@click="mode = 'email'"@@ -55,7 +55,7 @@{{ t("auth.email") }}</label></div>- <ButtonPrimary+ <HoppButtonPrimary:loading="signingInWithEmail"type="submit":label="`${t('auth.send_magic_link')}`"@@ -78,14 +78,14 @@<template #footer><div v-if="mode === 'sign-in'" class="text-secondaryLight text-tiny">By signing in, you are agreeing to our- <SmartAnchor+ <HoppSmartAnchorclass="link"to="https://docs.hoppscotch.io/terms"blanklabel="Terms of Service"/>and- <SmartAnchor+ <HoppSmartAnchorclass="link"to="https://docs.hoppscotch.io/privacy"blank@@ -93,7 +93,7 @@/></div><div v-if="mode === 'email'">- <ButtonSecondary+ <HoppButtonSecondary:label="t('auth.all_sign_in_options')":icon="IconArrowLeft"class="!p-0"@@ -104,20 +104,20 @@v-if="mode === 'email-sent'"class="flex justify-between flex-1 text-secondaryLight">- <SmartAnchor+ <HoppSmartAnchorclass="link":label="t('auth.re_enter_email')":icon="IconArrowLeft"@click="mode = 'email'"/>- <SmartAnchor+ <HoppSmartAnchorclass="link":label="`${t('action.dismiss')}`"@click="hideModal"/></div></template>- </SmartModal>+ </HoppSmartModal></template><script lang="ts">diff --git a/packages/hoppscotch-common/src/components/firebase/Logout.vue b/packages/hoppscotch-common/src/components/firebase/Logout.vueindex 4a808e0a6..8da86d6ad 100644--- a/packages/hoppscotch-common/src/components/firebase/Logout.vue+++ b/packages/hoppscotch-common/src/components/firebase/Logout.vue@@ -1,6 +1,6 @@<template><div class="flex" @click="OpenLogoutModal()">- <SmartItem+ <HoppSmartItemref="logoutItem":icon="IconLogOut":label="`${t('auth.logout')}`"@@ -8,7 +8,7 @@:shortcut="shortcut"@click="OpenLogoutModal()"/>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmLogout":title="`${t('confirm.logout')}`"@hide-modal="confirmLogout = false"diff --git a/packages/hoppscotch-common/src/components/graphql/Authorization.vue b/packages/hoppscotch-common/src/components/graphql/Authorization.vueindex f6b4784ae..0ece4999c 100644--- a/packages/hoppscotch-common/src/components/graphql/Authorization.vue+++ b/packages/hoppscotch-common/src/components/graphql/Authorization.vue@@ -14,7 +14,10 @@:on-shown="() => tippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary class="pr-8 ml-2 rounded-none" :label="authName" />+ <HoppButtonSecondary+ class="pr-8 ml-2 rounded-none"+ :label="authName"+ /></span><template #content="{ hide }"><div@@ -23,7 +26,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemlabel="None":icon="authName === 'None' ? IconCircleDot : IconCircle":active="authName === 'None'"@@ -34,7 +37,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="Basic Auth":icon="authName === 'Basic Auth' ? IconCircleDot : IconCircle":active="authName === 'Basic Auth'"@@ -45,7 +48,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="Bearer Token":icon="authName === 'Bearer' ? IconCircleDot : IconCircle":active="authName === 'Bearer'"@@ -56,7 +59,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="OAuth 2.0":icon="authName === 'OAuth 2.0' ? IconCircleDot : IconCircle":active="authName === 'OAuth 2.0'"@@ -67,7 +70,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="API key":icon="authName === 'API key' ? IconCircleDot : IconCircle":active="authName === 'API key'"@@ -83,27 +86,27 @@</tippy></span><div class="flex">- <!-- <SmartCheckbox+ <!-- <HoppSmartCheckbox:on="!URLExcludes.auth"@change="setExclude('auth', !$event)">{{ t("authorization.include_in_url") }}- </SmartCheckbox> -->- <SmartCheckbox+ </HoppSmartCheckbox> -->+ <HoppSmartCheckbox:on="authActive"class="px-2"@change="authActive = !authActive">{{ t("state.enabled") }}- </SmartCheckbox>- <ButtonSecondary+ </HoppSmartCheckbox>+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/authorization"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear')":icon="IconTrash2"@@ -124,7 +127,7 @@<span class="pb-4 text-center">{{ t("empty.authorization") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryoutline:label="t('app.documentation')"to="https://docs.hoppscotch.io/features/authorization"@@ -180,7 +183,7 @@:on-shown="() => authTippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondary:label="addTo || t('state.none')"class="pr-8 ml-2 rounded-none"/>@@ -192,7 +195,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItem:icon="addTo === 'Headers' ? IconCircleDot : IconCircle":active="addTo === 'Headers'":label="'Headers'"@@ -203,7 +206,7 @@}"/>- <SmartItem+ <HoppSmartItem:icon="addTo === 'Query params' ? IconCircleDot : IconCircle"@@ -229,7 +232,7 @@<div class="pb-2 text-secondaryLight">{{ t("helpers.authorization") }}</div>- <SmartAnchor+ <HoppSmartAnchorclass="link":label="t('authorization.learn')":icon="IconExternalLink"diff --git a/packages/hoppscotch-common/src/components/graphql/Request.vue b/packages/hoppscotch-common/src/components/graphql/Request.vueindex f42bbf62a..c12da4055 100644--- a/packages/hoppscotch-common/src/components/graphql/Request.vue+++ b/packages/hoppscotch-common/src/components/graphql/Request.vue@@ -14,7 +14,7 @@:disabled="connected"@keyup.enter="onConnectClick"/>- <ButtonPrimary+ <HoppButtonPrimaryid="get"name="get":label="!connected ? t('action.connect') : t('action.disconnect')"diff --git a/packages/hoppscotch-common/src/components/graphql/RequestOptions.vue b/packages/hoppscotch-common/src/components/graphql/RequestOptions.vueindex 0dcee6914..a5007156e 100644--- a/packages/hoppscotch-common/src/components/graphql/RequestOptions.vue+++ b/packages/hoppscotch-common/src/components/graphql/RequestOptions.vue@@ -1,11 +1,11 @@<template><div class="flex flex-col flex-1 h-full">- <SmartTabs+ <HoppSmartTabsv-model="selectedOptionTab"styles="sticky overflow-x-auto flex-shrink-0 bg-primary top-upperPrimaryStickyFold z-10"render-inactive-tabs>- <SmartTab+ <HoppSmartTab:id="'query'":label="`${t('tab.query')}`":indicator="gqlQueryString && gqlQueryString.length > 0 ? true : false"@@ -17,7 +17,7 @@{{ t("request.query") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', delay: [500, 20], allowHTML: true }":title="`${t('request.run'@@ -27,7 +27,7 @@class="rounded-none !text-accent !hover:text-accentDark"@click="runQuery()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', delay: [500, 20], allowHTML: true }":title="`${t('request.save'@@ -37,33 +37,33 @@class="rounded-none"@click="saveRequest"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/graphql"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearGQLQuery()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabledQuery }":icon="IconWrapText"@click.prevent="linewrapEnabledQuery = !linewrapEnabledQuery"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.prettify')":icon="prettifyQueryIcon"@click="prettifyQuery"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.copy')":icon="copyQueryIcon"@@ -72,8 +72,8 @@</div></div><div ref="queryEditor" class="flex flex-col flex-1"></div>- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'variables'":label="`${t('tab.variables')}`":indicator="variableString && variableString.length > 0 ? true : false"@@ -85,20 +85,20 @@{{ t("request.variables") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/graphql"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearGQLVariables()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabledVariable }"@@ -107,13 +107,13 @@linewrapEnabledVariable = !linewrapEnabledVariable"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.prettify')":icon="prettifyVariablesIcon"@click="prettifyVariableString"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.copy')":icon="copyVariablesIcon"@@ -122,8 +122,8 @@</div></div><div ref="variableEditor" class="flex flex-col flex-1"></div>- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'headers'":label="`${t('tab.headers')}`":info="activeGQLHeadersCount === 0 ? null : `${activeGQLHeadersCount}`"@@ -135,34 +135,34 @@{{ t("tab.headers") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/graphql"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearContent()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }":icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.bulk_mode')":icon="IconEdit":class="{ '!text-accent': bulkMode }"@click="bulkMode = !bulkMode"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('add.new')":icon="IconPlus"@@ -192,7 +192,7 @@class="flex border-b divide-x divide-dividerLight border-dividerLight draggable-content group"><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{theme: 'tooltip',delay: [500, 20],@@ -210,7 +210,7 @@tabindex="-1"/></span>- <SmartAutoComplete+ <HoppSmartAutoComplete:placeholder="`${t('count.header', { count: index + 1 })}`":source="commonHeaders":spellcheck="false"@@ -250,7 +250,7 @@"/><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="header.hasOwnProperty('active')@@ -278,7 +278,7 @@/></span><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.remove')":icon="IconTrash"@@ -302,7 +302,7 @@<span class="pb-4 text-center">{{ t("empty.headers") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('add.new')}`"filled:icon="IconPlus"@@ -311,11 +311,11 @@/></div></div>- </SmartTab>- <SmartTab :id="'authorization'" :label="`${t('tab.authorization')}`">+ </HoppSmartTab>+ <HoppSmartTab :id="'authorization'" :label="`${t('tab.authorization')}`"><GraphqlAuthorization />- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs><CollectionsSaveRequestmode="graphql":show="showSaveRequestModal"@@ -354,7 +354,7 @@ import {parseRawKeyValueEntriesE,RawKeyValueEntry,} from "@hoppscotch/data"-import draggable from "vuedraggable"+import draggable from "vuedraggable-es"import { clone, cloneDeep, isEqual } from "lodash-es"import { refAutoReset } from "@vueuse/core"import { copyToClipboard } from "~/helpers/utils/clipboard"diff --git a/packages/hoppscotch-common/src/components/graphql/Response.vue b/packages/hoppscotch-common/src/components/graphql/Response.vueindex 2826fcf21..b0138d782 100644--- a/packages/hoppscotch-common/src/components/graphql/Response.vue+++ b/packages/hoppscotch-common/src/components/graphql/Response.vue@@ -4,7 +4,7 @@v-if="responseString === 'loading'"class="flex flex-col items-center justify-center p-4 text-secondaryLight">- <SmartSpinner class="my-4" />+ <HoppSmartSpinner class="my-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><div v-else-if="responseString" class="flex flex-col flex-1">@@ -15,14 +15,14 @@{{ t("response.title") }}</label><div class="flex items-center">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }":icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t('action.download_file'@@ -30,7 +30,7 @@:icon="downloadResponseIcon"@click="downloadResponse"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t('action.copy'diff --git a/packages/hoppscotch-common/src/components/graphql/Sidebar.vue b/packages/hoppscotch-common/src/components/graphql/Sidebar.vueindex d8aa1fffa..274c3ba00 100644--- a/packages/hoppscotch-common/src/components/graphql/Sidebar.vue+++ b/packages/hoppscotch-common/src/components/graphql/Sidebar.vue@@ -1,21 +1,25 @@<template>- <SmartTabs+ <HoppSmartTabsv-model="selectedNavigationTab"styles="sticky overflow-x-auto flex-shrink-0 bg-primary z-10 top-0"verticalrender-inactive-tabs>- <SmartTab :id="'history'" :icon="IconClock" :label="`${t('tab.history')}`">+ <HoppSmartTab+ :id="'history'"+ :icon="IconClock"+ :label="`${t('tab.history')}`"+ ><History :page="'graphql'" @use-history="handleUseHistory" />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'collections'":icon="IconFolder":label="`${t('tab.collections')}`"><CollectionsGraphql />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'docs'":icon="IconBookOpen":label="`${t('tab.documentation')}`"@@ -51,7 +55,7 @@class="flex flex-1 p-4 py-2 bg-transparent"/><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/quickstart/graphql"blank@@ -60,12 +64,12 @@/></div></div>- <SmartTabs+ <HoppSmartTabsv-model="selectedGqlTab"styles="border-t border-b border-dividerLight bg-primary sticky overflow-x-auto flex-shrink-0 z-10 top-sidebarPrimaryStickyFold"render-inactive-tabs>- <SmartTab+ <HoppSmartTabv-if="queryFields.length > 0":id="'queries'":label="`${t('tab.queries')}`"@@ -78,8 +82,8 @@:jump-type-callback="handleJumpToType"class="p-4"/>- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTabv-if="mutationFields.length > 0":id="'mutations'":label="`${t('graphql.mutations')}`"@@ -92,8 +96,8 @@:jump-type-callback="handleJumpToType"class="p-4"/>- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTabv-if="subscriptionFields.length > 0":id="'subscriptions'":label="`${t('graphql.subscriptions')}`"@@ -106,8 +110,8 @@:jump-type-callback="handleJumpToType"class="p-4"/>- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTabv-if="graphqlTypes.length > 0":id="'types'":label="`${t('tab.types')}`"@@ -122,11 +126,11 @@:highlighted-fields="getGqlTypeHighlightedFields(type)":jump-type-callback="handleJumpToType"/>- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></div>- </SmartTab>- <SmartTab :id="'schema'" :icon="IconBox" :label="`${t('tab.schema')}`">+ </HoppSmartTab>+ <HoppSmartTab :id="'schema'" :icon="IconBox" :label="`${t('tab.schema')}`"><divv-if="schemaString"class="sticky top-0 z-10 flex items-center justify-between flex-shrink-0 pl-4 overflow-x-auto border-b bg-primary border-dividerLight"@@ -135,27 +139,27 @@{{ t("graphql.schema") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/quickstart/graphql"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }":icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.download_file')":icon="downloadSchemaIcon"@click="downloadSchema"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.copy')":icon="copySchemaIcon"@@ -182,8 +186,8 @@{{ t("empty.schema") }}</span></div>- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/history/graphql/Card.vue b/packages/hoppscotch-common/src/components/history/graphql/Card.vueindex b3321cb72..600cfca49 100644--- a/packages/hoppscotch-common/src/components/history/graphql/Card.vue+++ b/packages/hoppscotch-common/src/components/history/graphql/Card.vue@@ -15,7 +15,7 @@{{ entry.request.url }}</span></span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconTrash"color="red"@@ -24,14 +24,14 @@data-testid="delete_history_entry"@click="emit('delete-entry')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="expand ? t('hide.more') : t('show.more')":icon="expand ? IconMinimize2 : IconMaximize2"class="hidden group-hover:inline-flex"@click="expand = !expand"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="!entry.star ? t('add.star') : t('remove.star')":icon="entry.star ? IconStarOff : IconStar"diff --git a/packages/hoppscotch-common/src/components/history/index.vue b/packages/hoppscotch-common/src/components/history/index.vueindex 1ed45eeb2..ecce85b11 100644--- a/packages/hoppscotch-common/src/components/history/index.vue+++ b/packages/hoppscotch-common/src/components/history/index.vue@@ -11,7 +11,7 @@:placeholder="`${t('action.search')}`"/><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/history"blank@@ -19,7 +19,7 @@:icon="IconHelpCircle"/><tippy interactive trigger="click" theme="popover">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.filter')":icon="IconFilter"@@ -29,7 +29,7 @@<div class="pb-2 pl-4 text-tiny text-secondaryLight">{{ t("action.filter") }}</div>- <SmartRadioGroup+ <HoppSmartRadioGroupv-model="filterSelection":radios="filters"@update:model-value="hide()"@@ -38,7 +38,7 @@<div class="pb-2 pl-4 text-tiny text-secondaryLight">{{ t("action.group_by") }}</div>- <SmartRadioGroup+ <HoppSmartRadioGroupv-model="groupSelection":radios="groups"@update:model-value="hide()"@@ -46,7 +46,7 @@</div></template></tippy>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"data-testid="clear_history":disabled="history.length === 0"@@ -81,7 +81,7 @@{{ filteredHistoryGroupIndex }}</span></span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconTrash"color="red"@@ -128,7 +128,7 @@<span class="mt-2 mb-4 text-center">{{ t("state.nothing_found") }} "{{ filterText || filterSelection }}"</span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.clear')"outline@click="@@ -139,7 +139,7 @@"/></div>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmRemove":title="`${t('confirm.remove_history')}`"@hide-modal="confirmRemove = false"diff --git a/packages/hoppscotch-common/src/components/history/rest/Card.vue b/packages/hoppscotch-common/src/components/history/rest/Card.vueindex 4756424d6..dc5348aaf 100644--- a/packages/hoppscotch-common/src/components/history/rest/Card.vue+++ b/packages/hoppscotch-common/src/components/history/rest/Card.vue@@ -26,7 +26,7 @@{{ entry.request.endpoint }}</span></span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconTrash"color="red"@@ -35,7 +35,7 @@data-testid="delete_history_entry"@click="emit('delete-entry')"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="!entry.star ? t('add.star') : t('remove.star')":class="{ 'group-hover:inline-flex hidden': !entry.star }"diff --git a/packages/hoppscotch-common/src/components/http/Authorization.vue b/packages/hoppscotch-common/src/components/http/Authorization.vueindex 6c08cd230..c8fda1553 100644--- a/packages/hoppscotch-common/src/components/http/Authorization.vue+++ b/packages/hoppscotch-common/src/components/http/Authorization.vue@@ -14,7 +14,10 @@:on-shown="() => tippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary class="pr-8 ml-2 rounded-none" :label="authName" />+ <HoppButtonSecondary+ class="pr-8 ml-2 rounded-none"+ :label="authName"+ /></span><template #content="{ hide }"><div@@ -23,7 +26,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemlabel="None":icon="authName === 'None' ? IconCircleDot : IconCircle":active="authName === 'None'"@@ -34,7 +37,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="Basic Auth":icon="authName === 'Basic Auth' ? IconCircleDot : IconCircle":active="authName === 'Basic Auth'"@@ -45,7 +48,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="Bearer Token":icon="authName === 'Bearer' ? IconCircleDot : IconCircle":active="authName === 'Bearer'"@@ -56,7 +59,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="OAuth 2.0":icon="authName === 'OAuth 2.0' ? IconCircleDot : IconCircle":active="authName === 'OAuth 2.0'"@@ -67,7 +70,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="API key":icon="authName === 'API key' ? IconCircleDot : IconCircle":active="authName === 'API key'"@@ -83,26 +86,26 @@</tippy></span><div class="flex">- <!-- <SmartCheckbox+ <!-- <HoppSmartCheckbox:on="!URLExcludes.auth"@change="setExclude('auth', !$event)">{{ $t("authorization.include_in_url") }}- </SmartCheckbox>-->- <SmartCheckbox+ </HoppSmartCheckbox>-->+ <HoppSmartCheckbox:on="authActive"class="px-2"@change="authActive = !authActive"- >{{ t("state.enabled") }}</SmartCheckbox+ >{{ t("state.enabled") }}</HoppSmartCheckbox>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/authorization"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear')":icon="IconTrash2"@@ -121,7 +124,7 @@:alt="`${t('empty.authorization')}`"/><span class="pb-4 text-center">{{ t("empty.authorization") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryoutline:label="t('app.documentation')"to="https://docs.hoppscotch.io/features/authorization"@@ -177,7 +180,7 @@:on-shown="() => authTippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondary:label="addTo || t('state.none')"class="pr-8 ml-2 rounded-none"/>@@ -189,7 +192,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItem:icon="addTo === 'Headers' ? IconCircleDot : IconCircle":active="addTo === 'Headers'":label="'Headers'"@@ -200,7 +203,7 @@}"/>- <SmartItem+ <HoppSmartItem:icon="addTo === 'Query params' ? IconCircleDot : IconCircle"@@ -226,7 +229,7 @@<div class="pb-2 text-secondaryLight">{{ t("helpers.authorization") }}</div>- <SmartAnchor+ <HoppSmartAnchorclass="link":label="t('authorization.learn')":icon="IconExternalLink"diff --git a/packages/hoppscotch-common/src/components/http/Body.vue b/packages/hoppscotch-common/src/components/http/Body.vueindex 0252f3ad4..66a383df9 100644--- a/packages/hoppscotch-common/src/components/http/Body.vue+++ b/packages/hoppscotch-common/src/components/http/Body.vue@@ -14,7 +14,7 @@:on-shown="() => tippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondary:label="contentType || t('state.none')"class="pr-8 ml-2 rounded-none"/>@@ -26,7 +26,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItem:label="t('state.none')":info-icon="contentType === null ? IconDone : null":active-info-icon="contentType === null"@@ -50,7 +50,7 @@</span></div><div class="flex flex-col">- <SmartItem+ <HoppSmartItemv-for="(contentTypeItem, contentTypeIndex) in contentTypeItems.contentTypes"@@ -72,7 +72,7 @@</div></template></tippy>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="t('request.override_help')":label="@@ -109,7 +109,7 @@:alt="`${t('empty.body')}`"/><span class="pb-4 text-center">{{ t("empty.body") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryoutline:label="`${t('app.documentation')}`"to="https://docs.hoppscotch.io/features/body"diff --git a/packages/hoppscotch-common/src/components/http/BodyParameters.vue b/packages/hoppscotch-common/src/components/http/BodyParameters.vueindex af0a23952..1fc20e3fe 100644--- a/packages/hoppscotch-common/src/components/http/BodyParameters.vue+++ b/packages/hoppscotch-common/src/components/http/BodyParameters.vue@@ -7,20 +7,20 @@{{ t("request.body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/body"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearContent"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('add.new')":icon="IconPlus"@@ -44,7 +44,7 @@class="flex border-b divide-x divide-dividerLight border-dividerLight draggable-content group"><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{theme: 'tooltip',delay: [500, 20],@@ -76,10 +76,10 @@/><div v-if="entry.isFile" class="file-chips-container"><div class="space-x-2 file-chips-wrapper">- <SmartFileChip+ <HoppSmartFileChipv-for="(file, fileIndex) in entry.value":key="`param-${index}-file-${fileIndex}`"- >{{ file.name }}</SmartFileChip+ >{{ file.name }}</HoppSmartFileChip></div></div>@@ -110,7 +110,7 @@</label></span><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="entry.hasOwnProperty('active')@@ -140,7 +140,7 @@/></span><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.remove')":icon="IconTrash"@@ -163,7 +163,7 @@:alt="`${t('empty.body')}`"/><span class="pb-4 text-center">{{ t("empty.body") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('add.new')}`"filled:icon="IconPlus"@@ -188,7 +188,7 @@ import * as O from "fp-ts/Option"import * as A from "fp-ts/Array"import { FormDataKeyValue } from "@hoppscotch/data"import { isEqual, clone } from "lodash-es"-import draggable from "vuedraggable"+import draggable from "vuedraggable-es"import { pluckRef } from "@composables/ref"import { useI18n } from "@composables/i18n"import { useToast } from "@composables/toast"diff --git a/packages/hoppscotch-common/src/components/http/CodegenModal.vue b/packages/hoppscotch-common/src/components/http/CodegenModal.vueindex 9531eb7e0..43f6afe58 100644--- a/packages/hoppscotch-common/src/components/http/CodegenModal.vue+++ b/packages/hoppscotch-common/src/components/http/CodegenModal.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('request.generate_code')}`"@@ -18,7 +18,7 @@:on-shown="() => tippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondary:label="CodegenDefinitions.find((x) => x.name === codegenType).caption"@@ -43,7 +43,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="codegen in filteredCodegenDefinitions":key="codegen.name":label="codegen.caption"@@ -89,20 +89,20 @@{{ t("request.generated_code") }}</label><div class="flex items-center">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }":icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="t('action.download_file')":icon="downloadIcon"@click="downloadResponse"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="t('action.copy')":icon="copyIcon"@@ -119,13 +119,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="`${t('action.copy')}`":icon="copyCodeIcon"outline@click="copyRequestCode"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.dismiss')}`"outlinefilled@@ -133,7 +133,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/http/Headers.vue b/packages/hoppscotch-common/src/components/http/Headers.vueindex 953e8d8a6..33a7dd502 100644--- a/packages/hoppscotch-common/src/components/http/Headers.vue+++ b/packages/hoppscotch-common/src/components/http/Headers.vue@@ -7,20 +7,20 @@{{ t("request.header_list") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/headers"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearContent()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="bulkMode"v-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')"@@ -28,14 +28,14 @@:icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.bulk_mode')":icon="IconEdit":class="{ '!text-accent': bulkMode }"@click="bulkMode = !bulkMode"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('add.new')":icon="IconPlus"@@ -61,7 +61,7 @@class="flex border-b divide-x divide-dividerLight border-dividerLight draggable-content group"><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{theme: 'tooltip',delay: [500, 20],@@ -79,7 +79,7 @@tabindex="-1"/></span>- <SmartAutoComplete+ <HoppSmartAutoComplete:placeholder="`${t('count.header', { count: index + 1 })}`":source="commonHeaders":spellcheck="false"@@ -110,7 +110,7 @@"/><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="header.hasOwnProperty('active')@@ -138,7 +138,7 @@/></span><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.remove')":icon="IconTrash"@@ -165,7 +165,7 @@class="flex border-b divide-x divide-dividerLight border-dividerLight draggable-content group"><span>- <ButtonSecondary+ <HoppButtonSecondary:icon="IconLock"class="opacity-25 cursor-auto text-secondaryLight bg-divider"tabindex="-1"@@ -182,19 +182,19 @@readonly/><span>- <ButtonSecondary+ <HoppButtonSecondaryv-if="header.source === 'auth'":icon="masking ? IconEye : IconEyeOff"@click="toggleMask()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:icon="IconArrowUpRight"class="cursor-auto text-primary hover:text-primary"/></span><span>- <ButtonSecondary+ <HoppButtonSecondary:icon="IconArrowUpRight"@click="changeTab(header.source)"/>@@ -213,7 +213,7 @@:alt="`${t('empty.headers')}`"/><span class="pb-4 text-center">{{ t("empty.headers") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryfilled:label="`${t('add.new')}`":icon="IconPlus"@@ -253,7 +253,7 @@ import * as RA from "fp-ts/ReadonlyArray"import * as E from "fp-ts/Either"import * as O from "fp-ts/Option"import * as A from "fp-ts/Array"-import draggable from "vuedraggable"+import draggable from "vuedraggable-es"import { RequestOptionTabs } from "./RequestOptions.vue"import { useCodemirror } from "@composables/codemirror"import {diff --git a/packages/hoppscotch-common/src/components/http/ImportCurl.vue b/packages/hoppscotch-common/src/components/http/ImportCurl.vueindex c0dcca842..5912570d1 100644--- a/packages/hoppscotch-common/src/components/http/ImportCurl.vue+++ b/packages/hoppscotch-common/src/components/http/ImportCurl.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="`${t('import.curl')}`"@@ -13,26 +13,26 @@cURL</label><div class="flex items-center">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearContent()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }":icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="t('action.download_file')":icon="downloadIcon"@click="downloadResponse"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', allowHTML: true }":title="t('action.copy')":icon="copyIcon"@@ -51,13 +51,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimaryref="importButton":label="`${t('import.title')}`"outline@click="handleImport"/>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('action.cancel')}`"outlinefilled@@ -65,7 +65,7 @@/></span><span class="flex">- <ButtonSecondary+ <HoppButtonSecondary:icon="pasteIcon":label="`${t('action.paste')}`"filled@@ -74,7 +74,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue b/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vueindex 9f94e91fd..f6798684b 100644--- a/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue+++ b/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue@@ -22,7 +22,7 @@<SmartEnvInput v-model="scope" placeholder="Scope" /></div><div class="p-2">- <ButtonSecondary+ <HoppButtonSecondaryfilled:label="`${t('authorization.generate_token')}`"@click="handleAccessTokenRequest()"diff --git a/packages/hoppscotch-common/src/components/http/Parameters.vue b/packages/hoppscotch-common/src/components/http/Parameters.vueindex 3dfbdf5fe..87fccf142 100644--- a/packages/hoppscotch-common/src/components/http/Parameters.vue+++ b/packages/hoppscotch-common/src/components/http/Parameters.vue@@ -7,20 +7,20 @@{{ t("request.parameter_list") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/parameters"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearContent()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="bulkMode"v-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')"@@ -28,14 +28,14 @@:icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.bulk_mode')":icon="IconEdit":class="{ '!text-accent': bulkMode }"@click="bulkMode = !bulkMode"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('add.new')":icon="IconPlus"@@ -61,7 +61,7 @@class="flex border-b divide-x divide-dividerLight border-dividerLight draggable-content group"><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{theme: 'tooltip',delay: [500, 20],@@ -104,7 +104,7 @@"/><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="param.hasOwnProperty('active')@@ -134,7 +134,7 @@/></span><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.remove')":icon="IconTrash"@@ -157,7 +157,7 @@:alt="`${t('empty.parameters')}`"/><span class="pb-4 text-center">{{ t("empty.parameters") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('add.new')}`":icon="IconPlus"filled@@ -192,7 +192,7 @@ import {RawKeyValueEntry,} from "@hoppscotch/data"import { isEqual, cloneDeep } from "lodash-es"-import draggable from "vuedraggable"+import draggable from "vuedraggable-es"import linter from "~/helpers/editor/linting/rawKeyValue"import { useCodemirror } from "@composables/codemirror"import { useColorMode } from "@composables/theming"diff --git a/packages/hoppscotch-common/src/components/http/PreRequestScript.vue b/packages/hoppscotch-common/src/components/http/PreRequestScript.vueindex d9453bd6b..62e8f25bc 100644--- a/packages/hoppscotch-common/src/components/http/PreRequestScript.vue+++ b/packages/hoppscotch-common/src/components/http/PreRequestScript.vue@@ -7,20 +7,20 @@{{ t("preRequest.javascript_code") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/pre-request-script"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear')":icon="IconTrash2"@click="clearContent"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }"@@ -39,7 +39,7 @@<div class="pb-2 text-secondaryLight">{{ t("helpers.pre_request_script") }}</div>- <SmartAnchor+ <HoppSmartAnchor:label="`${t('preRequest.learn')}`"to="https://docs.hoppscotch.io/features/pre-request-script"blankdiff --git a/packages/hoppscotch-common/src/components/http/RawBody.vue b/packages/hoppscotch-common/src/components/http/RawBody.vueindex d560b462e..b71f27497 100644--- a/packages/hoppscotch-common/src/components/http/RawBody.vue+++ b/packages/hoppscotch-common/src/components/http/RawBody.vue@@ -7,27 +7,27 @@{{ t("request.raw_body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/body"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear')":icon="IconTrash2"@click="clearContent"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }":icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="['application/json',@@ -43,7 +43,7 @@@click="prettifyRequestBody"/><label for="payload">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('import.title')":icon="IconFilePlus"diff --git a/packages/hoppscotch-common/src/components/http/ReqChangeConfirmModal.vue b/packages/hoppscotch-common/src/components/http/ReqChangeConfirmModal.vueindex d4f9a02fe..45b38a5d7 100644--- a/packages/hoppscotch-common/src/components/http/ReqChangeConfirmModal.vue+++ b/packages/hoppscotch-common/src/components/http/ReqChangeConfirmModal.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('modal.confirm')"@@ -13,28 +13,28 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimaryv-focus:label="t('action.save')":loading="loading"outline@click="saveChange"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.dont_save')"outlinefilled@click="discardChange"/></span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@click="hideModal"/></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/http/Request.vue b/packages/hoppscotch-common/src/components/http/Request.vueindex 87637aedd..f0ba577b4 100644--- a/packages/hoppscotch-common/src/components/http/Request.vue+++ b/packages/hoppscotch-common/src/components/http/Request.vue@@ -30,7 +30,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="(method, index) in methods":key="`method-${index}`":label="method"@@ -58,7 +58,7 @@</div></div><div class="flex mt-2 sm:mt-0">- <ButtonPrimary+ <HoppButtonPrimaryid="send"v-tippy="{ theme: 'tooltip', delay: [500, 20], allowHTML: true }":title="`${t('action.send')} <kbd>${getSpecialKey()}</kbd><kbd>↩</kbd>`"@@ -73,7 +73,7 @@theme="popover":on-shown="() => sendTippyActions.focus()">- <ButtonPrimary+ <HoppButtonPrimaryv-tippy="{ theme: 'tooltip' }":title="t('app.options')":icon="IconChevronDown"@@ -90,7 +90,7 @@@keyup.delete="clearAll.$el.click()"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemref="curl":label="`${t('import.curl')}`":icon="IconFileCode"@@ -102,7 +102,7 @@}"/>- <SmartItem+ <HoppSmartItemref="show":label="`${t('show.code')}`":icon="IconCode2"@@ -114,7 +114,7 @@}"/>- <SmartItem+ <HoppSmartItemref="clearAll":label="`${t('action.clear_all')}`":icon="IconRotateCCW"@@ -131,7 +131,7 @@</tippy></span><span class="flex ml-2 transition border rounded border-divider">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', delay: [500, 20], allowHTML: true }":title="`${t('request.save'@@ -149,7 +149,7 @@theme="popover":on-shown="() => saveTippyActions.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('app.options')":icon="IconChevronDown"@@ -175,7 +175,7 @@class="mb-2 input !bg-primaryContrast"@keyup.enter="hide()"/>- <SmartItem+ <HoppSmartItemref="copyRequestAction":label="shareButtonText":icon="copyLinkIcon"@@ -187,13 +187,13 @@}"/>- <SmartItem+ <HoppSmartItem:icon="IconLink2":label="`${t('request.view_my_links')}`"to="/profile"/><hr />- <SmartItem+ <HoppSmartItemref="saveRequestAction":label="`${t('request.save_as')}`":icon="IconFolderPlus"@@ -274,6 +274,10 @@ import { createShortcode } from "~/helpers/backend/mutations/Shortcode"import { runMutation } from "~/helpers/backend/GQLClient"import { UpdateRequestDocument } from "~/helpers/backend/graphql"import { getPlatformSpecialKey as getSpecialKey } from "~/helpers/platformutils"+import {+ cancelRunningExtensionRequest,+ hasExtensionInstalled,+} from "~/helpers/strategies/ExtensionStrategy"const t = useI18n()@@ -403,6 +407,9 @@ function isCURL(curl: string) {const cancelRequest = () => {loading.value = false+ if (hasExtensionInstalled()) {+ cancelRunningExtensionRequest()+ }updateRESTResponse(null)}diff --git a/packages/hoppscotch-common/src/components/http/RequestOptions.vue b/packages/hoppscotch-common/src/components/http/RequestOptions.vueindex 0f9527cbc..a8a26a829 100644--- a/packages/hoppscotch-common/src/components/http/RequestOptions.vue+++ b/packages/hoppscotch-common/src/components/http/RequestOptions.vue@@ -1,30 +1,30 @@<template>- <SmartTabs+ <HoppSmartTabsv-model="selectedRealtimeTab"styles="sticky overflow-x-auto flex-shrink-0 bg-primary top-upperMobilePrimaryStickyFold sm:top-upperPrimaryStickyFold z-10"render-inactive-tabs>- <SmartTab+ <HoppSmartTab:id="'params'":label="`${t('tab.parameters')}`":info="`${newActiveParamsCount$}`"><HttpParameters />- </SmartTab>- <SmartTab :id="'bodyParams'" :label="`${t('tab.body')}`">+ </HoppSmartTab>+ <HoppSmartTab :id="'bodyParams'" :label="`${t('tab.body')}`"><HttpBody @change-tab="changeTab" />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'headers'":label="`${t('tab.headers')}`":info="`${newActiveHeadersCount$}`"><HttpHeaders @change-tab="changeTab" />- </SmartTab>- <SmartTab :id="'authorization'" :label="`${t('tab.authorization')}`">+ </HoppSmartTab>+ <HoppSmartTab :id="'authorization'" :label="`${t('tab.authorization')}`"><HttpAuthorization />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'preRequestScript'":label="`${t('tab.pre_request_script')}`":indicator="@@ -32,15 +32,15 @@"><HttpPreRequestScript />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'tests'":label="`${t('tab.tests')}`":indicator="testScript && testScript.length > 0 ? true : false"><HttpTests />- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/http/ResponseMeta.vue b/packages/hoppscotch-common/src/components/http/ResponseMeta.vueindex f2d1f139a..493f7ce50 100644--- a/packages/hoppscotch-common/src/components/http/ResponseMeta.vue+++ b/packages/hoppscotch-common/src/components/http/ResponseMeta.vue@@ -8,7 +8,7 @@v-if="response.type === 'loading'"class="flex flex-col items-center justify-center">- <SmartSpinner class="my-4" />+ <HoppSmartSpinner class="my-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><divdiff --git a/packages/hoppscotch-common/src/components/http/Sidebar.vue b/packages/hoppscotch-common/src/components/http/Sidebar.vueindex e102c1413..ae210d3f8 100644--- a/packages/hoppscotch-common/src/components/http/Sidebar.vue+++ b/packages/hoppscotch-common/src/components/http/Sidebar.vue@@ -1,28 +1,32 @@<template>- <SmartTabs+ <HoppSmartTabsv-model="selectedNavigationTab"styles="sticky overflow-x-auto flex-shrink-0 bg-primary z-10 top-0"verticalrender-inactive-tabs>- <SmartTab :id="'history'" :icon="IconClock" :label="`${t('tab.history')}`">+ <HoppSmartTab+ :id="'history'"+ :icon="IconClock"+ :label="`${t('tab.history')}`"+ ><History :page="'rest'" />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'collections'":icon="IconFolder":label="`${t('tab.collections')}`"><Collections />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTab:id="'env'":icon="IconLayers":label="`${t('environment.title')}`"><Environments />- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/http/TestResult.vue b/packages/hoppscotch-common/src/components/http/TestResult.vueindex c80c9dedb..f8f9b3941 100644--- a/packages/hoppscotch-common/src/components/http/TestResult.vue+++ b/packages/hoppscotch-common/src/components/http/TestResult.vue@@ -14,7 +14,7 @@<label class="font-semibold truncate text-secondaryLight">{{ t("test.report") }}</label>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear')":icon="IconTrash2"@@ -48,13 +48,13 @@{{ t("environment.no_environment_description") }}</p><p class="flex mt-3 space-x-2">- <ButtonSecondary+ <HoppButtonSecondary:label="t('environment.add_to_global')"class="text-tiny !bg-primary"filled@click="addEnvToGlobal()"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('environment.create_new')"class="text-tiny !bg-primary"filled@@ -186,7 +186,7 @@<span class="pb-4 text-center">{{ t("helpers.tests") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryoutline:label="`${t('action.learn_more')}`"to="https://docs.hoppscotch.io/features/tests"diff --git a/packages/hoppscotch-common/src/components/http/TestResultReport.vue b/packages/hoppscotch-common/src/components/http/TestResultReport.vueindex 797195ef0..bfa9d4a7e 100644--- a/packages/hoppscotch-common/src/components/http/TestResultReport.vue+++ b/packages/hoppscotch-common/src/components/http/TestResultReport.vue@@ -1,6 +1,6 @@<template><div class="flex items-center px-4 py-2">- <SmartProgressRing+ <HoppSmartProgressRingclass="mr-2 text-red-500":radius="8":stroke="1.5"diff --git a/packages/hoppscotch-common/src/components/http/Tests.vue b/packages/hoppscotch-common/src/components/http/Tests.vueindex f27079c91..b56245b64 100644--- a/packages/hoppscotch-common/src/components/http/Tests.vue+++ b/packages/hoppscotch-common/src/components/http/Tests.vue@@ -7,20 +7,20 @@{{ t("test.javascript_code") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/tests"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear')":icon="IconTrash2"@click="clearContent"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }"@@ -39,7 +39,7 @@<div class="pb-2 text-secondaryLight">{{ t("helpers.post_request_tests") }}</div>- <SmartAnchor+ <HoppSmartAnchor:label="`${t('test.learn')}`"to="https://docs.hoppscotch.io/features/tests"blankdiff --git a/packages/hoppscotch-common/src/components/http/URLEncodedParams.vue b/packages/hoppscotch-common/src/components/http/URLEncodedParams.vueindex 2ab1ad4f2..8957eb9c4 100644--- a/packages/hoppscotch-common/src/components/http/URLEncodedParams.vue+++ b/packages/hoppscotch-common/src/components/http/URLEncodedParams.vue@@ -7,20 +7,20 @@{{ t("request.body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/body"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearContent()"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="bulkMode"v-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')"@@ -28,14 +28,14 @@:icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.bulk_mode')":icon="IconEdit":class="{ '!text-accent': bulkMode }"@click="bulkMode = !bulkMode"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('add.new')":icon="IconPlus"@@ -61,7 +61,7 @@class="flex border-b divide-x divide-dividerLight border-dividerLight draggable-content group"><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{theme: 'tooltip',delay: [500, 20],@@ -104,7 +104,7 @@"/><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="param.hasOwnProperty('active')@@ -132,7 +132,7 @@/></span><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.remove')":icon="IconTrash"@@ -156,7 +156,7 @@<span class="pb-4 text-center">{{ t("empty.body") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryfilled:label="`${t('add.new')}`":icon="IconPlus"@@ -191,7 +191,7 @@ import * as A from "fp-ts/Array"import * as O from "fp-ts/Option"import * as RA from "fp-ts/ReadonlyArray"import * as E from "fp-ts/Either"-import draggable from "vuedraggable"+import draggable from "vuedraggable-es"import { useCodemirror } from "@composables/codemirror"import linter from "~/helpers/editor/linting/rawKeyValue"import { useRESTRequestBody } from "~/newstore/RESTSession"diff --git a/packages/hoppscotch-common/src/components/lenses/HeadersRenderer.vue b/packages/hoppscotch-common/src/components/lenses/HeadersRenderer.vueindex d853e2a8e..009efa526 100644--- a/packages/hoppscotch-common/src/components/lenses/HeadersRenderer.vue+++ b/packages/hoppscotch-common/src/components/lenses/HeadersRenderer.vue@@ -7,7 +7,7 @@{{ t("request.header_list") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-if="headers"v-tippy="{ theme: 'tooltip' }":title="t('action.copy')"diff --git a/packages/hoppscotch-common/src/components/lenses/HeadersRendererEntry.vue b/packages/hoppscotch-common/src/components/lenses/HeadersRendererEntry.vueindex 6f87f1fd1..dea7aa4ca 100644--- a/packages/hoppscotch-common/src/components/lenses/HeadersRendererEntry.vue+++ b/packages/hoppscotch-common/src/components/lenses/HeadersRendererEntry.vue@@ -15,7 +15,7 @@<span class="truncate rounded-sm select-all">{{ header.value }}</span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.copy')":icon="copyIcon"diff --git a/packages/hoppscotch-common/src/components/lenses/ResponseBodyRenderer.vue b/packages/hoppscotch-common/src/components/lenses/ResponseBodyRenderer.vueindex 7935d98df..31a0400a2 100644--- a/packages/hoppscotch-common/src/components/lenses/ResponseBodyRenderer.vue+++ b/packages/hoppscotch-common/src/components/lenses/ResponseBodyRenderer.vue@@ -1,10 +1,10 @@<template>- <SmartTabs+ <HoppSmartTabsv-if="response"v-model="selectedLensTab"styles="sticky overflow-x-auto flex-shrink-0 z-10 bg-primary top-lowerPrimaryStickyFold">- <SmartTab+ <HoppSmartTabv-for="(lens, index) in validLenses":id="lens.renderer":key="`lens-${index}`"@@ -12,8 +12,8 @@class="flex flex-col flex-1 w-full h-full"><component :is="lensRendererFor(lens.renderer)" :response="response" />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTabv-if="maybeHeaders"id="headers":label="t('response.headers')"@@ -21,8 +21,8 @@class="flex flex-col flex-1"><LensesHeadersRenderer :headers="maybeHeaders" />- </SmartTab>- <SmartTab+ </HoppSmartTab>+ <HoppSmartTabid="results":label="t('test.results')":indicator="@@ -38,8 +38,8 @@class="flex flex-col flex-1"><HttpTestResult />- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/lenses/renderers/HTMLLensRenderer.vue b/packages/hoppscotch-common/src/components/lenses/renderers/HTMLLensRenderer.vueindex 86b29db1d..da12e8b15 100644--- a/packages/hoppscotch-common/src/components/lenses/renderers/HTMLLensRenderer.vue+++ b/packages/hoppscotch-common/src/components/lenses/renderers/HTMLLensRenderer.vue@@ -7,7 +7,7 @@{{ t("response.body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')"@@ -15,7 +15,7 @@:icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${@@ -24,7 +24,7 @@:icon="!previewEnabled ? IconEye : IconEyeOff"@click.prevent="togglePreview"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(@@ -33,7 +33,7 @@:icon="downloadIcon"@click="downloadResponse"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(diff --git a/packages/hoppscotch-common/src/components/lenses/renderers/ImageLensRenderer.vue b/packages/hoppscotch-common/src/components/lenses/renderers/ImageLensRenderer.vueindex bcbf8c1b9..c68c1407e 100644--- a/packages/hoppscotch-common/src/components/lenses/renderers/ImageLensRenderer.vue+++ b/packages/hoppscotch-common/src/components/lenses/renderers/ImageLensRenderer.vue@@ -7,7 +7,7 @@{{ t("response.body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(diff --git a/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vue b/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vueindex c85a9de2e..c1755e0cf 100644--- a/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vue+++ b/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vue@@ -10,7 +10,7 @@{{ t("response.body") }}</label><div class="flex items-center">- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')"@@ -18,7 +18,7 @@:icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip' }":title="t('action.filter')"@@ -26,7 +26,7 @@:class="{ '!text-accent': toggleFilter }"@click.prevent="toggleFilterState"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(@@ -35,7 +35,7 @@:icon="downloadIcon"@click="downloadResponse"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(@@ -76,7 +76,7 @@<icon-lucide-info class="svg-icons mr-1.5" /><span>{{ filterResponseError.error }}</span></div>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip' }":title="t('app.wiki')"@@ -121,7 +121,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="(arrayMember, astIndex) in item.astParent.values":key="`ast-${astIndex}`":label="`${astIndex}`"@@ -140,7 +140,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="(objectMember, astIndex) in item.astParent.members":key="`ast-${astIndex}`":label="objectMember.key.value"@@ -158,7 +158,7 @@ref="tippyActions"class="flex flex-col">- <SmartItem+ <HoppSmartItemlabel="{}"@click="() => {@@ -173,7 +173,7 @@ref="tippyActions"class="flex flex-col">- <SmartItem+ <HoppSmartItemlabel="[]"@click="() => {diff --git a/packages/hoppscotch-common/src/components/lenses/renderers/PDFLensRenderer.vue b/packages/hoppscotch-common/src/components/lenses/renderers/PDFLensRenderer.vueindex b3ce29b5d..45b4b50e1 100644--- a/packages/hoppscotch-common/src/components/lenses/renderers/PDFLensRenderer.vue+++ b/packages/hoppscotch-common/src/components/lenses/renderers/PDFLensRenderer.vue@@ -7,7 +7,7 @@{{ t("response.body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(diff --git a/packages/hoppscotch-common/src/components/lenses/renderers/RawLensRenderer.vue b/packages/hoppscotch-common/src/components/lenses/renderers/RawLensRenderer.vueindex 7668d4029..3cf1db1d5 100644--- a/packages/hoppscotch-common/src/components/lenses/renderers/RawLensRenderer.vue+++ b/packages/hoppscotch-common/src/components/lenses/renderers/RawLensRenderer.vue@@ -7,7 +7,7 @@{{ t("response.body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')"@@ -15,7 +15,7 @@:icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(@@ -24,7 +24,7 @@:icon="downloadIcon"@click="downloadResponse"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(diff --git a/packages/hoppscotch-common/src/components/lenses/renderers/XMLLensRenderer.vue b/packages/hoppscotch-common/src/components/lenses/renderers/XMLLensRenderer.vueindex 6e8394300..4892ee47b 100644--- a/packages/hoppscotch-common/src/components/lenses/renderers/XMLLensRenderer.vue+++ b/packages/hoppscotch-common/src/components/lenses/renderers/XMLLensRenderer.vue@@ -7,7 +7,7 @@{{ t("response.body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')"@@ -15,7 +15,7 @@:icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(@@ -24,7 +24,7 @@:icon="downloadIcon"@click="downloadResponse"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="response.body"v-tippy="{ theme: 'tooltip', allowHTML: true }":title="`${t(diff --git a/packages/hoppscotch-common/src/components/profile/Shortcode.vue b/packages/hoppscotch-common/src/components/profile/Shortcode.vueindex 74d6009eb..64b507a4f 100644--- a/packages/hoppscotch-common/src/components/profile/Shortcode.vue+++ b/packages/hoppscotch-common/src/components/profile/Shortcode.vue@@ -15,7 +15,7 @@{{ dateStamp }}</div><div class="justify-center table-box">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.open_workspace')":to="`${shortcodeBaseURL}/r/${shortcode.id}`"@@ -23,7 +23,7 @@:icon="IconExternalLink"class="px-3 text-accent hover:text-accent"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.copy')"color="green"@@ -31,7 +31,7 @@class="px-3"@click="copyShortcode(shortcode.id)"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.delete')":icon="IconTrash"diff --git a/packages/hoppscotch-common/src/components/profile/Shortcodes.vue b/packages/hoppscotch-common/src/components/profile/Shortcodes.vueindex 62b9ad7e3..4f2de9a0c 100644--- a/packages/hoppscotch-common/src/components/profile/Shortcodes.vue+++ b/packages/hoppscotch-common/src/components/profile/Shortcodes.vue@@ -8,7 +8,7 @@</div><div class="relative py-4 overflow-x-auto"><div v-if="loading" class="flex flex-col items-center justify-center">- <SmartSpinner class="mb-4" />+ <HoppSmartSpinner class="mb-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><div@@ -56,14 +56,14 @@:shortcode="shortcode"@delete-shortcode="deleteShortcode"/>- <SmartIntersection+ <HoppSmartIntersectionv-if="hasMoreShortcodes && myShortcodes.length > 0"@intersecting="loadMoreShortcodes()"><div v-if="adapterLoading" class="flex flex-col items-center py-3">- <SmartSpinner />+ <HoppSmartSpinner /></div>- </SmartIntersection>+ </HoppSmartIntersection></div></div><divdiff --git a/packages/hoppscotch-common/src/components/profile/UserDelete.vue b/packages/hoppscotch-common/src/components/profile/UserDelete.vueindex 7ef1a71e1..6214eaebb 100644--- a/packages/hoppscotch-common/src/components/profile/UserDelete.vue+++ b/packages/hoppscotch-common/src/components/profile/UserDelete.vue@@ -6,14 +6,14 @@<div class="my-1 mb-4 text-secondaryLight">{{ t("settings.delete_account_description") }}</div>- <ButtonSecondary+ <HoppButtonSecondaryfilledoutline:label="t('settings.delete_account')"type="submit"@click="showDeleteAccountModal = true"/>- <SmartModal+ <HoppSmartModalv-if="showDeleteAccountModal"dialog:title="t('settings.delete_account')"@@ -21,7 +21,7 @@><template #body><div v-if="loading" class="flex flex-col items-center justify-center">- <SmartSpinner class="mb-4" />+ <HoppSmartSpinner class="mb-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><div@@ -73,7 +73,7 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('settings.delete_account')":loading="deletingUser"filled@@ -86,7 +86,7 @@class="!bg-red-500 !hover:bg-red-600 !border-red-500 !hover:border-red-600"@click="deleteUserAccount"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -94,7 +94,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></section></template>diff --git a/packages/hoppscotch-common/src/components/realtime/Communication.vue b/packages/hoppscotch-common/src/components/realtime/Communication.vueindex 1f2b2a4ce..d2215f070 100644--- a/packages/hoppscotch-common/src/components/realtime/Communication.vue+++ b/packages/hoppscotch-common/src/components/realtime/Communication.vue@@ -31,7 +31,7 @@:on-shown="() => tippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondary:label="contentType || t('state.none').toLowerCase()"class="pr-8 ml-2 rounded-none"/>@@ -43,7 +43,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="(contentTypeItem, index) in validContentTypes":key="`contentTypeItem-${index}`":label="contentTypeItem"@@ -63,7 +63,7 @@</tippy></span><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip', delay: [500, 20], allowHTML: true }":title="`${t('request.run'@@ -74,7 +74,7 @@class="rounded-none !text-accent !hover:text-accentDark"@click="sendMessage()"/>- <SmartCheckbox+ <HoppSmartCheckboxv-tippy="{ theme: 'tooltip' }":on="clearInputOnSend"class="px-2"@@ -82,28 +82,28 @@@change="clearInputOnSend = !clearInputOnSend">{{ t("mqtt.clear_input") }}- </SmartCheckbox>- <ButtonSecondary+ </HoppSmartCheckbox>+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/realtime"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear')":icon="IconTrash2"@click="clearContent"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }":icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="contentType && contentType == 'JSON'"v-tippy="{ theme: 'tooltip' }":title="t('action.prettify')"@@ -111,7 +111,7 @@@click="prettifyRequestBody"/><label for="payload">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('import.title')":icon="IconFilePlus"diff --git a/packages/hoppscotch-common/src/components/realtime/ConnectionConfig.vue b/packages/hoppscotch-common/src/components/realtime/ConnectionConfig.vueindex 7d90d9e18..fa1964a03 100644--- a/packages/hoppscotch-common/src/components/realtime/ConnectionConfig.vue+++ b/packages/hoppscotch-common/src/components/realtime/ConnectionConfig.vue@@ -9,12 +9,12 @@</label></span><div class="flex">- <SmartCheckbox+ <HoppSmartCheckbox:on="config.cleanSession"class="px-2"@change="config.cleanSession = !config.cleanSession">{{ t("mqtt.clean_session") }}- </SmartCheckbox>+ </HoppSmartCheckbox></div></div><div class="flex flex-1 h-full border-dividerLight">@@ -63,14 +63,14 @@</label><tippy interactive trigger="click" theme="popover"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondaryclass="pr-8 ml-2 rounded-none":label="`${config.lwQos}`"/></span><template #content="{ hide }"><div class="flex flex-col" role="menu">- <SmartItem+ <HoppSmartItemv-for="item in QOS_VALUES":key="`qos-${item}`":label="`${item}`"@@ -87,12 +87,12 @@</template></tippy></div>- <SmartCheckbox+ <HoppSmartCheckbox:on="config.lwRetain"class="py-2"@change="config.lwRetain = !config.lwRetain">{{ t("mqtt.lw_retain") }}- </SmartCheckbox>+ </HoppSmartCheckbox></div></div></div>diff --git a/packages/hoppscotch-common/src/components/realtime/Log.vue b/packages/hoppscotch-common/src/components/realtime/Log.vueindex 4cc5924b0..3c7f92913 100644--- a/packages/hoppscotch-common/src/components/realtime/Log.vue+++ b/packages/hoppscotch-common/src/components/realtime/Log.vue@@ -8,27 +8,27 @@{{ title }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.delete')":icon="IconTrash"@click="emit('delete')"/>- <ButtonSecondary+ <HoppButtonSecondaryid="bottompage"v-tippy="{ theme: 'tooltip' }":title="t('action.scroll_to_top')":icon="IconArrowUp"@click="scrollTo('top')"/>- <ButtonSecondary+ <HoppButtonSecondaryid="bottompage"v-tippy="{ theme: 'tooltip' }":title="t('action.scroll_to_bottom')":icon="IconArrowDown"@click="scrollTo('bottom')"/>- <ButtonSecondary+ <HoppButtonSecondaryid="bottompage"v-tippy="{ theme: 'tooltip' }":title="`${t('action.autoscroll')}: ${diff --git a/packages/hoppscotch-common/src/components/realtime/LogEntry.vue b/packages/hoppscotch-common/src/components/realtime/LogEntry.vueindex 702665ceb..ceb7a27b0 100644--- a/packages/hoppscotch-common/src/components/realtime/LogEntry.vue+++ b/packages/hoppscotch-common/src/components/realtime/LogEntry.vue@@ -34,14 +34,14 @@</div></div></div>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.copy')":icon="copyQueryIcon"class="hidden group-hover:inline-flex"@click="copyQuery(entry.payload)"/>- <ButtonSecondary+ <HoppButtonSecondary:icon="IconChevronDown"class="transform":class="{ 'rotate-180': !minimized }"@@ -50,14 +50,14 @@</div></div><div v-if="!minimized" class="overflow-hidden bg-primaryContrast">- <SmartTabs+ <HoppSmartTabsv-model="selectedTab"styles="bg-primaryLight"render-inactive-tabs>- <SmartTab v-if="isJSON(entry.payload)" id="json" label="JSON" />- <SmartTab id="raw" label="Raw" />- </SmartTabs>+ <HoppSmartTab v-if="isJSON(entry.payload)" id="json" label="JSON" />+ <HoppSmartTab id="raw" label="Raw" />+ </HoppSmartTabs><divclass="z-10 flex items-center justify-between pl-4 border-b border-dividerLight top-lowerSecondaryStickyFold">@@ -65,20 +65,20 @@{{ t("response.body") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('state.linewrap')":class="{ '!text-accent': linewrapEnabled }":icon="IconWrapText"@click.prevent="linewrapEnabled = !linewrapEnabled"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.download_file')":icon="downloadIcon"@click="downloadResponse"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.copy')":icon="copyIcon"@@ -123,7 +123,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="(arrayMember, astIndex) in item.astParent.values":key="`ast-${astIndex}`":label="`${astIndex}`"@@ -142,7 +142,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="(objectMember, astIndex) in item.astParent.members":key="`ast-${astIndex}`":label="objectMember.key.value"@@ -160,7 +160,7 @@ref="tippyActions"class="flex flex-col focus:outline-none">- <SmartItem+ <HoppSmartItemlabel="{}"@click="() => {@@ -175,7 +175,7 @@ref="tippyActions"class="flex flex-col focus:outline-none">- <SmartItem+ <HoppSmartItemlabel="[]"@click="() => {diff --git a/packages/hoppscotch-common/src/components/realtime/Subscription.vue b/packages/hoppscotch-common/src/components/realtime/Subscription.vueindex 300e94679..14e9d4bf8 100644--- a/packages/hoppscotch-common/src/components/realtime/Subscription.vue+++ b/packages/hoppscotch-common/src/components/realtime/Subscription.vue@@ -1,5 +1,5 @@<template>- <SmartModal v-if="show" dialog :title="t('mqtt.new')" @close="hideModal">+ <HoppSmartModal v-if="show" dialog :title="t('mqtt.new')" @close="hideModal"><template #body><div class="flex justify-between mb-4"><div@@ -10,11 +10,11 @@</label><tippy interactive trigger="click" theme="popover"><span class="select-wrapper">- <ButtonSecondary class="pr-8" :label="`${QoS}`" />+ <HoppButtonSecondary class="pr-8" :label="`${QoS}`" /></span><template #content="{ hide }"><div class="flex flex-col" role="menu">- <SmartItem+ <HoppSmartItemv-for="item in QOS_VALUES":key="`qos-${item}`":label="`${item}`"@@ -68,13 +68,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('mqtt.subscribe')":loading="loadingState"outline@click="addNewSubscription"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -82,7 +82,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script lang="ts" setup>diff --git a/packages/hoppscotch-common/src/components/smart/AccentModePicker.vue b/packages/hoppscotch-common/src/components/smart/AccentModePicker.vueindex 8636efd10..7ad3bc8f9 100644--- a/packages/hoppscotch-common/src/components/smart/AccentModePicker.vue+++ b/packages/hoppscotch-common/src/components/smart/AccentModePicker.vue@@ -9,7 +9,7 @@<!-- text-orange-500 --><!-- text-red-500 --><!-- text-pink-500 -->- <ButtonSecondary+ <HoppButtonSecondaryv-for="(color, index) of accentColors":key="`color-${index}`"v-tippy="{ theme: 'tooltip' }"diff --git a/packages/hoppscotch-common/src/components/smart/ChangeLanguage.vue b/packages/hoppscotch-common/src/components/smart/ChangeLanguage.vueindex ebc9e339a..f38eb1cdd 100644--- a/packages/hoppscotch-common/src/components/smart/ChangeLanguage.vue+++ b/packages/hoppscotch-common/src/components/smart/ChangeLanguage.vue@@ -7,7 +7,7 @@:on-shown="() => tippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('settings.choose_language')"class="pr-8"@@ -33,7 +33,7 @@tabindex="0"@keyup.escape="hide()">- <SmartLink+ <HoppSmartLinkv-for="locale in filteredAppLanguages":key="`locale-${locale.code}`"class="flex flex-1"@@ -44,14 +44,14 @@}">- <SmartItem+ <HoppSmartItem:label="locale.name":active-info-icon="currentLocale.code === locale.code":info-icon="currentLocale.code === locale.code ? IconDone : null"/>- </SmartLink>+ </HoppSmartLink><divv-if="!(diff --git a/packages/hoppscotch-common/src/components/smart/ColorModePicker.vue b/packages/hoppscotch-common/src/components/smart/ColorModePicker.vueindex 3b4aea2fe..c69c7b8dd 100644--- a/packages/hoppscotch-common/src/components/smart/ColorModePicker.vue+++ b/packages/hoppscotch-common/src/components/smart/ColorModePicker.vue@@ -1,6 +1,6 @@<template><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-for="(color, index) of colors":key="`color-${index}`"v-tippy="{ theme: 'tooltip' }"diff --git a/packages/hoppscotch-common/src/components/smart/FontSizePicker.vue b/packages/hoppscotch-common/src/components/smart/FontSizePicker.vueindex ef4eefdf4..31fda5a06 100644--- a/packages/hoppscotch-common/src/components/smart/FontSizePicker.vue+++ b/packages/hoppscotch-common/src/components/smart/FontSizePicker.vue@@ -7,7 +7,7 @@:on-shown="() => tippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('settings.change_font_size')"class="pr-8"@@ -25,7 +25,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="(size, index) in fontSizes":key="`size-${index}`":label="`${getFontSizeName(size)}`"diff --git a/packages/hoppscotch-common/src/components/smart/Tree.vue b/packages/hoppscotch-common/src/components/smart/Tree.vueindex 5e30abe98..fe875fa6c 100644--- a/packages/hoppscotch-common/src/components/smart/Tree.vue+++ b/packages/hoppscotch-common/src/components/smart/Tree.vue@@ -31,7 +31,7 @@v-else-if="rootNodes.status === 'loading'"class="flex flex-col items-center justify-center flex-1 p-4">- <SmartSpinner class="my-4" />+ <HoppSmartSpinner class="my-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><divdiff --git a/packages/hoppscotch-common/src/components/smart/TreeBranch.vue b/packages/hoppscotch-common/src/components/smart/TreeBranch.vueindex e02213bbe..32bdbe2dc 100644--- a/packages/hoppscotch-common/src/components/smart/TreeBranch.vue+++ b/packages/hoppscotch-common/src/components/smart/TreeBranch.vue@@ -46,7 +46,7 @@v-if="childNodes.status === 'loading'"class="flex flex-col items-center justify-center flex-1 p-4">- <SmartSpinner class="my-4" />+ <HoppSmartSpinner class="my-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><divdiff --git a/packages/hoppscotch-common/src/components/tab/Primary.vue b/packages/hoppscotch-common/src/components/tab/Primary.vueindex e08e4a650..e7bd3639c 100644--- a/packages/hoppscotch-common/src/components/tab/Primary.vue+++ b/packages/hoppscotch-common/src/components/tab/Primary.vue@@ -1,5 +1,5 @@<template>- <SmartLink+ <HoppSmartLink:to="to":exact="exact":blank="blank"@@ -20,7 +20,7 @@:class="label ? (reverse ? 'ml-4' : 'mr-4') : ''"/>{{ label }}- </SmartLink>+ </HoppSmartLink></template><script>diff --git a/packages/hoppscotch-common/src/components/tab/Secondary.vue b/packages/hoppscotch-common/src/components/tab/Secondary.vueindex aa750f4d9..3a143e8d7 100644--- a/packages/hoppscotch-common/src/components/tab/Secondary.vue+++ b/packages/hoppscotch-common/src/components/tab/Secondary.vue@@ -1,5 +1,5 @@<template>- <SmartLink+ <HoppSmartLink:to="to":exact="exact":blank="blank"@@ -28,7 +28,7 @@<span class="truncate">{{ label }}</span>- </SmartLink>+ </HoppSmartLink></template><script lang="ts">diff --git a/packages/hoppscotch-common/src/components/teams/Add.vue b/packages/hoppscotch-common/src/components/teams/Add.vueindex 488635f62..ef0eeaeb0 100644--- a/packages/hoppscotch-common/src/components/teams/Add.vue+++ b/packages/hoppscotch-common/src/components/teams/Add.vue@@ -1,5 +1,5 @@<template>- <SmartModal v-if="show" dialog :title="t('team.new')" @close="hideModal">+ <HoppSmartModal v-if="show" dialog :title="t('team.new')" @close="hideModal"><template #body><div class="flex flex-col"><input@@ -19,13 +19,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('action.save')":loading="isLoading"outline@click="addNewTeam"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -33,7 +33,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/teams/Edit.vue b/packages/hoppscotch-common/src/components/teams/Edit.vueindex 2c0e7c41f..cb1b4a738 100644--- a/packages/hoppscotch-common/src/components/teams/Edit.vue+++ b/packages/hoppscotch-common/src/components/teams/Edit.vue@@ -1,5 +1,5 @@<template>- <SmartModal v-if="show" dialog :title="t('team.edit')" @close="hideModal">+ <HoppSmartModal v-if="show" dialog :title="t('team.edit')" @close="hideModal"><template #body><div class="flex flex-col"><div class="relative flex">@@ -22,7 +22,7 @@{{ t("team.members") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondary:icon="IconUserPlus":label="t('team.invite')"filled@@ -36,7 +36,7 @@</div><div v-if="teamDetails.loading" class="border rounded border-divider"><div class="flex items-center justify-center p-4">- <SmartSpinner />+ <HoppSmartSpinner /></div></div><div@@ -60,7 +60,7 @@<span class="pb-4 text-center">{{ t("empty.members") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:icon="IconUserPlus":label="t('team.invite')"@click="@@ -106,7 +106,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemlabel="OWNER":icon="member.role === 'OWNER' ? IconCircleDot : IconCircle@@ -119,7 +119,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="EDITOR":icon="member.role === 'EDITOR' ? IconCircleDot : IconCircle@@ -132,7 +132,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="VIEWER":icon="member.role === 'VIEWER' ? IconCircleDot : IconCircle@@ -150,7 +150,7 @@</tippy></span><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryid="member"v-tippy="{ theme: 'tooltip' }":title="t('action.remove')"@@ -174,13 +174,13 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary+ <HoppButtonPrimary:label="t('action.save')":loading="isLoading"outline@click="saveTeam"/>- <ButtonSecondary+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -188,7 +188,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/teams/Invite.vue b/packages/hoppscotch-common/src/components/teams/Invite.vueindex 40750f702..34a954235 100644--- a/packages/hoppscotch-common/src/components/teams/Invite.vue+++ b/packages/hoppscotch-common/src/components/teams/Invite.vue@@ -1,5 +1,10 @@<template>- <SmartModal v-if="show" dialog :title="t('team.invite')" @close="hideModal">+ <HoppSmartModal+ v-if="show"+ dialog+ :title="t('team.invite')"+ @close="hideModal"+ ><template #body><div v-if="sendInvitesResult.length" class="flex flex-col px-4"><div class="flex flex-col items-center justify-center max-w-md">@@ -40,7 +45,7 @@v-else-if="sendingInvites"class="flex items-center justify-center p-4">- <SmartSpinner />+ <HoppSmartSpinner /></div><div v-else class="flex flex-col"><div class="flex items-center justify-between flex-1">@@ -53,7 +58,7 @@v-if="pendingInvites.loading"class="flex items-center justify-center p-4">- <SmartSpinner />+ <HoppSmartSpinner /></div><div v-else><div@@ -82,7 +87,7 @@readonly/><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.remove')":icon="IconTrash"@@ -118,7 +123,7 @@{{ t("team.invite_tooltip") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondary:icon="IconPlus":label="t('add.new')"filled@@ -162,7 +167,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemlabel="OWNER":icon="invitee.value === 'OWNER' ? IconCircleDot : IconCircle@@ -175,7 +180,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="EDITOR":icon="invitee.value === 'EDITOR' ? IconCircleDot : IconCircle@@ -188,7 +193,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="VIEWER":icon="invitee.value === 'VIEWER' ? IconCircleDot : IconCircle@@ -206,7 +211,7 @@</tippy></span><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryid="member"v-tippy="{ theme: 'tooltip' }":title="t('action.remove')"@@ -229,7 +234,7 @@<span class="pb-4 text-center">{{ t("empty.invites") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('add.new')"filled@click="addNewInvitee"@@ -294,7 +299,7 @@v-if="sendInvitesResult.length"class="flex justify-between flex-1 text-secondaryLight">- <ButtonSecondary+ <HoppButtonSecondaryclass="link !p-0":label="t('team.invite_more')":icon="IconArrowLeft"@@ -310,15 +315,19 @@}"/>- <ButtonSecondary+ <HoppButtonSecondaryclass="link !p-0":label="`${t('action.dismiss')}`"@click="hideModal"/></p><span v-else class="flex space-x-2">- <ButtonPrimary :label="t('team.invite')" outline @click="sendInvites" />- <ButtonSecondary+ <HoppButtonPrimary+ :label="t('team.invite')"+ outline+ @click="sendInvites"+ />+ <HoppButtonSecondary:label="t('action.cancel')"outlinefilled@@ -326,7 +335,7 @@/></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/teams/Modal.vue b/packages/hoppscotch-common/src/components/teams/Modal.vueindex 60939ff2d..736c4da82 100644--- a/packages/hoppscotch-common/src/components/teams/Modal.vue+++ b/packages/hoppscotch-common/src/components/teams/Modal.vue@@ -1,5 +1,5 @@<template>- <SmartModal+ <HoppSmartModalv-if="show"dialog:title="t('team.select_a_team')"@@ -8,7 +8,7 @@<template #body><Teams :modal="true" /></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/components/teams/Team.vue b/packages/hoppscotch-common/src/components/teams/Team.vueindex a6a0e01f0..3a0d6b5e0 100644--- a/packages/hoppscotch-common/src/components/teams/Team.vue+++ b/packages/hoppscotch-common/src/components/teams/Team.vue@@ -56,7 +56,7 @@</div><div v-if="!compact" class="flex items-end justify-between flex-shrink-0"><span>- <ButtonSecondary+ <HoppButtonSecondaryv-if="team.myRole === 'OWNER'":icon="IconEdit"class="rounded-none"@@ -67,7 +67,7 @@}"/>- <ButtonSecondary+ <HoppButtonSecondaryv-if="team.myRole === 'OWNER'":icon="IconUserPlus"class="rounded-none"@@ -87,7 +87,7 @@theme="popover":on-shown="() => tippyActions.focus()">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.more')":icon="IconMoreVertical"@@ -108,7 +108,7 @@"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-if="team.myRole === 'OWNER'"ref="edit":icon="IconEdit"@@ -121,7 +121,7 @@}"/>- <SmartItem+ <HoppSmartItemv-if="!(team.myRole === 'OWNER' && team.ownersCount == 1)"ref="exit":icon="IconUserX"@@ -134,7 +134,7 @@}"/>- <SmartItem+ <HoppSmartItemv-if="team.myRole === 'OWNER'"ref="deleteAction":icon="IconTrash2"@@ -152,13 +152,13 @@</tippy></span></div>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmRemove":title="t('confirm.remove_team')"@hide-modal="confirmRemove = false"@resolve="deleteTeam()"/>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmExit":title="t('confirm.exit_team')"@hide-modal="confirmExit = false"diff --git a/packages/hoppscotch-common/src/components/teams/index.vue b/packages/hoppscotch-common/src/components/teams/index.vueindex 7b12a706c..571bb2098 100644--- a/packages/hoppscotch-common/src/components/teams/index.vue+++ b/packages/hoppscotch-common/src/components/teams/index.vue@@ -1,13 +1,13 @@<template><div><div class="space-y-4">- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('team.create_new')}`"outline@click="displayModalAdd(true)"/><div v-if="loading" class="flex flex-col items-center justify-center">- <SmartSpinner class="mb-4" />+ <HoppSmartSpinner class="mb-4" /><span class="text-secondaryLight">{{ t("state.loading") }}</span></div><div@@ -23,7 +23,7 @@<span class="mb-4 text-center">{{ t("empty.teams") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="`${t('team.create_new')}`"filled@click="displayModalAdd(true)"diff --git a/packages/hoppscotch-common/src/composables/settings.ts b/packages/hoppscotch-common/src/composables/settings.tsindex d5eb3d4df..9aef1545a 100644--- a/packages/hoppscotch-common/src/composables/settings.ts+++ b/packages/hoppscotch-common/src/composables/settings.ts@@ -1,15 +1,15 @@import { Ref } from "vue"-import { settingsStore, SettingsType } from "~/newstore/settings"+import { settingsStore, SettingsDef } from "~/newstore/settings"import { pluck, distinctUntilChanged } from "rxjs/operators"import { useStream, useStreamStatic } from "./stream"-export function useSetting<K extends keyof SettingsType>(+export function useSetting<K extends keyof SettingsDef>(settingKey: K-): Ref<SettingsType[K]> {+): Ref<SettingsDef[K]> {return useStream(settingsStore.subject$.pipe(pluck(settingKey), distinctUntilChanged()),settingsStore.value[settingKey],- (value: SettingsType[K]) => {+ (value: SettingsDef[K]) => {settingsStore.dispatch({dispatcher: "applySetting",payload: {@@ -25,13 +25,13 @@ export function useSetting<K extends keyof SettingsType>(* A static version (does not require component setup)* of `useSetting`*/-export function useSettingStatic<K extends keyof SettingsType>(+export function useSettingStatic<K extends keyof SettingsDef>(settingKey: K-): [Ref<SettingsType[K]>, () => void] {+): [Ref<SettingsDef[K]>, () => void] {return useStreamStatic(settingsStore.subject$.pipe(pluck(settingKey), distinctUntilChanged()),settingsStore.value[settingKey],- (value: SettingsType[K]) => {+ (value: SettingsDef[K]) => {settingsStore.dispatch({dispatcher: "applySetting",payload: {diff --git a/packages/hoppscotch-common/src/helpers/fb/collections.ts b/packages/hoppscotch-common/src/helpers/fb/collections.tsindex 09db5fdf3..8f8cff180 100644--- a/packages/hoppscotch-common/src/helpers/fb/collections.ts+++ b/packages/hoppscotch-common/src/helpers/fb/collections.ts@@ -84,6 +84,8 @@ export function initCollections() {})const gqlCollSub = graphqlCollections$.subscribe((collections) => {+ const currentUser = platform.auth.getCurrentUser()+if (loadedGraphqlCollections &¤tUser &&diff --git a/packages/hoppscotch-common/src/helpers/fb/settings.ts b/packages/hoppscotch-common/src/helpers/fb/settings.tsindex a3796acc9..1afc5713d 100644--- a/packages/hoppscotch-common/src/helpers/fb/settings.ts+++ b/packages/hoppscotch-common/src/helpers/fb/settings.ts@@ -6,7 +6,7 @@ import {setDoc,} from "firebase/firestore"import { platform } from "~/platform"-import { applySetting, settingsStore, SettingsType } from "~/newstore/settings"+import { applySetting, settingsStore, SettingsDef } from "~/newstore/settings"/*** Used locally to prevent infinite loop when settings sync update@@ -59,7 +59,7 @@ export function initSettings() {} else {writeSettings(dispatch.payload.settingKey,- settingsStore.value[dispatch.payload.settingKey as keyof SettingsType]+ settingsStore.value[dispatch.payload.settingKey as keyof SettingsDef])}}diff --git a/packages/hoppscotch-common/src/helpers/strategies/ExtensionStrategy.ts b/packages/hoppscotch-common/src/helpers/strategies/ExtensionStrategy.tsindex 5d9cef4f4..5bb0b69df 100644--- a/packages/hoppscotch-common/src/helpers/strategies/ExtensionStrategy.ts+++ b/packages/hoppscotch-common/src/helpers/strategies/ExtensionStrategy.ts@@ -16,7 +16,7 @@ export const hasFirefoxExtensionInstalled = () =>hasExtensionInstalled() && browserIsFirefox()export const cancelRunningExtensionRequest = () => {- window.__POSTWOMAN_EXTENSION_HOOK__?.cancelRunningRequest()+ window.__POSTWOMAN_EXTENSION_HOOK__?.cancelRequest()}export const defineSubscribableObject = <T extends object>(obj: T) => {diff --git a/packages/hoppscotch-common/src/modules/ui.ts b/packages/hoppscotch-common/src/modules/ui.tsindex e34f01b23..c4aa089b8 100644--- a/packages/hoppscotch-common/src/modules/ui.ts+++ b/packages/hoppscotch-common/src/modules/ui.ts@@ -1,10 +1,11 @@import { HoppModule } from "."-import HoppUI from "./../../../hoppscotch-ui/src"-import { HoppUIPluginOptions } from "@hoppscotch/ui/src"+import { plugin as HoppUI, HoppUIPluginOptions } from "@hoppscotch/ui"import { useKeybindingDisabler } from "~/helpers/keybindings"import { useI18n } from "vue-i18n"const { disableKeybindings, enableKeybindings } = useKeybindingDisabler()+import "@hoppscotch/ui/style.css"+const HoppUIOptions: HoppUIPluginOptions = {t: (key: string) => useI18n().t(key).toString(),onModalOpen: disableKeybindings,diff --git a/packages/hoppscotch-common/src/newstore/DispatchingStore.ts b/packages/hoppscotch-common/src/newstore/DispatchingStore.tsindex 81fdc1830..a54b692c8 100644--- a/packages/hoppscotch-common/src/newstore/DispatchingStore.ts+++ b/packages/hoppscotch-common/src/newstore/DispatchingStore.ts@@ -2,9 +2,9 @@ import { Subject, BehaviorSubject } from "rxjs"import { map } from "rxjs/operators"import { assign, clone } from "lodash-es"-type dispatcherFunc<StoreType> = (+type DispatcherFunc<StoreType, PayloadType> = (currentVal: StoreType,- payload: any+ payload: PayloadType) => Partial<StoreType>/**@@ -13,22 +13,27 @@ type dispatcherFunc<StoreType> = (* This function exists to provide better typing for dispatch function.* As you can see, its pretty much an identity function.*/-export const defineDispatchers = <StoreType, T>(+export const defineDispatchers = <+ StoreType,+ T extends { [x: string]: DispatcherFunc<StoreType, any> }+>(// eslint-disable-next-line no-unused-vars- dispatchers: { [_ in keyof T]: dispatcherFunc<StoreType> }+ dispatchers: T) => dispatcherstype Dispatch<StoreType,- DispatchersType extends Record<string, dispatcherFunc<StoreType>>+ DispatchersType extends { [x: string]: DispatcherFunc<StoreType, any> }> = {- dispatcher: keyof DispatchersType- payload: any-}+ [Dispatcher in keyof DispatchersType]: {+ dispatcher: Dispatcher+ payload: Parameters<DispatchersType[Dispatcher]>[1]+ }+}[keyof DispatchersType]export default class DispatchingStore<StoreType,- DispatchersType extends Record<string, dispatcherFunc<StoreType>>+ DispatchersType extends { [x: string]: DispatcherFunc<StoreType, any> }> {#state$: BehaviorSubject<StoreType>#dispatchers: DispatchersType@@ -66,7 +71,7 @@ export default class DispatchingStore<dispatch({ dispatcher, payload }: Dispatch<StoreType, DispatchersType>) {if (!this.#dispatchers[dispatcher])- throw new Error(`Undefined dispatch type '${dispatcher}'`)+ throw new Error(`Undefined dispatch type '${String(dispatcher)}'`)this.#dispatches$.next({ dispatcher, payload })}diff --git a/packages/hoppscotch-common/src/newstore/RESTSession.ts b/packages/hoppscotch-common/src/newstore/RESTSession.tsindex a0b755778..f1e18cf29 100644--- a/packages/hoppscotch-common/src/newstore/RESTSession.ts+++ b/packages/hoppscotch-common/src/newstore/RESTSession.ts@@ -114,7 +114,7 @@ const dispatchers = defineDispatchers({},}},- deleteAllParams(curr: RESTSession) {+ deleteAllParams(curr: RESTSession, {}) {return {request: {...curr.request,@@ -168,7 +168,7 @@ const dispatchers = defineDispatchers({},}},- deleteAllHeaders(curr: RESTSession) {+ deleteAllHeaders(curr: RESTSession, {}) {return {request: {...curr.request,@@ -257,7 +257,7 @@ const dispatchers = defineDispatchers({},}},- deleteAllFormDataEntries(curr: RESTSession) {+ deleteAllFormDataEntries(curr: RESTSession, {}) {// Only perform update if the current content-type is formdataif (curr.request.body.contentType !== "multipart/form-data") return {}@@ -288,7 +288,7 @@ const dispatchers = defineDispatchers({}},// eslint-disable-next-line @typescript-eslint/no-unused-vars- clearResponse(_curr: RESTSession) {+ clearResponse(_curr: RESTSession, {}) {return {response: null,}@@ -490,7 +490,7 @@ export function setRESTTestScript(newScript: string) {})}-export function setRESTReqBody(newBody: HoppRESTReqBody | null) {+export function setRESTReqBody(newBody: HoppRESTReqBody) {restSessionStore.dispatch({dispatcher: "setRequestBody",payload: {diff --git a/packages/hoppscotch-common/src/newstore/SocketIOSession.ts b/packages/hoppscotch-common/src/newstore/SocketIOSession.tsindex f8561bdef..43b020ed6 100644--- a/packages/hoppscotch-common/src/newstore/SocketIOSession.ts+++ b/packages/hoppscotch-common/src/newstore/SocketIOSession.ts@@ -109,7 +109,7 @@ export function setSIOEndpoint(newEndpoint: string) {})}-export function setSIOVersion(newVersion: string) {+export function setSIOVersion(newVersion: SIOClientVersion) {SIOSessionStore.dispatch({dispatcher: "setVersion",payload: {diff --git a/packages/hoppscotch-common/src/newstore/WebSocketSession.ts b/packages/hoppscotch-common/src/newstore/WebSocketSession.tsindex 6f5759e0a..9f9f0692d 100644--- a/packages/hoppscotch-common/src/newstore/WebSocketSession.ts+++ b/packages/hoppscotch-common/src/newstore/WebSocketSession.ts@@ -74,7 +74,7 @@ const dispatchers = defineDispatchers({},}},- deleteAllProtocols(curr: HoppWSSession) {+ deleteAllProtocols(curr: HoppWSSession, {}) {return {request: {endpoint: curr.request.endpoint,diff --git a/packages/hoppscotch-common/src/newstore/collections.ts b/packages/hoppscotch-common/src/newstore/collections.tsindex 3ed853234..6ccec0e66 100644--- a/packages/hoppscotch-common/src/newstore/collections.ts+++ b/packages/hoppscotch-common/src/newstore/collections.ts@@ -127,7 +127,13 @@ const restCollectionDispatchers = defineDispatchers({editFolder({ state }: RESTCollectionStoreType,- { path, folder }: { path: string; folder: string }+ {+ path,+ folder,+ }: {+ path: string+ folder: HoppCollection<HoppRESTRequest>+ }) {const newState = state@@ -393,7 +399,7 @@ const gqlCollectionDispatchers = defineDispatchers({editFolder({ state }: GraphqlCollectionStoreType,- { path, folder }: { path: string; folder: string }+ { path, folder }: { path: string; folder: HoppCollection<HoppGQLRequest> }) {const newState = statediff --git a/packages/hoppscotch-common/src/newstore/environments.ts b/packages/hoppscotch-common/src/newstore/environments.tsindex 54c7c63df..03dc71c9e 100644--- a/packages/hoppscotch-common/src/newstore/environments.ts+++ b/packages/hoppscotch-common/src/newstore/environments.ts@@ -236,7 +236,8 @@ const dispatchers = defineDispatchers({globals: entries,}},- clearGlobalVariables() {+ // eslint-disable-next-line @typescript-eslint/no-unused-vars+ clearGlobalVariables(_store, {}) {return {globals: [],}diff --git a/packages/hoppscotch-common/src/newstore/history.ts b/packages/hoppscotch-common/src/newstore/history.tsindex 2b61edbc5..6943651c1 100644--- a/packages/hoppscotch-common/src/newstore/history.ts+++ b/packages/hoppscotch-common/src/newstore/history.ts@@ -141,7 +141,8 @@ const RESTHistoryDispatchers = defineDispatchers({state: currentVal.state.filter((e) => !isEqual(e, entry)),}},- clearHistory() {+ // eslint-disable-next-line @typescript-eslint/no-unused-vars+ clearHistory(_, {}) {return {state: [],}@@ -189,7 +190,8 @@ const GQLHistoryDispatchers = defineDispatchers({state: currentVal.state.filter((e) => !isEqual(e, entry)),}},- clearHistory() {+ // eslint-disable-next-line @typescript-eslint/no-unused-vars+ clearHistory(_, {}) {return {state: [],}diff --git a/packages/hoppscotch-common/src/newstore/localstate.ts b/packages/hoppscotch-common/src/newstore/localstate.tsindex b0ef621f7..1d78c46af 100644--- a/packages/hoppscotch-common/src/newstore/localstate.ts+++ b/packages/hoppscotch-common/src/newstore/localstate.ts@@ -11,14 +11,18 @@ const defaultLocalState: LocalState = {REMEMBERED_TEAM_ID: undefined,}+type ApplyLocalState = {+ [K in keyof LocalState]: {+ key: K+ value: LocalState[K]+ }+}[keyof LocalState]+const dispatchers = defineDispatchers({bulkApplyState(_currentState: LocalState, payload: Partial<LocalState>) {return payload},- applyState<K extends keyof LocalState>(- _currentState: LocalState,- { key, value }: { key: K; value: LocalState[K] }- ) {+ applyState(_currentState: LocalState, { key, value }: ApplyLocalState) {const result: Partial<LocalState> = {[key]: value,}diff --git a/packages/hoppscotch-common/src/newstore/settings.ts b/packages/hoppscotch-common/src/newstore/settings.tsindex c3dfd33d4..cc4ffa43f 100644--- a/packages/hoppscotch-common/src/newstore/settings.ts+++ b/packages/hoppscotch-common/src/newstore/settings.ts@@ -27,7 +27,7 @@ export const HoppFontSizes = ["small", "medium", "large"] as constexport type HoppFontSize = (typeof HoppFontSizes)[number]-export type SettingsType = {+export type SettingsDef = {syncCollections: booleansyncHistory: booleansyncEnvironments: boolean@@ -53,7 +53,7 @@ export type SettingsType = {COLUMN_LAYOUT: boolean}-export const defaultSettings: SettingsType = {+export const defaultSettings: SettingsDef = {syncCollections: true,syncHistory: true,syncEnvironments: true,@@ -79,18 +79,22 @@ export const defaultSettings: SettingsType = {COLUMN_LAYOUT: true,}+type ApplySettingPayload = {+ [K in keyof SettingsDef]: {+ settingKey: K+ value: SettingsDef[K]+ }+}[keyof SettingsDef]+const validKeys = Object.keys(defaultSettings)const dispatchers = defineDispatchers({- bulkApplySettings(- _currentState: SettingsType,- payload: Partial<SettingsType>- ) {+ bulkApplySettings(_currentState: SettingsDef, payload: Partial<SettingsDef>) {return payload},toggleSetting(- currentState: SettingsType,- { settingKey }: { settingKey: KeysMatching<SettingsType, boolean> }+ currentState: SettingsDef,+ { settingKey }: { settingKey: KeysMatching<SettingsDef, boolean> }) {if (!has(currentState, settingKey)) {// console.log(@@ -99,14 +103,14 @@ const dispatchers = defineDispatchers({return {}}- const result: Partial<SettingsType> = {}+ const result: Partial<SettingsDef> = {}result[settingKey] = !currentState[settingKey]return result},- applySetting<K extends keyof SettingsType>(- _currentState: SettingsType,- { settingKey, value }: { settingKey: K; value: SettingsType[K] }+ applySetting(+ _currentState: SettingsDef,+ { settingKey, value }: ApplySettingPayload) {if (!validKeys.includes(settingKey)) {// console.log(@@ -115,8 +119,9 @@ const dispatchers = defineDispatchers({return {}}- const result: Partial<SettingsType> = {}- result[settingKey] = value+ const result: Partial<SettingsDef> = {+ [settingKey]: value,+ }return result},@@ -129,20 +134,20 @@ export const settingsStore = new DispatchingStore(defaultSettings, dispatchers)*/export const settings$ = settingsStore.subject$.asObservable()-export function getSettingSubject<K extends keyof SettingsType>(+export function getSettingSubject<K extends keyof SettingsDef>(settingKey: K-): Observable<SettingsType[K]> {+): Observable<SettingsDef[K]> {return settingsStore.subject$.pipe(pluck(settingKey), distinctUntilChanged())}-export function bulkApplySettings(settingsObj: Partial<SettingsType>) {+export function bulkApplySettings(settingsObj: Partial<SettingsDef>) {settingsStore.dispatch({dispatcher: "bulkApplySettings",payload: settingsObj,})}-export function toggleSetting(settingKey: KeysMatching<SettingsType, boolean>) {+export function toggleSetting(settingKey: KeysMatching<SettingsDef, boolean>) {settingsStore.dispatch({dispatcher: "toggleSetting",payload: {@@ -151,12 +156,13 @@ export function toggleSetting(settingKey: KeysMatching<SettingsType, boolean>) {})}-export function applySetting<K extends keyof SettingsType>(- settingKey: K,- value: SettingsType[K]+export function applySetting<K extends ApplySettingPayload>(+ settingKey: K["settingKey"],+ value: K["value"]) {settingsStore.dispatch({dispatcher: "applySetting",+ // @ts-expect-error TS is not able to understand the type semantics herepayload: {settingKey,value,diff --git a/packages/hoppscotch-common/src/pages/_.vue b/packages/hoppscotch-common/src/pages/_.vueindex 90a5bde22..7b8361022 100644--- a/packages/hoppscotch-common/src/pages/_.vue+++ b/packages/hoppscotch-common/src/pages/_.vue@@ -16,8 +16,13 @@</h1><p class="mb-4 text-secondaryLight">{{ message }}</p><p class="mt-4 space-x-2">- <ButtonSecondary to="/" :icon="IconHome" filled :label="t('app.home')" />- <ButtonSecondary+ <HoppButtonSecondary+ to="/"+ :icon="IconHome"+ filled+ :label="t('app.home')"+ />+ <HoppButtonSecondary:icon="IconRefreshCW":label="t('app.reload')"filleddiff --git a/packages/hoppscotch-common/src/pages/enter.vue b/packages/hoppscotch-common/src/pages/enter.vueindex 6bef11446..5904e1be9 100644--- a/packages/hoppscotch-common/src/pages/enter.vue+++ b/packages/hoppscotch-common/src/pages/enter.vue@@ -1,6 +1,6 @@<template><div class="flex flex-col items-center justify-center min-h-screen">- <SmartSpinner v-if="signingInWithEmail" />+ <HoppSmartSpinner v-if="signingInWithEmail" /><AppLogo v-else class="w-16 h-16 rounded" /><pre v-if="error" class="mt-4 text-secondaryLight">{{ error }}</pre></div>diff --git a/packages/hoppscotch-common/src/pages/join-team.vue b/packages/hoppscotch-common/src/pages/join-team.vueindex f10a84e5d..7ff7ba577 100644--- a/packages/hoppscotch-common/src/pages/join-team.vue+++ b/packages/hoppscotch-common/src/pages/join-team.vue@@ -16,7 +16,7 @@v-else-if="loadingCurrentUser"class="flex flex-col items-center justify-center flex-1 p-4">- <SmartSpinner />+ <HoppSmartSpinner /></div><divv-else-if="currentUser === null"@@ -24,7 +24,7 @@><h1 class="heading">{{ t("team.login_to_continue") }}</h1><p class="mt-2">{{ t("team.login_to_continue_description") }}</p>- <ButtonPrimary+ <HoppButtonPrimary:label="t('auth.login_to_hoppscotch')"class="mt-8"@click="invokeAction('modals.login.toggle')"@@ -35,7 +35,7 @@v-if="inviteDetails.loading"class="flex flex-col items-center justify-center flex-1 p-4">- <SmartSpinner />+ <HoppSmartSpinner /></div><div v-else><div@@ -86,7 +86,7 @@}}</p><div class="mt-8">- <ButtonPrimary+ <HoppButtonPrimary:label="t('team.join_team', {team: inviteDetails.data.right.teamInvitation.team.name,@@ -121,7 +121,7 @@}}</p><div class="mt-8">- <ButtonSecondary+ <HoppButtonSecondaryto="/":icon="IconHome"filled@@ -132,7 +132,7 @@</div></div><div class="p-4">- <ButtonSecondary+ <HoppButtonSecondaryclass="tracking-wide !font-bold !text-secondaryDark"label="HOPPSCOTCH"to="/"diff --git a/packages/hoppscotch-common/src/pages/profile.vue b/packages/hoppscotch-common/src/pages/profile.vueindex 9f345eb71..ec21d4df9 100644--- a/packages/hoppscotch-common/src/pages/profile.vue+++ b/packages/hoppscotch-common/src/pages/profile.vue@@ -6,7 +6,7 @@v-if="loadingCurrentUser"class="flex flex-col items-center justify-center flex-1 p-4">- <SmartSpinner class="mb-4" />+ <HoppSmartSpinner class="mb-4" /></div><divv-else-if="currentUser === null"@@ -21,7 +21,7 @@<p class="pb-4 text-center text-secondaryLight">{{ t("empty.profile") }}</p>- <ButtonPrimary+ <HoppButtonPrimary:label="t('auth.login')"class="mb-4"@click="invokeAction('modals.login.toggle')"@@ -66,7 +66,7 @@:title="t('settings.verified_email')"class="ml-2 text-green-500 svg-icons focus:outline-none cursor-help"/>- <ButtonSecondary+ <HoppButtonSecondaryv-else:label="t('settings.verify_email')":icon="IconVerified"@@ -79,7 +79,7 @@</div><div class="flex items-end space-x-2"><div>- <SmartItem+ <HoppSmartItemto="/settings":icon="IconSettings":label="t('profile.app_settings')"@@ -89,12 +89,12 @@<FirebaseLogout outline /></div></div>- <SmartTabs+ <HoppSmartTabsv-model="selectedProfileTab"styles="sticky overflow-x-auto flex-shrink-0 bg-primary top-0 z-10"render-inactive-tabs>- <SmartTab :id="'sync'" :label="t('settings.account')">+ <HoppSmartTab :id="'sync'" :label="t('settings.account')"><div class="grid grid-cols-1"><section class="p-4"><h4 class="font-semibold text-secondaryDark">@@ -120,7 +120,7 @@autocomplete="off"required/>- <ButtonSecondary+ <HoppButtonSecondaryfilledoutline:label="t('action.save')"@@ -147,7 +147,7 @@autocomplete="off"required/>- <ButtonSecondary+ <HoppButtonSecondaryfilledoutline:label="t('action.save')"@@ -170,39 +170,39 @@</div><div class="py-4 space-y-4"><div class="flex items-center">- <SmartToggle+ <HoppSmartToggle:on="SYNC_COLLECTIONS"@change="toggleSetting('syncCollections')">{{ t("settings.sync_collections") }}- </SmartToggle>+ </HoppSmartToggle></div><div class="flex items-center">- <SmartToggle+ <HoppSmartToggle:on="SYNC_ENVIRONMENTS"@change="toggleSetting('syncEnvironments')">{{ t("settings.sync_environments") }}- </SmartToggle>+ </HoppSmartToggle></div><div class="flex items-center">- <SmartToggle+ <HoppSmartToggle:on="SYNC_HISTORY"@change="toggleSetting('syncHistory')">{{ t("settings.sync_history") }}- </SmartToggle>+ </HoppSmartToggle></div></div></section><ProfileShortcodes /></div>- </SmartTab>- <SmartTab :id="'teams'" :label="t('team.title')">+ </HoppSmartTab>+ <HoppSmartTab :id="'teams'" :label="t('team.title')"><Teams :modal="false" class="p-4" />- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></div></div></div>diff --git a/packages/hoppscotch-common/src/pages/r/_id.vue b/packages/hoppscotch-common/src/pages/r/_id.vueindex 15c65067b..89710cf9f 100644--- a/packages/hoppscotch-common/src/pages/r/_id.vue+++ b/packages/hoppscotch-common/src/pages/r/_id.vue@@ -17,7 +17,7 @@v-if="shortcodeDetails.loading"class="flex flex-col items-center justify-center flex-1 p-4">- <SmartSpinner />+ <HoppSmartSpinner /></div><div v-else><div@@ -32,13 +32,13 @@{{ t("error.invalid_link_description") }}</p><p class="mt-4">- <ButtonSecondary+ <HoppButtonSecondaryto="/":icon="IconHome"filled:label="t('app.home')"/>- <ButtonSecondary+ <HoppButtonSecondary:icon="IconRefreshCW":label="t('app.reload')"filleddiff --git a/packages/hoppscotch-common/src/pages/realtime.vue b/packages/hoppscotch-common/src/pages/realtime.vueindex bd56ace7a..2cbde040c 100644--- a/packages/hoppscotch-common/src/pages/realtime.vue+++ b/packages/hoppscotch-common/src/pages/realtime.vue@@ -1,18 +1,18 @@<template>- <SmartTabs+ <HoppSmartTabsv-model="currentTab"styles="sticky overflow-x-auto flex-shrink-0 bg-primary top-0 z-10"content-styles="h-[calc(100%-var(--sidebar-primary-sticky-fold)-1px)] !flex">- <SmartTab+ <HoppSmartTabv-for="{ target, title } in REALTIME_NAVIGATION":id="target":key="target":label="title"><RouterView />- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></template><script setup lang="ts">diff --git a/packages/hoppscotch-common/src/pages/realtime/mqtt.vue b/packages/hoppscotch-common/src/pages/realtime/mqtt.vueindex 46b9c1610..9e21490bb 100644--- a/packages/hoppscotch-common/src/pages/realtime/mqtt.vue+++ b/packages/hoppscotch-common/src/pages/realtime/mqtt.vue@@ -38,7 +38,7 @@@keyup.enter="isUrlValid ? toggleConnection() : null"/></div>- <ButtonPrimary+ <HoppButtonPrimaryid="connect":disabled="!isUrlValid"class="w-32"@@ -84,14 +84,14 @@/></template><template #secondary>- <SmartWindows+ <HoppSmartWindows:id="'communication_tab'"v-model="currentTabId":can-add-new-tab="false"@remove-tab="removeTab"@sort="sortTabs">- <SmartWindow+ <HoppSmartWindowv-for="tab in tabs":id="tab.id":key="'removable_tab_' + tab.id"@@ -111,22 +111,22 @@:log="((tab.id === 'all' ? logs : tab.logs) as LogEntryData[])"@delete="clearLogEntries()"/>- </SmartWindow>- </SmartWindows>+ </HoppSmartWindow>+ </HoppSmartWindows></template><template #sidebar><divclass="sticky z-10 flex flex-col flex-shrink-0 overflow-x-auto border-b divide-y rounded-t divide-dividerLight bg-primary border-dividerLight"><div class="flex justify-between flex-1">- <ButtonSecondary+ <HoppButtonSecondary:icon="IconPlus":label="t('mqtt.new')"class="!rounded-none"@click="showSubscriptionModal(true)"/><span class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/mqtt"blank@@ -150,7 +150,7 @@<span class="pb-4 text-center">{{ t("empty.subscription") }}</span>- <ButtonSecondary+ <HoppButtonSecondary:label="t('mqtt.new')"filledoutline@@ -181,7 +181,7 @@{{ topic.name }}</span></span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":icon="IconTrash"color="red"diff --git a/packages/hoppscotch-common/src/pages/realtime/socketio.vue b/packages/hoppscotch-common/src/pages/realtime/socketio.vueindex 589e53f30..8f566150b 100644--- a/packages/hoppscotch-common/src/pages/realtime/socketio.vue+++ b/packages/hoppscotch-common/src/pages/realtime/socketio.vue@@ -34,7 +34,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemv-for="version in SIOVersions":key="`client-${version}`":label="`Client ${version}`"@@ -76,7 +76,7 @@@keyup.enter="isUrlValid ? toggleConnection() : null"/></div>- <ButtonPrimary+ <HoppButtonPrimaryid="connect":disabled="!isUrlValid"name="connect"@@ -93,12 +93,12 @@/></div></div>- <SmartTabs+ <HoppSmartTabsv-model="selectedTab"styles="sticky overflow-x-auto flex-shrink-0 bg-primary top-upperPrimaryStickyFold z-10"render-inactive-tabs>- <SmartTab+ <HoppSmartTab:id="'communication'":label="`${t('websocket.communication')}`"render-inactive-tabs@@ -110,8 +110,11 @@sticky-header-styles="top-upperTertiaryStickyFold"@send-message="sendMessage($event)"/>- </SmartTab>- <SmartTab :id="'protocols'" :label="`${t('request.authorization')}`">+ </HoppSmartTab>+ <HoppSmartTab+ :id="'protocols'"+ :label="`${t('request.authorization')}`"+ ><divclass="sticky z-10 flex items-center justify-between flex-shrink-0 pl-4 overflow-x-auto border-b bg-primary border-dividerLight top-upperSecondaryStickyFold">@@ -126,7 +129,7 @@:on-shown="() => authTippyActions.focus()"><span class="select-wrapper">- <ButtonSecondary+ <HoppButtonSecondaryclass="pr-8 ml-2 rounded-none":label="authType"/>@@ -138,7 +141,7 @@tabindex="0"@keyup.escape="hide()">- <SmartItem+ <HoppSmartItemlabel="None":icon="authType === 'None' ? IconCircleDot : IconCircle":active="authType === 'None'"@@ -149,7 +152,7 @@}"/>- <SmartItem+ <HoppSmartItemlabel="Bearer Token":icon="authType === 'Bearer' ? IconCircleDot : IconCircle":active="authType === 'Bearer'"@@ -165,21 +168,21 @@</tippy></span><div class="flex">- <SmartCheckbox+ <HoppSmartCheckbox:on="authActive"class="px-2"@change="authActive = !authActive">{{ t("state.enabled") }}- </SmartCheckbox>- <ButtonSecondary+ </HoppSmartCheckbox>+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }"to="https://docs.hoppscotch.io/features/authorization"blank:title="t('app.wiki')":icon="IconHelpCircle"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear')":icon="IconTrash2"@@ -200,7 +203,7 @@<span class="pb-4 text-center">{{ t("socketio.connection_not_authorized") }}</span>- <ButtonSecondary+ <HoppButtonSecondaryoutline:label="t('app.documentation')"to="https://docs.hoppscotch.io/features/authorization"@@ -226,7 +229,7 @@<div class="pb-2 text-secondaryLight">{{ t("helpers.authorization") }}</div>- <SmartAnchor+ <HoppSmartAnchorclass="link":label="t('authorization.learn')":icon="IconExternalLink"@@ -237,8 +240,8 @@</div></div></div>- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></template><template #secondary><RealtimeLogdiff --git a/packages/hoppscotch-common/src/pages/realtime/sse.vue b/packages/hoppscotch-common/src/pages/realtime/sse.vueindex 11b7e1826..f3391f383 100644--- a/packages/hoppscotch-common/src/pages/realtime/sse.vue+++ b/packages/hoppscotch-common/src/pages/realtime/sse.vue@@ -36,7 +36,7 @@@keyup.enter="isUrlValid ? toggleSSEConnection() : null"/></div>- <ButtonPrimary+ <HoppButtonPrimaryid="start":disabled="!isUrlValid"name="start"diff --git a/packages/hoppscotch-common/src/pages/realtime/websocket.vue b/packages/hoppscotch-common/src/pages/realtime/websocket.vueindex d40306002..52b993629 100644--- a/packages/hoppscotch-common/src/pages/realtime/websocket.vue+++ b/packages/hoppscotch-common/src/pages/realtime/websocket.vue@@ -20,7 +20,7 @@"@keyup.enter="isUrlValid ? toggleConnection() : null"/>- <ButtonPrimary+ <HoppButtonPrimaryid="connect":disabled="!isUrlValid"class="w-32"@@ -37,12 +37,12 @@/></div></div>- <SmartTabs+ <HoppSmartTabsv-model="selectedTab"styles="sticky overflow-x-auto flex-shrink-0 bg-primary top-upperPrimaryStickyFold z-10"render-inactive-tabs>- <SmartTab+ <HoppSmartTab:id="'communication'":label="`${t('websocket.communication')}`">@@ -51,8 +51,8 @@sticky-header-styles="top-upperSecondaryStickyFold"@send-message="sendMessage($event)"/>- </SmartTab>- <SmartTab :id="'protocols'" :label="`${t('websocket.protocols')}`">+ </HoppSmartTab>+ <HoppSmartTab :id="'protocols'" :label="`${t('websocket.protocols')}`"><divclass="sticky z-10 flex items-center justify-between flex-shrink-0 pl-4 overflow-x-auto border-b bg-primary border-dividerLight top-upperSecondaryStickyFold">@@ -60,13 +60,13 @@{{ t("websocket.protocols") }}</label><div class="flex">- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.clear_all')":icon="IconTrash2"@click="clearContent"/>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('add.new')":icon="IconPlus"@@ -89,7 +89,7 @@class="flex border-b divide-x divide-dividerLight border-dividerLight draggable-content group"><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{theme: 'tooltip',delay: [500, 20],@@ -122,7 +122,7 @@"/><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="protocol.hasOwnProperty('active')@@ -148,7 +148,7 @@/></span><span>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('action.remove')":icon="IconTrash"@@ -173,8 +173,8 @@{{ t("empty.protocols") }}</span></div>- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></template><template #secondary><RealtimeLog@@ -194,7 +194,7 @@ import IconCheckCircle from "~icons/lucide/check-circle"import IconCircle from "~icons/lucide/circle"import IconGripVertical from "~icons/lucide/grip-vertical"import IconTrash from "~icons/lucide/trash"-import draggable from "vuedraggable"+import draggable from "vuedraggable-es"import {setWSEndpoint,WSEndpoint$,diff --git a/packages/hoppscotch-common/src/pages/settings.vue b/packages/hoppscotch-common/src/pages/settings.vueindex 72e0ef25a..5e336cbac 100644--- a/packages/hoppscotch-common/src/pages/settings.vue+++ b/packages/hoppscotch-common/src/pages/settings.vue@@ -58,7 +58,7 @@</h4><div class="my-1 text-secondaryLight">{{ t("settings.experiments_notice") }}- <SmartAnchor+ <HoppSmartAnchorclass="link"to="https://github.com/hoppscotch/hoppscotch/issues/new/choose"blank@@ -67,30 +67,36 @@</div><div class="py-4 space-y-4"><div class="flex items-center">- <SmartToggle :on="TELEMETRY_ENABLED" @change="showConfirmModal">+ <HoppSmartToggle+ :on="TELEMETRY_ENABLED"+ @change="showConfirmModal"+ >{{ t("settings.telemetry") }}- </SmartToggle>+ </HoppSmartToggle></div><div class="flex items-center">- <SmartToggle+ <HoppSmartToggle:on="EXPAND_NAVIGATION"@change="toggleSetting('EXPAND_NAVIGATION')">{{ t("settings.expand_navigation") }}- </SmartToggle>+ </HoppSmartToggle></div><div class="flex items-center">- <SmartToggle+ <HoppSmartToggle:on="SIDEBAR_ON_LEFT"@change="toggleSetting('SIDEBAR_ON_LEFT')">{{ t("settings.sidebar_on_left") }}- </SmartToggle>+ </HoppSmartToggle></div><div class="flex items-center">- <SmartToggle :on="ZEN_MODE" @change="toggleSetting('ZEN_MODE')">+ <HoppSmartToggle+ :on="ZEN_MODE"+ @change="toggleSetting('ZEN_MODE')"+ >{{ t("layout.zen_mode") }}- </SmartToggle>+ </HoppSmartToggle></div></div></section>@@ -126,7 +132,7 @@</div><div class="flex flex-col py-4 space-y-2"><span>- <SmartItem+ <HoppSmartItemto="https://chrome.google.com/webstore/detail/hoppscotch-browser-extens/amknoiejhlmhancpahfcfcfhllgkpbld"blank:icon="IconChrome"@@ -137,7 +143,7 @@/></span><span>- <SmartItem+ <HoppSmartItemto="https://addons.mozilla.org/en-US/firefox/addon/hoppscotch"blank:icon="IconFirefox"@@ -150,12 +156,12 @@</div><div class="py-4 space-y-4"><div class="flex items-center">- <SmartToggle+ <HoppSmartToggle:on="EXTENSIONS_ENABLED"@change="toggleInterceptor('extension')">{{ t("settings.extensions_use_toggle") }}- </SmartToggle>+ </HoppSmartToggle></div></div></section>@@ -169,7 +175,7 @@"settings.read_the")}`}}- <SmartAnchor+ <HoppSmartAnchorclass="link"to="https://docs.hoppscotch.io/privacy"blank@@ -178,12 +184,12 @@</div><div class="py-4 space-y-4"><div class="flex items-center">- <SmartToggle+ <HoppSmartToggle:on="PROXY_ENABLED"@change="toggleInterceptor('proxy')">{{ t("settings.proxy_use_toggle") }}- </SmartToggle>+ </HoppSmartToggle></div></div><div class="flex items-center py-4 space-x-2">@@ -201,7 +207,7 @@{{ t("settings.proxy_url") }}</label></div>- <ButtonSecondary+ <HoppButtonSecondaryv-tippy="{ theme: 'tooltip' }":title="t('settings.reset_default')":icon="clearIcon"@@ -214,7 +220,7 @@</div></div></div>- <SmartConfirmModal+ <HoppSmartConfirmModal:show="confirmRemove":title="`${t('confirm.remove_telemetry')} ${t('settings.telemetry_helps_us'diff --git a/packages/hoppscotch-common/src/shims.d.ts b/packages/hoppscotch-common/src/shims.d.tsindex 84ea49fb5..3248a8527 100644--- a/packages/hoppscotch-common/src/shims.d.ts+++ b/packages/hoppscotch-common/src/shims.d.ts@@ -8,7 +8,7 @@ interface PWExtensionHook {sendRequest: (req: AxiosRequestConfig & { wantsBinary: boolean }) => Promise<NetworkResponse>- cancelRunningRequest: () => void+ cancelRequest: () => void}type HoppExtensionStatusHook = {@@ -18,17 +18,9 @@ type HoppExtensionStatusHook = {}subscribe(prop: "status", func: (...args: any[]) => any): void}-declare global {+export declare global {interface Window {__POSTWOMAN_EXTENSION_HOOK__: PWExtensionHook | undefined__HOPP_EXTENSION_STATUS_PROXY__: HoppExtensionStatusHook | undefined}}--// Vue builtins-declare module '*.vue' {- import type { DefineComponent } from 'vue'- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types- const component: DefineComponent<{}, {}, any>- export default component-}diff --git a/packages/hoppscotch-common/tsconfig.json b/packages/hoppscotch-common/tsconfig.jsonindex f97577f92..8b37ddb21 100644--- a/packages/hoppscotch-common/tsconfig.json+++ b/packages/hoppscotch-common/tsconfig.json@@ -3,7 +3,7 @@"target": "ESNext","useDefineForClassFields": true,"module": "ESNext",- "moduleResolution": "Node",+ "moduleResolution": "node","strict": true,"jsx": "preserve","sourceMap": true,diff --git a/packages/hoppscotch-sh-admin/.gitignore b/packages/hoppscotch-sh-admin/.gitignorenew file mode 100644index 000000000..ed50c067a--- /dev/null+++ b/packages/hoppscotch-sh-admin/.gitignore@@ -0,0 +1,30 @@+# Logs+logs+*.log+npm-debug.log*+yarn-debug.log*+yarn-error.log*+pnpm-debug.log*+lerna-debug.log*+pnpm-lock.yaml++node_modules+dist+dist-ssr+*.local++# Editor directories and files+.idea+.DS_Store+*.suo+*.ntvs*+*.njsproj+*.sln+*.sw?++# GQL generated files+src/helpers/backend/graphql.ts+src/helpers/backend/graphql.schema.json++# Vite Generated Files+vite.config.ts.timestamp-*.jsdiff --git a/packages/hoppscotch-sh-admin/assets/scss/styles.scss b/packages/hoppscotch-sh-admin/assets/scss/styles.scssnew file mode 100644index 000000000..d29df819e--- /dev/null+++ b/packages/hoppscotch-sh-admin/assets/scss/styles.scss@@ -0,0 +1,570 @@+* {+ @apply backface-hidden;+ @apply before:backface-hidden;+ @apply after:backface-hidden;+ @apply selection:bg-accentDark;+ @apply selection:text-accentContrast;+}++:root {+ @apply antialiased;+ accent-color: var(--accent-color);+ font-variant-ligatures: common-ligatures;+}++::-webkit-scrollbar-track {+ @apply bg-transparent;+ @apply border-solid border-l border-dividerLight border-t-0 border-b-0 border-r-0;+}++::-webkit-scrollbar-thumb {+ @apply bg-divider bg-clip-content;+ @apply rounded-full;+ @apply border-solid border-transparent border-4;+ @apply hover:bg-dividerDark;+ @apply hover:bg-clip-content;+}++::-webkit-scrollbar {+ @apply w-4;+ @apply h-0;+}++input::placeholder,+textarea::placeholder,+.cm-placeholder {+ @apply text-secondary;+ @apply opacity-35;+}++input,+textarea {+ @apply text-secondaryDark;+ @apply font-medium;+}++html {+ scroll-behavior: smooth;+}++body {+ @apply bg-primary;+ @apply text-secondary text-body;+ @apply font-medium;+ @apply select-none;+ @apply overflow-x-hidden;+ @apply leading-body;+ animation: fade 300ms forwards;+ -webkit-tap-highlight-color: transparent;+ -webkit-touch-callout: none;+}++@keyframes fade {+ 0% {+ @apply opacity-0;+ }++ 100% {+ @apply opacity-100;+ }+}++.fade-enter-active,+.fade-leave-active {+ @apply transition-opacity;+}++.fade-enter-from,+.fade-leave-to {+ @apply opacity-0;+}++.slide-enter-active,+.slide-leave-active {+ @apply transition;+ @apply duration-300;+}++.slide-enter-from,+.slide-leave-to {+ @apply transform;+ @apply translate-x-full;+}++.bounce-enter-active,+.bounce-leave-active {+ @apply transition;+}++.bounce-enter-from,+.bounce-leave-to {+ @apply transform;+ @apply scale-95;+}++.svg-icons {+ @apply flex-shrink-0;+ @apply overflow-hidden;+ height: var(--line-height-body);+ width: var(--line-height-body);+}++a {+ @apply inline-flex;+ @apply text-current;+ @apply no-underline;+ @apply transition;+ @apply leading-body;+ @apply focus:outline-none;++ &.link {+ @apply items-center;+ @apply py-0.5 px-1;+ @apply -my-0.5 -mx-1;+ @apply text-accent;+ @apply rounded;+ @apply hover:text-accentDark;+ @apply focus-visible:ring;+ @apply focus-visible:ring-accent;+ @apply focus-visible:text-accentDark;+ }+}++.cm-tooltip {+ .tippy-box {+ @apply shadow-none;+ @apply fixed;+ @apply inline-flex;+ @apply -mt-8;+ }+}++.tippy-box[data-theme~="tooltip"] {+ @apply bg-tooltip;+ @apply border-solid border-tooltip;+ @apply rounded;+ @apply shadow;++ .tippy-content {+ @apply flex;+ @apply text-tiny text-primary;+ @apply font-semibold;+ @apply py-1 px-2;+ @apply truncate;+ @apply leading-normal;+ @apply items-center;++ kbd {+ @apply hidden;+ @apply font-sans;+ @apply bg-gray-500/45;+ @apply text-primaryLight;+ @apply rounded-sm;+ @apply px-1;+ @apply my-0 ml-1;+ @apply truncate;+ @apply sm:inline-flex;+ }++ .env-icon {+ @apply transition;+ @apply inline-flex;+ @apply items-center;+ }+ }++ .tippy-svg-arrow {+ svg:first-child {+ @apply fill-tooltip;+ }++ svg:last-child {+ @apply fill-tooltip;+ }+ }+}++.tippy-box[data-theme~="popover"] {+ @apply bg-popover;+ @apply border-solid border-dividerDark;+ @apply rounded;+ @apply shadow-lg;++ .tippy-content {+ @apply flex flex-col;+ @apply max-h-56;+ @apply items-stretch;+ @apply overflow-y-auto;+ @apply text-secondary text-body;+ @apply p-2;+ @apply leading-normal;+ @apply focus:outline-none;+ scroll-behavior: smooth;+ }++ .tippy-svg-arrow {+ svg:first-child {+ @apply fill-dividerDark;+ }++ svg:last-child {+ @apply fill-popover;+ }+ }+}++[data-v-tippy] {+ @apply flex flex-1;+}++[interactive] > div {+ @apply flex flex-1;+ @apply h-full;+}++hr {+ @apply border-b border-dividerLight;+ @apply my-2;+}++.heading {+ @apply font-bold;+ @apply text-secondaryDark text-lg;+ @apply tracking-tight;+}++.input,+.select,+.textarea {+ @apply flex;+ @apply w-full;+ @apply py-2 px-4;+ @apply bg-transparent;+ @apply rounded;+ @apply text-secondaryDark;+ @apply border border-divider;+ @apply focus-visible:border-dividerDark;+}++input,+select,+textarea,+button {+ @apply truncate;+ @apply transition;+ @apply text-body;+ @apply leading-body;+ @apply focus:outline-none;+ @apply disabled:cursor-not-allowed;+}++.input[type="file"],+.input[type="radio"],+#installPWA {+ @apply hidden;+}++.floating-input ~ label {+ @apply absolute;+ @apply px-2 py-0.5;+ @apply m-2;+ @apply rounded;+ @apply transition;+ @apply origin-top-left;+}++.floating-input:focus-within ~ label,+.floating-input:not(:placeholder-shown) ~ label {+ @apply bg-primary;+ @apply transform;+ @apply origin-top-left;+ @apply scale-75;+ @apply translate-x-1 -translate-y-4;+}++.floating-input:focus-within ~ label {+ @apply text-secondaryDark;+}++.floating-input ~ .end-actions {+ @apply absolute;+ @apply right-0.2;+ @apply inset-y-0;+ @apply flex;+ @apply items-center;+}++.floating-input:has(~ .end-actions) {+ @apply pr-12;+}++pre.ace_editor {+ @apply font-mono;+ @apply resize-none;+ @apply z-0;+}++.select {+ @apply appearance-none;+ @apply cursor-pointer;++ &::-ms-expand {+ @apply hidden;+ }+}++.select-wrapper {+ @apply flex flex-1;+ @apply relative;+ @apply after:absolute;+ @apply after:flex;+ @apply after:inset-y-0;+ @apply after:items-center;+ @apply after:justify-center;+ @apply after:pointer-events-none;+ @apply after:font-icon;+ @apply after:text-secondaryLight;+ @apply after:right-3;+ @apply after:content-["\e313"];+}++.info-response {+ @apply text-pink-500;+}++.success-response {+ @apply text-green-500;+}++.redir-response {+ @apply text-yellow-500;+}++.cl-error-response {+ @apply text-red-500;+}++.sv-error-response {+ @apply text-red-600;+}++.missing-data-response {+ @apply text-secondaryLight;+}++.toasted-container {+ @apply max-w-md;++ .toasted {+ &.toasted-primary {+ @apply px-4 py-2;+ @apply bg-tooltip;+ @apply border-secondaryDark;+ @apply text-primary text-body;+ @apply justify-between;+ @apply shadow-lg;+ @apply font-semibold;+ @apply transition;+ @apply leading-body;+ @apply sm:rounded;+ @apply sm:border;++ .action {+ @apply relative;+ @apply flex flex-shrink-0;+ @apply text-body;+ @apply px-4;+ @apply my-1;+ @apply ml-auto;+ @apply normal-case;+ @apply font-semibold;+ @apply leading-body;+ @apply tracking-normal;+ @apply rounded;+ @apply last:ml-4;+ @apply sm:ml-8;+ @apply before:absolute;+ @apply before:bg-current;+ @apply before:opacity-10;+ @apply before:inset-0;+ @apply before:transition;+ @apply before:content-DEFAULT;+ @apply hover:no-underline;+ @apply hover:before:opacity-20;+ }+ }++ &.info {+ @apply bg-accent;+ @apply text-accentContrast;+ @apply border-accentDark;+ }++ &.error {+ @apply bg-red-200;+ @apply text-red-800;+ @apply border-red-400;+ }++ &.success {+ @apply bg-green-200;+ @apply text-green-800;+ @apply border-green-400;+ }+ }+}++.smart-splitter .splitpanes__splitter {+ @apply relative;+ @apply bg-primaryLight;+ @apply before:absolute;+ @apply before:inset-0;+ @apply before:bg-accentLight;+ @apply before:opacity-0;+ @apply before:z-20;+ @apply before:transition;+ @apply before:content-DEFAULT;+ @apply after:absolute;+ @apply after:inset-0;+ @apply after:z-20;+ @apply after:transition;+ @apply after:flex;+ @apply after:items-center;+ @apply after:justify-center;+ @apply after:text-dividerDark;+ @apply after:font-icon;+ @apply hover:before:opacity-100;+ @apply hover:after:text-accentDark;+}++.no-splitter .splitpanes__splitter {+ @apply relative;+ @apply bg-primaryLight;+}++.smart-splitter.splitpanes--vertical > .splitpanes__splitter {+ @apply w-1;+ @apply before:-left-0.5;+ @apply before:-right-0.5;+ @apply before:h-full;+ @apply after:content-["\e5d4"];+}++.smart-splitter.splitpanes--horizontal > .splitpanes__splitter {+ @apply h-1;+ @apply before:-top-0.5;+ @apply before:-bottom-0.5;+ @apply before:w-full;+ @apply after:content-["\e5d3"];+}++.no-splitter.splitpanes--vertical > .splitpanes__splitter {+ @apply w-0.5;+ @apply pointer-events-none;+}++.no-splitter.splitpanes--horizontal > .splitpanes__splitter {+ @apply h-0.5;+ @apply pointer-events-none;+}++.cm-focused {+ @apply select-auto;+ @apply outline-none #{!important};++ .cm-activeLine {+ @apply bg-primaryLight;+ }++ .cm-activeLineGutter {+ @apply bg-primaryDark;+ }+}++.cm-editor {+ .cm-line::selection {+ @apply bg-accentDark #{!important};+ @apply text-accentContrast #{!important};+ }++ .cm-line ::selection {+ @apply bg-accentDark #{!important};+ @apply text-accentContrast #{!important};+ }+}++.shortcut-key {+ @apply inline-flex;+ @apply font-sans;+ @apply text-tiny;+ @apply bg-divider;+ @apply rounded;+ @apply ml-2;+ @apply px-1;+ @apply min-w-5;+ @apply min-h-5;+ @apply items-center;+ @apply justify-center;+ @apply border border-dividerDark;+ @apply shadow-sm;+ @apply <sm:hidden;+}++.capitalize-first {+ @apply first-letter:capitalize;+}++details {+ @apply select-none;+}++details summary::-webkit-details-marker {+ @apply hidden;+}++details summary .indicator {+ @apply transition;+}++details[open] summary .indicator {+ @apply transform;+ @apply rotate-90;+}++@media (max-width: 767px) {+ main {+ margin-bottom: env(safe-area-inset-bottom);+ }+}++.env-highlight {+ @apply text-accentContrast;++ &.env-found {+ @apply bg-accentDark;+ @apply hover:bg-accent;+ }++ &.env-not-found {+ @apply bg-red-500;+ @apply hover:bg-red-600;+ }+}++#nprogress .bar {+ @apply bg-accent #{!important};+}++.color-picker[type="color"] {+ @apply appearance-none;+}++.color-picker[type="color"]::-webkit-color-swatch-wrapper {+ @apply rounded;+ @apply p-0;+}++.color-picker[type="color"]::-webkit-color-swatch {+ @apply rounded;+ @apply border-0;+}diff --git a/packages/hoppscotch-sh-admin/assets/scss/themes.scss b/packages/hoppscotch-sh-admin/assets/scss/themes.scssnew file mode 100644index 000000000..7f1a4baaf--- /dev/null+++ b/packages/hoppscotch-sh-admin/assets/scss/themes.scss@@ -0,0 +1,307 @@+@mixin base-theme {+ --font-sans: "Inter", sans-serif;+ --font-mono: "Roboto Mono", monospace;+ --font-icon: "Material Icons";+ --font-size-tiny: calc(var(--font-size-body) - 0.062rem);+}++@mixin dark-theme {+ --primary-color: theme("colors.neutral.900");+ --primary-light-color: theme("colors.dark.600");+ --primary-dark-color: theme("colors.neutral.800");+ --primary-contrast-color: #161616;+ --secondary-color: theme("colors.neutral.400");+ --secondary-light-color: theme("colors.neutral.500");+ --secondary-dark-color: theme("colors.neutral.100");+ --divider-color: theme("colors.neutral.800");+ --divider-light-color: theme("colors.dark.500");+ --divider-dark-color: theme("colors.dark.300");+ --error-color: theme("colors.stone.800");+ --tooltip-color: theme("colors.neutral.100");+ --popover-color: theme("colors.dark.700");+ --editor-theme: "merbivore_soft";+}++@mixin light-theme {+ --primary-color: theme("colors.white");+ --primary-light-color: theme("colors.neutral.50");+ --primary-dark-color: theme("colors.neutral.100");+ --primary-contrast-color: #fefefe;+ --secondary-color: theme("colors.neutral.500");+ --secondary-light-color: theme("colors.neutral.400");+ --secondary-dark-color: theme("colors.neutral.900");+ --divider-color: theme("colors.gray.100");+ --divider-light-color: theme("colors.neutral.100");+ --divider-dark-color: theme("colors.neutral.300");+ --error-color: theme("colors.yellow.100");+ --tooltip-color: theme("colors.neutral.800");+ --popover-color: theme("colors.white");+ --editor-theme: "textmate";+}++@mixin black-theme {+ --primary-color: theme("colors.dark.900");+ --primary-light-color: theme("colors.neutral.900");+ --primary-dark-color: theme("colors.dark.800");+ --primary-contrast-color: #0e0e0e;+ --secondary-color: theme("colors.neutral.400");+ --secondary-light-color: theme("colors.neutral.500");+ --secondary-dark-color: theme("colors.neutral.100");+ --divider-color: theme("colors.neutral.800");+ --divider-light-color: theme("colors.dark.800");+ --divider-dark-color: theme("colors.dark.300");+ --error-color: theme("colors.stone.900");+ --tooltip-color: theme("colors.neutral.100");+ --popover-color: theme("colors.dark.600");+ --editor-theme: "twilight";+}++@mixin dark-editor-theme {+ --editor-type-color: theme("colors.purple.400");+ --editor-name-color: theme("colors.blue.400");+ --editor-operator-color: theme("colors.indigo.400");+ --editor-invalid-color: theme("colors.red.400");+ --editor-separator-color: theme("colors.gray.400");+ --editor-meta-color: theme("colors.gray.400");+ --editor-variable-color: theme("colors.green.400");+ --editor-link-color: theme("colors.cyan.400");+ --editor-process-color: theme("colors.fuchsia.400");+ --editor-constant-color: theme("colors.violet.400");+ --editor-keyword-color: theme("colors.pink.400");+}++@mixin light-editor-theme {+ --editor-type-color: theme("colors.purple.600");+ --editor-name-color: theme("colors.red.600");+ --editor-operator-color: theme("colors.indigo.600");+ --editor-invalid-color: theme("colors.red.600");+ --editor-separator-color: theme("colors.gray.600");+ --editor-meta-color: theme("colors.gray.600");+ --editor-variable-color: theme("colors.green.600");+ --editor-link-color: theme("colors.cyan.600");+ --editor-process-color: theme("colors.blue.600");+ --editor-constant-color: theme("colors.fuchsia.600");+ --editor-keyword-color: theme("colors.pink.600");+}++@mixin black-editor-theme {+ --editor-type-color: theme("colors.purple.400");+ --editor-name-color: theme("colors.fuchsia.400");+ --editor-operator-color: theme("colors.indigo.400");+ --editor-invalid-color: theme("colors.red.400");+ --editor-separator-color: theme("colors.gray.400");+ --editor-meta-color: theme("colors.gray.400");+ --editor-variable-color: theme("colors.green.400");+ --editor-link-color: theme("colors.cyan.400");+ --editor-process-color: theme("colors.violet.400");+ --editor-constant-color: theme("colors.blue.400");+ --editor-keyword-color: theme("colors.pink.400");+}++@mixin green-theme {+ --accent-color: theme("colors.green.500");+ --accent-light-color: theme("colors.green.400");+ --accent-dark-color: theme("colors.green.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.green.200");+ --gradient-via-color: theme("colors.green.400");+ --gradient-to-color: theme("colors.green.600");+}++@mixin teal-theme {+ --accent-color: theme("colors.teal.500");+ --accent-light-color: theme("colors.teal.400");+ --accent-dark-color: theme("colors.teal.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.teal.200");+ --gradient-via-color: theme("colors.teal.400");+ --gradient-to-color: theme("colors.teal.600");+}++@mixin blue-theme {+ --accent-color: theme("colors.blue.500");+ --accent-light-color: theme("colors.blue.400");+ --accent-dark-color: theme("colors.blue.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.blue.200");+ --gradient-via-color: theme("colors.blue.400");+ --gradient-to-color: theme("colors.blue.600");+}++@mixin indigo-theme {+ --accent-color: theme("colors.indigo.500");+ --accent-light-color: theme("colors.indigo.400");+ --accent-dark-color: theme("colors.indigo.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.indigo.200");+ --gradient-via-color: theme("colors.indigo.400");+ --gradient-to-color: theme("colors.indigo.600");+}++@mixin purple-theme {+ --accent-color: theme("colors.purple.500");+ --accent-light-color: theme("colors.purple.400");+ --accent-dark-color: theme("colors.purple.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.purple.200");+ --gradient-via-color: theme("colors.purple.400");+ --gradient-to-color: theme("colors.purple.600");+}++@mixin yellow-theme {+ --accent-color: theme("colors.yellow.500");+ --accent-light-color: theme("colors.yellow.400");+ --accent-dark-color: theme("colors.yellow.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.yellow.200");+ --gradient-via-color: theme("colors.yellow.400");+ --gradient-to-color: theme("colors.yellow.600");+}++@mixin orange-theme {+ --accent-color: theme("colors.orange.500");+ --accent-light-color: theme("colors.orange.400");+ --accent-dark-color: theme("colors.orange.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.orange.200");+ --gradient-via-color: theme("colors.orange.400");+ --gradient-to-color: theme("colors.orange.600");+}++@mixin red-theme {+ --accent-color: theme("colors.red.500");+ --accent-light-color: theme("colors.red.400");+ --accent-dark-color: theme("colors.red.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.red.200");+ --gradient-via-color: theme("colors.red.400");+ --gradient-to-color: theme("colors.red.600");+}++@mixin pink-theme {+ --accent-color: theme("colors.pink.500");+ --accent-light-color: theme("colors.pink.400");+ --accent-dark-color: theme("colors.pink.600");+ --accent-contrast-color: theme("colors.white");+ --gradient-from-color: theme("colors.pink.200");+ --gradient-via-color: theme("colors.pink.400");+ --gradient-to-color: theme("colors.pink.600");+}++:root {+ @include base-theme;+ @include dark-theme;+ @include green-theme;+ @include dark-editor-theme;+}++:root.light {+ @include light-theme;+ @include light-editor-theme;+}++:root.dark {+ @include dark-theme;+ @include dark-editor-theme;+}++:root.black {+ @include black-theme;+ @include black-editor-theme;+}++:root[data-accent="blue"] {+ @include blue-theme;+}++:root[data-accent="green"] {+ @include green-theme;+}++:root[data-accent="teal"] {+ @include teal-theme;+}++:root[data-accent="indigo"] {+ @include indigo-theme;+}++:root[data-accent="purple"] {+ @include purple-theme;+}++:root[data-accent="orange"] {+ @include orange-theme;+}++:root[data-accent="pink"] {+ @include pink-theme;+}++:root[data-accent="red"] {+ @include red-theme;+}++:root[data-accent="yellow"] {+ @include yellow-theme;+}++@mixin font-small {+ --font-size-body: 0.75rem;+ --line-height-body: 1rem;+ --upper-primary-sticky-fold: 4.125rem;+ --upper-secondary-sticky-fold: 6.188rem;+ --upper-tertiary-sticky-fold: 8.25rem;+ --upper-mobile-primary-sticky-fold: 6.625rem;+ --upper-mobile-secondary-sticky-fold: 8.688rem;+ --upper-mobile-sticky-fold: 10.75rem;+ --upper-mobile-tertiary-sticky-fold: 8.25rem;+ --lower-primary-sticky-fold: 3rem;+ --lower-secondary-sticky-fold: 5.063rem;+ --lower-tertiary-sticky-fold: 7.125rem;+ --sidebar-primary-sticky-fold: 2rem;+}++@mixin font-medium {+ --font-size-body: 0.875rem;+ --line-height-body: 1.25rem;+ --upper-primary-sticky-fold: 4.375rem;+ --upper-secondary-sticky-fold: 6.688rem;+ --upper-tertiary-sticky-fold: 9rem;+ --upper-mobile-primary-sticky-fold: 7.125rem;+ --upper-mobile-secondary-sticky-fold: 9.438rem;+ --upper-mobile-sticky-fold: 11.75rem;+ --upper-mobile-tertiary-sticky-fold: 9rem;+ --lower-primary-sticky-fold: 3.25rem;+ --lower-secondary-sticky-fold: 5.563rem;+ --lower-tertiary-sticky-fold: 7.875rem;+ --sidebar-primary-sticky-fold: 2.25rem;+}++@mixin font-large {+ --font-size-body: 1rem;+ --line-height-body: 1.5rem;+ --upper-primary-sticky-fold: 4.625rem;+ --upper-secondary-sticky-fold: 7.188rem;+ --upper-tertiary-sticky-fold: 9.75rem;+ --upper-mobile-primary-sticky-fold: 7.625rem;+ --upper-mobile-secondary-sticky-fold: 10.188rem;+ --upper-mobile-sticky-fold: 12.75rem;+ --upper-mobile-tertiary-sticky-fold: 9.75rem;+ --lower-primary-sticky-fold: 3.5rem;+ --lower-secondary-sticky-fold: 6.063rem;+ --lower-tertiary-sticky-fold: 8.625rem;+ --sidebar-primary-sticky-fold: 2.5rem;+}++:root[data-font-size="small"] {+ @include font-small;+}++:root[data-font-size="medium"] {+ @include font-medium;+}++:root[data-font-size="large"] {+ @include font-large;+}diff --git a/packages/hoppscotch-sh-admin/gql-codegen.yml b/packages/hoppscotch-sh-admin/gql-codegen.ymlnew file mode 100644index 000000000..5b4e18559--- /dev/null+++ b/packages/hoppscotch-sh-admin/gql-codegen.yml@@ -0,0 +1,13 @@+overwrite: true+schema: ${VITE_BACKEND_GQL_URL}+generates:+ src/helpers/backend/graphql.ts:+ documents: 'src/**/*.graphql'+ plugins:+ - 'typescript'+ - 'typescript-operations'+ - 'typed-document-node'+ - 'urql-introspection'+ src/helpers/backend/graphql.schema.json:+ plugins:+ - 'introspection'diff --git a/packages/hoppscotch-sh-admin/index.html b/packages/hoppscotch-sh-admin/index.htmlnew file mode 100644index 000000000..e894eb62b--- /dev/null+++ b/packages/hoppscotch-sh-admin/index.html@@ -0,0 +1,17 @@+<!DOCTYPE html>+<html lang="en">++<head>+ <meta charset="UTF-8">+ <link rel="icon" href="/favicon.ico" />+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>Hoppscotch Admin Page</title>+ <meta property="og:image" content="/cover.jpg" />+</head>++<body>+ <div id="app"></div>+ <script type="module" src="/src/main.ts"></script>+</body>++</html>diff --git a/packages/hoppscotch-sh-admin/package.json b/packages/hoppscotch-sh-admin/package.jsonnew file mode 100644index 000000000..db3751f20--- /dev/null+++ b/packages/hoppscotch-sh-admin/package.json@@ -0,0 +1,57 @@+{+ "name": "hoppscotch-sh-admin",+ "private": true,+ "version": "0.0.0",+ "type": "module",+ "scripts": {+ "dev": "pnpm exec npm-run-all -p -l dev:*",+ "dev:vite": "vite",+ "dev:gql-codegen": "graphql-codegen --require dotenv/config --config gql-codegen.yml --watch dotenv_config_path=\"../../.env\"",+ "build": "vue-tsc && vite build",+ "preview": "vite preview"+ },+ "dependencies": {+ "@graphql-typed-document-node/core": "^3.1.1",+ "@hoppscotch/ui": "workspace:^",+ "@types/cors": "^2.8.13",+ "@types/express": "^4.17.15",+ "@urql/vue": "^1.0.4",+ "@vueuse/core": "^9.10.0",+ "cors": "^2.8.5",+ "express": "^4.18.2",+ "express-graphql": "^0.12.0",+ "graphql": "^16.6.0",+ "ts-node-dev": "^2.0.0",+ "unplugin-icons": "^0.14.9",+ "unplugin-vue-components": "^0.21.0",+ "vue": "^3.2.6",+ "vue-router": "4"+ },+ "devDependencies": {+ "@graphql-codegen/cli": "3.0.0",+ "@graphql-codegen/client-preset": "^2.0.0",+ "@graphql-codegen/introspection": "3.0.0",+ "@graphql-codegen/typed-document-node": "^2.3.1",+ "@graphql-codegen/typescript": "3.0.0",+ "@graphql-codegen/typescript-document-nodes": "3.0.0",+ "@graphql-codegen/typescript-operations": "3.0.0",+ "@graphql-codegen/urql-introspection": "2.2.1",+ "@vitejs/plugin-vue": "^1.6.0",+ "@vue/compiler-sfc": "^3.2.6",+ "graphql-tag": "^2.12.6",+ "npm-run-all": "^4.1.5",+ "sass": "^1.57.1",+ "ts-node": "^10.9.1",+ "typescript": "^4.9.3",+ "vite": "^2.5.1",+ "vite-plugin-pages": "^0.26.0",+ "vite-plugin-vue-layouts": "^0.7.0",+ "vite-plugin-windicss": "^1.8.8",+ "vue-tsc": "^0.3.0",+ "windicss": "^3.5.6"+ },+ "prettier": {+ "singleQuote": true,+ "semi": true+ }+}diff --git a/packages/hoppscotch-sh-admin/public/cover.jpg b/packages/hoppscotch-sh-admin/public/cover.jpgnew file mode 100644index 000000000..1a514cd31Binary files /dev/null and b/packages/hoppscotch-sh-admin/public/cover.jpg differdiff --git a/packages/hoppscotch-sh-admin/public/favicon.ico b/packages/hoppscotch-sh-admin/public/favicon.iconew file mode 100644index 000000000..df36fcfb7Binary files /dev/null and b/packages/hoppscotch-sh-admin/public/favicon.ico differdiff --git a/packages/hoppscotch-sh-admin/public/vite.svg b/packages/hoppscotch-sh-admin/public/vite.svgnew file mode 100644index 000000000..e7b8dfb1b--- /dev/null+++ b/packages/hoppscotch-sh-admin/public/vite.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>\ No newline at end of filediff --git a/packages/hoppscotch-sh-admin/src/App.vue b/packages/hoppscotch-sh-admin/src/App.vuenew file mode 100644index 000000000..630f83112--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/App.vue@@ -0,0 +1,28 @@+<template>+ <component :is="layout">+ <router-view />+ </component>+</template>++<script setup lang="ts">+import { computed } from 'vue';+import { useRouter } from 'vue-router';+import { useDark, useToggle } from '@vueuse/core';++const defaultLayout = 'default';++const { currentRoute } = useRouter();++const layout = computed(+ () => `${currentRoute.value.meta.layout || defaultLayout}-layout`+);++const isDark = useDark();+const toggleDark = useToggle(isDark);+</script>++<style lang="scss">+html.dark {+ color-scheme: dark;+}+</style>diff --git a/packages/hoppscotch-sh-admin/src/components.d.ts b/packages/hoppscotch-sh-admin/src/components.d.tsnew file mode 100644index 000000000..f6b43a8b5--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/components.d.ts@@ -0,0 +1,52 @@+// generated by unplugin-vue-components+// We suggest you to commit this file into source control+// Read more: https://github.com/vuejs/core/pull/3399+import '@vue/runtime-core'++export {}++declare module '@vue/runtime-core' {+ export interface GlobalComponents {+ AppHeader: typeof import('./components/app/Header.vue')['default']+ AppModal: typeof import('./components/app/Modal.vue')['default']+ AppSidebar: typeof import('./components/app/Sidebar.vue')['default']+ ButtonPrimary: typeof import('./../../hoppscotch-ui/src/components/button/Primary.vue')['default']+ ButtonSecondary: typeof import('./../../hoppscotch-ui/src/components/button/Secondary.vue')['default']+ HoppSmartExpand: typeof import('@hoppscotch/ui')['HoppSmartExpand']+ IconLucideBell: typeof import('~icons/lucide/bell')['default']+ IconLucideLayoutDashboard: typeof import('~icons/lucide/layout-dashboard')['default']+ IconLucideLineChart: typeof import('~icons/lucide/line-chart')['default']+ IconLucideLock: typeof import('~icons/lucide/lock')['default']+ IconLucideMenu: typeof import('~icons/lucide/menu')['default']+ IconLucideSettings: typeof import('~icons/lucide/settings')['default']+ IconLucideSidebarClose: typeof import('~icons/lucide/sidebar-close')['default']+ IconLucideSidebarOpen: typeof import('~icons/lucide/sidebar-open')['default']+ IconLucideUser: typeof import('~icons/lucide/user')['default']+ IconLucideUserCog: typeof import('~icons/lucide/user-cog')['default']+ IconLucideUsers: typeof import('~icons/lucide/users')['default']+ RouterLink: typeof import('vue-router')['RouterLink']+ RouterView: typeof import('vue-router')['RouterView']+ SmartAnchor: typeof import('./../../hoppscotch-ui/src/components/smart/Anchor.vue')['default']+ SmartAutoComplete: typeof import('./../../hoppscotch-ui/src/components/smart/AutoComplete.vue')['default']+ SmartCheckbox: typeof import('./../../hoppscotch-ui/src/components/smart/Checkbox.vue')['default']+ SmartConfirmModal: typeof import('./../../hoppscotch-ui/src/components/smart/ConfirmModal.vue')['default']+ SmartExpand: typeof import('./../../hoppscotch-ui/src/components/smart/Expand.vue')['default']+ SmartFileChip: typeof import('./../../hoppscotch-ui/src/components/smart/FileChip.vue')['default']+ SmartIntersection: typeof import('./../../hoppscotch-ui/src/components/smart/Intersection.vue')['default']+ SmartItem: typeof import('./../../hoppscotch-ui/src/components/smart/Item.vue')['default']+ SmartLink: typeof import('./../../hoppscotch-ui/src/components/smart/Link.vue')['default']+ SmartModal: typeof import('./../../hoppscotch-ui/src/components/smart/Modal.vue')['default']+ SmartProgressRing: typeof import('./../../hoppscotch-ui/src/components/smart/ProgressRing.vue')['default']+ SmartRadio: typeof import('./../../hoppscotch-ui/src/components/smart/Radio.vue')['default']+ SmartRadioGroup: typeof import('./../../hoppscotch-ui/src/components/smart/RadioGroup.vue')['default']+ SmartSlideOver: typeof import('./../../hoppscotch-ui/src/components/smart/SlideOver.vue')['default']+ SmartSpinner: typeof import('./../../hoppscotch-ui/src/components/smart/Spinner.vue')['default']+ SmartTab: typeof import('./../../hoppscotch-ui/src/components/smart/Tab.vue')['default']+ SmartTabs: typeof import('./../../hoppscotch-ui/src/components/smart/Tabs.vue')['default']+ SmartToggle: typeof import('./../../hoppscotch-ui/src/components/smart/Toggle.vue')['default']+ SmartWindow: typeof import('./../../hoppscotch-ui/src/components/smart/Window.vue')['default']+ SmartWindows: typeof import('./../../hoppscotch-ui/src/components/smart/Windows.vue')['default']+ TeamsAddMembers: typeof import('./components/teams/AddMembers.vue')['default']+ }++}diff --git a/packages/hoppscotch-sh-admin/src/components/app/Header.vue b/packages/hoppscotch-sh-admin/src/components/app/Header.vuenew file mode 100644index 000000000..b9eaf6bd3--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/components/app/Header.vue@@ -0,0 +1,92 @@+<template>+ <header+ class="flex items-center justify-between border-b border-gray-400 dark:border-gray-600 px-6 py-4 bg-neutral-50 dark:bg-neutral-900 shadow-lg"+ >+ <div class="flex items-center">+ <button+ @click="isOpen = true"+ class="text-gray-200 focus:outline-none lg:hidden mr-2"+ >+ <icon-lucide-menu class="text-gray-300 w-6" />+ </button>++ <div class="mr-3 mt-2">+ <button @click="expandSidebar">+ <icon-lucide-sidebar-open+ v-if="isExpanded"+ class="text-gray-300 w-6"+ />+ <icon-lucide-sidebar-close v-else class="text-gray-300 w-6" />+ </button>+ </div>+ </div>++ <div class="flex items-center">+ <button class="flex mx-4 text-gray-400 focus:outline-none toggle-dark">+ <icon-lucide-bell class="text-gray-300 w-6" />+ </button>++ <div class="relative">+ <button+ @click="dropdownOpen = !dropdownOpen"+ class="relative z-10 block w-8 h-8 overflow-hidden rounded-full shadow focus:outline-none"+ >+ <img+ class="object-cover w-full h-full"+ src="https://media.licdn.com/dms/image/C5603AQHMCx72bNN1MA/profile-displayphoto-shrink_800_800/0/1630736416611?e=2147483647&v=beta&t=McWCdK_7t_NLeU4ze3JPB8xvwg5w50Okuj2JDBekqjw"+ alt="Your avatar"+ />+ </button>++ <div+ v-show="dropdownOpen"+ @click="dropdownOpen = false"+ class="fixed inset-0 z-10 w-full h-full"+ ></div>++ <transition+ enter-active-class="transition duration-150 ease-out transform"+ enter-from-class="scale-95 opacity-0"+ enter-to-class="scale-100 opacity-100"+ leave-active-class="transition duration-150 ease-in transform"+ leave-from-class="scale-100 opacity-100"+ leave-to-class="scale-95 opacity-0"+ >+ <div+ v-show="dropdownOpen"+ class="absolute right-0 z-20 w-48 py-2 mt-2 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-xl"+ >+ <a+ href="#"+ class="block px-4 py-2 text-sm text-gray-800 dark:text-gray-200 hover:bg-emerald-700 hover:text-white"+ >Profile</a+ >+ <a+ href="#"+ class="block px-4 py-2 text-sm text-gray-800 dark:text-gray-200 hover:bg-emerald-700 hover:text-white"+ >Settings</a+ >+ <router-link+ to="/"+ class="block px-4 py-2 text-sm text-gray-800 dark:text-gray-200 hover:bg-emerald-700 hover:text-white"+ >Log out</router-link+ >+ </div>+ </transition>+ </div>+ </div>+ </header>+</template>++<script setup lang="ts">+import { ref } from 'vue';+import { useSidebar } from '../../composables/useSidebar';++const { isOpen, isExpanded } = useSidebar();++const expandSidebar = () => {+ isExpanded.value = !isExpanded.value;+};++const dropdownOpen = ref(false);+</script>diff --git a/packages/hoppscotch-sh-admin/src/components/app/Modal.vue b/packages/hoppscotch-sh-admin/src/components/app/Modal.vuenew file mode 100644index 000000000..92256ed7f--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/components/app/Modal.vue@@ -0,0 +1,89 @@+<template>+ <div>+ <button+ @click="open = true"+ class="inline-flex items-center bg-emerald-700 h-8 ml-3 pl-2.5 pr-2 rounded-md shadow text-gray-200 dark:border-gray-800 border border-gray-200 leading-none py-0 hover:bg-emerald-700 focus:outline-none focus:bg-emerald-800"+ >+ Invite User+ </button>++ <div+ :class="`modal ${+ !open && 'opacity-0 pointer-events-none'+ } z-50 fixed w-full h-full top-0 left-0 flex items-center justify-center`"+ >+ <div+ @click="open = false"+ class="absolute w-full h-full bg-neutral-800 opacity-50 modal-overlay"+ ></div>++ <div+ class="z-50 w-11/12 mx-auto overflow-y-auto bg-neutral-900 rounded shadow-lg modal-container md:max-w-md"+ >+ <div+ class="absolute top-0 right-0 z-50 flex flex-col items-center mt-4 mr-4 text-sm text-white cursor-pointer modal-close"+ >+ <svg+ class="text-white fill-current"+ xmlns="http://www.w3.org/2000/svg"+ width="18"+ height="18"+ viewBox="0 0 18 18"+ >+ <path+ d="M14.53 4.53l-1.06-1.06L9 7.94 4.53 3.47 3.47 4.53 7.94 9l-4.47 4.47 1.06 1.06L9 10.06l4.47 4.47 1.06-1.06L10.06 9z"+ />+ </svg>+ <span class="text-sm">(Esc)</span>+ </div>++ <!-- Add margin if you want to see some of the overlay behind the modal-->+ <div class="px-6 py-4 text-left modal-content">+ <!--Title-->+ <div class="flex items-center justify-between pb-3">+ <p class="text-2xl ml-3 font-bold">{{ title }}</p>+ <div class="z-50 cursor-pointer modal-close" @click="open = false">+ <svg+ class="text-white fill-current"+ xmlns="http://www.w3.org/2000/svg"+ width="18"+ height="18"+ viewBox="0 0 18 18"+ >+ <path+ d="M14.53 4.53l-1.06-1.06L9 7.94 4.53 3.47 3.47 4.53 7.94 9l-4.47 4.47 1.06 1.06L9 10.06l4.47 4.47 1.06-1.06L10.06 9z"+ />+ </svg>+ </div>+ </div>++ <!--Body-->+ <slot name="content"> </slot>++ <!--Footer-->+ </div>+ </div>+ </div>+ </div>+</template>++<script setup lang="ts">+import { ref } from 'vue';++const open = ref(false);++defineProps({+ title: {+ type: String,+ },+ button: {+ type: String,+ },+});+</script>++<style>+.modal {+ transition: opacity 0.25s ease;+}+</style>diff --git a/packages/hoppscotch-sh-admin/src/components/app/Sidebar.vue b/packages/hoppscotch-sh-admin/src/components/app/Sidebar.vuenew file mode 100644index 000000000..72945df1b--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/components/app/Sidebar.vue@@ -0,0 +1,100 @@+<template>+ <div class="flex">+ <!-- Backdrop -->+ <div+ :class="isOpen ? 'block' : 'hidden'"+ @click="isOpen = false"+ class="fixed inset-0 z-20 transition-opacity bg-black opacity-50 lg:hidden"+ ></div>+ <!-- End Backdrop -->++ <div+ :class="isOpen ? 'translate-x-0 ease-out' : '-translate-x-full ease-in'"+ class="flex fixed inset-y-0 left-0 z-30 overflow-y-auto transition duration-300 transform bg-neutral-200 dark:bg-neutral-900 lg:translate-x-0 lg:static lg:inset-0 border-r border-gray-300 dark:border-gray-600"+ >+ <div :class="isExpanded ? 'w-64' : 'w-full'">+ <div class="flex items-center justify-start mt-6 ml-6">+ <div class="flex items-center">+ <router-link class="flex" to="/dashboard">+ <img src="/public/cover.jpg" alt="" class="h-7" />++ <span+ v-if="isExpanded"+ class="mx-2 text-xl font-semibold text-gray-600 dark:text-gray-200"+ >Hoppscotch</span+ >+ </router-link>+ </div>+ </div>++ <nav class="mt-10">+ <router-link+ class="flex items-center px-6 py-4 duration-200 border-l-4"+ :class="[route.name === '/dashboard' ? activeClass : inactiveClass]"+ to="/dashboard"+ >+ <icon-lucide-layout-dashboard+ class="text-xl"+ :class="route.name === '/dashboard' ? 'white' : 'gray'"+ />++ <span v-if="isExpanded" class="mx-4">Dashboard</span>+ </router-link>++ <router-link+ class="flex items-center px-6 py-4 duration-200 border-l-4 rounded-sm"+ :class="[route.name === 'User' ? activeClass : inactiveClass]"+ to="/users"+ >+ <icon-lucide-user+ class="text-xl"+ :class="route.path === '/users' ? 'white' : 'gray'"+ />++ <span v-if="isExpanded" class="mx-4">Users</span>+ </router-link>++ <router-link+ class="flex items-center px-6 py-4 duration-200 border-l-4 rounded-sm"+ :class="[route.name === '/teams' ? activeClass : inactiveClass]"+ to="/teams"+ >+ <icon-lucide-users+ class="text-xl"+ :class="route.name === '/teams' ? 'white' : 'gray'"+ />++ <span v-if="isExpanded" class="mx-4">Teams</span>+ </router-link>++ <router-link+ class="flex items-center px-6 py-4 duration-200 border-l-4 rounded-sm"+ :class="[route.name === '/settings' ? activeClass : inactiveClass]"+ to="/settings"+ >+ <icon-lucide-settings+ class="text-xl"+ :class="route.name === '/settings' ? 'white' : 'gray'"+ />++ <span v-if="isExpanded" class="mx-4">Settings</span>+ </router-link>+ </nav>+ </div>+ </div>+ </div>+</template>++<script setup lang="ts">+import { useSidebar } from '../../composables/useSidebar';+import { useRoute } from 'vue-router';++const { isOpen, isExpanded } = useSidebar();++const route = useRoute();++const activeClass =+ 'bg-gray-600 bg-opacity-25 text-gray-100 border-gray-100 border-emerald-600';+const inactiveClass =+ 'border-gray-900 text-gray-500 hover:bg-gray-600 hover:bg-opacity-25 hover:text-gray-100';+</script>diff --git a/packages/hoppscotch-sh-admin/src/components/teams/AddMembers.vue b/packages/hoppscotch-sh-admin/src/components/teams/AddMembers.vuenew file mode 100644index 000000000..d26c77163--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/components/teams/AddMembers.vue@@ -0,0 +1,83 @@+<template>+ <div class="flex justify-between">+ <h3+ class="mt-10 text-2xl justify-start font-medium text-zinc-800 dark:text-gray-200"+ >+ Members+ </h3>+ <div class="mt-8 ml-2">+ <button+ @click="addNewMember"+ class="px-4 py-2 justify-right text-gray-200 bg-emerald-900 rounded-md hover:bg-emerald-700 focus:outline-none focus:bg-emerald-800"+ >+ Add New+ </button>+ </div>+ </div>+ <div>+ <div+ v-for="(member, i) in members"+ :key="i"+ class="mt-3 flex justify-center"+ >+ <input+ type="text"+ placeholder="Enter email"+ v-model="member.name"+ class="bg-primaryDark p-2 border-primaryLight w-90 focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ />+ <select+ v-model="member.role"+ class="bg-primaryDark ml-0.5 p-2 pr-3 focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ >+ <option value="owner">Owner</option>+ <option value="editor">Editor</option>+ <option value="viewer">Viewer</option>+ </select>+ <div+ class="bg-primaryDark flex items-center ml-0.5 border-primaryLight px-2 text-red-600 focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ >+ <span class="flex" @click="deleteMemberRow(i)">+ <icon-lucide-trash />+ </span>+ </div>+ </div>+ </div>++ <div class="flex justify-center sm:justify-end mt-8">+ <router-link to="/users">+ <button+ @click="submitTeam"+ class="px-4 py-2 text-gray-200 bg-emerald-900 rounded-md hover:bg-emerald-700 focus:outline-none focus:bg-emerald-800"+ >+ Save+ </button>+ </router-link>+ </div>+</template>++<script setup lang="ts">+import { reactive } from 'vue';++const members = reactive([+ {+ name: '',+ role: 'owner',+ },+]);++const addNewMember = () => {+ members.push({+ name: '',+ role: 'admin',+ });+};++const deleteMemberRow = (index: number) => {+ members.splice(index, 1);+};++const submitTeam = () => {+ console.log('members', members);+};+</script>diff --git a/packages/hoppscotch-sh-admin/src/composables/useSidebar.ts b/packages/hoppscotch-sh-admin/src/composables/useSidebar.tsnew file mode 100644index 000000000..26aa607bc--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/composables/useSidebar.ts@@ -0,0 +1,13 @@+import { ref } from 'vue';++/** isOpen is used to indicate whether the sidebar is now visible on the screen */+const isOpen = ref(false);+/** isExpanded is used to indicate whether the sidebar is now expanded to also include page names or the sidebar is compressed to show just the icons */+const isExpanded = ref(true);++export function useSidebar() {+ return {+ isOpen,+ isExpanded,+ };+}diff --git a/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/GetCollectionChildren.graphql b/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/GetCollectionChildren.graphqlnew file mode 100644index 000000000..0dac0aa74--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/GetCollectionChildren.graphql@@ -0,0 +1,8 @@+query GetCollectionChildren($collectionID: ID!, $cursor: String) {+ collection(collectionID: $collectionID) {+ children(cursor: $cursor) {+ id+ title+ }+ }+}diff --git a/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/Me.graphql b/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/Me.graphqlnew file mode 100644index 000000000..0ebb2f444--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/Me.graphql@@ -0,0 +1,9 @@+query Me {+ me {+ uid+ displayName+ photoURL+ isAdmin+ createdOn+ }+}diff --git a/packages/hoppscotch-sh-admin/src/layouts/default.vue b/packages/hoppscotch-sh-admin/src/layouts/default.vuenew file mode 100644index 000000000..80f6dbbfa--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/layouts/default.vue@@ -0,0 +1,15 @@+<template>+ <div class="flex h-screen bg-gray-200 font-roboto">+ <AppSidebar />++ <div class="flex-1 flex flex-col overflow-hidden">+ <AppHeader />++ <main class="flex-1 overflow-x-hidden overflow-y-auto bg-primary">+ <div class="container mx-auto px-6 py-8">+ <router-view />+ </div>+ </main>+ </div>+ </div>+</template>diff --git a/packages/hoppscotch-sh-admin/src/layouts/empty.vue b/packages/hoppscotch-sh-admin/src/layouts/empty.vuenew file mode 100644index 000000000..a14d0c32c--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/layouts/empty.vue@@ -0,0 +1,5 @@+<template>+ <div>+ <router-view />+ </div>+</template>diff --git a/packages/hoppscotch-sh-admin/src/main.ts b/packages/hoppscotch-sh-admin/src/main.tsnew file mode 100644index 000000000..3e9c28958--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/main.ts@@ -0,0 +1,45 @@+import { createApp } from 'vue';+import urql, { createClient } from '@urql/vue';+import App from './App.vue';+import '../assets/scss/themes.scss';+import '../assets/scss/styles.scss';+import '@hoppscotch/ui/style.css';+import 'virtual:windi.css';+import {+ createRouter,+ createWebHashHistory,+ createWebHistory,+} from 'vue-router';++import { setupLayouts } from 'virtual:generated-layouts';+import generatedRoutes from 'virtual:generated-pages';++import { plugin as HoppUIPlugin, HoppUIPluginOptions } from '@hoppscotch/ui';++const options: HoppUIPluginOptions = {+ /* Define options here */+};++const routes = setupLayouts(generatedRoutes);++const app = createApp(App).use(+ urql,+ createClient({+ url: import.meta.env.VITE_BACKEND_GQL_URL,+ fetchOptions: () => {+ return {+ credentials: 'include',+ };+ },+ })+);++app.use(HoppUIPlugin, options);+app.use(+ createRouter({+ history: createWebHistory(),+ routes,+ })+);++app.mount('#app');diff --git a/packages/hoppscotch-sh-admin/src/pages/dashboard.vue b/packages/hoppscotch-sh-admin/src/pages/dashboard.vuenew file mode 100644index 000000000..fee72ce44--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/dashboard.vue@@ -0,0 +1,83 @@+<template>+ <div class="sm:px-6 p-4">+ <h3 class="text-3xl font-medium text-gray-800 dark:text-gray-200">+ Dashboard+ </h3>++ <div class="mt-4">+ <div class="flex flex-wrap -mx-6">+ <div class="w-full px-6 sm:w-1/2 xl:w-1/3">+ <div+ class="flex items-center px-5 py-6 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-sm"+ >+ <icon-lucide-user-cog class="text-2xl text-emerald-500" />++ <div class="mx-5">+ <h4+ class="text-2xl font-semibold text-gray-700 dark:text-gray-200"+ >+ 1000+ </h4>+ <div class="text-gray-600 dark:text-gray-400">Total Users</div>+ </div>+ </div>+ </div>++ <div class="w-full px-6 mt-6 sm:w-1/2 xl:w-1/3 sm:mt-0">+ <div+ class="flex items-center px-5 py-6 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-sm"+ >+ <icon-lucide-users class="text-2xl text-pink-400" />++ <div class="mx-5">+ <h4+ class="text-2xl font-semibold text-gray-700 dark:text-gray-200"+ >+ 200+ </h4>+ <div class="text-gray-600 dark:text-gray-400">Total Teams</div>+ </div>+ </div>+ </div>++ <div class="w-full px-6 mt-6 sm:w-1/2 xl:w-1/3 xl:mt-0">+ <div+ class="flex items-center px-5 py-6 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-sm"+ >+ <icon-lucide-lock class="text-2xl text-cyan-400" />++ <div class="mx-5">+ <h4+ class="text-2xl font-semibold text-gray-700 dark:text-gray-200"+ >+ 20+ </h4>+ <div class="text-gray-600 dark:text-gray-400">Total Roles</div>+ </div>+ </div>+ </div>++ <div class="w-full px-6 mt-6 sm:w-1/2 xl:w-1/3 xl:mt-10">+ <div+ class="flex items-center px-5 py-6 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-sm"+ >+ <icon-lucide-line-chart class="text-2xl text-orange-400" />++ <div class="mx-5">+ <h4+ class="text-2xl font-semibold text-gray-700 dark:text-gray-200"+ >+ 215+ </h4>+ <div class="text-gray-600 dark:text-gray-400">+ Total Collections+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>++ <div class="mt-8"></div>+ </div>+</template>diff --git a/packages/hoppscotch-sh-admin/src/pages/index.vue b/packages/hoppscotch-sh-admin/src/pages/index.vuenew file mode 100644index 000000000..153bc8855--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/index.vue@@ -0,0 +1,114 @@+<template>+ <div+ class="flex items-center justify-center h-screen px-6 bg-gray-200 dark:bg-gradient-to-r dark:from-zinc-700 dark:to-gray-900"+ >+ <div+ class="w-full max-w-lg p-8 bg-white dark:bg-gradient-to-r dark:from-zinc-800 dark:to-gray-900 rounded-lg shadow-md"+ >+ <div class="flex items-center justify-center mt-6">+ <div class="flex items-center">+ <img src="/public/cover.jpg" alt="" class="h-12" />++ <span+ class="mx-2 text-2xl font-semibold text-gray-600 dark:text-gray-300"+ >Hoppscotch</span+ >+ </div>+ </div>++ <form class="mt-4" @submit.prevent="login">+ <label class="block">+ <span class="text-sm text-gray-400">Email</span>+ <input+ type="email"+ class="block w-full p-2 mt-1 bg-gray-700 border-gray-700 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ v-model="email"+ />+ </label>++ <label class="block mt-3">+ <span class="text-sm text-gray-400">Password</span>+ <input+ type="password"+ class="block w-full p-2 mt-1 bg-gray-700 border-gray-700 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ v-model="password"+ />+ </label>++ <div class="flex items-center justify-between mt-4">+ <div>+ <label class="inline-flex items-center">+ <input+ type="checkbox"+ class="text-indigo-600 border-gray-200 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ />+ <span class="mx-2 text-sm text-gray-400">Remember me</span>+ </label>+ </div>++ <div>+ <a+ class="block text-sm text-emerald-700 fontme hover:underline"+ href="#"+ >Forgot your password?</a+ >+ </div>+ </div>++ <div class="mt-6">+ <button+ type="submit"+ class="w-full px-4 py-2 text-sm text-center text-white bg-emerald-600 rounded-md focus:outline-none hover:bg-emerald-500"+ >+ Sign in+ </button>+ </div>++ <div class="mt-6">+ <button+ type="submit"+ class="w-full px-4 py-2 text-sm text-center text-white border border-gray-500 rounded-md focus:outline-none hover:bg-gray-700"+ >+ Sign in with Google+ </button>+ </div>++ <div class="mt-6">+ <button+ type="submit"+ class="w-full px-4 py-2 text-sm text-center text-white border border-gray-500 rounded-md focus:outline-none hover:bg-gray-700"+ >+ Sign in with Microsoft+ </button>+ </div>++ <div class="mt-6">+ <button+ type="submit"+ class="w-full px-4 py-2 text-sm text-center text-white border border-gray-500 rounded-md focus:outline-none hover:bg-gray-700"+ >+ Sign in with Github+ </button>+ </div>+ </form>+ </div>+ </div>+</template>++<script setup lang="ts">+import { ref } from 'vue';+import { useRouter } from 'vue-router';++const router = useRouter();+const email = ref('[email protected]');+const password = ref('@#!@#asdf1231!_!@#');++function login() {+ router.push('/dashboard');+}+</script>++<route lang="yaml">+meta:+ layout: empty+</route>diff --git a/packages/hoppscotch-sh-admin/src/pages/settings.vue b/packages/hoppscotch-sh-admin/src/pages/settings.vuenew file mode 100644index 000000000..98edf30cf--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/settings.vue@@ -0,0 +1,5 @@+<template>+ <h3 class="sm:px-6 p-4 text-3xl font-medium text-zinc-800 dark:text-gray-200">+ Settings+ </h3>+</template>diff --git a/packages/hoppscotch-sh-admin/src/pages/teams/AddTeam.vue b/packages/hoppscotch-sh-admin/src/pages/teams/AddTeam.vuenew file mode 100644index 000000000..7496247ea--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/teams/AddTeam.vue@@ -0,0 +1,37 @@+<template>+ <h3 class="sm:px-6 p-4 text-3xl font-medium text-zinc-800 dark:text-gray-200">+ Create Team+ </h3>++ <div>+ <div>+ <div class="px-6 rounded-md">+ <form>+ <div class="flex mt-4 ml-10">+ <div>+ <label+ class="text-gray-800 dark:text-gray-200 mr-5 text-lg"+ for="username"+ >Name:+ </label>+ <input+ class="w-96 p-2 mt-2 dark:bg-zinc-800 border-gray-200 dark:border-gray-600 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ type="text"+ placeholder="Enter Name"+ />+ </div>+ </div>+ </form>+ <div class="mt-6"></div>++ <div class="mx-10">+ <TeamsAddMembers />+ </div>++ <div class="mt-8"></div>+ </div>+ </div>+ </div>+</template>++<script setup lang="ts"></script>diff --git a/packages/hoppscotch-sh-admin/src/pages/teams/details.vue b/packages/hoppscotch-sh-admin/src/pages/teams/details.vuenew file mode 100644index 000000000..38e057d4a--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/teams/details.vue@@ -0,0 +1,144 @@+<template>+ <div class="sm:px-6 p-4">+ <h3+ class="sm:px-6 p-4 text-3xl font-medium text-zinc-800 dark:text-gray-200"+ >+ Team Details+ </h3>++ <div class="mt-5">+ <div class="flex flex-wrap justify-center mx-6">+ <div class="w-full px-4 sm:w-1/2 xl:w-1/3">+ <div+ class="h-80 px-6 py-6 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-sm"+ >+ <div class="flex ml-3 mt-2">+ <icon-lucide-user class="text-emerald-400 text-3xl" />++ <h4+ class="text-3xl ml-2 font-semibold text-gray-700 dark:text-gray-200"+ >+ Team Info+ </h4>+ </div>+ <div class="flex mt-5 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Team ID:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ team.id }}+ </div>+ </div>+ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Team Name:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ team.name }}+ </div>+ </div>++ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Creation Date:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ team.date }}+ </div>+ </div>++ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Number of members:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ team.members }}+ </div>+ </div>+ </div>+ </div>++ <div class="w-full px-4 sm:w-1/2 xl:w-1/3">+ <div+ class="h-80 px-5 py-6 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-sm"+ >+ <div class="flex ml-3 mt-2">+ <icon-lucide-line-chart class="text-yellow-300 text-3xl" />++ <h4+ class="text-3xl ml-2 font-semibold text-gray-700 dark:text-gray-200"+ >+ Stats+ </h4>+ </div>++ <div class="flex mt-5 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Number of Collections:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ stats.collections }}+ </div>+ </div>++ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Number of Requests:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ stats.requests }}+ </div>+ </div>++ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Number of Environments:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ stats.environments }}+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>++ <div class="mt-6"></div>++ <div class="mx-10">+ <TeamsAddMembers />+ </div>++ <div class="mt-8"></div>+ </div>+</template>++<script setup lang="ts">+import { reactive } from 'vue';++interface Team {+ id: string;+ name: string;+ date: string;+ members: number;+}++const team = reactive<Team>({+ id: 'absd123',+ name: 'SelfHosters',+ date: '30-01-2023',+ members: 20,+});++interface Stats {+ collections: number;+ requests: number;+ environments: number;+}++const stats = reactive<Stats>({+ collections: 10,+ requests: 20,+ environments: 30,+});+</script>diff --git a/packages/hoppscotch-sh-admin/src/pages/teams/index.vue b/packages/hoppscotch-sh-admin/src/pages/teams/index.vuenew file mode 100644index 000000000..4d983581b--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/teams/index.vue@@ -0,0 +1,173 @@+<template>+ <div>+ <h3+ class="sm:px-6 p-4 text-3xl font-medium text-zinc-800 dark:text-gray-200"+ >+ Teams+ </h3>++ <div class="flex flex-col">+ <div class="py-2 -my-2 overflow-x-auto sm:-mx-6 sm:px-4 lg:-mx-8 lg:px-8">+ <div class="inline-block min-w-full overflow-hidden align-middle">+ <div class="sm:px-7 p-4">+ <div v-if="showOptions" class="flex w-full items-center mb-7">+ <button+ class="inline-flex mr-3 items-center h-8 pl-2.5 pr-2 rounded-md shadow text-gray-700 dark:text-gray-400 dark:border-gray-800 border-2 border-gray-200 leading-none py-0"+ >+ Last 30 days+ <icon-lucide-chevron-down+ class="w-4 ml-1.5 text-gray-400 dark:text-gray-600"+ />+ </button>+ <button+ class="inline-flex items-center h-8 pl-2.5 pr-2 rounded-md shadow text-gray-700 dark:text-gray-400 dark:border-gray-800 border-2 border-gray-200 leading-none py-0"+ >+ Filter by+ <icon-lucide-chevron-down+ class="w-4 ml-1.5 text-gray-400 dark:text-gray-600"+ />+ </button>+ <router-link to="/teams/addteam">+ <button+ class="inline-flex items-center bg-emerald-700 h-8 ml-3 pl-2.5 pr-2 rounded-md shadow text-gray-200 dark:border-gray-800 border border-gray-200 leading-none py-0 hover:bg-emerald-700 focus:outline-none focus:bg-emerald-800"+ >+ Create Team+ </button>+ </router-link>+ <div+ class="ml-auto text-gray-400 text-xs sm:inline-flex hidden items-center"+ >+ <span class="mr-3">Page 2 of 4</span>+ <button+ class="inline-flex mr-2 items-center h-8 w-8 justify-center text-gray-400 rounded-md shadow border border-gray-200 dark:border-gray-800 leading-none py-0"+ >+ <icon-lucide-chevron-left class="text-xl" />+ </button>+ <button+ class="inline-flex items-center h-8 w-8 justify-center text-gray-400 rounded-md shadow border border-gray-200 dark:border-gray-800 leading-none py-0"+ >+ <icon-lucide-chevron-right class="text-xl" />+ </button>+ </div>+ </div>+ <div>+ <table class="w-full text-left">+ <thead>+ <tr+ class="text-zinc-900 dark:text-gray-200 border-b border-gray-300 dark:border-gray-600 text-sm"+ >+ <th class="font-normal px-3 pt-0 pb-3"></th>+ <th class="font-normal px-3 pt-0 pb-3">Team ID</th>+ <th class="font-normal px-3 pt-0 pb-3">Team Name</th>+ <th class="font-normal px-3 pt-0 pb-3 hidden md:table-cell">+ Members+ </th>+ <!-- <th class="font-normal px-3 pt-0 pb-3">Status</th> -->+ <th class="font-normal px-3 pt-0 pb-3">Date</th>+ </tr>+ </thead>+ <tbody class="text-gray-600 dark:text-gray-300">+ <!-- <router-link :custom="true" class="" :to="'/team/detail'"> -->+ <tr+ v-for="team in teams"+ id="team.id"+ class="border-b border-gray-300 dark:border-gray-600 hover:bg-zinc-800 rounded-xl"+ @click="goToTeam"+ >+ <td>+ <label>+ <input+ type="checkbox"+ class="appearance-none bg-gray-600 checked:bg-emerald-600 rounded-md ml-3 w-5 h-5"+ name="radio"+ />+ </label>+ </td>+ <td class="sm:p-3 py-2 px-1">+ <div class="flex">+ <span class="ml-3">+ {{ team.id }}+ </span>+ </div>+ </td>++ <td+ class="sm:p-3 py-2 px-1 md:table-cell hidden text-sky-500 dark:text-sky-300"+ >+ {{ team.name }}+ </td>+ <td class="sm:p-3 py-2 px-1 justify-center">+ {{ team.members }}+ </td>+ <td class="sm:p-3 py-2 px-1">+ <div class="flex items-center">+ <div class="sm:flex hidden flex-col">+ {{ team.date }}+ <div class="text-gray-400 text-xs">11:16 AM</div>+ </div>+ </div>+ </td>+ <td>+ <button+ class="w-8 h-8 inline-flex items-center justify-right text-gray-400"+ >+ <icon-lucide-more-horizontal />+ </button>+ </td>+ </tr>+ <!-- </router-link> -->+ </tbody>+ </table>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+</template>++<script setup lang="ts">+import { useRouter } from 'vue-router';+import { defineProps } from 'vue';++defineProps({+ showOptions: {+ type: Boolean,+ default: true,+ },+});++interface Team {+ id: string;+ name: string;+ members: number;+ date: string;+}++const teams: Array<Team> = [+ {+ id: '123e4',+ name: 'HoppMain',+ members: 100,+ date: '15-01-2023',+ },+ {+ id: '12vbe',+ name: 'Hopp',+ members: 10,+ date: '19-05-2023',+ },+ {+ id: 'bg1d2',+ name: 'Kratos',+ members: 59,+ date: '15-03-2023',+ },+];++const router = useRouter();++const goToTeam = () => {+ router.push('/teams/details');+};+</script>diff --git a/packages/hoppscotch-sh-admin/src/pages/users/AddUser.vue b/packages/hoppscotch-sh-admin/src/pages/users/AddUser.vuenew file mode 100644index 000000000..dd31e1e00--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/users/AddUser.vue@@ -0,0 +1,125 @@+<template>+ <h3 class="sm:px-6 p-4 text-3xl font-medium text-zinc-800 dark:text-gray-200">+ Add User+ </h3>++ <div>+ <div>+ <div class="px-6 rounded-md">+ <form @submit.prevent="register">+ <div class="grid gap-6 mt-4">+ <div>+ <label class="text-gray-800 dark:text-gray-200" for="username"+ >Name</label+ >+ <input+ class="w-full mt-2 dark:bg-zinc-800 border-gray-200 dark:border-gray-600 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ type="text"+ placeholder="Enter Name"+ v-model="user.name"+ />+ </div>+ <div>+ <label class="text-gray-800 dark:text-gray-200" for="username"+ >Username</label+ >+ <input+ class="w-full mt-2 dark:bg-zinc-800 border-gray-200 dark:border-gray-600 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ type="text"+ placeholder="Enter Username"+ v-model="user.username"+ />+ </div>++ <div>+ <label class="text-gray-800 dark:text-gray-200" for="emailAddress"+ >Email Address</label+ >+ <input+ class="w-full mt-2 dark:bg-zinc-800 border-gray-200 dark:border-gray-600 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ type="email"+ placeholder="Enter Email Address"+ v-model="user.email"+ />+ </div>++ <div class="grid grid-cols-1 sm:grid-cols-2">+ <div class="sm:mt-0 sm:mr-3">+ <label class="text-gray-800 dark:text-gray-200" for="password"+ >Password</label+ >+ <input+ class="w-full mt-2 dark:bg-zinc-800 border-gray-200 dark:border-gray-600 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ type="password"+ placeholder="Enter Password"+ v-model="user.password"+ />+ </div>++ <div class="mt-6 ml-0 sm:mt-0 sm:ml-3">+ <label+ class="text-gray-800 dark:text-gray-200"+ for="passwordConfirmation"+ >Password Confirmation</label+ >+ <input+ class="w-full mt-2 dark:bg-zinc-800 border-gray-200 dark:border-gray-600 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ type="password"+ placeholder="Password Confirmation"+ v-model="user.confirm"+ />+ </div>+ </div>+ </div>++ <div class="flex justify-center sm:justify-start mt-8">+ <router-link to="/user">+ <button+ class="px-4 py-2 text-gray-200 bg-emerald-900 rounded-md hover:bg-emerald-700 focus:outline-none focus:bg-emerald-800"+ >+ Save+ </button>+ </router-link>+ </div>+ </form>+ </div>+ </div>+ </div>+</template>++<script setup lang="ts">+import { defineProps, ref } from 'vue';++const props = defineProps({+ open: {+ type: Boolean,+ },+});++interface User {+ name: string;+ username: string;+ email: string;+ password: string;+ confirm: string;+}++const user = ref<User>({+ name: '',+ username: '',+ email: '',+ password: '',+ confirm: '',+});++const register = () => {+ const data = JSON.parse(JSON.stringify(user.value));+ console.log('Registered: ', data);+};+</script>++<style>+.modal {+ transition: opacity 0.25s ease;+}+</style>diff --git a/packages/hoppscotch-sh-admin/src/pages/users/details.vue b/packages/hoppscotch-sh-admin/src/pages/users/details.vuenew file mode 100644index 000000000..9bf062571--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/users/details.vue@@ -0,0 +1,126 @@+<template>+ <div class="sm:px-6 p-4">+ <h3+ class="sm:px-6 p-4 text-3xl font-medium text-gray-800 dark:text-gray-200"+ >+ User Detail+ </h3>++ <div class="mt-5">+ <div class="flex flex-wrap justify-center mx-6">+ <div class="w-full px-4 sm:w-1/2 xl:w-1/3">+ <div+ class="h-80 px-6 py-6 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-sm"+ >+ <div class="flex ml-3 mt-2">+ <icon-lucide-user class="text-emerald-400 text-3xl" />++ <h4+ class="text-3xl ml-2 font-semibold text-gray-700 dark:text-gray-200"+ >+ User Info+ </h4>+ </div>++ <div class="flex mt-5 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Name:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ user.name }}+ </div>+ </div>++ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Username:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ user.username }}+ </div>+ </div>++ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Email:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ user.email }}+ </div>+ </div>++ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Password:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ user.password }}+ </div>+ </div>+ </div>+ </div>++ <div class="w-full px-6 sm:w-1/2 xl:w-1/3">+ <div+ class="h-80 px-5 py-5 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-sm"+ >+ <div class="flex ml-5 mt-2">+ <icon-lucide-line-chart class="text-yellow-300 text-3xl" />++ <h4+ class="text-3xl ml-2 font-semibold text-gray-700 dark:text-gray-200"+ >+ Stats+ </h4>+ </div>++ <div class="flex mt-5 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Role:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">+ {{ user.role }}+ </div>+ </div>++ <div class="flex mt-2 ml-5 text-xl">+ <h4 class="font-semibold text-gray-700 dark:text-gray-400">+ Number of Teams:+ </h4>+ <div class="text-gray-600 dark:text-gray-200 ml-2">10</div>+ </div>+ </div>+ </div>+ </div>+ </div>+ <div class="mt-8"></div>+ </div>+</template>++<script setup lang="ts">+import { ref } from 'vue';++interface User {+ name: string;+ username: string;+ email: string;+ password: string;+ confirm: string;+ role: string;+}++const user = ref<User>({+ name: 'Joel',+ username: 'joeljs',+ email: '[email protected]',+ password: 'joel@2436',+ confirm: 'yes',+ role: 'Owner',+});+</script>++<style>+.modal {+ transition: opacity 0.25s ease;+}+</style>diff --git a/packages/hoppscotch-sh-admin/src/pages/users/index.vue b/packages/hoppscotch-sh-admin/src/pages/users/index.vuenew file mode 100644index 000000000..6876213f8--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/users/index.vue@@ -0,0 +1,265 @@+<template>+ <div>+ <h3+ class="sm:px-6 p-4 text-3xl font-medium text-zinc-800 dark:text-gray-200"+ >+ Users+ </h3>++ <div class="flex flex-col">+ <div class="py-2 -my-2 overflow-x-auto sm:-mx-6 sm:px-4 lg:-mx-8 lg:px-8">+ <div class="inline-block min-w-full overflow-hidden align-middle">+ <div class="sm:px-7 p-4">+ <div class="flex w-full items-center mb-7">+ <button+ class="inline-flex mr-3 items-center h-8 pl-2.5 pr-2 rounded-md shadow text-gray-700 dark:text-gray-400 dark:border-gray-800 border-2 border-gray-200 leading-none py-0"+ >+ Last 30 days+ <icon-lucide-chevron-down+ class="w-4 ml-1.5 text-gray-400 dark:text-gray-600"+ />+ </button>++ <div class="relative">+ <button+ @click="dropdownOpen = !dropdownOpen"+ class="inline-flex items-center h-8 pl-2.5 pr-2 rounded-md shadow text-gray-700 dark:text-gray-400 dark:border-gray-800 border-2 border-gray-200 leading-none py-0"+ >+ Filter by+ <icon-lucide-chevron-down+ class="w-4 ml-1.5 text-gray-400 dark:text-gray-600"+ />+ </button>++ <div+ v-show="dropdownOpen"+ @click="dropdownOpen = false"+ class="fixed inset-0 z-10 w-full h-full"+ ></div>++ <transition+ enter-active-class="transition duration-150 ease-out transform"+ enter-from-class="scale-95 opacity-0"+ enter-to-class="scale-100 opacity-100"+ leave-active-class="transition duration-150 ease-in transform"+ leave-from-class="scale-100 opacity-100"+ leave-to-class="scale-95 opacity-0"+ >+ <div+ v-show="dropdownOpen"+ class="absolute left-0 z-20 w-48 mt-2 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-xl"+ >+ <button+ href="#"+ class="block w-full text-left rounded-md px-4 py-2 text-gray-800 dark:text-gray-200 hover:bg-emerald-700 hover:text-white"+ >+ Status+ </button>+ </div>+ </transition>+ </div>++ <Modal v-if="open" :button="button" :title="title">+ <template #title>+ <p class="text-2xl font-bold">Invite User</p>+ </template>+ <template #content>+ <div>+ <div>+ <div class="px-6 rounded-md">+ <form>+ <div class="my-4">+ <div>+ <label+ class="text-gray-800 dark:text-gray-200"+ for="emailAddress"+ >Email Address</label+ >+ <input+ class="w-full p-3 mt-3 dark:bg-zinc-800 border-gray-200 dark:border-gray-600 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ type="email"+ v-model="email"+ placeholder="Enter Email Address"+ />+ </div>+ </div>+ <div class="flex justify-end my-2 pt-3">+ <button+ @click="sendInvite"+ class="px-4 py-2 font-medium tracking-wide text-white bg-emerald-700 rounded-md hover:bg-emerald-600 focus:outline-none"+ >+ Send Invite+ </button>+ </div>+ </form>+ </div>+ </div>+ </div>+ </template>+ </Modal>++ <button+ class="inline-flex items-center bg-zinc-700 h-8 ml-3 pl-2.5 pr-2 rounded-md shadow text-gray-200 dark:border-gray-800 border border-gray-200 leading-none py-0 hover:bg-emerald-700 focus:outline-none focus:bg-emerald-800"+ >+ <router-link :to="'/users/invited'">+ Invited Users+ </router-link>+ </button>+ <div+ class="ml-auto text-gray-400 text-xs sm:inline-flex hidden items-center"+ >+ <span class="mr-3">Page 2 of 4</span>+ <button+ class="inline-flex mr-2 items-center h-8 w-8 justify-center text-gray-400 rounded-md shadow border border-gray-200 dark:border-gray-800 leading-none py-0"+ >+ <icon-lucide-chevron-left class="text-xl" />+ </button>++ <button+ class="inline-flex items-center h-8 w-8 justify-center text-gray-400 rounded-md shadow border border-gray-200 dark:border-gray-800 leading-none py-0"+ >+ <icon-lucide-chevron-right class="text-xl" />+ </button>+ </div>+ </div>+ <div>+ <table class="w-full text-left">+ <thead>+ <tr+ class="text-zinc-900 dark:text-gray-200 border-b border-gray-300 dark:border-gray-600 text-sm"+ >+ <th class="font-normal px-3 pt-0 pb-3"></th>+ <th class="font-normal px-3 pt-0 pb-3">User ID</th>+ <th class="font-normal px-3 pt-0 pb-3">Sign-In Method</th>+ <th class="font-normal px-3 pt-0 pb-3 hidden md:table-cell">+ </th>+ <th class="font-normal px-3 pt-0 pb-3">Status</th>+ <th class="font-normal px-3 pt-0 pb-3">Date</th>+ </tr>+ </thead>++ <tbody class="text-gray-600 dark:text-gray-300">+ <tr+ v-for="user in users"+ @click="goToUser"+ class="border-b border-gray-300 dark:border-gray-600 hover:bg-zinc-800 rounded-xl"+ >+ <td>+ <label>+ <input+ type="checkbox"+ class="appearance-none bg-gray-600 checked:bg-emerald-600 rounded-md ml-3 w-5 h-5"+ name="radio"+ />+ </label>+ </td>+ <td class="sm:p-3 py-2 px-1">+ <div class="flex">+ <span class="ml-3 truncate">+ {{ user?.id }}+ </span>+ </div>+ </td>+ <td class="sm:p-3 py-2 px-1 0">+ <div class="flex items-center">+ {{ user?.signin }}+ </div>+ </td>+ <td+ class="sm:p-3 py-2 px-1 md:table-cell hidden text-sky-500 dark:text-sky-300"+ >+ {{ user?.email }}+ </td>+ <td class="sm:p-3 py-2 px-1 text-green-500">+ {{ user?.status }}+ </td>+ <td class="sm:p-3 py-2 px-1">+ <div class="flex items-center">+ <div class="sm:flex hidden flex-col">+ {{ user?.date }}+ <div class="text-gray-400 text-xs">11:16 AM</div>+ </div>+ <button+ class="w-8 h-8 inline-flex items-center justify-center text-gray-400 ml-auto"+ >+ <icon-lucide-more-horizontal />+ </button>+ </div>+ </td>+ </tr>+ </tbody>+ </table>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+</template>++<script setup lang="ts">+import { ref } from 'vue';+import { useRouter } from 'vue-router';+import Modal from '../../components/app/Modal.vue';++const open = ref(true);++const sendInvite = () => {+ open.value = false;+};++const router = useRouter();++const { fetching, data } = useQuery({+ query: `+ query {+ me {+ displayName+ }+ }+ `,+});++const goToUser = () => {+ router.push('/users/details');+};++const email = ref('');++type User = {+ id: string;+ signin: string;+ email: string;+ status: string;+ date: string;+};++const title = 'Invite User';+const button = 'Send Invite';+const dropdownOpen = ref(false);++const users: Array<User> = [+ {+ id: 'abc12',+ signin: 'Microsoft',+ email: '[email protected]',+ status: 'Active',+ date: '15-01-2023',+ },+ {+ id: 'zxc21',+ signin: 'Microsoft',+ email: '[email protected]',+ status: 'Active',+ date: '15-01-2023',+ },+ {+ id: 'cadf4',+ signin: 'Microsoft',+ email: '[email protected]',+ status: 'Active',+ date: '15-01-2023',+ },+];+</script>diff --git a/packages/hoppscotch-sh-admin/src/pages/users/invited.vue b/packages/hoppscotch-sh-admin/src/pages/users/invited.vuenew file mode 100644index 000000000..8a611379c--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/pages/users/invited.vue@@ -0,0 +1,226 @@+<template>+ <div>+ <h3+ class="sm:px-6 p-4 text-3xl font-medium text-zinc-800 dark:text-gray-200"+ >+ Invited Users+ </h3>++ <div class="flex flex-col">+ <div class="py-2 -my-2 overflow-x-auto sm:-mx-6 sm:px-4 lg:-mx-8 lg:px-8">+ <div class="inline-block min-w-full overflow-hidden align-middle">+ <div class="sm:px-7 p-4">+ <div class="flex w-full items-center mb-7">+ <button+ class="inline-flex mr-3 items-center h-8 pl-2.5 pr-2 rounded-md shadow text-gray-700 dark:text-gray-400 dark:border-gray-800 border-2 border-gray-200 leading-none py-0"+ >+ Last 30 days+ <icon-lucide-chevron-down+ class="w-4 ml-1.5 text-gray-400 dark:text-gray-600"+ />+ </button>++ <div class="relative">+ <button+ @click="dropdownOpen = !dropdownOpen"+ class="inline-flex items-center h-8 pl-2.5 pr-2 rounded-md shadow text-gray-700 dark:text-gray-400 dark:border-gray-800 border-2 border-gray-200 leading-none py-0"+ >+ Filter by+ <icon-lucide-chevron-down+ class="w-4 ml-1.5 text-gray-400 dark:text-gray-600"+ />+ </button>++ <div+ v-show="dropdownOpen"+ @click="dropdownOpen = false"+ class="fixed inset-0 z-10 w-full h-full"+ ></div>++ <transition+ enter-active-class="transition duration-150 ease-out transform"+ enter-from-class="scale-95 opacity-0"+ enter-to-class="scale-100 opacity-100"+ leave-active-class="transition duration-150 ease-in transform"+ leave-from-class="scale-100 opacity-100"+ leave-to-class="scale-95 opacity-0"+ >+ <div+ v-show="dropdownOpen"+ class="absolute left-0 z-20 w-48 mt-2 bg-zinc-200 dark:bg-zinc-800 rounded-md shadow-xl"+ >+ <button+ href="#"+ class="block w-full text-left rounded-md px-4 py-2 text-gray-800 dark:text-gray-200 hover:bg-emerald-700 hover:text-white"+ >+ Status+ </button>+ </div>+ </transition>+ </div>++ <Modal v-if="open" :button="button" :title="title">+ <template #title>+ <p class="text-2xl font-bold">Invite User</p>+ </template>+ <template #content>+ <div>+ <div>+ <div class="px-6 rounded-md">+ <form>+ <div class="my-4">+ <div>+ <label+ class="text-gray-800 dark:text-gray-200"+ for="emailAddress"+ >Email Address</label+ >+ <input+ class="w-full mt-2 dark:bg-zinc-800 border-gray-200 dark:border-gray-600 rounded-md focus:border-emerald-600 focus:ring focus:ring-opacity-40 focus:ring-emerald-500"+ type="email"+ placeholder="Enter Email Address"+ />+ </div>+ </div>+ </form>+ </div>+ </div>+ </div>+ </template>+ </Modal>++ <div+ class="ml-auto text-gray-400 text-xs sm:inline-flex hidden items-center"+ >+ <span class="mr-3">Page 2 of 4</span>+ <button+ class="inline-flex mr-2 items-center h-8 w-8 justify-center text-gray-400 rounded-md shadow border border-gray-200 dark:border-gray-800 leading-none py-0"+ >+ <icon-lucide-chevron-left class="text-xl" />+ </button>+ <button+ class="inline-flex items-center h-8 w-8 justify-center text-gray-400 rounded-md shadow border border-gray-200 dark:border-gray-800 leading-none py-0"+ >+ <icon-lucide-chevron-right class="text-xl" />+ </button>+ </div>+ </div>+ <div>+ <table class="w-full text-left">+ <thead>+ <tr+ class="text-zinc-900 dark:text-gray-200 border-b border-gray-300 dark:border-gray-600 text-sm"+ >+ <th class="font-normal px-3 pt-0 pb-3"></th>+ <th class="font-normal px-3 pt-0 pb-3">Admin ID</th>+ <th class="font-normal px-3 pt-0 pb-3">Admin Email</th>+ <th class="font-normal px-3 pt-0 pb-3 hidden md:table-cell">+ Invitee Email+ </th>+ <th class="font-normal px-3 pt-0 pb-3">Invited On</th>+ </tr>+ </thead>+ <tbody+ v-for="user in invitedUsers"+ id="user.id"+ class="text-gray-600 dark:text-gray-300"+ >+ <tr+ @click="goToUser"+ class="border-b border-gray-300 dark:border-gray-600 hover:bg-zinc-800 rounded-xl"+ >+ <td>+ <label>+ <input+ type="checkbox"+ class="appearance-none bg-gray-600 checked:bg-emerald-600 rounded-md ml-3 w-5 h-5"+ name="radio"+ />+ </label>+ </td>+ <td class="sm:p-3 py-2 px-1">+ <div class="flex">+ <span class="ml-3">+ {{ user.adminId }}+ </span>+ </div>+ </td>+ <td class="sm:p-3 py-2 px-1 text-sky-500 dark:text-sky-300">+ <div class="flex items-center">+ {{ user.adminEmail }}+ </div>+ </td>+ <td+ class="sm:p-3 py-2 px-1 md:table-cell hidden text-sky-500 dark:text-sky-300"+ >+ {{ user.inviteeEmail }}+ </td>++ <td class="sm:p-3 py-2 px-1">+ <div class="flex items-center">+ <div class="sm:flex hidden flex-col">+ {{ user.invitedOn }}+ <div class="text-gray-400 text-xs">11:16 AM</div>+ </div>+ <button+ class="w-8 h-8 inline-flex items-center justify-center text-gray-400 ml-auto"+ >+ <icon-lucide-more-horizontal />+ </button>+ </div>+ </td>+ </tr>+ </tbody>+ </table>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+</template>++<script setup lang="ts">+import { ref } from 'vue';+import { useRouter } from 'vue-router';+import Modal from '../../components/app/Modal.vue';++const router = useRouter();++const goToUser = () => {+ router.push('/users/detail');+};++const open = ref(false);+const title = 'Invite User';+const button = 'Send Invite';+const dropdownOpen = ref(false);++type InvitedUser = {+ adminId: string;+ adminEmail: string;+ inviteeEmail: string;+ invitedOn: string;+};++const invitedUsers: Array<InvitedUser> = [+ {+ adminId: 'abc12',+ adminEmail: '[email protected]',+ inviteeEmail: '[email protected]',+ invitedOn: '15-01-2023',+ },+ {+ adminId: 'zxc21',+ adminEmail: '[email protected]',+ inviteeEmail: '[email protected]',+ invitedOn: '15-01-2023',+ },+ {+ adminId: 'cadf4',+ adminEmail: '[email protected]',+ inviteeEmail: '[email protected]',+ invitedOn: '15-01-2023',+ },+];+</script>diff --git a/packages/hoppscotch-sh-admin/src/shims-vue.d.ts b/packages/hoppscotch-sh-admin/src/shims-vue.d.tsnew file mode 100644index 000000000..87bc1fa54--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/shims-vue.d.ts@@ -0,0 +1,5 @@+declare module '*.vue' {+ import { defineComponent } from 'vue';+ const Component: ReturnType<typeof defineComponent>;+ export default Component;+}diff --git a/packages/hoppscotch-sh-admin/src/vite-env.d.ts b/packages/hoppscotch-sh-admin/src/vite-env.d.tsnew file mode 100644index 000000000..9d639f64f--- /dev/null+++ b/packages/hoppscotch-sh-admin/src/vite-env.d.ts@@ -0,0 +1,3 @@+/// <reference types="vite/client" />+/// <reference types="vite-plugin-pages/client" />+/// <reference types="vite-plugin-vue-layouts/client" />diff --git a/packages/hoppscotch-sh-admin/tsconfig.json b/packages/hoppscotch-sh-admin/tsconfig.jsonnew file mode 100644index 000000000..20d96d963--- /dev/null+++ b/packages/hoppscotch-sh-admin/tsconfig.json@@ -0,0 +1,91 @@+// {+// "compilerOptions": {+// "target": "ESNext",+// "useDefineForClassFields": true,+// "module": "ESNext",+// "moduleResolution": "Node",+// "strict": true,+// "jsx": "preserve",+// "resolveJsonModule": true,+// "isolatedModules": true,+// "esModuleInterop": true,+// "lib": ["ESNext", "DOM"],+// "skipLibCheck": true,+// "noEmit": true+// },+// "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],+// "references": [{ "path": "./tsconfig.node.json" }]+// }++{+ "compilerOptions": {+ /* Visit https://aka.ms/tsconfig.json to read more about this file */++ /* Basic Options */+ // "incremental": true, /* Enable incremental compilation */+ "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */+ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */+ // "lib": [], /* Specify library files to be included in the compilation. */+ // "allowJs": true, /* Allow javascript files to be compiled. */+ // "checkJs": true, /* Report errors in .js files. */+ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */+ // "declaration": true, /* Generates corresponding '.d.ts' file. */+ // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */+ // "sourceMap": true, /* Generates corresponding '.map' file. */+ // "outFile": "./", /* Concatenate and emit output to single file. */+ // "outDir": "./", /* Redirect output structure to the directory. */+ // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */+ // "composite": true, /* Enable project compilation */+ // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */+ // "removeComments": true, /* Do not emit comments to output. */+ // "noEmit": true, /* Do not emit outputs. */+ // "importHelpers": true, /* Import emit helpers from 'tslib'. */+ // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */+ // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */++ /* Strict Type-Checking Options */+ "strict": true, /* Enable all strict type-checking options. */+ // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */+ // "strictNullChecks": true, /* Enable strict null checks. */+ // "strictFunctionTypes": true, /* Enable strict checking of function types. */+ // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */+ // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */+ // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */+ // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */++ /* Additional Checks */+ // "noUnusedLocals": true, /* Report errors on unused locals. */+ // "noUnusedParameters": true, /* Report errors on unused parameters. */+ // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */+ // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */+ // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an 'override' modifier. */+ // "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */++ /* Module Resolution Options */+ // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */+ // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */+ // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */+ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */+ // "typeRoots": [], /* List of folders to include type definitions from. */+ // "types": [], /* Type declaration files to be included in compilation. */+ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */+ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */+ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */+ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */++ /* Source Map Options */+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */+ // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */+ // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */++ /* Experimental Options */+ "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */+ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */++ /* Advanced Options */+ "skipLibCheck": true, /* Skip type checking of declaration files. */+ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */+ }+}diff --git a/packages/hoppscotch-sh-admin/tsconfig.node.json b/packages/hoppscotch-sh-admin/tsconfig.node.jsonnew file mode 100644index 000000000..9d31e2aed--- /dev/null+++ b/packages/hoppscotch-sh-admin/tsconfig.node.json@@ -0,0 +1,9 @@+{+ "compilerOptions": {+ "composite": true,+ "module": "ESNext",+ "moduleResolution": "Node",+ "allowSyntheticDefaultImports": true+ },+ "include": ["vite.config.ts"]+}diff --git a/packages/hoppscotch-sh-admin/vite.config.ts b/packages/hoppscotch-sh-admin/vite.config.tsnew file mode 100644index 000000000..c5eae879e--- /dev/null+++ b/packages/hoppscotch-sh-admin/vite.config.ts@@ -0,0 +1,51 @@+import { defineConfig } from 'vite';+import vue from '@vitejs/plugin-vue';+import { FileSystemIconLoader } from 'unplugin-icons/loaders';+import Icons from 'unplugin-icons/vite';+import IconResolver from 'unplugin-icons/resolver';+import Components from 'unplugin-vue-components/vite';+import WindiCSS from 'vite-plugin-windicss';+import Pages from 'vite-plugin-pages';+import Layouts from 'vite-plugin-vue-layouts';+import path from 'path';++// https://vitejs.dev/config/+export default defineConfig({+ envDir: path.resolve(__dirname, "../../"),+ server: {+ port: 3100,+ },+ plugins: [+ vue(),+ Pages({+ dirs: './src/pages',+ routeStyle: 'nuxt',+ }),+ Layouts({+ defaultLayout: 'default',+ layoutsDirs: 'src/layouts',+ }),+ WindiCSS({+ root: path.resolve(__dirname),+ }),+ Components({+ dts: './src/components.d.ts',+ dirs: ['./src/components', '../hoppscotch-ui/src/components'],+ directoryAsNamespace: true,+ resolvers: [+ IconResolver({+ prefix: 'icon',+ customCollections: ['hopp', 'auth', 'brands'],+ }),+ (compName: string) => {+ if (compName.startsWith("Hopp"))+ return { name: compName, from: "@hoppscotch/ui" }+ else return undefined+ },+ ],+ }),+ Icons({+ compiler: 'vue3',+ }),+ ],+});diff --git a/packages/hoppscotch-sh-admin/windi.config.ts b/packages/hoppscotch-sh-admin/windi.config.tsnew file mode 100644index 000000000..99de3576c--- /dev/null+++ b/packages/hoppscotch-sh-admin/windi.config.ts@@ -0,0 +1,65 @@+import { defineConfig } from 'windicss/helpers';++export default defineConfig({+ theme: {+ container: {+ center: true,+ },+ extend: {+ inset: {+ upperPrimaryStickyFold: 'var(--upper-primary-sticky-fold)',+ upperSecondaryStickyFold: 'var(--upper-secondary-sticky-fold)',+ upperTertiaryStickyFold: 'var(--upper-tertiary-sticky-fold)',+ upperMobilePrimaryStickyFold: 'var(--upper-mobile-primary-sticky-fold)',+ upperMobileSecondaryStickyFold:+ 'var(--upper-mobile-secondary-sticky-fold)',+ upperMobileStickyFold: 'var(--upper-mobile-sticky-fold)',+ upperMobileTertiaryStickyFold:+ 'var(--upper-mobile-tertiary-sticky-fold)',+ lowerPrimaryStickyFold: 'var(--lower-primary-sticky-fold)',+ lowerSecondaryStickyFold: 'var(--lower-secondary-sticky-fold)',+ lowerTertiaryStickyFold: 'var(--lower-tertiary-sticky-fold)',+ sidebarPrimaryStickyFold: 'var(--sidebar-primary-sticky-fold)',+ },+ colors: {+ primary: 'var(--primary-color)',+ primaryLight: 'var(--primary-light-color)',+ primaryDark: 'var(--primary-dark-color)',+ primaryContrast: 'var(--primary-contrast-color)',+ secondary: 'var(--secondary-color)',+ secondaryLight: 'var(--secondary-light-color)',+ secondaryDark: 'var(--secondary-dark-color)',+ accent: 'var(--accent-color)',+ accentLight: 'var(--accent-light-color)',+ accentDark: 'var(--accent-dark-color)',+ accentContrast: 'var(--accent-contrast-color)',+ divider: 'var(--divider-color)',+ dividerLight: 'var(--divider-light-color)',+ dividerDark: 'var(--divider-dark-color)',+ error: 'var(--error-color)',+ tooltip: 'var(--tooltip-color)',+ popover: 'var(--popover-color)',+ gradientFrom: 'var(--gradient-from-color)',+ gradientVia: 'var(--gradient-via-color)',+ gradientTo: 'var(--gradient-to-color)',+ },+ fontFamily: {+ sans: 'var(--font-sans)',+ mono: 'var(--font-mono)',+ icon: 'var(--font-icon)',+ },+ fontSize: {+ tiny: 'var(--font-size-tiny)',+ body: 'var(--font-size-body)',+ },+ lineHeight: {+ body: 'var(--line-height-body)',+ },+ cursor: {+ nsResize: 'ns-resize',+ grab: 'grab',+ grabbing: 'grabbing',+ },+ },+ },+});diff --git a/packages/hoppscotch-ui/README.md b/packages/hoppscotch-ui/README.mdindex 8f1885799..765dd7207 100644--- a/packages/hoppscotch-ui/README.md+++ b/packages/hoppscotch-ui/README.md@@ -1,24 +1,15 @@-<div align="center">--<a href="https://hoppscotch.io">--<img--src="https://avatars.githubusercontent.com/u/56705483"--alt="Hoppscotch Logo"--height="64"--/>--</a>-+<div align="center">+ <a href="https://hoppscotch.io">+ <img+ src="https://avatars.githubusercontent.com/u/56705483"+ alt="Hoppscotch Logo"+ height="64"+ />+ </a></div>+<div align="center">-<div align="center">--# Hoppscotch UI+# Hoppscotch UI <font size=2><sup>ALPHA</sup></font></div>@@ -28,7 +19,7 @@ Welcome to hoppscotch-ui, a collection of presentational components for our webTo use the components in project, simply name the component with `directory` name as alias:-For example `Primary Button` component is in `button` directory and the file name is `Primary.vue`. So, use that you have to write `<ButtonPrimary />`+For example `Primary Button` component is in `button` directory and the file name is `Primary.vue`. So, use that you have to write `<HoppButtonPrimary />`## Histoirediff --git a/packages/hoppscotch-ui/histoire.config.ts b/packages/hoppscotch-ui/histoire.config.tsindex 88fb23b11..5ba0ebc71 100644--- a/packages/hoppscotch-ui/histoire.config.ts+++ b/packages/hoppscotch-ui/histoire.config.ts@@ -9,9 +9,12 @@ export default defineConfig({light: "/logo.png",dark: "/logo.png",},- // logoHref: "https://ui.hoppscotch.io",+ logoHref: "https://ui.hoppscotch.io",favicon: 'favicon.ico',},setupFile: "histoire.setup.ts",plugins: [HstVue()],+ viteIgnorePlugins: [+ 'vite:dts'+ ]})diff --git a/packages/hoppscotch-ui/package.json b/packages/hoppscotch-ui/package.jsonindex 66dd846f1..4a3c91c89 100644--- a/packages/hoppscotch-ui/package.json+++ b/packages/hoppscotch-ui/package.json@@ -2,13 +2,20 @@"name": "@hoppscotch/ui","private": true,"version": "0.0.1",+ "type": "module","scripts": {"build": "vite build","story:dev": "histoire dev","story:build": "histoire build","story:preview": "histoire preview",+ "do-build-prod": "pnpm run build",+ "postinstall": "pnpm run build","do-build-ui": "pnpm run story:build"},+ "peerDependencies": {+ "vue": "^3.2.25",+ "vue-router": "^4.0.16"+ },"dependencies": {"@hoppscotch/vue-toasted": "^0.1.0","@lezer/highlight": "^1.0.0",@@ -30,11 +37,10 @@"url": "^0.11.0","util": "^0.12.4","vite-plugin-eslint": "^1.8.1",- "vue": "^3.2.25","vue-github-button": "^3.0.3","vue-router": "^4.0.16","vue-tippy": "6.0.0-alpha.58",- "vuedraggable": "^4.1.0"+ "vuedraggable-es": "^4.1.1"},"devDependencies": {"@esbuild-plugins/node-globals-polyfill": "^0.1.1",@@ -60,10 +66,11 @@"rollup-plugin-polyfill-node": "^0.10.1","sass": "^1.53.0","typescript": "^4.5.4",- "unplugin-icons": "^0.14.9",+ "unplugin-icons": "^0.15.3","unplugin-vue-components": "^0.21.0","vite": "^3.2.3","vite-plugin-checker": "^0.5.1",+ "vite-plugin-dts": "2.0.0-beta.3","vite-plugin-fonts": "^0.6.0","vite-plugin-html-config": "^1.0.10","vite-plugin-inspect": "^0.7.4",@@ -72,12 +79,20 @@"vite-plugin-pwa": "^0.13.1","vite-plugin-vue-layouts": "^0.7.0","vite-plugin-windicss": "^1.8.8",+ "vue": "^3.2.25","vue-loader": "^16.8.3",+ "vue-router": "^4.0.16","vue-tsc": "^0.38.2","windicss": "^3.5.6"},"files": [- "src","dist"- ]+ ],+ "module": "./dist/index.es.js",+ "main": "./dist/index.es.js",+ "exports": {+ ".": "./dist/index.es.js",+ "./style.css": "./dist/style.css"+ },+ "types": "./dist/index.d.ts"}diff --git a/packages/hoppscotch-ui/src/assets/scss/styles.scss b/packages/hoppscotch-ui/src/assets/scss/styles.scssindex b38b0c9c7..8605dab2a 100644--- a/packages/hoppscotch-ui/src/assets/scss/styles.scss+++ b/packages/hoppscotch-ui/src/assets/scss/styles.scss@@ -1,64 +1,3 @@-* {- @apply backface-hidden;- @apply before:backface-hidden;- @apply after:backface-hidden;- @apply selection:bg-accentDark;- @apply selection:text-accentContrast;-}--:root {- @apply antialiased;- accent-color: var(--accent-color);- font-variant-ligatures: common-ligatures;-}--::-webkit-scrollbar-track {- @apply bg-transparent;- @apply border-solid border-l border-dividerLight border-t-0 border-b-0 border-r-0;-}--::-webkit-scrollbar-thumb {- @apply bg-divider bg-clip-content;- @apply rounded-full;- @apply border-solid border-transparent border-4;- @apply hover:bg-dividerDark;- @apply hover:bg-clip-content;-}--::-webkit-scrollbar {- @apply w-4;- @apply h-0;-}--input::placeholder,-textarea::placeholder,-.cm-placeholder {- @apply text-secondary;- @apply opacity-50;-}--input,-textarea {- @apply text-secondaryDark;- @apply font-medium;-}--html {- scroll-behavior: smooth;-}--body {- @apply bg-primary;- @apply text-secondary text-body;- @apply font-medium;- @apply select-none;- @apply overflow-x-hidden;- @apply leading-body;- animation: fade 300ms forwards;- -webkit-tap-highlight-color: transparent;- -webkit-touch-callout: none;-}-@keyframes fade {0% {@apply opacity-0;@@ -130,89 +69,6 @@ a {}}-.cm-tooltip {- .tippy-box {- @apply shadow-none;- @apply fixed;- @apply inline-flex;- @apply -mt-8;- }-}--.tippy-box[data-theme~="tooltip"] {- @apply bg-tooltip;- @apply border-solid border-tooltip;- @apply rounded;- @apply shadow;-- .tippy-content {- @apply flex;- @apply text-tiny text-primary;- @apply font-semibold;- @apply py-1 px-2;- @apply truncate;- @apply leading-normal;- @apply items-center;-- kbd {- @apply hidden;- @apply font-sans;- @apply bg-gray-500/45;- @apply text-primaryLight;- @apply rounded-sm;- @apply px-1;- @apply my-0 ml-1;- @apply truncate;- @apply sm:inline-flex;- }-- .env-icon {- @apply transition;- @apply inline-flex;- @apply items-center;- }- }-- .tippy-svg-arrow {- svg:first-child {- @apply fill-tooltip;- }-- svg:last-child {- @apply fill-tooltip;- }- }-}--.tippy-box[data-theme~="popover"] {- @apply bg-popover;- @apply border-solid border-dividerDark;- @apply rounded;- @apply shadow-lg;-- .tippy-content {- @apply flex flex-col;- @apply max-h-56;- @apply items-stretch;- @apply overflow-y-auto;- @apply text-secondary text-body;- @apply p-2;- @apply leading-normal;- @apply focus:outline-none;- scroll-behavior: smooth;- }-- .tippy-svg-arrow {- svg:first-child {- @apply fill-dividerDark;- }-- svg:last-child {- @apply fill-popover;- }- }-}-[data-v-tippy] {@apply flex flex-1;}@@ -246,243 +102,6 @@ hr {@apply focus-visible:border-dividerDark;}-input,-select,-textarea,-button {- @apply truncate;- @apply transition;- @apply text-body;- @apply leading-body;- @apply focus:outline-none;- @apply disabled:cursor-not-allowed;-}--.input[type="file"],-.input[type="radio"],-#installPWA {- @apply hidden;-}--.floating-input ~ label {- @apply absolute;- @apply px-2 py-0.5;- @apply m-2;- @apply rounded;- @apply transition;- @apply origin-top-left;-}--.floating-input:focus-within ~ label,-.floating-input:not(:placeholder-shown) ~ label {- @apply bg-primary;- @apply transform;- @apply origin-top-left;- @apply scale-75;- @apply translate-x-1 -translate-y-4;-}--.floating-input:focus-within ~ label {- @apply text-secondaryDark;-}--.floating-input ~ .end-actions {- @apply absolute;- @apply right-0.2;- @apply inset-y-0;- @apply flex;- @apply items-center;-}--.floating-input:has(~ .end-actions) {- @apply pr-12;-}--pre.ace_editor {- @apply font-mono;- @apply resize-none;- @apply z-0;-}--.select {- @apply appearance-none;- @apply cursor-pointer;-- &::-ms-expand {- @apply hidden;- }-}--.select-wrapper {- @apply flex flex-1;- @apply relative;- @apply after:absolute;- @apply after:flex;- @apply after:inset-y-0;- @apply after:items-center;- @apply after:justify-center;- @apply after:pointer-events-none;- @apply after:font-icon;- @apply after:text-secondaryLight;- @apply after:right-3;- @apply after:content-["\e313"];-}--.info-response {- @apply text-pink-500;-}--.success-response {- @apply text-green-500;-}--.redir-response {- @apply text-yellow-500;-}--.cl-error-response {- @apply text-red-500;-}--.sv-error-response {- @apply text-red-600;-}--.missing-data-response {- @apply text-secondaryLight;-}--.toasted-container {- @apply max-w-md;-- .toasted {- &.toasted-primary {- @apply px-4 py-2;- @apply bg-tooltip;- @apply border-secondaryDark;- @apply text-primary text-body;- @apply justify-between;- @apply shadow-lg;- @apply font-semibold;- @apply transition;- @apply leading-body;- @apply sm:rounded;- @apply sm:border;-- .action {- @apply relative;- @apply flex flex-shrink-0;- @apply text-body;- @apply px-4;- @apply my-1;- @apply ml-auto;- @apply normal-case;- @apply font-semibold;- @apply leading-body;- @apply tracking-normal;- @apply rounded;- @apply last:ml-4;- @apply sm:ml-8;- @apply before:absolute;- @apply before:bg-current;- @apply before:opacity-10;- @apply before:inset-0;- @apply before:transition;- @apply before:content-DEFAULT;- @apply hover:no-underline;- @apply hover:before:opacity-20;- }- }-- &.info {- @apply bg-accent;- @apply text-accentContrast;- @apply border-accentDark;- }-- &.error {- @apply bg-red-200;- @apply text-red-800;- @apply border-red-400;- }-- &.success {- @apply bg-green-200;- @apply text-green-800;- @apply border-green-400;- }- }-}--.smart-splitter .splitpanes__splitter {- @apply relative;- @apply before:absolute;- @apply before:inset-0;- @apply before:bg-accentLight;- @apply before:opacity-0;- @apply before:z-20;- @apply before:transition;- @apply before:content-DEFAULT;- @apply hover:before:opacity-100;-}--.no-splitter .splitpanes__splitter {- @apply relative;-}--.smart-splitter.splitpanes--vertical > .splitpanes__splitter {- @apply w-0;- @apply before:-left-0.5;- @apply before:-right-0.5;- @apply before:h-full;- @apply bg-divider;-}--.smart-splitter.splitpanes--horizontal > .splitpanes__splitter {- @apply h-0;- @apply before:-top-0.5;- @apply before:-bottom-0.5;- @apply before:w-full;- @apply bg-divider;-}--.no-splitter.splitpanes--vertical > .splitpanes__splitter {- @apply w-0;- @apply pointer-events-none;- @apply bg-dividerLight;-}--.no-splitter.splitpanes--horizontal > .splitpanes__splitter {- @apply h-0;- @apply pointer-events-none;- @apply bg-dividerLight;-}--.cm-focused {- @apply select-auto;- @apply outline-none #{!important};-- .cm-activeLine {- @apply bg-primaryLight;- }-- .cm-activeLineGutter {- @apply bg-primaryDark;- }-}--.cm-editor {- .cm-line::selection {- @apply bg-accentDark #{!important};- @apply text-accentContrast #{!important};- }-- .cm-line ::selection {- @apply bg-accentDark #{!important};- @apply text-accentContrast #{!important};- }-}-.shortcut-key {@apply inline-flex;@apply font-sans;@@ -499,62 +118,3 @@ pre.ace_editor {@apply shadow-sm;@apply <sm:hidden;}--.capitalize-first {- @apply first-letter:capitalize;-}--details {- @apply select-none;-}--details summary::-webkit-details-marker {- @apply hidden;-}--details summary .indicator {- @apply transition;-}--details[open] summary .indicator {- @apply transform;- @apply rotate-90;-}--@media (max-width: 767px) {- main {- margin-bottom: env(safe-area-inset-bottom);- }-}--.env-highlight {- @apply text-accentContrast;-- &.env-found {- @apply bg-accentDark;- @apply hover:bg-accent;- }-- &.env-not-found {- @apply bg-red-500;- @apply hover:bg-red-600;- }-}--#nprogress .bar {- @apply bg-accent #{!important};-}--.color-picker[type="color"] {- @apply appearance-none;-}--.color-picker[type="color"]::-webkit-color-swatch-wrapper {- @apply rounded;- @apply p-0;-}--.color-picker[type="color"]::-webkit-color-swatch {- @apply rounded;- @apply border-0;-}diff --git a/packages/hoppscotch-ui/src/components.d.ts b/packages/hoppscotch-ui/src/components.d.tsdeleted file mode 100644index e52ba9d2d..000000000--- a/packages/hoppscotch-ui/src/components.d.ts+++ /dev/null@@ -1,37 +0,0 @@-// generated by unplugin-vue-components-// We suggest you to commit this file into source control-// Read more: https://github.com/vuejs/core/pull/3399-import '@vue/runtime-core'--export {}--declare module '@vue/runtime-core' {- export interface GlobalComponents {- ButtonPrimary: typeof import('./components/button/Primary.vue')['default']- ButtonSecondary: typeof import('./components/button/Secondary.vue')['default']- IconLucideLoader: typeof import('~icons/lucide/loader')['default']- RouterLink: typeof import('vue-router')['RouterLink']- RouterView: typeof import('vue-router')['RouterView']- SmartAnchor: typeof import('./components/smart/Anchor.vue')['default']- SmartAutoComplete: typeof import('./components/smart/AutoComplete.vue')['default']- SmartCheckbox: typeof import('./components/smart/Checkbox.vue')['default']- SmartConfirmModal: typeof import('./components/smart/ConfirmModal.vue')['default']- SmartExpand: typeof import('./components/smart/Expand.vue')['default']- SmartFileChip: typeof import('./components/smart/FileChip.vue')['default']- SmartIntersection: typeof import('./components/smart/Intersection.vue')['default']- SmartItem: typeof import('./components/smart/Item.vue')['default']- SmartLink: typeof import('./components/smart/Link.vue')['default']- SmartModal: typeof import('./components/smart/Modal.vue')['default']- SmartProgressRing: typeof import('./components/smart/ProgressRing.vue')['default']- SmartRadio: typeof import('./components/smart/Radio.vue')['default']- SmartRadioGroup: typeof import('./components/smart/RadioGroup.vue')['default']- SmartSlideOver: typeof import('./components/smart/SlideOver.vue')['default']- SmartSpinner: typeof import('./components/smart/Spinner.vue')['default']- SmartTab: typeof import('./components/smart/Tab.vue')['default']- SmartTabs: typeof import('./components/smart/Tabs.vue')['default']- SmartToggle: typeof import('./components/smart/Toggle.vue')['default']- SmartWindow: typeof import('./components/smart/Window.vue')['default']- SmartWindows: typeof import('./components/smart/Windows.vue')['default']- }--}diff --git a/packages/hoppscotch-ui/src/components/button/Primary.vue b/packages/hoppscotch-ui/src/components/button/Primary.vueindex 5be5f6c21..89656dace 100644--- a/packages/hoppscotch-ui/src/components/button/Primary.vue+++ b/packages/hoppscotch-ui/src/components/button/Primary.vue@@ -1,7 +1,5 @@<template>- <SmartLink- :to="to"- :blank="blank"+ <HoppSmartLink :to="to" :blank="blank"class="relative inline-flex items-center justify-center py-2 font-bold transition focus:outline-none focus-visible:bg-accentDark":class="[color@@ -21,45 +19,29 @@'border border-accent hover:border-accentDark focus-visible:border-accentDark':outline,},- ]"- :disabled="disabled"- :tabindex="loading ? '-1' : '0'"- role="button"- >- <span- class="inline-flex items-center justify-center whitespace-nowrap"- :class="[{ 'flex-row-reverse': reverse }, { 'opacity-50': loading }]"- >- <component- :is="icon"- v-if="icon"- class="svg-icons"- :class="[- { '!text-2xl': large },- label ? (reverse ? 'ml-2' : 'mr-2') : '',- ]"- />+ ]" :disabled="disabled" :tabindex="loading ? '-1' : '0'" role="button">+ <span class="inline-flex items-center justify-center whitespace-nowrap"+ :class="[{ 'flex-row-reverse': reverse }, { 'opacity-50': loading }]">+ <component :is="icon" v-if="icon" class="svg-icons" :class="[+ { '!text-2xl': large },+ label ? (reverse ? 'ml-2' : 'mr-2') : '',+ ]" />{{ label }}<div v-if="shortcut.length" class="<sm:hidden">- <kbd- v-for="(key, index) in shortcut"- :key="`key-${index}`"- class="shortcut-key !bg-accentDark !border-accentLight"- >+ <kbd v-for="(key, index) in shortcut" :key="`key-${index}`"+ class="shortcut-key !bg-accentDark !border-accentLight">{{ key }}</kbd></div></span>- <span- v-if="loading"- class="absolute inset-0 flex items-center justify-center"- >- <SmartSpinner />+ <span v-if="loading" class="absolute inset-0 flex items-center justify-center">+ <HoppSmartSpinner /></span>- </SmartLink>+ </HoppSmartLink></template><script setup lang="ts">+import { HoppSmartLink, HoppSmartSpinner } from "../smart"import type { Component } from "vue"interface Props {@@ -80,6 +62,7 @@ interface Props {outline?: booleanshortcut?: string[]}+withDefaults(defineProps<Props>(), {to: "",exact: true,diff --git a/packages/hoppscotch-ui/src/components/button/Secondary.vue b/packages/hoppscotch-ui/src/components/button/Secondary.vueindex 2756b5370..5151424f2 100644--- a/packages/hoppscotch-ui/src/components/button/Secondary.vue+++ b/packages/hoppscotch-ui/src/components/button/Secondary.vue@@ -1,8 +1,5 @@<template>- <SmartLink- :to="to"- :exact="exact"- :blank="blank"+ <HoppSmartLink :to="to" :exact="exact" :blank="blank"class="inline-flex items-center justify-center py-2 font-semibold transition whitespace-nowrap focus:outline-none":class="[color@@ -22,41 +19,26 @@'bg-primaryLight hover:bg-primaryDark focus-visible:bg-primaryDark':filled,},- ]"- :disabled="disabled"- :tabindex="loading ? '-1' : '0'"- role="button"- >- <span- v-if="!loading"- class="inline-flex items-center justify-center whitespace-nowrap"- :class="{ 'flex-row-reverse': reverse }"- >- <component- :is="icon"- v-if="icon"- class="svg-icons"- :class="[- { '!text-2xl': large },- label ? (reverse ? 'ml-2' : 'mr-2') : '',- ]"- />+ ]" :disabled="disabled" :tabindex="loading ? '-1' : '0'" role="button">+ <span v-if="!loading" class="inline-flex items-center justify-center whitespace-nowrap"+ :class="{ 'flex-row-reverse': reverse }">+ <component :is="icon" v-if="icon" class="svg-icons" :class="[+ { '!text-2xl': large },+ label ? (reverse ? 'ml-2' : 'mr-2') : '',+ ]" />{{ label }}<div v-if="shortcut.length" class="<sm:hidden">- <kbd- v-for="(key, index) in shortcut"- :key="`key-${index}`"- class="shortcut-key !bg-inherit"- >+ <kbd v-for="(key, index) in shortcut" :key="`key-${index}`" class="shortcut-key !bg-inherit">{{ key }}</kbd></div></span>- <SmartSpinner v-else />- </SmartLink>+ <HoppSmartSpinner v-else />+ </HoppSmartLink></template><script setup lang="ts">+import { HoppSmartLink, HoppSmartSpinner } from "../smart";import type { Component } from "vue"interface Props {diff --git a/packages/hoppscotch-ui/src/components/button/index.ts b/packages/hoppscotch-ui/src/components/button/index.tsnew file mode 100644index 000000000..5da471222--- /dev/null+++ b/packages/hoppscotch-ui/src/components/button/index.ts@@ -0,0 +1,2 @@+export { default as HoppButtonPrimary } from "./Primary.vue"+export { default as HoppButtonSecondary } from "./Secondary.vue"diff --git a/packages/hoppscotch-ui/src/components/index.ts b/packages/hoppscotch-ui/src/components/index.tsindex 4faf9ca17..d9f6e9632 100644--- a/packages/hoppscotch-ui/src/components/index.ts+++ b/packages/hoppscotch-ui/src/components/index.ts@@ -1,47 +1,2 @@-import Primary from "./button/Primary.vue"-import Secondary from "./button/Secondary.vue"-import Anchor from "./smart/Anchor.vue"-import AutoComplete from "./smart/AutoComplete.vue"-import Checkbox from "./smart/Checkbox.vue"-import ConfirmModal from "./smart/ConfirmModal.vue"-import Expand from "./smart/Expand.vue"-import FileChip from "./smart/FileChip.vue"-import Intersection from "./smart/Intersection.vue"-import Item from "./smart/Item.vue"-import Link from "./smart/Link.vue"-import Modal from "./smart/Modal.vue"-import ProgressRing from "./smart/ProgressRing.vue"-import Radio from "./smart/Radio.vue"-import RadioGroup from "./smart/RadioGroup.vue"-import SlideOver from "./smart/SlideOver.vue"-import Spinner from "./smart/Spinner.vue"-import Tab from "./smart/Tab.vue"-import Tabs from "./smart/Tabs.vue"-import Toggle from "./smart/Toggle.vue"-import Window from "./smart/Window.vue"-import Windows from "./smart/Windows.vue"--export default {- Primary,- Secondary,- Anchor,- AutoComplete,- Checkbox,- ConfirmModal,- Expand,- FileChip,- Intersection,- Item,- Link,- Modal,- ProgressRing,- Radio,- RadioGroup,- SlideOver,- Spinner,- Tab,- Tabs,- Toggle,- Window,- Windows,-}+export * from "./button"+export * from "./smart"diff --git a/packages/hoppscotch-ui/src/components/smart/Anchor.vue b/packages/hoppscotch-ui/src/components/smart/Anchor.vueindex 034cd3cd0..3a18a7d70 100644--- a/packages/hoppscotch-ui/src/components/smart/Anchor.vue+++ b/packages/hoppscotch-ui/src/components/smart/Anchor.vue@@ -1,33 +1,25 @@<template>- <SmartLink- :to="to"- :exact="exact"- :blank="blank"- class="inline-flex items-center justify-center focus:outline-none"+ <HoppSmartLink :to="to" :exact="exact" :blank="blank" class="inline-flex items-center justify-center focus:outline-none":class="[color? `text-${color}-500 hover:text-${color}-600 focus-visible:text-${color}-600`: 'hover:text-secondaryDark focus-visible:text-secondaryDark',{ 'opacity-75 cursor-not-allowed': disabled },{ 'flex-row-reverse': reverse },- ]"- :disabled="disabled"- tabindex="0"- >- <component- :is="icon"- v-if="icon"- class="svg-icons"- :class="label ? (reverse ? 'ml-2' : 'mr-2') : ''"- />+ ]" :disabled="disabled" tabindex="0">+ <component :is="icon" v-if="icon" class="svg-icons" :class="label ? (reverse ? 'ml-2' : 'mr-2') : ''" />{{ label }}- </SmartLink>+ </HoppSmartLink></template><script lang="ts">+import HoppSmartLink from "./Link.vue";import { Component, defineComponent, PropType } from "vue"export default defineComponent({+ components: {+ HoppSmartLink+ },props: {to: {type: String,diff --git a/packages/hoppscotch-ui/src/components/smart/AutoComplete.vue b/packages/hoppscotch-ui/src/components/smart/AutoComplete.vueindex 85a6c7fe3..d8a8f5149 100644--- a/packages/hoppscotch-ui/src/components/smart/AutoComplete.vue+++ b/packages/hoppscotch-ui/src/components/smart/AutoComplete.vue@@ -1,36 +1,17 @@<template><div class="autocomplete-wrapper">- <input- ref="acInput"- :value="text"- type="text"- autocomplete="off"- :placeholder="placeholder"- :spellcheck="spellcheck"- :autocapitalize="autocapitalize"- :class="styles"- @input.stop="+ <input ref="acInput" :value="text" type="text" autocomplete="off" :placeholder="placeholder" :spellcheck="spellcheck"+ :autocapitalize="autocapitalize" :class="styles" @input.stop="(e) => {$emit('input', e.target.value)updateSuggestions(e)}- "- @keyup="updateSuggestions"- @click="updateSuggestions"- @keydown="handleKeystroke"- @change="$emit('change', $event)"- />- <ul- v-if="suggestions.length > 0 && suggestionsVisible"- class="suggestions"- :style="{ transform: `translate(${suggestionsOffsetLeft}px, 0)` }"- >- <li- v-for="(suggestion, index) in suggestions"- :key="`suggestion-${index}`"- :class="{ active: currentSuggestionIndex === index }"- @click.prevent="forceSuggestion(suggestion)"- >+ " @keyup="updateSuggestions" @click="updateSuggestions" @keydown="handleKeystroke"+ @change="$emit('change', $event)" />+ <ul v-if="suggestions.length > 0 && suggestionsVisible" class="suggestions"+ :style="{ transform: `translate(${suggestionsOffsetLeft}px, 0)` }">+ <li v-for="(suggestion, index) in suggestions" :key="`suggestion-${index}`"+ :class="{ active: currentSuggestionIndex === index }" @click.prevent="forceSuggestion(suggestion)">{{ suggestion }}</li></ul>@@ -182,7 +163,7 @@ export default defineComponent({case "Tab": {const activeSuggestion =this.suggestions[- this.currentSuggestionIndex >= 0 ? this.currentSuggestionIndex : 0+ this.currentSuggestionIndex >= 0 ? this.currentSuggestionIndex : 0]if (!activeSuggestion) {@@ -205,7 +186,7 @@ export default defineComponent({@apply relative;@apply contents;- input:focus + ul.suggestions,+ input:focus+ul.suggestions,ul.suggestions:hover {@apply block;}diff --git a/packages/hoppscotch-ui/src/components/smart/ConfirmModal.vue b/packages/hoppscotch-ui/src/components/smart/ConfirmModal.vueindex 9a599bbce..57d4c23a4 100644--- a/packages/hoppscotch-ui/src/components/smart/ConfirmModal.vue+++ b/packages/hoppscotch-ui/src/components/smart/ConfirmModal.vue@@ -1,12 +1,6 @@<template>- <SmartModal- v-if="show"- dialog- :title="confirm ?? t?.('modal.confirm') ?? 'Confirm'"- role="dialog"- aria-modal="true"- @close="hideModal"- >+ <HoppSmartModal v-if="show" dialog :title="confirm ?? t?.('modal.confirm') ?? 'Confirm'" role="dialog" aria-modal="true"+ @close="hideModal"><template #body><div class="flex flex-col items-center justify-center">{{ title }}@@ -14,27 +8,19 @@</template><template #footer><span class="flex space-x-2">- <ButtonPrimary- v-focus- :label="yes ?? t?.('action.yes') ?? 'Yes'"- :loading="!!loadingState"- outline- @click="resolve"- />- <ButtonSecondary- :label="no ?? t?.('action.no') ?? 'No'"- filled- outline- @click="hideModal"- />+ <HoppButtonPrimary v-focus :label="yes ?? t?.('action.yes') ?? 'Yes'" :loading="!!loadingState" outline+ @click="resolve" />+ <HoppButtonSecondary :label="no ?? t?.('action.no') ?? 'No'" filled outline @click="hideModal" /></span></template>- </SmartModal>+ </HoppSmartModal></template><script setup lang="ts">import { inject } from "vue"-import { HoppUIPluginOptions, HOPP_UI_OPTIONS } from "./../../index"+import { HoppButtonPrimary, HoppButtonSecondary } from "../button"+import { HoppSmartModal } from "."+import { HoppUIPluginOptions, HOPP_UI_OPTIONS } from "./../../plugin"const { t } = inject<HoppUIPluginOptions>(HOPP_UI_OPTIONS) ?? {}diff --git a/packages/hoppscotch-ui/src/components/smart/Expand.vue b/packages/hoppscotch-ui/src/components/smart/Expand.vueindex 241eb9d1f..51b97797a 100644--- a/packages/hoppscotch-ui/src/components/smart/Expand.vue+++ b/packages/hoppscotch-ui/src/components/smart/Expand.vue@@ -1,32 +1,22 @@<template>- <div- class="relative flex flex-col space-y-2 overflow-hidden"- :class="expand ? 'h-full' : 'max-h-32'"- >+ <div class="relative flex flex-col space-y-2 overflow-hidden" :class="expand ? 'h-full' : 'max-h-32'"><slot name="body"></slot>- <div- class="sticky inset-x-0 bottom-0 flex items-center justify-center flex-shrink-0 overflow-x-auto"- >- <ButtonSecondary- :icon="expand ? IconChevronUp : IconChevronDown"- :label="- expand- ? less ?? t?.('action.less') ?? 'Less'- : more ?? t?.('action.more') ?? 'More'- "- filled- rounded- @click="expand = !expand"- />+ <div class="sticky inset-x-0 bottom-0 flex items-center justify-center flex-shrink-0 overflow-x-auto">+ <HoppButtonSecondary :icon="expand ? IconChevronUp : IconChevronDown" :label="+ expand+ ? less ?? t?.('action.less') ?? 'Less'+ : more ?? t?.('action.more') ?? 'More'+ " filled rounded @click="expand = !expand" /></div></div></template><script setup lang="ts">+import { HoppButtonSecondary } from "../button"import IconChevronUp from "~icons/lucide/chevron-up"import IconChevronDown from "~icons/lucide/chevron-down"import { inject, ref } from "vue"-import { HoppUIPluginOptions, HOPP_UI_OPTIONS } from "./../../index"+import { HoppUIPluginOptions, HOPP_UI_OPTIONS } from "./../../plugin"const { t } = inject<HoppUIPluginOptions>(HOPP_UI_OPTIONS) ?? {}diff --git a/packages/hoppscotch-ui/src/components/smart/Item.vue b/packages/hoppscotch-ui/src/components/smart/Item.vueindex 9ecd84e28..ddef4eb5a 100644--- a/packages/hoppscotch-ui/src/components/smart/Item.vue+++ b/packages/hoppscotch-ui/src/components/smart/Item.vue@@ -1,8 +1,5 @@<template>- <SmartLink- :to="to"- :exact="exact"- :blank="blank"+ <HoppSmartLink :to="to" :exact="exact" :blank="blank"class="inline-flex items-center flex-shrink-0 px-4 py-2 rounded transition hover:bg-primaryDark hover:text-secondaryDark focus:outline-none focus-visible:bg-primaryDark focus-visible:text-secondaryDark":class="[{ 'opacity-75 cursor-not-allowed': disabled },@@ -13,31 +10,15 @@'border border-divider hover:border-dividerDark focus-visible:border-dividerDark':outline,},- ]"- :disabled="disabled"- :tabindex="loading ? '-1' : '0'"- role="menuitem"- >- <span- v-if="!loading"- class="inline-flex items-center"- :class="{ 'self-start': !!infoIcon }"- >- <component- :is="icon"- v-if="icon"- class="opacity-75 svg-icons"- :class="[- label ? (reverse ? 'ml-4' : 'mr-4') : '',- { 'text-accent': active },- ]"- />+ ]" :disabled="disabled" :tabindex="loading ? '-1' : '0'" role="menuitem">+ <span v-if="!loading" class="inline-flex items-center" :class="{ 'self-start': !!infoIcon }">+ <component :is="icon" v-if="icon" class="opacity-75 svg-icons" :class="[+ label ? (reverse ? 'ml-4' : 'mr-4') : '',+ { 'text-accent': active },+ ]" /></span>- <SmartSpinner v-else class="mr-4 text-secondaryDark" />- <div- class="inline-flex items-start flex-1 truncate"- :class="{ 'flex-col': description }"- >+ <HoppSmartSpinner v-else class="mr-4 text-secondaryDark" />+ <div class="inline-flex items-start flex-1 truncate" :class="{ 'flex-col': description }"><div class="font-semibold truncate">{{ label }}</div>@@ -45,28 +26,26 @@{{ description }}</p></div>- <component- :is="infoIcon"- v-if="infoIcon"- class="items-center self-center ml-4 svg-icons"- :class="{ 'text-accent': activeInfoIcon }"- />+ <component :is="infoIcon" v-if="infoIcon" class="items-center self-center ml-4 svg-icons"+ :class="{ 'text-accent': activeInfoIcon }" /><div v-if="shortcut.length" class="ml-4 <sm:hidden font-medium">- <kbd- v-for="(key, index) in shortcut"- :key="`key-${index}`"- class="-mr-2 shortcut-key"- >+ <kbd v-for="(key, index) in shortcut" :key="`key-${index}`" class="-mr-2 shortcut-key">{{ key }}</kbd></div>- </SmartLink>+ </HoppSmartLink></template><script lang="ts">+import HoppSmartLink from "./Link.vue"+import HoppSmartSpinner from "./Spinner.vue"import { defineComponent } from "vue"export default defineComponent({+ components: {+ HoppSmartLink,+ HoppSmartSpinner+ },props: {to: {type: String,diff --git a/packages/hoppscotch-ui/src/components/smart/Link.vue b/packages/hoppscotch-ui/src/components/smart/Link.vueindex be99d870b..6afc00fc2 100644--- a/packages/hoppscotch-ui/src/components/smart/Link.vue+++ b/packages/hoppscotch-ui/src/components/smart/Link.vue@@ -1,30 +1,12 @@<template>- <button- v-if="renderedTag === 'BUTTON'"- aria-label="button"- role="button"- v-bind="$attrs"- >+ <button v-if="renderedTag === 'BUTTON'" aria-label="button" role="button" v-bind="$attrs"><slot></slot></button>- <a- v-else-if="renderedTag === 'ANCHOR' && !blank"- aria-label="Link"- :href="to"- role="link"- v-bind="updatedAttrs"- >+ <a v-else-if="renderedTag === 'ANCHOR' && !blank" aria-label="Link" :href="to" role="link" v-bind="updatedAttrs"><slot></slot></a>- <a- v-else-if="renderedTag === 'ANCHOR' && blank"- aria-label="Link"- :href="to"- role="link"- target="_blank"- rel="noopener"- v-bind="updatedAttrs"- >+ <a v-else-if="renderedTag === 'ANCHOR' && blank" aria-label="Link" :href="to" role="link" target="_blank" rel="noopener"+ v-bind="updatedAttrs"><slot></slot></a><RouterLink v-else :to="to" v-bind="updatedAttrs">@@ -33,6 +15,7 @@</template><script lang="ts">+// Do not import RouterLink, for some reason that breaks things ¯\_(ツ)_/¯/*** for preventing the automatic binding of $attrs.* we are manually binding $attrs or updatedAttrs.diff --git a/packages/hoppscotch-ui/src/components/smart/Modal.vue b/packages/hoppscotch-ui/src/components/smart/Modal.vueindex 716a40d4d..12c5eef1f 100644--- a/packages/hoppscotch-ui/src/components/smart/Modal.vue+++ b/packages/hoppscotch-ui/src/components/smart/Modal.vue@@ -45,7 +45,7 @@<span class="flex items-center"><slot name="actions"></slot><kbd class="mr-2 shortcut-key">ESC</kbd>- <ButtonSecondary+ <HoppButtonSecondaryv-if="dimissible"v-tippy="{ theme: 'tooltip', delay: [500, 20] }":title="closeText ?? t?.('action.close') ?? 'Close'"@@ -92,6 +92,7 @@ const stack = (() => {</script><script setup lang="ts">+import { HoppButtonSecondary } from "../button"import IconX from "~icons/lucide/x"import {ref,@@ -101,7 +102,7 @@ import {onBeforeUnmount,inject,} from "vue"-import { HoppUIPluginOptions, HOPP_UI_OPTIONS } from "./../../index"+import { HoppUIPluginOptions, HOPP_UI_OPTIONS } from "./../../plugin"const { t, onModalOpen, onModalClose } =inject<HoppUIPluginOptions>(HOPP_UI_OPTIONS) ?? {}diff --git a/packages/hoppscotch-ui/src/components/smart/Radio.vue b/packages/hoppscotch-ui/src/components/smart/Radio.vueindex 3f0a523b8..67437be25 100644--- a/packages/hoppscotch-ui/src/components/smart/Radio.vue+++ b/packages/hoppscotch-ui/src/components/smart/Radio.vue@@ -1,15 +1,10 @@<template>- <SmartItem- :label="label"- :icon="selected ? IconCircleDot : IconCircle"- :active="selected"- role="radio"- :aria-checked="selected"- @click="emit('change', value)"- />+ <HoppSmartItem :label="label" :icon="selected ? IconCircleDot : IconCircle" :active="selected" role="radio"+ :aria-checked="selected" @click="emit('change', value)" /></template><script setup lang="ts">+import { HoppSmartItem } from "."import IconCircleDot from "~icons/lucide/circle-dot"import IconCircle from "~icons/lucide/circle"diff --git a/packages/hoppscotch-ui/src/components/smart/RadioGroup.vue b/packages/hoppscotch-ui/src/components/smart/RadioGroup.vueindex 162bfa87d..6b136179e 100644--- a/packages/hoppscotch-ui/src/components/smart/RadioGroup.vue+++ b/packages/hoppscotch-ui/src/components/smart/RadioGroup.vue@@ -1,17 +1,13 @@<template><div class="flex flex-col">- <SmartRadio- v-for="(radio, index) in radios"- :key="`radio-${index}`"- :value="radio.value"- :label="radio.label"- :selected="modelValue === radio.value"- @change="emit('update:modelValue', radio.value)"- />+ <HoppSmartRadio v-for="(radio, index) in radios" :key="`radio-${index}`" :value="radio.value" :label="radio.label"+ :selected="modelValue === radio.value" @change="emit('update:modelValue', radio.value)" /></div></template><script setup lang="ts">+import { HoppSmartRadio } from '.';+const emit = defineEmits<{(e: "update:modelValue", value: string): void}>()diff --git a/packages/hoppscotch-ui/src/components/smart/SlideOver.vue b/packages/hoppscotch-ui/src/components/smart/SlideOver.vueindex 2bc35ef9e..5685b488c 100644--- a/packages/hoppscotch-ui/src/components/smart/SlideOver.vue+++ b/packages/hoppscotch-ui/src/components/smart/SlideOver.vue@@ -1,30 +1,18 @@<template><div><Transition name="fade" appear>- <div- v-if="show"- class="fixed inset-0 z-20 transition-opacity"- @keydown.esc="close()"- >- <div- class="absolute inset-0 bg-primaryLight opacity-90 focus:outline-none"- tabindex="0"- @click="close()"- ></div>+ <div v-if="show" class="fixed inset-0 z-20 transition-opacity" @keydown.esc="close()">+ <div class="absolute inset-0 bg-primaryLight opacity-90 focus:outline-none" tabindex="0" @click="close()"></div></div></Transition><Transition name="slide" appear>- <aside- v-if="show"- class="fixed top-0 right-0 z-30 flex flex-col h-full max-w-full overflow-auto border-l shadow-xl border-dividerDark bg-primary w-96"- >- <div- class="flex items-center justify-between p-2 border-b border-dividerLight"- >+ <aside v-if="show"+ class="fixed top-0 right-0 z-30 flex flex-col h-full max-w-full overflow-auto border-l shadow-xl border-dividerDark bg-primary w-96">+ <div class="flex items-center justify-between p-2 border-b border-dividerLight"><h3 class="ml-4 heading">{{ title }}</h3><span class="flex items-center"><kbd class="mr-2 shortcut-key">ESC</kbd>- <ButtonSecondary :icon="IconX" @click="close()" />+ <HoppButtonSecondary :icon="IconX" @click="close()" /></span></div><slot name="content"></slot>@@ -34,6 +22,7 @@</template><script setup lang="ts">+import { HoppButtonSecondary } from "../button"import { onMounted, watch } from "vue"import IconX from "~icons/lucide/x"diff --git a/packages/hoppscotch-ui/src/components/smart/Spinner.vue b/packages/hoppscotch-ui/src/components/smart/Spinner.vueindex 4f36d40af..4b530af47 100644--- a/packages/hoppscotch-ui/src/components/smart/Spinner.vue+++ b/packages/hoppscotch-ui/src/components/smart/Spinner.vue@@ -1,9 +1,7 @@<template>- <icon-lucide-loader class="animate-spin svg-icons" />+ <IconLucideLoader class="animate-spin svg-icons" /></template>-<script lang="ts">-import { defineComponent } from "vue"--export default defineComponent({})+<script setup lang="ts">+import IconLucideLoader from "~icons/lucide/loader"</script>diff --git a/packages/hoppscotch-ui/src/components/smart/Tabs.vue b/packages/hoppscotch-ui/src/components/smart/Tabs.vueindex 54623cd83..5105e1a42 100644--- a/packages/hoppscotch-ui/src/components/smart/Tabs.vue+++ b/packages/hoppscotch-ui/src/components/smart/Tabs.vue@@ -212,8 +212,8 @@ const selectTab = (id: string) => {@apply inline-flex;@apply items-center;@apply justify-center;- @apply w-5;- @apply h-4;+ @apply px-1 py-0.75;+ @apply min-w-4;@apply ml-2;@apply text-8px;@apply border border-divider;diff --git a/packages/hoppscotch-ui/src/components/smart/Windows.vue b/packages/hoppscotch-ui/src/components/smart/Windows.vueindex 9b142a554..15e4cb549 100644--- a/packages/hoppscotch-ui/src/components/smart/Windows.vue+++ b/packages/hoppscotch-ui/src/components/smart/Windows.vue@@ -1,71 +1,37 @@<template><div class="flex flex-col flex-1 h-auto overflow-y-hidden flex-nowrap">- <div- class="relative sticky top-0 z-10 flex-shrink-0 overflow-x-auto tabs bg-primaryLight"- >+ <div class="relative sticky top-0 z-10 flex-shrink-0 overflow-x-auto tabs bg-primaryLight"><div class="flex flex-1 flex-shrink-0 w-0 overflow-x-auto"><div class="flex justify-between divide-x divide-dividerLight"><div class="flex">- <draggable- v-bind="dragOptions"- :list="tabEntries"- :style="tabStyles"- :item-key="'window-'"- class="flex flex-shrink-0 overflow-x-auto transition divide-x divide-dividerLight"- @sort="sortTabs"- >+ <draggable v-bind="dragOptions" :list="tabEntries" :style="tabStyles" :item-key="'window-'"+ class="flex flex-shrink-0 overflow-x-auto transition divide-x divide-dividerLight" @sort="sortTabs"><template #item="{ element: [tabID, tabMeta] }">- <button- :key="`removable-tab-${tabID}`"- class="tab"- :class="[{ active: modelValue === tabID }]"- :aria-label="tabMeta.label || ''"- role="button"- @keyup.enter="selectTab(tabID)"- @click="selectTab(tabID)"- >+ <button :key="`removable-tab-${tabID}`" class="tab" :class="[{ active: modelValue === tabID }]"+ :aria-label="tabMeta.label || ''" role="button" @keyup.enter="selectTab(tabID)"+ @click="selectTab(tabID)"><div class="flex items-stretch truncate">- <span- v-if="tabMeta.icon"- class="flex items-center justify-center mx-4 cursor-pointer"- >+ <span v-if="tabMeta.icon" class="flex items-center justify-center mx-4 cursor-pointer"><component :is="tabMeta.icon" class="w-4 h-4 svg-icons" /></span><span class="truncate">{{ tabMeta.label }}</span></div>- <ButtonSecondary- v-tippy="{ theme: 'tooltip', delay: [500, 20] }"- :icon="IconX"- :style="{- visibility: tabMeta.isRemovable ? 'visible' : 'hidden',- }"- :title="closeText ?? t?.('action.close') ?? 'Close'"- :class="[{ active: modelValue === tabID }, 'close']"- class="mx-2 !p-0.5"- @click.stop="emit('removeTab', tabID)"- />+ <HoppButtonSecondary v-tippy="{ theme: 'tooltip', delay: [500, 20] }" :icon="IconX" :style="{+ visibility: tabMeta.isRemovable ? 'visible' : 'hidden',+ }" :title="closeText ?? t?.('action.close') ?? 'Close'"+ :class="[{ active: modelValue === tabID }, 'close']" class="mx-2 !p-0.5"+ @click.stop="emit('removeTab', tabID)" /></button></template></draggable></div>- <div- class="sticky right-0 flex items-center justify-center flex-shrink-0 overflow-x-auto z-8"- >+ <div class="sticky right-0 flex items-center justify-center flex-shrink-0 overflow-x-auto z-8"><slot name="actions">- <span- v-if="canAddNewTab"- class="flex items-center justify-center px-2 py-1.5 bg-primaryLight z-8"- >- <ButtonSecondary- v-tippy="{ theme: 'tooltip' }"- :title="newText ?? t?.('action.new') ?? 'New'"- :icon="IconPlus"- class="rounded !p-1"- filled- @click="addTab"- />+ <span v-if="canAddNewTab" class="flex items-center justify-center px-2 py-1.5 bg-primaryLight z-8">+ <HoppButtonSecondary v-tippy="{ theme: 'tooltip' }" :title="newText ?? t?.('action.new') ?? 'New'"+ :icon="IconPlus" class="rounded !p-1" filled @click="addTab" /></span></slot></div>@@ -79,6 +45,7 @@</template><script setup lang="ts">+import { HoppButtonSecondary } from "../button"import IconPlus from "~icons/lucide/plus"import IconX from "~icons/lucide/x"import { pipe } from "fp-ts/function"@@ -87,7 +54,7 @@ import * as A from "fp-ts/Array"import * as O from "fp-ts/Option"import { ref, ComputedRef, computed, provide, inject } from "vue"import type { Slot } from "vue"-import draggable from "vuedraggable"+import draggable from "vuedraggable-es"import { HoppUIPluginOptions, HOPP_UI_OPTIONS } from "./../../index"export type TabMeta = {@@ -213,13 +180,13 @@ const addTab = () => {@apply whitespace-nowrap;@apply overflow-auto;@apply flex-shrink-0;- @apply after:absolute;- @apply after:inset-x-0;- @apply after:bottom-0;- @apply after:bg-dividerLight;- @apply after:z-10;- @apply after:h-0.25;- @apply after:content-DEFAULT;+ @apply after: absolute;+ @apply after: inset-x-0;+ @apply after: bottom-0;+ @apply after: bg-dividerLight;+ @apply after: z-10;+ @apply after: h-0.25;+ @apply after: content-DEFAULT;.tab {@apply relative;@@ -232,23 +199,23 @@ const addTab = () => {@apply items-center;@apply justify-between;@apply text-secondaryLight;- @apply hover:bg-primaryDark;- @apply hover:text-secondary;- @apply focus-visible:text-secondaryDark;- @apply before:absolute;- @apply before:left-0;- @apply before:right-0;- @apply before:top-0;- @apply before:bg-transparent;- @apply before:z-2;- @apply before:h-0.5;- @apply before:content-DEFAULT;+ @apply hover: bg-primaryDark;+ @apply hover: text-secondary;+ @apply focus-visible: text-secondaryDark;+ @apply before: absolute;+ @apply before: left-0;+ @apply before: right-0;+ @apply before: top-0;+ @apply before: bg-transparent;+ @apply before: z-2;+ @apply before: h-0.5;+ @apply before: content-DEFAULT;@apply focus: before: bg-divider;&.active {@apply text-secondaryDark;@apply bg-primary;- @apply before:bg-accent;+ @apply before: bg-accent;}.close {diff --git a/packages/hoppscotch-ui/src/components/smart/index.ts b/packages/hoppscotch-ui/src/components/smart/index.tsnew file mode 100644index 000000000..d7f291c7c--- /dev/null+++ b/packages/hoppscotch-ui/src/components/smart/index.ts@@ -0,0 +1,20 @@+export { default as HoppSmartAnchor } from "./Anchor.vue"+export { default as HoppSmartAutoComplete } from "./AutoComplete.vue"+export { default as HoppSmartCheckbox } from "./Checkbox.vue"+export { default as HoppSmartConfirmModal } from "./ConfirmModal.vue"+export { default as HoppSmartExpand } from "./Expand.vue"+export { default as HoppSmartFileChip } from "./FileChip.vue"+export { default as HoppSmartIntersection } from "./Intersection.vue"+export { default as HoppSmartItem } from "./Item.vue"+export { default as HoppSmartLink } from "./Link.vue"+export { default as HoppSmartModal } from "./Modal.vue"+export { default as HoppSmartProgressRing } from "./ProgressRing.vue"+export { default as HoppSmartRadio } from "./Radio.vue"+export { default as HoppSmartRadioGroup } from "./RadioGroup.vue"+export { default as HoppSmartSlideOver } from "./SlideOver.vue"+export { default as HoppSmartSpinner } from "./Spinner.vue"+export { default as HoppSmartTab } from "./Tab.vue"+export { default as HoppSmartTabs } from "./Tabs.vue"+export { default as HoppSmartToggle } from "./Toggle.vue"+export { default as HoppSmartWindow } from "./Window.vue"+export { default as HoppSmartWindows } from "./Windows.vue"diff --git a/packages/hoppscotch-ui/src/index.ts b/packages/hoppscotch-ui/src/index.tsindex c079349e4..137efa68a 100644--- a/packages/hoppscotch-ui/src/index.ts+++ b/packages/hoppscotch-ui/src/index.ts@@ -1,33 +1,2 @@-import { Plugin } from "vue"--import "./assets/scss/styles.scss"-import "virtual:windi.css"--/**-@constant HOPP_UI_OPTIONS-@type {string}-A constant representing the key for storing HoppUI plugin options in the global context.-*/--export const HOPP_UI_OPTIONS = "HOPP_UI_OPTIONS"--/**-@typedef {Object} HoppUIPluginOptions-@property {Function} [t] - A function for handling translations for the plugin.-@property {Function} [onModalOpen] - A callback function that is called when a modal is opened.-@property {Function} [onModalClose] - A callback function that is called when a modal is closed.-*/--export type HoppUIPluginOptions = {- t?: (key: string) => string- onModalOpen?: () => void- onModalClose?: () => void-}--const plugin: Plugin = {- install(app, options: HoppUIPluginOptions = {}) {- app.provide(HOPP_UI_OPTIONS, options)- },-}--export default plugin+export * from "./components"+export * from "./plugin"diff --git a/packages/hoppscotch-ui/src/plugin.ts b/packages/hoppscotch-ui/src/plugin.tsnew file mode 100644index 000000000..120f21bd4--- /dev/null+++ b/packages/hoppscotch-ui/src/plugin.ts@@ -0,0 +1,30 @@+import type { Plugin, App } from "vue"++import "./assets/scss/styles.scss"+import "virtual:windi.css"++/**+@constant HOPP_UI_OPTIONS+A constant representing the key for storing HoppUI plugin options in the global context.+*/++export const HOPP_UI_OPTIONS = "HOPP_UI_OPTIONS"++/**+@typedef {Object} HoppUIPluginOptions+@property [t] - A function for handling translations for the plugin.+@property [onModalOpen] - A callback function that is called when a modal is opened.+@property [onModalClose] - A callback function that is called when a modal is closed.+*/++export type HoppUIPluginOptions = {+ t?: (key: string) => string+ onModalOpen?: () => void+ onModalClose?: () => void+}++export const plugin: Plugin = {+ install(app: App, options: HoppUIPluginOptions = {}) {+ app.provide(HOPP_UI_OPTIONS, options)+ },+}diff --git a/packages/hoppscotch-ui/src/stories/Anchor.story.vue b/packages/hoppscotch-ui/src/stories/Anchor.story.vueindex cbbc61246..3291b403a 100644--- a/packages/hoppscotch-ui/src/stories/Anchor.story.vue+++ b/packages/hoppscotch-ui/src/stories/Anchor.story.vue@@ -2,19 +2,14 @@<Story title="Anchor"><div class="text-secondaryLight text-tiny">By signing in, you are agreeing to our- <SmartAnchor- class="text-red-800 link"- to="https://docs.hoppscotch.io/terms"- blank- label="Terms of Service"- />+ <HoppSmartAnchor class="text-red-800 link" to="https://docs.hoppscotch.io/terms" blank label="Terms of Service" />and- <SmartAnchor- class="text-red-600 link"- to="https://docs.hoppscotch.io/privacy"- blank- label="Privacy Policy"- />+ <HoppSmartAnchor class="text-red-600 link" to="https://docs.hoppscotch.io/privacy" blank label="Privacy Policy" /></div></Story></template>++<script setup lang="ts">+import { HoppSmartAnchor } from "../components/smart"+</script>+diff --git a/packages/hoppscotch-ui/src/stories/AutoComplete.story.vue b/packages/hoppscotch-ui/src/stories/AutoComplete.story.vueindex 61be821fa..e4ee06227 100644--- a/packages/hoppscotch-ui/src/stories/AutoComplete.story.vue+++ b/packages/hoppscotch-ui/src/stories/AutoComplete.story.vue@@ -1,28 +1,21 @@<template><Story title="Auto Complete"><div class="h-[50vh]">- <SmartAutoComplete- placeholder="Select a header"- :source="commonHeaders"- :spellcheck="false"- :value="header[0].key"- autofocus- styles="- bg-transparent- flex- flex-1- py-1- px-4- truncate- "- class="flex-1 !flex"- @input="updateHeader()"- />+ <HoppSmartAutoComplete placeholder="Select a header" :source="commonHeaders" :spellcheck="false"+ :value="header[0].key" autofocus styles="+ bg-transparent+ flex+ flex-1+ py-1+ px-4+ truncate+ " class="flex-1 !flex" @input="updateHeader()" /></div></Story></template><script setup lang="ts">+import { HoppSmartAutoComplete } from "../components/smart"import { ref } from "vue"type GQLHeader = {diff --git a/packages/hoppscotch-ui/src/stories/Button.story.vue b/packages/hoppscotch-ui/src/stories/Button.story.vueindex e233967c8..e1dbead39 100644--- a/packages/hoppscotch-ui/src/stories/Button.story.vue+++ b/packages/hoppscotch-ui/src/stories/Button.story.vue@@ -1,10 +1,14 @@<template><Story title="Button"><Variant title="Primary">- <ButtonPrimary label="Button" />+ <HoppButtonPrimary label="Button" /></Variant><Variant title="Secondary">- <ButtonSecondary label="Button" />+ <HoppButtonSecondary label="Button" /></Variant></Story></template>++<script setup lang="ts">+import { HoppButtonPrimary, HoppButtonSecondary } from "../components/button"+</script>diff --git a/packages/hoppscotch-ui/src/stories/Checkbox.story.vue b/packages/hoppscotch-ui/src/stories/Checkbox.story.vueindex bfc1c37fa..77c7a898d 100644--- a/packages/hoppscotch-ui/src/stories/Checkbox.story.vue+++ b/packages/hoppscotch-ui/src/stories/Checkbox.story.vue@@ -1,12 +1,14 @@<template><Story title="Checkbox"><Variant title="Single">- <SmartCheckbox :on="on" />+ <HoppSmartCheckbox :on="on" /></Variant></Story></template><script setup lang="ts">+import { HoppSmartCheckbox } from "../components/smart"+import { ref } from "vue"const on = ref(true)diff --git a/packages/hoppscotch-ui/src/stories/ConfirmModal.story.vue b/packages/hoppscotch-ui/src/stories/ConfirmModal.story.vueindex 186a9f6fc..8ac307b3a 100644--- a/packages/hoppscotch-ui/src/stories/ConfirmModal.story.vue+++ b/packages/hoppscotch-ui/src/stories/ConfirmModal.story.vue@@ -1,16 +1,13 @@<template><Story title="Confirm Modal">- <SmartConfirmModal- :show="show"- :title="'Confirm Modal'"- @hide-modal="show = false"- @resolve="resolveConfirmModal"- />+ <HoppSmartConfirmModal :show="show" :title="'Confirm Modal'" @hide-modal="show = false"+ @resolve="resolveConfirmModal" /></Story></template><script lang="ts" setup>import { ref } from "vue"+import { HoppSmartConfirmModal } from "../components/smart"const show = ref(true)diff --git a/packages/hoppscotch-ui/src/stories/Expand.story.vue b/packages/hoppscotch-ui/src/stories/Expand.story.vuenew file mode 100644index 000000000..5f5701a93--- /dev/null+++ b/packages/hoppscotch-ui/src/stories/Expand.story.vue@@ -0,0 +1,20 @@+<template>+ <Story title="Expand">+ <HoppSmartExpand>+ <template #body>+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quia quas culpa ea nesciunt, magni natus ex numquam perspiciatis,+ reprehenderit reiciendis necessitatibus nostrum laudantium illum tempora ducimus! Dignissimos officiis sed nisi.+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quia quas culpa ea nesciunt, magni natus ex numquam perspiciatis,+ reprehenderit reiciendis necessitatibus nostrum laudantium illum tempora ducimus! Dignissimos officiis sed nisi.+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quia quas culpa ea nesciunt, magni natus ex numquam perspiciatis,+ reprehenderit reiciendis necessitatibus nostrum laudantium illum tempora ducimus! Dignissimos officiis sed nisi.+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quia quas culpa ea nesciunt, magni natus ex numquam perspiciatis,+ reprehenderit reiciendis necessitatibus nostrum laudantium illum tempora ducimus! Dignissimos officiis sed nisi.+ </template>+ </HoppSmartExpand>+ </Story>+</template>++<script setup lang="ts">+import { HoppSmartExpand } from "../components/smart"+</script>diff --git a/packages/hoppscotch-ui/src/stories/Item.story.vue b/packages/hoppscotch-ui/src/stories/Item.story.vueindex 875f460ef..1af65a19c 100644--- a/packages/hoppscotch-ui/src/stories/Item.story.vue+++ b/packages/hoppscotch-ui/src/stories/Item.story.vue@@ -1,7 +1,11 @@<template><Story title="Item"><Variant title="Single">- <SmartItem :label="'Item'" :active-info-icon="false" />+ <HoppSmartItem :label="'Item'" :active-info-icon="false" /></Variant></Story></template>++<script setup lang="ts">+import { HoppSmartItem } from "../components/smart"+</script>diff --git a/packages/hoppscotch-ui/src/stories/Link.story.vue b/packages/hoppscotch-ui/src/stories/Link.story.vueindex 74f579d5a..e83d6feec 100644--- a/packages/hoppscotch-ui/src/stories/Link.story.vue+++ b/packages/hoppscotch-ui/src/stories/Link.story.vue@@ -1,18 +1,20 @@<template><Story title="Link"><Variant title="Text Link">- <SmartLink :to="link" :blank="true"> Click here </SmartLink>+ <HoppSmartLink :to="link" :blank="true"> Click here </HoppSmartLink></Variant><Variant title="Button Link">- <SmartLink :to="link" :blank="true">- <ButtonPrimary label="Click here" />- </SmartLink>+ <HoppSmartLink :to="link" :blank="true">+ <HoppButtonPrimary label="Click here" />+ </HoppSmartLink></Variant></Story></template><script setup lang="ts">+import { HoppSmartLink } from "../components/smart"+import { HoppButtonPrimary } from "../components/button"import { ref } from "vue"-const link = ref("/graphql")+const link = ref("/")</script>diff --git a/packages/hoppscotch-ui/src/stories/Modal.story.vue b/packages/hoppscotch-ui/src/stories/Modal.story.vueindex ebfb081c5..34e50fcb0 100644--- a/packages/hoppscotch-ui/src/stories/Modal.story.vue+++ b/packages/hoppscotch-ui/src/stories/Modal.story.vue@@ -1,15 +1,11 @@<template><Story title="Modal">- <SmartModal- :show="show"- :title="'Modal Title'"- @hide-modal="show = false"- @resolve="resolveConfirmModal"- />+ <HoppSmartModal :show="show" :title="'Modal Title'" @hide-modal="show = false" @resolve="resolveConfirmModal" /></Story></template><script lang="ts" setup>+import { HoppSmartModal } from "../components/smart"import { ref } from "vue"const show = ref(true)diff --git a/packages/hoppscotch-ui/src/stories/ProgressRing.story.vue b/packages/hoppscotch-ui/src/stories/ProgressRing.story.vueindex 585699ff0..3cb4b3a04 100644--- a/packages/hoppscotch-ui/src/stories/ProgressRing.story.vue+++ b/packages/hoppscotch-ui/src/stories/ProgressRing.story.vue@@ -1,15 +1,12 @@<template><Story title="Progress Ring">- <SmartProgressRing- class="mr-2 text-red-500"- :radius="8"- :stroke="1.5"- :progress="(failedTests / totalTests) * 100"- />+ <HoppSmartProgressRing class="mr-2 text-red-500" :radius="8" :stroke="1.5"+ :progress="(failedTests / totalTests) * 100" /></Story></template><script setup lang="ts">+import { HoppSmartProgressRing } from "../components/smart"const totalTests = 10const failedTests = 2</script>diff --git a/packages/hoppscotch-ui/src/stories/Radio.story.vue b/packages/hoppscotch-ui/src/stories/Radio.story.vueindex 778065843..1d9af6978 100644--- a/packages/hoppscotch-ui/src/stories/Radio.story.vue+++ b/packages/hoppscotch-ui/src/stories/Radio.story.vue@@ -1,16 +1,17 @@<template><Story title="Radio"><Variant title="Single">- <SmartRadio />+ <HoppSmartRadio /></Variant><Variant title="Group">- <SmartRadioGroup :radios="radios" :model-value="selected" />+ <HoppSmartRadioGroup :radios="radios" :model-value="selected" /></Variant></Story></template><script setup lang="ts">import { ref } from "vue"+import { HoppSmartRadio, HoppSmartRadioGroup } from "../components/smart"const selected = ref("option1")const radios = [diff --git a/packages/hoppscotch-ui/src/stories/SlideOver.story.vue b/packages/hoppscotch-ui/src/stories/SlideOver.story.vueindex aef073dcb..dd15ae09d 100644--- a/packages/hoppscotch-ui/src/stories/SlideOver.story.vue+++ b/packages/hoppscotch-ui/src/stories/SlideOver.story.vue@@ -1,14 +1,15 @@<template><Story title="Slider Over">- <SmartSlideOver :show="show" :title="'Title'" @close="show = false">+ <HoppSmartSlideOver :show="show" :title="'Title'" @close="show = false"><template #content><h1>Content</h1></template>- </SmartSlideOver>+ </HoppSmartSlideOver></Story></template>-<script lang="ts" setup>+<script setup lang="ts">+import { HoppSmartSlideOver } from "../components/smart"import { ref } from "vue"const show = ref(true)diff --git a/packages/hoppscotch-ui/src/stories/Spinner.story.vue b/packages/hoppscotch-ui/src/stories/Spinner.story.vueindex 0129f530f..3ffe9125c 100644--- a/packages/hoppscotch-ui/src/stories/Spinner.story.vue+++ b/packages/hoppscotch-ui/src/stories/Spinner.story.vue@@ -1,5 +1,9 @@<template><Story title="Spinner">- <SmartSpinner />+ <HoppSmartSpinner /></Story></template>++<script setup lang="ts">+import { HoppSmartSpinner } from "../components/smart"+</script>diff --git a/packages/hoppscotch-ui/src/stories/Tab.story.vue b/packages/hoppscotch-ui/src/stories/Tab.story.vueindex 28415baec..dd0484073 100644--- a/packages/hoppscotch-ui/src/stories/Tab.story.vue+++ b/packages/hoppscotch-ui/src/stories/Tab.story.vue@@ -1,19 +1,20 @@<template><Story title="Tab"><Variant title="Single">- <SmartTabs id="my-tab" v-model="selectedTab" render-inactive-tabs>- <SmartTab id="tab1" label="Tab 1">+ <HoppSmartTabs id="my-tab" v-model="selectedTab" render-inactive-tabs>+ <HoppSmartTab id="tab1" label="Tab 1"><h1>Tab 1 content</h1>- </SmartTab>- <SmartTab id="tab2" label="Tab 2">+ </HoppSmartTab>+ <HoppSmartTab id="tab2" label="Tab 2"><h1>Tab 2 content</h1>- </SmartTab>- </SmartTabs>+ </HoppSmartTab>+ </HoppSmartTabs></Variant></Story></template><script setup lang="ts">+import { HoppSmartTabs, HoppSmartTab } from "../components/smart"import { ref } from "vue"const selectedTab = ref("tab1")diff --git a/packages/hoppscotch-ui/src/stories/Toggle.story.vue b/packages/hoppscotch-ui/src/stories/Toggle.story.vueindex e1decb8bf..9dd025f53 100644--- a/packages/hoppscotch-ui/src/stories/Toggle.story.vue+++ b/packages/hoppscotch-ui/src/stories/Toggle.story.vue@@ -1,10 +1,11 @@<template><Story title="Toggle">- <SmartToggle :on="on" @change="change"> Turn on </SmartToggle>+ <HoppSmartToggle :on="on" @change="change"> Turn on </HoppSmartToggle></Story></template><script setup lang="ts">+import { HoppSmartToggle } from "../components/smart"import { ref } from "vue"const on = ref(true)diff --git a/packages/hoppscotch-ui/src/stories/Window.story.vue b/packages/hoppscotch-ui/src/stories/Window.story.vueindex 69744ce9e..aa742b7ff 100644--- a/packages/hoppscotch-ui/src/stories/Window.story.vue+++ b/packages/hoppscotch-ui/src/stories/Window.story.vue@@ -1,27 +1,18 @@<template><Story title="Window"><Variant title="Single">- <SmartWindows- :id="'my-window'"- v-model="selectedWindow"- @add-tab="openNewTab"- @remove-tab="removeTab"- @sort="sortTabs"- >- <SmartWindow- v-for="window in tabs"- :id="window.id"- :key="'tab_' + window.id"- :label="window.name"- :is-removable="window.removable"- >- </SmartWindow>- </SmartWindows>+ <HoppSmartWindows :id="'my-window'" v-model="selectedWindow" @add-tab="openNewTab" @remove-tab="removeTab"+ @sort="sortTabs">+ <HoppSmartWindow v-for="window in tabs" :id="window.id" :key="'tab_' + window.id" :label="window.name"+ :is-removable="window.removable">+ </HoppSmartWindow>+ </HoppSmartWindows></Variant></Story></template><script setup lang="ts">+import { HoppSmartWindows, HoppSmartWindow } from "../components/smart"import { ref } from "vue"const selectedWindow = ref("window1")diff --git a/packages/hoppscotch-ui/tsconfig.json b/packages/hoppscotch-ui/tsconfig.jsonindex c37c3ba3a..248e3e74c 100644--- a/packages/hoppscotch-ui/tsconfig.json+++ b/packages/hoppscotch-ui/tsconfig.json@@ -1,6 +1,7 @@{"compilerOptions": {"target": "ESNext",+ "allowJs": true,"useDefineForClassFields": true,"module": "ESNext","moduleResolution": "Node",@@ -10,17 +11,34 @@"resolveJsonModule": true,"isolatedModules": true,"esModuleInterop": true,- "lib": ["ESNext", "DOM"],+ "lib": [+ "ESNext",+ "DOM"+ ],"skipLibCheck": true,"noUnusedLocals": true,"paths": {- "~/*": ["./src/*"],- "@composables/*": ["./src/composables/*"],- "@components/*": ["./src/components/*"],- "@helpers/*": ["./src/helpers/*"],- "@modules/*": ["./src/modules/*"],- "@workers/*": ["./src/workers/*"],- "@functional/*": ["./src/helpers/functional/*"]+ "~/*": [+ "./src/*"+ ],+ "@composables/*": [+ "./src/composables/*"+ ],+ "@components/*": [+ "./src/components/*"+ ],+ "@helpers/*": [+ "./src/helpers/*"+ ],+ "@modules/*": [+ "./src/modules/*"+ ],+ "@workers/*": [+ "./src/workers/*"+ ],+ "@functional/*": [+ "./src/helpers/functional/*"+ ]},"types": ["vite/client",@@ -30,5 +48,10 @@"vite-plugin-pwa/client"]},- "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]+ "include": [+ "src/**/*.ts",+ "src/**/*.d.ts",+ "src/**/*.tsx",+ "src/**/*.vue"+ ]}diff --git a/packages/hoppscotch-ui/vite.config.ts b/packages/hoppscotch-ui/vite.config.tsindex e9492e16f..cd5a15099 100644--- a/packages/hoppscotch-ui/vite.config.ts+++ b/packages/hoppscotch-ui/vite.config.ts@@ -1,60 +1,40 @@import vue from "@vitejs/plugin-vue"+import dts from "vite-plugin-dts"import path from "path"-import { FileSystemIconLoader } from "unplugin-icons/loaders"-import IconResolver from "unplugin-icons/resolver"import Icons from "unplugin-icons/vite"-import Components from "unplugin-vue-components/vite"import { defineConfig } from "vite"import WindiCSS from "vite-plugin-windicss"-module.exports = defineConfig({+export default defineConfig({plugins: [vue(),+ dts({+ insertTypesEntry: true,+ skipDiagnostics: true,+ outputDir: ['dist']+ }),WindiCSS({root: path.resolve(__dirname),}),- Components({- dts: "./src/components.d.ts",- dirs: ["./src/components"],- directoryAsNamespace: true,- resolvers: [- IconResolver({- prefix: "icon",- customCollections: ["hopp", "auth", "brands"],- }),- ],- }),Icons({- compiler: "vue3",- customCollections: {- hopp: FileSystemIconLoader("../hoppscotch-common/assets/icons"),- auth: FileSystemIconLoader("../hoppscotch-common/assets/icons/auth"),- brands: FileSystemIconLoader(- "../hoppscotch-common/assets/icons/brands"- ),- },+ compiler: "vue3"}),], // to process SFCbuild: {+ sourcemap: true,+ minify: false,lib: {entry: path.resolve(__dirname, "src/index.ts"),name: "hopp-ui",- formats: ["es"], // adding 'umd' requires globals set to every external module- fileName: (format) => `hopp-ui.${format}.js`,+ formats: ["es"],+ fileName: (format, entry) => `${entry}.${format}.js`,},rollupOptions: {- // external modules won't be bundled into HoppUI library- external: ["vue"], // not every external has a global+ external: ["vue", "vue-router"],output: {- // disable warning on src/index.ts using both default and named exportexports: "named",- // Provide global variables to use in the UMD build- // for externalized deps (not useful if 'umd' is not in lib.formats)- globals: {- vue: "Vue",- },},},- emptyOutDir: false, // to retain the types folder generated by tsc+ emptyOutDir: true},})diff --git a/packages/hoppscotch-web/package.json b/packages/hoppscotch-web/package.jsonindex f80a42e5e..06607c0f8 100644--- a/packages/hoppscotch-web/package.json+++ b/packages/hoppscotch-web/package.json@@ -20,6 +20,7 @@},"dependencies": {"@hoppscotch/common": "workspace:^",+ "@hoppscotch/ui": "workspace:^","buffer": "^6.0.3","firebase": "^9.8.4","process": "^0.11.10",diff --git a/packages/hoppscotch-web/vite.config.ts b/packages/hoppscotch-web/vite.config.tsindex e2ebbff90..3f9c63fbd 100644--- a/packages/hoppscotch-web/vite.config.ts+++ b/packages/hoppscotch-web/vite.config.ts@@ -107,16 +107,18 @@ export default defineConfig({}),Components({dts: "../hoppscotch-common/src/components.d.ts",- dirs: [- "../hoppscotch-common/src/components",- "../hoppscotch-ui/src/components",- ],+ dirs: ["../hoppscotch-common/src/components"],directoryAsNamespace: true,resolvers: [IconResolver({prefix: "icon",customCollections: ["hopp", "auth", "brands"],}),+ (compName: string) => {+ if (compName.startsWith("Hopp"))+ return { name: compName, from: "@hoppscotch/ui" }+ else return undefined+ },],types: [{diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 9d8fa573e..fa96a2d8b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -351,7 +351,7 @@ importers:vue-router: ^4.0.16vue-tippy: 6.0.0-alpha.58vue-tsc: ^0.38.2- vuedraggable: ^4.1.0+ vuedraggable-es: ^4.1.1windicss: ^3.5.6wonka: ^4.0.15workbox-window: ^6.5.4@@ -429,7 +429,7 @@ importers:vue-pdf-embed: [email protected]vue-router: [email protected]vue-tippy: [email protected]- vuedraggable: [email protected]+ vuedraggable-es: [email protected]wonka: 4.0.15workbox-window: 6.5.4yargs-parser: 21.1.1@@ -627,6 +627,83 @@ importers:vue-tsc: [email protected]windicss: 3.5.6+ packages/hoppscotch-sh-admin:+ specifiers:+ '@graphql-codegen/cli': 3.0.0+ '@graphql-codegen/client-preset': ^2.0.0+ '@graphql-codegen/introspection': 3.0.0+ '@graphql-codegen/typed-document-node': ^2.3.1+ '@graphql-codegen/typescript': 3.0.0+ '@graphql-codegen/typescript-document-nodes': 3.0.0+ '@graphql-codegen/typescript-operations': 3.0.0+ '@graphql-codegen/urql-introspection': 2.2.1+ '@graphql-typed-document-node/core': ^3.1.1+ '@hoppscotch/ui': workspace:^+ '@types/cors': ^2.8.13+ '@types/express': ^4.17.15+ '@urql/vue': ^1.0.4+ '@vitejs/plugin-vue': ^1.6.0+ '@vue/compiler-sfc': ^3.2.6+ '@vueuse/core': ^9.10.0+ cors: ^2.8.5+ express: ^4.18.2+ express-graphql: ^0.12.0+ graphql: ^16.6.0+ graphql-tag: ^2.12.6+ npm-run-all: ^4.1.5+ sass: ^1.57.1+ ts-node: ^10.9.1+ ts-node-dev: ^2.0.0+ typescript: ^4.9.3+ unplugin-icons: ^0.14.9+ unplugin-vue-components: ^0.21.0+ vite: ^2.5.1+ vite-plugin-pages: ^0.26.0+ vite-plugin-vue-layouts: ^0.7.0+ vite-plugin-windicss: ^1.8.8+ vue: ^3.2.6+ vue-router: '4'+ vue-tsc: ^0.3.0+ windicss: ^3.5.6+ dependencies:+ '@graphql-typed-document-node/core': [email protected]+ '@hoppscotch/ui': link:../hoppscotch-ui+ '@types/cors': 2.8.13+ '@types/express': 4.17.16+ '@urql/vue': [email protected][email protected]+ '@vueuse/core': [email protected]+ cors: 2.8.5+ express: 4.18.2+ express-graphql: [email protected]+ graphql: 16.6.0+ ts-node-dev: [email protected]+ unplugin-icons: 0.14.9_4xrupm67ziznosrlzffuj26hkq+ unplugin-vue-components: [email protected][email protected]+ vue: 3.2.45+ vue-router: [email protected]+ devDependencies:+ '@graphql-codegen/cli': 3.0.0_rf2sx74yjwgv4c7f6t6izlk5dy+ '@graphql-codegen/client-preset': [email protected]+ '@graphql-codegen/introspection': [email protected]+ '@graphql-codegen/typed-document-node': [email protected]+ '@graphql-codegen/typescript': [email protected]+ '@graphql-codegen/typescript-document-nodes': [email protected]+ '@graphql-codegen/typescript-operations': [email protected]+ '@graphql-codegen/urql-introspection': [email protected]+ '@vitejs/plugin-vue': [email protected]+ '@vue/compiler-sfc': 3.2.45+ graphql-tag: [email protected]+ npm-run-all: 4.1.5+ sass: 1.58.0+ ts-node: [email protected]+ typescript: 4.9.3+ vite: [email protected]+ vite-plugin-pages: 0.26.0_4xrupm67ziznosrlzffuj26hkq+ vite-plugin-vue-layouts: 0.7.0_xxumm4g4rkhkfqiqbziyjd5llu+ vite-plugin-windicss: [email protected]+ vue-tsc: [email protected]+ windicss: 3.5.6+packages/hoppscotch-ui:specifiers:'@esbuild-plugins/node-globals-polyfill': ^0.1.1@@ -669,12 +746,13 @@ importers:timers: ^0.1.1tippy.js: ^6.3.7typescript: ^4.5.4- unplugin-icons: ^0.14.9+ unplugin-icons: ^0.15.3unplugin-vue-components: ^0.21.0url: ^0.11.0util: ^0.12.4vite: ^3.2.3vite-plugin-checker: ^0.5.1+ vite-plugin-dts: 2.0.0-beta.3vite-plugin-eslint: ^1.8.1vite-plugin-fonts: ^0.6.0vite-plugin-html-config: ^1.0.10@@ -690,7 +768,7 @@ importers:vue-router: ^4.0.16vue-tippy: 6.0.0-alpha.58vue-tsc: ^0.38.2- vuedraggable: ^4.1.0+ vuedraggable-es: ^4.1.1windicss: ^3.5.6dependencies:'@hoppscotch/vue-toasted': [email protected]@@ -713,11 +791,10 @@ importers:url: 0.11.0util: 0.12.4vite-plugin-eslint: [email protected][email protected]- vue: 3.2.45vue-github-button: 3.0.3vue-router: [email protected]vue-tippy: [email protected]- vuedraggable: [email protected]+ vuedraggable-es: [email protected]devDependencies:'@esbuild-plugins/node-globals-polyfill': 0.1.1'@esbuild-plugins/node-modules-polyfill': 0.1.4@@ -742,10 +819,11 @@ importers:rollup-plugin-polyfill-node: 0.10.1sass: 1.53.0typescript: 4.9.3- unplugin-icons: 0.14.9_ucej6auec2vidlux2n3htzvxf4+ unplugin-icons: 0.15.3_@[email protected]unplugin-vue-components: [email protected][email protected]vite: [email protected]vite-plugin-checker: 0.5.1_ijzhftcbnq5djhrq5avbc76z6m+ vite-plugin-dts: [email protected]vite-plugin-fonts: [email protected]vite-plugin-html-config: [email protected]vite-plugin-inspect: [email protected]@@ -754,6 +832,7 @@ importers:vite-plugin-pwa: [email protected]vite-plugin-vue-layouts: 0.7.0_x3isqn4gd6tlkzc66bnhwnhwbivite-plugin-windicss: [email protected]+ vue: 3.2.45vue-loader: 16.8.3_tfvhctuaqmmqnirfl65c47tqwuvue-tsc: [email protected]windicss: 3.5.6@@ -761,6 +840,7 @@ importers:packages/hoppscotch-web:specifiers:'@hoppscotch/common': workspace:^+ '@hoppscotch/ui': workspace:^'@intlify/vite-plugin-vue-i18n': ^6.0.1'@rushstack/eslint-patch': ^1.1.4'@typescript-eslint/eslint-plugin': ^5.19.0@@ -797,6 +877,7 @@ importers:workbox-window: ^6.5.4dependencies:'@hoppscotch/common': link:../hoppscotch-common+ '@hoppscotch/ui': link:../hoppscotch-uibuffer: 6.0.3firebase: 9.8.4process: 0.11.10@@ -952,10 +1033,19 @@ packages:dependencies:execa: 5.1.1find-up: 5.0.0++ /@antfu/install-pkg/0.1.1:+ resolution: {integrity: sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==}+ dependencies:+ execa: 5.1.1+ find-up: 5.0.0dev: true/@antfu/utils/0.5.2:resolution: {integrity: sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==}++ /@antfu/utils/0.7.2:+ resolution: {integrity: sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==}dev: true/@apideck/better-ajv-errors/[email protected]:@@ -1177,6 +1267,44 @@ packages:- supports-colordev: true+ /@ardatan/relay-compiler/[email protected]:+ resolution: {integrity: sha512-9anThAaj1dQr6IGmzBMcfzOQKTa5artjuPmw8NYK/fiGEMjADbSguBY2FMDykt+QhilR3wc9VA/3yVju7JHg7Q==}+ hasBin: true+ peerDependencies:+ graphql: '*'+ dependencies:+ '@babel/core': 7.18.6+ '@babel/generator': 7.18.7+ '@babel/parser': 7.18.6+ '@babel/runtime': 7.18.6+ '@babel/traverse': 7.18.6+ '@babel/types': 7.18.7+ babel-preset-fbjs: 3.4.0_@[email protected]+ chalk: 4.1.2+ fb-watchman: 2.0.1+ fbjs: 3.0.4+ glob: 7.2.0+ graphql: 16.6.0+ immutable: 3.7.6+ invariant: 2.2.4+ nullthrows: 1.1.1+ relay-runtime: 12.0.0+ signedsource: 1.0.0+ yargs: 15.4.1+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@ardatan/sync-fetch/0.0.1:+ resolution: {integrity: sha512-xhlTqH0m31mnsG0tIP4ETgfSB6gXDaYYsUWTrlUV93fFQPI9dd8hE0Ot6MHLCtqgB32hwJAC3YZMWlXZw7AleA==}+ engines: {node: '>=14'}+ dependencies:+ node-fetch: 2.6.7+ transitivePeerDependencies:+ - encoding+ dev: true+/@babel/code-frame/7.18.6:resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==}engines: {node: '>=6.9.0'}@@ -1220,6 +1348,16 @@ packages:jsesc: 2.5.2dev: true+ /@babel/generator/7.21.1:+ resolution: {integrity: sha512-1lT45bAYlQhFn/BHivJs43AiW2rg3/UbLyShGfF3C0KmHvO5fSghWd5kBJy30kpRRucGzXStvnnCFniCR2kXAA==}+ engines: {node: '>=6.9.0'}+ dependencies:+ '@babel/types': 7.21.2+ '@jridgewell/gen-mapping': 0.3.2+ '@jridgewell/trace-mapping': 0.3.17+ jsesc: 2.5.2+ dev: true+/@babel/helper-annotate-as-pure/7.18.6:resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==}engines: {node: '>=6.9.0'}@@ -1364,6 +1502,11 @@ packages:engines: {node: '>=6.9.0'}dev: true+ /@babel/helper-plugin-utils/7.20.2:+ resolution: {integrity: sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==}+ engines: {node: '>=6.9.0'}+ dev: true+/@babel/helper-remap-async-to-generator/7.18.6_@[email protected]:resolution: {integrity: sha512-z5wbmV55TveUPZlCLZvxWHtrjuJd+8inFhk7DG0WW87/oJuGDcjDiu7HIvGcpf5464L6xKCg3vNkmlVVz9hwyQ==}engines: {node: '>=6.9.0'}@@ -1413,10 +1556,20 @@ packages:'@babel/types': 7.18.7dev: true+ /@babel/helper-string-parser/7.19.4:+ resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==}+ engines: {node: '>=6.9.0'}+ dev: true+/@babel/helper-validator-identifier/7.18.6:resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==}engines: {node: '>=6.9.0'}+ /@babel/helper-validator-identifier/7.19.1:+ resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==}+ engines: {node: '>=6.9.0'}+ dev: true+/@babel/helper-validator-option/7.18.6:resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==}engines: {node: '>=6.9.0'}@@ -1460,6 +1613,14 @@ packages:dependencies:'@babel/types': 7.18.7+ /@babel/parser/7.20.15:+ resolution: {integrity: sha512-DI4a1oZuf8wC+oAJA9RW6ga3Zbe8RZFt7kD9i4qAspz3I/yHet1VvC3DiSy/fsUvv5pvJuNPh0LPOdCcqinDPg==}+ engines: {node: '>=6.0.0'}+ hasBin: true+ dependencies:+ '@babel/types': 7.20.7+ dev: true+/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.18.6_@[email protected]:resolution: {integrity: sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==}engines: {node: '>=6.9.0'}@@ -1741,6 +1902,15 @@ packages:'@babel/helper-plugin-utils': 7.18.6dev: true+ /@babel/plugin-syntax-import-assertions/7.20.0:+ resolution: {integrity: sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0+ dependencies:+ '@babel/helper-plugin-utils': 7.20.2+ dev: true+/@babel/plugin-syntax-import-meta/7.10.4_@[email protected]:resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==}peerDependencies:@@ -2369,6 +2539,15 @@ packages:'@babel/types': 7.18.7dev: true+ /@babel/template/7.20.7:+ resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==}+ engines: {node: '>=6.9.0'}+ dependencies:+ '@babel/code-frame': 7.18.6+ '@babel/parser': 7.20.15+ '@babel/types': 7.20.7+ dev: true+/@babel/traverse/7.18.6:resolution: {integrity: sha512-zS/OKyqmD7lslOtFqbscH6gMLFYOfG1YPqCKfAW5KrTeolKqvB8UelR49Fpr6y93kYkW2Ik00mT1LOGiAGvizw==}engines: {node: '>=6.9.0'}@@ -2394,6 +2573,24 @@ packages:'@babel/helper-validator-identifier': 7.18.6to-fast-properties: 2.0.0+ /@babel/types/7.20.7:+ resolution: {integrity: sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==}+ engines: {node: '>=6.9.0'}+ dependencies:+ '@babel/helper-string-parser': 7.19.4+ '@babel/helper-validator-identifier': 7.19.1+ to-fast-properties: 2.0.0+ dev: true++ /@babel/types/7.21.2:+ resolution: {integrity: sha512-3wRZSs7jiFaB8AjxiiD+VqN5DTG2iRvJGQ+qYFrs/654lg6kGTQWIOFjlBo5RaXuAZjBmP3+OQH4dmhqiiyYxw==}+ engines: {node: '>=6.9.0'}+ dependencies:+ '@babel/helper-string-parser': 7.19.4+ '@babel/helper-validator-identifier': 7.19.1+ to-fast-properties: 2.0.0+ dev: true+/@bcoe/v8-coverage/0.2.3:resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}dev: true@@ -2703,7 +2900,6 @@ packages:engines: {node: '>=12'}dependencies:'@jridgewell/trace-mapping': 0.3.9- dev: true/@digitak/esrun/3.2.8:resolution: {integrity: sha512-NUpcDW8OyUl85AqEyWEib2Rc5TSmMYOdHoH8/IcAabXNMh+3FJS+pTqxVv+2R+jZrnPTjDdBr7gTYij1E7TRLg==}@@ -2719,6 +2915,22 @@ packages:resolution: {integrity: sha512-I+ova6YCVhEg91iafa54KEkLRAY9tJaQGdnVE4TzJLziOjP6vDZXIn24KMav+Z6mCElnyFeejXJ9Igl7jzwdSQ==}dev: true+ /@emmetio/abbreviation/2.2.3:+ resolution: {integrity: sha512-87pltuCPt99aL+y9xS6GPZ+Wmmyhll2WXH73gG/xpGcQ84DRnptBsI2r0BeIQ0EB/SQTOe2ANPqFqj3Rj5FOGA==}+ dependencies:+ '@emmetio/scanner': 1.0.0+ dev: true++ /@emmetio/css-abbreviation/2.1.4:+ resolution: {integrity: sha512-qk9L60Y+uRtM5CPbB0y+QNl/1XKE09mSO+AhhSauIfr2YOx/ta3NJw2d8RtCFxgzHeRqFRr8jgyzThbu+MZ4Uw==}+ dependencies:+ '@emmetio/scanner': 1.0.0+ dev: true++ /@emmetio/scanner/1.0.0:+ resolution: {integrity: sha512-8HqW8EVqjnCmWXVpqAOZf+EGESdkR27odcMMMGefgKXtar00SoYNSryGv//TELI4T3QFsECo78p+0lmalk/CFA==}+ dev: true+/@endemolshinegroup/cosmiconfig-typescript-loader/3.0.2_zmjss6mecb4soo3dpdlecld3xa:resolution: {integrity: sha512-QRVtqJuS1mcT56oHpVegkKBlgtWjXw/gHNWO3eL9oyB5Sc7HBoc2OLG/nYpVfT/Jejvo3NUrD0Udk7XgoyDKkA==}engines: {node: '>=10.0.0'}@@ -3287,6 +3499,16 @@ packages:tslib: 2.4.0dev: true+ /@graphql-codegen/add/[email protected]:+ resolution: {integrity: sha512-A7k+9eRfrKyyNfhWEN/0eKz09R5cp4XXxUuNLQAVm/aohmVI2xdMV4lM02rTlM6Pyou3cU/v0iZnhgo6IRpqeg==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ dev: true+/@graphql-codegen/cli/2.8.0_h5eoywvcjsa4emif44kddonyyu:resolution: {integrity: sha512-qpLnfWLd7M6ISlXN5c9WPwUE9iZkzS6996hwlvKcYpyGWj10ZtDcEQpH+NFoNjNP3Bu+QOSt6gSnpnCnajwadA==}hasBin: true@@ -3334,6 +3556,86 @@ packages:- utf-8-validatedev: true+ /@graphql-codegen/cli/3.0.0_rf2sx74yjwgv4c7f6t6izlk5dy:+ resolution: {integrity: sha512-16nuFabHCfPQ/d+v52OvR1ueL8eiJvS/nRuvuEV8d9T1fkborHKRw4lhyKVebu9izFBs6G0CvVCLhgVzQwHSLw==}+ hasBin: true+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@babel/generator': 7.21.1+ '@babel/template': 7.20.7+ '@babel/types': 7.20.7+ '@graphql-codegen/core': [email protected]+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-tools/apollo-engine-loader': [email protected]+ '@graphql-tools/code-file-loader': [email protected]+ '@graphql-tools/git-loader': [email protected]+ '@graphql-tools/github-loader': [email protected]+ '@graphql-tools/graphql-file-loader': [email protected]+ '@graphql-tools/json-file-loader': [email protected]+ '@graphql-tools/load': [email protected]+ '@graphql-tools/prisma-loader': [email protected]+ '@graphql-tools/url-loader': [email protected]+ '@graphql-tools/utils': [email protected]+ '@whatwg-node/fetch': 0.6.9+ chalk: 4.1.2+ chokidar: 3.5.3+ cosmiconfig: 7.0.1+ cosmiconfig-typescript-loader: 4.3.0_qilgflazl3ul6lmrg6ergratta+ debounce: 1.2.1+ detect-indent: 6.1.0+ graphql: 16.6.0+ graphql-config: 4.4.1_ul246jct24iapssnbw5f5pr2vu+ inquirer: 8.2.4+ is-glob: 4.0.3+ json-to-pretty-yaml: 1.2.2+ listr2: 4.0.5+ log-symbols: 4.1.0+ shell-quote: 1.7.3+ string-env-interpolation: 1.0.1+ ts-log: 2.2.4+ ts-node: [email protected]+ tslib: 2.4.1+ yaml: 1.10.2+ yargs: 17.5.1+ transitivePeerDependencies:+ - '@babel/core'+ - '@swc/core'+ - '@swc/wasm'+ - '@types/node'+ - bufferutil+ - cosmiconfig-toml-loader+ - encoding+ - enquirer+ - supports-color+ - typescript+ - utf-8-validate+ dev: true++ /@graphql-codegen/client-preset/[email protected]:+ resolution: {integrity: sha512-mt5CyPwZmOUP+ifC56xMjeEyfywu0P6HSWbhWPn1Jbv7n3TMILXMDfgOAufnOmrU1Ian8wu72I9A5IMRGqmW1w==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@babel/helper-plugin-utils': 7.20.2+ '@babel/template': 7.20.7+ '@graphql-codegen/add': [email protected]+ '@graphql-codegen/gql-tag-operations': [email protected]+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/typed-document-node': [email protected]+ '@graphql-codegen/typescript': [email protected]+ '@graphql-codegen/typescript-operations': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ '@graphql-tools/documents': [email protected]+ '@graphql-tools/utils': [email protected]+ '@graphql-typed-document-node/core': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true+/@graphql-codegen/core/[email protected]:resolution: {integrity: sha512-7uZGnLCMR/pnh/5CsyI4y5bBvRndNHFs+AWpMUUjDBcjMRrMaavu37VyyYDz4/ob0BnQJt8RTBN9eArS9PLYAQ==}peerDependencies:@@ -3346,6 +3648,48 @@ packages:tslib: 2.4.0dev: true+ /@graphql-codegen/core/[email protected]:+ resolution: {integrity: sha512-DH1/yaR7oJE6/B+c6ZF2Tbdh7LixF1K8L+8BoSubjNyQ8pNwR4a70mvc1sv6H7qgp6y1bPQ9tKE+aazRRshysw==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-tools/schema': [email protected]+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ dev: true++ /@graphql-codegen/gql-tag-operations/[email protected]:+ resolution: {integrity: sha512-BGJRfRYJo566x3nPoEwiU0KkhbBAB2i4UsUg2wAlzC+z8uoL1JtCI2besa7RoWxjvEpmjrn23O5CnUzD933JLg==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ '@graphql-tools/utils': [email protected]+ auto-bind: 4.0.0+ graphql: 16.6.0+ tslib: 2.5.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/introspection/[email protected]:+ resolution: {integrity: sha512-PwHPcCg3svkLhcBd88KDHVpj0FuWMPfbx8RxTnLIH6jFyI5QkSSctQavGLO0o4IYiiQjgftEcfbNRtadvEmxtg==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ graphql: 16.6.0+ tslib: 2.4.1+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true+/@graphql-codegen/plugin-helpers/[email protected]:resolution: {integrity: sha512-0jM5/14EdM4yow5v8OGOnUmRqfA1gaWkh+J5berqQUpcFYfSQXD6+Idnkiju/jjIypEN7UvbPkC7BgryWVxexA==}peerDependencies:@@ -3360,6 +3704,62 @@ packages:tslib: 2.4.0dev: true+ /@graphql-codegen/plugin-helpers/[email protected]:+ resolution: {integrity: sha512-0jM5/14EdM4yow5v8OGOnUmRqfA1gaWkh+J5berqQUpcFYfSQXD6+Idnkiju/jjIypEN7UvbPkC7BgryWVxexA==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ change-case-all: 1.0.14+ common-tags: 1.8.2+ graphql: 16.6.0+ import-from: 4.0.0+ lodash: 4.17.21+ tslib: 2.4.0+ dev: true++ /@graphql-codegen/plugin-helpers/[email protected]:+ resolution: {integrity: sha512-kln2AZ12uii6U59OQXdjLk5nOlh1pHis1R98cDZGFnfaiAbX9V3fxcZ1MMJkB7qFUymTALzyjZoXXdyVmPMfRg==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ change-case-all: 1.0.14+ common-tags: 1.8.2+ graphql: 16.6.0+ import-from: 4.0.0+ lodash: 4.17.21+ tslib: 2.4.1+ dev: true++ /@graphql-codegen/plugin-helpers/[email protected]:+ resolution: {integrity: sha512-vgNGTanT36hC4RAC/LAThMEjDvnu3WCyx6MtKZcPUtfCWFxbUAr88+OarGl1LAEiOef0agIREC7tIBXCqjKkJA==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ change-case-all: 1.0.15+ common-tags: 1.8.2+ graphql: 16.6.0+ import-from: 4.0.0+ lodash: 4.17.21+ tslib: 2.4.1+ dev: true++ /@graphql-codegen/plugin-helpers/[email protected]:+ resolution: {integrity: sha512-xvSHJb9OGb5CODIls0AI1rCenLz+FuiaNPCsfHMCNsLDjOZK2u0jAQ9zUBdc/Wb+21YXZujBCc0Vm1QX+Zz0nw==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ change-case-all: 1.0.15+ common-tags: 1.8.2+ graphql: 16.6.0+ import-from: 4.0.0+ lodash: 4.17.21+ tslib: 2.5.0+ dev: true+/@graphql-codegen/schema-ast/[email protected]:resolution: {integrity: sha512-nlF4Yc7h90nmogG2E11TeFJ3/hCkb4SDMSdbJX68b1mhvVEji/kq3zWYKAQ+lAzjZ7HF94Eylm3MrZAjjpCKIA==}peerDependencies:@@ -3371,6 +3771,17 @@ packages:tslib: 2.4.0dev: true+ /@graphql-codegen/schema-ast/[email protected]:+ resolution: {integrity: sha512-rTKTi4XiW4QFZnrEqetpiYEWVsOFNoiR/v3rY9mFSttXFbIwNXPme32EspTiGWmEEdHY8UuTDtZN3vEcs/31zw==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ dev: true+/@graphql-codegen/typed-document-node/[email protected]:resolution: {integrity: sha512-8EnxV1lYAuWmoPRdc8iSI1odEpiNwaR4kRxgCYuNaCjQsCrGRnF46Vb1rCWG+6veODA3BmOjp0g0sCLM5b6EAA==}peerDependencies:@@ -3387,50 +3798,129 @@ packages:- supports-colordev: true- /@graphql-codegen/typescript-operations/[email protected]:- resolution: {integrity: sha512-lGv+sPDXGcp/vDdIh7SoQjz8BRCZhLats4Hbqnf6gB7UtIasMvGuFDQyrKb3XAkQQYWqx/xtmEo0rBN8syV+Wg==}+ /@graphql-codegen/typed-document-node/[email protected]:+ resolution: {integrity: sha512-8EnxV1lYAuWmoPRdc8iSI1odEpiNwaR4kRxgCYuNaCjQsCrGRnF46Vb1rCWG+6veODA3BmOjp0g0sCLM5b6EAA==}peerDependencies:graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0dependencies:- '@graphql-codegen/plugin-helpers': [email protected]- '@graphql-codegen/typescript': [email protected]- '@graphql-codegen/visitor-plugin-common': [email protected]+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]auto-bind: 4.0.0- graphql: 15.8.0+ change-case-all: 1.0.14+ graphql: 16.6.0tslib: 2.4.0transitivePeerDependencies:- encoding- supports-colordev: true- /@graphql-codegen/typescript-urql-graphcache/2.3.1_52tgh2q4afbldbawprm4p57eiu:- resolution: {integrity: sha512-Q7bHSRqZ3Lg4C1AlCRRgVQL4jQTSnKbyO1E7L92126fTz8vfCl9x1UKCu18/1qCP71KkqtC/ipAhyNAlq5/soQ==}+ /@graphql-codegen/typed-document-node/[email protected]:+ resolution: {integrity: sha512-2plPBbAJZtR72BU6n07N3nIJYlwnCWbFNoe++MQ33S2ML4KwpCiflGEJnTpiwOEhCklQLWg1FEUdEOYS2iluqw==}peerDependencies:- '@urql/exchange-graphcache': ^4.1.1graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0- graphql-tag: ^2.0.0dependencies:- '@graphql-codegen/plugin-helpers': [email protected]- '@graphql-codegen/visitor-plugin-common': [email protected]- '@urql/exchange-graphcache': [email protected]+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]auto-bind: 4.0.0- change-case-all: 1.0.14- graphql: 15.8.0- graphql-tag: [email protected]- tslib: 2.4.0+ change-case-all: 1.0.15+ graphql: 16.6.0+ tslib: 2.5.0transitivePeerDependencies:- encoding- supports-colordev: true- /@graphql-codegen/typescript/[email protected]:- resolution: {integrity: sha512-qF4SBMgBnLcegba2s9+zC3NwgRhU0Kv+eS8kl9G5ldEHx9Bpu2tft+lk6fjqqhExDzJT+MEOU3Ecog3BzL2R1g==}+ /@graphql-codegen/typescript-document-nodes/[email protected]:+ resolution: {integrity: sha512-IxBqVcFw+8wRqbs4Jd/WkoCT0PnFst1Qq0JsDEGFoqNnc5Bjs+BS5g3OYvSJTP04QUi6G8iTKr91FgEUubfI7Q==}peerDependencies:- graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0dependencies:- '@graphql-codegen/plugin-helpers': [email protected]- '@graphql-codegen/schema-ast': [email protected]- '@graphql-codegen/visitor-plugin-common': [email protected]+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ auto-bind: 4.0.0+ graphql: 16.6.0+ tslib: 2.4.1+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/typescript-operations/[email protected]:+ resolution: {integrity: sha512-lGv+sPDXGcp/vDdIh7SoQjz8BRCZhLats4Hbqnf6gB7UtIasMvGuFDQyrKb3XAkQQYWqx/xtmEo0rBN8syV+Wg==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/typescript': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ auto-bind: 4.0.0+ graphql: 15.8.0+ tslib: 2.4.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/typescript-operations/[email protected]:+ resolution: {integrity: sha512-t+Lk+lxkUFDh6F0t8CErowOccP3bZwxhl66qmEeBcOrC7jQrSCnRZoFvOXhFKFBJe/y4DIJiizgSr34AqjiJIQ==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/typescript': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ auto-bind: 4.0.0+ graphql: 16.6.0+ tslib: 2.4.1+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/typescript-operations/[email protected]:+ resolution: {integrity: sha512-Td1d483cQr7XJj/zXrbqVUEi2QK56DT7EToFheZrBFArIQCUEGK+Xgw6GhEmZaTwWYODxavzy1jmTTJC2fEuTw==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/typescript': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ auto-bind: 4.0.0+ graphql: 16.6.0+ tslib: 2.5.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/typescript-urql-graphcache/2.3.1_52tgh2q4afbldbawprm4p57eiu:+ resolution: {integrity: sha512-Q7bHSRqZ3Lg4C1AlCRRgVQL4jQTSnKbyO1E7L92126fTz8vfCl9x1UKCu18/1qCP71KkqtC/ipAhyNAlq5/soQ==}+ peerDependencies:+ '@urql/exchange-graphcache': ^4.1.1+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ graphql-tag: ^2.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ '@urql/exchange-graphcache': [email protected]+ auto-bind: 4.0.0+ change-case-all: 1.0.14+ graphql: 15.8.0+ graphql-tag: [email protected]+ tslib: 2.4.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/typescript/[email protected]:+ resolution: {integrity: sha512-qF4SBMgBnLcegba2s9+zC3NwgRhU0Kv+eS8kl9G5ldEHx9Bpu2tft+lk6fjqqhExDzJT+MEOU3Ecog3BzL2R1g==}+ peerDependencies:+ graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/schema-ast': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]auto-bind: 4.0.0graphql: 15.8.0tslib: 2.4.0@@ -3439,6 +3929,38 @@ packages:- supports-colordev: true+ /@graphql-codegen/typescript/[email protected]:+ resolution: {integrity: sha512-FQWyuIUy1y+fxb9+EZfvdBHBQpYExlIBHV5sg2WGNCsyVyCqBTl0mO8icyOtsQPVg6YFMFe8JJO69vQbwHma5w==}+ peerDependencies:+ graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/schema-ast': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ auto-bind: 4.0.0+ graphql: 16.6.0+ tslib: 2.4.1+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/typescript/[email protected]:+ resolution: {integrity: sha512-HvozJg7eHqywmYvXa7+nmjw+v3+f8ilFv9VbRvmjhj/zBw3VKGT2n/85ZhVyuWjY2KrDLzl6BqeXttWsW5Wo4w==}+ peerDependencies:+ graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-codegen/schema-ast': [email protected]+ '@graphql-codegen/visitor-plugin-common': [email protected]+ auto-bind: 4.0.0+ graphql: 16.6.0+ tslib: 2.5.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true+/@graphql-codegen/urql-introspection/[email protected]:resolution: {integrity: sha512-QinRBTfH2vSjoL3Lv2a8p+SjgZJFHIdkbncpvQw8i5+KyxMKIP8OGk8m+mZ/nYz8+i+2ZIf42wROBhKkG50OTA==}peerDependencies:@@ -3450,6 +3972,17 @@ packages:tslib: 2.4.0dev: true+ /@graphql-codegen/urql-introspection/[email protected]:+ resolution: {integrity: sha512-/KjHSf4dQNoYZZ+G10b3lbw304ik9xHzRf/syNvoYehmwdYE5J7RnO1v1Cz78LDm2NEdsFas6vJHi0sJd/pOHg==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@urql/introspection': [email protected]+ graphql: 16.6.0+ tslib: 2.4.1+ dev: true+/@graphql-codegen/visitor-plugin-common/[email protected]:resolution: {integrity: sha512-AlrtGWKn2o89SPna75ATEHYAu95MUMucgBqLgcRvK9n/PHhVAbkDrNCH5pL03fE0HLOup3GpjX8DcnFBMU46IA==}peerDependencies:@@ -3471,6 +4004,69 @@ packages:- supports-colordev: true+ /@graphql-codegen/visitor-plugin-common/[email protected]:+ resolution: {integrity: sha512-AlrtGWKn2o89SPna75ATEHYAu95MUMucgBqLgcRvK9n/PHhVAbkDrNCH5pL03fE0HLOup3GpjX8DcnFBMU46IA==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-tools/optimize': [email protected]+ '@graphql-tools/relay-operation-optimizer': [email protected]+ '@graphql-tools/utils': [email protected]+ auto-bind: 4.0.0+ change-case-all: 1.0.14+ dependency-graph: 0.11.0+ graphql: 16.6.0+ graphql-tag: [email protected]+ parse-filepath: 1.0.2+ tslib: 2.4.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/visitor-plugin-common/[email protected]:+ resolution: {integrity: sha512-ZoNlCmmkGClB137SpJT9og/nkihLN7Z4Ynl9Ir3OlbDuI20dbpyXsclpr9QGLcxEcfQeVfhGw9CooW7wZJJ8LA==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-tools/optimize': [email protected]+ '@graphql-tools/relay-operation-optimizer': [email protected]+ '@graphql-tools/utils': [email protected]+ auto-bind: 4.0.0+ change-case-all: 1.0.15+ dependency-graph: 0.11.0+ graphql: 16.6.0+ graphql-tag: [email protected]+ parse-filepath: 1.0.2+ tslib: 2.4.1+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true++ /@graphql-codegen/visitor-plugin-common/[email protected]:+ resolution: {integrity: sha512-Qek+Ywy094Km7Vc1TzKBN9ICvtYwPdqZUliPO77urMSveP+2+G2O9Tjx546dW4A1O6rhEfexbenc2DqTAe7iLQ==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ '@graphql-codegen/plugin-helpers': [email protected]+ '@graphql-tools/optimize': [email protected]+ '@graphql-tools/relay-operation-optimizer': [email protected]+ '@graphql-tools/utils': [email protected]+ auto-bind: 4.0.0+ change-case-all: 1.0.15+ dependency-graph: 0.11.0+ graphql: 16.6.0+ graphql-tag: [email protected]+ parse-filepath: 1.0.2+ tslib: 2.5.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true+/@graphql-tools/apollo-engine-loader/[email protected]:resolution: {integrity: sha512-PJhX4gQeoPtR2BJFYHYVLdLYkqQHB94r9IC64GamFV+kxR+jzQYZJdDTgnFZxvpvGJ7rEgYKNjcfWS+r+CQisQ==}peerDependencies:@@ -3485,6 +4081,21 @@ packages:- encodingdev: true+ /@graphql-tools/apollo-engine-loader/[email protected]:+ resolution: {integrity: sha512-h1vfhdJFjnCYn9b5EY1Z91JTF0KB3hHVJNQIsiUV2mpQXZdeOXQoaWeYEKaiI5R6kwBw5PP9B0fv3jfUIG8LyQ==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@ardatan/sync-fetch': 0.0.1+ '@graphql-tools/utils': [email protected]+ '@whatwg-node/fetch': 0.8.1+ graphql: 16.6.0+ tslib: 2.5.0+ transitivePeerDependencies:+ - '@types/node'+ - encoding+ dev: true+/@graphql-tools/batch-execute/[email protected]:resolution: {integrity: sha512-S9/76X4uYIbVlJyRzXhCBbTJvVD0VvaWNqGiKgkITxlq4aBsTOHVuE84OSi3E1QKP3PTiJYrgMIn220iFOkyQw==}peerDependencies:@@ -3496,6 +4107,18 @@ packages:tslib: 2.4.0value-or-promise: 1.0.11+ /@graphql-tools/batch-execute/[email protected]:+ resolution: {integrity: sha512-mNv5bpZMLLwhkmPA6+RP81A6u3KF4CSKLf3VX9hbomOkQR4db8pNs8BOvpZU54wKsUzMzdlws/2g/Dabyb2Vsg==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ dataloader: 2.2.2+ graphql: 16.6.0+ tslib: 2.5.0+ value-or-promise: 1.0.12+ dev: true+/@graphql-tools/code-file-loader/[email protected]:resolution: {integrity: sha512-mzevVv5JYyyRIbE6R0mxIniCAZWUGdoNYX97HdVgqChLOl2XRf9I8MarVPewHLmjLTZuWrdQx4ta4sPTLk4tUQ==}peerDependencies:@@ -3511,6 +4134,22 @@ packages:- supports-colordev: true+ /@graphql-tools/code-file-loader/[email protected]:+ resolution: {integrity: sha512-dj+OLnz1b8SYkXcuiy0CUQ25DWnOEyandDlOcdBqU3WVwh5EEVbn0oXUYm90fDlq2/uut00OrtC5Wpyhi3tAvA==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/graphql-tag-pluck': [email protected]+ '@graphql-tools/utils': [email protected]+ globby: 11.1.0+ graphql: 16.6.0+ tslib: 2.5.0+ unixify: 1.0.0+ transitivePeerDependencies:+ - '@babel/core'+ - supports-color+ dev: true+/@graphql-tools/delegate/[email protected]:resolution: {integrity: sha512-dbhfOI8rQXPcowXrbwHLOBY9oGi7qxtlrXF4RuRXmjqGTs2AgogdOE3Ep1+6wFD7qYTuFmHXZ8Cl0PmhoZUgrg==}peerDependencies:@@ -3524,6 +4163,96 @@ packages:tslib: 2.4.0value-or-promise: 1.0.11+ /@graphql-tools/delegate/[email protected]:+ resolution: {integrity: sha512-8j23JCs2mgXqnp+5K0v4J3QBQU/5sXd9miaLvMfRf/6963DznOXTECyS9Gcvj1VEeR5CXIw6+aX/BvRDKDdN1g==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/batch-execute': [email protected]+ '@graphql-tools/executor': [email protected]+ '@graphql-tools/schema': [email protected]+ '@graphql-tools/utils': [email protected]+ dataloader: 2.2.2+ graphql: 16.6.0+ tslib: 2.5.0+ value-or-promise: 1.0.12+ dev: true++ /@graphql-tools/documents/[email protected]:+ resolution: {integrity: sha512-1WQeovHv5S1M3xMzQxbSrG3yl6QOnsq2JUBnlg5/0aMM5R4GNMx6Ms+ROByez/dnuA81kstRuSK+2qpe+GaRIw==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ graphql: 16.6.0+ lodash.sortby: 4.7.0+ tslib: 2.5.0+ dev: true++ /@graphql-tools/executor-graphql-ws/[email protected]:+ resolution: {integrity: sha512-muRj6j897ks2iKqe3HchWFFzd+jFInSRuLPvHJ7e4WPrejFvaZx3BQ9gndfJvVkfYUZIFm13stCGXaJJTbVM0Q==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ '@repeaterjs/repeater': 3.0.4+ '@types/ws': 8.5.3+ graphql: 16.6.0+ graphql-ws: [email protected]+ isomorphic-ws: [email protected]+ tslib: 2.5.0+ ws: 8.12.1+ transitivePeerDependencies:+ - bufferutil+ - utf-8-validate+ dev: true++ /@graphql-tools/executor-http/[email protected]:+ resolution: {integrity: sha512-tNzMt5qc1ptlHKfpSv9wVBVKCZ7gks6Yb/JcYJluxZIT4qRV+TtOFjpptfBU63usgrGVOVcGjzWc/mt7KhmmpQ==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ '@repeaterjs/repeater': 3.0.4+ '@whatwg-node/fetch': 0.8.1+ dset: 3.1.2+ extract-files: 11.0.0+ graphql: 16.6.0+ meros: 1.2.1+ tslib: 2.5.0+ value-or-promise: 1.0.12+ transitivePeerDependencies:+ - '@types/node'+ dev: true++ /@graphql-tools/executor-legacy-ws/[email protected]:+ resolution: {integrity: sha512-L7oDv7R5yoXzMH+KLKDB2WHVijfVW4dB2H+Ae1RdW3MFvwbYjhnIB6QzHqKEqksjp/FndtxZkbuTIuAOsYGTYw==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ '@types/ws': 8.5.3+ graphql: 16.6.0+ isomorphic-ws: [email protected]+ tslib: 2.5.0+ ws: 8.12.1+ transitivePeerDependencies:+ - bufferutil+ - utf-8-validate+ dev: true++ /@graphql-tools/executor/[email protected]:+ resolution: {integrity: sha512-6U7QLZT8cEUxAMXDP4xXVplLi6RBwx7ih7TevlBto66A/qFp3PDb6o/VFo07yBKozr8PGMZ4jMfEWBGxmbGdxA==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ '@graphql-typed-document-node/core': [email protected]+ '@repeaterjs/repeater': 3.0.4+ graphql: 16.6.0+ tslib: 2.5.0+ value-or-promise: 1.0.12+ dev: true+/@graphql-tools/git-loader/[email protected]:resolution: {integrity: sha512-aFJ5Py9sCIhiSyE+EK4zC+mQ4zRUNGGNwosqlCYNcmhtGFwlXArB13/rdj2b4p3RsmTe31Mso9VfsEZXQ6CGCw==}peerDependencies:@@ -3540,6 +4269,23 @@ packages:- supports-colordev: true+ /@graphql-tools/git-loader/[email protected]:+ resolution: {integrity: sha512-D/3uwTzlXxG50HI8BEixqirT4xiUp6AesTdfotRXAs2d4CT9wC6yuIWOHkSBqgI1cwKWZb6KXZr467YPS5ob1w==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/graphql-tag-pluck': [email protected]+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ is-glob: 4.0.3+ micromatch: 4.0.5+ tslib: 2.5.0+ unixify: 1.0.0+ transitivePeerDependencies:+ - '@babel/core'+ - supports-color+ dev: true+/@graphql-tools/github-loader/[email protected]:resolution: {integrity: sha512-sus/YOZKhhbcBQTCWFvUdIzFThm/LiAlSh9+Bt+hNz2K05PWzR6XD7Fo2ejh6bSAZvevJBvsH/4xf1YSK86Fkg==}peerDependencies:@@ -3556,6 +4302,24 @@ packages:- supports-colordev: true+ /@graphql-tools/github-loader/[email protected]:+ resolution: {integrity: sha512-fFFC35qenyhjb8pfcYXKknAt0CXP5CkQYtLfJXgTXSgBjIsfAVMrqxQ/Y0ejeM19XNF/C3VWJ7rE308yOX6ywA==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@ardatan/sync-fetch': 0.0.1+ '@graphql-tools/graphql-tag-pluck': [email protected]+ '@graphql-tools/utils': [email protected]+ '@whatwg-node/fetch': 0.8.1+ graphql: 16.6.0+ tslib: 2.5.0+ transitivePeerDependencies:+ - '@babel/core'+ - '@types/node'+ - encoding+ - supports-color+ dev: true+/@graphql-tools/graphql-file-loader/[email protected]:resolution: {integrity: sha512-r1lslE5GlWO/nbDX82enHjvva7qQiZEIPm+LC9JSgKaYuVoYHuIuIAVYkpBHeaRK1Kbh/86pEhL7PuBZ/cIWSA==}peerDependencies:@@ -3568,6 +4332,19 @@ packages:tslib: 2.4.0unixify: 1.0.0+ /@graphql-tools/graphql-file-loader/[email protected]:+ resolution: {integrity: sha512-lK1N3Y2I634FS12nd4bu7oAJbai3bUc28yeX+boT+C83KTO4ujGHm+6hPC8X/FRGwhKOnZBxUM7I5nvb3HiUxw==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/import': [email protected]+ '@graphql-tools/utils': [email protected]+ globby: 11.1.0+ graphql: 16.6.0+ tslib: 2.5.0+ unixify: 1.0.0+ dev: true+/@graphql-tools/graphql-tag-pluck/[email protected]:resolution: {integrity: sha512-GxtgGTSOiQuFc/yNWXsPJ5QEgGlH+4qBf1paqUJtjFpm89dZA+VkdjoIDiFg8fyXGivjZ37+XAUbuu6UlsT+6Q==}peerDependencies:@@ -3583,6 +4360,23 @@ packages:- supports-colordev: true+ /@graphql-tools/graphql-tag-pluck/[email protected]:+ resolution: {integrity: sha512-76SYzhSlH50ZWkhWH6OI94qrxa8Ww1ZeOU04MdtpSeQZVT2rjGWeTb3xM3kjTVWQJsr/YJBhDeNPGlwNUWfX4Q==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@babel/parser': 7.20.15+ '@babel/plugin-syntax-import-assertions': 7.20.0+ '@babel/traverse': 7.18.6+ '@babel/types': 7.21.2+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ transitivePeerDependencies:+ - '@babel/core'+ - supports-color+ dev: true+/@graphql-tools/import/[email protected]:resolution: {integrity: sha512-u9JL4fClKKyBTQpgb4QFacYUwgBCs4lW1NaHX0hD2zBdahIYidokBY0QkOqOCEAnWeFqpEmAjB62ulLiAJWc2g==}peerDependencies:@@ -3593,6 +4387,17 @@ packages:resolve-from: 5.0.0tslib: 2.4.0+ /@graphql-tools/import/[email protected]:+ resolution: {integrity: sha512-bn9SgrECXq3WIasgNP7ful/uON51wBajPXtxdY+z/ce7jLWaFE6lzwTDB/GAgiZ+jo7nb0ravlxteSAz2qZmuA==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ resolve-from: 5.0.0+ tslib: 2.5.0+ dev: true+/@graphql-tools/json-file-loader/[email protected]:resolution: {integrity: sha512-6oR7Ulc5iZc5SM3g1Yj91DqSu3TNbfGK/0baE8KyUlvq6KiIuWFWDy13RGnNesftt4RSWvZqGzu/kzXcBHtt+A==}peerDependencies:@@ -3604,6 +4409,18 @@ packages:tslib: 2.4.0unixify: 1.0.0+ /@graphql-tools/json-file-loader/[email protected]:+ resolution: {integrity: sha512-KOSTP43nwjPfXgas90rLHAFgbcSep4nmiYyR9xRVz4ZAmw8VYHcKhOLTSGylCAzi7KUfyBXajoW+6Z7dQwdn3g==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ globby: 11.1.0+ graphql: 16.6.0+ tslib: 2.5.0+ unixify: 1.0.0+ dev: true+/@graphql-tools/load/[email protected]:resolution: {integrity: sha512-6KX7Z8BtlFScDr0pIac92QZWlPGbHcpNMesX/6Y3Vsp3FeFnAYfzZldXZQcJoW7Yl+gHdFwYVq683wSH64kNrw==}peerDependencies:@@ -3615,6 +4432,18 @@ packages:p-limit: 3.1.0tslib: 2.4.0+ /@graphql-tools/load/[email protected]:+ resolution: {integrity: sha512-JwxgNS2c6i6oIdKttcbXns/lpKiyN7c6/MkkrJ9x2QE9rXk5HOhSJxRvPmOueCuAin1542xUrcDRGBXJ7thSig==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/schema': [email protected]+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ p-limit: 3.1.0+ tslib: 2.5.0+ dev: true+/@graphql-tools/merge/[email protected]:resolution: {integrity: sha512-xRa7RAQok/0DD2YnjuqikMrr7dUAxTpdGtZ7BkvUUGhYs3B3p7reCAfvOVr1DJAqVToP7hdlMk+S5+Ylk+AaqA==}peerDependencies:@@ -3644,6 +4473,16 @@ packages:tslib: 2.4.1dev: false+ /@graphql-tools/merge/[email protected]:+ resolution: {integrity: sha512-R8nBglvRWPAyLpZL/f3lxsY7wjnAeE0l056zHhcO/CgpvK76KYUt9oEkR05i8Hmt8DLRycBN0FiotJ0yDQWTVA==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ dev: true+/@graphql-tools/mock/[email protected]:resolution: {integrity: sha512-bEjj52T5idjzqFXfDZPFfPZDPFEjVmayYA6RYqMxM3Qdv5JJ8pSMEGDBcXhinbQudPKdRkLmR17usNmRMpUQEg==}peerDependencies:@@ -3665,6 +4504,15 @@ packages:tslib: 2.4.0dev: true+ /@graphql-tools/optimize/[email protected]:+ resolution: {integrity: sha512-30QOWJoMJEt1De7tAFtWJ6VPrP6SLq+tSQrA3x+WMvCW3q2exq5wPDpvAXOakVKu0y8L2E+YkipC0hcQPBQdLg==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ graphql: 16.6.0+ tslib: 2.4.0+ dev: true+/@graphql-tools/prisma-loader/[email protected]:resolution: {integrity: sha512-f5txUBRwwZmPQYL5g5CNdOjOglFE/abtnEVOvUCq+nET0BRuxcuxUD5vykfZnkql9sNvnCFAfrZuBVe5S2n3bA==}peerDependencies:@@ -3699,6 +4547,39 @@ packages:- utf-8-validatedev: true+ /@graphql-tools/prisma-loader/[email protected]:+ resolution: {integrity: sha512-W8GfzfBKiBSIEgw+/nJk6zUlF6k/jterlNoFhM27mBsbeMtWxKnm1+gEU6KA0N1PNEdq2RIa2W4AfVfVBl2GgQ==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/url-loader': [email protected]+ '@graphql-tools/utils': [email protected]+ '@types/js-yaml': 4.0.5+ '@types/json-stable-stringify': 1.0.34+ '@types/jsonwebtoken': 9.0.1+ chalk: 4.1.2+ debug: 4.3.4+ dotenv: 16.0.1+ graphql: 16.6.0+ graphql-request: [email protected]+ http-proxy-agent: 5.0.0+ https-proxy-agent: 5.0.1+ isomorphic-fetch: 3.0.0+ js-yaml: 4.1.0+ json-stable-stringify: 1.0.1+ jsonwebtoken: 9.0.0+ lodash: 4.17.21+ scuid: 1.1.0+ tslib: 2.5.0+ yaml-ast-parser: 0.0.43+ transitivePeerDependencies:+ - '@types/node'+ - bufferutil+ - encoding+ - supports-color+ - utf-8-validate+ dev: true+/@graphql-tools/relay-operation-optimizer/[email protected]:resolution: {integrity: sha512-snqmdPiM2eBex6pijRFx4H9MPumVd8ZWM3y+aaRwzc73VUNnjHE4NyVZEEIdlbmJ2HoQ9Zrm9aFlHVMK7B59zg==}peerDependencies:@@ -3713,6 +4594,20 @@ packages:- supports-colordev: true+ /@graphql-tools/relay-operation-optimizer/[email protected]:+ resolution: {integrity: sha512-snqmdPiM2eBex6pijRFx4H9MPumVd8ZWM3y+aaRwzc73VUNnjHE4NyVZEEIdlbmJ2HoQ9Zrm9aFlHVMK7B59zg==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@ardatan/relay-compiler': [email protected]+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ tslib: 2.4.0+ transitivePeerDependencies:+ - encoding+ - supports-color+ dev: true+/@graphql-tools/schema/[email protected]:resolution: {integrity: sha512-VeFtKjM3SA9/hCJJfr95aEdC3G0xIKM9z0Qdz4i+eC1g2fdZYnfWFt2ucW4IME+2TDd0enHlKzaV0qk2SLVUww==}peerDependencies:@@ -3736,6 +4631,18 @@ packages:value-or-promise: 1.0.11dev: false+ /@graphql-tools/schema/[email protected]:+ resolution: {integrity: sha512-kF+tbYPPf/6K2aHG3e1SWIbapDLQaqnIHVRG6ow3onkFoowwtKszvUyOASL6Krcv2x9bIMvd1UkvRf9OaoROQQ==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/merge': [email protected]+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ value-or-promise: 1.0.12+ dev: true+/@graphql-tools/schema/[email protected]:resolution: {integrity: sha512-hwg8trUytO5ayQ8bzL3+sAyXcu2rhKt5pLXpLO0/TMTN2nXd3DBO4mqx+Ra4Er2mE/msInGQ5EmZbxVBPv+hSg==}peerDependencies:@@ -3763,18 +4670,44 @@ packages:extract-files: 11.0.0graphql: 15.8.0graphql-ws: [email protected]- isomorphic-ws: [email protected]+ isomorphic-ws: [email protected]meros: 1.2.0sync-fetch: 0.4.1tslib: 2.4.0value-or-promise: 1.0.11- ws: 8.8.0+ ws: 8.12.0transitivePeerDependencies:- '@types/node'- bufferutil- encoding- utf-8-validate+ /@graphql-tools/url-loader/[email protected]:+ resolution: {integrity: sha512-FEmbvw68kxeZLn4VYGAl+NuBPk09ZnxymjW07A6mCtiDayFgYfHdWeRzXn/iM5PzsEuCD73R1sExtNQ/ISiajg==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@ardatan/sync-fetch': 0.0.1+ '@graphql-tools/delegate': [email protected]+ '@graphql-tools/executor-graphql-ws': [email protected]+ '@graphql-tools/executor-http': [email protected]+ '@graphql-tools/executor-legacy-ws': [email protected]+ '@graphql-tools/utils': [email protected]+ '@graphql-tools/wrap': [email protected]+ '@types/ws': 8.5.3+ '@whatwg-node/fetch': 0.8.1+ graphql: 16.6.0+ isomorphic-ws: [email protected]+ tslib: 2.5.0+ value-or-promise: 1.0.11+ ws: 8.12.0+ transitivePeerDependencies:+ - '@types/node'+ - bufferutil+ - encoding+ - utf-8-validate+ dev: true+/@graphql-tools/utils/[email protected]:resolution: {integrity: sha512-KJrtx05uSM/cPYFdTnGAS1doL5bftJLAiFCDMZ8Vkifztz3BFn3gpFiy/o4wDtM8s39G46mxmt2Km/RmeltfGw==}peerDependencies:@@ -3783,6 +4716,15 @@ packages:graphql: 15.8.0tslib: 2.4.1+ /@graphql-tools/utils/[email protected]:+ resolution: {integrity: sha512-KJrtx05uSM/cPYFdTnGAS1doL5bftJLAiFCDMZ8Vkifztz3BFn3gpFiy/o4wDtM8s39G46mxmt2Km/RmeltfGw==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ graphql: 16.6.0+ tslib: 2.4.1+ dev: true+/@graphql-tools/utils/[email protected]:resolution: {integrity: sha512-4Ketxo98IwKA/56LP6cI6PgQBwUCujszQcTNkzjq7liJPa2mLjKnmVOJ0bauMwKcEazeYuZagceljb0POmEGvQ==}peerDependencies:@@ -3798,9 +4740,28 @@ packages:graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0dependencies:graphql: 15.8.0- tslib: 2.4.1+ tslib: 2.5.0dev: false+ /@graphql-tools/utils/[email protected]:+ resolution: {integrity: sha512-DXKLIEDbihK24fktR2hwp/BNIVwULIHaSTNTNhXS+19vgT50eX9wndx1bPxGwHnVBOONcwjXy0roQac49vdt/w==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ graphql: 16.6.0+ tslib: 2.5.0+ dev: true++ /@graphql-tools/utils/[email protected]:+ resolution: {integrity: sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-typed-document-node/core': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ dev: true+/@graphql-tools/wrap/[email protected]:resolution: {integrity: sha512-I+x9dBNzC135WWPi04ejqurR/zDmhfeGbCftCaYKF4CvgWd+ZaJx4Uc74n1SBegQtrj+KDrOS4HgKwf9vAVR7A==}peerDependencies:@@ -3813,6 +4774,19 @@ packages:tslib: 2.4.0value-or-promise: 1.0.11+ /@graphql-tools/wrap/[email protected]:+ resolution: {integrity: sha512-gavfiWLKgvmC2VPamnMzml3zmkBoo0yt+EmOLIHY6O92o4uMTR281WGM77tZIfq+jzLtjoIOThUSjC/cN/6XKg==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/delegate': [email protected]+ '@graphql-tools/schema': [email protected]+ '@graphql-tools/utils': [email protected]+ graphql: 16.6.0+ tslib: 2.5.0+ value-or-promise: 1.0.12+ dev: true+/@graphql-typed-document-node/core/[email protected]:resolution: {integrity: sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==}peerDependencies:@@ -3820,6 +4794,21 @@ packages:dependencies:graphql: 15.8.0+ /@graphql-typed-document-node/core/[email protected]:+ resolution: {integrity: sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ graphql: 16.6.0++ /@graphql-typed-document-node/core/[email protected]:+ resolution: {integrity: sha512-9anpBMM9mEgZN4wr2v8wHJI2/u5TnnggewRN6OlvXTTnuVyoY19X6rOv9XTqKRw6dcGKwZsBi8n0kDE2I5i4VA==}+ peerDependencies:+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ graphql: 16.6.0+ dev: true+/@grpc/grpc-js/1.6.7:resolution: {integrity: sha512-eBM03pu9hd3VqDQG+kHahiG1x80RGkkqqRb1Pchcwqej/KkAH95gAvKs6laqaHCycYaPK+TKuNQnOz9UXYA8qw==}engines: {node: ^8.13.0 || >=10.10.0}@@ -3968,6 +4957,9 @@ packages:/@iconify/types/1.1.0:resolution: {integrity: sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==}++ /@iconify/types/2.0.0:+ resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}dev: true/@iconify/utils/1.0.33:@@ -3981,6 +4973,18 @@ packages:local-pkg: 0.4.2transitivePeerDependencies:- supports-color++ /@iconify/utils/2.1.4:+ resolution: {integrity: sha512-7vzsYIvxv5Hng0MNEtSSnyMBD/+zqnORqmKiYsSgpMBGSz1r93URgBZHPYCZ1/gpoaVstYW4/SVLGCMJBNMCLQ==}+ dependencies:+ '@antfu/install-pkg': 0.1.1+ '@antfu/utils': 0.7.2+ '@iconify/types': 2.0.0+ debug: 4.3.4+ kolorist: 1.7.0+ local-pkg: 0.4.3+ transitivePeerDependencies:+ - supports-colordev: true/@intlify/bundle-utils/4.0.0:@@ -4109,7 +5113,7 @@ packages:debug: 4.3.4fast-glob: 3.2.11source-map: 0.6.1- vite: 3.2.4+ vite: [email protected]transitivePeerDependencies:- supports-colordev: true@@ -4614,7 +5618,6 @@ packages:/@jridgewell/resolve-uri/3.1.0:resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==}engines: {node: '>=6.0.0'}- dev: true/@jridgewell/set-array/1.1.2:resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==}@@ -4630,7 +5633,6 @@ packages:/@jridgewell/sourcemap-codec/1.4.14:resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==}- dev: true/@jridgewell/trace-mapping/0.3.14:resolution: {integrity: sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==}@@ -4649,9 +5651,8 @@ packages:/@jridgewell/trace-mapping/0.3.9:resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}dependencies:- '@jridgewell/resolve-uri': 3.0.8+ '@jridgewell/resolve-uri': 3.1.0'@jridgewell/sourcemap-codec': 1.4.14- dev: true/@jsdevtools/ono/7.1.3:resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==}@@ -4719,6 +5720,49 @@ packages:resolution: {integrity: sha512-EWUguj2kd7ldmrF9F+vI5hUOralPd+sdsUnYbRy33vZTuZkduC1shE9TtEMEjAQwyfyMb4ole5KtjF8MsnQOlA==}dev: true+ /@microsoft/api-extractor-model/7.26.4:+ resolution: {integrity: sha512-PDCgCzXDo+SLY5bsfl4bS7hxaeEtnXj7XtuzEE+BtALp7B5mK/NrS2kHWU69pohgsRmEALycQdaQPXoyT2i5MQ==}+ dependencies:+ '@microsoft/tsdoc': 0.14.2+ '@microsoft/tsdoc-config': 0.16.2+ '@rushstack/node-core-library': 3.55.2+ transitivePeerDependencies:+ - '@types/node'+ dev: true++ /@microsoft/api-extractor/7.34.4:+ resolution: {integrity: sha512-HOdcci2nT40ejhwPC3Xja9G+WSJmWhCUKKryRfQYsmE9cD+pxmBaKBKCbuS9jUcl6bLLb4Gz+h7xEN5r0QiXnQ==}+ hasBin: true+ dependencies:+ '@microsoft/api-extractor-model': 7.26.4+ '@microsoft/tsdoc': 0.14.2+ '@microsoft/tsdoc-config': 0.16.2+ '@rushstack/node-core-library': 3.55.2+ '@rushstack/rig-package': 0.3.18+ '@rushstack/ts-command-line': 4.13.2+ colors: 1.2.5+ lodash: 4.17.21+ resolve: 1.22.1+ semver: 7.3.8+ source-map: 0.6.1+ typescript: 4.8.4+ transitivePeerDependencies:+ - '@types/node'+ dev: true++ /@microsoft/tsdoc-config/0.16.2:+ resolution: {integrity: sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==}+ dependencies:+ '@microsoft/tsdoc': 0.14.2+ ajv: 6.12.6+ jju: 1.4.0+ resolve: 1.19.0+ dev: true++ /@microsoft/tsdoc/0.14.2:+ resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==}+ dev: true+/@n1ru4l/graphql-live-query/[email protected]:resolution: {integrity: sha512-BTpWy1e+FxN82RnLz4x1+JcEewVdfmUhV1C6/XYD5AjS7PQp9QFF7K8bCD6gzPTr2l+prvqOyVueQhFJxB1vfg==}peerDependencies:@@ -5017,6 +6061,32 @@ packages:transitivePeerDependencies:- encoding+ /@peculiar/asn1-schema/2.3.3:+ resolution: {integrity: sha512-6GptMYDMyWBHTUKndHaDsRZUO/XMSgIns2krxcm2L7SEExRHwawFvSwNBhqNPR9HJwv3MruAiF1bhN0we6j6GQ==}+ dependencies:+ asn1js: 3.0.5+ pvtsutils: 1.3.2+ tslib: 2.5.0+ dev: true++ /@peculiar/json-schema/1.1.12:+ resolution: {integrity: sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w==}+ engines: {node: '>=8.0.0'}+ dependencies:+ tslib: 2.5.0+ dev: true++ /@peculiar/webcrypto/1.4.1:+ resolution: {integrity: sha512-eK4C6WTNYxoI7JOabMoZICiyqRRtJB220bh0Mbj5RwRycleZf9BPyZoxsTvpP0FpmVS2aS13NKOuh5/tN3sIRw==}+ engines: {node: '>=10.12.0'}+ dependencies:+ '@peculiar/asn1-schema': 2.3.3+ '@peculiar/json-schema': 1.1.12+ pvtsutils: 1.3.2+ tslib: 2.5.0+ webcrypto-core: 1.7.6+ dev: true+/@phc/format/1.0.0:resolution: {integrity: sha512-m7X9U6BG2+J+R1lSOdCiITLLrxm+cWlNI3HUFA92oLO77ObGNzaKdh8pMLqdZcshtkKuV84olNNXDfMc4FezBQ==}engines: {node: '>=10'}@@ -5123,6 +6193,10 @@ packages:jest-matcher-utils: 28.1.1dev: true+ /@repeaterjs/repeater/3.0.4:+ resolution: {integrity: sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA==}+ dev: true+/@rollup/plugin-babel/5.3.1_p5rdeczgubbtv4lfg2mcoxxnwm:resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==}engines: {node: '>= 10.0.0'}@@ -5205,10 +6279,57 @@ packages:estree-walker: 2.0.2picomatch: 2.3.1+ /@rollup/pluginutils/5.0.2:+ resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==}+ engines: {node: '>=14.0.0'}+ peerDependencies:+ rollup: ^1.20.0||^2.0.0||^3.0.0+ peerDependenciesMeta:+ rollup:+ optional: true+ dependencies:+ '@types/estree': 1.0.0+ estree-walker: 2.0.2+ picomatch: 2.3.1+ dev: true+/@rushstack/eslint-patch/1.1.4:resolution: {integrity: sha512-LwzQKA4vzIct1zNZzBmRKI9QuNpLgTQMEjsQLf3BXuGYb3QPTP4Yjf6mkdX+X1mYttZ808QpOwAzZjv28kq7DA==}dev: true+ /@rushstack/node-core-library/3.55.2:+ resolution: {integrity: sha512-SaLe/x/Q/uBVdNFK5V1xXvsVps0y7h1sN7aSJllQyFbugyOaxhNRF25bwEDnicARNEjJw0pk0lYnJQ9Kr6ev0A==}+ peerDependencies:+ '@types/node': '*'+ peerDependenciesMeta:+ '@types/node':+ optional: true+ dependencies:+ colors: 1.2.5+ fs-extra: 7.0.1+ import-lazy: 4.0.0+ jju: 1.4.0+ resolve: 1.22.1+ semver: 7.3.8+ z-schema: 5.0.5+ dev: true++ /@rushstack/rig-package/0.3.18:+ resolution: {integrity: sha512-SGEwNTwNq9bI3pkdd01yCaH+gAsHqs0uxfGvtw9b0LJXH52qooWXnrFTRRLG1aL9pf+M2CARdrA9HLHJys3jiQ==}+ dependencies:+ resolve: 1.22.1+ strip-json-comments: 3.1.1+ dev: true++ /@rushstack/ts-command-line/4.13.2:+ resolution: {integrity: sha512-bCU8qoL9HyWiciltfzg7GqdfODUeda/JpI0602kbN5YH22rzTxyqYvv7aRLENCM7XCQ1VRs7nMkEqgJUOU8Sag==}+ dependencies:+ '@types/argparse': 1.0.38+ argparse: 1.0.10+ colors: 1.2.5+ string-argv: 0.3.1+ dev: true+/@sentry/browser/7.13.0:resolution: {integrity: sha512-WbgClHPYe8TKsdVVbuzd6alxwh3maFQNuljMkSTnYvPx2P+NT0wHljTs37D39FGfSmAwaqn7D/1ZHAtC+6mWxA==}engines: {node: '>=8'}@@ -5471,21 +6592,26 @@ packages:engines: {node: '>= 10'}dev: true+ /@ts-morph/common/0.18.1:+ resolution: {integrity: sha512-RVE+zSRICWRsfrkAw5qCAK+4ZH9kwEFv5h0+/YeHTLieWP7F4wWq4JsKFuNWG+fYh/KF+8rAtgdj5zb2mm+DVA==}+ dependencies:+ fast-glob: 3.2.12+ minimatch: 5.1.0+ mkdirp: 1.0.4+ path-browserify: 1.0.1+ dev: true+/@tsconfig/node10/1.0.9:resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==}- dev: true/@tsconfig/node12/1.0.11:resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==}- dev: true/@tsconfig/node14/1.0.3:resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==}- dev: true/@tsconfig/node16/1.0.3:resolution: {integrity: sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==}- dev: true/@types/accepts/1.3.5:resolution: {integrity: sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==}@@ -5503,6 +6629,10 @@ packages:- supports-colordev: true+ /@types/argparse/1.0.38:+ resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==}+ dev: true+/@types/axios/0.14.0:resolution: {integrity: sha512-KqQnQbdYE54D7oa/UmYVMZKq7CO4l8DEENzOKc4aBRwxCXSlJXGz83flFx5L7AWrOQnmuN3kVsRdt+GZPPjiVQ==}deprecated: This is a stub types definition for axios (https://github.com/mzabriskie/axios). axios provides its own type definitions, so you don't need @types/axios installed!@@ -5590,6 +6720,12 @@ packages:resolution: {integrity: sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==}dev: false+ /@types/cors/2.8.13:+ resolution: {integrity: sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==}+ dependencies:+ '@types/node': 18.11.10+ dev: false+/@types/debug/4.1.7:resolution: {integrity: sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==}dependencies:@@ -5616,6 +6752,10 @@ packages:/@types/estree/0.0.51:resolution: {integrity: sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==}+ /@types/estree/1.0.0:+ resolution: {integrity: sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==}+ dev: true+/@types/express-serve-static-core/4.17.31:resolution: {integrity: sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q==}dependencies:@@ -5631,6 +6771,15 @@ packages:'@types/qs': 6.9.7'@types/serve-static': 1.15.0+ /@types/express/4.17.16:+ resolution: {integrity: sha512-LkKpqRZ7zqXJuvoELakaFYuETHjZkSol8EV6cNnyishutDBCCdv6+dsKPbKkCcIk57qRphOLY5sEgClw1bO3gA==}+ dependencies:+ '@types/body-parser': 1.19.2+ '@types/express-serve-static-core': 4.17.31+ '@types/qs': 6.9.7+ '@types/serve-static': 1.15.0+ dev: false+/@types/flexsearch/0.7.3:resolution: {integrity: sha512-HXwADeHEP4exXkCIwy2n1+i0f1ilP1ETQOH5KDOugjkTFZPntWo0Gr8stZOaebkxsdx+k0X/K6obU/+it07ocg==}dev: true@@ -5699,6 +6848,12 @@ packages:dependencies:'@types/node': 18.11.10+ /@types/jsonwebtoken/9.0.1:+ resolution: {integrity: sha512-c5ltxazpWabia/4UzhIoaDcIza4KViOQhdbjRlfcIGVnsE3c3brkz9Z+F/EeJIECOQP7W7US2hNE930cWWkPiw==}+ dependencies:+ '@types/node': 18.11.10+ dev: true+/@types/linkify-it/3.0.2:resolution: {integrity: sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==}dev: true@@ -5883,6 +7038,14 @@ packages:resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==}dev: true+ /@types/strip-bom/3.0.0:+ resolution: {integrity: sha512-xevGOReSYGM7g/kUBZzPqCrR/KYAo+F0yiPc85WFTJa0MSLtyFTVTU6cJu/aV4mid7IffDIWqo69THF2o4JiEQ==}+ dev: false++ /@types/strip-json-comments/0.0.30:+ resolution: {integrity: sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ==}+ dev: false+/@types/superagent/4.1.16:resolution: {integrity: sha512-tLfnlJf6A5mB6ddqF159GqcDizfzbMUB1/DeT59/wBNqzRTNNKsaw79A/1TZ84X+f/EwWH8FeuSkjlCLyqS/zQ==}dependencies:@@ -5911,6 +7074,10 @@ packages:resolution: {integrity: sha512-5d2RhCard1nQUC3aHcq/gHzWYO6K0WJmAbjO7mQJgCQKtZpgXxv1rOM6O/dBDhDYYVutk1sciOgNSe+5YyfM8A==}dev: false+ /@types/web-bluetooth/0.0.16:+ resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==}+ dev: false+/@types/ws/8.5.3:resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==}dependencies:@@ -6563,6 +7730,15 @@ packages:graphql: 15.8.0wonka: 4.0.15+ /@urql/core/[email protected]:+ resolution: {integrity: sha512-Mnxtq4I4QeFJsgs7Iytw+HyhiGxISR6qtyk66c9tipozLZ6QVxrCiUPF2HY4BxNIabaxcp+rivadvm8NAnXj4Q==}+ peerDependencies:+ graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ graphql: 16.6.0+ wonka: 6.1.2+ dev: false+/@urql/devtools/2.0.3_orwd6brffn6tmxxcil5zw6uzri:resolution: {integrity: sha512-TktPLiBS9LcBPHD6qcnb8wqOVcg3Bx0iCtvQ80uPpfofwwBGJmqnQTjUdEFU6kwaLOFZULQ9+Uo4831G823mQw==}peerDependencies:@@ -6601,6 +7777,26 @@ packages:graphql: 15.8.0dev: true+ /@urql/introspection/[email protected]:+ resolution: {integrity: sha512-tekSLLqWnusfV6V7xaEnLJQSdXOD/lWy7f8JYQwrX+88Md+voGSCSx5WJXI7KLBN3Tat2OV08tAr8UROykls4Q==}+ peerDependencies:+ graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ graphql: 16.6.0+ dev: true++ /@urql/vue/[email protected][email protected]:+ resolution: {integrity: sha512-soycMzRekSUCa+QQYSc9gF9qMOeIkfKnirFySVlW8mVhCRBwyjKvb37Z9eksRCqzGerKsn54zmdsgR66LKrGng==}+ peerDependencies:+ graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ vue: ^2.7.0 || ^3.0.0+ dependencies:+ '@urql/core': [email protected]+ graphql: 16.6.0+ vue: 3.2.45+ wonka: 6.1.2+ dev: false+/@vitejs/plugin-legacy/[email protected]:resolution: {integrity: sha512-Bh62i0gzQvvT8AeAAb78nOnqSYXypkRmQmOTImdPZ39meHR9e2une3AIFmVo4s1SDmcmJ6qj18Sa/lRc/14KaA==}engines: {node: ^14.18.0 || >=16.0.0}@@ -6628,7 +7824,16 @@ packages:magic-string: 0.26.7regenerator-runtime: 0.13.10systemjs: 6.13.0- vite: 3.2.4+ vite: [email protected]++ /@vitejs/plugin-vue/[email protected]:+ resolution: {integrity: sha512-/QJ0Z9qfhAFtKRY+r57ziY4BSbGUTGsPRMpB/Ron3QPwBZM4OZAZHdTa4a8PafCwU5DTatXG8TMDoP8z+oDqJw==}+ engines: {node: '>=12.0.0'}+ peerDependencies:+ vite: ^2.5.10+ dependencies:+ vite: [email protected]+ dev: true/@vitejs/plugin-vue/[email protected][email protected]:resolution: {integrity: sha512-fmxtHPjSOEIRg6vHYDaem+97iwCUg/uSIaTzp98lhELt2ISOQuDo2hbkBdXod0g15IhfPMQmAxh4heUks2zvDA==}@@ -6648,16 +7853,33 @@ packages:vite: ^3.0.0vue: ^3.2.25dependencies:- vite: 3.2.4+ vite: [email protected]vue: 3.2.45dev: true+ /@volar/code-gen/0.27.24:+ resolution: {integrity: sha512-s4j/QqOZUW03PeD6LmVYI00Q1C3CfJEOePDOQwDvCTUov4lFk0iSBtFyYhjlLyQ1pdtV1+TDTErkj2aMQtc4PA==}+ dependencies:+ '@volar/shared': 0.27.24+ '@volar/source-map': 0.27.24+ dev: true+/@volar/code-gen/0.38.2:resolution: {integrity: sha512-H81I6d7rZB7teqL+zhK/Xz1v0/kKkUwkB0Aq6b4+BTCqcJeiZkoWxd0gFhrhWTnUoqiM83lhoTGo2vkvx5YagQ==}dependencies:'@volar/source-map': 0.38.2dev: true+ /@volar/html2pug/0.27.13:+ resolution: {integrity: sha512-3NYgNA5F3PDsKbbpOrVdGy2S7ZYmZIbFmbp1A/27DDzjj/uIC9Pj7HXVvbYOzi8HcOxUPt0BMrh4TVzBUaCFww==}+ deprecated: 'WARNING: This project has been renamed to @johnsoncodehk/html2pug. Install using @johnsoncodehk/html2pug instead.'+ dependencies:+ domelementtype: 2.3.0+ domhandler: 4.3.1+ htmlparser2: 6.1.0+ pug: 3.0.2+ dev: true+/@volar/language-core/1.0.9:resolution: {integrity: sha512-5Fty3slLet6svXiJw2YxhYeo6c7wFdtILrql5bZymYLM+HbiZtJbryW1YnUEKAP7MO9Mbeh+TNH4Z0HFxHgIqw==}dependencies:@@ -6666,6 +7888,20 @@ packages:muggle-string: 0.1.0dev: true+ /@volar/shared/0.27.24:+ resolution: {integrity: sha512-Mi8a4GQaiorfb+o4EqOXDZm9E/uBJXgScFgF+NhtcMBOUKHNMKQyLI7YRGumtyJTTdaX7nSDJjGGTkv23tcOtQ==}+ dependencies:+ upath: 2.0.1+ vscode-jsonrpc: 8.0.2+ vscode-uri: 3.0.3+ dev: true++ /@volar/source-map/0.27.24:+ resolution: {integrity: sha512-2I5a7cXqekZ66D6lHep7ttJgvVVtPEBUIe1hnpcGbnXWNA2ya6f6jKNNyTmrXQyfkh32IEuaUd4kocR+3AKMag==}+ dependencies:+ '@volar/shared': 0.27.24+ dev: true+/@volar/source-map/0.38.2:resolution: {integrity: sha512-DWcYbYt9SPwk0r4VmXk1F0v4X5+hCqH1JRkAWSeJymQyXCQ2OQDEbY2PF12a7y2qn4FUBD2gOba2TynAqI8ZFQ==}dev: true@@ -6676,6 +7912,13 @@ packages:muggle-string: 0.1.0dev: true+ /@volar/transforms/0.27.24:+ resolution: {integrity: sha512-sOHi1ZSapFlxn7yPl4MO5TXd9aWC0BVq2CgXAJ2EESb+ddh2uJbGQgLLNocX+MDh419cUuuFT2QAJpuWHhJcng==}+ dependencies:+ '@volar/shared': 0.27.24+ vscode-languageserver: 8.0.2+ dev: true+/@volar/typescript/1.0.9:resolution: {integrity: sha512-dVziu+ShQUWuMukM6bvK2v2O446/gG6l1XkTh2vfkccw1IzjfbiP1TWQoNo1ipTfZOtu5YJGYAx+o5HNrGXWfQ==}dependencies:@@ -6722,6 +7965,16 @@ packages:'@volar/vue-language-core': 1.0.9dev: true+ /@vscode/emmet-helper/2.8.6:+ resolution: {integrity: sha512-IIB8jbiKy37zN8bAIHx59YmnIelY78CGHtThnibD/d3tQOKRY83bYVi9blwmZVUZh6l9nfkYH3tvReaiNxY9EQ==}+ dependencies:+ emmet: 2.3.6+ jsonc-parser: 2.3.1+ vscode-languageserver-textdocument: 1.0.7+ vscode-languageserver-types: 3.17.2+ vscode-uri: 2.1.2+ dev: true+/@vue/compiler-core/3.2.37:resolution: {integrity: sha512-81KhEjo7YAOh0vQJoSmAD68wLfYqJvoiD4ulyedzF+OEk/bk6/hx3fTNVfuzugIIaTrOx4PGx6pAiBRe5e9Zmg==}dependencies:@@ -6814,7 +8067,7 @@ packages:'@vue/shared': 3.2.45estree-walker: 2.0.2magic-string: 0.25.9- postcss: 8.4.19+ postcss: 8.4.21source-map: 0.6.1/@vue/compiler-ssr/3.2.37:@@ -7043,6 +8296,18 @@ packages:vue-demi: [email protected]dev: false+ /@vueuse/core/[email protected]:+ resolution: {integrity: sha512-h/Di8Bvf6xRcvS/PvUVheiMYYz3U0tH3X25YxONSaAUBa841ayMwxkuzx/DGUMCW/wHWzD8tRy2zYmOC36r4sg==}+ dependencies:+ '@types/web-bluetooth': 0.0.16+ '@vueuse/metadata': 9.12.0+ '@vueuse/shared': [email protected]+ vue-demi: [email protected]+ transitivePeerDependencies:+ - '@vue/composition-api'+ - vue+ dev: false+/@vueuse/head/[email protected]:resolution: {integrity: sha512-5wnRiH2XIUSLLXJDLDDTcpvAg5QXgTIVZl46AU7to/T91KHsdBLHSE4WhRO7kP0jbkAhlxnx64E29cQtwBrMjg==}peerDependencies:@@ -7063,6 +8328,10 @@ packages:resolution: {integrity: sha512-emJZKRQSaEnVqmlu39NpNp8iaW+bPC2kWykWoWOZMSlO/0QVEmO/rt8A5VhOEJTKLX3vwTevqbiRy9WJRwVOQg==}dev: false+ /@vueuse/metadata/9.12.0:+ resolution: {integrity: sha512-9oJ9MM9lFLlmvxXUqsR1wLt1uF7EVbP5iYaHJYqk+G2PbMjY6EXvZeTjbdO89HgoF5cI6z49o2zT/jD9SVoNpQ==}+ dev: false+/@vueuse/shared/[email protected]:resolution: {integrity: sha512-THXPvMBFmg6Gf6AwRn/EdTh2mhqwjGsB2Yfp374LNQSQVKRHtnJ0I42bsZTn7nuEliBxqUrGQm/lN6qUHmhJLw==}peerDependencies:@@ -7093,6 +8362,15 @@ packages:vue-demi: [email protected]dev: false+ /@vueuse/shared/[email protected]:+ resolution: {integrity: sha512-TWuJLACQ0BVithVTRbex4Wf1a1VaRuSpVeyEd4vMUWl54PzlE0ciFUshKCXnlLuD0lxIaLK4Ypj3NXYzZh4+SQ==}+ dependencies:+ vue-demi: [email protected]+ transitivePeerDependencies:+ - '@vue/composition-api'+ - vue+ dev: false+/@webassemblyjs/ast/1.11.1:resolution: {integrity: sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==}dependencies:@@ -7204,6 +8482,56 @@ packages:engines: {node: '>=8.0.0'}dev: true+ /@whatwg-node/events/0.0.2:+ resolution: {integrity: sha512-WKj/lI4QjnLuPrim0cfO7i+HsDSXHxNv1y0CrJhdntuO3hxWZmnXCwNDnwOvry11OjRin6cgWNF+j/9Pn8TN4w==}+ dev: true++ /@whatwg-node/fetch/0.6.9:+ resolution: {integrity: sha512-JfrBCJdMu9n9OARc0e/hPHcD98/8Nz1CKSdGYDg6VbObDkV/Ys30xe5i/wPOatYbxuvatj1kfWeHf7iNX3i17w==}+ dependencies:+ '@peculiar/webcrypto': 1.4.1+ '@whatwg-node/node-fetch': 0.0.5+ busboy: 1.6.0+ urlpattern-polyfill: 6.0.2+ web-streams-polyfill: 3.2.1+ transitivePeerDependencies:+ - '@types/node'+ dev: true++ /@whatwg-node/fetch/0.8.1:+ resolution: {integrity: sha512-Fkd1qQHK2tAWxKlC85h9L86Lgbq3BzxMnHSnTsnzNZMMzn6Xi+HlN8/LJ90LxorhSqD54td+Q864LgwUaYDj1Q==}+ dependencies:+ '@peculiar/webcrypto': 1.4.1+ '@whatwg-node/node-fetch': 0.3.0+ busboy: 1.6.0+ urlpattern-polyfill: 6.0.2+ web-streams-polyfill: 3.2.1+ transitivePeerDependencies:+ - '@types/node'+ dev: true++ /@whatwg-node/node-fetch/0.0.5:+ resolution: {integrity: sha512-hbccmaSZaItdsRuBKBEEhLoO+5oXJPxiyd0kG2xXd0Dh3Rt+vZn4pADHxuSiSHLd9CM+S2z4+IxlEGbWUgiz9g==}+ peerDependencies:+ '@types/node': ^18.0.6+ dependencies:+ '@whatwg-node/events': 0.0.2+ busboy: 1.6.0+ tslib: 2.5.0+ dev: true++ /@whatwg-node/node-fetch/0.3.0:+ resolution: {integrity: sha512-mPM8WnuHiI/3kFxDeE0SQQXAElbz4onqmm64fEGCwYEcBes2UsvIDI8HwQIqaXCH42A9ajJUPv4WsYoN/9oG6w==}+ peerDependencies:+ '@types/node': ^18.0.6+ dependencies:+ '@whatwg-node/events': 0.0.2+ busboy: 1.6.0+ fast-querystring: 1.1.1+ fast-url-parser: 1.1.3+ tslib: 2.5.0+ dev: true+/@windicss/config/1.8.8:resolution: {integrity: sha512-kNas/zMkwsDFMcJPmHoPDJlQi1MHvYwx8BSxo9JKcbCW7Gaj8Rg2CnEImX5YdT+ZcFQqQ+kUn0Vi/ScsAxhGEw==}dependencies:@@ -7343,10 +8671,9 @@ packages:resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==}engines: {node: '>=0.4.0'}hasBin: true- dev: true/after/0.8.2:- resolution: {integrity: sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=}+ resolution: {integrity: sha512-QbJ0NTQ/I9DI3uSJA4cbexiwQeRAfjPScqIbSjUDd9TOrcg6pTkdgziesOqxBMBzit8vFCTwrP27t13vFOORRA==}dev: false/agent-base/6.0.2:@@ -7678,6 +9005,19 @@ packages:resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==}dev: true+ /asn1js/3.0.5:+ resolution: {integrity: sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==}+ engines: {node: '>=12.0.0'}+ dependencies:+ pvtsutils: 1.3.2+ pvutils: 1.1.3+ tslib: 2.5.0+ dev: true++ /assert-never/1.2.1:+ resolution: {integrity: sha512-TaTivMB6pYI1kXwrFlEhLeGfOqoDNdTxjCdwRfFFkEA30Eu+k48W34nlok2EYWJfFFzqaEmichdNM7th6M5HNw==}+ dev: true+/astral-regex/2.0.0:resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==}engines: {node: '>=8'}@@ -7925,6 +9265,13 @@ packages:babel-preset-current-node-syntax: 1.0.1_@[email protected]dev: true+ /babel-walk/3.0.0-canary-5:+ resolution: {integrity: sha512-GAwkz0AihzY5bkwIY5QDR+LvsRQgB/B+1foMPvi0FZPMl5fjD7ICiznUiBdLYMH1QYe6vqu4gWYytZOccLouFw==}+ engines: {node: '>= 10.0.0'}+ dependencies:+ '@babel/types': 7.18.7+ dev: true+/backo2/1.0.2:resolution: {integrity: sha512-zj6Z6M7Eq+PBZ7PQxl5NT665MvJdAkzp0f60nAJ+sLaSCBPMwVak5ZegFbgVCzFcCJTKFoMizvM5Ld7+JrRJHA==}dev: false@@ -7933,7 +9280,7 @@ packages:resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}/base64-arraybuffer/0.1.4:- resolution: {integrity: sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=}+ resolution: {integrity: sha512-a1eIFi4R9ySrbiMuyTGx5e92uRH5tQY6kArNcFaKBUleIoLjdjBg7Zxm3Mqm3Kmkf27HLR/1fnxX9q8GQ7Iavg==}engines: {node: '>= 0.6.0'}dev: false@@ -8021,7 +9368,6 @@ packages:resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}dependencies:balanced-match: 1.0.2- dev: true/braces/3.0.2:resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}@@ -8239,6 +9585,21 @@ packages:upper-case-first: 2.0.2dev: true+ /change-case-all/1.0.15:+ resolution: {integrity: sha512-3+GIFhk3sNuvFAJKU46o26OdzudQlPNBCu1ZQi3cMeMHhty1bhDxu2WrEilVNYaGvqUtR1VSigFcJOiS13dRhQ==}+ dependencies:+ change-case: 4.1.2+ is-lower-case: 2.0.2+ is-upper-case: 2.0.2+ lower-case: 2.0.2+ lower-case-first: 2.0.2+ sponge-case: 1.0.1+ swap-case: 2.0.2+ title-case: 3.0.3+ upper-case: 2.0.2+ upper-case-first: 2.0.2+ dev: true+/change-case/4.1.2:resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==}dependencies:@@ -8260,6 +9621,12 @@ packages:engines: {node: '>=10'}dev: true+ /character-parser/2.2.0:+ resolution: {integrity: sha512-+UqJQjFEFaTAs3bNsF2j2kEN1baG/zghZbdqoYEDxGZtJo9LBzl1A+m0D4n3qKx8N2FNv8/Xp6yV9mQmBuptaw==}+ dependencies:+ is-regex: 1.1.4+ dev: true+/chardet/0.7.0:resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==}dev: true@@ -8374,6 +9741,10 @@ packages:engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'}dev: true+ /code-block-writer/11.0.3:+ resolution: {integrity: sha512-NiujjUFB4SwScJq2bwbYUtXbZhBSlY6vYzm++3Q6oC+U+injTqfPYFK8wS9COOmb2lueqp0ZRB4nK1VYeHgNyw==}+ dev: true+/collect-v8-coverage/1.0.1:resolution: {integrity: sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==}dev: true@@ -8402,6 +9773,11 @@ packages:/colorette/2.0.19:resolution: {integrity: sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==}+ /colors/1.2.5:+ resolution: {integrity: sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==}+ engines: {node: '>=0.1.90'}+ dev: true+/combined-stream/1.0.8:resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}engines: {node: '>= 0.8'}@@ -8430,6 +9806,13 @@ packages:engines: {node: ^12.20.0 || >=14}dev: false+ /commander/9.5.0:+ resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}+ engines: {node: ^12.20.0 || >=14}+ requiresBuild: true+ dev: true+ optional: true+/common-tags/1.8.2:resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}engines: {node: '>=4.0.0'}@@ -8453,18 +9836,18 @@ packages:dev: true/component-bind/1.0.0:- resolution: {integrity: sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=}+ resolution: {integrity: sha512-WZveuKPeKAG9qY+FkYDeADzdHyTYdIboXS59ixDeRJL5ZhxpqUnxSOwop4FQjMsiYm3/Or8cegVbpAHNA7pHxw==}dev: false/component-emitter/1.3.0:resolution: {integrity: sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==}/component-inherit/0.0.3:- resolution: {integrity: sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=}+ resolution: {integrity: sha512-w+LhYREhatpVqTESyGFg3NlP6Iu0kEKUHETY9GoZP/pQyW4mHFZuFWRUCIqVPZ36ueVLtoOEZaAqbCF2RDndaA==}dev: false/concat-map/0.0.1:- resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}+ resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}/concat-stream/1.6.2:resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==}@@ -8500,6 +9883,13 @@ packages:tslib: 2.4.0upper-case: 2.0.2+ /constantinople/4.0.1:+ resolution: {integrity: sha512-vCrqcSIq4//Gx74TXXCGnHpulY1dskqLTFGDmhrGxzeXL8lF8kvXv6mpNWlJj1uD4DW23D4ljAqbY4RRaaUZIw==}+ dependencies:+ '@babel/parser': 7.18.6+ '@babel/types': 7.18.7+ dev: true+/content-disposition/0.5.4:resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}engines: {node: '>= 0.6'}@@ -8627,6 +10017,20 @@ packages:- '@swc/wasm'dev: true+ /cosmiconfig-typescript-loader/4.3.0_qilgflazl3ul6lmrg6ergratta:+ resolution: {integrity: sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==}+ engines: {node: '>=12', npm: '>=6'}+ peerDependencies:+ '@types/node': '*'+ cosmiconfig: '>=7'+ ts-node: '>=10'+ typescript: '>=3'+ dependencies:+ cosmiconfig: 7.0.1+ ts-node: [email protected]+ typescript: 4.9.3+ dev: true+/cosmiconfig/7.0.1:resolution: {integrity: sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==}engines: {node: '>=10'}@@ -8637,6 +10041,16 @@ packages:path-type: 4.0.0yaml: 1.10.2+ /cosmiconfig/8.0.0:+ resolution: {integrity: sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==}+ engines: {node: '>=14'}+ dependencies:+ import-fresh: 3.3.0+ js-yaml: 4.1.0+ parse-json: 5.2.0+ path-type: 4.0.0+ dev: true+/create-require/1.1.1:resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}@@ -8765,6 +10179,10 @@ packages:/dataloader/2.1.0:resolution: {integrity: sha512-qTcEYLen3r7ojZNgVUaRggOI+KM7jrKxXeSHhogh/TWxYMeONEMqY+hmkobiYQozsGIyg9OYVzO4ZIfoB4I0pQ==}+ /dataloader/2.2.2:+ resolution: {integrity: sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g==}+ dev: true+/de-indent/1.0.2:resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==}dev: true@@ -8929,6 +10347,11 @@ packages:engines: {node: '>=0.10'}dev: false+ /depd/1.1.2:+ resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==}+ engines: {node: '>= 0.6'}+ dev: false+/depd/2.0.0:resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}engines: {node: '>= 0.8'}@@ -9003,6 +10426,22 @@ packages:dependencies:esutils: 2.0.3+ /doctypes/1.1.0:+ resolution: {integrity: sha512-LLBi6pEqS6Do3EKQ3J0NqHWV5hhb78Pi8vvESYwyOy2c31ZEZVdtitdzsQsKb7878PEERhzUk0ftqGhG6Mz+pQ==}+ dev: true++ /dom-serializer/1.4.1:+ resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==}+ dependencies:+ domelementtype: 2.3.0+ domhandler: 4.3.1+ entities: 2.1.0+ dev: true++ /domelementtype/2.3.0:+ resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}+ dev: true+/domexception/2.0.1:resolution: {integrity: sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==}engines: {node: '>=8'}@@ -9017,6 +10456,21 @@ packages:webidl-conversions: 7.0.0dev: true+ /domhandler/4.3.1:+ resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==}+ engines: {node: '>= 4'}+ dependencies:+ domelementtype: 2.3.0+ dev: true++ /domutils/2.8.0:+ resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==}+ dependencies:+ dom-serializer: 1.4.1+ domelementtype: 2.3.0+ domhandler: 4.3.1+ dev: true+/dot-case/3.0.4:resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==}dependencies:@@ -9043,6 +10497,12 @@ packages:resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==}dev: false+ /dynamic-dedupe/0.3.0:+ resolution: {integrity: sha512-ssuANeD+z97meYOqd50e04Ze5qp4bPqo8cCkI4TRjZkzAUgIDTrXV1R8QCdINpiI+hw14+rYazvTRdQrz0/rFQ==}+ dependencies:+ xtend: 4.0.2+ dev: false+/eastasianwidth/0.2.0:resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}dev: false@@ -9077,6 +10537,13 @@ packages:engines: {node: '>=10'}dev: true+ /emmet/2.3.6:+ resolution: {integrity: sha512-pLS4PBPDdxuUAmw7Me7+TcHbykTsBKN/S9XJbUOMFQrNv9MoshzyMFK/R57JBm94/6HSL4vHnDeEmxlC82NQ4A==}+ dependencies:+ '@emmetio/abbreviation': 2.2.3+ '@emmetio/css-abbreviation': 2.1.4+ dev: true+/emoji-regex/8.0.0:resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}@@ -9838,7 +11305,7 @@ packages:resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}/escape-string-regexp/1.0.5:- resolution: {integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=}+ resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}engines: {node: '>=0.8.0'}/escape-string-regexp/2.0.0:@@ -10463,6 +11930,19 @@ packages:jest-util: 29.4.1dev: true+ /express-graphql/[email protected]:+ resolution: {integrity: sha512-DwYaJQy0amdy3pgNtiTDuGGM2BLdj+YO2SgbKoLliCfuHv3VVTt7vNG/ZqK2hRYjtYHE2t2KB705EU94mE64zg==}+ engines: {node: '>= 10.x'}+ peerDependencies:+ graphql: ^14.7.0 || ^15.3.0+ dependencies:+ accepts: 1.3.8+ content-type: 1.0.4+ graphql: 16.6.0+ http-errors: 1.8.0+ raw-body: 2.5.1+ dev: false+/express/4.18.2:resolution: {integrity: sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==}engines: {node: '>= 0.10.0'}@@ -10534,6 +12014,10 @@ packages:engines: {node: ^10.17.0 || ^12.0.0 || >= 13.7.0}dev: true+ /fast-decode-uri-component/1.0.1:+ resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==}+ dev: true+/fast-deep-equal/3.1.3:resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}@@ -10550,7 +12034,6 @@ packages:glob-parent: 5.1.2merge2: 1.4.1micromatch: 4.0.5- dev: true/fast-glob/3.2.12:resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==}@@ -10568,9 +12051,21 @@ packages:/fast-levenshtein/2.0.6:resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}+ /fast-querystring/1.1.1:+ resolution: {integrity: sha512-qR2r+e3HvhEFmpdHMv//U8FnFlnYjaC6QKDuaXALDkw2kvHO8WDjxH+f/rHGR4Me4pnk8p9JAkRNTjYHAKRn2Q==}+ dependencies:+ fast-decode-uri-component: 1.0.1+ dev: true+/fast-safe-stringify/2.1.1:resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==}+ /fast-url-parser/1.1.3:+ resolution: {integrity: sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==}+ dependencies:+ punycode: 1.3.2+ dev: true+/fastq/1.13.0:resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==}dependencies:@@ -10855,6 +12350,15 @@ packages:universalify: 2.0.0dev: true+ /fs-extra/7.0.1:+ resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==}+ engines: {node: '>=6 <7 || >=8'}+ dependencies:+ graceful-fs: 4.2.10+ jsonfile: 4.0.0+ universalify: 0.1.2+ dev: true+/fs-extra/9.1.0:resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==}engines: {node: '>=10'}@@ -11111,6 +12615,38 @@ packages:- typescript- utf-8-validate+ /graphql-config/4.4.1_ul246jct24iapssnbw5f5pr2vu:+ resolution: {integrity: sha512-B8wlvfBHZ5WnI4IiuQZRqql6s+CKz7S+xpUeTb28Z8nRBi8tH9ChEBgT5FnTyE05PUhHlrS2jK9ICJ4YBl9OtQ==}+ engines: {node: '>= 10.0.0'}+ peerDependencies:+ cosmiconfig-toml-loader: ^1.0.0+ cosmiconfig-typescript-loader: ^4.0.0+ graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ peerDependenciesMeta:+ cosmiconfig-toml-loader:+ optional: true+ cosmiconfig-typescript-loader:+ optional: true+ dependencies:+ '@graphql-tools/graphql-file-loader': [email protected]+ '@graphql-tools/json-file-loader': [email protected]+ '@graphql-tools/load': [email protected]+ '@graphql-tools/merge': [email protected]+ '@graphql-tools/url-loader': [email protected]+ '@graphql-tools/utils': [email protected]+ cosmiconfig: 8.0.0+ cosmiconfig-typescript-loader: 4.3.0_qilgflazl3ul6lmrg6ergratta+ graphql: 16.6.0+ minimatch: 4.2.1+ string-env-interpolation: 1.0.1+ tslib: 2.5.0+ transitivePeerDependencies:+ - '@types/node'+ - bufferutil+ - encoding+ - utf-8-validate+ dev: true+/graphql-language-service-interface/2.10.2_h5eoywvcjsa4emif44kddonyyu:resolution: {integrity: sha512-RKIEBPhRMWdXY3fxRs99XysTDnEgAvNbu8ov/5iOlnkZsWQNzitjtd0O0l1CutQOQt3iXoHde7w8uhCnKL4tcg==}peerDependencies:@@ -11213,6 +12749,20 @@ packages:- encodingdev: true+ /graphql-request/[email protected]:+ resolution: {integrity: sha512-0OeRVYigVwIiXhNmqnPDt+JhMzsjinxHE7TVy3Lm6jUzav0guVcL0lfSbi6jVTRAxcbwgyr6yrZioSHxf9gHzw==}+ peerDependencies:+ graphql: 14 - 16+ dependencies:+ '@graphql-typed-document-node/core': [email protected]+ cross-fetch: 3.1.5+ extract-files: 9.0.0+ form-data: 3.0.1+ graphql: 16.6.0+ transitivePeerDependencies:+ - encoding+ dev: true+/graphql-subscriptions/[email protected]:resolution: {integrity: sha512-s6k2b8mmt9gF9pEfkxsaO1lTxaySfKoEJzEfmwguBbQ//Oq23hIXCfR1hm4kdh5hnR20RdwB+s3BCb+0duHSZA==}peerDependencies:@@ -11231,6 +12781,25 @@ packages:graphql: 15.8.0tslib: 2.4.1+ /graphql-tag/[email protected]:+ resolution: {integrity: sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==}+ engines: {node: '>=10'}+ peerDependencies:+ graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0+ dependencies:+ graphql: 16.6.0+ tslib: 2.4.1+ dev: true++ /graphql-ws/[email protected]:+ resolution: {integrity: sha512-fU8zwSgAX2noXAsuFiCZ8BtXeXZOzXyK5u1LloCdacsVth4skdBMPO74EG51lBoWSIZ8beUocdpV8+cQHBODnQ==}+ engines: {node: '>=10'}+ peerDependencies:+ graphql: '>=0.11 <=16'+ dependencies:+ graphql: 16.6.0+ dev: true+/graphql-ws/[email protected]:resolution: {integrity: sha512-hvyIS71vs4Tu/yUYHPvGXsTgo0t3arU820+lT5VjZS2go0ewp2LqyCgxEN56CzOG7Iys52eRhHBiD1gGRdiQtw==}engines: {node: '>=10'}@@ -11252,6 +12821,10 @@ packages:resolution: {integrity: sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==}engines: {node: '>= 10.x'}+ /graphql/16.6.0:+ resolution: {integrity: sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==}+ engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0}+/gray-matter/4.0.3:resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==}engines: {node: '>=6.0'}@@ -11303,7 +12876,7 @@ packages:dev: false/has-cors/1.1.0:- resolution: {integrity: sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=}+ resolution: {integrity: sha512-g5VNKdkFuUuVCP9gYfDJHjK2nqdQJ7aDLTnycnc2+RvsOQbuLdF5pm7vuE5J76SEBIQjs4kQY/BWq74JUmjbXA==}dev: false/has-flag/3.0.0:@@ -11443,6 +13016,26 @@ packages:resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}dev: true+ /htmlparser2/6.1.0:+ resolution: {integrity: sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==}+ dependencies:+ domelementtype: 2.3.0+ domhandler: 4.3.1+ domutils: 2.8.0+ entities: 2.1.0+ dev: true++ /http-errors/1.8.0:+ resolution: {integrity: sha512-4I8r0C5JDhT5VkvI47QktDW75rNlGVsUf/8hzjCC/wkWI/jdTRmBb9aI7erSG82r1bjKY3F6k28WnsVxB1C73A==}+ engines: {node: '>= 0.6'}+ dependencies:+ depd: 1.1.2+ inherits: 2.0.4+ setprototypeof: 1.2.0+ statuses: 1.5.0+ toidentifier: 1.0.0+ dev: false+/http-errors/2.0.0:resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==}engines: {node: '>= 0.8'}@@ -11606,6 +13199,11 @@ packages:engines: {node: '>=12.2'}dev: true+ /import-lazy/4.0.0:+ resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==}+ engines: {node: '>=8'}+ dev: true+/import-local/3.1.0:resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==}engines: {node: '>=8'}@@ -11624,7 +13222,7 @@ packages:engines: {node: '>=8'}/indexof/0.0.1:- resolution: {integrity: sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=}+ resolution: {integrity: sha512-i0G7hLJ1z0DE8dsqJa2rycj9dBmNKgXBvotXtZYXakU9oivfB9Uj2ZBC27qqef2U58/ZLwalxa1X/RDCdkHtVg==}dev: false/inflight/1.0.6:@@ -11806,6 +13404,13 @@ packages:dependencies:has-tostringtag: 1.0.0+ /is-expression/4.0.0:+ resolution: {integrity: sha512-zMIXX63sxzG3XrkHkrAPvm/OVZVSCPNkwMHU8oTX7/U3AL78I0QXCEICXUM13BIa8TYGZ68PiTKfQz3yaTNr4A==}+ dependencies:+ acorn: 7.4.1+ object-assign: 4.1.1+ dev: true+/is-extendable/0.1.1:resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==}engines: {node: '>=0.10.0'}@@ -11902,6 +13507,10 @@ packages:resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}dev: true+ /is-promise/2.2.2:+ resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==}+ dev: true+/is-regex/1.1.4:resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}engines: {node: '>= 0.4'}@@ -12033,12 +13642,20 @@ packages:- encodingdev: true- /isomorphic-ws/[email protected]:+ /isomorphic-ws/[email protected]:+ resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==}+ peerDependencies:+ ws: '*'+ dependencies:+ ws: 8.12.0++ /isomorphic-ws/[email protected]:resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==}peerDependencies:ws: '*'dependencies:- ws: 8.8.0+ ws: 8.12.1+ dev: true/istanbul-lib-coverage/3.2.0:resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==}@@ -13106,6 +14723,10 @@ packages:hasBin: truedev: true+ /jju/1.4.0:+ resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==}+ dev: true+/joycon/3.1.1:resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}engines: {node: '>=10'}@@ -13113,6 +14734,10 @@ packages:/js-sdsl/4.1.4:resolution: {integrity: sha512-Y2/yD55y5jteOAmY50JbUZYwk3CP3wnLPEZnlR1w9oKhITrBEtAxwuWKebFf8hMrPMgbYwFoWK/lH2sBkErELw==}+ /js-stringify/1.0.2:+ resolution: {integrity: sha512-rtS5ATOo2Q5k1G+DADISilDA6lv79zIiwFd6CcjuIxGKLFm5C+RLImRscVap9k55i+MOZwgliw+NejvkLuGD5g==}+ dev: true+/js-tokens/4.0.0:resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}@@ -13139,7 +14764,7 @@ packages:optional: truedependencies:abab: 2.0.6- acorn: 8.8.0+ acorn: 8.8.2acorn-globals: 6.0.0cssom: 0.4.4cssstyle: 2.3.0@@ -13288,6 +14913,10 @@ packages:semver: 6.3.0dev: true+ /jsonc-parser/2.3.1:+ resolution: {integrity: sha512-H8jvkz1O50L3dMZCsLqiuB2tA7muqbSg1AtGEkN0leAqGjsUzDJir3Zwr02BhqdcITPg3ei3mZ+HjMocAknhhg==}+ dev: true+/jsonc-parser/3.1.0:resolution: {integrity: sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==}dev: true@@ -13296,6 +14925,12 @@ packages:resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==}dev: true+ /jsonfile/4.0.0:+ resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==}+ optionalDependencies:+ graceful-fs: 4.2.10+ dev: true+/jsonfile/6.1.0:resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}dependencies:@@ -13347,7 +14982,13 @@ packages:lodash: 4.17.21ms: 2.1.3semver: 7.3.8- dev: false++ /jstransformer/1.0.0:+ resolution: {integrity: sha512-C9YK3Rf8q6VAPDCCU9fnqo3mAfOH6vUGnMcP4AQAYIEpWtfGLpwOTmZ+igtdK5y+VvI2n3CyYSzy4Qh34eq24A==}+ dependencies:+ is-promise: 2.2.2+ promise: 7.3.1+ dev: true/jszip/3.10.0:resolution: {integrity: sha512-LDfVtOLtOxb9RXkYOwPyNBTQDL4eUbqahtoY6x07GiDJHwSYvn8sHHIw8wINImV3MqbMNve2gSuM1DDqEKk09Q==}@@ -13383,6 +15024,9 @@ packages:/kolorist/1.5.1:resolution: {integrity: sha512-lxpCM3HTvquGxKGzHeknB/sUjuVoUElLlfYnXZT73K8geR9jQbroGlSCFBax9/0mpGoD3kzcMLnOlGQPJJNyqQ==}++ /kolorist/1.7.0:+ resolution: {integrity: sha512-ymToLHqL02udwVdbkowNpzjFd6UzozMtshPQKVi5k1EjKRqKqBrOnE9QbLEb0/pV76SAiIT13hdL8R6suc+f3g==}dev: true/leven/3.1.0:@@ -13506,6 +15150,10 @@ packages:/local-pkg/0.4.2:resolution: {integrity: sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==}engines: {node: '>=14'}++ /local-pkg/0.4.3:+ resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==}+ engines: {node: '>=14'}dev: true/locate-path/5.0.0:@@ -13554,7 +15202,6 @@ packages:/lodash.isequal/4.5.0:resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==}- dev: false/lodash.isinteger/4.0.4:resolution: {integrity: sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==}@@ -13684,6 +15331,13 @@ packages:dependencies:sourcemap-codec: 1.4.8+ /magic-string/0.29.0:+ resolution: {integrity: sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==}+ engines: {node: '>=12'}+ dependencies:+ '@jridgewell/sourcemap-codec': 1.4.14+ dev: true+/make-dir/3.1.0:resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}engines: {node: '>=8'}@@ -13815,6 +15469,16 @@ packages:'@types/node':optional: true+ /meros/1.2.1:+ resolution: {integrity: sha512-R2f/jxYqCAGI19KhAvaxSOxALBMkaXWH2a7rOyqQw+ZmizX5bKkEYWLzdhC+U82ZVVPVp6MCXe3EkVligh+12g==}+ engines: {node: '>=13'}+ peerDependencies:+ '@types/node': '>=13'+ peerDependenciesMeta:+ '@types/node':+ optional: true+ dev: true+/methods/1.1.2:resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==}engines: {node: '>= 0.6'}@@ -13878,7 +15542,6 @@ packages:engines: {node: '>=10'}dependencies:brace-expansion: 2.0.1- dev: true/minimist-options/4.1.0:resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==}@@ -14109,7 +15772,7 @@ packages:dependencies:hosted-git-info: 4.1.0is-core-module: 2.9.0- semver: 7.3.7+ semver: 7.3.8validate-npm-package-license: 3.0.4dev: true@@ -14501,6 +16164,10 @@ packages:utils-merge: 1.0.1dev: false+ /path-browserify/1.0.1:+ resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==}+ dev: true+/path-case/3.0.4:resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==}dependencies:@@ -14700,6 +16367,14 @@ packages:picocolors: 1.0.0source-map-js: 1.0.2+ /postcss/8.4.21:+ resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==}+ engines: {node: ^10 || ^12 || >=14}+ dependencies:+ nanoid: 3.3.4+ picocolors: 1.0.0+ source-map-js: 1.0.2+/postman-collection/4.1.4:resolution: {integrity: sha512-3b/ZUrCIXRG3Eh3P6usiBYSZbCHTwMsJJ1l2RID/rdv/EC8YyhVS5PKGKdpYrRB69F/fETD9lOAuhvCwj0h71w==}engines: {node: '>=10'}@@ -14871,6 +16546,97 @@ packages:resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==}dev: true+ /pug-attrs/3.0.0:+ resolution: {integrity: sha512-azINV9dUtzPMFQktvTXciNAfAuVh/L/JCl0vtPCwvOA21uZrC08K/UnmrL+SXGEVc1FwzjW62+xw5S/uaLj6cA==}+ dependencies:+ constantinople: 4.0.1+ js-stringify: 1.0.2+ pug-runtime: 3.0.1+ dev: true++ /pug-code-gen/3.0.2:+ resolution: {integrity: sha512-nJMhW16MbiGRiyR4miDTQMRWDgKplnHyeLvioEJYbk1RsPI3FuA3saEP8uwnTb2nTJEKBU90NFVWJBk4OU5qyg==}+ dependencies:+ constantinople: 4.0.1+ doctypes: 1.1.0+ js-stringify: 1.0.2+ pug-attrs: 3.0.0+ pug-error: 2.0.0+ pug-runtime: 3.0.1+ void-elements: 3.1.0+ with: 7.0.2+ dev: true++ /pug-error/2.0.0:+ resolution: {integrity: sha512-sjiUsi9M4RAGHktC1drQfCr5C5eriu24Lfbt4s+7SykztEOwVZtbFk1RRq0tzLxcMxMYTBR+zMQaG07J/btayQ==}+ dev: true++ /pug-filters/4.0.0:+ resolution: {integrity: sha512-yeNFtq5Yxmfz0f9z2rMXGw/8/4i1cCFecw/Q7+D0V2DdtII5UvqE12VaZ2AY7ri6o5RNXiweGH79OCq+2RQU4A==}+ dependencies:+ constantinople: 4.0.1+ jstransformer: 1.0.0+ pug-error: 2.0.0+ pug-walk: 2.0.0+ resolve: 1.22.1+ dev: true++ /pug-lexer/5.0.1:+ resolution: {integrity: sha512-0I6C62+keXlZPZkOJeVam9aBLVP2EnbeDw3An+k0/QlqdwH6rv8284nko14Na7c0TtqtogfWXcRoFE4O4Ff20w==}+ dependencies:+ character-parser: 2.2.0+ is-expression: 4.0.0+ pug-error: 2.0.0+ dev: true++ /pug-linker/4.0.0:+ resolution: {integrity: sha512-gjD1yzp0yxbQqnzBAdlhbgoJL5qIFJw78juN1NpTLt/mfPJ5VgC4BvkoD3G23qKzJtIIXBbcCt6FioLSFLOHdw==}+ dependencies:+ pug-error: 2.0.0+ pug-walk: 2.0.0+ dev: true++ /pug-load/3.0.0:+ resolution: {integrity: sha512-OCjTEnhLWZBvS4zni/WUMjH2YSUosnsmjGBB1An7CsKQarYSWQ0GCVyd4eQPMFJqZ8w9xgs01QdiZXKVjk92EQ==}+ dependencies:+ object-assign: 4.1.1+ pug-walk: 2.0.0+ dev: true++ /pug-parser/6.0.0:+ resolution: {integrity: sha512-ukiYM/9cH6Cml+AOl5kETtM9NR3WulyVP2y4HOU45DyMim1IeP/OOiyEWRr6qk5I5klpsBnbuHpwKmTx6WURnw==}+ dependencies:+ pug-error: 2.0.0+ token-stream: 1.0.0+ dev: true++ /pug-runtime/3.0.1:+ resolution: {integrity: sha512-L50zbvrQ35TkpHwv0G6aLSuueDRwc/97XdY8kL3tOT0FmhgG7UypU3VztfV/LATAvmUfYi4wNxSajhSAeNN+Kg==}+ dev: true++ /pug-strip-comments/2.0.0:+ resolution: {integrity: sha512-zo8DsDpH7eTkPHCXFeAk1xZXJbyoTfdPlNR0bK7rpOMuhBYb0f5qUVCO1xlsitYd3w5FQTK7zpNVKb3rZoUrrQ==}+ dependencies:+ pug-error: 2.0.0+ dev: true++ /pug-walk/2.0.0:+ resolution: {integrity: sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ==}+ dev: true++ /pug/3.0.2:+ resolution: {integrity: sha512-bp0I/hiK1D1vChHh6EfDxtndHji55XP/ZJKwsRqrz6lRia6ZC2OZbdAymlxdVFwd1L70ebrVJw4/eZ79skrIaw==}+ dependencies:+ pug-code-gen: 3.0.2+ pug-filters: 4.0.0+ pug-lexer: 5.0.1+ pug-linker: 4.0.0+ pug-load: 3.0.0+ pug-parser: 6.0.0+ pug-runtime: 3.0.1+ pug-strip-comments: 2.0.0+ dev: true+/pump/3.0.0:resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==}dependencies:@@ -14880,12 +16646,22 @@ packages:/punycode/1.3.2:resolution: {integrity: sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==}- dev: false/punycode/2.1.1:resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==}engines: {node: '>=6'}+ /pvtsutils/1.3.2:+ resolution: {integrity: sha512-+Ipe2iNUyrZz+8K/2IOo+kKikdtfhRKzNpQbruF2URmqPtoqAs8g3xS7TJvFF2GcPXjh7DkqMnpVveRFq4PgEQ==}+ dependencies:+ tslib: 2.5.0+ dev: true++ /pvutils/1.1.3:+ resolution: {integrity: sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==}+ engines: {node: '>=6.0.0'}+ dev: true+/q/1.5.1:resolution: {integrity: sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==}engines: {node: '>=0.6.0', teleport: '>=0.2.0'}@@ -15122,6 +16898,10 @@ packages:engines: {node: '>= 0.8.x'}dev: true+ /request-light/0.5.8:+ resolution: {integrity: sha512-3Zjgh+8b5fhRJBQZoy+zbVKpAQGLyka0MPgW3zruTF4dFFJ8Fqcfu9YsAvi/rvdcaTeWG3MkbZv4WKxAn/84Lg==}+ dev: true+/require-directory/2.1.1:resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}engines: {node: '>=0.10.0'}@@ -15175,6 +16955,13 @@ packages:engines: {node: '>=10'}dev: true+ /resolve/1.19.0:+ resolution: {integrity: sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==}+ dependencies:+ is-core-module: 2.9.0+ path-parse: 1.0.7+ dev: true+/resolve/1.22.1:resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==}hasBin: true@@ -15202,6 +16989,13 @@ packages:/rfdc/1.3.0:resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==}+ /rimraf/2.7.1:+ resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==}+ hasBin: true+ dependencies:+ glob: 7.2.0+ dev: false+/rimraf/3.0.2:resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}hasBin: true@@ -15377,6 +17171,15 @@ packages:immutable: 4.1.0source-map-js: 1.0.2+ /sass/1.58.0:+ resolution: {integrity: sha512-PiMJcP33DdKtZ/1jSjjqVIKihoDc6yWmYr9K/4r3fVVIEDAluD0q7XZiRKrNJcPK3qkLRF/79DND1H5q1LBjgg==}+ engines: {node: '>=12.0.0'}+ hasBin: true+ dependencies:+ chokidar: 3.5.3+ immutable: 4.1.0+ source-map-js: 1.0.2+/sax/1.2.4:resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==}dev: false@@ -15426,7 +17229,7 @@ packages:dependencies:jszip: 3.10.0tmp: 0.2.1- ws: 8.11.0+ ws: 8.12.1transitivePeerDependencies:- bufferutil- utf-8-validate@@ -15756,6 +17559,7 @@ packages:/sourcemap-codec/1.4.8:resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}+ deprecated: Please use @jridgewell/sourcemap-codec instead/spdx-correct/3.1.1:resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==}@@ -15818,7 +17622,6 @@ packages:/statuses/1.5.0:resolution: {integrity: sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==}engines: {node: '>= 0.6'}- dev: true/statuses/2.0.1:resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==}@@ -15844,7 +17647,6 @@ packages:/string-argv/0.3.1:resolution: {integrity: sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==}engines: {node: '>=0.6.19'}- dev: false/string-env-interpolation/1.0.1:resolution: {integrity: sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg==}@@ -15951,7 +17753,6 @@ packages:/strip-bom/3.0.0:resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}engines: {node: '>=4'}- dev: true/strip-bom/4.0.0:resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==}@@ -15974,6 +17775,11 @@ packages:min-indent: 1.0.1dev: true+ /strip-json-comments/2.0.1:+ resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==}+ engines: {node: '>=0.10.0'}+ dev: false+/strip-json-comments/3.1.1:resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}engines: {node: '>=8'}@@ -16214,7 +18020,7 @@ packages:hasBin: truedependencies:'@jridgewell/source-map': 0.3.2- acorn: 8.8.0+ acorn: 8.8.2commander: 2.20.3source-map-support: 0.5.21dev: true@@ -16304,7 +18110,7 @@ packages:dev: true/to-array/0.1.4:- resolution: {integrity: sha1-F+bBH3PdTz10zaek/zI46a2b+JA=}+ resolution: {integrity: sha512-LhVdShQD/4Mk4zXNroIQZJC+Ap3zgLcDuwEdcmLv9CCO73NWockQDwyUnW/m8VX/EElfL6FcYx7EeutN4HJA6A==}dev: false/to-fast-properties/2.0.0:@@ -16317,10 +18123,19 @@ packages:dependencies:is-number: 7.0.0+ /toidentifier/1.0.0:+ resolution: {integrity: sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==}+ engines: {node: '>=0.6'}+ dev: false+/toidentifier/1.0.1:resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}engines: {node: '>=0.6'}+ /token-stream/1.0.0:+ resolution: {integrity: sha512-VSsyNPPW74RpHwR8Fc21uubwHY7wMDeJLys2IX5zJNih+OnAnaifKHo+1LHT7DAdloQ7apeaaWg8l7qnf/TnEg==}+ dev: true+/totalist/3.0.0:resolution: {integrity: sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==}engines: {node: '>=6'}@@ -16482,6 +18297,41 @@ packages:resolution: {integrity: sha512-DEQrfv6l7IvN2jlzc/VTdZJYsWUnQNCsueYjMkC/iXoEoi5fNan6MjeDqkvhfzbmHgdz9UxDUluX3V5HdjTydQ==}dev: true+ /ts-morph/17.0.1:+ resolution: {integrity: sha512-10PkHyXmrtsTvZSL+cqtJLTgFXkU43Gd0JCc0Rw6GchWbqKe0Rwgt1v3ouobTZwQzF1mGhDeAlWYBMGRV7y+3g==}+ dependencies:+ '@ts-morph/common': 0.18.1+ code-block-writer: 11.0.3+ dev: true++ /ts-node-dev/[email protected]:+ resolution: {integrity: sha512-ywMrhCfH6M75yftYvrvNarLEY+SUXtUvU8/0Z6llrHQVBx12GiFk5sStF8UdfE/yfzk9IAq7O5EEbTQsxlBI8w==}+ engines: {node: '>=0.8.0'}+ hasBin: true+ peerDependencies:+ node-notifier: '*'+ typescript: '*'+ peerDependenciesMeta:+ node-notifier:+ optional: true+ dependencies:+ chokidar: 3.5.3+ dynamic-dedupe: 0.3.0+ minimist: 1.2.6+ mkdirp: 1.0.4+ resolve: 1.22.1+ rimraf: 2.7.1+ source-map-support: 0.5.21+ tree-kill: 1.2.2+ ts-node: [email protected]+ tsconfig: 7.0.0+ typescript: 4.9.3+ transitivePeerDependencies:+ - '@swc/core'+ - '@swc/wasm'+ - '@types/node'+ dev: false+/ts-node/10.8.2_7cep2inysldxstbcrxlp3njwym:resolution: {integrity: sha512-LYdGnoGddf1D6v8REPtIH+5iq/gTDuZqv2/UJUU7tKjuEU8xVZorBM+buCGNjj+pGEud+sOoM4CX3/YzINpENA==}hasBin: true@@ -16502,7 +18352,7 @@ packages:'@tsconfig/node14': 1.0.3'@tsconfig/node16': 1.0.3'@types/node': 17.0.45- acorn: 8.8.0+ acorn: 8.8.2acorn-walk: 8.2.0arg: 4.1.3create-require: 1.1.1@@ -16533,7 +18383,7 @@ packages:'@tsconfig/node14': 1.0.3'@tsconfig/node16': 1.0.3'@types/node': 18.11.10- acorn: 8.8.0+ acorn: 8.8.2acorn-walk: 8.2.0arg: 4.1.3create-require: 1.1.1@@ -16544,6 +18394,35 @@ packages:yn: 3.1.1dev: true+ /ts-node/[email protected]:+ resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}+ hasBin: true+ peerDependencies:+ '@swc/core': '>=1.2.50'+ '@swc/wasm': '>=1.2.50'+ '@types/node': '*'+ typescript: '>=2.7'+ peerDependenciesMeta:+ '@swc/core':+ optional: true+ '@swc/wasm':+ optional: true+ dependencies:+ '@cspotcode/source-map-support': 0.8.1+ '@tsconfig/node10': 1.0.9+ '@tsconfig/node12': 1.0.11+ '@tsconfig/node14': 1.0.3+ '@tsconfig/node16': 1.0.3+ acorn: 8.8.2+ acorn-walk: 8.2.0+ arg: 4.1.3+ create-require: 1.1.1+ diff: 4.0.2+ make-error: 1.3.6+ typescript: 4.9.3+ v8-compile-cache-lib: 3.0.1+ yn: 3.1.1+/ts-node/[email protected]:resolution: {integrity: sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==}engines: {node: '>=10.0.0'}@@ -16586,6 +18465,15 @@ packages:strip-bom: 3.0.0dev: true+ /tsconfig/7.0.0:+ resolution: {integrity: sha512-vZXmzPrL+EmC4T/4rVlT2jNVMWCi/O4DIiSj3UHg1OE5kCKbk4mfrXc6dZksLgRM/TZlKnousKH9bbTazUWRRw==}+ dependencies:+ '@types/strip-bom': 3.0.0+ '@types/strip-json-comments': 0.0.30+ strip-bom: 3.0.0+ strip-json-comments: 2.0.1+ dev: false+/tslib/1.14.1:resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}@@ -16595,6 +18483,9 @@ packages:/tslib/2.4.1:resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==}+ /tslib/2.5.0:+ resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==}+/tsup/5.12.9_liswqajbmjp6gyfdb6pun2kq5i:resolution: {integrity: sha512-dUpuouWZYe40lLufo64qEhDpIDsWhRbr2expv5dHEMjwqeKJS2aXA/FPqs1dxO4T6mBojo7rvo3jP9NNzaKyDg==}hasBin: true@@ -16763,7 +18654,6 @@ packages:resolution: {integrity: sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==}engines: {node: '>=4.2.0'}hasBin: true- dev: true/ua-parser-js/0.7.31:resolution: {integrity: sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==}@@ -16868,7 +18758,7 @@ packages:resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}engines: {node: '>= 0.8'}- /unplugin-icons/0.14.9_ucej6auec2vidlux2n3htzvxf4:+ /unplugin-icons/0.14.9_4xrupm67ziznosrlzffuj26hkq:resolution: {integrity: sha512-vPyVfNREH88dP6gszdaoGkAEFPpiScXj1A8eWN905jQgT53A3tsiPEiqJjCHOUVcsUaREt2JSudzumFOsCA78A==}peerDependencies:'@svgr/core': '>=5.5.0'@@ -16892,14 +18782,14 @@ packages:debug: 4.3.4kolorist: 1.5.1local-pkg: 0.4.2- unplugin: [email protected]+ unplugin: [email protected]transitivePeerDependencies:- esbuild- rollup- supports-color- vite- webpack- dev: true+ dev: false/unplugin-icons/[email protected]:resolution: {integrity: sha512-vPyVfNREH88dP6gszdaoGkAEFPpiScXj1A8eWN905jQgT53A3tsiPEiqJjCHOUVcsUaREt2JSudzumFOsCA78A==}@@ -16964,7 +18854,65 @@ packages:- supports-color- vite- webpack- dev: true+ dev: true++ /unplugin-icons/0.15.3_@[email protected]:+ resolution: {integrity: sha512-YWgJqv5AahrokeOnta8uX/m1damZA6Rf6zPClgHg2Fa/45iyOe3Lj+Wn/Ba+CSsq9yBffn17YfKfJNyWCNZPvw==}+ peerDependencies:+ '@svgr/core': '>=5.5.0'+ '@vue/compiler-sfc': ^3.0.2 || ^2.7.0+ vue-template-compiler: ^2.6.12+ vue-template-es2015-compiler: ^1.9.0+ peerDependenciesMeta:+ '@svgr/core':+ optional: true+ '@vue/compiler-sfc':+ optional: true+ vue-template-compiler:+ optional: true+ vue-template-es2015-compiler:+ optional: true+ dependencies:+ '@antfu/install-pkg': 0.1.1+ '@antfu/utils': 0.7.2+ '@iconify/utils': 2.1.4+ '@vue/compiler-sfc': 3.2.45+ debug: 4.3.4+ kolorist: 1.7.0+ local-pkg: 0.4.3+ unplugin: 1.1.0+ transitivePeerDependencies:+ - supports-color+ dev: true++ /unplugin-vue-components/[email protected][email protected]:+ resolution: {integrity: sha512-U7uOMNmRJ2eAv9CNjP8QRvxs6nAe3FVQUEIUphC1FGguBp3BWSLgGAcSHaX2nQy0gFoDY2mLF2M52W/t/eDaKg==}+ engines: {node: '>=14'}+ peerDependencies:+ '@babel/parser': ^7.15.8+ vue: 2 || 3+ peerDependenciesMeta:+ '@babel/parser':+ optional: true+ dependencies:+ '@antfu/utils': 0.5.2+ '@rollup/pluginutils': 4.2.1+ chokidar: 3.5.3+ debug: 4.3.4+ fast-glob: 3.2.11+ local-pkg: 0.4.2+ magic-string: 0.26.7+ minimatch: 5.1.0+ resolve: 1.22.1+ unplugin: [email protected]+ vue: 3.2.45+ transitivePeerDependencies:+ - esbuild+ - rollup+ - supports-color+ - vite+ - webpack+ dev: false/unplugin-vue-components/[email protected][email protected]:resolution: {integrity: sha512-U7uOMNmRJ2eAv9CNjP8QRvxs6nAe3FVQUEIUphC1FGguBp3BWSLgGAcSHaX2nQy0gFoDY2mLF2M52W/t/eDaKg==}@@ -17024,6 +18972,30 @@ packages:- webpackdev: true+ /unplugin/[email protected]:+ resolution: {integrity: sha512-Z6hNDXDNh9aimMkPU1mEjtk+2ova8gh0y7rJeJdGH1vWZOHwF2lLQiQ/R97rv9ymmzEQXsR2fyMet72T8jy6ew==}+ peerDependencies:+ esbuild: '>=0.13'+ rollup: ^2.50.0+ vite: ^2.3.0 || ^3.0.0-0+ webpack: 4 || 5+ peerDependenciesMeta:+ esbuild:+ optional: true+ rollup:+ optional: true+ vite:+ optional: true+ webpack:+ optional: true+ dependencies:+ acorn: 8.8.0+ chokidar: 3.5.3+ vite: [email protected]+ webpack-sources: 3.2.3+ webpack-virtual-modules: 0.4.4+ dev: false+/unplugin/[email protected]:resolution: {integrity: sha512-Z6hNDXDNh9aimMkPU1mEjtk+2ova8gh0y7rJeJdGH1vWZOHwF2lLQiQ/R97rv9ymmzEQXsR2fyMet72T8jy6ew==}peerDependencies:@@ -17067,11 +19039,35 @@ packages:dependencies:acorn: 8.8.0chokidar: 3.5.3- vite: 3.2.4+ vite: [email protected]webpack-sources: 3.2.3webpack-virtual-modules: 0.4.4dev: true+ /unplugin/[email protected]:+ resolution: {integrity: sha512-luraheyfxwtvkvHpsOvMNv7IjLdORTWKZp0gWYNHGLi2ImON3iIZOj464qEyyEwLA/EMt12fC415HW9zRpOfTg==}+ peerDependencies:+ esbuild: '>=0.13'+ rollup: ^2.50.0+ vite: ^2.3.0 || ^3.0.0-0+ webpack: 4 || 5+ peerDependenciesMeta:+ esbuild:+ optional: true+ rollup:+ optional: true+ vite:+ optional: true+ webpack:+ optional: true+ dependencies:+ acorn: 8.8.0+ chokidar: 3.5.3+ vite: [email protected]+ webpack-sources: 3.2.3+ webpack-virtual-modules: 0.4.4+ dev: false+/unplugin/[email protected]:resolution: {integrity: sha512-luraheyfxwtvkvHpsOvMNv7IjLdORTWKZp0gWYNHGLi2ImON3iIZOj464qEyyEwLA/EMt12fC415HW9zRpOfTg==}peerDependencies:@@ -17120,11 +19116,25 @@ packages:webpack-virtual-modules: 0.4.4dev: true+ /unplugin/1.1.0:+ resolution: {integrity: sha512-I8obQ8Rs/hnkxokRV6g8JKOQFgYNnTd9DL58vcSt5IJ9AkK8wbrtsnzD5hi4BJlvcY536JzfEXj9L6h7j559/A==}+ dependencies:+ acorn: 8.8.2+ chokidar: 3.5.3+ webpack-sources: 3.2.3+ webpack-virtual-modules: 0.5.0+ dev: true+/upath/1.2.0:resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==}engines: {node: '>=4'}dev: true+ /upath/2.0.1:+ resolution: {integrity: sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==}+ engines: {node: '>=4'}+ dev: true+/update-browserslist-db/[email protected]:resolution: {integrity: sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==}hasBin: true@@ -17169,6 +19179,12 @@ packages:querystring: 0.2.0dev: false+ /urlpattern-polyfill/6.0.2:+ resolution: {integrity: sha512-5vZjFlH9ofROmuWmXM9yj2wljYKgWstGwe8YTyiqM7hVum/g9LyCizPZtb3UqsuppVwety9QJmfc42VggLpTgg==}+ dependencies:+ braces: 3.0.2+ dev: true+/util-deprecate/1.0.2:resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}@@ -17204,7 +19220,6 @@ packages:/v8-compile-cache-lib/3.0.1:resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}- dev: true/v8-compile-cache/2.3.0:resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==}@@ -17238,12 +19253,16 @@ packages:/validator/13.7.0:resolution: {integrity: sha512-nYXQLCBkpJ8X6ltALua9dRrZDHVYxjJ1wgskNt1lH9fzGjs3tgojGSCBjmEPwkWS1y29+DrizMTW19Pr9uB2nw==}engines: {node: '>= 0.10'}- dev: false/value-or-promise/1.0.11:resolution: {integrity: sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg==}engines: {node: '>=12'}+ /value-or-promise/1.0.12:+ resolution: {integrity: sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==}+ engines: {node: '>=12'}+ dev: true+/vary/1.1.2:resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}engines: {node: '>= 0.8'}@@ -17347,6 +19366,29 @@ packages:vscode-uri: 3.0.3dev: true+ /vite-plugin-dts/[email protected]:+ resolution: {integrity: sha512-QrsbTxyt0choSYXPxPfmN9XcSvxcVZk0zticxLrI5DkECs9KhDrSVGok1YP/UPkoKpfF9ThtOJcM5Rjuesxv/w==}+ engines: {node: ^14.18.0 || >=16.0.0}+ peerDependencies:+ vite: '>=2.9.0'+ dependencies:+ '@babel/parser': 7.20.15+ '@microsoft/api-extractor': 7.34.4+ '@rollup/pluginutils': 5.0.2+ '@rushstack/node-core-library': 3.55.2+ debug: 4.3.4+ fast-glob: 3.2.12+ fs-extra: 10.1.0+ kolorist: 1.7.0+ magic-string: 0.29.0+ ts-morph: 17.0.1+ vite: [email protected]+ transitivePeerDependencies:+ - '@types/node'+ - rollup+ - supports-color+ dev: true+/vite-plugin-eslint/[email protected][email protected]:resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==}peerDependencies:@@ -17375,7 +19417,7 @@ packages:vite: ^2.0.0 || ^3.0.0dependencies:fast-glob: 3.2.11- vite: 3.2.4+ vite: [email protected]dev: true/vite-plugin-html-config/[email protected]:@@ -17393,7 +19435,7 @@ packages:peerDependencies:vite: '>=2.0.0'dependencies:- vite: 3.2.4+ vite: [email protected]dev: true/vite-plugin-inspect/[email protected]:@@ -17425,7 +19467,7 @@ packages:kolorist: 1.5.1sirv: 2.0.2ufo: 0.8.5- vite: 3.2.4+ vite: [email protected]transitivePeerDependencies:- supports-colordev: true@@ -17434,6 +19476,30 @@ packages:resolution: {integrity: sha512-8GlmNSeObvDVUdmgutfWnGBZGsn3Zb8IXCjRODFB0tOhQqAQPZRwXrFha6ZLjvF4DgVJI3sW2FfiXa1wFxJvmg==}dev: true+ /vite-plugin-pages/0.26.0_4xrupm67ziznosrlzffuj26hkq:+ resolution: {integrity: sha512-yJZvwHEt7puYIf19S89IvkDsWPjWleSied4H8hmdW6i8buCA93z1UAU1ipW1d8fNKrC4FzXsUHHbPm6+kl1p9w==}+ peerDependencies:+ '@vue/compiler-sfc': ^2.7.0 || ^3.0.0+ vite: ^2.0.0 || ^3.0.0-0+ peerDependenciesMeta:+ '@vue/compiler-sfc':+ optional: true+ dependencies:+ '@types/debug': 4.1.7+ '@vue/compiler-sfc': 3.2.45+ debug: 4.3.4+ deep-equal: 2.0.5+ extract-comments: 1.1.0+ fast-glob: 3.2.11+ json5: 2.2.1+ local-pkg: 0.4.2+ picocolors: 1.0.0+ vite: [email protected]+ yaml: 2.1.1+ transitivePeerDependencies:+ - supports-color+ dev: true+/vite-plugin-pages/0.26.0_ucej6auec2vidlux2n3htzvxf4:resolution: {integrity: sha512-yJZvwHEt7puYIf19S89IvkDsWPjWleSied4H8hmdW6i8buCA93z1UAU1ipW1d8fNKrC4FzXsUHHbPm6+kl1p9w==}peerDependencies:@@ -17622,6 +19688,37 @@ packages:- supports-colordev: true+ /vite-plugin-vue-layouts/0.7.0_xxumm4g4rkhkfqiqbziyjd5llu:+ resolution: {integrity: sha512-k5XDmRNFo4M/GmUjhbRXj2WmJiFcGoVI8l/uZ72RHyRDQr4wE/6Zq/KFq0lqXomWQxTSzakQRUswzNwtvZLE8A==}+ peerDependencies:+ vite: ^2.5.0 || ^3.0.0-0+ vue: ^2.6.12 || ^3.2.4+ vue-router: ^3.5.1 || ^ 4.0.11+ dependencies:+ '@vue/compiler-sfc': 3.2.45+ debug: 4.3.4+ fast-glob: 3.2.11+ vite: [email protected]+ vue: 3.2.45+ vue-router: [email protected]+ transitivePeerDependencies:+ - supports-color+ dev: true++ /vite-plugin-windicss/[email protected]:+ resolution: {integrity: sha512-iyu+ZX0NmhNEUaLPv7xtC+EFRBpWMmw0nhd9a9upayfuNG/thwslKiQKmRB7U/dG0k/2oWLvPDvN/B9i7oRgSA==}+ peerDependencies:+ vite: ^2.0.1 || ^3.0.0+ dependencies:+ '@windicss/plugin-utils': 1.8.8+ debug: 4.3.4+ kolorist: 1.5.1+ vite: [email protected]+ windicss: 3.5.6+ transitivePeerDependencies:+ - supports-color+ dev: true+/vite-plugin-windicss/[email protected]:resolution: {integrity: sha512-iyu+ZX0NmhNEUaLPv7xtC+EFRBpWMmw0nhd9a9upayfuNG/thwslKiQKmRB7U/dG0k/2oWLvPDvN/B9i7oRgSA==}peerDependencies:@@ -17644,12 +19741,36 @@ packages:'@windicss/plugin-utils': 1.8.8debug: 4.3.4kolorist: 1.5.1- vite: 3.2.4+ vite: [email protected]windicss: 3.5.6transitivePeerDependencies:- supports-colordev: true+ /vite/[email protected]:+ resolution: {integrity: sha512-fzMt2jK4vQ3yK56te3Kqpkaeq9DkcZfBbzHwYpobasvgYmP2SoAr6Aic05CsB4CzCZbsDv4sujX3pkEGhLabVQ==}+ engines: {node: '>=12.2.0'}+ hasBin: true+ peerDependencies:+ less: '*'+ sass: '*'+ stylus: '*'+ peerDependenciesMeta:+ less:+ optional: true+ sass:+ optional: true+ stylus:+ optional: true+ dependencies:+ esbuild: 0.14.48+ postcss: 8.4.21+ resolve: 1.22.1+ rollup: 2.75.7+ sass: 1.58.0+ optionalDependencies:+ fsevents: 2.3.2+/vite/[email protected]:resolution: {integrity: sha512-JoQI08aBjY9lycL7jcEq4p9o1xUjq5aRvdH4KWaXtkSx7e7RpAh9D3IjzDWRD4Fg44LS3oDAIOG/Kq1L+82psA==}engines: {node: ^14.18.0 || >=16.0.0}@@ -17708,6 +19829,7 @@ packages:rollup: 2.79.1optionalDependencies:fsevents: 2.3.2+ dev: true/vite/[email protected]:resolution: {integrity: sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw==}@@ -17742,11 +19864,49 @@ packages:optionalDependencies:fsevents: 2.3.2+ /void-elements/3.1.0:+ resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==}+ engines: {node: '>=0.10.0'}+ dev: true++ /vscode-css-languageservice/5.4.2:+ resolution: {integrity: sha512-DT7+7vfdT2HDNjDoXWtYJ0lVDdeDEdbMNdK4PKqUl2MS8g7PWt7J5G9B6k9lYox8nOfhCEjLnoNC3UKHHCR1lg==}+ dependencies:+ vscode-languageserver-textdocument: 1.0.7+ vscode-languageserver-types: 3.17.2+ vscode-nls: 5.2.0+ vscode-uri: 3.0.3+ dev: true++ /vscode-html-languageservice/4.2.5:+ resolution: {integrity: sha512-dbr10KHabB9EaK8lI0XZW7SqOsTfrNyT3Nuj0GoPi4LjGKUmMiLtsqzfedIzRTzqY+w0FiLdh0/kQrnQ0tLxrw==}+ dependencies:+ vscode-languageserver-textdocument: 1.0.7+ vscode-languageserver-types: 3.17.2+ vscode-nls: 5.2.0+ vscode-uri: 3.0.3+ dev: true++ /vscode-json-languageservice/4.2.1:+ resolution: {integrity: sha512-xGmv9QIWs2H8obGbWg+sIPI/3/pFgj/5OWBhNzs00BkYQ9UaB2F6JJaGB/2/YOZJ3BvLXQTC4Q7muqU25QgAhA==}+ dependencies:+ jsonc-parser: 3.2.0+ vscode-languageserver-textdocument: 1.0.7+ vscode-languageserver-types: 3.17.2+ vscode-nls: 5.2.0+ vscode-uri: 3.0.3+ dev: true+/vscode-jsonrpc/6.0.0:resolution: {integrity: sha512-wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg==}engines: {node: '>=8.0.0 || >=10.0.0'}dev: true+ /vscode-jsonrpc/8.0.2:+ resolution: {integrity: sha512-RY7HwI/ydoC1Wwg4gJ3y6LpU9FJRZAUnTYMXthqhFXXu77ErDd/xkREpGuk4MyYkk4a+XDWAMqe0S3KkelYQEQ==}+ engines: {node: '>=14.0.0'}+ dev: true+/vscode-languageclient/7.0.0:resolution: {integrity: sha512-P9AXdAPlsCgslpP9pRxYPqkNYV7Xq8300/aZDpO35j1fJm/ncize8iGswzYlcvFw5DQUx4eVk+KvfXdL0rehNg==}engines: {vscode: ^1.52.0}@@ -17763,6 +19923,13 @@ packages:vscode-languageserver-types: 3.16.0dev: true+ /vscode-languageserver-protocol/3.17.2:+ resolution: {integrity: sha512-8kYisQ3z/SQ2kyjlNeQxbkkTNmVFoQCqkmGrzLH6A9ecPlgTbp3wDTnUNqaUxYr4vlAcloxx8zwy7G5WdguYNg==}+ dependencies:+ vscode-jsonrpc: 8.0.2+ vscode-languageserver-types: 3.17.2+ dev: true+/vscode-languageserver-textdocument/1.0.7:resolution: {integrity: sha512-bFJH7UQxlXT8kKeyiyu41r22jCZXG8kuuVVA33OEJn1diWOZK5n8zBSPZFHVBOu8kXZ6h0LIRhf5UnCo61J4Hg==}dev: true@@ -17775,6 +19942,10 @@ packages:resolution: {integrity: sha512-K3HqVRPElLZVVPtMeKlsyL9aK0GxGQpvtAUTfX4k7+iJ4mc1M+JM+zQwkgGy2LzY0f0IAafe8MKqIkJrxfGGjQ==}dev: false+ /vscode-languageserver-types/3.17.2:+ resolution: {integrity: sha512-zHhCWatviizPIq9B7Vh9uvrH6x3sK8itC84HkamnBWoDFJtzBf7SWlpLCZUit72b3os45h6RWQNC9xHRDF8dRA==}+ dev: true+/vscode-languageserver/7.0.0:resolution: {integrity: sha512-60HTx5ID+fLRcgdHfmz0LDZAXYEV68fzwG0JWwEPBode9NuMYTIxuYXPg4ngO8i8+Ou0lM7y6GzaYWbiDL0drw==}hasBin: true@@ -17782,10 +19953,73 @@ packages:vscode-languageserver-protocol: 3.16.0dev: true+ /vscode-languageserver/8.0.2:+ resolution: {integrity: sha512-bpEt2ggPxKzsAOZlXmCJ50bV7VrxwCS5BI4+egUmure/oI/t4OlFzi/YNtVvY24A2UDOZAgwFGgnZPwqSJubkA==}+ hasBin: true+ dependencies:+ vscode-languageserver-protocol: 3.17.2+ dev: true++ /vscode-nls/5.2.0:+ resolution: {integrity: sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==}+ dev: true++ /vscode-pug-languageservice/0.27.24:+ resolution: {integrity: sha512-GSvsFB+rPhAD7cBlEKCVNNsFGIaOnp/0zyLw3WpYbXY24vJZafXu1kHvtYaaQXJRnIhqp5EI5p+EqpdI3hTBnw==}+ deprecated: 'WARNING: This project has been renamed to @volar/pug-language-service. Install using @volar/pug-language-service instead.'+ dependencies:+ '@volar/code-gen': 0.27.24+ '@volar/shared': 0.27.24+ '@volar/source-map': 0.27.24+ '@volar/transforms': 0.27.24+ pug-lexer: 5.0.1+ pug-parser: 6.0.0+ vscode-languageserver: 8.0.2+ dev: true++ /vscode-typescript-languageservice/0.27.25:+ resolution: {integrity: sha512-nxpJI9MnF2rn5rKL/032Qrsq3T9DgM3slK5fwZp3suNdo90JG2zFTs3Ola8n62k7+KWu4A775obxyb4wLIW6Gw==}+ deprecated: 'WARNING: This project has been renamed to @volar/typescript-language-service. Install using @volar/typescript-language-service instead.'+ dependencies:+ '@volar/shared': 0.27.24+ semver: 7.3.8+ upath: 2.0.1+ vscode-languageserver: 8.0.2+ vscode-languageserver-textdocument: 1.0.7+ dev: true++ /vscode-uri/2.1.2:+ resolution: {integrity: sha512-8TEXQxlldWAuIODdukIb+TR5s+9Ds40eSJrw+1iDDA9IFORPjMELarNQE3myz5XIkWWpdprmJjm1/SxMlWOC8A==}+ dev: true+/vscode-uri/3.0.3:resolution: {integrity: sha512-EcswR2S8bpR7fD0YPeS7r2xXExrScVMxg4MedACaWHEtx9ftCF/qHG1xGkolzTPcEmjTavCQgbVzHUIdTMzFGA==}dev: true+ /vscode-vue-languageservice/0.27.30:+ resolution: {integrity: sha512-nPnUNCMqqHfxcCPLyLWvmgbNCgos3SwvPcl/CzAnMbqcjLtNZppsdI7bKX3EEj0Jbg6SGLQ9NanIvZaMI1bsUA==}+ deprecated: 'WARNING: This project has been renamed to @volar/vue-language-service. Install using @volar/vue-language-service instead.'+ dependencies:+ '@volar/code-gen': 0.27.24+ '@volar/html2pug': 0.27.13+ '@volar/shared': 0.27.24+ '@volar/source-map': 0.27.24+ '@volar/transforms': 0.27.24+ '@vscode/emmet-helper': 2.8.6+ '@vue/compiler-dom': 3.2.45+ '@vue/reactivity': 3.2.45+ '@vue/shared': 3.2.45+ request-light: 0.5.8+ upath: 2.0.1+ vscode-css-languageservice: 5.4.2+ vscode-html-languageservice: 4.2.5+ vscode-json-languageservice: 4.2.1+ vscode-languageserver: 8.0.2+ vscode-languageserver-textdocument: 1.0.7+ vscode-pug-languageservice: 0.27.24+ vscode-typescript-languageservice: 0.27.25+ dev: true+/vue-demi/[email protected]:resolution: {integrity: sha512-xmkJ56koG3ptpLnpgmIzk9/4nFf4CqduSJbUM0OdPoU87NwRuZ6x49OLhjSa/fC15fV+5CbEnrxU4oyE022svg==}engines: {node: '>=12'}@@ -17956,6 +20190,16 @@ packages:vue: 3.2.45dev: false+ /vue-tsc/[email protected]:+ resolution: {integrity: sha512-zaDRZBxwRIz1XjhNP92FqugG71st6BUMnA2EwPeXrAyzbEYVRz6TezNFceYl3QYqqN8CtaxbqUhaQEDj/ntoCA==}+ hasBin: true+ peerDependencies:+ typescript: '*'+ dependencies:+ typescript: 4.9.3+ vscode-vue-languageservice: 0.27.30+ dev: true+/vue-tsc/[email protected]:resolution: {integrity: sha512-+OMmpw9BZC9khul3I1HGtWchv7BCiaM7NvfdilVAiOFkjnivIoaW6jJm6YPQJaEPouePtpkDUWovyzgNxWdDsw==}hasBin: true@@ -18023,19 +20267,19 @@ packages:'@vue/server-renderer': [email protected]'@vue/shared': 3.2.45- /vuedraggable/[email protected]:- resolution: {integrity: sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==}+ /vuedraggable-es/[email protected]:+ resolution: {integrity: sha512-F35pjSwC8HS/lnaOd+B59nYR4FZmwuhWAzccK9xftRuWds8SU1TZh5myKVM86j5dFOI7S26O64Kwe7LUHnXjlA==}peerDependencies:- vue: ^3.0.1+ vue: ^3.2.31dependencies:sortablejs: 1.14.0vue: 3.2.37dev: false- /vuedraggable/[email protected]:- resolution: {integrity: sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==}+ /vuedraggable-es/[email protected]:+ resolution: {integrity: sha512-F35pjSwC8HS/lnaOd+B59nYR4FZmwuhWAzccK9xftRuWds8SU1TZh5myKVM86j5dFOI7S26O64Kwe7LUHnXjlA==}peerDependencies:- vue: ^3.0.1+ vue: ^3.2.31dependencies:sortablejs: 1.14.0vue: 3.2.45@@ -18092,6 +20336,16 @@ packages:resolution: {integrity: sha512-3ux37gEX670UUphBF9AMCq8XM6iQ8Ac6A+DSRRjDoRBm1ufCkaCDdNVbaqq60PsEkdNlLKrGtv/YBP4EJXqNtQ==}engines: {node: '>= 12'}+ /webcrypto-core/1.7.6:+ resolution: {integrity: sha512-TBPiewB4Buw+HI3EQW+Bexm19/W4cP/qZG/02QJCXN+iN+T5sl074vZ3rJcle/ZtDBQSgjkbsQO/1eFcxnSBUA==}+ dependencies:+ '@peculiar/asn1-schema': 2.3.3+ '@peculiar/json-schema': 1.1.12+ asn1js: 3.0.5+ pvtsutils: 1.3.2+ tslib: 2.5.0+ dev: true+/webidl-conversions/3.0.1:resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}@@ -18121,10 +20375,12 @@ packages:/webpack-sources/3.2.3:resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==}engines: {node: '>=10.13.0'}- dev: true/webpack-virtual-modules/0.4.4:resolution: {integrity: sha512-h9atBP/bsZohWpHnr+2sic8Iecb60GxftXsWNLLLSqewgIsGzByd2gcIID4nXcG+3tNe4GQG3dLcff3kXupdRA==}++ /webpack-virtual-modules/0.5.0:+ resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==}dev: true/webpack/5.74.0:@@ -18305,9 +20561,23 @@ packages:execa: 4.1.0dev: true+ /with/7.0.2:+ resolution: {integrity: sha512-RNGKj82nUPg3g5ygxkQl0R937xLyho1J24ItRCBTr/m1YnZkzJy1hUiHUJrc/VlsDQzsCnInEGSg3bci0Lmd4w==}+ engines: {node: '>= 10.0.0'}+ dependencies:+ '@babel/parser': 7.18.6+ '@babel/types': 7.18.7+ assert-never: 1.2.1+ babel-walk: 3.0.0-canary-5+ dev: true+/wonka/4.0.15:resolution: {integrity: sha512-U0IUQHKXXn6PFo9nqsHphVCE5m3IntqZNB9Jjn7EB1lrR7YTDY3YWgFvEvwniTzXSvOH/XMzAZaIfJF/LvHYXg==}+ /wonka/6.1.2:+ resolution: {integrity: sha512-zNrXPMccg/7OEp9tSfFkMgTvhhowqasiSHdJ3eCZolXxVTV/aT6HUTofoZk9gwRbGoFey/Nss3JaZKUMKMbofg==}+ dev: false+/word-wrap/1.2.3:resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==}engines: {node: '>=0.10.0'}@@ -18520,21 +20790,32 @@ packages:utf-8-validate:optional: true- /ws/8.2.3:- resolution: {integrity: sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==}+ /ws/8.12.0:+ resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==}engines: {node: '>=10.0.0'}peerDependencies:bufferutil: ^4.0.1- utf-8-validate: ^5.0.2+ utf-8-validate: '>=5.0.2'+ peerDependenciesMeta:+ bufferutil:+ optional: true+ utf-8-validate:+ optional: true++ /ws/8.12.1:+ resolution: {integrity: sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==}+ engines: {node: '>=10.0.0'}+ peerDependencies:+ bufferutil: ^4.0.1+ utf-8-validate: '>=5.0.2'peerDependenciesMeta:bufferutil:optional: trueutf-8-validate:optional: true- dev: false- /ws/8.8.0:- resolution: {integrity: sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ==}+ /ws/8.2.3:+ resolution: {integrity: sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==}engines: {node: '>=10.0.0'}peerDependencies:bufferutil: ^4.0.1@@ -18544,6 +20825,7 @@ packages:optional: trueutf-8-validate:optional: true+ dev: false/xml-name-validator/3.0.0:resolution: {integrity: sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==}@@ -18713,7 +20995,7 @@ packages:dev: false/yeast/0.1.2:- resolution: {integrity: sha1-AI4G2AlDIMNy28L47XagymyKxBk=}+ resolution: {integrity: sha512-8HFIh676uyGYP6wP13R/j6OJ/1HwJ46snpvzE7aHAN3Ryqh2yX6Xox2B4CUmTwwOIzlG3Bs7ocsP5dZH/R1Qbg==}dev: false/yn/3.1.1:@@ -18735,3 +21017,15 @@ packages:optionalDependencies:commander: 2.20.3dev: false++ /z-schema/5.0.5:+ resolution: {integrity: sha512-D7eujBWkLa3p2sIpJA0d1pr7es+a7m0vFAnZLlCEKq/Ij2k0MLi9Br2UPxoxdYystm5K1yeBGzub0FlYUEWj2Q==}+ engines: {node: '>=8.0.0'}+ hasBin: true+ dependencies:+ lodash.get: 4.4.2+ lodash.isequal: 4.5.0+ validator: 13.7.0+ optionalDependencies:+ commander: 9.5.0+ dev: true