|
|
|
@@ -403,21 +403,22 @@
|
|
|
|
<span class="text-textcolor2 text-sm">{language.jsonDesc}</span>
|
|
|
|
<span class="text-textcolor2 text-sm">{language.jsonDesc}</span>
|
|
|
|
{:else if cardExportType === 'ccv2'}
|
|
|
|
{:else if cardExportType === 'ccv2'}
|
|
|
|
<span class="text-textcolor2 text-sm">{language.ccv2Desc}</span>
|
|
|
|
<span class="text-textcolor2 text-sm">{language.ccv2Desc}</span>
|
|
|
|
|
|
|
|
<span class="text-red-500 text-sm">{language.v2Warning}</span>
|
|
|
|
{:else}
|
|
|
|
{:else}
|
|
|
|
<span class="text-textcolor2 text-sm">{language.realmDesc}</span>
|
|
|
|
<span class="text-textcolor2 text-sm">{language.realmDesc}</span>
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
<div class="flex items-center flex-wrap mt-2">
|
|
|
|
<div class="flex items-center flex-wrap mt-2">
|
|
|
|
{#if $alertStore.submsg === 'preset'}
|
|
|
|
{#if $alertStore.submsg === 'preset'}
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>Risupreset</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>Risupreset</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'json'} on:click={() => {cardExportType = 'json'}}>JSON</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'json'} on:click={() => {cardExportType = 'json'}}>JSON</button>
|
|
|
|
{:else if $alertStore.submsg === 'module'}
|
|
|
|
{:else if $alertStore.submsg === 'module'}
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>JSON</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>JSON</button>
|
|
|
|
{:else}
|
|
|
|
{:else}
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === 'realm'} on:click={() => {cardExportType = 'realm'}}>RisuRealm</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>Character Card V3</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === ''} on:click={() => {cardExportType = ''}}>Character Card V3</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg flex-1" class:ring-1={cardExportType === 'ccv2'} on:click={() => {cardExportType = 'ccv2'}}>Character Card V2</button>
|
|
|
|
<button class="bg-bgcolor px-2 py-4 rounded-lg ml-2 flex-1" class:ring-1={cardExportType === 'ccv2'} on:click={() => {cardExportType = 'ccv2'}}>Character Card V2</button>
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{#if $alertStore.submsg === '' && cardExportType === ''}
|
|
|
|
{#if $alertStore.submsg === '' && cardExportType === ''}
|
|
|
|
|