/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as r}from"tslib";import{property as t,subclass as e}from"../../../core/accessorSupport/decorators.js";import o from"./Input.js";import{reader as n}from"../../../core/accessorSupport/decorators/reader.js";import{writer as i}from"../../../core/accessorSupport/decorators/writer.js";var p;function s(r){return null!=r?r:null}function a(r){return null!=r?r:null}let m=p=class extends o{constructor(r){super(r),this.max=null,this.min=null,this.type="date-picker"}readMax(r,t){return s(t.max)}writeMax(r,t){t.max=a(r)}readMin(r,t){return s(t.min)}writeMin(r,t){t.min=a(r)}clone(){return new p({max:this.max,min:this.min})}};r([t({type:String,json:{type:String,write:!0}})],m.prototype,"max",void 0),r([n("max")],m.prototype,"readMax",null),r([i("max")],m.prototype,"writeMax",null),r([t({type:String,json:{type:String,write:!0}})],m.prototype,"min",void 0),r([n("min")],m.prototype,"readMin",null),r([i("min")],m.prototype,"writeMin",null),r([t({type:["date-picker"],json:{read:!1,write:!0}})],m.prototype,"type",void 0),m=p=r([e("esri.form.elements.inputs.DatePickerInput")],m);const l=m;export{l as default};
