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,28 +1,26 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import "../../chunks/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import { _ as Q } from "../../chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { class: "qy-flex-between" }, ll = { class: "line-style-options" }, el = ["onClick"], al = { class: "qy-flex-between" }, ol = {
|
|
1
|
+
import { defineComponent as O, ref as i, createBlock as T, openBlock as k, Transition as B, withCtx as o, withDirectives as D, createElementVNode as a, createVNode as e, unref as n, createElementBlock as I, Fragment as J, renderList as X, normalizeClass as h, toDisplayString as S, createTextVNode as w, vShow as W } from "vue";
|
|
2
|
+
import { c as j } from "../../chunks/EventKeys-DZ_Hahro.js";
|
|
3
|
+
import { m as E } from "../../chunks/constant-E83OJqPQ.js";
|
|
4
|
+
import { ElForm as $, ElFormItem as v, ElColorPicker as N, ElSlider as H, ElInputNumber as A, ElButton as P } from "element-plus";
|
|
5
|
+
import { E as G, a as K } from "../../chunks/index-Cyrc4mj-.js";
|
|
6
|
+
import { _ as M } from "../../chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
const Q = { class: "legend-pop qy-flex-col" }, R = { class: "content" }, Y = { class: "qy-flex-between" }, Z = { class: "line-style-options" }, ll = ["onClick"], el = { class: "qy-flex-between" }, al = {
|
|
10
8
|
class: "qy-flex-align-end",
|
|
11
9
|
style: { flex: "1" }
|
|
12
|
-
},
|
|
10
|
+
}, ol = { class: "qy-flex-between" }, tl = { class: "slider-container" }, nl = { class: "number-input" }, sl = {
|
|
13
11
|
class: "qy-flex-align-end",
|
|
14
12
|
style: { flex: "1" }
|
|
15
|
-
},
|
|
13
|
+
}, il = { class: "footer" }, ul = /* @__PURE__ */ O({
|
|
16
14
|
__name: "LegendPopLine",
|
|
17
|
-
setup(
|
|
18
|
-
const m = i(!1), d = i(null),
|
|
15
|
+
setup(dl, { expose: z }) {
|
|
16
|
+
const m = i(!1), d = i(null), V = [
|
|
19
17
|
{ value: "solid-line", label: "实线" },
|
|
20
18
|
{ value: "simple-dash", label: "虚线-1" },
|
|
21
19
|
{ value: "dot-dash", label: "虚线-2" },
|
|
22
20
|
{ value: "long-dash", label: "虚线-3" },
|
|
23
21
|
{ value: "dot-line", label: "虚线-4" },
|
|
24
22
|
{ value: "complex-pattern", label: "虚线-5" }
|
|
25
|
-
], f = i(0),
|
|
23
|
+
], f = i(0), b = i("solid-line"), p = i("rgba(0, 0, 0, 1)"), r = i(4), c = i(!0), y = i(12), g = i("rgba(0, 0, 0, 1)"), _ = i("DengXian"), U = (u) => {
|
|
26
24
|
m.value = !0, d.value = u, console.log("显示线条样式设置面板", u);
|
|
27
25
|
let l;
|
|
28
26
|
try {
|
|
@@ -30,23 +28,22 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
30
28
|
} catch (s) {
|
|
31
29
|
console.error("解析图层配置失败", s), l = {};
|
|
32
30
|
}
|
|
33
|
-
console.log("解析后的图层配置", l),
|
|
34
|
-
(s) => s.value ===
|
|
31
|
+
console.log("解析后的图层配置", l), b.value = l.lineStyle || "solid-line", p.value = l.lineColor || "rgba(0, 0, 0, 1)", r.value = l.lineWidth || 4, c.value = l.displayLabel !== void 0 ? l.displayLabel : !0, y.value = l.labelSize || 12, g.value = l.labelColor || "rgba(0, 0, 0, 1)", _.value = l.labelFont || "DengXian", f.value = V.findIndex(
|
|
32
|
+
(s) => s.value === b.value
|
|
35
33
|
);
|
|
36
|
-
},
|
|
37
|
-
f.value = u,
|
|
38
|
-
},
|
|
34
|
+
}, q = (u, l) => {
|
|
35
|
+
f.value = u, b.value = l;
|
|
36
|
+
}, L = () => {
|
|
39
37
|
m.value = !1;
|
|
40
|
-
},
|
|
38
|
+
}, F = () => {
|
|
41
39
|
const u = {
|
|
42
|
-
lineStyle:
|
|
40
|
+
lineStyle: b.value,
|
|
43
41
|
lineColor: p.value,
|
|
44
42
|
lineWidth: r.value,
|
|
45
|
-
|
|
46
|
-
displayLabel: b.value,
|
|
43
|
+
displayLabel: c.value,
|
|
47
44
|
labelSize: y.value,
|
|
48
|
-
labelColor:
|
|
49
|
-
labelFont:
|
|
45
|
+
labelColor: g.value,
|
|
46
|
+
labelFont: _.value
|
|
50
47
|
};
|
|
51
48
|
if (d.value) {
|
|
52
49
|
const l = {
|
|
@@ -55,29 +52,29 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
55
52
|
id: d.value.id,
|
|
56
53
|
projectId: ""
|
|
57
54
|
};
|
|
58
|
-
Object.assign(l, JSON.parse(JSON.stringify(d.value))), l.layerPaintConfig = JSON.stringify(u), d.value.layerPaintConfig = l.layerPaintConfig, console.log("更新图层实体", l),
|
|
55
|
+
Object.assign(l, JSON.parse(JSON.stringify(d.value))), l.layerPaintConfig = JSON.stringify(u), d.value.layerPaintConfig = l.layerPaintConfig, console.log("更新图层实体", l), j.emit(l);
|
|
59
56
|
}
|
|
60
57
|
m.value = !1;
|
|
61
58
|
};
|
|
62
|
-
return
|
|
63
|
-
show:
|
|
59
|
+
return z({
|
|
60
|
+
show: U
|
|
64
61
|
}), (u, l) => {
|
|
65
|
-
const s =
|
|
66
|
-
return
|
|
62
|
+
const s = K, C = G;
|
|
63
|
+
return k(), T(B, {
|
|
67
64
|
name: "fade",
|
|
68
65
|
mode: "out-in"
|
|
69
66
|
}, {
|
|
70
67
|
default: o(() => [
|
|
71
|
-
|
|
68
|
+
D(a("div", Q, [
|
|
72
69
|
a("div", { class: "header" }, [
|
|
73
70
|
l[7] || (l[7] = a("div", null, "显示设置", -1)),
|
|
74
71
|
a("div", {
|
|
75
72
|
class: "close-btn",
|
|
76
|
-
onClick:
|
|
73
|
+
onClick: L
|
|
77
74
|
}, "X")
|
|
78
75
|
]),
|
|
79
|
-
a("div",
|
|
80
|
-
e(n(
|
|
76
|
+
a("div", R, [
|
|
77
|
+
e(n($), {
|
|
81
78
|
"label-position": "top",
|
|
82
79
|
class: "line-style-form"
|
|
83
80
|
}, {
|
|
@@ -87,22 +84,22 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
87
84
|
class: "style-item"
|
|
88
85
|
}, {
|
|
89
86
|
label: o(() => [
|
|
90
|
-
a("div",
|
|
87
|
+
a("div", Y, [
|
|
91
88
|
l[8] || (l[8] = a("span", null, "线形 ", -1)),
|
|
92
|
-
a("div", null, S(
|
|
89
|
+
a("div", null, S(V[f.value].label), 1)
|
|
93
90
|
])
|
|
94
91
|
]),
|
|
95
92
|
default: o(() => [
|
|
96
|
-
a("div",
|
|
97
|
-
(
|
|
98
|
-
key:
|
|
99
|
-
class:
|
|
100
|
-
onClick: (
|
|
93
|
+
a("div", Z, [
|
|
94
|
+
(k(), I(J, null, X(V, (t, x) => a("div", {
|
|
95
|
+
key: x,
|
|
96
|
+
class: h(["line-style-option", { active: f.value === x }]),
|
|
97
|
+
onClick: (rl) => q(x, t.value)
|
|
101
98
|
}, [
|
|
102
99
|
a("div", {
|
|
103
|
-
class:
|
|
100
|
+
class: h(["line-preview", `${t.value}`])
|
|
104
101
|
}, null, 2)
|
|
105
|
-
], 10,
|
|
102
|
+
], 10, ll)), 64))
|
|
106
103
|
])
|
|
107
104
|
]),
|
|
108
105
|
_: 1
|
|
@@ -112,20 +109,21 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
112
109
|
label: "线颜色"
|
|
113
110
|
}, {
|
|
114
111
|
label: o(() => [
|
|
115
|
-
a("div",
|
|
112
|
+
a("div", el, [
|
|
116
113
|
l[9] || (l[9] = a("span", null, "线颜色 ", -1)),
|
|
117
114
|
a("div", null, S(p.value), 1)
|
|
118
115
|
])
|
|
119
116
|
]),
|
|
120
117
|
default: o(() => [
|
|
121
|
-
a("div",
|
|
122
|
-
e(n(
|
|
118
|
+
a("div", al, [
|
|
119
|
+
e(n(N), {
|
|
123
120
|
modelValue: p.value,
|
|
124
121
|
"onUpdate:modelValue": l[0] || (l[0] = (t) => p.value = t),
|
|
125
122
|
"show-alpha": !0,
|
|
123
|
+
"color-format": "rgb",
|
|
126
124
|
size: "default",
|
|
127
125
|
class: "color-picker",
|
|
128
|
-
predefine: n(
|
|
126
|
+
predefine: n(E)
|
|
129
127
|
}, null, 8, ["modelValue", "predefine"])
|
|
130
128
|
])
|
|
131
129
|
]),
|
|
@@ -136,14 +134,14 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
136
134
|
class: "width-item"
|
|
137
135
|
}, {
|
|
138
136
|
label: o(() => [
|
|
139
|
-
a("div",
|
|
137
|
+
a("div", ol, [
|
|
140
138
|
l[10] || (l[10] = a("span", null, "线宽 ", -1)),
|
|
141
139
|
a("div", null, S(r.value) + "px", 1)
|
|
142
140
|
])
|
|
143
141
|
]),
|
|
144
142
|
default: o(() => [
|
|
145
|
-
a("div",
|
|
146
|
-
e(n(
|
|
143
|
+
a("div", tl, [
|
|
144
|
+
e(n(H), {
|
|
147
145
|
modelValue: r.value,
|
|
148
146
|
"onUpdate:modelValue": l[1] || (l[1] = (t) => r.value = t),
|
|
149
147
|
min: 1,
|
|
@@ -151,8 +149,8 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
151
149
|
step: 0.5
|
|
152
150
|
}, null, 8, ["modelValue"])
|
|
153
151
|
]),
|
|
154
|
-
a("div",
|
|
155
|
-
e(n(
|
|
152
|
+
a("div", nl, [
|
|
153
|
+
e(n(A), {
|
|
156
154
|
modelValue: r.value,
|
|
157
155
|
"onUpdate:modelValue": l[2] || (l[2] = (t) => r.value = t),
|
|
158
156
|
min: 1,
|
|
@@ -166,9 +164,9 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
166
164
|
}),
|
|
167
165
|
e(n(v), { label: "标注(Label)" }, {
|
|
168
166
|
default: o(() => [
|
|
169
|
-
e(
|
|
170
|
-
modelValue:
|
|
171
|
-
"onUpdate:modelValue": l[3] || (l[3] = (t) =>
|
|
167
|
+
e(C, {
|
|
168
|
+
modelValue: c.value,
|
|
169
|
+
"onUpdate:modelValue": l[3] || (l[3] = (t) => c.value = t),
|
|
172
170
|
placeholder: "请选择"
|
|
173
171
|
}, {
|
|
174
172
|
default: o(() => [
|
|
@@ -188,7 +186,7 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
188
186
|
}),
|
|
189
187
|
e(n(v), { label: "字体大小" }, {
|
|
190
188
|
default: o(() => [
|
|
191
|
-
e(
|
|
189
|
+
e(C, {
|
|
192
190
|
modelValue: y.value,
|
|
193
191
|
"onUpdate:modelValue": l[4] || (l[4] = (t) => y.value = t),
|
|
194
192
|
placeholder: "请选择"
|
|
@@ -225,14 +223,15 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
225
223
|
label: "字体颜色"
|
|
226
224
|
}, {
|
|
227
225
|
default: o(() => [
|
|
228
|
-
a("div",
|
|
229
|
-
e(n(
|
|
230
|
-
modelValue:
|
|
231
|
-
"onUpdate:modelValue": l[5] || (l[5] = (t) =>
|
|
226
|
+
a("div", sl, [
|
|
227
|
+
e(n(N), {
|
|
228
|
+
modelValue: g.value,
|
|
229
|
+
"onUpdate:modelValue": l[5] || (l[5] = (t) => g.value = t),
|
|
232
230
|
"show-alpha": !0,
|
|
231
|
+
"color-format": "rgb",
|
|
233
232
|
size: "default",
|
|
234
233
|
class: "color-picker",
|
|
235
|
-
predefine: n(
|
|
234
|
+
predefine: n(E)
|
|
236
235
|
}, null, 8, ["modelValue", "predefine"])
|
|
237
236
|
])
|
|
238
237
|
]),
|
|
@@ -240,9 +239,9 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
240
239
|
}),
|
|
241
240
|
e(n(v), { label: "字体类型" }, {
|
|
242
241
|
default: o(() => [
|
|
243
|
-
e(
|
|
244
|
-
modelValue:
|
|
245
|
-
"onUpdate:modelValue": l[6] || (l[6] = (t) =>
|
|
242
|
+
e(C, {
|
|
243
|
+
modelValue: _.value,
|
|
244
|
+
"onUpdate:modelValue": l[6] || (l[6] = (t) => _.value = t),
|
|
246
245
|
placeholder: "请选择字体类型"
|
|
247
246
|
}, {
|
|
248
247
|
default: o(() => [
|
|
@@ -268,32 +267,32 @@ const R = { class: "legend-pop qy-flex-col" }, Y = { class: "content" }, Z = { c
|
|
|
268
267
|
_: 1
|
|
269
268
|
})
|
|
270
269
|
]),
|
|
271
|
-
a("div",
|
|
272
|
-
e(n(
|
|
270
|
+
a("div", il, [
|
|
271
|
+
e(n(P), { onClick: L }, {
|
|
273
272
|
default: o(() => [...l[11] || (l[11] = [
|
|
274
|
-
|
|
273
|
+
w("取消", -1)
|
|
275
274
|
])]),
|
|
276
275
|
_: 1
|
|
277
276
|
}),
|
|
278
|
-
e(n(
|
|
277
|
+
e(n(P), {
|
|
279
278
|
type: "primary",
|
|
280
|
-
onClick:
|
|
279
|
+
onClick: F
|
|
281
280
|
}, {
|
|
282
281
|
default: o(() => [...l[12] || (l[12] = [
|
|
283
|
-
|
|
282
|
+
w("确认", -1)
|
|
284
283
|
])]),
|
|
285
284
|
_: 1
|
|
286
285
|
})
|
|
287
286
|
])
|
|
288
287
|
], 512), [
|
|
289
|
-
[
|
|
288
|
+
[W, m.value]
|
|
290
289
|
])
|
|
291
290
|
]),
|
|
292
291
|
_: 1
|
|
293
292
|
});
|
|
294
293
|
};
|
|
295
294
|
}
|
|
296
|
-
}),
|
|
295
|
+
}), yl = /* @__PURE__ */ M(ul, [["__scopeId", "data-v-dddd2ff4"]]);
|
|
297
296
|
export {
|
|
298
|
-
|
|
297
|
+
yl as default
|
|
299
298
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),F=require("../../chunks/constant-Bq4ASE9Q.js"),P=require("../../chunks/utils-CrwGKkIz.js"),T=require("../../chunks/EventKeys-BvyQ87Zy.js"),n=require("element-plus"),y=require("../../chunks/index-Qzqd5jTh.js"),I=require("../../chunks/_plugin-vue_export-helper-BHFhmbuH.js"),B={class:"legend-pop qy-flex-col"},O={class:"content"},z={class:"shape-selector"},D=["src","onClick"],L={class:"color-selector"},q=["src","onClick"],M={class:"footer"},j=e.defineComponent({__name:"LegendPopPoint",setup(X,{expose:S}){const w=e.inject("iconOptions",e.ref([])),g=e.inject("shapeOptions",e.ref([])),b=e.computed(()=>{const o=g.value||[];return o.length>0?o:[]}),C=e.computed(()=>{const o=w.value||[];return o.length>0?o:[]}),i=e.ref("color"),c=e.ref("rgba(2, 210, 224, 1)"),d=e.ref(""),s=e.ref(""),v=e.ref(16),p=e.ref("show"),m=e.ref(11),f=e.ref("rgba(0, 0, 0, 1)"),V=e.ref("DengXian"),E=o=>{s.value=o},_=o=>{o&&(c.value=o)},N=e.ref(!1),h=()=>{N.value=!1},k=()=>{const o={renderMode:i.value,pointStyle:"circle",pointSize:v.value,displayLabel:p.value==="show",labelSize:m.value,labelColor:f.value,labelFont:V.value};if(i.value==="color"?(o.pointTintColor=c.value,o.pointStrokeColor=c.value,o.pointStrokeWidth=0,o.pointStyle=s.value):o.pointStyle=d.value,u.value){const l={layerType:u.value.layerType,layerName:u.value?.layerName||"",id:u.value.id,projectId:""};Object.assign(l,JSON.parse(JSON.stringify(u.value))),l.layerPaintConfig=JSON.stringify(o),u.value.layerPaintConfig=l.layerPaintConfig,console.log("更新图层实体",l),T.createTopicBus.emit(l)}N.value=!1},u=e.ref();return S({show:o=>{N.value=!0,u.value=o,console.log("显示专题图层配置面板",o);let l;try{l=JSON.parse(o.layerPaintConfig||"{}")}catch{const r=P.parseLayerPaintConfig(o.layerPaintConfig,o.layerType);l={renderMode:r.pointRenderType==="icon"?"icon":"color",pointStyle:r.pointRenderType==="icon"?r.currentMapIconName||"":"circle",pointSize:r.pointSize||16,displayLabel:r.showSurveyNumber==="show",labelSize:r.fontSize||11,labelColor:r.fontColor||"rgba(0, 0, 0, 1)",labelFont:r.fontFamily||"DengXian",pointTintColor:r.pointTintColor}}console.log("图层配置",l),!l.renderMode||l.renderMode==="color"?(c.value=l.pointTintColor||"rgba(2, 210, 224, 1)",i.value="color",s.value=l.pointStyle||b.value[0]?.id||""):(i.value="icon",d.value=l.pointStyle||C.value[0]?.id||""),v.value=l.pointSize||16,p.value=l.displayLabel?"show":"hide",m.value=l.labelSize||11,f.value=l.labelColor||"rgba(0, 0, 0, 1)",V.value=l.labelFont||"DengXian"}}),(o,l)=>{const a=y.ElOption,r=y.ElSelect;return e.openBlock(),e.createBlock(e.Transition,{name:"fade",mode:"out-in"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",B,[e.createElementVNode("div",{class:"header"},[l[7]||(l[7]=e.createElementVNode("div",null,"显示设置",-1)),e.createElementVNode("div",{class:"close-btn",onClick:h},"X")]),e.createElementVNode("div",O,[e.createVNode(e.unref(n.ElForm),{class:"point-style-form"},{default:e.withCtx(()=>[e.createVNode(e.unref(n.ElFormItem),{label:"渲染方式"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=t=>i.value=t),placeholder:"请选择渲染方式"},{default:e.withCtx(()=>[e.createVNode(a,{value:"color",label:"纯色点"}),e.createVNode(a,{value:"icon",label:"图标"})]),_:1},8,["modelValue"])]),_:1}),e.withDirectives(e.createVNode(e.unref(n.ElFormItem),{label:"点位样式","label-position":"top"},{default:e.withCtx(()=>[e.createElementVNode("div",z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,t=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["shape-item",{selected:s.value===t.id}]),key:t.id},[e.createElementVNode("img",{src:t.url,alt:"",onClick:x=>E(t.id)},null,8,D)],2))),128))])]),_:1},512),[[e.vShow,i.value==="color"]]),e.withDirectives(e.createVNode(e.unref(n.ElFormItem),{label:"点位颜色",class:"color-picker"},{default:e.withCtx(()=>[e.createVNode(e.unref(n.ElColorPicker),{modelValue:c.value,"onUpdate:modelValue":l[1]||(l[1]=t=>c.value=t),onChange:_,ref:"colorPicker","show-alpha":"","color-format":"rgb",predefine:e.unref(F.mapPointsColors)},null,8,["modelValue","predefine"])]),_:1},512),[[e.vShow,i.value==="color"]]),e.withDirectives(e.createVNode(e.unref(n.ElFormItem),{label:"点位样式","label-position":"top",class:"icon-image"},{default:e.withCtx(()=>[e.createElementVNode("div",L,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,t=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["color-item",{selected:d.value===t.id}]),key:t.id},[e.createElementVNode("img",{src:t.url,alt:"",onClick:x=>d.value=t.id},null,8,q)],2))),128))])]),_:1},512),[[e.vShow,i.value==="icon"]]),e.withDirectives(e.createVNode(e.unref(n.ElFormItem),{label:"点位大小"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:v.value,"onUpdate:modelValue":l[2]||(l[2]=t=>v.value=t),placeholder:"请选择点位大小"},{default:e.withCtx(()=>[e.createVNode(a,{value:14,label:"14"}),e.createVNode(a,{value:16,label:"16"}),e.createVNode(a,{value:18,label:"18"})]),_:1},8,["modelValue"])]),_:1},512),[[e.vShow,i.value==="color"]]),e.createVNode(e.unref(n.ElFormItem),{label:"物种名称"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:p.value,"onUpdate:modelValue":l[3]||(l[3]=t=>p.value=t),placeholder:"请选择"},{default:e.withCtx(()=>[e.createVNode(a,{value:"show",label:"显示"}),e.createVNode(a,{value:"hide",label:"不显示"})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(e.unref(n.ElFormItem),{label:"字体大小"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:m.value,"onUpdate:modelValue":l[4]||(l[4]=t=>m.value=t),placeholder:"请选择字体大小"},{default:e.withCtx(()=>[e.createVNode(a,{value:14,label:"14"}),e.createVNode(a,{value:16,label:"16"}),e.createVNode(a,{value:18,label:"18"}),e.createVNode(a,{value:20,label:"20"}),e.createVNode(a,{value:22,label:"22"}),e.createVNode(a,{value:24,label:"24"})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(e.unref(n.ElFormItem),{label:"字体颜色",class:"color-picker"},{default:e.withCtx(()=>[e.createVNode(e.unref(n.ElColorPicker),{modelValue:f.value,"onUpdate:modelValue":l[5]||(l[5]=t=>f.value=t),"show-alpha":"","color-format":"rgb"},null,8,["modelValue"])]),_:1}),e.createVNode(e.unref(n.ElFormItem),{label:"字体类型"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:V.value,"onUpdate:modelValue":l[6]||(l[6]=t=>V.value=t),placeholder:"请选择字体类型"},{default:e.withCtx(()=>[e.createVNode(a,{value:"SimSun",label:"宋体"}),e.createVNode(a,{value:"SimHei",label:"黑体"}),e.createVNode(a,{value:"DengXian",label:"等线"})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),e.createElementVNode("div",M,[e.createVNode(e.unref(n.ElButton),{onClick:h},{default:e.withCtx(()=>[...l[8]||(l[8]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(e.unref(n.ElButton),{type:"primary",onClick:k},{default:e.withCtx(()=>[...l[9]||(l[9]=[e.createTextVNode("确认",-1)])]),_:1})])],512),[[e.vShow,N.value]])]),_:1})}}}),U=I._export_sfc(j,[["__scopeId","data-v-337e13ce"]]);exports.default=U;
|