Skip to content

TileConfigComponent

component

Selector: yuv-tile-config

Standalone: Yes

Type: string | undefined

Default Value: undefined

Tile configurations are stored globally for all apps. If you want a separate config for your app/component you can specify a bucket. A bucket is basically an ID where your custom tile config will be stored and retrieved. Buckets should be unique so be sure to use a unique namespace.

Type: string | undefined

Default Value: undefined

Type: ObjectFlavor[]

Default Value: []

Type: VirtualObjectType[] | undefined

Default Value: undefined

Type: EventEmitter

Type: EventEmitter

Type: Record<string | ObjectConfig | undefined>

Default Value: \{\}

Type: ObjectFlavor[]

Default Value: []

Type: ObjectConfig

Type: string

Type: VirtualObjectType

Type: ObjectTypeField[]

Default Value: []

Type: Signal<InnerType[]>

Default Value: computed(() => \{ const configTypes = this.configTypes() || []; const configFlavors: VirtualObjectType[] = []; // TODO: enable when flavors are supported in tile config // const cf = this.configFlavors() || []; return [ ...configTypes.map((types) => (\{ id: types.id, icon: types.icon, data: types \})), ...configFlavors.map((flavors) => (\{ id: flavors.id, icon: flavors.icon, flavor: true, data: flavors \})) ]; \})

actionSelected(action: Action): void
NameTypeDescription
actionAction
badgeSelected(badge: Badge): void
NameTypeDescription
badgeBadge
cancelConfig(): void
getConfigProperty(value: string): ObjectConfigProperty | undefined
NameTypeDescription
valuestring
getConfigValue(value: string): ObjectConfigIcon | ObjectConfigProperty | ObjectConfigAction | ObjectConfigBadge | undefined
NameTypeDescription
valuestring
getSelectedActions(): string[]
getSelectedBadges(): string[]
getTypeLabel(typeId: string): string
NameTypeDescription
typeIdstring
iconSelected(icon: string | null): void
NameTypeDescription
iconstring | null
propertySelected(tileSlot: string, field?: Partial<ObjectTypeField>): void
NameTypeDescription
tileSlotstring
fieldPartial<ObjectTypeField>
resetConfig(): void
saveConfig(): void
slotSelect(item: string): void
NameTypeDescription
itemstring
typeSelected(innerType: InnerType): void
NameTypeDescription
innerTypeInnerType