vue-openlayers-plugin 1.0.84 → 1.0.87

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-6f94a7fa.mjs";
2
+ import { l as layerEventBus } from "./index-b5b0a094.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-6f94a7fa.mjs";
2
+ import { T as TooltipHelper } from "./index-b5b0a094.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-6f94a7fa.mjs";
1
+ import { a1 as _sfc_main } from "./index-b5b0a094.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { e as _sfc_main } from "./index-6f94a7fa.mjs";
1
+ import { h as _sfc_main } from "./index-b5b0a094.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { h as _sfc_main } from "./index-6f94a7fa.mjs";
1
+ import { e as _sfc_main } from "./index-b5b0a094.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-6f94a7fa.mjs";
2
+ import { f as formatMeasurementResult, g as getUnitByType, d as _export_sfc } from "./index-b5b0a094.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-6f94a7fa.mjs";
3
- import { E as ElMessageBox } from "./index-91e9a4e6.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-b5b0a094.mjs";
3
+ import { E as ElMessageBox } from "./index-5bc5966e.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-6f94a7fa.mjs";
3
- import { E as ElMessageBox } from "./index-91e9a4e6.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-b5b0a094.mjs";
3
+ import { E as ElMessageBox } from "./index-5bc5966e.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-6f94a7fa.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-b5b0a094.mjs";
3
3
  const isValidComponentSize = (val) => ["", ...componentSizes].includes(val);
4
4
  const FOCUSABLE_CHILDREN = "_trap-focus-children";
5
5
  const FOCUS_STACK = [];
@@ -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$3 = { 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$3 }));
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;
@@ -297490,9 +297490,9 @@ var H$1 = function(e8) {
297490
297490
  };
297491
297491
  var W$1 = /^\[object .+?Constructor\]$/;
297492
297492
  var q$1 = Function.prototype;
297493
- var Y$1 = Object.prototype;
297493
+ var Y$2 = Object.prototype;
297494
297494
  var J$1 = q$1.toString;
297495
- var X$1 = Y$1.hasOwnProperty;
297495
+ var X$1 = Y$2.hasOwnProperty;
297496
297496
  var K$1 = RegExp("^" + J$1.call(X$1).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));
@@ -297506,7 +297506,7 @@ var ee$1 = function(e8, n2) {
297506
297506
  };
297507
297507
  var ne$1 = ee$1(k$1, "Map");
297508
297508
  var te$1 = ee$1(Object, "create");
