igniteui-react-grids
Version:
Ignite UI React grid components.
7 lines • 2.5 MB
JavaScript
/*!
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("tslib"),require("react"),require("igniteui-react-core"),require("igniteui-react-inputs"),require("igniteui-react-layouts"),require("react-dom"),require("igniteui-react"),require("grids/combined"),require("lit-html")):"function"==typeof define&&define.amd?define(["exports","tslib","react","igniteui-react-core","igniteui-react-inputs","igniteui-react-layouts","react-dom","igniteui-react","grids/combined","lit-html"],t):t((e=e||self)["igniteui-react-grids"]={},e.tslib,e.React,e.igniteuiReactCore,e.igniteuiReactInputs,e.igniteuiReactLayouts,e.ReactDOM,e.igniteuiReact,e.combined,e.litHtml)}(this,(function(e,t,n,i,r,o,a,s,l,u){"use strict";var c=function(e){function n(t,n){var i=e.call(this)||this;return i.a=null,i.b=null,i.a=t,i.b=n,i}return t.__extends(n,e),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(e){this.a=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(e){this.b=e},enumerable:!1,configurable:!0}),n.createIdentityKey=function(e){return new n(null,[e])},n.prototype.equals=function(e){var t=e;if(null==t)return!1;if(null==t.b&&null==this.b)return!0;if(t.b.length!=this.b.length)return!1;if(null==this.a&&null==t.a&&1==this.b.length&&1==t.b.length){var n=this.b[0],i=t.b[0];return this.f(n,i)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],t.b[r]))return!1;return!0},n.prototype.f=function(e,t){return null==e&&null==t||(null!=e||null==t)&&i.Base.equalsStatic(e,t)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var e=0;e=this.i(this.b[0]);for(var t=1;t<this.b.length;t++)e=17*e+this.i(this.b[t]);return e},n.prototype.i=function(e){return null==e?0:i.Base.getHashCodeStatic(e)},n.$t=i.markType(n,"PrimaryKeyValue"),n}(i.Base),h=function(e){return e[e.Selected=0]="Selected",e[e.DeSelected=1]="DeSelected",e}({}),p=i.markEnum("CheckboxListIndexType","Selected,0|DeSelected,1"),f=function(e){function n(){var t=e.call(this,c.$,0)||this;return t.ak=new i.List$1(i.Delegate_$type,0),t.ah=!1,t.af=!0,t.ai=new i.Dictionary$2(c.$,i.Number_$type,0),t.aj=new i.Dictionary$2(i.Number_$type,c.$,0),t}return t.__extends(n,e),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(e){this.collectionChanged=i.delegateCombine(this.collectionChanged,e)},n.prototype.am=function(e){this.ak.add(e)},n.prototype.ao=function(e){this.ak.remove(e)},n.prototype.ap=function(e){this.collectionChanged=i.delegateRemove(this.collectionChanged,e)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(e){this.af=e},enumerable:!1,configurable:!0}),n.prototype.n=function(t){e.prototype.n.call(this,t),this.ag&&(this.ai.addItem(t,this.count-1),this.aj.addItem(this.count-1,t))},n.prototype.o=function(n){var r,o,a=this.count;if(e.prototype.o.call(this,n),this.ag)try{for(var s=t.__values(i.fromEnum(n)),l=s.next();!l.done;l=s.next()){var u=l.value;this.ai.addItem(u,a),this.aj.addItem(a,u),a++}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,a,s=new i.List$1(i.Delegate_$type,0);try{for(var l=t.__values(i.fromEnum(this.ak)),u=l.next();!u.done;u=l.next()){var c=u.value;s.add(c)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}try{for(var h=t.__values(i.fromEnum(s)),p=h.next();!p.done;p=h.next()){(0,p.value)()}}catch(e){o={error:e}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}e.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(e){if(this.ag&&this.aj.containsKey(e)){var t=this.aj.item(e);this.ai.removeItem(t),this.aj.removeItem(e);for(var n=e+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[e];0==e?this._inner.shift():this._inner.splice(e,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,e))},n.prototype.v=function(t,n){if(e.prototype.v.call(this,t,n),this.ag)for(var i=t;i<t+n;i++)if(this.aj.containsKey(i)){var r=this.aj.item(i);this.ai.removeItem(r),this.aj.removeItem(i)}},n.prototype.x=function(t,n){if(e.prototype.x.call(this,t,n),this.ag&&this.aj.containsKey(t)){var i=this.aj.item(t);this.aj.item(t,n),this.ai.removeItem(i),this.ai.addItem(n,t)}},n.prototype.r=function(t,n){if(e.prototype.r.call(this,t,n),this.ag)for(var i=t;i<this.count;i++){var r=this._inner[i];this.ai.containsKey(r)?(this.ai.item(r,i),this.aj.removeItem(i),this.aj.addItem(i,r)):(this.ai.addItem(r,i),this.aj.addItem(i,r))}},n.prototype.al=function(e){return this.ag?this.ai.containsKey(e)?this.ai.item(e):-1:this.indexOf(e)},n.$t=i.markType(n,"GridSelectedKeysCollection",i.ObservableCollection$1.$.specialize(c.$)),n}(i.ObservableCollection$1),d=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return t.__extends(n,e),Object.defineProperty(n,"bo",{get:function(){if(null==n.at){n.at=((e=new i.Brush).fill="#babfc7",e)}var e;return n.at},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bq",{get:function(){if(null==n.av){n.av=((e=new i.Brush).fill="#dde2eb",e)}var e;return n.av},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bi",{get:function(){var e;return null==n.an&&(n.an=((e=new i.Brush).color=i.Color.u(255,224,224,224),e)),n.an},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a8",{get:function(){if(null==n.ad){n.ad=((e=new i.Brush).fill="#babfc7",e)}var e;return n.ad},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a6",{get:function(){if(null==n.ab){n.ab=((e=new i.Brush).fill="#babfc7",e)}var e;return n.ab},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bs",{get:function(){if(null==n.ax){n.ax=((e=new i.Brush).fill="#ff80ab",e)}var e;return n.ax},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bt",{get:function(){if(null==n.ay){n.ay=((e=new i.Brush).fill="#181d1f",e)}var e;return n.ay},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a0",{get:function(){if(null==n.v){n.v=((e=new i.Brush).fill="#3c90bd",e)}var e;return n.v},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a1",{get:function(){if(null==n.w){n.w=((e=new i.Brush).fill="#204f69",e)}var e;return n.w},enumerable:!1,configurable:!0}),Object.defineProperty(n,"az",{get:function(){if(null==n.u){n.u=((e=new i.Brush).fill="#2196f3",e)}var e;return n.u},enumerable:!1,configurable:!0}),Object.defineProperty(n,"n",{get:function(){return null==n.h&&(n.h=new i.FontInfo,n.h.f=i.DeviceUtils.f(13),n.h.q="Verdana"),n.h},enumerable:!1,configurable:!0}),Object.defineProperty(n,"i",{get:function(){return null==n.c&&(n.c=new i.FontInfo,n.c.f=i.DeviceUtils.f(13),n.c.q="Segoe UI Emoji"),n.c},enumerable:!1,configurable:!0}),Object.defineProperty(n,"m",{get:function(){return null==n.g&&(n.g=new i.FontInfo,n.g.f=i.DeviceUtils.f(13),n.g.t="italic",n.g.q="Verdana"),n.g},enumerable:!1,configurable:!0}),Object.defineProperty(n,"j",{get:function(){return null==n.d&&(n.d=new i.FontInfo,n.d.f=i.DeviceUtils.f(14),n.d.q="Verdana"),n.d},enumerable:!1,configurable:!0}),Object.defineProperty(n,"l",{get:function(){return null==n.e&&(n.e=new i.FontInfo,n.e.f=i.DeviceUtils.f(12),n.e.v="600",n.e.q="Verdana"),n.e},enumerable:!1,configurable:!0}),Object.defineProperty(n,"k",{get:function(){return null==n.f&&(n.f=new i.FontInfo,n.f.f=i.DeviceUtils.f(12),n.f.q="Verdana"),n.f},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bg",{get:function(){return null==n.al&&(n.al=new i.Brush,n.al.color=i.Color.u(255,210,234,253)),n.al},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a2",{get:function(){var e;return null==n.x&&(n.x=((e=new i.Brush).fill="White",e)),n.x},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a7",{get:function(){if(null==n.ac){n.ac=((e=new i.Brush).color=i.Color.u(255,232,244,254),e)}var e;return n.ac},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bn",{get:function(){if(null==n.as){n.as=((e=new i.Brush).fill="#F8F8F8",e)}var e;return n.as},enumerable:!1,configurable:!0}),Object.defineProperty(n,"br",{get:function(){if(null==n.aw){n.aw=((e=new i.Brush).fill="#181d1f",e)}var e;return n.aw},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bp",{get:function(){if(null==n.au){n.au=((e=new i.Brush).fill="#181d1f",e)}var e;return n.au},enumerable:!1,configurable:!0}),Object.defineProperty(n,"be",{get:function(){if(null==n.aj){n.aj=((e=new i.Brush).fill="#fafafa",e)}var e;return n.aj},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bd",{get:function(){var e;return null==n.ai&&(n.ai=((e=new i.Brush).fill="#f5f5dc",e)),n.ai},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bh",{get:function(){if(null==n.am){n.am=((e=new i.Brush).fill="#ffffff",e)}var e;return n.am},enumerable:!1,configurable:!0}),Object.defineProperty(n,"ba",{get:function(){if(null==n.af){n.af=((e=new i.Brush).fill="#ffffff",e)}var e;return n.af},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bc",{get:function(){if(null==n.ah){n.ah=((e=new i.Brush).fill="#f8f8f8",e)}var e;return n.ah},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bf",{get:function(){if(null==n.ak){n.ak=((e=new i.Brush).fill="#fafafa",e)}var e;return n.ak},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bj",{get:function(){if(null==n.ao){n.ao=((e=new i.Brush).fill="#0099FF",e)}var e;return n.ao},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bk",{get:function(){if(null==n.ap){n.ap=((e=new i.Brush).fill="#181d1f",e)}var e;return n.ap},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a4",{get:function(){if(null==n.z){n.z=((e=new i.Brush).fill="#2196f3",e)}var e;return n.z},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bb",{get:function(){if(null==n.ag){n.ag=((e=new i.Brush).fill="#2196f3",e)}var e;return n.ag},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a9",{get:function(){if(null==n.ae){n.ae=((e=new i.Brush).fill="#babfc7",e)}var e;return n.ae},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a5",{get:function(){if(null==n.aa){n.aa=((e=new i.Brush).fill="#181d1f",e)}var e;return n.aa},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a",{get:function(){return 2},enumerable:!1,configurable:!0}),Object.defineProperty(n,"b",{get:function(){return 3},enumerable:!1,configurable:!0}),Object.defineProperty(n,"q",{get:function(){return i.truncate(i.DeviceUtils.g(30))},enumerable:!1,configurable:!0}),Object.defineProperty(n,"r",{get:function(){return i.truncate(i.DeviceUtils.g(36))},enumerable:!1,configurable:!0}),Object.defineProperty(n,"p",{get:function(){return i.truncate(i.DeviceUtils.g(40))},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a3",{get:function(){if(null==n.y){n.y=((e=new i.Brush).fill="#babfc7",e)}var e;return n.y},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bv",{get:function(){return n.bu},enumerable:!1,configurable:!0}),Object.defineProperty(n,"t",{get:function(){return n.s},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bm",{get:function(){if(null==n.ar){n.ar=((e=new i.Brush).fill="#ff0000",e)}var e;return n.ar},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bl",{get:function(){var e;return null==n.aq&&(n.aq=((e=new i.Brush).color=i.Color.u(0,0,0,0),e)),n.aq},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridStyleRepository"),n.at=null,n.av=null,n.an=null,n.ad=null,n.ab=null,n.ax=null,n.ay=null,n.v=null,n.w=null,n.u=null,n.h=null,n.c=null,n.g=null,n.o=.54,n.d=null,n.e=null,n.f=null,n.al=null,n.x=null,n.ac=null,n.as=null,n.aw=null,n.au=null,n.aj=null,n.ai=null,n.am=null,n.af=null,n.ah=null,n.ak=null,n.ao=null,n.ap=null,n.z=null,n.ag=null,n.ae=null,n.aa=null,n.y=null,n.bu=new i.Thickness(0,1),n.s=new i.CornerRadius(0,3),n.ar=null,n.aq=null,n}(i.Base),m=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return t.__extends(n,e),n.$t=i.markType(n,"CheckboxListKeysClearedEventArgs"),n}(i.Base),g=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.c=0,t.b=!1,t.a=null,t}return t.__extends(n,e),n.$t=i.markType(n,"CheckedChangedEventArgs"),n}(i.Base),b=function(e){return e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.LessThan=2]="LessThan",e[e.LessThanOrEqualTo=3]="LessThanOrEqualTo",e[e.GreaterThan=4]="GreaterThan",e[e.GreaterThanOrEqualTo=5]="GreaterThanOrEqualTo",e[e.Top=6]="Top",e[e.Bottom=7]="Bottom",e[e.TopPercentile=8]="TopPercentile",e[e.BottomPercentile=9]="BottomPercentile",e[e.True=10]="True",e[e.False=11]="False",e[e.Contains=12]="Contains",e[e.DoesNotContain=13]="DoesNotContain",e[e.StartsWith=14]="StartsWith",e[e.DoesNotStartWith=15]="DoesNotStartWith",e[e.EndsWith=16]="EndsWith",e[e.DoesNotEndWith=17]="DoesNotEndWith",e[e.Today=18]="Today",e[e.Tomorrow=19]="Tomorrow",e[e.Yesterday=20]="Yesterday",e[e.NextWeek=21]="NextWeek",e[e.ThisWeek=22]="ThisWeek",e[e.LastWeek=23]="LastWeek",e[e.NextMonth=24]="NextMonth",e[e.ThisMonth=25]="ThisMonth",e[e.LastMonth=26]="LastMonth",e[e.NextQuarter=27]="NextQuarter",e[e.ThisQuarter=28]="ThisQuarter",e[e.LastQuarter=29]="LastQuarter",e[e.NextYear=30]="NextYear",e[e.ThisYear=31]="ThisYear",e[e.LastYear=32]="LastYear",e[e.YearToDate=33]="YearToDate",e[e.Q1=34]="Q1",e[e.Q2=35]="Q2",e[e.Q3=36]="Q3",e[e.Q4=37]="Q4",e[e.Month=38]="Month",e[e.Year=39]="Year",e[e.Empty=40]="Empty",e[e.NotEmpty=41]="NotEmpty",e[e.IsNull=42]="IsNull",e[e.IsNotNull=43]="IsNotNull",e[e.Custom=44]="Custom",e}({}),y=i.markEnum("ColumnComparisonConditionOperatorType","Equals,0|NotEquals,1|LessThan,2|LessThanOrEqualTo,3|GreaterThan,4|GreaterThanOrEqualTo,5|Top,6|Bottom,7|TopPercentile,8|BottomPercentile,9|True,10|False,11|Contains,12|DoesNotContain,13|StartsWith,14|DoesNotStartWith,15|EndsWith,16|DoesNotEndWith,17|Today,18|Tomorrow,19|Yesterday,20|NextWeek,21|ThisWeek,22|LastWeek,23|NextMonth,24|ThisMonth,25|LastMonth,26|NextQuarter,27|ThisQuarter,28|LastQuarter,29|NextYear,30|ThisYear,31|LastYear,32|YearToDate,33|Q1,34|Q2,35|Q3,36|Q4,37|Month,38|Year,39|Empty,40|NotEmpty,41|IsNull,42|IsNotNull,43|Custom,44"),v=i.markEnum("FixedCellPositions","None,0|Left,1|Right,2|Top,3|Bottom,4"),_=function(e){function n(t,n){var i=e.call(this)||this;return i.n=0,i.m=0,i.a=0,i.c=0,i.l=-1,i.e=!1,i.k=-1,i.b=0,i.d=0,i.n=t,i.m=n,i.ad(),i}return t.__extends(n,e),Object.defineProperty(n.prototype,"y",{get:function(){return this.n},set:function(e){this.n=e,this.ad()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.m},set:function(e){this.m=e,this.ad()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(e){this.a=e,this.ad()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(e){this.c=e,this.ad()},enumerable:!1,configurable:!0}),n.prototype.ad=function(){this.l=1e6*this.m},n.prototype.getHashCode=function(){return this.l},n.prototype.equals=function(e){var t=e;return this.a==t.a&&(this.n==t.n&&this.m==t.m)},n.prototype.toString=function(){return"F"+i.enumGetBox(v,this.a)+"."+this.n+"."+this.m},Object.defineProperty(n.prototype,"g",{get:function(){return(-100==this.m||-101==this.m)&&-100==this.n},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return-101==this.m},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return-200==this.m||-201==this.m},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.e},set:function(e){this.e=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.k},set:function(e){this.k=e},enumerable:!1,configurable:!0}),n.prototype.ab=function(){var e=new n(this.y,this.x);return e.b=this.b,e.i=this.i,e.o=this.o,e},n.$t=i.markType(n,"RowPath"),n}(i.Base),C=function(e){function n(){var t=e.call(this)||this;return t.a=0,t.c=null,t.___mustPassByValue=!0,t}return t.__extends(n,e),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(e){this.a=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(e){this.c=e},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridCellPosition"),n}(i.Base),w=function(e){return e[e.None=0]="None",e[e.Cell=1]="Cell",e[e.CellBatch=2]="CellBatch",e[e.Row=3]="Row",e}({}),O=i.markEnum("EditModeType","None,0|Cell,1|CellBatch,2|Row,3"),P=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.g=0,t.d=0,t.h=0,t.e=0,t.f=0,t.c=0,t.a=0,t.b=0,t}return t.__extends(n,e),n.$t=i.markType(n,"GridViewportChangedEventArgs"),n}(i.Base),j=new i.Type(null,"ICellModelExportUpdater"),x=i.markEnum("ModelStates","New,0|Recycled,1|Inview,2"),S=function(e){function n(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=this;switch(t=null==t?0:t){case 0:var o=n[0],a=n[1],s=n[2],l=n[3],u=[a,s,l],c=u[0],h=u[1],p=u[2];(r=e.call(this,h,p)||this).a3=0,r.a4=0,r.ae=1,r.a2=-1,r.ax=!1,r.ah=!1,r.ag=!1,r.au=!1,r.ai=!1,r.a3=c,r.ad(),r.b=o,r.ad();break;case 1:o=n[0],a=n[1],s=n[2];(r=e.call(this,a,s)||this).a3=0,r.a4=0,r.ae=1,r.a2=-1,r.ax=!1,r.ah=!1,r.ag=!1,r.au=!1,r.ai=!1,r.a3=o,r.ad();break;case 2:o=n[0],a=n[1];(r=e.call(this,0,a)||this).a3=0,r.a4=0,r.ae=1,r.a2=-1,r.ax=!1,r.ah=!1,r.ag=!1,r.au=!1,r.ai=!1,r.a3=o,r.ad();break;case 3:o=n[0],a=n[1],s=n[2];(r=e.call(this,0,a)||this).a3=0,r.a4=0,r.ae=1,r.a2=-1,r.ax=!1,r.ah=!1,r.ag=!1,r.au=!1,r.ai=!1,r.a3=o,r.ae=s,r.ad()}return r}return t.__extends(n,e),Object.defineProperty(n.prototype,"a5",{get:function(){return this.a3},set:function(e){this.a3=e,this.ad()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bb",{get:function(){return this.a4},set:function(e){this.a4=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.ae},set:function(e){this.ae=e,this.ad()},enumerable:!1,configurable:!0}),n.prototype.ad=function(){e.prototype.ad.call(this),this.a2=1e8*this.a5+e.prototype.getHashCode.call(this)+this.af},n.prototype.getHashCode=function(){return this.a2},n.prototype.equals=function(t){if(!e.prototype.equals.call(this,t))return!1;var n=t;return null!=t&&(this.a3==n.a3&&(this.az==n.az&&(this.aw==n.aw&&this.af==n.af)))},n.prototype.toString=function(){return this.a3+"."+e.prototype.toString.call(this)},n.prototype.ab=function(){var e=new n(0,this.b,this.a3,this.y,this.x);return e.bb=this.bb,e.az=this.az,e.aw=this.aw,e.i=this.i,e.o=this.o,e.d=this.d,e.au=this.au,e.ai=this.ai,e.ax=this.ax,e.af=this.af,e},Object.defineProperty(n.prototype,"ay",{get:function(){return-300==this.a3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return(this.a3>=0||-800==this.a3||-400==this.a3)&&this.x>=0&&this.x>=0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a0",{get:function(){return-400==this.a3||-401==this.a3||-402==this.a3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.g&&!this.ay},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return-102==this.x&&-400==this.a3},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return(-103==this.x||-104==this.x)&&-500==this.a5},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"as",{get:function(){return(-103==this.x||-104==this.x)&&-501==this.a5},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return-100==this.x&&-500==this.a5},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return-100==this.x&&-501==this.a5},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return-104==this.x},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.ah},set:function(e){this.ah=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.ag},set:function(e){this.ag=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.az||this.aw},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return 2==this.af},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return 3==this.af},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ao",{get:function(){return 4==this.af},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return 5==this.af},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"CellPath",_.$),n}(_),E=i.markEnum("ModelTypes","ColumnHeader,0|Cell,1|SectionHeader,2|SectionFooter,3|RowSeparator,4|VerticalSeparator,5|ResizeSeparator,6|HeaderSeparator,7|MovingSeparator,8|Editor,9|EditRow,10|FilterCell,11|MergedCell,12"),I=function(e){return e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right",e[e.Stretch=3]="Stretch",e[e.Auto=4]="Auto",e}({}),k=i.markEnum("CellContentHorizontalAlignment","Left,0|Center,1|Right,2|Stretch,3|Auto,4"),T=function(e){return e[e.Top=0]="Top",e[e.Center=1]="Center",e[e.Bottom=2]="Bottom",e[e.Stretch=3]="Stretch",e[e.Auto=4]="Auto",e}({}),R=i.markEnum("CellContentVerticalAlignment","Top,0|Center,1|Bottom,2|Stretch,3|Auto,4"),A=function(e){return e[e.Ellipsis=0]="Ellipsis",e[e.NoWrap=1]="NoWrap",e[e.WordWrap=2]="WordWrap",e[e.CharacterWrap=3]="CharacterWrap",e}({}),B=i.markEnum("TextCellLineBreakMode","Ellipsis,0|NoWrap,1|WordWrap,2|CharacterWrap,3"),D=function(e){return e[e.None=0]="None",e[e.Ascending=1]="Ascending",e[e.Descending=2]="Descending",e}({}),N=i.markEnum("ColumnSortDirection","None,0|Ascending,1|Descending,2"),M=function(e){return e[e.None=0]="None",e[e.Left=1]="Left",e[e.Right=2]="Right",e}({}),$=i.markEnum("PinnedPositions","None,0|Left,1|Right,2"),z=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.r=0,t.s=0,t.n=0,t.o=0,t.k=0,t.q=0,t.m=0,t.h=0,t.l=0,t.i=0,t.a=null,t.b=null,t.d=0,t.e=0,t.aa=null,t.c=null,t.w=null,t.x=null,t.y=null,t.j=0,t.u=null,t.v=null,t.p=0,t.f=0,t.t=0,t.g=!1,t.z=null,t}return t.__extends(n,e),n.prototype.ab=function(){var e=new i.StringBuilder(0);e.l("{ "),e.l('type : "'+this.ac+'", '),e.l("x : "+this.r+", "),e.l("y : "+this.s+", "),e.l("snappedX : "+this.n+", "),e.l("snappedY : "+this.o+", "),e.l("height : "+this.k+", "),e.l("width : "+this.q+", "),e.l('lineBreakMode: "'+this.z+'", '),e.l("selectedStatus : "+this.m+", "),e.l("activationStatus : "+this.h+", "),e.l("virtualizationPercentage : "+this.p+", "),e.l("backgroundBrushData : "+this.a.serialize()+", "),null!=this.b&&e.l("borderBrushData : "+this.b.serialize()+", "),e.l("opacity : "+this.l+", "),e.l("contentOpacity : "+this.i+", "),null!=this.d&&e.l("horizontalAlignment : "+this.d+", "),null!=this.e&&e.l("verticalAlignment : "+this.e+", "),e.l('renderValue : "'+this.aa+'", '),null!=this.c&&e.l("textColor : "+this.c.serialize()+", "),i.stringIsNullOrEmpty(this.w)||e.l('fontStyle : "'+this.w+'", '),i.stringIsNullOrEmpty(this.x)||e.l('fontVariant : "'+this.x+'", '),i.stringIsNullOrEmpty(this.y)||e.l('fontWeight : "'+this.y+'", '),i.stringIsNullOrEmpty(this.u)||e.l('fontFamily : "'+this.u+'", '),i.stringIsNullOrEmpty(this.v)||e.l('fontStretch : "'+this.v+'", '),i.isNaN_(this.j)||e.l("fontSize : "+this.j+", "),e.l("sortDirection : "+this.f+", "),e.l("indent : "+this.t+", "),e.l("isCollapsable : "+this.g.toString().toLowerCase()+", "),this.ad(e);var t=e.toString();return i.stringEndsWith(t,", ")&&(t=t.substr(0,t.length-2)),t+="} "},n.prototype.get_ac=function(){return"Cell"},Object.defineProperty(n.prototype,"ac",{get:function(){return this.get_ac()},enumerable:!1,configurable:!0}),n.prototype.ad=function(e){},n.$t=i.markType(n,"CellModelExport"),n}(i.Base),G=function(e){return e[e.List=0]="List",e[e.Cells=1]="Cells",e[e.RowTop=2]="RowTop",e[e.RowBottom=3]="RowBottom",e[e.None=4]="None",e}({}),V=i.markEnum("GroupSummaryDisplayMode","List,0|Cells,1|RowTop,2|RowBottom,3|None,4"),F=function(e){return e[e.DateShort=0]="DateShort",e[e.DateLong=1]="DateLong",e[e.TimeShort=2]="TimeShort",e[e.TimeLong=3]="TimeLong",e[e.DateTimeShort=4]="DateTimeShort",e[e.DateTimeLong=5]="DateTimeLong",e}({}),L=i.markEnum("DateTimeFormats","DateShort,0|DateLong,1|TimeShort,2|TimeLong,3|DateTimeShort,4|DateTimeLong,5"),q=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.a=0,t.b=!1,t.f=null,t.e=null,t.c=null,t.d=null,t.g=null,t.h=null,t}return t.__extends(n,e),n.prototype.k=function(){this.b=!0},n.prototype.j=function(e){this.a=e,this.b=!1},n.prototype.i=function(e){if(+e==+i.dateMinValue())return"";if(Intl&&Intl.DateTimeFormat){var t=null;switch(this.a){case 4:null==this.f&&(this.f=new Intl.DateTimeFormat([],{month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),t=this.f;break;case 5:null==this.e&&(this.e=new Intl.DateTimeFormat([],{weekday:"long",month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),t=this.e;break;case 1:null==this.c&&(this.c=new Intl.DateTimeFormat([],{weekday:"long",month:"long",day:"numeric",year:"numeric"})),t=this.c;break;case 0:null==this.d&&(this.d=new Intl.DateTimeFormat([],{month:"numeric",day:"numeric",year:"numeric"})),t=this.d;break;case 3:null==this.g&&(this.g=new Intl.DateTimeFormat([],{hour:"numeric",minute:"numeric",second:"numeric"})),t=this.g;break;case 2:null==this.h&&(this.h=new Intl.DateTimeFormat([],{hour:"numeric",minute:"numeric"})),t=this.h}var n=e;return t.format(n)}n=e;switch(this.a){case 4:case 5:return n.toLocaleString();case 1:case 0:return n.toLocaleDateString();case 3:case 2:return n.toLocaleTimeString()}return e.toString()},n.$t=i.markType(n,"DateTimeColumnValueFormatter"),n}(i.Base),H=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.af=new Date,t.ag=0,t.ae=!1,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"DateTimeCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t),t.l("dateTimeFormat : "+this.ag+", ")},n.$t=i.markType(n,"DateTimeCellModelExport",z.$),n}(z),W=function(e){return e[e.Default=0]="Default",e[e.Text=1]="Text",e[e.Numeric=2]="Numeric",e[e.Date=3]="Date",e[e.Combo=4]="Combo",e}({}),U=i.markEnum("EditorType","Default,0|Text,1|Numeric,2|Date,3|Combo,4"),K=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.af=!1,t.ag=null,t.ae=0,t.ah=null,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"EditorCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t),t.l("isHidden: "+this.af.toString().toLowerCase()+", "),t.l("editValue: '"+this.ag+"', "),t.l("dataType: '"+i.enumGetBox(i.DataSourceSchemaPropertyType_$type,this.ae)+"', "),t.l("errorMessage: '"+this.ah+"', ")},n.$t=i.markType(n,"EditorCellModelExport",z.$),n}(z),X=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.af=0,t.ag=!1,t.ae=0,t.an=null,t.am=0,t.al=0,t.ak=0,t.aj=0,t.ai=0,t.ah=0,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"FilterCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t),t.l("dataType: '"+i.enumGetBox(i.DataSourceSchemaPropertyType_$type,this.af)+"', "),t.l("isEnabled: "+this.ag.toString().toLowerCase()+", "),t.l("filterValue: '"+this.an+"', "),t.l("operatorType: '"+i.enumGetBox(y,this.ae)+"', "),t.l("selectorTop: '"+this.am+"', "),t.l("selectorLeft: '"+this.al+"', "),t.l("editorTop: '"+this.ak+"', "),t.l("editorLeft: '"+this.aj+"', "),t.l("clearIconTop: '"+this.ai+"', "),t.l("clearIconLeft: '"+this.ah+"', ")},n.$t=i.markType(n,"FilterCellModelExport",z.$),n}(z),Y=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.ai=null,t.ao=null,t.ae=null,t.af=null,t.al=null,t.am=null,t.an=null,t.ag=0,t.aj=null,t.ak=null,t.ar=null,t.as=null,t.at=null,t.ah=0,t.ap=null,t.aq=null,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"SummaryCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t),t.l('summaryLabel : "'+this.ai+'", '),t.l('summaryValue : "'+this.ao+'", '),null!=this.ae&&t.l("summaryLabelColor : "+this.ae.serialize()+", "),null!=this.af&&t.l("summaryValueColor : "+this.af.serialize()+", "),i.stringIsNullOrEmpty(this.al)||t.l('summaryLabelFontStyle : "'+this.al+'", '),i.stringIsNullOrEmpty(this.am)||t.l('summaryLabelFontVariant : "'+this.am+'", '),i.stringIsNullOrEmpty(this.an)||t.l('summaryLabelFontWeight : "'+this.an+'", '),i.isNaN_(this.ag)||t.l("summaryLabelFontSize : "+this.ag+", "),i.stringIsNullOrEmpty(this.aj)||t.l('summaryLabelFontFamily : "'+this.aj+'", '),i.stringIsNullOrEmpty(this.ak)||t.l('summaryLabelFontStretch : "'+this.ak+'", '),i.stringIsNullOrEmpty(this.ar)||t.l('summaryValueFontStyle : "'+this.ar+'", '),i.stringIsNullOrEmpty(this.as)||t.l('summaryValueFontVariant : "'+this.as+'", '),i.stringIsNullOrEmpty(this.at)||t.l('summaryValueFontWeight : "'+this.at+'", '),i.isNaN_(this.ah)||t.l("summaryValueFontSize : "+this.ah+", "),i.stringIsNullOrEmpty(this.ap)||t.l('summaryValueFontFamily : "'+this.ap+'", '),i.stringIsNullOrEmpty(this.aq)||t.l('summaryValueFontStretch : "'+this.aq+'", ')},n.$t=i.markType(n,"SummaryCellModelExport",z.$),n}(z),Z=function(e){return e[e.Uniform=0]="Uniform",e[e.Fill=1]="Fill",e[e.None=2]="None",e}({}),Q=i.markEnum("ImageStretchOptions","Uniform,0|Fill,1|None,2"),J=function(e){return e[e.Unspecified=0]="Unspecified",e[e.LocalResource=1]="LocalResource",e[e.LocalAsset=2]="LocalAsset",e[e.EmbeddedResource=3]="EmbeddedResource",e[e.RemoteResource=4]="RemoteResource",e}({}),ee=i.markEnum("ImageResourceType","Unspecified,0|LocalResource,1|LocalAsset,2|EmbeddedResource,3|RemoteResource,4"),te=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.ae=null,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"ImageCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t),t.l('imagePath : "'+this.ae+'", ')},n.$t=i.markType(n,"ImageCellModelExport",z.$),n}(z),ne=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.ae=0,t.af=0,t.ag=0,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"NumericCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t),t.l("numericValue : "+this.ae+", "),t.l("maxDecimalPlaces : "+this.af+", "),t.l("minDecimalPlaces : "+this.ag+", ")},n.$t=i.markType(n,"NumericCellModelExport",z.$),n}(z),ie=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return t.__extends(n,e),n.prototype.get_ac=function(){return"RowSeparator"},n.prototype.ad=function(t){e.prototype.ad.call(this,t)},n.$t=i.markType(n,"RowSeparatorModelExport",z.$),n}(z),re=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.c=null,t.a=null,t.b=null,t}return t.__extends(n,e),n.$t=i.markType(n,"GroupData"),n}(i.Base),oe=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.e=null,t.b=null,t.a=0,t.c=null,t.d=null,t}return t.__extends(n,e),n.$t=i.markType(n,"SummaryData"),n}(i.Base),ae=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.af=null,t.ag=null,t.ae=null,t.al=null,t.ai=null,t.ak=null,t.aj=null,t.ah=null,t.am=null,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"SectionHeaderCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t);for(var n="groupNames : [ ",r="groupValues : [ ",o=0;o<this.af.length;o++)n+='"'+this.af[o]+'", ',r+='"'+this.ag[o]+'", ';var a="summaryNames : [ ",s="summaryValues : [ ",l="summaryOperands : [ ",u="summaryFormattedText : [ ";if(null!=this.ai)for(var c=0;c<this.ai.length;c++)a+='"'+this.ai[c]+'", ',s+='"'+this.ak[c]+'", ',l+='"'+i.enumGetBox(i.DataSourceSummaryOperand_$type,this.aj[c])+'", ',u+='"'+this.ah[c]+'", ';t.l(n+" ], "),t.l(r+" ], "),t.l('formattedText : "'+this.al+'", '),t.l(a+" ], "),t.l(s+" ], "),t.l(l+" ], "),t.l(u+" ], "),t.l('fullSummaryFormattedText : "'+this.am+'", ')},n.$t=i.markType(n,"SectionHeaderCellModelExport",z.$),n}(z),se=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.ae=null,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"TemplateCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t)},n.$t=i.markType(n,"TemplateCellModelExport",z.$),n}(z),le=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.af=null,t.ae=null,t}return t.__extends(n,e),n.prototype.get_ac=function(){return"TextCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t),t.l('textValue : "'+this.af+'", '),t.l('formatString : "'+this.ae+'", ')},n.$t=i.markType(n,"TextCellModelExport",z.$),n}(z),ue=function(e){return e[e.Default=0]="Default",e[e.FadingUpDownArrows=1]="FadingUpDownArrows",e[e.FadingSimpleUpDownArrows=2]="FadingSimpleUpDownArrows",e[e.Unset=3]="Unset",e}({}),ce=i.markEnum("SortIndicatorStyle","Default,0|FadingUpDownArrows,1|FadingSimpleUpDownArrows,2|Unset,3"),he=function(e){return e[e.Unset=0]="Unset",e[e.None=1]="None",e[e.Opposite=2]="Opposite",e}({}),pe=i.markEnum("ColumnOptionsIconAlignment","Unset,0|None,1|Opposite,2"),fe=function(e){return e[e.Unset=0]="Unset",e[e.AlwaysVisible=1]="AlwaysVisible",e[e.AppearOnHover=2]="AppearOnHover",e[e.AppearOnHoverAnimate=3]="AppearOnHoverAnimate",e}({}),de=i.markEnum("ColumnOptionsIconBehavior","Unset,0|AlwaysVisible,1|AppearOnHover,2|AppearOnHoverAnimate,3"),me=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return t.__extends(n,e),n.prototype.get_ac=function(){return"TextHeaderCell"},n.prototype.ad=function(t){e.prototype.ad.call(this,t)},n.$t=i.markType(n,"TextHeaderCellModelExport",le.$),n}(le),ge=function(e){return e[e.Both=0]="Both",e[e.Root=1]="Root",e[e.Groups=2]="Groups",e[e.None=3]="None",e}({}),be=i.markEnum("SummaryScope","Both,0|Root,1|Groups,2|None,3"),ye=function(e){return e[e.Combined=0]="Combined",e[e.Split=1]="Split",e}({}),ve=i.markEnum("GroupHeaderDisplayMode","Combined,0|Split,1"),_e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._page=0,t._data=null,t}return t.__extends(n,e),Object.defineProperty(n.prototype,"page",{get:function(){return this._page},set:function(e){this._page=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PageChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Ce=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.c=null,t.b=null,t.a=null,t.d=null,t.e=null,t}return t.__extends(n,e),n.$t=i.markType(n,"FormatSummaryTextEventArgs"),n}(i.Base),we=function(e){function n(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=e.call(this)||this;switch(r.s=!1,r.g=0,r.ac=null,r.h=0,r.k=null,r.z=null,r.ab=null,r.ad=null,r.q=!0,r.b=null,r.aa=null,r.a=null,r.f=null,r.e=null,r.x=null,r.u=10,r.formatText=null,r.provideCalculator=null,r.m=null,t=null==t?0:t){case 0:break;case 1:var o=n[0];r.ah=o,r.i=4;break;case 2:o=n[0];var a=n[1];r.ah=o,r.i=a}return r}return t.__extends(n,e),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ac},set:function(e){this.ac=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(e){switch(this.h=e,this.h){case 0:this.l=new i.MinSummaryCalculator;break;case 1:this.l=new i.MaxSummaryCalculator;break;case 2:this.l=new i.SumSummaryCalculator;break;case 3:this.l=new i.AverageSummaryCalculator;break;case 4:this.l=new i.CountSummaryCalculator}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(e){this.k=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.z},set:function(e){this.z=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.ab},set:function(e){this.ab=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ad},set:function(e){this.ad=e,this.aj()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.q},set:function(e){this.q=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.b},set:function(e){this.b=e,this.aj()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.aa},set:function(e){this.aa=e,this.aj()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.a},set:function(e){this.a=e,this.aj()},enumerable:!1,configurable:!0}),n.prototype.aj=function(){null!=this.ai?(this.f=new i.BindingFormatter,this.f.j=this.ai,this.f.d=this.d):this.f=null,null!=this.af?(this.e=new i.BindingFormatter,this.e.j=this.af,this.e.d=this.c):this.e=null},Object.defineProperty(n.prototype,"y",{get:function(){return this.x},set:function(e){this.x=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.u},set:function(e){this.u=e},enumerable:!1,configurable:!0}),n.prototype.equals=function(t){var n=t;return null==n?e.prototype.equals.call(this,t):n.ah==this.ah&&n.i==this.i},n.prototype.getHashCode=function(){return 17*i.Base.getHashCodeStatic(this.ah)+this.i},n.prototype.o=function(e,t,n){var i,r=this,o=((i=new Ce).c=r.ah,i.b=r.ag,i.a=e,i.d=t,i.e=n,i);return null!=this.formatText&&this.formatText(this,o),o},Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(e){var t=this.m;if(null!=t&&(t.provideCalculator=i.delegateRemove(t.provideCalculator,i.runOn(this,this.ak))),this.m=e,null!=this.m){var n=this.m;n.provideCalculator=i.delegateCombine(n.provideCalculator,i.runOn(this,this.ak))}},enumerable:!1,configurable:!0}),n.prototype.ak=function(e,t){null!=this.provideCalculator&&(this.provideCalculator(this,t),this.l=t.a)},n.$t=i.markType(n,"ColumnSummaryDescription"),n}(i.Base),Oe=function(e){function n(){var t=e.call(this)||this;t.f=new i.SyncableObservableCollection$2(we.$,i.SummaryDescription.$,0),t.a=null;var n=t.f;return n.compare=function(e,t){return e.ah==t.propertyName&&e.i==t.operand&&e.t==t.shouldDisplay&&e.l==t.calculator&&e.n==t},n.createFrom=function(e){var t=new we(1,e.propertyName);return t.i=e.operand,t.t=e.shouldDisplay,t.l=e.calculator,t.n=e,t},n.createTo=function(e){var t=new i.SummaryDescription(1,e.ah);return t.operand=e.i,t.shouldDisplay=e.t,t.calculator=e.l,e.n=t,t},t}return t.__extends(n,e),Object.defineProperty(n.prototype,"i",{get:function(){return this.f.shouldDetachOnTargetChange},set:function(e){this.f.shouldDetachOnTargetChange=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(e){if(null==e)return this.f.syncTarget=null,void(this.a=null);this.a=e,this.f.syncTarget=this.a.g()},enumerable:!1,configurable:!0}),n.prototype.g=function(e){return this.f.add(e)},n.prototype.o=function(e,t){this.f.add1(e,t)},n.prototype.n=function(){this.f.clear()},n.prototype.get=function(e){return this.f.get(e)},n.prototype.k=function(e){return this.f.indexOf(e)},n.prototype.h=function(e){return this.f.remove1(e)},n.prototype.d=function(e){return this.f.remove(e)},n.prototype.set=function(e,t){return this.f.set(e,t)},n.prototype.size=function(){return this.f.size()},n.prototype.m=function(e){this.f.addListener(e)},n.prototype.p=function(e){this.f.removeListener(e)},Object.defineProperty(n.prototype,"j",{get:function(){return this.f.all},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ColumnSummaryDescriptionCollection"),n}(i.Base),Pe=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.a=null,t}return t.__extends(n,e),n.$t=i.markType(n,"GridFilterExpressionsEventArgs"),n}(i.Base),je=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._sortDescriptions=null,t}return t.__extends(n,e),Object.defineProperty(n.prototype,"sortDescriptions",{get:function(){return this._sortDescriptions},set:function(e){this._sortDescriptions=e},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridSortDescriptionsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),xe=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._groupDescriptions=null,t}return t.__extends(n,e),Object.defineProperty(n.prototype,"groupDescriptions",{get:function(){return this._groupDescriptions},set:function(e){this._groupDescriptions=e},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridGroupDescriptionsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Se=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._summaryDescriptions=null,t}return t.__extends(n,e),Object.defineProperty(n.prototype,"summaryDescriptions",{get:function(){return this._summaryDescriptions},set:function(e){this._summaryDescriptions=e},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridSummaryDescriptionsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Ee=function(e){function n(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=e.call(this)||this;switch(r.a=null,t=null==t?0:t){case 0:break;case 1:var o=n[0];r.b.o(o)}return r}return t.__extends(n,e),Object.defineProperty(n.prototype,"b",{get:function(){return null==this.a&&(this.a=new i.List$1(i.IDataSourceUpdateNotifier_$type,0)),this.a},enumerable:!1,configurable:!0}),n.prototype.c=function(e){this.b.add(e)},n.prototype.d=function(e){for(var t=0;t<this.b.count;t++)e(this.b._inner[t])},n.prototype.notifyClearItems=function(){this.d((function(e){return e.notifyClearItems()}))},n.prototype.notifyInsertItem=function(e,t){this.d((function(n){return n.notifyInsertItem(e,t)}))},n.prototype.notifyRemoveItem=function(e,t){this.d((function(n){return n.notifyRemoveItem(e,t)}))},n.prototype.notifySetItem=function(e,t,n){this.d((function(i){return i.notifySetItem(e,t,n)}))},n.prototype.rangeActualized=function(e,t){this.d((function(n){return n.rangeActualized(e,t)}))},n.$t=i.markType(n,"MultipleDataSourceNotifier",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),Ie=function(e){function n(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=e.call(this)||this;switch(r.e=null,r.b=0,t=null==t?0:t){case 0:break;case 1:var o=n[0];r.f=o;break;case 2:o=n[0];var a=n[1];r.f=o,r.c=a}return r}return t.__extends(n,e),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},set:function(e){this.e=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.b},set:function(e){this.b=e},enumerable:!1,configurable:!0}),n.prototype.equals=function(t){var n=t;return null==n?e.prototype.equals.call(this,t):n.f==this.f&&n.c==this.c},n.prototype.getHashCode=function(){return 17*i.Base.getHashCodeStatic(this.f)+this.c},n.$t=i.markType(n,"ColumnSortDescription"),n}(i.Base),ke=function(e){function n(){var t=e.call(this)||this;t.f=new i.SyncableObservableCollection$2(Ie.$,i.SortDescription.$,0),t.a=null;var n=t.f;return n.compare=function(e,t){return e.f==t.propertyName},n.createFrom=function(e){return new Ie(2,e.propertyName,e.direction)},n.createTo=function(e){var t=e.c;return i.SortDescription.create(e.f,t)},t}return t.__extends(n,e),Object.defineProperty(n.prototype,"i",{get:function(){return this.f.shouldDetachOnTargetChange},set:function(e){this.f.shouldDetachOnTargetChange=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(e){if(null==e)return this.f.syncTarget=null,void(this.a=null);this.a=e,this.f.syncTarget=this.a.getInner()},enumerable:!1,configurable:!0}),n.prototype.g=function(e){return this.f.add(e)},n.prototype.o=function(e,t){this.f.add1(e,t)},n.prototype.n=function(){this.f.clear()},n.prototype.get=function(e){return this.f.get(e)},n.prototype.k=function(e){return this.f.indexOf(e)},n.prototype.h=function(e){return this.f.remove1(e)},n.prototype.d=function(e){return this.f.remove(e)},n.prototype.set=function(e,t){return this.f.set(e,t)},n.prototype.size=function(){return this.f.size()},n.prototype.m=function(e){this.f.addListener(e)},n.prototype.p=function(e){this.f.removeListener(e)},Object.defineProperty(n.prototype,"j",{get:function(){return this.f.all},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ColumnSortDescriptionCollection"),n}(i.Base),Te=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.d=null,t.a=null,t.c=null,t.b=null,t}return t.__extends(n,e),n.$t=i.markType(n,"FormatGroupTextEventArgs"),n}(i.Base),Re=function(e){function n(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=this;switch(t=null==t?0:t){case 0:(r=e.call(this,0)||this).t=null,r.h=null,r.r=null,r.g=null,r.p=null,r.s=null,r.o=!1,r.m=0,r.l=null,r.k=null,r.formatText=null,r.o=!1,r.m=11;break;case 1:var o=n[0];(r=e.call(this,1,o)||this).t=null,r.h=null,r.r=null,r.g=null,r.p=null,r.s=null,r.o=!1,r.m=0,r.l=null,r.k=null,r.formatText=null,r.o=!1,r.m=11;break;case 2:o=n[0];var a=n[1];(r=e.call(this,2,o,a)||this).t=null,r.h=null,r.r=null,r.g=null,r.p=null,r.s=null,r.o=!1,r.m=0,r.l=null,r.k=null,r.formatText=null,r.o=!1,r.m=11;break;case 3:o=n[0],a=n[1];var s=n[2];(r=e.call(this,2,o,a)||this).t=null,r.h=null,r.r=null,r.g=null,r.p=null,r.s=null,r.o=!1,r.m=0,r.l=null,r.k=null,r.formatText=null,r.o=!1,r.m=11,r.v=s}return r}return t.__extends(n,e),Object.defineProperty(n.prototype,"x",{get:function(){return this.t},set:function(e){this.t=e,this.y()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.h},set:function(e){this.h=e,this.y()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.r},set:function(e){this.r=e,this.y()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(e){this.g=e,this.y()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.p},set:function(e){this.p=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.s},set:function(e){this.s=e},enumerable:!1,configurable:!0}),n.prototype.y=function(){null!=this.x?(this.l=new i.BindingFormatter,this.l.j=this.x,this.l.d=this.j):this.l=null,null!=this.u?(this.k=new i.BindingFormatter,this.k.j=this.u,this.k.d=this.i):this.k=null},n.prototype.w=function(e,t,n){var i,r=this,o=null;return null!=this.formatText&&((i=new Te).d=r.f,i.a=e,i.c=t,i.b=n,o=i,this.formatText(this,o)),null==o?n:o.b},n.$t=i.markType(n,"ColumnGroupDescription",Ie.$),n}(Ie),Ae=function(e){function n(){var t=e.call(this)||this;t.f=new i.SyncableObservableCollection$2(Re.$,i.SortDescription.$,0),t.a=null;var n=t.f;return n.compare=function(e,t){return e.f==t.propertyName},n.createFrom=function(e){return new Re(3,e.propertyName,e.direction,e.displayName)},n.createTo=function(e){var t=e.c;return i.SortDescription.create(e.f,t,e.v)},t}return t.__extends(n,e),Object.defineProperty(n.prototype,"i",{get:function(){return this.f.shouldDetachOnTargetChange},set:function(e){this.f.shouldDetachOnTargetChange=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(e){if(null==e)return this.f.syncTarget=null,void(this.a=null);this.a=e,this.f.syncTarget=this.a.getInner()},enumerable:!1,configurable:!0}),n.prototype.g=function(e){return this.f.add(e)},n.prototype.o=function(e,t){this.f.add1(e,t)},n.prototype.n=function(){this.f.clear()},n.prototype.get=function(e){return this.f.get(e)},n.prototype.k=function(e){return this.f.indexOf(e)},n.prototype.h=function(e){return this.f.remove1(e)},n.prototype.d=function(e){return this.f.remove(e)},n.prototype.set=function(e,t){return this.f.set(e,t)},n.prototype.size=function(){return this.f.size()},n.prototype.m=function(e){this.f.addListener(e)},n.prototype.p=function(e){this.f.removeListener(e)},Object.defineProperty(n.prototype,"j",{get:function(){return this.f.all},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ColumnGroupDescriptionCollection"),n}(i.Base),Be=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.a=null,t.b=null,t.n=null,t.o=null,t.p=null,t.g=0,t.l=null,t.m=null,t.h=0,t.i=0,t.k=null,t.c=null,t.f=null,t.e=null,t.d=null,t}return t.__extends(n,e),n.prototype.j=function(){var e=new i.StringBuilder(0);return e.l("{"),null!=this.a&&e.l("actualBackgroundColor : "+this.a.serialize()+", "),null!=this.b&&e.l("actualBorderColor : "+this.b.serialize()+", "),i.stringIsNullOrEmpty(this.n)||e.l('textStyleFontStyle : "'+this.n+'", '),i.stringIsNullOrEmpty(this.o)||e.l('textStyleFontVariant : "'+this.o+'", '),i.stringIsNullOrEmpty(this.p)||e.l('textStyleFontWeight : "'+this.p+'", '),i.stringIsNullOrEmpty(this.l)||e.l('textStyleFontFamily : "'+this.l+'", '),i.stringIsNullOrEmpty(this.m)||e.l('textStyleFontStretch : "'+this.m+'", '),i.isNaN_(this.g)||e.l("textStyleFontSize : "+this.g+", "),e.l("text : '"+this.k+"', "),e.l("currentPage : "+this.h+", "),e.l("pageCount : "+this.i+", "),null!=this.c&&e.l("firstPageButton : "+this.c.serialize()+", "),null!=this.f&&e.