vue-openlayers-plugin 1.0.42 → 1.0.43
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.
|
@@ -474749,7 +474749,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
474749
474749
|
};
|
|
474750
474750
|
}
|
|
474751
474751
|
});
|
|
474752
|
-
const MapSearch = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
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: {
|
|
@@ -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-342b25b8.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-ead1b915.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-ead1b915.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "ol";
|
|
4
4
|
export {
|
package/lib/index.umd.js
CHANGED
|
@@ -475539,8 +475539,8 @@ ${this.attributes_.map(
|
|
|
475539
475539
|
};
|
|
475540
475540
|
}
|
|
475541
475541
|
});
|
|
475542
|
-
const
|
|
475543
|
-
const MapSearch = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
475542
|
+
const MapSearch_vue_vue_type_style_index_0_scoped_8babff5c_lang = "";
|
|
475543
|
+
const MapSearch = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-8babff5c"]]);
|
|
475544
475544
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
475545
475545
|
__name: "index",
|
|
475546
475546
|
props: {
|
package/lib/style.css
CHANGED
|
@@ -1028,193 +1028,191 @@ to {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
[data-v-f8ee8458].el-menu--horizontal {
|
|
1030
1030
|
height: 100% !important;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
min-width: 300px;
|
|
1031
|
+
}.map-search-container[data-v-8babff5c] {
|
|
1032
|
+
position: absolute;
|
|
1033
|
+
z-index: 99;
|
|
1034
|
+
min-width: 300px;
|
|
1036
1035
|
max-width: 400px;
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1039
1038
|
/* 位置样式 */
|
|
1040
|
-
.position-top-left[data-v-
|
|
1041
|
-
top: 10px;
|
|
1039
|
+
.position-top-left[data-v-8babff5c] {
|
|
1040
|
+
top: 10px;
|
|
1042
1041
|
left: 10px;
|
|
1043
1042
|
}
|
|
1044
|
-
.position-top-right[data-v-
|
|
1045
|
-
top: 10px;
|
|
1043
|
+
.position-top-right[data-v-8babff5c] {
|
|
1044
|
+
top: 10px;
|
|
1046
1045
|
right: 10px;
|
|
1047
1046
|
}
|
|
1048
|
-
.position-bottom-left[data-v-
|
|
1049
|
-
bottom: 10px;
|
|
1047
|
+
.position-bottom-left[data-v-8babff5c] {
|
|
1048
|
+
bottom: 10px;
|
|
1050
1049
|
left: 10px;
|
|
1051
1050
|
}
|
|
1052
|
-
.position-bottom-right[data-v-
|
|
1053
|
-
bottom: 10px;
|
|
1051
|
+
.position-bottom-right[data-v-8babff5c] {
|
|
1052
|
+
bottom: 10px;
|
|
1054
1053
|
right: 10px;
|
|
1055
1054
|
}
|
|
1056
|
-
.search-input-wrapper[data-v-
|
|
1055
|
+
.search-input-wrapper[data-v-8babff5c] {
|
|
1057
1056
|
position: relative;
|
|
1058
1057
|
}
|
|
1059
|
-
.search-input[data-v-
|
|
1058
|
+
.search-input[data-v-8babff5c] {
|
|
1060
1059
|
width: 100%;
|
|
1061
1060
|
}
|
|
1062
|
-
.search-input[data-v-
|
|
1061
|
+
.search-input[data-v-8babff5c] .el-input__inner {
|
|
1063
1062
|
transition: all 0.3s ease;
|
|
1064
1063
|
}
|
|
1065
|
-
.search-active .search-input[data-v-
|
|
1066
|
-
border-color: #409eff;
|
|
1064
|
+
.search-active .search-input[data-v-8babff5c] .el-input__inner {
|
|
1065
|
+
border-color: #409eff;
|
|
1067
1066
|
box-shadow: 0 2px 12px rgba(64, 158, 255, 0.2);
|
|
1068
1067
|
}
|
|
1069
|
-
.search-icon[data-v-
|
|
1068
|
+
.search-icon[data-v-8babff5c] {
|
|
1070
1069
|
color: #909399;
|
|
1071
1070
|
}
|
|
1072
|
-
.loading-icon[data-v-
|
|
1073
|
-
color: #409eff;
|
|
1074
|
-
animation: rotate-
|
|
1071
|
+
.loading-icon[data-v-8babff5c] {
|
|
1072
|
+
color: #409eff;
|
|
1073
|
+
animation: rotate-8babff5c 1s linear infinite;
|
|
1075
1074
|
}
|
|
1076
|
-
@keyframes rotate-
|
|
1077
|
-
from {
|
|
1075
|
+
@keyframes rotate-8babff5c {
|
|
1076
|
+
from {
|
|
1078
1077
|
transform: rotate(0deg);
|
|
1079
1078
|
}
|
|
1080
|
-
to {
|
|
1079
|
+
to {
|
|
1081
1080
|
transform: rotate(360deg);
|
|
1082
1081
|
}
|
|
1083
1082
|
}
|
|
1084
|
-
.search-results[data-v-
|
|
1085
|
-
position: absolute;
|
|
1086
|
-
top: 100%;
|
|
1087
|
-
left: 0;
|
|
1088
|
-
right: 0;
|
|
1089
|
-
background: white;
|
|
1090
|
-
border: 1px solid #e4e7ed;
|
|
1091
|
-
border-radius: 6px;
|
|
1092
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
1093
|
-
max-height: 400px;
|
|
1094
|
-
overflow-y: auto;
|
|
1095
|
-
z-index: 10000;
|
|
1083
|
+
.search-results[data-v-8babff5c] {
|
|
1084
|
+
position: absolute;
|
|
1085
|
+
top: 100%;
|
|
1086
|
+
left: 0;
|
|
1087
|
+
right: 0;
|
|
1088
|
+
background: white;
|
|
1089
|
+
border: 1px solid #e4e7ed;
|
|
1090
|
+
border-radius: 6px;
|
|
1091
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
1092
|
+
max-height: 400px;
|
|
1093
|
+
overflow-y: auto;
|
|
1094
|
+
z-index: 10000;
|
|
1096
1095
|
margin-top: 4px;
|
|
1097
1096
|
}
|
|
1098
|
-
.search-section[data-v-
|
|
1097
|
+
.search-section[data-v-8babff5c] {
|
|
1099
1098
|
padding: 8px 0;
|
|
1100
1099
|
}
|
|
1101
|
-
.search-section[data-v-
|
|
1100
|
+
.search-section[data-v-8babff5c]:not(:last-child) {
|
|
1102
1101
|
border-bottom: 1px solid #f0f0f0;
|
|
1103
1102
|
}
|
|
1104
|
-
.section-title[data-v-
|
|
1105
|
-
display: flex;
|
|
1106
|
-
justify-content: space-between;
|
|
1107
|
-
align-items: center;
|
|
1108
|
-
padding: 8px 16px;
|
|
1109
|
-
font-size: 12px;
|
|
1110
|
-
color: #909399;
|
|
1103
|
+
.section-title[data-v-8babff5c] {
|
|
1104
|
+
display: flex;
|
|
1105
|
+
justify-content: space-between;
|
|
1106
|
+
align-items: center;
|
|
1107
|
+
padding: 8px 16px;
|
|
1108
|
+
font-size: 12px;
|
|
1109
|
+
color: #909399;
|
|
1111
1110
|
font-weight: 500;
|
|
1112
1111
|
}
|
|
1113
|
-
.result-count[data-v-
|
|
1112
|
+
.result-count[data-v-8babff5c] {
|
|
1114
1113
|
color: #c0c4cc;
|
|
1115
1114
|
}
|
|
1116
|
-
.search-item[data-v-
|
|
1117
|
-
display: flex;
|
|
1118
|
-
align-items: center;
|
|
1119
|
-
padding: 12px 16px;
|
|
1120
|
-
cursor: pointer;
|
|
1115
|
+
.search-item[data-v-8babff5c] {
|
|
1116
|
+
display: flex;
|
|
1117
|
+
align-items: center;
|
|
1118
|
+
padding: 12px 16px;
|
|
1119
|
+
cursor: pointer;
|
|
1121
1120
|
transition: background-color 0.2s ease;
|
|
1122
1121
|
}
|
|
1123
|
-
.search-item[data-v-
|
|
1124
|
-
.search-item.active[data-v-
|
|
1122
|
+
.search-item[data-v-8babff5c]:hover,
|
|
1123
|
+
.search-item.active[data-v-8babff5c] {
|
|
1125
1124
|
background-color: #f5f7fa;
|
|
1126
1125
|
}
|
|
1127
|
-
.item-icon[data-v-
|
|
1128
|
-
margin-right: 12px;
|
|
1129
|
-
color: #909399;
|
|
1130
|
-
font-size: 16px;
|
|
1126
|
+
.item-icon[data-v-8babff5c] {
|
|
1127
|
+
margin-right: 12px;
|
|
1128
|
+
color: #909399;
|
|
1129
|
+
font-size: 16px;
|
|
1131
1130
|
flex-shrink: 0;
|
|
1132
1131
|
}
|
|
1133
|
-
.history-item .item-icon[data-v-
|
|
1132
|
+
.history-item .item-icon[data-v-8babff5c] {
|
|
1134
1133
|
color: #c0c4cc;
|
|
1135
1134
|
}
|
|
1136
|
-
.result-item .item-icon[data-v-
|
|
1135
|
+
.result-item .item-icon[data-v-8babff5c] {
|
|
1137
1136
|
color: #409eff;
|
|
1138
1137
|
}
|
|
1139
|
-
.item-content[data-v-
|
|
1140
|
-
flex: 1;
|
|
1138
|
+
.item-content[data-v-8babff5c] {
|
|
1139
|
+
flex: 1;
|
|
1141
1140
|
min-width: 0;
|
|
1142
1141
|
}
|
|
1143
|
-
.item-name[data-v-
|
|
1144
|
-
font-size: 14px;
|
|
1145
|
-
color: #303133;
|
|
1146
|
-
margin-bottom: 4px;
|
|
1147
|
-
white-space: nowrap;
|
|
1148
|
-
overflow: hidden;
|
|
1142
|
+
.item-name[data-v-8babff5c] {
|
|
1143
|
+
font-size: 14px;
|
|
1144
|
+
color: #303133;
|
|
1145
|
+
margin-bottom: 4px;
|
|
1146
|
+
white-space: nowrap;
|
|
1147
|
+
overflow: hidden;
|
|
1149
1148
|
text-overflow: ellipsis;
|
|
1150
1149
|
}
|
|
1151
|
-
.item-name[data-v-
|
|
1152
|
-
background-color: #fff2cc;
|
|
1153
|
-
color: #e6a23c;
|
|
1154
|
-
padding: 0 2px;
|
|
1150
|
+
.item-name[data-v-8babff5c] mark {
|
|
1151
|
+
background-color: #fff2cc;
|
|
1152
|
+
color: #e6a23c;
|
|
1153
|
+
padding: 0 2px;
|
|
1155
1154
|
border-radius: 2px;
|
|
1156
1155
|
}
|
|
1157
|
-
.item-address[data-v-
|
|
1158
|
-
font-size: 12px;
|
|
1159
|
-
color: #909399;
|
|
1160
|
-
white-space: nowrap;
|
|
1161
|
-
overflow: hidden;
|
|
1156
|
+
.item-address[data-v-8babff5c] {
|
|
1157
|
+
font-size: 12px;
|
|
1158
|
+
color: #909399;
|
|
1159
|
+
white-space: nowrap;
|
|
1160
|
+
overflow: hidden;
|
|
1162
1161
|
text-overflow: ellipsis;
|
|
1163
1162
|
}
|
|
1164
|
-
.item-address[data-v-
|
|
1165
|
-
background-color: #fff2cc;
|
|
1166
|
-
color: #e6a23c;
|
|
1167
|
-
padding: 0 2px;
|
|
1163
|
+
.item-address[data-v-8babff5c] mark {
|
|
1164
|
+
background-color: #fff2cc;
|
|
1165
|
+
color: #e6a23c;
|
|
1166
|
+
padding: 0 2px;
|
|
1168
1167
|
border-radius: 2px;
|
|
1169
1168
|
}
|
|
1170
|
-
.item-type[data-v-
|
|
1171
|
-
font-size: 11px;
|
|
1172
|
-
color: #c0c4cc;
|
|
1169
|
+
.item-type[data-v-8babff5c] {
|
|
1170
|
+
font-size: 11px;
|
|
1171
|
+
color: #c0c4cc;
|
|
1173
1172
|
margin-top: 2px;
|
|
1174
1173
|
}
|
|
1175
|
-
.item-confidence[data-v-
|
|
1176
|
-
font-size: 12px;
|
|
1177
|
-
color: #67c23a;
|
|
1178
|
-
margin-left: 8px;
|
|
1174
|
+
.item-confidence[data-v-8babff5c] {
|
|
1175
|
+
font-size: 12px;
|
|
1176
|
+
color: #67c23a;
|
|
1177
|
+
margin-left: 8px;
|
|
1179
1178
|
flex-shrink: 0;
|
|
1180
1179
|
}
|
|
1181
|
-
.no-results[data-v-
|
|
1182
|
-
display: flex;
|
|
1183
|
-
align-items: center;
|
|
1184
|
-
justify-content: center;
|
|
1185
|
-
padding: 24px 16px;
|
|
1186
|
-
color: #909399;
|
|
1180
|
+
.no-results[data-v-8babff5c] {
|
|
1181
|
+
display: flex;
|
|
1182
|
+
align-items: center;
|
|
1183
|
+
justify-content: center;
|
|
1184
|
+
padding: 24px 16px;
|
|
1185
|
+
color: #909399;
|
|
1187
1186
|
font-size: 14px;
|
|
1188
1187
|
}
|
|
1189
|
-
.no-results .el-icon[data-v-
|
|
1190
|
-
margin-right: 8px;
|
|
1188
|
+
.no-results .el-icon[data-v-8babff5c] {
|
|
1189
|
+
margin-right: 8px;
|
|
1191
1190
|
font-size: 16px;
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1194
1193
|
/* 响应式设计 */
|
|
1195
1194
|
@media (max-width: 768px) {
|
|
1196
|
-
.map-search-container[data-v-
|
|
1197
|
-
min-width: 280px;
|
|
1195
|
+
.map-search-container[data-v-8babff5c] {
|
|
1196
|
+
min-width: 280px;
|
|
1198
1197
|
max-width: calc(100vw - 20px);
|
|
1199
1198
|
}
|
|
1200
|
-
.position-top-left[data-v-
|
|
1201
|
-
.position-top-right[data-v-
|
|
1199
|
+
.position-top-left[data-v-8babff5c],
|
|
1200
|
+
.position-top-right[data-v-8babff5c] {
|
|
1202
1201
|
top: 5px;
|
|
1203
1202
|
}
|
|
1204
|
-
.position-top-left[data-v-
|
|
1205
|
-
.position-bottom-left[data-v-
|
|
1203
|
+
.position-top-left[data-v-8babff5c],
|
|
1204
|
+
.position-bottom-left[data-v-8babff5c] {
|
|
1206
1205
|
left: 5px;
|
|
1207
1206
|
}
|
|
1208
|
-
.position-top-right[data-v-
|
|
1209
|
-
.position-bottom-right[data-v-
|
|
1207
|
+
.position-top-right[data-v-8babff5c],
|
|
1208
|
+
.position-bottom-right[data-v-8babff5c] {
|
|
1210
1209
|
right: 5px;
|
|
1211
1210
|
}
|
|
1212
|
-
.position-bottom-left[data-v-
|
|
1213
|
-
.position-bottom-right[data-v-
|
|
1211
|
+
.position-bottom-left[data-v-8babff5c],
|
|
1212
|
+
.position-bottom-right[data-v-8babff5c] {
|
|
1214
1213
|
bottom: 5px;
|
|
1215
1214
|
}
|
|
1216
|
-
}
|
|
1217
|
-
.control-group[data-v-45410a30] {
|
|
1215
|
+
}.control-group[data-v-45410a30] {
|
|
1218
1216
|
display: flex;
|
|
1219
1217
|
align-items: center;
|
|
1220
1218
|
gap: 6px;
|