// // HomeIconCatalog.swift // suixinkan // // Created by Codex on 2026/6/22. // import Foundation /// 首页图标目录,负责为权限 URI 提供本地图标兜底。 enum HomeIconCatalog { /// 返回指定 URI 对应的 SF Symbols 名称。 static func iconName(for uri: String) -> String { switch uri { case "space_settings": "person.crop.square.fill" case "album_list": "photo.stack" case "album_trailer": "square.stack.3d.up.fill" case "wallet": "creditcard.fill" case "cloud_management": "icloud.fill" case "cloud_storage_transit": "arrow.left.arrow.right.circle.fill" case "asset_management", "/scenic-order-manage": "photo.on.rectangle.angled" case "material_upload": "square.and.arrow.up" case "task_management", "task_management_editor": "checklist" case "schedule_management": "calendar" case "system_settings": "gearshape.fill" case "message_center": "bell.fill" case "checkin_points": "mappin.and.ellipse" case "sample_management": "point.3.connected.trianglepath.dotted" case "sample_upload": "square.and.arrow.up.on.square" case "live_stream_management": "dot.radiowaves.left.and.right" case "verification_order": "checkmark.seal.fill" case "live_album": "play.rectangle.on.rectangle.fill" case "travel_album", "task_new_entry": "photo.on.rectangle.angled" case "pm", "pm_manager", "project_edit": "circle.grid.2x2.fill" case "location_report", "location_report_history": "mappin.circle.fill" case "registration_invitation", "photographer_invite": "envelope.open.fill" case "store": "storefront.fill" case "fly", "pilot_cert", "pilot_controller": "paperplane.fill" case "/scenic-queue", "queue_management": "person.3.fill" case "operating-area": "map.fill" case "scenicselection": "location.magnifyingglass" case "scenicapplication": "doc.badge.plus" case "permission_apply", "permission_apply_status": "person.badge.key" case "scenic_settlement", "scenic_settlement_review": "checklist" case "payment_collection", "payment_qr", "payment_code": "qrcode" case "deposit_order_detail", "deposit_order", "deposit_order_shooting_info": "doc.text.magnifyingglass" case "withdrawal_audit": "banknote.fill" case "invite_record": "list.bullet.rectangle.fill" case "more_functions": "ellipsis" default: "square.grid.2x2.fill" } } }