@xy-planning-network/trees 0.13.10 → 0.13.12
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/trees.es.js +17 -14
- package/dist/trees.umd.js +8 -8
- package/package.json +1 -1
- package/src/lib-components/lists/DynamicTable.vue +1 -1
- package/src/lib-components/overlays/ContentModal.vue +2 -0
- package/src/lib-components/overlays/Modal.vue +2 -0
- package/src/lib-components/overlays/Slideover.vue +2 -0
- package/types/lib-components/overlays/ContentModal.vue.d.ts +2 -0
- package/types/lib-components/overlays/Modal.vue.d.ts +2 -0
- package/types/lib-components/overlays/Slideover.vue.d.ts +2 -0
package/dist/trees.es.js
CHANGED
|
@@ -5648,7 +5648,7 @@ const vd = { class: "py-1" }, bd = ["disabled", "onClick"], yd = { class: "relat
|
|
|
5648
5648
|
modelValue: { type: Boolean, required: !0 },
|
|
5649
5649
|
modelModifiers: {}
|
|
5650
5650
|
}),
|
|
5651
|
-
emits: /* @__PURE__ */ we(["close"], ["update:modelValue"]),
|
|
5651
|
+
emits: /* @__PURE__ */ we(["afterLeave", "close"], ["update:modelValue"]),
|
|
5652
5652
|
setup(t, { emit: n }) {
|
|
5653
5653
|
const e = _e(t, "modelValue"), r = n;
|
|
5654
5654
|
return st(e, (o) => {
|
|
@@ -5663,7 +5663,7 @@ const vd = { class: "py-1" }, bd = ["disabled", "onClick"], yd = { class: "relat
|
|
|
5663
5663
|
static: "",
|
|
5664
5664
|
class: "fixed z-30 inset-0 overflow-y-auto",
|
|
5665
5665
|
open: e.value,
|
|
5666
|
-
onClose: a[
|
|
5666
|
+
onClose: a[2] || (a[2] = (s) => e.value = !1)
|
|
5667
5667
|
}, {
|
|
5668
5668
|
default: j(() => [
|
|
5669
5669
|
b("div", kd, [
|
|
@@ -5681,7 +5681,7 @@ const vd = { class: "py-1" }, bd = ["disabled", "onClick"], yd = { class: "relat
|
|
|
5681
5681
|
]),
|
|
5682
5682
|
_: 1
|
|
5683
5683
|
}),
|
|
5684
|
-
a[
|
|
5684
|
+
a[3] || (a[3] = b("span", {
|
|
5685
5685
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
5686
5686
|
"aria-hidden": "true"
|
|
5687
5687
|
}, "", -1)),
|
|
@@ -5692,7 +5692,8 @@ const vd = { class: "py-1" }, bd = ["disabled", "onClick"], yd = { class: "relat
|
|
|
5692
5692
|
"enter-to": "opacity-100 translate-y-0 sm:scale-100",
|
|
5693
5693
|
leave: "ease-in duration-200",
|
|
5694
5694
|
"leave-from": "opacity-100 translate-y-0 sm:scale-100",
|
|
5695
|
-
"leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
|
5695
|
+
"leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
5696
|
+
onAfterLeave: a[1] || (a[1] = (s) => r("afterLeave"))
|
|
5696
5697
|
}, {
|
|
5697
5698
|
default: j(() => [
|
|
5698
5699
|
b("div", Sd, [
|
|
@@ -7777,7 +7778,7 @@ const vi = {
|
|
|
7777
7778
|
modelValue: { type: Boolean, required: !0 },
|
|
7778
7779
|
modelModifiers: {}
|
|
7779
7780
|
}),
|
|
7780
|
-
emits: /* @__PURE__ */ we(["close", "submit"], ["update:modelValue"]),
|
|
7781
|
+
emits: /* @__PURE__ */ we(["afterLeave", "close", "submit"], ["update:modelValue"]),
|
|
7781
7782
|
setup(t, { emit: n }) {
|
|
7782
7783
|
const e = t, r = _e(t, "modelValue"), o = n, a = () => {
|
|
7783
7784
|
o("submit");
|
|
@@ -7794,7 +7795,7 @@ const vi = {
|
|
|
7794
7795
|
static: "",
|
|
7795
7796
|
class: "fixed z-30 inset-0 overflow-y-auto",
|
|
7796
7797
|
open: r.value,
|
|
7797
|
-
onClose: c[
|
|
7798
|
+
onClose: c[4] || (c[4] = (u) => r.value = !1)
|
|
7798
7799
|
}, {
|
|
7799
7800
|
default: j(() => [
|
|
7800
7801
|
b("div", kf, [
|
|
@@ -7812,7 +7813,7 @@ const vi = {
|
|
|
7812
7813
|
]),
|
|
7813
7814
|
_: 1
|
|
7814
7815
|
}),
|
|
7815
|
-
c[
|
|
7816
|
+
c[6] || (c[6] = b("span", {
|
|
7816
7817
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
7817
7818
|
"aria-hidden": "true"
|
|
7818
7819
|
}, "", -1)),
|
|
@@ -7823,7 +7824,8 @@ const vi = {
|
|
|
7823
7824
|
"enter-to": "opacity-100 translate-y-0 sm:scale-100",
|
|
7824
7825
|
leave: "ease-in duration-200",
|
|
7825
7826
|
"leave-from": "opacity-100 translate-y-0 sm:scale-100",
|
|
7826
|
-
"leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
|
7827
|
+
"leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
7828
|
+
onAfterLeave: c[3] || (c[3] = (u) => o("afterLeave"))
|
|
7827
7829
|
}, {
|
|
7828
7830
|
default: j(() => [
|
|
7829
7831
|
b("div", {
|
|
@@ -7841,7 +7843,7 @@ const vi = {
|
|
|
7841
7843
|
class: "bg-white rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",
|
|
7842
7844
|
onClick: c[0] || (c[0] = (u) => r.value = !1)
|
|
7843
7845
|
}, [
|
|
7844
|
-
c[
|
|
7846
|
+
c[5] || (c[5] = b("span", { class: "sr-only" }, "Close", -1)),
|
|
7845
7847
|
T(m(Pn), {
|
|
7846
7848
|
class: "h-6 w-6",
|
|
7847
7849
|
"aria-hidden": "true"
|
|
@@ -8294,7 +8296,7 @@ const xp = /* @__PURE__ */ vp(bp, [["render", wp]]), Cp = { class: "absolute ins
|
|
|
8294
8296
|
modelValue: { type: Boolean, required: !0 },
|
|
8295
8297
|
modelModifiers: {}
|
|
8296
8298
|
}),
|
|
8297
|
-
emits: /* @__PURE__ */ we(["close"], ["update:modelValue"]),
|
|
8299
|
+
emits: /* @__PURE__ */ we(["afterLeave", "close"], ["update:modelValue"]),
|
|
8298
8300
|
setup(t, { emit: n }) {
|
|
8299
8301
|
const e = t, r = A(() => {
|
|
8300
8302
|
switch (e.size) {
|
|
@@ -8327,7 +8329,7 @@ const xp = /* @__PURE__ */ vp(bp, [["render", wp]]), Cp = { class: "absolute ins
|
|
|
8327
8329
|
static: "",
|
|
8328
8330
|
class: "fixed inset-0 z-20 overflow-hidden bg-black bg-opacity-50",
|
|
8329
8331
|
open: o.value,
|
|
8330
|
-
onClose: l[
|
|
8332
|
+
onClose: l[2] || (l[2] = (i) => o.value = !1)
|
|
8331
8333
|
}, {
|
|
8332
8334
|
default: j(() => [
|
|
8333
8335
|
b("div", Cp, [
|
|
@@ -8340,7 +8342,8 @@ const xp = /* @__PURE__ */ vp(bp, [["render", wp]]), Cp = { class: "absolute ins
|
|
|
8340
8342
|
"enter-to": "translate-x-0",
|
|
8341
8343
|
leave: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
8342
8344
|
"leave-from": "translate-x-0",
|
|
8343
|
-
"leave-to": "translate-x-full"
|
|
8345
|
+
"leave-to": "translate-x-full",
|
|
8346
|
+
onAfterLeave: l[1] || (l[1] = (i) => a("afterLeave"))
|
|
8344
8347
|
}, {
|
|
8345
8348
|
default: j(() => [
|
|
8346
8349
|
b("div", {
|
|
@@ -8365,7 +8368,7 @@ const xp = /* @__PURE__ */ vp(bp, [["render", wp]]), Cp = { class: "absolute ins
|
|
|
8365
8368
|
class: "bg-xy-blue-600 rounded-md text-gray-50 hover:text-white focus:outline-none focus:ring-2 focus:ring-white",
|
|
8366
8369
|
onClick: l[0] || (l[0] = (i) => o.value = !1)
|
|
8367
8370
|
}, [
|
|
8368
|
-
l[
|
|
8371
|
+
l[3] || (l[3] = b("span", { class: "sr-only" }, "Close panel", -1)),
|
|
8369
8372
|
T(m(Pn), {
|
|
8370
8373
|
class: "h-6 w-6",
|
|
8371
8374
|
"aria-hidden": "true"
|
|
@@ -8886,7 +8889,7 @@ const xp = /* @__PURE__ */ vp(bp, [["render", wp]]), Cp = { class: "absolute ins
|
|
|
8886
8889
|
perPage: u.value.perPage,
|
|
8887
8890
|
sort: l.value,
|
|
8888
8891
|
sortDir: i.value,
|
|
8889
|
-
q: d.value
|
|
8892
|
+
q: e.tableOptions.search ? d.value : void 0
|
|
8890
8893
|
};
|
|
8891
8894
|
w(), ks.get(
|
|
8892
8895
|
e.tableOptions.url,
|