nxd-plugin 1.8.46 → 1.8.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/GridData-DKQLl2Yn.mjs +2 -0
- package/dist/chunks/YCServiceSummary-BNOAFpyZ.mjs +2 -0
- package/dist/chunks/{component-Agent-CAxRiXVu.mjs → component-Agent-DwXtdLhK.mjs} +114 -106
- package/dist/chunks/{component-AiChat-go3CScRo.mjs → component-AiChat-Cj1xCAtL.mjs} +1 -1
- package/dist/chunks/{component-AqiMonitor-BJXlyOxH.mjs → component-AqiMonitor-CiRH3KK9.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-CPImPMtx.mjs → component-ChartCumulativePre-jgepn88x.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-DCgeleQL.mjs → component-ChartServiceMaterial-CE9IfnBv.mjs} +2 -2
- package/dist/chunks/{component-Duty-Cj3jYko4.mjs → component-Duty-BsFsOk0K.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-Dj7-DooY.mjs → component-EarlyWarningStatistic-8yavuyPf.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-CGrO7gCL.mjs → component-EarlyWarningStatistic2-DppX7jcV.mjs} +2 -2
- package/dist/chunks/{component-Forecast72h-BDEacrN0.mjs → component-Forecast72h-CD6eT1xe.mjs} +1 -1
- package/dist/chunks/{component-GeologyLiveAlarm-Ck08qE3U.mjs → component-GeologyLiveAlarm-CKdsxprI.mjs} +2 -2
- package/dist/chunks/component-GridData-o7hipw0h.mjs +756 -0
- package/dist/chunks/{component-GridForecastMsg-nkheA7h9.mjs → component-GridForecastMsg-BooZUH5C.mjs} +1 -1
- package/dist/chunks/{component-HDSeaLegend-CCiQnc3X.mjs → component-HDSeaLegend-DgPHlKXO.mjs} +2 -2
- package/dist/chunks/{component-HdCameraList-BddqV2QN.mjs → component-HdCameraList-DuC-_0uH.mjs} +2 -2
- package/dist/chunks/{component-HdFarmStation-CrNTC69J.mjs → component-HdFarmStation-BtYLSMAY.mjs} +2 -2
- package/dist/chunks/{component-HdFarmStationDialog-OU6FdHI4.mjs → component-HdFarmStationDialog-BHxuJEsh.mjs} +1 -1
- package/dist/chunks/{component-HdForecastProducts-Bkp2m76s.mjs → component-HdForecastProducts-BnI8u5s4.mjs} +1 -1
- package/dist/chunks/{component-HdHeatChart-K9XTDoxy.mjs → component-HdHeatChart-CuqWcjET.mjs} +1 -1
- package/dist/chunks/{component-HdHeatChartDialog-BWHIGeaR.mjs → component-HdHeatChartDialog-pXLf6f_w.mjs} +2 -2
- package/dist/chunks/{component-HdHeatService-DMj3UpNe.mjs → component-HdHeatService-CBo6v1T6.mjs} +1 -1
- package/dist/chunks/{component-HdInsectDetailList-CLuhOSWM.mjs → component-HdInsectDetailList-MrAoHbsv.mjs} +1 -1
- package/dist/chunks/{component-HdInsectList-SR9MrrWw.mjs → component-HdInsectList-Dswl1k3W.mjs} +1 -1
- package/dist/chunks/{component-HdMajorActivity-BbkuZ3pW.mjs → component-HdMajorActivity-Dcgr5Lp_.mjs} +2 -2
- package/dist/chunks/{component-HdObservation-Cj1TbKDr.mjs → component-HdObservation-DmRN3dBq.mjs} +3 -3
- package/dist/chunks/{component-HdPreSituation-BOjuRB8B.mjs → component-HdPreSituation-KMOE4Mt_.mjs} +3 -3
- package/dist/chunks/{component-HdQxServiceEffects-DK_FJEmE.mjs → component-HdQxServiceEffects-CZZHRjNN.mjs} +1 -1
- package/dist/chunks/{component-HdRadarList-DZmnTNTN.mjs → component-HdRadarList-Cx_cRpjb.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-Cn8kLA9j.mjs → component-HdRadarTime-D6ZLrCfA.mjs} +1 -1
- package/dist/chunks/{component-HdRadarTimeLine-B9KzZ0sT.mjs → component-HdRadarTimeLine-CwdMMlPK.mjs} +1 -1
- package/dist/chunks/{component-HdRisk-DLvN1ReK.mjs → component-HdRisk-Cx_Wuyuy.mjs} +2 -2
- package/dist/chunks/{component-HdSeaCase-cGapDdCH.mjs → component-HdSeaCase-C9gN_sjI.mjs} +1 -1
- package/dist/chunks/{component-HdServiceMarterial-BHPhw4Za.mjs → component-HdServiceMarterial-CT_sdZkH.mjs} +2 -2
- package/dist/chunks/{component-HdServiceRequirements-D1XB4dxh.mjs → component-HdServiceRequirements-CrpxYdNK.mjs} +2 -2
- package/dist/chunks/{component-HdSoil-CRecGN33.mjs → component-HdSoil-eQTGGIkq.mjs} +2 -2
- package/dist/chunks/{component-HdSoilDetailList-DbBRfuvO.mjs → component-HdSoilDetailList-B1VZ5iDc.mjs} +1 -1
- package/dist/chunks/{component-HdStationTem-BxEvMZKy.mjs → component-HdStationTem-BCls8KKc.mjs} +3 -3
- package/dist/chunks/{component-HdSuggestion-ZF_A8QJj.mjs → component-HdSuggestion-BnGlQLfg.mjs} +2 -2
- package/dist/chunks/{component-HdThreeWeatherTrend-C-YzuGub.mjs → component-HdThreeWeatherTrend-D_dPqael.mjs} +3 -3
- package/dist/chunks/{component-HdWaveForcast-Bk3SKlnr.mjs → component-HdWaveForcast-B-RPD_5H.mjs} +2 -2
- package/dist/chunks/{component-HighQuality-Caba7jDy.mjs → component-HighQuality-BpOhQkvl.mjs} +1 -1
- package/dist/chunks/{component-HighWayEarlyWarningRed-BJCUNxvZ.mjs → component-HighWayEarlyWarningRed-BwmqvV6c.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-B-K-UGUx.mjs → component-HighWayFreeze-DyDyOInt.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-VUsOlz-6.mjs → component-HighwayLiveAlarm-DDhriJHu.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-DSJwUZjW.mjs → component-HighwayLiveAlarmNew-Dxf6DUyI.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-Bcop09xe.mjs → component-HighwayStations-B-h6dG6Y.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-i9LhEzub.mjs → component-HighwayWeatherForecast-BVj7aWS1.mjs} +5 -5
- package/dist/chunks/{component-IframeWeb-DfNcuMhw.mjs → component-IframeWeb-B2CTwN6w.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-DVUghC8G.mjs → component-ImageGeneration-70AuumKi.mjs} +560 -321
- package/dist/chunks/{component-IntroducePic-CVSFpdsQ.mjs → component-IntroducePic-Bo227tKg.mjs} +1 -1
- package/dist/chunks/{component-LithiumBatteryMiningArea-Cypkj4BH.mjs → component-LithiumBatteryMiningArea-BDFvxMfk.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-DgdHZtEE.mjs → component-MapPopup-vqI8jKFt.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DYY0A9il.mjs → component-MaterialPreview-CUz2PkU0.mjs} +1 -1
- package/dist/chunks/{component-PieLegend-B9IbTtgM.mjs → component-PieLegend-BIImVR6x.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-C1SiHePw.mjs → component-PrecipitationRanking-Ct4OY0FJ.mjs} +3 -3
- package/dist/chunks/{component-RadarChart-jfRsO_e5.mjs → component-RadarChart-7kA3pjCB.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-D8bpZUG7.mjs → component-RadarLegend-ByCdufPU.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-CPV04O7Y.mjs → component-RadarShortTerm-pixyOE-9.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-DMDNBgXp.mjs → component-RadarTime-DuIABgoI.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-6mcPpawU.mjs → component-RenderMarkdown-Bn2qLtnE.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-4lhpOle1.mjs → component-ReservoirLiveAlarm-C-NS9Erh.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-DlkZAyjh.mjs → component-ServiceMaterial-BVatsrsj.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-BbDyaUrK.mjs → component-ServiceMaterialsBtn-BgMw_lBj.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-BlyiU8y4.mjs → component-StationDialog-_pkrpDnI.mjs} +3 -3
- package/dist/chunks/{component-StationList-DSmfGdBz.mjs → component-StationList-D4XTo6r2.mjs} +3 -3
- package/dist/chunks/{component-TimeBasedForecast-BGDjpUnz.mjs → component-TimeBasedForecast-4ZZ7ZnCH.mjs} +4 -4
- package/dist/chunks/{component-Typhoon-BG_WfKEI.mjs → component-Typhoon-DKmZhXAu.mjs} +2 -2
- package/dist/chunks/{component-WarningLine-DSj25DNY.mjs → component-WarningLine-B-2b5J3R.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-BiKwmQVC.mjs → component-WarningSignal-Dv03xQ5u.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-B8PrFpv0.mjs → component-WeatherForecast-DqdD9JUX.mjs} +4 -4
- package/dist/chunks/{component-YCDataMonitor-BbkgMPoo.mjs → component-YCDataMonitor-BPflVY09.mjs} +1 -1
- package/dist/chunks/component-YCDataService-CniJWhHF.mjs +580 -0
- package/dist/chunks/{component-YCHighWaySummary-CB3sEooz.mjs → component-YCHighWaySummary-CvW4Oc_G.mjs} +2 -2
- package/dist/chunks/{component-YCHome-pFXXcjjB.mjs → component-YCHome-BNYalrzu.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-BYmh2cQ5.mjs → component-YCHomeLegend-CpA6i_j6.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-BnkvuCcd.mjs → component-YCLoginNew-BfAbQH6O.mjs} +2 -2
- package/dist/chunks/{component-YCServiceSummary-B7o9Xpv_.mjs → component-YCServiceSummary-_qQSJu5H.mjs} +264 -167
- package/dist/components/GridData/GridData.vue.d.ts +50 -3
- package/dist/nxd-plugin.mjs +73 -73
- package/dist/styles/component-Agent.css +1 -1
- package/dist/styles/component-GridData.css +1 -1
- package/dist/styles/component-YCDataService.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/dist/styles/component-YCServiceSummary.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/GridData-BV6wWY9y.mjs +0 -2
- package/dist/chunks/YCServiceSummary-RXbZiFJQ.mjs +0 -2
- package/dist/chunks/component-GridData-BkGj8Dsc.mjs +0 -70
- package/dist/chunks/component-YCDataService-CDMO1O3G.mjs +0 -412
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import "./component-AqiMonitor-
|
|
3
|
-
import { p as n } from "./component-Agent-
|
|
2
|
+
import "./component-AqiMonitor-CiRH3KK9.mjs";
|
|
3
|
+
import { p as n } from "./component-Agent-DwXtdLhK.mjs";
|
|
4
4
|
import { ElButton as r, ElCheckbox as i, ElColorPicker as a, ElConfigProvider as o, ElInput as s, ElLoadingDirective as c, ElOption as l, ElSelect as u } from "element-plus/es";
|
|
5
5
|
import { Fragment as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, getCurrentInstance as v, normalizeClass as y, normalizeStyle as b, onMounted as x, openBlock as S, reactive as C, ref as w, renderList as ee, toDisplayString as T, unref as E, vShow as D, withCtx as O, withDirectives as te } from "vue";
|
|
6
6
|
import "element-plus/es/components/select/style/css";
|
|
@@ -13205,8 +13205,83 @@ function A_(e, t, n, r) {
|
|
|
13205
13205
|
return Ca(a, i, 0, [o + 2 * Ga((r - 1) * o / 2, 4), s + 2 * Ga((r - 1) * s / 2, 4)]);
|
|
13206
13206
|
}
|
|
13207
13207
|
//#endregion
|
|
13208
|
+
//#region node_modules/ol/source/Cluster.js
|
|
13209
|
+
var j_ = class extends Bd {
|
|
13210
|
+
constructor(e) {
|
|
13211
|
+
e ||= {}, super({
|
|
13212
|
+
attributions: e.attributions,
|
|
13213
|
+
wrapX: e.wrapX
|
|
13214
|
+
}), this.resolution = void 0, this.distance = e.distance === void 0 ? 20 : e.distance, this.minDistance = e.minDistance || 0, this.interpolationRatio = 0, this.features = [], this.geometryFunction = e.geometryFunction || function(e) {
|
|
13215
|
+
let t = e.getGeometry();
|
|
13216
|
+
return V(!t || t.getType() === "Point", "The default `geometryFunction` can only handle `Point` or null geometries"), t;
|
|
13217
|
+
}, this.createCustomCluster_ = e.createCluster, this.source = null, this.boundRefresh_ = this.refresh.bind(this), this.updateDistance(this.distance, this.minDistance), this.setSource(e.source || null);
|
|
13218
|
+
}
|
|
13219
|
+
clear(e) {
|
|
13220
|
+
this.features.length = 0, super.clear(e);
|
|
13221
|
+
}
|
|
13222
|
+
getDistance() {
|
|
13223
|
+
return this.distance;
|
|
13224
|
+
}
|
|
13225
|
+
getSource() {
|
|
13226
|
+
return this.source;
|
|
13227
|
+
}
|
|
13228
|
+
loadFeatures(e, t, n) {
|
|
13229
|
+
this.source?.loadFeatures(e, t, n), t !== this.resolution && (this.resolution = t, this.refresh());
|
|
13230
|
+
}
|
|
13231
|
+
setDistance(e) {
|
|
13232
|
+
this.updateDistance(e, this.minDistance);
|
|
13233
|
+
}
|
|
13234
|
+
setMinDistance(e) {
|
|
13235
|
+
this.updateDistance(this.distance, e);
|
|
13236
|
+
}
|
|
13237
|
+
getMinDistance() {
|
|
13238
|
+
return this.minDistance;
|
|
13239
|
+
}
|
|
13240
|
+
setSource(e) {
|
|
13241
|
+
this.source && this.source.removeEventListener(R.CHANGE, this.boundRefresh_), this.source = e, e && e.addEventListener(R.CHANGE, this.boundRefresh_), this.refresh();
|
|
13242
|
+
}
|
|
13243
|
+
refresh() {
|
|
13244
|
+
this.clear(), this.cluster(), this.addFeatures(this.features);
|
|
13245
|
+
}
|
|
13246
|
+
updateDistance(e, t) {
|
|
13247
|
+
let n = e === 0 ? 0 : Math.min(t, e) / e, r = e !== this.distance || this.interpolationRatio !== n;
|
|
13248
|
+
this.distance = e, this.minDistance = t, this.interpolationRatio = n, r && this.refresh();
|
|
13249
|
+
}
|
|
13250
|
+
cluster() {
|
|
13251
|
+
if (this.resolution === void 0 || !this.source) return;
|
|
13252
|
+
let e = sa(), t = this.distance * this.resolution, n = this.source.getFeatures(), r = {};
|
|
13253
|
+
for (let i = 0, a = n.length; i < a; i++) {
|
|
13254
|
+
let a = n[i];
|
|
13255
|
+
if (!(B(a) in r)) {
|
|
13256
|
+
let n = this.geometryFunction(a);
|
|
13257
|
+
if (n) {
|
|
13258
|
+
ua(n.getCoordinates(), e), ea(e, t, e);
|
|
13259
|
+
let i = this.source.getFeaturesInExtent(e).filter(function(e) {
|
|
13260
|
+
let t = B(e);
|
|
13261
|
+
return t in r ? !1 : (r[t] = !0, !0);
|
|
13262
|
+
});
|
|
13263
|
+
this.features.push(this.createCluster(i, e));
|
|
13264
|
+
}
|
|
13265
|
+
}
|
|
13266
|
+
}
|
|
13267
|
+
}
|
|
13268
|
+
createCluster(e, t) {
|
|
13269
|
+
let n = [0, 0];
|
|
13270
|
+
for (let t = e.length - 1; t >= 0; --t) {
|
|
13271
|
+
let r = this.geometryFunction(e[t]);
|
|
13272
|
+
r ? Za(n, r.getCoordinates()) : e.splice(t, 1);
|
|
13273
|
+
}
|
|
13274
|
+
eo(n, 1 / e.length);
|
|
13275
|
+
let r = xa(t), i = this.interpolationRatio, a = new wc([n[0] * (1 - i) + r[0] * i, n[1] * (1 - i) + r[1] * i]);
|
|
13276
|
+
return this.createCustomCluster_ ? this.createCustomCluster_(a, e) : new Yi({
|
|
13277
|
+
geometry: a,
|
|
13278
|
+
features: e
|
|
13279
|
+
});
|
|
13280
|
+
}
|
|
13281
|
+
};
|
|
13282
|
+
//#endregion
|
|
13208
13283
|
//#region node_modules/ol/source/static.js
|
|
13209
|
-
function
|
|
13284
|
+
function M_(e) {
|
|
13210
13285
|
let t = e.load || ol, n = e.imageExtent, r = e.crossOrigin ?? null;
|
|
13211
13286
|
return () => {
|
|
13212
13287
|
let i = new Image();
|
|
@@ -13223,14 +13298,14 @@ function j_(e) {
|
|
|
13223
13298
|
}
|
|
13224
13299
|
//#endregion
|
|
13225
13300
|
//#region node_modules/ol/source/ImageStatic.js
|
|
13226
|
-
var
|
|
13301
|
+
var N_ = class extends O_ {
|
|
13227
13302
|
constructor(e) {
|
|
13228
13303
|
let t = e.crossOrigin === void 0 ? null : e.crossOrigin, n = e.imageLoadFunction === void 0 ? k_ : e.imageLoadFunction;
|
|
13229
13304
|
super({
|
|
13230
13305
|
attributions: e.attributions,
|
|
13231
13306
|
interpolate: e.interpolate,
|
|
13232
13307
|
projection: ps(e.projection)
|
|
13233
|
-
}), this.url_ = e.url, this.imageExtent_ = e.imageExtent, this.image = null, this.image = new nl(this.imageExtent_, void 0, 1,
|
|
13308
|
+
}), this.url_ = e.url, this.imageExtent_ = e.imageExtent, this.image = null, this.image = new nl(this.imageExtent_, void 0, 1, M_({
|
|
13234
13309
|
url: e.url,
|
|
13235
13310
|
imageExtent: e.imageExtent,
|
|
13236
13311
|
crossOrigin: t,
|
|
@@ -13247,7 +13322,7 @@ var M_ = class extends O_ {
|
|
|
13247
13322
|
getUrl() {
|
|
13248
13323
|
return this.url_;
|
|
13249
13324
|
}
|
|
13250
|
-
},
|
|
13325
|
+
}, P_ = class extends Zf {
|
|
13251
13326
|
constructor(e) {
|
|
13252
13327
|
super(e), this.image = null, this.renderedSourceRevision_ = 0;
|
|
13253
13328
|
}
|
|
@@ -13290,21 +13365,21 @@ var M_ = class extends O_ {
|
|
|
13290
13365
|
}
|
|
13291
13366
|
return this.postRender(this.context, e), v && _.restore(), _.imageSmoothingEnabled = !0, this.container;
|
|
13292
13367
|
}
|
|
13293
|
-
},
|
|
13368
|
+
}, F_ = class extends Qm {
|
|
13294
13369
|
constructor(e) {
|
|
13295
13370
|
e ||= {}, super(e);
|
|
13296
13371
|
}
|
|
13297
|
-
},
|
|
13372
|
+
}, I_ = class extends F_ {
|
|
13298
13373
|
constructor(e) {
|
|
13299
13374
|
super(e);
|
|
13300
13375
|
}
|
|
13301
13376
|
createRenderer() {
|
|
13302
|
-
return new
|
|
13377
|
+
return new P_(this);
|
|
13303
13378
|
}
|
|
13304
13379
|
getData(e) {
|
|
13305
13380
|
return super.getData(e);
|
|
13306
13381
|
}
|
|
13307
|
-
},
|
|
13382
|
+
}, L_ = class extends x_ {
|
|
13308
13383
|
constructor(e) {
|
|
13309
13384
|
let t = e.requestEncoding === void 0 ? "KVP" : e.requestEncoding, n = e.tileGrid, r = e.urls;
|
|
13310
13385
|
r === void 0 && e.url !== void 0 && (r = p_(e.url)), super({
|
|
@@ -13389,7 +13464,7 @@ var M_ = class extends O_ {
|
|
|
13389
13464
|
}), c;
|
|
13390
13465
|
});
|
|
13391
13466
|
}
|
|
13392
|
-
},
|
|
13467
|
+
}, R_ = class e extends Xs {
|
|
13393
13468
|
constructor(e, t, n) {
|
|
13394
13469
|
super(), n !== void 0 && t === void 0 ? this.setFlatCoordinates(n, e) : (t ||= 0, this.setCenterAndRadius(e, t, n));
|
|
13395
13470
|
}
|
|
@@ -13463,10 +13538,10 @@ var M_ = class extends O_ {
|
|
|
13463
13538
|
this.setCenter(Ws(n, 0, n.length, r, e, t, n)), this.changed();
|
|
13464
13539
|
}
|
|
13465
13540
|
};
|
|
13466
|
-
|
|
13541
|
+
R_.prototype.transform;
|
|
13467
13542
|
//#endregion
|
|
13468
13543
|
//#region node_modules/ol/geom/GeometryCollection.js
|
|
13469
|
-
var
|
|
13544
|
+
var z_ = class e extends Ys {
|
|
13470
13545
|
constructor(e) {
|
|
13471
13546
|
super(), this.geometries_ = e, this.changeEventsKeys_ = [], this.listenGeometriesChange_();
|
|
13472
13547
|
}
|
|
@@ -13478,7 +13553,7 @@ var R_ = class e extends Ys {
|
|
|
13478
13553
|
for (let t = 0, n = e.length; t < n; ++t) this.changeEventsKeys_.push(L(e[t], R.CHANGE, this.changed, this));
|
|
13479
13554
|
}
|
|
13480
13555
|
clone() {
|
|
13481
|
-
let t = new e(
|
|
13556
|
+
let t = new e(B_(this.geometries_));
|
|
13482
13557
|
return t.applyProperties(this), t;
|
|
13483
13558
|
}
|
|
13484
13559
|
closestPointXY(e, t, n, r) {
|
|
@@ -13499,7 +13574,7 @@ var R_ = class e extends Ys {
|
|
|
13499
13574
|
return e;
|
|
13500
13575
|
}
|
|
13501
13576
|
getGeometries() {
|
|
13502
|
-
return
|
|
13577
|
+
return B_(this.geometries_);
|
|
13503
13578
|
}
|
|
13504
13579
|
getGeometriesArray() {
|
|
13505
13580
|
return this.geometries_;
|
|
@@ -13541,7 +13616,7 @@ var R_ = class e extends Ys {
|
|
|
13541
13616
|
this.changed();
|
|
13542
13617
|
}
|
|
13543
13618
|
setGeometries(e) {
|
|
13544
|
-
this.setGeometriesArray(
|
|
13619
|
+
this.setGeometriesArray(B_(e));
|
|
13545
13620
|
}
|
|
13546
13621
|
setGeometriesArray(e) {
|
|
13547
13622
|
this.unlistenGeometriesChange_(), this.geometries_ = e, this.listenGeometriesChange_(), this.changed();
|
|
@@ -13560,16 +13635,16 @@ var R_ = class e extends Ys {
|
|
|
13560
13635
|
this.unlistenGeometriesChange_(), super.disposeInternal();
|
|
13561
13636
|
}
|
|
13562
13637
|
};
|
|
13563
|
-
function
|
|
13638
|
+
function B_(e) {
|
|
13564
13639
|
return e.map((e) => e.clone());
|
|
13565
13640
|
}
|
|
13566
13641
|
//#endregion
|
|
13567
13642
|
//#region node_modules/ol/interaction/tracing.js
|
|
13568
|
-
function
|
|
13643
|
+
function V_(e, t) {
|
|
13569
13644
|
let n = e.length;
|
|
13570
13645
|
return t < 0 ? e[t + n] : t >= n ? e[t - n] : e[t];
|
|
13571
13646
|
}
|
|
13572
|
-
function
|
|
13647
|
+
function H_(e, t) {
|
|
13573
13648
|
let n = e.length, r = Math.floor(t), i = t - r;
|
|
13574
13649
|
r >= n ? r -= n : r < 0 && (r += n);
|
|
13575
13650
|
let a = r + 1;
|
|
@@ -13577,76 +13652,76 @@ function V_(e, t) {
|
|
|
13577
13652
|
let o = e[r], s = o[0], c = o[1], l = e[a], u = l[0] - s, d = l[1] - c;
|
|
13578
13653
|
return [s + u * i, c + d * i];
|
|
13579
13654
|
}
|
|
13580
|
-
var
|
|
13655
|
+
var U_ = {
|
|
13581
13656
|
index: -1,
|
|
13582
13657
|
endIndex: NaN,
|
|
13583
13658
|
closestTargetDistance: Infinity
|
|
13584
13659
|
};
|
|
13585
|
-
function
|
|
13660
|
+
function W_(e, t, n, r) {
|
|
13586
13661
|
let i = e[0], a = e[1], o = Infinity, s = -1, c = NaN;
|
|
13587
13662
|
for (let e = 0; e < t.targets.length; ++e) {
|
|
13588
13663
|
let n = t.targets[e], r = n.coordinates, l = Infinity, u;
|
|
13589
13664
|
for (let e = 0; e < r.length - 1; ++e) {
|
|
13590
|
-
let t = r[e], n = r[e + 1], o =
|
|
13665
|
+
let t = r[e], n = r[e + 1], o = Z_(i, a, t, n);
|
|
13591
13666
|
o.squaredDistance < l && (l = o.squaredDistance, u = e + o.along);
|
|
13592
13667
|
}
|
|
13593
13668
|
l < o && (o = l, n.ring && t.targetIndex === e && (n.endIndex > n.startIndex ? u < n.startIndex && (u += r.length) : n.endIndex < n.startIndex && u > n.startIndex && (u -= r.length)), c = u, s = e);
|
|
13594
13669
|
}
|
|
13595
13670
|
let l = t.targets[s], u = l.ring;
|
|
13596
13671
|
if (t.targetIndex === s && u) {
|
|
13597
|
-
let e =
|
|
13672
|
+
let e = H_(l.coordinates, c);
|
|
13598
13673
|
no(n.getPixelFromCoordinate(e), n.getPixelFromCoordinate(t.startCoord)) > r && (u = !1);
|
|
13599
13674
|
}
|
|
13600
13675
|
if (u) {
|
|
13601
13676
|
let e = l.coordinates, t = e.length, n = l.startIndex, r = c;
|
|
13602
13677
|
if (n < r) {
|
|
13603
|
-
let i =
|
|
13604
|
-
|
|
13678
|
+
let i = Y_(e, n, r);
|
|
13679
|
+
Y_(e, n, r - t) < i && (c -= t);
|
|
13605
13680
|
} else {
|
|
13606
|
-
let i =
|
|
13607
|
-
|
|
13681
|
+
let i = Y_(e, n, r);
|
|
13682
|
+
Y_(e, n, r + t) < i && (c += t);
|
|
13608
13683
|
}
|
|
13609
13684
|
}
|
|
13610
|
-
return
|
|
13685
|
+
return U_.index = s, U_.endIndex = c, U_.closestTargetDistance = o, U_;
|
|
13611
13686
|
}
|
|
13612
|
-
function
|
|
13687
|
+
function G_(e, t) {
|
|
13613
13688
|
let n = [];
|
|
13614
|
-
for (let r = 0; r < t.length; ++r)
|
|
13689
|
+
for (let r = 0; r < t.length; ++r) K_(e, t[r].getGeometry(), n);
|
|
13615
13690
|
return n;
|
|
13616
13691
|
}
|
|
13617
|
-
function
|
|
13692
|
+
function K_(e, t, n) {
|
|
13618
13693
|
if (t instanceof Al) {
|
|
13619
|
-
|
|
13694
|
+
q_(e, t.getCoordinates(), !1, n);
|
|
13620
13695
|
return;
|
|
13621
13696
|
}
|
|
13622
13697
|
if (t instanceof dd) {
|
|
13623
13698
|
let r = t.getCoordinates();
|
|
13624
|
-
for (let t = 0, i = r.length; t < i; ++t)
|
|
13699
|
+
for (let t = 0, i = r.length; t < i; ++t) q_(e, r[t], !1, n);
|
|
13625
13700
|
return;
|
|
13626
13701
|
}
|
|
13627
13702
|
if (t instanceof Wc) {
|
|
13628
13703
|
let r = t.getCoordinates();
|
|
13629
|
-
for (let t = 0, i = r.length; t < i; ++t)
|
|
13704
|
+
for (let t = 0, i = r.length; t < i; ++t) q_(e, r[t], !0, n);
|
|
13630
13705
|
return;
|
|
13631
13706
|
}
|
|
13632
13707
|
if (t instanceof md) {
|
|
13633
13708
|
let r = t.getCoordinates();
|
|
13634
13709
|
for (let t = 0, i = r.length; t < i; ++t) {
|
|
13635
13710
|
let i = r[t];
|
|
13636
|
-
for (let t = 0, r = i.length; t < r; ++t)
|
|
13711
|
+
for (let t = 0, r = i.length; t < r; ++t) q_(e, i[t], !0, n);
|
|
13637
13712
|
}
|
|
13638
13713
|
return;
|
|
13639
13714
|
}
|
|
13640
|
-
if (t instanceof
|
|
13715
|
+
if (t instanceof z_) {
|
|
13641
13716
|
let r = t.getGeometries();
|
|
13642
|
-
for (let t = 0; t < r.length; ++t)
|
|
13717
|
+
for (let t = 0; t < r.length; ++t) K_(e, r[t], n);
|
|
13643
13718
|
return;
|
|
13644
13719
|
}
|
|
13645
13720
|
}
|
|
13646
|
-
function
|
|
13721
|
+
function q_(e, t, n, r) {
|
|
13647
13722
|
let i = e[0], a = e[1];
|
|
13648
13723
|
for (let e = 0, o = t.length - 1; e < o; ++e) {
|
|
13649
|
-
let o = t[e], s = t[e + 1], c =
|
|
13724
|
+
let o = t[e], s = t[e + 1], c = Z_(i, a, o, s);
|
|
13650
13725
|
if (c.squaredDistance === 0) {
|
|
13651
13726
|
let i = e + c.along;
|
|
13652
13727
|
r.push({
|
|
@@ -13659,56 +13734,56 @@ function K_(e, t, n, r) {
|
|
|
13659
13734
|
}
|
|
13660
13735
|
}
|
|
13661
13736
|
}
|
|
13662
|
-
function
|
|
13737
|
+
function J_(e, t) {
|
|
13663
13738
|
return La(e[0], e[1], t[0], t[1]);
|
|
13664
13739
|
}
|
|
13665
|
-
function
|
|
13740
|
+
function Y_(e, t, n) {
|
|
13666
13741
|
let r, i;
|
|
13667
13742
|
t < n ? (r = t, i = n) : (r = n, i = t);
|
|
13668
13743
|
let a = Math.ceil(r), o = Math.floor(i);
|
|
13669
|
-
if (a > o) return
|
|
13744
|
+
if (a > o) return J_(H_(e, r), H_(e, i));
|
|
13670
13745
|
let s = 0;
|
|
13671
13746
|
if (r < a) {
|
|
13672
|
-
let t =
|
|
13673
|
-
s +=
|
|
13747
|
+
let t = H_(e, r), n = V_(e, a);
|
|
13748
|
+
s += J_(t, n);
|
|
13674
13749
|
}
|
|
13675
13750
|
if (o < i) {
|
|
13676
|
-
let t =
|
|
13677
|
-
s +=
|
|
13751
|
+
let t = V_(e, o), n = H_(e, i);
|
|
13752
|
+
s += J_(t, n);
|
|
13678
13753
|
}
|
|
13679
13754
|
for (let t = a; t < o - 1; ++t) {
|
|
13680
|
-
let n =
|
|
13681
|
-
s +=
|
|
13755
|
+
let n = V_(e, t), r = V_(e, t + 1);
|
|
13756
|
+
s += J_(n, r);
|
|
13682
13757
|
}
|
|
13683
13758
|
return s;
|
|
13684
13759
|
}
|
|
13685
|
-
var
|
|
13760
|
+
var X_ = {
|
|
13686
13761
|
along: 0,
|
|
13687
13762
|
squaredDistance: 0
|
|
13688
13763
|
};
|
|
13689
|
-
function
|
|
13764
|
+
function Z_(e, t, n, r) {
|
|
13690
13765
|
let i = n[0], a = n[1], o = r[0], s = r[1], c = o - i, l = s - a, u = 0, d = i, f = a;
|
|
13691
|
-
return (c !== 0 || l !== 0) && (u = Fa(((e - i) * c + (t - a) * l) / (c * c + l * l), 0, 1), d += c * u, f += l * u),
|
|
13766
|
+
return (c !== 0 || l !== 0) && (u = Fa(((e - i) * c + (t - a) * l) / (c * c + l * l), 0, 1), d += c * u, f += l * u), X_.along = u, X_.squaredDistance = Ua(La(e, t, d, f), 10), X_;
|
|
13692
13767
|
}
|
|
13693
13768
|
//#endregion
|
|
13694
13769
|
//#region node_modules/ol/interaction/Draw.js
|
|
13695
|
-
var
|
|
13770
|
+
var Q_ = {
|
|
13696
13771
|
DRAWSTART: "drawstart",
|
|
13697
13772
|
DRAWEND: "drawend",
|
|
13698
13773
|
DRAWABORT: "drawabort"
|
|
13699
|
-
},
|
|
13774
|
+
}, $_ = class extends zi {
|
|
13700
13775
|
constructor(e, t) {
|
|
13701
13776
|
super(e), this.feature = t;
|
|
13702
13777
|
}
|
|
13703
|
-
},
|
|
13778
|
+
}, ev = class extends zh {
|
|
13704
13779
|
constructor(e) {
|
|
13705
13780
|
let t = e;
|
|
13706
|
-
t.stopDown ||= Fi, super(t), this.on, this.once, this.un, this.options_ = e, this.shouldHandle_ = !1, this.downPx_ = null, this.downTimeout_, this.lastDragTime_, this.pointerType_, this.freehand_ = !1, this.source_ = e.source ? e.source : null, this.features_ = e.features ? e.features : null, this.snapTolerance_ = e.snapTolerance ? e.snapTolerance : 12, this.type_ = e.type, this.mode_ =
|
|
13781
|
+
t.stopDown ||= Fi, super(t), this.on, this.once, this.un, this.options_ = e, this.shouldHandle_ = !1, this.downPx_ = null, this.downTimeout_, this.lastDragTime_, this.pointerType_, this.freehand_ = !1, this.source_ = e.source ? e.source : null, this.features_ = e.features ? e.features : null, this.snapTolerance_ = e.snapTolerance ? e.snapTolerance : 12, this.type_ = e.type, this.mode_ = nv(this.type_), this.stopClick_ = !!e.stopClick, this.ignoreNextUpEvent_ = !1, this.minPoints_ = e.minPoints ? e.minPoints : this.mode_ === "Polygon" ? 3 : 2, this.maxPoints_ = this.mode_ === "Circle" ? 2 : e.maxPoints ? e.maxPoints : Infinity, this.finishCondition_ = e.finishCondition ? e.finishCondition : Pi, this.geometryLayout_ = e.geometryLayout ? e.geometryLayout : "XY";
|
|
13707
13782
|
let n = e.geometryFunction;
|
|
13708
13783
|
if (!n) {
|
|
13709
13784
|
let e = this.mode_;
|
|
13710
13785
|
if (e === "Circle") n = (e, t, n) => {
|
|
13711
|
-
let r = t || new
|
|
13786
|
+
let r = t || new R_([NaN, NaN]), i = Os(e[0], n), a = to(i, Os(e[e.length - 1], n));
|
|
13712
13787
|
r.setCenterAndRadius(i, Math.sqrt(a), this.geometryLayout_);
|
|
13713
13788
|
let o = Es();
|
|
13714
13789
|
return o && r.transform(n, o), r;
|
|
@@ -13723,7 +13798,7 @@ var Z_ = {
|
|
|
13723
13798
|
useSpatialIndex: !1,
|
|
13724
13799
|
wrapX: e.wrapX ? e.wrapX : !1
|
|
13725
13800
|
}),
|
|
13726
|
-
style: e.style ? e.style :
|
|
13801
|
+
style: e.style ? e.style : tv(),
|
|
13727
13802
|
updateWhileInteracting: !0
|
|
13728
13803
|
}), this.geometryName_ = e.geometryName, this.condition_ = e.condition ? e.condition : Nh, this.freehandCondition_, e.freehand ? this.freehandCondition_ = kh : this.freehandCondition_ = e.freehandCondition ? e.freehandCondition : Fh, this.traceCondition_, this.setTrace(e.trace || !1), this.traceState_ = { active: !1 }, this.traceSource_ = e.traceSource || e.source || null, this.addChangeListener(bh.ACTIVE, this.updateState_);
|
|
13729
13804
|
}
|
|
@@ -13764,7 +13839,7 @@ var Z_ = {
|
|
|
13764
13839
|
}
|
|
13765
13840
|
let t = this.getMap(), n = Qi([t.getCoordinateFromPixel([e.pixel[0] - this.snapTolerance_, e.pixel[1] + this.snapTolerance_]), t.getCoordinateFromPixel([e.pixel[0] + this.snapTolerance_, e.pixel[1] - this.snapTolerance_])]), r = this.traceSource_.getFeaturesInExtent(n);
|
|
13766
13841
|
if (r.length === 0) return;
|
|
13767
|
-
let i =
|
|
13842
|
+
let i = G_(e.coordinate, r);
|
|
13768
13843
|
i.length && (this.traceState_ = {
|
|
13769
13844
|
active: !0,
|
|
13770
13845
|
startCoord: e.coordinate.slice(),
|
|
@@ -13794,18 +13869,18 @@ var Z_ = {
|
|
|
13794
13869
|
if (t < n) {
|
|
13795
13870
|
let i = Math.ceil(t), a = Math.floor(n);
|
|
13796
13871
|
a === n && --a;
|
|
13797
|
-
for (let t = i; t <= a; ++t) r.push(
|
|
13872
|
+
for (let t = i; t <= a; ++t) r.push(V_(e.coordinates, t));
|
|
13798
13873
|
} else {
|
|
13799
13874
|
let i = Math.floor(t), a = Math.ceil(n);
|
|
13800
13875
|
a === n && (a += 1);
|
|
13801
|
-
for (let t = i; t >= a; --t) r.push(
|
|
13876
|
+
for (let t = i; t >= a; --t) r.push(V_(e.coordinates, t));
|
|
13802
13877
|
}
|
|
13803
13878
|
r.length && this.appendCoordinates(r);
|
|
13804
13879
|
}
|
|
13805
13880
|
updateTrace_(e) {
|
|
13806
13881
|
let t = this.traceState_;
|
|
13807
13882
|
if (!t.active || t.targetIndex === -1 && no(e.map.getPixelFromCoordinate(t.startCoord), e.pixel) < this.snapTolerance_) return;
|
|
13808
|
-
let n =
|
|
13883
|
+
let n = W_(e.coordinate, t, this.getMap(), this.snapTolerance_);
|
|
13809
13884
|
if (t.targetIndex !== n.index) {
|
|
13810
13885
|
if (t.targetIndex !== -1) {
|
|
13811
13886
|
let e = t.targets[t.targetIndex];
|
|
@@ -13820,7 +13895,7 @@ var Z_ = {
|
|
|
13820
13895
|
t.targetIndex = n.index;
|
|
13821
13896
|
let r = t.targets[t.targetIndex];
|
|
13822
13897
|
r.endIndex = n.endIndex;
|
|
13823
|
-
let i =
|
|
13898
|
+
let i = H_(r.coordinates, r.endIndex), a = this.getMap().getPixelFromCoordinate(i);
|
|
13824
13899
|
e.coordinate = i, e.pixel = [Math.round(a[0]), Math.round(a[1])];
|
|
13825
13900
|
}
|
|
13826
13901
|
handleDragEvent(e) {
|
|
@@ -13886,7 +13961,7 @@ var Z_ = {
|
|
|
13886
13961
|
for (; e.length < n;) e.push(0);
|
|
13887
13962
|
this.finishCoordinate_ = e, this.mode_ === "Point" ? this.sketchCoords_ = e.slice() : this.mode_ === "Polygon" ? (this.sketchCoords_ = [[e.slice(), e.slice()]], this.sketchLineCoords_ = this.sketchCoords_[0]) : this.sketchCoords_ = [e.slice(), e.slice()], this.sketchLineCoords_ && (this.sketchLine_ = new Yi(new Al(this.sketchLineCoords_)));
|
|
13888
13963
|
let r = this.geometryFunction_(this.sketchCoords_, void 0, t);
|
|
13889
|
-
this.sketchFeature_ = new Yi(), this.geometryName_ && this.sketchFeature_.setGeometryName(this.geometryName_), this.sketchFeature_.setGeometry(r), this.updateSketchFeatures_(), this.dispatchEvent(new Q_
|
|
13964
|
+
this.sketchFeature_ = new Yi(), this.geometryName_ && this.sketchFeature_.setGeometryName(this.geometryName_), this.sketchFeature_.setGeometry(r), this.updateSketchFeatures_(), this.dispatchEvent(new $_(Q_.DRAWSTART, this.sketchFeature_));
|
|
13890
13965
|
}
|
|
13891
13966
|
modifyDrawing_(e) {
|
|
13892
13967
|
let t = this.getMap(), n = this.sketchFeature_.getGeometry(), r = t.getView().getProjection(), i = Qs(this.geometryLayout_), a, o;
|
|
@@ -13932,7 +14007,7 @@ var Z_ = {
|
|
|
13932
14007
|
let e = this.abortDrawing_();
|
|
13933
14008
|
if (!e) return null;
|
|
13934
14009
|
let t = this.sketchCoords_, n = e.getGeometry(), r = this.getMap().getView().getProjection();
|
|
13935
|
-
return this.mode_ === "LineString" ? (t.pop(), this.geometryFunction_(t, n, r)) : this.mode_ === "Polygon" && (t[0].pop(), this.geometryFunction_(t, n, r), t = n.getCoordinates()), this.type_ === "MultiPoint" ? e.setGeometry(new fd([t])) : this.type_ === "MultiLineString" ? e.setGeometry(new dd([t])) : this.type_ === "MultiPolygon" && e.setGeometry(new md([t])), this.dispatchEvent(new Q_
|
|
14010
|
+
return this.mode_ === "LineString" ? (t.pop(), this.geometryFunction_(t, n, r)) : this.mode_ === "Polygon" && (t[0].pop(), this.geometryFunction_(t, n, r), t = n.getCoordinates()), this.type_ === "MultiPoint" ? e.setGeometry(new fd([t])) : this.type_ === "MultiLineString" ? e.setGeometry(new dd([t])) : this.type_ === "MultiPolygon" && e.setGeometry(new md([t])), this.dispatchEvent(new $_(Q_.DRAWEND, e)), this.features_ && this.features_.push(e), this.source_ && this.source_.addFeature(e), e;
|
|
13936
14011
|
}
|
|
13937
14012
|
abortDrawing_() {
|
|
13938
14013
|
this.finishCoordinate_ = null;
|
|
@@ -13941,7 +14016,7 @@ var Z_ = {
|
|
|
13941
14016
|
}
|
|
13942
14017
|
abortDrawing() {
|
|
13943
14018
|
let e = this.abortDrawing_();
|
|
13944
|
-
e && this.dispatchEvent(new Q_
|
|
14019
|
+
e && this.dispatchEvent(new $_(Q_.DRAWABORT, e));
|
|
13945
14020
|
}
|
|
13946
14021
|
appendCoordinates(e) {
|
|
13947
14022
|
let t = this.mode_, n = !this.sketchFeature_;
|
|
@@ -13959,7 +14034,7 @@ var Z_ = {
|
|
|
13959
14034
|
let t = e.getGeometry();
|
|
13960
14035
|
this.sketchFeature_ = e, this.sketchCoords_ = t.getCoordinates();
|
|
13961
14036
|
let n = this.sketchCoords_[this.sketchCoords_.length - 1];
|
|
13962
|
-
this.finishCoordinate_ = n.slice(), this.sketchCoords_.push(n.slice()), this.sketchPoint_ = new Yi(new wc(n)), this.updateSketchFeatures_(), this.dispatchEvent(new Q_
|
|
14037
|
+
this.finishCoordinate_ = n.slice(), this.sketchCoords_.push(n.slice()), this.sketchPoint_ = new Yi(new wc(n)), this.updateSketchFeatures_(), this.dispatchEvent(new $_(Q_.DRAWSTART, this.sketchFeature_));
|
|
13963
14038
|
}
|
|
13964
14039
|
updateSketchFeatures_() {
|
|
13965
14040
|
let e = [];
|
|
@@ -13972,13 +14047,13 @@ var Z_ = {
|
|
|
13972
14047
|
(!e || !t) && this.abortDrawing(), this.overlay_.setMap(t ? e : null);
|
|
13973
14048
|
}
|
|
13974
14049
|
};
|
|
13975
|
-
function
|
|
14050
|
+
function tv() {
|
|
13976
14051
|
let e = $d();
|
|
13977
14052
|
return function(t, n) {
|
|
13978
14053
|
return e[t.getGeometry().getType()];
|
|
13979
14054
|
};
|
|
13980
14055
|
}
|
|
13981
|
-
function
|
|
14056
|
+
function nv(e) {
|
|
13982
14057
|
switch (e) {
|
|
13983
14058
|
case "Point":
|
|
13984
14059
|
case "MultiPoint": return "Point";
|
|
@@ -13992,13 +14067,13 @@ function tv(e) {
|
|
|
13992
14067
|
}
|
|
13993
14068
|
//#endregion
|
|
13994
14069
|
//#region node_modules/ol/interaction/Select.js
|
|
13995
|
-
var
|
|
14070
|
+
var rv = { SELECT: "select" }, iv = class extends zi {
|
|
13996
14071
|
constructor(e, t, n, r) {
|
|
13997
14072
|
super(e), this.selected = t, this.deselected = n, this.mapBrowserEvent = r;
|
|
13998
14073
|
}
|
|
13999
|
-
},
|
|
14074
|
+
}, av = {}, ov = class e extends xh {
|
|
14000
14075
|
constructor(e) {
|
|
14001
|
-
super(), this.on, this.once, this.un, e ||= {}, this.boundAddFeature_ = this.addFeature_.bind(this), this.boundRemoveFeature_ = this.removeFeature_.bind(this), this.condition_ = e.condition ? e.condition : Mh, this.addCondition_ = e.addCondition ? e.addCondition : jh, this.removeCondition_ = e.removeCondition ? e.removeCondition : jh, this.toggleCondition_ = e.toggleCondition ? e.toggleCondition : Fh, this.multi_ = e.multi ? e.multi : !1, this.filter_ = e.filter ? e.filter : Pi, this.hitTolerance_ = e.hitTolerance ? e.hitTolerance : 0, this.style_ = e.style === void 0 ?
|
|
14076
|
+
super(), this.on, this.once, this.un, e ||= {}, this.boundAddFeature_ = this.addFeature_.bind(this), this.boundRemoveFeature_ = this.removeFeature_.bind(this), this.condition_ = e.condition ? e.condition : Mh, this.addCondition_ = e.addCondition ? e.addCondition : jh, this.removeCondition_ = e.removeCondition ? e.removeCondition : jh, this.toggleCondition_ = e.toggleCondition ? e.toggleCondition : Fh, this.multi_ = e.multi ? e.multi : !1, this.filter_ = e.filter ? e.filter : Pi, this.hitTolerance_ = e.hitTolerance ? e.hitTolerance : 0, this.style_ = e.style === void 0 ? sv() : e.style, this.features_ = e.features || new Ji();
|
|
14002
14077
|
let t;
|
|
14003
14078
|
if (e.layers) if (typeof e.layers == "function") t = e.layers;
|
|
14004
14079
|
else {
|
|
@@ -14048,7 +14123,7 @@ var nv = { SELECT: "select" }, rv = class extends zi {
|
|
|
14048
14123
|
}
|
|
14049
14124
|
applySelectedStyle_(e) {
|
|
14050
14125
|
let t = B(e);
|
|
14051
|
-
t in
|
|
14126
|
+
t in av || (av[t] = e.getStyle()), e.setStyle(this.style_);
|
|
14052
14127
|
}
|
|
14053
14128
|
restorePreviousStyle_(t) {
|
|
14054
14129
|
let n = this.getMap().getInteractions().getArray();
|
|
@@ -14060,7 +14135,7 @@ var nv = { SELECT: "select" }, rv = class extends zi {
|
|
|
14060
14135
|
}
|
|
14061
14136
|
}
|
|
14062
14137
|
let r = B(t);
|
|
14063
|
-
t.setStyle(
|
|
14138
|
+
t.setStyle(av[r]), delete av[r];
|
|
14064
14139
|
}
|
|
14065
14140
|
removeFeatureLayerAssociation_(e) {
|
|
14066
14141
|
delete this.featureLayerAssociation_[B(e)];
|
|
@@ -14069,11 +14144,11 @@ var nv = { SELECT: "select" }, rv = class extends zi {
|
|
|
14069
14144
|
let t = this.findLayerOfFeature_(e);
|
|
14070
14145
|
if (!this.layerFilter_(t) || !this.filter_(e, t)) return !1;
|
|
14071
14146
|
let n = this.getFeatures();
|
|
14072
|
-
return n.getArray().includes(e) ? !1 : (this.addFeatureLayerAssociation_(e, t), n.push(e), this.dispatchEvent(new rv
|
|
14147
|
+
return n.getArray().includes(e) ? !1 : (this.addFeatureLayerAssociation_(e, t), n.push(e), this.dispatchEvent(new iv(rv.SELECT, [e], [], void 0)), !0);
|
|
14073
14148
|
}
|
|
14074
14149
|
deselectFeature(e) {
|
|
14075
14150
|
let t = this.getFeatures(), n = t.getArray().indexOf(e);
|
|
14076
|
-
return n === -1 ? !1 : (t.removeAt(n), this.dispatchEvent(new rv
|
|
14151
|
+
return n === -1 ? !1 : (t.removeAt(n), this.dispatchEvent(new iv(rv.SELECT, [], [e], void 0)), !0);
|
|
14077
14152
|
}
|
|
14078
14153
|
toggleFeature(e) {
|
|
14079
14154
|
this.deselectFeature(e) || this.selectFeature(e);
|
|
@@ -14082,7 +14157,7 @@ var nv = { SELECT: "select" }, rv = class extends zi {
|
|
|
14082
14157
|
let e = this.getFeatures();
|
|
14083
14158
|
if (e.getLength() !== 0) {
|
|
14084
14159
|
let t = e.getArray().slice();
|
|
14085
|
-
e.clear(), this.dispatchEvent(new rv
|
|
14160
|
+
e.clear(), this.dispatchEvent(new iv(rv.SELECT, [], t, void 0));
|
|
14086
14161
|
}
|
|
14087
14162
|
}
|
|
14088
14163
|
handleEvent(e) {
|
|
@@ -14112,10 +14187,10 @@ var nv = { SELECT: "select" }, rv = class extends zi {
|
|
|
14112
14187
|
for (let e = s.length - 1; e >= 0; --e) o.remove(s[e]);
|
|
14113
14188
|
o.extend(c);
|
|
14114
14189
|
}
|
|
14115
|
-
return (c.length > 0 || s.length > 0) && this.dispatchEvent(new rv
|
|
14190
|
+
return (c.length > 0 || s.length > 0) && this.dispatchEvent(new iv(rv.SELECT, c, s, e)), !0;
|
|
14116
14191
|
}
|
|
14117
14192
|
};
|
|
14118
|
-
function
|
|
14193
|
+
function sv() {
|
|
14119
14194
|
let e = $d();
|
|
14120
14195
|
return ji(e.Polygon, e.LineString), ji(e.GeometryCollection, e.LineString), function(t) {
|
|
14121
14196
|
return t.getGeometry() ? e[t.getGeometry().getType()] : null;
|
|
@@ -14123,52 +14198,52 @@ function ov() {
|
|
|
14123
14198
|
}
|
|
14124
14199
|
//#endregion
|
|
14125
14200
|
//#region node_modules/wind-core/dist/wind-core.esm.js
|
|
14126
|
-
var
|
|
14127
|
-
function
|
|
14201
|
+
var cv = Object.prototype.hasOwnProperty, lv = typeof Symbol < "u" ? Symbol.toStringTag : void 0;
|
|
14202
|
+
function uv(e) {
|
|
14128
14203
|
if (e === null) return e === void 0 ? "[object Undefined]" : "[object Null]";
|
|
14129
|
-
if (!(
|
|
14130
|
-
let t =
|
|
14204
|
+
if (!(lv && lv in Object(e))) return toString.call(e);
|
|
14205
|
+
let t = cv.call(e, lv), n = e[lv], r = !1;
|
|
14131
14206
|
try {
|
|
14132
|
-
e[
|
|
14207
|
+
e[lv] = void 0, r = !0;
|
|
14133
14208
|
} catch {}
|
|
14134
14209
|
let i = Object.prototype.toString.call(e);
|
|
14135
|
-
return r && (t ? e[
|
|
14210
|
+
return r && (t ? e[lv] = n : delete e[lv]), i;
|
|
14136
14211
|
}
|
|
14137
|
-
function
|
|
14138
|
-
if (!
|
|
14139
|
-
let t =
|
|
14212
|
+
function dv(e) {
|
|
14213
|
+
if (!fv(e)) return !1;
|
|
14214
|
+
let t = uv(e);
|
|
14140
14215
|
return t === "[object Function]" || t === "[object AsyncFunction]" || t === "[object GeneratorFunction]" || t === "[object Proxy]";
|
|
14141
14216
|
}
|
|
14142
|
-
function
|
|
14217
|
+
function fv(e) {
|
|
14143
14218
|
let t = typeof e;
|
|
14144
14219
|
return e !== null && (t === "object" || t === "function");
|
|
14145
14220
|
}
|
|
14146
|
-
function
|
|
14221
|
+
function pv(e) {
|
|
14147
14222
|
return e == null ? !1 : typeof e == "string" || e.constructor !== null && e.constructor === String;
|
|
14148
14223
|
}
|
|
14149
|
-
function
|
|
14224
|
+
function mv(e) {
|
|
14150
14225
|
return Object.prototype.toString.call(e) === "[object Number]" && !isNaN(e);
|
|
14151
14226
|
}
|
|
14152
|
-
function
|
|
14227
|
+
function hv(e) {
|
|
14153
14228
|
return Array.isArray(e);
|
|
14154
14229
|
}
|
|
14155
|
-
function
|
|
14230
|
+
function gv(e, ...t) {
|
|
14156
14231
|
return Object.assign(e, ...t);
|
|
14157
14232
|
}
|
|
14158
|
-
function
|
|
14233
|
+
function _v(e, t) {
|
|
14159
14234
|
console.warn(`${t || "wind-layer"}: ${e}`);
|
|
14160
14235
|
}
|
|
14161
|
-
var
|
|
14162
|
-
function vv(e, t) {
|
|
14163
|
-
_v[t] || (gv(t, e), _v[t] = !0);
|
|
14164
|
-
}
|
|
14236
|
+
var vv = {};
|
|
14165
14237
|
function yv(e, t) {
|
|
14238
|
+
vv[t] || (_v(t, e), vv[t] = !0);
|
|
14239
|
+
}
|
|
14240
|
+
function bv(e, t) {
|
|
14166
14241
|
return e - t * Math.floor(e / t);
|
|
14167
14242
|
}
|
|
14168
|
-
function
|
|
14243
|
+
function xv(e) {
|
|
14169
14244
|
return e != null && !isNaN(e);
|
|
14170
14245
|
}
|
|
14171
|
-
function
|
|
14246
|
+
function Sv(e, t = {}) {
|
|
14172
14247
|
let n, r;
|
|
14173
14248
|
if (e.forEach(function(e) {
|
|
14174
14249
|
switch (e.header.parameterCategory + "," + e.header.parameterNumber) {
|
|
@@ -14183,7 +14258,7 @@ function xv(e, t = {}) {
|
|
|
14183
14258
|
}
|
|
14184
14259
|
}), !r || !n) return;
|
|
14185
14260
|
let i = n.header;
|
|
14186
|
-
return new
|
|
14261
|
+
return new wv({
|
|
14187
14262
|
xmin: i.lo1,
|
|
14188
14263
|
ymin: i.la1,
|
|
14189
14264
|
xmax: i.lo2,
|
|
@@ -14197,7 +14272,7 @@ function xv(e, t = {}) {
|
|
|
14197
14272
|
...t
|
|
14198
14273
|
});
|
|
14199
14274
|
}
|
|
14200
|
-
var
|
|
14275
|
+
var Cv = class {
|
|
14201
14276
|
constructor(e, t) {
|
|
14202
14277
|
this.u = e, this.v = t, this.m = this.magnitude();
|
|
14203
14278
|
}
|
|
@@ -14211,11 +14286,11 @@ var Sv = class {
|
|
|
14211
14286
|
directionFrom() {
|
|
14212
14287
|
return (this.directionTo() + 180) % 360;
|
|
14213
14288
|
}
|
|
14214
|
-
},
|
|
14289
|
+
}, wv = class {
|
|
14215
14290
|
constructor(e) {
|
|
14216
14291
|
this.grid = [], this.xmin = e.xmin, this.xmax = e.xmax, this.ymin = e.ymin, this.ymax = e.ymax, this.cols = e.cols, this.rows = e.rows, this.us = e.us, this.vs = e.vs, this.deltaX = e.deltaX, this.deltaY = e.deltaY, this.flipY = !!e.flipY, this.ymin = Math.min(e.ymax, e.ymin), this.ymax = Math.max(e.ymax, e.ymin), this.deltaY < 0 && this.ymin < this.ymax || (e.flipY === void 0 && (this.flipY = !0), console.warn("[wind-core]: The data is flipY")), this.isFields = !0;
|
|
14217
14292
|
let t = Math.ceil((this.xmax - this.xmin) / e.deltaX), n = Math.ceil((this.ymax - this.ymin) / e.deltaY);
|
|
14218
|
-
(t !== this.cols || n !== this.rows) && console.warn("[wind-core]: The data grid not equal"), this.isContinuous = Math.floor(this.cols * e.deltaX) >= 360, this.translateX = "translateX" in e ? e.translateX : this.xmax > 180, "wrappedX" in e &&
|
|
14293
|
+
(t !== this.cols || n !== this.rows) && console.warn("[wind-core]: The data grid not equal"), this.isContinuous = Math.floor(this.cols * e.deltaX) >= 360, this.translateX = "translateX" in e ? e.translateX : this.xmax > 180, "wrappedX" in e && yv("[wind-core]: ", "`wrappedX` namespace will deprecated please use `translateX` instead!"), this.wrapX = !!e.wrapX, this.grid = this.buildGrid(), this.range = this.calculateRange();
|
|
14219
14294
|
}
|
|
14220
14295
|
buildGrid() {
|
|
14221
14296
|
let e = [], t = 0, { rows: n, cols: r, us: i, vs: a } = this;
|
|
@@ -14223,7 +14298,7 @@ var Sv = class {
|
|
|
14223
14298
|
let n = [];
|
|
14224
14299
|
for (let e = 0; e < r; e++, t++) {
|
|
14225
14300
|
let r = i[t], o = a[t];
|
|
14226
|
-
n[e] = this.isValid(r) && this.isValid(o) ? new
|
|
14301
|
+
n[e] = this.isValid(r) && this.isValid(o) ? new Cv(r, o) : null;
|
|
14227
14302
|
}
|
|
14228
14303
|
this.isContinuous && n.push(n[0]), e[o] = n;
|
|
14229
14304
|
}
|
|
@@ -14242,7 +14317,7 @@ var Sv = class {
|
|
|
14242
14317
|
}
|
|
14243
14318
|
bilinearInterpolateVector(e, t, n, r, i, a) {
|
|
14244
14319
|
let o = 1 - e, s = 1 - t, c = o * s, l = e * s, u = o * t, d = e * t;
|
|
14245
|
-
return new
|
|
14320
|
+
return new Cv(n.u * c + r.u * l + i.u * u + a.u * d, n.v * c + r.v * l + i.v * u + a.v * d);
|
|
14246
14321
|
}
|
|
14247
14322
|
calculateRange() {
|
|
14248
14323
|
if (!this.grid || !this.grid[0]) return;
|
|
@@ -14270,7 +14345,7 @@ var Sv = class {
|
|
|
14270
14345
|
return a = this.deltaY >= 0 ? t >= this.ymin && t <= this.ymax : t >= this.ymax && t <= this.ymin, i && a;
|
|
14271
14346
|
}
|
|
14272
14347
|
getDecimalIndexes(e, t) {
|
|
14273
|
-
let n =
|
|
14348
|
+
let n = bv(e - this.xmin, 360) / this.deltaX;
|
|
14274
14349
|
return this.flipY ? [n, (this.ymax - t) / this.deltaY] : [n, (this.ymin + t) / this.deltaY];
|
|
14275
14350
|
}
|
|
14276
14351
|
valueAt(e, t) {
|
|
@@ -14356,7 +14431,7 @@ var Sv = class {
|
|
|
14356
14431
|
checkFields() {
|
|
14357
14432
|
return this.isFields;
|
|
14358
14433
|
}
|
|
14359
|
-
},
|
|
14434
|
+
}, Tv = {
|
|
14360
14435
|
globalAlpha: .9,
|
|
14361
14436
|
lineWidth: 1,
|
|
14362
14437
|
colorScale: "#fff",
|
|
@@ -14366,24 +14441,24 @@ var Sv = class {
|
|
|
14366
14441
|
frameRate: 20,
|
|
14367
14442
|
useCoordsDraw: !0
|
|
14368
14443
|
};
|
|
14369
|
-
function
|
|
14444
|
+
function Ev(e, t, n, r) {
|
|
14370
14445
|
return Math.max(0, Math.min(r.length - 1, Math.round((e - t) / (n - t) * (r.length - 1))));
|
|
14371
14446
|
}
|
|
14372
|
-
var
|
|
14447
|
+
var Dv = class {
|
|
14373
14448
|
constructor(e, t, n) {
|
|
14374
14449
|
if (this.particles = [], this.generated = !1, this.ctx = e, !this.ctx) throw Error("ctx error");
|
|
14375
14450
|
this.animate = this.animate.bind(this), this.setOptions(t), n && this.updateData(n);
|
|
14376
14451
|
}
|
|
14377
14452
|
static {
|
|
14378
|
-
this.Field =
|
|
14453
|
+
this.Field = wv;
|
|
14379
14454
|
}
|
|
14380
14455
|
setOptions(e) {
|
|
14381
14456
|
this.options = {
|
|
14382
|
-
...
|
|
14457
|
+
...Tv,
|
|
14383
14458
|
...e
|
|
14384
14459
|
};
|
|
14385
14460
|
let { width: t, height: n } = this.ctx.canvas;
|
|
14386
|
-
"particleAge" in e && !("maxAge" in e) &&
|
|
14461
|
+
"particleAge" in e && !("maxAge" in e) && mv(this.options.particleAge) && (this.options.maxAge = this.options.particleAge), "particleMultiplier" in e && !("paths" in e) && mv(this.options.particleMultiplier) && (this.options.paths = Math.round(t * n * this.options.particleMultiplier)), this.prerender();
|
|
14387
14462
|
}
|
|
14388
14463
|
getOptions() {
|
|
14389
14464
|
return this.options;
|
|
@@ -14425,7 +14500,7 @@ var Ev = class {
|
|
|
14425
14500
|
}
|
|
14426
14501
|
postrender() {}
|
|
14427
14502
|
moveParticles() {
|
|
14428
|
-
let { width: e, height: t } = this.ctx.canvas, n = this.particles, r = this.options.maxAge, i =
|
|
14503
|
+
let { width: e, height: t } = this.ctx.canvas, n = this.particles, r = this.options.maxAge, i = dv(this.options.velocityScale) ? this.options.velocityScale() : this.options.velocityScale, a = 0, o = n.length;
|
|
14429
14504
|
for (; a < o; a++) {
|
|
14430
14505
|
let o = n[a];
|
|
14431
14506
|
o.age > r && (o.age = 0, this.field.randomize(o, e, t, this.unproject));
|
|
@@ -14444,35 +14519,35 @@ var Ev = class {
|
|
|
14444
14519
|
}
|
|
14445
14520
|
drawParticles() {
|
|
14446
14521
|
let e = this.particles;
|
|
14447
|
-
this.fadeIn(), this.ctx.globalAlpha = this.options.globalAlpha, this.ctx.fillStyle = `rgba(0, 0, 0, ${this.options.globalAlpha})`, this.ctx.lineWidth =
|
|
14522
|
+
this.fadeIn(), this.ctx.globalAlpha = this.options.globalAlpha, this.ctx.fillStyle = `rgba(0, 0, 0, ${this.options.globalAlpha})`, this.ctx.lineWidth = mv(this.options.lineWidth) ? this.options.lineWidth : 1, this.ctx.strokeStyle = pv(this.options.colorScale) ? this.options.colorScale : "#fff";
|
|
14448
14523
|
let t = 0, n = e.length;
|
|
14449
14524
|
if (this.field && n > 0) {
|
|
14450
14525
|
let r, i;
|
|
14451
|
-
for (
|
|
14526
|
+
for (xv(this.options.minVelocity) && xv(this.options.maxVelocity) ? (r = this.options.minVelocity, i = this.options.maxVelocity) : [r, i] = this.field.range; t < n; t++) this[this.options.useCoordsDraw ? "drawCoordsParticle" : "drawPixelParticle"](e[t], r, i);
|
|
14452
14527
|
}
|
|
14453
14528
|
}
|
|
14454
14529
|
drawPixelParticle(e, t, n) {
|
|
14455
14530
|
let r = [e.x, e.y], i = [e.xt, e.yt];
|
|
14456
|
-
if (i && r &&
|
|
14457
|
-
if (this.ctx.beginPath(), this.ctx.moveTo(r[0], r[1]), this.ctx.lineTo(i[0], i[1]),
|
|
14531
|
+
if (i && r && xv(i[0]) && xv(i[1]) && xv(r[0]) && xv(r[1]) && e.age <= this.options.maxAge) {
|
|
14532
|
+
if (this.ctx.beginPath(), this.ctx.moveTo(r[0], r[1]), this.ctx.lineTo(i[0], i[1]), dv(this.options.colorScale)) this.ctx.strokeStyle = this.options.colorScale(e.m);
|
|
14458
14533
|
else if (Array.isArray(this.options.colorScale)) {
|
|
14459
|
-
let r =
|
|
14534
|
+
let r = Ev(e.m, t, n, this.options.colorScale);
|
|
14460
14535
|
this.ctx.strokeStyle = this.options.colorScale[r];
|
|
14461
14536
|
}
|
|
14462
|
-
|
|
14537
|
+
dv(this.options.lineWidth) && (this.ctx.lineWidth = this.options.lineWidth(e.m)), e.x = e.xt, e.y = e.yt, this.ctx.stroke();
|
|
14463
14538
|
}
|
|
14464
14539
|
}
|
|
14465
14540
|
drawCoordsParticle(e, t, n) {
|
|
14466
14541
|
let r = [e.x, e.y], i = [e.xt, e.yt];
|
|
14467
|
-
if (i && r &&
|
|
14542
|
+
if (i && r && xv(i[0]) && xv(i[1]) && xv(r[0]) && xv(r[1]) && this.intersectsCoordinate(i) && e.age <= this.options.maxAge) {
|
|
14468
14543
|
let a = this.project(r), o = this.project(i);
|
|
14469
14544
|
if (a && o) {
|
|
14470
|
-
if (this.ctx.beginPath(), this.ctx.moveTo(a[0], a[1]), this.ctx.lineTo(o[0], o[1]), e.x = e.xt, e.y = e.yt,
|
|
14545
|
+
if (this.ctx.beginPath(), this.ctx.moveTo(a[0], a[1]), this.ctx.lineTo(o[0], o[1]), e.x = e.xt, e.y = e.yt, dv(this.options.colorScale)) this.ctx.strokeStyle = this.options.colorScale(e.m);
|
|
14471
14546
|
else if (Array.isArray(this.options.colorScale)) {
|
|
14472
|
-
let r =
|
|
14547
|
+
let r = Ev(e.m, t, n, this.options.colorScale);
|
|
14473
14548
|
this.ctx.strokeStyle = this.options.colorScale[r];
|
|
14474
14549
|
}
|
|
14475
|
-
|
|
14550
|
+
dv(this.options.lineWidth) && (this.ctx.lineWidth = this.options.lineWidth(e.m)), this.ctx.stroke();
|
|
14476
14551
|
}
|
|
14477
14552
|
}
|
|
14478
14553
|
}
|
|
@@ -14486,10 +14561,10 @@ var Ev = class {
|
|
|
14486
14561
|
randomize() {
|
|
14487
14562
|
return Math.floor(Math.random() * this.options.maxAge);
|
|
14488
14563
|
}
|
|
14489
|
-
},
|
|
14564
|
+
}, Ov = {
|
|
14490
14565
|
ANIMATING: 0,
|
|
14491
14566
|
INTERACTING: 1
|
|
14492
|
-
},
|
|
14567
|
+
}, kv = class extends Zf {
|
|
14493
14568
|
constructor(e) {
|
|
14494
14569
|
super(e), this.pixelTransform = Ns(), this.inversePixelTransform = Ns();
|
|
14495
14570
|
}
|
|
@@ -14501,7 +14576,7 @@ var Ev = class {
|
|
|
14501
14576
|
}
|
|
14502
14577
|
prepareFrame(e) {
|
|
14503
14578
|
let t = e.layerStatesArray[e.layerIndex], n = e.viewState, r = e.viewHints, i = e.extent;
|
|
14504
|
-
return t.extent !== void 0 && (i = Ea(i, As(t.extent, n.projection))), !r[
|
|
14579
|
+
return t.extent !== void 0 && (i = Ea(i, As(t.extent, n.projection))), !r[Ov.ANIMATING] && !e.animate && !r[Ov.INTERACTING] && !Aa(i) ? (this.wind?.isStop?.() && this.wind.start(), !0) : this.getLayer().get("forceRender");
|
|
14505
14580
|
}
|
|
14506
14581
|
prepareContainer(e, t) {
|
|
14507
14582
|
let n = e.size, r = e.viewState.rotation, i = e.pixelRatio, a = Math.round(n[0] * i), o = Math.round(n[1] * i);
|
|
@@ -14535,7 +14610,7 @@ var Ev = class {
|
|
|
14535
14610
|
this.wind && this.wind.updateData(e);
|
|
14536
14611
|
}
|
|
14537
14612
|
execute(e, t, n, r) {
|
|
14538
|
-
this.wind || (this.wind = new
|
|
14613
|
+
this.wind || (this.wind = new Dv(e, n, r), this.wind.project = this.getPixelFromCoordinateInternal.bind(this), this.wind.unproject = this.getCoordinateFromPixel.bind(this), this.wind.intersectsCoordinate = this.intersectsCoordinate.bind(this), this.wind.postrender = () => {}, this.wind.prerender());
|
|
14539
14614
|
}
|
|
14540
14615
|
getPixelFromCoordinateInternal(e) {
|
|
14541
14616
|
let t = this.frameState;
|
|
@@ -14559,12 +14634,12 @@ var Ev = class {
|
|
|
14559
14634
|
}
|
|
14560
14635
|
return !0;
|
|
14561
14636
|
}
|
|
14562
|
-
},
|
|
14637
|
+
}, Av = {
|
|
14563
14638
|
forceRender: !0,
|
|
14564
14639
|
windOptions: {}
|
|
14565
|
-
},
|
|
14640
|
+
}, jv = class extends Qm {
|
|
14566
14641
|
constructor(e, t) {
|
|
14567
|
-
let n =
|
|
14642
|
+
let n = gv({}, Av, t);
|
|
14568
14643
|
super(n), this.options = n, this.className_ = t.className === void 0 ? "wind-layer" : t.className, this.pickWindOptions(), e && this.setData(e, t.fieldOptions);
|
|
14569
14644
|
}
|
|
14570
14645
|
appendTo(e) {
|
|
@@ -14579,13 +14654,13 @@ var Ev = class {
|
|
|
14579
14654
|
e && e.wind.stop();
|
|
14580
14655
|
}
|
|
14581
14656
|
createRenderer() {
|
|
14582
|
-
return new
|
|
14657
|
+
return new kv(this);
|
|
14583
14658
|
}
|
|
14584
14659
|
getRenderer() {
|
|
14585
14660
|
return super.getRenderer();
|
|
14586
14661
|
}
|
|
14587
14662
|
pickWindOptions() {
|
|
14588
|
-
Object.keys(
|
|
14663
|
+
Object.keys(Tv).forEach((e) => {
|
|
14589
14664
|
e in this.options && (this.options.windOptions === void 0 && (this.options.windOptions = {}), this.options.windOptions[e] = this.options[e]);
|
|
14590
14665
|
});
|
|
14591
14666
|
}
|
|
@@ -14593,13 +14668,13 @@ var Ev = class {
|
|
|
14593
14668
|
return this.field;
|
|
14594
14669
|
}
|
|
14595
14670
|
setData(e, t = {}) {
|
|
14596
|
-
e && e.checkFields && e.checkFields() ? this.field = e :
|
|
14671
|
+
e && e.checkFields && e.checkFields() ? this.field = e : hv(e) ? this.field = Sv(e, t) : console.error("Illegal data");
|
|
14597
14672
|
let n = this.getRenderer();
|
|
14598
14673
|
return n && this.field && n.setData(this.field), this.changed(), this;
|
|
14599
14674
|
}
|
|
14600
14675
|
setWindOptions(e) {
|
|
14601
14676
|
let t = this.options.windOptions || {};
|
|
14602
|
-
this.options =
|
|
14677
|
+
this.options = gv(this.options, { windOptions: gv(t, e || {}) });
|
|
14603
14678
|
let n = this.getRenderer();
|
|
14604
14679
|
if (n) {
|
|
14605
14680
|
let e = this.options.windOptions;
|
|
@@ -14620,7 +14695,7 @@ var Ev = class {
|
|
|
14620
14695
|
setMap(e) {
|
|
14621
14696
|
super.setMap(e), e ? this.onAdd() : this.onRemove();
|
|
14622
14697
|
}
|
|
14623
|
-
},
|
|
14698
|
+
}, Mv = (/* @__PURE__ */ t(((e, t) => {
|
|
14624
14699
|
(function() {
|
|
14625
14700
|
var n, r = "4.17.23", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", s = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", l = 500, u = "__lodash_placeholder__", d = 1, f = 2, p = 4, m = 1, h = 2, g = 1, _ = 2, v = 4, y = 8, b = 16, x = 32, S = 64, C = 128, w = 256, ee = 512, T = 30, E = "...", D = 800, O = 16, te = 1, ne = 2, re = 3, k = Infinity, A = 9007199254740991, ie = 17976931348623157e292, ae = NaN, j = 4294967295, oe = j - 1, se = j >>> 1, ce = [
|
|
14626
14701
|
["ary", C],
|
|
@@ -17921,7 +17996,7 @@ var Ev = class {
|
|
|
17921
17996
|
return Ir;
|
|
17922
17997
|
})) : Cn ? ((Cn.exports = Ir)._ = Ir, Sn._ = Ir) : xn._ = Ir;
|
|
17923
17998
|
}).call(e);
|
|
17924
|
-
})))(),
|
|
17999
|
+
})))(), Nv = {
|
|
17925
18000
|
name: "OLMap",
|
|
17926
18001
|
setup() {
|
|
17927
18002
|
let e = /* @__PURE__ */ Jt({
|
|
@@ -17966,6 +18041,7 @@ var Ev = class {
|
|
|
17966
18041
|
sourceMap: null,
|
|
17967
18042
|
layerArr: [],
|
|
17968
18043
|
aniLayerArr: [],
|
|
18044
|
+
clusterArray: [],
|
|
17969
18045
|
projection: null,
|
|
17970
18046
|
resolutions: null,
|
|
17971
18047
|
view: null,
|
|
@@ -18129,7 +18205,7 @@ var Ev = class {
|
|
|
18129
18205
|
}), e.map.on("click", (t) => {
|
|
18130
18206
|
e.drawMark.push(t.coordinate);
|
|
18131
18207
|
});
|
|
18132
|
-
let r = new
|
|
18208
|
+
let r = new ov();
|
|
18133
18209
|
e.map.addInteraction(r), e.map.on("moveend", () => {
|
|
18134
18210
|
console.log("当前页:" + e.target, "缩放级别:" + e.map.getView().getZoom(), "最大:" + e.map.getView().getMaxZoom(), "最小:" + e.map.getView().getMinZoom(), "计算范围:" + e.map.getView().calculateExtent());
|
|
18135
18211
|
}), e.map.on("click", (t) => {
|
|
@@ -18265,7 +18341,7 @@ var Ev = class {
|
|
|
18265
18341
|
}, l = s + "?";
|
|
18266
18342
|
for (let e in c) r.indexOf(e.toUpperCase()) < 0 && (l = l + e + "=" + c[e] + "&");
|
|
18267
18343
|
l = l.slice(0, -1);
|
|
18268
|
-
let u = new
|
|
18344
|
+
let u = new L_({
|
|
18269
18345
|
url: l,
|
|
18270
18346
|
layer: c.LAYER,
|
|
18271
18347
|
matrixSet: c.TILEMATRIXSET,
|
|
@@ -18290,7 +18366,7 @@ var Ev = class {
|
|
|
18290
18366
|
}, l = (t, n, r, i, a = {}) => {
|
|
18291
18367
|
if (!e.map) return Promise.reject(/* @__PURE__ */ Error("来早了宝贝,地图还没加载完成呢!"));
|
|
18292
18368
|
if (!i) return Promise.reject(/* @__PURE__ */ Error("请传入当前polygonName"));
|
|
18293
|
-
let o = r / e.map.getView().getProjection().getMetersPerUnit(), s = new Kc(new
|
|
18369
|
+
let o = r / e.map.getView().getProjection().getMetersPerUnit(), s = new Kc(new R_([Number(t), Number(n)], o)), c = {
|
|
18294
18370
|
name: i,
|
|
18295
18371
|
polygon: s
|
|
18296
18372
|
};
|
|
@@ -18354,11 +18430,11 @@ var Ev = class {
|
|
|
18354
18430
|
}, f = () => {
|
|
18355
18431
|
e.mengBanLayer &&= (e.map.removeLayer(e.mengBanLayer), void 0);
|
|
18356
18432
|
}, p = () => {
|
|
18357
|
-
let n = new
|
|
18433
|
+
let n = new ov();
|
|
18358
18434
|
n.setHitTolerance(5), n.on("select", (n) => {
|
|
18359
18435
|
let r = n.target.getFeatures().getArray()[0].get("text");
|
|
18360
18436
|
if (r && r.clickOpen) {
|
|
18361
|
-
|
|
18437
|
+
_e();
|
|
18362
18438
|
let n = {
|
|
18363
18439
|
page: e.BusFrom,
|
|
18364
18440
|
ds: r,
|
|
@@ -18368,24 +18444,24 @@ var Ev = class {
|
|
|
18368
18444
|
to: null,
|
|
18369
18445
|
methods: "triggerMarker",
|
|
18370
18446
|
triggerIds: "",
|
|
18371
|
-
data: (0,
|
|
18447
|
+
data: (0, Mv.cloneDeep)(n)
|
|
18372
18448
|
});
|
|
18373
18449
|
}
|
|
18374
18450
|
}), e.map.addInteraction(n);
|
|
18375
18451
|
}, m = () => {
|
|
18376
|
-
let n = new
|
|
18452
|
+
let n = new ov();
|
|
18377
18453
|
n.setHitTolerance(5), n.on("select", (e) => {
|
|
18378
18454
|
let n = e.target.getFeatures().getArray();
|
|
18379
18455
|
if (n.length > 0) {
|
|
18380
18456
|
let e = n[0].get("text");
|
|
18381
|
-
t.emit("clickPolygon", (0,
|
|
18457
|
+
t.emit("clickPolygon", (0, Mv.cloneDeep)(e));
|
|
18382
18458
|
}
|
|
18383
18459
|
}), e.map.addInteraction(n), e.polygonClickSelect = n;
|
|
18384
18460
|
}, h = () => {
|
|
18385
18461
|
e.polygonClickSelect && e.polygonClickSelect.getFeatures().clear();
|
|
18386
18462
|
}, g = () => {
|
|
18387
18463
|
let t = e.map.getView().getZoom(), n = e.map.getView().calculateExtent();
|
|
18388
|
-
e.getzoom = Math.floor(t), e.curExtend = n, e.markerJson && w(t), e.lineArray && e.lineArray.length > 0 && ee(t), e.polygonArray && e.polygonArray.length > 0 && T(t), e.ImgBackgroundImgArray && e.ImgBackgroundImgArray.length > 0 &&
|
|
18464
|
+
e.getzoom = Math.floor(t), e.curExtend = n, e.markerJson && w(t), e.lineArray && e.lineArray.length > 0 && ee(t), e.polygonArray && e.polygonArray.length > 0 && T(t), e.ImgBackgroundImgArray && e.ImgBackgroundImgArray.length > 0 && pe(t), e.latlngObj.latlngArr && e.latlngObj.latlngArr.length > 0 && e.latlngObj.latlngArr.map((n, r) => {
|
|
18389
18465
|
n.minZoom && (n.minZoom < t ? e.layerArr[r].setVisible(!0) : e.layerArr[r].setVisible(!1));
|
|
18390
18466
|
});
|
|
18391
18467
|
}, _ = () => {
|
|
@@ -18494,7 +18570,7 @@ var Ev = class {
|
|
|
18494
18570
|
let r = document.querySelector("#" + n);
|
|
18495
18571
|
r && (r.addEventListener("click", () => {
|
|
18496
18572
|
let r = document.querySelector("#" + n).getAttribute("class");
|
|
18497
|
-
|
|
18573
|
+
xe();
|
|
18498
18574
|
let a = {
|
|
18499
18575
|
page: e.BusFrom,
|
|
18500
18576
|
ds: i,
|
|
@@ -18505,12 +18581,12 @@ var Ev = class {
|
|
|
18505
18581
|
to: null,
|
|
18506
18582
|
methods: "triggerMarker",
|
|
18507
18583
|
triggerIds: "",
|
|
18508
|
-
data: (0,
|
|
18584
|
+
data: (0, Mv.cloneDeep)(a)
|
|
18509
18585
|
});
|
|
18510
18586
|
}), i?.otherClickIds && i?.otherClickIds.length > 0 && i.otherClickIds.forEach((e) => {
|
|
18511
18587
|
let n = document.querySelector("#" + e), r = n.getAttribute("class");
|
|
18512
18588
|
n.addEventListener("click", () => {
|
|
18513
|
-
|
|
18589
|
+
xe();
|
|
18514
18590
|
let e = {
|
|
18515
18591
|
ds: i,
|
|
18516
18592
|
index: r,
|
|
@@ -18520,7 +18596,7 @@ var Ev = class {
|
|
|
18520
18596
|
to: null,
|
|
18521
18597
|
methods: "triggerMarker",
|
|
18522
18598
|
triggerIds: "",
|
|
18523
|
-
data: (0,
|
|
18599
|
+
data: (0, Mv.cloneDeep)(e)
|
|
18524
18600
|
});
|
|
18525
18601
|
});
|
|
18526
18602
|
}));
|
|
@@ -18567,7 +18643,168 @@ var Ev = class {
|
|
|
18567
18643
|
}), e.map.addOverlay(c), n && D(s.id, n, r, r.otherData == null ? "" : r.otherData.markId);
|
|
18568
18644
|
});
|
|
18569
18645
|
});
|
|
18570
|
-
}, re = (t) => {
|
|
18646
|
+
}, re = (e, t) => {
|
|
18647
|
+
let n = t.clusterDisplay || "count";
|
|
18648
|
+
if (typeof n == "function") return String(n(e.map((e) => e.get("data"))));
|
|
18649
|
+
if (n === "max") {
|
|
18650
|
+
let n = t.clusterField || "gust", r = -Infinity;
|
|
18651
|
+
return e.forEach((e) => {
|
|
18652
|
+
let t = e.get("data")?.[n];
|
|
18653
|
+
typeof t == "number" && t > r && (r = t);
|
|
18654
|
+
}), r === -Infinity ? "0" : String(r);
|
|
18655
|
+
}
|
|
18656
|
+
return String(e.length);
|
|
18657
|
+
}, k = (e) => (t) => {
|
|
18658
|
+
let n = t.get("features") || [], r = !(e.clusterStyle || []).length, i = e.clusterHitRadius ?? 14, a = (t) => new Yd({
|
|
18659
|
+
image: new Jd({
|
|
18660
|
+
radius: i,
|
|
18661
|
+
fill: new Vd({ color: "rgba(0,0,0,0)" })
|
|
18662
|
+
}),
|
|
18663
|
+
text: new nf({
|
|
18664
|
+
text: t,
|
|
18665
|
+
font: "bold 11px sans-serif",
|
|
18666
|
+
fill: new Vd({ color: e.clusterTextColor || "#fff" }),
|
|
18667
|
+
stroke: new Hd({
|
|
18668
|
+
color: "rgba(0,0,0,0.65)",
|
|
18669
|
+
width: 3
|
|
18670
|
+
})
|
|
18671
|
+
})
|
|
18672
|
+
});
|
|
18673
|
+
if (n.length === 1) {
|
|
18674
|
+
let t = (n[0].get("data") || {})[e.displayField || "gust"];
|
|
18675
|
+
if (r || e.pointStyle === null) return a(String(t ?? ""));
|
|
18676
|
+
let i = e.pointStyle || {
|
|
18677
|
+
radius: 6,
|
|
18678
|
+
color: "#1D9E75",
|
|
18679
|
+
textColor: "#fff"
|
|
18680
|
+
};
|
|
18681
|
+
return new Yd({
|
|
18682
|
+
image: new Jd({
|
|
18683
|
+
radius: i.radius,
|
|
18684
|
+
fill: new Vd({ color: i.color }),
|
|
18685
|
+
stroke: new Hd({
|
|
18686
|
+
color: "#fff",
|
|
18687
|
+
width: 1
|
|
18688
|
+
})
|
|
18689
|
+
}),
|
|
18690
|
+
text: t == null ? null : new nf({
|
|
18691
|
+
text: String(t),
|
|
18692
|
+
font: "12px sans-serif",
|
|
18693
|
+
fill: new Vd({ color: i.textColor || "#fff" }),
|
|
18694
|
+
stroke: new Hd({
|
|
18695
|
+
color: "rgba(0,0,0,0.55)",
|
|
18696
|
+
width: 2
|
|
18697
|
+
}),
|
|
18698
|
+
offsetY: -16
|
|
18699
|
+
})
|
|
18700
|
+
});
|
|
18701
|
+
}
|
|
18702
|
+
let o = re(n, e);
|
|
18703
|
+
if (r) return a(o);
|
|
18704
|
+
let s = n.length;
|
|
18705
|
+
if (e.clusterStyleBy === "value") {
|
|
18706
|
+
let e = Number(o);
|
|
18707
|
+
s = Number.isFinite(e) ? e : n.length;
|
|
18708
|
+
}
|
|
18709
|
+
let c = e.clusterStyle, l = c.find((e) => s <= e.max) || c[c.length - 1];
|
|
18710
|
+
return new Yd({
|
|
18711
|
+
image: new Jd({
|
|
18712
|
+
radius: l.radius,
|
|
18713
|
+
fill: new Vd({ color: l.color }),
|
|
18714
|
+
stroke: new Hd({
|
|
18715
|
+
color: "#fff",
|
|
18716
|
+
width: 1.5
|
|
18717
|
+
})
|
|
18718
|
+
}),
|
|
18719
|
+
text: new nf({
|
|
18720
|
+
text: o,
|
|
18721
|
+
font: "bold 11px sans-serif",
|
|
18722
|
+
fill: new Vd({ color: "#fff" }),
|
|
18723
|
+
stroke: new Hd({
|
|
18724
|
+
color: "rgba(0,0,0,0.35)",
|
|
18725
|
+
width: 2
|
|
18726
|
+
})
|
|
18727
|
+
})
|
|
18728
|
+
});
|
|
18729
|
+
}, A = (n) => {
|
|
18730
|
+
if (!e.map || !n?.layerId || !Array.isArray(n.list)) return;
|
|
18731
|
+
if (n.list.length > 0) {
|
|
18732
|
+
let e = n.list[0], t = (t, n) => {
|
|
18733
|
+
t && e && e[n] === void 0 && console.warn(`[addClusterMarker] ${t} "${n}" 在数据中不存在,会导致聚合/散点态不渲染。可用字段:`, Object.keys(e || {}));
|
|
18734
|
+
};
|
|
18735
|
+
t("displayField", n.displayField), t("clusterField", n.clusterField);
|
|
18736
|
+
}
|
|
18737
|
+
ie(n.layerId);
|
|
18738
|
+
let r = new Bd();
|
|
18739
|
+
n.list.forEach((e) => {
|
|
18740
|
+
let t = Number(e.lng ?? e.lon), i = Number(e.lat);
|
|
18741
|
+
if (!isFinite(t) || !isFinite(i)) return;
|
|
18742
|
+
let a = new Yi({ geometry: new wc([t, i]) });
|
|
18743
|
+
a.set("data", e), a.set("text", { otherData: { polyId: "methods_cluster_" + n.layerId } }), r.addFeature(a);
|
|
18744
|
+
});
|
|
18745
|
+
let i = new j_({
|
|
18746
|
+
source: r,
|
|
18747
|
+
distance: n.distance ?? 40,
|
|
18748
|
+
minDistance: 0
|
|
18749
|
+
}), a = new rh({
|
|
18750
|
+
source: i,
|
|
18751
|
+
style: k(n),
|
|
18752
|
+
zIndex: n.zIndex ?? 20
|
|
18753
|
+
});
|
|
18754
|
+
e.map.addLayer(a);
|
|
18755
|
+
let o = (r) => {
|
|
18756
|
+
let o = n.debug === !0, s = e.map.forEachFeatureAtPixel(r.pixel, (e) => e, { layerFilter: (e) => e === a });
|
|
18757
|
+
if (o && console.log("[cluster] 点击", {
|
|
18758
|
+
pixel: r.pixel,
|
|
18759
|
+
样式命中: !!s
|
|
18760
|
+
}), !s) {
|
|
18761
|
+
let t = n.clusterHitRadius ?? 14, a = i.getClosestFeatureToCoordinate(r.coordinate);
|
|
18762
|
+
if (a) {
|
|
18763
|
+
let n = a.getGeometry(), i = n ? e.map.getPixelFromCoordinate(n.getCoordinates()) : null;
|
|
18764
|
+
if (i) {
|
|
18765
|
+
let e = i[0] - r.pixel[0], n = i[1] - r.pixel[1], c = Math.sqrt(e * e + n * n);
|
|
18766
|
+
o && console.log("[cluster] 回退检测", {
|
|
18767
|
+
最近距离: c,
|
|
18768
|
+
阈值: t
|
|
18769
|
+
}), c <= t && (s = a);
|
|
18770
|
+
}
|
|
18771
|
+
} else o && console.log("[cluster] 回退检测:source 里没有任何要素");
|
|
18772
|
+
}
|
|
18773
|
+
if (!s) {
|
|
18774
|
+
o && console.log("[cluster] 未命中,点得太远");
|
|
18775
|
+
return;
|
|
18776
|
+
}
|
|
18777
|
+
let c = s.get("features") || [];
|
|
18778
|
+
if (c.length <= 1) {
|
|
18779
|
+
t.emit("clickClusterMarker", {
|
|
18780
|
+
layerId: n.layerId,
|
|
18781
|
+
isCluster: !1,
|
|
18782
|
+
data: c[0]?.get("data")
|
|
18783
|
+
});
|
|
18784
|
+
return;
|
|
18785
|
+
}
|
|
18786
|
+
if (t.emit("clickClusterMarker", {
|
|
18787
|
+
layerId: n.layerId,
|
|
18788
|
+
isCluster: !0,
|
|
18789
|
+
count: c.length,
|
|
18790
|
+
list: c.map((e) => e.get("data"))
|
|
18791
|
+
}), n.clusterClickZoom === !1) return;
|
|
18792
|
+
let l = e.map.getView(), u = l.getZoom();
|
|
18793
|
+
l.animate({
|
|
18794
|
+
zoom: Math.min((u || 0) + 2, l.getMaxZoom() || 18),
|
|
18795
|
+
center: s.getGeometry().getCoordinates(),
|
|
18796
|
+
duration: 500
|
|
18797
|
+
});
|
|
18798
|
+
};
|
|
18799
|
+
e.map.on("click", o), e.clusterArray.push({
|
|
18800
|
+
layerId: n.layerId,
|
|
18801
|
+
clusterSource: i,
|
|
18802
|
+
clusterLayer: a,
|
|
18803
|
+
clickListener: o
|
|
18804
|
+
});
|
|
18805
|
+
}, ie = (t) => {
|
|
18806
|
+
!e.clusterArray || !t || (e.clusterArray = e.clusterArray.filter((n) => n.layerId === t ? (e.map.un("click", n.clickListener), e.map.removeLayer(n.clusterLayer), !1) : !0));
|
|
18807
|
+
}, ae = (t) => {
|
|
18571
18808
|
(Array.isArray(t) ? t : t.polygonArr || []).map((t, n) => {
|
|
18572
18809
|
let r = [];
|
|
18573
18810
|
t.polygonJson.map((e, t) => {
|
|
@@ -18586,7 +18823,7 @@ var Ev = class {
|
|
|
18586
18823
|
width: t.weight,
|
|
18587
18824
|
lineDash: t.lineStyle == "solid" ? [] : [6]
|
|
18588
18825
|
}),
|
|
18589
|
-
fill: new Vd({ color:
|
|
18826
|
+
fill: new Vd({ color: M(t.fillColor, t.fillOpacity) })
|
|
18590
18827
|
}),
|
|
18591
18828
|
zIndex: t.zIndex ?? 1
|
|
18592
18829
|
}), o = {
|
|
@@ -18599,7 +18836,7 @@ var Ev = class {
|
|
|
18599
18836
|
};
|
|
18600
18837
|
e.polygonArray.push(o), t.minZoom || t.maxZoom ? t.minZoom && t.minZoom < e.getzoom || t.maxZoom && t.maxZoom > e.getzoom ? o.visible = !0 : (a.setVisible(!1), o.visible = !1) : t.bAni ? (a.setVisible(!1), o.visible = !1) : o.visible = !0, e.map.addLayer(a);
|
|
18601
18838
|
});
|
|
18602
|
-
},
|
|
18839
|
+
}, j = (t, n) => {
|
|
18603
18840
|
e.polygonArray.map((r, i) => {
|
|
18604
18841
|
if (t == r.otherId) {
|
|
18605
18842
|
if (r.source != null) {
|
|
@@ -18610,14 +18847,14 @@ var Ev = class {
|
|
|
18610
18847
|
color: n.color,
|
|
18611
18848
|
lineDash: !n.lineStyle || n.lineStyle == "solid" ? [1] : [6]
|
|
18612
18849
|
}),
|
|
18613
|
-
fill: new Vd({ color:
|
|
18850
|
+
fill: new Vd({ color: M(n.fillColor, n.fillOpacity) })
|
|
18614
18851
|
});
|
|
18615
18852
|
r.source.setStyle(t), e.polygonSelect = r.source;
|
|
18616
18853
|
}
|
|
18617
18854
|
return;
|
|
18618
18855
|
}
|
|
18619
18856
|
});
|
|
18620
|
-
},
|
|
18857
|
+
}, oe = (t) => {
|
|
18621
18858
|
t.lineArr.map((t, n) => {
|
|
18622
18859
|
let r = t.zIndex ?? 999, i = [];
|
|
18623
18860
|
t.lineJson.map((e, t) => {
|
|
@@ -18646,7 +18883,7 @@ var Ev = class {
|
|
|
18646
18883
|
};
|
|
18647
18884
|
e.lineArray.push(s), t.minZoom || t.maxZoom ? t.minZoom && t.minZoom < e.getzoom || t.maxZoom && t.maxZoom > e.getzoom ? s.visible = !0 : (o.setVisible(!1), s.visible = !1) : t.bAni ? (o.setVisible(!1), s.visible = !1) : s.visible = !0, e.map.addLayer(o);
|
|
18648
18885
|
});
|
|
18649
|
-
},
|
|
18886
|
+
}, se = (t, n) => {
|
|
18650
18887
|
e.lineSelect && (e.map.removeLayer(e.lineSelect), e.map.removeLayer(e.lineSelectPreStyle), e.lineSelect = void 0, e.lineSelectPreStyle = void 0), e.lineArray.map((n, r) => {
|
|
18651
18888
|
if (t == n.otherId) {
|
|
18652
18889
|
if (n.source != null) {
|
|
@@ -18672,10 +18909,10 @@ var Ev = class {
|
|
|
18672
18909
|
return;
|
|
18673
18910
|
}
|
|
18674
18911
|
});
|
|
18675
|
-
},
|
|
18912
|
+
}, ce = (t) => {
|
|
18676
18913
|
if (e.lineArray && e.lineArray.length > 0) for (let n = 0; n < e.lineArray.length; n++) t == null ? e.lineArray[n].visible == 0 && (e.lineArray[n].source.setVisible(!0), e.lineArray[n].visible = !0) : e.lineArray[n].otherId.indexOf(t) > -1 && e.lineArray[n].visible == 0 && (e.lineArray[n].source.setVisible(!0), e.lineArray[n].visible = !0);
|
|
18677
|
-
},
|
|
18678
|
-
|
|
18914
|
+
}, M = (e, t) => "rgba(" + parseInt("0x" + e.slice(1, 3)) + "," + parseInt("0x" + e.slice(3, 5)) + "," + parseInt("0x" + e.slice(5, 7)) + "," + t + ")", le = (t) => {
|
|
18915
|
+
ue();
|
|
18679
18916
|
let n = [], r = document.getElementById(e.popupdivName);
|
|
18680
18917
|
n.push(t.htmlString), r.innerHTML = n.join(""), e.PopupO = new gg({
|
|
18681
18918
|
element: r,
|
|
@@ -18686,12 +18923,12 @@ var Ev = class {
|
|
|
18686
18923
|
zIndex: 99,
|
|
18687
18924
|
insertFirst: !1
|
|
18688
18925
|
}), e.PopupO.setPosition([t.lng, t.lat]), e.map.addOverlay(e.PopupO);
|
|
18689
|
-
},
|
|
18926
|
+
}, ue = () => {
|
|
18690
18927
|
document.getElementById(e.popupdivName).innerHTML = "", e.PopupO != null && e.PopupO.setPosition(void 0);
|
|
18691
|
-
},
|
|
18928
|
+
}, de = (t) => {
|
|
18692
18929
|
t.imgArr.map((t, n) => {
|
|
18693
18930
|
let r = {
|
|
18694
|
-
source: new
|
|
18931
|
+
source: new N_({
|
|
18695
18932
|
url: t.imgUrl,
|
|
18696
18933
|
projection: "EPSG:4326",
|
|
18697
18934
|
imageExtent: [
|
|
@@ -18704,24 +18941,24 @@ var Ev = class {
|
|
|
18704
18941
|
opacity: Number(t.opacity)
|
|
18705
18942
|
};
|
|
18706
18943
|
t.zIndex !== void 0 && t.zIndex !== null && (r.zIndex = t.zIndex);
|
|
18707
|
-
let i = new
|
|
18944
|
+
let i = new I_(r);
|
|
18708
18945
|
e.ImgArray.push({
|
|
18709
18946
|
otherId: t.otherData === void 0 ? "" : t.otherData.imgId,
|
|
18710
18947
|
source: i
|
|
18711
18948
|
}), e.map.addLayer(i);
|
|
18712
18949
|
});
|
|
18713
|
-
},
|
|
18950
|
+
}, fe = (t) => {
|
|
18714
18951
|
e.ImgArray && e.ImgArray.length > 0 && e.ImgArray.map((n, r) => {
|
|
18715
18952
|
t == null ? (n.source != null && e.map.removeLayer(n.source), e.ImgArray = []) : t == n.otherId && (n.source != null && e.map.removeLayer(n.source), e.ImgArray.splice(r, 1));
|
|
18716
18953
|
});
|
|
18717
|
-
},
|
|
18954
|
+
}, pe = (t) => {
|
|
18718
18955
|
e.ImgBackgroundImgArray && e.ImgBackgroundImgArray.map((e, n) => {
|
|
18719
18956
|
(e.minZoom || e.maxZoom) && (e.minZoom && e.minZoom < t || e.maxZoom && e.maxZoom > t ? e.source != null && e.visible == 0 && (e.source.setVisible(!0), e.visible = !0) : e.source != null && (e.visible &&= (e.source.setVisible(!1), !1)));
|
|
18720
18957
|
});
|
|
18721
|
-
},
|
|
18958
|
+
}, me = (t) => {
|
|
18722
18959
|
t.imgArr.map((t, n) => {
|
|
18723
|
-
let r = new
|
|
18724
|
-
source: new
|
|
18960
|
+
let r = new I_({
|
|
18961
|
+
source: new N_({
|
|
18725
18962
|
url: t.imgUrl,
|
|
18726
18963
|
projection: "EPSG:4326",
|
|
18727
18964
|
imageExtent: [
|
|
@@ -18742,7 +18979,7 @@ var Ev = class {
|
|
|
18742
18979
|
};
|
|
18743
18980
|
t.minZoom || t.maxZoom ? t.minZoom && t.minZoom < e.getzoom || t.maxZoom && t.maxZoom > e.getzoom ? i.visible = !0 : (r.setVisible(!1), i.visible = !1) : i.visible = !0, e.ImgBackgroundImgArray.push(i), e.map.addLayer(r);
|
|
18744
18981
|
});
|
|
18745
|
-
},
|
|
18982
|
+
}, he = (e) => {
|
|
18746
18983
|
let t = mapJson, n = {
|
|
18747
18984
|
clickOpen: !1,
|
|
18748
18985
|
polygonArr: []
|
|
@@ -18768,8 +19005,8 @@ var Ev = class {
|
|
|
18768
19005
|
});
|
|
18769
19006
|
}
|
|
18770
19007
|
});
|
|
18771
|
-
}),
|
|
18772
|
-
},
|
|
19008
|
+
}), ae(n);
|
|
19009
|
+
}, ge = (t) => {
|
|
18773
19010
|
if (e.markerJson.map((n, r) => {
|
|
18774
19011
|
if (t == null) n.drawArrObj?.map((t, n) => {
|
|
18775
19012
|
document.getElementById(t.divId) && document.getElementById(t.divId).remove(), e.map.removeOverlay(t.overlay);
|
|
@@ -18780,37 +19017,37 @@ var Ev = class {
|
|
|
18780
19017
|
}
|
|
18781
19018
|
}), t == null) e.markerJson = [];
|
|
18782
19019
|
else for (let t = e.markerJson.length - 1; t >= 0; t--) e.markerJson[t].drawArrObj ?? e.markerJson.splice(t, 1);
|
|
18783
|
-
},
|
|
19020
|
+
}, _e = (t) => {
|
|
18784
19021
|
e.markerJsonSelect.map((n, r) => {
|
|
18785
19022
|
t == null ? (document.getElementById(n.divId) && document.getElementById(n.divId).remove(), e.map.removeOverlay(n.overlay)) : n.otherId.indexOf(t) > -1 && (document.getElementById(n.divId) && document.getElementById(n.divId).remove(), e.map.removeLayer(n.overlay), e.markerJsonSelect.splice(r, 1));
|
|
18786
19023
|
}), t ?? (e.markerJsonSelect = []);
|
|
18787
|
-
},
|
|
19024
|
+
}, ve = (t) => {
|
|
18788
19025
|
if (e.polygonArray.map((n, r) => {
|
|
18789
19026
|
t == null ? n.source != null && e.map.removeLayer(n.source) : n.otherId.indexOf(t) > -1 && n.source != null && (e.map.removeLayer(n.source), n.source = void 0);
|
|
18790
19027
|
}), t == null) e.polygonArray = [];
|
|
18791
19028
|
else for (let t = e.polygonArray.length - 1; t >= 0; t--) e.polygonArray[t].source ?? e.polygonArray.splice(t, 1);
|
|
18792
|
-
},
|
|
19029
|
+
}, ye = () => {
|
|
18793
19030
|
e.lineSelect && (e.map.removeLayer(e.lineSelect), e.map.removeLayer(e.lineSelectPreStyle), e.lineSelect = void 0, e.lineSelectPreStyle = void 0);
|
|
18794
|
-
},
|
|
19031
|
+
}, be = (t) => {
|
|
18795
19032
|
if (e.lineArray.map((n, r) => {
|
|
18796
19033
|
t == null ? n.source != null && e.map.removeLayer(n.source) : n.otherId.indexOf(t) > -1 && n.source != null && (e.map.removeLayer(n.source), n.source = void 0);
|
|
18797
19034
|
}), t == null) e.lineArray = [];
|
|
18798
19035
|
else for (let t = e.lineArray.length - 1; t >= 0; t--) e.lineArray[t].source ?? e.lineArray.splice(t, 1);
|
|
18799
|
-
},
|
|
19036
|
+
}, xe = () => {
|
|
18800
19037
|
e.map && e.map.getInteractions().forEach(function(t) {
|
|
18801
|
-
if (t instanceof
|
|
19038
|
+
if (t instanceof ov) {
|
|
18802
19039
|
e.map.removeInteraction(t);
|
|
18803
19040
|
return;
|
|
18804
19041
|
}
|
|
18805
19042
|
});
|
|
18806
|
-
},
|
|
19043
|
+
}, Se = (t) => {
|
|
18807
19044
|
e.ImgBackgroundImgArray && e.ImgBackgroundImgArray.length > 0 && e.ImgBackgroundImgArray.map((n, r) => {
|
|
18808
19045
|
t == null ? (n.source != null && e.map.removeLayer(n.source), e.ImgBackgroundImgArray = []) : t == n.otherId && (n.source != null && e.map.removeLayer(n.source), e.ImgBackgroundImgArray.splice(r, 1));
|
|
18809
19046
|
});
|
|
18810
|
-
},
|
|
19047
|
+
}, Ce = (t) => {
|
|
18811
19048
|
t.imgArr.map((t, n) => {
|
|
18812
|
-
let r = new
|
|
18813
|
-
source: new
|
|
19049
|
+
let r = new I_({
|
|
19050
|
+
source: new N_({
|
|
18814
19051
|
url: t.imgUrl,
|
|
18815
19052
|
projection: "EPSG:4326",
|
|
18816
19053
|
imageExtent: [
|
|
@@ -18828,19 +19065,19 @@ var Ev = class {
|
|
|
18828
19065
|
source: r
|
|
18829
19066
|
}), e.map.addLayer(r);
|
|
18830
19067
|
});
|
|
18831
|
-
},
|
|
19068
|
+
}, we = (t) => {
|
|
18832
19069
|
e.ImgAniArr && e.ImgAniArr[t] && (e.ImgAniArr.map((e, t) => {
|
|
18833
19070
|
e.source != null && e.source.setVisible(!1);
|
|
18834
19071
|
}), e.ImgAniArr[t].source != null && (e.ImgAniArr[t].source.setZIndex(99), e.ImgAniArr[t].source.setVisible(!0)));
|
|
18835
|
-
},
|
|
19072
|
+
}, Te = (t) => {
|
|
18836
19073
|
e.ImgAniArr.map((n, r) => {
|
|
18837
19074
|
t ? t.indexOf(n.otherId) > -1 && (n.source != null && e.map.removeLayer(n.source), e.ImgAniArr.splice(r, 1)) : (n.source != null && e.map.removeLayer(n.source), e.ImgAniArr = []);
|
|
18838
19075
|
});
|
|
18839
|
-
},
|
|
19076
|
+
}, Ee = (t) => {
|
|
18840
19077
|
let n = t.value.ImgAniArr;
|
|
18841
19078
|
t.imgArr.map((t, r) => {
|
|
18842
|
-
let i = new
|
|
18843
|
-
source: new
|
|
19079
|
+
let i = new I_({
|
|
19080
|
+
source: new N_({
|
|
18844
19081
|
url: t.imgUrl,
|
|
18845
19082
|
projection: "EPSG:4326",
|
|
18846
19083
|
imageExtent: [
|
|
@@ -18858,15 +19095,15 @@ var Ev = class {
|
|
|
18858
19095
|
source: i
|
|
18859
19096
|
}), e.map.addLayer(i);
|
|
18860
19097
|
});
|
|
18861
|
-
},
|
|
19098
|
+
}, De = (t, n) => {
|
|
18862
19099
|
e[n] && e[n][t] && (e[n].map((e, t) => {
|
|
18863
19100
|
e.source != null && e.source.setVisible(!1);
|
|
18864
19101
|
}), e[n][t].source != null && (e[n][t].source.setZIndex(99), e[n][t].source.setVisible(!0)));
|
|
18865
|
-
},
|
|
19102
|
+
}, Oe = (t) => {
|
|
18866
19103
|
e[t.ImgAniArr].map((n, r) => {
|
|
18867
19104
|
t.otherId == null ? (n.source != null && e.map.removeLayer(n.source), e[t.ImgAniArr] = []) : t.otherId == n.otherId && (n.source != null && e.map.removeLayer(n.source), e[t.ImgAniArr].splice(r, 1));
|
|
18868
19105
|
});
|
|
18869
|
-
},
|
|
19106
|
+
}, ke = (t) => {
|
|
18870
19107
|
let n = new Yg({
|
|
18871
19108
|
source: c(t.oneLayer),
|
|
18872
19109
|
opacity: t.oneLayer?.opacity || 1,
|
|
@@ -18875,7 +19112,7 @@ var Ev = class {
|
|
|
18875
19112
|
zIndex: t.zIndex || 1
|
|
18876
19113
|
});
|
|
18877
19114
|
e.map.addLayer(n), e.aniLayerArr.push(n), e.layerArr.push(n);
|
|
18878
|
-
},
|
|
19115
|
+
}, Ae = (t) => {
|
|
18879
19116
|
t.arr.map((n, r) => {
|
|
18880
19117
|
let i = new Yg({
|
|
18881
19118
|
source: c(n),
|
|
@@ -18886,11 +19123,11 @@ var Ev = class {
|
|
|
18886
19123
|
});
|
|
18887
19124
|
e.map.addLayer(i), e.aniLayerArr.push(i), console.log("addAniLayerArr", e.aniLayerArr);
|
|
18888
19125
|
});
|
|
18889
|
-
},
|
|
19126
|
+
}, je = (t) => {
|
|
18890
19127
|
e.aniLayerArr && e.aniLayerArr[t] && (e.aniLayerArr.map((e, t) => {
|
|
18891
19128
|
e?.setVisible(!1);
|
|
18892
19129
|
}), e.aniLayerArr[t] != null && e.aniLayerArr[t].setVisible(!0));
|
|
18893
|
-
},
|
|
19130
|
+
}, Me = (t, n, r) => {
|
|
18894
19131
|
if (n) {
|
|
18895
19132
|
e.layerArr.map((e, t) => {
|
|
18896
19133
|
e != null && e.values_.name === n && e.setVisible(r);
|
|
@@ -18901,24 +19138,24 @@ var Ev = class {
|
|
|
18901
19138
|
let n = e.layerArr[t];
|
|
18902
19139
|
n && n.setVisible(r);
|
|
18903
19140
|
}
|
|
18904
|
-
},
|
|
19141
|
+
}, Ne = () => {
|
|
18905
19142
|
e.aniLayerArr === void 0 || e.aniLayerArr.length === 0 || (e.aniLayerArr.map((t, n) => {
|
|
18906
19143
|
e.map.removeLayer(t);
|
|
18907
19144
|
}), e.aniLayerArr = []);
|
|
18908
|
-
},
|
|
19145
|
+
}, Pe = (t, n) => {
|
|
18909
19146
|
if (n) {
|
|
18910
19147
|
let t = e.map?.values_.layergroup.values_.layers.array_.find((e) => e.values_.name === n);
|
|
18911
19148
|
t && t.values_ && e.map.removeLayer(t);
|
|
18912
19149
|
} else t > -1 && e.map.removeLayer(e.map?.values_.layergroup.values_.layers.array_[t]);
|
|
18913
|
-
},
|
|
19150
|
+
}, Fe = (t, n) => {
|
|
18914
19151
|
if (n) {
|
|
18915
19152
|
let t = e.map?.values_.layergroup.values_.layers.array_.find((e) => e.values_.name === n);
|
|
18916
19153
|
t && t.values_ && e.map.removeLayer(t);
|
|
18917
19154
|
} else t > -1 && e.map.removeLayer(e.map?.values_.layergroup.values_.layers.array_[t]);
|
|
18918
|
-
},
|
|
19155
|
+
}, Ie = () => {
|
|
18919
19156
|
e.drawLayer.getSource().clear(), e.drawMark = [];
|
|
18920
|
-
},
|
|
18921
|
-
e.drawMark = [], t !== "None" && (e.draw = new
|
|
19157
|
+
}, N = (t) => {
|
|
19158
|
+
e.drawMark = [], t !== "None" && (e.draw = new ev({
|
|
18922
19159
|
source: e.drawLayer.getSource(),
|
|
18923
19160
|
type: t,
|
|
18924
19161
|
geometryName: "aaa1",
|
|
@@ -18929,14 +19166,14 @@ var Ev = class {
|
|
|
18929
19166
|
}), e.drawArr.push(e.draw), e.draw.on("drawend", (t) => {
|
|
18930
19167
|
e.drawMark = [];
|
|
18931
19168
|
}), e.map.addInteraction(e.draw));
|
|
18932
|
-
},
|
|
19169
|
+
}, Le = () => {
|
|
18933
19170
|
e.draw.removeLastPoint();
|
|
18934
|
-
},
|
|
19171
|
+
}, Re = () => {
|
|
18935
19172
|
e.map.removeInteraction(e.draw);
|
|
18936
|
-
},
|
|
19173
|
+
}, ze = () => {
|
|
18937
19174
|
e.drawLayer.getSource().removeFeature(delete1);
|
|
18938
|
-
},
|
|
18939
|
-
e.windLayer = new
|
|
19175
|
+
}, Be = (t, n, r) => {
|
|
19176
|
+
e.windLayer = new jv(t, {
|
|
18940
19177
|
forceRender: !0,
|
|
18941
19178
|
windOptions: {
|
|
18942
19179
|
velocityScale: n ? 1 / n : 1 / 500,
|
|
@@ -18951,7 +19188,7 @@ var Ev = class {
|
|
|
18951
19188
|
},
|
|
18952
19189
|
projection: "EPSG:4326"
|
|
18953
19190
|
}), e.windLayer.setOpacity(1), e.windLayer.setZIndex(1e4), e.map.addLayer(e.windLayer);
|
|
18954
|
-
},
|
|
19191
|
+
}, Ve = () => {
|
|
18955
19192
|
e.windLayer && e.map.removeLayer(e.windLayer);
|
|
18956
19193
|
};
|
|
18957
19194
|
return {
|
|
@@ -18985,56 +19222,58 @@ var Ev = class {
|
|
|
18985
19222
|
setMarkerHover: O,
|
|
18986
19223
|
setIconMarkerVisibleByIndexRange: te,
|
|
18987
19224
|
addIconMarkerSelect: ne,
|
|
18988
|
-
|
|
18989
|
-
|
|
18990
|
-
|
|
18991
|
-
|
|
18992
|
-
|
|
18993
|
-
|
|
18994
|
-
|
|
18995
|
-
|
|
18996
|
-
|
|
18997
|
-
|
|
18998
|
-
|
|
18999
|
-
|
|
19000
|
-
|
|
19001
|
-
|
|
19002
|
-
|
|
19003
|
-
|
|
19004
|
-
|
|
19005
|
-
|
|
19006
|
-
|
|
19007
|
-
|
|
19008
|
-
|
|
19009
|
-
|
|
19010
|
-
|
|
19011
|
-
|
|
19012
|
-
|
|
19013
|
-
|
|
19014
|
-
|
|
19015
|
-
|
|
19016
|
-
|
|
19017
|
-
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
|
|
19021
|
-
|
|
19022
|
-
|
|
19023
|
-
|
|
19024
|
-
|
|
19025
|
-
|
|
19026
|
-
|
|
19027
|
-
|
|
19225
|
+
addClusterMarker: A,
|
|
19226
|
+
clearClusterMarker: ie,
|
|
19227
|
+
addPolygon: ae,
|
|
19228
|
+
setSelectPolygon: j,
|
|
19229
|
+
addLine: oe,
|
|
19230
|
+
setSelectLine: se,
|
|
19231
|
+
setLineVisibleByIndexRange: ce,
|
|
19232
|
+
hexToRgba: M,
|
|
19233
|
+
addOverlay: le,
|
|
19234
|
+
clearPopup: ue,
|
|
19235
|
+
addImage: de,
|
|
19236
|
+
clearImg: fe,
|
|
19237
|
+
setMapBackgroundImageShowByZoom: pe,
|
|
19238
|
+
addMapBackgroundImage: me,
|
|
19239
|
+
getmapPoint: he,
|
|
19240
|
+
clearShowdefault: ge,
|
|
19241
|
+
clearShowarea: ve,
|
|
19242
|
+
clearShowdefaultSelect: _e,
|
|
19243
|
+
clearSelectLine: ye,
|
|
19244
|
+
clearShowLine: be,
|
|
19245
|
+
clearAllSelect: xe,
|
|
19246
|
+
clearMapBackgroundImg: Se,
|
|
19247
|
+
addImageAniArr: Ce,
|
|
19248
|
+
setImgAniShowByIndex: we,
|
|
19249
|
+
clearImgAniArr: Te,
|
|
19250
|
+
addImageAniArr2: Ee,
|
|
19251
|
+
setImgAniShowByIndex2: De,
|
|
19252
|
+
clearImgAniArr2: Oe,
|
|
19253
|
+
addOneAniLayer: ke,
|
|
19254
|
+
addAniLayerArr: Ae,
|
|
19255
|
+
setOneAniLayerShow: je,
|
|
19256
|
+
clearAllAniLayer: Ne,
|
|
19257
|
+
removeOneAniLayer: Pe,
|
|
19258
|
+
removeOneAniLayerFY: Fe,
|
|
19259
|
+
getTypeSelected: Ie,
|
|
19260
|
+
addInteraction: N,
|
|
19261
|
+
syb: Le,
|
|
19262
|
+
endD: Re,
|
|
19263
|
+
deleD: ze,
|
|
19264
|
+
addWindLayer: Be,
|
|
19265
|
+
clearWindLayer: Ve,
|
|
19266
|
+
setMapVisible: Me
|
|
19028
19267
|
};
|
|
19029
19268
|
}
|
|
19030
|
-
},
|
|
19031
|
-
function
|
|
19032
|
-
return S(), m("div",
|
|
19269
|
+
}, Pv = { ref: "OLMap" }, Fv = ["id"], Iv = ["id"];
|
|
19270
|
+
function Lv(e, t, n, r, i, a) {
|
|
19271
|
+
return S(), m("div", Pv, [h("div", {
|
|
19033
19272
|
id: e.mapdivName,
|
|
19034
19273
|
style: b(e.mapStyle)
|
|
19035
|
-
}, null, 12,
|
|
19274
|
+
}, null, 12, Fv), h("div", { id: e.popupdivName }, null, 8, Iv)], 512);
|
|
19036
19275
|
}
|
|
19037
|
-
var
|
|
19276
|
+
var Rv = /* @__PURE__ */ n(Nv, [["render", Lv]]), zv = "data:image/png;base64,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", Bv = /* @__PURE__ */ t(((e, t) => {
|
|
19038
19277
|
(function(e) {
|
|
19039
19278
|
var n = y(), r = b(), i = x(), a = S(), o = {
|
|
19040
19279
|
imagePlaceholder: void 0,
|
|
@@ -19477,7 +19716,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
19477
19716
|
}
|
|
19478
19717
|
}
|
|
19479
19718
|
})(e);
|
|
19480
|
-
})),
|
|
19719
|
+
})), Vv = {
|
|
19481
19720
|
type: "FeatureCollection",
|
|
19482
19721
|
features: [{
|
|
19483
19722
|
type: "Feature",
|
|
@@ -21782,7 +22021,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
21782
22021
|
]]]
|
|
21783
22022
|
}
|
|
21784
22023
|
}]
|
|
21785
|
-
},
|
|
22024
|
+
}, Hv = {
|
|
21786
22025
|
type: "FeatureCollection",
|
|
21787
22026
|
features: [
|
|
21788
22027
|
{
|
|
@@ -26146,7 +26385,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
26146
26385
|
}
|
|
26147
26386
|
}
|
|
26148
26387
|
]
|
|
26149
|
-
},
|
|
26388
|
+
}, Uv = {
|
|
26150
26389
|
type: "FeatureCollection",
|
|
26151
26390
|
features: [
|
|
26152
26391
|
{
|
|
@@ -32366,46 +32605,46 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
32366
32605
|
}
|
|
32367
32606
|
}
|
|
32368
32607
|
]
|
|
32369
|
-
},
|
|
32608
|
+
}, Wv = /* @__PURE__ */ e(Bv()), Gv = {
|
|
32370
32609
|
class: "ImageGeneration",
|
|
32371
32610
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
32372
|
-
},
|
|
32611
|
+
}, Kv = { class: "MakeImg" }, qv = { class: "MakeImg-wrap" }, Jv = {
|
|
32373
32612
|
class: "MakeImg-wrap-line",
|
|
32374
32613
|
style: {
|
|
32375
32614
|
top: "-1% !important",
|
|
32376
32615
|
left: "0 !important"
|
|
32377
32616
|
}
|
|
32378
|
-
},
|
|
32617
|
+
}, Yv = { class: "MakeImg-wrap-line-li-num" }, Xv = {
|
|
32379
32618
|
class: "MakeImg-wrap-line",
|
|
32380
32619
|
style: {
|
|
32381
32620
|
bottom: "-3px !important",
|
|
32382
32621
|
left: "0 !important",
|
|
32383
32622
|
"align-items": "start !important"
|
|
32384
32623
|
}
|
|
32385
|
-
},
|
|
32624
|
+
}, Zv = { class: "MakeImg-wrap-line-li-num" }, Qv = {
|
|
32386
32625
|
class: "MakeImg-wrap-lineSlide",
|
|
32387
32626
|
style: { left: "-1% !important" }
|
|
32388
|
-
},
|
|
32627
|
+
}, $v = { class: "MakeImg-wrap-lineSlide-li-num" }, ey = {
|
|
32389
32628
|
class: "MakeImg-wrap-lineSlide",
|
|
32390
32629
|
style: {
|
|
32391
32630
|
right: "-3px !important",
|
|
32392
32631
|
"align-items": "start !important"
|
|
32393
32632
|
}
|
|
32394
|
-
},
|
|
32633
|
+
}, ty = { class: "MakeImg-wrap-lineSlide-li-num" }, ny = {
|
|
32395
32634
|
class: "MakeImg-wrap-pointer",
|
|
32396
|
-
src:
|
|
32635
|
+
src: zv,
|
|
32397
32636
|
alt: "",
|
|
32398
32637
|
draggable: "false"
|
|
32399
|
-
},
|
|
32638
|
+
}, ry = { class: "MakeImg-wrap-legend-title" }, iy = { class: "MakeImg-wrap-legend-li-name" }, ay = { class: "MakeImg-opt" }, oy = { class: "MakeImg-opt-content" }, sy = { class: "MakeImg-opt-li" }, cy = { class: "MakeImg-opt-li-check" }, ly = { class: "MakeImg-opt-li-check-item" }, uy = { class: "MakeImg-opt-li-check-item" }, dy = { class: "MakeImg-opt-li-check-item" }, fy = { class: "MakeImg-opt-li-check-item" }, py = { class: "MakeImg-opt-li-check-item" }, my = { class: "MakeImg-opt-li-check-item" }, hy = { class: "MakeImg-opt-li-check-item-title" }, gy = { class: "MakeImg-opt-li-check-item" }, _y = { class: "MakeImg-opt-li-check-item" }, vy = { class: "MakeImg-opt-li" }, yy = { class: "MakeImg-opt-li-title" }, by = { class: "MakeImg-opt-li-input" }, xy = { class: "MakeImg-opt-li-input" }, Sy = { class: "MakeImg-opt-li" }, Cy = { class: "MakeImg-opt-li-title" }, wy = { class: "MakeImg-opt-li-input" }, Ty = { class: "MakeImg-opt-li-input" }, Ey = { class: "MakeImg-opt-li" }, Dy = { class: "MakeImg-opt-li-title" }, Oy = { class: "MakeImg-opt-li-input" }, ky = { class: "MakeImg-opt-li-input" }, Ay = { class: "MakeImg-opt-li-input" }, jy = { class: "MakeImg-opt-li" }, My = { class: "MakeImg-opt-li-title" }, Ny = { class: "MakeImg-opt-li-input" }, Py = { class: "MakeImg-opt-li-input" }, Fy = {
|
|
32400
32639
|
key: 0,
|
|
32401
32640
|
class: "MakeImg-opt-li-input"
|
|
32402
|
-
},
|
|
32641
|
+
}, Iy = {
|
|
32403
32642
|
key: 1,
|
|
32404
32643
|
class: "MakeImg-opt-li-input"
|
|
32405
|
-
},
|
|
32644
|
+
}, Ly = {
|
|
32406
32645
|
key: 2,
|
|
32407
32646
|
class: "MakeImg-opt-li-input"
|
|
32408
|
-
},
|
|
32647
|
+
}, Ry = { class: "MakeImg-opt-li-input" }, zy = { class: "MakeImg-opt-li-action-group" }, By = ["disabled", "onClick"], Vy = ["disabled", "onClick"], Hy = ["onClick"], Uy = { class: "MakeImg-opt-footer" }, Wy = /* @__PURE__ */ n({
|
|
32409
32648
|
__name: "ImageGeneration",
|
|
32410
32649
|
props: {
|
|
32411
32650
|
baseHttp: {
|
|
@@ -33085,7 +33324,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33085
33324
|
k.value.clearShowarea("province");
|
|
33086
33325
|
return;
|
|
33087
33326
|
}
|
|
33088
|
-
let { features: e } =
|
|
33327
|
+
let { features: e } = Vv, t = [];
|
|
33089
33328
|
e.forEach((e) => {
|
|
33090
33329
|
let n = {
|
|
33091
33330
|
width: 1,
|
|
@@ -33107,7 +33346,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33107
33346
|
k.value.clearShowarea("county");
|
|
33108
33347
|
return;
|
|
33109
33348
|
}
|
|
33110
|
-
let { features: e } =
|
|
33349
|
+
let { features: e } = Hv, t = [];
|
|
33111
33350
|
e.forEach((e) => {
|
|
33112
33351
|
let n = {
|
|
33113
33352
|
width: 1,
|
|
@@ -33129,7 +33368,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33129
33368
|
k.value.clearShowarea("city");
|
|
33130
33369
|
return;
|
|
33131
33370
|
}
|
|
33132
|
-
let { features: e } =
|
|
33371
|
+
let { features: e } = Uv, t = [];
|
|
33133
33372
|
e.forEach((e) => {
|
|
33134
33373
|
let n = {
|
|
33135
33374
|
width: 1,
|
|
@@ -33162,7 +33401,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33162
33401
|
}],
|
|
33163
33402
|
drawArrObj: [],
|
|
33164
33403
|
onlyLayerID: "cityName"
|
|
33165
|
-
}, { features: t } =
|
|
33404
|
+
}, { features: t } = Uv;
|
|
33166
33405
|
t.forEach((t) => {
|
|
33167
33406
|
let n = `
|
|
33168
33407
|
<div style='font-size:12px;color: ${A.params.map.areaNameColor};font-weight: bold;text-shadow: 1px 0 #fff,-1px 0 #fff,0 1px #fff,0 -1px #fff,1px 1px #fff,-1px -1px #fff,1px -1px #fff,-1px 1px #fff;'>
|
|
@@ -33192,7 +33431,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33192
33431
|
}],
|
|
33193
33432
|
drawArrObj: [],
|
|
33194
33433
|
onlyLayerID: "routeAreaName"
|
|
33195
|
-
}, { features: t } =
|
|
33434
|
+
}, { features: t } = Hv;
|
|
33196
33435
|
t.forEach((t) => {
|
|
33197
33436
|
let n = `
|
|
33198
33437
|
<div style='font-size:7px;color: ${A.params.map.routeAreaNameColor};font-weight: bold;text-shadow: 1px 0 #fff,-1px 0 #fff,0 1px #fff,0 -1px #fff,1px 1px #fff,-1px -1px #fff,1px -1px #fff,-1px 1px #fff;'>
|
|
@@ -33211,7 +33450,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33211
33450
|
}, ye = async () => {
|
|
33212
33451
|
let e = document.querySelector(".MakeImg-wrap");
|
|
33213
33452
|
if (e) try {
|
|
33214
|
-
let t = await
|
|
33453
|
+
let t = await Wv.default.toPng(e, {
|
|
33215
33454
|
cacheBust: !0,
|
|
33216
33455
|
bgcolor: "#fff",
|
|
33217
33456
|
quality: 1,
|
|
@@ -33259,9 +33498,9 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33259
33498
|
v("close", "ImageGeneration");
|
|
33260
33499
|
};
|
|
33261
33500
|
return (e, t) => {
|
|
33262
|
-
let n =
|
|
33501
|
+
let n = Rv, v = i, x = a, C = s, w = l, ie = u, ae = r, j = o, se = c;
|
|
33263
33502
|
return S(), f(j, { locale: E(ne) }, {
|
|
33264
|
-
default: O(() => [te((S(), m("div",
|
|
33503
|
+
default: O(() => [te((S(), m("div", Gv, [h("div", { class: "ImageGeneration__head" }, [h("div", { class: "ImageGeneration__head-top" }, [t[34] ||= h("div", null, "产品图生成", -1), h("div", {
|
|
33265
33504
|
class: "closeBtn",
|
|
33266
33505
|
onClick: Se,
|
|
33267
33506
|
title: "关闭"
|
|
@@ -33269,28 +33508,28 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33269
33508
|
class: "ImageGeneration__head-line",
|
|
33270
33509
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC",
|
|
33271
33510
|
alt: ""
|
|
33272
|
-
}, null, -1)]), h("div",
|
|
33511
|
+
}, null, -1)]), h("div", Kv, [h("div", qv, [h("div", { class: y(["MakeImg-wrap-map", { "has-border": A.params?.map.showBorderAndDegree }]) }, [
|
|
33273
33512
|
_(n, {
|
|
33274
33513
|
ref_key: "ref_OLMap",
|
|
33275
33514
|
ref: k,
|
|
33276
33515
|
onMapInfo: be
|
|
33277
33516
|
}, null, 512),
|
|
33278
|
-
te(h("div",
|
|
33517
|
+
te(h("div", Jv, [(S(!0), m(d, null, ee(A.topDegree, (e, n) => (S(), m("div", {
|
|
33279
33518
|
key: n,
|
|
33280
33519
|
class: "MakeImg-wrap-line-li"
|
|
33281
|
-
}, [h("div",
|
|
33282
|
-
te(h("div",
|
|
33520
|
+
}, [h("div", Yv, T(e) + "E", 1), t[36] ||= h("div", { class: "MakeImg-wrap-line-li-block" }, null, -1)]))), 128))], 512), [[D, A.params?.map.showBorderAndDegree]]),
|
|
33521
|
+
te(h("div", Xv, [(S(!0), m(d, null, ee(A.bottomDegree, (e, n) => (S(), m("div", {
|
|
33283
33522
|
key: n,
|
|
33284
33523
|
class: "MakeImg-wrap-line-li"
|
|
33285
|
-
}, [t[37] ||= h("div", { class: "MakeImg-wrap-line-li-block" }, null, -1), h("div",
|
|
33286
|
-
te(h("div",
|
|
33524
|
+
}, [t[37] ||= h("div", { class: "MakeImg-wrap-line-li-block" }, null, -1), h("div", Zv, T(e) + "E", 1)]))), 128))], 512), [[D, A.params?.map.showBorderAndDegree]]),
|
|
33525
|
+
te(h("div", Qv, [(S(!0), m(d, null, ee(A.leftDegree, (e, n) => (S(), m("div", {
|
|
33287
33526
|
key: n,
|
|
33288
33527
|
class: "MakeImg-wrap-lineSlide-li"
|
|
33289
|
-
}, [h("div",
|
|
33290
|
-
te(h("div",
|
|
33528
|
+
}, [h("div", $v, T(e) + "N", 1), t[38] ||= h("div", { class: "MakeImg-wrap-lineSlide-li-block" }, null, -1)]))), 128))], 512), [[D, A.params?.map.showBorderAndDegree]]),
|
|
33529
|
+
te(h("div", ey, [(S(!0), m(d, null, ee(A.rightDegree, (e, n) => (S(), m("div", {
|
|
33291
33530
|
key: n,
|
|
33292
33531
|
class: "MakeImg-wrap-lineSlide-li"
|
|
33293
|
-
}, [t[39] ||= h("div", { class: "MakeImg-wrap-lineSlide-li-block" }, null, -1), h("div",
|
|
33532
|
+
}, [t[39] ||= h("div", { class: "MakeImg-wrap-lineSlide-li-block" }, null, -1), h("div", ty, T(e) + "N", 1)]))), 128))], 512), [[D, A.params?.map.showBorderAndDegree]])
|
|
33294
33533
|
], 2), A.params ? (S(), m(d, { key: 0 }, [
|
|
33295
33534
|
te(h("div", {
|
|
33296
33535
|
class: "MakeImg-wrap-title",
|
|
@@ -33306,7 +33545,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33306
33545
|
color: A.params.date.dateColor
|
|
33307
33546
|
})
|
|
33308
33547
|
}, T(A.params.date.dateText), 5), [[D, A.params.date.showDate]]),
|
|
33309
|
-
te(h("img",
|
|
33548
|
+
te(h("img", ny, null, 512), [[D, A.params.map.showPointer]]),
|
|
33310
33549
|
te(h("div", {
|
|
33311
33550
|
class: "MakeImg-wrap-signature",
|
|
33312
33551
|
style: b({
|
|
@@ -33320,18 +33559,18 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33320
33559
|
fontSize: A.params.legend.legendFontSize + "px",
|
|
33321
33560
|
color: A.params.legend.legendColor
|
|
33322
33561
|
})
|
|
33323
|
-
}, [h("div",
|
|
33562
|
+
}, [h("div", ry, T(A.params.legend.name), 1), h("div", { class: y(["MakeImg-wrap-legend-list", { "is-vertical": A.params.legend.direction === "vertical" }]) }, [(S(!0), m(d, null, ee(A.params.legend.list, (e, t) => (S(), m("div", {
|
|
33324
33563
|
key: t,
|
|
33325
33564
|
class: "MakeImg-wrap-legend-li"
|
|
33326
33565
|
}, [h("div", {
|
|
33327
33566
|
class: "MakeImg-wrap-legend-li-color",
|
|
33328
33567
|
style: b({ "background-color": e.color })
|
|
33329
|
-
}, null, 4), h("div",
|
|
33330
|
-
], 64)) : p("", !0)]), h("div",
|
|
33568
|
+
}, null, 4), h("div", iy, T(e.name), 1)]))), 128))], 2)], 4), [[D, A.params.legend.showLegend]])
|
|
33569
|
+
], 64)) : p("", !0)]), h("div", ay, [
|
|
33331
33570
|
t[67] ||= h("div", { class: "MakeImg-opt-head" }, " 配置选项 ", -1),
|
|
33332
|
-
h("div",
|
|
33333
|
-
h("div",
|
|
33334
|
-
h("div",
|
|
33571
|
+
h("div", oy, [A.params ? (S(), m(d, { key: 0 }, [
|
|
33572
|
+
h("div", sy, [t[48] ||= h("div", { class: "MakeImg-opt-li-title" }, " 地图 ", -1), h("div", cy, [
|
|
33573
|
+
h("div", ly, [
|
|
33335
33574
|
_(v, {
|
|
33336
33575
|
modelValue: A.params.map.showProvince,
|
|
33337
33576
|
"onUpdate:modelValue": t[0] ||= (e) => A.params.map.showProvince = e,
|
|
@@ -33348,7 +33587,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33348
33587
|
onChange: pe
|
|
33349
33588
|
}, null, 8, ["modelValue"])
|
|
33350
33589
|
]),
|
|
33351
|
-
h("div",
|
|
33590
|
+
h("div", uy, [
|
|
33352
33591
|
_(v, {
|
|
33353
33592
|
modelValue: A.params.map.showCity,
|
|
33354
33593
|
"onUpdate:modelValue": t[2] ||= (e) => A.params.map.showCity = e,
|
|
@@ -33365,7 +33604,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33365
33604
|
onChange: he
|
|
33366
33605
|
}, null, 8, ["modelValue"])
|
|
33367
33606
|
]),
|
|
33368
|
-
h("div",
|
|
33607
|
+
h("div", dy, [
|
|
33369
33608
|
_(v, {
|
|
33370
33609
|
modelValue: A.params.map.showCounty,
|
|
33371
33610
|
"onUpdate:modelValue": t[4] ||= (e) => A.params.map.showCounty = e,
|
|
@@ -33382,7 +33621,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33382
33621
|
onChange: me
|
|
33383
33622
|
}, null, 8, ["modelValue"])
|
|
33384
33623
|
]),
|
|
33385
|
-
h("div",
|
|
33624
|
+
h("div", fy, [
|
|
33386
33625
|
_(v, {
|
|
33387
33626
|
modelValue: A.params.map.showAreaName,
|
|
33388
33627
|
"onUpdate:modelValue": t[6] ||= (e) => A.params.map.showAreaName = e,
|
|
@@ -33399,7 +33638,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33399
33638
|
onChange: ge
|
|
33400
33639
|
}, null, 8, ["modelValue"])
|
|
33401
33640
|
]),
|
|
33402
|
-
h("div",
|
|
33641
|
+
h("div", py, [
|
|
33403
33642
|
_(v, {
|
|
33404
33643
|
modelValue: A.params.map.showRouteAreaName,
|
|
33405
33644
|
"onUpdate:modelValue": t[8] ||= (e) => A.params.map.showRouteAreaName = e,
|
|
@@ -33416,21 +33655,21 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33416
33655
|
onChange: _e
|
|
33417
33656
|
}, null, 8, ["modelValue"])
|
|
33418
33657
|
]),
|
|
33419
|
-
h("div",
|
|
33658
|
+
h("div", my, [_(v, {
|
|
33420
33659
|
modelValue: A.showTopLayer,
|
|
33421
33660
|
"onUpdate:modelValue": t[10] ||= (e) => A.showTopLayer = e,
|
|
33422
33661
|
label: "",
|
|
33423
33662
|
size: "large",
|
|
33424
33663
|
onChange: M
|
|
33425
|
-
}, null, 8, ["modelValue"]), h("div",
|
|
33426
|
-
h("div",
|
|
33664
|
+
}, null, 8, ["modelValue"]), h("div", hy, T(A.topLayer?.name), 1)]),
|
|
33665
|
+
h("div", gy, [_(v, {
|
|
33427
33666
|
modelValue: A.params.map.showBorderAndDegree,
|
|
33428
33667
|
"onUpdate:modelValue": t[11] ||= (e) => A.params.map.showBorderAndDegree = e,
|
|
33429
33668
|
label: "",
|
|
33430
33669
|
size: "large",
|
|
33431
33670
|
onChange: ve
|
|
33432
33671
|
}, null, 8, ["modelValue"]), t[45] ||= h("div", { class: "MakeImg-opt-li-check-item-title" }, " 边框线和分段线 ", -1)]),
|
|
33433
|
-
h("div",
|
|
33672
|
+
h("div", _y, [
|
|
33434
33673
|
_(v, {
|
|
33435
33674
|
modelValue: A.params.map.showPointer,
|
|
33436
33675
|
"onUpdate:modelValue": t[12] ||= (e) => A.params.map.showPointer = e,
|
|
@@ -33441,14 +33680,14 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33441
33680
|
t[47] ||= h("div", { class: "MakeImg-opt-li-check-item-placeholder" }, null, -1)
|
|
33442
33681
|
])
|
|
33443
33682
|
])]),
|
|
33444
|
-
h("div",
|
|
33445
|
-
h("div",
|
|
33683
|
+
h("div", vy, [
|
|
33684
|
+
h("div", yy, [_(v, {
|
|
33446
33685
|
modelValue: A.params.title.showTitle,
|
|
33447
33686
|
"onUpdate:modelValue": t[13] ||= (e) => A.params.title.showTitle = e,
|
|
33448
33687
|
label: "",
|
|
33449
33688
|
size: "large"
|
|
33450
33689
|
}, null, 8, ["modelValue"]), t[49] ||= g(" 标题 ", -1)]),
|
|
33451
|
-
h("div",
|
|
33690
|
+
h("div", by, [
|
|
33452
33691
|
t[50] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 文字大小: ", -1),
|
|
33453
33692
|
_(C, {
|
|
33454
33693
|
modelValue: A.params.title.titleFontSize,
|
|
@@ -33462,7 +33701,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33462
33701
|
class: "MakeImg-opt-color"
|
|
33463
33702
|
}, null, 8, ["modelValue"])
|
|
33464
33703
|
]),
|
|
33465
|
-
h("div",
|
|
33704
|
+
h("div", xy, [t[51] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 内容: ", -1), _(C, {
|
|
33466
33705
|
modelValue: A.params.title.titleText,
|
|
33467
33706
|
"onUpdate:modelValue": t[16] ||= (e) => A.params.title.titleText = e,
|
|
33468
33707
|
type: "textarea",
|
|
@@ -33471,14 +33710,14 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33471
33710
|
placeholder: "请输入"
|
|
33472
33711
|
}, null, 8, ["modelValue"])])
|
|
33473
33712
|
]),
|
|
33474
|
-
h("div",
|
|
33475
|
-
h("div",
|
|
33713
|
+
h("div", Sy, [
|
|
33714
|
+
h("div", Cy, [_(v, {
|
|
33476
33715
|
modelValue: A.params.date.showDate,
|
|
33477
33716
|
"onUpdate:modelValue": t[17] ||= (e) => A.params.date.showDate = e,
|
|
33478
33717
|
label: "",
|
|
33479
33718
|
size: "large"
|
|
33480
33719
|
}, null, 8, ["modelValue"]), t[52] ||= g(" 日期 ", -1)]),
|
|
33481
|
-
h("div",
|
|
33720
|
+
h("div", wy, [
|
|
33482
33721
|
t[53] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 文字大小: ", -1),
|
|
33483
33722
|
_(C, {
|
|
33484
33723
|
modelValue: A.params.date.dateFontSize,
|
|
@@ -33492,7 +33731,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33492
33731
|
class: "MakeImg-opt-color"
|
|
33493
33732
|
}, null, 8, ["modelValue"])
|
|
33494
33733
|
]),
|
|
33495
|
-
h("div",
|
|
33734
|
+
h("div", Ty, [t[54] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 内容: ", -1), _(C, {
|
|
33496
33735
|
modelValue: A.params.date.dateText,
|
|
33497
33736
|
"onUpdate:modelValue": t[20] ||= (e) => A.params.date.dateText = e,
|
|
33498
33737
|
type: "textarea",
|
|
@@ -33501,14 +33740,14 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33501
33740
|
placeholder: "请输入"
|
|
33502
33741
|
}, null, 8, ["modelValue"])])
|
|
33503
33742
|
]),
|
|
33504
|
-
h("div",
|
|
33505
|
-
h("div",
|
|
33743
|
+
h("div", Ey, [
|
|
33744
|
+
h("div", Dy, [_(v, {
|
|
33506
33745
|
modelValue: A.params.signature.showSignature,
|
|
33507
33746
|
"onUpdate:modelValue": t[21] ||= (e) => A.params.signature.showSignature = e,
|
|
33508
33747
|
label: "",
|
|
33509
33748
|
size: "large"
|
|
33510
33749
|
}, null, 8, ["modelValue"]), t[55] ||= g(" 落款 ", -1)]),
|
|
33511
|
-
h("div",
|
|
33750
|
+
h("div", Oy, [
|
|
33512
33751
|
t[56] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 文字大小: ", -1),
|
|
33513
33752
|
_(C, {
|
|
33514
33753
|
modelValue: A.params.signature.signatureFontSize,
|
|
@@ -33522,7 +33761,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33522
33761
|
class: "MakeImg-opt-color"
|
|
33523
33762
|
}, null, 8, ["modelValue"])
|
|
33524
33763
|
]),
|
|
33525
|
-
h("div",
|
|
33764
|
+
h("div", ky, [t[57] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 内容: ", -1), _(C, {
|
|
33526
33765
|
modelValue: A.params.signature.signatureText,
|
|
33527
33766
|
"onUpdate:modelValue": t[24] ||= (e) => A.params.signature.signatureText = e,
|
|
33528
33767
|
type: "textarea",
|
|
@@ -33530,7 +33769,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33530
33769
|
rows: "1",
|
|
33531
33770
|
placeholder: "请输入"
|
|
33532
33771
|
}, null, 8, ["modelValue"])]),
|
|
33533
|
-
h("div",
|
|
33772
|
+
h("div", Ay, [t[58] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 日期: ", -1), _(C, {
|
|
33534
33773
|
modelValue: A.params.signature.signatureDate,
|
|
33535
33774
|
"onUpdate:modelValue": t[25] ||= (e) => A.params.signature.signatureDate = e,
|
|
33536
33775
|
type: "textarea",
|
|
@@ -33539,8 +33778,8 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33539
33778
|
placeholder: "请输入"
|
|
33540
33779
|
}, null, 8, ["modelValue"])])
|
|
33541
33780
|
]),
|
|
33542
|
-
h("div",
|
|
33543
|
-
h("div",
|
|
33781
|
+
h("div", jy, [
|
|
33782
|
+
h("div", My, [
|
|
33544
33783
|
_(v, {
|
|
33545
33784
|
modelValue: A.params.legend.showLegend,
|
|
33546
33785
|
"onUpdate:modelValue": t[26] ||= (e) => A.params.legend.showLegend = e,
|
|
@@ -33554,7 +33793,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33554
33793
|
onClick: le
|
|
33555
33794
|
}, "+")
|
|
33556
33795
|
]),
|
|
33557
|
-
h("div",
|
|
33796
|
+
h("div", Ny, [t[60] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 图例样式: ", -1), _(ie, {
|
|
33558
33797
|
modelValue: A.params.legend.type,
|
|
33559
33798
|
"onUpdate:modelValue": t[27] ||= (e) => A.params.legend.type = e,
|
|
33560
33799
|
placeholder: "请选择",
|
|
@@ -33567,7 +33806,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33567
33806
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
33568
33807
|
_: 1
|
|
33569
33808
|
}, 8, ["modelValue"])]),
|
|
33570
|
-
h("div",
|
|
33809
|
+
h("div", Py, [t[61] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 图例方向: ", -1), _(ie, {
|
|
33571
33810
|
modelValue: A.params.legend.direction,
|
|
33572
33811
|
"onUpdate:modelValue": t[28] ||= (e) => A.params.legend.direction = e,
|
|
33573
33812
|
placeholder: "请选择"
|
|
@@ -33581,26 +33820,26 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33581
33820
|
})]),
|
|
33582
33821
|
_: 1
|
|
33583
33822
|
}, 8, ["modelValue"])]),
|
|
33584
|
-
A.params.legend.type === "自定义" ? p("", !0) : (S(), m("div",
|
|
33823
|
+
A.params.legend.type === "自定义" ? p("", !0) : (S(), m("div", Fy, [t[62] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 最小值: ", -1), _(C, {
|
|
33585
33824
|
modelValue: A.params.legend.min,
|
|
33586
33825
|
"onUpdate:modelValue": t[29] ||= (e) => A.params.legend.min = e,
|
|
33587
33826
|
type: "number",
|
|
33588
33827
|
placeholder: "请输入",
|
|
33589
33828
|
onInput: oe
|
|
33590
33829
|
}, null, 8, ["modelValue"])])),
|
|
33591
|
-
A.params.legend.type === "自定义" ? p("", !0) : (S(), m("div",
|
|
33830
|
+
A.params.legend.type === "自定义" ? p("", !0) : (S(), m("div", Iy, [t[63] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 最大值: ", -1), _(C, {
|
|
33592
33831
|
modelValue: A.params.legend.max,
|
|
33593
33832
|
"onUpdate:modelValue": t[30] ||= (e) => A.params.legend.max = e,
|
|
33594
33833
|
type: "number",
|
|
33595
33834
|
placeholder: "请输入",
|
|
33596
33835
|
onInput: oe
|
|
33597
33836
|
}, null, 8, ["modelValue"])])),
|
|
33598
|
-
A.params.legend.type === "自定义" ? (S(), m("div",
|
|
33837
|
+
A.params.legend.type === "自定义" ? (S(), m("div", Ly, [t[64] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 图例名称: ", -1), _(C, {
|
|
33599
33838
|
modelValue: A.params.legend.name,
|
|
33600
33839
|
"onUpdate:modelValue": t[31] ||= (e) => A.params.legend.name = e,
|
|
33601
33840
|
placeholder: "请输入"
|
|
33602
33841
|
}, null, 8, ["modelValue"])])) : p("", !0),
|
|
33603
|
-
h("div",
|
|
33842
|
+
h("div", Ry, [
|
|
33604
33843
|
t[65] ||= h("div", { class: "MakeImg-opt-li-input-title" }, " 文字大小: ", -1),
|
|
33605
33844
|
_(C, {
|
|
33606
33845
|
modelValue: A.params.legend.legendFontSize,
|
|
@@ -33618,24 +33857,24 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33618
33857
|
key: t,
|
|
33619
33858
|
class: "MakeImg-opt-li-input"
|
|
33620
33859
|
}, [
|
|
33621
|
-
h("div",
|
|
33860
|
+
h("div", zy, [
|
|
33622
33861
|
h("button", {
|
|
33623
33862
|
class: "MakeImg-opt-li-action-btn",
|
|
33624
33863
|
type: "button",
|
|
33625
33864
|
disabled: t === 0,
|
|
33626
33865
|
onClick: (e) => de(t, "up")
|
|
33627
|
-
}, "↑", 8,
|
|
33866
|
+
}, "↑", 8, By),
|
|
33628
33867
|
h("button", {
|
|
33629
33868
|
class: "MakeImg-opt-li-action-btn",
|
|
33630
33869
|
type: "button",
|
|
33631
33870
|
disabled: t === A.params.legend.list.length - 1,
|
|
33632
33871
|
onClick: (e) => de(t, "down")
|
|
33633
|
-
}, "↓", 8,
|
|
33872
|
+
}, "↓", 8, Vy),
|
|
33634
33873
|
h("button", {
|
|
33635
33874
|
class: "MakeImg-opt-li-action-btn is-danger",
|
|
33636
33875
|
type: "button",
|
|
33637
33876
|
onClick: (e) => ue(t)
|
|
33638
|
-
}, "-", 8,
|
|
33877
|
+
}, "-", 8, Hy)
|
|
33639
33878
|
]),
|
|
33640
33879
|
_(C, {
|
|
33641
33880
|
modelValue: e.name,
|
|
@@ -33653,7 +33892,7 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33653
33892
|
]))), 128))
|
|
33654
33893
|
])
|
|
33655
33894
|
], 64)) : p("", !0)]),
|
|
33656
|
-
h("div",
|
|
33895
|
+
h("div", Uy, [_(ae, {
|
|
33657
33896
|
type: "primary",
|
|
33658
33897
|
size: "large",
|
|
33659
33898
|
style: { width: "100%" },
|
|
@@ -33669,4 +33908,4 @@ var Lv = /* @__PURE__ */ n(Mv, [["render", Iv]]), Rv = "data:image/png;base64,iV
|
|
|
33669
33908
|
}
|
|
33670
33909
|
}, [["__scopeId", "data-v-d1cf0df6"]]);
|
|
33671
33910
|
//#endregion
|
|
33672
|
-
export {
|
|
33911
|
+
export { Wy as t };
|