UNPKG

vue-cesium

Version:
71 lines (66 loc) 1.47 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var usePosition = require('../../../composables/private/use-position.js'); var util = require('../../../utils/util.js'); "use strict"; const defaultProps = { enableCompassOuterRing: { type: Boolean, default: true }, duration: { type: Number, default: 1.5 }, ...usePosition.positionProps, outerOptions: { type: Object, default: () => ({ icon: "vc-icons-compass-outer", size: "96px", color: "#3f4854", background: "transparent", tooltip: { delay: 1e3, anchor: "bottom middle", offset: [0, 20], tip: void 0 } }) }, innerOptions: { type: Object, default: () => ({ icon: "vc-icons-compass-inner", size: "24px", color: "#3f4854", background: "#fff", tooltip: { delay: 1e3, anchor: "bottom middle", offset: [0, 20], tip: void 0 } }) }, markerOptions: { type: Object, default: () => ({ icon: "vc-icons-compass-rotation-marker", size: "96px", color: "#1976D2" }) }, customClass: { type: String, default: "" }, teleportToViewer: { type: Boolean, default: true } }; const defaultOptions = util.getDefaultOptionByProps(defaultProps); exports.defaultOptions = defaultOptions; exports.defaultProps = defaultProps; //# sourceMappingURL=defaultProps.js.map