import { defineComponent, getCurrentInstance, h, createCommentVNode } from 'vue';
import '../../../composables/index.mjs';
import { geometryInstances, appearance, show, interleave, compressVertices, releaseGeometryInstances, allowPicking, asynchronous, classificationType, debugShowBoundingVolume, debugShowShadowVolume, enableMouseEvent } from '../../../utils/cesium-props.mjs';
import { kebabCase } from '../../../utils/util.mjs';
import { hSlot } from '../../../utils/private/render.mjs';
import usePrimitives from '../../../composables/use-primitives/index.mjs';

var PrimitiveGroundPolyline = defineComponent({
  name: "VcPrimitivePolylineGround",
  props: {
    ...geometryInstances,
    ...appearance,
    ...show,
    ...interleave,
    ...compressVertices,
    ...releaseGeometryInstances,
    ...allowPicking,
    ...asynchronous,
    ...classificationType,
    ...debugShowBoundingVolume,
    ...debugShowShadowVolume,
    ...enableMouseEvent
  },
  emits: ["beforeLoad", "ready", "destroyed", "readyPromise", "update:geometryInstances"],
  setup(props, ctx) {
    var _a;
    const instance = getCurrentInstance();
    instance.cesiumClass = "GroundPolylinePrimitive";
    usePrimitives(props, ctx, instance);
    const name = ((_a = instance.proxy) == null ? void 0 : _a.$options.name) || "";
    return () => ctx.slots.default ? h("i", {
      class: kebabCase(name),
      style: { display: "none !important" }
    }, hSlot(ctx.slots.default)) : createCommentVNode(kebabCase(name));
  }
});

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