.Data
.vscode
Archive
.vscode
ApiControllers
Controllers
Models
Repositories
Services
Views
wwwroot
igniteui
css
js
extensions
i18n
modules
encoding
i18n
infragistics.barcode_core.js
infragistics.barcode_qrcodebarcode.js
infragistics.bulletgraph.js
infragistics.categorychart.js
infragistics.datachart_annotation.js
infragistics.datachart_category.js
infragistics.datachart_categorycore.js
infragistics.datachart_core.js
infragistics.datachart_domainChart.js
infragistics.datachart_extendedaxes.js
infragistics.datachart_extendedfinancial.js
infragistics.datachart_financial.js
infragistics.datachart_interactivity.js
infragistics.datachart_polar.js
infragistics.datachart_radial.js
infragistics.datachart_rangecategory.js
infragistics.datachart_scatter.js
infragistics.datachart_shape.js
infragistics.datachart_stacked.js
infragistics.datachart_verticalcategory.js
infragistics.datachart_visualdata.js
infragistics.datasource.js
infragistics.documents.core_core.js
infragistics.documents.core_openxml.js
infragistics.doughnutchart.js
infragistics.dv_core.js
infragistics.dv_dataseriesadapter.js
infragistics.dv_datasource.js
infragistics.dv_description.js
infragistics.dv_geo.js
infragistics.dv_geometry.js
infragistics.dv_interactivity.js
infragistics.dv_jquerydom.js
infragistics.dv_opd.js
infragistics.dv_visualdata.js
infragistics.dvcommonwidget.js
infragistics.excel_core.js
infragistics.excel_functions.js
infragistics.excel_serialization_biff8.js
infragistics.excel_serialization_openxml.js
infragistics.ext_collections.js
infragistics.ext_collectionsextended.js
infragistics.ext_core.js
infragistics.ext_io.js
infragistics.ext_text.js
infragistics.ext_threading.js
infragistics.ext_ui.js
infragistics.ext_web.js
infragistics.ext_xml.js
infragistics.financialchart.js
infragistics.funnelchart.js
infragistics.geographicmap_core.js
infragistics.gridexcelexporter.js
infragistics.legend.js
infragistics.lineargauge.js
infragistics.olap.js
infragistics.olapdatasource.doc.js
infragistics.olapflatdatasource.js
infragistics.olapxmladatasource.js
infragistics.piechart.js
infragistics.radialgauge.js
infragistics.radialmenu.js
infragistics.scheduler.core.js
infragistics.shapechart.js
infragistics.sparkline.js
infragistics.spreadsheet.js
infragistics.templating.js
infragistics.ui.barcode.js
infragistics.ui.basechart.js
infragistics.ui.bulletgraph.js
infragistics.ui.categorychart.js
infragistics.ui.chart.js
infragistics.ui.chart.template.js
infragistics.ui.chartlegend.js
infragistics.ui.colorpicker.js
infragistics.ui.colorpickersplitbutton.js
infragistics.ui.combo.js
infragistics.ui.dialog.js
infragistics.ui.doughnutchart.js
infragistics.ui.editors.js
infragistics.ui.financialchart.js
infragistics.ui.funnelchart.js
infragistics.ui.grid.appendrowsondemand.js
infragistics.ui.grid.cellmerging.js
infragistics.ui.grid.columnfixing.js
infragistics.ui.grid.columnmoving.js
infragistics.ui.grid.featurechooser.js
infragistics.ui.grid.filtering.js
infragistics.ui.grid.framework.js
infragistics.ui.grid.groupby.js
infragistics.ui.grid.hiding.js
infragistics.ui.grid.hierarchical.js
infragistics.ui.grid.multicolumnheaders.js
infragistics.ui.grid.paging.js
infragistics.ui.grid.resizing.js
infragistics.ui.grid.responsive.js
infragistics.ui.grid.rowselectors.js
infragistics.ui.grid.selection.js
infragistics.ui.grid.shared.js
infragistics.ui.grid.sorting.js
infragistics.ui.grid.summaries.js
infragistics.ui.grid.tooltips.js
infragistics.ui.grid.updating.js
infragistics.ui.htmleditor.js
infragistics.ui.layoutmanager.js
infragistics.ui.lineargauge.js
infragistics.ui.map.js
infragistics.ui.map.template.js
infragistics.ui.notifier.js
infragistics.ui.pivot.shared.js
infragistics.ui.pivotdataselector.js
infragistics.ui.pivotgrid.js
infragistics.ui.pivotview.js
infragistics.ui.popover.js
infragistics.ui.qrcodebarcode.js
infragistics.ui.radialgauge.js
infragistics.ui.radialmenu.js
infragistics.ui.rating.js
infragistics.ui.scheduler.core.js
infragistics.ui.scheduler.js
infragistics.ui.scroll.js
infragistics.ui.shapechart.js
infragistics.ui.shared.js
infragistics.ui.sparkline.js
infragistics.ui.splitbutton.js
infragistics.ui.splitter.js
infragistics.ui.spreadsheet.js
infragistics.ui.tilemanager.js
infragistics.ui.toolbar.js
infragistics.ui.toolbarbutton.js
infragistics.ui.tree.js
infragistics.ui.treegrid.columnfixing.js
infragistics.ui.treegrid.columnmoving.js
infragistics.ui.treegrid.filtering.js
infragistics.ui.treegrid.hiding.js
infragistics.ui.treegrid.js
infragistics.ui.treegrid.multicolumnheaders.js
infragistics.ui.treegrid.paging.js
infragistics.ui.treegrid.resizing.js
infragistics.ui.treegrid.rowselectors.js
infragistics.ui.treegrid.selection.js
infragistics.ui.treegrid.sorting.js
infragistics.ui.treegrid.tooltips.js
infragistics.ui.treegrid.updating.js
infragistics.ui.upload.js
infragistics.ui.validator.js
infragistics.ui.videoplayer.js
infragistics.ui.widget.js
infragistics.ui.zoombar.js
infragistics.ui.zoomslider.js
infragistics.undo.js
infragistics.util.jquery.js
infragistics.util.js
infragistics.xml.js
infragistics.zoomslider_core.js
infragistics.core.js
infragistics.dv.js
infragistics.excel-bundled.js
infragistics.loader.js
infragistics.lob.js
infragistics.scheduler-bundled.js
infragistics.spreadsheet-bundled.js
images
js
styles
.editorconfig
ApiLoggingMiddleware.cs
OI.Metrology.Archive.csproj
Program.cs
appsettings.Development.json
appsettings.json
compilerconfig.json
compilerconfig.json.defaults
Server
Shared
Tests
View
.editorconfig
.gitignore
OI-Metrology.sln
README.md
azure-pipelines-server-development.yml
azure-pipelines-server.yml
package.json
31 lines
8.9 KiB
JavaScript
31 lines
8.9 KiB
JavaScript
/*!@license
|
|
* Infragistics.Web.ClientUI Pivot View 19.1.20
|
|
*
|
|
* Copyright (c) 2011-2012 Infragistics Inc.
|
|
*
|
|
* http://www.infragistics.com/
|
|
*
|
|
* Depends on:
|
|
* jquery-1.9.1.js
|
|
* jquery.ui.core.js
|
|
* jquery.ui.widget.js
|
|
* jquery.ui.mouse.js
|
|
* jquery.ui.draggable.js
|
|
* jquery.ui.droppable.js
|
|
* infragistics.util.js
|
|
* infragistics.util.jquery.js
|
|
* infragistics.ui.widget.js
|
|
* infragistics.datasource.js
|
|
* infragistics.olapxmladatasource.js
|
|
* infragistics.olapflatdatasource.js
|
|
* infragistics.ui.shared.js
|
|
* infragistics.ui.scroll.js
|
|
* infragistics.ui.splitter.js
|
|
* infragistics.ui.tree.js
|
|
* infragistics.ui.grid.framework.js
|
|
* infragistics.ui.grid.multicolumnheaders.js
|
|
* infragistics.ui.pivot.shared.js
|
|
* infragistics.ui.pivotdataselector.js
|
|
* infragistics.ui.pivotgrid.js
|
|
*/
|
|
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.ui.splitter","./infragistics.ui.pivotgrid","./infragistics.ui.pivotdataselector"],factory)}else{return factory(jQuery)}})(function($){var _igPivotGrid=$.ui.igPivotGrid.prototype.widgetFullName||$.ui.igPivotGrid.prototype.widgetName,_igPivotDataSelector=$.ui.igPivotDataSelector.prototype.widgetFullName||$.ui.igPivotDataSelector.prototype.widgetName,_igSplitter=$.ui.igSplitter.prototype.widgetFullName||$.ui.igSplitter.prototype.widgetName;$.widget("ui.igPivotView",$.ui.igWidget,{options:{width:null,height:null,dataSource:null,dataSourceOptions:{xmlaOptions:{serverUrl:null,catalog:null,cube:null,measureGroup:null,requestOptions:{withCredentials:false,beforeSend:null},enableResultCache:true,discoverProperties:null,executeProperties:null,mdxSettings:{nonEmptyOnRows:true,nonEmptyOnColumns:true,addCalculatedMembersOnRows:true,addCalculatedMembersOnColumns:true,dimensionPropertiesOnRows:[],dimensionPropertiesOnColumns:[]}},flatDataOptions:{dataSource:null,dataSourceUrl:null,dataSourceType:null,responseDataKey:null,responseDataType:null,metadata:{cube:{name:null,caption:null,measuresDimension:{name:null,caption:null,measures:[{name:null,caption:null,aggregator:null,displayFolder:null}]},dimensions:[{name:null,caption:null,hierarchies:[{name:null,caption:null,displayFolder:null,levels:[{name:null,caption:null,memberProvider:null}]}]}]}}},measures:null,filters:null,rows:null,columns:null},pivotGridOptions:{isParentInFrontForColumns:false,isParentInFrontForRows:true,compactColumnHeaders:false,rowHeadersLayout:"compact",compactColumnHeaderIndentation:30,compactRowHeaderIndentation:20,defaultRowHeaderWidth:200,allowSorting:false,firstSortDirection:"ascending",allowHeaderRowsSorting:false,allowHeaderColumnsSorting:false,levelSortDirections:[{levelUniqueName:null,sortDirection:null}],firstLevelSortDirection:"ascending",gridOptions:{defaultColumnWidth:null,fixedHeaders:true,caption:null,features:[],tabIndex:0,alternateRowStyles:true,enableHoverStyles:false},dragAndDropSettings:{appendTo:"body",containment:false,zIndex:10},dropDownParent:"body",disableRowsDropArea:false,disableColumnsDropArea:false,disableMeasuresDropArea:false,disableFiltersDropArea:false,hideRowsDropArea:false,hideColumnsDropArea:false,hideMeasuresDropArea:false,hideFiltersDropArea:false,customMoveValidation:null},dataSelectorOptions:{dragAndDropSettings:{appendTo:"body",containment:false,zIndex:10},dropDownParent:"body",customMoveValidation:null},pivotGridPanel:{resizable:true,collapsible:false,collapsed:false,size:null},dataSelectorPanel:{location:"right",resizable:true,collapsible:true,collapsed:false,size:250}},_create:function(){var $this=this,elementName,splitter,panel,pivotGrid,dataSelector,panels,dataSelectorLocation,dataSource;elementName=this.element[0].nodeName.toUpperCase();if(elementName!=="DIV"){throw new Error(elementName+this._getLocaleValue("invalidBaseElement"))}this.element.addClass("ui-igpivotview");if(this.options.width){this.element.width(this.options.width)}if(this.options.height){this.element.height(this.options.height)}dataSelectorLocation=this.options.dataSelectorPanel.location;splitter=$("<div></div>").appendTo(this.element);panel=$("<div></div>").appendTo(splitter);pivotGrid=$("<table></table>").attr("id",this.element.attr("id")+"_pivotGrid").appendTo(panel);panel=$("<div></div>")[dataSelectorLocation==="right"?"appendTo":"prependTo"](splitter);dataSelector=$("<div></div>").attr("id",this.element.attr("id")+"_dataSelector").appendTo(panel);panels=[this.options.pivotGridPanel,this.options.dataSelectorPanel];if(dataSelectorLocation!=="right"){panels.reverse()}dataSource=$.ig.Pivot._pivotShared._createDataSource(this.options.dataSource,this.options.dataSourceOptions);dataSelector.igPivotDataSelector($.extend(true,this.options.dataSelectorOptions,{dataSource:dataSource}));splitter.igSplitter({width:this.options.width||this.element.width(),height:this.options.height||this.element.height(),panels:panels}).bind("igsplitterresizeended igsplitterexpanded igsplittercollapsed",function(){$this._setSize()}).bind("igsplitterresizestarted",function(){$(".ui-igpivot-metadatadropdown,.ui-igpivot-filterdropdown").remove()});if($.ui.igSplitter.prototype.css.verticalPanel){$($.ui.igSplitter.prototype.css.verticalPanel.replace(/ui-/g,".ui-").replace(/ /g,"")).css("overflow","hidden")}pivotGrid.igPivotGrid($.extend(true,this.options.pivotGridOptions,{dataSource:dataSource,width:(dataSelectorLocation==="right"?splitter.igSplitter("firstPanel"):splitter.igSplitter("secondPanel")).width(),height:splitter.igSplitter("option","height")}));splitter.igSplitter("refreshLayout");this._setSize();dataSelector.bind("igpivotdataselectordeferupdatechanged",function(evt,ui){pivotGrid.igPivotGrid("option","deferUpdate",ui.deferUpdate)})},_setOption:function(key,value){switch(key){case"dataSource":this.options.dataSourceOptions=null;this.options.dataSource=$.ig.Pivot._pivotShared._createDataSource(value,null);this.dataSelector().option("dataSource",this.options.dataSource);this.pivotGrid().option("dataSource",this.options.dataSource);break;case"dataSourceOptions":this.options.dataSourceOptions=value;this.options.dataSource=$.ig.Pivot._pivotShared._createDataSource(null,value);this.dataSelector().option("dataSource",this.options.dataSource);this.pivotGrid().option("dataSource",this.options.dataSource);break;case"width":case"height":$.Widget.prototype._setOption.call(this,arguments);this.splitter().element[key](value);this._setSize();break}},_setSize:function(){var splitter=this.splitter(),pivotGrid=this.pivotGrid(),dataSelector=this.dataSelector(),height=this.element.height(),dataSelectorLocation,pivotGridPanelWidth,dataSelectorPanelWidth;dataSelectorLocation=this.options.dataSelectorPanel.location;if(dataSelectorLocation==="right"){pivotGridPanelWidth=splitter.firstPanel().width();dataSelectorPanelWidth=splitter.secondPanel().width()}else{pivotGridPanelWidth=splitter.secondPanel().width();dataSelectorPanelWidth=splitter.firstPanel().width()}pivotGrid.option("width",pivotGridPanelWidth);pivotGrid.option("height",height);dataSelector.option("width",dataSelectorPanelWidth);dataSelector.option("height",height)},pivotGrid:function(){try{return this.element.find(":ui-igPivotGrid").data(_igPivotGrid)}catch(e){if(e==="Syntax error, unrecognized expression: "+"Syntax error, unrecognized expression: ui-igPivotGrid"||e.message==="Syntax error, unrecognized expression: ui-igPivotGrid"){return this.element.find(":ui-igpivotgrid").data(_igPivotGrid)}throw e}},dataSelector:function(){try{return this.element.find(":ui-igPivotDataSelector").data(_igPivotDataSelector)}catch(e){if(e==="Syntax error, unrecognized expression:"+" Syntax error, unrecognized expression: ui-igPivotDataSelector"||e.message==="Syntax error, unrecognized expression: ui-igPivotDataSelector"){return this.element.find(":ui-igpivotdataselector").data(_igPivotDataSelector)}throw e}},splitter:function(){try{return this.element.find(":ui-igSplitter").data(_igSplitter)}catch(e){if(e==="Syntax error, unrecognized expression: "+"Syntax error, unrecognized expression: ui-igSplitter"||e.message==="Syntax error, unrecognized expression: ui-igSplitter"){return this.element.find(":ui-igsplitter").data(_igSplitter)}throw e}},destroy:function(){this.element.removeClass("ui-igpivotview");try{this.element.find(":ui-igPivotGrid").igPivotGrid("destroy");this.element.find(":ui-igPivotDataSelector").igPivotDataSelector("destroy");this.element.find(":ui-igSplitter").igSplitter("destroy").remove();this._superApply(arguments)}catch(e){if(typeof e==="string"){if(e.indexOf("unrecognized expression: ui-ig")!==-1){this.element.find(":ui-igpivotgrid").igPivotGrid("destroy");this.element.find(":ui-igpivotdataselector").igPivotDataSelector("destroy");this.element.find(":ui-igsplitter").igSplitter("destroy").remove();this._superApply(arguments);return}}else{if(e.message.indexOf("unrecognized expression: ui-ig")!==-1){this.element.find(":ui-igpivotgrid").igPivotGrid("destroy");this.element.find(":ui-igpivotdataselector").igPivotDataSelector("destroy");this.element.find(":ui-igsplitter").igSplitter("destroy").remove();this._superApply(arguments);return}}throw e}}});$.extend($.ui.igPivotView,{version:"19.1.20"});return $}); |