inertia-bootstrap-forms 1.0.95 → 1.0.97

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.
@@ -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-eMgyWZ5X.js";
8
+ import { T as mt } from "./index-DAKDc7eT.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.");
@@ -3035,7 +3035,7 @@ const Vp = /* @__PURE__ */ re(Dp, [["render", Lp]]), jp = te({
3035
3035
  },
3036
3036
  resetOnSuccess: {
3037
3037
  type: Boolean,
3038
- default: !0
3038
+ default: !1
3039
3039
  },
3040
3040
  submitHandler: {
3041
3041
  type: Function,
@@ -3111,7 +3111,7 @@ const Vp = /* @__PURE__ */ re(Dp, [["render", Lp]]), jp = te({
3111
3111
  },
3112
3112
  onSuccess: (i) => {
3113
3113
  var n, r, s;
3114
- (n = i == null ? void 0 : i.props) != null && n.message && (this.form.hasMessage = !0, this.form.successMessage = (r = i == null ? void 0 : i.props) == null ? void 0 : r.message), this.resetOnSuccess && ((s = this.form) == null || s.reset()), this.$emit("onSuccess", i);
3114
+ this.resetOnSuccess && ((n = this.form) == null || n.reset()), (r = i == null ? void 0 : i.props) != null && r.message && (this.form.hasMessage = !0, this.form.successMessage = (s = i == null ? void 0 : i.props) == null ? void 0 : s.message), this.$emit("onSuccess", i);
3115
3115
  }
3116
3116
  }));
3117
3117
  }
@@ -6876,9 +6876,12 @@ function Gg(t, e, i, n, r, s) {
6876
6876
  mode: "national",
6877
6877
  validCharactersOnly: !0,
6878
6878
  defaultCountry: "ir",
6879
+ preferredCountries: ["ir", "us", "tr", "ca"],
6879
6880
  dropdownOptions: {
6880
6881
  showDialCodeInList: !0,
6881
6882
  showDialCodeInSelection: !0,
6883
+ showSearchBox: !0,
6884
+ searchBoxPlaceholder: "Search...",
6882
6885
  showFlags: !1
6883
6886
  },
6884
6887
  onOnInput: t.inputEvent,
@@ -13167,7 +13170,7 @@ const Wv = {
13167
13170
  b === !0 && y === !1 && g();
13168
13171
  }), on(() => {
13169
13172
  var b, y, w, O, T, M, V, F;
13170
- i.useXHR && import("./index-yQj3Ndp9.js").then((z) => {
13173
+ i.useXHR && import("./index-CjvHl4SS.js").then((z) => {
13171
13174
  const X = z.default;
13172
13175
  o.value.use(X, {
13173
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-eMgyWZ5X.js";
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-DAKDc7eT.js";
2
2
  export {
3
3
  n as AmountInput,
4
4
  s as CaptchaInput,