@espresso-lab/mantine-data-table 1.0.18 → 1.0.19
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/index.es.js +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4647,7 +4647,7 @@ async function ji() {
|
|
|
4647
4647
|
};
|
|
4648
4648
|
}
|
|
4649
4649
|
async function k_(i) {
|
|
4650
|
-
return
|
|
4650
|
+
return fetch(i, {
|
|
4651
4651
|
method: "GET",
|
|
4652
4652
|
headers: await ji()
|
|
4653
4653
|
}).then(async (t) => {
|
|
@@ -4657,7 +4657,7 @@ async function k_(i) {
|
|
|
4657
4657
|
}).then((t) => t.json()).then((t) => t);
|
|
4658
4658
|
}
|
|
4659
4659
|
async function I_(i, t) {
|
|
4660
|
-
return
|
|
4660
|
+
return fetch(`${i}/${t}`, {
|
|
4661
4661
|
method: "GET",
|
|
4662
4662
|
headers: await ji()
|
|
4663
4663
|
}).then(async (r) => {
|
|
@@ -4667,7 +4667,7 @@ async function I_(i, t) {
|
|
|
4667
4667
|
}).then((r) => r.json()).then((r) => r);
|
|
4668
4668
|
}
|
|
4669
4669
|
async function $_(i, t) {
|
|
4670
|
-
|
|
4670
|
+
await fetch(`${i}/${t}`, {
|
|
4671
4671
|
method: "DELETE",
|
|
4672
4672
|
headers: await ji()
|
|
4673
4673
|
}).then(async (r) => {
|
|
@@ -4677,7 +4677,7 @@ async function $_(i, t) {
|
|
|
4677
4677
|
});
|
|
4678
4678
|
}
|
|
4679
4679
|
async function P_(i, t) {
|
|
4680
|
-
return
|
|
4680
|
+
return fetch(i, {
|
|
4681
4681
|
method: "POST",
|
|
4682
4682
|
headers: await ji(),
|
|
4683
4683
|
body: JSON.stringify(t)
|
|
@@ -4688,7 +4688,7 @@ async function P_(i, t) {
|
|
|
4688
4688
|
}).then((r) => r.status == 204 ? t : r.json()).then((r) => r);
|
|
4689
4689
|
}
|
|
4690
4690
|
async function x4(i, t, r) {
|
|
4691
|
-
return
|
|
4691
|
+
return fetch(t, {
|
|
4692
4692
|
method: i,
|
|
4693
4693
|
headers: await ji(),
|
|
4694
4694
|
body: r ? JSON.stringify(r) : void 0
|
|
@@ -4702,7 +4702,7 @@ async function x4(i, t, r) {
|
|
|
4702
4702
|
}).then((s) => s);
|
|
4703
4703
|
}
|
|
4704
4704
|
async function N_(i, t) {
|
|
4705
|
-
return
|
|
4705
|
+
return fetch(`${i}/${t.id}`, {
|
|
4706
4706
|
method: "PUT",
|
|
4707
4707
|
headers: await ji(),
|
|
4708
4708
|
body: JSON.stringify(t)
|