(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[31],{ /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/index.vue?vue&type=script&lang=ts&setup=true": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--14-0!D:/web_src/4dkankan_v4/node_modules/babel-loader/lib!D:/web_src/4dkankan_v4/node_modules/ts-loader??ref--14-2!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/index.vue?vue&type=script&lang=ts&setup=true ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ "../../node_modules/core-js/modules/es.error.cause.js"); /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ "../../node_modules/core-js/modules/es.array.push.js"); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "../../node_modules/vue/dist/vue.runtime.esm-bundler.js"); /* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/store */ "./src/store/index.ts"); /* harmony import */ var _map_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./map.vue */ "./src/views/coord-set/map.vue"); /* harmony import */ var _scene_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./scene.vue */ "./src/views/coord-set/scene.vue"); /* harmony import */ var _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/store/controlPoint */ "./src/store/controlPoint.ts"); /* harmony import */ var _hook__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/hook */ "./src/hook/index.ts"); /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils */ "./src/utils/index.ts"); /* harmony import */ var _store_dataset__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/store/dataset */ "./src/store/dataset.ts"); /* harmony import */ var _components_magnifier_control_index_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/components/magnifier-control/index.vue */ "./src/components/magnifier-control/index.vue"); /* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/lang */ "./src/lang/index.ts"); var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; var __generator = undefined && undefined.__generator || function (thisArg, body) { var _ = { label: 0, sent: function () { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (g && (g = 0, op[0] && (_ = 0)), _) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; /* harmony default export */ __webpack_exports__["default"] = (/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_2__["defineComponent"])({ __name: 'index', setup: function (__props, _a) { var _this = this; var expose = _a.expose; expose(); var mapSet = Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])(true); var inUf = function (val) { return Object(_utils__WEBPACK_IMPORTED_MODULE_8__["toRawType"])(val) === "Undefined"; }; var inGisLegal = function (val) { if (Array.isArray(val)) { return inGisLegal(val[0]) && inGisLegal(val[1]); } else { if (!val.gis || !val.raw || inUf(val.raw.x) || inUf(val.raw.y)) { return false; } if (val.gis.x > 180 || val.gis.x < -180 || val.gis.y > 90 || val.gis.y < -90) { return false; } if (_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["outType"].value === _hook__WEBPACK_IMPORTED_MODULE_7__["CoordOutType"].DMS) { return Object(_utils__WEBPACK_IMPORTED_MODULE_8__["dmsCheck"])(val.raw.x) && Object(_utils__WEBPACK_IMPORTED_MODULE_8__["dmsCheck"])(val.raw.y); } return true; } }; var inLocalLegal = function (val) { if (Array.isArray(val)) { return inLocalLegal(val[0]) && inLocalLegal(val[1]); } else { return val.local && !inUf(val.local.x) && !inUf(val.local.y) && !inUf(val.local.z); } }; var isInvalid = function (data) { if (Object(_utils__WEBPACK_IMPORTED_MODULE_8__["toRawType"])(data) !== "Object" && Object(_utils__WEBPACK_IMPORTED_MODULE_8__["toRawType"])(data) !== "Array") { return Number.isNaN(data) || !Number.isFinite(data); } else { for (var key in data) { if (isInvalid(data[key])) { return true; } } return false; } }; Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useDesaveAssist"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"], { auto: true, save: Object(_hook__WEBPACK_IMPORTED_MODULE_7__["genUseLoading"])(function () { return __awaiter(_this, void 0, void 0, function () { var covers; return __generator(this, function (_a) { switch (_a.label) { case 0: console.log(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value); if (!inGisLegal(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value)) { Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useAlert"])(_lang__WEBPACK_IMPORTED_MODULE_11__["ui18n"].t("coord.edit.gisDataErr")); throw _lang__WEBPACK_IMPORTED_MODULE_11__["ui18n"].t("coord.edit.gisDataErr"); } if (!inLocalLegal(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value)) { Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useAlert"])(_lang__WEBPACK_IMPORTED_MODULE_11__["ui18n"].t("coord.edit.localDataErr")); throw _lang__WEBPACK_IMPORTED_MODULE_11__["ui18n"].t("coord.edit.localDataErr"); } console.log(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[0].local, _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[1].local); if (Math.abs(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["gisRaws"].value[0].x - _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["gisRaws"].value[1].x) < 0.000001 && Math.abs(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["gisRaws"].value[0].y - _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["gisRaws"].value[1].y) < 0.000001 || Math.abs(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[0].local.x - _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[1].local.x) < 0.001 && Math.abs(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[0].local.y - _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[1].local.y) < 0.001) { Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useAlert"])(_lang__WEBPACK_IMPORTED_MODULE_11__["ui18n"].t("coord.edit.pointEqual")); throw _lang__WEBPACK_IMPORTED_MODULE_11__["ui18n"].t("coord.edit.pointEqual"); } try { Object(_hook__WEBPACK_IMPORTED_MODULE_7__["initConversion"])([_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[0].local, _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[1].local], _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["gisRaws"].value, _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["type"].value, true, _hook__WEBPACK_IMPORTED_MODULE_7__["LocalCoord"].WebMercator); } catch (e) { console.error(e); Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useAlert"])("当前地理坐标有误,请输入正确的地理坐标"); throw "当前地理坐标有误,请输入正确的地理坐标"; } covers = Object(_hook__WEBPACK_IMPORTED_MODULE_7__["getConversion2D"])([_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[0].local, _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[1].local], _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["gisRaws"].value); console.log(covers); if (covers.scale === 0 || isInvalid(covers)) { Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useAlert"])(_lang__WEBPACK_IMPORTED_MODULE_11__["ui18n"].t("coord.edit.pointEqual")); throw _lang__WEBPACK_IMPORTED_MODULE_11__["ui18n"].t("coord.edit.pointEqual"); } _store_dataset__WEBPACK_IMPORTED_MODULE_9__["seftUpdate"].value = true; return [4 /*yield*/, Object(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["storeSave"])()]; case 1: _a.sent(); _store_dataset__WEBPACK_IMPORTED_MODULE_9__["seftUpdate"].value = false; // location.reload() return [4 /*yield*/, Object(_utils__WEBPACK_IMPORTED_MODULE_8__["asyncTimeout"])(100000)]; case 2: // location.reload() _a.sent(); return [2 /*return*/]; } }); }); }), intercept: function () { return Object(_utils__WEBPACK_IMPORTED_MODULE_8__["inRevise"])(Object(_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["getBackups"])(), _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value); }, backup: _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["backups"], recovery: _store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["recovery"] }); Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useViewStack"])(function () { var stop = Object(vue__WEBPACK_IMPORTED_MODULE_2__["watchEffect"])(function () { if (_store__WEBPACK_IMPORTED_MODULE_3__["mode"].value & _store__WEBPACK_IMPORTED_MODULE_3__["modeFlags"].EDIT) { _hook__WEBPACK_IMPORTED_MODULE_7__["editBus"].on("leave", _hook__WEBPACK_IMPORTED_MODULE_7__["useBack"]); } }); var sdk = Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useSDK"])(); // sdk.setMapEnable(true) Object(_hook__WEBPACK_IMPORTED_MODULE_7__["useEdit"])(); sdk.enterGeoRegistration(); return function () { if (!_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[0].gis || !_store_controlPoint__WEBPACK_IMPORTED_MODULE_6__["aut"].value[1].gis) { // sdk.setMapEnable(false) } sdk.leaveGeoRegistration(); stop(); }; }); var __returned__ = { mapSet: mapSet, inUf: inUf, inGisLegal: inGisLegal, inLocalLegal: inLocalLegal, isInvalid: isInvalid, showToolbox: _store__WEBPACK_IMPORTED_MODULE_3__["showToolbox"], MapSet: _map_vue__WEBPACK_IMPORTED_MODULE_4__["default"], SceneSet: _scene_vue__WEBPACK_IMPORTED_MODULE_5__["default"], Control: _components_magnifier_control_index_vue__WEBPACK_IMPORTED_MODULE_10__["default"] }; Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true }); return __returned__; } })); /***/ }), /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/label/index.vue?vue&type=script&setup=true&lang=ts": /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--14-0!D:/web_src/4dkankan_v4/node_modules/babel-loader/lib!D:/web_src/4dkankan_v4/node_modules/ts-loader??ref--14-2!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/label/index.vue?vue&type=script&setup=true&lang=ts ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "../../node_modules/vue/dist/vue.runtime.esm-bundler.js"); /* harmony import */ var _point1_png__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./point1.png */ "./src/views/coord-set/label/point1.png"); /* harmony import */ var _point1_png__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_point1_png__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _point2_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./point2.png */ "./src/views/coord-set/label/point2.png"); /* harmony import */ var _point2_png__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_point2_png__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _hook__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/hook */ "./src/hook/index.ts"); /* harmony default export */ __webpack_exports__["default"] = (/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_0__["defineComponent"])({ __name: 'index', props: { index: { type: Number, required: true }, changePos: { type: Function, required: true }, platform: { type: String, required: true }, focus: { type: Boolean, required: false } }, setup: function (__props, _a) { var expose = _a.expose; expose(); var props = __props; var URL = Object(vue__WEBPACK_IMPORTED_MODULE_0__["computed"])(function () { return [_point1_png__WEBPACK_IMPORTED_MODULE_1___default.a, _point2_png__WEBPACK_IMPORTED_MODULE_2___default.a][props.index]; }); var move = Object(vue__WEBPACK_IMPORTED_MODULE_0__["ref"])(false); var downHandler = function (sev) { var el = sev.target; var mountEl = document.documentElement; var preset = { x: el.offsetWidth / 2 - sev.offsetX, y: el.offsetHeight - sev.offsetY }; Object(_hook__WEBPACK_IMPORTED_MODULE_3__["useSDK"])().scene.el.style.pointerEvents = "none"; var moveHandler = function (ev) { move.value = true; var sdk = Object(_hook__WEBPACK_IMPORTED_MODULE_3__["useSDK"])(); var pos = sdk[props.platform].getPointByScreen({ x: ev.pageX + preset.x, y: ev.pageY + preset.y, inDrag: true }); // const meshPosition = sdk.coordTransform( // CoordType.LOCAL, // { ...pos.position }, // CoordType.MESH_LOCAL, // main.value.id // ); // console.log(meshPosition); pos && props.changePos(pos.position); }; var upHandler = function (ev) { Object(_hook__WEBPACK_IMPORTED_MODULE_3__["useSDK"])().scene.el.style.pointerEvents = "all"; mountEl.removeEventListener("mousemove", moveHandler); mountEl.removeEventListener("mouseup", upHandler); move.value = false; }; mountEl.addEventListener("mousemove", moveHandler); mountEl.addEventListener("mouseup", upHandler); }; var __returned__ = { props: props, URL: URL, move: move, downHandler: downHandler }; Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true }); return __returned__; } })); /***/ }), /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/map.vue?vue&type=script&lang=ts&setup=true": /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--14-0!D:/web_src/4dkankan_v4/node_modules/babel-loader/lib!D:/web_src/4dkankan_v4/node_modules/ts-loader??ref--14-2!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/map.vue?vue&type=script&lang=ts&setup=true ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.error.cause.js */ "../../node_modules/core-js/modules/es.error.cause.js"); /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ "../../node_modules/core-js/modules/es.array.push.js"); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "../../node_modules/vue/dist/vue.runtime.esm-bundler.js"); /* harmony import */ var _store_dataset__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/store/dataset */ "./src/store/dataset.ts"); /* harmony import */ var _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/store/controlPoint */ "./src/store/controlPoint.ts"); /* harmony import */ var _label_index_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./label/index.vue */ "./src/views/coord-set/label/index.vue"); /* harmony import */ var _store_setup__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/store/setup */ "./src/store/setup.ts"); /* harmony import */ var _components_info_index_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/info/index.vue */ "./src/components/info/index.vue"); /* harmony import */ var _hook__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/hook */ "./src/hook/index.ts"); /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils */ "./src/utils/index.ts"); /* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/request */ "./src/request/index.ts"); /* harmony import */ var _help__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./help */ "./src/views/coord-set/help.ts"); /* harmony import */ var _components_search_index_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/components/search/index.vue */ "./src/components/search/index.vue"); /* harmony import */ var _store_panos__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/store/panos */ "./src/store/panos.ts"); /* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/lang */ "./src/lang/index.ts"); var __assign = undefined && undefined.__assign || function () { __assign = Object.assign || function (t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; var __generator = undefined && undefined.__generator || function (thisArg, body) { var _ = { label: 0, sent: function () { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (g && (g = 0, op[0] && (_ = 0)), _) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; /* harmony default export */ __webpack_exports__["default"] = (/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_2__["defineComponent"])({ __name: 'map', emits: ["gotoScene"], setup: function (__props, _a) { var _this = this; var expose = _a.expose, emit = _a.emit; expose(); var params = Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useParams"])(); var datasetOption = _store_dataset__WEBPACK_IMPORTED_MODULE_3__["list"].value.map(function (raw) { return { label: raw.title, value: raw }; }); var currentDataset = Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])(_store_dataset__WEBPACK_IMPORTED_MODULE_3__["list"].value[0]); var laser = Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useSDK"])(); var unSetMap = Object(vue__WEBPACK_IMPORTED_MODULE_2__["computed"])(function () { return !_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[0].gis || !_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[1].gis; }); var isNumber = function (val) { return Object(_utils__WEBPACK_IMPORTED_MODULE_9__["toRawType"])(val) === "Number"; }; var isLatlan = function (gis) { return !(gis.x > 180 || gis.x < -180 || gis.y > 90 || gis.y < -90); }; var inCorrects = [Object(vue__WEBPACK_IMPORTED_MODULE_2__["computed"])(function () { return _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[0] && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[0].x) && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[0].y) && isLatlan(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[0]); }), Object(vue__WEBPACK_IMPORTED_MODULE_2__["computed"])(function () { return _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[1] && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[1].x) && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[1].y) && isLatlan(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[1]); })]; var inUpdateRTK = [Object(vue__WEBPACK_IMPORTED_MODULE_2__["computed"])(function () { if (inCorrects[0].value) { var pano = querPano(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[0].panoId); if (pano && pano.id && pano.gis) { return pano.gis.x !== _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[0].gis.x || pano.gis.y !== _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[0].gis.y || pano.gis.z !== _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[0].gis.z; } } }), Object(vue__WEBPACK_IMPORTED_MODULE_2__["computed"])(function () { if (inCorrects[1].value) { var pano = querPano(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[1].panoId); if (pano && pano.id && pano.gis) { return pano.gis.x !== _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[1].gis.x || pano.gis.y !== _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[1].gis.y || pano.gis.z !== _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[1].gis.z; } } })]; var tempType = Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value); Object(vue__WEBPACK_IMPORTED_MODULE_2__["watchEffect"])(function () { if (tempType.value) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value = tempType.value; } }); var blurTypeHandler = function () { if (!tempType.value) { tempType.value = _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value; } }; Object(vue__WEBPACK_IMPORTED_MODULE_2__["onActivated"])(function () { tempType.value = _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value; }); var diff = Object(vue__WEBPACK_IMPORTED_MODULE_2__["computed"])(function () { if (inCorrects[0].value && inCorrects[1].value && !_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["unSetScene"].value) { try { var auts = [Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].WebMercator, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[0]), Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].WebMercator, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[1])]; var autsAMaps = _store_setup__WEBPACK_IMPORTED_MODULE_6__["mapCompany"].value === "default" ? [Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].AMap, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[0]), Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].AMap, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[1])] : [Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].WGS84, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[0]), Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].WGS84, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[1])]; var dis1 = Object(_utils__WEBPACK_IMPORTED_MODULE_9__["calcLintDis"])(auts[0], auts[1]); var dis2 = Object(_utils__WEBPACK_IMPORTED_MODULE_9__["calcLintDis"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[0].local, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[1].local); var dis3 = Object(_utils__WEBPACK_IMPORTED_MODULE_9__["calcLatLonsDis"])(autsAMaps[0], autsAMaps[1]); console.log("gis坐标:", __assign({}, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[0]), __assign({}, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[1])); console.log("local Map", autsAMaps); console.log("\u6295\u5F71\u957F\u5EA6\uFF1A".concat(dis1, "\uFF0C\u7ECF\u7EAC\u5EA6\u957F\u5EA6\uFF1A").concat(dis3, "\uFF0C\u672C\u5730\u957F\u5EA6").concat(dis2)); console.log("投影与本地相差:" + (dis1 - dis2)); console.log("经纬度与本地相差:" + (dis3 - dis2)); console.log("经纬度与投影相差:" + (dis3 - dis1)); var diff1 = Math.abs(dis3 - dis2); var diff2 = Math.abs(dis1 - dis2); return diff1 > diff2 ? diff2 : diff1; } catch (_a) { console.error("坐标不正确"); return 0.1; } } else { return 0; } }); var changeFormat = function (e) { if (_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["outType"].value === _hook__WEBPACK_IMPORTED_MODULE_8__["CoordOutType"].DMS) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["outType"].value = _hook__WEBPACK_IMPORTED_MODULE_8__["CoordOutType"].LN; } else { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["outType"].value = _hook__WEBPACK_IMPORTED_MODULE_8__["CoordOutType"].DMS; } }; var showAMapSearch = Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])(false); var amaps = Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])([]); var searchKeyword = function (keywords) { return __awaiter(_this, void 0, void 0, function () { var data; return __generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/, _request__WEBPACK_IMPORTED_MODULE_10__["axios"].post(_request__WEBPACK_IMPORTED_MODULE_10__["URL"].amapSearch, { keywords: keywords })]; case 1: data = _a.sent(); amaps.value = data.pois; return [2 /*return*/]; } }); }); }; var gotoAMap = function (poi) { var pos = poi.location.split(",").map(Number); laser.map.comeTo({ position: toLocal({ x: pos[0], y: pos[1] }), dur: 1000, zoom: 16 }); }; var toLocal = function (pos) { return Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].WGS84, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].LOCAL, pos); }; var updatePos = function (val, index, attr) { var _a; if (_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["outType"].value === _hook__WEBPACK_IMPORTED_MODULE_8__["CoordOutType"].DMS && attr !== "z") { if (isNaN(Object(_utils__WEBPACK_IMPORTED_MODULE_9__["toDigital"])(val))) { return; } } else if (isNaN(Number(val))) { return; } if (!_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].raw) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].raw = (_a = {}, _a[attr] = val, _a); } else { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].raw[attr] = val; } if (_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[index].x && _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[index].y) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].gis = __assign({}, Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].AMap, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[index])); } }; var collCoord = function (index) { // 临时测试 // propsArray[index]?.pos && useFlyTag(propsArray[index].pos) var mesh = Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].LOCAL, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[index]); Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useFlyTag"])(__assign({}, mesh)); propsArray[index].focus = true; setTimeout(function () { propsArray[index].focus = false; }, 3000); }; var resetCoord = function (index) { setPano(index); }; var querPano = function (panoId) { return _store_panos__WEBPACK_IMPORTED_MODULE_13__["panos"].value.find(function (pano) { return pano.id === panoId; }); }; var setPano = function (index) { if (_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].panoId) { var pano = querPano(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].panoId); if (pano.gis) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].gis = __assign({}, pano.gis); console.log(pano.gis); _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].raw = Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].WGS84, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, __assign({}, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[index].gis), _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["outType"].value); return true; } } }; _help__WEBPACK_IMPORTED_MODULE_11__["bus"].on("changeLocal", function (index) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value.forEach(function (atom, i) { if (typeof index !== "number" || i === index) { if (setPano(i)) { return; } _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[i].gis = null; _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value[i].raw = null; } }); }); var propsArray; Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useViewStack"])(function () { showAMapSearch.value = true; var menus = Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])([{ icon: "location", label: "", color: "#fff", custDisabled: false, click: function (_a) { // const position = laser.coordTransform(CoordType.LOCAL, pos.position, CoordType.MESH_LOCAL) // const wgs84 = laser.coordTransform( // CoordType.LOCAL, // position, // CoordType.WGS84 // ) // const posT = useTransform( // LocalCoord.WGS84, // type.value, // wgs84, // outType.value // ) var position = _a.position; try { var gis = Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].LOCAL, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, position, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["outType"].value); updatePos(gis.x, 0, "x"); updatePos(gis.y, 0, "y"); updatePos(gis.z, 0, "z"); } catch (_b) { console.error("坐标不正确!"); } } }, { icon: "location", label: "", color: "#fff", custDisabled: false, click: function (_a) { var position = _a.position; try { var gis = Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].LOCAL, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, position, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["outType"].value); // const wgs84 = laser.coordTransform( // CoordType.LOCAL, // position, // CoordType.WGS84 // ) // const posT = useTransform( // LocalCoord.WGS84, // type.value, // wgs84, // outType.value // ) updatePos(gis.x, 1, "x"); updatePos(gis.y, 1, "y"); updatePos(gis.z, 1, "z"); } catch (_b) { console.error("坐标不正确!!!"); } } }]); if (laser.debug) { // customMouseMenuStack.push(menus); } else { _hook__WEBPACK_IMPORTED_MODULE_8__["customMouseMenuStack"].push([]); } _hook__WEBPACK_IMPORTED_MODULE_8__["floorsDisabled"].push(Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])(true)); Object(vue__WEBPACK_IMPORTED_MODULE_2__["watchEffect"])(function () { menus.value.forEach(function (atom, i) { atom.custDisabled = _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["unSetScene"].value; atom.label = unSetMap.value ? _lang__WEBPACK_IMPORTED_MODULE_14__["ui18n"].t("coord.edit.setPoint", { index: i + 1 }) : _lang__WEBPACK_IMPORTED_MODULE_14__["ui18n"].t("coord.edit.movePoint", { index: i + 1 }); }); }); propsArray = _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value.map(function (atom, i) { return Object(vue__WEBPACK_IMPORTED_MODULE_2__["reactive"])({ index: i, platform: "map", changePos: function (pos) { // atom.gis = toGis(pos) } }); }); var stopWatch = Object(vue__WEBPACK_IMPORTED_MODULE_2__["watch"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"], function () { _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"].value.forEach(function (atom, i) { if (inCorrects[i].value && _hook__WEBPACK_IMPORTED_MODULE_8__["inited"]) { // 临时测试---------------- // const posT = useTransform( // type.value, // LocalCoord.WGS84, // gisRaws.value[i], // CoordOutType.LN // ) // return propsArray[i].pos = laser.coordTransform( // CoordType.WGS84, // posT, // CoordType.LOCAL // ) // ---------------- try { var mesh = Object(_hook__WEBPACK_IMPORTED_MODULE_8__["useTransform"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"].value, _hook__WEBPACK_IMPORTED_MODULE_8__["LocalCoord"].LOCAL, _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["gisRaws"].value[i]); propsArray[i].pos = __assign({}, mesh); } catch (_a) { console.error("坐标不正确!"); } } else { propsArray[i].pos = null; } }); }, { immediate: true, deep: true, flush: "post" }); var desArray = propsArray.map(function (props) { return laser.mapCarry.use({ component: _label_index_vue__WEBPACK_IMPORTED_MODULE_5__["default"], props: props }); }); return function () { showAMapSearch.value = false; _hook__WEBPACK_IMPORTED_MODULE_8__["customMouseMenuStack"].pop(); _hook__WEBPACK_IMPORTED_MODULE_8__["floorsDisabled"].pop(); desArray.forEach(function (des) { return des(); }); stopWatch(); }; }); // watchEffect(() => { // const ampiPos = useTransform(type.value, LocalCoord.AMap, aut.value[0].raw); // console.error( // ampiPos, // libTransform.wgs84togcj02( // ampiPos.x, ampiPos.y) // ) // }) var __returned__ = { emit: emit, params: params, datasetOption: datasetOption, currentDataset: currentDataset, laser: laser, unSetMap: unSetMap, isNumber: isNumber, isLatlan: isLatlan, inCorrects: inCorrects, inUpdateRTK: inUpdateRTK, tempType: tempType, blurTypeHandler: blurTypeHandler, diff: diff, changeFormat: changeFormat, showAMapSearch: showAMapSearch, amaps: amaps, searchKeyword: searchKeyword, gotoAMap: gotoAMap, toLocal: toLocal, updatePos: updatePos, collCoord: collCoord, resetCoord: resetCoord, querPano: querPano, setPano: setPano, propsArray: propsArray, aut: _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["aut"], type: _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["type"], outType: _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["outType"], unSetScene: _store_controlPoint__WEBPACK_IMPORTED_MODULE_4__["unSetScene"], mapCompany: _store_setup__WEBPACK_IMPORTED_MODULE_6__["mapCompany"], controlPointFlag: _store_setup__WEBPACK_IMPORTED_MODULE_6__["controlPointFlag"], Info: _components_info_index_vue__WEBPACK_IMPORTED_MODULE_7__["default"], CoordOutType: _hook__WEBPACK_IMPORTED_MODULE_8__["CoordOutType"], getCoordIsPro: _hook__WEBPACK_IMPORTED_MODULE_8__["getCoordIsPro"], round: _utils__WEBPACK_IMPORTED_MODULE_9__["round"], coordSyncChange: _help__WEBPACK_IMPORTED_MODULE_11__["coordSyncChange"], referRenderKey: _help__WEBPACK_IMPORTED_MODULE_11__["referRenderKey"], mapInputProp: _help__WEBPACK_IMPORTED_MODULE_11__["mapInputProp"], coordOptions: _help__WEBPACK_IMPORTED_MODULE_11__["coordOptions"], Search: _components_search_index_vue__WEBPACK_IMPORTED_MODULE_12__["default"], lang: _lang__WEBPACK_IMPORTED_MODULE_14__["lang"], langNameEum: _lang__WEBPACK_IMPORTED_MODULE_14__["langNameEum"] }; Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true }); return __returned__; } })); /***/ }), /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/scene.vue?vue&type=script&lang=ts&setup=true": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--14-0!D:/web_src/4dkankan_v4/node_modules/babel-loader/lib!D:/web_src/4dkankan_v4/node_modules/ts-loader??ref--14-2!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/scene.vue?vue&type=script&lang=ts&setup=true ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ "../../node_modules/core-js/modules/es.array.push.js"); /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ "../../node_modules/vue/dist/vue.runtime.esm-bundler.js"); /* harmony import */ var _kankan_components_src_expose_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @kankan/components/src/expose-common */ "../kankan-components/src/expose-common.js"); /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils */ "./src/utils/index.ts"); /* harmony import */ var _store_dataset__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/store/dataset */ "./src/store/dataset.ts"); /* harmony import */ var _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/store/controlPoint */ "./src/store/controlPoint.ts"); /* harmony import */ var _label_index_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./label/index.vue */ "./src/views/coord-set/label/index.vue"); /* harmony import */ var _sdk__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/sdk */ "./src/sdk/index.ts"); /* harmony import */ var _store_setup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/store/setup */ "./src/store/setup.ts"); /* harmony import */ var _components_info_index_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/components/info/index.vue */ "./src/components/info/index.vue"); /* harmony import */ var _lang__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/lang */ "./src/lang/index.ts"); /* harmony import */ var _hook__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/hook */ "./src/hook/index.ts"); /* harmony import */ var _help__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./help */ "./src/views/coord-set/help.ts"); /* harmony import */ var _store_panos__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/store/panos */ "./src/store/panos.ts"); var __assign = undefined && undefined.__assign || function () { __assign = Object.assign || function (t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; var __spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { if (!ar) ar = Array.prototype.slice.call(from, 0, i); ar[i] = from[i]; } } return to.concat(ar || Array.prototype.slice.call(from)); }; /* harmony default export */ __webpack_exports__["default"] = (/*#__PURE__*/Object(vue__WEBPACK_IMPORTED_MODULE_1__["defineComponent"])({ __name: 'scene', emits: ["gotoMap"], setup: function (__props, _a) { var expose = _a.expose, emit = _a.emit; expose(); var changeHandler = function (data) { console.log(data); }; var backLocals = [_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[0].local && __assign({}, _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[0].local), _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[1].local && __assign({}, _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[1].local)]; var isChange1 = Object(vue__WEBPACK_IMPORTED_MODULE_1__["computed"])(function () { var currentLocals = _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[0].local && __assign({}, _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[0].local); return Object(_utils__WEBPACK_IMPORTED_MODULE_3__["inRevise"])(backLocals[0], currentLocals); }); var isChange2 = Object(vue__WEBPACK_IMPORTED_MODULE_1__["computed"])(function () { var currentLocals = _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[1].local && __assign({}, _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[1].local); return Object(_utils__WEBPACK_IMPORTED_MODULE_3__["inRevise"])(backLocals[1], currentLocals); }); var isChange = Object(vue__WEBPACK_IMPORTED_MODULE_1__["computed"])(function () { return isChange1.value || isChange2.value; }); var datasetOption = _store_dataset__WEBPACK_IMPORTED_MODULE_4__["list"].value.map(function (raw) { return { label: raw.title, value: raw }; }); var currentDataset = Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])(_store_dataset__WEBPACK_IMPORTED_MODULE_4__["list"].value[0]); var laser = Object(_hook__WEBPACK_IMPORTED_MODULE_11__["useSDK"])(); var isNumber = function (val) { return Object(_utils__WEBPACK_IMPORTED_MODULE_3__["toRawType"])(val) === "Number"; }; var inCorrects = [Object(vue__WEBPACK_IMPORTED_MODULE_1__["computed"])(function () { return _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[0].local && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[0].local.x) && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[0].local.y) && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[0].local.z); }), Object(vue__WEBPACK_IMPORTED_MODULE_1__["computed"])(function () { return _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[1].local && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[1].local.x) && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[1].local.y) && isNumber(_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[1].local.z); })]; var selectRefs = Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])([]); var selectHandler = function (raw, index) { autSelectTypes.value[index] = raw.value; setTimeout(function () { selectRefs.value[index].vmRef.vmRef.vmRef.input.blur(); inCorrects[index].value && collCoord(index); }, 100); if (typeof autSelectTypes.value[index] === "string") { // aut.value[index].panoId = null // aut.value[index].local = null _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["autLocal"].value[index] = null; } else { var pano = autSelectTypes.value[index]; // aut.value[index].panoId = pano.id // aut.value[index].local = { // x: pano.x, // y: pano.y, // z: pano.z // } _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["autLocal"].value[index] = { x: pano.x, y: pano.y, z: pano.z, panoId: pano.id }; } }; var selectOptions = Object(vue__WEBPACK_IMPORTED_MODULE_1__["computed"])(function () { var options = _store_panos__WEBPACK_IMPORTED_MODULE_13__["panos"].value.map(function (atom) { var use = _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value.findIndex(function (a) { return atom.id === a.panoId; }); return { label: atom.label, value: atom, disabled: !!~use, use: use }; }); return __spreadArray([{ label: _lang__WEBPACK_IMPORTED_MODULE_10__["ui18n"].t("coord.edit.userUseMouse"), value: "useMouse", disabled: false }], options, true); }); var autSelectTypes = Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])(_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value.map(function (atom, i) { return atom.panoId ? _store_panos__WEBPACK_IMPORTED_MODULE_13__["panos"].value.find(function (pano) { return pano.id === atom.panoId; }) : inCorrects[i].value ? "useMouse" : null; })); var clearHandler = function (index) { selectRefs.value[index].vmRef.clearHandler(); }; var updatePos = function (val, index, attr) { if (!_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[index].local) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[index].local = {}; } if (!_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["autLocal"].value[index]) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["autLocal"].value[index] = {}; } // aut.value[index].local[attr] = round(val, 2) _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["autLocal"].value[index][attr] = Object(_utils__WEBPACK_IMPORTED_MODULE_3__["round"])(val, 2); }; var collCoord = function (index) { Object(_hook__WEBPACK_IMPORTED_MODULE_11__["useFlyTag"])(toLocal(_store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[index].local)); propsArray[index].focus = true; setTimeout(function () { propsArray[index].focus = false; }, 3000); }; var toLocal = function (pos) { return laser.coordTransform(_sdk__WEBPACK_IMPORTED_MODULE_7__["CoordType"].MESH_LOCAL, pos, _sdk__WEBPACK_IMPORTED_MODULE_7__["CoordType"].LOCAL, _store_dataset__WEBPACK_IMPORTED_MODULE_4__["main"].value.id); }; var toMeshLocal = function (pos) { return laser.coordTransform(_sdk__WEBPACK_IMPORTED_MODULE_7__["CoordType"].LOCAL, pos, _sdk__WEBPACK_IMPORTED_MODULE_7__["CoordType"].MESH_LOCAL, _store_dataset__WEBPACK_IMPORTED_MODULE_4__["main"].value.id); }; var backup = _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value.map(function (atom) { return { local: __assign({}, atom.local), ponoId: atom.panoId }; }); var cancel = function () { for (var i = 0; i < backup.length; i++) { _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[i].local = backup[i].local; _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value[i].panoId = backup[i].ponoId; } emit("gotoMap"); }; var submit = function () { if (isChange1.value) { _help__WEBPACK_IMPORTED_MODULE_12__["bus"].emit("changeLocal", 0); } if (isChange2.value) { _help__WEBPACK_IMPORTED_MODULE_12__["bus"].emit("changeLocal", 1); } emit("gotoMap"); }; var propsArray; Object(_hook__WEBPACK_IMPORTED_MODULE_11__["useViewStack"])(function () { _hook__WEBPACK_IMPORTED_MODULE_11__["saveDisabledStack"].push(Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])(true)); _hook__WEBPACK_IMPORTED_MODULE_11__["mapDisabledStack"].push(Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])(false)); _hook__WEBPACK_IMPORTED_MODULE_11__["cloundDisabledStack"].push(Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])(false)); _hook__WEBPACK_IMPORTED_MODULE_11__["fullViewStack"].push(Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])("scene")); _hook__WEBPACK_IMPORTED_MODULE_11__["tabSwitchDisabledStack"].push(Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])(false)); _hook__WEBPACK_IMPORTED_MODULE_11__["searchDisabledStack"].push(Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])(false)); var menus = Object(vue__WEBPACK_IMPORTED_MODULE_1__["ref"])([{ icon: "location", label: "", custDisabled: true, color: "#fff", click: function (post) { if (!post) { return _kankan_components_src_expose_common__WEBPACK_IMPORTED_MODULE_2__["Message"].error(_lang__WEBPACK_IMPORTED_MODULE_10__["ui18n"].t("scene.getPointError")); } var position = post.position; var mesh = toMeshLocal(position); updatePos(mesh.x, 0, "x"); updatePos(mesh.y, 0, "y"); updatePos(mesh.z, 0, "z"); } }, { icon: "location", label: "", custDisabled: true, color: "#fff", click: function (post) { if (!post) { return _kankan_components_src_expose_common__WEBPACK_IMPORTED_MODULE_2__["Message"].error(_lang__WEBPACK_IMPORTED_MODULE_10__["ui18n"].t("scene.getPointError")); } var position = post.position; var mesh = toMeshLocal(position); updatePos(mesh.x, 1, "x"); updatePos(mesh.y, 1, "y"); updatePos(mesh.z, 1, "z"); } }]); _hook__WEBPACK_IMPORTED_MODULE_11__["customMouseMenuStack"].push(menus); propsArray = _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value.map(function (atom, i) { return Object(vue__WEBPACK_IMPORTED_MODULE_1__["reactive"])({ index: i, platform: "scene", changePos: function (pos) { var mesh = toMeshLocal(pos); updatePos(mesh.x, i, "x"); updatePos(mesh.y, i, "y"); updatePos(mesh.z, i, "z"); // aut.value[i].local = toMeshLocal(pos); } }); }); var stopWatch = Object(vue__WEBPACK_IMPORTED_MODULE_1__["watchEffect"])(function () { _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"].value.forEach(function (atom, i) { if (inCorrects[i].value) { propsArray[i].pos = toLocal(atom.local); } else { delete propsArray[i].pos; } }); autSelectTypes.value.forEach(function (atom, i) { menus.value[i].custDisabled = _hook__WEBPACK_IMPORTED_MODULE_11__["customMap"].full !== "scene" || atom !== "useMouse"; }); }); Object(vue__WEBPACK_IMPORTED_MODULE_1__["watchEffect"])(function () { menus.value.forEach(function (atom, i) { atom.label = _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["unSetScene"].value ? _lang__WEBPACK_IMPORTED_MODULE_10__["ui18n"].t("coord.edit.setPoint", { index: i + 1 }) : _lang__WEBPACK_IMPORTED_MODULE_10__["ui18n"].t("coord.edit.movePoint", { index: i + 1 }); }); }); var desArray = propsArray.map(function (props) { var args = { component: _label_index_vue__WEBPACK_IMPORTED_MODULE_6__["default"], props: props }; var desScene = laser.sceneCarry.use(args); var desMap = laser.mapCarry.use(args); return function () { desScene(); desMap(); }; }); return function () { stopWatch(); desArray.forEach(function (des) { return des(); }); _hook__WEBPACK_IMPORTED_MODULE_11__["customMouseMenuStack"].pop(); _hook__WEBPACK_IMPORTED_MODULE_11__["tabSwitchDisabledStack"].pop(); _hook__WEBPACK_IMPORTED_MODULE_11__["fullViewStack"].pop(); _hook__WEBPACK_IMPORTED_MODULE_11__["cloundDisabledStack"].pop(); _hook__WEBPACK_IMPORTED_MODULE_11__["mapDisabledStack"].pop(); _hook__WEBPACK_IMPORTED_MODULE_11__["saveDisabledStack"].pop(); _hook__WEBPACK_IMPORTED_MODULE_11__["searchDisabledStack"].pop(); }; }); var __returned__ = { changeHandler: changeHandler, emit: emit, backLocals: backLocals, isChange1: isChange1, isChange2: isChange2, isChange: isChange, datasetOption: datasetOption, currentDataset: currentDataset, laser: laser, isNumber: isNumber, inCorrects: inCorrects, selectRefs: selectRefs, selectHandler: selectHandler, selectOptions: selectOptions, autSelectTypes: autSelectTypes, clearHandler: clearHandler, updatePos: updatePos, collCoord: collCoord, toLocal: toLocal, toMeshLocal: toMeshLocal, backup: backup, cancel: cancel, submit: submit, propsArray: propsArray, aut: _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["aut"], unSetScene: _store_controlPoint__WEBPACK_IMPORTED_MODULE_5__["unSetScene"], controlPointFlag: _store_setup__WEBPACK_IMPORTED_MODULE_8__["controlPointFlag"], Info: _components_info_index_vue__WEBPACK_IMPORTED_MODULE_9__["default"], lang: _lang__WEBPACK_IMPORTED_MODULE_10__["lang"], langNameEum: _lang__WEBPACK_IMPORTED_MODULE_10__["langNameEum"], coordSyncChange: _help__WEBPACK_IMPORTED_MODULE_12__["coordSyncChange"], referRenderKey: _help__WEBPACK_IMPORTED_MODULE_12__["referRenderKey"] }; Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true }); return __returned__; } })); /***/ }), /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js?!../../node_modules/vue-loader-v16/dist/templateLoader.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/index.vue?vue&type=template&id=90666b3a&scoped=true&ts=true": /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--14-0!D:/web_src/4dkankan_v4/node_modules/babel-loader/lib!D:/web_src/4dkankan_v4/node_modules/ts-loader??ref--14-2!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/index.vue?vue&type=template&id=90666b3a&scoped=true&ts=true ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "../../node_modules/vue/dist/vue.runtime.esm-bundler.js"); function render(_ctx, _cache, $props, $setup, $data, $options) { var _component_ui_gate_content = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-gate-content"); var _component_ui_gate = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-gate"); var _component_ui_editor_toolbox = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-editor-toolbox"); return Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])(vue__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_editor_toolbox, { toolbox: $setup.showToolbox, "onUpdate:toolbox": _cache[2] || (_cache[2] = function ($event) { return $setup.showToolbox = $event; }), class: "coord-set clear-float", disabledAnimation: "" }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_gate, { index: $setup.mapSet ? 0 : 1, height: "100%", class: "gate-coord", absolute: "" }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_gate_content, { class: "view-content" }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [$setup.mapSet ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])($setup["MapSet"], { key: 0, onGotoScene: _cache[0] || (_cache[0] = function ($event) { return $setup.mapSet = false; }) })) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)]; }), _: 1 /* STABLE */ }), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_gate_content, { class: "view-content" }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [!$setup.mapSet ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])($setup["SceneSet"], { key: 0, onGotoMap: _cache[1] || (_cache[1] = function ($event) { return $setup.mapSet = true; }) })) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)]; }), _: 1 /* STABLE */ })]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["index"])]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["toolbox"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])($setup["Control"], { show: !$setup.mapSet }, null, 8 /* PROPS */, ["show"])], 64 /* STABLE_FRAGMENT */); } /***/ }), /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js?!../../node_modules/vue-loader-v16/dist/templateLoader.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/label/index.vue?vue&type=template&id=c0196370&scoped=true&ts=true": /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--14-0!D:/web_src/4dkankan_v4/node_modules/babel-loader/lib!D:/web_src/4dkankan_v4/node_modules/ts-loader??ref--14-2!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/label/index.vue?vue&type=template&id=c0196370&scoped=true&ts=true ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "../../node_modules/vue/dist/vue.runtime.esm-bundler.js"); var _withScopeId = function (n) { return Object(vue__WEBPACK_IMPORTED_MODULE_0__["pushScopeId"])("data-v-c0196370"), n = n(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["popScopeId"])(), n; }; var _hoisted_1 = ["src", "onMousedown"]; function render(_ctx, _cache, $props, $setup, $data, $options) { return Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])("img", { src: $setup.URL, class: Object(vue__WEBPACK_IMPORTED_MODULE_0__["normalizeClass"])(["label", { move: $setup.move, focus: $props.focus }]), onMousedown: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withModifiers"])($setup.downHandler, ["stop", "prevent"]) }, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1); } /***/ }), /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js?!../../node_modules/vue-loader-v16/dist/templateLoader.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/map.vue?vue&type=template&id=4f599c2d&scoped=true&ts=true": /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--14-0!D:/web_src/4dkankan_v4/node_modules/babel-loader/lib!D:/web_src/4dkankan_v4/node_modules/ts-loader??ref--14-2!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/map.vue?vue&type=template&id=4f599c2d&scoped=true&ts=true ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "../../node_modules/vue/dist/vue.runtime.esm-bundler.js"); var _withScopeId = function (n) { return Object(vue__WEBPACK_IMPORTED_MODULE_0__["pushScopeId"])("data-v-4f599c2d"), n = n(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["popScopeId"])(), n; }; var _hoisted_1 = ["href"]; var _hoisted_2 = ["href"]; var _hoisted_3 = ["href"]; var _hoisted_4 = { class: "group-title" }; var _hoisted_5 = { class: "group-icon" }; var _hoisted_6 = ["onClick"]; var _hoisted_7 = { key: 1, class: "undata", style: { "text-align": "center" } }; function render(_ctx, _cache, $props, $setup, $data, $options) { var _component_ui_icon = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-icon"); var _component_ui_input = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-input"); var _component_ui_group_option = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-group-option"); var _component_ui_group = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-group"); var _component_ui_tip = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-tip"); return Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])(vue__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group, { title: _ctx.$t('dataset.refer') }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, null, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_input, { class: "disabled", placeholder: _ctx.$t('sys.selectPic'), type: "select", unplaceholder: _ctx.$t('sys.unData'), options: $setup.datasetOption, modelValue: $setup.currentDataset, "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return $setup.currentDataset = $event; }), width: "100%" }, { preIcon: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { type: "show_dot_s" })]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["placeholder", "unplaceholder", "options", "modelValue"])]; }), _: 1 /* STABLE */ }), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, null, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_input, { type: "text", placeholder: _ctx.$t('sys.inputPlc'), modelValue: _ctx.$t('coord.ctrls'), width: "100%", readonly: "", class: Object(vue__WEBPACK_IMPORTED_MODULE_0__["normalizeClass"])(["enter", { input: $setup.unSetScene }]), onClick: _cache[1] || (_cache[1] = function ($event) { return $setup.emit('gotoScene'); }) }, { preIcon: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { type: "location" })]; }), icon: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])($setup.unSetScene ? _ctx.$t("sys.unset") : "P1,P2") + " ", 1 /* TEXT */), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { type: "pull-more" })]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["placeholder", "modelValue", "class"]), $setup.unSetScene ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])($setup["Info"], { key: 0, type: "warning", msg: _ctx.$t('coord.edit.unsetCtrls') }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("a", { class: "info-link", href: "https://www.4dkankan.com/www/mddoc/manual/index.html#/product/laser/".concat($setup.lang === $setup.langNameEum.zh ? 'zh-cn' : 'en-us', "/setcontrolpoint"), target: "_blank" }, Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("coord.edit.whySetCtrls")), 9 /* TEXT, PROPS */, _hoisted_1)]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["msg"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)]; }), _: 1 /* STABLE */ })]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["title"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group, { title: _ctx.$t('coord.edit.gis') }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, null, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { var _a; return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_tip, { tip: (_a = $setup.coordOptions.find(function (_a) { var value = _a.value; return value === $setup.tempType; })) === null || _a === void 0 ? void 0 : _a.label }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_input, { type: "search", placeholder: _ctx.$t('sys.selectPic'), options: $setup.coordOptions, unplaceholder: _ctx.$t('sys.unData'), modelValue: $setup.tempType, "onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) { return $setup.tempType = $event; }), width: "100%", class: Object(vue__WEBPACK_IMPORTED_MODULE_0__["normalizeClass"])({ input: !$setup.unSetScene && $setup.unSetMap }), onBlur: $setup.blurTypeHandler }, null, 8 /* PROPS */, ["placeholder", "options", "unplaceholder", "modelValue", "class"])]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["tip"])]; }), _: 1 /* STABLE */ }), !$setup.getCoordIsPro($setup.type) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_group_option, { key: 0 }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_input, { readonly: "", class: "format-input", placeholder: _ctx.$t('sys.inputPlc'), type: "text", modelValue: $setup.outType === $setup.CoordOutType.DMS ? _ctx.$t('coord.edit.dms') : _ctx.$t('coord.edit.num'), width: "100%" }, { icon: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { onClick: $setup.changeFormat, type: "change1", ctrl: "" })]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["placeholder", "modelValue"])]; }), _: 1 /* STABLE */ })) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, null, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [!$setup.unSetScene && $setup.unSetMap ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])($setup["Info"], { key: 0, type: "warning", msg: _ctx.$t('coord.edit.inputGis') }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("a", { class: "info-link", href: "https://www.4dkankan.com/www/mddoc/manual/index.html#/product/laser/".concat($setup.lang === $setup.langNameEum.zh ? 'zh-cn' : 'en-us', "/whycontrolpoint"), target: "_blank" }, Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("coord.edit.getGis")), 9 /* TEXT, PROPS */, _hoisted_2)]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["msg"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])(" {{diff}} "), $setup.diff > 0.04 ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])($setup["Info"], { key: 1, msg: _ctx.$t('coord.edit.noRepeat') }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("a", { class: "info-link", href: "https://www.4dkankan.com/www/mddoc/manual/index.html#/product/laser/".concat($setup.lang === $setup.langNameEum.zh ? 'zh-cn' : 'en-us', "/coincidentcontrolpoints"), target: "_blank" }, Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("coord.edit.noRepeatUpdate")), 9 /* TEXT, PROPS */, _hoisted_3), $setup.laser.debug ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])(vue__WEBPACK_IMPORTED_MODULE_0__["Fragment"], { key: 0 }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("coord.edit.diff")) + Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])($setup.round($setup.diff, 3)), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["msg"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)]; }), _: 1 /* STABLE */ })]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["title"]), $setup.aut ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])(vue__WEBPACK_IMPORTED_MODULE_0__["Fragment"], { key: 0 }, Object(vue__WEBPACK_IMPORTED_MODULE_0__["renderList"])($setup.aut, function (atom, i) { return Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_group, { borderBottom: "", class: Object(vue__WEBPACK_IMPORTED_MODULE_0__["normalizeClass"])({ disabled: $setup.unSetScene }) }, { header: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("h3", _hoisted_4, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(" P" + Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(i + 1) + " ", 1 /* TEXT */), !$setup.controlPointFlag && atom.panoId && $setup.querPano(atom.panoId).gis ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_icon, { key: 0, type: "state_gps", color: "var(--color-main-normal)" })) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("span", _hoisted_5, [$setup.inUpdateRTK[i].value ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_icon, { key: 0, ctrl: "", type: "reset", class: "collection", onClick: function ($event) { return $setup.resetCoord(i); }, style: { "margin-right": "10px" }, tip: _ctx.$t('sys.reset') }, null, 8 /* PROPS */, ["onClick", "tip"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { ctrl: "", type: "pin", class: Object(vue__WEBPACK_IMPORTED_MODULE_0__["normalizeClass"])(["collection", { disabled: !$setup.inCorrects[i].value }]), onClick: function ($event) { return $setup.collCoord(i); } }, null, 8 /* PROPS */, ["onClick", "class"])])])]; }), default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, { class: "coord" }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [(Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_input, Object(vue__WEBPACK_IMPORTED_MODULE_0__["mergeProps"])({ key: $setup.mapInputProp[$setup.type].type, modelValue: $setup.aut[i].raw && (Number($setup.aut[i].raw.x) ? $setup.round(Number($setup.aut[i].raw.x), $setup.getCoordIsPro($setup.tempType) ? 3 : 16) : $setup.aut[i].raw.x), "onUpdate:modelValue": function (val) { return $setup.updatePos(val, i, 'x'); }, right: "", width: "100%" }, $setup.mapInputProp[$setup.type].x, { class: "input", ctrl: false }), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createSlots"])({ preIcon: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])($setup.mapInputProp[$setup.type].x.attr) + " :", 1 /* TEXT */)]; }), _: 2 /* DYNAMIC */ }, [$setup.mapInputProp[$setup.type].x.append ? { name: "icon", fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])($setup.mapInputProp[$setup.type].x.append), 1 /* TEXT */)]; }), key: "0" } : undefined]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue"])), (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_input, Object(vue__WEBPACK_IMPORTED_MODULE_0__["mergeProps"])({ key: $setup.mapInputProp[$setup.type].type, modelValue: $setup.aut[i].raw && (Number($setup.aut[i].raw.y) ? $setup.round(Number($setup.aut[i].raw.y), $setup.getCoordIsPro($setup.tempType) ? 3 : 16) : $setup.aut[i].raw.y), require: "", "onUpdate:modelValue": function (val) { return $setup.updatePos(val, i, 'y'); }, right: "" }, $setup.mapInputProp[$setup.type].y, { width: "100%", class: "input", ctrl: false }), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createSlots"])({ preIcon: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])($setup.mapInputProp[$setup.type].y.attr) + " :", 1 /* TEXT */)]; }), _: 2 /* DYNAMIC */ }, [$setup.mapInputProp[$setup.type].y.append ? { name: "icon", fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])($setup.mapInputProp[$setup.type].y.append), 1 /* TEXT */)]; }), key: "0" } : undefined]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue"])), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_input, Object(vue__WEBPACK_IMPORTED_MODULE_0__["mergeProps"])({ modelValue: $setup.aut[i].raw && (Number($setup.aut[i].raw.z) ? $setup.round(Number($setup.aut[i].raw.z), 16) : $setup.aut[i].raw.z), "onUpdate:modelValue": function (val) { return $setup.updatePos(val, i, 'z'); }, right: "" }, $setup.mapInputProp[$setup.type].z, { width: "100%", ctrl: false }), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createSlots"])({ preIcon: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])($setup.mapInputProp[$setup.type].z.attr) + " :", 1 /* TEXT */)]; }), _: 2 /* DYNAMIC */ }, [$setup.mapInputProp[$setup.type].z.append ? { name: "icon", fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])($setup.mapInputProp[$setup.type].z.append), 1 /* TEXT */)]; }), key: "0" } : undefined]), 1040 /* FULL_PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue"])]; }), _: 2 /* DYNAMIC */ }, 1024 /* DYNAMIC_SLOTS */), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, null, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [$setup.coordSyncChange(i) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])($setup["Info"], { msg: $setup.coordSyncChange(i), type: "warning", key: $setup.referRenderKey(i) }, null, 8 /* PROPS */, ["msg"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)]; }), _: 2 /* DYNAMIC */ }, 1024 /* DYNAMIC_SLOTS */)]; }), _: 2 /* DYNAMIC */ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class"]); }), 256 /* UNKEYED_FRAGMENT */)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group, { title: _ctx.$t('coord.edit.map'), style: { "padding-bottom": "20px" } }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_input, { type: "text", class: "disabled", placeholder: _ctx.$t('sys.inputPlc'), modelValue: $setup.mapCompany === 'google' ? _ctx.$t('coord.edit.ggmap') : _ctx.$t('coord.edit.gmap'), width: "100%" }, null, 8 /* PROPS */, ["placeholder", "modelValue"])]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["title"]), $setup.showAMapSearch && $setup.params.test ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(vue__WEBPACK_IMPORTED_MODULE_0__["Teleport"], { key: 1, to: $setup.laser.map.el }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])($setup["Search"], { icon: "location", placeholder: _ctx.$t('sys.searchAll'), search: $setup.searchKeyword }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [$setup.amaps.length ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])(vue__WEBPACK_IMPORTED_MODULE_0__["Fragment"], { key: 0 }, Object(vue__WEBPACK_IMPORTED_MODULE_0__["renderList"])($setup.amaps, function (amap) { return Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])("div", { class: "amap-atom", onClick: function ($event) { return $setup.gotoAMap(amap); } }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("p", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(amap.address), 1 /* TEXT */), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("span", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(amap.pname) + Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(amap.cityname), 1 /* TEXT */)], 8 /* PROPS */, _hoisted_6); }), 256 /* UNKEYED_FRAGMENT */)) : (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])("div", _hoisted_7, Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("sys.unData")), 1 /* TEXT */))]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["placeholder"])], 8 /* PROPS */, ["to"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)], 64 /* STABLE_FRAGMENT */); } /***/ }), /***/ "../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js?!../../node_modules/vue-loader-v16/dist/templateLoader.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/scene.vue?vue&type=template&id=4f024d1d&scoped=true&ts=true": /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--14-0!D:/web_src/4dkankan_v4/node_modules/babel-loader/lib!D:/web_src/4dkankan_v4/node_modules/ts-loader??ref--14-2!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/scene.vue?vue&type=template&id=4f024d1d&scoped=true&ts=true ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "../../node_modules/vue/dist/vue.runtime.esm-bundler.js"); var _withScopeId = function (n) { return Object(vue__WEBPACK_IMPORTED_MODULE_0__["pushScopeId"])("data-v-4f024d1d"), n = n(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["popScopeId"])(), n; }; var _hoisted_1 = ["href"]; var _hoisted_2 = { class: "group-title" }; var _hoisted_3 = { class: "group-icon" }; var _hoisted_4 = ["onMousedown"]; var _hoisted_5 = { key: 0 }; var _hoisted_6 = { key: 1, style: { "margin-left": "4px" } }; var _hoisted_7 = { key: 2, style: { "margin-left": "4px", "opacity": "0" } }; var _hoisted_8 = { class: "btn-group" }; function render(_ctx, _cache, $props, $setup, $data, $options) { var _component_ui_icon = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-icon"); var _component_ui_input = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-input"); var _component_ui_group_option = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-group-option"); var _component_ui_group = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-group"); var _component_ui_button = Object(vue__WEBPACK_IMPORTED_MODULE_0__["resolveComponent"])("ui-button"); return Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])(vue__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group, { title: _ctx.$t('coord.edit.setCtrls') }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, null, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_input, { class: "disabled input", placeholder: _ctx.$t('sys.selectPic'), unplaceholder: _ctx.$t('sys.unData'), type: "select", options: $setup.datasetOption, modelValue: $setup.currentDataset, "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) { return $setup.currentDataset = $event; }), width: "100%" }, { preIcon: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { type: "show_dot_s" })]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["placeholder", "unplaceholder", "options", "modelValue"]), $setup.unSetScene ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])($setup["Info"], { key: 0, type: "warning", msg: _ctx.$t('coord.edit.trapLocalPoint') }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("a", { class: "info-link", href: "https://www.4dkankan.com/www/mddoc/manual/index.html#/product/laser/".concat($setup.lang === $setup.langNameEum.zh ? 'zh-cn' : 'en-us', "/whycontrolpoint"), target: "_blank" }, Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("coord.edit.whyTrapLocalPoint")), 9 /* TEXT, PROPS */, _hoisted_1)]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["msg"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)]; }), _: 1 /* STABLE */ })]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["title"]), $setup.aut ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])(vue__WEBPACK_IMPORTED_MODULE_0__["Fragment"], { key: 0 }, Object(vue__WEBPACK_IMPORTED_MODULE_0__["renderList"])($setup.aut, function (atom, i) { return Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_group, null, { header: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("h3", _hoisted_2, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("coord.edit.localPoint", { index: i + 1 })) + " ", 1 /* TEXT */), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("span", _hoisted_3, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { ctrl: "", type: "pin", class: Object(vue__WEBPACK_IMPORTED_MODULE_0__["normalizeClass"])(["collection", { disabled: !$setup.inCorrects[i].value }]), onClick: function ($event) { return $setup.collCoord(i); } }, null, 8 /* PROPS */, ["class", "onClick"])])])]; }), default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, { class: "coord map-coord" }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_input, { type: "search", width: "100%", unplaceholder: _ctx.$t('sys.unData'), placeholder: _ctx.$t('sys.selectPic'), floatingClass: "map-coord-select", options: $setup.selectOptions, modelValue: $setup.autSelectTypes[i], "onUpdate:modelValue": function ($event) { return $setup.autSelectTypes[i] = $event; }, ref_for: true, ref: function (vm) { return $setup.selectRefs[i] = vm; }, stopEl: "div" }, Object(vue__WEBPACK_IMPORTED_MODULE_0__["createSlots"])({ option: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function (_a) { var raw = _a.raw, active = _a.active; return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("div", { class: Object(vue__WEBPACK_IMPORTED_MODULE_0__["normalizeClass"])(["select-option", { active: !raw.disabled }]), onClick: _cache[1] || (_cache[1] = Object(vue__WEBPACK_IMPORTED_MODULE_0__["withModifiers"])(function () {}, ["stop"])), onMousedown: function ($event) { return !raw.disabled && $setup.selectHandler(raw, i); } }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("div", null, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { type: raw.value !== 'useMouse' ? 'point-s' : 'm-r', style: { "margin-right": "4px" } }, null, 8 /* PROPS */, ["type"]), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(" " + Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(raw.label), 1 /* TEXT */)]), raw.value !== 'useMouse' ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])("div", _hoisted_5, [raw.value.gis && !$setup.controlPointFlag ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_icon, { key: 0, type: "state_gps", color: "var(--color-main-normal)" })) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true), ~raw.use ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])("span", _hoisted_6, "P" + Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(raw.use + 1), 1 /* TEXT */)) : (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementBlock"])("span", _hoisted_7, "P1"))])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_4)]; }), _: 2 /* DYNAMIC */ }, [$setup.autSelectTypes[i] ? { name: "icon", fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [!$setup.controlPointFlag && $setup.autSelectTypes[i] !== 'useMouse' && $setup.autSelectTypes[i].gis ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])(_component_ui_icon, { key: 0, type: "state_gps", color: "var(--color-main-normal)" })) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { type: "clear", style: { "margin-left": "10px", "cursor": "pointer" }, onClick: function ($event) { return $setup.clearHandler(i); } }, null, 8 /* PROPS */, ["onClick"])]; }), key: "0" } : undefined, $setup.autSelectTypes[i] ? { name: "preIcon", fn: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_icon, { type: $setup.autSelectTypes[i] === 'useMouse' ? 'm-r' : 'point-s' }, null, 8 /* PROPS */, ["type"])]; }), key: "1" } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["unplaceholder", "placeholder", "options", "modelValue", "onUpdate:modelValue"])]; }), _: 2 /* DYNAMIC */ }, 1024 /* DYNAMIC_SLOTS */), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group_option, null, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [$setup.coordSyncChange(i) ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__["openBlock"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createBlock"])($setup["Info"], { msg: $setup.coordSyncChange(i), type: "warning", key: $setup.referRenderKey(i) }, null, 8 /* PROPS */, ["msg"])) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true)]; }), _: 2 /* DYNAMIC */ }, 1024 /* DYNAMIC_SLOTS */)]; }), _: 2 /* DYNAMIC */ }, 1024 /* DYNAMIC_SLOTS */); }), 256 /* UNKEYED_FRAGMENT */)) : Object(vue__WEBPACK_IMPORTED_MODULE_0__["createCommentVNode"])("v-if", true), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_group, null, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createElementVNode"])("div", _hoisted_8, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_button, { type: "submit", onClick: $setup.cancel }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("sys.cancel")), 1 /* TEXT */)]; }), _: 1 /* STABLE */ }), Object(vue__WEBPACK_IMPORTED_MODULE_0__["createVNode"])(_component_ui_button, { type: "primary", onClick: $setup.submit, class: Object(vue__WEBPACK_IMPORTED_MODULE_0__["normalizeClass"])({ disabled: !$setup.inCorrects[0].value || !$setup.inCorrects[1].value || !$setup.isChange }) }, { default: Object(vue__WEBPACK_IMPORTED_MODULE_0__["withCtx"])(function () { return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["createTextVNode"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["toDisplayString"])(_ctx.$t("sys.enter")), 1 /* TEXT */)]; }), _: 1 /* STABLE */ }, 8 /* PROPS */, ["class"])])]; }), _: 1 /* STABLE */ })], 64 /* STABLE_FRAGMENT */); } /***/ }), /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/index.vue?vue&type=style&index=1&id=90666b3a&lang=css": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/web_src/4dkankan_v4/node_modules/postcss-loader/src??ref--7-oneOf-1-2!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/index.vue?vue&type=style&index=1&id=90666b3a&lang=css ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, "\n.gate-coord .ui-gate-slides .ui-gate-content {\r\n min-height: 100px;\n}\r\n", ""]); // Exports module.exports = exports; /***/ }), /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/map.vue?vue&type=style&index=1&id=4f599c2d&lang=css": /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/web_src/4dkankan_v4/node_modules/postcss-loader/src??ref--7-oneOf-1-2!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/map.vue?vue&type=style&index=1&id=4f599c2d&lang=css ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, "\n.coord .suffix .ui-text {\r\n padding-right: 30px !important;\n}\n.coord .retouch {\r\n line-height: 20px;\n}\n.format-input input {\r\n border-color: var(--base-border-color) !important;\r\n cursor: inherit !important;\n}\r\n", ""]); // Exports module.exports = exports; /***/ }), /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/scene.vue?vue&type=style&index=1&id=4f024d1d&lang=css": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/web_src/4dkankan_v4/node_modules/postcss-loader/src??ref--7-oneOf-1-2!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/scene.vue?vue&type=style&index=1&id=4f024d1d&lang=css ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, "\n.map-coord .ui-input .number.ctrl.suffix input {\r\n opacity: 0.3;\n}\n.map-coord-select .select-replace .select-options-atom:not(.active):hover {\r\n background-color: rgba(var(--colors-primary-base-fill), 0.16);\n}\r\n", ""]); // Exports module.exports = exports; /***/ }), /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/index.vue?vue&type=style&index=0&id=90666b3a&scoped=true&lang=scss": /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/web_src/4dkankan_v4/node_modules/postcss-loader/src??ref--9-oneOf-1-2!D:/web_src/4dkankan_v4/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/index.vue?vue&type=style&index=0&id=90666b3a&scoped=true&lang=scss ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, ".coord-set[data-v-90666b3a] {\n overflow-y: auto;\n overflow-x: hidden;\n}\n.coord-set .gate-coord[data-v-90666b3a] {\n overflow: initial !important;\n padding-bottom: 20px;\n height: auto !important;\n min-height: 100%;\n}\n.input[data-v-90666b3a] {\n margin-bottom: 10px;\n}\n.lock[data-v-90666b3a] {\n font-size: 14px;\n color: #fff;\n cursor: pointer;\n}\n.collection[data-v-90666b3a] {\n font-size: 14px;\n cursor: pointer;\n}\n.collection.active[data-v-90666b3a] {\n color: var(--colors-primary-base);\n}\n.btn-group[data-v-90666b3a] {\n display: flex;\n justify-content: center;\n}\n.btn-group > *[data-v-90666b3a] {\n width: 30%;\n}\n.btn-group > *[data-v-90666b3a]:first-child {\n margin-right: 20px;\n}\n.enter[data-v-90666b3a] {\n position: relative;\n}\n.enter[data-v-90666b3a]::after {\n z-index: 99;\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n cursor: pointer;\n}\n.info-link[data-v-90666b3a] {\n margin-left: 20px;\n}\n.amap-atom[data-v-90666b3a] {\n display: flex;\n font-size: 14px;\n cursor: pointer;\n}\n.amap-atom[data-v-90666b3a]:not(:last-child) {\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.16);\n margin-bottom: 20px;\n}\n.amap-atom p[data-v-90666b3a] {\n color: #ffffff;\n margin-right: 6px;\n}\n.amap-atom span[data-v-90666b3a] {\n color: rgba(255, 255, 255, 0.7);\n}\n.change-out-type[data-v-90666b3a] {\n cursor: pointer;\n}\n.group-title[data-v-90666b3a] {\n font-size: var(--big-size);\n margin-bottom: 14px;\n color: var(--colors-color);\n position: relative;\n z-index: 99;\n}\n.group-title .group-icon[data-v-90666b3a] {\n display: inline-flex;\n align-items: center;\n}\n.select-option[data-v-90666b3a] {\n padding: 10px;\n margin: -10px;\n opacity: 0.3;\n display: flex;\n align-items: center;\n justify-content: space-between;\n pointer-events: all !important;\n}\n.select-option.active[data-v-90666b3a] {\n opacity: 1;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/label/index.vue?vue&type=style&index=0&id=c0196370&scoped=true&lang=scss": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/web_src/4dkankan_v4/node_modules/postcss-loader/src??ref--9-oneOf-1-2!D:/web_src/4dkankan_v4/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/label/index.vue?vue&type=style&index=0&id=c0196370&scoped=true&lang=scss ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, ".label[data-v-c0196370] {\n width: 32px;\n cursor: move;\n}\n.move[data-v-c0196370] {\n pointer-events: none;\n}\n.focus[data-v-c0196370] {\n animation: slidein-c0196370 0.5s alternate infinite ease;\n}\n@keyframes slidein-c0196370 {\nfrom {\n transform: translateY(0);\n}\nto {\n transform: translateY(-50%);\n}\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/map.vue?vue&type=style&index=0&id=4f599c2d&scoped=true&lang=scss": /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/web_src/4dkankan_v4/node_modules/postcss-loader/src??ref--9-oneOf-1-2!D:/web_src/4dkankan_v4/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/map.vue?vue&type=style&index=0&id=4f599c2d&scoped=true&lang=scss ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, ".coord-set[data-v-4f599c2d] {\n overflow-y: auto;\n overflow-x: hidden;\n}\n.coord-set .gate-coord[data-v-4f599c2d] {\n overflow: initial !important;\n padding-bottom: 20px;\n height: auto !important;\n min-height: 100%;\n}\n.input[data-v-4f599c2d] {\n margin-bottom: 10px;\n}\n.lock[data-v-4f599c2d] {\n font-size: 14px;\n color: #fff;\n cursor: pointer;\n}\n.collection[data-v-4f599c2d] {\n font-size: 14px;\n cursor: pointer;\n}\n.collection.active[data-v-4f599c2d] {\n color: var(--colors-primary-base);\n}\n.btn-group[data-v-4f599c2d] {\n display: flex;\n justify-content: center;\n}\n.btn-group > *[data-v-4f599c2d] {\n width: 30%;\n}\n.btn-group > *[data-v-4f599c2d]:first-child {\n margin-right: 20px;\n}\n.enter[data-v-4f599c2d] {\n position: relative;\n}\n.enter[data-v-4f599c2d]::after {\n z-index: 99;\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n cursor: pointer;\n}\n.info-link[data-v-4f599c2d] {\n margin-left: 20px;\n}\n.amap-atom[data-v-4f599c2d] {\n display: flex;\n font-size: 14px;\n cursor: pointer;\n}\n.amap-atom[data-v-4f599c2d]:not(:last-child) {\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.16);\n margin-bottom: 20px;\n}\n.amap-atom p[data-v-4f599c2d] {\n color: #ffffff;\n margin-right: 6px;\n}\n.amap-atom span[data-v-4f599c2d] {\n color: rgba(255, 255, 255, 0.7);\n}\n.change-out-type[data-v-4f599c2d] {\n cursor: pointer;\n}\n.group-title[data-v-4f599c2d] {\n font-size: var(--big-size);\n margin-bottom: 14px;\n color: var(--colors-color);\n position: relative;\n z-index: 99;\n}\n.group-title .group-icon[data-v-4f599c2d] {\n display: inline-flex;\n align-items: center;\n}\n.select-option[data-v-4f599c2d] {\n padding: 10px;\n margin: -10px;\n opacity: 0.3;\n display: flex;\n align-items: center;\n justify-content: space-between;\n pointer-events: all !important;\n}\n.select-option.active[data-v-4f599c2d] {\n opacity: 1;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "../../node_modules/css-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/scene.vue?vue&type=style&index=0&id=4f024d1d&scoped=true&lang=scss": /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/web_src/4dkankan_v4/node_modules/postcss-loader/src??ref--9-oneOf-1-2!D:/web_src/4dkankan_v4/node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/scene.vue?vue&type=style&index=0&id=4f024d1d&scoped=true&lang=scss ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js"); exports = ___CSS_LOADER_API_IMPORT___(false); // Module exports.push([module.i, ".coord-set[data-v-4f024d1d] {\n overflow-y: auto;\n overflow-x: hidden;\n}\n.coord-set .gate-coord[data-v-4f024d1d] {\n overflow: initial !important;\n padding-bottom: 20px;\n height: auto !important;\n min-height: 100%;\n}\n.input[data-v-4f024d1d] {\n margin-bottom: 10px;\n}\n.lock[data-v-4f024d1d] {\n font-size: 14px;\n color: #fff;\n cursor: pointer;\n}\n.collection[data-v-4f024d1d] {\n font-size: 14px;\n cursor: pointer;\n}\n.collection.active[data-v-4f024d1d] {\n color: var(--colors-primary-base);\n}\n.btn-group[data-v-4f024d1d] {\n display: flex;\n justify-content: center;\n}\n.btn-group > *[data-v-4f024d1d] {\n width: 30%;\n}\n.btn-group > *[data-v-4f024d1d]:first-child {\n margin-right: 20px;\n}\n.enter[data-v-4f024d1d] {\n position: relative;\n}\n.enter[data-v-4f024d1d]::after {\n z-index: 99;\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n cursor: pointer;\n}\n.info-link[data-v-4f024d1d] {\n margin-left: 20px;\n}\n.amap-atom[data-v-4f024d1d] {\n display: flex;\n font-size: 14px;\n cursor: pointer;\n}\n.amap-atom[data-v-4f024d1d]:not(:last-child) {\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(255, 255, 255, 0.16);\n margin-bottom: 20px;\n}\n.amap-atom p[data-v-4f024d1d] {\n color: #ffffff;\n margin-right: 6px;\n}\n.amap-atom span[data-v-4f024d1d] {\n color: rgba(255, 255, 255, 0.7);\n}\n.change-out-type[data-v-4f024d1d] {\n cursor: pointer;\n}\n.group-title[data-v-4f024d1d] {\n font-size: var(--big-size);\n margin-bottom: 14px;\n color: var(--colors-color);\n position: relative;\n z-index: 99;\n}\n.group-title .group-icon[data-v-4f024d1d] {\n display: inline-flex;\n align-items: center;\n}\n.select-option[data-v-4f024d1d] {\n padding: 10px;\n margin: -10px;\n opacity: 0.3;\n display: flex;\n align-items: center;\n justify-content: space-between;\n pointer-events: all !important;\n}\n.select-option.active[data-v-4f024d1d] {\n opacity: 1;\n}", ""]); // Exports module.exports = exports; /***/ }), /***/ "../../node_modules/vue-style-loader/index.js?!../../node_modules/css-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js?!../../node_modules/cache-loader/dist/cjs.js?!../../node_modules/vue-loader-v16/dist/index.js?!./src/views/coord-set/index.vue?vue&type=style&index=1&id=90666b3a&lang=css": /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** D:/web_src/4dkankan_v4/node_modules/vue-style-loader??ref--7-oneOf-1-0!D:/web_src/4dkankan_v4/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/web_src/4dkankan_v4/node_modules/postcss-loader/src??ref--7-oneOf-1-2!D:/web_src/4dkankan_v4/node_modules/cache-loader/dist/cjs.js??ref--1-0!D:/web_src/4dkankan_v4/node_modules/vue-loader-v16/dist??ref--1-1!./src/views/coord-set/index.vue?vue&type=style&index=1&id=90666b3a&lang=css ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a