vue-openlayers-plugin 1.0.84 → 1.0.85
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/{BasemapPanel-1145a7ed.mjs → BasemapPanel-3f78db9f.mjs} +1 -1
- package/lib/{CoordinateLocationDialog-be972ee5.mjs → CoordinateLocationDialog-d265fbae.mjs} +1 -1
- package/lib/{FilterPanel-9d55d20c.mjs → FilterPanel-136dc7d8.mjs} +1 -1
- package/lib/{MapPrintDialog-3d0a2891.mjs → LayerPanel-58997ef0.mjs} +1 -1
- package/lib/{LayerPanel-0272f4a3.mjs → MapPrintDialog-6ed0e095.mjs} +1 -1
- package/lib/{MeasurementDialog-37a0bbb3.mjs → MeasurementDialog-b86c21c6.mjs} +1 -1
- package/lib/{MyMarkersDialog-61d5c30d.mjs → MyMarkersDialog-fbbd0aeb.mjs} +2 -2
- package/lib/{ViewBookmarksDialog-107a29d1.mjs → ViewBookmarksDialog-94010687.mjs} +2 -2
- package/lib/{index-91e9a4e6.mjs → index-14efa785.mjs} +1 -1
- package/lib/{index-6f94a7fa.mjs → index-5a13e877.mjs} +85 -82
- package/lib/{index-3d1e1ad0.mjs → index-5b1583d0.mjs} +1 -1
- package/lib/{index.es-03fbdea2.mjs → index.es-0c397170.mjs} +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.umd.js +75 -72
- package/package.json +5 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, ref, watch, onMounted, onUnmounted, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString } from "vue";
|
|
2
|
-
import { l as layerEventBus } from "./index-
|
|
2
|
+
import { l as layerEventBus } from "./index-5a13e877.mjs";
|
|
3
3
|
import "ol";
|
|
4
4
|
const _hoisted_1 = { class: "basemap-content" };
|
|
5
5
|
const _hoisted_2 = { class: "basemap-grid" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, ref, reactive, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { T as TooltipHelper } from "./index-
|
|
2
|
+
import { T as TooltipHelper } from "./index-5a13e877.mjs";
|
|
3
3
|
import "ol";
|
|
4
4
|
const _hoisted_1 = { class: "coordinate-content" };
|
|
5
5
|
const _hoisted_2 = { class: "format-selection" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeClass } from "vue";
|
|
2
|
-
import { f as formatMeasurementResult, g as getUnitByType, d as _export_sfc } from "./index-
|
|
2
|
+
import { f as formatMeasurementResult, g as getUnitByType, d as _export_sfc } from "./index-5a13e877.mjs";
|
|
3
3
|
import "ol";
|
|
4
4
|
const getIconPath = (name) => {
|
|
5
5
|
return `/icons/${name}.svg`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, ref, reactive, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, unref, normalizeClass, createTextVNode, toDisplayString, renderList, createBlock, withModifiers } from "vue";
|
|
2
|
-
import { i as plus_default, j as folder_opened_default, k as download_default, m as delete_default, s as search_default, n as location_filled_default, o as edit_default, M as MarkerDrawingAdapter, t as toLonLat } from "./index-
|
|
3
|
-
import { E as ElMessageBox } from "./index-
|
|
2
|
+
import { i as plus_default, j as folder_opened_default, k as download_default, m as delete_default, s as search_default, n as location_filled_default, o as edit_default, M as MarkerDrawingAdapter, t as toLonLat } from "./index-5a13e877.mjs";
|
|
3
|
+
import { E as ElMessageBox } from "./index-14efa785.mjs";
|
|
4
4
|
import "ol";
|
|
5
5
|
const _hoisted_1 = { class: "markers-content" };
|
|
6
6
|
const _hoisted_2 = { class: "toolbar" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, reactive, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref, createElementBlock, Fragment, renderList, withModifiers, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { i as plus_default, j as folder_opened_default, k as download_default, m as delete_default, s as search_default, q as camera_default, v as view_default, o as edit_default, u as location_default, z as zoom_in_default } from "./index-
|
|
3
|
-
import { E as ElMessageBox } from "./index-
|
|
2
|
+
import { i as plus_default, j as folder_opened_default, k as download_default, m as delete_default, s as search_default, q as camera_default, v as view_default, o as edit_default, u as location_default, z as zoom_in_default } from "./index-5a13e877.mjs";
|
|
3
|
+
import { E as ElMessageBox } from "./index-14efa785.mjs";
|
|
4
4
|
import "ol";
|
|
5
5
|
const _hoisted_1 = { class: "bookmarks-content" };
|
|
6
6
|
const _hoisted_2 = { class: "toolbar" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { nextTick, defineComponent, computed, ref, reactive, markRaw, watch, onMounted, onBeforeUnmount, toRefs, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createVNode, createElementVNode, normalizeClass, normalizeStyle, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, withKeys, renderSlot, vShow, createTextVNode, isVNode, render } from "vue";
|
|
2
|
-
import { w as componentSizes, x as obtainAllFocusableElements, y as getEventCode, E as EVENT_CODE, A as ElButton, B as ElFocusTrap, C as ElInput, D as ElOverlay, F as ElIcon, G as TypeComponents, H as useGlobalComponentSettings, I as loading_default, J as TypeComponentsMap, K as useId, L as useDraggable, N as isFunction, O as isString, P as useLockscreen, Q as _export_sfc, S as useSameTarget, U as isClient, V as hasOwn, W as isObject, X as isUndefined, Y as isElement, Z as debugWarn } from "./index-
|
|
2
|
+
import { w as componentSizes, x as obtainAllFocusableElements, y as getEventCode, E as EVENT_CODE, A as ElButton, B as ElFocusTrap, C as ElInput, D as ElOverlay, F as ElIcon, G as TypeComponents, H as useGlobalComponentSettings, I as loading_default, J as TypeComponentsMap, K as useId, L as useDraggable, N as isFunction, O as isString, P as useLockscreen, Q as _export_sfc, S as useSameTarget, U as isClient, V as hasOwn, W as isObject, X as isUndefined, Y as isElement, Z as debugWarn } from "./index-5a13e877.mjs";
|
|
3
3
|
const isValidComponentSize = (val) => ["", ...componentSizes].includes(val);
|
|
4
4
|
const FOCUSABLE_CHILDREN = "_trap-focus-children";
|
|
5
5
|
const FOCUS_STACK = [];
|
|
@@ -468745,16 +468745,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
468745
468745
|
}
|
|
468746
468746
|
});
|
|
468747
468747
|
const defaultComponents = {
|
|
468748
|
-
"measurement": () => import("./MeasurementDialog-
|
|
468749
|
-
"basemap": () => import("./BasemapPanel-
|
|
468750
|
-
"print": () => import("./MapPrintDialog-
|
|
468751
|
-
"layer-panel": () => import("./LayerPanel-
|
|
468752
|
-
"coordinate": () => import("./CoordinateLocationDialog-
|
|
468748
|
+
"measurement": () => import("./MeasurementDialog-b86c21c6.mjs"),
|
|
468749
|
+
"basemap": () => import("./BasemapPanel-3f78db9f.mjs"),
|
|
468750
|
+
"print": () => import("./MapPrintDialog-6ed0e095.mjs"),
|
|
468751
|
+
"layer-panel": () => import("./LayerPanel-58997ef0.mjs"),
|
|
468752
|
+
"coordinate": () => import("./CoordinateLocationDialog-d265fbae.mjs"),
|
|
468753
468753
|
"region-navigation": () => import("./RegionNavigationDialog-0808549f.mjs"),
|
|
468754
|
-
"my-markers": () => import("./MyMarkersDialog-
|
|
468755
|
-
"view-bookmarks": () => import("./ViewBookmarksDialog-
|
|
468756
|
-
"map-drawing": () => import("./index-
|
|
468757
|
-
"filter-panel": () => import("./FilterPanel-
|
|
468754
|
+
"my-markers": () => import("./MyMarkersDialog-fbbd0aeb.mjs"),
|
|
468755
|
+
"view-bookmarks": () => import("./ViewBookmarksDialog-94010687.mjs"),
|
|
468756
|
+
"map-drawing": () => import("./index-5b1583d0.mjs"),
|
|
468757
|
+
"filter-panel": () => import("./FilterPanel-136dc7d8.mjs")
|
|
468758
468758
|
};
|
|
468759
468759
|
const _DialogRegistry = class _DialogRegistry {
|
|
468760
468760
|
constructor() {
|
|
@@ -472966,8 +472966,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
472966
472966
|
var ae$1 = /* @__PURE__ */ defineComponent({
|
|
472967
472967
|
name: "Close",
|
|
472968
472968
|
__name: "close",
|
|
472969
|
-
setup(
|
|
472970
|
-
return (
|
|
472969
|
+
setup(a3) {
|
|
472970
|
+
return (E4, r2) => (openBlock(), createElementBlock("svg", {
|
|
472971
472971
|
xmlns: "http://www.w3.org/2000/svg",
|
|
472972
472972
|
viewBox: "0 0 1024 1024"
|
|
472973
472973
|
}, [
|
|
@@ -472982,8 +472982,8 @@ var re$1 = ae$1;
|
|
|
472982
472982
|
var ce$1 = /* @__PURE__ */ defineComponent({
|
|
472983
472983
|
name: "FullScreen",
|
|
472984
472984
|
__name: "full-screen",
|
|
472985
|
-
setup(
|
|
472986
|
-
return (
|
|
472985
|
+
setup(a3) {
|
|
472986
|
+
return (E4, r2) => (openBlock(), createElementBlock("svg", {
|
|
472987
472987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
472988
472988
|
viewBox: "0 0 1024 1024"
|
|
472989
472989
|
}, [
|
|
@@ -473015,12 +473015,14 @@ const N$1 = /* @__PURE__ */ defineComponent({
|
|
|
473015
473015
|
minWidth: { default: 200 },
|
|
473016
473016
|
minHeight: { default: 150 },
|
|
473017
473017
|
draggable: { type: Boolean, default: true },
|
|
473018
|
-
showFullscreen: { type: Boolean, default: true }
|
|
473018
|
+
showFullscreen: { type: Boolean, default: true },
|
|
473019
|
+
modalPenetrable: { type: Boolean, default: true },
|
|
473020
|
+
closeOnClickModal: { type: Boolean, default: false }
|
|
473019
473021
|
},
|
|
473020
|
-
setup(
|
|
473021
|
-
const
|
|
473022
|
-
const
|
|
473023
|
-
return
|
|
473022
|
+
setup(a3, { expose: E4 }) {
|
|
473023
|
+
const r2 = a3, A5 = computed(() => r2.showFullscreen !== false), p5 = ref(), V2 = useAttrs$1(), O2 = useSlots(), c2 = ref(false), X2 = computed(() => {
|
|
473024
|
+
const l2 = V2.modal;
|
|
473025
|
+
return l2 !== void 0 ? l2 === "" ? true : l2 === "false" ? false : l2 === "true" ? true : !!l2 : !r2.modalPenetrable;
|
|
473024
473026
|
}), i = {
|
|
473025
473027
|
width: "",
|
|
473026
473028
|
height: "",
|
|
@@ -473029,101 +473031,102 @@ const N$1 = /* @__PURE__ */ defineComponent({
|
|
|
473029
473031
|
transform: "",
|
|
473030
473032
|
marginTop: "",
|
|
473031
473033
|
marginBottom: ""
|
|
473032
|
-
},
|
|
473033
|
-
|
|
473034
|
+
}, L2 = () => {
|
|
473035
|
+
c2.value ? (c2.value = false, nextTick(() => {
|
|
473034
473036
|
e8 && (e8.style.width = i.width, e8.style.height = i.height, e8.style.left = i.left, e8.style.top = i.top, e8.style.transform = i.transform, e8.style.marginTop = i.marginTop, e8.style.marginBottom = i.marginBottom);
|
|
473035
|
-
})) : (e8 && (i.width = e8.style.width, i.height = e8.style.height, i.left = e8.style.left, i.top = e8.style.top, i.transform = e8.style.transform, i.marginTop = e8.style.marginTop, i.marginBottom = e8.style.marginBottom, e8.style.width = "", e8.style.height = "", e8.style.transform = "", e8.style.left = "", e8.style.top = "", e8.style.marginTop = "", e8.style.marginBottom = ""),
|
|
473036
|
-
|
|
473037
|
+
})) : (e8 && (i.width = e8.style.width, i.height = e8.style.height, i.left = e8.style.left, i.top = e8.style.top, i.transform = e8.style.transform, i.marginTop = e8.style.marginTop, i.marginBottom = e8.style.marginBottom, e8.style.width = "", e8.style.height = "", e8.style.transform = "", e8.style.left = "", e8.style.top = "", e8.style.marginTop = "", e8.style.marginBottom = ""), c2.value = true), nextTick(() => {
|
|
473038
|
+
M5();
|
|
473037
473039
|
});
|
|
473038
473040
|
};
|
|
473039
|
-
|
|
473041
|
+
E4({
|
|
473040
473042
|
dialogRef: p5,
|
|
473041
|
-
toggleFullscreen:
|
|
473042
|
-
isFullscreen:
|
|
473043
|
+
toggleFullscreen: L2,
|
|
473044
|
+
isFullscreen: c2
|
|
473043
473045
|
});
|
|
473044
|
-
let
|
|
473045
|
-
const
|
|
473046
|
-
var
|
|
473047
|
-
if (
|
|
473046
|
+
let $2 = 0, H4 = 0, x2 = 0, B3 = 0, g2 = 0, y2 = 0, u2 = "", e8 = null;
|
|
473047
|
+
const Y2 = ["n", "e", "s", "w", "ne", "nw", "se", "sw"], M5 = () => {
|
|
473048
|
+
var s2;
|
|
473049
|
+
if (r2.resizable === false || c2.value) {
|
|
473048
473050
|
e8 && e8.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "none");
|
|
473049
473051
|
return;
|
|
473050
473052
|
}
|
|
473051
473053
|
if (e8 && e8.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "block"), !p5.value)
|
|
473052
473054
|
return;
|
|
473053
|
-
const
|
|
473054
|
-
!
|
|
473055
|
+
const l2 = ((s2 = p5.value.dialogContentRef) == null ? void 0 : s2.$el) || p5.value.$el;
|
|
473056
|
+
!l2 || (e8 = l2.querySelector(".el-dialog") || l2, (!e8 || !e8.classList.contains("el-dialog")) && (l2.classList.contains("el-dialog") ? e8 = l2 : e8 = document.querySelector(".el-dialog")), !e8) || (getComputedStyle(e8).position === "static" && (e8.style.position = "relative"), e8.querySelector(".resize-handle")) || Y2.forEach((t3) => {
|
|
473055
473057
|
const n2 = document.createElement("div");
|
|
473056
|
-
n2.className = `resize-handle resize-handle-${t3}`, n2.dataset.dir = t3, Object.assign(n2.style,
|
|
473058
|
+
n2.className = `resize-handle resize-handle-${t3}`, n2.dataset.dir = t3, Object.assign(n2.style, j2(t3)), n2.addEventListener("mousedown", (d2) => U2(d2, t3)), e8.appendChild(n2);
|
|
473057
473059
|
});
|
|
473058
|
-
},
|
|
473059
|
-
const o2 = "10px",
|
|
473060
|
+
}, j2 = (l2) => {
|
|
473061
|
+
const o2 = "10px", s2 = "-5px", t3 = {
|
|
473060
473062
|
position: "absolute",
|
|
473061
473063
|
zIndex: "100",
|
|
473062
|
-
width: ["n", "s"].includes(
|
|
473063
|
-
height: ["e", "w"].includes(
|
|
473064
|
-
cursor: `${
|
|
473064
|
+
width: ["n", "s"].includes(l2) ? "100%" : o2,
|
|
473065
|
+
height: ["e", "w"].includes(l2) ? "100%" : o2,
|
|
473066
|
+
cursor: `${l2}-resize`
|
|
473065
473067
|
};
|
|
473066
|
-
return
|
|
473067
|
-
}, U2 = (
|
|
473068
|
-
if (
|
|
473068
|
+
return l2.includes("n") && (t3.top = s2), l2.includes("s") && (t3.bottom = s2), l2.includes("w") && (t3.left = s2), l2.includes("e") && (t3.right = s2), l2 === "ne" && (t3.top = s2, t3.right = s2, t3.width = o2, t3.height = o2, t3.cursor = "ne-resize"), l2 === "nw" && (t3.top = s2, t3.left = s2, t3.width = o2, t3.height = o2, t3.cursor = "nw-resize"), l2 === "se" && (t3.bottom = s2, t3.right = s2, t3.width = o2, t3.height = o2, t3.cursor = "se-resize"), l2 === "sw" && (t3.bottom = s2, t3.left = s2, t3.width = o2, t3.height = o2, t3.cursor = "sw-resize"), t3;
|
|
473069
|
+
}, U2 = (l2, o2) => {
|
|
473070
|
+
if (l2.preventDefault(), l2.stopPropagation(), !e8)
|
|
473069
473071
|
return;
|
|
473070
|
-
|
|
473071
|
-
const
|
|
473072
|
-
x2 = parseInt(
|
|
473072
|
+
u2 = o2, $2 = l2.clientX, H4 = l2.clientY;
|
|
473073
|
+
const s2 = window.getComputedStyle(e8);
|
|
473074
|
+
x2 = parseInt(s2.width), B3 = parseInt(s2.height), g2 = parseInt(s2.left) || 0, y2 = parseInt(s2.top) || 0;
|
|
473073
473075
|
const t3 = e8.getBoundingClientRect();
|
|
473074
|
-
if (
|
|
473075
|
-
const n2 = e8.offsetParent,
|
|
473076
|
+
if (s2.position !== "absolute" && s2.position !== "fixed") {
|
|
473077
|
+
const n2 = e8.offsetParent, d2 = n2 ? n2.getBoundingClientRect() : { left: 0, top: 0 }, v5 = t3.left - d2.left, w2 = t3.top - d2.top;
|
|
473076
473078
|
e8.style.position = "absolute", e8.style.margin = "0", e8.style.left = `${v5}px`, e8.style.top = `${w2}px`, g2 = v5, y2 = w2;
|
|
473077
473079
|
} else
|
|
473078
|
-
g2 = parseInt(
|
|
473079
|
-
document.addEventListener("mousemove",
|
|
473080
|
-
},
|
|
473080
|
+
g2 = parseInt(s2.left), y2 = parseInt(s2.top);
|
|
473081
|
+
document.addEventListener("mousemove", P6), document.addEventListener("mouseup", R2);
|
|
473082
|
+
}, P6 = (l2) => {
|
|
473081
473083
|
if (!e8)
|
|
473082
473084
|
return;
|
|
473083
|
-
const o2 =
|
|
473084
|
-
let t3 = x2, n2 = B3,
|
|
473085
|
-
const w2 =
|
|
473086
|
-
if (
|
|
473085
|
+
const o2 = l2.clientX - $2, s2 = l2.clientY - H4;
|
|
473086
|
+
let t3 = x2, n2 = B3, d2 = g2, v5 = y2;
|
|
473087
|
+
const w2 = r2.minWidth || 200, T2 = r2.minHeight || 150;
|
|
473088
|
+
if (u2.includes("e") && (t3 = Math.max(w2, x2 + o2)), u2.includes("s") && (n2 = Math.max(T2, B3 + s2)), u2.includes("w")) {
|
|
473087
473089
|
const _2 = x2 - o2;
|
|
473088
|
-
_2 >= w2 && (t3 = _2,
|
|
473090
|
+
_2 >= w2 && (t3 = _2, d2 = g2 + o2);
|
|
473089
473091
|
}
|
|
473090
|
-
if (
|
|
473091
|
-
const _2 = B3 -
|
|
473092
|
-
_2 >= T2 && (n2 = _2, v5 = y2 +
|
|
473092
|
+
if (u2.includes("n")) {
|
|
473093
|
+
const _2 = B3 - s2;
|
|
473094
|
+
_2 >= T2 && (n2 = _2, v5 = y2 + s2);
|
|
473093
473095
|
}
|
|
473094
|
-
e8.style.width = `${t3}px`, e8.style.height = `${n2}px`, (
|
|
473095
|
-
},
|
|
473096
|
-
document.removeEventListener("mousemove",
|
|
473096
|
+
e8.style.width = `${t3}px`, e8.style.height = `${n2}px`, (u2.includes("w") || u2.includes("n")) && (e8.style.left = `${d2}px`, e8.style.top = `${v5}px`);
|
|
473097
|
+
}, R2 = () => {
|
|
473098
|
+
document.removeEventListener("mousemove", P6), document.removeEventListener("mouseup", R2);
|
|
473097
473099
|
};
|
|
473098
|
-
return watch(() =>
|
|
473099
|
-
|
|
473100
|
-
|
|
473100
|
+
return watch(() => V2.modelValue, (l2) => {
|
|
473101
|
+
l2 && nextTick(() => {
|
|
473102
|
+
M5();
|
|
473101
473103
|
});
|
|
473102
|
-
}), (
|
|
473104
|
+
}), (l2, o2) => (openBlock(), createBlock(unref(ElDialog), mergeProps({
|
|
473103
473105
|
ref_key: "dialogRef",
|
|
473104
473106
|
ref: p5,
|
|
473105
473107
|
class: "e-plus-resize-dialog"
|
|
473106
|
-
},
|
|
473107
|
-
modal:
|
|
473108
|
-
|
|
473109
|
-
|
|
473108
|
+
}, l2.$attrs, {
|
|
473109
|
+
modal: X2.value,
|
|
473110
|
+
"close-on-click-modal": a3.closeOnClickModal,
|
|
473111
|
+
draggable: a3.draggable,
|
|
473112
|
+
fullscreen: c2.value,
|
|
473110
473113
|
"show-close": false
|
|
473111
473114
|
}), createSlots({
|
|
473112
|
-
header: withCtx(({ close:
|
|
473115
|
+
header: withCtx(({ close: s2, titleId: t3, titleClass: n2 }) => [
|
|
473113
473116
|
createElementVNode("div", de$1, [
|
|
473114
473117
|
createElementVNode("span", {
|
|
473115
473118
|
id: t3,
|
|
473116
473119
|
class: normalizeClass(n2)
|
|
473117
|
-
}, toDisplayString(
|
|
473120
|
+
}, toDisplayString(l2.$attrs.title), 11, fe$1),
|
|
473118
473121
|
createElementVNode("div", he$1, [
|
|
473119
473122
|
A5.value ? (openBlock(), createElementBlock("div", {
|
|
473120
473123
|
key: 0,
|
|
473121
473124
|
class: "custom-header-btn",
|
|
473122
|
-
onClick:
|
|
473125
|
+
onClick: L2
|
|
473123
473126
|
}, [
|
|
473124
473127
|
createVNode$1(unref(ElIcon), { size: "18" }, {
|
|
473125
473128
|
default: withCtx(() => [
|
|
473126
|
-
|
|
473129
|
+
c2.value ? (openBlock(), createElementBlock("svg", me$1, [...o2[0] || (o2[0] = [
|
|
473127
473130
|
createElementVNode("path", {
|
|
473128
473131
|
d: "M222.392033 1024V801.607967H0v-60.262562h282.654595v282.654595z m521.502942 0V741.345405H1025.622454v60.262562H804.041648v222.392033z m-743.431417-741.693074v-60.262562h222.392033V0.463558h60.262562v281.843368z m743.431417 0V0.463558h60.262562v221.580806H1025.622454v60.262562z",
|
|
473129
473132
|
fill: "currentColor"
|
|
@@ -473133,10 +473136,10 @@ const N$1 = /* @__PURE__ */ defineComponent({
|
|
|
473133
473136
|
_: 1
|
|
473134
473137
|
})
|
|
473135
473138
|
])) : createCommentVNode("", true),
|
|
473136
|
-
|
|
473139
|
+
l2.$attrs["show-close"] !== false ? (openBlock(), createElementBlock("div", {
|
|
473137
473140
|
key: 1,
|
|
473138
473141
|
class: "custom-header-btn",
|
|
473139
|
-
onClick:
|
|
473142
|
+
onClick: s2
|
|
473140
473143
|
}, [
|
|
473141
473144
|
createVNode$1(unref(ElIcon), { size: "20" }, {
|
|
473142
473145
|
default: withCtx(() => [
|
|
@@ -473150,17 +473153,17 @@ const N$1 = /* @__PURE__ */ defineComponent({
|
|
|
473150
473153
|
]),
|
|
473151
473154
|
_: 2
|
|
473152
473155
|
}, [
|
|
473153
|
-
renderList(unref(
|
|
473156
|
+
renderList(unref(O2), (s2, t3) => ({
|
|
473154
473157
|
name: t3,
|
|
473155
473158
|
fn: withCtx((n2) => [
|
|
473156
|
-
renderSlot(
|
|
473159
|
+
renderSlot(l2.$slots, t3, normalizeProps(guardReactiveProps(n2 || {})))
|
|
473157
473160
|
])
|
|
473158
473161
|
}))
|
|
473159
|
-
]), 1040, ["modal", "draggable", "fullscreen"]));
|
|
473162
|
+
]), 1040, ["modal", "close-on-click-modal", "draggable", "fullscreen"]));
|
|
473160
473163
|
}
|
|
473161
473164
|
});
|
|
473162
|
-
N$1.install = (
|
|
473163
|
-
|
|
473165
|
+
N$1.install = (a3) => {
|
|
473166
|
+
a3.component("EPlusResizeDialog", N$1);
|
|
473164
473167
|
};
|
|
473165
473168
|
const _hoisted_1$6 = { class: "flex-1 overflow-y-auto p-4" };
|
|
473166
473169
|
const _hoisted_2$5 = { class: "pb-2 flex items-center justify-between" };
|
|
@@ -473207,7 +473210,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
473207
473210
|
resizable: ui2.resizable ?? true,
|
|
473208
473211
|
showClose: ui2.showClose ?? true,
|
|
473209
473212
|
showFullscreen: ui2.showFullscreen ?? true,
|
|
473210
|
-
closeOnClickModal: ui2.closeOnClickModal ??
|
|
473213
|
+
closeOnClickModal: ui2.closeOnClickModal ?? false,
|
|
473211
473214
|
closeOnPressEscape: ui2.closeOnPressEscape ?? true,
|
|
473212
473215
|
destroyOnClose: ui2.destroyOnClose ?? false,
|
|
473213
473216
|
lockScroll: ui2.lockScroll ?? true,
|
|
@@ -475883,7 +475886,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
475883
475886
|
resizable: lpControls.resizable ?? true,
|
|
475884
475887
|
showClose: lpControls.showClose ?? true,
|
|
475885
475888
|
showFullscreen: lpControls.showFullscreen ?? true,
|
|
475886
|
-
closeOnClickModal: lpControls.closeOnClickModal ??
|
|
475889
|
+
closeOnClickModal: lpControls.closeOnClickModal ?? false,
|
|
475887
475890
|
closeOnPressEscape: lpControls.closeOnPressEscape ?? true,
|
|
475888
475891
|
fullscreen: lpControls.fullscreen ?? false,
|
|
475889
475892
|
destroyOnClose: lpControls.destroyOnClose ?? false,
|
|
@@ -477314,7 +477317,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
477314
477317
|
right: {},
|
|
477315
477318
|
bottom: {},
|
|
477316
477319
|
modal: { type: Boolean, default: true },
|
|
477317
|
-
closeOnClickModal: { type: Boolean, default:
|
|
477320
|
+
closeOnClickModal: { type: Boolean, default: false },
|
|
477318
477321
|
closeOnPressEscape: { type: Boolean, default: true },
|
|
477319
477322
|
showClose: { type: Boolean, default: true },
|
|
477320
477323
|
showFullscreen: { type: Boolean, default: true },
|
|
@@ -488771,7 +488774,7 @@ function(t3) {
|
|
|
488771
488774
|
*/
|
|
488772
488775
|
function(t3) {
|
|
488773
488776
|
function e8() {
|
|
488774
|
-
return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-
|
|
488777
|
+
return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-0c397170.mjs")).catch(function(t4) {
|
|
488775
488778
|
return Promise.reject(new Error("Could not load canvg: " + t4));
|
|
488776
488779
|
}).then(function(t4) {
|
|
488777
488780
|
return t4.default ? t4.default : t4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject, computed, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, unref, createTextVNode, createCommentVNode, createBlock } from "vue";
|
|
2
|
-
import { d as _export_sfc, $ as DrawingManager, a0 as close_default } from "./index-
|
|
2
|
+
import { d as _export_sfc, $ as DrawingManager, a0 as close_default } from "./index-5a13e877.mjs";
|
|
3
3
|
import "ol";
|
|
4
4
|
const icons = {
|
|
5
5
|
pointMarker: "/icons/point.png",
|
|
@@ -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-5a13e877.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 { aw, ak, aa, a2, an, $, aT, as, av, aY, aX, aD, aE, aP, aQ, ah, aF, aG, aW, aU, aj, ai, aR, aS, aN, aO, aL, aM, aJ, aK, a9, a5, a4, a8, a2 as a22, a3, a6, a7, ax, ay, aB, aC, aH, aI, aZ, ab, az, aA, af, au, al, ao, ar, ad, f, ag, at, ap, g, am, aV, ac, aq, l, ae } from "./index-
|
|
1
|
+
import { aw, ak, aa, a2, an, $, aT, as, av, aY, aX, aD, aE, aP, aQ, ah, aF, aG, aW, aU, aj, ai, aR, aS, aN, aO, aL, aM, aJ, aK, a9, a5, a4, a8, a2 as a22, a3, a6, a7, ax, ay, aB, aC, aH, aI, aZ, ab, az, aA, af, au, al, ao, ar, ad, f, ag, at, ap, g, am, aV, ac, aq, l, ae } from "./index-5a13e877.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "ol";
|
|
4
4
|
export {
|
package/lib/index.umd.js
CHANGED
|
@@ -474510,8 +474510,8 @@ ${this.attributes_.map(
|
|
|
474510
474510
|
var ae$1 = /* @__PURE__ */ vue.defineComponent({
|
|
474511
474511
|
name: "Close",
|
|
474512
474512
|
__name: "close",
|
|
474513
|
-
setup(
|
|
474514
|
-
return (
|
|
474513
|
+
setup(a3) {
|
|
474514
|
+
return (E4, r2) => (vue.openBlock(), vue.createElementBlock("svg", {
|
|
474515
474515
|
xmlns: "http://www.w3.org/2000/svg",
|
|
474516
474516
|
viewBox: "0 0 1024 1024"
|
|
474517
474517
|
}, [
|
|
@@ -474524,8 +474524,8 @@ ${this.attributes_.map(
|
|
|
474524
474524
|
}), re$1 = ae$1, ce$1 = /* @__PURE__ */ vue.defineComponent({
|
|
474525
474525
|
name: "FullScreen",
|
|
474526
474526
|
__name: "full-screen",
|
|
474527
|
-
setup(
|
|
474528
|
-
return (
|
|
474527
|
+
setup(a3) {
|
|
474528
|
+
return (E4, r2) => (vue.openBlock(), vue.createElementBlock("svg", {
|
|
474529
474529
|
xmlns: "http://www.w3.org/2000/svg",
|
|
474530
474530
|
viewBox: "0 0 1024 1024"
|
|
474531
474531
|
}, [
|
|
@@ -474551,12 +474551,14 @@ ${this.attributes_.map(
|
|
|
474551
474551
|
minWidth: { default: 200 },
|
|
474552
474552
|
minHeight: { default: 150 },
|
|
474553
474553
|
draggable: { type: Boolean, default: true },
|
|
474554
|
-
showFullscreen: { type: Boolean, default: true }
|
|
474554
|
+
showFullscreen: { type: Boolean, default: true },
|
|
474555
|
+
modalPenetrable: { type: Boolean, default: true },
|
|
474556
|
+
closeOnClickModal: { type: Boolean, default: false }
|
|
474555
474557
|
},
|
|
474556
|
-
setup(
|
|
474557
|
-
const
|
|
474558
|
-
const
|
|
474559
|
-
return
|
|
474558
|
+
setup(a3, { expose: E4 }) {
|
|
474559
|
+
const r2 = a3, A5 = vue.computed(() => r2.showFullscreen !== false), p5 = vue.ref(), V2 = vue.useAttrs(), O2 = vue.useSlots(), c2 = vue.ref(false), X2 = vue.computed(() => {
|
|
474560
|
+
const l2 = V2.modal;
|
|
474561
|
+
return l2 !== void 0 ? l2 === "" ? true : l2 === "false" ? false : l2 === "true" ? true : !!l2 : !r2.modalPenetrable;
|
|
474560
474562
|
}), i2 = {
|
|
474561
474563
|
width: "",
|
|
474562
474564
|
height: "",
|
|
@@ -474565,101 +474567,102 @@ ${this.attributes_.map(
|
|
|
474565
474567
|
transform: "",
|
|
474566
474568
|
marginTop: "",
|
|
474567
474569
|
marginBottom: ""
|
|
474568
|
-
},
|
|
474569
|
-
|
|
474570
|
+
}, L2 = () => {
|
|
474571
|
+
c2.value ? (c2.value = false, vue.nextTick(() => {
|
|
474570
474572
|
e3 && (e3.style.width = i2.width, e3.style.height = i2.height, e3.style.left = i2.left, e3.style.top = i2.top, e3.style.transform = i2.transform, e3.style.marginTop = i2.marginTop, e3.style.marginBottom = i2.marginBottom);
|
|
474571
|
-
})) : (e3 && (i2.width = e3.style.width, i2.height = e3.style.height, i2.left = e3.style.left, i2.top = e3.style.top, i2.transform = e3.style.transform, i2.marginTop = e3.style.marginTop, i2.marginBottom = e3.style.marginBottom, e3.style.width = "", e3.style.height = "", e3.style.transform = "", e3.style.left = "", e3.style.top = "", e3.style.marginTop = "", e3.style.marginBottom = ""),
|
|
474572
|
-
|
|
474573
|
+
})) : (e3 && (i2.width = e3.style.width, i2.height = e3.style.height, i2.left = e3.style.left, i2.top = e3.style.top, i2.transform = e3.style.transform, i2.marginTop = e3.style.marginTop, i2.marginBottom = e3.style.marginBottom, e3.style.width = "", e3.style.height = "", e3.style.transform = "", e3.style.left = "", e3.style.top = "", e3.style.marginTop = "", e3.style.marginBottom = ""), c2.value = true), vue.nextTick(() => {
|
|
474574
|
+
M5();
|
|
474573
474575
|
});
|
|
474574
474576
|
};
|
|
474575
|
-
|
|
474577
|
+
E4({
|
|
474576
474578
|
dialogRef: p5,
|
|
474577
|
-
toggleFullscreen:
|
|
474578
|
-
isFullscreen:
|
|
474579
|
+
toggleFullscreen: L2,
|
|
474580
|
+
isFullscreen: c2
|
|
474579
474581
|
});
|
|
474580
|
-
let
|
|
474581
|
-
const
|
|
474582
|
-
var
|
|
474583
|
-
if (
|
|
474582
|
+
let $2 = 0, H4 = 0, x2 = 0, B3 = 0, g2 = 0, y2 = 0, u2 = "", e3 = null;
|
|
474583
|
+
const Y2 = ["n", "e", "s", "w", "ne", "nw", "se", "sw"], M5 = () => {
|
|
474584
|
+
var s2;
|
|
474585
|
+
if (r2.resizable === false || c2.value) {
|
|
474584
474586
|
e3 && e3.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "none");
|
|
474585
474587
|
return;
|
|
474586
474588
|
}
|
|
474587
474589
|
if (e3 && e3.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "block"), !p5.value)
|
|
474588
474590
|
return;
|
|
474589
|
-
const
|
|
474590
|
-
!
|
|
474591
|
+
const l2 = ((s2 = p5.value.dialogContentRef) == null ? void 0 : s2.$el) || p5.value.$el;
|
|
474592
|
+
!l2 || (e3 = l2.querySelector(".el-dialog") || l2, (!e3 || !e3.classList.contains("el-dialog")) && (l2.classList.contains("el-dialog") ? e3 = l2 : e3 = document.querySelector(".el-dialog")), !e3) || (getComputedStyle(e3).position === "static" && (e3.style.position = "relative"), e3.querySelector(".resize-handle")) || Y2.forEach((t2) => {
|
|
474591
474593
|
const n2 = document.createElement("div");
|
|
474592
|
-
n2.className = `resize-handle resize-handle-${t2}`, n2.dataset.dir = t2, Object.assign(n2.style,
|
|
474594
|
+
n2.className = `resize-handle resize-handle-${t2}`, n2.dataset.dir = t2, Object.assign(n2.style, j2(t2)), n2.addEventListener("mousedown", (d2) => U2(d2, t2)), e3.appendChild(n2);
|
|
474593
474595
|
});
|
|
474594
|
-
},
|
|
474595
|
-
const o2 = "10px",
|
|
474596
|
+
}, j2 = (l2) => {
|
|
474597
|
+
const o2 = "10px", s2 = "-5px", t2 = {
|
|
474596
474598
|
position: "absolute",
|
|
474597
474599
|
zIndex: "100",
|
|
474598
|
-
width: ["n", "s"].includes(
|
|
474599
|
-
height: ["e", "w"].includes(
|
|
474600
|
-
cursor: `${
|
|
474600
|
+
width: ["n", "s"].includes(l2) ? "100%" : o2,
|
|
474601
|
+
height: ["e", "w"].includes(l2) ? "100%" : o2,
|
|
474602
|
+
cursor: `${l2}-resize`
|
|
474601
474603
|
};
|
|
474602
|
-
return
|
|
474603
|
-
}, U2 = (
|
|
474604
|
-
if (
|
|
474604
|
+
return l2.includes("n") && (t2.top = s2), l2.includes("s") && (t2.bottom = s2), l2.includes("w") && (t2.left = s2), l2.includes("e") && (t2.right = s2), l2 === "ne" && (t2.top = s2, t2.right = s2, t2.width = o2, t2.height = o2, t2.cursor = "ne-resize"), l2 === "nw" && (t2.top = s2, t2.left = s2, t2.width = o2, t2.height = o2, t2.cursor = "nw-resize"), l2 === "se" && (t2.bottom = s2, t2.right = s2, t2.width = o2, t2.height = o2, t2.cursor = "se-resize"), l2 === "sw" && (t2.bottom = s2, t2.left = s2, t2.width = o2, t2.height = o2, t2.cursor = "sw-resize"), t2;
|
|
474605
|
+
}, U2 = (l2, o2) => {
|
|
474606
|
+
if (l2.preventDefault(), l2.stopPropagation(), !e3)
|
|
474605
474607
|
return;
|
|
474606
|
-
|
|
474607
|
-
const
|
|
474608
|
-
x2 = parseInt(
|
|
474608
|
+
u2 = o2, $2 = l2.clientX, H4 = l2.clientY;
|
|
474609
|
+
const s2 = window.getComputedStyle(e3);
|
|
474610
|
+
x2 = parseInt(s2.width), B3 = parseInt(s2.height), g2 = parseInt(s2.left) || 0, y2 = parseInt(s2.top) || 0;
|
|
474609
474611
|
const t2 = e3.getBoundingClientRect();
|
|
474610
|
-
if (
|
|
474611
|
-
const n2 = e3.offsetParent,
|
|
474612
|
+
if (s2.position !== "absolute" && s2.position !== "fixed") {
|
|
474613
|
+
const n2 = e3.offsetParent, d2 = n2 ? n2.getBoundingClientRect() : { left: 0, top: 0 }, v5 = t2.left - d2.left, w2 = t2.top - d2.top;
|
|
474612
474614
|
e3.style.position = "absolute", e3.style.margin = "0", e3.style.left = `${v5}px`, e3.style.top = `${w2}px`, g2 = v5, y2 = w2;
|
|
474613
474615
|
} else
|
|
474614
|
-
g2 = parseInt(
|
|
474615
|
-
document.addEventListener("mousemove",
|
|
474616
|
-
},
|
|
474616
|
+
g2 = parseInt(s2.left), y2 = parseInt(s2.top);
|
|
474617
|
+
document.addEventListener("mousemove", P6), document.addEventListener("mouseup", R2);
|
|
474618
|
+
}, P6 = (l2) => {
|
|
474617
474619
|
if (!e3)
|
|
474618
474620
|
return;
|
|
474619
|
-
const o2 =
|
|
474620
|
-
let t2 = x2, n2 = B3,
|
|
474621
|
-
const w2 =
|
|
474622
|
-
if (
|
|
474621
|
+
const o2 = l2.clientX - $2, s2 = l2.clientY - H4;
|
|
474622
|
+
let t2 = x2, n2 = B3, d2 = g2, v5 = y2;
|
|
474623
|
+
const w2 = r2.minWidth || 200, T2 = r2.minHeight || 150;
|
|
474624
|
+
if (u2.includes("e") && (t2 = Math.max(w2, x2 + o2)), u2.includes("s") && (n2 = Math.max(T2, B3 + s2)), u2.includes("w")) {
|
|
474623
474625
|
const _2 = x2 - o2;
|
|
474624
|
-
_2 >= w2 && (t2 = _2,
|
|
474626
|
+
_2 >= w2 && (t2 = _2, d2 = g2 + o2);
|
|
474625
474627
|
}
|
|
474626
|
-
if (
|
|
474627
|
-
const _2 = B3 -
|
|
474628
|
-
_2 >= T2 && (n2 = _2, v5 = y2 +
|
|
474628
|
+
if (u2.includes("n")) {
|
|
474629
|
+
const _2 = B3 - s2;
|
|
474630
|
+
_2 >= T2 && (n2 = _2, v5 = y2 + s2);
|
|
474629
474631
|
}
|
|
474630
|
-
e3.style.width = `${t2}px`, e3.style.height = `${n2}px`, (
|
|
474631
|
-
},
|
|
474632
|
-
document.removeEventListener("mousemove",
|
|
474632
|
+
e3.style.width = `${t2}px`, e3.style.height = `${n2}px`, (u2.includes("w") || u2.includes("n")) && (e3.style.left = `${d2}px`, e3.style.top = `${v5}px`);
|
|
474633
|
+
}, R2 = () => {
|
|
474634
|
+
document.removeEventListener("mousemove", P6), document.removeEventListener("mouseup", R2);
|
|
474633
474635
|
};
|
|
474634
|
-
return vue.watch(() =>
|
|
474635
|
-
|
|
474636
|
-
|
|
474636
|
+
return vue.watch(() => V2.modelValue, (l2) => {
|
|
474637
|
+
l2 && vue.nextTick(() => {
|
|
474638
|
+
M5();
|
|
474637
474639
|
});
|
|
474638
|
-
}), (
|
|
474640
|
+
}), (l2, o2) => (vue.openBlock(), vue.createBlock(vue.unref(ElDialog), vue.mergeProps({
|
|
474639
474641
|
ref_key: "dialogRef",
|
|
474640
474642
|
ref: p5,
|
|
474641
474643
|
class: "e-plus-resize-dialog"
|
|
474642
|
-
},
|
|
474643
|
-
modal:
|
|
474644
|
-
|
|
474645
|
-
|
|
474644
|
+
}, l2.$attrs, {
|
|
474645
|
+
modal: X2.value,
|
|
474646
|
+
"close-on-click-modal": a3.closeOnClickModal,
|
|
474647
|
+
draggable: a3.draggable,
|
|
474648
|
+
fullscreen: c2.value,
|
|
474646
474649
|
"show-close": false
|
|
474647
474650
|
}), vue.createSlots({
|
|
474648
|
-
header: vue.withCtx(({ close:
|
|
474651
|
+
header: vue.withCtx(({ close: s2, titleId: t2, titleClass: n2 }) => [
|
|
474649
474652
|
vue.createElementVNode("div", de$1, [
|
|
474650
474653
|
vue.createElementVNode("span", {
|
|
474651
474654
|
id: t2,
|
|
474652
474655
|
class: vue.normalizeClass(n2)
|
|
474653
|
-
}, vue.toDisplayString(
|
|
474656
|
+
}, vue.toDisplayString(l2.$attrs.title), 11, fe$1),
|
|
474654
474657
|
vue.createElementVNode("div", he$1, [
|
|
474655
474658
|
A5.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
474656
474659
|
key: 0,
|
|
474657
474660
|
class: "custom-header-btn",
|
|
474658
|
-
onClick:
|
|
474661
|
+
onClick: L2
|
|
474659
474662
|
}, [
|
|
474660
474663
|
vue.createVNode(vue.unref(ElIcon), { size: "18" }, {
|
|
474661
474664
|
default: vue.withCtx(() => [
|
|
474662
|
-
|
|
474665
|
+
c2.value ? (vue.openBlock(), vue.createElementBlock("svg", me$1, [...o2[0] || (o2[0] = [
|
|
474663
474666
|
vue.createElementVNode("path", {
|
|
474664
474667
|
d: "M222.392033 1024V801.607967H0v-60.262562h282.654595v282.654595z m521.502942 0V741.345405H1025.622454v60.262562H804.041648v222.392033z m-743.431417-741.693074v-60.262562h222.392033V0.463558h60.262562v281.843368z m743.431417 0V0.463558h60.262562v221.580806H1025.622454v60.262562z",
|
|
474665
474668
|
fill: "currentColor"
|
|
@@ -474669,10 +474672,10 @@ ${this.attributes_.map(
|
|
|
474669
474672
|
_: 1
|
|
474670
474673
|
})
|
|
474671
474674
|
])) : vue.createCommentVNode("", true),
|
|
474672
|
-
|
|
474675
|
+
l2.$attrs["show-close"] !== false ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
474673
474676
|
key: 1,
|
|
474674
474677
|
class: "custom-header-btn",
|
|
474675
|
-
onClick:
|
|
474678
|
+
onClick: s2
|
|
474676
474679
|
}, [
|
|
474677
474680
|
vue.createVNode(vue.unref(ElIcon), { size: "20" }, {
|
|
474678
474681
|
default: vue.withCtx(() => [
|
|
@@ -474686,17 +474689,17 @@ ${this.attributes_.map(
|
|
|
474686
474689
|
]),
|
|
474687
474690
|
_: 2
|
|
474688
474691
|
}, [
|
|
474689
|
-
vue.renderList(vue.unref(
|
|
474692
|
+
vue.renderList(vue.unref(O2), (s2, t2) => ({
|
|
474690
474693
|
name: t2,
|
|
474691
474694
|
fn: vue.withCtx((n2) => [
|
|
474692
|
-
vue.renderSlot(
|
|
474695
|
+
vue.renderSlot(l2.$slots, t2, vue.normalizeProps(vue.guardReactiveProps(n2 || {})))
|
|
474693
474696
|
])
|
|
474694
474697
|
}))
|
|
474695
|
-
]), 1040, ["modal", "draggable", "fullscreen"]));
|
|
474698
|
+
]), 1040, ["modal", "close-on-click-modal", "draggable", "fullscreen"]));
|
|
474696
474699
|
}
|
|
474697
474700
|
});
|
|
474698
|
-
N$1.install = (
|
|
474699
|
-
|
|
474701
|
+
N$1.install = (a3) => {
|
|
474702
|
+
a3.component("EPlusResizeDialog", N$1);
|
|
474700
474703
|
};
|
|
474701
474704
|
const style = "";
|
|
474702
474705
|
const _hoisted_1$f = { class: "flex-1 overflow-y-auto p-4" };
|
|
@@ -474744,7 +474747,7 @@ ${this.attributes_.map(
|
|
|
474744
474747
|
resizable: ui2.resizable ?? true,
|
|
474745
474748
|
showClose: ui2.showClose ?? true,
|
|
474746
474749
|
showFullscreen: ui2.showFullscreen ?? true,
|
|
474747
|
-
closeOnClickModal: ui2.closeOnClickModal ??
|
|
474750
|
+
closeOnClickModal: ui2.closeOnClickModal ?? false,
|
|
474748
474751
|
closeOnPressEscape: ui2.closeOnPressEscape ?? true,
|
|
474749
474752
|
destroyOnClose: ui2.destroyOnClose ?? false,
|
|
474750
474753
|
lockScroll: ui2.lockScroll ?? true,
|
|
@@ -477431,7 +477434,7 @@ ${this.attributes_.map(
|
|
|
477431
477434
|
resizable: lpControls.resizable ?? true,
|
|
477432
477435
|
showClose: lpControls.showClose ?? true,
|
|
477433
477436
|
showFullscreen: lpControls.showFullscreen ?? true,
|
|
477434
|
-
closeOnClickModal: lpControls.closeOnClickModal ??
|
|
477437
|
+
closeOnClickModal: lpControls.closeOnClickModal ?? false,
|
|
477435
477438
|
closeOnPressEscape: lpControls.closeOnPressEscape ?? true,
|
|
477436
477439
|
fullscreen: lpControls.fullscreen ?? false,
|
|
477437
477440
|
destroyOnClose: lpControls.destroyOnClose ?? false,
|
|
@@ -478863,7 +478866,7 @@ ${this.attributes_.map(
|
|
|
478863
478866
|
right: {},
|
|
478864
478867
|
bottom: {},
|
|
478865
478868
|
modal: { type: Boolean, default: true },
|
|
478866
|
-
closeOnClickModal: { type: Boolean, default:
|
|
478869
|
+
closeOnClickModal: { type: Boolean, default: false },
|
|
478867
478870
|
closeOnPressEscape: { type: Boolean, default: true },
|
|
478868
478871
|
showClose: { type: Boolean, default: true },
|
|
478869
478872
|
showFullscreen: { type: Boolean, default: true },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-openlayers-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.85",
|
|
4
4
|
"description": "A Vue 3 plugin for OpenLayers with custom components and utilities",
|
|
5
5
|
"main": "lib/index.umd.js",
|
|
6
6
|
"module": "lib/index.esm.js",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"author": "kaixin <1501643111@qq.com>",
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
50
51
|
"@supermapgis/iclient-ol": "^12.0.0-r",
|
|
52
|
+
"e-plus-dialog-vue3": "^1.0.11",
|
|
51
53
|
"element-plus": "^2.11.1",
|
|
52
54
|
"ol": "^10.6.1",
|
|
53
55
|
"proj4": "^2.9.2",
|
|
54
56
|
"vue": "^3.3.0"
|
|
55
57
|
},
|
|
56
58
|
"dependencies": {
|
|
57
|
-
"@element-plus/icons-vue": "^2.3.2",
|
|
58
|
-
"e-plus-dialog-vue3": "^1.0.10",
|
|
59
59
|
"gifler": "^0.1.0",
|
|
60
60
|
"html2canvas": "^1.4.1",
|
|
61
61
|
"jspdf": "^2.5.1",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"uuid": "^11.1.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
+
"@element-plus/icons-vue": "^2.3.2",
|
|
67
68
|
"@supermapgis/iclient-ol": "^12.0.0-r",
|
|
68
69
|
"@types/node": "^20.5.2",
|
|
69
70
|
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
|
@@ -72,6 +73,7 @@
|
|
|
72
73
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
73
74
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
74
75
|
"@vue/tsconfig": "^0.4.0",
|
|
76
|
+
"e-plus-dialog-vue3": "^1.0.11",
|
|
75
77
|
"element-plus": "^2.13.0",
|
|
76
78
|
"eslint": "^8.45.0",
|
|
77
79
|
"eslint-plugin-vue": "^9.17.0",
|