@abi-software/mapintegratedvuer 1.6.4-beta.0 → 1.6.4-beta.2

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 "vue";
2
- import { u as p, b as g, E as l, T as y, c as m, d as w } from "./index-C5HdWlzX.js";
2
+ import { u as p, b as g, E as l, T as y, c as m, d as w } from "./index-D9zO35dX.js";
3
3
  import { mapStores as A } from "pinia";
4
4
  let c = 7, s = 5;
5
5
  const v = [
@@ -1,6 +1,6 @@
1
- import { _ as c, j as h, t as u, T as l, E as r } from "./index-C5HdWlzX.js";
2
- import { C as I } from "./ContentMixin-ONv_Sw06.js";
3
- import { D as g, v as M } from "./style-CMKavN8A.js";
1
+ import { _ as c, j as h, t as u, T as l, E as r } from "./index-D9zO35dX.js";
2
+ import { C as I } from "./ContentMixin-C2zqlbpz.js";
3
+ import { D as g, v as M } from "./style-DZx9Oi9Q.js";
4
4
  import { resolveComponent as s, openBlock as p, createElementBlock as v, createVNode as y, createBlock as S, createCommentVNode as C } from "vue";
5
5
  const F = {
6
6
  name: "Flatmap",
@@ -1,6 +1,6 @@
1
- import { C as r } from "./ContentMixin-ONv_Sw06.js";
1
+ import { C as r } from "./ContentMixin-C2zqlbpz.js";
2
2
  import { openBlock as o, createElementBlock as t, createElementVNode as s } from "vue";
3
- import { _ as n } from "./index-C5HdWlzX.js";
3
+ import { _ as n } from "./index-D9zO35dX.js";
4
4
  const a = {
5
5
  name: "Iframe",
6
6
  mixins: [r]
@@ -1,6 +1,6 @@
1
- import { _ as u, j as h, a as y, g, E as r, t as M, T as p } from "./index-C5HdWlzX.js";
2
- import { C as v } from "./ContentMixin-ONv_Sw06.js";
3
- import { D as I, z as C } from "./style-CMKavN8A.js";
1
+ import { _ as u, j as h, a as y, g, E as r, t as M, T as p } from "./index-D9zO35dX.js";
2
+ import { C as v } from "./ContentMixin-C2zqlbpz.js";
3
+ import { D as I, z as C } from "./style-DZx9Oi9Q.js";
4
4
  import { resolveComponent as f, openBlock as c, createElementBlock as S, createVNode as F, createBlock as k, createCommentVNode as w } from "vue";
5
5
  const b = '<svg width="72px" height="72px" viewBox="0 0 24 24" fill="yellow"><path d="M11.0748 3.25583C11.4141 2.42845 12.5859 2.42845 12.9252 3.25583L14.6493 7.45955C14.793 7.80979 15.1221 8.04889 15.4995 8.07727L20.0303 8.41798C20.922 8.48504 21.2841 9.59942 20.6021 10.1778L17.1369 13.1166C16.8482 13.3614 16.7225 13.7483 16.8122 14.1161L17.8882 18.5304C18.1 19.3992 17.152 20.0879 16.3912 19.618L12.5255 17.2305C12.2034 17.0316 11.7966 17.0316 11.4745 17.2305L7.60881 19.618C6.84796 20.0879 5.90001 19.3992 6.1118 18.5304L7.18785 14.1161C7.2775 13.7483 7.1518 13.3614 6.86309 13.1166L3.3979 10.1778C2.71588 9.59942 3.07796 8.48504 3.96971 8.41798L8.50046 8.07727C8.87794 8.04889 9.20704 7.80979 9.35068 7.45955L11.0748 3.25583Z" stroke="#000000" stroke-width="2"/></svg>', d = (e) => {
6
6
  const t = [
@@ -1,7 +1,7 @@
1
1
  import { y as o } from "./plotvuer-DSwGHaaa.js";
2
- import { C as a } from "./ContentMixin-ONv_Sw06.js";
2
+ import { C as a } from "./ContentMixin-C2zqlbpz.js";
3
3
  import { resolveComponent as r, openBlock as n, createBlock as s } from "vue";
4
- import { _ as m } from "./index-C5HdWlzX.js";
4
+ import { _ as m } from "./index-D9zO35dX.js";
5
5
  const p = {
6
6
  name: "Plot",
7
7
  mixins: [a],
@@ -1,5 +1,5 @@
1
- import { w as bD, h as xD, _ as wD, j as _D, E as Ev } from "./index-C5HdWlzX.js";
2
- import { C as SD } from "./ContentMixin-ONv_Sw06.js";
1
+ import { w as bD, h as xD, _ as wD, j as _D, E as Ev } from "./index-D9zO35dX.js";
2
+ import { C as SD } from "./ContentMixin-C2zqlbpz.js";
3
3
  import { ref as we, defineComponent as Le, computed as ee, openBlock as Q, createElementBlock as be, mergeProps as Nr, unref as N, renderSlot as Fe, useAttrs as AT, useSlots as co, shallowRef as mr, watch as ze, nextTick as st, onMounted as Lt, toRef as pr, createCommentVNode as Pe, Fragment as pt, normalizeClass as xe, createElementVNode as Ee, createBlock as Re, withCtx as le, resolveDynamicComponent as Yt, withModifiers as Tt, createVNode as oe, toDisplayString as Ze, normalizeStyle as yt, provide as Dt, reactive as _r, onActivated as LT, onUpdated as jh, inject as Ye, onBeforeUnmount as Sr, withDirectives as ht, cloneVNode as kT, Text as sg, Comment as PT, Transition as Zn, vShow as Ot, readonly as U1, onDeactivated as RT, createTextVNode as et, isRef as cn, vModelCheckbox as Sm, toRefs as Zi, toHandlers as OT, getCurrentInstance as Ct, watchEffect as lg, withKeys as ti, h as an, warn as DT, onBeforeMount as IT, onUnmounted as j1, toRaw as gl, getCurrentScope as H1, onScopeDispose as G1, Teleport as NT, renderList as ir, resolveComponent as qt, resolveDirective as BT, toHandlerKey as FT, vModelText as zT, pushScopeId as Hh, popScopeId as Gh, createApp as $T, createSlots as MD, markRaw as Si, isVNode as oy, hasInjectionContext as ED, effectScope as TD, isReactive as W1 } from "vue";
4
4
  const $a = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (i) => {
5
5
  const n = t == null ? void 0 : t(i);
@@ -1,7 +1,7 @@
1
- import { C as Bc } from "./ContentMixin-ONv_Sw06.js";
1
+ import { C as Bc } from "./ContentMixin-C2zqlbpz.js";
2
2
  import { ref as P, defineComponent as K, computed as g, openBlock as j, createElementBlock as L, mergeProps as rn, unref as d, renderSlot as te, useAttrs as Dc, useSlots as vs, shallowRef as $n, watch as ne, nextTick as Ae, onMounted as $e, toRef as ft, createCommentVNode as W, Fragment as qe, normalizeClass as z, createElementVNode as Z, createBlock as Y, withCtx as X, resolveDynamicComponent as mt, withModifiers as Re, createVNode as fe, toDisplayString as ze, normalizeStyle as Te, provide as at, reactive as vt, onActivated as Uc, onUpdated as hs, inject as me, onBeforeUnmount as Et, withDirectives as He, cloneVNode as qc, Text as ys, Comment as Hc, Transition as so, vShow as $t, readonly as Zc, onDeactivated as Kc, withKeys as Mt, createSlots as Wc, toRefs as On, getCurrentInstance as Ze, h as Rn, renderList as on, warn as Jc, onBeforeMount as Gc, onUnmounted as Yc, toRaw as gs, watchEffect as Qc, getCurrentScope as Xc, onScopeDispose as ep, isRef as bs, Teleport as tp, resolveComponent as Ct, resolveDirective as np, toHandlerKey as rp, createTextVNode as Yt, vModelText as op, pushScopeId as ap, popScopeId as ip, createApp as lp } from "vue";
3
3
  import { y as sp } from "./plotvuer-DSwGHaaa.js";
4
- import { _ as up } from "./index-C5HdWlzX.js";
4
+ import { _ as up } from "./index-D9zO35dX.js";
5
5
  const It = (e, t, { checkForDefaultPrevented: n = !0 } = {}) => (r) => {
6
6
  const o = e == null ? void 0 : e(r);
7
7
  if (n === !1 || !o)
@@ -34111,14 +34111,14 @@ const X2e = function(e) {
34111
34111
  shadowDisplay: function(e) {
34112
34112
  return this.tooltipId === e ? "always" : "hover";
34113
34113
  },
34114
- capitalise: function(e) {
34114
+ capitalize: function(e) {
34115
34115
  return X2e(e);
34116
34116
  },
34117
34117
  handleTooltip: function(e) {
34118
34118
  this.tooltipId = this.tooltipId === e ? void 0 : e, this.$emit("featureTooltip", this.tooltipId);
34119
34119
  }
34120
34120
  }
34121
- }, pS = (e) => (Da("data-v-3c6a9006"), e = e(), Ma(), e), Q2e = { class: "dialog-container" }, J2e = /* @__PURE__ */ pS(() => /* @__PURE__ */ K("span", { class: "dialog-title" }, "Finalise drawing", -1)), ewe = /* @__PURE__ */ pS(() => /* @__PURE__ */ K("span", { class: "dialog-title" }, "Visualise connection", -1)), twe = /* @__PURE__ */ pS(() => /* @__PURE__ */ K("b", null, [
34121
+ }, pS = (e) => (Da("data-v-1ddab772"), e = e(), Ma(), e), Q2e = { class: "dialog-container" }, J2e = /* @__PURE__ */ pS(() => /* @__PURE__ */ K("span", { class: "dialog-title" }, "Finalize drawing", -1)), ewe = /* @__PURE__ */ pS(() => /* @__PURE__ */ K("span", { class: "dialog-title" }, "Visualize connection", -1)), twe = /* @__PURE__ */ pS(() => /* @__PURE__ */ K("b", null, [
34122
34122
  /* @__PURE__ */ K("span", null, "Related Features")
34123
34123
  ], -1)), nwe = { class: "connection-label" };
34124
34124
  function rwe(e, t, n, r, a, o) {
@@ -34191,10 +34191,10 @@ function rwe(e, t, n, r, a, o) {
34191
34191
  trigger: "hover",
34192
34192
  disabled: d.label.length < 20,
34193
34193
  width: 200,
34194
- content: o.capitalise(d.label)
34194
+ content: o.capitalize(d.label)
34195
34195
  }, {
34196
34196
  reference: q(() => [
34197
- K("span", nwe, _e(o.capitalise(d.label)), 1)
34197
+ K("span", nwe, _e(o.capitalize(d.label)), 1)
34198
34198
  ]),
34199
34199
  _: 2
34200
34200
  }, 1032, ["disabled", "content"])
@@ -34212,7 +34212,7 @@ function rwe(e, t, n, r, a, o) {
34212
34212
  })) : te("", !0)
34213
34213
  ]);
34214
34214
  }
34215
- const awe = /* @__PURE__ */ Il(Z2e, [["render", rwe], ["__scopeId", "data-v-3c6a9006"]]), IB = (e, t) => {
34215
+ const awe = /* @__PURE__ */ Il(Z2e, [["render", rwe], ["__scopeId", "data-v-1ddab772"]]), IB = (e, t) => {
34216
34216
  const n = e.__vccOpts || e;
34217
34217
  for (const [r, a] of t)
34218
34218
  n[r] = a;
@@ -34891,12 +34891,12 @@ const gwe = /* @__PURE__ */ IB(fwe, [["render", vwe]]), mwe = (e, t) => {
34891
34891
  data: function() {
34892
34892
  return {
34893
34893
  toolbarIcons: [
34894
- { name: "Edit", active: !1, disabled: !1 },
34895
- { name: "Delete", active: !1, disabled: !1 },
34896
- { name: "Point", active: !1, disabled: !1 },
34897
- { name: "LineString", active: !1, disabled: !1 },
34898
- { name: "Polygon", active: !1, disabled: !1 },
34899
- { name: "Connection", active: !1, disabled: !0 }
34894
+ { name: "Edit", active: !1, disabled: !1, type: "mode" },
34895
+ { name: "Delete", active: !1, disabled: !1, type: "mode" },
34896
+ { name: "Point", active: !1, disabled: !1, type: "tool" },
34897
+ { name: "LineString", active: !1, disabled: !1, type: "tool" },
34898
+ { name: "Polygon", active: !1, disabled: !1, type: "tool" },
34899
+ { name: "Connection", active: !1, disabled: !0, type: "conn" }
34900
34900
  ],
34901
34901
  connectionDisplay: !1,
34902
34902
  dialogPosition: {
@@ -34944,10 +34944,10 @@ const gwe = /* @__PURE__ */ IB(fwe, [["render", vwe]]), mwe = (e, t) => {
34944
34944
  this.disabledToolbarConnectionIcon(!0);
34945
34945
  },
34946
34946
  activeDrawMode: function(e) {
34947
- this.updateToolbarIcons(e), e === "Delete" && (this.connectionDisplay = !1);
34947
+ this.updateToolbarIcons(e, "mode"), e === "Delete" && (this.connectionDisplay = !1);
34948
34948
  },
34949
34949
  activeDrawTool: function(e) {
34950
- this.updateToolbarIcons(e), e || (this.connectionDisplay = !1);
34950
+ this.updateToolbarIcons(e, "tool"), e || (this.connectionDisplay = !1);
34951
34951
  },
34952
34952
  newlyDrawnExist: function(e) {
34953
34953
  e && (this.connectionDisplay = !0);
@@ -34986,20 +34986,20 @@ const gwe = /* @__PURE__ */ IB(fwe, [["render", vwe]]), mwe = (e, t) => {
34986
34986
  connectionClickEvent: function() {
34987
34987
  !this.iconDisabled("Connection") && !this.newlyDrawnExist && (this.connectionDisplay = !this.connectionDisplay);
34988
34988
  },
34989
- updateToolbarIcons: function(e) {
34990
- this.toolbarIcons.map((t) => {
34991
- t.name === e ? t.active = !0 : t.active = !1;
34992
- }), this.toolbarIcons.filter((t) => t.name !== "Connection" && t.name !== e).map((t) => {
34993
- e ? t.disabled = !0 : t.disabled = !1;
34989
+ updateToolbarIcons: function(e, t) {
34990
+ this.toolbarIcons.map((n) => {
34991
+ n.name === e ? n.active = !0 : n.active = !1;
34992
+ }), this.toolbarIcons.filter((n) => n.type !== "conn").filter((n) => n.type !== t).map((n) => {
34993
+ e ? n.disabled = !0 : n.disabled = !1;
34994
34994
  }), this.toolbarCssHacks();
34995
34995
  },
34996
34996
  disabledToolbarConnectionIcon: function(e) {
34997
- this.toolbarIcons.filter((t) => t.name === "Connection").map((t) => {
34997
+ this.toolbarIcons.filter((t) => t.type === "conn").map((t) => {
34998
34998
  e ? t.disabled = !0 : t.disabled = !1, this.activeDrawMode === "Delete" && (t.disabled = !0);
34999
34999
  }), this.toolbarCssHacks();
35000
35000
  },
35001
35001
  activeToolbarConnectionIcon: function(e) {
35002
- this.toolbarIcons.filter((t) => t.name === "Connection").map((t) => {
35002
+ this.toolbarIcons.filter((t) => t.type === "conn").map((t) => {
35003
35003
  e ? t.active = !0 : t.active = !1;
35004
35004
  }), this.toolbarCssHacks();
35005
35005
  },
@@ -35195,7 +35195,7 @@ function xwe(e, t, n, r, a, o) {
35195
35195
  ]) : te("", !0)
35196
35196
  ]);
35197
35197
  }
35198
- const ult = /* @__PURE__ */ Il(ywe, [["render", xwe], ["__scopeId", "data-v-6ac1a744"]]), kwe = {
35198
+ const ult = /* @__PURE__ */ Il(ywe, [["render", xwe], ["__scopeId", "data-v-8a96a220"]]), kwe = {
35199
35199
  name: "HelpModeDialog",
35200
35200
  props: {
35201
35201
  /**
@@ -40313,7 +40313,7 @@ function YCe(e, t, n, r, a, o) {
40313
40313
  })
40314
40314
  ]);
40315
40315
  }
40316
- const k7 = /* @__PURE__ */ qi(WCe, [["render", YCe], ["__scopeId", "data-v-890cc586"]]), XCe = uh(() => import("./Flatmap-DUQKg-6a.js")), ZCe = uh(() => import("./Iframe-BSj1859P.js")), QCe = uh(() => import("./MultiFlatmap-eeWlw7lD.js")), JCe = uh(() => import("./Plot-DKju1R3N.js")), e5e = uh(() => import("./Scaffold-BVZ03I2A.js")), t5e = uh(() => import("./Simulation-DMlUdb05.js")), n5e = {
40316
+ const k7 = /* @__PURE__ */ qi(WCe, [["render", YCe], ["__scopeId", "data-v-890cc586"]]), XCe = uh(() => import("./Flatmap-BKEPnaCc.js")), ZCe = uh(() => import("./Iframe-Bb9zxykf.js")), QCe = uh(() => import("./MultiFlatmap-Bbm63ncf.js")), JCe = uh(() => import("./Plot-CpP1m0-q.js")), e5e = uh(() => import("./Scaffold-BOXf9pkx.js")), t5e = uh(() => import("./Simulation-B__4pHV9.js")), n5e = {
40317
40317
  name: "ContentVuer",
40318
40318
  props: {
40319
40319
  /**
@@ -1,4 +1,4 @@
1
- import { M as a } from "./index-C5HdWlzX.js";
1
+ import { M as a } from "./index-D9zO35dX.js";
2
2
  export {
3
3
  a as MapContent
4
4
  };