/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{JSONMap as t}from"../../core/jsonMap.js";import{JSONSupport as i}from"../../core/JSONSupport.js";import{clone as o}from"../../core/lang.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import{Integer as l}from"../../core/accessorSupport/ensureType.js";var d;const n=new t({belowSelected:"belowSelected",selectedOnly:"selectedOnly"});let p=d=class extends i{constructor(e){super(e),this.enabled=!1,this.floorVisibilityMode="selectedOnly",this.longNames=!1,this.minimized=!1,this.pinnedLevels=!1,this.site=null,this.facility=null,this.level=null,this.selectedVerticalOrder=null,this.useVerticalOrder=!1}clone(){return new d(o({enabled:this.enabled,longNames:this.longNames,minimized:this.minimized,pinnedLevels:this.pinnedLevels,site:this.site,facility:this.facility,level:this.level,useVerticalOrder:this.useVerticalOrder,selectedVerticalOrder:this.selectedVerticalOrder,floorVisibilityMode:this.floorVisibilityMode}))}};e([r({type:Boolean,json:{read:!0,write:!0}})],p.prototype,"enabled",void 0),e([r({type:n.apiValues,json:{type:n.jsonValues,read:n.read,write:{writer:n.write,overridePolicy:(e,t,i)=>({enabled:null==i||"web-scene"===i?.origin})}}})],p.prototype,"floorVisibilityMode",void 0),e([r({type:Boolean,json:{read:!0,write:!0}})],p.prototype,"longNames",void 0),e([r({type:Boolean,json:{read:!0,write:!0}})],p.prototype,"minimized",void 0),e([r({type:Boolean,json:{read:!0,write:!0}})],p.prototype,"pinnedLevels",void 0),e([r({type:String,json:{read:!0,write:!0}})],p.prototype,"site",void 0),e([r({type:String,json:{read:!0,write:!0}})],p.prototype,"facility",void 0),e([r({type:String,json:{read:!0,write:!0}})],p.prototype,"level",void 0),e([r({type:l,json:{read:!0,write:!0}})],p.prototype,"selectedVerticalOrder",void 0),e([r({type:Boolean,json:{read:!0,write:!0}})],p.prototype,"useVerticalOrder",void 0),p=d=e([s("esri.webdoc.widgets.FloorFilter")],p);const a=p;export{a as default};
