| 
									
										
										
										
											2023-02-03 22:28:11 +01:00
										 |  |  | <script lang="ts" context="module"> | 
					
						
							|  |  |  |   export interface Theme { | 
					
						
							|  |  |  |     id: string | 
					
						
							|  |  |  |     icon: string | 
					
						
							|  |  |  |     title: any | 
					
						
							|  |  |  |     shortDescription: any | 
					
						
							|  |  |  |     definition?: any | 
					
						
							|  |  |  |     mustHaveLanguage?: boolean | 
					
						
							|  |  |  |     hideFromOverview: boolean | 
					
						
							|  |  |  |     keywords?: any[] | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script lang="ts"> | 
					
						
							|  |  |  |   import { UIEventSource } from "../../Logic/UIEventSource" | 
					
						
							|  |  |  |   import Svg from "../../Svg" | 
					
						
							|  |  |  |   import SubtleButton from "../Base/SubtleButton.svelte" | 
					
						
							|  |  |  |   import ToSvelte from "../Base/ToSvelte.svelte" | 
					
						
							|  |  |  |   import Translations from "../i18n/Translations" | 
					
						
							| 
									
										
										
										
											2023-05-11 02:17:41 +02:00
										 |  |  |   import Tr from "../Base/Tr.svelte"; | 
					
						
							| 
									
										
										
										
											2023-02-03 22:28:11 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |   export let search: UIEventSource<string> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   const t = Translations.t.general.morescreen | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <span> | 
					
						
							|  |  |  |   <h5>{t.noMatchingThemes.toString()}</h5> | 
					
						
							|  |  |  |   <button | 
					
						
							|  |  |  |     on:click={() => { | 
					
						
							|  |  |  |       search.setData("") | 
					
						
							|  |  |  |     }} | 
					
						
							|  |  |  |   > | 
					
						
							|  |  |  |       <SubtleButton> | 
					
						
							|  |  |  |         <span slot="image"> | 
					
						
							| 
									
										
										
										
											2023-05-08 01:55:21 +02:00
										 |  |  |           <ToSvelte construct={Svg.search_disable_svg().SetClass("w-6 mr-2")} /> | 
					
						
							| 
									
										
										
										
											2023-02-03 22:28:11 +01:00
										 |  |  |         </span> | 
					
						
							| 
									
										
										
										
											2023-05-11 02:17:41 +02:00
										 |  |  |         <Tr t={t.noSearch} slot="message"/> | 
					
						
							| 
									
										
										
										
											2023-02-03 22:28:11 +01:00
										 |  |  |       </SubtleButton> | 
					
						
							|  |  |  |   </button> | 
					
						
							|  |  |  | </span> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <style lang="scss"> | 
					
						
							|  |  |  |   span { | 
					
						
							|  |  |  |     @apply flex flex-col items-center w-full; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     h5 { | 
					
						
							|  |  |  |       @apply w-max font-bold; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // SubtleButton | 
					
						
							|  |  |  |     button { | 
					
						
							|  |  |  |       @apply h-12; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       span { | 
					
						
							|  |  |  |         @apply w-max; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         :global(img) { | 
					
						
							|  |  |  |           @apply h-6; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | </style> |