UNPKG

epic-designer-cjh

Version:

基于vue3的设计器,可视化开发页面表单

342 lines (341 loc) 11.6 kB
import { _ as K } from "./typeof-88a201b1.js"; var I = { exports: {} }, W; function Q() { return W || (W = 1, function(c) { var A = K.default; function M() { c.exports = M = function() { return h; }, c.exports.__esModule = !0, c.exports.default = c.exports; var h = {}, q = Object.prototype, d = q.hasOwnProperty, w = Object.defineProperty || function(e, t, r) { e[t] = r.value; }, O = typeof Symbol == "function" ? Symbol : {}, L = O.iterator || "@@iterator", B = O.asyncIterator || "@@asyncIterator", R = O.toStringTag || "@@toStringTag"; function s(e, t, r) { return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t]; } try { s({}, ""); } catch { s = function(r, n, i) { return r[n] = i; }; } function Y(e, t, r, n) { var i = t && t.prototype instanceof G ? t : G, o = Object.create(i.prototype), a = new T(n || []); return w(o, "_invoke", { value: H(e, r, a) }), o; } function S(e, t, r) { try { return { type: "normal", arg: e.call(t, r) }; } catch (n) { return { type: "throw", arg: n }; } } h.wrap = Y; var p = {}; function G() { } function b() { } function v() { } var k = {}; s(k, L, function() { return this; }); var j = Object.getPrototypeOf, _ = j && j(j(P([]))); _ && _ !== q && d.call(_, L) && (k = _); var m = v.prototype = G.prototype = Object.create(k); function C(e) { ["next", "throw", "return"].forEach(function(t) { s(e, t, function(r) { return this._invoke(t, r); }); }); } function E(e, t) { function r(i, o, a, u) { var f = S(e[i], e, o); if (f.type !== "throw") { var g = f.arg, l = g.value; return l && A(l) == "object" && d.call(l, "__await") ? t.resolve(l.__await).then(function(y) { r("next", y, a, u); }, function(y) { r("throw", y, a, u); }) : t.resolve(l).then(function(y) { g.value = y, a(g); }, function(y) { return r("throw", y, a, u); }); } u(f.arg); } var n; w(this, "_invoke", { value: function(o, a) { function u() { return new t(function(f, g) { r(o, a, f, g); }); } return n = n ? n.then(u, u) : u(); } }); } function H(e, t, r) { var n = "suspendedStart"; return function(i, o) { if (n === "executing") throw new Error("Generator is already running"); if (n === "completed") { if (i === "throw") throw o; return D(); } for (r.method = i, r.arg = o; ; ) { var a = r.delegate; if (a) { var u = $(a, r); if (u) { if (u === p) continue; return u; } } if (r.method === "next") r.sent = r._sent = r.arg; else if (r.method === "throw") { if (n === "suspendedStart") throw n = "completed", r.arg; r.dispatchException(r.arg); } else r.method === "return" && r.abrupt("return", r.arg); n = "executing"; var f = S(e, t, r); if (f.type === "normal") { if (n = r.done ? "completed" : "suspendedYield", f.arg === p) continue; return { value: f.arg, done: r.done }; } f.type === "throw" && (n = "completed", r.method = "throw", r.arg = f.arg); } }; } function $(e, t) { var r = t.method, n = e.iterator[r]; if (n === void 0) return t.delegate = null, r === "throw" && e.iterator.return && (t.method = "return", t.arg = void 0, $(e, t), t.method === "throw") || r !== "return" && (t.method = "throw", t.arg = new TypeError("The iterator does not provide a '" + r + "' method")), p; var i = S(n, e.iterator, t.arg); if (i.type === "throw") return t.method = "throw", t.arg = i.arg, t.delegate = null, p; var o = i.arg; return o ? o.done ? (t[e.resultName] = o.value, t.next = e.nextLoc, t.method !== "return" && (t.method = "next", t.arg = void 0), t.delegate = null, p) : o : (t.method = "throw", t.arg = new TypeError("iterator result is not an object"), t.delegate = null, p); } function J(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t); } function N(e) { var t = e.completion || {}; t.type = "normal", delete t.arg, e.completion = t; } function T(e) { this.tryEntries = [{ tryLoc: "root" }], e.forEach(J, this), this.reset(!0); } function P(e) { if (e) { var t = e[L]; if (t) return t.call(e); if (typeof e.next == "function") return e; if (!isNaN(e.length)) { var r = -1, n = function i() { for (; ++r < e.length; ) if (d.call(e, r)) return i.value = e[r], i.done = !1, i; return i.value = void 0, i.done = !0, i; }; return n.next = n; } } return { next: D }; } function D() { return { value: void 0, done: !0 }; } return b.prototype = v, w(m, "constructor", { value: v, configurable: !0 }), w(v, "constructor", { value: b, configurable: !0 }), b.displayName = s(v, R, "GeneratorFunction"), h.isGeneratorFunction = function(e) { var t = typeof e == "function" && e.constructor; return !!t && (t === b || (t.displayName || t.name) === "GeneratorFunction"); }, h.mark = function(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : (e.__proto__ = v, s(e, R, "GeneratorFunction")), e.prototype = Object.create(m), e; }, h.awrap = function(e) { return { __await: e }; }, C(E.prototype), s(E.prototype, B, function() { return this; }), h.AsyncIterator = E, h.async = function(e, t, r, n, i) { i === void 0 && (i = Promise); var o = new E(Y(e, t, r, n), i); return h.isGeneratorFunction(t) ? o : o.next().then(function(a) { return a.done ? a.value : o.next(); }); }, C(m), s(m, R, "Generator"), s(m, L, function() { return this; }), s(m, "toString", function() { return "[object Generator]"; }), h.keys = function(e) { var t = Object(e), r = []; for (var n in t) r.push(n); return r.reverse(), function i() { for (; r.length; ) { var o = r.pop(); if (o in t) return i.value = o, i.done = !1, i; } return i.done = !0, i; }; }, h.values = P, T.prototype = { constructor: T, reset: function(t) { if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = !1, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(N), !t) for (var r in this) r.charAt(0) === "t" && d.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = void 0); }, stop: function() { this.done = !0; var t = this.tryEntries[0].completion; if (t.type === "throw") throw t.arg; return this.rval; }, dispatchException: function(t) { if (this.done) throw t; var r = this; function n(g, l) { return a.type = "throw", a.arg = t, r.next = g, l && (r.method = "next", r.arg = void 0), !!l; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var o = this.tryEntries[i], a = o.completion; if (o.tryLoc === "root") return n("end"); if (o.tryLoc <= this.prev) { var u = d.call(o, "catchLoc"), f = d.call(o, "finallyLoc"); if (u && f) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0); if (this.prev < o.finallyLoc) return n(o.finallyLoc); } else if (u) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0); } else { if (!f) throw new Error("try statement without catch or finally"); if (this.prev < o.finallyLoc) return n(o.finallyLoc); } } } }, abrupt: function(t, r) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var i = this.tryEntries[n]; if (i.tryLoc <= this.prev && d.call(i, "finallyLoc") && this.prev < i.finallyLoc) { var o = i; break; } } o && (t === "break" || t === "continue") && o.tryLoc <= r && r <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; return a.type = t, a.arg = r, o ? (this.method = "next", this.next = o.finallyLoc, p) : this.complete(a); }, complete: function(t, r) { if (t.type === "throw") throw t.arg; return t.type === "break" || t.type === "continue" ? this.next = t.arg : t.type === "return" ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : t.type === "normal" && r && (this.next = r), p; }, finish: function(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var n = this.tryEntries[r]; if (n.finallyLoc === t) return this.complete(n.completion, n.afterLoc), N(n), p; } }, catch: function(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var n = this.tryEntries[r]; if (n.tryLoc === t) { var i = n.completion; if (i.type === "throw") { var o = i.arg; N(n); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function(t, r, n) { return this.delegate = { iterator: P(t), resultName: r, nextLoc: n }, this.method === "next" && (this.arg = void 0), p; } }, h; } c.exports = M, c.exports.__esModule = !0, c.exports.default = c.exports; }(I)), I.exports; } var x, z; function V() { if (z) return x; z = 1; var c = Q()(); x = c; try { regeneratorRuntime = c; } catch { typeof globalThis == "object" ? globalThis.regeneratorRuntime = c : Function("r", "regeneratorRuntime = r")(c); } return x; } export { V as r };