@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.86 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{_ as t}from"../../../../chunks/tslib.es6.js";import o from"../../../../core/JSONSupport.js";import{property as e}from"../../../../core/accessorSupport/decorators/property.js";import{ensureClass as r}from"../../../../core/accessorSupport/ensureType.js";import"../../../../core/has.js";import"../../../../core/RandomLCG.js";import{subclass as s}from"../../../../core/accessorSupport/decorators/subclass.js";import{writer as i}from"../../../../core/accessorSupport/decorators/writer.js";import p from"../../../../geometry/SpatialReference.js";var n;let c=n=class extends o{static from(t){return r(n,t)}constructor(t){super(t),this.circuits=null,this.exportAcknowledgement=!1,this.moment=null,this.outSpatialReference=null,this.domainNetworkName=null,this.gdbVersion=null,this.sessionId=null}writeOutSR(t,o,e){if(null!=t){const{wkid:r,latestWkid:s,wkt:i,wkt2:p}=t;o[e]=JSON.stringify({wkid:r??void 0,latestWkid:s??void 0,wkt:i??void 0,wkt2:p??void 0})}}};t([e({json:{type:[String],write:!0}})],c.prototype,"circuits",void 0),t([e({json:{type:Boolean,write:!0}})],c.prototype,"exportAcknowledgement",void 0),t([e({type:Date,json:{type:Number,write:{writer:(t,o)=>{o.moment=t?t.getTime():null}}}})],c.prototype,"moment",void 0),t([e({type:p,json:{write:{allowNull:!0,target:"outSR"}}})],c.prototype,"outSpatialReference",void 0),t([i("outSpatialReference")],c.prototype,"writeOutSR",null),t([e({type:String,json:{write:!0}})],c.prototype,"domainNetworkName",void 0),t([e({type:String,json:{write:!0}})],c.prototype,"gdbVersion",void 0),t([e({type:String,json:{write:!0}})],c.prototype,"sessionId",void 0),c=n=t([s("esri.rest.networks.circuits.support.ExportCircuitsParameters")],c);const a=c;export{a as default};