import { defineComponent, getCurrentInstance, createCommentVNode } from 'vue';
import '../../../composables/index.mjs';
import { kebabCase } from '../../../utils/util.mjs';
import { polygonHierarchy, height, extrudedHeight, vertexFormat, stRotation, ellipsoid, granularity, perPositionHeight, closeTop, closeBottom, arcType } from '../../../utils/cesium-props.mjs';
import useGeometries from '../../../composables/use-geometries/index.mjs';

var GeometryPolygon = defineComponent({
  name: "VcGeometryPolygon",
  props: {
    ...polygonHierarchy,
    ...height,
    ...extrudedHeight,
    ...vertexFormat,
    ...stRotation,
    ...ellipsoid,
    ...granularity,
    ...perPositionHeight,
    ...closeTop,
    ...closeBottom,
    ...arcType
  },
  emits: ["beforeLoad", "ready", "destroyed"],
  setup(props, ctx) {
    const instance = getCurrentInstance();
    instance.cesiumClass = "PolygonGeometry";
    useGeometries(props, ctx, instance);
    return () => {
      var _a;
      return createCommentVNode(kebabCase(((_a = instance.proxy) == null ? void 0 : _a.$options.name) || "v-if"));
    };
  }
});

export { GeometryPolygon as default };
//# sourceMappingURL=index.mjs.map
