Custom Gis Application with Arcgis Javascript API with modern layouting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

6 lines
1.2 KiB

// All material copyright Esri, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.30/esri/copyright.txt for details.
//>>built
define("../../chunks/tslib.es6 ../../core/Accessor ../../core/reactiveUtils ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/subclass".split(" "),function(b,a,d,c,g,h,k,e){a=class extends a{constructor(f){super(f);this.state="pending";this.url=""}initialize(){this.addHandles(d.watch(()=>[this.extension,this.name],()=>this._setFormattedFileName(),d.initial))}_setFormattedFileName(){this.name&&this.extension&&
(this.formattedName=this.count?`${this.name}(${this.count})${this.extension}`:`${this.name}.${this.extension}`)}};b.__decorate([c.property()],a.prototype,"count",void 0);b.__decorate([c.property()],a.prototype,"error",void 0);b.__decorate([c.property()],a.prototype,"extension",void 0);b.__decorate([c.property()],a.prototype,"formattedName",void 0);b.__decorate([c.property()],a.prototype,"name",void 0);b.__decorate([c.property()],a.prototype,"state",void 0);b.__decorate([c.property()],a.prototype,
"url",void 0);return a=b.__decorate([e.subclass("esri.widgets.Print.FileLink")],a)});