merge v0.23.0-rc changes

This commit is contained in:
Gani Georgiev
2024-09-29 19:23:19 +03:00
parent ad92992324
commit 844f18cac3
753 changed files with 85141 additions and 63396 deletions
@@ -0,0 +1,32 @@
<script>
import Field from "@/components/base/Field.svelte";
import CommonHelper from "@/utils/CommonHelper";
export let key;
export let label;
export let duration;
export let secret;
</script>
<Field class="form-field required" name="{key}.duration" let:uniqueId>
<label for={uniqueId}>{label} duration (in seconds)</label>
<input type="number" id={uniqueId} required bind:value={duration} placeholder="No change" />
<div class="help-block">
<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<span
class="link-primary"
class:txt-success={!!secret}
on:click={() => {
// toggle
if (secret) {
secret = undefined;
} else {
secret = CommonHelper.randomSecret(50);
}
}}
>
Invalidate all previously issued tokens
</span>
</div>
</Field>