Compare commits
2 Commits
aa39aaf84f
...
v1.0.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28c027c48b | ||
|
|
80fc26eb3b |
@@ -4,7 +4,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.auvem.com/svelte-toolkit/sui.git"
|
"url": "https://gitea.auvem.com/svelte-toolkit/sui.git"
|
||||||
},
|
},
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build && pnpm run prepack",
|
"build": "vite build && pnpm run prepack",
|
||||||
|
|||||||
@@ -270,21 +270,19 @@
|
|||||||
controlsAlign === 'end' && 'justify-end'
|
controlsAlign === 'end' && 'justify-end'
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
{#if controls && typeof controls === 'function'}{@render controls()}{:else}
|
{#if controls && typeof controls === 'function'}{@render controls()}{:else if controls?.flip}
|
||||||
{#if controls.ok !== null}
|
{#if controls.ok !== null}
|
||||||
{@render dialogOkButton(getState(), controls.ok)}
|
{@render dialogOkButton(getState(), controls.ok)}
|
||||||
{/if}
|
{/if}
|
||||||
{#if controls?.flip}
|
{#if controls.cancel !== null}
|
||||||
{#if controls.cancel !== null}
|
{@render dialogCancelButton(getState(), controls.cancel)}
|
||||||
{@render dialogCancelButton(getState(), controls.cancel)}
|
{/if}
|
||||||
{/if}
|
{:else}
|
||||||
{:else}
|
{#if controls.cancel !== null}
|
||||||
{#if controls.cancel !== null}
|
{@render dialogCancelButton(getState(), controls.cancel)}
|
||||||
{@render dialogCancelButton(getState(), controls.cancel)}
|
{/if}
|
||||||
{/if}
|
{#if controls.ok !== null}
|
||||||
{#if controls.ok !== null}
|
{@render dialogOkButton(getState(), controls.ok)}
|
||||||
{@render dialogOkButton(getState(), controls.ok)}
|
|
||||||
{/if}
|
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user