igniteui-webcomponents-layouts 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +8 -8
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/PropertyEditorTreeTransformer.js +8 -8
- package/esm5/lib/PropertyEditorTreeTransformer.js +8 -8
- package/fesm2015/igniteui-webcomponents-layouts.js +8 -8
- package/fesm5/igniteui-webcomponents-layouts.js +8 -8
- package/package.json +3 -3
|
@@ -4615,7 +4615,7 @@
|
|
|
4615
4615
|
_this.b = null;
|
|
4616
4616
|
_this.b = a;
|
|
4617
4617
|
_this.a = new igniteuiWebcomponentsCore.DescriptionTreeNode();
|
|
4618
|
-
_this.a.
|
|
4618
|
+
_this.a.i = b;
|
|
4619
4619
|
var c = new igniteuiWebcomponentsCore.JsonDictionaryObject();
|
|
4620
4620
|
return _this;
|
|
4621
4621
|
}
|
|
@@ -4672,7 +4672,7 @@
|
|
|
4672
4672
|
if (s != null && x < s.length) {
|
|
4673
4673
|
var y = s[x];
|
|
4674
4674
|
if (igniteuiWebcomponentsCore.typeCast(igniteuiWebcomponentsCore.DescriptionTreeNode.$, y) !== null && x == v) {
|
|
4675
|
-
y.
|
|
4675
|
+
y.i = u;
|
|
4676
4676
|
}
|
|
4677
4677
|
w.add1(y);
|
|
4678
4678
|
}
|
|
@@ -4701,21 +4701,21 @@
|
|
|
4701
4701
|
}
|
|
4702
4702
|
else {
|
|
4703
4703
|
var ae = c;
|
|
4704
|
-
if (!ae.
|
|
4705
|
-
ae.
|
|
4704
|
+
if (!ae.c(g)) {
|
|
4705
|
+
ae.o(g, this.d(r, false, null), r);
|
|
4706
4706
|
}
|
|
4707
4707
|
var af = ae.a(g);
|
|
4708
4708
|
var ag = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.String_$type, 1, f);
|
|
4709
4709
|
ag.removeAt(0);
|
|
4710
4710
|
var ah = this.c(igniteuiWebcomponentsCore.stringJoin.apply(void 0, tslib_1.__spread(["."], ag.toArray())), b, af, r.specificExternalType, r);
|
|
4711
4711
|
if (ah != null) {
|
|
4712
|
-
ae.
|
|
4712
|
+
ae.o(g, ah, r);
|
|
4713
4713
|
}
|
|
4714
4714
|
}
|
|
4715
4715
|
}
|
|
4716
4716
|
else {
|
|
4717
4717
|
var ai = c;
|
|
4718
|
-
ai.
|
|
4718
|
+
ai.o(g, this.e(b, r), r);
|
|
4719
4719
|
}
|
|
4720
4720
|
return null;
|
|
4721
4721
|
};
|
|
@@ -4768,10 +4768,10 @@
|
|
|
4768
4768
|
else {
|
|
4769
4769
|
var d = new igniteuiWebcomponentsCore.DescriptionTreeNode();
|
|
4770
4770
|
if (c != null) {
|
|
4771
|
-
d.
|
|
4771
|
+
d.i = c;
|
|
4772
4772
|
}
|
|
4773
4773
|
else {
|
|
4774
|
-
d.
|
|
4774
|
+
d.i = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
4775
4775
|
}
|
|
4776
4776
|
return d;
|
|
4777
4777
|
}
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
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.
|
|
6
6
|
*/
|
|
7
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib_1,t.igniteuiWebcomponentsCore)}(this,(function(t,e,n){"use strict";var i=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.a=function(t){return t.getNativeElement().checked},i.b=function(t,e){t.getNativeElement().checked=e},i.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},i.$t=n.markType(i,"ExpansionPanelUtilities"),i}(n.Base),r=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnCollapsedEventArgs",n.EventArgs.$),i}(n.EventArgs),o=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnExpandedEventArgs",n.EventArgs.$),i}(n.EventArgs),a=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(r,t),Object.defineProperty(r.prototype,"r",{get:function(){return this.q},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"h",{get:function(){return this.g},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"k",{get:function(){return this.j},enumerable:!0,configurable:!0}),r.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},r.prototype.aj=function(){var t=this.h,e=n.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},r.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&n.NativeUI.k(this.p,this.h.bl),null!=this.l&&n.NativeUI.o(this.l,this.h.bj),null!=this.o&&n.NativeUI.o(this.o,this.h.bk))},r.prototype.a=function(t){return new n.AnimationKeyFrameEffect(0,this.l,0,null,t)},r.prototype.b=function(t){return new n.AnimationKeyFrameEffect(0,this.o,0,null,t)},r.prototype.c=function(t){return new n.AnimationKeyFrameEffect(0,this.p,0,null,t)},r.prototype.d=function(t){return new n.AnimationKeyFrameEffect(0,this.m,0,null,t)},r.prototype.e=function(t){return new n.AnimationKeyFrameEffect(0,this.n,0,null,t)},r.prototype.u=function(){null==n.KeyFrameAnimationFactory.h&&(n.KeyFrameAnimationFactory.h=this.k)},r.prototype.i=function(){return this.m.outerHeight()},r.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},r.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?r.s:r.t}},r.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},r.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},r.prototype.y=function(t){this.q=t,this.ab()},r.prototype.z=function(t){this.g=t},r.prototype.aa=function(){},r.prototype.af=function(t){var e=this.k;this.p=t;var i=e.createElement("div");this.p.append(i),this.v(i);var r=e.createElement("div");r.setStyleProperty("display","flex"),r.setStyleProperty("flex-direction","column"),r.setStyleProperty("justify-content","space-evenly"),r.setStyleProperty("align-items","flex-start"),this.p.append(r);var o=e.createElement("div");r.append(o),this.l=e.createElement("label"),o.append(this.l);var a=e.createElement("div");r.append(a),this.o=e.createElement("label"),a.append(this.o),this.p.setAttribute("tabindex","0"),this.p.setStyleProperty("display","flex"),this.p.setStyleProperty("flex-direction","row"),i.setStyleProperty("display","flex"),i.setStyleProperty("justify-content","center"),i.setStyleProperty("flex-direction","column"),i.setStyleProperty("margin","0px 10px 0px 10px"),i.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",n.runOn(this,this.w)),this.p.listen("keydown",n.runOn(this,this.x))},r.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var n=t.componentRef;e.f=n.i,e.f.fill=r.al,e.ag()}),!1)},r.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},r.prototype.ad=function(t){this.k;this.m=t},r.prototype.w=function(t){t.originalEvent.target;this.h.a2()},r.prototype.x=function(t){var e=n.BaseDOMEventProxy.c0(t),r=i.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==r&&(this.h.au(),t.preventDefault());break;case 15:1==r&&(this.h.ar(),t.preventDefault())}},r.$t=n.markType(r,"ExpansionPanelView"),r.al=n.BrushUtil.g(255,33,150,243),r.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",r.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",r}(n.Base),s=function(t){function i(){var e=t.call(this)||this;e.c=null,e.onCollapsed=null,e.onExpanded=null,e.propertyChanged=null,e.g=null,e.aa="Caption",e.bb=null,e.a4=i.bs,e.a9=null,e.ba=null,e.ag=n.stringEmpty(),e.be=null,e.a5=i.bt,e.bc=null,e.bd=null,e.p=-1,e.o=i.r,e.m=!0,e.bf=null,e.a6=i.bu,e.bg=null,e.bh=null,e.a8=i.bw,e.a7=i.bv,e.a3=i.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(i,t),i.prototype.aw=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.ax(t,e,i)},Object.defineProperty(i.prototype,"ab",{get:function(){return this.aa},set:function(t){if(t!=this.aa){var e=this.aa;this.aa=t,this.aw("Caption",e,this.aa)}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bq",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.aw("CaptionTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bj",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.aw("ActualCaptionTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bo",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.aw("CaptionCollapsedTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bp",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.aw("CaptionExpandedTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ah",{get:function(){return this.ag},set:function(t){if(t!=this.ag){var e=this.ag;this.ag=t,this.aw("Description",e,this.ag)}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bz",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.aw("DescriptionTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bk",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.aw("ActualDescriptionTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bx",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.aw("DescriptionCollapsedTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"by",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.aw("DescriptionExpandedTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"s",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.aw("Elevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.aw("ActualElevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var n=this.m;this.m=t;var i=this.h(this.m),a=this.i(this.m),s=this.j(this.m),u=this.k(this.m),p=this.l(this.m);i.play(),a.play(),s.play(),u.play(),p.play(),i.finished.f((function(t){return i.commitStyles()})),a.finished.f((function(t){return a.commitStyles()})),s.finished.f((function(t){return s.commitStyles()})),u.finished.f((function(t){return u.commitStyles()})),p.finished.f((function(t){p.commitStyles(),e.aw("Expanded",n,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new o):null!=e.onCollapsed&&e.onCollapsed(e,new r))}))}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b6",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.aw("HeaderBackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bl",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.aw("ActualHeaderBackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b7",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.aw("HeaderCollapsedBackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b8",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.aw("HeaderExpandedBackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bn",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.aw("ActualUmbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bm",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.aw("ActualPenumbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bi",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.aw("ActualAmbientShadowColor",e,t)},enumerable:!0,configurable:!0}),i.prototype.f=function(){return new a},i.prototype.ax=function(t,e,n){switch(t){case"CaptionTextColor":case"CaptionExpandedTextColor":case"CaptionCollapsedTextColor":case"DescriptionTextColor":case"DescriptionExpandedTextColor":case"DescriptionCollapsedTextColor":case"HeaderBackgroundColor":case"HeaderCollapsedBackgroundColor":case"HeaderExpandedBackgroundColor":case"Expanded":var r=this.bl,o=this.b4(),a=this.bj,s=this.b0(),u=this.bk,p=this.b2();r!=o||a!=s||u!=p?(this.bl=o,this.bj=s,this.bk=p):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?i.r:this.s;break;case"ActualElevation":case"ActualHeaderBackgroundColor":case"ActualCaptionTextColor":case"ActualDescriptionTextColor":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Caption":case"Description":this.g.ak()}},i.prototype.h=function(t){var i=this.bj,r=this.b1(t),o=t?this.b():this.a(),a=this.g.a(o),s=[new n.AnimationKeyFrameProperty(7,i)],u=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.i=function(t){var i=this.bk,r=this.b3(t),o=t?this.b():this.a(),a=this.g.b(o),s=[new n.AnimationKeyFrameProperty(7,i)],u=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.j=function(t){var i=this.bl,r=this.b5(t),o=t?this.b():this.a(),a=this.g.c(o),s=[new n.AnimationKeyFrameProperty(2,i)],u=[new n.AnimationKeyFrameProperty(2,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.k=function(t){var i=this.g.i();i<=0&&(i=500);var r=t?-i:0,o=t?0:-i,a=t?0:1,s=t?1:0,u=t?this.b():this.a(),p=new n.TranslateTransform;p.k=r;var l=new n.TranslateTransform;l.k=o;var h=this.g.d(u),c=[new n.AnimationKeyFrameProperty(14,p),new n.AnimationKeyFrameProperty(1,a)],f=[new n.AnimationKeyFrameProperty(14,l),new n.AnimationKeyFrameProperty(1,s)];return h.m.apply(h,e.__spread(c)),h.m.apply(h,e.__spread(f)),n.KeyFrameAnimationFactory.f.c(h)},i.prototype.l=function(t){var i=this.g.i();i<=0&&(i=500);var r=t?0:i,o=t?i:0,a=t?this.b():this.a(),s=this.g.e(a),u=[new n.AnimationKeyFrameProperty(10,r)],p=[new n.AnimationKeyFrameProperty(10,o)];return s.m.apply(s,e.__spread(u)),s.m.apply(s,e.__spread(p)),n.KeyFrameAnimationFactory.f.c(s)},i.prototype.a=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},i.prototype.b=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},i.prototype.at=function(){this.g.u()},i.prototype.b0=function(){return this.b1(this.n)},i.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:i.bs},i.prototype.b2=function(){return this.b3(this.n)},i.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:i.bt},i.prototype.b4=function(){return this.b5(this.n)},i.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:i.bu},i.prototype.ar=function(){this.n=!1},i.prototype.destroy=function(){this.provideRenderer(null)},i.prototype.au=function(){this.n=!0},i.prototype.notifySizeChanged=function(){},i.prototype.provideHeader=function(t){this.g.af(t)},i.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},i.prototype.provideContentAreaInner=function(t){this.g.ad(t)},i.prototype.provideRenderer=function(t){this.g.ac(t)},i.prototype.a2=function(){this.n=!this.n},i.$t=n.markType(i,"XExpansionPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.bs=n.BrushUtil.g(188,0,0,0),i.bt=n.BrushUtil.g(188,0,0,0),i.r=2,i.bu=n.BrushUtil.g(255,245,245,245),i.bw=n.BrushUtil.g(66,0,0,0),i.bv=n.BrushUtil.g(30,0,0,0),i.br=n.BrushUtil.g(20,0,0,0),i}(n.Base),u=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new o},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),p=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new r},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),l=function(t){function i(){var i=t.call(this)||this;i._implementation=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._onCollapsed=null,i._onCollapsed_wrapped=null,i._onExpanded=null,i._onExpanded_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._portalManager=new n.PortalManager("iconContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._mainDiv=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._mainDiv);var r=i._webComponentRenderer.createElement("div");r.setAttribute("key","expansionPanelHeaderArea");var o=i._webComponentRenderer.createElement("div");o.setAttribute("key","expansionPanelContentAreaOuter");var a=i._webComponentRenderer.createElement("div");return a.setAttribute("key","expansionPanelContentAreaInner"),o.append(a),i._mainDiv.append(r),i._mainDiv.append(o),new MutationObserver((function(t){var n,s;try{for(var u=e.__values(t),p=u.next();!p.done;p=u.next()){if("childList"==p.value.type)for(var l=0;l<i.childNodes.length;l++){var h=i.childNodes[l];h!=i._mainDiv.getNativeElement()&&h!==r.getNativeElement()&&h!==o.getNativeElement()&&h!==a.getNativeElement()&&(h.remove(),a.append(i._webComponentRenderer.getWrapper(h)))}}}catch(t){n={error:t}}finally{try{p&&!p.done&&(s=u.return)&&s.call(u)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i.i.provideRenderer(i._webComponentRenderer),i.i.provideHeader(i._webComponentRenderer.getWrapper(r)),i.i.provideContentAreaOuter(i._webComponentRenderer.getWrapper(o)),i.i.provideContentAreaInner(i._webComponentRenderer.getWrapper(a)),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new s},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-expansion-panel"),this.classList.add("igr-expansion-panel"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},i.prototype.afterContentInit=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcXExpansionPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcXExpansionPanelComponent=t}return i._observedAttributesIgcXExpansionPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionTextColor",{get:function(){return n.brushToString(this.i.bq)},set:function(t){this.i.bq=n.stringToBrush(t),this._a("captionTextColor",n.brushToString(this.i.bq))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualCaptionTextColor",{get:function(){return n.brushToString(this.i.bj)},set:function(t){this.i.bj=n.stringToBrush(t),this._a("actualCaptionTextColor",n.brushToString(this.i.bj))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionCollapsedTextColor",{get:function(){return n.brushToString(this.i.bo)},set:function(t){this.i.bo=n.stringToBrush(t),this._a("captionCollapsedTextColor",n.brushToString(this.i.bo))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionExpandedTextColor",{get:function(){return n.brushToString(this.i.bp)},set:function(t){this.i.bp=n.stringToBrush(t),this._a("captionExpandedTextColor",n.brushToString(this.i.bp))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionTextColor",{get:function(){return n.brushToString(this.i.bz)},set:function(t){this.i.bz=n.stringToBrush(t),this._a("descriptionTextColor",n.brushToString(this.i.bz))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualDescriptionTextColor",{get:function(){return n.brushToString(this.i.bk)},set:function(t){this.i.bk=n.stringToBrush(t),this._a("actualDescriptionTextColor",n.brushToString(this.i.bk))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionCollapsedTextColor",{get:function(){return n.brushToString(this.i.bx)},set:function(t){this.i.bx=n.stringToBrush(t),this._a("descriptionCollapsedTextColor",n.brushToString(this.i.bx))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionExpandedTextColor",{get:function(){return n.brushToString(this.i.by)},set:function(t){this.i.by=n.stringToBrush(t),this._a("descriptionExpandedTextColor",n.brushToString(this.i.by))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerBackgroundColor",{get:function(){return n.brushToString(this.i.b6)},set:function(t){this.i.b6=n.stringToBrush(t),this._a("headerBackgroundColor",n.brushToString(this.i.b6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualHeaderBackgroundColor",{get:function(){return n.brushToString(this.i.bl)},set:function(t){this.i.bl=n.stringToBrush(t),this._a("actualHeaderBackgroundColor",n.brushToString(this.i.bl))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerCollapsedBackgroundColor",{get:function(){return n.brushToString(this.i.b7)},set:function(t){this.i.b7=n.stringToBrush(t),this._a("headerCollapsedBackgroundColor",n.brushToString(this.i.b7))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerExpandedBackgroundColor",{get:function(){return n.brushToString(this.i.b8)},set:function(t){this.i.b8=n.stringToBrush(t),this._a("headerExpandedBackgroundColor",n.brushToString(this.i.b8))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualUmbraShadowColor",{get:function(){return n.brushToString(this.i.bn)},set:function(t){this.i.bn=n.stringToBrush(t),this._a("actualUmbraShadowColor",n.brushToString(this.i.bn))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualPenumbraShadowColor",{get:function(){return n.brushToString(this.i.bm)},set:function(t){this.i.bm=n.stringToBrush(t),this._a("actualPenumbraShadowColor",n.brushToString(this.i.bm))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualAmbientShadowColor",{get:function(){return n.brushToString(this.i.bi)},set:function(t){this.i.bi=n.stringToBrush(t),this._a("actualAmbientShadowColor",n.brushToString(this.i.bi))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=n.toSpinal("XExpansionPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.collapse=function(){this.i.ar()},i.prototype.expand=function(){this.i.au()},i.prototype.toggle=function(){this.i.a2()},Object.defineProperty(i.prototype,"onCollapsed",{get:function(){return this._onCollapsed},set:function(t){var e=this;null!==this._onCollapsed_wrapped&&(this.i.onCollapsed=n.delegateRemove(this.i.onCollapsed,this._onCollapsed_wrapped),this._onCollapsed_wrapped=null,this._onCollapsed=null),this._onCollapsed=t,this._onCollapsed_wrapped=function(t,n){var i=new p;i._provideImplementation(n),e.beforeOnCollapsed&&e.beforeOnCollapsed(e,i),e._onCollapsed&&e._onCollapsed(e,i)},this.i.onCollapsed=n.delegateCombine(this.i.onCollapsed,this._onCollapsed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onExpanded",{get:function(){return this._onExpanded},set:function(t){var e=this;null!==this._onExpanded_wrapped&&(this.i.onExpanded=n.delegateRemove(this.i.onExpanded,this._onExpanded_wrapped),this._onExpanded_wrapped=null,this._onExpanded=null),this._onExpanded=t,this._onExpanded_wrapped=function(t,n){var i=new u;i._provideImplementation(n),e.beforeOnExpanded&&e.beforeOnExpanded(e,i),e._onExpanded&&e._onExpanded(e,i)},this.i.onExpanded=n.delegateCombine(this.i.onExpanded,this._onExpanded_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcXExpansionPanelComponent=null,i.htmlTagName="igc-x-expansion-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),h=function(){function t(){}return t.register=function(){l.register(),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",l),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",l),n.TypeRegistrar.register("XExpansionPanel",s.$type)},t}(),c=function(t){function i(){var e=t.call(this)||this;return e.c=0,e.d=0,e.a=0,e.b=0,e}return e.__extends(i,t),i.$t=n.markStruct(i,"Popup_OuterAnimationInfo"),i}(n.ValueType),f=function(t){function i(){var e=t.call(this)||this;return e.a=0,e.b=0,e}return e.__extends(i,t),i.$t=n.markStruct(i,"Popup_InnerAnimationInfo"),i}(n.ValueType),d=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnClosedEventArgs",n.EventArgs.$),i}(n.EventArgs),y=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnPopupEventArgs",n.EventArgs.$),i}(n.EventArgs),b=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.d=!1,e.c=null,e.b=null,e.a=null,e}return e.__extends(i,t),i.prototype.f=function(){var t=new n.StringBuilder(0);return t.l("{"),t.l("actualElevation : "+this.e+", "),t.l("isShown : "+this.d+", "),t.l("actualUmbraShadowColor : "+this.c.serialize()+", "),t.l("actualPenumbraShadowColor : "+this.b.serialize()+", "),t.l("actualAmbientShadowColor : "+this.a.serialize()+", "),t.l("}"),t.toString()},i.$t=n.markType(i,"PopupVisualModelExport"),i}(n.Base),g=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.c=null,e.o=null,e.n=null,e.m=null,e.p=null,e.f=!1,e.h=0,e.al=new n.Size(1,0,0),e.e=!0,e.g=!1,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"d",{get:function(){return this.c},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"l",{get:function(){return this.k},enumerable:!0,configurable:!0}),i.prototype.ab=function(){this.o.setStyleProperty("height","0%"),this.o.setStyleProperty("width","0%"),this.n=this.k.createElement("div"),this.n.setStyleProperty("position","absolute"),this.n.setStyleProperty("overflow","hidden"),this.n.setStyleProperty("z-index","10000"),this.n.setAttribute("key","popupContentAreaOuter"),this.m=this.k.createElement("div"),this.m.setAttribute("key","popupContentAreaInner"),this.n.append(this.m)},i.prototype.ai=function(){var t=this.d,e=n.ElevationHelper.e(t.w,t.a7,t.a6,t.a5);this.n.setStyleProperty("box-shadow",e)},i.prototype.ah=function(){null!=this.d.a8&&this.n.setStyleProperty("background-color",this.d.a8._fill)},i.prototype.aj=function(){null!=this.o&&(this.ai(),this.ah())},i.prototype.s=function(){if(null!=this.n){this.aj(),this.n.setStyleProperty("height","0px");var t=this.n.getNativeElement();0==this.f&&(document.body.appendChild(t),this.f=!0,this.e&&this.z())}},i.prototype.t=function(t,e){return this.n.setStyleProperty("top",i.q(t.b)),this.n.setStyleProperty("height",i.r(t.d)),this.m.setStyleProperty("top",i.r(e.b)),this.m.setStyleProperty("opacity","1"),this.m.setStyleProperty("transform",n.stringEmpty()),this.h=0,this.g&&this.ag(),{p0:t,p1:e}},i.prototype.u=function(t){this.h=t},i.prototype.ae=function(){if(null!=this.n&&this.f){var t=this.n.getNativeElement();document.body.removeChild(t),this.f=!1}},i.prototype.v=function(t){this.m.append(t)},i.prototype.a=function(t){return new n.AnimationKeyFrameEffect(0,this.m,0,null,t)},i.prototype.b=function(t){return new n.AnimationKeyFrameEffect(0,this.n,0,null,t)},i.prototype.w=function(){null==n.KeyFrameAnimationFactory.h&&(n.KeyFrameAnimationFactory.h=this.l)},Object.defineProperty(i.prototype,"am",{get:function(){return this.e&&this.z(),this.al},enumerable:!0,configurable:!0}),i.prototype.i=function(t,e){var n,i=e;t:for(;;){switch(i){case 0:case 1:n=t.left;break;case 2:n=t.right-this.am.width;break;default:i=0;continue t}break}return n},i.prototype.j=function(t,e){var n,i=e;t:for(;;){switch(i){case 0:case 1:n=t.bottom;break;case 2:n=t.top-this.am.height;break;default:i=0;continue t}break}return n},i.r=function(t){return n.stringFormat("{0}px",t)},i.q=function(t){return n.stringFormat("{0}px",t)},i.prototype.ak=function(t,e,i){var r=this.j(t,e),o=this.i(t,i);if(this.af(o,r),2==e||2==i)for(var a=10;a>0;){var s=this.j(t,e),u=this.i(t,i);if(s==r&&u==o){a=0;break}r=s,o=u,this.af(o,r),a--}return new n.Rect(0,o,r,this.am.width,this.am.height)},i.prototype.z=function(){this.f?(this.n.setStyleProperty("width",n.stringEmpty()),this.n.setStyleProperty("height",n.stringEmpty()),this.al=new n.Size(1,this.m.outerWidth(),this.m.outerHeight()),this.e=!1,this.ag()):this.e=!0},i.prototype.af=function(t,e){var i=n.stringFormat("{0}px",t),r=n.stringFormat("{0}px",e);this.n.setStyleProperty("left",i),this.n.setStyleProperty("top",r)},i.prototype.ac=function(t){var e=this;if(null!=t){this.k=t;var n=t.rootWrapper;this.x(n),this.k.getPortal(this.m,"ChildContent",(function(t){var n=t.componentRef;e.p=n}),!0)}else this.k=null},i.prototype.ag=function(){var t=new n.Size(1,this.am.width,this.am.height);this.f&&this.d.t||(t.height=0);var e=t.width,i=t.height;if(this.c.r()){if(this.h==i)return;return this.c.an(),void(this.g=!0)}this.g=!1;var r=n.stringFormat("{0}px",e),o=n.stringFormat("{0}px",i);this.n.setStyleProperty("width",r),this.n.setStyleProperty("height",o)},i.prototype.x=function(t){this.o=t,this.ab()},i.prototype.y=function(t){this.c=t},i.prototype.aa=function(){},i.prototype.ad=function(){this.s(),this.d.t||this.ag()},i.$t=n.markType(i,"PopupView"),i}(n.Base),m=function(t){function i(){var e=t.call(this)||this;e.i=0,e.h=0,e.bc=null,e.n=null,e.o=null,e.onClosed=null,e.onPopup=null,e.propertyChanged=null,e.k=null,e.x=50,e.p=!0,e.v=-1,e.u=i.z,e.s=!1,e.a3=i.bb,e.a2=i.ba,e.a1=i.a9,e.a4=null;var n=e.j();return e.k=n,n.y(e),e}return e.__extends(i,t),i.prototype.au=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.aw(t,e,i)},Object.defineProperty(i.prototype,"y",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.au("AnimationDuration",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.au("AnimationEnabled",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aa",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.au("Elevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"w",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.au("ActualElevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.s},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a7",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.au("ActualUmbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a6",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.au("ActualPenumbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a5",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.au("ActualAmbientShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a8",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.au("Background",e,this.a4)},enumerable:!0,configurable:!0}),i.prototype.j=function(){return new g},i.prototype.aw=function(t,e,n){switch(t){case"IsShown":0==this.t&&this.k.ae();break;case"Elevation":this.w=-1==this.aa?i.z:this.aa;break;case"ActualElevation":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Background":this.k.aj();break;case"AnimationEnabled":0==this.q&&this.an()}},i.prototype.an=function(){this.r()&&(null!=this.o&&1==this.o.playState&&this.o.cancel(),null!=this.n&&1==this.n.playState&&this.n.cancel())},i.prototype.l=function(t){var i=this.f(t),r=t?this.b():this.a(),o=this.k.a(r),a=new n.List$1(n.AnimationKeyFrameProperty.$,0),s=new n.List$1(n.AnimationKeyFrameProperty.$,0),u=new n.TranslateTransform;u.k=i.a;var p=new n.TranslateTransform;p.k=i.b;var l=new n.AnimationKeyFrameProperty(14,u),h=new n.AnimationKeyFrameProperty(14,p);return a.add(l),s.add(h),o.m.apply(o,e.__spread(a.toArray())),o.m.apply(o,e.__spread(s.toArray())),n.KeyFrameAnimationFactory.f.c(o)},i.prototype.m=function(t){var i=this.g(t);this.k.u(i.d);var r=t?this.b():this.a(),o=this.k.b(r),a=new n.List$1(n.AnimationKeyFrameProperty.$,0),s=new n.List$1(n.AnimationKeyFrameProperty.$,0),u=new n.AnimationKeyFrameProperty(10,i.c),p=new n.AnimationKeyFrameProperty(10,i.d);if(a.add(u),s.add(p),2==this.i){var l=i.a,h=i.b,c=new n.AnimationKeyFrameProperty(12,l),f=new n.AnimationKeyFrameProperty(12,h);a.add(c),s.add(f)}return o.m.apply(o,e.__spread(a.toArray())),o.m.apply(o,e.__spread(s.toArray())),n.KeyFrameAnimationFactory.f.c(o)},i.prototype.a=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=this.y,t.b=3,t},i.prototype.b=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=this.y,t.b=3,t},i.prototype.aq=function(){this.k.w()},i.prototype.f=function(t){var e=n.truncate(this.k.am.height);e<=0&&(e=500);var i,r=t?-e:0,o=t?0:-e;return 2==this.i&&(r=0,o=0),(i=new f).a=r,i.b=o,i},i.prototype.g=function(t){var e=n.truncate(this.k.am.height);e<=0&&(e=500);var i,r,o,a=t?0:e,s=t?e:0;return 2==this.i?(i=t?this.bc.bottom:this.bc.top,r=t?this.bc.top:this.bc.bottom):(i=this.bc.top,r=this.bc.top),(o=new c).c=a,o.d=s,o.a=i,o.b=r,o},i.prototype.r=function(){return(null!=this.o||null!=this.n)&&(null!=this.o&&1==this.o.playState||null!=this.n&&1==this.n.playState)},i.prototype.ar=function(){this.k.z()},i.prototype.av=function(t,e,n){this.k.ad(),this.bc=this.k.ak(t,e,n),this.i=e,this.h=n},i.prototype.ay=function(t,e,n){this.s&&(this.s=!1,this.au("IsShown",!0,this.s)),this.av(t,e,n),this.az(!0)},i.prototype.az=function(t){var e=this;this.an();var n=this.s;this.s=t;var i=this.g(t),r=this.f(t);if(0==this.q){var o=this.k.t(i,r);return i=o.p0,void(r=o.p1)}this.aq(),this.n=this.l(this.s),this.o=this.m(this.s),this.n.play(),this.o.play(),this.n.finished.f((function(t){return e.n.commitStyles()})),this.o.finished.f((function(t){e.o.commitStyles(),e.au("IsShown",n,e.s),e.s?null!=e.onPopup&&e.onPopup(e,new y):null!=e.onClosed&&e.onClosed(e,new d);var o=e.k.t(i,r);i=o.p0,r=o.p1}))},i.prototype.appendPopupContent=function(t){this.k.v(t)},i.prototype.ao=function(){this.s&&this.az(!1)},i.prototype.destroy=function(){this.provideRenderer(null)},i.prototype.showRelativeToExclusionRect=function(t,e,n){this.ay(t,e,n)},i.prototype.as=function(t){this.bc=this.k.ak(t,this.i,this.h)},i.prototype.notifySizeChanged=function(){},i.prototype.provideRenderer=function(t){this.k.ac(t)},i.prototype.ab=function(){return this.c()},i.prototype.ak=function(){return this.c().f()},i.prototype.c=function(){var t=new b;return t.e=this.w,t.d=this.t,t.c=n.AppearanceHelper.a(this.a7),t.b=n.AppearanceHelper.a(this.a6),t.a=n.AppearanceHelper.a(this.a5),t},i.$t=n.markType(i,"Popup",n.Base.$,[n.INotifyPropertyChanged_$type]),i.z=2,i.bb=n.BrushUtil.g(66,0,0,0),i.ba=n.BrushUtil.g(30,0,0,0),i.a9=n.BrushUtil.g(20,0,0,0),i}(n.Base),_=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new y},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),v=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new d},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),P=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._onClosed=null,i._onClosed_wrapped=null,i._onPopup=null,i._onPopup_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._portalManager=new n.PortalManager("popupContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._mainDiv=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._mainDiv),i.i.provideRenderer(i._webComponentRenderer),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i._onChildrenChanged()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!0,configurable:!0}),i.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var n=this.childNodes[e];n!==this._mainDiv.getNativeElement()&&t.push(n)}this._portalManager.onChildrenChanged(t)},i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new m},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-popup"),this.classList.add("igr-popup"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},i.prototype.afterContentInit=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPopupComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPopupComponent=t}return i._observedAttributesIgcPopupComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"animationDuration",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("animationDuration",this.i.y)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"animationEnabled",{get:function(){return this.i.q},set:function(t){this.i.q=n.ensureBool(t),this._a("animationEnabled",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elevation",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("elevation",this.i.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualElevation",{get:function(){return this.i.w},set:function(t){this.i.w=+t,this._a("actualElevation",this.i.w)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isShown",{get:function(){return this.i.t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualUmbraShadowColor",{get:function(){return n.brushToString(this.i.a7)},set:function(t){this.i.a7=n.stringToBrush(t),this._a("actualUmbraShadowColor",n.brushToString(this.i.a7))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualPenumbraShadowColor",{get:function(){return n.brushToString(this.i.a6)},set:function(t){this.i.a6=n.stringToBrush(t),this._a("actualPenumbraShadowColor",n.brushToString(this.i.a6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualAmbientShadowColor",{get:function(){return n.brushToString(this.i.a5)},set:function(t){this.i.a5=n.stringToBrush(t),this._a("actualAmbientShadowColor",n.brushToString(this.i.a5))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"background",{get:function(){return n.brushToString(this.i.a8)},set:function(t){this.i.a8=n.stringToBrush(t),this._a("background",n.brushToString(this.i.a8))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=n.toSpinal("PopupComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.close=function(){this.i.ao()},i.prototype.showRelativeToExclusionRect=function(t,e,i){this.i.showRelativeToExclusionRect(n.toRect(t),null==e?null:e,null==i?null:i)},i.prototype.exportVisualModel=function(){return this.i.ab()},i.prototype.exportSerializedVisualModel=function(){return this.i.ak()},Object.defineProperty(i.prototype,"onClosed",{get:function(){return this._onClosed},set:function(t){var e=this;null!==this._onClosed_wrapped&&(this.i.onClosed=n.delegateRemove(this.i.onClosed,this._onClosed_wrapped),this._onClosed_wrapped=null,this._onClosed=null),this._onClosed=t,this._onClosed_wrapped=function(t,n){var i=new v;i._provideImplementation(n),e.beforeOnClosed&&e.beforeOnClosed(e,i),e._onClosed&&e._onClosed(e,i)},this.i.onClosed=n.delegateCombine(this.i.onClosed,this._onClosed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onPopup",{get:function(){return this._onPopup},set:function(t){var e=this;null!==this._onPopup_wrapped&&(this.i.onPopup=n.delegateRemove(this.i.onPopup,this._onPopup_wrapped),this._onPopup_wrapped=null,this._onPopup=null),this._onPopup=t,this._onPopup_wrapped=function(t,n){var i=new _;i._provideImplementation(n),e.beforeOnPopup&&e.beforeOnPopup(e,i),e._onPopup&&e._onPopup(e,i)},this.i.onPopup=n.delegateCombine(this.i.onPopup,this._onPopup_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcPopupComponent=null,i.htmlTagName="igc-popup",i._isElementRegistered=!1,i}(n.IgcHTMLElement),C=function(){function t(){}return t.register=function(){n.IgcChildContentModule.register(),P.register(),n.TypeRegistrar.registerCons("IgcPopupComponent",P),n.TypeRegistrar.registerCons("IgcPopupComponent",P),n.TypeRegistrar.register("Popup",m.$type)},t}(),w=function(t){return t[t.Unhandled=0]="Unhandled",t[t.Number=1]="Number",t[t.StringValue=2]="StringValue",t[t.Date=3]="Date",t[t.Brush=4]="Brush",t[t.Color=5]="Color",t[t.BrushCollection=6]="BrushCollection",t[t.boolean1=7]="boolean1",t[t.SubType=8]="SubType",t[t.Collection=9]="Collection",t[t.Array=10]="Array",t[t.Point=11]="Point",t[t.Size=12]="Size",t[t.Rect=13]="Rect",t[t.ColorCollection=14]="ColorCollection",t[t.EnumValue=15]="EnumValue",t[t.MethodRef=16]="MethodRef",t[t.EventRef=17]="EventRef",t[t.DataRef=18]="DataRef",t[t.TimeSpan=19]="TimeSpan",t[t.Button=20]="Button",t[t.Slider=21]="Slider",t}({}),S=n.markEnum("PropertyEditorValueType","Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20|Slider,21"),x=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionButtonClickEventArgs",n.EventArgs.$),i}(n.EventArgs),A=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionChangedEventArgs",n.EventArgs.$),i}(n.EventArgs),O=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",n.EventArgs.$),i}(n.EventArgs),E=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.ah=null,e.af=null,e.m=0,e.ag=null,e.o=!1,e.ae=null,e.a=null,e.b=null,e.ab=null,e.u=NaN,e.r=NaN,e.s=NaN,e.t=NaN,e.v=NaN,e.f=null,e.h=null,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"al",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.ao("PropertyPath",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aj",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.af!=e&&this.ao("Label",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,this.m!=e&&this.ao("ValueType",n.enumGetBox(S,e),n.enumGetBox(S,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ak",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.ao("PropertyDescriptionType",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,this.o!=e&&this.ao("ShouldOverrideDefaultEditor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ai",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.ae!=e&&this.ao("ElementDescriptionType",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"c",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.ao("DropDownNames",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.ao("DropDownValues",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ad",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.ao("PrimitiveValue",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"z",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.ao("Min",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"w",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,this.r!=e&&this.ao("EditorWidth",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"x",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,this.s!=e&&this.ao("LabelWidth",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"y",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.ao("Max",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aa",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,this.v!=e&&this.ao("Step",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.ao("ComplexValue",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.ao("ComplexValues",e,t)},enumerable:!0,configurable:!0}),i.prototype.ao=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t))},i.prototype.p=function(t){return null!=t&&(null==t.c||null!=this.c&&this.q||(this.c=t.c),null==t.d||null!=this.d&&this.q||(this.d=t.d),null==t.ai||null!=this.ai&&this.q||(this.ai=t.ai),null==t.ak||null!=this.ak&&this.q||(this.ak=t.ak),0==t.n||0!=this.n&&this.q||(this.n=t.n,!0),!0)},i.prototype.ac=function(t,e){return e?this.e:null!=this.e?this.e.d(t,!1):null},i.prototype.an=function(){null!=this.buttonClicked&&this.buttonClicked(this,new x)},i.prototype.am=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new A).newValue=e.ad,t))},i.prototype.ap=function(t,e,n){var i;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((i=new O).propertyPath=t,i.target=e,i.value=n,i))},i.$t=n.markType(i,"PropertyEditorPropertyDescription",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),j=function(t){function i(){return t.call(this,E.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionCollection",n.ObservableCollection$1.$.specialize(E.$)),i}(n.ObservableCollection$1),k=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=null,e.a=null,e.f=null,e.propertyChanged=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"l",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,this.n("DescriptionType",e,this.i)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.n("Context",e,this.a)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.n("Data",e,this.f)},enumerable:!0,configurable:!0}),i.prototype.n=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.o(t,e,i)},i.prototype.o=function(t,e,n){switch(t){case"DescriptionType":case"Context":this.p()}},i.prototype.e=function(t){var e,n=this,r=new E;return r.al=t.propertyName,r.n=this.h(t),r.ak=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(r.ai=t.collectionElementType,r.e=((e=new i).b=n.a,e.l=r.ai,e)),8==r.n&&(r.e=function(){var t=new i;return t.b=n.a,t.l=r.ak,t}()),15==r.n&&(r.c=this.a.c(this.l,r.al),r.d=r.d),r},i.prototype.h=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;case 9:return 9;case 5:return 5;case 16:return 14;case 20:return 18;case 15:return 0;case 3:return 3;case 19:return 17;case 8:return"string"==t.specificExternalType?15:8;case 13:case 18:return 0;case 1:return 1;case 11:return 11;case 14:return 13;case 12:return 12;case 2:return 2;case 21:return 19;case 17:case 0:return 0}return 0},i.prototype.p=function(){var t=new j;if(null!=this.l&&null!=this.b){var e=this.b.b(this.l);if(null==e)return;for(var i=0;i<e.length;i++)if(!n.stringEndsWith(e[i],"@names")&&!n.stringEndsWith(e[i],"@nameBinding")){var r=this.b.getMetadata(this.l,e[i]),o=this.e(r);0!=o.n&&t.add(o)}}this.g=t},i.prototype.d=function(t,e){if(null==t)return null;for(var i=n.stringSplit(t,[".","["],0),r=new n.List$1(n.String_$type,1,i),o=null,a=null;r.count>0;){var s=r._inner[0];r.removeAt(0);var u=!1;if(n.stringContains(s,"]")){u=!0;var p=(s=n.stringReplace(s,"]","")).split(",");if(s=p[0].trim(),n.stringContains(s,"as")){var l=s.indexOf("as");s.substr(0,l).trim(),a=s.substr(l+2).trim()}if(null!=a&&a!=this.l){var h=this.c();h.l=a,o=h;continue}}if(e&&(u=!0),null!=o&&null!==n.typeCast(E.$,o)){var c=o.ac(s,u);if(null==c)return null;o=c}else if(null!=o){var f=o.d(s,u);if(null==f)return null;o=f}else{if(null==this.g)return null;for(var d=0;d<this.g.count;d++)if(n.Base.equalsStatic(this.g._inner[d].al,s)){o=this.g._inner[d];break}if(null==o)return null}}return n.typeCast(E.$,o)},i.prototype.c=function(){var t,e=this;return(t=new i).b=e.b,t.l=e.l,t},i.$t=n.markType(i,"PropertyEditorDataSource",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),T=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObject"),i}(n.Base),I=function(t){function i(){return t.call(this,T.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObjectCollection",n.ObservableCollection$1.$.specialize(T.$)),i}(n.ObservableCollection$1),$=function(t){function i(e){var i=t.call(this)||this;if(q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(q.$type,E.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new q)&&(e._implementation=t),e},t},i}(n.IgCollection),D=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new T},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new $,e=this.i.a;e||(e=new j),this._properties=t._fromInner(e),this.i.a=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new $;this._properties=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(E.$type),r=this.i.a;r||(r=new j),i._inner=r,i.clear(),this._properties._setSyncTarget(i),this.i.a=r},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),B=function(t){function i(e){var i=t.call(this)||this;if(D.$type||(D.$type=n.markType(D,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){D.$type||(D.$type=n.markType(D,"IgcPropertyEditorDescriptionObject"));var t=new n.SyncableObservableCollection$2(D.$type,T.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new D)&&(e._implementation=t),e},t},i}(n.IgCollection),N=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new x},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),R=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new A},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!0,configurable:!0}),t}(),U=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new O},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!0,configurable:!0}),t}(),q=function(t){function i(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._buttonClicked=null,e._buttonClicked_wrapped=null,e._changed=null,e._changed_wrapped=null,e._targetPropertyUpdating=null,e._targetPropertyUpdating_wrapped=null,e._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e}return e.__extends(i,t),i.prototype.createImplementation=function(){return new E},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return n.TypeRegistrar.isRegistered(e)?n.TypeRegistrar.create(e):null},i.prototype.onImplementationCreated=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this._attached||(this._attached=!0,this._flushQueuedAttributes())},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"propertyPath",{get:function(){return this.i.al},set:function(t){this.i.al=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"label",{get:function(){return this.i.aj},set:function(t){this.i.aj=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"valueType",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureEnum(S,t),this._a("valueType",n.enumToString(S,this.i.n))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"propertyDescriptionType",{get:function(){return this.i.ak},set:function(t){this.i.ak=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.q},set:function(t){this.i.q=n.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elementDescriptionType",{get:function(){return this.i.ai},set:function(t){this.i.ai=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"dropDownNames",{get:function(){return this.i.c},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.c=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"dropDownValues",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"primitiveValue",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"min",{get:function(){return this.i.z},set:function(t){this.i.z=+t,this._a("min",this.i.z)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"editorWidth",{get:function(){return this.i.w},set:function(t){this.i.w=+t,this._a("editorWidth",this.i.w)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"labelWidth",{get:function(){return this.i.x},set:function(t){this.i.x=+t,this._a("labelWidth",this.i.x)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"max",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("max",this.i.y)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"step",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("step",this.i.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"complexValue",{get:function(){if(null==this.i.g)return null;if(!this.i.g.externalObject){var t=new D;t._implementation=this.i.g,this.i.g.externalObject=t}return this.i.g.externalObject},set:function(t){this.i.g=null==t?null:t.i},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new B,e=this.i.i;e||(e=new I),this._complexValues=t._fromInner(e),this.i.i=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new B;this._complexValues=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(T.$type),r=this.i.i;r||(r=new I),i._inner=r,i.clear(),this._complexValues._setSyncTarget(i),this.i.i=r},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.complexValue&&this.complexValue.name&&this.complexValue.name==t?this.complexValue:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.findByName(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=n.toSpinal("PropertyEditorPropertyDescriptionComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},Object.defineProperty(i.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=n.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,n){var i=new N;i._provideImplementation(n),e.beforeButtonClicked&&e.beforeButtonClicked(e,i),e._buttonClicked&&e._buttonClicked(e,i)},this.i.buttonClicked=n.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=n.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,n){var i=new R;i._provideImplementation(n),e.beforeChanged&&e.beforeChanged(e,i),e._changed&&e._changed(e,i)},this.i.changed=n.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=n.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,n){var i=new U;i._provideImplementation(n),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,i),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,i)},this.i.targetPropertyUpdating=n.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,i.htmlTagName="igc-property-editor-property-description",i._isElementRegistered=!1,i}(n.IgcHTMLElement),F=function(){function t(){}return t.register=function(){q.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",q),n.TypeRegistrar.register("PropertyEditorPropertyDescription",E.$type)},t}(),V=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelTemplateCellUpdatingEventArgs"),i}(n.Base),z=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=null,e.b=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelDataBindingEventArgs"),i}(n.Base),M=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.f=0,e.g=0,e.a=0,e.h=0,e.j=null,e.cellUpdating=null,e.dataBinding=null,e}return e.__extends(i,t),i.prototype.i=function(t,e,n){if(null!=this.dataBinding){var i=new z;return i.b=t,i.a=e,i.c=n,this.dataBinding(this,i),i.b}return t},i.prototype.e=function(t,e,n){if(null!=this.cellUpdating){var i=new V;return i.a=t,i.b=e,i.c=n,this.cellUpdating(this,i),i.a}return t},i.$t=n.markType(i,"PropertyEditorPanelColumnDefinition"),i}(n.Base),K=function(t){function i(e){var n=t.call(this)||this;return n.ae=null,n.add(new E),n.ae=e,n}return e.__extends(i,t),i.$t=n.markType(i,"HorizontalPropertyEditorPanelDataSource",j.$),i}(j),L=function(t){function i(e,i){var r=t.call(this)||this;r.a=new n.DescriptionTreeNode,r.b=null,r.b=e,r.a=new n.DescriptionTreeNode,r.a.h=i;new n.JsonDictionaryObject;return r}return e.__extends(i,t),i.prototype.h=function(t,e,n){null!=t&&this.c(t,e,this.a,n,null)},i.prototype.c=function(t,i,r,o,a){if(null==t)return null;var s=n.stringSplit(t,[".","["],0),u=s[0],p=s.length>1,l=!1,h=new n.List$1(n.Number_$type,0),c=new n.List$1(n.String_$type,0);if(n.stringContains(u,"]")){l=!0;for(var f=(u=n.stringReplace(u,"]","")).split(","),d=0;d<f.length;d++){var y=f[d];if(n.stringContains(y,"as")){var b=y.indexOf("as"),g=y.substr(0,b).trim(),m=y.substr(b+2).trim();h.add(parseInt(g)),c.add(m),o=m,u=g}}}var _=null;if(_=l?a:this.b.getMetadata(o,u),p)if(l)for(var v=r.b,P=0;P<h.count;P++){u=h._inner[P].toString();for(var C=c._inner[P],w=parseInt(n.stringReplace(n.stringReplace(u,"[",""),"]","")),S=new n.List$1(n.Base.$,0),x=0;x<=w;x++)if(null!=v&&x<v.length){var A=v[x];null!==n.typeCast(n.DescriptionTreeNode.$,A)&&x==w&&(A.h=C),S.add1(A)}else{var O=this.d(a,!0,C);null!=O&&S.add1(O)}var E=(v=S.toArray())[w],j=new n.List$1(n.String_$type,1,s);j.removeAt(0);var k=_.collectionElementType;null!=C&&(k=C);var T=this.c(n.stringJoin.apply(void 0,e.__spread(["."],j.toArray())),i,E,k,_);null!=T&&(v[w]=T),r.b=v}else{var I=r;I.b(u)||I.n(u,this.d(_,!1,null),_);var $=I.a(u),D=new n.List$1(n.String_$type,1,s);D.removeAt(0);var B=this.c(n.stringJoin.apply(void 0,e.__spread(["."],D.toArray())),i,$,_.specificExternalType,_);null!=B&&I.n(u,B,_)}else r.n(u,this.e(i,_),_);return null},i.prototype.f=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},i.prototype.e=function(t,e){if(null==t)return null;if(null==e)return null;switch(e.knownType){case 10:case 7:return t;case 4:return t.toString();case 6:case 9:return t;case 5:return t.toString();case 16:case 20:case 15:case 3:case 19:case 8:case 13:case 18:case 1:case 11:case 14:case 12:case 2:case 21:case 17:case 0:return t}return null},i.prototype.d=function(t,e,i){if(e||10!=t.knownType&&9!=t.knownType){var r=new n.DescriptionTreeNode;return r.h=null!=i?i:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},i.prototype.g=function(){var t=new n.DescriptionSerializerBuilder,e=new n.DescriptionSerializer;return t.f("{"),t.i(),t.f('"descriptions": {'),t.i(),t.e('"root"'),t.e(": "),e.t(this.b,this.a,t),t.f(""),t.h(),t.e("}"),t.h(),t.f("}"),t.toString()},i.$t=n.markType(i,"PropertyEditorTreeTransformer"),i}(n.Base),H=function(t){function i(){var e,i=t.call(this)||this;return i.n=null,i.m=null,i.a=null,i.i=null,i.l=null,i.e=null,i.k=null,i.b=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.aa=new n.Size,i.c=null,i._gridExternal=null,i.f=!1,i.j=null,i}return e.__extends(i,t),i.prototype.p=function(){return this.i},i.prototype.v=function(){},i.prototype.t=function(t){var e=this;if(null!=t){this.a.j=new n.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new n.RenderingContext(new n.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),n.NativeUIComponent.z(this.p(),7,(function(t){var n=t;e.a.dh(n,e.n),e.i.append(n.u)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},i.prototype.y=function(){},i.prototype.x=function(){this.i},i.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new n.Size(1,t,e),null!=this.a.v&&this.a.d2()}},i.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.a.d9),n.NativeUI.k(e,this.a.d6))}},i.prototype.d=function(){return this.b},i.prototype.u=function(){},i.prototype.w=function(){},i.prototype.r=function(){var t=this.a.ea();t.height>0&&this.i.rootWrapper.setStyleProperty("min-height",t.height+"px")},i.prototype.g=function(){return this.aa.width},i.prototype.h=function(t){return this.c=this.a.u(),n.FontUtil.measureStringWidth(t,this.c,this.e)},i.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},i.$t=n.markType(i,"PropertyEditorPanelView"),i}(n.Base),W=function(t){function i(){var e=t.call(this)||this;e.l=null,e.v=null,e.r=null,e.y=!1,e.z=!1,e.w=null,e.propertyChanged=null,e.af=!1,e.n=null,e.o=new j,e.bk=-1,e.aq=n.DeviceUtils.g(38),e.s=null,e.br=null,e.c=null,e.an=null,e.j=null,e.ae=!1,e.ap=null,e.bj=-1,e.bt=null,e.ad=!0,e.am=new n.Dictionary$2(M.$,n.Number_$type,0),e.f=null,e.g=null,e.d=null,e.bq=null,e.bu=null,e.aa=!1,e.ac=!1,e.ab=!1,e.d4=i.d7,e.d5=i.d8,e.bo=0,e.bl=-1,e.k=null,n.NativeUIInputsFactory.k(),e.ap=new n.ObservableCollection$1(M.$,0);var r=new H;r.a=e;var o=e.properties;return o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(e,e.dx)),e.l=r,e.l.v(),e}return e.__extends(i,t),Object.defineProperty(i.prototype,"x",{get:function(){return null==this.w&&(this.w=new n.SRProvider(this.l.i),this.w.cb("Layouts")),this.w},enumerable:!0,configurable:!0}),i.prototype.dx=function(t,i){var r,o,a,s;if(null!=i.oldItems)try{for(var u=e.__values(n.fromEn(i.oldItems)),p=u.next();!p.done;p=u.next()){var l=p.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,l)){var h=l;h.propertyChanged=n.delegateRemove(h.propertyChanged,n.runOn(this,this.dj))}}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var c=e.__values(n.fromEn(i.newItems)),f=c.next();!f.done;f=c.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var y=d;y.propertyChanged=n.delegateCombine(y.propertyChanged,n.runOn(this,this.dj))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}this.aj(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),this.dt()},i.prototype.dt=function(){this.af||null!=this.v&&this.d2()},i.prototype.dj=function(t,e){this.af||(this.aj(),null!=this.v&&this.d2())},i.prototype.notifySizeChanged=function(){this.l.s()},i.prototype.dh=function(t,e){if(this.v=t,null!=this.v){if(null!=this.actualProperties){if(this.ag)null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var i=this.actualProperties;this.actualProperties=i.ae}this.br=this.actualProperties;var r=this.actualProperties;r=this.actualProperties.toArray();var o=new n.LocalDataSource;o.dataSource=r,this.c=o,this.ce()}null!=this.actualProperties&&this.d2()}},i.prototype.destroy=function(){this.provideContainer(null)},i.prototype.provideContainer=function(t){this.l.t(t)},i.prototype.ds=function(t){},Object.defineProperty(i.prototype,"actualProperties",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.du("ActualProperties",e,this.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.du("Properties",e,this.o)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bp",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.du("RowHeight",e,this.bk)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ar",{get:function(){return this.aq},set:function(t){this.aq=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.du("CellTextStyle",e,this.s)},enumerable:!0,configurable:!0}),i.prototype.u=function(){return null==this.t?this.l.d():this.t},i.prototype.du=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.dy(t,e,i)},i.prototype.dy=function(t,e,i){switch(t){case"DescriptionType":null==this.b2&&null==this.properties&&(this.actualProperties=null),null!=this.b2&&(null==this.k&&(this.k=new k),this.k.l=this.b2),null==this.properties||0==this.properties.count?null!=this.k.g&&(this.actualProperties=this.k.g):null!=this.properties&&this.properties.count>0&&this.aj();break;case"ComponentRenderer":null!=e&&e.removeTargetPropertyUpdatingListener(n.runOn(this,this.al)),e!=i&&(this.ad=!0),null==this.e?this.h=this.i:this.h=this.e.context;break;case"Target":null!=n.ComponentRenderer.defaultInstance&&null==this.e&&(this.e=n.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.e&&(this.h=i);break;case"ActualContext":null==this.h&&null==this.properties&&(this.actualProperties=null),null!=this.h&&(null==this.k&&(this.k=new k),this.k.b=this.h),null==this.properties||0==this.properties.count?null!=this.k.g&&(this.actualProperties=this.k.g):null!=this.properties&&this.properties.count>0&&this.aj();break;case"Properties":this.actualProperties=this.properties;break;case"IsWrappingEnabled":this.d2();break;case"IsHorizontal":if(this.ag)this.bj=-1,null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var r=this.actualProperties;this.actualProperties=r.ae}break;case"ActualProperties":if(this.ag)null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var o=this.actualProperties;this.actualProperties=o.ae}if(null!=this.v){var a=this.br!=this.actualProperties;if(this.ag)null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var s=this.actualProperties;this.actualProperties=s.ae}this.br=this.actualProperties;var u=this.actualProperties;u=this.actualProperties.toArray();var p=new n.LocalDataSource;if(p.dataSource=u,this.c=p,this.ce(),null!=this.c){var l=this.c;l.schemaChanged=n.delegateCombine(l.schemaChanged,n.runOn(this,this.dw))}a&&this.d2()}break;case"RowHeight":null!=this.v&&(this.ar=this.bp);break;case"CellTextStyle":this.d0();break;case"BackgroundColor":case"TextColor":this.d0()}},i.prototype.aj=function(){var t,i,r=this.af;this.af=!0;var o=!1;try{for(var a=e.__values(n.fromEnum(this.properties)),s=a.next();!s.done;s=a.next()){var u=s.value,p=u.al;if(null!=this.k){var l=this.k.d(p,!1);null!=l&&u.p(l)&&(o=!0)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return o?this.d2():null!=this.v&&this.d0(),this.af=r,o},i.prototype.d0=function(){this.ae||null==this.j||(this.ae=!0,this.j.enqueueAction(n.runOn(this,this.cj)))},i.prototype.cj=function(){var t=this;if(this.ae=!1,null==this.an&&(this.an=new n.List$1(n.List$1.$.specialize(n.NativeUIComponent.$),0)),null!=this.c){for(var e=this.c.actualCount,i=function(e){var i=e,o=r.c.getItemAtIndex(e);r.v.az<i+1?r.v.a1(i,1,r.ar):r.v.a7(i,1,r.ar),r.an.count<i+1&&r.an.add(new n.List$1(n.NativeUIComponent.$,0));for(var a=r.an._inner[i],s=function(e){var s=r.ap._inner[e];a.count<e+1&&n.NativeUIComponent.aa(r.l.p(),0,(function(r){var o=r;o.e=1,0==s.a&&(o.d=2),o.an=new n.Thickness(1,5,5,5,0),t.v.as(o),t.v.a5(o,i),t.v.a4(o,e),a.add(o)})),r.v.aw<e+1?r.v.a0(e,1,s.h):r.v.a6(e,1,s.h);var u=a._inner[e],p="PropertyPath";1==s.a&&(p="ValueType");var l=r.m(s,i,o),h=null;(null!=l&&(h=r.c.getItemProperty(l,p),null!=(h=s.i(h,i,o))&&(u=s.e(u,i,o))),null==h)&&(u.aw=null)},u=0;u<r.ap.count;u++)s(u)},r=this,o=0;o<e;o++)i(o);for(var a=new n.HashSet$1(n.NativeUIComponent.$,0),s=this.v.ar-1;s>=0;s--){var u=this.v.aq(s),p=this.v.ay(u),l=this.v.ax(u);(p+1>e||l+1>this.ap.count)&&a.add_1(u)}for(var h=this.v.ar-1;h>=0;h--){var c=this.v.aq(h);a.contains(c)&&this.v.au(h)}for(var f=this.an.count-1;f>=0;f--){for(var d=this.an._inner[f].count-1;d>=0;d--){var y=this.an._inner[f]._inner[d];a.contains(y)&&this.an._inner[f].removeAt(d)}0==this.an._inner[f].count&&this.an.removeAt(f)}for(;this.v.az>e;)this.v.a3(this.v.az-1);for(;this.v.aw>this.ap.count;)this.v.a2(this.v.aw-1)}},i.prototype.dw=function(t,e){this.z=!0,this.ce(),this.z=!1},i.prototype.d2=function(){if(null!=this.v){this.am.clear(),this.ap.clear();-1==this.bp||this.bp,this.d6,this.u();if(this.ag)this.cg();else{var t=new M;t.b=0,t.f=10,t.g=5,t.a=0,t.dataBinding=n.delegateCombine(t.dataBinding,n.runOn(this,this.dl)),t.cellUpdating=n.delegateCombine(t.cellUpdating,n.runOn(this,this.dk)),t.j="PropertyPath",this.ap.add(t);var e=new M;e.b=1,e.a=1,e.f=5,e.g=5,e.dataBinding=n.delegateCombine(e.dataBinding,n.runOn(this,this.cl)),e.cellUpdating=n.delegateCombine(e.cellUpdating,n.runOn(this,this.ck)),e.j="ValueType",this.ap.add(e)}this.d0()}},i.prototype.cg=function(){if(null!=this.actualProperties){for(var t=this.actualProperties.ae,e=t.count,i=new n.List$1(M.$,0),r=this.bm(t,e,i,2147483647),o=0;o<i.count;o++)this.ap.add(i._inner[o]);this.bo=r;var a=this.actualProperties,s=this.bj;a.clear();for(var u=0;u<this.bo;u++)a.add(new E);var p=this.actualProperties.toArray(),l=new n.LocalDataSource;l.dataSource=p,this.c=l,a.count!=s&&(this.bj=a.count,this.d0(),this.l.r())}},i.prototype.ea=function(){if(this.ag&&null!=this.v&&null!=this.c){var t=this.ar,e=this.actualProperties;return new n.Size(1,0,e.count*t)}return new n.Size(1,0,0)},i.prototype.bm=function(t,e,i,r){var o=0,a=0,s=this.l.g();s-=5,this.ai||(s=17976931348623157e292);for(var u=0,p=s,l=0;l<e;l++){var h=t.item(l),c=this.a9(h),f=this.a5(h);if(u+c+f>s&&a>0||a>=r){if(0!=o&&a<r&&r>2){var d=i._inner[a],y=i._inner[a+1];return d.h=c,y.h=f,this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count)}r=Math.max(Math.min(r,a),2),o++;var b=s-u;b<p&&(p=b),u=0,a=0}this.b5(h);if(i.count<=a){var g=new M;g.b=0,g.a=0,g.f=10,g.g=5,g.h=c,g.dataBinding=n.delegateCombine(g.dataBinding,n.runOn(this,this.dl)),g.cellUpdating=n.delegateCombine(g.cellUpdating,n.runOn(this,this.dk)),g.j="PropertyName_"+l,i.add(g),this.am.item(g,i.count-1),a++}else{var m=i._inner[a];if(c>m.h){var _=c-m.h;if(m.h=c,_>p&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(p-=_)<0&&(p=0),a++}else c=m.h,a++}if(i.count<=a){var v=new M;v.b=1,v.a=1,v.j="ValueType_"+l,v.f=5,v.g=5,v.dataBinding=n.delegateCombine(v.dataBinding,n.runOn(this,this.cl)),v.h=f,v.cellUpdating=n.delegateCombine(v.cellUpdating,n.runOn(this,this.ck)),i.add(v),this.am.item(v,i.count-1),a++}else{var P=i._inner[a];if(f>P.h){var C=f-P.h;if(P.h=f,C>p&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(p-=C)<0&&(p=0),a++}else f=P.h,a++}u+=c+f}return o+1},i.prototype.d1=function(t,i){var r,o,a=0;try{for(var s=e.__values(n.fromEnum(i)),u=s.next();!u.done;u=s.next()){a+=u.value.h}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}for(;a>t;){if(i.count<1)return;1==i._inner[i.count-1].b?(a-=i._inner[i.count-1].h,a-=i._inner[i.count-2].h,i.removeAt(i.count-1),i.removeAt(i.count-1)):(a-=i._inner[i.count-1].h,i.removeAt(i.count-1))}},i.prototype.cl=function(t,e){var i=t,r=this.m(i,e.a,e.c);e.b=n.enumGetBox(S,null!=r?r.n:0)},i.prototype.dl=function(t,e){var n=t,i=this.m(n,e.a,e.c);e.b=null!=i?null!=i.aj?i.aj:i.al:null},i.prototype.a5=function(t){if(!n.isNaN_(t.w))return t.w;switch(t.n){case 10:return this.as(t);case 7:return this.at(t);case 4:return this.av(t);case 6:return this.au(t);case 9:return this.ay(t);case 5:return this.a0(t);case 14:return this.az(t);case 18:return this.a1(t);case 3:return this.a2(t);case 15:return this.a6(t);case 17:return this.a7(t);case 16:return this.ba(t);case 1:return this.bb(t);case 11:return this.bc(t);case 13:return this.bd(t);case 12:return this.be(t);case 2:return this.bg(t);case 8:return this.bh(t);case 19:return this.bi(t);case 0:return this.a8(t);case 20:return this.aw(t);case 21:return this.bf(t)}return 100},i.prototype.bi=function(t){return this.a8(t)},i.prototype.a8=function(t){return 175},i.prototype.aw=function(t){return null!=t.ad?Math.max(100,this.l.h(t.ad.toString())+30):80},i.prototype.bf=function(t){return 175},i.prototype.bh=function(t){return this.aw(t)},i.prototype.bg=function(t){return this.a8(t)},i.prototype.be=function(t){return this.a8(t)},i.prototype.bd=function(t){return this.a8(t)},i.prototype.bc=function(t){return this.a8(t)},i.prototype.bb=function(t){return this.a8(t)},i.prototype.ba=function(t){return this.aw(t)},i.prototype.a7=function(t){return this.aw(t)},i.prototype.a6=function(t){return this.a4(t)},i.prototype.a4=function(t){return this.a8(t)},i.prototype.a2=function(t){return this.a3(t)},i.prototype.a3=function(t){return this.a8(t)},i.prototype.a1=function(t){return this.aw(t)},i.prototype.az=function(t){return this.aw(t)},i.prototype.a0=function(t){return this.a8(t)},i.prototype.ay=function(t){return this.aw(t)},i.prototype.au=function(t){return this.aw(t)},i.prototype.av=function(t){return this.a8(t)},i.prototype.at=function(t){return this.ax(t)},i.prototype.ax=function(t){return 50},i.prototype.as=function(t){return this.aw(t)},i.prototype.a9=function(t){return n.isNaN_(t.x)?this.l.h(this.b5(t))+17:t.x},i.prototype.b5=function(t){return null!=t.aj?t.aj:t.al},i.prototype.dk=function(t,e){var n=t;this.m(n,e.b,e.c);this.c7(n,e)},i.prototype.ck=function(t,e){var n=t,i=this.m(n,e.b,e.c);switch(null!=i?i.n:0){case 10:this.cs(n,e);break;case 7:this.ct(n,e);break;case 4:this.cv(n,e);break;case 6:this.cu(n,e);break;case 9:this.cx(n,e);break;case 5:this.cz(n,e);break;case 14:this.cy(n,e);break;case 18:this.c0(n,e);break;case 3:this.c1(n,e);break;case 15:this.c4(n,e);break;case 17:this.c5(n,e);break;case 16:this.c8(n,e);break;case 1:this.c9(n,e);break;case 11:this.da(n,e);break;case 13:this.db(n,e);break;case 12:this.dc(n,e);break;case 2:this.de(n,e);break;case 8:this.df(n,e);break;case 19:this.dg(n,e);break;case 20:this.cw(n,e);break;case 21:this.dd(n,e)}},i.prototype.dg=function(t,e){this.c6(t,e)},i.prototype.df=function(t,e){},i.prototype.de=function(t,e){this.c6(t,e)},i.prototype.dc=function(t,e){this.c6(t,e)},i.prototype.db=function(t,e){this.c6(t,e)},i.prototype.da=function(t,e){this.c6(t,e)},i.prototype.c9=function(t,e){this.c6(t,e)},i.prototype.c7=function(t,e){var n=this;this.cq(e,(function(i,r){i.ap=n.u(),i.e=1;var o=n.m(t,e.b,e.c);i.v=o,i.aq=n.b5(o)}))},i.prototype.c6=function(t,e){var i=this;this.cp(e,(function(r,o){r.e=1,r.at=1,r.aq=2;var a=i.m(t,e.b,e.c);r.v=a,r.au=null!=a.ad?a.ad.toString():"",o&&(r.as=n.runOn(i,i.di))}))},i.prototype.cq=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||3!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),3,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cp=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||2!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),2,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cm=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||1!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),1,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cr=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||5!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),5,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.co=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||4!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),4,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cn=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||6!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),6,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cw=function(t,e){var i=this;this.cm(e,(function(r,o){r.e=1,2!=r.ar&&(r.ar=2);var a=i.m(t,e.b,e.c);r.v=a;var s=a.ad;"number"!=typeof a.ad&&"number"!=typeof a.ad||(s=a.ad.toString()),r.as=s,o&&(r.aq=n.runOn(i,i.cd))}))},i.prototype.dd=function(t,e){var i=this;this.cr(e,(function(r,o){r.e=1;var a=i.m(t,e.b,e.c);r.v=a;var s=a.ad;if("number"!=typeof a.ad&&"number"!=typeof a.ad||(s=a.ad),"string"==typeof a.ad){var u=0;s=u=n.tryParseNumber(s,u).p1}null==s&&(s=0),r.aw=s,n.isNaN_(a.z)?r.au=0:r.au=a.z,n.isNaN_(a.y)?r.at=100:r.at=a.y,n.isNaN_(a.aa)?r.av=1:r.av=a.aa,o&&(r.as=n.runOn(i,i.d3))}))},i.prototype.d3=function(t,e){var n=t,i=n.v;this.af=!0,i.ad=n.aw,this.af=!1,this.dv(i)},i.prototype.c3=function(t,e){var i=this;this.co(e,(function(r,o){r.e=1,2!=r.ap&&(r.ap=2);var a=i.m(t,e.b,e.c);r.v!=a?(r.ar=null,r.v=a,r.at=null,r.as=i.b(i.a(a)),a.ad!=r.at&&("number"==typeof a.ad||"number"==typeof a.ad?r.at=a.ad.toString():r.at=a.ad),r.ar=n.runOn(i,i.ch)):a.ad!=r.at&&("number"==typeof a.ad||"number"==typeof a.ad?r.at=a.ad.toString():r.at=a.ad),o&&(null==r.ar&&(r.ar=n.runOn(i,i.ch)),r.ah=n.BrushUtil.g(255,255,255,255))}))},i.prototype.b=function(t){return t},i.prototype.a=function(t){return t.c},i.prototype.ch=function(t,e){var n=t,i=n.v;this.af=!0,i.ad=n.at,i.am(),this.af=!1,this.dv(i)},i.prototype.di=function(t,e){var i=t,r=i.v;if(this.af=!0,1==r.n){var o=0;o=n.tryParseNumber(i.au,o).p1,r.ad=o}else r.ad=i.au;r.am(),this.af=!1,this.dv(r)},i.prototype.cd=function(t,e){var n=t.v;this.af=!0,n.an(),this.af=!1,this.dv(n)},i.prototype.dv=function(t){var e=this;if(null!=this.bs&&null!=this.e){this.ad&&(this.ad=!1,this.e.addTargetPropertyUpdatingListener(n.runOn(this,this.al)));var i=null==this.bt;this.bt=this.b4(),i?this.l.q(this.bs,(function(t){return e.e.loadJsonOverlay(e.bt,(function(e){return t}),(function(t){return e.bs}))})):this.l.q(this.bs,(function(t){return e.e.loadJsonDelta(e.bt,(function(e){return t}),!1)}))}},i.prototype.al=function(t,e,i){var r=this.actualProperties;null!==n.typeCast(K.$,r)&&(r=r.ae);for(var o=0;o<r.count;o++){var a=r._inner[o].al;this.ak(a,t)&&r._inner[o].ap(t,e,i)}return!!this.ah},i.prototype.ak=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var i=n.stringSplit(t,[".","["],0),r=n.stringSplit(e,[".","["],0);if(i.length!=r.length)return!1;for(var o=0;o<i.length;o++){var a=i[o],s=r[o];if(n.stringContains(a,"]")){if(!n.stringContains(s,"]"))return!1;if(s=n.stringReplace(s,"]",""),!this.ao(a).contains(s))return!1}else if(!n.Base.equalsStatic(a,s))return!1}return!0},i.prototype.ao=function(t){var e=new n.List$1(n.String_$type,0);if(n.stringContains(t,"]")){for(var i=(t=n.stringReplace(t,"]","")).split(","),r=0;r<i.length;r++){var o=i[r];if(n.stringContains(o,"as")){var a=o.indexOf("as"),s=o.substr(0,a).trim();e.add(s)}}return e}return e.add(t),e},i.prototype.b4=function(){if(null==this.actualProperties)return null;var t=this.actualProperties;null!==n.typeCast(K.$,t)&&(t=t.ae);var e=new L(this.h,this.b2);return this.c2(t,"",e,this.b2),e.g()},i.prototype.c2=function(t,e,n,i){for(var r=0;r<t.count;r++){var o=t._inner[r];if(20!=o.n)if(null!=o.i)for(var a=0;a<o.i.count;a++){var s=o.i._inner[a],u=e+o.al+"["+a+"]";this.c2(s.a,u,n,s.b)}else if(null!=o.g){var p=e+o.al;this.c2(o.g.a,p,n,o.g.b)}else n.h(e+o.al,o.ad,i)}},i.prototype.c8=function(t,e){},i.prototype.c5=function(t,e){},i.prototype.c4=function(t,e){this.c3(t,e)},i.prototype.c1=function(t,e){},i.prototype.c0=function(t,e){},i.prototype.cy=function(t,e){},i.prototype.cz=function(t,e){this.c6(t,e)},i.prototype.cx=function(t,e){},i.prototype.cu=function(t,e){},i.prototype.cv=function(t,e){this.c6(t,e)},i.prototype.ct=function(t,e){var i=this;this.cn(e,(function(r,o){r.e=1,r.ar||(r.ar=!0);var a,s=i.m(t,e.b,e.c),u=s.ad;if((null==u&&(u=!1),"string"==typeof u)&&function(){var t=n.tryParseBool(u,a);return a=t.p1,t.ret}()){u=a;var p=i.af;i.af=!0,s.ad=u,i.af=p}if("number"==typeof u&&n.typeGetValue(u)>0){u=!0;var l=i.af;i.af=!0,s.ad=u,i.af=l}if("number"==typeof u&&u>0){u=!0;var h=i.af;i.af=!0,s.ad=u,i.af=h}var c=u;r.as=c,r.v=s,o&&(r.aq=n.runOn(i,i.cf))}))},i.prototype.m=function(t,e,i){if(this.ag){var r=this.actualProperties.ae,o=e*n.truncate(this.ap.count/2),a=this.bn(t);return(a=n.truncate(Math.floor(a/2))+o)>r.count-1?null:r.item(a)}return i},i.prototype.bn=function(t){return this.am.item(t)},i.prototype.cf=function(t,e){var n=t,i=n.v;this.af=!0,i.ad=n.as,i.am(),this.af=!1,this.dv(i)},i.prototype.cs=function(t,e){},i.prototype.dq=function(t,e,n){null!=this.v&&this.c.notifySetItem(t,e,n)},i.prototype.dm=function(){null!=this.v&&this.c.notifyClearItems()},i.prototype.dn=function(t,e){null!=this.v&&this.c.notifyInsertItem(t,e)},i.prototype.dp=function(t,e){null!=this.v&&this.c.notifyRemoveItem(t,e)},Object.defineProperty(i.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.du("ActualContext",e,this.f)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.du("DescriptionContext",e,this.g)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,this.du("ComponentRenderer",e,this.d)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bs",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,this.du("Target",e,this.bq)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b2",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,this.du("DescriptionType",e,this.bu)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ag",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,this.du("IsHorizontal",e,this.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ai",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,this.du("IsWrappingEnabled",e,this.ac)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ah",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.du("IsIndirectModeEnabled",e,this.ab)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d6",{get:function(){return this.d4},set:function(t){var e=this.d4;this.d4=t,e!=this.d4&&this.du("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d9",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.du("TextColor",e,t)},enumerable:!0,configurable:!0}),i.prototype.ce=function(){var t=this.c;if(null!=t){if(null==t.actualSchema)return void(this.bl=-1);var e=t.actualCount;this.bl=e}else this.bl=-1},i.$t=n.markType(i,"PropertyEditorPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.d7=n.BrushUtil.g(255,248,248,248),i.d8=n.BrushUtil.g(255,24,29,31),i}(n.Base),X=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i.contentProperties=[],i.actualProperties=[],i._properties=null,i._propertiesAdapter=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i._actualDataSource=null,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._implementation.externalObject=i,i._portalManager=new n.PortalManager("propertyEditorContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._webComponentWrapper=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._webComponentWrapper),i._webComponentWrapper.setStyleProperty("display","block"),i._webComponentWrapper.setStyleProperty("width","100%"),i._webComponentWrapper.setStyleProperty("height","100%"),i._propertiesAdapter=new n.CollectionAdapter(i.contentProperties,i.i.properties,i.actualProperties,(function(t){return t.i}),(function(t){i._webComponentRenderer&&i._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(i,i,i)}),(function(t){})),i.i.provideContainer(i._webComponentRenderer),i.i.notifySizeChanged(),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i.updateContentProperties()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i._webComponentRenderer.addSizeWatcher((function(){i.i.notifySizeChanged()})),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){var t=this;if(null===this._properties){var e=new $;e._innerColl.addListener((function(e,i){switch(i.action){case n.NotifyCollectionChangedAction.Add:t._propertiesAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Remove:t._propertiesAdapter.removeManualItemAt(i.oldStartingIndex);break;case n.NotifyCollectionChangedAction.Replace:t._propertiesAdapter.removeManualItemAt(i.oldStartingIndex),t._propertiesAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Reset:t._propertiesAdapter.clearManualItems()}})),this._properties=e}return this._properties},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.updateContentProperties=function(){this.contentProperties.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof q&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new W},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-property-editor-panel"),this.classList.add("igc-property-editor-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualProperties.length;e++){this.actualProperties[e]._styling(this,this,this)}this.updateContentProperties(),this.afterContentInit()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPropertyEditorPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPropertyEditorPanelComponent=t}return i._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new $,e=this.i.actualProperties;e||(e=new j),this._actualDataSource=t._fromInner(e),this.i.actualProperties=e}return this._actualDataSource},set:function(t){null!==this._actualDataSource&&(this._actualDataSource._setSyncTarget(null),this._actualDataSource=null);var e=new $;this._actualDataSource=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(E.$type),r=this.i.actualProperties;r||(r=new j),i._inner=r,i.clear(),this._actualDataSource._setSyncTarget(i),this.i.actualProperties=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rowHeight",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("rowHeight",this.i.bp)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualRowHeight",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("actualRowHeight",this.i.ar)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualDescriptionContext",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"componentRenderer",{get:function(){return this.i.e},set:function(t){this.i.e=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this.i.bs},set:function(t){this.i.bs=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionType",{get:function(){return this.i.b2},set:function(t){this.i.b2=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isHorizontal",{get:function(){return this.i.ag},set:function(t){this.i.ag=n.ensureBool(t),this._a("isHorizontal",this.i.ag)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isWrappingEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=n.ensureBool(t),this._a("isWrappingEnabled",this.i.ai)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isIndirectModeEnabled",{get:function(){return this.i.ah},set:function(t){this.i.ah=n.ensureBool(t),this._a("isIndirectModeEnabled",this.i.ah)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.d6)},set:function(t){this.i.d6=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.d6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.d9)},set:function(t){this.i.d9=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.d9))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return null!=this.actualDataSource&&this.actualDataSource.findByName&&this.actualDataSource.findByName(t)?this.actualDataSource.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=n.toSpinal("PropertyEditorPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.getDesiredSize=function(){var t=this.i.ea();return n.fromSize(t)},i.prototype.notifySetItem=function(t,e,n){this.i.dq(t,e,n)},i.prototype.notifyClearItems=function(){this.i.dm()},i.prototype.notifyInsertItem=function(t,e){this.i.dn(t,e)},i.prototype.notifyRemoveItem=function(t,e){this.i.dp(t,e)},i._observedAttributesIgcPropertyEditorPanelComponent=null,i.htmlTagName="igc-property-editor-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),Q=function(){function t(){}return t.register=function(){F.register(),X.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",X),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",X),n.TypeRegistrar.register("PropertyEditorPanel",W.$type)},t}(),J=function(t){return t[t.Auto=0]="Auto",t[t.Near=1]="Near",t[t.Far=2]="Far",t}({}),G=n.markEnum("PopupAlignment","Auto,0|Near,1|Far,2"),Y=function(t){return t[t.Auto=0]="Auto",t[t.Down=1]="Down",t[t.Up=2]="Up",t}({}),Z=n.markEnum("PopupDirection","Auto,0|Down,1|Up,2"),tt=n.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),et=n.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),nt=function(t){function i(e){var i=t.call(this)||this;if(q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(q.$type,E.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new q)&&(e._implementation=t),e},t},i}(n.IgCollection),it=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.Name=null,e.Value=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelDropDownDataListItem"),i}(n.Base),rt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new k},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.l},set:function(t){this.i.l=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return null},t}();t.ExpansionPanelUtilities=i,t.ExpansionPanelView=a,t.HorizontalPropertyEditorPanelDataSource=K,t.IgcHorizontalPropertyEditorPanelDataSource=nt,t.IgcOnClosedEventArgs=v,t.IgcOnCollapsedEventArgs=p,t.IgcOnExpandedEventArgs=u,t.IgcOnPopupEventArgs=_,t.IgcPopupComponent=P,t.IgcPopupModule=C,t.IgcPropertyEditorDataSource=rt,t.IgcPropertyEditorDescriptionObject=D,t.IgcPropertyEditorDescriptionObjectCollection=B,t.IgcPropertyEditorPanelComponent=X,t.IgcPropertyEditorPanelModule=Q,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=N,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=R,t.IgcPropertyEditorPropertyDescriptionCollection=$,t.IgcPropertyEditorPropertyDescriptionComponent=q,t.IgcPropertyEditorPropertyDescriptionModule=F,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=U,t.IgcXExpansionPanelComponent=l,t.IgcXExpansionPanelModule=h,t.OnClosedEventArgs=d,t.OnCollapsedEventArgs=r,t.OnExpandedEventArgs=o,t.OnPopupEventArgs=y,t.Popup=m,t.PopupAlignment=J,t.PopupAlignment_$type=G,t.PopupDirection=Y,t.PopupDirection_$type=Z,t.PopupView=g,t.PopupVisualModelExport=b,t.Popup_InnerAnimationInfo=f,t.Popup_OuterAnimationInfo=c,t.PropertyEditorDataSource=k,t.PropertyEditorDescriptionObject=T,t.PropertyEditorDescriptionObjectCollection=I,t.PropertyEditorPanel=W,t.PropertyEditorPanelColumnDefinition=M,t.PropertyEditorPanelColumnFieldType_$type=et,t.PropertyEditorPanelColumnType_$type=tt,t.PropertyEditorPanelDataBindingEventArgs=z,t.PropertyEditorPanelDropDownDataListItem=it,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=V,t.PropertyEditorPanelView=H,t.PropertyEditorPropertyDescription=E,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=x,t.PropertyEditorPropertyDescriptionChangedEventArgs=A,t.PropertyEditorPropertyDescriptionCollection=j,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=O,t.PropertyEditorTreeTransformer=L,t.PropertyEditorValueType=w,t.PropertyEditorValueType_$type=S,t.XExpansionPanel=s,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
7
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib_1,t.igniteuiWebcomponentsCore)}(this,(function(t,e,n){"use strict";var i=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.a=function(t){return t.getNativeElement().checked},i.b=function(t,e){t.getNativeElement().checked=e},i.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},i.$t=n.markType(i,"ExpansionPanelUtilities"),i}(n.Base),r=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnCollapsedEventArgs",n.EventArgs.$),i}(n.EventArgs),o=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnExpandedEventArgs",n.EventArgs.$),i}(n.EventArgs),a=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(r,t),Object.defineProperty(r.prototype,"r",{get:function(){return this.q},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"h",{get:function(){return this.g},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"k",{get:function(){return this.j},enumerable:!0,configurable:!0}),r.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},r.prototype.aj=function(){var t=this.h,e=n.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},r.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&n.NativeUI.k(this.p,this.h.bl),null!=this.l&&n.NativeUI.o(this.l,this.h.bj),null!=this.o&&n.NativeUI.o(this.o,this.h.bk))},r.prototype.a=function(t){return new n.AnimationKeyFrameEffect(0,this.l,0,null,t)},r.prototype.b=function(t){return new n.AnimationKeyFrameEffect(0,this.o,0,null,t)},r.prototype.c=function(t){return new n.AnimationKeyFrameEffect(0,this.p,0,null,t)},r.prototype.d=function(t){return new n.AnimationKeyFrameEffect(0,this.m,0,null,t)},r.prototype.e=function(t){return new n.AnimationKeyFrameEffect(0,this.n,0,null,t)},r.prototype.u=function(){null==n.KeyFrameAnimationFactory.h&&(n.KeyFrameAnimationFactory.h=this.k)},r.prototype.i=function(){return this.m.outerHeight()},r.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},r.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?r.s:r.t}},r.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},r.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},r.prototype.y=function(t){this.q=t,this.ab()},r.prototype.z=function(t){this.g=t},r.prototype.aa=function(){},r.prototype.af=function(t){var e=this.k;this.p=t;var i=e.createElement("div");this.p.append(i),this.v(i);var r=e.createElement("div");r.setStyleProperty("display","flex"),r.setStyleProperty("flex-direction","column"),r.setStyleProperty("justify-content","space-evenly"),r.setStyleProperty("align-items","flex-start"),this.p.append(r);var o=e.createElement("div");r.append(o),this.l=e.createElement("label"),o.append(this.l);var a=e.createElement("div");r.append(a),this.o=e.createElement("label"),a.append(this.o),this.p.setAttribute("tabindex","0"),this.p.setStyleProperty("display","flex"),this.p.setStyleProperty("flex-direction","row"),i.setStyleProperty("display","flex"),i.setStyleProperty("justify-content","center"),i.setStyleProperty("flex-direction","column"),i.setStyleProperty("margin","0px 10px 0px 10px"),i.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",n.runOn(this,this.w)),this.p.listen("keydown",n.runOn(this,this.x))},r.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var n=t.componentRef;e.f=n.i,e.f.fill=r.al,e.ag()}),!1)},r.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},r.prototype.ad=function(t){this.k;this.m=t},r.prototype.w=function(t){t.originalEvent.target;this.h.a2()},r.prototype.x=function(t){var e=n.BaseDOMEventProxy.c0(t),r=i.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==r&&(this.h.au(),t.preventDefault());break;case 15:1==r&&(this.h.ar(),t.preventDefault())}},r.$t=n.markType(r,"ExpansionPanelView"),r.al=n.BrushUtil.g(255,33,150,243),r.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",r.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",r}(n.Base),s=function(t){function i(){var e=t.call(this)||this;e.c=null,e.onCollapsed=null,e.onExpanded=null,e.propertyChanged=null,e.g=null,e.aa="Caption",e.bb=null,e.a4=i.bs,e.a9=null,e.ba=null,e.ag=n.stringEmpty(),e.be=null,e.a5=i.bt,e.bc=null,e.bd=null,e.p=-1,e.o=i.r,e.m=!0,e.bf=null,e.a6=i.bu,e.bg=null,e.bh=null,e.a8=i.bw,e.a7=i.bv,e.a3=i.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(i,t),i.prototype.aw=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.ax(t,e,i)},Object.defineProperty(i.prototype,"ab",{get:function(){return this.aa},set:function(t){if(t!=this.aa){var e=this.aa;this.aa=t,this.aw("Caption",e,this.aa)}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bq",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.aw("CaptionTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bj",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.aw("ActualCaptionTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bo",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.aw("CaptionCollapsedTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bp",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.aw("CaptionExpandedTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ah",{get:function(){return this.ag},set:function(t){if(t!=this.ag){var e=this.ag;this.ag=t,this.aw("Description",e,this.ag)}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bz",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.aw("DescriptionTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bk",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.aw("ActualDescriptionTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bx",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.aw("DescriptionCollapsedTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"by",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.aw("DescriptionExpandedTextColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"s",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.aw("Elevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.aw("ActualElevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var n=this.m;this.m=t;var i=this.h(this.m),a=this.i(this.m),s=this.j(this.m),u=this.k(this.m),p=this.l(this.m);i.play(),a.play(),s.play(),u.play(),p.play(),i.finished.f((function(t){return i.commitStyles()})),a.finished.f((function(t){return a.commitStyles()})),s.finished.f((function(t){return s.commitStyles()})),u.finished.f((function(t){return u.commitStyles()})),p.finished.f((function(t){p.commitStyles(),e.aw("Expanded",n,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new o):null!=e.onCollapsed&&e.onCollapsed(e,new r))}))}},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b6",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.aw("HeaderBackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bl",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.aw("ActualHeaderBackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b7",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.aw("HeaderCollapsedBackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b8",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.aw("HeaderExpandedBackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bn",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.aw("ActualUmbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bm",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.aw("ActualPenumbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bi",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.aw("ActualAmbientShadowColor",e,t)},enumerable:!0,configurable:!0}),i.prototype.f=function(){return new a},i.prototype.ax=function(t,e,n){switch(t){case"CaptionTextColor":case"CaptionExpandedTextColor":case"CaptionCollapsedTextColor":case"DescriptionTextColor":case"DescriptionExpandedTextColor":case"DescriptionCollapsedTextColor":case"HeaderBackgroundColor":case"HeaderCollapsedBackgroundColor":case"HeaderExpandedBackgroundColor":case"Expanded":var r=this.bl,o=this.b4(),a=this.bj,s=this.b0(),u=this.bk,p=this.b2();r!=o||a!=s||u!=p?(this.bl=o,this.bj=s,this.bk=p):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?i.r:this.s;break;case"ActualElevation":case"ActualHeaderBackgroundColor":case"ActualCaptionTextColor":case"ActualDescriptionTextColor":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Caption":case"Description":this.g.ak()}},i.prototype.h=function(t){var i=this.bj,r=this.b1(t),o=t?this.b():this.a(),a=this.g.a(o),s=[new n.AnimationKeyFrameProperty(7,i)],u=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.i=function(t){var i=this.bk,r=this.b3(t),o=t?this.b():this.a(),a=this.g.b(o),s=[new n.AnimationKeyFrameProperty(7,i)],u=[new n.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.j=function(t){var i=this.bl,r=this.b5(t),o=t?this.b():this.a(),a=this.g.c(o),s=[new n.AnimationKeyFrameProperty(2,i)],u=[new n.AnimationKeyFrameProperty(2,r)];return a.m.apply(a,e.__spread(s)),a.m.apply(a,e.__spread(u)),n.KeyFrameAnimationFactory.f.c(a)},i.prototype.k=function(t){var i=this.g.i();i<=0&&(i=500);var r=t?-i:0,o=t?0:-i,a=t?0:1,s=t?1:0,u=t?this.b():this.a(),p=new n.TranslateTransform;p.k=r;var l=new n.TranslateTransform;l.k=o;var h=this.g.d(u),c=[new n.AnimationKeyFrameProperty(14,p),new n.AnimationKeyFrameProperty(1,a)],f=[new n.AnimationKeyFrameProperty(14,l),new n.AnimationKeyFrameProperty(1,s)];return h.m.apply(h,e.__spread(c)),h.m.apply(h,e.__spread(f)),n.KeyFrameAnimationFactory.f.c(h)},i.prototype.l=function(t){var i=this.g.i();i<=0&&(i=500);var r=t?0:i,o=t?i:0,a=t?this.b():this.a(),s=this.g.e(a),u=[new n.AnimationKeyFrameProperty(10,r)],p=[new n.AnimationKeyFrameProperty(10,o)];return s.m.apply(s,e.__spread(u)),s.m.apply(s,e.__spread(p)),n.KeyFrameAnimationFactory.f.c(s)},i.prototype.a=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},i.prototype.b=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},i.prototype.at=function(){this.g.u()},i.prototype.b0=function(){return this.b1(this.n)},i.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:i.bs},i.prototype.b2=function(){return this.b3(this.n)},i.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:i.bt},i.prototype.b4=function(){return this.b5(this.n)},i.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:i.bu},i.prototype.ar=function(){this.n=!1},i.prototype.destroy=function(){this.provideRenderer(null)},i.prototype.au=function(){this.n=!0},i.prototype.notifySizeChanged=function(){},i.prototype.provideHeader=function(t){this.g.af(t)},i.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},i.prototype.provideContentAreaInner=function(t){this.g.ad(t)},i.prototype.provideRenderer=function(t){this.g.ac(t)},i.prototype.a2=function(){this.n=!this.n},i.$t=n.markType(i,"XExpansionPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.bs=n.BrushUtil.g(188,0,0,0),i.bt=n.BrushUtil.g(188,0,0,0),i.r=2,i.bu=n.BrushUtil.g(255,245,245,245),i.bw=n.BrushUtil.g(66,0,0,0),i.bv=n.BrushUtil.g(30,0,0,0),i.br=n.BrushUtil.g(20,0,0,0),i}(n.Base),u=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new o},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),p=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new r},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),l=function(t){function i(){var i=t.call(this)||this;i._implementation=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._onCollapsed=null,i._onCollapsed_wrapped=null,i._onExpanded=null,i._onExpanded_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._portalManager=new n.PortalManager("iconContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._mainDiv=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._mainDiv);var r=i._webComponentRenderer.createElement("div");r.setAttribute("key","expansionPanelHeaderArea");var o=i._webComponentRenderer.createElement("div");o.setAttribute("key","expansionPanelContentAreaOuter");var a=i._webComponentRenderer.createElement("div");return a.setAttribute("key","expansionPanelContentAreaInner"),o.append(a),i._mainDiv.append(r),i._mainDiv.append(o),new MutationObserver((function(t){var n,s;try{for(var u=e.__values(t),p=u.next();!p.done;p=u.next()){if("childList"==p.value.type)for(var l=0;l<i.childNodes.length;l++){var h=i.childNodes[l];h!=i._mainDiv.getNativeElement()&&h!==r.getNativeElement()&&h!==o.getNativeElement()&&h!==a.getNativeElement()&&(h.remove(),a.append(i._webComponentRenderer.getWrapper(h)))}}}catch(t){n={error:t}}finally{try{p&&!p.done&&(s=u.return)&&s.call(u)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i.i.provideRenderer(i._webComponentRenderer),i.i.provideHeader(i._webComponentRenderer.getWrapper(r)),i.i.provideContentAreaOuter(i._webComponentRenderer.getWrapper(o)),i.i.provideContentAreaInner(i._webComponentRenderer.getWrapper(a)),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new s},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-expansion-panel"),this.classList.add("igr-expansion-panel"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},i.prototype.afterContentInit=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcXExpansionPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcXExpansionPanelComponent=t}return i._observedAttributesIgcXExpansionPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionTextColor",{get:function(){return n.brushToString(this.i.bq)},set:function(t){this.i.bq=n.stringToBrush(t),this._a("captionTextColor",n.brushToString(this.i.bq))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualCaptionTextColor",{get:function(){return n.brushToString(this.i.bj)},set:function(t){this.i.bj=n.stringToBrush(t),this._a("actualCaptionTextColor",n.brushToString(this.i.bj))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionCollapsedTextColor",{get:function(){return n.brushToString(this.i.bo)},set:function(t){this.i.bo=n.stringToBrush(t),this._a("captionCollapsedTextColor",n.brushToString(this.i.bo))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"captionExpandedTextColor",{get:function(){return n.brushToString(this.i.bp)},set:function(t){this.i.bp=n.stringToBrush(t),this._a("captionExpandedTextColor",n.brushToString(this.i.bp))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionTextColor",{get:function(){return n.brushToString(this.i.bz)},set:function(t){this.i.bz=n.stringToBrush(t),this._a("descriptionTextColor",n.brushToString(this.i.bz))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualDescriptionTextColor",{get:function(){return n.brushToString(this.i.bk)},set:function(t){this.i.bk=n.stringToBrush(t),this._a("actualDescriptionTextColor",n.brushToString(this.i.bk))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionCollapsedTextColor",{get:function(){return n.brushToString(this.i.bx)},set:function(t){this.i.bx=n.stringToBrush(t),this._a("descriptionCollapsedTextColor",n.brushToString(this.i.bx))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionExpandedTextColor",{get:function(){return n.brushToString(this.i.by)},set:function(t){this.i.by=n.stringToBrush(t),this._a("descriptionExpandedTextColor",n.brushToString(this.i.by))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerBackgroundColor",{get:function(){return n.brushToString(this.i.b6)},set:function(t){this.i.b6=n.stringToBrush(t),this._a("headerBackgroundColor",n.brushToString(this.i.b6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualHeaderBackgroundColor",{get:function(){return n.brushToString(this.i.bl)},set:function(t){this.i.bl=n.stringToBrush(t),this._a("actualHeaderBackgroundColor",n.brushToString(this.i.bl))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerCollapsedBackgroundColor",{get:function(){return n.brushToString(this.i.b7)},set:function(t){this.i.b7=n.stringToBrush(t),this._a("headerCollapsedBackgroundColor",n.brushToString(this.i.b7))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"headerExpandedBackgroundColor",{get:function(){return n.brushToString(this.i.b8)},set:function(t){this.i.b8=n.stringToBrush(t),this._a("headerExpandedBackgroundColor",n.brushToString(this.i.b8))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualUmbraShadowColor",{get:function(){return n.brushToString(this.i.bn)},set:function(t){this.i.bn=n.stringToBrush(t),this._a("actualUmbraShadowColor",n.brushToString(this.i.bn))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualPenumbraShadowColor",{get:function(){return n.brushToString(this.i.bm)},set:function(t){this.i.bm=n.stringToBrush(t),this._a("actualPenumbraShadowColor",n.brushToString(this.i.bm))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualAmbientShadowColor",{get:function(){return n.brushToString(this.i.bi)},set:function(t){this.i.bi=n.stringToBrush(t),this._a("actualAmbientShadowColor",n.brushToString(this.i.bi))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=n.toSpinal("XExpansionPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.collapse=function(){this.i.ar()},i.prototype.expand=function(){this.i.au()},i.prototype.toggle=function(){this.i.a2()},Object.defineProperty(i.prototype,"onCollapsed",{get:function(){return this._onCollapsed},set:function(t){var e=this;null!==this._onCollapsed_wrapped&&(this.i.onCollapsed=n.delegateRemove(this.i.onCollapsed,this._onCollapsed_wrapped),this._onCollapsed_wrapped=null,this._onCollapsed=null),this._onCollapsed=t,this._onCollapsed_wrapped=function(t,n){var i=new p;i._provideImplementation(n),e.beforeOnCollapsed&&e.beforeOnCollapsed(e,i),e._onCollapsed&&e._onCollapsed(e,i)},this.i.onCollapsed=n.delegateCombine(this.i.onCollapsed,this._onCollapsed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onExpanded",{get:function(){return this._onExpanded},set:function(t){var e=this;null!==this._onExpanded_wrapped&&(this.i.onExpanded=n.delegateRemove(this.i.onExpanded,this._onExpanded_wrapped),this._onExpanded_wrapped=null,this._onExpanded=null),this._onExpanded=t,this._onExpanded_wrapped=function(t,n){var i=new u;i._provideImplementation(n),e.beforeOnExpanded&&e.beforeOnExpanded(e,i),e._onExpanded&&e._onExpanded(e,i)},this.i.onExpanded=n.delegateCombine(this.i.onExpanded,this._onExpanded_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcXExpansionPanelComponent=null,i.htmlTagName="igc-x-expansion-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),h=function(){function t(){}return t.register=function(){l.register(),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",l),n.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",l),n.TypeRegistrar.register("XExpansionPanel",s.$type)},t}(),c=function(t){function i(){var e=t.call(this)||this;return e.c=0,e.d=0,e.a=0,e.b=0,e}return e.__extends(i,t),i.$t=n.markStruct(i,"Popup_OuterAnimationInfo"),i}(n.ValueType),f=function(t){function i(){var e=t.call(this)||this;return e.a=0,e.b=0,e}return e.__extends(i,t),i.$t=n.markStruct(i,"Popup_InnerAnimationInfo"),i}(n.ValueType),d=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnClosedEventArgs",n.EventArgs.$),i}(n.EventArgs),y=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"OnPopupEventArgs",n.EventArgs.$),i}(n.EventArgs),b=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.d=!1,e.c=null,e.b=null,e.a=null,e}return e.__extends(i,t),i.prototype.f=function(){var t=new n.StringBuilder(0);return t.l("{"),t.l("actualElevation : "+this.e+", "),t.l("isShown : "+this.d+", "),t.l("actualUmbraShadowColor : "+this.c.serialize()+", "),t.l("actualPenumbraShadowColor : "+this.b.serialize()+", "),t.l("actualAmbientShadowColor : "+this.a.serialize()+", "),t.l("}"),t.toString()},i.$t=n.markType(i,"PopupVisualModelExport"),i}(n.Base),g=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.c=null,e.o=null,e.n=null,e.m=null,e.p=null,e.f=!1,e.h=0,e.al=new n.Size(1,0,0),e.e=!0,e.g=!1,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"d",{get:function(){return this.c},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"l",{get:function(){return this.k},enumerable:!0,configurable:!0}),i.prototype.ab=function(){this.o.setStyleProperty("height","0%"),this.o.setStyleProperty("width","0%"),this.n=this.k.createElement("div"),this.n.setStyleProperty("position","absolute"),this.n.setStyleProperty("overflow","hidden"),this.n.setStyleProperty("z-index","10000"),this.n.setAttribute("key","popupContentAreaOuter"),this.m=this.k.createElement("div"),this.m.setAttribute("key","popupContentAreaInner"),this.n.append(this.m)},i.prototype.ai=function(){var t=this.d,e=n.ElevationHelper.e(t.w,t.a7,t.a6,t.a5);this.n.setStyleProperty("box-shadow",e)},i.prototype.ah=function(){null!=this.d.a8&&this.n.setStyleProperty("background-color",this.d.a8._fill)},i.prototype.aj=function(){null!=this.o&&(this.ai(),this.ah())},i.prototype.s=function(){if(null!=this.n){this.aj(),this.n.setStyleProperty("height","0px");var t=this.n.getNativeElement();0==this.f&&(document.body.appendChild(t),this.f=!0,this.e&&this.z())}},i.prototype.t=function(t,e){return this.n.setStyleProperty("top",i.q(t.b)),this.n.setStyleProperty("height",i.r(t.d)),this.m.setStyleProperty("top",i.r(e.b)),this.m.setStyleProperty("opacity","1"),this.m.setStyleProperty("transform",n.stringEmpty()),this.h=0,this.g&&this.ag(),{p0:t,p1:e}},i.prototype.u=function(t){this.h=t},i.prototype.ae=function(){if(null!=this.n&&this.f){var t=this.n.getNativeElement();document.body.removeChild(t),this.f=!1}},i.prototype.v=function(t){this.m.append(t)},i.prototype.a=function(t){return new n.AnimationKeyFrameEffect(0,this.m,0,null,t)},i.prototype.b=function(t){return new n.AnimationKeyFrameEffect(0,this.n,0,null,t)},i.prototype.w=function(){null==n.KeyFrameAnimationFactory.h&&(n.KeyFrameAnimationFactory.h=this.l)},Object.defineProperty(i.prototype,"am",{get:function(){return this.e&&this.z(),this.al},enumerable:!0,configurable:!0}),i.prototype.i=function(t,e){var n,i=e;t:for(;;){switch(i){case 0:case 1:n=t.left;break;case 2:n=t.right-this.am.width;break;default:i=0;continue t}break}return n},i.prototype.j=function(t,e){var n,i=e;t:for(;;){switch(i){case 0:case 1:n=t.bottom;break;case 2:n=t.top-this.am.height;break;default:i=0;continue t}break}return n},i.r=function(t){return n.stringFormat("{0}px",t)},i.q=function(t){return n.stringFormat("{0}px",t)},i.prototype.ak=function(t,e,i){var r=this.j(t,e),o=this.i(t,i);if(this.af(o,r),2==e||2==i)for(var a=10;a>0;){var s=this.j(t,e),u=this.i(t,i);if(s==r&&u==o){a=0;break}r=s,o=u,this.af(o,r),a--}return new n.Rect(0,o,r,this.am.width,this.am.height)},i.prototype.z=function(){this.f?(this.n.setStyleProperty("width",n.stringEmpty()),this.n.setStyleProperty("height",n.stringEmpty()),this.al=new n.Size(1,this.m.outerWidth(),this.m.outerHeight()),this.e=!1,this.ag()):this.e=!0},i.prototype.af=function(t,e){var i=n.stringFormat("{0}px",t),r=n.stringFormat("{0}px",e);this.n.setStyleProperty("left",i),this.n.setStyleProperty("top",r)},i.prototype.ac=function(t){var e=this;if(null!=t){this.k=t;var n=t.rootWrapper;this.x(n),this.k.getPortal(this.m,"ChildContent",(function(t){var n=t.componentRef;e.p=n}),!0)}else this.k=null},i.prototype.ag=function(){var t=new n.Size(1,this.am.width,this.am.height);this.f&&this.d.t||(t.height=0);var e=t.width,i=t.height;if(this.c.r()){if(this.h==i)return;return this.c.an(),void(this.g=!0)}this.g=!1;var r=n.stringFormat("{0}px",e),o=n.stringFormat("{0}px",i);this.n.setStyleProperty("width",r),this.n.setStyleProperty("height",o)},i.prototype.x=function(t){this.o=t,this.ab()},i.prototype.y=function(t){this.c=t},i.prototype.aa=function(){},i.prototype.ad=function(){this.s(),this.d.t||this.ag()},i.$t=n.markType(i,"PopupView"),i}(n.Base),m=function(t){function i(){var e=t.call(this)||this;e.i=0,e.h=0,e.bc=null,e.n=null,e.o=null,e.onClosed=null,e.onPopup=null,e.propertyChanged=null,e.k=null,e.x=50,e.p=!0,e.v=-1,e.u=i.z,e.s=!1,e.a3=i.bb,e.a2=i.ba,e.a1=i.a9,e.a4=null;var n=e.j();return e.k=n,n.y(e),e}return e.__extends(i,t),i.prototype.au=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.aw(t,e,i)},Object.defineProperty(i.prototype,"y",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,e!=this.x&&this.au("AnimationDuration",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.au("AnimationEnabled",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aa",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,e!=this.v&&this.au("Elevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"w",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.au("ActualElevation",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.s},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a7",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.au("ActualUmbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a6",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.au("ActualPenumbraShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a5",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.au("ActualAmbientShadowColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"a8",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.au("Background",e,this.a4)},enumerable:!0,configurable:!0}),i.prototype.j=function(){return new g},i.prototype.aw=function(t,e,n){switch(t){case"IsShown":0==this.t&&this.k.ae();break;case"Elevation":this.w=-1==this.aa?i.z:this.aa;break;case"ActualElevation":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Background":this.k.aj();break;case"AnimationEnabled":0==this.q&&this.an()}},i.prototype.an=function(){this.r()&&(null!=this.o&&1==this.o.playState&&this.o.cancel(),null!=this.n&&1==this.n.playState&&this.n.cancel())},i.prototype.l=function(t){var i=this.f(t),r=t?this.b():this.a(),o=this.k.a(r),a=new n.List$1(n.AnimationKeyFrameProperty.$,0),s=new n.List$1(n.AnimationKeyFrameProperty.$,0),u=new n.TranslateTransform;u.k=i.a;var p=new n.TranslateTransform;p.k=i.b;var l=new n.AnimationKeyFrameProperty(14,u),h=new n.AnimationKeyFrameProperty(14,p);return a.add(l),s.add(h),o.m.apply(o,e.__spread(a.toArray())),o.m.apply(o,e.__spread(s.toArray())),n.KeyFrameAnimationFactory.f.c(o)},i.prototype.m=function(t){var i=this.g(t);this.k.u(i.d);var r=t?this.b():this.a(),o=this.k.b(r),a=new n.List$1(n.AnimationKeyFrameProperty.$,0),s=new n.List$1(n.AnimationKeyFrameProperty.$,0),u=new n.AnimationKeyFrameProperty(10,i.c),p=new n.AnimationKeyFrameProperty(10,i.d);if(a.add(u),s.add(p),2==this.i){var l=i.a,h=i.b,c=new n.AnimationKeyFrameProperty(12,l),f=new n.AnimationKeyFrameProperty(12,h);a.add(c),s.add(f)}return o.m.apply(o,e.__spread(a.toArray())),o.m.apply(o,e.__spread(s.toArray())),n.KeyFrameAnimationFactory.f.c(o)},i.prototype.a=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=this.y,t.b=3,t},i.prototype.b=function(){var t=new n.AnimationKeyFrameEffectTiming;return t.g=this.y,t.b=3,t},i.prototype.aq=function(){this.k.w()},i.prototype.f=function(t){var e=n.truncate(this.k.am.height);e<=0&&(e=500);var i,r=t?-e:0,o=t?0:-e;return 2==this.i&&(r=0,o=0),(i=new f).a=r,i.b=o,i},i.prototype.g=function(t){var e=n.truncate(this.k.am.height);e<=0&&(e=500);var i,r,o,a=t?0:e,s=t?e:0;return 2==this.i?(i=t?this.bc.bottom:this.bc.top,r=t?this.bc.top:this.bc.bottom):(i=this.bc.top,r=this.bc.top),(o=new c).c=a,o.d=s,o.a=i,o.b=r,o},i.prototype.r=function(){return(null!=this.o||null!=this.n)&&(null!=this.o&&1==this.o.playState||null!=this.n&&1==this.n.playState)},i.prototype.ar=function(){this.k.z()},i.prototype.av=function(t,e,n){this.k.ad(),this.bc=this.k.ak(t,e,n),this.i=e,this.h=n},i.prototype.ay=function(t,e,n){this.s&&(this.s=!1,this.au("IsShown",!0,this.s)),this.av(t,e,n),this.az(!0)},i.prototype.az=function(t){var e=this;this.an();var n=this.s;this.s=t;var i=this.g(t),r=this.f(t);if(0==this.q){var o=this.k.t(i,r);return i=o.p0,void(r=o.p1)}this.aq(),this.n=this.l(this.s),this.o=this.m(this.s),this.n.play(),this.o.play(),this.n.finished.f((function(t){return e.n.commitStyles()})),this.o.finished.f((function(t){e.o.commitStyles(),e.au("IsShown",n,e.s),e.s?null!=e.onPopup&&e.onPopup(e,new y):null!=e.onClosed&&e.onClosed(e,new d);var o=e.k.t(i,r);i=o.p0,r=o.p1}))},i.prototype.appendPopupContent=function(t){this.k.v(t)},i.prototype.ao=function(){this.s&&this.az(!1)},i.prototype.destroy=function(){this.provideRenderer(null)},i.prototype.showRelativeToExclusionRect=function(t,e,n){this.ay(t,e,n)},i.prototype.as=function(t){this.bc=this.k.ak(t,this.i,this.h)},i.prototype.notifySizeChanged=function(){},i.prototype.provideRenderer=function(t){this.k.ac(t)},i.prototype.ab=function(){return this.c()},i.prototype.ak=function(){return this.c().f()},i.prototype.c=function(){var t=new b;return t.e=this.w,t.d=this.t,t.c=n.AppearanceHelper.a(this.a7),t.b=n.AppearanceHelper.a(this.a6),t.a=n.AppearanceHelper.a(this.a5),t},i.$t=n.markType(i,"Popup",n.Base.$,[n.INotifyPropertyChanged_$type]),i.z=2,i.bb=n.BrushUtil.g(66,0,0,0),i.ba=n.BrushUtil.g(30,0,0,0),i.a9=n.BrushUtil.g(20,0,0,0),i}(n.Base),_=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new y},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),v=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new d},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),P=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._onClosed=null,i._onClosed_wrapped=null,i._onPopup=null,i._onPopup_wrapped=null,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._portalManager=new n.PortalManager("popupContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._mainDiv=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._mainDiv),i.i.provideRenderer(i._webComponentRenderer),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i._onChildrenChanged()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!0,configurable:!0}),i.prototype._onChildrenChanged=function(){for(var t=[],e=0;e<this.childNodes.length;e++){var n=this.childNodes[e];n!==this._mainDiv.getNativeElement()&&t.push(n)}this._portalManager.onChildrenChanged(t)},i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.createImplementation=function(){return new m},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-popup"),this.classList.add("igr-popup"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},i.prototype.afterContentInit=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPopupComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPopupComponent=t}return i._observedAttributesIgcPopupComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"animationDuration",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("animationDuration",this.i.y)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"animationEnabled",{get:function(){return this.i.q},set:function(t){this.i.q=n.ensureBool(t),this._a("animationEnabled",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elevation",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("elevation",this.i.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualElevation",{get:function(){return this.i.w},set:function(t){this.i.w=+t,this._a("actualElevation",this.i.w)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isShown",{get:function(){return this.i.t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualUmbraShadowColor",{get:function(){return n.brushToString(this.i.a7)},set:function(t){this.i.a7=n.stringToBrush(t),this._a("actualUmbraShadowColor",n.brushToString(this.i.a7))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualPenumbraShadowColor",{get:function(){return n.brushToString(this.i.a6)},set:function(t){this.i.a6=n.stringToBrush(t),this._a("actualPenumbraShadowColor",n.brushToString(this.i.a6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualAmbientShadowColor",{get:function(){return n.brushToString(this.i.a5)},set:function(t){this.i.a5=n.stringToBrush(t),this._a("actualAmbientShadowColor",n.brushToString(this.i.a5))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"background",{get:function(){return n.brushToString(this.i.a8)},set:function(t){this.i.a8=n.stringToBrush(t),this._a("background",n.brushToString(this.i.a8))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=n.toSpinal("PopupComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.close=function(){this.i.ao()},i.prototype.showRelativeToExclusionRect=function(t,e,i){this.i.showRelativeToExclusionRect(n.toRect(t),null==e?null:e,null==i?null:i)},i.prototype.exportVisualModel=function(){return this.i.ab()},i.prototype.exportSerializedVisualModel=function(){return this.i.ak()},Object.defineProperty(i.prototype,"onClosed",{get:function(){return this._onClosed},set:function(t){var e=this;null!==this._onClosed_wrapped&&(this.i.onClosed=n.delegateRemove(this.i.onClosed,this._onClosed_wrapped),this._onClosed_wrapped=null,this._onClosed=null),this._onClosed=t,this._onClosed_wrapped=function(t,n){var i=new v;i._provideImplementation(n),e.beforeOnClosed&&e.beforeOnClosed(e,i),e._onClosed&&e._onClosed(e,i)},this.i.onClosed=n.delegateCombine(this.i.onClosed,this._onClosed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onPopup",{get:function(){return this._onPopup},set:function(t){var e=this;null!==this._onPopup_wrapped&&(this.i.onPopup=n.delegateRemove(this.i.onPopup,this._onPopup_wrapped),this._onPopup_wrapped=null,this._onPopup=null),this._onPopup=t,this._onPopup_wrapped=function(t,n){var i=new _;i._provideImplementation(n),e.beforeOnPopup&&e.beforeOnPopup(e,i),e._onPopup&&e._onPopup(e,i)},this.i.onPopup=n.delegateCombine(this.i.onPopup,this._onPopup_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcPopupComponent=null,i.htmlTagName="igc-popup",i._isElementRegistered=!1,i}(n.IgcHTMLElement),C=function(){function t(){}return t.register=function(){n.IgcChildContentModule.register(),P.register(),n.TypeRegistrar.registerCons("IgcPopupComponent",P),n.TypeRegistrar.registerCons("IgcPopupComponent",P),n.TypeRegistrar.register("Popup",m.$type)},t}(),w=function(t){return t[t.Unhandled=0]="Unhandled",t[t.Number=1]="Number",t[t.StringValue=2]="StringValue",t[t.Date=3]="Date",t[t.Brush=4]="Brush",t[t.Color=5]="Color",t[t.BrushCollection=6]="BrushCollection",t[t.boolean1=7]="boolean1",t[t.SubType=8]="SubType",t[t.Collection=9]="Collection",t[t.Array=10]="Array",t[t.Point=11]="Point",t[t.Size=12]="Size",t[t.Rect=13]="Rect",t[t.ColorCollection=14]="ColorCollection",t[t.EnumValue=15]="EnumValue",t[t.MethodRef=16]="MethodRef",t[t.EventRef=17]="EventRef",t[t.DataRef=18]="DataRef",t[t.TimeSpan=19]="TimeSpan",t[t.Button=20]="Button",t[t.Slider=21]="Slider",t}({}),S=n.markEnum("PropertyEditorValueType","Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20|Slider,21"),x=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionButtonClickEventArgs",n.EventArgs.$),i}(n.EventArgs),A=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionChangedEventArgs",n.EventArgs.$),i}(n.EventArgs),O=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!0,configurable:!0}),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",n.EventArgs.$),i}(n.EventArgs),E=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.ah=null,e.af=null,e.m=0,e.ag=null,e.o=!1,e.ae=null,e.a=null,e.b=null,e.ab=null,e.u=NaN,e.r=NaN,e.s=NaN,e.t=NaN,e.v=NaN,e.f=null,e.h=null,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"al",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.ao("PropertyPath",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aj",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.af!=e&&this.ao("Label",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,this.m!=e&&this.ao("ValueType",n.enumGetBox(S,e),n.enumGetBox(S,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ak",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.ao("PropertyDescriptionType",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,this.o!=e&&this.ao("ShouldOverrideDefaultEditor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ai",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.ae!=e&&this.ao("ElementDescriptionType",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"c",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.ao("DropDownNames",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.ao("DropDownValues",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ad",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.ao("PrimitiveValue",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"z",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.ao("Min",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"w",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,this.r!=e&&this.ao("EditorWidth",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"x",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,this.s!=e&&this.ao("LabelWidth",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"y",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.ao("Max",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"aa",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,this.v!=e&&this.ao("Step",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.ao("ComplexValue",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.ao("ComplexValues",e,t)},enumerable:!0,configurable:!0}),i.prototype.ao=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t))},i.prototype.p=function(t){return null!=t&&(null==t.c||null!=this.c&&this.q||(this.c=t.c),null==t.d||null!=this.d&&this.q||(this.d=t.d),null==t.ai||null!=this.ai&&this.q||(this.ai=t.ai),null==t.ak||null!=this.ak&&this.q||(this.ak=t.ak),0==t.n||0!=this.n&&this.q||(this.n=t.n,!0),!0)},i.prototype.ac=function(t,e){return e?this.e:null!=this.e?this.e.d(t,!1):null},i.prototype.an=function(){null!=this.buttonClicked&&this.buttonClicked(this,new x)},i.prototype.am=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new A).newValue=e.ad,t))},i.prototype.ap=function(t,e,n){var i;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((i=new O).propertyPath=t,i.target=e,i.value=n,i))},i.$t=n.markType(i,"PropertyEditorPropertyDescription",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),j=function(t){function i(){return t.call(this,E.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPropertyDescriptionCollection",n.ObservableCollection$1.$.specialize(E.$)),i}(n.ObservableCollection$1),k=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=null,e.a=null,e.f=null,e.propertyChanged=null,e}return e.__extends(i,t),Object.defineProperty(i.prototype,"l",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,this.n("DescriptionType",e,this.i)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.n("Context",e,this.a)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.n("Data",e,this.f)},enumerable:!0,configurable:!0}),i.prototype.n=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.o(t,e,i)},i.prototype.o=function(t,e,n){switch(t){case"DescriptionType":case"Context":this.p()}},i.prototype.e=function(t){var e,n=this,r=new E;return r.al=t.propertyName,r.n=this.h(t),r.ak=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(r.ai=t.collectionElementType,r.e=((e=new i).b=n.a,e.l=r.ai,e)),8==r.n&&(r.e=function(){var t=new i;return t.b=n.a,t.l=r.ak,t}()),15==r.n&&(r.c=this.a.c(this.l,r.al),r.d=r.d),r},i.prototype.h=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;case 9:return 9;case 5:return 5;case 16:return 14;case 20:return 18;case 15:return 0;case 3:return 3;case 19:return 17;case 8:return"string"==t.specificExternalType?15:8;case 13:case 18:return 0;case 1:return 1;case 11:return 11;case 14:return 13;case 12:return 12;case 2:return 2;case 21:return 19;case 17:case 0:return 0}return 0},i.prototype.p=function(){var t=new j;if(null!=this.l&&null!=this.b){var e=this.b.b(this.l);if(null==e)return;for(var i=0;i<e.length;i++)if(!n.stringEndsWith(e[i],"@names")&&!n.stringEndsWith(e[i],"@nameBinding")){var r=this.b.getMetadata(this.l,e[i]),o=this.e(r);0!=o.n&&t.add(o)}}this.g=t},i.prototype.d=function(t,e){if(null==t)return null;for(var i=n.stringSplit(t,[".","["],0),r=new n.List$1(n.String_$type,1,i),o=null,a=null;r.count>0;){var s=r._inner[0];r.removeAt(0);var u=!1;if(n.stringContains(s,"]")){u=!0;var p=(s=n.stringReplace(s,"]","")).split(",");if(s=p[0].trim(),n.stringContains(s,"as")){var l=s.indexOf("as");s.substr(0,l).trim(),a=s.substr(l+2).trim()}if(null!=a&&a!=this.l){var h=this.c();h.l=a,o=h;continue}}if(e&&(u=!0),null!=o&&null!==n.typeCast(E.$,o)){var c=o.ac(s,u);if(null==c)return null;o=c}else if(null!=o){var f=o.d(s,u);if(null==f)return null;o=f}else{if(null==this.g)return null;for(var d=0;d<this.g.count;d++)if(n.Base.equalsStatic(this.g._inner[d].al,s)){o=this.g._inner[d];break}if(null==o)return null}}return n.typeCast(E.$,o)},i.prototype.c=function(){var t,e=this;return(t=new i).b=e.b,t.l=e.l,t},i.$t=n.markType(i,"PropertyEditorDataSource",n.Base.$,[n.INotifyPropertyChanged_$type]),i}(n.Base),T=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObject"),i}(n.Base),I=function(t){function i(){return t.call(this,T.$,0)||this}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorDescriptionObjectCollection",n.ObservableCollection$1.$.specialize(T.$)),i}(n.ObservableCollection$1),$=function(t){function i(e){var i=t.call(this)||this;if(q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(q.$type,E.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new q)&&(e._implementation=t),e},t},i}(n.IgCollection),D=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new T},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new $,e=this.i.a;e||(e=new j),this._properties=t._fromInner(e),this.i.a=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new $;this._properties=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(E.$type),r=this.i.a;r||(r=new j),i._inner=r,i.clear(),this._properties._setSyncTarget(i),this.i.a=r},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),B=function(t){function i(e){var i=t.call(this)||this;if(D.$type||(D.$type=n.markType(D,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){D.$type||(D.$type=n.markType(D,"IgcPropertyEditorDescriptionObject"));var t=new n.SyncableObservableCollection$2(D.$type,T.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new D)&&(e._implementation=t),e},t},i}(n.IgCollection),N=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new x},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},t}(),R=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new A},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!0,configurable:!0}),t}(),U=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new O},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!0,configurable:!0}),t}(),q=function(t){function i(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._buttonClicked=null,e._buttonClicked_wrapped=null,e._changed=null,e._changed_wrapped=null,e._targetPropertyUpdating=null,e._targetPropertyUpdating_wrapped=null,e._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e}return e.__extends(i,t),i.prototype.createImplementation=function(){return new E},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return n.TypeRegistrar.isRegistered(e)?n.TypeRegistrar.create(e):null},i.prototype.onImplementationCreated=function(){},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},i.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this._attached||(this._attached=!0,this._flushQueuedAttributes())},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"propertyPath",{get:function(){return this.i.al},set:function(t){this.i.al=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"label",{get:function(){return this.i.aj},set:function(t){this.i.aj=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"valueType",{get:function(){return this.i.n},set:function(t){this.i.n=n.ensureEnum(S,t),this._a("valueType",n.enumToString(S,this.i.n))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"propertyDescriptionType",{get:function(){return this.i.ak},set:function(t){this.i.ak=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.q},set:function(t){this.i.q=n.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.q)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"elementDescriptionType",{get:function(){return this.i.ai},set:function(t){this.i.ai=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"dropDownNames",{get:function(){return this.i.c},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.c=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"dropDownValues",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"primitiveValue",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"min",{get:function(){return this.i.z},set:function(t){this.i.z=+t,this._a("min",this.i.z)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"editorWidth",{get:function(){return this.i.w},set:function(t){this.i.w=+t,this._a("editorWidth",this.i.w)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"labelWidth",{get:function(){return this.i.x},set:function(t){this.i.x=+t,this._a("labelWidth",this.i.x)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"max",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("max",this.i.y)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"step",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("step",this.i.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"complexValue",{get:function(){if(null==this.i.g)return null;if(!this.i.g.externalObject){var t=new D;t._implementation=this.i.g,this.i.g.externalObject=t}return this.i.g.externalObject},set:function(t){this.i.g=null==t?null:t.i},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new B,e=this.i.i;e||(e=new I),this._complexValues=t._fromInner(e),this.i.i=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new B;this._complexValues=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(T.$type),r=this.i.i;r||(r=new I),i._inner=r,i.clear(),this._complexValues._setSyncTarget(i),this.i.i=r},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return this.complexValue&&this.complexValue.name&&this.complexValue.name==t?this.complexValue:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.findByName(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=n.toSpinal("PropertyEditorPropertyDescriptionComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},Object.defineProperty(i.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=n.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,n){var i=new N;i._provideImplementation(n),e.beforeButtonClicked&&e.beforeButtonClicked(e,i),e._buttonClicked&&e._buttonClicked(e,i)},this.i.buttonClicked=n.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=n.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,n){var i=new R;i._provideImplementation(n),e.beforeChanged&&e.beforeChanged(e,i),e._changed&&e._changed(e,i)},this.i.changed=n.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=n.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,n){var i=new U;i._provideImplementation(n),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,i),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,i)},this.i.targetPropertyUpdating=n.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!0,configurable:!0}),i._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,i.htmlTagName="igc-property-editor-property-description",i._isElementRegistered=!1,i}(n.IgcHTMLElement),F=function(){function t(){}return t.register=function(){q.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",q),n.TypeRegistrar.register("PropertyEditorPropertyDescription",E.$type)},t}(),V=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelTemplateCellUpdatingEventArgs"),i}(n.Base),z=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=null,e.b=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelDataBindingEventArgs"),i}(n.Base),M=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.f=0,e.g=0,e.a=0,e.h=0,e.j=null,e.cellUpdating=null,e.dataBinding=null,e}return e.__extends(i,t),i.prototype.i=function(t,e,n){if(null!=this.dataBinding){var i=new z;return i.b=t,i.a=e,i.c=n,this.dataBinding(this,i),i.b}return t},i.prototype.e=function(t,e,n){if(null!=this.cellUpdating){var i=new V;return i.a=t,i.b=e,i.c=n,this.cellUpdating(this,i),i.a}return t},i.$t=n.markType(i,"PropertyEditorPanelColumnDefinition"),i}(n.Base),K=function(t){function i(e){var n=t.call(this)||this;return n.ae=null,n.add(new E),n.ae=e,n}return e.__extends(i,t),i.$t=n.markType(i,"HorizontalPropertyEditorPanelDataSource",j.$),i}(j),L=function(t){function i(e,i){var r=t.call(this)||this;r.a=new n.DescriptionTreeNode,r.b=null,r.b=e,r.a=new n.DescriptionTreeNode,r.a.i=i;new n.JsonDictionaryObject;return r}return e.__extends(i,t),i.prototype.h=function(t,e,n){null!=t&&this.c(t,e,this.a,n,null)},i.prototype.c=function(t,i,r,o,a){if(null==t)return null;var s=n.stringSplit(t,[".","["],0),u=s[0],p=s.length>1,l=!1,h=new n.List$1(n.Number_$type,0),c=new n.List$1(n.String_$type,0);if(n.stringContains(u,"]")){l=!0;for(var f=(u=n.stringReplace(u,"]","")).split(","),d=0;d<f.length;d++){var y=f[d];if(n.stringContains(y,"as")){var b=y.indexOf("as"),g=y.substr(0,b).trim(),m=y.substr(b+2).trim();h.add(parseInt(g)),c.add(m),o=m,u=g}}}var _=null;if(_=l?a:this.b.getMetadata(o,u),p)if(l)for(var v=r.b,P=0;P<h.count;P++){u=h._inner[P].toString();for(var C=c._inner[P],w=parseInt(n.stringReplace(n.stringReplace(u,"[",""),"]","")),S=new n.List$1(n.Base.$,0),x=0;x<=w;x++)if(null!=v&&x<v.length){var A=v[x];null!==n.typeCast(n.DescriptionTreeNode.$,A)&&x==w&&(A.i=C),S.add1(A)}else{var O=this.d(a,!0,C);null!=O&&S.add1(O)}var E=(v=S.toArray())[w],j=new n.List$1(n.String_$type,1,s);j.removeAt(0);var k=_.collectionElementType;null!=C&&(k=C);var T=this.c(n.stringJoin.apply(void 0,e.__spread(["."],j.toArray())),i,E,k,_);null!=T&&(v[w]=T),r.b=v}else{var I=r;I.c(u)||I.o(u,this.d(_,!1,null),_);var $=I.a(u),D=new n.List$1(n.String_$type,1,s);D.removeAt(0);var B=this.c(n.stringJoin.apply(void 0,e.__spread(["."],D.toArray())),i,$,_.specificExternalType,_);null!=B&&I.o(u,B,_)}else r.o(u,this.e(i,_),_);return null},i.prototype.f=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},i.prototype.e=function(t,e){if(null==t)return null;if(null==e)return null;switch(e.knownType){case 10:case 7:return t;case 4:return t.toString();case 6:case 9:return t;case 5:return t.toString();case 16:case 20:case 15:case 3:case 19:case 8:case 13:case 18:case 1:case 11:case 14:case 12:case 2:case 21:case 17:case 0:return t}return null},i.prototype.d=function(t,e,i){if(e||10!=t.knownType&&9!=t.knownType){var r=new n.DescriptionTreeNode;return r.i=null!=i?i:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},i.prototype.g=function(){var t=new n.DescriptionSerializerBuilder,e=new n.DescriptionSerializer;return t.f("{"),t.i(),t.f('"descriptions": {'),t.i(),t.e('"root"'),t.e(": "),e.t(this.b,this.a,t),t.f(""),t.h(),t.e("}"),t.h(),t.f("}"),t.toString()},i.$t=n.markType(i,"PropertyEditorTreeTransformer"),i}(n.Base),H=function(t){function i(){var e,i=t.call(this)||this;return i.n=null,i.m=null,i.a=null,i.i=null,i.l=null,i.e=null,i.k=null,i.b=((e=new n.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),i.aa=new n.Size,i.c=null,i._gridExternal=null,i.f=!1,i.j=null,i}return e.__extends(i,t),i.prototype.p=function(){return this.i},i.prototype.v=function(){},i.prototype.t=function(t){var e=this;if(null!=t){this.a.j=new n.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new n.RenderingContext(new n.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),n.NativeUIComponent.z(this.p(),7,(function(t){var n=t;e.a.dh(n,e.n),e.i.append(n.u)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},i.prototype.y=function(){},i.prototype.x=function(){this.i},i.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new n.Size(1,t,e),null!=this.a.v&&this.a.d2()}},i.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(n.NativeUI.o(e,this.a.d9),n.NativeUI.k(e,this.a.d6))}},i.prototype.d=function(){return this.b},i.prototype.u=function(){},i.prototype.w=function(){},i.prototype.r=function(){var t=this.a.ea();t.height>0&&this.i.rootWrapper.setStyleProperty("min-height",t.height+"px")},i.prototype.g=function(){return this.aa.width},i.prototype.h=function(t){return this.c=this.a.u(),n.FontUtil.measureStringWidth(t,this.c,this.e)},i.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},i.$t=n.markType(i,"PropertyEditorPanelView"),i}(n.Base),W=function(t){function i(){var e=t.call(this)||this;e.l=null,e.v=null,e.r=null,e.y=!1,e.z=!1,e.w=null,e.propertyChanged=null,e.af=!1,e.n=null,e.o=new j,e.bk=-1,e.aq=n.DeviceUtils.g(38),e.s=null,e.br=null,e.c=null,e.an=null,e.j=null,e.ae=!1,e.ap=null,e.bj=-1,e.bt=null,e.ad=!0,e.am=new n.Dictionary$2(M.$,n.Number_$type,0),e.f=null,e.g=null,e.d=null,e.bq=null,e.bu=null,e.aa=!1,e.ac=!1,e.ab=!1,e.d4=i.d7,e.d5=i.d8,e.bo=0,e.bl=-1,e.k=null,n.NativeUIInputsFactory.k(),e.ap=new n.ObservableCollection$1(M.$,0);var r=new H;r.a=e;var o=e.properties;return o.collectionChanged=n.delegateCombine(o.collectionChanged,n.runOn(e,e.dx)),e.l=r,e.l.v(),e}return e.__extends(i,t),Object.defineProperty(i.prototype,"x",{get:function(){return null==this.w&&(this.w=new n.SRProvider(this.l.i),this.w.cb("Layouts")),this.w},enumerable:!0,configurable:!0}),i.prototype.dx=function(t,i){var r,o,a,s;if(null!=i.oldItems)try{for(var u=e.__values(n.fromEn(i.oldItems)),p=u.next();!p.done;p=u.next()){var l=p.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,l)){var h=l;h.propertyChanged=n.delegateRemove(h.propertyChanged,n.runOn(this,this.dj))}}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}if(null!=i.newItems)try{for(var c=e.__values(n.fromEn(i.newItems)),f=c.next();!f.done;f=c.next()){var d=f.value;if(null!==n.typeCast(n.INotifyPropertyChanged_$type,d)){var y=d;y.propertyChanged=n.delegateCombine(y.propertyChanged,n.runOn(this,this.dj))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}this.aj(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),this.dt()},i.prototype.dt=function(){this.af||null!=this.v&&this.d2()},i.prototype.dj=function(t,e){this.af||(this.aj(),null!=this.v&&this.d2())},i.prototype.notifySizeChanged=function(){this.l.s()},i.prototype.dh=function(t,e){if(this.v=t,null!=this.v){if(null!=this.actualProperties){if(this.ag)null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var i=this.actualProperties;this.actualProperties=i.ae}this.br=this.actualProperties;var r=this.actualProperties;r=this.actualProperties.toArray();var o=new n.LocalDataSource;o.dataSource=r,this.c=o,this.ce()}null!=this.actualProperties&&this.d2()}},i.prototype.destroy=function(){this.provideContainer(null)},i.prototype.provideContainer=function(t){this.l.t(t)},i.prototype.ds=function(t){},Object.defineProperty(i.prototype,"actualProperties",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.du("ActualProperties",e,this.n)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.du("Properties",e,this.o)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bp",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.du("RowHeight",e,this.bk)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ar",{get:function(){return this.aq},set:function(t){this.aq=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.du("CellTextStyle",e,this.s)},enumerable:!0,configurable:!0}),i.prototype.u=function(){return null==this.t?this.l.d():this.t},i.prototype.du=function(t,e,i){null!=this.propertyChanged&&this.propertyChanged(this,new n.PropertyChangedEventArgs(t)),this.dy(t,e,i)},i.prototype.dy=function(t,e,i){switch(t){case"DescriptionType":null==this.b2&&null==this.properties&&(this.actualProperties=null),null!=this.b2&&(null==this.k&&(this.k=new k),this.k.l=this.b2),null==this.properties||0==this.properties.count?null!=this.k.g&&(this.actualProperties=this.k.g):null!=this.properties&&this.properties.count>0&&this.aj();break;case"ComponentRenderer":null!=e&&e.removeTargetPropertyUpdatingListener(n.runOn(this,this.al)),e!=i&&(this.ad=!0),null==this.e?this.h=this.i:this.h=this.e.context;break;case"Target":null!=n.ComponentRenderer.defaultInstance&&null==this.e&&(this.e=n.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.e&&(this.h=i);break;case"ActualContext":null==this.h&&null==this.properties&&(this.actualProperties=null),null!=this.h&&(null==this.k&&(this.k=new k),this.k.b=this.h),null==this.properties||0==this.properties.count?null!=this.k.g&&(this.actualProperties=this.k.g):null!=this.properties&&this.properties.count>0&&this.aj();break;case"Properties":this.actualProperties=this.properties;break;case"IsWrappingEnabled":this.d2();break;case"IsHorizontal":if(this.ag)this.bj=-1,null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var r=this.actualProperties;this.actualProperties=r.ae}break;case"ActualProperties":if(this.ag)null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var o=this.actualProperties;this.actualProperties=o.ae}if(null!=this.v){var a=this.br!=this.actualProperties;if(this.ag)null!=this.actualProperties&&null===n.typeCast(K.$,this.actualProperties)&&(this.actualProperties=new K(this.actualProperties));else if(null!==n.typeCast(K.$,this.actualProperties)){var s=this.actualProperties;this.actualProperties=s.ae}this.br=this.actualProperties;var u=this.actualProperties;u=this.actualProperties.toArray();var p=new n.LocalDataSource;if(p.dataSource=u,this.c=p,this.ce(),null!=this.c){var l=this.c;l.schemaChanged=n.delegateCombine(l.schemaChanged,n.runOn(this,this.dw))}a&&this.d2()}break;case"RowHeight":null!=this.v&&(this.ar=this.bp);break;case"CellTextStyle":this.d0();break;case"BackgroundColor":case"TextColor":this.d0()}},i.prototype.aj=function(){var t,i,r=this.af;this.af=!0;var o=!1;try{for(var a=e.__values(n.fromEnum(this.properties)),s=a.next();!s.done;s=a.next()){var u=s.value,p=u.al;if(null!=this.k){var l=this.k.d(p,!1);null!=l&&u.p(l)&&(o=!0)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return o?this.d2():null!=this.v&&this.d0(),this.af=r,o},i.prototype.d0=function(){this.ae||null==this.j||(this.ae=!0,this.j.enqueueAction(n.runOn(this,this.cj)))},i.prototype.cj=function(){var t=this;if(this.ae=!1,null==this.an&&(this.an=new n.List$1(n.List$1.$.specialize(n.NativeUIComponent.$),0)),null!=this.c){for(var e=this.c.actualCount,i=function(e){var i=e,o=r.c.getItemAtIndex(e);r.v.az<i+1?r.v.a1(i,1,r.ar):r.v.a7(i,1,r.ar),r.an.count<i+1&&r.an.add(new n.List$1(n.NativeUIComponent.$,0));for(var a=r.an._inner[i],s=function(e){var s=r.ap._inner[e];a.count<e+1&&n.NativeUIComponent.aa(r.l.p(),0,(function(r){var o=r;o.e=1,0==s.a&&(o.d=2),o.an=new n.Thickness(1,5,5,5,0),t.v.as(o),t.v.a5(o,i),t.v.a4(o,e),a.add(o)})),r.v.aw<e+1?r.v.a0(e,1,s.h):r.v.a6(e,1,s.h);var u=a._inner[e],p="PropertyPath";1==s.a&&(p="ValueType");var l=r.m(s,i,o),h=null;(null!=l&&(h=r.c.getItemProperty(l,p),null!=(h=s.i(h,i,o))&&(u=s.e(u,i,o))),null==h)&&(u.aw=null)},u=0;u<r.ap.count;u++)s(u)},r=this,o=0;o<e;o++)i(o);for(var a=new n.HashSet$1(n.NativeUIComponent.$,0),s=this.v.ar-1;s>=0;s--){var u=this.v.aq(s),p=this.v.ay(u),l=this.v.ax(u);(p+1>e||l+1>this.ap.count)&&a.add_1(u)}for(var h=this.v.ar-1;h>=0;h--){var c=this.v.aq(h);a.contains(c)&&this.v.au(h)}for(var f=this.an.count-1;f>=0;f--){for(var d=this.an._inner[f].count-1;d>=0;d--){var y=this.an._inner[f]._inner[d];a.contains(y)&&this.an._inner[f].removeAt(d)}0==this.an._inner[f].count&&this.an.removeAt(f)}for(;this.v.az>e;)this.v.a3(this.v.az-1);for(;this.v.aw>this.ap.count;)this.v.a2(this.v.aw-1)}},i.prototype.dw=function(t,e){this.z=!0,this.ce(),this.z=!1},i.prototype.d2=function(){if(null!=this.v){this.am.clear(),this.ap.clear();-1==this.bp||this.bp,this.d6,this.u();if(this.ag)this.cg();else{var t=new M;t.b=0,t.f=10,t.g=5,t.a=0,t.dataBinding=n.delegateCombine(t.dataBinding,n.runOn(this,this.dl)),t.cellUpdating=n.delegateCombine(t.cellUpdating,n.runOn(this,this.dk)),t.j="PropertyPath",this.ap.add(t);var e=new M;e.b=1,e.a=1,e.f=5,e.g=5,e.dataBinding=n.delegateCombine(e.dataBinding,n.runOn(this,this.cl)),e.cellUpdating=n.delegateCombine(e.cellUpdating,n.runOn(this,this.ck)),e.j="ValueType",this.ap.add(e)}this.d0()}},i.prototype.cg=function(){if(null!=this.actualProperties){for(var t=this.actualProperties.ae,e=t.count,i=new n.List$1(M.$,0),r=this.bm(t,e,i,2147483647),o=0;o<i.count;o++)this.ap.add(i._inner[o]);this.bo=r;var a=this.actualProperties,s=this.bj;a.clear();for(var u=0;u<this.bo;u++)a.add(new E);var p=this.actualProperties.toArray(),l=new n.LocalDataSource;l.dataSource=p,this.c=l,a.count!=s&&(this.bj=a.count,this.d0(),this.l.r())}},i.prototype.ea=function(){if(this.ag&&null!=this.v&&null!=this.c){var t=this.ar,e=this.actualProperties;return new n.Size(1,0,e.count*t)}return new n.Size(1,0,0)},i.prototype.bm=function(t,e,i,r){var o=0,a=0,s=this.l.g();s-=5,this.ai||(s=17976931348623157e292);for(var u=0,p=s,l=0;l<e;l++){var h=t.item(l),c=this.a9(h),f=this.a5(h);if(u+c+f>s&&a>0||a>=r){if(0!=o&&a<r&&r>2){var d=i._inner[a],y=i._inner[a+1];return d.h=c,y.h=f,this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count)}r=Math.max(Math.min(r,a),2),o++;var b=s-u;b<p&&(p=b),u=0,a=0}this.b5(h);if(i.count<=a){var g=new M;g.b=0,g.a=0,g.f=10,g.g=5,g.h=c,g.dataBinding=n.delegateCombine(g.dataBinding,n.runOn(this,this.dl)),g.cellUpdating=n.delegateCombine(g.cellUpdating,n.runOn(this,this.dk)),g.j="PropertyName_"+l,i.add(g),this.am.item(g,i.count-1),a++}else{var m=i._inner[a];if(c>m.h){var _=c-m.h;if(m.h=c,_>p&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(p-=_)<0&&(p=0),a++}else c=m.h,a++}if(i.count<=a){var v=new M;v.b=1,v.a=1,v.j="ValueType_"+l,v.f=5,v.g=5,v.dataBinding=n.delegateCombine(v.dataBinding,n.runOn(this,this.cl)),v.h=f,v.cellUpdating=n.delegateCombine(v.cellUpdating,n.runOn(this,this.ck)),i.add(v),this.am.item(v,i.count-1),a++}else{var P=i._inner[a];if(f>P.h){var C=f-P.h;if(P.h=f,C>p&&r>2)return this.d1(s,i),0==i.count?0:this.bm(t,e,i,i.count);(p-=C)<0&&(p=0),a++}else f=P.h,a++}u+=c+f}return o+1},i.prototype.d1=function(t,i){var r,o,a=0;try{for(var s=e.__values(n.fromEnum(i)),u=s.next();!u.done;u=s.next()){a+=u.value.h}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}for(;a>t;){if(i.count<1)return;1==i._inner[i.count-1].b?(a-=i._inner[i.count-1].h,a-=i._inner[i.count-2].h,i.removeAt(i.count-1),i.removeAt(i.count-1)):(a-=i._inner[i.count-1].h,i.removeAt(i.count-1))}},i.prototype.cl=function(t,e){var i=t,r=this.m(i,e.a,e.c);e.b=n.enumGetBox(S,null!=r?r.n:0)},i.prototype.dl=function(t,e){var n=t,i=this.m(n,e.a,e.c);e.b=null!=i?null!=i.aj?i.aj:i.al:null},i.prototype.a5=function(t){if(!n.isNaN_(t.w))return t.w;switch(t.n){case 10:return this.as(t);case 7:return this.at(t);case 4:return this.av(t);case 6:return this.au(t);case 9:return this.ay(t);case 5:return this.a0(t);case 14:return this.az(t);case 18:return this.a1(t);case 3:return this.a2(t);case 15:return this.a6(t);case 17:return this.a7(t);case 16:return this.ba(t);case 1:return this.bb(t);case 11:return this.bc(t);case 13:return this.bd(t);case 12:return this.be(t);case 2:return this.bg(t);case 8:return this.bh(t);case 19:return this.bi(t);case 0:return this.a8(t);case 20:return this.aw(t);case 21:return this.bf(t)}return 100},i.prototype.bi=function(t){return this.a8(t)},i.prototype.a8=function(t){return 175},i.prototype.aw=function(t){return null!=t.ad?Math.max(100,this.l.h(t.ad.toString())+30):80},i.prototype.bf=function(t){return 175},i.prototype.bh=function(t){return this.aw(t)},i.prototype.bg=function(t){return this.a8(t)},i.prototype.be=function(t){return this.a8(t)},i.prototype.bd=function(t){return this.a8(t)},i.prototype.bc=function(t){return this.a8(t)},i.prototype.bb=function(t){return this.a8(t)},i.prototype.ba=function(t){return this.aw(t)},i.prototype.a7=function(t){return this.aw(t)},i.prototype.a6=function(t){return this.a4(t)},i.prototype.a4=function(t){return this.a8(t)},i.prototype.a2=function(t){return this.a3(t)},i.prototype.a3=function(t){return this.a8(t)},i.prototype.a1=function(t){return this.aw(t)},i.prototype.az=function(t){return this.aw(t)},i.prototype.a0=function(t){return this.a8(t)},i.prototype.ay=function(t){return this.aw(t)},i.prototype.au=function(t){return this.aw(t)},i.prototype.av=function(t){return this.a8(t)},i.prototype.at=function(t){return this.ax(t)},i.prototype.ax=function(t){return 50},i.prototype.as=function(t){return this.aw(t)},i.prototype.a9=function(t){return n.isNaN_(t.x)?this.l.h(this.b5(t))+17:t.x},i.prototype.b5=function(t){return null!=t.aj?t.aj:t.al},i.prototype.dk=function(t,e){var n=t;this.m(n,e.b,e.c);this.c7(n,e)},i.prototype.ck=function(t,e){var n=t,i=this.m(n,e.b,e.c);switch(null!=i?i.n:0){case 10:this.cs(n,e);break;case 7:this.ct(n,e);break;case 4:this.cv(n,e);break;case 6:this.cu(n,e);break;case 9:this.cx(n,e);break;case 5:this.cz(n,e);break;case 14:this.cy(n,e);break;case 18:this.c0(n,e);break;case 3:this.c1(n,e);break;case 15:this.c4(n,e);break;case 17:this.c5(n,e);break;case 16:this.c8(n,e);break;case 1:this.c9(n,e);break;case 11:this.da(n,e);break;case 13:this.db(n,e);break;case 12:this.dc(n,e);break;case 2:this.de(n,e);break;case 8:this.df(n,e);break;case 19:this.dg(n,e);break;case 20:this.cw(n,e);break;case 21:this.dd(n,e)}},i.prototype.dg=function(t,e){this.c6(t,e)},i.prototype.df=function(t,e){},i.prototype.de=function(t,e){this.c6(t,e)},i.prototype.dc=function(t,e){this.c6(t,e)},i.prototype.db=function(t,e){this.c6(t,e)},i.prototype.da=function(t,e){this.c6(t,e)},i.prototype.c9=function(t,e){this.c6(t,e)},i.prototype.c7=function(t,e){var n=this;this.cq(e,(function(i,r){i.ap=n.u(),i.e=1;var o=n.m(t,e.b,e.c);i.v=o,i.aq=n.b5(o)}))},i.prototype.c6=function(t,e){var i=this;this.cp(e,(function(r,o){r.e=1,r.at=1,r.aq=2;var a=i.m(t,e.b,e.c);r.v=a,r.au=null!=a.ad?a.ad.toString():"",o&&(r.as=n.runOn(i,i.di))}))},i.prototype.cq=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||3!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),3,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cp=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||2!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),2,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cm=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||1!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),1,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cr=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||5!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),5,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.co=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||4!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),4,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cn=function(t,e){var i=t.a,r=i.aw,o=!1;if(null==r||6!=r.c)return o=!0,void n.NativeUIComponent.z(this.l.p(),6,(function(t){i.aw=t,e(t,o)}));e(r,o)},i.prototype.cw=function(t,e){var i=this;this.cm(e,(function(r,o){r.e=1,2!=r.ar&&(r.ar=2);var a=i.m(t,e.b,e.c);r.v=a;var s=a.ad;"number"!=typeof a.ad&&"number"!=typeof a.ad||(s=a.ad.toString()),r.as=s,o&&(r.aq=n.runOn(i,i.cd))}))},i.prototype.dd=function(t,e){var i=this;this.cr(e,(function(r,o){r.e=1;var a=i.m(t,e.b,e.c);r.v=a;var s=a.ad;if("number"!=typeof a.ad&&"number"!=typeof a.ad||(s=a.ad),"string"==typeof a.ad){var u=0;s=u=n.tryParseNumber(s,u).p1}null==s&&(s=0),r.aw=s,n.isNaN_(a.z)?r.au=0:r.au=a.z,n.isNaN_(a.y)?r.at=100:r.at=a.y,n.isNaN_(a.aa)?r.av=1:r.av=a.aa,o&&(r.as=n.runOn(i,i.d3))}))},i.prototype.d3=function(t,e){var n=t,i=n.v;this.af=!0,i.ad=n.aw,this.af=!1,this.dv(i)},i.prototype.c3=function(t,e){var i=this;this.co(e,(function(r,o){r.e=1,2!=r.ap&&(r.ap=2);var a=i.m(t,e.b,e.c);r.v!=a?(r.ar=null,r.v=a,r.at=null,r.as=i.b(i.a(a)),a.ad!=r.at&&("number"==typeof a.ad||"number"==typeof a.ad?r.at=a.ad.toString():r.at=a.ad),r.ar=n.runOn(i,i.ch)):a.ad!=r.at&&("number"==typeof a.ad||"number"==typeof a.ad?r.at=a.ad.toString():r.at=a.ad),o&&(null==r.ar&&(r.ar=n.runOn(i,i.ch)),r.ah=n.BrushUtil.g(255,255,255,255))}))},i.prototype.b=function(t){return t},i.prototype.a=function(t){return t.c},i.prototype.ch=function(t,e){var n=t,i=n.v;this.af=!0,i.ad=n.at,i.am(),this.af=!1,this.dv(i)},i.prototype.di=function(t,e){var i=t,r=i.v;if(this.af=!0,1==r.n){var o=0;o=n.tryParseNumber(i.au,o).p1,r.ad=o}else r.ad=i.au;r.am(),this.af=!1,this.dv(r)},i.prototype.cd=function(t,e){var n=t.v;this.af=!0,n.an(),this.af=!1,this.dv(n)},i.prototype.dv=function(t){var e=this;if(null!=this.bs&&null!=this.e){this.ad&&(this.ad=!1,this.e.addTargetPropertyUpdatingListener(n.runOn(this,this.al)));var i=null==this.bt;this.bt=this.b4(),i?this.l.q(this.bs,(function(t){return e.e.loadJsonOverlay(e.bt,(function(e){return t}),(function(t){return e.bs}))})):this.l.q(this.bs,(function(t){return e.e.loadJsonDelta(e.bt,(function(e){return t}),!1)}))}},i.prototype.al=function(t,e,i){var r=this.actualProperties;null!==n.typeCast(K.$,r)&&(r=r.ae);for(var o=0;o<r.count;o++){var a=r._inner[o].al;this.ak(a,t)&&r._inner[o].ap(t,e,i)}return!!this.ah},i.prototype.ak=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var i=n.stringSplit(t,[".","["],0),r=n.stringSplit(e,[".","["],0);if(i.length!=r.length)return!1;for(var o=0;o<i.length;o++){var a=i[o],s=r[o];if(n.stringContains(a,"]")){if(!n.stringContains(s,"]"))return!1;if(s=n.stringReplace(s,"]",""),!this.ao(a).contains(s))return!1}else if(!n.Base.equalsStatic(a,s))return!1}return!0},i.prototype.ao=function(t){var e=new n.List$1(n.String_$type,0);if(n.stringContains(t,"]")){for(var i=(t=n.stringReplace(t,"]","")).split(","),r=0;r<i.length;r++){var o=i[r];if(n.stringContains(o,"as")){var a=o.indexOf("as"),s=o.substr(0,a).trim();e.add(s)}}return e}return e.add(t),e},i.prototype.b4=function(){if(null==this.actualProperties)return null;var t=this.actualProperties;null!==n.typeCast(K.$,t)&&(t=t.ae);var e=new L(this.h,this.b2);return this.c2(t,"",e,this.b2),e.g()},i.prototype.c2=function(t,e,n,i){for(var r=0;r<t.count;r++){var o=t._inner[r];if(20!=o.n)if(null!=o.i)for(var a=0;a<o.i.count;a++){var s=o.i._inner[a],u=e+o.al+"["+a+"]";this.c2(s.a,u,n,s.b)}else if(null!=o.g){var p=e+o.al;this.c2(o.g.a,p,n,o.g.b)}else n.h(e+o.al,o.ad,i)}},i.prototype.c8=function(t,e){},i.prototype.c5=function(t,e){},i.prototype.c4=function(t,e){this.c3(t,e)},i.prototype.c1=function(t,e){},i.prototype.c0=function(t,e){},i.prototype.cy=function(t,e){},i.prototype.cz=function(t,e){this.c6(t,e)},i.prototype.cx=function(t,e){},i.prototype.cu=function(t,e){},i.prototype.cv=function(t,e){this.c6(t,e)},i.prototype.ct=function(t,e){var i=this;this.cn(e,(function(r,o){r.e=1,r.ar||(r.ar=!0);var a,s=i.m(t,e.b,e.c),u=s.ad;if((null==u&&(u=!1),"string"==typeof u)&&function(){var t=n.tryParseBool(u,a);return a=t.p1,t.ret}()){u=a;var p=i.af;i.af=!0,s.ad=u,i.af=p}if("number"==typeof u&&n.typeGetValue(u)>0){u=!0;var l=i.af;i.af=!0,s.ad=u,i.af=l}if("number"==typeof u&&u>0){u=!0;var h=i.af;i.af=!0,s.ad=u,i.af=h}var c=u;r.as=c,r.v=s,o&&(r.aq=n.runOn(i,i.cf))}))},i.prototype.m=function(t,e,i){if(this.ag){var r=this.actualProperties.ae,o=e*n.truncate(this.ap.count/2),a=this.bn(t);return(a=n.truncate(Math.floor(a/2))+o)>r.count-1?null:r.item(a)}return i},i.prototype.bn=function(t){return this.am.item(t)},i.prototype.cf=function(t,e){var n=t,i=n.v;this.af=!0,i.ad=n.as,i.am(),this.af=!1,this.dv(i)},i.prototype.cs=function(t,e){},i.prototype.dq=function(t,e,n){null!=this.v&&this.c.notifySetItem(t,e,n)},i.prototype.dm=function(){null!=this.v&&this.c.notifyClearItems()},i.prototype.dn=function(t,e){null!=this.v&&this.c.notifyInsertItem(t,e)},i.prototype.dp=function(t,e){null!=this.v&&this.c.notifyRemoveItem(t,e)},Object.defineProperty(i.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.du("ActualContext",e,this.f)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.du("DescriptionContext",e,this.g)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,this.du("ComponentRenderer",e,this.d)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"bs",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,this.du("Target",e,this.bq)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"b2",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,this.du("DescriptionType",e,this.bu)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ag",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,this.du("IsHorizontal",e,this.aa)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ai",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,this.du("IsWrappingEnabled",e,this.ac)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"ah",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.du("IsIndirectModeEnabled",e,this.ab)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d6",{get:function(){return this.d4},set:function(t){var e=this.d4;this.d4=t,e!=this.d4&&this.du("BackgroundColor",e,t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"d9",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.du("TextColor",e,t)},enumerable:!0,configurable:!0}),i.prototype.ce=function(){var t=this.c;if(null!=t){if(null==t.actualSchema)return void(this.bl=-1);var e=t.actualCount;this.bl=e}else this.bl=-1},i.$t=n.markType(i,"PropertyEditorPanel",n.Base.$,[n.INotifyPropertyChanged_$type]),i.d7=n.BrushUtil.g(255,248,248,248),i.d8=n.BrushUtil.g(255,24,29,31),i}(n.Base),X=function(t){function i(){var i=t.call(this)||this;return i._implementation=null,i.contentProperties=[],i.actualProperties=[],i._properties=null,i._propertiesAdapter=null,i._disconnected=!1,i._settingAttributes=!1,i._attached=!1,i._queuedSetAttributes=[],i._updatingFromAttribute=!1,i._actualDataSource=null,i.__p=null,i._hasUserValues=new Set,i._stylingContainer=null,i._stylingParent=null,i._inStyling=!1,i._styling&&n.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(i)),i._implementation=i.createImplementation(),i._implementation.externalObject=i,i._portalManager=new n.PortalManager("propertyEditorContent"),i._webComponentRenderer=new n.WebComponentRenderer(i,document,!0,{},i._portalManager),i._webComponentWrapper=i._webComponentRenderer.createElement("div"),i._webComponentRenderer.updateRoot(i._webComponentWrapper),i._webComponentWrapper.setStyleProperty("display","block"),i._webComponentWrapper.setStyleProperty("width","100%"),i._webComponentWrapper.setStyleProperty("height","100%"),i._propertiesAdapter=new n.CollectionAdapter(i.contentProperties,i.i.properties,i.actualProperties,(function(t){return t.i}),(function(t){i._webComponentRenderer&&i._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(i,i,i)}),(function(t){})),i.i.provideContainer(i._webComponentRenderer),i.i.notifySizeChanged(),new MutationObserver((function(t){var n,r;try{for(var o=e.__values(t),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&i.updateContentProperties()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})).observe(i,{childList:!0}),i._webComponentRenderer.addSizeWatcher((function(){i.i.notifySizeChanged()})),i}return e.__extends(i,t),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"properties",{get:function(){var t=this;if(null===this._properties){var e=new $;e._innerColl.addListener((function(e,i){switch(i.action){case n.NotifyCollectionChangedAction.Add:t._propertiesAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Remove:t._propertiesAdapter.removeManualItemAt(i.oldStartingIndex);break;case n.NotifyCollectionChangedAction.Replace:t._propertiesAdapter.removeManualItemAt(i.oldStartingIndex),t._propertiesAdapter.insertManualItem(i.newStartingIndex,i.newItems.item(0));break;case n.NotifyCollectionChangedAction.Reset:t._propertiesAdapter.clearManualItems()}})),this._properties=e}return this._properties},enumerable:!0,configurable:!0}),i.prototype.updateStyle=function(){this._styling(this,this)},i.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},i.prototype.updateContentProperties=function(){this.contentProperties.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof q&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},i.prototype.createImplementation=function(){return new W},Object.defineProperty(i.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),i.prototype.disconnectedCallback=function(){this._disconnected=!0},i.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-property-editor-panel"),this.classList.add("igc-property-editor-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualProperties.length;e++){this.actualProperties[e]._styling(this,this,this)}this.updateContentProperties(),this.afterContentInit()}},i.prototype.afterContentInit=function(){this.i.notifySizeChanged()},i.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},i.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},i.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=n.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(i,"observedAttributes",{get:function(){if(null==i._observedAttributesIgcPropertyEditorPanelComponent){for(var t=n.getAllPropertyNames(i),e=0;e<t.length;e++)t[e]=n.toSpinal(t[e]);i._observedAttributesIgcPropertyEditorPanelComponent=t}return i._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!0,configurable:!0}),i.prototype.attributeChangedCallback=function(t,e,i){if(!this._settingAttributes){var r=n.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=i,this._updatingFromAttribute=!1}},i.register=function(){i._isElementRegistered||(i._isElementRegistered=!0,n.RegisterElementHelper.registerElement(i.htmlTagName,i))},Object.defineProperty(i.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new $,e=this.i.actualProperties;e||(e=new j),this._actualDataSource=t._fromInner(e),this.i.actualProperties=e}return this._actualDataSource},set:function(t){null!==this._actualDataSource&&(this._actualDataSource._setSyncTarget(null),this._actualDataSource=null);var e=new $;this._actualDataSource=e._fromOuter(t);var i=new n.SyncableObservableCollection$1(E.$type),r=this.i.actualProperties;r||(r=new j),i._inner=r,i.clear(),this._actualDataSource._setSyncTarget(i),this.i.actualProperties=r},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rowHeight",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("rowHeight",this.i.bp)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualRowHeight",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("actualRowHeight",this.i.ar)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new n.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"actualDescriptionContext",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"componentRenderer",{get:function(){return this.i.e},set:function(t){this.i.e=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this.i.bs},set:function(t){this.i.bs=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"descriptionType",{get:function(){return this.i.b2},set:function(t){this.i.b2=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isHorizontal",{get:function(){return this.i.ag},set:function(t){this.i.ag=n.ensureBool(t),this._a("isHorizontal",this.i.ag)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isWrappingEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=n.ensureBool(t),this._a("isWrappingEnabled",this.i.ai)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"isIndirectModeEnabled",{get:function(){return this.i.ah},set:function(t){this.i.ah=n.ensureBool(t),this._a("isIndirectModeEnabled",this.i.ah)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"backgroundColor",{get:function(){return n.brushToString(this.i.d6)},set:function(t){this.i.d6=n.stringToBrush(t),this._a("backgroundColor",n.brushToString(this.i.d6))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"textColor",{get:function(){return n.brushToString(this.i.d9)},set:function(t){this.i.d9=n.stringToBrush(t),this._a("textColor",n.brushToString(this.i.d9))},enumerable:!0,configurable:!0}),i.prototype.findByName=function(t){return null!=this.actualDataSource&&this.actualDataSource.findByName&&this.actualDataSource.findByName(t)?this.actualDataSource.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(i.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!0,configurable:!0}),i.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},i.prototype._styling=function(t,e,i){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=n.toSpinal("PropertyEditorPanelComponent");var a=[],s=n.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var p=n.toSpinal(o);a.push(p+"-"),u=u.baseType}if(i){var l=i.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var h=n.toSpinal(l);a.push(h+"-"+r+"-"),a.push(h+"-"+s+"-")}n.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,i),this._inStyling=!1}},i.prototype.getDesiredSize=function(){var t=this.i.ea();return n.fromSize(t)},i.prototype.notifySetItem=function(t,e,n){this.i.dq(t,e,n)},i.prototype.notifyClearItems=function(){this.i.dm()},i.prototype.notifyInsertItem=function(t,e){this.i.dn(t,e)},i.prototype.notifyRemoveItem=function(t,e){this.i.dp(t,e)},i._observedAttributesIgcPropertyEditorPanelComponent=null,i.htmlTagName="igc-property-editor-panel",i._isElementRegistered=!1,i}(n.IgcHTMLElement),Q=function(){function t(){}return t.register=function(){F.register(),X.register(),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",X),n.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",X),n.TypeRegistrar.register("PropertyEditorPanel",W.$type)},t}(),J=function(t){return t[t.Auto=0]="Auto",t[t.Near=1]="Near",t[t.Far=2]="Far",t}({}),G=n.markEnum("PopupAlignment","Auto,0|Near,1|Far,2"),Y=function(t){return t[t.Auto=0]="Auto",t[t.Down=1]="Down",t[t.Up=2]="Up",t}({}),Z=n.markEnum("PopupDirection","Auto,0|Down,1|Up,2"),tt=n.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),et=n.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),nt=function(t){function i(e){var i=t.call(this)||this;if(q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)i.add(e[r]);return i}return e.__extends(i,t),i.prototype._createInnerColl=function(){q.$type||(q.$type=n.markType(q,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new n.SyncableObservableCollection$2(q.$type,E.$type,0);return t.compare=function(t,e){var n=t;return n._implementation&&(n=n._implementation),n.equals?n.equals(e):n===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new q)&&(e._implementation=t),e},t},i}(n.IgCollection),it=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.Name=null,e.Value=null,e}return e.__extends(i,t),i.$t=n.markType(i,"PropertyEditorPanelDropDownDataListItem"),i}(n.Base),rt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new k},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!0,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.l},set:function(t){this.i.l=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!0,configurable:!0}),t.prototype.findByName=function(t){return null},t}();t.ExpansionPanelUtilities=i,t.ExpansionPanelView=a,t.HorizontalPropertyEditorPanelDataSource=K,t.IgcHorizontalPropertyEditorPanelDataSource=nt,t.IgcOnClosedEventArgs=v,t.IgcOnCollapsedEventArgs=p,t.IgcOnExpandedEventArgs=u,t.IgcOnPopupEventArgs=_,t.IgcPopupComponent=P,t.IgcPopupModule=C,t.IgcPropertyEditorDataSource=rt,t.IgcPropertyEditorDescriptionObject=D,t.IgcPropertyEditorDescriptionObjectCollection=B,t.IgcPropertyEditorPanelComponent=X,t.IgcPropertyEditorPanelModule=Q,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=N,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=R,t.IgcPropertyEditorPropertyDescriptionCollection=$,t.IgcPropertyEditorPropertyDescriptionComponent=q,t.IgcPropertyEditorPropertyDescriptionModule=F,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=U,t.IgcXExpansionPanelComponent=l,t.IgcXExpansionPanelModule=h,t.OnClosedEventArgs=d,t.OnCollapsedEventArgs=r,t.OnExpandedEventArgs=o,t.OnPopupEventArgs=y,t.Popup=m,t.PopupAlignment=J,t.PopupAlignment_$type=G,t.PopupDirection=Y,t.PopupDirection_$type=Z,t.PopupView=g,t.PopupVisualModelExport=b,t.Popup_InnerAnimationInfo=f,t.Popup_OuterAnimationInfo=c,t.PropertyEditorDataSource=k,t.PropertyEditorDescriptionObject=T,t.PropertyEditorDescriptionObjectCollection=I,t.PropertyEditorPanel=W,t.PropertyEditorPanelColumnDefinition=M,t.PropertyEditorPanelColumnFieldType_$type=et,t.PropertyEditorPanelColumnType_$type=tt,t.PropertyEditorPanelDataBindingEventArgs=z,t.PropertyEditorPanelDropDownDataListItem=it,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=V,t.PropertyEditorPanelView=H,t.PropertyEditorPropertyDescription=E,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=x,t.PropertyEditorPropertyDescriptionChangedEventArgs=A,t.PropertyEditorPropertyDescriptionCollection=j,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=O,t.PropertyEditorTreeTransformer=L,t.PropertyEditorValueType=w,t.PropertyEditorValueType_$type=S,t.XExpansionPanel=s,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
@@ -23,7 +23,7 @@ export let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
|
23
23
|
this.b = null;
|
|
24
24
|
this.b = a;
|
|
25
25
|
this.a = new DescriptionTreeNode();
|
|
26
|
-
this.a.
|
|
26
|
+
this.a.i = b;
|
|
27
27
|
let c = new JsonDictionaryObject();
|
|
28
28
|
}
|
|
29
29
|
h(a, b, c) {
|
|
@@ -79,7 +79,7 @@ export let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
|
79
79
|
if (s != null && x < s.length) {
|
|
80
80
|
let y = s[x];
|
|
81
81
|
if (typeCast(DescriptionTreeNode.$, y) !== null && x == v) {
|
|
82
|
-
y.
|
|
82
|
+
y.i = u;
|
|
83
83
|
}
|
|
84
84
|
w.add1(y);
|
|
85
85
|
}
|
|
@@ -108,21 +108,21 @@ export let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
|
108
108
|
}
|
|
109
109
|
else {
|
|
110
110
|
let ae = c;
|
|
111
|
-
if (!ae.
|
|
112
|
-
ae.
|
|
111
|
+
if (!ae.c(g)) {
|
|
112
|
+
ae.o(g, this.d(r, false, null), r);
|
|
113
113
|
}
|
|
114
114
|
let af = ae.a(g);
|
|
115
115
|
let ag = new List$1(String_$type, 1, f);
|
|
116
116
|
ag.removeAt(0);
|
|
117
117
|
let ah = this.c(stringJoin(".", ...ag.toArray()), b, af, r.specificExternalType, r);
|
|
118
118
|
if (ah != null) {
|
|
119
|
-
ae.
|
|
119
|
+
ae.o(g, ah, r);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
124
|
let ai = c;
|
|
125
|
-
ai.
|
|
125
|
+
ai.o(g, this.e(b, r), r);
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -175,10 +175,10 @@ export let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
|
175
175
|
else {
|
|
176
176
|
let d = new DescriptionTreeNode();
|
|
177
177
|
if (c != null) {
|
|
178
|
-
d.
|
|
178
|
+
d.i = c;
|
|
179
179
|
}
|
|
180
180
|
else {
|
|
181
|
-
d.
|
|
181
|
+
d.i = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
182
182
|
}
|
|
183
183
|
return d;
|
|
184
184
|
}
|
|
@@ -24,7 +24,7 @@ var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
24
24
|
_this.b = null;
|
|
25
25
|
_this.b = a;
|
|
26
26
|
_this.a = new DescriptionTreeNode();
|
|
27
|
-
_this.a.
|
|
27
|
+
_this.a.i = b;
|
|
28
28
|
var c = new JsonDictionaryObject();
|
|
29
29
|
return _this;
|
|
30
30
|
}
|
|
@@ -81,7 +81,7 @@ var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
81
81
|
if (s != null && x < s.length) {
|
|
82
82
|
var y = s[x];
|
|
83
83
|
if (typeCast(DescriptionTreeNode.$, y) !== null && x == v) {
|
|
84
|
-
y.
|
|
84
|
+
y.i = u;
|
|
85
85
|
}
|
|
86
86
|
w.add1(y);
|
|
87
87
|
}
|
|
@@ -110,21 +110,21 @@ var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
110
110
|
}
|
|
111
111
|
else {
|
|
112
112
|
var ae = c;
|
|
113
|
-
if (!ae.
|
|
114
|
-
ae.
|
|
113
|
+
if (!ae.c(g)) {
|
|
114
|
+
ae.o(g, this.d(r, false, null), r);
|
|
115
115
|
}
|
|
116
116
|
var af = ae.a(g);
|
|
117
117
|
var ag = new List$1(String_$type, 1, f);
|
|
118
118
|
ag.removeAt(0);
|
|
119
119
|
var ah = this.c(stringJoin.apply(void 0, tslib_1.__spread(["."], ag.toArray())), b, af, r.specificExternalType, r);
|
|
120
120
|
if (ah != null) {
|
|
121
|
-
ae.
|
|
121
|
+
ae.o(g, ah, r);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
126
|
var ai = c;
|
|
127
|
-
ai.
|
|
127
|
+
ai.o(g, this.e(b, r), r);
|
|
128
128
|
}
|
|
129
129
|
return null;
|
|
130
130
|
};
|
|
@@ -177,10 +177,10 @@ var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
177
177
|
else {
|
|
178
178
|
var d = new DescriptionTreeNode();
|
|
179
179
|
if (c != null) {
|
|
180
|
-
d.
|
|
180
|
+
d.i = c;
|
|
181
181
|
}
|
|
182
182
|
else {
|
|
183
|
-
d.
|
|
183
|
+
d.i = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
184
184
|
}
|
|
185
185
|
return d;
|
|
186
186
|
}
|
|
@@ -3982,7 +3982,7 @@ let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
|
3982
3982
|
this.b = null;
|
|
3983
3983
|
this.b = a;
|
|
3984
3984
|
this.a = new DescriptionTreeNode();
|
|
3985
|
-
this.a.
|
|
3985
|
+
this.a.i = b;
|
|
3986
3986
|
let c = new JsonDictionaryObject();
|
|
3987
3987
|
}
|
|
3988
3988
|
h(a, b, c) {
|
|
@@ -4038,7 +4038,7 @@ let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
|
4038
4038
|
if (s != null && x < s.length) {
|
|
4039
4039
|
let y = s[x];
|
|
4040
4040
|
if (typeCast(DescriptionTreeNode.$, y) !== null && x == v) {
|
|
4041
|
-
y.
|
|
4041
|
+
y.i = u;
|
|
4042
4042
|
}
|
|
4043
4043
|
w.add1(y);
|
|
4044
4044
|
}
|
|
@@ -4067,21 +4067,21 @@ let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
|
4067
4067
|
}
|
|
4068
4068
|
else {
|
|
4069
4069
|
let ae = c;
|
|
4070
|
-
if (!ae.
|
|
4071
|
-
ae.
|
|
4070
|
+
if (!ae.c(g)) {
|
|
4071
|
+
ae.o(g, this.d(r, false, null), r);
|
|
4072
4072
|
}
|
|
4073
4073
|
let af = ae.a(g);
|
|
4074
4074
|
let ag = new List$1(String_$type, 1, f);
|
|
4075
4075
|
ag.removeAt(0);
|
|
4076
4076
|
let ah = this.c(stringJoin(".", ...ag.toArray()), b, af, r.specificExternalType, r);
|
|
4077
4077
|
if (ah != null) {
|
|
4078
|
-
ae.
|
|
4078
|
+
ae.o(g, ah, r);
|
|
4079
4079
|
}
|
|
4080
4080
|
}
|
|
4081
4081
|
}
|
|
4082
4082
|
else {
|
|
4083
4083
|
let ai = c;
|
|
4084
|
-
ai.
|
|
4084
|
+
ai.o(g, this.e(b, r), r);
|
|
4085
4085
|
}
|
|
4086
4086
|
return null;
|
|
4087
4087
|
}
|
|
@@ -4134,10 +4134,10 @@ let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
|
4134
4134
|
else {
|
|
4135
4135
|
let d = new DescriptionTreeNode();
|
|
4136
4136
|
if (c != null) {
|
|
4137
|
-
d.
|
|
4137
|
+
d.i = c;
|
|
4138
4138
|
}
|
|
4139
4139
|
else {
|
|
4140
|
-
d.
|
|
4140
|
+
d.i = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
4141
4141
|
}
|
|
4142
4142
|
return d;
|
|
4143
4143
|
}
|
|
@@ -4612,7 +4612,7 @@ var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
4612
4612
|
_this.b = null;
|
|
4613
4613
|
_this.b = a;
|
|
4614
4614
|
_this.a = new DescriptionTreeNode();
|
|
4615
|
-
_this.a.
|
|
4615
|
+
_this.a.i = b;
|
|
4616
4616
|
var c = new JsonDictionaryObject();
|
|
4617
4617
|
return _this;
|
|
4618
4618
|
}
|
|
@@ -4669,7 +4669,7 @@ var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
4669
4669
|
if (s != null && x < s.length) {
|
|
4670
4670
|
var y = s[x];
|
|
4671
4671
|
if (typeCast(DescriptionTreeNode.$, y) !== null && x == v) {
|
|
4672
|
-
y.
|
|
4672
|
+
y.i = u;
|
|
4673
4673
|
}
|
|
4674
4674
|
w.add1(y);
|
|
4675
4675
|
}
|
|
@@ -4698,21 +4698,21 @@ var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
4698
4698
|
}
|
|
4699
4699
|
else {
|
|
4700
4700
|
var ae = c;
|
|
4701
|
-
if (!ae.
|
|
4702
|
-
ae.
|
|
4701
|
+
if (!ae.c(g)) {
|
|
4702
|
+
ae.o(g, this.d(r, false, null), r);
|
|
4703
4703
|
}
|
|
4704
4704
|
var af = ae.a(g);
|
|
4705
4705
|
var ag = new List$1(String_$type, 1, f);
|
|
4706
4706
|
ag.removeAt(0);
|
|
4707
4707
|
var ah = this.c(stringJoin.apply(void 0, __spread(["."], ag.toArray())), b, af, r.specificExternalType, r);
|
|
4708
4708
|
if (ah != null) {
|
|
4709
|
-
ae.
|
|
4709
|
+
ae.o(g, ah, r);
|
|
4710
4710
|
}
|
|
4711
4711
|
}
|
|
4712
4712
|
}
|
|
4713
4713
|
else {
|
|
4714
4714
|
var ai = c;
|
|
4715
|
-
ai.
|
|
4715
|
+
ai.o(g, this.e(b, r), r);
|
|
4716
4716
|
}
|
|
4717
4717
|
return null;
|
|
4718
4718
|
};
|
|
@@ -4765,10 +4765,10 @@ var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
4765
4765
|
else {
|
|
4766
4766
|
var d = new DescriptionTreeNode();
|
|
4767
4767
|
if (c != null) {
|
|
4768
|
-
d.
|
|
4768
|
+
d.i = c;
|
|
4769
4769
|
}
|
|
4770
4770
|
else {
|
|
4771
|
-
d.
|
|
4771
|
+
d.i = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
4772
4772
|
}
|
|
4773
4773
|
return d;
|
|
4774
4774
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-webcomponents-layouts",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "Ignite UI WebComponents layout components.",
|
|
5
5
|
"homepage": "https://github.com/IgniteUI/igniteui-webcomponents-layouts",
|
|
6
6
|
"keywords": [
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"tslib": "^2.3.1"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"igniteui-webcomponents-core": "3.2.
|
|
18
|
-
"igniteui-webcomponents-inputs": "3.2.
|
|
17
|
+
"igniteui-webcomponents-core": "3.2.3",
|
|
18
|
+
"igniteui-webcomponents-inputs": "3.2.3"
|
|
19
19
|
},
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"typings": "igniteui-webcomponents-layouts.d.ts",
|