chore: move templui utils into ui folder
This commit is contained in:
parent
5de84c6de7
commit
a3f4661456
44 changed files with 50 additions and 55 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
"componentsDir": "internal/ui/components",
|
"componentsDir": "internal/ui/components",
|
||||||
"utilsDir": "internal/utils",
|
"utilsDir": "internal/ui/utils",
|
||||||
"moduleName": "git.juancwu.dev/juancwu/budgit",
|
"moduleName": "git.juancwu.dev/juancwu/budgit",
|
||||||
"jsDir": "assets/js",
|
"jsDir": "assets/js",
|
||||||
"jsPublicPath": "/assets/js"
|
"jsPublicPath": "/assets/js"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/model"
|
"git.juancwu.dev/juancwu/budgit/internal/model"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/repository"
|
"git.juancwu.dev/juancwu/budgit/internal/repository"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"github.com/google/uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InviteService struct {
|
type InviteService struct {
|
||||||
|
|
@ -32,13 +32,7 @@ func (s *InviteService) CreateInvite(spaceID, inviterID, email string) (*model.S
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if inviter is member/owner of space? (Ideally yes, but for now assuming caller checks permissions)
|
token := uuid.NewString() // Or a more secure token generator
|
||||||
|
|
||||||
// Check if user is already a member
|
|
||||||
// This would require a method on SpaceRepo or SpaceService.
|
|
||||||
// For now, let's proceed.
|
|
||||||
|
|
||||||
token := utils.RandomID() // Or a more secure token generator
|
|
||||||
expiresAt := time.Now().Add(48 * time.Hour)
|
expiresAt := time.Now().Add(48 * time.Hour)
|
||||||
|
|
||||||
invitation := &model.SpaceInvitation{
|
invitation := &model.SpaceInvitation{
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package accordion
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/alert
|
// 📚 Documentation: https://templui.io/docs/components/alert
|
||||||
package alert
|
package alert
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Variant string
|
type Variant string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/aspect-ratio
|
// 📚 Documentation: https://templui.io/docs/components/aspect-ratio
|
||||||
package aspectratio
|
package aspectratio
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Ratio string
|
type Ratio string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/avatar
|
// 📚 Documentation: https://templui.io/docs/components/avatar
|
||||||
package avatar
|
package avatar
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/badge
|
// 📚 Documentation: https://templui.io/docs/components/badge
|
||||||
package badge
|
package badge
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Variant string
|
type Variant string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package breadcrumb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package button
|
package button
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package calendar
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/card
|
// 📚 Documentation: https://templui.io/docs/components/card
|
||||||
package card
|
package card
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package carousel
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/charts
|
// 📚 Documentation: https://templui.io/docs/components/charts
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Variant string
|
type Variant string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package checkbox
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/code
|
// 📚 Documentation: https://templui.io/docs/components/code
|
||||||
package code
|
package code
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/collapsible
|
// 📚 Documentation: https://templui.io/docs/components/collapsible
|
||||||
package collapsible
|
package collapsible
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package copybutton
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/card"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/card"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package dialog
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type contextKey string
|
type contextKey string
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package dropdown
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Placement = popover.Placement
|
type Placement = popover.Placement
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package form
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/label"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/label"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MessageVariant string
|
type MessageVariant string
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package input
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Type string
|
type Type string
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package inputotp
|
package inputotp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/label
|
// 📚 Documentation: https://templui.io/docs/components/label
|
||||||
package label
|
package label
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package pagination
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package popover
|
package popover
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package progress
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Size string
|
type Size string
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/radio
|
// 📚 Documentation: https://templui.io/docs/components/radio
|
||||||
package radio
|
package radio
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package rating
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/separator
|
// 📚 Documentation: https://templui.io/docs/components/separator
|
||||||
package separator
|
package separator
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Orientation string
|
type Orientation string
|
||||||
type Decoration string
|
type Decoration string
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package sheet
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/dialog"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/dialog"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type contextKey string
|
type contextKey string
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package sidebar
|
package sidebar
|
||||||
|
|
||||||
import "context"
|
import "context"
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/sheet"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/sheet"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/skeleton
|
// 📚 Documentation: https://templui.io/docs/components/skeleton
|
||||||
package skeleton
|
package skeleton
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package slider
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/switch
|
// 📚 Documentation: https://templui.io/docs/components/switch
|
||||||
package switchcomp
|
package switchcomp
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/table
|
// 📚 Documentation: https://templui.io/docs/components/table
|
||||||
package table
|
package table
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package tabs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package tagsinput
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/badge"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/badge"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package textarea
|
package textarea
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/card"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/card"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ package toast
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package tooltip
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Position string
|
type Position string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue