import{_ as e,c as o,o as d,a as c}from"./app.ab34650d.js";const b=JSON.parse('{"title":"Interface: BaseBuyable","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"},{"level":3,"title":"amount","slug":"amount"},{"level":3,"title":"canAfford","slug":"canafford"},{"level":3,"title":"canClick","slug":"canclick"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"maxed","slug":"maxed"},{"level":3,"title":"onClick","slug":"onclick"},{"level":3,"title":"purchase","slug":"purchase"},{"level":3,"title":"type","slug":"type"}],"relativePath":"api/interfaces/features/buyable.BaseBuyable.md","lastUpdated":null}'),t={name:"api/interfaces/features/buyable.BaseBuyable.md"},r=c('
features/buyable.BaseBuyable
\u2022 [Component]: DefineComponent
<{ canClick
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; display
: { required
: true
= true; type
: PropType
<ProcessedComputable
<undefined
| CoercableComponent
| { description
: CoercableComponent
; title?
: CoercableComponent
} | { description
: CoercableComponent
; title?
: CoercableComponent
}>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; onClick
: PropType
<(e?
: MouseEvent
| TouchEvent
) => void
> ; onHold
: PropType
<VoidFunction
> ; small
: BooleanConstructor
= Boolean; style
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }, { Visibility
: typeof Visibility
; comp
: ShallowRef
<string
| Component
<any
, any
, any
, ComputedOptions
, MethodOptions
>> ; start
: (e
: MouseEvent
| TouchEvent
) => void
; stop
: VoidFunction
; unref
: <T>(ref
: T
| Ref
<T
>) => T
}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<{ canClick
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; display
: { required
: true
= true; type
: PropType
<ProcessedComputable
<undefined
| CoercableComponent
| { description
: CoercableComponent
; title?
: CoercableComponent
} | { description
: CoercableComponent
; title?
: CoercableComponent
}>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; onClick
: PropType
<(e?
: MouseEvent
| TouchEvent
) => void
> ; onHold
: PropType
<VoidFunction
> ; small
: BooleanConstructor
= Boolean; style
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }>>, { small
: boolean
= Boolean }>
profectus/src/features/buyable.tsx:55
\u2022 [GatherProps]: () => Record
<string
, unknown
>
\u25B8 (): Record
<string
, unknown
>
Record
<string
, unknown
>
profectus/src/features/buyable.tsx:56
\u2022 amount: Persistent
<DecimalSource
>
profectus/src/features/buyable.tsx:48
\u2022 canAfford: Ref
<boolean
>
profectus/src/features/buyable.tsx:50
\u2022 canClick: ProcessedComputable
<boolean
>
profectus/src/features/buyable.tsx:51
\u2022 id: string
profectus/src/features/buyable.tsx:47
\u2022 maxed: Ref
<boolean
>
profectus/src/features/buyable.tsx:49
\u2022 onClick: VoidFunction
profectus/src/features/buyable.tsx:52
\u2022 purchase: VoidFunction
profectus/src/features/buyable.tsx:53
\u2022 type: typeof BuyableType