-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexpandable-section-expandable-section-module-ngfactory.8a18ef8e5e0b8fd615b2.js
2 lines (2 loc) · 17.8 KB
/
expandable-section-expandable-section-module-ngfactory.8a18ef8e5e0b8fd615b2.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"4c35":function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"h",function(){return s}),n.d(e,"a",function(){return p}),n.d(e,"e",function(){return c}),n.d(e,"b",function(){return d}),n.d(e,"c",function(){return u}),n.d(e,"g",function(){return h}),n.d(e,"f",function(){return f});var o=n("DBGY"),i=n("CcnG");function a(){throw Error("Host already has a portal attached")}var l=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&a(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),r=function(t){function e(e,n,o){var i=t.call(this)||this;return i.component=e,i.viewContainerRef=n,i.injector=o,i}return Object(o.b)(e,t),e}(l),s=function(t){function e(e,n,o){var i=t.call(this)||this;return i.templateRef=e,i.viewContainerRef=n,i.context=o,i}return Object(o.b)(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(l),p=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&a(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof r?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),c=function(t){function e(e,n,o,i){var a=t.call(this)||this;return a.outletElement=e,a._componentFactoryResolver=n,a._appRef=o,a._defaultInjector=i,a}return Object(o.b)(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,o=this._componentFactoryResolver.resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(o,t.viewContainerRef.length,t.injector||t.viewContainerRef.parentInjector),this.setDisposeFn(function(){return e.destroy()})):(e=o.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,o=n.createEmbeddedView(t.templateRef,t.context);return o.detectChanges(),o.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(o);-1!==t&&n.remove(t)}),o},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(p),d=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(o.b)(e,t),e}(s),u=function(t){function e(e,n){var o=t.call(this)||this;return o._componentFactoryResolver=e,o._viewContainerRef=n,o._isInitialized=!1,o.attached=new i.m,o}return Object(o.b)(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=this._componentFactoryResolver.resolveComponentFactory(e.component),i=n.createComponent(o,n.length,e.injector||n.parentInjector);return t.prototype.setDisposeFn.call(this,function(){return i.destroy()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var o=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o},e}(p),h=function(){},f=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}()},"Qg/A":function(t,e,n){"use strict";n.r(e);var o=n("CcnG"),i=function(){},a=function(){return function(){this.customElementComponent=i}}(),l=n("4+yM"),r=n("n6gG"),s=n("K9Ia"),p=n("pugT"),c=0,d=function(){function t(){this._openCloseAllActions=new s.a,this.id="cdk-accordion-"+c++,this._multi=!1}return Object.defineProperty(t.prototype,"multi",{get:function(){return this._multi},set:function(t){this._multi=Object(r.b)(t)},enumerable:!0,configurable:!0}),t.prototype.openAll=function(){this._openCloseAll(!0)},t.prototype.closeAll=function(){this._openCloseAll(!1)},t.prototype._openCloseAll=function(t){this.multi&&this._openCloseAllActions.next(t)},t}(),u=0,h=function(){function t(t,e,n){var i=this;this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=p.a.EMPTY,this.closed=new o.m,this.opened=new o.m,this.destroyed=new o.m,this.expandedChange=new o.m,this.id="cdk-accordion-child-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen(function(t,e){i.accordion&&!i.accordion.multi&&i.accordion.id===e&&i.id!==t&&(i.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(t.prototype,"expanded",{get:function(){return this._expanded},set:function(t){t=Object(r.b)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(r.b)(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},t.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},t.prototype.close=function(){this.disabled||(this.expanded=!1)},t.prototype.open=function(){this.disabled||(this.expanded=!0)},t.prototype._subscribeToOpenCloseAllActions=function(){var t=this;return this.accordion._openCloseAllActions.subscribe(function(e){t.disabled||(t.expanded=e)})},t}(),f=function(){},m=(n("ihYY"),n("4c35")),y=n("p0ib"),g=n("p0Sj"),b=n("VnD/"),x=n("t9fZ"),_=n("YSh2"),v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._hideToggle=!1,e.displayMode="default",e}return Object(l.b)(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=Object(r.b)(t)},enumerable:!0,configurable:!0}),e}(d),w=0,C=function(t){function e(e,n,o,i){var a=t.call(this,e,n,o)||this;return a._viewContainerRef=i,a._hideToggle=!1,a._inputChanges=new s.a,a._headerId="mat-expansion-panel-header-"+w++,a.accordion=e,a}return Object(l.b)(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=Object(r.b)(t)},enumerable:!0,configurable:!0}),e.prototype._getHideToggle=function(){return this.accordion?this.accordion.hideToggle:this.hideToggle},e.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},e.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},e.prototype.ngAfterContentInit=function(){var t=this;this._lazyContent&&this.opened.pipe(Object(g.a)(null),Object(b.a)(function(){return t.expanded&&!t._portal}),Object(x.a)(1)).subscribe(function(){t._portal=new m.h(t._lazyContent._template,t._viewContainerRef)})},e.prototype.ngOnChanges=function(t){this._inputChanges.next(t)},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._inputChanges.complete()},e.prototype._bodyAnimation=function(t){var e=t.element.classList,n=t.phaseName,o=t.toState;"done"===n&&"expanded"===o?e.add("mat-expanded"):"start"===n&&"collapsed"===o&&e.remove("mat-expanded")},e}(h),O=function(){function t(t,e,n,o){var i=this;this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=o,this._parentChangeSubscription=p.a.EMPTY,this._parentChangeSubscription=Object(y.a)(t.opened,t.closed,t._inputChanges.pipe(Object(b.a)(function(t){return!(!t.hideToggle&&!t.disabled)}))).subscribe(function(){return i._changeDetectorRef.markForCheck()}),n.monitor(e.nativeElement)}return t.prototype._toggle=function(){this.panel.toggle()},t.prototype._isExpanded=function(){return this.panel.expanded},t.prototype._getExpandedState=function(){return this.panel._getExpandedState()},t.prototype._getPanelId=function(){return this.panel.id},t.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},t.prototype._keydown=function(t){switch(t.keyCode){case _.j:case _.d:t.preventDefault(),this._toggle();break;default:return}},t.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element.nativeElement)},t}(),j=function(){},R=n("Ip0R"),A=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){for(var n=0,o=this._listeners;n<o.length;n++)(0,o[n])(t,e)},t.prototype.listen=function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter(function(e){return t!==e})}},t.prototype.ngOnDestroy=function(){this._listeners=[]},t.ngInjectableDef=Object(o.S)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),E=n("lLAP"),P=o.Ma({encapsulation:2,styles:[".mat-expansion-panel{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);box-sizing:content-box;display:block;margin:0;transition:margin 225ms cubic-bezier(.4,0,.2,1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-expansion-panel-content{overflow:hidden}.mat-expansion-panel-content.mat-expanded{overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function k(t){return o.eb(0,[(t()(),o.Fa(0,null,null,0))],null,null)}function D(t){return o.eb(2,[o.Wa(null,0),(t()(),o.Oa(1,0,[["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"],[null,"@bodyExpansion.start"]],function(t,e,n){var o=!0,i=t.component;return"@bodyExpansion.done"===e&&(o=!1!==i._bodyAnimation(n)&&o),"@bodyExpansion.start"===e&&(o=!1!==i._bodyAnimation(n)&&o),o},null,null)),(t()(),o.Oa(2,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),o.Wa(null,1),(t()(),o.Fa(16777216,null,null,1,null,k)),o.Na(5,212992,null,0,m.c,[o.j,o.O],{portal:[0,"portal"]},null),o.Wa(null,2)],function(t,e){t(e,5,0,e.component._portal)},function(t,e){var n=e.component;t(e,1,0,n._getExpandedState(),n._headerId,n.id)})}var T=o.Ma({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function F(t){return o.eb(0,[(t()(),o.Oa(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,function(t,e){t(e,0,0,e.component._getExpandedState())})}function S(t){return o.eb(2,[(t()(),o.Oa(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),o.Wa(null,0),o.Wa(null,1),o.Wa(null,2),(t()(),o.Fa(16777216,null,null,1,null,F)),o.Na(5,16384,null,0,R.k,[o.O,o.L],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,5,0,e.component._showToggle())},null)}var I=o.Ma({encapsulation:2,styles:[],data:{}});function H(t){return o.eb(0,[(t()(),o.Oa(0,16777216,null,null,8,"mat-expansion-panel",[["class","mat-expansion-panel"],["style","background: inherit"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,D,P)),o.Na(1,1753088,null,1,C,[[2,v],o.h,A,o.O],null,null),o.ab(335544320,1,{_lazyContent:0}),(t()(),o.Oa(3,0,null,0,4,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==o.Xa(t,4)._toggle()&&i),"keydown"===e&&(i=!1!==o.Xa(t,4)._keydown(n)&&i),i},S,T)),o.Na(4,180224,null,0,O,[C,o.k,E.a,o.h],null,null),o.Za(5,{collapsedHeight:0,expandedHeight:1}),o.Za(6,{value:0,params:1}),(t()(),o.cb(7,2,[" "," "])),o.Wa(1,0)],null,function(t,e){var n=e.component;t(e,0,0,o.Xa(e,1).expanded,o.Xa(e,1)._hasSpacing()),t(e,3,0,o.Xa(e,4).panel._headerId,o.Xa(e,4).panel.disabled?-1:0,o.Xa(e,4)._getPanelId(),o.Xa(e,4)._isExpanded(),o.Xa(e,4).panel.disabled,o.Xa(e,4)._isExpanded(),t(e,6,0,o.Xa(e,4)._getExpandedState(),t(e,5,0,o.Xa(e,4).collapsedHeight,o.Xa(e,4).expandedHeight))),t(e,7,0,n.title)})}var V=o.Ka("aio-expandable-section",i,function(t){return o.eb(0,[(t()(),o.Oa(0,0,null,null,1,"aio-expandable-section",[],null,null,null,H,I)),o.Na(1,49152,null,0,i,[],null,null)],null,null)},{title:"title"},{},["*"]);n.d(e,"ExpandableSectionModuleNgFactory",function(){return z});var z=o.La(a,[],function(t){return o.Ua([o.Va(512,o.j,o.Aa,[[8,[V]],[3,o.j],o.v]),o.Va(4608,R.m,R.l,[o.s,[2,R.v]]),o.Va(1073742336,R.c,R.c,[]),o.Va(1073742336,f,f,[]),o.Va(1073742336,m.g,m.g,[]),o.Va(1073742336,j,j,[]),o.Va(1073742336,a,a,[])])})}}]);
//# sourceMappingURL=expandable-section-expandable-section-module-ngfactory.8a18ef8e5e0b8fd615b2.js.map