UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

7 lines 1.7 MB
/*! 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(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-inputs"),require("igniteui-webcomponents-layouts")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core","igniteui-webcomponents-inputs","igniteui-webcomponents-layouts"],e):e((t=t||self)["igniteui-webcomponents-grids"]={},t.tslib,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs,t.igniteuiWebcomponentsLayouts)}(this,(function(t,e,i,n,r){"use strict";var o=function(t){return t[t.Default=0]="Default",t[t.FadingUpDownArrows=1]="FadingUpDownArrows",t[t.FadingSimpleUpDownArrows=2]="FadingSimpleUpDownArrows",t[t.Unset=3]="Unset",t}({}),s=i.markEnum("SortIndicatorStyle","Default,0|FadingUpDownArrows,1|FadingSimpleUpDownArrows,2|Unset,3"),a=function(t){return t[t.Left=0]="Left",t[t.Center=1]="Center",t[t.Right=2]="Right",t[t.Stretch=3]="Stretch",t[t.Auto=4]="Auto",t}({}),l=i.markEnum("CellContentHorizontalAlignment","Left,0|Center,1|Right,2|Stretch,3|Auto,4"),u=function(t){return t[t.Top=0]="Top",t[t.Center=1]="Center",t[t.Bottom=2]="Bottom",t[t.Stretch=3]="Stretch",t[t.Auto=4]="Auto",t}({}),h=i.markEnum("CellContentVerticalAlignment","Top,0|Center,1|Bottom,2|Stretch,3|Auto,4"),c=function(t){return t[t.Ellipsis=0]="Ellipsis",t[t.NoWrap=1]="NoWrap",t[t.WordWrap=2]="WordWrap",t[t.CharacterWrap=3]="CharacterWrap",t}({}),p=i.markEnum("TextCellLineBreakMode","Ellipsis,0|NoWrap,1|WordWrap,2|CharacterWrap,3"),d=function(t){return t[t.Equals=0]="Equals",t[t.NotEquals=1]="NotEquals",t[t.LessThan=2]="LessThan",t[t.LessThanOrEqualTo=3]="LessThanOrEqualTo",t[t.GreaterThan=4]="GreaterThan",t[t.GreaterThanOrEqualTo=5]="GreaterThanOrEqualTo",t[t.Top=6]="Top",t[t.Bottom=7]="Bottom",t[t.TopPercentile=8]="TopPercentile",t[t.BottomPercentile=9]="BottomPercentile",t[t.True=10]="True",t[t.False=11]="False",t[t.Contains=12]="Contains",t[t.DoesNotContain=13]="DoesNotContain",t[t.StartsWith=14]="StartsWith",t[t.DoesNotStartWith=15]="DoesNotStartWith",t[t.EndsWith=16]="EndsWith",t[t.DoesNotEndWith=17]="DoesNotEndWith",t[t.Today=18]="Today",t[t.Tomorrow=19]="Tomorrow",t[t.Yesterday=20]="Yesterday",t[t.NextWeek=21]="NextWeek",t[t.ThisWeek=22]="ThisWeek",t[t.LastWeek=23]="LastWeek",t[t.NextMonth=24]="NextMonth",t[t.ThisMonth=25]="ThisMonth",t[t.LastMonth=26]="LastMonth",t[t.NextQuarter=27]="NextQuarter",t[t.ThisQuarter=28]="ThisQuarter",t[t.LastQuarter=29]="LastQuarter",t[t.NextYear=30]="NextYear",t[t.ThisYear=31]="ThisYear",t[t.LastYear=32]="LastYear",t[t.YearToDate=33]="YearToDate",t[t.Q1=34]="Q1",t[t.Q2=35]="Q2",t[t.Q3=36]="Q3",t[t.Q4=37]="Q4",t[t.Month=38]="Month",t[t.Year=39]="Year",t[t.Empty=40]="Empty",t[t.NotEmpty=41]="NotEmpty",t[t.IsNull=42]="IsNull",t[t.IsNotNull=43]="IsNotNull",t[t.Custom=44]="Custom",t}({}),f=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"),m=i.markEnum("FixedCellPositions","None,0|Left,1|Right,2|Top,3|Bottom,4"),g=function(t){function n(e,i){var n=t.call(this)||this;return n.n=0,n.m=0,n.a=0,n.c=0,n.l=-1,n.e=!1,n.k=-1,n.b=0,n.d=0,n.n=e,n.m=i,n.ad(),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"y",{get:function(){return this.n},set:function(t){this.n=t,this.ad()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.m},set:function(t){this.m=t,this.ad()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){this.a=t,this.ad()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){this.c=t,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(t){var e=t;return this.a==e.a&&(this.n==e.n&&this.m==e.m)},n.prototype.toString=function(){return"F"+i.enumGetBox(m,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(t){this.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.k},set:function(t){this.k=t},enumerable:!1,configurable:!0}),n.prototype.ab=function(){var t=new n(this.y,this.x);return t.b=this.b,t.i=this.i,t.o=this.o,t},n.$t=i.markType(n,"RowPath"),n}(i.Base),b=function(t){function n(){var e=t.call(this)||this;return e.a=0,e.c=null,e.___mustPassByValue=!0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){this.c=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridCellPosition"),n}(i.Base),y=function(t){return t[t.None=0]="None",t[t.Cell=1]="Cell",t[t.CellBatch=2]="CellBatch",t[t.Row=3]="Row",t}({}),v=i.markEnum("EditModeType","None,0|Cell,1|CellBatch,2|Row,3"),C=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=0,e.d=0,e.h=0,e.e=0,e.f=0,e.c=0,e.a=0,e.b=0,e}return e.__extends(n,t),n.$t=i.markType(n,"GridViewportChangedEventArgs"),n}(i.Base),_=new i.Type(null,"ICellModelExportUpdater"),w=i.markEnum("ModelStates","New,0|Recycled,1|Inview,2"),S=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=this;switch(e=null==e?0:e){case 0:var o=i[0],s=i[1],a=i[2],l=i[3],u=[s,a,l],h=u[0],c=u[1],p=u[2];(r=t.call(this,c,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=h,r.ad(),r.b=o,r.ad();break;case 1:o=i[0],s=i[1],a=i[2];(r=t.call(this,s,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 2:o=i[0],s=i[1];(r=t.call(this,0,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 3:o=i[0],s=i[1],a=i[2];(r=t.call(this,0,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.ae=a,r.ad()}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a5",{get:function(){return this.a3},set:function(t){this.a3=t,this.ad()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bb",{get:function(){return this.a4},set:function(t){this.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.ae},set:function(t){this.ae=t,this.ad()},enumerable:!1,configurable:!0}),n.prototype.ad=function(){t.prototype.ad.call(this),this.a2=1e8*this.a5+t.prototype.getHashCode.call(this)+this.af},n.prototype.getHashCode=function(){return this.a2},n.prototype.equals=function(e){if(!t.prototype.equals.call(this,e))return!1;var i=e;return null!=e&&(this.a3==i.a3&&(this.az==i.az&&(this.aw==i.aw&&this.af==i.af)))},n.prototype.toString=function(){return this.a3+"."+t.prototype.toString.call(this)},n.prototype.ab=function(){var t=new n(0,this.b,this.a3,this.y,this.x);return t.bb=this.bb,t.az=this.az,t.aw=this.aw,t.i=this.i,t.o=this.o,t.d=this.d,t.au=this.au,t.ai=this.ai,t.ax=this.ax,t.af=this.af,t},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(t){this.ah=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.ag},set:function(t){this.ag=t},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",g.$),n}(g),P=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"),O=function(t){return t[t.None=0]="None",t[t.Ascending=1]="Ascending",t[t.Descending=2]="Descending",t}({}),x=i.markEnum("ColumnSortDirection","None,0|Ascending,1|Descending,2"),j=function(t){return t[t.None=0]="None",t[t.Left=1]="Left",t[t.Right=2]="Right",t}({}),k=i.markEnum("PinnedPositions","None,0|Left,1|Right,2"),I=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),Object.defineProperty(n,"bo",{get:function(){if(null==n.at){n.at=((t=new i.Brush).fill="#babfc7",t)}var t;return n.at},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bq",{get:function(){if(null==n.av){n.av=((t=new i.Brush).fill="#dde2eb",t)}var t;return n.av},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bi",{get:function(){var t;return null==n.an&&(n.an=((t=new i.Brush).color=i.Color.u(255,224,224,224),t)),n.an},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a8",{get:function(){if(null==n.ad){n.ad=((t=new i.Brush).fill="#babfc7",t)}var t;return n.ad},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a6",{get:function(){if(null==n.ab){n.ab=((t=new i.Brush).fill="#babfc7",t)}var t;return n.ab},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bs",{get:function(){if(null==n.ax){n.ax=((t=new i.Brush).fill="#ff80ab",t)}var t;return n.ax},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bt",{get:function(){if(null==n.ay){n.ay=((t=new i.Brush).fill="#181d1f",t)}var t;return n.ay},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a0",{get:function(){if(null==n.v){n.v=((t=new i.Brush).fill="#3c90bd",t)}var t;return n.v},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a1",{get:function(){if(null==n.w){n.w=((t=new i.Brush).fill="#204f69",t)}var t;return n.w},enumerable:!1,configurable:!0}),Object.defineProperty(n,"az",{get:function(){if(null==n.u){n.u=((t=new i.Brush).fill="#2196f3",t)}var t;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 t;return null==n.x&&(n.x=((t=new i.Brush).fill="White",t)),n.x},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a7",{get:function(){if(null==n.ac){n.ac=((t=new i.Brush).color=i.Color.u(255,232,244,254),t)}var t;return n.ac},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bn",{get:function(){if(null==n.as){n.as=((t=new i.Brush).fill="#F8F8F8",t)}var t;return n.as},enumerable:!1,configurable:!0}),Object.defineProperty(n,"br",{get:function(){if(null==n.aw){n.aw=((t=new i.Brush).fill="#181d1f",t)}var t;return n.aw},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bp",{get:function(){if(null==n.au){n.au=((t=new i.Brush).fill="#181d1f",t)}var t;return n.au},enumerable:!1,configurable:!0}),Object.defineProperty(n,"be",{get:function(){if(null==n.aj){n.aj=((t=new i.Brush).fill="#fafafa",t)}var t;return n.aj},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bd",{get:function(){var t;return null==n.ai&&(n.ai=((t=new i.Brush).fill="#f5f5dc",t)),n.ai},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bh",{get:function(){if(null==n.am){n.am=((t=new i.Brush).fill="#ffffff",t)}var t;return n.am},enumerable:!1,configurable:!0}),Object.defineProperty(n,"ba",{get:function(){if(null==n.af){n.af=((t=new i.Brush).fill="#ffffff",t)}var t;return n.af},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bc",{get:function(){if(null==n.ah){n.ah=((t=new i.Brush).fill="#f8f8f8",t)}var t;return n.ah},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bf",{get:function(){if(null==n.ak){n.ak=((t=new i.Brush).fill="#fafafa",t)}var t;return n.ak},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bj",{get:function(){if(null==n.ao){n.ao=((t=new i.Brush).fill="#0099FF",t)}var t;return n.ao},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bk",{get:function(){if(null==n.ap){n.ap=((t=new i.Brush).fill="#181d1f",t)}var t;return n.ap},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a4",{get:function(){if(null==n.z){n.z=((t=new i.Brush).fill="#2196f3",t)}var t;return n.z},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bb",{get:function(){if(null==n.ag){n.ag=((t=new i.Brush).fill="#2196f3",t)}var t;return n.ag},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a9",{get:function(){if(null==n.ae){n.ae=((t=new i.Brush).fill="#babfc7",t)}var t;return n.ae},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a5",{get:function(){if(null==n.aa){n.aa=((t=new i.Brush).fill="#181d1f",t)}var t;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=((t=new i.Brush).fill="#babfc7",t)}var t;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=((t=new i.Brush).fill="#ff0000",t)}var t;return n.ar},enumerable:!1,configurable:!0}),Object.defineProperty(n,"bl",{get:function(){var t;return null==n.aq&&(n.aq=((t=new i.Brush).color=i.Color.u(0,0,0,0),t)),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),T=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.r=0,e.s=0,e.n=0,e.o=0,e.k=0,e.q=0,e.m=0,e.h=0,e.l=0,e.i=0,e.a=null,e.b=null,e.d=0,e.e=0,e.aa=null,e.c=null,e.w=null,e.x=null,e.y=null,e.j=0,e.u=null,e.v=null,e.p=0,e.f=0,e.t=0,e.g=!1,e.z=null,e}return e.__extends(n,t),n.prototype.ab=function(){var t=new i.StringBuilder(0);t.l("{ "),t.l('type : "'+this.ac+'", '),t.l("x : "+this.r+", "),t.l("y : "+this.s+", "),t.l("snappedX : "+this.n+", "),t.l("snappedY : "+this.o+", "),t.l("height : "+this.k+", "),t.l("width : "+this.q+", "),t.l('lineBreakMode: "'+this.z+'", '),t.l("selectedStatus : "+this.m+", "),t.l("activationStatus : "+this.h+", "),t.l("virtualizationPercentage : "+this.p+", "),t.l("backgroundBrushData : "+this.a.serialize()+", "),null!=this.b&&t.l("borderBrushData : "+this.b.serialize()+", "),t.l("opacity : "+this.l+", "),t.l("contentOpacity : "+this.i+", "),null!=this.d&&t.l("horizontalAlignment : "+this.d+", "),null!=this.e&&t.l("verticalAlignment : "+this.e+", "),t.l('renderValue : "'+this.aa+'", '),null!=this.c&&t.l("textColor : "+this.c.serialize()+", "),i.stringIsNullOrEmpty(this.w)||t.l('fontStyle : "'+this.w+'", '),i.stringIsNullOrEmpty(this.x)||t.l('fontVariant : "'+this.x+'", '),i.stringIsNullOrEmpty(this.y)||t.l('fontWeight : "'+this.y+'", '),i.stringIsNullOrEmpty(this.u)||t.l('fontFamily : "'+this.u+'", '),i.stringIsNullOrEmpty(this.v)||t.l('fontStretch : "'+this.v+'", '),i.isNaN_(this.j)||t.l("fontSize : "+this.j+", "),t.l("sortDirection : "+this.f+", "),t.l("indent : "+this.t+", "),t.l("isCollapsable : "+this.g.toString().toLowerCase()+", "),this.ad(t);var e=t.toString();return i.stringEndsWith(e,", ")&&(e=e.substr(0,e.length-2)),e+="} "},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(t){},n.$t=i.markType(n,"CellModelExport"),n}(i.Base),R=function(t){return t[t.List=0]="List",t[t.Cells=1]="Cells",t[t.RowTop=2]="RowTop",t[t.RowBottom=3]="RowBottom",t[t.None=4]="None",t}({}),A=i.markEnum("GroupSummaryDisplayMode","List,0|Cells,1|RowTop,2|RowBottom,3|None,4"),E=function(t){return t[t.DateShort=0]="DateShort",t[t.DateLong=1]="DateLong",t[t.TimeShort=2]="TimeShort",t[t.TimeLong=3]="TimeLong",t[t.DateTimeShort=4]="DateTimeShort",t[t.DateTimeLong=5]="DateTimeLong",t}({}),B=i.markEnum("DateTimeFormats","DateShort,0|DateLong,1|TimeShort,2|TimeLong,3|DateTimeShort,4|DateTimeLong,5"),D=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=!1,e.f=null,e.e=null,e.c=null,e.d=null,e.g=null,e.h=null,e}return e.__extends(n,t),n.prototype.k=function(){this.b=!0},n.prototype.j=function(t){this.a=t,this.b=!1},n.prototype.i=function(t){if(+t==+i.dateMinValue())return"";if(Intl&&Intl.DateTimeFormat){var e=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"})),e=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"})),e=this.e;break;case 1:null==this.c&&(this.c=new Intl.DateTimeFormat([],{weekday:"long",month:"long",day:"numeric",year:"numeric"})),e=this.c;break;case 0:null==this.d&&(this.d=new Intl.DateTimeFormat([],{month:"numeric",day:"numeric",year:"numeric"})),e=this.d;break;case 3:null==this.g&&(this.g=new Intl.DateTimeFormat([],{hour:"numeric",minute:"numeric",second:"numeric"})),e=this.g;break;case 2:null==this.h&&(this.h=new Intl.DateTimeFormat([],{hour:"numeric",minute:"numeric"})),e=this.h}var n=t;return e.format(n)}n=t;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 t.toString()},n.$t=i.markType(n,"DateTimeColumnValueFormatter"),n}(i.Base),$=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.af=new Date,e.ag=0,e.ae=!1,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"DateTimeCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e),e.l("dateTimeFormat : "+this.ag+", ")},n.$t=i.markType(n,"DateTimeCellModelExport",T.$),n}(T),M=function(t){return t[t.Default=0]="Default",t[t.Text=1]="Text",t[t.Numeric=2]="Numeric",t[t.Date=3]="Date",t[t.Combo=4]="Combo",t}({}),z=i.markEnum("EditorType","Default,0|Text,1|Numeric,2|Date,3|Combo,4"),N=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.af=!1,e.ag=null,e.ae=0,e.ah=null,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"EditorCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e),e.l("isHidden: "+this.af.toString().toLowerCase()+", "),e.l("editValue: '"+this.ag+"', "),e.l("dataType: '"+i.enumGetBox(i.DataSourceSchemaPropertyType_$type,this.ae)+"', "),e.l("errorMessage: '"+this.ah+"', ")},n.$t=i.markType(n,"EditorCellModelExport",T.$),n}(T),F=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.af=0,e.ag=!1,e.ae=0,e.an=null,e.am=0,e.al=0,e.ak=0,e.aj=0,e.ai=0,e.ah=0,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"FilterCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e),e.l("dataType: '"+i.enumGetBox(i.DataSourceSchemaPropertyType_$type,this.af)+"', "),e.l("isEnabled: "+this.ag.toString().toLowerCase()+", "),e.l("filterValue: '"+this.an+"', "),e.l("operatorType: '"+i.enumGetBox(f,this.ae)+"', "),e.l("selectorTop: '"+this.am+"', "),e.l("selectorLeft: '"+this.al+"', "),e.l("editorTop: '"+this.ak+"', "),e.l("editorLeft: '"+this.aj+"', "),e.l("clearIconTop: '"+this.ai+"', "),e.l("clearIconLeft: '"+this.ah+"', ")},n.$t=i.markType(n,"FilterCellModelExport",T.$),n}(T),G=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ai=null,e.ao=null,e.ae=null,e.af=null,e.al=null,e.am=null,e.an=null,e.ag=0,e.aj=null,e.ak=null,e.ar=null,e.as=null,e.at=null,e.ah=0,e.ap=null,e.aq=null,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"SummaryCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e),e.l('summaryLabel : "'+this.ai+'", '),e.l('summaryValue : "'+this.ao+'", '),null!=this.ae&&e.l("summaryLabelColor : "+this.ae.serialize()+", "),null!=this.af&&e.l("summaryValueColor : "+this.af.serialize()+", "),i.stringIsNullOrEmpty(this.al)||e.l('summaryLabelFontStyle : "'+this.al+'", '),i.stringIsNullOrEmpty(this.am)||e.l('summaryLabelFontVariant : "'+this.am+'", '),i.stringIsNullOrEmpty(this.an)||e.l('summaryLabelFontWeight : "'+this.an+'", '),i.isNaN_(this.ag)||e.l("summaryLabelFontSize : "+this.ag+", "),i.stringIsNullOrEmpty(this.aj)||e.l('summaryLabelFontFamily : "'+this.aj+'", '),i.stringIsNullOrEmpty(this.ak)||e.l('summaryLabelFontStretch : "'+this.ak+'", '),i.stringIsNullOrEmpty(this.ar)||e.l('summaryValueFontStyle : "'+this.ar+'", '),i.stringIsNullOrEmpty(this.as)||e.l('summaryValueFontVariant : "'+this.as+'", '),i.stringIsNullOrEmpty(this.at)||e.l('summaryValueFontWeight : "'+this.at+'", '),i.isNaN_(this.ah)||e.l("summaryValueFontSize : "+this.ah+", "),i.stringIsNullOrEmpty(this.ap)||e.l('summaryValueFontFamily : "'+this.ap+'", '),i.stringIsNullOrEmpty(this.aq)||e.l('summaryValueFontStretch : "'+this.aq+'", ')},n.$t=i.markType(n,"SummaryCellModelExport",T.$),n}(T),V=function(t){return t[t.Uniform=0]="Uniform",t[t.Fill=1]="Fill",t[t.None=2]="None",t}({}),q=i.markEnum("ImageStretchOptions","Uniform,0|Fill,1|None,2"),L=function(t){return t[t.Unspecified=0]="Unspecified",t[t.LocalResource=1]="LocalResource",t[t.LocalAsset=2]="LocalAsset",t[t.EmbeddedResource=3]="EmbeddedResource",t[t.RemoteResource=4]="RemoteResource",t}({}),H=i.markEnum("ImageResourceType","Unspecified,0|LocalResource,1|LocalAsset,2|EmbeddedResource,3|RemoteResource,4"),W=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ae=null,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"ImageCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e),e.l('imagePath : "'+this.ae+'", ')},n.$t=i.markType(n,"ImageCellModelExport",T.$),n}(T),U=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ae=0,e.af=0,e.ag=0,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"NumericCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e),e.l("numericValue : "+this.ae+", "),e.l("maxDecimalPlaces : "+this.af+", "),e.l("minDecimalPlaces : "+this.ag+", ")},n.$t=i.markType(n,"NumericCellModelExport",T.$),n}(T),K=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.prototype.get_ac=function(){return"RowSeparator"},n.prototype.ad=function(e){t.prototype.ad.call(this,e)},n.$t=i.markType(n,"RowSeparatorModelExport",T.$),n}(T),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.a=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"GroupData"),n}(i.Base),Q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=null,e.b=null,e.a=0,e.c=null,e.d=null,e}return e.__extends(n,t),n.$t=i.markType(n,"SummaryData"),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.af=null,e.ag=null,e.ae=null,e.al=null,e.ai=null,e.ak=null,e.aj=null,e.ah=null,e.am=null,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"SectionHeaderCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e);for(var n="groupNames : [ ",r="groupValues : [ ",o=0;o<this.af.length;o++)n+='"'+this.af[o]+'", ',r+='"'+this.ag[o]+'", ';var s="summaryNames : [ ",a="summaryValues : [ ",l="summaryOperands : [ ",u="summaryFormattedText : [ ";if(null!=this.ai)for(var h=0;h<this.ai.length;h++)s+='"'+this.ai[h]+'", ',a+='"'+this.ak[h]+'", ',l+='"'+i.enumGetBox(i.DataSourceSummaryOperand_$type,this.aj[h])+'", ',u+='"'+this.ah[h]+'", ';e.l(n+" ], "),e.l(r+" ], "),e.l('formattedText : "'+this.al+'", '),e.l(s+" ], "),e.l(a+" ], "),e.l(l+" ], "),e.l(u+" ], "),e.l('fullSummaryFormattedText : "'+this.am+'", ')},n.$t=i.markType(n,"SectionHeaderCellModelExport",T.$),n}(T),Z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ae=null,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"TemplateCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e)},n.$t=i.markType(n,"TemplateCellModelExport",T.$),n}(T),J=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.af=null,e.ae=null,e}return e.__extends(n,t),n.prototype.get_ac=function(){return"TextCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e),e.l('textValue : "'+this.af+'", '),e.l('formatString : "'+this.ae+'", ')},n.$t=i.markType(n,"TextCellModelExport",T.$),n}(T),tt=function(t){return t[t.Unset=0]="Unset",t[t.None=1]="None",t[t.Opposite=2]="Opposite",t}({}),et=i.markEnum("ColumnOptionsIconAlignment","Unset,0|None,1|Opposite,2"),it=function(t){return t[t.Unset=0]="Unset",t[t.AlwaysVisible=1]="AlwaysVisible",t[t.AppearOnHover=2]="AppearOnHover",t[t.AppearOnHoverAnimate=3]="AppearOnHoverAnimate",t}({}),nt=i.markEnum("ColumnOptionsIconBehavior","Unset,0|AlwaysVisible,1|AppearOnHover,2|AppearOnHoverAnimate,3"),rt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.prototype.get_ac=function(){return"TextHeaderCell"},n.prototype.ad=function(e){t.prototype.ad.call(this,e)},n.$t=i.markType(n,"TextHeaderCellModelExport",J.$),n}(J),ot=function(t){return t[t.Both=0]="Both",t[t.Root=1]="Root",t[t.Groups=2]="Groups",t[t.None=3]="None",t}({}),st=i.markEnum("SummaryScope","Both,0|Root,1|Groups,2|None,3"),at=function(t){return t[t.Combined=0]="Combined",t[t.Split=1]="Split",t}({}),lt=i.markEnum("GroupHeaderDisplayMode","Combined,0|Split,1"),ut=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._page=0,e._data=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"page",{get:function(){return this._page},set:function(t){this._page=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"data",{get:function(){return this._data},set:function(t){this._data=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PageChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),ht=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.b=null,e.a=null,e.d=null,e.e=null,e}return e.__extends(n,t),n.$t=i.markType(n,"FormatSummaryTextEventArgs"),n}(i.Base),ct=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.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,e=null==e?0:e){case 0:break;case 1:var o=i[0];r.ah=o,r.i=4;break;case 2:o=i[0];var s=i[1];r.ah=o,r.i=s}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ac},set:function(t){this.ac=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){switch(this.h=t,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(t){this.k=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.z},set:function(t){this.z=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.ab},set:function(t){this.ab=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ad},set:function(t){this.ad=t,this.aj()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.q},set:function(t){this.q=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.b},set:function(t){this.b=t,this.aj()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.aa},set:function(t){this.aa=t,this.aj()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.a},set:function(t){this.a=t,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(t){this.x=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.u},set:function(t){this.u=t},enumerable:!1,configurable:!0}),n.prototype.equals=function(e){var i=e;return null==i?t.prototype.equals.call(this,e):i.ah==this.ah&&i.i==this.i},n.prototype.getHashCode=function(){return 17*i.Base.getHashCodeStatic(this.ah)+this.i},n.prototype.o=function(t,e,i){var n,r=this,o=((n=new ht).c=r.ah,n.b=r.ag,n.a=t,n.d=e,n.e=i,n);return null!=this.formatText&&this.formatText(this,o),o},Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;if(null!=e&&(e.provideCalculator=i.delegateRemove(e.provideCalculator,i.runOn(this,this.ak))),this.m=t,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(t,e){null!=this.provideCalculator&&(this.provideCalculator(this,e),this.l=e.a)},n.$t=i.markType(n,"ColumnSummaryDescription"),n}(i.Base),pt=function(t){function n(){var e=t.call(this)||this;e.f=new i.SyncableObservableCollection$2(ct.$,i.SummaryDescription.$,0),e.a=null;var n=e.f;return n.compare=function(t,e){return t.ah==e.propertyName&&t.i==e.operand&&t.t==e.shouldDisplay&&t.l==e.calculator&&t.n==e},n.createFrom=function(t){var e=new ct(1,t.propertyName);return e.i=t.operand,e.t=t.shouldDisplay,e.l=t.calculator,e.n=t,e},n.createTo=function(t){var e=new i.SummaryDescription(1,t.ah);return e.operand=t.i,e.shouldDisplay=t.t,e.calculator=t.l,t.n=e,e},e}return e.__extends(n,t),Object.defineProperty(n.prototype,"i",{get:function(){return this.f.shouldDetachOnTargetChange},set:function(t){this.f.shouldDetachOnTargetChange=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){if(null==t)return this.f.syncTarget=null,void(this.a=null);this.a=t,this.f.syncTarget=this.a.g()},enumerable:!1,configurable:!0}),n.prototype.g=function(t){return this.f.add(t)},n.prototype.o=function(t,e){this.f.add1(t,e)},n.prototype.n=function(){this.f.clear()},n.prototype.get=function(t){return this.f.get(t)},n.prototype.k=function(t){return this.f.indexOf(t)},n.prototype.h=function(t){return this.f.remove1(t)},n.prototype.d=function(t){return this.f.remove(t)},n.prototype.set=function(t,e){return this.f.set(t,e)},n.prototype.size=function(){return this.f.size()},n.prototype.m=function(t){this.f.addListener(t)},n.prototype.p=function(t){this.f.removeListener(t)},Object.defineProperty(n.prototype,"j",{get:function(){return this.f.all},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ColumnSummaryDescriptionCollection"),n}(i.Base),dt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"GridFilterExpressionsEventArgs"),n}(i.Base),ft=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._sortDescriptions=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"sortDescriptions",{get:function(){return this._sortDescriptions},set:function(t){this._sortDescriptions=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridSortDescriptionsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),mt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._groupDescriptions=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"groupDescriptions",{get:function(){return this._groupDescriptions},set:function(t){this._groupDescriptions=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridGroupDescriptionsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),gt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._summaryDescriptions=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"summaryDescriptions",{get:function(){return this._summaryDescriptions},set:function(t){this._summaryDescriptions=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"GridSummaryDescriptionsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),bt=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,e=null==e?0:e){case 0:break;case 1:var o=i[0];r.b.o(o)}return r}return e.__extends(n,t),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(t){this.b.add(t)},n.prototype.d=function(t){for(var e=0;e<this.b.count;e++)t(this.b._inner[e])},n.prototype.notifyClearItems=function(){this.d((function(t){return t.notifyClearItems()}))},n.prototype.notifyInsertItem=function(t,e){this.d((function(i){return i.notifyInsertItem(t,e)}))},n.prototype.notifyRemoveItem=function(t,e){this.d((function(i){return i.notifyRemoveItem(t,e)}))},n.prototype.notifySetItem=function(t,e,i){this.d((function(n){return n.notifySetItem(t,e,i)}))},n.prototype.rangeActualized=function(t,e){this.d((function(i){return i.rangeActualized(t,e)}))},n.$t=i.markType(n,"MultipleDataSourceNotifier",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),yt=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.e=null,r.b=0,e=null==e?0:e){case 0:break;case 1:var o=i[0];r.f=o;break;case 2:o=i[0];var s=i[1];r.f=o,r.c=s}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},set:function(t){this.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.prototype.equals=function(e){var i=e;return null==i?t.prototype.equals.call(this,e):i.f==this.f&&i.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),vt=function(t){function n(){var e=t.call(this)||this;e.f=new i.SyncableObservableCollection$2(yt.$,i.SortDescription.$,0),e.a=null;var n=e.f;return n.compare=function(t,e){return t.f==e.propertyName},n.createFrom=function(t){return new yt(2,t.propertyName,t.direction)},n.createTo=function(t){var e=t.c;return i.SortDescription.create(t.f,e)},e}return e.__extends(n,t),Object.defineProperty(n.prototype,"i",{get:function(){return this.f.shouldDetachOnTargetChange},set:function(t){this.f.shouldDetachOnTargetChange=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){if(null==t)return this.f.syncTarget=null,void(this.a=null);this.a=t,this.f.syncTarget=this.a.getInner()},enumerable:!1,configurable:!0}),n.prototype.g=function(t){return this.f.add(t)},n.prototype.o=function(t,e){this.f.add1(t,e)},n.prototype.n=function(){this.f.clear()},n.prototype.get=function(t){return this.f.get(t)},n.prototype.k=function(t){return this.f.indexOf(t)},n.prototype.h=function(t){return this.f.remove1(t)},n.prototype.d=function(t){return this.f.remove(t)},n.prototype.set=function(t,e){return this.f.set(t,e)},n.prototype.size=function(){return this.f.size()},n.prototype.m=function(t){this.f.addListener(t)},n.prototype.p=function(t){this.f.removeListener(t)},Object.defineProperty(n.prototype,"j",{get:function(){return this.f.all},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ColumnSortDescriptionCollection"),n}(i.Base),Ct=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.d=null,e.a=null,e.c=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"FormatGroupTextEventArgs"),n}(i.Base),_t=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=this;switch(e=null==e?0:e){case 0:(r=t.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=i[0];(r=t.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=i[0];var s=i[1];(r=t.call(this,2,o,s)||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=i[0],s=i[1];var a=i[2];(r=t.call(this,2,o,s)||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=a}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return this.t},set:function(t){this.t=t,this.y()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.h},set:function(t){this.h=t,this.y()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.r},set:function(t){this.r=t,this.y()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){this.g=t,this.y()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.p},set:function(t){this.p=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.s},set:function(t){this.s=t},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(t,e,i){var n,r=this,o=null;return null!=this.formatText&&((n=new Ct).d=r.f,n.a=t,n.c=e,n.b=i,o=n,this.formatText(this,o)),null==o?i:o.b},n.$t=i.markType(n,"ColumnGroupDescription",yt.$),n}(yt),wt=function(t){function n(){var e=t.call(this)||this;e.f=new i.SyncableObservableCollection$2(_t.$,i.SortDescription.$,0),e.a=null;var n=e.f;return n.compare=function(t,e){return t.f==e.propertyName},n.createFrom=function(t){return new _t(3,t.propertyName,t.direction,t.displayName)},n.createTo=function(t){var e=t.c;return i.SortDescription.create(t.f,e,t.v)},e}return e.__extends(n,t),Object.defineProperty(n.prototype,"i",{get:function(){return this.f.shouldDetachOnTargetChange},set:function(t){this.f.shouldDetachOnTargetChange=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){if(null==t)return this.f.syncTarget=null,void(this.a=null);this.a=t,this.f.syncTarget=this.a.getInner()},enumerable:!1,configurable:!0}),n.prototype.g=function(t){return this.f.add(t)},n.prototype.o=function(t,e){this.f.add1(t,e)},n.prototype.n=function(){this.f.clear()},n.prototype.get=function(t){return this.f.get(t)},n.prototype.k=function(t){return this.f.indexOf(t)},n.prototype.h=function(t){return this.f.remove1(t)},n.prototype.d=function(t){return this.f.remove(t)},n.prototype.set=function(t,e){return this.f.set(t,e)},n.prototype.size=function(){return this.f.size()},n.prototype.m=function(t){this.f.addListener(t)},n.prototype.p=function(t){this.f.removeListener(t)},Object.defineProperty(n.prototype,"j",{get:function(){return this.f.all},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ColumnGroupDescriptionCollection"),n}(i.Base),St=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.b=null,e.n=null,e.o=null,e.p=null,e.g=0,e.l=null,e.m=null,e.h=0,e.i=0,e.k=null,e.c=null,e.f=null,e.e=null,e.d=null,e}return e.__extends(n,t),n.prototype.j=function(){var t=new i.StringBuilder(0);return t.l("{"),null!=this.a&&t.l("actualBackgroundColor : "+this.a.serialize()+", "),null!=this.b&&t.l("actualBorderColor : "+this.b.serialize()+", "),i.stringIsNullOrEmpty(this.n)||t.l('textStyleFontStyle : "'+this.n+'", '),i.stringIsNullOrEmpty(this.o)||t.l('textStyleFontVariant : "'+this.o+'", '),i.stringIsNullOrEmpty(this.p)||t.l('textStyleFontWeight : "'+this.p+'", '),i.stringIsNullOrEmpty(this.l)||t.l('textStyleFontFamily : "'+this.l+'", '),i.stringIsNullOrEmpty(this.m)||t.l('textStyleFontStretch : "'+this.m+'", '),i.isNaN_(this.g)||t.l("textStyleFontSize : "+this.g+", "),t.l("text : '"+this.k+"', "),t.l("currentPage : "+this.h+", "),t.l("pageCount : "+this.i+", "),null!=this.c&&t.l("firstPageButton : "+this.c.serialize()+", "),null!=this.f&&t.l("previousPageButton : "+this.f.serialize()+", "),null!=this.e&&t.l("nextPageButton : "+this.e.serialize()+", "),null!=this.d&&t.l("lastPageButton : "+this.d.serialize()+", "),t.l("}"),t.toString()},n.$t=i.markType(n,"PagerVisualModelExport"),n}(i.Base),Pt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._propertyName=null,e._animationType=0,e._oldValue=null,e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"propertyName",{get:function(){return this._propertyName},set:function(t){this._propertyName=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"animationType",{get:function(){return this._animationType},set:function(t){this._animationType=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this._oldValue},set:function(t){this._oldValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"DefinitionPropertyUpdatedEventArgs",i.EventArgs.$),n}(i.EventArgs),Ot=function(t){return t[t.DoubleValue=0]="DoubleValue",t[t.NumberValue=1]="NumberValue",t[t.BrushValue=2]="BrushValue",t[t.FontValue=3]="FontValue",t[t.EnumValue=4]="EnumValue",t[t.BoolValue=5]="BoolValue",t[t.IntValue=6]="IntValue",t[t.DateValue=7]="DateValue",t[t.StringValue=8]="StringValue",t[t.ObjectValue=9]="ObjectValue",t[t.IgnoredValue=10]="IgnoredValue",t[t.None=11]="None",t}({}),xt=i.markEnum("CellPropertyAnimationType","DoubleValue,0|NumberValue,1|BrushValue,2|FontValue,3|EnumValue,4|BoolValue,5|IntValue,6|DateValue,7|StringValue,8|ObjectValue,9|IgnoredValue,10|None,11"),jt=function(t){return t[t.Deferred=0]="Deferred",t[t.Immediate=1]="Immediate",t[t.None=2]="None",t}({}),kt=i.markEnum("ColumnResizingMode","Deferred,0|Immediate,1|None,2"),It=function(t){return t[t.Deferred=0]="Deferred",t[t.None=1]="None",t}({}),Tt=i.markEnum("ColumnMovingMode","Deferred,0|None,1"),Rt=function(t){function n(){var e=t.call(this)||this;return e.g=null,e.c=!1,e.f=0,e.d=0,e.c=!0,e.f=1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n,"a",{get:function(){return(t=new n).c=!0,t.e=0,t.f=1,t;var t},enumerable:!1,configurable:!0}),n.parse=function(t){if(null==t)return new n;t=t.trim();var e=i.stringContains(t,"*");if(e||i.stringContains(t,"min=")||i.stringContains(t,"Min=")||i.stringContains(t,",")){var r=new n;r.c=e,t=i.stringReplace(t," ",""),t=i.stringReplace(t,"min=",","),t=i.stringReplace(t,"Min=",","),t=i.stringReplace(t,"*,,","*"),t=i.stringReplace(t,"*,","*");for(var o=(t=i.stringReplace(t,",,",",")).split("*"),s=new i.List$1(i.String_$type,0),a=0;a<o.length;a++)for(var l=o[a].split(","),u=0;u<l.length;u++)s.add(l[u]);var h,c,p=s._inner[0];if(null!=p&&(p=p.trim()),i.stringIsNullOrEmpty(p))h=1;else if(m=i.tryParseNumber(p,h),h=m.p1,!m.ret)return new n;if(r.f=h,s.count>1&&null!=s._inner[1])s._inner[1]=i.stringReplace(s._inner[1],">",""),function(){var t=i.tryParseNumber(s._inner[1],c);return c=t.p1,t.ret}()&&(r.e=c);return r}var d,f,m,g=new n;return g.c=!1,f=i.tryParseNumber(t,d),d=f.p1,f.ret?(g.f=d,g):new n},n.$t=i.markType(n,"ColumnWidth"),n}(i.Base),At=function(t){return t[t.SortByOneColumnOnly=0]="SortByOneColumnOnly",t[t.SortByMultipleColumns=1]="SortByMultipleColumns",t[t.SortByOneColumnOnlyTriState=2]="SortByOneColumnOnlyTriState",t[t.SortByMultipleColumnsTriState=3]="SortByMultipleColumnsTriState",t[t.None=4]="None",t}({}),Et=i.markEnum("HeaderClickAction","SortByOneColumnOnly,0|SortByMultipleColumns,1|SortByOneColumnOnlyTriState,2|SortByMultipleColumnsTriState,3|None,4"),Bt=function(t){return t[t.None=0]="None",t[t.SingleClick=1]="SingleClick",t[t.DoubleClick=2]="DoubleClick",t}({}),Dt=i.markEnum("EditModeClickAction","None,0|SingleClick,1|DoubleClick,2"),$t=function(t){return t[t.Auto=0]="Auto",t[t.None=1]="None",t[t.SlideFromLeft=2]="SlideFromLeft",t[t.SlideFromRight=3]="SlideFromRight",t[t.SlideFromTop=4]="SlideFromTop",t[t.SlideFromBottom=5]="SlideFromBottom",t[t.FadeIn=6]="FadeIn",t[t.SlideFromLeftAndFadeIn=7]="SlideFromLeftAndFadeIn",t[t.SlideFromRightAndFadeIn=8]="SlideFromRightAndFadeIn",t[t.SlideFromTopAndFadeIn=9]="SlideFromTopAndFadeIn",t[t.SlideFromBottomAndFadeIn=10]="SlideFromBottomAndFadeIn",t}({}),Mt=i.markEnum("ColumnShowingAnimationMode","Auto,0|None,1|SlideFromLeft,2|SlideFromRight,3|SlideFromTop,4|SlideFromBottom,5|FadeIn,6|SlideFromLeftAndFadeIn,7|SlideFromRightAndFadeIn,8|SlideFromTopAndFadeIn,9|SlideFromBottomAndFadeIn,10"),zt=function(t){return t[t.Auto=0]="Auto",t[t.None=1]="None",t[t.Interpolate=2]="Interpolate",t[t.InterpolateDeep=3]="InterpolateDeep",t}({}),Nt=i.markEnum("ColumnPropertyUpdatingAnimation