UNPKG

vue-cesium

Version:
53 lines (48 loc) 1.7 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); require('../../../composables/index.js'); var cesiumProps = require('../../../utils/cesium-props.js'); var util = require('../../../utils/util.js'); var render = require('../../../utils/private/render.js'); var emits = require('../../../utils/emits.js'); var index = require('../../../composables/use-primitives/index.js'); "use strict"; const groundPrimitiveProps = { ...cesiumProps.geometryInstances, ...cesiumProps.appearance, ...cesiumProps.show, ...cesiumProps.vertexCacheOptimize, ...cesiumProps.interleave, ...cesiumProps.compressVertices, ...cesiumProps.releaseGeometryInstances, ...cesiumProps.allowPicking, ...cesiumProps.asynchronous, ...cesiumProps.classificationType, ...cesiumProps.debugShowBoundingVolume, ...cesiumProps.debugShowShadowVolume, ...cesiumProps.enableMouseEvent }; var PrimitiveGround = vue.defineComponent({ name: "VcPrimitiveGround", props: groundPrimitiveProps, emits: emits.primitiveEmits, setup(props, ctx) { var _a; const instance = vue.getCurrentInstance(); instance.cesiumClass = "GroundPrimitive"; index["default"](props, ctx, instance); const name = ((_a = instance.proxy) == null ? void 0 : _a.$options.name) || ""; return () => ctx.slots.default ? vue.h( "i", { class: util.kebabCase(name), style: { display: "none !important" } }, render.hSlot(ctx.slots.default) ) : vue.createCommentVNode(util.kebabCase(name)); } }); exports["default"] = PrimitiveGround; exports.groundPrimitiveProps = groundPrimitiveProps; //# sourceMappingURL=index.js.map