vue-openlayers-plugin 1.0.43 → 1.0.45
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/lib/{index-ead1b915.mjs → index-180ae24d.mjs} +14 -14
- package/lib/{index.es-342b25b8.mjs → index.es-f65a4250.mjs} +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.umd.js +14 -14
- package/lib/style.css +42 -42
- package/package.json +1 -1
- package/types/src/components/CustomOpenlayer/components/MapSearch/MapSearch.vue.d.ts.map +1 -1
|
@@ -474417,6 +474417,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474417
474417
|
}, 200);
|
|
474418
474418
|
};
|
|
474419
474419
|
const handleSearchEnter = () => {
|
|
474420
|
+
debugger;
|
|
474420
474421
|
if (selectedIndex.value >= 0) {
|
|
474421
474422
|
const items = getSelectableItems();
|
|
474422
474423
|
if (items[selectedIndex.value]) {
|
|
@@ -474568,7 +474569,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474568
474569
|
return openBlock(), createElementBlock("div", {
|
|
474569
474570
|
class: normalizeClass(["map-search-container", [`position-${position2.value}`, { "search-active": isSearchActive.value }]])
|
|
474570
474571
|
}, [
|
|
474571
|
-
renderSlot(_ctx.$slots, "prepend"
|
|
474572
|
+
renderSlot(_ctx.$slots, "prepend"),
|
|
474572
474573
|
createElementVNode("div", _hoisted_1$a, [
|
|
474573
474574
|
renderSlot(_ctx.$slots, "search-input", {
|
|
474574
474575
|
searchQuery: searchQuery.value,
|
|
@@ -474606,7 +474607,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474606
474607
|
]),
|
|
474607
474608
|
_: 1
|
|
474608
474609
|
})
|
|
474609
|
-
]
|
|
474610
|
+
])
|
|
474610
474611
|
]),
|
|
474611
474612
|
suffix: withCtx(() => [
|
|
474612
474613
|
renderSlot(_ctx.$slots, "input-suffix", { isLoading: isLoading.value }, () => [
|
|
@@ -474619,11 +474620,11 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474619
474620
|
]),
|
|
474620
474621
|
_: 1
|
|
474621
474622
|
})) : createCommentVNode("", true)
|
|
474622
|
-
]
|
|
474623
|
+
])
|
|
474623
474624
|
]),
|
|
474624
474625
|
_: 3
|
|
474625
474626
|
}, 8, ["modelValue", "placeholder"])
|
|
474626
|
-
]
|
|
474627
|
+
])
|
|
474627
474628
|
]),
|
|
474628
474629
|
withDirectives(createElementVNode("div", _hoisted_2$a, [
|
|
474629
474630
|
renderSlot(_ctx.$slots, "search-results", {
|
|
@@ -474652,7 +474653,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474652
474653
|
_: 1
|
|
474653
474654
|
})
|
|
474654
474655
|
])
|
|
474655
|
-
]
|
|
474656
|
+
]),
|
|
474656
474657
|
(openBlock(true), createElementBlock(Fragment, null, renderList(searchHistory.value, (item, index2) => {
|
|
474657
474658
|
return renderSlot(_ctx.$slots, "history-item", {
|
|
474658
474659
|
key: `history-${index2}`,
|
|
@@ -474676,7 +474677,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474676
474677
|
createElementVNode("div", _hoisted_8$6, toDisplayString(item.address), 1)
|
|
474677
474678
|
])
|
|
474678
474679
|
], 10, _hoisted_5$9)
|
|
474679
|
-
]
|
|
474680
|
+
]);
|
|
474680
474681
|
}), 128))
|
|
474681
474682
|
])) : createCommentVNode("", true),
|
|
474682
474683
|
searchResults.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_9$6, [
|
|
@@ -474688,7 +474689,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474688
474689
|
_cache[3] || (_cache[3] = createElementVNode("span", null, "搜索结果", -1)),
|
|
474689
474690
|
createElementVNode("span", _hoisted_11$6, "(" + toDisplayString(searchResults.value.length) + ")", 1)
|
|
474690
474691
|
])) : createCommentVNode("", true)
|
|
474691
|
-
]
|
|
474692
|
+
]),
|
|
474692
474693
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayResults.value, (result, index2) => {
|
|
474693
474694
|
return renderSlot(_ctx.$slots, "result-item", {
|
|
474694
474695
|
key: result.id,
|
|
@@ -474722,7 +474723,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474722
474723
|
]),
|
|
474723
474724
|
result.confidence ? (openBlock(), createElementBlock("div", _hoisted_17$3, toDisplayString(Math.round(result.confidence * 100)) + "%", 1)) : createCommentVNode("", true)
|
|
474724
474725
|
], 10, _hoisted_12$6)
|
|
474725
|
-
]
|
|
474726
|
+
]);
|
|
474726
474727
|
}), 128))
|
|
474727
474728
|
])) : createCommentVNode("", true),
|
|
474728
474729
|
renderSlot(_ctx.$slots, "no-results", {
|
|
@@ -474739,17 +474740,16 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474739
474740
|
}),
|
|
474740
474741
|
_cache[4] || (_cache[4] = createElementVNode("span", null, "未找到相关结果", -1))
|
|
474741
474742
|
])) : createCommentVNode("", true)
|
|
474742
|
-
]
|
|
474743
|
-
]
|
|
474743
|
+
])
|
|
474744
|
+
])
|
|
474744
474745
|
], 512), [
|
|
474745
474746
|
[vShow, showResults.value && (searchResults.value.length > 0 || showHistory.value)]
|
|
474746
474747
|
]),
|
|
474747
|
-
renderSlot(_ctx.$slots, "append"
|
|
474748
|
+
renderSlot(_ctx.$slots, "append")
|
|
474748
474749
|
], 2);
|
|
474749
474750
|
};
|
|
474750
474751
|
}
|
|
474751
474752
|
});
|
|
474752
|
-
const MapSearch = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-8babff5c"]]);
|
|
474753
474753
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
474754
474754
|
__name: "index",
|
|
474755
474755
|
props: {
|
|
@@ -480486,7 +480486,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
480486
480486
|
}, null, 8, ["config", "left-offset", "right-offset", "top-offset", "bottom-offset"]), [
|
|
480487
480487
|
[vShow, finalShowToolbar.value]
|
|
480488
480488
|
]),
|
|
480489
|
-
withDirectives(createVNode$1(
|
|
480489
|
+
withDirectives(createVNode$1(_sfc_main$c, {
|
|
480490
480490
|
ref_key: "mapSearchRef",
|
|
480491
480491
|
ref: mapSearchRef,
|
|
480492
480492
|
config: finalSearchConfig.value,
|
|
@@ -488860,7 +488860,7 @@ function(t3) {
|
|
|
488860
488860
|
*/
|
|
488861
488861
|
function(t3) {
|
|
488862
488862
|
function e8() {
|
|
488863
|
-
return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-
|
|
488863
|
+
return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-f65a4250.mjs")).catch(function(t4) {
|
|
488864
488864
|
return Promise.reject(new Error("Could not load canvg: " + t4));
|
|
488865
488865
|
}).then(function(t4) {
|
|
488866
488866
|
return t4.default ? t4.default : t4;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, R as RGBColor, r as requestAnimationFrame, _ as _asyncToGenerator, a as _, p as processCanvasRGBA, b as _defineProperty } from "./index-
|
|
1
|
+
import { c as commonjsGlobal, R as RGBColor, r as requestAnimationFrame, _ as _asyncToGenerator, a as _, p as processCanvasRGBA, b as _defineProperty } from "./index-180ae24d.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "ol";
|
|
4
4
|
var check = function(it) {
|
package/lib/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z, B, d, C, D, a2, a3, u, y, I, H, Z, $, L, J, K, a4, h, M, a0, a1, X, Y, U, W, Q, S, P, A, F, G, N, O, e, T, E, V, x, j, o, t, f, k, g, w, q, m, n, a5, i, s, l, v } from "./index-
|
|
1
|
+
import { z, B, d, C, D, a2, a3, u, y, I, H, Z, $, L, J, K, a4, h, M, a0, a1, X, Y, U, W, Q, S, P, A, F, G, N, O, e, T, E, V, x, j, o, t, f, k, g, w, q, m, n, a5, i, s, l, v } from "./index-180ae24d.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "ol";
|
|
4
4
|
export {
|
package/lib/index.umd.js
CHANGED
|
@@ -475207,6 +475207,7 @@ ${this.attributes_.map(
|
|
|
475207
475207
|
}, 200);
|
|
475208
475208
|
};
|
|
475209
475209
|
const handleSearchEnter = () => {
|
|
475210
|
+
debugger;
|
|
475210
475211
|
if (selectedIndex.value >= 0) {
|
|
475211
475212
|
const items = getSelectableItems();
|
|
475212
475213
|
if (items[selectedIndex.value]) {
|
|
@@ -475358,7 +475359,7 @@ ${this.attributes_.map(
|
|
|
475358
475359
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
475359
475360
|
class: vue.normalizeClass(["map-search-container", [`position-${position2.value}`, { "search-active": isSearchActive.value }]])
|
|
475360
475361
|
}, [
|
|
475361
|
-
vue.renderSlot(_ctx.$slots, "prepend"
|
|
475362
|
+
vue.renderSlot(_ctx.$slots, "prepend"),
|
|
475362
475363
|
vue.createElementVNode("div", _hoisted_1$a, [
|
|
475363
475364
|
vue.renderSlot(_ctx.$slots, "search-input", {
|
|
475364
475365
|
searchQuery: searchQuery.value,
|
|
@@ -475396,7 +475397,7 @@ ${this.attributes_.map(
|
|
|
475396
475397
|
]),
|
|
475397
475398
|
_: 1
|
|
475398
475399
|
})
|
|
475399
|
-
]
|
|
475400
|
+
])
|
|
475400
475401
|
]),
|
|
475401
475402
|
suffix: vue.withCtx(() => [
|
|
475402
475403
|
vue.renderSlot(_ctx.$slots, "input-suffix", { isLoading: isLoading.value }, () => [
|
|
@@ -475409,11 +475410,11 @@ ${this.attributes_.map(
|
|
|
475409
475410
|
]),
|
|
475410
475411
|
_: 1
|
|
475411
475412
|
})) : vue.createCommentVNode("", true)
|
|
475412
|
-
]
|
|
475413
|
+
])
|
|
475413
475414
|
]),
|
|
475414
475415
|
_: 3
|
|
475415
475416
|
}, 8, ["modelValue", "placeholder"])
|
|
475416
|
-
]
|
|
475417
|
+
])
|
|
475417
475418
|
]),
|
|
475418
475419
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_2$a, [
|
|
475419
475420
|
vue.renderSlot(_ctx.$slots, "search-results", {
|
|
@@ -475442,7 +475443,7 @@ ${this.attributes_.map(
|
|
|
475442
475443
|
_: 1
|
|
475443
475444
|
})
|
|
475444
475445
|
])
|
|
475445
|
-
]
|
|
475446
|
+
]),
|
|
475446
475447
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(searchHistory.value, (item, index2) => {
|
|
475447
475448
|
return vue.renderSlot(_ctx.$slots, "history-item", {
|
|
475448
475449
|
key: `history-${index2}`,
|
|
@@ -475466,7 +475467,7 @@ ${this.attributes_.map(
|
|
|
475466
475467
|
vue.createElementVNode("div", _hoisted_8$6, vue.toDisplayString(item.address), 1)
|
|
475467
475468
|
])
|
|
475468
475469
|
], 10, _hoisted_5$9)
|
|
475469
|
-
]
|
|
475470
|
+
]);
|
|
475470
475471
|
}), 128))
|
|
475471
475472
|
])) : vue.createCommentVNode("", true),
|
|
475472
475473
|
searchResults.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$6, [
|
|
@@ -475478,7 +475479,7 @@ ${this.attributes_.map(
|
|
|
475478
475479
|
_cache[3] || (_cache[3] = vue.createElementVNode("span", null, "搜索结果", -1)),
|
|
475479
475480
|
vue.createElementVNode("span", _hoisted_11$6, "(" + vue.toDisplayString(searchResults.value.length) + ")", 1)
|
|
475480
475481
|
])) : vue.createCommentVNode("", true)
|
|
475481
|
-
]
|
|
475482
|
+
]),
|
|
475482
475483
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayResults.value, (result, index2) => {
|
|
475483
475484
|
return vue.renderSlot(_ctx.$slots, "result-item", {
|
|
475484
475485
|
key: result.id,
|
|
@@ -475512,7 +475513,7 @@ ${this.attributes_.map(
|
|
|
475512
475513
|
]),
|
|
475513
475514
|
result.confidence ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$3, vue.toDisplayString(Math.round(result.confidence * 100)) + "%", 1)) : vue.createCommentVNode("", true)
|
|
475514
475515
|
], 10, _hoisted_12$6)
|
|
475515
|
-
]
|
|
475516
|
+
]);
|
|
475516
475517
|
}), 128))
|
|
475517
475518
|
])) : vue.createCommentVNode("", true),
|
|
475518
475519
|
vue.renderSlot(_ctx.$slots, "no-results", {
|
|
@@ -475529,18 +475530,17 @@ ${this.attributes_.map(
|
|
|
475529
475530
|
}),
|
|
475530
475531
|
_cache[4] || (_cache[4] = vue.createElementVNode("span", null, "未找到相关结果", -1))
|
|
475531
475532
|
])) : vue.createCommentVNode("", true)
|
|
475532
|
-
]
|
|
475533
|
-
]
|
|
475533
|
+
])
|
|
475534
|
+
])
|
|
475534
475535
|
], 512), [
|
|
475535
475536
|
[vue.vShow, showResults.value && (searchResults.value.length > 0 || showHistory.value)]
|
|
475536
475537
|
]),
|
|
475537
|
-
vue.renderSlot(_ctx.$slots, "append"
|
|
475538
|
+
vue.renderSlot(_ctx.$slots, "append")
|
|
475538
475539
|
], 2);
|
|
475539
475540
|
};
|
|
475540
475541
|
}
|
|
475541
475542
|
});
|
|
475542
|
-
const
|
|
475543
|
-
const MapSearch = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-8babff5c"]]);
|
|
475543
|
+
const MapSearch_vue_vue_type_style_index_0_lang = "";
|
|
475544
475544
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
475545
475545
|
__name: "index",
|
|
475546
475546
|
props: {
|
|
@@ -481287,7 +481287,7 @@ ${this.attributes_.map(
|
|
|
481287
481287
|
}, null, 8, ["config", "left-offset", "right-offset", "top-offset", "bottom-offset"]), [
|
|
481288
481288
|
[vue.vShow, finalShowToolbar.value]
|
|
481289
481289
|
]),
|
|
481290
|
-
vue.withDirectives(vue.createVNode(
|
|
481290
|
+
vue.withDirectives(vue.createVNode(_sfc_main$c, {
|
|
481291
481291
|
ref_key: "mapSearchRef",
|
|
481292
481292
|
ref: mapSearchRef,
|
|
481293
481293
|
config: finalSearchConfig.value,
|
package/lib/style.css
CHANGED
|
@@ -1028,7 +1028,7 @@ to {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
[data-v-f8ee8458].el-menu--horizontal {
|
|
1030
1030
|
height: 100% !important;
|
|
1031
|
-
}.map-search-container
|
|
1031
|
+
}.map-search-container {
|
|
1032
1032
|
position: absolute;
|
|
1033
1033
|
z-index: 99;
|
|
1034
1034
|
min-width: 300px;
|
|
@@ -1036,43 +1036,43 @@ to {
|
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
1038
|
/* 位置样式 */
|
|
1039
|
-
.position-top-left
|
|
1039
|
+
.position-top-left {
|
|
1040
1040
|
top: 10px;
|
|
1041
1041
|
left: 10px;
|
|
1042
1042
|
}
|
|
1043
|
-
.position-top-right
|
|
1043
|
+
.position-top-right {
|
|
1044
1044
|
top: 10px;
|
|
1045
1045
|
right: 10px;
|
|
1046
1046
|
}
|
|
1047
|
-
.position-bottom-left
|
|
1047
|
+
.position-bottom-left {
|
|
1048
1048
|
bottom: 10px;
|
|
1049
1049
|
left: 10px;
|
|
1050
1050
|
}
|
|
1051
|
-
.position-bottom-right
|
|
1051
|
+
.position-bottom-right {
|
|
1052
1052
|
bottom: 10px;
|
|
1053
1053
|
right: 10px;
|
|
1054
1054
|
}
|
|
1055
|
-
.search-input-wrapper
|
|
1055
|
+
.search-input-wrapper {
|
|
1056
1056
|
position: relative;
|
|
1057
1057
|
}
|
|
1058
|
-
.search-input
|
|
1058
|
+
.search-input {
|
|
1059
1059
|
width: 100%;
|
|
1060
1060
|
}
|
|
1061
|
-
.search-input
|
|
1061
|
+
.search-input :deep(.el-input__inner) {
|
|
1062
1062
|
transition: all 0.3s ease;
|
|
1063
1063
|
}
|
|
1064
|
-
.search-active .search-input
|
|
1064
|
+
.search-active .search-input :deep(.el-input__inner) {
|
|
1065
1065
|
border-color: #409eff;
|
|
1066
1066
|
box-shadow: 0 2px 12px rgba(64, 158, 255, 0.2);
|
|
1067
1067
|
}
|
|
1068
|
-
.search-icon
|
|
1068
|
+
.search-icon {
|
|
1069
1069
|
color: #909399;
|
|
1070
1070
|
}
|
|
1071
|
-
.loading-icon
|
|
1071
|
+
.loading-icon {
|
|
1072
1072
|
color: #409eff;
|
|
1073
|
-
animation: rotate
|
|
1073
|
+
animation: rotate 1s linear infinite;
|
|
1074
1074
|
}
|
|
1075
|
-
@keyframes rotate
|
|
1075
|
+
@keyframes rotate {
|
|
1076
1076
|
from {
|
|
1077
1077
|
transform: rotate(0deg);
|
|
1078
1078
|
}
|
|
@@ -1080,7 +1080,7 @@ to {
|
|
|
1080
1080
|
transform: rotate(360deg);
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
|
-
.search-results
|
|
1083
|
+
.search-results {
|
|
1084
1084
|
position: absolute;
|
|
1085
1085
|
top: 100%;
|
|
1086
1086
|
left: 0;
|
|
@@ -1094,13 +1094,13 @@ to {
|
|
|
1094
1094
|
z-index: 10000;
|
|
1095
1095
|
margin-top: 4px;
|
|
1096
1096
|
}
|
|
1097
|
-
.search-section
|
|
1097
|
+
.search-section {
|
|
1098
1098
|
padding: 8px 0;
|
|
1099
1099
|
}
|
|
1100
|
-
.search-section
|
|
1100
|
+
.search-section:not(:last-child) {
|
|
1101
1101
|
border-bottom: 1px solid #f0f0f0;
|
|
1102
1102
|
}
|
|
1103
|
-
.section-title
|
|
1103
|
+
.section-title {
|
|
1104
1104
|
display: flex;
|
|
1105
1105
|
justify-content: space-between;
|
|
1106
1106
|
align-items: center;
|
|
@@ -1109,37 +1109,37 @@ to {
|
|
|
1109
1109
|
color: #909399;
|
|
1110
1110
|
font-weight: 500;
|
|
1111
1111
|
}
|
|
1112
|
-
.result-count
|
|
1112
|
+
.result-count {
|
|
1113
1113
|
color: #c0c4cc;
|
|
1114
1114
|
}
|
|
1115
|
-
.search-item
|
|
1115
|
+
.search-item {
|
|
1116
1116
|
display: flex;
|
|
1117
1117
|
align-items: center;
|
|
1118
1118
|
padding: 12px 16px;
|
|
1119
1119
|
cursor: pointer;
|
|
1120
1120
|
transition: background-color 0.2s ease;
|
|
1121
1121
|
}
|
|
1122
|
-
.search-item
|
|
1123
|
-
.search-item.active
|
|
1122
|
+
.search-item:hover,
|
|
1123
|
+
.search-item.active {
|
|
1124
1124
|
background-color: #f5f7fa;
|
|
1125
1125
|
}
|
|
1126
|
-
.item-icon
|
|
1126
|
+
.item-icon {
|
|
1127
1127
|
margin-right: 12px;
|
|
1128
1128
|
color: #909399;
|
|
1129
1129
|
font-size: 16px;
|
|
1130
1130
|
flex-shrink: 0;
|
|
1131
1131
|
}
|
|
1132
|
-
.history-item .item-icon
|
|
1132
|
+
.history-item .item-icon {
|
|
1133
1133
|
color: #c0c4cc;
|
|
1134
1134
|
}
|
|
1135
|
-
.result-item .item-icon
|
|
1135
|
+
.result-item .item-icon {
|
|
1136
1136
|
color: #409eff;
|
|
1137
1137
|
}
|
|
1138
|
-
.item-content
|
|
1138
|
+
.item-content {
|
|
1139
1139
|
flex: 1;
|
|
1140
1140
|
min-width: 0;
|
|
1141
1141
|
}
|
|
1142
|
-
.item-name
|
|
1142
|
+
.item-name {
|
|
1143
1143
|
font-size: 14px;
|
|
1144
1144
|
color: #303133;
|
|
1145
1145
|
margin-bottom: 4px;
|
|
@@ -1147,37 +1147,37 @@ to {
|
|
|
1147
1147
|
overflow: hidden;
|
|
1148
1148
|
text-overflow: ellipsis;
|
|
1149
1149
|
}
|
|
1150
|
-
.item-name
|
|
1150
|
+
.item-name :deep(mark) {
|
|
1151
1151
|
background-color: #fff2cc;
|
|
1152
1152
|
color: #e6a23c;
|
|
1153
1153
|
padding: 0 2px;
|
|
1154
1154
|
border-radius: 2px;
|
|
1155
1155
|
}
|
|
1156
|
-
.item-address
|
|
1156
|
+
.item-address {
|
|
1157
1157
|
font-size: 12px;
|
|
1158
1158
|
color: #909399;
|
|
1159
1159
|
white-space: nowrap;
|
|
1160
1160
|
overflow: hidden;
|
|
1161
1161
|
text-overflow: ellipsis;
|
|
1162
1162
|
}
|
|
1163
|
-
.item-address
|
|
1163
|
+
.item-address :deep(mark) {
|
|
1164
1164
|
background-color: #fff2cc;
|
|
1165
1165
|
color: #e6a23c;
|
|
1166
1166
|
padding: 0 2px;
|
|
1167
1167
|
border-radius: 2px;
|
|
1168
1168
|
}
|
|
1169
|
-
.item-type
|
|
1169
|
+
.item-type {
|
|
1170
1170
|
font-size: 11px;
|
|
1171
1171
|
color: #c0c4cc;
|
|
1172
1172
|
margin-top: 2px;
|
|
1173
1173
|
}
|
|
1174
|
-
.item-confidence
|
|
1174
|
+
.item-confidence {
|
|
1175
1175
|
font-size: 12px;
|
|
1176
1176
|
color: #67c23a;
|
|
1177
1177
|
margin-left: 8px;
|
|
1178
1178
|
flex-shrink: 0;
|
|
1179
1179
|
}
|
|
1180
|
-
.no-results
|
|
1180
|
+
.no-results {
|
|
1181
1181
|
display: flex;
|
|
1182
1182
|
align-items: center;
|
|
1183
1183
|
justify-content: center;
|
|
@@ -1185,31 +1185,31 @@ to {
|
|
|
1185
1185
|
color: #909399;
|
|
1186
1186
|
font-size: 14px;
|
|
1187
1187
|
}
|
|
1188
|
-
.no-results .el-icon
|
|
1188
|
+
.no-results .el-icon {
|
|
1189
1189
|
margin-right: 8px;
|
|
1190
1190
|
font-size: 16px;
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
1193
|
/* 响应式设计 */
|
|
1194
1194
|
@media (max-width: 768px) {
|
|
1195
|
-
.map-search-container
|
|
1195
|
+
.map-search-container {
|
|
1196
1196
|
min-width: 280px;
|
|
1197
1197
|
max-width: calc(100vw - 20px);
|
|
1198
1198
|
}
|
|
1199
|
-
.position-top-left
|
|
1200
|
-
.position-top-right
|
|
1199
|
+
.position-top-left,
|
|
1200
|
+
.position-top-right {
|
|
1201
1201
|
top: 5px;
|
|
1202
1202
|
}
|
|
1203
|
-
.position-top-left
|
|
1204
|
-
.position-bottom-left
|
|
1203
|
+
.position-top-left,
|
|
1204
|
+
.position-bottom-left {
|
|
1205
1205
|
left: 5px;
|
|
1206
1206
|
}
|
|
1207
|
-
.position-top-right
|
|
1208
|
-
.position-bottom-right
|
|
1207
|
+
.position-top-right,
|
|
1208
|
+
.position-bottom-right {
|
|
1209
1209
|
right: 5px;
|
|
1210
1210
|
}
|
|
1211
|
-
.position-bottom-left
|
|
1212
|
-
.position-bottom-right
|
|
1211
|
+
.position-bottom-left,
|
|
1212
|
+
.position-bottom-right {
|
|
1213
1213
|
bottom: 5px;
|
|
1214
1214
|
}
|
|
1215
1215
|
}.control-group[data-v-45410a30] {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapSearch.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CustomOpenlayer/components/MapSearch/MapSearch.vue"],"names":[],"mappings":"AAmHA;AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAKhE,UAAU,KAAK;IACb,MAAM,EAAE,eAAe,CAAA;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MapSearch.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CustomOpenlayer/components/MapSearch/MapSearch.vue"],"names":[],"mappings":"AAmHA;AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAKhE,UAAU,KAAK;IACb,MAAM,EAAE,eAAe,CAAA;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+7BD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|