297509
- var re$2 = function() {
297509
+ var re$1 = function() {
297510
297510
  this.__data__ = te$1 ? te$1(null) : {}, this.size = 0;
297511
297511
  };
297512
297512
  var oe$1 = function(e8) {
@@ -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$1, 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() };
@@ -297547,22 +297547,22 @@ var le$1 = function(e8) {
297547
297547
  var n2 = typeof e8;
297548
297548
  return "string" == n2 || "number" == n2 || "symbol" == n2 || "boolean" == n2 ? "__proto__" !== e8 : null === e8;
297549
297549
  };
297550
- var ve$1 = function(e8, n2) {
297550
+ var ve$2 = function(e8, n2) {
297551
297551
  var t3 = e8.__data__;
297552
297552
  return le$1(n2) ? t3["string" == typeof n2 ? "string" : "hash"] : t3.map;
297553
297553
  };
297554
297554
  var pe$2 = function(e8) {
297555
- var n2 = ve$1(this, e8).delete(e8);
297555
+ var n2 = ve$2(this, e8).delete(e8);
297556
297556
  return this.size -= n2 ? 1 : 0, n2;
297557
297557
  };
297558
- var ge$1 = function(e8) {
297559
- return ve$1(this, e8).get(e8);
297558
+ var ge$2 = function(e8) {
297559
+ return ve$2(this, e8).get(e8);
297560
297560
  };
297561
297561
  var ye$1 = function(e8) {
297562
- return ve$1(this, e8).has(e8);
297562
+ return ve$2(this, e8).has(e8);
297563
297563
  };
297564
297564
  var be$1 = function(e8, n2) {
297565
- var t3 = ve$1(this, e8), r2 = t3.size;
297565
+ var t3 = ve$2(this, e8), r2 = t3.size;
297566
297566
  return t3.set(e8, n2), this.size += t3.size == r2 ? 0 : 1, this;
297567
297567
  };
297568
297568
  function me$2(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-37a0bbb3.mjs"),
468749
- "basemap": () => import("./BasemapPanel-1145a7ed.mjs"),
468750
- "print": () => import("./MapPrintDialog-3d0a2891.mjs"),
468751
- "layer-panel": () => import("./LayerPanel-0272f4a3.mjs"),
468752
- "coordinate": () => import("./CoordinateLocationDialog-be972ee5.mjs"),
468748
+ "measurement": () => import("./MeasurementDialog-d29c4928.mjs"),
468749
+ "basemap": () => import("./BasemapPanel-6d2a04e9.mjs"),
468750
+ "print": () => import("./MapPrintDialog-74d86245.mjs"),
468751
+ "layer-panel": () => import("./LayerPanel-de7c698a.mjs"),
468752
+ "coordinate": () => import("./CoordinateLocationDialog-de357c83.mjs"),
468753
468753
  "region-navigation": () => import("./RegionNavigationDialog-0808549f.mjs"),
468754
- "my-markers": () => import("./MyMarkersDialog-61d5c30d.mjs"),
468755
- "view-bookmarks": () => import("./ViewBookmarksDialog-107a29d1.mjs"),
468756
- "map-drawing": () => import("./index-3d1e1ad0.mjs"),
468757
- "filter-panel": () => import("./FilterPanel-9d55d20c.mjs")
468754
+ "my-markers": () => import("./MyMarkersDialog-b4318073.mjs"),
468755
+ "view-bookmarks": () => import("./ViewBookmarksDialog-cdf56611.mjs"),
468756
+ "map-drawing": () => import("./index-dfd59202.mjs"),
468757
+ "filter-panel": () => import("./FilterPanel-d40a133c.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 ce$1 = /* @__PURE__ */ defineComponent({
472967
472967
  name: "Close",
472968
472968
  __name: "close",
472969
- setup(d2) {
472970
- return (C3, f2) => (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 de$1 = ce$1;
472982
+ var ue$1 = /* @__PURE__ */ defineComponent({
472983
472983
  name: "FullScreen",
472984
472984
  __name: "full-screen",
472985
- setup(d2) {
472986
- return (C3, f2) => (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 fe$1 = ue$1;
472998
+ const he$1 = { class: "custom-dialog-header" };
472999
+ const me$1 = ["id"];
473000
+ const pe$1 = { class: "custom-dialog-actions" };
473001
+ const ge$1 = {
473002
473002
  key: 1,
473003
473003
  class: "icon",
473004
473004
  viewBox: "0 0 1025 1024",
@@ -473007,21 +473007,23 @@ 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 ve$1 = ["onClick"];
473011
+ const Y$1 = /* @__PURE__ */ defineComponent({
473012
473012
  __name: "EPlusResizeDialog",
473013
473013
  props: {
473014
473014
  resizable: { type: Boolean, default: true },
473015
473015
  minWidth: { default: 200 },
473016
473016
  minHeight: { default: 150 },
473017
473017
  draggable: { type: Boolean, default: true },
473018
- showFullscreen: { type: Boolean, default: true }
473019
- },
473020
- setup(d2, { expose: C3 }) {
473021
- const f2 = d2, A5 = computed(() => f2.showFullscreen !== false), p5 = ref(), L2 = useAttrs$1(), X2 = useSlots(), a3 = ref(false), Y2 = computed(() => {
473022
- const s2 = L2.modal;
473023
- return s2 === void 0 ? false : s2 === "" ? true : s2 === "false" ? false : s2 === "true" ? true : !!s2;
473024
- }), i = {
473018
+ showFullscreen: { type: Boolean, default: true },
473019
+ modalPenetrable: { type: Boolean, default: true },
473020
+ closeOnClickModal: { type: Boolean, default: false }
473021
+ },
473022
+ setup(r2, { expose: S2 }) {
473023
+ const c2 = r2, j2 = computed(() => c2.showFullscreen !== false), i = ref(), V2 = useAttrs$1(), U2 = useSlots(), d2 = ref(false), g2 = computed(() => {
473024
+ const l2 = V2.modal;
473025
+ return l2 !== void 0 ? l2 === "" ? true : l2 === "false" ? false : l2 === "true" ? true : !!l2 : !c2.modalPenetrable;
473026
+ }), a3 = {
473025
473027
  width: "",
473026
473028
  height: "",
473027
473029
  left: "",
@@ -473030,137 +473032,154 @@ const N$1 = /* @__PURE__ */ defineComponent({
473030
473032
  marginTop: "",
473031
473033
  marginBottom: ""
473032
473034
  }, $2 = () => {
473033
- a3.value ? (a3.value = false, nextTick(() => {
473034
- 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 = ""), a3.value = true), nextTick(() => {
473036
- R2();
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
+ M5();
473037
473039
  });
473038
473040
  };
473039
- C3({
473040
- dialogRef: p5,
473041
+ S2({
473042
+ dialogRef: i,
473041
473043
  toggleFullscreen: $2,
473042
- isFullscreen: a3
473044
+ isFullscreen: d2
473043
473045
  });
473044
- let k2 = 0, H4 = 0, x2 = 0, B3 = 0, g2 = 0, y2 = 0, r2 = "", e8 = null;
473045
- const j2 = ["n", "e", "s", "w", "ne", "nw", "se", "sw"], R2 = () => {
473046
- var l2;
473047
- if (f2.resizable === false || a3.value) {
473046
+ let R2 = 0, H4 = 0, B3 = 0, C3 = 0, v5 = 0, y2 = 0, u2 = "", e8 = null;
473047
+ const G2 = ["n", "e", "s", "w", "ne", "nw", "se", "sw"], M5 = () => {
473048
+ var s2;
473049
+ if (c2.resizable === false || d2.value) {
473048
473050
  e8 && e8.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "none");
473049
473051
  return;
473050
473052
  }
473051
- 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)
473052
473054
  return;
473053
- const s2 = ((l2 = p5.value.dialogContentRef) == null ? void 0 : l2.$el) || p5.value.$el;
473054
- !s2 || (e8 = s2.querySelector(".el-dialog") || s2, (!e8 || !e8.classList.contains("el-dialog")) && (s2.classList.contains("el-dialog") ? e8 = s2 : e8 = document.querySelector(".el-dialog")), !e8) || (getComputedStyle(e8).position === "static" && (e8.style.position = "relative"), e8.querySelector(".resize-handle")) || j2.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")) || G2.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, O2(t3)), n2.addEventListener("mousedown", (c2) => U2(c2, t3)), e8.appendChild(n2);
473058
+ n2.className = `resize-handle resize-handle-${t3}`, n2.dataset.dir = t3, Object.assign(n2.style, J2(t3)), n2.addEventListener("mousedown", (f2) => K2(f2, t3)), e8.appendChild(n2);
473057
473059
  });
473058
- }, O2 = (s2) => {
473059
- const o2 = "10px", l2 = "-5px", t3 = {
473060
+ }, J2 = (l2) => {
473061
+ const o2 = "10px", s2 = "-5px", t3 = {
473060
473062
  position: "absolute",
473061
473063
  zIndex: "100",
473062
- width: ["n", "s"].includes(s2) ? "100%" : o2,
473063
- height: ["e", "w"].includes(s2) ? "100%" : o2,
473064
- cursor: `${s2}-resize`
473064
+ width: ["n", "s"].includes(l2) ? "100%" : o2,
473065
+ height: ["e", "w"].includes(l2) ? "100%" : o2,
473066
+ cursor: `${l2}-resize`
473065
473067
  };
473066
- return s2.includes("n") && (t3.top = l2), s2.includes("s") && (t3.bottom = l2), s2.includes("w") && (t3.left = l2), s2.includes("e") && (t3.right = l2), s2 === "ne" && (t3.top = l2, t3.right = l2, t3.width = o2, t3.height = o2, t3.cursor = "ne-resize"), s2 === "nw" && (t3.top = l2, t3.left = l2, t3.width = o2, t3.height = o2, t3.cursor = "nw-resize"), s2 === "se" && (t3.bottom = l2, t3.right = l2, t3.width = o2, t3.height = o2, t3.cursor = "se-resize"), s2 === "sw" && (t3.bottom = l2, t3.left = l2, t3.width = o2, t3.height = o2, t3.cursor = "sw-resize"), t3;
473067
- }, U2 = (s2, o2) => {
473068
- if (s2.preventDefault(), s2.stopPropagation(), !e8)
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
+ }, K2 = (l2, o2) => {
473070
+ if (l2.preventDefault(), l2.stopPropagation(), !e8)
473069
473071
  return;
473070
- r2 = o2, k2 = s2.clientX, H4 = s2.clientY;
473071
- const l2 = window.getComputedStyle(e8);
473072
- x2 = parseInt(l2.width), B3 = parseInt(l2.height), g2 = parseInt(l2.left) || 0, y2 = parseInt(l2.top) || 0;
473072
+ u2 = o2, R2 = l2.clientX, H4 = l2.clientY;
473073
+ const s2 = window.getComputedStyle(e8);
473074
+ B3 = parseInt(s2.width), C3 = parseInt(s2.height), v5 = parseInt(s2.left) || 0, y2 = parseInt(s2.top) || 0;
473073
473075
  const t3 = e8.getBoundingClientRect();
473074
- if (l2.position !== "absolute" && l2.position !== "fixed") {
473075
- const n2 = e8.offsetParent, c2 = n2 ? n2.getBoundingClientRect() : { left: 0, top: 0 }, v5 = t3.left - c2.left, w2 = t3.top - c2.top;
473076
- e8.style.position = "absolute", e8.style.margin = "0", e8.style.left = `${v5}px`, e8.style.top = `${w2}px`, g2 = v5, y2 = w2;
473076
+ if (s2.position !== "absolute" && s2.position !== "fixed") {
473077
+ const n2 = e8.offsetParent, f2 = n2 ? n2.getBoundingClientRect() : { left: 0, top: 0 }, w2 = t3.left - f2.left, _2 = t3.top - f2.top;
473078
+ e8.style.position = "absolute", e8.style.margin = "0", e8.style.left = `${w2}px`, e8.style.top = `${_2}px`, v5 = w2, y2 = _2;
473077
473079
  } else
473078
- g2 = parseInt(l2.left), y2 = parseInt(l2.top);
473079
- document.addEventListener("mousemove", M5), document.addEventListener("mouseup", P6);
473080
- }, M5 = (s2) => {
473080
+ v5 = parseInt(s2.left), y2 = parseInt(s2.top);
473081
+ document.addEventListener("mousemove", P6), document.addEventListener("mouseup", T2);
473082
+ }, P6 = (l2) => {
473081
473083
  if (!e8)
473082
473084
  return;
473083
- const o2 = s2.clientX - k2, l2 = s2.clientY - H4;
473084
- let t3 = x2, n2 = B3, c2 = g2, v5 = y2;
473085
- const w2 = f2.minWidth || 200, T2 = f2.minHeight || 150;
473086
- if (r2.includes("e") && (t3 = Math.max(w2, x2 + o2)), r2.includes("s") && (n2 = Math.max(T2, B3 + l2)), r2.includes("w")) {
473087
- const _2 = x2 - o2;
473088
- _2 >= w2 && (t3 = _2, c2 = g2 + o2);
473089
- }
473090
- if (r2.includes("n")) {
473091
- const _2 = B3 - l2;
473092
- _2 >= T2 && (n2 = _2, v5 = y2 + l2);
473093
- }
473094
- e8.style.width = `${t3}px`, e8.style.height = `${n2}px`, (r2.includes("w") || r2.includes("n")) && (e8.style.left = `${c2}px`, e8.style.top = `${v5}px`);
473095
- }, P6 = () => {
473096
- document.removeEventListener("mousemove", M5), document.removeEventListener("mouseup", P6);
473097
- };
473098
- return watch(() => L2.modelValue, (s2) => {
473099
- s2 && nextTick(() => {
473100
- R2();
473101
- });
473102
- }), (s2, o2) => (openBlock(), createBlock(unref(ElDialog), mergeProps({
473085
+ const o2 = l2.clientX - R2, s2 = l2.clientY - H4;
473086
+ let t3 = B3, n2 = C3, f2 = v5, w2 = y2;
473087
+ const _2 = c2.minWidth || 200, I2 = c2.minHeight || 150;
473088
+ if (u2.includes("e") && (t3 = Math.max(_2, B3 + o2)), u2.includes("s") && (n2 = Math.max(I2, C3 + s2)), u2.includes("w")) {
473089
+ const z2 = B3 - o2;
473090
+ z2 >= _2 && (t3 = z2, f2 = v5 + o2);
473091
+ }
473092
+ if (u2.includes("n")) {
473093
+ const z2 = C3 - s2;
473094
+ z2 >= I2 && (n2 = z2, w2 = y2 + s2);
473095
+ }
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 = `${w2}px`);
473097
+ }, T2 = () => {
473098
+ document.removeEventListener("mousemove", P6), document.removeEventListener("mouseup", T2);
473099
+ };
473100
+ watch(() => V2.modelValue, (l2) => {
473101
+ l2 && nextTick(() => {
473102
+ M5(), D2();
473103
+ });
473104
+ }), watch(() => g2.value, () => {
473105
+ nextTick(() => {
473106
+ D2();
473107
+ });
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 && (g2.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({
473103
473120
  ref_key: "dialogRef",
473104
- ref: p5,
473105
- class: "e-plus-resize-dialog"
473106
- }, s2.$attrs, {
473107
- modal: Y2.value,
473108
- draggable: d2.draggable,
473109
- fullscreen: a3.value,
473121
+ ref: i,
473122
+ class: ["e-plus-resize-dialog", { "is-modal-hidden": !g2.value }]
473123
+ }, l2.$attrs, {
473124
+ modal: g2.value,
473125
+ "close-on-click-modal": r2.closeOnClickModal,
473126
+ draggable: r2.draggable,
473127
+ fullscreen: d2.value,
473110
473128
  "show-close": false
473111
473129
  }), createSlots({
473112
- header: withCtx(({ close: l2, titleId: t3, titleClass: n2 }) => [
473113
- createElementVNode("div", de$1, [
473130
+ header: withCtx(({ close: s2, titleId: t3, titleClass: n2 }) => [
473131
+ createElementVNode("div", he$1, [
473132
+ createTextVNode(toDisplayString(g2.value) + " ", 1),
473114
473133
  createElementVNode("span", {
473115
473134
  id: t3,
473116
473135
  class: normalizeClass(n2)
473117
- }, toDisplayString(s2.$attrs.title), 11, fe$1),
473118
- createElementVNode("div", he$1, [
473119
- A5.value ? (openBlock(), createElementBlock("div", {
473136
+ }, toDisplayString(l2.$attrs.title), 11, me$1),
473137
+ createElementVNode("div", pe$1, [
473138
+ j2.value ? (openBlock(), createElementBlock("div", {
473120
473139
  key: 0,
473121
473140
  class: "custom-header-btn",
473122
473141
  onClick: $2
473123
473142
  }, [
473124
473143
  createVNode$1(unref(ElIcon), { size: "18" }, {
473125
473144
  default: withCtx(() => [
473126
- a3.value ? (openBlock(), createElementBlock("svg", me$1, [...o2[0] || (o2[0] = [
473145
+ d2.value ? (openBlock(), createElementBlock("svg", ge$1, [...o2[0] || (o2[0] = [
473127
473146
  createElementVNode("path", {
473128
473147
  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
473148
  fill: "currentColor"
473130
473149
  }, null, -1)
473131
- ])])) : (openBlock(), createBlock(unref(ue$1), { key: 0 }))
473150
+ ])])) : (openBlock(), createBlock(unref(fe$1), { key: 0 }))
473132
473151
  ]),
473133
473152
  _: 1
473134
473153
  })
473135
473154
  ])) : createCommentVNode("", true),
473136
- s2.$attrs["show-close"] !== false ? (openBlock(), createElementBlock("div", {
473155
+ l2.$attrs["show-close"] !== false ? (openBlock(), createElementBlock("div", {
473137
473156
  key: 1,
473138
473157
  class: "custom-header-btn",
473139
- onClick: l2
473158
+ onClick: s2
473140
473159
  }, [
473141
473160
  createVNode$1(unref(ElIcon), { size: "20" }, {
473142
473161
  default: withCtx(() => [
473143
- createVNode$1(unref(re$1))
473162
+ createVNode$1(unref(de$1))
473144
473163
  ]),
473145
473164
  _: 1
473146
473165
  })
473147
- ], 8, pe$1)) : createCommentVNode("", true)
473166
+ ], 8, ve$1)) : createCommentVNode("", true)
473148
473167
  ])
473149
473168
  ])
473150
473169
  ]),
473151
473170
  _: 2
473152
473171
  }, [
473153
- renderList(unref(X2), (l2, t3) => ({
473172
+ renderList(unref(U2), (s2, t3) => ({
473154
473173
  name: t3,
473155
473174
  fn: withCtx((n2) => [
473156
- renderSlot(s2.$slots, t3, normalizeProps(guardReactiveProps(n2 || {})))
473175
+ renderSlot(l2.$slots, t3, normalizeProps(guardReactiveProps(n2 || {})))
473157
473176
  ])
473158
473177
  }))
473159
- ]), 1040, ["modal", "draggable", "fullscreen"]));
473178
+ ]), 1040, ["class", "modal", "close-on-click-modal", "draggable", "fullscreen"]));
473160
473179
  }
473161
473180
  });
473162
- N$1.install = (d2) => {
473163
- d2.component("EPlusResizeDialog", N$1);
473181
+ Y$1.install = (r2) => {
473182
+ r2.component("EPlusResizeDialog", Y$1);
473164
473183
  };
473165
473184
  const _hoisted_1$6 = { class: "flex-1 overflow-y-auto p-4" };
473166
473185
  const _hoisted_2$5 = { class: "pb-2 flex items-center justify-between" };
@@ -473207,7 +473226,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
473207
473226
  resizable: ui2.resizable ?? true,
473208
473227
  showClose: ui2.showClose ?? true,
473209
473228
  showFullscreen: ui2.showFullscreen ?? true,
473210
- closeOnClickModal: ui2.closeOnClickModal ?? true,
473229
+ closeOnClickModal: ui2.closeOnClickModal ?? false,
473211
473230
  closeOnPressEscape: ui2.closeOnPressEscape ?? true,
473212
473231
  destroyOnClose: ui2.destroyOnClose ?? false,
473213
473232
  lockScroll: ui2.lockScroll ?? true,
@@ -473937,7 +473956,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
473937
473956
  const _component_el_tree = resolveComponent("el-tree");
473938
473957
  const _component_el_tab_pane = resolveComponent("el-tab-pane");
473939
473958
  const _component_el_tabs = resolveComponent("el-tabs");
473940
- return openBlock(), createBlock(unref(N$1), mergeProps({
473959
+ return openBlock(), createBlock(unref(Y$1), mergeProps({
473941
473960
  modelValue: visible.value,
473942
473961
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => visible.value = $event)
473943
473962
  }, dialogProps2.value, { onClose: handleClose }), createSlots({
@@ -475883,7 +475902,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
475883
475902
  resizable: lpControls.resizable ?? true,
475884
475903
  showClose: lpControls.showClose ?? true,
475885
475904
  showFullscreen: lpControls.showFullscreen ?? true,
475886
- closeOnClickModal: lpControls.closeOnClickModal ?? true,
475905
+ closeOnClickModal: lpControls.closeOnClickModal ?? false,
475887
475906
  closeOnPressEscape: lpControls.closeOnPressEscape ?? true,
475888
475907
  fullscreen: lpControls.fullscreen ?? false,
475889
475908
  destroyOnClose: lpControls.destroyOnClose ?? false,
@@ -477314,7 +477333,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
477314
477333
  right: {},
477315
477334
  bottom: {},
477316
477335
  modal: { type: Boolean, default: true },
477317
- closeOnClickModal: { type: Boolean, default: true },
477336
+ closeOnClickModal: { type: Boolean, default: false },
477318
477337
  closeOnPressEscape: { type: Boolean, default: true },
477319
477338
  showClose: { type: Boolean, default: true },
477320
477339
  showFullscreen: { type: Boolean, default: true },
@@ -488771,7 +488790,7 @@ function(t3) {
488771
488790
  */
488772
488791
  function(t3) {
488773
488792
  function e8() {
488774
- return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-03fbdea2.mjs")).catch(function(t4) {
488793
+ return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-1fe2c0bd.mjs")).catch(function(t4) {
488775
488794
  return Promise.reject(new Error("Could not load canvg: " + t4));
488776
488795
  }).then(function(t4) {
488777
488796
  return t4.default ? t4.default : t4;
@@ -497655,7 +497674,7 @@ const install = (app) => {
497655
497674
  app.component("OlBaseLayerSwitcher", OlBaseLayerSwitcher);
497656
497675
  app.component("CustomOpenlayer", _sfc_main$2);
497657
497676
  app.component("CustomDialog", _sfc_main);
497658
- app.component("EPlusDialog", N$1);
497677
+ app.component("EPlusDialog", Y$1);
497659
497678
  app.component("SvgIcon", _sfc_main$1);
497660
497679
  };
497661
497680
  const index = {
@@ -497663,7 +497682,7 @@ const index = {
497663
497682
  OlMap: _sfc_main$2,
497664
497683
  CustomOpenlayer: _sfc_main$2,
497665
497684
  CustomDialog: _sfc_main,
497666
- EPlusDialog: N$1,
497685
+ EPlusDialog: Y$1,
497667
497686
  SvgIcon: _sfc_main$1
497668
497687
  };
497669
497688
  const version = "1.0.0";
@@ -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-6f94a7fa.mjs";
2
+ import { d as _export_sfc, $ as DrawingManager, a0 as close_default } from "./index-b5b0a094.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-6f94a7fa.mjs";
1
+ import { c as commonjsGlobal, R as RGBColor, r as requestAnimationFrame, _ as _asyncToGenerator, a as _, p as processCanvasRGBA, b as _defineProperty } from "./index-b5b0a094.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-6f94a7fa.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-b5b0a094.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$3 = { 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$3 }));
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$2 = Object.prototype, J$1 = q$1.toString, X$1 = Y$2.hasOwnProperty, K$1 = RegExp("^" + J$1.call(X$1).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
  };
@@ -298699,14 +298699,14 @@ ${publicKeyStr}
298699
298699
  var t2 = Z$2(e3, n2);
298700
298700
  return Q$1(t2) ? t2 : void 0;
298701
298701
  }, ne$1 = ee$1(k$1, "Map"), te$1 = ee$1(Object, "create");
298702
- var re$2 = function() {
298702
+ var re$1 = function() {
298703
298703
  this.__data__ = te$1 ? te$1(null) : {}, this.size = 0;
298704
298704
  };
298705
298705
  var oe$1 = function(e3) {
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$1, 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() };
@@ -298738,22 +298738,22 @@ ${publicKeyStr}
298738
298738
  var n2 = typeof e3;
298739
298739
  return "string" == n2 || "number" == n2 || "symbol" == n2 || "boolean" == n2 ? "__proto__" !== e3 : null === e3;
298740
298740
  };
298741
- var ve$1 = function(e3, n2) {
298741
+ var ve$2 = function(e3, n2) {
298742
298742
  var t2 = e3.__data__;
298743
298743
  return le$1(n2) ? t2["string" == typeof n2 ? "string" : "hash"] : t2.map;
298744
298744
  };
298745
298745
  var pe$2 = function(e3) {
298746
- var n2 = ve$1(this, e3).delete(e3);
298746
+ var n2 = ve$2(this, e3).delete(e3);
298747
298747
  return this.size -= n2 ? 1 : 0, n2;
298748
298748
  };
298749
- var ge$1 = function(e3) {
298750
- return ve$1(this, e3).get(e3);
298749
+ var ge$2 = function(e3) {
298750
+ return ve$2(this, e3).get(e3);
298751
298751
  };
298752
298752
  var ye$1 = function(e3) {
298753
- return ve$1(this, e3).has(e3);
298753
+ return ve$2(this, e3).has(e3);
298754
298754
  };
298755
298755
  var be$1 = function(e3, n2) {
298756
- var t2 = ve$1(this, e3), r2 = t2.size;
298756
+ var t2 = ve$2(this, e3), r2 = t2.size;
298757
298757
  return t2.set(e3, n2), this.size += t2.size == r2 ? 0 : 1, this;
298758
298758
  };
298759
298759
  function me$2(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 ce$1 = /* @__PURE__ */ vue.defineComponent({
474511
474511
  name: "Close",
474512
474512
  __name: "close",
474513
- setup(d2) {
474514
- return (C3, f2) => (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
+ }), de$1 = ce$1, ue$1 = /* @__PURE__ */ vue.defineComponent({
474525
474525
  name: "FullScreen",
474526
474526
  __name: "full-screen",
474527
- setup(d2) {
474528
- return (C3, f2) => (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
+ }), fe$1 = ue$1;
474539
+ const he$1 = { class: "custom-dialog-header" }, me$1 = ["id"], pe$1 = { class: "custom-dialog-actions" }, ge$1 = {
474540
474540
  key: 1,
474541
474541
  class: "icon",
474542
474542
  viewBox: "0 0 1025 1024",
@@ -474544,20 +474544,22 @@ ${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
+ }, ve$1 = ["onClick"], Y$1 = /* @__PURE__ */ vue.defineComponent({
474548
474548
  __name: "EPlusResizeDialog",
474549
474549
  props: {
474550
474550
  resizable: { type: Boolean, default: true },
474551
474551
  minWidth: { default: 200 },
474552
474552
  minHeight: { default: 150 },
474553
474553
  draggable: { type: Boolean, default: true },
474554
- showFullscreen: { type: Boolean, default: true }
474555
- },
474556
- setup(d2, { expose: C3 }) {
474557
- const f2 = d2, A5 = vue.computed(() => f2.showFullscreen !== false), p5 = vue.ref(), L2 = vue.useAttrs(), X2 = vue.useSlots(), a3 = vue.ref(false), Y2 = vue.computed(() => {
474558
- const s2 = L2.modal;
474559
- return s2 === void 0 ? false : s2 === "" ? true : s2 === "false" ? false : s2 === "true" ? true : !!s2;
474560
- }), i2 = {
474554
+ showFullscreen: { type: Boolean, default: true },
474555
+ modalPenetrable: { type: Boolean, default: true },
474556
+ closeOnClickModal: { type: Boolean, default: false }
474557
+ },
474558
+ setup(r2, { expose: S2 }) {
474559
+ const c2 = r2, j2 = vue.computed(() => c2.showFullscreen !== false), i2 = vue.ref(), V2 = vue.useAttrs(), U2 = vue.useSlots(), d2 = vue.ref(false), g2 = vue.computed(() => {
474560
+ const l2 = V2.modal;
474561
+ return l2 !== void 0 ? l2 === "" ? true : l2 === "false" ? false : l2 === "true" ? true : !!l2 : !c2.modalPenetrable;
474562
+ }), a3 = {
474561
474563
  width: "",
474562
474564
  height: "",
474563
474565
  left: "",
@@ -474566,137 +474568,154 @@ ${this.attributes_.map(
474566
474568
  marginTop: "",
474567
474569
  marginBottom: ""
474568
474570
  }, $2 = () => {
474569
- a3.value ? (a3.value = false, vue.nextTick(() => {
474570
- 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 = ""), a3.value = true), vue.nextTick(() => {
474572
- R2();
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
+ M5();
474573
474575
  });
474574
474576
  };
474575
- C3({
474576
- dialogRef: p5,
474577
+ S2({
474578
+ dialogRef: i2,
474577
474579
  toggleFullscreen: $2,
474578
- isFullscreen: a3
474580
+ isFullscreen: d2
474579
474581
  });
474580
- let k2 = 0, H4 = 0, x2 = 0, B3 = 0, g2 = 0, y2 = 0, r2 = "", e3 = null;
474581
- const j2 = ["n", "e", "s", "w", "ne", "nw", "se", "sw"], R2 = () => {
474582
- var l2;
474583
- if (f2.resizable === false || a3.value) {
474582
+ let R2 = 0, H4 = 0, B3 = 0, C3 = 0, v5 = 0, y2 = 0, u2 = "", e3 = null;
474583
+ const G2 = ["n", "e", "s", "w", "ne", "nw", "se", "sw"], M5 = () => {
474584
+ var s2;
474585
+ if (c2.resizable === false || d2.value) {
474584
474586
  e3 && e3.querySelectorAll(".resize-handle").forEach((n2) => n2.style.display = "none");
474585
474587
  return;
474586
474588
  }
474587
- 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)
474588
474590
  return;
474589
- const s2 = ((l2 = p5.value.dialogContentRef) == null ? void 0 : l2.$el) || p5.value.$el;
474590
- !s2 || (e3 = s2.querySelector(".el-dialog") || s2, (!e3 || !e3.classList.contains("el-dialog")) && (s2.classList.contains("el-dialog") ? e3 = s2 : e3 = document.querySelector(".el-dialog")), !e3) || (getComputedStyle(e3).position === "static" && (e3.style.position = "relative"), e3.querySelector(".resize-handle")) || j2.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")) || G2.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, O2(t2)), n2.addEventListener("mousedown", (c2) => U2(c2, t2)), e3.appendChild(n2);
474594
+ n2.className = `resize-handle resize-handle-${t2}`, n2.dataset.dir = t2, Object.assign(n2.style, J2(t2)), n2.addEventListener("mousedown", (f2) => K2(f2, t2)), e3.appendChild(n2);
474593
474595
  });
474594
- }, O2 = (s2) => {
474595
- const o2 = "10px", l2 = "-5px", t2 = {
474596
+ }, J2 = (l2) => {
474597
+ const o2 = "10px", s2 = "-5px", t2 = {
474596
474598
  position: "absolute",
474597
474599
  zIndex: "100",
474598
- width: ["n", "s"].includes(s2) ? "100%" : o2,
474599
- height: ["e", "w"].includes(s2) ? "100%" : o2,
474600
- cursor: `${s2}-resize`
474600
+ width: ["n", "s"].includes(l2) ? "100%" : o2,
474601
+ height: ["e", "w"].includes(l2) ? "100%" : o2,
474602
+ cursor: `${l2}-resize`
474601
474603
  };
474602
- return s2.includes("n") && (t2.top = l2), s2.includes("s") && (t2.bottom = l2), s2.includes("w") && (t2.left = l2), s2.includes("e") && (t2.right = l2), s2 === "ne" && (t2.top = l2, t2.right = l2, t2.width = o2, t2.height = o2, t2.cursor = "ne-resize"), s2 === "nw" && (t2.top = l2, t2.left = l2, t2.width = o2, t2.height = o2, t2.cursor = "nw-resize"), s2 === "se" && (t2.bottom = l2, t2.right = l2, t2.width = o2, t2.height = o2, t2.cursor = "se-resize"), s2 === "sw" && (t2.bottom = l2, t2.left = l2, t2.width = o2, t2.height = o2, t2.cursor = "sw-resize"), t2;
474603
- }, U2 = (s2, o2) => {
474604
- if (s2.preventDefault(), s2.stopPropagation(), !e3)
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
+ }, K2 = (l2, o2) => {
474606
+ if (l2.preventDefault(), l2.stopPropagation(), !e3)
474605
474607
  return;
474606
- r2 = o2, k2 = s2.clientX, H4 = s2.clientY;
474607
- const l2 = window.getComputedStyle(e3);
474608
- x2 = parseInt(l2.width), B3 = parseInt(l2.height), g2 = parseInt(l2.left) || 0, y2 = parseInt(l2.top) || 0;
474608
+ u2 = o2, R2 = l2.clientX, H4 = l2.clientY;
474609
+ const s2 = window.getComputedStyle(e3);
474610
+ B3 = parseInt(s2.width), C3 = parseInt(s2.height), v5 = parseInt(s2.left) || 0, y2 = parseInt(s2.top) || 0;
474609
474611
  const t2 = e3.getBoundingClientRect();
474610
- if (l2.position !== "absolute" && l2.position !== "fixed") {
474611
- const n2 = e3.offsetParent, c2 = n2 ? n2.getBoundingClientRect() : { left: 0, top: 0 }, v5 = t2.left - c2.left, w2 = t2.top - c2.top;
474612
- e3.style.position = "absolute", e3.style.margin = "0", e3.style.left = `${v5}px`, e3.style.top = `${w2}px`, g2 = v5, y2 = w2;
474612
+ if (s2.position !== "absolute" && s2.position !== "fixed") {
474613
+ const n2 = e3.offsetParent, f2 = n2 ? n2.getBoundingClientRect() : { left: 0, top: 0 }, w2 = t2.left - f2.left, _2 = t2.top - f2.top;
474614
+ e3.style.position = "absolute", e3.style.margin = "0", e3.style.left = `${w2}px`, e3.style.top = `${_2}px`, v5 = w2, y2 = _2;
474613
474615
  } else
474614
- g2 = parseInt(l2.left), y2 = parseInt(l2.top);
474615
- document.addEventListener("mousemove", M5), document.addEventListener("mouseup", P6);
474616
- }, M5 = (s2) => {
474616
+ v5 = parseInt(s2.left), y2 = parseInt(s2.top);
474617
+ document.addEventListener("mousemove", P6), document.addEventListener("mouseup", T2);
474618
+ }, P6 = (l2) => {
474617
474619
  if (!e3)
474618
474620
  return;
474619
- const o2 = s2.clientX - k2, l2 = s2.clientY - H4;
474620
- let t2 = x2, n2 = B3, c2 = g2, v5 = y2;
474621
- const w2 = f2.minWidth || 200, T2 = f2.minHeight || 150;
474622
- if (r2.includes("e") && (t2 = Math.max(w2, x2 + o2)), r2.includes("s") && (n2 = Math.max(T2, B3 + l2)), r2.includes("w")) {
474623
- const _2 = x2 - o2;
474624
- _2 >= w2 && (t2 = _2, c2 = g2 + o2);
474625
- }
474626
- if (r2.includes("n")) {
474627
- const _2 = B3 - l2;
474628
- _2 >= T2 && (n2 = _2, v5 = y2 + l2);
474629
- }
474630
- e3.style.width = `${t2}px`, e3.style.height = `${n2}px`, (r2.includes("w") || r2.includes("n")) && (e3.style.left = `${c2}px`, e3.style.top = `${v5}px`);
474631
- }, P6 = () => {
474632
- document.removeEventListener("mousemove", M5), document.removeEventListener("mouseup", P6);
474633
- };
474634
- return vue.watch(() => L2.modelValue, (s2) => {
474635
- s2 && vue.nextTick(() => {
474636
- R2();
474637
- });
474638
- }), (s2, o2) => (vue.openBlock(), vue.createBlock(vue.unref(ElDialog), vue.mergeProps({
474621
+ const o2 = l2.clientX - R2, s2 = l2.clientY - H4;
474622
+ let t2 = B3, n2 = C3, f2 = v5, w2 = y2;
474623
+ const _2 = c2.minWidth || 200, I2 = c2.minHeight || 150;
474624
+ if (u2.includes("e") && (t2 = Math.max(_2, B3 + o2)), u2.includes("s") && (n2 = Math.max(I2, C3 + s2)), u2.includes("w")) {
474625
+ const z2 = B3 - o2;
474626
+ z2 >= _2 && (t2 = z2, f2 = v5 + o2);
474627
+ }
474628
+ if (u2.includes("n")) {
474629
+ const z2 = C3 - s2;
474630
+ z2 >= I2 && (n2 = z2, w2 = y2 + s2);
474631
+ }
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 = `${w2}px`);
474633
+ }, T2 = () => {
474634
+ document.removeEventListener("mousemove", P6), document.removeEventListener("mouseup", T2);
474635
+ };
474636
+ vue.watch(() => V2.modelValue, (l2) => {
474637
+ l2 && vue.nextTick(() => {
474638
+ M5(), D2();
474639
+ });
474640
+ }), vue.watch(() => g2.value, () => {
474641
+ vue.nextTick(() => {
474642
+ D2();
474643
+ });
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 && (g2.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({
474639
474656
  ref_key: "dialogRef",
474640
- ref: p5,
474641
- class: "e-plus-resize-dialog"
474642
- }, s2.$attrs, {
474643
- modal: Y2.value,
474644
- draggable: d2.draggable,
474645
- fullscreen: a3.value,
474657
+ ref: i2,
474658
+ class: ["e-plus-resize-dialog", { "is-modal-hidden": !g2.value }]
474659
+ }, l2.$attrs, {
474660
+ modal: g2.value,
474661
+ "close-on-click-modal": r2.closeOnClickModal,
474662
+ draggable: r2.draggable,
474663
+ fullscreen: d2.value,
474646
474664
  "show-close": false
474647
474665
  }), vue.createSlots({
474648
- header: vue.withCtx(({ close: l2, titleId: t2, titleClass: n2 }) => [
474649
- vue.createElementVNode("div", de$1, [
474666
+ header: vue.withCtx(({ close: s2, titleId: t2, titleClass: n2 }) => [
474667
+ vue.createElementVNode("div", he$1, [
474668
+ vue.createTextVNode(vue.toDisplayString(g2.value) + " ", 1),
474650
474669
  vue.createElementVNode("span", {
474651
474670
  id: t2,
474652
474671
  class: vue.normalizeClass(n2)
474653
- }, vue.toDisplayString(s2.$attrs.title), 11, fe$1),
474654
- vue.createElementVNode("div", he$1, [
474655
- A5.value ? (vue.openBlock(), vue.createElementBlock("div", {
474672
+ }, vue.toDisplayString(l2.$attrs.title), 11, me$1),
474673
+ vue.createElementVNode("div", pe$1, [
474674
+ j2.value ? (vue.openBlock(), vue.createElementBlock("div", {
474656
474675
  key: 0,
474657
474676
  class: "custom-header-btn",
474658
474677
  onClick: $2
474659
474678
  }, [
474660
474679
  vue.createVNode(vue.unref(ElIcon), { size: "18" }, {
474661
474680
  default: vue.withCtx(() => [
474662
- a3.value ? (vue.openBlock(), vue.createElementBlock("svg", me$1, [...o2[0] || (o2[0] = [
474681
+ d2.value ? (vue.openBlock(), vue.createElementBlock("svg", ge$1, [...o2[0] || (o2[0] = [
474663
474682
  vue.createElementVNode("path", {
474664
474683
  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
474684
  fill: "currentColor"
474666
474685
  }, null, -1)
474667
- ])])) : (vue.openBlock(), vue.createBlock(vue.unref(ue$1), { key: 0 }))
474686
+ ])])) : (vue.openBlock(), vue.createBlock(vue.unref(fe$1), { key: 0 }))
474668
474687
  ]),
474669
474688
  _: 1
474670
474689
  })
474671
474690
  ])) : vue.createCommentVNode("", true),
474672
- s2.$attrs["show-close"] !== false ? (vue.openBlock(), vue.createElementBlock("div", {
474691
+ l2.$attrs["show-close"] !== false ? (vue.openBlock(), vue.createElementBlock("div", {
474673
474692
  key: 1,
474674
474693
  class: "custom-header-btn",
474675
- onClick: l2
474694
+ onClick: s2
474676
474695
  }, [
474677
474696
  vue.createVNode(vue.unref(ElIcon), { size: "20" }, {
474678
474697
  default: vue.withCtx(() => [
474679
- vue.createVNode(vue.unref(re$1))
474698
+ vue.createVNode(vue.unref(de$1))
474680
474699
  ]),
474681
474700
  _: 1
474682
474701
  })
474683
- ], 8, pe$1)) : vue.createCommentVNode("", true)
474702
+ ], 8, ve$1)) : vue.createCommentVNode("", true)
474684
474703
  ])
474685
474704
  ])
474686
474705
  ]),
474687
474706
  _: 2
474688
474707
  }, [
474689
- vue.renderList(vue.unref(X2), (l2, t2) => ({
474708
+ vue.renderList(vue.unref(U2), (s2, t2) => ({
474690
474709
  name: t2,
474691
474710
  fn: vue.withCtx((n2) => [
474692
- vue.renderSlot(s2.$slots, t2, vue.normalizeProps(vue.guardReactiveProps(n2 || {})))
474711
+ vue.renderSlot(l2.$slots, t2, vue.normalizeProps(vue.guardReactiveProps(n2 || {})))
474693
474712
  ])
474694
474713
  }))
474695
- ]), 1040, ["modal", "draggable", "fullscreen"]));
474714
+ ]), 1040, ["class", "modal", "close-on-click-modal", "draggable", "fullscreen"]));
474696
474715
  }
474697
474716
  });
474698
- N$1.install = (d2) => {
474699
- d2.component("EPlusResizeDialog", N$1);
474717
+ Y$1.install = (r2) => {
474718
+ r2.component("EPlusResizeDialog", Y$1);
474700
474719
  };
474701
474720
  const style = "";
474702
474721
  const _hoisted_1$f = { class: "flex-1 overflow-y-auto p-4" };
@@ -474744,7 +474763,7 @@ ${this.attributes_.map(
474744
474763
  resizable: ui2.resizable ?? true,
474745
474764
  showClose: ui2.showClose ?? true,
474746
474765
  showFullscreen: ui2.showFullscreen ?? true,
474747
- closeOnClickModal: ui2.closeOnClickModal ?? true,
474766
+ closeOnClickModal: ui2.closeOnClickModal ?? false,
474748
474767
  closeOnPressEscape: ui2.closeOnPressEscape ?? true,
474749
474768
  destroyOnClose: ui2.destroyOnClose ?? false,
474750
474769
  lockScroll: ui2.lockScroll ?? true,
@@ -475474,7 +475493,7 @@ ${this.attributes_.map(
475474
475493
  const _component_el_tree = vue.resolveComponent("el-tree");
475475
475494
  const _component_el_tab_pane = vue.resolveComponent("el-tab-pane");
475476
475495
  const _component_el_tabs = vue.resolveComponent("el-tabs");
475477
- return vue.openBlock(), vue.createBlock(vue.unref(N$1), vue.mergeProps({
475496
+ return vue.openBlock(), vue.createBlock(vue.unref(Y$1), vue.mergeProps({
475478
475497
  modelValue: visible.value,
475479
475498
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => visible.value = $event)
475480
475499
  }, dialogProps2.value, { onClose: handleClose }), vue.createSlots({
@@ -477431,7 +477450,7 @@ ${this.attributes_.map(
477431
477450
  resizable: lpControls.resizable ?? true,
477432
477451
  showClose: lpControls.showClose ?? true,
477433
477452
  showFullscreen: lpControls.showFullscreen ?? true,
477434
- closeOnClickModal: lpControls.closeOnClickModal ?? true,
477453
+ closeOnClickModal: lpControls.closeOnClickModal ?? false,
477435
477454
  closeOnPressEscape: lpControls.closeOnPressEscape ?? true,
477436
477455
  fullscreen: lpControls.fullscreen ?? false,
477437
477456
  destroyOnClose: lpControls.destroyOnClose ?? false,
@@ -478863,7 +478882,7 @@ ${this.attributes_.map(
478863
478882
  right: {},
478864
478883
  bottom: {},
478865
478884
  modal: { type: Boolean, default: true },
478866
- closeOnClickModal: { type: Boolean, default: true },
478885
+ closeOnClickModal: { type: Boolean, default: false },
478867
478886
  closeOnPressEscape: { type: Boolean, default: true },
478868
478887
  showClose: { type: Boolean, default: true },
478869
478888
  showFullscreen: { type: Boolean, default: true },
@@ -499141,7 +499160,7 @@ ${this.attributes_.map(
499141
499160
  app.component("OlBaseLayerSwitcher", OlBaseLayerSwitcher);
499142
499161
  app.component("CustomOpenlayer", _sfc_main$b);
499143
499162
  app.component("CustomDialog", _sfc_main$9);
499144
- app.component("EPlusDialog", N$1);
499163
+ app.component("EPlusDialog", Y$1);
499145
499164
  app.component("SvgIcon", _sfc_main$a);
499146
499165
  };
499147
499166
  const index$3 = {
@@ -499149,7 +499168,7 @@ ${this.attributes_.map(
499149
499168
  OlMap: _sfc_main$b,
499150
499169
  CustomOpenlayer: _sfc_main$b,
499151
499170
  CustomDialog: _sfc_main$9,
499152
- EPlusDialog: N$1,
499171
+ EPlusDialog: Y$1,
499153
499172
  SvgIcon: _sfc_main$a
499154
499173
  };
499155
499174
  const version$1 = "1.0.0";
package/lib/style.css CHANGED
@@ -1130,7 +1130,7 @@ label {
1130
1130
  }
1131
1131
  }
1132
1132
  }
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}
1133
+ .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
1134
 
1135
1135
  .layer-dialog {
1136
1136
  /* 全局样式面板样式 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-openlayers-plugin",
3
- "version": "1.0.84",
3
+ "version": "1.0.87",
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.15",
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.15",
75
77
  "element-plus": "^2.13.0",
76
78
  "eslint": "^8.45.0",
77
79
  "eslint-plugin-vue": "^9.17.0",