IconList.js 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. 'use strict';
  2. /**
  3. * Licensed Materials - Property of IBM
  4. * IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2019, 2020
  5. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. */
  7. define(['../../../app/nls/StringResources'], function (StringResources) {
  8. var getTabIcons = function getTabIcons(icons) {
  9. return [{
  10. name: 'transparent',
  11. label: StringResources.get('no_icon'),
  12. type: 'ColorCode',
  13. value: 'transparent'
  14. }, {
  15. name: 'bullhorn',
  16. label: StringResources.get('announcement'),
  17. type: 'svg',
  18. value: icons.getIcon('bullhorn').id
  19. }, {
  20. name: 'api',
  21. label: StringResources.get('api'),
  22. type: 'svg',
  23. value: icons.getIcon('api').id
  24. }, {
  25. name: 'archive',
  26. label: StringResources.get('archive'),
  27. type: 'svg',
  28. value: icons.getIcon('archive').id
  29. }, {
  30. name: 'microphone',
  31. label: StringResources.get('asset'),
  32. type: 'svg',
  33. value: icons.getIcon('microphone').id
  34. }, {
  35. name: 'attachment',
  36. label: StringResources.get('attachment'),
  37. type: 'svg',
  38. value: icons.getIcon('attachment').id
  39. }, {
  40. name: 'audio',
  41. label: StringResources.get('audio'),
  42. type: 'svg',
  43. value: icons.getIcon('audio').id
  44. }, {
  45. name: 'bee',
  46. label: StringResources.get('bee'),
  47. type: 'svg',
  48. value: icons.getIcon('bee').id
  49. }, {
  50. name: 'blog',
  51. label: StringResources.get('blog'),
  52. type: 'svg',
  53. value: icons.getIcon('blog').id
  54. }, {
  55. name: 'bookmark',
  56. label: StringResources.get('bookmark'),
  57. type: 'svg',
  58. value: icons.getIcon('bookmark').id
  59. }, {
  60. name: 'calendar',
  61. label: StringResources.get('calendar'),
  62. type: 'svg',
  63. value: icons.getIcon('calendar').id
  64. }, {
  65. name: 'camera',
  66. label: StringResources.get('camera'),
  67. type: 'svg',
  68. value: icons.getIcon('camera').id
  69. }, {
  70. name: 'capability',
  71. label: StringResources.get('capability'),
  72. type: 'svg',
  73. value: icons.getIcon('capability').id
  74. }, {
  75. name: 'catalog',
  76. label: StringResources.get('catalog'),
  77. type: 'svg',
  78. value: icons.getIcon('catalog').id
  79. }, {
  80. name: 'message',
  81. label: StringResources.get('chat_message'),
  82. type: 'svg',
  83. value: icons.getIcon('message').id
  84. }, {
  85. name: 'checkout',
  86. label: StringResources.get('checkout_cart'),
  87. type: 'svg',
  88. value: icons.getIcon('checkout').id
  89. }, {
  90. name: 'client',
  91. label: StringResources.get('client'),
  92. type: 'svg',
  93. value: icons.getIcon('client').id
  94. }, {
  95. name: 'clock',
  96. label: StringResources.get('clock'),
  97. type: 'svg',
  98. value: icons.getIcon('clock').id
  99. }, {
  100. name: 'cloud',
  101. label: StringResources.get('cloud'),
  102. type: 'svg',
  103. value: icons.getIcon('cloud').id
  104. }, {
  105. name: 'code',
  106. label: StringResources.get('code'),
  107. type: 'svg',
  108. value: icons.getIcon('code').id
  109. }, {
  110. name: 'data-quality',
  111. label: StringResources.get('data_quality'),
  112. type: 'svg',
  113. value: icons.getIcon('data-quality').id
  114. }, {
  115. name: 'folder',
  116. label: StringResources.get('folder'),
  117. type: 'svg',
  118. value: icons.getIcon('folder').id
  119. }, {
  120. name: 'forum',
  121. label: StringResources.get('forum'),
  122. type: 'svg',
  123. value: icons.getIcon('forum').id
  124. }, {
  125. name: 'glasses',
  126. label: StringResources.get('glasses'),
  127. type: 'svg',
  128. value: icons.getIcon('glasses').id
  129. }, {
  130. name: 'group',
  131. label: StringResources.get('group'),
  132. type: 'svg',
  133. value: icons.getIcon('group').id
  134. }, {
  135. name: 'hat',
  136. label: StringResources.get('hat'),
  137. type: 'svg',
  138. value: icons.getIcon('hat').id
  139. }, {
  140. name: 'headphones',
  141. label: StringResources.get('headphone'),
  142. type: 'svg',
  143. value: icons.getIcon('headphones').id
  144. }, {
  145. name: 'hills',
  146. label: StringResources.get('hills'),
  147. type: 'svg',
  148. value: icons.getIcon('hills').id
  149. }, {
  150. name: 'home',
  151. label: StringResources.get('home'),
  152. type: 'svg',
  153. value: icons.getIcon('home').id
  154. }, {
  155. name: 'idea',
  156. label: StringResources.get('idea'),
  157. type: 'svg',
  158. value: icons.getIcon('idea').id
  159. }, {
  160. name: 'image',
  161. label: StringResources.get('image'),
  162. type: 'svg',
  163. value: icons.getIcon('image').id
  164. }, {
  165. name: 'inventory',
  166. label: StringResources.get('inventory'),
  167. type: 'svg',
  168. value: icons.getIcon('inventory').id
  169. }, {
  170. name: 'like',
  171. label: StringResources.get('like'),
  172. type: 'svg',
  173. value: icons.getIcon('like').id
  174. }, {
  175. name: 'link',
  176. label: StringResources.get('link'),
  177. type: 'svg',
  178. value: icons.getIcon('link').id
  179. }, {
  180. name: 'location',
  181. label: StringResources.get('location'),
  182. type: 'svg',
  183. value: icons.getIcon('location').id
  184. }, {
  185. name: 'pen',
  186. label: StringResources.get('pen'),
  187. type: 'svg',
  188. value: icons.getIcon('pen').id
  189. }, {
  190. name: 'mobile',
  191. label: StringResources.get('mobile_phone'),
  192. type: 'svg',
  193. value: icons.getIcon('mobile').id
  194. }, {
  195. name: 'music',
  196. label: StringResources.get('music'),
  197. type: 'svg',
  198. value: icons.getIcon('music').id
  199. }, {
  200. name: 'notifications',
  201. label: StringResources.get('notifications'),
  202. type: 'svg',
  203. value: icons.getIcon('notifications').id
  204. }, {
  205. name: 'paint',
  206. label: StringResources.get('paint'),
  207. type: 'svg',
  208. value: icons.getIcon('paint').id
  209. }, {
  210. name: 'payment',
  211. label: StringResources.get('payment'),
  212. type: 'svg',
  213. value: icons.getIcon('payment').id
  214. }, {
  215. name: 'password-key',
  216. label: StringResources.get('password_key'),
  217. type: 'svg',
  218. value: icons.getIcon('password-key').id
  219. }, {
  220. name: 'people',
  221. label: StringResources.get('people'),
  222. type: 'svg',
  223. value: icons.getIcon('people').id
  224. }, {
  225. name: 'person',
  226. label: StringResources.get('person'),
  227. type: 'svg',
  228. value: icons.getIcon('person').id
  229. }, {
  230. name: 'phone',
  231. label: StringResources.get('phone'),
  232. type: 'svg',
  233. value: icons.getIcon('phone').id
  234. }, {
  235. name: 'pin',
  236. label: StringResources.get('pin'),
  237. type: 'svg',
  238. value: icons.getIcon('pin').id
  239. }, {
  240. name: 'print',
  241. label: StringResources.get('print'),
  242. type: 'svg',
  243. value: icons.getIcon('print').id
  244. }, {
  245. name: 'recording',
  246. label: StringResources.get('recording'),
  247. type: 'svg',
  248. value: icons.getIcon('recording').id
  249. }, {
  250. name: 'repository',
  251. label: StringResources.get('repository'),
  252. type: 'svg',
  253. value: icons.getIcon('repository').id
  254. }, {
  255. name: 'role',
  256. label: StringResources.get('role'),
  257. type: 'svg',
  258. value: icons.getIcon('role').id
  259. }, {
  260. name: 'search',
  261. label: StringResources.get('search'),
  262. type: 'svg',
  263. value: icons.getIcon('search').id
  264. }, {
  265. name: 'settings',
  266. label: StringResources.get('settings'),
  267. type: 'svg',
  268. value: icons.getIcon('settings').id
  269. }, {
  270. name: 'speaker',
  271. label: StringResources.get('speaker'),
  272. type: 'svg',
  273. value: icons.getIcon('speaker').id
  274. }, {
  275. name: 'star',
  276. label: StringResources.get('star'),
  277. type: 'svg',
  278. value: icons.getIcon('star').id
  279. }, {
  280. name: 'tag',
  281. label: StringResources.get('tag'),
  282. type: 'svg',
  283. value: icons.getIcon('tag').id
  284. }, {
  285. name: 'thumbs-up',
  286. label: StringResources.get('thumbs_up'),
  287. type: 'svg',
  288. value: icons.getIcon('thumbs-up').id
  289. }, {
  290. name: 'thumbs-down',
  291. label: StringResources.get('thumbs_down'),
  292. type: 'svg',
  293. value: icons.getIcon('thumbs-down').id
  294. }, {
  295. name: 'tools',
  296. label: StringResources.get('tools'),
  297. type: 'svg',
  298. value: icons.getIcon('tools').id
  299. }, {
  300. name: 'traffic',
  301. label: StringResources.get('traffic'),
  302. type: 'svg',
  303. value: icons.getIcon('traffic').id
  304. }, {
  305. name: 'trash',
  306. label: StringResources.get('trash'),
  307. type: 'svg',
  308. value: icons.getIcon('trash').id
  309. }, {
  310. name: 'twitter',
  311. label: StringResources.get('twitter'),
  312. type: 'svg',
  313. value: icons.getIcon('twitter').id
  314. }, {
  315. name: 'unknown',
  316. label: StringResources.get('unknown'),
  317. type: 'svg',
  318. value: icons.getIcon('unknown').id
  319. }, {
  320. name: 'user',
  321. label: StringResources.get('user'),
  322. type: 'svg',
  323. value: icons.getIcon('user').id
  324. }, {
  325. name: 'venn-diagram',
  326. label: StringResources.get('venn_diagram'),
  327. type: 'svg',
  328. value: icons.getIcon('venn-diagram').id
  329. }, {
  330. name: 'video',
  331. label: StringResources.get('video'),
  332. type: 'svg',
  333. value: icons.getIcon('video').id
  334. }, {
  335. name: 'view',
  336. label: StringResources.get('view'),
  337. type: 'svg',
  338. value: icons.getIcon('view').id
  339. }, {
  340. name: 'warning',
  341. label: StringResources.get('warning'),
  342. type: 'svg',
  343. value: icons.getIcon('warning').id
  344. }, {
  345. name: 'watch',
  346. label: StringResources.get('watch'),
  347. type: 'svg',
  348. value: icons.getIcon('watch').id
  349. }, {
  350. name: 'watson',
  351. label: StringResources.get('watson'),
  352. type: 'svg',
  353. value: icons.getIcon('watson').id
  354. }, {
  355. name: 'wikis',
  356. label: StringResources.get('wikis'),
  357. type: 'svg',
  358. value: icons.getIcon('wikis').id
  359. }, {
  360. name: 'workspace',
  361. label: StringResources.get('workspace'),
  362. type: 'svg',
  363. value: icons.getIcon('workspace').id
  364. }, {
  365. name: 'world',
  366. label: StringResources.get('world'),
  367. type: 'svg',
  368. value: icons.getIcon('world').id
  369. }];
  370. };
  371. return {
  372. getTabIcons: getTabIcons
  373. };
  374. });
  375. //# sourceMappingURL=IconList.js.map