11<script  lang="ts" setup>
2- import  { serverState  } from  ' ~/_data/serverState' 
2+ import  { useDummyServerStore  } from  ' ~/_data/serverState' 
33
4+ const =  useDummyServerStore ();
5+ const =  storeToRefs (serverStore );
46const =  useCustomElements ();
57onBeforeMount (() =>  {
68  registerEntry (' UnraidComponents'  
@@ -12,12 +14,8 @@ onBeforeMount(() => {
1214    <unraid-i18n-host 
1315      class =" flex flex-col gap-6 p-6 mx-auto text-black bg-white dark:text-white dark:bg-black" 
1416    >
15-       <h2  class =" text-xl font-semibold font-mono" 
16-         Web Components
17-       </h2 >
18-       <h3  class =" text-lg font-semibold font-mono" 
19-         UserProfileCe
20-       </h3 >
17+       <h2  class =" text-xl font-semibold font-mono" h2 >
18+       <h3  class =" text-lg font-semibold font-mono" h3 >
2119      <header  class =" bg-header-background-color py-4 flex flex-row justify-between items-center" 
2220        <div  class =" inline-flex flex-col gap-4 items-start px-4" 
2321          <a  href =" https://unraid.net" target =" _blank" 
@@ -27,59 +25,36 @@ onBeforeMount(() => {
2725        </div >
2826        <unraid-user-profile  :server =" JSON.stringify(serverState)" 
2927      </header >
30-       <hr  class =" border-black dark:border-white" 
28+       <hr  class =" border-black dark:border-white" / >
3129
32-       <h3  class =" text-lg font-semibold font-mono" 
33-         ConnectSettingsCe
34-       </h3 >
30+       <h3  class =" text-lg font-semibold font-mono" h3 >
3531      <ConnectSettingsCe  />
36-       <hr  class =" border-black dark:border-white" 
37-       <h3  class =" text-lg font-semibold font-mono" 
38-         DownloadApiLogsCe
39-       </h3 >
32+       <hr  class =" border-black dark:border-white" 
33+       <h3  class =" text-lg font-semibold font-mono" h3 >
4034      <unraid-download-api-logs  />
41-       <hr  class =" border-black dark:border-white" 
42-       <h3  class =" text-lg font-semibold font-mono" 
43-         AuthCe
44-       </h3 >
35+       <hr  class =" border-black dark:border-white" 
36+       <h3  class =" text-lg font-semibold font-mono" h3 >
4537      <unraid-auth  />
46-       <hr  class =" border-black dark:border-white" 
47-       <h3  class =" text-lg font-semibold font-mono" 
48-         WanIpCheckCe
49-       </h3 >
38+       <hr  class =" border-black dark:border-white" 
39+       <h3  class =" text-lg font-semibold font-mono" h3 >
5040      <unraid-wan-ip-check  php-wan-ip =" 47.184.85.45" 
51-       <hr  class =" border-black dark:border-white" 
52-       <h3  class =" text-lg font-semibold font-mono" 
53-         HeaderOsVersion
54-       </h3 >
41+       <hr  class =" border-black dark:border-white" 
42+       <h3  class =" text-lg font-semibold font-mono" h3 >
5543      <unraid-header-os-version  />
56-       <hr  class =" border-black dark:border-white" 
57-       <h3  class =" text-lg font-semibold font-mono" 
58-         UpdateOsCe
59-       </h3 >
44+       <hr  class =" border-black dark:border-white" 
45+       <h3  class =" text-lg font-semibold font-mono" h3 >
6046      <unraid-update-os  />
61-       <hr  class =" border-black dark:border-white" 
62-       <h3  class =" text-lg font-semibold font-mono" 
63-         DowngradeOsCe
64-       </h3 >
65-       <unraid-downgrade-os 
66-         restore-release-date =" 2022-10-10" 
67-         restore-version =" 6.11.2" 
68-       />
69-       <hr  class =" border-black dark:border-white" 
70-       <h3  class =" text-lg font-semibold font-mono" 
71-         RegistrationCe
72-       </h3 >
47+       <hr  class =" border-black dark:border-white" 
48+       <h3  class =" text-lg font-semibold font-mono" h3 >
49+       <unraid-downgrade-os  restore-release-date =" 2022-10-10" restore-version =" 6.11.2" 
50+       <hr  class =" border-black dark:border-white" 
51+       <h3  class =" text-lg font-semibold font-mono" h3 >
7352      <unraid-registration  />
74-       <hr  class =" border-black dark:border-white" 
75-       <h3  class =" text-lg font-semibold font-mono" 
76-         ModalsCe
77-       </h3 >
53+       <hr  class =" border-black dark:border-white" 
54+       <h3  class =" text-lg font-semibold font-mono" h3 >
7855      <!--  uncomment to test modals <unraid-modals />--> 
79-       <hr  class =" border-black dark:border-white" 
80-       <h3  class =" text-lg font-semibold font-mono" 
81-         SSOSignInButtonCe
82-       </h3 >
56+       <hr  class =" border-black dark:border-white" 
57+       <h3  class =" text-lg font-semibold font-mono" h3 >
8358      <unraid-sso-button  :ssoenabled =" serverState.ssoEnabled" 
8459    </unraid-i18n-host >
8560  </client-only >
0 commit comments