{"version":3,"sources":["kendo.ooxml.js"],"names":["f","define","$","kendo","numChar","colIndex","letter","Math","floor","String","fromCharCode","ref","rowIndex","$ref","filterRowIndex","options","frozenRows","freezePane","rowSplit","toWidth","px","toHeight","stripFunnyChars","value","replace","convertColor","color","length","$0","$1","substring","toUpperCase","borderStyle","width","alias","borderSideTemplate","name","style","result","size","borderTemplate","border","left","right","top","bottom","inflate","rows","mergedCells","sorted","ctx","i","rowData","rowsByIndex","indexRows","row","index","data","_source","height","cells","push","sortByIndex","slice","fillCells","callback","items","sort","a","b","cell","rowSpan","colSpan","cellIndex","ri","nextRow","cellData","EMPTY_CELL","insertCell","spanCell","insertCellAt","appendCell","startIndex","tmp","borderTop","borderRight","borderBottom","borderLeft","RELS","CORE","template","APP","CONTENT_TYPES","WORKBOOK","WORKSHEET","WORKBOOK_RELS","WORKSHEET_RELS","SHARED_STRINGS","STYLES","DATE_EPOCH","Date","Worksheet","Class","extend","init","sharedStrings","styles","borders","this","_strings","_styles","_borders","relsToXML","hyperlinks","toXML","filter","mergeCells","_readCells","from","to","frozenColumns","colSplit","columns","defaults","showGridLines","_lookupString","key","indexes","undefined","uniqueCount","count","_lookupStyle","json","stringify","inArray","_lookupBorder","j","_cell","column","type","displayValue","offset","bold","background","italic","underline","fontFamily","fontName","fontSize","format","textAlign","hAlign","verticalAlign","vAlign","wrap","borderId","autoWidth","toString","max","getTime","getTimezoneOffset","date","MS_PER_MINUTE","MS_PER_DAY","formula","defaultFormats","General","0","0.00","#,##0","#,##0.00","0%","0.00%","0.00E+00","# ?/?","# ??/??","mm-dd-yy","d-mmm-yy","d-mmm","mmm-yy","h:mm AM/PM","h:mm:ss AM/PM","h:mm","h:mm:ss","m/d/yy h:mm","#,##0 ;(#,##0)","#,##0 ;[Red](#,##0)","#,##0.00;(#,##0.00)","#,##0.00;[Red](#,##0.00)","mm:ss","[h]:mm:ss","mmss.0","##0.0E+0","@","[$-404]e/m/d","m/d/yy","t0","t0.00","t#,##0","t#,##0.00","t0%","t0.00%","t# ?/?","t# ??/??","Workbook","_sheets","map","sheets","proxy","toDataURL","zip","docProps","sheetCount","rels","xl","xlRels","sheetIds","worksheets","sheetRels","idx","sheet","sheetName","relsXml","hasFont","fonts","formats","fills","JSZip","Error","folder","file","creator","lastModifiedBy","created","toJSON","modified","filterNames","title","toLowerCase","localSheetId","userNames","names","def","localName","hidden","parseJSON","fontId","fillId","numFmtId","generate","compression","ooxml","jQuery","amd","a1","a2","a3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;CAwBC,SAAUA,EAAGC,QACVA,OAAO,eAAgB,cAAeD,IACxC,WA4gBE,MApgBC,UAAUE,EAAGC,GAWV,QAASC,GAAQC,GACb,GAAIC,GAASC,KAAKC,MAAMH,EAAW,IAAM,CACzC,QAAQC,GAAU,EAAIF,EAAQE,GAAU,IAAMG,OAAOC,aAAa,GAAKL,EAAW,IAEtF,QAASM,GAAIC,EAAUP,GACnB,MAAOD,GAAQC,IAAaO,EAAW,GAE3C,QAASC,GAAKD,EAAUP,GACpB,MAAOD,GAAQC,GAAY,KAAOO,EAAW,GAEjD,QAASE,GAAeC,GACpB,GAAIC,GAAaD,EAAQC,aAAeD,EAAQE,gBAAkBC,UAAY,CAC9E,OAAOF,GAAa,EAExB,QAASG,GAAQC,GACb,OAAQA,EAAK,EAAI,IAAM,IAAO,IAElC,QAASC,GAASD,GACd,MAAY,IAALA,EAEX,QAASE,GAAgBC,GACrB,OAAQA,EAAQ,IAAIC,QAAQ,eAAgB,IAAIA,QAAQ,MAAO,QA2MnE,QAASC,GAAaC,GAUlB,MATIA,GAAMC,OAAS,IACfD,EAAQA,EAAMF,QAAQ,QAAS,SAAUI,EAAIC,GACzC,MAAOA,GAAKA,KAGpBH,EAAQA,EAAMI,UAAU,GAAGC,cACvBL,EAAMC,OAAS,IACfD,EAAQ,KAAOA,GAEZA,EAiIX,QAASM,GAAYC,GACjB,GAAIC,GAAQ,MAMZ,OALc,KAAVD,EACAC,EAAQ,SACS,IAAVD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AE9C5L,EAAOgH,UAAYjH,EAAMiH,UACzBhH,EAAOkH,cAAgBnH,EAAMmH,cAC7BlH,EAAOoH,KAAOrH,EAAMqH,KACpBpH,EAAOqH,SAAWtH,EAAMsH,SACpBtH,EAAMgH,SAEF/G,EAAOkN,SAD0BxH,SAAjCqC,EAAehI,EAAMgH,QACHgB,EAAehI,EAAMgH,QAErB,IAAMnJ,EAAEoI,QAAQjG,EAAO4L,IAG1C3L,OAGfgL,EAAGgB,KAAK,oBAAqBrI,EAAeW,KAAKC,WACjDqG,EAAIoB,KAAK,sBAAuB1I,GAAgBsC,MAAOkF,KAChD,iFAAmFF,EAAIuC,UAAWC,YAAa,eA0B1H7K,IA+GJ1E,GAAMwP,OACF/C,SAAUA,EACVvG,UAAWA,EACXlF,QAASA,EACTE,SAAUA,EACVmB,eAAgBA,IAEtBrC,MAAMyP,OAAQzP,OACTA,OACS,kBAAVF,SAAwBA,OAAO4P,IAAM5P,OAAS,SAAU6P,EAAIC,EAAIC,IACrEA,GAAMD","file":"kendo.ooxml.min.js","sourcesContent":["/*!\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n*/\n(function (f, define) {\n define('kendo.ooxml', ['kendo.core'], f);\n}(function () {\n var __meta__ = {\n id: 'ooxml',\n name: 'XLSX generation',\n category: 'framework',\n advanced: true,\n depends: ['core']\n };\n (function ($, kendo) {\n var RELS = '\\r\\n' + '' + '' + '' + '' + '';\n var CORE = kendo.template('\\r\\n' + '' + '${creator}' + '${lastModifiedBy}' + '${created}' + '${modified}' + '');\n var APP = kendo.template('\\r\\n' + '' + 'Microsoft Excel' + '0' + 'false' + '' + '' + '' + 'Worksheets' + '' + '' + '${sheets.length}' + '' + '' + '' + '' + '' + '# for (var idx = 0; idx < sheets.length; idx++) { #' + '# if (sheets[idx].options.title) { #' + '${sheets[idx].options.title}' + '# } else { #' + 'Sheet${idx+1}' + '# } #' + '# } #' + '' + '' + 'false' + 'false' + 'false' + '14.0300' + '');\n var CONTENT_TYPES = kendo.template('\\r\\n' + '' + '' + '' + '' + '' + '' + '# for (var idx = 1; idx <= count; idx++) { #' + '' + '# } #' + '' + '' + '');\n var WORKBOOK = kendo.template('\\r\\n' + '' + '' + '' + '' + '' + '' + '' + '# for (var idx = 0; idx < sheets.length; idx++) { #' + '# var options = sheets[idx].options; #' + '# var name = options.name || options.title #' + '# if (name) { #' + '' + '# } else { #' + '' + '# } #' + '# } #' + '' + '# if (filterNames.length || userNames.length) { #' + '' + ' # for (var di = 0; di < filterNames.length; di++) { #' + '' + '${filterNames[di].name}!$${filterNames[di].from}:$${filterNames[di].to}' + '' + ' # } #' + ' # for (var i = 0; i < userNames.length; ++i) { #' + '${userNames[i].value}' + ' # } #' + '' + '# } #' + '' + '');\n var WORKSHEET = kendo.template('\\r\\n' + '' + '' + '' + '' + '# if (frozenRows || frozenColumns) { #' + '' + '# } #' + '' + '' + '' + '# if (columns && columns.length > 0) { #' + '' + '# for (var ci = 0; ci < columns.length; ci++) { #' + '# var column = columns[ci]; #' + '# var columnIndex = typeof column.index === \"number\" ? column.index + 1 : (ci + 1); #' + '# if (column.width === 0) { #' + '' + '# } else if (column.width) { #' + '' + '# } #' + '# } #' + '' + '# } #' + '' + '# for (var ri = 0; ri < data.length; ri++) { #' + '# var row = data[ri]; #' + '# var rowIndex = typeof row.index === \"number\" ? row.index + 1 : (ri + 1); #' + '' + '# for (var ci = 0; ci < row.data.length; ci++) { #' + '# var cell = row.data[ci];#' + '' + '# if (cell.formula != null) { #' + '${cell.formula}' + '# } #' + '# if (cell.value != null) { #' + '${cell.value}' + '# } #' + '' + '# } #' + '
' + '# } #' + '' + '# if (hyperlinks.length) { #' + '' + '# for (var hi = 0; hi < hyperlinks.length; hi++) { #' + '' + '# } #' + '' + '# } #' + '# if (filter) { #' + '' + '# } #' + '# if (mergeCells.length) { #' + '' + '# for (var ci = 0; ci < mergeCells.length; ci++) { #' + '' + '# } #' + '' + '# } #' + '' + '');\n var WORKBOOK_RELS = kendo.template('\\r\\n' + '' + '# for (var idx = 1; idx <= count; idx++) { #' + '' + '# } #' + '' + '' + '');\n var WORKSHEET_RELS = kendo.template('\\r\\n' + '' + '# for (var i = 0; i < hyperlinks.length; i++) { #' + '' + '# } #' + '');\n var SHARED_STRINGS = kendo.template('\\r\\n' + '' + '# for (var index in indexes) { #' + '${index.substring(1)}' + '# } #' + '');\n var STYLES = kendo.template('' + '' + '' + '# for (var fi = 0; fi < formats.length; fi++) { #' + '# var format = formats[fi]; #' + '' + '# } #' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '# for (var fi = 0; fi < fonts.length; fi++) { #' + '# var font = fonts[fi]; #' + '' + '# if (font.fontSize) { #' + '' + '# } else { #' + '' + '# } #' + '# if (font.bold) { #' + '' + '# } #' + '# if (font.italic) { #' + '' + '# } #' + '# if (font.underline) { #' + '' + '# } #' + '# if (font.color) { #' + '' + '# } else { #' + '' + '# } #' + '# if (font.fontFamily) { #' + '' + '' + '# } else { #' + '' + '' + '' + '# } #' + '' + '# } #' + '' + '' + '' + '' + '# for (var fi = 0; fi < fills.length; fi++) { #' + '# var fill = fills[fi]; #' + '# if (fill.background) { #' + '' + '' + '' + '' + '' + '# } #' + '# } #' + '' + '' + '' + '# for (var bi = 0; bi < borders.length; bi++) { #' + '#= kendo.ooxml.borderTemplate(borders[bi]) #' + '# } #' + '' + '' + '' + '' + '' + '' + '# for (var si = 0; si < styles.length; si++) { #' + '# var style = styles[si]; #' + '' + '# if (style.textAlign || style.verticalAlign || style.wrap) { #' + '' + '# } #' + '' + '# } #' + '' + '' + '' + '' + '' + '' + '');\n function numChar(colIndex) {\n var letter = Math.floor(colIndex / 26) - 1;\n return (letter >= 0 ? numChar(letter) : '') + String.fromCharCode(65 + colIndex % 26);\n }\n function ref(rowIndex, colIndex) {\n return numChar(colIndex) + (rowIndex + 1);\n }\n function $ref(rowIndex, colIndex) {\n return numChar(colIndex) + '$' + (rowIndex + 1);\n }\n function filterRowIndex(options) {\n var frozenRows = options.frozenRows || (options.freezePane || {}).rowSplit || 1;\n return frozenRows - 1;\n }\n function toWidth(px) {\n return (px / 7 * 100 + 0.5) / 100;\n }\n function toHeight(px) {\n return px * 0.75;\n }\n function stripFunnyChars(value) {\n return (value + '').replace(/[\\x00-\\x08]/g, '').replace(/\\n/g, '\\r\\n');\n }\n var DATE_EPOCH = new Date(1900, 0, 0);\n var Worksheet = kendo.Class.extend({\n init: function (options, sharedStrings, styles, borders) {\n this.options = options;\n this._strings = sharedStrings;\n this._styles = styles;\n this._borders = borders;\n },\n relsToXML: function () {\n var hyperlinks = this.options.hyperlinks || [];\n if (!hyperlinks.length) {\n return '';\n }\n return WORKSHEET_RELS({ hyperlinks: hyperlinks });\n },\n toXML: function (index) {\n var mergeCells = this.options.mergedCells || [];\n var rows = this.options.rows || [];\n var data = inflate(rows, mergeCells);\n this._readCells(data);\n var filter = this.options.filter;\n if (filter && typeof filter.from === 'number' && typeof filter.to === 'number') {\n filter = {\n from: ref(filterRowIndex(this.options), filter.from),\n to: ref(filterRowIndex(this.options), filter.to)\n };\n }\n var freezePane = this.options.freezePane || {};\n return WORKSHEET({\n frozenColumns: this.options.frozenColumns || freezePane.colSplit,\n frozenRows: this.options.frozenRows || freezePane.rowSplit,\n columns: this.options.columns,\n defaults: this.options.defaults || {},\n data: data,\n index: index,\n mergeCells: mergeCells,\n filter: filter,\n showGridLines: this.options.showGridLines,\n hyperlinks: this.options.hyperlinks || []\n });\n },\n _lookupString: function (value) {\n var key = '$' + value;\n var index = this._strings.indexes[key];\n if (index !== undefined) {\n value = index;\n } else {\n value = this._strings.indexes[key] = this._strings.uniqueCount;\n this._strings.uniqueCount++;\n }\n this._strings.count++;\n return value;\n },\n _lookupStyle: function (style) {\n var json = kendo.stringify(style);\n if (json == '{}') {\n return 0;\n }\n var index = $.inArray(json, this._styles);\n if (index < 0) {\n index = this._styles.push(json) - 1;\n }\n return index + 1;\n },\n _lookupBorder: function (border) {\n var json = kendo.stringify(border);\n if (json == '{}') {\n return;\n }\n var index = $.inArray(json, this._borders);\n if (index < 0) {\n index = this._borders.push(json) - 1;\n }\n return index + 1;\n },\n _readCells: function (rowData) {\n for (var i = 0; i < rowData.length; i++) {\n var row = rowData[i];\n var cells = row.cells;\n row.data = [];\n for (var j = 0; j < cells.length; j++) {\n var cellData = this._cell(cells[j], row.index, j);\n if (cellData) {\n row.data.push(cellData);\n }\n }\n }\n },\n _cell: function (data, rowIndex, cellIndex) {\n if (!data || data === EMPTY_CELL) {\n return null;\n }\n var value = data.value;\n var border = {};\n if (data.borderLeft) {\n border.left = data.borderLeft;\n }\n if (data.borderRight) {\n border.right = data.borderRight;\n }\n if (data.borderTop) {\n border.top = data.borderTop;\n }\n if (data.borderBottom) {\n border.bottom = data.borderBottom;\n }\n border = this._lookupBorder(border);\n var style = {\n bold: data.bold,\n color: data.color,\n background: data.background,\n italic: data.italic,\n underline: data.underline,\n fontFamily: data.fontFamily || data.fontName,\n fontSize: data.fontSize,\n format: data.format,\n textAlign: data.textAlign || data.hAlign,\n verticalAlign: data.verticalAlign || data.vAlign,\n wrap: data.wrap,\n borderId: border\n };\n var columns = this.options.columns || [];\n var column = columns[cellIndex];\n var type = typeof value;\n if (column && column.autoWidth) {\n var displayValue = value;\n if (type === 'number') {\n displayValue = kendo.toString(value, data.format);\n }\n column.width = Math.max(column.width || 0, (displayValue + '').length);\n }\n if (type === 'string') {\n value = stripFunnyChars(value);\n value = this._lookupString(value);\n type = 's';\n } else if (type === 'number') {\n type = 'n';\n } else if (type === 'boolean') {\n type = 'b';\n value = +value;\n } else if (value && value.getTime) {\n type = null;\n var offset = (value.getTimezoneOffset() - DATE_EPOCH.getTimezoneOffset()) * kendo.date.MS_PER_MINUTE;\n value = (value - DATE_EPOCH - offset) / kendo.date.MS_PER_DAY + 1;\n if (!style.format) {\n style.format = 'mm-dd-yy';\n }\n } else {\n type = null;\n value = null;\n }\n style = this._lookupStyle(style);\n return {\n value: value,\n formula: data.formula,\n type: type,\n style: style,\n ref: ref(rowIndex, cellIndex)\n };\n }\n });\n var defaultFormats = {\n 'General': 0,\n '0': 1,\n '0.00': 2,\n '#,##0': 3,\n '#,##0.00': 4,\n '0%': 9,\n '0.00%': 10,\n '0.00E+00': 11,\n '# ?/?': 12,\n '# ??/??': 13,\n 'mm-dd-yy': 14,\n 'd-mmm-yy': 15,\n 'd-mmm': 16,\n 'mmm-yy': 17,\n 'h:mm AM/PM': 18,\n 'h:mm:ss AM/PM': 19,\n 'h:mm': 20,\n 'h:mm:ss': 21,\n 'm/d/yy h:mm': 22,\n '#,##0 ;(#,##0)': 37,\n '#,##0 ;[Red](#,##0)': 38,\n '#,##0.00;(#,##0.00)': 39,\n '#,##0.00;[Red](#,##0.00)': 40,\n 'mm:ss': 45,\n '[h]:mm:ss': 46,\n 'mmss.0': 47,\n '##0.0E+0': 48,\n '@': 49,\n '[$-404]e/m/d': 27,\n 'm/d/yy': 30,\n 't0': 59,\n 't0.00': 60,\n 't#,##0': 61,\n 't#,##0.00': 62,\n 't0%': 67,\n 't0.00%': 68,\n 't# ?/?': 69,\n 't# ??/??': 70\n };\n function convertColor(color) {\n if (color.length < 6) {\n color = color.replace(/(\\w)/g, function ($0, $1) {\n return $1 + $1;\n });\n }\n color = color.substring(1).toUpperCase();\n if (color.length < 8) {\n color = 'FF' + color;\n }\n return color;\n }\n var Workbook = kendo.Class.extend({\n init: function (options) {\n this.options = options || {};\n this._strings = {\n indexes: {},\n count: 0,\n uniqueCount: 0\n };\n this._styles = [];\n this._borders = [];\n this._sheets = $.map(this.options.sheets || [], $.proxy(function (options) {\n options.defaults = this.options;\n return new Worksheet(options, this._strings, this._styles, this._borders);\n }, this));\n },\n toDataURL: function () {\n if (typeof JSZip === 'undefined') {\n throw new Error('JSZip not found. Check http://docs.telerik.com/kendo-ui/framework/excel/introduction#requirements for more details.');\n }\n var zip = new JSZip();\n var docProps = zip.folder('docProps');\n docProps.file('core.xml', CORE({\n creator: this.options.creator || 'Kendo UI',\n lastModifiedBy: this.options.creator || 'Kendo UI',\n created: this.options.date || new Date().toJSON(),\n modified: this.options.date || new Date().toJSON()\n }));\n var sheetCount = this._sheets.length;\n docProps.file('app.xml', APP({ sheets: this._sheets }));\n var rels = zip.folder('_rels');\n rels.file('.rels', RELS);\n var xl = zip.folder('xl');\n var xlRels = xl.folder('_rels');\n xlRels.file('workbook.xml.rels', WORKBOOK_RELS({ count: sheetCount }));\n var sheetIds = {};\n xl.file('workbook.xml', WORKBOOK({\n sheets: this._sheets,\n filterNames: $.map(this._sheets, function (sheet, index) {\n var options = sheet.options;\n var sheetName = options.name || options.title || 'Sheet' + (index + 1);\n sheetIds[sheetName.toLowerCase()] = index;\n var filter = options.filter;\n if (filter && typeof filter.from !== 'undefined' && typeof filter.to !== 'undefined') {\n return {\n localSheetId: index,\n name: sheetName,\n from: $ref(filterRowIndex(options), filter.from),\n to: $ref(filterRowIndex(options), filter.to)\n };\n }\n }),\n userNames: $.map(this.options.names || [], function (def) {\n return {\n name: def.localName,\n localSheetId: def.sheet ? sheetIds[def.sheet.toLowerCase()] : null,\n value: def.value,\n hidden: def.hidden\n };\n })\n }));\n var worksheets = xl.folder('worksheets');\n var sheetRels = worksheets.folder('_rels');\n for (var idx = 0; idx < sheetCount; idx++) {\n var sheet = this._sheets[idx];\n var sheetName = kendo.format('sheet{0}.xml', idx + 1);\n var relsXml = sheet.relsToXML();\n if (relsXml) {\n sheetRels.file(sheetName + '.rels', relsXml);\n }\n worksheets.file(sheetName, sheet.toXML(idx));\n }\n var borders = $.map(this._borders, $.parseJSON);\n var styles = $.map(this._styles, $.parseJSON);\n var hasFont = function (style) {\n return style.underline || style.bold || style.italic || style.color || style.fontFamily || style.fontSize;\n };\n var fonts = $.map(styles, function (style) {\n if (style.color) {\n style.color = convertColor(style.color);\n }\n if (hasFont(style)) {\n return style;\n }\n });\n var formats = $.map(styles, function (style) {\n if (style.format && defaultFormats[style.format] === undefined) {\n return style;\n }\n });\n var fills = $.map(styles, function (style) {\n if (style.background) {\n style.background = convertColor(style.background);\n return style;\n }\n });\n xl.file('styles.xml', STYLES({\n fonts: fonts,\n fills: fills,\n formats: formats,\n borders: borders,\n styles: $.map(styles, function (style) {\n var result = {};\n if (hasFont(style)) {\n result.fontId = $.inArray(style, fonts) + 1;\n }\n if (style.background) {\n result.fillId = $.inArray(style, fills) + 2;\n }\n result.textAlign = style.textAlign;\n result.verticalAlign = style.verticalAlign;\n result.wrap = style.wrap;\n result.borderId = style.borderId;\n if (style.format) {\n if (defaultFormats[style.format] !== undefined) {\n result.numFmtId = defaultFormats[style.format];\n } else {\n result.numFmtId = 165 + $.inArray(style, formats);\n }\n }\n return result;\n })\n }));\n xl.file('sharedStrings.xml', SHARED_STRINGS(this._strings));\n zip.file('[Content_Types].xml', CONTENT_TYPES({ count: sheetCount }));\n return 'data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,' + zip.generate({ compression: 'DEFLATE' });\n }\n });\n function borderStyle(width) {\n var alias = 'thin';\n if (width === 2) {\n alias = 'medium';\n } else if (width === 3) {\n alias = 'thick';\n }\n return alias;\n }\n function borderSideTemplate(name, style) {\n var result = '';\n if (style) {\n result += '<' + name + ' style=\"' + borderStyle(style.size) + '\">';\n if (style.color) {\n result += '';\n }\n result += '' + name + '>';\n }\n return result;\n }\n function borderTemplate(border) {\n return '' + borderSideTemplate('left', border.left) + borderSideTemplate('right', border.right) + borderSideTemplate('top', border.top) + borderSideTemplate('bottom', border.bottom) + '';\n }\n var EMPTY_CELL = {};\n function inflate(rows, mergedCells) {\n var rowData = [];\n var rowsByIndex = [];\n indexRows(rows, function (row, index) {\n var data = {\n _source: row,\n index: index,\n height: row.height,\n cells: []\n };\n rowData.push(data);\n rowsByIndex[index] = data;\n });\n var sorted = sortByIndex(rowData).slice(0);\n var ctx = {\n rowData: rowData,\n rowsByIndex: rowsByIndex,\n mergedCells: mergedCells\n };\n for (var i = 0; i < sorted.length; i++) {\n fillCells(sorted[i], ctx);\n delete sorted[i]._source;\n }\n return sortByIndex(rowData);\n }\n function indexRows(rows, callback) {\n for (var i = 0; i < rows.length; i++) {\n var row = rows[i];\n if (!row) {\n continue;\n }\n var index = row.index;\n if (typeof index !== 'number') {\n index = i;\n }\n callback(row, index);\n }\n }\n function sortByIndex(items) {\n return items.sort(function (a, b) {\n return a.index - b.index;\n });\n }\n function fillCells(data, ctx) {\n var row = data._source;\n var rowIndex = data.index;\n var cells = row.cells;\n var cellData = data.cells;\n if (!cells) {\n return;\n }\n for (var i = 0; i < cells.length; i++) {\n var cell = cells[i] || EMPTY_CELL;\n var rowSpan = cell.rowSpan || 1;\n var colSpan = cell.colSpan || 1;\n var cellIndex = insertCell(cellData, cell);\n spanCell(cell, cellData, cellIndex, colSpan);\n if (rowSpan > 1 || colSpan > 1) {\n ctx.mergedCells.push(ref(rowIndex, cellIndex) + ':' + ref(rowIndex + rowSpan - 1, cellIndex + colSpan - 1));\n }\n if (rowSpan > 1) {\n for (var ri = rowIndex + 1; ri < rowIndex + rowSpan; ri++) {\n var nextRow = ctx.rowsByIndex[ri];\n if (!nextRow) {\n nextRow = ctx.rowsByIndex[ri] = {\n index: ri,\n cells: []\n };\n ctx.rowData.push(nextRow);\n }\n spanCell(cell, nextRow.cells, cellIndex - 1, colSpan + 1);\n }\n }\n }\n }\n function insertCell(data, cell) {\n var index;\n if (typeof cell.index === 'number') {\n index = cell.index;\n insertCellAt(data, cell, cell.index);\n } else {\n index = appendCell(data, cell);\n }\n return index;\n }\n function insertCellAt(data, cell, index) {\n data[index] = cell;\n }\n function appendCell(data, cell) {\n var index = data.length;\n for (var i = 0; i < data.length + 1; i++) {\n if (!data[i]) {\n data[i] = cell;\n index = i;\n break;\n }\n }\n return index;\n }\n function spanCell(cell, row, startIndex, colSpan) {\n for (var i = 1; i < colSpan; i++) {\n var tmp = {\n borderTop: cell.borderTop,\n borderRight: cell.borderRight,\n borderBottom: cell.borderBottom,\n borderLeft: cell.borderLeft\n };\n insertCellAt(row, tmp, startIndex + i);\n }\n }\n kendo.ooxml = {\n Workbook: Workbook,\n Worksheet: Worksheet,\n toWidth: toWidth,\n toHeight: toHeight,\n borderTemplate: borderTemplate\n };\n }(kendo.jQuery, kendo));\n return kendo;\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n (a3 || a2)();\n}));"],"sourceRoot":"/source/"}