[DE] Make getting of smart arts by groups, add office group

This commit is contained in:
JuliaSvinareva 2022-09-22 00:02:20 +03:00
parent 6fe53f9357
commit 238cc71760
4 changed files with 274 additions and 196 deletions

View file

@ -1498,214 +1498,270 @@ define(function(){ 'use strict';
textPictureLineup: 'Picture Lineup', textPictureLineup: 'Picture Lineup',
textFramedTextPicture: 'Framed Text Picture', textFramedTextPicture: 'Framed Text Picture',
textBubblePictureList: 'Bubble Picture List', textBubblePictureList: 'Bubble Picture List',
textOffice: 'Office.com',
textPictureOrganizationChart: 'Picture Organization Chart',
textChevronAccentProcess: 'Chevron Accent Process',
textRadialPictureList: 'Radial Picture List',
textVerticalBracketList: 'Vertical Bracket List',
textInterconnectedBlockProcess: 'Interconnected Block Process',
textTabbedArc: 'Tabbed Arc',
textThemePictureAccent: 'Theme Picture Accent',
textVaryingWidthList: 'Varying Width List',
textConvergingText: 'Converging Text',
textInterconnectedRings: 'Interconnected Rings',
textArchitectureLayout: 'Architecture Layout',
textThemePictureAlternatingAccent: 'Theme Picture Alternating Accent',
textThemePictureGrid: 'Theme Picture Grid',
textCircleProcess: 'Circle Process',
textHexagonRadial: 'Hexagon Radial',
textPictureFrame: 'PictureFrame',
textTabList: 'Tab List',
getSmartArtGroupData: function(headername) { getSmartArtGroupData: function(headername) {
return [ return [
{id: 'menu-smart-art-group-list', caption: this.textList, icon: 'smart-list'}, {id: 'menu-smart-art-group-list', caption: this.textList, icon: 'smart-list', groupName: Asc.c_oAscSmartArtSectionNames.List},
{id: 'menu-smart-art-group-process', caption: this.textProcess, icon: 'smart-process'}, {id: 'menu-smart-art-group-process', caption: this.textProcess, icon: 'smart-process', groupName: Asc.c_oAscSmartArtSectionNames.Process},
{id: 'menu-smart-art-group-cycle', caption: this.textCycle, icon: 'smart-cycle'}, {id: 'menu-smart-art-group-cycle', caption: this.textCycle, icon: 'smart-cycle', groupName: Asc.c_oAscSmartArtSectionNames.Cycle},
{id: 'menu-smart-art-group-hierarchy', caption: this.textHierarchy, icon: 'smart-hierarchy'}, {id: 'menu-smart-art-group-hierarchy', caption: this.textHierarchy, icon: 'smart-hierarchy', groupName: Asc.c_oAscSmartArtSectionNames.Hierarchy},
{id: 'menu-smart-art-group-relationship', caption: this.textRelationship, icon: 'smart-relationship'}, {id: 'menu-smart-art-group-relationship', caption: this.textRelationship, icon: 'smart-relationship', groupName: Asc.c_oAscSmartArtSectionNames.Relationship},
{id: 'menu-smart-art-group-matrix', caption: this.textMatrix, icon: 'smart-matrix'}, {id: 'menu-smart-art-group-matrix', caption: this.textMatrix, icon: 'smart-matrix', groupName: Asc.c_oAscSmartArtSectionNames.Matrix},
{id: 'menu-smart-art-group-pyramid', caption: this.textPyramid, icon: 'smart-pyramid'}, {id: 'menu-smart-art-group-pyramid', caption: this.textPyramid, icon: 'smart-pyramid', groupName: Asc.c_oAscSmartArtSectionNames.Pyramid},
{id: 'menu-smart-art-group-picture', caption: this.textPicture, icon: 'btn-menu-image'}, {id: 'menu-smart-art-group-picture', caption: this.textPicture, icon: 'btn-menu-image', groupName: Asc.c_oAscSmartArtSectionNames.Picture},
{id: 'menu-smart-art-group-office', caption: this.textOffice, icon: '', groupName: Asc.c_oAscSmartArtSectionNames.OfficeCom},
]; ];
}, },
getSmartArtData: function() { getSmartArtData: function() {
return [ return [
// list // list
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.default, tip: this.textBasicBlockList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.BasicBlockList, tip: this.textBasicBlockList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.alternatingHexagons, tip: this.textAlternatingHexagons}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.AlternatingHexagonList, tip: this.textAlternatingHexagons},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pList1, tip: this.textPictureCaptionList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.PictureCaptionList, tip: this.textPictureCaptionList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.linedList, tip: this.textLinedList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.LinedList, tip: this.textLinedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList2, tip: this.textVerticalBulletList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalBulletList, tip: this.textVerticalBulletList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.list1, tip: this.textVerticalBoxList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalBoxList, tip: this.textVerticalBoxList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList1, tip: this.textHorizontalBulletList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalBracketList, tip: this.textVerticalBracketList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.squareAccentList, tip: this.textSquareAccentList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VaryingWidthList, tip: this.textVaryingWidthList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pictureAccentList, tip: this.textPictureAccentList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.TabList, tip: this.textTabList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.bList2, tip: this.textBendingPictureAccentList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.HorizontalBulletList, tip: this.textHorizontalBulletList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList9, tip: this.textStackedList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.SquareAccentList, tip: this.textSquareAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.increasingCircleProcess, tip: this.textIncreasingCircleProcess}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.PictureAccentList, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pieProcess, tip: this.textPieProcess}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.BendingPictureAccentList, tip: this.textBendingPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hProcess7, tip: this.textDetailedProcess}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.StackedList, tip: this.textStackedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.lProcess2, tip: this.textGroupedList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.IncreasingCircleProcess, tip: this.textIncreasingCircleProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pList2, tip: this.textHorizontalPictureList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.PieProcess, tip: this.textPieProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList7, tip: this.textContinuousPictureList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.DetailedProcess, tip: this.textDetailedProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pictureStrips, tip: this.textPictureStrips}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.GroupedList, tip: this.textGroupedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList4, tip: this.textVerticalPictureList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.HorizontalPictureList, tip: this.textHorizontalPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.alternatingPictureBlocks, tip: this.textAlternatingPictureBlocks}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.ContinuousPictureList, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList3, tip: this.textVerticalPictureAccentList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.PictureStrips, tip: this.textPictureStrips},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pictureAccentList, tip: this.textTitledPictureAccentList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalPictureList, tip: this.textVerticalPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList5, tip: this.textVerticalBlockList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.AlternatingPictureBlocks, tip: this.textAlternatingPictureBlocks},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.chevron2, tip: this.textVerticalChevronList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalPictureAccentList, tip: this.textVerticalPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.verticalAccentList, tip: this.textVerticalAccentList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.TitledPictureAccentList, tip: this.textTitledPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList6, tip: this.textVerticalArrowList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalBlockList, tip: this.textVerticalBlockList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList6, tip: this.textTrapezoidList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalChevronList, tip: this.textVerticalChevronList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.blockDescendingList, tip: this.textDescendingBlockList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalAccentList, tip: this.textVerticalAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList3, tip: this.textTableList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalArrowList, tip: this.textVerticalArrowList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.process4, tip: this.textSegmentedProcess}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.TrapezoidList, tip: this.textTrapezoidList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.verticalCurvedList, tip: this.textVerticalCurvedList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.DescendingBlockList, tip: this.textDescendingBlockList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pyramid2, tip: this.textPyramidList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.TableList, tip: this.textTableList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.target3, tip: this.textTargetList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.SegmentedProcess, tip: this.textSegmentedProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hierarchy3, tip: this.textHierarchyList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalCurvedList, tip: this.textVerticalCurvedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.verticalCircleList, tip: this.textVerticalCircleList}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.PyramidList, tip: this.textPyramidList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hierarchy4, tip: this.textTableHierarchy}, { group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.TargetList, tip: this.textTargetList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.HierarchyList, tip: this.textHierarchyList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.VerticalCircleList, tip: this.textVerticalCircleList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.TableHierarchy, tip: this.textTableHierarchy},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.ArchitectureLayout, tip: this.textArchitectureLayout},
// process // process
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process1, tip: this.textBasicProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.BasicProcess, tip: this.textBasicProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.stepUpProcess, tip: this.textStepUpProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.StepUpProcess, tip: this.textStepUpProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.stepDownProcess, tip: this.textStepDownProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.StepDownProcess, tip: this.textStepDownProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process3, tip: this.textAccentProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.AccentProcess, tip: this.textAccentProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess10, tip: this.textPictureAccentProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.PictureAccentProcess, tip: this.textPictureAccentProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess4, tip: this.textAlternatingFlow}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.AlternatingFlow, tip: this.textAlternatingFlow},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.increasingCircleProcess, tip: this.textIncreasingCircleProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.IncreasingCircleProcess, tip: this.textIncreasingCircleProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.pieProcess, tip: this.textPieProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.PieProcess, tip: this.textPieProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess9, tip: this.textContinuousBlockProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ContinuousBlockProcess, tip: this.textContinuousBlockProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.increasingArrowsProcess, tip: this.textIncreasingArrowProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.IncreasingArrowsProcess, tip: this.textIncreasingArrowProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess3, tip: this.textContinuousArrowProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.InterconnectedBlockProcess, tip: this.textInterconnectedBlockProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess6, tip: this.textProcessArrows}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ContinuousArrowProcess, tip: this.textContinuousArrowProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.circleAccentTimeline, tip: this.textCircleAccentTimeline}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ConvergingText, tip: this.textConvergingText},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess11, tip: this.textBasicTimeline}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ProcessArrows, tip: this.textProcessArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.chevron1, tip: this.textBasicChevronProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.CircleAccentTimeline, tip: this.textCircleAccentTimeline},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hChevron3, tip: this.textClosedChevronProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.BasicTimeline, tip: this.textBasicTimeline},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.lProcess3, tip: this.textChevronList}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.CircleProcess, tip: this.textCircleProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.chevron2, tip: this.textVerticalChevronList}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.BasicChevronProcess, tip: this.textBasicChevronProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.subStepProcess, tip: this.textSubStepProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ChevronAccentProcess, tip: this.textChevronAccentProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.phasedProcess, tip: this.textPhasedProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ClosedChevronProcess, tip: this.textClosedChevronProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.randomtoResultProcess, tip: this.textRandomToResultProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ChevronList, tip: this.textChevronList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process2, tip: this.textVerticalProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.VerticalChevronList, tip: this.textVerticalChevronList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.vProcess5, tip: this.textStaggeredProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.SubStepProcess, tip: this.textSubStepProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.lProcess1, tip: this.textProcessList}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.PhasedProcess, tip: this.textPhasedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process4, tip: this.textSegmentedProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.RandomToResultProcess, tip: this.textRandomToResultProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.circleArrowProcess, tip: this.textCircleArrowProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.VerticalProcess, tip: this.textVerticalProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process5, tip: this.textBasicBendingProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.StaggeredProcess, tip: this.textStaggeredProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.bProcess3, tip: this.textRepeatingBendingProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ProcessList, tip: this.textProcessList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.bProcess4, tip: this.textVerticalBendingProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.SegmentedProcess, tip: this.textSegmentedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hList7, tip: this.textContinuousPictureList}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.CircleArrowProcess, tip: this.textCircleArrowProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess7, tip: this.textDetailedProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.BasicBendingProcess, tip: this.textBasicBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.vList6, tip: this.textVerticalArrowList}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.RepeatingBendingProcess, tip: this.textRepeatingBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ascendingPictureAccentProcess, tip: this.textAscendingPictureAccentProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.VerticalBendingProcess, tip: this.textVerticalBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow2, tip: this.textUpwardArrow}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ContinuousPictureList, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.descendingProcess, tip: this.textDescendingProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.DetailedProcess, tip: this.textDetailedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.bProcess2, tip: this.textCircularBendingProcess}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.VerticalArrowList, tip: this.textVerticalArrowList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.equation1, tip: this.textEquation}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.AscendingPictureAccentProcess, tip: this.textAscendingPictureAccentProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.equation2, tip: this.textVerticalEquation}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.UpwardArrow, tip: this.textUpwardArrow},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.funnel1, tip: this.textFunnel}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.DescendingProcess, tip: this.textDescendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.gear1, tip: this.textGear}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.CircularBendingProcess, tip: this.textCircularBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow6, tip: this.textArrowRibbon}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.Equation, tip: this.textEquation},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow4, tip: this.textOpposingArrows}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.VerticalEquation, tip: this.textVerticalEquation},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow5, tip: this.textConvergingArrows}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.Funnel, tip: this.textFunnel},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow1, tip: this.textDivergingArrows}, { group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.Gear, tip: this.textGear},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ArrowRibbon, tip: this.textArrowRibbon},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.OpposingArrows, tip: this.textOpposingArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ConvergingArrows, tip: this.textConvergingArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.DivergingArrows, tip: this.textDivergingArrows},
// cycle // cycle
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle2, tip: this.textBasicCycle}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.BasicCycle, tip: this.textBasicCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle1, tip: this.textTextCycle}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.TextCycle, tip: this.textTextCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle5, tip: this.textBlockCycle}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.BlockCycle, tip: this.textBlockCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle6, tip: this.textNondirectionalCycle}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.NonDirectionalCycle, tip: this.textNondirectionalCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle7, tip: this.textMultidirectionalCycle}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.MultiDirectionalCycle, tip: this.textMultidirectionalCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle8, tip: this.textSegmentedCycle}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.SegmentedCycle, tip: this.textSegmentedCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.chart3, tip: this.textBasicPie}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.BasicPie, tip: this.textBasicPie},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.radial6, tip: this.textRadialCycle}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.HexagonRadial, tip: this.textHexagonRadial},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.radial1, tip: this.textBasicRadial}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.RadialCycle, tip: this.textRadialCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.radial5, tip: this.textDivergingRadial}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.BasicRadial, tip: this.textBasicRadial},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.radial3, tip: this.textRadialVenn}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.DivergingRadial, tip: this.textDivergingRadial},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle4, tip: this.textCycleMatrix}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.RadialVenn, tip: this.textRadialVenn},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.gear1, tip: this.textGear}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.CycleMatrix, tip: this.textCycleMatrix},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.radialCluster, tip: this.textRadialCluster}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.Gear, tip: this.textGear},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.circleArrowProcess, tip: this.textCircleArrowProcess}, { group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.RadialCluster, tip: this.textRadialCluster},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.CircleArrowProcess, tip: this.textCircleArrowProcess},
// hierarchy // hierarchy
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.orgChart1, tip: this.textOrganizationChart}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.OrganizationChart, tip: this.textOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.nameandTitleOrganizationalChart, tip: this.textNameAndTitleOrganizationChart}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.PictureOrganizationChart, tip: this.textPictureOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.halfCircleOrganizationChart, tip: this.textHalfCircleOrganizationChart}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.NameAndTitleOrganizationChart, tip: this.textNameAndTitleOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.circlePictureHierarchy, tip: this.textCirclePictureHierarchy}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.HalfCircleOrganizationChart, tip: this.textHalfCircleOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy1, tip: this.textHierarchy}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.CirclePictureHierarchy, tip: this.textCirclePictureHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy6, tip: this.textLabeledHierarchy}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.Hierarchy, tip: this.textHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy4, tip: this.textTableHierarchy}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.LabeledHierarchy, tip: this.textLabeledHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.horizontalOrganizationChart, tip: this.textHorizontalOrganizationChart}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.TableHierarchy, tip: this.textTableHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.horizontalMultiLevelHierarchy, tip: this.textHorizontalMultiLevelHierarchy}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.HorizontalOrganizationChart, tip: this.textHorizontalOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy2, tip: this.textHorizontalHierarchy}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.ArchitectureLayout, tip: this.textArchitectureLayout},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy5, tip: this.textHorizontalLabeledHierarchy}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.HorizontalMultiLevelHierarchy, tip: this.textHorizontalMultiLevelHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy3, tip: this.textHierarchyList}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.HorizontalHierarchy, tip: this.textHorizontalHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.linedList, tip: this.textLinedList}, { group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.HorizontalLabeledHierarchy, tip: this.textHorizontalLabeledHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.HierarchyList, tip: this.textHierarchyList},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.LinedList, tip: this.textLinedList},
// relationship // relationship
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.balance1, tip: this.textBalance}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.Balance, tip: this.textBalance},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.circleRelationship, tip: this.textCircleRelationship}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.CircleRelationship, tip: this.textCircleRelationship},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.funnel1, tip: this.textFunnel}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.Funnel, tip: this.textFunnel},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.gear1, tip: this.textGear}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.Gear, tip: this.textGear},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.hexagonCluster, tip: this.textHexagonCluster}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.HexagonCluster, tip: this.textHexagonCluster},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.opposingIdeas, tip: this.textOpposingIdeas}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.OpposingIdeas, tip: this.textOpposingIdeas},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.plusandMinus, tip: this.textPlusAndMinus}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.PlusAndMinus, tip: this.textPlusAndMinus},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.reverseList, tip: this.textReverseList}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.ReverseList, tip: this.textReverseList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.arrow6, tip: this.textArrowRibbon}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.ArrowRibbon, tip: this.textArrowRibbon},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.arrow3, tip: this.textCounterbalanceArrows}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.CounterbalanceArrows, tip: this.textCounterbalanceArrows},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.arrow5, tip: this.textConvergingArrows}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.ConvergingArrows, tip: this.textConvergingArrows},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.arrow1, tip: this.textDivergingArrows}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.DivergingArrows, tip: this.textDivergingArrows},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.arrow4, tip: this.textOpposingArrows}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.OpposingArrows, tip: this.textOpposingArrows},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.pyramid4, tip: this.textSegmentedPyramid}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.SegmentedPyramid, tip: this.textSegmentedPyramid},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.hierarchy4, tip: this.textTableHierarchy}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.TableHierarchy, tip: this.textTableHierarchy},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.target3, tip: this.textTargetList}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.ArchitectureLayout, tip: this.textArchitectureLayout},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.target2, tip: this.textNestedTarget}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.TargetList, tip: this.textTargetList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.lProcess2, tip: this.textGroupedList}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.NestedTarget, tip: this.textNestedTarget},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.hList7, tip: this.textContinuousPictureList}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.GroupedList, tip: this.textGroupedList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.hierarchy3, tip: this.textHierarchyList}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.ContinuousPictureList, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.pictureAccentList, tip: this.textPictureAccentList}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.HierarchyList, tip: this.textHierarchyList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.equation1, tip: this.textEquation}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.PictureAccentList, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.equation2, tip: this.textVerticalEquation}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.Equation, tip: this.textEquation},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial4, tip: this.textConvergingRadial}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.VerticalEquation, tip: this.textVerticalEquation},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radialCluster, tip: this.textRadialCluster}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.ConvergingRadial, tip: this.textConvergingRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial2, tip: this.textRadialList}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.RadialCluster, tip: this.textRadialCluster},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial6, tip: this.textRadialCycle}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.RadialList, tip: this.textRadialList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial1, tip: this.textBasicRadial}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.TabbedArc, tip: this.textTabbedArc},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial5, tip: this.textDivergingRadial}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.RadialCycle, tip: this.textRadialCycle},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.cycle6, tip: this.textNondirectionalCycle}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.BasicRadial, tip: this.textBasicRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.target1, tip: this.textBasicTarget}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.DivergingRadial, tip: this.textDivergingRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.cycle4, tip: this.textCycleMatrix}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.NonDirectionalCycle, tip: this.textNondirectionalCycle},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.chart3, tip: this.textBasicPie}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.BasicTarget, tip: this.textBasicTarget},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.venn1, tip: this.textBasicVenn}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.CycleMatrix, tip: this.textCycleMatrix},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.venn3, tip: this.textLinearVenn}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.BasicPie, tip: this.textBasicPie},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.venn2, tip: this.textStackedVenn}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.BasicVenn, tip: this.textBasicVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial3, tip: this.textRadialVenn}, { group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.LinearVenn, tip: this.textLinearVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.StackedVenn, tip: this.textStackedVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.RadialVenn, tip: this.textRadialVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.InterconnectedRings, tip: this.textInterconnectedRings},
// matrix // matrix
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.matrix3, tip: this.textBasicMatrix}, { group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.BasicMatrix, tip: this.textBasicMatrix},
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.matrix1, tip: this.textTitledMatrix}, { group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.TitledMatrix, tip: this.textTitledMatrix},
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.matrix2, tip: this.textGridMatrix}, { group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.GridMatrix, tip: this.textGridMatrix},
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.cycle4, tip: this.textCycleMatrix}, { group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.CycleMatrix, tip: this.textCycleMatrix},
// pyramid // pyramid
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.pyramid1, tip: this.textBasicPyramid}, { group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.BasicPyramid, tip: this.textBasicPyramid},
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.pyramid3, tip: this.textInvertedPyramid}, { group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.InvertedPyramid, tip: this.textInvertedPyramid},
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.pyramid2, tip: this.textPyramidList}, { group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.PyramidList, tip: this.textPyramidList},
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.pyramid4, tip: this.textSegmentedPyramid}, { group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.SegmentedPyramid, tip: this.textSegmentedPyramid},
// picture // picture
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.accentedPicture, tip: this.textAccentedPicture}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.AccentedPicture, tip: this.textAccentedPicture},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.circularPictureCallout, tip: this.textCircularPictureCallout}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.CircularPictureCallout, tip: this.textCircularPictureCallout},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pList1, tip: this.textPictureCaptionList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.PictureCaptionList, tip: this.textPictureCaptionList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.snapshotPictureList, tip: this.textSnapshotPictureList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.RadialPictureList, tip: this.textRadialPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.spiralPicture, tip: this.textSpiralPicture}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.SnapshotPictureList, tip: this.textSnapshotPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.captionedPictures, tip: this.textCaptionedPictures}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.SpiralPicture, tip: this.textSpiralPicture},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bendingPictureCaption, tip: this.textBendingPictureCaption}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.CaptionedPictures, tip: this.textCaptionedPictures},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bendingPictureSemiTransparentText, tip: this.textBendingPictureSemiTranparentText}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.BendingPictureCaption, tip: this.textBendingPictureCaption},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bendingPictureBlocks, tip: this.textBendingPictureBlocks}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.PictureFrame, tip: this.textPictureFrame},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bendingPictureCaptionList, tip: this.textBendingPictureCaptionList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.BendingPictureSemiTransparentText, tip: this.textBendingPictureSemiTranparentText},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.titledPictureBlocks, tip: this.textTitledPictureBlocks}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.BendingPictureBlocks, tip: this.textBendingPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureGrid, tip: this.textPictureGrid}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.BendingPictureCaptionList, tip: this.textBendingPictureCaptionList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureAccentBlocks, tip: this.textPictureAccentBlocks}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.TitledPictureBlocks, tip: this.textTitledPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureStrips, tip: this.textPictureStrips}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.PictureGrid, tip: this.textPictureGrid},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureAccentList, tip: this.textTitledPictureAccentList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.PictureAccentBlocks, tip: this.textPictureAccentBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.alternatingPictureBlocks, tip: this.textAlternatingPictureBlocks}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.PictureStrips, tip: this.textPictureStrips},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.ascendingPictureAccentProcess, tip: this.textAscendingPictureAccentProcess}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.ThemePictureAccent, tip: this.textThemePictureAccent},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.alternatingPictureCircles, tip: this.textAlternatingPictureCircles}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.ThemePictureGrid, tip: this.textThemePictureGrid},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.titlePictureLineup, tip: this.textTitlePictureLineup}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.ThemePictureAlternatingAccent, tip: this.textThemePictureAlternatingAccent},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureLineup, tip: this.textPictureLineup}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.TitledPictureAccentList, tip: this.textTitledPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.framedTextPicture, tip: this.textFramedTextPicture}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.AlternatingPictureBlocks, tip: this.textAlternatingPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.hexagonCluster, tip: this.textHexagonCluster}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.AscendingPictureAccentProcess, tip: this.textAscendingPictureAccentProcess},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bubblePictureList, tip: this.textBubblePictureList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.AlternatingPictureCircles, tip: this.textAlternatingPictureCircles},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.circlePictureHierarchy, tip: this.textCirclePictureHierarchy}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.TitlePictureLineup, tip: this.textTitlePictureLineup},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pList2, tip: this.textHorizontalPictureList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.PictureLineup, tip: this.textPictureLineup},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.hList7, tip: this.textContinuousPictureList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.FramedTextPicture, tip: this.textFramedTextPicture},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.vList4, tip: this.textVerticalPictureList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.HexagonCluster, tip: this.textHexagonCluster},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.vList3, tip: this.textVerticalPictureAccentList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.BubblePictureList, tip: this.textBubblePictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bList2, tip: this.textBendingPictureAccentList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.CirclePictureHierarchy, tip: this.textCirclePictureHierarchy},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.hList2, tip: this.textPictureAccentList}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.HorizontalPictureList, tip: this.textHorizontalPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.hProcess10, tip: this.textPictureAccentProcess}, { group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.ContinuousPictureList, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.VerticalPictureList, tip: this.textVerticalPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.VerticalPictureAccentList, tip: this.textVerticalPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.BendingPictureAccentList, tip: this.textBendingPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.PictureAccentList, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.PictureAccentProcess, tip: this.textPictureAccentProcess},
// Office.com
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.PictureOrganizationChart, tip: this.textPictureOrganizationChart},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.ChevronAccentProcess, tip: this.textChevronAccentProcess},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.RadialPictureList, tip: this.textRadialPictureList},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.VerticalBracketList, tip: this.textVerticalBracketList},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.InterconnectedBlockProcess, tip: this.textInterconnectedBlockProcess},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.TabbedArc, tip: this.textTabbedArc},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.ThemePictureAccent, tip: this.textThemePictureAccent},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.VaryingWidthList, tip: this.textVaryingWidthList},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.ConvergingText, tip: this.textConvergingText},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.InterconnectedRings, tip: this.textInterconnectedRings},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.ArchitectureLayout, tip: this.textArchitectureLayout},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.ThemePictureAlternatingAccent, tip: this.textThemePictureAlternatingAccent},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.ThemePictureGrid, tip: this.textThemePictureGrid},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.CircleProcess, tip: this.textCircleProcess},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.HexagonRadial, tip: this.textHexagonRadial},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.PictureFrame, tip: this.textPictureFrame},
{ group: 'menu-smart-art-group-office', type: Asc.c_oAscSmartArtTypes.TabList, tip: this.textTabList},
]; ];
}, },
} }

