123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- 'use strict';
- /**
- * Licensed Materials - Property of IBM
- * IBM Cognos Products: Storytelling (C) Copyright IBM Corp. 2018, 2019
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- define(['storytelling/nls/StringResources', 'baglass/core-client/js/core-client/utils/UniqueId'], function (stringResources, UniqueId) {
- return {
- get: function get() {
- var _widgets;
- var titleId = UniqueId.get('title_');
- var vis1Id = UniqueId.get('vis1_');
- var vis2Id = UniqueId.get('vis2_');
- return {
- layout: {
- type: 'container',
- templateName: 'Template1',
- items: [{
- type: 'genericPage',
- layoutPositioning: 'relative',
- css: 'templateBox aspectRatio_default',
- items: [{
- type: 'templateIndicator',
- style: {
- 'top': '0%',
- 'left': '0%',
- 'right': '0%',
- 'bottom': '0%'
- }
- }, {
- id: titleId,
- type: 'widget',
- style: {
- width: '98.00%',
- height: '20.00%',
- top: '1.82%',
- left: '1.00%'
- }
- }, {
- id: vis1Id,
- type: 'widget',
- style: {
- width: '48.50%',
- height: '74.54%',
- top: '23.64%',
- left: '1.00%'
- }
- }, {
- id: vis2Id,
- type: 'widget',
- style: {
- left: '50.50%',
- top: '23.64%',
- height: '74.54%',
- width: '48.5%'
- }
- }]
- }]
- },
- widgets: (_widgets = {}, _widgets[titleId] = {
- id: titleId,
- type: 'text',
- isResponsive: true,
- placeholder: {
- showIcon: false,
- text: stringResources.get('titleWidgetPlaceholderText')
- },
- content: '<div class="staticContent"><span class="textFitted responsiveColor responsiveFontSize responsiveFontFamily"><p style="text-align: center;"><br></p></span></div>',
- name: stringResources.get('titleWidgetPlaceholderText'),
- defaults: {
- justifyCenter: true
- }
- }, _widgets[vis1Id] = {
- id: vis1Id,
- type: 'multipurpose',
- placeholder: {
- iconType: 'vis'
- }
- }, _widgets[vis2Id] = {
- id: vis2Id,
- type: 'multipurpose',
- placeholder: {
- iconType: 'vis'
- }
- }, _widgets)
- };
- }
- };
- });
- //# sourceMappingURL=SceneLayout3.js.map
|