UNPKG

@doegis/core

Version:

DOE GIS API

3 lines (1 loc) 1.01 kB
import{_ as r}from"../../chunks/tslib.es6.js";import{ClonableMixin as o}from"../../core/Clonable.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{isSome as t}from"../../core/maybe.js";import{property as s}from"../../core/accessorSupport/decorators/property.js";import"../../core/accessorSupport/ensureType.js";import"../../core/arrayUtils.js";import{subclass as p}from"../../core/accessorSupport/decorators/subclass.js";let i=class extends(o(e)){constructor(r){super(r),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};r([s({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:t(this.onFields)&&this.onFields.length>0}}}}})],i.prototype,"onFields",void 0),r([s({type:String,json:{write:!0}})],i.prototype,"operator",void 0),r([s({type:String,json:{write:!0}})],i.prototype,"searchTerm",void 0),r([s({type:String,json:{write:!0}})],i.prototype,"searchType",void 0),i=r([p("esri.rest.support.FullTextSearch")],i);const c=i;export{c as default};