@espresso-lab/mantine-data-table 1.9.11 → 1.9.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/index.es.js +6 -4
- 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 +9 -9
package/dist/index.es.js
CHANGED
|
@@ -332,9 +332,7 @@ function Ty() {
|
|
|
332
332
|
}
|
|
333
333
|
var My = class extends ss {
|
|
334
334
|
constructor(i, n) {
|
|
335
|
-
super(), this.options = n, this.#t = i, this.#a = null, this.#s = tf(), this.
|
|
336
|
-
new Error("experimental_prefetchInRender feature flag is not enabled")
|
|
337
|
-
), this.bindMethods(), this.setOptions(n);
|
|
335
|
+
super(), this.options = n, this.#t = i, this.#a = null, this.#s = tf(), this.bindMethods(), this.setOptions(n);
|
|
338
336
|
}
|
|
339
337
|
#t;
|
|
340
338
|
#e = void 0;
|
|
@@ -409,7 +407,11 @@ var My = class extends ss {
|
|
|
409
407
|
}
|
|
410
408
|
trackResult(i, n) {
|
|
411
409
|
return new Proxy(i, {
|
|
412
|
-
get: (r, s) => (this.trackProp(s), n?.(s),
|
|
410
|
+
get: (r, s) => (this.trackProp(s), n?.(s), s === "promise" && !this.options.experimental_prefetchInRender && this.#s.status === "pending" && this.#s.reject(
|
|
411
|
+
new Error(
|
|
412
|
+
"experimental_prefetchInRender feature flag is not enabled"
|
|
413
|
+
)
|
|
414
|
+
), Reflect.get(r, s))
|
|
413
415
|
});
|
|
414
416
|
}
|
|
415
417
|
trackProp(i) {
|