Composite View {{ 'SAMPLE' | translate }}
Enable
Disable
{{:: 'CODE' | translate}}
HTML:
<pip-composite-view pip-contents="compositeView"
ng-disabled="isDisabled()"
pip-rebind="true">
</pip-composite-view>
JS:
$scope.compositeView = [
{
type: 'text',
text: 'Architecture is both the process and the product of planning, designing, ' +
'and constructing buildings and other physical structures. Architectural works, ' +
'in the material form of buildings, are often perceived as cultural symbols and as works of art. ' +
'Historical civilizations are often identified with their surviving architectural achievements.',
docs: [],
pic_ids: [],
loc_pos: null,
loc_name: '',
start: null,
end: null,
checklist: []
},
{
type: 'text',
text: '### "Architecture" can mean:',
docs: [],
pic_ids: [],
loc_pos: null,
loc_name: '',
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: []
},
{
type: 'pictures',
text: '',
docs: [],
pic_ids: [
"56790b4960958daa664fd8c6",
"56790b4c60958daa664fd8c7"
],
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. Efficiently simplify visionary content rather than extensive.'
+ 'Phosfluorescently engage.',
checked: true
},
{
text: 'Phosfluorescently engage clicks-and-mortar niche markets.',
checked: true
}
]
},
{
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: []
}
];