UNPKG

pip-webui

Version:

HTML5 UI for LOB applications

322 lines (312 loc) 11.7 kB
(function (angular, chance) { 'use strict'; var thisModule = angular.module('appComposite.CompositeSummary', []); thisModule.controller('CompositeSummaryController', function ($scope, pipAppBar, $timeout) { $timeout(function() { $('pre code').each(function(i, block) { Prism.highlightElement(block); }); }); pipAppBar.hideShadow(); pipAppBar.showTitleText('COMPOSITE_CONTROLS'); pipAppBar.showMenuNavIcon(); pipAppBar.showLanguage(); $scope.compositeSummarySecondary = [ { type: 'checklist', text: '', docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: null, checklist: [ { text: 'Efficiently simplify visionary content rather than extensive. ' + 'Phosfluorescently engage.', checked: true }, { text: 'Phosfluorescently engage clicks-and-mortar niche markets.', checked: true }, { text: 'Proactively communicate collaborative strategic theme areas for B2B ROI. Assertively.', checked: false }, { text: 'Appropriately morph revolutionary leadership.', checked: true }, { text: 'Conveniently redefine empowered catalysts for change vis-a-vis ' + 'timely action items. Continually underwhelm interactive information ' + 'whereas leading-edge networks.', checked: true } ] }, { type: 'time', text: '', docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: '2015-07-31T21:00:00.000Z', end: null, checklist: [] }, { type: 'time', text: '', docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: '2015-08-31T21:00:00.000Z', checklist: [] }, { type: 'time', text: '', docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: '2015-07-31T21:00:00.000Z', end: '2015-08-31T21:00:00.000Z', checklist: [] }, { type: 'location', text: '', docs: [], pic_ids: [], loc_pos: { type: 'Point', coordinates: [32.393603, -110.982593] }, loc_name: '780 W. Lost Creek Place, Tucson, AZ 85737', start: null, end: null, checklist: [] }, { type: 'documents', text: '', docs: [ { file_id: '12eb8327eaa60e89207b7489', file_name: '6d4261a3e51725.mp3' }, { file_id: '54eb8327eaa60e89207b7489', file_name: '1d4261a3e51725.mp3' } ], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: null, checklist: [] } ]; $scope.compositeSummary = [ { type: 'text', text: chance.paragraph(), docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: null, checklist: [] }, { type: 'checklist', text: '', docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: null, checklist: [ { text: 'Efficiently simplify visionary content rather than extensive. ' + 'Phosfluorescently engage.', checked: true }, { text: 'Phosfluorescently engage clicks-and-mortar niche markets.', checked: true }, { text: 'Следующий будет пустым', checked: false }, { text: '', checked: true }, { text: 'Conveniently redefine empowered catalysts for change vis-a-vis timely ' + 'action items. Continually underwhelm interactive information whereas ' + 'leading-edge networks.', checked: true } ] }, { type: 'text', text: chance.paragraph(), docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: null, checklist: [] }, { type: 'text', text: chance.paragraph(), docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: null, checklist: [] }, { type: 'pictures', text: '', docs: [], pic_ids: [ '56790b4960958daa664fd8c6', '56790b4c60958daa664fd8c7' ], loc_pos: null, loc_name: '', start: null, end: null, checklist: [] }, { type: 'pictures', text: '', docs: [], pic_ids: [ '56790b4960958daa664fd8c2', '56790b4960958daa664fd8c1', '56790b4960958daa664fd8c4', '56790b4960958daa664fd8c3', '56790b4960958daa664fd8c5' ], loc_pos: null, loc_name: '', start: null, end: null, checklist: [] }, { type: 'time', text: '', docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: '2015-07-31T21:00:00.000Z', end: null, checklist: [] }, { type: 'time', text: '', docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: '2015-08-31T21:00:00.000Z', checklist: [] }, { type: 'time', text: '', docs: [], pic_ids: [], loc_pos: null, loc_name: '', start: '2015-07-31T21:00:00.000Z', end: '2015-08-31T21:00:00.000Z', checklist: [] }, { type: 'pictures', text: '', docs: [], pic_ids: [ '56790b4c60958daa664fd8c8', '56790b4e60958daa664fd8c9', '56790b4f60958daa664fd8ca', '56790b4f60958daa664fd8cb', '56790b4f60958daa664fd8cc', '56790b5060958daa664fd8cd', '56790b5160958daa664fd8ce', '56790b5160958daa664fd8cf', '56790b5260958daa664fd8d0', '567911f060958daa664fd8ff', '567911f060958daa664fd8fe' ], loc_pos: null, loc_name: '', start: null, end: null, checklist: [] }, { type: 'location', text: '', docs: [], pic_ids: [], loc_pos: { type: 'Point', coordinates: [32.393603, -110.982593] }, loc_name: '780 W. Lost Creek Place, Tucson, AZ 85737', start: null, end: null, checklist: [] }, { type: 'documents', text: '', docs: [ { file_id: '12eb8327eaa60e89207b7489', file_name: '6d4261a3e51725.mp3' }, { file_id: '54eb8327eaa60e89207b7489', file_name: '1d4261a3e51725.mp3' } ], pic_ids: [], loc_pos: null, loc_name: '', start: null, end: null, checklist: [] } ]; } ); })(window.angular, window.chance);