[DE] Make smart arts

This commit is contained in:
JuliaSvinareva 2022-09-08 01:48:54 +03:00
parent 221f138ae1
commit fdc0e5038d
3 changed files with 244 additions and 232 deletions

View file

@ -1515,197 +1515,197 @@ define(function(){ 'use strict';
getSmartArtData: function() {
return [
// list
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.default, tip: this.textBasicBlockList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.alternatingHexagons, tip: this.textAlternatingHexagons},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.pList1, tip: this.textPictureCaptionList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.linedList, tip: this.textLinedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.vList2, tip: this.textVerticalBulletList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.list1, tip: this.textVerticalBoxList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.hList1, tip: this.textHorizontalBulletList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.squareAccentList, tip: this.textSquareAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.pictureAccentList, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.bList2, tip: this.textBendingPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.hList9, tip: this.textStackedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.increasingCircleProcess, tip: this.textIncreasingCircleProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.pieProcess, tip: this.textPieProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.hProcess7, tip: this.textDetailedProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.lProcess2, tip: this.textGroupedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.pList2, tip: this.textHorizontalPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.hList7, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.pictureStrips, tip: this.textPictureStrips},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.vList4, tip: this.textVerticalPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.alternatingPictureBlocks, tip: this.textAlternatingPictureBlocks},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.vList3, tip: this.textVerticalPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.pictureAccentList, tip: this.textTitledPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.vList5, tip: this.textVerticalBlockList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.chevron2, tip: this.textVerticalChevronList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.verticalAccentList, tip: this.textVerticalAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.vList6, tip: this.textVerticalArrowList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.hList6, tip: this.textTrapezoidList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.blockDescendingList, tip: this.textDescendingBlockList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.hList3, tip: this.textTableList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.process4, tip: this.textSegmentedProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.verticalCurvedList, tip: this.textVerticalCurvedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.pyramid2, tip: this.textPyramidList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.target3, tip: this.textTargetList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.hierarchy3, tip: this.textHierarchyList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.verticalCircleList, tip: this.textVerticalCircleList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscChartTypeSettings.hierarchy4, tip: this.textTableHierarchy},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.default, 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.pList1, 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.vList2, 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.hList1, tip: this.textHorizontalBulletList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.squareAccentList, tip: this.textSquareAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pictureAccentList, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.bList2, tip: this.textBendingPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList9, tip: this.textStackedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.increasingCircleProcess, tip: this.textIncreasingCircleProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pieProcess, tip: this.textPieProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hProcess7, tip: this.textDetailedProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.lProcess2, tip: this.textGroupedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pList2, tip: this.textHorizontalPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList7, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pictureStrips, tip: this.textPictureStrips},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList4, tip: this.textVerticalPictureList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.alternatingPictureBlocks, tip: this.textAlternatingPictureBlocks},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList3, tip: this.textVerticalPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pictureAccentList, tip: this.textTitledPictureAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList5, tip: this.textVerticalBlockList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.chevron2, tip: this.textVerticalChevronList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.verticalAccentList, tip: this.textVerticalAccentList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.vList6, tip: this.textVerticalArrowList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList6, tip: this.textTrapezoidList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.blockDescendingList, tip: this.textDescendingBlockList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hList3, tip: this.textTableList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.process4, tip: this.textSegmentedProcess},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.verticalCurvedList, tip: this.textVerticalCurvedList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.pyramid2, tip: this.textPyramidList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.target3, tip: this.textTargetList},
{ group: 'menu-smart-art-group-list', type: Asc.c_oAscSmartArtTypes.hierarchy3, 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.hierarchy4, tip: this.textTableHierarchy},
// process
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.process1, tip: this.textBasicProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.stepUpProcess, tip: this.textStepUpProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.stepDownProcess, tip: this.textStepDownProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.process3, tip: this.textAccentProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hProcess10, tip: this.textPictureAccentProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hProcess4, tip: this.textAlternatingFlow},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.increasingCircleProcess, tip: this.textIncreasingCircleProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.pieProcess, tip: this.textPieProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hProcess9, tip: this.textContinuousBlockProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.increasingArrowsProcess, tip: this.textIncreasingArrowProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hProcess3, tip: this.textContinuousArrowProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hProcess6, tip: this.textProcessArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.circleAccentTimeline, tip: this.textCircleAccentTimeline},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hProcess11, tip: this.textBasicTimeline},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.chevron1, tip: this.textBasicChevronProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hChevron3, tip: this.textClosedChevronProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.lProcess3, tip: this.textChevronList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.chevron2, tip: this.textVerticalChevronList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.subStepProcess, tip: this.textSubStepProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.phasedProcess, tip: this.textPhasedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.randomtoResultProcess, tip: this.textRandomToResultProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.process2, tip: this.textVerticalProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.vProcess5, tip: this.textStaggeredProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.lProcess1, tip: this.textProcessList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.process4, tip: this.textSegmentedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.circleArrowProcess, tip: this.textCircleArrowProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.process5, tip: this.textBasicBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.bProcess3, tip: this.textRepeatingBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.bProcess4, tip: this.textVerticalBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hList7, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.hProcess7, tip: this.textDetailedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.vList6, tip: this.textVerticalArrowList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.ascendingPictureAccentProcess, tip: this.textAscendingPictureAccentProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.arrow2, tip: this.textUpwardArrow},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.descendingProcess, tip: this.textDescendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.bProcess2, tip: this.textCircularBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.equation1, tip: this.textEquation},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.equation2, tip: this.textVerticalEquation},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.funnel1, tip: this.textFunnel},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.gear1, tip: this.textGear},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.arrow6, tip: this.textArrowRibbon},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.arrow4, tip: this.textOpposingArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.arrow5, tip: this.textConvergingArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscChartTypeSettings.arrow1, tip: this.textDivergingArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process1, 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.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.hProcess10, 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.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.hProcess9, 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.hProcess3, tip: this.textContinuousArrowProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess6, tip: this.textProcessArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.circleAccentTimeline, tip: this.textCircleAccentTimeline},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess11, tip: this.textBasicTimeline},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.chevron1, tip: this.textBasicChevronProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hChevron3, tip: this.textClosedChevronProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.lProcess3, tip: this.textChevronList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.chevron2, tip: this.textVerticalChevronList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.subStepProcess, tip: this.textSubStepProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.phasedProcess, tip: this.textPhasedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.randomtoResultProcess, tip: this.textRandomToResultProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process2, tip: this.textVerticalProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.vProcess5, tip: this.textStaggeredProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.lProcess1, tip: this.textProcessList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process4, tip: this.textSegmentedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.circleArrowProcess, tip: this.textCircleArrowProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.process5, tip: this.textBasicBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.bProcess3, tip: this.textRepeatingBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.bProcess4, tip: this.textVerticalBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hList7, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.hProcess7, tip: this.textDetailedProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.vList6, tip: this.textVerticalArrowList},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.ascendingPictureAccentProcess, tip: this.textAscendingPictureAccentProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow2, tip: this.textUpwardArrow},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.descendingProcess, tip: this.textDescendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.bProcess2, tip: this.textCircularBendingProcess},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.equation1, tip: this.textEquation},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.equation2, tip: this.textVerticalEquation},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.funnel1, tip: this.textFunnel},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.gear1, tip: this.textGear},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow6, tip: this.textArrowRibbon},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow4, tip: this.textOpposingArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow5, tip: this.textConvergingArrows},
{ group: 'menu-smart-art-group-process', type: Asc.c_oAscSmartArtTypes.arrow1, tip: this.textDivergingArrows},
// cycle
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.cycle2, tip: this.textBasicCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.cycle1, tip: this.textTextCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.cycle5, tip: this.textBlockCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.cycle6, tip: this.textNondirectionalCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.cycle7, tip: this.textMultidirectionalCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.cycle8, tip: this.textSegmentedCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.chart3, tip: this.textBasicPie},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.radial6, tip: this.textRadialCycle},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.radial1, tip: this.textBasicRadial},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.radial5, tip: this.textDivergingRadial},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.radial3, tip: this.textRadialVenn},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.cycle4, tip: this.textCycleMatrix},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.gear1, tip: this.textGear},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.radialCluster, tip: this.textRadialCluster},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscChartTypeSettings.circleArrowProcess, tip: this.textCircleArrowProcess},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle2, 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.cycle5, 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.cycle7, 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.chart3, 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.radial1, tip: this.textBasicRadial},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.radial5, tip: this.textDivergingRadial},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.radial3, tip: this.textRadialVenn},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.cycle4, tip: this.textCycleMatrix},
{ group: 'menu-smart-art-group-cycle', type: Asc.c_oAscSmartArtTypes.gear1, tip: this.textGear},
{ 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
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.orgChart1, tip: this.textOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.nameandTitleOrganizationalChart, tip: this.textNameAndTitleOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.halfCircleOrganizationChart, tip: this.textHalfCircleOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.circlePictureHierarchy, tip: this.textCirclePictureHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.hierarchy1, tip: this.textHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.hierarchy6, tip: this.textLabeledHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.hierarchy4, tip: this.textTableHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.horizontalOrganizationChart, tip: this.textHorizontalOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.horizontalMultiLevelHierarchy, tip: this.textHorizontalMultiLevelHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.hierarchy2, tip: this.textHorizontalHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.hierarchy5, tip: this.textHorizontalLabeledHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.hierarchy3, tip: this.textHierarchyList},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscChartTypeSettings.linedList, tip: this.textLinedList},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.orgChart1, 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.halfCircleOrganizationChart, tip: this.textHalfCircleOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.circlePictureHierarchy, tip: this.textCirclePictureHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy1, tip: this.textHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy6, tip: this.textLabeledHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy4, tip: this.textTableHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.horizontalOrganizationChart, tip: this.textHorizontalOrganizationChart},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.horizontalMultiLevelHierarchy, tip: this.textHorizontalMultiLevelHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy2, tip: this.textHorizontalHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy5, tip: this.textHorizontalLabeledHierarchy},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.hierarchy3, tip: this.textHierarchyList},
{ group: 'menu-smart-art-group-hierarchy', type: Asc.c_oAscSmartArtTypes.linedList, tip: this.textLinedList},
// relationship
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.balance1, tip: this.textBalance},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.circleRelationship, tip: this.textCircleRelationship},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.funnel1, tip: this.textFunnel},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.gear1, tip: this.textGear},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.hexagonCluster, tip: this.textHexagonCluster},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.opposingIdeas, tip: this.textOpposingIdeas},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.plusandMinus, tip: this.textPlusAndMinus},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.reverseList, tip: this.textReverseList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.arrow6, tip: this.textArrowRibbon},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.arrow3, tip: this.textCounterbalanceArrows},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.arrow5, tip: this.textConvergingArrows},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.arrow1, tip: this.textDivergingArrows},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.arrow4, tip: this.textOpposingArrows},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.pyramid4, tip: this.textSegmentedPyramid},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.hierarchy4, tip: this.textTableHierarchy},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.target3, tip: this.textTargetList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.target2, tip: this.textNestedTarget},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.lProcess2, tip: this.textGroupedList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.hList7, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.hierarchy3, tip: this.textHierarchyList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.pictureAccentList, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.equation1, tip: this.textEquation},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.equation2, tip: this.textVerticalEquation},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.radial4, tip: this.textConvergingRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.radialCluster, tip: this.textRadialCluster},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.radial2, tip: this.textRadialList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.radial6, tip: this.textRadialCycle},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.radial1, tip: this.textBasicRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.radial5, tip: this.textDivergingRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.cycle6, tip: this.textNondirectionalCycle},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.target1, tip: this.textBasicTarget},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.cycle4, tip: this.textCycleMatrix},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.chart3, tip: this.textBasicPie},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.venn1, tip: this.textBasicVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.venn3, tip: this.textLinearVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.venn2, tip: this.textStackedVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscChartTypeSettings.radial3, tip: this.textRadialVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.balance1, 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.funnel1, 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.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.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.arrow6, 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.arrow5, 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.arrow4, 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.hierarchy4, 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.target2, tip: this.textNestedTarget},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.lProcess2, tip: this.textGroupedList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.hList7, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.hierarchy3, tip: this.textHierarchyList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.pictureAccentList, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.equation1, tip: this.textEquation},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.equation2, tip: this.textVerticalEquation},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial4, tip: this.textConvergingRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radialCluster, tip: this.textRadialCluster},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial2, tip: this.textRadialList},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial6, tip: this.textRadialCycle},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial1, tip: this.textBasicRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial5, tip: this.textDivergingRadial},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.cycle6, tip: this.textNondirectionalCycle},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.target1, tip: this.textBasicTarget},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.cycle4, tip: this.textCycleMatrix},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.chart3, tip: this.textBasicPie},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.venn1, tip: this.textBasicVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.venn3, tip: this.textLinearVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.venn2, tip: this.textStackedVenn},
{ group: 'menu-smart-art-group-relationship', type: Asc.c_oAscSmartArtTypes.radial3, tip: this.textRadialVenn},
// matrix
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscChartTypeSettings.matrix3, tip: this.textBasicMatrix},
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscChartTypeSettings.matrix1, tip: this.textTitledMatrix},
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscChartTypeSettings.matrix2, tip: this.textGridMatrix},
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscChartTypeSettings.cycle4, tip: this.textCycleMatrix},
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.matrix3, 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.matrix2, tip: this.textGridMatrix},
{ group: 'menu-smart-art-group-matrix', type: Asc.c_oAscSmartArtTypes.cycle4, tip: this.textCycleMatrix},
// pyramid
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscChartTypeSettings.pyramid1, tip: this.textBasicPyramid},
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscChartTypeSettings.pyramid3, tip: this.textInvertedPyramid},
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscChartTypeSettings.pyramid2, tip: this.textPyramidList},
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscChartTypeSettings.pyramid4, tip: this.textSegmentedPyramid},
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.pyramid1, 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.pyramid2, tip: this.textPyramidList},
{ group: 'menu-smart-art-group-pyramid', type: Asc.c_oAscSmartArtTypes.pyramid4, tip: this.textSegmentedPyramid},
// picture
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.accentedPicture, tip: this.textAccentedPicture},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.circularPictureCallout, tip: this.textCircularPictureCallout},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.pList1, tip: this.textPictureCaptionList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.snapshotPictureList, tip: this.textSnapshotPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.spiralPicture, tip: this.textSpiralPicture},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.captionedPictures, tip: this.textCaptionedPictures},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.bendingPictureCaption, tip: this.textBendingPictureCaption},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.bendingPictureSemiTransparentText, tip: this.textBendingPictureSemiTranparentText},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.bendingPictureBlocks, tip: this.textBendingPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.bendingPictureCaptionList, tip: this.textBendingPictureCaptionList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.titledPictureBlocks, tip: this.textTitledPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.pictureGrid, tip: this.textPictureGrid},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.pictureAccentBlocks, tip: this.textPictureAccentBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.pictureStrips, tip: this.textPictureStrips},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.pictureAccentList, tip: this.textTitledPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.alternatingPictureBlocks, tip: this.textAlternatingPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.ascendingPictureAccentProcess, tip: this.textAscendingPictureAccentProcess},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.alternatingPictureCircles, tip: this.textAlternatingPictureCircles},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.titlePictureLineup, tip: this.textTitlePictureLineup},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.pictureLineup, tip: this.textPictureLineup},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.framedTextPicture, tip: this.textFramedTextPicture},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.hexagonCluster, tip: this.textHexagonCluster},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.bubblePictureList, tip: this.textBubblePictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.circlePictureHierarchy, tip: this.textCirclePictureHierarchy},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.pList2, tip: this.textHorizontalPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.hList7, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.vList4, tip: this.textVerticalPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.vList3, tip: this.textVerticalPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.bList2, tip: this.textBendingPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.hList2, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscChartTypeSettings.hProcess10, tip: this.textPictureAccentProcess},
{ 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.pList1, 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.spiralPicture, tip: this.textSpiralPicture},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.captionedPictures, tip: this.textCaptionedPictures},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bendingPictureCaption, tip: this.textBendingPictureCaption},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bendingPictureSemiTransparentText, tip: this.textBendingPictureSemiTranparentText},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bendingPictureBlocks, tip: this.textBendingPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bendingPictureCaptionList, tip: this.textBendingPictureCaptionList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.titledPictureBlocks, tip: this.textTitledPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureGrid, tip: this.textPictureGrid},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureAccentBlocks, tip: this.textPictureAccentBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureStrips, tip: this.textPictureStrips},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureAccentList, tip: this.textTitledPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.alternatingPictureBlocks, tip: this.textAlternatingPictureBlocks},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.ascendingPictureAccentProcess, tip: this.textAscendingPictureAccentProcess},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.alternatingPictureCircles, tip: this.textAlternatingPictureCircles},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.titlePictureLineup, tip: this.textTitlePictureLineup},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pictureLineup, tip: this.textPictureLineup},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.framedTextPicture, tip: this.textFramedTextPicture},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.hexagonCluster, tip: this.textHexagonCluster},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bubblePictureList, tip: this.textBubblePictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.circlePictureHierarchy, tip: this.textCirclePictureHierarchy},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.pList2, tip: this.textHorizontalPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.hList7, tip: this.textContinuousPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.vList4, tip: this.textVerticalPictureList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.vList3, tip: this.textVerticalPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.bList2, tip: this.textBendingPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.hList2, tip: this.textPictureAccentList},
{ group: 'menu-smart-art-group-picture', type: Asc.c_oAscSmartArtTypes.hProcess10, tip: this.textPictureAccentProcess},
];
},
}

