@abi-software/map-utilities 1.7.8-beta.2 → 1.7.8-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/map-utilities.js
CHANGED
|
@@ -10578,10 +10578,14 @@ const nB = /* @__PURE__ */ Er($5, [["render", rB], ["__scopeId", "data-v-2a2f875
|
|
|
10578
10578
|
return !1;
|
|
10579
10579
|
},
|
|
10580
10580
|
confirmText: function() {
|
|
10581
|
-
return this.createData.editingIndex > -1 ? "Edit" : this.createData.renaming ? "Rename" : "Confirm";
|
|
10581
|
+
return this.createData.editingIndex > -1 ? "Edit" : this.createData.renaming ? "Rename" : this.createData.toBeDeleted ? "Delete" : "Confirm";
|
|
10582
|
+
},
|
|
10583
|
+
creating: function() {
|
|
10584
|
+
return !(this.createData.editingIndex > -1 || this.createData.renaming || this.createData.toBeDeleted);
|
|
10582
10585
|
},
|
|
10583
10586
|
dialogTitle: function() {
|
|
10584
|
-
|
|
10587
|
+
const t = this.confirmText;
|
|
10588
|
+
return this.createData.toBeDeleted || this.createData.renaming ? t : `${t} ${this.createData.shape}`;
|
|
10585
10589
|
},
|
|
10586
10590
|
targetRegion: function() {
|
|
10587
10591
|
return "regionPrefix" in this.createData ? this.createData.regionPrefix : "";
|
|
@@ -10603,7 +10607,8 @@ const nB = /* @__PURE__ */ Er($5, [["render", rB], ["__scopeId", "data-v-2a2f875
|
|
|
10603
10607
|
group: this.group,
|
|
10604
10608
|
shape: this.createData.shape,
|
|
10605
10609
|
editingIndex: this.createData.editingIndex,
|
|
10606
|
-
renaming: this.createData.renaming
|
|
10610
|
+
renaming: this.createData.renaming,
|
|
10611
|
+
deleting: this.createData.toBeDeleted
|
|
10607
10612
|
}
|
|
10608
10613
|
), this.group = this.createData.shape;
|
|
10609
10614
|
},
|
|
@@ -10617,7 +10622,7 @@ const nB = /* @__PURE__ */ Er($5, [["render", rB], ["__scopeId", "data-v-2a2f875
|
|
|
10617
10622
|
e([]), this.$emit("create-group-suggestions", { term: t, cb: e, region: this.region });
|
|
10618
10623
|
}
|
|
10619
10624
|
}
|
|
10620
|
-
}, iB = (t) => (Ba("data-v-
|
|
10625
|
+
}, iB = (t) => (Ba("data-v-1f36d377"), t = t(), $a(), t), oB = {
|
|
10621
10626
|
key: 0,
|
|
10622
10627
|
class: "create-text"
|
|
10623
10628
|
}, sB = { class: "suggested-value" }, lB = { class: "suggested-value" }, uB = /* @__PURE__ */ iB(() => /* @__PURE__ */ te("div", { class: "warning-message" }, " Group must be enterd before this action can be confirmed. ", -1));
|
|
@@ -10636,7 +10641,7 @@ function cB(t, e, r, n, a, i) {
|
|
|
10636
10641
|
}),
|
|
10637
10642
|
J(d, { class: "slides-block" }, {
|
|
10638
10643
|
default: G(() => [
|
|
10639
|
-
|
|
10644
|
+
i.creating && i.targetRegion ? (z(), ie("span", oB, ke(`Primitives will be created in the ${i.targetRegion} region`), 1)) : ge("", !0),
|
|
10640
10645
|
Ye(J(u, { class: "row" }, {
|
|
10641
10646
|
default: G(() => [
|
|
10642
10647
|
J(s, {
|
|
@@ -10725,7 +10730,7 @@ function cB(t, e, r, n, a, i) {
|
|
|
10725
10730
|
default: G(() => [
|
|
10726
10731
|
J(l, {
|
|
10727
10732
|
class: "autocomplete-box",
|
|
10728
|
-
disabled: r.createData.editingIndex > -1,
|
|
10733
|
+
disabled: r.createData.editingIndex > -1 || r.createData.toBeDeleted,
|
|
10729
10734
|
"fit-input-width": !0,
|
|
10730
10735
|
modelValue: t.group,
|
|
10731
10736
|
"onUpdate:modelValue": e[1] || (e[1] = (h) => t.group = h),
|
|
@@ -10803,7 +10808,7 @@ function cB(t, e, r, n, a, i) {
|
|
|
10803
10808
|
_: 1
|
|
10804
10809
|
});
|
|
10805
10810
|
}
|
|
10806
|
-
const j7 = /* @__PURE__ */ Er(aB, [["render", cB], ["__scopeId", "data-v-
|
|
10811
|
+
const j7 = /* @__PURE__ */ Er(aB, [["render", cB], ["__scopeId", "data-v-1f36d377"]]);
|
|
10807
10812
|
function $t(t) {
|
|
10808
10813
|
"@babel/helpers - typeof";
|
|
10809
10814
|
return $t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|