chore: regenerate pnpm lock file (#2056)

* chore: regenerate pnpm lock file

* chore: update

* chore: update
This commit is contained in:
boojack
2023-08-02 20:20:34 +08:00
committed by GitHub
parent d114b630d2
commit b5a6f1f997
5 changed files with 593 additions and 1810 deletions

View File

@ -244,7 +244,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
<div className="dialog-content-container min-w-[19rem]">
{isCreating && (
<>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("common.type")}
</Typography>
<Select className="w-full mb-4" value={type} onChange={(_, e) => setType(e ?? type)}>
@ -254,7 +254,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
</Option>
))}
</Select>
<Typography className="mb-2" level="body2">
<Typography className="mb-2" level="body-md">
{t("setting.sso-section.template")}
</Typography>
<Select className="mb-1 h-auto w-full" value={selectedTemplate} onChange={(_, e) => setSelectedTemplate(e ?? selectedTemplate)}>
@ -267,7 +267,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
<Divider className="!my-2" />
</>
)}
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("common.name")}
<span className="text-red-600">*</span>
</Typography>
@ -283,7 +283,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.identifier-filter")}
</Typography>
<Input
@ -306,7 +306,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
{t("setting.sso-section.redirect-url")}: {absolutifyLink("/auth/callback")}
</p>
)}
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.client-id")}
<span className="text-red-600">*</span>
</Typography>
@ -317,7 +317,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialOAuth2Config({ clientId: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.client-secret")}
<span className="text-red-600">*</span>
</Typography>
@ -328,7 +328,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialOAuth2Config({ clientSecret: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.authorization-endpoint")}
<span className="text-red-600">*</span>
</Typography>
@ -339,7 +339,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialOAuth2Config({ authUrl: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.token-endpoint")}
<span className="text-red-600">*</span>
</Typography>
@ -350,7 +350,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialOAuth2Config({ tokenUrl: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.user-endpoint")}
<span className="text-red-600">*</span>
</Typography>
@ -361,7 +361,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialOAuth2Config({ userInfoUrl: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.scopes")}
<span className="text-red-600">*</span>
</Typography>
@ -373,7 +373,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
fullWidth
/>
<Divider className="!my-2" />
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.identifier")}
<span className="text-red-600">*</span>
</Typography>
@ -384,7 +384,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialOAuth2Config({ fieldMapping: { ...oauth2Config.fieldMapping, identifier: e.target.value } })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.sso-section.display-name")}
</Typography>
<Input
@ -394,7 +394,7 @@ const CreateIdentityProviderDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialOAuth2Config({ fieldMapping: { ...oauth2Config.fieldMapping, displayName: e.target.value } })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("common.email")}
</Typography>
<Input

View File

@ -192,7 +192,7 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => {
</button>
</div>
<div className="dialog-content-container !w-80">
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("resource.create-dialog.upload-method")}
</Typography>
<Select
@ -254,7 +254,7 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => {
{state.selectedMode === "external-link" && (
<>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("resource.create-dialog.external-link.link")}
</Typography>
<Input
@ -264,7 +264,7 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => {
onChange={handleExternalLinkChanged}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("resource.create-dialog.external-link.file-name")}
</Typography>
<Input
@ -274,7 +274,7 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => {
onChange={handleFileNameChanged}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("resource.create-dialog.external-link.type")}
</Typography>
<Autocomplete
@ -290,7 +290,7 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => {
{state.selectedMode === "download-link" && (
<>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("resource.create-dialog.external-link.link")}
</Typography>
<Input

View File

@ -114,7 +114,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
</button>
</div>
<div className="dialog-content-container min-w-[19rem]">
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("common.name")}
<RequiredBadge />
</Typography>
@ -130,7 +130,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.storage-section.endpoint")}
<RequiredBadge />
</Typography>
@ -141,7 +141,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialS3Config({ endPoint: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.storage-section.region")}
<RequiredBadge />
</Typography>
@ -152,7 +152,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialS3Config({ region: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.storage-section.accesskey")}
<RequiredBadge />
</Typography>
@ -163,7 +163,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialS3Config({ accessKey: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.storage-section.secretkey")}
<RequiredBadge />
</Typography>
@ -174,7 +174,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialS3Config({ secretKey: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.storage-section.bucket")}
<RequiredBadge />
</Typography>
@ -186,7 +186,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
fullWidth
/>
<div className="flex flex-row items-center mb-1">
<Typography level="body2">{t("setting.storage-section.path")}</Typography>
<Typography level="body-md">{t("setting.storage-section.path")}</Typography>
<LearnMore className="ml-1" title={t("setting.storage-section.path-description")} url="https://usememos.com/docs/local-storage" />
</div>
<Input
@ -196,7 +196,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialS3Config({ path: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.storage-section.url-prefix")}
</Typography>
<Input
@ -206,7 +206,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialS3Config({ urlPrefix: e.target.value })}
fullWidth
/>
<Typography className="!mb-1" level="body2">
<Typography className="!mb-1" level="body-md">
{t("setting.storage-section.url-suffix")}
</Typography>
<Input