UNPKG

@krobotech/v-form-builder

Version:

Vue Form Builder PRO MAX built from top of Vue. Super dynamic and flexible including Drag and Drop feature.

1,100 lines (1,087 loc) 910 kB
! function(t, e) { "object" == typeof exports && "object" == typeof module ? module.exports = e(require("vue")) : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports["v-form-builder"] = e(require("vue")) : t["v-form-builder"] = e(t.Vue) }("undefined" != typeof self ? self : this, (function(t) { return function(t) { var e = {}; function n(o) { if (e[o]) return e[o].exports; var r = e[o] = { i: o, l: !1, exports: {} }; return t[o].call(r.exports, r, r.exports, n), r.l = !0, r.exports } return n.m = t, n.c = e, n.d = function(t, e, o) { n.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: o }) }, n.r = function(t) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 }) }, n.t = function(t, e) { if (1 & e && (t = n(t)), 8 & e) return t; if (4 & e && "object" == typeof t && t && t.__esModule) return t; var o = Object.create(null); if (n.r(o), Object.defineProperty(o, "default", { enumerable: !0, value: t }), 2 & e && "string" != typeof t) for (var r in t) n.d(o, r, function(e) { return t[e] }.bind(null, r)); return o }, n.n = function(t) { var e = t && t.__esModule ? function() { return t.default } : function() { return t }; return n.d(e, "a", e), e }, n.o = function(t, e) { return Object.prototype.hasOwnProperty.call(t, e) }, n.p = "", n(n.s = "fae3") }({ 0: function(t, e) {}, "014b": function(t, e, n) { "use strict"; var o = n("e53d"), r = n("07e3"), i = n("8e60"), a = n("63b6"), s = n("9138"), l = n("ebfd").KEY, c = n("294c"), u = n("dbdb"), d = n("45f2"), f = n("62a0"), p = n("5168"), h = n("ccb9"), m = n("6718"), v = n("47ee"), g = n("9003"), y = n("e4ae"), b = n("f772"), w = n("241e"), O = n("36c3"), x = n("1bc3"), C = n("aebd"), S = n("a159"), D = n("0395"), _ = n("bf0b"), E = n("9aa9"), k = n("d9f6"), M = n("c3a1"), R = _.f, T = k.f, I = D.f, A = o.Symbol, P = o.JSON, L = P && P.stringify, N = "prototype", j = p("_hidden"), F = p("toPrimitive"), $ = {}.propertyIsEnumerable, B = u("symbol-registry"), U = u("symbols"), V = u("op-symbols"), H = Object[N], Y = "function" == typeof A && !!E.f, G = o.QObject, W = !G || !G[N] || !G[N].findChild, q = i && c((function() { return 7 != S(T({}, "a", { get: function() { return T(this, "a", { value: 7 }).a } })).a })) ? function(t, e, n) { var o = R(H, e); o && delete H[e], T(t, e, n), o && t !== H && T(H, e, o) } : T, z = function(t) { var e = U[t] = S(A[N]); return e._k = t, e }, K = Y && "symbol" == typeof A.iterator ? function(t) { return "symbol" == typeof t } : function(t) { return t instanceof A }, X = function(t, e, n) { return t === H && X(V, e, n), y(t), e = x(e, !0), y(n), r(U, e) ? (n.enumerable ? (r(t, j) && t[j][e] && (t[j][e] = !1), n = S(n, { enumerable: C(0, !1) })) : (r(t, j) || T(t, j, C(1, {})), t[j][e] = !0), q(t, e, n)) : T(t, e, n) }, J = function(t, e) { y(t); for (var n, o = v(e = O(e)), r = 0, i = o.length; i > r;) X(t, n = o[r++], e[n]); return t }, Z = function(t) { var e = $.call(this, t = x(t, !0)); return !(this === H && r(U, t) && !r(V, t)) && (!(e || !r(this, t) || !r(U, t) || r(this, j) && this[j][t]) || e) }, Q = function(t, e) { if (t = O(t), e = x(e, !0), t !== H || !r(U, e) || r(V, e)) { var n = R(t, e); return !n || !r(U, e) || r(t, j) && t[j][e] || (n.enumerable = !0), n } }, tt = function(t) { for (var e, n = I(O(t)), o = [], i = 0; n.length > i;) r(U, e = n[i++]) || e == j || e == l || o.push(e); return o }, et = function(t) { for (var e, n = t === H, o = I(n ? V : O(t)), i = [], a = 0; o.length > a;) !r(U, e = o[a++]) || n && !r(H, e) || i.push(U[e]); return i }; Y || (A = function() { if (this instanceof A) throw TypeError("Symbol is not a constructor!"); var t = f(arguments.length > 0 ? arguments[0] : void 0), e = function(n) { this === H && e.call(V, n), r(this, j) && r(this[j], t) && (this[j][t] = !1), q(this, t, C(1, n)) }; return i && W && q(H, t, { configurable: !0, set: e }), z(t) }, s(A[N], "toString", (function() { return this._k })), _.f = Q, k.f = X, n("6abf").f = D.f = tt, n("355d").f = Z, E.f = et, i && !n("b8e3") && s(H, "propertyIsEnumerable", Z, !0), h.f = function(t) { return z(p(t)) }), a(a.G + a.W + a.F * !Y, { Symbol: A }); for (var nt = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), ot = 0; nt.length > ot;) p(nt[ot++]); for (var rt = M(p.store), it = 0; rt.length > it;) m(rt[it++]); a(a.S + a.F * !Y, "Symbol", { for: function(t) { return r(B, t += "") ? B[t] : B[t] = A(t) }, keyFor: function(t) { if (!K(t)) throw TypeError(t + " is not a symbol!"); for (var e in B) if (B[e] === t) return e }, useSetter: function() { W = !0 }, useSimple: function() { W = !1 } }), a(a.S + a.F * !Y, "Object", { create: function(t, e) { return void 0 === e ? S(t) : J(S(t), e) }, defineProperty: X, defineProperties: J, getOwnPropertyDescriptor: Q, getOwnPropertyNames: tt, getOwnPropertySymbols: et }); var at = c((function() { E.f(1) })); a(a.S + a.F * at, "Object", { getOwnPropertySymbols: function(t) { return E.f(w(t)) } }), P && a(a.S + a.F * (!Y || c((function() { var t = A(); return "[null]" != L([t]) || "{}" != L({ a: t }) || "{}" != L(Object(t)) }))), "JSON", { stringify: function(t) { for (var e, n, o = [t], r = 1; arguments.length > r;) o.push(arguments[r++]); if (n = e = o[1], (b(e) || void 0 !== t) && !K(t)) return g(e) || (e = function(t, e) { if ("function" == typeof n && (e = n.call(this, t, e)), !K(e)) return e }), o[1] = e, L.apply(P, o) } }), A[N][F] || n("35e8")(A[N], F, A[N].valueOf), d(A, "Symbol"), d(Math, "Math", !0), d(o.JSON, "JSON", !0) }, "01f9": function(t, e, n) { "use strict"; var o = n("2d00"), r = n("5ca1"), i = n("2aba"), a = n("32e9"), s = n("84f2"), l = n("41a0"), c = n("7f20"), u = n("38fd"), d = n("2b4c")("iterator"), f = !([].keys && "next" in [].keys()), p = "keys", h = "values", m = function() { return this }; t.exports = function(t, e, n, v, g, y, b) { l(n, e, v); var w, O, x, C = function(t) { if (!f && t in E) return E[t]; switch (t) { case p: case h: return function() { return new n(this, t) } } return function() { return new n(this, t) } }, S = e + " Iterator", D = g == h, _ = !1, E = t.prototype, k = E[d] || E["@@iterator"] || g && E[g], M = k || C(g), R = g ? D ? C("entries") : M : void 0, T = "Array" == e && E.entries || k; if (T && ((x = u(T.call(new t))) !== Object.prototype && x.next && (c(x, S, !0), o || "function" == typeof x[d] || a(x, d, m))), D && k && k.name !== h && (_ = !0, M = function() { return k.call(this) }), o && !b || !f && !_ && E[d] || a(E, d, M), s[e] = M, s[S] = m, g) if (w = { values: D ? M : C(h), keys: y ? M : C(p), entries: R }, b) for (O in w) O in E || i(E, O, w[O]); else r(r.P + r.F * (f || _), e, w); return w } }, "02f4": function(t, e, n) { var o = n("4588"), r = n("be13"); t.exports = function(t) { return function(e, n) { var i, a, s = String(r(e)), l = o(n), c = s.length; return l < 0 || l >= c ? t ? "" : void 0 : (i = s.charCodeAt(l)) < 55296 || i > 56319 || l + 1 === c || (a = s.charCodeAt(l + 1)) < 56320 || a > 57343 ? t ? s.charAt(l) : i : t ? s.slice(l, l + 2) : a - 56320 + (i - 55296 << 10) + 65536 } } }, "0390": function(t, e, n) { "use strict"; var o = n("02f4")(!0); t.exports = function(t, e, n) { return e + (n ? o(t, e).length : 1) } }, "0395": function(t, e, n) { var o = n("36c3"), r = n("6abf").f, i = {}.toString, a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; t.exports.f = function(t) { return a && "[object Window]" == i.call(t) ? function(t) { try { return r(t) } catch (t) { return a.slice() } }(t) : r(o(t)) } }, "07e3": function(t, e) { var n = {}.hasOwnProperty; t.exports = function(t, e) { return n.call(t, e) } }, "099a": function(t, e, n) { "use strict"; var o = Number.prototype.toString, r = Object.prototype.toString, i = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag; t.exports = function(t) { return "number" == typeof t || "object" == typeof t && (i ? function(t) { try { return o.call(t), !0 } catch (t) { return !1 } }(t) : "[object Number]" === r.call(t)) } }, "09fa": function(t, e, n) { var o = n("4588"), r = n("9def"); t.exports = function(t) { if (void 0 === t) return 0; var e = o(t), n = r(e); if (e !== n) throw RangeError("Wrong length!"); return n } }, "0a49": function(t, e, n) { var o = n("9b43"), r = n("626a"), i = n("4bf8"), a = n("9def"), s = n("cd1c"); t.exports = function(t, e) { var n = 1 == t, l = 2 == t, c = 3 == t, u = 4 == t, d = 6 == t, f = 5 == t || d, p = e || s; return function(e, s, h) { for (var m, v, g = i(e), y = r(g), b = o(s, h, 3), w = a(y.length), O = 0, x = n ? p(e, w) : l ? p(e, 0) : void 0; w > O; O++) if ((f || O in y) && (v = b(m = y[O], O, g), t)) if (n) x[O] = v; else if (v) switch (t) { case 3: return !0; case 5: return m; case 6: return O; case 2: x.push(m) } else if (u) return !1; return d ? -1 : c || u ? u : x } } }, "0bfb": function(t, e, n) { "use strict"; var o = n("cb7c"); t.exports = function() { var t = o(this), e = ""; return t.global && (e += "g"), t.ignoreCase && (e += "i"), t.multiline && (e += "m"), t.unicode && (e += "u"), t.sticky && (e += "y"), e } }, "0d58": function(t, e, n) { var o = n("ce10"), r = n("e11e"); t.exports = Object.keys || function(t) { return o(t, r) } }, "0e65": function(t, e, n) { "use strict"; var o = Date.prototype.getDay, r = Object.prototype.toString, i = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag; t.exports = function(t) { return "object" == typeof t && null !== t && (i ? function(t) { try { return o.call(t), !0 } catch (t) { return !1 } }(t) : "[object Date]" === r.call(t)) } }, "0f7c": function(t, e, n) { "use strict"; var o = n("688e"); t.exports = Function.prototype.bind || o }, "0f88": function(t, e, n) { for (var o, r = n("7726"), i = n("32e9"), a = n("ca5a"), s = a("typed_array"), l = a("view"), c = !(!r.ArrayBuffer || !r.DataView), u = c, d = 0, f = "Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(","); d < 9;)(o = r[f[d++]]) ? (i(o.prototype, s, !0), i(o.prototype, l, !0)) : u = !1; t.exports = { ABV: c, CONSTR: u, TYPED: s, VIEW: l } }, "0fc9": function(t, e, n) { var o = n("3a38"), r = Math.max, i = Math.min; t.exports = function(t, e) { return (t = o(t)) < 0 ? r(t + e, 0) : i(t, e) } }, 1169: function(t, e, n) { var o = n("2d95"); t.exports = Array.isArray || function(t) { return "Array" == o(t) } }, 1173: function(t, e) { t.exports = function(t, e, n, o) { if (!(t instanceof e) || void 0 !== o && o in t) throw TypeError(n + ": incorrect invocation!"); return t } }, "11e9": function(t, e, n) { var o = n("52a7"), r = n("4630"), i = n("6821"), a = n("6a99"), s = n("69a8"), l = n("c69a"), c = Object.getOwnPropertyDescriptor; e.f = n("9e1e") ? c : function(t, e) { if (t = i(t), e = a(e, !0), l) try { return c(t, e) } catch (t) {} if (s(t, e)) return r(!o.f.call(t, e), t[e]) } }, 1495: function(t, e, n) { var o = n("86cc"), r = n("cb7c"), i = n("0d58"); t.exports = n("9e1e") ? Object.defineProperties : function(t, e) { r(t); for (var n, a = i(e), s = a.length, l = 0; s > l;) o.f(t, n = a[l++], e[n]); return t } }, 1654: function(t, e, n) { "use strict"; var o = n("71c1")(!0); n("30f1")(String, "String", (function(t) { this._t = String(t), this._i = 0 }), (function() { var t, e = this._t, n = this._i; return n >= e.length ? { value: void 0, done: !0 } : (t = o(e, n), this._i += t.length, { value: t, done: !1 }) })) }, 1691: function(t, e) { t.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",") }, 1696: function(t, e, n) { "use strict"; t.exports = function() { if ("function" != typeof Symbol || "function" != typeof Object.getOwnPropertySymbols) return !1; if ("symbol" == typeof Symbol.iterator) return !0; var t = {}, e = Symbol("test"), n = Object(e); if ("string" == typeof e) return !1; if ("[object Symbol]" !== Object.prototype.toString.call(e)) return !1; if ("[object Symbol]" !== Object.prototype.toString.call(n)) return !1; for (e in t[e] = 42, t) return !1; if ("function" == typeof Object.keys && 0 !== Object.keys(t).length) return !1; if ("function" == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(t).length) return !1; var o = Object.getOwnPropertySymbols(t); if (1 !== o.length || o[0] !== e) return !1; if (!Object.prototype.propertyIsEnumerable.call(t, e)) return !1; if ("function" == typeof Object.getOwnPropertyDescriptor) { var r = Object.getOwnPropertyDescriptor(t, e); if (42 !== r.value || !0 !== r.enumerable) return !1 } return !0 } }, "16e7": function(t, e, n) { "use strict"; var o = n("d6c7"), r = n("0f7c"), i = function(t) { return null != t }, a = n("1696")(), s = Object, l = r.call(Function.call, Array.prototype.push), c = r.call(Function.call, Object.prototype.propertyIsEnumerable), u = a ? Object.getOwnPropertySymbols : null; t.exports = function(t, e) { if (!i(t)) throw new TypeError("target must be an object"); var n, r, d, f, p, h, m, v = s(t); for (n = 1; n < arguments.length; ++n) { r = s(arguments[n]), f = o(r); var g = a && (Object.getOwnPropertySymbols || u); if (g) for (p = g(r), d = 0; d < p.length; ++d) m = p[d], c(r, m) && l(f, m); for (d = 0; d < f.length; ++d) h = r[m = f[d]], c(r, m) && (v[m] = h) } return v } }, "1af6": function(t, e, n) { var o = n("63b6"); o(o.S, "Array", { isArray: n("9003") }) }, "1bc3": function(t, e, n) { var o = n("f772"); t.exports = function(t, e) { if (!o(t)) return t; var n, r; if (e && "function" == typeof(n = t.toString) && !o(r = n.call(t))) return r; if ("function" == typeof(n = t.valueOf) && !o(r = n.call(t))) return r; if (!e && "function" == typeof(n = t.toString) && !o(r = n.call(t))) return r; throw TypeError("Can't convert object to primitive value") } }, "1c4c": function(t, e, n) { "use strict"; var o = n("9b43"), r = n("5ca1"), i = n("4bf8"), a = n("1fa8"), s = n("33a4"), l = n("9def"), c = n("f1ae"), u = n("27ee"); r(r.S + r.F * !n("5cc5")((function(t) { Array.from(t) })), "Array", { from: function(t) { var e, n, r, d, f = i(t), p = "function" == typeof this ? this : Array, h = arguments.length, m = h > 1 ? arguments[1] : void 0, v = void 0 !== m, g = 0, y = u(f); if (v && (m = o(m, h > 2 ? arguments[2] : void 0, 2)), null == y || p == Array && s(y)) for (n = new p(e = l(f.length)); e > g; g++) c(n, g, v ? m(f[g], g) : f[g]); else for (d = y.call(f), n = new p; !(r = d.next()).done; g++) c(n, g, v ? a(d, m, [r.value, g], !0) : r.value); return n.length = g, n } }) }, "1c7e": function(t, e, n) { "use strict"; var o = n("f367").supportsDescriptors, r = n("57ec"), i = Object.getOwnPropertyDescriptor, a = Object.defineProperty, s = TypeError, l = Object.getPrototypeOf, c = /a/; t.exports = function() { if (!o || !l) throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors"); var t = r(), e = l(c), n = i(e, "flags"); return n && n.get === t || a(e, "flags", { configurable: !0, enumerable: !1, get: t }), t } }, "1dd1": function(t, e, n) { "use strict"; var o = n("e9ac")("%Object.getOwnPropertyDescriptor%"); if (o) try { o([], "length") } catch (t) { o = null } t.exports = o }, "1ec8": function(t, e, n) { "use strict"; n.d(e, "a", (function() { return i })); var o = n("d225"), r = n("bd86"), i = function t(e, n) { var i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; Object(o.a)(this, t), Object(r.a)(this, "runnerId", ""), Object(r.a)(this, "component", null), Object(r.a)(this, "data", {}), this.runnerId = e, this.component = n, this.data = i } }, "1ec9": function(t, e, n) { var o = n("f772"), r = n("e53d").document, i = o(r) && o(r.createElement); t.exports = function(t) { return i ? r.createElement(t) : {} } }, "1fa8": function(t, e, n) { var o = n("cb7c"); t.exports = function(t, e, n, r) { try { return r ? e(o(n)[0], n[1]) : e(n) } catch (e) { var i = t.return; throw void 0 !== i && o(i.call(t)), e } } }, "20d6": function(t, e, n) { "use strict"; var o = n("5ca1"), r = n("0a49")(6), i = "findIndex", a = !0; i in [] && Array(1)[i]((function() { a = !1 })), o(o.P + o.F * a, "Array", { findIndex: function(t) { return r(this, t, arguments.length > 1 ? arguments[1] : void 0) } }), n("9c6c")(i) }, "20fd": function(t, e, n) { "use strict"; var o = n("d9f6"), r = n("aebd"); t.exports = function(t, e, n) { e in t ? o.f(t, e, r(0, n)) : t[e] = n } }, "214f": function(t, e, n) { "use strict"; n("b0c5"); var o = n("2aba"), r = n("32e9"), i = n("79e5"), a = n("be13"), s = n("2b4c"), l = n("520a"), c = s("species"), u = !i((function() { var t = /./; return t.exec = function() { var t = []; return t.groups = { a: "7" }, t }, "7" !== "".replace(t, "$<a>") })), d = function() { var t = /(?:)/, e = t.exec; t.exec = function() { return e.apply(this, arguments) }; var n = "ab".split(t); return 2 === n.length && "a" === n[0] && "b" === n[1] }(); t.exports = function(t, e, n) { var f = s(t), p = !i((function() { var e = {}; return e[f] = function() { return 7 }, 7 != "" [t](e) })), h = p ? !i((function() { var e = !1, n = /a/; return n.exec = function() { return e = !0, null }, "split" === t && (n.constructor = {}, n.constructor[c] = function() { return n }), n[f](""), !e })) : void 0; if (!p || !h || "replace" === t && !u || "split" === t && !d) { var m = /./ [f], v = n(a, f, "" [t], (function(t, e, n, o, r) { return e.exec === l ? p && !r ? { done: !0, value: m.call(e, n, o) } : { done: !0, value: t.call(n, e, o) } : { done: !1 } })), g = v[0], y = v[1]; o(String.prototype, t, g), r(RegExp.prototype, f, 2 == e ? function(t, e) { return y.call(t, this, e) } : function(t) { return y.call(t, this) }) } } }, "22a0": function(t, e, n) { "use strict"; n.d(e, "a", (function() { return o })); var o = { headline: "", subHeadline: "", isShowHeadline: !1, renderFormTag: !1, formActionURL: "", formMethod: "POST", enableServerSideValidation: !1, serverSideValidationEndpoint: "" } }, "230e": function(t, e, n) { var o = n("d3f4"), r = n("7726").document, i = o(r) && o(r.createElement); t.exports = function(t) { return i ? r.createElement(t) : {} } }, "23c6": function(t, e, n) { var o = n("2d95"), r = n("2b4c")("toStringTag"), i = "Arguments" == o(function() { return arguments }()); t.exports = function(t) { var e, n, a; return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof(n = function(t, e) { try { return t[e] } catch (t) {} }(e = Object(t), r)) ? n : i ? o(e) : "Object" == (a = o(e)) && "function" == typeof e.callee ? "Arguments" : a } }, "241e": function(t, e, n) { var o = n("25eb"); t.exports = function(t) { return Object(o(t)) } }, "242e": function(t, e, n) { "use strict"; if ("function" == typeof BigInt) { var o = BigInt.prototype.valueOf; t.exports = function(t) { return null != t && "boolean" != typeof t && "string" != typeof t && "number" != typeof t && "symbol" != typeof t && "function" != typeof t && ("bigint" == typeof t || function(t) { try { return o.call(t), !0 } catch (t) {} return !1 }(t)) } } else t.exports = function(t) { return !1 } }, "24c5": function(t, e, n) { "use strict"; var o, r, i, a, s = n("b8e3"), l = n("e53d"), c = n("d864"), u = n("40c3"), d = n("63b6"), f = n("f772"), p = n("79aa"), h = n("1173"), m = n("a22a"), v = n("f201"), g = n("4178").set, y = n("aba2")(), b = n("656e"), w = n("4439"), O = n("bc13"), x = n("cd78"), C = "Promise", S = l.TypeError, D = l.process, _ = D && D.versions, E = _ && _.v8 || "", k = l[C], M = "process" == u(D), R = function() {}, T = r = b.f, I = !! function() { try { var t = k.resolve(1), e = (t.constructor = {})[n("5168")("species")] = function(t) { t(R, R) }; return (M || "function" == typeof PromiseRejectionEvent) && t.then(R) instanceof e && 0 !== E.indexOf("6.6") && -1 === O.indexOf("Chrome/66") } catch (t) {} }(), A = function(t) { var e; return !(!f(t) || "function" != typeof(e = t.then)) && e }, P = function(t, e) { if (!t._n) { t._n = !0; var n = t._c; y((function() { for (var o = t._v, r = 1 == t._s, i = 0, a = function(e) { var n, i, a, s = r ? e.ok : e.fail, l = e.resolve, c = e.reject, u = e.domain; try { s ? (r || (2 == t._h && j(t), t._h = 1), !0 === s ? n = o : (u && u.enter(), n = s(o), u && (u.exit(), a = !0)), n === e.promise ? c(S("Promise-chain cycle")) : (i = A(n)) ? i.call(n, l, c) : l(n)) : c(o) } catch (t) { u && !a && u.exit(), c(t) } }; n.length > i;) a(n[i++]); t._c = [], t._n = !1, e && !t._h && L(t) })) } }, L = function(t) { g.call(l, (function() { var e, n, o, r = t._v, i = N(t); if (i && (e = w((function() { M ? D.emit("unhandledRejection", r, t) : (n = l.onunhandledrejection) ? n({ promise: t, reason: r }) : (o = l.console) && o.error && o.error("Unhandled promise rejection", r) })), t._h = M || N(t) ? 2 : 1), t._a = void 0, i && e.e) throw e.v })) }, N = function(t) { return 1 !== t._h && 0 === (t._a || t._c).length }, j = function(t) { g.call(l, (function() { var e; M ? D.emit("rejectionHandled", t) : (e = l.onrejectionhandled) && e({ promise: t, reason: t._v }) })) }, F = function(t) { var e = this; e._d || (e._d = !0, (e = e._w || e)._v = t, e._s = 2, e._a || (e._a = e._c.slice()), P(e, !0)) }, $ = function(t) { var e, n = this; if (!n._d) { n._d = !0, n = n._w || n; try { if (n === t) throw S("Promise can't be resolved itself"); (e = A(t)) ? y((function() { var o = { _w: n, _d: !1 }; try { e.call(t, c($, o, 1), c(F, o, 1)) } catch (t) { F.call(o, t) } })): (n._v = t, n._s = 1, P(n, !1)) } catch (t) { F.call({ _w: n, _d: !1 }, t) } } }; I || (k = function(t) { h(this, k, C, "_h"), p(t), o.call(this); try { t(c($, this, 1), c(F, this, 1)) } catch (t) { F.call(this, t) } }, (o = function(t) { this._c = [], this._a = void 0, this._s = 0, this._d = !1, this._v = void 0, this._h = 0, this._n = !1 }).prototype = n("5c95")(k.prototype, { then: function(t, e) { var n = T(v(this, k)); return n.ok = "function" != typeof t || t, n.fail = "function" == typeof e && e, n.domain = M ? D.domain : void 0, this._c.push(n), this._a && this._a.push(n), this._s && P(this, !1), n.promise }, catch: function(t) { return this.then(void 0, t) } }), i = function() { var t = new o; this.promise = t, this.resolve = c($, t, 1), this.reject = c(F, t, 1) }, b.f = T = function(t) { return t === k || t === a ? new i(t) : r(t) }), d(d.G + d.W + d.F * !I, { Promise: k }), n("45f2")(k, C), n("4c95")(C), a = n("584a")[C], d(d.S + d.F * !I, C, { reject: function(t) { var e = T(this); return (0, e.reject)(t), e.promise } }), d(d.S + d.F * (s || !I), C, { resolve: function(t) { return x(s && this === a ? k : this, t) } }), d(d.S + d.F * !(I && n("4ee1")((function(t) { k.all(t).catch(R) }))), C, { all: function(t) { var e = this, n = T(e), o = n.resolve, r = n.reject, i = w((function() { var n = [], i = 0, a = 1; m(t, !1, (function(t) { var s = i++, l = !1; n.push(void 0), a++, e.resolve(t).then((function(t) { l || (l = !0, n[s] = t, --a || o(n)) }), r) })), --a || o(n) })); return i.e && r(i.v), n.promise }, race: function(t) { var e = this, n = T(e), o = n.reject, r = w((function() { m(t, !1, (function(t) { e.resolve(t).then(n.resolve, o) })) })); return r.e && o(r.v), n.promise } }) }, 2560: function(t, e, n) { "use strict"; n.d(e, "a", (function() { return u })), n("ac6a"), n("cadf"), n("456d"), n("f751"), n("a481"); var o = { addOutline: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n<path d="M11 9h4v2h-4v4H9v-4H5V9h4V5h2v4zm-1 11a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16z"/>\n</svg>\n', arrowUp: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n <polygon points="9 3.828 2.929 9.899 1.515 8.485 10 0 10.707 .707 18.485 8.485 17.071 9.899 11 3.828 11 20 9 20 9 3.828"/>\n</svg>\n', arrowDown: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n <polygon points="9 16.172 2.929 10.101 1.515 11.515 10 20 10.707 19.293 18.485 11.515 17.071 10.101 11 16.172 11 0 9 0"/>\n</svg>\n', editPencil: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n <path d="M12.3 3.7l4 4L4 20H0v-4L12.3 3.7zm1.4-1.4L16 0l4 4-2.3 2.3-4-4z"/>\n</svg>\n', cog: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n <path d="M3.94 6.5L2.22 3.64l1.42-1.42L6.5 3.94c.52-.3 1.1-.54 1.7-.7L9 0h2l.8 3.24c.6.16 1.18.4 1.7.7l2.86-1.72 1.42 1.42-1.72 2.86c.3.52.54 1.1.7 1.7L20 9v2l-3.24.8c-.16.6-.4 1.18-.7 1.7l1.72 2.86-1.42 1.42-2.86-1.72c-.52.3-1.1.54-1.7.7L11 20H9l-.8-3.24c-.6-.16-1.18-.4-1.7-.7l-2.86 1.72-1.42-1.42 1.72-2.86c-.3-.52-.54-1.1-.7-1.7L0 11V9l3.24-.8c.16-.6.4-1.18.7-1.7zM10 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n</svg>\n', close: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n<path d="M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"/>\n</svg>\n', trash: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n <path d="M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"/>\n</svg>\n', chevronUp: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n<path d="M10.707 7.05L10 6.343 4.343 12l1.414 1.414L10 9.172l4.243 4.242L15.657 12z"/>\n</svg>\n', chevronDown: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n<path d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"/>\n</svg>\n', navigationMore: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n<path d="M4 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm6 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm6 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"/>\n</svg>\n', informationOutline: '\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" width="{0}" height="{1}" fill="{2}">\n <path d="M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM9 11V9h2v6H9v-4zm0-6h2v2H9V5z"/>\n</svg>\n' }, r = { getSVG: function(t) { var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "16px", n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "16px", r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "#ffffff"; if (!o[t]) throw new TypeError("Icon Name '".concat(t, "' doesn't exists in Vue-Form-Builder.")); var i = o[t].replace("{0}", e).replace("{1}", n).replace("{2}", r); return i } }, i = n("6a29"), a = n("fbdb"), s = n("8dbe"), l = n("d60e"), c = n("a786"), u = (n("65fb"), function t(e) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; if (!t.installed) { var o = { globalInjection: !0, validationErrorShowAlert: !0, validationErrorAlertText: "Your form got error(s), please fix it and submit again" }; Object.assign(n, o); var s = { getIcon: r.getSVG }; n.hasOwnProperty("controls") && d(n.controls), n.hasOwnProperty("styles") && Object.assign(l.a, n.styles), n.hasOwnProperty("validations") && f(n.validations), n.hasOwnProperty("validationClosures") && (s.validationClosures = n.validationClosures), s.validationErrorShowAlert = n.validationErrorShowAlert || !0, s.validationErrorAlertText = n.validationErrorAlertText, n.disableControls && n.disableControls.length && p(n.disableControls), e.prototype.$formEvent = new e, e.prototype.$form = s, n.hasOwnProperty("globalInjection") && !n.globalInjection || (e.component("FormBuilder", i.a), e.component("FormRenderer", a.a)), t.installed = !0 } }), d = function(t) { for (var e = Object.keys(t), n = 0; n < e.length; n++) { var o = e[n]; if (s.a.hasOwnProperty(o)) throw new TypeError("Extend-Control-Error: Your '".concat(o, "' control is duplicated with our build-in Controls. Please change to another key name instead.")) } Object.assign(s.a, t) }, f = function(t) { for (var e = Object.keys(t), n = 0; n < e.length; n++) { var o = e[n]; if (c.a.hasOwnProperty(o)) throw new TypeError("Extend-Validation-Error: Your '".concat(o, "' validation is duplicated with our build-in Validation. Please change to another key name instead.")) } Object.assign(c.a, t) }, p = function(t) { t.forEach((function(t) { return s.a[t].isHidden = !0 })) } }, "25eb": function(t, e) { t.exports = function(t) { if (null == t) throw TypeError("Can't call method on " + t); return t } }, 2621: function(t, e) { e.f = Object.getOwnPropertySymbols }, 2714: function(t, e, n) { var o = "function" == typeof Map && Map.prototype, r = Object.getOwnPropertyDescriptor && o ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, i = o && r && "function" == typeof r.get ? r.get : null, a = o && Map.prototype.forEach, s = "function" == typeof Set && Set.prototype, l = Object.getOwnPropertyDescriptor && s ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, c = s && l && "function" == typeof l.get ? l.get : null, u = s && Set.prototype.forEach, d = "function" == typeof WeakMap && WeakMap.prototype ? WeakMap.prototype.has : null, f = "function" == typeof WeakSet && WeakSet.prototype ? WeakSet.prototype.has : null, p = Boolean.prototype.valueOf, h = Object.prototype.toString, m = Function.prototype.toString, v = String.prototype.match, g = "function" == typeof BigInt ? BigInt.prototype.valueOf : null, y = n(0).custom, b = y && _(y) ? y : null; function w(t, e, n) { var o = "double" === (n.quoteStyle || e) ? '"' : "'"; return o + t + o } function O(t) { return String(t).replace(/"/g, "&quot;") } function x(t) { return "[object Array]" === A(t) } function C(t) { return "[object Date]" === A(t) } function S(t) { return "[object RegExp]" === A(t) } function D(t) { return "[object Error]" === A(t) } function _(t) { return "[object Symbol]" === A(t) } function E(t) { return "[object String]" === A(t) } function k(t) { return "[object Number]" === A(t) } function M(t) { return "[object BigInt]" === A(t) } function R(t) { return "[object Boolean]" === A(t)