Files

151 lines
3.3 KiB
JavaScript

/**
* Vuesax linear icon aliases and recommended picker list.
*/
export const ICON_ALIASES = {
// Navigation & Actions
ArrowLeft: "arrow-left",
ArrowRight: "arrow-right",
ArrowUp: "arrow-up",
ArrowDown: "arrow-down",
ChevronDown: "arrow-down-1",
ChevronUp: "arrow-up-1",
ChevronLeft: "arrow-left-1",
ChevronRight: "arrow-right-1",
Menu: "menu",
X: "close-circle",
Plus: "add",
Trash: "trash",
Edit: "edit-2",
Copy: "copy",
Check: "tick-circle",
Search: "search-normal",
Filter: "filter",
Eye: "eye",
EyeOff: "eye-slash",
ImageOff: "gallery-slash",
Quote: "quote-up",
// Contact & Social
Phone: "call",
Mail: "sms",
MapPin: "location",
Clock: "clock",
Globe: "global",
Send: "send-2",
Instagram: "instagram",
Linkedin: "link",
MessageCircle: "messages-2",
Youtube: "video-play",
AtSign: "sms",
// Equipment & Safety Categories
HardHat: "security-safe",
Glasses: "glass",
Shirt: "tag",
Footprints: "routing-2",
Hand: "shield-tick",
Ear: "volume-high",
Wind: "wind-2",
TriangleAlert: "danger",
Siren: "lamp-on",
TrafficCone: "danger",
Construction: "setting-2",
Factory: "building-4",
Building2: "buildings-2",
Fuel: "gas-station",
Pickaxe: "hierarchy",
Flame: "flash",
Zap: "flash-circle",
Leaf: "tree",
HeartPulse: "heart-tick",
Star: "star",
ThumbsUp: "like-1",
Target: "radar-2",
Lock: "lock",
// Trust, Certifications & Standards
ShieldCheck: "shield-tick",
ShieldPlus: "shield-security",
ShieldAlert: "shield-cross",
BadgeCheck: "verify",
Award: "award",
Medal: "medal-star",
PackageCheck: "box-tick",
Package: "box",
Truck: "truck-time",
Warehouse: "buildings",
Users: "people",
Handshake: "user-tag",
Headset: "24-support",
ClipboardCheck: "clipboard-tick",
FileCheck: "document-text",
FileSearch: "document-filter",
GraduationCap: "teacher",
Gauge: "status",
Microscope: "search-status",
Wrench: "setting-4",
};
export function resolveVuesaxIcon(name) {
if (!name)
return "shield-tick";
if (name in ICON_ALIASES)
return ICON_ALIASES[name];
return name.replace(/^vuesax-linear:/, "");
}
/**
* Recommended icon names displayed in pickers and dropdowns
*/
export const RECOMMENDED_ICONS = [
"shield-tick",
"shield-security",
"shield-cross",
"security-safe",
"security-user",
"verify",
"award",
"medal-star",
"box-tick",
"box",
"truck-time",
"buildings",
"building-4",
"buildings-2",
"global",
"people",
"user-tag",
"24-support",
"call",
"sms",
"location",
"clock",
"clipboard-tick",
"document-text",
"document-filter",
"teacher",
"status",
"search-status",
"setting-2",
"setting-4",
"glass",
"tag",
"routing-2",
"volume-high",
"wind-2",
"danger",
"lamp-on",
"gas-station",
"hierarchy",
"flash",
"flash-circle",
"tree",
"heart-tick",
"star",
"like-1",
"radar-2",
"lock",
"eye",
"gallery",
"video-play",
];
export const ICON_NAMES = [
...RECOMMENDED_ICONS,
...Object.keys(ICON_ALIASES),
];
//# sourceMappingURL=icons.js.map