chore: update templ and templui

This commit is contained in:
juancwu 2026-04-12 16:07:06 +00:00
commit 61eaa268ab
89 changed files with 25776 additions and 8231 deletions

View file

@ -1,8 +1,9 @@
// templui component inputotp - version: v1.2.0 installed by templui v1.2.0
// templui component inputotp - version: v1.9.5 installed by templui v1.9.5
// 📚 Documentation: https://templui.io/docs/components/input-otp
package inputotp
import (
"git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
"strconv"
)
@ -176,6 +177,11 @@ templ Separator(props ...SeparatorProps) {
</div>
}
var scriptOnce = templ.NewOnceHandle()
templ Script() {
<script defer nonce={ templ.GetNonce(ctx) } src={ utils.ScriptURL("/assets/js/inputotp.min.js") }></script>
@scriptOnce.Once() {
@input.Script()
@utils.ComponentScript("inputotp")
}
}