View file

@ -426,8 +426,8 @@ define([
Common.NotificationCenter.on('storage:image-load', _.bind(this.openImageFromStorage, this));
Common.NotificationCenter.on('storage:image-insert', _.bind(this.insertImageFromStorage, this));
Common.NotificationCenter.on('dropcap:settings', _.bind(this.onDropCapAdvancedClick, this));
this.api.asc_registerCallback('asc_onBeginSmartArtPreview', _.bind(this.onApiBeginSmartArtPreview, this));
this.api.asc_registerCallback('asc_onAddSmartArtPreview', _.bind(this.onApiAddSmartArtPreview, this));
this.api.asc_registerCallback('asc_onEndSmartArtPreview', _.bind(this.onApiEndSmartArtPreview, this));
} else if (this.mode.isRestrictedEdit) {
this.api.asc_registerCallback('asc_onFocusObject', _.bind(this.onApiFocusObjectRestrictedEdit, this));
this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onApiCoAuthoringDisconnect, this));
@ -3322,32 +3322,45 @@ define([
this.api.asc_generateSmartArtPreviews();
},
onApiAddSmartArtPreview: function (previews) {
if (!this.smartArtPreviewStore) {
this.smartArtPreviewStore = [];
}
previews.forEach(_.bind(function (preview) {
var name = preview.asc_getName();
this.smartArtPreviewStore.push({
name: name,
imageUrl: preview.asc_getImage(),
tip: name
});
}, this));
onApiBeginSmartArtPreview: function () {
this.smartArtGroups = this.toolbar.btnInsertSmartArt.menu.items;
this.smartArtItems = Common.define.smartArt.getSmartArtData();
},
onApiEndSmartArtPreview: function () {
//console.log('_____________');
//console.log('Asc.c_oAscSmartArtTypes', Asc.c_oAscSmartArtTypes);
//console.log('Asc.c_oAscSmartArtNameTypes', Asc.c_oAscSmartArtNameTypes);
var menuPicker = this.toolbar.btnInsertSmartArt.menu.items[0].menuPicker;
menuPicker.setStore(new Common.UI.DataViewStore(this.smartArtPreviewStore));
menuPicker.onResetItems();
console.log(this.smartArtPreviewStore);
console.log('end');
onApiAddSmartArtPreview: function (previews) {
previews.forEach(_.bind(function (preview) {
var me = this;
var items = _.where(this.smartArtItems, {type: Asc.c_oAscSmartArtTypes[preview.asc_getName()]});
items.forEach(function (item) {
var menu = _.findWhere(me.smartArtGroups, {value: item.group}).menuPicker,
arr = [{
tip: item.tip,
value: item.type,
imageUrl: preview.asc_getImage()
}];
if (menu.store.length < 1) {
menu.store.reset(arr);
} else {
menu.store.add(arr);
}
menu.onResetItems();
menu.on('item:click', function(picker, item, record, e) {
if (record) {
me.api.asc_createSmartArt(record.get('value'));
}
me.toolbar.btnInsertSmartArt.toggle(false, true);
if (me.toolbar.btnInsertText.pressed) {
me.toolbar.btnInsertText.toggle(false, true);
}
if (me.toolbar.btnInsertShape.pressed) {
me.toolbar.btnInsertShape.toggle(false, true);
}
if (e.type !== 'click')
me.toolbar.btnInsertSmartArt.menu.hide();
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
});
});
}, this));
},
textEmptyImgUrl : 'You need to specify image URL.',

View file

@ -2221,37 +2221,36 @@ define([
}));
var smartArtGroups = Common.define.smartArt.getSmartArtGroupData();
smartArtGroups.forEach(_.bind(function (item, index) {
this.btnInsertSmartArt.menu.addItem({
smartArtGroups.forEach(function (item, index) {
me.btnInsertSmartArt.menu.addItem({
caption: item.caption,
value: item.id,
menu: new Common.UI.Menu({
items: [
{template: _.template('<div id="' + item.id + '" class="menu-add-smart-art" style="width: 300px; height: 500px;"></div>')}
{template: _.template('<div id="' + item.id + '" class="menu-add-smart-art" style="width: 400px; height: 500px; margin-left: 5px;"></div>')}
],
menuAlign: 'tl-tr',
})});
console.log(this.btnInsertSmartArt.menu.items[index]);
this.btnInsertSmartArt.menu.items[index].menuPicker = new Common.UI.DataViewSimple({
el: $('#' + item.id),
parentMenu: this.btnInsertSmartArt.menu.items[index].menu,
itemTemplate: _.template([
'<div>',
'<img src="<%= imageUrl %>" width="' + 50 + '" height="' + 50 + '" + <% if(typeof imageUrl === "undefined" || imageUrl===null || imageUrl==="") { %> style="visibility: hidden;" <% } %>/>',
'</div>'
].join('')),
//store: new Common.UI.DataViewStore(),
delayRenderTips: true,
scrollAlwaysVisible: true
});
var onShowBeforeSmartArt = function (menu) { // + <% if(typeof imageUrl === "undefined" || imageUrl===null || imageUrl==="") { %> style="visibility: hidden;" <% } %>/>',
me.btnInsertSmartArt.menu.items.forEach(function (item, index) {
item.menuPicker = new Common.UI.DataViewSimple({
el: $('#' + item.value),
parentMenu: me.btnInsertSmartArt.menu.items[index].menu,
itemTemplate: _.template([
'<div>',
'<img src="<%= imageUrl %>" width="' + 70 + '" height="' + 70 + '" />',
'</div>'
].join('')),
store: new Common.UI.DataViewStore(),
delayRenderTips: true,
scrollAlwaysVisible: true
});
});
this.btnInsertSmartArt.menu.items[index].menuPicker.on('item:click', _.bind(function (picker, item, record, e) {
console.log(record.name);
}, this));
}, this));
$('#menu-smart-art-group-list').css('height', '700px');
this.fireEvent('generate:smartart');
me.fireEvent('generate:smartart');
menu.off('show:before', onShowBeforeSmartArt);
};
this.btnInsertSmartArt.menu.on('show:before', onShowBeforeSmartArt);
var onShowBeforeTextArt = function (menu) {
var collection = DE.getCollection('Common.Collections.TextArt');