inertia-bootstrap-forms 1.0.74 → 1.0.76
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-CfaVS7a7.js → index-Dfg9Yk-z.js} +10 -2
- package/dist/{index-D2faHans.js → index-DpghCC9Y.js} +1 -1
- package/dist/inertia-bootstrap-forms.es.js +1 -1
- package/dist/inertia-bootstrap-forms.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/EditorInput.vue +4 -0
- package/src/Select2Input.vue +13 -1
- package/src/css/from-select.scss +1 -1
|
@@ -6554,10 +6554,18 @@ const $g = ee({
|
|
|
6554
6554
|
return this.multiple ? typeof this.modelValue == "object" ? Object.values(this.modelValue) : this.modelValue ? [this.modelValue] : null : this.modelValue;
|
|
6555
6555
|
}
|
|
6556
6556
|
},
|
|
6557
|
+
watch: {
|
|
6558
|
+
options: {
|
|
6559
|
+
handler: function(t, e) {
|
|
6560
|
+
setTimeout(() => this.init(), 300);
|
|
6561
|
+
},
|
|
6562
|
+
deep: !0
|
|
6563
|
+
}
|
|
6564
|
+
},
|
|
6557
6565
|
methods: {
|
|
6558
6566
|
init() {
|
|
6559
6567
|
var t, e;
|
|
6560
|
-
this.choices = new Mg(this.$refs.input, {
|
|
6568
|
+
this.choices && this.destroy(), this.choices = new Mg(this.$refs.input, {
|
|
6561
6569
|
searchEnabled: this.searchEnabled || !!((t = this.search) != null && t.url),
|
|
6562
6570
|
searchChoices: this.searchEnabled && !((e = this.search) != null && e.url),
|
|
6563
6571
|
removeItemButton: !0,
|
|
@@ -13126,7 +13134,7 @@ const Wv = {
|
|
|
13126
13134
|
}), sn(() => {
|
|
13127
13135
|
var g, m;
|
|
13128
13136
|
let f;
|
|
13129
|
-
i.useXHR && import("./index-
|
|
13137
|
+
i.useXHR && import("./index-DpghCC9Y.js").then((b) => {
|
|
13130
13138
|
f = b.default, o.value.use(f, {
|
|
13131
13139
|
method: "POST",
|
|
13132
13140
|
endpoint: i.url,
|
|
@@ -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-Dfg9Yk-z.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.");
|
|
@@ -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-Dfg9Yk-z.js";
|
|
2
2
|
export {
|
|
3
3
|
n as AmountInput,
|
|
4
4
|
s as CaptchaInput,
|