| 123456 |
- // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
- // See https://js.arcgis.com/4.7/esri/copyright.txt for details.
- //>>built
- define("require exports ../core/tsSupport/declareExtendsHelper ../core/tsSupport/decorateHelper dojo/i18n!./Home/nls/Home ../core/accessorSupport/decorators ./Widget ./Home/HomeViewModel ./support/widget".split(" "),function(m,n,k,c,e,b,l,g,d){return function(h){function a(a){a=h.call(this)||this;a.iconClass="esri-icon-home";a.label=e.widgetLabel;a.view=null;a.viewModel=new g;a.viewpoint=null;return a}k(a,h);a.prototype.go=function(){return null};a.prototype.render=function(){var a=this.get("viewModel.state"),
- c=(b={},b["esri-disabled"]="disabled"===a,b),a=(f={},f["esri-icon-loading-indicator"]="going-home"===a,f["esri-rotating"]="going-home"===a,f);return d.tsx("div",{bind:this,class:"esri-home esri-widget-button esri-widget",classes:c,role:"button",tabIndex:0,onclick:this._go,onkeydown:this._go,"aria-label":e.title,title:e.title},d.tsx("span",{classes:a,"aria-hidden":"true",class:"esri-icon esri-icon-home"}),d.tsx("span",{class:"esri-icon-font-fallback-text"},e.button));var b,f};a.prototype._go=function(){this.go()};
- c([b.property()],a.prototype,"iconClass",void 0);c([b.property()],a.prototype,"label",void 0);c([b.aliasOf("viewModel.view"),d.renderable()],a.prototype,"view",void 0);c([b.property({type:g}),d.renderable("viewModel.state"),d.vmEvent("go")],a.prototype,"viewModel",void 0);c([b.aliasOf("viewModel.viewpoint")],a.prototype,"viewpoint",void 0);c([b.aliasOf("viewModel.go")],a.prototype,"go",null);c([d.accessibleHandler()],a.prototype,"_go",null);return a=c([b.subclass("esri.widgets.Home")],a)}(b.declared(l))});
|