"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./mixins.js"),t=require("../../utils/amap-helpers.js"),r=require("./props.js"),o=require("./methods.js"),i=require("./overlay.js"),s=require("../../utils/types.js");function n(e){return(t,r)=>{t.setOptions({[e]:r})}}const p=e.default(i.default).extend({props:{strokeColor:r.defineProp({type:String,setter:n("strokeColor")}),strokeOpacity:r.defineProp({type:Number,setter:n("strokeOpacity")}),strokeWeight:r.defineProp({type:Number,setter:n("strokeWeight")}),strokeStyle:r.defineProp({type:String,setter:n("strokeStyle"),validator:e=>s.StrokeStyles.includes(e)}),strokeDasharray:r.defineProp({type:Array,deep:!0,equals:t.theSameArray,setter:n("strokeDasharray")})},methods:{getBounds:o.defineMethod("getBounds")}}),d=e.default(p).extend({props:{fillColor:r.defineProp({type:String,setter:n("fillColor")}),fillOpacity:r.defineProp({type:Number,setter:n("fillOpacity")})},methods:{contains:o.defineMethod("contains")}}),l=e.default(p).extend({props:{lineJoin:r.defineProp({type:String,setter:n("lineJoin"),validator:e=>s.LineJoins.includes(e)}),lineCap:r.defineProp({type:String,setter:n("lineCap"),validator:e=>s.LineCaps.includes(e)}),showDir:r.defineProp({type:Boolean,default:void 0,setter:n("showDir")}),dirColor:r.defineProp({type:String,setter:n("dirColor")}),dirImg:r.defineProp({type:String,setter:n("dirImg")}),isOutline:r.defineProp({type:Boolean,default:void 0,setter:n("isOutline")}),outlineColor:r.defineProp({type:String,setter:n("outlineColor")}),borderWeight:r.defineProp({type:Number,setter:n("borderWeight")})},methods:{getLength:o.defineMethod("getLength")}});exports.default=p,exports.line=l,exports.makeOptionSetter=n,exports.plane=d;
