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
package/dist/mapboxV2.mjs
CHANGED
|
@@ -1,77 +1,78 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { b as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
1
|
+
import { a as uo } from "./chunks/apply-element-plus-theme-UHVxP4VN.js";
|
|
2
|
+
import { default as rr } from "./mapboxV2/MapView.mjs";
|
|
3
|
+
import { ref as I, inject as D, computed as C, defineComponent as M, createElementBlock as L, openBlock as R, normalizeClass as B, unref as r, createElementVNode as S, withDirectives as Be, withModifiers as W, isRef as Ne, vModelRadio as Le, renderSlot as P, createTextVNode as j, toDisplayString as Q, nextTick as ce, normalizeStyle as Ke, onMounted as pe, provide as q, reactive as co, toRefs as po, watch as fe, Fragment as le, renderList as ue, createBlock as H, resolveDynamicComponent as me, mergeProps as oe, onBeforeUnmount as fo, toRef as Z, readonly as mo, resolveComponent as N, withCtx as _, createVNode as h, normalizeProps as vo, guardReactiveProps as go, createCommentVNode as ne, createSlots as bo, getCurrentInstance as Ge, onUnmounted as Ce, withKeys as _o } from "vue";
|
|
4
|
+
import { ArrowDown as wo, Plus as ho, CaretBottom as yo, Setting as Eo, DArrowRight as Io, DArrowLeft as Co, Search as $o, FullScreen as To } from "@element-plus/icons-vue";
|
|
5
|
+
import $e from "mapbox-gl";
|
|
6
|
+
import { ElMessage as Y } from "element-plus";
|
|
7
|
+
import { m as ko, f as So, b as Ro } from "./chunks/EventKeys-DZ_Hahro.js";
|
|
8
|
+
import { l as ar, g as sr } from "./chunks/EventKeys-DZ_Hahro.js";
|
|
9
|
+
import { u as Fo } from "./chunks/mapStore-Eu13mnJg.js";
|
|
10
|
+
import { E as ve } from "./chunks/index-CgKiWbxR.js";
|
|
11
|
+
import { O as Oo, E as Po, c as Mo } from "./chunks/index-Cv_K9rbv.js";
|
|
12
|
+
import { b as Bo } from "./chunks/index-Cyrc4mj-.js";
|
|
13
|
+
import { C as ge, U as be, _ as A, u as _e, e as ae, w as De, E as we } from "./chunks/aria-BEkkcjlH.js";
|
|
14
|
+
import { useEventListener as No } from "@vueuse/core";
|
|
15
|
+
import { T as Lo, U as Ko, O as Go, J as Ae, K as Do, V as Ao, c as Te, p as ke, x as Se, q as te, t as Ve, W as Re, u as X, s as x, d as Vo, w as zo } from "./chunks/style-COMeMpO8.js";
|
|
16
|
+
import { g as se, d as z, E as ee, w as Fe } from "./chunks/index-ieQ_IULW.js";
|
|
17
|
+
import { d as Uo, a as ze, b as Ho, E as Yo } from "./chunks/mapSetting-B1a88k-v.js";
|
|
18
|
+
import { i as jo, u as Jo } from "./chunks/index-_At9ftZd.js";
|
|
19
|
+
import { u as Ue, a as Wo, b as qo, c as Qo } from "./chunks/use-form-common-props-BQtZKazE.js";
|
|
20
|
+
import { c as He } from "./chunks/index-BeskO4C8.js";
|
|
21
|
+
import { E as Xo } from "./chunks/index-BdloQTv1.js";
|
|
22
|
+
import { u as Zo } from "./chunks/index-03UF6hCZ.js";
|
|
23
|
+
import { f as xo, u as en } from "./chunks/index-BCQYbM-I.js";
|
|
24
|
+
import { g as on, c as nn, b as tn, d as rn } from "./chunks/index-mDs-Bipv.js";
|
|
25
|
+
import { _ as ln } from "./chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
|
+
import { default as dr } from "./mapboxV2/components/mapTopic.mjs";
|
|
27
|
+
import { default as cr } from "./mapboxV2/components/mapLevel.mjs";
|
|
28
|
+
import { default as fr } from "./mapboxV2/components/mapPos.mjs";
|
|
29
|
+
import { default as vr } from "./mapboxV2/components/mapPitch.mjs";
|
|
30
|
+
import { default as br } from "./mapboxV2/components/mapCompass.mjs";
|
|
31
|
+
import { _ as wr } from "./chunks/MapTools.vue_vue_type_style_index_0_lang-CZ_dEmHg.js";
|
|
32
|
+
import { default as yr } from "./mapboxV2/components/MapLegend.mjs";
|
|
33
|
+
var an = "[object Object]", sn = Function.prototype, dn = Object.prototype, Ye = sn.toString, un = dn.hasOwnProperty, cn = Ye.call(Object);
|
|
34
|
+
function pn(e) {
|
|
35
|
+
if (!Lo(e) || Ko(e) != an)
|
|
35
36
|
return !1;
|
|
36
|
-
var o =
|
|
37
|
+
var o = on(e);
|
|
37
38
|
if (o === null)
|
|
38
39
|
return !0;
|
|
39
|
-
var t =
|
|
40
|
-
return typeof t == "function" && t instanceof t &&
|
|
40
|
+
var t = un.call(o, "constructor") && o.constructor;
|
|
41
|
+
return typeof t == "function" && t instanceof t && Ye.call(t) == cn;
|
|
41
42
|
}
|
|
42
|
-
function
|
|
43
|
+
function fn(e, o, t) {
|
|
43
44
|
var n = -1, l = e.length;
|
|
44
45
|
o < 0 && (o = -o > l ? 0 : l + o), t = t > l ? l : t, t < 0 && (t += l), l = o > t ? 0 : t - o >>> 0, o >>>= 0;
|
|
45
46
|
for (var s = Array(l); ++n < l; )
|
|
46
47
|
s[n] = e[n + o];
|
|
47
48
|
return s;
|
|
48
49
|
}
|
|
49
|
-
function
|
|
50
|
+
function mn(e) {
|
|
50
51
|
var o = e == null ? 0 : e.length;
|
|
51
52
|
return o ? e[o - 1] : void 0;
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
-
return o.length < 2 ? e :
|
|
54
|
+
function vn(e, o) {
|
|
55
|
+
return o.length < 2 ? e : Go(e, fn(o, 0, -1));
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
-
return o = Ae(o, e), e =
|
|
57
|
+
function gn(e, o) {
|
|
58
|
+
return o = Ae(o, e), e = vn(e, o), e == null || delete e[Do(mn(o))];
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
-
return
|
|
60
|
+
function bn(e) {
|
|
61
|
+
return pn(e) ? void 0 : e;
|
|
61
62
|
}
|
|
62
|
-
var
|
|
63
|
+
var _n = 1, wn = 2, hn = 4, yn = xo(function(e, o) {
|
|
63
64
|
var t = {};
|
|
64
65
|
if (e == null)
|
|
65
66
|
return t;
|
|
66
67
|
var n = !1;
|
|
67
|
-
o =
|
|
68
|
+
o = Ao(o, function(s) {
|
|
68
69
|
return s = Ae(s, e), n || (n = s.length > 1), s;
|
|
69
|
-
}),
|
|
70
|
+
}), nn(e, tn(e), t), n && (t = rn(t, _n | wn | hn, bn));
|
|
70
71
|
for (var l = o.length; l--; )
|
|
71
|
-
|
|
72
|
+
gn(t, o[l]);
|
|
72
73
|
return t;
|
|
73
74
|
});
|
|
74
|
-
const
|
|
75
|
+
const je = te({
|
|
75
76
|
modelValue: {
|
|
76
77
|
type: [String, Number, Boolean],
|
|
77
78
|
default: void 0
|
|
@@ -93,161 +94,161 @@ const Ze = re({
|
|
|
93
94
|
type: String,
|
|
94
95
|
default: void 0
|
|
95
96
|
}
|
|
96
|
-
}),
|
|
97
|
-
...
|
|
97
|
+
}), En = te({
|
|
98
|
+
...je,
|
|
98
99
|
border: Boolean
|
|
99
|
-
}),
|
|
100
|
-
[
|
|
101
|
-
[
|
|
102
|
-
},
|
|
103
|
-
const t =
|
|
100
|
+
}), Je = {
|
|
101
|
+
[be]: (e) => Te(e) || ke(e) || Se(e),
|
|
102
|
+
[ge]: (e) => Te(e) || ke(e) || Se(e)
|
|
103
|
+
}, We = Symbol("radioGroupKey"), qe = (e, o) => {
|
|
104
|
+
const t = I(), n = D(We, void 0), l = C(() => !!n), s = C(() => Re(e.value) ? e.label : e.value), d = C({
|
|
104
105
|
get() {
|
|
105
106
|
return l.value ? n.modelValue : e.modelValue;
|
|
106
107
|
},
|
|
107
108
|
set(a) {
|
|
108
|
-
l.value ? n.changeEvent(a) : o && o(
|
|
109
|
+
l.value ? n.changeEvent(a) : o && o(be, a), t.value.checked = e.modelValue === s.value;
|
|
109
110
|
}
|
|
110
|
-
}), i =
|
|
111
|
-
return
|
|
111
|
+
}), i = Ue(C(() => n?.size)), u = Wo(C(() => n?.disabled)), p = I(!1), f = C(() => u.value || l.value && d.value !== s.value ? -1 : 0);
|
|
112
|
+
return Zo({
|
|
112
113
|
from: "label act as value",
|
|
113
114
|
replacement: "value",
|
|
114
115
|
version: "3.0.0",
|
|
115
116
|
scope: "el-radio",
|
|
116
117
|
ref: "https://element-plus.org/en-US/component/radio.html"
|
|
117
|
-
},
|
|
118
|
+
}, C(() => l.value && Re(e.value))), {
|
|
118
119
|
radioRef: t,
|
|
119
120
|
isGroup: l,
|
|
120
121
|
radioGroup: n,
|
|
121
|
-
focus:
|
|
122
|
+
focus: p,
|
|
122
123
|
size: i,
|
|
123
|
-
disabled:
|
|
124
|
-
tabIndex:
|
|
125
|
-
modelValue:
|
|
124
|
+
disabled: u,
|
|
125
|
+
tabIndex: f,
|
|
126
|
+
modelValue: d,
|
|
126
127
|
actualValue: s
|
|
127
128
|
};
|
|
128
|
-
},
|
|
129
|
+
}, In = M({
|
|
129
130
|
name: "ElRadio"
|
|
130
|
-
}),
|
|
131
|
-
...
|
|
132
|
-
props:
|
|
133
|
-
emits:
|
|
131
|
+
}), Cn = /* @__PURE__ */ M({
|
|
132
|
+
...In,
|
|
133
|
+
props: En,
|
|
134
|
+
emits: Je,
|
|
134
135
|
setup(e, { emit: o }) {
|
|
135
|
-
const t = e, n =
|
|
136
|
+
const t = e, n = X("radio"), { radioRef: l, radioGroup: s, focus: d, size: i, disabled: u, modelValue: p, actualValue: f } = qe(t, o);
|
|
136
137
|
function a() {
|
|
137
|
-
|
|
138
|
+
ce(() => o(ge, p.value));
|
|
138
139
|
}
|
|
139
|
-
return (
|
|
140
|
-
var
|
|
141
|
-
return
|
|
142
|
-
class:
|
|
140
|
+
return (m, y) => {
|
|
141
|
+
var c;
|
|
142
|
+
return R(), L("label", {
|
|
143
|
+
class: B([
|
|
143
144
|
r(n).b(),
|
|
144
|
-
r(n).is("disabled", r(
|
|
145
|
-
r(n).is("focus", r(
|
|
146
|
-
r(n).is("bordered",
|
|
147
|
-
r(n).is("checked", r(
|
|
145
|
+
r(n).is("disabled", r(u)),
|
|
146
|
+
r(n).is("focus", r(d)),
|
|
147
|
+
r(n).is("bordered", m.border),
|
|
148
|
+
r(n).is("checked", r(p) === r(f)),
|
|
148
149
|
r(n).m(r(i))
|
|
149
150
|
])
|
|
150
151
|
}, [
|
|
151
|
-
|
|
152
|
-
class:
|
|
152
|
+
S("span", {
|
|
153
|
+
class: B([
|
|
153
154
|
r(n).e("input"),
|
|
154
|
-
r(n).is("disabled", r(
|
|
155
|
-
r(n).is("checked", r(
|
|
155
|
+
r(n).is("disabled", r(u)),
|
|
156
|
+
r(n).is("checked", r(p) === r(f))
|
|
156
157
|
])
|
|
157
158
|
}, [
|
|
158
|
-
|
|
159
|
+
Be(S("input", {
|
|
159
160
|
ref_key: "radioRef",
|
|
160
161
|
ref: l,
|
|
161
|
-
"onUpdate:modelValue": (
|
|
162
|
-
class:
|
|
163
|
-
value: r(
|
|
164
|
-
name:
|
|
165
|
-
disabled: r(
|
|
166
|
-
checked: r(
|
|
162
|
+
"onUpdate:modelValue": (b) => Ne(p) ? p.value = b : null,
|
|
163
|
+
class: B(r(n).e("original")),
|
|
164
|
+
value: r(f),
|
|
165
|
+
name: m.name || ((c = r(s)) == null ? void 0 : c.name),
|
|
166
|
+
disabled: r(u),
|
|
167
|
+
checked: r(p) === r(f),
|
|
167
168
|
type: "radio",
|
|
168
|
-
onFocus: (
|
|
169
|
-
onBlur: (
|
|
169
|
+
onFocus: (b) => d.value = !0,
|
|
170
|
+
onBlur: (b) => d.value = !1,
|
|
170
171
|
onChange: a,
|
|
171
|
-
onClick:
|
|
172
|
+
onClick: W(() => {
|
|
172
173
|
}, ["stop"])
|
|
173
174
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
|
|
174
|
-
[
|
|
175
|
+
[Le, r(p)]
|
|
175
176
|
]),
|
|
176
|
-
|
|
177
|
-
class:
|
|
177
|
+
S("span", {
|
|
178
|
+
class: B(r(n).e("inner"))
|
|
178
179
|
}, null, 2)
|
|
179
180
|
], 2),
|
|
180
|
-
|
|
181
|
-
class:
|
|
182
|
-
onKeydown:
|
|
181
|
+
S("span", {
|
|
182
|
+
class: B(r(n).e("label")),
|
|
183
|
+
onKeydown: W(() => {
|
|
183
184
|
}, ["stop"])
|
|
184
185
|
}, [
|
|
185
|
-
|
|
186
|
-
|
|
186
|
+
P(m.$slots, "default", {}, () => [
|
|
187
|
+
j(Q(m.label), 1)
|
|
187
188
|
])
|
|
188
189
|
], 42, ["onKeydown"])
|
|
189
190
|
], 2);
|
|
190
191
|
};
|
|
191
192
|
}
|
|
192
193
|
});
|
|
193
|
-
var
|
|
194
|
-
const
|
|
195
|
-
...
|
|
196
|
-
}),
|
|
194
|
+
var Qe = /* @__PURE__ */ A(Cn, [["__file", "radio.vue"]]);
|
|
195
|
+
const $n = te({
|
|
196
|
+
...je
|
|
197
|
+
}), Tn = M({
|
|
197
198
|
name: "ElRadioButton"
|
|
198
|
-
}),
|
|
199
|
-
...
|
|
200
|
-
props:
|
|
199
|
+
}), kn = /* @__PURE__ */ M({
|
|
200
|
+
...Tn,
|
|
201
|
+
props: $n,
|
|
201
202
|
setup(e) {
|
|
202
|
-
const o = e, t =
|
|
203
|
-
backgroundColor:
|
|
204
|
-
borderColor:
|
|
205
|
-
boxShadow:
|
|
206
|
-
color:
|
|
203
|
+
const o = e, t = X("radio"), { radioRef: n, focus: l, size: s, disabled: d, modelValue: i, radioGroup: u, actualValue: p } = qe(o), f = C(() => ({
|
|
204
|
+
backgroundColor: u?.fill || "",
|
|
205
|
+
borderColor: u?.fill || "",
|
|
206
|
+
boxShadow: u?.fill ? `-1px 0 0 0 ${u.fill}` : "",
|
|
207
|
+
color: u?.textColor || ""
|
|
207
208
|
}));
|
|
208
|
-
return (a,
|
|
209
|
-
var
|
|
210
|
-
return
|
|
211
|
-
class:
|
|
209
|
+
return (a, m) => {
|
|
210
|
+
var y;
|
|
211
|
+
return R(), L("label", {
|
|
212
|
+
class: B([
|
|
212
213
|
r(t).b("button"),
|
|
213
|
-
r(t).is("active", r(i) === r(
|
|
214
|
-
r(t).is("disabled", r(
|
|
214
|
+
r(t).is("active", r(i) === r(p)),
|
|
215
|
+
r(t).is("disabled", r(d)),
|
|
215
216
|
r(t).is("focus", r(l)),
|
|
216
217
|
r(t).bm("button", r(s))
|
|
217
218
|
])
|
|
218
219
|
}, [
|
|
219
|
-
|
|
220
|
+
Be(S("input", {
|
|
220
221
|
ref_key: "radioRef",
|
|
221
222
|
ref: n,
|
|
222
|
-
"onUpdate:modelValue": (
|
|
223
|
-
class:
|
|
224
|
-
value: r(
|
|
223
|
+
"onUpdate:modelValue": (c) => Ne(i) ? i.value = c : null,
|
|
224
|
+
class: B(r(t).be("button", "original-radio")),
|
|
225
|
+
value: r(p),
|
|
225
226
|
type: "radio",
|
|
226
|
-
name: a.name || ((
|
|
227
|
-
disabled: r(
|
|
228
|
-
onFocus: (
|
|
229
|
-
onBlur: (
|
|
230
|
-
onClick:
|
|
227
|
+
name: a.name || ((y = r(u)) == null ? void 0 : y.name),
|
|
228
|
+
disabled: r(d),
|
|
229
|
+
onFocus: (c) => l.value = !0,
|
|
230
|
+
onBlur: (c) => l.value = !1,
|
|
231
|
+
onClick: W(() => {
|
|
231
232
|
}, ["stop"])
|
|
232
233
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
|
|
233
|
-
[
|
|
234
|
+
[Le, r(i)]
|
|
234
235
|
]),
|
|
235
|
-
|
|
236
|
-
class:
|
|
237
|
-
style:
|
|
238
|
-
onKeydown:
|
|
236
|
+
S("span", {
|
|
237
|
+
class: B(r(t).be("button", "inner")),
|
|
238
|
+
style: Ke(r(i) === r(p) ? r(f) : {}),
|
|
239
|
+
onKeydown: W(() => {
|
|
239
240
|
}, ["stop"])
|
|
240
241
|
}, [
|
|
241
|
-
|
|
242
|
-
|
|
242
|
+
P(a.$slots, "default", {}, () => [
|
|
243
|
+
j(Q(a.label), 1)
|
|
243
244
|
])
|
|
244
245
|
], 46, ["onKeydown"])
|
|
245
246
|
], 2);
|
|
246
247
|
};
|
|
247
248
|
}
|
|
248
249
|
});
|
|
249
|
-
var
|
|
250
|
-
const
|
|
250
|
+
var he = /* @__PURE__ */ A(kn, [["__file", "radio-button.vue"]]);
|
|
251
|
+
const Sn = te({
|
|
251
252
|
id: {
|
|
252
253
|
type: String,
|
|
253
254
|
default: void 0
|
|
@@ -282,121 +283,121 @@ const Kn = re({
|
|
|
282
283
|
},
|
|
283
284
|
props: {
|
|
284
285
|
type: x(Object),
|
|
285
|
-
default: () =>
|
|
286
|
+
default: () => Xe
|
|
286
287
|
},
|
|
287
288
|
type: {
|
|
288
289
|
type: String,
|
|
289
290
|
values: ["radio", "button"],
|
|
290
291
|
default: "radio"
|
|
291
292
|
},
|
|
292
|
-
...
|
|
293
|
-
}),
|
|
293
|
+
...en(["ariaLabel"])
|
|
294
|
+
}), Rn = Je, Xe = {
|
|
294
295
|
label: "label",
|
|
295
296
|
value: "value",
|
|
296
297
|
disabled: "disabled"
|
|
297
|
-
},
|
|
298
|
+
}, Fn = M({
|
|
298
299
|
name: "ElRadioGroup"
|
|
299
|
-
}),
|
|
300
|
-
...
|
|
301
|
-
props:
|
|
302
|
-
emits:
|
|
300
|
+
}), On = /* @__PURE__ */ M({
|
|
301
|
+
...Fn,
|
|
302
|
+
props: Sn,
|
|
303
|
+
emits: Rn,
|
|
303
304
|
setup(e, { emit: o }) {
|
|
304
|
-
const t = e, n =
|
|
305
|
-
formItemContext:
|
|
306
|
-
}),
|
|
307
|
-
o(
|
|
305
|
+
const t = e, n = X("radio"), l = _e(), s = I(), { formItem: d } = qo(), { inputId: i, isLabeledByFormItem: u } = Qo(t, {
|
|
306
|
+
formItemContext: d
|
|
307
|
+
}), p = (c) => {
|
|
308
|
+
o(be, c), ce(() => o(ge, c));
|
|
308
309
|
};
|
|
309
|
-
|
|
310
|
-
const
|
|
311
|
-
!Array.from(
|
|
310
|
+
pe(() => {
|
|
311
|
+
const c = s.value.querySelectorAll("[type=radio]"), b = c[0];
|
|
312
|
+
!Array.from(c).some((v) => v.checked) && b && (b.tabIndex = 0);
|
|
312
313
|
});
|
|
313
|
-
const
|
|
314
|
-
...
|
|
314
|
+
const f = C(() => t.name || l.value), a = C(() => ({
|
|
315
|
+
...Xe,
|
|
315
316
|
...t.props
|
|
316
|
-
})),
|
|
317
|
-
const { label:
|
|
318
|
-
label:
|
|
319
|
-
value:
|
|
320
|
-
disabled:
|
|
317
|
+
})), m = (c) => {
|
|
318
|
+
const { label: b, value: v, disabled: E } = a.value, V = {
|
|
319
|
+
label: c[b],
|
|
320
|
+
value: c[v],
|
|
321
|
+
disabled: c[E]
|
|
321
322
|
};
|
|
322
|
-
return { ...
|
|
323
|
-
},
|
|
324
|
-
return
|
|
325
|
-
...
|
|
326
|
-
changeEvent:
|
|
327
|
-
name:
|
|
328
|
-
})),
|
|
329
|
-
t.validateEvent && !
|
|
330
|
-
}), (
|
|
323
|
+
return { ...yn(c, [b, v, E]), ...V };
|
|
324
|
+
}, y = C(() => t.type === "button" ? he : Qe);
|
|
325
|
+
return q(We, co({
|
|
326
|
+
...po(t),
|
|
327
|
+
changeEvent: p,
|
|
328
|
+
name: f
|
|
329
|
+
})), fe(() => t.modelValue, (c, b) => {
|
|
330
|
+
t.validateEvent && !jo(c, b) && d?.validate("change").catch((v) => Vo(v));
|
|
331
|
+
}), (c, b) => (R(), L("div", {
|
|
331
332
|
id: r(i),
|
|
332
333
|
ref_key: "radioGroupRef",
|
|
333
334
|
ref: s,
|
|
334
|
-
class:
|
|
335
|
+
class: B(r(n).b("group")),
|
|
335
336
|
role: "radiogroup",
|
|
336
|
-
"aria-label": r(
|
|
337
|
-
"aria-labelledby": r(
|
|
337
|
+
"aria-label": r(u) ? void 0 : c.ariaLabel || "radio-group",
|
|
338
|
+
"aria-labelledby": r(u) ? r(d).labelId : void 0
|
|
338
339
|
}, [
|
|
339
|
-
|
|
340
|
-
(
|
|
340
|
+
P(c.$slots, "default", {}, () => [
|
|
341
|
+
(R(!0), L(le, null, ue(c.options, (v, E) => (R(), H(me(r(y)), oe({ key: E }, m(v)), null, 16))), 128))
|
|
341
342
|
])
|
|
342
343
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
343
344
|
}
|
|
344
345
|
});
|
|
345
|
-
var
|
|
346
|
-
const
|
|
347
|
-
RadioButton:
|
|
348
|
-
RadioGroup:
|
|
349
|
-
}),
|
|
350
|
-
|
|
351
|
-
const
|
|
346
|
+
var Ze = /* @__PURE__ */ A(On, [["__file", "radio-group.vue"]]);
|
|
347
|
+
const Pn = De(Qe, {
|
|
348
|
+
RadioButton: he,
|
|
349
|
+
RadioGroup: Ze
|
|
350
|
+
}), Mn = ae(Ze);
|
|
351
|
+
ae(he);
|
|
352
|
+
const Bn = M({
|
|
352
353
|
inheritAttrs: !1
|
|
353
354
|
});
|
|
354
|
-
function
|
|
355
|
-
return
|
|
355
|
+
function Nn(e, o, t, n, l, s) {
|
|
356
|
+
return P(e.$slots, "default");
|
|
356
357
|
}
|
|
357
|
-
var
|
|
358
|
-
const
|
|
358
|
+
var Ln = /* @__PURE__ */ A(Bn, [["render", Nn], ["__file", "collection.vue"]]);
|
|
359
|
+
const Kn = M({
|
|
359
360
|
name: "ElCollectionItem",
|
|
360
361
|
inheritAttrs: !1
|
|
361
362
|
});
|
|
362
|
-
function
|
|
363
|
-
return
|
|
363
|
+
function Gn(e, o, t, n, l, s) {
|
|
364
|
+
return P(e.$slots, "default");
|
|
364
365
|
}
|
|
365
|
-
var
|
|
366
|
-
const
|
|
366
|
+
var Dn = /* @__PURE__ */ A(Kn, [["render", Gn], ["__file", "collection-item.vue"]]);
|
|
367
|
+
const xe = "data-el-collection-item", An = (e) => {
|
|
367
368
|
const o = `El${e}Collection`, t = `${o}Item`, n = Symbol(o), l = Symbol(t), s = {
|
|
368
|
-
...
|
|
369
|
+
...Ln,
|
|
369
370
|
name: o,
|
|
370
371
|
setup() {
|
|
371
|
-
const i =
|
|
372
|
-
|
|
373
|
-
itemMap:
|
|
372
|
+
const i = I(), u = /* @__PURE__ */ new Map();
|
|
373
|
+
q(n, {
|
|
374
|
+
itemMap: u,
|
|
374
375
|
getItems: () => {
|
|
375
|
-
const
|
|
376
|
-
if (!
|
|
376
|
+
const f = r(i);
|
|
377
|
+
if (!f)
|
|
377
378
|
return [];
|
|
378
|
-
const a = Array.from(
|
|
379
|
-
return [...
|
|
379
|
+
const a = Array.from(f.querySelectorAll(`[${xe}]`));
|
|
380
|
+
return [...u.values()].sort((y, c) => a.indexOf(y.ref) - a.indexOf(c.ref));
|
|
380
381
|
},
|
|
381
382
|
collectionRef: i
|
|
382
383
|
});
|
|
383
384
|
}
|
|
384
|
-
},
|
|
385
|
-
...
|
|
385
|
+
}, d = {
|
|
386
|
+
...Dn,
|
|
386
387
|
name: t,
|
|
387
|
-
setup(i, { attrs:
|
|
388
|
-
const
|
|
389
|
-
|
|
390
|
-
collectionItemRef:
|
|
391
|
-
}),
|
|
392
|
-
const a = r(
|
|
393
|
-
a &&
|
|
388
|
+
setup(i, { attrs: u }) {
|
|
389
|
+
const p = I(), f = D(n, void 0);
|
|
390
|
+
q(l, {
|
|
391
|
+
collectionItemRef: p
|
|
392
|
+
}), pe(() => {
|
|
393
|
+
const a = r(p);
|
|
394
|
+
a && f.itemMap.set(a, {
|
|
394
395
|
ref: a,
|
|
395
|
-
...
|
|
396
|
+
...u
|
|
396
397
|
});
|
|
397
|
-
}),
|
|
398
|
-
const a = r(
|
|
399
|
-
|
|
398
|
+
}), fo(() => {
|
|
399
|
+
const a = r(p);
|
|
400
|
+
f.itemMap.delete(a);
|
|
400
401
|
});
|
|
401
402
|
}
|
|
402
403
|
};
|
|
@@ -404,9 +405,9 @@ const lo = "data-el-collection-item", Xn = (e) => {
|
|
|
404
405
|
COLLECTION_INJECTION_KEY: n,
|
|
405
406
|
COLLECTION_ITEM_INJECTION_KEY: l,
|
|
406
407
|
ElCollection: s,
|
|
407
|
-
ElCollectionItem:
|
|
408
|
+
ElCollectionItem: d
|
|
408
409
|
};
|
|
409
|
-
},
|
|
410
|
+
}, Vn = te({
|
|
410
411
|
style: { type: x([String, Array, Object]) },
|
|
411
412
|
currentTabId: {
|
|
412
413
|
type: x(String)
|
|
@@ -425,11 +426,11 @@ const lo = "data-el-collection-item", Xn = (e) => {
|
|
|
425
426
|
onFocus: Function,
|
|
426
427
|
onMousedown: Function
|
|
427
428
|
}), {
|
|
428
|
-
ElCollection:
|
|
429
|
-
ElCollectionItem:
|
|
430
|
-
COLLECTION_INJECTION_KEY:
|
|
431
|
-
COLLECTION_ITEM_INJECTION_KEY:
|
|
432
|
-
} =
|
|
429
|
+
ElCollection: zn,
|
|
430
|
+
ElCollectionItem: Un,
|
|
431
|
+
COLLECTION_INJECTION_KEY: eo,
|
|
432
|
+
COLLECTION_ITEM_INJECTION_KEY: Hn
|
|
433
|
+
} = An("RovingFocusGroup"), ye = Symbol("elRovingFocusGroup"), oo = Symbol("elRovingFocusGroupItem"), Yn = {
|
|
433
434
|
ArrowLeft: "prev",
|
|
434
435
|
ArrowUp: "prev",
|
|
435
436
|
ArrowRight: "next",
|
|
@@ -438,115 +439,115 @@ const lo = "data-el-collection-item", Xn = (e) => {
|
|
|
438
439
|
Home: "first",
|
|
439
440
|
PageDown: "last",
|
|
440
441
|
End: "last"
|
|
441
|
-
},
|
|
442
|
-
const n =
|
|
443
|
-
return
|
|
444
|
-
},
|
|
442
|
+
}, jn = (e, o) => e, Jn = (e, o, t) => {
|
|
443
|
+
const n = se(e), l = jn(n);
|
|
444
|
+
return Yn[l];
|
|
445
|
+
}, Wn = (e, o) => e.map((t, n) => e[(n + o) % e.length]), Oe = (e) => {
|
|
445
446
|
const { activeElement: o } = document;
|
|
446
447
|
for (const t of e)
|
|
447
448
|
if (t === o || (t.focus(), o !== document.activeElement))
|
|
448
449
|
return;
|
|
449
|
-
},
|
|
450
|
+
}, Pe = "currentTabIdChange", Me = "rovingFocusGroup.entryFocus", qn = { bubbles: !1, cancelable: !0 }, Qn = M({
|
|
450
451
|
name: "ElRovingFocusGroupImpl",
|
|
451
452
|
inheritAttrs: !1,
|
|
452
|
-
props:
|
|
453
|
-
emits: [
|
|
453
|
+
props: Vn,
|
|
454
|
+
emits: [Pe, "entryFocus"],
|
|
454
455
|
setup(e, { emit: o }) {
|
|
455
456
|
var t;
|
|
456
|
-
const n =
|
|
457
|
+
const n = I((t = e.currentTabId || e.defaultCurrentTabId) != null ? t : null), l = I(!1), s = I(!1), d = I(), { getItems: i } = D(eo, void 0), u = C(() => [
|
|
457
458
|
{
|
|
458
459
|
outline: "none"
|
|
459
460
|
},
|
|
460
461
|
e.style
|
|
461
|
-
]),
|
|
462
|
-
o(
|
|
463
|
-
},
|
|
462
|
+
]), p = (v) => {
|
|
463
|
+
o(Pe, v);
|
|
464
|
+
}, f = () => {
|
|
464
465
|
l.value = !0;
|
|
465
|
-
}, a =
|
|
466
|
-
var
|
|
467
|
-
(
|
|
466
|
+
}, a = z((v) => {
|
|
467
|
+
var E;
|
|
468
|
+
(E = e.onMousedown) == null || E.call(e, v);
|
|
468
469
|
}, () => {
|
|
469
470
|
s.value = !0;
|
|
470
|
-
}),
|
|
471
|
-
var
|
|
472
|
-
(
|
|
473
|
-
}, (
|
|
474
|
-
const
|
|
475
|
-
if (
|
|
476
|
-
const $ = new Event(
|
|
477
|
-
if (
|
|
478
|
-
const
|
|
479
|
-
|
|
471
|
+
}), m = z((v) => {
|
|
472
|
+
var E;
|
|
473
|
+
(E = e.onFocus) == null || E.call(e, v);
|
|
474
|
+
}, (v) => {
|
|
475
|
+
const E = !r(s), { target: V, currentTarget: F } = v;
|
|
476
|
+
if (V === F && E && !r(l)) {
|
|
477
|
+
const $ = new Event(Me, qn);
|
|
478
|
+
if (F?.dispatchEvent($), !$.defaultPrevented) {
|
|
479
|
+
const K = i().filter((w) => w.focusable), J = K.find((w) => w.active), U = K.find((w) => w.id === r(n)), g = [J, U, ...K].filter(Boolean).map((w) => w.ref);
|
|
480
|
+
Oe(g);
|
|
480
481
|
}
|
|
481
482
|
}
|
|
482
483
|
s.value = !1;
|
|
483
|
-
}),
|
|
484
|
-
var
|
|
485
|
-
(
|
|
484
|
+
}), y = z((v) => {
|
|
485
|
+
var E;
|
|
486
|
+
(E = e.onBlur) == null || E.call(e, v);
|
|
486
487
|
}, () => {
|
|
487
488
|
l.value = !1;
|
|
488
|
-
}),
|
|
489
|
-
o("entryFocus", ...
|
|
490
|
-
},
|
|
491
|
-
const
|
|
492
|
-
if (
|
|
493
|
-
|
|
494
|
-
let
|
|
495
|
-
switch (
|
|
489
|
+
}), c = (...v) => {
|
|
490
|
+
o("entryFocus", ...v);
|
|
491
|
+
}, b = (v) => {
|
|
492
|
+
const E = Jn(v);
|
|
493
|
+
if (E) {
|
|
494
|
+
v.preventDefault();
|
|
495
|
+
let F = i().filter(($) => $.focusable).map(($) => $.ref);
|
|
496
|
+
switch (E) {
|
|
496
497
|
case "last": {
|
|
497
|
-
|
|
498
|
+
F.reverse();
|
|
498
499
|
break;
|
|
499
500
|
}
|
|
500
501
|
case "prev":
|
|
501
502
|
case "next": {
|
|
502
|
-
|
|
503
|
-
const $ =
|
|
504
|
-
|
|
503
|
+
E === "prev" && F.reverse();
|
|
504
|
+
const $ = F.indexOf(v.currentTarget);
|
|
505
|
+
F = e.loop ? Wn(F, $ + 1) : F.slice($ + 1);
|
|
505
506
|
break;
|
|
506
507
|
}
|
|
507
508
|
}
|
|
508
|
-
|
|
509
|
-
|
|
509
|
+
ce(() => {
|
|
510
|
+
Oe(F);
|
|
510
511
|
});
|
|
511
512
|
}
|
|
512
513
|
};
|
|
513
|
-
|
|
514
|
-
currentTabbedId:
|
|
515
|
-
loop:
|
|
516
|
-
tabIndex:
|
|
517
|
-
rovingFocusGroupRef:
|
|
518
|
-
rovingFocusGroupRootStyle:
|
|
519
|
-
orientation:
|
|
520
|
-
dir:
|
|
521
|
-
onItemFocus:
|
|
522
|
-
onItemShiftTab:
|
|
523
|
-
onBlur:
|
|
524
|
-
onFocus:
|
|
514
|
+
q(ye, {
|
|
515
|
+
currentTabbedId: mo(n),
|
|
516
|
+
loop: Z(e, "loop"),
|
|
517
|
+
tabIndex: C(() => r(l) ? -1 : 0),
|
|
518
|
+
rovingFocusGroupRef: d,
|
|
519
|
+
rovingFocusGroupRootStyle: u,
|
|
520
|
+
orientation: Z(e, "orientation"),
|
|
521
|
+
dir: Z(e, "dir"),
|
|
522
|
+
onItemFocus: p,
|
|
523
|
+
onItemShiftTab: f,
|
|
524
|
+
onBlur: y,
|
|
525
|
+
onFocus: m,
|
|
525
526
|
onMousedown: a,
|
|
526
|
-
onKeydown:
|
|
527
|
-
}),
|
|
528
|
-
n.value =
|
|
529
|
-
}),
|
|
527
|
+
onKeydown: b
|
|
528
|
+
}), fe(() => e.currentTabId, (v) => {
|
|
529
|
+
n.value = v ?? null;
|
|
530
|
+
}), No(d, Me, c);
|
|
530
531
|
}
|
|
531
532
|
});
|
|
532
|
-
function
|
|
533
|
-
return
|
|
533
|
+
function Xn(e, o, t, n, l, s) {
|
|
534
|
+
return P(e.$slots, "default");
|
|
534
535
|
}
|
|
535
|
-
var
|
|
536
|
-
const
|
|
536
|
+
var Zn = /* @__PURE__ */ A(Qn, [["render", Xn], ["__file", "roving-focus-group-impl.vue"]]);
|
|
537
|
+
const xn = M({
|
|
537
538
|
name: "ElRovingFocusGroup",
|
|
538
539
|
components: {
|
|
539
|
-
ElFocusGroupCollection:
|
|
540
|
-
ElRovingFocusGroupImpl:
|
|
540
|
+
ElFocusGroupCollection: zn,
|
|
541
|
+
ElRovingFocusGroupImpl: Zn
|
|
541
542
|
}
|
|
542
543
|
});
|
|
543
|
-
function
|
|
544
|
-
const
|
|
545
|
-
return
|
|
546
|
-
default:
|
|
547
|
-
|
|
548
|
-
default:
|
|
549
|
-
|
|
544
|
+
function et(e, o, t, n, l, s) {
|
|
545
|
+
const d = N("el-roving-focus-group-impl"), i = N("el-focus-group-collection");
|
|
546
|
+
return R(), H(i, null, {
|
|
547
|
+
default: _(() => [
|
|
548
|
+
h(d, vo(go(e.$attrs)), {
|
|
549
|
+
default: _(() => [
|
|
550
|
+
P(e.$slots, "default")
|
|
550
551
|
]),
|
|
551
552
|
_: 3
|
|
552
553
|
}, 16)
|
|
@@ -554,109 +555,109 @@ function ut(e, o, t, n, l, s) {
|
|
|
554
555
|
_: 3
|
|
555
556
|
});
|
|
556
557
|
}
|
|
557
|
-
var
|
|
558
|
-
const
|
|
558
|
+
var ot = /* @__PURE__ */ A(xn, [["render", et], ["__file", "roving-focus-group.vue"]]);
|
|
559
|
+
const ie = Symbol("elDropdown"), no = "elDropdown", { ButtonGroup: nt } = ve, tt = M({
|
|
559
560
|
name: "ElDropdown",
|
|
560
561
|
components: {
|
|
561
562
|
ElButton: ve,
|
|
562
|
-
ElButtonGroup:
|
|
563
|
-
ElScrollbar:
|
|
564
|
-
ElTooltip:
|
|
565
|
-
ElRovingFocusGroup:
|
|
566
|
-
ElOnlyChild:
|
|
567
|
-
ElIcon:
|
|
568
|
-
ArrowDown:
|
|
563
|
+
ElButtonGroup: nt,
|
|
564
|
+
ElScrollbar: Bo,
|
|
565
|
+
ElTooltip: Po,
|
|
566
|
+
ElRovingFocusGroup: ot,
|
|
567
|
+
ElOnlyChild: Oo,
|
|
568
|
+
ElIcon: we,
|
|
569
|
+
ArrowDown: wo
|
|
569
570
|
},
|
|
570
|
-
props:
|
|
571
|
+
props: Uo,
|
|
571
572
|
emits: ["visible-change", "click", "command"],
|
|
572
573
|
setup(e, { emit: o }) {
|
|
573
|
-
const t =
|
|
574
|
-
maxHeight:
|
|
575
|
-
})),
|
|
576
|
-
function
|
|
577
|
-
var
|
|
578
|
-
(
|
|
574
|
+
const t = Ge(), n = X("dropdown"), { t: l } = Jo(), s = I(), d = I(), i = I(), u = I(), p = I(null), f = I(null), a = I(!1), m = C(() => ({
|
|
575
|
+
maxHeight: zo(e.maxHeight)
|
|
576
|
+
})), y = C(() => [n.m($.value)]), c = C(() => Mo(e.trigger)), b = _e().value, v = C(() => e.id || b);
|
|
577
|
+
function E() {
|
|
578
|
+
var k;
|
|
579
|
+
(k = i.value) == null || k.onClose(void 0, 0);
|
|
579
580
|
}
|
|
580
|
-
function
|
|
581
|
-
var
|
|
582
|
-
(
|
|
581
|
+
function V() {
|
|
582
|
+
var k;
|
|
583
|
+
(k = i.value) == null || k.onClose();
|
|
583
584
|
}
|
|
584
|
-
function
|
|
585
|
-
var
|
|
586
|
-
(
|
|
585
|
+
function F() {
|
|
586
|
+
var k;
|
|
587
|
+
(k = i.value) == null || k.onOpen();
|
|
587
588
|
}
|
|
588
|
-
const $ =
|
|
589
|
-
function
|
|
590
|
-
o("command", ...
|
|
589
|
+
const $ = Ue();
|
|
590
|
+
function K(...k) {
|
|
591
|
+
o("command", ...k);
|
|
591
592
|
}
|
|
592
|
-
function
|
|
593
|
+
function J() {
|
|
593
594
|
}
|
|
594
|
-
function
|
|
595
|
-
const
|
|
596
|
-
|
|
595
|
+
function U() {
|
|
596
|
+
const k = r(u);
|
|
597
|
+
c.value.includes("hover") && k?.focus({
|
|
597
598
|
preventScroll: !0
|
|
598
|
-
}),
|
|
599
|
+
}), f.value = null;
|
|
599
600
|
}
|
|
600
|
-
function
|
|
601
|
-
|
|
601
|
+
function T(k) {
|
|
602
|
+
f.value = k;
|
|
602
603
|
}
|
|
603
|
-
function
|
|
604
|
+
function g() {
|
|
604
605
|
o("visible-change", !0);
|
|
605
606
|
}
|
|
606
|
-
function
|
|
607
|
-
var
|
|
608
|
-
a.value =
|
|
607
|
+
function w(k) {
|
|
608
|
+
var re;
|
|
609
|
+
a.value = k?.type === "keydown", (re = u.value) == null || re.focus();
|
|
609
610
|
}
|
|
610
|
-
function
|
|
611
|
+
function O() {
|
|
611
612
|
o("visible-change", !1);
|
|
612
613
|
}
|
|
613
|
-
return
|
|
614
|
-
contentRef:
|
|
615
|
-
role:
|
|
616
|
-
triggerId:
|
|
614
|
+
return q(ie, {
|
|
615
|
+
contentRef: u,
|
|
616
|
+
role: C(() => e.role),
|
|
617
|
+
triggerId: v,
|
|
617
618
|
isUsingKeyboard: a,
|
|
618
|
-
onItemEnter:
|
|
619
|
-
onItemLeave:
|
|
620
|
-
handleClose:
|
|
621
|
-
}),
|
|
619
|
+
onItemEnter: J,
|
|
620
|
+
onItemLeave: U,
|
|
621
|
+
handleClose: V
|
|
622
|
+
}), q(no, {
|
|
622
623
|
instance: t,
|
|
623
624
|
dropdownSize: $,
|
|
624
|
-
handleClick:
|
|
625
|
-
commandHandler:
|
|
626
|
-
trigger:
|
|
627
|
-
hideOnClick:
|
|
625
|
+
handleClick: E,
|
|
626
|
+
commandHandler: K,
|
|
627
|
+
trigger: Z(e, "trigger"),
|
|
628
|
+
hideOnClick: Z(e, "hideOnClick")
|
|
628
629
|
}), {
|
|
629
630
|
t: l,
|
|
630
631
|
ns: n,
|
|
631
|
-
scrollbar:
|
|
632
|
-
wrapStyle:
|
|
633
|
-
dropdownTriggerKls:
|
|
632
|
+
scrollbar: p,
|
|
633
|
+
wrapStyle: m,
|
|
634
|
+
dropdownTriggerKls: y,
|
|
634
635
|
dropdownSize: $,
|
|
635
|
-
triggerId:
|
|
636
|
-
currentTabId:
|
|
637
|
-
handleCurrentTabIdChange:
|
|
638
|
-
handlerMainButtonClick: (
|
|
639
|
-
o("click",
|
|
636
|
+
triggerId: v,
|
|
637
|
+
currentTabId: f,
|
|
638
|
+
handleCurrentTabIdChange: T,
|
|
639
|
+
handlerMainButtonClick: (k) => {
|
|
640
|
+
o("click", k);
|
|
640
641
|
},
|
|
641
|
-
handleClose:
|
|
642
|
-
handleOpen:
|
|
643
|
-
handleBeforeShowTooltip:
|
|
644
|
-
handleShowTooltip:
|
|
645
|
-
handleBeforeHideTooltip:
|
|
642
|
+
handleClose: V,
|
|
643
|
+
handleOpen: F,
|
|
644
|
+
handleBeforeShowTooltip: g,
|
|
645
|
+
handleShowTooltip: w,
|
|
646
|
+
handleBeforeHideTooltip: O,
|
|
646
647
|
popperRef: i,
|
|
647
|
-
contentRef:
|
|
648
|
+
contentRef: u,
|
|
648
649
|
triggeringElementRef: s,
|
|
649
|
-
referenceElementRef:
|
|
650
|
+
referenceElementRef: d
|
|
650
651
|
};
|
|
651
652
|
}
|
|
652
653
|
});
|
|
653
|
-
function
|
|
654
|
-
var
|
|
655
|
-
const i = N("el-roving-focus-group"),
|
|
656
|
-
return
|
|
657
|
-
class:
|
|
654
|
+
function rt(e, o, t, n, l, s) {
|
|
655
|
+
var d;
|
|
656
|
+
const i = N("el-roving-focus-group"), u = N("el-scrollbar"), p = N("el-only-child"), f = N("el-tooltip"), a = N("el-button"), m = N("arrow-down"), y = N("el-icon"), c = N("el-button-group");
|
|
657
|
+
return R(), L("div", {
|
|
658
|
+
class: B([e.ns.b(), e.ns.is("disabled", e.disabled)])
|
|
658
659
|
}, [
|
|
659
|
-
|
|
660
|
+
h(f, {
|
|
660
661
|
ref: "popperRef",
|
|
661
662
|
role: e.role,
|
|
662
663
|
effect: e.effect,
|
|
@@ -672,7 +673,7 @@ function mt(e, o, t, n, l, s) {
|
|
|
672
673
|
"show-arrow": e.showArrow,
|
|
673
674
|
"show-after": e.trigger === "hover" ? e.showTimeout : 0,
|
|
674
675
|
"hide-after": e.trigger === "hover" ? e.hideTimeout : 0,
|
|
675
|
-
"virtual-ref": (
|
|
676
|
+
"virtual-ref": (d = e.virtualRef) != null ? d : e.triggeringElementRef,
|
|
676
677
|
"virtual-triggering": e.virtualTriggering || e.splitButton,
|
|
677
678
|
disabled: e.disabled,
|
|
678
679
|
transition: `${e.ns.namespace.value}-zoom-in-top`,
|
|
@@ -683,23 +684,23 @@ function mt(e, o, t, n, l, s) {
|
|
|
683
684
|
onBeforeShow: e.handleBeforeShowTooltip,
|
|
684
685
|
onShow: e.handleShowTooltip,
|
|
685
686
|
onBeforeHide: e.handleBeforeHideTooltip
|
|
686
|
-
},
|
|
687
|
-
content:
|
|
688
|
-
|
|
687
|
+
}, bo({
|
|
688
|
+
content: _(() => [
|
|
689
|
+
h(u, {
|
|
689
690
|
ref: "scrollbar",
|
|
690
691
|
"wrap-style": e.wrapStyle,
|
|
691
692
|
tag: "div",
|
|
692
693
|
"view-class": e.ns.e("list")
|
|
693
694
|
}, {
|
|
694
|
-
default:
|
|
695
|
-
|
|
695
|
+
default: _(() => [
|
|
696
|
+
h(i, {
|
|
696
697
|
loop: e.loop,
|
|
697
698
|
"current-tab-id": e.currentTabId,
|
|
698
699
|
orientation: "horizontal",
|
|
699
700
|
onCurrentTabIdChange: e.handleCurrentTabIdChange
|
|
700
701
|
}, {
|
|
701
|
-
default:
|
|
702
|
-
|
|
702
|
+
default: _(() => [
|
|
703
|
+
P(e.$slots, "dropdown")
|
|
703
704
|
]),
|
|
704
705
|
_: 3
|
|
705
706
|
}, 8, ["loop", "current-tab-id", "onCurrentTabIdChange"])
|
|
@@ -711,36 +712,36 @@ function mt(e, o, t, n, l, s) {
|
|
|
711
712
|
}, [
|
|
712
713
|
e.splitButton ? void 0 : {
|
|
713
714
|
name: "default",
|
|
714
|
-
fn:
|
|
715
|
-
|
|
715
|
+
fn: _(() => [
|
|
716
|
+
h(p, {
|
|
716
717
|
id: e.triggerId,
|
|
717
718
|
ref: "triggeringElementRef",
|
|
718
719
|
role: "button",
|
|
719
720
|
tabindex: e.tabindex
|
|
720
721
|
}, {
|
|
721
|
-
default:
|
|
722
|
-
|
|
722
|
+
default: _(() => [
|
|
723
|
+
P(e.$slots, "default")
|
|
723
724
|
]),
|
|
724
725
|
_: 3
|
|
725
726
|
}, 8, ["id", "tabindex"])
|
|
726
727
|
])
|
|
727
728
|
}
|
|
728
729
|
]), 1032, ["role", "effect", "popper-options", "placement", "popper-class", "popper-style", "trigger", "trigger-keys", "trigger-target-el", "show-arrow", "show-after", "hide-after", "virtual-ref", "virtual-triggering", "disabled", "transition", "teleported", "persistent", "onBeforeShow", "onShow", "onBeforeHide"]),
|
|
729
|
-
e.splitButton ? (
|
|
730
|
-
default:
|
|
731
|
-
|
|
730
|
+
e.splitButton ? (R(), H(c, { key: 0 }, {
|
|
731
|
+
default: _(() => [
|
|
732
|
+
h(a, oe({ ref: "referenceElementRef" }, e.buttonProps, {
|
|
732
733
|
size: e.dropdownSize,
|
|
733
734
|
type: e.type,
|
|
734
735
|
disabled: e.disabled,
|
|
735
736
|
tabindex: e.tabindex,
|
|
736
737
|
onClick: e.handlerMainButtonClick
|
|
737
738
|
}), {
|
|
738
|
-
default:
|
|
739
|
-
|
|
739
|
+
default: _(() => [
|
|
740
|
+
P(e.$slots, "default")
|
|
740
741
|
]),
|
|
741
742
|
_: 3
|
|
742
743
|
}, 16, ["size", "type", "disabled", "tabindex", "onClick"]),
|
|
743
|
-
|
|
744
|
+
h(a, oe({
|
|
744
745
|
id: e.triggerId,
|
|
745
746
|
ref: "triggeringElementRef"
|
|
746
747
|
}, e.buttonProps, {
|
|
@@ -752,12 +753,12 @@ function mt(e, o, t, n, l, s) {
|
|
|
752
753
|
tabindex: e.tabindex,
|
|
753
754
|
"aria-label": e.t("el.dropdown.toggleDropdown")
|
|
754
755
|
}), {
|
|
755
|
-
default:
|
|
756
|
-
|
|
757
|
-
class:
|
|
756
|
+
default: _(() => [
|
|
757
|
+
h(y, {
|
|
758
|
+
class: B(e.ns.e("icon"))
|
|
758
759
|
}, {
|
|
759
|
-
default:
|
|
760
|
-
|
|
760
|
+
default: _(() => [
|
|
761
|
+
h(m)
|
|
761
762
|
]),
|
|
762
763
|
_: 1
|
|
763
764
|
}, 8, ["class"])
|
|
@@ -766,13 +767,13 @@ function mt(e, o, t, n, l, s) {
|
|
|
766
767
|
}, 16, ["id", "size", "type", "class", "disabled", "tabindex", "aria-label"])
|
|
767
768
|
]),
|
|
768
769
|
_: 3
|
|
769
|
-
})) :
|
|
770
|
+
})) : ne("v-if", !0)
|
|
770
771
|
], 2);
|
|
771
772
|
}
|
|
772
|
-
var
|
|
773
|
-
const
|
|
773
|
+
var lt = /* @__PURE__ */ A(tt, [["render", rt], ["__file", "dropdown.vue"]]);
|
|
774
|
+
const at = M({
|
|
774
775
|
components: {
|
|
775
|
-
ElRovingFocusCollectionItem:
|
|
776
|
+
ElRovingFocusCollectionItem: Un
|
|
776
777
|
},
|
|
777
778
|
props: {
|
|
778
779
|
focusable: {
|
|
@@ -783,173 +784,173 @@ const gt = L({
|
|
|
783
784
|
},
|
|
784
785
|
emits: ["mousedown", "focus", "keydown"],
|
|
785
786
|
setup(e, { emit: o }) {
|
|
786
|
-
const { currentTabbedId: t, onItemFocus: n, onItemShiftTab: l, onKeydown: s } =
|
|
787
|
-
o("mousedown",
|
|
788
|
-
}, (
|
|
789
|
-
e.focusable ? n(r(
|
|
790
|
-
}),
|
|
791
|
-
o("focus",
|
|
787
|
+
const { currentTabbedId: t, onItemFocus: n, onItemShiftTab: l, onKeydown: s } = D(ye, void 0), d = _e(), i = I(), u = z((m) => {
|
|
788
|
+
o("mousedown", m);
|
|
789
|
+
}, (m) => {
|
|
790
|
+
e.focusable ? n(r(d)) : m.preventDefault();
|
|
791
|
+
}), p = z((m) => {
|
|
792
|
+
o("focus", m);
|
|
792
793
|
}, () => {
|
|
793
|
-
n(r(
|
|
794
|
-
}),
|
|
795
|
-
o("keydown",
|
|
796
|
-
}, (
|
|
797
|
-
const { shiftKey:
|
|
798
|
-
if (
|
|
794
|
+
n(r(d));
|
|
795
|
+
}), f = z((m) => {
|
|
796
|
+
o("keydown", m);
|
|
797
|
+
}, (m) => {
|
|
798
|
+
const { shiftKey: y, target: c, currentTarget: b } = m;
|
|
799
|
+
if (se(m) === ee.tab && y) {
|
|
799
800
|
l();
|
|
800
801
|
return;
|
|
801
802
|
}
|
|
802
|
-
|
|
803
|
-
}), a =
|
|
804
|
-
return
|
|
803
|
+
c === b && s(m);
|
|
804
|
+
}), a = C(() => t.value === r(d));
|
|
805
|
+
return q(oo, {
|
|
805
806
|
rovingFocusGroupItemRef: i,
|
|
806
|
-
tabIndex:
|
|
807
|
-
handleMousedown:
|
|
808
|
-
handleFocus:
|
|
809
|
-
handleKeydown:
|
|
807
|
+
tabIndex: C(() => r(a) ? 0 : -1),
|
|
808
|
+
handleMousedown: u,
|
|
809
|
+
handleFocus: p,
|
|
810
|
+
handleKeydown: f
|
|
810
811
|
}), {
|
|
811
|
-
id:
|
|
812
|
-
handleKeydown:
|
|
813
|
-
handleFocus:
|
|
814
|
-
handleMousedown:
|
|
812
|
+
id: d,
|
|
813
|
+
handleKeydown: f,
|
|
814
|
+
handleFocus: p,
|
|
815
|
+
handleMousedown: u
|
|
815
816
|
};
|
|
816
817
|
}
|
|
817
818
|
});
|
|
818
|
-
function
|
|
819
|
-
const
|
|
820
|
-
return
|
|
819
|
+
function st(e, o, t, n, l, s) {
|
|
820
|
+
const d = N("el-roving-focus-collection-item");
|
|
821
|
+
return R(), H(d, {
|
|
821
822
|
id: e.id,
|
|
822
823
|
focusable: e.focusable,
|
|
823
824
|
active: e.active
|
|
824
825
|
}, {
|
|
825
|
-
default:
|
|
826
|
-
|
|
826
|
+
default: _(() => [
|
|
827
|
+
P(e.$slots, "default")
|
|
827
828
|
]),
|
|
828
829
|
_: 3
|
|
829
830
|
}, 8, ["id", "focusable", "active"]);
|
|
830
831
|
}
|
|
831
|
-
var
|
|
832
|
-
const
|
|
832
|
+
var it = /* @__PURE__ */ A(at, [["render", st], ["__file", "roving-focus-item.vue"]]);
|
|
833
|
+
const dt = M({
|
|
833
834
|
name: "DropdownItemImpl",
|
|
834
835
|
components: {
|
|
835
|
-
ElIcon:
|
|
836
|
+
ElIcon: we
|
|
836
837
|
},
|
|
837
838
|
props: ze,
|
|
838
839
|
emits: ["pointermove", "pointerleave", "click", "clickimpl"],
|
|
839
840
|
setup(e, { emit: o }) {
|
|
840
|
-
const t =
|
|
841
|
+
const t = X("dropdown"), { role: n } = D(ie, void 0), { collectionItemRef: l } = D(Hn, void 0), {
|
|
841
842
|
rovingFocusGroupItemRef: s,
|
|
842
|
-
tabIndex:
|
|
843
|
+
tabIndex: d,
|
|
843
844
|
handleFocus: i,
|
|
844
|
-
handleKeydown:
|
|
845
|
-
handleMousedown:
|
|
846
|
-
} =
|
|
847
|
-
const
|
|
848
|
-
if ([
|
|
849
|
-
return
|
|
850
|
-
},
|
|
845
|
+
handleKeydown: u,
|
|
846
|
+
handleMousedown: p
|
|
847
|
+
} = D(oo, void 0), f = He(l, s), a = C(() => n.value === "menu" ? "menuitem" : n.value === "navigation" ? "link" : "button"), m = z((y) => {
|
|
848
|
+
const c = se(y);
|
|
849
|
+
if ([ee.enter, ee.numpadEnter, ee.space].includes(c))
|
|
850
|
+
return y.preventDefault(), y.stopImmediatePropagation(), o("clickimpl", y), !0;
|
|
851
|
+
}, u);
|
|
851
852
|
return {
|
|
852
853
|
ns: t,
|
|
853
|
-
itemRef:
|
|
854
|
+
itemRef: f,
|
|
854
855
|
dataset: {
|
|
855
|
-
[
|
|
856
|
+
[xe]: ""
|
|
856
857
|
},
|
|
857
858
|
role: a,
|
|
858
|
-
tabIndex:
|
|
859
|
+
tabIndex: d,
|
|
859
860
|
handleFocus: i,
|
|
860
|
-
handleKeydown:
|
|
861
|
-
handleMousedown:
|
|
861
|
+
handleKeydown: m,
|
|
862
|
+
handleMousedown: p
|
|
862
863
|
};
|
|
863
864
|
}
|
|
864
865
|
});
|
|
865
|
-
function
|
|
866
|
-
const
|
|
867
|
-
return
|
|
868
|
-
e.divided ? (
|
|
866
|
+
function ut(e, o, t, n, l, s) {
|
|
867
|
+
const d = N("el-icon");
|
|
868
|
+
return R(), L(le, null, [
|
|
869
|
+
e.divided ? (R(), L("li", {
|
|
869
870
|
key: 0,
|
|
870
871
|
role: "separator",
|
|
871
|
-
class:
|
|
872
|
-
}, null, 2)) :
|
|
873
|
-
|
|
872
|
+
class: B(e.ns.bem("menu", "item", "divided"))
|
|
873
|
+
}, null, 2)) : ne("v-if", !0),
|
|
874
|
+
S("li", oe({ ref: e.itemRef }, { ...e.dataset, ...e.$attrs }, {
|
|
874
875
|
"aria-disabled": e.disabled,
|
|
875
876
|
class: [e.ns.be("menu", "item"), e.ns.is("disabled", e.disabled)],
|
|
876
877
|
tabindex: e.tabIndex,
|
|
877
878
|
role: e.role,
|
|
878
879
|
onClick: (i) => e.$emit("clickimpl", i),
|
|
879
880
|
onFocus: e.handleFocus,
|
|
880
|
-
onKeydown:
|
|
881
|
+
onKeydown: W(e.handleKeydown, ["self"]),
|
|
881
882
|
onMousedown: e.handleMousedown,
|
|
882
883
|
onPointermove: (i) => e.$emit("pointermove", i),
|
|
883
884
|
onPointerleave: (i) => e.$emit("pointerleave", i)
|
|
884
885
|
}), [
|
|
885
|
-
e.icon ? (
|
|
886
|
-
default:
|
|
887
|
-
(
|
|
886
|
+
e.icon ? (R(), H(d, { key: 0 }, {
|
|
887
|
+
default: _(() => [
|
|
888
|
+
(R(), H(me(e.icon)))
|
|
888
889
|
]),
|
|
889
890
|
_: 1
|
|
890
|
-
})) :
|
|
891
|
-
|
|
891
|
+
})) : ne("v-if", !0),
|
|
892
|
+
P(e.$slots, "default")
|
|
892
893
|
], 16, ["aria-disabled", "tabindex", "role", "onClick", "onFocus", "onKeydown", "onMousedown", "onPointermove", "onPointerleave"])
|
|
893
894
|
], 64);
|
|
894
895
|
}
|
|
895
|
-
var
|
|
896
|
-
const
|
|
897
|
-
const e =
|
|
896
|
+
var ct = /* @__PURE__ */ A(dt, [["render", ut], ["__file", "dropdown-item-impl.vue"]]);
|
|
897
|
+
const to = () => {
|
|
898
|
+
const e = D(no, {}), o = C(() => e?.dropdownSize);
|
|
898
899
|
return {
|
|
899
900
|
elDropdown: e,
|
|
900
901
|
_elDropdownSize: o
|
|
901
902
|
};
|
|
902
|
-
},
|
|
903
|
+
}, pt = M({
|
|
903
904
|
name: "ElDropdownItem",
|
|
904
905
|
components: {
|
|
905
|
-
ElRovingFocusItem:
|
|
906
|
-
ElDropdownItemImpl:
|
|
906
|
+
ElRovingFocusItem: it,
|
|
907
|
+
ElDropdownItemImpl: ct
|
|
907
908
|
},
|
|
908
909
|
inheritAttrs: !1,
|
|
909
910
|
props: ze,
|
|
910
911
|
emits: ["pointermove", "pointerleave", "click"],
|
|
911
912
|
setup(e, { emit: o, attrs: t }) {
|
|
912
|
-
const { elDropdown: n } =
|
|
913
|
+
const { elDropdown: n } = to(), l = Ge(), { onItemEnter: s, onItemLeave: d } = D(ie, void 0), i = z((a) => (o("pointermove", a), a.defaultPrevented), Fe((a) => {
|
|
913
914
|
if (e.disabled) {
|
|
914
|
-
|
|
915
|
+
d(a);
|
|
915
916
|
return;
|
|
916
917
|
}
|
|
917
|
-
const
|
|
918
|
-
|
|
918
|
+
const m = a.currentTarget;
|
|
919
|
+
m === document.activeElement || m.contains(document.activeElement) || (s(a), a.defaultPrevented || m?.focus({
|
|
919
920
|
preventScroll: !0
|
|
920
921
|
}));
|
|
921
|
-
})),
|
|
922
|
+
})), u = z((a) => (o("pointerleave", a), a.defaultPrevented), Fe(d)), p = z((a) => {
|
|
922
923
|
if (!e.disabled)
|
|
923
924
|
return o("click", a), a.type !== "keydown" && a.defaultPrevented;
|
|
924
925
|
}, (a) => {
|
|
925
|
-
var
|
|
926
|
+
var m, y, c;
|
|
926
927
|
if (e.disabled) {
|
|
927
928
|
a.stopImmediatePropagation();
|
|
928
929
|
return;
|
|
929
930
|
}
|
|
930
|
-
(
|
|
931
|
-
}),
|
|
931
|
+
(m = n?.hideOnClick) != null && m.value && ((y = n.handleClick) == null || y.call(n)), (c = n.commandHandler) == null || c.call(n, e.command, l, a);
|
|
932
|
+
}), f = C(() => ({ ...e, ...t }));
|
|
932
933
|
return {
|
|
933
|
-
handleClick:
|
|
934
|
+
handleClick: p,
|
|
934
935
|
handlePointerMove: i,
|
|
935
|
-
handlePointerLeave:
|
|
936
|
-
propsAndAttrs:
|
|
936
|
+
handlePointerLeave: u,
|
|
937
|
+
propsAndAttrs: f
|
|
937
938
|
};
|
|
938
939
|
}
|
|
939
940
|
});
|
|
940
|
-
function
|
|
941
|
-
const
|
|
942
|
-
return
|
|
941
|
+
function ft(e, o, t, n, l, s) {
|
|
942
|
+
const d = N("el-dropdown-item-impl"), i = N("el-roving-focus-item");
|
|
943
|
+
return R(), H(i, {
|
|
943
944
|
focusable: !e.disabled
|
|
944
945
|
}, {
|
|
945
|
-
default:
|
|
946
|
-
|
|
946
|
+
default: _(() => [
|
|
947
|
+
h(d, oe(e.propsAndAttrs, {
|
|
947
948
|
onPointerleave: e.handlePointerLeave,
|
|
948
949
|
onPointermove: e.handlePointerMove,
|
|
949
950
|
onClickimpl: e.handleClick
|
|
950
951
|
}), {
|
|
951
|
-
default:
|
|
952
|
-
|
|
952
|
+
default: _(() => [
|
|
953
|
+
P(e.$slots, "default")
|
|
953
954
|
]),
|
|
954
955
|
_: 3
|
|
955
956
|
}, 16, ["onPointerleave", "onPointermove", "onClickimpl"])
|
|
@@ -957,317 +958,209 @@ function Et(e, o, t, n, l, s) {
|
|
|
957
958
|
_: 3
|
|
958
959
|
}, 8, ["focusable"]);
|
|
959
960
|
}
|
|
960
|
-
var
|
|
961
|
-
const
|
|
961
|
+
var ro = /* @__PURE__ */ A(pt, [["render", ft], ["__file", "dropdown-item.vue"]]);
|
|
962
|
+
const mt = M({
|
|
962
963
|
name: "ElDropdownMenu",
|
|
963
|
-
props:
|
|
964
|
+
props: Ho,
|
|
964
965
|
setup(e) {
|
|
965
|
-
const o =
|
|
966
|
-
rovingFocusGroupRef:
|
|
967
|
-
rovingFocusGroupRootStyle:
|
|
966
|
+
const o = X("dropdown"), { _elDropdownSize: t } = to(), n = t.value, { contentRef: l, role: s, triggerId: d, isUsingKeyboard: i, handleClose: u } = D(ie, void 0), {
|
|
967
|
+
rovingFocusGroupRef: p,
|
|
968
|
+
rovingFocusGroupRootStyle: f,
|
|
968
969
|
onBlur: a,
|
|
969
|
-
onFocus:
|
|
970
|
-
onKeydown:
|
|
971
|
-
onMousedown:
|
|
972
|
-
} =
|
|
973
|
-
var
|
|
974
|
-
(
|
|
970
|
+
onFocus: m,
|
|
971
|
+
onKeydown: y,
|
|
972
|
+
onMousedown: c
|
|
973
|
+
} = D(ye, void 0), { collectionRef: b } = D(eo, void 0), v = C(() => [o.b("menu"), o.bm("menu", n?.value)]), E = He(l, p, b), V = z(($) => {
|
|
974
|
+
var K;
|
|
975
|
+
(K = e.onKeydown) == null || K.call(e, $);
|
|
975
976
|
}, ($) => {
|
|
976
|
-
const { currentTarget:
|
|
977
|
-
if (
|
|
978
|
-
return
|
|
979
|
-
|
|
977
|
+
const { currentTarget: K, target: J } = $, U = se($);
|
|
978
|
+
if (K.contains(J), ee.tab === U)
|
|
979
|
+
return u();
|
|
980
|
+
y($);
|
|
980
981
|
});
|
|
981
|
-
function
|
|
982
|
-
i.value &&
|
|
982
|
+
function F($) {
|
|
983
|
+
i.value && m($);
|
|
983
984
|
}
|
|
984
985
|
return {
|
|
985
986
|
size: n,
|
|
986
|
-
rovingFocusGroupRootStyle:
|
|
987
|
-
dropdownKls:
|
|
987
|
+
rovingFocusGroupRootStyle: f,
|
|
988
|
+
dropdownKls: v,
|
|
988
989
|
role: s,
|
|
989
|
-
triggerId:
|
|
990
|
-
dropdownListWrapperRef:
|
|
991
|
-
handleKeydown:
|
|
990
|
+
triggerId: d,
|
|
991
|
+
dropdownListWrapperRef: E,
|
|
992
|
+
handleKeydown: V,
|
|
992
993
|
onBlur: a,
|
|
993
|
-
handleFocus:
|
|
994
|
-
onMousedown:
|
|
994
|
+
handleFocus: F,
|
|
995
|
+
onMousedown: c
|
|
995
996
|
};
|
|
996
997
|
}
|
|
997
998
|
});
|
|
998
|
-
function
|
|
999
|
-
return
|
|
999
|
+
function vt(e, o, t, n, l, s) {
|
|
1000
|
+
return R(), L("ul", {
|
|
1000
1001
|
ref: e.dropdownListWrapperRef,
|
|
1001
|
-
class:
|
|
1002
|
-
style:
|
|
1002
|
+
class: B(e.dropdownKls),
|
|
1003
|
+
style: Ke(e.rovingFocusGroupRootStyle),
|
|
1003
1004
|
tabindex: -1,
|
|
1004
1005
|
role: e.role,
|
|
1005
1006
|
"aria-labelledby": e.triggerId,
|
|
1006
1007
|
onFocusin: e.handleFocus,
|
|
1007
1008
|
onFocusout: e.onBlur,
|
|
1008
|
-
onKeydown:
|
|
1009
|
-
onMousedown:
|
|
1009
|
+
onKeydown: W(e.handleKeydown, ["self"]),
|
|
1010
|
+
onMousedown: W(e.onMousedown, ["self"])
|
|
1010
1011
|
}, [
|
|
1011
|
-
|
|
1012
|
+
P(e.$slots, "default")
|
|
1012
1013
|
], 46, ["role", "aria-labelledby", "onFocusin", "onFocusout", "onKeydown", "onMousedown"]);
|
|
1013
1014
|
}
|
|
1014
|
-
var
|
|
1015
|
-
const
|
|
1016
|
-
DropdownItem:
|
|
1017
|
-
DropdownMenu:
|
|
1018
|
-
}),
|
|
1015
|
+
var lo = /* @__PURE__ */ A(mt, [["render", vt], ["__file", "dropdown-menu.vue"]]);
|
|
1016
|
+
const gt = De(lt, {
|
|
1017
|
+
DropdownItem: ro,
|
|
1018
|
+
DropdownMenu: lo
|
|
1019
|
+
}), bt = ae(ro), _t = ae(lo), wt = { class: "sidebar-header" }, ht = { class: "sidebar-content" }, yt = { class: "map-box" }, Et = { class: "map-header" }, It = { class: "map-header-left" }, Ct = { class: "search-panel" }, $t = {
|
|
1019
1020
|
key: 0,
|
|
1020
1021
|
class: "search-results"
|
|
1021
|
-
},
|
|
1022
|
+
}, Tt = ["onClick"], kt = { class: "result-name" }, St = { class: "result-coords" }, Rt = { class: "map-body" }, Ft = /* @__PURE__ */ M({
|
|
1022
1023
|
__name: "MapLayer",
|
|
1023
1024
|
props: {
|
|
1024
1025
|
importLayer: {}
|
|
1025
1026
|
},
|
|
1026
1027
|
emits: ["openView", "search"],
|
|
1027
1028
|
setup(e, { emit: o }) {
|
|
1028
|
-
const t =
|
|
1029
|
-
let
|
|
1029
|
+
const t = I(!1), n = I(!1), l = I(!1), s = I(""), d = I("layer"), i = I([]), u = I(!1), p = Fo();
|
|
1030
|
+
let f = null;
|
|
1030
1031
|
const a = () => {
|
|
1031
|
-
t.value = !t.value,
|
|
1032
|
-
|
|
1032
|
+
t.value = !t.value, b && b.resize(), setTimeout(() => {
|
|
1033
|
+
b && b.resize();
|
|
1033
1034
|
}, 300);
|
|
1034
|
-
},
|
|
1035
|
-
|
|
1036
|
-
},
|
|
1035
|
+
}, m = () => {
|
|
1036
|
+
So.emit();
|
|
1037
|
+
}, y = () => {
|
|
1037
1038
|
n.value = !n.value, setTimeout(() => {
|
|
1038
|
-
|
|
1039
|
+
b && b.resize();
|
|
1039
1040
|
}, 300);
|
|
1040
|
-
},
|
|
1041
|
-
|
|
1042
|
-
|
|
1041
|
+
}, c = (T) => {
|
|
1042
|
+
T.key === "Escape" && n.value && (n.value = !1, setTimeout(() => {
|
|
1043
|
+
b && b.resize();
|
|
1043
1044
|
}, 300));
|
|
1044
1045
|
};
|
|
1045
|
-
|
|
1046
|
-
window.addEventListener("keydown",
|
|
1047
|
-
}),
|
|
1048
|
-
window.removeEventListener("keydown",
|
|
1046
|
+
pe(() => {
|
|
1047
|
+
window.addEventListener("keydown", c);
|
|
1048
|
+
}), Ce(() => {
|
|
1049
|
+
window.removeEventListener("keydown", c);
|
|
1049
1050
|
});
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
}, B = async () => {
|
|
1051
|
+
let b = null, v = "";
|
|
1052
|
+
const E = o, V = (T) => {
|
|
1053
|
+
E("openView", { command: T });
|
|
1054
|
+
}, F = async () => {
|
|
1055
1055
|
if (!s.value.trim()) {
|
|
1056
|
-
|
|
1056
|
+
Y.warning("请输入搜索关键词");
|
|
1057
1057
|
return;
|
|
1058
1058
|
}
|
|
1059
|
-
if (
|
|
1060
|
-
if (!
|
|
1061
|
-
|
|
1059
|
+
if (d.value === "layer") {
|
|
1060
|
+
if (!v) {
|
|
1061
|
+
Y.error("地图未加载完成,请稍后重试");
|
|
1062
1062
|
return;
|
|
1063
1063
|
}
|
|
1064
|
-
|
|
1064
|
+
Ro.emit({
|
|
1065
1065
|
keyword: s.value.trim(),
|
|
1066
|
-
mapRootId:
|
|
1066
|
+
mapRootId: v
|
|
1067
1067
|
}), l.value = !1, s.value = "";
|
|
1068
1068
|
} else
|
|
1069
|
-
await
|
|
1070
|
-
},
|
|
1071
|
-
|
|
1069
|
+
await $();
|
|
1070
|
+
}, $ = async () => {
|
|
1071
|
+
u.value = !0, i.value = [];
|
|
1072
1072
|
try {
|
|
1073
|
-
const
|
|
1074
|
-
if (
|
|
1075
|
-
const
|
|
1076
|
-
|
|
1077
|
-
);
|
|
1078
|
-
if (!d.ok)
|
|
1073
|
+
const T = s.value.trim();
|
|
1074
|
+
if (p.amapKey) {
|
|
1075
|
+
const g = await fetch(`https://restapi.amap.com/v5/place/text?key=${p.amapKey}&keywords=${encodeURIComponent(T)}`);
|
|
1076
|
+
if (!g.ok)
|
|
1079
1077
|
throw new Error("搜索请求失败");
|
|
1080
|
-
const
|
|
1081
|
-
|
|
1082
|
-
place_name:
|
|
1083
|
-
center: [
|
|
1084
|
-
text:
|
|
1085
|
-
})) :
|
|
1078
|
+
const w = await g.json();
|
|
1079
|
+
w.code === "1" && w.data && w.data.length > 0 ? i.value = w.data.map((O) => ({
|
|
1080
|
+
place_name: O.name,
|
|
1081
|
+
center: [O.location.lon, O.location.lat],
|
|
1082
|
+
text: O.name
|
|
1083
|
+
})) : Y.warning("未找到相关地址,请尝试其他关键词");
|
|
1086
1084
|
} else {
|
|
1087
|
-
if (!
|
|
1088
|
-
|
|
1085
|
+
if (!p.mapBoxToken) {
|
|
1086
|
+
Y.error("地图配置错误,请先配置地图访问令牌");
|
|
1089
1087
|
return;
|
|
1090
1088
|
}
|
|
1091
|
-
const
|
|
1092
|
-
`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(
|
|
1089
|
+
const g = await fetch(
|
|
1090
|
+
`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(T)}.json?access_token=${p.mapBoxToken}&limit=5&language=zh-CN&country=CN`
|
|
1093
1091
|
);
|
|
1094
|
-
if (!
|
|
1092
|
+
if (!g.ok)
|
|
1095
1093
|
throw new Error("搜索请求失败");
|
|
1096
|
-
const
|
|
1097
|
-
|
|
1098
|
-
"未找到相关地址,请尝试其他关键词(Mapbox 对国内地址支持有限)"
|
|
1099
|
-
);
|
|
1094
|
+
const w = await g.json();
|
|
1095
|
+
w.features && w.features.length > 0 ? i.value = w.features : Y.warning("未找到相关地址,请尝试其他关键词(Mapbox 对国内地址支持有限)");
|
|
1100
1096
|
}
|
|
1101
|
-
} catch (
|
|
1102
|
-
console.error("地址搜索失败:",
|
|
1097
|
+
} catch (T) {
|
|
1098
|
+
console.error("地址搜索失败:", T), Y.error("搜索失败,请稍后重试");
|
|
1103
1099
|
} finally {
|
|
1104
|
-
|
|
1100
|
+
u.value = !1;
|
|
1105
1101
|
}
|
|
1106
|
-
},
|
|
1107
|
-
if (!
|
|
1108
|
-
|
|
1102
|
+
}, K = (T) => {
|
|
1103
|
+
if (!b) {
|
|
1104
|
+
Y.error("地图未加载完成");
|
|
1109
1105
|
return;
|
|
1110
1106
|
}
|
|
1111
|
-
const [
|
|
1112
|
-
|
|
1113
|
-
center: [
|
|
1107
|
+
const [g, w] = T.center || T.geometry?.coordinates, O = T.place_name || T.text;
|
|
1108
|
+
b.flyTo({
|
|
1109
|
+
center: [g, w],
|
|
1114
1110
|
zoom: 14,
|
|
1115
1111
|
essential: !0
|
|
1116
|
-
}),
|
|
1117
|
-
},
|
|
1118
|
-
if (!
|
|
1119
|
-
|
|
1120
|
-
const
|
|
1121
|
-
|
|
1112
|
+
}), J(g, w, O), l.value = !1, s.value = "", i.value = [], Y.success(`已定位到:${O}`);
|
|
1113
|
+
}, J = (T, g, w) => {
|
|
1114
|
+
if (!b) return;
|
|
1115
|
+
f && f.remove();
|
|
1116
|
+
const O = document.createElement("div");
|
|
1117
|
+
O.innerHTML = `
|
|
1122
1118
|
<svg width="24" height="32" viewBox="0 0 24 32" xmlns="http://www.w3.org/2000/svg">
|
|
1123
1119
|
<path d="M12 0C5.4 0 0 5.4 0 12c0 8.4 12 20 12 20s12-11.6 12-20c0-6.6-5.4-12-12-12zm0 16c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"
|
|
1124
1120
|
fill="#409EFF"
|
|
1125
1121
|
stroke="#fff"
|
|
1126
1122
|
stroke-width="1"/>
|
|
1127
1123
|
</svg>
|
|
1128
|
-
`,
|
|
1124
|
+
`, O.style.cssText = `
|
|
1129
1125
|
width: 24px;
|
|
1130
1126
|
height: 32px;
|
|
1131
1127
|
cursor: pointer;
|
|
1132
1128
|
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
|
|
1133
|
-
`,
|
|
1134
|
-
element:
|
|
1129
|
+
`, f = new $e.Marker({
|
|
1130
|
+
element: O,
|
|
1135
1131
|
anchor: "bottom"
|
|
1136
|
-
}).setLngLat([
|
|
1132
|
+
}).setLngLat([T, g]).setPopup(new $e.Popup({ offset: 25 }).setText(w)).addTo(b);
|
|
1137
1133
|
};
|
|
1138
|
-
|
|
1134
|
+
fe(d, () => {
|
|
1139
1135
|
i.value = [];
|
|
1140
1136
|
});
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
let D = null;
|
|
1151
|
-
D = Qo.on(
|
|
1152
|
-
({ mapRootId: u, mapInstance: d }) => {
|
|
1153
|
-
if (console.log("MapLayer - mapLoadedBus 事件触发 - mapRootId:", u), f = d, P = u, !f) {
|
|
1154
|
-
console.log("MapLayer - mapInstance 不存在");
|
|
1155
|
-
return;
|
|
1156
|
-
}
|
|
1157
|
-
try {
|
|
1158
|
-
console.log("MapLayer - 正在添加 Mapbox Draw 控件..."), f.addControl(z, "top-left"), f.on("draw.create", pe), w.value = !0, console.log("✅ MapLayer - Mapbox Draw 控件已成功添加");
|
|
1159
|
-
} catch (T) {
|
|
1160
|
-
console.error("❌ MapLayer - 添加控件失败:", T);
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
);
|
|
1164
|
-
function ce(u) {
|
|
1165
|
-
if (console.log(
|
|
1166
|
-
"MapLayer - activationHiperMapTool 被调用:",
|
|
1167
|
-
u,
|
|
1168
|
-
"isDrawControlReady:",
|
|
1169
|
-
w.value
|
|
1170
|
-
), !w.value) {
|
|
1171
|
-
console.warn("❌ MapLayer - 地图控件未准备好");
|
|
1172
|
-
return;
|
|
1173
|
-
}
|
|
1174
|
-
if (!f) {
|
|
1175
|
-
console.warn("❌ MapLayer - 地图实例不存在");
|
|
1176
|
-
return;
|
|
1177
|
-
}
|
|
1178
|
-
I.value = u;
|
|
1179
|
-
try {
|
|
1180
|
-
switch (console.log("MapLayer - 准备切换绘制模式"), u) {
|
|
1181
|
-
case "point":
|
|
1182
|
-
z.changeMode("draw_point");
|
|
1183
|
-
break;
|
|
1184
|
-
case "line":
|
|
1185
|
-
z.changeMode("draw_line_string");
|
|
1186
|
-
break;
|
|
1187
|
-
case "polygon":
|
|
1188
|
-
z.changeMode("draw_polygon");
|
|
1189
|
-
break;
|
|
1190
|
-
}
|
|
1191
|
-
console.log("✅ MapLayer - 成功切换到绘制模式:", u);
|
|
1192
|
-
} catch (d) {
|
|
1193
|
-
console.error("❌ MapLayer - 切换绘制模式失败:", d);
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
function pe(u) {
|
|
1197
|
-
const d = z.getAll();
|
|
1198
|
-
if (!d.features.length) return;
|
|
1199
|
-
d.features = [d.features[0]];
|
|
1200
|
-
const T = {
|
|
1201
|
-
point: {
|
|
1202
|
-
layerType: "geojson",
|
|
1203
|
-
layerShapes: "point",
|
|
1204
|
-
config: {
|
|
1205
|
-
textColor: "rgba(0,0,0,1)",
|
|
1206
|
-
iconName: on
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
line: {
|
|
1210
|
-
layerType: "geojson",
|
|
1211
|
-
layerShapes: "line",
|
|
1212
|
-
config: {
|
|
1213
|
-
lineWidth: 1,
|
|
1214
|
-
lineColor: "rgba(255, 0, 0, 1)",
|
|
1215
|
-
lineStyle: "solid"
|
|
1216
|
-
}
|
|
1217
|
-
},
|
|
1218
|
-
polygon: {
|
|
1219
|
-
layerType: "geojson",
|
|
1220
|
-
layerShapes: "polygon",
|
|
1221
|
-
config: {
|
|
1222
|
-
fillColor: "rgba(241, 131, 127, 1)",
|
|
1223
|
-
lineWidth: 1
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
}, M = I.value ? T[I.value] : void 0;
|
|
1227
|
-
M && Zo.emit({
|
|
1228
|
-
mapRootId: P,
|
|
1229
|
-
e: new MouseEvent("click"),
|
|
1230
|
-
layer: {
|
|
1231
|
-
layerType: M.layerType,
|
|
1232
|
-
layerShapes: M.layerShapes,
|
|
1233
|
-
layerPaintConfig: JSON.stringify(M.config),
|
|
1234
|
-
geoJSON: JSON.stringify(d),
|
|
1235
|
-
...I.value === "polygon" ? { pid: "" } : {}
|
|
1236
|
-
}
|
|
1237
|
-
}), z.deleteAll();
|
|
1238
|
-
}
|
|
1239
|
-
return Oe(() => {
|
|
1240
|
-
if (D && D(), f) {
|
|
1241
|
-
try {
|
|
1242
|
-
f.removeControl(z), console.log("MapLayer - Mapbox Draw 控件已移除");
|
|
1243
|
-
} catch (u) {
|
|
1244
|
-
console.log("MapLayer - 移除控件时出错:", u);
|
|
1245
|
-
}
|
|
1246
|
-
f.off("draw.create", pe);
|
|
1247
|
-
}
|
|
1248
|
-
g && (g.remove(), g = null), w.value = !1;
|
|
1249
|
-
}), (u, d) => {
|
|
1250
|
-
const T = Ee, M = ve, ae = $t, ke = St, $e = kt, fo = Mo, Se = zn, mo = Un, vo = So;
|
|
1251
|
-
return S(), K("div", {
|
|
1252
|
-
class: O(["map-content", { "is-fullscreen": n.value }])
|
|
1137
|
+
let U = null;
|
|
1138
|
+
return U = ko.on(({ mapRootId: T, mapInstance: g }) => {
|
|
1139
|
+
b = g, v = T;
|
|
1140
|
+
}), Ce(() => {
|
|
1141
|
+
U && U(), f && (f.remove(), f = null);
|
|
1142
|
+
}), (T, g) => {
|
|
1143
|
+
const w = we, O = ve, Ee = bt, k = _t, re = gt, ao = Xo, Ie = Pn, so = Mn, io = Yo;
|
|
1144
|
+
return R(), L("div", {
|
|
1145
|
+
class: B(["map-content", { "is-fullscreen": n.value }])
|
|
1253
1146
|
}, [
|
|
1254
|
-
|
|
1255
|
-
class:
|
|
1147
|
+
S("div", {
|
|
1148
|
+
class: B(["map-sidebar", { collapsed: t.value }])
|
|
1256
1149
|
}, [
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
onCommand:
|
|
1150
|
+
S("div", wt, [
|
|
1151
|
+
h(re, {
|
|
1152
|
+
onCommand: V,
|
|
1260
1153
|
style: { margin: "0 10px" }
|
|
1261
1154
|
}, {
|
|
1262
|
-
dropdown:
|
|
1263
|
-
|
|
1264
|
-
default:
|
|
1265
|
-
(
|
|
1266
|
-
key:
|
|
1155
|
+
dropdown: _(() => [
|
|
1156
|
+
h(k, null, {
|
|
1157
|
+
default: _(() => [
|
|
1158
|
+
(R(!0), L(le, null, ue(e.importLayer, (G, de) => (R(), H(Ee, {
|
|
1159
|
+
key: de,
|
|
1267
1160
|
command: G.id
|
|
1268
1161
|
}, {
|
|
1269
|
-
default:
|
|
1270
|
-
|
|
1162
|
+
default: _(() => [
|
|
1163
|
+
j(Q(G.name), 1)
|
|
1271
1164
|
]),
|
|
1272
1165
|
_: 2
|
|
1273
1166
|
}, 1032, ["command"]))), 128))
|
|
@@ -1275,17 +1168,17 @@ const kt = qe(vt, {
|
|
|
1275
1168
|
_: 1
|
|
1276
1169
|
})
|
|
1277
1170
|
]),
|
|
1278
|
-
default:
|
|
1279
|
-
|
|
1171
|
+
default: _(() => [
|
|
1172
|
+
h(O, {
|
|
1280
1173
|
plain: "",
|
|
1281
1174
|
type: "primary",
|
|
1282
|
-
icon: r(
|
|
1175
|
+
icon: r(ho)
|
|
1283
1176
|
}, {
|
|
1284
|
-
default:
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
default:
|
|
1288
|
-
|
|
1177
|
+
default: _(() => [
|
|
1178
|
+
g[3] || (g[3] = j(" 导入 ", -1)),
|
|
1179
|
+
h(w, null, {
|
|
1180
|
+
default: _(() => [
|
|
1181
|
+
h(r(yo))
|
|
1289
1182
|
]),
|
|
1290
1183
|
_: 1
|
|
1291
1184
|
})
|
|
@@ -1295,190 +1188,146 @@ const kt = qe(vt, {
|
|
|
1295
1188
|
]),
|
|
1296
1189
|
_: 1
|
|
1297
1190
|
}),
|
|
1298
|
-
|
|
1191
|
+
S("div", {
|
|
1299
1192
|
class: "setting-btn",
|
|
1300
|
-
onClick:
|
|
1193
|
+
onClick: m
|
|
1301
1194
|
}, [
|
|
1302
|
-
|
|
1303
|
-
default:
|
|
1304
|
-
|
|
1195
|
+
h(w, null, {
|
|
1196
|
+
default: _(() => [
|
|
1197
|
+
h(r(Eo))
|
|
1305
1198
|
]),
|
|
1306
1199
|
_: 1
|
|
1307
1200
|
}),
|
|
1308
|
-
|
|
1201
|
+
g[4] || (g[4] = j(" 地图设置 ", -1))
|
|
1309
1202
|
]),
|
|
1310
|
-
|
|
1203
|
+
S("div", {
|
|
1311
1204
|
class: "back-btn",
|
|
1312
1205
|
onClick: a
|
|
1313
1206
|
}, [
|
|
1314
|
-
|
|
1315
|
-
default:
|
|
1316
|
-
(
|
|
1207
|
+
h(w, null, {
|
|
1208
|
+
default: _(() => [
|
|
1209
|
+
(R(), H(me(t.value ? r(Io) : r(Co))))
|
|
1317
1210
|
]),
|
|
1318
1211
|
_: 1
|
|
1319
1212
|
})
|
|
1320
1213
|
])
|
|
1321
1214
|
]),
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1215
|
+
S("div", ht, [
|
|
1216
|
+
ne("", !0),
|
|
1217
|
+
P(T.$slots, "topic", { key: 1 }, void 0, !0)
|
|
1325
1218
|
])
|
|
1326
1219
|
], 2),
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1220
|
+
S("div", yt, [
|
|
1221
|
+
S("div", Et, [
|
|
1222
|
+
S("div", It, [
|
|
1223
|
+
h(io, {
|
|
1331
1224
|
visible: l.value,
|
|
1332
1225
|
placement: "bottom-start",
|
|
1333
1226
|
width: 300,
|
|
1334
1227
|
trigger: "click",
|
|
1335
1228
|
teleported: !1
|
|
1336
1229
|
}, {
|
|
1337
|
-
reference:
|
|
1338
|
-
|
|
1230
|
+
reference: _(() => [
|
|
1231
|
+
S("div", {
|
|
1339
1232
|
class: "dropdown-trigger",
|
|
1340
|
-
onClick:
|
|
1233
|
+
onClick: g[0] || (g[0] = (G) => l.value = !l.value)
|
|
1341
1234
|
}, [
|
|
1342
|
-
|
|
1343
|
-
default:
|
|
1344
|
-
|
|
1235
|
+
h(w, { size: "24" }, {
|
|
1236
|
+
default: _(() => [
|
|
1237
|
+
h(r($o))
|
|
1345
1238
|
]),
|
|
1346
1239
|
_: 1
|
|
1347
1240
|
}),
|
|
1348
|
-
|
|
1241
|
+
g[6] || (g[6] = S("div", { class: "drawer-btn" }, "搜索", -1))
|
|
1349
1242
|
])
|
|
1350
1243
|
]),
|
|
1351
|
-
default:
|
|
1352
|
-
|
|
1353
|
-
|
|
1244
|
+
default: _(() => [
|
|
1245
|
+
S("div", Ct, [
|
|
1246
|
+
h(ao, {
|
|
1354
1247
|
modelValue: s.value,
|
|
1355
|
-
"onUpdate:modelValue":
|
|
1248
|
+
"onUpdate:modelValue": g[1] || (g[1] = (G) => s.value = G),
|
|
1356
1249
|
placeholder: "请输入搜索关键词",
|
|
1357
|
-
onKeyup:
|
|
1250
|
+
onKeyup: _o(F, ["enter"])
|
|
1358
1251
|
}, {
|
|
1359
|
-
append:
|
|
1360
|
-
|
|
1361
|
-
onClick:
|
|
1362
|
-
loading:
|
|
1252
|
+
append: _(() => [
|
|
1253
|
+
h(O, {
|
|
1254
|
+
onClick: F,
|
|
1255
|
+
loading: u.value
|
|
1363
1256
|
}, {
|
|
1364
|
-
default:
|
|
1365
|
-
|
|
1257
|
+
default: _(() => [...g[7] || (g[7] = [
|
|
1258
|
+
j("搜索", -1)
|
|
1366
1259
|
])]),
|
|
1367
1260
|
_: 1
|
|
1368
1261
|
}, 8, ["loading"])
|
|
1369
1262
|
]),
|
|
1370
1263
|
_: 1
|
|
1371
1264
|
}, 8, ["modelValue"]),
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
modelValue:
|
|
1375
|
-
"onUpdate:modelValue":
|
|
1265
|
+
g[10] || (g[10] = S("div", { class: "search-hint" }, "点击搜索或按键盘上的回车触发搜索", -1)),
|
|
1266
|
+
h(so, {
|
|
1267
|
+
modelValue: d.value,
|
|
1268
|
+
"onUpdate:modelValue": g[2] || (g[2] = (G) => d.value = G)
|
|
1376
1269
|
}, {
|
|
1377
|
-
default:
|
|
1378
|
-
|
|
1379
|
-
default:
|
|
1380
|
-
|
|
1270
|
+
default: _(() => [
|
|
1271
|
+
h(Ie, { value: "layer" }, {
|
|
1272
|
+
default: _(() => [...g[8] || (g[8] = [
|
|
1273
|
+
j("搜索已添加到地图中的数据", -1)
|
|
1381
1274
|
])]),
|
|
1382
1275
|
_: 1
|
|
1383
1276
|
}),
|
|
1384
|
-
|
|
1385
|
-
default:
|
|
1386
|
-
|
|
1277
|
+
h(Ie, { value: "location" }, {
|
|
1278
|
+
default: _(() => [...g[9] || (g[9] = [
|
|
1279
|
+
j("搜索地图上的地址或者地点", -1)
|
|
1387
1280
|
])]),
|
|
1388
1281
|
_: 1
|
|
1389
1282
|
})
|
|
1390
1283
|
]),
|
|
1391
1284
|
_: 1
|
|
1392
1285
|
}, 8, ["modelValue"]),
|
|
1393
|
-
i.value.length > 0 ? (
|
|
1394
|
-
(
|
|
1395
|
-
key:
|
|
1286
|
+
i.value.length > 0 ? (R(), L("div", $t, [
|
|
1287
|
+
(R(!0), L(le, null, ue(i.value, (G, de) => (R(), L("div", {
|
|
1288
|
+
key: de,
|
|
1396
1289
|
class: "search-result-item",
|
|
1397
|
-
onClick: (
|
|
1290
|
+
onClick: (Ot) => K(G)
|
|
1398
1291
|
}, [
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
], 8,
|
|
1402
|
-
])) :
|
|
1292
|
+
S("div", kt, Q(G.place_name), 1),
|
|
1293
|
+
S("div", St, Q(G.center[1].toFixed(4)) + ", " + Q(G.center[0].toFixed(4)), 1)
|
|
1294
|
+
], 8, Tt))), 128))
|
|
1295
|
+
])) : ne("", !0)
|
|
1403
1296
|
])
|
|
1404
1297
|
]),
|
|
1405
1298
|
_: 1
|
|
1406
|
-
}, 8, ["visible"])
|
|
1407
|
-
_($e, {
|
|
1408
|
-
onCommand: ce,
|
|
1409
|
-
teleported: !1
|
|
1410
|
-
}, {
|
|
1411
|
-
dropdown: y(() => [
|
|
1412
|
-
_(ke, null, {
|
|
1413
|
-
default: y(() => [
|
|
1414
|
-
_(ae, { command: "point" }, {
|
|
1415
|
-
default: y(() => [...d[12] || (d[12] = [
|
|
1416
|
-
C("span", { class: "qyuan icon-local-two" }, null, -1),
|
|
1417
|
-
U("点", -1)
|
|
1418
|
-
])]),
|
|
1419
|
-
_: 1
|
|
1420
|
-
}),
|
|
1421
|
-
_(ae, { command: "line" }, {
|
|
1422
|
-
default: y(() => [...d[13] || (d[13] = [
|
|
1423
|
-
C("span", { class: "qyuan icon-whole-site-accelerator" }, null, -1),
|
|
1424
|
-
U("线", -1)
|
|
1425
|
-
])]),
|
|
1426
|
-
_: 1
|
|
1427
|
-
}),
|
|
1428
|
-
_(ae, { command: "polygon" }, {
|
|
1429
|
-
default: y(() => [...d[14] || (d[14] = [
|
|
1430
|
-
C("span", { class: "qyuan icon-anchor" }, null, -1),
|
|
1431
|
-
U("多边形", -1)
|
|
1432
|
-
])]),
|
|
1433
|
-
_: 1
|
|
1434
|
-
})
|
|
1435
|
-
]),
|
|
1436
|
-
_: 1
|
|
1437
|
-
})
|
|
1438
|
-
]),
|
|
1439
|
-
default: y(() => [
|
|
1440
|
-
C("div", Gt, [
|
|
1441
|
-
_(T, { size: "24" }, {
|
|
1442
|
-
default: y(() => [
|
|
1443
|
-
_(r(Yo))
|
|
1444
|
-
]),
|
|
1445
|
-
_: 1
|
|
1446
|
-
}),
|
|
1447
|
-
d[11] || (d[11] = C("div", { class: "drawer-btn" }, "手绘地理数据", -1))
|
|
1448
|
-
])
|
|
1449
|
-
]),
|
|
1450
|
-
_: 1
|
|
1451
|
-
})
|
|
1299
|
+
}, 8, ["visible"])
|
|
1452
1300
|
]),
|
|
1453
|
-
|
|
1301
|
+
h(w, {
|
|
1454
1302
|
size: "21",
|
|
1455
1303
|
style: { cursor: "pointer" },
|
|
1456
|
-
onClick:
|
|
1304
|
+
onClick: y
|
|
1457
1305
|
}, {
|
|
1458
|
-
default:
|
|
1459
|
-
|
|
1306
|
+
default: _(() => [
|
|
1307
|
+
h(r(To))
|
|
1460
1308
|
]),
|
|
1461
1309
|
_: 1
|
|
1462
1310
|
})
|
|
1463
1311
|
]),
|
|
1464
|
-
|
|
1465
|
-
|
|
1312
|
+
S("div", Rt, [
|
|
1313
|
+
P(T.$slots, "default", {}, void 0, !0)
|
|
1466
1314
|
])
|
|
1467
1315
|
])
|
|
1468
1316
|
], 2);
|
|
1469
1317
|
};
|
|
1470
1318
|
}
|
|
1471
|
-
}),
|
|
1319
|
+
}), or = /* @__PURE__ */ ln(Ft, [["__scopeId", "data-v-93d3de62"]]);
|
|
1320
|
+
uo();
|
|
1472
1321
|
export {
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1322
|
+
br as MapCompass,
|
|
1323
|
+
or as MapLayer,
|
|
1324
|
+
yr as MapLegend,
|
|
1325
|
+
cr as MapLevel,
|
|
1326
|
+
vr as MapPitch,
|
|
1327
|
+
fr as MapPos,
|
|
1328
|
+
wr as MapTools,
|
|
1329
|
+
dr as MapTopic,
|
|
1330
|
+
rr as MapView,
|
|
1331
|
+
ar as locateToLayerCenterKeyBus,
|
|
1332
|
+
sr as mapStyleChangedBus
|
|
1484
1333
|
};
|