@yuebai008/cli
Version:
Command line interface for rapid qg-minigame development
1 lines • 872 B
JavaScript
import*as i18n from"../../core/i18n/i18n.js";import*as Root from"../../core/root/root.js";import*as UI from"../../ui/legacy/legacy.js";const UIStrings={webauthn:"WebAuthn",showWebauthn:"Show WebAuthn"},str_=i18n.i18n.registerUIStrings("panels/webauthn/webauthn-meta.ts",UIStrings),i18nLazyString=i18n.i18n.getLazilyComputedLocalizedString.bind(void 0,str_);let loadedWebauthnModule;async function loadWebauthnModule(){return loadedWebauthnModule||(loadedWebauthnModule=await import("./webauthn.js")),loadedWebauthnModule}UI.ViewManager.registerViewExtension({location:"drawer-view",id:"webauthn-pane",title:i18nLazyString(UIStrings.webauthn),commandPrompt:i18nLazyString(UIStrings.showWebauthn),order:100,persistence:"closeable",loadView:async()=>(await loadWebauthnModule()).WebauthnPane.WebauthnPaneImpl.instance(),experiment:Root.Runtime.ExperimentName.WEBAUTHN_PANE});