{"size": 13918, "ext": "js", "max_stars_repo_path": "src/RatTracker.Web/wwwroot/libs/kendo/js/kendo.spreadsheet.min.js", "max_stars_repo_name": "kfrancis/ratTracker", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/RatTracker.Web/wwwroot/libs/kendo/js/kendo.spreadsheet.min.js", "max_issues_repo_name": "kfrancis/ratTracker", "max_issues_repo_issues_event_min_datetime": "2022-01-05T01:11:44.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-05T01:13:09.000Z", "max_forks_repo_path": "src/RatTracker.Web/wwwroot/libs/kendo/js/kendo.spreadsheet.min.js", "max_forks_repo_name": "kfrancis/ratTracker", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 13918.0, "max_line_length": 13918, "alphanum_fraction": 0.7672797816}
module.exports=function(e){function t(r){if(o[r])return o[r].exports;var i=o[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}({0:function(e,t,o){e.exports=o(1415)},3:function(e,t){e.exports=function(){throw Error("define cannot be used indirect")}},1212:function(e,t){e.exports=require("./util/undoredostack")},1277:function(e,t){e.exports=require("./kendo.pdf")},1295:function(e,t){e.exports=require("./kendo.excel")},1297:function(e,t){e.exports=require("./kendo.progressbar")},1415:function(e,t,o){var r,i,n;!function(s,define){i=[o(1212),o(1417),o(1418),o(1295),o(1297),o(1277),o(1419),o(1420),o(1421),o(1422),o(1423),o(1424),o(1425),o(1426),o(1427),o(1428),o(1429),o(1430),o(1431),o(1432),o(1433),o(1416),o(1434),o(1435),o(1436),o(1437),o(1438),o(1439),o(1440),o(1441),o(1442),o(1443),o(1444),o(1445),o(1446),o(1447),o(1448),o(1449),o(1450),o(1451),o(1452),o(1453)],r=s,n="function"==typeof r?r.apply(t,i):r,!(void 0!==n&&(e.exports=n))}(function(){return function(e,t){var o,r,i,n,s,h,a,u,d,k;e.support.browser.msie&&e.support.browser.version<9||(o=e.jQuery,r=o.extend({F10:121,F11:122,B:66,I:73,U:85,N:78,H:72,A:65,PAGEDOWN:34,PAGEUP:33,DELETE:46,R:82},e.keys),i=e.ui.Widget,n=e.spreadsheet.Workbook,s=e.spreadsheet.Controller,h=e.spreadsheet.View,a=".kendoSpreadsheet",u={recalc:!0,selection:!0,activeCell:!0,layout:!0,sheetSelection:!0,resize:!0,editorChange:!1,editorClose:!1},d={wrapper:"k-widget k-spreadsheet"},k=e.ui.Widget.extend({init:function(e,t){i.fn.init.call(this,e,t),this.element.addClass(k.classNames.wrapper),this._view=new h(this.element,{messages:this.options.messages.view,toolbar:this.options.toolbar,sheetsbar:this.options.sheetsbar}),this._workbook=new n(this.options,this._view),this._controller=new s(this._view,this._workbook),this._autoRefresh=!0,this._bindWorkbookEvents(),this._view.workbook(this._workbook),this._view.enableClipboard(!1),this.refresh(),this._view.enableClipboard(!0),this._resizeHandler=function(){this.resize()}.bind(this),o(window).on("resize"+a,this._resizeHandler),this.element.on("keydown"+a,this._keyDown.bind(this))},_keyDown:function(e){var i,n=e.keyCode,s=o(".k-spreadsheet-quick-access-toolbar [title=Redo]");if(n===r.F11&&e.shiftKey)return this._view.sheetsbar._onAddSelect(),e.preventDefault(),t;if(e.altKey&&n===r.PAGEDOWN)this._view.sheetsbar.trigger("select",{name:this._view.sheetsbar._sheets[this._view.sheetsbar._selectedIndex+1].name(),isAddButton:!1});else if(e.altKey&&n===r.PAGEUP)this._view.sheetsbar.trigger("select",{name:this._view.sheetsbar._sheets[this._view.sheetsbar._selectedIndex-1].name(),isAddButton:!1});else{if(e.altKey&&n===r.DELETE)return i=function(e){var t=e.sender;t.isConfirmed()&&this._view.sheetsbar.trigger("remove",{name:this.activeSheet()._name(),confirmation:!0})}.bind(this),this._view.sheetsbar._openDialog("confirmation",{close:i}),e.preventDefault(),t;if(e.altKey&&n===r.R)return this._view.sheetsbar._createEditor(),e.preventDefault(),t;if(n===r.F10&&this._view.tabstrip||n===r.TAB&&!e.shiftKey&&o(document.activeElement).is(s))return this._view.tabstrip.toolbars[this._view.tabstrip.element.find("li.k-state-active").text().toLowerCase()].element.find(":not(.k-overflow-anchor):kendoFocusable").first().trigger("focus"),this._view.tabstrip.toolbars[this._view.tabstrip.element.find("li.k-state-active").text().toLowerCase()].element.find(".k-toolbar-first-visible").addClass("k-state-focused"),e.preventDefault(),t;if(e.ctrlKey&&n===r.B)o("[data-tool=bold]")[0].click();else if(e.ctrlKey&&n===r.I)o("[data-tool=italic]")[0].click();else if(e.ctrlKey&&n===r.U)o("[data-tool=underline]")[0].click();else{if(e.altKey&&n===r.H)return this._view.tabstrip.select(0),e.preventDefault(),t;if(e.altKey&&n===r.N)return this._view.tabstrip.select(1),e.preventDefault(),t;if(e.altKey&&n===r.A)return this._view.tabstrip.select(2),e.preventDefault(),t}}},_resize:function(){this.refresh({layout:!0})},_workbookChanging:function(e){this.trigger("changing",e)&&e.preventDefault()},_workbookChange:function(t){if(this._autoRefresh&&this.refresh(t),t.recalc&&t.ref){var o=t.range||new e.spreadsheet.Range(t.ref,this.activeSheet());this.trigger("change",{range:o})}},_workbookCut:function(e){this.trigger("cut",e)},_workbookCopy:function(e){this.trigger("copy",e)},_workbookPaste:function(e){this.trigger("paste",e)},activeSheet:function(e){return this._workbook.activeSheet(e)},moveSheetToIndex:function(e,t){return this._workbook.moveSheetToIndex(e,t)},insertSheet:function(e){return this._workbook.insertSheet(e)},sheets:function(){return this._workbook.sheets()},removeSheet:function(e){return this._workbook.removeSheet(e)},sheetByName:function(e){return this._workbook.sheetByName(e)},sheetIndex:function(e){return this._workbook.sheetIndex(e)},sheetByIndex:function(e){return this._workbook.sheetByIndex(e)},renameSheet:function(e,t){return this._workbook.renameSheet(e,t)},refresh:function(e){return e||(e=u),e.editorClose||(this._view.sheet(this._workbook.activeSheet()),this._controller.sheet(this._workbook.activeSheet()),this._workbook.refresh(e)),e.editorChange||(this._view.refresh(e),this._controller.refresh(),this._view.render(e),this.trigger("render")),this},openDialog:function(e,t){return this._view.openDialog(e,t)},autoRefresh:function(e){return e!==t?(this._autoRefresh=e,e===!0&&this.refresh(),this):this._autoRefresh},toJSON:function(){return this._workbook.toJSON()},fromJSON:function(e){e.sheets?(this._workbook.destroy(),this._workbook=new n(o.extend({},this.options,e)),this._bindWorkbookEvents(),this._view.workbook(this._workbook),this._controller.workbook(this._workbook),this.activeSheet(this.activeSheet())):this.refresh()},saveJSON:function(){return this._workbook.saveJSON()},fromFile:function(e,t){return this._workbook.fromFile(e,t)},saveAsPDF:function(e){this._workbook.saveAsPDF(o.extend({},this.options.pdf,e,{workbook:this._workbook}))},saveAsExcel:function(e){this._workbook.saveAsExcel(e)},draw:function(e,t){this._workbook.draw(e,t)},_workbookExcelExport:function(e){this.trigger("excelExport",e)&&e.preventDefault()},_workbookExcelImport:function(e){this.trigger("excelImport",e)?e.preventDefault():this._initProgress(e.promise)},_initProgress:function(t){var r=o("<div class='k-loading-mask' style='width: 100%; height: 100%; top: 0;'><div class='k-loading-color'></div></div>").appendTo(this.element),i=o("<div class='k-loading-progress'>").appendTo(r).kendoProgressBar({type:"chunk",chunkCount:10,min:0,max:1,value:0}).data("kendoProgressBar");t.progress(function(e){i.value(e.progress)}).always(function(){e.destroy(r),r.remove()})},_workbookPdfExport:function(e){this.trigger("pdfExport",e)&&e.preventDefault()},_workbookInsertSheet:function(e){this.trigger("insertSheet",e)&&e.preventDefault()},_workbookRemoveSheet:function(e){this.trigger("removeSheet",e)&&e.preventDefault()},_workbookSelectSheet:function(e){this.trigger("selectSheet",e)&&e.preventDefault()},_workbookRenameSheet:function(e){this.trigger("renameSheet",e)&&e.preventDefault()},_workbookInsertRow:function(e){this.trigger("insertRow",e)&&e.preventDefault()},_workbookInsertColumn:function(e){this.trigger("insertColumn",e)&&e.preventDefault()},_workbookDeleteRow:function(e){this.trigger("deleteRow",e)&&e.preventDefault()},_workbookDeleteColumn:function(e){this.trigger("deleteColumn",e)&&e.preventDefault()},_workbookHideRow:function(e){this.trigger("hideRow",e)&&e.preventDefault()},_workbookHideColumn:function(e){this.trigger("hideColumn",e)&&e.preventDefault()},_workbookUnhideRow:function(e){this.trigger("unhideRow",e)&&e.preventDefault()},_workbookUnhideColumn:function(e){this.trigger("unhideColumn",e)&&e.preventDefault()},_workbookSelect:function(e){this.trigger("select",e)},_workbookChangeFormat:function(e){this.trigger("changeFormat",e)},_workbookDataBinding:function(e){this.trigger("dataBinding",e)&&e.preventDefault()},_workbookDataBound:function(e){this.trigger("dataBound",e)},_workbookProgress:function(t){e.ui.progress(this.element,t.toggle)},_bindWorkbookEvents:function(){this._workbook.bind("cut",this._workbookCut.bind(this)),this._workbook.bind("copy",this._workbookCopy.bind(this)),this._workbook.bind("paste",this._workbookPaste.bind(this)),this._workbook.bind("changing",this._workbookChanging.bind(this)),this._workbook.bind("change",this._workbookChange.bind(this)),this._workbook.bind("excelExport",this._workbookExcelExport.bind(this)),this._workbook.bind("excelImport",this._workbookExcelImport.bind(this)),this._workbook.bind("pdfExport",this._workbookPdfExport.bind(this)),this._workbook.bind("insertSheet",this._workbookInsertSheet.bind(this)),this._workbook.bind("removeSheet",this._workbookRemoveSheet.bind(this)),this._workbook.bind("selectSheet",this._workbookSelectSheet.bind(this)),this._workbook.bind("renameSheet",this._workbookRenameSheet.bind(this)),this._workbook.bind("insertRow",this._workbookInsertRow.bind(this)),this._workbook.bind("insertColumn",this._workbookInsertColumn.bind(this)),this._workbook.bind("deleteRow",this._workbookDeleteRow.bind(this)),this._workbook.bind("deleteColumn",this._workbookDeleteColumn.bind(this)),this._workbook.bind("hideRow",this._workbookHideRow.bind(this)),this._workbook.bind("hideColumn",this._workbookHideColumn.bind(this)),this._workbook.bind("unhideRow",this._workbookUnhideRow.bind(this)),this._workbook.bind("unhideColumn",this._workbookUnhideColumn.bind(this)),this._workbook.bind("select",this._workbookSelect.bind(this)),this._workbook.bind("changeFormat",this._workbookChangeFormat.bind(this)),this._workbook.bind("dataBinding",this._workbookDataBinding.bind(this)),this._workbook.bind("dataBound",this._workbookDataBound.bind(this)),this._workbook.bind("progress",this._workbookProgress.bind(this))},destroy:function(){e.ui.Widget.fn.destroy.call(this),this._workbook.destroy(),this._controller.destroy(),this._view.destroy(),this._resizeHandler&&o(window).off("resize"+a,this._resizeHandler)},options:{name:"Spreadsheet",toolbar:!0,sheetsbar:!0,rows:200,columns:50,rowHeight:20,columnWidth:64,headerHeight:20,headerWidth:32,excel:{proxyURL:"",fileName:"Workbook.xlsx"},messages:{},pdf:{area:"workbook",fileName:"Workbook.pdf",proxyURL:"",paperSize:"a4",landscape:!0,margin:null,title:null,author:null,subject:null,keywords:null,creator:"Kendo UI PDF Generator v."+e.version,date:null},defaultCellStyle:{fontFamily:"Arial",fontSize:12},useCultureDecimals:!1},defineName:function(e,t,o){return this._workbook.defineName(e,t,o)},undefineName:function(e){return this._workbook.undefineName(e)},nameValue:function(e){return this._workbook.nameValue(e)},forEachName:function(e){return this._workbook.forEachName(e)},cellContextMenu:function(){return this._view.cellContextMenu},rowHeaderContextMenu:function(){return this._view.rowHeaderContextMenu},colHeaderContextMenu:function(){return this._view.colHeaderContextMenu},addImage:function(e){return this._workbook.addImage(e)},cleanupImages:function(){return this._workbook.cleanupImages()},events:["cut","copy","paste","pdfExport","excelExport","excelImport","changing","change","render","removeSheet","selectSheet","renameSheet","insertRow","insertColumn","deleteRow","insertSheet","deleteColumn","hideRow","hideColumn","unhideRow","unhideColumn","select","changeFormat","dataBinding","dataBound"]}),e.spreadsheet.ALL_REASONS=u,e.ui.plugin(k),o.extend(!0,k,{classNames:d}))}(window.kendo),window.kendo},o(3))},1416:function(e,t){e.exports=require("./spreadsheet/formulacontext")},1417:function(e,t){e.exports=require("./util/text-metrics")},1418:function(e,t){e.exports=require("./util/parse-xml")},1419:function(e,t){e.exports=require("./spreadsheet/commands")},1420:function(e,t){e.exports=require("./spreadsheet/formulabar")},1421:function(e,t){e.exports=require("./spreadsheet/formulainput")},1422:function(e,t){e.exports=require("./spreadsheet/eventlistener")},1423:function(e,t){e.exports=require("./spreadsheet/rangelist")},1424:function(e,t){e.exports=require("./spreadsheet/propertybag")},1425:function(e,t){e.exports=require("./spreadsheet/references")},1426:function(e,t){e.exports=require("./spreadsheet/navigator")},1427:function(e,t){e.exports=require("./spreadsheet/axismanager")},1428:function(e,t){e.exports=require("./spreadsheet/clipboard")},1429:function(e,t){e.exports=require("./spreadsheet/range")},1430:function(e,t){e.exports=require("./spreadsheet/sheet")},1431:function(e,t){e.exports=require("./spreadsheet/sheetsbar")},1432:function(e,t){e.exports=require("./spreadsheet/excel-reader")},1433:function(e,t){e.exports=require("./spreadsheet/workbook")},1434:function(e,t){e.exports=require("./spreadsheet/controller")},1435:function(e,t){e.exports=require("./spreadsheet/view")},1436:function(e,t){e.exports=require("./spreadsheet/customeditors")},1437:function(e,t){e.exports=require("./spreadsheet/grid")},1438:function(e,t){e.exports=require("./spreadsheet/axis")},1439:function(e,t){e.exports=require("./spreadsheet/filter")},1440:function(e,t){e.exports=require("./spreadsheet/sorter")},1441:function(e,t){e.exports=require("./spreadsheet/runtime")},1442:function(e,t){e.exports=require("./spreadsheet/calc")},1443:function(e,t){e.exports=require("./spreadsheet/numformat")},1444:function(e,t){e.exports=require("./spreadsheet/runtime.functions")},1445:function(e,t){e.exports=require("./spreadsheet/runtime.functions.2")},1446:function(e,t){e.exports=require("./spreadsheet/toolbar")},1447:function(e,t){e.exports=require("./spreadsheet/dialogs")},1448:function(e,t){e.exports=require("./spreadsheet/sheetbinder")},1449:function(e,t){e.exports=require("./spreadsheet/filtermenu")},1450:function(e,t){e.exports=require("./spreadsheet/editor")},1451:function(e,t){e.exports=require("./spreadsheet/autofill")},1452:function(e,t){e.exports=require("./spreadsheet/nameeditor")},1453:function(e,t){e.exports=require("./spreadsheet/print")}});