diff --git a/packages/hoppscotch-common/src/components.d.ts b/packages/hoppscotch-common/src/components.d.ts index df8e8a8fa7..20783de26a 100644 --- a/packages/hoppscotch-common/src/components.d.ts +++ b/packages/hoppscotch-common/src/components.d.ts @@ -1,214 +1,214 @@ -/* eslint-disable */ -/* prettier-ignore */ -// @ts-nocheck -// Generated by unplugin-vue-components +// 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' { +declare module "@vue/runtime-core" { export interface GlobalComponents { - AppActionHandler: typeof import('./components/app/ActionHandler.vue')['default'] - AppBanner: typeof import('./components/app/Banner.vue')['default'] - AppContextMenu: typeof import('./components/app/ContextMenu.vue')['default'] - AppDeveloperOptions: typeof import('./components/app/DeveloperOptions.vue')['default'] - AppFooter: typeof import('./components/app/Footer.vue')['default'] - AppGitHubStarButton: typeof import('./components/app/GitHubStarButton.vue')['default'] - AppHeader: typeof import('./components/app/Header.vue')['default'] - AppInspection: typeof import('./components/app/Inspection.vue')['default'] - AppInterceptor: typeof import('./components/app/Interceptor.vue')['default'] - AppLogo: typeof import('./components/app/Logo.vue')['default'] - AppOptions: typeof import('./components/app/Options.vue')['default'] - AppPaneLayout: typeof import('./components/app/PaneLayout.vue')['default'] - AppShare: typeof import('./components/app/Share.vue')['default'] - AppShortcuts: typeof import('./components/app/Shortcuts.vue')['default'] - AppShortcutsEntry: typeof import('./components/app/ShortcutsEntry.vue')['default'] - AppShortcutsPrompt: typeof import('./components/app/ShortcutsPrompt.vue')['default'] - AppSidenav: typeof import('./components/app/Sidenav.vue')['default'] - AppSpotlight: typeof import('./components/app/spotlight/index.vue')['default'] - AppSpotlightEntry: typeof import('./components/app/spotlight/Entry.vue')['default'] - AppSpotlightEntryGQLHistory: typeof import('./components/app/spotlight/entry/GQLHistory.vue')['default'] - AppSpotlightEntryGQLRequest: typeof import('./components/app/spotlight/entry/GQLRequest.vue')['default'] - AppSpotlightEntryIconSelected: typeof import('./components/app/spotlight/entry/IconSelected.vue')['default'] - AppSpotlightEntryRESTHistory: typeof import('./components/app/spotlight/entry/RESTHistory.vue')['default'] - AppSpotlightEntryRESTRequest: typeof import('./components/app/spotlight/entry/RESTRequest.vue')['default'] - AppSupport: typeof import('./components/app/Support.vue')['default'] - Collections: typeof import('./components/collections/index.vue')['default'] - CollectionsAdd: typeof import('./components/collections/Add.vue')['default'] - CollectionsAddFolder: typeof import('./components/collections/AddFolder.vue')['default'] - CollectionsAddRequest: typeof import('./components/collections/AddRequest.vue')['default'] - CollectionsCollection: typeof import('./components/collections/Collection.vue')['default'] - CollectionsEdit: typeof import('./components/collections/Edit.vue')['default'] - CollectionsEditFolder: typeof import('./components/collections/EditFolder.vue')['default'] - CollectionsEditRequest: typeof import('./components/collections/EditRequest.vue')['default'] - CollectionsGraphql: typeof import('./components/collections/graphql/index.vue')['default'] - CollectionsGraphqlAdd: typeof import('./components/collections/graphql/Add.vue')['default'] - CollectionsGraphqlAddFolder: typeof import('./components/collections/graphql/AddFolder.vue')['default'] - CollectionsGraphqlAddRequest: typeof import('./components/collections/graphql/AddRequest.vue')['default'] - CollectionsGraphqlCollection: typeof import('./components/collections/graphql/Collection.vue')['default'] - CollectionsGraphqlEdit: typeof import('./components/collections/graphql/Edit.vue')['default'] - CollectionsGraphqlEditFolder: typeof import('./components/collections/graphql/EditFolder.vue')['default'] - CollectionsGraphqlEditRequest: typeof import('./components/collections/graphql/EditRequest.vue')['default'] - CollectionsGraphqlFolder: typeof import('./components/collections/graphql/Folder.vue')['default'] - CollectionsGraphqlImportExport: typeof import('./components/collections/graphql/ImportExport.vue')['default'] - CollectionsGraphqlRequest: typeof import('./components/collections/graphql/Request.vue')['default'] - CollectionsImportExport: typeof import('./components/collections/ImportExport.vue')['default'] - CollectionsMyCollections: typeof import('./components/collections/MyCollections.vue')['default'] - CollectionsProperties: typeof import('./components/collections/Properties.vue')['default'] - CollectionsRequest: typeof import('./components/collections/Request.vue')['default'] - CollectionsSaveRequest: typeof import('./components/collections/SaveRequest.vue')['default'] - CollectionsTeamCollections: typeof import('./components/collections/TeamCollections.vue')['default'] - CookiesAllModal: typeof import('./components/cookies/AllModal.vue')['default'] - CookiesEditCookie: typeof import('./components/cookies/EditCookie.vue')['default'] - Embeds: typeof import('./components/embeds/index.vue')['default'] - Environments: typeof import('./components/environments/index.vue')['default'] - EnvironmentsAdd: typeof import('./components/environments/Add.vue')['default'] - EnvironmentsImportExport: typeof import('./components/environments/ImportExport.vue')['default'] - EnvironmentsMy: typeof import('./components/environments/my/index.vue')['default'] - EnvironmentsMyDetails: typeof import('./components/environments/my/Details.vue')['default'] - EnvironmentsMyEnvironment: typeof import('./components/environments/my/Environment.vue')['default'] - EnvironmentsSelector: typeof import('./components/environments/Selector.vue')['default'] - EnvironmentsTeams: typeof import('./components/environments/teams/index.vue')['default'] - EnvironmentsTeamsDetails: typeof import('./components/environments/teams/Details.vue')['default'] - EnvironmentsTeamsEnvironment: typeof import('./components/environments/teams/Environment.vue')['default'] - FirebaseLogin: typeof import('./components/firebase/Login.vue')['default'] - FirebaseLogout: typeof import('./components/firebase/Logout.vue')['default'] - GraphqlAuthorization: typeof import('./components/graphql/Authorization.vue')['default'] - GraphqlField: typeof import('./components/graphql/Field.vue')['default'] - GraphqlHeaders: typeof import('./components/graphql/Headers.vue')['default'] - GraphqlQuery: typeof import('./components/graphql/Query.vue')['default'] - GraphqlRequest: typeof import('./components/graphql/Request.vue')['default'] - GraphqlRequestOptions: typeof import('./components/graphql/RequestOptions.vue')['default'] - GraphqlRequestTab: typeof import('./components/graphql/RequestTab.vue')['default'] - GraphqlResponse: typeof import('./components/graphql/Response.vue')['default'] - GraphqlSidebar: typeof import('./components/graphql/Sidebar.vue')['default'] - GraphqlSubscriptionLog: typeof import('./components/graphql/SubscriptionLog.vue')['default'] - GraphqlTabHead: typeof import('./components/graphql/TabHead.vue')['default'] - GraphqlType: typeof import('./components/graphql/Type.vue')['default'] - GraphqlTypeLink: typeof import('./components/graphql/TypeLink.vue')['default'] - GraphqlVariable: typeof import('./components/graphql/Variable.vue')['default'] - History: typeof import('./components/history/index.vue')['default'] - HistoryGraphqlCard: typeof import('./components/history/graphql/Card.vue')['default'] - HistoryRestCard: typeof import('./components/history/rest/Card.vue')['default'] - HoppButtonPrimary: typeof import('@hoppscotch/ui')['HoppButtonPrimary'] - HoppButtonSecondary: typeof import('@hoppscotch/ui')['HoppButtonSecondary'] - HoppSmartAnchor: typeof import('@hoppscotch/ui')['HoppSmartAnchor'] - HoppSmartCheckbox: typeof import('@hoppscotch/ui')['HoppSmartCheckbox'] - HoppSmartConfirmModal: typeof import('@hoppscotch/ui')['HoppSmartConfirmModal'] - HoppSmartExpand: typeof import('@hoppscotch/ui')['HoppSmartExpand'] - HoppSmartFileChip: typeof import('@hoppscotch/ui')['HoppSmartFileChip'] - HoppSmartInput: typeof import('@hoppscotch/ui')['HoppSmartInput'] - HoppSmartIntersection: typeof import('@hoppscotch/ui')['HoppSmartIntersection'] - HoppSmartItem: typeof import('@hoppscotch/ui')['HoppSmartItem'] - HoppSmartLink: typeof import('@hoppscotch/ui')['HoppSmartLink'] - HoppSmartModal: typeof import('@hoppscotch/ui')['HoppSmartModal'] - HoppSmartPicture: typeof import('@hoppscotch/ui')['HoppSmartPicture'] - HoppSmartPlaceholder: typeof import('@hoppscotch/ui')['HoppSmartPlaceholder'] - HoppSmartProgressRing: typeof import('@hoppscotch/ui')['HoppSmartProgressRing'] - HoppSmartRadio: typeof import('@hoppscotch/ui')['HoppSmartRadio'] - HoppSmartRadioGroup: typeof import('@hoppscotch/ui')['HoppSmartRadioGroup'] - HoppSmartSelectWrapper: typeof import('@hoppscotch/ui')['HoppSmartSelectWrapper'] - HoppSmartSlideOver: typeof import('@hoppscotch/ui')['HoppSmartSlideOver'] - HoppSmartSpinner: typeof import('@hoppscotch/ui')['HoppSmartSpinner'] - HoppSmartTab: typeof import('@hoppscotch/ui')['HoppSmartTab'] - HoppSmartTabs: typeof import('@hoppscotch/ui')['HoppSmartTabs'] - HoppSmartToggle: typeof import('@hoppscotch/ui')['HoppSmartToggle'] - HoppSmartTree: typeof import('@hoppscotch/ui')['HoppSmartTree'] - HoppSmartWindow: typeof import('@hoppscotch/ui')['HoppSmartWindow'] - HoppSmartWindows: typeof import('@hoppscotch/ui')['HoppSmartWindows'] - HttpAuthorization: typeof import('./components/http/Authorization.vue')['default'] - HttpAuthorizationApiKey: typeof import('./components/http/authorization/ApiKey.vue')['default'] - HttpAuthorizationBasic: typeof import('./components/http/authorization/Basic.vue')['default'] - HttpBody: typeof import('./components/http/Body.vue')['default'] - HttpBodyParameters: typeof import('./components/http/BodyParameters.vue')['default'] - HttpCodegenModal: typeof import('./components/http/CodegenModal.vue')['default'] - HttpHeaders: typeof import('./components/http/Headers.vue')['default'] - HttpImportCurl: typeof import('./components/http/ImportCurl.vue')['default'] - HttpOAuth2Authorization: typeof import('./components/http/OAuth2Authorization.vue')['default'] - HttpParameters: typeof import('./components/http/Parameters.vue')['default'] - HttpPreRequestScript: typeof import('./components/http/PreRequestScript.vue')['default'] - HttpRawBody: typeof import('./components/http/RawBody.vue')['default'] - HttpReqChangeConfirmModal: typeof import('./components/http/ReqChangeConfirmModal.vue')['default'] - HttpRequest: typeof import('./components/http/Request.vue')['default'] - HttpRequestOptions: typeof import('./components/http/RequestOptions.vue')['default'] - HttpRequestTab: typeof import('./components/http/RequestTab.vue')['default'] - HttpResponse: typeof import('./components/http/Response.vue')['default'] - HttpResponseMeta: typeof import('./components/http/ResponseMeta.vue')['default'] - HttpSidebar: typeof import('./components/http/Sidebar.vue')['default'] - HttpTabHead: typeof import('./components/http/TabHead.vue')['default'] - HttpTestResult: typeof import('./components/http/TestResult.vue')['default'] - HttpTestResultEntry: typeof import('./components/http/TestResultEntry.vue')['default'] - HttpTestResultEnv: typeof import('./components/http/TestResultEnv.vue')['default'] - HttpTestResultReport: typeof import('./components/http/TestResultReport.vue')['default'] - HttpTests: typeof import('./components/http/Tests.vue')['default'] - HttpURLEncodedParams: typeof import('./components/http/URLEncodedParams.vue')['default'] - IconLucideActivity: typeof import('~icons/lucide/activity')['default'] - IconLucideAlertTriangle: typeof import('~icons/lucide/alert-triangle')['default'] - IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default'] - IconLucideArrowUpRight: typeof import('~icons/lucide/arrow-up-right')['default'] - IconLucideBrush: typeof import('~icons/lucide/brush')['default'] - IconLucideCheckCircle: typeof import('~icons/lucide/check-circle')['default'] - IconLucideChevronRight: typeof import('~icons/lucide/chevron-right')['default'] - IconLucideGlobe: typeof import('~icons/lucide/globe')['default'] - IconLucideHelpCircle: typeof import('~icons/lucide/help-circle')['default'] - IconLucideInbox: typeof import('~icons/lucide/inbox')['default'] - IconLucideInfo: typeof import('~icons/lucide/info')['default'] - IconLucideLayers: typeof import('~icons/lucide/layers')['default'] - IconLucideListEnd: typeof import('~icons/lucide/list-end')['default'] - IconLucideMinus: typeof import('~icons/lucide/minus')['default'] - IconLucideRss: typeof import('~icons/lucide/rss')['default'] - IconLucideSearch: typeof import('~icons/lucide/search')['default'] - IconLucideUsers: typeof import('~icons/lucide/users')['default'] - IconLucideX: typeof import('~icons/lucide/x')['default'] - ImportExportBase: typeof import('./components/importExport/Base.vue')['default'] - ImportExportImportExportList: typeof import('./components/importExport/ImportExportList.vue')['default'] - ImportExportImportExportSourcesList: typeof import('./components/importExport/ImportExportSourcesList.vue')['default'] - ImportExportImportExportStepsFileImport: typeof import('./components/importExport/ImportExportSteps/FileImport.vue')['default'] - ImportExportImportExportStepsMyCollectionImport: typeof import('./components/importExport/ImportExportSteps/MyCollectionImport.vue')['default'] - ImportExportImportExportStepsUrlImport: typeof import('./components/importExport/ImportExportSteps/UrlImport.vue')['default'] - InterceptorsErrorPlaceholder: typeof import('./components/interceptors/ErrorPlaceholder.vue')['default'] - InterceptorsExtensionSubtitle: typeof import('./components/interceptors/ExtensionSubtitle.vue')['default'] - LensesHeadersRenderer: typeof import('./components/lenses/HeadersRenderer.vue')['default'] - LensesHeadersRendererEntry: typeof import('./components/lenses/HeadersRendererEntry.vue')['default'] - LensesRenderersAudioLensRenderer: typeof import('./components/lenses/renderers/AudioLensRenderer.vue')['default'] - LensesRenderersHTMLLensRenderer: typeof import('./components/lenses/renderers/HTMLLensRenderer.vue')['default'] - LensesRenderersImageLensRenderer: typeof import('./components/lenses/renderers/ImageLensRenderer.vue')['default'] - LensesRenderersJSONLensRenderer: typeof import('./components/lenses/renderers/JSONLensRenderer.vue')['default'] - LensesRenderersPDFLensRenderer: typeof import('./components/lenses/renderers/PDFLensRenderer.vue')['default'] - LensesRenderersRawLensRenderer: typeof import('./components/lenses/renderers/RawLensRenderer.vue')['default'] - LensesRenderersVideoLensRenderer: typeof import('./components/lenses/renderers/VideoLensRenderer.vue')['default'] - LensesRenderersXMLLensRenderer: typeof import('./components/lenses/renderers/XMLLensRenderer.vue')['default'] - LensesResponseBodyRenderer: typeof import('./components/lenses/ResponseBodyRenderer.vue')['default'] - ProfileUserDelete: typeof import('./components/profile/UserDelete.vue')['default'] - RealtimeCommunication: typeof import('./components/realtime/Communication.vue')['default'] - RealtimeConnectionConfig: typeof import('./components/realtime/ConnectionConfig.vue')['default'] - RealtimeLog: typeof import('./components/realtime/Log.vue')['default'] - RealtimeLogEntry: typeof import('./components/realtime/LogEntry.vue')['default'] - RealtimeSubscription: typeof import('./components/realtime/Subscription.vue')['default'] - SettingsExtension: typeof import('./components/settings/Extension.vue')['default'] - SettingsProxy: typeof import('./components/settings/Proxy.vue')['default'] - Share: typeof import('./components/share/index.vue')['default'] - ShareCreateModal: typeof import('./components/share/CreateModal.vue')['default'] - ShareCustomizeModal: typeof import('./components/share/CustomizeModal.vue')['default'] - ShareModal: typeof import('./components/share/Modal.vue')['default'] - ShareRequest: typeof import('./components/share/Request.vue')['default'] - ShareTemplatesButton: typeof import('./components/share/templates/Button.vue')['default'] - ShareTemplatesEmbeds: typeof import('./components/share/templates/Embeds.vue')['default'] - ShareTemplatesLink: typeof import('./components/share/templates/Link.vue')['default'] - SmartAccentModePicker: typeof import('./components/smart/AccentModePicker.vue')['default'] - SmartChangeLanguage: typeof import('./components/smart/ChangeLanguage.vue')['default'] - SmartColorModePicker: typeof import('./components/smart/ColorModePicker.vue')['default'] - SmartEnvInput: typeof import('./components/smart/EnvInput.vue')['default'] - TabPrimary: typeof import('./components/tab/Primary.vue')['default'] - TabSecondary: typeof import('./components/tab/Secondary.vue')['default'] - Teams: typeof import('./components/teams/index.vue')['default'] - TeamsAdd: typeof import('./components/teams/Add.vue')['default'] - TeamsEdit: typeof import('./components/teams/Edit.vue')['default'] - TeamsInvite: typeof import('./components/teams/Invite.vue')['default'] - TeamsMemberStack: typeof import('./components/teams/MemberStack.vue')['default'] - TeamsModal: typeof import('./components/teams/Modal.vue')['default'] - TeamsTeam: typeof import('./components/teams/Team.vue')['default'] - Tippy: typeof import('vue-tippy')['Tippy'] - WorkspaceCurrent: typeof import('./components/workspace/Current.vue')['default'] - WorkspaceSelector: typeof import('./components/workspace/Selector.vue')['default'] + AppActionHandler: (typeof import("./components/app/ActionHandler.vue"))["default"] + AppBanner: (typeof import("./components/app/Banner.vue"))["default"] + AppContextMenu: (typeof import("./components/app/ContextMenu.vue"))["default"] + AppDeveloperOptions: (typeof import("./components/app/DeveloperOptions.vue"))["default"] + AppFooter: (typeof import("./components/app/Footer.vue"))["default"] + AppGitHubStarButton: (typeof import("./components/app/GitHubStarButton.vue"))["default"] + AppHeader: (typeof import("./components/app/Header.vue"))["default"] + AppInspection: (typeof import("./components/app/Inspection.vue"))["default"] + AppInterceptor: (typeof import("./components/app/Interceptor.vue"))["default"] + AppLogo: (typeof import("./components/app/Logo.vue"))["default"] + AppOptions: (typeof import("./components/app/Options.vue"))["default"] + AppPaneLayout: (typeof import("./components/app/PaneLayout.vue"))["default"] + AppShare: (typeof import("./components/app/Share.vue"))["default"] + AppShortcuts: (typeof import("./components/app/Shortcuts.vue"))["default"] + AppShortcutsEntry: (typeof import("./components/app/ShortcutsEntry.vue"))["default"] + AppShortcutsPrompt: (typeof import("./components/app/ShortcutsPrompt.vue"))["default"] + AppSidenav: (typeof import("./components/app/Sidenav.vue"))["default"] + AppSpotlight: (typeof import("./components/app/spotlight/index.vue"))["default"] + AppSpotlightEntry: (typeof import("./components/app/spotlight/Entry.vue"))["default"] + AppSpotlightEntryGQLHistory: (typeof import("./components/app/spotlight/entry/GQLHistory.vue"))["default"] + AppSpotlightEntryGQLRequest: (typeof import("./components/app/spotlight/entry/GQLRequest.vue"))["default"] + AppSpotlightEntryIconSelected: (typeof import("./components/app/spotlight/entry/IconSelected.vue"))["default"] + AppSpotlightEntryRESTHistory: (typeof import("./components/app/spotlight/entry/RESTHistory.vue"))["default"] + AppSpotlightEntryRESTRequest: (typeof import("./components/app/spotlight/entry/RESTRequest.vue"))["default"] + AppSupport: (typeof import("./components/app/Support.vue"))["default"] + Collections: (typeof import("./components/collections/index.vue"))["default"] + CollectionsAdd: (typeof import("./components/collections/Add.vue"))["default"] + CollectionsAddFolder: (typeof import("./components/collections/AddFolder.vue"))["default"] + CollectionsAddRequest: (typeof import("./components/collections/AddRequest.vue"))["default"] + CollectionsCollection: (typeof import("./components/collections/Collection.vue"))["default"] + CollectionsEdit: (typeof import("./components/collections/Edit.vue"))["default"] + CollectionsEditFolder: (typeof import("./components/collections/EditFolder.vue"))["default"] + CollectionsEditRequest: (typeof import("./components/collections/EditRequest.vue"))["default"] + CollectionsGraphql: (typeof import("./components/collections/graphql/index.vue"))["default"] + CollectionsGraphqlAdd: (typeof import("./components/collections/graphql/Add.vue"))["default"] + CollectionsGraphqlAddFolder: (typeof import("./components/collections/graphql/AddFolder.vue"))["default"] + CollectionsGraphqlAddRequest: (typeof import("./components/collections/graphql/AddRequest.vue"))["default"] + CollectionsGraphqlCollection: (typeof import("./components/collections/graphql/Collection.vue"))["default"] + CollectionsGraphqlEdit: (typeof import("./components/collections/graphql/Edit.vue"))["default"] + CollectionsGraphqlEditFolder: (typeof import("./components/collections/graphql/EditFolder.vue"))["default"] + CollectionsGraphqlEditRequest: (typeof import("./components/collections/graphql/EditRequest.vue"))["default"] + CollectionsGraphqlFolder: (typeof import("./components/collections/graphql/Folder.vue"))["default"] + CollectionsGraphqlImportExport: (typeof import("./components/collections/graphql/ImportExport.vue"))["default"] + CollectionsGraphqlRequest: (typeof import("./components/collections/graphql/Request.vue"))["default"] + CollectionsImportExport: (typeof import("./components/collections/ImportExport.vue"))["default"] + CollectionsMyCollections: (typeof import("./components/collections/MyCollections.vue"))["default"] + CollectionsProperties: (typeof import("./components/collections/Properties.vue"))["default"] + CollectionsRequest: (typeof import("./components/collections/Request.vue"))["default"] + CollectionsSaveRequest: (typeof import("./components/collections/SaveRequest.vue"))["default"] + CollectionsTeamCollections: (typeof import("./components/collections/TeamCollections.vue"))["default"] + CookiesAllModal: (typeof import("./components/cookies/AllModal.vue"))["default"] + CookiesEditCookie: (typeof import("./components/cookies/EditCookie.vue"))["default"] + Embeds: (typeof import("./components/embeds/index.vue"))["default"] + Environments: (typeof import("./components/environments/index.vue"))["default"] + EnvironmentsAdd: (typeof import("./components/environments/Add.vue"))["default"] + EnvironmentsImportExport: (typeof import("./components/environments/ImportExport.vue"))["default"] + EnvironmentsMy: (typeof import("./components/environments/my/index.vue"))["default"] + EnvironmentsMyDetails: (typeof import("./components/environments/my/Details.vue"))["default"] + EnvironmentsMyEnvironment: (typeof import("./components/environments/my/Environment.vue"))["default"] + EnvironmentsSelector: (typeof import("./components/environments/Selector.vue"))["default"] + EnvironmentsTeams: (typeof import("./components/environments/teams/index.vue"))["default"] + EnvironmentsTeamsDetails: (typeof import("./components/environments/teams/Details.vue"))["default"] + EnvironmentsTeamsEnvironment: (typeof import("./components/environments/teams/Environment.vue"))["default"] + FirebaseLogin: (typeof import("./components/firebase/Login.vue"))["default"] + FirebaseLogout: (typeof import("./components/firebase/Logout.vue"))["default"] + GraphqlAuthorization: (typeof import("./components/graphql/Authorization.vue"))["default"] + GraphqlField: (typeof import("./components/graphql/Field.vue"))["default"] + GraphqlHeaders: (typeof import("./components/graphql/Headers.vue"))["default"] + GraphqlQuery: (typeof import("./components/graphql/Query.vue"))["default"] + GraphqlRequest: (typeof import("./components/graphql/Request.vue"))["default"] + GraphqlRequestOptions: (typeof import("./components/graphql/RequestOptions.vue"))["default"] + GraphqlRequestTab: (typeof import("./components/graphql/RequestTab.vue"))["default"] + GraphqlResponse: (typeof import("./components/graphql/Response.vue"))["default"] + GraphqlSidebar: (typeof import("./components/graphql/Sidebar.vue"))["default"] + GraphqlSubscriptionLog: (typeof import("./components/graphql/SubscriptionLog.vue"))["default"] + GraphqlTabHead: (typeof import("./components/graphql/TabHead.vue"))["default"] + GraphqlType: (typeof import("./components/graphql/Type.vue"))["default"] + GraphqlTypeLink: (typeof import("./components/graphql/TypeLink.vue"))["default"] + GraphqlVariable: (typeof import("./components/graphql/Variable.vue"))["default"] + History: (typeof import("./components/history/index.vue"))["default"] + HistoryGraphqlCard: (typeof import("./components/history/graphql/Card.vue"))["default"] + HistoryRestCard: (typeof import("./components/history/rest/Card.vue"))["default"] + HoppButtonPrimary: (typeof import("@hoppscotch/ui"))["HoppButtonPrimary"] + HoppButtonSecondary: (typeof import("@hoppscotch/ui"))["HoppButtonSecondary"] + HoppSmartAnchor: (typeof import("@hoppscotch/ui"))["HoppSmartAnchor"] + HoppSmartCheckbox: (typeof import("@hoppscotch/ui"))["HoppSmartCheckbox"] + HoppSmartConfirmModal: (typeof import("@hoppscotch/ui"))["HoppSmartConfirmModal"] + HoppSmartExpand: (typeof import("@hoppscotch/ui"))["HoppSmartExpand"] + HoppSmartFileChip: (typeof import("@hoppscotch/ui"))["HoppSmartFileChip"] + HoppSmartInput: (typeof import("@hoppscotch/ui"))["HoppSmartInput"] + HoppSmartIntersection: (typeof import("@hoppscotch/ui"))["HoppSmartIntersection"] + HoppSmartItem: (typeof import("@hoppscotch/ui"))["HoppSmartItem"] + HoppSmartLink: (typeof import("@hoppscotch/ui"))["HoppSmartLink"] + HoppSmartModal: (typeof import("@hoppscotch/ui"))["HoppSmartModal"] + HoppSmartPicture: (typeof import("@hoppscotch/ui"))["HoppSmartPicture"] + HoppSmartPlaceholder: (typeof import("@hoppscotch/ui"))["HoppSmartPlaceholder"] + HoppSmartProgressRing: (typeof import("@hoppscotch/ui"))["HoppSmartProgressRing"] + HoppSmartRadio: (typeof import("@hoppscotch/ui"))["HoppSmartRadio"] + HoppSmartRadioGroup: (typeof import("@hoppscotch/ui"))["HoppSmartRadioGroup"] + HoppSmartSelectWrapper: (typeof import("@hoppscotch/ui"))["HoppSmartSelectWrapper"] + HoppSmartSlideOver: (typeof import("@hoppscotch/ui"))["HoppSmartSlideOver"] + HoppSmartSpinner: (typeof import("@hoppscotch/ui"))["HoppSmartSpinner"] + HoppSmartTab: (typeof import("@hoppscotch/ui"))["HoppSmartTab"] + HoppSmartTabs: (typeof import("@hoppscotch/ui"))["HoppSmartTabs"] + HoppSmartToggle: (typeof import("@hoppscotch/ui"))["HoppSmartToggle"] + HoppSmartTree: (typeof import("@hoppscotch/ui"))["HoppSmartTree"] + HoppSmartWindow: (typeof import("@hoppscotch/ui"))["HoppSmartWindow"] + HoppSmartWindows: (typeof import("@hoppscotch/ui"))["HoppSmartWindows"] + HttpAuthorization: (typeof import("./components/http/Authorization.vue"))["default"] + HttpAuthorizationApiKey: (typeof import("./components/http/authorization/ApiKey.vue"))["default"] + HttpAuthorizationBasic: (typeof import("./components/http/authorization/Basic.vue"))["default"] + HttpBody: (typeof import("./components/http/Body.vue"))["default"] + HttpBodyParameters: (typeof import("./components/http/BodyParameters.vue"))["default"] + HttpCodegenModal: (typeof import("./components/http/CodegenModal.vue"))["default"] + HttpHeaders: (typeof import("./components/http/Headers.vue"))["default"] + HttpImportCurl: (typeof import("./components/http/ImportCurl.vue"))["default"] + HttpOAuth2Authorization: (typeof import("./components/http/OAuth2Authorization.vue"))["default"] + HttpParameters: (typeof import("./components/http/Parameters.vue"))["default"] + HttpPreRequestScript: (typeof import("./components/http/PreRequestScript.vue"))["default"] + HttpRawBody: (typeof import("./components/http/RawBody.vue"))["default"] + HttpReqChangeConfirmModal: (typeof import("./components/http/ReqChangeConfirmModal.vue"))["default"] + HttpRequest: (typeof import("./components/http/Request.vue"))["default"] + HttpRequestOptions: (typeof import("./components/http/RequestOptions.vue"))["default"] + HttpRequestTab: (typeof import("./components/http/RequestTab.vue"))["default"] + HttpResponse: (typeof import("./components/http/Response.vue"))["default"] + HttpResponseMeta: (typeof import("./components/http/ResponseMeta.vue"))["default"] + HttpSidebar: (typeof import("./components/http/Sidebar.vue"))["default"] + HttpTabHead: (typeof import("./components/http/TabHead.vue"))["default"] + HttpTestResult: (typeof import("./components/http/TestResult.vue"))["default"] + HttpTestResultEntry: (typeof import("./components/http/TestResultEntry.vue"))["default"] + HttpTestResultEnv: (typeof import("./components/http/TestResultEnv.vue"))["default"] + HttpTestResultReport: (typeof import("./components/http/TestResultReport.vue"))["default"] + HttpTests: (typeof import("./components/http/Tests.vue"))["default"] + HttpURLEncodedParams: (typeof import("./components/http/URLEncodedParams.vue"))["default"] + IconLucideActivity: (typeof import("~icons/lucide/activity"))["default"] + IconLucideAlertTriangle: (typeof import("~icons/lucide/alert-triangle"))["default"] + IconLucideArrowLeft: (typeof import("~icons/lucide/arrow-left"))["default"] + IconLucideArrowUpRight: (typeof import("~icons/lucide/arrow-up-right"))["default"] + IconLucideBrush: (typeof import("~icons/lucide/brush"))["default"] + IconLucideCheckCircle: (typeof import("~icons/lucide/check-circle"))["default"] + IconLucideChevronRight: (typeof import("~icons/lucide/chevron-right"))["default"] + IconLucideGlobe: (typeof import("~icons/lucide/globe"))["default"] + IconLucideHelpCircle: (typeof import("~icons/lucide/help-circle"))["default"] + IconLucideInbox: (typeof import("~icons/lucide/inbox"))["default"] + IconLucideInfo: (typeof import("~icons/lucide/info"))["default"] + IconLucideLayers: (typeof import("~icons/lucide/layers"))["default"] + IconLucideListEnd: (typeof import("~icons/lucide/list-end"))["default"] + IconLucideMinus: (typeof import("~icons/lucide/minus"))["default"] + IconLucideRss: (typeof import("~icons/lucide/rss"))["default"] + IconLucideSearch: (typeof import("~icons/lucide/search"))["default"] + IconLucideUsers: (typeof import("~icons/lucide/users"))["default"] + IconLucideX: (typeof import("~icons/lucide/x"))["default"] + ImportExportBase: (typeof import("./components/importExport/Base.vue"))["default"] + ImportExportImportExportList: (typeof import("./components/importExport/ImportExportList.vue"))["default"] + ImportExportImportExportSourcesList: (typeof import("./components/importExport/ImportExportSourcesList.vue"))["default"] + ImportExportImportExportStepsFileImport: (typeof import("./components/importExport/ImportExportSteps/FileImport.vue"))["default"] + ImportExportImportExportStepsMyCollectionImport: (typeof import("./components/importExport/ImportExportSteps/MyCollectionImport.vue"))["default"] + ImportExportImportExportStepsUrlImport: (typeof import("./components/importExport/ImportExportSteps/UrlImport.vue"))["default"] + InterceptorsErrorPlaceholder: (typeof import("./components/interceptors/ErrorPlaceholder.vue"))["default"] + InterceptorsExtensionSubtitle: (typeof import("./components/interceptors/ExtensionSubtitle.vue"))["default"] + LensesHeadersRenderer: (typeof import("./components/lenses/HeadersRenderer.vue"))["default"] + LensesHeadersRendererEntry: (typeof import("./components/lenses/HeadersRendererEntry.vue"))["default"] + LensesRenderersAudioLensRenderer: (typeof import("./components/lenses/renderers/AudioLensRenderer.vue"))["default"] + LensesRenderersHTMLLensRenderer: (typeof import("./components/lenses/renderers/HTMLLensRenderer.vue"))["default"] + LensesRenderersImageLensRenderer: (typeof import("./components/lenses/renderers/ImageLensRenderer.vue"))["default"] + LensesRenderersJSONLensRenderer: (typeof import("./components/lenses/renderers/JSONLensRenderer.vue"))["default"] + LensesRenderersPDFLensRenderer: (typeof import("./components/lenses/renderers/PDFLensRenderer.vue"))["default"] + LensesRenderersRawLensRenderer: (typeof import("./components/lenses/renderers/RawLensRenderer.vue"))["default"] + LensesRenderersVideoLensRenderer: (typeof import("./components/lenses/renderers/VideoLensRenderer.vue"))["default"] + LensesRenderersXMLLensRenderer: (typeof import("./components/lenses/renderers/XMLLensRenderer.vue"))["default"] + LensesResponseBodyRenderer: (typeof import("./components/lenses/ResponseBodyRenderer.vue"))["default"] + ProfileUserDelete: (typeof import("./components/profile/UserDelete.vue"))["default"] + RealtimeCommunication: (typeof import("./components/realtime/Communication.vue"))["default"] + RealtimeConnectionConfig: (typeof import("./components/realtime/ConnectionConfig.vue"))["default"] + RealtimeLog: (typeof import("./components/realtime/Log.vue"))["default"] + RealtimeLogEntry: (typeof import("./components/realtime/LogEntry.vue"))["default"] + RealtimeSubscription: (typeof import("./components/realtime/Subscription.vue"))["default"] + SettingsExtension: (typeof import("./components/settings/Extension.vue"))["default"] + SettingsProxy: (typeof import("./components/settings/Proxy.vue"))["default"] + Share: (typeof import("./components/share/index.vue"))["default"] + ShareCreateModal: (typeof import("./components/share/CreateModal.vue"))["default"] + ShareCustomizeModal: (typeof import("./components/share/CustomizeModal.vue"))["default"] + ShareModal: (typeof import("./components/share/Modal.vue"))["default"] + ShareRequest: (typeof import("./components/share/Request.vue"))["default"] + ShareTemplatesButton: (typeof import("./components/share/templates/Button.vue"))["default"] + ShareTemplatesEmbeds: (typeof import("./components/share/templates/Embeds.vue"))["default"] + ShareTemplatesLink: (typeof import("./components/share/templates/Link.vue"))["default"] + SmartAccentModePicker: (typeof import("./components/smart/AccentModePicker.vue"))["default"] + SmartChangeLanguage: (typeof import("./components/smart/ChangeLanguage.vue"))["default"] + SmartColorModePicker: (typeof import("./components/smart/ColorModePicker.vue"))["default"] + SmartEnvInput: (typeof import("./components/smart/EnvInput.vue"))["default"] + TabPrimary: (typeof import("./components/tab/Primary.vue"))["default"] + TabSecondary: (typeof import("./components/tab/Secondary.vue"))["default"] + Teams: (typeof import("./components/teams/index.vue"))["default"] + TeamsAdd: (typeof import("./components/teams/Add.vue"))["default"] + TeamsEdit: (typeof import("./components/teams/Edit.vue"))["default"] + TeamsInvite: (typeof import("./components/teams/Invite.vue"))["default"] + TeamsMemberStack: (typeof import("./components/teams/MemberStack.vue"))["default"] + TeamsModal: (typeof import("./components/teams/Modal.vue"))["default"] + TeamsTeam: (typeof import("./components/teams/Team.vue"))["default"] + Tippy: (typeof import("vue-tippy"))["Tippy"] + WorkspaceCurrent: (typeof import("./components/workspace/Current.vue"))["default"] + WorkspaceSelector: (typeof import("./components/workspace/Selector.vue"))["default"] } } diff --git a/packages/hoppscotch-sh-admin/locales/en.json b/packages/hoppscotch-sh-admin/locales/en.json index a9f2bdfeb4..b53af9d271 100644 --- a/packages/hoppscotch-sh-admin/locales/en.json +++ b/packages/hoppscotch-sh-admin/locales/en.json @@ -106,8 +106,18 @@ "admin_failure": "Failed to make user an admin!!", "admin_success": "User is now an admin!!", "and": "and", + "clear_selection": "Clear Selection", "configure_auth": "Check out the documentation to configure auth providers.", + "confirm_admin_to_user": "Do you want to remove admin status from this user?", + "confirm_admins_to_users": "Do you want to remove admin status from selected users?", + "confirm_delete_invite": "Do you want to revoke the selected invite?", + "confirm_delete_invites": "Do you want to revoke selected invites?", + "confirm_user_deletion": "Confirm user deletion?", + "confirm_users_deletion": "Do you want to delete selected users?", + "confirm_user_to_admin": "Do you want to make this user into an admin?", + "confirm_users_to_admin": "Do you want to make selected users into admins?", "confirm_logout": "Confirm Logout", + "created_on": "Created On", "continue_email": "Continue with Email", "continue_github": "Continue with Github", "continue_google": "Continue with Google", @@ -116,12 +126,21 @@ "create_team_failure": "Failed to create workspace!!", "create_team_success": "Workspace created successfully!!", "data_sharing_failure": "Failed to update data sharing settings", + "delete_invite_failure": "Failed to delete invite!!", + "delete_invites_failure": "Failed to delete selected invites!!", + "delete_invite_success": "Invite deleted successfully!!", + "delete_invites_success": "Selected invites deleted successfully!!", "delete_request_failure": "Shared Request deletion failed!!", "delete_request_success": "Shared Request deleted successfully!!", "delete_team_failure": "Workspace deletion failed!!", "delete_team_success": "Workspace deleted successfully!!", + "delete_some_users_failure": "Number of Users Not Deleted: {count}", + "delete_some_users_success": "Number of Users Deleted: {count}", + "delete_user_failed_only_one_admin": "Failed to delete user. There should be atleast one admin!!", "delete_user_failure": "User deletion failed!!", + "delete_users_failure": "Failed to delete selected users!!", "delete_user_success": "User deleted successfully!!", + "delete_users_success": "Selected users deleted successfully!!", "email": "Email", "email_failure": "Failed to send invitation", "email_signin_failure": "Failed to login with Email", @@ -146,16 +165,22 @@ "reenter_email": "Re-enter email", "remove_admin_failure": "Failed to remove admin status!!", "remove_admin_success": "Admin status removed!!", + "remove_admin_from_users_failure": "Failed to remove admin status from selected users!!", + "remove_admin_from_users_success": "Admin status removed from selected users!!", "remove_admin_to_delete_user": "Remove admin privilege to delete the user!!", + "remove_admin_for_deletion": "Remove admin status before attempting deletion!!", "remove_invitee_failure": "Removal of invitee failed!!", "remove_invitee_success": "Removal of invitee is successfull!!", "remove_member_failure": "Member couldn't be removed!!", "remove_member_success": "Member removed successfully!!", "rename_team_failure": "Failed to rename workspace!!", "rename_team_success": "Workspace renamed successfully!", + "rename_user_failure": "Failed to rename user!!", + "rename_user_success": "User renamed successfully!!", "require_auth_provider": "You need to set atleast one authentication provider to log in.", "role_update_failed": "Roles updation has failed!!", "role_update_success": "Roles updated successfully!!", + "selected": "{count} selected", "self_host_docs": "Self Host Documentation", "send_magic_link": "Send magic link", "setup_failure": "Setup has failed!!", @@ -164,7 +189,11 @@ "sign_in_options": "All sign in option", "sign_out": "Sign out", "team_name_too_short": "Workspace name should be atleast 6 characters long!!", - "user_not_found": "User not found in the infra!!" + "team_name_long": "Workspace name should be atleast 6 characters long!!", + "user_already_invited": "Failed to send invite. User is already invited!!", + "user_not_found": "User not found in the infra!!", + "users_to_admin_success": "Selected users are elevated to admin status!!", + "users_to_admin_failure": "Failed to elevate selected users to admin status!!" }, "teams": { "add_member": "Add Member", @@ -201,7 +230,7 @@ "name": "Workspace Name", "no_members": "No members in this workspace. Add members to this workspace to collaborate", "no_pending_invites": "No pending invites", - "no_teams": "No workspaces found", + "no_teams": "No workspaces found..", "pending_invites": "Pending invites", "roles": "Roles", "roles_description": "Roles are used to control access to the shared collections.", @@ -226,16 +255,17 @@ "admin": "Admin", "admin_email": "Admin Email", "admin_id": "Admin ID", - "confirm_admin_to_user": "Do you want to remove admin status from this user?", - "confirm_user_deletion": "Confirm user deletion?", - "confirm_user_to_admin": "Do you want to make this user into an admin?", + "cancel": "Cancel", "created_on": "Created On", "date": "Date", "delete": "Delete", "delete_user": "Delete User", + "delete_users": "Delete Users", "details": "Details", + "edit": "Edit", "email": "Email", "email_address": "Email Address", + "empty_name": "Name cannot be empty!!", "id": "User ID", "invalid_user": "Invalid User", "invite_load_list_error": "Unable to Load Invited Users List", @@ -245,14 +275,18 @@ "invitee_email": "Invitee Email", "load_info_error": "Unable to load user info", "load_list_error": "Unable to Load Users List", - "make_admin": "Make admin", + "make_admin": "Make Admin", "name": "Name", - "no_invite": "No invited users found", + "no_invite": "No pending invites found", "no_shared_requests": "No shared requests created by the user", "no_users": "No users found", "not_found": "User not found", + "pending_invites": "Pending Invites", "remove_admin_privilege": "Remove Admin Privilege", "remove_admin_status": "Remove Admin Status", + "rename": "Rename", + "revoke_invitation": "Revoke Invitation", + "searchbar_placeholder": "Search by name or email..", "send_invite": "Send Invite", "show_more": "Show more", "uid": "UID", diff --git a/packages/hoppscotch-sh-admin/package.json b/packages/hoppscotch-sh-admin/package.json index 923f0053a2..94839ff15b 100644 --- a/packages/hoppscotch-sh-admin/package.json +++ b/packages/hoppscotch-sh-admin/package.json @@ -17,7 +17,7 @@ "@fontsource-variable/material-symbols-rounded": "5.0.5", "@fontsource-variable/roboto-mono": "5.0.6", "@graphql-typed-document-node/core": "3.1.1", - "@hoppscotch/ui": "0.1.0", + "@hoppscotch/ui": "0.1.2", "@hoppscotch/vue-toasted": "0.1.0", "@intlify/unplugin-vue-i18n": "1.2.0", "@types/cors": "2.8.13", @@ -78,4 +78,4 @@ "singleQuote": true, "semi": true } -} \ No newline at end of file +} diff --git a/packages/hoppscotch-sh-admin/src/components.d.ts b/packages/hoppscotch-sh-admin/src/components.d.ts index 671efba5f9..c437ffcc31 100644 --- a/packages/hoppscotch-sh-admin/src/components.d.ts +++ b/packages/hoppscotch-sh-admin/src/components.d.ts @@ -29,8 +29,11 @@ declare module '@vue/runtime-core' { HoppSmartTable: typeof import('@hoppscotch/ui')['HoppSmartTable'] HoppSmartTabs: typeof import('@hoppscotch/ui')['HoppSmartTabs'] HoppSmartToggle: typeof import('@hoppscotch/ui')['HoppSmartToggle'] + IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default'] IconLucideChevronDown: typeof import('~icons/lucide/chevron-down')['default'] IconLucideInbox: typeof import('~icons/lucide/inbox')['default'] + IconLucideSearch: typeof import('~icons/lucide/search')['default'] + IconLucideUser: typeof import('~icons/lucide/user')['default'] SettingsAuthProvider: typeof import('./components/settings/AuthProvider.vue')['default'] SettingsConfigurations: typeof import('./components/settings/Configurations.vue')['default'] SettingsDataSharing: typeof import('./components/settings/DataSharing.vue')['default'] @@ -48,6 +51,7 @@ declare module '@vue/runtime-core' { UsersDetails: typeof import('./components/users/Details.vue')['default'] UsersInviteModal: typeof import('./components/users/InviteModal.vue')['default'] UsersSharedRequests: typeof import('./components/users/SharedRequests.vue')['default'] + UsersTable: typeof import('./components/users/Table.vue')['default'] } } diff --git a/packages/hoppscotch-sh-admin/src/components/users/Details.vue b/packages/hoppscotch-sh-admin/src/components/users/Details.vue index 197649c005..fe1ffbd01b 100644 --- a/packages/hoppscotch-sh-admin/src/components/users/Details.vue +++ b/packages/hoppscotch-sh-admin/src/components/users/Details.vue @@ -24,11 +24,40 @@ diff --git a/packages/hoppscotch-sh-admin/src/components/users/InviteModal.vue b/packages/hoppscotch-sh-admin/src/components/users/InviteModal.vue index c231e03c6e..36c536d4f7 100644 --- a/packages/hoppscotch-sh-admin/src/components/users/InviteModal.vue +++ b/packages/hoppscotch-sh-admin/src/components/users/InviteModal.vue @@ -10,6 +10,7 @@ v-model="email" :label="t('users.email_address')" input-styles="floating-input" + @submit="sendInvite" /> diff --git a/packages/hoppscotch-sh-admin/src/components/users/SharedRequests.vue b/packages/hoppscotch-sh-admin/src/components/users/SharedRequests.vue index b6f3b0768c..892dfb6c5d 100644 --- a/packages/hoppscotch-sh-admin/src/components/users/SharedRequests.vue +++ b/packages/hoppscotch-sh-admin/src/components/users/SharedRequests.vue @@ -1,78 +1,68 @@