import { defineComponent, getCurrentInstance, createCommentVNode } from 'vue';
import '../../../composables/index.mjs';
import { show, width, material, distanceDisplayCondition } from '../../../utils/cesium-props.mjs';
import { kebabCase } from '../../../utils/util.mjs';
import useGraphics from '../../../composables/use-graphics/index.mjs';

var GraphicsPath = defineComponent({
  name: "VcGraphicsPath",
  props: {
    ...show,
    leadTime: [Number, Object, Function],
    trailTime: [Number, Object, Function],
    ...width,
    resolution: {
      type: [Number, Object, Function],
      default: 60
    },
    ...material,
    ...distanceDisplayCondition
  },
  emits: ["beforeLoad", "ready", "destroyed"],
  setup(props, ctx) {
    const instance = getCurrentInstance();
    instance.cesiumClass = "PathGraphics";
    useGraphics(props, ctx, instance);
    return () => {
      var _a;
      return createCommentVNode(kebabCase(((_a = instance.proxy) == null ? void 0 : _a.$options.name) || ""));
    };
  }
});

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