import e from"vue";import{theSamePair as t}from"../utils/amap-helpers.js";import{defineProp as o}from"./props.js";function p(e,t,o,p){var n;"function"==typeof e[o]?e[o](p):"function"==typeof e.setOptions&&e.setOptions(((n={})[t]=p,n))}function n(t,p,n){return void 0===p&&(p="show"),void 0===n&&(n="hide"),e.extend({props:{visible:o({type:Boolean,default:t,setter:function(e,t){t?e[p]():e[n]()}})}})}var s=e.extend({props:{zIndex:o({type:Number,setter:function(e,t){p(e,"zIndex","setzIndex",t)}})}}),r=e.extend({props:{opacity:o("setOpacity",Number)}}),i=e.extend({props:{zooms:o({type:Array,deep:!0,equals:t,setter:function(e,t){p(e,"zooms","setZooms",t)}})}});export{r as withOpacity,n as withVisible,s as withZIndex,i as withZooms};