widgets.json 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. {
  2. "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud(C) Copyright IBM Corp. 2016, 2019. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",
  3. "features": [{
  4. "id": "com.ibm.bi.dashboard.widgets",
  5. "collectionItems": [{
  6. "containerId": "com.ibm.bi.dashboard.widgets",
  7. "id": "media",
  8. "label": "Media",
  9. "builtin": true,
  10. "ownTitle": false,
  11. "createContentNode": false,
  12. "widget": "dashboard-core/js/dashboard/widgets/staticwidget/MediaWidget",
  13. "layoutConsumeView": "dashboard-core/js/dashboard/layout/views/Widget",
  14. "propertyLayoutList": [{
  15. "id": "general",
  16. "type": "Group",
  17. "label": "%tabName_general",
  18. "position": 2
  19. }, {
  20. "id": "appearance",
  21. "type": "Section",
  22. "label": "%sectionName_appearance",
  23. "position": 1
  24. }, {
  25. "id": "media",
  26. "type": "Group",
  27. "label": "%tabName_mediaDetails",
  28. "position": 1
  29. },{
  30. "id": "banner",
  31. "value": "%propMediaBanner",
  32. "name": "banner",
  33. "type": "Banner"
  34. }],
  35. "propertyList": [{
  36. "id": "mediaLink",
  37. "editor": {
  38. "sectionId": "media",
  39. "uiControl": {
  40. "type": "Input",
  41. "ellipses": false,
  42. "ariaLabel": "%propPasteLink",
  43. "placeHolderText": "%propMediaLink",
  44. "newLook": true,
  45. "showInlineError": true,
  46. "handleReturnKey": true,
  47. "customValidatorCallback": {
  48. "feature": "Dashboard.PropertyCallbacks",
  49. "callbackFunction": "validateMediaInput",
  50. "callbackParams": []
  51. }
  52. }
  53. }
  54. }, {
  55. "id": "title",
  56. "editor": {
  57. "sectionId": "media",
  58. "uiControl": {
  59. "type": "Input",
  60. "ellipses": false,
  61. "multilingual": true,
  62. "ariaLabel": "%propMediaTitleDescription",
  63. "placeHolderText": "%propMediaTitle",
  64. "newLook": true
  65. }
  66. }
  67. }]
  68. }, {
  69. "containerId": "com.ibm.bi.dashboard.widgets",
  70. "id": "webpage",
  71. "label": "Webpage",
  72. "builtin": true,
  73. "ownTitle": false,
  74. "createContentNode": false,
  75. "widget": "dashboard-core/js/dashboard/widgets/staticwidget/WebpageWidget",
  76. "layoutConsumeView": "dashboard-core/js/dashboard/layout/views/Widget",
  77. "propertyLayoutList": [
  78. {
  79. "id": "general",
  80. "type": "Group",
  81. "label": "%tabName_general",
  82. "position": 2
  83. }, {
  84. "id": "appearance",
  85. "type": "Section",
  86. "label": "%sectionName_appearance",
  87. "position": 1
  88. },{
  89. "id": "banner",
  90. "value": "%propWebpageBanner",
  91. "name": "banner",
  92. "type": "Banner"
  93. },
  94. {
  95. "id": "webPage",
  96. "type": "Group",
  97. "label": "%tabName_webDetails",
  98. "position": 1
  99. }],
  100. "propertyList": [{
  101. "id": "url",
  102. "editor": {
  103. "sectionId": "webPage",
  104. "uiControl": {
  105. "type": "Input",
  106. "ellipses": false,
  107. "ariaLabel": "%propPasteLink",
  108. "placeHolderText": "%propWebpageLink",
  109. "newLook": true,
  110. "showInlineError": true,
  111. "handleReturnKey": true,
  112. "customValidatorCallback": {
  113. "feature": "Dashboard.PropertyCallbacks",
  114. "callbackFunction": "validateWebpageLink",
  115. "callbackParams": []
  116. }
  117. }
  118. }
  119. }, {
  120. "name": "title",
  121. "id": "title",
  122. "editor": {
  123. "sectionId": "webPage",
  124. "uiControl": {
  125. "type": "Input",
  126. "ellipses": false,
  127. "multilingual": true,
  128. "ariaLabel": "%propWebpageTitleDescription",
  129. "placeHolderText": "%propWebpageTitle",
  130. "newLook": true
  131. }
  132. }
  133. }]
  134. }, {
  135. "containerId": "com.ibm.bi.dashboard.widgets",
  136. "id": "multipurpose",
  137. "label": "Multipurpose",
  138. "builtin": true,
  139. "ownTitle": false,
  140. "createContentNode": false,
  141. "widget": "dashboard-core/js/dashboard/widgets/staticwidget/MultipurposeWidget",
  142. "layoutConsumeView": "dashboard-core/js/dashboard/layout/views/Widget",
  143. "properties": []
  144. }, {
  145. }, {
  146. "containerId": "com.ibm.bi.dashboard.widgets",
  147. "id": "placeholder",
  148. "label": "PlaceHolder",
  149. "builtin": true,
  150. "ownTitle": false,
  151. "createContentNode": false,
  152. "widget": "dashboard-core/js/dashboard/widgets/staticwidget/PlaceHolderWidget",
  153. "layoutConsumeView": "dashboard-core/js/dashboard/layout/views/Widget",
  154. "properties": []
  155. }, {
  156. "containerId": "com.ibm.bi.dashboard.widgets",
  157. "id": "image",
  158. "label": "Image",
  159. "builtin": true,
  160. "ownTitle": false,
  161. "createContentNode": false,
  162. "widget": "dashboard-core/js/dashboard/widgets/staticwidget/ImageWidget",
  163. "layoutConsumeView": "dashboard-core/js/dashboard/layout/views/Widget",
  164. "propertyLayoutList": [{
  165. "id": "image",
  166. "type": "Group",
  167. "label": "%tabName_imageDetails",
  168. "position": 1
  169. }, {
  170. "id": "general",
  171. "type": "Group",
  172. "label": "%tabName_general",
  173. "position": 2
  174. }, {
  175. "id": "appearance",
  176. "type": "Section",
  177. "label": "%sectionName_appearance",
  178. "position": 1
  179. }, {
  180. "id": "banner",
  181. "value": "%propImageBanner",
  182. "name": "banner",
  183. "type": "Banner"
  184. }],
  185. "propertyList": [{
  186. "id": "fillColor",
  187. "defaultValue": "transparent",
  188. "editor": {
  189. "sectionId": "general.appearance",
  190. "uiControl": {
  191. "type": "ColorPicker",
  192. "label": "%propFillColor",
  193. "showHexValue": true,
  194. "addButton": true,
  195. "open": false,
  196. "ariaLabel": "%propFillColor",
  197. "paletteType": "DashboardColorSet"
  198. }
  199. }
  200. }, {
  201. "id": "borderColor",
  202. "defaultValue": "transparent",
  203. "editor": {
  204. "sectionId": "general.appearance",
  205. "uiControl": {
  206. "type": "ColorPicker",
  207. "label": "%propBorderColor",
  208. "showHexValue": true,
  209. "addButton": true,
  210. "open": false,
  211. "ariaLabel": "%propBorderColor",
  212. "paletteType": "DashboardColorSet"
  213. }
  214. }
  215. }, {
  216. "id": "imageLink",
  217. "editor": {
  218. "sectionId": "image",
  219. "uiControl": {
  220. "type": "Input",
  221. "ellipses": false,
  222. "ariaLabel": "%propImageLink",
  223. "placeHolderText": "%propImageLink",
  224. "newLook": true,
  225. "showInlineError": true,
  226. "handleReturnKey": true,
  227. "customValidatorCallback": {
  228. "feature": "Dashboard.PropertyCallbacks",
  229. "callbackFunction": "validateImageInput",
  230. "callbackParams": []
  231. }
  232. }
  233. }
  234. }, {
  235. "id": "altText",
  236. "editor": {
  237. "sectionId": "image",
  238. "uiControl": {
  239. "type": "Input",
  240. "name": "altText",
  241. "ellipses": false,
  242. "multilingual": true,
  243. "ariaLabel": "%propAltText",
  244. "placeHolderText": "%propAltText",
  245. "newLook": true
  246. }
  247. }
  248. }]
  249. }, {
  250. "containerId": "com.ibm.bi.dashboard.widgets",
  251. "id": "shape",
  252. "label": "Shape",
  253. "builtin": true,
  254. "createContentNode": false,
  255. "widget": "dashboard-core/js/dashboard/widgets/staticwidget/ShapeWidget",
  256. "layoutConsumeView": "dashboard-core/js/dashboard/layout/views/Widget",
  257. "propertyLayoutList": [{
  258. "id": "general",
  259. "type": "Group",
  260. "label": "%tabName_general",
  261. "position": 1
  262. }, {
  263. "id": "appearance",
  264. "type": "Section",
  265. "label": "%sectionName_appearance",
  266. "position": 1
  267. },{
  268. "id": "banner",
  269. "value": "%propShapeHeader",
  270. "name": "banner",
  271. "type": "Banner"
  272. }],
  273. "propertyList": [{
  274. "id": "fillColor",
  275. "defaultValue": "color8",
  276. "editor": {
  277. "sectionId": "general.appearance",
  278. "uiControl": {
  279. "type": "ColorPicker",
  280. "label": "%propFillColor",
  281. "showHexValue": true,
  282. "addButton": true,
  283. "open": false,
  284. "ariaLabel": "%propFillColor",
  285. "paletteType": "DashboardColorSet"
  286. }
  287. }
  288. }, {
  289. "id": "borderColor",
  290. "defaultValue": "transparent",
  291. "editor": {
  292. "sectionId": "general.appearance",
  293. "uiControl": {
  294. "type": "ColorPicker",
  295. "showHexValue": true,
  296. "addButton": true,
  297. "label": "%propBorderColor",
  298. "open": false,
  299. "ariaLabel": "%propBorderColor",
  300. "paletteType": "DashboardColorSet"
  301. }
  302. }
  303. }]
  304. }, {
  305. "containerId": "com.ibm.bi.dashboard.widgets",
  306. "id": "text",
  307. "label": "Text",
  308. "builtin": true,
  309. "createContentNode": false,
  310. "createDescriptionNode": true,
  311. "widget": "dashboard-core/js/dashboard/widgets/staticwidget/TextWidget",
  312. "layoutConsumeView": "dashboard-core/js/dashboard/layout/views/Widget",
  313. "propertyLayoutList": [{
  314. "id": "general",
  315. "type": "Group",
  316. "label": "%tabName_general",
  317. "position": 1
  318. }, {
  319. "id": "appearance",
  320. "type": "Section",
  321. "label": "%sectionName_appearance",
  322. "position": 1
  323. },{
  324. "id": "banner",
  325. "value": "%propTextHeader",
  326. "name": "banner",
  327. "type": "Banner"
  328. }],
  329. "propertyList": [{
  330. "id": "fillColor",
  331. "defaultValue": "transparent",
  332. "editor": {
  333. "sectionId": "general.appearance",
  334. "uiControl": {
  335. "type": "ColorPicker",
  336. "label": "%propFillColor",
  337. "showHexValue": true,
  338. "addButton": true,
  339. "open": false,
  340. "ariaLabel": "%propFillColor",
  341. "paletteType": "DashboardColorSet"
  342. }
  343. }
  344. }, {
  345. "id": "borderColor",
  346. "defaultValue": "transparent",
  347. "editor": {
  348. "sectionId": "general.appearance",
  349. "uiControl": {
  350. "type": "ColorPicker",
  351. "showHexValue": true,
  352. "addButton": true,
  353. "label": "%propBorderColor",
  354. "open": false,
  355. "ariaLabel": "%propBorderColor",
  356. "paletteType": "DashboardColorSet"
  357. }
  358. }
  359. }]
  360. }]
  361. }]
  362. }