Custom Gis Application with Arcgis Javascript API with modern layouting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

8 lines
2.4 KiB

// All material copyright Esri, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.30/esri/copyright.txt for details.
//>>built
define("../../chunks/tslib.es6 ../../core/Error ../../core/JSONSupport ../../core/object ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/subclass ../effects/jsonUtils ./FeatureFilter".split(" "),function(e,n,c,p,g,h,k,l,q,d,r){var m;h={read:{reader:d.read},write:{writer:d.write,overridePolicy(){return{allowNull:null!=this.excludedEffect,isRequired:null==this.excludedEffect}}}};k={read:{reader:d.read},write:{writer:d.write,
overridePolicy(){return{allowNull:null!=this.includedEffect,isRequired:null==this.includedEffect}}}};l={name:"showExcludedLabels",default:!0};c=m=class extends c.JSONSupport{constructor(a){super(a);this.excludedEffect=this.includedEffect=this.filter=null;this.excludedLabelsVisible=!1}write(a,b){a=super.write(a,b);if(b?.origin){if(a.filter){const f=Object.keys(a.filter);if(1<f.length||"where"!==f[0])return b.messages?.push(new n("web-document-write:unsupported-feature-effect","Invalid feature effect 'filter'. A filter can only contain a 'where' property",
{layer:b.layer,effect:this})),null}if("showExcludedLabels"in a)return b.messages?.push(new n("web-document-write:unsupported-feature-effect","Invalid value for property 'excludedLabelsVisible' which should always be 'true'",{layer:b.layer,effect:this})),null}return a}clone(){return new m({filter:null!=this.filter?this.filter.clone():null,includedEffect:this.includedEffect,excludedEffect:this.excludedEffect,excludedLabelsVisible:this.excludedLabelsVisible})}};e.__decorate([g.property({type:r,json:{write:{allowNull:!0,
writer(a,b,f,t){(a=a?.write({},t))&&0!==Object.keys(a).length?p.setDeepValue(f,a,b):p.setDeepValue(f,null,b)}}}})],c.prototype,"filter",void 0);e.__decorate([g.property({json:{read:d.read,write:{writer:d.write,allowNull:!0},origins:{"web-map":h,"portal-item":h}}})],c.prototype,"includedEffect",void 0);e.__decorate([g.property({json:{read:d.read,write:{writer:d.write,allowNull:!0},origins:{"web-map":k,"portal-item":k}}})],c.prototype,"excludedEffect",void 0);e.__decorate([g.property({type:Boolean,
json:{write:!0,name:"showExcludedLabels",origins:{"web-map":l,"portal-item":l}}})],c.prototype,"excludedLabelsVisible",void 0);return c=m=e.__decorate([q.subclass("esri.layers.support.FeatureEffect")],c)});