{"version":3,"file":"index.mjs","sources":["../../../../../../packages/components/graphics/corridor/index.ts"],"sourcesContent":["/*\n * @Author: zouyaoji@https://github.com/zouyaoji\n * @Date: 2021-09-16 09:28:13\n * @LastEditTime: 2022-01-14 15:10:57\n * @LastEditors: zouyaoji\n * @Description:\n * @FilePath: \\vue-cesium@next\\packages\\components\\graphics\\corridor\\index.ts\n */\nimport { createCommentVNode, defineComponent, getCurrentInstance } from 'vue'\nimport type { VcComponentInternalInstance } from '@vue-cesium/utils/types'\nimport type { ExtractPropTypes } from 'vue'\nimport { useGraphics } from '@vue-cesium/composables'\nimport {\n  show,\n  positions,\n  width,\n  height,\n  heightReference,\n  extrudedHeight,\n  extrudedHeightReference,\n  cornerType,\n  granularity,\n  fill,\n  material,\n  outline,\n  outlineColor,\n  outlineWidth,\n  shadows,\n  distanceDisplayCondition,\n  classificationType,\n  zIndex\n} from '@vue-cesium/utils/cesium-props'\nimport { kebabCase } from '@vue-cesium/utils/util'\nimport { commonEmits } from '@vue-cesium/utils/emits'\nconst corridorGraphicsProps = {\n  ...show,\n  ...positions,\n  ...width,\n  ...height,\n  ...heightReference,\n  ...extrudedHeight,\n  ...extrudedHeightReference,\n  ...cornerType,\n  ...granularity,\n  ...fill,\n  ...material,\n  ...outline,\n  ...outlineColor,\n  ...outlineWidth,\n  ...shadows,\n  ...distanceDisplayCondition,\n  ...classificationType,\n  ...zIndex\n}\nexport default defineComponent({\n  name: 'VcGraphicsCorridor',\n  props: corridorGraphicsProps,\n  emits: commonEmits,\n  setup(props, ctx) {\n    // state\n    const instance = getCurrentInstance() as VcComponentInternalInstance\n    instance.cesiumClass = 'CorridorGraphics'\n    useGraphics(props, ctx, instance)\n    return () => createCommentVNode(kebabCase(instance.proxy?.$options.name || 'v-if'))\n  }\n})\n\nexport type VcGraphicsCorridorProps = ExtractPropTypes<typeof corridorGraphicsProps>\n"],"names":[],"mappings":";;;;;;;AAwBA,MAAM,qBAAqB,GAAG;AAC9B,EAAE,GAAG,IAAI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