@@ -19,6 +19,7 @@ import { CardToolbarComponent } from "@/features/common/components/card-toolbar/
1919import  {  CardToolbarCopyButtonComponent  }  from  "@/features/common/components/card-toolbar-buttons/card-toolbar-copy-button/card-toolbar-copy-button.component" ; 
2020import  {  CardToolbarClearButtonComponent  }  from  "@/features/common/components/card-toolbar-buttons/card-toolbar-clear-button/card-toolbar-clear-button.component" ; 
2121import  {  NOOP_ALG  }  from  "@/features/common/values/constants" ; 
22+ import  {  EncodingFormatToggleSwitchComponent  }  from  "./encoding-format-toggle-swith/encoding-format-toggle-switch" ; 
2223
2324type  SecretKeyInputComponentProps  =  { 
2425  languageCode : string ; 
@@ -29,27 +30,27 @@ export const SecretKeyInputComponent: React.FC<
2930  SecretKeyInputComponentProps 
3031>  =  ( {  languageCode,  dictionary } )  =>  { 
3132  const  handleSymmetricSecretKeyChange$  =  useDecoderStore ( 
32-     ( state )  =>  state . handleSymmetricSecretKeyChange , 
33+     ( state )  =>  state . handleSymmetricSecretKeyChange 
3334  ) ; 
3435  const  handleAsymmetricPublicKeyChange$  =  useDecoderStore ( 
35-     ( state )  =>  state . handleAsymmetricPublicKeyChange , 
36+     ( state )  =>  state . handleAsymmetricPublicKeyChange 
3637  ) ; 
3738  const  resetControlledSymmetricSecretKey$  =  useDecoderStore ( 
38-     ( state )  =>  state . resetControlledSymmetricSecretKey , 
39+     ( state )  =>  state . resetControlledSymmetricSecretKey 
3940  ) ; 
4041  const  resetControlledAsymmetricPublicKey$  =  useDecoderStore ( 
41-     ( state )  =>  state . resetControlledAsymmetricPublicKey , 
42+     ( state )  =>  state . resetControlledAsymmetricPublicKey 
4243  ) ; 
4344
4445  const  alg$  =  useDecoderStore ( ( state )  =>  state . alg ) ; 
4546  const  verificationInputErrors$  =  useDecoderStore ( 
46-     ( state )  =>  state . verificationInputErrors , 
47+     ( state )  =>  state . verificationInputErrors 
4748  ) ; 
4849  const  controlledSymmetricSecretKey  =  useDecoderStore ( 
49-     ( state )  =>  state . controlledSymmetricSecretKey , 
50+     ( state )  =>  state . controlledSymmetricSecretKey 
5051  ) ; 
5152  const  controlledAsymmetricPublicKey  =  useDecoderStore ( 
52-     ( state )  =>  state . controlledAsymmetricPublicKey , 
53+     ( state )  =>  state . controlledAsymmetricPublicKey 
5354  ) ; 
5455
5556  const  decoderInputs$  =  useDebuggerStore ( ( state )  =>  state . decoderInputs$ ) ; 
@@ -58,7 +59,7 @@ export const SecretKeyInputComponent: React.FC<
5859    decoderInputs$ . algType  ===  SigningAlgCategoryValues . SYMMETRIC  && 
5960      decoderInputs$ . symmetricSecretKey 
6061      ? decoderInputs$ . symmetricSecretKey 
61-       : DEFAULT_JWT . secret , 
62+       : DEFAULT_JWT . secret 
6263  ) ; 
6364  const  [ publicKey ,  setPublicKey ]  =  useState < string > ( "" ) ; 
6465
@@ -87,7 +88,7 @@ export const SecretKeyInputComponent: React.FC<
8788  } ; 
8889
8990  const  handleSymmetricSecretKeyChange  =  async  ( 
90-     e : ChangeEvent < HTMLTextAreaElement > , 
91+     e : ChangeEvent < HTMLTextAreaElement > 
9192  )  =>  { 
9293    const  key  =  e . target . value ; 
9394
@@ -99,7 +100,7 @@ export const SecretKeyInputComponent: React.FC<
99100  } ; 
100101
101102  const  handleAsymmetricPublicKeyChange  =  async  ( 
102-     e : ChangeEvent < HTMLTextAreaElement > , 
103+     e : ChangeEvent < HTMLTextAreaElement > 
103104  )  =>  { 
104105    const  key  =  e . target . value ; 
105106
@@ -162,6 +163,11 @@ export const SecretKeyInputComponent: React.FC<
162163            /> 
163164          </ CardToolbarComponent > 
164165        ) , 
166+         /* footer: isHmacAlg(alg$) ? ( 
167+           <EncodingFormatToggleSwitchComponent languageCode={languageCode} /> 
168+         ) : ( 
169+           <TokenDecoderKeyFormatPickerComponent languageCode={languageCode} /> 
170+         ), */ 
165171      } } 
166172    > 
167173      { isHmacAlg ( alg$ )  &&  ( 
0 commit comments