updated to Svelte 4

This commit is contained in:
Gani Georgiev
2023-09-01 09:22:49 +03:00
parent b2bab9573a
commit 8a94ccea42
79 changed files with 1917 additions and 1853 deletions

View File

@@ -49,7 +49,7 @@
{#if hasUsernameErrors}
<i
class="ri-error-warning-fill txt-danger"
transition:scale|local={{ duration: 150, start: 0.7 }}
transition:scale={{ duration: 150, start: 0.7 }}
use:tooltip={{ text: "Has errors", position: "left" }}
/>
{/if}
@@ -79,7 +79,7 @@
{#if hasEmailErrors}
<i
class="ri-error-warning-fill txt-danger"
transition:scale|local={{ duration: 150, start: 0.7 }}
transition:scale={{ duration: 150, start: 0.7 }}
use:tooltip={{ text: "Has errors", position: "left" }}
/>
{/if}
@@ -91,7 +91,7 @@
</Field>
{#if collection.options.allowEmailAuth}
<div class="grid grid-sm p-t-sm" transition:slide|local={{ duration: 150 }}>
<div class="grid grid-sm p-t-sm" transition:slide={{ duration: 150 }}>
<div class="col-lg-6">
<Field
class="form-field {!CommonHelper.isEmpty(collection.options.onlyEmailDomains)
@@ -166,7 +166,7 @@
{#if hasOAuth2Errors}
<i
class="ri-error-warning-fill txt-danger"
transition:scale|local={{ duration: 150, start: 0.7 }}
transition:scale={{ duration: 150, start: 0.7 }}
use:tooltip={{ text: "Has errors", position: "left" }}
/>
{/if}
@@ -178,7 +178,7 @@
</Field>
{#if collection.options.allowOAuth2Auth}
<div class="block" transition:slide|local={{ duration: 150 }}>
<div class="block" transition:slide={{ duration: 150 }}>
<div class="flex p-t-base">
<a href="#/settings/auth-providers" target="_blank" class="btn btn-sm btn-outline">
<span class="txt">Manage OAuth2 providers</span>