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.
9 lines
2.9 KiB
9 lines
2.9 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 ../../TimeExtent ../../TimeInterval ../../core/Clonable ../../core/JSONSupport ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/reader ../../core/accessorSupport/decorators/subclass ../../core/accessorSupport/decorators/writer ../../time/timeZoneUtils".split(" "),function(c,g,f,a,l,d,p,q,r,h,m,k,n){a=class extends a.ClonableMixin(l.JSONSupport){constructor(e){super(e);this.cumulative= |
|
!1;this.fullTimeExtent=this.endField=null;this.hasLiveData=!1;this.trackIdField=this.timeZone=this.startField=this.interval=null;this.useTime=!0;this.stops=null}readFullTimeExtent(e,b){return b.timeExtent&&Array.isArray(b.timeExtent)&&2===b.timeExtent.length?g.fromArray(b.timeExtent):null}writeFullTimeExtent(e,b){b.timeExtent=null!=e?.start&&null!=e.end?e.toArray():null}readInterval(e,b){return b.timeInterval&&b.timeIntervalUnits?f.fromJSON({value:b.timeInterval,unit:b.timeIntervalUnits}):b.defaultTimeInterval&& |
|
b.defaultTimeIntervalUnits?f.fromJSON({value:b.defaultTimeInterval,unit:b.defaultTimeIntervalUnits}):null}writeInterval(e,b){b.timeInterval=e?.toJSON().value??null;b.timeIntervalUnits=e?.toJSON().unit??null}};c.__decorate([d.property({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],a.prototype,"cumulative",void 0);c.__decorate([d.property({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],a.prototype,"endField",void 0);c.__decorate([d.property({type:g, |
|
json:{write:{enabled:!0,allowNull:!0}}})],a.prototype,"fullTimeExtent",void 0);c.__decorate([h.reader("fullTimeExtent",["timeExtent"])],a.prototype,"readFullTimeExtent",null);c.__decorate([k.writer("fullTimeExtent")],a.prototype,"writeFullTimeExtent",null);c.__decorate([d.property({type:Boolean,json:{write:!0}})],a.prototype,"hasLiveData",void 0);c.__decorate([d.property({type:f,json:{write:{enabled:!0,allowNull:!0}}})],a.prototype,"interval",void 0);c.__decorate([h.reader("interval",["timeInterval", |
|
"timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],a.prototype,"readInterval",null);c.__decorate([k.writer("interval")],a.prototype,"writeInterval",null);c.__decorate([d.property({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],a.prototype,"startField",void 0);c.__decorate([d.property(n.timeZoneProperty("timeReference",!0))],a.prototype,"timeZone",void 0);c.__decorate([d.property({type:String,json:{write:{enabled:!0,allowNull:!0}}})],a.prototype,"trackIdField", |
|
void 0);c.__decorate([d.property({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],a.prototype,"useTime",void 0);c.__decorate([d.property({type:[Date],json:{read:!1}})],a.prototype,"stops",void 0);return a=c.__decorate([m.subclass("esri.layers.support.TimeInfo")],a)}); |