/** * * Icon Library for usage * * Auto generated by /tools/generate-svg-icon.js * * !!! DO NOT MODIFY MANUALLY !!! * * @datetime 2025/1/11 17:05:24 * */ // == collection start const collections = { default: { "icons": { "出差审批 icon_1-16": [ "", 0, 1 ], "常用 icon_1-15": [ "", 2, 1 ], "平时考核 icon_1-22": [ "", 0, 1 ], "用印审批 icon_1-26": [ "", 3, 1 ], "议题管理 icon_3-10": [ "", 0, 1 ], "请休假管理 icon_1-13": [ "", 4, 1 ], "默认 icon_4-14": [ "", 3, 1 ] }, "currentColor": "", "$_colorPalette": [ "#7AD6A6", "#FFF", "#FFC667", "#F2984E", "#F96491" ] }, } // == collection end const svglib = {} svglib.registerCollection = (key, lib) => { if (collections[key]) { return } if (typeof lib.registerCollection === 'function') { collections[key] = lib.getCollection('default') } else { collections[key] = lib } } svglib.getCollection = (key = 'default') => { if (!collections[key]) throw new Error(`没有找到名为 ${key} 的图标库。`) return collections[key] } export const SvgIconLib = svglib export default SvgIconLib