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