@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.13 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
import{_ as r}from"../../chunks/tslib.es6.js";import{setDeepValue as o}from"../../core/object.js";import{property as e}from"../../core/accessorSupport/decorators/property.js";import{ensureType as s}from"../../core/accessorSupport/ensureType.js";import"../../core/has.js";import"../../core/RandomLCG.js";import{enumeration as t}from"../../core/accessorSupport/decorators/enumeration.js";import{subclass as i}from"../../core/accessorSupport/decorators/subclass.js";import a from"./BinParametersBase.js";function p(r){return r[0]instanceof Date}function c(r,e,s){o(s,r&&p(r)?r.map((r=>r.getTime())):r,e)}let n=class extends a{constructor(r){super(r),this.boundaries=[],this.type="fixed-boundaries"}};r([e({json:{name:"parameters.boundaries",write:{writer:c}}})],n.prototype,"boundaries",void 0),r([t({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],n.prototype,"type",void 0),n=r([i("esri.rest.support.FixedBoundariesBinParameters")],n);const m=n;n.from=s(n);export{m as default};