sd-render 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a5 as R, a6 as si, a as U, a7 as Ve, a8 as D, a9 as
|
|
1
|
+
import { defineComponent as I, inject as N, createElementBlock as c, openBlock as o, normalizeClass as y, renderSlot as Fe, createBlock as d, createCommentVNode as b, withCtx as a, createTextVNode as E, toDisplayString as v, getCurrentInstance as li, withDirectives as Z, Fragment as F, renderList as T, resolveDynamicComponent as B, vShow as Q, resolveComponent as J, normalizeStyle as j, createSlots as K, createElementVNode as S, createVNode as m, mergeProps as De, computed as Y, useCssVars as Te, withModifiers as z, ref as O, nextTick as ni } from "vue";
|
|
2
|
+
import { a5 as R, a6 as si, a as U, a7 as Ve, a8 as D, a9 as C, aa as te, ab as ue, ac as ri, ad as ye, ae as di, af as ai, ag as fi, ah as ui, ai as ze, aj as pi, ak as mi, al as hi, am as ci, an as Ue, ao as ge, ap as bi, aq as gi, h as Fi, ar as yi, p as Be, B as vi, g as wi, b as Ci, c as Ii, j as Ae, z as ne, d as me, x as Si, C as Ri, e as Mi, E as Oi, as as oe, n as ve, A as ki, D as Pi, _ as $i, at as Ei, au as Li, av as ji, aw as Di, ax as Ti, ay as Oe, W as Vi, az as zi, aA as Ui, k as Bi } from "./sd-lib-Dslq9vnq.js";
|
|
3
3
|
import { ElTag as we, ElAffix as Ai, ElCard as Ne, ElTooltip as ee, ElIcon as se, ElCollapse as Ni, ElCollapseItem as Hi, ElCol as re, ElRow as de, ElScrollbar as Wi, ElSpace as qi, ElButton as G, ElTabs as Gi, ElTabPane as Ji, ElAlert as He, ElFormItem as We, ElInput as ae, ElAvatar as Ki, ElDialog as qe, ElButtonGroup as Zi, ElPopconfirm as fe, ElBadge as Qi, ElCheckboxGroup as Yi, ElCheckboxButton as Xi, ElCheckbox as _i, ElColorPicker as xi, ElDatePicker as Ce, ElDivider as Ge, ElDropdown as et, ElDropdownMenu as it, ElDropdownItem as tt, ElUpload as Ie, ElAutocomplete as ot, ElImage as Je, ElLink as lt, ElInputNumber as nt, ElProgress as st, ElRadioGroup as Ke, ElRadioButton as rt, ElRadio as Ze, ElRate as dt, ElSegmented as at, ElSelect as ft, ElOption as ut, ElSlider as pt, ElStatistic as mt, ElSteps as ht, ElStep as ct, ElSwitch as bt, ElInputTag as gt, ElText as Ft, ElTimePicker as Qe, ElTimeSelect as yt, ElTour as vt, ElTourStep as wt, ElForm as Ct } from "element-plus/es";
|
|
4
4
|
import "element-plus/es/components/base/style/index";
|
|
5
5
|
import "element-plus/es/components/affix/style/index";
|
|
@@ -108,7 +108,7 @@ const he = /* @__PURE__ */ Object.assign({ "./affix-render.vue": () => Promise.r
|
|
|
108
108
|
}, qf = {
|
|
109
109
|
install: Dt
|
|
110
110
|
// SdFormRender,
|
|
111
|
-
}, Tt =
|
|
111
|
+
}, Tt = I({
|
|
112
112
|
name: "ContainerRenderWrapper",
|
|
113
113
|
components: {},
|
|
114
114
|
props: {
|
|
@@ -125,9 +125,9 @@ const he = /* @__PURE__ */ Object.assign({ "./affix-render.vue": () => Promise.r
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
|
-
function Vt(e, i, t, l, r,
|
|
128
|
+
function Vt(e, i, t, l, r, h) {
|
|
129
129
|
const s = we;
|
|
130
|
-
return o(),
|
|
130
|
+
return o(), c("div", {
|
|
131
131
|
class: y(["container-wrapper", [e.customClass]]),
|
|
132
132
|
style: { position: "relative" }
|
|
133
133
|
}, [
|
|
@@ -146,7 +146,7 @@ function Vt(e, i, t, l, r, c) {
|
|
|
146
146
|
})) : b("", !0)
|
|
147
147
|
], 2);
|
|
148
148
|
}
|
|
149
|
-
const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se =
|
|
149
|
+
const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se = I({
|
|
150
150
|
props: {
|
|
151
151
|
field: Object,
|
|
152
152
|
objGroupName: {
|
|
@@ -183,7 +183,7 @@ const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se = C({
|
|
|
183
183
|
return this.refList.sd_form_ref;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
}), X =
|
|
186
|
+
}), X = I({
|
|
187
187
|
mixins: [Se],
|
|
188
188
|
data() {
|
|
189
189
|
return {
|
|
@@ -308,7 +308,7 @@ const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se = C({
|
|
|
308
308
|
}), i > -1 && this.field.options.customClass.splice(i, 1);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
}), W =
|
|
311
|
+
}), W = I({
|
|
312
312
|
data() {
|
|
313
313
|
return {
|
|
314
314
|
sdEvents: {},
|
|
@@ -351,9 +351,9 @@ const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se = C({
|
|
|
351
351
|
}
|
|
352
352
|
},
|
|
353
353
|
dispatch: function(i, t, l) {
|
|
354
|
-
let r = this.currentInstance.parent,
|
|
355
|
-
for (; r && (!
|
|
356
|
-
r = r.parent, r && (
|
|
354
|
+
let r = this.currentInstance.parent, h = r.type.name;
|
|
355
|
+
for (; r && (!h || h !== i); )
|
|
356
|
+
r = r.parent, r && (h = r.type.name);
|
|
357
357
|
if (r && r.ctx.emit$)
|
|
358
358
|
try {
|
|
359
359
|
i === "SdFormRender" ? r.ctx.emit$(t, l) : r.ctx.emit$.call(r.ctx, t, l);
|
|
@@ -379,7 +379,7 @@ const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se = C({
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
}), zt =
|
|
382
|
+
}), zt = I({
|
|
383
383
|
name: "affix-render",
|
|
384
384
|
typeName: "FormContainer",
|
|
385
385
|
components: {
|
|
@@ -404,7 +404,7 @@ const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se = C({
|
|
|
404
404
|
this.unregisterFromRefList();
|
|
405
405
|
}
|
|
406
406
|
});
|
|
407
|
-
function Ut(e, i, t, l, r,
|
|
407
|
+
function Ut(e, i, t, l, r, h) {
|
|
408
408
|
const s = Ai, u = A;
|
|
409
409
|
return o(), d(u, {
|
|
410
410
|
field: e.field,
|
|
@@ -421,7 +421,7 @@ function Ut(e, i, t, l, r, c) {
|
|
|
421
421
|
"z-index": e.field.options.zIndex
|
|
422
422
|
}, {
|
|
423
423
|
default: a(() => [
|
|
424
|
-
e.field.fields && e.field.fields.length > 0 ? (o(!0),
|
|
424
|
+
e.field.fields && e.field.fields.length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.fields, (p, g) => (o(), c(F, null, [
|
|
425
425
|
p.category === "container" ? (o(), d(B(p.component + "-render"), {
|
|
426
426
|
field: p,
|
|
427
427
|
key: p.id ? p.id : g,
|
|
@@ -452,7 +452,7 @@ function Ut(e, i, t, l, r, c) {
|
|
|
452
452
|
const Bt = /* @__PURE__ */ R(zt, [["render", Ut], ["__scopeId", "data-v-b4c85525"]]), At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
453
453
|
__proto__: null,
|
|
454
454
|
default: Bt
|
|
455
|
-
}, Symbol.toStringTag, { value: "Module" })), Nt =
|
|
455
|
+
}, Symbol.toStringTag, { value: "Module" })), Nt = I({
|
|
456
456
|
name: "card-render",
|
|
457
457
|
typeName: "FormContainer",
|
|
458
458
|
components: {
|
|
@@ -486,8 +486,8 @@ const Bt = /* @__PURE__ */ R(zt, [["render", Ut], ["__scopeId", "data-v-b4c85525
|
|
|
486
486
|
key: 0,
|
|
487
487
|
class: "custom-label"
|
|
488
488
|
};
|
|
489
|
-
function Wt(e, i, t, l, r,
|
|
490
|
-
const s = U, u = ee, p = J("arrow-down"), g = J("arrow-up"),
|
|
489
|
+
function Wt(e, i, t, l, r, h) {
|
|
490
|
+
const s = U, u = ee, p = J("arrow-down"), g = J("arrow-up"), w = se, $ = Ne, n = A;
|
|
491
491
|
return o(), d(n, {
|
|
492
492
|
field: e.field,
|
|
493
493
|
style: { "margin-bottom": "15px" }
|
|
@@ -509,7 +509,7 @@ function Wt(e, i, t, l, r, c) {
|
|
|
509
509
|
ref: e.field.id
|
|
510
510
|
}, K({
|
|
511
511
|
default: a(() => [
|
|
512
|
-
e.field.fields && e.field.fields.length > 0 ? (o(!0),
|
|
512
|
+
e.field.fields && e.field.fields.length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.fields, (f, k) => (o(), c(F, null, [
|
|
513
513
|
f.category === "container" ? (o(), d(B(f.component + "-render"), {
|
|
514
514
|
field: f,
|
|
515
515
|
key: f.id ? f.id : k,
|
|
@@ -538,9 +538,9 @@ function Wt(e, i, t, l, r, c) {
|
|
|
538
538
|
class: "card-header clear-fix",
|
|
539
539
|
style: j({ color: e.field.options.labelColor })
|
|
540
540
|
}, [
|
|
541
|
-
e.field.options.labelIconClass ? (o(),
|
|
542
|
-
e.field.options.labelIconPosition === "front" ? (o(),
|
|
543
|
-
e.field.options.labelTooltip ? (o(),
|
|
541
|
+
e.field.options.labelIconClass ? (o(), c("span", Ht, [
|
|
542
|
+
e.field.options.labelIconPosition === "front" ? (o(), c(F, { key: 0 }, [
|
|
543
|
+
e.field.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
544
544
|
m(u, {
|
|
545
545
|
content: e.field.options.labelTooltip
|
|
546
546
|
}, {
|
|
@@ -554,7 +554,7 @@ function Wt(e, i, t, l, r, c) {
|
|
|
554
554
|
_: 1
|
|
555
555
|
}, 8, ["content"]),
|
|
556
556
|
E(v(e.field.options.label), 1)
|
|
557
|
-
], 64)) : (o(),
|
|
557
|
+
], 64)) : (o(), c(F, { key: 1 }, [
|
|
558
558
|
m(s, {
|
|
559
559
|
"icon-name": e.field.options.labelIconClass,
|
|
560
560
|
class: "mr-1",
|
|
@@ -562,8 +562,8 @@ function Wt(e, i, t, l, r, c) {
|
|
|
562
562
|
}, null, 8, ["icon-name"]),
|
|
563
563
|
E(v(e.field.options.label), 1)
|
|
564
564
|
], 64))
|
|
565
|
-
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(),
|
|
566
|
-
e.field.options.labelTooltip ? (o(),
|
|
565
|
+
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
566
|
+
e.field.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
567
567
|
E(v(e.field.options.label), 1),
|
|
568
568
|
m(u, {
|
|
569
569
|
content: e.field.options.labelTooltip
|
|
@@ -577,7 +577,7 @@ function Wt(e, i, t, l, r, c) {
|
|
|
577
577
|
]),
|
|
578
578
|
_: 1
|
|
579
579
|
}, 8, ["content"])
|
|
580
|
-
], 64)) : (o(),
|
|
580
|
+
], 64)) : (o(), c(F, { key: 1 }, [
|
|
581
581
|
E(v(e.field.options.label), 1),
|
|
582
582
|
m(s, {
|
|
583
583
|
"icon-name": e.field.options.labelIconClass,
|
|
@@ -586,12 +586,12 @@ function Wt(e, i, t, l, r, c) {
|
|
|
586
586
|
}, null, 8, ["icon-name"])
|
|
587
587
|
], 64))
|
|
588
588
|
], 64)) : b("", !0)
|
|
589
|
-
])) : (o(),
|
|
589
|
+
])) : (o(), c("span", {
|
|
590
590
|
key: 1,
|
|
591
591
|
class: "custom-label",
|
|
592
592
|
style: j({ color: e.field.options.labelColor })
|
|
593
593
|
}, v(e.field.options.label), 5)),
|
|
594
|
-
e.field.options.showFold ? (o(), d(
|
|
594
|
+
e.field.options.showFold ? (o(), d(w, {
|
|
595
595
|
key: 2,
|
|
596
596
|
onClick: e.onClickFolded,
|
|
597
597
|
class: "el-icon--right",
|
|
@@ -616,7 +616,7 @@ function Wt(e, i, t, l, r, c) {
|
|
|
616
616
|
const qt = /* @__PURE__ */ R(Nt, [["render", Wt], ["__scopeId", "data-v-979ec39b"]]), Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
617
617
|
__proto__: null,
|
|
618
618
|
default: qt
|
|
619
|
-
}, Symbol.toStringTag, { value: "Module" })), Jt =
|
|
619
|
+
}, Symbol.toStringTag, { value: "Module" })), Jt = I({
|
|
620
620
|
name: "collapse-render",
|
|
621
621
|
typeName: "FormContainer",
|
|
622
622
|
components: {
|
|
@@ -656,46 +656,46 @@ const qt = /* @__PURE__ */ R(Nt, [["render", Wt], ["__scopeId", "data-v-979ec39b
|
|
|
656
656
|
this.unregisterFromRefList();
|
|
657
657
|
}
|
|
658
658
|
}), Kt = { class: "custom-collapses-title" };
|
|
659
|
-
function Zt(e, i, t, l, r,
|
|
659
|
+
function Zt(e, i, t, l, r, h) {
|
|
660
660
|
const s = U, u = Hi, p = Ni, g = A;
|
|
661
661
|
return o(), d(g, {
|
|
662
662
|
field: e.field,
|
|
663
663
|
style: { "margin-bottom": "15px" }
|
|
664
664
|
}, {
|
|
665
665
|
default: a(() => [
|
|
666
|
-
Z((o(),
|
|
666
|
+
Z((o(), c("div", {
|
|
667
667
|
key: e.field.id,
|
|
668
668
|
class: "collapse-container"
|
|
669
669
|
}, [
|
|
670
670
|
m(p, {
|
|
671
671
|
modelValue: e.activeCollapseName,
|
|
672
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
672
|
+
"onUpdate:modelValue": i[0] || (i[0] = (w) => e.activeCollapseName = w),
|
|
673
673
|
accordion: !!e.field.options.accordion,
|
|
674
674
|
ref: e.field.id,
|
|
675
675
|
class: y([e.customClass])
|
|
676
676
|
}, {
|
|
677
677
|
default: a(() => [
|
|
678
|
-
(o(!0),
|
|
678
|
+
(o(!0), c(F, null, T(e.visibleTabs, (w, $) => (o(), d(u, {
|
|
679
679
|
key: $,
|
|
680
|
-
title:
|
|
681
|
-
disabled:
|
|
682
|
-
name:
|
|
680
|
+
title: w.options.label,
|
|
681
|
+
disabled: w.options.disabled,
|
|
682
|
+
name: w.options.name
|
|
683
683
|
}, {
|
|
684
684
|
title: a(() => [
|
|
685
685
|
S("span", Kt, [
|
|
686
|
-
|
|
686
|
+
w.options.icon ? (o(), d(s, {
|
|
687
687
|
key: 0,
|
|
688
|
-
"icon-name":
|
|
688
|
+
"icon-name": w.options.icon
|
|
689
689
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
690
|
-
S("span", null, v(
|
|
690
|
+
S("span", null, v(w.options.label), 1)
|
|
691
691
|
])
|
|
692
692
|
]),
|
|
693
693
|
default: a(() => [
|
|
694
|
-
(o(!0),
|
|
694
|
+
(o(!0), c(F, null, T(w.fields, (n, f) => (o(), c(F, null, [
|
|
695
695
|
n.category === "container" ? (o(), d(B(n.component + "-render"), {
|
|
696
696
|
field: n,
|
|
697
697
|
key: n.id ? n.id : f,
|
|
698
|
-
"parent-list":
|
|
698
|
+
"parent-list": w.fields,
|
|
699
699
|
"index-of-parent-list": f,
|
|
700
700
|
"parent-field": e.field,
|
|
701
701
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
@@ -704,7 +704,7 @@ function Zt(e, i, t, l, r, c) {
|
|
|
704
704
|
builder: null,
|
|
705
705
|
"builder-status": !1,
|
|
706
706
|
key: n.id ? n.id : f,
|
|
707
|
-
"parent-list":
|
|
707
|
+
"parent-list": w.fields,
|
|
708
708
|
"index-of-parent-list": f,
|
|
709
709
|
"parent-field": e.field,
|
|
710
710
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
@@ -726,7 +726,7 @@ function Zt(e, i, t, l, r, c) {
|
|
|
726
726
|
const Qt = /* @__PURE__ */ R(Jt, [["render", Zt], ["__scopeId", "data-v-e477f3cf"]]), Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
727
727
|
__proto__: null,
|
|
728
728
|
default: Qt
|
|
729
|
-
}, Symbol.toStringTag, { value: "Module" })), Xt =
|
|
729
|
+
}, Symbol.toStringTag, { value: "Module" })), Xt = I({
|
|
730
730
|
name: "grid-col-render",
|
|
731
731
|
typeName: "FormContainer",
|
|
732
732
|
components: {
|
|
@@ -798,7 +798,7 @@ const Qt = /* @__PURE__ */ R(Jt, [["render", Zt], ["__scopeId", "data-v-e477f3cf
|
|
|
798
798
|
beforeUnmount() {
|
|
799
799
|
}
|
|
800
800
|
});
|
|
801
|
-
function _t(e, i, t, l, r,
|
|
801
|
+
function _t(e, i, t, l, r, h) {
|
|
802
802
|
const s = re;
|
|
803
803
|
return Z((o(), d(s, De({
|
|
804
804
|
class: ["grid-cell", [e.customClass]]
|
|
@@ -807,7 +807,7 @@ function _t(e, i, t, l, r, c) {
|
|
|
807
807
|
key: e.field.id
|
|
808
808
|
}), {
|
|
809
809
|
default: a(() => [
|
|
810
|
-
e.field.fields && e.field.fields.length > 0 ? (o(!0),
|
|
810
|
+
e.field.fields && e.field.fields.length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.fields, (u, p) => (o(), c(F, null, [
|
|
811
811
|
u.category === "container" ? (o(), d(B(u.component + "-render"), {
|
|
812
812
|
field: u,
|
|
813
813
|
key: u.id ? u.id : p,
|
|
@@ -832,7 +832,7 @@ function _t(e, i, t, l, r, c) {
|
|
|
832
832
|
[Q, !e.field.options.hidden]
|
|
833
833
|
]);
|
|
834
834
|
}
|
|
835
|
-
const ei = /* @__PURE__ */ R(Xt, [["render", _t]]), xt =
|
|
835
|
+
const ei = /* @__PURE__ */ R(Xt, [["render", _t]]), xt = I({
|
|
836
836
|
name: "grid-render",
|
|
837
837
|
typeName: "FormContainer",
|
|
838
838
|
components: {
|
|
@@ -854,7 +854,7 @@ const ei = /* @__PURE__ */ R(Xt, [["render", _t]]), xt = C({
|
|
|
854
854
|
this.unregisterFromRefList();
|
|
855
855
|
}
|
|
856
856
|
});
|
|
857
|
-
function eo(e, i, t, l, r,
|
|
857
|
+
function eo(e, i, t, l, r, h) {
|
|
858
858
|
const s = ei, u = de, p = A;
|
|
859
859
|
return o(), d(p, { field: e.field }, {
|
|
860
860
|
default: a(() => [
|
|
@@ -865,11 +865,11 @@ function eo(e, i, t, l, r, c) {
|
|
|
865
865
|
ref: e.field.id
|
|
866
866
|
}, {
|
|
867
867
|
default: a(() => [
|
|
868
|
-
(o(!0),
|
|
869
|
-
key:
|
|
868
|
+
(o(!0), c(F, null, T(e.field.cols, (g, w) => (o(), d(s, {
|
|
869
|
+
key: w,
|
|
870
870
|
field: g,
|
|
871
871
|
"parent-list": e.field.cols,
|
|
872
|
-
"index-of-parent-list":
|
|
872
|
+
"index-of-parent-list": w,
|
|
873
873
|
"parent-field": e.field,
|
|
874
874
|
"obj-group-name": e.objGroupName ? e.objGroupName : "",
|
|
875
875
|
"col-height": e.field.options.colHeight
|
|
@@ -886,7 +886,7 @@ function eo(e, i, t, l, r, c) {
|
|
|
886
886
|
const io = /* @__PURE__ */ R(xt, [["render", eo], ["__scopeId", "data-v-d240521c"]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
887
887
|
__proto__: null,
|
|
888
888
|
default: io
|
|
889
|
-
}, Symbol.toStringTag, { value: "Module" })), oo =
|
|
889
|
+
}, Symbol.toStringTag, { value: "Module" })), oo = I({
|
|
890
890
|
name: "object-group-render",
|
|
891
891
|
typeName: "FormContainer",
|
|
892
892
|
components: {
|
|
@@ -912,7 +912,7 @@ const io = /* @__PURE__ */ R(xt, [["render", eo], ["__scopeId", "data-v-d240521c
|
|
|
912
912
|
this.unregisterFromRefList();
|
|
913
913
|
}
|
|
914
914
|
});
|
|
915
|
-
function lo(e, i, t, l, r,
|
|
915
|
+
function lo(e, i, t, l, r, h) {
|
|
916
916
|
const s = Ne, u = A;
|
|
917
917
|
return o(), d(u, {
|
|
918
918
|
field: e.field,
|
|
@@ -926,7 +926,7 @@ function lo(e, i, t, l, r, c) {
|
|
|
926
926
|
ref: e.field.id
|
|
927
927
|
}, {
|
|
928
928
|
default: a(() => [
|
|
929
|
-
e.field.fields && e.field.fields.length > 0 ? (o(!0),
|
|
929
|
+
e.field.fields && e.field.fields.length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.fields, (p, g) => (o(), c(F, null, [
|
|
930
930
|
p.category === "container" ? (o(), d(B(p.component + "-render"), {
|
|
931
931
|
field: p,
|
|
932
932
|
key: p.id ? p.id : g,
|
|
@@ -957,7 +957,7 @@ function lo(e, i, t, l, r, c) {
|
|
|
957
957
|
const no = /* @__PURE__ */ R(oo, [["render", lo], ["__scopeId", "data-v-2e902e1a"]]), so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
958
958
|
__proto__: null,
|
|
959
959
|
default: no
|
|
960
|
-
}, Symbol.toStringTag, { value: "Module" })), ro =
|
|
960
|
+
}, Symbol.toStringTag, { value: "Module" })), ro = I({
|
|
961
961
|
name: "scrollbar-render",
|
|
962
962
|
typeName: "FormContainer",
|
|
963
963
|
components: {
|
|
@@ -1004,7 +1004,7 @@ const no = /* @__PURE__ */ R(oo, [["render", lo], ["__scopeId", "data-v-2e902e1a
|
|
|
1004
1004
|
this.unregisterFromRefList();
|
|
1005
1005
|
}
|
|
1006
1006
|
});
|
|
1007
|
-
function ao(e, i, t, l, r,
|
|
1007
|
+
function ao(e, i, t, l, r, h) {
|
|
1008
1008
|
const s = Wi, u = A;
|
|
1009
1009
|
return o(), d(u, {
|
|
1010
1010
|
field: e.field,
|
|
@@ -1026,7 +1026,7 @@ function ao(e, i, t, l, r, c) {
|
|
|
1026
1026
|
"max-height": e.field.options.maxHeight ? e.field.options.maxHeight : void 0
|
|
1027
1027
|
}, {
|
|
1028
1028
|
default: a(() => [
|
|
1029
|
-
e.field.fields && e.field.fields.length > 0 ? (o(!0),
|
|
1029
|
+
e.field.fields && e.field.fields.length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.fields, (p, g) => (o(), c(F, null, [
|
|
1030
1030
|
p.category === "container" ? (o(), d(B(p.component + "-render"), {
|
|
1031
1031
|
field: p,
|
|
1032
1032
|
key: p.id ? p.id : g,
|
|
@@ -1057,7 +1057,7 @@ function ao(e, i, t, l, r, c) {
|
|
|
1057
1057
|
const fo = /* @__PURE__ */ R(ro, [["render", ao], ["__scopeId", "data-v-e3cade02"]]), uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1058
1058
|
__proto__: null,
|
|
1059
1059
|
default: fo
|
|
1060
|
-
}, Symbol.toStringTag, { value: "Module" })), po =
|
|
1060
|
+
}, Symbol.toStringTag, { value: "Module" })), po = I({
|
|
1061
1061
|
name: "space-render",
|
|
1062
1062
|
typeName: "FormContainer",
|
|
1063
1063
|
components: {
|
|
@@ -1079,7 +1079,7 @@ const fo = /* @__PURE__ */ R(ro, [["render", ao], ["__scopeId", "data-v-e3cade02
|
|
|
1079
1079
|
this.unregisterFromRefList();
|
|
1080
1080
|
}
|
|
1081
1081
|
});
|
|
1082
|
-
function mo(e, i, t, l, r,
|
|
1082
|
+
function mo(e, i, t, l, r, h) {
|
|
1083
1083
|
const s = qi, u = A;
|
|
1084
1084
|
return o(), d(u, {
|
|
1085
1085
|
field: e.field,
|
|
@@ -1099,7 +1099,7 @@ function mo(e, i, t, l, r, c) {
|
|
|
1099
1099
|
spacer: e.field.options.spacer
|
|
1100
1100
|
}, {
|
|
1101
1101
|
default: a(() => [
|
|
1102
|
-
e.field.fields && e.field.fields.length > 0 ? (o(!0),
|
|
1102
|
+
e.field.fields && e.field.fields.length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.fields, (p, g) => (o(), c(F, null, [
|
|
1103
1103
|
p.category === "container" ? (o(), d(B(p.component + "-render"), {
|
|
1104
1104
|
field: p,
|
|
1105
1105
|
key: p.id ? p.id : g,
|
|
@@ -1130,7 +1130,7 @@ function mo(e, i, t, l, r, c) {
|
|
|
1130
1130
|
const ho = /* @__PURE__ */ R(po, [["render", mo], ["__scopeId", "data-v-cafd5b38"]]), co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1131
1131
|
__proto__: null,
|
|
1132
1132
|
default: ho
|
|
1133
|
-
}, Symbol.toStringTag, { value: "Module" })), bo =
|
|
1133
|
+
}, Symbol.toStringTag, { value: "Module" })), bo = I({
|
|
1134
1134
|
name: "sub-form-render",
|
|
1135
1135
|
typeName: "FormContainer",
|
|
1136
1136
|
components: {
|
|
@@ -1192,7 +1192,7 @@ const ho = /* @__PURE__ */ R(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1192
1192
|
},
|
|
1193
1193
|
handleSubFormRowChange(e) {
|
|
1194
1194
|
try {
|
|
1195
|
-
this.field.options.onSubFormRowChange && new Function("subFormData", ...
|
|
1195
|
+
this.field.options.onSubFormRowChange && new Function("subFormData", ...C, this.field.options.onSubFormRowChange).call(this, e);
|
|
1196
1196
|
} catch (i) {
|
|
1197
1197
|
this.alert(i.message, "error");
|
|
1198
1198
|
}
|
|
@@ -1204,10 +1204,10 @@ const ho = /* @__PURE__ */ R(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1204
1204
|
if (this.fieldSchemaData.splice(0, this.fieldSchemaData.length), e > 0)
|
|
1205
1205
|
for (let i = 0; i < e; i++)
|
|
1206
1206
|
new Promise((l, r) => {
|
|
1207
|
-
let
|
|
1207
|
+
let h = [];
|
|
1208
1208
|
this.field.fields.forEach((s) => {
|
|
1209
|
-
|
|
1210
|
-
}), l(
|
|
1209
|
+
h.push(this.cloneFieldSchema(s));
|
|
1210
|
+
}), l(h);
|
|
1211
1211
|
}).then((l) => {
|
|
1212
1212
|
this.fieldSchemaData.push(l);
|
|
1213
1213
|
}).catch((l) => {
|
|
@@ -1235,7 +1235,7 @@ const ho = /* @__PURE__ */ R(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1235
1235
|
},
|
|
1236
1236
|
handleSubFormRowAdd(e, i) {
|
|
1237
1237
|
try {
|
|
1238
|
-
this.field.options.onSubFormRowAdd && new Function("subFormData", "newRowId", ...
|
|
1238
|
+
this.field.options.onSubFormRowAdd && new Function("subFormData", "newRowId", ...C, this.field.options.onSubFormRowAdd).call(this, e, i);
|
|
1239
1239
|
} catch (t) {
|
|
1240
1240
|
this.alert(t.message, "error");
|
|
1241
1241
|
}
|
|
@@ -1283,7 +1283,7 @@ const ho = /* @__PURE__ */ R(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1283
1283
|
},
|
|
1284
1284
|
handleSubFormRowInsert(e, i) {
|
|
1285
1285
|
try {
|
|
1286
|
-
this.field.options.onSubFormRowInsert && new Function("subFormData", "newRowId", ...
|
|
1286
|
+
this.field.options.onSubFormRowInsert && new Function("subFormData", "newRowId", ...C, this.field.options.onSubFormRowInsert).call(this, e, i);
|
|
1287
1287
|
} catch (t) {
|
|
1288
1288
|
this.alert(t.message, "error");
|
|
1289
1289
|
}
|
|
@@ -1301,7 +1301,7 @@ const ho = /* @__PURE__ */ R(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1301
1301
|
},
|
|
1302
1302
|
handleSubFormRowDelete(e, i) {
|
|
1303
1303
|
try {
|
|
1304
|
-
this.field.options.onSubFormRowDelete && new Function("subFormData", "deletedDataRow", ...
|
|
1304
|
+
this.field.options.onSubFormRowDelete && new Function("subFormData", "deletedDataRow", ...C, this.field.options.onSubFormRowDelete).call(this, e, i);
|
|
1305
1305
|
} catch (t) {
|
|
1306
1306
|
this.alert(t.message, "error");
|
|
1307
1307
|
}
|
|
@@ -1368,14 +1368,14 @@ const ho = /* @__PURE__ */ R(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1368
1368
|
key: 0,
|
|
1369
1369
|
class: "row-number-span"
|
|
1370
1370
|
};
|
|
1371
|
-
function vo(e, i, t, l, r,
|
|
1372
|
-
const s = U, u = G, p = re, g = de,
|
|
1371
|
+
function vo(e, i, t, l, r, h) {
|
|
1372
|
+
const s = U, u = G, p = re, g = de, w = ee, $ = A;
|
|
1373
1373
|
return o(), d($, {
|
|
1374
1374
|
field: e.field,
|
|
1375
1375
|
style: { "margin-bottom": "15px" }
|
|
1376
1376
|
}, {
|
|
1377
1377
|
default: a(() => [
|
|
1378
|
-
Z((o(),
|
|
1378
|
+
Z((o(), c("div", {
|
|
1379
1379
|
key: e.field.id,
|
|
1380
1380
|
class: "sub-form-container"
|
|
1381
1381
|
}, [
|
|
@@ -1436,7 +1436,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1436
1436
|
default: a(() => [
|
|
1437
1437
|
m(g, null, {
|
|
1438
1438
|
default: a(() => [
|
|
1439
|
-
(o(!0),
|
|
1439
|
+
(o(!0), c(F, null, T(e.field.fields, (n, f) => (o(), c(F, {
|
|
1440
1440
|
key: n.id + "thc"
|
|
1441
1441
|
}, [
|
|
1442
1442
|
e.getTotalCols > f ? (o(), d(p, {
|
|
@@ -1446,14 +1446,14 @@ function vo(e, i, t, l, r, c) {
|
|
|
1446
1446
|
style: { "padding-right": "5px", "padding-left": "5px", height: "100%" }
|
|
1447
1447
|
}, {
|
|
1448
1448
|
default: a(() => [
|
|
1449
|
-
n.options.labelIconClass ? (o(),
|
|
1449
|
+
n.options.labelIconClass ? (o(), c("span", {
|
|
1450
1450
|
key: 0,
|
|
1451
1451
|
class: "custom-label",
|
|
1452
1452
|
style: j({ color: n.options.labelColor })
|
|
1453
1453
|
}, [
|
|
1454
|
-
n.options.labelIconPosition === "front" ? (o(),
|
|
1455
|
-
n.options.labelTooltip ? (o(),
|
|
1456
|
-
m(
|
|
1454
|
+
n.options.labelIconPosition === "front" ? (o(), c(F, { key: 0 }, [
|
|
1455
|
+
n.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
1456
|
+
m(w, {
|
|
1457
1457
|
content: n.options.labelTooltip
|
|
1458
1458
|
}, {
|
|
1459
1459
|
default: a(() => [
|
|
@@ -1466,7 +1466,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1466
1466
|
_: 2
|
|
1467
1467
|
}, 1032, ["content"]),
|
|
1468
1468
|
E(v(n.options.label), 1)
|
|
1469
|
-
], 64)) : (o(),
|
|
1469
|
+
], 64)) : (o(), c(F, { key: 1 }, [
|
|
1470
1470
|
m(s, {
|
|
1471
1471
|
"icon-name": n.options.labelIconClass,
|
|
1472
1472
|
class: "mr-1",
|
|
@@ -1474,10 +1474,10 @@ function vo(e, i, t, l, r, c) {
|
|
|
1474
1474
|
}, null, 8, ["icon-name"]),
|
|
1475
1475
|
E(v(n.options.label), 1)
|
|
1476
1476
|
], 64))
|
|
1477
|
-
], 64)) : n.options.labelIconPosition === "rear" ? (o(),
|
|
1478
|
-
n.options.labelTooltip ? (o(),
|
|
1477
|
+
], 64)) : n.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
1478
|
+
n.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
1479
1479
|
E(v(n.options.label), 1),
|
|
1480
|
-
m(
|
|
1480
|
+
m(w, {
|
|
1481
1481
|
content: n.options.labelTooltip
|
|
1482
1482
|
}, {
|
|
1483
1483
|
default: a(() => [
|
|
@@ -1489,7 +1489,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1489
1489
|
]),
|
|
1490
1490
|
_: 2
|
|
1491
1491
|
}, 1032, ["content"])
|
|
1492
|
-
], 64)) : (o(),
|
|
1492
|
+
], 64)) : (o(), c(F, { key: 1 }, [
|
|
1493
1493
|
E(v(n.options.label), 1),
|
|
1494
1494
|
m(s, {
|
|
1495
1495
|
"icon-name": n.options.labelIconClass,
|
|
@@ -1498,7 +1498,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1498
1498
|
}, null, 8, ["icon-name"])
|
|
1499
1499
|
], 64))
|
|
1500
1500
|
], 64)) : b("", !0)
|
|
1501
|
-
], 4)) : (o(),
|
|
1501
|
+
], 4)) : (o(), c("span", {
|
|
1502
1502
|
key: 1,
|
|
1503
1503
|
title: n.options.labelTooltip,
|
|
1504
1504
|
style: j({ color: n.options.labelColor })
|
|
@@ -1541,7 +1541,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1541
1541
|
]),
|
|
1542
1542
|
_: 1
|
|
1543
1543
|
}, 8, ["class"]),
|
|
1544
|
-
(o(!0),
|
|
1544
|
+
(o(!0), c(F, null, T(e.rowIdData, (n, f) => (o(), d(g, {
|
|
1545
1545
|
class: y(["sub-form-row", [e.widgetSize]]),
|
|
1546
1546
|
key: n
|
|
1547
1547
|
}, {
|
|
@@ -1572,7 +1572,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1572
1572
|
title: "delete this row",
|
|
1573
1573
|
icon: "Delete"
|
|
1574
1574
|
}, null, 8, ["disabled", "size", "onClick"]),
|
|
1575
|
-
e.field.options.showRowNumber ? (o(),
|
|
1575
|
+
e.field.options.showRowNumber ? (o(), c("span", Fo, "#" + v(f + 1), 1)) : b("", !0)
|
|
1576
1576
|
]),
|
|
1577
1577
|
_: 2
|
|
1578
1578
|
}, 1024)) : e.field.options.showRowNumber ? (o(), d(p, {
|
|
@@ -1581,7 +1581,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1581
1581
|
class: "sub-form-action-column hide-label action-button-column"
|
|
1582
1582
|
}, {
|
|
1583
1583
|
default: a(() => [
|
|
1584
|
-
e.field.options.showRowNumber ? (o(),
|
|
1584
|
+
e.field.options.showRowNumber ? (o(), c("span", yo, "#" + v(f + 1), 1)) : b("", !0)
|
|
1585
1585
|
]),
|
|
1586
1586
|
_: 2
|
|
1587
1587
|
}, 1024)) : b("", !0),
|
|
@@ -1591,7 +1591,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1591
1591
|
default: a(() => [
|
|
1592
1592
|
m(g, null, {
|
|
1593
1593
|
default: a(() => [
|
|
1594
|
-
e.fieldSchemaData.length > 0 ? (o(!0),
|
|
1594
|
+
e.fieldSchemaData.length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.fields, (k, V) => (o(), d(p, {
|
|
1595
1595
|
key: k.id + "tc" + n,
|
|
1596
1596
|
span: k.options.columnSpan,
|
|
1597
1597
|
class: "sub-form-field-column hide-label",
|
|
@@ -1660,7 +1660,7 @@ function vo(e, i, t, l, r, c) {
|
|
|
1660
1660
|
const wo = /* @__PURE__ */ R(bo, [["render", vo], ["__scopeId", "data-v-993001bb"]]), Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1661
1661
|
__proto__: null,
|
|
1662
1662
|
default: wo
|
|
1663
|
-
}, Symbol.toStringTag, { value: "Module" })), Io =
|
|
1663
|
+
}, Symbol.toStringTag, { value: "Module" })), Io = I({
|
|
1664
1664
|
name: "tab-render",
|
|
1665
1665
|
typeName: "FormContainer",
|
|
1666
1666
|
components: {
|
|
@@ -1694,47 +1694,47 @@ const wo = /* @__PURE__ */ R(bo, [["render", vo], ["__scopeId", "data-v-993001bb
|
|
|
1694
1694
|
this.unregisterFromRefList();
|
|
1695
1695
|
}
|
|
1696
1696
|
}), So = { class: "custom-tabs-label" };
|
|
1697
|
-
function Ro(e, i, t, l, r,
|
|
1697
|
+
function Ro(e, i, t, l, r, h) {
|
|
1698
1698
|
const s = U, u = Ji, p = Gi, g = A;
|
|
1699
1699
|
return o(), d(g, {
|
|
1700
1700
|
field: e.field,
|
|
1701
1701
|
style: { "margin-bottom": "15px" }
|
|
1702
1702
|
}, {
|
|
1703
1703
|
default: a(() => [
|
|
1704
|
-
Z((o(),
|
|
1704
|
+
Z((o(), c("div", {
|
|
1705
1705
|
key: e.field.id,
|
|
1706
1706
|
class: "tab-container"
|
|
1707
1707
|
}, [
|
|
1708
1708
|
m(p, {
|
|
1709
1709
|
modelValue: e.activeTabName,
|
|
1710
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
1710
|
+
"onUpdate:modelValue": i[0] || (i[0] = (w) => e.activeTabName = w),
|
|
1711
1711
|
type: e.field.options.displayType,
|
|
1712
1712
|
"tab-position": e.field.options.tabPosition,
|
|
1713
1713
|
ref: e.field.id,
|
|
1714
1714
|
class: y([e.customClass])
|
|
1715
1715
|
}, {
|
|
1716
1716
|
default: a(() => [
|
|
1717
|
-
(o(!0),
|
|
1717
|
+
(o(!0), c(F, null, T(e.visibleTabs, (w, $) => (o(), d(u, {
|
|
1718
1718
|
key: $,
|
|
1719
|
-
label:
|
|
1720
|
-
disabled:
|
|
1721
|
-
name:
|
|
1719
|
+
label: w.options.label,
|
|
1720
|
+
disabled: w.options.disabled,
|
|
1721
|
+
name: w.options.name
|
|
1722
1722
|
}, {
|
|
1723
1723
|
label: a(() => [
|
|
1724
1724
|
S("span", So, [
|
|
1725
|
-
|
|
1725
|
+
w.options.icon ? (o(), d(s, {
|
|
1726
1726
|
key: 0,
|
|
1727
|
-
"icon-name":
|
|
1727
|
+
"icon-name": w.options.icon
|
|
1728
1728
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
1729
|
-
S("span", null, v(
|
|
1729
|
+
S("span", null, v(w.options.label), 1)
|
|
1730
1730
|
])
|
|
1731
1731
|
]),
|
|
1732
1732
|
default: a(() => [
|
|
1733
|
-
(o(!0),
|
|
1733
|
+
(o(!0), c(F, null, T(w.fields, (n, f) => (o(), c(F, null, [
|
|
1734
1734
|
n.category === "container" ? (o(), d(B(n.component + "-render"), {
|
|
1735
1735
|
field: n,
|
|
1736
1736
|
key: n.id ? n.id : f,
|
|
1737
|
-
"parent-list":
|
|
1737
|
+
"parent-list": w.fields,
|
|
1738
1738
|
"index-of-parent-list": f,
|
|
1739
1739
|
"parent-field": e.field,
|
|
1740
1740
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
@@ -1743,7 +1743,7 @@ function Ro(e, i, t, l, r, c) {
|
|
|
1743
1743
|
builder: null,
|
|
1744
1744
|
"builder-status": !1,
|
|
1745
1745
|
key: n.id ? n.id : f,
|
|
1746
|
-
"parent-list":
|
|
1746
|
+
"parent-list": w.fields,
|
|
1747
1747
|
"index-of-parent-list": f,
|
|
1748
1748
|
"parent-field": e.field,
|
|
1749
1749
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
@@ -1765,7 +1765,7 @@ function Ro(e, i, t, l, r, c) {
|
|
|
1765
1765
|
const Mo = /* @__PURE__ */ R(Io, [["render", Ro], ["__scopeId", "data-v-d5481f2a"]]), Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1766
1766
|
__proto__: null,
|
|
1767
1767
|
default: Mo
|
|
1768
|
-
}, Symbol.toStringTag, { value: "Module" })), ko =
|
|
1768
|
+
}, Symbol.toStringTag, { value: "Module" })), ko = I({
|
|
1769
1769
|
name: "table-cell-render",
|
|
1770
1770
|
typeName: "FormContainer",
|
|
1771
1771
|
components: {
|
|
@@ -1798,14 +1798,14 @@ const Mo = /* @__PURE__ */ R(Io, [["render", Ro], ["__scopeId", "data-v-d5481f2a
|
|
|
1798
1798
|
beforeUnmount() {
|
|
1799
1799
|
}
|
|
1800
1800
|
}), Po = ["colspan", "rowspan"];
|
|
1801
|
-
function $o(e, i, t, l, r,
|
|
1802
|
-
return o(),
|
|
1801
|
+
function $o(e, i, t, l, r, h) {
|
|
1802
|
+
return o(), c("td", {
|
|
1803
1803
|
class: y(["table-cell", [e.customClass]]),
|
|
1804
1804
|
colspan: e.field.options.colspan || 1,
|
|
1805
1805
|
rowspan: e.field.options.rowspan || 1,
|
|
1806
1806
|
style: j({ width: e.field.options.cellWidth + " !important" || "", height: e.field.options.cellHeight + " !important" || "", ...e.bgColorStyle })
|
|
1807
1807
|
}, [
|
|
1808
|
-
(o(!0),
|
|
1808
|
+
(o(!0), c(F, null, T(e.field.fields, (s, u) => (o(), c(F, null, [
|
|
1809
1809
|
s.category === "container" ? (o(), d(B(s.component + "-render"), {
|
|
1810
1810
|
field: s,
|
|
1811
1811
|
key: s.id ? s.id : u,
|
|
@@ -1826,7 +1826,7 @@ function $o(e, i, t, l, r, c) {
|
|
|
1826
1826
|
], 64))), 256))
|
|
1827
1827
|
], 14, Po);
|
|
1828
1828
|
}
|
|
1829
|
-
const ii = /* @__PURE__ */ R(ko, [["render", $o], ["__scopeId", "data-v-7cfc555a"]]), Eo =
|
|
1829
|
+
const ii = /* @__PURE__ */ R(ko, [["render", $o], ["__scopeId", "data-v-7cfc555a"]]), Eo = I({
|
|
1830
1830
|
name: "table-render",
|
|
1831
1831
|
typeName: "FormContainer",
|
|
1832
1832
|
components: {
|
|
@@ -1852,14 +1852,14 @@ const ii = /* @__PURE__ */ R(ko, [["render", $o], ["__scopeId", "data-v-7cfc555a
|
|
|
1852
1852
|
this.unregisterFromRefList();
|
|
1853
1853
|
}
|
|
1854
1854
|
});
|
|
1855
|
-
function Lo(e, i, t, l, r,
|
|
1855
|
+
function Lo(e, i, t, l, r, h) {
|
|
1856
1856
|
const s = ii, u = A;
|
|
1857
1857
|
return o(), d(u, {
|
|
1858
1858
|
field: e.field,
|
|
1859
1859
|
style: { "margin-bottom": "15px" }
|
|
1860
1860
|
}, {
|
|
1861
1861
|
default: a(() => [
|
|
1862
|
-
Z((o(),
|
|
1862
|
+
Z((o(), c("div", {
|
|
1863
1863
|
key: e.field.id,
|
|
1864
1864
|
class: "table-container"
|
|
1865
1865
|
}, [
|
|
@@ -1868,12 +1868,12 @@ function Lo(e, i, t, l, r, c) {
|
|
|
1868
1868
|
class: y(["table", [e.customClass, e.bordered]])
|
|
1869
1869
|
}, [
|
|
1870
1870
|
S("tbody", null, [
|
|
1871
|
-
(o(!0),
|
|
1871
|
+
(o(!0), c(F, null, T(e.field.rows, (p, g) => (o(), c("tr", {
|
|
1872
1872
|
key: p.id
|
|
1873
1873
|
}, [
|
|
1874
|
-
(o(!0),
|
|
1875
|
-
|
|
1876
|
-
field:
|
|
1874
|
+
(o(!0), c(F, null, T(p.cols, (w, $) => (o(), c(F, null, [
|
|
1875
|
+
w.merged ? b("", !0) : (o(), d(s, {
|
|
1876
|
+
field: w,
|
|
1877
1877
|
key: $,
|
|
1878
1878
|
"parent-list": e.field.cols,
|
|
1879
1879
|
"index-of-parent-list": $,
|
|
@@ -1933,7 +1933,7 @@ const jo = /* @__PURE__ */ R(Eo, [["render", Lo], ["__scopeId", "data-v-9a38d6aa
|
|
|
1933
1933
|
type: String,
|
|
1934
1934
|
default: "block"
|
|
1935
1935
|
}
|
|
1936
|
-
}, oi =
|
|
1936
|
+
}, oi = I({
|
|
1937
1937
|
props: ti,
|
|
1938
1938
|
computed: {
|
|
1939
1939
|
customClass() {
|
|
@@ -2007,7 +2007,7 @@ const jo = /* @__PURE__ */ R(Eo, [["render", Lo], ["__scopeId", "data-v-9a38d6aa
|
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
2009
|
}
|
|
2010
|
-
}), Re =
|
|
2010
|
+
}), Re = I({
|
|
2011
2011
|
name: "StaticContentWrapper",
|
|
2012
2012
|
components: {},
|
|
2013
2013
|
mixins: [oi],
|
|
@@ -2038,12 +2038,12 @@ const To = {
|
|
|
2038
2038
|
key: 1,
|
|
2039
2039
|
class: "drag-handler background-opacity"
|
|
2040
2040
|
}, zo = { title: "Drag" }, Uo = { key: 0 };
|
|
2041
|
-
function Bo(e, i, t, l, r,
|
|
2041
|
+
function Bo(e, i, t, l, r, h) {
|
|
2042
2042
|
const s = U;
|
|
2043
|
-
return o(),
|
|
2043
|
+
return o(), c("div", {
|
|
2044
2044
|
class: y(["field-wrapper", { "builder-time-bottom-margin": !!e.builder }])
|
|
2045
2045
|
}, [
|
|
2046
|
-
!e.field.options.hidden || e.builderStatus === !0 ? (o(),
|
|
2046
|
+
!e.field.options.hidden || e.builderStatus === !0 ? (o(), c("div", {
|
|
2047
2047
|
key: 0,
|
|
2048
2048
|
class: y(["static-content-item", [e.selected ? "selected" : "", e.customClass]]),
|
|
2049
2049
|
style: j({ display: e.displayStyle }),
|
|
@@ -2051,22 +2051,22 @@ function Bo(e, i, t, l, r, c) {
|
|
|
2051
2051
|
}, [
|
|
2052
2052
|
Fe(e.$slots, "default", {}, void 0, !0)
|
|
2053
2053
|
], 6)) : b("", !0),
|
|
2054
|
-
e.builder ? (o(),
|
|
2055
|
-
e.builder.selectedId === e.field.id ? (o(),
|
|
2054
|
+
e.builder ? (o(), c(F, { key: 1 }, [
|
|
2055
|
+
e.builder.selectedId === e.field.id ? (o(), c("div", To, [
|
|
2056
2056
|
S("i", {
|
|
2057
2057
|
title: "Select Parent",
|
|
2058
2058
|
onClick: i[1] || (i[1] = z((u) => e.selectParentField(), ["stop"]))
|
|
2059
2059
|
}, [
|
|
2060
2060
|
m(s, { "icon-name": "addon-select-parent" })
|
|
2061
2061
|
]),
|
|
2062
|
-
e.parentList && e.parentList.length > 1 ? (o(),
|
|
2062
|
+
e.parentList && e.parentList.length > 1 ? (o(), c("i", {
|
|
2063
2063
|
key: 0,
|
|
2064
2064
|
title: "Move Up",
|
|
2065
2065
|
onClick: i[2] || (i[2] = z((u) => e.moveUpField(), ["stop"]))
|
|
2066
2066
|
}, [
|
|
2067
2067
|
m(s, { "icon-name": "el-top" })
|
|
2068
2068
|
])) : b("", !0),
|
|
2069
|
-
e.parentList && e.parentList.length > 1 ? (o(),
|
|
2069
|
+
e.parentList && e.parentList.length > 1 ? (o(), c("i", {
|
|
2070
2070
|
key: 1,
|
|
2071
2071
|
title: "Move Down",
|
|
2072
2072
|
onClick: i[3] || (i[3] = z((u) => e.moveDownField(), ["stop"]))
|
|
@@ -2092,7 +2092,7 @@ function Bo(e, i, t, l, r, c) {
|
|
|
2092
2092
|
m(s, { "icon-name": "el-delete" })
|
|
2093
2093
|
])
|
|
2094
2094
|
])) : b("", !0),
|
|
2095
|
-
e.builder.selectedId === e.field.id ? (o(),
|
|
2095
|
+
e.builder.selectedId === e.field.id ? (o(), c("div", Vo, [
|
|
2096
2096
|
S("i", zo, [
|
|
2097
2097
|
m(s, {
|
|
2098
2098
|
"icon-name": "el-rank",
|
|
@@ -2100,7 +2100,7 @@ function Bo(e, i, t, l, r, c) {
|
|
|
2100
2100
|
})
|
|
2101
2101
|
]),
|
|
2102
2102
|
S("i", null, v(e.field.name ? e.field.name : e.field.component), 1),
|
|
2103
|
-
e.field.options.hidden === !0 ? (o(),
|
|
2103
|
+
e.field.options.hidden === !0 ? (o(), c("i", Uo, [
|
|
2104
2104
|
m(s, {
|
|
2105
2105
|
"icon-name": "el-hide",
|
|
2106
2106
|
size: "14px"
|
|
@@ -2188,8 +2188,8 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2188
2188
|
if (new Function("return " + e.regExp)().test(i))
|
|
2189
2189
|
t();
|
|
2190
2190
|
else {
|
|
2191
|
-
let
|
|
2192
|
-
t(new Error(
|
|
2191
|
+
let h = e.errorMsg || "[" + e.label + "]invalid value";
|
|
2192
|
+
t(new Error(h));
|
|
2193
2193
|
}
|
|
2194
2194
|
},
|
|
2195
2195
|
citizenId(e, i, t) {
|
|
@@ -2202,12 +2202,12 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2202
2202
|
t(new Error(`[${e.label}] must contain 13 digits.`));
|
|
2203
2203
|
return;
|
|
2204
2204
|
}
|
|
2205
|
-
let r = l.split("").reverse().join(""),
|
|
2205
|
+
let r = l.split("").reverse().join(""), h = 0;
|
|
2206
2206
|
for (let g = 1; g < 13; g++) {
|
|
2207
|
-
let
|
|
2208
|
-
|
|
2207
|
+
let w = g + 1, $ = Number(r.charAt(g)) * w;
|
|
2208
|
+
h = h + $;
|
|
2209
2209
|
}
|
|
2210
|
-
let p = (11 -
|
|
2210
|
+
let p = (11 - h % 11) % 10;
|
|
2211
2211
|
if (Number(r.charAt(0)) === p)
|
|
2212
2212
|
t();
|
|
2213
2213
|
else {
|
|
@@ -2215,7 +2215,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2215
2215
|
t(new Error(g));
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
|
-
}, P =
|
|
2218
|
+
}, P = I({
|
|
2219
2219
|
props: ti,
|
|
2220
2220
|
mixins: [W],
|
|
2221
2221
|
data() {
|
|
@@ -2330,17 +2330,17 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2330
2330
|
cancelButtonText: "Cancel",
|
|
2331
2331
|
type: l,
|
|
2332
2332
|
...t
|
|
2333
|
-
}).then(({ value:
|
|
2333
|
+
}).then(({ value: h }) => {
|
|
2334
2334
|
if (i)
|
|
2335
2335
|
try {
|
|
2336
|
-
i(
|
|
2336
|
+
i(h);
|
|
2337
2337
|
} catch (s) {
|
|
2338
2338
|
this.alert(s.message, "error");
|
|
2339
2339
|
}
|
|
2340
2340
|
}).catch(() => {
|
|
2341
2341
|
});
|
|
2342
|
-
} catch (
|
|
2343
|
-
console.log(
|
|
2342
|
+
} catch (h) {
|
|
2343
|
+
console.log(h.message);
|
|
2344
2344
|
}
|
|
2345
2345
|
},
|
|
2346
2346
|
refField(e) {
|
|
@@ -2481,7 +2481,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2481
2481
|
this.emitAppendButtonClick();
|
|
2482
2482
|
else {
|
|
2483
2483
|
let t = "this.fieldEditor.$el.dispatchEvent(new Event('" + e.replace("on", "").toLowerCase() + "'));";
|
|
2484
|
-
new Function(...
|
|
2484
|
+
new Function(...C, t).call(this);
|
|
2485
2485
|
}
|
|
2486
2486
|
} catch (i) {
|
|
2487
2487
|
this.alert(i.message, "warning");
|
|
@@ -2512,9 +2512,9 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2512
2512
|
return le(e);
|
|
2513
2513
|
},
|
|
2514
2514
|
getAge(e, i = "YYYY-MM-DD") {
|
|
2515
|
-
let t = le(e, i), l = le(), r = l.diff(t, "year"),
|
|
2516
|
-
var u =
|
|
2517
|
-
return { ageOfYear: r, monthOfYear: u, ageOfMonth:
|
|
2515
|
+
let t = le(e, i), l = le(), r = l.diff(t, "year"), h = l.diff(t, "month"), s = l.diff(t, "day");
|
|
2516
|
+
var u = h % 12;
|
|
2517
|
+
return { ageOfYear: r, monthOfYear: u, ageOfMonth: h, ageOfDay: s };
|
|
2518
2518
|
},
|
|
2519
2519
|
genUidTime() {
|
|
2520
2520
|
return ge();
|
|
@@ -2589,14 +2589,14 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2589
2589
|
},
|
|
2590
2590
|
handleOnChange(e, i) {
|
|
2591
2591
|
try {
|
|
2592
|
-
this.field.options.onChange && new Function("value", "oldValue", ...
|
|
2592
|
+
this.field.options.onChange && new Function("value", "oldValue", ...C, this.field.options.onChange).call(this, e, i);
|
|
2593
2593
|
} catch (t) {
|
|
2594
2594
|
this.alert(t.message, "warning");
|
|
2595
2595
|
}
|
|
2596
2596
|
},
|
|
2597
2597
|
handleOnChangeForSubForm(e, i, t, l) {
|
|
2598
2598
|
try {
|
|
2599
|
-
this.field.options.onChange && new Function("value", "oldValue", "subFormData", "rowId", ...
|
|
2599
|
+
this.field.options.onChange && new Function("value", "oldValue", "subFormData", "rowId", ...C, this.field.options.onChange).call(this, e, i, t, l);
|
|
2600
2600
|
} catch (r) {
|
|
2601
2601
|
this.alert(r.message, "warning");
|
|
2602
2602
|
}
|
|
@@ -2701,8 +2701,8 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2701
2701
|
if (i === "" || !i)
|
|
2702
2702
|
t(new Error("Value is not valid"));
|
|
2703
2703
|
else {
|
|
2704
|
-
const l = this.getFormRef(), r = l.sdform && l.sdform._id ? l.sdform._id : null,
|
|
2705
|
-
this.globalUserState && this.globalUserState.crudCheckUnique ? this.globalUserState.crudCheckUnique({ dataId:
|
|
2704
|
+
const l = this.getFormRef(), r = l.sdform && l.sdform._id ? l.sdform._id : null, h = l.formData && l.formData._id ? l.formData._id : null, s = { providerId: r, providerType: "FORM" };
|
|
2705
|
+
this.globalUserState && this.globalUserState.crudCheckUnique ? this.globalUserState.crudCheckUnique({ dataId: h, sdProvider: s, fieldValue: i, fieldName: this.field.options.name }, t, this.field.options.label) : t(new Error("Api not found"));
|
|
2706
2706
|
}
|
|
2707
2707
|
},
|
|
2708
2708
|
buildFieldRules() {
|
|
@@ -2735,7 +2735,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2735
2735
|
}
|
|
2736
2736
|
if (this.field.options.onValidate)
|
|
2737
2737
|
try {
|
|
2738
|
-
let e = (i, t, l) => new Function("rule", "value", "callback", ...
|
|
2738
|
+
let e = (i, t, l) => new Function("rule", "value", "callback", ...C, this.field.options.onValidate).call(this, i, t, l);
|
|
2739
2739
|
this.rules.push({
|
|
2740
2740
|
validator: e,
|
|
2741
2741
|
trigger: [],
|
|
@@ -2748,21 +2748,21 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2748
2748
|
},
|
|
2749
2749
|
handleOnCreated() {
|
|
2750
2750
|
try {
|
|
2751
|
-
this.field.options.onCreated && new Function(...
|
|
2751
|
+
this.field.options.onCreated && new Function(...C, this.field.options.onCreated).call(this);
|
|
2752
2752
|
} catch (e) {
|
|
2753
2753
|
this.alert(e.message, "warning");
|
|
2754
2754
|
}
|
|
2755
2755
|
},
|
|
2756
2756
|
handleOnClear() {
|
|
2757
2757
|
try {
|
|
2758
|
-
this.handleChangeEvent(""), this.field.options.onClear && new Function(...
|
|
2758
|
+
this.handleChangeEvent(""), this.field.options.onClear && new Function(...C, this.field.options.onClear).call(this);
|
|
2759
2759
|
} catch (e) {
|
|
2760
2760
|
this.alert(e.message, "warning");
|
|
2761
2761
|
}
|
|
2762
2762
|
},
|
|
2763
2763
|
handleOnMounted() {
|
|
2764
2764
|
try {
|
|
2765
|
-
this.field.options.onMounted && new Function(...
|
|
2765
|
+
this.field.options.onMounted && new Function(...C, this.field.options.onMounted).call(this);
|
|
2766
2766
|
} catch (e) {
|
|
2767
2767
|
this.alert(e.message, "warning");
|
|
2768
2768
|
}
|
|
@@ -2797,28 +2797,28 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2797
2797
|
handleFocusCustomEvent(e) {
|
|
2798
2798
|
this.oldFieldValue = D(this.fieldValue);
|
|
2799
2799
|
try {
|
|
2800
|
-
this.field.options.onFocus && new Function("event", ...
|
|
2800
|
+
this.field.options.onFocus && new Function("event", ...C, this.field.options.onFocus).call(this, e);
|
|
2801
2801
|
} catch (i) {
|
|
2802
2802
|
this.alert(i.message, "warning");
|
|
2803
2803
|
}
|
|
2804
2804
|
},
|
|
2805
2805
|
handleBlurCustomEvent(e) {
|
|
2806
2806
|
try {
|
|
2807
|
-
this.enableValidate && this.dispatch("SdFormRender", "fieldValidation", [this.getPropName()]), this.field.options.onBlur && new Function("event", ...
|
|
2807
|
+
this.enableValidate && this.dispatch("SdFormRender", "fieldValidation", [this.getPropName()]), this.field.options.onBlur && new Function("event", ...C, this.field.options.onBlur).call(this, e);
|
|
2808
2808
|
} catch (i) {
|
|
2809
2809
|
this.alert(i.message, "warning");
|
|
2810
2810
|
}
|
|
2811
2811
|
},
|
|
2812
2812
|
handleAddTagEvent(e) {
|
|
2813
2813
|
try {
|
|
2814
|
-
this.enableValidate && this.dispatch("SdFormRender", "fieldValidation", [this.getPropName()]), this.field.options.onInput && new Function("value", ...
|
|
2814
|
+
this.enableValidate && this.dispatch("SdFormRender", "fieldValidation", [this.getPropName()]), this.field.options.onInput && new Function("value", ...C, this.field.options.onAddTag).call(this, e);
|
|
2815
2815
|
} catch (i) {
|
|
2816
2816
|
this.alert(i.message, "warning");
|
|
2817
2817
|
}
|
|
2818
2818
|
},
|
|
2819
2819
|
handleRemoveTagEvent(e) {
|
|
2820
2820
|
try {
|
|
2821
|
-
this.enableValidate && this.dispatch("SdFormRender", "fieldValidation", [this.getPropName()]), this.field.options.onInput && new Function("value", ...
|
|
2821
|
+
this.enableValidate && this.dispatch("SdFormRender", "fieldValidation", [this.getPropName()]), this.field.options.onInput && new Function("value", ...C, this.field.options.onRemoveTag).call(this, e);
|
|
2822
2822
|
} catch (i) {
|
|
2823
2823
|
this.alert(i.message, "warning");
|
|
2824
2824
|
}
|
|
@@ -2826,7 +2826,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2826
2826
|
handleInputCustomEvent(e) {
|
|
2827
2827
|
this.syncUpdateFormModel(e);
|
|
2828
2828
|
try {
|
|
2829
|
-
this.enableValidate && this.dispatch("SdFormRender", "fieldValidation", [this.getPropName()]), this.field.options.onInput && new Function("value", ...
|
|
2829
|
+
this.enableValidate && this.dispatch("SdFormRender", "fieldValidation", [this.getPropName()]), this.field.options.onInput && new Function("value", ...C, this.field.options.onInput).call(this, e);
|
|
2830
2830
|
} catch (i) {
|
|
2831
2831
|
this.alert(i.message, "warning");
|
|
2832
2832
|
}
|
|
@@ -2842,7 +2842,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2842
2842
|
try {
|
|
2843
2843
|
if (this.field.options.onAppendButtonClick)
|
|
2844
2844
|
try {
|
|
2845
|
-
new Function(...
|
|
2845
|
+
new Function(...C, this.field.options.onAppendButtonClick).call(this);
|
|
2846
2846
|
} catch (e) {
|
|
2847
2847
|
this.alert(e.message, "warning");
|
|
2848
2848
|
}
|
|
@@ -2861,7 +2861,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2861
2861
|
},
|
|
2862
2862
|
remoteQuery(e) {
|
|
2863
2863
|
try {
|
|
2864
|
-
this.field.options.onRemoteQuery && new Function("keyword", ...
|
|
2864
|
+
this.field.options.onRemoteQuery && new Function("keyword", ...C, this.field.options.onRemoteQuery).call(this, e);
|
|
2865
2865
|
} catch (i) {
|
|
2866
2866
|
this.alert(i.message, "warning");
|
|
2867
2867
|
}
|
|
@@ -2869,7 +2869,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2869
2869
|
handleButtonWidgetClick() {
|
|
2870
2870
|
if (!this.builderStatus)
|
|
2871
2871
|
try {
|
|
2872
|
-
this.field.options.onClick ? new Function(...
|
|
2872
|
+
this.field.options.onClick ? new Function(...C, this.field.options.onClick).call(this) : this.dispatch("SdFormRender", "buttonClick", [this]);
|
|
2873
2873
|
} catch (e) {
|
|
2874
2874
|
this.alert(e.message, "warning");
|
|
2875
2875
|
}
|
|
@@ -2973,7 +2973,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2973
2973
|
}
|
|
2974
2974
|
}
|
|
2975
2975
|
}
|
|
2976
|
-
}), No =
|
|
2976
|
+
}), No = I({
|
|
2977
2977
|
name: "alert-ui",
|
|
2978
2978
|
typeName: "FormField",
|
|
2979
2979
|
components: {
|
|
@@ -2997,7 +2997,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2997
2997
|
methods: {
|
|
2998
2998
|
handleOnClose(e) {
|
|
2999
2999
|
try {
|
|
3000
|
-
this.field.options.onClose && new Function("event", ...
|
|
3000
|
+
this.field.options.onClose && new Function("event", ...C, this.field.options.onClose).call(this, e);
|
|
3001
3001
|
} catch (i) {
|
|
3002
3002
|
this.alert(i.message, "warning");
|
|
3003
3003
|
}
|
|
@@ -3007,7 +3007,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
3007
3007
|
this.unregisterFromRefList();
|
|
3008
3008
|
}
|
|
3009
3009
|
});
|
|
3010
|
-
function Ho(e, i, t, l, r,
|
|
3010
|
+
function Ho(e, i, t, l, r, h) {
|
|
3011
3011
|
const s = He, u = L;
|
|
3012
3012
|
return o(), d(u, {
|
|
3013
3013
|
"build-rules": e.rules,
|
|
@@ -3043,7 +3043,7 @@ function Ho(e, i, t, l, r, c) {
|
|
|
3043
3043
|
const Wo = /* @__PURE__ */ R(No, [["render", Ho], ["__scopeId", "data-v-cd17f1da"]]), qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3044
3044
|
__proto__: null,
|
|
3045
3045
|
default: Wo
|
|
3046
|
-
}, Symbol.toStringTag, { value: "Module" })), Go =
|
|
3046
|
+
}, Symbol.toStringTag, { value: "Module" })), Go = I({
|
|
3047
3047
|
name: "apexchart-ui",
|
|
3048
3048
|
typeName: "FormField",
|
|
3049
3049
|
components: {
|
|
@@ -3080,7 +3080,7 @@ const Wo = /* @__PURE__ */ R(No, [["render", Ho], ["__scopeId", "data-v-cd17f1da
|
|
|
3080
3080
|
methods: {
|
|
3081
3081
|
clickEvent(e, i) {
|
|
3082
3082
|
try {
|
|
3083
|
-
return this.field.options.clickEvent ? new Function("row", "index", ...
|
|
3083
|
+
return this.field.options.clickEvent ? new Function("row", "index", ...C, this.field.options.clickEvent).call(this, e, i) : !0;
|
|
3084
3084
|
} catch (t) {
|
|
3085
3085
|
return this.alert(t.message, "warning"), !1;
|
|
3086
3086
|
}
|
|
@@ -3090,7 +3090,7 @@ const Wo = /* @__PURE__ */ R(No, [["render", Ho], ["__scopeId", "data-v-cd17f1da
|
|
|
3090
3090
|
this.unregisterFromRefList();
|
|
3091
3091
|
}
|
|
3092
3092
|
});
|
|
3093
|
-
function Jo(e, i, t, l, r,
|
|
3093
|
+
function Jo(e, i, t, l, r, h) {
|
|
3094
3094
|
const s = Fi, u = L;
|
|
3095
3095
|
return o(), d(u, {
|
|
3096
3096
|
"build-rules": e.rules,
|
|
@@ -3154,7 +3154,7 @@ function Jo(e, i, t, l, r, c) {
|
|
|
3154
3154
|
const Ko = /* @__PURE__ */ R(Go, [["render", Jo], ["__scopeId", "data-v-d1bf8e60"]]), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3155
3155
|
__proto__: null,
|
|
3156
3156
|
default: Ko
|
|
3157
|
-
}, Symbol.toStringTag, { value: "Module" })), Me =
|
|
3157
|
+
}, Symbol.toStringTag, { value: "Module" })), Me = I({
|
|
3158
3158
|
name: "FormItemWrapper",
|
|
3159
3159
|
components: {},
|
|
3160
3160
|
mixins: [oi],
|
|
@@ -3167,12 +3167,12 @@ const Ko = /* @__PURE__ */ R(Go, [["render", Jo], ["__scopeId", "data-v-d1bf8e60
|
|
|
3167
3167
|
container: "#e6a23c"
|
|
3168
3168
|
};
|
|
3169
3169
|
return e.field.category != null ? f[e.field.category] : "#409EFF";
|
|
3170
|
-
}), t = N("getFormConfig"), l = N("annotated"), r = N("refList"),
|
|
3170
|
+
}), t = N("getFormConfig"), l = N("annotated"), r = N("refList"), h = Y(() => t()), s = Y(() => !(r && r[e.field.options.name])), u = Y(() => e.field.options.labelHidden ? "" : e.field.options.label), p = Y(() => e.field.options.size != null ? e.field.options.size : e.builder.formConfig.size), g = Y(() => e.field.options.labelHidden ? 0 : e.field.options.labelWidth ? e.field.options.labelWidth : e.builder ? e.builder.formConfig.labelWidth : h.value.labelWidth), w = Y(() => e.field.options.labelAlign ? e.field.options.labelAlign : e.builder ? e.builder.formConfig.labelAlign || "label-left-align" : h.value.labelAlign || "label-left-align"), $ = Y(() => e.parentField ? e.parentField.options.name : ""), n = Y(() => e.parentField ? e.parentField.component === "sub-form" : !1);
|
|
3171
3171
|
return {
|
|
3172
|
-
formConfig:
|
|
3172
|
+
formConfig: h,
|
|
3173
3173
|
label: u,
|
|
3174
3174
|
labelWidth: g,
|
|
3175
|
-
labelAlign:
|
|
3175
|
+
labelAlign: w,
|
|
3176
3176
|
subFormName: $,
|
|
3177
3177
|
subFormItemFlag: n,
|
|
3178
3178
|
widgetSize: p,
|
|
@@ -3199,9 +3199,9 @@ const Qo = ["data-id"], Yo = {
|
|
|
3199
3199
|
key: 1,
|
|
3200
3200
|
class: "drag-handler background-opacity"
|
|
3201
3201
|
}, _o = { title: "Drag" }, xo = { key: 0 }, el = { key: 1 };
|
|
3202
|
-
function il(e, i, t, l, r,
|
|
3202
|
+
function il(e, i, t, l, r, h) {
|
|
3203
3203
|
const s = U, u = ee, p = we, g = We;
|
|
3204
|
-
return o(),
|
|
3204
|
+
return o(), c("div", {
|
|
3205
3205
|
class: y(["field-wrapper", { "builder-time-bottom-margin": !!e.builder }]),
|
|
3206
3206
|
"data-id": e.field.options.name
|
|
3207
3207
|
}, [
|
|
@@ -3214,17 +3214,17 @@ function il(e, i, t, l, r, c) {
|
|
|
3214
3214
|
rules: e.buildRules,
|
|
3215
3215
|
prop: e.getPropName(),
|
|
3216
3216
|
class: y([e.selected ? "selected" : "", e.labelAlign, e.customClass, e.field.options.required ? "required" : "", e.field.options.labelHidden ? "label-hide" : ""]),
|
|
3217
|
-
onClick: i[0] || (i[0] = z((
|
|
3217
|
+
onClick: i[0] || (i[0] = z((w) => e.selectField(e.field), ["stop"]))
|
|
3218
3218
|
}, {
|
|
3219
3219
|
label: a(() => [
|
|
3220
|
-
e.field.options.labelHidden ? b("", !0) : (o(),
|
|
3221
|
-
e.field.options.labelIconClass ? (o(),
|
|
3220
|
+
e.field.options.labelHidden ? b("", !0) : (o(), c(F, { key: 0 }, [
|
|
3221
|
+
e.field.options.labelIconClass ? (o(), c("span", {
|
|
3222
3222
|
key: 0,
|
|
3223
3223
|
class: "custom-label",
|
|
3224
3224
|
style: j({ color: e.field.options.labelColor })
|
|
3225
3225
|
}, [
|
|
3226
|
-
e.field.options.labelIconPosition === "front" ? (o(),
|
|
3227
|
-
e.field.options.labelTooltip ? (o(),
|
|
3226
|
+
e.field.options.labelIconPosition === "front" ? (o(), c(F, { key: 0 }, [
|
|
3227
|
+
e.field.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
3228
3228
|
m(u, {
|
|
3229
3229
|
content: e.field.options.labelTooltip
|
|
3230
3230
|
}, {
|
|
@@ -3238,7 +3238,7 @@ function il(e, i, t, l, r, c) {
|
|
|
3238
3238
|
_: 1
|
|
3239
3239
|
}, 8, ["content"]),
|
|
3240
3240
|
E(" " + v(e.label), 1)
|
|
3241
|
-
], 64)) : (o(),
|
|
3241
|
+
], 64)) : (o(), c(F, { key: 1 }, [
|
|
3242
3242
|
m(s, {
|
|
3243
3243
|
"icon-name": e.field.options.labelIconClass,
|
|
3244
3244
|
class: "mr-1",
|
|
@@ -3246,8 +3246,8 @@ function il(e, i, t, l, r, c) {
|
|
|
3246
3246
|
}, null, 8, ["icon-name"]),
|
|
3247
3247
|
E(v(e.label), 1)
|
|
3248
3248
|
], 64))
|
|
3249
|
-
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(),
|
|
3250
|
-
e.field.options.labelTooltip ? (o(),
|
|
3249
|
+
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
3250
|
+
e.field.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
3251
3251
|
E(v(e.label) + " ", 1),
|
|
3252
3252
|
m(u, {
|
|
3253
3253
|
content: e.field.options.labelTooltip
|
|
@@ -3261,7 +3261,7 @@ function il(e, i, t, l, r, c) {
|
|
|
3261
3261
|
]),
|
|
3262
3262
|
_: 1
|
|
3263
3263
|
}, 8, ["content"])
|
|
3264
|
-
], 64)) : (o(),
|
|
3264
|
+
], 64)) : (o(), c(F, { key: 1 }, [
|
|
3265
3265
|
E(v(e.label) + " ", 1),
|
|
3266
3266
|
m(s, {
|
|
3267
3267
|
"icon-name": e.field.options.labelIconClass,
|
|
@@ -3270,7 +3270,7 @@ function il(e, i, t, l, r, c) {
|
|
|
3270
3270
|
}, null, 8, ["icon-name"])
|
|
3271
3271
|
], 64))
|
|
3272
3272
|
], 64)) : b("", !0)
|
|
3273
|
-
], 4)) : e.field.options.labelColor ? (o(),
|
|
3273
|
+
], 4)) : e.field.options.labelColor ? (o(), c("span", {
|
|
3274
3274
|
key: 1,
|
|
3275
3275
|
class: "custom-label",
|
|
3276
3276
|
style: j({ color: e.field.options.labelColor })
|
|
@@ -3294,48 +3294,48 @@ function il(e, i, t, l, r, c) {
|
|
|
3294
3294
|
]),
|
|
3295
3295
|
_: 3
|
|
3296
3296
|
}, 8, ["label", "label-width", "title", "size", "rules", "prop", "class"])) : b("", !0),
|
|
3297
|
-
e.builder ? (o(),
|
|
3298
|
-
e.builder.selectedId === e.field.id ? (o(),
|
|
3297
|
+
e.builder ? (o(), c(F, { key: 1 }, [
|
|
3298
|
+
e.builder.selectedId === e.field.id ? (o(), c("div", Yo, [
|
|
3299
3299
|
S("i", {
|
|
3300
3300
|
title: "Select Parent",
|
|
3301
|
-
onClick: i[1] || (i[1] = z((
|
|
3301
|
+
onClick: i[1] || (i[1] = z((w) => e.selectParentField(), ["stop"]))
|
|
3302
3302
|
}, [
|
|
3303
3303
|
m(s, { "icon-name": "addon-select-parent" })
|
|
3304
3304
|
]),
|
|
3305
|
-
e.parentList && e.parentList.length > 1 ? (o(),
|
|
3305
|
+
e.parentList && e.parentList.length > 1 ? (o(), c("i", {
|
|
3306
3306
|
key: 0,
|
|
3307
3307
|
title: "Move Up",
|
|
3308
|
-
onClick: i[2] || (i[2] = z((
|
|
3308
|
+
onClick: i[2] || (i[2] = z((w) => e.moveUpField(), ["stop"]))
|
|
3309
3309
|
}, [
|
|
3310
3310
|
m(s, { "icon-name": "el-top" })
|
|
3311
3311
|
])) : b("", !0),
|
|
3312
|
-
e.parentList && e.parentList.length > 1 ? (o(),
|
|
3312
|
+
e.parentList && e.parentList.length > 1 ? (o(), c("i", {
|
|
3313
3313
|
key: 1,
|
|
3314
3314
|
title: "Move Down",
|
|
3315
|
-
onClick: i[3] || (i[3] = z((
|
|
3315
|
+
onClick: i[3] || (i[3] = z((w) => e.moveDownField(), ["stop"]))
|
|
3316
3316
|
}, [
|
|
3317
3317
|
m(s, { "icon-name": "el-bottom" })
|
|
3318
3318
|
])) : b("", !0),
|
|
3319
3319
|
S("i", {
|
|
3320
3320
|
title: "Clone",
|
|
3321
|
-
onClick: i[4] || (i[4] = z((
|
|
3321
|
+
onClick: i[4] || (i[4] = z((w) => e.cloneFields(e.field), ["stop"]))
|
|
3322
3322
|
}, [
|
|
3323
3323
|
m(s, { "icon-name": "el-copy-document" })
|
|
3324
3324
|
]),
|
|
3325
3325
|
S("i", {
|
|
3326
3326
|
title: "Add Library",
|
|
3327
|
-
onClick: i[5] || (i[5] = z((
|
|
3327
|
+
onClick: i[5] || (i[5] = z((w) => e.addLibFields(e.field), ["stop"]))
|
|
3328
3328
|
}, [
|
|
3329
3329
|
m(s, { "icon-name": "addon-library" })
|
|
3330
3330
|
]),
|
|
3331
3331
|
S("i", {
|
|
3332
3332
|
title: "Remove",
|
|
3333
|
-
onClick: i[6] || (i[6] = z((...
|
|
3333
|
+
onClick: i[6] || (i[6] = z((...w) => e.removeField && e.removeField(...w), ["stop"]))
|
|
3334
3334
|
}, [
|
|
3335
3335
|
m(s, { "icon-name": "el-delete" })
|
|
3336
3336
|
])
|
|
3337
3337
|
])) : b("", !0),
|
|
3338
|
-
e.builder.selectedId === e.field.id ? (o(),
|
|
3338
|
+
e.builder.selectedId === e.field.id ? (o(), c("div", Xo, [
|
|
3339
3339
|
S("i", _o, [
|
|
3340
3340
|
m(s, {
|
|
3341
3341
|
"icon-name": "el-rank",
|
|
@@ -3343,14 +3343,14 @@ function il(e, i, t, l, r, c) {
|
|
|
3343
3343
|
})
|
|
3344
3344
|
]),
|
|
3345
3345
|
S("i", null, v(e.field.name ? e.field.name : e.field.component), 1),
|
|
3346
|
-
e.field.options.hidden === !0 ? (o(),
|
|
3346
|
+
e.field.options.hidden === !0 ? (o(), c("i", xo, [
|
|
3347
3347
|
m(s, {
|
|
3348
3348
|
"icon-name": "el-hide",
|
|
3349
3349
|
size: "14px",
|
|
3350
3350
|
style: { color: "var(--el-color-warning)" }
|
|
3351
3351
|
})
|
|
3352
3352
|
])) : b("", !0),
|
|
3353
|
-
e.registerRefError ? (o(),
|
|
3353
|
+
e.registerRefError ? (o(), c("i", el, [
|
|
3354
3354
|
m(u, { content: "Can't register RefInput, Create a new one or refresh the screen." }, {
|
|
3355
3355
|
default: a(() => [
|
|
3356
3356
|
m(s, {
|
|
@@ -3366,7 +3366,7 @@ function il(e, i, t, l, r, c) {
|
|
|
3366
3366
|
], 64)) : b("", !0)
|
|
3367
3367
|
], 10, Qo);
|
|
3368
3368
|
}
|
|
3369
|
-
const M = /* @__PURE__ */ R(Me, [["render", il], ["__scopeId", "data-v-0cb4e76b"]]), tl =
|
|
3369
|
+
const M = /* @__PURE__ */ R(Me, [["render", il], ["__scopeId", "data-v-0cb4e76b"]]), tl = I({
|
|
3370
3370
|
name: "autonumber-input",
|
|
3371
3371
|
typeName: "FormField",
|
|
3372
3372
|
components: {
|
|
@@ -3404,7 +3404,7 @@ const M = /* @__PURE__ */ R(Me, [["render", il], ["__scopeId", "data-v-0cb4e76b"
|
|
|
3404
3404
|
this.unregisterFromRefList();
|
|
3405
3405
|
}
|
|
3406
3406
|
});
|
|
3407
|
-
function ol(e, i, t, l, r,
|
|
3407
|
+
function ol(e, i, t, l, r, h) {
|
|
3408
3408
|
const s = U, u = ae, p = M;
|
|
3409
3409
|
return o(), d(p, {
|
|
3410
3410
|
"build-rules": e.rules,
|
|
@@ -3476,7 +3476,7 @@ function ol(e, i, t, l, r, c) {
|
|
|
3476
3476
|
const ll = /* @__PURE__ */ R(tl, [["render", ol]]), nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3477
3477
|
__proto__: null,
|
|
3478
3478
|
default: ll
|
|
3479
|
-
}, Symbol.toStringTag, { value: "Module" })), sl =
|
|
3479
|
+
}, Symbol.toStringTag, { value: "Module" })), sl = I({
|
|
3480
3480
|
name: "avatar-ui",
|
|
3481
3481
|
typeName: "FormField",
|
|
3482
3482
|
components: {
|
|
@@ -3500,7 +3500,7 @@ const ll = /* @__PURE__ */ R(tl, [["render", ol]]), nl = /* @__PURE__ */ Object.
|
|
|
3500
3500
|
methods: {
|
|
3501
3501
|
handleOnError(e) {
|
|
3502
3502
|
try {
|
|
3503
|
-
this.field.options.onError && new Function("event", ...
|
|
3503
|
+
this.field.options.onError && new Function("event", ...C, this.field.options.onError).call(this, e);
|
|
3504
3504
|
} catch (i) {
|
|
3505
3505
|
this.alert(i.message, "warning");
|
|
3506
3506
|
}
|
|
@@ -3510,7 +3510,7 @@ const ll = /* @__PURE__ */ R(tl, [["render", ol]]), nl = /* @__PURE__ */ Object.
|
|
|
3510
3510
|
this.unregisterFromRefList();
|
|
3511
3511
|
}
|
|
3512
3512
|
});
|
|
3513
|
-
function rl(e, i, t, l, r,
|
|
3513
|
+
function rl(e, i, t, l, r, h) {
|
|
3514
3514
|
const s = Ki, u = L;
|
|
3515
3515
|
return o(), d(u, {
|
|
3516
3516
|
"build-rules": e.rules,
|
|
@@ -3545,7 +3545,7 @@ function rl(e, i, t, l, r, c) {
|
|
|
3545
3545
|
const dl = /* @__PURE__ */ R(sl, [["render", rl], ["__scopeId", "data-v-5d2fdf46"]]), al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3546
3546
|
__proto__: null,
|
|
3547
3547
|
default: dl
|
|
3548
|
-
}, Symbol.toStringTag, { value: "Module" })), fl =
|
|
3548
|
+
}, Symbol.toStringTag, { value: "Module" })), fl = I({
|
|
3549
3549
|
name: "btn-editor-input",
|
|
3550
3550
|
typeName: "FormField",
|
|
3551
3551
|
components: {
|
|
@@ -3610,9 +3610,9 @@ const dl = /* @__PURE__ */ R(sl, [["render", rl], ["__scopeId", "data-v-5d2fdf46
|
|
|
3610
3610
|
role: "heading",
|
|
3611
3611
|
class: "el-dialog__title"
|
|
3612
3612
|
}, ml = { class: "dialog-footer" };
|
|
3613
|
-
function hl(e, i, t, l, r,
|
|
3614
|
-
const s = U, u = G, p = Be, g = qe,
|
|
3615
|
-
return o(), d(
|
|
3613
|
+
function hl(e, i, t, l, r, h) {
|
|
3614
|
+
const s = U, u = G, p = Be, g = qe, w = M;
|
|
3615
|
+
return o(), d(w, {
|
|
3616
3616
|
"build-rules": e.rules,
|
|
3617
3617
|
field: e.field,
|
|
3618
3618
|
builder: e.builder,
|
|
@@ -3658,7 +3658,7 @@ function hl(e, i, t, l, r, c) {
|
|
|
3658
3658
|
]),
|
|
3659
3659
|
_: 1
|
|
3660
3660
|
}, 8, ["type", "onClick", "size", "disabled"]),
|
|
3661
|
-
e.showPopupFlag ? (o(),
|
|
3661
|
+
e.showPopupFlag ? (o(), c("div", ul, [
|
|
3662
3662
|
m(g, {
|
|
3663
3663
|
title: "Crop Picture",
|
|
3664
3664
|
modelValue: e.showPopupFlag,
|
|
@@ -3713,7 +3713,7 @@ function hl(e, i, t, l, r, c) {
|
|
|
3713
3713
|
const cl = /* @__PURE__ */ R(fl, [["render", hl]]), bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3714
3714
|
__proto__: null,
|
|
3715
3715
|
default: cl
|
|
3716
|
-
}, Symbol.toStringTag, { value: "Module" })), gl =
|
|
3716
|
+
}, Symbol.toStringTag, { value: "Module" })), gl = I({
|
|
3717
3717
|
name: "button-ui",
|
|
3718
3718
|
typeName: "FormField",
|
|
3719
3719
|
components: {
|
|
@@ -3745,7 +3745,7 @@ const cl = /* @__PURE__ */ R(fl, [["render", hl]]), bl = /* @__PURE__ */ Object.
|
|
|
3745
3745
|
try {
|
|
3746
3746
|
if (e.onClick)
|
|
3747
3747
|
try {
|
|
3748
|
-
new Function("btn", "index", ...
|
|
3748
|
+
new Function("btn", "index", ...C, e.onClick).call(this, e, i);
|
|
3749
3749
|
} catch (t) {
|
|
3750
3750
|
this.alert(t.message, "warning");
|
|
3751
3751
|
}
|
|
@@ -3760,8 +3760,8 @@ const cl = /* @__PURE__ */ R(fl, [["render", hl]]), bl = /* @__PURE__ */ Object.
|
|
|
3760
3760
|
this.unregisterFromRefList();
|
|
3761
3761
|
}
|
|
3762
3762
|
});
|
|
3763
|
-
function Fl(e, i, t, l, r,
|
|
3764
|
-
const s = U, u = G, p = fe, g = Zi,
|
|
3763
|
+
function Fl(e, i, t, l, r, h) {
|
|
3764
|
+
const s = U, u = G, p = fe, g = Zi, w = Qi, $ = L;
|
|
3765
3765
|
return o(), d($, {
|
|
3766
3766
|
"build-rules": e.rules,
|
|
3767
3767
|
field: e.field,
|
|
@@ -3776,13 +3776,13 @@ function Fl(e, i, t, l, r, c) {
|
|
|
3776
3776
|
"sub-form-row-id": e.subFormRowId
|
|
3777
3777
|
}, {
|
|
3778
3778
|
default: a(() => [
|
|
3779
|
-
(o(),
|
|
3779
|
+
(o(), c("div", {
|
|
3780
3780
|
ref: "fieldEditor",
|
|
3781
3781
|
key: e.field.id
|
|
3782
3782
|
}, [
|
|
3783
3783
|
e.field.options.buttonGroup ? (o(), d(g, { key: 0 }, {
|
|
3784
3784
|
default: a(() => [
|
|
3785
|
-
e.field.options.buttons && Object.keys(e.field.options.buttons).length > 0 ? (o(!0),
|
|
3785
|
+
e.field.options.buttons && Object.keys(e.field.options.buttons).length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.options.buttons, (n, f) => (o(), c(F, null, [
|
|
3786
3786
|
n.confirm ? (o(), d(p, {
|
|
3787
3787
|
key: 0,
|
|
3788
3788
|
title: n.confirmTitle,
|
|
@@ -3851,9 +3851,9 @@ function Fl(e, i, t, l, r, c) {
|
|
|
3851
3851
|
], 64))), 256)) : b("", !0)
|
|
3852
3852
|
]),
|
|
3853
3853
|
_: 1
|
|
3854
|
-
})) : (o(),
|
|
3855
|
-
e.field.options.buttons && Object.keys(e.field.options.buttons).length > 0 ? (o(!0),
|
|
3856
|
-
n.badge ? (o(), d(
|
|
3854
|
+
})) : (o(), c(F, { key: 1 }, [
|
|
3855
|
+
e.field.options.buttons && Object.keys(e.field.options.buttons).length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.options.buttons, (n, f) => (o(), c(F, null, [
|
|
3856
|
+
n.badge ? (o(), d(w, {
|
|
3857
3857
|
key: 0,
|
|
3858
3858
|
value: n.badge,
|
|
3859
3859
|
max: n.badgeMax,
|
|
@@ -3967,7 +3967,7 @@ function Fl(e, i, t, l, r, c) {
|
|
|
3967
3967
|
const yl = /* @__PURE__ */ R(gl, [["render", Fl], ["__scopeId", "data-v-6ab688c8"]]), vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3968
3968
|
__proto__: null,
|
|
3969
3969
|
default: yl
|
|
3970
|
-
}, Symbol.toStringTag, { value: "Module" })), wl =
|
|
3970
|
+
}, Symbol.toStringTag, { value: "Module" })), wl = I({
|
|
3971
3971
|
name: "carousel-ui",
|
|
3972
3972
|
typeName: "FormField",
|
|
3973
3973
|
components: {
|
|
@@ -4022,7 +4022,7 @@ const yl = /* @__PURE__ */ R(gl, [["render", Fl], ["__scopeId", "data-v-6ab688c8
|
|
|
4022
4022
|
methods: {
|
|
4023
4023
|
clickEvent(e, i) {
|
|
4024
4024
|
try {
|
|
4025
|
-
return this.field.options.clickEvent ? new Function("row", "index", ...
|
|
4025
|
+
return this.field.options.clickEvent ? new Function("row", "index", ...C, this.field.options.clickEvent).call(this, e, i) : !0;
|
|
4026
4026
|
} catch (t) {
|
|
4027
4027
|
return this.alert(t.message, "warning"), !1;
|
|
4028
4028
|
}
|
|
@@ -4032,7 +4032,7 @@ const yl = /* @__PURE__ */ R(gl, [["render", Fl], ["__scopeId", "data-v-6ab688c8
|
|
|
4032
4032
|
this.unregisterFromRefList();
|
|
4033
4033
|
}
|
|
4034
4034
|
});
|
|
4035
|
-
function Cl(e, i, t, l, r,
|
|
4035
|
+
function Cl(e, i, t, l, r, h) {
|
|
4036
4036
|
const s = vi, u = L;
|
|
4037
4037
|
return o(), d(u, {
|
|
4038
4038
|
"build-rules": e.rules,
|
|
@@ -4088,7 +4088,7 @@ function Cl(e, i, t, l, r, c) {
|
|
|
4088
4088
|
const Il = /* @__PURE__ */ R(wl, [["render", Cl], ["__scopeId", "data-v-fb5896ff"]]), Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4089
4089
|
__proto__: null,
|
|
4090
4090
|
default: Il
|
|
4091
|
-
}, Symbol.toStringTag, { value: "Module" })), Rl =
|
|
4091
|
+
}, Symbol.toStringTag, { value: "Module" })), Rl = I({
|
|
4092
4092
|
name: "chart-ui",
|
|
4093
4093
|
typeName: "FormField",
|
|
4094
4094
|
components: {
|
|
@@ -4125,7 +4125,7 @@ const Il = /* @__PURE__ */ R(wl, [["render", Cl], ["__scopeId", "data-v-fb5896ff
|
|
|
4125
4125
|
methods: {
|
|
4126
4126
|
clickEvent(e, i) {
|
|
4127
4127
|
try {
|
|
4128
|
-
return this.field.options.clickEvent ? new Function("row", "index", ...
|
|
4128
|
+
return this.field.options.clickEvent ? new Function("row", "index", ...C, this.field.options.clickEvent).call(this, e, i) : !0;
|
|
4129
4129
|
} catch (t) {
|
|
4130
4130
|
return this.alert(t.message, "warning"), !1;
|
|
4131
4131
|
}
|
|
@@ -4135,7 +4135,7 @@ const Il = /* @__PURE__ */ R(wl, [["render", Cl], ["__scopeId", "data-v-fb5896ff
|
|
|
4135
4135
|
this.unregisterFromRefList();
|
|
4136
4136
|
}
|
|
4137
4137
|
});
|
|
4138
|
-
function Ml(e, i, t, l, r,
|
|
4138
|
+
function Ml(e, i, t, l, r, h) {
|
|
4139
4139
|
const s = wi, u = L;
|
|
4140
4140
|
return o(), d(u, {
|
|
4141
4141
|
"build-rules": e.rules,
|
|
@@ -4196,7 +4196,7 @@ function Ml(e, i, t, l, r, c) {
|
|
|
4196
4196
|
const Ol = /* @__PURE__ */ R(Rl, [["render", Ml], ["__scopeId", "data-v-c0f6576e"]]), kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4197
4197
|
__proto__: null,
|
|
4198
4198
|
default: Ol
|
|
4199
|
-
}, Symbol.toStringTag, { value: "Module" })), Pl =
|
|
4199
|
+
}, Symbol.toStringTag, { value: "Module" })), Pl = I({
|
|
4200
4200
|
name: "checkbox-input",
|
|
4201
4201
|
typeName: "FormField",
|
|
4202
4202
|
components: {
|
|
@@ -4232,8 +4232,8 @@ const Ol = /* @__PURE__ */ R(Rl, [["render", Ml], ["__scopeId", "data-v-c0f6576e
|
|
|
4232
4232
|
this.unregisterFromRefList();
|
|
4233
4233
|
}
|
|
4234
4234
|
});
|
|
4235
|
-
function $l(e, i, t, l, r,
|
|
4236
|
-
const s = Xi, u = _i, p = re, g = de,
|
|
4235
|
+
function $l(e, i, t, l, r, h) {
|
|
4236
|
+
const s = Xi, u = _i, p = re, g = de, w = Yi, $ = M;
|
|
4237
4237
|
return o(), d($, {
|
|
4238
4238
|
"build-rules": e.rules,
|
|
4239
4239
|
field: e.field,
|
|
@@ -4247,7 +4247,7 @@ function $l(e, i, t, l, r, c) {
|
|
|
4247
4247
|
"sub-form-row-id": e.subFormRowId
|
|
4248
4248
|
}, {
|
|
4249
4249
|
default: a(() => [
|
|
4250
|
-
m(
|
|
4250
|
+
m(w, {
|
|
4251
4251
|
ref: "fieldEditor",
|
|
4252
4252
|
modelValue: e.fieldValue,
|
|
4253
4253
|
"onUpdate:modelValue": i[0] || (i[0] = (n) => e.fieldValue = n),
|
|
@@ -4260,7 +4260,7 @@ function $l(e, i, t, l, r, c) {
|
|
|
4260
4260
|
style: { width: "100%" }
|
|
4261
4261
|
}, {
|
|
4262
4262
|
default: a(() => [
|
|
4263
|
-
e.field.options.buttonStyle ? (o(!0),
|
|
4263
|
+
e.field.options.buttonStyle ? (o(!0), c(F, { key: 0 }, T(e.field.options.optionItems, (n, f) => (o(), d(s, {
|
|
4264
4264
|
key: f,
|
|
4265
4265
|
value: n.value,
|
|
4266
4266
|
disabled: n.disabled,
|
|
@@ -4271,10 +4271,10 @@ function $l(e, i, t, l, r, c) {
|
|
|
4271
4271
|
E(v(n.label), 1)
|
|
4272
4272
|
]),
|
|
4273
4273
|
_: 2
|
|
4274
|
-
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(),
|
|
4274
|
+
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(), c(F, { key: 1 }, [
|
|
4275
4275
|
e.field.options.showCol && e.field.options.showCol > 0 ? (o(), d(g, { key: 0 }, {
|
|
4276
4276
|
default: a(() => [
|
|
4277
|
-
(o(!0),
|
|
4277
|
+
(o(!0), c(F, null, T(e.field.options.optionItems, (n, f) => (o(), d(p, {
|
|
4278
4278
|
span: e.field.options.showCol
|
|
4279
4279
|
}, {
|
|
4280
4280
|
default: a(() => [
|
|
@@ -4295,7 +4295,7 @@ function $l(e, i, t, l, r, c) {
|
|
|
4295
4295
|
}, 1032, ["span"]))), 256))
|
|
4296
4296
|
]),
|
|
4297
4297
|
_: 1
|
|
4298
|
-
})) : (o(!0),
|
|
4298
|
+
})) : (o(!0), c(F, { key: 1 }, T(e.field.options.optionItems, (n, f) => (o(), d(u, {
|
|
4299
4299
|
key: f,
|
|
4300
4300
|
value: n.value,
|
|
4301
4301
|
disabled: n.disabled,
|
|
@@ -4318,7 +4318,7 @@ function $l(e, i, t, l, r, c) {
|
|
|
4318
4318
|
const El = /* @__PURE__ */ R(Pl, [["render", $l], ["__scopeId", "data-v-41c9d41a"]]), Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4319
4319
|
__proto__: null,
|
|
4320
4320
|
default: El
|
|
4321
|
-
}, Symbol.toStringTag, { value: "Module" })), jl =
|
|
4321
|
+
}, Symbol.toStringTag, { value: "Module" })), jl = I({
|
|
4322
4322
|
name: "code-input",
|
|
4323
4323
|
typeName: "FormField",
|
|
4324
4324
|
components: {
|
|
@@ -4360,7 +4360,7 @@ const El = /* @__PURE__ */ R(Pl, [["render", $l], ["__scopeId", "data-v-41c9d41a
|
|
|
4360
4360
|
this.unregisterFromRefList();
|
|
4361
4361
|
}
|
|
4362
4362
|
});
|
|
4363
|
-
function Dl(e, i, t, l, r,
|
|
4363
|
+
function Dl(e, i, t, l, r, h) {
|
|
4364
4364
|
const s = Ci, u = M;
|
|
4365
4365
|
return o(), d(u, {
|
|
4366
4366
|
"build-rules": e.rules,
|
|
@@ -4406,7 +4406,7 @@ function Dl(e, i, t, l, r, c) {
|
|
|
4406
4406
|
const Tl = /* @__PURE__ */ R(jl, [["render", Dl], ["__scopeId", "data-v-300c6300"]]), Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4407
4407
|
__proto__: null,
|
|
4408
4408
|
default: Tl
|
|
4409
|
-
}, Symbol.toStringTag, { value: "Module" })), zl =
|
|
4409
|
+
}, Symbol.toStringTag, { value: "Module" })), zl = I({
|
|
4410
4410
|
name: "color-input",
|
|
4411
4411
|
typeName: "FormField",
|
|
4412
4412
|
components: {
|
|
@@ -4444,7 +4444,7 @@ const Tl = /* @__PURE__ */ R(jl, [["render", Dl], ["__scopeId", "data-v-300c6300
|
|
|
4444
4444
|
this.unregisterFromRefList();
|
|
4445
4445
|
}
|
|
4446
4446
|
});
|
|
4447
|
-
function Ul(e, i, t, l, r,
|
|
4447
|
+
function Ul(e, i, t, l, r, h) {
|
|
4448
4448
|
const s = xi, u = M;
|
|
4449
4449
|
return o(), d(u, {
|
|
4450
4450
|
"build-rules": e.rules,
|
|
@@ -4476,7 +4476,7 @@ function Ul(e, i, t, l, r, c) {
|
|
|
4476
4476
|
const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8"]]), Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4477
4477
|
__proto__: null,
|
|
4478
4478
|
default: Bl
|
|
4479
|
-
}, Symbol.toStringTag, { value: "Module" })), Nl =
|
|
4479
|
+
}, Symbol.toStringTag, { value: "Module" })), Nl = I({
|
|
4480
4480
|
name: "crop-upload-input",
|
|
4481
4481
|
typeName: "FormField",
|
|
4482
4482
|
components: {
|
|
@@ -4531,17 +4531,17 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4531
4531
|
}
|
|
4532
4532
|
}).then((l) => {
|
|
4533
4533
|
if (l.data && l.data.fileName && l.data.filePath) {
|
|
4534
|
-
const r = l.data,
|
|
4534
|
+
const r = l.data, h = {
|
|
4535
4535
|
name: r.fileName,
|
|
4536
4536
|
status: "success",
|
|
4537
4537
|
url: r.filePath,
|
|
4538
4538
|
uid: ge(),
|
|
4539
4539
|
response: r
|
|
4540
|
-
}, s = [
|
|
4540
|
+
}, s = [h];
|
|
4541
4541
|
let u = null;
|
|
4542
4542
|
if (this.field.options.onUploadSuccess)
|
|
4543
4543
|
try {
|
|
4544
|
-
u = new Function("result", "file", "fileList", ...
|
|
4544
|
+
u = new Function("result", "file", "fileList", ...C, this.field.options.onUploadSuccess).call(this, r, h, s);
|
|
4545
4545
|
} catch (p) {
|
|
4546
4546
|
this.alert(p.message, "warning");
|
|
4547
4547
|
}
|
|
@@ -4560,7 +4560,7 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4560
4560
|
},
|
|
4561
4561
|
handleUploadError(e, i, t) {
|
|
4562
4562
|
try {
|
|
4563
|
-
this.field.options.onUploadError ? new Function("error", "file", "fileList", ...
|
|
4563
|
+
this.field.options.onUploadError ? new Function("error", "file", "fileList", ...C, this.field.options.onUploadError).call(this, e, i, t) : this.alert(e, "warning");
|
|
4564
4564
|
} catch (l) {
|
|
4565
4565
|
this.alert(l.message, "warning");
|
|
4566
4566
|
}
|
|
@@ -4595,7 +4595,7 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4595
4595
|
this.updateFieldModelAndEmitDataChangeForRemove(e);
|
|
4596
4596
|
let l = D(this.fileList);
|
|
4597
4597
|
try {
|
|
4598
|
-
this.field.options.onFileRemove && new Function("file", "fileList", ...
|
|
4598
|
+
this.field.options.onFileRemove && new Function("file", "fileList", ...C, this.field.options.onFileRemove).call(this, e, l);
|
|
4599
4599
|
} catch (r) {
|
|
4600
4600
|
this.alert(r.message, "warning");
|
|
4601
4601
|
}
|
|
@@ -4605,7 +4605,7 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4605
4605
|
}
|
|
4606
4606
|
}
|
|
4607
4607
|
});
|
|
4608
|
-
function Hl(e, i, t, l, r,
|
|
4608
|
+
function Hl(e, i, t, l, r, h) {
|
|
4609
4609
|
const s = Ii, u = M;
|
|
4610
4610
|
return o(), d(u, {
|
|
4611
4611
|
"build-rules": e.rules,
|
|
@@ -4641,7 +4641,7 @@ function Hl(e, i, t, l, r, c) {
|
|
|
4641
4641
|
const Wl = /* @__PURE__ */ R(Nl, [["render", Hl], ["__scopeId", "data-v-28d9cfc6"]]), ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4642
4642
|
__proto__: null,
|
|
4643
4643
|
default: Wl
|
|
4644
|
-
}, Symbol.toStringTag, { value: "Module" })), Gl =
|
|
4644
|
+
}, Symbol.toStringTag, { value: "Module" })), Gl = I({
|
|
4645
4645
|
name: "datagrid-form-ui",
|
|
4646
4646
|
typeName: "FormField",
|
|
4647
4647
|
components: {
|
|
@@ -4704,49 +4704,49 @@ const Wl = /* @__PURE__ */ R(Nl, [["render", Hl], ["__scopeId", "data-v-28d9cfc6
|
|
|
4704
4704
|
methods: {
|
|
4705
4705
|
insertBefore(e, i) {
|
|
4706
4706
|
try {
|
|
4707
|
-
this.field.options.onInsertBefore && new Function("row", "index", ...
|
|
4707
|
+
this.field.options.onInsertBefore && new Function("row", "index", ...C, this.field.options.onInsertBefore).call(this, e, i);
|
|
4708
4708
|
} catch (t) {
|
|
4709
4709
|
this.alert(t.message, "warning");
|
|
4710
4710
|
}
|
|
4711
4711
|
},
|
|
4712
4712
|
updateBefore(e, i) {
|
|
4713
4713
|
try {
|
|
4714
|
-
this.field.options.onUpdateBefore && new Function("row", "index", ...
|
|
4714
|
+
this.field.options.onUpdateBefore && new Function("row", "index", ...C, this.field.options.onUpdateBefore).call(this, e, i);
|
|
4715
4715
|
} catch (t) {
|
|
4716
4716
|
this.alert(t.message, "warning");
|
|
4717
4717
|
}
|
|
4718
4718
|
},
|
|
4719
4719
|
viewBefore(e, i) {
|
|
4720
4720
|
try {
|
|
4721
|
-
this.field.options.onViewBefore && new Function("row", "index", ...
|
|
4721
|
+
this.field.options.onViewBefore && new Function("row", "index", ...C, this.field.options.onViewBefore).call(this, e, i);
|
|
4722
4722
|
} catch (t) {
|
|
4723
4723
|
this.alert(t.message, "warning");
|
|
4724
4724
|
}
|
|
4725
4725
|
},
|
|
4726
4726
|
beforeSave(e) {
|
|
4727
4727
|
try {
|
|
4728
|
-
this.field.options.onBeforeSave && new Function("row", ...
|
|
4728
|
+
this.field.options.onBeforeSave && new Function("row", ...C, this.field.options.onBeforeSave).call(this, e);
|
|
4729
4729
|
} catch (i) {
|
|
4730
4730
|
this.alert(i.message, "warning");
|
|
4731
4731
|
}
|
|
4732
4732
|
},
|
|
4733
4733
|
afterDelete(e, i) {
|
|
4734
4734
|
try {
|
|
4735
|
-
this.field.options.onAfterDelete && new Function("row", "index", ...
|
|
4735
|
+
this.field.options.onAfterDelete && new Function("row", "index", ...C, this.field.options.onAfterDelete).call(this, e, i);
|
|
4736
4736
|
} catch (t) {
|
|
4737
4737
|
this.alert(t.message, "warning");
|
|
4738
4738
|
}
|
|
4739
4739
|
},
|
|
4740
4740
|
allowDeleteFunc(e, i) {
|
|
4741
4741
|
try {
|
|
4742
|
-
return this.field.options.allowDeleteFunc ? new Function("row", "index", ...
|
|
4742
|
+
return this.field.options.allowDeleteFunc ? new Function("row", "index", ...C, this.field.options.allowDeleteFunc).call(this, e, i) : !0;
|
|
4743
4743
|
} catch (t) {
|
|
4744
4744
|
return this.alert(t.message, "warning"), !1;
|
|
4745
4745
|
}
|
|
4746
4746
|
},
|
|
4747
4747
|
allowCloneFunc(e, i) {
|
|
4748
4748
|
try {
|
|
4749
|
-
return this.field.options.allowCloneFunc ? new Function("row", "index", ...
|
|
4749
|
+
return this.field.options.allowCloneFunc ? new Function("row", "index", ...C, this.field.options.allowCloneFunc).call(this, e, i) : !0;
|
|
4750
4750
|
} catch (t) {
|
|
4751
4751
|
return this.alert(t.message, "warning"), !1;
|
|
4752
4752
|
}
|
|
@@ -4755,7 +4755,7 @@ const Wl = /* @__PURE__ */ R(Nl, [["render", Hl], ["__scopeId", "data-v-28d9cfc6
|
|
|
4755
4755
|
try {
|
|
4756
4756
|
if (e.onClick)
|
|
4757
4757
|
try {
|
|
4758
|
-
new Function("btnRow", "btnIndex", ...
|
|
4758
|
+
new Function("btnRow", "btnIndex", ...C, e.onClick).call(this, e, i);
|
|
4759
4759
|
} catch (t) {
|
|
4760
4760
|
this.alert(t.message, "warning");
|
|
4761
4761
|
}
|
|
@@ -4769,7 +4769,7 @@ const Wl = /* @__PURE__ */ R(Nl, [["render", Hl], ["__scopeId", "data-v-28d9cfc6
|
|
|
4769
4769
|
try {
|
|
4770
4770
|
if (e.onClick)
|
|
4771
4771
|
try {
|
|
4772
|
-
new Function("btnRow", "btnIndex", "dataRow", "dataIndex", ...
|
|
4772
|
+
new Function("btnRow", "btnIndex", "dataRow", "dataIndex", ...C, e.onClick).call(this, e, i, t, l);
|
|
4773
4773
|
} catch (r) {
|
|
4774
4774
|
this.alert(r.message, "warning");
|
|
4775
4775
|
}
|
|
@@ -4784,8 +4784,8 @@ const Wl = /* @__PURE__ */ R(Nl, [["render", Hl], ["__scopeId", "data-v-28d9cfc6
|
|
|
4784
4784
|
this.unregisterFromRefList();
|
|
4785
4785
|
}
|
|
4786
4786
|
});
|
|
4787
|
-
function Jl(e, i, t, l, r,
|
|
4788
|
-
const s = U, u = G, p = fe, g = ne,
|
|
4787
|
+
function Jl(e, i, t, l, r, h) {
|
|
4788
|
+
const s = U, u = G, p = fe, g = ne, w = Ae, $ = L;
|
|
4789
4789
|
return o(), d($, {
|
|
4790
4790
|
"build-rules": e.rules,
|
|
4791
4791
|
field: e.field,
|
|
@@ -4801,7 +4801,7 @@ function Jl(e, i, t, l, r, c) {
|
|
|
4801
4801
|
"sub-form-row-id": e.subFormRowId
|
|
4802
4802
|
}, {
|
|
4803
4803
|
default: a(() => [
|
|
4804
|
-
(o(), d(
|
|
4804
|
+
(o(), d(w, {
|
|
4805
4805
|
ref: "fieldEditor",
|
|
4806
4806
|
key: e.field.id,
|
|
4807
4807
|
"form-id": e.field.options.formId,
|
|
@@ -4857,7 +4857,7 @@ function Jl(e, i, t, l, r, c) {
|
|
|
4857
4857
|
"build-state": e.builderStatus
|
|
4858
4858
|
}, {
|
|
4859
4859
|
actions: a(() => [
|
|
4860
|
-
e.field.options.buttonsBar && Object.keys(e.field.options.buttonsBar).length > 0 ? (o(!0),
|
|
4860
|
+
e.field.options.buttonsBar && Object.keys(e.field.options.buttonsBar).length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.options.buttonsBar, (n, f) => (o(), c(F, null, [
|
|
4861
4861
|
n.confirm ? (o(), d(p, {
|
|
4862
4862
|
key: 0,
|
|
4863
4863
|
title: n.confirmTitle,
|
|
@@ -4933,7 +4933,7 @@ function Jl(e, i, t, l, r, c) {
|
|
|
4933
4933
|
"user-state": e.globalUserState,
|
|
4934
4934
|
"margin-enable": !0
|
|
4935
4935
|
}, null, 8, ["report-list", "params", "user-state"]),
|
|
4936
|
-
e.field.options.buttonsRow && Object.keys(e.field.options.buttonsRow).length > 0 ? (o(!0),
|
|
4936
|
+
e.field.options.buttonsRow && Object.keys(e.field.options.buttonsRow).length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.options.buttonsRow, (f, k) => (o(), c(F, null, [
|
|
4937
4937
|
f.confirm ? (o(), d(p, {
|
|
4938
4938
|
key: 0,
|
|
4939
4939
|
title: f.confirmTitle,
|
|
@@ -5012,7 +5012,7 @@ function Jl(e, i, t, l, r, c) {
|
|
|
5012
5012
|
const Kl = /* @__PURE__ */ R(Gl, [["render", Jl], ["__scopeId", "data-v-ced6754f"]]), Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5013
5013
|
__proto__: null,
|
|
5014
5014
|
default: Kl
|
|
5015
|
-
}, Symbol.toStringTag, { value: "Module" })), Ql =
|
|
5015
|
+
}, Symbol.toStringTag, { value: "Module" })), Ql = I({
|
|
5016
5016
|
name: "datagrid-sql-ui",
|
|
5017
5017
|
typeName: "FormField",
|
|
5018
5018
|
components: {
|
|
@@ -5075,49 +5075,49 @@ const Kl = /* @__PURE__ */ R(Gl, [["render", Jl], ["__scopeId", "data-v-ced6754f
|
|
|
5075
5075
|
methods: {
|
|
5076
5076
|
insertBefore(e, i) {
|
|
5077
5077
|
try {
|
|
5078
|
-
this.field.options.onInsertBefore && new Function("row", "index", ...
|
|
5078
|
+
this.field.options.onInsertBefore && new Function("row", "index", ...C, this.field.options.onInsertBefore).call(this, e, i);
|
|
5079
5079
|
} catch (t) {
|
|
5080
5080
|
this.alert(t.message, "warning");
|
|
5081
5081
|
}
|
|
5082
5082
|
},
|
|
5083
5083
|
updateBefore(e, i) {
|
|
5084
5084
|
try {
|
|
5085
|
-
this.field.options.onUpdateBefore && new Function("row", "index", ...
|
|
5085
|
+
this.field.options.onUpdateBefore && new Function("row", "index", ...C, this.field.options.onUpdateBefore).call(this, e, i);
|
|
5086
5086
|
} catch (t) {
|
|
5087
5087
|
this.alert(t.message, "warning");
|
|
5088
5088
|
}
|
|
5089
5089
|
},
|
|
5090
5090
|
viewBefore(e, i) {
|
|
5091
5091
|
try {
|
|
5092
|
-
this.field.options.onViewBefore && new Function("row", "index", ...
|
|
5092
|
+
this.field.options.onViewBefore && new Function("row", "index", ...C, this.field.options.onViewBefore).call(this, e, i);
|
|
5093
5093
|
} catch (t) {
|
|
5094
5094
|
this.alert(t.message, "warning");
|
|
5095
5095
|
}
|
|
5096
5096
|
},
|
|
5097
5097
|
beforeSave(e) {
|
|
5098
5098
|
try {
|
|
5099
|
-
this.field.options.onBeforeSave && new Function("row", ...
|
|
5099
|
+
this.field.options.onBeforeSave && new Function("row", ...C, this.field.options.onBeforeSave).call(this, e);
|
|
5100
5100
|
} catch (i) {
|
|
5101
5101
|
this.alert(i.message, "warning");
|
|
5102
5102
|
}
|
|
5103
5103
|
},
|
|
5104
5104
|
afterDelete(e, i) {
|
|
5105
5105
|
try {
|
|
5106
|
-
this.field.options.onAfterDelete && new Function("row", "index", ...
|
|
5106
|
+
this.field.options.onAfterDelete && new Function("row", "index", ...C, this.field.options.onAfterDelete).call(this, e, i);
|
|
5107
5107
|
} catch (t) {
|
|
5108
5108
|
this.alert(t.message, "warning");
|
|
5109
5109
|
}
|
|
5110
5110
|
},
|
|
5111
5111
|
allowDeleteFunc(e, i) {
|
|
5112
5112
|
try {
|
|
5113
|
-
return this.field.options.allowDeleteFunc ? new Function("row", "index", ...
|
|
5113
|
+
return this.field.options.allowDeleteFunc ? new Function("row", "index", ...C, this.field.options.allowDeleteFunc).call(this, e, i) : !0;
|
|
5114
5114
|
} catch (t) {
|
|
5115
5115
|
return this.alert(t.message, "warning"), !1;
|
|
5116
5116
|
}
|
|
5117
5117
|
},
|
|
5118
5118
|
allowCloneFunc(e, i) {
|
|
5119
5119
|
try {
|
|
5120
|
-
return this.field.options.allowCloneFunc ? new Function("row", "index", ...
|
|
5120
|
+
return this.field.options.allowCloneFunc ? new Function("row", "index", ...C, this.field.options.allowCloneFunc).call(this, e, i) : !0;
|
|
5121
5121
|
} catch (t) {
|
|
5122
5122
|
return this.alert(t.message, "warning"), !1;
|
|
5123
5123
|
}
|
|
@@ -5126,7 +5126,7 @@ const Kl = /* @__PURE__ */ R(Gl, [["render", Jl], ["__scopeId", "data-v-ced6754f
|
|
|
5126
5126
|
try {
|
|
5127
5127
|
if (e.onClick)
|
|
5128
5128
|
try {
|
|
5129
|
-
new Function("btnRow", "btnIndex", ...
|
|
5129
|
+
new Function("btnRow", "btnIndex", ...C, e.onClick).call(this, e, i);
|
|
5130
5130
|
} catch (t) {
|
|
5131
5131
|
this.alert(t.message, "warning");
|
|
5132
5132
|
}
|
|
@@ -5140,7 +5140,7 @@ const Kl = /* @__PURE__ */ R(Gl, [["render", Jl], ["__scopeId", "data-v-ced6754f
|
|
|
5140
5140
|
try {
|
|
5141
5141
|
if (e.onClick)
|
|
5142
5142
|
try {
|
|
5143
|
-
new Function("btnRow", "btnIndex", "dataRow", "dataIndex", ...
|
|
5143
|
+
new Function("btnRow", "btnIndex", "dataRow", "dataIndex", ...C, e.onClick).call(this, e, i, t, l);
|
|
5144
5144
|
} catch (r) {
|
|
5145
5145
|
this.alert(r.message, "warning");
|
|
5146
5146
|
}
|
|
@@ -5155,8 +5155,8 @@ const Kl = /* @__PURE__ */ R(Gl, [["render", Jl], ["__scopeId", "data-v-ced6754f
|
|
|
5155
5155
|
this.unregisterFromRefList();
|
|
5156
5156
|
}
|
|
5157
5157
|
});
|
|
5158
|
-
function Yl(e, i, t, l, r,
|
|
5159
|
-
const s = U, u = G, p = fe, g = ne,
|
|
5158
|
+
function Yl(e, i, t, l, r, h) {
|
|
5159
|
+
const s = U, u = G, p = fe, g = ne, w = Ae, $ = L;
|
|
5160
5160
|
return o(), d($, {
|
|
5161
5161
|
"build-rules": e.rules,
|
|
5162
5162
|
field: e.field,
|
|
@@ -5172,7 +5172,7 @@ function Yl(e, i, t, l, r, c) {
|
|
|
5172
5172
|
"sub-form-row-id": e.subFormRowId
|
|
5173
5173
|
}, {
|
|
5174
5174
|
default: a(() => [
|
|
5175
|
-
(o(), d(
|
|
5175
|
+
(o(), d(w, {
|
|
5176
5176
|
ref: "fieldEditor",
|
|
5177
5177
|
key: e.field.id,
|
|
5178
5178
|
"form-id": e.field.options.sqlId,
|
|
@@ -5202,7 +5202,7 @@ function Yl(e, i, t, l, r, c) {
|
|
|
5202
5202
|
"build-state": e.builderStatus
|
|
5203
5203
|
}, {
|
|
5204
5204
|
actions: a(() => [
|
|
5205
|
-
e.field.options.buttonsBar && Object.keys(e.field.options.buttonsBar).length > 0 ? (o(!0),
|
|
5205
|
+
e.field.options.buttonsBar && Object.keys(e.field.options.buttonsBar).length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.options.buttonsBar, (n, f) => (o(), c(F, null, [
|
|
5206
5206
|
n.confirm ? (o(), d(p, {
|
|
5207
5207
|
key: 0,
|
|
5208
5208
|
title: n.confirmTitle,
|
|
@@ -5278,7 +5278,7 @@ function Yl(e, i, t, l, r, c) {
|
|
|
5278
5278
|
"user-state": e.globalUserState,
|
|
5279
5279
|
"margin-enable": !0
|
|
5280
5280
|
}, null, 8, ["report-list", "params", "user-state"]),
|
|
5281
|
-
e.field.options.buttonsRow && Object.keys(e.field.options.buttonsRow).length > 0 ? (o(!0),
|
|
5281
|
+
e.field.options.buttonsRow && Object.keys(e.field.options.buttonsRow).length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.options.buttonsRow, (f, k) => (o(), c(F, null, [
|
|
5282
5282
|
f.confirm ? (o(), d(p, {
|
|
5283
5283
|
key: 0,
|
|
5284
5284
|
title: f.confirmTitle,
|
|
@@ -5357,7 +5357,7 @@ function Yl(e, i, t, l, r, c) {
|
|
|
5357
5357
|
const Xl = /* @__PURE__ */ R(Ql, [["render", Yl], ["__scopeId", "data-v-c97dad86"]]), _l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5358
5358
|
__proto__: null,
|
|
5359
5359
|
default: Xl
|
|
5360
|
-
}, Symbol.toStringTag, { value: "Module" })), xl =
|
|
5360
|
+
}, Symbol.toStringTag, { value: "Module" })), xl = I({
|
|
5361
5361
|
name: "date-input",
|
|
5362
5362
|
typeName: "FormField",
|
|
5363
5363
|
components: {
|
|
@@ -5393,7 +5393,7 @@ const Xl = /* @__PURE__ */ R(Ql, [["render", Yl], ["__scopeId", "data-v-c97dad86
|
|
|
5393
5393
|
this.unregisterFromRefList();
|
|
5394
5394
|
}
|
|
5395
5395
|
});
|
|
5396
|
-
function en(e, i, t, l, r,
|
|
5396
|
+
function en(e, i, t, l, r, h) {
|
|
5397
5397
|
const s = Ce, u = M;
|
|
5398
5398
|
return o(), d(u, {
|
|
5399
5399
|
"build-rules": e.rules,
|
|
@@ -5437,7 +5437,7 @@ function en(e, i, t, l, r, c) {
|
|
|
5437
5437
|
const tn = /* @__PURE__ */ R(xl, [["render", en], ["__scopeId", "data-v-9c2695f4"]]), on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5438
5438
|
__proto__: null,
|
|
5439
5439
|
default: tn
|
|
5440
|
-
}, Symbol.toStringTag, { value: "Module" })), ln =
|
|
5440
|
+
}, Symbol.toStringTag, { value: "Module" })), ln = I({
|
|
5441
5441
|
name: "date-range-input",
|
|
5442
5442
|
typeName: "FormField",
|
|
5443
5443
|
components: {
|
|
@@ -5472,7 +5472,7 @@ const tn = /* @__PURE__ */ R(xl, [["render", en], ["__scopeId", "data-v-9c2695f4
|
|
|
5472
5472
|
this.unregisterFromRefList();
|
|
5473
5473
|
}
|
|
5474
5474
|
});
|
|
5475
|
-
function nn(e, i, t, l, r,
|
|
5475
|
+
function nn(e, i, t, l, r, h) {
|
|
5476
5476
|
const s = Ce, u = M;
|
|
5477
5477
|
return o(), d(u, {
|
|
5478
5478
|
"build-rules": e.rules,
|
|
@@ -5514,7 +5514,7 @@ function nn(e, i, t, l, r, c) {
|
|
|
5514
5514
|
const sn = /* @__PURE__ */ R(ln, [["render", nn], ["__scopeId", "data-v-f3d27354"]]), rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5515
5515
|
__proto__: null,
|
|
5516
5516
|
default: sn
|
|
5517
|
-
}, Symbol.toStringTag, { value: "Module" })), dn =
|
|
5517
|
+
}, Symbol.toStringTag, { value: "Module" })), dn = I({
|
|
5518
5518
|
name: "divider-ui",
|
|
5519
5519
|
typeName: "FormField",
|
|
5520
5520
|
components: {
|
|
@@ -5539,7 +5539,7 @@ const sn = /* @__PURE__ */ R(ln, [["render", nn], ["__scopeId", "data-v-f3d27354
|
|
|
5539
5539
|
this.unregisterFromRefList();
|
|
5540
5540
|
}
|
|
5541
5541
|
});
|
|
5542
|
-
function an(e, i, t, l, r,
|
|
5542
|
+
function an(e, i, t, l, r, h) {
|
|
5543
5543
|
const s = Ge, u = L;
|
|
5544
5544
|
return o(), d(u, {
|
|
5545
5545
|
"build-rules": e.rules,
|
|
@@ -5572,7 +5572,7 @@ function an(e, i, t, l, r, c) {
|
|
|
5572
5572
|
const fn = /* @__PURE__ */ R(dn, [["render", an]]), un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5573
5573
|
__proto__: null,
|
|
5574
5574
|
default: fn
|
|
5575
|
-
}, Symbol.toStringTag, { value: "Module" })), pn =
|
|
5575
|
+
}, Symbol.toStringTag, { value: "Module" })), pn = I({
|
|
5576
5576
|
name: "dropdown-ui",
|
|
5577
5577
|
typeName: "FormField",
|
|
5578
5578
|
components: {
|
|
@@ -5601,7 +5601,7 @@ const fn = /* @__PURE__ */ R(dn, [["render", an]]), un = /* @__PURE__ */ Object.
|
|
|
5601
5601
|
methods: {
|
|
5602
5602
|
handleCommand(e) {
|
|
5603
5603
|
try {
|
|
5604
|
-
this.field.options.onCommand && new Function("command", ...
|
|
5604
|
+
this.field.options.onCommand && new Function("command", ...C, this.field.options.onCommand).call(this, e);
|
|
5605
5605
|
} catch (i) {
|
|
5606
5606
|
this.alert(i.message, "warning");
|
|
5607
5607
|
}
|
|
@@ -5611,8 +5611,8 @@ const fn = /* @__PURE__ */ R(dn, [["render", an]]), un = /* @__PURE__ */ Object.
|
|
|
5611
5611
|
this.unregisterFromRefList();
|
|
5612
5612
|
}
|
|
5613
5613
|
});
|
|
5614
|
-
function mn(e, i, t, l, r,
|
|
5615
|
-
const s = U, u = J("arrow-down"), p = se, g = G,
|
|
5614
|
+
function mn(e, i, t, l, r, h) {
|
|
5615
|
+
const s = U, u = J("arrow-down"), p = se, g = G, w = tt, $ = it, n = et, f = L;
|
|
5616
5616
|
return o(), d(f, {
|
|
5617
5617
|
"build-rules": e.rules,
|
|
5618
5618
|
field: e.field,
|
|
@@ -5642,7 +5642,7 @@ function mn(e, i, t, l, r, c) {
|
|
|
5642
5642
|
dropdown: a(() => [
|
|
5643
5643
|
e.field.options.menuList && Object.keys(e.field.options.menuList).length > 0 ? (o(), d($, { key: 0 }, {
|
|
5644
5644
|
default: a(() => [
|
|
5645
|
-
(o(!0),
|
|
5645
|
+
(o(!0), c(F, null, T(e.field.options.menuList, (k, V) => (o(), d(w, {
|
|
5646
5646
|
command: k.command,
|
|
5647
5647
|
divided: k.divided,
|
|
5648
5648
|
disabled: k.disabled
|
|
@@ -5682,7 +5682,7 @@ function mn(e, i, t, l, r, c) {
|
|
|
5682
5682
|
})
|
|
5683
5683
|
]),
|
|
5684
5684
|
_: 1
|
|
5685
|
-
}, 8, ["size", "type"])) : (o(),
|
|
5685
|
+
}, 8, ["size", "type"])) : (o(), c("span", {
|
|
5686
5686
|
key: 1,
|
|
5687
5687
|
class: "el-dropdown-link",
|
|
5688
5688
|
style: j({ color: e.field.options.tagType ? `var(--el-color-${e.field.options.tagType})` : "var(--el-color-primary)" })
|
|
@@ -5710,7 +5710,7 @@ function mn(e, i, t, l, r, c) {
|
|
|
5710
5710
|
const hn = /* @__PURE__ */ R(pn, [["render", mn], ["__scopeId", "data-v-d687104d"]]), cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5711
5711
|
__proto__: null,
|
|
5712
5712
|
default: hn
|
|
5713
|
-
}, Symbol.toStringTag, { value: "Module" })), bn =
|
|
5713
|
+
}, Symbol.toStringTag, { value: "Module" })), bn = I({
|
|
5714
5714
|
name: "dynamic-input",
|
|
5715
5715
|
typeName: "FormField",
|
|
5716
5716
|
components: {
|
|
@@ -5754,7 +5754,7 @@ const hn = /* @__PURE__ */ R(pn, [["render", mn], ["__scopeId", "data-v-d687104d
|
|
|
5754
5754
|
this.unregisterFromRefList();
|
|
5755
5755
|
}
|
|
5756
5756
|
});
|
|
5757
|
-
function gn(e, i, t, l, r,
|
|
5757
|
+
function gn(e, i, t, l, r, h) {
|
|
5758
5758
|
const s = Be, u = M;
|
|
5759
5759
|
return o(), d(u, {
|
|
5760
5760
|
"build-rules": e.rules,
|
|
@@ -5790,7 +5790,7 @@ function gn(e, i, t, l, r, c) {
|
|
|
5790
5790
|
const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5791
5791
|
__proto__: null,
|
|
5792
5792
|
default: Fn
|
|
5793
|
-
}, Symbol.toStringTag, { value: "Module" })), vn =
|
|
5793
|
+
}, Symbol.toStringTag, { value: "Module" })), vn = I({
|
|
5794
5794
|
name: "file-upload-input",
|
|
5795
5795
|
typeName: "FormField",
|
|
5796
5796
|
components: {
|
|
@@ -5844,8 +5844,8 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5844
5844
|
beforeFileUpload(e) {
|
|
5845
5845
|
let i = !1, t = e.name.substring(e.name.lastIndexOf(".") + 1);
|
|
5846
5846
|
if (this.field.options && this.field.options.fileTypes) {
|
|
5847
|
-
let
|
|
5848
|
-
|
|
5847
|
+
let h = this.field.options.fileTypes;
|
|
5848
|
+
h.length > 0 && (i = h.some((s) => t.toLowerCase() === s.toLowerCase()));
|
|
5849
5849
|
}
|
|
5850
5850
|
if (!i)
|
|
5851
5851
|
return this.alert(`File must be ${t} format!`, "warning"), !1;
|
|
@@ -5855,7 +5855,7 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5855
5855
|
handleOnBeforeUpload(e) {
|
|
5856
5856
|
try {
|
|
5857
5857
|
if (this.field.options.onBeforeUpload) {
|
|
5858
|
-
let t = new Function("file", ...
|
|
5858
|
+
let t = new Function("file", ...C, this.field.options.onBeforeUpload).call(this, e);
|
|
5859
5859
|
return typeof t == "boolean" ? t : !0;
|
|
5860
5860
|
}
|
|
5861
5861
|
return !0;
|
|
@@ -5879,7 +5879,7 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5879
5879
|
let l = null;
|
|
5880
5880
|
if (this.field.options.onUploadSuccess)
|
|
5881
5881
|
try {
|
|
5882
|
-
l = new Function("result", "file", "fileList", ...
|
|
5882
|
+
l = new Function("result", "file", "fileList", ...C, this.field.options.onUploadSuccess).call(this, e, i, t);
|
|
5883
5883
|
} catch (r) {
|
|
5884
5884
|
this.alert(r.message, "error");
|
|
5885
5885
|
}
|
|
@@ -5909,7 +5909,7 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5909
5909
|
let l = D(this.fileList);
|
|
5910
5910
|
this.uploadBtnHidden = l.length >= this.field.options.limit;
|
|
5911
5911
|
try {
|
|
5912
|
-
this.field.options.onFileRemove && new Function("file", "fileList", ...
|
|
5912
|
+
this.field.options.onFileRemove && new Function("file", "fileList", ...C, this.field.options.onFileRemove).call(this, e, l);
|
|
5913
5913
|
} catch (r) {
|
|
5914
5914
|
this.alert(r.message, "warning");
|
|
5915
5915
|
}
|
|
@@ -5921,7 +5921,7 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5921
5921
|
},
|
|
5922
5922
|
handleUploadError(e, i, t) {
|
|
5923
5923
|
try {
|
|
5924
|
-
this.field.options.onUploadError ? new Function("error", "file", "fileList", ...
|
|
5924
|
+
this.field.options.onUploadError ? new Function("error", "file", "fileList", ...C, this.field.options.onUploadError).call(this, e, i, t) : this.alert(e, "warning");
|
|
5925
5925
|
} catch (l) {
|
|
5926
5926
|
this.alert(l.message, "warning");
|
|
5927
5927
|
}
|
|
@@ -5934,8 +5934,8 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5934
5934
|
key: 0,
|
|
5935
5935
|
class: "el-upload__tip"
|
|
5936
5936
|
};
|
|
5937
|
-
function On(e, i, t, l, r,
|
|
5938
|
-
const s = G, u = J("Document"), p = se, g = Ge,
|
|
5937
|
+
function On(e, i, t, l, r, h) {
|
|
5938
|
+
const s = G, u = J("Document"), p = se, g = Ge, w = U, $ = J("Delete"), n = Ie, f = M;
|
|
5939
5939
|
return o(), d(f, {
|
|
5940
5940
|
"build-rules": e.rules,
|
|
5941
5941
|
field: e.field,
|
|
@@ -5989,10 +5989,10 @@ function On(e, i, t, l, r, c) {
|
|
|
5989
5989
|
target: "_blank"
|
|
5990
5990
|
}, [
|
|
5991
5991
|
S("span", Sn, [
|
|
5992
|
-
m(
|
|
5992
|
+
m(w, { "icon-name": "addon-download" })
|
|
5993
5993
|
])
|
|
5994
5994
|
], 8, In),
|
|
5995
|
-
e.field.options.disabled ? b("", !0) : (o(),
|
|
5995
|
+
e.field.options.disabled ? b("", !0) : (o(), c(F, { key: 0 }, [
|
|
5996
5996
|
m(g, { direction: "vertical" }),
|
|
5997
5997
|
S("span", {
|
|
5998
5998
|
class: "file-action",
|
|
@@ -6010,7 +6010,7 @@ function On(e, i, t, l, r, c) {
|
|
|
6010
6010
|
])
|
|
6011
6011
|
]),
|
|
6012
6012
|
tip: a(() => [
|
|
6013
|
-
e.field.options.uploadTip ? (o(),
|
|
6013
|
+
e.field.options.uploadTip ? (o(), c("div", Mn, v(e.field.options.uploadTip), 1)) : b("", !0)
|
|
6014
6014
|
]),
|
|
6015
6015
|
default: a(() => [
|
|
6016
6016
|
m(s, {
|
|
@@ -6033,7 +6033,7 @@ function On(e, i, t, l, r, c) {
|
|
|
6033
6033
|
const kn = /* @__PURE__ */ R(vn, [["render", On], ["__scopeId", "data-v-37f6906e"]]), Pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6034
6034
|
__proto__: null,
|
|
6035
6035
|
default: kn
|
|
6036
|
-
}, Symbol.toStringTag, { value: "Module" })), $n =
|
|
6036
|
+
}, Symbol.toStringTag, { value: "Module" })), $n = I({
|
|
6037
6037
|
name: "group-list-input",
|
|
6038
6038
|
typeName: "FormField",
|
|
6039
6039
|
components: {
|
|
@@ -6092,11 +6092,11 @@ const kn = /* @__PURE__ */ R(vn, [["render", On], ["__scopeId", "data-v-37f6906e
|
|
|
6092
6092
|
orderBy: this.field.options.orderBy || void 0
|
|
6093
6093
|
},
|
|
6094
6094
|
params: this.params
|
|
6095
|
-
},
|
|
6095
|
+
}, h = this.field.options.groupField ? this.field.options.groupField : "_id";
|
|
6096
6096
|
await this.globalUserState.crudGetAll(
|
|
6097
6097
|
{ sdProvider: r, totalEnable: !1 },
|
|
6098
6098
|
(s) => {
|
|
6099
|
-
this.categoryItems = s.data.map((u) => ({ value: u[
|
|
6099
|
+
this.categoryItems = s.data.map((u) => ({ value: u[h], label: u[h] })), this.loading = !1;
|
|
6100
6100
|
},
|
|
6101
6101
|
() => {
|
|
6102
6102
|
this.loading = !1, this.categoryItems = [];
|
|
@@ -6124,7 +6124,7 @@ const kn = /* @__PURE__ */ R(vn, [["render", On], ["__scopeId", "data-v-37f6906e
|
|
|
6124
6124
|
this.unregisterFromRefList();
|
|
6125
6125
|
}
|
|
6126
6126
|
});
|
|
6127
|
-
function En(e, i, t, l, r,
|
|
6127
|
+
function En(e, i, t, l, r, h) {
|
|
6128
6128
|
const s = ot, u = M;
|
|
6129
6129
|
return o(), d(u, {
|
|
6130
6130
|
"build-rules": e.rules,
|
|
@@ -6178,7 +6178,7 @@ function En(e, i, t, l, r, c) {
|
|
|
6178
6178
|
const Ln = /* @__PURE__ */ R($n, [["render", En], ["__scopeId", "data-v-621ec067"]]), jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6179
6179
|
__proto__: null,
|
|
6180
6180
|
default: Ln
|
|
6181
|
-
}, Symbol.toStringTag, { value: "Module" })), Dn =
|
|
6181
|
+
}, Symbol.toStringTag, { value: "Module" })), Dn = I({
|
|
6182
6182
|
name: "html-input",
|
|
6183
6183
|
typeName: "FormField",
|
|
6184
6184
|
components: {
|
|
@@ -6219,7 +6219,7 @@ const Ln = /* @__PURE__ */ R($n, [["render", En], ["__scopeId", "data-v-621ec067
|
|
|
6219
6219
|
this.unregisterFromRefList();
|
|
6220
6220
|
}
|
|
6221
6221
|
});
|
|
6222
|
-
function Tn(e, i, t, l, r,
|
|
6222
|
+
function Tn(e, i, t, l, r, h) {
|
|
6223
6223
|
const s = me, u = M;
|
|
6224
6224
|
return o(), d(u, {
|
|
6225
6225
|
"build-rules": e.rules,
|
|
@@ -6257,7 +6257,7 @@ function Tn(e, i, t, l, r, c) {
|
|
|
6257
6257
|
const Vn = /* @__PURE__ */ R(Dn, [["render", Tn]]), zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6258
6258
|
__proto__: null,
|
|
6259
6259
|
default: Vn
|
|
6260
|
-
}, Symbol.toStringTag, { value: "Module" })), Un =
|
|
6260
|
+
}, Symbol.toStringTag, { value: "Module" })), Un = I({
|
|
6261
6261
|
name: "html-ui",
|
|
6262
6262
|
typeName: "FormField",
|
|
6263
6263
|
components: {
|
|
@@ -6283,7 +6283,7 @@ const Vn = /* @__PURE__ */ R(Dn, [["render", Tn]]), zn = /* @__PURE__ */ Object.
|
|
|
6283
6283
|
this.unregisterFromRefList();
|
|
6284
6284
|
}
|
|
6285
6285
|
});
|
|
6286
|
-
function Bn(e, i, t, l, r,
|
|
6286
|
+
function Bn(e, i, t, l, r, h) {
|
|
6287
6287
|
const s = me, u = L;
|
|
6288
6288
|
return o(), d(u, {
|
|
6289
6289
|
"build-rules": e.rules,
|
|
@@ -6314,7 +6314,7 @@ function Bn(e, i, t, l, r, c) {
|
|
|
6314
6314
|
const An = /* @__PURE__ */ R(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6315
6315
|
__proto__: null,
|
|
6316
6316
|
default: An
|
|
6317
|
-
}, Symbol.toStringTag, { value: "Module" })), Hn =
|
|
6317
|
+
}, Symbol.toStringTag, { value: "Module" })), Hn = I({
|
|
6318
6318
|
name: "icon-input",
|
|
6319
6319
|
typeName: "FormField",
|
|
6320
6320
|
components: {
|
|
@@ -6366,8 +6366,8 @@ const An = /* @__PURE__ */ R(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.
|
|
|
6366
6366
|
for (const t in e) {
|
|
6367
6367
|
const l = e[t], r = ye(l, this.field.options.sourcePath);
|
|
6368
6368
|
if (r && typeof r == "object")
|
|
6369
|
-
for (const
|
|
6370
|
-
let s = r[
|
|
6369
|
+
for (const h in r) {
|
|
6370
|
+
let s = r[h];
|
|
6371
6371
|
this.field.options.prefixProp && (s.prefixProp = l[this.field.options.prefixProp] ? l[this.field.options.prefixProp] : ""), this.field.options.groupProp && (s.groupProp = l[this.field.options.groupProp] ? l[this.field.options.groupProp] : ""), i.push(s);
|
|
6372
6372
|
}
|
|
6373
6373
|
}
|
|
@@ -6385,7 +6385,7 @@ const An = /* @__PURE__ */ R(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.
|
|
|
6385
6385
|
methods: {
|
|
6386
6386
|
onItemListChange(e) {
|
|
6387
6387
|
try {
|
|
6388
|
-
this.field.options.onItemListChange && new Function("itemList", ...
|
|
6388
|
+
this.field.options.onItemListChange && new Function("itemList", ...C, this.field.options.onItemListChange).call(this, e);
|
|
6389
6389
|
} catch (i) {
|
|
6390
6390
|
this.alert(i.message, "warning");
|
|
6391
6391
|
}
|
|
@@ -6414,7 +6414,7 @@ const An = /* @__PURE__ */ R(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.
|
|
|
6414
6414
|
this.unregisterFromRefList();
|
|
6415
6415
|
}
|
|
6416
6416
|
});
|
|
6417
|
-
function Wn(e, i, t, l, r,
|
|
6417
|
+
function Wn(e, i, t, l, r, h) {
|
|
6418
6418
|
const s = Si, u = M;
|
|
6419
6419
|
return o(), d(u, {
|
|
6420
6420
|
"build-rules": e.rules,
|
|
@@ -6451,7 +6451,7 @@ function Wn(e, i, t, l, r, c) {
|
|
|
6451
6451
|
const qn = /* @__PURE__ */ R(Hn, [["render", Wn], ["__scopeId", "data-v-967ebc26"]]), Gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6452
6452
|
__proto__: null,
|
|
6453
6453
|
default: qn
|
|
6454
|
-
}, Symbol.toStringTag, { value: "Module" })), Jn =
|
|
6454
|
+
}, Symbol.toStringTag, { value: "Module" })), Jn = I({
|
|
6455
6455
|
name: "image-ui",
|
|
6456
6456
|
typeName: "FormField",
|
|
6457
6457
|
components: {
|
|
@@ -6477,7 +6477,7 @@ const qn = /* @__PURE__ */ R(Hn, [["render", Wn], ["__scopeId", "data-v-967ebc26
|
|
|
6477
6477
|
this.unregisterFromRefList();
|
|
6478
6478
|
}
|
|
6479
6479
|
}), Kn = { class: "image-slot" };
|
|
6480
|
-
function Zn(e, i, t, l, r,
|
|
6480
|
+
function Zn(e, i, t, l, r, h) {
|
|
6481
6481
|
const s = U, u = Je, p = L;
|
|
6482
6482
|
return o(), d(p, {
|
|
6483
6483
|
"build-rules": e.rules,
|
|
@@ -6532,7 +6532,7 @@ function Zn(e, i, t, l, r, c) {
|
|
|
6532
6532
|
const Qn = /* @__PURE__ */ R(Jn, [["render", Zn], ["__scopeId", "data-v-836345dd"]]), Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6533
6533
|
__proto__: null,
|
|
6534
6534
|
default: Qn
|
|
6535
|
-
}, Symbol.toStringTag, { value: "Module" })), Xn =
|
|
6535
|
+
}, Symbol.toStringTag, { value: "Module" })), Xn = I({
|
|
6536
6536
|
name: "json-input",
|
|
6537
6537
|
typeName: "FormField",
|
|
6538
6538
|
components: {
|
|
@@ -6581,7 +6581,7 @@ const Qn = /* @__PURE__ */ R(Jn, [["render", Zn], ["__scopeId", "data-v-836345dd
|
|
|
6581
6581
|
this.unregisterFromRefList();
|
|
6582
6582
|
}
|
|
6583
6583
|
});
|
|
6584
|
-
function _n(e, i, t, l, r,
|
|
6584
|
+
function _n(e, i, t, l, r, h) {
|
|
6585
6585
|
const s = J("JsonEditorVue"), u = M;
|
|
6586
6586
|
return o(), d(u, {
|
|
6587
6587
|
"build-rules": e.rules,
|
|
@@ -6616,7 +6616,7 @@ function _n(e, i, t, l, r, c) {
|
|
|
6616
6616
|
const xn = /* @__PURE__ */ R(Xn, [["render", _n]]), es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6617
6617
|
__proto__: null,
|
|
6618
6618
|
default: xn
|
|
6619
|
-
}, Symbol.toStringTag, { value: "Module" })), is =
|
|
6619
|
+
}, Symbol.toStringTag, { value: "Module" })), is = I({
|
|
6620
6620
|
name: "link-ui",
|
|
6621
6621
|
typeName: "FormField",
|
|
6622
6622
|
components: {
|
|
@@ -6641,7 +6641,7 @@ const xn = /* @__PURE__ */ R(Xn, [["render", _n]]), es = /* @__PURE__ */ Object.
|
|
|
6641
6641
|
this.unregisterFromRefList();
|
|
6642
6642
|
}
|
|
6643
6643
|
});
|
|
6644
|
-
function ts(e, i, t, l, r,
|
|
6644
|
+
function ts(e, i, t, l, r, h) {
|
|
6645
6645
|
const s = U, u = ee, p = lt, g = L;
|
|
6646
6646
|
return o(), d(g, {
|
|
6647
6647
|
"build-rules": e.rules,
|
|
@@ -6656,7 +6656,7 @@ function ts(e, i, t, l, r, c) {
|
|
|
6656
6656
|
"sub-form-row-id": e.subFormRowId
|
|
6657
6657
|
}, {
|
|
6658
6658
|
default: a(() => [
|
|
6659
|
-
(o(),
|
|
6659
|
+
(o(), c("div", {
|
|
6660
6660
|
ref: "fieldEditor",
|
|
6661
6661
|
key: e.field.id,
|
|
6662
6662
|
class: y({ paragraph: !!e.field.options.paragraph }),
|
|
@@ -6671,7 +6671,7 @@ function ts(e, i, t, l, r, c) {
|
|
|
6671
6671
|
class: y({ bold: !!e.field.options.bold, italic: !!e.field.options.italic })
|
|
6672
6672
|
}, {
|
|
6673
6673
|
default: a(() => [
|
|
6674
|
-
e.field.options.labelIconClass && e.field.options.labelIconPosition === "front" ? (o(),
|
|
6674
|
+
e.field.options.labelIconClass && e.field.options.labelIconPosition === "front" ? (o(), c(F, { key: 0 }, [
|
|
6675
6675
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
6676
6676
|
key: 0,
|
|
6677
6677
|
content: e.field.options.labelTooltip,
|
|
@@ -6689,7 +6689,7 @@ function ts(e, i, t, l, r, c) {
|
|
|
6689
6689
|
}, null, 8, ["icon-name"]))
|
|
6690
6690
|
], 64)) : b("", !0),
|
|
6691
6691
|
E(" " + v(e.field.options.content) + " ", 1),
|
|
6692
|
-
e.field.options.labelIconClass && e.field.options.labelIconPosition === "rear" ? (o(),
|
|
6692
|
+
e.field.options.labelIconClass && e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
6693
6693
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
6694
6694
|
key: 0,
|
|
6695
6695
|
content: e.field.options.labelTooltip,
|
|
@@ -6717,7 +6717,7 @@ function ts(e, i, t, l, r, c) {
|
|
|
6717
6717
|
const os = /* @__PURE__ */ R(is, [["render", ts], ["__scopeId", "data-v-f3464b8f"]]), ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6718
6718
|
__proto__: null,
|
|
6719
6719
|
default: os
|
|
6720
|
-
}, Symbol.toStringTag, { value: "Module" })), ns =
|
|
6720
|
+
}, Symbol.toStringTag, { value: "Module" })), ns = I({
|
|
6721
6721
|
name: "list-ui",
|
|
6722
6722
|
typeName: "FormField",
|
|
6723
6723
|
components: {
|
|
@@ -6773,49 +6773,49 @@ const os = /* @__PURE__ */ R(is, [["render", ts], ["__scopeId", "data-v-f3464b8f
|
|
|
6773
6773
|
methods: {
|
|
6774
6774
|
insertBefore(e, i) {
|
|
6775
6775
|
try {
|
|
6776
|
-
this.field.options.onInsertBefore && new Function("row", "index", ...
|
|
6776
|
+
this.field.options.onInsertBefore && new Function("row", "index", ...C, this.field.options.onInsertBefore).call(this, e, i);
|
|
6777
6777
|
} catch (t) {
|
|
6778
6778
|
this.alert(t.message, "warning");
|
|
6779
6779
|
}
|
|
6780
6780
|
},
|
|
6781
6781
|
updateBefore(e, i) {
|
|
6782
6782
|
try {
|
|
6783
|
-
this.field.options.onUpdateBefore && new Function("row", "index", ...
|
|
6783
|
+
this.field.options.onUpdateBefore && new Function("row", "index", ...C, this.field.options.onUpdateBefore).call(this, e, i);
|
|
6784
6784
|
} catch (t) {
|
|
6785
6785
|
this.alert(t.message, "warning");
|
|
6786
6786
|
}
|
|
6787
6787
|
},
|
|
6788
6788
|
viewBefore(e, i) {
|
|
6789
6789
|
try {
|
|
6790
|
-
this.field.options.onViewBefore && new Function("row", "index", ...
|
|
6790
|
+
this.field.options.onViewBefore && new Function("row", "index", ...C, this.field.options.onViewBefore).call(this, e, i);
|
|
6791
6791
|
} catch (t) {
|
|
6792
6792
|
this.alert(t.message, "warning");
|
|
6793
6793
|
}
|
|
6794
6794
|
},
|
|
6795
6795
|
beforeSave(e) {
|
|
6796
6796
|
try {
|
|
6797
|
-
this.field.options.onBeforeSave && new Function("row", ...
|
|
6797
|
+
this.field.options.onBeforeSave && new Function("row", ...C, this.field.options.onBeforeSave).call(this, e);
|
|
6798
6798
|
} catch (i) {
|
|
6799
6799
|
this.alert(i.message, "warning");
|
|
6800
6800
|
}
|
|
6801
6801
|
},
|
|
6802
6802
|
afterDelete(e, i) {
|
|
6803
6803
|
try {
|
|
6804
|
-
this.field.options.onAfterDelete && new Function("row", "index", ...
|
|
6804
|
+
this.field.options.onAfterDelete && new Function("row", "index", ...C, this.field.options.onAfterDelete).call(this, e, i);
|
|
6805
6805
|
} catch (t) {
|
|
6806
6806
|
this.alert(t.message, "warning");
|
|
6807
6807
|
}
|
|
6808
6808
|
},
|
|
6809
6809
|
allowDeleteFunc(e, i) {
|
|
6810
6810
|
try {
|
|
6811
|
-
return this.field.options.allowDeleteFunc ? new Function("row", "index", ...
|
|
6811
|
+
return this.field.options.allowDeleteFunc ? new Function("row", "index", ...C, this.field.options.allowDeleteFunc).call(this, e, i) : !0;
|
|
6812
6812
|
} catch (t) {
|
|
6813
6813
|
return this.alert(t.message, "warning"), !1;
|
|
6814
6814
|
}
|
|
6815
6815
|
},
|
|
6816
6816
|
clickEvent(e, i) {
|
|
6817
6817
|
try {
|
|
6818
|
-
return this.field.options.clickEvent ? new Function("row", "index", ...
|
|
6818
|
+
return this.field.options.clickEvent ? new Function("row", "index", ...C, this.field.options.clickEvent).call(this, e, i) : !0;
|
|
6819
6819
|
} catch (t) {
|
|
6820
6820
|
return this.alert(t.message, "warning"), !1;
|
|
6821
6821
|
}
|
|
@@ -6824,7 +6824,7 @@ const os = /* @__PURE__ */ R(is, [["render", ts], ["__scopeId", "data-v-f3464b8f
|
|
|
6824
6824
|
try {
|
|
6825
6825
|
if (e.onClick)
|
|
6826
6826
|
try {
|
|
6827
|
-
new Function("btnRow", "btnIndex", "dataRow", "dataIndex", ...
|
|
6827
|
+
new Function("btnRow", "btnIndex", "dataRow", "dataIndex", ...C, e.onClick).call(this, e, i, t, l);
|
|
6828
6828
|
} catch (r) {
|
|
6829
6829
|
this.alert(r.message, "warning");
|
|
6830
6830
|
}
|
|
@@ -6839,8 +6839,8 @@ const os = /* @__PURE__ */ R(is, [["render", ts], ["__scopeId", "data-v-f3464b8f
|
|
|
6839
6839
|
this.unregisterFromRefList();
|
|
6840
6840
|
}
|
|
6841
6841
|
});
|
|
6842
|
-
function ss(e, i, t, l, r,
|
|
6843
|
-
const s = ne, u = U, p = G, g = fe,
|
|
6842
|
+
function ss(e, i, t, l, r, h) {
|
|
6843
|
+
const s = ne, u = U, p = G, g = fe, w = Ri, $ = L;
|
|
6844
6844
|
return o(), d($, {
|
|
6845
6845
|
"build-rules": e.rules,
|
|
6846
6846
|
field: e.field,
|
|
@@ -6856,7 +6856,7 @@ function ss(e, i, t, l, r, c) {
|
|
|
6856
6856
|
"sub-form-row-id": e.subFormRowId
|
|
6857
6857
|
}, {
|
|
6858
6858
|
default: a(() => [
|
|
6859
|
-
(o(), d(
|
|
6859
|
+
(o(), d(w, {
|
|
6860
6860
|
ref: "fieldEditor",
|
|
6861
6861
|
key: e.field.id,
|
|
6862
6862
|
"form-id": e.field.options.formId,
|
|
@@ -6915,7 +6915,7 @@ function ss(e, i, t, l, r, c) {
|
|
|
6915
6915
|
"user-state": e.globalUserState,
|
|
6916
6916
|
"margin-enable": !0
|
|
6917
6917
|
}, null, 8, ["report-list", "params", "user-state"]),
|
|
6918
|
-
e.field.options.buttonsRow && Object.keys(e.field.options.buttonsRow).length > 0 ? (o(!0),
|
|
6918
|
+
e.field.options.buttonsRow && Object.keys(e.field.options.buttonsRow).length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.options.buttonsRow, (f, k) => (o(), c(F, null, [
|
|
6919
6919
|
f.confirm ? (o(), d(g, {
|
|
6920
6920
|
key: 0,
|
|
6921
6921
|
title: f.confirmTitle,
|
|
@@ -6994,7 +6994,7 @@ function ss(e, i, t, l, r, c) {
|
|
|
6994
6994
|
const rs = /* @__PURE__ */ R(ns, [["render", ss], ["__scopeId", "data-v-293ff20c"]]), ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6995
6995
|
__proto__: null,
|
|
6996
6996
|
default: rs
|
|
6997
|
-
}, Symbol.toStringTag, { value: "Module" })), as =
|
|
6997
|
+
}, Symbol.toStringTag, { value: "Module" })), as = I({
|
|
6998
6998
|
name: "masked-input",
|
|
6999
6999
|
typeName: "FormField",
|
|
7000
7000
|
components: {
|
|
@@ -7036,7 +7036,7 @@ const rs = /* @__PURE__ */ R(ns, [["render", ss], ["__scopeId", "data-v-293ff20c
|
|
|
7036
7036
|
this.unregisterFromRefList();
|
|
7037
7037
|
}
|
|
7038
7038
|
}), fs = { class: "el-input__wrapper el-input__wrapper" };
|
|
7039
|
-
function us(e, i, t, l, r,
|
|
7039
|
+
function us(e, i, t, l, r, h) {
|
|
7040
7040
|
const s = Mi, u = M;
|
|
7041
7041
|
return o(), d(u, {
|
|
7042
7042
|
"build-rules": e.rules,
|
|
@@ -7083,7 +7083,7 @@ function us(e, i, t, l, r, c) {
|
|
|
7083
7083
|
const ps = /* @__PURE__ */ R(as, [["render", us]]), ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7084
7084
|
__proto__: null,
|
|
7085
7085
|
default: ps
|
|
7086
|
-
}, Symbol.toStringTag, { value: "Module" })), hs =
|
|
7086
|
+
}, Symbol.toStringTag, { value: "Module" })), hs = I({
|
|
7087
7087
|
name: "multiple-date",
|
|
7088
7088
|
typeName: "FormField",
|
|
7089
7089
|
components: {
|
|
@@ -7118,7 +7118,7 @@ const ps = /* @__PURE__ */ R(as, [["render", us]]), ms = /* @__PURE__ */ Object.
|
|
|
7118
7118
|
this.unregisterFromRefList();
|
|
7119
7119
|
}
|
|
7120
7120
|
});
|
|
7121
|
-
function cs(e, i, t, l, r,
|
|
7121
|
+
function cs(e, i, t, l, r, h) {
|
|
7122
7122
|
const s = Ce, u = M;
|
|
7123
7123
|
return o(), d(u, {
|
|
7124
7124
|
"build-rules": e.rules,
|
|
@@ -7162,7 +7162,7 @@ function cs(e, i, t, l, r, c) {
|
|
|
7162
7162
|
const bs = /* @__PURE__ */ R(hs, [["render", cs], ["__scopeId", "data-v-8a08543c"]]), gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7163
7163
|
__proto__: null,
|
|
7164
7164
|
default: bs
|
|
7165
|
-
}, Symbol.toStringTag, { value: "Module" })), Fs =
|
|
7165
|
+
}, Symbol.toStringTag, { value: "Module" })), Fs = I({
|
|
7166
7166
|
name: "number-input",
|
|
7167
7167
|
typeName: "FormField",
|
|
7168
7168
|
components: {
|
|
@@ -7208,7 +7208,7 @@ const bs = /* @__PURE__ */ R(hs, [["render", cs], ["__scopeId", "data-v-8a08543c
|
|
|
7208
7208
|
key: 1,
|
|
7209
7209
|
class: "mr-1"
|
|
7210
7210
|
}, vs = { key: 1 };
|
|
7211
|
-
function ws(e, i, t, l, r,
|
|
7211
|
+
function ws(e, i, t, l, r, h) {
|
|
7212
7212
|
const s = U, u = nt, p = M;
|
|
7213
7213
|
return o(), d(p, {
|
|
7214
7214
|
"build-rules": e.rules,
|
|
@@ -7248,7 +7248,7 @@ function ws(e, i, t, l, r, c) {
|
|
|
7248
7248
|
"icon-name": e.field.options.prefixIcon,
|
|
7249
7249
|
class: "mr-1"
|
|
7250
7250
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
7251
|
-
e.field.options.prefixText ? (o(),
|
|
7251
|
+
e.field.options.prefixText ? (o(), c("span", ys, v(e.field.options.prefixText), 1)) : b("", !0)
|
|
7252
7252
|
]),
|
|
7253
7253
|
key: "0"
|
|
7254
7254
|
} : void 0,
|
|
@@ -7261,7 +7261,7 @@ function ws(e, i, t, l, r, c) {
|
|
|
7261
7261
|
class: "mr-1"
|
|
7262
7262
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
7263
7263
|
i[1] || (i[1] = E()),
|
|
7264
|
-
e.field.options.suffixText ? (o(),
|
|
7264
|
+
e.field.options.suffixText ? (o(), c("span", vs, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
7265
7265
|
]),
|
|
7266
7266
|
key: "1"
|
|
7267
7267
|
} : void 0
|
|
@@ -7273,7 +7273,7 @@ function ws(e, i, t, l, r, c) {
|
|
|
7273
7273
|
const Cs = /* @__PURE__ */ R(Fs, [["render", ws], ["__scopeId", "data-v-fb135eaa"]]), Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7274
7274
|
__proto__: null,
|
|
7275
7275
|
default: Cs
|
|
7276
|
-
}, Symbol.toStringTag, { value: "Module" })), Ss =
|
|
7276
|
+
}, Symbol.toStringTag, { value: "Module" })), Ss = I({
|
|
7277
7277
|
name: "objectid-input",
|
|
7278
7278
|
typeName: "FormField",
|
|
7279
7279
|
components: {
|
|
@@ -7311,7 +7311,7 @@ const Cs = /* @__PURE__ */ R(Fs, [["render", ws], ["__scopeId", "data-v-fb135eaa
|
|
|
7311
7311
|
this.unregisterFromRefList();
|
|
7312
7312
|
}
|
|
7313
7313
|
});
|
|
7314
|
-
function Rs(e, i, t, l, r,
|
|
7314
|
+
function Rs(e, i, t, l, r, h) {
|
|
7315
7315
|
const s = U, u = ae, p = M;
|
|
7316
7316
|
return o(), d(p, {
|
|
7317
7317
|
"build-rules": e.rules,
|
|
@@ -7383,7 +7383,7 @@ function Rs(e, i, t, l, r, c) {
|
|
|
7383
7383
|
const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7384
7384
|
__proto__: null,
|
|
7385
7385
|
default: Ms
|
|
7386
|
-
}, Symbol.toStringTag, { value: "Module" })), ks =
|
|
7386
|
+
}, Symbol.toStringTag, { value: "Module" })), ks = I({
|
|
7387
7387
|
name: "picture-upload-input",
|
|
7388
7388
|
typeName: "FormField",
|
|
7389
7389
|
components: {
|
|
@@ -7441,7 +7441,7 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7441
7441
|
let i = !1;
|
|
7442
7442
|
if (this.field.options && this.field.options.fileTypes) {
|
|
7443
7443
|
let r = this.field.options.fileTypes;
|
|
7444
|
-
r.length > 0 && (i = r.some((
|
|
7444
|
+
r.length > 0 && (i = r.some((h) => e.type === "image/" + h));
|
|
7445
7445
|
}
|
|
7446
7446
|
if (!i)
|
|
7447
7447
|
return this.alert(`Picture must be ${e.type} format!`, "warning"), !1;
|
|
@@ -7451,7 +7451,7 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7451
7451
|
handleOnBeforeUpload(e) {
|
|
7452
7452
|
try {
|
|
7453
7453
|
if (this.field.options.onBeforeUpload) {
|
|
7454
|
-
let t = new Function("file", ...
|
|
7454
|
+
let t = new Function("file", ...C, this.field.options.onBeforeUpload).call(this, e);
|
|
7455
7455
|
return typeof t == "boolean" ? t : !0;
|
|
7456
7456
|
}
|
|
7457
7457
|
return !0;
|
|
@@ -7475,7 +7475,7 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7475
7475
|
let l = null;
|
|
7476
7476
|
if (this.field.options.onUploadSuccess)
|
|
7477
7477
|
try {
|
|
7478
|
-
l = new Function("result", "file", "fileList", ...
|
|
7478
|
+
l = new Function("result", "file", "fileList", ...C, this.field.options.onUploadSuccess).call(this, e, i, t);
|
|
7479
7479
|
} catch (r) {
|
|
7480
7480
|
this.alert(r.message, "warning");
|
|
7481
7481
|
}
|
|
@@ -7508,7 +7508,7 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7508
7508
|
let l = D(this.fileList);
|
|
7509
7509
|
this.uploadBtnHidden = l.length >= this.field.options.limit;
|
|
7510
7510
|
try {
|
|
7511
|
-
this.field.options.onFileRemove && new Function("file", "fileList", ...
|
|
7511
|
+
this.field.options.onFileRemove && new Function("file", "fileList", ...C, this.field.options.onFileRemove).call(this, e, l);
|
|
7512
7512
|
} catch (r) {
|
|
7513
7513
|
this.alert(r.message, "warning");
|
|
7514
7514
|
}
|
|
@@ -7520,7 +7520,7 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7520
7520
|
},
|
|
7521
7521
|
handleUploadError(e, i, t) {
|
|
7522
7522
|
try {
|
|
7523
|
-
this.field.options.onUploadError ? new Function("error", "file", "fileList", ...
|
|
7523
|
+
this.field.options.onUploadError ? new Function("error", "file", "fileList", ...C, this.field.options.onUploadError).call(this, e, i, t) : this.alert(e, "warning");
|
|
7524
7524
|
} catch (l) {
|
|
7525
7525
|
this.alert(l.message, "warning");
|
|
7526
7526
|
}
|
|
@@ -7533,8 +7533,8 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7533
7533
|
key: 0,
|
|
7534
7534
|
class: "el-upload__tip"
|
|
7535
7535
|
};
|
|
7536
|
-
function Ds(e, i, t, l, r,
|
|
7537
|
-
const s = Je, u = J("Check"), p = se, g = J("ZoomIn"),
|
|
7536
|
+
function Ds(e, i, t, l, r, h) {
|
|
7537
|
+
const s = Je, u = J("Check"), p = se, g = J("ZoomIn"), w = J("Delete"), $ = J("Plus"), n = Ie, f = M;
|
|
7538
7538
|
return o(), d(f, {
|
|
7539
7539
|
"build-rules": e.rules,
|
|
7540
7540
|
field: e.field,
|
|
@@ -7598,14 +7598,14 @@ function Ds(e, i, t, l, r, c) {
|
|
|
7598
7598
|
_: 1
|
|
7599
7599
|
})
|
|
7600
7600
|
], 8, Es),
|
|
7601
|
-
e.field.options.disabled ? b("", !0) : (o(),
|
|
7601
|
+
e.field.options.disabled ? b("", !0) : (o(), c("span", {
|
|
7602
7602
|
key: 0,
|
|
7603
7603
|
class: "el-upload-list__item-delete",
|
|
7604
7604
|
onClick: (V) => e.handlePictureRemove(k)
|
|
7605
7605
|
}, [
|
|
7606
7606
|
m(p, null, {
|
|
7607
7607
|
default: a(() => [
|
|
7608
|
-
m(
|
|
7608
|
+
m(w)
|
|
7609
7609
|
]),
|
|
7610
7610
|
_: 1
|
|
7611
7611
|
})
|
|
@@ -7613,7 +7613,7 @@ function Ds(e, i, t, l, r, c) {
|
|
|
7613
7613
|
])
|
|
7614
7614
|
]),
|
|
7615
7615
|
tip: a(() => [
|
|
7616
|
-
e.field.options.uploadTip ? (o(),
|
|
7616
|
+
e.field.options.uploadTip ? (o(), c("div", js, v(e.field.options.uploadTip), 1)) : b("", !0)
|
|
7617
7617
|
]),
|
|
7618
7618
|
default: a(() => [
|
|
7619
7619
|
m(p, null, {
|
|
@@ -7632,7 +7632,7 @@ function Ds(e, i, t, l, r, c) {
|
|
|
7632
7632
|
const Ts = /* @__PURE__ */ R(ks, [["render", Ds], ["__scopeId", "data-v-d63829e9"]]), Vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7633
7633
|
__proto__: null,
|
|
7634
7634
|
default: Ts
|
|
7635
|
-
}, Symbol.toStringTag, { value: "Module" })), zs =
|
|
7635
|
+
}, Symbol.toStringTag, { value: "Module" })), zs = I({
|
|
7636
7636
|
name: "progress-ui",
|
|
7637
7637
|
typeName: "FormField",
|
|
7638
7638
|
components: {
|
|
@@ -7657,7 +7657,7 @@ const Ts = /* @__PURE__ */ R(ks, [["render", Ds], ["__scopeId", "data-v-d63829e9
|
|
|
7657
7657
|
methods: {
|
|
7658
7658
|
handleOnClose(e) {
|
|
7659
7659
|
try {
|
|
7660
|
-
this.field.options.onClose && new Function("event", ...
|
|
7660
|
+
this.field.options.onClose && new Function("event", ...C, this.field.options.onClose).call(this, e);
|
|
7661
7661
|
} catch (i) {
|
|
7662
7662
|
this.alert(i.message, "warning");
|
|
7663
7663
|
}
|
|
@@ -7667,7 +7667,7 @@ const Ts = /* @__PURE__ */ R(ks, [["render", Ds], ["__scopeId", "data-v-d63829e9
|
|
|
7667
7667
|
this.unregisterFromRefList();
|
|
7668
7668
|
}
|
|
7669
7669
|
});
|
|
7670
|
-
function Us(e, i, t, l, r,
|
|
7670
|
+
function Us(e, i, t, l, r, h) {
|
|
7671
7671
|
const s = st, u = L;
|
|
7672
7672
|
return o(), d(u, {
|
|
7673
7673
|
"build-rules": e.rules,
|
|
@@ -7708,7 +7708,7 @@ function Us(e, i, t, l, r, c) {
|
|
|
7708
7708
|
const Bs = /* @__PURE__ */ R(zs, [["render", Us], ["__scopeId", "data-v-852e7bd1"]]), As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7709
7709
|
__proto__: null,
|
|
7710
7710
|
default: Bs
|
|
7711
|
-
}, Symbol.toStringTag, { value: "Module" })), Ns =
|
|
7711
|
+
}, Symbol.toStringTag, { value: "Module" })), Ns = I({
|
|
7712
7712
|
name: "qrcode-ui",
|
|
7713
7713
|
typeName: "FormField",
|
|
7714
7714
|
components: {
|
|
@@ -7734,7 +7734,7 @@ const Bs = /* @__PURE__ */ R(zs, [["render", Us], ["__scopeId", "data-v-852e7bd1
|
|
|
7734
7734
|
this.unregisterFromRefList();
|
|
7735
7735
|
}
|
|
7736
7736
|
});
|
|
7737
|
-
function Hs(e, i, t, l, r,
|
|
7737
|
+
function Hs(e, i, t, l, r, h) {
|
|
7738
7738
|
const s = J("VueQrcode"), u = L;
|
|
7739
7739
|
return o(), d(u, {
|
|
7740
7740
|
"build-rules": e.rules,
|
|
@@ -7749,7 +7749,7 @@ function Hs(e, i, t, l, r, c) {
|
|
|
7749
7749
|
"sub-form-row-id": e.subFormRowId
|
|
7750
7750
|
}, {
|
|
7751
7751
|
default: a(() => [
|
|
7752
|
-
(o(),
|
|
7752
|
+
(o(), c("div", {
|
|
7753
7753
|
ref: "fieldEditor",
|
|
7754
7754
|
key: e.field.id,
|
|
7755
7755
|
class: y({ paragraph: !!e.field.options.paragraph }),
|
|
@@ -7773,7 +7773,7 @@ function Hs(e, i, t, l, r, c) {
|
|
|
7773
7773
|
const Ws = /* @__PURE__ */ R(Ns, [["render", Hs], ["__scopeId", "data-v-14161622"]]), qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7774
7774
|
__proto__: null,
|
|
7775
7775
|
default: Ws
|
|
7776
|
-
}, Symbol.toStringTag, { value: "Module" })), Gs =
|
|
7776
|
+
}, Symbol.toStringTag, { value: "Module" })), Gs = I({
|
|
7777
7777
|
name: "radio-input",
|
|
7778
7778
|
typeName: "FormField",
|
|
7779
7779
|
components: {
|
|
@@ -7808,8 +7808,8 @@ const Ws = /* @__PURE__ */ R(Ns, [["render", Hs], ["__scopeId", "data-v-14161622
|
|
|
7808
7808
|
this.unregisterFromRefList();
|
|
7809
7809
|
}
|
|
7810
7810
|
});
|
|
7811
|
-
function Js(e, i, t, l, r,
|
|
7812
|
-
const s = rt, u = Ze, p = re, g = de,
|
|
7811
|
+
function Js(e, i, t, l, r, h) {
|
|
7812
|
+
const s = rt, u = Ze, p = re, g = de, w = Ke, $ = M;
|
|
7813
7813
|
return o(), d($, {
|
|
7814
7814
|
"build-rules": e.rules,
|
|
7815
7815
|
field: e.field,
|
|
@@ -7823,7 +7823,7 @@ function Js(e, i, t, l, r, c) {
|
|
|
7823
7823
|
"sub-form-row-id": e.subFormRowId
|
|
7824
7824
|
}, {
|
|
7825
7825
|
default: a(() => [
|
|
7826
|
-
m(
|
|
7826
|
+
m(w, {
|
|
7827
7827
|
ref: "fieldEditor",
|
|
7828
7828
|
modelValue: e.fieldValue,
|
|
7829
7829
|
"onUpdate:modelValue": i[0] || (i[0] = (n) => e.fieldValue = n),
|
|
@@ -7834,7 +7834,7 @@ function Js(e, i, t, l, r, c) {
|
|
|
7834
7834
|
onChange: e.handleChangeEvent
|
|
7835
7835
|
}, {
|
|
7836
7836
|
default: a(() => [
|
|
7837
|
-
e.field.options.buttonStyle ? (o(!0),
|
|
7837
|
+
e.field.options.buttonStyle ? (o(!0), c(F, { key: 0 }, T(e.field.options.optionItems, (n, f) => (o(), d(s, {
|
|
7838
7838
|
key: f,
|
|
7839
7839
|
value: n.value,
|
|
7840
7840
|
disabled: n.disabled,
|
|
@@ -7845,10 +7845,10 @@ function Js(e, i, t, l, r, c) {
|
|
|
7845
7845
|
E(v(n.label), 1)
|
|
7846
7846
|
]),
|
|
7847
7847
|
_: 2
|
|
7848
|
-
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(),
|
|
7848
|
+
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(), c(F, { key: 1 }, [
|
|
7849
7849
|
e.field.options.showCol && e.field.options.showCol > 0 ? (o(), d(g, { key: 0 }, {
|
|
7850
7850
|
default: a(() => [
|
|
7851
|
-
(o(!0),
|
|
7851
|
+
(o(!0), c(F, null, T(e.field.options.optionItems, (n, f) => (o(), d(p, {
|
|
7852
7852
|
span: e.field.options.showCol
|
|
7853
7853
|
}, {
|
|
7854
7854
|
default: a(() => [
|
|
@@ -7869,7 +7869,7 @@ function Js(e, i, t, l, r, c) {
|
|
|
7869
7869
|
}, 1032, ["span"]))), 256))
|
|
7870
7870
|
]),
|
|
7871
7871
|
_: 1
|
|
7872
|
-
})) : (o(!0),
|
|
7872
|
+
})) : (o(!0), c(F, { key: 1 }, T(e.field.options.optionItems, (n, f) => (o(), d(u, {
|
|
7873
7873
|
key: f,
|
|
7874
7874
|
value: n.value,
|
|
7875
7875
|
disabled: n.disabled,
|
|
@@ -7892,7 +7892,7 @@ function Js(e, i, t, l, r, c) {
|
|
|
7892
7892
|
const Ks = /* @__PURE__ */ R(Gs, [["render", Js], ["__scopeId", "data-v-9ae0dedd"]]), Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7893
7893
|
__proto__: null,
|
|
7894
7894
|
default: Ks
|
|
7895
|
-
}, Symbol.toStringTag, { value: "Module" })), Qs =
|
|
7895
|
+
}, Symbol.toStringTag, { value: "Module" })), Qs = I({
|
|
7896
7896
|
name: "radio-text-input",
|
|
7897
7897
|
typeName: "FormField",
|
|
7898
7898
|
components: {
|
|
@@ -7957,8 +7957,8 @@ const Ks = /* @__PURE__ */ R(Gs, [["render", Js], ["__scopeId", "data-v-9ae0dedd
|
|
|
7957
7957
|
this.unregisterFromRefList();
|
|
7958
7958
|
}
|
|
7959
7959
|
});
|
|
7960
|
-
function Ys(e, i, t, l, r,
|
|
7961
|
-
const s = ae, u = Ze, p = re, g = de,
|
|
7960
|
+
function Ys(e, i, t, l, r, h) {
|
|
7961
|
+
const s = ae, u = Ze, p = re, g = de, w = Ke, $ = M;
|
|
7962
7962
|
return o(), d($, {
|
|
7963
7963
|
"build-rules": e.rules,
|
|
7964
7964
|
field: e.field,
|
|
@@ -7972,7 +7972,7 @@ function Ys(e, i, t, l, r, c) {
|
|
|
7972
7972
|
"sub-form-row-id": e.subFormRowId
|
|
7973
7973
|
}, {
|
|
7974
7974
|
default: a(() => [
|
|
7975
|
-
m(
|
|
7975
|
+
m(w, {
|
|
7976
7976
|
ref: "fieldEditor",
|
|
7977
7977
|
modelValue: e.valueState,
|
|
7978
7978
|
"onUpdate:modelValue": i[0] || (i[0] = (n) => e.valueState = n),
|
|
@@ -7985,7 +7985,7 @@ function Ys(e, i, t, l, r, c) {
|
|
|
7985
7985
|
default: a(() => [
|
|
7986
7986
|
e.field.options.showCol && e.field.options.showCol > 0 ? (o(), d(g, { key: 0 }, {
|
|
7987
7987
|
default: a(() => [
|
|
7988
|
-
(o(!0),
|
|
7988
|
+
(o(!0), c(F, null, T(e.field.options.optionItems, (n, f) => (o(), d(p, {
|
|
7989
7989
|
span: e.field.options.showCol
|
|
7990
7990
|
}, {
|
|
7991
7991
|
default: a(() => [
|
|
@@ -8023,7 +8023,7 @@ function Ys(e, i, t, l, r, c) {
|
|
|
8023
8023
|
}, 1032, ["span"]))), 256))
|
|
8024
8024
|
]),
|
|
8025
8025
|
_: 1
|
|
8026
|
-
})) : (o(!0),
|
|
8026
|
+
})) : (o(!0), c(F, { key: 1 }, T(e.field.options.optionItems, (n, f) => (o(), d(u, {
|
|
8027
8027
|
key: f,
|
|
8028
8028
|
value: n.value,
|
|
8029
8029
|
disabled: n.disabled,
|
|
@@ -8062,7 +8062,7 @@ function Ys(e, i, t, l, r, c) {
|
|
|
8062
8062
|
const Xs = /* @__PURE__ */ R(Qs, [["render", Ys], ["__scopeId", "data-v-10f388a2"]]), _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8063
8063
|
__proto__: null,
|
|
8064
8064
|
default: Xs
|
|
8065
|
-
}, Symbol.toStringTag, { value: "Module" })), xs =
|
|
8065
|
+
}, Symbol.toStringTag, { value: "Module" })), xs = I({
|
|
8066
8066
|
name: "rate-input",
|
|
8067
8067
|
typeName: "FormField",
|
|
8068
8068
|
components: {
|
|
@@ -8105,7 +8105,7 @@ const Xs = /* @__PURE__ */ R(Qs, [["render", Ys], ["__scopeId", "data-v-10f388a2
|
|
|
8105
8105
|
this.unregisterFromRefList();
|
|
8106
8106
|
}
|
|
8107
8107
|
});
|
|
8108
|
-
function er(e, i, t, l, r,
|
|
8108
|
+
function er(e, i, t, l, r, h) {
|
|
8109
8109
|
const s = dt, u = M;
|
|
8110
8110
|
return o(), d(u, {
|
|
8111
8111
|
"build-rules": e.rules,
|
|
@@ -8143,7 +8143,7 @@ function er(e, i, t, l, r, c) {
|
|
|
8143
8143
|
const ir = /* @__PURE__ */ R(xs, [["render", er], ["__scopeId", "data-v-a4f7a549"]]), tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8144
8144
|
__proto__: null,
|
|
8145
8145
|
default: ir
|
|
8146
|
-
}, Symbol.toStringTag, { value: "Module" })), or =
|
|
8146
|
+
}, Symbol.toStringTag, { value: "Module" })), or = I({
|
|
8147
8147
|
name: "record-ui",
|
|
8148
8148
|
typeName: "FormField",
|
|
8149
8149
|
components: {
|
|
@@ -8218,42 +8218,42 @@ const ir = /* @__PURE__ */ R(xs, [["render", er], ["__scopeId", "data-v-a4f7a549
|
|
|
8218
8218
|
methods: {
|
|
8219
8219
|
insertBefore(e) {
|
|
8220
8220
|
try {
|
|
8221
|
-
this.field.options.onInsertBefore && new Function("row", "index", ...
|
|
8221
|
+
this.field.options.onInsertBefore && new Function("row", "index", ...C, this.field.options.onInsertBefore).call(this, e);
|
|
8222
8222
|
} catch (i) {
|
|
8223
8223
|
this.alert(i.message, "warning");
|
|
8224
8224
|
}
|
|
8225
8225
|
},
|
|
8226
8226
|
updateBefore(e) {
|
|
8227
8227
|
try {
|
|
8228
|
-
this.field.options.onUpdateBefore && new Function("row", "index", ...
|
|
8228
|
+
this.field.options.onUpdateBefore && new Function("row", "index", ...C, this.field.options.onUpdateBefore).call(this, e);
|
|
8229
8229
|
} catch (i) {
|
|
8230
8230
|
this.alert(i.message, "warning");
|
|
8231
8231
|
}
|
|
8232
8232
|
},
|
|
8233
8233
|
viewBefore(e) {
|
|
8234
8234
|
try {
|
|
8235
|
-
this.field.options.onViewBefore && new Function("row", "index", ...
|
|
8235
|
+
this.field.options.onViewBefore && new Function("row", "index", ...C, this.field.options.onViewBefore).call(this, e);
|
|
8236
8236
|
} catch (i) {
|
|
8237
8237
|
this.alert(i.message, "warning");
|
|
8238
8238
|
}
|
|
8239
8239
|
},
|
|
8240
8240
|
beforeSave(e) {
|
|
8241
8241
|
try {
|
|
8242
|
-
this.field.options.onBeforeSave && new Function("row", ...
|
|
8242
|
+
this.field.options.onBeforeSave && new Function("row", ...C, this.field.options.onBeforeSave).call(this, e);
|
|
8243
8243
|
} catch (i) {
|
|
8244
8244
|
this.alert(i.message, "warning");
|
|
8245
8245
|
}
|
|
8246
8246
|
},
|
|
8247
8247
|
afterDelete(e) {
|
|
8248
8248
|
try {
|
|
8249
|
-
this.field.options.onAfterDelete && new Function("row", "index", ...
|
|
8249
|
+
this.field.options.onAfterDelete && new Function("row", "index", ...C, this.field.options.onAfterDelete).call(this, e);
|
|
8250
8250
|
} catch (i) {
|
|
8251
8251
|
this.alert(i.message, "warning");
|
|
8252
8252
|
}
|
|
8253
8253
|
},
|
|
8254
8254
|
allowDeleteFunc(e) {
|
|
8255
8255
|
try {
|
|
8256
|
-
return this.field.options.allowDeleteFunc ? new Function("row", "index", ...
|
|
8256
|
+
return this.field.options.allowDeleteFunc ? new Function("row", "index", ...C, this.field.options.allowDeleteFunc).call(this, e) : !0;
|
|
8257
8257
|
} catch (i) {
|
|
8258
8258
|
return this.alert(i.message, "warning"), !1;
|
|
8259
8259
|
}
|
|
@@ -8262,7 +8262,7 @@ const ir = /* @__PURE__ */ R(xs, [["render", er], ["__scopeId", "data-v-a4f7a549
|
|
|
8262
8262
|
try {
|
|
8263
8263
|
if (e.onClick)
|
|
8264
8264
|
try {
|
|
8265
|
-
new Function("btnRow", "btnIndex", "dataRow", "dataIndex", ...
|
|
8265
|
+
new Function("btnRow", "btnIndex", "dataRow", "dataIndex", ...C, e.onClick).call(this, e, i, t);
|
|
8266
8266
|
} catch (l) {
|
|
8267
8267
|
this.alert(l.message, "warning");
|
|
8268
8268
|
}
|
|
@@ -8277,8 +8277,8 @@ const ir = /* @__PURE__ */ R(xs, [["render", er], ["__scopeId", "data-v-a4f7a549
|
|
|
8277
8277
|
this.unregisterFromRefList();
|
|
8278
8278
|
}
|
|
8279
8279
|
});
|
|
8280
|
-
function lr(e, i, t, l, r,
|
|
8281
|
-
const s = ne, u = U, p = G, g = fe,
|
|
8280
|
+
function lr(e, i, t, l, r, h) {
|
|
8281
|
+
const s = ne, u = U, p = G, g = fe, w = Oi, $ = L;
|
|
8282
8282
|
return o(), d($, {
|
|
8283
8283
|
"build-rules": e.rules,
|
|
8284
8284
|
field: e.field,
|
|
@@ -8293,7 +8293,7 @@ function lr(e, i, t, l, r, c) {
|
|
|
8293
8293
|
"sub-form-row-id": e.subFormRowId
|
|
8294
8294
|
}, {
|
|
8295
8295
|
default: a(() => [
|
|
8296
|
-
(o(), d(
|
|
8296
|
+
(o(), d(w, {
|
|
8297
8297
|
ref: "fieldEditor",
|
|
8298
8298
|
key: e.field.id,
|
|
8299
8299
|
"form-id": e.field.options.formId,
|
|
@@ -8340,7 +8340,7 @@ function lr(e, i, t, l, r, c) {
|
|
|
8340
8340
|
"user-state": e.globalUserState,
|
|
8341
8341
|
"margin-enable": !0
|
|
8342
8342
|
}, null, 8, ["report-list", "params", "user-state"]),
|
|
8343
|
-
e.field.options.buttonsRow && Object.keys(e.field.options.buttonsRow).length > 0 ? (o(!0),
|
|
8343
|
+
e.field.options.buttonsRow && Object.keys(e.field.options.buttonsRow).length > 0 ? (o(!0), c(F, { key: 0 }, T(e.field.options.buttonsRow, (f, k) => (o(), c(F, null, [
|
|
8344
8344
|
f.confirm ? (o(), d(g, {
|
|
8345
8345
|
key: 0,
|
|
8346
8346
|
title: f.confirmTitle,
|
|
@@ -8417,7 +8417,7 @@ function lr(e, i, t, l, r, c) {
|
|
|
8417
8417
|
const nr = /* @__PURE__ */ R(or, [["render", lr], ["__scopeId", "data-v-2f36808c"]]), sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8418
8418
|
__proto__: null,
|
|
8419
8419
|
default: nr
|
|
8420
|
-
}, Symbol.toStringTag, { value: "Module" })), rr =
|
|
8420
|
+
}, Symbol.toStringTag, { value: "Module" })), rr = I({
|
|
8421
8421
|
name: "report-ui",
|
|
8422
8422
|
typeName: "FormField",
|
|
8423
8423
|
components: {
|
|
@@ -8454,7 +8454,7 @@ const nr = /* @__PURE__ */ R(or, [["render", lr], ["__scopeId", "data-v-2f36808c
|
|
|
8454
8454
|
methods: {
|
|
8455
8455
|
clickEvent(e, i) {
|
|
8456
8456
|
try {
|
|
8457
|
-
return this.field.options.clickEvent ? new Function("row", "index", ...
|
|
8457
|
+
return this.field.options.clickEvent ? new Function("row", "index", ...C, this.field.options.clickEvent).call(this, e, i) : !0;
|
|
8458
8458
|
} catch (t) {
|
|
8459
8459
|
return this.alert(t.message, "warning"), !1;
|
|
8460
8460
|
}
|
|
@@ -8464,7 +8464,7 @@ const nr = /* @__PURE__ */ R(or, [["render", lr], ["__scopeId", "data-v-2f36808c
|
|
|
8464
8464
|
this.unregisterFromRefList();
|
|
8465
8465
|
}
|
|
8466
8466
|
});
|
|
8467
|
-
function dr(e, i, t, l, r,
|
|
8467
|
+
function dr(e, i, t, l, r, h) {
|
|
8468
8468
|
const s = ne, u = U, p = G, g = L;
|
|
8469
8469
|
return o(), d(g, {
|
|
8470
8470
|
"build-rules": e.rules,
|
|
@@ -8510,7 +8510,7 @@ function dr(e, i, t, l, r, c) {
|
|
|
8510
8510
|
const ar = /* @__PURE__ */ R(rr, [["render", dr], ["__scopeId", "data-v-7a37e132"]]), fr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8511
8511
|
__proto__: null,
|
|
8512
8512
|
default: ar
|
|
8513
|
-
}, Symbol.toStringTag, { value: "Module" })), ur =
|
|
8513
|
+
}, Symbol.toStringTag, { value: "Module" })), ur = I({
|
|
8514
8514
|
name: "segmented-ui",
|
|
8515
8515
|
typeName: "FormField",
|
|
8516
8516
|
components: {
|
|
@@ -8560,7 +8560,7 @@ const ar = /* @__PURE__ */ R(rr, [["render", dr], ["__scopeId", "data-v-7a37e132
|
|
|
8560
8560
|
let i = Number(e);
|
|
8561
8561
|
this.tabField.activeTab(i - 1);
|
|
8562
8562
|
}
|
|
8563
|
-
this.field.options.onUiChange && new Function("value", ...
|
|
8563
|
+
this.field.options.onUiChange && new Function("value", ...C, this.field.options.onUiChange).call(this, e);
|
|
8564
8564
|
} catch (i) {
|
|
8565
8565
|
this.alert(i.message, "warning");
|
|
8566
8566
|
}
|
|
@@ -8570,7 +8570,7 @@ const ar = /* @__PURE__ */ R(rr, [["render", dr], ["__scopeId", "data-v-7a37e132
|
|
|
8570
8570
|
this.unregisterFromRefList();
|
|
8571
8571
|
}
|
|
8572
8572
|
});
|
|
8573
|
-
function pr(e, i, t, l, r,
|
|
8573
|
+
function pr(e, i, t, l, r, h) {
|
|
8574
8574
|
const s = U, u = at, p = L;
|
|
8575
8575
|
return o(), d(p, {
|
|
8576
8576
|
"build-rules": e.rules,
|
|
@@ -8622,7 +8622,7 @@ function pr(e, i, t, l, r, c) {
|
|
|
8622
8622
|
const mr = /* @__PURE__ */ R(ur, [["render", pr], ["__scopeId", "data-v-58269946"]]), hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8623
8623
|
__proto__: null,
|
|
8624
8624
|
default: mr
|
|
8625
|
-
}, Symbol.toStringTag, { value: "Module" })), cr =
|
|
8625
|
+
}, Symbol.toStringTag, { value: "Module" })), cr = I({
|
|
8626
8626
|
name: "select-data-input",
|
|
8627
8627
|
typeName: "FormField",
|
|
8628
8628
|
components: {
|
|
@@ -8730,7 +8730,7 @@ const mr = /* @__PURE__ */ R(ur, [["render", pr], ["__scopeId", "data-v-58269946
|
|
|
8730
8730
|
this.unregisterFromRefList();
|
|
8731
8731
|
}
|
|
8732
8732
|
});
|
|
8733
|
-
function br(e, i, t, l, r,
|
|
8733
|
+
function br(e, i, t, l, r, h) {
|
|
8734
8734
|
const s = ve, u = M;
|
|
8735
8735
|
return o(), d(u, {
|
|
8736
8736
|
"build-rules": e.rules,
|
|
@@ -8782,7 +8782,7 @@ function br(e, i, t, l, r, c) {
|
|
|
8782
8782
|
const gr = /* @__PURE__ */ R(cr, [["render", br]]), Fr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8783
8783
|
__proto__: null,
|
|
8784
8784
|
default: gr
|
|
8785
|
-
}, Symbol.toStringTag, { value: "Module" })), yr =
|
|
8785
|
+
}, Symbol.toStringTag, { value: "Module" })), yr = I({
|
|
8786
8786
|
name: "select-form-input",
|
|
8787
8787
|
typeName: "FormField",
|
|
8788
8788
|
components: {
|
|
@@ -8861,7 +8861,7 @@ const gr = /* @__PURE__ */ R(cr, [["render", br]]), Fr = /* @__PURE__ */ Object.
|
|
|
8861
8861
|
this.unregisterFromRefList();
|
|
8862
8862
|
}
|
|
8863
8863
|
});
|
|
8864
|
-
function vr(e, i, t, l, r,
|
|
8864
|
+
function vr(e, i, t, l, r, h) {
|
|
8865
8865
|
const s = ve, u = M;
|
|
8866
8866
|
return o(), d(u, {
|
|
8867
8867
|
"build-rules": e.rules,
|
|
@@ -8922,7 +8922,7 @@ function vr(e, i, t, l, r, c) {
|
|
|
8922
8922
|
const wr = /* @__PURE__ */ R(yr, [["render", vr]]), Cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8923
8923
|
__proto__: null,
|
|
8924
8924
|
default: wr
|
|
8925
|
-
}, Symbol.toStringTag, { value: "Module" })), Ir =
|
|
8925
|
+
}, Symbol.toStringTag, { value: "Module" })), Ir = I({
|
|
8926
8926
|
name: "select-input",
|
|
8927
8927
|
typeName: "FormField",
|
|
8928
8928
|
components: {
|
|
@@ -8960,7 +8960,7 @@ const wr = /* @__PURE__ */ R(yr, [["render", vr]]), Cr = /* @__PURE__ */ Object.
|
|
|
8960
8960
|
this.unregisterFromRefList();
|
|
8961
8961
|
}
|
|
8962
8962
|
});
|
|
8963
|
-
function Sr(e, i, t, l, r,
|
|
8963
|
+
function Sr(e, i, t, l, r, h) {
|
|
8964
8964
|
const s = ut, u = ft, p = M;
|
|
8965
8965
|
return o(), d(p, {
|
|
8966
8966
|
"build-rules": e.rules,
|
|
@@ -8998,7 +8998,7 @@ function Sr(e, i, t, l, r, c) {
|
|
|
8998
8998
|
onChange: e.handleChangeEvent
|
|
8999
8999
|
}, {
|
|
9000
9000
|
default: a(() => [
|
|
9001
|
-
(o(!0),
|
|
9001
|
+
(o(!0), c(F, null, T(e.field.options.optionItems, (g) => (o(), d(s, {
|
|
9002
9002
|
key: g.value,
|
|
9003
9003
|
label: g.label,
|
|
9004
9004
|
value: g.value,
|
|
@@ -9014,7 +9014,7 @@ function Sr(e, i, t, l, r, c) {
|
|
|
9014
9014
|
const Rr = /* @__PURE__ */ R(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572"]]), Mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9015
9015
|
__proto__: null,
|
|
9016
9016
|
default: Rr
|
|
9017
|
-
}, Symbol.toStringTag, { value: "Module" })), Or =
|
|
9017
|
+
}, Symbol.toStringTag, { value: "Module" })), Or = I({
|
|
9018
9018
|
name: "select-path-input",
|
|
9019
9019
|
typeName: "FormField",
|
|
9020
9020
|
components: {
|
|
@@ -9066,8 +9066,8 @@ const Rr = /* @__PURE__ */ R(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572
|
|
|
9066
9066
|
for (const t in e) {
|
|
9067
9067
|
const l = e[t], r = ye(l, this.field.options.sourcePath);
|
|
9068
9068
|
if (r && typeof r == "object")
|
|
9069
|
-
for (const
|
|
9070
|
-
let s = r[
|
|
9069
|
+
for (const h in r) {
|
|
9070
|
+
let s = r[h];
|
|
9071
9071
|
this.field.options.prefixProp && (s.prefixProp = l[this.field.options.prefixProp] ? l[this.field.options.prefixProp] : ""), this.field.options.groupProp && (s.groupProp = l[this.field.options.groupProp] ? l[this.field.options.groupProp] : ""), i.push(s);
|
|
9072
9072
|
}
|
|
9073
9073
|
}
|
|
@@ -9085,7 +9085,7 @@ const Rr = /* @__PURE__ */ R(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572
|
|
|
9085
9085
|
methods: {
|
|
9086
9086
|
onItemListChange(e) {
|
|
9087
9087
|
try {
|
|
9088
|
-
this.field.options.onItemListChange && new Function("itemList", ...
|
|
9088
|
+
this.field.options.onItemListChange && new Function("itemList", ...C, this.field.options.onItemListChange).call(this, e);
|
|
9089
9089
|
} catch (i) {
|
|
9090
9090
|
this.alert(i.message, "warning");
|
|
9091
9091
|
}
|
|
@@ -9105,8 +9105,8 @@ const Rr = /* @__PURE__ */ R(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572
|
|
|
9105
9105
|
} else if (this.subFormItemFlag) {
|
|
9106
9106
|
const l = t + "@row" + this.subFormRowId;
|
|
9107
9107
|
if (this.refField && this.refField(l) && this.refField(l).fieldEditor) {
|
|
9108
|
-
const r = this.refField(l).fieldEditor,
|
|
9109
|
-
|
|
9108
|
+
const r = this.refField(l).fieldEditor, h = r.selectInput.itemSelected && Object.keys(r.selectInput.itemSelected).length > 0 ? r.selectInput.itemSelected : null;
|
|
9109
|
+
h && (i[l] = h);
|
|
9110
9110
|
}
|
|
9111
9111
|
}
|
|
9112
9112
|
}
|
|
@@ -9120,7 +9120,7 @@ const Rr = /* @__PURE__ */ R(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572
|
|
|
9120
9120
|
this.unregisterFromRefList();
|
|
9121
9121
|
}
|
|
9122
9122
|
});
|
|
9123
|
-
function kr(e, i, t, l, r,
|
|
9123
|
+
function kr(e, i, t, l, r, h) {
|
|
9124
9124
|
const s = ki, u = M;
|
|
9125
9125
|
return o(), d(u, {
|
|
9126
9126
|
"build-rules": e.rules,
|
|
@@ -9172,7 +9172,7 @@ function kr(e, i, t, l, r, c) {
|
|
|
9172
9172
|
const Pr = /* @__PURE__ */ R(Or, [["render", kr], ["__scopeId", "data-v-2b0c7426"]]), $r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9173
9173
|
__proto__: null,
|
|
9174
9174
|
default: Pr
|
|
9175
|
-
}, Symbol.toStringTag, { value: "Module" })), Er =
|
|
9175
|
+
}, Symbol.toStringTag, { value: "Module" })), Er = I({
|
|
9176
9176
|
name: "select-sql-input",
|
|
9177
9177
|
typeName: "FormField",
|
|
9178
9178
|
components: {
|
|
@@ -9222,7 +9222,7 @@ const Pr = /* @__PURE__ */ R(Or, [["render", kr], ["__scopeId", "data-v-2b0c7426
|
|
|
9222
9222
|
this.unregisterFromRefList();
|
|
9223
9223
|
}
|
|
9224
9224
|
});
|
|
9225
|
-
function Lr(e, i, t, l, r,
|
|
9225
|
+
function Lr(e, i, t, l, r, h) {
|
|
9226
9226
|
const s = ve, u = M;
|
|
9227
9227
|
return o(), d(u, {
|
|
9228
9228
|
"build-rules": e.rules,
|
|
@@ -9277,7 +9277,7 @@ function Lr(e, i, t, l, r, c) {
|
|
|
9277
9277
|
const jr = /* @__PURE__ */ R(Er, [["render", Lr]]), Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9278
9278
|
__proto__: null,
|
|
9279
9279
|
default: jr
|
|
9280
|
-
}, Symbol.toStringTag, { value: "Module" })), Tr =
|
|
9280
|
+
}, Symbol.toStringTag, { value: "Module" })), Tr = I({
|
|
9281
9281
|
name: "side-menu-ui",
|
|
9282
9282
|
typeName: "FormField",
|
|
9283
9283
|
components: {
|
|
@@ -9332,7 +9332,7 @@ const jr = /* @__PURE__ */ R(Er, [["render", Lr]]), Dr = /* @__PURE__ */ Object.
|
|
|
9332
9332
|
methods: {
|
|
9333
9333
|
clickEvent(e, i) {
|
|
9334
9334
|
try {
|
|
9335
|
-
return this.field.options.clickEvent ? new Function("row", "index", ...
|
|
9335
|
+
return this.field.options.clickEvent ? new Function("row", "index", ...C, this.field.options.clickEvent).call(this, e, i) : !0;
|
|
9336
9336
|
} catch (t) {
|
|
9337
9337
|
return this.alert(t.message, "warning"), !1;
|
|
9338
9338
|
}
|
|
@@ -9342,7 +9342,7 @@ const jr = /* @__PURE__ */ R(Er, [["render", Lr]]), Dr = /* @__PURE__ */ Object.
|
|
|
9342
9342
|
this.unregisterFromRefList();
|
|
9343
9343
|
}
|
|
9344
9344
|
});
|
|
9345
|
-
function Vr(e, i, t, l, r,
|
|
9345
|
+
function Vr(e, i, t, l, r, h) {
|
|
9346
9346
|
const s = Pi, u = L;
|
|
9347
9347
|
return o(), d(u, {
|
|
9348
9348
|
"build-rules": e.rules,
|
|
@@ -9403,7 +9403,7 @@ function Vr(e, i, t, l, r, c) {
|
|
|
9403
9403
|
const zr = /* @__PURE__ */ R(Tr, [["render", Vr], ["__scopeId", "data-v-1704ff87"]]), Ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9404
9404
|
__proto__: null,
|
|
9405
9405
|
default: zr
|
|
9406
|
-
}, Symbol.toStringTag, { value: "Module" })), Br =
|
|
9406
|
+
}, Symbol.toStringTag, { value: "Module" })), Br = I({
|
|
9407
9407
|
name: "slider-input",
|
|
9408
9408
|
typeName: "FormField",
|
|
9409
9409
|
components: {
|
|
@@ -9446,7 +9446,7 @@ const zr = /* @__PURE__ */ R(Tr, [["render", Vr], ["__scopeId", "data-v-1704ff87
|
|
|
9446
9446
|
this.unregisterFromRefList();
|
|
9447
9447
|
}
|
|
9448
9448
|
});
|
|
9449
|
-
function Ar(e, i, t, l, r,
|
|
9449
|
+
function Ar(e, i, t, l, r, h) {
|
|
9450
9450
|
const s = pt, u = M;
|
|
9451
9451
|
return o(), d(u, {
|
|
9452
9452
|
"build-rules": e.rules,
|
|
@@ -9481,7 +9481,7 @@ function Ar(e, i, t, l, r, c) {
|
|
|
9481
9481
|
const Nr = /* @__PURE__ */ R(Br, [["render", Ar], ["__scopeId", "data-v-01943245"]]), Hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9482
9482
|
__proto__: null,
|
|
9483
9483
|
default: Nr
|
|
9484
|
-
}, Symbol.toStringTag, { value: "Module" })), Wr =
|
|
9484
|
+
}, Symbol.toStringTag, { value: "Module" })), Wr = I({
|
|
9485
9485
|
name: "statistic-ui",
|
|
9486
9486
|
typeName: "FormField",
|
|
9487
9487
|
components: {
|
|
@@ -9512,9 +9512,9 @@ const Nr = /* @__PURE__ */ R(Br, [["render", Ar], ["__scopeId", "data-v-01943245
|
|
|
9512
9512
|
key: 0,
|
|
9513
9513
|
class: "statistic-footer"
|
|
9514
9514
|
}, Zr = { class: "footer-item" };
|
|
9515
|
-
function Qr(e, i, t, l, r,
|
|
9516
|
-
const s = U, u = ee, p = mt, g = me,
|
|
9517
|
-
return o(), d(
|
|
9515
|
+
function Qr(e, i, t, l, r, h) {
|
|
9516
|
+
const s = U, u = ee, p = mt, g = me, w = L;
|
|
9517
|
+
return o(), d(w, {
|
|
9518
9518
|
"build-rules": e.rules,
|
|
9519
9519
|
field: e.field,
|
|
9520
9520
|
builder: e.builder,
|
|
@@ -9528,7 +9528,7 @@ function Qr(e, i, t, l, r, c) {
|
|
|
9528
9528
|
"sub-form-row-id": e.subFormRowId
|
|
9529
9529
|
}, {
|
|
9530
9530
|
default: a(() => [
|
|
9531
|
-
(o(),
|
|
9531
|
+
(o(), c("div", {
|
|
9532
9532
|
class: y(["statistic-card", [e.field.options.displayType, e.field.options.headerType || "", "paragraph"]]),
|
|
9533
9533
|
ref: "fieldEditor",
|
|
9534
9534
|
key: e.field.id
|
|
@@ -9555,7 +9555,7 @@ function Qr(e, i, t, l, r, c) {
|
|
|
9555
9555
|
}, null, 8, ["icon-name"])
|
|
9556
9556
|
]),
|
|
9557
9557
|
_: 1
|
|
9558
|
-
}, 8, ["content"])) : (o(),
|
|
9558
|
+
}, 8, ["content"])) : (o(), c(F, { key: 1 }, [
|
|
9559
9559
|
e.field.options.labelIconClass ? (o(), d(s, {
|
|
9560
9560
|
key: 0,
|
|
9561
9561
|
"icon-name": e.field.options.labelIconClass
|
|
@@ -9573,7 +9573,7 @@ function Qr(e, i, t, l, r, c) {
|
|
|
9573
9573
|
"icon-name": e.field.options.prefixIcon,
|
|
9574
9574
|
class: "mr-2"
|
|
9575
9575
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
9576
|
-
e.field.options.prefixText ? (o(),
|
|
9576
|
+
e.field.options.prefixText ? (o(), c("span", Gr, v(e.field.options.prefixText), 1)) : b("", !0)
|
|
9577
9577
|
]),
|
|
9578
9578
|
key: "0"
|
|
9579
9579
|
} : void 0,
|
|
@@ -9586,12 +9586,12 @@ function Qr(e, i, t, l, r, c) {
|
|
|
9586
9586
|
class: "ml-1"
|
|
9587
9587
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
9588
9588
|
i[1] || (i[1] = E()),
|
|
9589
|
-
e.field.options.suffixText ? (o(),
|
|
9589
|
+
e.field.options.suffixText ? (o(), c("span", Jr, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
9590
9590
|
]),
|
|
9591
9591
|
key: "1"
|
|
9592
9592
|
} : void 0
|
|
9593
9593
|
]), 1032, ["value", "formatter", "decimal-separator", "group-separator", "precision", "style"]),
|
|
9594
|
-
e.field.options.footer ? (o(),
|
|
9594
|
+
e.field.options.footer ? (o(), c("div", Kr, [
|
|
9595
9595
|
S("div", Zr, [
|
|
9596
9596
|
m(g, {
|
|
9597
9597
|
modelValue: e.field.options.footer,
|
|
@@ -9610,7 +9610,7 @@ function Qr(e, i, t, l, r, c) {
|
|
|
9610
9610
|
const Yr = /* @__PURE__ */ R(Wr, [["render", Qr], ["__scopeId", "data-v-a98bc28c"]]), Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9611
9611
|
__proto__: null,
|
|
9612
9612
|
default: Yr
|
|
9613
|
-
}, Symbol.toStringTag, { value: "Module" })), _r =
|
|
9613
|
+
}, Symbol.toStringTag, { value: "Module" })), _r = I({
|
|
9614
9614
|
name: "step-ui",
|
|
9615
9615
|
typeName: "FormField",
|
|
9616
9616
|
components: {
|
|
@@ -9668,7 +9668,7 @@ const Yr = /* @__PURE__ */ R(Wr, [["render", Qr], ["__scopeId", "data-v-a98bc28c
|
|
|
9668
9668
|
this.unregisterFromRefList();
|
|
9669
9669
|
}
|
|
9670
9670
|
});
|
|
9671
|
-
function xr(e, i, t, l, r,
|
|
9671
|
+
function xr(e, i, t, l, r, h) {
|
|
9672
9672
|
const s = ct, u = ht, p = L;
|
|
9673
9673
|
return o(), d(p, {
|
|
9674
9674
|
"build-rules": e.rules,
|
|
@@ -9695,7 +9695,7 @@ function xr(e, i, t, l, r, c) {
|
|
|
9695
9695
|
"finish-status": e.field.options.finishStatus ? e.field.options.finishStatus : "success"
|
|
9696
9696
|
}, {
|
|
9697
9697
|
default: a(() => [
|
|
9698
|
-
(o(!0),
|
|
9698
|
+
(o(!0), c(F, null, T(e.field.options.stepList, (g, w) => (o(), d(s, {
|
|
9699
9699
|
title: g.label,
|
|
9700
9700
|
description: g.desc,
|
|
9701
9701
|
icon: g.icon
|
|
@@ -9710,7 +9710,7 @@ function xr(e, i, t, l, r, c) {
|
|
|
9710
9710
|
const ed = /* @__PURE__ */ R(_r, [["render", xr], ["__scopeId", "data-v-36741146"]]), id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9711
9711
|
__proto__: null,
|
|
9712
9712
|
default: ed
|
|
9713
|
-
}, Symbol.toStringTag, { value: "Module" })), td =
|
|
9713
|
+
}, Symbol.toStringTag, { value: "Module" })), td = I({
|
|
9714
9714
|
name: "svg-input",
|
|
9715
9715
|
typeName: "FormField",
|
|
9716
9716
|
components: {
|
|
@@ -9791,9 +9791,9 @@ const ed = /* @__PURE__ */ R(_r, [["render", xr], ["__scopeId", "data-v-36741146
|
|
|
9791
9791
|
this.unregisterFromRefList();
|
|
9792
9792
|
}
|
|
9793
9793
|
}), od = ["src"];
|
|
9794
|
-
function ld(e, i, t, l, r,
|
|
9795
|
-
const s = J("Plus"), u = se, p = Ie, g = qe,
|
|
9796
|
-
return o(), d(
|
|
9794
|
+
function ld(e, i, t, l, r, h) {
|
|
9795
|
+
const s = J("Plus"), u = se, p = Ie, g = qe, w = M;
|
|
9796
|
+
return o(), d(w, {
|
|
9797
9797
|
"build-rules": e.rules,
|
|
9798
9798
|
field: e.field,
|
|
9799
9799
|
builder: e.builder,
|
|
@@ -9854,7 +9854,7 @@ function ld(e, i, t, l, r, c) {
|
|
|
9854
9854
|
const nd = /* @__PURE__ */ R(td, [["render", ld], ["__scopeId", "data-v-46c91e56"]]), sd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9855
9855
|
__proto__: null,
|
|
9856
9856
|
default: nd
|
|
9857
|
-
}, Symbol.toStringTag, { value: "Module" })), rd =
|
|
9857
|
+
}, Symbol.toStringTag, { value: "Module" })), rd = I({
|
|
9858
9858
|
name: "svg-ui",
|
|
9859
9859
|
typeName: "FormField",
|
|
9860
9860
|
components: {
|
|
@@ -9879,7 +9879,7 @@ const nd = /* @__PURE__ */ R(td, [["render", ld], ["__scopeId", "data-v-46c91e56
|
|
|
9879
9879
|
this.unregisterFromRefList();
|
|
9880
9880
|
}
|
|
9881
9881
|
});
|
|
9882
|
-
function dd(e, i, t, l, r,
|
|
9882
|
+
function dd(e, i, t, l, r, h) {
|
|
9883
9883
|
const s = $i, u = U, p = L;
|
|
9884
9884
|
return o(), d(p, {
|
|
9885
9885
|
"build-rules": e.rules,
|
|
@@ -9894,7 +9894,7 @@ function dd(e, i, t, l, r, c) {
|
|
|
9894
9894
|
"sub-form-row-id": e.subFormRowId
|
|
9895
9895
|
}, {
|
|
9896
9896
|
default: a(() => [
|
|
9897
|
-
(o(),
|
|
9897
|
+
(o(), c("div", {
|
|
9898
9898
|
ref: "fieldEditor",
|
|
9899
9899
|
key: e.field.id,
|
|
9900
9900
|
class: y({ paragraph: !!e.field.options.paragraph }),
|
|
@@ -9903,12 +9903,12 @@ function dd(e, i, t, l, r, c) {
|
|
|
9903
9903
|
S("span", {
|
|
9904
9904
|
class: y([e.field.options.sizeClass ? e.field.options.sizeClass : "text-6"])
|
|
9905
9905
|
}, [
|
|
9906
|
-
e.field.options.svgData ? (o(),
|
|
9906
|
+
e.field.options.svgData ? (o(), c(F, { key: 0 }, [
|
|
9907
9907
|
e.field.options.svgValue ? (o(), d(s, {
|
|
9908
9908
|
key: 0,
|
|
9909
9909
|
"svg-data": e.field.options.svgValue
|
|
9910
9910
|
}, null, 8, ["svg-data"])) : b("", !0)
|
|
9911
|
-
], 64)) : (o(),
|
|
9911
|
+
], 64)) : (o(), c(F, { key: 1 }, [
|
|
9912
9912
|
e.field.options.svgValue ? (o(), d(u, {
|
|
9913
9913
|
key: 0,
|
|
9914
9914
|
"icon-name": e.field.options.svgValue
|
|
@@ -9923,7 +9923,7 @@ function dd(e, i, t, l, r, c) {
|
|
|
9923
9923
|
const ad = /* @__PURE__ */ R(rd, [["render", dd], ["__scopeId", "data-v-f8779646"]]), fd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9924
9924
|
__proto__: null,
|
|
9925
9925
|
default: ad
|
|
9926
|
-
}, Symbol.toStringTag, { value: "Module" })), ud =
|
|
9926
|
+
}, Symbol.toStringTag, { value: "Module" })), ud = I({
|
|
9927
9927
|
name: "switch-input",
|
|
9928
9928
|
typeName: "FormField",
|
|
9929
9929
|
components: {
|
|
@@ -9958,7 +9958,7 @@ const ad = /* @__PURE__ */ R(rd, [["render", dd], ["__scopeId", "data-v-f8779646
|
|
|
9958
9958
|
this.unregisterFromRefList();
|
|
9959
9959
|
}
|
|
9960
9960
|
}), pd = { class: "custom-active-action" }, md = { class: "custom-active-action" };
|
|
9961
|
-
function hd(e, i, t, l, r,
|
|
9961
|
+
function hd(e, i, t, l, r, h) {
|
|
9962
9962
|
const s = U, u = bt, p = M;
|
|
9963
9963
|
return o(), d(p, {
|
|
9964
9964
|
"build-rules": e.rules,
|
|
@@ -10010,7 +10010,7 @@ function hd(e, i, t, l, r, c) {
|
|
|
10010
10010
|
const cd = /* @__PURE__ */ R(ud, [["render", hd], ["__scopeId", "data-v-60c683b8"]]), bd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10011
10011
|
__proto__: null,
|
|
10012
10012
|
default: cd
|
|
10013
|
-
}, Symbol.toStringTag, { value: "Module" })), gd =
|
|
10013
|
+
}, Symbol.toStringTag, { value: "Module" })), gd = I({
|
|
10014
10014
|
name: "tags-input",
|
|
10015
10015
|
typeName: "FormField",
|
|
10016
10016
|
components: {
|
|
@@ -10051,7 +10051,7 @@ const cd = /* @__PURE__ */ R(ud, [["render", hd], ["__scopeId", "data-v-60c683b8
|
|
|
10051
10051
|
this.unregisterFromRefList();
|
|
10052
10052
|
}
|
|
10053
10053
|
}), Fd = { key: 1 }, yd = { key: 1 };
|
|
10054
|
-
function vd(e, i, t, l, r,
|
|
10054
|
+
function vd(e, i, t, l, r, h) {
|
|
10055
10055
|
const s = U, u = gt, p = M;
|
|
10056
10056
|
return o(), d(p, {
|
|
10057
10057
|
"build-rules": e.rules,
|
|
@@ -10096,7 +10096,7 @@ function vd(e, i, t, l, r, c) {
|
|
|
10096
10096
|
"icon-name": e.field.options.prefixIcon,
|
|
10097
10097
|
class: "mr-1"
|
|
10098
10098
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
10099
|
-
e.field.options.prefixText ? (o(),
|
|
10099
|
+
e.field.options.prefixText ? (o(), c("span", Fd, v(e.field.options.prefixText), 1)) : b("", !0)
|
|
10100
10100
|
]),
|
|
10101
10101
|
key: "0"
|
|
10102
10102
|
} : void 0,
|
|
@@ -10108,7 +10108,7 @@ function vd(e, i, t, l, r, c) {
|
|
|
10108
10108
|
"icon-name": e.field.options.suffixIcon
|
|
10109
10109
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
10110
10110
|
i[1] || (i[1] = E()),
|
|
10111
|
-
e.field.options.suffixText ? (o(),
|
|
10111
|
+
e.field.options.suffixText ? (o(), c("span", yd, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
10112
10112
|
]),
|
|
10113
10113
|
key: "1"
|
|
10114
10114
|
} : void 0
|
|
@@ -10120,7 +10120,7 @@ function vd(e, i, t, l, r, c) {
|
|
|
10120
10120
|
const wd = /* @__PURE__ */ R(gd, [["render", vd]]), Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10121
10121
|
__proto__: null,
|
|
10122
10122
|
default: wd
|
|
10123
|
-
}, Symbol.toStringTag, { value: "Module" })), Id =
|
|
10123
|
+
}, Symbol.toStringTag, { value: "Module" })), Id = I({
|
|
10124
10124
|
name: "text-input",
|
|
10125
10125
|
typeName: "FormField",
|
|
10126
10126
|
components: {
|
|
@@ -10158,7 +10158,7 @@ const wd = /* @__PURE__ */ R(gd, [["render", vd]]), Cd = /* @__PURE__ */ Object.
|
|
|
10158
10158
|
this.unregisterFromRefList();
|
|
10159
10159
|
}
|
|
10160
10160
|
});
|
|
10161
|
-
function Sd(e, i, t, l, r,
|
|
10161
|
+
function Sd(e, i, t, l, r, h) {
|
|
10162
10162
|
const s = U, u = G, p = ae, g = M;
|
|
10163
10163
|
return o(), d(g, {
|
|
10164
10164
|
"build-rules": e.rules,
|
|
@@ -10176,7 +10176,7 @@ function Sd(e, i, t, l, r, c) {
|
|
|
10176
10176
|
m(p, {
|
|
10177
10177
|
ref: "fieldEditor",
|
|
10178
10178
|
modelValue: e.fieldValue,
|
|
10179
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
10179
|
+
"onUpdate:modelValue": i[0] || (i[0] = (w) => e.fieldValue = w),
|
|
10180
10180
|
disabled: e.field.options.disabled,
|
|
10181
10181
|
readonly: e.field.options.readonly,
|
|
10182
10182
|
size: e.widgetSize,
|
|
@@ -10210,7 +10210,7 @@ function Sd(e, i, t, l, r, c) {
|
|
|
10210
10210
|
e.field.options.appendButton || e.field.options.suffixText ? {
|
|
10211
10211
|
name: "append",
|
|
10212
10212
|
fn: a(() => [
|
|
10213
|
-
!e.field.options.appendButton && e.field.options.suffixText ? (o(),
|
|
10213
|
+
!e.field.options.appendButton && e.field.options.suffixText ? (o(), c(F, { key: 0 }, [
|
|
10214
10214
|
E(v(e.field.options.suffixText), 1)
|
|
10215
10215
|
], 64)) : (o(), d(u, {
|
|
10216
10216
|
key: 1,
|
|
@@ -10247,7 +10247,7 @@ function Sd(e, i, t, l, r, c) {
|
|
|
10247
10247
|
const Rd = /* @__PURE__ */ R(Id, [["render", Sd]]), Md = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10248
10248
|
__proto__: null,
|
|
10249
10249
|
default: Rd
|
|
10250
|
-
}, Symbol.toStringTag, { value: "Module" })), Od =
|
|
10250
|
+
}, Symbol.toStringTag, { value: "Module" })), Od = I({
|
|
10251
10251
|
name: "text-ui",
|
|
10252
10252
|
typeName: "FormField",
|
|
10253
10253
|
components: {
|
|
@@ -10272,7 +10272,7 @@ const Rd = /* @__PURE__ */ R(Id, [["render", Sd]]), Md = /* @__PURE__ */ Object.
|
|
|
10272
10272
|
this.unregisterFromRefList();
|
|
10273
10273
|
}
|
|
10274
10274
|
});
|
|
10275
|
-
function kd(e, i, t, l, r,
|
|
10275
|
+
function kd(e, i, t, l, r, h) {
|
|
10276
10276
|
const s = U, u = ee, p = Ft, g = L;
|
|
10277
10277
|
return o(), d(g, {
|
|
10278
10278
|
"build-rules": e.rules,
|
|
@@ -10288,13 +10288,13 @@ function kd(e, i, t, l, r, c) {
|
|
|
10288
10288
|
"sub-form-row-id": e.subFormRowId
|
|
10289
10289
|
}, {
|
|
10290
10290
|
default: a(() => [
|
|
10291
|
-
(o(),
|
|
10291
|
+
(o(), c("div", {
|
|
10292
10292
|
ref: "fieldEditor",
|
|
10293
10293
|
key: e.field.id,
|
|
10294
10294
|
class: y({ paragraph: !!e.field.options.paragraph }),
|
|
10295
10295
|
style: j([{ display: "flex" }, { textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left", marginBottom: e.field.options.marginBottom + "px" }])
|
|
10296
10296
|
}, [
|
|
10297
|
-
e.field.options.labelIconClass && e.field.options.labelIconPosition === "front" ? (o(),
|
|
10297
|
+
e.field.options.labelIconClass && e.field.options.labelIconPosition === "front" ? (o(), c(F, { key: 0 }, [
|
|
10298
10298
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
10299
10299
|
key: 0,
|
|
10300
10300
|
content: e.field.options.labelTooltip
|
|
@@ -10321,7 +10321,7 @@ function kd(e, i, t, l, r, c) {
|
|
|
10321
10321
|
]),
|
|
10322
10322
|
_: 1
|
|
10323
10323
|
}, 8, ["truncated", "line-clamp", "style", "class"]),
|
|
10324
|
-
e.field.options.labelIconClass && e.field.options.labelIconPosition === "rear" ? (o(),
|
|
10324
|
+
e.field.options.labelIconClass && e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
10325
10325
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
10326
10326
|
key: 0,
|
|
10327
10327
|
content: e.field.options.labelTooltip
|
|
@@ -10345,7 +10345,7 @@ function kd(e, i, t, l, r, c) {
|
|
|
10345
10345
|
const Pd = /* @__PURE__ */ R(Od, [["render", kd], ["__scopeId", "data-v-b76cd20b"]]), $d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10346
10346
|
__proto__: null,
|
|
10347
10347
|
default: Pd
|
|
10348
|
-
}, Symbol.toStringTag, { value: "Module" })), Ed =
|
|
10348
|
+
}, Symbol.toStringTag, { value: "Module" })), Ed = I({
|
|
10349
10349
|
name: "textarea-input",
|
|
10350
10350
|
typeName: "FormField",
|
|
10351
10351
|
components: {
|
|
@@ -10380,7 +10380,7 @@ const Pd = /* @__PURE__ */ R(Od, [["render", kd], ["__scopeId", "data-v-b76cd20b
|
|
|
10380
10380
|
this.unregisterFromRefList();
|
|
10381
10381
|
}
|
|
10382
10382
|
});
|
|
10383
|
-
function Ld(e, i, t, l, r,
|
|
10383
|
+
function Ld(e, i, t, l, r, h) {
|
|
10384
10384
|
const s = ae, u = M;
|
|
10385
10385
|
return o(), d(u, {
|
|
10386
10386
|
"build-rules": e.rules,
|
|
@@ -10421,7 +10421,7 @@ function Ld(e, i, t, l, r, c) {
|
|
|
10421
10421
|
const jd = /* @__PURE__ */ R(Ed, [["render", Ld]]), Dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10422
10422
|
__proto__: null,
|
|
10423
10423
|
default: jd
|
|
10424
|
-
}, Symbol.toStringTag, { value: "Module" })), Td =
|
|
10424
|
+
}, Symbol.toStringTag, { value: "Module" })), Td = I({
|
|
10425
10425
|
name: "time-input",
|
|
10426
10426
|
typeName: "FormField",
|
|
10427
10427
|
components: {
|
|
@@ -10457,7 +10457,7 @@ const jd = /* @__PURE__ */ R(Ed, [["render", Ld]]), Dd = /* @__PURE__ */ Object.
|
|
|
10457
10457
|
this.unregisterFromRefList();
|
|
10458
10458
|
}
|
|
10459
10459
|
});
|
|
10460
|
-
function Vd(e, i, t, l, r,
|
|
10460
|
+
function Vd(e, i, t, l, r, h) {
|
|
10461
10461
|
const s = Qe, u = M;
|
|
10462
10462
|
return o(), d(u, {
|
|
10463
10463
|
"build-rules": e.rules,
|
|
@@ -10501,7 +10501,7 @@ function Vd(e, i, t, l, r, c) {
|
|
|
10501
10501
|
const zd = /* @__PURE__ */ R(Td, [["render", Vd], ["__scopeId", "data-v-cdf76f9a"]]), Ud = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10502
10502
|
__proto__: null,
|
|
10503
10503
|
default: zd
|
|
10504
|
-
}, Symbol.toStringTag, { value: "Module" })), Bd =
|
|
10504
|
+
}, Symbol.toStringTag, { value: "Module" })), Bd = I({
|
|
10505
10505
|
name: "time-range-input",
|
|
10506
10506
|
typeName: "FormField",
|
|
10507
10507
|
components: {
|
|
@@ -10536,7 +10536,7 @@ const zd = /* @__PURE__ */ R(Td, [["render", Vd], ["__scopeId", "data-v-cdf76f9a
|
|
|
10536
10536
|
this.unregisterFromRefList();
|
|
10537
10537
|
}
|
|
10538
10538
|
});
|
|
10539
|
-
function Ad(e, i, t, l, r,
|
|
10539
|
+
function Ad(e, i, t, l, r, h) {
|
|
10540
10540
|
const s = Qe, u = M;
|
|
10541
10541
|
return o(), d(u, {
|
|
10542
10542
|
"build-rules": e.rules,
|
|
@@ -10578,7 +10578,7 @@ function Ad(e, i, t, l, r, c) {
|
|
|
10578
10578
|
const Nd = /* @__PURE__ */ R(Bd, [["render", Ad], ["__scopeId", "data-v-b059ddb1"]]), Hd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10579
10579
|
__proto__: null,
|
|
10580
10580
|
default: Nd
|
|
10581
|
-
}, Symbol.toStringTag, { value: "Module" })), Wd =
|
|
10581
|
+
}, Symbol.toStringTag, { value: "Module" })), Wd = I({
|
|
10582
10582
|
name: "time-select-input",
|
|
10583
10583
|
typeName: "FormField",
|
|
10584
10584
|
components: {
|
|
@@ -10650,7 +10650,7 @@ const Nd = /* @__PURE__ */ R(Bd, [["render", Ad], ["__scopeId", "data-v-b059ddb1
|
|
|
10650
10650
|
this.unregisterFromRefList();
|
|
10651
10651
|
}
|
|
10652
10652
|
});
|
|
10653
|
-
function qd(e, i, t, l, r,
|
|
10653
|
+
function qd(e, i, t, l, r, h) {
|
|
10654
10654
|
const s = yt, u = M;
|
|
10655
10655
|
return o(), d(u, {
|
|
10656
10656
|
"build-rules": e.rules,
|
|
@@ -10699,7 +10699,7 @@ function qd(e, i, t, l, r, c) {
|
|
|
10699
10699
|
const Gd = /* @__PURE__ */ R(Wd, [["render", qd], ["__scopeId", "data-v-365dcbe8"]]), Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10700
10700
|
__proto__: null,
|
|
10701
10701
|
default: Gd
|
|
10702
|
-
}, Symbol.toStringTag, { value: "Module" })), Kd =
|
|
10702
|
+
}, Symbol.toStringTag, { value: "Module" })), Kd = I({
|
|
10703
10703
|
name: "tour-ui",
|
|
10704
10704
|
typeName: "FormField",
|
|
10705
10705
|
components: {
|
|
@@ -10730,7 +10730,7 @@ const Gd = /* @__PURE__ */ R(Wd, [["render", qd], ["__scopeId", "data-v-365dcbe8
|
|
|
10730
10730
|
methods: {
|
|
10731
10731
|
handleOnFinish() {
|
|
10732
10732
|
try {
|
|
10733
|
-
this.field.options.onFinish && new Function(...
|
|
10733
|
+
this.field.options.onFinish && new Function(...C, this.field.options.onFinish).call(this);
|
|
10734
10734
|
} catch (e) {
|
|
10735
10735
|
this.alert(e.message, "warning");
|
|
10736
10736
|
}
|
|
@@ -10740,8 +10740,8 @@ const Gd = /* @__PURE__ */ R(Wd, [["render", qd], ["__scopeId", "data-v-365dcbe8
|
|
|
10740
10740
|
this.unregisterFromRefList();
|
|
10741
10741
|
}
|
|
10742
10742
|
});
|
|
10743
|
-
function Zd(e, i, t, l, r,
|
|
10744
|
-
const s = U, u = G, p = me, g = wt,
|
|
10743
|
+
function Zd(e, i, t, l, r, h) {
|
|
10744
|
+
const s = U, u = G, p = me, g = wt, w = vt, $ = L;
|
|
10745
10745
|
return o(), d($, {
|
|
10746
10746
|
"build-rules": e.rules,
|
|
10747
10747
|
field: e.field,
|
|
@@ -10756,7 +10756,7 @@ function Zd(e, i, t, l, r, c) {
|
|
|
10756
10756
|
"sub-form-row-id": e.subFormRowId
|
|
10757
10757
|
}, {
|
|
10758
10758
|
default: a(() => [
|
|
10759
|
-
(o(),
|
|
10759
|
+
(o(), c("div", {
|
|
10760
10760
|
ref: "fieldEditor",
|
|
10761
10761
|
key: e.field.id
|
|
10762
10762
|
}, [
|
|
@@ -10783,7 +10783,7 @@ function Zd(e, i, t, l, r, c) {
|
|
|
10783
10783
|
]),
|
|
10784
10784
|
_: 1
|
|
10785
10785
|
}, 8, ["disabled", "type", "size", "plain", "round", "circle"]),
|
|
10786
|
-
m(
|
|
10786
|
+
m(w, {
|
|
10787
10787
|
modelValue: e.field.options.open,
|
|
10788
10788
|
"onUpdate:modelValue": i[1] || (i[1] = (n) => e.field.options.open = n),
|
|
10789
10789
|
mask: !!e.field.options.maskTour,
|
|
@@ -10792,7 +10792,7 @@ function Zd(e, i, t, l, r, c) {
|
|
|
10792
10792
|
onFinish: e.handleOnFinish
|
|
10793
10793
|
}, K({
|
|
10794
10794
|
default: a(() => [
|
|
10795
|
-
e.field.options.steps ? (o(!0),
|
|
10795
|
+
e.field.options.steps ? (o(!0), c(F, { key: 0 }, T(e.field.options.steps, (n, f) => (o(), d(g, {
|
|
10796
10796
|
target: e.refField(n.target)?.$el,
|
|
10797
10797
|
title: n.title
|
|
10798
10798
|
}, {
|
|
@@ -10855,32 +10855,34 @@ function Xd() {
|
|
|
10855
10855
|
};
|
|
10856
10856
|
}
|
|
10857
10857
|
function _d(e, i) {
|
|
10858
|
+
if (!e) return "";
|
|
10858
10859
|
let t = e.replace(/\\n/g, "").replace(/[\s\r\n'"]/g, "").replace(/-----BEGIN.*?-----/g, "").replace(/-----END.*?-----/g, "");
|
|
10859
|
-
const l = "-----BEGIN PUBLIC KEY-----", r = "-----END PUBLIC KEY-----",
|
|
10860
|
+
const l = "-----BEGIN PUBLIC KEY-----", r = "-----END PUBLIC KEY-----", h = t.match(/.{1,64}/g)?.join(`
|
|
10860
10861
|
`) || t;
|
|
10861
10862
|
return `${l}
|
|
10862
|
-
${
|
|
10863
|
+
${h}
|
|
10863
10864
|
${r}`;
|
|
10864
10865
|
}
|
|
10865
|
-
const xd = (e) => {
|
|
10866
|
+
const xd = (e, i) => {
|
|
10866
10867
|
try {
|
|
10867
|
-
|
|
10868
|
-
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCJUKaPfUKzZtBiKOsKYYGCZCFr
|
|
10869
|
-
EJEOZ+q/iJBak+bXAN9HVvlL/9u+rNy+HlEtWJAffA2MIXkXV8lzAqeMFmjjee/N
|
|
10870
|
-
FDOtUsg8r6dqxCMULJpEnZ2ou370CL+XDlxn3oKorwM7LPTe2qr1DTvwVvLJx2hl
|
|
10871
|
-
tjverk8X5A9+IBcvMQIDAQAB
|
|
10872
|
-
-----END PUBLIC KEY-----`;
|
|
10873
|
-
console.log("envPublicKey", i);
|
|
10874
|
-
const t = _d(i, "public");
|
|
10875
|
-
return new Et(t).decryptPublic(e, "utf8");
|
|
10868
|
+
return new Et(i).decryptPublic(e, "utf8");
|
|
10876
10869
|
} catch {
|
|
10877
10870
|
return "";
|
|
10878
10871
|
}
|
|
10879
10872
|
}, ea = async function(e, i) {
|
|
10880
10873
|
try {
|
|
10881
10874
|
if (e) {
|
|
10882
|
-
const { key: t, iv: l, data: r } = e
|
|
10883
|
-
|
|
10875
|
+
const { key: t, iv: l, data: r } = e;
|
|
10876
|
+
let h = `-----BEGIN PUBLIC KEY-----
|
|
10877
|
+
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCJUKaPfUKzZtBiKOsKYYGCZCFr
|
|
10878
|
+
EJEOZ+q/iJBak+bXAN9HVvlL/9u+rNy+HlEtWJAffA2MIXkXV8lzAqeMFmjjee/N
|
|
10879
|
+
FDOtUsg8r6dqxCMULJpEnZ2ou370CL+XDlxn3oKorwM7LPTe2qr1DTvwVvLJx2hl
|
|
10880
|
+
tjverk8X5A9+IBcvMQIDAQAB
|
|
10881
|
+
-----END PUBLIC KEY-----`;
|
|
10882
|
+
i.connectInfo && i.connectInfo.public_key && (h = i.connectInfo.public_key);
|
|
10883
|
+
let s = _d(h, "public");
|
|
10884
|
+
const u = xd(t, s), p = je(u), g = je(l), $ = kt.decrypt(r, p, { iv: g, mode: $t.CBC, padding: Pt.PKCS7 }).toString(xe.Utf8);
|
|
10885
|
+
return JSON.parse($);
|
|
10884
10886
|
}
|
|
10885
10887
|
return {};
|
|
10886
10888
|
} catch {
|
|
@@ -10890,7 +10892,7 @@ tjverk8X5A9+IBcvMQIDAQAB
|
|
|
10890
10892
|
function je(e) {
|
|
10891
10893
|
return xe.Hex.parse(e);
|
|
10892
10894
|
}
|
|
10893
|
-
const ia =
|
|
10895
|
+
const ia = I({
|
|
10894
10896
|
name: "SdFormRender",
|
|
10895
10897
|
emits: ["formChange"],
|
|
10896
10898
|
components: {
|
|
@@ -11145,7 +11147,7 @@ const ia = C({
|
|
|
11145
11147
|
} else
|
|
11146
11148
|
this.formDataModel.xparentx = null, this.showInput = !1;
|
|
11147
11149
|
try {
|
|
11148
|
-
this.onParentChange = !0, this.formConfig && this.formConfig.onParentChange && await new Function("fieldName", "newValue", "oldValue", "formModel", "showInput", ...
|
|
11150
|
+
this.onParentChange = !0, this.formConfig && this.formConfig.onParentChange && await new Function("fieldName", "newValue", "oldValue", "formModel", "showInput", ...C, this.formConfig.onParentChange).call(this, this.sdform.joiner_field.field_name, e, i, this.formDataModel, this.showInput);
|
|
11149
11151
|
} catch (t) {
|
|
11150
11152
|
this.alert(t.message, "warning");
|
|
11151
11153
|
}
|
|
@@ -11201,17 +11203,17 @@ const ia = C({
|
|
|
11201
11203
|
cancelButtonText: "Cancel",
|
|
11202
11204
|
type: l,
|
|
11203
11205
|
...t
|
|
11204
|
-
}).then(({ value:
|
|
11206
|
+
}).then(({ value: h }) => {
|
|
11205
11207
|
if (i)
|
|
11206
11208
|
try {
|
|
11207
|
-
i(
|
|
11209
|
+
i(h);
|
|
11208
11210
|
} catch (s) {
|
|
11209
11211
|
this.alert(s.message, "error");
|
|
11210
11212
|
}
|
|
11211
11213
|
}).catch(() => {
|
|
11212
11214
|
});
|
|
11213
|
-
} catch (
|
|
11214
|
-
console.log(
|
|
11215
|
+
} catch (h) {
|
|
11216
|
+
console.log(h.message);
|
|
11215
11217
|
}
|
|
11216
11218
|
},
|
|
11217
11219
|
// emitCall(eventName:any, params:any){
|
|
@@ -11307,14 +11309,14 @@ const ia = C({
|
|
|
11307
11309
|
(e) => {
|
|
11308
11310
|
this.parentInput.value = this.parentId;
|
|
11309
11311
|
}
|
|
11310
|
-
)), this.onMounted = !0, this.formConfig && this.formConfig.onFormMounted && new Function(...
|
|
11312
|
+
)), this.onMounted = !0, this.formConfig && this.formConfig.onFormMounted && new Function(...C, this.formConfig.onFormMounted).call(this);
|
|
11311
11313
|
} catch (e) {
|
|
11312
11314
|
this.alert(e.message, "warning");
|
|
11313
11315
|
}
|
|
11314
11316
|
},
|
|
11315
11317
|
handleOnUnmounted() {
|
|
11316
11318
|
try {
|
|
11317
|
-
this.onUnmounted = !0, this.formConfig && this.formConfig.onFormUnmounted && new Function(...
|
|
11319
|
+
this.onUnmounted = !0, this.formConfig && this.formConfig.onFormUnmounted && new Function(...C, this.formConfig.onFormUnmounted).call(this);
|
|
11318
11320
|
} catch (e) {
|
|
11319
11321
|
this.alert(e.message, "warning");
|
|
11320
11322
|
}
|
|
@@ -11336,9 +11338,9 @@ const ia = C({
|
|
|
11336
11338
|
},
|
|
11337
11339
|
handleFieldDataChange(e, i, t, l, r) {
|
|
11338
11340
|
try {
|
|
11339
|
-
this.formConfig && this.formConfig.onFormDataChange && new Function("fieldName", "newValue", "oldValue", "formModel", "subFormName", "subFormRowIndex", ...
|
|
11340
|
-
} catch (
|
|
11341
|
-
this.alert(
|
|
11341
|
+
this.formConfig && this.formConfig.onFormDataChange && new Function("fieldName", "newValue", "oldValue", "formModel", "subFormName", "subFormRowIndex", ...C, this.formConfig.onFormDataChange).call(this, e, i, t, this.formDataModel, l, r);
|
|
11342
|
+
} catch (h) {
|
|
11343
|
+
this.alert(h.message, "warning");
|
|
11342
11344
|
}
|
|
11343
11345
|
},
|
|
11344
11346
|
addFieldValidateEventHandler() {
|
|
@@ -11360,7 +11362,7 @@ const ia = C({
|
|
|
11360
11362
|
},
|
|
11361
11363
|
handleOnCreated() {
|
|
11362
11364
|
try {
|
|
11363
|
-
this.onCreated = !0, this.formConfig && this.formConfig.onFormCreated && new Function(...
|
|
11365
|
+
this.onCreated = !0, this.formConfig && this.formConfig.onFormCreated && new Function(...C, this.formConfig.onFormCreated).call(this);
|
|
11364
11366
|
} catch (e) {
|
|
11365
11367
|
this.alert(e.message, "warning");
|
|
11366
11368
|
}
|
|
@@ -11387,14 +11389,14 @@ const ia = C({
|
|
|
11387
11389
|
});
|
|
11388
11390
|
},
|
|
11389
11391
|
findFieldNameInSubForm(e) {
|
|
11390
|
-
let i = [], t = null, l = (r,
|
|
11391
|
-
r.options && r.options.name === e && (t =
|
|
11392
|
+
let i = [], t = null, l = (r, h) => {
|
|
11393
|
+
r.options && r.options.name === e && (t = h.options.name);
|
|
11392
11394
|
};
|
|
11393
11395
|
if (ji(this.fields, l), t) {
|
|
11394
11396
|
let r = this.getFieldRef(t);
|
|
11395
11397
|
if (r) {
|
|
11396
|
-
let
|
|
11397
|
-
|
|
11398
|
+
let h = r.getRowIdData();
|
|
11399
|
+
h && h.length > 0 && h.forEach((s) => {
|
|
11398
11400
|
i.push(e + "@row" + s);
|
|
11399
11401
|
});
|
|
11400
11402
|
}
|
|
@@ -11423,14 +11425,14 @@ const ia = C({
|
|
|
11423
11425
|
return this.formDataModel[this.sdform.joiner_field.field_name] ? this.formDataModel[this.sdform.joiner_field.field_name] : null;
|
|
11424
11426
|
},
|
|
11425
11427
|
openForm(e, i, t, l, r) {
|
|
11426
|
-
const
|
|
11428
|
+
const h = {
|
|
11427
11429
|
formId: e,
|
|
11428
11430
|
dataId: i,
|
|
11429
11431
|
parentId: t,
|
|
11430
11432
|
initData: l,
|
|
11431
11433
|
...r
|
|
11432
11434
|
};
|
|
11433
|
-
this.subFormOpen(
|
|
11435
|
+
this.subFormOpen(h);
|
|
11434
11436
|
},
|
|
11435
11437
|
setFormModel(e) {
|
|
11436
11438
|
if (e)
|
|
@@ -11455,8 +11457,8 @@ const ia = C({
|
|
|
11455
11457
|
return this.formDataModel;
|
|
11456
11458
|
let i = function() {
|
|
11457
11459
|
}, t = new window.Promise(function(l, r) {
|
|
11458
|
-
i = function(
|
|
11459
|
-
s ? r(s) : l(
|
|
11460
|
+
i = function(h, s) {
|
|
11461
|
+
s ? r(s) : l(h);
|
|
11460
11462
|
};
|
|
11461
11463
|
});
|
|
11462
11464
|
return this.getNativeForm().validate((l) => {
|
|
@@ -11584,9 +11586,9 @@ const ia = C({
|
|
|
11584
11586
|
key: 2,
|
|
11585
11587
|
class: "widget-wrapper"
|
|
11586
11588
|
}, na = { key: 0 };
|
|
11587
|
-
function sa(e, i, t, l, r,
|
|
11588
|
-
const s = U, u = ee, p = G, g = Ui,
|
|
11589
|
-
return o(),
|
|
11589
|
+
function sa(e, i, t, l, r, h) {
|
|
11590
|
+
const s = U, u = ee, p = G, g = Ui, w = we, $ = We, n = He, f = Ct, k = Bi;
|
|
11591
|
+
return o(), c(F, null, [
|
|
11590
11592
|
m(f, {
|
|
11591
11593
|
"label-position": e.labelPosition,
|
|
11592
11594
|
size: e.size,
|
|
@@ -11599,7 +11601,7 @@ function sa(e, i, t, l, r, c) {
|
|
|
11599
11601
|
}, ["prevent"]))
|
|
11600
11602
|
}, {
|
|
11601
11603
|
default: a(() => [
|
|
11602
|
-
e.sdform.joiner_field && e.sdform.joiner_field.joiner_enable ? (o(),
|
|
11604
|
+
e.sdform.joiner_field && e.sdform.joiner_field.joiner_enable ? (o(), c("div", {
|
|
11603
11605
|
key: 0,
|
|
11604
11606
|
class: "joiner-wrapper",
|
|
11605
11607
|
"data-id": e.sdform.joiner_field && e.sdform.joiner_field.joiner_enable ? e.sdform.joiner_field.form_id.value : null
|
|
@@ -11663,7 +11665,7 @@ function sa(e, i, t, l, r, c) {
|
|
|
11663
11665
|
e.disabled ? void 0 : {
|
|
11664
11666
|
name: "prefix",
|
|
11665
11667
|
fn: a(() => [
|
|
11666
|
-
e.showInput ? b("", !0) : (o(),
|
|
11668
|
+
e.showInput ? b("", !0) : (o(), c(F, { key: 0 }, [
|
|
11667
11669
|
e.sdform.joiner_field.insert_enable ? (o(), d(p, {
|
|
11668
11670
|
key: 0,
|
|
11669
11671
|
type: "success",
|
|
@@ -11699,7 +11701,7 @@ function sa(e, i, t, l, r, c) {
|
|
|
11699
11701
|
key: "0"
|
|
11700
11702
|
}
|
|
11701
11703
|
]), 1032, ["modelValue", "build-state", "placeholder", "disabled", "data-provider", "value-field", "search-field", "label-field", "ref-field", "label-template", "user-state", "style", "size", "onChange"]),
|
|
11702
|
-
e.annotated ? (o(), d(
|
|
11704
|
+
e.annotated ? (o(), d(w, {
|
|
11703
11705
|
key: 0,
|
|
11704
11706
|
type: "warning",
|
|
11705
11707
|
effect: "plain",
|
|
@@ -11723,7 +11725,7 @@ function sa(e, i, t, l, r, c) {
|
|
|
11723
11725
|
}, {
|
|
11724
11726
|
default: a(() => [
|
|
11725
11727
|
S("ul", oa, [
|
|
11726
|
-
(o(!0),
|
|
11728
|
+
(o(!0), c(F, null, T(e.formData.xerrorx, (V, ie) => (o(), c("li", null, [
|
|
11727
11729
|
S("b", null, [
|
|
11728
11730
|
S("u", null, v(ie), 1)
|
|
11729
11731
|
]),
|
|
@@ -11733,8 +11735,8 @@ function sa(e, i, t, l, r, c) {
|
|
|
11733
11735
|
]),
|
|
11734
11736
|
_: 1
|
|
11735
11737
|
})) : b("", !0),
|
|
11736
|
-
e.showInput ? (o(),
|
|
11737
|
-
(o(!0),
|
|
11738
|
+
e.showInput ? (o(), c("div", la, [
|
|
11739
|
+
(o(!0), c(F, null, T(e.fields, (V, ie) => (o(), c(F, null, [
|
|
11738
11740
|
V.category === "container" ? (o(), d(B(V.component + "-render"), {
|
|
11739
11741
|
field: V,
|
|
11740
11742
|
key: V.id ? V.id : ie,
|
|
@@ -11756,7 +11758,7 @@ function sa(e, i, t, l, r, c) {
|
|
|
11756
11758
|
]),
|
|
11757
11759
|
_: 1
|
|
11758
11760
|
}, 8, ["label-position", "size", "class", "label-width", "model"]),
|
|
11759
|
-
e.showPopupFlag ? (o(),
|
|
11761
|
+
e.showPopupFlag ? (o(), c("div", na, [
|
|
11760
11762
|
m(k, De({ ref: "refSubForm" }, e.subFormBindProps, {
|
|
11761
11763
|
"is-sub-form": !0,
|
|
11762
11764
|
"user-state": e.userState
|