icon.js 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989
  1. const data = [
  2. "ad",
  3. "address-book",
  4. "address-card",
  5. "adjust",
  6. "air-freshener",
  7. "align-center",
  8. "align-justify",
  9. "align-left",
  10. "align-right",
  11. "allergies",
  12. "ambulance",
  13. "american-sign-language-interpreting",
  14. "anchor",
  15. "angle-double-down",
  16. "angle-double-left",
  17. "angle-double-right",
  18. "angle-double-up",
  19. "angle-down",
  20. "angle-left",
  21. "angle-right",
  22. "angle-up",
  23. "angry",
  24. "ankh",
  25. "apple-alt",
  26. "archive",
  27. "archway",
  28. "arrow-alt-circle-down",
  29. "arrow-alt-circle-left",
  30. "arrow-alt-circle-right",
  31. "arrow-alt-circle-up",
  32. "arrow-circle-down",
  33. "arrow-circle-left",
  34. "arrow-circle-right",
  35. "arrow-circle-up",
  36. "arrow-down",
  37. "arrow-left",
  38. "arrow-right",
  39. "arrow-up",
  40. "arrows-alt",
  41. "arrows-alt-h",
  42. "arrows-alt-v",
  43. "assistive-listening-systems",
  44. "asterisk",
  45. "at",
  46. "atlas",
  47. "atom",
  48. "audio-description",
  49. "award",
  50. "baby",
  51. "baby-carriage",
  52. "backspace",
  53. "backward",
  54. "bacon",
  55. "bahai",
  56. "balance-scale",
  57. "balance-scale-left",
  58. "balance-scale-right",
  59. "ban",
  60. "band-aid",
  61. "barcode",
  62. "bars",
  63. "baseball-ball",
  64. "basketball-ball",
  65. "bath",
  66. "battery-empty",
  67. "battery-full",
  68. "battery-half",
  69. "battery-quarter",
  70. "battery-three-quarters",
  71. "bed",
  72. "beer",
  73. "bell",
  74. "bell-slash",
  75. "bezier-curve",
  76. "bible",
  77. "bicycle",
  78. "biking",
  79. "binoculars",
  80. "biohazard",
  81. "birthday-cake",
  82. "blender",
  83. "blender-phone",
  84. "blind",
  85. "blog",
  86. "bold",
  87. "bolt",
  88. "bomb",
  89. "bone",
  90. "bong",
  91. "book",
  92. "book-dead",
  93. "book-medical",
  94. "book-open",
  95. "book-reader",
  96. "bookmark",
  97. "border-all",
  98. "border-none",
  99. "border-style",
  100. "bowling-ball",
  101. "box",
  102. "box-open",
  103. "boxes",
  104. "braille",
  105. "brain",
  106. "bread-slice",
  107. "briefcase",
  108. "briefcase-medical",
  109. "broadcast-tower",
  110. "broom",
  111. "brush",
  112. "bug",
  113. "building",
  114. "bullhorn",
  115. "bullseye",
  116. "burn",
  117. "bus",
  118. "bus-alt",
  119. "business-time",
  120. "calculator",
  121. "calendar",
  122. "calendar-alt",
  123. "calendar-check",
  124. "calendar-day",
  125. "calendar-minus",
  126. "calendar-plus",
  127. "calendar-times",
  128. "calendar-week",
  129. "camera",
  130. "camera-retro",
  131. "campground",
  132. "candy-cane",
  133. "cannabis",
  134. "capsules",
  135. "car",
  136. "car-alt",
  137. "car-battery",
  138. "car-crash",
  139. "car-side",
  140. "caravan",
  141. "caret-down",
  142. "caret-left",
  143. "caret-right",
  144. "caret-square-down",
  145. "caret-square-left",
  146. "caret-square-right",
  147. "caret-square-up",
  148. "caret-up",
  149. "carrot",
  150. "cart-arrow-down",
  151. "cart-plus",
  152. "cash-register",
  153. "cat",
  154. "certificate",
  155. "chair",
  156. "chalkboard",
  157. "chalkboard-teacher",
  158. "charging-station",
  159. "chart-area",
  160. "chart-bar",
  161. "chart-line",
  162. "chart-pie",
  163. "check",
  164. "check-circle",
  165. "check-double",
  166. "check-square",
  167. "cheese",
  168. "chess",
  169. "chess-bishop",
  170. "chess-board",
  171. "chess-king",
  172. "chess-knight",
  173. "chess-pawn",
  174. "chess-queen",
  175. "chess-rook",
  176. "chevron-circle-down",
  177. "chevron-circle-left",
  178. "chevron-circle-right",
  179. "chevron-circle-up",
  180. "chevron-down",
  181. "chevron-left",
  182. "chevron-right",
  183. "chevron-up",
  184. "child",
  185. "church",
  186. "circle",
  187. "circle-notch",
  188. "city",
  189. "clinic-medical",
  190. "clipboard",
  191. "clipboard-check",
  192. "clipboard-list",
  193. "clock",
  194. "clone",
  195. "closed-captioning",
  196. "cloud",
  197. "cloud-download-alt",
  198. "cloud-meatball",
  199. "cloud-moon",
  200. "cloud-moon-rain",
  201. "cloud-rain",
  202. "cloud-showers-heavy",
  203. "cloud-sun",
  204. "cloud-sun-rain",
  205. "cloud-upload-alt",
  206. "cocktail",
  207. "code",
  208. "code-branch",
  209. "coffee",
  210. "cog",
  211. "cogs",
  212. "coins",
  213. "columns",
  214. "comment",
  215. "comment-alt",
  216. "comment-dollar",
  217. "comment-dots",
  218. "comment-medical",
  219. "comment-slash",
  220. "comments",
  221. "comments-dollar",
  222. "compact-disc",
  223. "compass",
  224. "compress",
  225. "compress-alt",
  226. "compress-arrows-alt",
  227. "concierge-bell",
  228. "cookie",
  229. "cookie-bite",
  230. "copy",
  231. "copyright",
  232. "couch",
  233. "credit-card",
  234. "crop",
  235. "crop-alt",
  236. "cross",
  237. "crosshairs",
  238. "crow",
  239. "crown",
  240. "crutch",
  241. "cube",
  242. "cubes",
  243. "cut",
  244. "database",
  245. "deaf",
  246. "democrat",
  247. "desktop",
  248. "dharmachakra",
  249. "diagnoses",
  250. "dice",
  251. "dice-d20",
  252. "dice-d6",
  253. "dice-five",
  254. "dice-four",
  255. "dice-one",
  256. "dice-six",
  257. "dice-three",
  258. "dice-two",
  259. "digital-tachograph",
  260. "directions",
  261. "divide",
  262. "dizzy",
  263. "dna",
  264. "dog",
  265. "dollar-sign",
  266. "dolly",
  267. "dolly-flatbed",
  268. "donate",
  269. "door-closed",
  270. "door-open",
  271. "dot-circle",
  272. "dove",
  273. "download",
  274. "drafting-compass",
  275. "dragon",
  276. "draw-polygon",
  277. "drum",
  278. "drum-steelpan",
  279. "drumstick-bite",
  280. "dumbbell",
  281. "dumpster",
  282. "dumpster-fire",
  283. "dungeon",
  284. "edit",
  285. "egg",
  286. "eject",
  287. "ellipsis-h",
  288. "ellipsis-v",
  289. "envelope",
  290. "envelope-open",
  291. "envelope-open-text",
  292. "envelope-square",
  293. "equals",
  294. "eraser",
  295. "ethernet",
  296. "euro-sign",
  297. "exchange-alt",
  298. "exclamation",
  299. "exclamation-circle",
  300. "exclamation-triangle",
  301. "expand",
  302. "expand-alt",
  303. "expand-arrows-alt",
  304. "external-link-alt",
  305. "external-link-square-alt",
  306. "eye",
  307. "eye-dropper",
  308. "eye-slash",
  309. "fan",
  310. "fast-backward",
  311. "fast-forward",
  312. "fax",
  313. "feather",
  314. "feather-alt",
  315. "female",
  316. "fighter-jet",
  317. "file",
  318. "file-alt",
  319. "file-archive",
  320. "file-audio",
  321. "file-code",
  322. "file-contract",
  323. "file-csv",
  324. "file-download",
  325. "file-excel",
  326. "file-export",
  327. "file-image",
  328. "file-import",
  329. "file-invoice",
  330. "file-invoice-dollar",
  331. "file-medical",
  332. "file-medical-alt",
  333. "file-pdf",
  334. "file-powerpoint",
  335. "file-prescription",
  336. "file-signature",
  337. "file-upload",
  338. "file-video",
  339. "file-word",
  340. "fill",
  341. "fill-drip",
  342. "film",
  343. "filter",
  344. "fingerprint",
  345. "fire",
  346. "fire-alt",
  347. "fire-extinguisher",
  348. "first-aid",
  349. "fish",
  350. "fist-raised",
  351. "flag",
  352. "flag-checkered",
  353. "flag-usa",
  354. "flask",
  355. "flushed",
  356. "folder",
  357. "folder-minus",
  358. "folder-open",
  359. "folder-plus",
  360. "font",
  361. "football-ball",
  362. "forward",
  363. "frog",
  364. "frown",
  365. "frown-open",
  366. "funnel-dollar",
  367. "futbol",
  368. "gamepad",
  369. "gas-pump",
  370. "gavel",
  371. "gem",
  372. "genderless",
  373. "ghost",
  374. "gift",
  375. "gifts",
  376. "glass-cheers",
  377. "glass-martini",
  378. "glass-martini-alt",
  379. "glass-whiskey",
  380. "glasses",
  381. "globe",
  382. "globe-africa",
  383. "globe-americas",
  384. "globe-asia",
  385. "globe-europe",
  386. "golf-ball",
  387. "gopuram",
  388. "graduation-cap",
  389. "greater-than",
  390. "greater-than-equal",
  391. "grimace",
  392. "grin",
  393. "grin-alt",
  394. "grin-beam",
  395. "grin-beam-sweat",
  396. "grin-hearts",
  397. "grin-squint",
  398. "grin-squint-tears",
  399. "grin-stars",
  400. "grin-tears",
  401. "grin-tongue",
  402. "grin-tongue-squint",
  403. "grin-tongue-wink",
  404. "grin-wink",
  405. "grip-horizontal",
  406. "grip-lines",
  407. "grip-lines-vertical",
  408. "grip-vertical",
  409. "guitar",
  410. "h-square",
  411. "hamburger",
  412. "hammer",
  413. "hamsa",
  414. "hand-holding",
  415. "hand-holding-heart",
  416. "hand-holding-usd",
  417. "hand-lizard",
  418. "hand-middle-finger",
  419. "hand-paper",
  420. "hand-peace",
  421. "hand-point-down",
  422. "hand-point-left",
  423. "hand-point-right",
  424. "hand-point-up",
  425. "hand-pointer",
  426. "hand-rock",
  427. "hand-scissors",
  428. "hand-spock",
  429. "hands",
  430. "hands-helping",
  431. "handshake",
  432. "hanukiah",
  433. "hard-hat",
  434. "hashtag",
  435. "hat-cowboy",
  436. "hat-cowboy-side",
  437. "hat-wizard",
  438. "hdd",
  439. "heading",
  440. "headphones",
  441. "headphones-alt",
  442. "headset",
  443. "heart",
  444. "heart-broken",
  445. "heartbeat",
  446. "helicopter",
  447. "highlighter",
  448. "hiking",
  449. "hippo",
  450. "history",
  451. "hockey-puck",
  452. "holly-berry",
  453. "home",
  454. "horse",
  455. "horse-head",
  456. "hospital",
  457. "hospital-alt",
  458. "hospital-symbol",
  459. "hot-tub",
  460. "hotdog",
  461. "hotel",
  462. "hourglass",
  463. "hourglass-end",
  464. "hourglass-half",
  465. "hourglass-start",
  466. "house-damage",
  467. "hryvnia",
  468. "i-cursor",
  469. "ice-cream",
  470. "icicles",
  471. "icons",
  472. "id-badge",
  473. "id-card",
  474. "id-card-alt",
  475. "igloo",
  476. "image",
  477. "images",
  478. "inbox",
  479. "indent",
  480. "industry",
  481. "infinity",
  482. "info",
  483. "info-circle",
  484. "italic",
  485. "jedi",
  486. "joint",
  487. "journal-whills",
  488. "kaaba",
  489. "key",
  490. "keyboard",
  491. "khanda",
  492. "kiss",
  493. "kiss-beam",
  494. "kiss-wink-heart",
  495. "kiwi-bird",
  496. "landmark",
  497. "language",
  498. "laptop",
  499. "laptop-code",
  500. "laptop-medical",
  501. "laugh",
  502. "laugh-beam",
  503. "laugh-squint",
  504. "laugh-wink",
  505. "layer-group",
  506. "leaf",
  507. "lemon",
  508. "less-than",
  509. "less-than-equal",
  510. "level-down-alt",
  511. "level-up-alt",
  512. "life-ring",
  513. "lightbulb",
  514. "link",
  515. "lira-sign",
  516. "list",
  517. "list-alt",
  518. "list-ol",
  519. "list-ul",
  520. "location-arrow",
  521. "lock",
  522. "lock-open",
  523. "long-arrow-alt-down",
  524. "long-arrow-alt-left",
  525. "long-arrow-alt-right",
  526. "long-arrow-alt-up",
  527. "low-vision",
  528. "luggage-cart",
  529. "magic",
  530. "magnet",
  531. "mail-bulk",
  532. "male",
  533. "map",
  534. "map-marked",
  535. "map-marked-alt",
  536. "map-marker",
  537. "map-marker-alt",
  538. "map-pin",
  539. "map-signs",
  540. "marker",
  541. "mars",
  542. "mars-double",
  543. "mars-stroke",
  544. "mars-stroke-h",
  545. "mars-stroke-v",
  546. "mask",
  547. "medal",
  548. "medkit",
  549. "meh",
  550. "meh-blank",
  551. "meh-rolling-eyes",
  552. "memory",
  553. "menorah",
  554. "mercury",
  555. "meteor",
  556. "microchip",
  557. "microphone",
  558. "microphone-alt",
  559. "microphone-alt-slash",
  560. "microphone-slash",
  561. "microscope",
  562. "minus",
  563. "minus-circle",
  564. "minus-square",
  565. "mitten",
  566. "mobile",
  567. "mobile-alt",
  568. "money-bill",
  569. "money-bill-alt",
  570. "money-bill-wave",
  571. "money-bill-wave-alt",
  572. "money-check",
  573. "money-check-alt",
  574. "monument",
  575. "moon",
  576. "mortar-pestle",
  577. "mosque",
  578. "motorcycle",
  579. "mountain",
  580. "mouse",
  581. "mouse-pointer",
  582. "mug-hot",
  583. "music",
  584. "network-wired",
  585. "neuter",
  586. "newspaper",
  587. "not-equal",
  588. "notes-medical",
  589. "object-group",
  590. "object-ungroup",
  591. "oil-can",
  592. "om",
  593. "otter",
  594. "outdent",
  595. "pager",
  596. "paint-brush",
  597. "paint-roller",
  598. "palette",
  599. "pallet",
  600. "paper-plane",
  601. "paperclip",
  602. "parachute-box",
  603. "paragraph",
  604. "parking",
  605. "passport",
  606. "pastafarianism",
  607. "paste",
  608. "pause",
  609. "pause-circle",
  610. "paw",
  611. "peace",
  612. "pen",
  613. "pen-alt",
  614. "pen-fancy",
  615. "pen-nib",
  616. "pen-square",
  617. "pencil-alt",
  618. "pencil-ruler",
  619. "people-carry",
  620. "pepper-hot",
  621. "percent",
  622. "percentage",
  623. "person-booth",
  624. "phone",
  625. "phone-alt",
  626. "phone-slash",
  627. "phone-square",
  628. "phone-square-alt",
  629. "phone-volume",
  630. "photo-video",
  631. "piggy-bank",
  632. "pills",
  633. "pizza-slice",
  634. "place-of-worship",
  635. "plane",
  636. "plane-arrival",
  637. "plane-departure",
  638. "play",
  639. "play-circle",
  640. "plug",
  641. "plus",
  642. "plus-circle",
  643. "plus-square",
  644. "podcast",
  645. "poll",
  646. "poll-h",
  647. "poo",
  648. "poo-storm",
  649. "poop",
  650. "portrait",
  651. "pound-sign",
  652. "power-off",
  653. "pray",
  654. "praying-hands",
  655. "prescription",
  656. "prescription-bottle",
  657. "prescription-bottle-alt",
  658. "print",
  659. "procedures",
  660. "project-diagram",
  661. "puzzle-piece",
  662. "qrcode",
  663. "question",
  664. "question-circle",
  665. "quidditch",
  666. "quote-left",
  667. "quote-right",
  668. "quran",
  669. "radiation",
  670. "radiation-alt",
  671. "rainbow",
  672. "random",
  673. "receipt",
  674. "record-vinyl",
  675. "recycle",
  676. "redo",
  677. "redo-alt",
  678. "registered",
  679. "remove-format",
  680. "reply",
  681. "reply-all",
  682. "republican",
  683. "restroom",
  684. "retweet",
  685. "ribbon",
  686. "ring",
  687. "road",
  688. "robot",
  689. "rocket",
  690. "route",
  691. "rss",
  692. "rss-square",
  693. "ruble-sign",
  694. "ruler",
  695. "ruler-combined",
  696. "ruler-horizontal",
  697. "ruler-vertical",
  698. "running",
  699. "rupee-sign",
  700. "sad-cry",
  701. "sad-tear",
  702. "satellite",
  703. "satellite-dish",
  704. "save",
  705. "school",
  706. "screwdriver",
  707. "scroll",
  708. "sd-card",
  709. "search",
  710. "search-dollar",
  711. "search-location",
  712. "search-minus",
  713. "search-plus",
  714. "seedling",
  715. "server",
  716. "shapes",
  717. "share",
  718. "share-alt",
  719. "share-alt-square",
  720. "share-square",
  721. "shekel-sign",
  722. "shield-alt",
  723. "ship",
  724. "shipping-fast",
  725. "shoe-prints",
  726. "shopping-bag",
  727. "shopping-basket",
  728. "shopping-cart",
  729. "shower",
  730. "shuttle-van",
  731. "sign",
  732. "sign-in-alt",
  733. "sign-language",
  734. "sign-out-alt",
  735. "signal",
  736. "signature",
  737. "sim-card",
  738. "sitemap",
  739. "skating",
  740. "skiing",
  741. "skiing-nordic",
  742. "skull",
  743. "skull-crossbones",
  744. "slash",
  745. "sleigh",
  746. "sliders-h",
  747. "smile",
  748. "smile-beam",
  749. "smile-wink",
  750. "smog",
  751. "smoking",
  752. "smoking-ban",
  753. "sms",
  754. "snowboarding",
  755. "snowflake",
  756. "snowman",
  757. "snowplow",
  758. "socks",
  759. "solar-panel",
  760. "sort",
  761. "sort-alpha-down",
  762. "sort-alpha-down-alt",
  763. "sort-alpha-up",
  764. "sort-alpha-up-alt",
  765. "sort-amount-down",
  766. "sort-amount-down-alt",
  767. "sort-amount-up",
  768. "sort-amount-up-alt",
  769. "sort-down",
  770. "sort-numeric-down",
  771. "sort-numeric-down-alt",
  772. "sort-numeric-up",
  773. "sort-numeric-up-alt",
  774. "sort-up",
  775. "spa",
  776. "space-shuttle",
  777. "spell-check",
  778. "spider",
  779. "spinner",
  780. "splotch",
  781. "spray-can",
  782. "square",
  783. "square-full",
  784. "square-root-alt",
  785. "stamp",
  786. "star",
  787. "star-and-crescent",
  788. "star-half",
  789. "star-half-alt",
  790. "star-of-david",
  791. "star-of-life",
  792. "step-backward",
  793. "step-forward",
  794. "stethoscope",
  795. "sticky-note",
  796. "stop",
  797. "stop-circle",
  798. "stopwatch",
  799. "store",
  800. "store-alt",
  801. "stream",
  802. "street-view",
  803. "strikethrough",
  804. "stroopwafel",
  805. "subscript",
  806. "subway",
  807. "suitcase",
  808. "suitcase-rolling",
  809. "sun",
  810. "superscript",
  811. "surprise",
  812. "swatchbook",
  813. "swimmer",
  814. "swimming-pool",
  815. "synagogue",
  816. "sync",
  817. "sync-alt",
  818. "syringe",
  819. "table",
  820. "table-tennis",
  821. "tablet",
  822. "tablet-alt",
  823. "tablets",
  824. "tachometer-alt",
  825. "tag",
  826. "tags",
  827. "tape",
  828. "tasks",
  829. "taxi",
  830. "teeth",
  831. "teeth-open",
  832. "temperature-high",
  833. "temperature-low",
  834. "tenge",
  835. "terminal",
  836. "text-height",
  837. "text-width",
  838. "th",
  839. "th-large",
  840. "th-list",
  841. "theater-masks",
  842. "thermometer",
  843. "thermometer-empty",
  844. "thermometer-full",
  845. "thermometer-half",
  846. "thermometer-quarter",
  847. "thermometer-three-quarters",
  848. "thumbs-down",
  849. "thumbs-up",
  850. "thumbtack",
  851. "ticket-alt",
  852. "times",
  853. "times-circle",
  854. "tint",
  855. "tint-slash",
  856. "tired",
  857. "toggle-off",
  858. "toggle-on",
  859. "toilet",
  860. "toilet-paper",
  861. "toolbox",
  862. "tools",
  863. "tooth",
  864. "torah",
  865. "torii-gate",
  866. "tractor",
  867. "trademark",
  868. "traffic-light",
  869. "trailer",
  870. "train",
  871. "tram",
  872. "transgender",
  873. "transgender-alt",
  874. "trash",
  875. "trash-alt",
  876. "trash-restore",
  877. "trash-restore-alt",
  878. "tree",
  879. "trophy",
  880. "truck",
  881. "truck-loading",
  882. "truck-monster",
  883. "truck-moving",
  884. "truck-pickup",
  885. "tshirt",
  886. "tty",
  887. "tv",
  888. "umbrella",
  889. "umbrella-beach",
  890. "underline",
  891. "undo",
  892. "undo-alt",
  893. "universal-access",
  894. "university",
  895. "unlink",
  896. "unlock",
  897. "unlock-alt",
  898. "upload",
  899. "user",
  900. "user-alt",
  901. "user-alt-slash",
  902. "user-astronaut",
  903. "user-check",
  904. "user-circle",
  905. "user-clock",
  906. "user-cog",
  907. "user-edit",
  908. "user-friends",
  909. "user-graduate",
  910. "user-injured",
  911. "user-lock",
  912. "user-md",
  913. "user-minus",
  914. "user-ninja",
  915. "user-nurse",
  916. "user-plus",
  917. "user-secret",
  918. "user-shield",
  919. "user-slash",
  920. "user-tag",
  921. "user-tie",
  922. "user-times",
  923. "users",
  924. "users-cog",
  925. "utensil-spoon",
  926. "utensils",
  927. "vector-square",
  928. "venus",
  929. "venus-double",
  930. "venus-mars",
  931. "vial",
  932. "vials",
  933. "video",
  934. "video-slash",
  935. "vihara",
  936. "voicemail",
  937. "volleyball-ball",
  938. "volume-down",
  939. "volume-mute",
  940. "volume-off",
  941. "volume-up",
  942. "vote-yea",
  943. "vr-cardboard",
  944. "walking",
  945. "wallet",
  946. "warehouse",
  947. "water",
  948. "wave-square",
  949. "weight",
  950. "weight-hanging",
  951. "wheelchair",
  952. "wifi",
  953. "wind",
  954. "window-close",
  955. "window-maximize",
  956. "window-minimize",
  957. "window-restore",
  958. "wine-bottle",
  959. "wine-glass",
  960. "wine-glass-alt",
  961. "won-sign",
  962. "wrench",
  963. "x-ray",
  964. "yen-sign",
  965. "yin-yang",
  966. ];
  967. export default [
  968. {
  969. url: "/icon/getList",
  970. type: "post",
  971. response: (config) => {
  972. const { title, pageNo = 1, pageSize = 72 } = config.body;
  973. let mockList = data.filter((item) => {
  974. if (title && item.indexOf(title) < 0) return false;
  975. return true;
  976. });
  977. const pageList = mockList.filter(
  978. (item, index) =>
  979. index < pageSize * pageNo && index >= pageSize * (pageNo - 1)
  980. );
  981. return {
  982. code: 200,
  983. msg: "success",
  984. totalCount: mockList.length,
  985. data: pageList,
  986. };
  987. },
  988. },
  989. ];