@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 839 B
JavaScript
import{_ as r}from"../../chunks/tslib.es6.js";import{JSONMap as s}from"../../core/jsonMap.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as o}from"../../core/accessorSupport/decorators/property.js";import"../../core/accessorSupport/ensureType.js";import"../../core/arrayUtils.js";import{subclass as t}from"../../core/accessorSupport/decorators/subclass.js";const i=new s({esriMeters:"meters",esriFeet:"feet",esriKilometers:"kilometers",esriMiles:"miles",esriNauticalMiles:"nautical-miles",esriYards:"yards"},{ignoreUnknown:!1});let p=class extends e{constructor(r){super(r),this.distance=0,this.units=null}};r([o({json:{write:!0}})],p.prototype,"distance",void 0),r([o({json:{read:i.read,write:i.write}})],p.prototype,"units",void 0),p=r([t("esri.rest.support.LinearUnit")],p);const c=p;export{c as default};