vue-openlayers-plugin 1.0.85 → 1.0.88

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.
@@ -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-5a13e877.mjs";
2
+ import { l as layerEventBus } from "./index-30ef3c66.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-5a13e877.mjs";
2
+ import { T as TooltipHelper } from "./index-30ef3c66.mjs";
3
3
  import "ol";
4
4
  const _hoisted_1 = { class: "coordinate-content" };
5
5
  const _hoisted_2 = { class: "format-selection" };
@@ -1,4 +1,4 @@
1
- import { a1 as _sfc_main } from "./index-5a13e877.mjs";
1
+ import { a1 as _sfc_main } from "./index-30ef3c66.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { e as _sfc_main } from "./index-5a13e877.mjs";
1
+ import { h as _sfc_main } from "./index-30ef3c66.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { h as _sfc_main } from "./index-5a13e877.mjs";
1
+ import { e as _sfc_main } from "./index-30ef3c66.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
@@ -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-5a13e877.mjs";
2
+ import { f as formatMeasurementResult, g as getUnitByType, d as _export_sfc } from "./index-30ef3c66.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-5a13e877.mjs";
3
- import { E as ElMessageBox } from "./index-14efa785.mjs";
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-30ef3c66.mjs";
3
+ import { E as ElMessageBox } from "./index-365a4c9c.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-5a13e877.mjs";
3
- import { E as ElMessageBox } from "./index-14efa785.mjs";
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-30ef3c66.mjs";
3
+ import { E as ElMessageBox } from "./index-365a4c9c.mjs";
4
4
  import "ol";
5
5
  const _hoisted_1 = { class: "bookmarks-content" };
6
6
  const _hoisted_2 = { class: "toolbar" };
@@ -110862,14 +110862,14 @@ function e$4(A5) {
110862
110862
  var g2 = y$7(A5), I2 = g2[0], C3 = g2[1];
110863
110863
  return I2 || C3 ? (C3 && (C3 = C3.substr(0, C3.length - 1)), I2 + C3) : ".";
110864
110864
  }
