@kq_npm/client3d_webgl_vue
Version:
KQGIS Client3D for Vue.js
1 lines • 24.9 kB
JavaScript
!function(e,l){"object"==typeof exports&&"object"==typeof module?module.exports=l(require("vue"),require("@kq_npm/client_common_vue/_utils/gis-utils"),require("@kq_npm/client_common_vue/_utils/const-image"),require("@kq_npm/client_common_vue/init.js"),require("@kq_npm/client_common_vue/_utils/util")):"function"==typeof define&&define.amd?define("@kq_npm/client3d_webgl_vue",["vue","@kq_npm/client_common_vue/_utils/gis-utils","@kq_npm/client_common_vue/_utils/const-image","@kq_npm/client_common_vue/init.js","@kq_npm/client_common_vue/_utils/util"],l):"object"==typeof exports?exports["@kq_npm/client3d_webgl_vue"]=l(require("vue"),require("@kq_npm/client_common_vue/_utils/gis-utils"),require("@kq_npm/client_common_vue/_utils/const-image"),require("@kq_npm/client_common_vue/init.js"),require("@kq_npm/client_common_vue/_utils/util")):e["@kq_npm/client3d_webgl_vue"]=l(e.Vue,e["@kq_npm/client_common_vue/_utils/gis-utils"],e["@kq_npm/client_common_vue/_utils/const-image"],e["@kq_npm/client_common_vue/init.js"],e["@kq_npm/client_common_vue/_utils/util"])}(this,(function(e,l,o,t,a){return function(){"use strict";var s={1705:function(e,l,o){var t=o(9389),a=o(7997),s=o.n(a);t.ElMessage.install=(e,l)=>{s()(e,l),e.component("KqMessage",t.ElMessage)},l.Z=t.ElMessage},348:function(e){e.exports=require("@kq_npm/client_icons_vue")},9389:function(e){e.exports=require("element-plus/dist/index.full.js")},7080:function(e){e.exports=require("vue-i18n/dist/vue-i18n.cjs.js")},6277:function(e){e.exports=o},7135:function(e){e.exports=l},3458:function(e){e.exports=a},7997:function(e){e.exports=t},1895:function(l){l.exports=e}},r={};function i(e){var l=r[e];if(void 0!==l)return l.exports;var o=r[e]={exports:{}};return s[e](o,o.exports,i),o.exports}i.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(l,{a:l}),l},i.d=function(e,l){for(var o in l)i.o(l,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:l[o]})},i.o=function(e,l){return Object.prototype.hasOwnProperty.call(e,l)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){i.r(n),i.d(n,{SlopeAspectAnalysisViewModel:function(){return a},default:function(){return C}});var e=i(1895),l=i(7135),o=i(6277),t=i(1705);class a{_slopeAnalysis=null;_aspectAnalysis=null;_globaOptions={viewer:null,_drawManager:null};_language={};_colorImages=[{value:"0",src:o.RED_TO_PURPLE_URL},{value:"1",src:o.PURPLE_TO_YELLOW_URL},{value:"2",src:o.GREEN_TO_BLUE_URL}];constructor(e,l){this._language=e._language,this._globaOptions.viewer=e._viewer,this._globaOptions.viewModel={fillStyle:l.fillStyle,viewer:this._globaOptions.viewer,isFilter:!1,colorTableDegree:l.colorTableDegree,colorTable:l.colorTable,imageSrc:this.getColorLine(l.colorImage),minSlope:l.minSlope,maxSlope:l.maxSlope,slopeColorText:l.slopeColorText,slopeColorAlpha:l.slopeColorAlpha,colorImage:this.getImagePath(l.colorImage)},this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain=!0,this._globaOptions._drawManager=e._drawManager,this._aspectAnalysis=new window.Cesium.Kq3dAspect({interval:l.interval||500,width:l.arrowWidth||20,color:window.Cesium.Color.fromCssColorString(l.color||"#FFFF00"),viewer:e._viewer})}getImagePath(e){var l="",o=this._colorImages.find((l=>l.value===e));return o&&(l=o.src),l}start(){var e=this;this._globaOptions.viewModel.viewer.terrainProvider.availability?this._globaOptions.viewModel.viewer.terrainProvider&&!this._globaOptions.viewModel.viewer.terrainProvider._heightmapStructure?"slopeFilter"===this._globaOptions.viewModel.fillStyle?this._slopeAnalysis=new Cesium.Kq3dSlope({viewer:this._globaOptions.viewer,positions:[],isFilter:!0,minSlope:this._globaOptions.viewModel.minSlope,maxSlope:this._globaOptions.viewModel.maxSlope,color:Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))}):this._globaOptions._drawManager&&this._globaOptions._drawManager.startDraw("polygon",{clampToGround:!0},((l,{shape:o})=>{if(o.groupName&&"SlopeAspectAnalysisDraw"===o.groupName){if(o)if(e._globaOptions.viewModel.positions=o._controlPoints,e._aspectAnalysis&&(e._aspectAnalysis.positions=o._controlPoints),e._slopeAnalysis)e._slopeAnalysis.positions=e._globaOptions.viewModel.positions;else switch(e._globaOptions.viewModel.fillStyle){case"tableColor":e._slopeAnalysis=new Cesium.Kq3dSlope({viewer:e._globaOptions.viewer,positions:e._globaOptions.viewModel.positions,isFilter:!1,colorTableDegree:e._globaOptions.viewModel.colorTableDegree,colorTable:e._globaOptions.viewModel.colorTable});break;case"colorImage":e._slopeAnalysis=new Cesium.Kq3dSlope({viewer:e._globaOptions.viewer,positions:e._globaOptions.viewModel.positions,isFilter:!1,colorImage:e._globaOptions.viewModel.imageSrc});break;case"slopeFilter":e._slopeAnalysis=new Cesium.Kq3dSlope({viewer:e._globaOptions.viewer,positions:e._globaOptions.viewModel.positions,isFilter:!0,minSlope:e._globaOptions.viewModel.minSlope,maxSlope:e._globaOptions.viewModel.maxSlope,color:Cesium.Color.fromCssColorString(e._globaOptions.viewModel.slopeColorText).withAlpha(Number(e._globaOptions.viewModel.slopeColorAlpha))})}this._globaOptions._drawManager.clearDrawGroup("SlopeAspectAnalysisDraw")}}),"SlopeAspectAnalysisDraw"):(0,t.Z)({message:this._language.stkTerrainAnalysisTips,type:"warning"}):(0,t.Z)({message:this._language.terrainAnalysisTips,type:"warning"})}changeFilltyle(e){if(this._globaOptions.viewModel.fillStyle=e,this._slopeAnalysis)switch(e){case"tableColor":this._slopeAnalysis.isFilter&&(this._slopeAnalysis.isFilter=!1),this._slopeAnalysis.colorImage=null,this._slopeAnalysis.color=null,this._slopeAnalysis.colorTableDegree=this._globaOptions.viewModel.colorTableDegree,this._slopeAnalysis.colorTable=this._globaOptions.viewModel.colorTable;break;case"colorImage":this._slopeAnalysis.isFilter&&(this._slopeAnalysis.isFilter=!1),this._slopeAnalysis.colorTableDegree=[],this._slopeAnalysis.colorTable=[],this._slopeAnalysis.color=null,this._slopeAnalysis.colorImage=this._globaOptions.viewModel.imageSrc;break;case"slopeFilter":this._slopeAnalysis.colorImage=null,this._slopeAnalysis.isFilter=!0,this._slopeAnalysis.minSlope=this._globaOptions.viewModel.minSlope,this._slopeAnalysis.maxSlope=this._globaOptions.viewModel.maxSlope,this._slopeAnalysis.color=Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))}}setColorTableDegree(e){this._globaOptions.viewModel.colorTableDegree=e,this._slopeAnalysis&&(this._slopeAnalysis.colorTableDegree=this._globaOptions.viewModel.colorTableDegree)}setColorTable(e){this._globaOptions.viewModel.colorTable=e,this._slopeAnalysis&&(this._slopeAnalysis.colorTable=this._globaOptions.viewModel.colorTable)}setColorImage(e){this._globaOptions.viewModel.imageSrc=e,this._slopeAnalysis&&(this._slopeAnalysis.colorImage=this._globaOptions.viewModel.imageSrc)}getColorLine(e){var l="";switch(e){case 0:default:l=o.RED_TO_PURPLE_URL;break;case 1:l=o.PURPLE_TO_YELLOW_URL;break;case 2:l=o.GREEN_TO_BLUE_URL}return l}setSlopeFilterColor(e,l){this._globaOptions.viewModel.slopeColorText=e,this._globaOptions.viewModel.slopeColorAlpha=Number(l),this._slopeAnalysis&&(this._slopeAnalysis.color=Cesium.Color.fromCssColorString(e).withAlpha(Number(l)))}setSlopeFilterMin(e){this._globaOptions.viewModel.minSlope=Number(e),this._slopeAnalysis&&(this._slopeAnalysis.minSlope=this._globaOptions.viewModel.minSlope)}setSlopeFilterMax(e){this._globaOptions.viewModel.maxSlope=Number(e),this._slopeAnalysis&&(this._slopeAnalysis.maxSlope=this._globaOptions.viewModel.maxSlope)}setInterval(e){this._aspectAnalysis&&(this._aspectAnalysis._interval=e)}setArrowWidth(e){this._aspectAnalysis&&(this._aspectAnalysis._width=e)}setArrowColor(e){this._aspectAnalysis&&(this._aspectAnalysis._color=Cesium.Color.fromCssColorString(e))}clear(){this._globaOptions._drawManager&&this._globaOptions._drawManager.stopDraw(),this._slopeAnalysis&&this._slopeAnalysis.destroy(),this._slopeAnalysis=null,this._aspectAnalysis&&this._aspectAnalysis.clear()}destroy(){this._slopeAnalysis&&this._slopeAnalysis.destroy(),this._slopeAnalysis=null,this._aspectAnalysis&&this._aspectAnalysis.clear(),this._aspectAnalysis=null}}var s=i(348),r=i(3458),p=i(7080);const c={class:"kq3d-slope-aspect-analysis-box"},u={key:0},d={class:"kq3d-slope-aspect-analysis-span"},m={key:1},_=(0,e.createElementVNode)("div",null,"0°",-1),g=(0,e.createElementVNode)("div",{class:"kq3d-slope-aspect-analysis-line"},null,-1),h=(0,e.createElementVNode)("div",null,"90°",-1),f=["src"],b={key:2},w={class:"kq3d-slope-aspect-analysis-footer"},v={name:"Kq3dSlopeAspectAnalysis"};var C=Object.assign(v,{props:{settingParams:{type:Object},showShadow:{type:Boolean,default:!0},position:[String,Object],showHeaderTemp:{type:Boolean,default:!1},isCollapseHeaderTemp:{type:Boolean,default:!1},headerTempTitle:{type:String},headerTempIcon:{type:[Object,String],default:s.IconSlopeAnalysis},isRight:{type:Boolean,default:!0}},setup(t,{expose:s}){const i=t,{proxy:n}=(0,e.getCurrentInstance)();let v=(0,e.ref)(""),C=(0,e.ref)(n.$i18n.global.messages[n.$i18n.global.locale].webgl),y=(0,e.reactive)([{colorTableDegree:0,colorTable:null},{colorTableDegree:10,colorTable:"#00FF00"},{colorTableDegree:20,colorTable:"#0000FF"},{colorTableDegree:30,colorTable:"#FFFF00"},{colorTableDegree:40,colorTable:"#FF7F00"},{colorTableDegree:90,colorTable:"#FF0000"}]);const V=[{value:0,src:o.RED_TO_PURPLE_URL},{value:1,src:o.PURPLE_TO_YELLOW_URL},{value:2,src:o.GREEN_TO_BLUE_URL}];let x=null,T=(0,e.reactive)({collapseValue:i.settingParams&&i.settingParams.collapseValue||(""==(i.settingParams&&i.settingParams.collapseValue)?"":"slope"),fillStyle:i.settingParams&&i.settingParams.fillStyle||"tableColor",colorTableDegree:i.settingParams&&i.settingParams.colorTableDegree||[10,20,30,40,90],colorTable:i.settingParams&&i.settingParams.colorTable||["#00FF00","#0000FF","#FFFF00","#FF7F00","#FF0000"],colorImage:i.settingParams&&i.settingParams.colorImage||0,minSlope:i.settingParams&&i.settingParams.minSlope||10,maxSlope:i.settingParams&&i.settingParams.maxSlope||60,slopeColorAlpha:i.settingParams&&i.settingParams.slopeColorAlpha||.3,slopeColorText:i.settingParams&&i.settingParams.slopeColorText||"#FF0000",interval:i.settingParams&&i.settingParams.interval||500,minInterval:i.settingParams&&i.settingParams.minInterval||100,maxInterval:i.settingParams&&i.settingParams.maxInterval||1e3,arrowWidth:i.settingParams&&i.settingParams.arrowWidth||20,minArrowWidth:i.settingParams&&i.settingParams.minArrowWidth||1,maxArrowWidth:i.settingParams&&i.settingParams.maxArrowWidth||30,arrowColor:i.settingParams&&i.settingParams.arrowColor||"#FFFF00"}),A=(0,e.ref)(null),S=(0,e.ref)(),k=(0,e.ref)(),{locale:N,messages:O}=(0,p.useI18n)(),M=(0,e.ref)(null);M.value=C.value.slopeAspectAnalysisTitle,(0,e.watch)((()=>N.value),((e,l)=>{C.value=O.value[e].webgl,M.value=C.value.slopeAspectAnalysisTitle})),(0,e.onMounted)((()=>{(0,r.updatePosition)(A.value,i),(0,e.watch)((()=>i.position),((e,l)=>{(0,r.updatePosition)(A.value,i)})),F(),(0,e.watch)((()=>i.showHeaderTemp),((l,o)=>{(0,e.nextTick)((()=>{F()}))})),v.value=n.$i18n.locale,l.utils.getWebMap(null,(e=>{e&&(q(),x=new a(e,T))}))}));const F=()=>{i.showHeaderTemp&&(S.value=(0,r.createHeaderTemp)(A.value,(0,e.toRefs)(i),k,M))};function q(e){y&&y.length&&("degree"==e?(T.colorTableDegree=y.map((e=>e.colorTableDegree)),T.colorTableDegree.shift()):"color"==e&&(T.colorTable=y.map((e=>e.colorTable)),T.colorTable.shift()))}function P(e){var l="",o=V.find((l=>l.value===e));return o&&(l=o.src),l}function D(e){switch(e){case"fillStyle":x.changeFilltyle(T.fillStyle);break;case"colorTableDegree":q("degree"),x.setColorTableDegree(T.colorTableDegree);break;case"colorTable":q("color"),x.setColorTable(T.colorTable);break;case"colorImage":var l=P(T.colorImage);x.setColorImage(l);break;case"minSlope":x.setSlopeFilterMin(T.minSlope);break;case"maxSlope":x.setSlopeFilterMax(T.maxSlope);break;case"slopeColorAlpha":case"slopeColorText":x.setSlopeFilterColor(T.slopeColorText,T.slopeColorAlpha);break;case"interval":x.setInterval(T.interval);break;case"arrowWidth":x.setArrowWidth(T.arrowWidth);break;case"arrowColor":x.setArrowColor(T.arrowColor)}}function U(){I(),x&&x.start()}function I(){x&&x.clear()}return(0,e.onBeforeUnmount)((()=>{x&&x.destroy()})),s({refactorArr:q,getImagePath:P,paramsChanged:D,startAnalysis:U,clearResult:I}),(l,o)=>{const a=(0,e.resolveComponent)("kq-row"),s=(0,e.resolveComponent)("kq-option"),r=(0,e.resolveComponent)("kq-select"),i=(0,e.resolveComponent)("kq-form-item"),n=(0,e.resolveComponent)("kq-col"),p=(0,e.resolveComponent)("kq-input-number"),x=(0,e.resolveComponent)("kq-color-picker"),N=(0,e.resolveComponent)("kq-radio"),O=(0,e.resolveComponent)("kq-radio-group"),M=(0,e.resolveComponent)("kq-slider"),F=(0,e.resolveComponent)("kq-form"),q=(0,e.resolveComponent)("kq-collapse-item"),P=(0,e.resolveComponent)("kq-collapse"),E=(0,e.resolveComponent)("kq-button");return(0,e.openBlock)(),(0,e.createElementBlock)("section",{class:(0,e.normalizeClass)(["kq3d-slope-aspect-analysis",{"kq-box-shadow":t.showShadow}]),ref_key:"boxRef",ref:A},[t.showHeaderTemp?((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)((0,e.unref)(S)),{key:0,ref_key:"headerTempRef",ref:k},null,512)):(0,e.createCommentVNode)("v-if",!0),(0,e.createElementVNode)("div",c,["slopeFilter"!==(0,e.unref)(T).fillStyle?((0,e.openBlock)(),(0,e.createBlock)(a,{key:0,class:"kq3d-slope-aspect-analysis-tip"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("p",null,(0,e.toDisplayString)((0,e.unref)(C).skylineTips),1)])),_:1})):(0,e.createCommentVNode)("v-if",!0),(0,e.createVNode)(P,{"model-value":(0,e.unref)(T).collapseValue},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(q,{title:(0,e.unref)(C).slopeAnalysisSettings,name:"slope"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(F,{"label-width":"zh"===(0,e.unref)(v)?"90px":"120px","label-position":"left"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"block"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).fillStyle},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(r,{modelValue:(0,e.unref)(T).fillStyle,"onUpdate:modelValue":o[0]||(o[0]=l=>(0,e.unref)(T).fillStyle=l),onChange:o[1]||(o[1]=e=>D("fillStyle"))},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(s,{label:(0,e.unref)(C).customColorScheme,value:"tableColor"},null,8,["label"]),(0,e.createVNode)(s,{label:(0,e.unref)(C).gradientTexture,value:"colorImage"},null,8,["label"]),(0,e.createVNode)(s,{label:(0,e.unref)(C).slopeFilter,value:"slopeFilter"},null,8,["label"])])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1}),"tableColor"===(0,e.unref)(T).fillStyle?((0,e.openBlock)(),(0,e.createElementBlock)("div",u,[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(n,{span:18},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(C).setSlopeRange),1)])),_:1}),(0,e.createVNode)(n,{span:6},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(C).setColor),1)])),_:1})])),_:1}),((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)((0,e.unref)(y),((l,t)=>((0,e.openBlock)(),(0,e.createBlock)(a,{key:t,style:{display:"flex","padding-bottom":"8px"}},{default:(0,e.withCtx)((()=>[t>0?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:0},[(0,e.createVNode)(n,{span:18},{default:(0,e.withCtx)((()=>[1===t?((0,e.openBlock)(),(0,e.createBlock)(p,{key:0,modelValue:(0,e.unref)(y)[t-1].colorTableDegree,"onUpdate:modelValue":l=>(0,e.unref)(y)[t-1].colorTableDegree=l,disabled:!0,onChange:o[2]||(o[2]=e=>D("colorTableDegree")),"controls-position":"right"},null,8,["modelValue","onUpdate:modelValue"])):(0,e.createCommentVNode)("v-if",!0),t>1&&t<(0,e.unref)(y).length?((0,e.openBlock)(),(0,e.createBlock)(p,{key:1,modelValue:(0,e.unref)(y)[t-1].colorTableDegree,"onUpdate:modelValue":l=>(0,e.unref)(y)[t-1].colorTableDegree=l,disabled:!0,step:1,onChange:o[3]||(o[3]=e=>D("colorTableDegree")),"controls-position":"right"},null,8,["modelValue","onUpdate:modelValue"])):(0,e.createCommentVNode)("v-if",!0),(0,e.createElementVNode)("span",d,(0,e.toDisplayString)((0,e.unref)(C).to),1),t>0&&t<(0,e.unref)(y).length-1?((0,e.openBlock)(),(0,e.createBlock)(p,{key:2,modelValue:l.colorTableDegree,"onUpdate:modelValue":e=>l.colorTableDegree=e,min:(0,e.unref)(y)[t-1].colorTableDegree,max:(0,e.unref)(y)[t+1].colorTableDegree,step:1,onChange:o[4]||(o[4]=e=>D("colorTableDegree")),"controls-position":"right"},null,8,["modelValue","onUpdate:modelValue","min","max"])):(0,e.createCommentVNode)("v-if",!0),t===(0,e.unref)(y).length-1?((0,e.openBlock)(),(0,e.createBlock)(p,{key:3,modelValue:l.colorTableDegree,"onUpdate:modelValue":e=>l.colorTableDegree=e,step:1,disabled:!0,onChange:o[5]||(o[5]=e=>D("colorTableDegree")),"controls-position":"right"},null,8,["modelValue","onUpdate:modelValue"])):(0,e.createCommentVNode)("v-if",!0)])),_:2},1024),(0,e.createVNode)(n,{span:6},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:l.colorTable,"onUpdate:modelValue":e=>l.colorTable=e,onChange:o[6]||(o[6]=e=>D("colorTable"))},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024)],64)):(0,e.createCommentVNode)("v-if",!0)])),_:2},1024)))),128))])):(0,e.createCommentVNode)("v-if",!0),"colorImage"===(0,e.unref)(T).fillStyle?((0,e.openBlock)(),(0,e.createElementBlock)("div",m,[(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).gradientColor},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[_,g,h])),_:1}),(0,e.createVNode)(O,{modelValue:(0,e.unref)(T).colorImage,"onUpdate:modelValue":o[7]||(o[7]=l=>(0,e.unref)(T).colorImage=l),onChange:o[8]||(o[8]=e=>D("colorImage"))},{default:(0,e.withCtx)((()=>[((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(V,((l,o)=>(0,e.createVNode)(N,{key:o,label:o},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("img",{class:"kq3d-slope-aspect-analysis-legend",src:l.src,alt:""},null,8,f)])),_:2},1032,["label"]))),64))])),_:1},8,["modelValue"])])),_:1},8,["label"])])),_:1})])):(0,e.createCommentVNode)("v-if",!0),"slopeFilter"===(0,e.unref)(T).fillStyle?((0,e.openBlock)(),(0,e.createElementBlock)("div",b,[(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).minSlope},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(n,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(M,{modelValue:(0,e.unref)(T).minSlope,"onUpdate:modelValue":o[9]||(o[9]=l=>(0,e.unref)(T).minSlope=l),step:1,min:0,max:90,onChange:o[10]||(o[10]=e=>D("minSlope"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(n,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{modelValue:(0,e.unref)(T).minSlope,"onUpdate:modelValue":o[11]||(o[11]=l=>(0,e.unref)(T).minSlope=l),step:1,min:0,max:90,"controls-position":"right",onChange:o[12]||(o[12]=e=>D("minSlope"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).maxSlope},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(n,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(M,{modelValue:(0,e.unref)(T).maxSlope,"onUpdate:modelValue":o[13]||(o[13]=l=>(0,e.unref)(T).maxSlope=l),step:1,min:0,max:90,onChange:o[14]||(o[14]=e=>D("maxSlope"))},null,8,["modelValue"])])),_:1}),(0,e.createVNode)(n,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{modelValue:(0,e.unref)(T).maxSlope,"onUpdate:modelValue":o[15]||(o[15]=l=>(0,e.unref)(T).maxSlope=l),step:1,min:0,max:90,"controls-position":"right",onChange:o[16]||(o[16]=e=>D("maxSlope"))},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).transparents},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(n,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(M,{modelValue:(0,e.unref)(T).slopeColorAlpha,"onUpdate:modelValue":o[17]||(o[17]=l=>(0,e.unref)(T).slopeColorAlpha=l),min:0,max:1,step:.01,onChange:o[18]||(o[18]=e=>D("slopeColorAlpha"))},null,8,["modelValue","step"])])),_:1}),(0,e.createVNode)(n,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{modelValue:(0,e.unref)(T).slopeColorAlpha,"onUpdate:modelValue":o[19]||(o[19]=l=>(0,e.unref)(T).slopeColorAlpha=l),min:0,max:1,step:.01,"controls-position":"right",onChange:o[20]||(o[20]=e=>D("slopeColorAlpha"))},null,8,["modelValue","step"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,{style:{"padding-bottom":"8px"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).color},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(T).slopeColorText,"onUpdate:modelValue":o[21]||(o[21]=l=>(0,e.unref)(T).slopeColorText=l),onChange:o[22]||(o[22]=e=>D("slopeColorText"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})])):(0,e.createCommentVNode)("v-if",!0)])),_:1},8,["label-width"])])),_:1},8,["title"]),(0,e.createVNode)(q,{title:(0,e.unref)(C).aspectAnalysisSettings,name:"aspect",class:"kq3d-slope-aspect-analysis-collapse-item"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(F,{"label-width":"zh"===(0,e.unref)(v)?"90px":"120px","label-position":"left"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",null,[(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).samplingInterval},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(n,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(M,{modelValue:(0,e.unref)(T).interval,"onUpdate:modelValue":o[23]||(o[23]=l=>(0,e.unref)(T).interval=l),step:1,min:(0,e.unref)(T).minInterval,max:(0,e.unref)(T).maxInterval,onChange:o[24]||(o[24]=e=>D("interval"))},null,8,["modelValue","min","max"])])),_:1}),(0,e.createVNode)(n,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{modelValue:(0,e.unref)(T).interval,"onUpdate:modelValue":o[25]||(o[25]=l=>(0,e.unref)(T).interval=l),step:1,min:(0,e.unref)(T).minInterval,max:(0,e.unref)(T).maxInterval,"controls-position":"right",onChange:o[26]||(o[26]=e=>D("interval"))},null,8,["modelValue","min","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).arrowWidth},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(a,{style:{display:"flex"}},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(n,{span:16},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(M,{modelValue:(0,e.unref)(T).arrowWidth,"onUpdate:modelValue":o[27]||(o[27]=l=>(0,e.unref)(T).arrowWidth=l),step:1,min:(0,e.unref)(T).minArrowWidth,max:(0,e.unref)(T).maxArrowWidth,onChange:o[28]||(o[28]=e=>D("arrowWidth"))},null,8,["modelValue","min","max"])])),_:1}),(0,e.createVNode)(n,{span:8},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(p,{modelValue:(0,e.unref)(T).arrowWidth,"onUpdate:modelValue":o[29]||(o[29]=l=>(0,e.unref)(T).arrowWidth=l),step:1,min:(0,e.unref)(T).minArrowWidth,max:(0,e.unref)(T).maxArrowWidth,"controls-position":"right",onChange:o[30]||(o[30]=e=>D("arrowWidth"))},null,8,["modelValue","min","max"])])),_:1})])),_:1})])),_:1},8,["label"])])),_:1}),(0,e.createVNode)(a,null,{default:(0,e.withCtx)((()=>[(0,e.createVNode)(i,{label:(0,e.unref)(C).arrowColor},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(x,{modelValue:(0,e.unref)(T).arrowColor,"onUpdate:modelValue":o[31]||(o[31]=l=>(0,e.unref)(T).arrowColor=l),onChange:o[32]||(o[32]=e=>D("arrowColor"))},null,8,["modelValue"])])),_:1},8,["label"])])),_:1})])])),_:1},8,["label-width"])])),_:1},8,["title"])])),_:1},8,["model-value"]),(0,e.createElementVNode)("div",w,[(0,e.createVNode)(E,{onClick:o[33]||(o[33]=(0,e.withModifiers)((e=>U()),["stop"])),title:(0,e.unref)(C).startAnalysis,type:"primary"},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(C).startAnalysis),1)])),_:1},8,["title"]),(0,e.createVNode)(E,{onClick:o[34]||(o[34]=(0,e.withModifiers)((e=>I()),["stop"])),title:(0,e.unref)(C).clearResult},{default:(0,e.withCtx)((()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(C).clearResult),1)])),_:1},8,["title"])])])],2)}}}),y=i(7997),V=i.n(y);C.install=(e,l)=>{V()(e,l),e.component(C.name,C)}}(),n}()}));