/**
* Icon Library - Comprehensive SVG Icons
* All icons used throughout the application
*/
const Icons = {
// Navigation Icons
dashboard: ``,
market: ``,
trading: ``,
sentiment: ``,
models: ``,
news: ``,
technical: ``,
dataSource: ``,
settings: ``,
// Action Icons
refresh: ``,
search: ``,
filter: ``,
sort: ``,
download: ``,
upload: ``,
copy: ``,
close: ``,
check: ``,
plus: ``,
minus: ``,
// Status Icons
success: ``,
error: ``,
warning: ``,
info: ``,
// Crypto Icons
bitcoin: ``,
ethereum: ``,
// Arrow Icons
arrowUp: ``,
arrowDown: ``,
arrowRight: ``,
arrowLeft: ``,
// More Icons
bell: ``,
user: ``,
calendar: ``,
clock: ``,
};
// Helper function to get icon
window.getIcon = function(name, className = 'icon') {
const svg = Icons[name] || Icons.info;
const wrapper = document.createElement('div');
wrapper.innerHTML = svg;
const svgElement = wrapper.firstChild;
svgElement.classList.add(className);
return svgElement.outerHTML;
};
// Export
if (typeof module !== 'undefined' && module.exports) {
module.exports = { Icons, getIcon: window.getIcon };
}
window.Icons = Icons;
console.log('✅ Icons library loaded');