- Badges: the venue's list (setting signage.badges: names el/en, colours, an icon from a food and drink set) edited under Signage -> "Message & settings"; sent with the venue to screens and previews; several badges per product (MenuList.badges lists, a single one still read) in the shared multiple Dropdown; a board's badge colour / text colour override them (None = each own). - Widgets: colour, background plate, font, bold / italic / underline, text size, QR colours; widgets in a stack's part get every setting, vertical alignment, and a custom box inside their place, picked (stack, then widget) and dragged on the preview (selection by path "2.1.0"). - Menu slides: vertical alignment of the list (board_valign); "Where the list sits" is now "Horizontal alignment". - Message of the day: one component in the settings tab, on the Overview and from its widget. - Leaving a slide with changes: "Save and leave" (ConfirmDialog altLabel). - @xenia/ui: ColourField (with colour.js helpers), FieldRow (framed only while wrapped), Slider, IconPicker, Segmented multiple; native selects on the Overview and signage replaced by Dropdown, the device settings' colour input by ColourField. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
1.3 KiB
JavaScript
17 lines
1.3 KiB
JavaScript
// The icons a menu badge can have (owner review 5, 2026-11-21): the same names as the server's
|
|
// list (local_backend/services/signage_badges.py ICONS), drawn on the TV and offered in the editor.
|
|
import {
|
|
Apple, Award, Beef, Beer, CakeSlice, Carrot, ChefHat, Cherry, Citrus, Clock, Coffee, Croissant, Crown, CupSoda, Drumstick, Egg,
|
|
Fish, Flame, Gift, GlassWater, Hamburger, Heart, IceCreamCone, Leaf, Martini, Milk, Nut, Percent, Pizza, Salad, Sandwich, Shrimp,
|
|
Snowflake, Soup, Sparkles, Sprout, Star, Tag, ThumbsUp, Vegan, Wheat, WheatOff, Wine, Zap,
|
|
} from 'lucide-react'
|
|
|
|
export const BADGE_ICONS = {
|
|
sparkles: Sparkles, 'chef-hat': ChefHat, tag: Tag, star: Star, flame: Flame, sprout: Sprout, leaf: Leaf, vegan: Vegan, wheat: Wheat,
|
|
'wheat-off': WheatOff, fish: Fish, shrimp: Shrimp, beef: Beef, drumstick: Drumstick, egg: Egg, milk: Milk, nut: Nut, carrot: Carrot,
|
|
salad: Salad, pizza: Pizza, hamburger: Hamburger, sandwich: Sandwich, soup: Soup, croissant: Croissant, 'ice-cream-cone': IceCreamCone,
|
|
'cake-slice': CakeSlice, coffee: Coffee, 'cup-soda': CupSoda, wine: Wine, beer: Beer, martini: Martini, 'glass-water': GlassWater,
|
|
citrus: Citrus, cherry: Cherry, apple: Apple, heart: Heart, award: Award, 'thumbs-up': ThumbsUp, clock: Clock, percent: Percent,
|
|
gift: Gift, crown: Crown, zap: Zap, snowflake: Snowflake,
|
|
}
|