SceneLayout5.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. 'use strict';
  2. /**
  3. * Licensed Materials - Property of IBM
  4. * IBM Cognos Products: Storytelling (C) Copyright IBM Corp. 2018, 2019
  5. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. */
  7. define(['baglass/core-client/js/core-client/utils/UniqueId'], function (UniqueId) {
  8. return {
  9. get: function get() {
  10. var _widgets;
  11. var text1Id = UniqueId.get('text1_');
  12. var vis1Id = UniqueId.get('vis1_');
  13. return {
  14. layout: {
  15. type: 'container',
  16. templateName: 'Template1',
  17. items: [{
  18. type: 'genericPage',
  19. layoutPositioning: 'relative',
  20. css: 'templateBox aspectRatio_default',
  21. items: [{
  22. type: 'templateIndicator',
  23. style: {
  24. 'top': '0%',
  25. 'left': '0%',
  26. 'right': '0%',
  27. 'bottom': '0%'
  28. }
  29. }, {
  30. id: text1Id,
  31. type: 'widget',
  32. style: {
  33. width: '30.00%',
  34. height: '96.36%',
  35. top: '1.82%',
  36. left: '1.00%'
  37. }
  38. }, {
  39. id: vis1Id,
  40. type: 'widget',
  41. style: {
  42. width: '67.00%',
  43. height: '96.36%',
  44. top: '1.82%',
  45. left: '32.00%'
  46. }
  47. }]
  48. }]
  49. },
  50. widgets: (_widgets = {}, _widgets[text1Id] = {
  51. id: text1Id,
  52. type: 'text',
  53. placeholder: {
  54. iconType: 'list'
  55. },
  56. content: '<div class="staticContent"><span class="textFitted responsiveColor responsiveFontSize responsiveFontFamily"><ul><li><br></li></ul></span></div>',
  57. name: '',
  58. defaults: {
  59. fontSize: '20'
  60. }
  61. }, _widgets[vis1Id] = {
  62. id: vis1Id,
  63. type: 'multipurpose',
  64. placeholder: {
  65. iconType: 'vis'
  66. }
  67. }, _widgets)
  68. };
  69. }
  70. };
  71. });
  72. //# sourceMappingURL=SceneLayout5.js.map