inertia-bootstrap-forms 1.0.100 → 1.0.102
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/README.md +836 -39
- package/dist/{index-Du1k5ohV.js → index-CK85SnLT.js} +1 -1
- package/dist/{index-wKW1FfU4.js → index-D4MafNHB.js} +7 -7
- package/dist/inertia-bootstrap-forms.es.js +1 -1
- package/dist/inertia-bootstrap-forms.umd.js +1 -1
- package/index.d.ts +29 -1
- package/package.json +1 -1
- package/src/CheckboxInput.vue +1 -1
|
@@ -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-D4MafNHB.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.");
|
|
@@ -2505,17 +2505,17 @@ const s0 = /* @__PURE__ */ re(tp, [["render", rp]]), sp = te({
|
|
|
2505
2505
|
}
|
|
2506
2506
|
}), op = { class: "form-check" }, ap = ["name", "id", "disabled", "type", "value"], lp = ["for"];
|
|
2507
2507
|
function up(t, e, i, n, r, s) {
|
|
2508
|
-
var o, a
|
|
2508
|
+
var o, a;
|
|
2509
2509
|
return I(), D("div", op, [
|
|
2510
2510
|
bt(j("input", {
|
|
2511
|
-
name: t.name
|
|
2511
|
+
name: t.name,
|
|
2512
2512
|
id: t.inputID,
|
|
2513
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
2514
|
-
class: fe([{ "is-invalid": (
|
|
2515
|
-
disabled: (
|
|
2513
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => t.modelValue = l),
|
|
2514
|
+
class: fe([{ "is-invalid": (o = t.form) == null ? void 0 : o.errors[t.name] }, "form-check-input"]),
|
|
2515
|
+
disabled: (a = t.form) == null ? void 0 : a.processing,
|
|
2516
2516
|
type: t.type,
|
|
2517
2517
|
value: t.value,
|
|
2518
|
-
onChange: e[1] || (e[1] = (
|
|
2518
|
+
onChange: e[1] || (e[1] = (l) => t.$emit("change", l))
|
|
2519
2519
|
}, null, 42, ap), [
|
|
2520
2520
|
[ns, t.modelValue]
|
|
2521
2521
|
]),
|
|
@@ -13170,7 +13170,7 @@ const Wv = {
|
|
|
13170
13170
|
b === !0 && y === !1 && g();
|
|
13171
13171
|
}), on(() => {
|
|
13172
13172
|
var b, y, w, O, T, M, V, F;
|
|
13173
|
-
i.useXHR && import("./index-
|
|
13173
|
+
i.useXHR && import("./index-CK85SnLT.js").then((z) => {
|
|
13174
13174
|
const X = z.default;
|
|
13175
13175
|
o.value.use(X, {
|
|
13176
13176
|
method: "POST",
|
|
@@ -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-D4MafNHB.js";
|
|
2
2
|
export {
|
|
3
3
|
n as AmountInput,
|
|
4
4
|
s as CaptchaInput,
|