inertia-bootstrap-forms 1.0.105 → 1.0.106
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-BM169NRC.js → index-CzuJpZl2.js} +1 -1
- package/dist/{index-Dh8tPMhM.js → index-NKheQ5p3.js} +8 -6
- package/dist/inertia-bootstrap-forms.es.js +1 -1
- package/dist/inertia-bootstrap-forms.umd.js +2 -2
- package/package.json +1 -1
- package/src/MultiQuantityInput.vue +6 -2
- package/src/Select2Input.vue +1 -1
- package/src/UppyInput.vue +9 -7
|
@@ -5,7 +5,7 @@ var et = (i) => {
|
|
|
5
5
|
var ct = (i, e, t) => e in i ? pt(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
6
6
|
var y = (i, e, t) => ct(i, typeof e != "symbol" ? e + "" : e, t), G = (i, e, t) => e.has(i) || et("Cannot " + t);
|
|
7
7
|
var r = (i, e, t) => (G(i, e, "read from private field"), t ? t.call(i) : e.get(i)), m = (i, e, t) => e.has(i) ? et("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), c = (i, e, t, s) => (G(i, e, "write to private field"), s ? s.call(i, t) : e.set(i, t), t), g = (i, e, t) => (G(i, e, "access private method"), t);
|
|
8
|
-
import { T as mt } from "./index-
|
|
8
|
+
import { T as mt } from "./index-NKheQ5p3.js";
|
|
9
9
|
class K extends Error {
|
|
10
10
|
constructor(t, s = null) {
|
|
11
11
|
super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall.");
|
|
@@ -3491,10 +3491,10 @@ const im = /* @__PURE__ */ re(Jp, [["render", tm]]), nm = te({
|
|
|
3491
3491
|
}
|
|
3492
3492
|
},
|
|
3493
3493
|
mounted() {
|
|
3494
|
-
window.addEventListener("click", this.clickOnOutside);
|
|
3494
|
+
typeof window < "u" && window.addEventListener("click", this.clickOnOutside);
|
|
3495
3495
|
},
|
|
3496
3496
|
beforeUnmount() {
|
|
3497
|
-
window.removeEventListener("click", this.clickOnOutside);
|
|
3497
|
+
typeof window < "u" && window.removeEventListener("click", this.clickOnOutside);
|
|
3498
3498
|
},
|
|
3499
3499
|
data() {
|
|
3500
3500
|
return {
|
|
@@ -6645,7 +6645,7 @@ const Dg = te({
|
|
|
6645
6645
|
}
|
|
6646
6646
|
},
|
|
6647
6647
|
mounted() {
|
|
6648
|
-
this.locale === "en" && document.dir === "rtl" && (this.currentLocale = "fa"), this.init();
|
|
6648
|
+
typeof window < "u" && this.locale === "en" && document.dir === "rtl" && (this.currentLocale = "fa"), this.init();
|
|
6649
6649
|
},
|
|
6650
6650
|
beforeUnmount() {
|
|
6651
6651
|
this.destroy();
|
|
@@ -13171,7 +13171,7 @@ const Yv = {
|
|
|
13171
13171
|
b === !0 && y === !1 && g();
|
|
13172
13172
|
}), on(() => {
|
|
13173
13173
|
var b, y, w, O, T, M, V, F;
|
|
13174
|
-
i.useXHR && import("./index-
|
|
13174
|
+
i.useXHR && import("./index-CzuJpZl2.js").then((z) => {
|
|
13175
13175
|
const X = z.default;
|
|
13176
13176
|
o.value.use(X, {
|
|
13177
13177
|
method: "POST",
|
|
@@ -13195,8 +13195,10 @@ const Yv = {
|
|
|
13195
13195
|
i.errorHandler ? i.errorHandler(b) : b && f(b);
|
|
13196
13196
|
}
|
|
13197
13197
|
function f(b) {
|
|
13198
|
-
|
|
13199
|
-
|
|
13198
|
+
if (typeof window < "u") {
|
|
13199
|
+
const y = document == null ? void 0 : document.createElement("div");
|
|
13200
|
+
y.textContent = b, y.className = "uppy-error", s.value && (s.value.prepend(y), setTimeout(() => y.remove(), 3e3));
|
|
13201
|
+
}
|
|
13200
13202
|
}
|
|
13201
13203
|
const v = ["bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
|
|
13202
13204
|
function m(b) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as n, C as s, a as p, b as u, c as e, _ as o, d as I, E as i, F as r, f as l, l as c, G as m, L as b, M as C, h as x, g as S, P as d, Q as g, R as h, k, S as F, j as P, i as T, m as y, n as A, o as E, e as L } from "./index-
|
|
1
|
+
import { A as n, C as s, a as p, b as u, c as e, _ as o, d as I, E as i, F as r, f as l, l as c, G as m, L as b, M as C, h as x, g as S, P as d, Q as g, R as h, k, S as F, j as P, i as T, m as y, n as A, o as E, e as L } from "./index-NKheQ5p3.js";
|
|
2
2
|
export {
|
|
3
3
|
n as AmountInput,
|
|
4
4
|
s as CaptchaInput,
|