/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as r}from"tslib";import{JSONSupport as e}from"../../../core/JSONSupport.js";import{property as o,subclass as t}from"../../../core/accessorSupport/decorators.js";import{Integer as p}from"../../../core/accessorSupport/ensureType.js";import{enumeration as s}from"../../../core/accessorSupport/decorators/enumeration.js";var i;let a=i=class extends e{constructor(r){super(r),this.type="map-layer"}clone(){const{mapLayerId:r,gdbVersion:e}=this;return new i({mapLayerId:r,gdbVersion:e})}};r([s({mapLayer:"map-layer"}),o({json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),r([o({type:p,json:{write:{isRequired:!0}}})],a.prototype,"mapLayerId",void 0),r([o({type:String,json:{write:!0}})],a.prototype,"gdbVersion",void 0),a=i=r([t("esri.layers.support.source.MapLayerSource")],a);export{a as MapLayerSource};