110865
- function N$4(A5, g2) {
110865
+ function N$3(A5, g2) {
110866
110866
  var I2 = y$7(A5)[2];
110867
110867
  return g2 && I2.substr(-1 * g2.length) === g2 && (I2 = I2.substr(0, I2.length - g2.length)), I2;
110868
110868
  }
110869
110869
  function r$2(A5) {
110870
110870
  return y$7(A5)[3];
110871
110871
  }
110872
- var Y$2 = { extname: r$2, basename: N$4, dirname: e$4, sep: "/", delimiter: ":", relative: h$3, join: K$2, isAbsolute: t$2, normalize: n$3, resolve: M$3 };
110872
+ var Y$2 = { extname: r$2, basename: N$3, dirname: e$4, sep: "/", delimiter: ":", relative: h$3, join: K$2, isAbsolute: t$2, normalize: n$3, resolve: M$3 };
110873
110873
  function H$2(A5, g2) {
110874
110874
  if (A5.filter)
110875
110875
  return A5.filter(g2);
@@ -110882,7 +110882,7 @@ var R$4 = "b" === "ab".substr(-1) ? function(A5, g2, I2) {
110882
110882
  } : function(A5, g2, I2) {
110883
110883
  return g2 < 0 && (g2 = A5.length + g2), A5.substr(g2, I2);
110884
110884
  };
110885
- var w$2 = E$4(Object.freeze({ __proto__: null, resolve: M$3, normalize: n$3, isAbsolute: t$2, join: K$2, relative: h$3, sep: "/", delimiter: ":", dirname: e$4, basename: N$4, extname: r$2, default: Y$2 }));
110885
+ var w$2 = E$4(Object.freeze({ __proto__: null, resolve: M$3, normalize: n$3, isAbsolute: t$2, join: K$2, relative: h$3, sep: "/", delimiter: ":", dirname: e$4, basename: N$3, extname: r$2, default: Y$2 }));
110886
110886
  !function(A5, g2) {
110887
110887
  var I2 = function(g3) {
110888
110888
  g3 = void 0 !== g3 ? g3 : {};
@@ -297432,9 +297432,9 @@ var j$1 = function(e8) {
297432
297432
  var x$3 = function(e8) {
297433
297433
  return this.__data__.has(e8);
297434
297434
  };
297435
- var N$3 = "object" == typeof s$2 && s$2 && s$2.Object === Object && s$2;
297435
+ var N$2 = "object" == typeof s$2 && s$2 && s$2.Object === Object && s$2;
297436
297436
  var O$2 = "object" == typeof self && self && self.Object === Object && self;
297437
- var k$1 = N$3 || O$2 || Function("return this")();
297437
+ var k$1 = N$2 || O$2 || Function("return this")();
297438
297438
  var I$1 = k$1.Symbol;
297439
297439
  var S$1 = Object.prototype;
297440
297440
  var M$2 = S$1.hasOwnProperty;
@@ -297492,8 +297492,8 @@ var W$1 = /^\[object .+?Constructor\]$/;
297492
297492
  var q$1 = Function.prototype;
297493
297493
  var Y$1 = Object.prototype;
297494
297494
  var J$1 = q$1.toString;
297495
- var X$1 = Y$1.hasOwnProperty;
297496
- var K$1 = RegExp("^" + J$1.call(X$1).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
297495
+ var X$2 = Y$1.hasOwnProperty;
297496
+ var K$1 = RegExp("^" + J$1.call(X$2).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
297497
297497
  var Q$1 = function(e8) {
297498
297498
  return !(!D$2(e8) || V$2(e8)) && (z$2(e8) ? K$1 : W$1).test(H$1(e8));
297499
297499
  };
@@ -297514,7 +297514,7 @@ var oe$1 = function(e8) {
297514
297514
  return this.size -= n2 ? 1 : 0, n2;
297515
297515
  };
297516
297516
  var ie$1 = Object.prototype.hasOwnProperty;
297517
- var ae$2 = function(e8) {
297517
+ var ae$1 = function(e8) {
297518
297518
  var n2 = this.__data__;
297519
297519
  if (te$1) {
297520
297520
  var t3 = n2[e8];
@@ -297538,7 +297538,7 @@ function de$2(e8) {
297538
297538
  this.set(r2[0], r2[1]);
297539
297539
  }
297540
297540
  }
297541
- de$2.prototype.clear = re$2, de$2.prototype.delete = oe$1, de$2.prototype.get = ae$2, de$2.prototype.has = ce$2, de$2.prototype.set = se$1;
297541
+ de$2.prototype.clear = re$2, de$2.prototype.delete = oe$1, de$2.prototype.get = ae$1, de$2.prototype.has = ce$2, de$2.prototype.set = se$1;
297542
297542
  var fe$2 = de$2;
297543
297543
  var he$2 = function() {
297544
297544
  this.size = 0, this.__data__ = { hash: new fe$2(), map: new (ne$1 || w$1)(), string: new fe$2() };
@@ -297555,7 +297555,7 @@ var pe$2 = function(e8) {
297555
297555
  var n2 = ve$1(this, e8).delete(e8);
297556
297556
  return this.size -= n2 ? 1 : 0, n2;
297557
297557
  };
297558
- var ge$1 = function(e8) {
297558
+ var ge$2 = function(e8) {
297559
297559
  return ve$1(this, e8).get(e8);
297560
297560
  };
297561
297561
  var ye$1 = function(e8) {
@@ -297572,7 +297572,7 @@ function me$2(e8) {
297572
297572
  this.set(r2[0], r2[1]);
297573
297573
  }
297574
297574
  }
297575
- me$2.prototype.clear = he$2, me$2.prototype.delete = pe$2, me$2.prototype.get = ge$1, me$2.prototype.has = ye$1, me$2.prototype.set = be$1;
297575
+ me$2.prototype.clear = he$2, me$2.prototype.delete = pe$2, me$2.prototype.get = ge$2, me$2.prototype.has = ye$1, me$2.prototype.set = be$1;
297576
297576
  var we$1 = me$2;
297577
297577
  var Ee = function(e8, n2) {
297578
297578
  var t3 = this.__data__;
@@ -297665,7 +297665,7 @@ var He = function(e8) {
297665
297665
  };
297666
297666
  };
297667
297667
  var We = d$1(function(e8, n2) {
297668
- var t3 = n2 && !n2.nodeType && n2, r2 = t3 && e8 && !e8.nodeType && e8, o2 = r2 && r2.exports === t3 && N$3.process, i = function() {
297668
+ var t3 = n2 && !n2.nodeType && n2, r2 = t3 && e8 && !e8.nodeType && e8, o2 = r2 && r2.exports === t3 && N$2.process, i = function() {
297669
297669
  try {
297670
297670
  var e9 = r2 && r2.require && r2.require("util").types;
297671
297671
  return e9 || o2 && o2.binding && o2.binding("util");
@@ -371918,7 +371918,7 @@ var f$2 = function(t3) {
371918
371918
  } else if ((3 === this.curArgs.length || 4 === this.curArgs.length) && "0" !== this.curNumber && "1" !== this.curNumber)
371919
371919
  throw new SyntaxError('Expected a flag, got "' + this.curNumber + '" at index "' + a3 + '"');
371920
371920
  }
371921
- this.curArgs.push(u2), this.curArgs.length === N$2[this.curCommandType] && (_$1.HORIZ_LINE_TO === this.curCommandType ? i({ type: _$1.HORIZ_LINE_TO, relative: this.curCommandRelative, x: u2 }) : _$1.VERT_LINE_TO === this.curCommandType ? i({ type: _$1.VERT_LINE_TO, relative: this.curCommandRelative, y: u2 }) : this.curCommandType === _$1.MOVE_TO || this.curCommandType === _$1.LINE_TO || this.curCommandType === _$1.SMOOTH_QUAD_TO ? (i({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), _$1.MOVE_TO === this.curCommandType && (this.curCommandType = _$1.LINE_TO)) : this.curCommandType === _$1.CURVE_TO ? i({ type: _$1.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === _$1.SMOOTH_CURVE_TO ? i({ type: _$1.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === _$1.QUAD_TO ? i({ type: _$1.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === _$1.ARC && i({ type: _$1.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), this.curNumber = "", this.curNumberHasExpDigits = false, this.curNumberHasExp = false, this.curNumberHasDecimal = false, this.canParseCommandOrComma = true;
371921
+ this.curArgs.push(u2), this.curArgs.length === N$1[this.curCommandType] && (_$1.HORIZ_LINE_TO === this.curCommandType ? i({ type: _$1.HORIZ_LINE_TO, relative: this.curCommandRelative, x: u2 }) : _$1.VERT_LINE_TO === this.curCommandType ? i({ type: _$1.VERT_LINE_TO, relative: this.curCommandRelative, y: u2 }) : this.curCommandType === _$1.MOVE_TO || this.curCommandType === _$1.LINE_TO || this.curCommandType === _$1.SMOOTH_QUAD_TO ? (i({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), _$1.MOVE_TO === this.curCommandType && (this.curCommandType = _$1.LINE_TO)) : this.curCommandType === _$1.CURVE_TO ? i({ type: _$1.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === _$1.SMOOTH_CURVE_TO ? i({ type: _$1.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === _$1.QUAD_TO ? i({ type: _$1.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === _$1.ARC && i({ type: _$1.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), this.curNumber = "", this.curNumberHasExpDigits = false, this.curNumberHasExp = false, this.curNumberHasDecimal = false, this.canParseCommandOrComma = true;
371922
371922
  }
371923
371923
  if (!T$2(n2))
371924
371924
  if ("," === n2 && this.canParseCommandOrComma)
@@ -372002,7 +372002,7 @@ var _$1 = function(t3) {
372002
372002
  return r2.parse(t4, e8), r2.finish(e8), e8;
372003
372003
  }, i.CLOSE_PATH = 1, i.MOVE_TO = 2, i.HORIZ_LINE_TO = 4, i.VERT_LINE_TO = 8, i.LINE_TO = 16, i.CURVE_TO = 32, i.SMOOTH_CURVE_TO = 64, i.QUAD_TO = 128, i.SMOOTH_QUAD_TO = 256, i.ARC = 512, i.LINE_COMMANDS = i.LINE_TO | i.HORIZ_LINE_TO | i.VERT_LINE_TO, i.DRAWING_COMMANDS = i.HORIZ_LINE_TO | i.VERT_LINE_TO | i.LINE_TO | i.CURVE_TO | i.SMOOTH_CURVE_TO | i.QUAD_TO | i.SMOOTH_QUAD_TO | i.ARC, i;
372004
372004
  }(l$1);
372005
- var N$2 = ((O$1 = {})[_$1.MOVE_TO] = 2, O$1[_$1.LINE_TO] = 2, O$1[_$1.HORIZ_LINE_TO] = 1, O$1[_$1.VERT_LINE_TO] = 1, O$1[_$1.CLOSE_PATH] = 0, O$1[_$1.QUAD_TO] = 4, O$1[_$1.SMOOTH_QUAD_TO] = 2, O$1[_$1.CURVE_TO] = 6, O$1[_$1.SMOOTH_CURVE_TO] = 4, O$1[_$1.ARC] = 7, O$1);
372005
+ var N$1 = ((O$1 = {})[_$1.MOVE_TO] = 2, O$1[_$1.LINE_TO] = 2, O$1[_$1.HORIZ_LINE_TO] = 1, O$1[_$1.VERT_LINE_TO] = 1, O$1[_$1.CLOSE_PATH] = 0, O$1[_$1.QUAD_TO] = 4, O$1[_$1.SMOOTH_QUAD_TO] = 2, O$1[_$1.CURVE_TO] = 6, O$1[_$1.SMOOTH_CURVE_TO] = 4, O$1[_$1.ARC] = 7, O$1);
372006
372006
  function _typeof(obj) {
372007
372007
  "@babel/helpers - typeof";
372008
372008
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
@@ -468745,16 +468745,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
468745
468745
  }
468746
468746
  });
468747
468747
  const defaultComponents = {
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"),
468748
+ "measurement": () => import("./MeasurementDialog-48a220c5.mjs"),
468749
+ "basemap": () => import("./BasemapPanel-ca055f97.mjs"),
468750
+ "print": () => import("./MapPrintDialog-cde4a9cc.mjs"),
468751
+ "layer-panel": () => import("./LayerPanel-467aaf4a.mjs"),
468752
+ "coordinate": () => import("./CoordinateLocationDialog-bcb93549.mjs"),
468753
468753
  "region-navigation": () => import("./RegionNavigationDialog-0808549f.mjs"),
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")
468754
+ "my-markers": () => import("./MyMarkersDialog-6cd29bfa.mjs"),
468755
+ "view-bookmarks": () => import("./ViewBookmarksDialog-2e388ac1.mjs"),
468756
+ "map-drawing": () => import("./index-9a7511e2.mjs"),
468757
+ "filter-panel": () => import("./FilterPanel-5493db0e.mjs")
468758
468758
  };
468759
468759
  const _DialogRegistry = class _DialogRegistry {
468760
468760
  constructor() {
@@ -472963,11 +472963,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
472963
472963
  }
472964
472964
  });
472965
472965
  /*! Element Plus Icons Vue v2.3.2 */
472966
- var ae$1 = /* @__PURE__ */ defineComponent({
472966
+ var re$1 = /* @__PURE__ */ defineComponent({
472967
472967
  name: "Close",
472968
472968
  __name: "close",
472969
- setup(a3) {
472970
- return (E4, r2) => (openBlock(), createElementBlock("svg", {
472969
+ setup(r2) {
472970
+ return (S2, c2) => (openBlock(), createElementBlock("svg", {
472971
472971
  xmlns: "http://www.w3.org/2000/svg",
472972
472972
  viewBox: "0 0 1024 1024"
472973
472973
  }, [
@@ -472978,12 +472978,12 @@ var ae$1 = /* @__PURE__ */ defineComponent({
472978
472978
  ]));
472979
472979
  }
472980
472980
  });
472981
- var re$1 = ae$1;
472982
- var ce$1 = /* @__PURE__ */ defineComponent({
472981
+ var ce$1 = re$1;
472982
+ var de$1 = /* @__PURE__ */ defineComponent({
472983
472983
  name: "FullScreen",
472984
472984
  __name: "full-screen",
472985
- setup(a3) {
472986
- return (E4, r2) => (openBlock(), createElementBlock("svg", {
472985
+ setup(r2) {
472986
+ return (S2, c2) => (openBlock(), createElementBlock("svg", {
472987
472987
  xmlns: "http://www.w3.org/2000/svg",
472988
472988
  viewBox: "0 0 1024 1024"
472989
472989
  }, [
@@ -472994,11 +472994,11 @@ var ce$1 = /* @__PURE__ */ defineComponent({
472994
472994
  ]));
472995
472995
  }
472996
472996
  });
472997
- var ue$1 = ce$1;
472998
- const de$1 = { class: "custom-dialog-header" };
472999
- const fe$1 = ["id"];
473000
- const he$1 = { class: "custom-dialog-actions" };
473001
- const me$1 = {
472997
+ var ue$1 = de$1;
472998
+ const fe$1 = { class: "custom-dialog-header" };
472999
+ const he$1 = ["id"];
473000
+ const me$1 = { class: "custom-dialog-actions" };
473001
+ const pe$1 = {
473002
473002
  key: 1,
473003
473003
  class: "icon",
473004
473004
  viewBox: "0 0 1025 1024",
@@ -473007,8 +473007,8 @@ const me$1 = {
473007
473007
  width: "1em",
473008
473008
  height: "1em"
473009
473009
  };
473010
- const pe$1 = ["onClick"];
473011
- const N$1 = /* @__PURE__ */ defineComponent({
473010
+ const ge$1 = ["onClick"];
473011
+ const X$1 = /* @__PURE__ */ defineComponent({
473012
473012
  __name: "EPlusResizeDialog",
473013
473013
  props: {
473014
473014
  resizable: { type: Boolean, default: true },
@@ -473019,11 +473019,11 @@ const N$1 = /* @__PURE__ */ defineComponent({
473019
473019
  modalPenetrable: { type: Boolean, default: true },
473020
473020
  closeOnClickModal: { type: Boolean, default: false }
473021
473021
  },
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;
473026
- }), i = {
473022
+ setup(r2, { expose: S2 }) {
473023
+ const c2 = r2, Y2 = computed(() => c2.showFullscreen !== false), i = ref(), $2 = useAttrs$1(), j2 = useSlots(), d2 = ref(false), x2 = computed(() => {
473024
+ const l2 = $2.modal;
473025
+ return l2 !== void 0 ? l2 === "" ? true : l2 === "false" ? false : l2 === "true" ? true : !!l2 : !c2.modalPenetrable;
473026
+ }), a3 = {
473027
473027
  width: "",
473028
473028
  height: "",
473029
473029
  left: "",
@@ -473031,33 +473031,33 @@ const N$1 = /* @__PURE__ */ defineComponent({
473031
473031
  transform: "",
473032
473032
  marginTop: "",
473033
473033
  marginBottom: ""
473034
- }, L2 = () => {
473035
- c2.value ? (c2.value = false, nextTick(() => {
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);
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(() => {
473034
+ }, V2 = () => {
473035
+ d2.value ? (d2.value = false, nextTick(() => {
473036
+ e8 && (e8.style.width = a3.width, e8.style.height = a3.height, e8.style.left = a3.left, e8.style.top = a3.top, e8.style.transform = a3.transform, e8.style.marginTop = a3.marginTop, e8.style.marginBottom = a3.marginBottom);
473037
+ })) : (e8 && (a3.width = e8.style.width, a3.height = e8.style.height, a3.left = e8.style.left, a3.top = e8.style.top, a3.transform = e8.style.transform, a3.marginTop = e8.style.marginTop, a3.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 = ""), d2.value = true), nextTick(() => {
473038
473038
  M5();
473039
473039
  });
473040
473040
  };
473041
- E4({
473042
- dialogRef: p5,
473043
- toggleFullscreen: L2,
473044
- isFullscreen: c2
473041
+ S2({
473042
+ dialogRef: i,
473043
+ toggleFullscreen: V2,
473044
+ isFullscreen: d2
473045
473045
  });
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 = () => {
473046
+ let R2 = 0, H4 = 0, B3 = 0, C3 = 0, g2 = 0, v5 = 0, u2 = "", e8 = null;
473047
+ const U2 = ["n", "e", "s", "w", "ne", "nw", "se", "sw"], M5 = () => {
473048
473048
  var s2;
473049
- if (r2.resizable === false || c2.value) {
473049
+ if (c2.resizable === false || d2.value) {
473050
473050
  e8 && e8.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "none");
473051
473051
  return;
473052
473052
  }
473053
- if (e8 && e8.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "block"), !p5.value)
473053
+ if (e8 && e8.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "block"), !i.value)
473054
473054
  return;
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
+ const l2 = ((s2 = i.value.dialogContentRef) == null ? void 0 : s2.$el) || i.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")) || U2.forEach((t3) => {
473057
473057
  const n2 = document.createElement("div");
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);
473058
+ n2.className = `resize-handle resize-handle-${t3}`, n2.dataset.dir = t3, Object.assign(n2.style, G2(t3)), n2.addEventListener("mousedown", (f2) => J2(f2, t3)), e8.appendChild(n2);
473059
473059
  });
473060
- }, j2 = (l2) => {
473060
+ }, G2 = (l2) => {
473061
473061
  const o2 = "10px", s2 = "-5px", t3 = {
473062
473062
  position: "absolute",
473063
473063
  zIndex: "100",
@@ -473066,67 +473066,82 @@ const N$1 = /* @__PURE__ */ defineComponent({
473066
473066
  cursor: `${l2}-resize`
473067
473067
  };
473068
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) => {
473069
+ }, J2 = (l2, o2) => {
473070
473070
  if (l2.preventDefault(), l2.stopPropagation(), !e8)
473071
473071
  return;
473072
- u2 = o2, $2 = l2.clientX, H4 = l2.clientY;
473072
+ u2 = o2, R2 = l2.clientX, H4 = l2.clientY;
473073
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;
473074
+ B3 = parseInt(s2.width), C3 = parseInt(s2.height), g2 = parseInt(s2.left) || 0, v5 = parseInt(s2.top) || 0;
473075
473075
  const t3 = e8.getBoundingClientRect();
473076
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;
473078
- e8.style.position = "absolute", e8.style.margin = "0", e8.style.left = `${v5}px`, e8.style.top = `${w2}px`, g2 = v5, y2 = w2;
473077
+ const n2 = e8.offsetParent, f2 = n2 ? n2.getBoundingClientRect() : { left: 0, top: 0 }, y2 = t3.left - f2.left, w2 = t3.top - f2.top;
473078
+ e8.style.position = "absolute", e8.style.margin = "0", e8.style.left = `${y2}px`, e8.style.top = `${w2}px`, g2 = y2, v5 = w2;
473079
473079
  } else
473080
- g2 = parseInt(s2.left), y2 = parseInt(s2.top);
473081
- document.addEventListener("mousemove", P6), document.addEventListener("mouseup", R2);
473080
+ g2 = parseInt(s2.left), v5 = parseInt(s2.top);
473081
+ document.addEventListener("mousemove", P6), document.addEventListener("mouseup", T2);
473082
473082
  }, P6 = (l2) => {
473083
473083
  if (!e8)
473084
473084
  return;
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")) {
473089
- const _2 = x2 - o2;
473090
- _2 >= w2 && (t3 = _2, d2 = g2 + o2);
473085
+ const o2 = l2.clientX - R2, s2 = l2.clientY - H4;
473086
+ let t3 = B3, n2 = C3, f2 = g2, y2 = v5;
473087
+ const w2 = c2.minWidth || 200, I2 = c2.minHeight || 150;
473088
+ if (u2.includes("e") && (t3 = Math.max(w2, B3 + o2)), u2.includes("s") && (n2 = Math.max(I2, C3 + s2)), u2.includes("w")) {
473089
+ const _2 = B3 - o2;
473090
+ _2 >= w2 && (t3 = _2, f2 = g2 + o2);
473091
473091
  }
473092
473092
  if (u2.includes("n")) {
473093
- const _2 = B3 - s2;
473094
- _2 >= T2 && (n2 = _2, v5 = y2 + s2);
473093
+ const _2 = C3 - s2;
473094
+ _2 >= I2 && (n2 = _2, y2 = v5 + s2);
473095
473095
  }
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);
473096
+ e8.style.width = `${t3}px`, e8.style.height = `${n2}px`, (u2.includes("w") || u2.includes("n")) && (e8.style.left = `${f2}px`, e8.style.top = `${y2}px`);
473097
+ }, T2 = () => {
473098
+ document.removeEventListener("mousemove", P6), document.removeEventListener("mouseup", T2);
473099
473099
  };
473100
- return watch(() => V2.modelValue, (l2) => {
473100
+ watch(() => $2.modelValue, (l2) => {
473101
473101
  l2 && nextTick(() => {
473102
- M5();
473102
+ M5(), D2();
473103
+ });
473104
+ }), watch(() => x2.value, () => {
473105
+ nextTick(() => {
473106
+ D2();
473103
473107
  });
473104
- }), (l2, o2) => (openBlock(), createBlock(unref(ElDialog), mergeProps({
473108
+ });
473109
+ const D2 = () => {
473110
+ var s2;
473111
+ if (!i.value)
473112
+ return;
473113
+ const l2 = ((s2 = i.value.dialogContentRef) == null ? void 0 : s2.$el) || i.value.$el;
473114
+ if (!l2)
473115
+ return;
473116
+ let o2 = l2.closest(".el-overlay");
473117
+ o2 || (o2 = l2.closest(".el-overlay-dialog")), o2 && (x2.value ? o2.classList.remove("e-plus-modal-hidden-overlay") : o2.classList.add("e-plus-modal-hidden-overlay"));
473118
+ };
473119
+ return (l2, o2) => (openBlock(), createBlock(unref(ElDialog), mergeProps({
473105
473120
  ref_key: "dialogRef",
473106
- ref: p5,
473107
- class: "e-plus-resize-dialog"
473121
+ ref: i,
473122
+ class: ["e-plus-resize-dialog", { "is-modal-hidden": !x2.value }]
473108
473123
  }, l2.$attrs, {
473109
- modal: X2.value,
473110
- "close-on-click-modal": a3.closeOnClickModal,
473111
- draggable: a3.draggable,
473112
- fullscreen: c2.value,
473124
+ modal: x2.value,
473125
+ "close-on-click-modal": r2.closeOnClickModal,
473126
+ draggable: r2.draggable,
473127
+ fullscreen: d2.value,
473113
473128
  "show-close": false
473114
473129
  }), createSlots({
473115
473130
  header: withCtx(({ close: s2, titleId: t3, titleClass: n2 }) => [
473116
- createElementVNode("div", de$1, [
473131
+ createElementVNode("div", fe$1, [
473117
473132
  createElementVNode("span", {
473118
473133
  id: t3,
473119
473134
  class: normalizeClass(n2)
473120
- }, toDisplayString(l2.$attrs.title), 11, fe$1),
473121
- createElementVNode("div", he$1, [
473122
- A5.value ? (openBlock(), createElementBlock("div", {
473135
+ }, toDisplayString(l2.$attrs.title), 11, he$1),
473136
+ createElementVNode("div", me$1, [
473137
+ Y2.value ? (openBlock(), createElementBlock("div", {
473123
473138
  key: 0,
473124
473139
  class: "custom-header-btn",
473125
- onClick: L2
473140
+ onClick: V2
473126
473141
  }, [
473127
473142
  createVNode$1(unref(ElIcon), { size: "18" }, {
473128
473143
  default: withCtx(() => [
473129
- c2.value ? (openBlock(), createElementBlock("svg", me$1, [...o2[0] || (o2[0] = [
473144
+ d2.value ? (openBlock(), createElementBlock("svg", pe$1, [...o2[0] || (o2[0] = [
473130
473145
  createElementVNode("path", {
473131
473146
  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",
473132
473147
  fill: "currentColor"
@@ -473143,27 +473158,27 @@ const N$1 = /* @__PURE__ */ defineComponent({
473143
473158
  }, [
473144
473159
  createVNode$1(unref(ElIcon), { size: "20" }, {
473145
473160
  default: withCtx(() => [
473146
- createVNode$1(unref(re$1))
473161
+ createVNode$1(unref(ce$1))
473147
473162
  ]),
473148
473163
  _: 1
473149
473164
  })
473150
- ], 8, pe$1)) : createCommentVNode("", true)
473165
+ ], 8, ge$1)) : createCommentVNode("", true)
473151
473166
  ])
473152
473167
  ])
473153
473168
  ]),
473154
473169
  _: 2
473155
473170
  }, [
473156
- renderList(unref(O2), (s2, t3) => ({
473171
+ renderList(unref(j2), (s2, t3) => ({
473157
473172
  name: t3,
473158
473173
  fn: withCtx((n2) => [
473159
473174
  renderSlot(l2.$slots, t3, normalizeProps(guardReactiveProps(n2 || {})))
473160
473175
  ])
473161
473176
  }))
473162
- ]), 1040, ["modal", "close-on-click-modal", "draggable", "fullscreen"]));
473177
+ ]), 1040, ["class", "modal", "close-on-click-modal", "draggable", "fullscreen"]));
473163
473178
  }
473164
473179
  });
473165
- N$1.install = (a3) => {
473166
- a3.component("EPlusResizeDialog", N$1);
473180
+ X$1.install = (r2) => {
473181
+ r2.component("EPlusResizeDialog", X$1);
473167
473182
  };
473168
473183
  const _hoisted_1$6 = { class: "flex-1 overflow-y-auto p-4" };
473169
473184
  const _hoisted_2$5 = { class: "pb-2 flex items-center justify-between" };
@@ -473940,7 +473955,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
473940
473955
  const _component_el_tree = resolveComponent("el-tree");
473941
473956
  const _component_el_tab_pane = resolveComponent("el-tab-pane");
473942
473957
  const _component_el_tabs = resolveComponent("el-tabs");
473943
- return openBlock(), createBlock(unref(N$1), mergeProps({
473958
+ return openBlock(), createBlock(unref(X$1), mergeProps({
473944
473959
  modelValue: visible.value,
473945
473960
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => visible.value = $event)
473946
473961
  }, dialogProps2.value, { onClose: handleClose }), createSlots({
@@ -488774,7 +488789,7 @@ function(t3) {
488774
488789
  */
488775
488790
  function(t3) {
488776
488791
  function e8() {
488777
- return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-0c397170.mjs")).catch(function(t4) {
488792
+ return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-051b071d.mjs")).catch(function(t4) {
488778
488793
  return Promise.reject(new Error("Could not load canvg: " + t4));
488779
488794
  }).then(function(t4) {
488780
488795
  return t4.default ? t4.default : t4;
@@ -497658,7 +497673,7 @@ const install = (app) => {
497658
497673
  app.component("OlBaseLayerSwitcher", OlBaseLayerSwitcher);
497659
497674
  app.component("CustomOpenlayer", _sfc_main$2);
497660
497675
  app.component("CustomDialog", _sfc_main);
497661
- app.component("EPlusDialog", N$1);
497676
+ app.component("EPlusDialog", X$1);
497662
497677
  app.component("SvgIcon", _sfc_main$1);
497663
497678
  };
497664
497679
  const index = {
@@ -497666,7 +497681,7 @@ const index = {
497666
497681
  OlMap: _sfc_main$2,
497667
497682
  CustomOpenlayer: _sfc_main$2,
497668
497683
  CustomDialog: _sfc_main,
497669
- EPlusDialog: N$1,
497684
+ EPlusDialog: X$1,
497670
497685
  SvgIcon: _sfc_main$1
497671
497686
  };
497672
497687
  const version = "1.0.0";
@@ -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-5a13e877.mjs";
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-30ef3c66.mjs";
3
3
  const isValidComponentSize = (val) => ["", ...componentSizes].includes(val);
4
4
  const FOCUSABLE_CHILDREN = "_trap-focus-children";
5
5
  const FOCUS_STACK = [];
@@ -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-5a13e877.mjs";
2
+ import { d as _export_sfc, $ as DrawingManager, a0 as close_default } from "./index-30ef3c66.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-5a13e877.mjs";
1
+ import { c as commonjsGlobal, R as RGBColor, r as requestAnimationFrame, _ as _asyncToGenerator, a as _, p as processCanvasRGBA, b as _defineProperty } from "./index-30ef3c66.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-5a13e877.mjs";
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-30ef3c66.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
package/lib/index.umd.js CHANGED
@@ -112121,14 +112121,14 @@ For more detail, please visit: ${ref}
112121
112121
  var g2 = y$7(A5), I2 = g2[0], C3 = g2[1];
112122
112122
  return I2 || C3 ? (C3 && (C3 = C3.substr(0, C3.length - 1)), I2 + C3) : ".";
112123
112123
  }
112124
- function N$4(A5, g2) {
112124
+ function N$3(A5, g2) {
112125
112125
  var I2 = y$7(A5)[2];
112126
112126
  return g2 && I2.substr(-1 * g2.length) === g2 && (I2 = I2.substr(0, I2.length - g2.length)), I2;
112127
112127
  }
112128
112128
  function r$2(A5) {
112129
112129
  return y$7(A5)[3];
112130
112130
  }
112131
- var Y$2 = { extname: r$2, basename: N$4, dirname: e$4, sep: "/", delimiter: ":", relative: h$3, join: K$2, isAbsolute: t$2, normalize: n$3, resolve: M$3 };
112131
+ var Y$2 = { extname: r$2, basename: N$3, dirname: e$4, sep: "/", delimiter: ":", relative: h$3, join: K$2, isAbsolute: t$2, normalize: n$3, resolve: M$3 };
112132
112132
  function H$2(A5, g2) {
112133
112133
  if (A5.filter)
112134
112134
  return A5.filter(g2);
@@ -112140,7 +112140,7 @@ For more detail, please visit: ${ref}
112140
112140
  return A5.substr(g2, I2);
112141
112141
  } : function(A5, g2, I2) {
112142
112142
  return g2 < 0 && (g2 = A5.length + g2), A5.substr(g2, I2);
112143
- }, w$2 = E$4(Object.freeze({ __proto__: null, resolve: M$3, normalize: n$3, isAbsolute: t$2, join: K$2, relative: h$3, sep: "/", delimiter: ":", dirname: e$4, basename: N$4, extname: r$2, default: Y$2 }));
112143
+ }, w$2 = E$4(Object.freeze({ __proto__: null, resolve: M$3, normalize: n$3, isAbsolute: t$2, join: K$2, relative: h$3, sep: "/", delimiter: ":", dirname: e$4, basename: N$3, extname: r$2, default: Y$2 }));
112144
112144
  !function(A5, g2) {
112145
112145
  var I2 = function(g3) {
112146
112146
  g3 = void 0 !== g3 ? g3 : {};
@@ -298646,7 +298646,7 @@ ${publicKeyStr}
298646
298646
  };
298647
298647
  var x$3 = function(e3) {
298648
298648
  return this.__data__.has(e3);
298649
- }, N$3 = "object" == typeof s$2 && s$2 && s$2.Object === Object && s$2, O$2 = "object" == typeof self && self && self.Object === Object && self, k$1 = N$3 || O$2 || Function("return this")(), I$1 = k$1.Symbol, S$1 = Object.prototype, M$2 = S$1.hasOwnProperty, C$1 = S$1.toString, G$1 = I$1 ? I$1.toStringTag : void 0;
298649
+ }, N$2 = "object" == typeof s$2 && s$2 && s$2.Object === Object && s$2, O$2 = "object" == typeof self && self && self.Object === Object && self, k$1 = N$2 || O$2 || Function("return this")(), I$1 = k$1.Symbol, S$1 = Object.prototype, M$2 = S$1.hasOwnProperty, C$1 = S$1.toString, G$1 = I$1 ? I$1.toStringTag : void 0;
298650
298650
  var B$3 = function(e3) {
298651
298651
  var n2 = M$2.call(e3, G$1), t2 = e3[G$1];
298652
298652
  try {
@@ -298688,7 +298688,7 @@ ${publicKeyStr}
298688
298688
  }
298689
298689
  }
298690
298690
  return "";
298691
- }, W$1 = /^\[object .+?Constructor\]$/, q$1 = Function.prototype, Y$1 = Object.prototype, J$1 = q$1.toString, X$1 = Y$1.hasOwnProperty, K$1 = RegExp("^" + J$1.call(X$1).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
298691
+ }, W$1 = /^\[object .+?Constructor\]$/, q$1 = Function.prototype, Y$1 = Object.prototype, J$1 = q$1.toString, X$2 = Y$1.hasOwnProperty, K$1 = RegExp("^" + J$1.call(X$2).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
298692
298692
  var Q$1 = function(e3) {
298693
298693
  return !(!D$2(e3) || V$2(e3)) && (z$2(e3) ? K$1 : W$1).test(H$1(e3));
298694
298694
  };
@@ -298706,7 +298706,7 @@ ${publicKeyStr}
298706
298706
  var n2 = this.has(e3) && delete this.__data__[e3];
298707
298707
  return this.size -= n2 ? 1 : 0, n2;
298708
298708
  }, ie$1 = Object.prototype.hasOwnProperty;
298709
- var ae$2 = function(e3) {
298709
+ var ae$1 = function(e3) {
298710
298710
  var n2 = this.__data__;
298711
298711
  if (te$1) {
298712
298712
  var t2 = n2[e3];
@@ -298729,7 +298729,7 @@ ${publicKeyStr}
298729
298729
  this.set(r2[0], r2[1]);
298730
298730
  }
298731
298731
  }
298732
- de$2.prototype.clear = re$2, de$2.prototype.delete = oe$1, de$2.prototype.get = ae$2, de$2.prototype.has = ce$2, de$2.prototype.set = se$1;
298732
+ de$2.prototype.clear = re$2, de$2.prototype.delete = oe$1, de$2.prototype.get = ae$1, de$2.prototype.has = ce$2, de$2.prototype.set = se$1;
298733
298733
  var fe$2 = de$2;
298734
298734
  var he$2 = function() {
298735
298735
  this.size = 0, this.__data__ = { hash: new fe$2(), map: new (ne$1 || w$1)(), string: new fe$2() };
@@ -298746,7 +298746,7 @@ ${publicKeyStr}
298746
298746
  var n2 = ve$1(this, e3).delete(e3);
298747
298747
  return this.size -= n2 ? 1 : 0, n2;
298748
298748
  };
298749
- var ge$1 = function(e3) {
298749
+ var ge$2 = function(e3) {
298750
298750
  return ve$1(this, e3).get(e3);
298751
298751
  };
298752
298752
  var ye$1 = function(e3) {
@@ -298763,7 +298763,7 @@ ${publicKeyStr}
298763
298763
  this.set(r2[0], r2[1]);
298764
298764
  }
298765
298765
  }
298766
- me$2.prototype.clear = he$2, me$2.prototype.delete = pe$2, me$2.prototype.get = ge$1, me$2.prototype.has = ye$1, me$2.prototype.set = be$1;
298766
+ me$2.prototype.clear = he$2, me$2.prototype.delete = pe$2, me$2.prototype.get = ge$2, me$2.prototype.has = ye$1, me$2.prototype.set = be$1;
298767
298767
  var we$1 = me$2;
298768
298768
  var Ee = function(e3, n2) {
298769
298769
  var t2 = this.__data__;
@@ -298845,7 +298845,7 @@ ${publicKeyStr}
298845
298845
  return e3(n2);
298846
298846
  };
298847
298847
  }, We = d$1(function(e3, n2) {
298848
- var t2 = n2 && !n2.nodeType && n2, r2 = t2 && e3 && !e3.nodeType && e3, o2 = r2 && r2.exports === t2 && N$3.process, i2 = function() {
298848
+ var t2 = n2 && !n2.nodeType && n2, r2 = t2 && e3 && !e3.nodeType && e3, o2 = r2 && r2.exports === t2 && N$2.process, i2 = function() {
298849
298849
  try {
298850
298850
  var e4 = r2 && r2.require && r2.require("util").types;
298851
298851
  return e4 || o2 && o2.binding && o2.binding("util");
@@ -372927,7 +372927,7 @@ ${indentData}`);
372927
372927
  } else if ((3 === this.curArgs.length || 4 === this.curArgs.length) && "0" !== this.curNumber && "1" !== this.curNumber)
372928
372928
  throw new SyntaxError('Expected a flag, got "' + this.curNumber + '" at index "' + a3 + '"');
372929
372929
  }
372930
- this.curArgs.push(u2), this.curArgs.length === N$2[this.curCommandType] && (_$1.HORIZ_LINE_TO === this.curCommandType ? i2({ type: _$1.HORIZ_LINE_TO, relative: this.curCommandRelative, x: u2 }) : _$1.VERT_LINE_TO === this.curCommandType ? i2({ type: _$1.VERT_LINE_TO, relative: this.curCommandRelative, y: u2 }) : this.curCommandType === _$1.MOVE_TO || this.curCommandType === _$1.LINE_TO || this.curCommandType === _$1.SMOOTH_QUAD_TO ? (i2({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), _$1.MOVE_TO === this.curCommandType && (this.curCommandType = _$1.LINE_TO)) : this.curCommandType === _$1.CURVE_TO ? i2({ type: _$1.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === _$1.SMOOTH_CURVE_TO ? i2({ type: _$1.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === _$1.QUAD_TO ? i2({ type: _$1.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === _$1.ARC && i2({ type: _$1.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), this.curNumber = "", this.curNumberHasExpDigits = false, this.curNumberHasExp = false, this.curNumberHasDecimal = false, this.canParseCommandOrComma = true;
372930
+ this.curArgs.push(u2), this.curArgs.length === N$1[this.curCommandType] && (_$1.HORIZ_LINE_TO === this.curCommandType ? i2({ type: _$1.HORIZ_LINE_TO, relative: this.curCommandRelative, x: u2 }) : _$1.VERT_LINE_TO === this.curCommandType ? i2({ type: _$1.VERT_LINE_TO, relative: this.curCommandRelative, y: u2 }) : this.curCommandType === _$1.MOVE_TO || this.curCommandType === _$1.LINE_TO || this.curCommandType === _$1.SMOOTH_QUAD_TO ? (i2({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), _$1.MOVE_TO === this.curCommandType && (this.curCommandType = _$1.LINE_TO)) : this.curCommandType === _$1.CURVE_TO ? i2({ type: _$1.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === _$1.SMOOTH_CURVE_TO ? i2({ type: _$1.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === _$1.QUAD_TO ? i2({ type: _$1.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === _$1.ARC && i2({ type: _$1.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), this.curNumber = "", this.curNumberHasExpDigits = false, this.curNumberHasExp = false, this.curNumberHasDecimal = false, this.canParseCommandOrComma = true;
372931
372931
  }
372932
372932
  if (!T$2(n2))
372933
372933
  if ("," === n2 && this.canParseCommandOrComma)
@@ -373009,7 +373009,7 @@ ${indentData}`);
373009
373009
  var r2 = new f$2(), e3 = [];
373010
373010
  return r2.parse(t3, e3), r2.finish(e3), e3;
373011
373011
  }, i2.CLOSE_PATH = 1, i2.MOVE_TO = 2, i2.HORIZ_LINE_TO = 4, i2.VERT_LINE_TO = 8, i2.LINE_TO = 16, i2.CURVE_TO = 32, i2.SMOOTH_CURVE_TO = 64, i2.QUAD_TO = 128, i2.SMOOTH_QUAD_TO = 256, i2.ARC = 512, i2.LINE_COMMANDS = i2.LINE_TO | i2.HORIZ_LINE_TO | i2.VERT_LINE_TO, i2.DRAWING_COMMANDS = i2.HORIZ_LINE_TO | i2.VERT_LINE_TO | i2.LINE_TO | i2.CURVE_TO | i2.SMOOTH_CURVE_TO | i2.QUAD_TO | i2.SMOOTH_QUAD_TO | i2.ARC, i2;
373012
- }(l$1), N$2 = ((O$1 = {})[_$1.MOVE_TO] = 2, O$1[_$1.LINE_TO] = 2, O$1[_$1.HORIZ_LINE_TO] = 1, O$1[_$1.VERT_LINE_TO] = 1, O$1[_$1.CLOSE_PATH] = 0, O$1[_$1.QUAD_TO] = 4, O$1[_$1.SMOOTH_QUAD_TO] = 2, O$1[_$1.CURVE_TO] = 6, O$1[_$1.SMOOTH_CURVE_TO] = 4, O$1[_$1.ARC] = 7, O$1);
373012
+ }(l$1), N$1 = ((O$1 = {})[_$1.MOVE_TO] = 2, O$1[_$1.LINE_TO] = 2, O$1[_$1.HORIZ_LINE_TO] = 1, O$1[_$1.VERT_LINE_TO] = 1, O$1[_$1.CLOSE_PATH] = 0, O$1[_$1.QUAD_TO] = 4, O$1[_$1.SMOOTH_QUAD_TO] = 2, O$1[_$1.CURVE_TO] = 6, O$1[_$1.SMOOTH_CURVE_TO] = 4, O$1[_$1.ARC] = 7, O$1);
373013
373013
  function _typeof$1(obj) {
373014
373014
  "@babel/helpers - typeof";
373015
373015
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
@@ -474507,11 +474507,11 @@ ${this.attributes_.map(
474507
474507
  });
474508
474508
  const LayerTreeNode_vue_vue_type_style_index_0_lang = "";
474509
474509
  /*! Element Plus Icons Vue v2.3.2 */
474510
- var ae$1 = /* @__PURE__ */ vue.defineComponent({
474510
+ var re$1 = /* @__PURE__ */ vue.defineComponent({
474511
474511
  name: "Close",
474512
474512
  __name: "close",
474513
- setup(a3) {
474514
- return (E4, r2) => (vue.openBlock(), vue.createElementBlock("svg", {
474513
+ setup(r2) {
474514
+ return (S2, c2) => (vue.openBlock(), vue.createElementBlock("svg", {
474515
474515
  xmlns: "http://www.w3.org/2000/svg",
474516
474516
  viewBox: "0 0 1024 1024"
474517
474517
  }, [
@@ -474521,11 +474521,11 @@ ${this.attributes_.map(
474521
474521
  })
474522
474522
  ]));
474523
474523
  }
474524
- }), re$1 = ae$1, ce$1 = /* @__PURE__ */ vue.defineComponent({
474524
+ }), ce$1 = re$1, de$1 = /* @__PURE__ */ vue.defineComponent({
474525
474525
  name: "FullScreen",
474526
474526
  __name: "full-screen",
474527
- setup(a3) {
474528
- return (E4, r2) => (vue.openBlock(), vue.createElementBlock("svg", {
474527
+ setup(r2) {
474528
+ return (S2, c2) => (vue.openBlock(), vue.createElementBlock("svg", {
474529
474529
  xmlns: "http://www.w3.org/2000/svg",
474530
474530
  viewBox: "0 0 1024 1024"
474531
474531
  }, [
@@ -474535,8 +474535,8 @@ ${this.attributes_.map(
474535
474535
  })
474536
474536
  ]));
474537
474537
  }
474538
- }), ue$1 = ce$1;
474539
- const de$1 = { class: "custom-dialog-header" }, fe$1 = ["id"], he$1 = { class: "custom-dialog-actions" }, me$1 = {
474538
+ }), ue$1 = de$1;
474539
+ const fe$1 = { class: "custom-dialog-header" }, he$1 = ["id"], me$1 = { class: "custom-dialog-actions" }, pe$1 = {
474540
474540
  key: 1,
474541
474541
  class: "icon",
474542
474542
  viewBox: "0 0 1025 1024",
@@ -474544,7 +474544,7 @@ ${this.attributes_.map(
474544
474544
  xmlns: "http://www.w3.org/2000/svg",
474545
474545
  width: "1em",
474546
474546
  height: "1em"
474547
- }, pe$1 = ["onClick"], N$1 = /* @__PURE__ */ vue.defineComponent({
474547
+ }, ge$1 = ["onClick"], X$1 = /* @__PURE__ */ vue.defineComponent({
474548
474548
  __name: "EPlusResizeDialog",
474549
474549
  props: {
474550
474550
  resizable: { type: Boolean, default: true },
@@ -474555,11 +474555,11 @@ ${this.attributes_.map(
474555
474555
  modalPenetrable: { type: Boolean, default: true },
474556
474556
  closeOnClickModal: { type: Boolean, default: false }
474557
474557
  },
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;
474562
- }), i2 = {
474558
+ setup(r2, { expose: S2 }) {
474559
+ const c2 = r2, Y2 = vue.computed(() => c2.showFullscreen !== false), i2 = vue.ref(), $2 = vue.useAttrs(), j2 = vue.useSlots(), d2 = vue.ref(false), x2 = vue.computed(() => {
474560
+ const l2 = $2.modal;
474561
+ return l2 !== void 0 ? l2 === "" ? true : l2 === "false" ? false : l2 === "true" ? true : !!l2 : !c2.modalPenetrable;
474562
+ }), a3 = {
474563
474563
  width: "",
474564
474564
  height: "",
474565
474565
  left: "",
@@ -474567,33 +474567,33 @@ ${this.attributes_.map(
474567
474567
  transform: "",
474568
474568
  marginTop: "",
474569
474569
  marginBottom: ""
474570
- }, L2 = () => {
474571
- c2.value ? (c2.value = false, vue.nextTick(() => {
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);
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(() => {
474570
+ }, V2 = () => {
474571
+ d2.value ? (d2.value = false, vue.nextTick(() => {
474572
+ e3 && (e3.style.width = a3.width, e3.style.height = a3.height, e3.style.left = a3.left, e3.style.top = a3.top, e3.style.transform = a3.transform, e3.style.marginTop = a3.marginTop, e3.style.marginBottom = a3.marginBottom);
474573
+ })) : (e3 && (a3.width = e3.style.width, a3.height = e3.style.height, a3.left = e3.style.left, a3.top = e3.style.top, a3.transform = e3.style.transform, a3.marginTop = e3.style.marginTop, a3.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 = ""), d2.value = true), vue.nextTick(() => {
474574
474574
  M5();
474575
474575
  });
474576
474576
  };
474577
- E4({
474578
- dialogRef: p5,
474579
- toggleFullscreen: L2,
474580
- isFullscreen: c2
474577
+ S2({
474578
+ dialogRef: i2,
474579
+ toggleFullscreen: V2,
474580
+ isFullscreen: d2
474581
474581
  });
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 = () => {
474582
+ let R2 = 0, H4 = 0, B3 = 0, C3 = 0, g2 = 0, v5 = 0, u2 = "", e3 = null;
474583
+ const U2 = ["n", "e", "s", "w", "ne", "nw", "se", "sw"], M5 = () => {
474584
474584
  var s2;
474585
- if (r2.resizable === false || c2.value) {
474585
+ if (c2.resizable === false || d2.value) {
474586
474586
  e3 && e3.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "none");
474587
474587
  return;
474588
474588
  }
474589
- if (e3 && e3.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "block"), !p5.value)
474589
+ if (e3 && e3.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "block"), !i2.value)
474590
474590
  return;
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
+ const l2 = ((s2 = i2.value.dialogContentRef) == null ? void 0 : s2.$el) || i2.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")) || U2.forEach((t2) => {
474593
474593
  const n2 = document.createElement("div");
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);
474594
+ n2.className = `resize-handle resize-handle-${t2}`, n2.dataset.dir = t2, Object.assign(n2.style, G2(t2)), n2.addEventListener("mousedown", (f2) => J2(f2, t2)), e3.appendChild(n2);
474595
474595
  });
474596
- }, j2 = (l2) => {
474596
+ }, G2 = (l2) => {
474597
474597
  const o2 = "10px", s2 = "-5px", t2 = {
474598
474598
  position: "absolute",
474599
474599
  zIndex: "100",
@@ -474602,67 +474602,82 @@ ${this.attributes_.map(
474602
474602
  cursor: `${l2}-resize`
474603
474603
  };
474604
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) => {
474605
+ }, J2 = (l2, o2) => {
474606
474606
  if (l2.preventDefault(), l2.stopPropagation(), !e3)
474607
474607
  return;
474608
- u2 = o2, $2 = l2.clientX, H4 = l2.clientY;
474608
+ u2 = o2, R2 = l2.clientX, H4 = l2.clientY;
474609
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;
474610
+ B3 = parseInt(s2.width), C3 = parseInt(s2.height), g2 = parseInt(s2.left) || 0, v5 = parseInt(s2.top) || 0;
474611
474611
  const t2 = e3.getBoundingClientRect();
474612
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;
474614
- e3.style.position = "absolute", e3.style.margin = "0", e3.style.left = `${v5}px`, e3.style.top = `${w2}px`, g2 = v5, y2 = w2;
474613
+ const n2 = e3.offsetParent, f2 = n2 ? n2.getBoundingClientRect() : { left: 0, top: 0 }, y2 = t2.left - f2.left, w2 = t2.top - f2.top;
474614
+ e3.style.position = "absolute", e3.style.margin = "0", e3.style.left = `${y2}px`, e3.style.top = `${w2}px`, g2 = y2, v5 = w2;
474615
474615
  } else
474616
- g2 = parseInt(s2.left), y2 = parseInt(s2.top);
474617
- document.addEventListener("mousemove", P6), document.addEventListener("mouseup", R2);
474616
+ g2 = parseInt(s2.left), v5 = parseInt(s2.top);
474617
+ document.addEventListener("mousemove", P6), document.addEventListener("mouseup", T2);
474618
474618
  }, P6 = (l2) => {
474619
474619
  if (!e3)
474620
474620
  return;
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")) {
474625
- const _2 = x2 - o2;
474626
- _2 >= w2 && (t2 = _2, d2 = g2 + o2);
474621
+ const o2 = l2.clientX - R2, s2 = l2.clientY - H4;
474622
+ let t2 = B3, n2 = C3, f2 = g2, y2 = v5;
474623
+ const w2 = c2.minWidth || 200, I2 = c2.minHeight || 150;
474624
+ if (u2.includes("e") && (t2 = Math.max(w2, B3 + o2)), u2.includes("s") && (n2 = Math.max(I2, C3 + s2)), u2.includes("w")) {
474625
+ const _2 = B3 - o2;
474626
+ _2 >= w2 && (t2 = _2, f2 = g2 + o2);
474627
474627
  }
474628
474628
  if (u2.includes("n")) {
474629
- const _2 = B3 - s2;
474630
- _2 >= T2 && (n2 = _2, v5 = y2 + s2);
474629
+ const _2 = C3 - s2;
474630
+ _2 >= I2 && (n2 = _2, y2 = v5 + s2);
474631
474631
  }
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);
474632
+ e3.style.width = `${t2}px`, e3.style.height = `${n2}px`, (u2.includes("w") || u2.includes("n")) && (e3.style.left = `${f2}px`, e3.style.top = `${y2}px`);
474633
+ }, T2 = () => {
474634
+ document.removeEventListener("mousemove", P6), document.removeEventListener("mouseup", T2);
474635
474635
  };
474636
- return vue.watch(() => V2.modelValue, (l2) => {
474636
+ vue.watch(() => $2.modelValue, (l2) => {
474637
474637
  l2 && vue.nextTick(() => {
474638
- M5();
474638
+ M5(), D2();
474639
+ });
474640
+ }), vue.watch(() => x2.value, () => {
474641
+ vue.nextTick(() => {
474642
+ D2();
474639
474643
  });
474640
- }), (l2, o2) => (vue.openBlock(), vue.createBlock(vue.unref(ElDialog), vue.mergeProps({
474644
+ });
474645
+ const D2 = () => {
474646
+ var s2;
474647
+ if (!i2.value)
474648
+ return;
474649
+ const l2 = ((s2 = i2.value.dialogContentRef) == null ? void 0 : s2.$el) || i2.value.$el;
474650
+ if (!l2)
474651
+ return;
474652
+ let o2 = l2.closest(".el-overlay");
474653
+ o2 || (o2 = l2.closest(".el-overlay-dialog")), o2 && (x2.value ? o2.classList.remove("e-plus-modal-hidden-overlay") : o2.classList.add("e-plus-modal-hidden-overlay"));
474654
+ };
474655
+ return (l2, o2) => (vue.openBlock(), vue.createBlock(vue.unref(ElDialog), vue.mergeProps({
474641
474656
  ref_key: "dialogRef",
474642
- ref: p5,
474643
- class: "e-plus-resize-dialog"
474657
+ ref: i2,
474658
+ class: ["e-plus-resize-dialog", { "is-modal-hidden": !x2.value }]
474644
474659
  }, l2.$attrs, {
474645
- modal: X2.value,
474646
- "close-on-click-modal": a3.closeOnClickModal,
474647
- draggable: a3.draggable,
474648
- fullscreen: c2.value,
474660
+ modal: x2.value,
474661
+ "close-on-click-modal": r2.closeOnClickModal,
474662
+ draggable: r2.draggable,
474663
+ fullscreen: d2.value,
474649
474664
  "show-close": false
474650
474665
  }), vue.createSlots({
474651
474666
  header: vue.withCtx(({ close: s2, titleId: t2, titleClass: n2 }) => [
474652
- vue.createElementVNode("div", de$1, [
474667
+ vue.createElementVNode("div", fe$1, [
474653
474668
  vue.createElementVNode("span", {
474654
474669
  id: t2,
474655
474670
  class: vue.normalizeClass(n2)
474656
- }, vue.toDisplayString(l2.$attrs.title), 11, fe$1),
474657
- vue.createElementVNode("div", he$1, [
474658
- A5.value ? (vue.openBlock(), vue.createElementBlock("div", {
474671
+ }, vue.toDisplayString(l2.$attrs.title), 11, he$1),
474672
+ vue.createElementVNode("div", me$1, [
474673
+ Y2.value ? (vue.openBlock(), vue.createElementBlock("div", {
474659
474674
  key: 0,
474660
474675
  class: "custom-header-btn",
474661
- onClick: L2
474676
+ onClick: V2
474662
474677
  }, [
474663
474678
  vue.createVNode(vue.unref(ElIcon), { size: "18" }, {
474664
474679
  default: vue.withCtx(() => [
474665
- c2.value ? (vue.openBlock(), vue.createElementBlock("svg", me$1, [...o2[0] || (o2[0] = [
474680
+ d2.value ? (vue.openBlock(), vue.createElementBlock("svg", pe$1, [...o2[0] || (o2[0] = [
474666
474681
  vue.createElementVNode("path", {
474667
474682
  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",
474668
474683
  fill: "currentColor"
@@ -474679,27 +474694,27 @@ ${this.attributes_.map(
474679
474694
  }, [
474680
474695
  vue.createVNode(vue.unref(ElIcon), { size: "20" }, {
474681
474696
  default: vue.withCtx(() => [
474682
- vue.createVNode(vue.unref(re$1))
474697
+ vue.createVNode(vue.unref(ce$1))
474683
474698
  ]),
474684
474699
  _: 1
474685
474700
  })
474686
- ], 8, pe$1)) : vue.createCommentVNode("", true)
474701
+ ], 8, ge$1)) : vue.createCommentVNode("", true)
474687
474702
  ])
474688
474703
  ])
474689
474704
  ]),
474690
474705
  _: 2
474691
474706
  }, [
474692
- vue.renderList(vue.unref(O2), (s2, t2) => ({
474707
+ vue.renderList(vue.unref(j2), (s2, t2) => ({
474693
474708
  name: t2,
474694
474709
  fn: vue.withCtx((n2) => [
474695
474710
  vue.renderSlot(l2.$slots, t2, vue.normalizeProps(vue.guardReactiveProps(n2 || {})))
474696
474711
  ])
474697
474712
  }))
474698
- ]), 1040, ["modal", "close-on-click-modal", "draggable", "fullscreen"]));
474713
+ ]), 1040, ["class", "modal", "close-on-click-modal", "draggable", "fullscreen"]));
474699
474714
  }
474700
474715
  });
474701
- N$1.install = (a3) => {
474702
- a3.component("EPlusResizeDialog", N$1);
474716
+ X$1.install = (r2) => {
474717
+ r2.component("EPlusResizeDialog", X$1);
474703
474718
  };
474704
474719
  const style = "";
474705
474720
  const _hoisted_1$f = { class: "flex-1 overflow-y-auto p-4" };
@@ -475477,7 +475492,7 @@ ${this.attributes_.map(
475477
475492
  const _component_el_tree = vue.resolveComponent("el-tree");
475478
475493
  const _component_el_tab_pane = vue.resolveComponent("el-tab-pane");
475479
475494
  const _component_el_tabs = vue.resolveComponent("el-tabs");
475480
- return vue.openBlock(), vue.createBlock(vue.unref(N$1), vue.mergeProps({
475495
+ return vue.openBlock(), vue.createBlock(vue.unref(X$1), vue.mergeProps({
475481
475496
  modelValue: visible.value,
475482
475497
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => visible.value = $event)
475483
475498
  }, dialogProps2.value, { onClose: handleClose }), vue.createSlots({
@@ -499144,7 +499159,7 @@ ${this.attributes_.map(
499144
499159
  app.component("OlBaseLayerSwitcher", OlBaseLayerSwitcher);
499145
499160
  app.component("CustomOpenlayer", _sfc_main$b);
499146
499161
  app.component("CustomDialog", _sfc_main$9);
499147
- app.component("EPlusDialog", N$1);
499162
+ app.component("EPlusDialog", X$1);
499148
499163
  app.component("SvgIcon", _sfc_main$a);
499149
499164
  };
499150
499165
  const index$3 = {
@@ -499152,7 +499167,7 @@ ${this.attributes_.map(
499152
499167
  OlMap: _sfc_main$b,
499153
499168
  CustomOpenlayer: _sfc_main$b,
499154
499169
  CustomDialog: _sfc_main$9,
499155
- EPlusDialog: N$1,
499170
+ EPlusDialog: X$1,
499156
499171
  SvgIcon: _sfc_main$a
499157
499172
  };
499158
499173
  const version$1 = "1.0.0";
package/lib/style.css CHANGED
@@ -448,7 +448,6 @@
448
448
  }
449
449
  .search-input {
450
450
  width: 100%;
451
- padding: 8px 12px;
452
451
  border: 1px solid #d9d9d9;
453
452
  border-radius: 4px;
454
453
  font-size: 14px;
@@ -1130,7 +1129,7 @@ label {
1130
1129
  }
1131
1130
  }
1132
1131
  }
1133
- .resize-handle{-webkit-user-select:none;user-select:none}.custom-dialog-actions{display:flex;align-items:center}.custom-dialog-header{display:flex;justify-content:space-between;align-items:center;width:100%}.custom-dialog-actions .custom-header-btn{position:static;margin-left:10px;font-size:16px;width:20px;height:20px;line-height:1;border:none;background:transparent;cursor:pointer;padding:0;color:var(--el-color-info)}.custom-dialog-actions .custom-header-btn:hover{color:var(--el-color-primary)}.custom-dialog-actions .custom-header-btn svg{width:100%;height:100%;vertical-align:middle}.e-plus-resize-dialog{display:flex;flex-direction:column;max-height:85vh;overflow:hidden;margin-bottom:0}.e-plus-resize-dialog.is-fullscreen{max-height:100vh;height:100vh!important;margin:0!important}.e-plus-resize-dialog .el-dialog__header,.e-plus-resize-dialog .el-dialog__footer{flex-shrink:0}.e-plus-resize-dialog .el-dialog__body{flex:1;overflow:auto;min-height:0}
1132
+ .el-modal-dialog{pointer-events:none}.resize-handle{-webkit-user-select:none;user-select:none}.custom-dialog-actions{display:flex;align-items:center}.custom-dialog-header{display:flex;justify-content:space-between;align-items:center;width:100%}.custom-dialog-actions .custom-header-btn{position:static;margin-left:10px;font-size:16px;width:20px;height:20px;line-height:1;border:none;background:transparent;cursor:pointer;padding:0;color:var(--el-color-info)}.custom-dialog-actions .custom-header-btn:hover{color:var(--el-color-primary)}.custom-dialog-actions .custom-header-btn svg{width:100%;height:100%;vertical-align:middle}.e-plus-resize-dialog{display:flex;flex-direction:column;max-height:85vh;overflow:hidden;margin-bottom:0}.e-plus-resize-dialog.is-fullscreen{max-height:100vh;height:100vh!important;margin:0!important}.e-plus-resize-dialog .el-dialog__header,.e-plus-resize-dialog .el-dialog__footer{flex-shrink:0}.e-plus-resize-dialog .el-dialog__body{flex:1;overflow:auto;min-height:0}.e-plus-modal-hidden-overlay,.e-plus-modal-hidden-overlay .el-overlay-dialog{pointer-events:none!important}.e-plus-resize-dialog.is-modal-hidden{pointer-events:auto!important}
1134
1133
 
1135
1134
  .layer-dialog {
1136
1135
  /* 全局样式面板样式 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-openlayers-plugin",
3
- "version": "1.0.85",
3
+ "version": "1.0.88",
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",
@@ -49,8 +49,8 @@
49
49
  "peerDependencies": {
50
50
  "@element-plus/icons-vue": "^2.3.2",
51
51
  "@supermapgis/iclient-ol": "^12.0.0-r",
52
- "e-plus-dialog-vue3": "^1.0.11",
53
- "element-plus": "^2.11.1",
52
+ "e-plus-dialog-vue3": "^1.0.17",
53
+ "element-plus": "^2.13.0",
54
54
  "ol": "^10.6.1",
55
55
  "proj4": "^2.9.2",
56
56
  "vue": "^3.3.0"
@@ -73,7 +73,7 @@
73
73
  "@vue/eslint-config-prettier": "^8.0.0",
74
74
  "@vue/eslint-config-typescript": "^11.0.3",
75
75
  "@vue/tsconfig": "^0.4.0",
76
- "e-plus-dialog-vue3": "^1.0.11",
76
+ "e-plus-dialog-vue3": "^1.0.17",
77
77
  "element-plus": "^2.13.0",
78
78
  "eslint": "^8.45.0",
79
79
  "eslint-plugin-vue": "^9.17.0",