qy-vue-plugins 1.0.2-beta → 1.0.2
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/apply-element-plus-theme.cjs +1 -0
- package/dist/apply-element-plus-theme.mjs +22 -0
- package/dist/beijihua-map-icon/hiper-map-icon-1.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-10.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-11.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-12.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-13.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-14.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-15.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-16.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-17.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-18.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-19.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-2.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-20.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-21.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-22.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-23.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-24.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-25.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-26.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-27.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-28.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-29.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-3.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-30.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-31.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-32.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-33.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-34.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-35.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-36.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-37.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-38.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-39.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-4.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-40.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-41.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-42.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-43.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-44.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-45.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-46.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-47.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-48.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-49.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-5.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-50.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-51.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-52.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-53.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-54.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-55.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-56.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-57.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-58.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-59.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-6.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-60.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-61.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-62.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-63.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-64.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-65.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-7.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-8.png +0 -0
- package/dist/beijihua-map-icon/hiper-map-icon-9.png +0 -0
- package/dist/chunks/{EventKeys-1aL9cgT0.js → EventKeys-DZ_Hahro.js} +4 -4
- package/dist/chunks/{MapTools.vue_vue_type_style_index_0_lang-C3__NQXN.js → MapTools.vue_vue_type_style_index_0_lang-C0C9opKY.js} +1 -1
- package/dist/chunks/{MapTools.vue_vue_type_style_index_0_lang-BJi8BdV8.js → MapTools.vue_vue_type_style_index_0_lang-CZ_dEmHg.js} +2 -2
- package/dist/chunks/{ReplaceSpeciesNameDialog.vue_vue_type_script_setup_true_lang-C8wD6gZS.js → ReplaceSpeciesNameDialog.vue_vue_type_script_setup_true_lang-CjJ3e53H.js} +12 -13
- package/dist/chunks/ReplaceSpeciesNameDialog.vue_vue_type_script_setup_true_lang-m9hkScAC.js +1 -0
- package/dist/chunks/apply-element-plus-theme-DdN9KOhk.js +1 -0
- package/dist/chunks/apply-element-plus-theme-UHVxP4VN.js +22 -0
- package/dist/chunks/aria-B5rZ0WFy.js +5 -0
- package/dist/chunks/aria-BEkkcjlH.js +115 -0
- package/dist/chunks/constant-Bq4ASE9Q.js +1 -0
- package/dist/chunks/{constant-BqK1UnfT.js → constant-E83OJqPQ.js} +17 -36
- package/dist/chunks/debounce-CHS-N31c.js +1 -0
- package/dist/chunks/debounce-DBq5TVsN.js +55 -0
- package/dist/chunks/{el-loading-CBXyo6la.js → directive-C-4KkhaM.js} +2 -2
- package/dist/chunks/directive-DRO4tFsQ.js +1 -0
- package/dist/chunks/index-03UF6hCZ.js +14 -0
- package/dist/chunks/index-B6SD5IcP.js +1 -0
- package/dist/chunks/{index-DHO_7w-5.js → index-BCQYbM-I.js} +22 -22
- package/dist/chunks/{el-input-DCpRXscw.js → index-BdloQTv1.js} +171 -175
- package/dist/chunks/{el-overlay-BJQjrf5W.js → index-BeskO4C8.js} +76 -75
- package/dist/chunks/index-BoFuR9-k.js +2 -0
- package/dist/chunks/index-Bs9zhLlD.js +1 -0
- package/dist/chunks/index-C-WIOEu8.js +1 -0
- package/dist/chunks/index-CD-vLVPt.js +1 -0
- package/dist/chunks/index-CD4bijv7.js +1 -0
- package/dist/chunks/index-CHRyd-8X.js +1 -0
- package/dist/chunks/{el-button-Dh7ROB0R.js → index-CgKiWbxR.js} +110 -117
- package/dist/chunks/{el-popper-zUql4Vp-.js → index-Cv_K9rbv.js} +47 -46
- package/dist/chunks/{el-select-Dil0JEvg.js → index-Cyrc4mj-.js} +467 -492
- package/dist/chunks/index-DLBjU25P.js +3 -0
- package/dist/chunks/index-DgwQEHlD.js +12 -0
- package/dist/chunks/index-LWCtnbZP.js +13 -0
- package/dist/chunks/index-OtE8c8y9.js +1 -0
- package/dist/chunks/index-Qzqd5jTh.js +1 -0
- package/dist/chunks/index-VbRYJz2E.js +1 -0
- package/dist/chunks/index-YiSmXvH8.js +975 -0
- package/dist/chunks/{index-Dq3Y5qiS.js → index-_At9ftZd.js} +35 -35
- package/dist/chunks/{index-Cw_w6CLf.js → index-ieQ_IULW.js} +11 -11
- package/dist/chunks/{el-form-item-CXLLocXw.js → index-mDs-Bipv.js} +151 -150
- package/dist/chunks/mapSetting-B1a88k-v.js +635 -0
- package/dist/chunks/mapSetting-Ba76lOJd.js +1 -0
- package/dist/chunks/{base-DfCoKyyG.js → style-COMeMpO8.js} +81 -80
- package/dist/chunks/{base-DK_JFP90.js → style-DiDWGUIe.js} +1 -1
- package/dist/chunks/toNumber-CCcOx5KD.js +1 -0
- package/dist/chunks/toNumber-CDwzVyqL.js +30 -0
- package/dist/chunks/use-form-common-props-BQtZKazE.js +66 -0
- package/dist/chunks/use-form-common-props-SdGVhyVk.js +1 -0
- package/dist/chunks/{use-global-config-DXAWJFeA.js → use-global-config-Ba3i7fKX.js} +18 -17
- package/dist/chunks/use-global-config-PaSl-b_9.js +1 -0
- package/dist/chunks/utils-BJ8Lu8TY.js +516 -0
- package/dist/chunks/utils-CrwGKkIz.js +1 -0
- package/dist/chunks/vnode-CvqQoLhR.js +1 -0
- package/dist/chunks/vnode-DpjFDm4v.js +70 -0
- package/dist/element-plus-style.cjs +1 -0
- package/dist/element-plus-style.mjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +13 -10
- package/dist/manageTable/ReplaceSpeciesNameDialog.cjs +1 -1
- package/dist/manageTable/ReplaceSpeciesNameDialog.mjs +1 -1
- package/dist/manageTable/index.cjs +1 -1
- package/dist/manageTable/index.mjs +10 -8
- package/dist/manageTable/manageTable.cjs +1 -1
- package/dist/manageTable/manageTable.mjs +1 -1
- package/dist/mapbox/components/VideoDialog.cjs +1 -1
- package/dist/mapbox/components/VideoDialog.mjs +16 -17
- package/dist/mapbox/widgets/LayerAttributeDialog.cjs +1 -1
- package/dist/mapbox/widgets/LayerAttributeDialog.mjs +30 -31
- package/dist/mapbox.cjs +1 -1
- package/dist/mapbox.mjs +22 -20
- package/dist/mapboxV2/MapView.cjs +1 -1
- package/dist/mapboxV2/MapView.mjs +3728 -1256
- package/dist/mapboxV2/components/MapLegend.cjs +1 -1
- package/dist/mapboxV2/components/MapLegend.mjs +51 -167
- package/dist/mapboxV2/components/MapTools.cjs +1 -1
- package/dist/mapboxV2/components/MapTools.mjs +1 -1
- package/dist/mapboxV2/components/VideoDialog.cjs +1 -1
- package/dist/mapboxV2/components/VideoDialog.mjs +12 -13
- package/dist/mapboxV2/components/mapSetting.cjs +1 -1
- package/dist/mapboxV2/components/mapSetting.mjs +1 -1
- package/dist/mapboxV2/components/mapTopic.cjs +1 -1
- package/dist/mapboxV2/components/mapTopic.mjs +349 -446
- package/dist/mapboxV2/constant.cjs +1 -1
- package/dist/mapboxV2/constant.mjs +13 -17
- package/dist/mapboxV2/useTif.cjs +1 -1
- package/dist/mapboxV2/useTif.mjs +86 -86
- package/dist/mapboxV2/utils.cjs +1 -1
- package/dist/mapboxV2/utils.mjs +362 -279
- package/dist/mapboxV2/widgets/CustomShapeDialog.cjs +1 -1
- package/dist/mapboxV2/widgets/CustomShapeDialog.mjs +87 -67
- package/dist/mapboxV2/widgets/IconPicker.cjs +1 -1
- package/dist/mapboxV2/widgets/IconPicker.mjs +59 -48
- package/dist/mapboxV2/widgets/LayerAttributeDialog.cjs +1 -1
- package/dist/mapboxV2/widgets/LayerAttributeDialog.mjs +17 -18
- package/dist/mapboxV2/widgets/LayerDialog.cjs +1 -1
- package/dist/mapboxV2/widgets/LayerDialog.mjs +94 -86
- package/dist/mapboxV2/widgets/LegendDialogLine.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendDialogLine.mjs +95 -90
- package/dist/mapboxV2/widgets/LegendDialogPoint.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendDialogPoint.mjs +90 -85
- package/dist/mapboxV2/widgets/LegendLine.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendLine.mjs +28 -61
- package/dist/mapboxV2/widgets/LegendPoint.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendPoint.mjs +52 -66
- package/dist/mapboxV2/widgets/LegendPopInterestPoint.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendPopInterestPoint.mjs +16 -18
- package/dist/mapboxV2/widgets/LegendPopLine.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendPopLine.mjs +72 -73
- package/dist/mapboxV2/widgets/LegendPopPoint.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendPopPoint.mjs +113 -112
- package/dist/mapboxV2/widgets/LegendShape.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendShape.mjs +17 -14
- package/dist/mapboxV2/widgets/LegendSymbol.cjs +1 -1
- package/dist/mapboxV2/widgets/LegendSymbol.mjs +5 -5
- package/dist/mapboxV2/widgets/ShapeDialog.cjs +1 -1
- package/dist/mapboxV2/widgets/ShapeDialog.mjs +1663 -1422
- package/dist/mapboxV2/widgets/TopicItemPop.cjs +1 -1
- package/dist/mapboxV2/widgets/TopicItemPop.mjs +2 -2
- package/dist/mapboxV2/widgets/TopicPop.mjs +1 -1
- package/dist/mapboxV2.cjs +3 -3
- package/dist/mapboxV2.mjs +673 -824
- package/dist/qy-vue-plugins.css +1 -1
- package/dist/types/apply-element-plus-theme.d.ts +1 -0
- package/dist/types/element-plus-style.d.ts +0 -0
- package/dist/types/manageTable/manageTable.vue.d.ts +2 -2
- package/dist/types/mapboxV2/MapView.vue.d.ts +130 -3
- package/dist/types/mapboxV2/components/mapTopic.vue.d.ts +10 -591
- package/dist/types/mapboxV2/types/map-layer.d.ts +185 -3
- package/dist/types/mapboxV2/useTif.d.ts +2 -2
- package/dist/types/mapboxV2/utils/geojsonRenderer.d.ts +123 -0
- package/dist/types/mapboxV2/utils.d.ts +5 -0
- package/dist/types/mapboxV2/widgets/IconPicker.vue.d.ts +8 -10
- package/dist/types/mapboxV2/widgets/index.d.ts +3 -0
- package/dist/types/mapboxV2/widgets/track/TrackImageDialog.vue.d.ts +11 -0
- package/dist/types/mapboxV2/widgets/track/TrackTextDialog.vue.d.ts +11 -0
- package/dist/types/mapboxV2/widgets/track/TrackVoiceDialog.vue.d.ts +11 -0
- package/dist/types/mapboxV2/widgets/track/index.d.ts +3 -0
- package/dist/types/store/mapStore.d.ts +122 -0
- package/dist/types/types/map.d.ts +111 -7
- package/package/apply-element-plus-theme.ts +23 -0
- package/package/css/common.scss +33 -0
- package/package/css/element-plus-theme.scss +30 -0
- package/package/css/map.scss +42 -0
- package/package/element-plus-style.ts +48 -0
- package/package/manageTable/index.ts +5 -0
- package/package/mapbox/index.ts +5 -0
- package/package/mapboxV2/constant.ts +4 -12
- package/package/mapboxV2/index.ts +5 -0
- package/package/mapboxV2/useTif.ts +18 -13
- package/package/mapboxV2/utils.ts +303 -143
- package/package/mapboxV2/widgets/index.ts +5 -0
- package/package/types/map.ts +129 -32
- package/package.json +27 -3
- package/dist/chunks/ReplaceSpeciesNameDialog.vue_vue_type_script_setup_true_lang-DnYed7Kh.js +0 -1
- package/dist/chunks/aria-B-Cm8P6h.js +0 -5
- package/dist/chunks/aria-GiGFrmP1.js +0 -175
- package/dist/chunks/constant-mXEWtcQf.js +0 -1
- package/dist/chunks/el-button-w9UOZkmd.js +0 -3
- package/dist/chunks/el-color-picker-panel-BWjyXHBz.js +0 -1
- package/dist/chunks/el-color-picker-panel-BfOVWDkH.js +0 -1024
- package/dist/chunks/el-form-item-ECXS8pAs.js +0 -12
- package/dist/chunks/el-input-tAiZBp5N.js +0 -1
- package/dist/chunks/el-loading-BDhLUhme.js +0 -1
- package/dist/chunks/el-overlay-BEd31jh6.js +0 -1
- package/dist/chunks/el-popper-C6hJmTeX.js +0 -1
- package/dist/chunks/el-select-BXP0YqqB.js +0 -1
- package/dist/chunks/index-BIPr63lF.js +0 -1
- package/dist/chunks/index-BIaoqnN4.js +0 -1
- package/dist/chunks/index-D9eecDRK.js +0 -2
- package/dist/chunks/mapSetting-BRasGCqk.js +0 -597
- package/dist/chunks/mapSetting-CfE-5SCc.js +0 -1
- package/dist/chunks/use-global-config-y6gk28OO.js +0 -1
- package/dist/chunks/utils-CZxmwfl_.js +0 -1
- package/dist/chunks/utils-n1i0zWzc.js +0 -454
- package/dist/chunks/vnode-CyTnPoXJ.js +0 -47
- package/dist/chunks/vnode-eKMqbqaC.js +0 -1
- package/dist/chunks//346/255/243/344/270/211/350/247/222/345/275/242-BRUTHTNe.js +0 -12
- package/dist/chunks//346/255/243/344/270/211/350/247/222/345/275/242-CksusXxb.js +0 -28
- package/dist/chunks//346/255/243/344/270/211/350/247/222/345/275/242-DchJeGnp.js +0 -1
- package/dist/chunks//346/255/243/344/270/211/350/247/222/345/275/242-yXKDlNvO.js +0 -17
|
@@ -1,91 +1,90 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import "../../chunks/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
import { ElForm as ve, ElFormItem as d, ElColorPicker as U, ElButton as x } from "element-plus";
|
|
10
|
-
import { _ as de } from "../../chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
const ce = { class: "legend-pop qy-flex-col" }, me = { class: "content" }, _e = { class: "shape-selector" }, pe = ["src", "onClick"], ge = { class: "color-selector" }, fe = ["src", "onClick"], be = { class: "footer" }, ye = /* @__PURE__ */ oe({
|
|
1
|
+
import { defineComponent as $, inject as O, ref as u, computed as z, createBlock as q, openBlock as m, Transition as H, withCtx as t, withDirectives as f, createElementVNode as d, createVNode as l, unref as r, createElementBlock as w, Fragment as E, renderList as F, normalizeClass as L, vShow as b, createTextVNode as x } from "vue";
|
|
2
|
+
import { m as W } from "../../chunks/constant-E83OJqPQ.js";
|
|
3
|
+
import { p as A } from "../../chunks/utils-BJ8Lu8TY.js";
|
|
4
|
+
import { c as G } from "../../chunks/EventKeys-DZ_Hahro.js";
|
|
5
|
+
import { ElForm as K, ElFormItem as c, ElColorPicker as I, ElButton as U } from "element-plus";
|
|
6
|
+
import { E as Q, a as Y } from "../../chunks/index-Cyrc4mj-.js";
|
|
7
|
+
import { _ as Z } from "../../chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const ee = { class: "legend-pop qy-flex-col" }, le = { class: "content" }, oe = { class: "shape-selector" }, ae = ["src", "onClick"], te = { class: "color-selector" }, ne = ["src", "onClick"], ie = { class: "footer" }, re = /* @__PURE__ */ $({
|
|
12
9
|
__name: "LegendPopPoint",
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
setup(ue, { expose: M }) {
|
|
11
|
+
const j = O("iconOptions", u([])), B = O("shapeOptions", u([])), P = z(() => {
|
|
12
|
+
const o = B.value || [];
|
|
13
|
+
return o.length > 0 ? o : [];
|
|
14
|
+
}), T = z(() => {
|
|
15
|
+
const o = j.value || [];
|
|
16
|
+
return o.length > 0 ? o : [];
|
|
17
|
+
}), s = u("color"), v = u("rgba(2, 210, 224, 1)"), y = u(""), S = u(""), C = u(16), g = u("show"), _ = u(11), V = u("rgba(0, 0, 0, 1)"), h = u("DengXian"), D = (o) => {
|
|
18
|
+
S.value = o;
|
|
19
|
+
}, X = (o) => {
|
|
20
|
+
o && (v.value = o);
|
|
21
|
+
}, k = u(!1), N = () => {
|
|
22
|
+
k.value = !1;
|
|
23
|
+
}, J = () => {
|
|
24
|
+
const o = {
|
|
25
|
+
renderMode: s.value,
|
|
23
26
|
pointStyle: "circle",
|
|
24
|
-
pointSize:
|
|
25
|
-
displayLabel:
|
|
26
|
-
labelSize:
|
|
27
|
-
labelColor:
|
|
28
|
-
labelFont:
|
|
27
|
+
pointSize: C.value,
|
|
28
|
+
displayLabel: g.value === "show",
|
|
29
|
+
labelSize: _.value,
|
|
30
|
+
labelColor: V.value,
|
|
31
|
+
labelFont: h.value
|
|
29
32
|
};
|
|
30
|
-
if (
|
|
33
|
+
if (s.value === "color" ? (o.pointTintColor = v.value, o.pointStrokeColor = v.value, o.pointStrokeWidth = 0, o.pointStyle = S.value) : o.pointStyle = y.value, p.value) {
|
|
31
34
|
const e = {
|
|
32
|
-
layerType:
|
|
33
|
-
layerName:
|
|
34
|
-
id:
|
|
35
|
+
layerType: p.value.layerType,
|
|
36
|
+
layerName: p.value?.layerName || "",
|
|
37
|
+
id: p.value.id,
|
|
35
38
|
projectId: ""
|
|
36
39
|
};
|
|
37
|
-
Object.assign(e, JSON.parse(JSON.stringify(
|
|
40
|
+
Object.assign(e, JSON.parse(JSON.stringify(p.value))), e.layerPaintConfig = JSON.stringify(o), p.value.layerPaintConfig = e.layerPaintConfig, console.log("更新图层实体", e), G.emit(e);
|
|
38
41
|
}
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
return
|
|
42
|
-
show: (
|
|
43
|
-
|
|
42
|
+
k.value = !1;
|
|
43
|
+
}, p = u();
|
|
44
|
+
return M({
|
|
45
|
+
show: (o) => {
|
|
46
|
+
k.value = !0, p.value = o, console.log("显示专题图层配置面板", o);
|
|
44
47
|
let e;
|
|
45
48
|
try {
|
|
46
|
-
e = JSON.parse(
|
|
49
|
+
e = JSON.parse(o.layerPaintConfig || "{}");
|
|
47
50
|
} catch {
|
|
48
|
-
const i =
|
|
49
|
-
a.layerPaintConfig,
|
|
50
|
-
a.layerType
|
|
51
|
-
);
|
|
51
|
+
const i = A(o.layerPaintConfig, o.layerType);
|
|
52
52
|
e = {
|
|
53
53
|
renderMode: i.pointRenderType === "icon" ? "icon" : "color",
|
|
54
|
-
pointStyle: "circle",
|
|
54
|
+
pointStyle: i.pointRenderType === "icon" ? i.currentMapIconName || "" : "circle",
|
|
55
55
|
pointSize: i.pointSize || 16,
|
|
56
56
|
displayLabel: i.showSurveyNumber === "show",
|
|
57
57
|
labelSize: i.fontSize || 11,
|
|
58
58
|
labelColor: i.fontColor || "rgba(0, 0, 0, 1)",
|
|
59
59
|
labelFont: i.fontFamily || "DengXian",
|
|
60
|
-
pointTintColor: i.pointTintColor
|
|
61
|
-
iconImageName: i.currentMapIconName
|
|
60
|
+
pointTintColor: i.pointTintColor
|
|
62
61
|
};
|
|
63
62
|
}
|
|
64
|
-
console.log("图层配置", e), !e.renderMode || e.renderMode === "color" ? (
|
|
63
|
+
console.log("图层配置", e), !e.renderMode || e.renderMode === "color" ? (v.value = e.pointTintColor || "rgba(2, 210, 224, 1)", s.value = "color", S.value = e.pointStyle || P.value[0]?.id || "") : (s.value = "icon", y.value = e.pointStyle || T.value[0]?.id || ""), C.value = e.pointSize || 16, g.value = e.displayLabel ? "show" : "hide", _.value = e.labelSize || 11, V.value = e.labelColor || "rgba(0, 0, 0, 1)", h.value = e.labelFont || "DengXian";
|
|
65
64
|
}
|
|
66
|
-
}), (
|
|
67
|
-
const n =
|
|
68
|
-
return
|
|
65
|
+
}), (o, e) => {
|
|
66
|
+
const n = Y, i = Q;
|
|
67
|
+
return m(), q(H, {
|
|
69
68
|
name: "fade",
|
|
70
69
|
mode: "out-in"
|
|
71
70
|
}, {
|
|
72
71
|
default: t(() => [
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
e[7] || (e[7] =
|
|
76
|
-
|
|
72
|
+
f(d("div", ee, [
|
|
73
|
+
d("div", { class: "header" }, [
|
|
74
|
+
e[7] || (e[7] = d("div", null, "显示设置", -1)),
|
|
75
|
+
d("div", {
|
|
77
76
|
class: "close-btn",
|
|
78
|
-
onClick:
|
|
77
|
+
onClick: N
|
|
79
78
|
}, "X")
|
|
80
79
|
]),
|
|
81
|
-
|
|
82
|
-
l(
|
|
80
|
+
d("div", le, [
|
|
81
|
+
l(r(K), { class: "point-style-form" }, {
|
|
83
82
|
default: t(() => [
|
|
84
|
-
l(
|
|
83
|
+
l(r(c), { label: "渲染方式" }, {
|
|
85
84
|
default: t(() => [
|
|
86
85
|
l(i, {
|
|
87
|
-
modelValue:
|
|
88
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
86
|
+
modelValue: s.value,
|
|
87
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => s.value = a),
|
|
89
88
|
placeholder: "请选择渲染方式"
|
|
90
89
|
}, {
|
|
91
90
|
default: t(() => [
|
|
@@ -103,74 +102,75 @@ const ce = { class: "legend-pop qy-flex-col" }, me = { class: "content" }, _e =
|
|
|
103
102
|
]),
|
|
104
103
|
_: 1
|
|
105
104
|
}),
|
|
106
|
-
|
|
105
|
+
f(l(r(c), {
|
|
107
106
|
label: "点位样式",
|
|
108
107
|
"label-position": "top"
|
|
109
108
|
}, {
|
|
110
109
|
default: t(() => [
|
|
111
|
-
|
|
112
|
-
(
|
|
113
|
-
class:
|
|
114
|
-
key:
|
|
110
|
+
d("div", oe, [
|
|
111
|
+
(m(!0), w(E, null, F(P.value, (a) => (m(), w("div", {
|
|
112
|
+
class: L(["shape-item", { selected: S.value === a.id }]),
|
|
113
|
+
key: a.id
|
|
115
114
|
}, [
|
|
116
|
-
|
|
117
|
-
src:
|
|
115
|
+
d("img", {
|
|
116
|
+
src: a.url,
|
|
118
117
|
alt: "",
|
|
119
|
-
onClick: (
|
|
120
|
-
}, null, 8,
|
|
118
|
+
onClick: (R) => D(a.id)
|
|
119
|
+
}, null, 8, ae)
|
|
121
120
|
], 2))), 128))
|
|
122
121
|
])
|
|
123
122
|
]),
|
|
124
123
|
_: 1
|
|
125
124
|
}, 512), [
|
|
126
|
-
[
|
|
125
|
+
[b, s.value === "color"]
|
|
127
126
|
]),
|
|
128
|
-
|
|
127
|
+
f(l(r(c), {
|
|
129
128
|
label: "点位颜色",
|
|
130
129
|
class: "color-picker"
|
|
131
130
|
}, {
|
|
132
131
|
default: t(() => [
|
|
133
|
-
l(
|
|
134
|
-
modelValue:
|
|
135
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
136
|
-
onChange:
|
|
132
|
+
l(r(I), {
|
|
133
|
+
modelValue: v.value,
|
|
134
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => v.value = a),
|
|
135
|
+
onChange: X,
|
|
137
136
|
ref: "colorPicker",
|
|
138
137
|
"show-alpha": "",
|
|
139
|
-
|
|
138
|
+
"color-format": "rgb",
|
|
139
|
+
predefine: r(W)
|
|
140
140
|
}, null, 8, ["modelValue", "predefine"])
|
|
141
141
|
]),
|
|
142
142
|
_: 1
|
|
143
143
|
}, 512), [
|
|
144
|
-
[
|
|
144
|
+
[b, s.value === "color"]
|
|
145
145
|
]),
|
|
146
|
-
|
|
146
|
+
f(l(r(c), {
|
|
147
147
|
label: "点位样式",
|
|
148
148
|
"label-position": "top",
|
|
149
149
|
class: "icon-image"
|
|
150
150
|
}, {
|
|
151
151
|
default: t(() => [
|
|
152
|
-
|
|
153
|
-
(
|
|
154
|
-
class:
|
|
155
|
-
key:
|
|
152
|
+
d("div", te, [
|
|
153
|
+
(m(!0), w(E, null, F(T.value, (a) => (m(), w("div", {
|
|
154
|
+
class: L(["color-item", { selected: y.value === a.id }]),
|
|
155
|
+
key: a.id
|
|
156
156
|
}, [
|
|
157
|
-
|
|
158
|
-
src:
|
|
157
|
+
d("img", {
|
|
158
|
+
src: a.url,
|
|
159
159
|
alt: "",
|
|
160
|
-
onClick: (
|
|
161
|
-
}, null, 8,
|
|
160
|
+
onClick: (R) => y.value = a.id
|
|
161
|
+
}, null, 8, ne)
|
|
162
162
|
], 2))), 128))
|
|
163
163
|
])
|
|
164
164
|
]),
|
|
165
165
|
_: 1
|
|
166
166
|
}, 512), [
|
|
167
|
-
[
|
|
167
|
+
[b, s.value === "icon"]
|
|
168
168
|
]),
|
|
169
|
-
|
|
169
|
+
f(l(r(c), { label: "点位大小" }, {
|
|
170
170
|
default: t(() => [
|
|
171
171
|
l(i, {
|
|
172
|
-
modelValue:
|
|
173
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
172
|
+
modelValue: C.value,
|
|
173
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => C.value = a),
|
|
174
174
|
placeholder: "请选择点位大小"
|
|
175
175
|
}, {
|
|
176
176
|
default: t(() => [
|
|
@@ -192,13 +192,13 @@ const ce = { class: "legend-pop qy-flex-col" }, me = { class: "content" }, _e =
|
|
|
192
192
|
]),
|
|
193
193
|
_: 1
|
|
194
194
|
}, 512), [
|
|
195
|
-
[
|
|
195
|
+
[b, s.value === "color"]
|
|
196
196
|
]),
|
|
197
|
-
l(
|
|
197
|
+
l(r(c), { label: "物种名称" }, {
|
|
198
198
|
default: t(() => [
|
|
199
199
|
l(i, {
|
|
200
|
-
modelValue:
|
|
201
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
200
|
+
modelValue: g.value,
|
|
201
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => g.value = a),
|
|
202
202
|
placeholder: "请选择"
|
|
203
203
|
}, {
|
|
204
204
|
default: t(() => [
|
|
@@ -216,11 +216,11 @@ const ce = { class: "legend-pop qy-flex-col" }, me = { class: "content" }, _e =
|
|
|
216
216
|
]),
|
|
217
217
|
_: 1
|
|
218
218
|
}),
|
|
219
|
-
l(
|
|
219
|
+
l(r(c), { label: "字体大小" }, {
|
|
220
220
|
default: t(() => [
|
|
221
221
|
l(i, {
|
|
222
|
-
modelValue:
|
|
223
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
222
|
+
modelValue: _.value,
|
|
223
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => _.value = a),
|
|
224
224
|
placeholder: "请选择字体大小"
|
|
225
225
|
}, {
|
|
226
226
|
default: t(() => [
|
|
@@ -254,24 +254,25 @@ const ce = { class: "legend-pop qy-flex-col" }, me = { class: "content" }, _e =
|
|
|
254
254
|
]),
|
|
255
255
|
_: 1
|
|
256
256
|
}),
|
|
257
|
-
l(
|
|
257
|
+
l(r(c), {
|
|
258
258
|
label: "字体颜色",
|
|
259
259
|
class: "color-picker"
|
|
260
260
|
}, {
|
|
261
261
|
default: t(() => [
|
|
262
|
-
l(
|
|
263
|
-
modelValue:
|
|
264
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
265
|
-
"show-alpha": ""
|
|
262
|
+
l(r(I), {
|
|
263
|
+
modelValue: V.value,
|
|
264
|
+
"onUpdate:modelValue": e[5] || (e[5] = (a) => V.value = a),
|
|
265
|
+
"show-alpha": "",
|
|
266
|
+
"color-format": "rgb"
|
|
266
267
|
}, null, 8, ["modelValue"])
|
|
267
268
|
]),
|
|
268
269
|
_: 1
|
|
269
270
|
}),
|
|
270
|
-
l(
|
|
271
|
+
l(r(c), { label: "字体类型" }, {
|
|
271
272
|
default: t(() => [
|
|
272
273
|
l(i, {
|
|
273
|
-
modelValue:
|
|
274
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
274
|
+
modelValue: h.value,
|
|
275
|
+
"onUpdate:modelValue": e[6] || (e[6] = (a) => h.value = a),
|
|
275
276
|
placeholder: "请选择字体类型"
|
|
276
277
|
}, {
|
|
277
278
|
default: t(() => [
|
|
@@ -297,32 +298,32 @@ const ce = { class: "legend-pop qy-flex-col" }, me = { class: "content" }, _e =
|
|
|
297
298
|
_: 1
|
|
298
299
|
})
|
|
299
300
|
]),
|
|
300
|
-
|
|
301
|
-
l(
|
|
301
|
+
d("div", ie, [
|
|
302
|
+
l(r(U), { onClick: N }, {
|
|
302
303
|
default: t(() => [...e[8] || (e[8] = [
|
|
303
|
-
|
|
304
|
+
x("取消", -1)
|
|
304
305
|
])]),
|
|
305
306
|
_: 1
|
|
306
307
|
}),
|
|
307
|
-
l(
|
|
308
|
+
l(r(U), {
|
|
308
309
|
type: "primary",
|
|
309
|
-
onClick:
|
|
310
|
+
onClick: J
|
|
310
311
|
}, {
|
|
311
312
|
default: t(() => [...e[9] || (e[9] = [
|
|
312
|
-
|
|
313
|
+
x("确认", -1)
|
|
313
314
|
])]),
|
|
314
315
|
_: 1
|
|
315
316
|
})
|
|
316
317
|
])
|
|
317
318
|
], 512), [
|
|
318
|
-
[
|
|
319
|
+
[b, k.value]
|
|
319
320
|
])
|
|
320
321
|
]),
|
|
321
322
|
_: 1
|
|
322
323
|
});
|
|
323
324
|
};
|
|
324
325
|
}
|
|
325
|
-
}),
|
|
326
|
+
}), ye = /* @__PURE__ */ Z(re, [["__scopeId", "data-v-337e13ce"]]);
|
|
326
327
|
export {
|
|
327
|
-
|
|
328
|
+
ye as default
|
|
328
329
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../chunks/utils-CrwGKkIz.js"),a=require("../../chunks/constant-Bq4ASE9Q.js"),c=require("../../chunks/_plugin-vue_export-helper-BHFhmbuH.js"),r={class:"qy-flex-col legend-icon-container"},s={key:1,class:"multiple-color legend-icon-shape"},u=e.defineComponent({__name:"LegendShape",props:{topic:{}},setup(o){const t=e.ref(!1),n=e.ref(a.DefaultColor);return e.onMounted(()=>{if(t.value=!1,o.topic.url){const l=i.parseLayerPaintConfig(o.topic.layerPaintConfig,o.topic.layerType);t.value=l.fillColorList?.length===1,n.value=l.fillColorList?.[0]?.color??a.DefaultColor}else if(o.topic.layerType==="geojson"){const l=i.parseLayerPaintConfig(o.topic.layerPaintConfig,o.topic.layerType);t.value=!0,n.value=l.fillColor||a.DefaultColor}else{const l=i.parseLayerPaintConfig(o.topic.layerPaintConfig,o.topic.layerType);t.value=!0,n.value=l.fillColor||a.DefaultColor}}),(l,g)=>(e.openBlock(),e.createElementBlock("div",r,[t.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"legend-icon-shape",style:e.normalizeStyle({backgroundColor:n.value})},null,4)):(e.openBlock(),e.createElementBlock("div",s))]))}}),f=c._export_sfc(u,[["__scopeId","data-v-f03b0b3b"]]);exports.default=f;
|
|
@@ -1,34 +1,37 @@
|
|
|
1
|
-
import { defineComponent as s, ref as
|
|
2
|
-
import { p as
|
|
3
|
-
import { b as
|
|
1
|
+
import { defineComponent as s, ref as r, onMounted as f, createElementBlock as a, openBlock as i, normalizeStyle as u } from "vue";
|
|
2
|
+
import { p as c } from "../../chunks/utils-BJ8Lu8TY.js";
|
|
3
|
+
import { b as n } from "../../chunks/constant-E83OJqPQ.js";
|
|
4
4
|
import { _ as p } from "../../chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const d = { class: "qy-flex-col legend-icon-container" },
|
|
5
|
+
const d = { class: "qy-flex-col legend-icon-container" }, g = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "multiple-color legend-icon-shape"
|
|
8
|
-
},
|
|
8
|
+
}, y = /* @__PURE__ */ s({
|
|
9
9
|
__name: "LegendShape",
|
|
10
10
|
props: {
|
|
11
11
|
topic: {}
|
|
12
12
|
},
|
|
13
13
|
setup(e) {
|
|
14
|
-
const l =
|
|
14
|
+
const l = r(!1), t = r(n);
|
|
15
15
|
return f(() => {
|
|
16
16
|
if (l.value = !1, e.topic.url) {
|
|
17
|
-
const o =
|
|
18
|
-
l.value = o.fillColorList
|
|
17
|
+
const o = c(e.topic.layerPaintConfig, e.topic.layerType);
|
|
18
|
+
l.value = o.fillColorList?.length === 1, t.value = o.fillColorList?.[0]?.color ?? n;
|
|
19
|
+
} else if (e.topic.layerType === "geojson") {
|
|
20
|
+
const o = c(e.topic.layerPaintConfig, e.topic.layerType);
|
|
21
|
+
l.value = !0, t.value = o.fillColor || n;
|
|
19
22
|
} else {
|
|
20
|
-
const o =
|
|
21
|
-
l.value = !0, t.value = o.fillColor ||
|
|
23
|
+
const o = c(e.topic.layerPaintConfig, e.topic.layerType);
|
|
24
|
+
l.value = !0, t.value = o.fillColor || n;
|
|
22
25
|
}
|
|
23
|
-
}), (o,
|
|
24
|
-
l.value ? (
|
|
26
|
+
}), (o, m) => (i(), a("div", d, [
|
|
27
|
+
l.value ? (i(), a("div", {
|
|
25
28
|
key: 0,
|
|
26
29
|
class: "legend-icon-shape",
|
|
27
30
|
style: u({ backgroundColor: t.value })
|
|
28
|
-
}, null, 4)) : (
|
|
31
|
+
}, null, 4)) : (i(), a("div", g))
|
|
29
32
|
]));
|
|
30
33
|
}
|
|
31
|
-
}), k = /* @__PURE__ */ p(
|
|
34
|
+
}), k = /* @__PURE__ */ p(y, [["__scopeId", "data-v-f03b0b3b"]]);
|
|
32
35
|
export {
|
|
33
36
|
k as default
|
|
34
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../chunks/constant-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../chunks/constant-Bq4ASE9Q.js"),i=require("../../chunks/_plugin-vue_export-helper-BHFhmbuH.js"),s={class:"legend-symbol"},a={key:1,class:"symbol"},u=["src"],m=e.defineComponent({__name:"LegendSymbol",props:{topic:{}},setup(c){const t=e.computed(()=>c.topic&&(c.topic.layerPaintConfig?JSON.parse(c.topic.layerPaintConfig):{}).circleConfigList||o.circleConfigList),n=e.computed(()=>t.value[0].circleType||"circle"),r=e.computed(()=>c.topic?{"background-color":t.value[0].circleColor||"rgba(0, 0, 0, 1)"}:{});return(l,f)=>(e.openBlock(),e.createElementBlock("div",s,[n.value==="circle"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"circle",style:e.normalizeStyle(r.value)},null,4)):n.value==="symbol"?(e.openBlock(),e.createElementBlock("div",a,[e.createElementVNode("img",{src:e.unref(o.mapIconBaseUrl)+(t.value[0].iconImageUrl||e.unref(o.DefaultIcon)),alt:"Symbol Icon"},null,8,u)])):e.createCommentVNode("",!0)]))}}),d=i._export_sfc(m,[["__scopeId","data-v-1ba18273"]]);exports.default=d;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as m, computed as o, createElementBlock as t, openBlock as n, createCommentVNode as u, normalizeStyle as f, createElementVNode as d, unref as i } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { c as s, e as g, D as p } from "../../chunks/constant-E83OJqPQ.js";
|
|
3
3
|
import { _ as y } from "../../chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const _ = { class: "legend-symbol" }, v = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "symbol"
|
|
7
|
-
},
|
|
7
|
+
}, b = ["src"], C = /* @__PURE__ */ m({
|
|
8
8
|
__name: "LegendSymbol",
|
|
9
9
|
props: {
|
|
10
10
|
topic: {}
|
|
11
11
|
},
|
|
12
12
|
setup(e) {
|
|
13
13
|
const c = o(() => e.topic ? (e.topic.layerPaintConfig ? JSON.parse(e.topic.layerPaintConfig) : {}).circleConfigList || s : s), l = o(() => c.value[0].circleType || "circle"), a = o(() => e.topic ? {
|
|
14
|
-
"background-color": c.value[0].circleColor || "
|
|
14
|
+
"background-color": c.value[0].circleColor || "rgba(0, 0, 0, 1)"
|
|
15
15
|
} : {});
|
|
16
16
|
return (r, k) => (n(), t("div", _, [
|
|
17
17
|
l.value === "circle" ? (n(), t("div", {
|
|
@@ -22,11 +22,11 @@ const _ = { class: "legend-symbol" }, v = {
|
|
|
22
22
|
d("img", {
|
|
23
23
|
src: i(g) + (c.value[0].iconImageUrl || i(p)),
|
|
24
24
|
alt: "Symbol Icon"
|
|
25
|
-
}, null, 8,
|
|
25
|
+
}, null, 8, b)
|
|
26
26
|
])) : u("", !0)
|
|
27
27
|
]));
|
|
28
28
|
}
|
|
29
|
-
}), L = /* @__PURE__ */ y(
|
|
29
|
+
}), L = /* @__PURE__ */ y(C, [["__scopeId", "data-v-1ba18273"]]);
|
|
30
30
|
export {
|
|
31
31
|
L as default
|
|
32
32
|
};
|