11import React , { ChangeEvent , useEffect , useState } from "react" ;
2- import { TokenDecoderEncodingFormatPickerComponent } from "@/features/decoder/components/token-decoder-encoding-format-picker.component" ;
32import { SignatureVerificationSecretInputComponent } from "@/features/decoder/components/signature-verification-secret-input.component" ;
43import { SignatureVerificationPublicKeyInputComponent } from "@/features/decoder/components/signature-verification-public-key-input.component" ;
54import { CardWithHeadlineComponent } from "@/features/common/components/card/card.component" ;
65import { DEFAULT_JWT } from "@/features/decoder/services/token-decoder.service" ;
7- import { TokenDecoderKeyFormatPickerComponent } from "@/features/decoder/components/token-decoder-key-format-picker.component" ;
86import { useDecoderStore } from "@/features/decoder/services/decoder.store" ;
97import { HomeDictionaryModel } from "@/features/localization/models/home-dictionary.model" ;
108import { useDebuggerStore } from "@/features/debugger/services/debugger.store" ;
@@ -19,7 +17,7 @@ import { CardToolbarComponent } from "@/features/common/components/card-toolbar/
1917import { CardToolbarCopyButtonComponent } from "@/features/common/components/card-toolbar-buttons/card-toolbar-copy-button/card-toolbar-copy-button.component" ;
2018import { CardToolbarClearButtonComponent } from "@/features/common/components/card-toolbar-buttons/card-toolbar-clear-button/card-toolbar-clear-button.component" ;
2119import { NOOP_ALG } from "@/features/common/values/constants" ;
22- import { EncodingFormatToggleSwitchComponent } from "./encoding-format-toggle-swith/encoding-format-toggle-switch" ;
20+
2321
2422type SecretKeyInputComponentProps = {
2523 languageCode : string ;
@@ -129,6 +127,7 @@ export const SecretKeyInputComponent: React.FC<
129127 ? dictionary . description . secret
130128 : dictionary . description . publicKey ,
131129 } }
130+ hasHeaderIcon
132131 languageCode = { languageCode }
133132 messages = { {
134133 errors : verificationInputErrors$ ,
@@ -138,7 +137,7 @@ export const SecretKeyInputComponent: React.FC<
138137 : dictionary . editor . successMessage . publicKey ,
139138 ] ,
140139 } }
141- options = { { noPadding : true } }
140+ options = { { noPadding : false } }
142141 title = {
143142 isHmacAlg ( alg$ )
144143 ? dictionary . editor . title . secret
@@ -162,12 +161,7 @@ export const SecretKeyInputComponent: React.FC<
162161 isDisabled = { isHmacAlg ( alg$ ) ? ! secret : ! publicKey }
163162 />
164163 </ CardToolbarComponent >
165- ) ,
166- /* footer: isHmacAlg(alg$) ? (
167- <EncodingFormatToggleSwitchComponent languageCode={languageCode} />
168- ) : (
169- <TokenDecoderKeyFormatPickerComponent languageCode={languageCode} />
170- ), */
164+ )
171165 } }
172166 >
173167 { isHmacAlg ( alg$ ) && (
0 commit comments