diff --git a/core/core-frontend/src/fcDesignerPro/index.es.js b/core/core-frontend/src/fcDesignerPro/index.es.js index 9507df6..1433209 100644 --- a/core/core-frontend/src/fcDesignerPro/index.es.js +++ b/core/core-frontend/src/fcDesignerPro/index.es.js @@ -8,7 +8,7 @@ var iw = Object.defineProperty; var rw = (e, t, i) => t in e ? iw(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i; var Wt = (e, t, i) => (rw(e, typeof t != "symbol" ? t + "" : t, i), i); -import { computed as Cn, isRef as ny, unref as iy, ref as Bs, resolveComponent as ne, TransitionGroup as ow, defineComponent as Ve, h as on, nextTick as Yn, toRef as Ei, createVNode as W, mergeProps as jt, openBlock as H, createElementBlock as ae, createElementVNode as X, reactive as vi, markRaw as Gt, withCtx as N, Fragment as Me, renderList as We, createBlock as he, createTextVNode as be, toDisplayString as le, resolveDynamicComponent as ar, createCommentVNode as ke, onUnmounted as ou, withDirectives as bn, resolveDirective as aw, normalizeClass as Xe, normalizeStyle as wn, renderSlot as kt, createSlots as Qn, shallowRef as Vs, withModifiers as vt, vShow as Sn, withKeys as al, normalizeProps as Sr, guardReactiveProps as Er, toRefs as zm, getCurrentInstance as lw, provide as Wm, watch as xo } from "vue"; +import { computed as Cn, isRef as ny, unref as iy, ref as Bs, resolveComponent as ee, TransitionGroup as ow, defineComponent as Be, h as on, nextTick as Yn, toRef as Ei, createVNode as z, mergeProps as jt, openBlock as H, createElementBlock as ae, createElementVNode as J, reactive as vi, markRaw as Gt, withCtx as N, Fragment as Me, renderList as ze, createBlock as me, createTextVNode as be, toDisplayString as le, resolveDynamicComponent as ar, createCommentVNode as Te, onUnmounted as ou, withDirectives as bn, resolveDirective as aw, normalizeClass as qe, normalizeStyle as wn, renderSlot as kt, createSlots as Qn, shallowRef as Vs, withModifiers as vt, vShow as Sn, withKeys as al, normalizeProps as Sr, guardReactiveProps as Er, toRefs as zm, getCurrentInstance as lw, provide as Wm, watch as xo } from "vue"; import { ElMessage as $c, ElLoading as sw } from "element-plus"; import au from "@form-create/element-ui"; import Bt from "@form-create/vant"; @@ -143,6 +143,7 @@ const ry = { field: "\u5B57\u6BB5 ID", title: "\u5B57\u6BB5\u540D\u79F0", attributeId: "\u662F\u5426\u4E3B\u952E", + fieldtype: "\u5B57\u6BB5\u7C7B\u578B", info: "\u63D0\u793A\u4FE1\u606F", ignore: "\u5FFD\u7565\u5B57\u6BB5", native: "\u662F\u5426\u663E\u793A\u6807\u9898", @@ -2512,7 +2513,7 @@ function Us(e) { return e.filter((t, i) => e.indexOf(t) === i); } let Aw = 0; -function it() { +function rt() { const e = 370 + ++Aw; return "F" + Math.random().toString(36).substr(3, 3) + Number(`${Date.now()}`).toString(36) + e.toString(36) + "c"; } @@ -2525,7 +2526,7 @@ function Cw(e, t) { }; } function Xm({ t: e }) { - const t = it(); + const t = rt(); return [ { type: "input", @@ -2722,6 +2723,12 @@ function Fa({ t: e }) { value: "", title: e("form.title") }, + { + type: "Input", + field: "fieldtype", + value: "", + title: e("form.fieldtype") + }, { type: "LanguageInput", field: "info", @@ -2959,7 +2966,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Td, - field: it(), + field: rt(), title: e("com.radio.name"), info: "", effect: { @@ -3014,7 +3021,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: kd, - field: it(), + field: rt(), title: e("com.checkbox.name"), info: "", effect: { @@ -3074,7 +3081,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Od, - field: it(), + field: rt(), title: e("com.input.name"), info: "", $required: !1, @@ -3129,7 +3136,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: "input", - field: it(), + field: rt(), title: e("com.textarea.name"), info: "", $required: !1, @@ -3186,7 +3193,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: "input", - field: it(), + field: rt(), title: e("com.password.name"), info: "", $required: !1, @@ -3233,7 +3240,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: $d, - field: it(), + field: rt(), title: e("com.inputNumber.name"), info: "", $required: !1, @@ -3288,7 +3295,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Rd, - field: it(), + field: rt(), title: e("com.select.name"), info: "", effect: { @@ -3301,7 +3308,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { }, watch: { multiple({ rule: e }) { - e.key = it(); + e.key = rt(); } }, props(e, { t }) { @@ -3377,7 +3384,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Dd, - field: it(), + field: rt(), title: e("com.switch.name"), info: "", $required: !1, @@ -3418,7 +3425,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Id, - field: it(), + field: rt(), title: e("com.slider.name"), info: "", $required: !1, @@ -3466,7 +3473,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Pa, - field: it(), + field: rt(), title: e("com.timePicker.name"), info: "", $required: !1, @@ -3475,7 +3482,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { }, watch: { isRange({ rule: e }) { - e.key = it(); + e.key = rt(); }, __format({ value: e, rule: t }) { t.props.format = e, t.props.valueFormat = e; @@ -3543,7 +3550,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: "timePicker", - field: it(), + field: rt(), title: e("com.timeRange.name"), info: "", $required: !1, @@ -3624,7 +3631,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Fd, - field: it(), + field: rt(), title: e("com.datePicker.name"), info: "", $required: !1, @@ -3688,7 +3695,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: "datePicker", - field: it(), + field: rt(), title: e("com.dateRange.name"), info: "", $required: !1, @@ -3747,7 +3754,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Pd, - field: it(), + field: rt(), title: e("com.rate.name"), info: "", $required: !1, @@ -3795,7 +3802,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Md, - field: it(), + field: rt(), title: e("com.colorPicker.name"), info: "", $required: !1, @@ -4072,7 +4079,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: Zl, - field: it(), + field: rt(), title: e("com.cascader.name"), info: "", effect: { @@ -4188,7 +4195,7 @@ const Ew = "\u5355\u9009\u6846", Td = "radio", xw = { rule({ t: e }) { return { type: jd, - field: it(), + field: rt(), title: e("com.upload.name"), info: "", $required: !1, @@ -4334,7 +4341,7 @@ file.url = res.data.url;` rule({ t: e }) { return { type: Ud, - field: it(), + field: rt(), title: e("com.elTransfer.name"), info: "", $required: !1, @@ -4407,7 +4414,7 @@ file.url = res.data.url;` rule({ t: e }) { return { type: Hd, - field: it(), + field: rt(), title: e("com.tree.name"), info: "", effect: { @@ -4664,7 +4671,7 @@ file.url = res.data.url;` rule({ t: e }) { return { type: Kd, - field: it(), + field: rt(), title: e("com.fcEditor.name"), info: "", $required: !1, @@ -4699,7 +4706,7 @@ file.url = res.data.url;` rule({ t: e }) { return { type: "fcRow", - field: it(), + field: rt(), title: e("com.group.name"), info: "", $required: !1, @@ -4764,7 +4771,7 @@ file.url = res.data.url;` rule({ t: e }) { return { type: "fcRow", - field: it(), + field: rt(), title: e("com.subForm.name"), info: "", $required: !1, @@ -4869,7 +4876,7 @@ file.url = res.data.url;` type: Jd, props: { title: e("com.elCollapseItem.name"), - name: it() + name: rt() }, style: {}, children: [] @@ -4910,7 +4917,7 @@ file.url = res.data.url;` rule({ t: e }) { return { type: Xd, - field: it(), + field: rt(), title: e("com.elTreeSelect.name"), info: "", effect: { @@ -4926,7 +4933,7 @@ file.url = res.data.url;` }, watch: { multiple({ rule: e }) { - e.key = it(); + e.key = rt(); } }, props(e, { t }) { @@ -5233,7 +5240,7 @@ file.url = res.data.url;` rule() { return { type: tf, - field: it(), + field: rt(), title: "", info: "", $required: !1, @@ -5492,7 +5499,7 @@ border-bottom: 1px solid #EBEEF5; rule({ t: e }) { return { type: af, - field: it(), + field: rt(), title: e("com.tableForm.name"), info: "", props: {}, @@ -5595,7 +5602,7 @@ border-bottom: 1px solid #EBEEF5; rule({ t: e }) { return { type: "tableFormPro", - field: it(), + field: rt(), title: e("com.tableFormPro.name"), info: "", props: { @@ -5827,7 +5834,7 @@ border-bottom: 1px solid #EBEEF5; rule({ t: e }) { return { type: ql, - field: it(), + field: rt(), title: e("com." + ql + ".name"), info: "", props: {}, @@ -5931,7 +5938,7 @@ border-bottom: 1px solid #EBEEF5; rule({ t: e }) { return { type: es, - field: it(), + field: rt(), title: e("com." + es + ".name"), info: "", props: {}, @@ -6013,7 +6020,7 @@ border-bottom: 1px solid #EBEEF5; rule() { return { type: "TableForm", - field: it(), + field: rt(), title: "", info: "", props: {}, @@ -6204,7 +6211,7 @@ border-bottom: 1px solid #EBEEF5; rule({ t: e }) { return { type: dv, - field: it(), + field: rt(), title: e("com.fcValue.name"), info: "", props: {} @@ -7403,13 +7410,13 @@ height: 60px; rule() { return { type: uf, - field: it(), + field: rt(), title: "", native: !1, $required: !1, readMode: "custom", props: { - name: "block_" + it() + name: "block_" + rt() } }; }, @@ -7428,7 +7435,7 @@ height: 60px; rule() { return { type: df, - field: it(), + field: rt(), props: { expand: 1 } @@ -8121,7 +8128,7 @@ width: 220px; rule({ t: e }) { return { type: vf, - field: it(), + field: rt(), title: e("com.signaturePad.name"), info: "", $required: !1, @@ -8147,7 +8154,7 @@ width: 220px; rule({ t: e }) { return { type: gf, - field: it(), + field: rt(), title: e("com.elMention.name"), info: "", $required: !1, @@ -8235,7 +8242,7 @@ width: 220px; rule() { return { type: yf, - field: it(), + field: rt(), title: "", props: { options: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"].map((e) => ({ label: e, value: e })) @@ -8311,7 +8318,7 @@ width: 220px; rule({ t: e }) { return { type: bf, - field: it(), + field: rt(), title: e("com.fcId.name"), info: "", $required: !1, @@ -8337,7 +8344,7 @@ width: 220px; rule({ t: e }) { return { type: _f, - field: it(), + field: rt(), title: e("com.fcCity.name"), info: "", $required: !1, @@ -9380,7 +9387,7 @@ value: themeJson[key] rule({ t: e }) { return { type: "fcDataSelect", - field: it(), + field: rt(), title: e("com.fcDataSelect.name"), info: "", $required: !1, @@ -9942,7 +9949,7 @@ function SE(e) { var EE = ["evt"], Kn = function(t, i) { var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = r.evt, a = hE(r, EE); ul.pluginEvent.bind(At)(t, i, zi({ - dragEl: qe, + dragEl: et, parentEl: tn, ghostEl: xt, rootEl: Xt, @@ -9979,7 +9986,7 @@ function Un(e) { SE(zi({ putSortable: Tn, cloneEl: nn, - targetEl: qe, + targetEl: et, rootEl: Xt, oldIndex: No, oldDraggableIndex: Ja, @@ -9987,7 +9994,7 @@ function Un(e) { newDraggableIndex: xr }, e)); } -var qe, tn, xt, Xt, zr, ks, nn, Tr, No, ii, Ja, xr, ls, Tn, Lo = !1, zs = !1, Ws = [], Ur, Si, Cf, Sf, Av, Cv, za, Oo, Xa, Za = !1, ss = !1, Os, Rn, Ef = [], lc = !1, Gs = [], lu = typeof document < "u", us = py, Sv = sl || lr ? "cssFloat" : "float", xE = lu && !vE && !py && "draggable" in document.createElement("div"), by = function() { +var et, tn, xt, Xt, zr, ks, nn, Tr, No, ii, Ja, xr, ls, Tn, Lo = !1, zs = !1, Ws = [], Ur, Si, Cf, Sf, Av, Cv, za, Oo, Xa, Za = !1, ss = !1, Os, Rn, Ef = [], lc = !1, Gs = [], lu = typeof document < "u", us = py, Sv = sl || lr ? "cssFloat" : "float", xE = lu && !vE && !py && "draggable" in document.createElement("div"), by = function() { if (!!lu) { if (lr) return !1; @@ -10048,7 +10055,7 @@ lu && document.addEventListener("click", function(e) { return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), zs = !1, !1; }, !0); var Hr = function(t) { - if (qe) { + if (et) { t = t.touches ? t.touches[0] : t; var i = kE(t.clientX, t.clientY); if (i) { @@ -10059,7 +10066,7 @@ var Hr = function(t) { } } }, OE = function(t) { - qe && qe.parentNode[ri]._isOutsideThisEl(t.target); + et && et.parentNode[ri]._isOutsideThisEl(t.target); }; function At(e, t) { if (!(e && e.nodeType && e.nodeType === 1)) @@ -10121,12 +10128,12 @@ At.prototype = { !this.el.contains(t) && t !== this.el && (Oo = null); }, _getDirection: function(t, i) { - return typeof this.options.direction == "function" ? this.options.direction.call(this, t, i, qe) : this.options.direction; + return typeof this.options.direction == "function" ? this.options.direction.call(this, t, i, et) : this.options.direction; }, _onTapStart: function(t) { if (!!t.cancelable) { var i = this, r = this.el, n = this.options, a = n.preventOnFilter, s = t.type, u = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, d = (u || t).target, p = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || d, h = n.filter; - if (LE(r), !qe && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || n.disabled) && !p.isContentEditable && !(!this.nativeDraggable && Ya && d && d.tagName.toUpperCase() === "SELECT") && (d = Bi(d, n.draggable, r, !1), !(d && d.animated) && ks !== d)) { + if (LE(r), !et && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || n.disabled) && !p.isContentEditable && !(!this.nativeDraggable && Ya && d && d.tagName.toUpperCase() === "SELECT") && (d = Bi(d, n.draggable, r, !1), !(d && d.animated) && ks !== d)) { if (No = ci(d), Ja = ci(d, n.draggable), typeof h == "function") { if (h.call(this, t, d, this)) { Un({ @@ -10163,27 +10170,27 @@ At.prototype = { }, _prepareDragStart: function(t, i, r) { var n = this, a = n.el, s = n.options, u = a.ownerDocument, d; - if (r && !qe && r.parentNode === a) { + if (r && !et && r.parentNode === a) { var p = _n(r); - if (Xt = a, qe = r, tn = qe.parentNode, zr = qe.nextSibling, ks = r, ls = s.group, At.dragged = qe, Ur = { - target: qe, + if (Xt = a, et = r, tn = et.parentNode, zr = et.nextSibling, ks = r, ls = s.group, At.dragged = et, Ur = { + target: et, clientX: (i || t).clientX, clientY: (i || t).clientY - }, Av = Ur.clientX - p.left, Cv = Ur.clientY - p.top, this._lastX = (i || t).clientX, this._lastY = (i || t).clientY, qe.style["will-change"] = "all", d = function() { + }, Av = Ur.clientX - p.left, Cv = Ur.clientY - p.top, this._lastX = (i || t).clientX, this._lastY = (i || t).clientY, et.style["will-change"] = "all", d = function() { if (Kn("delayEnded", n, { evt: t }), At.eventCanceled) { n._onDrop(); return; } - n._disableDelayedDragEvents(), !yv && n.nativeDraggable && (qe.draggable = !0), n._triggerDragStart(t, i), Un({ + n._disableDelayedDragEvents(), !yv && n.nativeDraggable && (et.draggable = !0), n._triggerDragStart(t, i), Un({ sortable: n, name: "choose", originalEvent: t - }), ni(qe, s.chosenClass, !0); + }), ni(et, s.chosenClass, !0); }, s.ignore.split(",").forEach(function(h) { - my(qe, h.trim(), xf); - }), Mt(u, "dragover", Hr), Mt(u, "mousemove", Hr), Mt(u, "touchmove", Hr), Mt(u, "mouseup", n._onDrop), Mt(u, "touchend", n._onDrop), Mt(u, "touchcancel", n._onDrop), yv && this.nativeDraggable && (this.options.touchStartThreshold = 4, qe.draggable = !0), Kn("delayStart", this, { + my(et, h.trim(), xf); + }), Mt(u, "dragover", Hr), Mt(u, "mousemove", Hr), Mt(u, "touchmove", Hr), Mt(u, "mouseup", n._onDrop), Mt(u, "touchend", n._onDrop), Mt(u, "touchcancel", n._onDrop), yv && this.nativeDraggable && (this.options.touchStartThreshold = 4, et.draggable = !0), Kn("delayStart", this, { evt: t }), s.delay && (!s.delayOnTouchOnly || i) && (!this.nativeDraggable || !(sl || lr))) { if (At.eventCanceled) { @@ -10200,14 +10207,14 @@ At.prototype = { Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag(); }, _disableDelayedDrag: function() { - qe && xf(qe), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents(); + et && xf(et), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents(); }, _disableDelayedDragEvents: function() { var t = this.el.ownerDocument; Dt(t, "mouseup", this._disableDelayedDrag), Dt(t, "touchend", this._disableDelayedDrag), Dt(t, "touchcancel", this._disableDelayedDrag), Dt(t, "mousemove", this._delayedDragTouchMoveHandler), Dt(t, "touchmove", this._delayedDragTouchMoveHandler), Dt(t, "pointermove", this._delayedDragTouchMoveHandler); }, _triggerDragStart: function(t, i) { - i = i || t.pointerType == "touch" && t, !this.nativeDraggable || i ? this.options.supportPointer ? Mt(document, "pointermove", this._onTouchMove) : i ? Mt(document, "touchmove", this._onTouchMove) : Mt(document, "mousemove", this._onTouchMove) : (Mt(qe, "dragend", this), Mt(Xt, "dragstart", this._onDragStart)); + i = i || t.pointerType == "touch" && t, !this.nativeDraggable || i ? this.options.supportPointer ? Mt(document, "pointermove", this._onTouchMove) : i ? Mt(document, "touchmove", this._onTouchMove) : Mt(document, "mousemove", this._onTouchMove) : (Mt(et, "dragend", this), Mt(Xt, "dragstart", this._onDragStart)); try { document.selection ? $s(function() { document.selection.empty(); @@ -10216,12 +10223,12 @@ At.prototype = { } }, _dragStarted: function(t, i) { - if (Lo = !1, Xt && qe) { + if (Lo = !1, Xt && et) { Kn("dragStarted", this, { evt: i }), this.nativeDraggable && Mt(document, "dragover", OE); var r = this.options; - !t && ni(qe, r.dragClass, !1), ni(qe, r.ghostClass, !0), At.active = this, t && this._appendGhost(), Un({ + !t && ni(et, r.dragClass, !1), ni(et, r.ghostClass, !0), At.active = this, t && this._appendGhost(), Un({ sortable: this, name: "start", originalEvent: i @@ -10234,7 +10241,7 @@ At.prototype = { this._lastX = Si.clientX, this._lastY = Si.clientY, Ay(); for (var t = document.elementFromPoint(Si.clientX, Si.clientY), i = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Si.clientX, Si.clientY), t !== i); ) i = t; - if (qe.parentNode[ri]._isOutsideThisEl(t), i) + if (et.parentNode[ri]._isOutsideThisEl(t), i) do { if (i[ri]) { var r = void 0; @@ -10276,13 +10283,13 @@ At.prototype = { }, _appendGhost: function() { if (!xt) { - var t = this.options.fallbackOnBody ? document.body : Xt, i = _n(qe, !0, us, !0, t), r = this.options; + var t = this.options.fallbackOnBody ? document.body : Xt, i = _n(et, !0, us, !0, t), r = this.options; if (us) { for (Rn = t; wt(Rn, "position") === "static" && wt(Rn, "transform") === "none" && Rn !== document; ) Rn = Rn.parentNode; Rn !== document.body && Rn !== document.documentElement ? (Rn === document && (Rn = Hi()), i.top += Rn.scrollTop, i.left += Rn.scrollLeft) : Rn = Hi(), Ef = wv(Rn); } - xt = qe.cloneNode(!0), ni(xt, r.ghostClass, !1), ni(xt, r.fallbackClass, !0), ni(xt, r.dragClass, !0), wt(xt, "transition", ""), wt(xt, "transform", ""), wt(xt, "box-sizing", "border-box"), wt(xt, "margin", 0), wt(xt, "top", i.top), wt(xt, "left", i.left), wt(xt, "width", i.width), wt(xt, "height", i.height), wt(xt, "opacity", "0.8"), wt(xt, "position", us ? "absolute" : "fixed"), wt(xt, "zIndex", "100000"), wt(xt, "pointerEvents", "none"), At.ghost = xt, t.appendChild(xt), wt(xt, "transform-origin", Av / parseInt(xt.style.width) * 100 + "% " + Cv / parseInt(xt.style.height) * 100 + "%"); + xt = et.cloneNode(!0), ni(xt, r.ghostClass, !1), ni(xt, r.fallbackClass, !0), ni(xt, r.dragClass, !0), wt(xt, "transition", ""), wt(xt, "transform", ""), wt(xt, "box-sizing", "border-box"), wt(xt, "margin", 0), wt(xt, "top", i.top), wt(xt, "left", i.left), wt(xt, "width", i.width), wt(xt, "height", i.height), wt(xt, "opacity", "0.8"), wt(xt, "position", us ? "absolute" : "fixed"), wt(xt, "zIndex", "100000"), wt(xt, "pointerEvents", "none"), At.ghost = xt, t.appendChild(xt), wt(xt, "transform-origin", Av / parseInt(xt.style.width) * 100 + "% " + Cv / parseInt(xt.style.height) * 100 + "%"); } }, _onDragStart: function(t, i) { @@ -10293,19 +10300,19 @@ At.prototype = { this._onDrop(); return; } - Kn("setupClone", this), At.eventCanceled || (nn = yy(qe), nn.draggable = !1, nn.style["will-change"] = "", this._hideClone(), ni(nn, this.options.chosenClass, !1), At.clone = nn), r.cloneId = $s(function() { - Kn("clone", r), !At.eventCanceled && (r.options.removeCloneOnHide || Xt.insertBefore(nn, qe), r._hideClone(), Un({ + Kn("setupClone", this), At.eventCanceled || (nn = yy(et), nn.draggable = !1, nn.style["will-change"] = "", this._hideClone(), ni(nn, this.options.chosenClass, !1), At.clone = nn), r.cloneId = $s(function() { + Kn("clone", r), !At.eventCanceled && (r.options.removeCloneOnHide || Xt.insertBefore(nn, et), r._hideClone(), Un({ sortable: r, name: "clone" })); - }), !i && ni(qe, a.dragClass, !0), i ? (zs = !0, r._loopId = setInterval(r._emulateDragOver, 50)) : (Dt(document, "mouseup", r._onDrop), Dt(document, "touchend", r._onDrop), Dt(document, "touchcancel", r._onDrop), n && (n.effectAllowed = "move", a.setData && a.setData.call(r, n, qe)), Mt(document, "drop", r), wt(qe, "transform", "translateZ(0)")), Lo = !0, r._dragStartId = $s(r._dragStarted.bind(r, i, t)), Mt(document, "selectstart", r), za = !0, Ya && wt(document.body, "user-select", "none"); + }), !i && ni(et, a.dragClass, !0), i ? (zs = !0, r._loopId = setInterval(r._emulateDragOver, 50)) : (Dt(document, "mouseup", r._onDrop), Dt(document, "touchend", r._onDrop), Dt(document, "touchcancel", r._onDrop), n && (n.effectAllowed = "move", a.setData && a.setData.call(r, n, et)), Mt(document, "drop", r), wt(et, "transform", "translateZ(0)")), Lo = !0, r._dragStartId = $s(r._dragStarted.bind(r, i, t)), Mt(document, "selectstart", r), za = !0, Ya && wt(document.body, "user-select", "none"); }, _onDragOver: function(t) { var i = this.el, r = t.target, n, a, s, u = this.options, d = u.group, p = At.active, h = ls === d, g = u.sort, _ = Tn || p, S, b = this, A = !1; if (lc) return; - function y(F, q) { - Kn(F, b, zi({ + function y(C, q) { + Kn(C, b, zi({ evt: t, isOwner: h, axis: S ? "vertical" : "horizontal", @@ -10316,8 +10323,8 @@ At.prototype = { fromSortable: _, target: r, completed: w, - onMove: function(Y, J) { - return ds(Xt, i, qe, n, Y, _n(Y), t, J); + onMove: function(Y, ue) { + return ds(Xt, i, et, n, Y, _n(Y), t, ue); }, changed: E }, q)); @@ -10325,15 +10332,15 @@ At.prototype = { function m() { y("dragOverAnimationCapture"), b.captureAnimationState(), b !== _ && _.captureAnimationState(); } - function w(F) { + function w(C) { return y("dragOverCompleted", { - insertion: F - }), F && (h ? p._hideClone() : p._showClone(b), b !== _ && (ni(qe, Tn ? Tn.options.ghostClass : p.options.ghostClass, !1), ni(qe, u.ghostClass, !0)), Tn !== b && b !== At.active ? Tn = b : b === At.active && Tn && (Tn = null), _ === b && (b._ignoreWhileAnimating = r), b.animateAll(function() { + insertion: C + }), C && (h ? p._hideClone() : p._showClone(b), b !== _ && (ni(et, Tn ? Tn.options.ghostClass : p.options.ghostClass, !1), ni(et, u.ghostClass, !0)), Tn !== b && b !== At.active ? Tn = b : b === At.active && Tn && (Tn = null), _ === b && (b._ignoreWhileAnimating = r), b.animateAll(function() { y("dragOverAnimationComplete"), b._ignoreWhileAnimating = null; - }), b !== _ && (_.animateAll(), _._ignoreWhileAnimating = null)), (r === qe && !qe.animated || r === i && !r.animated) && (Oo = null), !u.dragoverBubble && !t.rootEl && r !== document && (qe.parentNode[ri]._isOutsideThisEl(t.target), !F && Hr(t)), !u.dragoverBubble && t.stopPropagation && t.stopPropagation(), A = !0; + }), b !== _ && (_.animateAll(), _._ignoreWhileAnimating = null)), (r === et && !et.animated || r === i && !r.animated) && (Oo = null), !u.dragoverBubble && !t.rootEl && r !== document && (et.parentNode[ri]._isOutsideThisEl(t.target), !C && Hr(t)), !u.dragoverBubble && t.stopPropagation && t.stopPropagation(), A = !0; } function E() { - ii = ci(qe), xr = ci(qe, u.draggable), Un({ + ii = ci(et), xr = ci(et, u.draggable), Un({ sortable: b, name: "change", toEl: i, @@ -10344,46 +10351,46 @@ At.prototype = { } if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), r = Bi(r, u.draggable, i, !0), y("dragOver"), At.eventCanceled) return A; - if (qe.contains(t.target) || r.animated && r.animatingX && r.animatingY || b._ignoreWhileAnimating === r) + if (et.contains(t.target) || r.animated && r.animatingX && r.animatingY || b._ignoreWhileAnimating === r) return w(!1); - if (zs = !1, p && !u.disabled && (h ? g || (s = tn !== Xt) : Tn === this || (this.lastPutMode = ls.checkPull(this, p, qe, t)) && d.checkPut(this, p, qe, t))) { - if (S = this._getDirection(t, r) === "vertical", n = _n(qe), y("dragOverValid"), At.eventCanceled) + if (zs = !1, p && !u.disabled && (h ? g || (s = tn !== Xt) : Tn === this || (this.lastPutMode = ls.checkPull(this, p, et, t)) && d.checkPut(this, p, et, t))) { + if (S = this._getDirection(t, r) === "vertical", n = _n(et), y("dragOverValid"), At.eventCanceled) return A; if (s) - return tn = Xt, m(), this._hideClone(), y("revert"), At.eventCanceled || (zr ? Xt.insertBefore(qe, zr) : Xt.appendChild(qe)), w(!0); + return tn = Xt, m(), this._hideClone(), y("revert"), At.eventCanceled || (zr ? Xt.insertBefore(et, zr) : Xt.appendChild(et)), w(!0); var x = Fc(i, u.draggable); if (!x || IE(t, S, this) && !x.animated) { - if (x === qe) + if (x === et) return w(!1); - if (x && i === t.target && (r = x), r && (a = _n(r)), ds(Xt, i, qe, n, r, a, t, !!r) !== !1) - return m(), i.appendChild(qe), tn = i, E(), w(!0); + if (x && i === t.target && (r = x), r && (a = _n(r)), ds(Xt, i, et, n, r, a, t, !!r) !== !1) + return m(), i.appendChild(et), tn = i, E(), w(!0); } else if (x && DE(t, S, this)) { var k = Go(i, 0, u, !0); - if (k === qe) + if (k === et) return w(!1); - if (r = k, a = _n(r), ds(Xt, i, qe, n, r, a, t, !1) !== !1) - return m(), i.insertBefore(qe, k), tn = i, E(), w(!0); + if (r = k, a = _n(r), ds(Xt, i, et, n, r, a, t, !1) !== !1) + return m(), i.insertBefore(et, k), tn = i, E(), w(!0); } else if (r.parentNode === i) { a = _n(r); - var $ = 0, M, P = qe.parentNode !== i, B = !TE(qe.animated && qe.toRect || n, r.animated && r.toRect || a, S), T = S ? "top" : "left", D = _v(r, "top", "top") || _v(qe, "top", "top"), V = D ? D.scrollTop : void 0; - Oo !== r && (M = a[T], Za = !1, ss = !B && u.invertSwap || P), $ = FE(t, r, a, S, B ? 1 : u.swapThreshold, u.invertedSwapThreshold == null ? u.swapThreshold : u.invertedSwapThreshold, ss, Oo === r); - var K; - if ($ !== 0) { - var G = ci(qe); + var R = 0, M, P = et.parentNode !== i, B = !TE(et.animated && et.toRect || n, r.animated && r.toRect || a, S), T = S ? "top" : "left", D = _v(r, "top", "top") || _v(et, "top", "top"), V = D ? D.scrollTop : void 0; + Oo !== r && (M = a[T], Za = !1, ss = !B && u.invertSwap || P), R = FE(t, r, a, S, B ? 1 : u.swapThreshold, u.invertedSwapThreshold == null ? u.swapThreshold : u.invertedSwapThreshold, ss, Oo === r); + var W; + if (R !== 0) { + var G = ci(et); do - G -= $, K = tn.children[G]; - while (K && (wt(K, "display") === "none" || K === xt)); + G -= R, W = tn.children[G]; + while (W && (wt(W, "display") === "none" || W === xt)); } - if ($ === 0 || K === r) + if (R === 0 || W === r) return w(!1); - Oo = r, Xa = $; - var R = r.nextElementSibling, z = !1; - z = $ === 1; - var C = ds(Xt, i, qe, n, r, a, t, z); - if (C !== !1) - return (C === 1 || C === -1) && (z = C === 1), lc = !0, setTimeout(RE, 30), m(), z && !R ? i.appendChild(qe) : r.parentNode.insertBefore(qe, z ? R : r), D && gy(D, 0, V - D.scrollTop), tn = qe.parentNode, M !== void 0 && !ss && (Os = Math.abs(M - _n(r)[T])), E(), w(!0); + Oo = r, Xa = R; + var I = r.nextElementSibling, U = !1; + U = R === 1; + var F = ds(Xt, i, et, n, r, a, t, U); + if (F !== !1) + return (F === 1 || F === -1) && (U = F === 1), lc = !0, setTimeout(RE, 30), m(), U && !I ? i.appendChild(et) : r.parentNode.insertBefore(et, U ? I : r), D && gy(D, 0, V - D.scrollTop), tn = et.parentNode, M !== void 0 && !ss && (Os = Math.abs(M - _n(r)[T])), E(), w(!0); } - if (i.contains(qe)) + if (i.contains(et)) return w(!1); } return !1; @@ -10398,13 +10405,13 @@ At.prototype = { }, _onDrop: function(t) { var i = this.el, r = this.options; - if (ii = ci(qe), xr = ci(qe, r.draggable), Kn("drop", this, { + if (ii = ci(et), xr = ci(et, r.draggable), Kn("drop", this, { evt: t - }), tn = qe && qe.parentNode, ii = ci(qe), xr = ci(qe, r.draggable), At.eventCanceled) { + }), tn = et && et.parentNode, ii = ci(et), xr = ci(et, r.draggable), At.eventCanceled) { this._nulling(); return; } - Lo = !1, ss = !1, Za = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), sc(this.cloneId), sc(this._dragStartId), this.nativeDraggable && (Dt(document, "drop", this), Dt(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ya && wt(document.body, "user-select", ""), wt(qe, "transform", ""), t && (za && (t.cancelable && t.preventDefault(), !r.dropBubble && t.stopPropagation()), xt && xt.parentNode && xt.parentNode.removeChild(xt), (Xt === tn || Tn && Tn.lastPutMode !== "clone") && nn && nn.parentNode && nn.parentNode.removeChild(nn), qe && (this.nativeDraggable && Dt(qe, "dragend", this), xf(qe), qe.style["will-change"] = "", za && !Lo && ni(qe, Tn ? Tn.options.ghostClass : this.options.ghostClass, !1), ni(qe, this.options.chosenClass, !1), Un({ + Lo = !1, ss = !1, Za = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), sc(this.cloneId), sc(this._dragStartId), this.nativeDraggable && (Dt(document, "drop", this), Dt(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ya && wt(document.body, "user-select", ""), wt(et, "transform", ""), t && (za && (t.cancelable && t.preventDefault(), !r.dropBubble && t.stopPropagation()), xt && xt.parentNode && xt.parentNode.removeChild(xt), (Xt === tn || Tn && Tn.lastPutMode !== "clone") && nn && nn.parentNode && nn.parentNode.removeChild(nn), et && (this.nativeDraggable && Dt(et, "dragend", this), xf(et), et.style["will-change"] = "", za && !Lo && ni(et, Tn ? Tn.options.ghostClass : this.options.ghostClass, !1), ni(et, this.options.chosenClass, !1), Un({ sortable: this, name: "unchoose", toEl: tn, @@ -10451,7 +10458,7 @@ At.prototype = { }), this.save()))), this._nulling(); }, _nulling: function() { - Kn("nulling", this), Xt = qe = tn = xt = zr = nn = ks = Tr = Ur = Si = za = ii = xr = No = Ja = Oo = Xa = Tn = ls = At.dragged = At.ghost = At.clone = At.active = null, Gs.forEach(function(t) { + Kn("nulling", this), Xt = et = tn = xt = zr = nn = ks = Tr = Ur = Si = za = ii = xr = No = Ja = Oo = Xa = Tn = ls = At.dragged = At.ghost = At.clone = At.active = null, Gs.forEach(function(t) { t.checked = !0; }), Gs.length = Cf = Sf = 0; }, @@ -10463,7 +10470,7 @@ At.prototype = { break; case "dragenter": case "dragover": - qe && (this._onDragOver(t), $E(t)); + et && (this._onDragOver(t), $E(t)); break; case "selectstart": t.preventDefault(); @@ -10520,7 +10527,7 @@ At.prototype = { if (Tr) { if (Kn("showClone", this), At.eventCanceled) return; - qe.parentNode == Xt && !this.options.group.revertClone ? Xt.insertBefore(nn, qe) : zr ? Xt.insertBefore(nn, zr) : Xt.appendChild(nn), this.options.group.revertClone && this.animate(qe, nn), wt(nn, "display", ""), Tr = !1; + et.parentNode == Xt && !this.options.group.revertClone ? Xt.insertBefore(nn, et) : zr ? Xt.insertBefore(nn, zr) : Xt.appendChild(nn), this.options.group.revertClone && this.animate(et, nn), wt(nn, "display", ""), Tr = !1; } } }; @@ -10562,7 +10569,7 @@ function FE(e, t, i, r, n, a, s, u) { return _ = _ || s, _ && (d < h + p * a / 2 || d > g - p * a / 2) ? d > h + p / 2 ? 1 : -1 : 0; } function PE(e) { - return ci(qe) < ci(e) ? 1 : -1; + return ci(et) < ci(e) ? 1 : -1; } function ME(e) { for (var t = e.tagName + e.className + e.src + e.href + e.textContent, i = t.length, r = 0; i--; ) @@ -10687,16 +10694,16 @@ var Of = vy(function(e, t, i, r) { uc !== i && (uc = i, Rs(), Wa = t.scroll, h = t.scrollFn, Wa === !0 && (Wa = Or(i, !0))); var g = 0, _ = Wa; do { - var S = _, b = _n(S), A = b.top, y = b.bottom, m = b.left, w = b.right, E = b.width, x = b.height, k = void 0, $ = void 0, M = S.scrollWidth, P = S.scrollHeight, B = wt(S), T = S.scrollLeft, D = S.scrollTop; - S === d ? (k = E < M && (B.overflowX === "auto" || B.overflowX === "scroll" || B.overflowX === "visible"), $ = x < P && (B.overflowY === "auto" || B.overflowY === "scroll" || B.overflowY === "visible")) : (k = E < M && (B.overflowX === "auto" || B.overflowX === "scroll"), $ = x < P && (B.overflowY === "auto" || B.overflowY === "scroll")); - var V = k && (Math.abs(w - n) <= s && T + E < M) - (Math.abs(m - n) <= s && !!T), K = $ && (Math.abs(y - a) <= s && D + x < P) - (Math.abs(A - a) <= s && !!D); + var S = _, b = _n(S), A = b.top, y = b.bottom, m = b.left, w = b.right, E = b.width, x = b.height, k = void 0, R = void 0, M = S.scrollWidth, P = S.scrollHeight, B = wt(S), T = S.scrollLeft, D = S.scrollTop; + S === d ? (k = E < M && (B.overflowX === "auto" || B.overflowX === "scroll" || B.overflowX === "visible"), R = x < P && (B.overflowY === "auto" || B.overflowY === "scroll" || B.overflowY === "visible")) : (k = E < M && (B.overflowX === "auto" || B.overflowX === "scroll"), R = x < P && (B.overflowY === "auto" || B.overflowY === "scroll")); + var V = k && (Math.abs(w - n) <= s && T + E < M) - (Math.abs(m - n) <= s && !!T), W = R && (Math.abs(y - a) <= s && D + x < P) - (Math.abs(A - a) <= s && !!D); if (!fn[g]) for (var G = 0; G <= g; G++) fn[G] || (fn[G] = {}); - (fn[g].vx != V || fn[g].vy != K || fn[g].el !== S) && (fn[g].el = S, fn[g].vx = V, fn[g].vy = K, clearInterval(fn[g].pid), (V != 0 || K != 0) && (p = !0, fn[g].pid = setInterval(function() { + (fn[g].vx != V || fn[g].vy != W || fn[g].el !== S) && (fn[g].el = S, fn[g].vx = V, fn[g].vy = W, clearInterval(fn[g].pid), (V != 0 || W != 0) && (p = !0, fn[g].pid = setInterval(function() { r && this.layer === 0 && At.active._onTouchMove(Ks); - var R = fn[this.layer].vy ? fn[this.layer].vy * u : 0, z = fn[this.layer].vx ? fn[this.layer].vx * u : 0; - typeof h == "function" && h.call(At.dragged.parentNode[ri], z, R, e, Ks, fn[this.layer].el) !== "continue" || gy(fn[this.layer].el, z, R); + var I = fn[this.layer].vy ? fn[this.layer].vy * u : 0, U = fn[this.layer].vx ? fn[this.layer].vx * u : 0; + typeof h == "function" && h.call(At.dragged.parentNode[ri], U, I, e, Ks, fn[this.layer].el) !== "continue" || gy(fn[this.layer].el, U, I); }.bind({ layer: g }), 24))), g++; @@ -10997,7 +11004,7 @@ function t2(e) { return { transition: t, externalComponent: i, - tag: i ? ne(e) : t ? ow : e + tag: i ? ee(e) : t ? ow : e }; } function n2({ $slots: e, tag: t, realList: i, getKey: r }) { @@ -11056,7 +11063,7 @@ const r2 = { "update:modelValue", "change", ...[...fc.manageAndEmit, ...fc.emit].map((e) => e.toLowerCase()) -], Yo = Ve({ +], Yo = Be({ name: "draggable", inheritAttrs: !1, props: r2, @@ -11276,195 +11283,195 @@ var Iy = { exports: {} }; e.exports = r(); })(Lc, function() { var i = 1e3, r = 6e4, n = 36e5, a = "millisecond", s = "second", u = "minute", d = "hour", p = "day", h = "week", g = "month", _ = "quarter", S = "year", b = "date", A = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, m = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(G) { - var R = ["th", "st", "nd", "rd"], z = G % 100; - return "[" + G + (R[(z - 20) % 10] || R[z] || R[0]) + "]"; - } }, E = function(G, R, z) { - var C = String(G); - return !C || C.length >= R ? G : "" + Array(R + 1 - C.length).join(z) + G; + var I = ["th", "st", "nd", "rd"], U = G % 100; + return "[" + G + (I[(U - 20) % 10] || I[U] || I[0]) + "]"; + } }, E = function(G, I, U) { + var F = String(G); + return !F || F.length >= I ? G : "" + Array(I + 1 - F.length).join(U) + G; }, x = { s: E, z: function(G) { - var R = -G.utcOffset(), z = Math.abs(R), C = Math.floor(z / 60), F = z % 60; - return (R <= 0 ? "+" : "-") + E(C, 2, "0") + ":" + E(F, 2, "0"); - }, m: function G(R, z) { - if (R.date() < z.date()) - return -G(z, R); - var C = 12 * (z.year() - R.year()) + (z.month() - R.month()), F = R.clone().add(C, g), q = z - F < 0, Z = R.clone().add(C + (q ? -1 : 1), g); - return +(-(C + (z - F) / (q ? F - Z : Z - F)) || 0); + var I = -G.utcOffset(), U = Math.abs(I), F = Math.floor(U / 60), C = U % 60; + return (I <= 0 ? "+" : "-") + E(F, 2, "0") + ":" + E(C, 2, "0"); + }, m: function G(I, U) { + if (I.date() < U.date()) + return -G(U, I); + var F = 12 * (U.year() - I.year()) + (U.month() - I.month()), C = I.clone().add(F, g), q = U - C < 0, Z = I.clone().add(F + (q ? -1 : 1), g); + return +(-(F + (U - C) / (q ? C - Z : Z - C)) || 0); }, a: function(G) { return G < 0 ? Math.ceil(G) || 0 : Math.floor(G); }, p: function(G) { return { M: g, y: S, w: h, d: p, D: b, h: d, m: u, s, ms: a, Q: _ }[G] || String(G || "").toLowerCase().replace(/s$/, ""); }, u: function(G) { return G === void 0; - } }, k = "en", $ = {}; - $[k] = w; + } }, k = "en", R = {}; + R[k] = w; var M = "$isDayjsObject", P = function(G) { return G instanceof V || !(!G || !G[M]); - }, B = function G(R, z, C) { - var F; - if (!R) + }, B = function G(I, U, F) { + var C; + if (!I) return k; - if (typeof R == "string") { - var q = R.toLowerCase(); - $[q] && (F = q), z && ($[q] = z, F = q); - var Z = R.split("-"); - if (!F && Z.length > 1) + if (typeof I == "string") { + var q = I.toLowerCase(); + R[q] && (C = q), U && (R[q] = U, C = q); + var Z = I.split("-"); + if (!C && Z.length > 1) return G(Z[0]); } else { - var Y = R.name; - $[Y] = R, F = Y; + var Y = I.name; + R[Y] = I, C = Y; } - return !C && F && (k = F), F || !C && k; - }, T = function(G, R) { + return !F && C && (k = C), C || !F && k; + }, T = function(G, I) { if (P(G)) return G.clone(); - var z = typeof R == "object" ? R : {}; - return z.date = G, z.args = arguments, new V(z); + var U = typeof I == "object" ? I : {}; + return U.date = G, U.args = arguments, new V(U); }, D = x; - D.l = B, D.i = P, D.w = function(G, R) { - return T(G, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset }); + D.l = B, D.i = P, D.w = function(G, I) { + return T(G, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset }); }; var V = function() { - function G(z) { - this.$L = B(z.locale, null, !0), this.parse(z), this.$x = this.$x || z.x || {}, this[M] = !0; + function G(U) { + this.$L = B(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[M] = !0; } - var R = G.prototype; - return R.parse = function(z) { - this.$d = function(C) { - var F = C.date, q = C.utc; - if (F === null) + var I = G.prototype; + return I.parse = function(U) { + this.$d = function(F) { + var C = F.date, q = F.utc; + if (C === null) return new Date(NaN); - if (D.u(F)) + if (D.u(C)) return new Date(); - if (F instanceof Date) - return new Date(F); - if (typeof F == "string" && !/Z$/i.test(F)) { - var Z = F.match(y); + if (C instanceof Date) + return new Date(C); + if (typeof C == "string" && !/Z$/i.test(C)) { + var Z = C.match(y); if (Z) { - var Y = Z[2] - 1 || 0, J = (Z[7] || "0").substring(0, 3); - return q ? new Date(Date.UTC(Z[1], Y, Z[3] || 1, Z[4] || 0, Z[5] || 0, Z[6] || 0, J)) : new Date(Z[1], Y, Z[3] || 1, Z[4] || 0, Z[5] || 0, Z[6] || 0, J); + var Y = Z[2] - 1 || 0, ue = (Z[7] || "0").substring(0, 3); + return q ? new Date(Date.UTC(Z[1], Y, Z[3] || 1, Z[4] || 0, Z[5] || 0, Z[6] || 0, ue)) : new Date(Z[1], Y, Z[3] || 1, Z[4] || 0, Z[5] || 0, Z[6] || 0, ue); } } - return new Date(F); - }(z), this.init(); - }, R.init = function() { - var z = this.$d; - this.$y = z.getFullYear(), this.$M = z.getMonth(), this.$D = z.getDate(), this.$W = z.getDay(), this.$H = z.getHours(), this.$m = z.getMinutes(), this.$s = z.getSeconds(), this.$ms = z.getMilliseconds(); - }, R.$utils = function() { + return new Date(C); + }(U), this.init(); + }, I.init = function() { + var U = this.$d; + this.$y = U.getFullYear(), this.$M = U.getMonth(), this.$D = U.getDate(), this.$W = U.getDay(), this.$H = U.getHours(), this.$m = U.getMinutes(), this.$s = U.getSeconds(), this.$ms = U.getMilliseconds(); + }, I.$utils = function() { return D; - }, R.isValid = function() { + }, I.isValid = function() { return this.$d.toString() !== A; - }, R.isSame = function(z, C) { - var F = T(z); - return this.startOf(C) <= F && F <= this.endOf(C); - }, R.isAfter = function(z, C) { - return T(z) < this.startOf(C); - }, R.isBefore = function(z, C) { - return this.endOf(C) < T(z); - }, R.$g = function(z, C, F) { - return D.u(z) ? this[C] : this.set(F, z); - }, R.unix = function() { + }, I.isSame = function(U, F) { + var C = T(U); + return this.startOf(F) <= C && C <= this.endOf(F); + }, I.isAfter = function(U, F) { + return T(U) < this.startOf(F); + }, I.isBefore = function(U, F) { + return this.endOf(F) < T(U); + }, I.$g = function(U, F, C) { + return D.u(U) ? this[F] : this.set(C, U); + }, I.unix = function() { return Math.floor(this.valueOf() / 1e3); - }, R.valueOf = function() { + }, I.valueOf = function() { return this.$d.getTime(); - }, R.startOf = function(z, C) { - var F = this, q = !!D.u(C) || C, Z = D.p(z), Y = function(ce, Se) { - var I = D.w(F.$u ? Date.UTC(F.$y, Se, ce) : new Date(F.$y, Se, ce), F); - return q ? I : I.endOf(p); - }, J = function(ce, Se) { - return D.w(F.toDate()[ce].apply(F.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Se)), F); - }, ve = this.$W, pe = this.$M, Te = this.$D, ge = "set" + (this.$u ? "UTC" : ""); + }, I.startOf = function(U, F) { + var C = this, q = !!D.u(F) || F, Z = D.p(U), Y = function(he, Se) { + var xe = D.w(C.$u ? Date.UTC(C.$y, Se, he) : new Date(C.$y, Se, he), C); + return q ? xe : xe.endOf(p); + }, ue = function(he, Se) { + return D.w(C.toDate()[he].apply(C.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Se)), C); + }, te = this.$W, pe = this.$M, ke = this.$D, ge = "set" + (this.$u ? "UTC" : ""); switch (Z) { case S: return q ? Y(1, 0) : Y(31, 11); case g: return q ? Y(1, pe) : Y(0, pe + 1); case h: - var me = this.$locale().weekStart || 0, we = (ve < me ? ve + 7 : ve) - me; - return Y(q ? Te - we : Te + (6 - we), pe); + var ve = this.$locale().weekStart || 0, we = (te < ve ? te + 7 : te) - ve; + return Y(q ? ke - we : ke + (6 - we), pe); case p: case b: - return J(ge + "Hours", 0); + return ue(ge + "Hours", 0); case d: - return J(ge + "Minutes", 1); + return ue(ge + "Minutes", 1); case u: - return J(ge + "Seconds", 2); + return ue(ge + "Seconds", 2); case s: - return J(ge + "Milliseconds", 3); + return ue(ge + "Milliseconds", 3); default: return this.clone(); } - }, R.endOf = function(z) { - return this.startOf(z, !1); - }, R.$set = function(z, C) { - var F, q = D.p(z), Z = "set" + (this.$u ? "UTC" : ""), Y = (F = {}, F[p] = Z + "Date", F[b] = Z + "Date", F[g] = Z + "Month", F[S] = Z + "FullYear", F[d] = Z + "Hours", F[u] = Z + "Minutes", F[s] = Z + "Seconds", F[a] = Z + "Milliseconds", F)[q], J = q === p ? this.$D + (C - this.$W) : C; + }, I.endOf = function(U) { + return this.startOf(U, !1); + }, I.$set = function(U, F) { + var C, q = D.p(U), Z = "set" + (this.$u ? "UTC" : ""), Y = (C = {}, C[p] = Z + "Date", C[b] = Z + "Date", C[g] = Z + "Month", C[S] = Z + "FullYear", C[d] = Z + "Hours", C[u] = Z + "Minutes", C[s] = Z + "Seconds", C[a] = Z + "Milliseconds", C)[q], ue = q === p ? this.$D + (F - this.$W) : F; if (q === g || q === S) { - var ve = this.clone().set(b, 1); - ve.$d[Y](J), ve.init(), this.$d = ve.set(b, Math.min(this.$D, ve.daysInMonth())).$d; + var te = this.clone().set(b, 1); + te.$d[Y](ue), te.init(), this.$d = te.set(b, Math.min(this.$D, te.daysInMonth())).$d; } else - Y && this.$d[Y](J); + Y && this.$d[Y](ue); return this.init(), this; - }, R.set = function(z, C) { - return this.clone().$set(z, C); - }, R.get = function(z) { - return this[D.p(z)](); - }, R.add = function(z, C) { - var F, q = this; - z = Number(z); - var Z = D.p(C), Y = function(pe) { - var Te = T(q); - return D.w(Te.date(Te.date() + Math.round(pe * z)), q); + }, I.set = function(U, F) { + return this.clone().$set(U, F); + }, I.get = function(U) { + return this[D.p(U)](); + }, I.add = function(U, F) { + var C, q = this; + U = Number(U); + var Z = D.p(F), Y = function(pe) { + var ke = T(q); + return D.w(ke.date(ke.date() + Math.round(pe * U)), q); }; if (Z === g) - return this.set(g, this.$M + z); + return this.set(g, this.$M + U); if (Z === S) - return this.set(S, this.$y + z); + return this.set(S, this.$y + U); if (Z === p) return Y(1); if (Z === h) return Y(7); - var J = (F = {}, F[u] = r, F[d] = n, F[s] = i, F)[Z] || 1, ve = this.$d.getTime() + z * J; - return D.w(ve, this); - }, R.subtract = function(z, C) { - return this.add(-1 * z, C); - }, R.format = function(z) { - var C = this, F = this.$locale(); + var ue = (C = {}, C[u] = r, C[d] = n, C[s] = i, C)[Z] || 1, te = this.$d.getTime() + U * ue; + return D.w(te, this); + }, I.subtract = function(U, F) { + return this.add(-1 * U, F); + }, I.format = function(U) { + var F = this, C = this.$locale(); if (!this.isValid()) - return F.invalidDate || A; - var q = z || "YYYY-MM-DDTHH:mm:ssZ", Z = D.z(this), Y = this.$H, J = this.$m, ve = this.$M, pe = F.weekdays, Te = F.months, ge = F.meridiem, me = function(Se, I, j, ee) { - return Se && (Se[I] || Se(C, q)) || j[I].slice(0, ee); + return C.invalidDate || A; + var q = U || "YYYY-MM-DDTHH:mm:ssZ", Z = D.z(this), Y = this.$H, ue = this.$m, te = this.$M, pe = C.weekdays, ke = C.months, ge = C.meridiem, ve = function(Se, xe, $, K) { + return Se && (Se[xe] || Se(F, q)) || $[xe].slice(0, K); }, we = function(Se) { return D.s(Y % 12 || 12, Se, "0"); - }, ce = ge || function(Se, I, j) { - var ee = Se < 12 ? "AM" : "PM"; - return j ? ee.toLowerCase() : ee; + }, he = ge || function(Se, xe, $) { + var K = Se < 12 ? "AM" : "PM"; + return $ ? K.toLowerCase() : K; }; - return q.replace(m, function(Se, I) { - return I || function(j) { - switch (j) { + return q.replace(m, function(Se, xe) { + return xe || function($) { + switch ($) { case "YY": - return String(C.$y).slice(-2); + return String(F.$y).slice(-2); case "YYYY": - return D.s(C.$y, 4, "0"); + return D.s(F.$y, 4, "0"); case "M": - return ve + 1; + return te + 1; case "MM": - return D.s(ve + 1, 2, "0"); + return D.s(te + 1, 2, "0"); case "MMM": - return me(F.monthsShort, ve, Te, 3); + return ve(C.monthsShort, te, ke, 3); case "MMMM": - return me(Te, ve); + return ve(ke, te); case "D": - return C.$D; + return F.$D; case "DD": - return D.s(C.$D, 2, "0"); + return D.s(F.$D, 2, "0"); case "d": - return String(C.$W); + return String(F.$W); case "dd": - return me(F.weekdaysMin, C.$W, pe, 2); + return ve(C.weekdaysMin, F.$W, pe, 2); case "ddd": - return me(F.weekdaysShort, C.$W, pe, 3); + return ve(C.weekdaysShort, F.$W, pe, 3); case "dddd": - return pe[C.$W]; + return pe[F.$W]; case "H": return String(Y); case "HH": @@ -11474,46 +11481,46 @@ var Iy = { exports: {} }; case "hh": return we(2); case "a": - return ce(Y, J, !0); + return he(Y, ue, !0); case "A": - return ce(Y, J, !1); + return he(Y, ue, !1); case "m": - return String(J); + return String(ue); case "mm": - return D.s(J, 2, "0"); + return D.s(ue, 2, "0"); case "s": - return String(C.$s); + return String(F.$s); case "ss": - return D.s(C.$s, 2, "0"); + return D.s(F.$s, 2, "0"); case "SSS": - return D.s(C.$ms, 3, "0"); + return D.s(F.$ms, 3, "0"); case "Z": return Z; } return null; }(Se) || Z.replace(":", ""); }); - }, R.utcOffset = function() { + }, I.utcOffset = function() { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); - }, R.diff = function(z, C, F) { - var q, Z = this, Y = D.p(C), J = T(z), ve = (J.utcOffset() - this.utcOffset()) * r, pe = this - J, Te = function() { - return D.m(Z, J); + }, I.diff = function(U, F, C) { + var q, Z = this, Y = D.p(F), ue = T(U), te = (ue.utcOffset() - this.utcOffset()) * r, pe = this - ue, ke = function() { + return D.m(Z, ue); }; switch (Y) { case S: - q = Te() / 12; + q = ke() / 12; break; case g: - q = Te(); + q = ke(); break; case _: - q = Te() / 3; + q = ke() / 3; break; case h: - q = (pe - ve) / 6048e5; + q = (pe - te) / 6048e5; break; case p: - q = (pe - ve) / 864e5; + q = (pe - te) / 864e5; break; case d: q = pe / n; @@ -11527,37 +11534,37 @@ var Iy = { exports: {} }; default: q = pe; } - return F ? q : D.a(q); - }, R.daysInMonth = function() { + return C ? q : D.a(q); + }, I.daysInMonth = function() { return this.endOf(g).$D; - }, R.$locale = function() { - return $[this.$L]; - }, R.locale = function(z, C) { - if (!z) + }, I.$locale = function() { + return R[this.$L]; + }, I.locale = function(U, F) { + if (!U) return this.$L; - var F = this.clone(), q = B(z, C, !0); - return q && (F.$L = q), F; - }, R.clone = function() { + var C = this.clone(), q = B(U, F, !0); + return q && (C.$L = q), C; + }, I.clone = function() { return D.w(this.$d, this); - }, R.toDate = function() { + }, I.toDate = function() { return new Date(this.valueOf()); - }, R.toJSON = function() { + }, I.toJSON = function() { return this.isValid() ? this.toISOString() : null; - }, R.toISOString = function() { + }, I.toISOString = function() { return this.$d.toISOString(); - }, R.toString = function() { + }, I.toString = function() { return this.$d.toUTCString(); }, G; - }(), K = V.prototype; - return T.prototype = K, [["$ms", a], ["$s", s], ["$m", u], ["$H", d], ["$W", p], ["$M", g], ["$y", S], ["$D", b]].forEach(function(G) { - K[G[1]] = function(R) { - return this.$g(R, G[0], G[1]); + }(), W = V.prototype; + return T.prototype = W, [["$ms", a], ["$s", s], ["$m", u], ["$H", d], ["$W", p], ["$M", g], ["$y", S], ["$D", b]].forEach(function(G) { + W[G[1]] = function(I) { + return this.$g(I, G[0], G[1]); }; - }), T.extend = function(G, R) { - return G.$i || (G(R, V, T), G.$i = !0), T; + }), T.extend = function(G, I) { + return G.$i || (G(I, V, T), G.$i = !0), T; }, T.locale = B, T.isDayjs = P, T.unix = function(G) { return T(1e3 * G); - }, T.en = $[k], T.Ls = $, T.p = {}, T; + }, T.en = R[k], T.Ls = R, T.p = {}, T; }); })(Iy); const s2 = Iy.exports, $o = { @@ -12368,7 +12375,7 @@ const s2 = Iy.exports, $o = { { type: "input", field: "response", - value: "res_" + it() + value: "res_" + rt() } ]; }, @@ -12526,14 +12533,14 @@ au.parser().preview = pw; Object.keys(rn).forEach((e) => { au.setFormula(e, rn[e]); }); -const li = au, et = au.factory(); +const li = au, tt = au.factory(); Bc(li); Ny(li); -Bc(et); -Ny(et); +Bc(tt); +Ny(tt); li.register("behavior", Ly); li.register("easySlots", nl); -et.register("easySlots", nl); +tt.register("easySlots", nl); /*! * @form-create/component-elm-select v3.2.18 * (c) 2018-2025 xaboy @@ -12614,7 +12621,7 @@ var Ys = { function g2(e, t) { return {}.hasOwnProperty.call(e, t); } -var y2 = "fcSelect", b2 = Ve({ +var y2 = "fcSelect", b2 = Be({ name: y2, inheritAttrs: !1, props: { @@ -12637,11 +12644,11 @@ var y2 = "fcSelect", b2 = Ve({ }, render: function() { var t = this, i, r, n = function(d, p) { - return W(ne("ElOption"), jt(d, { + return z(ee("ElOption"), jt(d, { key: "" + p + "-" + d.value }), null); }, a = function(d, p) { - return W(ne("ElOptionGroup"), { + return z(ee("ElOptionGroup"), { label: d.label, key: "" + p + "-" + d.label }, { @@ -12652,7 +12659,7 @@ var y2 = "fcSelect", b2 = Ve({ } }); }, s = this.options(); - return W(ne("ElSelect"), jt(this.$attrs, { + return z(ee("ElSelect"), jt(this.$attrs, { modelValue: this.value, "onUpdate:modelValue": function(d) { return t.$emit("update:modelValue", d); @@ -12679,7 +12686,7 @@ var y2 = "fcSelect", b2 = Ve({ function _2(e) { return Array.isArray(e) ? e : [null, void 0, ""].indexOf(e) > -1 ? [] : [e]; } -var w2 = "fcTree", A2 = Ve({ +var w2 = "fcTree", A2 = Be({ name: w2, inheritAttrs: !1, formCreateParser: { @@ -12720,7 +12727,7 @@ var w2 = "fcTree", A2 = Ve({ } }, render: function() { - return W(ne("ElTree"), jt(this.$attrs, { + return z(ee("ElTree"), jt(this.$attrs, { ref: "tree", onCheck: this.updateValue, onNodeClick: this.updateValue @@ -12796,7 +12803,7 @@ var By = { class: "icon", viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg" -}, k2 = /* @__PURE__ */ X("path", { +}, k2 = /* @__PURE__ */ J("path", { fill: "currentColor", d: "M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z" }, null, -1), O2 = [k2]; @@ -12821,7 +12828,7 @@ function Dv(e) { function R2(e) { return ("" + e).split("/").pop(); } -var D2 = "fcUpload", I2 = Ve({ +var D2 = "fcUpload", I2 = Be({ name: D2, inheritAttrs: !1, formCreateParser: { @@ -12886,9 +12893,9 @@ var D2 = "fcUpload", I2 = Ve({ }, render: function() { var t, i, r = this, n = cs(this.modelValue).length; - return W("div", { + return z("div", { class: "_fc-upload" - }, [W(ne("ElUpload"), jt({ + }, [z(ee("ElUpload"), jt({ key: n }, this.$attrs, { listType: this.listType || "picture-card", @@ -12903,11 +12910,11 @@ var D2 = "fcUpload", I2 = Ve({ ref: "upload" }), pc({ default: function() { - return [((t = (i = r.$slots).default) === null || t === void 0 ? void 0 : t.call(i)) || (["text", "picture"].indexOf(r.listType) === -1 ? W(ne("ElIcon"), null, { + return [((t = (i = r.$slots).default) === null || t === void 0 ? void 0 : t.call(i)) || (["text", "picture"].indexOf(r.listType) === -1 ? z(ee("ElIcon"), null, { default: function() { - return [W(By, null, null)]; + return [z(By, null, null)]; } - }) : W(ne("ElButton"), { + }) : z(ee("ElButton"), { type: "primary" }, { default: function() { @@ -12915,7 +12922,7 @@ var D2 = "fcUpload", I2 = Ve({ } }))]; } - }, S2(this.$slots, ["default"]))), W(ne("ElDialog"), { + }, S2(this.$slots, ["default"]))), z(ee("ElDialog"), { appendToBody: !0, modal: this.previewMask, title: this.modalTitle, @@ -12923,7 +12930,7 @@ var D2 = "fcUpload", I2 = Ve({ onClose: this.handleCancel }, { default: function() { - return [W("img", { + return [z("img", { style: "width: 100%", src: r.previewImage }, null)]; @@ -12934,7 +12941,7 @@ var D2 = "fcUpload", I2 = Ve({ this.$emit("fc.el", this.$refs.upload); } }); -const je = (e, t) => { +const Ve = (e, t) => { const i = e.__vccOpts || e; for (const [r, n] of t) i[r] = n; @@ -12944,7 +12951,7 @@ const je = (e, t) => { return e.forEach((i) => { i.field && t.push(i.field), i.children && t.push(...Vy(i.children)); }), t; -}, F2 = Ve({ +}, F2 = Be({ name: "StepForm", props: { stepsProps: Object, @@ -13038,11 +13045,11 @@ const je = (e, t) => { } }), P2 = { class: "_fc-step-form" }; function M2(e, t, i, r, n, a) { - const s = ne("van-step"), u = ne("van-steps"), d = ne("van-button"), p = ne("van-col"), h = ne("van-row"); + const s = ee("van-step"), u = ee("van-steps"), d = ee("van-button"), p = ee("van-col"), h = ee("van-row"); return H(), ae("div", P2, [ - W(u, jt({ active: e.active }, e.stepsProps), { + z(u, jt({ active: e.active }, e.stepsProps), { default: N(() => [ - (H(!0), ae(Me, null, We(e.steps, (g) => (H(), he(s, jt({ ref_for: !0 }, g.props), { + (H(!0), ae(Me, null, ze(e.steps, (g) => (H(), me(s, jt({ ref_for: !0 }, g.props), { default: N(() => [ be(le(g.props.title), 1) ]), @@ -13051,7 +13058,7 @@ function M2(e, t, i, r, n, a) { ]), _: 1 }, 16, ["active"]), - (H(), he(ar(e.Form), { + (H(), me(ar(e.Form), { option: e.options, rule: e.cacheRule, extendOption: !0, @@ -13060,14 +13067,14 @@ function M2(e, t, i, r, n, a) { onEmitEvent: e.$emit, "onUpdate:modelValue": e.formData }, null, 40, ["option", "rule", "modelValue", "onUpdate:api", "onEmitEvent", "onUpdate:modelValue"])), - W(h, null, { + z(h, null, { default: N(() => [ - W(p, { + z(p, { span: 24, style: { "margin-top": "15px" } }, { default: N(() => [ - e.active > 0 ? (H(), he(d, { + e.active > 0 ? (H(), me(d, { key: 0, block: "", size: "small", @@ -13077,8 +13084,8 @@ function M2(e, t, i, r, n, a) { be(le(e.formCreateInject.t("prevStep") || "\u4E0A\u4E00\u6B65"), 1) ]), _: 1 - }, 8, ["onClick"])) : ke("", !0), - e.active < e.cacheRule.length - 1 ? (H(), he(d, { + }, 8, ["onClick"])) : Te("", !0), + e.active < e.cacheRule.length - 1 ? (H(), me(d, { key: 1, block: "", size: "small", @@ -13089,8 +13096,8 @@ function M2(e, t, i, r, n, a) { be(le(e.formCreateInject.t("nextStep") || "\u4E0B\u4E00\u6B65"), 1) ]), _: 1 - }, 8, ["onClick"])) : ke("", !0), - e.submitBtn !== !1 && e.active === e.cacheRule.length - 1 ? (H(), he(d, { + }, 8, ["onClick"])) : Te("", !0), + e.submitBtn !== !1 && e.active === e.cacheRule.length - 1 ? (H(), me(d, { key: 2, block: "", size: "small", @@ -13103,7 +13110,7 @@ function M2(e, t, i, r, n, a) { be(le(e.formCreateInject.t("submit") || "\u63D0\u4EA4"), 1) ]), _: 1 - }, 8, ["onClick"])) : ke("", !0) + }, 8, ["onClick"])) : Te("", !0) ]), _: 1 }) @@ -13112,8 +13119,8 @@ function M2(e, t, i, r, n, a) { }) ]); } -const L2 = /* @__PURE__ */ je(F2, [["render", M2]]); -const N2 = Ve({ +const L2 = /* @__PURE__ */ Ve(F2, [["render", M2]]); +const N2 = Be({ name: "FcPopup", emits: ["confirm", "submit", "validateFail", "update:modelValue"], props: { @@ -13181,8 +13188,8 @@ const N2 = Ve({ } }), B2 = { class: "_fc-popup-title" }, V2 = { class: "_fc-popup-content" }, j2 = { class: "_fc-popup-footer" }; function U2(e, t, i, r, n, a) { - const s = ne("van-button"), u = ne("van-popup"); - return H(), he(u, jt({ + const s = ee("van-button"), u = ee("van-popup"); + return H(), me(u, jt({ class: "_fc-popup", closeable: "" }, e.$attrs, { @@ -13190,9 +13197,9 @@ function U2(e, t, i, r, n, a) { "onUpdate:show": t[1] || (t[1] = (d) => e.visible = d) }), { default: N(() => [ - X("div", B2, le(e.title), 1), - X("div", V2, [ - (H(), he(ar(e.Form), { + J("div", B2, le(e.title), 1), + J("div", V2, [ + (H(), me(ar(e.Form), { option: e.formOptions, rule: e.formRule, extendOption: !0, @@ -13204,9 +13211,9 @@ function U2(e, t, i, r, n, a) { onEmitEvent: e.$emit }, null, 40, ["option", "rule", "api", "model-value", "onChange", "onEmitEvent"])) ]), - X("div", j2, [ + J("div", j2, [ e.footer !== !1 ? (H(), ae(Me, { key: 0 }, [ - W(s, { + z(s, { block: "", size: "small", type: "primary", @@ -13218,7 +13225,7 @@ function U2(e, t, i, r, n, a) { ]), _: 1 }, 8, ["onClick"]), - W(s, { + z(s, { block: "", size: "small", class: "fc-clock", @@ -13230,14 +13237,14 @@ function U2(e, t, i, r, n, a) { ]), _: 1 }, 8, ["onClick"]) - ], 64)) : ke("", !0) + ], 64)) : Te("", !0) ]) ]), _: 1 }, 16, ["show"]); } -const H2 = /* @__PURE__ */ je(N2, [["render", U2]]); -const Vc = Ve({ +const H2 = /* @__PURE__ */ Ve(N2, [["render", U2]]); +const Vc = Be({ name: "DataTable", emits: ["sortChange", "handleClick"], props: { @@ -13313,7 +13320,7 @@ const Vc = Ve({ return bn(on("div", { class: "_fc-data-table" }, [ - on(ne("el-table"), { + on(ee("el-table"), { data: this.filterList, ...this.$attrs, key: this.id, @@ -13323,12 +13330,12 @@ const Vc = Ve({ } }, () => { const e = this.column.filter((i) => i.hidden !== !0).map((i) => this.makeColumn(i)); - this.selection && e.unshift(on(ne("el-table-column"), { + this.selection && e.unshift(on(ee("el-table-column"), { type: "selection", width: "50px" })); const t = this.makeButtonCol(); - return t && e.push(t), this.index && e.unshift(on(ne("el-table-column"), { + return t && e.push(t), this.index && e.unshift(on(ee("el-table-column"), { type: "index", width: "50px" })), e; @@ -13447,7 +13454,7 @@ const Vc = Ve({ }, makePage() { if (this.page && this.page.open === !0) - return on(ne("el-pagination"), { + return on(ee("el-pagination"), { layout: "prev, pager, next", total: this.total, currentPage: this.currentPage, @@ -13461,16 +13468,16 @@ const Vc = Ve({ }, makeButtonCol() { if (this.button && this.button.open === !0 && this.button.column) - return on(ne("el-table-column"), { + return on(ee("el-table-column"), { label: this.button.label || this.formCreateInject.t("operation") || "\u64CD\u4F5C", fixed: this.button.fixed === void 0 ? "right" : this.button.fixed, width: this.button.width || "100px" }, { - default: (e) => this.button.column.filter((t) => t.hidden !== !0).map((t) => on(ne("el-button"), this.btnProps(t, e), () => [t.name])) + default: (e) => this.button.column.filter((t) => t.hidden !== !0).map((t) => on(ee("el-button"), this.btnProps(t, e), () => [t.name])) }); }, makeColumn(e) { - return on(ne("el-table-column"), { + return on(ee("el-table-column"), { label: e.label, prop: e.prop, width: e.width, @@ -13488,11 +13495,11 @@ const Vc = Ve({ }); }, makeTd(e, t) { - return e.format === "custom" && e.render ? e.render(t, on, ne, this.formCreateInject.api) : e.format === "tag" ? on(ne("el-tag"), { disableTransitions: !0 }, () => [this.deepGet(t.row, e.prop, "")]) : e.format === "image" ? on("div", { + return e.format === "custom" && e.render ? e.render(t, on, ee, this.formCreateInject.api) : e.format === "tag" ? on(ee("el-tag"), { disableTransitions: !0 }, () => [this.deepGet(t.row, e.prop, "")]) : e.format === "image" ? on("div", { class: "_fc-data-table-img-list" }, (() => { let i = this.deepGet(t.row, e.prop, ""); - return i = (Array.isArray(i) ? i : [i]).filter((r) => !!r), i.map((r, n) => on(ne("el-image"), { + return i = (Array.isArray(i) ? i : [i]).filter((r) => !!r), i.map((r, n) => on(ee("el-image"), { src: r, previewSrcList: i, previewTeleported: !0, @@ -13601,20 +13608,20 @@ const z2 = { } }; function W2(e, t, i, r, n, a) { - const s = ne("el-col"); - return H(), he(s, { span: 24 }, { + const s = ee("el-col"); + return H(), me(s, { span: 24 }, { default: N(() => [ - X("div", { - class: Xe(["_fc-table", { "is-mini": i.mini }]) + J("div", { + class: qe(["_fc-table", { "is-mini": i.mini }]) }, [ - X("table", { + J("table", { border: "1", cellspacing: "0", cellpadding: "0", style: wn(a.tableColor) }, [ - (H(!0), ae(Me, null, We(i.rule.row, (u, d) => (H(), ae("tr", { key: d }, [ - (H(!0), ae(Me, null, We(i.rule.col, (p, h) => (H(), ae(Me, { + (H(!0), ae(Me, null, ze(i.rule.row, (u, d) => (H(), ae("tr", { key: d }, [ + (H(!0), ae(Me, null, ze(i.rule.col, (p, h) => (H(), ae(Me, { key: `${d}${h}` }, [ n.lattice[d][h].show ? (H(), ae("td", jt({ @@ -13626,8 +13633,8 @@ function W2(e, t, i, r, n, a) { style: [a.tableColor, n.tdStyle && n.tdStyle[`${d}:${h}`] || {}] }), [ kt(e.$slots, `${d}:${h}`), - (H(!0), ae(Me, null, We(n.lattice[d][h].slot, (g) => kt(e.$slots, `${g}`)), 256)) - ], 16)) : ke("", !0) + (H(!0), ae(Me, null, ze(n.lattice[d][h].slot, (g) => kt(e.$slots, `${g}`)), 256)) + ], 16)) : Te("", !0) ], 64))), 128)) ]))), 128)) ], 4) @@ -13636,7 +13643,7 @@ function W2(e, t, i, r, n, a) { _: 3 }); } -const jy = /* @__PURE__ */ je(z2, [["render", W2]]); +const jy = /* @__PURE__ */ Ve(z2, [["render", W2]]); const G2 = { name: "TableForm", emits: ["change", "add", "delete", "update:modelValue"], @@ -13863,11 +13870,11 @@ const G2 = { } }; function K2(e, t, i, r, n, a) { - const s = ne("el-button"); + const s = ee("el-button"); return H(), ae("div", { - class: Xe(["_fc-table-form", { "_fc-disabled": i.disabled }]) + class: qe(["_fc-table-form", { "_fc-disabled": i.disabled }]) }, [ - (H(), he(ar(n.Form), { + (H(), me(ar(n.Form), { option: i.options, rule: n.rule, extendOption: !0, @@ -13877,7 +13884,7 @@ function K2(e, t, i, r, n, a) { "onUpdate:api": t[0] || (t[0] = (u) => n.fapi = u), onEmitEvent: e.$emit }, null, 40, ["option", "rule", "disabled", "onChange", "api", "onEmitEvent"])), - i.addable && (!i.max || i.max > this.trs.length) ? (H(), he(s, { + i.addable && (!i.max || i.max > this.trs.length) ? (H(), me(s, { key: 0, link: "", type: "primary", @@ -13885,17 +13892,17 @@ function K2(e, t, i, r, n, a) { onClick: t[1] || (t[1] = (u) => a.addRaw(!0)) }, { default: N(() => [ - t[2] || (t[2] = X("i", { + t[2] || (t[2] = J("i", { class: "fc-icon icon-add-circle", style: { "font-weight": "700" } }, null, -1)), be(" " + le(i.formCreateInject.t("add") || "\u6DFB\u52A0"), 1) ]), _: 1 - })) : ke("", !0) + })) : Te("", !0) ], 2); } -const Uy = /* @__PURE__ */ je(G2, [["render", K2]]); +const Uy = /* @__PURE__ */ Ve(G2, [["render", K2]]); const Y2 = { name: "TableFormPro", emits: ["change", "add", "delete", "update:modelValue", "handleClick"], @@ -14079,7 +14086,7 @@ const Y2 = { processRule(e) { let t = []; return e.forEach((i) => { - i.children ? t.push(...this.processRule(i.children)) : (i._renderId = it(), t.push({ + i.children ? t.push(...this.processRule(i.children)) : (i._renderId = rt(), t.push({ type: "template", name: i._renderId, children: [...i.rule || []] @@ -14149,7 +14156,7 @@ const Y2 = { mounted() { const e = this.fapi.sync; this.fapi.sync = (t) => { - t.tableRenderUni = it(), e(t); + t.tableRenderUni = rt(), e(t); }, this.updateTable(), this.newColumn && (!this.modelValue || !this.modelValue.length) && this.addRaw(!0), this.$watch(() => [...this.columns], (t) => { this.rule[1].children.splice(this.rule[1].children.indexOf(this.indexRule) > -1 ? 1 : 0, 0, ...this.processColumns(t)), this.rule[1].key++; }, { immediate: !0 }), this.$watch(() => this.showIndex, (t) => { @@ -14166,18 +14173,18 @@ const Y2 = { width: this.button.width || "100px" }, renderSlots: { - default: (i) => this.button.column.filter((r) => r.hidden !== !0).map((r) => on(ne("el-button"), this.btnProps(r, i), () => [r.key === "delete" && this.formCreateInject.t("delete") || r.name])) + default: (i) => this.button.column.filter((r) => r.hidden !== !0).map((r) => on(ee("el-button"), this.btnProps(r, i), () => [r.key === "delete" && this.formCreateInject.t("delete") || r.name])) } }); }, { immediate: !0 }); } }, Q2 = { class: "_fc-tf-pro-handle" }; function J2(e, t, i, r, n, a) { - const s = ne("el-button"), u = ne("el-pagination"); + const s = ee("el-button"), u = ee("el-pagination"); return H(), ae("div", { - class: Xe(["_fc-table-form-v2", { "_fc-disabled": i.disabled }]) + class: qe(["_fc-table-form-v2", { "_fc-disabled": i.disabled }]) }, [ - (H(), he(ar(n.Form), { + (H(), me(ar(n.Form), { option: i.options, rule: n.rule, extendOption: !0, @@ -14187,9 +14194,9 @@ function J2(e, t, i, r, n, a) { "onUpdate:api": t[0] || (t[0] = (d) => n.fapi = d), onEmitEvent: e.$emit }, null, 40, ["option", "rule", "disabled", "onChange", "api", "onEmitEvent"])), - X("div", Q2, [ - X("div", null, [ - (!i.max || i.max > a.total) && i.addable !== !1 && i.disabled !== !0 ? (H(), he(s, { + J("div", Q2, [ + J("div", null, [ + (!i.max || i.max > a.total) && i.addable !== !1 && i.disabled !== !0 ? (H(), me(s, { key: 0, link: "", type: "primary", @@ -14197,26 +14204,26 @@ function J2(e, t, i, r, n, a) { onClick: t[1] || (t[1] = (d) => a.addRaw(!0)) }, { default: N(() => [ - t[2] || (t[2] = X("i", { + t[2] || (t[2] = J("i", { class: "fc-icon icon-add-circle", style: { "font-weight": "700" } }, null, -1)), be(" " + le(i.formCreateInject.t("add") || "\u6DFB\u52A0"), 1) ]), _: 1 - })) : ke("", !0) + })) : Te("", !0) ]), - i.page && i.page.open === !0 && n.chunk.length > 1 ? (H(), he(u, jt({ key: 0 }, i.page.props || {}, { + i.page && i.page.open === !0 && n.chunk.length > 1 ? (H(), me(u, jt({ key: 0 }, i.page.props || {}, { layout: "prev, pager, next", currentPage: n.nowPage, "onUpdate:currentPage": a.changePage, total: a.total, pageSize: a.limit - }), null, 16, ["currentPage", "onUpdate:currentPage", "total", "pageSize"])) : ke("", !0) + }), null, 16, ["currentPage", "onUpdate:currentPage", "total", "pageSize"])) : Te("", !0) ]) ], 2); } -const Hy = /* @__PURE__ */ je(Y2, [["render", J2]]); +const Hy = /* @__PURE__ */ Ve(Y2, [["render", J2]]); const X2 = { name: "InfiniteTableForm", emits: ["change", "add", "delete", "update:modelValue"], @@ -14462,11 +14469,11 @@ const X2 = { } }; function Z2(e, t, i, r, n, a) { - const s = ne("el-button"); + const s = ee("el-button"); return H(), ae("div", { - class: Xe(["_fc-infinite-table-form", { "_fc-disabled": i.disabled }]) + class: qe(["_fc-infinite-table-form", { "_fc-disabled": i.disabled }]) }, [ - (H(), he(ar(n.Form), { + (H(), me(ar(n.Form), { option: i.options, rule: n.rule, extendOption: !0, @@ -14476,7 +14483,7 @@ function Z2(e, t, i, r, n, a) { "onUpdate:api": t[0] || (t[0] = (u) => n.fapi = u), onEmitEvent: e.$emit }, null, 40, ["option", "rule", "onChange", "disabled", "api", "onEmitEvent"])), - !i.max || i.max > this.trs.length ? (H(), he(s, { + !i.max || i.max > this.trs.length ? (H(), me(s, { key: 0, link: "", type: "primary", @@ -14484,17 +14491,17 @@ function Z2(e, t, i, r, n, a) { onClick: t[1] || (t[1] = (u) => a.addRaw(!0)) }, { default: N(() => [ - t[2] || (t[2] = X("i", { + t[2] || (t[2] = J("i", { class: "fc-icon icon-add-circle", style: { "font-weight": "700" } }, null, -1)), be(" " + le(i.formCreateInject.t("add") || "\u6DFB\u52A0"), 1) ]), _: 1 - })) : ke("", !0) + })) : Te("", !0) ], 2); } -const zy = /* @__PURE__ */ je(X2, [["render", Z2]]); +const zy = /* @__PURE__ */ Ve(X2, [["render", Z2]]); const q2 = { name: "NestedTableForm", emits: ["change", "add", "delete", "update:modelValue"], @@ -14734,11 +14741,11 @@ const q2 = { } }; function ex(e, t, i, r, n, a) { - const s = ne("el-button"); + const s = ee("el-button"); return H(), ae("div", { - class: Xe(["_fc-nested-table-form", { "_fc-disabled": i.disabled }]) + class: qe(["_fc-nested-table-form", { "_fc-disabled": i.disabled }]) }, [ - (H(), he(ar(n.Form), { + (H(), me(ar(n.Form), { option: i.options, rule: n.rule, extendOption: !0, @@ -14748,7 +14755,7 @@ function ex(e, t, i, r, n, a) { "onUpdate:api": t[0] || (t[0] = (u) => n.fapi = u), onEmitEvent: e.$emit }, null, 40, ["option", "rule", "onChange", "disabled", "api", "onEmitEvent"])), - !i.max || i.max > this.trs.length ? (H(), he(s, { + !i.max || i.max > this.trs.length ? (H(), me(s, { key: 0, link: "", type: "primary", @@ -14756,18 +14763,18 @@ function ex(e, t, i, r, n, a) { onClick: t[1] || (t[1] = (u) => a.addRaw(!0)) }, { default: N(() => [ - t[2] || (t[2] = X("i", { + t[2] || (t[2] = J("i", { class: "fc-icon icon-add-circle", style: { "font-weight": "700" } }, null, -1)), be(" " + le(i.formCreateInject.t("add") || "\u6DFB\u52A0"), 1) ]), _: 1 - })) : ke("", !0) + })) : Te("", !0) ], 2); } -const Wy = /* @__PURE__ */ je(q2, [["render", ex]]); -const tx = Ve({ +const Wy = /* @__PURE__ */ Ve(q2, [["render", ex]]); +const tx = Be({ name: "FcCell" }), nx = { ref: "cell", @@ -14778,7 +14785,7 @@ function ix(e, t, i, r, n, a) { kt(e.$slots, "default") ], 512); } -const Gy = /* @__PURE__ */ je(tx, [["render", ix]]), rx = Ve({ +const Gy = /* @__PURE__ */ Ve(tx, [["render", ix]]), rx = Be({ name: "FcValue", props: ["modelValue"], watch: { @@ -14790,8 +14797,8 @@ const Gy = /* @__PURE__ */ je(tx, [["render", ix]]), rx = Ve({ function ax(e, t, i, r, n, a) { return H(), ae("div", ox, le(e.modelValue), 1); } -const Ky = /* @__PURE__ */ je(rx, [["render", ax]]); -const lx = Ve({ +const Ky = /* @__PURE__ */ Ve(rx, [["render", ax]]); +const lx = Be({ name: "FcCity", props: { modelValue: Array, @@ -14877,9 +14884,9 @@ const lx = Ve({ } }), sx = { class: "_fc-city-m" }; function ux(e, t, i, r, n, a) { - const s = ne("van-field"), u = ne("van-cascader"), d = ne("van-popup"); + const s = ee("van-field"), u = ee("van-cascader"), d = ee("van-popup"); return H(), ae("div", sx, [ - W(s, { + z(s, { ref: "el", placeholder: e.placeholder, readonly: "", @@ -14892,7 +14899,7 @@ function ux(e, t, i, r, n, a) { e.clearable && e.inputValue ? { name: "right-icon", fn: N(() => [ - X("i", { + J("i", { class: "van-badge__wrapper van-icon van-icon-clear van-field__clear", onClick: t[0] || (t[0] = (...p) => e.clear && e.clear(...p)) }) @@ -14900,14 +14907,14 @@ function ux(e, t, i, r, n, a) { key: "0" } : void 0 ]), 1032, ["placeholder", "disabled", "onClick", "model-value"]), - W(d, { + z(d, { show: e.show, "onUpdate:show": t[2] || (t[2] = (p) => e.show = p), round: "", position: "bottom" }, { default: N(() => [ - W(u, { + z(u, { modelValue: e.modelValue && e.modelValue[e.modelValue.length - 1] || "", options: e.province, onClose: t[1] || (t[1] = (p) => e.show = !1), @@ -14918,7 +14925,7 @@ function ux(e, t, i, r, n, a) { }, 8, ["show"]) ]); } -const dx = /* @__PURE__ */ je(lx, [["render", ux]]), Yy = Ve({ +const dx = /* @__PURE__ */ Ve(lx, [["render", ux]]), Yy = Be({ name: "FcSlot", inheritAttrs: !1, inject: ["parentFC"], @@ -14943,7 +14950,7 @@ const dx = /* @__PURE__ */ je(lx, [["render", ux]]), Yy = Ve({ }, render() { const e = this.getSlot(); - return W(Me, {}, e ? [e(this.slotArg)] : []); + return z(Me, {}, e ? [e(this.slotArg)] : []); }, methods: { getSlot() { @@ -14956,7 +14963,7 @@ const dx = /* @__PURE__ */ je(lx, [["render", ux]]), Yy = Ve({ return e(this.parentFC); } } -}), Qy = Ve({ +}), Qy = Be({ name: "FcJson", inheritAttrs: !1, props: { @@ -15006,7 +15013,7 @@ const dx = /* @__PURE__ */ je(lx, [["render", ux]]), Yy = Ve({ render() { var e, t; if (this.rule) - return this.type === "object" ? W(this.fcSubForm, { + return this.type === "object" ? z(this.fcSubForm, { key: 2, ...this.$attrs, modelValue: this.modelValue, @@ -15017,7 +15024,7 @@ const dx = /* @__PURE__ */ je(lx, [["render", ux]]), Yy = Ve({ formCreateInject: this.formCreateInject, rule: this.formRule, options: this.formOptions - }) : this.type === "array" ? W(this.fcGroup, { + }) : this.type === "array" ? z(this.fcGroup, { key: 3, ...this.$attrs, modelValue: this.modelValue, @@ -15033,7 +15040,7 @@ const dx = /* @__PURE__ */ je(lx, [["render", ux]]), Yy = Ve({ formCreateInject: this.formCreateInject, rule: this.formRule, options: this.formOptions - }) : W(Me, { + }) : z(Me, { key: this.uni }, [(t = (e = this.$slots) == null ? void 0 : e.default) == null ? void 0 : t.call(e)]); }, @@ -15057,7 +15064,7 @@ const dx = /* @__PURE__ */ je(lx, [["render", ux]]), Yy = Ve({ this.rule && this.loadRule(); } }); -const fx = Ve({ +const fx = Be({ name: "fcInlineForm" }), cx = { class: "_fc-line-form" }; function px(e, t, i, r, n, a) { @@ -15065,7 +15072,7 @@ function px(e, t, i, r, n, a) { kt(e.$slots, "default") ]); } -const jc = /* @__PURE__ */ je(fx, [["render", px]]), kn = function() { +const jc = /* @__PURE__ */ Ve(fx, [["render", px]]), kn = function() { var e = function() { }, t = {}, i = {}, r = {}; function n(h, g) { @@ -15093,32 +15100,32 @@ const jc = /* @__PURE__ */ je(fx, [["render", px]]), kn = function() { h.call && (h = { success: h }), g.length ? (h.error || e)(g) : (h.success || e)(h); } function u(h, g, _, S) { - var b = document, A = _.async, y = (_.numRetries || 0) + 1, m = _.before || e, w = h.replace(/[\?|#].*$/, ""), E = h.replace(/^(css|img|module|nomodule)!/, ""), x, k, $; + var b = document, A = _.async, y = (_.numRetries || 0) + 1, m = _.before || e, w = h.replace(/[\?|#].*$/, ""), E = h.replace(/^(css|img|module|nomodule)!/, ""), x, k, R; if (S = S || 0, /(^css!|\.css$)/.test(w)) - $ = b.createElement("link"), $.rel = "stylesheet", $.href = E, x = "hideFocus" in $, x && $.relList && (x = 0, $.rel = "preload", $.as = "style"); + R = b.createElement("link"), R.rel = "stylesheet", R.href = E, x = "hideFocus" in R, x && R.relList && (x = 0, R.rel = "preload", R.as = "style"); else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(w)) - $ = b.createElement("img"), $.src = E; - else if ($ = b.createElement("script"), $.src = E, $.async = A === void 0 ? !0 : A, k = "noModule" in $, /^module!/.test(w)) { + R = b.createElement("img"), R.src = E; + else if (R = b.createElement("script"), R.src = E, R.async = A === void 0 ? !0 : A, k = "noModule" in R, /^module!/.test(w)) { if (!k) return g(h, "l"); - $.type = "module"; + R.type = "module"; } else if (/^nomodule!/.test(w) && k) return g(h, "l"); - $.onload = $.onerror = $.onbeforeload = function(M) { + R.onload = R.onerror = R.onbeforeload = function(M) { var P = M.type[0]; if (x) try { - $.sheet.cssText.length || (P = "e"); + R.sheet.cssText.length || (P = "e"); } catch (B) { B.code != 18 && (P = "e"); } if (P == "e") { if (S += 1, S < y) return u(h, g, _, S); - } else if ($.rel == "preload" && $.as == "style") - return $.rel = "stylesheet"; + } else if (R.rel == "preload" && R.as == "style") + return R.rel = "stylesheet"; g(h, P, M.defaultPrevented); - }, m(h, $) !== !1 && b.head.appendChild($); + }, m(h, R) !== !1 && b.head.appendChild(R); } (function() { try { @@ -15197,7 +15204,7 @@ function Qs(e, t) { i !== null && clearTimeout(i), i = setTimeout(() => e.call(this, ...r), t); }; } -const hx = Ve({ +const hx = Be({ name: "FcEcharts", data() { return { @@ -15553,7 +15560,7 @@ const hx = Ve({ function vx(e, t, i, r, n, a) { return H(), ae("div", mx, null, 512); } -const Jy = /* @__PURE__ */ je(hx, [["render", vx]]); +const Jy = /* @__PURE__ */ Ve(hx, [["render", vx]]); /*! * Signature Pad v5.0.7 | https://github.com/szimek/signature_pad * (c) 2025 Szymon Nowak | Released under the MIT license @@ -15886,7 +15893,7 @@ class il extends gx { }), d.outerHTML; } } -const bx = Ve({ +const bx = Be({ name: "SignaturePad", emits: ["update:modelValue", "change", "remove"], data() { @@ -15937,14 +15944,14 @@ const bx = Ve({ height: "145px" }; function Sx(e, t, i, r, n, a) { - const s = ne("van-dialog"); + const s = ee("van-dialog"); return H(), ae("div", _x, [ e.modelValue ? (H(), ae("div", wx, [ - X("i", { + J("i", { class: "fc-icon icon-delete2", onClick: t[0] || (t[0] = (...u) => e.remove && e.remove(...u)) }), - X("img", { + J("img", { src: e.modelValue, alt: "signature" }, null, 8, Ax) @@ -15953,10 +15960,10 @@ function Sx(e, t, i, r, n, a) { class: "_fc-m-signature-btn", onClick: t[1] || (t[1] = (u) => e.visible = !0) }, [ - t[4] || (t[4] = X("i", { class: "fc-icon icon-edit2" }, null, -1)), + t[4] || (t[4] = J("i", { class: "fc-icon icon-edit2" }, null, -1)), be(" " + le(e.formCreateInject.t("signaturePadTip") || "\u70B9\u51FB\u6DFB\u52A0\u624B\u5199\u7B7E\u540D"), 1) ])), - W(s, { + z(s, { show: e.visible, "onUpdate:show": t[3] || (t[3] = (u) => e.visible = u), class: "_fc-m-signature-dialog", @@ -15968,19 +15975,19 @@ function Sx(e, t, i, r, n, a) { }, { title: N(() => [ be(le(e.formCreateInject.t("signaturePadTitle") || "\u8BF7\u5728\u865A\u7EBF\u6846\u5185\u4E66\u5199") + " ", 1), - X("i", { + J("i", { class: "fc-icon icon-add2", onClick: t[2] || (t[2] = (u) => e.visible = !1) }) ]), default: N(() => [ - X("canvas", Cx, null, 512) + J("canvas", Cx, null, 512) ]), _: 1 }, 8, ["show", "onConfirm", "onCancel", "confirm-button-text", "cancel-button-text", "confirm-button-disabled"]) ]); } -const Ex = /* @__PURE__ */ je(bx, [["render", Sx]]); +const Ex = /* @__PURE__ */ Ve(bx, [["render", Sx]]); function hc(e, t, i) { for (var r = [], n = Math.max(e.length, t.length), a = 0, s = 0; s < n || a; ) { var u = s < e.length ? e[s] : 0, d = s < t.length ? t[s] : 0, p = a + u + d; @@ -16042,7 +16049,7 @@ class Ox { return kx(s); } } -const $x = Ve({ +const $x = Be({ name: "FcId", props: ["modelValue", "prefix"], emits: ["update:modelValue"], @@ -16072,15 +16079,15 @@ const $x = Ve({ } }); function Rx(e, t, i, r, n, a) { - const s = ne("el-input"); - return H(), he(s, { + const s = ee("el-input"); + return H(), me(s, { modelValue: e.designer ? "" + (e.prefix || "") + e.preview : e.modelValue, readonly: "", disabled: "" }, null, 8, ["modelValue"]); } -const Xy = /* @__PURE__ */ je($x, [["render", Rx]]); -const Dx = Ve({ +const Xy = /* @__PURE__ */ Ve($x, [["render", Rx]]); +const Dx = Be({ name: "FcTitle", data() { return {}; @@ -16100,11 +16107,11 @@ const Dx = Ve({ }); function Ix(e, t, i, r, n, a) { return H(), ae("div", { - class: Xe(["_fc-title", e.size || "h2"]), + class: qe(["_fc-title", e.size || "h2"]), style: wn(e.textStyle) }, le(e.title), 7); } -const Zy = /* @__PURE__ */ je(Dx, [["render", Ix]]); +const Zy = /* @__PURE__ */ Ve(Dx, [["render", Ix]]); function Hc() { return { async: !1, @@ -16502,12 +16509,12 @@ ${g}` : g; `, 1)[0], b = !_.trim(), A = 0; if (this.options.pedantic ? (A = 2, g = _.trimStart()) : b ? A = i[1].length + 1 : (A = i[2].search(this.rules.other.nonSpaceChar), A = A > 4 ? 1 : A, g = _.slice(A), A += i[1].length), b && this.rules.other.blankLine.test(S) && (h += S + ` `, t = t.substring(S.length + 1), p = !0), !p) { - const w = this.rules.other.nextBulletRegex(A), E = this.rules.other.hrRegex(A), x = this.rules.other.fencesBeginRegex(A), k = this.rules.other.headingBeginRegex(A), $ = this.rules.other.htmlBeginRegex(A); + const w = this.rules.other.nextBulletRegex(A), E = this.rules.other.hrRegex(A), x = this.rules.other.fencesBeginRegex(A), k = this.rules.other.headingBeginRegex(A), R = this.rules.other.htmlBeginRegex(A); for (; t; ) { const M = t.split(` `, 1)[0]; let P; - if (S = M, this.options.pedantic ? (S = S.replace(this.rules.other.listReplaceNesting, " "), P = S) : P = S.replace(this.rules.other.tabCharGlobal, " "), x.test(S) || k.test(S) || $.test(S) || w.test(S) || E.test(S)) + if (S = M, this.options.pedantic ? (S = S.replace(this.rules.other.listReplaceNesting, " "), P = S) : P = S.replace(this.rules.other.tabCharGlobal, " "), x.test(S) || k.test(S) || R.test(S) || w.test(S) || E.test(S)) break; if (P.search(this.rules.other.nonSpaceChar) >= A || !S.trim()) g += ` @@ -17612,7 +17619,7 @@ Ut.walkTokens; Ut.parseInline; mi.parse; hi.lex; -const mT = Ve({ +const mT = Be({ name: "FcMarkdown", data() { return { @@ -17638,8 +17645,8 @@ function gT(e, t, i, r, n, a) { innerHTML: e.html }, null, 8, vT); } -const f0 = /* @__PURE__ */ je(mT, [["render", gT]]); -const yT = Ve({ +const f0 = /* @__PURE__ */ Ve(mT, [["render", gT]]); +const yT = Be({ name: "FcDialog", emits: ["confirm", "submit", "validateFail", "update:modelValue"], props: { @@ -17712,15 +17719,15 @@ const yT = Ve({ style: { right: "36px" } }; function _T(e, t, i, r, n, a) { - const s = ne("el-button"), u = ne("el-dialog"); - return H(), he(u, jt({ class: "_fc-dialog" }, e.$attrs, { + const s = ee("el-button"), u = ee("el-dialog"); + return H(), me(u, jt({ class: "_fc-dialog" }, e.$attrs, { fullscreen: e.max, modelValue: e.visible, "onUpdate:modelValue": t[3] || (t[3] = (d) => e.visible = d), destroyOnClose: "" }), Qn({ default: N(() => [ - e.$attrs.fullscreen ? ke("", !0) : (H(), ae("button", bT, [ + e.$attrs.fullscreen ? Te("", !0) : (H(), ae("button", bT, [ e.max ? (H(), ae("i", { key: 0, class: "fc-icon icon-page-min", @@ -17731,7 +17738,7 @@ function _T(e, t, i, r, n, a) { onClick: t[1] || (t[1] = (d) => e.max = !0) })) ])), - (H(), he(ar(e.Form), { + (H(), me(ar(e.Form), { option: e.formOptions, rule: e.formRule, extendOption: !0, @@ -17748,13 +17755,13 @@ function _T(e, t, i, r, n, a) { e.footer !== !1 ? { name: "footer", fn: N(() => [ - W(s, { onClick: e.close }, { + z(s, { onClick: e.close }, { default: N(() => [ be(le(e.formCreateInject.t("close") || "\u5173\u95ED"), 1) ]), _: 1 }, 8, ["onClick"]), - W(s, { + z(s, { type: "primary", onClick: e.handleConfirm }, { @@ -17768,7 +17775,7 @@ function _T(e, t, i, r, n, a) { } : void 0 ]), 1040, ["fullscreen", "modelValue"]); } -const c0 = /* @__PURE__ */ je(yT, [["render", _T]]), wT = (e) => e !== null && typeof e == "object", AT = (e) => e != null; +const c0 = /* @__PURE__ */ Ve(yT, [["render", _T]]), wT = (e) => e !== null && typeof e == "object", AT = (e) => e != null; function vc(e) { if (!AT(e)) return e; @@ -17782,7 +17789,7 @@ function vc(e) { } return e; } -const CT = Ve({ +const CT = Be({ name: "FcDataSelect", components: { FcDialog: c0 }, emits: ["update:modelValue", "change", "clear"], @@ -17868,7 +17875,7 @@ const CT = Ve({ this.searchRule, this.tableRule ]); - return e[1].on || (e[1].on = {}), e[1].props || (e[1].props = {}), this.multiple && (e[1].props.rowKey || (e[1].props.rowKey = this.valueKey || "value"), e[1].name || (e[1].name = it())), e[1].props.selection = !0, e[1].on.rowClick ? e[1].on.rowClick = [(...t) => this.tableRowClick(...t), e[1].on.rowClick] : e[1].on.rowClick = (...t) => this.tableRowClick(...t), e[1].on.selectionChange ? e[1].on.selectionChange = [(...t) => this.selectionChange(...t), e[1].on.selectionChange] : e[1].on.selectionChange = (...t) => this.selectionChange(...t), e; + return e[1].on || (e[1].on = {}), e[1].props || (e[1].props = {}), this.multiple && (e[1].props.rowKey || (e[1].props.rowKey = this.valueKey || "value"), e[1].name || (e[1].name = rt())), e[1].props.selection = !0, e[1].on.rowClick ? e[1].on.rowClick = [(...t) => this.tableRowClick(...t), e[1].on.rowClick] : e[1].on.rowClick = (...t) => this.tableRowClick(...t), e[1].on.selectionChange ? e[1].on.selectionChange = [(...t) => this.selectionChange(...t), e[1].on.selectionChange] : e[1].on.selectionChange = (...t) => this.selectionChange(...t), e; }, selectionChange(e) { this.multiple || this.tableRowClick(e[0]); @@ -17882,9 +17889,9 @@ const CT = Ve({ } }), ST = { class: "_fc-data-select" }; function ET(e, t, i, r, n, a) { - const s = ne("el-option"), u = ne("el-select"), d = ne("FcDialog"); + const s = ee("el-option"), u = ee("el-select"), d = ee("FcDialog"); return H(), ae("div", ST, [ - W(u, { + z(u, { disabled: e.disabled, placeholder: e.placeholder, multiple: e.multiple, @@ -17897,7 +17904,7 @@ function ET(e, t, i, r, n, a) { onClear: e.handleClear }, { default: N(() => [ - (H(!0), ae(Me, null, We(e.options, (p) => (H(), he(s, { + (H(!0), ae(Me, null, ze(e.options, (p) => (H(), me(s, { key: p.value, label: p.label, value: p.value @@ -17905,7 +17912,7 @@ function ET(e, t, i, r, n, a) { ]), _: 1 }, 8, ["disabled", "placeholder", "multiple", "multipleLimit", "clearable", "model-value", "onUpdate:modelValue", "onVisibleChange", "onClear"]), - W(d, { + z(d, { ref: "dialog", formCreateInject: e.formCreateInject, rule: e.formRule, @@ -17917,7 +17924,7 @@ function ET(e, t, i, r, n, a) { }, null, 8, ["formCreateInject", "rule", "onUpdate:modelValue", "footer", "title", "onConfirm"]) ]); } -const p0 = /* @__PURE__ */ je(CT, [["render", ET]]), xT = Ve({ +const p0 = /* @__PURE__ */ Ve(CT, [["render", ET]]), xT = Be({ name: "AudioBox", emits: ["pause", "play", "ended"], data() { @@ -17951,15 +17958,15 @@ function OT(e, t, i, r, n, a) { onPlay: t[1] || (t[1] = (s) => e.$emit("play", s)), onEnded: t[2] || (t[2] = (s) => e.$emit("ended", s)) }, [ - X("source", { + J("source", { src: e.src, type: e.type }, null, 8, kT), t[3] || (t[3] = be(" Your browser does not support the audio element. ")) ], 40, TT); } -const h0 = /* @__PURE__ */ je(xT, [["render", OT]]); -const $T = Ve({ +const h0 = /* @__PURE__ */ Ve(xT, [["render", OT]]); +const $T = Be({ name: "IframeBox", emits: ["load"], data() { @@ -17978,7 +17985,7 @@ function DT(e, t, i, r, n, a) { onLoad: t[0] || (t[0] = (s) => e.$emit("load", s)) }, null, 40, RT); } -const m0 = /* @__PURE__ */ je($T, [["render", DT]]); +const m0 = /* @__PURE__ */ Ve($T, [["render", DT]]); var Zc = {}, fu = {}, Zn = {}; Object.defineProperty(Zn, "__esModule", { value: !0 @@ -20289,7 +20296,7 @@ typeof jQuery < "u" && (jQuery.fn.JsBarcode = function(e, t) { }), _u(i, e, t); }); var cI = _u; -const pI = Ve({ +const pI = Be({ name: "BarCodeBox", data() { return {}; @@ -20340,8 +20347,8 @@ const pI = Ve({ function mI(e, t, i, r, n, a) { return H(), ae("img", hI, null, 512); } -const j0 = /* @__PURE__ */ je(pI, [["render", mI]]); -const vI = Ve({ +const j0 = /* @__PURE__ */ Ve(pI, [["render", mI]]); +const vI = Be({ name: "VideoBox", emits: ["pause", "play", "ended", "error"], data() { @@ -20397,7 +20404,7 @@ function yI(e, t, i, r, n, a) { onEnded: t[2] || (t[2] = (s) => e.$emit("ended", s)) }, null, 40, gI); } -const U0 = /* @__PURE__ */ je(vI, [["render", yI]]); +const U0 = /* @__PURE__ */ Ve(vI, [["render", yI]]); var H0 = { exports: {} }; (function(e, t) { (function(i, r) { @@ -20405,331 +20412,331 @@ var H0 = { exports: {} }; })(Lc, () => (() => { var i = { 873: (s, u) => { var d, p, h = function() { - var g = function(G, R) { - var z = G, C = m[R], F = null, q = 0, Z = null, Y = [], J = {}, ve = function(j, ee) { - F = function(te) { - for (var se = new Array(te), oe = 0; oe < te; oe += 1) { - se[oe] = new Array(te); - for (var _e = 0; _e < te; _e += 1) - se[oe][_e] = null; + var g = function(G, I) { + var U = G, F = m[I], C = null, q = 0, Z = null, Y = [], ue = {}, te = function($, K) { + C = function(X) { + for (var ie = new Array(X), re = 0; re < X; re += 1) { + ie[re] = new Array(X); + for (var fe = 0; fe < X; fe += 1) + ie[re][fe] = null; } - return se; - }(q = 4 * z + 17), pe(0, 0), pe(q - 7, 0), pe(0, q - 7), ge(), Te(), we(j, ee), z >= 7 && me(j), Z == null && (Z = Se(z, C, Y)), ce(Z, ee); - }, pe = function(j, ee) { - for (var te = -1; te <= 7; te += 1) - if (!(j + te <= -1 || q <= j + te)) - for (var se = -1; se <= 7; se += 1) - ee + se <= -1 || q <= ee + se || (F[j + te][ee + se] = 0 <= te && te <= 6 && (se == 0 || se == 6) || 0 <= se && se <= 6 && (te == 0 || te == 6) || 2 <= te && te <= 4 && 2 <= se && se <= 4); - }, Te = function() { - for (var j = 8; j < q - 8; j += 1) - F[j][6] == null && (F[j][6] = j % 2 == 0); - for (var ee = 8; ee < q - 8; ee += 1) - F[6][ee] == null && (F[6][ee] = ee % 2 == 0); + return ie; + }(q = 4 * U + 17), pe(0, 0), pe(q - 7, 0), pe(0, q - 7), ge(), ke(), we($, K), U >= 7 && ve($), Z == null && (Z = Se(U, F, Y)), he(Z, K); + }, pe = function($, K) { + for (var X = -1; X <= 7; X += 1) + if (!($ + X <= -1 || q <= $ + X)) + for (var ie = -1; ie <= 7; ie += 1) + K + ie <= -1 || q <= K + ie || (C[$ + X][K + ie] = 0 <= X && X <= 6 && (ie == 0 || ie == 6) || 0 <= ie && ie <= 6 && (X == 0 || X == 6) || 2 <= X && X <= 4 && 2 <= ie && ie <= 4); + }, ke = function() { + for (var $ = 8; $ < q - 8; $ += 1) + C[$][6] == null && (C[$][6] = $ % 2 == 0); + for (var K = 8; K < q - 8; K += 1) + C[6][K] == null && (C[6][K] = K % 2 == 0); }, ge = function() { - for (var j = w.getPatternPosition(z), ee = 0; ee < j.length; ee += 1) - for (var te = 0; te < j.length; te += 1) { - var se = j[ee], oe = j[te]; - if (F[se][oe] == null) - for (var _e = -2; _e <= 2; _e += 1) + for (var $ = w.getPatternPosition(U), K = 0; K < $.length; K += 1) + for (var X = 0; X < $.length; X += 1) { + var ie = $[K], re = $[X]; + if (C[ie][re] == null) + for (var fe = -2; fe <= 2; fe += 1) for (var Ae = -2; Ae <= 2; Ae += 1) - F[se + _e][oe + Ae] = _e == -2 || _e == 2 || Ae == -2 || Ae == 2 || _e == 0 && Ae == 0; + C[ie + fe][re + Ae] = fe == -2 || fe == 2 || Ae == -2 || Ae == 2 || fe == 0 && Ae == 0; } - }, me = function(j) { - for (var ee = w.getBCHTypeNumber(z), te = 0; te < 18; te += 1) { - var se = !j && (ee >> te & 1) == 1; - F[Math.floor(te / 3)][te % 3 + q - 8 - 3] = se; + }, ve = function($) { + for (var K = w.getBCHTypeNumber(U), X = 0; X < 18; X += 1) { + var ie = !$ && (K >> X & 1) == 1; + C[Math.floor(X / 3)][X % 3 + q - 8 - 3] = ie; } - for (te = 0; te < 18; te += 1) - se = !j && (ee >> te & 1) == 1, F[te % 3 + q - 8 - 3][Math.floor(te / 3)] = se; - }, we = function(j, ee) { - for (var te = C << 3 | ee, se = w.getBCHTypeInfo(te), oe = 0; oe < 15; oe += 1) { - var _e = !j && (se >> oe & 1) == 1; - oe < 6 ? F[oe][8] = _e : oe < 8 ? F[oe + 1][8] = _e : F[q - 15 + oe][8] = _e; + for (X = 0; X < 18; X += 1) + ie = !$ && (K >> X & 1) == 1, C[X % 3 + q - 8 - 3][Math.floor(X / 3)] = ie; + }, we = function($, K) { + for (var X = F << 3 | K, ie = w.getBCHTypeInfo(X), re = 0; re < 15; re += 1) { + var fe = !$ && (ie >> re & 1) == 1; + re < 6 ? C[re][8] = fe : re < 8 ? C[re + 1][8] = fe : C[q - 15 + re][8] = fe; } - for (oe = 0; oe < 15; oe += 1) - _e = !j && (se >> oe & 1) == 1, oe < 8 ? F[8][q - oe - 1] = _e : oe < 9 ? F[8][15 - oe - 1 + 1] = _e : F[8][15 - oe - 1] = _e; - F[q - 8][8] = !j; - }, ce = function(j, ee) { - for (var te = -1, se = q - 1, oe = 7, _e = 0, Ae = w.getMaskFunction(ee), Be = q - 1; Be > 0; Be -= 2) - for (Be == 6 && (Be -= 1); ; ) { - for (var ct = 0; ct < 2; ct += 1) - if (F[se][Be - ct] == null) { - var ze = !1; - _e < j.length && (ze = (j[_e] >>> oe & 1) == 1), Ae(se, Be - ct) && (ze = !ze), F[se][Be - ct] = ze, (oe -= 1) == -1 && (_e += 1, oe = 7); + for (re = 0; re < 15; re += 1) + fe = !$ && (ie >> re & 1) == 1, re < 8 ? C[8][q - re - 1] = fe : re < 9 ? C[8][15 - re - 1 + 1] = fe : C[8][15 - re - 1] = fe; + C[q - 8][8] = !$; + }, he = function($, K) { + for (var X = -1, ie = q - 1, re = 7, fe = 0, Ae = w.getMaskFunction(K), Fe = q - 1; Fe > 0; Fe -= 2) + for (Fe == 6 && (Fe -= 1); ; ) { + for (var Xe = 0; Xe < 2; Xe += 1) + if (C[ie][Fe - Xe] == null) { + var Ze = !1; + fe < $.length && (Ze = ($[fe] >>> re & 1) == 1), Ae(ie, Fe - Xe) && (Ze = !Ze), C[ie][Fe - Xe] = Ze, (re -= 1) == -1 && (fe += 1, re = 7); } - if ((se += te) < 0 || q <= se) { - se -= te, te = -te; + if ((ie += X) < 0 || q <= ie) { + ie -= X, X = -X; break; } } - }, Se = function(j, ee, te) { - for (var se = k.getRSBlocks(j, ee), oe = $(), _e = 0; _e < te.length; _e += 1) { - var Ae = te[_e]; - oe.put(Ae.getMode(), 4), oe.put(Ae.getLength(), w.getLengthInBits(Ae.getMode(), j)), Ae.write(oe); + }, Se = function($, K, X) { + for (var ie = k.getRSBlocks($, K), re = R(), fe = 0; fe < X.length; fe += 1) { + var Ae = X[fe]; + re.put(Ae.getMode(), 4), re.put(Ae.getLength(), w.getLengthInBits(Ae.getMode(), $)), Ae.write(re); } - var Be = 0; - for (_e = 0; _e < se.length; _e += 1) - Be += se[_e].dataCount; - if (oe.getLengthInBits() > 8 * Be) - throw "code length overflow. (" + oe.getLengthInBits() + ">" + 8 * Be + ")"; - for (oe.getLengthInBits() + 4 <= 8 * Be && oe.put(0, 4); oe.getLengthInBits() % 8 != 0; ) - oe.putBit(!1); - for (; !(oe.getLengthInBits() >= 8 * Be || (oe.put(236, 8), oe.getLengthInBits() >= 8 * Be)); ) - oe.put(17, 8); - return function(ct, ze) { - for (var Ee = 0, Pe = 0, Oe = 0, nt = new Array(ze.length), De = new Array(ze.length), Ne = 0; Ne < ze.length; Ne += 1) { - var lt = ze[Ne].dataCount, mt = ze[Ne].totalCount - lt; - Pe = Math.max(Pe, lt), Oe = Math.max(Oe, mt), nt[Ne] = new Array(lt); - for (var Ze = 0; Ze < nt[Ne].length; Ze += 1) - nt[Ne][Ze] = 255 & ct.getBuffer()[Ze + Ee]; - Ee += lt; - var Ot = w.getErrorCorrectPolynomial(mt), dt = x(nt[Ne], Ot.getLength() - 1).mod(Ot); - for (De[Ne] = new Array(Ot.getLength() - 1), Ze = 0; Ze < De[Ne].length; Ze += 1) { - var He = Ze + dt.getLength() - De[Ne].length; - De[Ne][Ze] = He >= 0 ? dt.getAt(He) : 0; + var Fe = 0; + for (fe = 0; fe < ie.length; fe += 1) + Fe += ie[fe].dataCount; + if (re.getLengthInBits() > 8 * Fe) + throw "code length overflow. (" + re.getLengthInBits() + ">" + 8 * Fe + ")"; + for (re.getLengthInBits() + 4 <= 8 * Fe && re.put(0, 4); re.getLengthInBits() % 8 != 0; ) + re.putBit(!1); + for (; !(re.getLengthInBits() >= 8 * Fe || (re.put(236, 8), re.getLengthInBits() >= 8 * Fe)); ) + re.put(17, 8); + return function(Xe, Ze) { + for (var _e = 0, Le = 0, Oe = 0, it = new Array(Ze.length), pt = new Array(Ze.length), Re = 0; Re < Ze.length; Re += 1) { + var He = Ze[Re].dataCount, at = Ze[Re].totalCount - He; + Le = Math.max(Le, He), Oe = Math.max(Oe, at), it[Re] = new Array(He); + for (var We = 0; We < it[Re].length; We += 1) + it[Re][We] = 255 & Xe.getBuffer()[We + _e]; + _e += He; + var $t = w.getErrorCorrectPolynomial(at), ft = x(it[Re], $t.getLength() - 1).mod($t); + for (pt[Re] = new Array($t.getLength() - 1), We = 0; We < pt[Re].length; We += 1) { + var je = We + ft.getLength() - pt[Re].length; + pt[Re][We] = je >= 0 ? ft.getAt(je) : 0; } } var Je = 0; - for (Ze = 0; Ze < ze.length; Ze += 1) - Je += ze[Ze].totalCount; - var pt = new Array(Je), Ge = 0; - for (Ze = 0; Ze < Pe; Ze += 1) - for (Ne = 0; Ne < ze.length; Ne += 1) - Ze < nt[Ne].length && (pt[Ge] = nt[Ne][Ze], Ge += 1); - for (Ze = 0; Ze < Oe; Ze += 1) - for (Ne = 0; Ne < ze.length; Ne += 1) - Ze < De[Ne].length && (pt[Ge] = De[Ne][Ze], Ge += 1); - return pt; - }(oe, se); + for (We = 0; We < Ze.length; We += 1) + Je += Ze[We].totalCount; + var ht = new Array(Je), Ge = 0; + for (We = 0; We < Le; We += 1) + for (Re = 0; Re < Ze.length; Re += 1) + We < it[Re].length && (ht[Ge] = it[Re][We], Ge += 1); + for (We = 0; We < Oe; We += 1) + for (Re = 0; Re < Ze.length; Re += 1) + We < pt[Re].length && (ht[Ge] = pt[Re][We], Ge += 1); + return ht; + }(re, ie); }; - J.addData = function(j, ee) { - var te = null; - switch (ee = ee || "Byte") { + ue.addData = function($, K) { + var X = null; + switch (K = K || "Byte") { case "Numeric": - te = M(j); + X = M($); break; case "Alphanumeric": - te = P(j); + X = P($); break; case "Byte": - te = B(j); + X = B($); break; case "Kanji": - te = T(j); + X = T($); break; default: - throw "mode:" + ee; + throw "mode:" + K; } - Y.push(te), Z = null; - }, J.isDark = function(j, ee) { - if (j < 0 || q <= j || ee < 0 || q <= ee) - throw j + "," + ee; - return F[j][ee]; - }, J.getModuleCount = function() { + Y.push(X), Z = null; + }, ue.isDark = function($, K) { + if ($ < 0 || q <= $ || K < 0 || q <= K) + throw $ + "," + K; + return C[$][K]; + }, ue.getModuleCount = function() { return q; - }, J.make = function() { - if (z < 1) { - for (var j = 1; j < 40; j++) { - for (var ee = k.getRSBlocks(j, C), te = $(), se = 0; se < Y.length; se++) { - var oe = Y[se]; - te.put(oe.getMode(), 4), te.put(oe.getLength(), w.getLengthInBits(oe.getMode(), j)), oe.write(te); + }, ue.make = function() { + if (U < 1) { + for (var $ = 1; $ < 40; $++) { + for (var K = k.getRSBlocks($, F), X = R(), ie = 0; ie < Y.length; ie++) { + var re = Y[ie]; + X.put(re.getMode(), 4), X.put(re.getLength(), w.getLengthInBits(re.getMode(), $)), re.write(X); } - var _e = 0; - for (se = 0; se < ee.length; se++) - _e += ee[se].dataCount; - if (te.getLengthInBits() <= 8 * _e) + var fe = 0; + for (ie = 0; ie < K.length; ie++) + fe += K[ie].dataCount; + if (X.getLengthInBits() <= 8 * fe) break; } - z = j; + U = $; } - ve(!1, function() { - for (var Ae = 0, Be = 0, ct = 0; ct < 8; ct += 1) { - ve(!0, ct); - var ze = w.getLostPoint(J); - (ct == 0 || Ae > ze) && (Ae = ze, Be = ct); + te(!1, function() { + for (var Ae = 0, Fe = 0, Xe = 0; Xe < 8; Xe += 1) { + te(!0, Xe); + var Ze = w.getLostPoint(ue); + (Xe == 0 || Ae > Ze) && (Ae = Ze, Fe = Xe); } - return Be; + return Fe; }()); - }, J.createTableTag = function(j, ee) { - j = j || 2; - var te = ""; - te += '
'; - te += " |
'; + X += " |
" + A.title + "
"); w.addClass("w-e-dp-title"), m.append(w); - var E = A.list || [], x = A.type || "list", k = A.clickHandler || g.EMPTY_FN, $ = h.default('<\/p>/gim, ""), P = P.replace(w.EMPTY_P_LAST_REGEX, ""), P = P.replace(w.EMPTY_P_REGEX, "
"); @@ -56548,86 +56558,86 @@ var i1 = { exports: {} }; T.match(/\/>/) || (P = P.replace(T, T.substring(0, T.length - 1) + "/>")); }), P; } - k = (0, p.default)(k).call(k), k === "" && (k = w.EMPTY_P), (0, h.default)(k).call(k, "<") !== 0 && (k = "
" + k + "
"), M.html(k), $.initSelection(); + k = (0, p.default)(k).call(k), k === "" && (k = w.EMPTY_P), (0, h.default)(k).call(k, "<") !== 0 && (k = "" + k + "
"), M.html(k), R.initSelection(); }, x.prototype.setJSON = function(k) { - var $ = m.default(k).children(), M = this.editor, P = M.$textElem; - !$ || P.replaceChildAll($); + var R = m.default(k).children(), M = this.editor, P = M.$textElem; + !R || P.replaceChildAll(R); }, x.prototype.getJSON = function() { - var k = this.editor, $ = k.$textElem; - return y.default($); + var k = this.editor, R = k.$textElem; + return y.default(R); }, x.prototype.text = function(k) { - var $ = this.editor, M = $.$textElem; + var R = this.editor, M = R.$textElem; if (k == null) { var P = M.text(); return P = P.replace(/\u200b/gm, ""), P; } - M.text("" + k + "
"), $.initSelection(); + M.text("" + k + "
"), R.initSelection(); }, x.prototype.append = function(k) { - var $ = this.editor; - (0, h.default)(k).call(k, "<") !== 0 && (k = "" + k + "
"), this.html(this.html() + k), $.initSelection(); + var R = this.editor; + (0, h.default)(k).call(k, "<") !== 0 && (k = "" + k + "
"), this.html(this.html() + k), R.initSelection(); }, x.prototype._saveRange = function() { - var k = this.editor, $ = k.$textElem, M = S.default(document); + var k = this.editor, R = k.$textElem, M = S.default(document); function P() { k.selection.saveRange(), k.menus.changeActive(); } - $.on("keyup", P); + R.on("keyup", P); function B() { - P(), $.off("click", B); + P(), R.off("click", B); } - $.on("click", B); + R.on("click", B); function T() { P(), M.off("mouseup", T); } function D() { - M.on("mouseup", T), $.off("mouseleave", D); + M.on("mouseup", T), R.off("mouseleave", D); } - $.on("mousedown", function() { - $.on("mouseleave", D); - }), $.on("mouseup", function(V) { - $.off("mouseleave", D), (0, g.default)(function() { - var K = k.selection, G = K.getRange(); + R.on("mousedown", function() { + R.on("mouseleave", D); + }), R.on("mouseup", function(V) { + R.off("mouseleave", D), (0, g.default)(function() { + var W = k.selection, G = W.getRange(); G !== null && P(); }, 0); }); }, x.prototype._bindEventHooks = function() { - var k = this.editor, $ = k.$textElem, M = this.eventHooks; - $.on("click", function(B) { + var k = this.editor, R = k.$textElem, M = this.eventHooks; + R.on("click", function(B) { var T = M.clickEvents; (0, d.default)(T).call(T, function(D) { return D(B); }); - }), $.on("keyup", function(B) { + }), R.on("keyup", function(B) { if (B.keyCode === 13) { var T = M.enterUpEvents; (0, d.default)(T).call(T, function(D) { return D(B); }); } - }), $.on("keyup", function(B) { + }), R.on("keyup", function(B) { var T = M.keyupEvents; (0, d.default)(T).call(T, function(D) { return D(B); }); - }), $.on("keydown", function(B) { + }), R.on("keydown", function(B) { var T = M.keydownEvents; (0, d.default)(T).call(T, function(D) { return D(B); }); - }), $.on("keyup", function(B) { + }), R.on("keyup", function(B) { if (!(B.keyCode !== 8 && B.keyCode !== 46)) { var T = M.deleteUpEvents; (0, d.default)(T).call(T, function(D) { return D(B); }); } - }), $.on("keydown", function(B) { + }), R.on("keydown", function(B) { if (!(B.keyCode !== 8 && B.keyCode !== 46)) { var T = M.deleteDownEvents; (0, d.default)(T).call(T, function(D) { return D(B); }); } - }), $.on("paste", function(B) { + }), R.on("paste", function(B) { if (!A.UA.isIE()) { B.preventDefault(); var T = M.pasteEvents; @@ -56635,9 +56645,9 @@ var i1 = { exports: {} }; return D(B); }); } - }), $.on("keydown", function(B) { + }), R.on("keydown", function(B) { (k.isFocus || k.isCompatibleMode) && (B.ctrlKey || B.metaKey) && B.keyCode === 90 && (B.preventDefault(), B.shiftKey ? k.history.restore() : k.history.revoke()); - }), $.on("keyup", function(B) { + }), R.on("keyup", function(B) { if (B.keyCode === 9) { B.preventDefault(); var T = M.tabUpEvents; @@ -56645,7 +56655,7 @@ var i1 = { exports: {} }; return D(B); }); } - }), $.on("keydown", function(B) { + }), R.on("keydown", function(B) { if (B.keyCode === 9) { B.preventDefault(); var T = M.tabDownEvents; @@ -56653,7 +56663,7 @@ var i1 = { exports: {} }; return D(B); }); } - }), $.on( + }), R.on( "scroll", A.throttle(function(B) { var T = M.textScrollEvents; @@ -56667,54 +56677,54 @@ var i1 = { exports: {} }; } S.default(document).on("dragleave", P).on("drop", P).on("dragenter", P).on("dragover", P), k.beforeDestroy(function() { S.default(document).off("dragleave", P).off("drop", P).off("dragenter", P).off("dragover", P); - }), $.on("drop", function(B) { + }), R.on("drop", function(B) { B.preventDefault(); var T = M.dropEvents; (0, d.default)(T).call(T, function(D) { return D(B); }); - }), $.on("click", function(B) { + }), R.on("click", function(B) { var T = null, D = B.target, V = S.default(D); if (V.getNodeName() === "A") T = V; else { - var K = V.parentUntil("a"); - K != null && (T = K); + var W = V.parentUntil("a"); + W != null && (T = W); } if (!!T) { var G = M.linkClickEvents; - (0, d.default)(G).call(G, function(R) { - return R(T); + (0, d.default)(G).call(G, function(I) { + return I(T); }); } - }), $.on("click", function(B) { + }), R.on("click", function(B) { var T = null, D = B.target, V = S.default(D); if (V.getNodeName() === "IMG" && !V.elems[0].getAttribute("data-emoji") && (B.stopPropagation(), T = V), !!T) { - var K = M.imgClickEvents; - (0, d.default)(K).call(K, function(G) { + var W = M.imgClickEvents; + (0, d.default)(W).call(W, function(G) { return G(T); }); } - }), $.on("click", function(B) { + }), R.on("click", function(B) { var T = null, D = B.target, V = S.default(D); if (V.getNodeName() === "PRE") T = V; else { - var K = V.parentUntil("pre"); - K !== null && (T = K); + var W = V.parentUntil("pre"); + W !== null && (T = W); } if (!!T) { var G = M.codeClickEvents; - (0, d.default)(G).call(G, function(R) { - return R(T); + (0, d.default)(G).call(G, function(I) { + return I(T); }); } - }), $.on("click", function(B) { + }), R.on("click", function(B) { var T = null, D = B.target, V = S.default(D); if (V.getNodeName() === "HR" && (T = V), !!T) { k.selection.createRangeByElem(T), k.selection.restoreSelection(); - var K = M.splitLineEvents; - (0, d.default)(K).call(K, function(G) { + var W = M.splitLineEvents; + (0, d.default)(W).call(W, function(G) { return G(T); }); } @@ -56727,30 +56737,30 @@ var i1 = { exports: {} }; var T = B.target, D = S.default(T); if (D.hasClass("w-e-img-drag-rb")) { var V = M.imgDragBarMouseDownEvents; - (0, d.default)(V).call(V, function(K) { - return K(); + (0, d.default)(V).call(V, function(W) { + return W(); }); } - }), $.on("click", function(B) { + }), R.on("click", function(B) { var T = null, D = B.target; if (T = S.default(D).parentUntilEditor("TABLE", k, D), !!T) { var V = M.tableClickEvents; - (0, d.default)(V).call(V, function(K) { - return K(T, B); + (0, d.default)(V).call(V, function(W) { + return W(T, B); }); } - }), $.on("keydown", function(B) { + }), R.on("keydown", function(B) { if (B.keyCode === 13) { var T = M.enterDownEvents; (0, d.default)(T).call(T, function(D) { return D(B); }); } - }), $.on("click", function(B) { + }), R.on("click", function(B) { var T = null, D = B.target, V = S.default(D); if (V.getNodeName() === "VIDEO" && (B.stopPropagation(), T = V), !!T) { - var K = M.videoClickEvents; - (0, d.default)(K).call(K, function(G) { + var W = M.videoClickEvents; + (0, d.default)(W).call(W, function(G) { return G(T); }); } @@ -56831,8 +56841,8 @@ var i1 = { exports: {} }; var p = n(2), h = n(7), g = p.__importDefault(n(3)); function _(b, A, y) { function m() { - var E = b.$textElem, x = b.$textElem.html(), k = b.$textElem.text(), $ = (0, u.default)(x).call(x), M = ["` + m.i18next.t("menus.dropListMenu.justify.\u4E24\u7AEF") + ` -
`), value: "justify" }], clickHandler: function($) { - w.command($); + `), value: "justify" }], clickHandler: function(R) { + w.command(R); } }; return w = A.call(this, E, m, x) || this, w; } @@ -57822,10 +57832,10 @@ var i1 = { exports: {} }; var k = w.selection.getSelectionRangeTopNodes(); if (x != null && x.length) if (this.isSpecialNode(x, k[0]) || this.isSpecialTopNode(k[0])) { - var $ = this.getSpecialNodeUntilTop(x, k[0]); - if ($ == null) + var R = this.getSpecialNodeUntilTop(x, k[0]); + if (R == null) return; - g.default($).css("text-align", m); + g.default(R).css("text-align", m); } else (0, u.default)(k).call(k, function(M) { M.css("text-align", m); @@ -57860,25 +57870,25 @@ var i1 = { exports: {} }; return w = A.call(this, E, m) || this, g.default(m), w; } return y.prototype.clickHandler = function() { - var m, w, E = this.editor, x = E.selection.isSelectionEmpty(), k = E.selection.getSelectionRangeTopNodes(), $ = k[k.length - 1], M = this.getTopNodeName(); + var m, w, E = this.editor, x = E.selection.isSelectionEmpty(), k = E.selection.getSelectionRangeTopNodes(), R = k[k.length - 1], M = this.getTopNodeName(); if (M === "BLOCKQUOTE") { - var P = p.default($.childNodes()), B = P.length, T = $; + var P = p.default(R.childNodes()), B = P.length, T = R; (0, u.default)(P).call(P, function(G) { - var R = p.default(G); - R.insertAfter(T), T = R; - }), $.remove(), E.selection.moveCursor(P.elems[B - 1]), this.tryChangeActive(); + var I = p.default(G); + I.insertAfter(T), T = I; + }), R.remove(), E.selection.moveCursor(P.elems[B - 1]), this.tryChangeActive(); } else { var D = _.default(k); - if (E.$textElem.equal($)) { + if (E.$textElem.equal(R)) { var V = (m = E.selection.getSelectionContainerElem()) === null || m === void 0 ? void 0 : m.elems[0]; - E.selection.createRangeByElems(V.children[0], V.children[0]), k = E.selection.getSelectionRangeTopNodes(), D = _.default(k), $.append(D); + E.selection.createRangeByElems(V.children[0], V.children[0]), k = E.selection.getSelectionRangeTopNodes(), D = _.default(k), R.append(D); } else - D.insertAfter($); + D.insertAfter(R); this.delSelectNode(k); - var K = (w = D.childNodes()) === null || w === void 0 ? void 0 : w.last().getNode(); - if (K == null) + var W = (w = D.childNodes()) === null || w === void 0 ? void 0 : w.last().getNode(); + if (W == null) return; - K.textContent ? E.selection.moveCursor(K) : E.selection.moveCursor(K, 0), this.tryChangeActive(), p.default(S.EMPTY_P).insertAfter(D); + W.textContent ? E.selection.moveCursor(W) : E.selection.moveCursor(W, 0), this.tryChangeActive(), p.default(S.EMPTY_P).insertAfter(D); return; } x && (E.selection.collapseRange(), E.selection.restoreSelection()); @@ -57953,9 +57963,9 @@ var i1 = { exports: {} }; return b.prototype.command = function(A) { var y, m = this.editor, w = m.selection.isSelectionEmpty(), E = (y = m.selection.getSelectionContainerElem()) === null || y === void 0 ? void 0 : y.elems[0]; if (E != null) { - var x = (E == null ? void 0 : E.nodeName.toLowerCase()) !== "p", k = E == null ? void 0 : E.style.backgroundColor, $ = g.hexToRgb(A) === k; + var x = (E == null ? void 0 : E.nodeName.toLowerCase()) !== "p", k = E == null ? void 0 : E.style.backgroundColor, R = g.hexToRgb(A) === k; if (w) { - if (x && !$) { + if (x && !R) { var M = m.selection.getSelectionRangeTopNodes(); m.selection.createRangeByElem(M[0]), m.selection.moveCursor(M[0].elems[0]); } @@ -58028,7 +58038,7 @@ var i1 = { exports: {} }; var d = n(2), p = n(6), h = d.__importDefault(n(3)), g = d.__importDefault(n(341)), _ = n(7); function S(b, A) { var y = b.config, m = new g.default(b), w = p.getRandom("input-iframe"), E = p.getRandom("btn-ok"), x = p.getRandom("input-upload"), k = p.getRandom("btn-local-ok"); - function $(T) { + function R(T) { b.cmd.do("insertHTML", T + _.EMPTY_P), b.config.onlineVideoCallback(T); } function M(T) { @@ -58057,8 +58067,8 @@ var i1 = { exports: {} }; var D = h.default("#" + x), V = D.elems[0]; if (!V) return !0; - var K = V.files; - return K.length && m.uploadVideo(K), !0; + var W = V.files; + return W.length && m.uploadVideo(W), !0; } } ] }, { @@ -58078,9 +58088,9 @@ var i1 = { exports: {} }; `, events: [ { selector: "#" + E, type: "click", fn: function() { - var D, V = h.default("#" + w), K = (0, u.default)(D = V.val()).call(D); - if (!!K && !!M(K)) - return $(K), !0; + var D, V = h.default("#" + w), W = (0, u.default)(D = V.val()).call(D); + if (!!W && !!M(W)) + return R(W), !0; }, bindEnter: !0 } ] }], B = { @@ -58101,85 +58111,85 @@ var i1 = { exports: {} }; return w.prototype.uploadVideo = function(E) { var x = this; if (!!E.length) { - var k = this.editor, $ = k.config, M = "validate.", P = function(ce) { - return k.i18next.t(M + ce); - }, B = $.uploadVideoServer, T = $.uploadVideoMaxSize, D = T / 1024, V = $.uploadVideoName, K = $.uploadVideoParams, G = $.uploadVideoParamsWithUrl, R = $.uploadVideoHeaders, z = $.uploadVideoHooks, C = $.uploadVideoTimeout, F = $.withVideoCredentials, q = $.customUploadVideo, Z = $.uploadVideoAccept, Y = [], J = []; + var k = this.editor, R = k.config, M = "validate.", P = function(he) { + return k.i18next.t(M + he); + }, B = R.uploadVideoServer, T = R.uploadVideoMaxSize, D = T / 1024, V = R.uploadVideoName, W = R.uploadVideoParams, G = R.uploadVideoParamsWithUrl, I = R.uploadVideoHeaders, U = R.uploadVideoHooks, F = R.uploadVideoTimeout, C = R.withVideoCredentials, q = R.customUploadVideo, Z = R.uploadVideoAccept, Y = [], ue = []; if (_.arrForEach(E, function(we) { - var ce = we.name, Se = we.size / 1024 / 1024; - if (!(!ce || !Se)) { + var he = we.name, Se = we.size / 1024 / 1024; + if (!(!he || !Se)) { if (!(Z instanceof Array)) { - J.push("\u3010" + Z + "\u3011" + P("uploadVideoAccept \u4E0D\u662FArray")); + ue.push("\u3010" + Z + "\u3011" + P("uploadVideoAccept \u4E0D\u662FArray")); return; } - if (!(0, u.default)(Z).call(Z, function(I) { - return I === ce.split(".")[ce.split(".").length - 1]; + if (!(0, u.default)(Z).call(Z, function(xe) { + return xe === he.split(".")[he.split(".").length - 1]; })) { - J.push("\u3010" + ce + "\u3011" + P("\u4E0D\u662F\u89C6\u9891")); + ue.push("\u3010" + he + "\u3011" + P("\u4E0D\u662F\u89C6\u9891")); return; } if (D < Se) { - J.push("\u3010" + ce + "\u3011" + P("\u5927\u4E8E") + " " + D + "M"); + ue.push("\u3010" + he + "\u3011" + P("\u5927\u4E8E") + " " + D + "M"); return; } Y.push(we); } - }), J.length) { - $.customAlert(P("\u89C6\u9891\u9A8C\u8BC1\u672A\u901A\u8FC7") + `: -` + J.join(` + }), ue.length) { + R.customAlert(P("\u89C6\u9891\u9A8C\u8BC1\u672A\u901A\u8FC7") + `: +` + ue.join(` `), "warning"); return; } if (Y.length === 0) { - $.customAlert(P("\u4F20\u5165\u7684\u6587\u4EF6\u4E0D\u5408\u6CD5"), "warning"); + R.customAlert(P("\u4F20\u5165\u7684\u6587\u4EF6\u4E0D\u5408\u6CD5"), "warning"); return; } if (q && typeof q == "function") { - var ve; - q(Y, (0, d.default)(ve = this.insertVideo).call(ve, this)); + var te; + q(Y, (0, d.default)(te = this.insertVideo).call(te, this)); return; } var pe = new FormData(); - if ((0, p.default)(Y).call(Y, function(we, ce) { + if ((0, p.default)(Y).call(Y, function(we, he) { var Se = V || we.name; - Y.length > 1 && (Se = Se + (ce + 1)), pe.append(Se, we); + Y.length > 1 && (Se = Se + (he + 1)), pe.append(Se, we); }), B) { - var Te = B.split("#"); - B = Te[0]; - var ge = Te[1] || ""; - (0, p.default)(_).call(_, K, function(we, ce) { - G && ((0, h.default)(B).call(B, "?") > 0 ? B += "&" : B += "?", B = B + we + "=" + ce), pe.append(we, ce); + var ke = B.split("#"); + B = ke[0]; + var ge = ke[1] || ""; + (0, p.default)(_).call(_, W, function(we, he) { + G && ((0, h.default)(B).call(B, "?") > 0 ? B += "&" : B += "?", B = B + we + "=" + he), pe.append(we, he); }), ge && (B += "#" + ge); - var me = S.default(B, { timeout: C, formData: pe, headers: R, withCredentials: !!F, beforeSend: function(ce) { - if (z.before) - return z.before(ce, k, Y); - }, onTimeout: function(ce) { - $.customAlert(P("\u4E0A\u4F20\u89C6\u9891\u8D85\u65F6"), "error"), z.timeout && z.timeout(ce, k); - }, onProgress: function(ce, Se) { - var I = new b.default(k); - Se.lengthComputable && (ce = Se.loaded / Se.total, I.show(ce)); - }, onError: function(ce) { - $.customAlert(P("\u4E0A\u4F20\u89C6\u9891\u9519\u8BEF"), "error", P("\u4E0A\u4F20\u89C6\u9891\u9519\u8BEF") + "\uFF0C" + P("\u670D\u52A1\u5668\u8FD4\u56DE\u72B6\u6001") + ": " + ce.status), z.error && z.error(ce, k); - }, onFail: function(ce, Se) { - $.customAlert(P("\u4E0A\u4F20\u89C6\u9891\u5931\u8D25"), "error", P("\u4E0A\u4F20\u89C6\u9891\u8FD4\u56DE\u7ED3\u679C\u9519\u8BEF") + ("\uFF0C" + P("\u8FD4\u56DE\u7ED3\u679C") + ": ") + Se), z.fail && z.fail(ce, k, Se); - }, onSuccess: function(ce, Se) { - if (z.customInsert) { - var I; - z.customInsert((0, d.default)(I = x.insertVideo).call(I, x), Se, k); + var ve = S.default(B, { timeout: F, formData: pe, headers: I, withCredentials: !!C, beforeSend: function(he) { + if (U.before) + return U.before(he, k, Y); + }, onTimeout: function(he) { + R.customAlert(P("\u4E0A\u4F20\u89C6\u9891\u8D85\u65F6"), "error"), U.timeout && U.timeout(he, k); + }, onProgress: function(he, Se) { + var xe = new b.default(k); + Se.lengthComputable && (he = Se.loaded / Se.total, xe.show(he)); + }, onError: function(he) { + R.customAlert(P("\u4E0A\u4F20\u89C6\u9891\u9519\u8BEF"), "error", P("\u4E0A\u4F20\u89C6\u9891\u9519\u8BEF") + "\uFF0C" + P("\u670D\u52A1\u5668\u8FD4\u56DE\u72B6\u6001") + ": " + he.status), U.error && U.error(he, k); + }, onFail: function(he, Se) { + R.customAlert(P("\u4E0A\u4F20\u89C6\u9891\u5931\u8D25"), "error", P("\u4E0A\u4F20\u89C6\u9891\u8FD4\u56DE\u7ED3\u679C\u9519\u8BEF") + ("\uFF0C" + P("\u8FD4\u56DE\u7ED3\u679C") + ": ") + Se), U.fail && U.fail(he, k, Se); + }, onSuccess: function(he, Se) { + if (U.customInsert) { + var xe; + U.customInsert((0, d.default)(xe = x.insertVideo).call(xe, x), Se, k); return; } if (Se.errno != "0") { - $.customAlert(P("\u4E0A\u4F20\u89C6\u9891\u5931\u8D25"), "error", P("\u4E0A\u4F20\u89C6\u9891\u8FD4\u56DE\u7ED3\u679C\u9519\u8BEF") + "\uFF0C" + P("\u8FD4\u56DE\u7ED3\u679C") + " errno=" + Se.errno), z.fail && z.fail(ce, k, Se); + R.customAlert(P("\u4E0A\u4F20\u89C6\u9891\u5931\u8D25"), "error", P("\u4E0A\u4F20\u89C6\u9891\u8FD4\u56DE\u7ED3\u679C\u9519\u8BEF") + "\uFF0C" + P("\u8FD4\u56DE\u7ED3\u679C") + " errno=" + Se.errno), U.fail && U.fail(he, k, Se); return; } - var j = Se.data; - x.insertVideo(j.url), z.success && z.success(ce, k, Se); + var $ = Se.data; + x.insertVideo($.url), U.success && U.success(he, k, Se); } }); - typeof me == "string" && $.customAlert(me, "error"); + typeof ve == "string" && R.customAlert(ve, "error"); } } }, w.prototype.insertVideo = function(E) { - var x = this.editor, k = x.config, $ = "validate.", M = function(T, D) { - return D === void 0 && (D = $), x.i18next.t(D + T); + var x = this.editor, k = x.config, R = "validate.", M = function(T, D) { + return D === void 0 && (D = R), x.i18next.t(D + T); }; if (!k.customInsertVideo) y.UA.isFirefox ? x.cmd.do("insertHTML", '
') : x.cmd.do("insertHTML", '' + A.EMPTY_P); @@ -58229,22 +58239,22 @@ var i1 = { exports: {} }; return x === void 0 && (x = ""), S.i18next.t(x + E); }; function y(w) { - var E = [{ $elem: d.default(""), onClick: function(k, $) { - return $.remove(), !0; - } }, { $elem: d.default("100%"), onClick: function(k, $) { - return $.attr("width", "100%"), $.removeAttr("height"), !0; - } }, { $elem: d.default("50%"), onClick: function(k, $) { - return $.attr("width", "50%"), $.removeAttr("height"), !0; - } }, { $elem: d.default("30%"), onClick: function(k, $) { - return $.attr("width", "30%"), $.removeAttr("height"), !0; - } }, { $elem: d.default("" + A("\u91CD\u7F6E") + ""), onClick: function(k, $) { - return $.removeAttr("width"), $.removeAttr("height"), !0; - } }, { $elem: d.default("" + A("menus.justify.\u9760\u5DE6") + ""), onClick: function(k, $) { - return h.default($, "left"), !0; - } }, { $elem: d.default("" + A("menus.justify.\u5C45\u4E2D") + ""), onClick: function(k, $) { - return h.default($, "center"), !0; - } }, { $elem: d.default("" + A("menus.justify.\u9760\u53F3") + ""), onClick: function(k, $) { - return h.default($, "right"), !0; + var E = [{ $elem: d.default(""), onClick: function(k, R) { + return R.remove(), !0; + } }, { $elem: d.default("100%"), onClick: function(k, R) { + return R.attr("width", "100%"), R.removeAttr("height"), !0; + } }, { $elem: d.default("50%"), onClick: function(k, R) { + return R.attr("width", "50%"), R.removeAttr("height"), !0; + } }, { $elem: d.default("30%"), onClick: function(k, R) { + return R.attr("width", "30%"), R.removeAttr("height"), !0; + } }, { $elem: d.default("" + A("\u91CD\u7F6E") + ""), onClick: function(k, R) { + return R.removeAttr("width"), R.removeAttr("height"), !0; + } }, { $elem: d.default("" + A("menus.justify.\u9760\u5DE6") + ""), onClick: function(k, R) { + return h.default(R, "left"), !0; + } }, { $elem: d.default("" + A("menus.justify.\u5C45\u4E2D") + ""), onClick: function(k, R) { + return h.default(R, "center"), !0; + } }, { $elem: d.default("" + A("menus.justify.\u9760\u53F3") + ""), onClick: function(k, R) { + return h.default(R, "right"), !0; } }]; b = new p.default(S, w, E), b.create(); } @@ -58303,8 +58313,8 @@ var i1 = { exports: {} }; function m(w) { var E = this, x = h.default(' '), k = b.default(w); if (k.onlyUploadConf) { - var $; - x = k.onlyUploadConf.$elem, (0, u.default)($ = k.onlyUploadConf.events).call($, function(M) { + var R; + x = k.onlyUploadConf.$elem, (0, u.default)(R = k.onlyUploadConf.events).call(R, function(M) { var P = M.type, B = M.fn || p.EMPTY_FN; x.on(P, function(T) { T.stopPropagation(), B(T); @@ -58396,8 +58406,8 @@ var i1 = { exports: {} }; return E.hide(), w.append(E), E; } function b(m, w, E) { - var x = m.getBoundingClientRect(), k = E.getBoundingClientRect(), $ = k.width.toFixed(2), M = k.height.toFixed(2); - (0, u.default)(w).call(w, ".w-e-img-drag-show-size").text($ + "px * " + M + "px"), _(w, (0, d.default)($), (0, d.default)(M), k.left - x.left, k.top - x.top), w.show(); + var x = m.getBoundingClientRect(), k = E.getBoundingClientRect(), R = k.width.toFixed(2), M = k.height.toFixed(2); + (0, u.default)(w).call(w, ".w-e-img-drag-show-size").text(R + "px * " + M + "px"), _(w, (0, d.default)(R), (0, d.default)(M), k.left - x.left, k.top - x.top), w.show(); } function A(m) { var w = m.$textContainerElem, E, x = S(m, w); @@ -58407,23 +58417,23 @@ var i1 = { exports: {} }; }), P.on("mousedown", ".w-e-img-drag-rb", function(T) { if (T.preventDefault(), !E) return; - var D = T.clientX, V = T.clientY, K = B.getBoundingClientRect(), G = E.getBoundingClientRect(), R = G.width, z = G.height, C = G.left - K.left, F = G.top - K.top, q = R / z, Z = R, Y = z, J = h.default(document); - function ve() { - J.off("mousemove", pe), J.off("mouseup", Te); + var D = T.clientX, V = T.clientY, W = B.getBoundingClientRect(), G = E.getBoundingClientRect(), I = G.width, U = G.height, F = G.left - W.left, C = G.top - W.top, q = I / U, Z = I, Y = U, ue = h.default(document); + function te() { + ue.off("mousemove", pe), ue.off("mouseup", ke); } function pe(ge) { - ge.stopPropagation(), ge.preventDefault(), Z = R + (ge.clientX - D), Y = z + (ge.clientY - V), Z / Y != q && (Y = Z / q), Z = (0, d.default)(Z.toFixed(2)), Y = (0, d.default)(Y.toFixed(2)), (0, u.default)(P).call(P, ".w-e-img-drag-show-size").text(Z.toFixed(2).replace(".00", "") + "px * " + Y.toFixed(2).replace(".00", "") + "px"), _(P, Z, Y, C, F); + ge.stopPropagation(), ge.preventDefault(), Z = I + (ge.clientX - D), Y = U + (ge.clientY - V), Z / Y != q && (Y = Z / q), Z = (0, d.default)(Z.toFixed(2)), Y = (0, d.default)(Y.toFixed(2)), (0, u.default)(P).call(P, ".w-e-img-drag-show-size").text(Z.toFixed(2).replace(".00", "") + "px * " + Y.toFixed(2).replace(".00", "") + "px"), _(P, Z, Y, F, C); } - J.on("mousemove", pe); - function Te() { + ue.on("mousemove", pe); + function ke() { E.attr("width", Z + ""), E.attr("height", Y + ""); var ge = E.getBoundingClientRect(); - _(P, Z, Y, ge.left - K.left, ge.top - K.top), ve(); + _(P, Z, Y, ge.left - W.left, ge.top - W.top), te(); } - J.on("mouseup", Te), J.on("mouseleave", ve); + ue.on("mouseup", ke), ue.on("mouseleave", te); }); } - function $(P) { + function R(P) { if (g.UA.isIE()) return !1; P && (E = P, b(w, x, E)); @@ -58433,7 +58443,7 @@ var i1 = { exports: {} }; } return k(x, w), h.default(document).on("click", M), m.beforeDestroy(function() { h.default(document).off("click", M); - }), { showDrag: $, hideDrag: M }; + }), { showDrag: R, hideDrag: M }; } r.createShowHideFn = A; function y(m) { @@ -58521,8 +58531,8 @@ var i1 = { exports: {} }; w.push({ $elem: d.default("" + b("\u91CD\u7F6E") + ""), onClick: function(x, k) { return k.removeAttr("width"), k.removeAttr("height"), !0; } }), m.attr("data-href") && w.push({ $elem: d.default("" + b("\u67E5\u770B\u94FE\u63A5") + ""), onClick: function(x, k) { - var $ = k.attr("data-href"); - return $ && ($ = decodeURIComponent($), window.open($, "_target")), !0; + var R = k.attr("data-href"); + return R && (R = decodeURIComponent(R), window.open(R, "_target")), !0; } }), S = new p.default(_, m, w), S.create(); } function y() { @@ -58569,16 +58579,16 @@ var i1 = { exports: {} }; (0, s.default)(r, "__esModule", { value: !0 }); var p = n(2), h = p.__importDefault(n(3)), g = n(6), _ = p.__importDefault(n(97)); function S(b) { - var A, y = b.config, m = new _.default(b), w = g.getRandom("up-trigger-id"), E = g.getRandom("up-file-id"), x = g.getRandom("input-link-url"), k = g.getRandom("input-link-url-alt"), $ = g.getRandom("input-link-url-href"), M = g.getRandom("btn-link"), P = "menus.panelMenus.image.", B = function(q, Z) { + var A, y = b.config, m = new _.default(b), w = g.getRandom("up-trigger-id"), E = g.getRandom("up-file-id"), x = g.getRandom("input-link-url"), k = g.getRandom("input-link-url-alt"), R = g.getRandom("input-link-url-href"), M = g.getRandom("btn-link"), P = "menus.panelMenus.image.", B = function(q, Z) { return Z === void 0 && (Z = P), b.i18next.t(Z + q); }; - function T(F, q, Z) { - var Y = y.linkImgCheck(F); + function T(C, q, Z) { + var Y = y.linkImgCheck(C); return Y === !0 ? !0 : (typeof Y == "string" && y.customAlert(Y, "error"), !1); } - var D = y.uploadImgMaxLength === 1 ? "" : 'multiple="multiple"', V = (0, u.default)(A = y.uploadImgAccept).call(A, function(F) { - return "image/" + F; - }).join(","), K = function(q, Z, Y) { + var D = y.uploadImgMaxLength === 1 ? "" : 'multiple="multiple"', V = (0, u.default)(A = y.uploadImgAccept).call(A, function(C) { + return "image/" + C; + }).join(","), W = function(q, Z, Y) { return '/g); + function x(R) { + var M = R.match(/`, events: [ { selector: "#" + k, type: "click", fn: function() { - var R, z, C, F, q, Z = y.selection.getSelectionContainerElem(), Y = Z == null ? void 0 : Z.elems[0]; + var I, U, F, C, q, Z = y.selection.getSelectionContainerElem(), Y = Z == null ? void 0 : Z.elems[0]; y.selection.restoreSelection(); - var J = y.selection.getSelectionRangeTopNodes()[0].getNode(), ve = window.getSelection(), pe = _.default("#" + E), Te = _.default("#" + x), ge = (0, d.default)(R = pe.val()).call(R), me = (0, d.default)(z = Te.val()).call(z), we = ""; - ve && !(ve != null && ve.isCollapsed) && (we = (F = b.insertHtml(ve, J)) === null || F === void 0 ? void 0 : (0, d.default)(F).call(F)); - var ce = we == null ? void 0 : we.replace(/<.*?>/g, ""), Se = (q = ce == null ? void 0 : ce.length) !== null && q !== void 0 ? q : 0; - if (Se <= me.length) { - var I = me.substring(0, Se), j = me.substring(Se); - ce === I && (me = ce + j); + var ue = y.selection.getSelectionRangeTopNodes()[0].getNode(), te = window.getSelection(), pe = _.default("#" + E), ke = _.default("#" + x), ge = (0, d.default)(I = pe.val()).call(I), ve = (0, d.default)(U = ke.val()).call(U), we = ""; + te && !(te != null && te.isCollapsed) && (we = (C = b.insertHtml(te, ue)) === null || C === void 0 ? void 0 : (0, d.default)(C).call(C)); + var he = we == null ? void 0 : we.replace(/<.*?>/g, ""), Se = (q = he == null ? void 0 : he.length) !== null && q !== void 0 ? q : 0; + if (Se <= ve.length) { + var xe = ve.substring(0, Se), $ = ve.substring(Se); + he === xe && (ve = he + $); } - if (!!ge && (me || (me = ge), !!V(me, ge))) { + if (!!ge && (ve || (ve = ge), !!V(ve, ge))) { if ((Y == null ? void 0 : Y.nodeName) === "A") - return Y.setAttribute("href", ge), Y.innerText = me, !0; - if ((Y == null ? void 0 : Y.nodeName) !== "A" && (0, u.default)(C = S.EXTRA_TAG).call(C, Y.nodeName)) { - var ee = S.getParentNodeA(Z); - if (ee) - return ee.setAttribute("href", ge), Y.innerText = me, !0; + return Y.setAttribute("href", ge), Y.innerText = ve, !0; + if ((Y == null ? void 0 : Y.nodeName) !== "A" && (0, u.default)(F = S.EXTRA_TAG).call(F, Y.nodeName)) { + var K = S.getParentNodeA(Z); + if (K) + return K.setAttribute("href", ge), Y.innerText = ve, !0; } - return T(me, ge), !0; + return T(ve, ge), !0; } }, bindEnter: !0 }, - { selector: "#" + $, type: "click", fn: function() { + { selector: "#" + R, type: "click", fn: function() { return D(), !0; } } ] }], - setLinkValue: function(R, z) { - var C = "", F = "", q; - z === "text" && (C = "#" + x, F = m), z === "link" && (C = "#" + E, F = w), q = (0, p.default)(R).call(R, C).elems[0], q.value = F; + setLinkValue: function(I, U) { + var F = "", C = "", q; + U === "text" && (F = "#" + x, C = m), U === "link" && (F = "#" + E, C = w), q = (0, p.default)(I).call(I, F).elems[0], q.value = C; } }; - return K; + return W; } r.default = A; }, function(i, r, n) { @@ -57575,25 +57585,25 @@ var i1 = { exports: {} }; } r.createPartHtml = h; function g(b, A) { - var y, m, w, E, x, k = b.anchorNode, $ = b.focusNode, M = b.anchorOffset, P = b.focusOffset, B = (y = A.textContent) !== null && y !== void 0 ? y : "", T = _(A), D = "", V = "", K = "", G = "", R = k, z = $, C = k; - if (k != null && k.isEqualNode($ != null ? $ : null)) { - var F = h(B, k, M, P); - return F = S(T, F), F; + var y, m, w, E, x, k = b.anchorNode, R = b.focusNode, M = b.anchorOffset, P = b.focusOffset, B = (y = A.textContent) !== null && y !== void 0 ? y : "", T = _(A), D = "", V = "", W = "", G = "", I = k, U = R, F = k; + if (k != null && k.isEqualNode(R != null ? R : null)) { + var C = h(B, k, M, P); + return C = S(T, C), C; } - for (k && (V = h(B, k, M != null ? M : 0)), $ && (G = h(B, $, 0, P)), k && (R = d(k, B)), $ && (z = d($, B)), C = (m = R == null ? void 0 : R.nextSibling) !== null && m !== void 0 ? m : k; !(C != null && C.isEqualNode(z != null ? z : null)); ) { - var q = C == null ? void 0 : C.nodeName; + for (k && (V = h(B, k, M != null ? M : 0)), R && (G = h(B, R, 0, P)), k && (I = d(k, B)), R && (U = d(R, B)), F = (m = I == null ? void 0 : I.nextSibling) !== null && m !== void 0 ? m : k; !(F != null && F.isEqualNode(U != null ? U : null)); ) { + var q = F == null ? void 0 : F.nodeName; if (q === "#text") - K = K + (C == null ? void 0 : C.textContent); + W = W + (F == null ? void 0 : F.textContent); else { - var Z = (E = (w = C == null ? void 0 : C.firstChild) === null || w === void 0 ? void 0 : w.parentElement) === null || E === void 0 ? void 0 : E.innerHTML; - C && (K = K + p(C, Z != null ? Z : "")); + var Z = (E = (w = F == null ? void 0 : F.firstChild) === null || w === void 0 ? void 0 : w.parentElement) === null || E === void 0 ? void 0 : E.innerHTML; + F && (W = W + p(F, Z != null ? Z : "")); } - var Y = (x = C == null ? void 0 : C.nextSibling) !== null && x !== void 0 ? x : C; - if (Y === C) + var Y = (x = F == null ? void 0 : F.nextSibling) !== null && x !== void 0 ? x : F; + if (Y === F) break; - C = Y; + F = Y; } - return D = "" + V + K + G, D = S(T, D), D; + return D = "" + V + W + G, D = S(T, D), D; } r.insertHtml = g; function _(b) { @@ -57621,21 +57631,21 @@ var i1 = { exports: {} }; function _(b) { var A; function y(w) { - var E = [{ $elem: p.default("/g); return M === null || (0, u.default)(M).call(M, function(P) { - $ = $.replace(P, P.replace(/<\/code>/g, ` + R = R.replace(P, P.replace(/<\/code>
/g, ` `).replace(/
/g, "")); - }), $; + }), R; } - function k($) { - var M, P = $.match(//gm); + function k(R) { + var M, P = R.match(//gm); if (!P || !P.length) - return $; + return R; for (var B = (0, u.default)(M = g.deepClone(P)).call(M, function(D) { return D = D.replace(/]+>/, ""), D.replace(/<\/span>/, ""); }), T = 0; T < P.length; T++) - $ = $.replace(P[T], B[T]); - return k($); + R = R.replace(P[T], B[T]); + return k(R); } } r.formatCodeHtml = y; var m = function(w) { d.__extends(E, w); function E(x) { - var k = this, $ = h.default('" + x + "
"); - k.cmd.do("insertElem", $), k.selection.createRangeByElem($, !1), k.selection.restoreSelection(); + var k = this.editor, R = h.default("" + x + "
"); + k.cmd.do("insertElem", R), k.selection.createRangeByElem(R, !1), k.selection.restoreSelection(); }, E.prototype.clickHandler = function() { var x = this.editor, k = x.selection.getSelectionText(); this.isActive || (x.selection.isSelectionEmpty() ? this.createPanel("", "") : this.insertLineCode(k)); }, E.prototype.createPanel = function(x, k) { - var $ = _.default(this.editor, x, k), M = new b.default(this, $); + var R = _.default(this.editor, x, k), M = new b.default(this, R); M.create(); }, E.prototype.tryChangeActive = function() { var x = this.editor; @@ -59578,15 +59588,15 @@ var i1 = { exports: {} }; var m, w = p.getRandom("input-iframe"), E = p.getRandom("select"), x = p.getRandom("btn-ok"); function k(B, T) { var D, V = g.default(b); - V && $(); - var K = (D = b.selection.getSelectionStartElem()) === null || D === void 0 ? void 0 : D.elems[0].innerHTML; - K && b.cmd.do("insertHTML", _.EMPTY_P); + V && R(); + var W = (D = b.selection.getSelectionStartElem()) === null || D === void 0 ? void 0 : D.elems[0].innerHTML; + W && b.cmd.do("insertHTML", _.EMPTY_P); var G = T.replace(//g, ">"); b.highlight && (G = b.highlight.highlightAuto(G).value), b.cmd.do("insertHTML", '"); - var R = b.selection.getSelectionStartElem(), z = R == null ? void 0 : R.getNodeTop(b); - (z == null ? void 0 : z.getNextSibling().elems.length) === 0 && h.default(_.EMPTY_P).insertAfter(z); + var I = b.selection.getSelectionStartElem(), U = I == null ? void 0 : I.getNodeTop(b); + (U == null ? void 0 : U.getNextSibling().elems.length) === 0 && h.default(_.EMPTY_P).insertAfter(U); } - function $() { + function R() { if (!!g.default(b)) { var B = b.selection.getSelectionStartElem(), T = B == null ? void 0 : B.getNodeTop(b); !T || (b.selection.createRangeByElem(T), b.selection.restoreSelection()); @@ -59612,9 +59622,9 @@ var i1 = { exports: {} }; `, events: [ { selector: "#" + x, type: "click", fn: function() { - var T = document.getElementById(w), D = h.default("#" + E), V = D.val(), K = T.value; - if (!!K) - return g.default(b) ? !1 : (k(V, K), !0); + var T = document.getElementById(w), D = h.default("#" + E), V = D.val(), W = T.value; + if (!!W) + return g.default(b) ? !1 : (k(V, W), !0); } } ] }] @@ -59637,10 +59647,10 @@ var i1 = { exports: {} }; function h(_) { var S; function b(y) { - var m = "menus.panelMenus.code.", w = function(k, $) { - return $ === void 0 && ($ = m), _.i18next.t($ + k); - }, E = [{ $elem: d.default("" + w("\u5220\u9664\u4EE3\u7801") + ""), onClick: function(k, $) { - return $.remove(), !0; + var m = "menus.panelMenus.code.", w = function(k, R) { + return R === void 0 && (R = m), _.i18next.t(R + k); + }, E = [{ $elem: d.default("" + w("\u5220\u9664\u4EE3\u7801") + ""), onClick: function(k, R) { + return R.remove(), !0; } }]; S = new p.default(_, y, E), S.create(); } @@ -59756,15 +59766,15 @@ var i1 = { exports: {} }; (0, u.default)(w).call(w, function(E) { var x, k = E == null ? void 0 : E.getNodeName(); if (k === "P") { - var $ = S.default(E), M = $.getTodo(), P = (x = M.children()) === null || x === void 0 ? void 0 : x.getNode(); + var R = S.default(E), M = R.getTodo(), P = (x = M.children()) === null || x === void 0 ? void 0 : x.getNode(); M.insertAfter(E), m.selection.moveCursor(P), E.remove(); } }), this.tryChangeActive(); }, y.prototype.cancelTodo = function() { var m = this.editor, w = m.selection.getSelectionRangeTopNodes(); (0, u.default)(w).call(w, function(E) { - var x, k, $, M = (k = (x = E.childNodes()) === null || x === void 0 ? void 0 : x.childNodes()) === null || k === void 0 ? void 0 : k.clone(!0), P = p.default(""); - P.append(M), P.insertAfter(E), ($ = P.childNodes()) === null || $ === void 0 || $.get(0).remove(), m.selection.moveCursor(P.getNode()), E.remove(); + var x, k, R, M = (k = (x = E.childNodes()) === null || x === void 0 ? void 0 : x.childNodes()) === null || k === void 0 ? void 0 : k.clone(!0), P = p.default(""); + P.append(M), P.insertAfter(E), (R = P.childNodes()) === null || R === void 0 || R.get(0).remove(), m.selection.moveCursor(P.getNode()), E.remove(); }); }, y; }(h.default); @@ -59795,50 +59805,50 @@ var i1 = { exports: {} }; var d = n(2), p = d.__importDefault(n(3)), h = n(98), g = d.__importDefault(n(140)), _ = n(98), S = n(7); function b(A) { function y(x) { - var k, $; + var k, R; if (h.isAllTodo(A)) { x.preventDefault(); - var M = A.selection, P = M.getSelectionRangeTopNodes()[0], B = (k = P.childNodes()) === null || k === void 0 ? void 0 : k.get(0), T = ($ = window.getSelection()) === null || $ === void 0 ? void 0 : $.anchorNode, D = M.getRange(); + var M = A.selection, P = M.getSelectionRangeTopNodes()[0], B = (k = P.childNodes()) === null || k === void 0 ? void 0 : k.get(0), T = (R = window.getSelection()) === null || R === void 0 ? void 0 : R.anchorNode, D = M.getRange(); if (!(D != null && D.collapsed)) { - var V = D == null ? void 0 : D.commonAncestorContainer.childNodes, K = D == null ? void 0 : D.startContainer, G = D == null ? void 0 : D.endContainer, R = D == null ? void 0 : D.startOffset, z = D == null ? void 0 : D.endOffset, C = 0, F = 0, q = []; - V == null || (0, u.default)(V).call(V, function(ce, Se) { - ce.contains(K) && (C = Se), ce.contains(G) && (F = Se); - }), F - C > 1 && (V == null || (0, u.default)(V).call(V, function(ce, Se) { - Se <= C || Se >= F || q.push(ce); - }), (0, u.default)(q).call(q, function(ce) { - ce.remove(); - })), _.dealTextNode(K, R), _.dealTextNode(G, z, !1), A.selection.moveCursor(G, 0); + var V = D == null ? void 0 : D.commonAncestorContainer.childNodes, W = D == null ? void 0 : D.startContainer, G = D == null ? void 0 : D.endContainer, I = D == null ? void 0 : D.startOffset, U = D == null ? void 0 : D.endOffset, F = 0, C = 0, q = []; + V == null || (0, u.default)(V).call(V, function(he, Se) { + he.contains(W) && (F = Se), he.contains(G) && (C = Se); + }), C - F > 1 && (V == null || (0, u.default)(V).call(V, function(he, Se) { + Se <= F || Se >= C || q.push(he); + }), (0, u.default)(q).call(q, function(he) { + he.remove(); + })), _.dealTextNode(W, I), _.dealTextNode(G, U, !1), A.selection.moveCursor(G, 0); } if (P.text() === "") { var Z = p.default(S.EMPTY_P); Z.insertAfter(P), M.moveCursor(Z.getNode()), P.remove(); return; } - var Y = M.getCursorPos(), J = h.getCursorNextNode(B == null ? void 0 : B.getNode(), T, Y), ve = g.default(p.default(J)), pe = ve.getInputContainer(), Te = pe.parent().getNode(), ge = ve.getTodo(), me = pe.getNode().nextSibling; - if ((B == null ? void 0 : B.text()) === "" && (B == null || B.append(p.default("' + G + "
"))), ge.insertAfter(P), !me || (me == null ? void 0 : me.textContent) === "") { - if ((me == null ? void 0 : me.nodeName) !== "BR") { + var Y = M.getCursorPos(), ue = h.getCursorNextNode(B == null ? void 0 : B.getNode(), T, Y), te = g.default(p.default(ue)), pe = te.getInputContainer(), ke = pe.parent().getNode(), ge = te.getTodo(), ve = pe.getNode().nextSibling; + if ((B == null ? void 0 : B.text()) === "" && (B == null || B.append(p.default("
"))), ge.insertAfter(P), !ve || (ve == null ? void 0 : ve.textContent) === "") { + if ((ve == null ? void 0 : ve.nodeName) !== "BR") { var we = p.default("
"); we.insertAfter(pe); } - M.moveCursor(Te, 1); + M.moveCursor(ke, 1); } else - M.moveCursor(Te); + M.moveCursor(ke); } } function m(x) { - var k, $; + var k, R; if (h.isAllTodo(A)) { - var M = A.selection, P = M.getSelectionRangeTopNodes()[0], B = (k = P.childNodes()) === null || k === void 0 ? void 0 : k.getNode(), T = p.default(""), D = T.getNode(), V = ($ = window.getSelection()) === null || $ === void 0 ? void 0 : $.anchorNode, K = M.getCursorPos(), G = V.previousSibling; + var M = A.selection, P = M.getSelectionRangeTopNodes()[0], B = (k = P.childNodes()) === null || k === void 0 ? void 0 : k.getNode(), T = p.default(""), D = T.getNode(), V = (R = window.getSelection()) === null || R === void 0 ? void 0 : R.anchorNode, W = M.getCursorPos(), G = V.previousSibling; if (P.text() === "") { x.preventDefault(); - var R = p.default(S.EMPTY_P); - R.insertAfter(P), P.remove(), M.moveCursor(R.getNode(), 0); + var I = p.default(S.EMPTY_P); + I.insertAfter(P), P.remove(), M.moveCursor(I.getNode(), 0); return; } - if ((G == null ? void 0 : G.nodeName) === "SPAN" && G.childNodes[0].nodeName === "INPUT" && K === 0) { - var z; - x.preventDefault(), B == null || (0, u.default)(z = B.childNodes).call(z, function(C, F) { - F !== 0 && D.appendChild(C.cloneNode(!0)); + if ((G == null ? void 0 : G.nodeName) === "SPAN" && G.childNodes[0].nodeName === "INPUT" && W === 0) { + var U; + x.preventDefault(), B == null || (0, u.default)(U = B.childNodes).call(U, function(F, C) { + C !== 0 && D.appendChild(F.cloneNode(!0)); }), T.insertAfter(P), P.remove(); } } @@ -59858,16 +59868,16 @@ var i1 = { exports: {} }; (0, s.default)(r, "__esModule", { value: !0 }), r.selectorValidator = void 0; var u = n(2), d = u.__importDefault(n(3)), p = n(6), h = n(7), g = u.__importDefault(n(130)), _ = { border: "1px solid #c9d8db", toolbarBgColor: "#FFF", toolbarBottomBorder: "1px solid #EEE" }; function S(A) { - var y = A.toolbarSelector, m = d.default(y), w = A.textSelector, E = A.config, x = E.height, k = A.i18next, $ = d.default(""), M = d.default(""), P, B, T = null; - w == null ? (B = m.children(), m.append($).append(M), $.css("background-color", _.toolbarBgColor).css("border", _.border).css("border-bottom", _.toolbarBottomBorder), M.css("border", _.border).css("border-top", "none").css("height", x + "px")) : (m.append($), T = d.default(w).children(), d.default(w).append(M), B = M.children()), P = d.default(""), P.attr("contenteditable", "true").css("width", "100%").css("height", "100%"); + var y = A.toolbarSelector, m = d.default(y), w = A.textSelector, E = A.config, x = E.height, k = A.i18next, R = d.default(""), M = d.default(""), P, B, T = null; + w == null ? (B = m.children(), m.append(R).append(M), R.css("background-color", _.toolbarBgColor).css("border", _.border).css("border-bottom", _.toolbarBottomBorder), M.css("border", _.border).css("border-top", "none").css("height", x + "px")) : (m.append(R), T = d.default(w).children(), d.default(w).append(M), B = M.children()), P = d.default(""), P.attr("contenteditable", "true").css("width", "100%").css("height", "100%"); var D, V = A.config.placeholder; - V !== g.default.placeholder ? D = d.default("" + V + "") : D = d.default("" + k.t(V) + ""), D.addClass("placeholder"), B && B.length ? (P.append(B), D.hide()) : P.append(d.default(h.EMPTY_P)), T && T.length && (P.append(T), D.hide()), M.append(P), M.append(D), $.addClass("w-e-toolbar").css("z-index", A.zIndex.get("toolbar")), M.addClass("w-e-text-container"), M.css("z-index", A.zIndex.get()), P.addClass("w-e-text"); - var K = p.getRandom("toolbar-elem"); - $.attr("id", K); + V !== g.default.placeholder ? D = d.default("" + V + "") : D = d.default("" + k.t(V) + ""), D.addClass("placeholder"), B && B.length ? (P.append(B), D.hide()) : P.append(d.default(h.EMPTY_P)), T && T.length && (P.append(T), D.hide()), M.append(P), M.append(D), R.addClass("w-e-toolbar").css("z-index", A.zIndex.get("toolbar")), M.addClass("w-e-text-container"), M.css("z-index", A.zIndex.get()), P.addClass("w-e-text"); + var W = p.getRandom("toolbar-elem"); + R.attr("id", W); var G = p.getRandom("text-elem"); P.attr("id", G); - var R = M.getBoundingClientRect().height, z = P.getBoundingClientRect().height; - R !== z && P.css("min-height", R + "px"), A.$toolbarElem = $, A.$textContainerElem = M, A.$textElem = P, A.toolbarElemId = K, A.textElemId = G; + var I = M.getBoundingClientRect().height, U = P.getBoundingClientRect().height; + I !== U && P.css("min-height", I + "px"), A.$toolbarElem = R, A.$textContainerElem = M, A.$textElem = P, A.toolbarElemId = W, A.textElemId = G; } r.default = S; function b(A) { @@ -59930,7 +59940,7 @@ var i1 = { exports: {} }; function _(y) { y.isFocus = !1; function m(w) { - var E = w.target, x = p.default(E), k = y.$textElem, $ = y.$toolbarElem, M = k.isContain(x), P = $.isContain(x), B = $.elems[0] == w.target; + var E = w.target, x = p.default(E), k = y.$textElem, R = y.$toolbarElem, M = k.isContain(x), P = R.isContain(x), B = R.elems[0] == w.target; if (M) y.isFocus || A(y), y.isFocus = !0; else { @@ -60244,7 +60254,7 @@ var i1 = { exports: {} }; var b = ["UL", "OL", "H1", "H2", "H3", "H4", "H5", "H6"]; function A(m) { var w = [], E = !1, x = []; - return (0, u.default)(m).call(m, function(k, $) { + return (0, u.default)(m).call(m, function(k, R) { var M = { type: h(k.type), target: k.target, attr: k.attributeName || "", value: g(k) || "", oldValue: k.oldValue || "", nodes: _(k), position: S(k) }; if (w.push(M), !!p.UA.isFirefox) { if (E && k.addedNodes.length && k.addedNodes[0].nodeType == 1) { @@ -60265,30 +60275,30 @@ var i1 = { exports: {} }; var a = n(0), s = a(n(1)), u = a(n(4)), d = a(n(94)); (0, s.default)(r, "__esModule", { value: !0 }), r.restore = r.revoke = void 0; function p(x, k) { - var $ = x.position.target; + var R = x.position.target; switch (x.position.type) { case "before": - $.nextSibling ? ($ = $.nextSibling, (0, u.default)(k).call(k, function(M) { - x.target.insertBefore(M, $); + R.nextSibling ? (R = R.nextSibling, (0, u.default)(k).call(k, function(M) { + x.target.insertBefore(M, R); })) : (0, u.default)(k).call(k, function(M) { x.target.appendChild(M); }); break; case "after": (0, u.default)(k).call(k, function(M) { - x.target.insertBefore(M, $); + x.target.insertBefore(M, R); }); break; default: (0, u.default)(k).call(k, function(M) { - $.appendChild(M); + R.appendChild(M); }); break; } } function h(x) { - for (var k = 0, $ = (0, d.default)(x.nodes); k < $.length; k++) { - var M = $[k], P = M[0], B = M[1]; + for (var k = 0, R = (0, d.default)(x.nodes); k < R.length; k++) { + var M = R[k], P = M[0], B = M[1]; switch (P) { case "add": (0, u.default)(B).call(B, function(T) { @@ -60312,14 +60322,14 @@ var i1 = { exports: {} }; var S = { node: h, text: _, attr: g }; function b(x) { for (var k = x.length - 1; k > -1; k--) { - var $ = x[k]; - S[$.type]($); + var R = x[k]; + S[R.type](R); } } r.revoke = b; function A(x) { - for (var k = 0, $ = (0, d.default)(x.nodes); k < $.length; k++) { - var M = $[k], P = M[0], B = M[1]; + for (var k = 0, R = (0, d.default)(x.nodes); k < R.length; k++) { + var M = R[k], P = M[0], B = M[1]; switch (P) { case "add": { p(x, B); @@ -60342,8 +60352,8 @@ var i1 = { exports: {} }; } var w = { node: A, text: y, attr: m }; function E(x) { - for (var k = 0, $ = x; k < $.length; k++) { - var M = $[k]; + for (var k = 0, R = x; k < R.length; k++) { + var M = R[k]; w[M.type](M); } } @@ -60606,8 +60616,8 @@ var i1 = { exports: {} }; (0, p.default)(m).call(m, function(w) { var E = w[0], x = w[1]; console.info("plugin " + E + " initializing"); - var k = x.intention, $ = x.config; - k(A, $), console.info("plugin " + E + " initialization complete"); + var k = x.intention, R = x.config; + k(A, R), console.info("plugin " + E + " initialization complete"); }); } r.default = b; @@ -60622,7 +60632,7 @@ var Sj = /* @__PURE__ */ Cj(i1.exports), Ej = "fcEditor", xj = 1, Tj = Object.as for (var r in t = arguments[i], t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e; -}, kj = Ve({ +}, kj = Be({ name: Ej, props: { modelValue: String, @@ -60662,7 +60672,7 @@ var Sj = /* @__PURE__ */ Cj(i1.exports), Ej = "fcEditor", xj = 1, Tj = Object.as }, render: function() { var t = wj({}, this.$attrs); - return delete t.id, W("div", jt(t, { + return delete t.id, z("div", jt(t, { onInput: this.result, id: "editor".concat(this.uni), style: "line-height: normal;" @@ -60689,7 +60699,7 @@ var Sj = /* @__PURE__ */ Cj(i1.exports), Ej = "fcEditor", xj = 1, Tj = Object.as var k = E[x]; w.push(new s(k, S)), (k.indent || k.dedent) && (y = !0); } - var $ = { + var R = { startState: function() { return { state: "start", @@ -60725,8 +60735,8 @@ var Sj = /* @__PURE__ */ Cj(i1.exports), Ej = "fcEditor", xj = 1, Tj = Object.as }; if (A) for (var M in A) - A.hasOwnProperty(M) && ($[M] = A[M]); - return $; + A.hasOwnProperty(M) && (R[M] = A[M]); + return R; }; function r(_, S) { if (!_.hasOwnProperty(S)) @@ -60767,14 +60777,14 @@ var Sj = /* @__PURE__ */ Cj(i1.exports), Ej = "fcEditor", xj = 1, Tj = Object.as return A.local.endScan && (w = A.local.endScan.exec(b.current())) && (b.pos = b.start + w.index), m; } for (var E = _[A.state], x = 0; x < E.length; x++) { - var k = E[x], $ = (!k.data.sol || b.sol()) && b.match(k.regex); - if ($) { + var k = E[x], R = (!k.data.sol || b.sol()) && b.match(k.regex); + if (R) { k.data.next ? A.state = k.data.next : k.data.push ? ((A.stack || (A.stack = [])).push(A.state), A.state = k.data.push) : k.data.pop && A.stack && A.stack.length && (A.state = A.stack.pop()), k.data.mode && p(S, A, k.data.mode, k.token), k.data.indent && A.indent.push(b.indentation() + S.indentUnit), k.data.dedent && A.indent.pop(); var M = k.token; - if (M && M.apply && (M = M($)), $.length > 2 && k.token && typeof k.token != "string") { - for (var P = 2; P < $.length; P++) - $[P] && (A.pending || (A.pending = [])).push({ text: $[P], token: k.token[P - 1] }); - return b.backUp($[0].length - ($[1] ? $[1].length : 0)), M[0]; + if (M && M.apply && (M = M(R)), R.length > 2 && k.token && typeof k.token != "string") { + for (var P = 2; P < R.length; P++) + R[P] && (A.pending || (A.pending = [])).push({ text: R[P], token: k.token[P - 1] }); + return b.backUp(R[0].length - (R[1] ? R[1].length : 0)), M[0]; } else return M && M.join ? M[0] : M; } @@ -60863,50 +60873,50 @@ rr.defineSimpleMode("fcComputedMode", { ] }); const Ht = (e, t, i) => { - et.component(e, i || t), li.component(e, t); + tt.component(e, i || t), li.component(e, t); }; -et.component("draggable", Yo); -et.component("DragTool", Xb); -et.component("DragBox", qb); -et.component("Validate", kV); -et.component("Struct", xb); -et.component("HtmlEditor", X4); -et.component("FnEditor", sr); -et.component("ComputedConfig", Z0); -et.component("Required", DV); -et.component("TableOptions", bb); -et.component("TreeOptions", HV); -et.component("TableFormColumn", n1); -et.component("TableFormColumn2", n1); -et.component("EventConfig", q0); -et.component("FetchConfig", d5); -et.component("TableColumnConfig", b5); -et.component("TableButtonConfig", T5); -et.component("SizeInput", ea); -et.component("PatternInput", Op); -et.component("StyleConfig", Cb); -et.component("GlobalFetchConfig", yb); -et.component("GlobalFetchSelect", z5); -et.component("GlobalEventConfig", gb); -et.component("GlobalClassConfig", Sb); -et.component("GlobalClassSelect", Q5); -et.component("GlobalVariableConfig", Eb); -et.component("FetchTable", nV); -et.component("VariableConfig", ml); -et.component("ColorInput", ta); -et.component("ConfigItem", si); -et.component("ConfigTitle", mb); -et.component("FieldInput", t5); -et.component("PromptInput", r5); -et.component("ValueInput", wu); -et.component("StepFormItem", E6); -et.component("FcRow", X6); -et.component("FnConfig", M5); -et.component("FnInput", Zb); -et.component("RuleSelect", $p); -et.component("HideConfig", ej); -et.component("SpanInput", ij); -et.component("LanguageInput", zp); +tt.component("draggable", Yo); +tt.component("DragTool", Xb); +tt.component("DragBox", qb); +tt.component("Validate", kV); +tt.component("Struct", xb); +tt.component("HtmlEditor", X4); +tt.component("FnEditor", sr); +tt.component("ComputedConfig", Z0); +tt.component("Required", DV); +tt.component("TableOptions", bb); +tt.component("TreeOptions", HV); +tt.component("TableFormColumn", n1); +tt.component("TableFormColumn2", n1); +tt.component("EventConfig", q0); +tt.component("FetchConfig", d5); +tt.component("TableColumnConfig", b5); +tt.component("TableButtonConfig", T5); +tt.component("SizeInput", ea); +tt.component("PatternInput", Op); +tt.component("StyleConfig", Cb); +tt.component("GlobalFetchConfig", yb); +tt.component("GlobalFetchSelect", z5); +tt.component("GlobalEventConfig", gb); +tt.component("GlobalClassConfig", Sb); +tt.component("GlobalClassSelect", Q5); +tt.component("GlobalVariableConfig", Eb); +tt.component("FetchTable", nV); +tt.component("VariableConfig", ml); +tt.component("ColorInput", ta); +tt.component("ConfigItem", si); +tt.component("ConfigTitle", mb); +tt.component("FieldInput", t5); +tt.component("PromptInput", r5); +tt.component("ValueInput", wu); +tt.component("StepFormItem", E6); +tt.component("FcRow", X6); +tt.component("FnConfig", M5); +tt.component("FnInput", Zb); +tt.component("RuleSelect", $p); +tt.component("HideConfig", ej); +tt.component("SpanInput", ij); +tt.component("LanguageInput", zp); Ht("FcSlot", Yy, pV); Ht("FcJson", Qy, hV); Ht("DataTable", Vc); @@ -60937,7 +60947,7 @@ Ht("fcDataSelect", p0, _j); const Oj = function(e) { (Array.isArray(e) ? e : [e]).forEach((i) => { rn[i.name] = i.handle, cc[i.name] = i.example, eu.value.formula[i.name] = i.info, Fy.forEach((r) => { - r.key === i.menu && r.children.push(i.name), li.setFormula(i.name, i.handle), et.setFormula(i.name, i.handle); + r.key === i.menu && r.children.push(i.name), li.setFormula(i.name, i.handle), tt.setFormula(i.name, i.handle); }); }); }, $j = function(e) { @@ -60955,7 +60965,7 @@ const Oj = function(e) { an.install = Rj; an.makeOptionsRule = Jr; an.formCreate = li; -an.designerForm = et; +an.designerForm = tt; an.component = Ht; an.setFormula = Oj; an.setBehavior = $j; @@ -60990,7 +61000,7 @@ ww(ty, li.version) === 1 && console.error("Please use FormCreate version " + ty export { tr as copyTextToClipboard, an as default, - et as designerForm, + tt as designerForm, li as formCreate, Fn as getInjectArg, Rj as install, diff --git a/core/core-frontend/src/fcDesignerPro/index.umd.js b/core/core-frontend/src/fcDesignerPro/index.umd.js index 2cdc33e..073b203 100644 --- a/core/core-frontend/src/fcDesignerPro/index.umd.js +++ b/core/core-frontend/src/fcDesignerPro/index.umd.js @@ -9,7 +9,7 @@ rule: `+JSON.stringify(r.getRule?r.getRule():r):"")}function kb(e,t){console.error(xb("err",e,t))}const mp="[[FORM-CREATE-PREFIX-",gp="-FORM-CREATE-SUFFIX]]";function nd(e){return new Function("return "+e)()}function Vr(e,t){if(e&&dt.String(e)&&e.length>4){let r=e.trim(),o=!1;try{if(r.indexOf(gp)>0&&r.indexOf(mp)===0)r=r.replace(gp,"").replace(mp,""),o=!0;else if(r.indexOf("$FN:")===0)r=r.substring(4),o=!0;else if(r.indexOf("$EXEC:")===0)r=r.substring(6),o=!0;else if(r.indexOf("$GLOBAL:")===0){const l=r.substring(8);return r=function(...d){const c=d[0].api.getGlobalEvent(l);if(c)return c.call(this,...d)},r.__json=e,r.__inject=!0,r}else{if(r.indexOf("$FNX:")===0)return r=nd("function($inject){"+r.substring(5)+"}"),r.__json=e,r.__inject=!0,r;(!t&&r.indexOf("function ")===0&&r!=="function "||!t&&r.indexOf("function(")===0&&r!=="function(")&&(o=!0)}if(!o)return e;let i;try{i=nd(r)}catch{i=nd("function "+r)}return i.__json=e,i}catch(i){kb(`\u89E3\u6790\u5931\u8D25:${r} -err: ${i}`);return}}return e}function id(e){const t=e.replace(/(-[a-z])/g,function(r){return r.replace("-","").toLocaleUpperCase()});return Ha(t)}function Ha(e){return e.replace(e[0],e[0].toLowerCase())}const vp={name:"zh-cn",form:{field:"\u5B57\u6BB5 ID",title:"\u5B57\u6BB5\u540D\u79F0",attributeId:"\u662F\u5426\u4E3B\u952E",info:"\u63D0\u793A\u4FE1\u606F",ignore:"\u5FFD\u7565\u5B57\u6BB5",native:"\u662F\u5426\u663E\u793A\u6807\u9898",control:"\u7EC4\u4EF6\u8054\u52A8",labelShow:"\u662F\u5426\u663E\u793A",labelPosition:"\u6807\u7B7E\u7684\u4F4D\u7F6E",tableName:"\u81EA\u5B9A\u4E49\u540D\u79F0",labelStyle:"\u6807\u7B7E\u7684\u6837\u5F0F",labelSuffix:"\u6807\u7B7E\u7684\u540E\u7F00",formItem:"\u914D\u7F6E\u8868\u5355\u9879",formItemSpan:"\u7EC4\u4EF6\u5BBD\u5EA6",row:"\u6574\u884C",globalEvent:"\u5168\u5C40\u4E8B\u4EF6",globalFetch:"\u5168\u5C40\u6570\u636E\u6E90",globalClass:"\u5168\u5C40\u6837\u5F0F",globalConfig:"\u5168\u5C40\u914D\u7F6E",size:"\u8868\u5355\u7684\u5C3A\u5BF8",event:"\u8868\u5355\u4E8B\u4EF6",labelWidth:"\u6807\u7B7E\u7684\u5BBD\u5EA6",hideRequiredAsterisk:"\u9690\u85CF\u5FC5\u586B\u5B57\u6BB5\u7684\u6807\u7B7E\u65C1\u8FB9\u7684\u7EA2\u8272\u661F\u53F7",formItemMarginBottom:"\u8868\u5355\u9879\u7684\u4E0B\u8FB9\u8DDD",showMessage:"\u663E\u793A\u6821\u9A8C\u9519\u8BEF\u4FE1\u606F",inlineMessage:"\u4EE5\u884C\u5185\u5F62\u5F0F\u5C55\u793A\u6821\u9A8C\u4FE1\u606F",submitBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u63D0\u4EA4\u6309\u94AE",resetBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u91CD\u7F6E\u6309\u94AE",appendChild:"\u6DFB\u52A0\u5B50\u7EA7",formMode:"\u8868\u5355\u6A21\u5F0F",formName:"\u8868\u5355\u540D\u79F0",ignoreHiddenFields:"\u63D0\u4EA4\u8868\u5355\u65F6\u5FFD\u7565\u88AB\u9690\u85CF\u7684\u5B57\u6BB5",previewMode:"\u9605\u8BFB\u6A21\u5F0F",componentMode:"\u751F\u6210\u7EC4\u4EF6",sfcMode:"\u751F\u6210SFC",document:"\u5E2E\u52A9\u6587\u6863",controlDocument:"\u9700\u8981\u66F4\u8BE6\u7EC6\u7684\u914D\u7F6E\u65B9\u6CD5\uFF1F\u8BF7\u67E5\u770B{doc}",onSubmit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",onReset:"\u8868\u5355\u91CD\u7F6E\u540E\u89E6\u53D1",onCreated:"\u8868\u5355\u7EC4\u4EF6\u521D\u59CB\u5316\u5B8C\u6BD5\u540E\u89E6\u53D1",onMounted:"\u8868\u5355\u7EC4\u4EF6\u6E32\u67D3\u5B8C\u6BD5\u540E\u89E6\u53D1",onReload:"\u8868\u5355\u6E32\u67D3\u89C4\u5219\u91CD\u8F7D\u540E\u89E6\u53D1",onChange:"\u8868\u5355\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",beforeSubmit:"\u8868\u5355\u9A8C\u8BC1\u901A\u8FC7\u65F6\u89E6\u53D1",beforeFetch:"\u8FDC\u7A0B\u6570\u636E\u8BF7\u6C42\u53D1\u9001\u524D\u89E6\u53D1"},ai:{name:"\u667A\u80FD\u8868\u5355\u52A9\u7406",info:"\u60A8\u597D\uFF0C\u6211\u662F\u60A8\u7684\u667A\u80FD\u8868\u5355\u52A9\u624B\uFF01\u6211\u53EF\u4EE5\u5E2E\u52A9\u60A8\u5FEB\u901F\u751F\u6210\u548C\u4FEE\u6539\u8868\u5355\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u9AD8\u6548\u5730\u5B8C\u6210\u8868\u5355\u8BBE\u8BA1\u3002",try:"\u4F60\u53EF\u4EE5\u8BD5\u7740\u95EE\u6211",change:"\u6362\u4E00\u6362",loading:"\u6B63\u5728\u6839\u636E\u60A8\u7684\u9700\u6C42\u5236\u4F5C\u8868\u5355\uFF0C\u8BF7\u7A0D\u5019...",fail:"\u5236\u4F5C\u8868\u5355\u65F6\u9047\u5230\u95EE\u9898\uFF0C\u8BF7\u5C1D\u8BD5\u8C03\u6574\u5185\u5BB9\u3002",success:"\u5DF2\u5904\u7406\u5B8C\u6BD5\uFF01",placeholder:"\u8BF7\u63CF\u8FF0\u60A8\u7684\u9700\u6C42"},warning:{name:"\u7EC4\u4EF6\u7684\u552F\u4E00\u6807\u8BC6\uFF0C\u7528\u4E8E\u83B7\u53D6\u548C\u4FEE\u6539\u8BE5\u7EC4\u4EF6\u7684\u914D\u7F6E\u89C4\u5219\u3002\u901A\u8FC7\u8BE5\u6807\u8BC6\u53EF\u4EE5\u7CBE\u786E\u5B9A\u4F4D\u7EC4\u4EF6\uFF0C\u5B9E\u73B0\u5BF9\u7EC4\u4EF6\u5C5E\u6027\u548C\u884C\u4E3A\u7684\u63A7\u5236\u3002",field:"\u7EC4\u4EF6\u5BF9\u5E94\u7684\u5B57\u6BB5\u540D\u7528\u4E8E\u4E0E\u7EC4\u4EF6\u7684\u6570\u636E\u8FDB\u884C\u7ED1\u5B9A\u3002\u5B57\u6BB5\u540D\u9700\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u4EE5\u786E\u4FDD\u80FD\u591F\u6B63\u786E\u8BC6\u522B\u3002",formList:"\u7528\u4E8E\u7BA1\u7406\u548C\u5207\u6362\u8868\u5355\u6A21\u677F\uFF0C\u65B9\u4FBF\u5728\u4E0D\u540C\u4E1A\u52A1\u573A\u666F\u4E2D\u5FEB\u901F\u5207\u6362\u548C\u914D\u7F6E\u8868\u5355\u3002",fetch:"\u8FDC\u7A0B\u6570\u636E\u901A\u8FC7\u8FDC\u7A0B\u8BF7\u6C42\u52A0\u8F7D\u7EC4\u4EF6\u7684\u914D\u7F6E\u9879\u3002\u914D\u7F6E\u8BF7\u6C42\u53C2\u6570\u540E\uFF0C\u7EC4\u4EF6\u4F1A\u81EA\u52A8\u53D1\u8D77\u8BF7\u6C42\uFF0C\u83B7\u53D6\u8FDC\u7A0B\u6570\u636E\u5E76\u6839\u636E\u8FD4\u56DE\u7684\u7ED3\u679C\u66F4\u65B0\u7EC4\u4EF6\u3002",fetchQuery:"\u5B9A\u4E49\u8BF7\u6C42\u7684 GET \u53C2\u6570\uFF0C\u901A\u8FC7 URL \u4F20\u9012\u6570\u636E\u3002",fetchData:"\u5B9A\u4E49\u8BF7\u6C42\u7684 POST \u53C2\u6570\uFF0C\u901A\u8FC7\u8BF7\u6C42\u4F53\u4F20\u9012\u6570\u636E\u3002",fetchDataType:"\u9009\u62E9\u8BF7\u6C42\u4F53\u7684\u6570\u636E\u7C7B\u578B\uFF0C\u786E\u4FDD\u6570\u636E\u683C\u5F0F\u6B63\u786E\u3002",beforeFetch:"\u5728\u8BF7\u6C42\u53D1\u9001\u524D\uFF0C\u53EF\u901A\u8FC7\u5904\u7406\u51FD\u6570\u4FEE\u6539\u8BF7\u6C42\u53C2\u6570\uFF1B\u82E5\u9700\u7EC8\u6B62\u8BF7\u6C42\uFF0C\u76F4\u63A5\u8FD4\u56DE false \u6216\u4E00\u4E2A\u62D2\u7EDD\u7684 Promise\u3002",fetchParse:"\u8BF7\u6C42\u8FD4\u56DE\u540E\uFF0C\u53EF\u4EE5\u901A\u8FC7\u5904\u7406\u51FD\u6570\u5BF9\u8FD4\u56DE\u7684\u7ED3\u679C\u8FDB\u884C\u5904\u7406\uFF0C\u5C06\u7ED3\u679C\u8F6C\u6362\u4E3A\u7EC4\u4EF6\u6240\u9700\u7684\u6570\u636E\u548C\u7ED3\u6784\u3002",language:"\u7BA1\u7406\u9875\u9762\u7684\u591A\u8BED\u8A00\u6570\u636E\uFF0C\u5728\u7EC4\u4EF6\u4E2D\u914D\u7F6E\u4E0D\u540C\u8BED\u8A00\u7684\u6587\u672C\uFF0C\u652F\u6301\u4E00\u952E\u5207\u6362\u8BED\u8A00\u4F53\u7CFB\uFF0C\u4FBF\u4E8E\u5728\u591A\u8BED\u8A00\u73AF\u5883\u4E0B\u4F7F\u7528\u548C\u5C55\u793A\u5185\u5BB9\u3002",variable:"\u4ECE\u53D8\u91CF\u8BFB\u53D6\u914D\u7F6E\u9879\u7684\u503C\uFF0C\u652F\u6301\u901A\u8FC7\u53D8\u91CF\uFF08\u5982 Cookie\u3001localStorage\u3001\u5168\u5C40\u53D8\u91CF\u548C\u5916\u90E8\u6570\u636E\u6E90\u7B49\uFF09\u8BBE\u7F6E\u914D\u7F6E\u9879\u3002\u5F53\u5173\u8054\u7684\u53D8\u91CF\u53D8\u5316\u65F6\uFF0C\u914D\u7F6E\u9879\u4F1A\u540C\u6B65\u66F4\u65B0\u3002",variableInfo:"\u8BF7\u5728\u53D8\u91CF\u5217\u8868\u4E2D\u9009\u62E9\u53D8\u91CF\u3002\u5982\u679C\u53D8\u91CF\u7684\u503C\u662F\u5BF9\u8C61\uFF0C\u60A8\u53EF\u4EE5\u901A\u8FC7 {{variableName.attributeName}} \u683C\u5F0F\u8BBF\u95EE\u5BF9\u8C61\u4E2D\u7684\u5C5E\u6027\u503C\u3002",pageManage:"\u8BBE\u8BA1\u8868\u5355\u4E2D\u7684\u5B50\u5F39\u7A97\uFF0C\u901A\u8FC7\u4E8B\u4EF6\u89E6\u53D1\u5F39\u7A97\u663E\u793A\uFF0C\u4FBF\u4E8E\u5728\u8868\u5355\u4E2D\u52A8\u6001\u5C55\u793A\u4FE1\u606F\u6216\u8FDB\u884C\u4EA4\u4E92\u64CD\u4F5C\u3002",globalConfig:"\u7BA1\u7406\u5168\u5C40\u4E8B\u4EF6\u3001\u6837\u5F0F\u3001\u6570\u636E\u548C\u53D8\u91CF\uFF0C\u7528\u4E8E\u5728\u4E0D\u540C\u7EC4\u4EF6\u95F4\u8FDB\u884C\u6570\u636E\u5171\u4EAB\u548C\u4E8B\u4EF6\u5904\u7406\u3002",globalClass:"\u63D0\u4F9B\u5B9A\u4E49\u5168\u5C40\u6837\u5F0F\u548C Class \u7684\u529F\u80FD\uFF0C\u7528\u6237\u53EF\u4EE5\u5728\u7EC4\u4EF6\u914D\u7F6E\u4E2D\u9009\u62E9\u5E76\u5E94\u7528\u8FD9\u4E9B\u9884\u5B9A\u4E49\u7684 Class\uFF0C\u4EE5\u5B9E\u73B0\u7EDF\u4E00\u7684\u6837\u5F0F\u7BA1\u7406\u3002",globalEvent:"\u5168\u5C40\u4E8B\u4EF6\u7528\u4E8E\u5B9A\u4E49\u7EC4\u4EF6\u4E8B\u4EF6\uFF0C\u4F9B\u7EC4\u4EF6\u8FDB\u884C\u914D\u7F6E\u548C\u9009\u62E9\uFF0C\u65B9\u4FBF\u5728\u4E0D\u540C\u7EC4\u4EF6\u4E2D\u7EDF\u4E00\u4F7F\u7528\u9884\u8BBE\u4E8B\u4EF6\uFF0C\u7B80\u5316\u4E8B\u4EF6\u7684\u7BA1\u7406\u548C\u5206\u53D1\u3002",globalFetch:"\u5168\u5C40\u6570\u636E\u6E90\u7528\u4E8E\u5B9A\u4E49\u5E38\u7528\u7684\u6570\u636E\u6E90\uFF0C\u652F\u6301\u9759\u6001\u6570\u636E\u548C\u8FDC\u7A0B\u6570\u636E\u3002\u8BE5\u6570\u636E\u6E90\u53EF\u5728\u5404\u79CD\u7EC4\u4EF6\u914D\u7F6E\u4E2D\u4F7F\u7528\uFF0C\u65B9\u4FBF\u7EDF\u4E00\u7BA1\u7406\u548C\u8C03\u7528\u6570\u636E\u3002",globalVariable:"\u5168\u5C40\u53D8\u91CF\u4E2D\u53EF\u4EE5\u5B9A\u4E49\u8BA1\u7B97\u5C5E\u6027\uFF0C\u901A\u8FC7\u8868\u5355\u6570\u636E\u548C\u5916\u90E8\u6570\u636E\u8FD4\u56DE\u7EC4\u4EF6\u6240\u9700\u7684\u6570\u636E\u3002\u5173\u8054\u6570\u636E\u53D8\u5316\u65F6\uFF0C\u8BA1\u7B97\u5C5E\u6027\u4F1A\u81EA\u52A8\u66F4\u65B0\uFF0C\u53EF\u4EE5\u5728\u7ED1\u5B9A\u53D8\u91CF\u6A21\u5757\u548C\u4E8B\u4EF6\u4E2D\u4F7F\u7528\u3002",ignore:"\u5F00\u542F\u540E\uFF0C\u8868\u5355\u63D0\u4EA4\u65F6\u4F1A\u81EA\u52A8\u6392\u9664\u8BE5\u7EC4\u4EF6\u7684\u5B57\u6BB5\uFF0C\u4E0D\u4F1A\u5C06\u5176\u5305\u542B\u5728\u63D0\u4EA4\u7684\u6570\u636E\u4E2D\u3002",ignoreHiddenFields:"\u5F00\u542F\u540E\uFF0C\u8868\u5355\u63D0\u4EA4\u65F6\u4F1A\u81EA\u52A8\u8FC7\u6EE4\u6389\u88AB\u9690\u85CF\u7684\u7EC4\u4EF6\u5B57\u6BB5\uFF0C\u786E\u4FDD\u4EC5\u63D0\u4EA4\u53EF\u89C1\u7684\u5B57\u6BB5\u6570\u636E\u3002",behaviorIgnoreError:"\u5982\u679C\u52A8\u4F5C\u6267\u884C\u8FC7\u7A0B\u4E2D\u53D1\u751F\u9519\u8BEF\uFF0C\u662F\u5426\u7EE7\u7EED\u6267\u884C\u540E\u7EED\u7684\u52A8\u4F5C\u3002",behaviorExpression:"\u5F53\u6761\u4EF6\u8FBE\u6210\u65F6\uFF0C\u52A8\u4F5C\u624D\u4F1A\u88AB\u6267\u884C\u3002",behaviorStopPropagation:"\u5F53\u6761\u4EF6\u8FBE\u6210\u65F6\uFF0C\u4F1A\u963B\u6B62\u540E\u7EED\u52A8\u4F5C\u7684\u6267\u884C\u3002",computedCondition:"\u901A\u8FC7\u5B9A\u4E49\u6761\u4EF6\uFF0C\u7EC4\u4EF6\u7684\u72B6\u6001\u548C\u6570\u636E\u503C\u4F1A\u6839\u636E\u6761\u4EF6\u662F\u5426\u6210\u7ACB\u81EA\u52A8\u8C03\u6574\u3002",computedFormula:"\u901A\u8FC7\u516C\u5F0F\u548C\u8868\u5355\u6570\u636E\uFF0C\u52A8\u6001\u8BA1\u7B97\u7EC4\u4EF6\u7684\u72B6\u6001\u548C\u6570\u636E\u503C\u3002"},computed:{value:{title:"\u6570\u636E\u8054\u52A8",btn:"\u8BBE\u7F6E\u6570\u636E\u8054\u52A8",name:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u503C"},hidden:{title:"\u9690\u85CF\u6761\u4EF6",btn:"\u8BBE\u7F6E\u9690\u85CF\u6761\u4EF6",name:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u9690\u85CF\u6761\u4EF6"},required:{title:"\u5FC5\u586B\u6761\u4EF6",btn:"\u8BBE\u7F6E\u5FC5\u586B\u6761\u4EF6",name:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u5FC5\u586B\u6761\u4EF6"},disabled:{title:"\u7981\u7528\u6761\u4EF6",btn:"\u8BBE\u7F6E\u7981\u7528\u6761\u4EF6",name:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u7981\u7528\u6761\u4EF6"},formulas:{"==":"\u7B49\u4E8E","!=":"\u4E0D\u7B49\u4E8E",on:"\u5305\u542B",notOn:"\u4E0D\u5305\u542B",empty:"\u4E3A\u7A7A",notEmpty:"\u4E0D\u4E3A\u7A7A",pattern:"\u6B63\u5219\u8868\u8FBE\u5F0F",">":"\u5927\u4E8E",">=":"\u5927\u4E8E\u7B49\u4E8E","<":"\u5C0F\u4E8E","<=":"\u5C0F\u4E8E\u7B49\u4E8E"},variable:{attr:"\u5C5E\u6027\u5217\u8868",bind:"\u7ED1\u5B9A\u53D8\u91CF",list:"\u53D8\u91CF\u5217\u8868",btn:"\u8BBE\u7F6E\u53D8\u91CF",title:"\u5168\u5C40\u53D8\u91CF",create:"\u521B\u5EFA\u53D8\u91CF",placeholder:"\u8BF7\u8F93\u5165\u53D8\u91CF\u7684\u63CF\u8FF0\u4FE1\u606F"},linkage:{trigger:"\u89E6\u53D1\u4EE5\u4E0B\u8054\u52A8",info:["\u5F53\u524D\u7EC4\u4EF6\u8054\u52A8\u663E\u793A","\u7684\u503C"]},name:"\u8BA1\u7B97\u516C\u5F0F",setting:"\u8BBE\u7F6E\u6761\u4EF6",invert:"\u6761\u4EF6\u6210\u7ACB\u540E\u7EC4\u4EF6\u72B6\u6001",condition:"\u903B\u8F91\u6761\u4EF6",addCondition:"\u6DFB\u52A0\u6761\u4EF6",addGroup:"\u6DFB\u52A0\u6761\u4EF6\u7EC4",form:"\u5F53\u524D\u8868\u5355",subform:"\u5B50\u8868\u5355",formula:"\u51FD\u6570\u516C\u5F0F",formulaInfo:"\u51FD\u6570\u8BF4\u660E",formulaExample:"\u51FD\u6570\u793A\u4F8B",fieldUsed:"\u3010{label}\u3011\u5728\u8BA1\u7B97\u516C\u5F0F\u4E2D\u88AB\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u5BF9\u5E94\u516C\u5F0F",fieldExist:"\u3010{label}\u3011\u5B57\u6BB5\u5DF2\u5B58\u5728",fieldEmpty:"\u5B57\u6BB5\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fieldChar:"\u5B57\u6BB5\u540D\u79F0\u5FC5\u987B\u4EE5\u5B57\u6BCD\u5F00\u5934"},validate:{type:"\u5B57\u6BB5\u7C7B\u578B",typePlaceholder:"\u8BF7\u9009\u62E9",trigger:"\u89E6\u53D1\u65B9\u5F0F",mode:"\u9A8C\u8BC1\u65B9\u5F0F",modes:{required:"\u5FC5\u586B",notRequired:"\u975E\u5FC5\u586B",pattern:"\u6B63\u5219\u8868\u8FBE\u5F0F",validator:"\u81EA\u5B9A\u4E49\u9A8C\u8BC1",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",len:"\u957F\u5EA6"},types:{string:"\u6587\u672C",boolean:"\u5E03\u5C14",array:"\u591A\u9009",number:"\u6570\u5B57",integer:"\u6574\u6570",float:"\u5C0F\u6570",object:"\u5408\u96C6",date:"\u65E5\u671F",url:"URL\u94FE\u63A5",email:"\u90AE\u7BB1\u5730\u5740"},message:"\u9519\u8BEF\u4FE1\u606F",auto:"\u81EA\u52A8\u83B7\u53D6",autoRequired:"\u8BF7\u8F93\u5165{title}",autoMode:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684{title}",requiredPlaceholder:"\u8BF7\u8F93\u5165\u63D0\u793A\u8BED",required:"\u662F\u5426\u5FC5\u586B",rule:"\u9A8C\u8BC1\u89C4\u5219"},tableOptions:{handle:"\u64CD\u4F5C",add:"\u6DFB\u52A0",empty1:"\u70B9\u51FB\u53F3\u4E0B\u89D2",empty2:"\u6309\u94AE\u6DFB\u52A0\u4E00\u5217",rmCol:"\u5220\u9664\u5F53\u524D\u5217",rmRow:"\u5220\u9664\u5F53\u524D\u884C",splitRow:"\u62C6\u5206\u6210\u884C",splitCol:"\u62C6\u5206\u6210\u5217",mergeBottom:"\u5411\u4E0B\u5408\u5E76",mergeRight:"\u5411\u53F3\u5408\u5E76",addTop:"\u6DFB\u52A0\u4E0A\u5217",addBottom:"\u6DFB\u52A0\u4E0B\u5217",addLeft:"\u6DFB\u52A0\u5DE6\u5217",addRight:"\u6DFB\u52A0\u53F3\u5217",keyValue:"\u952E\u503C\u5BF9"},struct:{title:"\u7F16\u8F91\u6570\u636E",only:"\u3010{label}\u3011\u53EA\u5141\u8BB8\u6DFB\u52A0\u4E00\u4E2A",errorMsg:"\u8F93\u5165\u7684\u5185\u5BB9\u8BED\u6CD5\u9519\u8BEF",configured:"\u5DF2\u914D\u7F6E",configuredData:"\u5DF2\u914D\u7F6E {num} \u4E2A\u6570\u636E\u6E90",configuredEvent:"\u5DF2\u914D\u7F6E {num} \u4E2A\u4E8B\u4EF6"},class:{title:"\u8BBE\u7F6E\u6837\u5F0F",create:"\u521B\u5EFA\u6837\u5F0F",placeholder:"\u8BF7\u8F93\u5165\u6837\u5F0F\u7684\u63CF\u8FF0\u4FE1\u606F",saveMsg:"\u8BF7\u5148\u4FDD\u5B58\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u6837\u5F0F",configured:"\u5DF2\u914D\u7F6E {num} \u4E2A\u6837\u5F0F"},event:{title:"\u8BBE\u7F6E\u4E8B\u4EF6",create:"\u521B\u5EFA\u4E8B\u4EF6",list:"\u4E8B\u4EF6\u5217\u8868",placeholder:"\u8BF7\u8F93\u5165\u4E8B\u4EF6\u7684\u540D\u79F0",saveMsg:"\u8BF7\u5148\u4FDD\u5B58\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u4E8B\u4EF6",type:"\u7C7B\u578B",info:"\u8BF4\u660E",action:"\u7F16\u8F91\u884C\u4E3A",inject:{api:"\u5F53\u524D\u8868\u5355\u7684api",rule:"\u5F53\u524D\u8868\u5355\u7684\u751F\u6210\u89C4\u5219",self:"\u7EC4\u4EF6\u7684\u751F\u6210\u89C4\u5219",option:"\u8868\u5355\u7684\u914D\u7F6E",args:"\u4E8B\u4EF6\u7684\u539F\u59CB\u53C2\u6570"}},eventInfo:{blur:"\u5931\u53BB\u7126\u70B9\u65F6\u89E6\u53D1",focus:"\u83B7\u5F97\u7126\u70B9\u65F6\u89E6\u53D1",change:"\u5F53\u7ED1\u5B9A\u503C\u53D8\u5316\u65F6\u89E6\u53D1",input:"\u5728\u503C\u6539\u53D8\u65F6\u89E6\u53D1",clear:"\u5728\u70B9\u51FB\u6E05\u7A7A\u6309\u94AE\u65F6\u89E6\u53D1",close:"\u5173\u95ED\u7EC4\u4EF6\u65F6\u89E6\u53D1",click:"\u70B9\u51FB\u7EC4\u4EF6\u65F6\u89E6\u53D1",add:"\u589E\u52A0\u65F6\u89E6\u53D1",delete:"\u5220\u9664\u65F6\u89E6\u53D1",remove:"\u5220\u9664\u65F6\u89E6\u53D1",visibleChange:"\u4E0B\u62C9\u6846\u51FA\u73B0/\u9690\u85CF\u65F6\u89E6\u53D1",calendarChange:"\u5728\u65E5\u5386\u6240\u9009\u65E5\u671F\u66F4\u6539\u65F6\u89E6\u53D1",panelChange:"\u5F53\u65E5\u671F\u9762\u677F\u6539\u53D8\u65F6\u89E6\u53D1",open:"\u6253\u5F00\u7684\u56DE\u8C03",opened:"\u6253\u5F00\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",closed:"\u5173\u95ED\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",openAutoFocus:"\u8F93\u5165\u7126\u70B9\u805A\u7126\u5728\u5185\u5BB9\u65F6\u7684\u56DE\u8C03",closeAutoFocus:"\u8F93\u5165\u7126\u70B9\u4ECE\u5185\u5BB9\u5931\u7126\u65F6\u7684\u56DE\u8C03",submit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",confirm:"\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1",validateFail:"\u8868\u5355\u9A8C\u8BC1\u5931\u8D25\u65F6\u89E6\u53D1",beforeLoad:"\u521D\u59CB\u5316\u4E4B\u524D\u89E6\u53D1",loaded:"\u521D\u59CB\u5316\u5B8C\u6210\u4E4B\u540E\u89E6\u53D1",hook_load:"\u7EC4\u4EF6\u89C4\u5219\u52A0\u8F7D\u540E\u89E6\u53D1",hook_mounted:"\u7EC4\u4EF6\u6302\u8F7D\u540E\u89E6\u53D1",hook_deleted:"\u7EC4\u4EF6\u89C4\u5219\u88AB\u79FB\u9664\u540E\u89E6\u53D1",hook_watch:"\u7EC4\u4EF6\u89C4\u5219\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_value:"\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_hidden:"\u7EC4\u4EF6\u663E\u793A\u72B6\u6001\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1"},fetch:{info:"\u5B9A\u4E49\u8BF7\u6C42\u65F6\uFF0C\u652F\u6301\u901A\u8FC7\u53CC\u5927\u62EC\u53F7\u8BED\u6CD5\uFF08\u5982 {{token}}\uFF09\u4F7F\u7528\u53D8\u91CF\u3002\u5728\u63A5\u53E3\u8BF7\u6C42\u65F6\u4F1A\u81EA\u52A8\u8BFB\u53D6\u8FD9\u4E9B\u53D8\u91CF\u3002\u5982\u679C\u53D8\u91CF\u7684\u503C\u662F\u5BF9\u8C61\uFF0C\u53EF\u4EE5\u901A\u8FC7 {{variableName.attributeName}} \u8BBF\u95EE\u5BF9\u8C61\u7684\u5C5E\u6027\u503C\u3002",title:"\u8BBE\u7F6E\u6570\u636E\u6E90",create:"\u521B\u5EFA\u6570\u636E\u6E90",config:"\u8BF7\u6C42\u914D\u7F6E",action:"\u8BF7\u6C42\u94FE\u63A5",actionRequired:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u94FE\u63A5",placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u6E90\u7684\u63CF\u8FF0\u4FE1\u606F",method:"\u8BF7\u6C42\u65B9\u5F0F",data:"\u9644\u5E26\u6570\u636E",dataType:"\u6570\u636E\u7C7B\u578B",headers:"\u8BF7\u6C42\u5934\u90E8",query:"\u8BF7\u6C42\u53C2\u6570",parse:"\u6570\u636E\u5904\u7406",response:"\u63A5\u53E3\u8FD4\u56DE\u7684\u6570\u636E",onError:"\u9519\u8BEF\u5904\u7406",beforeFetch:"\u524D\u7F6E\u5904\u7406",remote:"\u8FDC\u7A0B\u6570\u636E",static:"\u9759\u6001\u6570\u636E",optionsType:{fetch:"\u8FDC\u7A0B\u6570\u636E",global:"\u5168\u5C40\u6570\u636E\u6E90",struct:"\u9759\u6001\u6570\u636E"}},style:{width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6",minWidth:"\u6700\u5C0F\u5BBD",minHeight:"\u6700\u5C0F\u9AD8",maxWidth:"\u6700\u5927\u5BBD",maxHeight:"\u6700\u5927\u9AD8",color:"\u989C\u8272",backgroundColor:"\u80CC\u666F\u8272",margin:"\u5916\u8FB9\u8DDD",padding:"\u5185\u8FB9\u8DDD",borderRadius:"\u5706\u89D2",border:"\u8FB9\u6846",solid:"\u5B9E\u7EBF",dashed:"\u865A\u7EBF",dotted:"\u70B9\u72B6\u865A\u7EBF",double:"\u53CC\u5B9E\u7EBF",opacity:"\u900F\u660E\u5EA6",scale:"\u7F29\u653E",overflow:{name:"\u6EA2\u51FA",visible:"\u53EF\u89C1",hidden:"\u9690\u85CF",scroll:"\u6EDA\u52A8",auto:"\u6EA2\u51FA\u540E\u81EA\u52A8\u6EDA\u52A8"},shadow:{name:"\u9634\u5F71",x:"x\u8F74\u504F\u79FB\u91CF",y:"y\u8F74\u504F\u79FB\u91CF",vague:"\u6A21\u7CCA\u534A\u5F84",extend:"\u6269\u6563\u534A\u5F84",inset:"\u5411\u5185",external:"\u5411\u5916",mode:"\u6A21\u5F0F",classic:"\u7ECF\u5178",flat:"\u6241\u5E73",solid:"\u7ACB\u4F53"},display:{name:"\u5E03\u5C40",block:"\u533A\u5757","inline-block":"\u884C\u5185\u533A\u5757",inline:"\u884C\u5185\u6587\u672C",flex:"\u5F39\u6027\u76D2\u5B50"},flexDirection:{name:"\u4E3B\u8F74\u7684\u65B9\u5411",row:"\u4E3B\u8F74\u4E3A\u6C34\u5E73\u65B9\u5411\uFF0C\u8D77\u70B9\u5728\u5DE6\u7AEF","row-reverse":"\u4E3B\u8F74\u4E3A\u6C34\u5E73\u65B9\u5411\uFF0C\u8D77\u70B9\u5728\u53F3\u7AEF",column:"\u4E3B\u8F74\u4E3A\u5782\u76F4\u65B9\u5411\uFF0C\u8D77\u70B9\u5728\u4E0A\u6CBF","column-reverse":"\u4E3B\u8F74\u4E3A\u5782\u76F4\u65B9\u5411\uFF0C\u8D77\u70B9\u5728\u4E0B\u6CBF"},flexWrap:{name:"\u662F\u5426\u6362\u884C",nowrap:"\u4E0D\u6362\u884C",wrap:"\u6362\u884C"},justifyContent:{name:"\u4E3B\u8F74\u4E0A\u7684\u5BF9\u9F50\u65B9\u5F0F","flex-start":"\u5DE6\u5BF9\u9F50","flex-end":"\u53F3\u5BF9\u9F50",center:"\u5C45\u4E2D","space-between":"\u4E24\u7AEF\u5BF9\u9F50","space-around":"\u5B50\u5143\u7D20\u4E24\u4FA7\u7684\u95F4\u9694\u76F8\u7B49","space-evenly":"\u5B50\u5143\u7D20\u5E73\u5747\u5206\u5E03\u5728\u4E3B\u8F74\u4E0A"},alignItems:{name:"\u5B50\u5143\u7D20\u4EA4\u53C9\u8F74\u4E0A\u7684\u5BF9\u9F50\u65B9\u5F0F","flex-start":"\u4EA4\u53C9\u8F74\u7684\u8D77\u70B9\u5BF9\u9F50","flex-end":"\u4EA4\u53C9\u8F74\u7684\u7EC8\u70B9\u5BF9\u9F50",center:"\u4EA4\u53C9\u8F74\u7684\u4E2D\u70B9\u5BF9\u9F50",baseline:"\u6CBF\u7B2C\u4E00\u884C\u6587\u5B57\u7684\u57FA\u7EBF\u5BF9\u9F50",stretch:"\u6EE1\u6574\u4E2A\u5BB9\u5668\u7684\u9AD8\u5EA6"},alignContent:{name:"\u591A\u884C\u5B50\u5143\u7D20\u5728\u4EA4\u53C9\u8F74\u4E0A\u7684\u5BF9\u9F50\u65B9\u5F0F","flex-start":"\u4E0E\u4EA4\u53C9\u8F74\u7684\u8D77\u70B9\u5BF9\u9F50","flex-end":"\u4E0E\u4EA4\u53C9\u8F74\u7684\u7EC8\u70B9\u5BF9\u9F50",center:"\u4E0E\u4EA4\u53C9\u8F74\u7684\u4E2D\u70B9\u5BF9\u9F50","space-between":"\u4E0E\u4EA4\u53C9\u8F74\u4E24\u7AEF\u5BF9\u9F50","space-around":"\u591A\u884C\u5B50\u5143\u7D20\u5E73\u5747\u5206\u5E03\u5728\u4EA4\u53C9\u8F74",stretch:"\u8F74\u7EBF\u5360\u6EE1\u6574\u4E2A\u4EA4\u53C9\u8F74"},font:{name:"\u5B57\u4F53",size:"\u5927\u5C0F",align:"\u5BF9\u9F50\u65B9\u5F0F",height:"\u884C\u9AD8",spacing:"\u5B57\u95F4\u8DDD",preview:"\u6837\u5F0F\u9884\u89C8"},decoration:{name:"\u4FEE\u9970",underline:"\u4E0B\u5212\u7EBF","line-through":"\u5220\u9664\u7EBF",overline:"\u4E0A\u5212\u7EBF"},weight:{name:"\u7C97\u7EC6",300:"\u7EC6\u4F53",400:"\u5E38\u89C4\u4F53",500:"\u4E2D\u9ED1\u4F53",700:"\u4E2D\u7C97\u4F53"}},designer:{component:"\u7EC4\u4EF6\u914D\u7F6E",id:"\u552F\u4E00\u503C",name:"\u7F16\u53F7",type:"\u7EC4\u4EF6\u7C7B\u578B",form:"\u8868\u5355\u914D\u7F6E",json:"\u6E32\u67D3\u89C4\u5219",style:"\u6837\u5F0F\u914D\u7F6E",rule:"\u57FA\u7840\u914D\u7F6E",advanced:"\u9AD8\u7EA7\u914D\u7F6E",props:"\u5C5E\u6027\u914D\u7F6E",slots:"\u63D2\u69FD\u914D\u7F6E",customProps:"\u81EA\u5B9A\u4E49\u5C5E\u6027\u914D\u7F6E",validate:"\u9A8C\u8BC1\u914D\u7F6E",event:"\u4E8B\u4EF6\u914D\u7F6E",clearWarn:"\u6E05\u7A7A\u540E\u5C06\u4E0D\u80FD\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6E05\u7A7A\u5417\uFF1F",childEmpty:"\u70B9\u51FB\u53F3\u4E0B\u89D2 \\e789 \u6309\u94AE\u6DFB\u52A0\u4E00\u5217",dragEmpty:"\u62D6\u62FD\u5DE6\u4FA7\u5217\u8868\u4E2D\u7684\u7EC4\u4EF6\u5230\u6B64\u5904",unload:"\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417?",sublist:"\u5B50\u8282\u70B9\u5217\u8868",formList:"\u8868\u5355\u5217\u8868",comList:"\u7EC4\u4EF6\u5217\u8868",addPage:"\u6DFB\u52A0\u6A21\u5757",pageManage:"\u6A21\u5757\u7BA1\u7406",gridLine:"\u8F85\u52A9\u7EBF",main:"\u4E3B\u4F53",layout:"\u5FEB\u901F\u5E03\u5C40",col1:"\u4E00\u5217",col2:"\u4E24\u5217",col3:"\u4E09\u5217",col4:"\u56DB\u5217",print:{title:"\u6253\u5370\u8868\u5355",config:"\u8BBE\u7F6E\u6253\u5370",left:"\u5DE6\u8FB9\u8DDD",right:"\u53F3\u8FB9\u8DDD",top:"\u4E0A\u8FB9\u8DDD",bottom:"\u4E0B\u8FB9\u8DDD",defaultStyle:"\u9ED8\u8BA4\u6837\u5F0F",wordStyle:"\u6587\u6863\u6837\u5F0F",export:"\u5BFC\u51FA PDF"}},menu:{template:"\u6A21\u677F",main:"\u57FA\u7840\u7EC4\u4EF6",aide:"\u8F85\u52A9\u7EC4\u4EF6",layout:"\u5E03\u5C40\u7EC4\u4EF6",component:"\u7EC4\u4EF6",subform:"\u5B50\u8868\u5355\u7EC4\u4EF6",container:"\u5BB9\u5668\u7EC4\u4EF6",chart:"\u56FE\u8868\u7EC4\u4EF6",tree:"\u5927\u7EB2"},formula:{math:"\u6570\u5B57\u5904\u7406",string:"\u6587\u672C\u5904\u7406",date:"\u65F6\u95F4\u5904\u7406",collection:"\u5408\u96C6\u5904\u7406",condition:"\u903B\u8F91\u5904\u7406",ADD:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u76F8\u52A0\u7684\u503C",SUB:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u76F8\u51CF\u7684\u503C",MUL:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u76F8\u4E58\u7684\u503C",DIV:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u76F8\u9664\u7684\u503C",SUM:"\u83B7\u53D6\u5408\u96C6\u4E2D\u6570\u503C\u7684\u603B\u548C",MAX:"\u83B7\u53D6\u53C2\u6570\u5217\u8868\u4E2D\u7684\u6700\u5927\u503C",MIN:"\u83B7\u53D6\u53C2\u6570\u5217\u8868\u4E2D\u7684\u6700\u5C0F\u503C",ABS:"\u83B7\u53D6\u6570\u5B57\u7684\u7EDD\u5BF9\u503C",AVG:"\u83B7\u53D6\u53C2\u6570\u5217\u8868\u7684\u5E73\u5747\u503C",POWER:"\u83B7\u53D6\u6307\u5B9A\u6570\u5B57\u7684\u4E58\u5E42",RAND:"\u83B7\u53D6\u4E00\u4E2A\u5927\u4E8E\u7B49\u4E8E0\u4E14\u5C0F\u4E8E1\u7684\u968F\u673A\u6570",PI:"\u83B7\u53D6\u5706\u5468\u7387",ROUND:"\u5C06\u4E00\u4E2A\u5C0F\u6570\u56DB\u820D\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570",SQRT:"\u83B7\u53D6\u4E00\u4E2A\u6570\u5B57\u7684\u6B63\u5E73\u65B9\u6839",NOW:"\u83B7\u53D6\u5F53\u524D\u7684\u65F6\u95F4",TODAY:"\u83B7\u53D6\u4ECA\u5929\u7684\u65E5\u671F",YEAR:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u5E74\u4EFD",MONTH:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u6708\u4EFD",DAY:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u5929\u6570",HOUR:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u5C0F\u65F6\u6570",MINUTE:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u5206\u949F\u6570",SECOND:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u79D2\u6570",DIFFDAYS:"\u83B7\u53D6\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570",DIFFHOURS:"\u83B7\u53D6\u4E24\u4E2A\u65F6\u95F4\u4E4B\u95F4\u7684\u5C0F\u65F6\u6570,\u4FDD\u7559\u4E24\u4F4D\u5C0F\u6570",DIFFMINUTES:"\u83B7\u53D6\u4E24\u4E2A\u65F6\u95F4\u4E4B\u95F4\u7684\u5206\u949F\u6570",ADDYEAR:"\u589E\u52A0\u6307\u5B9A\u65E5\u671F\u7684\u5E74\u4EFD",ADDMONTH:"\u589E\u52A0\u6307\u5B9A\u65E5\u671F\u7684\u6708\u4EFD",ADDDAY:"\u589E\u52A0\u6307\u5B9A\u65E5\u671F\u7684\u5929\u6570",ADDWEEK:"\u589E\u52A0\u6307\u5B9A\u65E5\u671F\u7684\u5468\u6570",ADDHOUR:"\u589E\u52A0\u6307\u5B9A\u65F6\u95F4\u7684\u5C0F\u65F6\u6570",ADDMINUTE:"\u589E\u52A0\u6307\u5B9A\u65F6\u95F4\u7684\u5206\u949F\u6570",ADDSECOND:"\u589E\u52A0\u6307\u5B9A\u65F6\u95F4\u7684\u79D2\u6570",SUBYEAR:"\u51CF\u5C11\u6307\u5B9A\u65E5\u671F\u7684\u5E74\u4EFD",SUBMONTH:"\u51CF\u5C11\u6307\u5B9A\u65E5\u671F\u7684\u6708\u4EFD",SUBDAY:"\u51CF\u5C11\u6307\u5B9A\u65E5\u671F\u7684\u5929\u6570",SUBWEEK:"\u51CF\u5C11\u6307\u5B9A\u65E5\u671F\u7684\u5468\u6570",SUBHOUR:"\u51CF\u5C11\u6307\u5B9A\u65F6\u95F4\u7684\u5C0F\u65F6\u6570",SUBMINUTE:"\u51CF\u5C11\u6307\u5B9A\u65F6\u95F4\u7684\u5206\u949F\u6570",SUBSECOND:"\u51CF\u5C11\u6307\u5B9A\u65F6\u95F4\u7684\u79D2\u6570",TIMESTAMP:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u65F6\u95F4\u6233",STARTSWITH:"\u68C0\u67E5\u5B57\u7B26\u4E32\u662F\u5426\u4EE5\u6307\u5B9A\u5B57\u7B26\u4E32\u5F00\u5934",EMPTY:"\u68C0\u67E5\u53C2\u6570\u662F\u5426\u4E3A\u7A7A",NOTEMPTY:"\u68C0\u67E5\u53C2\u6570\u662F\u5426\u4E0D\u4E3A\u7A7A",LEN:"\u83B7\u53D6\u6307\u5B9A\u5408\u96C6\u7684\u957F\u5EA6",MOD:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u7684\u4F59\u6570",FLOOR:"\u83B7\u53D6\u6307\u5B9A\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u503C",CEIL:"\u83B7\u53D6\u6307\u5B9A\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u503C",FIXED:"\u5C06\u4E00\u4E2A\u5C0F\u6570\u4FDD\u7559\u6307\u5B9A\u4F4D\u6570\u7684\u5C0F\u6570",ISNUMBER:"\u68C0\u67E5\u53C2\u6570\u662F\u5426\u4E3A\u6570\u5B57",TONUMBER:"\u5C06\u53C2\u6570\u8F6C\u6362\u4E3A\u6570\u5B57",SLICELEFT:"\u83B7\u53D6\u4E00\u4E2A\u5B57\u7B26\u4E32\u4ECE\u5F00\u5934\u5F00\u59CB\u6307\u5B9A\u957F\u5EA6\u7684\u5B57\u7B26\u4E32",SLICERIGHT:"\u83B7\u53D6\u4E00\u4E2A\u5B57\u7B26\u4E32\u4ECE\u7ED3\u5C3E\u5F00\u59CB\u6307\u5B9A\u957F\u5EA6\u7684\u5B57\u7B26\u4E32",TOLOWER:"\u5C06\u5B57\u7B26\u4E32\u4E2D\u6240\u6709\u5927\u5199\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5C0F\u5199\u5B57\u6BCD",TOUPPER:"\u5C06\u5B57\u7B26\u4E32\u4E2D\u6240\u6709\u5C0F\u5199\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5927\u5199\u5B57\u6BCD",INCLUDES:"\u68C0\u67E5\u5B57\u7B26\u4E32\u4E2D\u662F\u5426\u5305\u542B\u6307\u5B9A\u5B57\u7B26\u4E32",REPLACE:"\u5C06\u5B57\u7B26\u4E32\u4E2D\u7684\u90E8\u5206\u6587\u672C\u66FF\u6362\u4E3A\u4E0D\u540C\u7684\u6587\u672C,\u53EA\u66FF\u6362\u5339\u914D\u5230\u7684\u7B2C\u4E00\u4E2A",REPLACEALL:"\u5C06\u5B57\u7B26\u4E32\u4E2D\u7684\u90E8\u5206\u6587\u672C\u66FF\u6362\u4E3A\u4E0D\u540C\u7684\u6587\u672C,\u66FF\u6362\u6240\u6709\u5339\u914D\u5230\u7684",TRIM:"\u5C06\u5B57\u7B26\u4E32\u524D\u540E\u7684\u7A7A\u683C\u5220\u9664",TOCHINSESAMOUNT:"\u83B7\u53D6\u6307\u5B9A\u6570\u5B57\u7684\u4E2D\u6587\u5927\u5199\u91D1\u989D",UNION:"\u5C06\u5408\u96C6/\u53C2\u6570\u4E2D\u7684\u503C\u53BB\u91CD,\u8FD4\u56DE\u53BB\u91CD\u540E\u7684\u5408\u96C6",INTERSECTIONSET:"\u83B7\u53D6\u4E24\u4E2A\u96C6\u5408\u7684\u4EA4\u96C6",LIST:"\u83B7\u53D6\u6240\u6709\u53C2\u6570\u7EC4\u6210\u7684\u96C6\u5408",AND:'\u5C06\u8868\u8FBE\u5F0F\u7528"\u5E76\u4E14"\u94FE\u63A5,\u5F53\u6240\u6709\u8868\u8FBE\u5F0F\u5747\u4E3Atrue\u65F6\u8FD4\u56DEtrue\uFF0C\u5426\u5219\u8FD4\u56DEfalse',OR:'\u5C06\u8868\u8FBE\u5F0F\u7528"\u6216"\u94FE\u63A5,\u5F53\u6709\u4E00\u4E2A\u8868\u8FBE\u5F0F\u4E3Atrue\u65F6\u8FD4\u56DEtrue\uFF0C\u5426\u5219\u8FD4\u56DEfalse',IF:"\u68C0\u67E5\u4E00\u4E2A\u6761\u4EF6\u80FD\u5426\u6EE1\u8DB3,\u5982\u679C\u6EE1\u8DB3\u8FD4\u56DE\u7B2C\u4E8C\u4E2A\u53C2\u6570\uFF0C\u5426\u5219\u8FD4\u56DE\u7B2C\u4E09\u4E2A\u53C2\u6570",IN:"\u68C0\u67E5\u7B2C\u4E8C\u4E2A\u53C2\u6570\u662F\u5426\u5728\u5408\u96C6\u4E2D",DEFAULT:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u53C2\u6570,\u5982\u679C\u4E3A\u7A7A\u8FD4\u56DE\u7B2C\u4E8C\u4E2A\u53C2\u6570,\u5426\u5219\u8FD4\u56DE\u7B2C\u4E00\u4E2A\u53C2\u6570",CASE:"\u68C0\u67E5\u662F\u5426\u6EE1\u8DB3\u4E00\u4E2A\u6216\u591A\u4E2A\u6761\u4EF6\uFF0C\u8FD4\u56DE\u7B2C\u4E00\u4E2A\u6EE1\u8DB3\u6761\u4EF6\u7684\u503C",COLUMN:"\u83B7\u53D6\u5B50\u8868\u5355\u4E2D\u6307\u5B9A\u5B57\u6BB5\u5E76\u8FD4\u56DE\u5408\u96C6",VALUE:"\u83B7\u53D6\u5206\u7EC4\u8868\u5355\u4E2D\u6307\u5B9A\u5B57\u6BB5",CONCAT:"\u5C06\u6240\u6709\u53C2\u6570\u62FC\u63A5,\u8FD4\u56DE\u62FC\u63A5\u540E\u7684\u5B57\u7B26\u4E32",FALSE:"\u8FD4\u56DE\u903B\u8F91\u503C false",TRUE:"\u8FD4\u56DE\u903B\u8F91\u503C true",NOT:"\u83B7\u53D6\u67D0\u4E2A\u903B\u8F91\u503C\u7684\u76F8\u53CD\u503C",EQ:"\u68C0\u67E5\u4E24\u4E2A\u503C\u662F\u5426\u76F8\u7B49",NE:"\u68C0\u67E5\u4E24\u4E2A\u503C\u662F\u5426\u4E0D\u76F8\u7B49",GE:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u503C\u662F\u5426\u5927\u4E8E\u7B49\u4E8E\u53E6\u4E00\u4E2A\u503C",GT:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u503C\u662F\u5426\u5927\u4E8E\u53E6\u4E00\u4E2A\u503C",LE:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u503C\u662F\u5426\u5C0F\u4E8E\u7B49\u4E8E\u53E6\u4E00\u4E2A\u503C",LT:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u503C\u662F\u5426\u5C0F\u4E8E\u53E6\u4E00\u4E2A\u503C"},language:{name:"\u56FD\u9645\u5316\u914D\u7F6E",add:"\u65B0\u589E\u8BCD\u6761",batchRemove:"\u6279\u91CF\u5220\u9664",select:"\u9009\u62E9\u591A\u8BED\u8A00"},props:{circle:"\u5706\u5F62",square:"\u6B63\u65B9\u5F62",image:"\u56FE\u7247",video:"\u89C6\u9891",audio:"\u97F3\u9891",document:"\u6587\u6863",size:"\u5C3A\u5BF8",info:"\u63D0\u793A",success:"\u6210\u529F",error:"\u5931\u8D25",warning:"\u8B66\u544A",primary:"\u91CD\u8981",danger:"\u5371\u9669",form:"\u8868\u5355",subform:"\u5B50\u8868\u5355",other:"\u5176\u4ED6",model:"\u5F39\u7A97",field:"\u6570\u636E\u96C6",variable:"\u53D8\u91CF",disabled:"\u7981\u7528",enable:"\u542F\u7528",time:"\u65F6\u95F4",email:"\u90AE\u7BB1",number:"\u6570\u5B57",globalData:"\u5168\u5C40\u6570\u636E",mobile:"\u79FB\u52A8\u7AEF",reactive:"\u54CD\u5E94\u5F0F",pc:"\u7535\u8111\u7AEF",title:"\u6807\u9898",content:"\u5185\u5BB9",collection:"\u5408\u96C6",group:"\u5206\u7EC4",custom:"\u81EA\u5B9A\u4E49",change:"\u6539\u53D8",blur:"\u5931\u53BB\u7126\u70B9",preview:"\u9884\u89C8",clear:"\u6E05\u7A7A",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",ok:"\u786E\u5B9A",save:"\u4FDD\u5B58",refresh:"\u5237\u65B0",submit:"\u63D0\u4EA4",reset:"\u91CD\u7F6E",copy:"\u590D\u5236",delete:"\u5220\u9664",hide:"\u9690\u85CF",show:"\u663E\u793A",position:"\u4F4D\u7F6E",render:"\u6E32\u67D3",large:"\u5927",default:"\u9ED8\u8BA4",small:"\u5C0F",always:"\u5E38\u663E",never:"\u4E0D\u663E\u793A",hover:"\u60AC\u6D6E",click:"\u70B9\u51FB",button:"\u6309\u94AE",year:"\u5E74\u4EFD",month:"\u6708\u4EFD",date:"\u65E5\u671F",dates:"\u65E5\u671F\u591A\u9009",week:"\u4E00\u5468",datetime:"\u65E5\u671F\u65F6\u95F4","datetime-local":"\u65E5\u671F\u65F6\u95F4",datetimerange:"\u65E5\u671F\u65F6\u95F4\u533A\u95F4",daterange:"\u65E5\u671F\u533A\u95F4",monthrange:"\u6708\u4EFD\u533A\u95F4",left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",top:"\u9876\u90E8",bottom:"\u5E95\u90E8",text:"\u6587\u5B57",icon:"\u56FE\u6807",picture:"\u56FE\u7247","picture-card":"\u5361\u7247",center:"\u5C45\u4E2D",vertical:"\u7AD6\u5411",horizontal:"\u6A2A\u5411",manage:"\u7BA1\u7406",key:"\u952E\u540D",name:"\u540D\u79F0",value:"\u503C",inputData:"\u9ED8\u8BA4\u503C",append:"\u63D2\u5165",options:"\u9009\u9879\u6570\u636E",option:"\u9009\u9879",callback:"\u56DE\u8C03",mode:"\u6A21\u5F0F",style:"\u6837\u5F0F",print:"\u6253\u5370",_self:"\u5F53\u524D\u7A97\u53E3",_blank:"\u65B0\u7684\u7A97\u53E3",_parent:"\u7236\u7EA7\u7A97\u53E3",_top:"\u9876\u7EA7\u7A97\u53E3"},slots:{prefix:"\u5934\u90E8\u5185\u5BB9",suffix:"\u5C3E\u90E8\u5185\u5BB9",prepend:"\u524D\u7F6E\u5185\u5BB9",append:"\u540E\u7F6E\u5185\u5BB9"},behavior:{add:"\u6DFB\u52A0\u52A8\u4F5C",props:{id:"\u9009\u62E9\u7EC4\u4EF6",status:"\u72B6\u6001",compute:"\u6761\u4EF6",static:"\u9759\u6001",formula:"\u8868\u8FBE\u5F0F",setFormula:"\u914D\u7F6E\u8868\u8FBE\u5F0F",continue:"\u7EE7\u7EED\u6267\u884C\u52A8\u4F5C",stop:"\u4E2D\u65AD\u6267\u884C\u52A8\u4F5C",break:"\u8DF3\u8FC7\u5F53\u524D\u52A8\u4F5C",model:"\u9009\u62E9\u5F39\u7A97",fetch:"\u914D\u7F6E\u8BF7\u6C42",response:"\u8BF7\u6C42\u7ED3\u679C",callback:"\u81EA\u5B9A\u4E49JS",ignoreError:"\u6267\u884C\u5F02\u5E38",expression:"\u6267\u884C\u6761\u4EF6",stopPropagation:"\u963B\u65AD\u6761\u4EF6",execute:"\u6267\u884C\u52A8\u4F5C",info:"\u52A8\u4F5C\u8BF4\u660E"},openModel:{name:"\u6253\u5F00\u5F39\u7A97",info:"\u6253\u5F00\u6240\u9009\u7684\u5F39\u7A97"},closeModel:{name:"\u5173\u95ED\u5F39\u7A97",info:"\u5173\u95ED\u5F53\u524D\u5F39\u7A97"},hidden:{name:"\u7EC4\u4EF6\u53EF\u89C1\u6027",info:"\u63A7\u5236\u6240\u9009\u7684\u7EC4\u4EF6\u7684\u663E\u793A/\u9690\u85CF"},disabled:{name:"\u7EC4\u4EF6\u53EF\u7528\u6027",info:"\u63A7\u5236\u6240\u9009\u7684\u7EC4\u4EF6\u7684\u542F\u7528/\u7981\u7528"},resetFields:{name:"\u91CD\u7F6E\u8868\u5355",info:"\u91CD\u7F6E\u8868\u5355\u6570\u636E"},clearFields:{name:"\u6E05\u7A7A\u8868\u5355",info:"\u6E05\u7A7A\u8868\u5355\u6570\u636E"},validate:{name:"\u6821\u9A8C\u8868\u5355",info:"\u5BF9\u6574\u4E2A\u8868\u5355\u7684\u5185\u5BB9\u8FDB\u884C\u6821\u9A8C"},validateFields:{name:"\u6821\u9A8C\u8868\u5355\u9879",info:"\u6821\u9A8C\u6240\u9009\u7684\u7684\u8868\u5355\u9879"},setValue:{name:"\u8868\u5355\u8D4B\u503C",info:"\u4FEE\u6539\u8868\u5355\u7684\u6570\u636E"},fetch:{name:"\u53D1\u9001\u8BF7\u6C42",info:"\u914D\u7F6E\u5E76\u53D1\u9001API\u8BF7\u6C42",props:{append:"\u8FFD\u52A0\u8868\u5355\u6570\u636E"},warning:{append:"\u5F00\u542F\u540E\uFF0C\u8FDC\u7A0B\u8BF7\u6C42\u8FD4\u56DE\u7684\u6570\u636E\u5C06\u81EA\u52A8\u8FFD\u52A0\u5230\u8868\u5355\u7684\u6570\u636E\u4E2D\u3002",response:"\u8FDC\u7A0B\u8BF7\u6C42\u8FD4\u56DE\u7684\u6570\u636E\u5C06\u6682\u5B58\u5230\u6307\u5B9A\u7684\u53D8\u91CF\u4E2D\u3002"}},copy:{name:"\u590D\u5236\u5185\u5BB9",info:"\u590D\u5236\u6587\u672C\u5185\u5BB9\u81F3\u7C98\u8D34\u677F"},callback:{name:"\u81EA\u5B9A\u4E49\u64CD\u4F5C",info:"\u901A\u8FC7JavaScript\u81EA\u5B9A\u4E49\u52A8\u4F5C\u903B\u8F91"},message:{name:"\u6D88\u606F\u63D0\u9192",info:"\u5F39\u51FA\u6D88\u606F\u63D0\u9192",props:{type:"\u7C7B\u578B",message:"\u63D0\u793A\u4FE1\u606F",duration:"\u6301\u7EED\u65F6\u95F4(ms)",showClose:"\u663E\u793A\u5173\u95ED\u6309\u94AE"}},submit:{name:"\u63D0\u4EA4\u8868\u5355",info:"\u624B\u52A8\u63D0\u4EA4\u8868\u5355\u5E76\u89E6\u53D1\u8868\u5355\u63D0\u4EA4\u4E8B\u4EF6"}},com:{cascader:{name:"\u7EA7\u8054\u9009\u62E9\u5668",event:{expandChange:"\u5F53\u5C55\u5F00\u8282\u70B9\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",removeTag:"\u5728\u591A\u9009\u6A21\u5F0F\u4E0B\uFF0C\u79FB\u9664Tag\u65F6\u89E6\u53D1"},props:{props:"\u914D\u7F6E\u9009\u9879",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u652F\u6301\u6E05\u7A7A\u9009\u9879",showAllLevels:"\u8F93\u5165\u6846\u4E2D\u662F\u5426\u663E\u793A\u9009\u4E2D\u503C\u7684\u5B8C\u6574\u8DEF\u5F84",collapseTags:"\u591A\u9009\u6A21\u5F0F\u4E0B\u662F\u5426\u6298\u53E0Tag",collapseTagsTooltip:"\u5F53\u9F20\u6807\u60AC\u505C\u4E8E\u6298\u53E0\u6807\u7B7E\u7684\u6587\u672C\u65F6\uFF0C\u662F\u5426\u663E\u793A\u6240\u6709\u9009\u4E2D\u7684\u6807\u7B7E",separator:"\u9009\u9879\u5206\u9694\u7B26",filterable:"\u8BE5\u9009\u9879\u662F\u5426\u53EF\u4EE5\u88AB\u641C\u7D22",tagType:"\u6807\u7B7E\u7C7B\u578B"},propsOpt:{multiple:"\u662F\u5426\u591A\u9009",expandTrigger:"\u6B21\u7EA7\u83DC\u5355\u7684\u5C55\u5F00\u65B9\u5F0F",checkStrictly:"\u662F\u5426\u4E25\u683C\u7684\u9075\u5B88\u7236\u5B50\u8282\u70B9\u4E0D\u4E92\u76F8\u5173\u8054",emitPath:"\u5728\u9009\u4E2D\u8282\u70B9\u6539\u53D8\u65F6\uFF0C\u662F\u5426\u8FD4\u56DE\u7531\u8BE5\u8282\u70B9\u6240\u5728\u7684\u5404\u7EA7\u83DC\u5355\u7684\u503C\u6240\u7EC4\u6210\u7684\u6570\u7EC4",value:"\u6307\u5B9A\u9009\u9879\u7684\u503C\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",label:"\u6307\u5B9A\u9009\u9879\u6807\u7B7E\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",children:"\u6307\u5B9A\u9009\u9879\u7684\u5B50\u9009\u9879\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",disabled:"\u6307\u5B9A\u9009\u9879\u7684\u7981\u7528\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",leaf:"\u6307\u5B9A\u9009\u9879\u7684\u53F6\u5B50\u8282\u70B9\u7684\u6807\u5FD7\u4F4D\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C"}},checkbox:{name:"\u591A\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",type:"\u6309\u94AE\u7C7B\u578B",disabled:"\u662F\u5426\u7981\u7528",min:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5C0F\u6570\u91CF",max:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5927\u6570\u91CF",textColor:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u5B57\u4F53\u989C\u8272",fill:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u8FB9\u6846\u548C\u80CC\u666F\u989C\u8272"}},col:{name:"\u5E03\u5C40\u683C\u5B50",info:"\u901A\u8FC7\u54CD\u5E94\u5F0F\u914D\u7F6E\u591A\u7AEF\u5E03\u5C40\uFF0C\u79FB\u52A8\u7AEF\u4F1A\u81EA\u52A8\u5E94\u7528\u7B2C\u4E00\u4E2A",props:{span:"\u6805\u683C\u5360\u636E\u7684\u5217\u6570",offset:"\u6805\u683C\u5DE6\u4FA7\u7684\u95F4\u9694\u683C\u6570",push:"\u6805\u683C\u5411\u53F3\u79FB\u52A8\u683C\u6570",pull:"\u6805\u683C\u5411\u5DE6\u79FB\u52A8\u683C\u6570"}},colorPicker:{name:"\u989C\u8272\u9009\u62E9\u5668",event:{activeChange:"\u9762\u677F\u4E2D\u5F53\u524D\u663E\u793A\u7684\u989C\u8272\u53D1\u751F\u6539\u53D8\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",showAlpha:"\u662F\u5426\u652F\u6301\u900F\u660E\u5EA6\u9009\u62E9",colorFormat:"\u989C\u8272\u7684\u683C\u5F0F",predefine:"\u9884\u5B9A\u4E49\u989C\u8272"}},datePicker:{name:"\u65E5\u671F",props:{pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",type:"\u663E\u793A\u7C7B\u578B",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u7ED3\u675F\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",format:"\u663E\u793A\u5728\u8F93\u5165\u6846\u4E2D\u7684\u683C\u5F0F",align:"\u5BF9\u9F50\u65B9\u5F0F",rangeSeparator:"\u9009\u62E9\u8303\u56F4\u65F6\u7684\u5206\u9694\u7B26",unlinkPanels:"\u5728\u8303\u56F4\u9009\u62E9\u5668\u91CC\u53D6\u6D88\u4E24\u4E2A\u65E5\u671F\u9762\u677F\u4E4B\u95F4\u7684\u8054\u52A8"}},dateRange:{name:"\u65E5\u671F\u533A\u95F4"},timeRange:{name:"\u65F6\u95F4\u533A\u95F4"},elAlert:{name:"\u63D0\u793A",description:"\u8BF4\u660E\u6587\u5B57",props:{title:"\u6807\u9898",type:"\u4E3B\u9898",description:"\u8F85\u52A9\u6027\u6587\u5B57",closable:"\u662F\u5426\u53EF\u5173\u95ED",center:"\u6587\u5B57\u662F\u5426\u5C45\u4E2D",closeText:"\u5173\u95ED\u6309\u94AE\u81EA\u5B9A\u4E49\u6587\u672C",showIcon:"\u662F\u5426\u663E\u793A\u56FE\u6807",effect:"\u9009\u62E9\u63D0\u4F9B\u7684\u4E3B\u9898"}},elButton:{name:"\u6309\u94AE",props:{formCreateChild:"\u5185\u5BB9",size:"\u5C3A\u5BF8",type:"\u7C7B\u578B",plain:"\u662F\u5426\u6734\u7D20\u6309\u94AE",round:"\u662F\u5426\u5706\u89D2\u6309\u94AE",circle:"\u662F\u5426\u5706\u5F62\u6309\u94AE",loading:"\u662F\u5426\u52A0\u8F7D\u4E2D\u72B6\u6001",disabled:"\u662F\u5426\u7981\u7528\u72B6\u6001"}},elCard:{name:"\u5361\u7247",props:{header:"\u6807\u9898",shadow:"\u9634\u5F71\u663E\u793A\u65F6\u673A"}},elCollapse:{name:"\u6298\u53E0\u9762\u677F",event:{change:"\u5207\u6362\u5F53\u524D\u6D3B\u52A8\u9762\u677F\uFF0C\u5728\u624B\u98CE\u7434\u6A21\u5F0F\u4E0B\u5176\u7C7B\u578B\u662Fstring\uFF0C\u5728\u5176\u4ED6\u6A21\u5F0F\u4E0B\u662Farray"},props:{accordion:"\u662F\u5426\u624B\u98CE\u7434\u6A21\u5F0F"}},elCollapseItem:{name:"\u9762\u677F",props:{title:"\u9762\u677F\u6807\u9898",name:"\u552F\u4E00\u6807\u5FD7\u7B26",disabled:"\u662F\u5426\u7981\u7528"}},elDescriptions:{name:"\u63CF\u8FF0\u5217\u8868",props:{title:"\u6807\u9898\u6587\u672C\uFF0C\u663E\u793A\u5728\u5DE6\u4E0A\u65B9",extra:"\u64CD\u4F5C\u533A\u6587\u672C\uFF0C\u663E\u793A\u5728\u53F3\u4E0A\u65B9",column:"\u4E00\u884C\u4E2D\u8868\u683C\u7684\u6570\u91CF",border:"\u662F\u5426\u5E26\u6709\u8FB9\u6846",direction:"\u6392\u5217\u7684\u65B9\u5411",size:"\u5217\u8868\u7684\u5C3A\u5BF8"}},elDescriptionsItem:{name:"\u63CF\u8FF0\u683C\u5B50",props:{label:"\u6807\u7B7E\u6587\u672C",__child:"\u5185\u5BB9",span:"\u5217\u7684\u6570\u91CF",width:"\u5217\u7684\u5BBD\u5EA6\uFF0C\u4E0D\u540C\u884C\u76F8\u540C\u5217\u7684\u5BBD\u5EA6\u6309\u6700\u5927\u503C\u8BBE\u5B9A\uFF08\u5982\u65E0 border \uFF0C\u5BBD\u5EA6\u5305\u542B\u6807\u7B7E\u4E0E\u5185\u5BB9",minWidth:"\u5217\u7684\u6700\u5C0F\u5BBD\u5EA6",align:"\u5217\u7684\u5185\u5BB9\u5BF9\u9F50\u65B9\u5F0F\uFF08\u5982\u65E0 border\uFF0C\u5BF9\u6807\u7B7E\u548C\u5185\u5BB9\u5747\u751F\u6548\uFF09",labelAlign:"\u5217\u7684\u6807\u7B7E\u5BF9\u9F50\u65B9\u5F0F\uFF0C\u82E5\u4E0D\u8BBE\u7F6E\u8BE5\u9879\uFF0C\u5219\u4F7F\u7528\u5185\u5BB9\u7684\u5BF9\u9F50\u65B9\u5F0F\uFF08\u5982\u65E0 border\uFF0C\u8BF7\u4F7F\u7528 align \u53C2\u6570\uFF09",className:"\u5217\u7684\u5185\u5BB9\u81EA\u5B9A\u4E49\u7C7B\u540D"}},elDivider:{name:"\u5206\u5272\u7EBF",props:{direction:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u65B9\u5411",formCreateChild:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848",contentPosition:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848\u7684\u4F4D\u7F6E"}},elTabPane:{name:"\u9009\u9879\u5361",props:{label:"\u9009\u9879\u5361\u6807\u9898",disabled:"\u662F\u5426\u7981\u7528",name:"\u9009\u9879\u5361\u7684\u6807\u8BC6\u7B26",lazy:"\u6807\u7B7E\u662F\u5426\u5EF6\u8FDF\u6E32\u67D3"}},elTabs:{name:"\u6807\u7B7E\u9875",event:{tabClick:"tab \u88AB\u9009\u4E2D\u65F6\u89E6\u53D1",tabChange:"activeName \u6539\u53D8\u65F6\u89E6\u53D1",tabRemove:"\u70B9\u51FB tab \u79FB\u9664\u6309\u94AE\u65F6\u89E6\u53D1",tabAdd:"\u70B9\u51FB tab \u65B0\u589E\u6309\u94AE\u65F6\u89E6\u53D1",edit:"\u70B9\u51FB tab \u7684\u65B0\u589E\u6216\u79FB\u9664\u6309\u94AE\u540E\u89E6\u53D1"},props:{type:"\u98CE\u683C\u7C7B\u578B",closable:"\u6807\u7B7E\u662F\u5426\u53EF\u5173\u95ED",tabPosition:"\u9009\u9879\u5361\u6240\u5728\u4F4D\u7F6E",stretch:"\u6807\u7B7E\u7684\u5BBD\u5EA6\u662F\u5426\u81EA\u6491\u5F00"}},elTag:{name:"\u6807\u7B7E",props:{formCreateChild:"\u6807\u7B7E\u5185\u5BB9",type:"\u6807\u7B7E\u7684\u7C7B\u578B",size:"\u6807\u7B7E\u7684\u5C3A\u5BF8",effect:"\u6807\u7B7E\u7684\u4E3B\u9898",closable:"\u662F\u5426\u53EF\u5173\u95ED",disableTransitions:"\u662F\u5426\u7981\u7528\u6E10\u53D8\u52A8\u753B",hit:"\u662F\u5426\u6709\u8FB9\u6846\u63CF\u8FB9",round:"\u662F\u5426\u4E3A\u5706\u5F62",color:"\u80CC\u666F\u8272"}},elTransfer:{name:"\u7A7F\u68AD\u6846",event:{leftCheckChange:"\u5DE6\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1",rightCheckChange:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1"},props:{filterable:"\u662F\u5426\u53EF\u641C\u7D22",filterPlaceholder:"\u641C\u7D22\u6846\u5360\u4F4D\u7B26",targetOrder:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u7684\u6392\u5E8F\u7B56\u7565",targetOrderInfo:"\u82E5\u4E3A original\uFF0C\u5219\u4FDD\u6301\u4E0E\u6570\u636E\u76F8\u540C\u7684\u987A\u5E8F\uFF1B\u82E5\u4E3A push\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u540E\uFF1B\u82E5\u4E3A unshift\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u524D",titles:"\u81EA\u5B9A\u4E49\u5217\u8868\u6807\u9898",buttonTexts:"\u81EA\u5B9A\u4E49\u6309\u94AE\u6587\u6848",props:"\u6570\u636E\u6E90\u7684\u5B57\u6BB5\u522B\u540D"}},elTreeSelect:{name:"\u6811\u5F62\u9009\u62E9",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",props:"\u914D\u7F6E\u9009\u9879",checkStrictly:"\u5728\u663E\u793A\u590D\u9009\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u4E25\u683C\u7684\u9075\u5FAA\u7236\u5B50\u4E0D\u4E92\u76F8\u5173\u8054\u7684\u505A\u6CD5",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},elLink:{name:"\u94FE\u63A5",props:{formCreateChild:"\u5185\u5BB9",href:"\u8DF3\u8F6C\u94FE\u63A5",type:"\u7C7B\u578B",underline:"\u662F\u5426\u663E\u793A\u4E0B\u5212\u7EBF",disabled:"\u662F\u5426\u7981\u7528",target:"\u6253\u5F00\u65B9\u5F0F"}},elWatermark:{name:"\u6C34\u5370",props:{content:"\u6C34\u5370\u6587\u672C\u5185\u5BB9",image:"\u6C34\u5370\u56FE\u7247\uFF0C\u5EFA\u8BAE\u4F7F\u7528 2x \u6216 3x \u56FE\u50CF",width:"\u6C34\u5370\u7684\u5BBD\u5EA6\uFF0C content \u7684\u9ED8\u8BA4\u503C\u662F\u5B83\u81EA\u5DF1\u7684\u5BBD\u5EA6",height:"\u6C34\u5370\u7684\u9AD8\u5EA6\uFF0C content \u7684\u9ED8\u8BA4\u503C\u662F\u5B83\u81EA\u5DF1\u7684\u9AD8\u5EA6",rotate:"\u6C34\u5370\u7684\u65CB\u8F6C\u89D2\u5EA6, \u5355\u4F4D \xB0",zIndex:"\u6C34\u5370\u5143\u7D20\u7684z-index\u503C",gap:"\u6C34\u5370\u4E4B\u95F4\u7684\u95F4\u8DDD"}},elTooltip:{name:"\u6587\u5B57\u63D0\u793A",props:{content:"\u663E\u793A\u7684\u5185\u5BB9",disabled:"\u662F\u5426\u7981\u7528",rawContent:"\u5185\u5BB9\u662F\u5426\u4F5C\u4E3A HTML \u5B57\u7B26\u4E32\u5904\u7406",enterable:"\u9F20\u6807\u662F\u5426\u53EF\u8FDB\u5165\u5230 Tooltip \u4E2D",effect:"\u4E3B\u9898",placement:"Tooltip \u7EC4\u4EF6\u51FA\u73B0\u7684\u4F4D\u7F6E",trigger:"\u5982\u4F55\u89E6\u53D1 Tooltip",offset:"\u51FA\u73B0\u4F4D\u7F6E\u7684\u504F\u79FB\u91CF",showAfter:"\u5728\u89E6\u53D1\u540E\u591A\u4E45\u663E\u793A\u5185\u5BB9\uFF0C\u5355\u4F4D\u6BEB\u79D2",hideAfter:"\u5EF6\u8FDF\u5173\u95ED\uFF0C\u5355\u4F4D\u6BEB\u79D2",autoClose:"\u51FA\u73B0\u540E\u81EA\u52A8\u9690\u85CF\u5EF6\u65F6\uFF0C\u5355\u4F4D\u6BEB\u79D2"}},elImage:{name:"\u56FE\u7247",props:{src:"\u56FE\u7247\u94FE\u63A5",previewSrcList:"\u9884\u89C8\u56FE\u7247\u5217\u8868"}},elAvatar:{name:"\u5934\u50CF\u6846",props:{src:"\u56FE\u7247\u94FE\u63A5",shape:"\u5F62\u72B6",size:"\u5C3A\u5BF8"}},elMention:{name:"\u63D0\u53CA",event:{search:"\u6309\u4E0B\u89E6\u53D1\u5B57\u6BB5\u65F6\u89E6\u53D1",select:"\u5F53\u7528\u6237\u9009\u62E9\u9009\u9879\u65F6\u89E6\u53D1"},props:{type:"\u7C7B\u578B",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",whole:"\u5F53\u9000\u683C\u952E\u88AB\u6309\u4E0B\u505A\u5220\u9664\u64CD\u4F5C\u65F6\uFF0C\u662F\u5426\u5C06\u63D0\u53CA\u90E8\u5206\u4F5C\u4E3A\u6574\u4F53\u5220\u9664",checkIsWhole:"\u5F53\u9000\u683C\u952E\u88AB\u6309\u4E0B\u505A\u5220\u9664\u64CD\u4F5C\u65F6\uFF0C\u68C0\u67E5\u662F\u5426\u5C06\u63D0\u53CA\u90E8\u5206\u4F5C\u4E3A\u6574\u4F53\u5220\u9664",filterOption:"\u7B5B\u9009\u5668\u9009\u9879\u903B\u8F91"}},elSegmented:{name:"\u5206\u6BB5\u63A7\u5236\u5668",props:{size:"\u5C3A\u5BF8",block:"\u6491\u6EE1\u7236\u5143\u7D20\u5BBD\u5EA6",disabled:"\u662F\u5426\u7981\u7528"}},elFormItem:{name:"\u8868\u5355\u9879",props:{label:"\u6807\u7B7E\u6587\u672C",labelWidth:"\u6807\u7B7E\u5BBD\u5EA6",size:"\u5C3A\u5BF8"}},elStatistic:{name:"\u7EDF\u8BA1\u680F",props:{value:"\u6570\u503C",title:"\u6807\u9898",prefix:"\u6570\u503C\u7684\u524D\u7F00",suffix:"\u6570\u503C\u7684\u540E\u7F00"}},fcTitle:{name:"\u6807\u9898",props:{title:"\u6807\u9898",size:"\u5C3A\u5BF8",align:"\u5BF9\u9F50\u65B9\u5F0F"}},fcId:{name:"\u552F\u4E00\u503C",props:{prefix:"\u524D\u7F00"}},fcCity:{name:"\u7701\u5E02\u533A\u9009\u62E9\u5668",props:{api:"\u6570\u636E\u94FE\u63A5 URI",level:"\u7C7B\u578B",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",filter:"\u6570\u636E\u8FC7\u6EE4,\u8FD4\u56DE\u53EF\u9009\u62E9\u6570\u636E"}},fcCell:{name:"\u683C\u5B50"},fcEditor:{name:"\u5BCC\u6587\u672C\u6846",props:{disabled:"\u662F\u5426\u7981\u7528"}},fcFlex:{name:"\u76D2\u5B50\u5E03\u5C40"},fcFlex2:{name:"\u76D2\u5B50\u5E03\u5C40",horizontal:"\u6C34\u5E73\u5C45\u4E2D",vertical:"\u5782\u76F4\u5C45\u4E2D",left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",reset:"\u91CD\u7F6E\u5E03\u5C40"},fcRow:{name:"\u6805\u683C\u5E03\u5C40",props:{gutter:"\u6805\u683C\u95F4\u9694",type:"flex\u5E03\u5C40\u6A21\u5F0F",justify:"flex\u5E03\u5C40\u4E0B\u7684\u6C34\u5E73\u6392\u5217\u65B9\u5F0F",align:"flex\u5E03\u5C40\u4E0B\u7684\u5782\u76F4\u6392\u5217\u65B9\u5F0F"}},fcDialog:{name:"\u5F39\u51FA\u6846",props:{title:"\u6807\u9898",width:"\u5BF9\u8BDD\u6846\u7684\u5BBD\u5EA6",fullscreen:"\u662F\u5426\u4E3A\u5168\u5C4F",modal:"\u662F\u5426\u9700\u8981\u906E\u7F69\u5C42",autoClose:"\u63D0\u4EA4\u8868\u5355\u540E\u81EA\u52A8\u5173\u95ED\u5F39\u51FA\u6846",footer:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",beforeClose:"\u5173\u95ED\u524D\u7684\u56DE\u8C03"}},fcDrawer:{name:"\u62BD\u5C49",props:{title:"\u6807\u9898",size:"\u5BF9\u8BDD\u6846\u7684\u5BBD\u5EA6",direction:"\u6253\u5F00\u7684\u65B9\u5411",modal:"\u662F\u5426\u9700\u8981\u906E\u7F69\u5C42",autoClose:"\u63D0\u4EA4\u8868\u5355\u540E\u81EA\u52A8\u5173\u95ED\u5F39\u51FA\u6846",footer:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",beforeClose:"\u5173\u95ED\u524D\u7684\u56DE\u8C03"},directionType:{ltr:"\u5DE6\u4FA7",rtl:"\u53F3\u4FA7"}},fcTable:{name:"\u8868\u683C\u5E03\u5C40",props:{mini:"\u7D27\u51D1\u6A21\u5F0F",border:"\u662F\u5426\u663E\u793A\u8FB9\u6846",borderColor:"\u8FB9\u6846\u989C\u8272",borderWidth:"\u8FB9\u6846\u5BBD\u5EA6"}},fcTableGrid:{name:"\u683C\u5B50"},fcValue:{name:"\u8BA1\u7B97\u516C\u5F0F",empty:"\u5728\u53F3\u4FA7\u914D\u7F6E\u4E2D\u8BBE\u7F6E\u8BA1\u7B97\u516C\u5F0F"},fcSlot:{name:"\u63D2\u69FD\u533A\u57DF",empty:"\u901A\u8FC7\u5B9A\u4E49\u63D2\u69FD {tag} \u586B\u5145\u533A\u57DF",props:{name:"\u63D2\u69FD\u540D\u79F0"}},fcJson:{name:"\u52A8\u6001\u533A\u57DF",empty:"\u901A\u8FC7\u52A0\u8F7D {tag} \u89C4\u5219\u586B\u5145\u533A\u57DF",props:{_loadType:"JSON \u89C4\u5219",type:"\u7C7B\u578B"}},lineChart:{name:"\u6298\u7EBF\u56FE",data:"\u56FE\u8868\u6570\u636E",pieTypeOpt:{pie:"\u5706\u5F62",doughnut:"\u73AF\u5F62","half-doughnut":"\u534A\u73AF\u5F62"},funnelSortOpt:{descending:"\u5012\u5E8F",ascending:"\u6B63\u5E8F"},props:{title:"\u56FE\u8868\u7684\u540D\u79F0",subtitle:"\u56FE\u8868\u7684\u7B80\u4ECB",valueFormat:"\u683C\u5F0F\u5316\u6570\u503C\u663E\u793A",stack:"\u591A\u5217\u6570\u636E\u65F6\u662F\u5426\u5806\u53E0",smooth:"\u7EBF\u6761\u662F\u5426\u5E73\u6ED1\u8FC7\u6E21",showLegend:"\u662F\u5426\u663E\u793A\u6807\u8BB0",showSeriesLabel:"\u662F\u5426\u663E\u793A\u6570\u503C",barBackgroundColor:"\u67F1\u72B6\u7684\u80CC\u666F\u8272",funnelSort:"\u6392\u5E8F\u65B9\u5F0F",pieType:"\u5F62\u72B6",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",value:"\u6570\u503C",indicator:"\u6307\u793A\u5668",loadOptions:"\u521D\u59CB\u5316"}},areaChart:{name:"\u4F53\u79EF\u56FE"},barChart:{name:"\u67F1\u72B6\u56FE"},customChart:{name:"\u81EA\u5B9A\u4E49\u56FE\u8868"},funnelChart:{name:"\u6F0F\u6597\u56FE"},gaugeChart:{name:"\u4EEA\u8868\u76D8"},pieChart:{name:"\u997C\u56FE"},radarChart:{name:"\u96F7\u8FBE\u56FE"},scatterChart:{name:"\u6563\u70B9\u56FE"},stripeChart:{name:"\u6761\u5F62\u56FE"},fcInlineForm:{name:"\u884C\u5185\u5E03\u5C40"},group:{name:"\u5B50\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001",expand:"\u8BBE\u7F6E\u9ED8\u8BA4\u5C55\u5F00\u51E0\u9879",button:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",sortBtn:"\u662F\u5426\u663E\u793A\u6392\u5E8F\u6309\u94AE",min:"\u8BBE\u7F6E\u6700\u5C0F\u6DFB\u52A0\u51E0\u9879",max:"\u8BBE\u7F6E\u6700\u591A\u6DFB\u52A0\u51E0\u9879"}},html:{name:"HTML",props:{formCreateChild:"\u5185\u5BB9"}},input:{name:"\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{type:"\u7C7B\u578B",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB"}},inputNumber:{name:"\u6570\u5B57\u8F93\u5165\u6846",props:{precision:"\u6570\u503C\u7CBE\u5EA6",min:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5C0F\u503C",max:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5927\u503C",step:"\u8BA1\u6570\u5668\u6B65\u957F",stepStrictly:"\u662F\u5426\u53EA\u80FD\u8F93\u5165 step \u7684\u500D\u6570",disabled:"\u662F\u5426\u7981\u7528\u8BA1\u6570\u5668",controls:"\u662F\u5426\u4F7F\u7528\u63A7\u5236\u6309\u94AE",controlsPosition:"\u63A7\u5236\u6309\u94AE\u4F4D\u7F6E",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C"}},password:{name:"\u5BC6\u7801\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE"}},radio:{name:"\u5355\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",disabled:"\u662F\u5426\u7981\u7528",type:"\u6309\u94AE\u5F62\u5F0F",textColor:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u6587\u672C\u989C\u8272",fill:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u586B\u5145\u8272\u548C\u8FB9\u6846\u8272"}},rate:{name:"\u8BC4\u5206",props:{max:"\u6700\u5927\u5206\u503C",disabled:"\u662F\u5426\u7981\u7528",allowHalf:"\u662F\u5426\u5141\u8BB8\u534A\u9009",voidColor:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",disabledVoidColor:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",voidIconClass:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",disabledVoidIconClass:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",showScore:"\u662F\u5426\u663E\u793A\u5F53\u524D\u5206\u6570",textColor:"\u8F85\u52A9\u6587\u5B57\u7684\u989C\u8272",scoreTemplate:"\u5206\u6570\u663E\u793A\u6A21\u677F"}},fcDataSelect:{name:"\u5B50\u8868\u5355\u9009\u62E9\u5668"},select:{name:"\u9009\u62E9\u5668",title:"\u8BF7\u9009\u62E9",emptyText:"\u62D6\u62FD\u7EC4\u4EF6\u914D\u7F6E\u641C\u7D22\u6761\u4EF6",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{title:"\u6807\u9898",valueKey:"\u6307\u5B9A\u9009\u9879\u7684\u503C\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",labelKey:"\u6307\u5B9A\u9009\u9879\u6807\u7B7E\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",autoLoad:"\u81EA\u52A8\u89E6\u53D1\u641C\u7D22",multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",filterable:"\u662F\u5426\u53EF\u641C\u7D22",allowCreate:"\u662F\u5426\u5141\u8BB8\u7528\u6237\u521B\u5EFA\u65B0\u6761\u76EE",noMatchText:"\u641C\u7D22\u6761\u4EF6\u65E0\u5339\u914D\u65F6\u663E\u793A\u7684\u6587\u5B57",noDataText:"\u9009\u9879\u4E3A\u7A7A\u65F6\u663E\u793A\u7684\u6587\u5B57",reserveKeyword:"\u591A\u9009\u4E14\u53EF\u641C\u7D22\u65F6\uFF0C\u662F\u5426\u5728\u9009\u4E2D\u4E00\u4E2A\u9009\u9879\u540E\u4FDD\u7559\u5F53\u524D\u7684\u641C\u7D22\u5173\u952E\u8BCD",defaultFirstOption:"\u5728\u8F93\u5165\u6846\u6309\u4E0B\u56DE\u8F66\uFF0C\u9009\u62E9\u7B2C\u4E00\u4E2A\u5339\u914D\u9879",remote:"\u5176\u4E2D\u7684\u9009\u9879\u662F\u5426\u4ECE\u670D\u52A1\u5668\u8FDC\u7A0B\u52A0\u8F7D",remoteMethod:"\u81EA\u5B9A\u4E49\u8FDC\u7A0B\u641C\u7D22\u65B9\u6CD5"}},slider:{name:"\u6ED1\u5757",props:{min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",disabled:"\u662F\u5426\u7981\u7528",step:"\u6B65\u957F",showInput:"\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\uFF0C\u4EC5\u5728\u975E\u8303\u56F4\u9009\u62E9\u65F6\u6709\u6548",showInputControls:"\u5728\u663E\u793A\u8F93\u5165\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\u7684\u63A7\u5236\u6309\u94AE",showStops:"\u662F\u5426\u663E\u793A\u95F4\u65AD\u70B9",range:"\u662F\u5426\u4E3A\u8303\u56F4\u9009\u62E9",vertical:"\u662F\u5426\u7AD6\u5411\u6A21\u5F0F",height:"Slider \u9AD8\u5EA6\uFF0C\u7AD6\u5411\u6A21\u5F0F\u65F6\u5FC5\u586B"}},space:{name:"\u95F4\u8DDD"},stepForm:{name:"\u5206\u6B65\u8868\u5355",event:{next:"\u70B9\u51FB\u4E0B\u4E00\u6B65\u6309\u94AE\u65F6\u89E6\u53D1"},props:{submitBtn:"\u663E\u793A\u63D0\u4EA4\u6309\u94AE",autoValidate:"\u8FDB\u5165\u4E0B\u4E00\u6B65\u524D\u81EA\u52A8\u9A8C\u8BC1\u8868\u5355","stepsProps>alignCenter":"\u8FDB\u884C\u5C45\u4E2D\u5BF9\u9F50","stepsProps>simple":"\u662F\u5426\u5E94\u7528\u7B80\u6D01\u98CE\u683C"}},stepFormItem:{name:"\u6B65\u9AA4\u6761",props:{title:"\u6807\u9898",description:"\u63CF\u8FF0\u6587\u6848"}},subForm:{name:"\u5206\u7EC4",props:{disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001"}},switch:{name:"\u5F00\u5173",slots:{"active-action":"\u6253\u5F00\u65F6\u7684\u5185\u5BB9","inactive-action":"\u5173\u95ED\u65F6\u7684\u5185\u5BB9"},props:{disabled:"\u662F\u5426\u7981\u7528",width:"\u5BBD\u5EA6\uFF08px\uFF09",activeText:"\u6253\u5F00\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",inactiveText:"\u5173\u95ED\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",activeValue:"\u6253\u5F00\u65F6\u7684\u503C",inactiveValue:"\u5173\u95ED\u65F6\u7684\u503C",activeColor:"\u6253\u5F00\u65F6\u7684\u80CC\u666F\u8272",inactiveColor:"\u5173\u95ED\u65F6\u7684\u80CC\u666F\u8272"}},tableForm:{name:"\u8868\u683C\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",filterEmptyColumn:"\u662F\u5426\u8FC7\u6EE4\u7A7A\u884C\u7684\u6570\u636E",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",min:"\u6700\u5C11\u6DFB\u52A0\u51E0\u884C",size:"\u5C3A\u5BF8",emptyText:"\u7A7A\u6570\u636E\u65F6\u663E\u793A\u7684\u6587\u672C\u5185\u5BB9",height:"\u9AD8\u5EA6",showIndex:"\u663E\u793A\u884C\u53F7",stripe:"\u663E\u793A\u6591\u9A6C\u7EB9",border:"\u8FB9\u6846",button:"\u64CD\u4F5C\u6309\u94AE",page:"\u5206\u9875",addable:"\u5141\u8BB8\u65B0\u589E",deletable:"\u5141\u8BB8\u5220\u9664",newColumn:"\u9ED8\u8BA4\u663E\u793A\u65B0\u884C","button>column":"\u6309\u94AE\u7BA1\u7406","button>label":"\u64CD\u4F5C","button>fixed":"\u4F4D\u7F6E","button>width":"\u5217\u7684\u5BBD\u5EA6","page>props>pageSize":"\u6BCF\u9875\u663E\u793A\u6761\u76EE\u4E2A\u6570","page>props>small":"\u4F7F\u7528\u5C0F\u578B\u5206\u9875\u6837\u5F0F","page>props>background":"\u4E3A\u5206\u9875\u6309\u94AE\u6DFB\u52A0\u80CC\u666F\u8272"}},tableFormPro:{name:"\u8868\u683C\u8868\u5355Pro",event:{handleClick:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6"}},nestedTableForm:{name:"\u5D4C\u5957\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",nestedMax:"\u5B50\u8868\u5355\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236"}},infiniteTableForm:{name:"\u65E0\u9650\u7EA7\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",childrenField:"\u8BBE\u7F6E\u5B50\u7EA7\u7684\u5B57\u6BB5\u540D",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",layerMax:"\u6700\u591A\u6DFB\u52A0\u51E0\u5C42\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236"}},nestedSubTableForm:{name:"\u5B50\u8868\u683C\u8868\u5355"},tableFormColumn:{name:"\u8868\u683C\u683C\u5B50",label:"\u81EA\u5B9A\u4E49\u540D\u79F0",props:{label:"\u6807\u9898",header:"\u8868\u5934",fixed:"\u4F4D\u7F6E",width:"\u5BBD\u5EA6",color:"\u989C\u8272",hidden:"\u662F\u5426\u9690\u85CF",required:"\u662F\u5426\u663E\u793A\u5FC5\u586B\u661F\u53F7"}},tableFormColumn2:{name:"\u8868\u683C\u683C\u5B50",header:"\u914D\u7F6E\u5F53\u524D\u5217\u7684\u8868\u5934\u540D\u79F0\uFF0C\u91CD\u590D\u7684\u8868\u5934\u5C06\u81EA\u52A8\u5408\u5E76\u3002"},dataTable:{name:"\u6570\u636E\u8868\u683C",handle:"\u7981\u7528\u903B\u8F91",click:"\u70B9\u51FB\u4E8B\u4EF6",filter:"\u7B5B\u9009",header:"\u8868\u5934",event:{cellMouseEnter:"\u5F53\u5355\u5143\u683C hover \u8FDB\u5165\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",cellMouseLeave:"\u5F53\u5355\u5143\u683C hover \u9000\u51FA\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",handleClick:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",rowClick:"\u5F53\u67D0\u4E00\u884C\u88AB\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",rowDblclick:"\u5F53\u67D0\u4E00\u884C\u88AB\u53CC\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",headerClick:"\u5F53\u67D0\u4E00\u5217\u7684\u8868\u5934\u88AB\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",filterChange:"\u7B5B\u9009\u6761\u4EF6\u53D8\u5316\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",expandChange:"\u5F53\u7528\u6237\u5BF9\u67D0\u4E00\u884C\u5C55\u5F00\u6216\u8005\u5173\u95ED\u7684\u65F6\u5019\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",sortChange:"\u5F53\u8868\u683C\u7684\u6392\u5E8F\u6761\u4EF6\u53D1\u751F\u53D8\u5316\u7684\u65F6\u5019\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",selectionChange:"\u5F53\u9009\u62E9\u9879\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1"},button:{title:"\u64CD\u4F5C\u6309\u94AE",btn:"\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE",link:"\u6587\u5B57",round:"\u5706\u89D2",plain:"\u6734\u7D20",disabled:"\u7981\u7528"},column:{title:"\u5217\u8868\u7BA1\u7406",btn:"\u914D\u7F6E\u8868\u683C\u5217\u8868",prop:"\u5B57\u6BB5\u540D\u79F0",sort:"\u6392\u5E8F"},format:{default:"\u5E38\u89C4",tag:"\u6807\u7B7E",image:"\u56FE\u7247",custom:"\u81EA\u5B9A\u4E49"},fixed:{default:"\u5E38\u89C4",left:"\u5DE6\u60AC\u6D6E",right:"\u53F3\u60AC\u6D6E"},sortable:{disabled:"\u4E0D\u6392\u5E8F",default:"\u5E38\u89C4\u6392\u5E8F",custom:"\u63A5\u53E3\u6392\u5E8F"},props:{_optionType:"\u8868\u683C\u6570\u636E","page>totalField":"\u63A5\u53E3\u54CD\u5E94\u6570\u636E\u4E2D\u603B\u6761\u76EE\u6570\u7684\u5B57\u6BB5\u540D\u79F0","page>dataField":"\u63A5\u53E3\u54CD\u5E94\u6570\u636E\u4E2D\u5217\u8868\u6570\u636E\u7684\u5B57\u6BB5\u540D\u79F0","page>orderField":"\u8BF7\u6C42\u63A5\u53E3\u65F6\u6392\u5E8F\u7684\u53C2\u6570\u540D\u79F0","page>orderByField":"\u8BF7\u6C42\u63A5\u53E3\u65F6\u6392\u5E8F\u65B9\u5F0F\u7684\u53C2\u6570\u540D\u79F0","page>pageField":"\u8BF7\u6C42\u63A5\u53E3\u65F6\u9875\u7801\u7684\u53C2\u6570\u540D\u79F0(\u5206\u9875)","page>pageSizeField":"\u8BF7\u6C42\u63A5\u53E3\u65F6\u6761\u76EE\u6570\u7684\u53C2\u6570\u540D\u79F0(\u5206\u9875)",column:"\u8868\u683C\u7BA1\u7406",showSummary:"\u662F\u5426\u5728\u8868\u5C3E\u663E\u793A\u5408\u8BA1\u884C",selection:"\u662F\u5426\u663E\u793A\u591A\u9009\u6846",size:"\u5C3A\u5BF8",rowKey:"\u884C\u6570\u636E\u7684Key",emptyText:"\u7A7A\u6570\u636E\u65F6\u663E\u793A\u7684\u6587\u672C\u5185\u5BB9",height:"\u9AD8\u5EA6",index:"\u663E\u793A\u884C\u53F7",stripe:"\u663E\u793A\u6591\u9A6C\u7EB9",border:"\u8FB9\u6846",defaultExpandAll:"\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u884C",button:"\u64CD\u4F5C\u6309\u94AE",page:"\u5206\u9875","button>column":"\u6309\u94AE\u7BA1\u7406","button>label":"\u64CD\u4F5C","button>fixed":"\u4F4D\u7F6E","button>width":"\u5217\u7684\u5BBD\u5EA6","page>position":"\u4F4D\u7F6E","page>props>pageSize":"\u6BCF\u9875\u663E\u793A\u6761\u76EE\u4E2A\u6570","page>props>small":"\u4F7F\u7528\u5C0F\u578B\u5206\u9875\u6837\u5F0F","page>props>background":"\u4E3A\u5206\u9875\u6309\u94AE\u6DFB\u52A0\u80CC\u666F\u8272"},requiredName:"\u8BF7\u8F93\u5165\u6309\u94AE\u540D\u79F0",requiredKey:"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u8BC6",requiredLabel:"\u8BF7\u8F93\u5165\u6807\u9898",requiredRender:"\u8BF7\u8F93\u5165\u6E32\u67D3\u51FD\u6570"},text:{name:"\u6587\u5B57",props:{formCreateChild:"\u5185\u5BB9"}},textarea:{name:"\u591A\u884C\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",showWordLimit:"\u662F\u5426\u663E\u793A\u7EDF\u8BA1\u5B57\u6570",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",rows:"\u8F93\u5165\u6846\u884C\u6570",autosize:"\u9AD8\u5EA6\u662F\u5426\u81EA\u9002\u5E94"}},timePicker:{name:"\u65F6\u95F4","HH:mm:ss":"\u65F6:\u5206:\u79D2","HH:mm":"\u65F6:\u5206",props:{__format:"\u8F93\u5165\u6846\u4E2D\u7684\u683C\u5F0F",pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u7ED3\u675F\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",isRange:"\u662F\u5426\u4E3A\u65F6\u95F4\u8303\u56F4\u9009\u62E9",arrowControl:"\u662F\u5426\u4F7F\u7528\u7BAD\u5934\u8FDB\u884C\u65F6\u95F4\u9009\u62E9",align:"\u5BF9\u9F50\u65B9\u5F0F"}},tree:{name:"\u6811\u5F62\u63A7\u4EF6",event:{nodeClick:"\u5F53\u8282\u70B9\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",nodeContextmenu:"\u5F53\u67D0\u4E00\u8282\u70B9\u88AB\u9F20\u6807\u53F3\u952E\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",checkChange:"\u5F53\u590D\u9009\u6846\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",check:"\u70B9\u51FB\u8282\u70B9\u590D\u9009\u6846\u4E4B\u540E\u89E6\u53D1",currentChange:"\u5F53\u524D\u9009\u4E2D\u8282\u70B9\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeExpand:"\u8282\u70B9\u88AB\u5C55\u5F00\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeCollapse:"\u8282\u70B9\u88AB\u5173\u95ED\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragStart:"\u8282\u70B9\u5F00\u59CB\u62D6\u62FD\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragEnter:"\u62D6\u62FD\u8FDB\u5165\u5176\u4ED6\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragLeave:"\u62D6\u62FD\u79BB\u5F00\u67D0\u4E2A\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragOver:"\u5728\u62D6\u62FD\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\uFF08\u7C7B\u4F3C\u6D4F\u89C8\u5668\u7684 mouseover \u4E8B\u4EF6\uFF09",nodeDragEnd:"\u62D6\u62FD\u7ED3\u675F\u65F6\uFF08\u53EF\u80FD\u672A\u6210\u529F\uFF09\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDrop:"\u62D6\u62FD\u6210\u529F\u5B8C\u6210\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6"},props:{emptyText:"\u5185\u5BB9\u4E3A\u7A7A\u7684\u65F6\u5019\u5C55\u793A\u7684\u6587\u672C",props:"\u914D\u7F6E\u9009\u9879",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\uFF0C\u5982\u679C\u4E3A false\uFF0C\u5219\u53EA\u6709\u70B9\u7BAD\u5934\u56FE\u6807\u7684\u65F6\u5019\u624D\u4F1A\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\u3002",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",autoExpandParent:"\u5C55\u5F00\u5B50\u8282\u70B9\u7684\u65F6\u5019\u662F\u5426\u81EA\u52A8\u5C55\u5F00\u7236\u8282\u70B9",checkStrictly:"\u5728\u663E\u793A\u590D\u9009\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u4E25\u683C\u7684\u9075\u5FAA\u7236\u5B50\u4E0D\u4E92\u76F8\u5173\u8054\u7684\u505A\u6CD5",accordion:"\u662F\u5426\u6BCF\u6B21\u53EA\u6253\u5F00\u4E00\u4E2A\u540C\u7EA7\u6811\u8282\u70B9\u5C55\u5F00",indent:"\u76F8\u90BB\u7EA7\u8282\u70B9\u95F4\u7684\u6C34\u5E73\u7F29\u8FDB(px)",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},upload:{name:"\u4E0A\u4F20",info:"\u4E0A\u4F20\u6210\u529F\u540E\uFF0C\u5C06\u63A5\u53E3\u8FD4\u56DE\u7684 URL \u8D4B\u503C\u7ED9 file.url\uFF0C\u6216\u5C06\u8FD4\u56DE\u7ED3\u679C\u8D4B\u503C\u7ED9 file.value\uFF0C\u4EE5\u4FBF\u5728\u540E\u7EED\u7684\u8868\u5355\u63D0\u4EA4\u65F6\u83B7\u53D6\u8FD9\u4E9B\u6570\u636E\u3002",event:{remove:"\u6587\u4EF6\u5217\u8868\u79FB\u9664\u6587\u4EF6\u65F6\u89E6\u53D1",preview:"\u70B9\u51FB\u6587\u4EF6\u5217\u8868\u4E2D\u5DF2\u4E0A\u4F20\u7684\u6587\u4EF6\u65F6\u89E6\u53D1",error:"\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\u65F6\u89E6\u53D1",progress:"\u6587\u4EF6\u4E0A\u4F20\u65F6\u89E6\u53D1",exceed:"\u5F53\u8D85\u51FA\u9650\u5236\u65F6\u89E6\u53D1"},slots:{tip:"\u8BF4\u660E"},props:{listType:"\u4E0A\u4F20\u7C7B\u578B",multiple:"\u662F\u5426\u652F\u6301\u591A\u9009\u6587\u4EF6",action:"\u4E0A\u4F20\u7684\u5730\u5740(\u5FC5\u586B)",beforeUpload:"\u4E0A\u4F20\u6587\u4EF6\u4E4B\u524D\u89E6\u53D1",onSuccess:"\u4E0A\u4F20\u6210\u529F\u65F6\u89E6\u53D1",beforeRemove:"\u5220\u9664\u6587\u4EF6\u4E4B\u524D\u89E6\u53D1",headers:"\u8BBE\u7F6E\u4E0A\u4F20\u7684\u8BF7\u6C42\u5934\u90E8",data:"\u4E0A\u4F20\u65F6\u9644\u5E26\u7684\u989D\u5916\u53C2\u6570",name:"\u4E0A\u4F20\u7684\u6587\u4EF6\u5B57\u6BB5\u540D",withCredentials:"\u652F\u6301\u53D1\u9001 cookie \u51ED\u8BC1\u4FE1\u606F",accept:"\u63A5\u53D7\u4E0A\u4F20\u7684\u6587\u4EF6\u7C7B\u578B",autoUpload:"\u662F\u5426\u5728\u9009\u53D6\u6587\u4EF6\u540E\u7ACB\u5373\u8FDB\u884C\u4E0A\u4F20",disabled:"\u662F\u5426\u7981\u7528",limit:"\u6700\u5927\u5141\u8BB8\u4E0A\u4F20\u4E2A\u6570"}},audioBox:{name:"\u97F3\u9891\u64AD\u653E\u5668",preloadOpt:{auto:"\u81EA\u52A8",metadata:"\u5143\u6570\u636E",none:"\u7981\u6B62"},event:{pause:"\u97F3\u9891\u64AD\u653E\u6682\u505C\u65F6\u89E6\u53D1",play:"\u97F3\u9891\u5F00\u59CB\u64AD\u653E\u65F6\u89E6\u53D1",ended:"\u97F3\u9891\u64AD\u653E\u7ED3\u675F\u540E\u89E6\u53D1"},props:{src:"\u97F3\u9891\u5730\u5740",type:"\u97F3\u9891\u7C7B\u578B",autoplay:"\u662F\u5426\u81EA\u52A8\u64AD\u653E",loop:"\u662F\u5426\u5FAA\u73AF\u64AD\u653E",muted:"\u662F\u5426\u9759\u97F3",controls:"\u662F\u5426\u663E\u793A\u63A7\u5236\u6761",preload:"\u9884\u52A0\u8F7D"}},barCodeBox:{name:"\u6761\u5F62\u7801",props:{value:"\u5185\u5BB9",format:"\u6761\u5F62\u7801\u7684\u7C7B\u578B",width:"\u5355\u4E2A\u6761\u5F62\u7684\u5BBD\u5EA6",height:"\u6761\u5F62\u7801\u7684\u9AD8\u5EA6",displayValue:"\u662F\u5426\u663E\u793A\u5185\u5BB9",fontSize:"\u8BBE\u7F6E\u6587\u5B57\u7684\u5927\u5C0F",textPosition:"\u8BBE\u7F6E\u6587\u5B57\u7684\u4F4D\u7F6E",textAlign:"\u8BBE\u7F6E\u6587\u5B57\u7684\u5BF9\u9F50\u65B9\u5F0F",textMargin:"\u8BBE\u7F6E\u6587\u5B57\u7684\u8FB9\u8DDD",background:"\u6761\u5F62\u7801\u7684\u80CC\u666F\u8272",lineColor:"\u7EBF\u6761\u7684\u989C\u8272"}},iframeBox:{name:"\u5185\u5D4C\u9875\u9762",event:{load:"\u9875\u9762\u52A0\u8F7D\u5B8C\u6210\u540E\u89E6\u53D1"},loadingOpt:{eager:"\u7ACB\u5373\u52A0\u8F7D",lazy:"\u5EF6\u8FDF\u52A0\u8F7D"},props:{src:"\u9875\u9762\u94FE\u63A5",loading:"\u52A0\u8F7D\u65B9\u5F0F"}},qrCodeBox:{name:"\u4E8C\u7EF4\u7801",circleTypeOpt:{square:"\u6B63\u65B9\u5F62",dots:"\u70B9\u72B6",rounded:"\u5706\u5F62",classy:"\u7ECF\u5178"},props:{data:"\u5185\u5BB9",image:"\u4E2D\u5FC3\u7684\u56FE\u7247\u94FE\u63A5",width:"\u4E8C\u7EF4\u7801\u7684\u5BBD\u5EA6",height:"\u4E8C\u7EF4\u7801\u7684\u9AD8\u5EA6",circleType:"\u70B9\u7684\u7C7B\u578B",circleColor:"\u70B9\u7684\u989C\u8272"}},signaturePad:{name:"\u624B\u5199\u7B7E\u540D",props:{penColor:"\u7EBF\u6761\u7684\u989C\u8272"}},videoBox:{name:"\u89C6\u9891\u64AD\u653E\u5668",event:{error:"\u89C6\u9891\u52A0\u8F7D\u5931\u8D25\u65F6\u89E6\u53D1",pause:"\u89C6\u9891\u64AD\u653E\u6682\u505C\u65F6\u89E6\u53D1",play:"\u89C6\u9891\u5F00\u59CB\u64AD\u653E\u65F6\u89E6\u53D1",ended:"\u89C6\u9891\u64AD\u653E\u7ED3\u675F\u540E\u89E6\u53D1"},props:{src:"\u89C6\u9891\u5730\u5740",type:"\u89C6\u9891\u7C7B\u578B",autoplay:"\u662F\u5426\u81EA\u52A8\u64AD\u653E",loop:"\u662F\u5426\u5FAA\u73AF\u64AD\u653E",isLive:"\u662F\u5426\u662F\u76F4\u64AD",controls:"\u662F\u5426\u663E\u793A\u63A7\u5236\u6761",withCredentials:"\u662F\u5426\u643A\u5E26\u51ED\u8BC1"}}},tmp:{duration:"\u65F6\u957F",chineseAmount:"\u91D1\u989D",col3:"\u4E09\u5217\u6805\u683C",col4:"\u56DB\u5217\u6805\u683C",table43:"4x3\u8868\u683C"}},rd=(e,t)=>ai.ElMessage({message:e,type:t||"info",customClass:"_fc-message-tip"}),dn=e=>rd(e,"error"),Wa=function(e,t,r,o){const i=o||{};return t.forEach(l=>{e.indexOf(l[r||"id"])>-1&&e.splice(e.indexOf(l[r||"id"]),1,l[i.label||"label"]),dt.trueArray(l[i.children||"children"])&&Wa(e,l[i.children||"children"],r,o)}),e},Nb=function(e,t){return t.forEach(r=>{e.indexOf(r.value)>-1&&(e[e.indexOf(r.value)]=r.label)}),e};function Or(e){if(e){if(!Array.isArray(e))return[e]}else return[];return e}function Tb(e,t){let r=t.rule.value;const o=t.$render.vNode.h,i=t.type,l=t.$handle.subForm[t.id],d=t.prop.readMode;if(t.prop.title.title&&t.prop.title.title.trim()&&(t.prop.title.title+="\uFF1A"),d===!1||d==="custom"||!t.input||t.rule.subForm||(Array.isArray(l)?l.length:l)||["fcGroup","fcSubForm","tableForm","tableFormPro","fcJson","stepForm","nestedTableForm","infiniteTableForm","fcUpload","fcDialog","fcDrawer","fcPopup"].indexOf(t.trueType)>-1)return t.trueType==="fcUpload"&&(t.prop.props.disabled=!0),t.parser.render(e,t);if(["radio","select","checkbox"].indexOf(i)>-1)r=Nb([...Or(r)],t.prop.props.options||t.prop.props.formCreateInject.options||[]).join(", ");else if(["timePicker","datePicker","slider"].indexOf(i)>-1)r=Array.isArray(r)?r.join(" - "):r;else if(i==="cascader")r=[...Or(r)],Array.isArray(r[0])||(r=[r]),r=r.map(c=>Wa(c,t.prop.props.options||t.prop.props.formCreateInject.options||[],"value",t.prop.props.props).join("/")).join(", ");else if(i==="elTransfer"){const c=[...Or(r)];r=Wa(c,t.prop.props.data||t.prop.props.formCreateInject.options||[],"key").join(", ")}else if(i==="fcDataSelect")r=[...Or(r)].map(u=>u[t.prop.props.labelKey||"label"]).join(", ");else if(["tree","elTreeSelect"].indexOf(i)>-1){const c=t.prop.props.data||t.prop.props.formCreateInject.options||[];r=Wa([...Or(r)],c,i==="elTreeSelect"?"value":"id").join(", ")}else{if(i==="fcEditor"||d==="html")return o("div",{innerHTML:r});if(d==="image")return r=Or(r),o("div",{class:"_fc-upload"},r.map(function(c){return o("div",{class:"_fc-upload-preview"},[o("el-image",{src:(c==null?void 0:c.url)||c,previewSrcList:r.map(u=>(u==null?void 0:u.url)||u),previewTeleported:!0,fit:"cover"})])}));if((i==="switch"||i==="el-switch")&&(t.prop.props.activeValue!=null||t.prop.props.inactiveValue!=null))r=t.prop.props.activeValue===r?"\u662F":"\u5426";else{if(i==="signaturePad"&&r)return o("el-image",{src:r,previewTeleported:!0,fit:"cover",style:{height:"90px"}});typeof r=="boolean"&&(r=r?"\u662F":"\u5426")}}return o("span",{class:"_fc-read-view"},[""+(r==null?"":r)])}function Db(e,t){return` +err: ${i}`);return}}return e}function id(e){const t=e.replace(/(-[a-z])/g,function(r){return r.replace("-","").toLocaleUpperCase()});return Ha(t)}function Ha(e){return e.replace(e[0],e[0].toLowerCase())}const vp={name:"zh-cn",form:{field:"\u5B57\u6BB5 ID",title:"\u5B57\u6BB5\u540D\u79F0",attributeId:"\u662F\u5426\u4E3B\u952E",fieldtype:"\u5B57\u6BB5\u7C7B\u578B",info:"\u63D0\u793A\u4FE1\u606F",ignore:"\u5FFD\u7565\u5B57\u6BB5",native:"\u662F\u5426\u663E\u793A\u6807\u9898",control:"\u7EC4\u4EF6\u8054\u52A8",labelShow:"\u662F\u5426\u663E\u793A",labelPosition:"\u6807\u7B7E\u7684\u4F4D\u7F6E",tableName:"\u81EA\u5B9A\u4E49\u540D\u79F0",labelStyle:"\u6807\u7B7E\u7684\u6837\u5F0F",labelSuffix:"\u6807\u7B7E\u7684\u540E\u7F00",formItem:"\u914D\u7F6E\u8868\u5355\u9879",formItemSpan:"\u7EC4\u4EF6\u5BBD\u5EA6",row:"\u6574\u884C",globalEvent:"\u5168\u5C40\u4E8B\u4EF6",globalFetch:"\u5168\u5C40\u6570\u636E\u6E90",globalClass:"\u5168\u5C40\u6837\u5F0F",globalConfig:"\u5168\u5C40\u914D\u7F6E",size:"\u8868\u5355\u7684\u5C3A\u5BF8",event:"\u8868\u5355\u4E8B\u4EF6",labelWidth:"\u6807\u7B7E\u7684\u5BBD\u5EA6",hideRequiredAsterisk:"\u9690\u85CF\u5FC5\u586B\u5B57\u6BB5\u7684\u6807\u7B7E\u65C1\u8FB9\u7684\u7EA2\u8272\u661F\u53F7",formItemMarginBottom:"\u8868\u5355\u9879\u7684\u4E0B\u8FB9\u8DDD",showMessage:"\u663E\u793A\u6821\u9A8C\u9519\u8BEF\u4FE1\u606F",inlineMessage:"\u4EE5\u884C\u5185\u5F62\u5F0F\u5C55\u793A\u6821\u9A8C\u4FE1\u606F",submitBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u63D0\u4EA4\u6309\u94AE",resetBtn:"\u662F\u5426\u663E\u793A\u8868\u5355\u91CD\u7F6E\u6309\u94AE",appendChild:"\u6DFB\u52A0\u5B50\u7EA7",formMode:"\u8868\u5355\u6A21\u5F0F",formName:"\u8868\u5355\u540D\u79F0",ignoreHiddenFields:"\u63D0\u4EA4\u8868\u5355\u65F6\u5FFD\u7565\u88AB\u9690\u85CF\u7684\u5B57\u6BB5",previewMode:"\u9605\u8BFB\u6A21\u5F0F",componentMode:"\u751F\u6210\u7EC4\u4EF6",sfcMode:"\u751F\u6210SFC",document:"\u5E2E\u52A9\u6587\u6863",controlDocument:"\u9700\u8981\u66F4\u8BE6\u7EC6\u7684\u914D\u7F6E\u65B9\u6CD5\uFF1F\u8BF7\u67E5\u770B{doc}",onSubmit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",onReset:"\u8868\u5355\u91CD\u7F6E\u540E\u89E6\u53D1",onCreated:"\u8868\u5355\u7EC4\u4EF6\u521D\u59CB\u5316\u5B8C\u6BD5\u540E\u89E6\u53D1",onMounted:"\u8868\u5355\u7EC4\u4EF6\u6E32\u67D3\u5B8C\u6BD5\u540E\u89E6\u53D1",onReload:"\u8868\u5355\u6E32\u67D3\u89C4\u5219\u91CD\u8F7D\u540E\u89E6\u53D1",onChange:"\u8868\u5355\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",beforeSubmit:"\u8868\u5355\u9A8C\u8BC1\u901A\u8FC7\u65F6\u89E6\u53D1",beforeFetch:"\u8FDC\u7A0B\u6570\u636E\u8BF7\u6C42\u53D1\u9001\u524D\u89E6\u53D1"},ai:{name:"\u667A\u80FD\u8868\u5355\u52A9\u7406",info:"\u60A8\u597D\uFF0C\u6211\u662F\u60A8\u7684\u667A\u80FD\u8868\u5355\u52A9\u624B\uFF01\u6211\u53EF\u4EE5\u5E2E\u52A9\u60A8\u5FEB\u901F\u751F\u6210\u548C\u4FEE\u6539\u8868\u5355\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u9AD8\u6548\u5730\u5B8C\u6210\u8868\u5355\u8BBE\u8BA1\u3002",try:"\u4F60\u53EF\u4EE5\u8BD5\u7740\u95EE\u6211",change:"\u6362\u4E00\u6362",loading:"\u6B63\u5728\u6839\u636E\u60A8\u7684\u9700\u6C42\u5236\u4F5C\u8868\u5355\uFF0C\u8BF7\u7A0D\u5019...",fail:"\u5236\u4F5C\u8868\u5355\u65F6\u9047\u5230\u95EE\u9898\uFF0C\u8BF7\u5C1D\u8BD5\u8C03\u6574\u5185\u5BB9\u3002",success:"\u5DF2\u5904\u7406\u5B8C\u6BD5\uFF01",placeholder:"\u8BF7\u63CF\u8FF0\u60A8\u7684\u9700\u6C42"},warning:{name:"\u7EC4\u4EF6\u7684\u552F\u4E00\u6807\u8BC6\uFF0C\u7528\u4E8E\u83B7\u53D6\u548C\u4FEE\u6539\u8BE5\u7EC4\u4EF6\u7684\u914D\u7F6E\u89C4\u5219\u3002\u901A\u8FC7\u8BE5\u6807\u8BC6\u53EF\u4EE5\u7CBE\u786E\u5B9A\u4F4D\u7EC4\u4EF6\uFF0C\u5B9E\u73B0\u5BF9\u7EC4\u4EF6\u5C5E\u6027\u548C\u884C\u4E3A\u7684\u63A7\u5236\u3002",field:"\u7EC4\u4EF6\u5BF9\u5E94\u7684\u5B57\u6BB5\u540D\u7528\u4E8E\u4E0E\u7EC4\u4EF6\u7684\u6570\u636E\u8FDB\u884C\u7ED1\u5B9A\u3002\u5B57\u6BB5\u540D\u9700\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u4EE5\u786E\u4FDD\u80FD\u591F\u6B63\u786E\u8BC6\u522B\u3002",formList:"\u7528\u4E8E\u7BA1\u7406\u548C\u5207\u6362\u8868\u5355\u6A21\u677F\uFF0C\u65B9\u4FBF\u5728\u4E0D\u540C\u4E1A\u52A1\u573A\u666F\u4E2D\u5FEB\u901F\u5207\u6362\u548C\u914D\u7F6E\u8868\u5355\u3002",fetch:"\u8FDC\u7A0B\u6570\u636E\u901A\u8FC7\u8FDC\u7A0B\u8BF7\u6C42\u52A0\u8F7D\u7EC4\u4EF6\u7684\u914D\u7F6E\u9879\u3002\u914D\u7F6E\u8BF7\u6C42\u53C2\u6570\u540E\uFF0C\u7EC4\u4EF6\u4F1A\u81EA\u52A8\u53D1\u8D77\u8BF7\u6C42\uFF0C\u83B7\u53D6\u8FDC\u7A0B\u6570\u636E\u5E76\u6839\u636E\u8FD4\u56DE\u7684\u7ED3\u679C\u66F4\u65B0\u7EC4\u4EF6\u3002",fetchQuery:"\u5B9A\u4E49\u8BF7\u6C42\u7684 GET \u53C2\u6570\uFF0C\u901A\u8FC7 URL \u4F20\u9012\u6570\u636E\u3002",fetchData:"\u5B9A\u4E49\u8BF7\u6C42\u7684 POST \u53C2\u6570\uFF0C\u901A\u8FC7\u8BF7\u6C42\u4F53\u4F20\u9012\u6570\u636E\u3002",fetchDataType:"\u9009\u62E9\u8BF7\u6C42\u4F53\u7684\u6570\u636E\u7C7B\u578B\uFF0C\u786E\u4FDD\u6570\u636E\u683C\u5F0F\u6B63\u786E\u3002",beforeFetch:"\u5728\u8BF7\u6C42\u53D1\u9001\u524D\uFF0C\u53EF\u901A\u8FC7\u5904\u7406\u51FD\u6570\u4FEE\u6539\u8BF7\u6C42\u53C2\u6570\uFF1B\u82E5\u9700\u7EC8\u6B62\u8BF7\u6C42\uFF0C\u76F4\u63A5\u8FD4\u56DE false \u6216\u4E00\u4E2A\u62D2\u7EDD\u7684 Promise\u3002",fetchParse:"\u8BF7\u6C42\u8FD4\u56DE\u540E\uFF0C\u53EF\u4EE5\u901A\u8FC7\u5904\u7406\u51FD\u6570\u5BF9\u8FD4\u56DE\u7684\u7ED3\u679C\u8FDB\u884C\u5904\u7406\uFF0C\u5C06\u7ED3\u679C\u8F6C\u6362\u4E3A\u7EC4\u4EF6\u6240\u9700\u7684\u6570\u636E\u548C\u7ED3\u6784\u3002",language:"\u7BA1\u7406\u9875\u9762\u7684\u591A\u8BED\u8A00\u6570\u636E\uFF0C\u5728\u7EC4\u4EF6\u4E2D\u914D\u7F6E\u4E0D\u540C\u8BED\u8A00\u7684\u6587\u672C\uFF0C\u652F\u6301\u4E00\u952E\u5207\u6362\u8BED\u8A00\u4F53\u7CFB\uFF0C\u4FBF\u4E8E\u5728\u591A\u8BED\u8A00\u73AF\u5883\u4E0B\u4F7F\u7528\u548C\u5C55\u793A\u5185\u5BB9\u3002",variable:"\u4ECE\u53D8\u91CF\u8BFB\u53D6\u914D\u7F6E\u9879\u7684\u503C\uFF0C\u652F\u6301\u901A\u8FC7\u53D8\u91CF\uFF08\u5982 Cookie\u3001localStorage\u3001\u5168\u5C40\u53D8\u91CF\u548C\u5916\u90E8\u6570\u636E\u6E90\u7B49\uFF09\u8BBE\u7F6E\u914D\u7F6E\u9879\u3002\u5F53\u5173\u8054\u7684\u53D8\u91CF\u53D8\u5316\u65F6\uFF0C\u914D\u7F6E\u9879\u4F1A\u540C\u6B65\u66F4\u65B0\u3002",variableInfo:"\u8BF7\u5728\u53D8\u91CF\u5217\u8868\u4E2D\u9009\u62E9\u53D8\u91CF\u3002\u5982\u679C\u53D8\u91CF\u7684\u503C\u662F\u5BF9\u8C61\uFF0C\u60A8\u53EF\u4EE5\u901A\u8FC7 {{variableName.attributeName}} \u683C\u5F0F\u8BBF\u95EE\u5BF9\u8C61\u4E2D\u7684\u5C5E\u6027\u503C\u3002",pageManage:"\u8BBE\u8BA1\u8868\u5355\u4E2D\u7684\u5B50\u5F39\u7A97\uFF0C\u901A\u8FC7\u4E8B\u4EF6\u89E6\u53D1\u5F39\u7A97\u663E\u793A\uFF0C\u4FBF\u4E8E\u5728\u8868\u5355\u4E2D\u52A8\u6001\u5C55\u793A\u4FE1\u606F\u6216\u8FDB\u884C\u4EA4\u4E92\u64CD\u4F5C\u3002",globalConfig:"\u7BA1\u7406\u5168\u5C40\u4E8B\u4EF6\u3001\u6837\u5F0F\u3001\u6570\u636E\u548C\u53D8\u91CF\uFF0C\u7528\u4E8E\u5728\u4E0D\u540C\u7EC4\u4EF6\u95F4\u8FDB\u884C\u6570\u636E\u5171\u4EAB\u548C\u4E8B\u4EF6\u5904\u7406\u3002",globalClass:"\u63D0\u4F9B\u5B9A\u4E49\u5168\u5C40\u6837\u5F0F\u548C Class \u7684\u529F\u80FD\uFF0C\u7528\u6237\u53EF\u4EE5\u5728\u7EC4\u4EF6\u914D\u7F6E\u4E2D\u9009\u62E9\u5E76\u5E94\u7528\u8FD9\u4E9B\u9884\u5B9A\u4E49\u7684 Class\uFF0C\u4EE5\u5B9E\u73B0\u7EDF\u4E00\u7684\u6837\u5F0F\u7BA1\u7406\u3002",globalEvent:"\u5168\u5C40\u4E8B\u4EF6\u7528\u4E8E\u5B9A\u4E49\u7EC4\u4EF6\u4E8B\u4EF6\uFF0C\u4F9B\u7EC4\u4EF6\u8FDB\u884C\u914D\u7F6E\u548C\u9009\u62E9\uFF0C\u65B9\u4FBF\u5728\u4E0D\u540C\u7EC4\u4EF6\u4E2D\u7EDF\u4E00\u4F7F\u7528\u9884\u8BBE\u4E8B\u4EF6\uFF0C\u7B80\u5316\u4E8B\u4EF6\u7684\u7BA1\u7406\u548C\u5206\u53D1\u3002",globalFetch:"\u5168\u5C40\u6570\u636E\u6E90\u7528\u4E8E\u5B9A\u4E49\u5E38\u7528\u7684\u6570\u636E\u6E90\uFF0C\u652F\u6301\u9759\u6001\u6570\u636E\u548C\u8FDC\u7A0B\u6570\u636E\u3002\u8BE5\u6570\u636E\u6E90\u53EF\u5728\u5404\u79CD\u7EC4\u4EF6\u914D\u7F6E\u4E2D\u4F7F\u7528\uFF0C\u65B9\u4FBF\u7EDF\u4E00\u7BA1\u7406\u548C\u8C03\u7528\u6570\u636E\u3002",globalVariable:"\u5168\u5C40\u53D8\u91CF\u4E2D\u53EF\u4EE5\u5B9A\u4E49\u8BA1\u7B97\u5C5E\u6027\uFF0C\u901A\u8FC7\u8868\u5355\u6570\u636E\u548C\u5916\u90E8\u6570\u636E\u8FD4\u56DE\u7EC4\u4EF6\u6240\u9700\u7684\u6570\u636E\u3002\u5173\u8054\u6570\u636E\u53D8\u5316\u65F6\uFF0C\u8BA1\u7B97\u5C5E\u6027\u4F1A\u81EA\u52A8\u66F4\u65B0\uFF0C\u53EF\u4EE5\u5728\u7ED1\u5B9A\u53D8\u91CF\u6A21\u5757\u548C\u4E8B\u4EF6\u4E2D\u4F7F\u7528\u3002",ignore:"\u5F00\u542F\u540E\uFF0C\u8868\u5355\u63D0\u4EA4\u65F6\u4F1A\u81EA\u52A8\u6392\u9664\u8BE5\u7EC4\u4EF6\u7684\u5B57\u6BB5\uFF0C\u4E0D\u4F1A\u5C06\u5176\u5305\u542B\u5728\u63D0\u4EA4\u7684\u6570\u636E\u4E2D\u3002",ignoreHiddenFields:"\u5F00\u542F\u540E\uFF0C\u8868\u5355\u63D0\u4EA4\u65F6\u4F1A\u81EA\u52A8\u8FC7\u6EE4\u6389\u88AB\u9690\u85CF\u7684\u7EC4\u4EF6\u5B57\u6BB5\uFF0C\u786E\u4FDD\u4EC5\u63D0\u4EA4\u53EF\u89C1\u7684\u5B57\u6BB5\u6570\u636E\u3002",behaviorIgnoreError:"\u5982\u679C\u52A8\u4F5C\u6267\u884C\u8FC7\u7A0B\u4E2D\u53D1\u751F\u9519\u8BEF\uFF0C\u662F\u5426\u7EE7\u7EED\u6267\u884C\u540E\u7EED\u7684\u52A8\u4F5C\u3002",behaviorExpression:"\u5F53\u6761\u4EF6\u8FBE\u6210\u65F6\uFF0C\u52A8\u4F5C\u624D\u4F1A\u88AB\u6267\u884C\u3002",behaviorStopPropagation:"\u5F53\u6761\u4EF6\u8FBE\u6210\u65F6\uFF0C\u4F1A\u963B\u6B62\u540E\u7EED\u52A8\u4F5C\u7684\u6267\u884C\u3002",computedCondition:"\u901A\u8FC7\u5B9A\u4E49\u6761\u4EF6\uFF0C\u7EC4\u4EF6\u7684\u72B6\u6001\u548C\u6570\u636E\u503C\u4F1A\u6839\u636E\u6761\u4EF6\u662F\u5426\u6210\u7ACB\u81EA\u52A8\u8C03\u6574\u3002",computedFormula:"\u901A\u8FC7\u516C\u5F0F\u548C\u8868\u5355\u6570\u636E\uFF0C\u52A8\u6001\u8BA1\u7B97\u7EC4\u4EF6\u7684\u72B6\u6001\u548C\u6570\u636E\u503C\u3002"},computed:{value:{title:"\u6570\u636E\u8054\u52A8",btn:"\u8BBE\u7F6E\u6570\u636E\u8054\u52A8",name:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u503C"},hidden:{title:"\u9690\u85CF\u6761\u4EF6",btn:"\u8BBE\u7F6E\u9690\u85CF\u6761\u4EF6",name:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u9690\u85CF\u6761\u4EF6"},required:{title:"\u5FC5\u586B\u6761\u4EF6",btn:"\u8BBE\u7F6E\u5FC5\u586B\u6761\u4EF6",name:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u5FC5\u586B\u6761\u4EF6"},disabled:{title:"\u7981\u7528\u6761\u4EF6",btn:"\u8BBE\u7F6E\u7981\u7528\u6761\u4EF6",name:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u7981\u7528\u6761\u4EF6"},formulas:{"==":"\u7B49\u4E8E","!=":"\u4E0D\u7B49\u4E8E",on:"\u5305\u542B",notOn:"\u4E0D\u5305\u542B",empty:"\u4E3A\u7A7A",notEmpty:"\u4E0D\u4E3A\u7A7A",pattern:"\u6B63\u5219\u8868\u8FBE\u5F0F",">":"\u5927\u4E8E",">=":"\u5927\u4E8E\u7B49\u4E8E","<":"\u5C0F\u4E8E","<=":"\u5C0F\u4E8E\u7B49\u4E8E"},variable:{attr:"\u5C5E\u6027\u5217\u8868",bind:"\u7ED1\u5B9A\u53D8\u91CF",list:"\u53D8\u91CF\u5217\u8868",btn:"\u8BBE\u7F6E\u53D8\u91CF",title:"\u5168\u5C40\u53D8\u91CF",create:"\u521B\u5EFA\u53D8\u91CF",placeholder:"\u8BF7\u8F93\u5165\u53D8\u91CF\u7684\u63CF\u8FF0\u4FE1\u606F"},linkage:{trigger:"\u89E6\u53D1\u4EE5\u4E0B\u8054\u52A8",info:["\u5F53\u524D\u7EC4\u4EF6\u8054\u52A8\u663E\u793A","\u7684\u503C"]},name:"\u8BA1\u7B97\u516C\u5F0F",setting:"\u8BBE\u7F6E\u6761\u4EF6",invert:"\u6761\u4EF6\u6210\u7ACB\u540E\u7EC4\u4EF6\u72B6\u6001",condition:"\u903B\u8F91\u6761\u4EF6",addCondition:"\u6DFB\u52A0\u6761\u4EF6",addGroup:"\u6DFB\u52A0\u6761\u4EF6\u7EC4",form:"\u5F53\u524D\u8868\u5355",subform:"\u5B50\u8868\u5355",formula:"\u51FD\u6570\u516C\u5F0F",formulaInfo:"\u51FD\u6570\u8BF4\u660E",formulaExample:"\u51FD\u6570\u793A\u4F8B",fieldUsed:"\u3010{label}\u3011\u5728\u8BA1\u7B97\u516C\u5F0F\u4E2D\u88AB\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u5BF9\u5E94\u516C\u5F0F",fieldExist:"\u3010{label}\u3011\u5B57\u6BB5\u5DF2\u5B58\u5728",fieldEmpty:"\u5B57\u6BB5\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fieldChar:"\u5B57\u6BB5\u540D\u79F0\u5FC5\u987B\u4EE5\u5B57\u6BCD\u5F00\u5934"},validate:{type:"\u5B57\u6BB5\u7C7B\u578B",typePlaceholder:"\u8BF7\u9009\u62E9",trigger:"\u89E6\u53D1\u65B9\u5F0F",mode:"\u9A8C\u8BC1\u65B9\u5F0F",modes:{required:"\u5FC5\u586B",notRequired:"\u975E\u5FC5\u586B",pattern:"\u6B63\u5219\u8868\u8FBE\u5F0F",validator:"\u81EA\u5B9A\u4E49\u9A8C\u8BC1",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",len:"\u957F\u5EA6"},types:{string:"\u6587\u672C",boolean:"\u5E03\u5C14",array:"\u591A\u9009",number:"\u6570\u5B57",integer:"\u6574\u6570",float:"\u5C0F\u6570",object:"\u5408\u96C6",date:"\u65E5\u671F",url:"URL\u94FE\u63A5",email:"\u90AE\u7BB1\u5730\u5740"},message:"\u9519\u8BEF\u4FE1\u606F",auto:"\u81EA\u52A8\u83B7\u53D6",autoRequired:"\u8BF7\u8F93\u5165{title}",autoMode:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684{title}",requiredPlaceholder:"\u8BF7\u8F93\u5165\u63D0\u793A\u8BED",required:"\u662F\u5426\u5FC5\u586B",rule:"\u9A8C\u8BC1\u89C4\u5219"},tableOptions:{handle:"\u64CD\u4F5C",add:"\u6DFB\u52A0",empty1:"\u70B9\u51FB\u53F3\u4E0B\u89D2",empty2:"\u6309\u94AE\u6DFB\u52A0\u4E00\u5217",rmCol:"\u5220\u9664\u5F53\u524D\u5217",rmRow:"\u5220\u9664\u5F53\u524D\u884C",splitRow:"\u62C6\u5206\u6210\u884C",splitCol:"\u62C6\u5206\u6210\u5217",mergeBottom:"\u5411\u4E0B\u5408\u5E76",mergeRight:"\u5411\u53F3\u5408\u5E76",addTop:"\u6DFB\u52A0\u4E0A\u5217",addBottom:"\u6DFB\u52A0\u4E0B\u5217",addLeft:"\u6DFB\u52A0\u5DE6\u5217",addRight:"\u6DFB\u52A0\u53F3\u5217",keyValue:"\u952E\u503C\u5BF9"},struct:{title:"\u7F16\u8F91\u6570\u636E",only:"\u3010{label}\u3011\u53EA\u5141\u8BB8\u6DFB\u52A0\u4E00\u4E2A",errorMsg:"\u8F93\u5165\u7684\u5185\u5BB9\u8BED\u6CD5\u9519\u8BEF",configured:"\u5DF2\u914D\u7F6E",configuredData:"\u5DF2\u914D\u7F6E {num} \u4E2A\u6570\u636E\u6E90",configuredEvent:"\u5DF2\u914D\u7F6E {num} \u4E2A\u4E8B\u4EF6"},class:{title:"\u8BBE\u7F6E\u6837\u5F0F",create:"\u521B\u5EFA\u6837\u5F0F",placeholder:"\u8BF7\u8F93\u5165\u6837\u5F0F\u7684\u63CF\u8FF0\u4FE1\u606F",saveMsg:"\u8BF7\u5148\u4FDD\u5B58\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u6837\u5F0F",configured:"\u5DF2\u914D\u7F6E {num} \u4E2A\u6837\u5F0F"},event:{title:"\u8BBE\u7F6E\u4E8B\u4EF6",create:"\u521B\u5EFA\u4E8B\u4EF6",list:"\u4E8B\u4EF6\u5217\u8868",placeholder:"\u8BF7\u8F93\u5165\u4E8B\u4EF6\u7684\u540D\u79F0",saveMsg:"\u8BF7\u5148\u4FDD\u5B58\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u4E8B\u4EF6",type:"\u7C7B\u578B",info:"\u8BF4\u660E",action:"\u7F16\u8F91\u884C\u4E3A",inject:{api:"\u5F53\u524D\u8868\u5355\u7684api",rule:"\u5F53\u524D\u8868\u5355\u7684\u751F\u6210\u89C4\u5219",self:"\u7EC4\u4EF6\u7684\u751F\u6210\u89C4\u5219",option:"\u8868\u5355\u7684\u914D\u7F6E",args:"\u4E8B\u4EF6\u7684\u539F\u59CB\u53C2\u6570"}},eventInfo:{blur:"\u5931\u53BB\u7126\u70B9\u65F6\u89E6\u53D1",focus:"\u83B7\u5F97\u7126\u70B9\u65F6\u89E6\u53D1",change:"\u5F53\u7ED1\u5B9A\u503C\u53D8\u5316\u65F6\u89E6\u53D1",input:"\u5728\u503C\u6539\u53D8\u65F6\u89E6\u53D1",clear:"\u5728\u70B9\u51FB\u6E05\u7A7A\u6309\u94AE\u65F6\u89E6\u53D1",close:"\u5173\u95ED\u7EC4\u4EF6\u65F6\u89E6\u53D1",click:"\u70B9\u51FB\u7EC4\u4EF6\u65F6\u89E6\u53D1",add:"\u589E\u52A0\u65F6\u89E6\u53D1",delete:"\u5220\u9664\u65F6\u89E6\u53D1",remove:"\u5220\u9664\u65F6\u89E6\u53D1",visibleChange:"\u4E0B\u62C9\u6846\u51FA\u73B0/\u9690\u85CF\u65F6\u89E6\u53D1",calendarChange:"\u5728\u65E5\u5386\u6240\u9009\u65E5\u671F\u66F4\u6539\u65F6\u89E6\u53D1",panelChange:"\u5F53\u65E5\u671F\u9762\u677F\u6539\u53D8\u65F6\u89E6\u53D1",open:"\u6253\u5F00\u7684\u56DE\u8C03",opened:"\u6253\u5F00\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",closed:"\u5173\u95ED\u52A8\u753B\u7ED3\u675F\u65F6\u7684\u56DE\u8C03",openAutoFocus:"\u8F93\u5165\u7126\u70B9\u805A\u7126\u5728\u5185\u5BB9\u65F6\u7684\u56DE\u8C03",closeAutoFocus:"\u8F93\u5165\u7126\u70B9\u4ECE\u5185\u5BB9\u5931\u7126\u65F6\u7684\u56DE\u8C03",submit:"\u8868\u5355\u63D0\u4EA4\u65F6\u89E6\u53D1",confirm:"\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1",validateFail:"\u8868\u5355\u9A8C\u8BC1\u5931\u8D25\u65F6\u89E6\u53D1",beforeLoad:"\u521D\u59CB\u5316\u4E4B\u524D\u89E6\u53D1",loaded:"\u521D\u59CB\u5316\u5B8C\u6210\u4E4B\u540E\u89E6\u53D1",hook_load:"\u7EC4\u4EF6\u89C4\u5219\u52A0\u8F7D\u540E\u89E6\u53D1",hook_mounted:"\u7EC4\u4EF6\u6302\u8F7D\u540E\u89E6\u53D1",hook_deleted:"\u7EC4\u4EF6\u89C4\u5219\u88AB\u79FB\u9664\u540E\u89E6\u53D1",hook_watch:"\u7EC4\u4EF6\u89C4\u5219\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_value:"\u7EC4\u4EF6\u7684\u503C\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1",hook_hidden:"\u7EC4\u4EF6\u663E\u793A\u72B6\u6001\u53D1\u751F\u53D8\u5316\u540E\u89E6\u53D1"},fetch:{info:"\u5B9A\u4E49\u8BF7\u6C42\u65F6\uFF0C\u652F\u6301\u901A\u8FC7\u53CC\u5927\u62EC\u53F7\u8BED\u6CD5\uFF08\u5982 {{token}}\uFF09\u4F7F\u7528\u53D8\u91CF\u3002\u5728\u63A5\u53E3\u8BF7\u6C42\u65F6\u4F1A\u81EA\u52A8\u8BFB\u53D6\u8FD9\u4E9B\u53D8\u91CF\u3002\u5982\u679C\u53D8\u91CF\u7684\u503C\u662F\u5BF9\u8C61\uFF0C\u53EF\u4EE5\u901A\u8FC7 {{variableName.attributeName}} \u8BBF\u95EE\u5BF9\u8C61\u7684\u5C5E\u6027\u503C\u3002",title:"\u8BBE\u7F6E\u6570\u636E\u6E90",create:"\u521B\u5EFA\u6570\u636E\u6E90",config:"\u8BF7\u6C42\u914D\u7F6E",action:"\u8BF7\u6C42\u94FE\u63A5",actionRequired:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u94FE\u63A5",placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u6E90\u7684\u63CF\u8FF0\u4FE1\u606F",method:"\u8BF7\u6C42\u65B9\u5F0F",data:"\u9644\u5E26\u6570\u636E",dataType:"\u6570\u636E\u7C7B\u578B",headers:"\u8BF7\u6C42\u5934\u90E8",query:"\u8BF7\u6C42\u53C2\u6570",parse:"\u6570\u636E\u5904\u7406",response:"\u63A5\u53E3\u8FD4\u56DE\u7684\u6570\u636E",onError:"\u9519\u8BEF\u5904\u7406",beforeFetch:"\u524D\u7F6E\u5904\u7406",remote:"\u8FDC\u7A0B\u6570\u636E",static:"\u9759\u6001\u6570\u636E",optionsType:{fetch:"\u8FDC\u7A0B\u6570\u636E",global:"\u5168\u5C40\u6570\u636E\u6E90",struct:"\u9759\u6001\u6570\u636E"}},style:{width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6",minWidth:"\u6700\u5C0F\u5BBD",minHeight:"\u6700\u5C0F\u9AD8",maxWidth:"\u6700\u5927\u5BBD",maxHeight:"\u6700\u5927\u9AD8",color:"\u989C\u8272",backgroundColor:"\u80CC\u666F\u8272",margin:"\u5916\u8FB9\u8DDD",padding:"\u5185\u8FB9\u8DDD",borderRadius:"\u5706\u89D2",border:"\u8FB9\u6846",solid:"\u5B9E\u7EBF",dashed:"\u865A\u7EBF",dotted:"\u70B9\u72B6\u865A\u7EBF",double:"\u53CC\u5B9E\u7EBF",opacity:"\u900F\u660E\u5EA6",scale:"\u7F29\u653E",overflow:{name:"\u6EA2\u51FA",visible:"\u53EF\u89C1",hidden:"\u9690\u85CF",scroll:"\u6EDA\u52A8",auto:"\u6EA2\u51FA\u540E\u81EA\u52A8\u6EDA\u52A8"},shadow:{name:"\u9634\u5F71",x:"x\u8F74\u504F\u79FB\u91CF",y:"y\u8F74\u504F\u79FB\u91CF",vague:"\u6A21\u7CCA\u534A\u5F84",extend:"\u6269\u6563\u534A\u5F84",inset:"\u5411\u5185",external:"\u5411\u5916",mode:"\u6A21\u5F0F",classic:"\u7ECF\u5178",flat:"\u6241\u5E73",solid:"\u7ACB\u4F53"},display:{name:"\u5E03\u5C40",block:"\u533A\u5757","inline-block":"\u884C\u5185\u533A\u5757",inline:"\u884C\u5185\u6587\u672C",flex:"\u5F39\u6027\u76D2\u5B50"},flexDirection:{name:"\u4E3B\u8F74\u7684\u65B9\u5411",row:"\u4E3B\u8F74\u4E3A\u6C34\u5E73\u65B9\u5411\uFF0C\u8D77\u70B9\u5728\u5DE6\u7AEF","row-reverse":"\u4E3B\u8F74\u4E3A\u6C34\u5E73\u65B9\u5411\uFF0C\u8D77\u70B9\u5728\u53F3\u7AEF",column:"\u4E3B\u8F74\u4E3A\u5782\u76F4\u65B9\u5411\uFF0C\u8D77\u70B9\u5728\u4E0A\u6CBF","column-reverse":"\u4E3B\u8F74\u4E3A\u5782\u76F4\u65B9\u5411\uFF0C\u8D77\u70B9\u5728\u4E0B\u6CBF"},flexWrap:{name:"\u662F\u5426\u6362\u884C",nowrap:"\u4E0D\u6362\u884C",wrap:"\u6362\u884C"},justifyContent:{name:"\u4E3B\u8F74\u4E0A\u7684\u5BF9\u9F50\u65B9\u5F0F","flex-start":"\u5DE6\u5BF9\u9F50","flex-end":"\u53F3\u5BF9\u9F50",center:"\u5C45\u4E2D","space-between":"\u4E24\u7AEF\u5BF9\u9F50","space-around":"\u5B50\u5143\u7D20\u4E24\u4FA7\u7684\u95F4\u9694\u76F8\u7B49","space-evenly":"\u5B50\u5143\u7D20\u5E73\u5747\u5206\u5E03\u5728\u4E3B\u8F74\u4E0A"},alignItems:{name:"\u5B50\u5143\u7D20\u4EA4\u53C9\u8F74\u4E0A\u7684\u5BF9\u9F50\u65B9\u5F0F","flex-start":"\u4EA4\u53C9\u8F74\u7684\u8D77\u70B9\u5BF9\u9F50","flex-end":"\u4EA4\u53C9\u8F74\u7684\u7EC8\u70B9\u5BF9\u9F50",center:"\u4EA4\u53C9\u8F74\u7684\u4E2D\u70B9\u5BF9\u9F50",baseline:"\u6CBF\u7B2C\u4E00\u884C\u6587\u5B57\u7684\u57FA\u7EBF\u5BF9\u9F50",stretch:"\u6EE1\u6574\u4E2A\u5BB9\u5668\u7684\u9AD8\u5EA6"},alignContent:{name:"\u591A\u884C\u5B50\u5143\u7D20\u5728\u4EA4\u53C9\u8F74\u4E0A\u7684\u5BF9\u9F50\u65B9\u5F0F","flex-start":"\u4E0E\u4EA4\u53C9\u8F74\u7684\u8D77\u70B9\u5BF9\u9F50","flex-end":"\u4E0E\u4EA4\u53C9\u8F74\u7684\u7EC8\u70B9\u5BF9\u9F50",center:"\u4E0E\u4EA4\u53C9\u8F74\u7684\u4E2D\u70B9\u5BF9\u9F50","space-between":"\u4E0E\u4EA4\u53C9\u8F74\u4E24\u7AEF\u5BF9\u9F50","space-around":"\u591A\u884C\u5B50\u5143\u7D20\u5E73\u5747\u5206\u5E03\u5728\u4EA4\u53C9\u8F74",stretch:"\u8F74\u7EBF\u5360\u6EE1\u6574\u4E2A\u4EA4\u53C9\u8F74"},font:{name:"\u5B57\u4F53",size:"\u5927\u5C0F",align:"\u5BF9\u9F50\u65B9\u5F0F",height:"\u884C\u9AD8",spacing:"\u5B57\u95F4\u8DDD",preview:"\u6837\u5F0F\u9884\u89C8"},decoration:{name:"\u4FEE\u9970",underline:"\u4E0B\u5212\u7EBF","line-through":"\u5220\u9664\u7EBF",overline:"\u4E0A\u5212\u7EBF"},weight:{name:"\u7C97\u7EC6",300:"\u7EC6\u4F53",400:"\u5E38\u89C4\u4F53",500:"\u4E2D\u9ED1\u4F53",700:"\u4E2D\u7C97\u4F53"}},designer:{component:"\u7EC4\u4EF6\u914D\u7F6E",id:"\u552F\u4E00\u503C",name:"\u7F16\u53F7",type:"\u7EC4\u4EF6\u7C7B\u578B",form:"\u8868\u5355\u914D\u7F6E",json:"\u6E32\u67D3\u89C4\u5219",style:"\u6837\u5F0F\u914D\u7F6E",rule:"\u57FA\u7840\u914D\u7F6E",advanced:"\u9AD8\u7EA7\u914D\u7F6E",props:"\u5C5E\u6027\u914D\u7F6E",slots:"\u63D2\u69FD\u914D\u7F6E",customProps:"\u81EA\u5B9A\u4E49\u5C5E\u6027\u914D\u7F6E",validate:"\u9A8C\u8BC1\u914D\u7F6E",event:"\u4E8B\u4EF6\u914D\u7F6E",clearWarn:"\u6E05\u7A7A\u540E\u5C06\u4E0D\u80FD\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6E05\u7A7A\u5417\uFF1F",childEmpty:"\u70B9\u51FB\u53F3\u4E0B\u89D2 \\e789 \u6309\u94AE\u6DFB\u52A0\u4E00\u5217",dragEmpty:"\u62D6\u62FD\u5DE6\u4FA7\u5217\u8868\u4E2D\u7684\u7EC4\u4EF6\u5230\u6B64\u5904",unload:"\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417?",sublist:"\u5B50\u8282\u70B9\u5217\u8868",formList:"\u8868\u5355\u5217\u8868",comList:"\u7EC4\u4EF6\u5217\u8868",addPage:"\u6DFB\u52A0\u6A21\u5757",pageManage:"\u6A21\u5757\u7BA1\u7406",gridLine:"\u8F85\u52A9\u7EBF",main:"\u4E3B\u4F53",layout:"\u5FEB\u901F\u5E03\u5C40",col1:"\u4E00\u5217",col2:"\u4E24\u5217",col3:"\u4E09\u5217",col4:"\u56DB\u5217",print:{title:"\u6253\u5370\u8868\u5355",config:"\u8BBE\u7F6E\u6253\u5370",left:"\u5DE6\u8FB9\u8DDD",right:"\u53F3\u8FB9\u8DDD",top:"\u4E0A\u8FB9\u8DDD",bottom:"\u4E0B\u8FB9\u8DDD",defaultStyle:"\u9ED8\u8BA4\u6837\u5F0F",wordStyle:"\u6587\u6863\u6837\u5F0F",export:"\u5BFC\u51FA PDF"}},menu:{template:"\u6A21\u677F",main:"\u57FA\u7840\u7EC4\u4EF6",aide:"\u8F85\u52A9\u7EC4\u4EF6",layout:"\u5E03\u5C40\u7EC4\u4EF6",component:"\u7EC4\u4EF6",subform:"\u5B50\u8868\u5355\u7EC4\u4EF6",container:"\u5BB9\u5668\u7EC4\u4EF6",chart:"\u56FE\u8868\u7EC4\u4EF6",tree:"\u5927\u7EB2"},formula:{math:"\u6570\u5B57\u5904\u7406",string:"\u6587\u672C\u5904\u7406",date:"\u65F6\u95F4\u5904\u7406",collection:"\u5408\u96C6\u5904\u7406",condition:"\u903B\u8F91\u5904\u7406",ADD:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u76F8\u52A0\u7684\u503C",SUB:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u76F8\u51CF\u7684\u503C",MUL:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u76F8\u4E58\u7684\u503C",DIV:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u76F8\u9664\u7684\u503C",SUM:"\u83B7\u53D6\u5408\u96C6\u4E2D\u6570\u503C\u7684\u603B\u548C",MAX:"\u83B7\u53D6\u53C2\u6570\u5217\u8868\u4E2D\u7684\u6700\u5927\u503C",MIN:"\u83B7\u53D6\u53C2\u6570\u5217\u8868\u4E2D\u7684\u6700\u5C0F\u503C",ABS:"\u83B7\u53D6\u6570\u5B57\u7684\u7EDD\u5BF9\u503C",AVG:"\u83B7\u53D6\u53C2\u6570\u5217\u8868\u7684\u5E73\u5747\u503C",POWER:"\u83B7\u53D6\u6307\u5B9A\u6570\u5B57\u7684\u4E58\u5E42",RAND:"\u83B7\u53D6\u4E00\u4E2A\u5927\u4E8E\u7B49\u4E8E0\u4E14\u5C0F\u4E8E1\u7684\u968F\u673A\u6570",PI:"\u83B7\u53D6\u5706\u5468\u7387",ROUND:"\u5C06\u4E00\u4E2A\u5C0F\u6570\u56DB\u820D\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570",SQRT:"\u83B7\u53D6\u4E00\u4E2A\u6570\u5B57\u7684\u6B63\u5E73\u65B9\u6839",NOW:"\u83B7\u53D6\u5F53\u524D\u7684\u65F6\u95F4",TODAY:"\u83B7\u53D6\u4ECA\u5929\u7684\u65E5\u671F",YEAR:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u5E74\u4EFD",MONTH:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u6708\u4EFD",DAY:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u5929\u6570",HOUR:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u5C0F\u65F6\u6570",MINUTE:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u5206\u949F\u6570",SECOND:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u79D2\u6570",DIFFDAYS:"\u83B7\u53D6\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570",DIFFHOURS:"\u83B7\u53D6\u4E24\u4E2A\u65F6\u95F4\u4E4B\u95F4\u7684\u5C0F\u65F6\u6570,\u4FDD\u7559\u4E24\u4F4D\u5C0F\u6570",DIFFMINUTES:"\u83B7\u53D6\u4E24\u4E2A\u65F6\u95F4\u4E4B\u95F4\u7684\u5206\u949F\u6570",ADDYEAR:"\u589E\u52A0\u6307\u5B9A\u65E5\u671F\u7684\u5E74\u4EFD",ADDMONTH:"\u589E\u52A0\u6307\u5B9A\u65E5\u671F\u7684\u6708\u4EFD",ADDDAY:"\u589E\u52A0\u6307\u5B9A\u65E5\u671F\u7684\u5929\u6570",ADDWEEK:"\u589E\u52A0\u6307\u5B9A\u65E5\u671F\u7684\u5468\u6570",ADDHOUR:"\u589E\u52A0\u6307\u5B9A\u65F6\u95F4\u7684\u5C0F\u65F6\u6570",ADDMINUTE:"\u589E\u52A0\u6307\u5B9A\u65F6\u95F4\u7684\u5206\u949F\u6570",ADDSECOND:"\u589E\u52A0\u6307\u5B9A\u65F6\u95F4\u7684\u79D2\u6570",SUBYEAR:"\u51CF\u5C11\u6307\u5B9A\u65E5\u671F\u7684\u5E74\u4EFD",SUBMONTH:"\u51CF\u5C11\u6307\u5B9A\u65E5\u671F\u7684\u6708\u4EFD",SUBDAY:"\u51CF\u5C11\u6307\u5B9A\u65E5\u671F\u7684\u5929\u6570",SUBWEEK:"\u51CF\u5C11\u6307\u5B9A\u65E5\u671F\u7684\u5468\u6570",SUBHOUR:"\u51CF\u5C11\u6307\u5B9A\u65F6\u95F4\u7684\u5C0F\u65F6\u6570",SUBMINUTE:"\u51CF\u5C11\u6307\u5B9A\u65F6\u95F4\u7684\u5206\u949F\u6570",SUBSECOND:"\u51CF\u5C11\u6307\u5B9A\u65F6\u95F4\u7684\u79D2\u6570",TIMESTAMP:"\u83B7\u53D6\u6307\u5B9A\u65E5\u671F\u7684\u65F6\u95F4\u6233",STARTSWITH:"\u68C0\u67E5\u5B57\u7B26\u4E32\u662F\u5426\u4EE5\u6307\u5B9A\u5B57\u7B26\u4E32\u5F00\u5934",EMPTY:"\u68C0\u67E5\u53C2\u6570\u662F\u5426\u4E3A\u7A7A",NOTEMPTY:"\u68C0\u67E5\u53C2\u6570\u662F\u5426\u4E0D\u4E3A\u7A7A",LEN:"\u83B7\u53D6\u6307\u5B9A\u5408\u96C6\u7684\u957F\u5EA6",MOD:"\u83B7\u53D6\u4E24\u4E2A\u6570\u5B57\u7684\u4F59\u6570",FLOOR:"\u83B7\u53D6\u6307\u5B9A\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u503C",CEIL:"\u83B7\u53D6\u6307\u5B9A\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u503C",FIXED:"\u5C06\u4E00\u4E2A\u5C0F\u6570\u4FDD\u7559\u6307\u5B9A\u4F4D\u6570\u7684\u5C0F\u6570",ISNUMBER:"\u68C0\u67E5\u53C2\u6570\u662F\u5426\u4E3A\u6570\u5B57",TONUMBER:"\u5C06\u53C2\u6570\u8F6C\u6362\u4E3A\u6570\u5B57",SLICELEFT:"\u83B7\u53D6\u4E00\u4E2A\u5B57\u7B26\u4E32\u4ECE\u5F00\u5934\u5F00\u59CB\u6307\u5B9A\u957F\u5EA6\u7684\u5B57\u7B26\u4E32",SLICERIGHT:"\u83B7\u53D6\u4E00\u4E2A\u5B57\u7B26\u4E32\u4ECE\u7ED3\u5C3E\u5F00\u59CB\u6307\u5B9A\u957F\u5EA6\u7684\u5B57\u7B26\u4E32",TOLOWER:"\u5C06\u5B57\u7B26\u4E32\u4E2D\u6240\u6709\u5927\u5199\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5C0F\u5199\u5B57\u6BCD",TOUPPER:"\u5C06\u5B57\u7B26\u4E32\u4E2D\u6240\u6709\u5C0F\u5199\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5927\u5199\u5B57\u6BCD",INCLUDES:"\u68C0\u67E5\u5B57\u7B26\u4E32\u4E2D\u662F\u5426\u5305\u542B\u6307\u5B9A\u5B57\u7B26\u4E32",REPLACE:"\u5C06\u5B57\u7B26\u4E32\u4E2D\u7684\u90E8\u5206\u6587\u672C\u66FF\u6362\u4E3A\u4E0D\u540C\u7684\u6587\u672C,\u53EA\u66FF\u6362\u5339\u914D\u5230\u7684\u7B2C\u4E00\u4E2A",REPLACEALL:"\u5C06\u5B57\u7B26\u4E32\u4E2D\u7684\u90E8\u5206\u6587\u672C\u66FF\u6362\u4E3A\u4E0D\u540C\u7684\u6587\u672C,\u66FF\u6362\u6240\u6709\u5339\u914D\u5230\u7684",TRIM:"\u5C06\u5B57\u7B26\u4E32\u524D\u540E\u7684\u7A7A\u683C\u5220\u9664",TOCHINSESAMOUNT:"\u83B7\u53D6\u6307\u5B9A\u6570\u5B57\u7684\u4E2D\u6587\u5927\u5199\u91D1\u989D",UNION:"\u5C06\u5408\u96C6/\u53C2\u6570\u4E2D\u7684\u503C\u53BB\u91CD,\u8FD4\u56DE\u53BB\u91CD\u540E\u7684\u5408\u96C6",INTERSECTIONSET:"\u83B7\u53D6\u4E24\u4E2A\u96C6\u5408\u7684\u4EA4\u96C6",LIST:"\u83B7\u53D6\u6240\u6709\u53C2\u6570\u7EC4\u6210\u7684\u96C6\u5408",AND:'\u5C06\u8868\u8FBE\u5F0F\u7528"\u5E76\u4E14"\u94FE\u63A5,\u5F53\u6240\u6709\u8868\u8FBE\u5F0F\u5747\u4E3Atrue\u65F6\u8FD4\u56DEtrue\uFF0C\u5426\u5219\u8FD4\u56DEfalse',OR:'\u5C06\u8868\u8FBE\u5F0F\u7528"\u6216"\u94FE\u63A5,\u5F53\u6709\u4E00\u4E2A\u8868\u8FBE\u5F0F\u4E3Atrue\u65F6\u8FD4\u56DEtrue\uFF0C\u5426\u5219\u8FD4\u56DEfalse',IF:"\u68C0\u67E5\u4E00\u4E2A\u6761\u4EF6\u80FD\u5426\u6EE1\u8DB3,\u5982\u679C\u6EE1\u8DB3\u8FD4\u56DE\u7B2C\u4E8C\u4E2A\u53C2\u6570\uFF0C\u5426\u5219\u8FD4\u56DE\u7B2C\u4E09\u4E2A\u53C2\u6570",IN:"\u68C0\u67E5\u7B2C\u4E8C\u4E2A\u53C2\u6570\u662F\u5426\u5728\u5408\u96C6\u4E2D",DEFAULT:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u53C2\u6570,\u5982\u679C\u4E3A\u7A7A\u8FD4\u56DE\u7B2C\u4E8C\u4E2A\u53C2\u6570,\u5426\u5219\u8FD4\u56DE\u7B2C\u4E00\u4E2A\u53C2\u6570",CASE:"\u68C0\u67E5\u662F\u5426\u6EE1\u8DB3\u4E00\u4E2A\u6216\u591A\u4E2A\u6761\u4EF6\uFF0C\u8FD4\u56DE\u7B2C\u4E00\u4E2A\u6EE1\u8DB3\u6761\u4EF6\u7684\u503C",COLUMN:"\u83B7\u53D6\u5B50\u8868\u5355\u4E2D\u6307\u5B9A\u5B57\u6BB5\u5E76\u8FD4\u56DE\u5408\u96C6",VALUE:"\u83B7\u53D6\u5206\u7EC4\u8868\u5355\u4E2D\u6307\u5B9A\u5B57\u6BB5",CONCAT:"\u5C06\u6240\u6709\u53C2\u6570\u62FC\u63A5,\u8FD4\u56DE\u62FC\u63A5\u540E\u7684\u5B57\u7B26\u4E32",FALSE:"\u8FD4\u56DE\u903B\u8F91\u503C false",TRUE:"\u8FD4\u56DE\u903B\u8F91\u503C true",NOT:"\u83B7\u53D6\u67D0\u4E2A\u903B\u8F91\u503C\u7684\u76F8\u53CD\u503C",EQ:"\u68C0\u67E5\u4E24\u4E2A\u503C\u662F\u5426\u76F8\u7B49",NE:"\u68C0\u67E5\u4E24\u4E2A\u503C\u662F\u5426\u4E0D\u76F8\u7B49",GE:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u503C\u662F\u5426\u5927\u4E8E\u7B49\u4E8E\u53E6\u4E00\u4E2A\u503C",GT:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u503C\u662F\u5426\u5927\u4E8E\u53E6\u4E00\u4E2A\u503C",LE:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u503C\u662F\u5426\u5C0F\u4E8E\u7B49\u4E8E\u53E6\u4E00\u4E2A\u503C",LT:"\u68C0\u67E5\u7B2C\u4E00\u4E2A\u503C\u662F\u5426\u5C0F\u4E8E\u53E6\u4E00\u4E2A\u503C"},language:{name:"\u56FD\u9645\u5316\u914D\u7F6E",add:"\u65B0\u589E\u8BCD\u6761",batchRemove:"\u6279\u91CF\u5220\u9664",select:"\u9009\u62E9\u591A\u8BED\u8A00"},props:{circle:"\u5706\u5F62",square:"\u6B63\u65B9\u5F62",image:"\u56FE\u7247",video:"\u89C6\u9891",audio:"\u97F3\u9891",document:"\u6587\u6863",size:"\u5C3A\u5BF8",info:"\u63D0\u793A",success:"\u6210\u529F",error:"\u5931\u8D25",warning:"\u8B66\u544A",primary:"\u91CD\u8981",danger:"\u5371\u9669",form:"\u8868\u5355",subform:"\u5B50\u8868\u5355",other:"\u5176\u4ED6",model:"\u5F39\u7A97",field:"\u6570\u636E\u96C6",variable:"\u53D8\u91CF",disabled:"\u7981\u7528",enable:"\u542F\u7528",time:"\u65F6\u95F4",email:"\u90AE\u7BB1",number:"\u6570\u5B57",globalData:"\u5168\u5C40\u6570\u636E",mobile:"\u79FB\u52A8\u7AEF",reactive:"\u54CD\u5E94\u5F0F",pc:"\u7535\u8111\u7AEF",title:"\u6807\u9898",content:"\u5185\u5BB9",collection:"\u5408\u96C6",group:"\u5206\u7EC4",custom:"\u81EA\u5B9A\u4E49",change:"\u6539\u53D8",blur:"\u5931\u53BB\u7126\u70B9",preview:"\u9884\u89C8",clear:"\u6E05\u7A7A",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",ok:"\u786E\u5B9A",save:"\u4FDD\u5B58",refresh:"\u5237\u65B0",submit:"\u63D0\u4EA4",reset:"\u91CD\u7F6E",copy:"\u590D\u5236",delete:"\u5220\u9664",hide:"\u9690\u85CF",show:"\u663E\u793A",position:"\u4F4D\u7F6E",render:"\u6E32\u67D3",large:"\u5927",default:"\u9ED8\u8BA4",small:"\u5C0F",always:"\u5E38\u663E",never:"\u4E0D\u663E\u793A",hover:"\u60AC\u6D6E",click:"\u70B9\u51FB",button:"\u6309\u94AE",year:"\u5E74\u4EFD",month:"\u6708\u4EFD",date:"\u65E5\u671F",dates:"\u65E5\u671F\u591A\u9009",week:"\u4E00\u5468",datetime:"\u65E5\u671F\u65F6\u95F4","datetime-local":"\u65E5\u671F\u65F6\u95F4",datetimerange:"\u65E5\u671F\u65F6\u95F4\u533A\u95F4",daterange:"\u65E5\u671F\u533A\u95F4",monthrange:"\u6708\u4EFD\u533A\u95F4",left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",top:"\u9876\u90E8",bottom:"\u5E95\u90E8",text:"\u6587\u5B57",icon:"\u56FE\u6807",picture:"\u56FE\u7247","picture-card":"\u5361\u7247",center:"\u5C45\u4E2D",vertical:"\u7AD6\u5411",horizontal:"\u6A2A\u5411",manage:"\u7BA1\u7406",key:"\u952E\u540D",name:"\u540D\u79F0",value:"\u503C",inputData:"\u9ED8\u8BA4\u503C",append:"\u63D2\u5165",options:"\u9009\u9879\u6570\u636E",option:"\u9009\u9879",callback:"\u56DE\u8C03",mode:"\u6A21\u5F0F",style:"\u6837\u5F0F",print:"\u6253\u5370",_self:"\u5F53\u524D\u7A97\u53E3",_blank:"\u65B0\u7684\u7A97\u53E3",_parent:"\u7236\u7EA7\u7A97\u53E3",_top:"\u9876\u7EA7\u7A97\u53E3"},slots:{prefix:"\u5934\u90E8\u5185\u5BB9",suffix:"\u5C3E\u90E8\u5185\u5BB9",prepend:"\u524D\u7F6E\u5185\u5BB9",append:"\u540E\u7F6E\u5185\u5BB9"},behavior:{add:"\u6DFB\u52A0\u52A8\u4F5C",props:{id:"\u9009\u62E9\u7EC4\u4EF6",status:"\u72B6\u6001",compute:"\u6761\u4EF6",static:"\u9759\u6001",formula:"\u8868\u8FBE\u5F0F",setFormula:"\u914D\u7F6E\u8868\u8FBE\u5F0F",continue:"\u7EE7\u7EED\u6267\u884C\u52A8\u4F5C",stop:"\u4E2D\u65AD\u6267\u884C\u52A8\u4F5C",break:"\u8DF3\u8FC7\u5F53\u524D\u52A8\u4F5C",model:"\u9009\u62E9\u5F39\u7A97",fetch:"\u914D\u7F6E\u8BF7\u6C42",response:"\u8BF7\u6C42\u7ED3\u679C",callback:"\u81EA\u5B9A\u4E49JS",ignoreError:"\u6267\u884C\u5F02\u5E38",expression:"\u6267\u884C\u6761\u4EF6",stopPropagation:"\u963B\u65AD\u6761\u4EF6",execute:"\u6267\u884C\u52A8\u4F5C",info:"\u52A8\u4F5C\u8BF4\u660E"},openModel:{name:"\u6253\u5F00\u5F39\u7A97",info:"\u6253\u5F00\u6240\u9009\u7684\u5F39\u7A97"},closeModel:{name:"\u5173\u95ED\u5F39\u7A97",info:"\u5173\u95ED\u5F53\u524D\u5F39\u7A97"},hidden:{name:"\u7EC4\u4EF6\u53EF\u89C1\u6027",info:"\u63A7\u5236\u6240\u9009\u7684\u7EC4\u4EF6\u7684\u663E\u793A/\u9690\u85CF"},disabled:{name:"\u7EC4\u4EF6\u53EF\u7528\u6027",info:"\u63A7\u5236\u6240\u9009\u7684\u7EC4\u4EF6\u7684\u542F\u7528/\u7981\u7528"},resetFields:{name:"\u91CD\u7F6E\u8868\u5355",info:"\u91CD\u7F6E\u8868\u5355\u6570\u636E"},clearFields:{name:"\u6E05\u7A7A\u8868\u5355",info:"\u6E05\u7A7A\u8868\u5355\u6570\u636E"},validate:{name:"\u6821\u9A8C\u8868\u5355",info:"\u5BF9\u6574\u4E2A\u8868\u5355\u7684\u5185\u5BB9\u8FDB\u884C\u6821\u9A8C"},validateFields:{name:"\u6821\u9A8C\u8868\u5355\u9879",info:"\u6821\u9A8C\u6240\u9009\u7684\u7684\u8868\u5355\u9879"},setValue:{name:"\u8868\u5355\u8D4B\u503C",info:"\u4FEE\u6539\u8868\u5355\u7684\u6570\u636E"},fetch:{name:"\u53D1\u9001\u8BF7\u6C42",info:"\u914D\u7F6E\u5E76\u53D1\u9001API\u8BF7\u6C42",props:{append:"\u8FFD\u52A0\u8868\u5355\u6570\u636E"},warning:{append:"\u5F00\u542F\u540E\uFF0C\u8FDC\u7A0B\u8BF7\u6C42\u8FD4\u56DE\u7684\u6570\u636E\u5C06\u81EA\u52A8\u8FFD\u52A0\u5230\u8868\u5355\u7684\u6570\u636E\u4E2D\u3002",response:"\u8FDC\u7A0B\u8BF7\u6C42\u8FD4\u56DE\u7684\u6570\u636E\u5C06\u6682\u5B58\u5230\u6307\u5B9A\u7684\u53D8\u91CF\u4E2D\u3002"}},copy:{name:"\u590D\u5236\u5185\u5BB9",info:"\u590D\u5236\u6587\u672C\u5185\u5BB9\u81F3\u7C98\u8D34\u677F"},callback:{name:"\u81EA\u5B9A\u4E49\u64CD\u4F5C",info:"\u901A\u8FC7JavaScript\u81EA\u5B9A\u4E49\u52A8\u4F5C\u903B\u8F91"},message:{name:"\u6D88\u606F\u63D0\u9192",info:"\u5F39\u51FA\u6D88\u606F\u63D0\u9192",props:{type:"\u7C7B\u578B",message:"\u63D0\u793A\u4FE1\u606F",duration:"\u6301\u7EED\u65F6\u95F4(ms)",showClose:"\u663E\u793A\u5173\u95ED\u6309\u94AE"}},submit:{name:"\u63D0\u4EA4\u8868\u5355",info:"\u624B\u52A8\u63D0\u4EA4\u8868\u5355\u5E76\u89E6\u53D1\u8868\u5355\u63D0\u4EA4\u4E8B\u4EF6"}},com:{cascader:{name:"\u7EA7\u8054\u9009\u62E9\u5668",event:{expandChange:"\u5F53\u5C55\u5F00\u8282\u70B9\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1",removeTag:"\u5728\u591A\u9009\u6A21\u5F0F\u4E0B\uFF0C\u79FB\u9664Tag\u65F6\u89E6\u53D1"},props:{props:"\u914D\u7F6E\u9009\u9879",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u652F\u6301\u6E05\u7A7A\u9009\u9879",showAllLevels:"\u8F93\u5165\u6846\u4E2D\u662F\u5426\u663E\u793A\u9009\u4E2D\u503C\u7684\u5B8C\u6574\u8DEF\u5F84",collapseTags:"\u591A\u9009\u6A21\u5F0F\u4E0B\u662F\u5426\u6298\u53E0Tag",collapseTagsTooltip:"\u5F53\u9F20\u6807\u60AC\u505C\u4E8E\u6298\u53E0\u6807\u7B7E\u7684\u6587\u672C\u65F6\uFF0C\u662F\u5426\u663E\u793A\u6240\u6709\u9009\u4E2D\u7684\u6807\u7B7E",separator:"\u9009\u9879\u5206\u9694\u7B26",filterable:"\u8BE5\u9009\u9879\u662F\u5426\u53EF\u4EE5\u88AB\u641C\u7D22",tagType:"\u6807\u7B7E\u7C7B\u578B"},propsOpt:{multiple:"\u662F\u5426\u591A\u9009",expandTrigger:"\u6B21\u7EA7\u83DC\u5355\u7684\u5C55\u5F00\u65B9\u5F0F",checkStrictly:"\u662F\u5426\u4E25\u683C\u7684\u9075\u5B88\u7236\u5B50\u8282\u70B9\u4E0D\u4E92\u76F8\u5173\u8054",emitPath:"\u5728\u9009\u4E2D\u8282\u70B9\u6539\u53D8\u65F6\uFF0C\u662F\u5426\u8FD4\u56DE\u7531\u8BE5\u8282\u70B9\u6240\u5728\u7684\u5404\u7EA7\u83DC\u5355\u7684\u503C\u6240\u7EC4\u6210\u7684\u6570\u7EC4",value:"\u6307\u5B9A\u9009\u9879\u7684\u503C\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",label:"\u6307\u5B9A\u9009\u9879\u6807\u7B7E\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",children:"\u6307\u5B9A\u9009\u9879\u7684\u5B50\u9009\u9879\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",disabled:"\u6307\u5B9A\u9009\u9879\u7684\u7981\u7528\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",leaf:"\u6307\u5B9A\u9009\u9879\u7684\u53F6\u5B50\u8282\u70B9\u7684\u6807\u5FD7\u4F4D\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C"}},checkbox:{name:"\u591A\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",type:"\u6309\u94AE\u7C7B\u578B",disabled:"\u662F\u5426\u7981\u7528",min:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5C0F\u6570\u91CF",max:"\u53EF\u88AB\u52FE\u9009\u7684\u6700\u5927\u6570\u91CF",textColor:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u5B57\u4F53\u989C\u8272",fill:"\u5F53\u6309\u94AE\u4E3A\u6D3B\u8DC3\u72B6\u6001\u65F6\u7684\u8FB9\u6846\u548C\u80CC\u666F\u989C\u8272"}},col:{name:"\u5E03\u5C40\u683C\u5B50",info:"\u901A\u8FC7\u54CD\u5E94\u5F0F\u914D\u7F6E\u591A\u7AEF\u5E03\u5C40\uFF0C\u79FB\u52A8\u7AEF\u4F1A\u81EA\u52A8\u5E94\u7528\u7B2C\u4E00\u4E2A",props:{span:"\u6805\u683C\u5360\u636E\u7684\u5217\u6570",offset:"\u6805\u683C\u5DE6\u4FA7\u7684\u95F4\u9694\u683C\u6570",push:"\u6805\u683C\u5411\u53F3\u79FB\u52A8\u683C\u6570",pull:"\u6805\u683C\u5411\u5DE6\u79FB\u52A8\u683C\u6570"}},colorPicker:{name:"\u989C\u8272\u9009\u62E9\u5668",event:{activeChange:"\u9762\u677F\u4E2D\u5F53\u524D\u663E\u793A\u7684\u989C\u8272\u53D1\u751F\u6539\u53D8\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",showAlpha:"\u662F\u5426\u652F\u6301\u900F\u660E\u5EA6\u9009\u62E9",colorFormat:"\u989C\u8272\u7684\u683C\u5F0F",predefine:"\u9884\u5B9A\u4E49\u989C\u8272"}},datePicker:{name:"\u65E5\u671F",props:{pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",type:"\u663E\u793A\u7C7B\u578B",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u7ED3\u675F\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",format:"\u663E\u793A\u5728\u8F93\u5165\u6846\u4E2D\u7684\u683C\u5F0F",align:"\u5BF9\u9F50\u65B9\u5F0F",rangeSeparator:"\u9009\u62E9\u8303\u56F4\u65F6\u7684\u5206\u9694\u7B26",unlinkPanels:"\u5728\u8303\u56F4\u9009\u62E9\u5668\u91CC\u53D6\u6D88\u4E24\u4E2A\u65E5\u671F\u9762\u677F\u4E4B\u95F4\u7684\u8054\u52A8"}},dateRange:{name:"\u65E5\u671F\u533A\u95F4"},timeRange:{name:"\u65F6\u95F4\u533A\u95F4"},elAlert:{name:"\u63D0\u793A",description:"\u8BF4\u660E\u6587\u5B57",props:{title:"\u6807\u9898",type:"\u4E3B\u9898",description:"\u8F85\u52A9\u6027\u6587\u5B57",closable:"\u662F\u5426\u53EF\u5173\u95ED",center:"\u6587\u5B57\u662F\u5426\u5C45\u4E2D",closeText:"\u5173\u95ED\u6309\u94AE\u81EA\u5B9A\u4E49\u6587\u672C",showIcon:"\u662F\u5426\u663E\u793A\u56FE\u6807",effect:"\u9009\u62E9\u63D0\u4F9B\u7684\u4E3B\u9898"}},elButton:{name:"\u6309\u94AE",props:{formCreateChild:"\u5185\u5BB9",size:"\u5C3A\u5BF8",type:"\u7C7B\u578B",plain:"\u662F\u5426\u6734\u7D20\u6309\u94AE",round:"\u662F\u5426\u5706\u89D2\u6309\u94AE",circle:"\u662F\u5426\u5706\u5F62\u6309\u94AE",loading:"\u662F\u5426\u52A0\u8F7D\u4E2D\u72B6\u6001",disabled:"\u662F\u5426\u7981\u7528\u72B6\u6001"}},elCard:{name:"\u5361\u7247",props:{header:"\u6807\u9898",shadow:"\u9634\u5F71\u663E\u793A\u65F6\u673A"}},elCollapse:{name:"\u6298\u53E0\u9762\u677F",event:{change:"\u5207\u6362\u5F53\u524D\u6D3B\u52A8\u9762\u677F\uFF0C\u5728\u624B\u98CE\u7434\u6A21\u5F0F\u4E0B\u5176\u7C7B\u578B\u662Fstring\uFF0C\u5728\u5176\u4ED6\u6A21\u5F0F\u4E0B\u662Farray"},props:{accordion:"\u662F\u5426\u624B\u98CE\u7434\u6A21\u5F0F"}},elCollapseItem:{name:"\u9762\u677F",props:{title:"\u9762\u677F\u6807\u9898",name:"\u552F\u4E00\u6807\u5FD7\u7B26",disabled:"\u662F\u5426\u7981\u7528"}},elDescriptions:{name:"\u63CF\u8FF0\u5217\u8868",props:{title:"\u6807\u9898\u6587\u672C\uFF0C\u663E\u793A\u5728\u5DE6\u4E0A\u65B9",extra:"\u64CD\u4F5C\u533A\u6587\u672C\uFF0C\u663E\u793A\u5728\u53F3\u4E0A\u65B9",column:"\u4E00\u884C\u4E2D\u8868\u683C\u7684\u6570\u91CF",border:"\u662F\u5426\u5E26\u6709\u8FB9\u6846",direction:"\u6392\u5217\u7684\u65B9\u5411",size:"\u5217\u8868\u7684\u5C3A\u5BF8"}},elDescriptionsItem:{name:"\u63CF\u8FF0\u683C\u5B50",props:{label:"\u6807\u7B7E\u6587\u672C",__child:"\u5185\u5BB9",span:"\u5217\u7684\u6570\u91CF",width:"\u5217\u7684\u5BBD\u5EA6\uFF0C\u4E0D\u540C\u884C\u76F8\u540C\u5217\u7684\u5BBD\u5EA6\u6309\u6700\u5927\u503C\u8BBE\u5B9A\uFF08\u5982\u65E0 border \uFF0C\u5BBD\u5EA6\u5305\u542B\u6807\u7B7E\u4E0E\u5185\u5BB9",minWidth:"\u5217\u7684\u6700\u5C0F\u5BBD\u5EA6",align:"\u5217\u7684\u5185\u5BB9\u5BF9\u9F50\u65B9\u5F0F\uFF08\u5982\u65E0 border\uFF0C\u5BF9\u6807\u7B7E\u548C\u5185\u5BB9\u5747\u751F\u6548\uFF09",labelAlign:"\u5217\u7684\u6807\u7B7E\u5BF9\u9F50\u65B9\u5F0F\uFF0C\u82E5\u4E0D\u8BBE\u7F6E\u8BE5\u9879\uFF0C\u5219\u4F7F\u7528\u5185\u5BB9\u7684\u5BF9\u9F50\u65B9\u5F0F\uFF08\u5982\u65E0 border\uFF0C\u8BF7\u4F7F\u7528 align \u53C2\u6570\uFF09",className:"\u5217\u7684\u5185\u5BB9\u81EA\u5B9A\u4E49\u7C7B\u540D"}},elDivider:{name:"\u5206\u5272\u7EBF",props:{direction:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u65B9\u5411",formCreateChild:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848",contentPosition:"\u8BBE\u7F6E\u5206\u5272\u7EBF\u6587\u6848\u7684\u4F4D\u7F6E"}},elTabPane:{name:"\u9009\u9879\u5361",props:{label:"\u9009\u9879\u5361\u6807\u9898",disabled:"\u662F\u5426\u7981\u7528",name:"\u9009\u9879\u5361\u7684\u6807\u8BC6\u7B26",lazy:"\u6807\u7B7E\u662F\u5426\u5EF6\u8FDF\u6E32\u67D3"}},elTabs:{name:"\u6807\u7B7E\u9875",event:{tabClick:"tab \u88AB\u9009\u4E2D\u65F6\u89E6\u53D1",tabChange:"activeName \u6539\u53D8\u65F6\u89E6\u53D1",tabRemove:"\u70B9\u51FB tab \u79FB\u9664\u6309\u94AE\u65F6\u89E6\u53D1",tabAdd:"\u70B9\u51FB tab \u65B0\u589E\u6309\u94AE\u65F6\u89E6\u53D1",edit:"\u70B9\u51FB tab \u7684\u65B0\u589E\u6216\u79FB\u9664\u6309\u94AE\u540E\u89E6\u53D1"},props:{type:"\u98CE\u683C\u7C7B\u578B",closable:"\u6807\u7B7E\u662F\u5426\u53EF\u5173\u95ED",tabPosition:"\u9009\u9879\u5361\u6240\u5728\u4F4D\u7F6E",stretch:"\u6807\u7B7E\u7684\u5BBD\u5EA6\u662F\u5426\u81EA\u6491\u5F00"}},elTag:{name:"\u6807\u7B7E",props:{formCreateChild:"\u6807\u7B7E\u5185\u5BB9",type:"\u6807\u7B7E\u7684\u7C7B\u578B",size:"\u6807\u7B7E\u7684\u5C3A\u5BF8",effect:"\u6807\u7B7E\u7684\u4E3B\u9898",closable:"\u662F\u5426\u53EF\u5173\u95ED",disableTransitions:"\u662F\u5426\u7981\u7528\u6E10\u53D8\u52A8\u753B",hit:"\u662F\u5426\u6709\u8FB9\u6846\u63CF\u8FB9",round:"\u662F\u5426\u4E3A\u5706\u5F62",color:"\u80CC\u666F\u8272"}},elTransfer:{name:"\u7A7F\u68AD\u6846",event:{leftCheckChange:"\u5DE6\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1",rightCheckChange:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u88AB\u7528\u6237\u9009\u4E2D / \u53D6\u6D88\u9009\u4E2D\u65F6\u89E6\u53D1"},props:{filterable:"\u662F\u5426\u53EF\u641C\u7D22",filterPlaceholder:"\u641C\u7D22\u6846\u5360\u4F4D\u7B26",targetOrder:"\u53F3\u4FA7\u5217\u8868\u5143\u7D20\u7684\u6392\u5E8F\u7B56\u7565",targetOrderInfo:"\u82E5\u4E3A original\uFF0C\u5219\u4FDD\u6301\u4E0E\u6570\u636E\u76F8\u540C\u7684\u987A\u5E8F\uFF1B\u82E5\u4E3A push\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u540E\uFF1B\u82E5\u4E3A unshift\uFF0C\u5219\u65B0\u52A0\u5165\u7684\u5143\u7D20\u6392\u5728\u6700\u524D",titles:"\u81EA\u5B9A\u4E49\u5217\u8868\u6807\u9898",buttonTexts:"\u81EA\u5B9A\u4E49\u6309\u94AE\u6587\u6848",props:"\u6570\u636E\u6E90\u7684\u5B57\u6BB5\u522B\u540D"}},elTreeSelect:{name:"\u6811\u5F62\u9009\u62E9",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",props:"\u914D\u7F6E\u9009\u9879",checkStrictly:"\u5728\u663E\u793A\u590D\u9009\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u4E25\u683C\u7684\u9075\u5FAA\u7236\u5B50\u4E0D\u4E92\u76F8\u5173\u8054\u7684\u505A\u6CD5",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},elLink:{name:"\u94FE\u63A5",props:{formCreateChild:"\u5185\u5BB9",href:"\u8DF3\u8F6C\u94FE\u63A5",type:"\u7C7B\u578B",underline:"\u662F\u5426\u663E\u793A\u4E0B\u5212\u7EBF",disabled:"\u662F\u5426\u7981\u7528",target:"\u6253\u5F00\u65B9\u5F0F"}},elWatermark:{name:"\u6C34\u5370",props:{content:"\u6C34\u5370\u6587\u672C\u5185\u5BB9",image:"\u6C34\u5370\u56FE\u7247\uFF0C\u5EFA\u8BAE\u4F7F\u7528 2x \u6216 3x \u56FE\u50CF",width:"\u6C34\u5370\u7684\u5BBD\u5EA6\uFF0C content \u7684\u9ED8\u8BA4\u503C\u662F\u5B83\u81EA\u5DF1\u7684\u5BBD\u5EA6",height:"\u6C34\u5370\u7684\u9AD8\u5EA6\uFF0C content \u7684\u9ED8\u8BA4\u503C\u662F\u5B83\u81EA\u5DF1\u7684\u9AD8\u5EA6",rotate:"\u6C34\u5370\u7684\u65CB\u8F6C\u89D2\u5EA6, \u5355\u4F4D \xB0",zIndex:"\u6C34\u5370\u5143\u7D20\u7684z-index\u503C",gap:"\u6C34\u5370\u4E4B\u95F4\u7684\u95F4\u8DDD"}},elTooltip:{name:"\u6587\u5B57\u63D0\u793A",props:{content:"\u663E\u793A\u7684\u5185\u5BB9",disabled:"\u662F\u5426\u7981\u7528",rawContent:"\u5185\u5BB9\u662F\u5426\u4F5C\u4E3A HTML \u5B57\u7B26\u4E32\u5904\u7406",enterable:"\u9F20\u6807\u662F\u5426\u53EF\u8FDB\u5165\u5230 Tooltip \u4E2D",effect:"\u4E3B\u9898",placement:"Tooltip \u7EC4\u4EF6\u51FA\u73B0\u7684\u4F4D\u7F6E",trigger:"\u5982\u4F55\u89E6\u53D1 Tooltip",offset:"\u51FA\u73B0\u4F4D\u7F6E\u7684\u504F\u79FB\u91CF",showAfter:"\u5728\u89E6\u53D1\u540E\u591A\u4E45\u663E\u793A\u5185\u5BB9\uFF0C\u5355\u4F4D\u6BEB\u79D2",hideAfter:"\u5EF6\u8FDF\u5173\u95ED\uFF0C\u5355\u4F4D\u6BEB\u79D2",autoClose:"\u51FA\u73B0\u540E\u81EA\u52A8\u9690\u85CF\u5EF6\u65F6\uFF0C\u5355\u4F4D\u6BEB\u79D2"}},elImage:{name:"\u56FE\u7247",props:{src:"\u56FE\u7247\u94FE\u63A5",previewSrcList:"\u9884\u89C8\u56FE\u7247\u5217\u8868"}},elAvatar:{name:"\u5934\u50CF\u6846",props:{src:"\u56FE\u7247\u94FE\u63A5",shape:"\u5F62\u72B6",size:"\u5C3A\u5BF8"}},elMention:{name:"\u63D0\u53CA",event:{search:"\u6309\u4E0B\u89E6\u53D1\u5B57\u6BB5\u65F6\u89E6\u53D1",select:"\u5F53\u7528\u6237\u9009\u62E9\u9009\u9879\u65F6\u89E6\u53D1"},props:{type:"\u7C7B\u578B",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",whole:"\u5F53\u9000\u683C\u952E\u88AB\u6309\u4E0B\u505A\u5220\u9664\u64CD\u4F5C\u65F6\uFF0C\u662F\u5426\u5C06\u63D0\u53CA\u90E8\u5206\u4F5C\u4E3A\u6574\u4F53\u5220\u9664",checkIsWhole:"\u5F53\u9000\u683C\u952E\u88AB\u6309\u4E0B\u505A\u5220\u9664\u64CD\u4F5C\u65F6\uFF0C\u68C0\u67E5\u662F\u5426\u5C06\u63D0\u53CA\u90E8\u5206\u4F5C\u4E3A\u6574\u4F53\u5220\u9664",filterOption:"\u7B5B\u9009\u5668\u9009\u9879\u903B\u8F91"}},elSegmented:{name:"\u5206\u6BB5\u63A7\u5236\u5668",props:{size:"\u5C3A\u5BF8",block:"\u6491\u6EE1\u7236\u5143\u7D20\u5BBD\u5EA6",disabled:"\u662F\u5426\u7981\u7528"}},elFormItem:{name:"\u8868\u5355\u9879",props:{label:"\u6807\u7B7E\u6587\u672C",labelWidth:"\u6807\u7B7E\u5BBD\u5EA6",size:"\u5C3A\u5BF8"}},elStatistic:{name:"\u7EDF\u8BA1\u680F",props:{value:"\u6570\u503C",title:"\u6807\u9898",prefix:"\u6570\u503C\u7684\u524D\u7F00",suffix:"\u6570\u503C\u7684\u540E\u7F00"}},fcTitle:{name:"\u6807\u9898",props:{title:"\u6807\u9898",size:"\u5C3A\u5BF8",align:"\u5BF9\u9F50\u65B9\u5F0F"}},fcId:{name:"\u552F\u4E00\u503C",props:{prefix:"\u524D\u7F00"}},fcCity:{name:"\u7701\u5E02\u533A\u9009\u62E9\u5668",props:{api:"\u6570\u636E\u94FE\u63A5 URI",level:"\u7C7B\u578B",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",filter:"\u6570\u636E\u8FC7\u6EE4,\u8FD4\u56DE\u53EF\u9009\u62E9\u6570\u636E"}},fcCell:{name:"\u683C\u5B50"},fcEditor:{name:"\u5BCC\u6587\u672C\u6846",props:{disabled:"\u662F\u5426\u7981\u7528"}},fcFlex:{name:"\u76D2\u5B50\u5E03\u5C40"},fcFlex2:{name:"\u76D2\u5B50\u5E03\u5C40",horizontal:"\u6C34\u5E73\u5C45\u4E2D",vertical:"\u5782\u76F4\u5C45\u4E2D",left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",reset:"\u91CD\u7F6E\u5E03\u5C40"},fcRow:{name:"\u6805\u683C\u5E03\u5C40",props:{gutter:"\u6805\u683C\u95F4\u9694",type:"flex\u5E03\u5C40\u6A21\u5F0F",justify:"flex\u5E03\u5C40\u4E0B\u7684\u6C34\u5E73\u6392\u5217\u65B9\u5F0F",align:"flex\u5E03\u5C40\u4E0B\u7684\u5782\u76F4\u6392\u5217\u65B9\u5F0F"}},fcDialog:{name:"\u5F39\u51FA\u6846",props:{title:"\u6807\u9898",width:"\u5BF9\u8BDD\u6846\u7684\u5BBD\u5EA6",fullscreen:"\u662F\u5426\u4E3A\u5168\u5C4F",modal:"\u662F\u5426\u9700\u8981\u906E\u7F69\u5C42",autoClose:"\u63D0\u4EA4\u8868\u5355\u540E\u81EA\u52A8\u5173\u95ED\u5F39\u51FA\u6846",footer:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",beforeClose:"\u5173\u95ED\u524D\u7684\u56DE\u8C03"}},fcDrawer:{name:"\u62BD\u5C49",props:{title:"\u6807\u9898",size:"\u5BF9\u8BDD\u6846\u7684\u5BBD\u5EA6",direction:"\u6253\u5F00\u7684\u65B9\u5411",modal:"\u662F\u5426\u9700\u8981\u906E\u7F69\u5C42",autoClose:"\u63D0\u4EA4\u8868\u5355\u540E\u81EA\u52A8\u5173\u95ED\u5F39\u51FA\u6846",footer:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",beforeClose:"\u5173\u95ED\u524D\u7684\u56DE\u8C03"},directionType:{ltr:"\u5DE6\u4FA7",rtl:"\u53F3\u4FA7"}},fcTable:{name:"\u8868\u683C\u5E03\u5C40",props:{mini:"\u7D27\u51D1\u6A21\u5F0F",border:"\u662F\u5426\u663E\u793A\u8FB9\u6846",borderColor:"\u8FB9\u6846\u989C\u8272",borderWidth:"\u8FB9\u6846\u5BBD\u5EA6"}},fcTableGrid:{name:"\u683C\u5B50"},fcValue:{name:"\u8BA1\u7B97\u516C\u5F0F",empty:"\u5728\u53F3\u4FA7\u914D\u7F6E\u4E2D\u8BBE\u7F6E\u8BA1\u7B97\u516C\u5F0F"},fcSlot:{name:"\u63D2\u69FD\u533A\u57DF",empty:"\u901A\u8FC7\u5B9A\u4E49\u63D2\u69FD {tag} \u586B\u5145\u533A\u57DF",props:{name:"\u63D2\u69FD\u540D\u79F0"}},fcJson:{name:"\u52A8\u6001\u533A\u57DF",empty:"\u901A\u8FC7\u52A0\u8F7D {tag} \u89C4\u5219\u586B\u5145\u533A\u57DF",props:{_loadType:"JSON \u89C4\u5219",type:"\u7C7B\u578B"}},lineChart:{name:"\u6298\u7EBF\u56FE",data:"\u56FE\u8868\u6570\u636E",pieTypeOpt:{pie:"\u5706\u5F62",doughnut:"\u73AF\u5F62","half-doughnut":"\u534A\u73AF\u5F62"},funnelSortOpt:{descending:"\u5012\u5E8F",ascending:"\u6B63\u5E8F"},props:{title:"\u56FE\u8868\u7684\u540D\u79F0",subtitle:"\u56FE\u8868\u7684\u7B80\u4ECB",valueFormat:"\u683C\u5F0F\u5316\u6570\u503C\u663E\u793A",stack:"\u591A\u5217\u6570\u636E\u65F6\u662F\u5426\u5806\u53E0",smooth:"\u7EBF\u6761\u662F\u5426\u5E73\u6ED1\u8FC7\u6E21",showLegend:"\u662F\u5426\u663E\u793A\u6807\u8BB0",showSeriesLabel:"\u662F\u5426\u663E\u793A\u6570\u503C",barBackgroundColor:"\u67F1\u72B6\u7684\u80CC\u666F\u8272",funnelSort:"\u6392\u5E8F\u65B9\u5F0F",pieType:"\u5F62\u72B6",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",value:"\u6570\u503C",indicator:"\u6307\u793A\u5668",loadOptions:"\u521D\u59CB\u5316"}},areaChart:{name:"\u4F53\u79EF\u56FE"},barChart:{name:"\u67F1\u72B6\u56FE"},customChart:{name:"\u81EA\u5B9A\u4E49\u56FE\u8868"},funnelChart:{name:"\u6F0F\u6597\u56FE"},gaugeChart:{name:"\u4EEA\u8868\u76D8"},pieChart:{name:"\u997C\u56FE"},radarChart:{name:"\u96F7\u8FBE\u56FE"},scatterChart:{name:"\u6563\u70B9\u56FE"},stripeChart:{name:"\u6761\u5F62\u56FE"},fcInlineForm:{name:"\u884C\u5185\u5E03\u5C40"},group:{name:"\u5B50\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001",expand:"\u8BBE\u7F6E\u9ED8\u8BA4\u5C55\u5F00\u51E0\u9879",button:"\u662F\u5426\u663E\u793A\u64CD\u4F5C\u6309\u94AE",sortBtn:"\u662F\u5426\u663E\u793A\u6392\u5E8F\u6309\u94AE",min:"\u8BBE\u7F6E\u6700\u5C0F\u6DFB\u52A0\u51E0\u9879",max:"\u8BBE\u7F6E\u6700\u591A\u6DFB\u52A0\u51E0\u9879"}},html:{name:"HTML",props:{formCreateChild:"\u5185\u5BB9"}},input:{name:"\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{type:"\u7C7B\u578B",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB"}},inputNumber:{name:"\u6570\u5B57\u8F93\u5165\u6846",props:{precision:"\u6570\u503C\u7CBE\u5EA6",min:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5C0F\u503C",max:"\u8BBE\u7F6E\u8BA1\u6570\u5668\u5141\u8BB8\u7684\u6700\u5927\u503C",step:"\u8BA1\u6570\u5668\u6B65\u957F",stepStrictly:"\u662F\u5426\u53EA\u80FD\u8F93\u5165 step \u7684\u500D\u6570",disabled:"\u662F\u5426\u7981\u7528\u8BA1\u6570\u5668",controls:"\u662F\u5426\u4F7F\u7528\u63A7\u5236\u6309\u94AE",controlsPosition:"\u63A7\u5236\u6309\u94AE\u4F4D\u7F6E",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C"}},password:{name:"\u5BC6\u7801\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE"}},radio:{name:"\u5355\u9009\u6846",props:{input:"\u662F\u5426\u53EF\u4EE5\u586B\u5199",disabled:"\u662F\u5426\u7981\u7528",type:"\u6309\u94AE\u5F62\u5F0F",textColor:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u6587\u672C\u989C\u8272",fill:"\u6309\u94AE\u5F62\u5F0F\u6FC0\u6D3B\u65F6\u7684\u586B\u5145\u8272\u548C\u8FB9\u6846\u8272"}},rate:{name:"\u8BC4\u5206",props:{max:"\u6700\u5927\u5206\u503C",disabled:"\u662F\u5426\u7981\u7528",allowHalf:"\u662F\u5426\u5141\u8BB8\u534A\u9009",voidColor:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",disabledVoidColor:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u989C\u8272",voidIconClass:"\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",disabledVoidIconClass:"\u53EA\u8BFB\u65F6\u672A\u9009\u4E2D\u65F6\u56FE\u6807\u7684\u7C7B\u540D",showScore:"\u662F\u5426\u663E\u793A\u5F53\u524D\u5206\u6570",textColor:"\u8F85\u52A9\u6587\u5B57\u7684\u989C\u8272",scoreTemplate:"\u5206\u6570\u663E\u793A\u6A21\u677F"}},fcDataSelect:{name:"\u5B50\u8868\u5355\u9009\u62E9\u5668"},select:{name:"\u9009\u62E9\u5668",title:"\u8BF7\u9009\u62E9",emptyText:"\u62D6\u62FD\u7EC4\u4EF6\u914D\u7F6E\u641C\u7D22\u6761\u4EF6",event:{removeTag:"\u591A\u9009\u6A21\u5F0F\u4E0B\u79FB\u9664tag\u65F6\u89E6\u53D1"},props:{title:"\u6807\u9898",valueKey:"\u6307\u5B9A\u9009\u9879\u7684\u503C\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",labelKey:"\u6307\u5B9A\u9009\u9879\u6807\u7B7E\u4E3A\u9009\u9879\u5BF9\u8C61\u7684\u67D0\u4E2A\u5C5E\u6027\u503C",autoLoad:"\u81EA\u52A8\u89E6\u53D1\u641C\u7D22",multiple:"\u662F\u5426\u591A\u9009",disabled:"\u662F\u5426\u7981\u7528",clearable:"\u662F\u5426\u53EF\u4EE5\u6E05\u7A7A\u9009\u9879",collapseTags:"\u591A\u9009\u65F6\u662F\u5426\u5C06\u9009\u4E2D\u503C\u6309\u6587\u5B57\u7684\u5F62\u5F0F\u5C55\u793A",multipleLimit:"\u591A\u9009\u65F6\u7528\u6237\u6700\u591A\u53EF\u4EE5\u9009\u62E9\u7684\u9879\u76EE\u6570\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",placeholder:"\u5360\u4F4D\u7B26",filterable:"\u662F\u5426\u53EF\u641C\u7D22",allowCreate:"\u662F\u5426\u5141\u8BB8\u7528\u6237\u521B\u5EFA\u65B0\u6761\u76EE",noMatchText:"\u641C\u7D22\u6761\u4EF6\u65E0\u5339\u914D\u65F6\u663E\u793A\u7684\u6587\u5B57",noDataText:"\u9009\u9879\u4E3A\u7A7A\u65F6\u663E\u793A\u7684\u6587\u5B57",reserveKeyword:"\u591A\u9009\u4E14\u53EF\u641C\u7D22\u65F6\uFF0C\u662F\u5426\u5728\u9009\u4E2D\u4E00\u4E2A\u9009\u9879\u540E\u4FDD\u7559\u5F53\u524D\u7684\u641C\u7D22\u5173\u952E\u8BCD",defaultFirstOption:"\u5728\u8F93\u5165\u6846\u6309\u4E0B\u56DE\u8F66\uFF0C\u9009\u62E9\u7B2C\u4E00\u4E2A\u5339\u914D\u9879",remote:"\u5176\u4E2D\u7684\u9009\u9879\u662F\u5426\u4ECE\u670D\u52A1\u5668\u8FDC\u7A0B\u52A0\u8F7D",remoteMethod:"\u81EA\u5B9A\u4E49\u8FDC\u7A0B\u641C\u7D22\u65B9\u6CD5"}},slider:{name:"\u6ED1\u5757",props:{min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",disabled:"\u662F\u5426\u7981\u7528",step:"\u6B65\u957F",showInput:"\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\uFF0C\u4EC5\u5728\u975E\u8303\u56F4\u9009\u62E9\u65F6\u6709\u6548",showInputControls:"\u5728\u663E\u793A\u8F93\u5165\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u663E\u793A\u8F93\u5165\u6846\u7684\u63A7\u5236\u6309\u94AE",showStops:"\u662F\u5426\u663E\u793A\u95F4\u65AD\u70B9",range:"\u662F\u5426\u4E3A\u8303\u56F4\u9009\u62E9",vertical:"\u662F\u5426\u7AD6\u5411\u6A21\u5F0F",height:"Slider \u9AD8\u5EA6\uFF0C\u7AD6\u5411\u6A21\u5F0F\u65F6\u5FC5\u586B"}},space:{name:"\u95F4\u8DDD"},stepForm:{name:"\u5206\u6B65\u8868\u5355",event:{next:"\u70B9\u51FB\u4E0B\u4E00\u6B65\u6309\u94AE\u65F6\u89E6\u53D1"},props:{submitBtn:"\u663E\u793A\u63D0\u4EA4\u6309\u94AE",autoValidate:"\u8FDB\u5165\u4E0B\u4E00\u6B65\u524D\u81EA\u52A8\u9A8C\u8BC1\u8868\u5355","stepsProps>alignCenter":"\u8FDB\u884C\u5C45\u4E2D\u5BF9\u9F50","stepsProps>simple":"\u662F\u5426\u5E94\u7528\u7B80\u6D01\u98CE\u683C"}},stepFormItem:{name:"\u6B65\u9AA4\u6761",props:{title:"\u6807\u9898",description:"\u63CF\u8FF0\u6587\u6848"}},subForm:{name:"\u5206\u7EC4",props:{disabled:"\u662F\u5426\u7981\u7528",syncDisabled:"\u662F\u5426\u4E0E\u5B50\u8868\u5355\u5F3A\u5236\u540C\u6B65\u7981\u7528\u72B6\u6001"}},switch:{name:"\u5F00\u5173",slots:{"active-action":"\u6253\u5F00\u65F6\u7684\u5185\u5BB9","inactive-action":"\u5173\u95ED\u65F6\u7684\u5185\u5BB9"},props:{disabled:"\u662F\u5426\u7981\u7528",width:"\u5BBD\u5EA6\uFF08px\uFF09",activeText:"\u6253\u5F00\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",inactiveText:"\u5173\u95ED\u65F6\u7684\u6587\u5B57\u63CF\u8FF0",activeValue:"\u6253\u5F00\u65F6\u7684\u503C",inactiveValue:"\u5173\u95ED\u65F6\u7684\u503C",activeColor:"\u6253\u5F00\u65F6\u7684\u80CC\u666F\u8272",inactiveColor:"\u5173\u95ED\u65F6\u7684\u80CC\u666F\u8272"}},tableForm:{name:"\u8868\u683C\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",filterEmptyColumn:"\u662F\u5426\u8FC7\u6EE4\u7A7A\u884C\u7684\u6570\u636E",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",min:"\u6700\u5C11\u6DFB\u52A0\u51E0\u884C",size:"\u5C3A\u5BF8",emptyText:"\u7A7A\u6570\u636E\u65F6\u663E\u793A\u7684\u6587\u672C\u5185\u5BB9",height:"\u9AD8\u5EA6",showIndex:"\u663E\u793A\u884C\u53F7",stripe:"\u663E\u793A\u6591\u9A6C\u7EB9",border:"\u8FB9\u6846",button:"\u64CD\u4F5C\u6309\u94AE",page:"\u5206\u9875",addable:"\u5141\u8BB8\u65B0\u589E",deletable:"\u5141\u8BB8\u5220\u9664",newColumn:"\u9ED8\u8BA4\u663E\u793A\u65B0\u884C","button>column":"\u6309\u94AE\u7BA1\u7406","button>label":"\u64CD\u4F5C","button>fixed":"\u4F4D\u7F6E","button>width":"\u5217\u7684\u5BBD\u5EA6","page>props>pageSize":"\u6BCF\u9875\u663E\u793A\u6761\u76EE\u4E2A\u6570","page>props>small":"\u4F7F\u7528\u5C0F\u578B\u5206\u9875\u6837\u5F0F","page>props>background":"\u4E3A\u5206\u9875\u6309\u94AE\u6DFB\u52A0\u80CC\u666F\u8272"}},tableFormPro:{name:"\u8868\u683C\u8868\u5355Pro",event:{handleClick:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6"}},nestedTableForm:{name:"\u5D4C\u5957\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",nestedMax:"\u5B50\u8868\u5355\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236"}},infiniteTableForm:{name:"\u65E0\u9650\u7EA7\u8868\u5355",props:{disabled:"\u662F\u5426\u7981\u7528",childrenField:"\u8BBE\u7F6E\u5B50\u7EA7\u7684\u5B57\u6BB5\u540D",max:"\u6700\u591A\u6DFB\u52A0\u51E0\u884C\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236",layerMax:"\u6700\u591A\u6DFB\u52A0\u51E0\u5C42\uFF0C\u4E3A 0 \u5219\u4E0D\u9650\u5236"}},nestedSubTableForm:{name:"\u5B50\u8868\u683C\u8868\u5355"},tableFormColumn:{name:"\u8868\u683C\u683C\u5B50",label:"\u81EA\u5B9A\u4E49\u540D\u79F0",props:{label:"\u6807\u9898",header:"\u8868\u5934",fixed:"\u4F4D\u7F6E",width:"\u5BBD\u5EA6",color:"\u989C\u8272",hidden:"\u662F\u5426\u9690\u85CF",required:"\u662F\u5426\u663E\u793A\u5FC5\u586B\u661F\u53F7"}},tableFormColumn2:{name:"\u8868\u683C\u683C\u5B50",header:"\u914D\u7F6E\u5F53\u524D\u5217\u7684\u8868\u5934\u540D\u79F0\uFF0C\u91CD\u590D\u7684\u8868\u5934\u5C06\u81EA\u52A8\u5408\u5E76\u3002"},dataTable:{name:"\u6570\u636E\u8868\u683C",handle:"\u7981\u7528\u903B\u8F91",click:"\u70B9\u51FB\u4E8B\u4EF6",filter:"\u7B5B\u9009",header:"\u8868\u5934",event:{cellMouseEnter:"\u5F53\u5355\u5143\u683C hover \u8FDB\u5165\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",cellMouseLeave:"\u5F53\u5355\u5143\u683C hover \u9000\u51FA\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",handleClick:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",rowClick:"\u5F53\u67D0\u4E00\u884C\u88AB\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",rowDblclick:"\u5F53\u67D0\u4E00\u884C\u88AB\u53CC\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",headerClick:"\u5F53\u67D0\u4E00\u5217\u7684\u8868\u5934\u88AB\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",filterChange:"\u7B5B\u9009\u6761\u4EF6\u53D8\u5316\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",expandChange:"\u5F53\u7528\u6237\u5BF9\u67D0\u4E00\u884C\u5C55\u5F00\u6216\u8005\u5173\u95ED\u7684\u65F6\u5019\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",sortChange:"\u5F53\u8868\u683C\u7684\u6392\u5E8F\u6761\u4EF6\u53D1\u751F\u53D8\u5316\u7684\u65F6\u5019\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",selectionChange:"\u5F53\u9009\u62E9\u9879\u53D1\u751F\u53D8\u5316\u65F6\u89E6\u53D1"},button:{title:"\u64CD\u4F5C\u6309\u94AE",btn:"\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE",link:"\u6587\u5B57",round:"\u5706\u89D2",plain:"\u6734\u7D20",disabled:"\u7981\u7528"},column:{title:"\u5217\u8868\u7BA1\u7406",btn:"\u914D\u7F6E\u8868\u683C\u5217\u8868",prop:"\u5B57\u6BB5\u540D\u79F0",sort:"\u6392\u5E8F"},format:{default:"\u5E38\u89C4",tag:"\u6807\u7B7E",image:"\u56FE\u7247",custom:"\u81EA\u5B9A\u4E49"},fixed:{default:"\u5E38\u89C4",left:"\u5DE6\u60AC\u6D6E",right:"\u53F3\u60AC\u6D6E"},sortable:{disabled:"\u4E0D\u6392\u5E8F",default:"\u5E38\u89C4\u6392\u5E8F",custom:"\u63A5\u53E3\u6392\u5E8F"},props:{_optionType:"\u8868\u683C\u6570\u636E","page>totalField":"\u63A5\u53E3\u54CD\u5E94\u6570\u636E\u4E2D\u603B\u6761\u76EE\u6570\u7684\u5B57\u6BB5\u540D\u79F0","page>dataField":"\u63A5\u53E3\u54CD\u5E94\u6570\u636E\u4E2D\u5217\u8868\u6570\u636E\u7684\u5B57\u6BB5\u540D\u79F0","page>orderField":"\u8BF7\u6C42\u63A5\u53E3\u65F6\u6392\u5E8F\u7684\u53C2\u6570\u540D\u79F0","page>orderByField":"\u8BF7\u6C42\u63A5\u53E3\u65F6\u6392\u5E8F\u65B9\u5F0F\u7684\u53C2\u6570\u540D\u79F0","page>pageField":"\u8BF7\u6C42\u63A5\u53E3\u65F6\u9875\u7801\u7684\u53C2\u6570\u540D\u79F0(\u5206\u9875)","page>pageSizeField":"\u8BF7\u6C42\u63A5\u53E3\u65F6\u6761\u76EE\u6570\u7684\u53C2\u6570\u540D\u79F0(\u5206\u9875)",column:"\u8868\u683C\u7BA1\u7406",showSummary:"\u662F\u5426\u5728\u8868\u5C3E\u663E\u793A\u5408\u8BA1\u884C",selection:"\u662F\u5426\u663E\u793A\u591A\u9009\u6846",size:"\u5C3A\u5BF8",rowKey:"\u884C\u6570\u636E\u7684Key",emptyText:"\u7A7A\u6570\u636E\u65F6\u663E\u793A\u7684\u6587\u672C\u5185\u5BB9",height:"\u9AD8\u5EA6",index:"\u663E\u793A\u884C\u53F7",stripe:"\u663E\u793A\u6591\u9A6C\u7EB9",border:"\u8FB9\u6846",defaultExpandAll:"\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u884C",button:"\u64CD\u4F5C\u6309\u94AE",page:"\u5206\u9875","button>column":"\u6309\u94AE\u7BA1\u7406","button>label":"\u64CD\u4F5C","button>fixed":"\u4F4D\u7F6E","button>width":"\u5217\u7684\u5BBD\u5EA6","page>position":"\u4F4D\u7F6E","page>props>pageSize":"\u6BCF\u9875\u663E\u793A\u6761\u76EE\u4E2A\u6570","page>props>small":"\u4F7F\u7528\u5C0F\u578B\u5206\u9875\u6837\u5F0F","page>props>background":"\u4E3A\u5206\u9875\u6309\u94AE\u6DFB\u52A0\u80CC\u666F\u8272"},requiredName:"\u8BF7\u8F93\u5165\u6309\u94AE\u540D\u79F0",requiredKey:"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u8BC6",requiredLabel:"\u8BF7\u8F93\u5165\u6807\u9898",requiredRender:"\u8BF7\u8F93\u5165\u6E32\u67D3\u51FD\u6570"},text:{name:"\u6587\u5B57",props:{formCreateChild:"\u5185\u5BB9"}},textarea:{name:"\u591A\u884C\u8F93\u5165\u6846",event:{change:"\u5F53\u503C\u6539\u53D8\u65F6\uFF0C\u5F53\u7EC4\u4EF6\u5931\u53BB\u7126\u70B9\u6216\u7528\u6237\u6309Enter\u65F6\u89E6\u53D1"},props:{disabled:"\u662F\u5426\u7981\u7528",readonly:"\u662F\u5426\u53EA\u8BFB",maxlength:"\u6700\u5927\u8F93\u5165\u957F\u5EA6",minlength:"\u6700\u5C0F\u8F93\u5165\u957F\u5EA6",showWordLimit:"\u662F\u5426\u663E\u793A\u7EDF\u8BA1\u5B57\u6570",placeholder:"\u8F93\u5165\u6846\u5360\u4F4D\u6587\u672C",rows:"\u8F93\u5165\u6846\u884C\u6570",autosize:"\u9AD8\u5EA6\u662F\u5426\u81EA\u9002\u5E94"}},timePicker:{name:"\u65F6\u95F4","HH:mm:ss":"\u65F6:\u5206:\u79D2","HH:mm":"\u65F6:\u5206",props:{__format:"\u8F93\u5165\u6846\u4E2D\u7684\u683C\u5F0F",pickerOptions:"\u5F53\u524D\u65F6\u95F4\u65E5\u671F\u9009\u62E9\u5668\u7279\u6709\u7684\u9009\u9879",readonly:"\u5B8C\u5168\u53EA\u8BFB",disabled:"\u7981\u7528",editable:"\u6587\u672C\u6846\u53EF\u8F93\u5165",clearable:"\u662F\u5426\u663E\u793A\u6E05\u9664\u6309\u94AE",placeholder:"\u975E\u8303\u56F4\u9009\u62E9\u65F6\u7684\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u5F00\u59CB\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u8303\u56F4\u9009\u62E9\u65F6\u7ED3\u675F\u65E5\u671F\u7684\u5360\u4F4D\u5185\u5BB9",isRange:"\u662F\u5426\u4E3A\u65F6\u95F4\u8303\u56F4\u9009\u62E9",arrowControl:"\u662F\u5426\u4F7F\u7528\u7BAD\u5934\u8FDB\u884C\u65F6\u95F4\u9009\u62E9",align:"\u5BF9\u9F50\u65B9\u5F0F"}},tree:{name:"\u6811\u5F62\u63A7\u4EF6",event:{nodeClick:"\u5F53\u8282\u70B9\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",nodeContextmenu:"\u5F53\u67D0\u4E00\u8282\u70B9\u88AB\u9F20\u6807\u53F3\u952E\u70B9\u51FB\u65F6\u4F1A\u89E6\u53D1\u8BE5\u4E8B\u4EF6",checkChange:"\u5F53\u590D\u9009\u6846\u88AB\u70B9\u51FB\u7684\u65F6\u5019\u89E6\u53D1",check:"\u70B9\u51FB\u8282\u70B9\u590D\u9009\u6846\u4E4B\u540E\u89E6\u53D1",currentChange:"\u5F53\u524D\u9009\u4E2D\u8282\u70B9\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeExpand:"\u8282\u70B9\u88AB\u5C55\u5F00\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeCollapse:"\u8282\u70B9\u88AB\u5173\u95ED\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragStart:"\u8282\u70B9\u5F00\u59CB\u62D6\u62FD\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragEnter:"\u62D6\u62FD\u8FDB\u5165\u5176\u4ED6\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragLeave:"\u62D6\u62FD\u79BB\u5F00\u67D0\u4E2A\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDragOver:"\u5728\u62D6\u62FD\u8282\u70B9\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\uFF08\u7C7B\u4F3C\u6D4F\u89C8\u5668\u7684 mouseover \u4E8B\u4EF6\uFF09",nodeDragEnd:"\u62D6\u62FD\u7ED3\u675F\u65F6\uFF08\u53EF\u80FD\u672A\u6210\u529F\uFF09\u89E6\u53D1\u7684\u4E8B\u4EF6",nodeDrop:"\u62D6\u62FD\u6210\u529F\u5B8C\u6210\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6"},props:{emptyText:"\u5185\u5BB9\u4E3A\u7A7A\u7684\u65F6\u5019\u5C55\u793A\u7684\u6587\u672C",props:"\u914D\u7F6E\u9009\u9879",renderAfterExpand:"\u662F\u5426\u5728\u7B2C\u4E00\u6B21\u5C55\u5F00\u67D0\u4E2A\u6811\u8282\u70B9\u540E\u624D\u6E32\u67D3\u5176\u5B50\u8282\u70B9",defaultExpandAll:"\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00\u6240\u6709\u8282\u70B9",expandOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\uFF0C\u5982\u679C\u4E3A false\uFF0C\u5219\u53EA\u6709\u70B9\u7BAD\u5934\u56FE\u6807\u7684\u65F6\u5019\u624D\u4F1A\u5C55\u5F00\u6216\u8005\u6536\u7F29\u8282\u70B9\u3002",checkOnClickNode:"\u662F\u5426\u5728\u70B9\u51FB\u8282\u70B9\u7684\u65F6\u5019\u9009\u4E2D\u8282\u70B9",autoExpandParent:"\u5C55\u5F00\u5B50\u8282\u70B9\u7684\u65F6\u5019\u662F\u5426\u81EA\u52A8\u5C55\u5F00\u7236\u8282\u70B9",checkStrictly:"\u5728\u663E\u793A\u590D\u9009\u6846\u7684\u60C5\u51B5\u4E0B\uFF0C\u662F\u5426\u4E25\u683C\u7684\u9075\u5FAA\u7236\u5B50\u4E0D\u4E92\u76F8\u5173\u8054\u7684\u505A\u6CD5",accordion:"\u662F\u5426\u6BCF\u6B21\u53EA\u6253\u5F00\u4E00\u4E2A\u540C\u7EA7\u6811\u8282\u70B9\u5C55\u5F00",indent:"\u76F8\u90BB\u7EA7\u8282\u70B9\u95F4\u7684\u6C34\u5E73\u7F29\u8FDB(px)",nodeKey:"\u6BCF\u4E2A\u6811\u8282\u70B9\u7528\u6765\u4F5C\u4E3A\u552F\u4E00\u6807\u8BC6\u7684\u5C5E\u6027\uFF0C\u6574\u68F5\u6811\u5E94\u8BE5\u662F\u552F\u4E00\u7684"}},upload:{name:"\u4E0A\u4F20",info:"\u4E0A\u4F20\u6210\u529F\u540E\uFF0C\u5C06\u63A5\u53E3\u8FD4\u56DE\u7684 URL \u8D4B\u503C\u7ED9 file.url\uFF0C\u6216\u5C06\u8FD4\u56DE\u7ED3\u679C\u8D4B\u503C\u7ED9 file.value\uFF0C\u4EE5\u4FBF\u5728\u540E\u7EED\u7684\u8868\u5355\u63D0\u4EA4\u65F6\u83B7\u53D6\u8FD9\u4E9B\u6570\u636E\u3002",event:{remove:"\u6587\u4EF6\u5217\u8868\u79FB\u9664\u6587\u4EF6\u65F6\u89E6\u53D1",preview:"\u70B9\u51FB\u6587\u4EF6\u5217\u8868\u4E2D\u5DF2\u4E0A\u4F20\u7684\u6587\u4EF6\u65F6\u89E6\u53D1",error:"\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\u65F6\u89E6\u53D1",progress:"\u6587\u4EF6\u4E0A\u4F20\u65F6\u89E6\u53D1",exceed:"\u5F53\u8D85\u51FA\u9650\u5236\u65F6\u89E6\u53D1"},slots:{tip:"\u8BF4\u660E"},props:{listType:"\u4E0A\u4F20\u7C7B\u578B",multiple:"\u662F\u5426\u652F\u6301\u591A\u9009\u6587\u4EF6",action:"\u4E0A\u4F20\u7684\u5730\u5740(\u5FC5\u586B)",beforeUpload:"\u4E0A\u4F20\u6587\u4EF6\u4E4B\u524D\u89E6\u53D1",onSuccess:"\u4E0A\u4F20\u6210\u529F\u65F6\u89E6\u53D1",beforeRemove:"\u5220\u9664\u6587\u4EF6\u4E4B\u524D\u89E6\u53D1",headers:"\u8BBE\u7F6E\u4E0A\u4F20\u7684\u8BF7\u6C42\u5934\u90E8",data:"\u4E0A\u4F20\u65F6\u9644\u5E26\u7684\u989D\u5916\u53C2\u6570",name:"\u4E0A\u4F20\u7684\u6587\u4EF6\u5B57\u6BB5\u540D",withCredentials:"\u652F\u6301\u53D1\u9001 cookie \u51ED\u8BC1\u4FE1\u606F",accept:"\u63A5\u53D7\u4E0A\u4F20\u7684\u6587\u4EF6\u7C7B\u578B",autoUpload:"\u662F\u5426\u5728\u9009\u53D6\u6587\u4EF6\u540E\u7ACB\u5373\u8FDB\u884C\u4E0A\u4F20",disabled:"\u662F\u5426\u7981\u7528",limit:"\u6700\u5927\u5141\u8BB8\u4E0A\u4F20\u4E2A\u6570"}},audioBox:{name:"\u97F3\u9891\u64AD\u653E\u5668",preloadOpt:{auto:"\u81EA\u52A8",metadata:"\u5143\u6570\u636E",none:"\u7981\u6B62"},event:{pause:"\u97F3\u9891\u64AD\u653E\u6682\u505C\u65F6\u89E6\u53D1",play:"\u97F3\u9891\u5F00\u59CB\u64AD\u653E\u65F6\u89E6\u53D1",ended:"\u97F3\u9891\u64AD\u653E\u7ED3\u675F\u540E\u89E6\u53D1"},props:{src:"\u97F3\u9891\u5730\u5740",type:"\u97F3\u9891\u7C7B\u578B",autoplay:"\u662F\u5426\u81EA\u52A8\u64AD\u653E",loop:"\u662F\u5426\u5FAA\u73AF\u64AD\u653E",muted:"\u662F\u5426\u9759\u97F3",controls:"\u662F\u5426\u663E\u793A\u63A7\u5236\u6761",preload:"\u9884\u52A0\u8F7D"}},barCodeBox:{name:"\u6761\u5F62\u7801",props:{value:"\u5185\u5BB9",format:"\u6761\u5F62\u7801\u7684\u7C7B\u578B",width:"\u5355\u4E2A\u6761\u5F62\u7684\u5BBD\u5EA6",height:"\u6761\u5F62\u7801\u7684\u9AD8\u5EA6",displayValue:"\u662F\u5426\u663E\u793A\u5185\u5BB9",fontSize:"\u8BBE\u7F6E\u6587\u5B57\u7684\u5927\u5C0F",textPosition:"\u8BBE\u7F6E\u6587\u5B57\u7684\u4F4D\u7F6E",textAlign:"\u8BBE\u7F6E\u6587\u5B57\u7684\u5BF9\u9F50\u65B9\u5F0F",textMargin:"\u8BBE\u7F6E\u6587\u5B57\u7684\u8FB9\u8DDD",background:"\u6761\u5F62\u7801\u7684\u80CC\u666F\u8272",lineColor:"\u7EBF\u6761\u7684\u989C\u8272"}},iframeBox:{name:"\u5185\u5D4C\u9875\u9762",event:{load:"\u9875\u9762\u52A0\u8F7D\u5B8C\u6210\u540E\u89E6\u53D1"},loadingOpt:{eager:"\u7ACB\u5373\u52A0\u8F7D",lazy:"\u5EF6\u8FDF\u52A0\u8F7D"},props:{src:"\u9875\u9762\u94FE\u63A5",loading:"\u52A0\u8F7D\u65B9\u5F0F"}},qrCodeBox:{name:"\u4E8C\u7EF4\u7801",circleTypeOpt:{square:"\u6B63\u65B9\u5F62",dots:"\u70B9\u72B6",rounded:"\u5706\u5F62",classy:"\u7ECF\u5178"},props:{data:"\u5185\u5BB9",image:"\u4E2D\u5FC3\u7684\u56FE\u7247\u94FE\u63A5",width:"\u4E8C\u7EF4\u7801\u7684\u5BBD\u5EA6",height:"\u4E8C\u7EF4\u7801\u7684\u9AD8\u5EA6",circleType:"\u70B9\u7684\u7C7B\u578B",circleColor:"\u70B9\u7684\u989C\u8272"}},signaturePad:{name:"\u624B\u5199\u7B7E\u540D",props:{penColor:"\u7EBF\u6761\u7684\u989C\u8272"}},videoBox:{name:"\u89C6\u9891\u64AD\u653E\u5668",event:{error:"\u89C6\u9891\u52A0\u8F7D\u5931\u8D25\u65F6\u89E6\u53D1",pause:"\u89C6\u9891\u64AD\u653E\u6682\u505C\u65F6\u89E6\u53D1",play:"\u89C6\u9891\u5F00\u59CB\u64AD\u653E\u65F6\u89E6\u53D1",ended:"\u89C6\u9891\u64AD\u653E\u7ED3\u675F\u540E\u89E6\u53D1"},props:{src:"\u89C6\u9891\u5730\u5740",type:"\u89C6\u9891\u7C7B\u578B",autoplay:"\u662F\u5426\u81EA\u52A8\u64AD\u653E",loop:"\u662F\u5426\u5FAA\u73AF\u64AD\u653E",isLive:"\u662F\u5426\u662F\u76F4\u64AD",controls:"\u662F\u5426\u663E\u793A\u63A7\u5236\u6761",withCredentials:"\u662F\u5426\u643A\u5E26\u51ED\u8BC1"}}},tmp:{duration:"\u65F6\u957F",chineseAmount:"\u91D1\u989D",col3:"\u4E09\u5217\u6805\u683C",col4:"\u56DB\u5217\u6805\u683C",table43:"4x3\u8868\u683C"}},rd=(e,t)=>ai.ElMessage({message:e,type:t||"info",customClass:"_fc-message-tip"}),dn=e=>rd(e,"error"),Wa=function(e,t,r,o){const i=o||{};return t.forEach(l=>{e.indexOf(l[r||"id"])>-1&&e.splice(e.indexOf(l[r||"id"]),1,l[i.label||"label"]),dt.trueArray(l[i.children||"children"])&&Wa(e,l[i.children||"children"],r,o)}),e},Nb=function(e,t){return t.forEach(r=>{e.indexOf(r.value)>-1&&(e[e.indexOf(r.value)]=r.label)}),e};function Or(e){if(e){if(!Array.isArray(e))return[e]}else return[];return e}function Tb(e,t){let r=t.rule.value;const o=t.$render.vNode.h,i=t.type,l=t.$handle.subForm[t.id],d=t.prop.readMode;if(t.prop.title.title&&t.prop.title.title.trim()&&(t.prop.title.title+="\uFF1A"),d===!1||d==="custom"||!t.input||t.rule.subForm||(Array.isArray(l)?l.length:l)||["fcGroup","fcSubForm","tableForm","tableFormPro","fcJson","stepForm","nestedTableForm","infiniteTableForm","fcUpload","fcDialog","fcDrawer","fcPopup"].indexOf(t.trueType)>-1)return t.trueType==="fcUpload"&&(t.prop.props.disabled=!0),t.parser.render(e,t);if(["radio","select","checkbox"].indexOf(i)>-1)r=Nb([...Or(r)],t.prop.props.options||t.prop.props.formCreateInject.options||[]).join(", ");else if(["timePicker","datePicker","slider"].indexOf(i)>-1)r=Array.isArray(r)?r.join(" - "):r;else if(i==="cascader")r=[...Or(r)],Array.isArray(r[0])||(r=[r]),r=r.map(c=>Wa(c,t.prop.props.options||t.prop.props.formCreateInject.options||[],"value",t.prop.props.props).join("/")).join(", ");else if(i==="elTransfer"){const c=[...Or(r)];r=Wa(c,t.prop.props.data||t.prop.props.formCreateInject.options||[],"key").join(", ")}else if(i==="fcDataSelect")r=[...Or(r)].map(u=>u[t.prop.props.labelKey||"label"]).join(", ");else if(["tree","elTreeSelect"].indexOf(i)>-1){const c=t.prop.props.data||t.prop.props.formCreateInject.options||[];r=Wa([...Or(r)],c,i==="elTreeSelect"?"value":"id").join(", ")}else{if(i==="fcEditor"||d==="html")return o("div",{innerHTML:r});if(d==="image")return r=Or(r),o("div",{class:"_fc-upload"},r.map(function(c){return o("div",{class:"_fc-upload-preview"},[o("el-image",{src:(c==null?void 0:c.url)||c,previewSrcList:r.map(u=>(u==null?void 0:u.url)||u),previewTeleported:!0,fit:"cover"})])}));if((i==="switch"||i==="el-switch")&&(t.prop.props.activeValue!=null||t.prop.props.inactiveValue!=null))r=t.prop.props.activeValue===r?"\u662F":"\u5426";else{if(i==="signaturePad"&&r)return o("el-image",{src:r,previewTeleported:!0,fit:"cover",style:{height:"90px"}});typeof r=="boolean"&&(r=r?"\u662F":"\u5426")}}return o("span",{class:"_fc-read-view"},[""+(r==null?"":r)])}function Db(e,t){return`{ `+t.join(`, `)+` }`},function:function(e){e=""+e;var t=/^ *([\w]+) *\(/.exec(e);return t&&t[1]!=="function"?"function "+e:e},array:function(e){for(var t=0,r=[];t '); - return k = w.call(this, $, x) || this, A.default(x), k; + var k = this, R = h.default(' '); + return k = w.call(this, R, x) || this, A.default(x), k; } return E.prototype.insertLineCode = function(x) { - var k = this.editor, $ = h.default("=" "?o==="\\"?t[r]="\\\\":o==='"'&&(t[r]='\\"'):t[r]=o===` -`?"\\n":o==="\r"?"\\r":o===" "?"\\t":o==="\b"?"\\b":o==="\f"?"\\f":(o=o.charCodeAt(),"\\u00"+(o>15?1:0)+o%16)}return'"'+t.join("")+'"'}},bp=function(e){if(e&&typeof e=="object"){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];(Array.isArray(r)||dt.Object(r))&&bp(r),dt.String(r)&&(e[t]=Vr(r))}}return e};function $r(e,t,r){t=(t||"").split(".");let o=0,i=t.length;for(;e!=null&&o(t,r)=>$b(t,r,n.unref(e)),$b=(e,t,r)=>$r(r,e,"").replace(/\{(\w+)\}/g,(o,i)=>{var l;return`${(l=t==null?void 0:t[i])!=null?l:`{${i}}`}`}),Fb=e=>{const t=n.computed(()=>n.unref(e).name),r=n.computed(()=>Rr(id(t.value||""))),o=n.isRef(e)?e:n.ref(e);return{lang:t,name:r,locale:o,t:Rb(e)}},ld=e=>Fb(n.computed(()=>(n.isRef(e)?e.value:e)||vp)),it=(e,t,r)=>t.map(o=>(o.label=e((r||"props")+"."+(o.label||o.value))||o.label,o)),Re=(e,t,r)=>r.map(o=>(o.field==="formCreate$required"?o.title=e("validate.required")||o.title:o.field&&o.field!=="_optionType"&&(o.title=e("com."+t+"."+o.field)||o.title),o.type==="template"&&dt.trueArray(o.children)&&(o.children=Re(e,t,o.children)),o)),sd=e=>{const t=[];return e&&e.forEach(r=>{if(!r._fc_drag_skip)if(r._fc_drag_tag){const o={id:r.__fc__.id,rule:r,children:sd(r.children)};o.children.length||delete o.children,t.push(o)}else t.push(...sd(r.children))}),t},wp=e=>{const t=r=>{const o=[];return r&&r.forEach(i=>{i._fc_drag_skip||(i.field?(i.children=t(i.children||[]),i.children.length||delete i.children,o.push(i)):o.push(...t(i.children||[])))}),o};return t(e)},Cp=e=>{const t=r=>{const o=[];return r&&r.forEach(i=>{if(typeof i=="object")if(i._fc_drag_tag){const l={_fc_id:i._fc_id,_fc_drag_tag:i._fc_drag_tag==="_"?void 0:i._fc_drag_tag,type:i.type,field:i.field,title:i.title,name:i.name,slot:i.slot,props:{...i.props||{}},children:t(i.children||[])};i.children&&typeof i.children[0]=="string"&&(l.content=i.children[0]),l.children.length||delete l.children,o.push(l)}else o.push(...t(i.children))}),o};return t(e)};function on(e){return{name:"$inject",columns:[{label:"$inject.api",info:e("event.inject.api"),type:"Api"},{label:"$inject.rule",info:e("event.inject.rule"),type:"Rule[]"},{label:"$inject.self",info:e("event.inject.self"),type:"Rule"},{label:"$inject.option",info:e("event.inject.option"),type:"Object"},{label:"$inject.args",info:e("event.inject.args"),type:"Array"}]}}function si(e){return["",null,void 0].indexOf(e)!==-1}function _p(e){return e.replace(/[\ .*+?^${}()|[\]\\]/g,"\\$&")}function Ib(e,t){const r=e.split("."),o=t.split("."),i=Math.min(r.length,o.length);for(var l=0;l0)return 1;if(d<0)return-1}return r.length===o.length?0:r.length e.indexOf(t)===r)}let Pb=0;function He(){const e=370+ ++Pb;return"F"+Math.random().toString(36).substr(3,3)+Number(`${Date.now()}`).toString(36)+e.toString(36)+"c"}function Mb(e,t){return function(r,o,i){const l={...r||{}};Object.keys(l).forEach(d=>{si(l[d])&&delete l[d]}),i.getRule(e).props.info=Object.keys(l).length>0?t("struct.configured"):""}}function Ep({t:e}){const t=He();return[{type:"input",field:">formName",value:"",title:e("form.formName")},{type:"radio",field:"labelPosition",value:"left",title:e("form.labelPosition"),options:it(e,[{value:"left",label:"left"},{value:"right",label:"right"},{value:"top",label:"top"}])},{type:"input",field:">tableName",value:"",title:e("form.tableName")},{type:"radio",field:"size",value:"small",title:e("form.size"),options:it(e,[{value:"large",label:"large"},{value:"default",label:"default"},{value:"small",label:"small"}])},{type:"input",field:"labelSuffix",value:"",title:e("form.labelSuffix"),style:{width:"150px"}},{type:"SizeInput",field:"labelWidth",value:"125px",title:e("form.labelWidth")},{type:"SizeInput",field:"wrap>style>marginBottom",value:"",title:e("form.formItemMarginBottom")},{type:"switch",field:"hideRequiredAsterisk",value:!1,title:e("form.hideRequiredAsterisk")},{type:"switch",field:"showMessage",value:!0,title:e("form.showMessage")},{type:"switch",field:"inlineMessage",value:!1,title:e("form.inlineMessage")},{type:"switch",field:"_submitBtn>show",value:!0,title:e("form.submitBtn")},{type:"switch",field:"_resetBtn>show",value:!1,title:e("form.resetBtn")},{type:"switch",field:">ignoreHiddenFields",value:!1,title:e("form.ignoreHiddenFields"),warning:e("warning.ignoreHiddenFields")},{type:"ConfigItem",col:{show:!0},name:t,style:"margin-bottom: 10px",props:{label:e("form.labelStyle"),info:""},children:[{type:"StyleConfig",field:"title>style",wrap:{show:!1},value:{},slot:"append",update:Mb(t,e)}]},{type:"FnConfig",field:">_event",value:{},col:{show:!0},props:{eventConfig:[{name:"onSubmit",info:e("form.onSubmit"),args:["formData","api"]},{name:"onReset",info:e("form.onReset"),args:["api"]},{name:"onCreated",info:e("form.onCreated"),args:["api"]},{name:"onMounted",info:e("form.onMounted"),args:["api"]},{name:"onReload",info:e("form.onReload"),args:["api"]},{name:"onChange",info:e("form.onChange"),args:["field","value","options"]},{name:"beforeSubmit",info:e("form.beforeSubmit"),args:["formData","data"]},{name:"beforeFetch",info:e("form.beforeFetch"),args:["config","data"]}]},title:e("form.event")}]}function Vo({t:e}){return[{type:"ConfigItem",col:{show:!0},style:"margin-bottom: 10px",name:"attributeId",props:{label:e("form.attributeId"),warning:e("warning.attributeId")},children:[{type:"switch",field:"attributeId",value:!1,wrap:{show:!1},col:{show:!1}}]},{type:"FieldInput",field:"field",value:"",title:e("form.field"),warning:e("warning.field")},{type:"LanguageInput",field:"title",value:"",title:e("form.title")},{type:"LanguageInput",field:"info",value:"",title:e("form.info")},{type:"SpanInput",field:"formCreateCol>span",title:e("form.formItemSpan")},{type:"ConfigItem",col:{show:!0},style:"margin-bottom: 10px",name:"ignoreConfig",props:{label:e("form.ignore"),warning:e("warning.ignore")},children:[{type:"switch",field:"ignore",value:!1,wrap:{show:!1},col:{show:!1}}]},{type:"ConfigItem",col:{show:!0},name:"labelConfig",style:"margin-bottom: 10px",props:{label:e("form.formItem")},children:[{type:"HideConfig",field:"formCreateWrap>title",col:{show:!1},wrap:{show:!1},value:!0},{type:"select",field:"formCreateWrap>class",title:e("form.labelPosition"),col:{show:!1},slot:"append",options:it(e,[{value:"fc-wrap-top",label:"top"},{value:"fc-wrap-left",label:"left"},{value:"fc-wrap-right",label:"right"}])},{type:"SizeInput",field:"formCreateWrap>labelWidth",col:{show:!1},value:"",slot:"append",title:e("form.labelWidth")},{type:"SizeInput",field:"formCreateWrap>style>marginBottom",col:{show:!1},value:"",slot:"append",title:e("form.formItemMarginBottom")}]},{type:"Struct",field:"_control",name:"control",value:[],title:e("form.control"),warning:e("form.controlDocument",{doc:''+e("form.document")+""}),props:{defaultValue:[],validate(t){return Array.isArray(t)?t.length?!t.some(({rule:r})=>!Array.isArray(r)):!0:!1}}}]}function Ap({t:e}){return[{type:"input",title:"ID",field:"id",wrap:{labelWidth:"45px"}},{type:"GlobalClassSelect",title:"Class",field:"class",wrap:{labelWidth:"45px"}},{type:"StyleConfig",field:"style",title:"",value:{}}]}function Sp({t:e}){return[{type:"ComputedConfig",field:"value",value:"",props:{type:"linkage",btn:e("computed.value.btn"),title:e("computed.value.title"),name:e("computed.value.name")},title:e("computed.value.title")},{type:"ComputedConfig",field:"hidden",value:"",props:{btn:e("computed.hidden.btn"),title:e("computed.hidden.title"),name:e("computed.hidden.name"),invertLabel:e("props.show"),validLabel:e("props.hide")},title:e("computed.hidden.title")},{type:"ComputedConfig",field:"$required",value:"",props:{btn:e("computed.required.btn"),title:e("computed.required.title"),name:e("computed.required.name"),invertLabel:e("validate.modes.notRequired"),validLabel:e("validate.modes.required")},title:e("computed.required.title")},{type:"ComputedConfig",field:"props.disabled",value:"",props:{btn:e("computed.disabled.btn"),title:e("computed.disabled.title"),name:e("computed.disabled.name"),invertLabel:e("props.enable"),validLabel:e("props.disabled")},title:e("computed.disabled.title")}]}function xp({t:e}){return[{type:"Required",field:"$required",title:e("validate.required")},{type:"validate",field:"validate",title:e("validate.rule"),value:[]}]}function Lb(e){e=e||new Map;const t={$on(r,o){const i=e.get(r);i&&i.push(o)||e.set(r,[o])},$once(r,o){o._once=!0,t.$on(r,o)},$off(r,o){const i=e.get(r);i&&i.splice(i.indexOf(o)>>>0,1)},$emit(r,...o){(e.get(r)||[]).slice().map(i=>{i._once&&(t.$off(r,i),delete i._once),i(...o)}),(e.get("*")||[]).slice().map(i=>{i(r,o)})}};return t}const jb="\u5355\u9009\u6846",dd="radio",zb={menu:"main",icon:"icon-radio",label:jb,name:dd,input:!0,event:["change"],validate:["string","number"],condition:{type:"select",options:"options"},sfc(e){e.type="elRadioGroup",e.children=(e.options||[]).map(t=>({type:e.props.type==="button"?"elRadioButton":"elRadio",props:{label:t.value,value:t.value},_sfc:{content:t.label}})),delete e.props.type},rule({t:e}){return{type:dd,field:He(),title:e("com.radio.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:Qn(e("props.option"),{label:"label",value:"value"},1)}},props(e,{t}){return Re(t,dd+".props",[Pi(t,"options"),{type:"switch",field:"disabled"},{type:"switch",field:"input"},{type:"switch",field:"type",props:{activeValue:"button",inactiveValue:"default"}},{type:"ColorInput",field:"textColor"},{type:"ColorInput",field:"fill"}])}},Ub="\u591A\u9009\u6846",cd="checkbox",Hb={menu:"main",icon:"icon-checkbox",label:Ub,name:cd,input:!0,event:["change"],validate:["array"],condition:{type:"select",options:"options"},sfc(e){e.type="elCheckboxGroup",e.children=(e.options||[]).map(t=>({type:e.props.type==="button"?"elCheckboxButton":"elCheckbox",props:{label:t.value,value:t.value},_sfc:{content:t.label}})),delete e.props.type},rule({t:e}){return{type:cd,field:He(),title:e("com.checkbox.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:Qn(e("props.option"),{label:"label",value:"value"},1)}},props(e,{t}){return Re(t,cd+".props",[Pi(t,"options"),{type:"switch",field:"disabled"},{type:"switch",field:"input"},{type:"switch",field:"type",props:{activeValue:"button",inactiveValue:"default"}},{field:"min",type:"inputNumber",props:{min:0}},{field:"max",type:"inputNumber",props:{min:0}},{type:"ColorInput",field:"textColor"},{type:"ColorInput",field:"fill"}])}},Wb="\u8F93\u5165\u6846",ud="input",Gb={menu:"main",icon:"icon-input",label:Wb,name:ud,input:!0,easySlots:["prefix","suffix","prepend","append"],event:["blur","focus","change","input","clear"],validate:["string","url","email"],rule({t:e}){return{type:ud,field:He(),title:e("com.input.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,ud+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"select",field:"type",options:it(t,[{label:"text",value:"text"},{label:"number",value:"number"},{label:"time",value:"time"},{label:"date",value:"date"},{label:"month",value:"month"},{label:"datetime-local",value:"datetime-local"}])},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"clearable"}])}},Kb="\u591A\u884C\u8F93\u5165\u6846",kp="textarea",Yb={menu:"main",icon:"icon-textarea",label:Kb,name:kp,input:!0,event:["blur","focus","change","input"],validate:["string"],rule({t:e}){return{type:"input",field:He(),title:e("com.textarea.name"),info:"",$required:!1,props:{type:"textarea"}}},props(e,{t}){return Re(t,kp+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"switch",field:"showWordLimit"},{type:"input",field:"placeholder"},{type:"inputNumber",field:"rows",props:{min:0}},{type:"switch",field:"autosize"}])}},Qb="\u5BC6\u7801\u8F93\u5165\u6846",Np="password",Jb={menu:"main",icon:"icon-password",label:Qb,name:Np,input:!0,easySlots:["prefix","suffix","prepend","append"],event:["blur","focus","change","input","clear"],validate:["string"],rule({t:e}){return{type:"input",field:He(),title:e("com.password.name"),info:"",$required:!1,props:{type:"password"}}},props(e,{t}){return Re(t,Np+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"clearable"}])}},Xb="\u8BA1\u6570\u5668",fd="inputNumber",Zb={menu:"main",icon:"icon-number",label:Xb,name:fd,input:!0,easySlots:["prefix","suffix"],event:["blur","focus","change"],validate:["number","integer","float"],condition:"number",rule({t:e}){return{type:fd,field:He(),title:e("com.inputNumber.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,fd+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"},{type:"inputNumber",title:"precision",field:"precision"},{type:"inputNumber",field:"step",props:{min:0}},{type:"switch",field:"stepStrictly"},{type:"switch",field:"controls",value:!0},{type:"select",field:"controlsPosition",options:it(t,[{label:"default",value:""},{label:"right",value:"right"}])},{type:"input",field:"placeholder"}])}},qb="\u9009\u62E9\u5668",pd="select",e1={menu:"main",icon:"icon-select",label:qb,name:pd,input:!0,event:["change","visibleChange","removeTag","clear","blur","focus"],validate:["string","number","array"],condition:{type:"select",options:"options"},sfc(e){e.type="elSelect",e.children=(e.options||[]).map(t=>({type:"elOption",props:{label:t.label,value:t.value}}))},rule({t:e}){return{type:pd,field:He(),title:e("com.select.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:Qn(e("props.option"),{label:"label",value:"value"},1)}},watch:{multiple({rule:e}){e.key=He()}},props(e,{t}){return Re(t,pd+".props",[Pi(t,"options"),{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"collapseTags"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"filterable"},{type:"switch",field:"remote"},{type:"FnInput",field:"remoteMethod",props:{body:!0,button:!0,fnx:!0,name:"remoteMethod",args:[on(t)]}},{type:"switch",field:"allowCreate"},{type:"input",field:"noMatchText"},{type:"input",field:"noDataText"},{type:"switch",field:"reserveKeyword"},{type:"switch",field:"defaultFirstOption"}])}},t1="\u5F00\u5173",hd="switch",n1={menu:"main",icon:"icon-switch",label:t1,name:hd,input:!0,easySlots:["active-action","inactive-action"],event:["change"],condition:function(e){return{type:"switch",props:{activeValue:e.props.activeValue,inactiveValue:e.props.inactiveValue,activeText:e.props.activeText,inactiveText:e.props.inactiveText}}},rule({t:e}){return{type:hd,field:He(),title:e("com.switch.name"),info:"",$required:!1,props:{activeValue:!0,inactiveValue:!1}}},props(e,{t}){return Re(t,hd+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"width",props:{min:0}},{type:"input",field:"activeText"},{type:"input",field:"inactiveText"},{type:"ValueInput",field:"activeValue"},{type:"ValueInput",field:"inactiveValue"},{type:"ColorInput",field:"activeColor"},{type:"ColorInput",field:"inactiveColor"}])}},i1="\u6ED1\u5757",md="slider",r1={menu:"main",icon:"icon-slider",label:i1,name:md,input:!0,event:["change","input"],validate:["number","array"],condition:"number",rule({t:e}){return{type:md,field:He(),title:e("com.slider.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,md+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"range"},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}},{type:"inputNumber",field:"step",props:{min:0}},{type:"switch",field:"showInput"},{type:"switch",field:"showInputControls",value:!0},{type:"switch",field:"showStops"},{type:"switch",field:"vertical"},{type:"input",field:"height"}])}},o1="\u65F6\u95F4",Oo="timePicker",Tp={menu:"main",icon:"icon-time",label:o1,name:Oo,input:!0,event:["change","blur","focus","visibleChange"],sfc(e){e.props.valueFormat||(e.props.valueFormat="HH:mm:ss")},rule({t:e}){return{type:Oo,field:He(),title:e("com.timePicker.name"),info:"",$required:!1,props:{}}},watch:{isRange({rule:e}){e.key=He()},__format({value:e,rule:t}){t.props.format=e,t.props.valueFormat=e}},attrs:{format({rule:e}){return e.props.format||""}},props(e,{t}){return Re(t,Oo+".props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"switch",field:"isRange"},{type:"switch",field:"clearable",value:!0},{type:"select",field:"__format",options:[{label:t("com."+Oo+".HH:mm:ss"),value:"HH:mm:ss"},{label:t("com."+Oo+".HH:mm"),value:"HH:mm"}]},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"placeholder"},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"switch",field:"arrowControl"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])}},a1={menu:"main",icon:"icon-time-range",label:"\u65F6\u95F4\u533A\u95F4",name:"timeRange",input:!0,event:["change","blur","focus","visibleChange"],sfc:Tp.sfc,rule({t:e}){return{type:"timePicker",field:He(),title:e("com.timeRange.name"),info:"",$required:!1,props:{isRange:!0}}},watch:{__format({value:e,rule:t}){t.props.format=e,t.props.valueFormat=e}},attrs:{format({rule:e}){return e.props.format||""}},props(e,{t}){return Re(t,"timePicker.props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable",value:!0},{type:"select",field:"__format",options:[{label:t("com.timePicker.HH:mm:ss"),value:"HH:mm:ss"},{label:t("com.timePicker.HH:mm"),value:"HH:mm"}]},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"switch",field:"arrowControl"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])}},l1="\u65E5\u671F",gd="datePicker",Dp={date:"YYYY-MM-DD",month:"YYYY-MM",datetime:"YYYY-MM-DD HH:mm:ss",timerange:"HH:mm:ss",daterange:"YYYY-MM-DD",monthrange:"YYYY-MM",datetimerange:"YYYY-MM-DD HH:mm:ss",year:"YYYY"},Vp={menu:"main",icon:"icon-date",label:l1,name:gd,input:!0,event:["change","blur","focus","calendarChange","panelChange","visibleChange"],sfc(e){e.props.valueFormat||(e.props.valueFormat=Dp[e.props.type]||Dp.date)},rule({t:e}){return{type:gd,field:He(),title:e("com.datePicker.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,gd+".props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"select",field:"type",options:it(t,[{label:"year",value:"year"},{label:"month",value:"month"},{label:"date",value:"date"},{label:"dates",value:"dates"},{label:"week",value:"week"},{label:"datetime",value:"datetime"},{label:"datetimerange",value:"datetimerange"},{label:"daterange",value:"daterange"},{label:"monthrange",value:"monthrange"}])},{type:"switch",field:"clearable",value:!0},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"placeholder"},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"input",field:"format"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"input",field:"rangeSeparator"},{type:"switch",field:"unlinkPanels"}])}},s1={menu:"main",icon:"icon-date-range",label:"\u65E5\u671F\u533A\u95F4",name:"dateRange",input:!0,event:["change","blur","focus","calendarChange","panelChange","visibleChange"],sfc:Vp.sfc,rule({t:e}){return{type:"datePicker",field:He(),title:e("com.dateRange.name"),info:"",$required:!1,props:{type:"datetimerange"}}},props(e,{t}){return Re(t,"datePicker.props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"select",field:"type",options:it(t,[{label:"datetimerange",value:"datetimerange"},{label:"daterange",value:"daterange"},{label:"monthrange",value:"monthrange"}])},{type:"switch",field:"clearable",value:!0},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"input",field:"format"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"input",field:"rangeSeparator"},{type:"switch",field:"unlinkPanels"}])}},d1="\u8BC4\u5206",vd="rate",c1={menu:"main",icon:"icon-rate",label:d1,name:vd,input:!0,event:["change"],validate:["number"],condition:"number",rule({t:e}){return{type:vd,field:He(),title:e("com.rate.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,vd+".props",[{type:"inputNumber",field:"max",props:{min:0}},{type:"switch",field:"disabled"},{type:"switch",field:"allowHalf"},{type:"ColorInput",field:"voidColor"},{type:"ColorInput",field:"disabledVoidColor"},{type:"input",field:"voidIconClass"},{type:"input",field:"disabledVoidIconClass"},{type:"switch",field:"showScore"},{type:"ColorInput",field:"textColor"},{type:"input",field:"scoreTemplate"}])}},u1="\u989C\u8272\u9009\u62E9\u5668",yd="colorPicker",f1={menu:"main",icon:"icon-color",label:u1,name:yd,input:!0,event:["change","activeChange","focus","blur"],validate:["string"],condition:"color",rule({t:e}){return{type:yd,field:He(),title:e("com.colorPicker.name"),info:"",$required:!1,props:{predefine:["#c9e6fc","#c3f2f2","#c2f1d2","#fef6c6","#ffe5c2","#fdcac2","#fadcce","#dec2fa","#ccd2f1","#2196f3","#08c9c9","#00c344","#fad714","#ff9300","#f52222","#eb2f96","#800080","#7500ea","#2d46c4","#000000","#333333","#5a5a5a","#757575","#9e9e9e","#bdbdbd","#dddddd","#f5f5f5","#ffffff"]}}},props(e,{t}){return Re(t,yd+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"showAlpha"},{type:"select",field:"colorFormat",options:[{label:"hsl",value:"hsl"},{label:"hsv",value:"hsv"},{label:"hex",value:"hex"},{label:"rgb",value:"rgb"}]},{type:"tableOptions",field:"predefine",props:{column:[{label:t("props.value"),key:"value"}],valueType:"string"}}])}},p1="\u6805\u683C\u5E03\u5C40",bd="fcRow",h1={menu:"layout",icon:"icon-row",label:p1,name:bd,mask:!1,children:"col",childrenLen:2,subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("style.width"),vnode:t(r("el-slider"),{size:"small",min:0,max:24,modelValue:o.props.span,"onUpdate:modelValue":i=>{o.props.span=i}})}]},sfc(e){e.type="elRow"},rule(){return{type:bd,props:{},children:[]}},props(e,{t}){return Re(t,bd+".props",[{type:"inputNumber",field:"gutter",props:{min:0}},{type:"switch",field:"type",props:{activeValue:"flex",inactiveValue:"default"}},{type:"select",field:"justify",options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}]},{type:"select",field:"align",options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}]}])}},wd="col",Op={xs:"<768px",sm:"\u2265768px",md:"\u2265992px",lg:"\u22651200px",xl:"\u22651920px"},m1={name:wd,label:"\u683C\u5B50",drag:!0,dragBtn:!1,inside:!0,mask:!1,rule(){return{type:wd,props:{span:12},children:[]}},props(e,{t}){return Re(t,wd+".props",[{type:"slider",field:"span",value:12,props:{min:0,max:24}},{type:"slider",field:"offset",props:{min:0,max:24}},{type:"slider",field:"push",props:{min:0,max:24}},{type:"slider",field:"pull",props:{min:0,max:24}},{type:"ConfigItem",props:{label:t("props.reactive"),warning:t("com.col.info")},children:[{type:"elTabs",style:{width:"100%"},slot:"append",children:Object.keys(Op).map(r=>({type:"elTabPane",props:{label:Op[r]},style:"padding:0 10px;",children:[{type:"slider",field:r+">span",title:t("com.col.props.span"),value:12,props:{min:0,max:24}},{type:"slider",field:r+">offset",title:t("com.col.props.offset"),props:{min:0,max:24}},{type:"slider",field:r+">push",title:t("com.col.props.push"),props:{min:0,max:24}},{type:"slider",field:r+">pull",title:t("com.col.props.pull"),props:{min:0,max:24}}]}))}]}])}},g1="\u9009\u9879\u5361",Cd="elTabPane",v1={label:g1,name:Cd,inside:!0,drag:!0,dragBtn:!1,mask:!1,rule({t:e}){return{type:Cd,props:{label:e("com.elTabPane.name")},children:[]}},props(e,{t}){return Re(t,Cd+".props",[{type:"input",field:"label"},{type:"switch",field:"disabled"},{type:"input",field:"name"},{type:"switch",field:"lazy"}])}},y1="\u5206\u5272\u7EBF",_d="elDivider",b1={menu:"aide",icon:"icon-divider",label:y1,name:_d,rule({t:e}){return{type:_d,props:{},children:[e("com.elDivider.name")]}},props(e,{t}){return Re(t,_d+".props",[{type:"select",field:"direction",options:it(t,[{label:"horizontal",value:"horizontal"},{label:"vertical",value:"vertical"}])},{type:"input",field:"formCreateChild"},{type:"select",field:"contentPosition",options:it(t,[{label:"left",value:"left"},{label:"right",value:"right"},{label:"center",value:"center"}])}])}},w1="\u7EA7\u8054\u9009\u62E9\u5668",Ka="cascader",C1={menu:"main",icon:"icon-cascader",label:w1,name:Ka,input:!0,event:["change","expandChange","blur","focus","visibleChange","removeTag"],validate:["string","number","array"],condition(e){return{type:"cascader",options:"props.options",props:{props:e.props&&e.props.props||{}}}},rule({t:e}){return{type:Ka,field:He(),title:e("com.cascader.name"),info:"",effect:{fetch:""},$required:!1,props:{options:Qn(e("props.option"),{label:"label",value:"value"},3)}}},props(e,{t}){return Re(t,Ka+".props",[Br(t,"props.options"),{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"input",field:"placeholder"},{type:"Object",field:"props",props:{rule:Re(t,Ka+".propsOpt",[{type:"switch",field:"multiple"},{type:"select",field:"expandTrigger",options:it(t,[{label:"click",value:"click"},{label:"hover",value:"hover"}])},{type:"switch",field:"checkStrictly"},{type:"switch",field:"emitPath",value:!0},{type:"input",field:"value",value:"value"},{type:"input",field:"label",value:"label"},{type:"input",field:"children",value:"children"},{type:"input",field:"disabled",value:"disabled"},{type:"input",field:"leaf"}])}},{type:"switch",field:"showAllLevels",value:!0},{type:"switch",field:"collapseTags"},{type:"switch",field:"collapseTagsTooltip"},{type:"input",field:"separator"},{type:"switch",field:"filterable"},{type:"select",field:"tagType",options:[{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}]}])}},_1="\u4E0A\u4F20",Ed="upload",E1={menu:"main",icon:"icon-upload",label:_1,name:Ed,input:!0,easySlots:[{value:"tip",type:"text"}],event:["change","remove","preview","error","progress","exceed"],languageKey:["clickToUpload"],validate:["array"],sfc(e){e.type="elUpload",e.props.listType||(e.props.listType="picture-card"),e._sfc.modelField="fileList"},rule({t:e}){return{type:Ed,field:He(),title:e("com.upload.name"),info:"",$required:!1,props:{action:"/",onSuccess:`$FNX:const res = $inject.args[0]; +`?"\\n":o==="\r"?"\\r":o===" "?"\\t":o==="\b"?"\\b":o==="\f"?"\\f":(o=o.charCodeAt(),"\\u00"+(o>15?1:0)+o%16)}return'"'+t.join("")+'"'}},bp=function(e){if(e&&typeof e=="object"){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];(Array.isArray(r)||dt.Object(r))&&bp(r),dt.String(r)&&(e[t]=Vr(r))}}return e};function $r(e,t,r){t=(t||"").split(".");let o=0,i=t.length;for(;e!=null&&o(t,r)=>$b(t,r,n.unref(e)),$b=(e,t,r)=>$r(r,e,"").replace(/\{(\w+)\}/g,(o,i)=>{var l;return`${(l=t==null?void 0:t[i])!=null?l:`{${i}}`}`}),Ib=e=>{const t=n.computed(()=>n.unref(e).name),r=n.computed(()=>Rr(id(t.value||""))),o=n.isRef(e)?e:n.ref(e);return{lang:t,name:r,locale:o,t:Rb(e)}},ld=e=>Ib(n.computed(()=>(n.isRef(e)?e.value:e)||vp)),it=(e,t,r)=>t.map(o=>(o.label=e((r||"props")+"."+(o.label||o.value))||o.label,o)),Be=(e,t,r)=>r.map(o=>(o.field==="formCreate$required"?o.title=e("validate.required")||o.title:o.field&&o.field!=="_optionType"&&(o.title=e("com."+t+"."+o.field)||o.title),o.type==="template"&&dt.trueArray(o.children)&&(o.children=Be(e,t,o.children)),o)),sd=e=>{const t=[];return e&&e.forEach(r=>{if(!r._fc_drag_skip)if(r._fc_drag_tag){const o={id:r.__fc__.id,rule:r,children:sd(r.children)};o.children.length||delete o.children,t.push(o)}else t.push(...sd(r.children))}),t},wp=e=>{const t=r=>{const o=[];return r&&r.forEach(i=>{i._fc_drag_skip||(i.field?(i.children=t(i.children||[]),i.children.length||delete i.children,o.push(i)):o.push(...t(i.children||[])))}),o};return t(e)},Cp=e=>{const t=r=>{const o=[];return r&&r.forEach(i=>{if(typeof i=="object")if(i._fc_drag_tag){const l={_fc_id:i._fc_id,_fc_drag_tag:i._fc_drag_tag==="_"?void 0:i._fc_drag_tag,type:i.type,field:i.field,title:i.title,name:i.name,slot:i.slot,props:{...i.props||{}},children:t(i.children||[])};i.children&&typeof i.children[0]=="string"&&(l.content=i.children[0]),l.children.length||delete l.children,o.push(l)}else o.push(...t(i.children))}),o};return t(e)};function on(e){return{name:"$inject",columns:[{label:"$inject.api",info:e("event.inject.api"),type:"Api"},{label:"$inject.rule",info:e("event.inject.rule"),type:"Rule[]"},{label:"$inject.self",info:e("event.inject.self"),type:"Rule"},{label:"$inject.option",info:e("event.inject.option"),type:"Object"},{label:"$inject.args",info:e("event.inject.args"),type:"Array"}]}}function si(e){return["",null,void 0].indexOf(e)!==-1}function _p(e){return e.replace(/[\ .*+?^${}()|[\]\\]/g,"\\$&")}function Fb(e,t){const r=e.split("."),o=t.split("."),i=Math.min(r.length,o.length);for(var l=0;l0)return 1;if(d<0)return-1}return r.length===o.length?0:r.length e.indexOf(t)===r)}let Pb=0;function We(){const e=370+ ++Pb;return"F"+Math.random().toString(36).substr(3,3)+Number(`${Date.now()}`).toString(36)+e.toString(36)+"c"}function Mb(e,t){return function(r,o,i){const l={...r||{}};Object.keys(l).forEach(d=>{si(l[d])&&delete l[d]}),i.getRule(e).props.info=Object.keys(l).length>0?t("struct.configured"):""}}function Ep({t:e}){const t=We();return[{type:"input",field:">formName",value:"",title:e("form.formName")},{type:"radio",field:"labelPosition",value:"left",title:e("form.labelPosition"),options:it(e,[{value:"left",label:"left"},{value:"right",label:"right"},{value:"top",label:"top"}])},{type:"input",field:">tableName",value:"",title:e("form.tableName")},{type:"radio",field:"size",value:"small",title:e("form.size"),options:it(e,[{value:"large",label:"large"},{value:"default",label:"default"},{value:"small",label:"small"}])},{type:"input",field:"labelSuffix",value:"",title:e("form.labelSuffix"),style:{width:"150px"}},{type:"SizeInput",field:"labelWidth",value:"125px",title:e("form.labelWidth")},{type:"SizeInput",field:"wrap>style>marginBottom",value:"",title:e("form.formItemMarginBottom")},{type:"switch",field:"hideRequiredAsterisk",value:!1,title:e("form.hideRequiredAsterisk")},{type:"switch",field:"showMessage",value:!0,title:e("form.showMessage")},{type:"switch",field:"inlineMessage",value:!1,title:e("form.inlineMessage")},{type:"switch",field:"_submitBtn>show",value:!0,title:e("form.submitBtn")},{type:"switch",field:"_resetBtn>show",value:!1,title:e("form.resetBtn")},{type:"switch",field:">ignoreHiddenFields",value:!1,title:e("form.ignoreHiddenFields"),warning:e("warning.ignoreHiddenFields")},{type:"ConfigItem",col:{show:!0},name:t,style:"margin-bottom: 10px",props:{label:e("form.labelStyle"),info:""},children:[{type:"StyleConfig",field:"title>style",wrap:{show:!1},value:{},slot:"append",update:Mb(t,e)}]},{type:"FnConfig",field:">_event",value:{},col:{show:!0},props:{eventConfig:[{name:"onSubmit",info:e("form.onSubmit"),args:["formData","api"]},{name:"onReset",info:e("form.onReset"),args:["api"]},{name:"onCreated",info:e("form.onCreated"),args:["api"]},{name:"onMounted",info:e("form.onMounted"),args:["api"]},{name:"onReload",info:e("form.onReload"),args:["api"]},{name:"onChange",info:e("form.onChange"),args:["field","value","options"]},{name:"beforeSubmit",info:e("form.beforeSubmit"),args:["formData","data"]},{name:"beforeFetch",info:e("form.beforeFetch"),args:["config","data"]}]},title:e("form.event")}]}function Vo({t:e}){return[{type:"ConfigItem",col:{show:!0},style:"margin-bottom: 10px",name:"attributeId",props:{label:e("form.attributeId"),warning:e("warning.attributeId")},children:[{type:"switch",field:"attributeId",value:!1,wrap:{show:!1},col:{show:!1}}]},{type:"FieldInput",field:"field",value:"",title:e("form.field"),warning:e("warning.field")},{type:"LanguageInput",field:"title",value:"",title:e("form.title")},{type:"Input",field:"fieldtype",value:"",title:e("form.fieldtype")},{type:"LanguageInput",field:"info",value:"",title:e("form.info")},{type:"SpanInput",field:"formCreateCol>span",title:e("form.formItemSpan")},{type:"ConfigItem",col:{show:!0},style:"margin-bottom: 10px",name:"ignoreConfig",props:{label:e("form.ignore"),warning:e("warning.ignore")},children:[{type:"switch",field:"ignore",value:!1,wrap:{show:!1},col:{show:!1}}]},{type:"ConfigItem",col:{show:!0},name:"labelConfig",style:"margin-bottom: 10px",props:{label:e("form.formItem")},children:[{type:"HideConfig",field:"formCreateWrap>title",col:{show:!1},wrap:{show:!1},value:!0},{type:"select",field:"formCreateWrap>class",title:e("form.labelPosition"),col:{show:!1},slot:"append",options:it(e,[{value:"fc-wrap-top",label:"top"},{value:"fc-wrap-left",label:"left"},{value:"fc-wrap-right",label:"right"}])},{type:"SizeInput",field:"formCreateWrap>labelWidth",col:{show:!1},value:"",slot:"append",title:e("form.labelWidth")},{type:"SizeInput",field:"formCreateWrap>style>marginBottom",col:{show:!1},value:"",slot:"append",title:e("form.formItemMarginBottom")}]},{type:"Struct",field:"_control",name:"control",value:[],title:e("form.control"),warning:e("form.controlDocument",{doc:''+e("form.document")+""}),props:{defaultValue:[],validate(t){return Array.isArray(t)?t.length?!t.some(({rule:r})=>!Array.isArray(r)):!0:!1}}}]}function Ap({t:e}){return[{type:"input",title:"ID",field:"id",wrap:{labelWidth:"45px"}},{type:"GlobalClassSelect",title:"Class",field:"class",wrap:{labelWidth:"45px"}},{type:"StyleConfig",field:"style",title:"",value:{}}]}function Sp({t:e}){return[{type:"ComputedConfig",field:"value",value:"",props:{type:"linkage",btn:e("computed.value.btn"),title:e("computed.value.title"),name:e("computed.value.name")},title:e("computed.value.title")},{type:"ComputedConfig",field:"hidden",value:"",props:{btn:e("computed.hidden.btn"),title:e("computed.hidden.title"),name:e("computed.hidden.name"),invertLabel:e("props.show"),validLabel:e("props.hide")},title:e("computed.hidden.title")},{type:"ComputedConfig",field:"$required",value:"",props:{btn:e("computed.required.btn"),title:e("computed.required.title"),name:e("computed.required.name"),invertLabel:e("validate.modes.notRequired"),validLabel:e("validate.modes.required")},title:e("computed.required.title")},{type:"ComputedConfig",field:"props.disabled",value:"",props:{btn:e("computed.disabled.btn"),title:e("computed.disabled.title"),name:e("computed.disabled.name"),invertLabel:e("props.enable"),validLabel:e("props.disabled")},title:e("computed.disabled.title")}]}function xp({t:e}){return[{type:"Required",field:"$required",title:e("validate.required")},{type:"validate",field:"validate",title:e("validate.rule"),value:[]}]}function Lb(e){e=e||new Map;const t={$on(r,o){const i=e.get(r);i&&i.push(o)||e.set(r,[o])},$once(r,o){o._once=!0,t.$on(r,o)},$off(r,o){const i=e.get(r);i&&i.splice(i.indexOf(o)>>>0,1)},$emit(r,...o){(e.get(r)||[]).slice().map(i=>{i._once&&(t.$off(r,i),delete i._once),i(...o)}),(e.get("*")||[]).slice().map(i=>{i(r,o)})}};return t}const jb="\u5355\u9009\u6846",dd="radio",zb={menu:"main",icon:"icon-radio",label:jb,name:dd,input:!0,event:["change"],validate:["string","number"],condition:{type:"select",options:"options"},sfc(e){e.type="elRadioGroup",e.children=(e.options||[]).map(t=>({type:e.props.type==="button"?"elRadioButton":"elRadio",props:{label:t.value,value:t.value},_sfc:{content:t.label}})),delete e.props.type},rule({t:e}){return{type:dd,field:We(),title:e("com.radio.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:Qn(e("props.option"),{label:"label",value:"value"},1)}},props(e,{t}){return Be(t,dd+".props",[Pi(t,"options"),{type:"switch",field:"disabled"},{type:"switch",field:"input"},{type:"switch",field:"type",props:{activeValue:"button",inactiveValue:"default"}},{type:"ColorInput",field:"textColor"},{type:"ColorInput",field:"fill"}])}},Ub="\u591A\u9009\u6846",cd="checkbox",Hb={menu:"main",icon:"icon-checkbox",label:Ub,name:cd,input:!0,event:["change"],validate:["array"],condition:{type:"select",options:"options"},sfc(e){e.type="elCheckboxGroup",e.children=(e.options||[]).map(t=>({type:e.props.type==="button"?"elCheckboxButton":"elCheckbox",props:{label:t.value,value:t.value},_sfc:{content:t.label}})),delete e.props.type},rule({t:e}){return{type:cd,field:We(),title:e("com.checkbox.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:Qn(e("props.option"),{label:"label",value:"value"},1)}},props(e,{t}){return Be(t,cd+".props",[Pi(t,"options"),{type:"switch",field:"disabled"},{type:"switch",field:"input"},{type:"switch",field:"type",props:{activeValue:"button",inactiveValue:"default"}},{field:"min",type:"inputNumber",props:{min:0}},{field:"max",type:"inputNumber",props:{min:0}},{type:"ColorInput",field:"textColor"},{type:"ColorInput",field:"fill"}])}},Wb="\u8F93\u5165\u6846",ud="input",Gb={menu:"main",icon:"icon-input",label:Wb,name:ud,input:!0,easySlots:["prefix","suffix","prepend","append"],event:["blur","focus","change","input","clear"],validate:["string","url","email"],rule({t:e}){return{type:ud,field:We(),title:e("com.input.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,ud+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"select",field:"type",options:it(t,[{label:"text",value:"text"},{label:"number",value:"number"},{label:"time",value:"time"},{label:"date",value:"date"},{label:"month",value:"month"},{label:"datetime-local",value:"datetime-local"}])},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"clearable"}])}},Kb="\u591A\u884C\u8F93\u5165\u6846",kp="textarea",Yb={menu:"main",icon:"icon-textarea",label:Kb,name:kp,input:!0,event:["blur","focus","change","input"],validate:["string"],rule({t:e}){return{type:"input",field:We(),title:e("com.textarea.name"),info:"",$required:!1,props:{type:"textarea"}}},props(e,{t}){return Be(t,kp+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"switch",field:"showWordLimit"},{type:"input",field:"placeholder"},{type:"inputNumber",field:"rows",props:{min:0}},{type:"switch",field:"autosize"}])}},Qb="\u5BC6\u7801\u8F93\u5165\u6846",Np="password",Jb={menu:"main",icon:"icon-password",label:Qb,name:Np,input:!0,easySlots:["prefix","suffix","prepend","append"],event:["blur","focus","change","input","clear"],validate:["string"],rule({t:e}){return{type:"input",field:We(),title:e("com.password.name"),info:"",$required:!1,props:{type:"password"}}},props(e,{t}){return Be(t,Np+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"readonly"},{type:"inputNumber",field:"maxlength",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"clearable"}])}},Xb="\u8BA1\u6570\u5668",fd="inputNumber",Zb={menu:"main",icon:"icon-number",label:Xb,name:fd,input:!0,easySlots:["prefix","suffix"],event:["blur","focus","change"],validate:["number","integer","float"],condition:"number",rule({t:e}){return{type:fd,field:We(),title:e("com.inputNumber.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,fd+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"},{type:"inputNumber",title:"precision",field:"precision"},{type:"inputNumber",field:"step",props:{min:0}},{type:"switch",field:"stepStrictly"},{type:"switch",field:"controls",value:!0},{type:"select",field:"controlsPosition",options:it(t,[{label:"default",value:""},{label:"right",value:"right"}])},{type:"input",field:"placeholder"}])}},qb="\u9009\u62E9\u5668",pd="select",e1={menu:"main",icon:"icon-select",label:qb,name:pd,input:!0,event:["change","visibleChange","removeTag","clear","blur","focus"],validate:["string","number","array"],condition:{type:"select",options:"options"},sfc(e){e.type="elSelect",e.children=(e.options||[]).map(t=>({type:"elOption",props:{label:t.label,value:t.value}}))},rule({t:e}){return{type:pd,field:We(),title:e("com.select.name"),info:"",effect:{fetch:""},$required:!1,props:{},options:Qn(e("props.option"),{label:"label",value:"value"},1)}},watch:{multiple({rule:e}){e.key=We()}},props(e,{t}){return Be(t,pd+".props",[Pi(t,"options"),{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"collapseTags"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"},{type:"switch",field:"filterable"},{type:"switch",field:"remote"},{type:"FnInput",field:"remoteMethod",props:{body:!0,button:!0,fnx:!0,name:"remoteMethod",args:[on(t)]}},{type:"switch",field:"allowCreate"},{type:"input",field:"noMatchText"},{type:"input",field:"noDataText"},{type:"switch",field:"reserveKeyword"},{type:"switch",field:"defaultFirstOption"}])}},t1="\u5F00\u5173",hd="switch",n1={menu:"main",icon:"icon-switch",label:t1,name:hd,input:!0,easySlots:["active-action","inactive-action"],event:["change"],condition:function(e){return{type:"switch",props:{activeValue:e.props.activeValue,inactiveValue:e.props.inactiveValue,activeText:e.props.activeText,inactiveText:e.props.inactiveText}}},rule({t:e}){return{type:hd,field:We(),title:e("com.switch.name"),info:"",$required:!1,props:{activeValue:!0,inactiveValue:!1}}},props(e,{t}){return Be(t,hd+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"width",props:{min:0}},{type:"input",field:"activeText"},{type:"input",field:"inactiveText"},{type:"ValueInput",field:"activeValue"},{type:"ValueInput",field:"inactiveValue"},{type:"ColorInput",field:"activeColor"},{type:"ColorInput",field:"inactiveColor"}])}},i1="\u6ED1\u5757",md="slider",r1={menu:"main",icon:"icon-slider",label:i1,name:md,input:!0,event:["change","input"],validate:["number","array"],condition:"number",rule({t:e}){return{type:md,field:We(),title:e("com.slider.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,md+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"range"},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}},{type:"inputNumber",field:"step",props:{min:0}},{type:"switch",field:"showInput"},{type:"switch",field:"showInputControls",value:!0},{type:"switch",field:"showStops"},{type:"switch",field:"vertical"},{type:"input",field:"height"}])}},o1="\u65F6\u95F4",Oo="timePicker",Tp={menu:"main",icon:"icon-time",label:o1,name:Oo,input:!0,event:["change","blur","focus","visibleChange"],sfc(e){e.props.valueFormat||(e.props.valueFormat="HH:mm:ss")},rule({t:e}){return{type:Oo,field:We(),title:e("com.timePicker.name"),info:"",$required:!1,props:{}}},watch:{isRange({rule:e}){e.key=We()},__format({value:e,rule:t}){t.props.format=e,t.props.valueFormat=e}},attrs:{format({rule:e}){return e.props.format||""}},props(e,{t}){return Be(t,Oo+".props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"switch",field:"isRange"},{type:"switch",field:"clearable",value:!0},{type:"select",field:"__format",options:[{label:t("com."+Oo+".HH:mm:ss"),value:"HH:mm:ss"},{label:t("com."+Oo+".HH:mm"),value:"HH:mm"}]},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"placeholder"},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"switch",field:"arrowControl"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])}},a1={menu:"main",icon:"icon-time-range",label:"\u65F6\u95F4\u533A\u95F4",name:"timeRange",input:!0,event:["change","blur","focus","visibleChange"],sfc:Tp.sfc,rule({t:e}){return{type:"timePicker",field:We(),title:e("com.timeRange.name"),info:"",$required:!1,props:{isRange:!0}}},watch:{__format({value:e,rule:t}){t.props.format=e,t.props.valueFormat=e}},attrs:{format({rule:e}){return e.props.format||""}},props(e,{t}){return Be(t,"timePicker.props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable",value:!0},{type:"select",field:"__format",options:[{label:t("com.timePicker.HH:mm:ss"),value:"HH:mm:ss"},{label:t("com.timePicker.HH:mm"),value:"HH:mm"}]},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"switch",field:"arrowControl"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])}},l1="\u65E5\u671F",gd="datePicker",Dp={date:"YYYY-MM-DD",month:"YYYY-MM",datetime:"YYYY-MM-DD HH:mm:ss",timerange:"HH:mm:ss",daterange:"YYYY-MM-DD",monthrange:"YYYY-MM",datetimerange:"YYYY-MM-DD HH:mm:ss",year:"YYYY"},Vp={menu:"main",icon:"icon-date",label:l1,name:gd,input:!0,event:["change","blur","focus","calendarChange","panelChange","visibleChange"],sfc(e){e.props.valueFormat||(e.props.valueFormat=Dp[e.props.type]||Dp.date)},rule({t:e}){return{type:gd,field:We(),title:e("com.datePicker.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,gd+".props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"select",field:"type",options:it(t,[{label:"year",value:"year"},{label:"month",value:"month"},{label:"date",value:"date"},{label:"dates",value:"dates"},{label:"week",value:"week"},{label:"datetime",value:"datetime"},{label:"datetimerange",value:"datetimerange"},{label:"daterange",value:"daterange"},{label:"monthrange",value:"monthrange"}])},{type:"switch",field:"clearable",value:!0},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"placeholder"},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"input",field:"format"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"input",field:"rangeSeparator"},{type:"switch",field:"unlinkPanels"}])}},s1={menu:"main",icon:"icon-date-range",label:"\u65E5\u671F\u533A\u95F4",name:"dateRange",input:!0,event:["change","blur","focus","calendarChange","panelChange","visibleChange"],sfc:Vp.sfc,rule({t:e}){return{type:"datePicker",field:We(),title:e("com.dateRange.name"),info:"",$required:!1,props:{type:"datetimerange"}}},props(e,{t}){return Be(t,"datePicker.props",[{type:"switch",field:"readonly"},{type:"switch",field:"disabled"},{type:"select",field:"type",options:it(t,[{label:"datetimerange",value:"datetimerange"},{label:"daterange",value:"daterange"},{label:"monthrange",value:"monthrange"}])},{type:"switch",field:"clearable",value:!0},{type:"Struct",field:"pickerOptions",props:{defaultValue:{}}},{type:"switch",field:"editable",value:!0},{type:"input",field:"startPlaceholder"},{type:"input",field:"endPlaceholder"},{type:"input",field:"format"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"input",field:"rangeSeparator"},{type:"switch",field:"unlinkPanels"}])}},d1="\u8BC4\u5206",vd="rate",c1={menu:"main",icon:"icon-rate",label:d1,name:vd,input:!0,event:["change"],validate:["number"],condition:"number",rule({t:e}){return{type:vd,field:We(),title:e("com.rate.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,vd+".props",[{type:"inputNumber",field:"max",props:{min:0}},{type:"switch",field:"disabled"},{type:"switch",field:"allowHalf"},{type:"ColorInput",field:"voidColor"},{type:"ColorInput",field:"disabledVoidColor"},{type:"input",field:"voidIconClass"},{type:"input",field:"disabledVoidIconClass"},{type:"switch",field:"showScore"},{type:"ColorInput",field:"textColor"},{type:"input",field:"scoreTemplate"}])}},u1="\u989C\u8272\u9009\u62E9\u5668",yd="colorPicker",f1={menu:"main",icon:"icon-color",label:u1,name:yd,input:!0,event:["change","activeChange","focus","blur"],validate:["string"],condition:"color",rule({t:e}){return{type:yd,field:We(),title:e("com.colorPicker.name"),info:"",$required:!1,props:{predefine:["#c9e6fc","#c3f2f2","#c2f1d2","#fef6c6","#ffe5c2","#fdcac2","#fadcce","#dec2fa","#ccd2f1","#2196f3","#08c9c9","#00c344","#fad714","#ff9300","#f52222","#eb2f96","#800080","#7500ea","#2d46c4","#000000","#333333","#5a5a5a","#757575","#9e9e9e","#bdbdbd","#dddddd","#f5f5f5","#ffffff"]}}},props(e,{t}){return Be(t,yd+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"showAlpha"},{type:"select",field:"colorFormat",options:[{label:"hsl",value:"hsl"},{label:"hsv",value:"hsv"},{label:"hex",value:"hex"},{label:"rgb",value:"rgb"}]},{type:"tableOptions",field:"predefine",props:{column:[{label:t("props.value"),key:"value"}],valueType:"string"}}])}},p1="\u6805\u683C\u5E03\u5C40",bd="fcRow",h1={menu:"layout",icon:"icon-row",label:p1,name:bd,mask:!1,children:"col",childrenLen:2,subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("style.width"),vnode:t(r("el-slider"),{size:"small",min:0,max:24,modelValue:o.props.span,"onUpdate:modelValue":i=>{o.props.span=i}})}]},sfc(e){e.type="elRow"},rule(){return{type:bd,props:{},children:[]}},props(e,{t}){return Be(t,bd+".props",[{type:"inputNumber",field:"gutter",props:{min:0}},{type:"switch",field:"type",props:{activeValue:"flex",inactiveValue:"default"}},{type:"select",field:"justify",options:[{label:"start",value:"start"},{label:"end",value:"end"},{label:"center",value:"center"},{label:"space-around",value:"space-around"},{label:"space-between",value:"space-between"}]},{type:"select",field:"align",options:[{label:"top",value:"top"},{label:"middle",value:"middle"},{label:"bottom",value:"bottom"}]}])}},wd="col",Op={xs:"<768px",sm:"\u2265768px",md:"\u2265992px",lg:"\u22651200px",xl:"\u22651920px"},m1={name:wd,label:"\u683C\u5B50",drag:!0,dragBtn:!1,inside:!0,mask:!1,rule(){return{type:wd,props:{span:12},children:[]}},props(e,{t}){return Be(t,wd+".props",[{type:"slider",field:"span",value:12,props:{min:0,max:24}},{type:"slider",field:"offset",props:{min:0,max:24}},{type:"slider",field:"push",props:{min:0,max:24}},{type:"slider",field:"pull",props:{min:0,max:24}},{type:"ConfigItem",props:{label:t("props.reactive"),warning:t("com.col.info")},children:[{type:"elTabs",style:{width:"100%"},slot:"append",children:Object.keys(Op).map(r=>({type:"elTabPane",props:{label:Op[r]},style:"padding:0 10px;",children:[{type:"slider",field:r+">span",title:t("com.col.props.span"),value:12,props:{min:0,max:24}},{type:"slider",field:r+">offset",title:t("com.col.props.offset"),props:{min:0,max:24}},{type:"slider",field:r+">push",title:t("com.col.props.push"),props:{min:0,max:24}},{type:"slider",field:r+">pull",title:t("com.col.props.pull"),props:{min:0,max:24}}]}))}]}])}},g1="\u9009\u9879\u5361",Cd="elTabPane",v1={label:g1,name:Cd,inside:!0,drag:!0,dragBtn:!1,mask:!1,rule({t:e}){return{type:Cd,props:{label:e("com.elTabPane.name")},children:[]}},props(e,{t}){return Be(t,Cd+".props",[{type:"input",field:"label"},{type:"switch",field:"disabled"},{type:"input",field:"name"},{type:"switch",field:"lazy"}])}},y1="\u5206\u5272\u7EBF",_d="elDivider",b1={menu:"aide",icon:"icon-divider",label:y1,name:_d,rule({t:e}){return{type:_d,props:{},children:[e("com.elDivider.name")]}},props(e,{t}){return Be(t,_d+".props",[{type:"select",field:"direction",options:it(t,[{label:"horizontal",value:"horizontal"},{label:"vertical",value:"vertical"}])},{type:"input",field:"formCreateChild"},{type:"select",field:"contentPosition",options:it(t,[{label:"left",value:"left"},{label:"right",value:"right"},{label:"center",value:"center"}])}])}},w1="\u7EA7\u8054\u9009\u62E9\u5668",Ka="cascader",C1={menu:"main",icon:"icon-cascader",label:w1,name:Ka,input:!0,event:["change","expandChange","blur","focus","visibleChange","removeTag"],validate:["string","number","array"],condition(e){return{type:"cascader",options:"props.options",props:{props:e.props&&e.props.props||{}}}},rule({t:e}){return{type:Ka,field:We(),title:e("com.cascader.name"),info:"",effect:{fetch:""},$required:!1,props:{options:Qn(e("props.option"),{label:"label",value:"value"},3)}}},props(e,{t}){return Be(t,Ka+".props",[Br(t,"props.options"),{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"input",field:"placeholder"},{type:"Object",field:"props",props:{rule:Be(t,Ka+".propsOpt",[{type:"switch",field:"multiple"},{type:"select",field:"expandTrigger",options:it(t,[{label:"click",value:"click"},{label:"hover",value:"hover"}])},{type:"switch",field:"checkStrictly"},{type:"switch",field:"emitPath",value:!0},{type:"input",field:"value",value:"value"},{type:"input",field:"label",value:"label"},{type:"input",field:"children",value:"children"},{type:"input",field:"disabled",value:"disabled"},{type:"input",field:"leaf"}])}},{type:"switch",field:"showAllLevels",value:!0},{type:"switch",field:"collapseTags"},{type:"switch",field:"collapseTagsTooltip"},{type:"input",field:"separator"},{type:"switch",field:"filterable"},{type:"select",field:"tagType",options:[{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}]}])}},_1="\u4E0A\u4F20",Ed="upload",E1={menu:"main",icon:"icon-upload",label:_1,name:Ed,input:!0,easySlots:[{value:"tip",type:"text"}],event:["change","remove","preview","error","progress","exceed"],languageKey:["clickToUpload"],validate:["array"],sfc(e){e.type="elUpload",e.props.listType||(e.props.listType="picture-card"),e._sfc.modelField="fileList"},rule({t:e}){return{type:Ed,field:We(),title:e("com.upload.name"),info:"",$required:!1,props:{action:"/",onSuccess:`$FNX:const res = $inject.args[0]; const file = $inject.args[1]; -file.url = res.data.url;`}}},props(e,{t}){return Re(t,Ed+".props",[{type:"switch",field:"disabled"},{type:"select",field:"listType",options:it(t,[{label:"text",value:"text"},{label:"picture",value:"picture"},{label:"picture-card",value:"picture-card"}])},{type:"switch",field:"multiple"},{type:"input",field:"name"},{type:"PromptInput",field:"accept",props:{options:[{label:t("props.image"),value:"image/*"},{label:t("props.document"),value:".pdf,.doc,.docx,.xml,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{label:t("props.video"),value:"video/*"},{label:t("props.audio"),value:"audio/*"}]}},{type:"input",field:"action"},{type:"FnInput",field:"beforeUpload",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"beforeUpload"}},{type:"FnInput",field:"beforeRemove",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"beforeRemove"}},{type:"FnInput",field:"onSuccess",warning:t("com.upload.info"),props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"onSuccess"}},{type:"TableOptions",field:"headers",props:{column:[{label:t("props.key"),key:"label"},{label:t("props.value"),key:"value"}],valueType:"object"}},{type:"TableOptions",field:"data",props:{column:[{label:t("props.key"),key:"label"},{label:t("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"withCredentials"},{type:"switch",field:"autoUpload",value:!0},{type:"inputNumber",field:"limit",props:{min:0}}])}},A1="\u7A7F\u68AD\u6846",Ad="elTransfer",S1={menu:"main",icon:"icon-transfer",label:A1,name:Ad,input:!0,event:["change","leftCheckChange","rightCheckChange"],validate:["array"],condition:function(e){return{type:"select",options:e.props.data?e.props.data.map(t=>({label:t.label,value:t.key})):[]}},rule({t:e}){return{type:Ad,field:He(),title:e("com.elTransfer.name"),info:"",$required:!1,props:{data:Qn(e("props.option"),{label:"label",value:"key"},1)}}},props(e,{t}){return Re(t,Ad+".props",[Pi(t,"props.data","label","key"),{type:"switch",field:"filterable"},{type:"input",field:"filterPlaceholder"},{type:"select",field:"targetOrder",warning:t("com.elTransfer.props.targetOrderInfo"),options:[{label:"original",value:"original"},{label:"push",value:"push"},{label:"unshift",value:"unshift"}]},{type:"TableOptions",field:"titles",props:{column:[{label:t("props.value"),key:"value"}],valueType:"string",max:2}},{type:"TableOptions",field:"buttonTexts",props:{column:[{label:t("props.value"),key:"value"}],valueType:"string",max:2}}])}},x1="\u6811\u5F62\u63A7\u4EF6",Sd="tree",k1={menu:"main",icon:"icon-tree",label:x1,name:Sd,input:!0,event:["nodeClick","nodeContextmenu","checkChange","check","currentChange","nodeExpand","nodeCollapse","nodeDragStart","nodeDragEnter","nodeDragLeave","nodeDragOver","nodeDragEnd","nodeDrop"],validate:["string","number","array"],condition:function(e){return{type:"cascader",options:e.props.data||[],props:{props:{checkStrictly:!0,emitPath:!1,value:"id"}}}},sfc(e){e.type="elTree",e._sfc.modelField="defaultCheckedKeys"},rule({t:e}){return{type:Sd,field:He(),title:e("com.tree.name"),info:"",effect:{fetch:""},$required:!1,props:{props:{label:"label"},showCheckbox:!0,nodeKey:"id",data:Qn(e("props.option"),{label:"label",value:"id"},3)}}},props(e,{t}){return Re(t,Sd+".props",[Br(t,"props.data","label","id"),{type:"input",field:"emptyText"},{type:"TableOptions",field:"props",props:{column:[{label:t("props.key"),key:"label"},{label:t("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"renderAfterExpand",value:!0},{type:"switch",field:"defaultExpandAll"},{type:"switch",field:"expandOnClickNode",value:!0},{type:"switch",field:"checkOnClickNode"},{type:"switch",field:"autoExpandParent",value:!0},{type:"switch",field:"checkStrictly"},{type:"switch",field:"accordion"},{type:"inputNumber",field:"indent"},{type:"input",field:"nodeKey"}])}},N1="\u63D0\u793A",xd="elAlert",T1={menu:"aide",icon:"icon-alert",label:N1,name:xd,event:["close"],rule({t:e}){return{type:xd,props:{title:e("com.elAlert.name"),description:e("com.elAlert.description"),type:"success",effect:"dark"},children:[]}},props(e,{t}){return Re(t,xd+".props",[{type:"input",field:"title"},{type:"select",field:"type",options:[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}]},{type:"input",field:"description"},{type:"switch",field:"closable",value:!0},{type:"switch",field:"center",value:!0},{type:"input",field:"closeText"},{type:"switch",field:"showIcon"},{type:"select",field:"effect",options:[{label:"light",value:"light"},{label:"dark",value:"dark"}]}])}},D1="\u6587\u5B57",Bp="text",V1={menu:"aide",icon:"icon-span",label:D1,name:Bp,inline:!0,rule({t:e}){return{type:"div",title:"",style:{whiteSpace:"pre-line"},children:[e("com.text.name")]}},props(e,{t}){return Re(t,Bp+".props",[{type:"input",field:"formCreateChild",props:{type:"textarea"}}])}},O1={menu:"layout",icon:"icon-space",label:"\u95F4\u8DDD",name:"space",rule(){return{type:"div",wrap:{show:!1},native:!0,style:{width:"100%",height:"20px"},children:[]}},props(){return[]}},B1="\u6807\u7B7E\u9875",kd="elTabs",R1={menu:"layout",icon:"icon-tab",label:B1,name:kd,mask:!1,event:["tabClick","tabChange","tabRemove","tabAdd","edit"],children:"elTabPane",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},rule(){return{type:kd,style:{width:"100%"},props:{modelValue:"0"},sync:["modelValue"],children:[]}},props(e,{t}){return Re(t,kd+".props",[{type:"select",field:"type",options:[{label:"card",value:"card"},{label:"border-card",value:"border-card"}]},{type:"switch",field:"closable"},{type:"select",field:"tabPosition",options:it(t,[{label:"top",value:"top"},{label:"right",value:"right"},{label:"left",value:"left"}])},{type:"switch",field:"stretch"}])}},$1="\u6309\u94AE",Nd="elButton",F1={menu:"aide",icon:"icon-button",label:$1,name:Nd,mask:!0,inline:!0,easySlots:[{value:"icon",type:"icon"}],event:["click"],rule({t:e}){return{type:Nd,props:{},children:[e("com.elButton.name")]}},props(e,{t}){return Re(t,Nd+".props",[{type:"input",field:"formCreateChild"},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"select",field:"type",options:it(t,[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"}])},{type:"switch",field:"plain"},{type:"switch",field:"round"},{type:"switch",field:"circle"},{type:"switch",field:"loading"},{type:"switch",field:"disabled"}])}},I1="\u5BCC\u6587\u672C\u6846",Td="fcEditor",P1={menu:"main",icon:"icon-editor",label:I1,name:Td,input:!0,event:["change"],validate:["string"],rule({t:e}){return{type:Td,field:He(),title:e("com.fcEditor.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,Td+".props",[{type:"switch",field:"disabled"}])}},M1="\u5B50\u8868\u5355",Rp="group",L1={menu:"subform",icon:"icon-subform",label:M1,name:Rp,input:!0,inside:!1,drag:!0,dragBtn:!0,mask:!1,event:["change"],subForm:"array",loadRule(e){e.children=e.props.rule||[],e.type="FcRow",delete e.props.rule},parseRule(e){e.props.rule=e.children,e.type="group",delete e.children,delete e.props.mode},sfc:!1,rule({t:e}){return{type:"fcRow",field:He(),title:e("com.group.name"),info:"",$required:!1,props:{},children:[]}},props(e,{t}){return Re(t,Rp+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"button",value:!0},{type:"switch",field:"sortBtn",value:!0},{type:"inputNumber",field:"expand"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"}])}},j1="\u5206\u7EC4",$p="subForm",z1={menu:"subform",icon:"icon-group",label:j1,name:$p,input:!0,inside:!1,drag:!0,dragBtn:!0,mask:!1,subForm:"object",event:["change"],loadRule(e){e.children=e.props.rule||[],e.type="FcRow",delete e.props.rule},parseRule(e){e.props.rule=e.children,e.type="subForm",delete e.children},sfc(e,{getParentFieldStr:t}){return{type:"elFormItem",props:{prop:t()+e.field,label:e.title,required:e.$required===!0?!0:void 0},col:{show:!0},_sfc:{parentField:e.field},_fc_id:e._fc_id,children:[{type:"elRow",class:e.class,style:e.style,children:e.children}]}},rule({t:e}){return{type:"fcRow",field:He(),title:e("com.subForm.name"),info:"",$required:!1,props:{},children:[]}},props(e,{t}){return Re(t,$p+".props",[{type:"switch",field:"disabled"}])}},U1="\u5361\u7247",Dd="elCard",H1={menu:"layout",icon:"icon-card",label:U1,name:Dd,drag:!0,inside:!1,mask:!1,rule({t:e}){return{type:Dd,props:{header:e("com.elCard.props.header")},style:{width:"100%"},children:[]}},props(e,{t}){return Re(t,Dd+".props",[{type:"input",field:"header"},{type:"select",field:"shadow",value:"always",options:it(t,[{label:"always",value:"always"},{label:"never",value:"never"},{label:"hover",value:"hover"}])}])}},W1="\u6298\u53E0\u9762\u677F",Vd="elCollapse",G1={menu:"layout",icon:"icon-collapse",label:W1,name:Vd,mask:!1,children:"elCollapseItem",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.title,"onUpdate:modelValue":i=>{o.props.title=i}})}]},event:["change"],rule(){return{type:Vd,props:{modelValue:[]},sync:["modelValue"],style:{width:"100%"},children:[]}},props(e,{t}){return Re(t,Vd+".props",[{type:"switch",field:"accordion"}])}},K1="\u9762\u677F",Od="elCollapseItem",Y1={icon:"icon-cell",label:K1,name:Od,drag:!0,dragBtn:!1,inside:!0,mask:!1,easySlots:[{value:"icon",type:"icon"}],rule({t:e}){return{type:Od,props:{title:e("com.elCollapseItem.name"),name:He()},style:{},children:[]}},props(e,{t}){return Re(t,Od+".props",[{type:"input",field:"title"},{type:"input",field:"name"},{type:"switch",field:"disabled"}])}},Q1="\u6811\u5F62\u9009\u62E9",Bd="elTreeSelect",J1={menu:"main",icon:"icon-tree-select",label:Q1,name:Bd,input:!0,event:["change","visibleChange","removeTag","clear","blur","focus"],validate:["string","number","array"],condition:function(e){return{type:"cascader",options:e.props.data||[],props:{props:{checkStrictly:!0,emitPath:!1}}}},rule({t:e}){return{type:Bd,field:He(),title:e("com.elTreeSelect.name"),info:"",effect:{fetch:""},$required:!1,props:{nodeKey:"value",showCheckbox:!0,data:Qn(e("props.option"),{label:"label",value:"value"},3)}}},watch:{multiple({rule:e}){e.key=He()}},props(e,{t}){return Re(t,Bd+".props",[Br(t,"props.data","label","value"),{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"collapseTags"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"},{type:"TableOptions",field:"props",props:{column:[{label:t("props.key"),key:"label"},{label:t("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"renderAfterExpand",value:!0},{type:"switch",field:"defaultExpandAll"},{type:"switch",field:"expandOnClickNode",value:!0},{type:"switch",field:"checkOnClickNode"},{type:"switch",field:"checkStrictly"},{type:"input",field:"nodeKey"}])}},X1="\u6807\u7B7E",Rd="elTag",Z1={menu:"aide",icon:"icon-tag",label:X1,name:Rd,mask:!0,inline:!0,event:["click","close"],rule({t:e}){return{type:Rd,title:"",children:[e("com.elTag.name")]}},props(e,{t}){return Re(t,Rd+".props",[{type:"input",field:"formCreateChild"},{type:"select",field:"type",options:it(t,[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"}])},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"select",field:"effect",options:[{label:"dark",value:"dark"},{label:"light",value:"light"},{label:"plain",value:"plain"}]},{type:"switch",field:"closable"},{type:"switch",field:"disableTransitions"},{type:"switch",field:"hit"},{type:"switch",field:"round"},{type:"ColorInput",field:"color"}])}},q1="\u63CF\u8FF0\u683C\u5B50",$d="elDescriptionsItem",ew={icon:"icon-cell",label:q1,name:$d,dragBtn:!1,inside:!0,mask:!1,rule({t:e}){return{type:$d,props:{label:e("props.title")},children:[e("props.content")]}},watch:{__child({value:e,rule:t}){t.children[0].children[0]=e}},attrs:{child({rule:e}){return e.children[0].children[0]||""}},props(e,{t}){return Re(t,$d+".props",[{type:"input",field:"label"},{type:"input",field:"__child",_fc_important_prop:"formCreateChild"},{type:"inputNumber",field:"span"},{type:"input",field:"width"},{type:"input",field:"minWidth"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"select",field:"labelAlign",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"input",field:"className"}])}},tw="\u63CF\u8FF0\u5217\u8868",Fd="elDescriptions",nw={menu:"layout",icon:"icon-descriptions",label:tw,name:Fd,mask:!1,rule(){return{type:Fd,props:{border:!0},style:{width:"100%"},children:[]}},children:"elDescriptionsItem",childrenLen:2,subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},props(e,{t}){return Re(t,Fd+".props",[{type:"input",field:"title",value:""},{type:"input",field:"extra",value:""},{type:"inputNumber",field:"column",value:3,props:{min:0}},{type:"switch",field:"border"},{type:"select",field:"direction",options:it(t,[{label:"vertical",value:"vertical"},{label:"horizontal",value:"horizontal"}])},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])}])}},iw="\u5206\u6B65\u8868\u5355",Id="stepForm",rw={menu:"subform",icon:"icon-step-form",label:iw,name:Id,input:!0,mask:!1,languageKey:["prevStep","nextStep","submit"],event:["change","submit","next"],subForm:"object",children:"stepFormItem",childrenLen:2,subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.title,"onUpdate:modelValue":i=>{o.props.title=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.steps||{};e.children=t.map(r=>({type:"stepFormItem",_fc_drag_tag:"stepFormItem",props:{title:r.props.title,description:r.props.description},children:r.rule})),delete e.props.steps},parseRule(e){const t=e.children||[];e.props.steps=t.map(r=>({props:r.props,rule:r.children})),e.children=[]},sfc:!1,rule(){return{type:Id,field:He(),title:"",info:"",$required:!1,props:{},children:[]}},props(e,{t}){return Re(t,Id+".props",[{type:"switch",field:"submitBtn",value:!0},{type:"switch",field:"autoValidate"},{type:"switch",field:"stepsProps>alignCenter"},{type:"switch",field:"stepsProps>simple"}])}},ow="\u6B65\u9AA4\u6761",Pd="stepFormItem",aw={icon:"icon-cell",label:ow,name:Pd,aide:!0,drag:!0,dragBtn:!1,inside:!0,mask:!1,style:!1,advanced:!1,variable:!1,rule({t:e}){return{type:Pd,props:{title:e("com.stepFormItem.props.title"),description:""},children:[]}},props(e,{t}){return Re(t,Pd+".props",[{type:"input",field:"title",value:""},{type:"input",field:"description",value:""}])}},lw="HTML",Md="html",sw={menu:"aide",icon:"icon-html",label:lw,name:Md,sfc(e){e.type="div"},rule(){return{type:Md,title:"",style:{display:"block",width:"100%"},children:[' ']}},props(e,{t}){return Re(t,Md+".props",[{type:"HtmlEditor",field:"formCreateChild"}])}},dw="\u8868\u683C\u5E03\u5C40",Ld="fcTable",cw={menu:"layout",icon:"icon-table",label:dw,name:Ld,inside:!1,mask:!1,sfc:{style:`._fc-table { +file.url = res.data.url;`}}},props(e,{t}){return Be(t,Ed+".props",[{type:"switch",field:"disabled"},{type:"select",field:"listType",options:it(t,[{label:"text",value:"text"},{label:"picture",value:"picture"},{label:"picture-card",value:"picture-card"}])},{type:"switch",field:"multiple"},{type:"input",field:"name"},{type:"PromptInput",field:"accept",props:{options:[{label:t("props.image"),value:"image/*"},{label:t("props.document"),value:".pdf,.doc,.docx,.xml,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{label:t("props.video"),value:"video/*"},{label:t("props.audio"),value:"audio/*"}]}},{type:"input",field:"action"},{type:"FnInput",field:"beforeUpload",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"beforeUpload"}},{type:"FnInput",field:"beforeRemove",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"beforeRemove"}},{type:"FnInput",field:"onSuccess",warning:t("com.upload.info"),props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"onSuccess"}},{type:"TableOptions",field:"headers",props:{column:[{label:t("props.key"),key:"label"},{label:t("props.value"),key:"value"}],valueType:"object"}},{type:"TableOptions",field:"data",props:{column:[{label:t("props.key"),key:"label"},{label:t("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"withCredentials"},{type:"switch",field:"autoUpload",value:!0},{type:"inputNumber",field:"limit",props:{min:0}}])}},A1="\u7A7F\u68AD\u6846",Ad="elTransfer",S1={menu:"main",icon:"icon-transfer",label:A1,name:Ad,input:!0,event:["change","leftCheckChange","rightCheckChange"],validate:["array"],condition:function(e){return{type:"select",options:e.props.data?e.props.data.map(t=>({label:t.label,value:t.key})):[]}},rule({t:e}){return{type:Ad,field:We(),title:e("com.elTransfer.name"),info:"",$required:!1,props:{data:Qn(e("props.option"),{label:"label",value:"key"},1)}}},props(e,{t}){return Be(t,Ad+".props",[Pi(t,"props.data","label","key"),{type:"switch",field:"filterable"},{type:"input",field:"filterPlaceholder"},{type:"select",field:"targetOrder",warning:t("com.elTransfer.props.targetOrderInfo"),options:[{label:"original",value:"original"},{label:"push",value:"push"},{label:"unshift",value:"unshift"}]},{type:"TableOptions",field:"titles",props:{column:[{label:t("props.value"),key:"value"}],valueType:"string",max:2}},{type:"TableOptions",field:"buttonTexts",props:{column:[{label:t("props.value"),key:"value"}],valueType:"string",max:2}}])}},x1="\u6811\u5F62\u63A7\u4EF6",Sd="tree",k1={menu:"main",icon:"icon-tree",label:x1,name:Sd,input:!0,event:["nodeClick","nodeContextmenu","checkChange","check","currentChange","nodeExpand","nodeCollapse","nodeDragStart","nodeDragEnter","nodeDragLeave","nodeDragOver","nodeDragEnd","nodeDrop"],validate:["string","number","array"],condition:function(e){return{type:"cascader",options:e.props.data||[],props:{props:{checkStrictly:!0,emitPath:!1,value:"id"}}}},sfc(e){e.type="elTree",e._sfc.modelField="defaultCheckedKeys"},rule({t:e}){return{type:Sd,field:We(),title:e("com.tree.name"),info:"",effect:{fetch:""},$required:!1,props:{props:{label:"label"},showCheckbox:!0,nodeKey:"id",data:Qn(e("props.option"),{label:"label",value:"id"},3)}}},props(e,{t}){return Be(t,Sd+".props",[Br(t,"props.data","label","id"),{type:"input",field:"emptyText"},{type:"TableOptions",field:"props",props:{column:[{label:t("props.key"),key:"label"},{label:t("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"renderAfterExpand",value:!0},{type:"switch",field:"defaultExpandAll"},{type:"switch",field:"expandOnClickNode",value:!0},{type:"switch",field:"checkOnClickNode"},{type:"switch",field:"autoExpandParent",value:!0},{type:"switch",field:"checkStrictly"},{type:"switch",field:"accordion"},{type:"inputNumber",field:"indent"},{type:"input",field:"nodeKey"}])}},N1="\u63D0\u793A",xd="elAlert",T1={menu:"aide",icon:"icon-alert",label:N1,name:xd,event:["close"],rule({t:e}){return{type:xd,props:{title:e("com.elAlert.name"),description:e("com.elAlert.description"),type:"success",effect:"dark"},children:[]}},props(e,{t}){return Be(t,xd+".props",[{type:"input",field:"title"},{type:"select",field:"type",options:[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}]},{type:"input",field:"description"},{type:"switch",field:"closable",value:!0},{type:"switch",field:"center",value:!0},{type:"input",field:"closeText"},{type:"switch",field:"showIcon"},{type:"select",field:"effect",options:[{label:"light",value:"light"},{label:"dark",value:"dark"}]}])}},D1="\u6587\u5B57",Bp="text",V1={menu:"aide",icon:"icon-span",label:D1,name:Bp,inline:!0,rule({t:e}){return{type:"div",title:"",style:{whiteSpace:"pre-line"},children:[e("com.text.name")]}},props(e,{t}){return Be(t,Bp+".props",[{type:"input",field:"formCreateChild",props:{type:"textarea"}}])}},O1={menu:"layout",icon:"icon-space",label:"\u95F4\u8DDD",name:"space",rule(){return{type:"div",wrap:{show:!1},native:!0,style:{width:"100%",height:"20px"},children:[]}},props(){return[]}},B1="\u6807\u7B7E\u9875",kd="elTabs",R1={menu:"layout",icon:"icon-tab",label:B1,name:kd,mask:!1,event:["tabClick","tabChange","tabRemove","tabAdd","edit"],children:"elTabPane",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},rule(){return{type:kd,style:{width:"100%"},props:{modelValue:"0"},sync:["modelValue"],children:[]}},props(e,{t}){return Be(t,kd+".props",[{type:"select",field:"type",options:[{label:"card",value:"card"},{label:"border-card",value:"border-card"}]},{type:"switch",field:"closable"},{type:"select",field:"tabPosition",options:it(t,[{label:"top",value:"top"},{label:"right",value:"right"},{label:"left",value:"left"}])},{type:"switch",field:"stretch"}])}},$1="\u6309\u94AE",Nd="elButton",I1={menu:"aide",icon:"icon-button",label:$1,name:Nd,mask:!0,inline:!0,easySlots:[{value:"icon",type:"icon"}],event:["click"],rule({t:e}){return{type:Nd,props:{},children:[e("com.elButton.name")]}},props(e,{t}){return Be(t,Nd+".props",[{type:"input",field:"formCreateChild"},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"select",field:"type",options:it(t,[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"}])},{type:"switch",field:"plain"},{type:"switch",field:"round"},{type:"switch",field:"circle"},{type:"switch",field:"loading"},{type:"switch",field:"disabled"}])}},F1="\u5BCC\u6587\u672C\u6846",Td="fcEditor",P1={menu:"main",icon:"icon-editor",label:F1,name:Td,input:!0,event:["change"],validate:["string"],rule({t:e}){return{type:Td,field:We(),title:e("com.fcEditor.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,Td+".props",[{type:"switch",field:"disabled"}])}},M1="\u5B50\u8868\u5355",Rp="group",L1={menu:"subform",icon:"icon-subform",label:M1,name:Rp,input:!0,inside:!1,drag:!0,dragBtn:!0,mask:!1,event:["change"],subForm:"array",loadRule(e){e.children=e.props.rule||[],e.type="FcRow",delete e.props.rule},parseRule(e){e.props.rule=e.children,e.type="group",delete e.children,delete e.props.mode},sfc:!1,rule({t:e}){return{type:"fcRow",field:We(),title:e("com.group.name"),info:"",$required:!1,props:{},children:[]}},props(e,{t}){return Be(t,Rp+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"button",value:!0},{type:"switch",field:"sortBtn",value:!0},{type:"inputNumber",field:"expand"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"}])}},j1="\u5206\u7EC4",$p="subForm",z1={menu:"subform",icon:"icon-group",label:j1,name:$p,input:!0,inside:!1,drag:!0,dragBtn:!0,mask:!1,subForm:"object",event:["change"],loadRule(e){e.children=e.props.rule||[],e.type="FcRow",delete e.props.rule},parseRule(e){e.props.rule=e.children,e.type="subForm",delete e.children},sfc(e,{getParentFieldStr:t}){return{type:"elFormItem",props:{prop:t()+e.field,label:e.title,required:e.$required===!0?!0:void 0},col:{show:!0},_sfc:{parentField:e.field},_fc_id:e._fc_id,children:[{type:"elRow",class:e.class,style:e.style,children:e.children}]}},rule({t:e}){return{type:"fcRow",field:We(),title:e("com.subForm.name"),info:"",$required:!1,props:{},children:[]}},props(e,{t}){return Be(t,$p+".props",[{type:"switch",field:"disabled"}])}},U1="\u5361\u7247",Dd="elCard",H1={menu:"layout",icon:"icon-card",label:U1,name:Dd,drag:!0,inside:!1,mask:!1,rule({t:e}){return{type:Dd,props:{header:e("com.elCard.props.header")},style:{width:"100%"},children:[]}},props(e,{t}){return Be(t,Dd+".props",[{type:"input",field:"header"},{type:"select",field:"shadow",value:"always",options:it(t,[{label:"always",value:"always"},{label:"never",value:"never"},{label:"hover",value:"hover"}])}])}},W1="\u6298\u53E0\u9762\u677F",Vd="elCollapse",G1={menu:"layout",icon:"icon-collapse",label:W1,name:Vd,mask:!1,children:"elCollapseItem",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.title,"onUpdate:modelValue":i=>{o.props.title=i}})}]},event:["change"],rule(){return{type:Vd,props:{modelValue:[]},sync:["modelValue"],style:{width:"100%"},children:[]}},props(e,{t}){return Be(t,Vd+".props",[{type:"switch",field:"accordion"}])}},K1="\u9762\u677F",Od="elCollapseItem",Y1={icon:"icon-cell",label:K1,name:Od,drag:!0,dragBtn:!1,inside:!0,mask:!1,easySlots:[{value:"icon",type:"icon"}],rule({t:e}){return{type:Od,props:{title:e("com.elCollapseItem.name"),name:We()},style:{},children:[]}},props(e,{t}){return Be(t,Od+".props",[{type:"input",field:"title"},{type:"input",field:"name"},{type:"switch",field:"disabled"}])}},Q1="\u6811\u5F62\u9009\u62E9",Bd="elTreeSelect",J1={menu:"main",icon:"icon-tree-select",label:Q1,name:Bd,input:!0,event:["change","visibleChange","removeTag","clear","blur","focus"],validate:["string","number","array"],condition:function(e){return{type:"cascader",options:e.props.data||[],props:{props:{checkStrictly:!0,emitPath:!1}}}},rule({t:e}){return{type:Bd,field:We(),title:e("com.elTreeSelect.name"),info:"",effect:{fetch:""},$required:!1,props:{nodeKey:"value",showCheckbox:!0,data:Qn(e("props.option"),{label:"label",value:"value"},3)}}},watch:{multiple({rule:e}){e.key=We()}},props(e,{t}){return Be(t,Bd+".props",[Br(t,"props.data","label","value"),{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"collapseTags"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"},{type:"TableOptions",field:"props",props:{column:[{label:t("props.key"),key:"label"},{label:t("props.value"),key:"value"}],valueType:"object"}},{type:"switch",field:"renderAfterExpand",value:!0},{type:"switch",field:"defaultExpandAll"},{type:"switch",field:"expandOnClickNode",value:!0},{type:"switch",field:"checkOnClickNode"},{type:"switch",field:"checkStrictly"},{type:"input",field:"nodeKey"}])}},X1="\u6807\u7B7E",Rd="elTag",Z1={menu:"aide",icon:"icon-tag",label:X1,name:Rd,mask:!0,inline:!0,event:["click","close"],rule({t:e}){return{type:Rd,title:"",children:[e("com.elTag.name")]}},props(e,{t}){return Be(t,Rd+".props",[{type:"input",field:"formCreateChild"},{type:"select",field:"type",options:it(t,[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"}])},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"select",field:"effect",options:[{label:"dark",value:"dark"},{label:"light",value:"light"},{label:"plain",value:"plain"}]},{type:"switch",field:"closable"},{type:"switch",field:"disableTransitions"},{type:"switch",field:"hit"},{type:"switch",field:"round"},{type:"ColorInput",field:"color"}])}},q1="\u63CF\u8FF0\u683C\u5B50",$d="elDescriptionsItem",ew={icon:"icon-cell",label:q1,name:$d,dragBtn:!1,inside:!0,mask:!1,rule({t:e}){return{type:$d,props:{label:e("props.title")},children:[e("props.content")]}},watch:{__child({value:e,rule:t}){t.children[0].children[0]=e}},attrs:{child({rule:e}){return e.children[0].children[0]||""}},props(e,{t}){return Be(t,$d+".props",[{type:"input",field:"label"},{type:"input",field:"__child",_fc_important_prop:"formCreateChild"},{type:"inputNumber",field:"span"},{type:"input",field:"width"},{type:"input",field:"minWidth"},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"select",field:"labelAlign",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"input",field:"className"}])}},tw="\u63CF\u8FF0\u5217\u8868",Id="elDescriptions",nw={menu:"layout",icon:"icon-descriptions",label:tw,name:Id,mask:!1,rule(){return{type:Id,props:{border:!0},style:{width:"100%"},children:[]}},children:"elDescriptionsItem",childrenLen:2,subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},props(e,{t}){return Be(t,Id+".props",[{type:"input",field:"title",value:""},{type:"input",field:"extra",value:""},{type:"inputNumber",field:"column",value:3,props:{min:0}},{type:"switch",field:"border"},{type:"select",field:"direction",options:it(t,[{label:"vertical",value:"vertical"},{label:"horizontal",value:"horizontal"}])},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])}])}},iw="\u5206\u6B65\u8868\u5355",Fd="stepForm",rw={menu:"subform",icon:"icon-step-form",label:iw,name:Fd,input:!0,mask:!1,languageKey:["prevStep","nextStep","submit"],event:["change","submit","next"],subForm:"object",children:"stepFormItem",childrenLen:2,subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.title,"onUpdate:modelValue":i=>{o.props.title=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.steps||{};e.children=t.map(r=>({type:"stepFormItem",_fc_drag_tag:"stepFormItem",props:{title:r.props.title,description:r.props.description},children:r.rule})),delete e.props.steps},parseRule(e){const t=e.children||[];e.props.steps=t.map(r=>({props:r.props,rule:r.children})),e.children=[]},sfc:!1,rule(){return{type:Fd,field:We(),title:"",info:"",$required:!1,props:{},children:[]}},props(e,{t}){return Be(t,Fd+".props",[{type:"switch",field:"submitBtn",value:!0},{type:"switch",field:"autoValidate"},{type:"switch",field:"stepsProps>alignCenter"},{type:"switch",field:"stepsProps>simple"}])}},ow="\u6B65\u9AA4\u6761",Pd="stepFormItem",aw={icon:"icon-cell",label:ow,name:Pd,aide:!0,drag:!0,dragBtn:!1,inside:!0,mask:!1,style:!1,advanced:!1,variable:!1,rule({t:e}){return{type:Pd,props:{title:e("com.stepFormItem.props.title"),description:""},children:[]}},props(e,{t}){return Be(t,Pd+".props",[{type:"input",field:"title",value:""},{type:"input",field:"description",value:""}])}},lw="HTML",Md="html",sw={menu:"aide",icon:"icon-html",label:lw,name:Md,sfc(e){e.type="div"},rule(){return{type:Md,title:"",style:{display:"block",width:"100%"},children:['HTMLHTMLHTMLHTMLHTMLHTMLHTMLHTMLHTMLHTMLHTML
']}},props(e,{t}){return Be(t,Md+".props",[{type:"HtmlEditor",field:"formCreateChild"}])}},dw="\u8868\u683C\u5E03\u5C40",Ld="fcTable",cw={menu:"layout",icon:"icon-table",label:dw,name:Ld,inside:!1,mask:!1,sfc:{style:`._fc-table { overflow: auto; } ._fc-table > table { @@ -146,13 +146,13 @@ overflow: hidden; border: 0 none; border-right: 1px solid #EBEEF5; border-bottom: 1px solid #EBEEF5; -}`,handle(e){const t=(e.children||[]).reduce((m,y)=>(m[y.slot]||(m[y.slot]=[]),m[y.slot].push(y),delete y.slot,m),{}),{row:r,col:o,style:i,class:l,layout:d}=e.props.rule,c={},u=[];d.forEach(m=>{const y=m.row||1,C=m.col||1,S=`${m.top}:${m.left}`;c[S]={row:y,col:C};for(let w=0;wHTMLHTMLHTMLHTMLHTMLHTMLHTMLHTMLHTMLHTMLHTML
-1)continue;const w=t[S];y.push({type:"td",props:{rowspan:""+(c[S]?c[S].row:1),colspan:""+(c[S]?c[S].col:1)},style:i[S],class:l[S],children:w})}h.push({type:"tr",children:y})}return{type:"elCol",props:{span:24},style:e.style,class:e.class,children:[{type:"div",class:"_fc-table",children:[{type:"table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:h}]}]}}},rule(){return{type:Ld,props:{rule:{row:3,col:4,style:{},class:{},layout:[]}},children:[]}},props(e,{t}){return Re(t,Ld+".props",[{type:"switch",field:"border",value:!0},{type:"switch",field:"mini"},{type:"ColorInput",field:"borderColor"},{type:"input",field:"borderWidth"}])}},uw="\u8868\u683C\u8868\u5355",jd="tableForm",fw={menu:"subform",icon:"icon-table-form",label:uw,name:jd,input:!0,mask:!1,subForm:"array",languageKey:["add","operation","dataEmpty"],event:["change","add","delete"],children:"tableFormColumn",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.columns||[];e.children=t.map(r=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:r.label,required:r.required||!1,width:r.style.width||"",color:r.style.color||""},children:r.rule||[]})),delete e.props.columns},parseRule(e){const t=e.children||[];e.props.columns=t.map(r=>({label:r.props.label,required:r.props.required,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})),e.children=[]},sfc:!1,rule({t:e}){return{type:jd,field:He(),title:e("com.tableForm.name"),info:"",props:{},children:[]}},props(e,{t}){return Re(t,jd+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"addable",value:!0},{type:"switch",field:"deletable",value:!0},{type:"switch",field:"filterEmptyColumn",value:!0},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}}])}},pw="\u8868\u683C\u8868\u5355Pro",hw="tableFormPro",Fp=e=>e.map(t=>{let r=t.children||[];const o=r.filter(i=>i._fc_drag_tag==="tableFormColumn2");return o.length>0&&(r=Fp(o)),{header:t.props.header,label:t.props.label,fixed:t.props.fixed,required:t.props.required,hidden:t.props.hidden,style:{width:t.props.width,color:t.props.color},[o.length?"children":"rule"]:r}}),Ip=e=>e.map(t=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn2",props:{header:t.header,label:t.label,fixed:t.fixed,required:t.required||!1,hidden:t.hidden||!1,width:t.style.width||"",color:t.style.color||""},children:t.children?Ip(t.children):t.rule||[]})),mw={menu:"subform",icon:"icon-table-form",label:pw,name:hw,input:!0,mask:!1,subForm:"array",languageKey:["add","delete","operation","dataEmpty"],event:["change","add","delete","handleClick"],children:"tableFormColumn2",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={}),e.children=Ip(e.props.columns||[]),delete e.props.columns},parseRule(e){e.props.columns=Fp(e.children||[]),e.children=[]},sfc:!1,rule({t:e}){return{type:"tableFormPro",field:He(),title:e("com.tableFormPro.name"),info:"",props:{button:{open:!0,column:[{key:"delete",name:"\u5220\u9664",type:"danger",size:"small",prop:["link"]}]}},children:[]}},props(e,{t}){const r=function(o){return Re(t,"tableForm.props",o)};return Re(t,"tableForm.props",[{type:"ConfigItem",props:{label:t("com.dataTable.props.button")},col:{show:!0},children:[{type:"HideConfig",title:t("com.dataTable.props.button"),wrap:{show:!1},col:{show:!1},field:"button>open"},{type:"template",slot:"append",children:r([{type:"TableButtonConfig",col:{show:!1},field:"button>column"},{type:"input",col:{show:!1},field:"button>label",value:"\u64CD\u4F5C"},{type:"select",col:{show:!1},field:"button>fixed",options:[{label:t("com.dataTable.fixed.default"),value:!1},{label:t("com.dataTable.fixed.left"),value:"left"},{label:t("com.dataTable.fixed.right"),value:"right"}],value:"right"},{type:"SizeInput",col:{show:!1},field:"button>width",value:"100px"}])}]},{type:"ConfigItem",props:{label:t("com.dataTable.props.page")},col:{show:!0},children:[{type:"HideConfig",wrap:{show:!1},col:{show:!1},title:t("com.dataTable.props.page"),field:"page>open"},{type:"template",slot:"append",children:r([{type:"inputNumber",col:{show:!1},field:"page>props>pageSize",value:20},{type:"switch",col:{show:!1},field:"page>props>small"},{type:"switch",col:{show:!1},field:"page>props>background"}])}]},{type:"switch",field:"disabled"},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"input",field:"emptyText"},{type:"switch",field:"stripe"},{type:"switch",field:"border"},{type:"switch",field:"showIndex"},{type:"switch",field:"addable",value:!0},{type:"switch",field:"deletable",value:!0},{type:"switch",field:"newColumn"},{type:"switch",field:"filterEmptyColumn",value:!0},{type:"SizeInput",field:"height"},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}}])}},gw="\u65E0\u9650\u7EA7\u8868\u5355",Ya="infiniteTableForm",vw={menu:"subform",icon:"icon-table-form3",label:gw,name:Ya,input:!0,mask:!1,subForm:"array",languageKey:["add","operation"],event:["change","add","delete"],children:"tableFormColumn",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.columns||[];e.children=t.map(r=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:r.label,required:r.required||!1,width:r.style.width||"",color:r.style.color||""},children:r.rule||[]})),delete e.props.columns},parseRule(e){const t=e.children||[];e.props.columns=t.map(r=>({label:r.props.label,required:r.props.required,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})),e.children=[]},sfc:!1,rule({t:e}){return{type:Ya,field:He(),title:e("com."+Ya+".name"),info:"",props:{},children:[]}},props(e,{t}){return Re(t,Ya+".props",[{type:"switch",field:"disabled"},{type:"input",field:"childrenField",value:"children"},{type:"inputNumber",field:"max",props:{min:0}},{type:"inputNumber",field:"layerMax",props:{min:0}}])}},yw="\u5D4C\u5957\u8868\u5355",Qa="nestedTableForm",bw=e=>e.map(t=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:t.label,required:t.required||!1,width:t.style.width||"",color:t.style.color||""},children:t.rule||[]})),ww={menu:"subform",icon:"icon-table-form2",label:yw,name:Qa,input:!0,mask:!1,subForm:"array",languageKey:["add","operation"],event:["change","add","delete"],slot:["default",{name:"nested",type:"nestedSubTableForm"}],children:"tableFormColumn",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.columns||[],r=e.props.nested||[];e.children=bw(t),e.children.push({type:"TableForm",_fc_drag_tag:"nestedSubTableForm",field:e.props.nestedField,props:{columns:r},slot:"nested"}),delete e.props.nestedField,delete e.props.columns,delete e.props.nested},parseRule(e){const t=e.children||[];e.props.columns=[],t.forEach(r=>{if(r.slot==="nested"){e.props.nested=r.props.columns,e.props.nestedField=r.field;return}e.props.columns.push({label:r.props.label,required:r.props.required,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})}),e.children=[]},sfc:!1,rule({t:e}){return{type:Qa,field:He(),title:e("com."+Qa+".name"),info:"",props:{},children:[]}},props(e,{t}){return Re(t,Qa+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"max",props:{min:0}},{type:"inputNumber",field:"nestedMax",props:{min:0}}])}},Cw={icon:"icon-table-form",label:"\u5B50\u8868\u683C\u8868\u5355",name:"nestedSubTableForm",aide:!0,mask:!1,validate:!1,style:!1,advanced:!1,variable:!1,subForm:"array",hiddenBaseField:["title","info","labelConfig","formCreate_computed>hidden","formCreate_computed>value","_control"],children:"tableFormColumn",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.columns||[];e.children=t.map(r=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:r.label,required:r.required||!1,width:r.style.width||"",color:r.style.color||""},children:r.rule||[]})),delete e.props.columns},parseRule(e){const t=e.children||[];e.props.columns=t.map(r=>({label:r.props.label,required:r.props.required,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})),e.children=[]},rule(){return{type:"TableForm",field:He(),title:"",info:"",props:{},children:[]}},props(){return[]}},zd="tableFormColumn",_w={icon:"icon-cell",name:zd,aide:!0,drag:!0,dragBtn:!1,mask:!1,style:!1,advanced:!1,variable:!1,rule({t:e}){return{type:zd,props:{label:e("com.tableFormColumn.label"),width:"auto"},children:[]}},props(e,{t}){return Re(t,zd+".props",[{type:"input",field:"label"},{type:"switch",field:"required"},{type:"input",field:"width"},{type:"ColorInput",field:"color"}])}},Pp="tableFormColumn2",Ew={icon:"icon-cell",name:Pp,aide:!0,drag:!0,dragBtn:!1,mask:!1,style:!1,advanced:!1,variable:!1,children:"tableFormColumn2",childrenLen:0,checkDrag({toRule:e}){return!(e.children[0].children.length>0&&e.children[0].children.some(t=>t._config.name==="tableFormColumn2"))},rule({t:e}){return{type:Pp,props:{label:e("com.tableFormColumn.label"),width:"auto"},children:[]}},props(e,{t}){return Re(t,"tableFormColumn.props",[{type:"input",field:"label"},{type:"select",field:"fixed",options:[!1,"left","right"].map(r=>({label:t("com.dataTable.fixed."+(r||"default")),value:r}))},{type:"switch",field:"required"},{type:"switch",field:"hidden"},{type:"input",field:"width"},{type:"ColorInput",field:"color"}])}},Aw={icon:"icon-flex",label:"\u76D2\u5B50\u5E03\u5C40",name:"fcFlex",mask:!1,children:"fcCell",childrenLen:2,subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("style.width"),vnode:t(r("SizeInput"),{size:"small",modelValue:o.style&&o.style.width||"","onUpdate:modelValue":i=>{o.style||(o.style={}),o.style.width=i}})},{label:e("style.height"),vnode:t(r("SizeInput"),{size:"small",modelValue:o.style&&o.style.height||"auto","onUpdate:modelValue":i=>{o.style||(o.style={}),o.style.height=i}})}]},sfc(e){e.type="elRow"},rule(){return{type:"fcRow",props:{},children:[]}},props(){return[]}},Mp="fcCell",Sw={name:Mp,label:"\u683C\u5B50",drag:!0,dragBtn:!1,inside:!0,inline:!0,mask:!1,sfc(e){e.type="div"},rule(){return{type:Mp,style:{display:"block",width:"50%",height:"100px"},children:[]}},props(e,{t}){return[{type:"SizeInput",field:"formCreateStyle>width",title:t("style.width")}]}},xw="\u8BA1\u7B97\u516C\u5F0F",Lp="fcValue",kw={menu:"main",icon:"icon-value",label:xw,name:Lp,input:!0,event:["change"],validate:!1,sfc(e,{getParentFieldStr:t}){e.type="div",e._sfc.content=`{{formData.${t()}${e.field}}}`,e._sfc.vModel=!1},rule({t:e}){return{type:Lp,field:He(),title:e("com.fcValue.name"),info:"",props:{}}},props(){return[]}},Nw="\u94FE\u63A5",Ud="elLink",Tw={menu:"aide",icon:"icon-link",label:Nw,name:Ud,inline:!0,easySlots:[{value:"icon",type:"icon"}],rule({t:e}){return{type:Ud,title:"",children:[e("com.elLink.name")]}},props(e,{t}){return Re(t,Ud+".props",[{type:"input",field:"href"},{type:"input",field:"formCreateChild"},{type:"select",field:"target",options:it(t,[{label:"_self",value:"_self"},{label:"_blank",value:"_blank"},{label:"_parent",value:"_parent"},{label:"_top",value:"_top"}])},{type:"switch",field:"underline",value:!0},{type:"switch",field:"disabled"},{type:"select",field:"type",options:it(t,[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"},{label:"default",value:"default"}])}])}},Dw="\u6587\u5B57\u63D0\u793A",Ja="elTooltip",Vw={menu:"aide",icon:"icon-tooltip",label:Dw,name:Ja,drag:!0,dragBtn:!0,inside:!1,mask:!1,rule({t:e}){return{type:Ja,props:{content:e("com."+Ja+".name")},children:[]}},props(e,{t}){return Re(t,Ja+".props",[{type:"input",field:"content",props:{type:"textarea"}},{type:"switch",field:"disabled"},{type:"switch",field:"rawContent"},{type:"switch",field:"enterable",value:!0},{type:"select",field:"effect",value:"dark",options:[{label:"dark",value:"dark"},{label:"light",value:"light"}]},{type:"select",field:"placement",value:"bottom",options:[{label:"top",value:"top"},{label:"top-start",value:"top-start"},{label:"top-end",value:"top-end"},{label:"bottom",value:"bottom"},{label:"bottom-start",value:"bottom-start"},{label:"bottom-end",value:"bottom-end"},{label:"left",value:"left"},{label:"left-start",value:"left-start"},{label:"left-end",value:"left-end"},{label:"right",value:"right"},{label:"right-start",value:"right-start"},{label:"right-end",value:"right-end"}]},{type:"select",field:"trigger",value:"hover",options:[{label:"hover",value:"hover"},{label:"click",value:"click"},{label:"focus",value:"focus"},{label:"contextmenu",value:"contextmenu"}]},{type:"inputNumber",field:"offset"},{type:"inputNumber",field:"showAfter",props:{min:0}},{type:"inputNumber",field:"hideAfter",props:{min:0}},{type:"inputNumber",field:"autoClose",props:{min:0}}])}},Ow="\u6C34\u5370",Xa="elWatermark",Bw={menu:"aide",icon:"icon-watermark",label:Ow,name:Xa,drag:!0,dragBtn:!0,inside:!1,mask:!1,rule({t:e}){return{type:Xa,style:{width:"100%"},props:{content:e("com."+Xa+".name")},children:[]}},props(e,{t}){return Re(t,Xa+".props",[{type:"input",field:"content"},{type:"input",field:"image"},{type:"inputNumber",field:"width",props:{min:0},value:120},{type:"inputNumber",field:"height",props:{min:0},value:64},{type:"inputNumber",field:"rotate",value:-22},{type:"inputNumber",field:"zIndex",props:{min:0}},{type:"TableOptions",field:"gap",props:{column:[{label:t("props.value"),key:"value"}],valueType:"string",max:2},value:[100,100]}])}},Rw={menu:"template",name:"chineseAmount",label:"\u91D1\u989D",autoField:!0,template:[{type:"inputNumber",field:"Fgtxlugfgbdvb5c",title:"\u91D1\u989D",info:"",$required:!1,display:!0,hidden:!1,_fc_drag_tag:"inputNumber"},{type:"fcValue",field:"Fvr1lugfgd3yb7c",title:" ",info:"",display:!0,hidden:!1,_fc_drag_tag:"fcValue",style:{color:"#999999"},computed:{value:'"\u5927\u5199: " + TOCHINSESAMOUNT(Fgtxlugfgbdvb5c || 0)'}}]},$w={menu:"template",name:"duration",label:"\u65F6\u957F",autoField:!0,template:[{type:"fcInlineForm",_fc_id:"id_Founm50iu5kocac",name:"ref_Fqrpm50iu5kocbc",display:!0,hidden:!1,_fc_drag_tag:"fcInlineForm",children:[{type:"datePicker",field:"Fz0um50itwf6bbc",title:"\u5F00\u59CB\u65F6\u95F4",$required:!1,_fc_drag_tag:"datePicker",validate:[{type:"validator",trigger:"change",validator:`[[FORM-CREATE-PREFIX-function validator(rule, value, callback){this.api.validateField('Fv92m50itwf6bdc'); +}`,handle(e){const t=(e.children||[]).reduce((m,y)=>(m[y.slot]||(m[y.slot]=[]),m[y.slot].push(y),delete y.slot,m),{}),{row:r,col:o,style:i,class:l,layout:d}=e.props.rule,c={},u=[];d.forEach(m=>{const y=m.row||1,C=m.col||1,S=`${m.top}:${m.left}`;c[S]={row:y,col:C};for(let w=0;w -1)continue;const w=t[S];y.push({type:"td",props:{rowspan:""+(c[S]?c[S].row:1),colspan:""+(c[S]?c[S].col:1)},style:i[S],class:l[S],children:w})}h.push({type:"tr",children:y})}return{type:"elCol",props:{span:24},style:e.style,class:e.class,children:[{type:"div",class:"_fc-table",children:[{type:"table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:h}]}]}}},rule(){return{type:Ld,props:{rule:{row:3,col:4,style:{},class:{},layout:[]}},children:[]}},props(e,{t}){return Be(t,Ld+".props",[{type:"switch",field:"border",value:!0},{type:"switch",field:"mini"},{type:"ColorInput",field:"borderColor"},{type:"input",field:"borderWidth"}])}},uw="\u8868\u683C\u8868\u5355",jd="tableForm",fw={menu:"subform",icon:"icon-table-form",label:uw,name:jd,input:!0,mask:!1,subForm:"array",languageKey:["add","operation","dataEmpty"],event:["change","add","delete"],children:"tableFormColumn",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.columns||[];e.children=t.map(r=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:r.label,required:r.required||!1,width:r.style.width||"",color:r.style.color||""},children:r.rule||[]})),delete e.props.columns},parseRule(e){const t=e.children||[];e.props.columns=t.map(r=>({label:r.props.label,required:r.props.required,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})),e.children=[]},sfc:!1,rule({t:e}){return{type:jd,field:We(),title:e("com.tableForm.name"),info:"",props:{},children:[]}},props(e,{t}){return Be(t,jd+".props",[{type:"switch",field:"disabled"},{type:"switch",field:"addable",value:!0},{type:"switch",field:"deletable",value:!0},{type:"switch",field:"filterEmptyColumn",value:!0},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}}])}},pw="\u8868\u683C\u8868\u5355Pro",hw="tableFormPro",Ip=e=>e.map(t=>{let r=t.children||[];const o=r.filter(i=>i._fc_drag_tag==="tableFormColumn2");return o.length>0&&(r=Ip(o)),{header:t.props.header,label:t.props.label,fixed:t.props.fixed,required:t.props.required,hidden:t.props.hidden,style:{width:t.props.width,color:t.props.color},[o.length?"children":"rule"]:r}}),Fp=e=>e.map(t=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn2",props:{header:t.header,label:t.label,fixed:t.fixed,required:t.required||!1,hidden:t.hidden||!1,width:t.style.width||"",color:t.style.color||""},children:t.children?Fp(t.children):t.rule||[]})),mw={menu:"subform",icon:"icon-table-form",label:pw,name:hw,input:!0,mask:!1,subForm:"array",languageKey:["add","delete","operation","dataEmpty"],event:["change","add","delete","handleClick"],children:"tableFormColumn2",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={}),e.children=Fp(e.props.columns||[]),delete e.props.columns},parseRule(e){e.props.columns=Ip(e.children||[]),e.children=[]},sfc:!1,rule({t:e}){return{type:"tableFormPro",field:We(),title:e("com.tableFormPro.name"),info:"",props:{button:{open:!0,column:[{key:"delete",name:"\u5220\u9664",type:"danger",size:"small",prop:["link"]}]}},children:[]}},props(e,{t}){const r=function(o){return Be(t,"tableForm.props",o)};return Be(t,"tableForm.props",[{type:"ConfigItem",props:{label:t("com.dataTable.props.button")},col:{show:!0},children:[{type:"HideConfig",title:t("com.dataTable.props.button"),wrap:{show:!1},col:{show:!1},field:"button>open"},{type:"template",slot:"append",children:r([{type:"TableButtonConfig",col:{show:!1},field:"button>column"},{type:"input",col:{show:!1},field:"button>label",value:"\u64CD\u4F5C"},{type:"select",col:{show:!1},field:"button>fixed",options:[{label:t("com.dataTable.fixed.default"),value:!1},{label:t("com.dataTable.fixed.left"),value:"left"},{label:t("com.dataTable.fixed.right"),value:"right"}],value:"right"},{type:"SizeInput",col:{show:!1},field:"button>width",value:"100px"}])}]},{type:"ConfigItem",props:{label:t("com.dataTable.props.page")},col:{show:!0},children:[{type:"HideConfig",wrap:{show:!1},col:{show:!1},title:t("com.dataTable.props.page"),field:"page>open"},{type:"template",slot:"append",children:r([{type:"inputNumber",col:{show:!1},field:"page>props>pageSize",value:20},{type:"switch",col:{show:!1},field:"page>props>small"},{type:"switch",col:{show:!1},field:"page>props>background"}])}]},{type:"switch",field:"disabled"},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"input",field:"emptyText"},{type:"switch",field:"stripe"},{type:"switch",field:"border"},{type:"switch",field:"showIndex"},{type:"switch",field:"addable",value:!0},{type:"switch",field:"deletable",value:!0},{type:"switch",field:"newColumn"},{type:"switch",field:"filterEmptyColumn",value:!0},{type:"SizeInput",field:"height"},{type:"inputNumber",field:"min",props:{min:0}},{type:"inputNumber",field:"max",props:{min:0}}])}},gw="\u65E0\u9650\u7EA7\u8868\u5355",Ya="infiniteTableForm",vw={menu:"subform",icon:"icon-table-form3",label:gw,name:Ya,input:!0,mask:!1,subForm:"array",languageKey:["add","operation"],event:["change","add","delete"],children:"tableFormColumn",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.columns||[];e.children=t.map(r=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:r.label,required:r.required||!1,width:r.style.width||"",color:r.style.color||""},children:r.rule||[]})),delete e.props.columns},parseRule(e){const t=e.children||[];e.props.columns=t.map(r=>({label:r.props.label,required:r.props.required,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})),e.children=[]},sfc:!1,rule({t:e}){return{type:Ya,field:We(),title:e("com."+Ya+".name"),info:"",props:{},children:[]}},props(e,{t}){return Be(t,Ya+".props",[{type:"switch",field:"disabled"},{type:"input",field:"childrenField",value:"children"},{type:"inputNumber",field:"max",props:{min:0}},{type:"inputNumber",field:"layerMax",props:{min:0}}])}},yw="\u5D4C\u5957\u8868\u5355",Qa="nestedTableForm",bw=e=>e.map(t=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:t.label,required:t.required||!1,width:t.style.width||"",color:t.style.color||""},children:t.rule||[]})),ww={menu:"subform",icon:"icon-table-form2",label:yw,name:Qa,input:!0,mask:!1,subForm:"array",languageKey:["add","operation"],event:["change","add","delete"],slot:["default",{name:"nested",type:"nestedSubTableForm"}],children:"tableFormColumn",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.columns||[],r=e.props.nested||[];e.children=bw(t),e.children.push({type:"TableForm",_fc_drag_tag:"nestedSubTableForm",field:e.props.nestedField,props:{columns:r},slot:"nested"}),delete e.props.nestedField,delete e.props.columns,delete e.props.nested},parseRule(e){const t=e.children||[];e.props.columns=[],t.forEach(r=>{if(r.slot==="nested"){e.props.nested=r.props.columns,e.props.nestedField=r.field;return}e.props.columns.push({label:r.props.label,required:r.props.required,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})}),e.children=[]},sfc:!1,rule({t:e}){return{type:Qa,field:We(),title:e("com."+Qa+".name"),info:"",props:{},children:[]}},props(e,{t}){return Be(t,Qa+".props",[{type:"switch",field:"disabled"},{type:"inputNumber",field:"max",props:{min:0}},{type:"inputNumber",field:"nestedMax",props:{min:0}}])}},Cw={icon:"icon-table-form",label:"\u5B50\u8868\u683C\u8868\u5355",name:"nestedSubTableForm",aide:!0,mask:!1,validate:!1,style:!1,advanced:!1,variable:!1,subForm:"array",hiddenBaseField:["title","info","labelConfig","formCreate_computed>hidden","formCreate_computed>value","_control"],children:"tableFormColumn",subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("props.title"),vnode:t(r("el-input"),{size:"small",modelValue:o.props.label,"onUpdate:modelValue":i=>{o.props.label=i}})}]},loadRule(e){e.props||(e.props={});const t=e.props.columns||[];e.children=t.map(r=>({type:"tableFormColumn",_fc_drag_tag:"tableFormColumn",props:{label:r.label,required:r.required||!1,width:r.style.width||"",color:r.style.color||""},children:r.rule||[]})),delete e.props.columns},parseRule(e){const t=e.children||[];e.props.columns=t.map(r=>({label:r.props.label,required:r.props.required,style:{width:r.props.width,color:r.props.color},rule:r.children||[]})),e.children=[]},rule(){return{type:"TableForm",field:We(),title:"",info:"",props:{},children:[]}},props(){return[]}},zd="tableFormColumn",_w={icon:"icon-cell",name:zd,aide:!0,drag:!0,dragBtn:!1,mask:!1,style:!1,advanced:!1,variable:!1,rule({t:e}){return{type:zd,props:{label:e("com.tableFormColumn.label"),width:"auto"},children:[]}},props(e,{t}){return Be(t,zd+".props",[{type:"input",field:"label"},{type:"switch",field:"required"},{type:"input",field:"width"},{type:"ColorInput",field:"color"}])}},Pp="tableFormColumn2",Ew={icon:"icon-cell",name:Pp,aide:!0,drag:!0,dragBtn:!1,mask:!1,style:!1,advanced:!1,variable:!1,children:"tableFormColumn2",childrenLen:0,checkDrag({toRule:e}){return!(e.children[0].children.length>0&&e.children[0].children.some(t=>t._config.name==="tableFormColumn2"))},rule({t:e}){return{type:Pp,props:{label:e("com.tableFormColumn.label"),width:"auto"},children:[]}},props(e,{t}){return Be(t,"tableFormColumn.props",[{type:"input",field:"label"},{type:"select",field:"fixed",options:[!1,"left","right"].map(r=>({label:t("com.dataTable.fixed."+(r||"default")),value:r}))},{type:"switch",field:"required"},{type:"switch",field:"hidden"},{type:"input",field:"width"},{type:"ColorInput",field:"color"}])}},Aw={icon:"icon-flex",label:"\u76D2\u5B50\u5E03\u5C40",name:"fcFlex",mask:!1,children:"fcCell",childrenLen:2,subRender({t:e,h:t,resolveComponent:r,subRule:o}){return[{label:e("style.width"),vnode:t(r("SizeInput"),{size:"small",modelValue:o.style&&o.style.width||"","onUpdate:modelValue":i=>{o.style||(o.style={}),o.style.width=i}})},{label:e("style.height"),vnode:t(r("SizeInput"),{size:"small",modelValue:o.style&&o.style.height||"auto","onUpdate:modelValue":i=>{o.style||(o.style={}),o.style.height=i}})}]},sfc(e){e.type="elRow"},rule(){return{type:"fcRow",props:{},children:[]}},props(){return[]}},Mp="fcCell",Sw={name:Mp,label:"\u683C\u5B50",drag:!0,dragBtn:!1,inside:!0,inline:!0,mask:!1,sfc(e){e.type="div"},rule(){return{type:Mp,style:{display:"block",width:"50%",height:"100px"},children:[]}},props(e,{t}){return[{type:"SizeInput",field:"formCreateStyle>width",title:t("style.width")}]}},xw="\u8BA1\u7B97\u516C\u5F0F",Lp="fcValue",kw={menu:"main",icon:"icon-value",label:xw,name:Lp,input:!0,event:["change"],validate:!1,sfc(e,{getParentFieldStr:t}){e.type="div",e._sfc.content=`{{formData.${t()}${e.field}}}`,e._sfc.vModel=!1},rule({t:e}){return{type:Lp,field:We(),title:e("com.fcValue.name"),info:"",props:{}}},props(){return[]}},Nw="\u94FE\u63A5",Ud="elLink",Tw={menu:"aide",icon:"icon-link",label:Nw,name:Ud,inline:!0,easySlots:[{value:"icon",type:"icon"}],rule({t:e}){return{type:Ud,title:"",children:[e("com.elLink.name")]}},props(e,{t}){return Be(t,Ud+".props",[{type:"input",field:"href"},{type:"input",field:"formCreateChild"},{type:"select",field:"target",options:it(t,[{label:"_self",value:"_self"},{label:"_blank",value:"_blank"},{label:"_parent",value:"_parent"},{label:"_top",value:"_top"}])},{type:"switch",field:"underline",value:!0},{type:"switch",field:"disabled"},{type:"select",field:"type",options:it(t,[{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"info",value:"info"},{label:"default",value:"default"}])}])}},Dw="\u6587\u5B57\u63D0\u793A",Ja="elTooltip",Vw={menu:"aide",icon:"icon-tooltip",label:Dw,name:Ja,drag:!0,dragBtn:!0,inside:!1,mask:!1,rule({t:e}){return{type:Ja,props:{content:e("com."+Ja+".name")},children:[]}},props(e,{t}){return Be(t,Ja+".props",[{type:"input",field:"content",props:{type:"textarea"}},{type:"switch",field:"disabled"},{type:"switch",field:"rawContent"},{type:"switch",field:"enterable",value:!0},{type:"select",field:"effect",value:"dark",options:[{label:"dark",value:"dark"},{label:"light",value:"light"}]},{type:"select",field:"placement",value:"bottom",options:[{label:"top",value:"top"},{label:"top-start",value:"top-start"},{label:"top-end",value:"top-end"},{label:"bottom",value:"bottom"},{label:"bottom-start",value:"bottom-start"},{label:"bottom-end",value:"bottom-end"},{label:"left",value:"left"},{label:"left-start",value:"left-start"},{label:"left-end",value:"left-end"},{label:"right",value:"right"},{label:"right-start",value:"right-start"},{label:"right-end",value:"right-end"}]},{type:"select",field:"trigger",value:"hover",options:[{label:"hover",value:"hover"},{label:"click",value:"click"},{label:"focus",value:"focus"},{label:"contextmenu",value:"contextmenu"}]},{type:"inputNumber",field:"offset"},{type:"inputNumber",field:"showAfter",props:{min:0}},{type:"inputNumber",field:"hideAfter",props:{min:0}},{type:"inputNumber",field:"autoClose",props:{min:0}}])}},Ow="\u6C34\u5370",Xa="elWatermark",Bw={menu:"aide",icon:"icon-watermark",label:Ow,name:Xa,drag:!0,dragBtn:!0,inside:!1,mask:!1,rule({t:e}){return{type:Xa,style:{width:"100%"},props:{content:e("com."+Xa+".name")},children:[]}},props(e,{t}){return Be(t,Xa+".props",[{type:"input",field:"content"},{type:"input",field:"image"},{type:"inputNumber",field:"width",props:{min:0},value:120},{type:"inputNumber",field:"height",props:{min:0},value:64},{type:"inputNumber",field:"rotate",value:-22},{type:"inputNumber",field:"zIndex",props:{min:0}},{type:"TableOptions",field:"gap",props:{column:[{label:t("props.value"),key:"value"}],valueType:"string",max:2},value:[100,100]}])}},Rw={menu:"template",name:"chineseAmount",label:"\u91D1\u989D",autoField:!0,template:[{type:"inputNumber",field:"Fgtxlugfgbdvb5c",title:"\u91D1\u989D",info:"",$required:!1,display:!0,hidden:!1,_fc_drag_tag:"inputNumber"},{type:"fcValue",field:"Fvr1lugfgd3yb7c",title:" ",info:"",display:!0,hidden:!1,_fc_drag_tag:"fcValue",style:{color:"#999999"},computed:{value:'"\u5927\u5199: " + TOCHINSESAMOUNT(Fgtxlugfgbdvb5c || 0)'}}]},$w={menu:"template",name:"duration",label:"\u65F6\u957F",autoField:!0,template:[{type:"fcInlineForm",_fc_id:"id_Founm50iu5kocac",name:"ref_Fqrpm50iu5kocbc",display:!0,hidden:!1,_fc_drag_tag:"fcInlineForm",children:[{type:"datePicker",field:"Fz0um50itwf6bbc",title:"\u5F00\u59CB\u65F6\u95F4",$required:!1,_fc_drag_tag:"datePicker",validate:[{type:"validator",trigger:"change",validator:`[[FORM-CREATE-PREFIX-function validator(rule, value, callback){this.api.validateField('Fv92m50itwf6bdc'); callback();}-FORM-CREATE-SUFFIX]]`,mode:"validator",message:""}],_fc_template:"duration",_fc_id:"id_Fhqtm50itwf6bgc",name:"ref_Fzsym50itwf6bhc",display:!0,hidden:!1},{type:"select",field:"F730m50itwf6bcc",title:"\u5F00\u59CB\u65F6\u95F4\u6BB5",effect:{fetch:""},$required:!1,options:[{label:"\u4E0A\u5348",value:"1"},{label:"\u4E0B\u5348",value:"1.5"}],_fc_drag_tag:"select",_fc_template:"duration",_fc_id:"id_Fnj8m50itwf6bkc",name:"ref_Fyjym50itwf6blc",display:!0,hidden:!1,wrap:{title:!1},style:{marginLeft:"10px",width:"150px"}}]},{type:"fcInlineForm",_fc_id:"id_Fxbnm50iw4ttccc",name:"ref_Fhwmm50iw4ttcdc",display:!0,hidden:!1,_fc_drag_tag:"fcInlineForm",children:[{type:"datePicker",field:"Fv92m50itwf6bdc",title:"\u7ED3\u675F\u65F6\u95F4",$required:!1,_fc_drag_tag:"datePicker",validate:[{type:"validator",trigger:"change",validator:`[[FORM-CREATE-PREFIX-function validator(rule, value, callback){let startTime = this.api.getValue('Fz0um50itwf6bbc'); if(startTime && value && Date.parse(startTime) > Date.parse(value)) { callback(false); return; } -callback()}-FORM-CREATE-SUFFIX]]`,mode:"min",message:"\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u7ED3\u675F\u65F6\u95F4"}],_fc_template:"duration",_fc_id:"id_Fu8im50itwf6bqc",name:"ref_Fy17m50itwf6brc",display:!0,hidden:!1},{type:"select",field:"Fx9gm50itwf6bec",title:"\u7ED3\u675F\u65F6\u95F4\u6BB5",effect:{fetch:""},$required:!1,options:[{label:"\u4E0A\u5348",value:"1"},{label:"\u4E0B\u5348",value:"1.5"}],_fc_drag_tag:"select",_fc_template:"duration",_fc_id:"id_Fxrxm50itwf6buc",name:"ref_Fehcm50itwf6bvc",display:!0,hidden:!1,wrap:{title:!1},style:{marginLeft:"10px",width:"150px"}}]},{type:"fcInlineForm",_fc_id:"id_Ffb0m50j0g8vcec",name:"ref_Ftpym50j0g8vcfc",display:!0,hidden:!1,_fc_drag_tag:"fcInlineForm",children:[{type:"inputNumber",field:"F5q8m50itwf6bfc",title:"\u65F6\u957F",$required:!1,props:{controls:!1},_fc_drag_tag:"inputNumber",_fc_template:"duration",_fc_id:"id_Fo5cm50itwf7c0c",name:"ref_Fnnvm50itwf7c1c",display:!0,hidden:!1,computed:{value:"MAX(IF(Fz0um50itwf6bbc && Fv92m50itwf6bdc && TIMESTAMP(Fv92m50itwf6bdc) > TIMESTAMP(Fz0um50itwf6bbc), DIFFDAYS(Fz0um50itwf6bbc, Fv92m50itwf6bdc), 0) + IF(Fx9gm50itwf6bec && F730m50itwf6bcc, Fx9gm50itwf6bec - F730m50itwf6bcc + 0.5, 0), 0);"}},{type:"div",native:!0,children:["\u5929"],_fc_drag_tag:"text",_fc_template:"duration",_fc_id:"id_Fatsm50itwf7c4c",name:"ref_Fh2rm50itwf7c5c",display:!0,hidden:!1,style:{marginTop:"5px",marginLeft:"10px"}}],style:{alignItems:"flex-start"}}]},Fw={menu:"template",name:"col3",label:"\u4E09\u5217\u6805\u683C",autoField:!1,template:[{type:"fcRow",children:[{type:"col",props:{span:8},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:8},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:8},display:!0,hidden:!1,_fc_drag_tag:"col"}],display:!0,hidden:!1,_fc_drag_tag:"fcRow"}]},Iw={menu:"template",name:"col4",label:"\u56DB\u5217\u6805\u683C",autoField:!1,template:[{type:"fcRow",children:[{type:"col",props:{span:6},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:6},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:6},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:6},display:!0,hidden:!1,_fc_drag_tag:"col"}],display:!0,hidden:!1,_fc_drag_tag:"fcRow"}]},Pw={menu:"template",name:"table43",label:"\u56DB\u884C\u4E09\u5217\u8868\u683C",autoField:!1,template:[{type:"fcTable",props:{rule:{row:4,col:3,style:{},class:{},layout:[]}},display:!0,hidden:!1,_fc_drag_tag:"fcTable"}]},Mw="\u6570\u636E\u8868\u683C",Za="dataTable",Lw=()=>{const e=[];for(let t=0;t<30;t++)e.push({date:"2016-05-12",name:"Tom "+(10+t),state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036"});return e},jw=e=>{if(e.format==="tag")return{type:"elTag",props:{disableTransitions:!0},_sfc:{content:`{{scope.row.${e.prop}}}`}};if(e.format==="image")return{type:"div",class:"_fc-data-table-img-list",children:[{type:"template",children:[{type:"el-image",props:{previewTeleported:!0,fit:"cover"},_sfc:{attr:{":initialIndex":"i",":src":"src",":previewSrcList":`Array.isArray(scope.row.${e.prop}) ? scope.row.${e.prop} : [scope.row.${e.prop}]`}}}],_sfc:{attr:{"v-for":`(src, i) in Array.isArray(scope.row.${e.prop}) ? scope.row.${e.prop} : [scope.row.${e.prop}]`}}}]}},zw={menu:"main",icon:"icon-data-table",label:Mw,name:Za,languageKey:["operation"],event:["cellMouseEnter","cellMouseLeave","handleClick","rowClick","rowDblclick","headerClick","filterChange","expandChange","sortChange","selectionChange"],sfc:{style:`._fc-data-table { +callback()}-FORM-CREATE-SUFFIX]]`,mode:"min",message:"\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u7ED3\u675F\u65F6\u95F4"}],_fc_template:"duration",_fc_id:"id_Fu8im50itwf6bqc",name:"ref_Fy17m50itwf6brc",display:!0,hidden:!1},{type:"select",field:"Fx9gm50itwf6bec",title:"\u7ED3\u675F\u65F6\u95F4\u6BB5",effect:{fetch:""},$required:!1,options:[{label:"\u4E0A\u5348",value:"1"},{label:"\u4E0B\u5348",value:"1.5"}],_fc_drag_tag:"select",_fc_template:"duration",_fc_id:"id_Fxrxm50itwf6buc",name:"ref_Fehcm50itwf6bvc",display:!0,hidden:!1,wrap:{title:!1},style:{marginLeft:"10px",width:"150px"}}]},{type:"fcInlineForm",_fc_id:"id_Ffb0m50j0g8vcec",name:"ref_Ftpym50j0g8vcfc",display:!0,hidden:!1,_fc_drag_tag:"fcInlineForm",children:[{type:"inputNumber",field:"F5q8m50itwf6bfc",title:"\u65F6\u957F",$required:!1,props:{controls:!1},_fc_drag_tag:"inputNumber",_fc_template:"duration",_fc_id:"id_Fo5cm50itwf7c0c",name:"ref_Fnnvm50itwf7c1c",display:!0,hidden:!1,computed:{value:"MAX(IF(Fz0um50itwf6bbc && Fv92m50itwf6bdc && TIMESTAMP(Fv92m50itwf6bdc) > TIMESTAMP(Fz0um50itwf6bbc), DIFFDAYS(Fz0um50itwf6bbc, Fv92m50itwf6bdc), 0) + IF(Fx9gm50itwf6bec && F730m50itwf6bcc, Fx9gm50itwf6bec - F730m50itwf6bcc + 0.5, 0), 0);"}},{type:"div",native:!0,children:["\u5929"],_fc_drag_tag:"text",_fc_template:"duration",_fc_id:"id_Fatsm50itwf7c4c",name:"ref_Fh2rm50itwf7c5c",display:!0,hidden:!1,style:{marginTop:"5px",marginLeft:"10px"}}],style:{alignItems:"flex-start"}}]},Iw={menu:"template",name:"col3",label:"\u4E09\u5217\u6805\u683C",autoField:!1,template:[{type:"fcRow",children:[{type:"col",props:{span:8},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:8},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:8},display:!0,hidden:!1,_fc_drag_tag:"col"}],display:!0,hidden:!1,_fc_drag_tag:"fcRow"}]},Fw={menu:"template",name:"col4",label:"\u56DB\u5217\u6805\u683C",autoField:!1,template:[{type:"fcRow",children:[{type:"col",props:{span:6},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:6},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:6},display:!0,hidden:!1,_fc_drag_tag:"col"},{type:"col",props:{span:6},display:!0,hidden:!1,_fc_drag_tag:"col"}],display:!0,hidden:!1,_fc_drag_tag:"fcRow"}]},Pw={menu:"template",name:"table43",label:"\u56DB\u884C\u4E09\u5217\u8868\u683C",autoField:!1,template:[{type:"fcTable",props:{rule:{row:4,col:3,style:{},class:{},layout:[]}},display:!0,hidden:!1,_fc_drag_tag:"fcTable"}]},Mw="\u6570\u636E\u8868\u683C",Za="dataTable",Lw=()=>{const e=[];for(let t=0;t<30;t++)e.push({date:"2016-05-12",name:"Tom "+(10+t),state:"California",city:"Los Angeles",address:"No. 189, Grove St, Los Angeles",zip:"CA 90036"});return e},jw=e=>{if(e.format==="tag")return{type:"elTag",props:{disableTransitions:!0},_sfc:{content:`{{scope.row.${e.prop}}}`}};if(e.format==="image")return{type:"div",class:"_fc-data-table-img-list",children:[{type:"template",children:[{type:"el-image",props:{previewTeleported:!0,fit:"cover"},_sfc:{attr:{":initialIndex":"i",":src":"src",":previewSrcList":`Array.isArray(scope.row.${e.prop}) ? scope.row.${e.prop} : [scope.row.${e.prop}]`}}}],_sfc:{attr:{"v-for":`(src, i) in Array.isArray(scope.row.${e.prop}) ? scope.row.${e.prop} : [scope.row.${e.prop}]`}}}]}},zw={menu:"main",icon:"icon-data-table",label:Mw,name:Za,languageKey:["operation"],event:["cellMouseEnter","cellMouseLeave","handleClick","rowClick","rowDblclick","headerClick","filterChange","expandChange","sortChange","selectionChange"],sfc:{style:`._fc-data-table { width: 100%; } ._fc-data-table .el-table { @@ -174,13 +174,13 @@ justify-content: flex-end; ._fc-data-table ._fc-data-table-img-list .el-image { max-width: 150px; height: 60px; -}`,handle(e){const{column:t,button:r,page:o,index:i,selection:l,data:d}=e.props,c=[];["column","button","index","globalDataKey","fetch","page"].forEach(h=>{delete e.props[h]}),t.forEach(h=>{const m=jw(h),y={type:"elTableColumn",props:{label:h.label,prop:h.prop,width:h.width,align:h.align,className:h.className,fixed:h.fixed,sortable:h.sortable},_sfc:{attr:{"#default":"scope"}}};m&&(y.children=[m]),c.push(y)}),r&&r.open===!0&&r.column&&c.push({type:"elTableColumn",props:{label:r.label||"\u64CD\u4F5C",fixed:r.fixed===void 0?"right":r.fixed,width:r.width||"100px"},_sfc:{attr:{"#default":"scope"}},children:r.column.map(h=>{const m=h.prop||[],y={type:"elButton",props:{type:h.type,size:h.size},_sfc:{content:h.name}};return m.forEach(C=>{y.props[C]=!0}),y})}),l&&c.unshift({type:"elTableColumn",props:{type:"selection",width:"50px"}}),i&&c.unshift({type:"elTableColumn",props:{type:"index",width:"50px"}});const u=[{type:"elTable",props:{data:[],...e.props},_fc_id:e._fc_id,children:c}];if(o&&o.open===!0){const h=o.props&&o.props.pageSize||20;o.props&&delete o.props.pageSize,u.push({type:"elPagination",class:o.position||"right",_fc_id:e._fc_id,props:{layout:"prev, pager, next",...o.props||{}},_sfc:{prop:{total:(d||[]).length,currentPage:1,pageSize:h}}})}return{type:"div",class:"_fc-data-table",children:u}}},rule(){return{type:Za,native:!0,props:{height:"500px",button:{},data:Lw(),column:[{format:"default",prop:"date",label:"Date",width:"150"},{format:"default",prop:"name",label:"Name",width:"120"},{format:"default",prop:"state",label:"State",width:"120"},{format:"default",prop:"city",label:"City",width:"320"},{format:"default",prop:"address",label:"Address",width:"600"},{format:"default",prop:"zip",label:"Zip",width:"120"}]}}},props(e,{t}){const r=function(i){return Re(t,Za+".props",i)},o=r([{type:"input",field:"page>totalField",value:"count"},{type:"input",field:"page>dataField",value:"list"},{type:"input",field:"page>orderField",value:"order"},{type:"input",field:"page>orderByField",value:"orderBy"},{type:"input",field:"page>pageField",value:"page"},{type:"input",field:"page>pageSizeField",value:"limit"}]);return Re(t,Za+".props",[{type:"radio",field:"_optionType",value:0,options:[{label:t("fetch.optionsType.struct"),value:0},{label:t("fetch.optionsType.fetch"),value:2},{label:t("fetch.optionsType.global"),value:1}],props:{type:"button"},control:[{value:1,rule:[{type:"GlobalFetchSelect",field:"globalDataKey"},...o]},{value:2,rule:[{type:"FetchConfig",field:"fetch"},...o]},{value:0,rule:[{type:"Struct",title:t("com.dataTable.props._optionType"),field:"data",_fc_important_prop:!0,props:{validate(i){return!i||Array.isArray(i)}}}]}]},{type:"TableColumnConfig",field:"column",_fc_important_prop:!0},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"ConfigItem",props:{label:t("com.dataTable.props.button")},col:{show:!0},children:[{type:"HideConfig",title:t("com.dataTable.props.button"),wrap:{show:!1},col:{show:!1},field:"button>open"},{type:"template",slot:"append",children:r([{type:"TableButtonConfig",col:{show:!1},field:"button>column"},{type:"input",col:{show:!1},field:"button>label",value:"\u64CD\u4F5C"},{type:"select",col:{show:!1},field:"button>fixed",options:[{label:t("com.dataTable.fixed.default"),value:!1},{label:t("com.dataTable.fixed.left"),value:"left"},{label:t("com.dataTable.fixed.right"),value:"right"}],value:"right"},{type:"SizeInput",col:{show:!1},field:"button>width",value:"100px"}])}]},{type:"ConfigItem",props:{label:t("com.dataTable.props.page")},col:{show:!0},children:[{type:"HideConfig",wrap:{show:!1},col:{show:!1},title:t("com.dataTable.props.page"),field:"page>open"},{type:"template",slot:"append",children:r([{type:"select",field:"page>position",value:"right",col:{show:!1},options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"inputNumber",col:{show:!1},field:"page>props>pageSize",value:20},{type:"switch",col:{show:!1},field:"page>props>small"},{type:"switch",col:{show:!1},field:"page>props>background"}])}]},{type:"input",field:"rowKey"},{type:"input",field:"emptyText"},{type:"SizeInput",field:"height"},{type:"switch",field:"showSummary"},{type:"switch",field:"selection"},{type:"switch",field:"index"},{type:"switch",field:"stripe"},{type:"switch",field:"border"},{type:"switch",field:"defaultExpandAll"}])}},qa="fcDialog",Uw={name:qa,icon:"icon-dialog",label:"\u5F39\u51FA\u6846",drag:!0,dragBtn:!1,handleBtn:!1,inside:!1,mask:!1,style:!1,advanced:!1,input:!0,subForm:"object",hiddenBaseField:["title","info","formCreateCol>span","labelConfig","_control"],languageKey:["close","ok"],event:["confirm","submit","validateFail","open","opened","close","closed","openAutoFocus","closeAutoFocus"],container:{formDataField:"value",labelField:"props.title"},loadRule(e){e.children=e.props.rule||[],e.native==null&&(e.native=!0),e.ignore==null&&(e.ignore=!0),delete e.props.rule},parseRule(e){e.props.rule=e.children||[],e.children=[]},rule({t:e}){return{type:qa,props:{title:e("com."+qa+".name")},native:!0,ignore:!0,children:[]}},props(e,{t}){return Re(t,qa+".props",[{type:"input",field:"title"},{type:"SizeInput",field:"width",value:"50%"},{type:"switch",field:"fullscreen"},{type:"switch",field:"preview",title:t("form.previewMode")},{type:"switch",field:"modal",value:!0},{type:"switch",field:"footer",value:!0},{type:"switch",field:"autoClose",value:!0},{type:"FnInput",field:"beforeClose",props:{body:!0,button:!0,fnx:!0,name:"beforeClose",args:[on(t)]}}])}},el="fcDrawer",Hw={name:el,icon:"icon-dialog",label:"\u62BD\u5C49",drag:!0,dragBtn:!1,handleBtn:!1,inside:!1,mask:!1,style:!1,advanced:!1,input:!0,subForm:"object",hiddenBaseField:["title","info","formCreateCol>span","labelConfig","_control"],languageKey:["close","ok"],event:["confirm","submit","validateFail","open","opened","close","closed","openAutoFocus","closeAutoFocus"],container:{formDataField:"value",labelField:"props.title"},loadRule(e){e.children=e.props.rule||[],e.native==null&&(e.native=!0),e.ignore==null&&(e.ignore=!0),delete e.props.rule},parseRule(e){e.props.rule=e.children||[],e.children=[]},rule({t:e}){return{type:el,props:{title:e("com."+el+".name")},native:!0,ignore:!0,children:[]}},props(e,{t}){return Re(t,el+".props",[{type:"input",field:"title"},{type:"SizeInput",field:"size",value:"30%"},{type:"select",field:"direction",options:it(t,[{label:"ltr",value:"ltr"},{label:"rtl",value:"rtl"}],"com.fcDrawer.directionType"),value:"rtl"},{type:"switch",field:"preview",title:t("form.previewMode")},{type:"switch",field:"modal",value:!0},{type:"switch",field:"footer",value:!0},{type:"switch",field:"autoClose",value:!0},{type:"FnInput",field:"beforeClose",props:{body:!0,button:!0,fnx:!0,name:"beforeClose",args:[on(t)]}}])}},Ww="\u63D2\u69FD\u533A\u57DF",Hd="fcSlot",Gw={menu:"container",icon:"icon-slot",label:Ww,name:Hd,input:!0,mask:!0,style:!1,sfc:!1,rule(){return{type:Hd,field:He(),title:"",native:!1,$required:!1,readMode:"custom",props:{name:"block_"+He()}}},props(e,{t}){return Re(t,Hd+".props",[{type:"input",field:"name"}])}},Kw="\u52A8\u6001\u533A\u57DF",Wd="fcJson",Yw={menu:"container",icon:"icon-json",label:Kw,name:Wd,input:!0,mask:!0,style:!1,sfc:!1,rule(){return{type:Wd,field:He(),props:{expand:1}}},props(e,{t}){return Re(t,Wd+".props",[{type:"radio",field:"_loadType",value:2,props:{type:"button"},options:[{label:t("fetch.optionsType.struct"),value:2},{label:t("fetch.optionsType.fetch"),value:3},{label:t("fetch.optionsType.global"),value:1}],control:[{value:1,rule:[{type:"GlobalFetchSelect",field:"formCreateEffect>fetch",props:{to:"props.rule"}}]},{value:2,rule:[{type:"Struct",field:"rule",title:t("com.fcJson.props._loadType"),_fc_important_prop:!0,wrap:{show:!1}}]},{value:3,rule:[{type:"FetchConfig",field:"formCreateEffect>fetch",props:{to:"props.rule"}}]}]},{type:"select",field:"type",options:it(t,[{label:t("props.default"),value:"default"},{label:t("com.group.name"),value:"array"},{label:t("com.subForm.name"),value:"object"}]),control:[{value:"array",method:"hidden",rule:Re(t,"group.props",[{type:"switch",field:"disabled",ignore:"hidden"},{type:"switch",field:"button",ignore:"hidden",value:!0},{type:"switch",field:"sortBtn",ignore:"hidden",value:!0},{type:"inputNumber",field:"expand",ignore:"hidden"},{type:"inputNumber",field:"min",ignore:"hidden"},{type:"inputNumber",field:"max",ignore:"hidden"}])},{value:"object",method:"hidden",rule:Re(t,"group.props",[{type:"switch",field:"disabled",ignore:"hidden"}])}]}])}},Qw="\u5185\u8054\u5E03\u5C40",jp="fcInlineForm",Jw={menu:"layout",icon:"icon-inline",label:Qw,name:jp,denyDrag:{menu:["subform","layout"]},drag:!0,inside:!1,mask:!1,sfc:{style:`._fc-line-form .el-form-item { +}`,handle(e){const{column:t,button:r,page:o,index:i,selection:l,data:d}=e.props,c=[];["column","button","index","globalDataKey","fetch","page"].forEach(h=>{delete e.props[h]}),t.forEach(h=>{const m=jw(h),y={type:"elTableColumn",props:{label:h.label,prop:h.prop,width:h.width,align:h.align,className:h.className,fixed:h.fixed,sortable:h.sortable},_sfc:{attr:{"#default":"scope"}}};m&&(y.children=[m]),c.push(y)}),r&&r.open===!0&&r.column&&c.push({type:"elTableColumn",props:{label:r.label||"\u64CD\u4F5C",fixed:r.fixed===void 0?"right":r.fixed,width:r.width||"100px"},_sfc:{attr:{"#default":"scope"}},children:r.column.map(h=>{const m=h.prop||[],y={type:"elButton",props:{type:h.type,size:h.size},_sfc:{content:h.name}};return m.forEach(C=>{y.props[C]=!0}),y})}),l&&c.unshift({type:"elTableColumn",props:{type:"selection",width:"50px"}}),i&&c.unshift({type:"elTableColumn",props:{type:"index",width:"50px"}});const u=[{type:"elTable",props:{data:[],...e.props},_fc_id:e._fc_id,children:c}];if(o&&o.open===!0){const h=o.props&&o.props.pageSize||20;o.props&&delete o.props.pageSize,u.push({type:"elPagination",class:o.position||"right",_fc_id:e._fc_id,props:{layout:"prev, pager, next",...o.props||{}},_sfc:{prop:{total:(d||[]).length,currentPage:1,pageSize:h}}})}return{type:"div",class:"_fc-data-table",children:u}}},rule(){return{type:Za,native:!0,props:{height:"500px",button:{},data:Lw(),column:[{format:"default",prop:"date",label:"Date",width:"150"},{format:"default",prop:"name",label:"Name",width:"120"},{format:"default",prop:"state",label:"State",width:"120"},{format:"default",prop:"city",label:"City",width:"320"},{format:"default",prop:"address",label:"Address",width:"600"},{format:"default",prop:"zip",label:"Zip",width:"120"}]}}},props(e,{t}){const r=function(i){return Be(t,Za+".props",i)},o=r([{type:"input",field:"page>totalField",value:"count"},{type:"input",field:"page>dataField",value:"list"},{type:"input",field:"page>orderField",value:"order"},{type:"input",field:"page>orderByField",value:"orderBy"},{type:"input",field:"page>pageField",value:"page"},{type:"input",field:"page>pageSizeField",value:"limit"}]);return Be(t,Za+".props",[{type:"radio",field:"_optionType",value:0,options:[{label:t("fetch.optionsType.struct"),value:0},{label:t("fetch.optionsType.fetch"),value:2},{label:t("fetch.optionsType.global"),value:1}],props:{type:"button"},control:[{value:1,rule:[{type:"GlobalFetchSelect",field:"globalDataKey"},...o]},{value:2,rule:[{type:"FetchConfig",field:"fetch"},...o]},{value:0,rule:[{type:"Struct",title:t("com.dataTable.props._optionType"),field:"data",_fc_important_prop:!0,props:{validate(i){return!i||Array.isArray(i)}}}]}]},{type:"TableColumnConfig",field:"column",_fc_important_prop:!0},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])},{type:"ConfigItem",props:{label:t("com.dataTable.props.button")},col:{show:!0},children:[{type:"HideConfig",title:t("com.dataTable.props.button"),wrap:{show:!1},col:{show:!1},field:"button>open"},{type:"template",slot:"append",children:r([{type:"TableButtonConfig",col:{show:!1},field:"button>column"},{type:"input",col:{show:!1},field:"button>label",value:"\u64CD\u4F5C"},{type:"select",col:{show:!1},field:"button>fixed",options:[{label:t("com.dataTable.fixed.default"),value:!1},{label:t("com.dataTable.fixed.left"),value:"left"},{label:t("com.dataTable.fixed.right"),value:"right"}],value:"right"},{type:"SizeInput",col:{show:!1},field:"button>width",value:"100px"}])}]},{type:"ConfigItem",props:{label:t("com.dataTable.props.page")},col:{show:!0},children:[{type:"HideConfig",wrap:{show:!1},col:{show:!1},title:t("com.dataTable.props.page"),field:"page>open"},{type:"template",slot:"append",children:r([{type:"select",field:"page>position",value:"right",col:{show:!1},options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"inputNumber",col:{show:!1},field:"page>props>pageSize",value:20},{type:"switch",col:{show:!1},field:"page>props>small"},{type:"switch",col:{show:!1},field:"page>props>background"}])}]},{type:"input",field:"rowKey"},{type:"input",field:"emptyText"},{type:"SizeInput",field:"height"},{type:"switch",field:"showSummary"},{type:"switch",field:"selection"},{type:"switch",field:"index"},{type:"switch",field:"stripe"},{type:"switch",field:"border"},{type:"switch",field:"defaultExpandAll"}])}},qa="fcDialog",Uw={name:qa,icon:"icon-dialog",label:"\u5F39\u51FA\u6846",drag:!0,dragBtn:!1,handleBtn:!1,inside:!1,mask:!1,style:!1,advanced:!1,input:!0,subForm:"object",hiddenBaseField:["title","info","formCreateCol>span","labelConfig","_control"],languageKey:["close","ok"],event:["confirm","submit","validateFail","open","opened","close","closed","openAutoFocus","closeAutoFocus"],container:{formDataField:"value",labelField:"props.title"},loadRule(e){e.children=e.props.rule||[],e.native==null&&(e.native=!0),e.ignore==null&&(e.ignore=!0),delete e.props.rule},parseRule(e){e.props.rule=e.children||[],e.children=[]},rule({t:e}){return{type:qa,props:{title:e("com."+qa+".name")},native:!0,ignore:!0,children:[]}},props(e,{t}){return Be(t,qa+".props",[{type:"input",field:"title"},{type:"SizeInput",field:"width",value:"50%"},{type:"switch",field:"fullscreen"},{type:"switch",field:"preview",title:t("form.previewMode")},{type:"switch",field:"modal",value:!0},{type:"switch",field:"footer",value:!0},{type:"switch",field:"autoClose",value:!0},{type:"FnInput",field:"beforeClose",props:{body:!0,button:!0,fnx:!0,name:"beforeClose",args:[on(t)]}}])}},el="fcDrawer",Hw={name:el,icon:"icon-dialog",label:"\u62BD\u5C49",drag:!0,dragBtn:!1,handleBtn:!1,inside:!1,mask:!1,style:!1,advanced:!1,input:!0,subForm:"object",hiddenBaseField:["title","info","formCreateCol>span","labelConfig","_control"],languageKey:["close","ok"],event:["confirm","submit","validateFail","open","opened","close","closed","openAutoFocus","closeAutoFocus"],container:{formDataField:"value",labelField:"props.title"},loadRule(e){e.children=e.props.rule||[],e.native==null&&(e.native=!0),e.ignore==null&&(e.ignore=!0),delete e.props.rule},parseRule(e){e.props.rule=e.children||[],e.children=[]},rule({t:e}){return{type:el,props:{title:e("com."+el+".name")},native:!0,ignore:!0,children:[]}},props(e,{t}){return Be(t,el+".props",[{type:"input",field:"title"},{type:"SizeInput",field:"size",value:"30%"},{type:"select",field:"direction",options:it(t,[{label:"ltr",value:"ltr"},{label:"rtl",value:"rtl"}],"com.fcDrawer.directionType"),value:"rtl"},{type:"switch",field:"preview",title:t("form.previewMode")},{type:"switch",field:"modal",value:!0},{type:"switch",field:"footer",value:!0},{type:"switch",field:"autoClose",value:!0},{type:"FnInput",field:"beforeClose",props:{body:!0,button:!0,fnx:!0,name:"beforeClose",args:[on(t)]}}])}},Ww="\u63D2\u69FD\u533A\u57DF",Hd="fcSlot",Gw={menu:"container",icon:"icon-slot",label:Ww,name:Hd,input:!0,mask:!0,style:!1,sfc:!1,rule(){return{type:Hd,field:We(),title:"",native:!1,$required:!1,readMode:"custom",props:{name:"block_"+We()}}},props(e,{t}){return Be(t,Hd+".props",[{type:"input",field:"name"}])}},Kw="\u52A8\u6001\u533A\u57DF",Wd="fcJson",Yw={menu:"container",icon:"icon-json",label:Kw,name:Wd,input:!0,mask:!0,style:!1,sfc:!1,rule(){return{type:Wd,field:We(),props:{expand:1}}},props(e,{t}){return Be(t,Wd+".props",[{type:"radio",field:"_loadType",value:2,props:{type:"button"},options:[{label:t("fetch.optionsType.struct"),value:2},{label:t("fetch.optionsType.fetch"),value:3},{label:t("fetch.optionsType.global"),value:1}],control:[{value:1,rule:[{type:"GlobalFetchSelect",field:"formCreateEffect>fetch",props:{to:"props.rule"}}]},{value:2,rule:[{type:"Struct",field:"rule",title:t("com.fcJson.props._loadType"),_fc_important_prop:!0,wrap:{show:!1}}]},{value:3,rule:[{type:"FetchConfig",field:"formCreateEffect>fetch",props:{to:"props.rule"}}]}]},{type:"select",field:"type",options:it(t,[{label:t("props.default"),value:"default"},{label:t("com.group.name"),value:"array"},{label:t("com.subForm.name"),value:"object"}]),control:[{value:"array",method:"hidden",rule:Be(t,"group.props",[{type:"switch",field:"disabled",ignore:"hidden"},{type:"switch",field:"button",ignore:"hidden",value:!0},{type:"switch",field:"sortBtn",ignore:"hidden",value:!0},{type:"inputNumber",field:"expand",ignore:"hidden"},{type:"inputNumber",field:"min",ignore:"hidden"},{type:"inputNumber",field:"max",ignore:"hidden"}])},{value:"object",method:"hidden",rule:Be(t,"group.props",[{type:"switch",field:"disabled",ignore:"hidden"}])}]}])}},Qw="\u5185\u8054\u5E03\u5C40",jp="fcInlineForm",Jw={menu:"layout",icon:"icon-inline",label:Qw,name:jp,denyDrag:{menu:["subform","layout"]},drag:!0,inside:!1,mask:!1,sfc:{style:`._fc-line-form .el-form-item { display: inline-flex; vertical-align: middle; } ._fc-line-form .el-select, ._fc-line-form .el-slider { width: 220px; -}`,handle(e){return{type:"div",class:"_fc-line-form",children:e.children}}},rule(){return{type:jp,props:{}}},props(){return[]}},Xw="\u56FE\u7247",Gd="elImage",Zw={menu:"aide",icon:"icon-image",label:Xw,name:Gd,inline:!0,rule(){return{type:Gd,title:"",style:{width:"100px",height:"100px"},props:{src:"https://static.form-create.com/example.png"}}},props(e,{t}){return Re(t,Gd+".props",[{type:"input",field:"src"},{type:"TableOptions",field:"previewSrcList",props:{column:[{label:t("com.elImage.props.src"),key:"value"}],valueType:"string"}}])}},qw={menu:"layout",icon:"icon-flex",name:"fcFlex2",label:"\u76D2\u5B50\u5E03\u5C40",drag:!0,inside:!0,inline:!0,mask:!1,sfc(e){e.type="div"},actions:[{label:"com.fcFlex2.horizontal",handler(e){e.style||(e.style={}),e.style.display!=="flex"?(e.style.display="flex",e.style.flexDirection="row",e.style.justifyContent="center"):["column-reverse","column"].indexOf(e.style.flexDirection)>-1?e.style.alignItems="center":e.style.justifyContent="center"}},{label:"com.fcFlex2.vertical",handler(e){e.style||(e.style={}),e.style.display!=="flex"?(e.style.display="flex",e.style.flexDirection="row",e.style.alignItems="center"):["column-reverse","column"].indexOf(e.style.flexDirection)>-1?e.style.justifyContent="center":e.style.alignItems="center"}},{label:"com.fcFlex2.left",handler(e){e.style||(e.style={}),e.style.display!=="flex"?(e.style.display="flex",e.style.flexDirection="row",e.style.justifyContent="flex-start"):["column-reverse","column"].indexOf(e.style.flexDirection)>-1?e.style.alignItems="flex-start":e.style.justifyContent="flex-start"}},{label:"com.fcFlex2.right",handler(e){e.style||(e.style={}),e.style.display!=="flex"?(e.style.display="flex",e.style.flexDirection="row",e.style.justifyContent="flex-end"):["column-reverse","column"].indexOf(e.style.flexDirection)>-1?e.style.alignItems="flex-end":e.style.justifyContent="flex-end"}},{label:"com.fcFlex2.reset",handler(e){e.style?(delete e.style.flexDirection,delete e.style.justifyContent,delete e.style.alignContent,delete e.style.flexWrap,delete e.style.alignItems,e.style.display="flex"):e.style={}}}],rule(){return{type:"fcCell",style:{display:"block",width:"100%",height:"100px"},children:[]}},props(e,{t}){return[{type:"SizeInput",field:"formCreateStyle>width",title:t("style.width")},{type:"SizeInput",field:"formCreateStyle>height",title:t("style.height")}]}},eC="\u8868\u5355\u9879",Kd="elFormItem",tC={menu:"container",icon:"icon-form-item",label:eC,name:Kd,drag:!0,mask:!1,event:!1,rule({t:e}){return{type:Kd,props:{label:e("com.elFormItem.name")},children:[]}},props(e,{t}){return Re(t,Kd+".props",[{type:"input",field:"label"},{type:"SizeInput",field:"labelWidth"},{type:"select",field:"formCreateClass",title:t("form.labelPosition"),options:it(t,[{value:"fc-wrap-top",label:"top"},{value:"fc-wrap-left",label:"left"},{value:"fc-wrap-right",label:"right"}])},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])}])}},nC="\u97F3\u9891\u64AD\u653E\u5668",Yd="audioBox",iC={menu:"aide",icon:"icon-audio",label:nC,name:Yd,mask:!1,event:["pause","play","ended"],rule(){return{type:Yd,props:{src:"https://static.form-create.com/res/demo.mp3",type:"audio/mpeg"}}},props(e,{t}){return Re(t,Yd+".props",[{type:"input",field:"src"},{type:"select",field:"type",options:[{label:"MP3",value:"audio/mpeg"},{label:"OGG",value:"audio/ogg"},{label:"AAC",value:"audio/aac"},{label:"WAV",value:"audio/wav"},{label:"WMA",value:"audio/x-ms-wma"},{label:"WEBA",value:"audio/webm"},{label:"FLAC",value:"audio/flac"},{label:"ALAC",value:"audio/x-alac"},{label:"AMR",value:"audio/amr"},{label:"MIDI",value:"audio/midi"}]},{type:"switch",field:"autoplay"},{type:"switch",field:"loop"},{type:"switch",field:"muted"},{type:"switch",field:"controls"},{type:"select",field:"preload",options:it(t,[{label:"auto",value:"auto"},{label:"metadata",value:"metadata"},{label:"none",value:"none"}],"com.audioBox.preloadOpt")}])}},rC="\u89C6\u9891\u64AD\u653E\u5668",Qd="videoBox",oC={menu:"aide",icon:"icon-video",label:rC,name:Qd,mask:!1,event:["pause","play","ended","error"],rule(){return{type:Qd,props:{src:"",type:"mp4"}}},props(e,{t}){return Re(t,Qd+".props",[{type:"input",field:"src"},{type:"select",field:"type",options:[{label:"mp4",value:"mp4"},{label:"mpegts",value:"mpegts"},{label:"m2ts",value:"m2ts"},{label:"flv",value:"flv"},{label:"mse",value:"mse"}]},{type:"switch",field:"autoplay"},{type:"switch",field:"controls",value:!0},{type:"switch",field:"isLive"},{type:"switch",field:"loop"},{type:"switch",field:"withCredentials",value:!0}])}},aC="\u5934\u50CF\u6846",zp="elAvatar",lC={menu:"aide",icon:"icon-avatar",label:aC,name:zp,mask:!0,inline:!0,event:[],rule(){return{type:zp,props:{fit:"cover",src:"https://static.form-create.com/example.png"}}},props(e,{t}){return Re(t,"elAvatar.props",[{type:"input",field:"src"},{type:"select",field:"shape",options:it(t,[{label:"circle",value:"circle"},{label:"square",value:"square"}])},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])}])}},sC="\u6761\u5F62\u7801",Up="barCodeBox",dC={menu:"aide",icon:"icon-barcode",label:sC,name:Up,mask:!0,inline:!0,event:[],rule(){return{type:Up,props:{value:"12345670",format:"CODE128"}}},props(e,{t}){return Re(t,"barCodeBox.props",[{type:"input",field:"value"},{type:"select",field:"format",options:[{label:"CODE39",value:"CODE39"},{label:"CODE128",value:"CODE128"},{label:"CODE128A",value:"CODE128A"},{label:"CODE128B",value:"CODE128B"},{label:"CODE128C",value:"CODE128C"},{label:"EAN13",value:"EAN13"},{label:"UPC",value:"UPC"},{label:"CODABAR",value:"CODABAR"}]},{type:"inputNumber",field:"width",value:2},{type:"inputNumber",field:"height",value:50},{type:"switch",field:"displayValue",value:!0},{type:"inputNumber",field:"fontSize",value:12},{type:"select",field:"textPosition",options:it(t,[{label:"top",value:"top"},{label:"bottom",value:"bottom"}])},{type:"select",field:"textAlign",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"inputNumber",field:"textMargin",value:2},{type:"ColorInput",field:"background"},{type:"ColorInput",field:"lineColor"}])}},cC="\u5185\u5D4C\u7F51\u9875",Hp="iframeBox",uC={menu:"aide",icon:"icon-iframe",label:cC,name:Hp,mask:!0,event:["load"],rule(){return{type:Hp,props:{src:"https://github.com/xaboy/form-create"}}},props(e,{t}){return Re(t,"iframeBox.props",[{type:"input",field:"src"},{type:"select",field:"loading",value:"eager",options:it(t,[{label:"eager",value:"eager"},{label:"lazy",value:"lazy"}],"com.iframeBox.loadingOpt")}])}},fC="\u4E8C\u7EF4\u7801",Jd="qrCodeBox",pC={menu:"aide",icon:"icon-qrcode",label:fC,name:Jd,mask:!0,inline:!0,rule(){return{type:Jd,props:{data:"1234567890",width:150,height:150}}},props(e,{t}){return Re(t,Jd+".props",[{type:"input",field:"data"},{type:"input",field:"image"},{type:"inputNumber",field:"width"},{type:"inputNumber",field:"height"},{type:"select",field:"circleType",options:it(t,[{label:"square",value:"square"},{label:"dots",value:"dots"},{label:"rounded",value:"rounded"},{label:"classy",value:"classy"}],"com.qrCodeBox.circleTypeOpt")},{type:"ColorInput",field:"circleColor"}])}},hC="\u624B\u5199\u7B7E\u540D",Xd="signaturePad",mC={menu:"main",icon:"icon-sign",label:hC,name:Xd,input:!0,mask:!0,languageKey:["signaturePadTip","signaturePadTitle","reset","ok"],event:["change","remove"],rule({t:e}){return{type:Xd,field:He(),title:e("com.signaturePad.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,Xd+".props",[{type:"ColorInput",field:"penColor"}])}},gC="\u63D0\u53CA",Zd="elMention",vC={menu:"main",icon:"icon-mention",label:gC,name:Zd,input:!0,event:["search","select","blur","focus","change","input","clear"],validate:["string"],rule({t:e}){return{type:Zd,field:He(),title:e("com.elMention.name"),info:"",$required:!1,props:{options:[{label:"Fuphoenixes",value:"Fuphoenixes"},{label:"kooriookami",value:"kooriookami"},{label:"Jeremy",value:"Jeremy"},{label:"btea",value:"btea"}]}}},props(e,{t}){return Re(t,Zd+".props",[Pi(t,"props.options"),{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"whole"},{type:"input",field:"placeholder"},{type:"select",field:"type",options:[{label:"input",value:"input"},{label:"textarea",value:"textarea"}]},{type:"FnInput",field:"checkIsWhole",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"checkIsWhole"}},{type:"FnInput",field:"filterOption",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"filterOption"}}])}},yC="\u5206\u6BB5\u63A7\u5236\u5668",qd="elSegmented",bC={menu:"main",icon:"icon-segmented",label:yC,name:qd,input:!0,event:["change"],validate:["string","number"],rule(){return{type:qd,field:He(),title:"",props:{options:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"].map(e=>({label:e,value:e}))}}},props(e,{t}){return Re(t,qd+".props",[{type:"TableOptions",field:"options",title:t("props.options"),wrap:{show:!1},props:{column:[{label:"label",key:"label"},{value:!0,label:"value",key:"value"}],keyValue:"label"}},{type:"switch",field:"disabled"},{type:"switch",field:"block"},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])}])}},wC="\u6807\u9898",Wp="fcTitle",CC={menu:"aide",icon:"icon-title",label:wC,name:Wp,event:[],rule({t:e}){return{type:"fcTitle",props:{title:e("props.title")}}},props(e,{t}){return Re(t,Wp+".props",[{type:"input",field:"title"},{type:"select",field:"size",value:"H2",options:[1,2,3,4,5,6].map(r=>({label:"H"+r,value:"h"+r}))},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])}},_C="\u552F\u4E00\u503C",ec="fcId",EC={menu:"main",icon:"icon-input-id",label:_C,name:ec,input:!0,validate:!1,rule({t:e}){return{type:ec,field:He(),title:e("com.fcId.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,ec+".props",[{type:"input",field:"prefix"}])}},AC="\u7701\u5E02\u533A\u9009\u62E9\u5668",tc="fcCity",SC={menu:"main",icon:"icon-city",label:AC,name:tc,input:!0,event:["change"],validate:["array"],rule({t:e}){return{type:tc,field:He(),title:e("com.fcCity.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Re(t,tc+".props",[{type:"select",field:"level",value:3,options:[{label:"\u7701\u4F1A",value:1},{label:"\u7701\u4F1A/\u57CE\u5E02",value:2},{label:"\u7701\u4F1A/\u57CE\u5E02/\u533A\u57DF",value:3}]},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"FnInput",field:"filter",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"filter"}},{type:"input",field:"api"}])}},xC={menu:"aide",icon:"icon-markdown",label:"Markdown",name:"markdown",rule(){return{type:"FcMarkdown",native:!0,props:{content:`### \u6807\u9898 +}`,handle(e){return{type:"div",class:"_fc-line-form",children:e.children}}},rule(){return{type:jp,props:{}}},props(){return[]}},Xw="\u56FE\u7247",Gd="elImage",Zw={menu:"aide",icon:"icon-image",label:Xw,name:Gd,inline:!0,rule(){return{type:Gd,title:"",style:{width:"100px",height:"100px"},props:{src:"https://static.form-create.com/example.png"}}},props(e,{t}){return Be(t,Gd+".props",[{type:"input",field:"src"},{type:"TableOptions",field:"previewSrcList",props:{column:[{label:t("com.elImage.props.src"),key:"value"}],valueType:"string"}}])}},qw={menu:"layout",icon:"icon-flex",name:"fcFlex2",label:"\u76D2\u5B50\u5E03\u5C40",drag:!0,inside:!0,inline:!0,mask:!1,sfc(e){e.type="div"},actions:[{label:"com.fcFlex2.horizontal",handler(e){e.style||(e.style={}),e.style.display!=="flex"?(e.style.display="flex",e.style.flexDirection="row",e.style.justifyContent="center"):["column-reverse","column"].indexOf(e.style.flexDirection)>-1?e.style.alignItems="center":e.style.justifyContent="center"}},{label:"com.fcFlex2.vertical",handler(e){e.style||(e.style={}),e.style.display!=="flex"?(e.style.display="flex",e.style.flexDirection="row",e.style.alignItems="center"):["column-reverse","column"].indexOf(e.style.flexDirection)>-1?e.style.justifyContent="center":e.style.alignItems="center"}},{label:"com.fcFlex2.left",handler(e){e.style||(e.style={}),e.style.display!=="flex"?(e.style.display="flex",e.style.flexDirection="row",e.style.justifyContent="flex-start"):["column-reverse","column"].indexOf(e.style.flexDirection)>-1?e.style.alignItems="flex-start":e.style.justifyContent="flex-start"}},{label:"com.fcFlex2.right",handler(e){e.style||(e.style={}),e.style.display!=="flex"?(e.style.display="flex",e.style.flexDirection="row",e.style.justifyContent="flex-end"):["column-reverse","column"].indexOf(e.style.flexDirection)>-1?e.style.alignItems="flex-end":e.style.justifyContent="flex-end"}},{label:"com.fcFlex2.reset",handler(e){e.style?(delete e.style.flexDirection,delete e.style.justifyContent,delete e.style.alignContent,delete e.style.flexWrap,delete e.style.alignItems,e.style.display="flex"):e.style={}}}],rule(){return{type:"fcCell",style:{display:"block",width:"100%",height:"100px"},children:[]}},props(e,{t}){return[{type:"SizeInput",field:"formCreateStyle>width",title:t("style.width")},{type:"SizeInput",field:"formCreateStyle>height",title:t("style.height")}]}},eC="\u8868\u5355\u9879",Kd="elFormItem",tC={menu:"container",icon:"icon-form-item",label:eC,name:Kd,drag:!0,mask:!1,event:!1,rule({t:e}){return{type:Kd,props:{label:e("com.elFormItem.name")},children:[]}},props(e,{t}){return Be(t,Kd+".props",[{type:"input",field:"label"},{type:"SizeInput",field:"labelWidth"},{type:"select",field:"formCreateClass",title:t("form.labelPosition"),options:it(t,[{value:"fc-wrap-top",label:"top"},{value:"fc-wrap-left",label:"left"},{value:"fc-wrap-right",label:"right"}])},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])}])}},nC="\u97F3\u9891\u64AD\u653E\u5668",Yd="audioBox",iC={menu:"aide",icon:"icon-audio",label:nC,name:Yd,mask:!1,event:["pause","play","ended"],rule(){return{type:Yd,props:{src:"https://static.form-create.com/res/demo.mp3",type:"audio/mpeg"}}},props(e,{t}){return Be(t,Yd+".props",[{type:"input",field:"src"},{type:"select",field:"type",options:[{label:"MP3",value:"audio/mpeg"},{label:"OGG",value:"audio/ogg"},{label:"AAC",value:"audio/aac"},{label:"WAV",value:"audio/wav"},{label:"WMA",value:"audio/x-ms-wma"},{label:"WEBA",value:"audio/webm"},{label:"FLAC",value:"audio/flac"},{label:"ALAC",value:"audio/x-alac"},{label:"AMR",value:"audio/amr"},{label:"MIDI",value:"audio/midi"}]},{type:"switch",field:"autoplay"},{type:"switch",field:"loop"},{type:"switch",field:"muted"},{type:"switch",field:"controls"},{type:"select",field:"preload",options:it(t,[{label:"auto",value:"auto"},{label:"metadata",value:"metadata"},{label:"none",value:"none"}],"com.audioBox.preloadOpt")}])}},rC="\u89C6\u9891\u64AD\u653E\u5668",Qd="videoBox",oC={menu:"aide",icon:"icon-video",label:rC,name:Qd,mask:!1,event:["pause","play","ended","error"],rule(){return{type:Qd,props:{src:"",type:"mp4"}}},props(e,{t}){return Be(t,Qd+".props",[{type:"input",field:"src"},{type:"select",field:"type",options:[{label:"mp4",value:"mp4"},{label:"mpegts",value:"mpegts"},{label:"m2ts",value:"m2ts"},{label:"flv",value:"flv"},{label:"mse",value:"mse"}]},{type:"switch",field:"autoplay"},{type:"switch",field:"controls",value:!0},{type:"switch",field:"isLive"},{type:"switch",field:"loop"},{type:"switch",field:"withCredentials",value:!0}])}},aC="\u5934\u50CF\u6846",zp="elAvatar",lC={menu:"aide",icon:"icon-avatar",label:aC,name:zp,mask:!0,inline:!0,event:[],rule(){return{type:zp,props:{fit:"cover",src:"https://static.form-create.com/example.png"}}},props(e,{t}){return Be(t,"elAvatar.props",[{type:"input",field:"src"},{type:"select",field:"shape",options:it(t,[{label:"circle",value:"circle"},{label:"square",value:"square"}])},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])}])}},sC="\u6761\u5F62\u7801",Up="barCodeBox",dC={menu:"aide",icon:"icon-barcode",label:sC,name:Up,mask:!0,inline:!0,event:[],rule(){return{type:Up,props:{value:"12345670",format:"CODE128"}}},props(e,{t}){return Be(t,"barCodeBox.props",[{type:"input",field:"value"},{type:"select",field:"format",options:[{label:"CODE39",value:"CODE39"},{label:"CODE128",value:"CODE128"},{label:"CODE128A",value:"CODE128A"},{label:"CODE128B",value:"CODE128B"},{label:"CODE128C",value:"CODE128C"},{label:"EAN13",value:"EAN13"},{label:"UPC",value:"UPC"},{label:"CODABAR",value:"CODABAR"}]},{type:"inputNumber",field:"width",value:2},{type:"inputNumber",field:"height",value:50},{type:"switch",field:"displayValue",value:!0},{type:"inputNumber",field:"fontSize",value:12},{type:"select",field:"textPosition",options:it(t,[{label:"top",value:"top"},{label:"bottom",value:"bottom"}])},{type:"select",field:"textAlign",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])},{type:"inputNumber",field:"textMargin",value:2},{type:"ColorInput",field:"background"},{type:"ColorInput",field:"lineColor"}])}},cC="\u5185\u5D4C\u7F51\u9875",Hp="iframeBox",uC={menu:"aide",icon:"icon-iframe",label:cC,name:Hp,mask:!0,event:["load"],rule(){return{type:Hp,props:{src:"https://github.com/xaboy/form-create"}}},props(e,{t}){return Be(t,"iframeBox.props",[{type:"input",field:"src"},{type:"select",field:"loading",value:"eager",options:it(t,[{label:"eager",value:"eager"},{label:"lazy",value:"lazy"}],"com.iframeBox.loadingOpt")}])}},fC="\u4E8C\u7EF4\u7801",Jd="qrCodeBox",pC={menu:"aide",icon:"icon-qrcode",label:fC,name:Jd,mask:!0,inline:!0,rule(){return{type:Jd,props:{data:"1234567890",width:150,height:150}}},props(e,{t}){return Be(t,Jd+".props",[{type:"input",field:"data"},{type:"input",field:"image"},{type:"inputNumber",field:"width"},{type:"inputNumber",field:"height"},{type:"select",field:"circleType",options:it(t,[{label:"square",value:"square"},{label:"dots",value:"dots"},{label:"rounded",value:"rounded"},{label:"classy",value:"classy"}],"com.qrCodeBox.circleTypeOpt")},{type:"ColorInput",field:"circleColor"}])}},hC="\u624B\u5199\u7B7E\u540D",Xd="signaturePad",mC={menu:"main",icon:"icon-sign",label:hC,name:Xd,input:!0,mask:!0,languageKey:["signaturePadTip","signaturePadTitle","reset","ok"],event:["change","remove"],rule({t:e}){return{type:Xd,field:We(),title:e("com.signaturePad.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,Xd+".props",[{type:"ColorInput",field:"penColor"}])}},gC="\u63D0\u53CA",Zd="elMention",vC={menu:"main",icon:"icon-mention",label:gC,name:Zd,input:!0,event:["search","select","blur","focus","change","input","clear"],validate:["string"],rule({t:e}){return{type:Zd,field:We(),title:e("com.elMention.name"),info:"",$required:!1,props:{options:[{label:"Fuphoenixes",value:"Fuphoenixes"},{label:"kooriookami",value:"kooriookami"},{label:"Jeremy",value:"Jeremy"},{label:"btea",value:"btea"}]}}},props(e,{t}){return Be(t,Zd+".props",[Pi(t,"props.options"),{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"switch",field:"whole"},{type:"input",field:"placeholder"},{type:"select",field:"type",options:[{label:"input",value:"input"},{label:"textarea",value:"textarea"}]},{type:"FnInput",field:"checkIsWhole",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"checkIsWhole"}},{type:"FnInput",field:"filterOption",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"filterOption"}}])}},yC="\u5206\u6BB5\u63A7\u5236\u5668",qd="elSegmented",bC={menu:"main",icon:"icon-segmented",label:yC,name:qd,input:!0,event:["change"],validate:["string","number"],rule(){return{type:qd,field:We(),title:"",props:{options:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"].map(e=>({label:e,value:e}))}}},props(e,{t}){return Be(t,qd+".props",[{type:"TableOptions",field:"options",title:t("props.options"),wrap:{show:!1},props:{column:[{label:"label",key:"label"},{value:!0,label:"value",key:"value"}],keyValue:"label"}},{type:"switch",field:"disabled"},{type:"switch",field:"block"},{type:"select",field:"size",options:it(t,[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}])}])}},wC="\u6807\u9898",Wp="fcTitle",CC={menu:"aide",icon:"icon-title",label:wC,name:Wp,event:[],rule({t:e}){return{type:"fcTitle",props:{title:e("props.title")}}},props(e,{t}){return Be(t,Wp+".props",[{type:"input",field:"title"},{type:"select",field:"size",value:"H2",options:[1,2,3,4,5,6].map(r=>({label:"H"+r,value:"h"+r}))},{type:"select",field:"align",options:it(t,[{label:"left",value:"left"},{label:"center",value:"center"},{label:"right",value:"right"}])}])}},_C="\u552F\u4E00\u503C",ec="fcId",EC={menu:"main",icon:"icon-input-id",label:_C,name:ec,input:!0,validate:!1,rule({t:e}){return{type:ec,field:We(),title:e("com.fcId.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,ec+".props",[{type:"input",field:"prefix"}])}},AC="\u7701\u5E02\u533A\u9009\u62E9\u5668",tc="fcCity",SC={menu:"main",icon:"icon-city",label:AC,name:tc,input:!0,event:["change"],validate:["array"],rule({t:e}){return{type:tc,field:We(),title:e("com.fcCity.name"),info:"",$required:!1,props:{}}},props(e,{t}){return Be(t,tc+".props",[{type:"select",field:"level",value:3,options:[{label:"\u7701\u4F1A",value:1},{label:"\u7701\u4F1A/\u57CE\u5E02",value:2},{label:"\u7701\u4F1A/\u57CE\u5E02/\u533A\u57DF",value:3}]},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"FnInput",field:"filter",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"filter"}},{type:"input",field:"api"}])}},xC={menu:"aide",icon:"icon-markdown",label:"Markdown",name:"markdown",rule(){return{type:"FcMarkdown",native:!0,props:{content:`### \u6807\u9898 \u4F7F\u7528 # \u53F7\u521B\u5EFA\u6807\u9898 @@ -304,7 +304,7 @@ function hello() { \`\`\` \u7B2C\u4E00\u884C
\u7B2C\u4E09\u884C \`\`\` -`}}},props(e,{t}){return[{type:"HtmlEditor",field:"content",title:t("props.content"),props:{text:!0}}]}},kC="\u7EDF\u8BA1\u680F",tl="elStatistic",Gp=[Gb,Yb,Jb,vC,bC,Zb,zb,Hb,e1,n1,c1,Tp,a1,r1,Vp,s1,f1,C1,E1,S1,k1,J1,SC,P1,zw,EC,mC,kw,{menu:"main",icon:"icon-data-select",label:"\u5B50\u8868\u5355\u9009\u62E9\u5668",name:"fcDataSelect",drag:!0,input:!0,mask:!1,subForm:"scope",slot:[{name:"search",type:"fcInlineForm"},{name:"table",type:"dataTable"}],event:["change","clear"],validate:["object","array"],parseRule(e){e.children.forEach(t=>{t.slot==="search"?(delete t.slot,e.props.searchRule=t):t.slot==="table"&&(delete t.slot,e.props.tableRule=t)}),delete e.children},loadRule(e){e.children=[e.props.searchRule,e.props.tableRule],e.children[0].slot="search",e.children[1].slot="table",delete e.props.searchRule,delete e.props.tableRule},rule({t:e}){return{type:"fcDataSelect",field:He(),title:e("com.fcDataSelect.name"),info:"",$required:!1,props:{title:e("com.select.title"),labelKey:"name",valueKey:"name"}}},props(e,{t}){return Re(t,"select.props",[{type:"input",field:"title"},{type:"input",field:"labelKey",value:"label"},{type:"input",field:"valueKey",value:"value"},{type:"switch",field:"autoLoad"},{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"}])}},L1,z1,rw,fw,mw,_w,Ew,ww,Cw,vw,Gw,Yw,tC,T1,F1,Z1,CC,V1,sw,{menu:"aide",icon:"icon-statistic",label:kC,name:tl,inline:!0,easySlots:["prefix","suffix"],rule({t:e}){return{type:tl,props:{value:99e3,title:e("com."+tl+".name")}}},props(e,{t}){return Re(t,tl+".props",[{type:"inputNumber",field:"value"},{type:"input",field:"title"},{type:"input",field:"prefix"},{type:"input",field:"suffix"}])}},b1,Tw,Vw,Bw,Zw,iC,oC,lC,dC,uC,pC,xC,{menu:"chart",icon:"icon-chart-line",label:"\u6298\u7EBF\u56FE",name:"lineChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"line",config:{category:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[{name:"Email",data:[120,132,101,134,90,230,210]},{name:"Union Ads",data:[220,182,191,234,290,330,310]},{name:"Video Ads",data:[150,232,201,154,190,330,410]},{name:"Direct",data:[320,332,301,334,390,330,320]},{name:"Search Engine",data:[820,932,901,934,1290,1330,1320]}]}}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"input",field:"valueFormat",value:"{value}"},{type:"switch",field:"stack"},{type:"switch",field:"smooth"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-area",label:"\u4F53\u79EF\u56FE",name:"areaChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"area",config:{category:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[{name:"Email",data:[120,132,101,134,90,230,210]},{name:"Union Ads",data:[220,182,191,234,290,330,310]},{name:"Video Ads",data:[150,232,201,154,190,330,410]},{name:"Direct",data:[320,332,301,334,390,330,320]},{name:"Search Engine",data:[820,932,901,934,1290,1330,1320]}]}}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"input",field:"valueFormat",value:"{value}"},{type:"switch",field:"stack"},{type:"switch",field:"smooth"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-bar",label:"\u67F1\u72B6\u56FE",name:"barChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"bar",config:{category:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[{name:"Direct",data:[320,332,301,334,390,330,320]}]}}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"input",field:"valueFormat",value:"{value}"},{type:"ColorInput",field:"barBackgroundColor"},{type:"switch",field:"stack"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-stripe",label:"\u6761\u5F62\u56FE",name:"stripeChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"bar",stripe:!0,config:{category:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[{name:"Direct",data:[320,332,301,334,390,330,320]},{name:"Direct2",data:[320,332,301,334,390,330,320]}]}}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"input",field:"valueFormat",value:"{value}"},{type:"ColorInput",field:"barBackgroundColor"},{type:"switch",field:"stack"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-pie",label:"\u997C\u56FE",name:"pieChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"pie",data:[{value:1048,name:"Search Engine"},{value:735,name:"Direct"},{value:580,name:"Email"},{value:484,name:"Union Num"},{value:300,name:"Video Num"}]}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.data",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"select",field:"pieType",options:it(t,[{label:"pie",value:"pie"},{label:"doughnut",value:"doughnut"},{label:"half-doughnut",value:"half-doughnut"}],"com.lineChart.pieTypeOpt")},{type:"switch",field:"showLegend",value:!0}])}},{menu:"chart",icon:"icon-chart-funnel",label:"\u6F0F\u6597\u56FE",name:"funnelChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"funnel",data:[{value:60,name:"Visit"},{value:40,name:"Inquiry"},{value:20,name:"Order"},{value:80,name:"Click"},{value:100,name:"Show"}]}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.data",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"select",field:"funnelSort",options:it(t,[{label:"descending",value:"descending"},{label:"ascending",value:"ascending"}],"com.lineChart.funnelSortOpt"),value:"descending"},{type:"switch",field:"showLegend",value:!0}])}},{menu:"chart",icon:"icon-chart-gauge",label:"\u4EEA\u8868\u76D8",name:"gaugeChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"gauge",value:50}}},props(e,{t}){return Re(t,"lineChart.props",[{type:"inputNumber",field:"value"},{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"}])}},{menu:"chart",icon:"icon-chart-radar",label:"\u96F7\u8FBE\u56FE",name:"radarChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"radar",indicator:[{name:"Sales",max:6500},{name:"Administration",max:16e3},{name:"Information Technology",max:3e4},{name:"Customer Support",max:38e3},{name:"Development",max:52e3},{name:"Marketing",max:25e3}],data:[{value:[4200,3e3,2e4,35e3,5e4,18e3],name:"Allocated Budget"},{value:[5e3,14e3,28e3,26e3,42e3,21e3],name:"Actual Spending"}]}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.data",t("com.lineChart.data")),{type:"TableOptions",field:"indicator",props:{column:[{label:t("props.name"),key:"name"},{label:t("com.lineChart.props.max"),key:"max"}]}},{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-scatter",label:"\u6563\u70B9\u56FE",name:"scatterChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"scatter",data:[[[161.2,51.6],[167.5,59],[159.5,49.2],[157,63],[155.8,53.6],[170,59],[159.1,47.6],[166,69.8],[176.2,66.8],[160.2,75.2]],[[172.5,55.2],[170.9,54.2],[172.9,62.5],[153.4,42],[160,50],[147.2,49.8],[168.2,49.2],[175,73.2],[157,47.8],[167.6,68.8]]]}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.data",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"}])}},{menu:"chart",icon:"icon-chart-custom",label:"\u81EA\u5B9A\u4E49\u56FE\u8868",name:"customChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",style:{height:"500px"},props:{type:"custom",config:{builderJson:{all:10887,charts:{map:3237,lines:2164,bar:7561,line:7778,pie:7355,scatter:2405,candlestick:1842,radar:2090,heatmap:1762,treemap:1593,graph:2060,boxplot:1537,parallel:1908,gauge:2107,funnel:1692,sankey:1568},components:{geo:2788,title:9575,legend:9400,tooltip:9466,grid:9266,markPoint:3419,markLine:2984,timeline:2739,dataZoom:2744,visualMap:2466,toolbox:3034,polar:1945},ie:9743},downloadJson:{"echarts.min.js":17365,"echarts.simple.min.js":4079,"echarts.common.min.js":6929,"echarts.js":14890},themeJson:{"dark.js":1594,"infographic.js":925,"shine.js":1608,"roma.js":721,"macarons.js":2179,"vintage.js":1982}},loadOptions:`$FNX:const builderJson = $inject.args[0]?.builderJson; +`}}},props(e,{t}){return[{type:"HtmlEditor",field:"content",title:t("props.content"),props:{text:!0}}]}},kC="\u7EDF\u8BA1\u680F",tl="elStatistic",Gp=[Gb,Yb,Jb,vC,bC,Zb,zb,Hb,e1,n1,c1,Tp,a1,r1,Vp,s1,f1,C1,E1,S1,k1,J1,SC,P1,zw,EC,mC,kw,{menu:"main",icon:"icon-data-select",label:"\u5B50\u8868\u5355\u9009\u62E9\u5668",name:"fcDataSelect",drag:!0,input:!0,mask:!1,subForm:"scope",slot:[{name:"search",type:"fcInlineForm"},{name:"table",type:"dataTable"}],event:["change","clear"],validate:["object","array"],parseRule(e){e.children.forEach(t=>{t.slot==="search"?(delete t.slot,e.props.searchRule=t):t.slot==="table"&&(delete t.slot,e.props.tableRule=t)}),delete e.children},loadRule(e){e.children=[e.props.searchRule,e.props.tableRule],e.children[0].slot="search",e.children[1].slot="table",delete e.props.searchRule,delete e.props.tableRule},rule({t:e}){return{type:"fcDataSelect",field:We(),title:e("com.fcDataSelect.name"),info:"",$required:!1,props:{title:e("com.select.title"),labelKey:"name",valueKey:"name"}}},props(e,{t}){return Be(t,"select.props",[{type:"input",field:"title"},{type:"input",field:"labelKey",value:"label"},{type:"input",field:"valueKey",value:"value"},{type:"switch",field:"autoLoad"},{type:"switch",field:"multiple"},{type:"switch",field:"disabled"},{type:"switch",field:"clearable"},{type:"inputNumber",field:"multipleLimit",props:{min:0}},{type:"input",field:"placeholder"}])}},L1,z1,rw,fw,mw,_w,Ew,ww,Cw,vw,Gw,Yw,tC,T1,I1,Z1,CC,V1,sw,{menu:"aide",icon:"icon-statistic",label:kC,name:tl,inline:!0,easySlots:["prefix","suffix"],rule({t:e}){return{type:tl,props:{value:99e3,title:e("com."+tl+".name")}}},props(e,{t}){return Be(t,tl+".props",[{type:"inputNumber",field:"value"},{type:"input",field:"title"},{type:"input",field:"prefix"},{type:"input",field:"suffix"}])}},b1,Tw,Vw,Bw,Zw,iC,oC,lC,dC,uC,pC,xC,{menu:"chart",icon:"icon-chart-line",label:"\u6298\u7EBF\u56FE",name:"lineChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"line",config:{category:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[{name:"Email",data:[120,132,101,134,90,230,210]},{name:"Union Ads",data:[220,182,191,234,290,330,310]},{name:"Video Ads",data:[150,232,201,154,190,330,410]},{name:"Direct",data:[320,332,301,334,390,330,320]},{name:"Search Engine",data:[820,932,901,934,1290,1330,1320]}]}}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"input",field:"valueFormat",value:"{value}"},{type:"switch",field:"stack"},{type:"switch",field:"smooth"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-area",label:"\u4F53\u79EF\u56FE",name:"areaChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"area",config:{category:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[{name:"Email",data:[120,132,101,134,90,230,210]},{name:"Union Ads",data:[220,182,191,234,290,330,310]},{name:"Video Ads",data:[150,232,201,154,190,330,410]},{name:"Direct",data:[320,332,301,334,390,330,320]},{name:"Search Engine",data:[820,932,901,934,1290,1330,1320]}]}}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"input",field:"valueFormat",value:"{value}"},{type:"switch",field:"stack"},{type:"switch",field:"smooth"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-bar",label:"\u67F1\u72B6\u56FE",name:"barChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"bar",config:{category:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[{name:"Direct",data:[320,332,301,334,390,330,320]}]}}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"input",field:"valueFormat",value:"{value}"},{type:"ColorInput",field:"barBackgroundColor"},{type:"switch",field:"stack"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-stripe",label:"\u6761\u5F62\u56FE",name:"stripeChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"bar",stripe:!0,config:{category:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[{name:"Direct",data:[320,332,301,334,390,330,320]},{name:"Direct2",data:[320,332,301,334,390,330,320]}]}}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"input",field:"valueFormat",value:"{value}"},{type:"ColorInput",field:"barBackgroundColor"},{type:"switch",field:"stack"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-pie",label:"\u997C\u56FE",name:"pieChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"pie",data:[{value:1048,name:"Search Engine"},{value:735,name:"Direct"},{value:580,name:"Email"},{value:484,name:"Union Num"},{value:300,name:"Video Num"}]}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.data",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"select",field:"pieType",options:it(t,[{label:"pie",value:"pie"},{label:"doughnut",value:"doughnut"},{label:"half-doughnut",value:"half-doughnut"}],"com.lineChart.pieTypeOpt")},{type:"switch",field:"showLegend",value:!0}])}},{menu:"chart",icon:"icon-chart-funnel",label:"\u6F0F\u6597\u56FE",name:"funnelChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"funnel",data:[{value:60,name:"Visit"},{value:40,name:"Inquiry"},{value:20,name:"Order"},{value:80,name:"Click"},{value:100,name:"Show"}]}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.data",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"select",field:"funnelSort",options:it(t,[{label:"descending",value:"descending"},{label:"ascending",value:"ascending"}],"com.lineChart.funnelSortOpt"),value:"descending"},{type:"switch",field:"showLegend",value:!0}])}},{menu:"chart",icon:"icon-chart-gauge",label:"\u4EEA\u8868\u76D8",name:"gaugeChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"gauge",value:50}}},props(e,{t}){return Be(t,"lineChart.props",[{type:"inputNumber",field:"value"},{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"inputNumber",field:"min"},{type:"inputNumber",field:"max"}])}},{menu:"chart",icon:"icon-chart-radar",label:"\u96F7\u8FBE\u56FE",name:"radarChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"radar",indicator:[{name:"Sales",max:6500},{name:"Administration",max:16e3},{name:"Information Technology",max:3e4},{name:"Customer Support",max:38e3},{name:"Development",max:52e3},{name:"Marketing",max:25e3}],data:[{value:[4200,3e3,2e4,35e3,5e4,18e3],name:"Allocated Budget"},{value:[5e3,14e3,28e3,26e3,42e3,21e3],name:"Actual Spending"}]}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.data",t("com.lineChart.data")),{type:"TableOptions",field:"indicator",props:{column:[{label:t("props.name"),key:"name"},{label:t("com.lineChart.props.max"),key:"max"}]}},{type:"input",field:"title"},{type:"input",field:"subtitle"},{type:"switch",field:"showLegend",value:!0},{type:"switch",field:"showSeriesLabel"}])}},{menu:"chart",icon:"icon-chart-scatter",label:"\u6563\u70B9\u56FE",name:"scatterChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",props:{type:"scatter",data:[[[161.2,51.6],[167.5,59],[159.5,49.2],[157,63],[155.8,53.6],[170,59],[159.1,47.6],[166,69.8],[176.2,66.8],[160.2,75.2]],[[172.5,55.2],[170.9,54.2],[172.9,62.5],[153.4,42],[160,50],[147.2,49.8],[168.2,49.2],[175,73.2],[157,47.8],[167.6,68.8]]]}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.data",t("com.lineChart.data")),{type:"input",field:"title"},{type:"input",field:"subtitle"}])}},{menu:"chart",icon:"icon-chart-custom",label:"\u81EA\u5B9A\u4E49\u56FE\u8868",name:"customChart",mask:!1,event:["beforeLoad","loaded","click"],rule(){return{type:"fcEcharts",style:{height:"500px"},props:{type:"custom",config:{builderJson:{all:10887,charts:{map:3237,lines:2164,bar:7561,line:7778,pie:7355,scatter:2405,candlestick:1842,radar:2090,heatmap:1762,treemap:1593,graph:2060,boxplot:1537,parallel:1908,gauge:2107,funnel:1692,sankey:1568},components:{geo:2788,title:9575,legend:9400,tooltip:9466,grid:9266,markPoint:3419,markLine:2984,timeline:2739,dataZoom:2744,visualMap:2466,toolbox:3034,polar:1945},ie:9743},downloadJson:{"echarts.min.js":17365,"echarts.simple.min.js":4079,"echarts.common.min.js":6929,"echarts.js":14890},themeJson:{"dark.js":1594,"infographic.js":925,"shine.js":1608,"roma.js":721,"macarons.js":2179,"vintage.js":1982}},loadOptions:`$FNX:const builderJson = $inject.args[0]?.builderJson; const downloadJson = $inject.args[0]?.downloadJson; const themeJson = $inject.args[0]?.themeJson; const waterMarkText = 'ECHARTS'; @@ -486,31 +486,31 @@ value: themeJson[key] }) } ] -};`}}},props(e,{t}){return Re(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"FnInput",field:"loadOptions",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"loadOptions"}}])}},h1,cw,Jw,qw,Aw,Sw,R1,O1,H1,G1,nw,Uw,Hw,Fw,Iw,Pw,Rw,$w,m1,v1,Y1,ew,aw];function NC(e){return{icon:e.field?"icon-input":"icon-cell",label:e.field||e.type,name:"_",mask:!0,handleBtn:["delete"],rule(){return e},props(){return[]}}}/**! +};`}}},props(e,{t}){return Be(t,"lineChart.props",[Ln(t,"props.config",t("com.lineChart.data")),{type:"FnInput",field:"loadOptions",props:{body:!0,button:!0,fnx:!0,args:[on(t)],name:"loadOptions"}}])}},h1,cw,Jw,qw,Aw,Sw,R1,O1,H1,G1,nw,Uw,Hw,Iw,Fw,Pw,Rw,$w,m1,v1,Y1,ew,aw];function NC(e){return{icon:e.field?"icon-input":"icon-cell",label:e.field||e.type,name:"_",mask:!0,handleBtn:["delete"],rule(){return e},props(){return[]}}}/**! * Sortable 1.14.0 * @author RubaXa* @author owenm * @license MIT - */function Kp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function ci(e){for(var t=1;t =0)&&(r[i]=e[i]);return r}function VC(e,t){if(e==null)return{};var r=DC(e,t),o,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i =0)&&(!Object.prototype.propertyIsEnumerable.call(e,o)||(r[o]=e[o]))}return r}var OC="1.14.0";function Ai(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Si=Ai(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Bo=Ai(/Edge/i),Yp=Ai(/firefox/i),Ro=Ai(/safari/i)&&!Ai(/chrome/i)&&!Ai(/android/i),Qp=Ai(/iP(ad|od|hone)/i),BC=Ai(/chrome/i)&&Ai(/android/i),Jp={capture:!1,passive:!1};function _t(e,t,r){e.addEventListener(t,r,!Si&&Jp)}function vt(e,t,r){e.removeEventListener(t,r,!Si&&Jp)}function il(e,t){if(!!t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function RC(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function ui(e,t,r,o){if(e){r=r||document;do{if(t!=null&&(t[0]===">"?e.parentNode===r&&il(e,t):il(e,t))||o&&e===r)return e;if(e===r)break}while(e=RC(e))}return null}var Xp=/\s+/g;function On(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(Xp," ").replace(" "+t+" "," ");e.className=(o+(r?" "+t:"")).replace(Xp," ")}}function lt(e,t,r){var o=e&&e.style;if(o){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),t===void 0?r:r[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=r+(typeof r=="string"?"":"px")}}function Fr(e,t){var r="";if(typeof e=="string")r=e;else do{var o=lt(e,"transform");o&&o!=="none"&&(r=o+" "+r)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(r)}function Zp(e,t,r){if(e){var o=e.getElementsByTagName(t),i=0,l=o.length;if(r)for(;i =l:d=i<=l,!d)return o;if(o===fi())break;o=Mi(o,!1)}return!1}function Ir(e,t,r,o){for(var i=0,l=0,d=e.children;l 2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,l=VC(o,zC);Fo.pluginEvent.bind(st)(t,r,ci({dragEl:Me,parentEl:Mt,ghostEl:ut,rootEl:Bt,nextEl:ar,lastDownEl:rl,cloneEl:Lt,cloneHidden:Li,dragStarted:Po,putSortable:an,activeSortable:st.active,originalEvent:i,oldIndex:Mr,oldDraggableIndex:Io,newIndex:Rn,newDraggableIndex:ji,hideGhostForTarget:ch,unhideGhostForTarget:uh,cloneNowHidden:function(){Li=!0},cloneNowShown:function(){Li=!1},dispatchSortableEvent:function(c){hn({sortable:r,name:c,originalEvent:i})}},l))};function hn(e){jC(ci({putSortable:an,cloneEl:Lt,targetEl:Me,rootEl:Bt,oldIndex:Mr,oldDraggableIndex:Io,newIndex:Rn,newDraggableIndex:ji},e))}var Me,Mt,ut,Bt,ar,rl,Lt,Li,Mr,Rn,Io,ji,ol,an,Lr=!1,al=!1,ll=[],lr,Jn,oc,ac,rh,oh,Po,jr,Mo,Lo=!1,sl=!1,dl,cn,lc=[],sc=!1,cl=[],ul=typeof document<"u",fl=Qp,ah=Bo||Si?"cssFloat":"float",UC=ul&&!BC&&!Qp&&"draggable"in document.createElement("div"),lh=function(){if(!!ul){if(Si)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),sh=function(t,r){var o=lt(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),l=Ir(t,0,r),d=Ir(t,1,r),c=l&<(l),u=d&<(d),h=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+Qt(l).width,m=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+Qt(d).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(l&&c.float&&c.float!=="none"){var y=c.float==="left"?"left":"right";return d&&(u.clear==="both"||u.clear===y)?"vertical":"horizontal"}return l&&(c.display==="block"||c.display==="flex"||c.display==="table"||c.display==="grid"||h>=i&&o[ah]==="none"||d&&o[ah]==="none"&&h+m>i)?"vertical":"horizontal"},HC=function(t,r,o){var i=o?t.left:t.top,l=o?t.right:t.bottom,d=o?t.width:t.height,c=o?r.left:r.top,u=o?r.right:r.bottom,h=o?r.width:r.height;return i===c||l===u||i+d/2===c+h/2},WC=function(t,r){var o;return ll.some(function(i){var l=i[Bn].options.emptyInsertThreshold;if(!(!l||nc(i))){var d=Qt(i),c=t>=d.left-l&&t<=d.right+l,u=r>=d.top-l&&r<=d.bottom+l;if(c&&u)return o=i}}),o},dh=function(t){function r(l,d){return function(c,u,h,m){var y=c.options.group.name&&u.options.group.name&&c.options.group.name===u.options.group.name;if(l==null&&(d||y))return!0;if(l==null||l===!1)return!1;if(d&&l==="clone")return l;if(typeof l=="function")return r(l(c,u,h,m),d)(c,u,h,m);var C=(d?c:u).options.group.name;return l===!0||typeof l=="string"&&l===C||l.join&&l.indexOf(C)>-1}}var o={},i=t.group;(!i||nl(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=r(i.pull,!0),o.checkPut=r(i.put),o.revertClone=i.revertClone,t.group=o},ch=function(){!lh&&ut&<(ut,"display","none")},uh=function(){!lh&&ut&<(ut,"display","")};ul&&document.addEventListener("click",function(e){if(al)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),al=!1,!1},!0);var sr=function(t){if(Me){t=t.touches?t.touches[0]:t;var r=WC(t.clientX,t.clientY);if(r){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=r,o.preventDefault=void 0,o.stopPropagation=void 0,r[Bn]._onDragOver(o)}}},GC=function(t){Me&&Me.parentNode[Bn]._isOutsideThisEl(t.target)};function st(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Ei({},t),e[Bn]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sh(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(d,c){d.setData("Text",c.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:st.supportPointer!==!1&&"PointerEvent"in window&&!Ro,emptyInsertThreshold:5};Fo.initializePlugins(this,e,r);for(var o in r)!(o in t)&&(t[o]=r[o]);dh(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:UC,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?_t(e,"pointerdown",this._onTapStart):(_t(e,"mousedown",this._onTapStart),_t(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(_t(e,"dragover",this),_t(e,"dragenter",this)),ll.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ei(this,PC())}st.prototype={constructor:st,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(jr=null)},_getDirection:function(t,r){return typeof this.options.direction=="function"?this.options.direction.call(this,t,r,Me):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var r=this,o=this.el,i=this.options,l=i.preventOnFilter,d=t.type,c=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,u=(c||t).target,h=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,m=i.filter;if(e_(o),!Me&&!(/mousedown|pointerdown/.test(d)&&t.button!==0||i.disabled)&&!h.isContentEditable&&!(!this.nativeDraggable&&Ro&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=ui(u,i.draggable,o,!1),!(u&&u.animated)&&rl!==u)){if(Mr=jn(u),Io=jn(u,i.draggable),typeof m=="function"){if(m.call(this,t,u,this)){hn({sortable:r,rootEl:h,name:"filter",targetEl:u,toEl:o,fromEl:o}),An("filter",r,{evt:t}),l&&t.cancelable&&t.preventDefault();return}}else if(m&&(m=m.split(",").some(function(y){if(y=ui(h,y.trim(),o,!1),y)return hn({sortable:r,rootEl:y,name:"filter",targetEl:u,fromEl:o,toEl:o}),An("filter",r,{evt:t}),!0}),m)){l&&t.cancelable&&t.preventDefault();return}i.handle&&!ui(h,i.handle,o,!1)||this._prepareDragStart(t,c,u)}}},_prepareDragStart:function(t,r,o){var i=this,l=i.el,d=i.options,c=l.ownerDocument,u;if(o&&!Me&&o.parentNode===l){var h=Qt(o);if(Bt=l,Me=o,Mt=Me.parentNode,ar=Me.nextSibling,rl=o,ol=d.group,st.dragged=Me,lr={target:Me,clientX:(r||t).clientX,clientY:(r||t).clientY},rh=lr.clientX-h.left,oh=lr.clientY-h.top,this._lastX=(r||t).clientX,this._lastY=(r||t).clientY,Me.style["will-change"]="all",u=function(){if(An("delayEnded",i,{evt:t}),st.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Yp&&i.nativeDraggable&&(Me.draggable=!0),i._triggerDragStart(t,r),hn({sortable:i,name:"choose",originalEvent:t}),On(Me,d.chosenClass,!0)},d.ignore.split(",").forEach(function(m){Zp(Me,m.trim(),dc)}),_t(c,"dragover",sr),_t(c,"mousemove",sr),_t(c,"touchmove",sr),_t(c,"mouseup",i._onDrop),_t(c,"touchend",i._onDrop),_t(c,"touchcancel",i._onDrop),Yp&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Me.draggable=!0),An("delayStart",this,{evt:t}),d.delay&&(!d.delayOnTouchOnly||r)&&(!this.nativeDraggable||!(Bo||Si))){if(st.eventCanceled){this._onDrop();return}_t(c,"mouseup",i._disableDelayedDrag),_t(c,"touchend",i._disableDelayedDrag),_t(c,"touchcancel",i._disableDelayedDrag),_t(c,"mousemove",i._delayedDragTouchMoveHandler),_t(c,"touchmove",i._delayedDragTouchMoveHandler),d.supportPointer&&_t(c,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(u,d.delay)}else u()}},_delayedDragTouchMoveHandler:function(t){var r=t.touches?t.touches[0]:t;Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Me&&dc(Me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;vt(t,"mouseup",this._disableDelayedDrag),vt(t,"touchend",this._disableDelayedDrag),vt(t,"touchcancel",this._disableDelayedDrag),vt(t,"mousemove",this._delayedDragTouchMoveHandler),vt(t,"touchmove",this._delayedDragTouchMoveHandler),vt(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,r){r=r||t.pointerType=="touch"&&t,!this.nativeDraggable||r?this.options.supportPointer?_t(document,"pointermove",this._onTouchMove):r?_t(document,"touchmove",this._onTouchMove):_t(document,"mousemove",this._onTouchMove):(_t(Me,"dragend",this),_t(Bt,"dragstart",this._onDragStart));try{document.selection?hl(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,r){if(Lr=!1,Bt&&Me){An("dragStarted",this,{evt:r}),this.nativeDraggable&&_t(document,"dragover",GC);var o=this.options;!t&&On(Me,o.dragClass,!1),On(Me,o.ghostClass,!0),st.active=this,t&&this._appendGhost(),hn({sortable:this,name:"start",originalEvent:r})}else this._nulling()},_emulateDragOver:function(){if(Jn){this._lastX=Jn.clientX,this._lastY=Jn.clientY,ch();for(var t=document.elementFromPoint(Jn.clientX,Jn.clientY),r=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Jn.clientX,Jn.clientY),t!==r);)r=t;if(Me.parentNode[Bn]._isOutsideThisEl(t),r)do{if(r[Bn]){var o=void 0;if(o=r[Bn]._onDragOver({clientX:Jn.clientX,clientY:Jn.clientY,target:t,rootEl:r}),o&&!this.options.dragoverBubble)break}t=r}while(r=r.parentNode);uh()}},_onTouchMove:function(t){if(lr){var r=this.options,o=r.fallbackTolerance,i=r.fallbackOffset,l=t.touches?t.touches[0]:t,d=ut&&Fr(ut,!0),c=ut&&d&&d.a,u=ut&&d&&d.d,h=fl&&cn&&eh(cn),m=(l.clientX-lr.clientX+i.x)/(c||1)+(h?h[0]-lc[0]:0)/(c||1),y=(l.clientY-lr.clientY+i.y)/(u||1)+(h?h[1]-lc[1]:0)/(u||1);if(!st.active&&!Lr){if(o&&Math.max(Math.abs(l.clientX-this._lastX),Math.abs(l.clientY-this._lastY)) =0&&(hn({rootEl:Mt,name:"add",toEl:Mt,fromEl:Bt,originalEvent:t}),hn({sortable:this,name:"remove",toEl:Mt,originalEvent:t}),hn({rootEl:Mt,name:"sort",toEl:Mt,fromEl:Bt,originalEvent:t}),hn({sortable:this,name:"sort",toEl:Mt,originalEvent:t})),an&&an.save()):Rn!==Mr&&Rn>=0&&(hn({sortable:this,name:"update",toEl:Mt,originalEvent:t}),hn({sortable:this,name:"sort",toEl:Mt,originalEvent:t})),st.active&&((Rn==null||Rn===-1)&&(Rn=Mr,ji=Io),hn({sortable:this,name:"end",toEl:Mt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){An("nulling",this),Bt=Me=Mt=ut=ar=Lt=rl=Li=lr=Jn=Po=Rn=ji=Mr=Io=jr=Mo=an=ol=st.dragged=st.ghost=st.clone=st.active=null,cl.forEach(function(t){t.checked=!0}),cl.length=oc=ac=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Me&&(this._onDragOver(t),KC(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],r,o=this.el.children,i=0,l=o.length,d=this.options;i o.right+i||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+i}function XC(e,t,r,o,i,l,d,c){var u=o?e.clientY:e.clientX,h=o?r.height:r.width,m=o?r.top:r.left,y=o?r.bottom:r.right,C=!1;if(!d){if(c&&dl m+h*l/2:u y-dl)return-Mo}else if(u>m+h*(1-i)/2&&u y-h*l/2)?u>m+h/2?1:-1:0}function ZC(e){return jn(Me) e.replace(o_,(t,r)=>r.toUpperCase())),mh=["Start","Add","Remove","Update","End"],gh=["Choose","Unchoose","Sort","Filter","Clone"],vh=["Move"],l_=[vh,mh,gh].flatMap(e=>e).map(e=>`on${e}`),bc={manage:vh,manageAndEmit:mh,emit:gh};function s_(e){return l_.indexOf(e)!==-1}const d_=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function c_(e){return d_.includes(e)}function u_(e){return["transition-group","TransitionGroup"].includes(e)}function yh(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function bh(e){return e.reduce((t,[r,o])=>(t[r]=o,t),{})}function f_({$attrs:e,componentData:t={}}){return{...bh(Object.entries(e).filter(([o,i])=>yh(o))),...t}}function p_({$attrs:e,callBackBuilder:t}){const r=bh(wh(e));Object.entries(t).forEach(([i,l])=>{bc[i].forEach(d=>{r[`on${d}`]=l(d)})});const o=`[data-draggable]${r.draggable||""}`;return{...r,draggable:o}}function wh(e){return Object.entries(e).filter(([t,r])=>!yh(t)).map(([t,r])=>[a_(t),r]).filter(([t,r])=>!s_(t))}const Ch=({el:e})=>e,h_=(e,t)=>e.__draggable_context=t,_h=e=>e.__draggable_context;class m_{constructor({nodes:{header:t,default:r,footer:o},root:i,realList:l}){this.defaultNodes=r,this.children=[...t,...r,...o],this.externalComponent=i.externalComponent,this.rootTransition=i.transition,this.tag=i.tag,this.realList=l}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(t,r){const{tag:o,children:i,_isRootComponent:l}=this;return t(o,r,l?{default:()=>i}:i)}updated(){const{defaultNodes:t,realList:r}=this;t.forEach((o,i)=>{h_(Ch(o),{element:r[i],index:i})})}getUnderlyingVm(t){return _h(t)}getVmIndexFromDomIndex(t,r){const{defaultNodes:o}=this,{length:i}=o,l=r.children,d=l.item(t);if(d===null)return i;const c=_h(d);if(c)return c.index;if(i===0)return 0;const u=Ch(o[0]),h=[...l].findIndex(m=>m===u);return t g_(e,u)),{item:d}=e;if(!d)throw new Error("draggable element must have an item slot");const c=o.flatMap((u,h)=>d({element:u,index:h}).map(m=>(m.key=r(u),m.props={...m.props||{},"data-draggable":!0},m)));if(c.length!==o.length)throw new Error("Item slot must have only one child");return{header:i,footer:l,default:c}}function y_(e){const t=u_(e),r=!c_(e)&&!t;return{transition:t,externalComponent:r,tag:r?n.resolveComponent(e):t?n.TransitionGroup:e}}function b_({$slots:e,tag:t,realList:r,getKey:o}){const i=v_({$slots:e,realList:r,getKey:o}),l=y_(t);return new m_({nodes:i,root:l,realList:r})}function Eh(e,t){n.nextTick(()=>this.$emit(e.toLowerCase(),t))}function Ah(e){return(t,r)=>{if(this.realList!==null)return this[`onDrag${e}`](t,r)}}function w_(e){const t=Ah.call(this,e);return(r,o)=>{t.call(this,r,o),Eh.call(this,e,r)}}let wc=null;const C_={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},__=["update:modelValue","change",...[...bc.manageAndEmit,...bc.emit].map(e=>e.toLowerCase())],zr=n.defineComponent({name:"draggable",inheritAttrs:!1,props:C_,emits:__,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:e,$attrs:t,tag:r,componentData:o,realList:i,getKey:l}=this,d=b_({$slots:e,tag:r,realList:i,getKey:l});this.componentStructure=d;const c=f_({$attrs:t,componentData:o});return d.render(n.h,c)}catch(e){return this.error=!0,n.h("pre",{style:{color:"red"}},e.stack)}},created(){this.list!==null&&this.modelValue!==null&&i_.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:e,$el:t,componentStructure:r}=this;r.updated();const o=p_({$attrs:e,callBackBuilder:{manageAndEmit:l=>w_.call(this,l),emit:l=>Eh.bind(this,l),manage:l=>Ah.call(this,l)}}),i=t.nodeType===1?t:t.parentElement;this._sortable=new st(i,o),this.targetDomElement=i,i.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:e}=this;return e||this.modelValue},getKey(){const{itemKey:e}=this;return typeof e=="function"?e:t=>t[e]}},watch:{$attrs:{handler(e){const{_sortable:t}=this;!t||wh(e).forEach(([r,o])=>{t.option(r,o)})},deep:!0}},methods:{getUnderlyingVm(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent(e){return e.__draggable_component__},emitChanges(e){n.nextTick(()=>this.$emit("change",e))},alterList(e){if(this.list){e(this.list);return}const t=[...this.modelValue];e(t),this.$emit("update:modelValue",t)},spliceList(){const e=t=>t.splice(...arguments);this.alterList(e)},updatePosition(e,t){const r=o=>o.splice(t,0,o.splice(e,1)[0]);this.alterList(r)},getRelatedContextFromMoveEvent({to:e,related:t}){const r=this.getUnderlyingPotencialDraggableComponent(e);if(!r)return{component:r};const o=r.realList,i={list:o,component:r};return e!==t&&o?{...r.getUnderlyingVm(t)||{},...i}:i},getVmIndexFromDomIndex(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),wc=e.item},onDragAdd(e){const t=e.item._underlying_vm_;if(t===void 0)return;yc(e.item);const r=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(r,0,t);const o={element:t,newIndex:r};this.emitChanges({added:o})},onDragRemove(e){if(hh(this.$el,e.item,e.oldIndex),e.pullMode==="clone"){yc(e.clone);return}const{index:t,element:r}=this.context;this.spliceList(t,1);const o={element:r,oldIndex:t};this.emitChanges({removed:o})},onDragUpdate(e){yc(e.item),hh(e.from,e.item,e.oldIndex);const t=this.context.index,r=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(t,r);const o={element:this.context.element,oldIndex:t,newIndex:r};this.emitChanges({moved:o})},computeFutureIndex(e,t){if(!e.element)return 0;const r=[...t.to.children].filter(d=>d.style.display!=="none"),o=r.indexOf(t.related),i=e.component.getVmIndexFromDomIndex(o);return r.indexOf(wc)!==-1||!t.willInsertAfter?i:i+1},onDragMove(e,t){const{move:r,realList:o}=this;if(!r||!o)return!0;const i=this.getRelatedContextFromMoveEvent(e),l=this.computeFutureIndex(i,e),d={...this.context,futureIndex:l},c={...e,relatedContext:i,draggedContext:d};return r(c,t)},onDragEnd(){wc=null}}});function E_(){return[{name:"template",title:"\u6A21\u677F",list:[]},{name:"main",title:"\u57FA\u7840\u7EC4\u4EF6",list:[]},{name:"subform",title:"\u5B50\u8868\u5355\u7EC4\u4EF6",list:[]},{name:"container",title:"\u5BB9\u5668\u7EC4\u4EF6",list:[]},{name:"chart",title:"\u56FE\u8868\u7EC4\u4EF6",list:[]},{name:"aide",title:"\u8F85\u52A9\u7EC4\u4EF6",list:[]},{name:"layout",title:"\u5E03\u5C40\u7EC4\u4EF6",list:[]}]}var Cc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function A_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sh={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(Cc,function(){var r=1e3,o=6e4,i=36e5,l="millisecond",d="second",c="minute",u="hour",h="day",m="week",y="month",C="quarter",S="year",w="date",E="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var O=["th","st","nd","rd"],U=H%100;return"["+H+(O[(U-20)%10]||O[U]||O[0])+"]"}},x=function(H,O,U){var A=String(H);return!A||A.length>=O?H:""+Array(O+1-A.length).join(U)+H},k={s:x,z:function(H){var O=-H.utcOffset(),U=Math.abs(O),A=Math.floor(U/60),$=U%60;return(O<=0?"+":"-")+x(A,2,"0")+":"+x($,2,"0")},m:function H(O,U){if(O.date() 1)return H(Q[0])}else{var G=O.name;V[G]=O,$=G}return!A&&$&&(T=$),$||!A&&T},N=function(H,O){if(F(H))return H.clone();var U=typeof O=="object"?O:{};return U.date=H,U.args=arguments,new L(U)},B=k;B.l=M,B.i=F,B.w=function(H,O){return N(H,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var L=function(){function H(U){this.$L=M(U.locale,null,!0),this.parse(U),this.$x=this.$x||U.x||{},this[I]=!0}var O=H.prototype;return O.parse=function(U){this.$d=function(A){var $=A.date,J=A.utc;if($===null)return new Date(NaN);if(B.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var Q=$.match(b);if(Q){var G=Q[2]-1||0,Y=(Q[7]||"0").substring(0,3);return J?new Date(Date.UTC(Q[1],G,Q[3]||1,Q[4]||0,Q[5]||0,Q[6]||0,Y)):new Date(Q[1],G,Q[3]||1,Q[4]||0,Q[5]||0,Q[6]||0,Y)}}return new Date($)}(U),this.init()},O.init=function(){var U=this.$d;this.$y=U.getFullYear(),this.$M=U.getMonth(),this.$D=U.getDate(),this.$W=U.getDay(),this.$H=U.getHours(),this.$m=U.getMinutes(),this.$s=U.getSeconds(),this.$ms=U.getMilliseconds()},O.$utils=function(){return B},O.isValid=function(){return this.$d.toString()!==E},O.isSame=function(U,A){var $=N(U);return this.startOf(A)<=$&&$<=this.endOf(A)},O.isAfter=function(U,A){return N(U) {let r,o,i;try{r=e.toString().split(".")[1].length}catch{r=0}try{o=t.toString().split(".")[1].length}catch{o=0}return i=Math.pow(10,Math.max(r,o)),(e*i+t*i)/i},Sub:(e,t)=>{let r,o,i;try{r=e.toString().split(".")[1].length}catch{r=0}try{o=t.toString().split(".")[1].length}catch{o=0}i=Math.pow(10,Math.max(r,o));let l=r>=o?r:o;return Number(((e*i-t*i)/i).toFixed(l))},Mul:(e,t)=>{let r=0,o=e.toString(),i=t.toString();try{r+=o.split(".")[1].length}catch{}try{r+=i.split(".")[1].length}catch{}return Number(o.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,r)},Div:(e,t)=>{let r=0,o=0;try{r=e.toString().split(".")[1].length}catch{}try{o=t.toString().split(".")[1].length}catch{}let i=Number(e.toString().replace(".","")),l=Number(t.toString().replace(".",""));return i/l*Math.pow(10,o-r)}},x_="YYYY-MM-DD HH:mm:ss",zi=(e,t)=>e==null?t:e,jt={ADD:function(e,t){return Ur.Add(zi(e,"0"),zi(t,"0"))},SUB:function(e,t){return Ur.Sub(zi(e,"0"),zi(t,"0"))},MUL:function(e,t){return Ur.Mul(zi(e,"0"),zi(t,"0"))},DIV:function(e,t){return Ur.Div(zi(e,"0"),zi(t,"0"))},SUM:function(...e){return(e||[]).reduce((t,r)=>Ur.Add(t,Array.isArray(r)?jt.SUM(...r):r||0),0)},MAX:function(...e){const t=Array.isArray(e[0])?e[0]:e;return Math.max(...t.map(r=>parseFloat(r)).filter(r=>!isNaN(r)))},MIN:function(...e){const t=Array.isArray(e[0])?e[0]:e;return Math.min(...t.map(r=>parseFloat(r)).filter(r=>!isNaN(r)))},ABS:function(e){return parseFloat(Math.abs(e))||0},AVG:function(...e){const t=Array.isArray(e[0])?e[0]:e;return t.length?Ur.Div(jt.SUM(t),t.length):0},POWER:function(e,t){return Math.pow(parseFloat(e),parseFloat(t))},RAND:function(){return Math.random()},CEIL:function(e){return Math.ceil(parseFloat(e))||0},FLOOR:function(e){return Math.floor(parseFloat(e)||0)},FIXED:function(e,t){const r=Math.pow(10,t||0);return(Math.floor(parseFloat(e)*r)/r).toFixed(t||0)},ISNUMBER:function(e){return e===""||e===null?!1:!isNaN(Number(e))},PI:function(){return Number(Math.PI)},ROUND:function(e,t){return e=parseFloat(e),isNaN(e)?0:parseFloat(e.toFixed(parseFloat(t)||0))},SQRT:function(e){return Math.sqrt(parseFloat(e))||0},TONUMBER:function(e){return parseFloat(e)||0},MODIFYDATE:function(e,t,r,o){if(!e)return null;let i=S_(e);return t>0?i=i.add(t,r):t<0&&(i=i.subtract(-1*t,r)),i.format(o||x_)},ADDYEAR:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"y",r)},ADDMONTH:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"M",r)},ADDDAY:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"d",r)},ADDHOUR:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"h",r)},ADDMINUTE:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"m",r)},ADDSECOND:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"s",r)},ADDWEEK:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"w",r)},SUBYEAR:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"y",r)},SUBMONTH:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"M",r)},SUBDAY:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"d",r)},SUBHOUR:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"h",r)},SUBMINUTE:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"m",r)},SUBSECOND:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"s",r)},SUBWEEK:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"w",r)},NOW:function(){const e=new Date,t=e.getFullYear(),r=("0"+(e.getMonth()+1)).slice(-2),o=("0"+e.getDate()).slice(-2),i=("0"+e.getHours()).slice(-2),l=("0"+e.getMinutes()).slice(-2),d=("0"+e.getSeconds()).slice(-2);return t+"-"+r+"-"+o+" "+i+":"+l+":"+d},TODAY:function(){const e=new Date,t=e.getFullYear(),r=("0"+(e.getMonth()+1)).slice(-2),o=("0"+e.getDate()).slice(-2);return t+"-"+r+"-"+o},YEAR:function(e){return e?new Date(e).getFullYear():null},MONTH:function(e){return e?new Date(e).getMonth()+1:null},DAY:function(e){return e?new Date(e).getDate():null},HOUR:function(e){return e?new Date(e).getHours():null},MINUTE:function(e){return e?new Date(e).getMinutes():null},SECOND:function(e){return e?new Date(e).getSeconds():null},DIFFDAYS:function(e,t){const r=new Date(e),o=new Date(t);return parseInt(Math.ceil(Math.abs(o.getTime()-r.getTime())/(1e3*60*60*24)))},DIFFHOURS:function(e,t){const r=new Date(e),o=new Date(t);return parseFloat(Math.abs(o.getTime()-r.getTime())/(1e3*60*60)).toFixed(2)},DIFFMINUTES:function(e,t){const r=new Date(e),o=new Date(t);return parseInt(Math.ceil(Math.abs(o.getTime()-r.getTime())/(1e3*60)))},TIMESTAMP:function(e){return Date.parse(e)},STARTSWITH:function(e,t){return(""+e).substring(0,(""+t).length)===t},EMPTY:function(e){return dt.empty(e)},NOTEMPTY:function(e){return!dt.empty(e)},LEN:function(e){return Array.isArray(e)?e.length:0},MOD:function(e,t){return e=parseFloat(e),t=parseFloat(t),!e||!t||isNaN(e)||isNaN(t)?0:e%t},SLICELEFT:function(e,t){return(""+e).slice(0,Number(t)||0)},SLICERIGHT:function(e,t){return(""+e).slice(Number(t)*-1)},TOLOWER:function(e){return(""+e).toLowerCase()},TOUPPER:function(e){return(""+e).toUpperCase()},INCLUDES:function(e,t){return(e||"").indexOf(t||"")},REPLACE:function(e,t,r){return(e||"").replace(t||"",r||"")},REPLACEALL:function(e,t,r){return(e||"").replaceAll(t||"",r||"")},TRIM:function(e){return(e||"").trim()},TOCHINSESAMOUNT:function(e){let t=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],r=["","\u4E07","\u4EBF","\u4E07\u4EBF","\u4EBF\u4EBF"],o=["","\u62FE","\u4F70","\u4EDF"],i=["\u89D2","\u5206"];function l(C){let S="",w="",E=0,b=!0;for(;C>0;){let g=C%10;g===0?b||(b=!0,w=t[g]+w):(b=!1,S=t[g],S+=o[E],w=S+w),E++,C=Math.floor(C/10)}return w}let d=0,c="",u="",h=!1;if(e===0)return t[0];let m=Math.floor(e),y=Math.round((e-m)*100);for(;m>0;){let C=m%1e4;h&&(u=t[0]+u),c=l(C),c+=C!==0?r[d]:r[0],u=c+u,h=C<1e3&&C>0,m=Math.floor(m/1e4),d++}return u&&(u+="\u5143"),y>0?(u+=t[Math.floor(y/10)]+i[0],y%10!==0&&(u+=t[y%10]+i[1])):u&&(u+="\u6574"),u},UNION:function(...e){return(Array.isArray(e[0])?e[0]:e).filter((r,o,i)=>i.indexOf(r)===o)},AND:function(...e){return!!e.reduce((t,r)=>t&&r,!0)},OR:function(...e){return!!e.reduce((t,r)=>t||r,!1)},IF:function(e,t=!0,r=!1){return e?t:r},DEFAULT:function(e,t){return dt.Undef(e)?t:e},CASE:function(...e){for(let t=0;t -1},FALSE:function(){return!1},TRUE:function(){return!0},NOT:function(e){return!e},EQ:function(e,t){return e===t},GE:function(e,t){return e>=t},GT:function(e,t){return e>t},LE:function(e,t){return e<=t},LT:function(e,t){return e {let r=[e];const o=t.split(".");let i=1;for(;o[i];){let l=[];r.forEach(d=>{Object.values(d.ctxs).forEach(c=>{if(c.rule._fc_id===o[i-1]){const u=d.subForm[c.id];l.push(...Array.isArray(u)?u:[u])}})}),r=l.map(d=>d.rule[0].__fc__.$handle),i++}return[r,o[i-1]]},vl=(e,t,r)=>{const o=e.vm.setupState.top.setupState.fc.$handle;let i=[e.$handle];e.$handle!==o&&i.push(o);let l=t;t.indexOf(".")>-1&&([i,l]=k_(o,t)),i.forEach(d=>{Object.values(d.ctxs).forEach(c=>{c.rule._fc_id===l&&r(c.rule,d.api)})})},Ec={openModel(e,t){t.api.open(e.model)},closeModel(e,t){t.api.close(e.model)},hidden(e,t,r){const o=typeof e.id=="string"?[e.id]:e.id||[];let i=!!e.status;e.compute&&(i=!!r.$handle.compute(t.self.__fc__,e.formula)),o.forEach(l=>{vl(r,l,d=>{d.hidden=i})})},disabled(e,t,r){const o=typeof e.id=="string"?[e.id]:e.id||[];let i=!!e.status;e.compute&&(i=!!r.$handle.compute(t.self.__fc__,e.formula)),o.forEach(l=>{vl(r,l,d=>{d.props||(d.props={}),d.props.disabled=i})})},resetFields(e,t){t.api.top.resetFields()},clearFields(e,t){t.api.top.coverValue({})},validate(e,t){return t.api.top.validate()},validateFields(e,t,r){const o=typeof e.id=="string"?[e.id]:e.id||[],i=[];return o.forEach(l=>{vl(r,l,(d,c)=>{d.field&&i.push(c.validateField(d.field))})}),i.length?Promise.all(i):void 0},submit(e,t){return t.api.top.submit()},setValue(e,t,r){(e.formData||[]).forEach(o=>{let i=o.value;o.compute&&(i=r.$handle.compute(t.self.__fc__,o.formula)),vl(r,o.id,l=>{l.value=i})})},fetch(e,t){const{append:r,response:o,fetch:i}=e;return r&&(i.data={...t.api.formData(),...i.data||{}}),new Promise((l,d)=>{t.api.fetch(e.fetch).then(c=>{o&&t.api.setData(o,c),l(c)}).catch(c=>{d(c)})})},copy(e,t,r){let o=e.content||"";e.compute&&(o=r.$handle.compute(t.self.__fc__,e.formula)),di(o)},callback(e,t){return e.callback&&e.callback(t)},message(e){ai.ElMessage(e||{})}},kh=[{key:"model",children:["openModel","closeModel","message"]},{key:"form",children:["hidden","disabled","resetFields","clearFields","setValue","validate","validateFields","submit"]},{key:"other",children:["fetch","copy","callback"]}],Nh={openModel(e){return[{type:"select",field:"model",$required:!0,options:e.pageData.filter(t=>!t.default).map(t=>{const r=t.main._menu;return{label:$r(t.main,t.config.labelField,"")||e.t("com."+r.name+".name")||r.label,value:t.main.name}})}]},message(e){return[{type:"radio",field:"type",value:"info",props:{type:"button"},options:it(e.t,["info","warning","success","error"].map(t=>({label:t,value:t})))},{type:"input",$required:!0,field:"message"},{type:"inputNumber",field:"duration",props:{precision:0,controlsPosition:"right"}},{type:"switch",field:"showClose"}]},hidden(e){const t=e.t;return[{type:"RuleSelect",field:"id",$required:!0,props:{multiple:!0}},{type:"radio",field:"compute",value:!1,options:[{label:t("behavior.props.static"),value:!1},{label:t("behavior.props.formula"),value:!0}],control:[{value:!1,rule:[{type:"radio",field:"status",value:!0,options:[{label:t("props.show"),value:!1},{label:t("props.hide"),value:!0}]}]},{value:!0,rule:[{type:"ComputedConfig",field:"formula",$required:!0,props:{btn:t("behavior.props.setFormula"),title:t("behavior.props.setFormula"),name:t("behavior.props.setFormula"),invertLabel:t("props.show"),validLabel:t("props.hide")}}]}]}]},disabled(e){const t=e.t;return[{type:"RuleSelect",field:"id",$required:!0,props:{onlyField:!0,multiple:!0}},{type:"radio",field:"compute",value:!1,options:[{label:t("behavior.props.static"),value:!1},{label:t("behavior.props.formula"),value:!0}],control:[{value:!1,rule:[{type:"radio",field:"status",value:!0,options:[{label:t("props.enable"),value:!1},{label:t("props.disabled"),value:!0}]}]},{value:!0,rule:[{type:"ComputedConfig",field:"formula",$required:!0,props:{title:t("behavior.props.setFormula"),invertLabel:t("props.enable"),validLabel:t("props.disabled")}}]}]}]},validateFields(){return[{type:"RuleSelect",field:"id",$required:!0,props:{onlyField:!0,multiple:!0}}]},setValue(e){const t=e.t;return[{type:"group",field:"formData",props:{expand:1,rule:[{type:"RuleSelect",field:"id",title:t("behavior.props.id"),$required:!0,props:{onlyField:!0}},{type:"radio",field:"compute",value:!1,title:t("behavior.props.compute"),options:[{label:t("behavior.props.static"),value:!1},{label:t("behavior.props.formula"),value:!0}],control:[{value:!1,rule:[{type:"ValueInput",field:"value",title:t("props.value"),$required:!0}]},{value:!0,rule:[{type:"ComputedConfig",field:"formula",title:t("behavior.props.formula"),$required:!0,props:{type:"value",title:t("behavior.props.setFormula"),invertLabel:t("props.show"),validLabel:t("props.hide")}}]}]}]}}]},fetch(){return[{type:"FetchConfig",field:"fetch",$required:!0},{type:"switch",field:"append",value:!1},{type:"input",field:"response",value:"res_"+He()}]},copy(e){const t=e.t;return[{type:"radio",field:"compute",value:!1,options:[{label:t("behavior.props.static"),value:!1},{label:t("behavior.props.formula"),value:!0}],control:[{value:!1,rule:[{type:"input",field:"content",$required:!0,props:{type:"textarea"},options:[{label:t("props.enable"),value:!1},{label:t("props.disabled"),value:!0}]}]},{value:!0,rule:[{type:"ComputedConfig",field:"formula",$required:!0,props:{type:"value",title:t("behavior.props.setFormula"),invertLabel:t("props.enable"),validLabel:t("props.disabled")}}]}]}]},callback(e){return[{type:"FnInput",field:"callback",$required:!0,props:{name:"callback",args:[on(e.t)]}}]}};function N_(e,t){return e.reduce((r,o)=>r.then(()=>o(t)),Promise.resolve())}const Th=function(e){return{name:"behavior",load(t,r){const o=t.getValue(),i={},l={};o&&Object.keys(o).forEach(d=>{if(Array.isArray(o[d])){const c=[];if(o[d].forEach(u=>{const{method:h,config:m,expression:y,stopPropagation:C,ignoreError:S}=u;c.push(w=>new Promise(E=>{if(y&&e.$handle.compute(r.__fc__,y)===!1){E();return}const b=(..._)=>{(!C||e.$handle.compute(r.__fc__,C)!==!0)&&E(..._)};let g;try{g=Ec[h](m||{},w,e)}catch(_){console.error(_),S!==!1&&b();return}g&&g.then?g.then(b).catch(()=>{S!==!1&&b()}):b(g)}))}),c.length){const u=e.$handle.inject(r,function(h){N_(c,h)},r.inject||e.$handle.options.injectEvent);d.indexOf("hook_")>-1?l[d.replace("hook_","")]=u:i[d]=u}}}),t.getProp().on=i,t.getProp().hook=l}}},Uo={name:"easySlots",load(e){const t=e.getValue(),r={};t&&Object.keys(t).forEach(o=>{r[o]=t[o].type==="icon"?{type:"i",class:"fc-icon iconfont "+t[o].value}:{type:"div",children:[""+(t[o].value||"")]}}),e.getProp().renderSlots=r}};Uo.watch=Uo.load;const T_=Object.assign||function(e){for(let t,r=1;r {yl(Ec,t)},e.extendApi(t=>({open(r,...o){(t.el(r)||t.top.el(r)).open(...o)},close(r){r?(t.el(r)||t.top.el(r)).close():(t.top.bus.$emit("fc.closeDialog"),t!==t.top&&t.bus.$emit("fc.closeDialog"))}}))}function Dh(e){e.extendApi(t=>({message(r){return ai.ElMessage(r||{})}}))}Ua.default.parser().preview=Tb,Object.keys(jt).forEach(e=>{Ua.default.setFormula(e,jt[e])});const Sn=Ua.default,Le=Ua.default.factory();Ac(Sn),Dh(Sn),Ac(Le),Dh(Le),Sn.register("behavior",Th),Sn.register("easySlots",Uo),Le.register("easySlots",Uo);/*! + */function Kp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function ci(e){for(var t=1;t =0)&&(r[i]=e[i]);return r}function VC(e,t){if(e==null)return{};var r=DC(e,t),o,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i =0)&&(!Object.prototype.propertyIsEnumerable.call(e,o)||(r[o]=e[o]))}return r}var OC="1.14.0";function Ai(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Si=Ai(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Bo=Ai(/Edge/i),Yp=Ai(/firefox/i),Ro=Ai(/safari/i)&&!Ai(/chrome/i)&&!Ai(/android/i),Qp=Ai(/iP(ad|od|hone)/i),BC=Ai(/chrome/i)&&Ai(/android/i),Jp={capture:!1,passive:!1};function _t(e,t,r){e.addEventListener(t,r,!Si&&Jp)}function vt(e,t,r){e.removeEventListener(t,r,!Si&&Jp)}function il(e,t){if(!!t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function RC(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function ui(e,t,r,o){if(e){r=r||document;do{if(t!=null&&(t[0]===">"?e.parentNode===r&&il(e,t):il(e,t))||o&&e===r)return e;if(e===r)break}while(e=RC(e))}return null}var Xp=/\s+/g;function On(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(Xp," ").replace(" "+t+" "," ");e.className=(o+(r?" "+t:"")).replace(Xp," ")}}function lt(e,t,r){var o=e&&e.style;if(o){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),t===void 0?r:r[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=r+(typeof r=="string"?"":"px")}}function Ir(e,t){var r="";if(typeof e=="string")r=e;else do{var o=lt(e,"transform");o&&o!=="none"&&(r=o+" "+r)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(r)}function Zp(e,t,r){if(e){var o=e.getElementsByTagName(t),i=0,l=o.length;if(r)for(;i =l:d=i<=l,!d)return o;if(o===fi())break;o=Mi(o,!1)}return!1}function Fr(e,t,r,o){for(var i=0,l=0,d=e.children;l 2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,l=VC(o,zC);Io.pluginEvent.bind(st)(t,r,ci({dragEl:je,parentEl:Mt,ghostEl:ut,rootEl:Bt,nextEl:ar,lastDownEl:rl,cloneEl:Lt,cloneHidden:Li,dragStarted:Po,putSortable:an,activeSortable:st.active,originalEvent:i,oldIndex:Mr,oldDraggableIndex:Fo,newIndex:Rn,newDraggableIndex:ji,hideGhostForTarget:ch,unhideGhostForTarget:uh,cloneNowHidden:function(){Li=!0},cloneNowShown:function(){Li=!1},dispatchSortableEvent:function(c){hn({sortable:r,name:c,originalEvent:i})}},l))};function hn(e){jC(ci({putSortable:an,cloneEl:Lt,targetEl:je,rootEl:Bt,oldIndex:Mr,oldDraggableIndex:Fo,newIndex:Rn,newDraggableIndex:ji},e))}var je,Mt,ut,Bt,ar,rl,Lt,Li,Mr,Rn,Fo,ji,ol,an,Lr=!1,al=!1,ll=[],lr,Jn,oc,ac,rh,oh,Po,jr,Mo,Lo=!1,sl=!1,dl,cn,lc=[],sc=!1,cl=[],ul=typeof document<"u",fl=Qp,ah=Bo||Si?"cssFloat":"float",UC=ul&&!BC&&!Qp&&"draggable"in document.createElement("div"),lh=function(){if(!!ul){if(Si)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),sh=function(t,r){var o=lt(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),l=Fr(t,0,r),d=Fr(t,1,r),c=l&<(l),u=d&<(d),h=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+Qt(l).width,m=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+Qt(d).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(l&&c.float&&c.float!=="none"){var y=c.float==="left"?"left":"right";return d&&(u.clear==="both"||u.clear===y)?"vertical":"horizontal"}return l&&(c.display==="block"||c.display==="flex"||c.display==="table"||c.display==="grid"||h>=i&&o[ah]==="none"||d&&o[ah]==="none"&&h+m>i)?"vertical":"horizontal"},HC=function(t,r,o){var i=o?t.left:t.top,l=o?t.right:t.bottom,d=o?t.width:t.height,c=o?r.left:r.top,u=o?r.right:r.bottom,h=o?r.width:r.height;return i===c||l===u||i+d/2===c+h/2},WC=function(t,r){var o;return ll.some(function(i){var l=i[Bn].options.emptyInsertThreshold;if(!(!l||nc(i))){var d=Qt(i),c=t>=d.left-l&&t<=d.right+l,u=r>=d.top-l&&r<=d.bottom+l;if(c&&u)return o=i}}),o},dh=function(t){function r(l,d){return function(c,u,h,m){var y=c.options.group.name&&u.options.group.name&&c.options.group.name===u.options.group.name;if(l==null&&(d||y))return!0;if(l==null||l===!1)return!1;if(d&&l==="clone")return l;if(typeof l=="function")return r(l(c,u,h,m),d)(c,u,h,m);var C=(d?c:u).options.group.name;return l===!0||typeof l=="string"&&l===C||l.join&&l.indexOf(C)>-1}}var o={},i=t.group;(!i||nl(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=r(i.pull,!0),o.checkPut=r(i.put),o.revertClone=i.revertClone,t.group=o},ch=function(){!lh&&ut&<(ut,"display","none")},uh=function(){!lh&&ut&<(ut,"display","")};ul&&document.addEventListener("click",function(e){if(al)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),al=!1,!1},!0);var sr=function(t){if(je){t=t.touches?t.touches[0]:t;var r=WC(t.clientX,t.clientY);if(r){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=r,o.preventDefault=void 0,o.stopPropagation=void 0,r[Bn]._onDragOver(o)}}},GC=function(t){je&&je.parentNode[Bn]._isOutsideThisEl(t.target)};function st(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Ei({},t),e[Bn]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sh(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(d,c){d.setData("Text",c.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:st.supportPointer!==!1&&"PointerEvent"in window&&!Ro,emptyInsertThreshold:5};Io.initializePlugins(this,e,r);for(var o in r)!(o in t)&&(t[o]=r[o]);dh(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:UC,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?_t(e,"pointerdown",this._onTapStart):(_t(e,"mousedown",this._onTapStart),_t(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(_t(e,"dragover",this),_t(e,"dragenter",this)),ll.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ei(this,PC())}st.prototype={constructor:st,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(jr=null)},_getDirection:function(t,r){return typeof this.options.direction=="function"?this.options.direction.call(this,t,r,je):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var r=this,o=this.el,i=this.options,l=i.preventOnFilter,d=t.type,c=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,u=(c||t).target,h=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,m=i.filter;if(e_(o),!je&&!(/mousedown|pointerdown/.test(d)&&t.button!==0||i.disabled)&&!h.isContentEditable&&!(!this.nativeDraggable&&Ro&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=ui(u,i.draggable,o,!1),!(u&&u.animated)&&rl!==u)){if(Mr=jn(u),Fo=jn(u,i.draggable),typeof m=="function"){if(m.call(this,t,u,this)){hn({sortable:r,rootEl:h,name:"filter",targetEl:u,toEl:o,fromEl:o}),An("filter",r,{evt:t}),l&&t.cancelable&&t.preventDefault();return}}else if(m&&(m=m.split(",").some(function(y){if(y=ui(h,y.trim(),o,!1),y)return hn({sortable:r,rootEl:y,name:"filter",targetEl:u,fromEl:o,toEl:o}),An("filter",r,{evt:t}),!0}),m)){l&&t.cancelable&&t.preventDefault();return}i.handle&&!ui(h,i.handle,o,!1)||this._prepareDragStart(t,c,u)}}},_prepareDragStart:function(t,r,o){var i=this,l=i.el,d=i.options,c=l.ownerDocument,u;if(o&&!je&&o.parentNode===l){var h=Qt(o);if(Bt=l,je=o,Mt=je.parentNode,ar=je.nextSibling,rl=o,ol=d.group,st.dragged=je,lr={target:je,clientX:(r||t).clientX,clientY:(r||t).clientY},rh=lr.clientX-h.left,oh=lr.clientY-h.top,this._lastX=(r||t).clientX,this._lastY=(r||t).clientY,je.style["will-change"]="all",u=function(){if(An("delayEnded",i,{evt:t}),st.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Yp&&i.nativeDraggable&&(je.draggable=!0),i._triggerDragStart(t,r),hn({sortable:i,name:"choose",originalEvent:t}),On(je,d.chosenClass,!0)},d.ignore.split(",").forEach(function(m){Zp(je,m.trim(),dc)}),_t(c,"dragover",sr),_t(c,"mousemove",sr),_t(c,"touchmove",sr),_t(c,"mouseup",i._onDrop),_t(c,"touchend",i._onDrop),_t(c,"touchcancel",i._onDrop),Yp&&this.nativeDraggable&&(this.options.touchStartThreshold=4,je.draggable=!0),An("delayStart",this,{evt:t}),d.delay&&(!d.delayOnTouchOnly||r)&&(!this.nativeDraggable||!(Bo||Si))){if(st.eventCanceled){this._onDrop();return}_t(c,"mouseup",i._disableDelayedDrag),_t(c,"touchend",i._disableDelayedDrag),_t(c,"touchcancel",i._disableDelayedDrag),_t(c,"mousemove",i._delayedDragTouchMoveHandler),_t(c,"touchmove",i._delayedDragTouchMoveHandler),d.supportPointer&&_t(c,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(u,d.delay)}else u()}},_delayedDragTouchMoveHandler:function(t){var r=t.touches?t.touches[0]:t;Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){je&&dc(je),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;vt(t,"mouseup",this._disableDelayedDrag),vt(t,"touchend",this._disableDelayedDrag),vt(t,"touchcancel",this._disableDelayedDrag),vt(t,"mousemove",this._delayedDragTouchMoveHandler),vt(t,"touchmove",this._delayedDragTouchMoveHandler),vt(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,r){r=r||t.pointerType=="touch"&&t,!this.nativeDraggable||r?this.options.supportPointer?_t(document,"pointermove",this._onTouchMove):r?_t(document,"touchmove",this._onTouchMove):_t(document,"mousemove",this._onTouchMove):(_t(je,"dragend",this),_t(Bt,"dragstart",this._onDragStart));try{document.selection?hl(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,r){if(Lr=!1,Bt&&je){An("dragStarted",this,{evt:r}),this.nativeDraggable&&_t(document,"dragover",GC);var o=this.options;!t&&On(je,o.dragClass,!1),On(je,o.ghostClass,!0),st.active=this,t&&this._appendGhost(),hn({sortable:this,name:"start",originalEvent:r})}else this._nulling()},_emulateDragOver:function(){if(Jn){this._lastX=Jn.clientX,this._lastY=Jn.clientY,ch();for(var t=document.elementFromPoint(Jn.clientX,Jn.clientY),r=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Jn.clientX,Jn.clientY),t!==r);)r=t;if(je.parentNode[Bn]._isOutsideThisEl(t),r)do{if(r[Bn]){var o=void 0;if(o=r[Bn]._onDragOver({clientX:Jn.clientX,clientY:Jn.clientY,target:t,rootEl:r}),o&&!this.options.dragoverBubble)break}t=r}while(r=r.parentNode);uh()}},_onTouchMove:function(t){if(lr){var r=this.options,o=r.fallbackTolerance,i=r.fallbackOffset,l=t.touches?t.touches[0]:t,d=ut&&Ir(ut,!0),c=ut&&d&&d.a,u=ut&&d&&d.d,h=fl&&cn&&eh(cn),m=(l.clientX-lr.clientX+i.x)/(c||1)+(h?h[0]-lc[0]:0)/(c||1),y=(l.clientY-lr.clientY+i.y)/(u||1)+(h?h[1]-lc[1]:0)/(u||1);if(!st.active&&!Lr){if(o&&Math.max(Math.abs(l.clientX-this._lastX),Math.abs(l.clientY-this._lastY)) =0&&(hn({rootEl:Mt,name:"add",toEl:Mt,fromEl:Bt,originalEvent:t}),hn({sortable:this,name:"remove",toEl:Mt,originalEvent:t}),hn({rootEl:Mt,name:"sort",toEl:Mt,fromEl:Bt,originalEvent:t}),hn({sortable:this,name:"sort",toEl:Mt,originalEvent:t})),an&&an.save()):Rn!==Mr&&Rn>=0&&(hn({sortable:this,name:"update",toEl:Mt,originalEvent:t}),hn({sortable:this,name:"sort",toEl:Mt,originalEvent:t})),st.active&&((Rn==null||Rn===-1)&&(Rn=Mr,ji=Fo),hn({sortable:this,name:"end",toEl:Mt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){An("nulling",this),Bt=je=Mt=ut=ar=Lt=rl=Li=lr=Jn=Po=Rn=ji=Mr=Fo=jr=Mo=an=ol=st.dragged=st.ghost=st.clone=st.active=null,cl.forEach(function(t){t.checked=!0}),cl.length=oc=ac=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":je&&(this._onDragOver(t),KC(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],r,o=this.el.children,i=0,l=o.length,d=this.options;i o.right+i||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+i}function XC(e,t,r,o,i,l,d,c){var u=o?e.clientY:e.clientX,h=o?r.height:r.width,m=o?r.top:r.left,y=o?r.bottom:r.right,C=!1;if(!d){if(c&&dl m+h*l/2:u y-dl)return-Mo}else if(u>m+h*(1-i)/2&&u y-h*l/2)?u>m+h/2?1:-1:0}function ZC(e){return jn(je) e.replace(o_,(t,r)=>r.toUpperCase())),mh=["Start","Add","Remove","Update","End"],gh=["Choose","Unchoose","Sort","Filter","Clone"],vh=["Move"],l_=[vh,mh,gh].flatMap(e=>e).map(e=>`on${e}`),bc={manage:vh,manageAndEmit:mh,emit:gh};function s_(e){return l_.indexOf(e)!==-1}const d_=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function c_(e){return d_.includes(e)}function u_(e){return["transition-group","TransitionGroup"].includes(e)}function yh(e){return["id","class","role","style"].includes(e)||e.startsWith("data-")||e.startsWith("aria-")||e.startsWith("on")}function bh(e){return e.reduce((t,[r,o])=>(t[r]=o,t),{})}function f_({$attrs:e,componentData:t={}}){return{...bh(Object.entries(e).filter(([o,i])=>yh(o))),...t}}function p_({$attrs:e,callBackBuilder:t}){const r=bh(wh(e));Object.entries(t).forEach(([i,l])=>{bc[i].forEach(d=>{r[`on${d}`]=l(d)})});const o=`[data-draggable]${r.draggable||""}`;return{...r,draggable:o}}function wh(e){return Object.entries(e).filter(([t,r])=>!yh(t)).map(([t,r])=>[a_(t),r]).filter(([t,r])=>!s_(t))}const Ch=({el:e})=>e,h_=(e,t)=>e.__draggable_context=t,_h=e=>e.__draggable_context;class m_{constructor({nodes:{header:t,default:r,footer:o},root:i,realList:l}){this.defaultNodes=r,this.children=[...t,...r,...o],this.externalComponent=i.externalComponent,this.rootTransition=i.transition,this.tag=i.tag,this.realList=l}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(t,r){const{tag:o,children:i,_isRootComponent:l}=this;return t(o,r,l?{default:()=>i}:i)}updated(){const{defaultNodes:t,realList:r}=this;t.forEach((o,i)=>{h_(Ch(o),{element:r[i],index:i})})}getUnderlyingVm(t){return _h(t)}getVmIndexFromDomIndex(t,r){const{defaultNodes:o}=this,{length:i}=o,l=r.children,d=l.item(t);if(d===null)return i;const c=_h(d);if(c)return c.index;if(i===0)return 0;const u=Ch(o[0]),h=[...l].findIndex(m=>m===u);return t g_(e,u)),{item:d}=e;if(!d)throw new Error("draggable element must have an item slot");const c=o.flatMap((u,h)=>d({element:u,index:h}).map(m=>(m.key=r(u),m.props={...m.props||{},"data-draggable":!0},m)));if(c.length!==o.length)throw new Error("Item slot must have only one child");return{header:i,footer:l,default:c}}function y_(e){const t=u_(e),r=!c_(e)&&!t;return{transition:t,externalComponent:r,tag:r?n.resolveComponent(e):t?n.TransitionGroup:e}}function b_({$slots:e,tag:t,realList:r,getKey:o}){const i=v_({$slots:e,realList:r,getKey:o}),l=y_(t);return new m_({nodes:i,root:l,realList:r})}function Eh(e,t){n.nextTick(()=>this.$emit(e.toLowerCase(),t))}function Ah(e){return(t,r)=>{if(this.realList!==null)return this[`onDrag${e}`](t,r)}}function w_(e){const t=Ah.call(this,e);return(r,o)=>{t.call(this,r,o),Eh.call(this,e,r)}}let wc=null;const C_={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},__=["update:modelValue","change",...[...bc.manageAndEmit,...bc.emit].map(e=>e.toLowerCase())],zr=n.defineComponent({name:"draggable",inheritAttrs:!1,props:C_,emits:__,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:e,$attrs:t,tag:r,componentData:o,realList:i,getKey:l}=this,d=b_({$slots:e,tag:r,realList:i,getKey:l});this.componentStructure=d;const c=f_({$attrs:t,componentData:o});return d.render(n.h,c)}catch(e){return this.error=!0,n.h("pre",{style:{color:"red"}},e.stack)}},created(){this.list!==null&&this.modelValue!==null&&i_.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:e,$el:t,componentStructure:r}=this;r.updated();const o=p_({$attrs:e,callBackBuilder:{manageAndEmit:l=>w_.call(this,l),emit:l=>Eh.bind(this,l),manage:l=>Ah.call(this,l)}}),i=t.nodeType===1?t:t.parentElement;this._sortable=new st(i,o),this.targetDomElement=i,i.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:e}=this;return e||this.modelValue},getKey(){const{itemKey:e}=this;return typeof e=="function"?e:t=>t[e]}},watch:{$attrs:{handler(e){const{_sortable:t}=this;!t||wh(e).forEach(([r,o])=>{t.option(r,o)})},deep:!0}},methods:{getUnderlyingVm(e){return this.componentStructure.getUnderlyingVm(e)||null},getUnderlyingPotencialDraggableComponent(e){return e.__draggable_component__},emitChanges(e){n.nextTick(()=>this.$emit("change",e))},alterList(e){if(this.list){e(this.list);return}const t=[...this.modelValue];e(t),this.$emit("update:modelValue",t)},spliceList(){const e=t=>t.splice(...arguments);this.alterList(e)},updatePosition(e,t){const r=o=>o.splice(t,0,o.splice(e,1)[0]);this.alterList(r)},getRelatedContextFromMoveEvent({to:e,related:t}){const r=this.getUnderlyingPotencialDraggableComponent(e);if(!r)return{component:r};const o=r.realList,i={list:o,component:r};return e!==t&&o?{...r.getUnderlyingVm(t)||{},...i}:i},getVmIndexFromDomIndex(e){return this.componentStructure.getVmIndexFromDomIndex(e,this.targetDomElement)},onDragStart(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),wc=e.item},onDragAdd(e){const t=e.item._underlying_vm_;if(t===void 0)return;yc(e.item);const r=this.getVmIndexFromDomIndex(e.newIndex);this.spliceList(r,0,t);const o={element:t,newIndex:r};this.emitChanges({added:o})},onDragRemove(e){if(hh(this.$el,e.item,e.oldIndex),e.pullMode==="clone"){yc(e.clone);return}const{index:t,element:r}=this.context;this.spliceList(t,1);const o={element:r,oldIndex:t};this.emitChanges({removed:o})},onDragUpdate(e){yc(e.item),hh(e.from,e.item,e.oldIndex);const t=this.context.index,r=this.getVmIndexFromDomIndex(e.newIndex);this.updatePosition(t,r);const o={element:this.context.element,oldIndex:t,newIndex:r};this.emitChanges({moved:o})},computeFutureIndex(e,t){if(!e.element)return 0;const r=[...t.to.children].filter(d=>d.style.display!=="none"),o=r.indexOf(t.related),i=e.component.getVmIndexFromDomIndex(o);return r.indexOf(wc)!==-1||!t.willInsertAfter?i:i+1},onDragMove(e,t){const{move:r,realList:o}=this;if(!r||!o)return!0;const i=this.getRelatedContextFromMoveEvent(e),l=this.computeFutureIndex(i,e),d={...this.context,futureIndex:l},c={...e,relatedContext:i,draggedContext:d};return r(c,t)},onDragEnd(){wc=null}}});function E_(){return[{name:"template",title:"\u6A21\u677F",list:[]},{name:"main",title:"\u57FA\u7840\u7EC4\u4EF6",list:[]},{name:"subform",title:"\u5B50\u8868\u5355\u7EC4\u4EF6",list:[]},{name:"container",title:"\u5BB9\u5668\u7EC4\u4EF6",list:[]},{name:"chart",title:"\u56FE\u8868\u7EC4\u4EF6",list:[]},{name:"aide",title:"\u8F85\u52A9\u7EC4\u4EF6",list:[]},{name:"layout",title:"\u5E03\u5C40\u7EC4\u4EF6",list:[]}]}var Cc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function A_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sh={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(Cc,function(){var r=1e3,o=6e4,i=36e5,l="millisecond",d="second",c="minute",u="hour",h="day",m="week",y="month",C="quarter",S="year",w="date",E="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var R=["th","st","nd","rd"],z=H%100;return"["+H+(R[(z-20)%10]||R[z]||R[0])+"]"}},x=function(H,R,z){var $=String(H);return!$||$.length>=R?H:""+Array(R+1-$.length).join(z)+H},k={s:x,z:function(H){var R=-H.utcOffset(),z=Math.abs(R),$=Math.floor(z/60),A=z%60;return(R<=0?"+":"-")+x($,2,"0")+":"+x(A,2,"0")},m:function H(R,z){if(R.date() 1)return H(Q[0])}else{var G=R.name;O[G]=R,A=G}return!$&&A&&(T=A),A||!$&&T},N=function(H,R){if(I(H))return H.clone();var z=typeof R=="object"?R:{};return z.date=H,z.args=arguments,new L(z)},B=k;B.l=M,B.i=I,B.w=function(H,R){return N(H,{locale:R.$L,utc:R.$u,x:R.$x,$offset:R.$offset})};var L=function(){function H(z){this.$L=M(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[F]=!0}var R=H.prototype;return R.parse=function(z){this.$d=function($){var A=$.date,J=$.utc;if(A===null)return new Date(NaN);if(B.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var Q=A.match(b);if(Q){var G=Q[2]-1||0,ie=(Q[7]||"0").substring(0,3);return J?new Date(Date.UTC(Q[1],G,Q[3]||1,Q[4]||0,Q[5]||0,Q[6]||0,ie)):new Date(Q[1],G,Q[3]||1,Q[4]||0,Q[5]||0,Q[6]||0,ie)}}return new Date(A)}(z),this.init()},R.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},R.$utils=function(){return B},R.isValid=function(){return this.$d.toString()!==E},R.isSame=function(z,$){var A=N(z);return this.startOf($)<=A&&A<=this.endOf($)},R.isAfter=function(z,$){return N(z) {let r,o,i;try{r=e.toString().split(".")[1].length}catch{r=0}try{o=t.toString().split(".")[1].length}catch{o=0}return i=Math.pow(10,Math.max(r,o)),(e*i+t*i)/i},Sub:(e,t)=>{let r,o,i;try{r=e.toString().split(".")[1].length}catch{r=0}try{o=t.toString().split(".")[1].length}catch{o=0}i=Math.pow(10,Math.max(r,o));let l=r>=o?r:o;return Number(((e*i-t*i)/i).toFixed(l))},Mul:(e,t)=>{let r=0,o=e.toString(),i=t.toString();try{r+=o.split(".")[1].length}catch{}try{r+=i.split(".")[1].length}catch{}return Number(o.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,r)},Div:(e,t)=>{let r=0,o=0;try{r=e.toString().split(".")[1].length}catch{}try{o=t.toString().split(".")[1].length}catch{}let i=Number(e.toString().replace(".","")),l=Number(t.toString().replace(".",""));return i/l*Math.pow(10,o-r)}},x_="YYYY-MM-DD HH:mm:ss",zi=(e,t)=>e==null?t:e,jt={ADD:function(e,t){return Ur.Add(zi(e,"0"),zi(t,"0"))},SUB:function(e,t){return Ur.Sub(zi(e,"0"),zi(t,"0"))},MUL:function(e,t){return Ur.Mul(zi(e,"0"),zi(t,"0"))},DIV:function(e,t){return Ur.Div(zi(e,"0"),zi(t,"0"))},SUM:function(...e){return(e||[]).reduce((t,r)=>Ur.Add(t,Array.isArray(r)?jt.SUM(...r):r||0),0)},MAX:function(...e){const t=Array.isArray(e[0])?e[0]:e;return Math.max(...t.map(r=>parseFloat(r)).filter(r=>!isNaN(r)))},MIN:function(...e){const t=Array.isArray(e[0])?e[0]:e;return Math.min(...t.map(r=>parseFloat(r)).filter(r=>!isNaN(r)))},ABS:function(e){return parseFloat(Math.abs(e))||0},AVG:function(...e){const t=Array.isArray(e[0])?e[0]:e;return t.length?Ur.Div(jt.SUM(t),t.length):0},POWER:function(e,t){return Math.pow(parseFloat(e),parseFloat(t))},RAND:function(){return Math.random()},CEIL:function(e){return Math.ceil(parseFloat(e))||0},FLOOR:function(e){return Math.floor(parseFloat(e)||0)},FIXED:function(e,t){const r=Math.pow(10,t||0);return(Math.floor(parseFloat(e)*r)/r).toFixed(t||0)},ISNUMBER:function(e){return e===""||e===null?!1:!isNaN(Number(e))},PI:function(){return Number(Math.PI)},ROUND:function(e,t){return e=parseFloat(e),isNaN(e)?0:parseFloat(e.toFixed(parseFloat(t)||0))},SQRT:function(e){return Math.sqrt(parseFloat(e))||0},TONUMBER:function(e){return parseFloat(e)||0},MODIFYDATE:function(e,t,r,o){if(!e)return null;let i=S_(e);return t>0?i=i.add(t,r):t<0&&(i=i.subtract(-1*t,r)),i.format(o||x_)},ADDYEAR:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"y",r)},ADDMONTH:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"M",r)},ADDDAY:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"d",r)},ADDHOUR:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"h",r)},ADDMINUTE:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"m",r)},ADDSECOND:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"s",r)},ADDWEEK:function(e,t,r){return jt.MODIFYDATE(e,Math.max(t,0),"w",r)},SUBYEAR:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"y",r)},SUBMONTH:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"M",r)},SUBDAY:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"d",r)},SUBHOUR:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"h",r)},SUBMINUTE:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"m",r)},SUBSECOND:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"s",r)},SUBWEEK:function(e,t,r){return t=Math.max(t,0),jt.MODIFYDATE(e,t>0?-1*t:0,"w",r)},NOW:function(){const e=new Date,t=e.getFullYear(),r=("0"+(e.getMonth()+1)).slice(-2),o=("0"+e.getDate()).slice(-2),i=("0"+e.getHours()).slice(-2),l=("0"+e.getMinutes()).slice(-2),d=("0"+e.getSeconds()).slice(-2);return t+"-"+r+"-"+o+" "+i+":"+l+":"+d},TODAY:function(){const e=new Date,t=e.getFullYear(),r=("0"+(e.getMonth()+1)).slice(-2),o=("0"+e.getDate()).slice(-2);return t+"-"+r+"-"+o},YEAR:function(e){return e?new Date(e).getFullYear():null},MONTH:function(e){return e?new Date(e).getMonth()+1:null},DAY:function(e){return e?new Date(e).getDate():null},HOUR:function(e){return e?new Date(e).getHours():null},MINUTE:function(e){return e?new Date(e).getMinutes():null},SECOND:function(e){return e?new Date(e).getSeconds():null},DIFFDAYS:function(e,t){const r=new Date(e),o=new Date(t);return parseInt(Math.ceil(Math.abs(o.getTime()-r.getTime())/(1e3*60*60*24)))},DIFFHOURS:function(e,t){const r=new Date(e),o=new Date(t);return parseFloat(Math.abs(o.getTime()-r.getTime())/(1e3*60*60)).toFixed(2)},DIFFMINUTES:function(e,t){const r=new Date(e),o=new Date(t);return parseInt(Math.ceil(Math.abs(o.getTime()-r.getTime())/(1e3*60)))},TIMESTAMP:function(e){return Date.parse(e)},STARTSWITH:function(e,t){return(""+e).substring(0,(""+t).length)===t},EMPTY:function(e){return dt.empty(e)},NOTEMPTY:function(e){return!dt.empty(e)},LEN:function(e){return Array.isArray(e)?e.length:0},MOD:function(e,t){return e=parseFloat(e),t=parseFloat(t),!e||!t||isNaN(e)||isNaN(t)?0:e%t},SLICELEFT:function(e,t){return(""+e).slice(0,Number(t)||0)},SLICERIGHT:function(e,t){return(""+e).slice(Number(t)*-1)},TOLOWER:function(e){return(""+e).toLowerCase()},TOUPPER:function(e){return(""+e).toUpperCase()},INCLUDES:function(e,t){return(e||"").indexOf(t||"")},REPLACE:function(e,t,r){return(e||"").replace(t||"",r||"")},REPLACEALL:function(e,t,r){return(e||"").replaceAll(t||"",r||"")},TRIM:function(e){return(e||"").trim()},TOCHINSESAMOUNT:function(e){let t=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],r=["","\u4E07","\u4EBF","\u4E07\u4EBF","\u4EBF\u4EBF"],o=["","\u62FE","\u4F70","\u4EDF"],i=["\u89D2","\u5206"];function l(C){let S="",w="",E=0,b=!0;for(;C>0;){let g=C%10;g===0?b||(b=!0,w=t[g]+w):(b=!1,S=t[g],S+=o[E],w=S+w),E++,C=Math.floor(C/10)}return w}let d=0,c="",u="",h=!1;if(e===0)return t[0];let m=Math.floor(e),y=Math.round((e-m)*100);for(;m>0;){let C=m%1e4;h&&(u=t[0]+u),c=l(C),c+=C!==0?r[d]:r[0],u=c+u,h=C<1e3&&C>0,m=Math.floor(m/1e4),d++}return u&&(u+="\u5143"),y>0?(u+=t[Math.floor(y/10)]+i[0],y%10!==0&&(u+=t[y%10]+i[1])):u&&(u+="\u6574"),u},UNION:function(...e){return(Array.isArray(e[0])?e[0]:e).filter((r,o,i)=>i.indexOf(r)===o)},AND:function(...e){return!!e.reduce((t,r)=>t&&r,!0)},OR:function(...e){return!!e.reduce((t,r)=>t||r,!1)},IF:function(e,t=!0,r=!1){return e?t:r},DEFAULT:function(e,t){return dt.Undef(e)?t:e},CASE:function(...e){for(let t=0;t -1},FALSE:function(){return!1},TRUE:function(){return!0},NOT:function(e){return!e},EQ:function(e,t){return e===t},GE:function(e,t){return e>=t},GT:function(e,t){return e>t},LE:function(e,t){return e<=t},LT:function(e,t){return e {let r=[e];const o=t.split(".");let i=1;for(;o[i];){let l=[];r.forEach(d=>{Object.values(d.ctxs).forEach(c=>{if(c.rule._fc_id===o[i-1]){const u=d.subForm[c.id];l.push(...Array.isArray(u)?u:[u])}})}),r=l.map(d=>d.rule[0].__fc__.$handle),i++}return[r,o[i-1]]},vl=(e,t,r)=>{const o=e.vm.setupState.top.setupState.fc.$handle;let i=[e.$handle];e.$handle!==o&&i.push(o);let l=t;t.indexOf(".")>-1&&([i,l]=k_(o,t)),i.forEach(d=>{Object.values(d.ctxs).forEach(c=>{c.rule._fc_id===l&&r(c.rule,d.api)})})},Ec={openModel(e,t){t.api.open(e.model)},closeModel(e,t){t.api.close(e.model)},hidden(e,t,r){const o=typeof e.id=="string"?[e.id]:e.id||[];let i=!!e.status;e.compute&&(i=!!r.$handle.compute(t.self.__fc__,e.formula)),o.forEach(l=>{vl(r,l,d=>{d.hidden=i})})},disabled(e,t,r){const o=typeof e.id=="string"?[e.id]:e.id||[];let i=!!e.status;e.compute&&(i=!!r.$handle.compute(t.self.__fc__,e.formula)),o.forEach(l=>{vl(r,l,d=>{d.props||(d.props={}),d.props.disabled=i})})},resetFields(e,t){t.api.top.resetFields()},clearFields(e,t){t.api.top.coverValue({})},validate(e,t){return t.api.top.validate()},validateFields(e,t,r){const o=typeof e.id=="string"?[e.id]:e.id||[],i=[];return o.forEach(l=>{vl(r,l,(d,c)=>{d.field&&i.push(c.validateField(d.field))})}),i.length?Promise.all(i):void 0},submit(e,t){return t.api.top.submit()},setValue(e,t,r){(e.formData||[]).forEach(o=>{let i=o.value;o.compute&&(i=r.$handle.compute(t.self.__fc__,o.formula)),vl(r,o.id,l=>{l.value=i})})},fetch(e,t){const{append:r,response:o,fetch:i}=e;return r&&(i.data={...t.api.formData(),...i.data||{}}),new Promise((l,d)=>{t.api.fetch(e.fetch).then(c=>{o&&t.api.setData(o,c),l(c)}).catch(c=>{d(c)})})},copy(e,t,r){let o=e.content||"";e.compute&&(o=r.$handle.compute(t.self.__fc__,e.formula)),di(o)},callback(e,t){return e.callback&&e.callback(t)},message(e){ai.ElMessage(e||{})}},kh=[{key:"model",children:["openModel","closeModel","message"]},{key:"form",children:["hidden","disabled","resetFields","clearFields","setValue","validate","validateFields","submit"]},{key:"other",children:["fetch","copy","callback"]}],Nh={openModel(e){return[{type:"select",field:"model",$required:!0,options:e.pageData.filter(t=>!t.default).map(t=>{const r=t.main._menu;return{label:$r(t.main,t.config.labelField,"")||e.t("com."+r.name+".name")||r.label,value:t.main.name}})}]},message(e){return[{type:"radio",field:"type",value:"info",props:{type:"button"},options:it(e.t,["info","warning","success","error"].map(t=>({label:t,value:t})))},{type:"input",$required:!0,field:"message"},{type:"inputNumber",field:"duration",props:{precision:0,controlsPosition:"right"}},{type:"switch",field:"showClose"}]},hidden(e){const t=e.t;return[{type:"RuleSelect",field:"id",$required:!0,props:{multiple:!0}},{type:"radio",field:"compute",value:!1,options:[{label:t("behavior.props.static"),value:!1},{label:t("behavior.props.formula"),value:!0}],control:[{value:!1,rule:[{type:"radio",field:"status",value:!0,options:[{label:t("props.show"),value:!1},{label:t("props.hide"),value:!0}]}]},{value:!0,rule:[{type:"ComputedConfig",field:"formula",$required:!0,props:{btn:t("behavior.props.setFormula"),title:t("behavior.props.setFormula"),name:t("behavior.props.setFormula"),invertLabel:t("props.show"),validLabel:t("props.hide")}}]}]}]},disabled(e){const t=e.t;return[{type:"RuleSelect",field:"id",$required:!0,props:{onlyField:!0,multiple:!0}},{type:"radio",field:"compute",value:!1,options:[{label:t("behavior.props.static"),value:!1},{label:t("behavior.props.formula"),value:!0}],control:[{value:!1,rule:[{type:"radio",field:"status",value:!0,options:[{label:t("props.enable"),value:!1},{label:t("props.disabled"),value:!0}]}]},{value:!0,rule:[{type:"ComputedConfig",field:"formula",$required:!0,props:{title:t("behavior.props.setFormula"),invertLabel:t("props.enable"),validLabel:t("props.disabled")}}]}]}]},validateFields(){return[{type:"RuleSelect",field:"id",$required:!0,props:{onlyField:!0,multiple:!0}}]},setValue(e){const t=e.t;return[{type:"group",field:"formData",props:{expand:1,rule:[{type:"RuleSelect",field:"id",title:t("behavior.props.id"),$required:!0,props:{onlyField:!0}},{type:"radio",field:"compute",value:!1,title:t("behavior.props.compute"),options:[{label:t("behavior.props.static"),value:!1},{label:t("behavior.props.formula"),value:!0}],control:[{value:!1,rule:[{type:"ValueInput",field:"value",title:t("props.value"),$required:!0}]},{value:!0,rule:[{type:"ComputedConfig",field:"formula",title:t("behavior.props.formula"),$required:!0,props:{type:"value",title:t("behavior.props.setFormula"),invertLabel:t("props.show"),validLabel:t("props.hide")}}]}]}]}}]},fetch(){return[{type:"FetchConfig",field:"fetch",$required:!0},{type:"switch",field:"append",value:!1},{type:"input",field:"response",value:"res_"+We()}]},copy(e){const t=e.t;return[{type:"radio",field:"compute",value:!1,options:[{label:t("behavior.props.static"),value:!1},{label:t("behavior.props.formula"),value:!0}],control:[{value:!1,rule:[{type:"input",field:"content",$required:!0,props:{type:"textarea"},options:[{label:t("props.enable"),value:!1},{label:t("props.disabled"),value:!0}]}]},{value:!0,rule:[{type:"ComputedConfig",field:"formula",$required:!0,props:{type:"value",title:t("behavior.props.setFormula"),invertLabel:t("props.enable"),validLabel:t("props.disabled")}}]}]}]},callback(e){return[{type:"FnInput",field:"callback",$required:!0,props:{name:"callback",args:[on(e.t)]}}]}};function N_(e,t){return e.reduce((r,o)=>r.then(()=>o(t)),Promise.resolve())}const Th=function(e){return{name:"behavior",load(t,r){const o=t.getValue(),i={},l={};o&&Object.keys(o).forEach(d=>{if(Array.isArray(o[d])){const c=[];if(o[d].forEach(u=>{const{method:h,config:m,expression:y,stopPropagation:C,ignoreError:S}=u;c.push(w=>new Promise(E=>{if(y&&e.$handle.compute(r.__fc__,y)===!1){E();return}const b=(..._)=>{(!C||e.$handle.compute(r.__fc__,C)!==!0)&&E(..._)};let g;try{g=Ec[h](m||{},w,e)}catch(_){console.error(_),S!==!1&&b();return}g&&g.then?g.then(b).catch(()=>{S!==!1&&b()}):b(g)}))}),c.length){const u=e.$handle.inject(r,function(h){N_(c,h)},r.inject||e.$handle.options.injectEvent);d.indexOf("hook_")>-1?l[d.replace("hook_","")]=u:i[d]=u}}}),t.getProp().on=i,t.getProp().hook=l}}},Uo={name:"easySlots",load(e){const t=e.getValue(),r={};t&&Object.keys(t).forEach(o=>{r[o]=t[o].type==="icon"?{type:"i",class:"fc-icon iconfont "+t[o].value}:{type:"div",children:[""+(t[o].value||"")]}}),e.getProp().renderSlots=r}};Uo.watch=Uo.load;const T_=Object.assign||function(e){for(let t,r=1;r {yl(Ec,t)},e.extendApi(t=>({open(r,...o){(t.el(r)||t.top.el(r)).open(...o)},close(r){r?(t.el(r)||t.top.el(r)).close():(t.top.bus.$emit("fc.closeDialog"),t!==t.top&&t.bus.$emit("fc.closeDialog"))}}))}function Dh(e){e.extendApi(t=>({message(r){return ai.ElMessage(r||{})}}))}Ua.default.parser().preview=Tb,Object.keys(jt).forEach(e=>{Ua.default.setFormula(e,jt[e])});const Sn=Ua.default,ze=Ua.default.factory();Ac(Sn),Dh(Sn),Ac(ze),Dh(ze),Sn.register("behavior",Th),Sn.register("easySlots",Uo),ze.register("easySlots",Uo);/*! * @form-create/component-elm-select v3.2.18 * (c) 2018-2025 xaboy * Github https://github.com/xaboy/form-create with select * Released under the MIT License. - */function Vh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function V_(e){for(var t=1;t 0},Function:function(t){var r=this.getType(t);return r==="Function"||r==="AsyncFunction"},getType:function(t){var r=Object.prototype.toString.call(t);return/^\[object (.*)\]$/.exec(r)[1]},empty:function(t){return t==null||Array.isArray(t)&&Array.isArray(t)&&!t.length?!0:typeof t=="string"&&!t}};["Date","Object","String","Boolean","Array","Number"].forEach(function(e){wl[e]=function(t){return wl.type(t,e)}});function R_(e,t){return{}.hasOwnProperty.call(e,t)}var $_="fcSelect",F_=n.defineComponent({name:$_,inheritAttrs:!1,props:{formCreateInject:Object,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},type:String},emits:["update:modelValue","fc.el"],setup:function(t){var r=n.toRef(t.formCreateInject,"options",[]),o=n.toRef(t,"modelValue"),i=function(){return Array.isArray(r.value)?r.value:[]};return{options:i,value:o}},render:function(){var t=this,r,o,i=function(u,h){return n.createVNode(n.resolveComponent("ElOption"),n.mergeProps(u,{key:""+h+"-"+u.value}),null)},l=function(u,h){return n.createVNode(n.resolveComponent("ElOptionGroup"),{label:u.label,key:""+h+"-"+u.label},{default:function(){return[wl.trueArray(u.options)&&u.options.map(function(y,C){return i(y,C)})]}})},d=this.options();return n.createVNode(n.resolveComponent("ElSelect"),n.mergeProps(this.$attrs,{modelValue:this.value,"onUpdate:modelValue":function(u){return t.$emit("update:modelValue",u)},ref:"el"}),V_({default:function(){return[d.map(function(u,h){return R_(u||"","options")?l(u,h):i(u,h)}),(r=(o=t.$slots).default)===null||r===void 0?void 0:r.call(o)]}},B_(this.$slots,["default"])))},mounted:function(){this.$emit("fc.el",this.$refs.el)}});/*! + */function Vh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function V_(e){for(var t=1;t 0},Function:function(t){var r=this.getType(t);return r==="Function"||r==="AsyncFunction"},getType:function(t){var r=Object.prototype.toString.call(t);return/^\[object (.*)\]$/.exec(r)[1]},empty:function(t){return t==null||Array.isArray(t)&&Array.isArray(t)&&!t.length?!0:typeof t=="string"&&!t}};["Date","Object","String","Boolean","Array","Number"].forEach(function(e){wl[e]=function(t){return wl.type(t,e)}});function R_(e,t){return{}.hasOwnProperty.call(e,t)}var $_="fcSelect",I_=n.defineComponent({name:$_,inheritAttrs:!1,props:{formCreateInject:Object,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},type:String},emits:["update:modelValue","fc.el"],setup:function(t){var r=n.toRef(t.formCreateInject,"options",[]),o=n.toRef(t,"modelValue"),i=function(){return Array.isArray(r.value)?r.value:[]};return{options:i,value:o}},render:function(){var t=this,r,o,i=function(u,h){return n.createVNode(n.resolveComponent("ElOption"),n.mergeProps(u,{key:""+h+"-"+u.value}),null)},l=function(u,h){return n.createVNode(n.resolveComponent("ElOptionGroup"),{label:u.label,key:""+h+"-"+u.label},{default:function(){return[wl.trueArray(u.options)&&u.options.map(function(y,C){return i(y,C)})]}})},d=this.options();return n.createVNode(n.resolveComponent("ElSelect"),n.mergeProps(this.$attrs,{modelValue:this.value,"onUpdate:modelValue":function(u){return t.$emit("update:modelValue",u)},ref:"el"}),V_({default:function(){return[d.map(function(u,h){return R_(u||"","options")?l(u,h):i(u,h)}),(r=(o=t.$slots).default)===null||r===void 0?void 0:r.call(o)]}},B_(this.$slots,["default"])))},mounted:function(){this.$emit("fc.el",this.$refs.el)}});/*! * @form-create/component-elm-tree v3.2.18 * (c) 2018-2025 xaboy * Github https://github.com/xaboy/form-create with tree * Released under the MIT License. - */function I_(e){return Array.isArray(e)?e:[null,void 0,""].indexOf(e)>-1?[]:[e]}var P_="fcTree",M_=n.defineComponent({name:P_,inheritAttrs:!1,formCreateParser:{mergeProp:function(t){var r=t.prop.props;r.nodeKey||(r.nodeKey="id"),r.props||(r.props={label:"title"})}},props:{type:String,modelValue:{type:[Array,String,Number],default:function(){return[]}}},emits:["update:modelValue","fc.el"],watch:{modelValue:function(){this.setValue()}},methods:{updateValue:function(){if(!!this.$refs.tree){var t;this.type==="selected"?t=this.$refs.tree.getCurrentKey():t=this.$refs.tree.getCheckedKeys(),this.$emit("update:modelValue",t)}},setValue:function(){if(!!this.$refs.tree){var t=this.type;t==="selected"?this.$refs.tree.setCurrentKey(this.modelValue):this.$refs.tree.setCheckedKeys(I_(this.modelValue))}}},render:function(){return n.createVNode(n.resolveComponent("ElTree"),n.mergeProps(this.$attrs,{ref:"tree",onCheck:this.updateValue,onNodeClick:this.updateValue}),this.$slots)},mounted:function(){this.setValue(),this.$emit("fc.el",this.$refs.tree)}});/*! + */function F_(e){return Array.isArray(e)?e:[null,void 0,""].indexOf(e)>-1?[]:[e]}var P_="fcTree",M_=n.defineComponent({name:P_,inheritAttrs:!1,formCreateParser:{mergeProp:function(t){var r=t.prop.props;r.nodeKey||(r.nodeKey="id"),r.props||(r.props={label:"title"})}},props:{type:String,modelValue:{type:[Array,String,Number],default:function(){return[]}}},emits:["update:modelValue","fc.el"],watch:{modelValue:function(){this.setValue()}},methods:{updateValue:function(){if(!!this.$refs.tree){var t;this.type==="selected"?t=this.$refs.tree.getCurrentKey():t=this.$refs.tree.getCheckedKeys(),this.$emit("update:modelValue",t)}},setValue:function(){if(!!this.$refs.tree){var t=this.type;t==="selected"?this.$refs.tree.setCurrentKey(this.modelValue):this.$refs.tree.setCheckedKeys(F_(this.modelValue))}}},render:function(){return n.createVNode(n.resolveComponent("ElTree"),n.mergeProps(this.$attrs,{ref:"tree",onCheck:this.updateValue,onNodeClick:this.updateValue}),this.$slots)},mounted:function(){this.setValue(),this.$emit("fc.el",this.$refs.tree)}});/*! * @form-create/component-elm-upload v3.2.18 * (c) 2018-2025 xaboy * Github https://github.com/xaboy/form-create with upload * Released under the MIT License. - */function Oh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function Sc(e){for(var t=1;t -1?[]:[e]}function j_(e,t){return Object.keys(e).reduce(function(r,o){return(!t||t.indexOf(o)===-1)&&(r[o]=e[o]),r},{})}function z_(e,t){t===void 0&&(t={});var r=t.insertAt;if(!(!e||typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",r==="top"&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var U_="._fc-upload{width:100%}._fc-exceed .el-upload{display:none}.el-upload-list.is-disabled .el-upload{cursor:not-allowed!important}";z_(U_);var Bh={name:"IconUpload"},H_={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},W_=n.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"},null,-1),G_=[W_];function K_(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("svg",H_,G_)}Bh.render=K_;function Rh(e,t){return Cl(e)==="object"?e:{url:e,is_string:!0,name:Y_(e),uid:t}}function $h(e){return Sc(Sc({},e),{},{file:e,value:e})}function Y_(e){return(""+e).split("/").pop()}var Q_="fcUpload",J_=n.defineComponent({name:Q_,inheritAttrs:!1,formCreateParser:{toFormValue:function(t){return _l(t)},toValue:function(t,r){return r.prop.props.limit===1?t[0]||"":t}},props:{previewMask:void 0,onPreview:Function,httpRequest:Function,modalTitle:String,listType:String,formCreateInject:Object,modelValue:[Array,String,Object]},emits:["update:modelValue","change","remove","fc.el"],data:function(){return{previewVisible:!1,previewImage:"",fileList:[]}},created:function(){this.fileList=_l(this.modelValue).map(Rh).map($h)},watch:{modelValue:function(t){this.fileList=_l(t).map(Rh).map($h)}},methods:{handlePreview:function(t){this.onPreview?this.onPreview.apply(this,arguments):this.listType==="text"?window.open(t.url):(this.previewImage=t.url,this.previewVisible=!0)},update:function(t){var r=t.map(function(o){return o.is_string?o.url:o.value||o.url}).filter(function(o){return o!==void 0});this.$emit("update:modelValue",r)},handleCancel:function(){this.previewVisible=!1},handleChange:function(t,r){this.$emit.apply(this,["change"].concat(Array.prototype.slice.call(arguments))),t.status==="success"&&this.update(r)},handleRemove:function(t,r){this.$emit.apply(this,["remove"].concat(Array.prototype.slice.call(arguments))),this.update(r)},doHttpRequest:function(t){if(this.httpRequest)return this.httpRequest(t);t.source="upload",this.formCreateInject.api.fetch(t)}},render:function(){var t,r,o=this,i=_l(this.modelValue).length;return n.createVNode("div",{class:"_fc-upload"},[n.createVNode(n.resolveComponent("ElUpload"),n.mergeProps({key:i},this.$attrs,{listType:this.listType||"picture-card",class:{"_fc-exceed":this.$attrs.limit?this.$attrs.limit<=i:!1},onPreview:this.handlePreview,onChange:this.handleChange,onRemove:this.handleRemove,httpRequest:this.doHttpRequest,fileList:this.fileList,ref:"upload"}),Sc({default:function(){return[((t=(r=o.$slots).default)===null||t===void 0?void 0:t.call(r))||(["text","picture"].indexOf(o.listType)===-1?n.createVNode(n.resolveComponent("ElIcon"),null,{default:function(){return[n.createVNode(Bh,null,null)]}}):n.createVNode(n.resolveComponent("ElButton"),{type:"primary"},{default:function(){return[o.formCreateInject.t("clickToUpload")||"\u70B9\u51FB\u4E0A\u4F20"]}}))]}},j_(this.$slots,["default"]))),n.createVNode(n.resolveComponent("ElDialog"),{appendToBody:!0,modal:this.previewMask,title:this.modalTitle,modelValue:this.previewVisible,onClose:this.handleCancel},{default:function(){return[n.createVNode("img",{style:"width: 100%",src:o.previewImage},null)]}})])},mounted:function(){this.$emit("fc.el",this.$refs.upload)}});const L6="",De=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},Fh=e=>{const t=[];return e.forEach(r=>{r.field&&t.push(r.field),r.children&&t.push(...Fh(r.children))}),t},X_=n.defineComponent({name:"StepForm",props:{stepsProps:Object,modelValue:Object,formCreateInject:Object,autoValidate:Boolean,submitBtn:Boolean,steps:{type:Array,required:!0,default:()=>[]},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})}},emits:["update:modelValue","change","itemMounted","submit","next"],data(){return{active:0,cacheRule:[],cacheValue:{},subApi:{},Form:n.markRaw(this.formCreateInject.form.$form())}},watch:{active(){this.init()},modelValue(e){this.setValue(e)}},methods:{init(){this.steps.forEach((e,t)=>{this.cacheRule[t]?this.cacheRule[t].display=t===this.active:this.cacheRule[t]={type:"FcRow",native:!0,display:t===this.active,children:e.rule}})},onPrev(){this.active--},validate(){return new Promise((e,t)=>{const r=Fh(this.cacheRule[this.active].children);r.length>0?Promise.all(r.map(o=>this.subApi.validateField(o))).then(()=>{e()}).catch(o=>{t(o)}):e()})},onNext(){this.autoValidate?this.validate().then(()=>{this.active++}).catch(e=>{}):this.active++,this.$emit("next",{active:this.active,api:this.subApi})},submit(){const e=()=>{this.$emit("submit",this.subApi.formData(),this.subApi)};this.autoValidate?this.validate().then(()=>{e()}).catch(t=>{}):e()},addSubApi(e){this.subApi=e,this.$emit("itemMounted",e)},formData(e){this.cacheValue=JSON.stringify(e),this.$emit("update:modelValue",e),this.$emit("change",e)},setValue(e){const t=JSON.stringify(e);this.cacheValue!==t&&(this.cacheValue=t,this.subApi.coverValue(e||{}))}},created(){this.init()}}),Z_={class:"_fc-step-form"};function q_(e,t,r,o,i,l){const d=n.resolveComponent("van-step"),c=n.resolveComponent("van-steps"),u=n.resolveComponent("van-button"),h=n.resolveComponent("van-col"),m=n.resolveComponent("van-row");return n.openBlock(),n.createElementBlock("div",Z_,[n.createVNode(c,n.mergeProps({active:e.active},e.stepsProps),{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.steps,y=>(n.openBlock(),n.createBlock(d,n.mergeProps({ref_for:!0},y.props),{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(y.props.title),1)]),_:2},1040))),256))]),_:1},16,["active"]),(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.Form),{option:e.options,rule:e.cacheRule,extendOption:!0,modelValue:e.modelValue,"onUpdate:api":e.addSubApi,onEmitEvent:e.$emit,"onUpdate:modelValue":e.formData},null,40,["option","rule","modelValue","onUpdate:api","onEmitEvent","onUpdate:modelValue"])),n.createVNode(m,null,{default:n.withCtx(()=>[n.createVNode(h,{span:24,style:{"margin-top":"15px"}},{default:n.withCtx(()=>[e.active>0?(n.openBlock(),n.createBlock(u,{key:0,block:"",size:"small",onClick:e.onPrev},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("prevStep")||"\u4E0A\u4E00\u6B65"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0),e.active [n.createTextVNode(n.toDisplayString(e.formCreateInject.t("nextStep")||"\u4E0B\u4E00\u6B65"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0),e.submitBtn!==!1&&e.active===e.cacheRule.length-1?(n.openBlock(),n.createBlock(u,{key:2,block:"",size:"small",class:"fc-clock",type:"primary",onClick:e.submit,style:{"margin-top":"10px"}},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("submit")||"\u63D0\u4EA4"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0)]),_:1})]),_:1})])}const eE=De(X_,[["render",q_]]),j6="",tE=n.defineComponent({name:"FcPopup",emits:["confirm","submit","validateFail","update:modelValue"],props:{formData:Object,options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},rule:Array,autoClose:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},preview:Boolean,modelValue:Object,formCreateInject:Object,title:String},computed:{formOptions(){const e={...this.options};return this.preview&&(e.preview=this.preview),e}},data(){return{visible:!1,fapi:{},value:{},formRule:[],Form:n.markRaw(this.formCreateInject.form.$form())}},methods:{formChange(){this.$emit("update:modelValue",this.fapi.formData())},open(e){this.$nextTick(()=>{this.visible=!0,this.value=rt(e||this.modelValue||this.formData||{}),this.formRule=rt(this.rule||[])})},close(){this.visible=!1},handleConfirm(){this.$emit("confirm",this.fapi),this.fapi.submit().then(e=>{this.$emit("submit",e,this.fapi,this.close),this.autoClose&&this.close()}).catch(e=>{this.$emit("validateFail",e,this.fapi)})}},mounted(){this.formCreateInject.api.top.bus.$on("fc.closeDialog",this.close),n.onUnmounted(()=>{this.formCreateInject.api.top.bus.$off("fc.closeDialog",this.close)})}}),nE={class:"_fc-popup-title"},iE={class:"_fc-popup-content"},rE={class:"_fc-popup-footer"};function oE(e,t,r,o,i,l){const d=n.resolveComponent("van-button"),c=n.resolveComponent("van-popup");return n.openBlock(),n.createBlock(c,n.mergeProps({class:"_fc-popup",closeable:""},e.$attrs,{show:e.visible,"onUpdate:show":t[1]||(t[1]=u=>e.visible=u)}),{default:n.withCtx(()=>[n.createElementVNode("div",nE,n.toDisplayString(e.title),1),n.createElementVNode("div",iE,[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.Form),{option:e.formOptions,rule:e.formRule,extendOption:!0,api:e.fapi,"onUpdate:api":t[0]||(t[0]=u=>e.fapi=u),"model-value":e.value,subForm:!1,onChange:e.formChange,onEmitEvent:e.$emit},null,40,["option","rule","api","model-value","onChange","onEmitEvent"]))]),n.createElementVNode("div",rE,[e.footer!==!1?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createVNode(d,{block:"",size:"small",type:"primary",class:"fc-clock",onClick:e.handleConfirm},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("ok")||"\u786E\u5B9A"),1)]),_:1},8,["onClick"]),n.createVNode(d,{block:"",size:"small",class:"fc-clock",style:{"margin-top":"10px"},onClick:e.close},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("close")||"\u5173\u95ED"),1)]),_:1},8,["onClick"])],64)):n.createCommentVNode("",!0)])]),_:1},16,["show"])}const aE=De(tE,[["render",oE]]),z6="",xc=n.defineComponent({name:"DataTable",emits:["sortChange","handleClick"],props:{column:{type:Array,default:()=>[]},globalDataKey:[String,Object],fetch:Object,data:{type:Array,default:()=>[]},button:Object,index:Boolean,selection:Boolean,page:Object,formCreateInject:Object},data(){return{total:0,loading:!1,unwatch:null,list:[],currentPage:1,id:1,order:"",orderBy:""}},watch:{globalDataKey(){this.initPage()},fetch(){this.globalDataKey||this.initPage()},data(){!this.globalDataKey&&!this.fetch&&this.initPage()},selection(){this.id++},index(){this.id++},page:{handler(){this.initPage(),this.id++},deep:!0},button:{handler(){this.id++},deep:!0}},computed:{filterList(){let e=this.list||[];const t=[];return this.column.forEach(r=>{r.prop&&Array.isArray(r.filter)&&r.filter.length>0&&t.push(o=>r.filter.indexOf(o[r.prop])>-1)}),t.forEach(r=>{e=e.filter(r)}),e}},render(){return n.withDirectives(n.h("div",{class:"_fc-data-table"},[n.h(n.resolveComponent("el-table"),{data:this.filterList,...this.$attrs,key:this.id,ref:"table",onSortChange:e=>{this.$emit("sortChange",e),e.order?(this.orderBy=e.order==="descending"?"DESC":"ASC",this.order=e.prop):(this.orderBy="",this.order=""),this.initPage()}},()=>{const e=this.column.filter(r=>r.hidden!==!0).map(r=>this.makeColumn(r));this.selection&&e.unshift(n.h(n.resolveComponent("el-table-column"),{type:"selection",width:"50px"}));const t=this.makeButtonCol();return t&&e.push(t),this.index&&e.unshift(n.h(n.resolveComponent("el-table-column"),{type:"index",width:"50px"})),e}),this.makePage()]),[[n.resolveDirective("loading"),this.loading]])},methods:{getEl(){return this.$refs.table},deepGet(e,t,r){t=(t||"").split(".");let o=0,i=t.length;for(;e!=null&&o{this.list=e}):this.list=this.data},btnProps(e,t){const r=e.prop||[],o={type:e.type,size:e.size,round:r.indexOf("round")>-1,link:r.indexOf("link")>-1,plain:r.indexOf("plain")>-1,disabled:r.indexOf("disabled")>-1,onClick:l=>{l.stopPropagation();const d=Vr(e.click);try{d&&d(t,this.formCreateInject.api)}catch(c){console.error(c)}this.$emit("handleClick",{name:e.name,key:e.key,scope:t,column:t.row})}},i=Vr(e.handle);try{const l=i&&i(o,t,this.formCreateInject.api);typeof l=="boolean"&&(o.disabled=l)}catch(l){console.error(l)}return o},getLimit(){return this.page.props&&this.page.props.pageSize||20},nextList(){if(this.globalDataKey||this.fetch)this.fetchData(!0).then(({list:e,total:t})=>{this.list=e,this.total=t});else{const e=this.data,t=this.getLimit(),r=this.currentPage*t;this.list=e.slice(r-t,r),this.total=e.length}},fetchData(e){return this.unwatch&&this.unwatch(),new Promise(t=>{let r=this.fetch;if(this.globalDataKey){const o=typeof this.globalDataKey=="string"?this.globalDataKey:this.globalDataKey.key;r=this.formCreateInject.api.options.globalData[o]}if(r)if(r.type==="fetch"||!this.globalDataKey){r={...r};let o={};if(e){const l=this.page.props&&this.page.props.pageSize||20,d=this.page.pageField||"page",c=this.page.pageSizeField||"limit";o={[d]:this.currentPage,[c]:l}}if(this.order){const l=this.page.orderField||"order",d=this.page.orderByField||"orderBy";o[l]=this.order,o[d]=this.orderBy}const i=Object.keys(o).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(o[l]),"").join("&");i&&(r.action+=(r.action.indexOf("?")!==-1?"&":"?")+i),this.loading=!0,r.wait=1e3,this.unwatch=this.formCreateInject.api.watchFetch(r,(l,d)=>{this.loading=!1;const c=this.page.totalField,u=this.page.dataField,h=u?this.deepGet(l,u,[]):l;let m=c?this.deepGet(l,c):0;m||(m=h.length||0),t({list:h,total:m})},l=>{console.error(l),this.loading=!1},(l,d)=>{if(d)return this.unwatch&&this.unwatch(),this.unwatch=null,setTimeout(()=>{this.changePage(1)}),!1})}else{let o=r.data||[],i=r.data.length;if(e){const l=this.getLimit(),d=this.currentPage*l;o=o.slice(d-l,d),i=o.length}t({list:o,total:i})}else t({list:[],total:0})})},changePage(e){this.currentPage=e,this.nextList()},makePage(){if(this.page&&this.page.open===!0)return n.h(n.resolveComponent("el-pagination"),{layout:"prev, pager, next",total:this.total,currentPage:this.currentPage,"onUpdate:currentPage":e=>{this.currentPage!==e&&this.changePage(e)},class:this.page.position||"right",...this.page.props||{},pageSize:this.page.props&&this.page.props.pageSize||20})},makeButtonCol(){if(this.button&&this.button.open===!0&&this.button.column)return n.h(n.resolveComponent("el-table-column"),{label:this.button.label||this.formCreateInject.t("operation")||"\u64CD\u4F5C",fixed:this.button.fixed===void 0?"right":this.button.fixed,width:this.button.width||"100px"},{default:e=>this.button.column.filter(t=>t.hidden!==!0).map(t=>n.h(n.resolveComponent("el-button"),this.btnProps(t,e),()=>[t.name]))})},makeColumn(e){return n.h(n.resolveComponent("el-table-column"),{label:e.label,prop:e.prop,width:e.width,align:e.align,className:e.className,fixed:e.fixed,sortable:e.sortable},{default:t=>{if(e.children&&e.children.length>0)return e.children.map(r=>this.makeColumn(r));if(!(!e.format||e.format==="default"))return this.makeTd(e,t)}})},makeTd(e,t){return e.format==="custom"&&e.render?e.render(t,n.h,n.resolveComponent,this.formCreateInject.api):e.format==="tag"?n.h(n.resolveComponent("el-tag"),{disableTransitions:!0},()=>[this.deepGet(t.row,e.prop,"")]):e.format==="image"?n.h("div",{class:"_fc-data-table-img-list"},(()=>{let r=this.deepGet(t.row,e.prop,"");return r=(Array.isArray(r)?r:[r]).filter(o=>!!o),r.map((o,i)=>n.h(n.resolveComponent("el-image"),{src:o,previewSrcList:r,previewTeleported:!0,initialIndex:i,fit:"cover"}))})()):""+this.deepGet(t.row,e.prop,"")}},created(){this.initPage(),this.$watch(()=>this.data&&this.data.length,()=>{!this.globalDataKey&&!this.fetch&&this.initPage()})}}),U6="",lE={name:"FcTable",props:{mini:Boolean,label:String,width:[Number,String],border:{type:Boolean,default:!0},borderWidth:String,borderColor:String,rule:{type:Object,default:()=>({row:1,col:1})}},watch:{rule:{handler(){this.initRule(),this.loadRule(),this.tdStyle=this.rule.style||{},this.tdClass=this.rule.class||{}},immediate:!0,deep:!0}},data(){return{tdStyle:{},tdClass:{},lattice:{}}},computed:{tableColor(){const e={};return this.border===!1?e.border="0 none":(this.borderColor&&(e.borderColor=this.borderColor),this.borderWidth&&(e.borderWidth=this.borderWidth)),e}},methods:{initRule(){const e=this.rule;e.style||(e.style={}),e.layout||(e.layout=[]),e.row||(e.row=1),e.col||(e.col=1)},loadRule(){const e=[],t=this.rule||{row:1,col:1};for(let o=0;o {if((!o.row||o.row<=0)&&(!o.col||o.col<=0)||!e[o.top]||!e[o.top][o.left]||!e[o.top][o.left].show){t.layout.splice(i,1);return}const l=e[o.top][o.left];l.layout=o;let d=1,c=1;if(o.col&&(d=o.col+o.left>t.col?t.col-o.left:o.col,l.colspan=d),o.row&&(c=o.row+o.top>t.row?t.row-o.top:o.row,l.rowspan=c),c&&d)for(let u=0;u !!(!o||o.layout||!o.show);e.forEach((o,i)=>{o.forEach((l,d)=>{let c=!1,u=!1;if(l.layout){const h=l.layout.col||1,m=l.layout.row||1;for(let y=0;y [n.createElementVNode("div",{class:n.normalizeClass(["_fc-table",{"is-mini":r.mini}])},[n.createElementVNode("table",{border:"1",cellspacing:"0",cellpadding:"0",style:n.normalizeStyle(l.tableColor)},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.rule.row,(c,u)=>(n.openBlock(),n.createElementBlock("tr",{key:u},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.rule.col,(h,m)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:`${u}${m}`},[i.lattice[u][m].show?(n.openBlock(),n.createElementBlock("td",n.mergeProps({key:0,ref_for:!0},i.lattice[u][m]?{colspan:i.lattice[u][m].colspan,rowspan:i.lattice[u][m].rowspan}:{},{valign:"top",class:i.tdClass&&i.tdClass[`${u}:${m}`]||"",style:[l.tableColor,i.tdStyle&&i.tdStyle[`${u}:${m}`]||{}]}),[n.renderSlot(e.$slots,`${u}:${m}`),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.lattice[u][m].slot,y=>n.renderSlot(e.$slots,`${y}`)),256))],16)):n.createCommentVNode("",!0)],64))),128))]))),128))],4)],2)]),_:3})}const Ih=De(lE,[["render",sE]]),H6="",dE={name:"TableForm",emits:["change","add","delete","update:modelValue"],props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},columns:{type:Array,required:!0,default:()=>[]},filterEmptyColumn:{type:Boolean,default:!0},deletable:{type:Boolean,default:!0},addable:{type:Boolean,default:!0},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},max:Number,min:Number,disabled:Boolean},watch:{modelValue:{handler(){this.updateTable()},deep:!0},"formCreateInject.preview":function(e){this.emptyRule.children[0].props.colspan=this.columns.length+(e?1:2)}},data(){return{rule:[],trs:[],fapi:{},Form:n.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:"",emptyRule:{type:"tr",_isEmpty:!0,native:!0,subRule:!0,children:[{type:"td",style:{textAlign:"center"},native:!0,subRule:!0,props:{colspan:this.columns.length+(this.formCreateInject.preview?1:2)},children:[this.formCreateInject.t("dataEmpty")||"\u6682\u65E0\u6570\u636E"]}]}}},methods:{formChange(){this.updateValue()},updateValue(){const e=this.trs.map((r,o)=>({...this.modelValue[o]||{},...this.fapi.getChildrenFormData(r)})).filter(r=>{if(!this.filterEmptyColumn)return!0;if(r==null)return!1;let o=!1;return Object.keys(r).forEach(i=>{o=o||r[i]!==void 0&&r[i]!==""&&r[i]!==null}),o}),t=JSON.stringify(e);t!==this.oldValue&&(this.oldValue=t,this.$emit("update:modelValue",e),this.$emit("change",e))},setRawData(e,t){const r=this.trs[e];this.fapi.setChildrenFormData(r,t,!0)},updateTable(){const e=JSON.stringify(this.modelValue);this.oldValue!==e&&(this.oldValue=e,this.trs=this.trs.splice(0,this.modelValue.length),this.modelValue.length?this.clearEmpty():this.addEmpty(),this.modelValue.forEach((t,r)=>{this.trs[r]||this.addRaw(),this.setRawData(r,t||{})}),this.rule[0].children[1].children=this.trs)},addEmpty(){this.trs.length&&this.trs.splice(0,this.trs.length),this.trs.push(this.emptyRule)},clearEmpty(){this.trs[0]&&this.trs[0]._isEmpty&&this.trs.splice(0,1)},delRaw(e){this.disabled||!this.deletable||this.min>0&&this.trs.length<=this.min||(this.trs.splice(e,1),this.updateValue(),this.trs.length?this.trs.forEach(t=>this.updateRaw(t)):this.addEmpty(),this.$emit("delete",e))},addRaw(e){if(e&&this.disabled)return;const t=this.formCreateInject.form.parseJson(this.copyTrs)[0];this.trs.length===1&&this.trs[0]._isEmpty&&this.trs.splice(0,1),this.trs.push(t),this.updateRaw(t),e&&(this.$emit("add",this.trs.length),this.updateValue())},updateRaw(e){const t=this.trs.indexOf(e);e.children[0].props.innerText=t+1,e.children[e.children.length-1].children[0].props.onClick=()=>{this.delRaw(t)}},loadRule(){const e=[{type:"th",native:!0,class:"_fc-tf-head-idx",props:{innerText:"#"}}];let t=[{type:"td",class:"_fc-tf-idx",native:!0,props:{innerText:"0"}}];this.columns.forEach(r=>{e.push({type:"th",native:!0,style:r.style,class:r.required?"_fc-tf-head-required":"",props:{innerText:r.label||""}}),t.push({type:"td",native:!0,children:[...r.rule||[]]})}),e.push({type:"th",native:!0,class:"_fc-tf-edit fc-clock",props:{innerText:this.formCreateInject.t("operation")||"\u64CD\u4F5C"}}),t.push({type:"td",native:!0,class:"_fc-tf-btn fc-clock",children:[{type:"i",native:!0,class:"fc-icon icon-delete",props:{}}]}),this.copyTrs=this.formCreateInject.form.toJson([{type:"tr",native:!0,subRule:!0,children:t}]),this.rule=[{type:"table",native:!0,class:"_fc-tf-table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:[{type:"thead",native:!0,children:[{type:"tr",native:!0,children:e}]},{type:"tbody",native:!0,children:this.trs}]}]}},created(){this.loadRule()},mounted(){this.updateTable()}};function cE(e,t,r,o,i,l){const d=n.resolveComponent("el-button");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-table-form",{"_fc-disabled":r.disabled}])},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.Form),{option:r.options,rule:i.rule,extendOption:!0,disabled:r.disabled,onChange:l.formChange,api:i.fapi,"onUpdate:api":t[0]||(t[0]=c=>i.fapi=c),onEmitEvent:e.$emit},null,40,["option","rule","disabled","onChange","api","onEmitEvent"])),r.addable&&(!r.max||r.max>this.trs.length)?(n.openBlock(),n.createBlock(d,{key:0,link:"",type:"primary",class:"fc-clock",onClick:t[1]||(t[1]=c=>l.addRaw(!0))},{default:n.withCtx(()=>[t[2]||(t[2]=n.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),n.createTextVNode(" "+n.toDisplayString(r.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1})):n.createCommentVNode("",!0)],2)}const Ph=De(dE,[["render",cE]]),W6="",uE={name:"TableFormPro",emits:["change","add","delete","update:modelValue","handleClick"],props:{formCreateInject:Object,height:[String,Number],modelValue:{type:Array,default:()=>[]},columns:{type:Array,required:!0,default:()=>[]},button:Object,page:Object,size:String,filterEmptyColumn:{type:Boolean,default:!0},newColumn:Boolean,deletable:{type:Boolean,default:!0},addable:{type:Boolean,default:!0},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},showIndex:Boolean,max:Number,min:Number,disabled:Boolean},watch:{modelValue:{handler(){const e=JSON.stringify(this.modelValue||[]);this.oldValue!==e&&(this.chunk=[[]],this.nowPage=1,this.updateTable(),this.oldValue=e)}}},computed:{total(){return this.chunk.reduce((e,t)=>(e+=t.length,e),0)},limit(){return!this.page||this.page.open!==!0?1e6:this.page.props&&this.page.props.pageSize||20},pageData(){return this.chunk[this.nowPage-1]}},data(){return{chunk:[[]],data:[],rule:[],trs:[],fapi:{},Form:n.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:"",nowPage:1,indexRule:{type:"el-table-column",props:{label:"#",type:"index",fixed:"left"}}}},methods:{paginateArray(){const e=this.modelValue||[],t=this.limit,r=[];for(let o=0;o {this.chunk[i]=[...this.chunk[i]||[],...o]}),this.nowPage>this.chunk.length&&(this.nowPage=this.chunk.length)},formChange(){this.updateValue()},updateValue(){this.trs.forEach((r,o)=>{yl(this.pageData[o],this.fapi.getChildrenFormData(r))});const e=rt(this.chunk.reduce((r,o)=>[...r,...o],[]).filter(r=>{if(!this.filterEmptyColumn)return!0;if(r==null)return!1;let o=!1;return Object.keys(r).forEach(i=>{o=o||r[i]!==void 0&&r[i]!==""&&r[i]!==null}),o})),t=JSON.stringify(e);t!==this.oldValue&&(this.oldValue=t,this.$emit("update:modelValue",e),this.$emit("change",e))},setRawData(e,t){const r=this.trs[e];this.fapi.setChildrenFormData(r,t,!0)},changePage(e){e!==this.nowPage&&(this.chunk[this.nowPage-1]=this.pageData,this.nowPage=e,this.rule[1].props.data=this.pageData,this.trs.splice(0,this.trs.length),this.pageData.forEach((t,r)=>{this.trs[r]||this.addRaw(),this.setRawData(r,t||{})}),this.rule[0].children=this.trs)},updateTable(){this.paginateArray(),this.rule[1].props.data=this.pageData,this.trs.splice(0,this.trs.length),this.pageData.forEach((e,t)=>{this.trs[t]||this.addRaw(),this.setRawData(t,e||{})}),this.rule[0].children=this.trs},delRaw(e){this.disabled||this.deletable===!1||this.min>0&&this.total<=this.min||(this.trs.splice(e,1),this.rule[1].props.data.splice(e,1),this.updateValue(),this.$emit("delete",e),this.oldValue="")},addRaw(e){if(!(e&&(this.disabled||this.addable===!1))){if(!e){const t=this.formCreateInject.form.parseJson(this.copy);this.trs.push(t);return}if(this.chunk[this.chunk.length-1].length>=this.limit)this.chunk.push([{}]);else if(e&&this.chunk[this.chunk.length-1].push({}),e&&this.nowPage===this.chunk.length){const t=this.formCreateInject.form.parseJson(this.copy);this.trs.push(t)}e&&(this.$emit("add",this.total),this.updateValue())}},btnProps(e,t){const r={...t};r.row=this.modelValue[t.$index]||{};const o=e.prop||[],i={type:e.type,size:e.size,round:o.indexOf("round")>-1,link:o.indexOf("link")>-1,plain:o.indexOf("plain")>-1,disabled:o.indexOf("disabled")>-1||this.disabled||e.key==="delete"&&this.deletable===!1,onClick:l=>{if(r.row=this.modelValue[t.$index]||{},l.stopPropagation(),e.key==="delete"){this.delRaw(t.$index);return}const d=Vr(e.click);try{d&&d(r,this.formCreateInject.api)}catch(c){console.error(c)}this.$emit("handleClick",{name:e.name,key:e.key,_scope:r,column:r.row})}};try{if(!this.disabled){const l=Vr(e.handle),d=l&&l(i,r,this.formCreateInject.api);typeof d=="boolean"&&(i.disabled=d)}}catch(l){console.error(l)}return i},processRule(e){let t=[];return e.forEach(r=>{r.children?t.push(...this.processRule(r.children)):(r._renderId=He(),t.push({type:"template",name:r._renderId,children:[...r.rule||[]]}))}),t},processColumns(e){return e.map((t,r)=>{var i;const o={type:"el-table-column",hidden:t.hidden===!0,props:{fixed:t.fixed||!1,width:((i=t==null?void 0:t.style)==null?void 0:i.width)||"auto",minWidth:120},renderSlots:{header(){var l;return n.h("span",{class:t.required?"is-required":"",style:{color:(l=t==null?void 0:t.style)==null?void 0:l.color}},t.label)}}};return t.children?o.children=this.processColumns(t.children):o.renderSlots.default=({$index:l})=>{var d,c,u,h,m,y,C,S;for(let w=0;w<((c=(d=this.rule[0])==null?void 0:d.children[l])==null?void 0:c.children.length);w++)if(((h=(u=this.rule[0])==null?void 0:u.children[l])==null?void 0:h.children[w].name)===t._renderId)return(S=(C=this.fapi.renderRule((y=(m=this.rule[0])==null?void 0:m.children[l])==null?void 0:y.children[w],void 0,!0))==null?void 0:C.default)==null?void 0:S.call(C)},o})},loadRule(){this.copy=this.formCreateInject.form.toJson({type:"template",name:"template",subRule:!0,children:this.processRule(this.columns)}),this.rule=[{type:"hidden",children:this.trs},{type:"elTable",style:{width:"100%"},key:1,props:{...this.$attrs,height:this.height,size:this.size,data:[]},children:[]}]}},created(){this.loadRule()},mounted(){const e=this.fapi.sync;this.fapi.sync=t=>{t.tableRenderUni=He(),e(t)},this.updateTable(),this.newColumn&&(!this.modelValue||!this.modelValue.length)&&this.addRaw(!0),this.$watch(()=>[...this.columns],t=>{this.rule[1].children.splice(this.rule[1].children.indexOf(this.indexRule)>-1?1:0,0,...this.processColumns(t)),this.rule[1].key++},{immediate:!0}),this.$watch(()=>this.showIndex,t=>{t===!1&&this.rule[1].children.indexOf(this.indexRule)>-1?this.rule[1].children.splice(0,1):t!==!1&&this.rule[1].children.indexOf(this.indexRule)===-1&&this.rule[1].children.unshift(this.indexRule)},{immediate:!0}),this.$watch(()=>this.formCreateInject.preview&&this.button&&this.button.column&&[{...this.button},...this.button.column],t=>{this.rule[1].children.forEach((r,o)=>{r._tableHandle&&this.rule[1].children.splice(o,1)}),!this.formCreateInject.preview&&this.button.open!==!1&&this.rule[1].children.push({type:"el-table-column",_tableHandle:!0,props:{label:this.button.label||this.formCreateInject.t("operation")||"\u64CD\u4F5C",fixed:this.button.fixed===void 0?"right":this.button.fixed,width:this.button.width||"100px"},renderSlots:{default:r=>this.button.column.filter(o=>o.hidden!==!0).map(o=>n.h(n.resolveComponent("el-button"),this.btnProps(o,r),()=>[o.key==="delete"&&this.formCreateInject.t("delete")||o.name]))}})},{immediate:!0})}},fE={class:"_fc-tf-pro-handle"};function pE(e,t,r,o,i,l){const d=n.resolveComponent("el-button"),c=n.resolveComponent("el-pagination");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-table-form-v2",{"_fc-disabled":r.disabled}])},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.Form),{option:r.options,rule:i.rule,extendOption:!0,disabled:r.disabled,onChange:l.formChange,api:i.fapi,"onUpdate:api":t[0]||(t[0]=u=>i.fapi=u),onEmitEvent:e.$emit},null,40,["option","rule","disabled","onChange","api","onEmitEvent"])),n.createElementVNode("div",fE,[n.createElementVNode("div",null,[(!r.max||r.max>l.total)&&r.addable!==!1&&r.disabled!==!0?(n.openBlock(),n.createBlock(d,{key:0,link:"",type:"primary",class:"fc-clock",onClick:t[1]||(t[1]=u=>l.addRaw(!0))},{default:n.withCtx(()=>[t[2]||(t[2]=n.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),n.createTextVNode(" "+n.toDisplayString(r.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1})):n.createCommentVNode("",!0)]),r.page&&r.page.open===!0&&i.chunk.length>1?(n.openBlock(),n.createBlock(c,n.mergeProps({key:0},r.page.props||{},{layout:"prev, pager, next",currentPage:i.nowPage,"onUpdate:currentPage":l.changePage,total:l.total,pageSize:l.limit}),null,16,["currentPage","onUpdate:currentPage","total","pageSize"])):n.createCommentVNode("",!0)])],2)}const Mh=De(uE,[["render",pE]]),G6="",hE={name:"InfiniteTableForm",emits:["change","add","delete","update:modelValue"],props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},columns:{type:Array,required:!0,default:()=>[]},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},max:Number,layerMax:{type:Number,default:0},childrenField:String,disabled:Boolean},computed:{preview(){return this.formCreateInject.preview},subField(){return this.childrenField||"children"}},watch:{modelValue(){this.updateTable()},"formCreateInject.preview"(e){this.trs.forEach((t,r)=>{t.children[1]&&(t.children[1].children[0].props.colspan=this.rule[0].children[0].children[0].children.length-(e?1:0)),t.children[0].children[0].children[0].hidden=this.layerMax===1||e&&!(this.modelValue&&this.modelValue[r]&&Array.isArray(this.modelValue[r][this.subField])&&this.modelValue[r][this.subField].length>0)})}},data(){return{rule:[],trs:[],fapi:{},Form:n.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:""}},methods:{formChange(e,t,r,o,i){i===!1&&this.updateValue()},updateValue(){const e=this.trs.map((r,o)=>{const i={...this.modelValue[o]||{},...this.fapi.getChildrenFormData(r)};return!li(i,this.subField)&&this.modelValue[o]&&(i[this.subField]=this.modelValue[o][this.subField]),i[this.subField]==null&&delete i[this.subField],i}),t=JSON.stringify(e);t!==this.oldValue&&(this.oldValue=t,this.$emit("update:modelValue",e),this.$emit("change",e))},setRawData(e,t){const r=this.trs[e];this.fapi.setChildrenFormData(r,t,!0)},updateTable(){const e=JSON.stringify(this.modelValue);this.oldValue!==e&&(this.oldValue=e,this.trs=this.trs.splice(0,this.modelValue.length),this.modelValue.length||this.addRaw(),this.modelValue.forEach((t,r)=>{this.trs[r]||this.addRaw(),this.setRawData(r,t||{})}),this.rule[0].children[1].children=this.trs)},delRaw(e){this.disabled||(this.trs.splice(e,1),this.updateValue(),this.trs.length?this.trs.forEach(t=>this.updateRaw(t)):this.addRaw(),this.$emit("delete",e))},addRaw(e){if(e&&this.disabled)return;const t=this.formCreateInject.form.parseJson(this.copyTrs)[0],r={type:"template",subRule:!0,children:[]};r.children.push(t),this.trs.push(r),this.trs.forEach(o=>this.updateRaw(o)),e&&this.$emit("add",this.trs)},updateRaw(e){const t=this.trs.indexOf(e),r=e.children[0];r.children[0].children[0].hidden=this.layerMax===1||this.preview&&!(this.modelValue&&this.modelValue[t]&&Array.isArray(this.modelValue[t][this.subField])&&this.modelValue[t][this.subField].length>0),r.children[0].children[0].props.onClick=o=>{if(this.trs[t].children.length===1){if(this.disabled&&!(this.modelValue&&this.modelValue[t]&&Array.isArray(this.modelValue[t][this.subField])&&this.modelValue[t][this.subField].length>0))return;this.trs[t].children.push({type:"tr",native:!0,display:!0,children:[{type:"td",native:!0,props:{colspan:this.rule[0].children[0].children[0].children.length-(this.preview?1:0)},class:"_fc-itf-sub",children:[{type:"infiniteTableForm",field:this.subField,value:[...this.modelValue[t]&&this.modelValue[t][this.subField]||[]],props:{disabled:this.disabled,layerMax:this.layerMax===0?0:this.layerMax>1?this.layerMax-1:1,max:this.max||0,columns:rt(this.columns),options:rt(this.options)}}]}]})}const i=o.self.children[0]==="-"?"+":"-";o.self.children=[i],this.trs[t].children[1].display=i==="-"},r.children[1].props.innerText=t+1,r.children[r.children.length-1].children[0].props.onClick=()=>{this.delRaw(t)}},loadRule(){const e=[{type:"th",native:!0,class:"_fc-itf-sub-idx"},{type:"th",native:!0,class:"_fc-itf-head-idx",props:{innerText:"#"}}];let t=[{type:"td",class:"_fc-itf-idx",native:!0,children:[{type:"div",hidden:!1,children:["+"],inject:!0,props:{}}]},{type:"td",class:"_fc-itf-idx",native:!0,props:{innerText:"0"}}];this.columns.forEach(r=>{e.push({type:"th",native:!0,class:r.required?"_fc-itf-head-required":"",style:r.style,props:{innerText:r.label||""}}),t.push({type:"td",native:!0,children:[...r.rule||[]]})}),e.push({type:"th",native:!0,class:"_fc-itf-edit fc-clock",props:{innerText:this.formCreateInject.t("operation")||"\u64CD\u4F5C"}}),t.push({type:"td",native:!0,class:"_fc-itf-btn fc-clock",children:[{type:"i",native:!0,class:"fc-icon icon-delete",props:{}}]}),this.copyTrs=this.formCreateInject.form.toJson([{type:"tr",native:!0,children:t}]),this.rule=[{type:"table",native:!0,class:"_fc-itf-table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:[{type:"thead",native:!0,children:[{type:"tr",native:!0,children:e}]},{type:"tbody",native:!0,children:this.trs}]}]}},created(){this.loadRule()},mounted(){this.updateTable()}};function mE(e,t,r,o,i,l){const d=n.resolveComponent("el-button");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-infinite-table-form",{"_fc-disabled":r.disabled}])},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.Form),{option:r.options,rule:i.rule,extendOption:!0,onChange:l.formChange,disabled:r.disabled,api:i.fapi,"onUpdate:api":t[0]||(t[0]=c=>i.fapi=c),onEmitEvent:e.$emit},null,40,["option","rule","onChange","disabled","api","onEmitEvent"])),!r.max||r.max>this.trs.length?(n.openBlock(),n.createBlock(d,{key:0,link:"",type:"primary",class:"fc-clock",onClick:t[1]||(t[1]=c=>l.addRaw(!0))},{default:n.withCtx(()=>[t[2]||(t[2]=n.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),n.createTextVNode(" "+n.toDisplayString(r.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1})):n.createCommentVNode("",!0)],2)}const Lh=De(hE,[["render",mE]]),K6="",gE={name:"NestedTableForm",emits:["change","add","delete","update:modelValue"],props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},nested:Array,nestedField:String,columns:{type:Array,required:!0,default:()=>[]},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},max:Number,nestedMax:Number,disabled:Boolean},computed:{preview(){return this.formCreateInject.preview}},watch:{modelValue(){this.updateTable()},"formCreateInject.preview"(e){this.trs.forEach(t=>{const r=t.children[1].children[0].props.colspan;t.children[1].children[0].props.colspan=e?r-1:r+1})}},data(){return{rule:[],trs:[],fapi:{},Form:n.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:""}},methods:{formChange(e,t,r,o,i){i===!1&&this.updateValue()},updateValue(){const e=this.trs.map((r,o)=>({...this.modelValue[o]||{},...this.fapi.getChildrenFormData(r)})).filter(r=>{if(r==null)return!1;let o=!1;return Object.keys(r).forEach(i=>{o||(o=o||r[i]!==void 0&&r[i]!==""&&r[i]!==null&&(Array.isArray(r[i])?!!r[i].length:!0))}),o}),t=JSON.stringify(e);t!==this.oldValue&&(this.oldValue=t,this.$emit("update:modelValue",e),this.$emit("change",e))},setRawData(e,t){const r=this.trs[e];this.fapi.setChildrenFormData(r,t,!0)},updateTable(){const e=JSON.stringify(this.modelValue);this.oldValue!==e&&(this.oldValue=e,this.trs=this.trs.splice(0,this.modelValue.length),this.modelValue.length||this.addRaw(),this.modelValue.forEach((t,r)=>{this.trs[r]||this.addRaw(),this.setRawData(r,t||{})}),this.rule[0].children[1].children=this.trs)},delRaw(e){this.disabled||(this.trs.splice(e,1),this.updateValue(),this.trs.length?this.trs.forEach(t=>this.updateRaw(t)):this.addRaw(),this.$emit("delete",e))},addRaw(e){if(e&&this.disabled)return;const t=this.formCreateInject.form.parseJson(this.copyTrs)[0],r={type:"template",subRule:!0,children:[]};r.children.push(t),r.children.push({type:"tr",native:!0,display:!1,children:[{type:"td",native:!0,props:{colspan:t.children.length-(this.preview?1:0)},class:"_fc-ntf-sub",children:[{type:"TableForm",field:this.nestedField,value:[],props:{disabled:this.disabled,max:this.nestedMax||0,columns:rt(this.nested),options:rt(this.options)}}]}]}),this.trs.push(r),this.updateRaw(r),e&&this.$emit("add",this.trs)},updateRaw(e){const t=this.trs.indexOf(e),r=e.children[0];r.children[0].children[0].props.onClick=o=>{const i=o.self.children[0]==="-"?"+":"-";o.self.children=[i],this.trs[t].children[1].display=i==="-"},r.children[1].props.innerText=t+1,r.children[r.children.length-1].children[0].props.onClick=()=>{this.delRaw(t)}},loadRule(){const e=[{type:"th",native:!0,class:"_fc-ntf-sub-idx"},{type:"th",native:!0,class:"_fc-ntf-head-idx",props:{innerText:"#"}}];let t=[{type:"td",class:"_fc-ntf-idx",native:!0,children:[{type:"div",hidden:!1,children:["+"],inject:!0,props:{}}]},{type:"td",class:"_fc-ntf-idx",native:!0,props:{innerText:"0"}}];this.columns.forEach(r=>{e.push({type:"th",native:!0,class:r.required?"_fc-ntf-head-required":"",style:r.style,props:{innerText:r.label||""}}),t.push({type:"td",native:!0,children:[...r.rule||[]]})}),e.push({type:"th",native:!0,class:"_fc-ntf-edit fc-clock",props:{innerText:this.formCreateInject.t("operation")||"\u64CD\u4F5C"}}),t.push({type:"td",native:!0,class:"_fc-ntf-btn fc-clock",children:[{type:"i",native:!0,class:"fc-icon icon-delete",props:{}}]}),this.copyTrs=this.formCreateInject.form.toJson([{type:"tr",native:!0,children:t}]),this.rule=[{type:"table",native:!0,class:"_fc-ntf-table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:[{type:"thead",native:!0,children:[{type:"tr",native:!0,children:e}]},{type:"tbody",native:!0,children:this.trs}]}]}},created(){this.loadRule()},mounted(){this.updateTable()}};function vE(e,t,r,o,i,l){const d=n.resolveComponent("el-button");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-nested-table-form",{"_fc-disabled":r.disabled}])},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.Form),{option:r.options,rule:i.rule,extendOption:!0,onChange:l.formChange,disabled:r.disabled,api:i.fapi,"onUpdate:api":t[0]||(t[0]=c=>i.fapi=c),onEmitEvent:e.$emit},null,40,["option","rule","onChange","disabled","api","onEmitEvent"])),!r.max||r.max>this.trs.length?(n.openBlock(),n.createBlock(d,{key:0,link:"",type:"primary",class:"fc-clock",onClick:t[1]||(t[1]=c=>l.addRaw(!0))},{default:n.withCtx(()=>[t[2]||(t[2]=n.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),n.createTextVNode(" "+n.toDisplayString(r.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1})):n.createCommentVNode("",!0)],2)}const jh=De(gE,[["render",vE]]),Y6="",yE=n.defineComponent({name:"FcCell"}),bE={ref:"cell",class:"_fc-cell"};function wE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",bE,[n.renderSlot(e.$slots,"default")],512)}const zh=De(yE,[["render",wE]]),CE=n.defineComponent({name:"FcValue",props:["modelValue"],watch:{modelValue(e){this.$emit("change",e)}}}),_E={class:"_fc-value"};function EE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",_E,n.toDisplayString(e.modelValue),1)}const Uh=De(CE,[["render",EE]]),Q6="",AE=n.defineComponent({name:"FcCity",props:{modelValue:Array,clearable:Boolean,placeholder:String,disabled:Boolean,filter:Function,level:{type:Number,default:3},api:String},emits:["update:modelValue","change"],data(){return{inputValue:"",show:!1,province:[]}},watch:{modelValue:{handler(e){this.inputValue=(e||[]).join(" / ")},deep:!0,immediate:!0}},computed:{city(){if(this.value.p){for(let e=0;e r.text).join(" / "),this.show=!1;const t=e.map(r=>r.value);this.$emit("update:modelValue",t),this.$emit("change",t)},clear(e){e.stopPropagation(),this.inputValue="",this.$emit("update:modelValue",[]),this.$emit("change",[])},loadData(e){return fetch(e).then(t=>t.json()).then(t=>{this.province=n.markRaw(this.tidyOptions(this.filter?this.filter(t)||[]:t,0))})},tidyOptions(e,t){return e.map(r=>{const o={text:r.text||r.n,value:r.value||r.text||r.n};return(r.children||r.d)&&t+1 {this.loadData("https://cdn.jsdelivr.net/npm/@province-city-china/level/level.min.json").catch(()=>{this.loadData("https://npm.onmicrosoft.cn/@province-city-china/level/level.min.json")})})}}),SE={class:"_fc-city-m"};function xE(e,t,r,o,i,l){const d=n.resolveComponent("van-field"),c=n.resolveComponent("van-cascader"),u=n.resolveComponent("van-popup");return n.openBlock(),n.createElementBlock("div",SE,[n.createVNode(d,{ref:"el",placeholder:e.placeholder,readonly:"",disabled:e.disabled,onClick:e.open,"model-value":e.inputValue,border:!1,isLink:""},n.createSlots({_:2},[e.clearable&&e.inputValue?{name:"right-icon",fn:n.withCtx(()=>[n.createElementVNode("i",{class:"van-badge__wrapper van-icon van-icon-clear van-field__clear",onClick:t[0]||(t[0]=(...h)=>e.clear&&e.clear(...h))})]),key:"0"}:void 0]),1032,["placeholder","disabled","onClick","model-value"]),n.createVNode(u,{show:e.show,"onUpdate:show":t[2]||(t[2]=h=>e.show=h),round:"",position:"bottom"},{default:n.withCtx(()=>[n.createVNode(c,{modelValue:e.modelValue&&e.modelValue[e.modelValue.length-1]||"",options:e.province,onClose:t[1]||(t[1]=h=>e.show=!1),onFinish:e.confirm},null,8,["modelValue","options","onFinish"])]),_:1},8,["show"])])}const kE=De(AE,[["render",xE]]),Hh=n.defineComponent({name:"FcSlot",inheritAttrs:!1,inject:["parentFC"],props:{name:String,formCreateInject:Object},computed:{slotName(){return this.name||"block_default"},slotArg(){const{rule:e,preview:t,api:r}=this.formCreateInject,o=e.__fc__.prop;return{rule:e,prop:o,preview:t,api:r,model:o.model||{}}}},render(){const e=this.getSlot();return n.createVNode(n.Fragment,{},e?[e(this.slotArg)]:[])},methods:{getSlot(){const e=t=>{if(t){let r=t.slots[this.slotName];return r||e(t.setupState.parent)}};return e(this.parentFC)}}}),Wh=n.defineComponent({name:"FcJson",inheritAttrs:!1,props:{rule:[Array,String,Object],type:String,disabled:Boolean,expand:Number,button:{type:Boolean,default:!0},max:{type:Number,default:0},min:{type:Number,default:0},sortBtn:{type:Boolean,default:!0},modelValue:[Object,Array],formCreateInject:Object},data(){return{fcSubForm:n.shallowRef(this.formCreateInject.form.component("fcSubForm")),fcGroup:n.shallowRef(this.formCreateInject.form.component("fcGroup")),uni:0,formRule:[],formOptions:{submitBtn:!1,resetBtn:!1}}},watch:{rule(){this.uni++,this.loadRule()},type(){this.loadRule()}},render(){var e,t;if(this.rule)return this.type==="object"?n.createVNode(this.fcSubForm,{key:2,...this.$attrs,modelValue:this.modelValue,"onUpdate:modelValue":r=>{this.$emit("update:modelValue",r)},disabled:this.disabled,formCreateInject:this.formCreateInject,rule:this.formRule,options:this.formOptions}):this.type==="array"?n.createVNode(this.fcGroup,{key:3,...this.$attrs,modelValue:this.modelValue,"onUpdate:modelValue":r=>{this.$emit("update:modelValue",r)},sortBtn:this.sortBtn,min:this.min,max:this.max,expand:this.expand,button:this.button,disabled:this.disabled,formCreateInject:this.formCreateInject,rule:this.formRule,options:this.formOptions}):n.createVNode(n.Fragment,{key:this.uni},[(t=(e=this.$slots)==null?void 0:e.default)==null?void 0:t.call(e)])},methods:{loadRule(){let e=rt(this.rule);typeof e=="string"&&(e=this.formCreateInject.form.parseJson(e)),Array.isArray(e)?this.formRule=e:typeof e=="object"&&(this.formRule=e.rule||[],this.formOptions={submitBtn:!1,resetBtn:!1,...e.options||{}}),e!=null?["array","object"].indexOf(this.type)===-1&&(this.formCreateInject.rule.children=[{type:"template",_fc_drag_skip:!0,children:this.formRule}]):this.formCreateInject.rule.children=[]}},created(){this.rule&&this.loadRule()}}),J6="",NE=n.defineComponent({name:"fcInlineForm"}),TE={class:"_fc-line-form"};function DE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",TE,[n.renderSlot(e.$slots,"default")])}const kc=De(NE,[["render",DE]]),nn=function(){var e=function(){},t={},r={},o={};function i(m,y){m=m.push?m:[m];var C=[],S=m.length,w=S,E,b,g,_;for(E=function(x,k){k.length&&C.push(x),w--,w||y(C)};S--;){if(b=m[S],g=r[b],g){E(b,g);continue}_=o[b]=o[b]||[],_.push(E)}}function l(m,y){if(!!m){var C=o[m];if(r[m]=y,!!C)for(;C.length;)C[0](m,y),C.splice(0,1)}}function d(m,y){m.call&&(m={success:m}),y.length?(m.error||e)(y):(m.success||e)(m)}function c(m,y,C,S){var w=document,E=C.async,b=(C.numRetries||0)+1,g=C.before||e,_=m.replace(/[\?|#].*$/,""),x=m.replace(/^(css|img|module|nomodule)!/,""),k,T,V;if(S=S||0,/(^css!|\.css$)/.test(_))V=w.createElement("link"),V.rel="stylesheet",V.href=x,k="hideFocus"in V,k&&V.relList&&(k=0,V.rel="preload",V.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(_))V=w.createElement("img"),V.src=x;else if(V=w.createElement("script"),V.src=x,V.async=E===void 0?!0:E,T="noModule"in V,/^module!/.test(_)){if(!T)return y(m,"l");V.type="module"}else if(/^nomodule!/.test(_)&&T)return y(m,"l");V.onload=V.onerror=V.onbeforeload=function(I){var F=I.type[0];if(k)try{V.sheet.cssText.length||(F="e")}catch(M){M.code!=18&&(F="e")}if(F=="e"){if(S+=1,Sw.src.indexOf(E)===-1);else{S=!1;break}if(y&&S&&Math.random()<.1){const w=new Image,E=btoa(encodeURIComponent(m.location.host+", "+(m.formCreate.license||""))+", KrrSN2KlZ2tanmqEGlAE"),b=E.substr(2,8);w.src=atob("aHR0cHM6Ly9hcGkuZm9ybS1jcmVhdGUuY29tL2gucG5nP3U9")+(b.substr(2,3)+E.slice(0,10).split("").reverse().join("")+b.substr(3,2)+E.slice(10)).replace(/=/g,"")}}catch{}})();function u(m,y,C){m=m.push?m:[m];var S=m.length,w=S,E=[],b,g,_=!0;for(b=function(x,k,T){if(k=="e"&&(E.push(x),_=!1),k=="b")if(T)E.push(x);else return;S--,S||y(E,_)},g=0;g {h.reset(C),y.length>0&&h.tryLoad(y,C)})},h.loadNpm=function(y,C){h.tryLoad(["https://unpkg.com/"+y,"https://cdn.jsdelivr.net/npm/"+y,"https://npm.onmicrosoft.cn/"+y],C)},h.isDefined=function(y){return y in t},h}();function El(e,t){var r=null;return function(...o){r!==null&&clearTimeout(r),r=setTimeout(()=>e.call(this,...o),t)}}const X6="",VE=n.defineComponent({name:"FcEcharts",data(){return{chart:null,debounceLoad:El(()=>{this.load()},600),debounceResize:El(()=>{this.chart&&this.chart.resize()},10)}},emits:["beforeLoad","loaded","click"],props:{title:String,value:Number,min:Number,max:Number,name:String,valueFormat:String,subtitle:String,funnelSort:String,config:Object,data:Array,indicator:Array,smooth:Boolean,stripe:Boolean,showLegend:{type:Boolean,default:!0},loadOptions:{type:Function,default:()=>{}},showSeriesLabel:Boolean,type:String,pieType:String,stack:Boolean,barBackgroundColor:String},watch:{$props:{handler(){this.debounceLoad()},deep:!0}},methods:{getSeries(){var r;const e={type:"line",stack:this.stack?"Total":"",smooth:this.smooth,showBackground:!1,label:{show:this.showSeriesLabel,position:this.stripe?"inside":"top"}};this.type==="area"?(e.areaStyle={},e.emphasis={focus:"series"}):this.type==="bar"&&(e.type="bar",this.barBackgroundColor&&(e.showBackground=!0,e.backgroundStyle={color:this.barBackgroundColor}));let t=((r=this.config)==null?void 0:r.series)||[];return t.length?(typeof t[0]!="object"&&(t=[{data:t}]),t=t.map(o=>({...e,...o})),t):[]},getTooltip(){const e={trigger:"axis",valueFormat:void 0};return this.valueFormat&&(e.valueFormatter=t=>this.valueFormat?this.valueFormat.replaceAll("{value}",t):t),this.type==="bar"&&(e.axisPointer={type:"shadow"}),e},getAxis(){var e,t;return this.stripe?{yAxis:{type:"category",boundaryGap:this.type==="bar",data:((t=this.config)==null?void 0:t.category)||[]},xAxis:{type:"value"}}:{xAxis:{type:"category",boundaryGap:this.type==="bar",data:(e=this.config)==null?void 0:e.category},yAxis:{type:"value"}}},getDefOptions(){return{title:{text:this.title,subtext:this.subtitle},tooltip:this.getTooltip(),legend:{left:"right",show:this.showLegend},grid:{left:"20px",right:"20px",bottom:"20px",containLabel:!0},...this.getAxis(),series:this.getSeries()}},getPieOptions(){const e={radius:"50%",center:"50%",startAngle:0,avoidLabelOverlap:!0,labelLine:{show:!0},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}};return this.pieType==="doughnut"?(e.radius=["40%","70%"],e.avoidLabelOverlap=!1):this.pieType==="half-doughnut"&&(e.radius=["40%","70%"],e.center=["50%","70%"],e.startAngle=180,e.endAngle=360),{title:{text:this.title,subtext:this.subtitle,left:"left"},tooltip:{trigger:"item"},legend:{left:"right",show:this.showLegend},series:[{type:"pie",data:this.data,...e}]}},getGaugeOptions(){return{title:{text:this.title,subtext:this.subtitle,left:"center"},series:[{name:"Pressure",type:"gauge",min:this.min||0,max:this.max||60,progress:{show:!0},detail:{valueAnimation:!0,formatter:"{value}"},data:[{value:this.value,name:this.name}]}]}},getRadarOptions(){return{title:{text:this.title,subtext:this.subtitle,left:"left"},tooltip:{trigger:"axis"},legend:{left:"right",show:this.showLegend},radar:{indicator:this.indicator},series:[{type:"radar",tooltip:{trigger:"item"},data:this.data}]}},getScatterOptions(){return{title:{text:this.title,subtext:this.subtitle,left:"left"},tooltip:{trigger:"axis"},legend:{left:"right",show:!0},xAxis:{scale:!0},yAxis:{scale:!0},grid:{left:"20px",right:"20px",bottom:"20px",containLabel:!0},series:(this.data||[]).map(e=>Array.isArray(e)?{type:"scatter",data:e}:{type:"scatter",...e})}},getFunnelOptions(){return{title:{text:this.title,subtext:this.subtitle,left:"left"},tooltip:{trigger:"item"},legend:{left:"right",show:this.showLegend},series:[{name:"Funnel",type:"funnel",left:"10%",top:"40px",bottom:"20px",width:"80%",min:0,max:Math.max(...(this.data||[]).map(e=>e.value)),minSize:"0%",maxSize:"100%",sort:this.funnelSort||"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{}},data:this.data}]}},load(){this.$nextTick(()=>{nn.ready("echarts",()=>{this.chart=n.markRaw(window.echarts.init(this.$refs.chart)),this.chart.on("click",(...t)=>{this.$emit("click",...t)});let e;if(this.type==="pie")e=this.getPieOptions();else if(this.type==="funnel")e=this.getFunnelOptions();else if(this.type==="gauge")e=this.getGaugeOptions();else if(this.type==="radar")e=this.getRadarOptions();else if(this.type==="scatter")e=this.getScatterOptions();else if(this.type==="custom"){if(e=this.loadOptions(this.config,this.chart)||{},typeof e.then=="function"){e.then(t=>{this.$emit("beforeLoad",this.chart,t),this.chart.setOption(t),this.$emit("loaded",this.chart,t)});return}}else e=this.getDefOptions();this.$emit("beforeLoad",this.chart,e),this.chart.setOption(e),this.$emit("loaded",this.chart,e)})})}},created(){window.echarts?nn.done("echarts"):nn.isDefined("echarts")||nn.loadNpm("echarts@5.6.0/dist/echarts.min.js","echarts")},mounted(){this.load(),window.addEventListener("resize",this.debounceResize)},unmounted(){window.removeEventListener("resize",this.debounceResize)}}),OE={class:"_fc-echarts",ref:"chart"};function BE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",OE,null,512)}const Gh=De(VE,[["render",BE]]);/*! + */function Oh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function Sc(e){for(var t=1;t -1?[]:[e]}function j_(e,t){return Object.keys(e).reduce(function(r,o){return(!t||t.indexOf(o)===-1)&&(r[o]=e[o]),r},{})}function z_(e,t){t===void 0&&(t={});var r=t.insertAt;if(!(!e||typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",r==="top"&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var U_="._fc-upload{width:100%}._fc-exceed .el-upload{display:none}.el-upload-list.is-disabled .el-upload{cursor:not-allowed!important}";z_(U_);var Bh={name:"IconUpload"},H_={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},W_=n.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"},null,-1),G_=[W_];function K_(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("svg",H_,G_)}Bh.render=K_;function Rh(e,t){return Cl(e)==="object"?e:{url:e,is_string:!0,name:Y_(e),uid:t}}function $h(e){return Sc(Sc({},e),{},{file:e,value:e})}function Y_(e){return(""+e).split("/").pop()}var Q_="fcUpload",J_=n.defineComponent({name:Q_,inheritAttrs:!1,formCreateParser:{toFormValue:function(t){return _l(t)},toValue:function(t,r){return r.prop.props.limit===1?t[0]||"":t}},props:{previewMask:void 0,onPreview:Function,httpRequest:Function,modalTitle:String,listType:String,formCreateInject:Object,modelValue:[Array,String,Object]},emits:["update:modelValue","change","remove","fc.el"],data:function(){return{previewVisible:!1,previewImage:"",fileList:[]}},created:function(){this.fileList=_l(this.modelValue).map(Rh).map($h)},watch:{modelValue:function(t){this.fileList=_l(t).map(Rh).map($h)}},methods:{handlePreview:function(t){this.onPreview?this.onPreview.apply(this,arguments):this.listType==="text"?window.open(t.url):(this.previewImage=t.url,this.previewVisible=!0)},update:function(t){var r=t.map(function(o){return o.is_string?o.url:o.value||o.url}).filter(function(o){return o!==void 0});this.$emit("update:modelValue",r)},handleCancel:function(){this.previewVisible=!1},handleChange:function(t,r){this.$emit.apply(this,["change"].concat(Array.prototype.slice.call(arguments))),t.status==="success"&&this.update(r)},handleRemove:function(t,r){this.$emit.apply(this,["remove"].concat(Array.prototype.slice.call(arguments))),this.update(r)},doHttpRequest:function(t){if(this.httpRequest)return this.httpRequest(t);t.source="upload",this.formCreateInject.api.fetch(t)}},render:function(){var t,r,o=this,i=_l(this.modelValue).length;return n.createVNode("div",{class:"_fc-upload"},[n.createVNode(n.resolveComponent("ElUpload"),n.mergeProps({key:i},this.$attrs,{listType:this.listType||"picture-card",class:{"_fc-exceed":this.$attrs.limit?this.$attrs.limit<=i:!1},onPreview:this.handlePreview,onChange:this.handleChange,onRemove:this.handleRemove,httpRequest:this.doHttpRequest,fileList:this.fileList,ref:"upload"}),Sc({default:function(){return[((t=(r=o.$slots).default)===null||t===void 0?void 0:t.call(r))||(["text","picture"].indexOf(o.listType)===-1?n.createVNode(n.resolveComponent("ElIcon"),null,{default:function(){return[n.createVNode(Bh,null,null)]}}):n.createVNode(n.resolveComponent("ElButton"),{type:"primary"},{default:function(){return[o.formCreateInject.t("clickToUpload")||"\u70B9\u51FB\u4E0A\u4F20"]}}))]}},j_(this.$slots,["default"]))),n.createVNode(n.resolveComponent("ElDialog"),{appendToBody:!0,modal:this.previewMask,title:this.modalTitle,modelValue:this.previewVisible,onClose:this.handleCancel},{default:function(){return[n.createVNode("img",{style:"width: 100%",src:o.previewImage},null)]}})])},mounted:function(){this.$emit("fc.el",this.$refs.upload)}});const L6="",Te=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},Ih=e=>{const t=[];return e.forEach(r=>{r.field&&t.push(r.field),r.children&&t.push(...Ih(r.children))}),t},X_=n.defineComponent({name:"StepForm",props:{stepsProps:Object,modelValue:Object,formCreateInject:Object,autoValidate:Boolean,submitBtn:Boolean,steps:{type:Array,required:!0,default:()=>[]},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})}},emits:["update:modelValue","change","itemMounted","submit","next"],data(){return{active:0,cacheRule:[],cacheValue:{},subApi:{},Form:n.markRaw(this.formCreateInject.form.$form())}},watch:{active(){this.init()},modelValue(e){this.setValue(e)}},methods:{init(){this.steps.forEach((e,t)=>{this.cacheRule[t]?this.cacheRule[t].display=t===this.active:this.cacheRule[t]={type:"FcRow",native:!0,display:t===this.active,children:e.rule}})},onPrev(){this.active--},validate(){return new Promise((e,t)=>{const r=Ih(this.cacheRule[this.active].children);r.length>0?Promise.all(r.map(o=>this.subApi.validateField(o))).then(()=>{e()}).catch(o=>{t(o)}):e()})},onNext(){this.autoValidate?this.validate().then(()=>{this.active++}).catch(e=>{}):this.active++,this.$emit("next",{active:this.active,api:this.subApi})},submit(){const e=()=>{this.$emit("submit",this.subApi.formData(),this.subApi)};this.autoValidate?this.validate().then(()=>{e()}).catch(t=>{}):e()},addSubApi(e){this.subApi=e,this.$emit("itemMounted",e)},formData(e){this.cacheValue=JSON.stringify(e),this.$emit("update:modelValue",e),this.$emit("change",e)},setValue(e){const t=JSON.stringify(e);this.cacheValue!==t&&(this.cacheValue=t,this.subApi.coverValue(e||{}))}},created(){this.init()}}),Z_={class:"_fc-step-form"};function q_(e,t,r,o,i,l){const d=n.resolveComponent("van-step"),c=n.resolveComponent("van-steps"),u=n.resolveComponent("van-button"),h=n.resolveComponent("van-col"),m=n.resolveComponent("van-row");return n.openBlock(),n.createElementBlock("div",Z_,[n.createVNode(c,n.mergeProps({active:e.active},e.stepsProps),{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.steps,y=>(n.openBlock(),n.createBlock(d,n.mergeProps({ref_for:!0},y.props),{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(y.props.title),1)]),_:2},1040))),256))]),_:1},16,["active"]),(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.Form),{option:e.options,rule:e.cacheRule,extendOption:!0,modelValue:e.modelValue,"onUpdate:api":e.addSubApi,onEmitEvent:e.$emit,"onUpdate:modelValue":e.formData},null,40,["option","rule","modelValue","onUpdate:api","onEmitEvent","onUpdate:modelValue"])),n.createVNode(m,null,{default:n.withCtx(()=>[n.createVNode(h,{span:24,style:{"margin-top":"15px"}},{default:n.withCtx(()=>[e.active>0?(n.openBlock(),n.createBlock(u,{key:0,block:"",size:"small",onClick:e.onPrev},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("prevStep")||"\u4E0A\u4E00\u6B65"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0),e.active [n.createTextVNode(n.toDisplayString(e.formCreateInject.t("nextStep")||"\u4E0B\u4E00\u6B65"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0),e.submitBtn!==!1&&e.active===e.cacheRule.length-1?(n.openBlock(),n.createBlock(u,{key:2,block:"",size:"small",class:"fc-clock",type:"primary",onClick:e.submit,style:{"margin-top":"10px"}},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("submit")||"\u63D0\u4EA4"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0)]),_:1})]),_:1})])}const eE=Te(X_,[["render",q_]]),j6="",tE=n.defineComponent({name:"FcPopup",emits:["confirm","submit","validateFail","update:modelValue"],props:{formData:Object,options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},rule:Array,autoClose:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},preview:Boolean,modelValue:Object,formCreateInject:Object,title:String},computed:{formOptions(){const e={...this.options};return this.preview&&(e.preview=this.preview),e}},data(){return{visible:!1,fapi:{},value:{},formRule:[],Form:n.markRaw(this.formCreateInject.form.$form())}},methods:{formChange(){this.$emit("update:modelValue",this.fapi.formData())},open(e){this.$nextTick(()=>{this.visible=!0,this.value=rt(e||this.modelValue||this.formData||{}),this.formRule=rt(this.rule||[])})},close(){this.visible=!1},handleConfirm(){this.$emit("confirm",this.fapi),this.fapi.submit().then(e=>{this.$emit("submit",e,this.fapi,this.close),this.autoClose&&this.close()}).catch(e=>{this.$emit("validateFail",e,this.fapi)})}},mounted(){this.formCreateInject.api.top.bus.$on("fc.closeDialog",this.close),n.onUnmounted(()=>{this.formCreateInject.api.top.bus.$off("fc.closeDialog",this.close)})}}),nE={class:"_fc-popup-title"},iE={class:"_fc-popup-content"},rE={class:"_fc-popup-footer"};function oE(e,t,r,o,i,l){const d=n.resolveComponent("van-button"),c=n.resolveComponent("van-popup");return n.openBlock(),n.createBlock(c,n.mergeProps({class:"_fc-popup",closeable:""},e.$attrs,{show:e.visible,"onUpdate:show":t[1]||(t[1]=u=>e.visible=u)}),{default:n.withCtx(()=>[n.createElementVNode("div",nE,n.toDisplayString(e.title),1),n.createElementVNode("div",iE,[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.Form),{option:e.formOptions,rule:e.formRule,extendOption:!0,api:e.fapi,"onUpdate:api":t[0]||(t[0]=u=>e.fapi=u),"model-value":e.value,subForm:!1,onChange:e.formChange,onEmitEvent:e.$emit},null,40,["option","rule","api","model-value","onChange","onEmitEvent"]))]),n.createElementVNode("div",rE,[e.footer!==!1?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createVNode(d,{block:"",size:"small",type:"primary",class:"fc-clock",onClick:e.handleConfirm},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("ok")||"\u786E\u5B9A"),1)]),_:1},8,["onClick"]),n.createVNode(d,{block:"",size:"small",class:"fc-clock",style:{"margin-top":"10px"},onClick:e.close},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("close")||"\u5173\u95ED"),1)]),_:1},8,["onClick"])],64)):n.createCommentVNode("",!0)])]),_:1},16,["show"])}const aE=Te(tE,[["render",oE]]),z6="",xc=n.defineComponent({name:"DataTable",emits:["sortChange","handleClick"],props:{column:{type:Array,default:()=>[]},globalDataKey:[String,Object],fetch:Object,data:{type:Array,default:()=>[]},button:Object,index:Boolean,selection:Boolean,page:Object,formCreateInject:Object},data(){return{total:0,loading:!1,unwatch:null,list:[],currentPage:1,id:1,order:"",orderBy:""}},watch:{globalDataKey(){this.initPage()},fetch(){this.globalDataKey||this.initPage()},data(){!this.globalDataKey&&!this.fetch&&this.initPage()},selection(){this.id++},index(){this.id++},page:{handler(){this.initPage(),this.id++},deep:!0},button:{handler(){this.id++},deep:!0}},computed:{filterList(){let e=this.list||[];const t=[];return this.column.forEach(r=>{r.prop&&Array.isArray(r.filter)&&r.filter.length>0&&t.push(o=>r.filter.indexOf(o[r.prop])>-1)}),t.forEach(r=>{e=e.filter(r)}),e}},render(){return n.withDirectives(n.h("div",{class:"_fc-data-table"},[n.h(n.resolveComponent("el-table"),{data:this.filterList,...this.$attrs,key:this.id,ref:"table",onSortChange:e=>{this.$emit("sortChange",e),e.order?(this.orderBy=e.order==="descending"?"DESC":"ASC",this.order=e.prop):(this.orderBy="",this.order=""),this.initPage()}},()=>{const e=this.column.filter(r=>r.hidden!==!0).map(r=>this.makeColumn(r));this.selection&&e.unshift(n.h(n.resolveComponent("el-table-column"),{type:"selection",width:"50px"}));const t=this.makeButtonCol();return t&&e.push(t),this.index&&e.unshift(n.h(n.resolveComponent("el-table-column"),{type:"index",width:"50px"})),e}),this.makePage()]),[[n.resolveDirective("loading"),this.loading]])},methods:{getEl(){return this.$refs.table},deepGet(e,t,r){t=(t||"").split(".");let o=0,i=t.length;for(;e!=null&&o{this.list=e}):this.list=this.data},btnProps(e,t){const r=e.prop||[],o={type:e.type,size:e.size,round:r.indexOf("round")>-1,link:r.indexOf("link")>-1,plain:r.indexOf("plain")>-1,disabled:r.indexOf("disabled")>-1,onClick:l=>{l.stopPropagation();const d=Vr(e.click);try{d&&d(t,this.formCreateInject.api)}catch(c){console.error(c)}this.$emit("handleClick",{name:e.name,key:e.key,scope:t,column:t.row})}},i=Vr(e.handle);try{const l=i&&i(o,t,this.formCreateInject.api);typeof l=="boolean"&&(o.disabled=l)}catch(l){console.error(l)}return o},getLimit(){return this.page.props&&this.page.props.pageSize||20},nextList(){if(this.globalDataKey||this.fetch)this.fetchData(!0).then(({list:e,total:t})=>{this.list=e,this.total=t});else{const e=this.data,t=this.getLimit(),r=this.currentPage*t;this.list=e.slice(r-t,r),this.total=e.length}},fetchData(e){return this.unwatch&&this.unwatch(),new Promise(t=>{let r=this.fetch;if(this.globalDataKey){const o=typeof this.globalDataKey=="string"?this.globalDataKey:this.globalDataKey.key;r=this.formCreateInject.api.options.globalData[o]}if(r)if(r.type==="fetch"||!this.globalDataKey){r={...r};let o={};if(e){const l=this.page.props&&this.page.props.pageSize||20,d=this.page.pageField||"page",c=this.page.pageSizeField||"limit";o={[d]:this.currentPage,[c]:l}}if(this.order){const l=this.page.orderField||"order",d=this.page.orderByField||"orderBy";o[l]=this.order,o[d]=this.orderBy}const i=Object.keys(o).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(o[l]),"").join("&");i&&(r.action+=(r.action.indexOf("?")!==-1?"&":"?")+i),this.loading=!0,r.wait=1e3,this.unwatch=this.formCreateInject.api.watchFetch(r,(l,d)=>{this.loading=!1;const c=this.page.totalField,u=this.page.dataField,h=u?this.deepGet(l,u,[]):l;let m=c?this.deepGet(l,c):0;m||(m=h.length||0),t({list:h,total:m})},l=>{console.error(l),this.loading=!1},(l,d)=>{if(d)return this.unwatch&&this.unwatch(),this.unwatch=null,setTimeout(()=>{this.changePage(1)}),!1})}else{let o=r.data||[],i=r.data.length;if(e){const l=this.getLimit(),d=this.currentPage*l;o=o.slice(d-l,d),i=o.length}t({list:o,total:i})}else t({list:[],total:0})})},changePage(e){this.currentPage=e,this.nextList()},makePage(){if(this.page&&this.page.open===!0)return n.h(n.resolveComponent("el-pagination"),{layout:"prev, pager, next",total:this.total,currentPage:this.currentPage,"onUpdate:currentPage":e=>{this.currentPage!==e&&this.changePage(e)},class:this.page.position||"right",...this.page.props||{},pageSize:this.page.props&&this.page.props.pageSize||20})},makeButtonCol(){if(this.button&&this.button.open===!0&&this.button.column)return n.h(n.resolveComponent("el-table-column"),{label:this.button.label||this.formCreateInject.t("operation")||"\u64CD\u4F5C",fixed:this.button.fixed===void 0?"right":this.button.fixed,width:this.button.width||"100px"},{default:e=>this.button.column.filter(t=>t.hidden!==!0).map(t=>n.h(n.resolveComponent("el-button"),this.btnProps(t,e),()=>[t.name]))})},makeColumn(e){return n.h(n.resolveComponent("el-table-column"),{label:e.label,prop:e.prop,width:e.width,align:e.align,className:e.className,fixed:e.fixed,sortable:e.sortable},{default:t=>{if(e.children&&e.children.length>0)return e.children.map(r=>this.makeColumn(r));if(!(!e.format||e.format==="default"))return this.makeTd(e,t)}})},makeTd(e,t){return e.format==="custom"&&e.render?e.render(t,n.h,n.resolveComponent,this.formCreateInject.api):e.format==="tag"?n.h(n.resolveComponent("el-tag"),{disableTransitions:!0},()=>[this.deepGet(t.row,e.prop,"")]):e.format==="image"?n.h("div",{class:"_fc-data-table-img-list"},(()=>{let r=this.deepGet(t.row,e.prop,"");return r=(Array.isArray(r)?r:[r]).filter(o=>!!o),r.map((o,i)=>n.h(n.resolveComponent("el-image"),{src:o,previewSrcList:r,previewTeleported:!0,initialIndex:i,fit:"cover"}))})()):""+this.deepGet(t.row,e.prop,"")}},created(){this.initPage(),this.$watch(()=>this.data&&this.data.length,()=>{!this.globalDataKey&&!this.fetch&&this.initPage()})}}),U6="",lE={name:"FcTable",props:{mini:Boolean,label:String,width:[Number,String],border:{type:Boolean,default:!0},borderWidth:String,borderColor:String,rule:{type:Object,default:()=>({row:1,col:1})}},watch:{rule:{handler(){this.initRule(),this.loadRule(),this.tdStyle=this.rule.style||{},this.tdClass=this.rule.class||{}},immediate:!0,deep:!0}},data(){return{tdStyle:{},tdClass:{},lattice:{}}},computed:{tableColor(){const e={};return this.border===!1?e.border="0 none":(this.borderColor&&(e.borderColor=this.borderColor),this.borderWidth&&(e.borderWidth=this.borderWidth)),e}},methods:{initRule(){const e=this.rule;e.style||(e.style={}),e.layout||(e.layout=[]),e.row||(e.row=1),e.col||(e.col=1)},loadRule(){const e=[],t=this.rule||{row:1,col:1};for(let o=0;o {if((!o.row||o.row<=0)&&(!o.col||o.col<=0)||!e[o.top]||!e[o.top][o.left]||!e[o.top][o.left].show){t.layout.splice(i,1);return}const l=e[o.top][o.left];l.layout=o;let d=1,c=1;if(o.col&&(d=o.col+o.left>t.col?t.col-o.left:o.col,l.colspan=d),o.row&&(c=o.row+o.top>t.row?t.row-o.top:o.row,l.rowspan=c),c&&d)for(let u=0;u !!(!o||o.layout||!o.show);e.forEach((o,i)=>{o.forEach((l,d)=>{let c=!1,u=!1;if(l.layout){const h=l.layout.col||1,m=l.layout.row||1;for(let y=0;y [n.createElementVNode("div",{class:n.normalizeClass(["_fc-table",{"is-mini":r.mini}])},[n.createElementVNode("table",{border:"1",cellspacing:"0",cellpadding:"0",style:n.normalizeStyle(l.tableColor)},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.rule.row,(c,u)=>(n.openBlock(),n.createElementBlock("tr",{key:u},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.rule.col,(h,m)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:`${u}${m}`},[i.lattice[u][m].show?(n.openBlock(),n.createElementBlock("td",n.mergeProps({key:0,ref_for:!0},i.lattice[u][m]?{colspan:i.lattice[u][m].colspan,rowspan:i.lattice[u][m].rowspan}:{},{valign:"top",class:i.tdClass&&i.tdClass[`${u}:${m}`]||"",style:[l.tableColor,i.tdStyle&&i.tdStyle[`${u}:${m}`]||{}]}),[n.renderSlot(e.$slots,`${u}:${m}`),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.lattice[u][m].slot,y=>n.renderSlot(e.$slots,`${y}`)),256))],16)):n.createCommentVNode("",!0)],64))),128))]))),128))],4)],2)]),_:3})}const Fh=Te(lE,[["render",sE]]),H6="",dE={name:"TableForm",emits:["change","add","delete","update:modelValue"],props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},columns:{type:Array,required:!0,default:()=>[]},filterEmptyColumn:{type:Boolean,default:!0},deletable:{type:Boolean,default:!0},addable:{type:Boolean,default:!0},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},max:Number,min:Number,disabled:Boolean},watch:{modelValue:{handler(){this.updateTable()},deep:!0},"formCreateInject.preview":function(e){this.emptyRule.children[0].props.colspan=this.columns.length+(e?1:2)}},data(){return{rule:[],trs:[],fapi:{},Form:n.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:"",emptyRule:{type:"tr",_isEmpty:!0,native:!0,subRule:!0,children:[{type:"td",style:{textAlign:"center"},native:!0,subRule:!0,props:{colspan:this.columns.length+(this.formCreateInject.preview?1:2)},children:[this.formCreateInject.t("dataEmpty")||"\u6682\u65E0\u6570\u636E"]}]}}},methods:{formChange(){this.updateValue()},updateValue(){const e=this.trs.map((r,o)=>({...this.modelValue[o]||{},...this.fapi.getChildrenFormData(r)})).filter(r=>{if(!this.filterEmptyColumn)return!0;if(r==null)return!1;let o=!1;return Object.keys(r).forEach(i=>{o=o||r[i]!==void 0&&r[i]!==""&&r[i]!==null}),o}),t=JSON.stringify(e);t!==this.oldValue&&(this.oldValue=t,this.$emit("update:modelValue",e),this.$emit("change",e))},setRawData(e,t){const r=this.trs[e];this.fapi.setChildrenFormData(r,t,!0)},updateTable(){const e=JSON.stringify(this.modelValue);this.oldValue!==e&&(this.oldValue=e,this.trs=this.trs.splice(0,this.modelValue.length),this.modelValue.length?this.clearEmpty():this.addEmpty(),this.modelValue.forEach((t,r)=>{this.trs[r]||this.addRaw(),this.setRawData(r,t||{})}),this.rule[0].children[1].children=this.trs)},addEmpty(){this.trs.length&&this.trs.splice(0,this.trs.length),this.trs.push(this.emptyRule)},clearEmpty(){this.trs[0]&&this.trs[0]._isEmpty&&this.trs.splice(0,1)},delRaw(e){this.disabled||!this.deletable||this.min>0&&this.trs.length<=this.min||(this.trs.splice(e,1),this.updateValue(),this.trs.length?this.trs.forEach(t=>this.updateRaw(t)):this.addEmpty(),this.$emit("delete",e))},addRaw(e){if(e&&this.disabled)return;const t=this.formCreateInject.form.parseJson(this.copyTrs)[0];this.trs.length===1&&this.trs[0]._isEmpty&&this.trs.splice(0,1),this.trs.push(t),this.updateRaw(t),e&&(this.$emit("add",this.trs.length),this.updateValue())},updateRaw(e){const t=this.trs.indexOf(e);e.children[0].props.innerText=t+1,e.children[e.children.length-1].children[0].props.onClick=()=>{this.delRaw(t)}},loadRule(){const e=[{type:"th",native:!0,class:"_fc-tf-head-idx",props:{innerText:"#"}}];let t=[{type:"td",class:"_fc-tf-idx",native:!0,props:{innerText:"0"}}];this.columns.forEach(r=>{e.push({type:"th",native:!0,style:r.style,class:r.required?"_fc-tf-head-required":"",props:{innerText:r.label||""}}),t.push({type:"td",native:!0,children:[...r.rule||[]]})}),e.push({type:"th",native:!0,class:"_fc-tf-edit fc-clock",props:{innerText:this.formCreateInject.t("operation")||"\u64CD\u4F5C"}}),t.push({type:"td",native:!0,class:"_fc-tf-btn fc-clock",children:[{type:"i",native:!0,class:"fc-icon icon-delete",props:{}}]}),this.copyTrs=this.formCreateInject.form.toJson([{type:"tr",native:!0,subRule:!0,children:t}]),this.rule=[{type:"table",native:!0,class:"_fc-tf-table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:[{type:"thead",native:!0,children:[{type:"tr",native:!0,children:e}]},{type:"tbody",native:!0,children:this.trs}]}]}},created(){this.loadRule()},mounted(){this.updateTable()}};function cE(e,t,r,o,i,l){const d=n.resolveComponent("el-button");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-table-form",{"_fc-disabled":r.disabled}])},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.Form),{option:r.options,rule:i.rule,extendOption:!0,disabled:r.disabled,onChange:l.formChange,api:i.fapi,"onUpdate:api":t[0]||(t[0]=c=>i.fapi=c),onEmitEvent:e.$emit},null,40,["option","rule","disabled","onChange","api","onEmitEvent"])),r.addable&&(!r.max||r.max>this.trs.length)?(n.openBlock(),n.createBlock(d,{key:0,link:"",type:"primary",class:"fc-clock",onClick:t[1]||(t[1]=c=>l.addRaw(!0))},{default:n.withCtx(()=>[t[2]||(t[2]=n.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),n.createTextVNode(" "+n.toDisplayString(r.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1})):n.createCommentVNode("",!0)],2)}const Ph=Te(dE,[["render",cE]]),W6="",uE={name:"TableFormPro",emits:["change","add","delete","update:modelValue","handleClick"],props:{formCreateInject:Object,height:[String,Number],modelValue:{type:Array,default:()=>[]},columns:{type:Array,required:!0,default:()=>[]},button:Object,page:Object,size:String,filterEmptyColumn:{type:Boolean,default:!0},newColumn:Boolean,deletable:{type:Boolean,default:!0},addable:{type:Boolean,default:!0},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},showIndex:Boolean,max:Number,min:Number,disabled:Boolean},watch:{modelValue:{handler(){const e=JSON.stringify(this.modelValue||[]);this.oldValue!==e&&(this.chunk=[[]],this.nowPage=1,this.updateTable(),this.oldValue=e)}}},computed:{total(){return this.chunk.reduce((e,t)=>(e+=t.length,e),0)},limit(){return!this.page||this.page.open!==!0?1e6:this.page.props&&this.page.props.pageSize||20},pageData(){return this.chunk[this.nowPage-1]}},data(){return{chunk:[[]],data:[],rule:[],trs:[],fapi:{},Form:n.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:"",nowPage:1,indexRule:{type:"el-table-column",props:{label:"#",type:"index",fixed:"left"}}}},methods:{paginateArray(){const e=this.modelValue||[],t=this.limit,r=[];for(let o=0;o {this.chunk[i]=[...this.chunk[i]||[],...o]}),this.nowPage>this.chunk.length&&(this.nowPage=this.chunk.length)},formChange(){this.updateValue()},updateValue(){this.trs.forEach((r,o)=>{yl(this.pageData[o],this.fapi.getChildrenFormData(r))});const e=rt(this.chunk.reduce((r,o)=>[...r,...o],[]).filter(r=>{if(!this.filterEmptyColumn)return!0;if(r==null)return!1;let o=!1;return Object.keys(r).forEach(i=>{o=o||r[i]!==void 0&&r[i]!==""&&r[i]!==null}),o})),t=JSON.stringify(e);t!==this.oldValue&&(this.oldValue=t,this.$emit("update:modelValue",e),this.$emit("change",e))},setRawData(e,t){const r=this.trs[e];this.fapi.setChildrenFormData(r,t,!0)},changePage(e){e!==this.nowPage&&(this.chunk[this.nowPage-1]=this.pageData,this.nowPage=e,this.rule[1].props.data=this.pageData,this.trs.splice(0,this.trs.length),this.pageData.forEach((t,r)=>{this.trs[r]||this.addRaw(),this.setRawData(r,t||{})}),this.rule[0].children=this.trs)},updateTable(){this.paginateArray(),this.rule[1].props.data=this.pageData,this.trs.splice(0,this.trs.length),this.pageData.forEach((e,t)=>{this.trs[t]||this.addRaw(),this.setRawData(t,e||{})}),this.rule[0].children=this.trs},delRaw(e){this.disabled||this.deletable===!1||this.min>0&&this.total<=this.min||(this.trs.splice(e,1),this.rule[1].props.data.splice(e,1),this.updateValue(),this.$emit("delete",e),this.oldValue="")},addRaw(e){if(!(e&&(this.disabled||this.addable===!1))){if(!e){const t=this.formCreateInject.form.parseJson(this.copy);this.trs.push(t);return}if(this.chunk[this.chunk.length-1].length>=this.limit)this.chunk.push([{}]);else if(e&&this.chunk[this.chunk.length-1].push({}),e&&this.nowPage===this.chunk.length){const t=this.formCreateInject.form.parseJson(this.copy);this.trs.push(t)}e&&(this.$emit("add",this.total),this.updateValue())}},btnProps(e,t){const r={...t};r.row=this.modelValue[t.$index]||{};const o=e.prop||[],i={type:e.type,size:e.size,round:o.indexOf("round")>-1,link:o.indexOf("link")>-1,plain:o.indexOf("plain")>-1,disabled:o.indexOf("disabled")>-1||this.disabled||e.key==="delete"&&this.deletable===!1,onClick:l=>{if(r.row=this.modelValue[t.$index]||{},l.stopPropagation(),e.key==="delete"){this.delRaw(t.$index);return}const d=Vr(e.click);try{d&&d(r,this.formCreateInject.api)}catch(c){console.error(c)}this.$emit("handleClick",{name:e.name,key:e.key,_scope:r,column:r.row})}};try{if(!this.disabled){const l=Vr(e.handle),d=l&&l(i,r,this.formCreateInject.api);typeof d=="boolean"&&(i.disabled=d)}}catch(l){console.error(l)}return i},processRule(e){let t=[];return e.forEach(r=>{r.children?t.push(...this.processRule(r.children)):(r._renderId=We(),t.push({type:"template",name:r._renderId,children:[...r.rule||[]]}))}),t},processColumns(e){return e.map((t,r)=>{var i;const o={type:"el-table-column",hidden:t.hidden===!0,props:{fixed:t.fixed||!1,width:((i=t==null?void 0:t.style)==null?void 0:i.width)||"auto",minWidth:120},renderSlots:{header(){var l;return n.h("span",{class:t.required?"is-required":"",style:{color:(l=t==null?void 0:t.style)==null?void 0:l.color}},t.label)}}};return t.children?o.children=this.processColumns(t.children):o.renderSlots.default=({$index:l})=>{var d,c,u,h,m,y,C,S;for(let w=0;w<((c=(d=this.rule[0])==null?void 0:d.children[l])==null?void 0:c.children.length);w++)if(((h=(u=this.rule[0])==null?void 0:u.children[l])==null?void 0:h.children[w].name)===t._renderId)return(S=(C=this.fapi.renderRule((y=(m=this.rule[0])==null?void 0:m.children[l])==null?void 0:y.children[w],void 0,!0))==null?void 0:C.default)==null?void 0:S.call(C)},o})},loadRule(){this.copy=this.formCreateInject.form.toJson({type:"template",name:"template",subRule:!0,children:this.processRule(this.columns)}),this.rule=[{type:"hidden",children:this.trs},{type:"elTable",style:{width:"100%"},key:1,props:{...this.$attrs,height:this.height,size:this.size,data:[]},children:[]}]}},created(){this.loadRule()},mounted(){const e=this.fapi.sync;this.fapi.sync=t=>{t.tableRenderUni=We(),e(t)},this.updateTable(),this.newColumn&&(!this.modelValue||!this.modelValue.length)&&this.addRaw(!0),this.$watch(()=>[...this.columns],t=>{this.rule[1].children.splice(this.rule[1].children.indexOf(this.indexRule)>-1?1:0,0,...this.processColumns(t)),this.rule[1].key++},{immediate:!0}),this.$watch(()=>this.showIndex,t=>{t===!1&&this.rule[1].children.indexOf(this.indexRule)>-1?this.rule[1].children.splice(0,1):t!==!1&&this.rule[1].children.indexOf(this.indexRule)===-1&&this.rule[1].children.unshift(this.indexRule)},{immediate:!0}),this.$watch(()=>this.formCreateInject.preview&&this.button&&this.button.column&&[{...this.button},...this.button.column],t=>{this.rule[1].children.forEach((r,o)=>{r._tableHandle&&this.rule[1].children.splice(o,1)}),!this.formCreateInject.preview&&this.button.open!==!1&&this.rule[1].children.push({type:"el-table-column",_tableHandle:!0,props:{label:this.button.label||this.formCreateInject.t("operation")||"\u64CD\u4F5C",fixed:this.button.fixed===void 0?"right":this.button.fixed,width:this.button.width||"100px"},renderSlots:{default:r=>this.button.column.filter(o=>o.hidden!==!0).map(o=>n.h(n.resolveComponent("el-button"),this.btnProps(o,r),()=>[o.key==="delete"&&this.formCreateInject.t("delete")||o.name]))}})},{immediate:!0})}},fE={class:"_fc-tf-pro-handle"};function pE(e,t,r,o,i,l){const d=n.resolveComponent("el-button"),c=n.resolveComponent("el-pagination");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-table-form-v2",{"_fc-disabled":r.disabled}])},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.Form),{option:r.options,rule:i.rule,extendOption:!0,disabled:r.disabled,onChange:l.formChange,api:i.fapi,"onUpdate:api":t[0]||(t[0]=u=>i.fapi=u),onEmitEvent:e.$emit},null,40,["option","rule","disabled","onChange","api","onEmitEvent"])),n.createElementVNode("div",fE,[n.createElementVNode("div",null,[(!r.max||r.max>l.total)&&r.addable!==!1&&r.disabled!==!0?(n.openBlock(),n.createBlock(d,{key:0,link:"",type:"primary",class:"fc-clock",onClick:t[1]||(t[1]=u=>l.addRaw(!0))},{default:n.withCtx(()=>[t[2]||(t[2]=n.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),n.createTextVNode(" "+n.toDisplayString(r.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1})):n.createCommentVNode("",!0)]),r.page&&r.page.open===!0&&i.chunk.length>1?(n.openBlock(),n.createBlock(c,n.mergeProps({key:0},r.page.props||{},{layout:"prev, pager, next",currentPage:i.nowPage,"onUpdate:currentPage":l.changePage,total:l.total,pageSize:l.limit}),null,16,["currentPage","onUpdate:currentPage","total","pageSize"])):n.createCommentVNode("",!0)])],2)}const Mh=Te(uE,[["render",pE]]),G6="",hE={name:"InfiniteTableForm",emits:["change","add","delete","update:modelValue"],props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},columns:{type:Array,required:!0,default:()=>[]},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},max:Number,layerMax:{type:Number,default:0},childrenField:String,disabled:Boolean},computed:{preview(){return this.formCreateInject.preview},subField(){return this.childrenField||"children"}},watch:{modelValue(){this.updateTable()},"formCreateInject.preview"(e){this.trs.forEach((t,r)=>{t.children[1]&&(t.children[1].children[0].props.colspan=this.rule[0].children[0].children[0].children.length-(e?1:0)),t.children[0].children[0].children[0].hidden=this.layerMax===1||e&&!(this.modelValue&&this.modelValue[r]&&Array.isArray(this.modelValue[r][this.subField])&&this.modelValue[r][this.subField].length>0)})}},data(){return{rule:[],trs:[],fapi:{},Form:n.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:""}},methods:{formChange(e,t,r,o,i){i===!1&&this.updateValue()},updateValue(){const e=this.trs.map((r,o)=>{const i={...this.modelValue[o]||{},...this.fapi.getChildrenFormData(r)};return!li(i,this.subField)&&this.modelValue[o]&&(i[this.subField]=this.modelValue[o][this.subField]),i[this.subField]==null&&delete i[this.subField],i}),t=JSON.stringify(e);t!==this.oldValue&&(this.oldValue=t,this.$emit("update:modelValue",e),this.$emit("change",e))},setRawData(e,t){const r=this.trs[e];this.fapi.setChildrenFormData(r,t,!0)},updateTable(){const e=JSON.stringify(this.modelValue);this.oldValue!==e&&(this.oldValue=e,this.trs=this.trs.splice(0,this.modelValue.length),this.modelValue.length||this.addRaw(),this.modelValue.forEach((t,r)=>{this.trs[r]||this.addRaw(),this.setRawData(r,t||{})}),this.rule[0].children[1].children=this.trs)},delRaw(e){this.disabled||(this.trs.splice(e,1),this.updateValue(),this.trs.length?this.trs.forEach(t=>this.updateRaw(t)):this.addRaw(),this.$emit("delete",e))},addRaw(e){if(e&&this.disabled)return;const t=this.formCreateInject.form.parseJson(this.copyTrs)[0],r={type:"template",subRule:!0,children:[]};r.children.push(t),this.trs.push(r),this.trs.forEach(o=>this.updateRaw(o)),e&&this.$emit("add",this.trs)},updateRaw(e){const t=this.trs.indexOf(e),r=e.children[0];r.children[0].children[0].hidden=this.layerMax===1||this.preview&&!(this.modelValue&&this.modelValue[t]&&Array.isArray(this.modelValue[t][this.subField])&&this.modelValue[t][this.subField].length>0),r.children[0].children[0].props.onClick=o=>{if(this.trs[t].children.length===1){if(this.disabled&&!(this.modelValue&&this.modelValue[t]&&Array.isArray(this.modelValue[t][this.subField])&&this.modelValue[t][this.subField].length>0))return;this.trs[t].children.push({type:"tr",native:!0,display:!0,children:[{type:"td",native:!0,props:{colspan:this.rule[0].children[0].children[0].children.length-(this.preview?1:0)},class:"_fc-itf-sub",children:[{type:"infiniteTableForm",field:this.subField,value:[...this.modelValue[t]&&this.modelValue[t][this.subField]||[]],props:{disabled:this.disabled,layerMax:this.layerMax===0?0:this.layerMax>1?this.layerMax-1:1,max:this.max||0,columns:rt(this.columns),options:rt(this.options)}}]}]})}const i=o.self.children[0]==="-"?"+":"-";o.self.children=[i],this.trs[t].children[1].display=i==="-"},r.children[1].props.innerText=t+1,r.children[r.children.length-1].children[0].props.onClick=()=>{this.delRaw(t)}},loadRule(){const e=[{type:"th",native:!0,class:"_fc-itf-sub-idx"},{type:"th",native:!0,class:"_fc-itf-head-idx",props:{innerText:"#"}}];let t=[{type:"td",class:"_fc-itf-idx",native:!0,children:[{type:"div",hidden:!1,children:["+"],inject:!0,props:{}}]},{type:"td",class:"_fc-itf-idx",native:!0,props:{innerText:"0"}}];this.columns.forEach(r=>{e.push({type:"th",native:!0,class:r.required?"_fc-itf-head-required":"",style:r.style,props:{innerText:r.label||""}}),t.push({type:"td",native:!0,children:[...r.rule||[]]})}),e.push({type:"th",native:!0,class:"_fc-itf-edit fc-clock",props:{innerText:this.formCreateInject.t("operation")||"\u64CD\u4F5C"}}),t.push({type:"td",native:!0,class:"_fc-itf-btn fc-clock",children:[{type:"i",native:!0,class:"fc-icon icon-delete",props:{}}]}),this.copyTrs=this.formCreateInject.form.toJson([{type:"tr",native:!0,children:t}]),this.rule=[{type:"table",native:!0,class:"_fc-itf-table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:[{type:"thead",native:!0,children:[{type:"tr",native:!0,children:e}]},{type:"tbody",native:!0,children:this.trs}]}]}},created(){this.loadRule()},mounted(){this.updateTable()}};function mE(e,t,r,o,i,l){const d=n.resolveComponent("el-button");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-infinite-table-form",{"_fc-disabled":r.disabled}])},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.Form),{option:r.options,rule:i.rule,extendOption:!0,onChange:l.formChange,disabled:r.disabled,api:i.fapi,"onUpdate:api":t[0]||(t[0]=c=>i.fapi=c),onEmitEvent:e.$emit},null,40,["option","rule","onChange","disabled","api","onEmitEvent"])),!r.max||r.max>this.trs.length?(n.openBlock(),n.createBlock(d,{key:0,link:"",type:"primary",class:"fc-clock",onClick:t[1]||(t[1]=c=>l.addRaw(!0))},{default:n.withCtx(()=>[t[2]||(t[2]=n.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),n.createTextVNode(" "+n.toDisplayString(r.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1})):n.createCommentVNode("",!0)],2)}const Lh=Te(hE,[["render",mE]]),K6="",gE={name:"NestedTableForm",emits:["change","add","delete","update:modelValue"],props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},nested:Array,nestedField:String,columns:{type:Array,required:!0,default:()=>[]},options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},max:Number,nestedMax:Number,disabled:Boolean},computed:{preview(){return this.formCreateInject.preview}},watch:{modelValue(){this.updateTable()},"formCreateInject.preview"(e){this.trs.forEach(t=>{const r=t.children[1].children[0].props.colspan;t.children[1].children[0].props.colspan=e?r-1:r+1})}},data(){return{rule:[],trs:[],fapi:{},Form:n.markRaw(this.formCreateInject.form.$form()),copyTrs:"",oldValue:""}},methods:{formChange(e,t,r,o,i){i===!1&&this.updateValue()},updateValue(){const e=this.trs.map((r,o)=>({...this.modelValue[o]||{},...this.fapi.getChildrenFormData(r)})).filter(r=>{if(r==null)return!1;let o=!1;return Object.keys(r).forEach(i=>{o||(o=o||r[i]!==void 0&&r[i]!==""&&r[i]!==null&&(Array.isArray(r[i])?!!r[i].length:!0))}),o}),t=JSON.stringify(e);t!==this.oldValue&&(this.oldValue=t,this.$emit("update:modelValue",e),this.$emit("change",e))},setRawData(e,t){const r=this.trs[e];this.fapi.setChildrenFormData(r,t,!0)},updateTable(){const e=JSON.stringify(this.modelValue);this.oldValue!==e&&(this.oldValue=e,this.trs=this.trs.splice(0,this.modelValue.length),this.modelValue.length||this.addRaw(),this.modelValue.forEach((t,r)=>{this.trs[r]||this.addRaw(),this.setRawData(r,t||{})}),this.rule[0].children[1].children=this.trs)},delRaw(e){this.disabled||(this.trs.splice(e,1),this.updateValue(),this.trs.length?this.trs.forEach(t=>this.updateRaw(t)):this.addRaw(),this.$emit("delete",e))},addRaw(e){if(e&&this.disabled)return;const t=this.formCreateInject.form.parseJson(this.copyTrs)[0],r={type:"template",subRule:!0,children:[]};r.children.push(t),r.children.push({type:"tr",native:!0,display:!1,children:[{type:"td",native:!0,props:{colspan:t.children.length-(this.preview?1:0)},class:"_fc-ntf-sub",children:[{type:"TableForm",field:this.nestedField,value:[],props:{disabled:this.disabled,max:this.nestedMax||0,columns:rt(this.nested),options:rt(this.options)}}]}]}),this.trs.push(r),this.updateRaw(r),e&&this.$emit("add",this.trs)},updateRaw(e){const t=this.trs.indexOf(e),r=e.children[0];r.children[0].children[0].props.onClick=o=>{const i=o.self.children[0]==="-"?"+":"-";o.self.children=[i],this.trs[t].children[1].display=i==="-"},r.children[1].props.innerText=t+1,r.children[r.children.length-1].children[0].props.onClick=()=>{this.delRaw(t)}},loadRule(){const e=[{type:"th",native:!0,class:"_fc-ntf-sub-idx"},{type:"th",native:!0,class:"_fc-ntf-head-idx",props:{innerText:"#"}}];let t=[{type:"td",class:"_fc-ntf-idx",native:!0,children:[{type:"div",hidden:!1,children:["+"],inject:!0,props:{}}]},{type:"td",class:"_fc-ntf-idx",native:!0,props:{innerText:"0"}}];this.columns.forEach(r=>{e.push({type:"th",native:!0,class:r.required?"_fc-ntf-head-required":"",style:r.style,props:{innerText:r.label||""}}),t.push({type:"td",native:!0,children:[...r.rule||[]]})}),e.push({type:"th",native:!0,class:"_fc-ntf-edit fc-clock",props:{innerText:this.formCreateInject.t("operation")||"\u64CD\u4F5C"}}),t.push({type:"td",native:!0,class:"_fc-ntf-btn fc-clock",children:[{type:"i",native:!0,class:"fc-icon icon-delete",props:{}}]}),this.copyTrs=this.formCreateInject.form.toJson([{type:"tr",native:!0,children:t}]),this.rule=[{type:"table",native:!0,class:"_fc-ntf-table",props:{border:"1",cellspacing:"0",cellpadding:"0"},children:[{type:"thead",native:!0,children:[{type:"tr",native:!0,children:e}]},{type:"tbody",native:!0,children:this.trs}]}]}},created(){this.loadRule()},mounted(){this.updateTable()}};function vE(e,t,r,o,i,l){const d=n.resolveComponent("el-button");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-nested-table-form",{"_fc-disabled":r.disabled}])},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.Form),{option:r.options,rule:i.rule,extendOption:!0,onChange:l.formChange,disabled:r.disabled,api:i.fapi,"onUpdate:api":t[0]||(t[0]=c=>i.fapi=c),onEmitEvent:e.$emit},null,40,["option","rule","onChange","disabled","api","onEmitEvent"])),!r.max||r.max>this.trs.length?(n.openBlock(),n.createBlock(d,{key:0,link:"",type:"primary",class:"fc-clock",onClick:t[1]||(t[1]=c=>l.addRaw(!0))},{default:n.withCtx(()=>[t[2]||(t[2]=n.createElementVNode("i",{class:"fc-icon icon-add-circle",style:{"font-weight":"700"}},null,-1)),n.createTextVNode(" "+n.toDisplayString(r.formCreateInject.t("add")||"\u6DFB\u52A0"),1)]),_:1})):n.createCommentVNode("",!0)],2)}const jh=Te(gE,[["render",vE]]),Y6="",yE=n.defineComponent({name:"FcCell"}),bE={ref:"cell",class:"_fc-cell"};function wE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",bE,[n.renderSlot(e.$slots,"default")],512)}const zh=Te(yE,[["render",wE]]),CE=n.defineComponent({name:"FcValue",props:["modelValue"],watch:{modelValue(e){this.$emit("change",e)}}}),_E={class:"_fc-value"};function EE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",_E,n.toDisplayString(e.modelValue),1)}const Uh=Te(CE,[["render",EE]]),Q6="",AE=n.defineComponent({name:"FcCity",props:{modelValue:Array,clearable:Boolean,placeholder:String,disabled:Boolean,filter:Function,level:{type:Number,default:3},api:String},emits:["update:modelValue","change"],data(){return{inputValue:"",show:!1,province:[]}},watch:{modelValue:{handler(e){this.inputValue=(e||[]).join(" / ")},deep:!0,immediate:!0}},computed:{city(){if(this.value.p){for(let e=0;e r.text).join(" / "),this.show=!1;const t=e.map(r=>r.value);this.$emit("update:modelValue",t),this.$emit("change",t)},clear(e){e.stopPropagation(),this.inputValue="",this.$emit("update:modelValue",[]),this.$emit("change",[])},loadData(e){return fetch(e).then(t=>t.json()).then(t=>{this.province=n.markRaw(this.tidyOptions(this.filter?this.filter(t)||[]:t,0))})},tidyOptions(e,t){return e.map(r=>{const o={text:r.text||r.n,value:r.value||r.text||r.n};return(r.children||r.d)&&t+1 {this.loadData("https://cdn.jsdelivr.net/npm/@province-city-china/level/level.min.json").catch(()=>{this.loadData("https://npm.onmicrosoft.cn/@province-city-china/level/level.min.json")})})}}),SE={class:"_fc-city-m"};function xE(e,t,r,o,i,l){const d=n.resolveComponent("van-field"),c=n.resolveComponent("van-cascader"),u=n.resolveComponent("van-popup");return n.openBlock(),n.createElementBlock("div",SE,[n.createVNode(d,{ref:"el",placeholder:e.placeholder,readonly:"",disabled:e.disabled,onClick:e.open,"model-value":e.inputValue,border:!1,isLink:""},n.createSlots({_:2},[e.clearable&&e.inputValue?{name:"right-icon",fn:n.withCtx(()=>[n.createElementVNode("i",{class:"van-badge__wrapper van-icon van-icon-clear van-field__clear",onClick:t[0]||(t[0]=(...h)=>e.clear&&e.clear(...h))})]),key:"0"}:void 0]),1032,["placeholder","disabled","onClick","model-value"]),n.createVNode(u,{show:e.show,"onUpdate:show":t[2]||(t[2]=h=>e.show=h),round:"",position:"bottom"},{default:n.withCtx(()=>[n.createVNode(c,{modelValue:e.modelValue&&e.modelValue[e.modelValue.length-1]||"",options:e.province,onClose:t[1]||(t[1]=h=>e.show=!1),onFinish:e.confirm},null,8,["modelValue","options","onFinish"])]),_:1},8,["show"])])}const kE=Te(AE,[["render",xE]]),Hh=n.defineComponent({name:"FcSlot",inheritAttrs:!1,inject:["parentFC"],props:{name:String,formCreateInject:Object},computed:{slotName(){return this.name||"block_default"},slotArg(){const{rule:e,preview:t,api:r}=this.formCreateInject,o=e.__fc__.prop;return{rule:e,prop:o,preview:t,api:r,model:o.model||{}}}},render(){const e=this.getSlot();return n.createVNode(n.Fragment,{},e?[e(this.slotArg)]:[])},methods:{getSlot(){const e=t=>{if(t){let r=t.slots[this.slotName];return r||e(t.setupState.parent)}};return e(this.parentFC)}}}),Wh=n.defineComponent({name:"FcJson",inheritAttrs:!1,props:{rule:[Array,String,Object],type:String,disabled:Boolean,expand:Number,button:{type:Boolean,default:!0},max:{type:Number,default:0},min:{type:Number,default:0},sortBtn:{type:Boolean,default:!0},modelValue:[Object,Array],formCreateInject:Object},data(){return{fcSubForm:n.shallowRef(this.formCreateInject.form.component("fcSubForm")),fcGroup:n.shallowRef(this.formCreateInject.form.component("fcGroup")),uni:0,formRule:[],formOptions:{submitBtn:!1,resetBtn:!1}}},watch:{rule(){this.uni++,this.loadRule()},type(){this.loadRule()}},render(){var e,t;if(this.rule)return this.type==="object"?n.createVNode(this.fcSubForm,{key:2,...this.$attrs,modelValue:this.modelValue,"onUpdate:modelValue":r=>{this.$emit("update:modelValue",r)},disabled:this.disabled,formCreateInject:this.formCreateInject,rule:this.formRule,options:this.formOptions}):this.type==="array"?n.createVNode(this.fcGroup,{key:3,...this.$attrs,modelValue:this.modelValue,"onUpdate:modelValue":r=>{this.$emit("update:modelValue",r)},sortBtn:this.sortBtn,min:this.min,max:this.max,expand:this.expand,button:this.button,disabled:this.disabled,formCreateInject:this.formCreateInject,rule:this.formRule,options:this.formOptions}):n.createVNode(n.Fragment,{key:this.uni},[(t=(e=this.$slots)==null?void 0:e.default)==null?void 0:t.call(e)])},methods:{loadRule(){let e=rt(this.rule);typeof e=="string"&&(e=this.formCreateInject.form.parseJson(e)),Array.isArray(e)?this.formRule=e:typeof e=="object"&&(this.formRule=e.rule||[],this.formOptions={submitBtn:!1,resetBtn:!1,...e.options||{}}),e!=null?["array","object"].indexOf(this.type)===-1&&(this.formCreateInject.rule.children=[{type:"template",_fc_drag_skip:!0,children:this.formRule}]):this.formCreateInject.rule.children=[]}},created(){this.rule&&this.loadRule()}}),J6="",NE=n.defineComponent({name:"fcInlineForm"}),TE={class:"_fc-line-form"};function DE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",TE,[n.renderSlot(e.$slots,"default")])}const kc=Te(NE,[["render",DE]]),nn=function(){var e=function(){},t={},r={},o={};function i(m,y){m=m.push?m:[m];var C=[],S=m.length,w=S,E,b,g,_;for(E=function(x,k){k.length&&C.push(x),w--,w||y(C)};S--;){if(b=m[S],g=r[b],g){E(b,g);continue}_=o[b]=o[b]||[],_.push(E)}}function l(m,y){if(!!m){var C=o[m];if(r[m]=y,!!C)for(;C.length;)C[0](m,y),C.splice(0,1)}}function d(m,y){m.call&&(m={success:m}),y.length?(m.error||e)(y):(m.success||e)(m)}function c(m,y,C,S){var w=document,E=C.async,b=(C.numRetries||0)+1,g=C.before||e,_=m.replace(/[\?|#].*$/,""),x=m.replace(/^(css|img|module|nomodule)!/,""),k,T,O;if(S=S||0,/(^css!|\.css$)/.test(_))O=w.createElement("link"),O.rel="stylesheet",O.href=x,k="hideFocus"in O,k&&O.relList&&(k=0,O.rel="preload",O.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(_))O=w.createElement("img"),O.src=x;else if(O=w.createElement("script"),O.src=x,O.async=E===void 0?!0:E,T="noModule"in O,/^module!/.test(_)){if(!T)return y(m,"l");O.type="module"}else if(/^nomodule!/.test(_)&&T)return y(m,"l");O.onload=O.onerror=O.onbeforeload=function(F){var I=F.type[0];if(k)try{O.sheet.cssText.length||(I="e")}catch(M){M.code!=18&&(I="e")}if(I=="e"){if(S+=1,Sw.src.indexOf(E)===-1);else{S=!1;break}if(y&&S&&Math.random()<.1){const w=new Image,E=btoa(encodeURIComponent(m.location.host+", "+(m.formCreate.license||""))+", KrrSN2KlZ2tanmqEGlAE"),b=E.substr(2,8);w.src=atob("aHR0cHM6Ly9hcGkuZm9ybS1jcmVhdGUuY29tL2gucG5nP3U9")+(b.substr(2,3)+E.slice(0,10).split("").reverse().join("")+b.substr(3,2)+E.slice(10)).replace(/=/g,"")}}catch{}})();function u(m,y,C){m=m.push?m:[m];var S=m.length,w=S,E=[],b,g,_=!0;for(b=function(x,k,T){if(k=="e"&&(E.push(x),_=!1),k=="b")if(T)E.push(x);else return;S--,S||y(E,_)},g=0;g {h.reset(C),y.length>0&&h.tryLoad(y,C)})},h.loadNpm=function(y,C){h.tryLoad(["https://unpkg.com/"+y,"https://cdn.jsdelivr.net/npm/"+y,"https://npm.onmicrosoft.cn/"+y],C)},h.isDefined=function(y){return y in t},h}();function El(e,t){var r=null;return function(...o){r!==null&&clearTimeout(r),r=setTimeout(()=>e.call(this,...o),t)}}const X6="",VE=n.defineComponent({name:"FcEcharts",data(){return{chart:null,debounceLoad:El(()=>{this.load()},600),debounceResize:El(()=>{this.chart&&this.chart.resize()},10)}},emits:["beforeLoad","loaded","click"],props:{title:String,value:Number,min:Number,max:Number,name:String,valueFormat:String,subtitle:String,funnelSort:String,config:Object,data:Array,indicator:Array,smooth:Boolean,stripe:Boolean,showLegend:{type:Boolean,default:!0},loadOptions:{type:Function,default:()=>{}},showSeriesLabel:Boolean,type:String,pieType:String,stack:Boolean,barBackgroundColor:String},watch:{$props:{handler(){this.debounceLoad()},deep:!0}},methods:{getSeries(){var r;const e={type:"line",stack:this.stack?"Total":"",smooth:this.smooth,showBackground:!1,label:{show:this.showSeriesLabel,position:this.stripe?"inside":"top"}};this.type==="area"?(e.areaStyle={},e.emphasis={focus:"series"}):this.type==="bar"&&(e.type="bar",this.barBackgroundColor&&(e.showBackground=!0,e.backgroundStyle={color:this.barBackgroundColor}));let t=((r=this.config)==null?void 0:r.series)||[];return t.length?(typeof t[0]!="object"&&(t=[{data:t}]),t=t.map(o=>({...e,...o})),t):[]},getTooltip(){const e={trigger:"axis",valueFormat:void 0};return this.valueFormat&&(e.valueFormatter=t=>this.valueFormat?this.valueFormat.replaceAll("{value}",t):t),this.type==="bar"&&(e.axisPointer={type:"shadow"}),e},getAxis(){var e,t;return this.stripe?{yAxis:{type:"category",boundaryGap:this.type==="bar",data:((t=this.config)==null?void 0:t.category)||[]},xAxis:{type:"value"}}:{xAxis:{type:"category",boundaryGap:this.type==="bar",data:(e=this.config)==null?void 0:e.category},yAxis:{type:"value"}}},getDefOptions(){return{title:{text:this.title,subtext:this.subtitle},tooltip:this.getTooltip(),legend:{left:"right",show:this.showLegend},grid:{left:"20px",right:"20px",bottom:"20px",containLabel:!0},...this.getAxis(),series:this.getSeries()}},getPieOptions(){const e={radius:"50%",center:"50%",startAngle:0,avoidLabelOverlap:!0,labelLine:{show:!0},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}};return this.pieType==="doughnut"?(e.radius=["40%","70%"],e.avoidLabelOverlap=!1):this.pieType==="half-doughnut"&&(e.radius=["40%","70%"],e.center=["50%","70%"],e.startAngle=180,e.endAngle=360),{title:{text:this.title,subtext:this.subtitle,left:"left"},tooltip:{trigger:"item"},legend:{left:"right",show:this.showLegend},series:[{type:"pie",data:this.data,...e}]}},getGaugeOptions(){return{title:{text:this.title,subtext:this.subtitle,left:"center"},series:[{name:"Pressure",type:"gauge",min:this.min||0,max:this.max||60,progress:{show:!0},detail:{valueAnimation:!0,formatter:"{value}"},data:[{value:this.value,name:this.name}]}]}},getRadarOptions(){return{title:{text:this.title,subtext:this.subtitle,left:"left"},tooltip:{trigger:"axis"},legend:{left:"right",show:this.showLegend},radar:{indicator:this.indicator},series:[{type:"radar",tooltip:{trigger:"item"},data:this.data}]}},getScatterOptions(){return{title:{text:this.title,subtext:this.subtitle,left:"left"},tooltip:{trigger:"axis"},legend:{left:"right",show:!0},xAxis:{scale:!0},yAxis:{scale:!0},grid:{left:"20px",right:"20px",bottom:"20px",containLabel:!0},series:(this.data||[]).map(e=>Array.isArray(e)?{type:"scatter",data:e}:{type:"scatter",...e})}},getFunnelOptions(){return{title:{text:this.title,subtext:this.subtitle,left:"left"},tooltip:{trigger:"item"},legend:{left:"right",show:this.showLegend},series:[{name:"Funnel",type:"funnel",left:"10%",top:"40px",bottom:"20px",width:"80%",min:0,max:Math.max(...(this.data||[]).map(e=>e.value)),minSize:"0%",maxSize:"100%",sort:this.funnelSort||"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{}},data:this.data}]}},load(){this.$nextTick(()=>{nn.ready("echarts",()=>{this.chart=n.markRaw(window.echarts.init(this.$refs.chart)),this.chart.on("click",(...t)=>{this.$emit("click",...t)});let e;if(this.type==="pie")e=this.getPieOptions();else if(this.type==="funnel")e=this.getFunnelOptions();else if(this.type==="gauge")e=this.getGaugeOptions();else if(this.type==="radar")e=this.getRadarOptions();else if(this.type==="scatter")e=this.getScatterOptions();else if(this.type==="custom"){if(e=this.loadOptions(this.config,this.chart)||{},typeof e.then=="function"){e.then(t=>{this.$emit("beforeLoad",this.chart,t),this.chart.setOption(t),this.$emit("loaded",this.chart,t)});return}}else e=this.getDefOptions();this.$emit("beforeLoad",this.chart,e),this.chart.setOption(e),this.$emit("loaded",this.chart,e)})})}},created(){window.echarts?nn.done("echarts"):nn.isDefined("echarts")||nn.loadNpm("echarts@5.6.0/dist/echarts.min.js","echarts")},mounted(){this.load(),window.addEventListener("resize",this.debounceResize)},unmounted(){window.removeEventListener("resize",this.debounceResize)}}),OE={class:"_fc-echarts",ref:"chart"};function BE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",OE,null,512)}const Gh=Te(VE,[["render",BE]]);/*! * Signature Pad v5.0.7 | https://github.com/szimek/signature_pad * (c) 2025 Szymon Nowak | Released under the MIT license - */class Al{constructor(t,r,o,i){if(isNaN(t)||isNaN(r))throw new Error(`Point is invalid: (${t}, ${r})`);this.x=+t,this.y=+r,this.pressure=o||0,this.time=i||Date.now()}distanceTo(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))}equals(t){return this.x===t.x&&this.y===t.y&&this.pressure===t.pressure&&this.time===t.time}velocityFrom(t){return this.time!==t.time?this.distanceTo(t)/(this.time-t.time):0}}class Nc{static fromPoints(t,r){const o=this.calculateControlPoints(t[0],t[1],t[2]).c2,i=this.calculateControlPoints(t[1],t[2],t[3]).c1;return new Nc(t[1],o,i,t[2],r.start,r.end)}static calculateControlPoints(t,r,o){const i=t.x-r.x,l=t.y-r.y,d=r.x-o.x,c=r.y-o.y,u={x:(t.x+r.x)/2,y:(t.y+r.y)/2},h={x:(r.x+o.x)/2,y:(r.y+o.y)/2},m=Math.sqrt(i*i+l*l),y=Math.sqrt(d*d+c*c),C=u.x-h.x,S=u.y-h.y,w=m+y==0?0:y/(m+y),E={x:h.x+C*w,y:h.y+S*w},b=r.x-E.x,g=r.y-E.y;return{c1:new Al(u.x+b,u.y+g),c2:new Al(h.x+b,h.y+g)}}constructor(t,r,o,i,l,d){this.startPoint=t,this.control2=r,this.control1=o,this.endPoint=i,this.startWidth=l,this.endWidth=d}length(){let r=0,o,i;for(let l=0;l<=10;l+=1){const d=l/10,c=this.point(d,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),u=this.point(d,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(l>0){const h=c-o,m=u-i;r+=Math.sqrt(h*h+m*m)}o=c,i=u}return r}point(t,r,o,i,l){return r*(1-t)*(1-t)*(1-t)+3*o*(1-t)*(1-t)*t+3*i*(1-t)*t*t+l*t*t*t}}class RE{constructor(){try{this._et=new EventTarget}catch{this._et=document}}addEventListener(t,r,o){this._et.addEventListener(t,r,o)}dispatchEvent(t){return this._et.dispatchEvent(t)}removeEventListener(t,r,o){this._et.removeEventListener(t,r,o)}}function $E(e,t=250){let r=0,o=null,i,l,d;const c=()=>{r=Date.now(),o=null,i=e.apply(l,d),o||(l=null,d=[])};return function(...h){const m=Date.now(),y=t-(m-r);return l=this,d=h,y<=0||y>t?(o&&(clearTimeout(o),o=null),r=m,i=e.apply(l,d),o||(l=null,d=[])):o||(o=window.setTimeout(c,y)),i}}class Ho extends RE{constructor(t,r={}){var o,i,l;super(),this.canvas=t,this._drawingStroke=!1,this._isEmpty=!0,this._lastPoints=[],this._data=[],this._lastVelocity=0,this._lastWidth=0,this._handleMouseDown=d=>{!this._isLeftButtonPressed(d,!0)||this._drawingStroke||this._strokeBegin(this._pointerEventToSignatureEvent(d))},this._handleMouseMove=d=>{if(!this._isLeftButtonPressed(d,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(d),!1);return}this._strokeMoveUpdate(this._pointerEventToSignatureEvent(d))},this._handleMouseUp=d=>{this._isLeftButtonPressed(d)||this._strokeEnd(this._pointerEventToSignatureEvent(d))},this._handleTouchStart=d=>{d.targetTouches.length!==1||this._drawingStroke||(d.cancelable&&d.preventDefault(),this._strokeBegin(this._touchEventToSignatureEvent(d)))},this._handleTouchMove=d=>{if(d.targetTouches.length===1){if(d.cancelable&&d.preventDefault(),!this._drawingStroke){this._strokeEnd(this._touchEventToSignatureEvent(d),!1);return}this._strokeMoveUpdate(this._touchEventToSignatureEvent(d))}},this._handleTouchEnd=d=>{d.targetTouches.length===0&&(d.cancelable&&d.preventDefault(),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this._strokeEnd(this._touchEventToSignatureEvent(d)))},this._handlePointerDown=d=>{!d.isPrimary||!this._isLeftButtonPressed(d)||this._drawingStroke||(d.preventDefault(),this._strokeBegin(this._pointerEventToSignatureEvent(d)))},this._handlePointerMove=d=>{if(!!d.isPrimary){if(!this._isLeftButtonPressed(d,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(d),!1);return}d.preventDefault(),this._strokeMoveUpdate(this._pointerEventToSignatureEvent(d))}},this._handlePointerUp=d=>{!d.isPrimary||this._isLeftButtonPressed(d)||(d.preventDefault(),this._strokeEnd(this._pointerEventToSignatureEvent(d)))},this.velocityFilterWeight=r.velocityFilterWeight||.7,this.minWidth=r.minWidth||.5,this.maxWidth=r.maxWidth||2.5,this.throttle=(o=r.throttle)!==null&&o!==void 0?o:16,this.minDistance=(i=r.minDistance)!==null&&i!==void 0?i:5,this.dotSize=r.dotSize||0,this.penColor=r.penColor||"black",this.backgroundColor=r.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=r.compositeOperation||"source-over",this.canvasContextOptions=(l=r.canvasContextOptions)!==null&&l!==void 0?l:{},this._strokeMoveUpdate=this.throttle?$E(Ho.prototype._strokeUpdate,this.throttle):Ho.prototype._strokeUpdate,this._ctx=t.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}clear(){const{_ctx:t,canvas:r}=this;t.fillStyle=this.backgroundColor,t.clearRect(0,0,r.width,r.height),t.fillRect(0,0,r.width,r.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0}fromDataURL(t,r={}){return new Promise((o,i)=>{const l=new Image,d=r.ratio||window.devicePixelRatio||1,c=r.width||this.canvas.width/d,u=r.height||this.canvas.height/d,h=r.xOffset||0,m=r.yOffset||0;this._reset(this._getPointGroupOptions()),l.onload=()=>{this._ctx.drawImage(l,h,m,c,u),o()},l.onerror=y=>{i(y)},l.crossOrigin="anonymous",l.src=t,this._isEmpty=!1})}toDataURL(t="image/png",r){switch(t){case"image/svg+xml":return typeof r!="object"&&(r=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(r))}`;default:return typeof r!="number"&&(r=void 0),this.canvas.toDataURL(t,r)}}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const t=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!t?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerDown),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this._removeMoveUpEventListeners()}_getListenerFunctions(){var t;const r=window.document===this.canvas.ownerDocument?window:(t=this.canvas.ownerDocument.defaultView)!==null&&t!==void 0?t:this.canvas.ownerDocument;return{addEventListener:r.addEventListener.bind(r),removeEventListener:r.removeEventListener.bind(r)}}_removeMoveUpEventListeners(){const{removeEventListener:t}=this._getListenerFunctions();t("pointermove",this._handlePointerMove),t("pointerup",this._handlePointerUp),t("mousemove",this._handleMouseMove),t("mouseup",this._handleMouseUp),t("touchmove",this._handleTouchMove),t("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(t,{clear:r=!0}={}){r&&this.clear(),this._fromData(t,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(t)}toData(){return this._data}_isLeftButtonPressed(t,r){return r?t.buttons===1:(t.buttons&1)===1}_pointerEventToSignatureEvent(t){return{event:t,type:t.type,x:t.clientX,y:t.clientY,pressure:"pressure"in t?t.pressure:0}}_touchEventToSignatureEvent(t){const r=t.changedTouches[0];return{event:t,type:t.type,x:r.clientX,y:r.clientY,pressure:r.force}}_getPointGroupOptions(t){return{penColor:t&&"penColor"in t?t.penColor:this.penColor,dotSize:t&&"dotSize"in t?t.dotSize:this.dotSize,minWidth:t&&"minWidth"in t?t.minWidth:this.minWidth,maxWidth:t&&"maxWidth"in t?t.maxWidth:this.maxWidth,velocityFilterWeight:t&&"velocityFilterWeight"in t?t.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:t&&"compositeOperation"in t?t.compositeOperation:this.compositeOperation}}_strokeBegin(t){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:t,cancelable:!0})))return;const{addEventListener:o}=this._getListenerFunctions();switch(t.event.type){case"mousedown":o("mousemove",this._handleMouseMove),o("mouseup",this._handleMouseUp);break;case"touchstart":o("touchmove",this._handleTouchMove),o("touchend",this._handleTouchEnd);break;case"pointerdown":o("pointermove",this._handlePointerMove),o("pointerup",this._handlePointerUp);break}this._drawingStroke=!0;const i=this._getPointGroupOptions(),l=Object.assign(Object.assign({},i),{points:[]});this._data.push(l),this._reset(i),this._strokeUpdate(t)}_strokeUpdate(t){if(!this._drawingStroke)return;if(this._data.length===0){this._strokeBegin(t);return}this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:t}));const r=this._createPoint(t.x,t.y,t.pressure),o=this._data[this._data.length-1],i=o.points,l=i.length>0&&i[i.length-1],d=l?r.distanceTo(l)<=this.minDistance:!1,c=this._getPointGroupOptions(o);if(!l||!(l&&d)){const u=this._addPoint(r,c);l?u&&this._drawCurve(u,c):this._drawDot(r,c),i.push({time:r.time,x:r.x,y:r.y,pressure:r.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:t}))}_strokeEnd(t,r=!0){this._removeMoveUpEventListeners(),this._drawingStroke&&(r&&this._strokeUpdate(t),this._drawingStroke=!1,this.dispatchEvent(new CustomEvent("endStroke",{detail:t})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerDown)}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown)}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart)}_reset(t){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(t.minWidth+t.maxWidth)/2,this._ctx.fillStyle=t.penColor,this._ctx.globalCompositeOperation=t.compositeOperation}_createPoint(t,r,o){const i=this.canvas.getBoundingClientRect();return new Al(t-i.left,r-i.top,o,new Date().getTime())}_addPoint(t,r){const{_lastPoints:o}=this;if(o.push(t),o.length>2){o.length===3&&o.unshift(o[0]);const i=this._calculateCurveWidths(o[1],o[2],r),l=Nc.fromPoints(o,i);return o.shift(),l}return null}_calculateCurveWidths(t,r,o){const i=o.velocityFilterWeight*r.velocityFrom(t)+(1-o.velocityFilterWeight)*this._lastVelocity,l=this._strokeWidth(i,o),d={end:l,start:this._lastWidth};return this._lastVelocity=i,this._lastWidth=l,d}_strokeWidth(t,r){return Math.max(r.maxWidth/(t+1),r.minWidth)}_drawCurveSegment(t,r,o){const i=this._ctx;i.moveTo(t,r),i.arc(t,r,o,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(t,r){const o=this._ctx,i=t.endWidth-t.startWidth,l=Math.ceil(t.length())*2;o.beginPath(),o.fillStyle=r.penColor;for(let d=0;d 0?r.dotSize:(r.minWidth+r.maxWidth)/2;o.beginPath(),this._drawCurveSegment(t.x,t.y,i),o.closePath(),o.fillStyle=r.penColor,o.fill()}_fromData(t,r,o){for(const i of t){const{points:l}=i,d=this._getPointGroupOptions(i);if(l.length>1)for(let c=0;c {const y=document.createElement("path");if(!isNaN(h.control1.x)&&!isNaN(h.control1.y)&&!isNaN(h.control2.x)&&!isNaN(h.control2.y)){const C=`M ${h.startPoint.x.toFixed(3)},${h.startPoint.y.toFixed(3)} C ${h.control1.x.toFixed(3)},${h.control1.y.toFixed(3)} ${h.control2.x.toFixed(3)},${h.control2.y.toFixed(3)} ${h.endPoint.x.toFixed(3)},${h.endPoint.y.toFixed(3)}`;y.setAttribute("d",C),y.setAttribute("stroke-width",(h.endWidth*2.25).toFixed(3)),y.setAttribute("stroke",m),y.setAttribute("fill","none"),y.setAttribute("stroke-linecap","round"),u.appendChild(y)}},(h,{penColor:m,dotSize:y,minWidth:C,maxWidth:S})=>{const w=document.createElement("circle"),E=y>0?y:(C+S)/2;w.setAttribute("r",E.toString()),w.setAttribute("cx",h.x.toString()),w.setAttribute("cy",h.y.toString()),w.setAttribute("fill",m),u.appendChild(w)}),u.outerHTML}}const Z6="",FE=n.defineComponent({name:"SignaturePad",emits:["update:modelValue","change","remove"],data(){return{visible:!1,isEmpty:!0,signaturePad:null}},props:{modelValue:String,penColor:String,formCreateInject:Object},watch:{visible(e){e?(this.isEmpty=!0,this.$nextTick(()=>{this.signaturePad=n.markRaw(new Ho(this.$refs.pad,{penColor:this.penColor})),this.signaturePad.addEventListener("endStroke",()=>{this.isEmpty=this.signaturePad.isEmpty()})})):(this.signaturePad.off(),this.signaturePad=null)}},methods:{clear(){this.signaturePad.clear(),this.isEmpty=!0},submit(){const e=this.signaturePad.toDataURL();this.updateValue(e),this.visible=!1},updateValue(e){this.$emit("update:modelValue",e),this.$emit("change",e)},remove(){this.updateValue(""),this.$emit("remove")}}}),IE={class:"_fc-m-signature"},PE={key:0,class:"_fc-m-signature-preview"},ME=["src"],LE={class:"_fc-m-signature-pad",ref:"pad",width:"320px",height:"145px"};function jE(e,t,r,o,i,l){const d=n.resolveComponent("van-dialog");return n.openBlock(),n.createElementBlock("div",IE,[e.modelValue?(n.openBlock(),n.createElementBlock("div",PE,[n.createElementVNode("i",{class:"fc-icon icon-delete2",onClick:t[0]||(t[0]=(...c)=>e.remove&&e.remove(...c))}),n.createElementVNode("img",{src:e.modelValue,alt:"signature"},null,8,ME)])):(n.openBlock(),n.createElementBlock("div",{key:1,class:"_fc-m-signature-btn",onClick:t[1]||(t[1]=c=>e.visible=!0)},[t[4]||(t[4]=n.createElementVNode("i",{class:"fc-icon icon-edit2"},null,-1)),n.createTextVNode(" "+n.toDisplayString(e.formCreateInject.t("signaturePadTip")||"\u70B9\u51FB\u6DFB\u52A0\u624B\u5199\u7B7E\u540D"),1)])),n.createVNode(d,{show:e.visible,"onUpdate:show":t[3]||(t[3]=c=>e.visible=c),class:"_fc-m-signature-dialog",onConfirm:e.submit,onCancel:e.clear,"confirm-button-text":e.formCreateInject.t("ok")||"\u786E\u5B9A","cancel-button-text":e.formCreateInject.t("reset")||"\u91CD\u7F6E","confirm-button-disabled":e.isEmpty},{title:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("signaturePadTitle")||"\u8BF7\u5728\u865A\u7EBF\u6846\u5185\u4E66\u5199")+" ",1),n.createElementVNode("i",{class:"fc-icon icon-add2",onClick:t[2]||(t[2]=c=>e.visible=!1)})]),default:n.withCtx(()=>[n.createElementVNode("canvas",LE,null,512)]),_:1},8,["show","onConfirm","onCancel","confirm-button-text","cancel-button-text","confirm-button-disabled"])])}const zE=De(FE,[["render",jE]]);function Tc(e,t,r){for(var o=[],i=Math.max(e.length,t.length),l=0,d=0;d>1,e!==0;)i=Tc(i,i,r);return o}function UE(e,t){for(var r=e.split(""),o=[],i=r.length-1;i>=0;i--){var l=parseInt(r[i],t);if(isNaN(l))return null;o.push(l)}return o}function HE(e,t,r){var o=UE(e,t);if(o===null)return null;for(var i=[],l=[1],d=0;d =0;d--)c+=i[d].toString(r);return c}function WE(e){return e.substring(0,2)==="0x"&&(e=e.substring(2)),e=e.toLowerCase(),HE(e,16,10)}class GE{constructor(t){t=t||{},this.seq=0,this.mid=(t.mid||1)%1023,this.offset=t.offset||0,this.lastTime=0}generate(){const t=Date.now(),r=(t-this.offset).toString(2);this.lastTime==t?(this.seq++,this.seq>4095&&(this.seq=0)):this.seq=0,this.lastTime=t;let o=this.seq.toString(2),i=this.mid.toString(2);for(;o.length<12;)o="0"+o;for(;i.length<10;)i="0"+i;const l=r+i+o;let d="";for(let c=l.length;c>0;c-=4)d=parseInt(l.substring(c-4,c),2).toString(16)+d;return WE(d)}}const KE=n.defineComponent({name:"FcId",props:["modelValue","prefix"],emits:["update:modelValue"],inject:{designer:{default:null}},data(){return{preview:"7379787000000000"}},watch:{modelValue:{handler:function(e){if(!e){const t=new GE({mid:42,offset:173448e7});this.$emit("update:modelValue",""+(this.prefix||"")+t.generate())}},immediate:!0}}});function YE(e,t,r,o,i,l){const d=n.resolveComponent("el-input");return n.openBlock(),n.createBlock(d,{modelValue:e.designer?""+(e.prefix||"")+e.preview:e.modelValue,readonly:"",disabled:""},null,8,["modelValue"])}const Yh=De(KE,[["render",YE]]),q6="",QE=n.defineComponent({name:"FcTitle",data(){return{}},props:{title:String,size:String,align:String},computed:{textStyle(){return{textAlign:this.align||"left"}}}});function JE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-title",e.size||"h2"]),style:n.normalizeStyle(e.textStyle)},n.toDisplayString(e.title),7)}const Qh=De(QE,[["render",JE]]);function Dc(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let dr=Dc();function Jh(e){dr=e}const Wo={exec:()=>null};function Et(e,t=""){let r=typeof e=="string"?e:e.source;const o={replace:(i,l)=>{let d=typeof l=="string"?l:l.source;return d=d.replace(mn.caret,"$1"),r=r.replace(i,d),o},getRegex:()=>new RegExp(r,t)};return o}const mn={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},XE=/^(?:[ \t]*(?:\n|$))+/,ZE=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,qE=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Go=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eA=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Vc=/(?:[*+-]|\d{1,9}[.)])/,Xh=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Zh=Et(Xh).replace(/bull/g,Vc).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),tA=Et(Xh).replace(/bull/g,Vc).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Oc=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,nA=/^[^\n]+/,Bc=/(?!\s*\])(?:\\.|[^\[\]\\])+/,iA=Et(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Bc).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),rA=Et(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Vc).getRegex(),Sl="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Rc=/|$))/,oA=Et("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Rc).replace("tag",Sl).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),qh=Et(Oc).replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sl).getRegex(),$c={blockquote:Et(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",qh).getRegex(),code:ZE,def:iA,fences:qE,heading:eA,hr:Go,html:oA,lheading:Zh,list:rA,newline:XE,paragraph:qh,table:Wo,text:nA},em=Et("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sl).getRegex(),aA={...$c,lheading:tA,table:em,paragraph:Et(Oc).replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",em).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sl).getRegex()},lA={...$c,html:Et(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)| \\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Rc).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Wo,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Et(Oc).replace("hr",Go).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Zh).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},sA=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,dA=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,tm=/^( {2,}|\\)\n(?!\s*$)/,cA=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,rm=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,mA=Et(rm,"u").replace(/punct/g,xl).getRegex(),gA=Et(rm,"u").replace(/punct/g,im).getRegex(),om="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",vA=Et(om,"gu").replace(/notPunctSpace/g,nm).replace(/punctSpace/g,Fc).replace(/punct/g,xl).getRegex(),yA=Et(om,"gu").replace(/notPunctSpace/g,pA).replace(/punctSpace/g,fA).replace(/punct/g,im).getRegex(),bA=Et("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,nm).replace(/punctSpace/g,Fc).replace(/punct/g,xl).getRegex(),wA=Et(/\\(punct)/,"gu").replace(/punct/g,xl).getRegex(),CA=Et(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_A=Et(Rc).replace("(?:-->|$)","-->").getRegex(),EA=Et("^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",_A).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),kl=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,AA=Et(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",kl).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),am=Et(/^!?\[(label)\]\[(ref)\]/).replace("label",kl).replace("ref",Bc).getRegex(),lm=Et(/^!?\[(ref)\](?:\[\])?/).replace("ref",Bc).getRegex(),SA=Et("reflink|nolink(?!\\()","g").replace("reflink",am).replace("nolink",lm).getRegex(),Ic={_backpedal:Wo,anyPunctuation:wA,autolink:CA,blockSkip:hA,br:tm,code:dA,del:Wo,emStrongLDelim:mA,emStrongRDelimAst:vA,emStrongRDelimUnd:bA,escape:sA,link:AA,nolink:lm,punctuation:uA,reflink:am,reflinkSearch:SA,tag:EA,text:cA,url:Wo},xA={...Ic,link:Et(/^!?\[(label)\]\((.*?)\)/).replace("label",kl).getRegex(),reflink:Et(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",kl).getRegex()},Pc={...Ic,emStrongRDelimAst:yA,emStrongLDelim:gA,url:Et(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},sm=e=>NA[e];function pi(e,t){if(t){if(mn.escapeTest.test(e))return e.replace(mn.escapeReplace,sm)}else if(mn.escapeTestNoEncode.test(e))return e.replace(mn.escapeReplaceNoEncode,sm);return e}function dm(e){try{e=encodeURI(e).replace(mn.percentDecode,"%")}catch{return null}return e}function cm(e,t){var l;const r=e.replace(mn.findPipe,(d,c,u)=>{let h=!1,m=c;for(;--m>=0&&u[m]==="\\";)h=!h;return h?"|":" |"}),o=r.split(mn.splitPipe);let i=0;if(o[0].trim()||o.shift(),o.length>0&&!((l=o.at(-1))!=null&&l.trim())&&o.pop(),t)if(o.length>t)o.splice(t);else for(;o.length 0?-2:-1}function um(e,t,r,o,i){const l=t.href,d=t.title||null,c=e[1].replace(i.other.outputLinkReplace,"$1");o.state.inLink=!0;const u={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:l,title:d,text:c,tokens:o.inlineTokens(c)};return o.state.inLink=!1,u}function DA(e,t,r){const o=e.match(r.other.indentCodeCompensation);if(o===null)return t;const i=o[1];return t.split(` + */class Al{constructor(t,r,o,i){if(isNaN(t)||isNaN(r))throw new Error(`Point is invalid: (${t}, ${r})`);this.x=+t,this.y=+r,this.pressure=o||0,this.time=i||Date.now()}distanceTo(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))}equals(t){return this.x===t.x&&this.y===t.y&&this.pressure===t.pressure&&this.time===t.time}velocityFrom(t){return this.time!==t.time?this.distanceTo(t)/(this.time-t.time):0}}class Nc{static fromPoints(t,r){const o=this.calculateControlPoints(t[0],t[1],t[2]).c2,i=this.calculateControlPoints(t[1],t[2],t[3]).c1;return new Nc(t[1],o,i,t[2],r.start,r.end)}static calculateControlPoints(t,r,o){const i=t.x-r.x,l=t.y-r.y,d=r.x-o.x,c=r.y-o.y,u={x:(t.x+r.x)/2,y:(t.y+r.y)/2},h={x:(r.x+o.x)/2,y:(r.y+o.y)/2},m=Math.sqrt(i*i+l*l),y=Math.sqrt(d*d+c*c),C=u.x-h.x,S=u.y-h.y,w=m+y==0?0:y/(m+y),E={x:h.x+C*w,y:h.y+S*w},b=r.x-E.x,g=r.y-E.y;return{c1:new Al(u.x+b,u.y+g),c2:new Al(h.x+b,h.y+g)}}constructor(t,r,o,i,l,d){this.startPoint=t,this.control2=r,this.control1=o,this.endPoint=i,this.startWidth=l,this.endWidth=d}length(){let r=0,o,i;for(let l=0;l<=10;l+=1){const d=l/10,c=this.point(d,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),u=this.point(d,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(l>0){const h=c-o,m=u-i;r+=Math.sqrt(h*h+m*m)}o=c,i=u}return r}point(t,r,o,i,l){return r*(1-t)*(1-t)*(1-t)+3*o*(1-t)*(1-t)*t+3*i*(1-t)*t*t+l*t*t*t}}class RE{constructor(){try{this._et=new EventTarget}catch{this._et=document}}addEventListener(t,r,o){this._et.addEventListener(t,r,o)}dispatchEvent(t){return this._et.dispatchEvent(t)}removeEventListener(t,r,o){this._et.removeEventListener(t,r,o)}}function $E(e,t=250){let r=0,o=null,i,l,d;const c=()=>{r=Date.now(),o=null,i=e.apply(l,d),o||(l=null,d=[])};return function(...h){const m=Date.now(),y=t-(m-r);return l=this,d=h,y<=0||y>t?(o&&(clearTimeout(o),o=null),r=m,i=e.apply(l,d),o||(l=null,d=[])):o||(o=window.setTimeout(c,y)),i}}class Ho extends RE{constructor(t,r={}){var o,i,l;super(),this.canvas=t,this._drawingStroke=!1,this._isEmpty=!0,this._lastPoints=[],this._data=[],this._lastVelocity=0,this._lastWidth=0,this._handleMouseDown=d=>{!this._isLeftButtonPressed(d,!0)||this._drawingStroke||this._strokeBegin(this._pointerEventToSignatureEvent(d))},this._handleMouseMove=d=>{if(!this._isLeftButtonPressed(d,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(d),!1);return}this._strokeMoveUpdate(this._pointerEventToSignatureEvent(d))},this._handleMouseUp=d=>{this._isLeftButtonPressed(d)||this._strokeEnd(this._pointerEventToSignatureEvent(d))},this._handleTouchStart=d=>{d.targetTouches.length!==1||this._drawingStroke||(d.cancelable&&d.preventDefault(),this._strokeBegin(this._touchEventToSignatureEvent(d)))},this._handleTouchMove=d=>{if(d.targetTouches.length===1){if(d.cancelable&&d.preventDefault(),!this._drawingStroke){this._strokeEnd(this._touchEventToSignatureEvent(d),!1);return}this._strokeMoveUpdate(this._touchEventToSignatureEvent(d))}},this._handleTouchEnd=d=>{d.targetTouches.length===0&&(d.cancelable&&d.preventDefault(),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this._strokeEnd(this._touchEventToSignatureEvent(d)))},this._handlePointerDown=d=>{!d.isPrimary||!this._isLeftButtonPressed(d)||this._drawingStroke||(d.preventDefault(),this._strokeBegin(this._pointerEventToSignatureEvent(d)))},this._handlePointerMove=d=>{if(!!d.isPrimary){if(!this._isLeftButtonPressed(d,!0)||!this._drawingStroke){this._strokeEnd(this._pointerEventToSignatureEvent(d),!1);return}d.preventDefault(),this._strokeMoveUpdate(this._pointerEventToSignatureEvent(d))}},this._handlePointerUp=d=>{!d.isPrimary||this._isLeftButtonPressed(d)||(d.preventDefault(),this._strokeEnd(this._pointerEventToSignatureEvent(d)))},this.velocityFilterWeight=r.velocityFilterWeight||.7,this.minWidth=r.minWidth||.5,this.maxWidth=r.maxWidth||2.5,this.throttle=(o=r.throttle)!==null&&o!==void 0?o:16,this.minDistance=(i=r.minDistance)!==null&&i!==void 0?i:5,this.dotSize=r.dotSize||0,this.penColor=r.penColor||"black",this.backgroundColor=r.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=r.compositeOperation||"source-over",this.canvasContextOptions=(l=r.canvasContextOptions)!==null&&l!==void 0?l:{},this._strokeMoveUpdate=this.throttle?$E(Ho.prototype._strokeUpdate,this.throttle):Ho.prototype._strokeUpdate,this._ctx=t.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}clear(){const{_ctx:t,canvas:r}=this;t.fillStyle=this.backgroundColor,t.clearRect(0,0,r.width,r.height),t.fillRect(0,0,r.width,r.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0}fromDataURL(t,r={}){return new Promise((o,i)=>{const l=new Image,d=r.ratio||window.devicePixelRatio||1,c=r.width||this.canvas.width/d,u=r.height||this.canvas.height/d,h=r.xOffset||0,m=r.yOffset||0;this._reset(this._getPointGroupOptions()),l.onload=()=>{this._ctx.drawImage(l,h,m,c,u),o()},l.onerror=y=>{i(y)},l.crossOrigin="anonymous",l.src=t,this._isEmpty=!1})}toDataURL(t="image/png",r){switch(t){case"image/svg+xml":return typeof r!="object"&&(r=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(r))}`;default:return typeof r!="number"&&(r=void 0),this.canvas.toDataURL(t,r)}}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const t=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!t?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerDown),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this._removeMoveUpEventListeners()}_getListenerFunctions(){var t;const r=window.document===this.canvas.ownerDocument?window:(t=this.canvas.ownerDocument.defaultView)!==null&&t!==void 0?t:this.canvas.ownerDocument;return{addEventListener:r.addEventListener.bind(r),removeEventListener:r.removeEventListener.bind(r)}}_removeMoveUpEventListeners(){const{removeEventListener:t}=this._getListenerFunctions();t("pointermove",this._handlePointerMove),t("pointerup",this._handlePointerUp),t("mousemove",this._handleMouseMove),t("mouseup",this._handleMouseUp),t("touchmove",this._handleTouchMove),t("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(t,{clear:r=!0}={}){r&&this.clear(),this._fromData(t,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(t)}toData(){return this._data}_isLeftButtonPressed(t,r){return r?t.buttons===1:(t.buttons&1)===1}_pointerEventToSignatureEvent(t){return{event:t,type:t.type,x:t.clientX,y:t.clientY,pressure:"pressure"in t?t.pressure:0}}_touchEventToSignatureEvent(t){const r=t.changedTouches[0];return{event:t,type:t.type,x:r.clientX,y:r.clientY,pressure:r.force}}_getPointGroupOptions(t){return{penColor:t&&"penColor"in t?t.penColor:this.penColor,dotSize:t&&"dotSize"in t?t.dotSize:this.dotSize,minWidth:t&&"minWidth"in t?t.minWidth:this.minWidth,maxWidth:t&&"maxWidth"in t?t.maxWidth:this.maxWidth,velocityFilterWeight:t&&"velocityFilterWeight"in t?t.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:t&&"compositeOperation"in t?t.compositeOperation:this.compositeOperation}}_strokeBegin(t){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:t,cancelable:!0})))return;const{addEventListener:o}=this._getListenerFunctions();switch(t.event.type){case"mousedown":o("mousemove",this._handleMouseMove),o("mouseup",this._handleMouseUp);break;case"touchstart":o("touchmove",this._handleTouchMove),o("touchend",this._handleTouchEnd);break;case"pointerdown":o("pointermove",this._handlePointerMove),o("pointerup",this._handlePointerUp);break}this._drawingStroke=!0;const i=this._getPointGroupOptions(),l=Object.assign(Object.assign({},i),{points:[]});this._data.push(l),this._reset(i),this._strokeUpdate(t)}_strokeUpdate(t){if(!this._drawingStroke)return;if(this._data.length===0){this._strokeBegin(t);return}this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:t}));const r=this._createPoint(t.x,t.y,t.pressure),o=this._data[this._data.length-1],i=o.points,l=i.length>0&&i[i.length-1],d=l?r.distanceTo(l)<=this.minDistance:!1,c=this._getPointGroupOptions(o);if(!l||!(l&&d)){const u=this._addPoint(r,c);l?u&&this._drawCurve(u,c):this._drawDot(r,c),i.push({time:r.time,x:r.x,y:r.y,pressure:r.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:t}))}_strokeEnd(t,r=!0){this._removeMoveUpEventListeners(),this._drawingStroke&&(r&&this._strokeUpdate(t),this._drawingStroke=!1,this.dispatchEvent(new CustomEvent("endStroke",{detail:t})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerDown)}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown)}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart)}_reset(t){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(t.minWidth+t.maxWidth)/2,this._ctx.fillStyle=t.penColor,this._ctx.globalCompositeOperation=t.compositeOperation}_createPoint(t,r,o){const i=this.canvas.getBoundingClientRect();return new Al(t-i.left,r-i.top,o,new Date().getTime())}_addPoint(t,r){const{_lastPoints:o}=this;if(o.push(t),o.length>2){o.length===3&&o.unshift(o[0]);const i=this._calculateCurveWidths(o[1],o[2],r),l=Nc.fromPoints(o,i);return o.shift(),l}return null}_calculateCurveWidths(t,r,o){const i=o.velocityFilterWeight*r.velocityFrom(t)+(1-o.velocityFilterWeight)*this._lastVelocity,l=this._strokeWidth(i,o),d={end:l,start:this._lastWidth};return this._lastVelocity=i,this._lastWidth=l,d}_strokeWidth(t,r){return Math.max(r.maxWidth/(t+1),r.minWidth)}_drawCurveSegment(t,r,o){const i=this._ctx;i.moveTo(t,r),i.arc(t,r,o,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(t,r){const o=this._ctx,i=t.endWidth-t.startWidth,l=Math.ceil(t.length())*2;o.beginPath(),o.fillStyle=r.penColor;for(let d=0;d 0?r.dotSize:(r.minWidth+r.maxWidth)/2;o.beginPath(),this._drawCurveSegment(t.x,t.y,i),o.closePath(),o.fillStyle=r.penColor,o.fill()}_fromData(t,r,o){for(const i of t){const{points:l}=i,d=this._getPointGroupOptions(i);if(l.length>1)for(let c=0;c {const y=document.createElement("path");if(!isNaN(h.control1.x)&&!isNaN(h.control1.y)&&!isNaN(h.control2.x)&&!isNaN(h.control2.y)){const C=`M ${h.startPoint.x.toFixed(3)},${h.startPoint.y.toFixed(3)} C ${h.control1.x.toFixed(3)},${h.control1.y.toFixed(3)} ${h.control2.x.toFixed(3)},${h.control2.y.toFixed(3)} ${h.endPoint.x.toFixed(3)},${h.endPoint.y.toFixed(3)}`;y.setAttribute("d",C),y.setAttribute("stroke-width",(h.endWidth*2.25).toFixed(3)),y.setAttribute("stroke",m),y.setAttribute("fill","none"),y.setAttribute("stroke-linecap","round"),u.appendChild(y)}},(h,{penColor:m,dotSize:y,minWidth:C,maxWidth:S})=>{const w=document.createElement("circle"),E=y>0?y:(C+S)/2;w.setAttribute("r",E.toString()),w.setAttribute("cx",h.x.toString()),w.setAttribute("cy",h.y.toString()),w.setAttribute("fill",m),u.appendChild(w)}),u.outerHTML}}const Z6="",IE=n.defineComponent({name:"SignaturePad",emits:["update:modelValue","change","remove"],data(){return{visible:!1,isEmpty:!0,signaturePad:null}},props:{modelValue:String,penColor:String,formCreateInject:Object},watch:{visible(e){e?(this.isEmpty=!0,this.$nextTick(()=>{this.signaturePad=n.markRaw(new Ho(this.$refs.pad,{penColor:this.penColor})),this.signaturePad.addEventListener("endStroke",()=>{this.isEmpty=this.signaturePad.isEmpty()})})):(this.signaturePad.off(),this.signaturePad=null)}},methods:{clear(){this.signaturePad.clear(),this.isEmpty=!0},submit(){const e=this.signaturePad.toDataURL();this.updateValue(e),this.visible=!1},updateValue(e){this.$emit("update:modelValue",e),this.$emit("change",e)},remove(){this.updateValue(""),this.$emit("remove")}}}),FE={class:"_fc-m-signature"},PE={key:0,class:"_fc-m-signature-preview"},ME=["src"],LE={class:"_fc-m-signature-pad",ref:"pad",width:"320px",height:"145px"};function jE(e,t,r,o,i,l){const d=n.resolveComponent("van-dialog");return n.openBlock(),n.createElementBlock("div",FE,[e.modelValue?(n.openBlock(),n.createElementBlock("div",PE,[n.createElementVNode("i",{class:"fc-icon icon-delete2",onClick:t[0]||(t[0]=(...c)=>e.remove&&e.remove(...c))}),n.createElementVNode("img",{src:e.modelValue,alt:"signature"},null,8,ME)])):(n.openBlock(),n.createElementBlock("div",{key:1,class:"_fc-m-signature-btn",onClick:t[1]||(t[1]=c=>e.visible=!0)},[t[4]||(t[4]=n.createElementVNode("i",{class:"fc-icon icon-edit2"},null,-1)),n.createTextVNode(" "+n.toDisplayString(e.formCreateInject.t("signaturePadTip")||"\u70B9\u51FB\u6DFB\u52A0\u624B\u5199\u7B7E\u540D"),1)])),n.createVNode(d,{show:e.visible,"onUpdate:show":t[3]||(t[3]=c=>e.visible=c),class:"_fc-m-signature-dialog",onConfirm:e.submit,onCancel:e.clear,"confirm-button-text":e.formCreateInject.t("ok")||"\u786E\u5B9A","cancel-button-text":e.formCreateInject.t("reset")||"\u91CD\u7F6E","confirm-button-disabled":e.isEmpty},{title:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("signaturePadTitle")||"\u8BF7\u5728\u865A\u7EBF\u6846\u5185\u4E66\u5199")+" ",1),n.createElementVNode("i",{class:"fc-icon icon-add2",onClick:t[2]||(t[2]=c=>e.visible=!1)})]),default:n.withCtx(()=>[n.createElementVNode("canvas",LE,null,512)]),_:1},8,["show","onConfirm","onCancel","confirm-button-text","cancel-button-text","confirm-button-disabled"])])}const zE=Te(IE,[["render",jE]]);function Tc(e,t,r){for(var o=[],i=Math.max(e.length,t.length),l=0,d=0;d>1,e!==0;)i=Tc(i,i,r);return o}function UE(e,t){for(var r=e.split(""),o=[],i=r.length-1;i>=0;i--){var l=parseInt(r[i],t);if(isNaN(l))return null;o.push(l)}return o}function HE(e,t,r){var o=UE(e,t);if(o===null)return null;for(var i=[],l=[1],d=0;d =0;d--)c+=i[d].toString(r);return c}function WE(e){return e.substring(0,2)==="0x"&&(e=e.substring(2)),e=e.toLowerCase(),HE(e,16,10)}class GE{constructor(t){t=t||{},this.seq=0,this.mid=(t.mid||1)%1023,this.offset=t.offset||0,this.lastTime=0}generate(){const t=Date.now(),r=(t-this.offset).toString(2);this.lastTime==t?(this.seq++,this.seq>4095&&(this.seq=0)):this.seq=0,this.lastTime=t;let o=this.seq.toString(2),i=this.mid.toString(2);for(;o.length<12;)o="0"+o;for(;i.length<10;)i="0"+i;const l=r+i+o;let d="";for(let c=l.length;c>0;c-=4)d=parseInt(l.substring(c-4,c),2).toString(16)+d;return WE(d)}}const KE=n.defineComponent({name:"FcId",props:["modelValue","prefix"],emits:["update:modelValue"],inject:{designer:{default:null}},data(){return{preview:"7379787000000000"}},watch:{modelValue:{handler:function(e){if(!e){const t=new GE({mid:42,offset:173448e7});this.$emit("update:modelValue",""+(this.prefix||"")+t.generate())}},immediate:!0}}});function YE(e,t,r,o,i,l){const d=n.resolveComponent("el-input");return n.openBlock(),n.createBlock(d,{modelValue:e.designer?""+(e.prefix||"")+e.preview:e.modelValue,readonly:"",disabled:""},null,8,["modelValue"])}const Yh=Te(KE,[["render",YE]]),q6="",QE=n.defineComponent({name:"FcTitle",data(){return{}},props:{title:String,size:String,align:String},computed:{textStyle(){return{textAlign:this.align||"left"}}}});function JE(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["_fc-title",e.size||"h2"]),style:n.normalizeStyle(e.textStyle)},n.toDisplayString(e.title),7)}const Qh=Te(QE,[["render",JE]]);function Dc(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let dr=Dc();function Jh(e){dr=e}const Wo={exec:()=>null};function Et(e,t=""){let r=typeof e=="string"?e:e.source;const o={replace:(i,l)=>{let d=typeof l=="string"?l:l.source;return d=d.replace(mn.caret,"$1"),r=r.replace(i,d),o},getRegex:()=>new RegExp(r,t)};return o}const mn={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},XE=/^(?:[ \t]*(?:\n|$))+/,ZE=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,qE=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Go=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eA=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Vc=/(?:[*+-]|\d{1,9}[.)])/,Xh=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Zh=Et(Xh).replace(/bull/g,Vc).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),tA=Et(Xh).replace(/bull/g,Vc).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Oc=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,nA=/^[^\n]+/,Bc=/(?!\s*\])(?:\\.|[^\[\]\\])+/,iA=Et(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Bc).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),rA=Et(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Vc).getRegex(),Sl="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Rc=/|$))/,oA=Et("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Rc).replace("tag",Sl).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),qh=Et(Oc).replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sl).getRegex(),$c={blockquote:Et(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",qh).getRegex(),code:ZE,def:iA,fences:qE,heading:eA,hr:Go,html:oA,lheading:Zh,list:rA,newline:XE,paragraph:qh,table:Wo,text:nA},em=Et("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sl).getRegex(),aA={...$c,lheading:tA,table:em,paragraph:Et(Oc).replace("hr",Go).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",em).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Sl).getRegex()},lA={...$c,html:Et(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)| \\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Rc).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Wo,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Et(Oc).replace("hr",Go).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Zh).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},sA=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,dA=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,tm=/^( {2,}|\\)\n(?!\s*$)/,cA=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,rm=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,mA=Et(rm,"u").replace(/punct/g,xl).getRegex(),gA=Et(rm,"u").replace(/punct/g,im).getRegex(),om="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",vA=Et(om,"gu").replace(/notPunctSpace/g,nm).replace(/punctSpace/g,Ic).replace(/punct/g,xl).getRegex(),yA=Et(om,"gu").replace(/notPunctSpace/g,pA).replace(/punctSpace/g,fA).replace(/punct/g,im).getRegex(),bA=Et("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,nm).replace(/punctSpace/g,Ic).replace(/punct/g,xl).getRegex(),wA=Et(/\\(punct)/,"gu").replace(/punct/g,xl).getRegex(),CA=Et(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_A=Et(Rc).replace("(?:-->|$)","-->").getRegex(),EA=Et("^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",_A).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),kl=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,AA=Et(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",kl).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),am=Et(/^!?\[(label)\]\[(ref)\]/).replace("label",kl).replace("ref",Bc).getRegex(),lm=Et(/^!?\[(ref)\](?:\[\])?/).replace("ref",Bc).getRegex(),SA=Et("reflink|nolink(?!\\()","g").replace("reflink",am).replace("nolink",lm).getRegex(),Fc={_backpedal:Wo,anyPunctuation:wA,autolink:CA,blockSkip:hA,br:tm,code:dA,del:Wo,emStrongLDelim:mA,emStrongRDelimAst:vA,emStrongRDelimUnd:bA,escape:sA,link:AA,nolink:lm,punctuation:uA,reflink:am,reflinkSearch:SA,tag:EA,text:cA,url:Wo},xA={...Fc,link:Et(/^!?\[(label)\]\((.*?)\)/).replace("label",kl).getRegex(),reflink:Et(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",kl).getRegex()},Pc={...Fc,emStrongRDelimAst:yA,emStrongLDelim:gA,url:Et(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},sm=e=>NA[e];function pi(e,t){if(t){if(mn.escapeTest.test(e))return e.replace(mn.escapeReplace,sm)}else if(mn.escapeTestNoEncode.test(e))return e.replace(mn.escapeReplaceNoEncode,sm);return e}function dm(e){try{e=encodeURI(e).replace(mn.percentDecode,"%")}catch{return null}return e}function cm(e,t){var l;const r=e.replace(mn.findPipe,(d,c,u)=>{let h=!1,m=c;for(;--m>=0&&u[m]==="\\";)h=!h;return h?"|":" |"}),o=r.split(mn.splitPipe);let i=0;if(o[0].trim()||o.shift(),o.length>0&&!((l=o.at(-1))!=null&&l.trim())&&o.pop(),t)if(o.length>t)o.splice(t);else for(;o.length 0?-2:-1}function um(e,t,r,o,i){const l=t.href,d=t.title||null,c=e[1].replace(i.other.outputLinkReplace,"$1");o.state.inLink=!0;const u={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:l,title:d,text:c,tokens:o.inlineTokens(c)};return o.state.inLink=!1,u}function DA(e,t,r){const o=e.match(r.other.indentCodeCompensation);if(o===null)return t;const i=o[1];return t.split(` `).map(l=>{const d=l.match(r.other.beginningSpace);if(d===null)return l;const[c]=d;return c.length>=i.length?l.slice(i.length):l}).join(` `)}class Tl{constructor(t){Dt(this,"options");Dt(this,"rules");Dt(this,"lexer");this.options=t||dr}space(t){const r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){const r=this.rules.block.code.exec(t);if(r){const o=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?o:Yo(o,` `)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const o=r[0],i=DA(o,r[3]||"",this.rules);return{type:"code",raw:o,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:i}}}heading(t){const r=this.rules.block.heading.exec(t);if(r){let o=r[2].trim();if(this.rules.other.endingHash.test(o)){const i=Yo(o,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(o=i.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:o,tokens:this.lexer.inline(o)}}}hr(t){const r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:Yo(r[0],` @@ -528,11 +528,11 @@ ${y}`:y;const C=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.block `);continue}}return{type:"blockquote",raw:i,tokens:d,text:l}}}list(t){let r=this.rules.block.list.exec(t);if(r){let o=r[1].trim();const i=o.length>1,l={type:"list",raw:"",ordered:i,start:i?+o.slice(0,-1):"",loose:!1,items:[]};o=i?`\\d{1,9}\\${o.slice(-1)}`:`\\${o}`,this.options.pedantic&&(o=i?o:"[*+-]");const d=this.rules.other.listItemRegex(o);let c=!1;for(;t;){let h=!1,m="",y="";if(!(r=d.exec(t))||this.rules.block.hr.test(t))break;m=r[0],t=t.substring(m.length);let C=r[2].split(` `,1)[0].replace(this.rules.other.listReplaceTabs,_=>" ".repeat(3*_.length)),S=t.split(` `,1)[0],w=!C.trim(),E=0;if(this.options.pedantic?(E=2,y=C.trimStart()):w?E=r[1].length+1:(E=r[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,y=C.slice(E),E+=r[1].length),w&&this.rules.other.blankLine.test(S)&&(m+=S+` -`,t=t.substring(S.length+1),h=!0),!h){const _=this.rules.other.nextBulletRegex(E),x=this.rules.other.hrRegex(E),k=this.rules.other.fencesBeginRegex(E),T=this.rules.other.headingBeginRegex(E),V=this.rules.other.htmlBeginRegex(E);for(;t;){const I=t.split(` -`,1)[0];let F;if(S=I,this.options.pedantic?(S=S.replace(this.rules.other.listReplaceNesting," "),F=S):F=S.replace(this.rules.other.tabCharGlobal," "),k.test(S)||T.test(S)||V.test(S)||_.test(S)||x.test(S))break;if(F.search(this.rules.other.nonSpaceChar)>=E||!S.trim())y+=` -`+F.slice(E);else{if(w||C.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||k.test(C)||T.test(C)||x.test(C))break;y+=` -`+S}!w&&!S.trim()&&(w=!0),m+=I+` -`,t=t.substring(I.length+1),C=F.slice(E)}}l.loose||(c?l.loose=!0:this.rules.other.doubleBlankLine.test(m)&&(c=!0));let b=null,g;this.options.gfm&&(b=this.rules.other.listIsTask.exec(y),b&&(g=b[0]!=="[ ] ",y=y.replace(this.rules.other.listReplaceTask,""))),l.items.push({type:"list_item",raw:m,task:!!b,checked:g,loose:!1,text:y,tokens:[]}),l.raw+=m}const u=l.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;l.raw=l.raw.trimEnd();for(let h=0;h C.type==="space"),y=m.length>0&&m.some(C=>this.rules.other.anyLine.test(C.raw));l.loose=y}if(l.loose)for(let h=0;h =E||!S.trim())y+=` +`+I.slice(E);else{if(w||C.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||k.test(C)||T.test(C)||x.test(C))break;y+=` +`+S}!w&&!S.trim()&&(w=!0),m+=F+` +`,t=t.substring(F.length+1),C=I.slice(E)}}l.loose||(c?l.loose=!0:this.rules.other.doubleBlankLine.test(m)&&(c=!0));let b=null,g;this.options.gfm&&(b=this.rules.other.listIsTask.exec(y),b&&(g=b[0]!=="[ ] ",y=y.replace(this.rules.other.listReplaceTask,""))),l.items.push({type:"list_item",raw:m,task:!!b,checked:g,loose:!1,text:y,tokens:[]}),l.raw+=m}const u=l.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;l.raw=l.raw.trimEnd();for(let h=0;h C.type==="space"),y=m.length>0&&m.some(C=>this.rules.other.anyLine.test(C.raw));l.loose=y}if(l.loose)for(let h=0;h ({text:h,tokens:this.lexer.inline(h),header:!1,align:d.align[m]})));return d}}lheading(t){const r=this.rules.block.lheading.exec(t);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(t){const r=this.rules.block.paragraph.exec(t);if(r){const o=r[1].charAt(r[1].length-1)===` `?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:o,tokens:this.lexer.inline(o)}}}text(t){const r=this.rules.block.text.exec(t);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(t){const r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(t){const r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const o=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(o)){if(!this.rules.other.endAngleBracket.test(o))return;const d=Yo(o.slice(0,-1),"\\");if((o.length-d.length)%2===0)return}else{const d=TA(r[2],"()");if(d===-2)return;if(d>-1){const u=(r[0].indexOf("!")===0?5:4)+r[1].length+d;r[2]=r[2].substring(0,d),r[0]=r[0].substring(0,u).trim(),r[3]=""}}let i=r[2],l="";if(this.options.pedantic){const d=this.rules.other.pedanticHrefTitle.exec(i);d&&(i=d[1],l=d[3])}else l=r[3]?r[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(o)?i=i.slice(1):i=i.slice(1,-1)),um(r,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:l&&l.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(t,r){let o;if((o=this.rules.inline.reflink.exec(t))||(o=this.rules.inline.nolink.exec(t))){const i=(o[2]||o[1]).replace(this.rules.other.multipleSpaceGlobal," "),l=r[i.toLowerCase()];if(!l){const d=o[0].charAt(0);return{type:"text",raw:d,text:d}}return um(o,l,o[0],this.lexer,this.rules)}}emStrong(t,r,o=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&o.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!o||this.rules.inline.punctuation.exec(o)){const d=[...i[0]].length-1;let c,u,h=d,m=0;const y=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(y.lastIndex=0,r=r.slice(-1*t.length+d);(i=y.exec(r))!=null;){if(c=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!c)continue;if(u=[...c].length,i[3]||i[4]){h+=u;continue}else if((i[5]||i[6])&&d%3&&!((d+u)%3)){m+=u;continue}if(h-=u,h>0)continue;u=Math.min(u,u+h+m);const C=[...i[0]][0].length,S=t.slice(0,d+i.index+C+u);if(Math.min(d,u)%2){const E=S.slice(1,-1);return{type:"em",raw:S,text:E,tokens:this.lexer.inlineTokens(E)}}const w=S.slice(2,-2);return{type:"strong",raw:S,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let o=r[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(o),l=this.rules.other.startingSpaceChar.test(o)&&this.rules.other.endingSpaceChar.test(o);return i&&l&&(o=o.substring(1,o.length-1)),{type:"codespan",raw:r[0],text:o}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t){const r=this.rules.inline.autolink.exec(t);if(r){let o,i;return r[2]==="@"?(o=r[1],i="mailto:"+o):(o=r[1],i=o),{type:"link",raw:r[0],text:o,href:i,tokens:[{type:"text",raw:o,text:o}]}}}url(t){var o,i;let r;if(r=this.rules.inline.url.exec(t)){let l,d;if(r[2]==="@")l=r[0],d="mailto:"+l;else{let c;do c=r[0],r[0]=(i=(o=this.rules.inline._backpedal.exec(r[0]))==null?void 0:o[0])!=null?i:"";while(c!==r[0]);l=r[0],r[1]==="www."?d="http://"+r[0]:d=r[0]}return{type:"link",raw:r[0],text:l,href:d,tokens:[{type:"text",raw:l,text:l}]}}}inlineText(t){const r=this.rules.inline.text.exec(t);if(r){const o=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:o}}}}class zn{constructor(t){Dt(this,"tokens");Dt(this,"options");Dt(this,"state");Dt(this,"tokenizer");Dt(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||dr,this.options.tokenizer=this.options.tokenizer||new Tl,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={other:mn,block:Nl.normal,inline:Ko.normal};this.options.pedantic?(r.block=Nl.pedantic,r.inline=Ko.pedantic):this.options.gfm&&(r.block=Nl.gfm,this.options.breaks?r.inline=Ko.breaks:r.inline=Ko.gfm),this.tokenizer.rules=r}static get rules(){return{block:Nl,inline:Ko}}static lex(t,r){return new zn(r).lex(t)}static lexInline(t,r){return new zn(r).inlineTokens(t)}lex(t){t=t.replace(mn.carriageReturn,` `),this.blockTokens(t,this.tokens);for(let r=0;r (c=h.call({lexer:this},t,r))?(t=t.substring(c.raw.length),r.push(c),!0):!1))continue;if(c=this.tokenizer.space(t)){t=t.substring(c.raw.length);const h=r.at(-1);c.raw.length===1&&h!==void 0?h.raw+=` @@ -564,78 +564,78 @@ ${t} `}tablecell(t){const r=this.parser.parseInline(t.tokens),o=t.header?"th":"td";return(t.align?`<${o} align="${t.align}">`:`<${o}>`)+r+`${o}> `}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return` ${pi(t,!0)}
`}br(t){return"
"}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:r,tokens:o}){const i=this.parser.parseInline(o),l=dm(t);if(l===null)return i;t=l;let d='"+i+"",d}image({href:t,title:r,text:o,tokens:i}){i&&(o=this.parser.parseInline(i,this.parser.textRenderer));const l=dm(t);if(l===null)return pi(o);t=l;let d=`",d}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:pi(t.text)}}class Mc{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class Un{constructor(t){Dt(this,"options");Dt(this,"renderer");Dt(this,"textRenderer");this.options=t||dr,this.options.renderer=this.options.renderer||new Dl,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Mc}static parse(t,r){return new Un(r).parse(t)}static parseInline(t,r){return new Un(r).parseInline(t)}parse(t,r=!0){var i,l;let o="";for(let d=0;d
{const h=c[u].flat(1/0);o=o.concat(this.walkTokens(h,r))}):c.tokens&&(o=o.concat(this.walkTokens(c.tokens,r)))}}return o}use(...t){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(o=>{const i={...o};if(i.async=this.defaults.async||i.async||!1,o.extensions&&(o.extensions.forEach(l=>{if(!l.name)throw new Error("extension name required");if("renderer"in l){const d=r.renderers[l.name];d?r.renderers[l.name]=function(...c){let u=l.renderer.apply(this,c);return u===!1&&(u=d.apply(this,c)),u}:r.renderers[l.name]=l.renderer}if("tokenizer"in l){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const d=r[l.level];d?d.unshift(l.tokenizer):r[l.level]=[l.tokenizer],l.start&&(l.level==="block"?r.startBlock?r.startBlock.push(l.start):r.startBlock=[l.start]:l.level==="inline"&&(r.startInline?r.startInline.push(l.start):r.startInline=[l.start]))}"childTokens"in l&&l.childTokens&&(r.childTokens[l.name]=l.childTokens)}),i.extensions=r),o.renderer){const l=this.defaults.renderer||new Dl(this.defaults);for(const d in o.renderer){if(!(d in l))throw new Error(`renderer '${d}' does not exist`);if(["options","parser"].includes(d))continue;const c=d,u=o.renderer[c],h=l[c];l[c]=(...m)=>{let y=u.apply(l,m);return y===!1&&(y=h.apply(l,m)),y||""}}i.renderer=l}if(o.tokenizer){const l=this.defaults.tokenizer||new Tl(this.defaults);for(const d in o.tokenizer){if(!(d in l))throw new Error(`tokenizer '${d}' does not exist`);if(["options","rules","lexer"].includes(d))continue;const c=d,u=o.tokenizer[c],h=l[c];l[c]=(...m)=>{let y=u.apply(l,m);return y===!1&&(y=h.apply(l,m)),y}}i.tokenizer=l}if(o.hooks){const l=this.defaults.hooks||new Qo;for(const d in o.hooks){if(!(d in l))throw new Error(`hook '${d}' does not exist`);if(["options","block"].includes(d))continue;const c=d,u=o.hooks[c],h=l[c];Qo.passThroughHooks.has(d)?l[c]=m=>{if(this.defaults.async)return Promise.resolve(u.call(l,m)).then(C=>h.call(l,C));const y=u.call(l,m);return h.call(l,y)}:l[c]=(...m)=>{let y=u.apply(l,m);return y===!1&&(y=h.apply(l,m)),y}}i.hooks=l}if(o.walkTokens){const l=this.defaults.walkTokens,d=o.walkTokens;i.walkTokens=function(c){let u=[];return u.push(d.call(this,c)),l&&(u=u.concat(l.call(this,c))),u}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return zn.lex(t,r!=null?r:this.defaults)}parser(t,r){return Un.parse(t,r!=null?r:this.defaults)}parseMarkdown(t){return(o,i)=>{const l={...i},d={...this.defaults,...l},c=this.onError(!!d.silent,!!d.async);if(this.defaults.async===!0&&l.async===!1)return c(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof o>"u"||o===null)return c(new Error("marked(): input parameter is undefined or null"));if(typeof o!="string")return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(o)+", string expected"));d.hooks&&(d.hooks.options=d,d.hooks.block=t);const u=d.hooks?d.hooks.provideLexer():t?zn.lex:zn.lexInline,h=d.hooks?d.hooks.provideParser():t?Un.parse:Un.parseInline;if(d.async)return Promise.resolve(d.hooks?d.hooks.preprocess(o):o).then(m=>u(m,d)).then(m=>d.hooks?d.hooks.processAllTokens(m):m).then(m=>d.walkTokens?Promise.all(this.walkTokens(m,d.walkTokens)).then(()=>m):m).then(m=>h(m,d)).then(m=>d.hooks?d.hooks.postprocess(m):m).catch(c);try{d.hooks&&(o=d.hooks.preprocess(o));let m=u(o,d);d.hooks&&(m=d.hooks.processAllTokens(m)),d.walkTokens&&this.walkTokens(m,d.walkTokens);let y=h(m,d);return d.hooks&&(y=d.hooks.postprocess(y)),y}catch(m){return c(m)}}}onError(t,r){return o=>{if(o.message+=` -Please report this to https://github.com/markedjs/marked.`,t){const i=" An error occurred:
"+pi(o.message+"",!0)+"";return r?Promise.resolve(i):i}if(r)return Promise.reject(o);throw o}}}const cr=new fm;function xt(e,t){return cr.parse(e,t)}xt.options=xt.setOptions=function(e){return cr.setOptions(e),xt.defaults=cr.defaults,Jh(xt.defaults),xt},xt.getDefaults=Dc,xt.defaults=dr,xt.use=function(...e){return cr.use(...e),xt.defaults=cr.defaults,Jh(xt.defaults),xt},xt.walkTokens=function(e,t){return cr.walkTokens(e,t)},xt.parseInline=cr.parseInline,xt.Parser=Un,xt.parser=Un.parse,xt.Renderer=Dl,xt.TextRenderer=Mc,xt.Lexer=zn,xt.lexer=zn.lex,xt.Tokenizer=Tl,xt.Hooks=Qo,xt.parse=xt,xt.options,xt.setOptions,xt.use,xt.walkTokens,xt.parseInline,Un.parse,zn.lex;const tj="",VA=n.defineComponent({name:"FcMarkdown",data(){return{marked:n.markRaw(new fm),html:""}},props:{content:String},watch:{content:{handler(){this.html=this.marked.parse(this.content||"")},immediate:!0}}}),OA=["innerHTML"];function BA(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",{class:"_fc-markdown",innerHTML:e.html},null,8,OA)}const pm=De(VA,[["render",BA]]),nj="",RA=n.defineComponent({name:"FcDialog",emits:["confirm","submit","validateFail","update:modelValue"],props:{formData:Object,options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},rule:Array,autoClose:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},preview:Boolean,modelValue:Object,formCreateInject:Object},computed:{formOptions(){const e={...this.options};return this.preview&&(e.preview=this.preview),e}},data(){return{visible:!1,max:this.$attrs.fullscreen||!1,fapi:{},value:{},formRule:[],Form:n.markRaw(this.formCreateInject.form.$form())}},methods:{formChange(){this.$emit("update:modelValue",this.fapi.formData())},open(e){this.$nextTick(()=>{this.visible=!0,this.value=rt(e||this.modelValue||this.formData||{}),this.formRule=rt(this.rule||[])})},close(){this.visible=!1},handleConfirm(){this.$emit("confirm",this.fapi),this.fapi.submit().then(e=>{this.$emit("submit",e,this.fapi,this.close),this.autoClose&&this.close()}).catch(e=>{this.$emit("validateFail",e,this.fapi)})}},mounted(){this.formCreateInject.api.top.bus.$on("fc.closeDialog",this.close),n.onUnmounted(()=>{this.formCreateInject.api.top.bus.$off("fc.closeDialog",this.close)})}}),$A={key:0,class:"el-dialog__headerbtn",type:"button",style:{right:"36px"}};function FA(e,t,r,o,i,l){const d=n.resolveComponent("el-button"),c=n.resolveComponent("el-dialog");return n.openBlock(),n.createBlock(c,n.mergeProps({class:"_fc-dialog"},e.$attrs,{fullscreen:e.max,modelValue:e.visible,"onUpdate:modelValue":t[3]||(t[3]=u=>e.visible=u),destroyOnClose:""}),n.createSlots({default:n.withCtx(()=>[e.$attrs.fullscreen?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",$A,[e.max?(n.openBlock(),n.createElementBlock("i",{key:0,class:"fc-icon icon-page-min",onClick:t[0]||(t[0]=u=>e.max=!1)})):(n.openBlock(),n.createElementBlock("i",{key:1,class:"fc-icon icon-page-max",onClick:t[1]||(t[1]=u=>e.max=!0)}))])),(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.Form),{option:e.formOptions,rule:e.formRule,extendOption:!0,api:e.fapi,"onUpdate:api":t[2]||(t[2]=u=>e.fapi=u),"model-value":e.value,subForm:!1,onChange:e.formChange,onEmitEvent:e.$emit},null,40,["option","rule","api","model-value","onChange","onEmitEvent"]))]),_:2},[e.footer!==!1?{name:"footer",fn:n.withCtx(()=>[n.createVNode(d,{onClick:e.close},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("close")||"\u5173\u95ED"),1)]),_:1},8,["onClick"]),n.createVNode(d,{type:"primary",onClick:e.handleConfirm},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("ok")||"\u786E\u5B9A"),1)]),_:1},8,["onClick"])]),key:"0"}:void 0]),1040,["fullscreen","modelValue"])}const hm=De(RA,[["render",FA]]),IA=e=>e!==null&&typeof e=="object",PA=e=>e!=null;function Lc(e){if(!PA(e))return e;if(Array.isArray(e))return e.map(t=>Lc(t));if(IA(e)){const t={};return Object.keys(e).forEach(r=>{t[r]=Lc(e[r])}),t}return e}const ij="",MA=n.defineComponent({name:"FcDataSelect",components:{FcDialog:hm},emits:["update:modelValue","change","clear"],props:{title:String,formCreateInject:Object,placeholder:String,multiple:Boolean,disabled:Boolean,multipleLimit:Number,valueKey:String,labelKey:String,clearable:Boolean,searchRule:Object,tableRule:Object,autoLoad:Boolean,modelValue:[Object,Array]},computed:{options(){return this.list.map(e=>({label:e[this.labelKey||"label"],value:e[this.valueKey||"value"]}))},selectValue(){const e=this.options.map(t=>t.value);return this.multiple===!0?e:e[0]},fapi(){var e,t;return(t=(e=this.$refs)==null?void 0:e.dialog)==null?void 0:t.fapi}},data(){return{list:[],visible:!1,formRule:[],load:El(()=>{this.$refs.dialog.fapi.el(this.formRule[1].name).initPage()},500)}},watch:{modelValue:{handler(e){e?this.list=Array.isArray(e)?e:[e]:this.list=[]},immediate:!0}},methods:{getTableEl(){return this.$refs.dialog.fapi.el(this.formRule[1].name)},getDialogEl(){return this.$refs.dialog},formChange(){this.autoLoad&&this.load()},changeSelectValue(e){e==null?this.list=[]:this.list=this.list.filter(t=>e.indexOf(t[this.valueKey||"value"])!==-1),this.updateValue()},confirm(){const e=Ga([...this.list,...this.$refs.dialog.fapi.el(this.formRule[1].name).getEl().getSelectionRows()]),t=e.map(r=>r[this.valueKey||"value"]);this.list=e.filter((r,o)=>t.indexOf(r[this.valueKey||"value"])===o),this.$refs.dialog.close(),this.updateValue()},tableRowClick(e){this.multiple?this.$refs.dialog.fapi.el(this.formRule[1].name).getEl().toggleRowSelection(e):(this.list=[e],this.updateValue(),this.$refs.dialog.close())},updateValue(){this.multipleLimit>0&&this.list.length>this.multipleLimit&&(this.list=this.list.splice(0,this.multipleLimit));const e=this.list.map(t=>({[this.valueKey||"value"]:t[this.valueKey||"value"],[this.labelKey||"label"]:t[this.labelKey||"label"]}));this.$emit("update:modelValue",this.multiple?e:e[0]),this.$emit("change",this.multiple?e:e[0])},getFormRule(){const e=Lc([this.searchRule,this.tableRule]);return e[1].on||(e[1].on={}),e[1].props||(e[1].props={}),this.multiple&&(e[1].props.rowKey||(e[1].props.rowKey=this.valueKey||"value"),e[1].name||(e[1].name=He())),e[1].props.selection=!0,e[1].on.rowClick?e[1].on.rowClick=[(...t)=>this.tableRowClick(...t),e[1].on.rowClick]:e[1].on.rowClick=(...t)=>this.tableRowClick(...t),e[1].on.selectionChange?e[1].on.selectionChange=[(...t)=>this.selectionChange(...t),e[1].on.selectionChange]:e[1].on.selectionChange=(...t)=>this.selectionChange(...t),e},selectionChange(e){this.multiple||this.tableRowClick(e[0])},handleClear(...e){this.$emit("clear",...e)},handleClick(e){this.disabled||!e||(this.visible=!0,this.formRule=this.getFormRule(),this.$refs.dialog.open())}}}),LA={class:"_fc-data-select"};function jA(e,t,r,o,i,l){const d=n.resolveComponent("el-option"),c=n.resolveComponent("el-select"),u=n.resolveComponent("FcDialog");return n.openBlock(),n.createElementBlock("div",LA,[n.createVNode(c,{disabled:e.disabled,placeholder:e.placeholder,multiple:e.multiple,multipleLimit:e.multipleLimit,clearable:e.clearable,"model-value":e.selectValue,"onUpdate:modelValue":e.changeSelectValue,"popper-class":"_fc-data-select-pop",onVisibleChange:e.handleClick,onClear:e.handleClear},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.options,h=>(n.openBlock(),n.createBlock(d,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","placeholder","multiple","multipleLimit","clearable","model-value","onUpdate:modelValue","onVisibleChange","onClear"]),n.createVNode(u,{ref:"dialog",formCreateInject:e.formCreateInject,rule:e.formRule,"onUpdate:modelValue":e.formChange,footer:e.multiple,title:e.title,width:"900px",onConfirm:e.confirm},null,8,["formCreateInject","rule","onUpdate:modelValue","footer","title","onConfirm"])])}const mm=De(MA,[["render",jA]]),zA=n.defineComponent({name:"AudioBox",emits:["pause","play","ended"],data(){return{}},props:{src:String,type:String,controls:{type:Boolean,default:!0},autoplay:Boolean,loop:Boolean,preload:{type:String,default:"auto"},muted:Boolean}}),UA=["controls","autoplay","loop","preload","muted"],HA=["src","type"];function WA(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("audio",{key:e.src,controls:e.controls,autoplay:e.autoplay,loop:e.loop,preload:e.preload,muted:e.muted,onPause:t[0]||(t[0]=d=>e.$emit("pause",d)),onPlay:t[1]||(t[1]=d=>e.$emit("play",d)),onEnded:t[2]||(t[2]=d=>e.$emit("ended",d))},[n.createElementVNode("source",{src:e.src,type:e.type},null,8,HA),t[3]||(t[3]=n.createTextVNode(" Your browser does not support the audio element. "))],40,UA)}const gm=De(zA,[["render",WA]]),rj="",GA=n.defineComponent({name:"IframeBox",emits:["load"],data(){return{}},props:{src:String,loading:String}}),KA=["src"];function YA(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("iframe",{class:"_fc-iframe-box",src:e.src,frameborder:"0",onLoad:t[0]||(t[0]=d=>e.$emit("load",d))},null,40,KA)}const vm=De(GA,[["render",YA]]);var jc={},Vl={},xn={};Object.defineProperty(xn,"__esModule",{value:!0});function QA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var JA=function e(t,r){QA(this,e),this.data=t,this.text=r.text||t,this.options=r};xn.default=JA,Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.CODE39=void 0;var XA=function(){function e(t,r){for(var o=0;o=200){c=o.shift()-105;var u=$n.SWAP[c];u!==void 0?d=t.next(o,i+1,u):((l===$n.SET_A||l===$n.SET_B)&&c===$n.SHIFT&&(o[0]=l===$n.SET_A?o[0]>95?o[0]-96:o[0]:o[0]<32?o[0]+96:o[0]),d=t.next(o,i+1,l))}else c=t.correctIndex(o,l),d=t.next(o,i+1,l);var h=t.getBar(c),m=c*i;return{result:h+d.result,checksum:m+d.checksum}}}]),t}(hS.default);Hr.default=bS;var Wc={};Object.defineProperty(Wc,"__esModule",{value:!0});var Ui=Vt,Em=function(t){return t.match(new RegExp("^"+Ui.A_CHARS+"*"))[0].length},Am=function(t){return t.match(new RegExp("^"+Ui.B_CHARS+"*"))[0].length},Sm=function(t){return t.match(new RegExp("^"+Ui.C_CHARS+"*"))[0]};function Gc(e,t){var r=t?Ui.A_CHARS:Ui.B_CHARS,o=e.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+xm(e.substring(o[1].length));var i=e.match(new RegExp("^"+r+"+"))[0];return i.length===e.length?e:i+String.fromCharCode(t?205:206)+Gc(e.substring(i.length),!t)}function xm(e){var t=Sm(e),r=t.length;if(r===e.length)return e;e=e.substring(r);var o=Em(e)>=Am(e);return t+String.fromCharCode(o?206:205)+Gc(e,o)}Wc.default=function(e){var t=void 0,r=Sm(e).length;if(r>=2)t=Ui.C_START_CHAR+xm(e);else{var o=Em(e)>Am(e);t=(o?Ui.A_START_CHAR:Ui.B_START_CHAR)+Gc(e,o)}return t.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(i,l){return String.fromCharCode(203)+l})},Object.defineProperty(Uc,"__esModule",{value:!0});var wS=Hr,CS=km(wS),_S=Wc,ES=km(_S);function km(e){return e&&e.__esModule?e:{default:e}}function AS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function SS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var xS=function(e){SS(t,e);function t(r,o){if(AS(this,t),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var i=Kc(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,ES.default)(r),o));else var i=Kc(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r,o));return Kc(i)}return t}(CS.default);Uc.default=xS;var Yc={};Object.defineProperty(Yc,"__esModule",{value:!0});var kS=function(){function e(t,r){for(var o=0;o o.width*10?o.width*10:o.fontSize,i.guardHeight=o.height+i.fontSize/2+o.textMargin,i}return lx(t,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(o,i){return this.text.substr(o,i)}},{key:"leftEncode",value:function(o,i){return(0,Vm.default)(o,i)}},{key:"rightText",value:function(o,i){return this.text.substr(o,i)}},{key:"rightEncode",value:function(o,i){return(0,Vm.default)(o,i)}},{key:"encodeGuarded",value:function(){var o={fontSize:this.fontSize},i={height:this.guardHeight};return[{data:Wr.SIDE_BIN,options:i},{data:this.leftEncode(),text:this.leftText(),options:o},{data:Wr.MIDDLE_BIN,options:i},{data:this.rightEncode(),text:this.rightText(),options:o},{data:Wr.SIDE_BIN,options:i}]}},{key:"encodeFlat",value:function(){var o=[Wr.SIDE_BIN,this.leftEncode(),Wr.MIDDLE_BIN,this.rightEncode(),Wr.SIDE_BIN];return{data:o.join(""),text:this.text}}}]),t}(cx.default);Bl.default=hx,Object.defineProperty(Xc,"__esModule",{value:!0});var mx=function(){function e(t,r){for(var o=0;o o.width*10?i.fontSize=o.width*10:i.fontSize=o.fontSize,i.guardHeight=o.height+i.fontSize/2+o.textMargin,i}return qx(t,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==tu(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var o="";return o+="101",o+=(0,Gr.default)(this.data.substr(0,6),"LLLLLL"),o+="01010",o+=(0,Gr.default)(this.data.substr(6,6),"RRRRRR"),o+="101",{data:o,text:this.text}}},{key:"guardedEncoding",value:function(){var o=[];return this.displayValue&&o.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),o.push({data:"101"+(0,Gr.default)(this.data[0],"L"),options:{height:this.guardHeight}}),o.push({data:(0,Gr.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),o.push({data:"01010",options:{height:this.guardHeight}}),o.push({data:(0,Gr.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),o.push({data:(0,Gr.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&o.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),o}}]),t}(nk.default);function tu(e){var t=0,r;for(r=1;r<11;r+=2)t+=parseInt(e[r]);for(r=0;r<11;r+=2)t+=parseInt(e[r])*3;return(10-t%10)%10}Zo.default=ak;var nu={};Object.defineProperty(nu,"__esModule",{value:!0});var lk=function(){function e(t,r){for(var o=0;o o.width*10?i.fontSize=o.width*10:i.fontSize=o.fontSize,i.guardHeight=o.height+i.fontSize/2+o.textMargin,i}return lk(t,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var o="";return o+="101",o+=this.encodeMiddleDigits(),o+="010101",{data:o,text:this.text}}},{key:"guardedEncoding",value:function(){var o=[];return this.displayValue&&o.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),o.push({data:"101",options:{height:this.guardHeight}}),o.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),o.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&o.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),o}},{key:"encodeMiddleDigits",value:function(){var o=this.upcA[0],i=this.upcA[this.upcA.length-1],l=gk[parseInt(i)][parseInt(o)];return(0,dk.default)(this.middleDigits,l)}}]),t}(uk.default);function Mm(e,t){for(var r=parseInt(e[e.length-1]),o=mk[r],i="",l=0,d=0;d =3&&this.number<=131070}}]),t}(Q2.default);Il.pharmacode=eN;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0}),Pl.codabar=void 0;var tN=function(){function e(t,r){for(var o=0;o 0?t.fontSize+t.textMargin:0)+t.marginTop+t.marginBottom}function Ym(e,t,r){if(r.displayValue&&t t&&(t=e[r].height);return t}function FN(e,t,r){var o;if(r)o=r;else if(typeof document<"u")o=document.createElement("canvas").getContext("2d");else return 0;o.font=t.fontOptions+" "+t.fontSize+"px "+t.font;var i=o.measureText(e);if(!i)return 0;var l=i.width;return l}Fn.getMaximumHeightOfEncodings=$N,Fn.getEncodingHeight=Km,Fn.getBarcodePadding=Ym,Fn.calculateEncodingAttributes=BN,Fn.getTotalWidthOfEncodings=RN,Object.defineProperty(hu,"__esModule",{value:!0});var IN=function(){function e(t,r){for(var o=0;o 0?(d=0,i.textAlign="left"):r.textAlign=="right"?(d=o.width-1,i.textAlign="right"):(d=o.width/2,i.textAlign="center"),i.fillText(o.text,d,c)}}},{key:"moveCanvasDrawing",value:function(r){var o=this.canvas.getContext("2d");o.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),e}();hu.default=zN;var gu={};Object.defineProperty(gu,"__esModule",{value:!0});var UN=function(){function e(t,r){for(var o=0;o 0&&(this.drawRect(u-o.width*c,d,o.width*c,o.height,r),c=0);c>0&&this.drawRect(u-o.width*(c-1),d,o.width*c,o.height,r)}},{key:"drawSVGText",value:function(r,o,i){var l=this.document.createElementNS(Ul,"text");if(o.displayValue){var d,c;l.setAttribute("style","font:"+o.fontOptions+" "+o.fontSize+"px "+o.font),o.textPosition=="top"?c=o.fontSize-o.textMargin:c=o.height+o.textMargin+o.fontSize,o.textAlign=="left"||i.barcodePadding>0?(d=0,l.setAttribute("text-anchor","start")):o.textAlign=="right"?(d=i.width-1,l.setAttribute("text-anchor","end")):(d=i.width/2,l.setAttribute("text-anchor","middle")),l.setAttribute("x",d),l.setAttribute("y",c),l.appendChild(this.document.createTextNode(i.text)),r.appendChild(l)}}},{key:"setSvgAttributes",value:function(r,o){var i=this.svg;i.setAttribute("width",r+"px"),i.setAttribute("height",o+"px"),i.setAttribute("x","0px"),i.setAttribute("y","0px"),i.setAttribute("viewBox","0 0 "+r+" "+o),i.setAttribute("xmlns",Ul),i.setAttribute("version","1.1"),i.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,o,i){var l=this.document.createElementNS(Ul,"g");return l.setAttribute("transform","translate("+r+", "+o+")"),i.appendChild(l),l}},{key:"setGroupOptions",value:function(r,o){r.setAttribute("style","fill:"+o.lineColor+";")}},{key:"drawRect",value:function(r,o,i,l,d){var c=this.document.createElementNS(Ul,"rect");return c.setAttribute("x",r),c.setAttribute("y",o),c.setAttribute("width",i),c.setAttribute("height",l),d.appendChild(c),c}}]),e}();gu.default=YN;var yu={};Object.defineProperty(yu,"__esModule",{value:!0});var QN=function(){function e(t,r){for(var o=0;o "u"?"undefined":lT(e))==="object"&&!e.nodeName)return{element:e,renderer:na.default.ObjectRenderer};throw new cT.InvalidElementException}}function uT(e){var t=document.querySelectorAll(e);if(t.length!==0){for(var r=[],o=0;o "u")throw Error("No element to render on was provided.");return i._renderProperties=(0,CT.default)(t),i._encodings=[],i._options=qm.default,i._errorHandler=new ST.default(i),typeof r<"u"&&(o=o||{},o.format||(o.format=ng()),i.options(o)[o.format](r,o).render()),i};Hl.getModule=function(e){return hr.default[e]};for(var eg in hr.default)hr.default.hasOwnProperty(eg)&&kT(hr.default,eg);function kT(e,t){xi.prototype[t]=xi.prototype[t.toUpperCase()]=xi.prototype[t.toLowerCase()]=function(r,o){var i=this;return i._errorHandler.wrapBarcodeCall(function(){o.text=typeof o.text>"u"?void 0:""+o.text;var l=(0,ia.default)(i._options,o);l=(0,ET.default)(l);var d=e[t],c=tg(r,d,l);return i._encodings.push(c),i})}}function tg(e,t,r){e=""+e;var o=new t(e,r);if(!o.valid())throw new Zm.InvalidInputException(o.constructor.name,e);var i=o.encode();i=(0,Jm.default)(i);for(var l=0;l {this.$props[r]!=null&&this.$props[r]!==""&&(t[r]=this.$props[r])}),delete t.value,delete t.formCreateInject,this.$nextTick(()=>{NT(this.$refs.bar,e||"",t)})},deep:!0,immediate:!0}}}),DT={class:"_fc-barcode",ref:"bar"};function VT(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("img",DT,null,512)}const ig=De(TT,[["render",VT]]),oj="",OT=n.defineComponent({name:"VideoBox",emits:["pause","play","ended","error"],data(){return{player:null}},props:{src:String,type:String,controls:{type:Boolean,default:!0},autoplay:Boolean,isLive:Boolean,withCredentials:Boolean,loop:Boolean},watch:{src:{handler:function(){this.$nextTick(()=>{nn.ready("mpegts",()=>{const e=this.$refs.video,t=window.mpegts.createPlayer({isLive:this.isLive,type:this.type,url:this.src});t.attachMediaElement(e),t.on("error",r=>{this.$emit("error",r)}),t.load(),this.autoplay&&t.play().catch(r=>{this.$emit("error",r)}),this.player=t})})},immediate:!0}},created(){window.mpegts?nn.done("mpegts"):nn.isDefined("mpegts")||nn.loadNpm("mpegts.js@1.8.0/dist/mpegts.js","mpegts")}}),BT=["controls","loop"];function RT(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("video",{ref:"video",class:"_fc-video-box",controls:e.controls,loop:e.loop,onPause:t[0]||(t[0]=d=>e.$emit("pause",d)),onPlay:t[1]||(t[1]=d=>e.$emit("play",d)),onEnded:t[2]||(t[2]=d=>e.$emit("ended",d))},null,40,BT)}const rg=De(OT,[["render",RT]]);var og={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(Cc,()=>(()=>{var r={873:(d,c)=>{var u,h,m=function(){var y=function(H,O){var U=H,A=g[O],$=null,J=0,Q=null,G=[],Y={},de=function(j,X){$=function(Z){for(var ne=new Array(Z),te=0;te =7&&se(j),Q==null&&(Q=ge(U,A,G)),ae(Q,X)},le=function(j,X){for(var Z=-1;Z<=7;Z+=1)if(!(j+Z<=-1||J<=j+Z))for(var ne=-1;ne<=7;ne+=1)X+ne<=-1||J<=X+ne||($[j+Z][X+ne]=0<=Z&&Z<=6&&(ne==0||ne==6)||0<=ne&&ne<=6&&(Z==0||Z==6)||2<=Z&&Z<=4&&2<=ne&&ne<=4)},be=function(){for(var j=8;j >Z&1)==1;$[Math.floor(Z/3)][Z%3+J-8-3]=ne}for(Z=0;Z<18;Z+=1)ne=!j&&(X>>Z&1)==1,$[Z%3+J-8-3][Math.floor(Z/3)]=ne},pe=function(j,X){for(var Z=A<<3|X,ne=_.getBCHTypeInfo(Z),te=0;te<15;te+=1){var fe=!j&&(ne>>te&1)==1;te<6?$[te][8]=fe:te<8?$[te+1][8]=fe:$[J-15+te][8]=fe}for(te=0;te<15;te+=1)fe=!j&&(ne>>te&1)==1,te<8?$[8][J-te-1]=fe:te<9?$[8][15-te-1+1]=fe:$[8][15-te-1]=fe;$[J-8][8]=!j},ae=function(j,X){for(var Z=-1,ne=J-1,te=7,fe=0,he=_.getMaskFunction(X),Te=J-1;Te>0;Te-=2)for(Te==6&&(Te-=1);;){for(var qe=0;qe<2;qe+=1)if($[ne][Te-qe]==null){var Be=!1;fe >>te&1)==1),he(ne,Te-qe)&&(Be=!Be),$[ne][Te-qe]=Be,(te-=1)==-1&&(fe+=1,te=7)}if((ne+=Z)<0||J<=ne){ne-=Z,Z=-Z;break}}},ge=function(j,X,Z){for(var ne=T.getRSBlocks(j,X),te=V(),fe=0;fe 8*Te)throw"code length overflow. ("+te.getLengthInBits()+">"+8*Te+")";for(te.getLengthInBits()+4<=8*Te&&te.put(0,4);te.getLengthInBits()%8!=0;)te.putBit(!1);for(;!(te.getLengthInBits()>=8*Te||(te.put(236,8),te.getLengthInBits()>=8*Te));)te.put(17,8);return function(qe,Be){for(var ve=0,xe=0,we=0,Ue=new Array(Be.length),Ee=new Array(Be.length),Ne=0;Ne =0?Xe.getAt(Oe):0}}var Pe=0;for(je=0;je Be)&&(he=Be,Te=qe)}return Te}())},Y.createTableTag=function(j,X){j=j||2;var Z="";Z+=' ',Z+="";for(var ne=0;ne
"},Y.createSvgTag=function(j,X,Z,ne){var te={};typeof arguments[0]=="object"&&(j=(te=arguments[0]).cellSize,X=te.margin,Z=te.alt,ne=te.title),j=j||2,X=X===void 0?4*j:X,(Z=typeof Z=="string"?{text:Z}:Z||{}).text=Z.text||null,Z.id=Z.text?Z.id||"qrcode-description":null,(ne=typeof ne=="string"?{text:ne}:ne||{}).text=ne.text||null,ne.id=ne.text?ne.id||"qrcode-title":null;var fe,he,Te,qe,Be=Y.getModuleCount()*j+2*X,ve="";for(qe="l"+j+",0 0,"+j+" -"+j+",0 0,-"+j+"z ",ve+='"},Y.createDataURL=function(j,X){j=j||2,X=X===void 0?4*j:X;var Z=Y.getModuleCount()*j+2*X,ne=X,te=Z-X;return W(Z,Z,function(fe,he){if(ne<=fe&&fe";for(var te=0;te ")+"';Z+=""}return(Z+=" "};var R=function(j){for(var X="",Z=0;Z ":X+=">";break;case"&":X+="&";break;case'"':X+=""";break;default:X+=ne}}return X};return Y.createASCII=function(j,X){if((j=j||1)<2)return function(Ue){Ue=Ue===void 0?2:Ue;var Ee,Ne,Ye,nt,je,ht=1*Y.getModuleCount()+2*Ue,Xe=Ue,Oe=ht-Ue,Pe={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},et={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},$e="";for(Ee=0;Ee =Oe?et[je]:Pe[je];$e+=` -`}return ht%2&&Ue>0?$e.substring(0,$e.length-ht-1)+Array(ht+1).join("\u2580"):$e.substring(0,$e.length-1)}(X);j-=1,X=X===void 0?2*j:X;var Z,ne,te,fe,he=Y.getModuleCount()*j+2*X,Te=X,qe=he-X,Be=Array(j+1).join("\u2588\u2588"),ve=Array(j+1).join(" "),xe="",we="";for(Z=0;Z >>8),J.push(255&Y)):J.push(A)}}return J}};var C,S,w,E,b,g={L:1,M:0,Q:3,H:2},_=(C=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],S=1335,w=7973,b=function(H){for(var O=0;H!=0;)O+=1,H>>>=1;return O},(E={}).getBCHTypeInfo=function(H){for(var O=H<<10;b(O)-b(S)>=0;)O^=S<=0;)O^=w<5&&(U+=3+J-5)}for(A=0;A =256;)A-=255;return H[A]}}}();function k(H,O){if(H.length===void 0)throw H.length+"/"+O;var U=function(){for(var $=0;$ >>7-A%8&1)==1},put:function(A,$){for(var J=0;J<$;J+=1)U.putBit((A>>>$-J-1&1)==1)},getLengthInBits:function(){return O},putBit:function(A){var $=Math.floor(O/8);H.length<=$&&H.push(0),A&&(H[$]|=128>>>O%8),O+=1}};return U},I=function(H){var O=H,U={getMode:function(){return 1},getLength:function(J){return O.length},write:function(J){for(var Q=O,G=0;G+2 >>8&255)+(255&G),$.put(G,13),Q+=2}if(Q >>8)},writeBytes:function(U,A,$){A=A||0,$=$||U.length;for(var J=0;J<$;J+=1)O.writeByte(U[J+A])},writeString:function(U){for(var A=0;A 0&&(U+=","),U+=H[A];return U+"]"}};return O},L=function(H){var O=H,U=0,A=0,$=0,J={read:function(){for(;$<8;){if(U>=O.length){if($==0)return-1;throw"unexpected end of file./"+$}var G=O.charAt(U);if(U+=1,G=="=")return $=0,-1;G.match(/^\s$/)||(A=A<<6|Q(G.charCodeAt(0)),$+=6)}var Y=A>>>$-8&255;return $-=8,Y}},Q=function(G){if(65<=G&&G<=90)return G-65;if(97<=G&&G<=122)return G-97+26;if(48<=G&&G<=57)return G-48+52;if(G==43)return 62;if(G==47)return 63;throw"c:"+G};return J},W=function(H,O,U){for(var A=function(le,be){var ce=le,se=be,pe=new Array(le*be),ae={setPixel:function(j,X,Z){pe[X*ce+j]=Z},write:function(j){j.writeString("GIF87a"),j.writeShort(ce),j.writeShort(se),j.writeByte(128),j.writeByte(0),j.writeByte(0),j.writeByte(0),j.writeByte(0),j.writeByte(0),j.writeByte(255),j.writeByte(255),j.writeByte(255),j.writeString(","),j.writeShort(0),j.writeShort(0),j.writeShort(ce),j.writeShort(se),j.writeByte(0);var X=ge(2);j.writeByte(2);for(var Z=0;X.length-Z>255;)j.writeByte(255),j.writeBytes(X,Z,255),Z+=255;j.writeByte(X.length-Z),j.writeBytes(X,Z,X.length-Z),j.writeByte(0),j.writeString(";")}},ge=function(j){for(var X=1< >>Ne!=0)throw"length over";for(;Te+Ne>=8;)he.writeByte(255&(Ee< >>=8-Te,qe=0,Te=0;qe|=Ee< 0&&he.writeByte(qe)}});ve.write(X,ne);var xe=0,we=String.fromCharCode(pe[xe]);for(xe+=1;xe =6;)ae(le>>>be-6),be-=6},pe.flush=function(){if(be>0&&(ae(le<<6-be),le=0,be=0),ce%3!=0)for(var R=3-ce%3,j=0;j >6,128|63&E):E<55296||E>=57344?S.push(224|E>>12,128|E>>6&63,128|63&E):(w++,E=65536+((1023&E)<<10|1023&C.charCodeAt(w)),S.push(240|E>>18,128|E>>12&63,128|E>>6&63,128|63&E))}return S}(y)},(h=typeof(u=function(){return m})=="function"?u.apply(c,[]):u)===void 0||(d.exports=h)}},o={};function i(d){var c=o[d];if(c!==void 0)return c.exports;var u=o[d]={exports:{}};return r[d](u,u.exports,i),u.exports}i.n=d=>{var c=d&&d.__esModule?()=>d.default:()=>d;return i.d(c,{a:c}),c},i.d=(d,c)=>{for(var u in c)i.o(c,u)&&!i.o(d,u)&&Object.defineProperty(d,u,{enumerable:!0,get:c[u]})},i.o=(d,c)=>Object.prototype.hasOwnProperty.call(d,c);var l={};return(()=>{i.d(l,{default:()=>O});const d=U=>!!U&&typeof U=="object"&&!Array.isArray(U);function c(U,...A){if(!A.length)return U;const $=A.shift();return $!==void 0&&d(U)&&d($)?(U=Object.assign({},U),Object.keys($).forEach(J=>{const Q=U[J],G=$[J];Array.isArray(Q)&&Array.isArray(G)?U[J]=G:d(Q)&&d(G)?U[J]=c(Object.assign({},Q),G):U[J]=G}),c(U,...A)):U}function u(U,A){const $=document.createElement("a");$.download=A,$.href=U,document.body.appendChild($),$.click(),document.body.removeChild($)}const h={L:.07,M:.15,Q:.25,H:.3};class m{constructor({svg:A,type:$,window:J}){this._svg=A,this._type=$,this._window=J}draw(A,$,J,Q){let G;switch(this._type){case"dots":G=this._drawDot;break;case"classy":G=this._drawClassy;break;case"classy-rounded":G=this._drawClassyRounded;break;case"rounded":G=this._drawRounded;break;case"extra-rounded":G=this._drawExtraRounded;break;default:G=this._drawSquare}G.call(this,{x:A,y:$,size:J,getNeighbor:Q})}_rotateFigure({x:A,y:$,size:J,rotation:Q=0,draw:G}){var Y;const de=A+J/2,le=$+J/2;G(),(Y=this._element)===null||Y===void 0||Y.setAttribute("transform",`rotate(${180*Q/Math.PI},${de},${le})`)}_basicDot(A){const{size:$,x:J,y:Q}=A;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(J+$/2)),this._element.setAttribute("cy",String(Q+$/2)),this._element.setAttribute("r",String($/2))}}))}_basicSquare(A){const{size:$,x:J,y:Q}=A;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(J)),this._element.setAttribute("y",String(Q)),this._element.setAttribute("width",String($)),this._element.setAttribute("height",String($))}}))}_basicSideRounded(A){const{size:$,x:J,y:Q}=A;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${J} ${Q}v ${$}h `+$/2+`a ${$/2} ${$/2}, 0, 0, 0, 0 ${-$}`)}}))}_basicCornerRounded(A){const{size:$,x:J,y:Q}=A;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${J} ${Q}v ${$}h ${$}v `+-$/2+`a ${$/2} ${$/2}, 0, 0, 0, ${-$/2} ${-$/2}`)}}))}_basicCornerExtraRounded(A){const{size:$,x:J,y:Q}=A;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${J} ${Q}v ${$}h ${$}a ${$} ${$}, 0, 0, 0, ${-$} ${-$}`)}}))}_basicCornersRounded(A){const{size:$,x:J,y:Q}=A;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${J} ${Q}v `+$/2+`a ${$/2} ${$/2}, 0, 0, 0, ${$/2} ${$/2}h `+$/2+"v "+-$/2+`a ${$/2} ${$/2}, 0, 0, 0, ${-$/2} ${-$/2}`)}}))}_drawDot({x:A,y:$,size:J}){this._basicDot({x:A,y:$,size:J,rotation:0})}_drawSquare({x:A,y:$,size:J}){this._basicSquare({x:A,y:$,size:J,rotation:0})}_drawRounded({x:A,y:$,size:J,getNeighbor:Q}){const G=Q?+Q(-1,0):0,Y=Q?+Q(1,0):0,de=Q?+Q(0,-1):0,le=Q?+Q(0,1):0,be=G+Y+de+le;if(be!==0)if(be>2||G&&Y||de&&le)this._basicSquare({x:A,y:$,size:J,rotation:0});else{if(be===2){let ce=0;return G&&de?ce=Math.PI/2:de&&Y?ce=Math.PI:Y&&le&&(ce=-Math.PI/2),void this._basicCornerRounded({x:A,y:$,size:J,rotation:ce})}if(be===1){let ce=0;return de?ce=Math.PI/2:Y?ce=Math.PI:le&&(ce=-Math.PI/2),void this._basicSideRounded({x:A,y:$,size:J,rotation:ce})}}else this._basicDot({x:A,y:$,size:J,rotation:0})}_drawExtraRounded({x:A,y:$,size:J,getNeighbor:Q}){const G=Q?+Q(-1,0):0,Y=Q?+Q(1,0):0,de=Q?+Q(0,-1):0,le=Q?+Q(0,1):0,be=G+Y+de+le;if(be!==0)if(be>2||G&&Y||de&&le)this._basicSquare({x:A,y:$,size:J,rotation:0});else{if(be===2){let ce=0;return G&&de?ce=Math.PI/2:de&&Y?ce=Math.PI:Y&&le&&(ce=-Math.PI/2),void this._basicCornerExtraRounded({x:A,y:$,size:J,rotation:ce})}if(be===1){let ce=0;return de?ce=Math.PI/2:Y?ce=Math.PI:le&&(ce=-Math.PI/2),void this._basicSideRounded({x:A,y:$,size:J,rotation:ce})}}else this._basicDot({x:A,y:$,size:J,rotation:0})}_drawClassy({x:A,y:$,size:J,getNeighbor:Q}){const G=Q?+Q(-1,0):0,Y=Q?+Q(1,0):0,de=Q?+Q(0,-1):0,le=Q?+Q(0,1):0;G+Y+de+le!==0?G||de?Y||le?this._basicSquare({x:A,y:$,size:J,rotation:0}):this._basicCornerRounded({x:A,y:$,size:J,rotation:Math.PI/2}):this._basicCornerRounded({x:A,y:$,size:J,rotation:-Math.PI/2}):this._basicCornersRounded({x:A,y:$,size:J,rotation:Math.PI/2})}_drawClassyRounded({x:A,y:$,size:J,getNeighbor:Q}){const G=Q?+Q(-1,0):0,Y=Q?+Q(1,0):0,de=Q?+Q(0,-1):0,le=Q?+Q(0,1):0;G+Y+de+le!==0?G||de?Y||le?this._basicSquare({x:A,y:$,size:J,rotation:0}):this._basicCornerExtraRounded({x:A,y:$,size:J,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:A,y:$,size:J,rotation:-Math.PI/2}):this._basicCornersRounded({x:A,y:$,size:J,rotation:Math.PI/2})}}const y={dot:"dot",square:"square",extraRounded:"extra-rounded"},C=Object.values(y);class S{constructor({svg:A,type:$,window:J}){this._svg=A,this._type=$,this._window=J}draw(A,$,J,Q){let G;switch(this._type){case y.square:G=this._drawSquare;break;case y.extraRounded:G=this._drawExtraRounded;break;default:G=this._drawDot}G.call(this,{x:A,y:$,size:J,rotation:Q})}_rotateFigure({x:A,y:$,size:J,rotation:Q=0,draw:G}){var Y;const de=A+J/2,le=$+J/2;G(),(Y=this._element)===null||Y===void 0||Y.setAttribute("transform",`rotate(${180*Q/Math.PI},${de},${le})`)}_basicDot(A){const{size:$,x:J,y:Q}=A,G=$/7;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${J+$/2} ${Q}a ${$/2} ${$/2} 0 1 0 0.1 0zm 0 ${G}a ${$/2-G} ${$/2-G} 0 1 1 -0.1 0Z`)}}))}_basicSquare(A){const{size:$,x:J,y:Q}=A,G=$/7;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${J} ${Q}v ${$}h ${$}v `+-$+`zM ${J+G} ${Q+G}h `+($-2*G)+"v "+($-2*G)+"h "+(2*G-$)+"z")}}))}_basicExtraRounded(A){const{size:$,x:J,y:Q}=A,G=$/7;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${J} ${Q+2.5*G}v `+2*G+`a ${2.5*G} ${2.5*G}, 0, 0, 0, ${2.5*G} ${2.5*G}h `+2*G+`a ${2.5*G} ${2.5*G}, 0, 0, 0, ${2.5*G} ${2.5*-G}v `+-2*G+`a ${2.5*G} ${2.5*G}, 0, 0, 0, ${2.5*-G} ${2.5*-G}h `+-2*G+`a ${2.5*G} ${2.5*G}, 0, 0, 0, ${2.5*-G} ${2.5*G}M ${J+2.5*G} ${Q+G}h `+2*G+`a ${1.5*G} ${1.5*G}, 0, 0, 1, ${1.5*G} ${1.5*G}v `+2*G+`a ${1.5*G} ${1.5*G}, 0, 0, 1, ${1.5*-G} ${1.5*G}h `+-2*G+`a ${1.5*G} ${1.5*G}, 0, 0, 1, ${1.5*-G} ${1.5*-G}v `+-2*G+`a ${1.5*G} ${1.5*G}, 0, 0, 1, ${1.5*G} ${1.5*-G}`)}}))}_drawDot({x:A,y:$,size:J,rotation:Q}){this._basicDot({x:A,y:$,size:J,rotation:Q})}_drawSquare({x:A,y:$,size:J,rotation:Q}){this._basicSquare({x:A,y:$,size:J,rotation:Q})}_drawExtraRounded({x:A,y:$,size:J,rotation:Q}){this._basicExtraRounded({x:A,y:$,size:J,rotation:Q})}}const w={dot:"dot",square:"square"},E=Object.values(w);class b{constructor({svg:A,type:$,window:J}){this._svg=A,this._type=$,this._window=J}draw(A,$,J,Q){let G;G=this._type===w.square?this._drawSquare:this._drawDot,G.call(this,{x:A,y:$,size:J,rotation:Q})}_rotateFigure({x:A,y:$,size:J,rotation:Q=0,draw:G}){var Y;const de=A+J/2,le=$+J/2;G(),(Y=this._element)===null||Y===void 0||Y.setAttribute("transform",`rotate(${180*Q/Math.PI},${de},${le})`)}_basicDot(A){const{size:$,x:J,y:Q}=A;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(J+$/2)),this._element.setAttribute("cy",String(Q+$/2)),this._element.setAttribute("r",String($/2))}}))}_basicSquare(A){const{size:$,x:J,y:Q}=A;this._rotateFigure(Object.assign(Object.assign({},A),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(J)),this._element.setAttribute("y",String(Q)),this._element.setAttribute("width",String($)),this._element.setAttribute("height",String($))}}))}_drawDot({x:A,y:$,size:J,rotation:Q}){this._basicDot({x:A,y:$,size:J,rotation:Q})}_drawSquare({x:A,y:$,size:J,rotation:Q}){this._basicSquare({x:A,y:$,size:J,rotation:Q})}}const g="circle",_=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],x=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];class k{constructor(A,$){this._roundSize=J=>this._options.dotsOptions.roundSize?Math.floor(J):J,this._window=$,this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(A.width)),this._element.setAttribute("height",String(A.height)),this._element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),A.dotsOptions.roundSize||this._element.setAttribute("shape-rendering","crispEdges"),this._element.setAttribute("viewBox",`0 0 ${A.width} ${A.height}`),this._defs=this._window.document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._imageUri=A.image,this._instanceId=k.instanceCount++,this._options=A}get width(){return this._options.width}get height(){return this._options.height}getElement(){return this._element}async drawQR(A){const $=A.getModuleCount(),J=Math.min(this._options.width,this._options.height)-2*this._options.margin,Q=this._options.shape===g?J/Math.sqrt(2):J,G=this._roundSize(Q/$);let Y={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=A,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:de,qrOptions:le}=this._options,be=de.imageSize*h[le.errorCorrectionLevel],ce=Math.floor(be*$*$);Y=function({originalHeight:se,originalWidth:pe,maxHiddenDots:ae,maxHiddenAxisDots:ge,dotSize:R}){const j={x:0,y:0},X={x:0,y:0};if(se<=0||pe<=0||ae<=0||R<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};const Z=se/pe;return j.x=Math.floor(Math.sqrt(ae/Z)),j.x<=0&&(j.x=1),ge&&ge ae||ge&&ge {var be,ce,se,pe,ae,ge;return!(this._options.imageOptions.hideBackgroundDots&&de>=($-Y.hideYDots)/2&&de<($+Y.hideYDots)/2&&le>=($-Y.hideXDots)/2&&le<($+Y.hideXDots)/2||((be=_[de])===null||be===void 0?void 0:be[le])||((ce=_[de-$+7])===null||ce===void 0?void 0:ce[le])||((se=_[de])===null||se===void 0?void 0:se[le-$+7])||((pe=x[de])===null||pe===void 0?void 0:pe[le])||((ae=x[de-$+7])===null||ae===void 0?void 0:ae[le])||((ge=x[de])===null||ge===void 0?void 0:ge[le-$+7]))}),this.drawCorners(),this._options.image&&await this.drawImage({width:Y.width,height:Y.height,count:$,dotSize:G})}drawBackground(){var A,$,J;const Q=this._element,G=this._options;if(Q){const Y=(A=G.backgroundOptions)===null||A===void 0?void 0:A.gradient,de=($=G.backgroundOptions)===null||$===void 0?void 0:$.color;let le=G.height,be=G.width;if(Y||de){const ce=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id",`clip-path-background-color-${this._instanceId}`),this._defs.appendChild(this._backgroundClipPath),!((J=G.backgroundOptions)===null||J===void 0)&&J.round&&(le=be=Math.min(G.width,G.height),ce.setAttribute("rx",String(le/2*G.backgroundOptions.round))),ce.setAttribute("x",String(this._roundSize((G.width-be)/2))),ce.setAttribute("y",String(this._roundSize((G.height-le)/2))),ce.setAttribute("width",String(be)),ce.setAttribute("height",String(le)),this._backgroundClipPath.appendChild(ce),this._createColor({options:Y,color:de,additionalRotation:0,x:0,y:0,height:G.height,width:G.width,name:`background-color-${this._instanceId}`})}}}drawDots(A){var $,J;if(!this._qr)throw"QR code is not defined";const Q=this._options,G=this._qr.getModuleCount();if(G>Q.width||G>Q.height)throw"The canvas is too small.";const Y=Math.min(Q.width,Q.height)-2*Q.margin,de=Q.shape===g?Y/Math.sqrt(2):Y,le=this._roundSize(de/G),be=this._roundSize((Q.width-G*le)/2),ce=this._roundSize((Q.height-G*le)/2),se=new m({svg:this._element,type:Q.dotsOptions.type,window:this._window});this._dotsClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id",`clip-path-dot-color-${this._instanceId}`),this._defs.appendChild(this._dotsClipPath),this._createColor({options:($=Q.dotsOptions)===null||$===void 0?void 0:$.gradient,color:Q.dotsOptions.color,additionalRotation:0,x:0,y:0,height:Q.height,width:Q.width,name:`dot-color-${this._instanceId}`});for(let pe=0;pe !(ae+ge<0||pe+R<0||ae+ge>=G||pe+R>=G)&&!(A&&!A(pe+R,ae+ge))&&!!this._qr&&this._qr.isDark(pe+R,ae+ge)),se._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(se._element));if(Q.shape===g){const pe=this._roundSize((Y/le-G)/2),ae=G+2*pe,ge=be-pe*le,R=ce-pe*le,j=[],X=this._roundSize(ae/2);for(let Z=0;Z =pe-1&&Z<=ae-pe&&ne>=pe-1&&ne<=ae-pe||Math.sqrt((Z-X)*(Z-X)+(ne-X)*(ne-X))>X?j[Z][ne]=0:j[Z][ne]=this._qr.isDark(ne-2*pe<0?ne:ne>=G?ne-2*pe:ne-pe,Z-2*pe<0?Z:Z>=G?Z-2*pe:Z-pe)?1:0}for(let Z=0;Z {var he;return!!(!((he=j[Z+fe])===null||he===void 0)&&he[ne+te])}),se._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(se._element))}}drawCorners(){if(!this._qr)throw"QR code is not defined";const A=this._element,$=this._options;if(!A)throw"Element code is not defined";const J=this._qr.getModuleCount(),Q=Math.min($.width,$.height)-2*$.margin,G=$.shape===g?Q/Math.sqrt(2):Q,Y=this._roundSize(G/J),de=7*Y,le=3*Y,be=this._roundSize(($.width-J*Y)/2),ce=this._roundSize(($.height-J*Y)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(([se,pe,ae])=>{var ge,R,j,X,Z,ne,te,fe,he,Te,qe,Be,ve,xe;const we=be+se*Y*(J-7),Ue=ce+pe*Y*(J-7);let Ee=this._dotsClipPath,Ne=this._dotsClipPath;if((((ge=$.cornersSquareOptions)===null||ge===void 0?void 0:ge.gradient)||((R=$.cornersSquareOptions)===null||R===void 0?void 0:R.color))&&(Ee=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),Ee.setAttribute("id",`clip-path-corners-square-color-${se}-${pe}-${this._instanceId}`),this._defs.appendChild(Ee),this._cornersSquareClipPath=this._cornersDotClipPath=Ne=Ee,this._createColor({options:(j=$.cornersSquareOptions)===null||j===void 0?void 0:j.gradient,color:(X=$.cornersSquareOptions)===null||X===void 0?void 0:X.color,additionalRotation:ae,x:we,y:Ue,height:de,width:de,name:`corners-square-color-${se}-${pe}-${this._instanceId}`})),((Z=$.cornersSquareOptions)===null||Z===void 0?void 0:Z.type)&&C.includes($.cornersSquareOptions.type)){const Ye=new S({svg:this._element,type:$.cornersSquareOptions.type,window:this._window});Ye.draw(we,Ue,de,ae),Ye._element&&Ee&&Ee.appendChild(Ye._element)}else{const Ye=new m({svg:this._element,type:((ne=$.cornersSquareOptions)===null||ne===void 0?void 0:ne.type)||$.dotsOptions.type,window:this._window});for(let nt=0;nt<_.length;nt++)for(let je=0;je<_[nt].length;je++)!((te=_[nt])===null||te===void 0)&&te[je]&&(Ye.draw(we+je*Y,Ue+nt*Y,Y,(ht,Xe)=>{var Oe;return!!(!((Oe=_[nt+Xe])===null||Oe===void 0)&&Oe[je+ht])}),Ye._element&&Ee&&Ee.appendChild(Ye._element))}if((((fe=$.cornersDotOptions)===null||fe===void 0?void 0:fe.gradient)||((he=$.cornersDotOptions)===null||he===void 0?void 0:he.color))&&(Ne=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),Ne.setAttribute("id",`clip-path-corners-dot-color-${se}-${pe}-${this._instanceId}`),this._defs.appendChild(Ne),this._cornersDotClipPath=Ne,this._createColor({options:(Te=$.cornersDotOptions)===null||Te===void 0?void 0:Te.gradient,color:(qe=$.cornersDotOptions)===null||qe===void 0?void 0:qe.color,additionalRotation:ae,x:we+2*Y,y:Ue+2*Y,height:le,width:le,name:`corners-dot-color-${se}-${pe}-${this._instanceId}`})),((Be=$.cornersDotOptions)===null||Be===void 0?void 0:Be.type)&&E.includes($.cornersDotOptions.type)){const Ye=new b({svg:this._element,type:$.cornersDotOptions.type,window:this._window});Ye.draw(we+2*Y,Ue+2*Y,le,ae),Ye._element&&Ne&&Ne.appendChild(Ye._element)}else{const Ye=new m({svg:this._element,type:((ve=$.cornersDotOptions)===null||ve===void 0?void 0:ve.type)||$.dotsOptions.type,window:this._window});for(let nt=0;nt {var Oe;return!!(!((Oe=x[nt+Xe])===null||Oe===void 0)&&Oe[je+ht])}),Ye._element&&Ne&&Ne.appendChild(Ye._element))}})}loadImage(){return new Promise((A,$)=>{var J;const Q=this._options;if(!Q.image)return $("Image is not defined");if(!((J=Q.nodeCanvas)===null||J===void 0)&&J.loadImage)Q.nodeCanvas.loadImage(Q.image).then(G=>{var Y,de;if(this._image=G,this._options.imageOptions.saveAsBlob){const le=(Y=Q.nodeCanvas)===null||Y===void 0?void 0:Y.createCanvas(this._image.width,this._image.height);(de=le==null?void 0:le.getContext("2d"))===null||de===void 0||de.drawImage(G,0,0),this._imageUri=le==null?void 0:le.toDataURL()}A()}).catch($);else{const G=new this._window.Image;typeof Q.imageOptions.crossOrigin=="string"&&(G.crossOrigin=Q.imageOptions.crossOrigin),this._image=G,G.onload=async()=>{this._options.imageOptions.saveAsBlob&&(this._imageUri=await async function(Y,de){return new Promise(le=>{const be=new de.XMLHttpRequest;be.onload=function(){const ce=new de.FileReader;ce.onloadend=function(){le(ce.result)},ce.readAsDataURL(be.response)},be.open("GET",Y),be.responseType="blob",be.send()})}(Q.image||"",this._window)),A()},G.src=Q.image}})}async drawImage({width:A,height:$,count:J,dotSize:Q}){const G=this._options,Y=this._roundSize((G.width-J*Q)/2),de=this._roundSize((G.height-J*Q)/2),le=Y+this._roundSize(G.imageOptions.margin+(J*Q-A)/2),be=de+this._roundSize(G.imageOptions.margin+(J*Q-$)/2),ce=A-2*G.imageOptions.margin,se=$-2*G.imageOptions.margin,pe=this._window.document.createElementNS("http://www.w3.org/2000/svg","image");pe.setAttribute("href",this._imageUri||""),pe.setAttribute("xlink:href",this._imageUri||""),pe.setAttribute("x",String(le)),pe.setAttribute("y",String(be)),pe.setAttribute("width",`${ce}px`),pe.setAttribute("height",`${se}px`),this._element.appendChild(pe)}_createColor({options:A,color:$,additionalRotation:J,x:Q,y:G,height:Y,width:de,name:le}){const be=de>Y?de:Y,ce=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");if(ce.setAttribute("x",String(Q)),ce.setAttribute("y",String(G)),ce.setAttribute("height",String(Y)),ce.setAttribute("width",String(de)),ce.setAttribute("clip-path",`url('#clip-path-${le}')`),A){let se;if(A.type==="radial")se=this._window.document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),se.setAttribute("id",le),se.setAttribute("gradientUnits","userSpaceOnUse"),se.setAttribute("fx",String(Q+de/2)),se.setAttribute("fy",String(G+Y/2)),se.setAttribute("cx",String(Q+de/2)),se.setAttribute("cy",String(G+Y/2)),se.setAttribute("r",String(be/2));else{const pe=((A.rotation||0)+J)%(2*Math.PI),ae=(pe+2*Math.PI)%(2*Math.PI);let ge=Q+de/2,R=G+Y/2,j=Q+de/2,X=G+Y/2;ae>=0&&ae<=.25*Math.PI||ae>1.75*Math.PI&&ae<=2*Math.PI?(ge-=de/2,R-=Y/2*Math.tan(pe),j+=de/2,X+=Y/2*Math.tan(pe)):ae>.25*Math.PI&&ae<=.75*Math.PI?(R-=Y/2,ge-=de/2/Math.tan(pe),X+=Y/2,j+=de/2/Math.tan(pe)):ae>.75*Math.PI&&ae<=1.25*Math.PI?(ge+=de/2,R+=Y/2*Math.tan(pe),j-=de/2,X-=Y/2*Math.tan(pe)):ae>1.25*Math.PI&&ae<=1.75*Math.PI&&(R+=Y/2,ge+=de/2/Math.tan(pe),X-=Y/2,j-=de/2/Math.tan(pe)),se=this._window.document.createElementNS("http://www.w3.org/2000/svg","linearGradient"),se.setAttribute("id",le),se.setAttribute("gradientUnits","userSpaceOnUse"),se.setAttribute("x1",String(Math.round(ge))),se.setAttribute("y1",String(Math.round(R))),se.setAttribute("x2",String(Math.round(j))),se.setAttribute("y2",String(Math.round(X)))}A.colorStops.forEach(({offset:pe,color:ae})=>{const ge=this._window.document.createElementNS("http://www.w3.org/2000/svg","stop");ge.setAttribute("offset",100*pe+"%"),ge.setAttribute("stop-color",ae),se.appendChild(ge)}),ce.setAttribute("fill",`url('#${le}')`),this._defs.appendChild(se)}else $&&ce.setAttribute("fill",$);this._element.appendChild(ce)}}k.instanceCount=0;const T=k,V="canvas",I={};for(let U=0;U<=40;U++)I[U]=U;const F={type:V,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:I[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{saveAsBlob:!0,hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000",roundSize:!0},backgroundOptions:{round:0,color:"#fff"}};function M(U){const A=Object.assign({},U);if(!A.colorStops||!A.colorStops.length)throw"Field 'colorStops' is required in gradient";return A.rotation?A.rotation=Number(A.rotation):A.rotation=0,A.colorStops=A.colorStops.map($=>Object.assign(Object.assign({},$),{offset:Number($.offset)})),A}function N(U){const A=Object.assign({},U);return A.width=Number(A.width),A.height=Number(A.height),A.margin=Number(A.margin),A.imageOptions=Object.assign(Object.assign({},A.imageOptions),{hideBackgroundDots:Boolean(A.imageOptions.hideBackgroundDots),imageSize:Number(A.imageOptions.imageSize),margin:Number(A.imageOptions.margin)}),A.margin>Math.min(A.width,A.height)&&(A.margin=Math.min(A.width,A.height)),A.dotsOptions=Object.assign({},A.dotsOptions),A.dotsOptions.gradient&&(A.dotsOptions.gradient=M(A.dotsOptions.gradient)),A.cornersSquareOptions&&(A.cornersSquareOptions=Object.assign({},A.cornersSquareOptions),A.cornersSquareOptions.gradient&&(A.cornersSquareOptions.gradient=M(A.cornersSquareOptions.gradient))),A.cornersDotOptions&&(A.cornersDotOptions=Object.assign({},A.cornersDotOptions),A.cornersDotOptions.gradient&&(A.cornersDotOptions.gradient=M(A.cornersDotOptions.gradient))),A.backgroundOptions&&(A.backgroundOptions=Object.assign({},A.backgroundOptions),A.backgroundOptions.gradient&&(A.backgroundOptions.gradient=M(A.backgroundOptions.gradient))),A}var B=i(873),L=i.n(B);function W(U){if(!U)throw new Error("Extension must be defined");U[0]==="."&&(U=U.substring(1));const A={bmp:"image/bmp",gif:"image/gif",ico:"image/vnd.microsoft.icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp",pdf:"application/pdf"}[U.toLowerCase()];if(!A)throw new Error(`Extension "${U}" is not supported`);return A}class H{constructor(A){A!=null&&A.jsdom?this._window=new A.jsdom("",{resources:"usable"}).window:this._window=window,this._options=A?N(c(F,A)):F,this.update()}static _clearContainer(A){A&&(A.innerHTML="")}_setupSvg(){if(!this._qr)return;const A=new T(this._options,this._window);this._svg=A.getElement(),this._svgDrawingPromise=A.drawQR(this._qr).then(()=>{var $;this._svg&&(($=this._extension)===null||$===void 0||$.call(this,A.getElement(),this._options))})}_setupCanvas(){var A,$;this._qr&&(!((A=this._options.nodeCanvas)===null||A===void 0)&&A.createCanvas?(this._nodeCanvas=this._options.nodeCanvas.createCanvas(this._options.width,this._options.height),this._nodeCanvas.width=this._options.width,this._nodeCanvas.height=this._options.height):(this._domCanvas=document.createElement("canvas"),this._domCanvas.width=this._options.width,this._domCanvas.height=this._options.height),this._setupSvg(),this._canvasDrawingPromise=($=this._svgDrawingPromise)===null||$===void 0?void 0:$.then(()=>{var J;if(!this._svg)return;const Q=this._svg,G=new this._window.XMLSerializer().serializeToString(Q),Y=btoa(G),de=`data:${W("svg")};base64,${Y}`;if(!((J=this._options.nodeCanvas)===null||J===void 0)&&J.loadImage)return this._options.nodeCanvas.loadImage(de).then(le=>{var be,ce;le.width=this._options.width,le.height=this._options.height,(ce=(be=this._nodeCanvas)===null||be===void 0?void 0:be.getContext("2d"))===null||ce===void 0||ce.drawImage(le,0,0)});{const le=new this._window.Image;return new Promise(be=>{le.onload=()=>{var ce,se;(se=(ce=this._domCanvas)===null||ce===void 0?void 0:ce.getContext("2d"))===null||se===void 0||se.drawImage(le,0,0),be()},le.src=de})}}))}async _getElement(A="png"){if(!this._qr)throw"QR code is empty";return A.toLowerCase()==="svg"?(this._svg&&this._svgDrawingPromise||this._setupSvg(),await this._svgDrawingPromise,this._svg):((this._domCanvas||this._nodeCanvas)&&this._canvasDrawingPromise||this._setupCanvas(),await this._canvasDrawingPromise,this._domCanvas||this._nodeCanvas)}update(A){H._clearContainer(this._container),this._options=A?N(c(this._options,A)):this._options,this._options.data&&(this._qr=L()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function($){switch(!0){case/^[0-9]*$/.test($):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test($):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._options.type===V?this._setupCanvas():this._setupSvg(),this.append(this._container))}append(A){if(A){if(typeof A.appendChild!="function")throw"Container should be a single DOM node";this._options.type===V?this._domCanvas&&A.appendChild(this._domCanvas):this._svg&&A.appendChild(this._svg),this._container=A}}applyExtension(A){if(!A)throw"Extension function should be defined.";this._extension=A,this.update()}deleteExtension(){this._extension=void 0,this.update()}async getRawData(A="png"){if(!this._qr)throw"QR code is empty";const $=await this._getElement(A),J=W(A);if(!$)return null;if(A.toLowerCase()==="svg"){const Q=`\r -${new this._window.XMLSerializer().serializeToString($)}`;return typeof Blob>"u"||this._options.jsdom?Buffer.from(Q):new Blob([Q],{type:J})}return new Promise(Q=>{const G=$;if("toBuffer"in G)if(J==="image/png")Q(G.toBuffer(J));else if(J==="image/jpeg")Q(G.toBuffer(J));else{if(J!=="application/pdf")throw Error("Unsupported extension");Q(G.toBuffer(J))}else"toBlob"in G&&G.toBlob(Q,J,1)})}async download(A){if(!this._qr)throw"QR code is empty";if(typeof Blob>"u")throw"Cannot download in Node.js, call getRawData instead.";let $="png",J="qr";typeof A=="string"?($=A,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof A=="object"&&A!==null&&(A.name&&(J=A.name),A.extension&&($=A.extension));const Q=await this._getElement($);if(Q)if($.toLowerCase()==="svg"){let G=new XMLSerializer().serializeToString(Q);G=`\r -`+G,u(`data:${W($)};charset=utf-8,${encodeURIComponent(G)}`,`${J}.svg`)}else u(Q.toDataURL(W($)),`${J}.${$}`)}}const O=H})(),l.default})())})(og);const $T=A_(og.exports),FT=n.defineComponent({name:"QrCodeBox",data(){return{qrcode:null}},props:{data:String,image:String,width:Number,height:Number,circleType:String,circleColor:String},methods:{},computed:{},components:{},watch:{$props:{handler(){const e={dotsOptions:{}};Object.keys(this.$props).forEach(t=>{this.$props[t]!=null&&this.$props[t]!==""&&(e[t]=this.$props[t])}),delete e.formCreateInject,e.circleType&&(e.dotsOptions.type=e.circleType),e.circleColor&&(e.dotsOptions.color=e.circleColor),delete e.circleColor,delete e.circleType,this.$nextTick(()=>{this.qrcode?this.qrcode.update(e):(this.qrcode=n.markRaw(new $T(e)),this.qrcode.append(this.$refs.qr))})},deep:!0,immediate:!0}}}),IT={class:"_fc-qrcode",ref:"qr"};function PT(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",IT,null,512)}const ag=De(FT,[["render",PT]]),aj="",lj="",lg={date:"YYYY-MM-DD",month:"YYYY-MM",datetime:"YYYY-MM-DD HH:mm:ss",timerange:"HH:mm:ss",daterange:"YYYY-MM-DD",monthrange:"YYYY-MM",datetimerange:"YYYY-MM-DD HH:mm:ss",year:"YYYY"};function MT(e){return e/20+"em"}function LT(e){var t;!((t=e.wrap)!=null&&t.class)||(e.wrap.class==="fc-wrap-top"?(e.wrap.labelAlign="top",delete e.wrap.class):e.wrap.class==="fc-wrap-left"?(e.wrap.labelAlign="left",delete e.wrap.class):e.wrap.class==="fc-wrap-right"&&(e.wrap.labelAlign="right",delete e.wrap.class))}const sg=function(e,t,r,o){const i=o||{};return t.forEach(l=>{e.indexOf(l[r||"id"])>-1&&e.splice(e.indexOf(l[r||"id"]),1,l[i.label||"label"]||l.text),dt.trueArray(l[i.children||"children"])&&sg(e,l[i.children||"children"],r,o)}),e},jT=function(e,t){return t.forEach(r=>{e.indexOf(r.value)>-1&&(e[e.indexOf(r.value)]=r.label||r.text)}),e};function ku(e){if(e){if(!Array.isArray(e))return[e]}else return[];return e}function dg(e){Object.keys(jt).forEach(t=>{e.setFormula(t,jt[t])}),Ac(e),e.register("behavior",Th),e.register("easySlots",Uo),e.extendApi(t=>({message(r){Sb.showNotify({type:"warning",...r||{}})}})),e.setDriver("elm",{defaultPreview(t,r){let o=t.rule.value;const i=t.$render.vNode.h,l=t.type,d=t.$handle.subForm[t.id],c=t.prop.readMode;if(c===!1||c==="custom"||!t.input||t.rule.subForm||(Array.isArray(d)?d.length:d)||["fcGroup","fcSubForm","tableForm","stepForm","nestedTableForm","infiniteTableForm","upload","fcDialog","fcDrawer","fcPopup"].indexOf(t.trueType)>-1)return t.parser.render(r,t);if(["radio","select","checkbox"].indexOf(l)>-1)o=jT([...ku(o)],t.prop.props.options||t.prop.props.formCreateInject.options||[]).join(", ");else if(["timePicker","datePicker","slider"].indexOf(l)>-1)o=Array.isArray(o)?o.join(" - "):o;else if(l==="cascader")o=[...ku(o)],Array.isArray(o[0])||(o=[o]),o=o.map(u=>sg(u,t.prop.props.options||t.prop.props.formCreateInject.options||[],"value").join("/")).join(", ");else{if(l==="fcEditor"||c==="html")return i("div",{innerHTML:o});if(l==="uploader"||c==="image")return o=ku(o),i("div",{class:"_fc-upload"},o.map(function(u){return i("div",{class:"_fc-upload-preview"},[i("van-image",{src:u,fit:"cover"})])}));if(l==="signaturePad"&&o)return i("van-image",{src:o,fit:"cover",style:{height:"90px"}});(typeof o=="boolean"||l==="switch")&&(o=o?"\u662F":"\u5426")}return i("span",{class:"_fc-read-view"},[""+(o==null?"":o)])},updateWrap(t){var o,i;let r=(i=(o=t.prop)==null?void 0:o.wrap)==null?void 0:i.style;t.prop.col&&t.prop.col.span&&(t.prop.col.span=24),r&&(r=Array.isArray(r)?r:[r],r.forEach(l=>{delete l.marginBottom})),LT(t.prop)},updateOptions(t){var r,o,i;((r=t.form)==null?void 0:r.labelWidth)&&t.form.labelWidth.indexOf("px")>-1&&(t.form.labelWidth=MT(parseInt(t.form.labelWidth))),(o=t.form)!=null&&o.labelPosition&&(t.form.labelAlign=t.form.labelPosition,delete t.form.labelPosition),(i=t.form)!=null&&i.hideRequiredAsterisk&&(t.form.colon=t.form.hideRequiredAsterisk,delete t.form.hideRequiredAsterisk)},parsers:{inputNumber:{mergeProp(t){t.prop.component="vanStepper";const r=t.prop.props;r.decimalLength=r.precision,r.integer=r.precision===0,delete r.precision}},radio:{mergeProp(t){t.prop.options&&(t.prop.props.options=t.prop.options)}},checkbox:{mergeProp(t){t.prop.options&&(t.prop.props.options=t.prop.options)}},select:{mergeProp(t){t.prop.props.multiple===!0?t.prop.component=F_:(t.prop.options&&(t.prop.props.options=t.prop.options),t.prop.props.options=(t.prop.props.options||[]).map(r=>({text:r.label,value:r.value})))}},rate:{mergeProp(t){t.prop.props.count=t.prop.props.max,delete t.prop.props.max}},timePicker:{mergeProp(t){t.prop.component="elTimePicker";const r=t.prop.props;r.valueFormat||(r.valueFormat="HH:mm:ss")}},datePicker:{mergeProp(t){t.prop.component="elDatePicker";const r=t.prop.props;r.valueFormat||(r.valueFormat=lg[r.type]||lg.date)}},colorPicker:{mergeProp(t){t.prop.component="elColorPicker"}},cascader:{mergeProp(t){t.prop.component="elCascader"}},elDivider:{mergeProp(t){t.prop.component="vanDivider"}},upload:{mergeProp(t){t.prop.component=J_}},tree:{mergeProp(t){t.prop.component=M_}},row:{mergeProp(t){t.prop.component="vanRow"}},col:{mergeProp(t){t.prop.component="vanCol",t.prop.props.xs&&(t.prop.props={...t.prop.props,...t.prop.props.xs})}},fcDialog:{mergeProp(t){t.prop.component="FcPopup"}},fcDrawer:{mergeProp(t){t.prop.component="FcPopup"}}}})}dg(St.default),St.default.component("FcSlot",Hh),St.default.component("FcJson",Wh),St.default.component("StepForm",eE),St.default.component("FcPopup",aE),St.default.component("FcTable",Ih),St.default.component("FcCell",zh),St.default.component("FcInlineForm",kc),St.default.component("TableForm",Ph),St.default.component("TableFormPro",Mh),St.default.component("NestedTableForm",jh),St.default.component("InfiniteTableForm",Lh),St.default.component("DataTable",xc),St.default.component("FcValue",Uh),St.default.component("FcCity",kE),St.default.component("AudioBox",gm),St.default.component("VideoBox",rg),St.default.component("BarCodeBox",ig),St.default.component("IframeBox",vm),St.default.component("QrCodeBox",ag),St.default.component("SignaturePad",zE),St.default.component("FcEcharts",Gh),St.default.component("FcTitle",Qh),St.default.component("FcDataSelect",mm),St.default.component("FcMarkdown",pm),St.default.component("FcId",Yh),St.default.loadjs=nn;const sj="",zT=n.defineComponent({name:"StepFormView",props:{stepsProps:Object,formCreateInject:Object},provide(){return{stepForm:this}},inject:["designer"],data(){return{active:void 0,activeId:void 0,stepItemRef:[],activeRef:void 0}},watch:{"stepItemRef.length"(){(!this.active||this.formCreateInject.children.indexOf(this.activeRef)===-1)&&(this.active=this.formCreateInject.children.length>0?0:-1)},active(e){this.activeRef=this.formCreateInject.children[e],this.activeId=this.activeRef?this.activeRef._fc_id:null}},methods:{onPrev(){this.active--,this.triggerActive()},onNext(){this.active++,this.triggerActive()},change(e){this.active=e,this.triggerActive()},triggerActive(){this.$nextTick(()=>{this.designer.setupState.triggerActive(this.activeRef)})}},created(){this.$watch(()=>[...this.formCreateInject.children],()=>{this.activeRef&&(this.active=this.formCreateInject.children.indexOf(this.activeRef))})}}),UT={class:"_fd-step-form"};function HT(e,t,r,o,i,l){const d=n.resolveComponent("van-step"),c=n.resolveComponent("van-steps"),u=n.resolveComponent("van-button"),h=n.resolveComponent("van-col"),m=n.resolveComponent("van-row");return n.openBlock(),n.createElementBlock("div",UT,[n.createVNode(c,n.mergeProps({active:e.active},e.stepsProps),{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.stepItemRef,(y,C)=>(n.openBlock(),n.createBlock(d,{key:y.id,onClick:n.withModifiers(S=>e.change(C),["stop"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(y.title),1)]),_:2},1032,["onClick"]))),128))]),_:1},16,["active"]),n.renderSlot(e.$slots,"default"),n.createVNode(m,null,{default:n.withCtx(()=>[n.createVNode(h,{span:24,style:{display:"flex","justify-content":"flex-end",padding:"15px"}},{default:n.withCtx(()=>[e.active>0?(n.openBlock(),n.createBlock(u,{key:0,block:"",size:"small",onClick:n.withModifiers(e.onPrev,["stop"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("prevStep")||"\u4E0A\u4E00\u6B65"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0),e.active [n.createTextVNode(n.toDisplayString(e.formCreateInject.t("nextStep")||"\u4E0B\u4E00\u6B65"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0)]),_:1})]),_:1})])}const cg=De(zT,[["render",HT]]),dj="",WT=n.defineComponent({name:"StepFormItemView",props:{title:String,description:String,formCreateInject:Object},inject:["stepForm"],data(){return{}},created(){const e=this.stepForm.formCreateInject.children.indexOf(this.formCreateInject.rule);this.stepForm.stepItemRef.splice(e,0,this)},unmounted(){this.stepForm.stepItemRef.splice(this.stepForm.stepItemRef.indexOf(this),1)},methods:{}}),GT={class:"_fd-step-form-item"};function KT(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",GT,[n.withDirectives(n.createElementVNode("div",null,[n.renderSlot(e.$slots,"default")],512),[[n.vShow,e.stepForm.activeId===e.formCreateInject.rule._fc_id]])])}const ug=De(WT,[["render",KT]]),cj="",YT=n.defineComponent({name:"FcPopup",inject:["designer"],inheritAttrs:!1,props:{title:String,footer:{type:Boolean,default:!0}},computed:{dragConHeight(){return this.designer.setupState.dragConHeight},t(){return this.designer.setupState.t}}}),QT={class:"_fd-popup-title"},JT={class:"_fd-popup-content"},XT={class:"_fd-popup-footer"};function ZT(e,t,r,o,i,l){const d=n.resolveComponent("van-button");return n.openBlock(),n.createElementBlock("div",{class:"van-popup van-popup--bottom _fd-popup",style:n.normalizeStyle(`--fc-dialog-height:${e.dragConHeight-23}px;`)},[t[0]||(t[0]=n.createElementVNode("i",{class:"van-badge__wrapper van-icon van-icon-cross van-popup__close-icon van-popup__close-icon--top-right van-haptics-feedback"},null,-1)),n.createElementVNode("div",QT,n.toDisplayString(e.title),1),n.createElementVNode("div",JT,[n.renderSlot(e.$slots,"default")]),n.createElementVNode("div",XT,[e.footer!==!1?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createVNode(d,{block:"",size:"small",type:"primary",class:"fc-clock"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.t("props.ok")),1)]),_:1}),n.createVNode(d,{block:"",size:"small",class:"fc-clock",style:{"margin-top":"10px"}},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.t("props.close")),1)]),_:1})],64)):n.createCommentVNode("",!0)])],4)}const Nu=De(YT,[["render",ZT]]),qT=St.default,Zr=St.default.factory();dg(Zr),Zr.setDriver("elm",{parsers:{stepForm:{mergeProp(e){e.prop.component=cg}},stepFormItem:{mergeProp(e){e.prop.component=ug}},fcDialog:{mergeProp(e){e.prop.component=Nu}},fcDrawer:{mergeProp(e){e.prop.component=Nu}}}}),Zr.component("MStepForm",cg),Zr.component("MStepFormItemView",ug),Zr.component("PopupView",Nu);let fg=null,Wl=n.ref(null);function Gl(...e){return fg(...e)}const pg=e=>{Wl.value=e||vp;const t=ld(Wl);return fg=t.t,t};pg();const uj="",fj="";var mr={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(Cc,function(){var r=navigator.userAgent,o=navigator.platform,i=/gecko\/\d/i.test(r),l=/MSIE \d/.test(r),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(r),c=/Edge\/(\d+)/.exec(r),u=l||d||c,h=u&&(l?document.documentMode||6:+(c||d)[1]),m=!c&&/WebKit\//.test(r),y=m&&/Qt\/\d+\.\d+/.test(r),C=!c&&/Chrome\/(\d+)/.exec(r),S=C&&+C[1],w=/Opera\//.test(r),E=/Apple Computer/.test(navigator.vendor),b=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(r),g=/PhantomJS/.test(r),_=E&&(/Mobile\/\w+/.test(r)||navigator.maxTouchPoints>2),x=/Android/.test(r),k=_||x||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(r),T=_||/Mac/.test(o),V=/\bCrOS\b/.test(r),I=/win/i.test(o),F=w&&r.match(/Version\/(\d*\.\d*)/);F&&(F=Number(F[1])),F&&F>=15&&(w=!1,m=!0);var M=T&&(y||w&&(F==null||F<12.11)),N=i||u&&h>=9;function B(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var L=function(a,s){var p=a.className,f=B(s).exec(p);if(f){var v=p.slice(f.index+f[0].length);a.className=p.slice(0,f.index)+(v?f[1]+v:"")}};function W(a){for(var s=a.childNodes.length;s>0;--s)a.removeChild(a.firstChild);return a}function H(a,s){return W(a).appendChild(s)}function O(a,s,p,f){var v=document.createElement(a);if(p&&(v.className=p),f&&(v.style.cssText=f),typeof s=="string")v.appendChild(document.createTextNode(s));else if(s)for(var D=0;D =s)return P+(s-D);P+=z-D,P+=p-P%p,D=z+1}}var pe=function(){this.id=null,this.f=null,this.time=0,this.handler=be(this.onTimeout,this)};pe.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},pe.prototype.set=function(a,s){this.f=s;var p=+new Date+a;(!this.id||p =s)return f+Math.min(P,s-v);if(v+=D-f,v+=p-v%p,f=D+1,v>=s)return f}}var te=[""];function fe(a){for(;te.length<=a;)te.push(he(te)+" ");return te[a]}function he(a){return a[a.length-1]}function Te(a,s){for(var p=[],f=0;f "\x80"&&(a.toUpperCase()!=a.toLowerCase()||xe.test(a))}function Ue(a,s){return s?s.source.indexOf("\\w")>-1&&we(a)?!0:s.test(a):we(a)}function Ee(a){for(var s in a)if(a.hasOwnProperty(s)&&a[s])return!1;return!0}var Ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ye(a){return a.charCodeAt(0)>=768&&Ne.test(a)}function nt(a,s,p){for(;(p<0?s>0:s p?-1:1;;){if(s==p)return s;var v=(s+p)/2,D=f<0?Math.ceil(v):Math.floor(v);if(D==s)return a(D)?s:p;a(D)?p=D:s=D+f}}function ht(a,s,p,f){if(!a)return f(s,p,"ltr",0);for(var v=!1,D=0;D s||s==p&&P.to==s)&&(f(Math.max(P.from,s),Math.min(P.to,p),P.level==1?"rtl":"ltr",D),v=!0)}v||f(s,p,"ltr")}var Xe=null;function Oe(a,s,p){var f;Xe=null;for(var v=0;v s)return v;D.to==s&&(D.from!=D.to&&p=="before"?f=v:Xe=v),D.from==s&&(D.from!=D.to&&p!="before"?f=v:Xe=v)}return f!=null?f:Xe}var Pe=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",s="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function p(q){return q<=247?a.charAt(q):1424<=q&&q<=1524?"R":1536<=q&&q<=1785?s.charAt(q-1536):1774<=q&&q<=2220?"r":8192<=q&&q<=8203?"w":q==8204?"b":"L"}var f=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,v=/[stwN]/,D=/[LRr]/,P=/[Lb1n]/,z=/[1n]/;function K(q,ie,re){this.level=q,this.from=ie,this.to=re}return function(q,ie){var re=ie=="ltr"?"L":"R";if(q.length==0||ie=="ltr"&&!f.test(q))return!1;for(var ye=q.length,me=[],Ae=0;Ae -1&&(f[s]=v.slice(0,D).concat(v.slice(D+1)))}}}function Ke(a,s){var p=Je(a,s);if(!!p.length)for(var f=Array.prototype.slice.call(arguments,2),v=0;v 0}function Tt(a){a.prototype.on=function(s,p){Ce(this,s,p)},a.prototype.off=function(s,p){Ge(this,s,p)}}function bt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Gn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Gi(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function ei(a){bt(a),Gn(a)}function vn(a){return a.target||a.srcElement}function pa(a){var s=a.which;return s==null&&(a.button&1?s=1:a.button&2?s=3:a.button&4&&(s=2)),T&&a.ctrlKey&&s==1&&(s=3),s}var wf=function(){if(u&&h<9)return!1;var a=O("div");return"draggable"in a||"dragDrop"in a}(),Kn;function Cf(a){if(Kn==null){var s=O("span","\u200B");H(a,O("span",[s,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Kn=s.offsetWidth<=1&&s.offsetHeight>2&&!(u&&h<8))}var p=Kn?O("span","\u200B"):O("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return p.setAttribute("cm-text",""),p}var so;function Cs(a){if(so!=null)return so;var s=H(a,document.createTextNode("A\u062EA")),p=A(s,0,1).getBoundingClientRect(),f=A(s,1,2).getBoundingClientRect();return W(a),!p||p.left==p.right?!1:so=f.right-p.right<3}var ha=` +Please report this to https://github.com/markedjs/marked.`,t){const i=" An error occurred:
"+pi(o.message+"",!0)+"";return r?Promise.resolve(i):i}if(r)return Promise.reject(o);throw o}}}const cr=new fm;function xt(e,t){return cr.parse(e,t)}xt.options=xt.setOptions=function(e){return cr.setOptions(e),xt.defaults=cr.defaults,Jh(xt.defaults),xt},xt.getDefaults=Dc,xt.defaults=dr,xt.use=function(...e){return cr.use(...e),xt.defaults=cr.defaults,Jh(xt.defaults),xt},xt.walkTokens=function(e,t){return cr.walkTokens(e,t)},xt.parseInline=cr.parseInline,xt.Parser=Un,xt.parser=Un.parse,xt.Renderer=Dl,xt.TextRenderer=Mc,xt.Lexer=zn,xt.lexer=zn.lex,xt.Tokenizer=Tl,xt.Hooks=Qo,xt.parse=xt,xt.options,xt.setOptions,xt.use,xt.walkTokens,xt.parseInline,Un.parse,zn.lex;const tj="",VA=n.defineComponent({name:"FcMarkdown",data(){return{marked:n.markRaw(new fm),html:""}},props:{content:String},watch:{content:{handler(){this.html=this.marked.parse(this.content||"")},immediate:!0}}}),OA=["innerHTML"];function BA(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",{class:"_fc-markdown",innerHTML:e.html},null,8,OA)}const pm=Te(VA,[["render",BA]]),nj="",RA=n.defineComponent({name:"FcDialog",emits:["confirm","submit","validateFail","update:modelValue"],props:{formData:Object,options:{type:Object,default:()=>n.reactive({submitBtn:!1,resetBtn:!1})},rule:Array,autoClose:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},preview:Boolean,modelValue:Object,formCreateInject:Object},computed:{formOptions(){const e={...this.options};return this.preview&&(e.preview=this.preview),e}},data(){return{visible:!1,max:this.$attrs.fullscreen||!1,fapi:{},value:{},formRule:[],Form:n.markRaw(this.formCreateInject.form.$form())}},methods:{formChange(){this.$emit("update:modelValue",this.fapi.formData())},open(e){this.$nextTick(()=>{this.visible=!0,this.value=rt(e||this.modelValue||this.formData||{}),this.formRule=rt(this.rule||[])})},close(){this.visible=!1},handleConfirm(){this.$emit("confirm",this.fapi),this.fapi.submit().then(e=>{this.$emit("submit",e,this.fapi,this.close),this.autoClose&&this.close()}).catch(e=>{this.$emit("validateFail",e,this.fapi)})}},mounted(){this.formCreateInject.api.top.bus.$on("fc.closeDialog",this.close),n.onUnmounted(()=>{this.formCreateInject.api.top.bus.$off("fc.closeDialog",this.close)})}}),$A={key:0,class:"el-dialog__headerbtn",type:"button",style:{right:"36px"}};function IA(e,t,r,o,i,l){const d=n.resolveComponent("el-button"),c=n.resolveComponent("el-dialog");return n.openBlock(),n.createBlock(c,n.mergeProps({class:"_fc-dialog"},e.$attrs,{fullscreen:e.max,modelValue:e.visible,"onUpdate:modelValue":t[3]||(t[3]=u=>e.visible=u),destroyOnClose:""}),n.createSlots({default:n.withCtx(()=>[e.$attrs.fullscreen?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",$A,[e.max?(n.openBlock(),n.createElementBlock("i",{key:0,class:"fc-icon icon-page-min",onClick:t[0]||(t[0]=u=>e.max=!1)})):(n.openBlock(),n.createElementBlock("i",{key:1,class:"fc-icon icon-page-max",onClick:t[1]||(t[1]=u=>e.max=!0)}))])),(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.Form),{option:e.formOptions,rule:e.formRule,extendOption:!0,api:e.fapi,"onUpdate:api":t[2]||(t[2]=u=>e.fapi=u),"model-value":e.value,subForm:!1,onChange:e.formChange,onEmitEvent:e.$emit},null,40,["option","rule","api","model-value","onChange","onEmitEvent"]))]),_:2},[e.footer!==!1?{name:"footer",fn:n.withCtx(()=>[n.createVNode(d,{onClick:e.close},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("close")||"\u5173\u95ED"),1)]),_:1},8,["onClick"]),n.createVNode(d,{type:"primary",onClick:e.handleConfirm},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("ok")||"\u786E\u5B9A"),1)]),_:1},8,["onClick"])]),key:"0"}:void 0]),1040,["fullscreen","modelValue"])}const hm=Te(RA,[["render",IA]]),FA=e=>e!==null&&typeof e=="object",PA=e=>e!=null;function Lc(e){if(!PA(e))return e;if(Array.isArray(e))return e.map(t=>Lc(t));if(FA(e)){const t={};return Object.keys(e).forEach(r=>{t[r]=Lc(e[r])}),t}return e}const ij="",MA=n.defineComponent({name:"FcDataSelect",components:{FcDialog:hm},emits:["update:modelValue","change","clear"],props:{title:String,formCreateInject:Object,placeholder:String,multiple:Boolean,disabled:Boolean,multipleLimit:Number,valueKey:String,labelKey:String,clearable:Boolean,searchRule:Object,tableRule:Object,autoLoad:Boolean,modelValue:[Object,Array]},computed:{options(){return this.list.map(e=>({label:e[this.labelKey||"label"],value:e[this.valueKey||"value"]}))},selectValue(){const e=this.options.map(t=>t.value);return this.multiple===!0?e:e[0]},fapi(){var e,t;return(t=(e=this.$refs)==null?void 0:e.dialog)==null?void 0:t.fapi}},data(){return{list:[],visible:!1,formRule:[],load:El(()=>{this.$refs.dialog.fapi.el(this.formRule[1].name).initPage()},500)}},watch:{modelValue:{handler(e){e?this.list=Array.isArray(e)?e:[e]:this.list=[]},immediate:!0}},methods:{getTableEl(){return this.$refs.dialog.fapi.el(this.formRule[1].name)},getDialogEl(){return this.$refs.dialog},formChange(){this.autoLoad&&this.load()},changeSelectValue(e){e==null?this.list=[]:this.list=this.list.filter(t=>e.indexOf(t[this.valueKey||"value"])!==-1),this.updateValue()},confirm(){const e=Ga([...this.list,...this.$refs.dialog.fapi.el(this.formRule[1].name).getEl().getSelectionRows()]),t=e.map(r=>r[this.valueKey||"value"]);this.list=e.filter((r,o)=>t.indexOf(r[this.valueKey||"value"])===o),this.$refs.dialog.close(),this.updateValue()},tableRowClick(e){this.multiple?this.$refs.dialog.fapi.el(this.formRule[1].name).getEl().toggleRowSelection(e):(this.list=[e],this.updateValue(),this.$refs.dialog.close())},updateValue(){this.multipleLimit>0&&this.list.length>this.multipleLimit&&(this.list=this.list.splice(0,this.multipleLimit));const e=this.list.map(t=>({[this.valueKey||"value"]:t[this.valueKey||"value"],[this.labelKey||"label"]:t[this.labelKey||"label"]}));this.$emit("update:modelValue",this.multiple?e:e[0]),this.$emit("change",this.multiple?e:e[0])},getFormRule(){const e=Lc([this.searchRule,this.tableRule]);return e[1].on||(e[1].on={}),e[1].props||(e[1].props={}),this.multiple&&(e[1].props.rowKey||(e[1].props.rowKey=this.valueKey||"value"),e[1].name||(e[1].name=We())),e[1].props.selection=!0,e[1].on.rowClick?e[1].on.rowClick=[(...t)=>this.tableRowClick(...t),e[1].on.rowClick]:e[1].on.rowClick=(...t)=>this.tableRowClick(...t),e[1].on.selectionChange?e[1].on.selectionChange=[(...t)=>this.selectionChange(...t),e[1].on.selectionChange]:e[1].on.selectionChange=(...t)=>this.selectionChange(...t),e},selectionChange(e){this.multiple||this.tableRowClick(e[0])},handleClear(...e){this.$emit("clear",...e)},handleClick(e){this.disabled||!e||(this.visible=!0,this.formRule=this.getFormRule(),this.$refs.dialog.open())}}}),LA={class:"_fc-data-select"};function jA(e,t,r,o,i,l){const d=n.resolveComponent("el-option"),c=n.resolveComponent("el-select"),u=n.resolveComponent("FcDialog");return n.openBlock(),n.createElementBlock("div",LA,[n.createVNode(c,{disabled:e.disabled,placeholder:e.placeholder,multiple:e.multiple,multipleLimit:e.multipleLimit,clearable:e.clearable,"model-value":e.selectValue,"onUpdate:modelValue":e.changeSelectValue,"popper-class":"_fc-data-select-pop",onVisibleChange:e.handleClick,onClear:e.handleClear},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.options,h=>(n.openBlock(),n.createBlock(d,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","placeholder","multiple","multipleLimit","clearable","model-value","onUpdate:modelValue","onVisibleChange","onClear"]),n.createVNode(u,{ref:"dialog",formCreateInject:e.formCreateInject,rule:e.formRule,"onUpdate:modelValue":e.formChange,footer:e.multiple,title:e.title,width:"900px",onConfirm:e.confirm},null,8,["formCreateInject","rule","onUpdate:modelValue","footer","title","onConfirm"])])}const mm=Te(MA,[["render",jA]]),zA=n.defineComponent({name:"AudioBox",emits:["pause","play","ended"],data(){return{}},props:{src:String,type:String,controls:{type:Boolean,default:!0},autoplay:Boolean,loop:Boolean,preload:{type:String,default:"auto"},muted:Boolean}}),UA=["controls","autoplay","loop","preload","muted"],HA=["src","type"];function WA(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("audio",{key:e.src,controls:e.controls,autoplay:e.autoplay,loop:e.loop,preload:e.preload,muted:e.muted,onPause:t[0]||(t[0]=d=>e.$emit("pause",d)),onPlay:t[1]||(t[1]=d=>e.$emit("play",d)),onEnded:t[2]||(t[2]=d=>e.$emit("ended",d))},[n.createElementVNode("source",{src:e.src,type:e.type},null,8,HA),t[3]||(t[3]=n.createTextVNode(" Your browser does not support the audio element. "))],40,UA)}const gm=Te(zA,[["render",WA]]),rj="",GA=n.defineComponent({name:"IframeBox",emits:["load"],data(){return{}},props:{src:String,loading:String}}),KA=["src"];function YA(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("iframe",{class:"_fc-iframe-box",src:e.src,frameborder:"0",onLoad:t[0]||(t[0]=d=>e.$emit("load",d))},null,40,KA)}const vm=Te(GA,[["render",YA]]);var jc={},Vl={},xn={};Object.defineProperty(xn,"__esModule",{value:!0});function QA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var JA=function e(t,r){QA(this,e),this.data=t,this.text=r.text||t,this.options=r};xn.default=JA,Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.CODE39=void 0;var XA=function(){function e(t,r){for(var o=0;o=200){c=o.shift()-105;var u=$n.SWAP[c];u!==void 0?d=t.next(o,i+1,u):((l===$n.SET_A||l===$n.SET_B)&&c===$n.SHIFT&&(o[0]=l===$n.SET_A?o[0]>95?o[0]-96:o[0]:o[0]<32?o[0]+96:o[0]),d=t.next(o,i+1,l))}else c=t.correctIndex(o,l),d=t.next(o,i+1,l);var h=t.getBar(c),m=c*i;return{result:h+d.result,checksum:m+d.checksum}}}]),t}(hS.default);Hr.default=bS;var Wc={};Object.defineProperty(Wc,"__esModule",{value:!0});var Ui=Vt,Em=function(t){return t.match(new RegExp("^"+Ui.A_CHARS+"*"))[0].length},Am=function(t){return t.match(new RegExp("^"+Ui.B_CHARS+"*"))[0].length},Sm=function(t){return t.match(new RegExp("^"+Ui.C_CHARS+"*"))[0]};function Gc(e,t){var r=t?Ui.A_CHARS:Ui.B_CHARS,o=e.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+xm(e.substring(o[1].length));var i=e.match(new RegExp("^"+r+"+"))[0];return i.length===e.length?e:i+String.fromCharCode(t?205:206)+Gc(e.substring(i.length),!t)}function xm(e){var t=Sm(e),r=t.length;if(r===e.length)return e;e=e.substring(r);var o=Em(e)>=Am(e);return t+String.fromCharCode(o?206:205)+Gc(e,o)}Wc.default=function(e){var t=void 0,r=Sm(e).length;if(r>=2)t=Ui.C_START_CHAR+xm(e);else{var o=Em(e)>Am(e);t=(o?Ui.A_START_CHAR:Ui.B_START_CHAR)+Gc(e,o)}return t.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(i,l){return String.fromCharCode(203)+l})},Object.defineProperty(Uc,"__esModule",{value:!0});var wS=Hr,CS=km(wS),_S=Wc,ES=km(_S);function km(e){return e&&e.__esModule?e:{default:e}}function AS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function SS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var xS=function(e){SS(t,e);function t(r,o){if(AS(this,t),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var i=Kc(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,ES.default)(r),o));else var i=Kc(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r,o));return Kc(i)}return t}(CS.default);Uc.default=xS;var Yc={};Object.defineProperty(Yc,"__esModule",{value:!0});var kS=function(){function e(t,r){for(var o=0;o o.width*10?o.width*10:o.fontSize,i.guardHeight=o.height+i.fontSize/2+o.textMargin,i}return lx(t,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(o,i){return this.text.substr(o,i)}},{key:"leftEncode",value:function(o,i){return(0,Vm.default)(o,i)}},{key:"rightText",value:function(o,i){return this.text.substr(o,i)}},{key:"rightEncode",value:function(o,i){return(0,Vm.default)(o,i)}},{key:"encodeGuarded",value:function(){var o={fontSize:this.fontSize},i={height:this.guardHeight};return[{data:Wr.SIDE_BIN,options:i},{data:this.leftEncode(),text:this.leftText(),options:o},{data:Wr.MIDDLE_BIN,options:i},{data:this.rightEncode(),text:this.rightText(),options:o},{data:Wr.SIDE_BIN,options:i}]}},{key:"encodeFlat",value:function(){var o=[Wr.SIDE_BIN,this.leftEncode(),Wr.MIDDLE_BIN,this.rightEncode(),Wr.SIDE_BIN];return{data:o.join(""),text:this.text}}}]),t}(cx.default);Bl.default=hx,Object.defineProperty(Xc,"__esModule",{value:!0});var mx=function(){function e(t,r){for(var o=0;o o.width*10?i.fontSize=o.width*10:i.fontSize=o.fontSize,i.guardHeight=o.height+i.fontSize/2+o.textMargin,i}return qx(t,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==tu(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var o="";return o+="101",o+=(0,Gr.default)(this.data.substr(0,6),"LLLLLL"),o+="01010",o+=(0,Gr.default)(this.data.substr(6,6),"RRRRRR"),o+="101",{data:o,text:this.text}}},{key:"guardedEncoding",value:function(){var o=[];return this.displayValue&&o.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),o.push({data:"101"+(0,Gr.default)(this.data[0],"L"),options:{height:this.guardHeight}}),o.push({data:(0,Gr.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),o.push({data:"01010",options:{height:this.guardHeight}}),o.push({data:(0,Gr.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),o.push({data:(0,Gr.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&o.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),o}}]),t}(nk.default);function tu(e){var t=0,r;for(r=1;r<11;r+=2)t+=parseInt(e[r]);for(r=0;r<11;r+=2)t+=parseInt(e[r])*3;return(10-t%10)%10}Zo.default=ak;var nu={};Object.defineProperty(nu,"__esModule",{value:!0});var lk=function(){function e(t,r){for(var o=0;o o.width*10?i.fontSize=o.width*10:i.fontSize=o.fontSize,i.guardHeight=o.height+i.fontSize/2+o.textMargin,i}return lk(t,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var o="";return o+="101",o+=this.encodeMiddleDigits(),o+="010101",{data:o,text:this.text}}},{key:"guardedEncoding",value:function(){var o=[];return this.displayValue&&o.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),o.push({data:"101",options:{height:this.guardHeight}}),o.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),o.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&o.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),o}},{key:"encodeMiddleDigits",value:function(){var o=this.upcA[0],i=this.upcA[this.upcA.length-1],l=gk[parseInt(i)][parseInt(o)];return(0,dk.default)(this.middleDigits,l)}}]),t}(uk.default);function Mm(e,t){for(var r=parseInt(e[e.length-1]),o=mk[r],i="",l=0,d=0;d =3&&this.number<=131070}}]),t}(Q2.default);Fl.pharmacode=eN;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0}),Pl.codabar=void 0;var tN=function(){function e(t,r){for(var o=0;o 0?t.fontSize+t.textMargin:0)+t.marginTop+t.marginBottom}function Ym(e,t,r){if(r.displayValue&&t t&&(t=e[r].height);return t}function IN(e,t,r){var o;if(r)o=r;else if(typeof document<"u")o=document.createElement("canvas").getContext("2d");else return 0;o.font=t.fontOptions+" "+t.fontSize+"px "+t.font;var i=o.measureText(e);if(!i)return 0;var l=i.width;return l}In.getMaximumHeightOfEncodings=$N,In.getEncodingHeight=Km,In.getBarcodePadding=Ym,In.calculateEncodingAttributes=BN,In.getTotalWidthOfEncodings=RN,Object.defineProperty(hu,"__esModule",{value:!0});var FN=function(){function e(t,r){for(var o=0;o 0?(d=0,i.textAlign="left"):r.textAlign=="right"?(d=o.width-1,i.textAlign="right"):(d=o.width/2,i.textAlign="center"),i.fillText(o.text,d,c)}}},{key:"moveCanvasDrawing",value:function(r){var o=this.canvas.getContext("2d");o.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),e}();hu.default=zN;var gu={};Object.defineProperty(gu,"__esModule",{value:!0});var UN=function(){function e(t,r){for(var o=0;o 0&&(this.drawRect(u-o.width*c,d,o.width*c,o.height,r),c=0);c>0&&this.drawRect(u-o.width*(c-1),d,o.width*c,o.height,r)}},{key:"drawSVGText",value:function(r,o,i){var l=this.document.createElementNS(Ul,"text");if(o.displayValue){var d,c;l.setAttribute("style","font:"+o.fontOptions+" "+o.fontSize+"px "+o.font),o.textPosition=="top"?c=o.fontSize-o.textMargin:c=o.height+o.textMargin+o.fontSize,o.textAlign=="left"||i.barcodePadding>0?(d=0,l.setAttribute("text-anchor","start")):o.textAlign=="right"?(d=i.width-1,l.setAttribute("text-anchor","end")):(d=i.width/2,l.setAttribute("text-anchor","middle")),l.setAttribute("x",d),l.setAttribute("y",c),l.appendChild(this.document.createTextNode(i.text)),r.appendChild(l)}}},{key:"setSvgAttributes",value:function(r,o){var i=this.svg;i.setAttribute("width",r+"px"),i.setAttribute("height",o+"px"),i.setAttribute("x","0px"),i.setAttribute("y","0px"),i.setAttribute("viewBox","0 0 "+r+" "+o),i.setAttribute("xmlns",Ul),i.setAttribute("version","1.1"),i.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,o,i){var l=this.document.createElementNS(Ul,"g");return l.setAttribute("transform","translate("+r+", "+o+")"),i.appendChild(l),l}},{key:"setGroupOptions",value:function(r,o){r.setAttribute("style","fill:"+o.lineColor+";")}},{key:"drawRect",value:function(r,o,i,l,d){var c=this.document.createElementNS(Ul,"rect");return c.setAttribute("x",r),c.setAttribute("y",o),c.setAttribute("width",i),c.setAttribute("height",l),d.appendChild(c),c}}]),e}();gu.default=YN;var yu={};Object.defineProperty(yu,"__esModule",{value:!0});var QN=function(){function e(t,r){for(var o=0;o "u"?"undefined":lT(e))==="object"&&!e.nodeName)return{element:e,renderer:na.default.ObjectRenderer};throw new cT.InvalidElementException}}function uT(e){var t=document.querySelectorAll(e);if(t.length!==0){for(var r=[],o=0;o "u")throw Error("No element to render on was provided.");return i._renderProperties=(0,CT.default)(t),i._encodings=[],i._options=qm.default,i._errorHandler=new ST.default(i),typeof r<"u"&&(o=o||{},o.format||(o.format=ng()),i.options(o)[o.format](r,o).render()),i};Hl.getModule=function(e){return hr.default[e]};for(var eg in hr.default)hr.default.hasOwnProperty(eg)&&kT(hr.default,eg);function kT(e,t){xi.prototype[t]=xi.prototype[t.toUpperCase()]=xi.prototype[t.toLowerCase()]=function(r,o){var i=this;return i._errorHandler.wrapBarcodeCall(function(){o.text=typeof o.text>"u"?void 0:""+o.text;var l=(0,ia.default)(i._options,o);l=(0,ET.default)(l);var d=e[t],c=tg(r,d,l);return i._encodings.push(c),i})}}function tg(e,t,r){e=""+e;var o=new t(e,r);if(!o.valid())throw new Zm.InvalidInputException(o.constructor.name,e);var i=o.encode();i=(0,Jm.default)(i);for(var l=0;l {this.$props[r]!=null&&this.$props[r]!==""&&(t[r]=this.$props[r])}),delete t.value,delete t.formCreateInject,this.$nextTick(()=>{NT(this.$refs.bar,e||"",t)})},deep:!0,immediate:!0}}}),DT={class:"_fc-barcode",ref:"bar"};function VT(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("img",DT,null,512)}const ig=Te(TT,[["render",VT]]),oj="",OT=n.defineComponent({name:"VideoBox",emits:["pause","play","ended","error"],data(){return{player:null}},props:{src:String,type:String,controls:{type:Boolean,default:!0},autoplay:Boolean,isLive:Boolean,withCredentials:Boolean,loop:Boolean},watch:{src:{handler:function(){this.$nextTick(()=>{nn.ready("mpegts",()=>{const e=this.$refs.video,t=window.mpegts.createPlayer({isLive:this.isLive,type:this.type,url:this.src});t.attachMediaElement(e),t.on("error",r=>{this.$emit("error",r)}),t.load(),this.autoplay&&t.play().catch(r=>{this.$emit("error",r)}),this.player=t})})},immediate:!0}},created(){window.mpegts?nn.done("mpegts"):nn.isDefined("mpegts")||nn.loadNpm("mpegts.js@1.8.0/dist/mpegts.js","mpegts")}}),BT=["controls","loop"];function RT(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("video",{ref:"video",class:"_fc-video-box",controls:e.controls,loop:e.loop,onPause:t[0]||(t[0]=d=>e.$emit("pause",d)),onPlay:t[1]||(t[1]=d=>e.$emit("play",d)),onEnded:t[2]||(t[2]=d=>e.$emit("ended",d))},null,40,BT)}const rg=Te(OT,[["render",RT]]);var og={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(Cc,()=>(()=>{var r={873:(d,c)=>{var u,h,m=function(){var y=function(H,R){var z=H,$=g[R],A=null,J=0,Q=null,G=[],ie={},X=function(V,W){A=function(Y){for(var q=new Array(Y),ee=0;ee =7&&de(V),Q==null&&(Q=ge(z,$,G)),se(Q,W)},le=function(V,W){for(var Y=-1;Y<=7;Y+=1)if(!(V+Y<=-1||J<=V+Y))for(var q=-1;q<=7;q+=1)W+q<=-1||J<=W+q||(A[V+Y][W+q]=0<=Y&&Y<=6&&(q==0||q==6)||0<=q&&q<=6&&(Y==0||Y==6)||2<=Y&&Y<=4&&2<=q&&q<=4)},be=function(){for(var V=8;V >Y&1)==1;A[Math.floor(Y/3)][Y%3+J-8-3]=q}for(Y=0;Y<18;Y+=1)q=!V&&(W>>Y&1)==1,A[Y%3+J-8-3][Math.floor(Y/3)]=q},pe=function(V,W){for(var Y=$<<3|W,q=_.getBCHTypeInfo(Y),ee=0;ee<15;ee+=1){var oe=!V&&(q>>ee&1)==1;ee<6?A[ee][8]=oe:ee<8?A[ee+1][8]=oe:A[J-15+ee][8]=oe}for(ee=0;ee<15;ee+=1)oe=!V&&(q>>ee&1)==1,ee<8?A[8][J-ee-1]=oe:ee<9?A[8][15-ee-1+1]=oe:A[8][15-ee-1]=oe;A[J-8][8]=!V},se=function(V,W){for(var Y=-1,q=J-1,ee=7,oe=0,he=_.getMaskFunction(W),Se=J-1;Se>0;Se-=2)for(Se==6&&(Se-=1);;){for(var Me=0;Me<2;Me+=1)if(A[q][Se-Me]==null){var Le=!1;oe >>ee&1)==1),he(q,Se-Me)&&(Le=!Le),A[q][Se-Me]=Le,(ee-=1)==-1&&(oe+=1,ee=7)}if((q+=Y)<0||J<=q){q-=Y,Y=-Y;break}}},ge=function(V,W,Y){for(var q=T.getRSBlocks(V,W),ee=O(),oe=0;oe 8*Se)throw"code length overflow. ("+ee.getLengthInBits()+">"+8*Se+")";for(ee.getLengthInBits()+4<=8*Se&&ee.put(0,4);ee.getLengthInBits()%8!=0;)ee.putBit(!1);for(;!(ee.getLengthInBits()>=8*Se||(ee.put(236,8),ee.getLengthInBits()>=8*Se));)ee.put(17,8);return function(Me,Le){for(var fe=0,ke=0,we=0,He=new Array(Le.length),et=new Array(Le.length),_e=0;_e =0?Ze.getAt(De):0}}var Pe=0;for(Re=0;Re Le)&&(he=Le,Se=Me)}return Se}())},ie.createTableTag=function(V,W){V=V||2;var Y="";Y+=' ',Y+="";for(var q=0;q
"},ie.createSvgTag=function(V,W,Y,q){var ee={};typeof arguments[0]=="object"&&(V=(ee=arguments[0]).cellSize,W=ee.margin,Y=ee.alt,q=ee.title),V=V||2,W=W===void 0?4*V:W,(Y=typeof Y=="string"?{text:Y}:Y||{}).text=Y.text||null,Y.id=Y.text?Y.id||"qrcode-description":null,(q=typeof q=="string"?{text:q}:q||{}).text=q.text||null,q.id=q.text?q.id||"qrcode-title":null;var oe,he,Se,Me,Le=ie.getModuleCount()*V+2*W,fe="";for(Me="l"+V+",0 0,"+V+" -"+V+",0 0,-"+V+"z ",fe+='"},ie.createDataURL=function(V,W){V=V||2,W=W===void 0?4*V:W;var Y=ie.getModuleCount()*V+2*W,q=W,ee=Y-W;return U(Y,Y,function(oe,he){if(q<=oe&&oe";for(var ee=0;ee ")+"';Y+=""}return(Y+=" "};var ye=function(V){for(var W="",Y=0;Y ":W+=">";break;case"&":W+="&";break;case'"':W+=""";break;default:W+=q}}return W};return ie.createASCII=function(V,W){if((V=V||1)<2)return function(He){He=He===void 0?2:He;var et,_e,Oe,Ke,Re,mt=1*ie.getModuleCount()+2*He,Ze=He,De=mt-He,Pe={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},tt={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},$e="";for(et=0;et =De?tt[Re]:Pe[Re];$e+=` +`}return mt%2&&He>0?$e.substring(0,$e.length-mt-1)+Array(mt+1).join("\u2580"):$e.substring(0,$e.length-1)}(W);V-=1,W=W===void 0?2*V:W;var Y,q,ee,oe,he=ie.getModuleCount()*V+2*W,Se=W,Me=he-W,Le=Array(V+1).join("\u2588\u2588"),fe=Array(V+1).join(" "),ke="",we="";for(Y=0;Y >>8),J.push(255&ie)):J.push($)}}return J}};var C,S,w,E,b,g={L:1,M:0,Q:3,H:2},_=(C=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],S=1335,w=7973,b=function(H){for(var R=0;H!=0;)R+=1,H>>>=1;return R},(E={}).getBCHTypeInfo=function(H){for(var R=H<<10;b(R)-b(S)>=0;)R^=S<=0;)R^=w<5&&(z+=3+J-5)}for($=0;$ =256;)$-=255;return H[$]}}}();function k(H,R){if(H.length===void 0)throw H.length+"/"+R;var z=function(){for(var A=0;A >>7-$%8&1)==1},put:function($,A){for(var J=0;J>>A-J-1&1)==1)},getLengthInBits:function(){return R},putBit:function($){var A=Math.floor(R/8);H.length<=A&&H.push(0),$&&(H[A]|=128>>>R%8),R+=1}};return z},F=function(H){var R=H,z={getMode:function(){return 1},getLength:function(J){return R.length},write:function(J){for(var Q=R,G=0;G+2 >>8&255)+(255&G),A.put(G,13),Q+=2}if(Q >>8)},writeBytes:function(z,$,A){$=$||0,A=A||z.length;for(var J=0;J0&&(z+=","),z+=H[$];return z+"]"}};return R},L=function(H){var R=H,z=0,$=0,A=0,J={read:function(){for(;A<8;){if(z>=R.length){if(A==0)return-1;throw"unexpected end of file./"+A}var G=R.charAt(z);if(z+=1,G=="=")return A=0,-1;G.match(/^\s$/)||($=$<<6|Q(G.charCodeAt(0)),A+=6)}var ie=$>>>A-8&255;return A-=8,ie}},Q=function(G){if(65<=G&&G<=90)return G-65;if(97<=G&&G<=122)return G-97+26;if(48<=G&&G<=57)return G-48+52;if(G==43)return 62;if(G==47)return 63;throw"c:"+G};return J},U=function(H,R,z){for(var $=function(le,be){var ce=le,de=be,pe=new Array(le*be),se={setPixel:function(V,W,Y){pe[W*ce+V]=Y},write:function(V){V.writeString("GIF87a"),V.writeShort(ce),V.writeShort(de),V.writeByte(128),V.writeByte(0),V.writeByte(0),V.writeByte(0),V.writeByte(0),V.writeByte(0),V.writeByte(255),V.writeByte(255),V.writeByte(255),V.writeString(","),V.writeShort(0),V.writeShort(0),V.writeShort(ce),V.writeShort(de),V.writeByte(0);var W=ge(2);V.writeByte(2);for(var Y=0;W.length-Y>255;)V.writeByte(255),V.writeBytes(W,Y,255),Y+=255;V.writeByte(W.length-Y),V.writeBytes(W,Y,W.length-Y),V.writeByte(0),V.writeString(";")}},ge=function(V){for(var W=1< >>_e!=0)throw"length over";for(;Se+_e>=8;)he.writeByte(255&(et< >>=8-Se,Me=0,Se=0;Me|=et< 0&&he.writeByte(Me)}});fe.write(W,q);var ke=0,we=String.fromCharCode(pe[ke]);for(ke+=1;ke =6;)se(le>>>be-6),be-=6},pe.flush=function(){if(be>0&&(se(le<<6-be),le=0,be=0),ce%3!=0)for(var ye=3-ce%3,V=0;V >6,128|63&E):E<55296||E>=57344?S.push(224|E>>12,128|E>>6&63,128|63&E):(w++,E=65536+((1023&E)<<10|1023&C.charCodeAt(w)),S.push(240|E>>18,128|E>>12&63,128|E>>6&63,128|63&E))}return S}(y)},(h=typeof(u=function(){return m})=="function"?u.apply(c,[]):u)===void 0||(d.exports=h)}},o={};function i(d){var c=o[d];if(c!==void 0)return c.exports;var u=o[d]={exports:{}};return r[d](u,u.exports,i),u.exports}i.n=d=>{var c=d&&d.__esModule?()=>d.default:()=>d;return i.d(c,{a:c}),c},i.d=(d,c)=>{for(var u in c)i.o(c,u)&&!i.o(d,u)&&Object.defineProperty(d,u,{enumerable:!0,get:c[u]})},i.o=(d,c)=>Object.prototype.hasOwnProperty.call(d,c);var l={};return(()=>{i.d(l,{default:()=>R});const d=z=>!!z&&typeof z=="object"&&!Array.isArray(z);function c(z,...$){if(!$.length)return z;const A=$.shift();return A!==void 0&&d(z)&&d(A)?(z=Object.assign({},z),Object.keys(A).forEach(J=>{const Q=z[J],G=A[J];Array.isArray(Q)&&Array.isArray(G)?z[J]=G:d(Q)&&d(G)?z[J]=c(Object.assign({},Q),G):z[J]=G}),c(z,...$)):z}function u(z,$){const A=document.createElement("a");A.download=$,A.href=z,document.body.appendChild(A),A.click(),document.body.removeChild(A)}const h={L:.07,M:.15,Q:.25,H:.3};class m{constructor({svg:$,type:A,window:J}){this._svg=$,this._type=A,this._window=J}draw($,A,J,Q){let G;switch(this._type){case"dots":G=this._drawDot;break;case"classy":G=this._drawClassy;break;case"classy-rounded":G=this._drawClassyRounded;break;case"rounded":G=this._drawRounded;break;case"extra-rounded":G=this._drawExtraRounded;break;default:G=this._drawSquare}G.call(this,{x:$,y:A,size:J,getNeighbor:Q})}_rotateFigure({x:$,y:A,size:J,rotation:Q=0,draw:G}){var ie;const X=$+J/2,le=A+J/2;G(),(ie=this._element)===null||ie===void 0||ie.setAttribute("transform",`rotate(${180*Q/Math.PI},${X},${le})`)}_basicDot($){const{size:A,x:J,y:Q}=$;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(J+A/2)),this._element.setAttribute("cy",String(Q+A/2)),this._element.setAttribute("r",String(A/2))}}))}_basicSquare($){const{size:A,x:J,y:Q}=$;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(J)),this._element.setAttribute("y",String(Q)),this._element.setAttribute("width",String(A)),this._element.setAttribute("height",String(A))}}))}_basicSideRounded($){const{size:A,x:J,y:Q}=$;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${J} ${Q}v ${A}h `+A/2+`a ${A/2} ${A/2}, 0, 0, 0, 0 ${-A}`)}}))}_basicCornerRounded($){const{size:A,x:J,y:Q}=$;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${J} ${Q}v ${A}h ${A}v `+-A/2+`a ${A/2} ${A/2}, 0, 0, 0, ${-A/2} ${-A/2}`)}}))}_basicCornerExtraRounded($){const{size:A,x:J,y:Q}=$;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${J} ${Q}v ${A}h ${A}a ${A} ${A}, 0, 0, 0, ${-A} ${-A}`)}}))}_basicCornersRounded($){const{size:A,x:J,y:Q}=$;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${J} ${Q}v `+A/2+`a ${A/2} ${A/2}, 0, 0, 0, ${A/2} ${A/2}h `+A/2+"v "+-A/2+`a ${A/2} ${A/2}, 0, 0, 0, ${-A/2} ${-A/2}`)}}))}_drawDot({x:$,y:A,size:J}){this._basicDot({x:$,y:A,size:J,rotation:0})}_drawSquare({x:$,y:A,size:J}){this._basicSquare({x:$,y:A,size:J,rotation:0})}_drawRounded({x:$,y:A,size:J,getNeighbor:Q}){const G=Q?+Q(-1,0):0,ie=Q?+Q(1,0):0,X=Q?+Q(0,-1):0,le=Q?+Q(0,1):0,be=G+ie+X+le;if(be!==0)if(be>2||G&&ie||X&&le)this._basicSquare({x:$,y:A,size:J,rotation:0});else{if(be===2){let ce=0;return G&&X?ce=Math.PI/2:X&&ie?ce=Math.PI:ie&&le&&(ce=-Math.PI/2),void this._basicCornerRounded({x:$,y:A,size:J,rotation:ce})}if(be===1){let ce=0;return X?ce=Math.PI/2:ie?ce=Math.PI:le&&(ce=-Math.PI/2),void this._basicSideRounded({x:$,y:A,size:J,rotation:ce})}}else this._basicDot({x:$,y:A,size:J,rotation:0})}_drawExtraRounded({x:$,y:A,size:J,getNeighbor:Q}){const G=Q?+Q(-1,0):0,ie=Q?+Q(1,0):0,X=Q?+Q(0,-1):0,le=Q?+Q(0,1):0,be=G+ie+X+le;if(be!==0)if(be>2||G&&ie||X&&le)this._basicSquare({x:$,y:A,size:J,rotation:0});else{if(be===2){let ce=0;return G&&X?ce=Math.PI/2:X&&ie?ce=Math.PI:ie&&le&&(ce=-Math.PI/2),void this._basicCornerExtraRounded({x:$,y:A,size:J,rotation:ce})}if(be===1){let ce=0;return X?ce=Math.PI/2:ie?ce=Math.PI:le&&(ce=-Math.PI/2),void this._basicSideRounded({x:$,y:A,size:J,rotation:ce})}}else this._basicDot({x:$,y:A,size:J,rotation:0})}_drawClassy({x:$,y:A,size:J,getNeighbor:Q}){const G=Q?+Q(-1,0):0,ie=Q?+Q(1,0):0,X=Q?+Q(0,-1):0,le=Q?+Q(0,1):0;G+ie+X+le!==0?G||X?ie||le?this._basicSquare({x:$,y:A,size:J,rotation:0}):this._basicCornerRounded({x:$,y:A,size:J,rotation:Math.PI/2}):this._basicCornerRounded({x:$,y:A,size:J,rotation:-Math.PI/2}):this._basicCornersRounded({x:$,y:A,size:J,rotation:Math.PI/2})}_drawClassyRounded({x:$,y:A,size:J,getNeighbor:Q}){const G=Q?+Q(-1,0):0,ie=Q?+Q(1,0):0,X=Q?+Q(0,-1):0,le=Q?+Q(0,1):0;G+ie+X+le!==0?G||X?ie||le?this._basicSquare({x:$,y:A,size:J,rotation:0}):this._basicCornerExtraRounded({x:$,y:A,size:J,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:$,y:A,size:J,rotation:-Math.PI/2}):this._basicCornersRounded({x:$,y:A,size:J,rotation:Math.PI/2})}}const y={dot:"dot",square:"square",extraRounded:"extra-rounded"},C=Object.values(y);class S{constructor({svg:$,type:A,window:J}){this._svg=$,this._type=A,this._window=J}draw($,A,J,Q){let G;switch(this._type){case y.square:G=this._drawSquare;break;case y.extraRounded:G=this._drawExtraRounded;break;default:G=this._drawDot}G.call(this,{x:$,y:A,size:J,rotation:Q})}_rotateFigure({x:$,y:A,size:J,rotation:Q=0,draw:G}){var ie;const X=$+J/2,le=A+J/2;G(),(ie=this._element)===null||ie===void 0||ie.setAttribute("transform",`rotate(${180*Q/Math.PI},${X},${le})`)}_basicDot($){const{size:A,x:J,y:Q}=$,G=A/7;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${J+A/2} ${Q}a ${A/2} ${A/2} 0 1 0 0.1 0zm 0 ${G}a ${A/2-G} ${A/2-G} 0 1 1 -0.1 0Z`)}}))}_basicSquare($){const{size:A,x:J,y:Q}=$,G=A/7;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${J} ${Q}v ${A}h ${A}v `+-A+`zM ${J+G} ${Q+G}h `+(A-2*G)+"v "+(A-2*G)+"h "+(2*G-A)+"z")}}))}_basicExtraRounded($){const{size:A,x:J,y:Q}=$,G=A/7;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${J} ${Q+2.5*G}v `+2*G+`a ${2.5*G} ${2.5*G}, 0, 0, 0, ${2.5*G} ${2.5*G}h `+2*G+`a ${2.5*G} ${2.5*G}, 0, 0, 0, ${2.5*G} ${2.5*-G}v `+-2*G+`a ${2.5*G} ${2.5*G}, 0, 0, 0, ${2.5*-G} ${2.5*-G}h `+-2*G+`a ${2.5*G} ${2.5*G}, 0, 0, 0, ${2.5*-G} ${2.5*G}M ${J+2.5*G} ${Q+G}h `+2*G+`a ${1.5*G} ${1.5*G}, 0, 0, 1, ${1.5*G} ${1.5*G}v `+2*G+`a ${1.5*G} ${1.5*G}, 0, 0, 1, ${1.5*-G} ${1.5*G}h `+-2*G+`a ${1.5*G} ${1.5*G}, 0, 0, 1, ${1.5*-G} ${1.5*-G}v `+-2*G+`a ${1.5*G} ${1.5*G}, 0, 0, 1, ${1.5*G} ${1.5*-G}`)}}))}_drawDot({x:$,y:A,size:J,rotation:Q}){this._basicDot({x:$,y:A,size:J,rotation:Q})}_drawSquare({x:$,y:A,size:J,rotation:Q}){this._basicSquare({x:$,y:A,size:J,rotation:Q})}_drawExtraRounded({x:$,y:A,size:J,rotation:Q}){this._basicExtraRounded({x:$,y:A,size:J,rotation:Q})}}const w={dot:"dot",square:"square"},E=Object.values(w);class b{constructor({svg:$,type:A,window:J}){this._svg=$,this._type=A,this._window=J}draw($,A,J,Q){let G;G=this._type===w.square?this._drawSquare:this._drawDot,G.call(this,{x:$,y:A,size:J,rotation:Q})}_rotateFigure({x:$,y:A,size:J,rotation:Q=0,draw:G}){var ie;const X=$+J/2,le=A+J/2;G(),(ie=this._element)===null||ie===void 0||ie.setAttribute("transform",`rotate(${180*Q/Math.PI},${X},${le})`)}_basicDot($){const{size:A,x:J,y:Q}=$;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(J+A/2)),this._element.setAttribute("cy",String(Q+A/2)),this._element.setAttribute("r",String(A/2))}}))}_basicSquare($){const{size:A,x:J,y:Q}=$;this._rotateFigure(Object.assign(Object.assign({},$),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(J)),this._element.setAttribute("y",String(Q)),this._element.setAttribute("width",String(A)),this._element.setAttribute("height",String(A))}}))}_drawDot({x:$,y:A,size:J,rotation:Q}){this._basicDot({x:$,y:A,size:J,rotation:Q})}_drawSquare({x:$,y:A,size:J,rotation:Q}){this._basicSquare({x:$,y:A,size:J,rotation:Q})}}const g="circle",_=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],x=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];class k{constructor($,A){this._roundSize=J=>this._options.dotsOptions.roundSize?Math.floor(J):J,this._window=A,this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String($.width)),this._element.setAttribute("height",String($.height)),this._element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),$.dotsOptions.roundSize||this._element.setAttribute("shape-rendering","crispEdges"),this._element.setAttribute("viewBox",`0 0 ${$.width} ${$.height}`),this._defs=this._window.document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._imageUri=$.image,this._instanceId=k.instanceCount++,this._options=$}get width(){return this._options.width}get height(){return this._options.height}getElement(){return this._element}async drawQR($){const A=$.getModuleCount(),J=Math.min(this._options.width,this._options.height)-2*this._options.margin,Q=this._options.shape===g?J/Math.sqrt(2):J,G=this._roundSize(Q/A);let ie={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=$,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:X,qrOptions:le}=this._options,be=X.imageSize*h[le.errorCorrectionLevel],ce=Math.floor(be*A*A);ie=function({originalHeight:de,originalWidth:pe,maxHiddenDots:se,maxHiddenAxisDots:ge,dotSize:ye}){const V={x:0,y:0},W={x:0,y:0};if(de<=0||pe<=0||se<=0||ye<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};const Y=de/pe;return V.x=Math.floor(Math.sqrt(se/Y)),V.x<=0&&(V.x=1),ge&&ge se||ge&&ge {var be,ce,de,pe,se,ge;return!(this._options.imageOptions.hideBackgroundDots&&X>=(A-ie.hideYDots)/2&&X<(A+ie.hideYDots)/2&&le>=(A-ie.hideXDots)/2&&le<(A+ie.hideXDots)/2||((be=_[X])===null||be===void 0?void 0:be[le])||((ce=_[X-A+7])===null||ce===void 0?void 0:ce[le])||((de=_[X])===null||de===void 0?void 0:de[le-A+7])||((pe=x[X])===null||pe===void 0?void 0:pe[le])||((se=x[X-A+7])===null||se===void 0?void 0:se[le])||((ge=x[X])===null||ge===void 0?void 0:ge[le-A+7]))}),this.drawCorners(),this._options.image&&await this.drawImage({width:ie.width,height:ie.height,count:A,dotSize:G})}drawBackground(){var $,A,J;const Q=this._element,G=this._options;if(Q){const ie=($=G.backgroundOptions)===null||$===void 0?void 0:$.gradient,X=(A=G.backgroundOptions)===null||A===void 0?void 0:A.color;let le=G.height,be=G.width;if(ie||X){const ce=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id",`clip-path-background-color-${this._instanceId}`),this._defs.appendChild(this._backgroundClipPath),!((J=G.backgroundOptions)===null||J===void 0)&&J.round&&(le=be=Math.min(G.width,G.height),ce.setAttribute("rx",String(le/2*G.backgroundOptions.round))),ce.setAttribute("x",String(this._roundSize((G.width-be)/2))),ce.setAttribute("y",String(this._roundSize((G.height-le)/2))),ce.setAttribute("width",String(be)),ce.setAttribute("height",String(le)),this._backgroundClipPath.appendChild(ce),this._createColor({options:ie,color:X,additionalRotation:0,x:0,y:0,height:G.height,width:G.width,name:`background-color-${this._instanceId}`})}}}drawDots($){var A,J;if(!this._qr)throw"QR code is not defined";const Q=this._options,G=this._qr.getModuleCount();if(G>Q.width||G>Q.height)throw"The canvas is too small.";const ie=Math.min(Q.width,Q.height)-2*Q.margin,X=Q.shape===g?ie/Math.sqrt(2):ie,le=this._roundSize(X/G),be=this._roundSize((Q.width-G*le)/2),ce=this._roundSize((Q.height-G*le)/2),de=new m({svg:this._element,type:Q.dotsOptions.type,window:this._window});this._dotsClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id",`clip-path-dot-color-${this._instanceId}`),this._defs.appendChild(this._dotsClipPath),this._createColor({options:(A=Q.dotsOptions)===null||A===void 0?void 0:A.gradient,color:Q.dotsOptions.color,additionalRotation:0,x:0,y:0,height:Q.height,width:Q.width,name:`dot-color-${this._instanceId}`});for(let pe=0;pe !(se+ge<0||pe+ye<0||se+ge>=G||pe+ye>=G)&&!($&&!$(pe+ye,se+ge))&&!!this._qr&&this._qr.isDark(pe+ye,se+ge)),de._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(de._element));if(Q.shape===g){const pe=this._roundSize((ie/le-G)/2),se=G+2*pe,ge=be-pe*le,ye=ce-pe*le,V=[],W=this._roundSize(se/2);for(let Y=0;Y =pe-1&&Y<=se-pe&&q>=pe-1&&q<=se-pe||Math.sqrt((Y-W)*(Y-W)+(q-W)*(q-W))>W?V[Y][q]=0:V[Y][q]=this._qr.isDark(q-2*pe<0?q:q>=G?q-2*pe:q-pe,Y-2*pe<0?Y:Y>=G?Y-2*pe:Y-pe)?1:0}for(let Y=0;Y {var he;return!!(!((he=V[Y+oe])===null||he===void 0)&&he[q+ee])}),de._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(de._element))}}drawCorners(){if(!this._qr)throw"QR code is not defined";const $=this._element,A=this._options;if(!$)throw"Element code is not defined";const J=this._qr.getModuleCount(),Q=Math.min(A.width,A.height)-2*A.margin,G=A.shape===g?Q/Math.sqrt(2):Q,ie=this._roundSize(G/J),X=7*ie,le=3*ie,be=this._roundSize((A.width-J*ie)/2),ce=this._roundSize((A.height-J*ie)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(([de,pe,se])=>{var ge,ye,V,W,Y,q,ee,oe,he,Se,Me,Le,fe,ke;const we=be+de*ie*(J-7),He=ce+pe*ie*(J-7);let et=this._dotsClipPath,_e=this._dotsClipPath;if((((ge=A.cornersSquareOptions)===null||ge===void 0?void 0:ge.gradient)||((ye=A.cornersSquareOptions)===null||ye===void 0?void 0:ye.color))&&(et=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),et.setAttribute("id",`clip-path-corners-square-color-${de}-${pe}-${this._instanceId}`),this._defs.appendChild(et),this._cornersSquareClipPath=this._cornersDotClipPath=_e=et,this._createColor({options:(V=A.cornersSquareOptions)===null||V===void 0?void 0:V.gradient,color:(W=A.cornersSquareOptions)===null||W===void 0?void 0:W.color,additionalRotation:se,x:we,y:He,height:X,width:X,name:`corners-square-color-${de}-${pe}-${this._instanceId}`})),((Y=A.cornersSquareOptions)===null||Y===void 0?void 0:Y.type)&&C.includes(A.cornersSquareOptions.type)){const Oe=new S({svg:this._element,type:A.cornersSquareOptions.type,window:this._window});Oe.draw(we,He,X,se),Oe._element&&et&&et.appendChild(Oe._element)}else{const Oe=new m({svg:this._element,type:((q=A.cornersSquareOptions)===null||q===void 0?void 0:q.type)||A.dotsOptions.type,window:this._window});for(let Ke=0;Ke<_.length;Ke++)for(let Re=0;Re<_[Ke].length;Re++)!((ee=_[Ke])===null||ee===void 0)&&ee[Re]&&(Oe.draw(we+Re*ie,He+Ke*ie,ie,(mt,Ze)=>{var De;return!!(!((De=_[Ke+Ze])===null||De===void 0)&&De[Re+mt])}),Oe._element&&et&&et.appendChild(Oe._element))}if((((oe=A.cornersDotOptions)===null||oe===void 0?void 0:oe.gradient)||((he=A.cornersDotOptions)===null||he===void 0?void 0:he.color))&&(_e=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),_e.setAttribute("id",`clip-path-corners-dot-color-${de}-${pe}-${this._instanceId}`),this._defs.appendChild(_e),this._cornersDotClipPath=_e,this._createColor({options:(Se=A.cornersDotOptions)===null||Se===void 0?void 0:Se.gradient,color:(Me=A.cornersDotOptions)===null||Me===void 0?void 0:Me.color,additionalRotation:se,x:we+2*ie,y:He+2*ie,height:le,width:le,name:`corners-dot-color-${de}-${pe}-${this._instanceId}`})),((Le=A.cornersDotOptions)===null||Le===void 0?void 0:Le.type)&&E.includes(A.cornersDotOptions.type)){const Oe=new b({svg:this._element,type:A.cornersDotOptions.type,window:this._window});Oe.draw(we+2*ie,He+2*ie,le,se),Oe._element&&_e&&_e.appendChild(Oe._element)}else{const Oe=new m({svg:this._element,type:((fe=A.cornersDotOptions)===null||fe===void 0?void 0:fe.type)||A.dotsOptions.type,window:this._window});for(let Ke=0;Ke {var De;return!!(!((De=x[Ke+Ze])===null||De===void 0)&&De[Re+mt])}),Oe._element&&_e&&_e.appendChild(Oe._element))}})}loadImage(){return new Promise(($,A)=>{var J;const Q=this._options;if(!Q.image)return A("Image is not defined");if(!((J=Q.nodeCanvas)===null||J===void 0)&&J.loadImage)Q.nodeCanvas.loadImage(Q.image).then(G=>{var ie,X;if(this._image=G,this._options.imageOptions.saveAsBlob){const le=(ie=Q.nodeCanvas)===null||ie===void 0?void 0:ie.createCanvas(this._image.width,this._image.height);(X=le==null?void 0:le.getContext("2d"))===null||X===void 0||X.drawImage(G,0,0),this._imageUri=le==null?void 0:le.toDataURL()}$()}).catch(A);else{const G=new this._window.Image;typeof Q.imageOptions.crossOrigin=="string"&&(G.crossOrigin=Q.imageOptions.crossOrigin),this._image=G,G.onload=async()=>{this._options.imageOptions.saveAsBlob&&(this._imageUri=await async function(ie,X){return new Promise(le=>{const be=new X.XMLHttpRequest;be.onload=function(){const ce=new X.FileReader;ce.onloadend=function(){le(ce.result)},ce.readAsDataURL(be.response)},be.open("GET",ie),be.responseType="blob",be.send()})}(Q.image||"",this._window)),$()},G.src=Q.image}})}async drawImage({width:$,height:A,count:J,dotSize:Q}){const G=this._options,ie=this._roundSize((G.width-J*Q)/2),X=this._roundSize((G.height-J*Q)/2),le=ie+this._roundSize(G.imageOptions.margin+(J*Q-$)/2),be=X+this._roundSize(G.imageOptions.margin+(J*Q-A)/2),ce=$-2*G.imageOptions.margin,de=A-2*G.imageOptions.margin,pe=this._window.document.createElementNS("http://www.w3.org/2000/svg","image");pe.setAttribute("href",this._imageUri||""),pe.setAttribute("xlink:href",this._imageUri||""),pe.setAttribute("x",String(le)),pe.setAttribute("y",String(be)),pe.setAttribute("width",`${ce}px`),pe.setAttribute("height",`${de}px`),this._element.appendChild(pe)}_createColor({options:$,color:A,additionalRotation:J,x:Q,y:G,height:ie,width:X,name:le}){const be=X>ie?X:ie,ce=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");if(ce.setAttribute("x",String(Q)),ce.setAttribute("y",String(G)),ce.setAttribute("height",String(ie)),ce.setAttribute("width",String(X)),ce.setAttribute("clip-path",`url('#clip-path-${le}')`),$){let de;if($.type==="radial")de=this._window.document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),de.setAttribute("id",le),de.setAttribute("gradientUnits","userSpaceOnUse"),de.setAttribute("fx",String(Q+X/2)),de.setAttribute("fy",String(G+ie/2)),de.setAttribute("cx",String(Q+X/2)),de.setAttribute("cy",String(G+ie/2)),de.setAttribute("r",String(be/2));else{const pe=(($.rotation||0)+J)%(2*Math.PI),se=(pe+2*Math.PI)%(2*Math.PI);let ge=Q+X/2,ye=G+ie/2,V=Q+X/2,W=G+ie/2;se>=0&&se<=.25*Math.PI||se>1.75*Math.PI&&se<=2*Math.PI?(ge-=X/2,ye-=ie/2*Math.tan(pe),V+=X/2,W+=ie/2*Math.tan(pe)):se>.25*Math.PI&&se<=.75*Math.PI?(ye-=ie/2,ge-=X/2/Math.tan(pe),W+=ie/2,V+=X/2/Math.tan(pe)):se>.75*Math.PI&&se<=1.25*Math.PI?(ge+=X/2,ye+=ie/2*Math.tan(pe),V-=X/2,W-=ie/2*Math.tan(pe)):se>1.25*Math.PI&&se<=1.75*Math.PI&&(ye+=ie/2,ge+=X/2/Math.tan(pe),W-=ie/2,V-=X/2/Math.tan(pe)),de=this._window.document.createElementNS("http://www.w3.org/2000/svg","linearGradient"),de.setAttribute("id",le),de.setAttribute("gradientUnits","userSpaceOnUse"),de.setAttribute("x1",String(Math.round(ge))),de.setAttribute("y1",String(Math.round(ye))),de.setAttribute("x2",String(Math.round(V))),de.setAttribute("y2",String(Math.round(W)))}$.colorStops.forEach(({offset:pe,color:se})=>{const ge=this._window.document.createElementNS("http://www.w3.org/2000/svg","stop");ge.setAttribute("offset",100*pe+"%"),ge.setAttribute("stop-color",se),de.appendChild(ge)}),ce.setAttribute("fill",`url('#${le}')`),this._defs.appendChild(de)}else A&&ce.setAttribute("fill",A);this._element.appendChild(ce)}}k.instanceCount=0;const T=k,O="canvas",F={};for(let z=0;z<=40;z++)F[z]=z;const I={type:O,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:F[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{saveAsBlob:!0,hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000",roundSize:!0},backgroundOptions:{round:0,color:"#fff"}};function M(z){const $=Object.assign({},z);if(!$.colorStops||!$.colorStops.length)throw"Field 'colorStops' is required in gradient";return $.rotation?$.rotation=Number($.rotation):$.rotation=0,$.colorStops=$.colorStops.map(A=>Object.assign(Object.assign({},A),{offset:Number(A.offset)})),$}function N(z){const $=Object.assign({},z);return $.width=Number($.width),$.height=Number($.height),$.margin=Number($.margin),$.imageOptions=Object.assign(Object.assign({},$.imageOptions),{hideBackgroundDots:Boolean($.imageOptions.hideBackgroundDots),imageSize:Number($.imageOptions.imageSize),margin:Number($.imageOptions.margin)}),$.margin>Math.min($.width,$.height)&&($.margin=Math.min($.width,$.height)),$.dotsOptions=Object.assign({},$.dotsOptions),$.dotsOptions.gradient&&($.dotsOptions.gradient=M($.dotsOptions.gradient)),$.cornersSquareOptions&&($.cornersSquareOptions=Object.assign({},$.cornersSquareOptions),$.cornersSquareOptions.gradient&&($.cornersSquareOptions.gradient=M($.cornersSquareOptions.gradient))),$.cornersDotOptions&&($.cornersDotOptions=Object.assign({},$.cornersDotOptions),$.cornersDotOptions.gradient&&($.cornersDotOptions.gradient=M($.cornersDotOptions.gradient))),$.backgroundOptions&&($.backgroundOptions=Object.assign({},$.backgroundOptions),$.backgroundOptions.gradient&&($.backgroundOptions.gradient=M($.backgroundOptions.gradient))),$}var B=i(873),L=i.n(B);function U(z){if(!z)throw new Error("Extension must be defined");z[0]==="."&&(z=z.substring(1));const $={bmp:"image/bmp",gif:"image/gif",ico:"image/vnd.microsoft.icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp",pdf:"application/pdf"}[z.toLowerCase()];if(!$)throw new Error(`Extension "${z}" is not supported`);return $}class H{constructor($){$!=null&&$.jsdom?this._window=new $.jsdom("",{resources:"usable"}).window:this._window=window,this._options=$?N(c(I,$)):I,this.update()}static _clearContainer($){$&&($.innerHTML="")}_setupSvg(){if(!this._qr)return;const $=new T(this._options,this._window);this._svg=$.getElement(),this._svgDrawingPromise=$.drawQR(this._qr).then(()=>{var A;this._svg&&((A=this._extension)===null||A===void 0||A.call(this,$.getElement(),this._options))})}_setupCanvas(){var $,A;this._qr&&(!(($=this._options.nodeCanvas)===null||$===void 0)&&$.createCanvas?(this._nodeCanvas=this._options.nodeCanvas.createCanvas(this._options.width,this._options.height),this._nodeCanvas.width=this._options.width,this._nodeCanvas.height=this._options.height):(this._domCanvas=document.createElement("canvas"),this._domCanvas.width=this._options.width,this._domCanvas.height=this._options.height),this._setupSvg(),this._canvasDrawingPromise=(A=this._svgDrawingPromise)===null||A===void 0?void 0:A.then(()=>{var J;if(!this._svg)return;const Q=this._svg,G=new this._window.XMLSerializer().serializeToString(Q),ie=btoa(G),X=`data:${U("svg")};base64,${ie}`;if(!((J=this._options.nodeCanvas)===null||J===void 0)&&J.loadImage)return this._options.nodeCanvas.loadImage(X).then(le=>{var be,ce;le.width=this._options.width,le.height=this._options.height,(ce=(be=this._nodeCanvas)===null||be===void 0?void 0:be.getContext("2d"))===null||ce===void 0||ce.drawImage(le,0,0)});{const le=new this._window.Image;return new Promise(be=>{le.onload=()=>{var ce,de;(de=(ce=this._domCanvas)===null||ce===void 0?void 0:ce.getContext("2d"))===null||de===void 0||de.drawImage(le,0,0),be()},le.src=X})}}))}async _getElement($="png"){if(!this._qr)throw"QR code is empty";return $.toLowerCase()==="svg"?(this._svg&&this._svgDrawingPromise||this._setupSvg(),await this._svgDrawingPromise,this._svg):((this._domCanvas||this._nodeCanvas)&&this._canvasDrawingPromise||this._setupCanvas(),await this._canvasDrawingPromise,this._domCanvas||this._nodeCanvas)}update($){H._clearContainer(this._container),this._options=$?N(c(this._options,$)):this._options,this._options.data&&(this._qr=L()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(A){switch(!0){case/^[0-9]*$/.test(A):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(A):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._options.type===O?this._setupCanvas():this._setupSvg(),this.append(this._container))}append($){if($){if(typeof $.appendChild!="function")throw"Container should be a single DOM node";this._options.type===O?this._domCanvas&&$.appendChild(this._domCanvas):this._svg&&$.appendChild(this._svg),this._container=$}}applyExtension($){if(!$)throw"Extension function should be defined.";this._extension=$,this.update()}deleteExtension(){this._extension=void 0,this.update()}async getRawData($="png"){if(!this._qr)throw"QR code is empty";const A=await this._getElement($),J=U($);if(!A)return null;if($.toLowerCase()==="svg"){const Q=`\r +${new this._window.XMLSerializer().serializeToString(A)}`;return typeof Blob>"u"||this._options.jsdom?Buffer.from(Q):new Blob([Q],{type:J})}return new Promise(Q=>{const G=A;if("toBuffer"in G)if(J==="image/png")Q(G.toBuffer(J));else if(J==="image/jpeg")Q(G.toBuffer(J));else{if(J!=="application/pdf")throw Error("Unsupported extension");Q(G.toBuffer(J))}else"toBlob"in G&&G.toBlob(Q,J,1)})}async download($){if(!this._qr)throw"QR code is empty";if(typeof Blob>"u")throw"Cannot download in Node.js, call getRawData instead.";let A="png",J="qr";typeof $=="string"?(A=$,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof $=="object"&&$!==null&&($.name&&(J=$.name),$.extension&&(A=$.extension));const Q=await this._getElement(A);if(Q)if(A.toLowerCase()==="svg"){let G=new XMLSerializer().serializeToString(Q);G=`\r +`+G,u(`data:${U(A)};charset=utf-8,${encodeURIComponent(G)}`,`${J}.svg`)}else u(Q.toDataURL(U(A)),`${J}.${A}`)}}const R=H})(),l.default})())})(og);const $T=A_(og.exports),IT=n.defineComponent({name:"QrCodeBox",data(){return{qrcode:null}},props:{data:String,image:String,width:Number,height:Number,circleType:String,circleColor:String},methods:{},computed:{},components:{},watch:{$props:{handler(){const e={dotsOptions:{}};Object.keys(this.$props).forEach(t=>{this.$props[t]!=null&&this.$props[t]!==""&&(e[t]=this.$props[t])}),delete e.formCreateInject,e.circleType&&(e.dotsOptions.type=e.circleType),e.circleColor&&(e.dotsOptions.color=e.circleColor),delete e.circleColor,delete e.circleType,this.$nextTick(()=>{this.qrcode?this.qrcode.update(e):(this.qrcode=n.markRaw(new $T(e)),this.qrcode.append(this.$refs.qr))})},deep:!0,immediate:!0}}}),FT={class:"_fc-qrcode",ref:"qr"};function PT(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",FT,null,512)}const ag=Te(IT,[["render",PT]]),aj="",lj="",lg={date:"YYYY-MM-DD",month:"YYYY-MM",datetime:"YYYY-MM-DD HH:mm:ss",timerange:"HH:mm:ss",daterange:"YYYY-MM-DD",monthrange:"YYYY-MM",datetimerange:"YYYY-MM-DD HH:mm:ss",year:"YYYY"};function MT(e){return e/20+"em"}function LT(e){var t;!((t=e.wrap)!=null&&t.class)||(e.wrap.class==="fc-wrap-top"?(e.wrap.labelAlign="top",delete e.wrap.class):e.wrap.class==="fc-wrap-left"?(e.wrap.labelAlign="left",delete e.wrap.class):e.wrap.class==="fc-wrap-right"&&(e.wrap.labelAlign="right",delete e.wrap.class))}const sg=function(e,t,r,o){const i=o||{};return t.forEach(l=>{e.indexOf(l[r||"id"])>-1&&e.splice(e.indexOf(l[r||"id"]),1,l[i.label||"label"]||l.text),dt.trueArray(l[i.children||"children"])&&sg(e,l[i.children||"children"],r,o)}),e},jT=function(e,t){return t.forEach(r=>{e.indexOf(r.value)>-1&&(e[e.indexOf(r.value)]=r.label||r.text)}),e};function ku(e){if(e){if(!Array.isArray(e))return[e]}else return[];return e}function dg(e){Object.keys(jt).forEach(t=>{e.setFormula(t,jt[t])}),Ac(e),e.register("behavior",Th),e.register("easySlots",Uo),e.extendApi(t=>({message(r){Sb.showNotify({type:"warning",...r||{}})}})),e.setDriver("elm",{defaultPreview(t,r){let o=t.rule.value;const i=t.$render.vNode.h,l=t.type,d=t.$handle.subForm[t.id],c=t.prop.readMode;if(c===!1||c==="custom"||!t.input||t.rule.subForm||(Array.isArray(d)?d.length:d)||["fcGroup","fcSubForm","tableForm","stepForm","nestedTableForm","infiniteTableForm","upload","fcDialog","fcDrawer","fcPopup"].indexOf(t.trueType)>-1)return t.parser.render(r,t);if(["radio","select","checkbox"].indexOf(l)>-1)o=jT([...ku(o)],t.prop.props.options||t.prop.props.formCreateInject.options||[]).join(", ");else if(["timePicker","datePicker","slider"].indexOf(l)>-1)o=Array.isArray(o)?o.join(" - "):o;else if(l==="cascader")o=[...ku(o)],Array.isArray(o[0])||(o=[o]),o=o.map(u=>sg(u,t.prop.props.options||t.prop.props.formCreateInject.options||[],"value").join("/")).join(", ");else{if(l==="fcEditor"||c==="html")return i("div",{innerHTML:o});if(l==="uploader"||c==="image")return o=ku(o),i("div",{class:"_fc-upload"},o.map(function(u){return i("div",{class:"_fc-upload-preview"},[i("van-image",{src:u,fit:"cover"})])}));if(l==="signaturePad"&&o)return i("van-image",{src:o,fit:"cover",style:{height:"90px"}});(typeof o=="boolean"||l==="switch")&&(o=o?"\u662F":"\u5426")}return i("span",{class:"_fc-read-view"},[""+(o==null?"":o)])},updateWrap(t){var o,i;let r=(i=(o=t.prop)==null?void 0:o.wrap)==null?void 0:i.style;t.prop.col&&t.prop.col.span&&(t.prop.col.span=24),r&&(r=Array.isArray(r)?r:[r],r.forEach(l=>{delete l.marginBottom})),LT(t.prop)},updateOptions(t){var r,o,i;((r=t.form)==null?void 0:r.labelWidth)&&t.form.labelWidth.indexOf("px")>-1&&(t.form.labelWidth=MT(parseInt(t.form.labelWidth))),(o=t.form)!=null&&o.labelPosition&&(t.form.labelAlign=t.form.labelPosition,delete t.form.labelPosition),(i=t.form)!=null&&i.hideRequiredAsterisk&&(t.form.colon=t.form.hideRequiredAsterisk,delete t.form.hideRequiredAsterisk)},parsers:{inputNumber:{mergeProp(t){t.prop.component="vanStepper";const r=t.prop.props;r.decimalLength=r.precision,r.integer=r.precision===0,delete r.precision}},radio:{mergeProp(t){t.prop.options&&(t.prop.props.options=t.prop.options)}},checkbox:{mergeProp(t){t.prop.options&&(t.prop.props.options=t.prop.options)}},select:{mergeProp(t){t.prop.props.multiple===!0?t.prop.component=I_:(t.prop.options&&(t.prop.props.options=t.prop.options),t.prop.props.options=(t.prop.props.options||[]).map(r=>({text:r.label,value:r.value})))}},rate:{mergeProp(t){t.prop.props.count=t.prop.props.max,delete t.prop.props.max}},timePicker:{mergeProp(t){t.prop.component="elTimePicker";const r=t.prop.props;r.valueFormat||(r.valueFormat="HH:mm:ss")}},datePicker:{mergeProp(t){t.prop.component="elDatePicker";const r=t.prop.props;r.valueFormat||(r.valueFormat=lg[r.type]||lg.date)}},colorPicker:{mergeProp(t){t.prop.component="elColorPicker"}},cascader:{mergeProp(t){t.prop.component="elCascader"}},elDivider:{mergeProp(t){t.prop.component="vanDivider"}},upload:{mergeProp(t){t.prop.component=J_}},tree:{mergeProp(t){t.prop.component=M_}},row:{mergeProp(t){t.prop.component="vanRow"}},col:{mergeProp(t){t.prop.component="vanCol",t.prop.props.xs&&(t.prop.props={...t.prop.props,...t.prop.props.xs})}},fcDialog:{mergeProp(t){t.prop.component="FcPopup"}},fcDrawer:{mergeProp(t){t.prop.component="FcPopup"}}}})}dg(St.default),St.default.component("FcSlot",Hh),St.default.component("FcJson",Wh),St.default.component("StepForm",eE),St.default.component("FcPopup",aE),St.default.component("FcTable",Fh),St.default.component("FcCell",zh),St.default.component("FcInlineForm",kc),St.default.component("TableForm",Ph),St.default.component("TableFormPro",Mh),St.default.component("NestedTableForm",jh),St.default.component("InfiniteTableForm",Lh),St.default.component("DataTable",xc),St.default.component("FcValue",Uh),St.default.component("FcCity",kE),St.default.component("AudioBox",gm),St.default.component("VideoBox",rg),St.default.component("BarCodeBox",ig),St.default.component("IframeBox",vm),St.default.component("QrCodeBox",ag),St.default.component("SignaturePad",zE),St.default.component("FcEcharts",Gh),St.default.component("FcTitle",Qh),St.default.component("FcDataSelect",mm),St.default.component("FcMarkdown",pm),St.default.component("FcId",Yh),St.default.loadjs=nn;const sj="",zT=n.defineComponent({name:"StepFormView",props:{stepsProps:Object,formCreateInject:Object},provide(){return{stepForm:this}},inject:["designer"],data(){return{active:void 0,activeId:void 0,stepItemRef:[],activeRef:void 0}},watch:{"stepItemRef.length"(){(!this.active||this.formCreateInject.children.indexOf(this.activeRef)===-1)&&(this.active=this.formCreateInject.children.length>0?0:-1)},active(e){this.activeRef=this.formCreateInject.children[e],this.activeId=this.activeRef?this.activeRef._fc_id:null}},methods:{onPrev(){this.active--,this.triggerActive()},onNext(){this.active++,this.triggerActive()},change(e){this.active=e,this.triggerActive()},triggerActive(){this.$nextTick(()=>{this.designer.setupState.triggerActive(this.activeRef)})}},created(){this.$watch(()=>[...this.formCreateInject.children],()=>{this.activeRef&&(this.active=this.formCreateInject.children.indexOf(this.activeRef))})}}),UT={class:"_fd-step-form"};function HT(e,t,r,o,i,l){const d=n.resolveComponent("van-step"),c=n.resolveComponent("van-steps"),u=n.resolveComponent("van-button"),h=n.resolveComponent("van-col"),m=n.resolveComponent("van-row");return n.openBlock(),n.createElementBlock("div",UT,[n.createVNode(c,n.mergeProps({active:e.active},e.stepsProps),{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.stepItemRef,(y,C)=>(n.openBlock(),n.createBlock(d,{key:y.id,onClick:n.withModifiers(S=>e.change(C),["stop"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(y.title),1)]),_:2},1032,["onClick"]))),128))]),_:1},16,["active"]),n.renderSlot(e.$slots,"default"),n.createVNode(m,null,{default:n.withCtx(()=>[n.createVNode(h,{span:24,style:{display:"flex","justify-content":"flex-end",padding:"15px"}},{default:n.withCtx(()=>[e.active>0?(n.openBlock(),n.createBlock(u,{key:0,block:"",size:"small",onClick:n.withModifiers(e.onPrev,["stop"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.formCreateInject.t("prevStep")||"\u4E0A\u4E00\u6B65"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0),e.active [n.createTextVNode(n.toDisplayString(e.formCreateInject.t("nextStep")||"\u4E0B\u4E00\u6B65"),1)]),_:1},8,["onClick"])):n.createCommentVNode("",!0)]),_:1})]),_:1})])}const cg=Te(zT,[["render",HT]]),dj="",WT=n.defineComponent({name:"StepFormItemView",props:{title:String,description:String,formCreateInject:Object},inject:["stepForm"],data(){return{}},created(){const e=this.stepForm.formCreateInject.children.indexOf(this.formCreateInject.rule);this.stepForm.stepItemRef.splice(e,0,this)},unmounted(){this.stepForm.stepItemRef.splice(this.stepForm.stepItemRef.indexOf(this),1)},methods:{}}),GT={class:"_fd-step-form-item"};function KT(e,t,r,o,i,l){return n.openBlock(),n.createElementBlock("div",GT,[n.withDirectives(n.createElementVNode("div",null,[n.renderSlot(e.$slots,"default")],512),[[n.vShow,e.stepForm.activeId===e.formCreateInject.rule._fc_id]])])}const ug=Te(WT,[["render",KT]]),cj="",YT=n.defineComponent({name:"FcPopup",inject:["designer"],inheritAttrs:!1,props:{title:String,footer:{type:Boolean,default:!0}},computed:{dragConHeight(){return this.designer.setupState.dragConHeight},t(){return this.designer.setupState.t}}}),QT={class:"_fd-popup-title"},JT={class:"_fd-popup-content"},XT={class:"_fd-popup-footer"};function ZT(e,t,r,o,i,l){const d=n.resolveComponent("van-button");return n.openBlock(),n.createElementBlock("div",{class:"van-popup van-popup--bottom _fd-popup",style:n.normalizeStyle(`--fc-dialog-height:${e.dragConHeight-23}px;`)},[t[0]||(t[0]=n.createElementVNode("i",{class:"van-badge__wrapper van-icon van-icon-cross van-popup__close-icon van-popup__close-icon--top-right van-haptics-feedback"},null,-1)),n.createElementVNode("div",QT,n.toDisplayString(e.title),1),n.createElementVNode("div",JT,[n.renderSlot(e.$slots,"default")]),n.createElementVNode("div",XT,[e.footer!==!1?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createVNode(d,{block:"",size:"small",type:"primary",class:"fc-clock"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.t("props.ok")),1)]),_:1}),n.createVNode(d,{block:"",size:"small",class:"fc-clock",style:{"margin-top":"10px"}},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.t("props.close")),1)]),_:1})],64)):n.createCommentVNode("",!0)])],4)}const Nu=Te(YT,[["render",ZT]]),qT=St.default,Zr=St.default.factory();dg(Zr),Zr.setDriver("elm",{parsers:{stepForm:{mergeProp(e){e.prop.component=cg}},stepFormItem:{mergeProp(e){e.prop.component=ug}},fcDialog:{mergeProp(e){e.prop.component=Nu}},fcDrawer:{mergeProp(e){e.prop.component=Nu}}}}),Zr.component("MStepForm",cg),Zr.component("MStepFormItemView",ug),Zr.component("PopupView",Nu);let fg=null,Wl=n.ref(null);function Gl(...e){return fg(...e)}const pg=e=>{Wl.value=e||vp;const t=ld(Wl);return fg=t.t,t};pg();const uj="",fj="";var mr={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(Cc,function(){var r=navigator.userAgent,o=navigator.platform,i=/gecko\/\d/i.test(r),l=/MSIE \d/.test(r),d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(r),c=/Edge\/(\d+)/.exec(r),u=l||d||c,h=u&&(l?document.documentMode||6:+(c||d)[1]),m=!c&&/WebKit\//.test(r),y=m&&/Qt\/\d+\.\d+/.test(r),C=!c&&/Chrome\/(\d+)/.exec(r),S=C&&+C[1],w=/Opera\//.test(r),E=/Apple Computer/.test(navigator.vendor),b=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(r),g=/PhantomJS/.test(r),_=E&&(/Mobile\/\w+/.test(r)||navigator.maxTouchPoints>2),x=/Android/.test(r),k=_||x||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(r),T=_||/Mac/.test(o),O=/\bCrOS\b/.test(r),F=/win/i.test(o),I=w&&r.match(/Version\/(\d*\.\d*)/);I&&(I=Number(I[1])),I&&I>=15&&(w=!1,m=!0);var M=T&&(y||w&&(I==null||I<12.11)),N=i||u&&h>=9;function B(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var L=function(a,s){var p=a.className,f=B(s).exec(p);if(f){var v=p.slice(f.index+f[0].length);a.className=p.slice(0,f.index)+(v?f[1]+v:"")}};function U(a){for(var s=a.childNodes.length;s>0;--s)a.removeChild(a.firstChild);return a}function H(a,s){return U(a).appendChild(s)}function R(a,s,p,f){var v=document.createElement(a);if(p&&(v.className=p),f&&(v.style.cssText=f),typeof s=="string")v.appendChild(document.createTextNode(s));else if(s)for(var D=0;D =s)return P+(s-D);P+=j-D,P+=p-P%p,D=j+1}}var pe=function(){this.id=null,this.f=null,this.time=0,this.handler=be(this.onTimeout,this)};pe.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},pe.prototype.set=function(a,s){this.f=s;var p=+new Date+a;(!this.id||p =s)return f+Math.min(P,s-v);if(v+=D-f,v+=p-v%p,f=D+1,v>=s)return f}}var ee=[""];function oe(a){for(;ee.length<=a;)ee.push(he(ee)+" ");return ee[a]}function he(a){return a[a.length-1]}function Se(a,s){for(var p=[],f=0;f "\x80"&&(a.toUpperCase()!=a.toLowerCase()||ke.test(a))}function He(a,s){return s?s.source.indexOf("\\w")>-1&&we(a)?!0:s.test(a):we(a)}function et(a){for(var s in a)if(a.hasOwnProperty(s)&&a[s])return!1;return!0}var _e=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Oe(a){return a.charCodeAt(0)>=768&&_e.test(a)}function Ke(a,s,p){for(;(p<0?s>0:s p?-1:1;;){if(s==p)return s;var v=(s+p)/2,D=f<0?Math.ceil(v):Math.floor(v);if(D==s)return a(D)?s:p;a(D)?p=D:s=D+f}}function mt(a,s,p,f){if(!a)return f(s,p,"ltr",0);for(var v=!1,D=0;D s||s==p&&P.to==s)&&(f(Math.max(P.from,s),Math.min(P.to,p),P.level==1?"rtl":"ltr",D),v=!0)}v||f(s,p,"ltr")}var Ze=null;function De(a,s,p){var f;Ze=null;for(var v=0;v s)return v;D.to==s&&(D.from!=D.to&&p=="before"?f=v:Ze=v),D.from==s&&(D.from!=D.to&&p!="before"?f=v:Ze=v)}return f!=null?f:Ze}var Pe=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",s="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function p(Z){return Z<=247?a.charAt(Z):1424<=Z&&Z<=1524?"R":1536<=Z&&Z<=1785?s.charAt(Z-1536):1774<=Z&&Z<=2220?"r":8192<=Z&&Z<=8203?"w":Z==8204?"b":"L"}var f=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,v=/[stwN]/,D=/[LRr]/,P=/[Lb1n]/,j=/[1n]/;function K(Z,ne,re){this.level=Z,this.from=ne,this.to=re}return function(Z,ne){var re=ne=="ltr"?"L":"R";if(Z.length==0||ne=="ltr"&&!f.test(Z))return!1;for(var ve=Z.length,me=[],Ae=0;Ae -1&&(f[s]=v.slice(0,D).concat(v.slice(D+1)))}}}function Qe(a,s){var p=Xe(a,s);if(!!p.length)for(var f=Array.prototype.slice.call(arguments,2),v=0;v 0}function Tt(a){a.prototype.on=function(s,p){Ce(this,s,p)},a.prototype.off=function(s,p){Ye(this,s,p)}}function bt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Gn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Gi(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function ei(a){bt(a),Gn(a)}function vn(a){return a.target||a.srcElement}function pa(a){var s=a.which;return s==null&&(a.button&1?s=1:a.button&2?s=3:a.button&4&&(s=2)),T&&a.ctrlKey&&s==1&&(s=3),s}var wf=function(){if(u&&h<9)return!1;var a=R("div");return"draggable"in a||"dragDrop"in a}(),Kn;function Cf(a){if(Kn==null){var s=R("span","\u200B");H(a,R("span",[s,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Kn=s.offsetWidth<=1&&s.offsetHeight>2&&!(u&&h<8))}var p=Kn?R("span","\u200B"):R("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return p.setAttribute("cm-text",""),p}var so;function Cs(a){if(so!=null)return so;var s=H(a,document.createTextNode("A\u062EA")),p=$(s,0,1).getBoundingClientRect(),f=$(s,1,2).getBoundingClientRect();return U(a),!p||p.left==p.right?!1:so=f.right-p.right<3}var ha=` b`.split(/\n/).length!=3?function(a){for(var s=0,p=[],f=a.length;s<=f;){var v=a.indexOf(` -`,s);v==-1&&(v=a.length);var D=a.slice(s,a.charAt(v-1)=="\r"?v-1:v),P=D.indexOf("\r");P!=-1?(p.push(D.slice(0,P)),s+=P+1):(p.push(D),s=v+1)}return p}:function(a){return a.split(/\r\n?|\n/)},Ki=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch{return!1}}:function(a){var s;try{s=a.ownerDocument.selection.createRange()}catch{}return!s||s.parentElement()!=a?!1:s.compareEndPoints("StartToEnd",s)!=0},gi=function(){var a=O("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),vi=null;function _s(a){if(vi!=null)return vi;var s=H(a,O("span","x")),p=s.getBoundingClientRect(),f=A(s,0,1).getBoundingClientRect();return vi=Math.abs(p.left-f.left)>1}var ti={},Yi={};function Es(a,s){arguments.length>2&&(s.dependencies=Array.prototype.slice.call(arguments,2)),ti[a]=s}function co(a,s){Yi[a]=s}function Tn(a){if(typeof a=="string"&&Yi.hasOwnProperty(a))a=Yi[a];else if(a&&typeof a.name=="string"&&Yi.hasOwnProperty(a.name)){var s=Yi[a.name];typeof s=="string"&&(s={name:s}),a=ve(s,a),a.name=s.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Tn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Tn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Ti(a,s){s=Tn(s);var p=ti[s.name];if(!p)return Ti(a,"text/plain");var f=p(a,s);if(Qi.hasOwnProperty(s.name)){var v=Qi[s.name];for(var D in v)!v.hasOwnProperty(D)||(f.hasOwnProperty(D)&&(f["_"+D]=f[D]),f[D]=v[D])}if(f.name=s.name,s.helperType&&(f.helperType=s.helperType),s.modeProps)for(var P in s.modeProps)f[P]=s.modeProps[P];return f}var Qi={};function As(a,s){var p=Qi.hasOwnProperty(a)?Qi[a]:Qi[a]={};ce(s,p)}function Di(a,s){if(s===!0)return s;if(a.copyState)return a.copyState(s);var p={};for(var f in s){var v=s[f];v instanceof Array&&(v=v.concat([])),p[f]=v}return p}function Ji(a,s){for(var p;a.innerMode&&(p=a.innerMode(s),!(!p||p.mode==a));)s=p.state,a=p.mode;return p||{mode:a,state:s}}function ma(a,s,p){return a.startState?a.startState(s,p):!0}var It=function(a,s,p){this.pos=this.start=0,this.string=a,this.tabSize=s||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=p};It.prototype.eol=function(){return this.pos>=this.string.length},It.prototype.sol=function(){return this.pos==this.lineStart},It.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},It.prototype.next=function(){if(this.pos s},It.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},It.prototype.skipToEnd=function(){this.pos=this.string.length},It.prototype.skipTo=function(a){var s=this.string.indexOf(a,this.pos);if(s>-1)return this.pos=s,!0},It.prototype.backUp=function(a){this.pos-=a},It.prototype.column=function(){return this.lastColumnPos 0?null:(D&&s!==!1&&(this.pos+=D[0].length),D)}},It.prototype.current=function(){return this.string.slice(this.start,this.pos)},It.prototype.hideFirstChars=function(a,s){this.lineStart+=a;try{return s()}finally{this.lineStart-=a}},It.prototype.lookAhead=function(a){var s=this.lineOracle;return s&&s.lookAhead(a)},It.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Qe(a,s){if(s-=a.first,s<0||s>=a.size)throw new Error("There is no line "+(s+a.first)+" in the document.");for(var p=a;!p.lines;)for(var f=0;;++f){var v=p.children[f],D=v.chunkSize();if(s =a.first&&s p?ue(p,Qe(a,p).text.length):M8(s,Qe(a,s.line).text.length)}function M8(a,s){var p=a.ch;return p==null||p>s?ue(a.line,s):p<0?ue(a.line,0):a}function Ay(a,s){for(var p=[],f=0;f this.maxLookAhead&&(this.maxLookAhead=a),s},bi.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var s=this.baseTokens[this.baseTokenPos+1];return{type:s&&s.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},bi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},bi.fromSaved=function(a,s,p){return s instanceof Ss?new bi(a,Di(a.mode,s.state),p,s.lookAhead):new bi(a,Di(a.mode,s),p)},bi.prototype.save=function(a){var s=a!==!1?Di(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ss(s,this.maxLookAhead):s};function Sy(a,s,p,f){var v=[a.state.modeGen],D={};Vy(a,s.text,a.doc.mode,p,function(q,ie){return v.push(q,ie)},D,f);for(var P=p.state,z=function(q){p.baseTokens=v;var ie=a.state.overlays[q],re=1,ye=0;p.state=!0,Vy(a,s.text,ie.mode,p,function(me,Ae){for(var ke=re;ye me&&v.splice(re,1,me,v[re+1],Ve),re+=2,ye=Math.min(me,Ve)}if(!!Ae)if(ie.opaque)v.splice(ke,re-ke,me,"overlay "+Ae),re=ke+2;else for(;ke a.options.maxHighlightLength&&Di(a.doc.mode,f.state),D=Sy(a,s,f);v&&(f.state=v),s.stateAfter=f.save(!v),s.styles=D.styles,D.classes?s.styleClasses=D.classes:s.styleClasses&&(s.styleClasses=null),p===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return s.styles}function ga(a,s,p){var f=a.doc,v=a.display;if(!f.mode.startState)return new bi(f,!0,s);var D=L8(a,s,p),P=D>f.first&&Qe(f,D-1).stateAfter,z=P?bi.fromSaved(f,P,D):new bi(f,ma(f.mode),D);return f.iter(D,s,function(K){_f(a,K.text,z);var q=z.line;K.stateAfter=q==s-1||q%5==0||q>=v.viewFrom&&q s.start)return D}throw new Error("Mode "+a.name+" failed to advance stream.")}var Ny=function(a,s,p){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=s||null,this.state=p};function Ty(a,s,p,f){var v=a.doc,D=v.mode,P;s=at(v,s);var z=Qe(v,s.line),K=ga(a,s.line,p),q=new It(z.text,a.options.tabSize,K),ie;for(f&&(ie=[]);(f||q.pos a.options.maxHighlightLength?(z=!1,P&&_f(a,s,f,ie.pos),ie.pos=s.length,re=null):re=Dy(Ef(p,ie,f.state,ye),D),ye){var me=ye[0].name;me&&(re="m-"+(re?me+" "+re:me))}if(!z||q!=re){for(;K P;--z){if(z<=D.first)return D.first;var K=Qe(D,z-1),q=K.stateAfter;if(q&&(!p||z+(q instanceof Ss?q.lookAhead:0)<=D.modeFrontier))return z;var ie=se(K.text,null,a.options.tabSize);(v==null||f>ie)&&(v=z-1,f=ie)}return v}function j8(a,s){if(a.modeFrontier=Math.min(a.modeFrontier,s),!(a.highlightFrontier p;f--){var v=Qe(a,f).stateAfter;if(v&&(!(v instanceof Ss)||f+v.lookAhead =s:D.to>s);(f||(f=[])).push(new xs(P,D.from,K?null:D.to))}}return f}function K8(a,s,p){var f;if(a)for(var v=0;v=s:D.to>s);if(z||D.from==s&&P.type=="bookmark"&&(!p||D.marker.insertLeft)){var K=D.from==null||(P.inclusiveLeft?D.from<=s:D.from 0&&z)for(var We=0;We0)){var ie=[K,1],re=_e(q.from,z.from),ye=_e(q.to,z.to);(re<0||!P.inclusiveLeft&&!re)&&ie.push({from:q.from,to:z.from}),(ye>0||!P.inclusiveRight&&!ye)&&ie.push({from:z.to,to:q.to}),v.splice.apply(v,ie),K+=ie.length-3}}return v}function Ry(a){var s=a.markedSpans;if(!!s){for(var p=0;p s)&&(!f||Sf(f,D.marker)<0)&&(f=D.marker)}return f}function Py(a,s,p,f,v){var D=Qe(a,s),P=Oi&&D.markedSpans;if(P)for(var z=0;z =0&&re<=0||ie<=0&&re>=0)&&(ie<=0&&(K.marker.inclusiveRight&&v.inclusiveLeft?_e(q.to,p)>=0:_e(q.to,p)>0)||ie>=0&&(K.marker.inclusiveRight&&v.inclusiveLeft?_e(q.from,f)<=0:_e(q.from,f)<0)))return!0}}}function ni(a){for(var s;s=Iy(a);)a=s.find(-1,!0).line;return a}function J8(a){for(var s;s=Ts(a);)a=s.find(1,!0).line;return a}function X8(a){for(var s,p;s=Ts(a);)a=s.find(1,!0).line,(p||(p=[])).push(a);return p}function xf(a,s){var p=Qe(a,s),f=ni(p);return p==f?s:wt(f)}function My(a,s){if(s>a.lastLine())return s;var p=Qe(a,s),f;if(!Xi(a,p))return s;for(;f=Ts(p);)p=f.find(1,!0).line;return wt(p)+1}function Xi(a,s){var p=Oi&&s.markedSpans;if(p){for(var f=void 0,v=0;v s.maxLineLength&&(s.maxLineLength=v,s.maxLine=f)})}var fo=function(a,s,p){this.text=a,$y(this,s),this.height=p?p(this):1};fo.prototype.lineNo=function(){return wt(this)},Tt(fo);function Z8(a,s,p,f){a.text=s,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Ry(a),$y(a,p);var v=f?f(a):1;v!=a.height&&Yn(a,v)}function q8(a){a.parent=null,Ry(a)}var e4={},t4={};function Ly(a,s){if(!a||/^\s*$/.test(a))return null;var p=s.addModeClass?t4:e4;return p[a]||(p[a]=a.replace(/\S+/g,"cm-$&"))}function jy(a,s){var p=U("span",null,null,m?"padding-right: .1px":null),f={pre:U("pre",[p],"CodeMirror-line"),content:p,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};s.measure={};for(var v=0;v<=(s.rest?s.rest.length:0);v++){var D=v?s.rest[v-1]:s.line,P=void 0;f.pos=0,f.addToken=i4,Cs(a.display.measure)&&(P=et(D,a.doc.direction))&&(f.addToken=o4(f.addToken,P)),f.map=[];var z=s!=a.display.externalMeasured&&wt(D);a4(D,f,xy(a,D,z)),D.styleClasses&&(D.styleClasses.bgClass&&(f.bgClass=G(D.styleClasses.bgClass,f.bgClass||"")),D.styleClasses.textClass&&(f.textClass=G(D.styleClasses.textClass,f.textClass||""))),f.map.length==0&&f.map.push(0,0,f.content.appendChild(Cf(a.display.measure))),v==0?(s.measure.map=f.map,s.measure.cache={}):((s.measure.maps||(s.measure.maps=[])).push(f.map),(s.measure.caches||(s.measure.caches=[])).push({}))}if(m){var K=f.content.lastChild;(/\bcm-tab\b/.test(K.className)||K.querySelector&&K.querySelector(".cm-tab"))&&(f.content.className="cm-tab-wrap-hack")}return Ke(a,"renderLine",a,s.line,f.pre),f.pre.className&&(f.textClass=G(f.pre.className,f.textClass||"")),f}function n4(a){var s=O("span","\u2022","cm-invalidchar");return s.title="\\u"+a.charCodeAt(0).toString(16),s.setAttribute("aria-label",s.title),s}function i4(a,s,p,f,v,D,P){if(!!s){var z=a.splitSpaces?r4(s,a.trailingSpace):s,K=a.cm.state.specialChars,q=!1,ie;if(!K.test(s))a.col+=s.length,ie=document.createTextNode(z),a.map.push(a.pos,a.pos+s.length,ie),u&&h<9&&(q=!0),a.pos+=s.length;else{ie=document.createDocumentFragment();for(var re=0;;){K.lastIndex=re;var ye=K.exec(s),me=ye?ye.index-re:s.length-re;if(me){var Ae=document.createTextNode(z.slice(re,re+me));u&&h<9?ie.appendChild(O("span",[Ae])):ie.appendChild(Ae),a.map.push(a.pos,a.pos+me,Ae),a.col+=me,a.pos+=me}if(!ye)break;re+=me+1;var ke=void 0;if(ye[0]==" "){var Ve=a.cm.options.tabSize,Fe=Ve-a.col%Ve;ke=ie.appendChild(O("span",fe(Fe),"cm-tab")),ke.setAttribute("role","presentation"),ke.setAttribute("cm-text"," "),a.col+=Fe}else ye[0]=="\r"||ye[0]==` -`?(ke=ie.appendChild(O("span",ye[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ke.setAttribute("cm-text",ye[0]),a.col+=1):(ke=a.cm.options.specialCharPlaceholder(ye[0]),ke.setAttribute("cm-text",ye[0]),u&&h<9?ie.appendChild(O("span",[ke])):ie.appendChild(ke),a.col+=1);a.map.push(a.pos,a.pos+1,ke),a.pos++}}if(a.trailingSpace=z.charCodeAt(s.length-1)==32,p||f||v||q||D||P){var ze=p||"";f&&(ze+=f),v&&(ze+=v);var Ie=O("span",[ie],ze,D);if(P)for(var We in P)P.hasOwnProperty(We)&&We!="style"&&We!="class"&&Ie.setAttribute(We,P[We]);return a.content.appendChild(Ie)}a.content.appendChild(ie)}}function r4(a,s){if(a.length>1&&!/ /.test(a))return a;for(var p=s,f="",v=0;v q&&re.from<=q));ye++);if(re.to>=ie)return a(p,f,v,D,P,z,K);a(p,f.slice(0,re.to-q),v,D,null,z,K),D=null,f=f.slice(re.to-q),q=re.to}}}function zy(a,s,p,f){var v=!f&&p.widgetNode;v&&a.map.push(a.pos,a.pos+s,v),!f&&a.cm.display.input.needsContentAttribute&&(v||(v=a.content.appendChild(document.createElement("span"))),v.setAttribute("cm-marker",p.id)),v&&(a.cm.display.input.setUneditable(v),a.content.appendChild(v)),a.pos+=s,a.trailingSpace=!1}function a4(a,s,p){var f=a.markedSpans,v=a.text,D=0;if(!f){for(var P=1;P K||pt.collapsed&&Ze.to==K&&Ze.from==K)){if(Ze.to!=null&&Ze.to!=K&&me>Ze.to&&(me=Ze.to,ke=""),pt.className&&(Ae+=" "+pt.className),pt.css&&(ye=(ye?ye+";":"")+pt.css),pt.startStyle&&Ze.from==K&&(Ve+=" "+pt.startStyle),pt.endStyle&&Ze.to==me&&(We||(We=[])).push(pt.endStyle,Ze.to),pt.title&&((ze||(ze={})).title=pt.title),pt.attributes)for(var Nt in pt.attributes)(ze||(ze={}))[Nt]=pt.attributes[Nt];pt.collapsed&&(!Fe||Sf(Fe.marker,pt)<0)&&(Fe=Ze)}else Ze.from>K&&me>Ze.from&&(me=Ze.from)}if(We)for(var en=0;en =z)break;for(var Vn=Math.min(z,me);;){if(ie){var wn=K+ie.length;if(!Fe){var Ut=wn>Vn?ie.slice(0,Vn-K):ie;s.addToken(s,Ut,re?re+Ae:Ae,Ve,K+Ut.length==me?ke:"",ye,ze)}if(wn>=Vn){ie=ie.slice(Vn-K),K=Vn;break}K=wn,Ve=""}ie=v.slice(D,D=p[q++]),re=Ly(p[q++],s.cm.options)}}}function Uy(a,s,p){this.line=s,this.rest=X8(s),this.size=this.rest?wt(he(this.rest))-p+1:1,this.node=this.text=null,this.hidden=Xi(a,s)}function Vs(a,s,p){for(var f=[],v,D=s;D 2&&D.push((K.bottom+q.top)/2-p.top)}}D.push(p.bottom-p.top)}}function Jy(a,s,p){if(a.line==s)return{map:a.measure.map,cache:a.measure.cache};if(a.rest){for(var f=0;f
p)return{map:a.measure.maps[v],cache:a.measure.caches[v],before:!0}}}function v4(a,s){s=ni(s);var p=wt(s),f=a.display.externalMeasured=new Uy(a.doc,s,p);f.lineN=p;var v=f.built=jy(a,f);return f.text=v.pre,H(a.display.lineMeasure,v.pre),f}function Xy(a,s,p,f){return Ci(a,ho(a,s),p,f)}function Of(a,s){if(s>=a.display.viewFrom&&s =p.lineN&&s s)&&(D=K-z,v=D-1,s>=K&&(P="right")),v!=null){if(f=a[q+2],z==K&&p==(f.insertLeft?"left":"right")&&(P=p),p=="left"&&v==0)for(;q&&a[q-2]==a[q-3]&&a[q-1].insertLeft;)f=a[(q-=3)+2],P="left";if(p=="right"&&v==K-z)for(;q =0&&(p=a[v]).left==p.right;v--);return p}function b4(a,s,p,f){var v=qy(s.map,p,f),D=v.node,P=v.start,z=v.end,K=v.collapse,q;if(D.nodeType==3){for(var ie=0;ie<4;ie++){for(;P&&Ye(s.line.text.charAt(v.coverStart+P));)--P;for(;v.coverStart+z 0&&(K=f="right");var re;a.options.lineWrapping&&(re=D.getClientRects()).length>1?q=re[f=="right"?re.length-1:0]:q=D.getBoundingClientRect()}if(u&&h<9&&!P&&(!q||!q.left&&!q.right)){var ye=D.parentNode.getClientRects()[0];ye?q={left:ye.left,right:ye.left+go(a.display),top:ye.top,bottom:ye.bottom}:q=Zy}for(var me=q.top-s.rect.top,Ae=q.bottom-s.rect.top,ke=(me+Ae)/2,Ve=s.view.measure.heights,Fe=0;Fe =f.text.length?(K=f.text.length,q="before"):K<=0&&(K=0,q="after"),!z)return P(q=="before"?K-1:K,q=="before");function ie(Ae,ke,Ve){var Fe=z[ke],ze=Fe.level==1;return P(Ve?Ae-1:Ae,ze!=Ve)}var re=Oe(z,K,q),ye=Xe,me=ie(K,re,q=="before");return ye!=null&&(me.other=ie(K,ye,q!="before")),me}function o0(a,s){var p=0;s=at(a.doc,s),a.options.lineWrapping||(p=go(a.display)*s.ch);var f=Qe(a.doc,s.line),v=Bi(f)+Os(a.display);return{left:p,right:p,top:v,bottom:v+f.height}}function Rf(a,s,p,f,v){var D=ue(a,s,p);return D.xRel=v,f&&(D.outside=f),D}function $f(a,s,p){var f=a.doc;if(p+=a.display.viewOffset,p<0)return Rf(f.first,0,null,-1,-1);var v=yi(f,p),D=f.first+f.size-1;if(v>D)return Rf(f.first+f.size-1,Qe(f,D).text.length,null,1,1);s<0&&(s=0);for(var P=Qe(f,v);;){var z=C4(a,P,v,s,p),K=Q8(P,z.ch+(z.xRel>0||z.outside>0?1:0));if(!K)return z;var q=K.find(1);if(q.line==v)return q;P=Qe(f,v=q.line)}}function a0(a,s,p,f){f-=Bf(s);var v=s.text.length,D=je(function(P){return Ci(a,p,P-1).bottom<=f},v,0);return v=je(function(P){return Ci(a,p,P).top>f},D,v),{begin:D,end:v}}function l0(a,s,p,f){p||(p=ho(a,s));var v=Bs(a,s,Ci(a,p,f),"line").top;return a0(a,s,p,v)}function Ff(a,s,p,f){return a.bottom<=p?!1:a.top>p?!0:(f?a.left:a.right)>s}function C4(a,s,p,f,v){v-=Bi(s);var D=ho(a,s),P=Bf(s),z=0,K=s.text.length,q=!0,ie=et(s,a.doc.direction);if(ie){var re=(a.options.lineWrapping?E4:_4)(a,s,p,D,ie,f,v);q=re.level!=1,z=q?re.from:re.to-1,K=q?re.to:re.from-1}var ye=null,me=null,Ae=je(function(tt){var Ze=Ci(a,D,tt);return Ze.top+=P,Ze.bottom+=P,Ff(Ze,f,v,!1)?(Ze.top<=v&&Ze.left<=f&&(ye=tt,me=Ze),!0):!1},z,K),ke,Ve,Fe=!1;if(me){var ze=f-me.left =We.bottom?1:0}return Ae=nt(s.text,Ae,1),Rf(p,Ae,Ve,Fe,f-ke)}function _4(a,s,p,f,v,D,P){var z=je(function(re){var ye=v[re],me=ye.level!=1;return Ff(ii(a,ue(p,me?ye.to:ye.from,me?"before":"after"),"line",s,f),D,P,!0)},0,v.length-1),K=v[z];if(z>0){var q=K.level!=1,ie=ii(a,ue(p,q?K.from:K.to,q?"after":"before"),"line",s,f);Ff(ie,D,P,!0)&&ie.top>P&&(K=v[z-1])}return K}function E4(a,s,p,f,v,D,P){var z=a0(a,s,f,P),K=z.begin,q=z.end;/\s/.test(s.text.charAt(q-1))&&q--;for(var ie=null,re=null,ye=0;ye =q||me.to<=K)){var Ae=me.level!=1,ke=Ci(a,f,Ae?Math.min(q,me.to)-1:Math.max(K,me.from)).right,Ve=ke Ve)&&(ie=me,re=Ve)}}return ie||(ie=v[v.length-1]),ie.from q&&(ie={from:ie.from,to:q,level:ie.level}),ie}var Cr;function mo(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Cr==null){Cr=O("pre",null,"CodeMirror-line-like");for(var s=0;s<49;++s)Cr.appendChild(document.createTextNode("x")),Cr.appendChild(O("br"));Cr.appendChild(document.createTextNode("x"))}H(a.measure,Cr);var p=Cr.offsetHeight/50;return p>3&&(a.cachedTextHeight=p),W(a.measure),p||1}function go(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var s=O("span","xxxxxxxxxx"),p=O("pre",[s],"CodeMirror-line-like");H(a.measure,p);var f=s.getBoundingClientRect(),v=(f.right-f.left)/10;return v>2&&(a.cachedCharWidth=v),v||10}function If(a){for(var s=a.display,p={},f={},v=s.gutters.clientLeft,D=s.gutters.firstChild,P=0;D;D=D.nextSibling,++P){var z=a.display.gutterSpecs[P].className;p[z]=D.offsetLeft+D.clientLeft+v,f[z]=D.clientWidth}return{fixedPos:Pf(s),gutterTotalWidth:s.gutters.offsetWidth,gutterLeft:p,gutterWidth:f,wrapperWidth:s.wrapper.clientWidth}}function Pf(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function s0(a){var s=mo(a.display),p=a.options.lineWrapping,f=p&&Math.max(5,a.display.scroller.clientWidth/go(a.display)-3);return function(v){if(Xi(a.doc,v))return 0;var D=0;if(v.widgets)for(var P=0;P 0&&(q=Qe(a.doc,K.line).text).length==K.ch){var ie=se(q,q.length,a.options.tabSize)-q.length;K=ue(K.line,Math.max(0,Math.round((D-Qy(a.display).left)/go(a.display))-ie))}return K}function Er(a,s){if(s>=a.display.viewTo||(s-=a.display.viewFrom,s<0))return null;for(var p=a.display.view,f=0;f s)&&(v.updateLineNumbers=s),a.curOp.viewChanged=!0,s>=v.viewTo)Oi&&xf(a.doc,s) v.viewFrom?qi(a):(v.viewFrom+=f,v.viewTo+=f);else if(s<=v.viewFrom&&p>=v.viewTo)qi(a);else if(s<=v.viewFrom){var D=$s(a,p,p+f,1);D?(v.view=v.view.slice(D.index),v.viewFrom=D.lineN,v.viewTo+=f):qi(a)}else if(p>=v.viewTo){var P=$s(a,s,s,-1);P?(v.view=v.view.slice(0,P.index),v.viewTo=P.lineN):qi(a)}else{var z=$s(a,s,s,-1),K=$s(a,p,p+f,1);z&&K?(v.view=v.view.slice(0,z.index).concat(Vs(a,z.lineN,K.lineN)).concat(v.view.slice(K.index)),v.viewTo+=f):qi(a)}var q=v.externalMeasured;q&&(p =v.lineN&&s =f.viewTo)){var D=f.view[Er(a,s)];if(D.node!=null){var P=D.changes||(D.changes=[]);ae(P,p)==-1&&P.push(p)}}}function qi(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function $s(a,s,p,f){var v=Er(a,s),D,P=a.display.view;if(!Oi||p==a.doc.first+a.doc.size)return{index:v,lineN:p};for(var z=a.display.viewFrom,K=0;K 0){if(v==P.length-1)return null;D=z+P[v].size-s,v++}else D=z-s;s+=D,p+=D}for(;xf(a.doc,p)!=p;){if(v==(f<0?0:P.length-1))return null;p+=f*P[v-(f<0?1:0)].size,v+=f}return{index:v,lineN:p}}function A4(a,s,p){var f=a.display,v=f.view;v.length==0||s>=f.viewTo||p<=f.viewFrom?(f.view=Vs(a,s,p),f.viewFrom=s):(f.viewFrom>s?f.view=Vs(a,s,f.viewFrom).concat(f.view):f.viewFrom p&&(f.view=f.view.slice(0,Er(a,p)))),f.viewTo=p}function d0(a){for(var s=a.display.view,p=0,f=0;f=a.display.viewTo||K.to().line 0?P:a.defaultCharWidth())+"px"}if(f.other){var z=p.appendChild(O("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));z.style.display="",z.style.left=f.other.left+"px",z.style.top=f.other.top+"px",z.style.height=(f.other.bottom-f.other.top)*.85+"px"}}function Fs(a,s){return a.top-s.top||a.left-s.left}function S4(a,s,p){var f=a.display,v=a.doc,D=document.createDocumentFragment(),P=Qy(a.display),z=P.left,K=Math.max(f.sizerWidth,wr(a)-f.sizer.offsetLeft)-P.right,q=v.direction=="ltr";function ie(Ie,We,tt,Ze){We<0&&(We=0),We=Math.round(We),Ze=Math.round(Ze),D.appendChild(O("div",null,"CodeMirror-selected","position: absolute; left: "+Ie+`px; - top: `+We+"px; width: "+(tt==null?K-Ie:tt)+`px; - height: `+(Ze-We)+"px"))}function re(Ie,We,tt){var Ze=Qe(v,Ie),pt=Ze.text.length,Nt,en;function $t(Ut,Cn){return Rs(a,ue(Ie,Ut),"div",Ze,Cn)}function Vn(Ut,Cn,rn){var Yt=l0(a,Ze,null,Ut),Ht=Cn=="ltr"==(rn=="after")?"left":"right",Pt=rn=="after"?Yt.begin:Yt.end-(/\s/.test(Ze.text.charAt(Yt.end-1))?2:1);return $t(Pt,Ht)[Ht]}var wn=et(Ze,v.direction);return ht(wn,We||0,tt==null?pt:tt,function(Ut,Cn,rn,Yt){var Ht=rn=="ltr",Pt=$t(Ut,Ht?"left":"right"),_n=$t(Cn-1,Ht?"right":"left"),To=We==null&&Ut==0,or=tt==null&&Cn==pt,sn=Yt==0,_i=!wn||Yt==wn.length-1;if(_n.top-Pt.top<=3){var tn=(q?To:or)&&sn,fp=(q?or:To)&&_i,Ii=tn?z:(Ht?Pt:_n).left,Nr=fp?K:(Ht?_n:Pt).right;ie(Ii,Pt.top,Nr-Ii,Pt.bottom)}else{var Tr,pn,Do,pp;Ht?(Tr=q&&To&&sn?z:Pt.left,pn=q?K:Vn(Ut,rn,"before"),Do=q?z:Vn(Cn,rn,"after"),pp=q&&or&&_i?K:_n.right):(Tr=q?Vn(Ut,rn,"before"):z,pn=!q&&To&&sn?K:Pt.right,Do=!q&&or&&_i?z:_n.left,pp=q?Vn(Cn,rn,"after"):K),ie(Tr,Pt.top,pn-Tr,Pt.bottom),Pt.bottom<_n.top&&ie(z,Pt.bottom,null,_n.top),ie(Do,_n.top,pp-Do,_n.bottom)}(!Nt||Fs(Pt,Nt)<0)&&(Nt=Pt),Fs(_n,Nt)<0&&(Nt=_n),(!en||Fs(Pt,en)<0)&&(en=Pt),Fs(_n,en)<0&&(en=_n)}),{start:Nt,end:en}}var ye=s.from(),me=s.to();if(ye.line==me.line)re(ye.line,ye.ch,me.ch);else{var Ae=Qe(v,ye.line),ke=Qe(v,me.line),Ve=ni(Ae)==ni(ke),Fe=re(ye.line,ye.ch,Ve?Ae.text.length+1:null).end,ze=re(me.line,Ve?0:null,me.ch).start;Ve&&(Fe.top 0?s.blinker=setInterval(function(){a.hasFocus()||vo(a),s.cursorDiv.style.visibility=(p=!p)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(s.cursorDiv.style.visibility="hidden")}}function u0(a){a.hasFocus()||(a.display.input.focus(),a.state.focused||Uf(a))}function zf(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,a.state.focused&&vo(a))},100)}function Uf(a,s){a.state.delayingBlurEvent&&!a.state.draggingText&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Ke(a,"focus",a,s),a.state.focused=!0,Q(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),m&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),jf(a))}function vo(a,s){a.state.delayingBlurEvent||(a.state.focused&&(Ke(a,"blur",a,s),a.state.focused=!1,L(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Is(a){for(var s=a.display,p=s.lineDiv.offsetTop,f=Math.max(0,s.scroller.getBoundingClientRect().top),v=s.lineDiv.getBoundingClientRect().top,D=0,P=0;P .005||me<-.005)&&(v a.display.sizerWidth){var ke=Math.ceil(ie/go(a.display));ke>a.display.maxLineLength&&(a.display.maxLineLength=ke,a.display.maxLine=z.line,a.display.maxLineChanged=!0)}}}Math.abs(D)>2&&(s.scroller.scrollTop+=D)}function f0(a){if(a.widgets)for(var s=0;s =P&&(D=yi(s,Bi(Qe(s,K))-a.wrapper.clientHeight),P=K)}return{from:D,to:Math.max(P,D+1)}}function x4(a,s){if(!ct(a,"scrollCursorIntoView")){var p=a.display,f=p.sizer.getBoundingClientRect(),v=null,D=p.wrapper.ownerDocument;if(s.top+f.top<0?v=!0:s.bottom+f.top>(D.defaultView.innerHeight||D.documentElement.clientHeight)&&(v=!1),v!=null&&!g){var P=O("div","\u200B",null,`position: absolute; +`,s);v==-1&&(v=a.length);var D=a.slice(s,a.charAt(v-1)=="\r"?v-1:v),P=D.indexOf("\r");P!=-1?(p.push(D.slice(0,P)),s+=P+1):(p.push(D),s=v+1)}return p}:function(a){return a.split(/\r\n?|\n/)},Ki=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch{return!1}}:function(a){var s;try{s=a.ownerDocument.selection.createRange()}catch{}return!s||s.parentElement()!=a?!1:s.compareEndPoints("StartToEnd",s)!=0},gi=function(){var a=R("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),vi=null;function _s(a){if(vi!=null)return vi;var s=H(a,R("span","x")),p=s.getBoundingClientRect(),f=$(s,0,1).getBoundingClientRect();return vi=Math.abs(p.left-f.left)>1}var ti={},Yi={};function Es(a,s){arguments.length>2&&(s.dependencies=Array.prototype.slice.call(arguments,2)),ti[a]=s}function co(a,s){Yi[a]=s}function Tn(a){if(typeof a=="string"&&Yi.hasOwnProperty(a))a=Yi[a];else if(a&&typeof a.name=="string"&&Yi.hasOwnProperty(a.name)){var s=Yi[a.name];typeof s=="string"&&(s={name:s}),a=fe(s,a),a.name=s.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Tn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Tn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Ti(a,s){s=Tn(s);var p=ti[s.name];if(!p)return Ti(a,"text/plain");var f=p(a,s);if(Qi.hasOwnProperty(s.name)){var v=Qi[s.name];for(var D in v)!v.hasOwnProperty(D)||(f.hasOwnProperty(D)&&(f["_"+D]=f[D]),f[D]=v[D])}if(f.name=s.name,s.helperType&&(f.helperType=s.helperType),s.modeProps)for(var P in s.modeProps)f[P]=s.modeProps[P];return f}var Qi={};function As(a,s){var p=Qi.hasOwnProperty(a)?Qi[a]:Qi[a]={};ce(s,p)}function Di(a,s){if(s===!0)return s;if(a.copyState)return a.copyState(s);var p={};for(var f in s){var v=s[f];v instanceof Array&&(v=v.concat([])),p[f]=v}return p}function Ji(a,s){for(var p;a.innerMode&&(p=a.innerMode(s),!(!p||p.mode==a));)s=p.state,a=p.mode;return p||{mode:a,state:s}}function ma(a,s,p){return a.startState?a.startState(s,p):!0}var Ft=function(a,s,p){this.pos=this.start=0,this.string=a,this.tabSize=s||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=p};Ft.prototype.eol=function(){return this.pos>=this.string.length},Ft.prototype.sol=function(){return this.pos==this.lineStart},Ft.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ft.prototype.next=function(){if(this.pos s},Ft.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Ft.prototype.skipToEnd=function(){this.pos=this.string.length},Ft.prototype.skipTo=function(a){var s=this.string.indexOf(a,this.pos);if(s>-1)return this.pos=s,!0},Ft.prototype.backUp=function(a){this.pos-=a},Ft.prototype.column=function(){return this.lastColumnPos 0?null:(D&&s!==!1&&(this.pos+=D[0].length),D)}},Ft.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ft.prototype.hideFirstChars=function(a,s){this.lineStart+=a;try{return s()}finally{this.lineStart-=a}},Ft.prototype.lookAhead=function(a){var s=this.lineOracle;return s&&s.lookAhead(a)},Ft.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Je(a,s){if(s-=a.first,s<0||s>=a.size)throw new Error("There is no line "+(s+a.first)+" in the document.");for(var p=a;!p.lines;)for(var f=0;;++f){var v=p.children[f],D=v.chunkSize();if(s =a.first&&s p?ue(p,Je(a,p).text.length):M8(s,Je(a,s.line).text.length)}function M8(a,s){var p=a.ch;return p==null||p>s?ue(a.line,s):p<0?ue(a.line,0):a}function Ay(a,s){for(var p=[],f=0;f this.maxLookAhead&&(this.maxLookAhead=a),s},bi.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var s=this.baseTokens[this.baseTokenPos+1];return{type:s&&s.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},bi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},bi.fromSaved=function(a,s,p){return s instanceof Ss?new bi(a,Di(a.mode,s.state),p,s.lookAhead):new bi(a,Di(a.mode,s),p)},bi.prototype.save=function(a){var s=a!==!1?Di(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ss(s,this.maxLookAhead):s};function Sy(a,s,p,f){var v=[a.state.modeGen],D={};Vy(a,s.text,a.doc.mode,p,function(Z,ne){return v.push(Z,ne)},D,f);for(var P=p.state,j=function(Z){p.baseTokens=v;var ne=a.state.overlays[Z],re=1,ve=0;p.state=!0,Vy(a,s.text,ne.mode,p,function(me,Ae){for(var Ne=re;ve me&&v.splice(re,1,me,v[re+1],Ve),re+=2,ve=Math.min(me,Ve)}if(!!Ae)if(ne.opaque)v.splice(Ne,re-Ne,me,"overlay "+Ae),re=Ne+2;else for(;Ne a.options.maxHighlightLength&&Di(a.doc.mode,f.state),D=Sy(a,s,f);v&&(f.state=v),s.stateAfter=f.save(!v),s.styles=D.styles,D.classes?s.styleClasses=D.classes:s.styleClasses&&(s.styleClasses=null),p===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return s.styles}function ga(a,s,p){var f=a.doc,v=a.display;if(!f.mode.startState)return new bi(f,!0,s);var D=L8(a,s,p),P=D>f.first&&Je(f,D-1).stateAfter,j=P?bi.fromSaved(f,P,D):new bi(f,ma(f.mode),D);return f.iter(D,s,function(K){_f(a,K.text,j);var Z=j.line;K.stateAfter=Z==s-1||Z%5==0||Z>=v.viewFrom&&Z s.start)return D}throw new Error("Mode "+a.name+" failed to advance stream.")}var Ny=function(a,s,p){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=s||null,this.state=p};function Ty(a,s,p,f){var v=a.doc,D=v.mode,P;s=at(v,s);var j=Je(v,s.line),K=ga(a,s.line,p),Z=new Ft(j.text,a.options.tabSize,K),ne;for(f&&(ne=[]);(f||Z.pos a.options.maxHighlightLength?(j=!1,P&&_f(a,s,f,ne.pos),ne.pos=s.length,re=null):re=Dy(Ef(p,ne,f.state,ve),D),ve){var me=ve[0].name;me&&(re="m-"+(re?me+" "+re:me))}if(!j||Z!=re){for(;K P;--j){if(j<=D.first)return D.first;var K=Je(D,j-1),Z=K.stateAfter;if(Z&&(!p||j+(Z instanceof Ss?Z.lookAhead:0)<=D.modeFrontier))return j;var ne=de(K.text,null,a.options.tabSize);(v==null||f>ne)&&(v=j-1,f=ne)}return v}function j8(a,s){if(a.modeFrontier=Math.min(a.modeFrontier,s),!(a.highlightFrontier p;f--){var v=Je(a,f).stateAfter;if(v&&(!(v instanceof Ss)||f+v.lookAhead =s:D.to>s);(f||(f=[])).push(new xs(P,D.from,K?null:D.to))}}return f}function K8(a,s,p){var f;if(a)for(var v=0;v=s:D.to>s);if(j||D.from==s&&P.type=="bookmark"&&(!p||D.marker.insertLeft)){var K=D.from==null||(P.inclusiveLeft?D.from<=s:D.from 0&&j)for(var Ge=0;Ge