View file

@ -3319,8 +3319,8 @@ define([
})).show(); })).show();
}, },
generateSmartArt: function () { generateSmartArt: function (groupName) {
this.api.asc_generateSmartArtPreviews(); this.api.asc_generateSmartArtPreviews(groupName);
}, },
onApiBeginSmartArtPreview: function () { onApiBeginSmartArtPreview: function () {
@ -3331,7 +3331,7 @@ define([
onApiAddSmartArtPreview: function (previews) { onApiAddSmartArtPreview: function (previews) {
previews.forEach(_.bind(function (preview) { previews.forEach(_.bind(function (preview) {
var me = this; var me = this;
var items = _.where(this.smartArtItems, {type: Asc.c_oAscSmartArtTypes[preview.asc_getName()]}); var items = _.where(this.smartArtItems, {type: preview.asc_getName()});
items.forEach(function (item) { items.forEach(function (item) {
var menu = _.findWhere(me.smartArtGroups, {value: item.group}).menuPicker, var menu = _.findWhere(me.smartArtGroups, {value: item.group}).menuPicker,
arr = [{ arr = [{

View file

@ -2225,6 +2225,7 @@ define([
me.btnInsertSmartArt.menu.addItem({ me.btnInsertSmartArt.menu.addItem({
caption: item.caption, caption: item.caption,
value: item.id, value: item.id,
groupName: item.groupName,
iconCls: 'menu__icon ' + item.icon, iconCls: 'menu__icon ' + item.icon,
menu: new Common.UI.Menu({ menu: new Common.UI.Menu({
items: [ items: [
@ -2235,6 +2236,10 @@ define([
}); });
var onShowBeforeSmartArt = function (menu) { // + <% if(typeof imageUrl === "undefined" || imageUrl===null || imageUrl==="") { %> style="visibility: hidden;" <% } %>/>', var onShowBeforeSmartArt = function (menu) { // + <% if(typeof imageUrl === "undefined" || imageUrl===null || imageUrl==="") { %> style="visibility: hidden;" <% } %>/>',
me.btnInsertSmartArt.menu.items.forEach(function (item, index) { me.btnInsertSmartArt.menu.items.forEach(function (item, index) {
item.$el.one('mouseenter', function () {
me.fireEvent('generate:smartart', [item.options.groupName]);
item.$el.mouseenter();
});
item.menuPicker = new Common.UI.DataView({ item.menuPicker = new Common.UI.DataView({
el: $('#' + item.value), el: $('#' + item.value),
parentMenu: me.btnInsertSmartArt.menu.items[index].menu, parentMenu: me.btnInsertSmartArt.menu.items[index].menu,
@ -2263,7 +2268,6 @@ define([
Common.NotificationCenter.trigger('edit:complete', me); Common.NotificationCenter.trigger('edit:complete', me);
}); });
}); });
me.fireEvent('generate:smartart');
menu.off('show:before', onShowBeforeSmartArt); menu.off('show:before', onShowBeforeSmartArt);
}; };
this.btnInsertSmartArt.menu.on('show:before', onShowBeforeSmartArt); this.btnInsertSmartArt.menu.on('show:before', onShowBeforeSmartArt);

View file

@ -266,6 +266,24 @@
"Common.define.smartArt.textPictureLineup": "Picture Lineup", "Common.define.smartArt.textPictureLineup": "Picture Lineup",
"Common.define.smartArt.textFramedTextPicture": "Framed Text Picture", "Common.define.smartArt.textFramedTextPicture": "Framed Text Picture",
"Common.define.smartArt.textBubblePictureList": "Bubble Picture List", "Common.define.smartArt.textBubblePictureList": "Bubble Picture List",
"Common.define.smartArt.textOffice": "Office.com",
"Common.define.smartArt.textPictureOrganizationChart": "Picture Organization Chart",
"Common.define.smartArt.textChevronAccentProcess": "Chevron Accent Process",
"Common.define.smartArt.textRadialPictureList": "Radial Picture List",
"Common.define.smartArt.textVerticalBracketList": "Vertical Bracket List",
"Common.define.smartArt.textInterconnectedBlockProcess": "Interconnected Block Process",
"Common.define.smartArt.textTabbedArc": "Tabbed Arc",
"Common.define.smartArt.textThemePictureAccent": "Theme Picture Accent",
"Common.define.smartArt.textVaryingWidthList": "Varying Width List",
"Common.define.smartArt.textConvergingText": "Converging Text",
"Common.define.smartArt.textInterconnectedRings": "Interconnected Rings",
"Common.define.smartArt.textArchitectureLayout": "Architecture Layout",
"Common.define.smartArt.textThemePictureAlternatingAccent": "Theme Picture Alternating Accent",
"Common.define.smartArt.textThemePictureGrid": "Theme Picture Grid",
"Common.define.smartArt.textCircleProcess": "Circle Process",
"Common.define.smartArt.textHexagonRadial": "Hexagon Radial",
"Common.define.smartArt.textPictureFrame": "PictureFrame",
"Common.define.smartArt.textTabList": "Tab List",
"Common.Translation.textMoreButton": "More", "Common.Translation.textMoreButton": "More",
"Common.Translation.warnFileLocked": "You can't edit this file because it's being edited in another app.", "Common.Translation.warnFileLocked": "You can't edit this file because it's being edited in another app.",
"Common.Translation.warnFileLockedBtnEdit": "Create a copy", "Common.Translation.warnFileLockedBtnEdit": "Create a copy",