sd-render 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/{sd-lib-DwnJET61.js → sd-lib-CMFXC6Si.js} +1052 -1031
- package/{sd-render-Dx_T8Qqr.js → sd-render-ywatVexk.js} +472 -509
- package/sd-render.es.js +2 -2
- package/sd-render.style.css +1 -1
- package/types/src/components/form-render/SdFormRender.vue.d.ts +16 -1
- package/types/src/components/sdwidget/SdCrudForm.vue.d.ts +19 -1
- package/types/src/components/sdwidget/SdCrudGrid.vue.d.ts +10 -0
- package/types/src/components/sdwidget/SdCrudSelect.vue.d.ts +4 -0
- package/types/src/components/sdwidget/SdCrudSelectSubForm.vue.d.ts +4 -0
- package/types/src/components/sdwidget/SdUiCarousel.vue.d.ts +10 -0
- package/types/src/components/sdwidget/SdUiListView.vue.d.ts +10 -0
- package/types/src/components/sdwidget/SdUiRecordView.vue.d.ts +10 -0
- package/types/src/types/Connect.d.ts +11 -0
- package/types/src/types/SdForm.d.ts +10 -2
- package/types/src/types/StateStore.d.ts +12 -1
- package/types/src/types/User.d.ts +4 -0
- package/types/src/types/site-config.d.ts +20 -0
- package/types/src/utils/Crypto.d.ts +10 -4
- package/types/src/utils/form-script.d.ts +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as I, inject as N, createElementBlock as h, openBlock as o, normalizeClass as
|
|
2
|
-
import { a3 as R, a4 as
|
|
3
|
-
import { ElTag as
|
|
1
|
+
import { defineComponent as I, inject as N, createElementBlock as h, openBlock as o, normalizeClass as v, renderSlot as Fe, createBlock as d, createCommentVNode as b, withCtx as a, createTextVNode as L, toDisplayString as w, getCurrentInstance as li, withDirectives as K, Fragment as F, renderList as T, resolveDynamicComponent as B, vShow as Q, resolveComponent as J, normalizeStyle as j, createSlots as Z, 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 { a3 as R, a4 as si, a as U, a5 as Ve, a6 as D, a7 as C, a8 as te, a9 as pe, aa as ri, ab as ye, ac as di, ad as ai, ae as fi, af as ui, ag as ze, ah as pi, ai as mi, aj as hi, ak as ci, al as Ue, am as ge, an as bi, ao as gi, ap as Fi, o as Be, A as yi, g as vi, b as wi, c as Ci, i as Ae, y as se, d as me, w as Ii, B as Si, e as Ri, D as Mi, aq as oe, m as ve, z as Oi, C as ki, _ as Pi, ar as $i, as as Li, at as Ei, au as ji, av as Di, aw as Oe, V as Ti, ax as Vi, ay as zi, j as Ui } from "./sd-lib-CMFXC6Si.js";
|
|
3
|
+
import { ElTag as we, ElAffix as Bi, ElCard as Ne, ElTooltip as ee, ElIcon as re, ElCollapse as Ai, ElCollapseItem as Ni, ElCol as de, ElRow as ae, ElScrollbar as Hi, ElSpace as Wi, ElButton as G, ElTabs as qi, ElTabPane as Gi, ElAlert as He, ElFormItem as We, ElInput as fe, ElAvatar as Ji, ElDialog as qe, ElButtonGroup as Zi, ElPopconfirm as ue, ElBadge as Ki, ElCheckboxGroup as Qi, ElCheckboxButton as Yi, ElCheckbox as Xi, ElColorPicker as _i, ElDatePicker as Ce, ElDivider as Ge, ElDropdown as xi, ElDropdownMenu as et, ElDropdownItem as it, ElUpload as Ie, ElAutocomplete as tt, ElImage as Je, ElLink as ot, ElInputNumber as lt, ElProgress as nt, ElRadioGroup as Ze, ElRadioButton as st, ElRadio as Ke, ElRate as rt, ElSegmented as dt, ElSelect as at, ElOption as ft, ElSlider as ut, ElStatistic as pt, ElSteps as mt, ElStep as ht, ElSwitch as ct, ElInputTag as bt, ElText as gt, ElTimePicker as Qe, ElTimeSelect as Ft, ElTour as yt, ElTourStep as vt, ElForm as wt } from "element-plus/es";
|
|
4
4
|
import "element-plus/es/components/base/style/index";
|
|
5
5
|
import "element-plus/es/components/affix/style/index";
|
|
6
6
|
import "element-plus/es/components/card/style/index";
|
|
@@ -13,7 +13,7 @@ import "element-plus/es/components/col/style/index";
|
|
|
13
13
|
import "element-plus/es/components/scrollbar/style/index";
|
|
14
14
|
import "element-plus/es/components/space/style/index";
|
|
15
15
|
import "element-plus/es/components/button/style/index";
|
|
16
|
-
import { ElMessage as
|
|
16
|
+
import { ElMessage as X, ElMessageBox as x, ElNotification as Ye, ElLoading as Ct } from "element-plus";
|
|
17
17
|
import "element-plus/es/components/tabs/style/index";
|
|
18
18
|
import "element-plus/es/components/tab-pane/style/index";
|
|
19
19
|
import "element-plus/es/components/tag/style/index";
|
|
@@ -29,7 +29,7 @@ import "element-plus/es/components/checkbox-group/style/index";
|
|
|
29
29
|
import "element-plus/es/components/checkbox/style/index";
|
|
30
30
|
import "element-plus/es/components/checkbox-button/style/index";
|
|
31
31
|
import "element-plus/es/components/color-picker/style/index";
|
|
32
|
-
import
|
|
32
|
+
import ne from "axios";
|
|
33
33
|
import "element-plus/es/components/date-picker/style/index";
|
|
34
34
|
import le from "dayjs";
|
|
35
35
|
import "element-plus/es/components/divider/style/index";
|
|
@@ -65,9 +65,8 @@ import "element-plus/es/components/form-item/style/index";
|
|
|
65
65
|
import "element-plus/es/components/time-select/style/index";
|
|
66
66
|
import "element-plus/es/components/tour/style/index";
|
|
67
67
|
import "element-plus/es/components/tour-step/style/index";
|
|
68
|
-
import { useRoute as
|
|
68
|
+
import { useRoute as Xe, useRouter as _e } from "vue-router";
|
|
69
69
|
import "element-plus/es/components/form/style/index";
|
|
70
|
-
import { enc as be, AES as Ot, pad as kt, mode as Pt } from "crypto-ts";
|
|
71
70
|
import "element-plus/es/components/timeline-item/style/index";
|
|
72
71
|
import "element-plus/es/components/popover/style/index";
|
|
73
72
|
import "element-plus/es/components/table/style/index";
|
|
@@ -86,25 +85,26 @@ import "element-plus/es/components/carousel-item/style/index";
|
|
|
86
85
|
import "element-plus/es/components/menu/style/index";
|
|
87
86
|
import "element-plus/es/components/sub-menu/style/index";
|
|
88
87
|
import "element-plus/es/components/menu-item/style/index";
|
|
89
|
-
|
|
88
|
+
import { AES as Ot, pad as kt, mode as Pt, enc as xe } from "crypto-ts";
|
|
89
|
+
const he = /* @__PURE__ */ Object.assign({ "./affix-render.vue": () => Promise.resolve().then(() => Ut), "./card-render.vue": () => Promise.resolve().then(() => Wt), "./collapse-render.vue": () => Promise.resolve().then(() => Kt), "./grid-render.vue": () => Promise.resolve().then(() => eo), "./object-group-render.vue": () => Promise.resolve().then(() => lo), "./scrollbar-render.vue": () => Promise.resolve().then(() => ao), "./space-render.vue": () => Promise.resolve().then(() => mo), "./sub-form-render.vue": () => Promise.resolve().then(() => vo), "./tab-render.vue": () => Promise.resolve().then(() => Ro), "./table-render.vue": () => Promise.resolve().then(() => Eo) }), $t = {
|
|
90
90
|
install(e) {
|
|
91
|
-
for (const i in
|
|
92
|
-
|
|
91
|
+
for (const i in he)
|
|
92
|
+
he[i] && he[i]().then((t) => {
|
|
93
93
|
const l = t.default.name;
|
|
94
94
|
l && e.component(l, t.default);
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
-
},
|
|
97
|
+
}, ce = /* @__PURE__ */ Object.assign({ "./alert-ui.vue": () => Promise.resolve().then(() => Ho), "./autonumber-input.vue": () => Promise.resolve().then(() => xo), "./avatar-ui.vue": () => Promise.resolve().then(() => ol), "./btn-editor-input.vue": () => Promise.resolve().then(() => fl), "./button-ui.vue": () => Promise.resolve().then(() => hl), "./carousel-ui.vue": () => Promise.resolve().then(() => Fl), "./chart-ui.vue": () => Promise.resolve().then(() => Cl), "./checkbox-input.vue": () => Promise.resolve().then(() => Ml), "./code-input.vue": () => Promise.resolve().then(() => $l), "./color-input.vue": () => Promise.resolve().then(() => Dl), "./crop-upload-input.vue": () => Promise.resolve().then(() => Ul), "./datagrid-form-ui.vue": () => Promise.resolve().then(() => Hl), "./datagrid-sql-ui.vue": () => Promise.resolve().then(() => Jl), "./date-input.vue": () => Promise.resolve().then(() => Yl), "./date-range-input.vue": () => Promise.resolve().then(() => en), "./divider-ui.vue": () => Promise.resolve().then(() => nn), "./dropdown-ui.vue": () => Promise.resolve().then(() => an), "./dynamic-input.vue": () => Promise.resolve().then(() => mn), "./file-upload-input.vue": () => Promise.resolve().then(() => In), "./group-list-input.vue": () => Promise.resolve().then(() => On), "./html-input.vue": () => Promise.resolve().then(() => Ln), "./html-ui.vue": () => Promise.resolve().then(() => Tn), "./icon-input.vue": () => Promise.resolve().then(() => Bn), "./image-ui.vue": () => Promise.resolve().then(() => qn), "./json-input.vue": () => Promise.resolve().then(() => Kn), "./link-ui.vue": () => Promise.resolve().then(() => _n), "./list-ui.vue": () => Promise.resolve().then(() => ts), "./masked-input.vue": () => Promise.resolve().then(() => rs), "./multiple-date.vue": () => Promise.resolve().then(() => us), "./number-input.vue": () => Promise.resolve().then(() => gs), "./objectid-input.vue": () => Promise.resolve().then(() => ws), "./picture-upload-input.vue": () => Promise.resolve().then(() => $s), "./progress-ui.vue": () => Promise.resolve().then(() => Ds), "./qrcode-ui.vue": () => Promise.resolve().then(() => Us), "./radio-input.vue": () => Promise.resolve().then(() => Hs), "./radio-text-input.vue": () => Promise.resolve().then(() => Js), "./rate-input.vue": () => Promise.resolve().then(() => Ys), "./record-ui.vue": () => Promise.resolve().then(() => er), "./report-ui.vue": () => Promise.resolve().then(() => lr), "./segmented-ui.vue": () => Promise.resolve().then(() => dr), "./select-data-input.vue": () => Promise.resolve().then(() => pr), "./select-form-input.vue": () => Promise.resolve().then(() => br), "./select-input.vue": () => Promise.resolve().then(() => vr), "./select-path-input.vue": () => Promise.resolve().then(() => Sr), "./select-sql-input.vue": () => Promise.resolve().then(() => kr), "./side-menu-ui.vue": () => Promise.resolve().then(() => Er), "./slider-input.vue": () => Promise.resolve().then(() => Vr), "./statistic-ui.vue": () => Promise.resolve().then(() => Gr), "./step-ui.vue": () => Promise.resolve().then(() => Qr), "./svg-input.vue": () => Promise.resolve().then(() => ed), "./svg-ui.vue": () => Promise.resolve().then(() => ld), "./switch-input.vue": () => Promise.resolve().then(() => fd), "./tags-input.vue": () => Promise.resolve().then(() => bd), "./text-input.vue": () => Promise.resolve().then(() => vd), "./text-ui.vue": () => Promise.resolve().then(() => Sd), "./textarea-input.vue": () => Promise.resolve().then(() => kd), "./time-input.vue": () => Promise.resolve().then(() => Ed), "./time-range-input.vue": () => Promise.resolve().then(() => Vd), "./time-select-input.vue": () => Promise.resolve().then(() => Ad), "./tour-ui.vue": () => Promise.resolve().then(() => qd) }), Lt = {
|
|
98
98
|
install(e) {
|
|
99
|
-
for (const i in
|
|
100
|
-
|
|
99
|
+
for (const i in ce)
|
|
100
|
+
ce[i] && ce[i]().then((t) => {
|
|
101
101
|
const l = t.default.name;
|
|
102
102
|
l && e.component(l, t.default);
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
}, Et = (e) => {
|
|
106
106
|
e.use($t), e.use(Lt);
|
|
107
|
-
},
|
|
107
|
+
}, Tf = {
|
|
108
108
|
install: Et
|
|
109
109
|
// SdFormRender,
|
|
110
110
|
}, jt = I({
|
|
@@ -125,12 +125,12 @@ const ge = /* @__PURE__ */ Object.assign({ "./affix-render.vue": () => Promise.r
|
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
function Dt(e, i, t, l, r, c) {
|
|
128
|
-
const s =
|
|
128
|
+
const s = we;
|
|
129
129
|
return o(), h("div", {
|
|
130
|
-
class:
|
|
130
|
+
class: v(["container-wrapper", [e.customClass]]),
|
|
131
131
|
style: { position: "relative" }
|
|
132
132
|
}, [
|
|
133
|
-
|
|
133
|
+
Fe(e.$slots, "default"),
|
|
134
134
|
e.annotated() && (e.field.component == "object-group" || e.field.component == "sub-form") ? (o(), d(s, {
|
|
135
135
|
key: 0,
|
|
136
136
|
type: "info",
|
|
@@ -139,13 +139,13 @@ function Dt(e, i, t, l, r, c) {
|
|
|
139
139
|
style: { position: "absolute", top: "-19px", right: "0", "z-index": "999" }
|
|
140
140
|
}, {
|
|
141
141
|
default: a(() => [
|
|
142
|
-
L(
|
|
142
|
+
L(w(e.field.options.name), 1)
|
|
143
143
|
]),
|
|
144
144
|
_: 1
|
|
145
145
|
})) : b("", !0)
|
|
146
146
|
], 2);
|
|
147
147
|
}
|
|
148
|
-
const A = /* @__PURE__ */ R(jt, [["render", Dt]]),
|
|
148
|
+
const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Se = I({
|
|
149
149
|
props: {
|
|
150
150
|
field: Object,
|
|
151
151
|
objGroupName: {
|
|
@@ -161,7 +161,7 @@ const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Oe = I({
|
|
|
161
161
|
methods: {
|
|
162
162
|
alert(e, i = "info", t = 4e3) {
|
|
163
163
|
try {
|
|
164
|
-
|
|
164
|
+
X({
|
|
165
165
|
grouping: !0,
|
|
166
166
|
type: i,
|
|
167
167
|
message: e,
|
|
@@ -182,8 +182,8 @@ const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Oe = I({
|
|
|
182
182
|
return this.refList.sd_form_ref;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
}),
|
|
186
|
-
mixins: [
|
|
185
|
+
}), _ = I({
|
|
186
|
+
mixins: [Se],
|
|
187
187
|
data() {
|
|
188
188
|
return {
|
|
189
189
|
activeTabName: "",
|
|
@@ -222,7 +222,7 @@ const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Oe = I({
|
|
|
222
222
|
let l = t.options.name, r = this.getFieldRef(l);
|
|
223
223
|
e && r && r.clearFieldRules && r.clearFieldRules(), !e && r && r.buildFieldRules && r.buildFieldRules();
|
|
224
224
|
};
|
|
225
|
-
|
|
225
|
+
si(this.field, i);
|
|
226
226
|
},
|
|
227
227
|
unregisterFromRefList() {
|
|
228
228
|
if (this.refList !== null && this.field.options.name) {
|
|
@@ -325,7 +325,7 @@ const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Oe = I({
|
|
|
325
325
|
},
|
|
326
326
|
methods: {
|
|
327
327
|
setCurrentInstance() {
|
|
328
|
-
this.currentInstance =
|
|
328
|
+
this.currentInstance = li();
|
|
329
329
|
},
|
|
330
330
|
// Emitter handle =========================================
|
|
331
331
|
emit$(e, i) {
|
|
@@ -385,7 +385,7 @@ const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Oe = I({
|
|
|
385
385
|
ContainerRenderWrapper: A
|
|
386
386
|
// ...FieldComponents,
|
|
387
387
|
},
|
|
388
|
-
mixins: [
|
|
388
|
+
mixins: [_, W],
|
|
389
389
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
390
390
|
computed: {},
|
|
391
391
|
data() {
|
|
@@ -410,10 +410,10 @@ function Vt(e, i, t, l, r, c) {
|
|
|
410
410
|
style: { "margin-bottom": "0px" }
|
|
411
411
|
}, {
|
|
412
412
|
default: a(() => [
|
|
413
|
-
|
|
413
|
+
K((o(), d(s, {
|
|
414
414
|
ref: e.field.id,
|
|
415
415
|
key: e.field.id,
|
|
416
|
-
class:
|
|
416
|
+
class: v(["affix-container", [e.customClass]]),
|
|
417
417
|
offset: e.field.options.offsetAffix,
|
|
418
418
|
position: e.field.options.vPosition,
|
|
419
419
|
target: e.field.options.target,
|
|
@@ -442,7 +442,7 @@ function Vt(e, i, t, l, r, c) {
|
|
|
442
442
|
]),
|
|
443
443
|
_: 1
|
|
444
444
|
}, 8, ["class", "offset", "position", "target", "z-index"])), [
|
|
445
|
-
[
|
|
445
|
+
[Q, !e.field.options.hidden]
|
|
446
446
|
])
|
|
447
447
|
]),
|
|
448
448
|
_: 1
|
|
@@ -458,7 +458,7 @@ const zt = /* @__PURE__ */ R(Tt, [["render", Vt], ["__scopeId", "data-v-b4c85525
|
|
|
458
458
|
ContainerRenderWrapper: A
|
|
459
459
|
// ...FieldComponents,
|
|
460
460
|
},
|
|
461
|
-
mixins: [
|
|
461
|
+
mixins: [_, W],
|
|
462
462
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
463
463
|
computed: {},
|
|
464
464
|
data() {
|
|
@@ -486,15 +486,15 @@ const zt = /* @__PURE__ */ R(Tt, [["render", Vt], ["__scopeId", "data-v-b4c85525
|
|
|
486
486
|
class: "custom-label"
|
|
487
487
|
};
|
|
488
488
|
function Nt(e, i, t, l, r, c) {
|
|
489
|
-
const s = U, u = ee, p = J("arrow-down"), g = J("arrow-up"),
|
|
489
|
+
const s = U, u = ee, p = J("arrow-down"), g = J("arrow-up"), y = re, $ = Ne, n = A;
|
|
490
490
|
return o(), d(n, {
|
|
491
491
|
field: e.field,
|
|
492
492
|
style: { "margin-bottom": "15px" }
|
|
493
493
|
}, {
|
|
494
494
|
default: a(() => [
|
|
495
|
-
|
|
495
|
+
K((o(), d($, {
|
|
496
496
|
key: e.field.id,
|
|
497
|
-
class:
|
|
497
|
+
class: v(["card-container", [
|
|
498
498
|
e.field.options.folded ? "folded" : "",
|
|
499
499
|
e.customClass,
|
|
500
500
|
e.field.options.headerType || "",
|
|
@@ -552,18 +552,18 @@ function Nt(e, i, t, l, r, c) {
|
|
|
552
552
|
]),
|
|
553
553
|
_: 1
|
|
554
554
|
}, 8, ["content"]),
|
|
555
|
-
L(
|
|
555
|
+
L(w(e.field.options.label), 1)
|
|
556
556
|
], 64)) : (o(), h(F, { key: 1 }, [
|
|
557
557
|
m(s, {
|
|
558
558
|
"icon-name": e.field.options.labelIconClass,
|
|
559
559
|
class: "mr-1",
|
|
560
560
|
size: "13px"
|
|
561
561
|
}, null, 8, ["icon-name"]),
|
|
562
|
-
L(
|
|
562
|
+
L(w(e.field.options.label), 1)
|
|
563
563
|
], 64))
|
|
564
564
|
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(), h(F, { key: 1 }, [
|
|
565
565
|
e.field.options.labelTooltip ? (o(), h(F, { key: 0 }, [
|
|
566
|
-
L(
|
|
566
|
+
L(w(e.field.options.label), 1),
|
|
567
567
|
m(u, {
|
|
568
568
|
content: e.field.options.labelTooltip
|
|
569
569
|
}, {
|
|
@@ -577,7 +577,7 @@ function Nt(e, i, t, l, r, c) {
|
|
|
577
577
|
_: 1
|
|
578
578
|
}, 8, ["content"])
|
|
579
579
|
], 64)) : (o(), h(F, { key: 1 }, [
|
|
580
|
-
L(
|
|
580
|
+
L(w(e.field.options.label), 1),
|
|
581
581
|
m(s, {
|
|
582
582
|
"icon-name": e.field.options.labelIconClass,
|
|
583
583
|
class: "ml-1",
|
|
@@ -589,8 +589,8 @@ function Nt(e, i, t, l, r, c) {
|
|
|
589
589
|
key: 1,
|
|
590
590
|
class: "custom-label",
|
|
591
591
|
style: j({ color: e.field.options.labelColor })
|
|
592
|
-
},
|
|
593
|
-
e.field.options.showFold ? (o(), d(
|
|
592
|
+
}, w(e.field.options.label), 5)),
|
|
593
|
+
e.field.options.showFold ? (o(), d(y, {
|
|
594
594
|
key: 2,
|
|
595
595
|
onClick: e.onClickFolded,
|
|
596
596
|
class: "el-icon--right",
|
|
@@ -606,7 +606,7 @@ function Nt(e, i, t, l, r, c) {
|
|
|
606
606
|
key: "0"
|
|
607
607
|
}
|
|
608
608
|
]), 1032, ["class", "shadow", "body-style", "body-class", "style"])), [
|
|
609
|
-
[
|
|
609
|
+
[Q, !e.field.options.hidden]
|
|
610
610
|
])
|
|
611
611
|
]),
|
|
612
612
|
_: 1
|
|
@@ -622,7 +622,7 @@ const Ht = /* @__PURE__ */ R(Bt, [["render", Nt], ["__scopeId", "data-v-979ec39b
|
|
|
622
622
|
ContainerRenderWrapper: A
|
|
623
623
|
// ...FieldComponents,
|
|
624
624
|
},
|
|
625
|
-
mixins: [
|
|
625
|
+
mixins: [_, W],
|
|
626
626
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
627
627
|
computed: {
|
|
628
628
|
visibleTabs() {
|
|
@@ -662,39 +662,39 @@ function Jt(e, i, t, l, r, c) {
|
|
|
662
662
|
style: { "margin-bottom": "15px" }
|
|
663
663
|
}, {
|
|
664
664
|
default: a(() => [
|
|
665
|
-
|
|
665
|
+
K((o(), h("div", {
|
|
666
666
|
key: e.field.id,
|
|
667
667
|
class: "collapse-container"
|
|
668
668
|
}, [
|
|
669
669
|
m(p, {
|
|
670
670
|
modelValue: e.activeCollapseName,
|
|
671
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
671
|
+
"onUpdate:modelValue": i[0] || (i[0] = (y) => e.activeCollapseName = y),
|
|
672
672
|
accordion: !!e.field.options.accordion,
|
|
673
673
|
ref: e.field.id,
|
|
674
|
-
class:
|
|
674
|
+
class: v([e.customClass])
|
|
675
675
|
}, {
|
|
676
676
|
default: a(() => [
|
|
677
|
-
(o(!0), h(F, null, T(e.visibleTabs, (
|
|
677
|
+
(o(!0), h(F, null, T(e.visibleTabs, (y, $) => (o(), d(u, {
|
|
678
678
|
key: $,
|
|
679
|
-
title:
|
|
680
|
-
disabled:
|
|
681
|
-
name:
|
|
679
|
+
title: y.options.label,
|
|
680
|
+
disabled: y.options.disabled,
|
|
681
|
+
name: y.options.name
|
|
682
682
|
}, {
|
|
683
683
|
title: a(() => [
|
|
684
684
|
S("span", Gt, [
|
|
685
|
-
|
|
685
|
+
y.options.icon ? (o(), d(s, {
|
|
686
686
|
key: 0,
|
|
687
|
-
"icon-name":
|
|
687
|
+
"icon-name": y.options.icon
|
|
688
688
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
689
|
-
S("span", null,
|
|
689
|
+
S("span", null, w(y.options.label), 1)
|
|
690
690
|
])
|
|
691
691
|
]),
|
|
692
692
|
default: a(() => [
|
|
693
|
-
(o(!0), h(F, null, T(
|
|
693
|
+
(o(!0), h(F, null, T(y.fields, (n, f) => (o(), h(F, null, [
|
|
694
694
|
n.category === "container" ? (o(), d(B(n.component + "-render"), {
|
|
695
695
|
field: n,
|
|
696
696
|
key: n.id ? n.id : f,
|
|
697
|
-
"parent-list":
|
|
697
|
+
"parent-list": y.fields,
|
|
698
698
|
"index-of-parent-list": f,
|
|
699
699
|
"parent-field": e.field,
|
|
700
700
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
@@ -703,7 +703,7 @@ function Jt(e, i, t, l, r, c) {
|
|
|
703
703
|
builder: null,
|
|
704
704
|
"builder-status": !1,
|
|
705
705
|
key: n.id ? n.id : f,
|
|
706
|
-
"parent-list":
|
|
706
|
+
"parent-list": y.fields,
|
|
707
707
|
"index-of-parent-list": f,
|
|
708
708
|
"parent-field": e.field,
|
|
709
709
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
@@ -716,22 +716,22 @@ function Jt(e, i, t, l, r, c) {
|
|
|
716
716
|
_: 1
|
|
717
717
|
}, 8, ["modelValue", "accordion", "class"])
|
|
718
718
|
])), [
|
|
719
|
-
[
|
|
719
|
+
[Q, !e.field.options.hidden]
|
|
720
720
|
])
|
|
721
721
|
]),
|
|
722
722
|
_: 1
|
|
723
723
|
}, 8, ["field"]);
|
|
724
724
|
}
|
|
725
|
-
const Zt = /* @__PURE__ */ R(qt, [["render", Jt], ["__scopeId", "data-v-e477f3cf"]]),
|
|
725
|
+
const Zt = /* @__PURE__ */ R(qt, [["render", Jt], ["__scopeId", "data-v-e477f3cf"]]), Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
726
726
|
__proto__: null,
|
|
727
727
|
default: Zt
|
|
728
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
728
|
+
}, Symbol.toStringTag, { value: "Module" })), Qt = I({
|
|
729
729
|
name: "grid-col-render",
|
|
730
730
|
typeName: "FormContainer",
|
|
731
731
|
components: {
|
|
732
732
|
// ...FieldComponents,
|
|
733
733
|
},
|
|
734
|
-
mixins: [
|
|
734
|
+
mixins: [Se, W],
|
|
735
735
|
inject: ["refList", "globalModel", "getFormConfig", "previewState"],
|
|
736
736
|
props: {
|
|
737
737
|
parentField: Object,
|
|
@@ -798,8 +798,8 @@ const Zt = /* @__PURE__ */ R(qt, [["render", Jt], ["__scopeId", "data-v-e477f3cf
|
|
|
798
798
|
}
|
|
799
799
|
});
|
|
800
800
|
function Yt(e, i, t, l, r, c) {
|
|
801
|
-
const s =
|
|
802
|
-
return
|
|
801
|
+
const s = de;
|
|
802
|
+
return K((o(), d(s, De({
|
|
803
803
|
class: ["grid-cell", [e.customClass]]
|
|
804
804
|
}, e.layoutProps, {
|
|
805
805
|
style: { colHeightStyle: e.colHeightStyle, ...e.bgColorStyle },
|
|
@@ -828,17 +828,17 @@ function Yt(e, i, t, l, r, c) {
|
|
|
828
828
|
]),
|
|
829
829
|
_: 1
|
|
830
830
|
}, 16, ["class", "style"])), [
|
|
831
|
-
[
|
|
831
|
+
[Q, !e.field.options.hidden]
|
|
832
832
|
]);
|
|
833
833
|
}
|
|
834
|
-
const ei = /* @__PURE__ */ R(
|
|
834
|
+
const ei = /* @__PURE__ */ R(Qt, [["render", Yt]]), Xt = I({
|
|
835
835
|
name: "grid-render",
|
|
836
836
|
typeName: "FormContainer",
|
|
837
837
|
components: {
|
|
838
838
|
ContainerRenderWrapper: A,
|
|
839
839
|
GridColRender: ei
|
|
840
840
|
},
|
|
841
|
-
mixins: [
|
|
841
|
+
mixins: [_, W],
|
|
842
842
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
843
843
|
computed: {},
|
|
844
844
|
beforeCreate() {
|
|
@@ -854,21 +854,21 @@ const ei = /* @__PURE__ */ R(Kt, [["render", Yt]]), Xt = I({
|
|
|
854
854
|
}
|
|
855
855
|
});
|
|
856
856
|
function _t(e, i, t, l, r, c) {
|
|
857
|
-
const s = ei, u =
|
|
857
|
+
const s = ei, u = ae, p = A;
|
|
858
858
|
return o(), d(p, { field: e.field }, {
|
|
859
859
|
default: a(() => [
|
|
860
|
-
|
|
860
|
+
K((o(), d(u, {
|
|
861
861
|
key: e.field.id,
|
|
862
862
|
gutter: e.field.options.gutter,
|
|
863
|
-
class:
|
|
863
|
+
class: v(["grid-container", [e.customClass]]),
|
|
864
864
|
ref: e.field.id
|
|
865
865
|
}, {
|
|
866
866
|
default: a(() => [
|
|
867
|
-
(o(!0), h(F, null, T(e.field.cols, (g,
|
|
868
|
-
key:
|
|
867
|
+
(o(!0), h(F, null, T(e.field.cols, (g, y) => (o(), d(s, {
|
|
868
|
+
key: y,
|
|
869
869
|
field: g,
|
|
870
870
|
"parent-list": e.field.cols,
|
|
871
|
-
"index-of-parent-list":
|
|
871
|
+
"index-of-parent-list": y,
|
|
872
872
|
"parent-field": e.field,
|
|
873
873
|
"obj-group-name": e.objGroupName ? e.objGroupName : "",
|
|
874
874
|
"col-height": e.field.options.colHeight
|
|
@@ -876,7 +876,7 @@ function _t(e, i, t, l, r, c) {
|
|
|
876
876
|
]),
|
|
877
877
|
_: 1
|
|
878
878
|
}, 8, ["gutter", "class"])), [
|
|
879
|
-
[
|
|
879
|
+
[Q, !e.field.options.hidden]
|
|
880
880
|
])
|
|
881
881
|
]),
|
|
882
882
|
_: 1
|
|
@@ -892,7 +892,7 @@ const xt = /* @__PURE__ */ R(Xt, [["render", _t], ["__scopeId", "data-v-d240521c
|
|
|
892
892
|
ContainerRenderWrapper: A
|
|
893
893
|
// ...FieldComponents,
|
|
894
894
|
},
|
|
895
|
-
mixins: [
|
|
895
|
+
mixins: [_, W],
|
|
896
896
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
897
897
|
computed: {},
|
|
898
898
|
beforeCreate() {
|
|
@@ -912,15 +912,15 @@ const xt = /* @__PURE__ */ R(Xt, [["render", _t], ["__scopeId", "data-v-d240521c
|
|
|
912
912
|
}
|
|
913
913
|
});
|
|
914
914
|
function to(e, i, t, l, r, c) {
|
|
915
|
-
const s =
|
|
915
|
+
const s = Ne, u = A;
|
|
916
916
|
return o(), d(u, {
|
|
917
917
|
field: e.field,
|
|
918
918
|
style: { "margin-bottom": "0px" }
|
|
919
919
|
}, {
|
|
920
920
|
default: a(() => [
|
|
921
|
-
|
|
921
|
+
K((o(), d(s, {
|
|
922
922
|
key: e.field.id,
|
|
923
|
-
class:
|
|
923
|
+
class: v(["object-group-container", [e.customClass]]),
|
|
924
924
|
shadow: "never",
|
|
925
925
|
ref: e.field.id
|
|
926
926
|
}, {
|
|
@@ -947,7 +947,7 @@ function to(e, i, t, l, r, c) {
|
|
|
947
947
|
]),
|
|
948
948
|
_: 1
|
|
949
949
|
}, 8, ["class"])), [
|
|
950
|
-
[
|
|
950
|
+
[Q, !e.field.options.hidden]
|
|
951
951
|
])
|
|
952
952
|
]),
|
|
953
953
|
_: 1
|
|
@@ -963,7 +963,7 @@ const oo = /* @__PURE__ */ R(io, [["render", to], ["__scopeId", "data-v-2e902e1a
|
|
|
963
963
|
ContainerRenderWrapper: A
|
|
964
964
|
// ...FieldComponents,
|
|
965
965
|
},
|
|
966
|
-
mixins: [
|
|
966
|
+
mixins: [_, W],
|
|
967
967
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
968
968
|
computed: {
|
|
969
969
|
getHeight() {
|
|
@@ -991,7 +991,7 @@ const oo = /* @__PURE__ */ R(io, [["render", to], ["__scopeId", "data-v-2e902e1a
|
|
|
991
991
|
},
|
|
992
992
|
mounted() {
|
|
993
993
|
const e = this.field.options.height ? this.field.options.height : 0;
|
|
994
|
-
this.scrollerHeight = window.innerHeight - e + "px",
|
|
994
|
+
this.scrollerHeight = window.innerHeight - e + "px", Ve(() => {
|
|
995
995
|
this.$nextTick(() => {
|
|
996
996
|
const i = this.field.options.height ? this.field.options.height : 0;
|
|
997
997
|
this.scrollerHeight = window.innerHeight - i + "px";
|
|
@@ -1010,10 +1010,10 @@ function so(e, i, t, l, r, c) {
|
|
|
1010
1010
|
style: { "margin-bottom": "0px" }
|
|
1011
1011
|
}, {
|
|
1012
1012
|
default: a(() => [
|
|
1013
|
-
|
|
1013
|
+
K((o(), d(s, {
|
|
1014
1014
|
ref: e.field.id,
|
|
1015
1015
|
key: e.field.id,
|
|
1016
|
-
class:
|
|
1016
|
+
class: v(["scrollbar-container", [e.customClass]]),
|
|
1017
1017
|
always: e.field.options.always,
|
|
1018
1018
|
native: e.field.options.native,
|
|
1019
1019
|
wrapClass: e.field.options.wrapClass,
|
|
@@ -1047,7 +1047,7 @@ function so(e, i, t, l, r, c) {
|
|
|
1047
1047
|
]),
|
|
1048
1048
|
_: 1
|
|
1049
1049
|
}, 8, ["class", "always", "native", "wrapClass", "viewClass", "noresize", "tag", "minSize", "height", "max-height"])), [
|
|
1050
|
-
[
|
|
1050
|
+
[Q, !e.field.options.hidden]
|
|
1051
1051
|
])
|
|
1052
1052
|
]),
|
|
1053
1053
|
_: 1
|
|
@@ -1063,7 +1063,7 @@ const ro = /* @__PURE__ */ R(no, [["render", so], ["__scopeId", "data-v-e3cade02
|
|
|
1063
1063
|
ContainerRenderWrapper: A
|
|
1064
1064
|
// ...FieldComponents,
|
|
1065
1065
|
},
|
|
1066
|
-
mixins: [
|
|
1066
|
+
mixins: [_, W],
|
|
1067
1067
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1068
1068
|
computed: {},
|
|
1069
1069
|
beforeCreate() {
|
|
@@ -1085,10 +1085,10 @@ function uo(e, i, t, l, r, c) {
|
|
|
1085
1085
|
style: j([{ "margin-bottom": "0px" }, { textAlign: e.field.options.contentPosition || "left" }])
|
|
1086
1086
|
}, {
|
|
1087
1087
|
default: a(() => [
|
|
1088
|
-
|
|
1088
|
+
K((o(), d(s, {
|
|
1089
1089
|
ref: e.field.id,
|
|
1090
1090
|
key: e.field.id,
|
|
1091
|
-
class:
|
|
1091
|
+
class: v(["space-container", [e.customClass]]),
|
|
1092
1092
|
wrap: e.field.options.wrap,
|
|
1093
1093
|
fill: e.field.options.fill,
|
|
1094
1094
|
size: e.field.options.size,
|
|
@@ -1120,7 +1120,7 @@ function uo(e, i, t, l, r, c) {
|
|
|
1120
1120
|
]),
|
|
1121
1121
|
_: 1
|
|
1122
1122
|
}, 8, ["class", "wrap", "fill", "size", "alignment", "direction", "prefixCls", "spacer"])), [
|
|
1123
|
-
[
|
|
1123
|
+
[Q, !e.field.options.hidden]
|
|
1124
1124
|
])
|
|
1125
1125
|
]),
|
|
1126
1126
|
_: 1
|
|
@@ -1136,7 +1136,7 @@ const po = /* @__PURE__ */ R(fo, [["render", uo], ["__scopeId", "data-v-cafd5b38
|
|
|
1136
1136
|
ContainerRenderWrapper: A
|
|
1137
1137
|
// ...FieldComponents,
|
|
1138
1138
|
},
|
|
1139
|
-
mixins: [
|
|
1139
|
+
mixins: [_, W],
|
|
1140
1140
|
inject: ["refList", "sfRefList", "globalModel", "getFormConfig"],
|
|
1141
1141
|
//, 'getFormConfig'
|
|
1142
1142
|
data() {
|
|
@@ -1368,18 +1368,18 @@ const po = /* @__PURE__ */ R(fo, [["render", uo], ["__scopeId", "data-v-cafd5b38
|
|
|
1368
1368
|
class: "row-number-span"
|
|
1369
1369
|
};
|
|
1370
1370
|
function Fo(e, i, t, l, r, c) {
|
|
1371
|
-
const s = U, u = G, p =
|
|
1371
|
+
const s = U, u = G, p = de, g = ae, y = ee, $ = A;
|
|
1372
1372
|
return o(), d($, {
|
|
1373
1373
|
field: e.field,
|
|
1374
1374
|
style: { "margin-bottom": "15px" }
|
|
1375
1375
|
}, {
|
|
1376
1376
|
default: a(() => [
|
|
1377
|
-
|
|
1377
|
+
K((o(), h("div", {
|
|
1378
1378
|
key: e.field.id,
|
|
1379
1379
|
class: "sub-form-container"
|
|
1380
1380
|
}, [
|
|
1381
1381
|
m(g, {
|
|
1382
|
-
class:
|
|
1382
|
+
class: v(["header-row", [e.widgetSize]])
|
|
1383
1383
|
}, {
|
|
1384
1384
|
default: a(() => [
|
|
1385
1385
|
e.field.options.actionPosition === "left" ? (o(), d(p, {
|
|
@@ -1441,7 +1441,7 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1441
1441
|
e.getTotalCols > f ? (o(), d(p, {
|
|
1442
1442
|
key: 0,
|
|
1443
1443
|
span: n.options.columnSpan,
|
|
1444
|
-
class:
|
|
1444
|
+
class: v([[e.getLabelAlign(e.field, n), n.options.required ? "is-required" : ""], "field-header-column"]),
|
|
1445
1445
|
style: { "padding-right": "5px", "padding-left": "5px", height: "100%" }
|
|
1446
1446
|
}, {
|
|
1447
1447
|
default: a(() => [
|
|
@@ -1452,7 +1452,7 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1452
1452
|
}, [
|
|
1453
1453
|
n.options.labelIconPosition === "front" ? (o(), h(F, { key: 0 }, [
|
|
1454
1454
|
n.options.labelTooltip ? (o(), h(F, { key: 0 }, [
|
|
1455
|
-
m(
|
|
1455
|
+
m(y, {
|
|
1456
1456
|
content: n.options.labelTooltip
|
|
1457
1457
|
}, {
|
|
1458
1458
|
default: a(() => [
|
|
@@ -1464,19 +1464,19 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1464
1464
|
]),
|
|
1465
1465
|
_: 2
|
|
1466
1466
|
}, 1032, ["content"]),
|
|
1467
|
-
L(
|
|
1467
|
+
L(w(n.options.label), 1)
|
|
1468
1468
|
], 64)) : (o(), h(F, { key: 1 }, [
|
|
1469
1469
|
m(s, {
|
|
1470
1470
|
"icon-name": n.options.labelIconClass,
|
|
1471
1471
|
class: "mr-1",
|
|
1472
1472
|
size: "13px"
|
|
1473
1473
|
}, null, 8, ["icon-name"]),
|
|
1474
|
-
L(
|
|
1474
|
+
L(w(n.options.label), 1)
|
|
1475
1475
|
], 64))
|
|
1476
1476
|
], 64)) : n.options.labelIconPosition === "rear" ? (o(), h(F, { key: 1 }, [
|
|
1477
1477
|
n.options.labelTooltip ? (o(), h(F, { key: 0 }, [
|
|
1478
|
-
L(
|
|
1479
|
-
m(
|
|
1478
|
+
L(w(n.options.label), 1),
|
|
1479
|
+
m(y, {
|
|
1480
1480
|
content: n.options.labelTooltip
|
|
1481
1481
|
}, {
|
|
1482
1482
|
default: a(() => [
|
|
@@ -1489,7 +1489,7 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1489
1489
|
_: 2
|
|
1490
1490
|
}, 1032, ["content"])
|
|
1491
1491
|
], 64)) : (o(), h(F, { key: 1 }, [
|
|
1492
|
-
L(
|
|
1492
|
+
L(w(n.options.label), 1),
|
|
1493
1493
|
m(s, {
|
|
1494
1494
|
"icon-name": n.options.labelIconClass,
|
|
1495
1495
|
class: "ml-1",
|
|
@@ -1501,7 +1501,7 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1501
1501
|
key: 1,
|
|
1502
1502
|
title: n.options.labelTooltip,
|
|
1503
1503
|
style: j({ color: n.options.labelColor })
|
|
1504
|
-
},
|
|
1504
|
+
}, w(n.options.label), 13, co))
|
|
1505
1505
|
]),
|
|
1506
1506
|
_: 2
|
|
1507
1507
|
}, 1032, ["span", "class"])) : b("", !0)
|
|
@@ -1541,7 +1541,7 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1541
1541
|
_: 1
|
|
1542
1542
|
}, 8, ["class"]),
|
|
1543
1543
|
(o(!0), h(F, null, T(e.rowIdData, (n, f) => (o(), d(g, {
|
|
1544
|
-
class:
|
|
1544
|
+
class: v(["sub-form-row", [e.widgetSize]]),
|
|
1545
1545
|
key: n
|
|
1546
1546
|
}, {
|
|
1547
1547
|
default: a(() => [
|
|
@@ -1571,7 +1571,7 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1571
1571
|
title: "delete this row",
|
|
1572
1572
|
icon: "Delete"
|
|
1573
1573
|
}, null, 8, ["disabled", "size", "onClick"]),
|
|
1574
|
-
e.field.options.showRowNumber ? (o(), h("span", bo, "#" +
|
|
1574
|
+
e.field.options.showRowNumber ? (o(), h("span", bo, "#" + w(f + 1), 1)) : b("", !0)
|
|
1575
1575
|
]),
|
|
1576
1576
|
_: 2
|
|
1577
1577
|
}, 1024)) : e.field.options.showRowNumber ? (o(), d(p, {
|
|
@@ -1580,7 +1580,7 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1580
1580
|
class: "sub-form-action-column hide-label action-button-column"
|
|
1581
1581
|
}, {
|
|
1582
1582
|
default: a(() => [
|
|
1583
|
-
e.field.options.showRowNumber ? (o(), h("span", go, "#" +
|
|
1583
|
+
e.field.options.showRowNumber ? (o(), h("span", go, "#" + w(f + 1), 1)) : b("", !0)
|
|
1584
1584
|
]),
|
|
1585
1585
|
_: 2
|
|
1586
1586
|
}, 1024)) : b("", !0),
|
|
@@ -1650,7 +1650,7 @@ function Fo(e, i, t, l, r, c) {
|
|
|
1650
1650
|
_: 2
|
|
1651
1651
|
}, 1032, ["class"]))), 128))
|
|
1652
1652
|
])), [
|
|
1653
|
-
[
|
|
1653
|
+
[Q, !e.field.options.hidden]
|
|
1654
1654
|
])
|
|
1655
1655
|
]),
|
|
1656
1656
|
_: 1
|
|
@@ -1666,7 +1666,7 @@ const yo = /* @__PURE__ */ R(ho, [["render", Fo], ["__scopeId", "data-v-993001bb
|
|
|
1666
1666
|
ContainerRenderWrapper: A
|
|
1667
1667
|
// ...FieldComponents,
|
|
1668
1668
|
},
|
|
1669
|
-
mixins: [
|
|
1669
|
+
mixins: [_, W],
|
|
1670
1670
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1671
1671
|
computed: {
|
|
1672
1672
|
visibleTabs() {
|
|
@@ -1700,40 +1700,40 @@ function Io(e, i, t, l, r, c) {
|
|
|
1700
1700
|
style: { "margin-bottom": "15px" }
|
|
1701
1701
|
}, {
|
|
1702
1702
|
default: a(() => [
|
|
1703
|
-
|
|
1703
|
+
K((o(), h("div", {
|
|
1704
1704
|
key: e.field.id,
|
|
1705
1705
|
class: "tab-container"
|
|
1706
1706
|
}, [
|
|
1707
1707
|
m(p, {
|
|
1708
1708
|
modelValue: e.activeTabName,
|
|
1709
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
1709
|
+
"onUpdate:modelValue": i[0] || (i[0] = (y) => e.activeTabName = y),
|
|
1710
1710
|
type: e.field.options.displayType,
|
|
1711
1711
|
"tab-position": e.field.options.tabPosition,
|
|
1712
1712
|
ref: e.field.id,
|
|
1713
|
-
class:
|
|
1713
|
+
class: v([e.customClass])
|
|
1714
1714
|
}, {
|
|
1715
1715
|
default: a(() => [
|
|
1716
|
-
(o(!0), h(F, null, T(e.visibleTabs, (
|
|
1716
|
+
(o(!0), h(F, null, T(e.visibleTabs, (y, $) => (o(), d(u, {
|
|
1717
1717
|
key: $,
|
|
1718
|
-
label:
|
|
1719
|
-
disabled:
|
|
1720
|
-
name:
|
|
1718
|
+
label: y.options.label,
|
|
1719
|
+
disabled: y.options.disabled,
|
|
1720
|
+
name: y.options.name
|
|
1721
1721
|
}, {
|
|
1722
1722
|
label: a(() => [
|
|
1723
1723
|
S("span", Co, [
|
|
1724
|
-
|
|
1724
|
+
y.options.icon ? (o(), d(s, {
|
|
1725
1725
|
key: 0,
|
|
1726
|
-
"icon-name":
|
|
1726
|
+
"icon-name": y.options.icon
|
|
1727
1727
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
1728
|
-
S("span", null,
|
|
1728
|
+
S("span", null, w(y.options.label), 1)
|
|
1729
1729
|
])
|
|
1730
1730
|
]),
|
|
1731
1731
|
default: a(() => [
|
|
1732
|
-
(o(!0), h(F, null, T(
|
|
1732
|
+
(o(!0), h(F, null, T(y.fields, (n, f) => (o(), h(F, null, [
|
|
1733
1733
|
n.category === "container" ? (o(), d(B(n.component + "-render"), {
|
|
1734
1734
|
field: n,
|
|
1735
1735
|
key: n.id ? n.id : f,
|
|
1736
|
-
"parent-list":
|
|
1736
|
+
"parent-list": y.fields,
|
|
1737
1737
|
"index-of-parent-list": f,
|
|
1738
1738
|
"parent-field": e.field,
|
|
1739
1739
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
@@ -1742,7 +1742,7 @@ function Io(e, i, t, l, r, c) {
|
|
|
1742
1742
|
builder: null,
|
|
1743
1743
|
"builder-status": !1,
|
|
1744
1744
|
key: n.id ? n.id : f,
|
|
1745
|
-
"parent-list":
|
|
1745
|
+
"parent-list": y.fields,
|
|
1746
1746
|
"index-of-parent-list": f,
|
|
1747
1747
|
"parent-field": e.field,
|
|
1748
1748
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
@@ -1755,7 +1755,7 @@ function Io(e, i, t, l, r, c) {
|
|
|
1755
1755
|
_: 1
|
|
1756
1756
|
}, 8, ["modelValue", "type", "tab-position", "class"])
|
|
1757
1757
|
])), [
|
|
1758
|
-
[
|
|
1758
|
+
[Q, !e.field.options.hidden]
|
|
1759
1759
|
])
|
|
1760
1760
|
]),
|
|
1761
1761
|
_: 1
|
|
@@ -1770,7 +1770,7 @@ const So = /* @__PURE__ */ R(wo, [["render", Io], ["__scopeId", "data-v-d5481f2a
|
|
|
1770
1770
|
components: {
|
|
1771
1771
|
// ...FieldComponents,
|
|
1772
1772
|
},
|
|
1773
|
-
mixins: [
|
|
1773
|
+
mixins: [Se, W],
|
|
1774
1774
|
inject: ["refList", "globalModel"],
|
|
1775
1775
|
props: {
|
|
1776
1776
|
parentField: Object,
|
|
@@ -1799,7 +1799,7 @@ const So = /* @__PURE__ */ R(wo, [["render", Io], ["__scopeId", "data-v-d5481f2a
|
|
|
1799
1799
|
}), Oo = ["colspan", "rowspan"];
|
|
1800
1800
|
function ko(e, i, t, l, r, c) {
|
|
1801
1801
|
return o(), h("td", {
|
|
1802
|
-
class:
|
|
1802
|
+
class: v(["table-cell", [e.customClass]]),
|
|
1803
1803
|
colspan: e.field.options.colspan || 1,
|
|
1804
1804
|
rowspan: e.field.options.rowspan || 1,
|
|
1805
1805
|
style: j({ width: e.field.options.cellWidth + " !important" || "", height: e.field.options.cellHeight + " !important" || "", ...e.bgColorStyle })
|
|
@@ -1832,7 +1832,7 @@ const ii = /* @__PURE__ */ R(Mo, [["render", ko], ["__scopeId", "data-v-7cfc555a
|
|
|
1832
1832
|
ContainerRenderWrapper: A,
|
|
1833
1833
|
TableCellRender: ii
|
|
1834
1834
|
},
|
|
1835
|
-
mixins: [
|
|
1835
|
+
mixins: [_, W],
|
|
1836
1836
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1837
1837
|
computed: {
|
|
1838
1838
|
bordered() {
|
|
@@ -1858,21 +1858,21 @@ function $o(e, i, t, l, r, c) {
|
|
|
1858
1858
|
style: { "margin-bottom": "15px" }
|
|
1859
1859
|
}, {
|
|
1860
1860
|
default: a(() => [
|
|
1861
|
-
|
|
1861
|
+
K((o(), h("div", {
|
|
1862
1862
|
key: e.field.id,
|
|
1863
1863
|
class: "table-container"
|
|
1864
1864
|
}, [
|
|
1865
1865
|
S("table", {
|
|
1866
1866
|
ref: e.field.id,
|
|
1867
|
-
class:
|
|
1867
|
+
class: v(["table", [e.customClass, e.bordered]])
|
|
1868
1868
|
}, [
|
|
1869
1869
|
S("tbody", null, [
|
|
1870
1870
|
(o(!0), h(F, null, T(e.field.rows, (p, g) => (o(), h("tr", {
|
|
1871
1871
|
key: p.id
|
|
1872
1872
|
}, [
|
|
1873
|
-
(o(!0), h(F, null, T(p.cols, (
|
|
1874
|
-
|
|
1875
|
-
field:
|
|
1873
|
+
(o(!0), h(F, null, T(p.cols, (y, $) => (o(), h(F, null, [
|
|
1874
|
+
y.merged ? b("", !0) : (o(), d(s, {
|
|
1875
|
+
field: y,
|
|
1876
1876
|
key: $,
|
|
1877
1877
|
"parent-list": e.field.cols,
|
|
1878
1878
|
"index-of-parent-list": $,
|
|
@@ -1886,7 +1886,7 @@ function $o(e, i, t, l, r, c) {
|
|
|
1886
1886
|
])
|
|
1887
1887
|
], 2)
|
|
1888
1888
|
])), [
|
|
1889
|
-
[
|
|
1889
|
+
[Q, !e.field.options.hidden]
|
|
1890
1890
|
])
|
|
1891
1891
|
]),
|
|
1892
1892
|
_: 1
|
|
@@ -1945,7 +1945,7 @@ const Lo = /* @__PURE__ */ R(Po, [["render", $o], ["__scopeId", "data-v-9a38d6aa
|
|
|
1945
1945
|
methods: {
|
|
1946
1946
|
alert(e, i = "info", t = 4e3) {
|
|
1947
1947
|
try {
|
|
1948
|
-
|
|
1948
|
+
X({
|
|
1949
1949
|
grouping: !0,
|
|
1950
1950
|
type: i,
|
|
1951
1951
|
message: e,
|
|
@@ -2006,7 +2006,7 @@ const Lo = /* @__PURE__ */ R(Po, [["render", $o], ["__scopeId", "data-v-9a38d6aa
|
|
|
2006
2006
|
}
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
|
-
}),
|
|
2009
|
+
}), Re = I({
|
|
2010
2010
|
name: "StaticContentWrapper",
|
|
2011
2011
|
components: {},
|
|
2012
2012
|
mixins: [oi],
|
|
@@ -2024,12 +2024,12 @@ const Lo = /* @__PURE__ */ R(Po, [["render", $o], ["__scopeId", "data-v-9a38d6aa
|
|
|
2024
2024
|
};
|
|
2025
2025
|
},
|
|
2026
2026
|
methods: {}
|
|
2027
|
-
}),
|
|
2028
|
-
|
|
2027
|
+
}), ke = () => {
|
|
2028
|
+
Te((e) => ({
|
|
2029
2029
|
v2de7e8dc: e.fieldColor
|
|
2030
2030
|
}));
|
|
2031
|
-
},
|
|
2032
|
-
|
|
2031
|
+
}, Pe = Re.setup;
|
|
2032
|
+
Re.setup = Pe ? (e, i) => (ke(), Pe(e, i)) : ke;
|
|
2033
2033
|
const jo = {
|
|
2034
2034
|
key: 0,
|
|
2035
2035
|
class: "field-action"
|
|
@@ -2040,15 +2040,15 @@ const jo = {
|
|
|
2040
2040
|
function zo(e, i, t, l, r, c) {
|
|
2041
2041
|
const s = U;
|
|
2042
2042
|
return o(), h("div", {
|
|
2043
|
-
class:
|
|
2043
|
+
class: v(["field-wrapper", { "builder-time-bottom-margin": !!e.builder }])
|
|
2044
2044
|
}, [
|
|
2045
2045
|
!e.field.options.hidden || e.builderStatus === !0 ? (o(), h("div", {
|
|
2046
2046
|
key: 0,
|
|
2047
|
-
class:
|
|
2047
|
+
class: v(["static-content-item", [e.selected ? "selected" : "", e.customClass]]),
|
|
2048
2048
|
style: j({ display: e.displayStyle }),
|
|
2049
2049
|
onClick: i[0] || (i[0] = z((u) => e.selectField(e.field), ["stop"]))
|
|
2050
2050
|
}, [
|
|
2051
|
-
|
|
2051
|
+
Fe(e.$slots, "default", {}, void 0, !0)
|
|
2052
2052
|
], 6)) : b("", !0),
|
|
2053
2053
|
e.builder ? (o(), h(F, { key: 1 }, [
|
|
2054
2054
|
e.builder.selectedId === e.field.id ? (o(), h("div", jo, [
|
|
@@ -2098,7 +2098,7 @@ function zo(e, i, t, l, r, c) {
|
|
|
2098
2098
|
size: "14px"
|
|
2099
2099
|
})
|
|
2100
2100
|
]),
|
|
2101
|
-
S("i", null,
|
|
2101
|
+
S("i", null, w(e.field.name ? e.field.name : e.field.component), 1),
|
|
2102
2102
|
e.field.options.hidden === !0 ? (o(), h("i", Vo, [
|
|
2103
2103
|
m(s, {
|
|
2104
2104
|
"icon-name": "el-hide",
|
|
@@ -2109,7 +2109,7 @@ function zo(e, i, t, l, r, c) {
|
|
|
2109
2109
|
], 64)) : b("", !0)
|
|
2110
2110
|
], 2);
|
|
2111
2111
|
}
|
|
2112
|
-
const E = /* @__PURE__ */ R(
|
|
2112
|
+
const E = /* @__PURE__ */ R(Re, [["render", zo], ["__scopeId", "data-v-67efe709"]]), Uo = function(e) {
|
|
2113
2113
|
return {
|
|
2114
2114
|
number: "/^[-]?\\d+(\\.\\d+)?$/",
|
|
2115
2115
|
letter: "/^[A-Za-z]+$/",
|
|
@@ -2129,7 +2129,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2129
2129
|
variableFull: "/^[A-Za-z|_id][A-Za-z0-9_]+$/"
|
|
2130
2130
|
}[e];
|
|
2131
2131
|
}, q = function(e, i, t, l, r) {
|
|
2132
|
-
if (
|
|
2132
|
+
if (pe(t) || t.length <= 0) {
|
|
2133
2133
|
l();
|
|
2134
2134
|
return;
|
|
2135
2135
|
}
|
|
@@ -2139,7 +2139,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2139
2139
|
let u = i.errorMsg || r;
|
|
2140
2140
|
l(new Error(u));
|
|
2141
2141
|
}
|
|
2142
|
-
},
|
|
2142
|
+
}, be = {
|
|
2143
2143
|
number(e, i, t) {
|
|
2144
2144
|
q("number", e, i, t, "[" + e.label + "] contains non-numeric characters");
|
|
2145
2145
|
},
|
|
@@ -2180,7 +2180,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2180
2180
|
q("variableFull", e, i, t, "[" + e.label + "] must be in English or numbers only and do not contain spaces.");
|
|
2181
2181
|
},
|
|
2182
2182
|
regExp(e, i, t) {
|
|
2183
|
-
if (
|
|
2183
|
+
if (pe(i) || i.length <= 0) {
|
|
2184
2184
|
t();
|
|
2185
2185
|
return;
|
|
2186
2186
|
}
|
|
@@ -2192,7 +2192,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2192
2192
|
}
|
|
2193
2193
|
},
|
|
2194
2194
|
citizenId(e, i, t) {
|
|
2195
|
-
if (
|
|
2195
|
+
if (pe(i) || i.length <= 0) {
|
|
2196
2196
|
t();
|
|
2197
2197
|
return;
|
|
2198
2198
|
}
|
|
@@ -2203,7 +2203,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2203
2203
|
}
|
|
2204
2204
|
let r = l.split("").reverse().join(""), c = 0;
|
|
2205
2205
|
for (let g = 1; g < 13; g++) {
|
|
2206
|
-
let
|
|
2206
|
+
let y = g + 1, $ = Number(r.charAt(g)) * y;
|
|
2207
2207
|
c = c + $;
|
|
2208
2208
|
}
|
|
2209
2209
|
let p = (11 - c % 11) % 10;
|
|
@@ -2232,8 +2232,8 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2232
2232
|
uploadHeaders: {},
|
|
2233
2233
|
uploadData: { key: "" },
|
|
2234
2234
|
customToolbar: null,
|
|
2235
|
-
router:
|
|
2236
|
-
route:
|
|
2235
|
+
router: _e(),
|
|
2236
|
+
route: Xe()
|
|
2237
2237
|
// sdEvents: {} as any,
|
|
2238
2238
|
// fieldRefList: null as any,
|
|
2239
2239
|
};
|
|
@@ -2281,7 +2281,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2281
2281
|
// ========================== Start SdFramework ==================================
|
|
2282
2282
|
notify(e, i = "info", t = "Notification", l = 5e3) {
|
|
2283
2283
|
try {
|
|
2284
|
-
|
|
2284
|
+
Ye({
|
|
2285
2285
|
title: t,
|
|
2286
2286
|
type: i,
|
|
2287
2287
|
message: e,
|
|
@@ -2293,7 +2293,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2293
2293
|
},
|
|
2294
2294
|
alert(e, i = "info", t = 4e3) {
|
|
2295
2295
|
try {
|
|
2296
|
-
|
|
2296
|
+
X({
|
|
2297
2297
|
grouping: !0,
|
|
2298
2298
|
type: i,
|
|
2299
2299
|
message: e,
|
|
@@ -2372,14 +2372,14 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2372
2372
|
},
|
|
2373
2373
|
numberFormat(e, i = 0, t = "currency", l = "THB") {
|
|
2374
2374
|
try {
|
|
2375
|
-
return
|
|
2375
|
+
return gi(e, i, t, l);
|
|
2376
2376
|
} catch (r) {
|
|
2377
2377
|
return this.alert(r.message, "error"), null;
|
|
2378
2378
|
}
|
|
2379
2379
|
},
|
|
2380
2380
|
object2Path(e) {
|
|
2381
2381
|
try {
|
|
2382
|
-
return
|
|
2382
|
+
return bi(e);
|
|
2383
2383
|
} catch (i) {
|
|
2384
2384
|
return this.alert(i.message, "error"), {};
|
|
2385
2385
|
}
|
|
@@ -2516,49 +2516,49 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2516
2516
|
return { ageOfYear: r, monthOfYear: u, ageOfMonth: c, ageOfDay: s };
|
|
2517
2517
|
},
|
|
2518
2518
|
genUidTime() {
|
|
2519
|
-
return
|
|
2519
|
+
return ge();
|
|
2520
2520
|
},
|
|
2521
2521
|
generateId() {
|
|
2522
2522
|
return te();
|
|
2523
2523
|
},
|
|
2524
2524
|
isNull() {
|
|
2525
|
-
return
|
|
2525
|
+
return pe(this.getValue());
|
|
2526
2526
|
},
|
|
2527
2527
|
isNotNull() {
|
|
2528
|
-
return
|
|
2528
|
+
return Ue(this.getValue());
|
|
2529
2529
|
},
|
|
2530
2530
|
isEmptyStr() {
|
|
2531
|
-
return
|
|
2531
|
+
return ci(this.getValue());
|
|
2532
2532
|
},
|
|
2533
2533
|
isEmptyObj() {
|
|
2534
|
-
return
|
|
2534
|
+
return hi(this.getValue());
|
|
2535
2535
|
},
|
|
2536
2536
|
ucfirst() {
|
|
2537
|
-
return
|
|
2537
|
+
return mi(this.getValue());
|
|
2538
2538
|
},
|
|
2539
2539
|
lcfirst() {
|
|
2540
|
-
return
|
|
2540
|
+
return pi(this.getValue());
|
|
2541
2541
|
},
|
|
2542
2542
|
htmlEncode() {
|
|
2543
|
-
return
|
|
2543
|
+
return ze(this.getValue());
|
|
2544
2544
|
},
|
|
2545
2545
|
string2boolean(e) {
|
|
2546
|
-
return
|
|
2546
|
+
return ui(e);
|
|
2547
2547
|
},
|
|
2548
2548
|
inStrFormatted(e) {
|
|
2549
|
-
return
|
|
2549
|
+
return fi(e);
|
|
2550
2550
|
},
|
|
2551
2551
|
inIntFormatted(e) {
|
|
2552
|
-
return
|
|
2552
|
+
return ai(e);
|
|
2553
2553
|
},
|
|
2554
2554
|
setObjectByPath(e, i, t) {
|
|
2555
|
-
return
|
|
2555
|
+
return di(e, i, t);
|
|
2556
2556
|
},
|
|
2557
2557
|
getObjectByPath(e, i) {
|
|
2558
|
-
return
|
|
2558
|
+
return ye(e, i);
|
|
2559
2559
|
},
|
|
2560
2560
|
getQueryParam(e) {
|
|
2561
|
-
return
|
|
2561
|
+
return ri(e);
|
|
2562
2562
|
},
|
|
2563
2563
|
clearValidateAll() {
|
|
2564
2564
|
this.builderStatus || this.getFormRef().clearValidate();
|
|
@@ -2719,13 +2719,13 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2719
2719
|
trigger: [],
|
|
2720
2720
|
label: this.field.options.label,
|
|
2721
2721
|
errorMsg: this.field.options.validationHint
|
|
2722
|
-
}) :
|
|
2723
|
-
validator:
|
|
2722
|
+
}) : be[i] ? this.rules.push({
|
|
2723
|
+
validator: be[i],
|
|
2724
2724
|
trigger: [],
|
|
2725
2725
|
label: this.field.options.label,
|
|
2726
2726
|
errorMsg: this.field.options.validationHint
|
|
2727
2727
|
}) : this.rules.push({
|
|
2728
|
-
validator:
|
|
2728
|
+
validator: be.regExp,
|
|
2729
2729
|
trigger: [],
|
|
2730
2730
|
regExp: i,
|
|
2731
2731
|
label: this.field.options.label,
|
|
@@ -2966,10 +2966,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2966
2966
|
},
|
|
2967
2967
|
async copyClipboard(e) {
|
|
2968
2968
|
try {
|
|
2969
|
-
await this.getFormRef().
|
|
2970
|
-
message: "Copied to clipboard",
|
|
2971
|
-
type: "success"
|
|
2972
|
-
});
|
|
2969
|
+
await this.getFormRef().copyClipboard(e);
|
|
2973
2970
|
} catch (i) {
|
|
2974
2971
|
console.error(i);
|
|
2975
2972
|
}
|
|
@@ -3010,7 +3007,7 @@ const E = /* @__PURE__ */ R(ke, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
3010
3007
|
}
|
|
3011
3008
|
});
|
|
3012
3009
|
function Ao(e, i, t, l, r, c) {
|
|
3013
|
-
const s =
|
|
3010
|
+
const s = He, u = E;
|
|
3014
3011
|
return o(), d(u, {
|
|
3015
3012
|
"build-rules": e.rules,
|
|
3016
3013
|
field: e.field,
|
|
@@ -3045,7 +3042,7 @@ function Ao(e, i, t, l, r, c) {
|
|
|
3045
3042
|
const No = /* @__PURE__ */ R(Bo, [["render", Ao], ["__scopeId", "data-v-cd17f1da"]]), Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3046
3043
|
__proto__: null,
|
|
3047
3044
|
default: No
|
|
3048
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3045
|
+
}, Symbol.toStringTag, { value: "Module" })), Me = I({
|
|
3049
3046
|
name: "FormItemWrapper",
|
|
3050
3047
|
components: {},
|
|
3051
3048
|
mixins: [oi],
|
|
@@ -3058,12 +3055,12 @@ const No = /* @__PURE__ */ R(Bo, [["render", Ao], ["__scopeId", "data-v-cd17f1da
|
|
|
3058
3055
|
container: "#e6a23c"
|
|
3059
3056
|
};
|
|
3060
3057
|
return e.field.category != null ? f[e.field.category] : "#409EFF";
|
|
3061
|
-
}), t = N("getFormConfig"), l = N("annotated"), r = N("refList"), c = 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 : c.value.labelWidth),
|
|
3058
|
+
}), t = N("getFormConfig"), l = N("annotated"), r = N("refList"), c = 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 : c.value.labelWidth), y = Y(() => e.field.options.labelAlign ? e.field.options.labelAlign : e.builder ? e.builder.formConfig.labelAlign || "label-left-align" : c.value.labelAlign || "label-left-align"), $ = Y(() => e.parentField ? e.parentField.options.name : ""), n = Y(() => e.parentField ? e.parentField.component === "sub-form" : !1);
|
|
3062
3059
|
return {
|
|
3063
3060
|
formConfig: c,
|
|
3064
3061
|
label: u,
|
|
3065
3062
|
labelWidth: g,
|
|
3066
|
-
labelAlign:
|
|
3063
|
+
labelAlign: y,
|
|
3067
3064
|
subFormName: $,
|
|
3068
3065
|
subFormItemFlag: n,
|
|
3069
3066
|
widgetSize: p,
|
|
@@ -3077,23 +3074,23 @@ const No = /* @__PURE__ */ R(Bo, [["render", Ao], ["__scopeId", "data-v-cd17f1da
|
|
|
3077
3074
|
return this.subFormItemFlag && !this.builderStatus ? this.subFormName + "." + this.subFormRowIndex + "." + this.field.options.name : this.field.options.name;
|
|
3078
3075
|
}
|
|
3079
3076
|
}
|
|
3080
|
-
}),
|
|
3081
|
-
|
|
3077
|
+
}), $e = () => {
|
|
3078
|
+
Te((e) => ({
|
|
3082
3079
|
v44e8eb22: e.fieldColor
|
|
3083
3080
|
}));
|
|
3084
|
-
},
|
|
3085
|
-
|
|
3081
|
+
}, Le = Me.setup;
|
|
3082
|
+
Me.setup = Le ? (e, i) => ($e(), Le(e, i)) : $e;
|
|
3086
3083
|
const Wo = ["data-id"], qo = {
|
|
3087
3084
|
key: 0,
|
|
3088
3085
|
class: "field-action"
|
|
3089
3086
|
}, Go = {
|
|
3090
3087
|
key: 1,
|
|
3091
3088
|
class: "drag-handler background-opacity"
|
|
3092
|
-
}, Jo = { title: "Drag" }, Zo = { key: 0 },
|
|
3093
|
-
function
|
|
3094
|
-
const s = U, u = ee, p =
|
|
3089
|
+
}, Jo = { title: "Drag" }, Zo = { key: 0 }, Ko = { key: 1 };
|
|
3090
|
+
function Qo(e, i, t, l, r, c) {
|
|
3091
|
+
const s = U, u = ee, p = we, g = We;
|
|
3095
3092
|
return o(), h("div", {
|
|
3096
|
-
class:
|
|
3093
|
+
class: v(["field-wrapper", { "builder-time-bottom-margin": !!e.builder }]),
|
|
3097
3094
|
"data-id": e.field.options.name
|
|
3098
3095
|
}, [
|
|
3099
3096
|
!e.field.options.hidden || e.builderStatus === !0 ? (o(), d(g, {
|
|
@@ -3104,8 +3101,8 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3104
3101
|
size: e.widgetSize,
|
|
3105
3102
|
rules: e.buildRules,
|
|
3106
3103
|
prop: e.getPropName(),
|
|
3107
|
-
class:
|
|
3108
|
-
onClick: i[0] || (i[0] = z((
|
|
3104
|
+
class: v([e.selected ? "selected" : "", e.labelAlign, e.customClass, e.field.options.required ? "required" : "", e.field.options.labelHidden ? "label-hide" : ""]),
|
|
3105
|
+
onClick: i[0] || (i[0] = z((y) => e.selectField(e.field), ["stop"]))
|
|
3109
3106
|
}, {
|
|
3110
3107
|
label: a(() => [
|
|
3111
3108
|
e.field.options.labelHidden ? b("", !0) : (o(), h(F, { key: 0 }, [
|
|
@@ -3128,18 +3125,18 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3128
3125
|
]),
|
|
3129
3126
|
_: 1
|
|
3130
3127
|
}, 8, ["content"]),
|
|
3131
|
-
L(" " +
|
|
3128
|
+
L(" " + w(e.label), 1)
|
|
3132
3129
|
], 64)) : (o(), h(F, { key: 1 }, [
|
|
3133
3130
|
m(s, {
|
|
3134
3131
|
"icon-name": e.field.options.labelIconClass,
|
|
3135
3132
|
class: "mr-1",
|
|
3136
3133
|
size: "13px"
|
|
3137
3134
|
}, null, 8, ["icon-name"]),
|
|
3138
|
-
L(
|
|
3135
|
+
L(w(e.label), 1)
|
|
3139
3136
|
], 64))
|
|
3140
3137
|
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(), h(F, { key: 1 }, [
|
|
3141
3138
|
e.field.options.labelTooltip ? (o(), h(F, { key: 0 }, [
|
|
3142
|
-
L(
|
|
3139
|
+
L(w(e.label) + " ", 1),
|
|
3143
3140
|
m(u, {
|
|
3144
3141
|
content: e.field.options.labelTooltip
|
|
3145
3142
|
}, {
|
|
@@ -3153,7 +3150,7 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3153
3150
|
_: 1
|
|
3154
3151
|
}, 8, ["content"])
|
|
3155
3152
|
], 64)) : (o(), h(F, { key: 1 }, [
|
|
3156
|
-
L(
|
|
3153
|
+
L(w(e.label) + " ", 1),
|
|
3157
3154
|
m(s, {
|
|
3158
3155
|
"icon-name": e.field.options.labelIconClass,
|
|
3159
3156
|
class: "ml-1",
|
|
@@ -3165,11 +3162,11 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3165
3162
|
key: 1,
|
|
3166
3163
|
class: "custom-label",
|
|
3167
3164
|
style: j({ color: e.field.options.labelColor })
|
|
3168
|
-
},
|
|
3165
|
+
}, w(e.label), 5)) : b("", !0)
|
|
3169
3166
|
], 64))
|
|
3170
3167
|
]),
|
|
3171
3168
|
default: a(() => [
|
|
3172
|
-
|
|
3169
|
+
Fe(e.$slots, "default", {}, void 0, !0),
|
|
3173
3170
|
e.annotated() ? (o(), d(p, {
|
|
3174
3171
|
key: 0,
|
|
3175
3172
|
type: "warning",
|
|
@@ -3178,7 +3175,7 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3178
3175
|
style: { position: "absolute", top: "0", right: "0", "z-index": "999" }
|
|
3179
3176
|
}, {
|
|
3180
3177
|
default: a(() => [
|
|
3181
|
-
L(
|
|
3178
|
+
L(w(e.field.options.name), 1)
|
|
3182
3179
|
]),
|
|
3183
3180
|
_: 1
|
|
3184
3181
|
})) : b("", !0)
|
|
@@ -3189,39 +3186,39 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3189
3186
|
e.builder.selectedId === e.field.id ? (o(), h("div", qo, [
|
|
3190
3187
|
S("i", {
|
|
3191
3188
|
title: "Select Parent",
|
|
3192
|
-
onClick: i[1] || (i[1] = z((
|
|
3189
|
+
onClick: i[1] || (i[1] = z((y) => e.selectParentField(), ["stop"]))
|
|
3193
3190
|
}, [
|
|
3194
3191
|
m(s, { "icon-name": "addon-select-parent" })
|
|
3195
3192
|
]),
|
|
3196
3193
|
e.parentList && e.parentList.length > 1 ? (o(), h("i", {
|
|
3197
3194
|
key: 0,
|
|
3198
3195
|
title: "Move Up",
|
|
3199
|
-
onClick: i[2] || (i[2] = z((
|
|
3196
|
+
onClick: i[2] || (i[2] = z((y) => e.moveUpField(), ["stop"]))
|
|
3200
3197
|
}, [
|
|
3201
3198
|
m(s, { "icon-name": "el-top" })
|
|
3202
3199
|
])) : b("", !0),
|
|
3203
3200
|
e.parentList && e.parentList.length > 1 ? (o(), h("i", {
|
|
3204
3201
|
key: 1,
|
|
3205
3202
|
title: "Move Down",
|
|
3206
|
-
onClick: i[3] || (i[3] = z((
|
|
3203
|
+
onClick: i[3] || (i[3] = z((y) => e.moveDownField(), ["stop"]))
|
|
3207
3204
|
}, [
|
|
3208
3205
|
m(s, { "icon-name": "el-bottom" })
|
|
3209
3206
|
])) : b("", !0),
|
|
3210
3207
|
S("i", {
|
|
3211
3208
|
title: "Clone",
|
|
3212
|
-
onClick: i[4] || (i[4] = z((
|
|
3209
|
+
onClick: i[4] || (i[4] = z((y) => e.cloneFields(e.field), ["stop"]))
|
|
3213
3210
|
}, [
|
|
3214
3211
|
m(s, { "icon-name": "el-copy-document" })
|
|
3215
3212
|
]),
|
|
3216
3213
|
S("i", {
|
|
3217
3214
|
title: "Add Library",
|
|
3218
|
-
onClick: i[5] || (i[5] = z((
|
|
3215
|
+
onClick: i[5] || (i[5] = z((y) => e.addLibFields(e.field), ["stop"]))
|
|
3219
3216
|
}, [
|
|
3220
3217
|
m(s, { "icon-name": "addon-library" })
|
|
3221
3218
|
]),
|
|
3222
3219
|
S("i", {
|
|
3223
3220
|
title: "Remove",
|
|
3224
|
-
onClick: i[6] || (i[6] = z((...
|
|
3221
|
+
onClick: i[6] || (i[6] = z((...y) => e.removeField && e.removeField(...y), ["stop"]))
|
|
3225
3222
|
}, [
|
|
3226
3223
|
m(s, { "icon-name": "el-delete" })
|
|
3227
3224
|
])
|
|
@@ -3233,7 +3230,7 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3233
3230
|
size: "14px"
|
|
3234
3231
|
})
|
|
3235
3232
|
]),
|
|
3236
|
-
S("i", null,
|
|
3233
|
+
S("i", null, w(e.field.name ? e.field.name : e.field.component), 1),
|
|
3237
3234
|
e.field.options.hidden === !0 ? (o(), h("i", Zo, [
|
|
3238
3235
|
m(s, {
|
|
3239
3236
|
"icon-name": "el-hide",
|
|
@@ -3241,7 +3238,7 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3241
3238
|
style: { color: "var(--el-color-warning)" }
|
|
3242
3239
|
})
|
|
3243
3240
|
])) : b("", !0),
|
|
3244
|
-
e.registerRefError ? (o(), h("i",
|
|
3241
|
+
e.registerRefError ? (o(), h("i", Ko, [
|
|
3245
3242
|
m(u, { content: "Can't register RefInput, Create a new one or refresh the screen." }, {
|
|
3246
3243
|
default: a(() => [
|
|
3247
3244
|
m(s, {
|
|
@@ -3257,7 +3254,7 @@ function Ko(e, i, t, l, r, c) {
|
|
|
3257
3254
|
], 64)) : b("", !0)
|
|
3258
3255
|
], 10, Wo);
|
|
3259
3256
|
}
|
|
3260
|
-
const M = /* @__PURE__ */ R(
|
|
3257
|
+
const M = /* @__PURE__ */ R(Me, [["render", Qo], ["__scopeId", "data-v-0cb4e76b"]]), Yo = I({
|
|
3261
3258
|
name: "autonumber-input",
|
|
3262
3259
|
typeName: "FormField",
|
|
3263
3260
|
components: {
|
|
@@ -3296,7 +3293,7 @@ const M = /* @__PURE__ */ R(Pe, [["render", Ko], ["__scopeId", "data-v-0cb4e76b"
|
|
|
3296
3293
|
}
|
|
3297
3294
|
});
|
|
3298
3295
|
function Xo(e, i, t, l, r, c) {
|
|
3299
|
-
const s = U, u =
|
|
3296
|
+
const s = U, u = fe, p = M;
|
|
3300
3297
|
return o(), d(p, {
|
|
3301
3298
|
"build-rules": e.rules,
|
|
3302
3299
|
field: e.field,
|
|
@@ -3339,14 +3336,14 @@ function Xo(e, i, t, l, r, c) {
|
|
|
3339
3336
|
e.field.options.prefixText ? {
|
|
3340
3337
|
name: "prepend",
|
|
3341
3338
|
fn: a(() => [
|
|
3342
|
-
L(
|
|
3339
|
+
L(w(e.field.options.prefixText), 1)
|
|
3343
3340
|
]),
|
|
3344
3341
|
key: "0"
|
|
3345
3342
|
} : void 0,
|
|
3346
3343
|
e.field.options.suffixText ? {
|
|
3347
3344
|
name: "append",
|
|
3348
3345
|
fn: a(() => [
|
|
3349
|
-
L(
|
|
3346
|
+
L(w(e.field.options.suffixText), 1)
|
|
3350
3347
|
]),
|
|
3351
3348
|
key: "1"
|
|
3352
3349
|
} : void 0,
|
|
@@ -3451,9 +3448,9 @@ const tl = /* @__PURE__ */ R(el, [["render", il], ["__scopeId", "data-v-5d2fdf46
|
|
|
3451
3448
|
this.initFieldModel(), this.initEventHandler(), this.buildFieldRules(), this.handleOnCreated();
|
|
3452
3449
|
},
|
|
3453
3450
|
mounted() {
|
|
3454
|
-
this.registerToRefList(), this.handleOnMounted(),
|
|
3455
|
-
await
|
|
3456
|
-
this.popupWidth =
|
|
3451
|
+
this.registerToRefList(), this.handleOnMounted(), Ve(async () => {
|
|
3452
|
+
await ni(() => {
|
|
3453
|
+
this.popupWidth = Fi("80%");
|
|
3457
3454
|
});
|
|
3458
3455
|
});
|
|
3459
3456
|
},
|
|
@@ -3502,8 +3499,8 @@ const tl = /* @__PURE__ */ R(el, [["render", il], ["__scopeId", "data-v-5d2fdf46
|
|
|
3502
3499
|
class: "el-dialog__title"
|
|
3503
3500
|
}, rl = { class: "dialog-footer" };
|
|
3504
3501
|
function dl(e, i, t, l, r, c) {
|
|
3505
|
-
const s = U, u = G, p =
|
|
3506
|
-
return o(), d(
|
|
3502
|
+
const s = U, u = G, p = Be, g = qe, y = M;
|
|
3503
|
+
return o(), d(y, {
|
|
3507
3504
|
"build-rules": e.rules,
|
|
3508
3505
|
field: e.field,
|
|
3509
3506
|
builder: e.builder,
|
|
@@ -3545,7 +3542,7 @@ function dl(e, i, t, l, r, c) {
|
|
|
3545
3542
|
"icon-name": "btn-editor",
|
|
3546
3543
|
class: "mr-1"
|
|
3547
3544
|
})),
|
|
3548
|
-
L(" " +
|
|
3545
|
+
L(" " + w(e.field.options.actionLabel ? e.field.options.actionLabel : "Edit"), 1)
|
|
3549
3546
|
]),
|
|
3550
3547
|
_: 1
|
|
3551
3548
|
}, 8, ["type", "onClick", "size", "disabled"]),
|
|
@@ -3563,7 +3560,7 @@ function dl(e, i, t, l, r, c) {
|
|
|
3563
3560
|
"destroy-on-close": !0
|
|
3564
3561
|
}, {
|
|
3565
3562
|
header: a(({ close: $, titleId: n, titleClass: f }) => [
|
|
3566
|
-
S("span", sl,
|
|
3563
|
+
S("span", sl, w(e.field.options.label ? e.field.options.label : "Editor"), 1)
|
|
3567
3564
|
]),
|
|
3568
3565
|
footer: a(() => [
|
|
3569
3566
|
S("div", rl, [
|
|
@@ -3652,7 +3649,7 @@ const al = /* @__PURE__ */ R(ll, [["render", dl]]), fl = /* @__PURE__ */ Object.
|
|
|
3652
3649
|
}
|
|
3653
3650
|
});
|
|
3654
3651
|
function pl(e, i, t, l, r, c) {
|
|
3655
|
-
const s = U, u = G, p =
|
|
3652
|
+
const s = U, u = G, p = ue, g = Zi, y = Ki, $ = E;
|
|
3656
3653
|
return o(), d($, {
|
|
3657
3654
|
"build-rules": e.rules,
|
|
3658
3655
|
field: e.field,
|
|
@@ -3697,11 +3694,11 @@ function pl(e, i, t, l, r, c) {
|
|
|
3697
3694
|
key: 0,
|
|
3698
3695
|
"icon-name": n.prefixIcon
|
|
3699
3696
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
3700
|
-
S("span", null,
|
|
3697
|
+
S("span", null, w(n.label), 1),
|
|
3701
3698
|
n.suffixIcon ? (o(), d(s, {
|
|
3702
3699
|
key: 1,
|
|
3703
3700
|
"icon-name": n.suffixIcon,
|
|
3704
|
-
class:
|
|
3701
|
+
class: v(n.label ? "ml-1" : "")
|
|
3705
3702
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
3706
3703
|
]),
|
|
3707
3704
|
_: 2
|
|
@@ -3730,11 +3727,11 @@ function pl(e, i, t, l, r, c) {
|
|
|
3730
3727
|
key: 0,
|
|
3731
3728
|
"icon-name": n.prefixIcon
|
|
3732
3729
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
3733
|
-
S("span", null,
|
|
3730
|
+
S("span", null, w(n.label), 1),
|
|
3734
3731
|
n.suffixIcon ? (o(), d(s, {
|
|
3735
3732
|
key: 1,
|
|
3736
3733
|
"icon-name": n.suffixIcon,
|
|
3737
|
-
class:
|
|
3734
|
+
class: v(n.label ? "ml-1" : "")
|
|
3738
3735
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
3739
3736
|
]),
|
|
3740
3737
|
_: 2
|
|
@@ -3744,7 +3741,7 @@ function pl(e, i, t, l, r, c) {
|
|
|
3744
3741
|
_: 1
|
|
3745
3742
|
})) : (o(), h(F, { key: 1 }, [
|
|
3746
3743
|
e.field.options.buttons && Object.keys(e.field.options.buttons).length > 0 ? (o(!0), h(F, { key: 0 }, T(e.field.options.buttons, (n, f) => (o(), h(F, null, [
|
|
3747
|
-
n.badge ? (o(), d(
|
|
3744
|
+
n.badge ? (o(), d(y, {
|
|
3748
3745
|
key: 0,
|
|
3749
3746
|
value: n.badge,
|
|
3750
3747
|
max: n.badgeMax,
|
|
@@ -3772,11 +3769,11 @@ function pl(e, i, t, l, r, c) {
|
|
|
3772
3769
|
key: 0,
|
|
3773
3770
|
"icon-name": n.prefixIcon
|
|
3774
3771
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
3775
|
-
S("span", null,
|
|
3772
|
+
S("span", null, w(n.label), 1),
|
|
3776
3773
|
n.suffixIcon ? (o(), d(s, {
|
|
3777
3774
|
key: 1,
|
|
3778
3775
|
"icon-name": n.suffixIcon,
|
|
3779
|
-
class:
|
|
3776
|
+
class: v(n.label ? "ml-1" : "")
|
|
3780
3777
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
3781
3778
|
]),
|
|
3782
3779
|
_: 2
|
|
@@ -3806,11 +3803,11 @@ function pl(e, i, t, l, r, c) {
|
|
|
3806
3803
|
key: 0,
|
|
3807
3804
|
"icon-name": n.prefixIcon
|
|
3808
3805
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
3809
|
-
S("span", null,
|
|
3806
|
+
S("span", null, w(n.label), 1),
|
|
3810
3807
|
n.suffixIcon ? (o(), d(s, {
|
|
3811
3808
|
key: 1,
|
|
3812
3809
|
"icon-name": n.suffixIcon,
|
|
3813
|
-
class:
|
|
3810
|
+
class: v(n.label ? "ml-1" : "")
|
|
3814
3811
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
3815
3812
|
]),
|
|
3816
3813
|
_: 2
|
|
@@ -3839,11 +3836,11 @@ function pl(e, i, t, l, r, c) {
|
|
|
3839
3836
|
key: 0,
|
|
3840
3837
|
"icon-name": n.prefixIcon
|
|
3841
3838
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
3842
|
-
S("span", null,
|
|
3839
|
+
S("span", null, w(n.label), 1),
|
|
3843
3840
|
n.suffixIcon ? (o(), d(s, {
|
|
3844
3841
|
key: 1,
|
|
3845
3842
|
"icon-name": n.suffixIcon,
|
|
3846
|
-
class:
|
|
3843
|
+
class: v(n.label ? "ml-1" : "")
|
|
3847
3844
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
3848
3845
|
]),
|
|
3849
3846
|
_: 2
|
|
@@ -3924,7 +3921,7 @@ const ml = /* @__PURE__ */ R(ul, [["render", pl], ["__scopeId", "data-v-6ab688c8
|
|
|
3924
3921
|
}
|
|
3925
3922
|
});
|
|
3926
3923
|
function bl(e, i, t, l, r, c) {
|
|
3927
|
-
const s =
|
|
3924
|
+
const s = yi, u = E;
|
|
3928
3925
|
return o(), d(u, {
|
|
3929
3926
|
"build-rules": e.rules,
|
|
3930
3927
|
field: e.field,
|
|
@@ -3935,7 +3932,7 @@ function bl(e, i, t, l, r, c) {
|
|
|
3935
3932
|
"index-of-parent-list": e.indexOfParentList,
|
|
3936
3933
|
"sub-form-row-index": e.subFormRowIndex,
|
|
3937
3934
|
"sub-form-col-index": e.subFormColIndex,
|
|
3938
|
-
class:
|
|
3935
|
+
class: v(["datagrid-container"]),
|
|
3939
3936
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left" }),
|
|
3940
3937
|
"sub-form-row-id": e.subFormRowId
|
|
3941
3938
|
}, {
|
|
@@ -3968,14 +3965,15 @@ function bl(e, i, t, l, r, c) {
|
|
|
3968
3965
|
"total-enable": !!e.field.options.totalEnable,
|
|
3969
3966
|
"custom-value": e.field.options.customValue || void 0,
|
|
3970
3967
|
"click-event": e.field.options.clickEvent ? e.clickEvent : void 0,
|
|
3968
|
+
"enable-ws": !!e.field.options.enableWs,
|
|
3971
3969
|
"user-state": e.globalUserState,
|
|
3972
3970
|
"build-state": e.builderStatus
|
|
3973
|
-
}, null, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "icon-field", "title-field", "title-enable", "icon-name", "title-name", "detail-content", "detail-max-row", "height", "limit-row", "indicator-position", "autoplay", "interval", "motion-blur", "vertical-enable", "trigger", "type-card", "title-content", "total-enable", "custom-value", "click-event", "user-state", "build-state"]))
|
|
3971
|
+
}, null, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "icon-field", "title-field", "title-enable", "icon-name", "title-name", "detail-content", "detail-max-row", "height", "limit-row", "indicator-position", "autoplay", "interval", "motion-blur", "vertical-enable", "trigger", "type-card", "title-content", "total-enable", "custom-value", "click-event", "enable-ws", "user-state", "build-state"]))
|
|
3974
3972
|
]),
|
|
3975
3973
|
_: 1
|
|
3976
3974
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "style", "sub-form-row-id"]);
|
|
3977
3975
|
}
|
|
3978
|
-
const gl = /* @__PURE__ */ R(cl, [["render", bl], ["__scopeId", "data-v-
|
|
3976
|
+
const gl = /* @__PURE__ */ R(cl, [["render", bl], ["__scopeId", "data-v-fb5896ff"]]), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3979
3977
|
__proto__: null,
|
|
3980
3978
|
default: gl
|
|
3981
3979
|
}, Symbol.toStringTag, { value: "Module" })), yl = I({
|
|
@@ -4026,7 +4024,7 @@ const gl = /* @__PURE__ */ R(cl, [["render", bl], ["__scopeId", "data-v-7f6f0344
|
|
|
4026
4024
|
}
|
|
4027
4025
|
});
|
|
4028
4026
|
function vl(e, i, t, l, r, c) {
|
|
4029
|
-
const s =
|
|
4027
|
+
const s = vi, u = E;
|
|
4030
4028
|
return o(), d(u, {
|
|
4031
4029
|
"build-rules": e.rules,
|
|
4032
4030
|
field: e.field,
|
|
@@ -4037,7 +4035,7 @@ function vl(e, i, t, l, r, c) {
|
|
|
4037
4035
|
"index-of-parent-list": e.indexOfParentList,
|
|
4038
4036
|
"sub-form-row-index": e.subFormRowIndex,
|
|
4039
4037
|
"sub-form-col-index": e.subFormColIndex,
|
|
4040
|
-
class:
|
|
4038
|
+
class: v(["datagrid-container"]),
|
|
4041
4039
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left" }),
|
|
4042
4040
|
"sub-form-row-id": e.subFormRowId
|
|
4043
4041
|
}, {
|
|
@@ -4123,7 +4121,7 @@ const wl = /* @__PURE__ */ R(yl, [["render", vl], ["__scopeId", "data-v-c0f6576e
|
|
|
4123
4121
|
}
|
|
4124
4122
|
});
|
|
4125
4123
|
function Sl(e, i, t, l, r, c) {
|
|
4126
|
-
const s = Yi, u = Xi, p =
|
|
4124
|
+
const s = Yi, u = Xi, p = de, g = ae, y = Qi, $ = M;
|
|
4127
4125
|
return o(), d($, {
|
|
4128
4126
|
"build-rules": e.rules,
|
|
4129
4127
|
field: e.field,
|
|
@@ -4137,11 +4135,11 @@ function Sl(e, i, t, l, r, c) {
|
|
|
4137
4135
|
"sub-form-row-id": e.subFormRowId
|
|
4138
4136
|
}, {
|
|
4139
4137
|
default: a(() => [
|
|
4140
|
-
m(
|
|
4138
|
+
m(y, {
|
|
4141
4139
|
ref: "fieldEditor",
|
|
4142
4140
|
modelValue: e.fieldValue,
|
|
4143
4141
|
"onUpdate:modelValue": i[0] || (i[0] = (n) => e.fieldValue = n),
|
|
4144
|
-
class:
|
|
4142
|
+
class: v({ "check-group-block": e.field.options.displayStyle === "flex" }),
|
|
4145
4143
|
disabled: e.field.options.disabled,
|
|
4146
4144
|
size: e.widgetSize,
|
|
4147
4145
|
min: e.field.options.minCheck,
|
|
@@ -4158,7 +4156,7 @@ function Sl(e, i, t, l, r, c) {
|
|
|
4158
4156
|
style: j({ display: e.field.options.displayStyle })
|
|
4159
4157
|
}, {
|
|
4160
4158
|
default: a(() => [
|
|
4161
|
-
L(
|
|
4159
|
+
L(w(n.label), 1)
|
|
4162
4160
|
]),
|
|
4163
4161
|
_: 2
|
|
4164
4162
|
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(), h(F, { key: 1 }, [
|
|
@@ -4176,7 +4174,7 @@ function Sl(e, i, t, l, r, c) {
|
|
|
4176
4174
|
style: j({ display: e.field.options.displayStyle })
|
|
4177
4175
|
}, {
|
|
4178
4176
|
default: a(() => [
|
|
4179
|
-
L(
|
|
4177
|
+
L(w(n.label), 1)
|
|
4180
4178
|
]),
|
|
4181
4179
|
_: 2
|
|
4182
4180
|
}, 1032, ["value", "disabled", "border", "style"]))
|
|
@@ -4193,7 +4191,7 @@ function Sl(e, i, t, l, r, c) {
|
|
|
4193
4191
|
style: j({ display: e.field.options.displayStyle })
|
|
4194
4192
|
}, {
|
|
4195
4193
|
default: a(() => [
|
|
4196
|
-
L(
|
|
4194
|
+
L(w(n.label), 1)
|
|
4197
4195
|
]),
|
|
4198
4196
|
_: 2
|
|
4199
4197
|
}, 1032, ["value", "disabled", "border", "style"]))), 128))
|
|
@@ -4251,7 +4249,7 @@ const Rl = /* @__PURE__ */ R(Il, [["render", Sl], ["__scopeId", "data-v-41c9d41a
|
|
|
4251
4249
|
}
|
|
4252
4250
|
});
|
|
4253
4251
|
function kl(e, i, t, l, r, c) {
|
|
4254
|
-
const s =
|
|
4252
|
+
const s = wi, u = M;
|
|
4255
4253
|
return o(), d(u, {
|
|
4256
4254
|
"build-rules": e.rules,
|
|
4257
4255
|
field: e.field,
|
|
@@ -4414,7 +4412,7 @@ const jl = /* @__PURE__ */ R(Ll, [["render", El], ["__scopeId", "data-v-a95a64b8
|
|
|
4414
4412
|
handlePictureUpload(e) {
|
|
4415
4413
|
e.toBlob(async (i) => {
|
|
4416
4414
|
const t = new FormData();
|
|
4417
|
-
t.append("file", i, "crop-file.png"), t.append("formId", this.globalSdForm._id), t.append("category", "cropper"), await
|
|
4415
|
+
t.append("file", i, "crop-file.png"), t.append("formId", this.globalSdForm._id), t.append("category", "cropper"), await ne.post(this.realUploadURL, t, {
|
|
4418
4416
|
headers: {
|
|
4419
4417
|
Authorization: `Bearer ${this.globalAuthToken}`,
|
|
4420
4418
|
"Content-Type": "multipart/form-data"
|
|
@@ -4425,7 +4423,7 @@ const jl = /* @__PURE__ */ R(Ll, [["render", El], ["__scopeId", "data-v-a95a64b8
|
|
|
4425
4423
|
name: r.fileName,
|
|
4426
4424
|
status: "success",
|
|
4427
4425
|
url: r.filePath,
|
|
4428
|
-
uid:
|
|
4426
|
+
uid: ge(),
|
|
4429
4427
|
response: r
|
|
4430
4428
|
}, s = [c];
|
|
4431
4429
|
let u = null;
|
|
@@ -4442,7 +4440,7 @@ const jl = /* @__PURE__ */ R(Ll, [["render", El], ["__scopeId", "data-v-a95a64b8
|
|
|
4442
4440
|
const r = {
|
|
4443
4441
|
name: "crop-file.png",
|
|
4444
4442
|
status: "fail",
|
|
4445
|
-
uid:
|
|
4443
|
+
uid: ge()
|
|
4446
4444
|
};
|
|
4447
4445
|
this.handleUploadError(l, r, [r]), this.alert(l.message, "warning");
|
|
4448
4446
|
});
|
|
@@ -4476,7 +4474,7 @@ const jl = /* @__PURE__ */ R(Ll, [["render", El], ["__scopeId", "data-v-a95a64b8
|
|
|
4476
4474
|
},
|
|
4477
4475
|
handlePictureRemove(e) {
|
|
4478
4476
|
const i = e.response;
|
|
4479
|
-
this.handleBeforeRemove(this.fileList),
|
|
4477
|
+
this.handleBeforeRemove(this.fileList), ne.delete(`${this.globalApiUrl}/v1/files/remove-one`, {
|
|
4480
4478
|
data: i,
|
|
4481
4479
|
headers: {
|
|
4482
4480
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -4496,7 +4494,7 @@ const jl = /* @__PURE__ */ R(Ll, [["render", El], ["__scopeId", "data-v-a95a64b8
|
|
|
4496
4494
|
}
|
|
4497
4495
|
});
|
|
4498
4496
|
function Vl(e, i, t, l, r, c) {
|
|
4499
|
-
const s =
|
|
4497
|
+
const s = Ci, u = M;
|
|
4500
4498
|
return o(), d(u, {
|
|
4501
4499
|
"build-rules": e.rules,
|
|
4502
4500
|
field: e.field,
|
|
@@ -4675,7 +4673,7 @@ const zl = /* @__PURE__ */ R(Tl, [["render", Vl], ["__scopeId", "data-v-8f733f21
|
|
|
4675
4673
|
}
|
|
4676
4674
|
});
|
|
4677
4675
|
function Al(e, i, t, l, r, c) {
|
|
4678
|
-
const s = U, u = G, p =
|
|
4676
|
+
const s = U, u = G, p = ue, g = se, y = Ae, $ = E;
|
|
4679
4677
|
return o(), d($, {
|
|
4680
4678
|
"build-rules": e.rules,
|
|
4681
4679
|
field: e.field,
|
|
@@ -4686,12 +4684,12 @@ function Al(e, i, t, l, r, c) {
|
|
|
4686
4684
|
"index-of-parent-list": e.indexOfParentList,
|
|
4687
4685
|
"sub-form-row-index": e.subFormRowIndex,
|
|
4688
4686
|
"sub-form-col-index": e.subFormColIndex,
|
|
4689
|
-
class:
|
|
4687
|
+
class: v(["datagrid-container"]),
|
|
4690
4688
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left" }),
|
|
4691
4689
|
"sub-form-row-id": e.subFormRowId
|
|
4692
4690
|
}, {
|
|
4693
4691
|
default: a(() => [
|
|
4694
|
-
(o(), d(
|
|
4692
|
+
(o(), d(y, {
|
|
4695
4693
|
ref: "fieldEditor",
|
|
4696
4694
|
key: e.field.id,
|
|
4697
4695
|
"form-id": e.field.options.formId,
|
|
@@ -4737,6 +4735,7 @@ function Al(e, i, t, l, r, c) {
|
|
|
4737
4735
|
"limit-row": e.field.options.limitRow || 30,
|
|
4738
4736
|
"allow-delete-func": e.field.options.allowDeleteFunc ? e.allowDeleteFunc : void 0,
|
|
4739
4737
|
"allow-clone-func": e.field.options.allowCloneFunc ? e.allowCloneFunc : void 0,
|
|
4738
|
+
"enable-ws": !!e.field.options.enableWs,
|
|
4740
4739
|
"insert-before": e.insertBefore,
|
|
4741
4740
|
"update-before": e.updateBefore,
|
|
4742
4741
|
"view-before": e.viewBefore,
|
|
@@ -4768,13 +4767,13 @@ function Al(e, i, t, l, r, c) {
|
|
|
4768
4767
|
n.prefixIcon ? (o(), d(s, {
|
|
4769
4768
|
key: 0,
|
|
4770
4769
|
"icon-name": n.prefixIcon,
|
|
4771
|
-
class:
|
|
4770
|
+
class: v(n.label ? "" : "ml-1")
|
|
4772
4771
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
4773
|
-
S("span", null,
|
|
4772
|
+
S("span", null, w(n.label), 1),
|
|
4774
4773
|
n.suffixIcon ? (o(), d(s, {
|
|
4775
4774
|
key: 1,
|
|
4776
4775
|
"icon-name": n.suffixIcon,
|
|
4777
|
-
class:
|
|
4776
|
+
class: v(n.label ? "ml-1" : "")
|
|
4778
4777
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
4779
4778
|
]),
|
|
4780
4779
|
_: 2
|
|
@@ -4801,13 +4800,13 @@ function Al(e, i, t, l, r, c) {
|
|
|
4801
4800
|
n.prefixIcon ? (o(), d(s, {
|
|
4802
4801
|
key: 0,
|
|
4803
4802
|
"icon-name": n.prefixIcon,
|
|
4804
|
-
class:
|
|
4803
|
+
class: v(n.label ? "" : "ml-1")
|
|
4805
4804
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
4806
|
-
S("span", null,
|
|
4805
|
+
S("span", null, w(n.label), 1),
|
|
4807
4806
|
n.suffixIcon ? (o(), d(s, {
|
|
4808
4807
|
key: 1,
|
|
4809
4808
|
"icon-name": n.suffixIcon,
|
|
4810
|
-
class:
|
|
4809
|
+
class: v(n.label ? "ml-1" : "")
|
|
4811
4810
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
4812
4811
|
]),
|
|
4813
4812
|
_: 2
|
|
@@ -4845,13 +4844,13 @@ function Al(e, i, t, l, r, c) {
|
|
|
4845
4844
|
f.prefixIcon ? (o(), d(s, {
|
|
4846
4845
|
key: 0,
|
|
4847
4846
|
"icon-name": f.prefixIcon,
|
|
4848
|
-
class:
|
|
4847
|
+
class: v(f.label ? "" : "ml-1")
|
|
4849
4848
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
4850
|
-
S("span", null,
|
|
4849
|
+
S("span", null, w(f.label), 1),
|
|
4851
4850
|
f.suffixIcon ? (o(), d(s, {
|
|
4852
4851
|
key: 1,
|
|
4853
4852
|
"icon-name": f.suffixIcon,
|
|
4854
|
-
class:
|
|
4853
|
+
class: v(f.label ? "ml-1" : "")
|
|
4855
4854
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
4856
4855
|
]),
|
|
4857
4856
|
_: 2
|
|
@@ -4879,13 +4878,13 @@ function Al(e, i, t, l, r, c) {
|
|
|
4879
4878
|
f.prefixIcon ? (o(), d(s, {
|
|
4880
4879
|
key: 0,
|
|
4881
4880
|
"icon-name": f.prefixIcon,
|
|
4882
|
-
class:
|
|
4881
|
+
class: v(f.label ? "" : "ml-1")
|
|
4883
4882
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
4884
|
-
S("span", null,
|
|
4883
|
+
S("span", null, w(f.label), 1),
|
|
4885
4884
|
f.suffixIcon ? (o(), d(s, {
|
|
4886
4885
|
key: 1,
|
|
4887
4886
|
"icon-name": f.suffixIcon,
|
|
4888
|
-
class:
|
|
4887
|
+
class: v(f.label ? "ml-1" : "")
|
|
4889
4888
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
4890
4889
|
]),
|
|
4891
4890
|
_: 2
|
|
@@ -4893,12 +4892,12 @@ function Al(e, i, t, l, r, c) {
|
|
|
4893
4892
|
], 64))), 256)) : b("", !0)
|
|
4894
4893
|
]),
|
|
4895
4894
|
_: 1
|
|
4896
|
-
}, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "init-data", "readonly", "resizable", "index-column", "system-column", "action-enable", "title-enable", "rawdata-btn-enable", "export-btn-enable", "export-row-btn-enable", "add-btn-enable", "add-btn-label", "action-label", "action-width", "display-fields", "search-fields", "aggr-column", "edit-column", "sum-column", "expand-count-children-name", "expand-provider", "clone-enable-label-field", "height", "max-height", "icon-name", "key-id", "row-key", "placeholder-search", "subform-width", "sum-decimal", "sum-label", "total-inline", "sum-all-page", "title-name", "group-key", "limit-row", "allow-delete-func", "allow-clone-func", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
4895
|
+
}, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "init-data", "readonly", "resizable", "index-column", "system-column", "action-enable", "title-enable", "rawdata-btn-enable", "export-btn-enable", "export-row-btn-enable", "add-btn-enable", "add-btn-label", "action-label", "action-width", "display-fields", "search-fields", "aggr-column", "edit-column", "sum-column", "expand-count-children-name", "expand-provider", "clone-enable-label-field", "height", "max-height", "icon-name", "key-id", "row-key", "placeholder-search", "subform-width", "sum-decimal", "sum-label", "total-inline", "sum-all-page", "title-name", "group-key", "limit-row", "allow-delete-func", "allow-clone-func", "enable-ws", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
4897
4896
|
]),
|
|
4898
4897
|
_: 1
|
|
4899
4898
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "style", "sub-form-row-id"]);
|
|
4900
4899
|
}
|
|
4901
|
-
const Nl = /* @__PURE__ */ R(Bl, [["render", Al], ["__scopeId", "data-v-
|
|
4900
|
+
const Nl = /* @__PURE__ */ R(Bl, [["render", Al], ["__scopeId", "data-v-ced6754f"]]), Hl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4902
4901
|
__proto__: null,
|
|
4903
4902
|
default: Nl
|
|
4904
4903
|
}, Symbol.toStringTag, { value: "Module" })), Wl = I({
|
|
@@ -5045,7 +5044,7 @@ const Nl = /* @__PURE__ */ R(Bl, [["render", Al], ["__scopeId", "data-v-5bb788fc
|
|
|
5045
5044
|
}
|
|
5046
5045
|
});
|
|
5047
5046
|
function ql(e, i, t, l, r, c) {
|
|
5048
|
-
const s = U, u = G, p =
|
|
5047
|
+
const s = U, u = G, p = ue, g = se, y = Ae, $ = E;
|
|
5049
5048
|
return o(), d($, {
|
|
5050
5049
|
"build-rules": e.rules,
|
|
5051
5050
|
field: e.field,
|
|
@@ -5056,12 +5055,12 @@ function ql(e, i, t, l, r, c) {
|
|
|
5056
5055
|
"index-of-parent-list": e.indexOfParentList,
|
|
5057
5056
|
"sub-form-row-index": e.subFormRowIndex,
|
|
5058
5057
|
"sub-form-col-index": e.subFormColIndex,
|
|
5059
|
-
class:
|
|
5058
|
+
class: v(["datagrid-container"]),
|
|
5060
5059
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left" }),
|
|
5061
5060
|
"sub-form-row-id": e.subFormRowId
|
|
5062
5061
|
}, {
|
|
5063
5062
|
default: a(() => [
|
|
5064
|
-
(o(), d(
|
|
5063
|
+
(o(), d(y, {
|
|
5065
5064
|
ref: "fieldEditor",
|
|
5066
5065
|
key: e.field.id,
|
|
5067
5066
|
"form-id": e.field.options.sqlId,
|
|
@@ -5083,6 +5082,7 @@ function ql(e, i, t, l, r, c) {
|
|
|
5083
5082
|
"icon-name": e.field.options.iconName || "",
|
|
5084
5083
|
"key-id": e.field.options.keyId || "_id",
|
|
5085
5084
|
"row-key": e.field.options.rowKey || "dataid",
|
|
5085
|
+
"enable-ws": !!e.field.options.enableWs,
|
|
5086
5086
|
"placeholder-search": e.field.options.placeholder || "Search...",
|
|
5087
5087
|
"title-name": e.field.options.titleName || "",
|
|
5088
5088
|
"limit-row": e.field.options.limitRow || 30,
|
|
@@ -5112,13 +5112,13 @@ function ql(e, i, t, l, r, c) {
|
|
|
5112
5112
|
n.prefixIcon ? (o(), d(s, {
|
|
5113
5113
|
key: 0,
|
|
5114
5114
|
"icon-name": n.prefixIcon,
|
|
5115
|
-
class:
|
|
5115
|
+
class: v(n.label ? "" : "ml-1")
|
|
5116
5116
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
5117
|
-
S("span", null,
|
|
5117
|
+
S("span", null, w(n.label), 1),
|
|
5118
5118
|
n.suffixIcon ? (o(), d(s, {
|
|
5119
5119
|
key: 1,
|
|
5120
5120
|
"icon-name": n.suffixIcon,
|
|
5121
|
-
class:
|
|
5121
|
+
class: v(n.label ? "ml-1" : "")
|
|
5122
5122
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
5123
5123
|
]),
|
|
5124
5124
|
_: 2
|
|
@@ -5145,13 +5145,13 @@ function ql(e, i, t, l, r, c) {
|
|
|
5145
5145
|
n.prefixIcon ? (o(), d(s, {
|
|
5146
5146
|
key: 0,
|
|
5147
5147
|
"icon-name": n.prefixIcon,
|
|
5148
|
-
class:
|
|
5148
|
+
class: v(n.label ? "" : "ml-1")
|
|
5149
5149
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
5150
|
-
S("span", null,
|
|
5150
|
+
S("span", null, w(n.label), 1),
|
|
5151
5151
|
n.suffixIcon ? (o(), d(s, {
|
|
5152
5152
|
key: 1,
|
|
5153
5153
|
"icon-name": n.suffixIcon,
|
|
5154
|
-
class:
|
|
5154
|
+
class: v(n.label ? "ml-1" : "")
|
|
5155
5155
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
5156
5156
|
]),
|
|
5157
5157
|
_: 2
|
|
@@ -5189,13 +5189,13 @@ function ql(e, i, t, l, r, c) {
|
|
|
5189
5189
|
f.prefixIcon ? (o(), d(s, {
|
|
5190
5190
|
key: 0,
|
|
5191
5191
|
"icon-name": f.prefixIcon,
|
|
5192
|
-
class:
|
|
5192
|
+
class: v(f.label ? "" : "ml-1")
|
|
5193
5193
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
5194
|
-
S("span", null,
|
|
5194
|
+
S("span", null, w(f.label), 1),
|
|
5195
5195
|
f.suffixIcon ? (o(), d(s, {
|
|
5196
5196
|
key: 1,
|
|
5197
5197
|
"icon-name": f.suffixIcon,
|
|
5198
|
-
class:
|
|
5198
|
+
class: v(f.label ? "ml-1" : "")
|
|
5199
5199
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
5200
5200
|
]),
|
|
5201
5201
|
_: 2
|
|
@@ -5223,13 +5223,13 @@ function ql(e, i, t, l, r, c) {
|
|
|
5223
5223
|
f.prefixIcon ? (o(), d(s, {
|
|
5224
5224
|
key: 0,
|
|
5225
5225
|
"icon-name": f.prefixIcon,
|
|
5226
|
-
class:
|
|
5226
|
+
class: v(f.label ? "" : "ml-1")
|
|
5227
5227
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
5228
|
-
S("span", null,
|
|
5228
|
+
S("span", null, w(f.label), 1),
|
|
5229
5229
|
f.suffixIcon ? (o(), d(s, {
|
|
5230
5230
|
key: 1,
|
|
5231
5231
|
"icon-name": f.suffixIcon,
|
|
5232
|
-
class:
|
|
5232
|
+
class: v(f.label ? "ml-1" : "")
|
|
5233
5233
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
5234
5234
|
]),
|
|
5235
5235
|
_: 2
|
|
@@ -5237,12 +5237,12 @@ function ql(e, i, t, l, r, c) {
|
|
|
5237
5237
|
], 64))), 256)) : b("", !0)
|
|
5238
5238
|
]),
|
|
5239
5239
|
_: 1
|
|
5240
|
-
}, 8, ["form-id", "provider-type", "data-provider", "params", "init-data", "readonly", "resizable", "index-column", "action-enable", "title-enable", "action-label", "action-width", "display-fields", "search-fields", "height", "max-height", "icon-name", "key-id", "row-key", "placeholder-search", "title-name", "limit-row", "user-state", "build-state"]))
|
|
5240
|
+
}, 8, ["form-id", "provider-type", "data-provider", "params", "init-data", "readonly", "resizable", "index-column", "action-enable", "title-enable", "action-label", "action-width", "display-fields", "search-fields", "height", "max-height", "icon-name", "key-id", "row-key", "enable-ws", "placeholder-search", "title-name", "limit-row", "user-state", "build-state"]))
|
|
5241
5241
|
]),
|
|
5242
5242
|
_: 1
|
|
5243
5243
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "style", "sub-form-row-id"]);
|
|
5244
5244
|
}
|
|
5245
|
-
const Gl = /* @__PURE__ */ R(Wl, [["render", ql], ["__scopeId", "data-v-
|
|
5245
|
+
const Gl = /* @__PURE__ */ R(Wl, [["render", ql], ["__scopeId", "data-v-c97dad86"]]), Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5246
5246
|
__proto__: null,
|
|
5247
5247
|
default: Gl
|
|
5248
5248
|
}, Symbol.toStringTag, { value: "Module" })), Zl = I({
|
|
@@ -5281,8 +5281,8 @@ const Gl = /* @__PURE__ */ R(Wl, [["render", ql], ["__scopeId", "data-v-a5d7e3da
|
|
|
5281
5281
|
this.unregisterFromRefList();
|
|
5282
5282
|
}
|
|
5283
5283
|
});
|
|
5284
|
-
function
|
|
5285
|
-
const s =
|
|
5284
|
+
function Kl(e, i, t, l, r, c) {
|
|
5285
|
+
const s = Ce, u = M;
|
|
5286
5286
|
return o(), d(u, {
|
|
5287
5287
|
"build-rules": e.rules,
|
|
5288
5288
|
field: e.field,
|
|
@@ -5297,7 +5297,7 @@ function Ql(e, i, t, l, r, c) {
|
|
|
5297
5297
|
}, {
|
|
5298
5298
|
default: a(() => [
|
|
5299
5299
|
S("div", {
|
|
5300
|
-
class:
|
|
5300
|
+
class: v([e.field.options.autoFullWidth ? "auto-full-width" : ""])
|
|
5301
5301
|
}, [
|
|
5302
5302
|
m(s, {
|
|
5303
5303
|
ref: "fieldEditor",
|
|
@@ -5322,9 +5322,9 @@ function Ql(e, i, t, l, r, c) {
|
|
|
5322
5322
|
_: 1
|
|
5323
5323
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
5324
5324
|
}
|
|
5325
|
-
const
|
|
5325
|
+
const Ql = /* @__PURE__ */ R(Zl, [["render", Kl], ["__scopeId", "data-v-9c2695f4"]]), Yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5326
5326
|
__proto__: null,
|
|
5327
|
-
default:
|
|
5327
|
+
default: Ql
|
|
5328
5328
|
}, Symbol.toStringTag, { value: "Module" })), Xl = I({
|
|
5329
5329
|
name: "date-range-input",
|
|
5330
5330
|
typeName: "FormField",
|
|
@@ -5361,7 +5361,7 @@ const Kl = /* @__PURE__ */ R(Zl, [["render", Ql], ["__scopeId", "data-v-9c2695f4
|
|
|
5361
5361
|
}
|
|
5362
5362
|
});
|
|
5363
5363
|
function _l(e, i, t, l, r, c) {
|
|
5364
|
-
const s =
|
|
5364
|
+
const s = Ce, u = M;
|
|
5365
5365
|
return o(), d(u, {
|
|
5366
5366
|
"build-rules": e.rules,
|
|
5367
5367
|
field: e.field,
|
|
@@ -5428,7 +5428,7 @@ const xl = /* @__PURE__ */ R(Xl, [["render", _l], ["__scopeId", "data-v-f3d27354
|
|
|
5428
5428
|
}
|
|
5429
5429
|
});
|
|
5430
5430
|
function on(e, i, t, l, r, c) {
|
|
5431
|
-
const s =
|
|
5431
|
+
const s = Ge, u = E;
|
|
5432
5432
|
return o(), d(u, {
|
|
5433
5433
|
"build-rules": e.rules,
|
|
5434
5434
|
field: e.field,
|
|
@@ -5449,7 +5449,7 @@ function on(e, i, t, l, r, c) {
|
|
|
5449
5449
|
"content-position": e.field.options.contentPosition
|
|
5450
5450
|
}, {
|
|
5451
5451
|
default: a(() => [
|
|
5452
|
-
L(
|
|
5452
|
+
L(w(e.field.options.label), 1)
|
|
5453
5453
|
]),
|
|
5454
5454
|
_: 1
|
|
5455
5455
|
}, 8, ["content-position"]))
|
|
@@ -5500,7 +5500,7 @@ const ln = /* @__PURE__ */ R(tn, [["render", on]]), nn = /* @__PURE__ */ Object.
|
|
|
5500
5500
|
}
|
|
5501
5501
|
});
|
|
5502
5502
|
function rn(e, i, t, l, r, c) {
|
|
5503
|
-
const s = U, u = J("arrow-down"), p =
|
|
5503
|
+
const s = U, u = J("arrow-down"), p = re, g = G, y = it, $ = et, n = xi, f = E;
|
|
5504
5504
|
return o(), d(f, {
|
|
5505
5505
|
"build-rules": e.rules,
|
|
5506
5506
|
field: e.field,
|
|
@@ -5515,7 +5515,7 @@ function rn(e, i, t, l, r, c) {
|
|
|
5515
5515
|
}, {
|
|
5516
5516
|
default: a(() => [
|
|
5517
5517
|
S("div", {
|
|
5518
|
-
class:
|
|
5518
|
+
class: v({ paragraph: !!e.field.options.paragraph }),
|
|
5519
5519
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left", marginBottom: e.field.options.marginBottom + "px" })
|
|
5520
5520
|
}, [
|
|
5521
5521
|
(o(), d(n, {
|
|
@@ -5530,7 +5530,7 @@ function rn(e, i, t, l, r, c) {
|
|
|
5530
5530
|
dropdown: a(() => [
|
|
5531
5531
|
e.field.options.menuList && Object.keys(e.field.options.menuList).length > 0 ? (o(), d($, { key: 0 }, {
|
|
5532
5532
|
default: a(() => [
|
|
5533
|
-
(o(!0), h(F, null, T(e.field.options.menuList, (k, V) => (o(), d(
|
|
5533
|
+
(o(!0), h(F, null, T(e.field.options.menuList, (k, V) => (o(), d(y, {
|
|
5534
5534
|
command: k.command,
|
|
5535
5535
|
divided: k.divided,
|
|
5536
5536
|
disabled: k.disabled
|
|
@@ -5540,7 +5540,7 @@ function rn(e, i, t, l, r, c) {
|
|
|
5540
5540
|
key: 0,
|
|
5541
5541
|
"icon-name": k.icon
|
|
5542
5542
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5543
|
-
L(" " +
|
|
5543
|
+
L(" " + w(k.label), 1)
|
|
5544
5544
|
]),
|
|
5545
5545
|
_: 2
|
|
5546
5546
|
}, 1032, ["command", "divided", "disabled"]))), 256))
|
|
@@ -5561,7 +5561,7 @@ function rn(e, i, t, l, r, c) {
|
|
|
5561
5561
|
"icon-name": e.field.options.prefixIcon,
|
|
5562
5562
|
class: "mr-1"
|
|
5563
5563
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5564
|
-
L(" " +
|
|
5564
|
+
L(" " + w(e.field.options.label || "Menu") + " ", 1),
|
|
5565
5565
|
m(p, { class: "el-icon--right" }, {
|
|
5566
5566
|
default: a(() => [
|
|
5567
5567
|
m(u)
|
|
@@ -5579,7 +5579,7 @@ function rn(e, i, t, l, r, c) {
|
|
|
5579
5579
|
key: 0,
|
|
5580
5580
|
"icon-name": e.field.options.prefixIcon
|
|
5581
5581
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5582
|
-
L(" " +
|
|
5582
|
+
L(" " + w(e.field.options.label || "Menu") + " ", 1),
|
|
5583
5583
|
m(p, { class: "el-icon--right" }, {
|
|
5584
5584
|
default: a(() => [
|
|
5585
5585
|
m(u)
|
|
@@ -5643,7 +5643,7 @@ const dn = /* @__PURE__ */ R(sn, [["render", rn], ["__scopeId", "data-v-d687104d
|
|
|
5643
5643
|
}
|
|
5644
5644
|
});
|
|
5645
5645
|
function un(e, i, t, l, r, c) {
|
|
5646
|
-
const s =
|
|
5646
|
+
const s = Be, u = M;
|
|
5647
5647
|
return o(), d(u, {
|
|
5648
5648
|
"build-rules": e.rules,
|
|
5649
5649
|
field: e.field,
|
|
@@ -5787,7 +5787,7 @@ const pn = /* @__PURE__ */ R(fn, [["render", un]]), mn = /* @__PURE__ */ Object.
|
|
|
5787
5787
|
cancelButtonText: "Cancel",
|
|
5788
5788
|
type: "warning"
|
|
5789
5789
|
}).then(() => {
|
|
5790
|
-
|
|
5790
|
+
ne.delete(`${this.globalApiUrl}/v1/files/remove-one`, {
|
|
5791
5791
|
data: i,
|
|
5792
5792
|
headers: {
|
|
5793
5793
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -5823,7 +5823,7 @@ const pn = /* @__PURE__ */ R(fn, [["render", un]]), mn = /* @__PURE__ */ Object.
|
|
|
5823
5823
|
class: "el-upload__tip"
|
|
5824
5824
|
};
|
|
5825
5825
|
function wn(e, i, t, l, r, c) {
|
|
5826
|
-
const s = G, u = J("Document"), p =
|
|
5826
|
+
const s = G, u = J("Document"), p = re, g = Ge, y = U, $ = J("Delete"), n = Ie, f = M;
|
|
5827
5827
|
return o(), d(f, {
|
|
5828
5828
|
"build-rules": e.rules,
|
|
5829
5829
|
field: e.field,
|
|
@@ -5839,7 +5839,7 @@ function wn(e, i, t, l, r, c) {
|
|
|
5839
5839
|
default: a(() => [
|
|
5840
5840
|
m(n, {
|
|
5841
5841
|
style: { width: "100%" },
|
|
5842
|
-
class:
|
|
5842
|
+
class: v(["fileUploadInput", { hideUploadDiv: e.uploadBtnHidden }]),
|
|
5843
5843
|
ref: "fieldEditor",
|
|
5844
5844
|
disabled: e.field.options.disabled || !!e.builderStatus,
|
|
5845
5845
|
action: e.realUploadURL,
|
|
@@ -5868,7 +5868,7 @@ function wn(e, i, t, l, r, c) {
|
|
|
5868
5868
|
]),
|
|
5869
5869
|
_: 1
|
|
5870
5870
|
}),
|
|
5871
|
-
L(" " +
|
|
5871
|
+
L(" " + w(k.name), 1)
|
|
5872
5872
|
], 8, bn),
|
|
5873
5873
|
m(g, { direction: "vertical" }),
|
|
5874
5874
|
S("a", {
|
|
@@ -5877,7 +5877,7 @@ function wn(e, i, t, l, r, c) {
|
|
|
5877
5877
|
target: "_blank"
|
|
5878
5878
|
}, [
|
|
5879
5879
|
S("span", Fn, [
|
|
5880
|
-
m(
|
|
5880
|
+
m(y, { "icon-name": "addon-download" })
|
|
5881
5881
|
])
|
|
5882
5882
|
], 8, gn),
|
|
5883
5883
|
e.field.options.disabled ? b("", !0) : (o(), h(F, { key: 0 }, [
|
|
@@ -5898,7 +5898,7 @@ function wn(e, i, t, l, r, c) {
|
|
|
5898
5898
|
])
|
|
5899
5899
|
]),
|
|
5900
5900
|
tip: a(() => [
|
|
5901
|
-
e.field.options.uploadTip ? (o(), h("div", vn,
|
|
5901
|
+
e.field.options.uploadTip ? (o(), h("div", vn, w(e.field.options.uploadTip), 1)) : b("", !0)
|
|
5902
5902
|
]),
|
|
5903
5903
|
default: a(() => [
|
|
5904
5904
|
m(s, {
|
|
@@ -6108,7 +6108,7 @@ const Mn = /* @__PURE__ */ R(Sn, [["render", Rn], ["__scopeId", "data-v-621ec067
|
|
|
6108
6108
|
}
|
|
6109
6109
|
});
|
|
6110
6110
|
function Pn(e, i, t, l, r, c) {
|
|
6111
|
-
const s =
|
|
6111
|
+
const s = me, u = M;
|
|
6112
6112
|
return o(), d(u, {
|
|
6113
6113
|
"build-rules": e.rules,
|
|
6114
6114
|
field: e.field,
|
|
@@ -6172,7 +6172,7 @@ const $n = /* @__PURE__ */ R(kn, [["render", Pn]]), Ln = /* @__PURE__ */ Object.
|
|
|
6172
6172
|
}
|
|
6173
6173
|
});
|
|
6174
6174
|
function jn(e, i, t, l, r, c) {
|
|
6175
|
-
const s =
|
|
6175
|
+
const s = me, u = E;
|
|
6176
6176
|
return o(), d(u, {
|
|
6177
6177
|
"build-rules": e.rules,
|
|
6178
6178
|
field: e.field,
|
|
@@ -6252,7 +6252,7 @@ const Dn = /* @__PURE__ */ R(En, [["render", jn]]), Tn = /* @__PURE__ */ Object.
|
|
|
6252
6252
|
let i = [];
|
|
6253
6253
|
if (this.field.options.sourcePath)
|
|
6254
6254
|
for (const t in e) {
|
|
6255
|
-
const l = e[t], r =
|
|
6255
|
+
const l = e[t], r = ye(l, this.field.options.sourcePath);
|
|
6256
6256
|
if (r && typeof r == "object")
|
|
6257
6257
|
for (const c in r) {
|
|
6258
6258
|
let s = r[c];
|
|
@@ -6303,7 +6303,7 @@ const Dn = /* @__PURE__ */ R(En, [["render", jn]]), Tn = /* @__PURE__ */ Object.
|
|
|
6303
6303
|
}
|
|
6304
6304
|
});
|
|
6305
6305
|
function zn(e, i, t, l, r, c) {
|
|
6306
|
-
const s =
|
|
6306
|
+
const s = Ii, u = M;
|
|
6307
6307
|
return o(), d(u, {
|
|
6308
6308
|
"build-rules": e.rules,
|
|
6309
6309
|
field: e.field,
|
|
@@ -6366,7 +6366,7 @@ const Un = /* @__PURE__ */ R(Vn, [["render", zn], ["__scopeId", "data-v-967ebc26
|
|
|
6366
6366
|
}
|
|
6367
6367
|
}), Nn = { class: "image-slot" };
|
|
6368
6368
|
function Hn(e, i, t, l, r, c) {
|
|
6369
|
-
const s = U, u =
|
|
6369
|
+
const s = U, u = Je, p = E;
|
|
6370
6370
|
return o(), d(p, {
|
|
6371
6371
|
"build-rules": e.rules,
|
|
6372
6372
|
field: e.field,
|
|
@@ -6493,7 +6493,7 @@ function Jn(e, i, t, l, r, c) {
|
|
|
6493
6493
|
style: { width: "100%" },
|
|
6494
6494
|
"navigation-bar": !1,
|
|
6495
6495
|
size: e.widgetSize,
|
|
6496
|
-
class:
|
|
6496
|
+
class: v(e.isDark ? "jse-theme-dark" : ""),
|
|
6497
6497
|
"read-only": e.field.options.disabled,
|
|
6498
6498
|
onChange: e.handleChange
|
|
6499
6499
|
}, null, 8, ["modelValue", "mode", "size", "class", "read-only", "onChange"])
|
|
@@ -6501,10 +6501,10 @@ function Jn(e, i, t, l, r, c) {
|
|
|
6501
6501
|
_: 1
|
|
6502
6502
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
6503
6503
|
}
|
|
6504
|
-
const Zn = /* @__PURE__ */ R(Gn, [["render", Jn]]),
|
|
6504
|
+
const Zn = /* @__PURE__ */ R(Gn, [["render", Jn]]), Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6505
6505
|
__proto__: null,
|
|
6506
6506
|
default: Zn
|
|
6507
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6507
|
+
}, Symbol.toStringTag, { value: "Module" })), Qn = I({
|
|
6508
6508
|
name: "link-ui",
|
|
6509
6509
|
typeName: "FormField",
|
|
6510
6510
|
components: {
|
|
@@ -6547,7 +6547,7 @@ function Yn(e, i, t, l, r, c) {
|
|
|
6547
6547
|
(o(), h("div", {
|
|
6548
6548
|
ref: "fieldEditor",
|
|
6549
6549
|
key: e.field.id,
|
|
6550
|
-
class:
|
|
6550
|
+
class: v({ paragraph: !!e.field.options.paragraph }),
|
|
6551
6551
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left", marginBottom: e.field.options.marginBottom + "px" })
|
|
6552
6552
|
}, [
|
|
6553
6553
|
m(p, {
|
|
@@ -6556,7 +6556,7 @@ function Yn(e, i, t, l, r, c) {
|
|
|
6556
6556
|
href: e.field.options.href,
|
|
6557
6557
|
target: e.field.options.target,
|
|
6558
6558
|
style: j({ fontSize: e.field.options.fontSize + "px" }),
|
|
6559
|
-
class:
|
|
6559
|
+
class: v({ bold: !!e.field.options.bold, italic: !!e.field.options.italic })
|
|
6560
6560
|
}, {
|
|
6561
6561
|
default: a(() => [
|
|
6562
6562
|
e.field.options.labelIconClass && e.field.options.labelIconPosition === "front" ? (o(), h(F, { key: 0 }, [
|
|
@@ -6576,7 +6576,7 @@ function Yn(e, i, t, l, r, c) {
|
|
|
6576
6576
|
"icon-name": e.field.options.labelIconClass
|
|
6577
6577
|
}, null, 8, ["icon-name"]))
|
|
6578
6578
|
], 64)) : b("", !0),
|
|
6579
|
-
L(" " +
|
|
6579
|
+
L(" " + w(e.field.options.content) + " ", 1),
|
|
6580
6580
|
e.field.options.labelIconClass && e.field.options.labelIconPosition === "rear" ? (o(), h(F, { key: 1 }, [
|
|
6581
6581
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
6582
6582
|
key: 0,
|
|
@@ -6602,7 +6602,7 @@ function Yn(e, i, t, l, r, c) {
|
|
|
6602
6602
|
_: 1
|
|
6603
6603
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
6604
6604
|
}
|
|
6605
|
-
const Xn = /* @__PURE__ */ R(
|
|
6605
|
+
const Xn = /* @__PURE__ */ R(Qn, [["render", Yn], ["__scopeId", "data-v-f3464b8f"]]), _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6606
6606
|
__proto__: null,
|
|
6607
6607
|
default: Xn
|
|
6608
6608
|
}, Symbol.toStringTag, { value: "Module" })), xn = I({
|
|
@@ -6728,7 +6728,7 @@ const Xn = /* @__PURE__ */ R(Kn, [["render", Yn], ["__scopeId", "data-v-f3464b8f
|
|
|
6728
6728
|
}
|
|
6729
6729
|
});
|
|
6730
6730
|
function es(e, i, t, l, r, c) {
|
|
6731
|
-
const s =
|
|
6731
|
+
const s = se, u = U, p = G, g = ue, y = Si, $ = E;
|
|
6732
6732
|
return o(), d($, {
|
|
6733
6733
|
"build-rules": e.rules,
|
|
6734
6734
|
field: e.field,
|
|
@@ -6739,12 +6739,12 @@ function es(e, i, t, l, r, c) {
|
|
|
6739
6739
|
"index-of-parent-list": e.indexOfParentList,
|
|
6740
6740
|
"sub-form-row-index": e.subFormRowIndex,
|
|
6741
6741
|
"sub-form-col-index": e.subFormColIndex,
|
|
6742
|
-
class:
|
|
6742
|
+
class: v(["datagrid-container"]),
|
|
6743
6743
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left" }),
|
|
6744
6744
|
"sub-form-row-id": e.subFormRowId
|
|
6745
6745
|
}, {
|
|
6746
6746
|
default: a(() => [
|
|
6747
|
-
(o(), d(
|
|
6747
|
+
(o(), d(y, {
|
|
6748
6748
|
ref: "fieldEditor",
|
|
6749
6749
|
key: e.field.id,
|
|
6750
6750
|
"form-id": e.field.options.formId,
|
|
@@ -6786,6 +6786,7 @@ function es(e, i, t, l, r, c) {
|
|
|
6786
6786
|
"custom-value": e.field.options.customValue || void 0,
|
|
6787
6787
|
"allow-delete-func": e.field.options.allowDeleteFunc ? e.allowDeleteFunc : void 0,
|
|
6788
6788
|
"click-event": e.field.options.clickEvent ? e.clickEvent : void 0,
|
|
6789
|
+
"enable-ws": !!e.field.options.enableWs,
|
|
6789
6790
|
"insert-before": e.insertBefore,
|
|
6790
6791
|
"update-before": e.updateBefore,
|
|
6791
6792
|
"view-before": e.viewBefore,
|
|
@@ -6825,13 +6826,13 @@ function es(e, i, t, l, r, c) {
|
|
|
6825
6826
|
f.prefixIcon ? (o(), d(u, {
|
|
6826
6827
|
key: 0,
|
|
6827
6828
|
"icon-name": f.prefixIcon,
|
|
6828
|
-
class:
|
|
6829
|
+
class: v(f.label ? "" : "ml-1")
|
|
6829
6830
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
6830
|
-
S("span", null,
|
|
6831
|
+
S("span", null, w(f.label), 1),
|
|
6831
6832
|
f.suffixIcon ? (o(), d(u, {
|
|
6832
6833
|
key: 1,
|
|
6833
6834
|
"icon-name": f.suffixIcon,
|
|
6834
|
-
class:
|
|
6835
|
+
class: v(f.label ? "ml-1" : "")
|
|
6835
6836
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
6836
6837
|
]),
|
|
6837
6838
|
_: 2
|
|
@@ -6859,13 +6860,13 @@ function es(e, i, t, l, r, c) {
|
|
|
6859
6860
|
f.prefixIcon ? (o(), d(u, {
|
|
6860
6861
|
key: 0,
|
|
6861
6862
|
"icon-name": f.prefixIcon,
|
|
6862
|
-
class:
|
|
6863
|
+
class: v(f.label ? "" : "ml-1")
|
|
6863
6864
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
6864
|
-
S("span", null,
|
|
6865
|
+
S("span", null, w(f.label), 1),
|
|
6865
6866
|
f.suffixIcon ? (o(), d(u, {
|
|
6866
6867
|
key: 1,
|
|
6867
6868
|
"icon-name": f.suffixIcon,
|
|
6868
|
-
class:
|
|
6869
|
+
class: v(f.label ? "ml-1" : "")
|
|
6869
6870
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
6870
6871
|
]),
|
|
6871
6872
|
_: 2
|
|
@@ -6873,12 +6874,12 @@ function es(e, i, t, l, r, c) {
|
|
|
6873
6874
|
], 64))), 256)) : b("", !0)
|
|
6874
6875
|
]),
|
|
6875
6876
|
_: 1
|
|
6876
|
-
}, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "init-data", "column", "search-fields", "icon-field", "title-field", "status-field", "color-field", "group-field", "title-enable", "icon-name", "subform-width", "title-name", "action-enable", "add-btn-enable", "update-btn-enable", "del-btn-enable", "reload-btn-enable", "view-btn-enable", "detail-content", "detail-max-row", "disable-no-more", "height", "icon-wigth", "limit-row", "list-type", "no-more-label", "scroll-distance", "search-placeholder", "status-content", "title-content", "total-enable", "custom-value", "allow-delete-func", "click-event", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
6877
|
+
}, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "init-data", "column", "search-fields", "icon-field", "title-field", "status-field", "color-field", "group-field", "title-enable", "icon-name", "subform-width", "title-name", "action-enable", "add-btn-enable", "update-btn-enable", "del-btn-enable", "reload-btn-enable", "view-btn-enable", "detail-content", "detail-max-row", "disable-no-more", "height", "icon-wigth", "limit-row", "list-type", "no-more-label", "scroll-distance", "search-placeholder", "status-content", "title-content", "total-enable", "custom-value", "allow-delete-func", "click-event", "enable-ws", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
6877
6878
|
]),
|
|
6878
6879
|
_: 1
|
|
6879
6880
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "style", "sub-form-row-id"]);
|
|
6880
6881
|
}
|
|
6881
|
-
const is = /* @__PURE__ */ R(xn, [["render", es], ["__scopeId", "data-v-
|
|
6882
|
+
const is = /* @__PURE__ */ R(xn, [["render", es], ["__scopeId", "data-v-293ff20c"]]), ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6882
6883
|
__proto__: null,
|
|
6883
6884
|
default: is
|
|
6884
6885
|
}, Symbol.toStringTag, { value: "Module" })), os = I({
|
|
@@ -6924,7 +6925,7 @@ const is = /* @__PURE__ */ R(xn, [["render", es], ["__scopeId", "data-v-3d2f602e
|
|
|
6924
6925
|
}
|
|
6925
6926
|
}), ls = { class: "el-input__wrapper el-input__wrapper" };
|
|
6926
6927
|
function ns(e, i, t, l, r, c) {
|
|
6927
|
-
const s =
|
|
6928
|
+
const s = Ri, u = M;
|
|
6928
6929
|
return o(), d(u, {
|
|
6929
6930
|
"build-rules": e.rules,
|
|
6930
6931
|
field: e.field,
|
|
@@ -6939,7 +6940,7 @@ function ns(e, i, t, l, r, c) {
|
|
|
6939
6940
|
}, {
|
|
6940
6941
|
default: a(() => [
|
|
6941
6942
|
S("div", {
|
|
6942
|
-
class:
|
|
6943
|
+
class: v(["el-input el-input", { "el-input--small": e.smallSize, "el-input--large": e.largeSize, "is-disabled": e.field.options.disabled }])
|
|
6943
6944
|
}, [
|
|
6944
6945
|
S("div", ls, [
|
|
6945
6946
|
m(s, {
|
|
@@ -7006,7 +7007,7 @@ const ss = /* @__PURE__ */ R(os, [["render", ns]]), rs = /* @__PURE__ */ Object.
|
|
|
7006
7007
|
}
|
|
7007
7008
|
});
|
|
7008
7009
|
function as(e, i, t, l, r, c) {
|
|
7009
|
-
const s =
|
|
7010
|
+
const s = Ce, u = M;
|
|
7010
7011
|
return o(), d(u, {
|
|
7011
7012
|
"build-rules": e.rules,
|
|
7012
7013
|
field: e.field,
|
|
@@ -7021,7 +7022,7 @@ function as(e, i, t, l, r, c) {
|
|
|
7021
7022
|
}, {
|
|
7022
7023
|
default: a(() => [
|
|
7023
7024
|
S("div", {
|
|
7024
|
-
class:
|
|
7025
|
+
class: v([e.field.options.autoFullWidth ? "auto-full-width" : ""])
|
|
7025
7026
|
}, [
|
|
7026
7027
|
m(s, {
|
|
7027
7028
|
ref: "fieldEditor",
|
|
@@ -7114,7 +7115,7 @@ function cs(e, i, t, l, r, c) {
|
|
|
7114
7115
|
ref: "fieldEditor",
|
|
7115
7116
|
modelValue: e.fieldValue,
|
|
7116
7117
|
"onUpdate:modelValue": i[0] || (i[0] = (g) => e.fieldValue = g),
|
|
7117
|
-
class:
|
|
7118
|
+
class: v(["full-width-input", { "left-input": e.field.options.controlsPosition == "right" }]),
|
|
7118
7119
|
disabled: e.field.options.disabled,
|
|
7119
7120
|
size: e.widgetSize,
|
|
7120
7121
|
"controls-position": e.field.options.controlsPosition,
|
|
@@ -7135,7 +7136,7 @@ function cs(e, i, t, l, r, c) {
|
|
|
7135
7136
|
"icon-name": e.field.options.prefixIcon,
|
|
7136
7137
|
class: "mr-1"
|
|
7137
7138
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
7138
|
-
e.field.options.prefixText ? (o(), h("span", ms,
|
|
7139
|
+
e.field.options.prefixText ? (o(), h("span", ms, w(e.field.options.prefixText), 1)) : b("", !0)
|
|
7139
7140
|
]),
|
|
7140
7141
|
key: "0"
|
|
7141
7142
|
} : void 0,
|
|
@@ -7148,7 +7149,7 @@ function cs(e, i, t, l, r, c) {
|
|
|
7148
7149
|
class: "mr-1"
|
|
7149
7150
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
7150
7151
|
i[1] || (i[1] = L()),
|
|
7151
|
-
e.field.options.suffixText ? (o(), h("span", hs,
|
|
7152
|
+
e.field.options.suffixText ? (o(), h("span", hs, w(e.field.options.suffixText), 1)) : b("", !0)
|
|
7152
7153
|
]),
|
|
7153
7154
|
key: "1"
|
|
7154
7155
|
} : void 0
|
|
@@ -7199,7 +7200,7 @@ const bs = /* @__PURE__ */ R(ps, [["render", cs], ["__scopeId", "data-v-fb135eaa
|
|
|
7199
7200
|
}
|
|
7200
7201
|
});
|
|
7201
7202
|
function ys(e, i, t, l, r, c) {
|
|
7202
|
-
const s = U, u =
|
|
7203
|
+
const s = U, u = fe, p = M;
|
|
7203
7204
|
return o(), d(p, {
|
|
7204
7205
|
"build-rules": e.rules,
|
|
7205
7206
|
field: e.field,
|
|
@@ -7242,14 +7243,14 @@ function ys(e, i, t, l, r, c) {
|
|
|
7242
7243
|
e.field.options.prefixText ? {
|
|
7243
7244
|
name: "prepend",
|
|
7244
7245
|
fn: a(() => [
|
|
7245
|
-
L(
|
|
7246
|
+
L(w(e.field.options.prefixText), 1)
|
|
7246
7247
|
]),
|
|
7247
7248
|
key: "0"
|
|
7248
7249
|
} : void 0,
|
|
7249
7250
|
e.field.options.suffixText ? {
|
|
7250
7251
|
name: "append",
|
|
7251
7252
|
fn: a(() => [
|
|
7252
|
-
L(
|
|
7253
|
+
L(w(e.field.options.suffixText), 1)
|
|
7253
7254
|
]),
|
|
7254
7255
|
key: "1"
|
|
7255
7256
|
} : void 0,
|
|
@@ -7385,7 +7386,7 @@ const vs = /* @__PURE__ */ R(Fs, [["render", ys]]), ws = /* @__PURE__ */ Object.
|
|
|
7385
7386
|
cancelButtonText: "Cancel",
|
|
7386
7387
|
type: "warning"
|
|
7387
7388
|
}).then(() => {
|
|
7388
|
-
this.handleBeforeRemove(this.fileList),
|
|
7389
|
+
this.handleBeforeRemove(this.fileList), ne.delete(`${this.globalApiUrl}/v1/files/remove-one`, {
|
|
7389
7390
|
data: i,
|
|
7390
7391
|
headers: {
|
|
7391
7392
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -7421,7 +7422,7 @@ const vs = /* @__PURE__ */ R(Fs, [["render", ys]]), ws = /* @__PURE__ */ Object.
|
|
|
7421
7422
|
class: "el-upload__tip"
|
|
7422
7423
|
};
|
|
7423
7424
|
function ks(e, i, t, l, r, c) {
|
|
7424
|
-
const s =
|
|
7425
|
+
const s = Je, u = J("Check"), p = re, g = J("ZoomIn"), y = J("Delete"), $ = J("Plus"), n = Ie, f = M;
|
|
7425
7426
|
return o(), d(f, {
|
|
7426
7427
|
"build-rules": e.rules,
|
|
7427
7428
|
field: e.field,
|
|
@@ -7436,7 +7437,7 @@ function ks(e, i, t, l, r, c) {
|
|
|
7436
7437
|
}, {
|
|
7437
7438
|
default: a(() => [
|
|
7438
7439
|
m(n, {
|
|
7439
|
-
class:
|
|
7440
|
+
class: v({ hideUploadDiv: e.uploadBtnHidden }),
|
|
7440
7441
|
ref: "fieldEditor",
|
|
7441
7442
|
disabled: e.field.options.disabled || !!e.builderStatus,
|
|
7442
7443
|
action: e.realUploadURL,
|
|
@@ -7492,7 +7493,7 @@ function ks(e, i, t, l, r, c) {
|
|
|
7492
7493
|
}, [
|
|
7493
7494
|
m(p, null, {
|
|
7494
7495
|
default: a(() => [
|
|
7495
|
-
m(
|
|
7496
|
+
m(y)
|
|
7496
7497
|
]),
|
|
7497
7498
|
_: 1
|
|
7498
7499
|
})
|
|
@@ -7500,7 +7501,7 @@ function ks(e, i, t, l, r, c) {
|
|
|
7500
7501
|
])
|
|
7501
7502
|
]),
|
|
7502
7503
|
tip: a(() => [
|
|
7503
|
-
e.field.options.uploadTip ? (o(), h("div", Os,
|
|
7504
|
+
e.field.options.uploadTip ? (o(), h("div", Os, w(e.field.options.uploadTip), 1)) : b("", !0)
|
|
7504
7505
|
]),
|
|
7505
7506
|
default: a(() => [
|
|
7506
7507
|
m(p, null, {
|
|
@@ -7639,11 +7640,11 @@ function Vs(e, i, t, l, r, c) {
|
|
|
7639
7640
|
(o(), h("div", {
|
|
7640
7641
|
ref: "fieldEditor",
|
|
7641
7642
|
key: e.field.id,
|
|
7642
|
-
class:
|
|
7643
|
+
class: v({ paragraph: !!e.field.options.paragraph }),
|
|
7643
7644
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left", marginBottom: e.field.options.marginBottom + "px" })
|
|
7644
7645
|
}, [
|
|
7645
7646
|
S("span", {
|
|
7646
|
-
class:
|
|
7647
|
+
class: v([e.field.options.sizeClass ? e.field.options.sizeClass : "text-6"])
|
|
7647
7648
|
}, [
|
|
7648
7649
|
e.field.options.textValue ? (o(), d(s, {
|
|
7649
7650
|
key: 0,
|
|
@@ -7696,7 +7697,7 @@ const zs = /* @__PURE__ */ R(Ts, [["render", Vs], ["__scopeId", "data-v-14161622
|
|
|
7696
7697
|
}
|
|
7697
7698
|
});
|
|
7698
7699
|
function As(e, i, t, l, r, c) {
|
|
7699
|
-
const s = st, u = Ke, p =
|
|
7700
|
+
const s = st, u = Ke, p = de, g = ae, y = Ze, $ = M;
|
|
7700
7701
|
return o(), d($, {
|
|
7701
7702
|
"build-rules": e.rules,
|
|
7702
7703
|
field: e.field,
|
|
@@ -7710,11 +7711,11 @@ function As(e, i, t, l, r, c) {
|
|
|
7710
7711
|
"sub-form-row-id": e.subFormRowId
|
|
7711
7712
|
}, {
|
|
7712
7713
|
default: a(() => [
|
|
7713
|
-
m(
|
|
7714
|
+
m(y, {
|
|
7714
7715
|
ref: "fieldEditor",
|
|
7715
7716
|
modelValue: e.fieldValue,
|
|
7716
7717
|
"onUpdate:modelValue": i[0] || (i[0] = (n) => e.fieldValue = n),
|
|
7717
|
-
class:
|
|
7718
|
+
class: v({ "radio-group-block": e.field.options.displayStyle === "flex" }),
|
|
7718
7719
|
disabled: e.field.options.disabled,
|
|
7719
7720
|
size: e.widgetSize,
|
|
7720
7721
|
style: { width: "100%" },
|
|
@@ -7729,7 +7730,7 @@ function As(e, i, t, l, r, c) {
|
|
|
7729
7730
|
style: j({ display: e.field.options.displayStyle })
|
|
7730
7731
|
}, {
|
|
7731
7732
|
default: a(() => [
|
|
7732
|
-
L(
|
|
7733
|
+
L(w(n.label), 1)
|
|
7733
7734
|
]),
|
|
7734
7735
|
_: 2
|
|
7735
7736
|
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(), h(F, { key: 1 }, [
|
|
@@ -7747,7 +7748,7 @@ function As(e, i, t, l, r, c) {
|
|
|
7747
7748
|
style: j({ display: e.field.options.displayStyle })
|
|
7748
7749
|
}, {
|
|
7749
7750
|
default: a(() => [
|
|
7750
|
-
L(
|
|
7751
|
+
L(w(n.label), 1)
|
|
7751
7752
|
]),
|
|
7752
7753
|
_: 2
|
|
7753
7754
|
}, 1032, ["value", "disabled", "border", "style"]))
|
|
@@ -7764,7 +7765,7 @@ function As(e, i, t, l, r, c) {
|
|
|
7764
7765
|
style: j({ display: e.field.options.displayStyle })
|
|
7765
7766
|
}, {
|
|
7766
7767
|
default: a(() => [
|
|
7767
|
-
L(
|
|
7768
|
+
L(w(n.label), 1)
|
|
7768
7769
|
]),
|
|
7769
7770
|
_: 2
|
|
7770
7771
|
}, 1032, ["value", "disabled", "border", "style"]))), 128))
|
|
@@ -7845,7 +7846,7 @@ const Ns = /* @__PURE__ */ R(Bs, [["render", As], ["__scopeId", "data-v-9ae0dedd
|
|
|
7845
7846
|
}
|
|
7846
7847
|
});
|
|
7847
7848
|
function qs(e, i, t, l, r, c) {
|
|
7848
|
-
const s =
|
|
7849
|
+
const s = fe, u = Ke, p = de, g = ae, y = Ze, $ = M;
|
|
7849
7850
|
return o(), d($, {
|
|
7850
7851
|
"build-rules": e.rules,
|
|
7851
7852
|
field: e.field,
|
|
@@ -7859,11 +7860,11 @@ function qs(e, i, t, l, r, c) {
|
|
|
7859
7860
|
"sub-form-row-id": e.subFormRowId
|
|
7860
7861
|
}, {
|
|
7861
7862
|
default: a(() => [
|
|
7862
|
-
m(
|
|
7863
|
+
m(y, {
|
|
7863
7864
|
ref: "fieldEditor",
|
|
7864
7865
|
modelValue: e.valueState,
|
|
7865
7866
|
"onUpdate:modelValue": i[0] || (i[0] = (n) => e.valueState = n),
|
|
7866
|
-
class:
|
|
7867
|
+
class: v({ "radio-group-block": e.field.options.displayStyle === "flex" }),
|
|
7867
7868
|
disabled: e.field.options.disabled,
|
|
7868
7869
|
size: e.widgetSize,
|
|
7869
7870
|
style: { width: "100%" },
|
|
@@ -7884,7 +7885,7 @@ function qs(e, i, t, l, r, c) {
|
|
|
7884
7885
|
style: { display: "flex" }
|
|
7885
7886
|
}, {
|
|
7886
7887
|
default: a(() => [
|
|
7887
|
-
L(
|
|
7888
|
+
L(w(n.label) + " ", 1),
|
|
7888
7889
|
n.text ? (o(), d(s, {
|
|
7889
7890
|
key: 0,
|
|
7890
7891
|
size: "small",
|
|
@@ -7897,7 +7898,7 @@ function qs(e, i, t, l, r, c) {
|
|
|
7897
7898
|
n.suffix ? {
|
|
7898
7899
|
name: "append",
|
|
7899
7900
|
fn: a(() => [
|
|
7900
|
-
L(
|
|
7901
|
+
L(w(n.suffix), 1)
|
|
7901
7902
|
]),
|
|
7902
7903
|
key: "0"
|
|
7903
7904
|
} : void 0
|
|
@@ -7918,7 +7919,7 @@ function qs(e, i, t, l, r, c) {
|
|
|
7918
7919
|
style: { display: "flex" }
|
|
7919
7920
|
}, {
|
|
7920
7921
|
default: a(() => [
|
|
7921
|
-
L(
|
|
7922
|
+
L(w(n.label) + " ", 1),
|
|
7922
7923
|
n.text ? (o(), d(s, {
|
|
7923
7924
|
key: 0,
|
|
7924
7925
|
size: "small",
|
|
@@ -7931,7 +7932,7 @@ function qs(e, i, t, l, r, c) {
|
|
|
7931
7932
|
n.suffix ? {
|
|
7932
7933
|
name: "append",
|
|
7933
7934
|
fn: a(() => [
|
|
7934
|
-
L(
|
|
7935
|
+
L(w(n.suffix), 1)
|
|
7935
7936
|
]),
|
|
7936
7937
|
key: "0"
|
|
7937
7938
|
} : void 0
|
|
@@ -7992,7 +7993,7 @@ const Gs = /* @__PURE__ */ R(Ws, [["render", qs], ["__scopeId", "data-v-10f388a2
|
|
|
7992
7993
|
this.unregisterFromRefList();
|
|
7993
7994
|
}
|
|
7994
7995
|
});
|
|
7995
|
-
function
|
|
7996
|
+
function Ks(e, i, t, l, r, c) {
|
|
7996
7997
|
const s = rt, u = M;
|
|
7997
7998
|
return o(), d(u, {
|
|
7998
7999
|
"build-rules": e.rules,
|
|
@@ -8027,9 +8028,9 @@ function Qs(e, i, t, l, r, c) {
|
|
|
8027
8028
|
_: 1
|
|
8028
8029
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
8029
8030
|
}
|
|
8030
|
-
const
|
|
8031
|
+
const Qs = /* @__PURE__ */ R(Zs, [["render", Ks], ["__scopeId", "data-v-a4f7a549"]]), Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8031
8032
|
__proto__: null,
|
|
8032
|
-
default:
|
|
8033
|
+
default: Qs
|
|
8033
8034
|
}, Symbol.toStringTag, { value: "Module" })), Xs = I({
|
|
8034
8035
|
name: "record-ui",
|
|
8035
8036
|
typeName: "FormField",
|
|
@@ -8165,7 +8166,7 @@ const Ks = /* @__PURE__ */ R(Zs, [["render", Qs], ["__scopeId", "data-v-a4f7a549
|
|
|
8165
8166
|
}
|
|
8166
8167
|
});
|
|
8167
8168
|
function _s(e, i, t, l, r, c) {
|
|
8168
|
-
const s =
|
|
8169
|
+
const s = se, u = U, p = G, g = ue, y = Mi, $ = E;
|
|
8169
8170
|
return o(), d($, {
|
|
8170
8171
|
"build-rules": e.rules,
|
|
8171
8172
|
field: e.field,
|
|
@@ -8174,13 +8175,13 @@ function _s(e, i, t, l, r, c) {
|
|
|
8174
8175
|
"parent-field": e.parentField,
|
|
8175
8176
|
"parent-list": e.parentList,
|
|
8176
8177
|
"index-of-parent-list": e.indexOfParentList,
|
|
8177
|
-
class:
|
|
8178
|
+
class: v(["ui-container"]),
|
|
8178
8179
|
"sub-form-row-index": e.subFormRowIndex,
|
|
8179
8180
|
"sub-form-col-index": e.subFormColIndex,
|
|
8180
8181
|
"sub-form-row-id": e.subFormRowId
|
|
8181
8182
|
}, {
|
|
8182
8183
|
default: a(() => [
|
|
8183
|
-
(o(), d(
|
|
8184
|
+
(o(), d(y, {
|
|
8184
8185
|
ref: "fieldEditor",
|
|
8185
8186
|
key: e.field.id,
|
|
8186
8187
|
"form-id": e.field.options.formId,
|
|
@@ -8210,6 +8211,7 @@ function _s(e, i, t, l, r, c) {
|
|
|
8210
8211
|
"reload-btn-enable": !!e.field.options.reloadBtnEnable,
|
|
8211
8212
|
"view-btn-enable": !!e.field.options.viewBtnEnable,
|
|
8212
8213
|
"allow-delete-func": e.field.options.allowDeleteFunc ? e.allowDeleteFunc : void 0,
|
|
8214
|
+
"enable-ws": !!e.field.options.enableWs,
|
|
8213
8215
|
"insert-before": e.insertBefore,
|
|
8214
8216
|
"update-before": e.updateBefore,
|
|
8215
8217
|
"view-before": e.viewBefore,
|
|
@@ -8248,13 +8250,13 @@ function _s(e, i, t, l, r, c) {
|
|
|
8248
8250
|
f.prefixIcon ? (o(), d(u, {
|
|
8249
8251
|
key: 0,
|
|
8250
8252
|
"icon-name": f.prefixIcon,
|
|
8251
|
-
class:
|
|
8253
|
+
class: v(f.label ? "" : "ml-1")
|
|
8252
8254
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
8253
|
-
S("span", null,
|
|
8255
|
+
S("span", null, w(f.label), 1),
|
|
8254
8256
|
f.suffixIcon ? (o(), d(u, {
|
|
8255
8257
|
key: 1,
|
|
8256
8258
|
"icon-name": f.suffixIcon,
|
|
8257
|
-
class:
|
|
8259
|
+
class: v(f.label ? "ml-1" : "")
|
|
8258
8260
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
8259
8261
|
]),
|
|
8260
8262
|
_: 2
|
|
@@ -8281,13 +8283,13 @@ function _s(e, i, t, l, r, c) {
|
|
|
8281
8283
|
f.prefixIcon ? (o(), d(u, {
|
|
8282
8284
|
key: 0,
|
|
8283
8285
|
"icon-name": f.prefixIcon,
|
|
8284
|
-
class:
|
|
8286
|
+
class: v(f.label ? "" : "ml-1")
|
|
8285
8287
|
}, null, 8, ["icon-name", "class"])) : b("", !0),
|
|
8286
|
-
S("span", null,
|
|
8288
|
+
S("span", null, w(f.label), 1),
|
|
8287
8289
|
f.suffixIcon ? (o(), d(u, {
|
|
8288
8290
|
key: 1,
|
|
8289
8291
|
"icon-name": f.suffixIcon,
|
|
8290
|
-
class:
|
|
8292
|
+
class: v(f.label ? "ml-1" : "")
|
|
8291
8293
|
}, null, 8, ["icon-name", "class"])) : b("", !0)
|
|
8292
8294
|
]),
|
|
8293
8295
|
_: 2
|
|
@@ -8295,12 +8297,12 @@ function _s(e, i, t, l, r, c) {
|
|
|
8295
8297
|
], 64))), 256)) : b("", !0)
|
|
8296
8298
|
]),
|
|
8297
8299
|
_: 1
|
|
8298
|
-
}, 8, ["form-id", "provider-type", "data-provider", "parent-id", "data-id", "params", "block-ui-fields", "init-data", "title-enable", "icon-name", "subform-width", "title-name", "label-width", "column", "action-enable", "add-btn-enable", "block-enable", "border-enable", "vertical-enable", "last-record", "list-view-btn-enable", "list-view-read-only", "update-btn-enable", "del-btn-enable", "reload-btn-enable", "view-btn-enable", "allow-delete-func", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
8300
|
+
}, 8, ["form-id", "provider-type", "data-provider", "parent-id", "data-id", "params", "block-ui-fields", "init-data", "title-enable", "icon-name", "subform-width", "title-name", "label-width", "column", "action-enable", "add-btn-enable", "block-enable", "border-enable", "vertical-enable", "last-record", "list-view-btn-enable", "list-view-read-only", "update-btn-enable", "del-btn-enable", "reload-btn-enable", "view-btn-enable", "allow-delete-func", "enable-ws", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
8299
8301
|
]),
|
|
8300
8302
|
_: 1
|
|
8301
8303
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
8302
8304
|
}
|
|
8303
|
-
const xs = /* @__PURE__ */ R(Xs, [["render", _s], ["__scopeId", "data-v-
|
|
8305
|
+
const xs = /* @__PURE__ */ R(Xs, [["render", _s], ["__scopeId", "data-v-2f36808c"]]), er = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8304
8306
|
__proto__: null,
|
|
8305
8307
|
default: xs
|
|
8306
8308
|
}, Symbol.toStringTag, { value: "Module" })), ir = I({
|
|
@@ -8351,7 +8353,7 @@ const xs = /* @__PURE__ */ R(Xs, [["render", _s], ["__scopeId", "data-v-72ce81d8
|
|
|
8351
8353
|
}
|
|
8352
8354
|
});
|
|
8353
8355
|
function tr(e, i, t, l, r, c) {
|
|
8354
|
-
const s =
|
|
8356
|
+
const s = se, u = U, p = G, g = E;
|
|
8355
8357
|
return o(), d(g, {
|
|
8356
8358
|
"build-rules": e.rules,
|
|
8357
8359
|
field: e.field,
|
|
@@ -8362,7 +8364,7 @@ function tr(e, i, t, l, r, c) {
|
|
|
8362
8364
|
"index-of-parent-list": e.indexOfParentList,
|
|
8363
8365
|
"sub-form-row-index": e.subFormRowIndex,
|
|
8364
8366
|
"sub-form-col-index": e.subFormColIndex,
|
|
8365
|
-
class:
|
|
8367
|
+
class: v(["datagrid-container"]),
|
|
8366
8368
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left" }),
|
|
8367
8369
|
"sub-form-row-id": e.subFormRowId
|
|
8368
8370
|
}, {
|
|
@@ -8385,7 +8387,7 @@ function tr(e, i, t, l, r, c) {
|
|
|
8385
8387
|
default: a(() => [
|
|
8386
8388
|
m(u, { "icon-name": "report-ui" }),
|
|
8387
8389
|
i[0] || (i[0] = L()),
|
|
8388
|
-
S("span", null,
|
|
8390
|
+
S("span", null, w(e.field.options.providerType || "Report"), 1)
|
|
8389
8391
|
]),
|
|
8390
8392
|
_: 1
|
|
8391
8393
|
}, 8, ["size"]))
|
|
@@ -8472,7 +8474,7 @@ function sr(e, i, t, l, r, c) {
|
|
|
8472
8474
|
}, {
|
|
8473
8475
|
default: a(() => [
|
|
8474
8476
|
S("div", {
|
|
8475
|
-
class:
|
|
8477
|
+
class: v({ paragraph: !!e.field.options.paragraph }),
|
|
8476
8478
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left", marginBottom: e.field.options.marginBottom + "px" })
|
|
8477
8479
|
}, [
|
|
8478
8480
|
(o(), d(u, {
|
|
@@ -8488,14 +8490,14 @@ function sr(e, i, t, l, r, c) {
|
|
|
8488
8490
|
}, {
|
|
8489
8491
|
default: a((g) => [
|
|
8490
8492
|
S("div", {
|
|
8491
|
-
class:
|
|
8493
|
+
class: v(["flex", "items-center", "gap-2", "flex-col", e.direction === "horizontal" && "p-2"])
|
|
8492
8494
|
}, [
|
|
8493
8495
|
g.item.icon ? (o(), d(s, {
|
|
8494
8496
|
key: 0,
|
|
8495
8497
|
"icon-name": g.item.icon,
|
|
8496
8498
|
class: "text-7"
|
|
8497
8499
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
8498
|
-
S("div", null,
|
|
8500
|
+
S("div", null, w(g.item.label), 1)
|
|
8499
8501
|
], 2)
|
|
8500
8502
|
]),
|
|
8501
8503
|
_: 1
|
|
@@ -8617,7 +8619,7 @@ const rr = /* @__PURE__ */ R(nr, [["render", sr], ["__scopeId", "data-v-58269946
|
|
|
8617
8619
|
}
|
|
8618
8620
|
});
|
|
8619
8621
|
function fr(e, i, t, l, r, c) {
|
|
8620
|
-
const s =
|
|
8622
|
+
const s = ve, u = M;
|
|
8621
8623
|
return o(), d(u, {
|
|
8622
8624
|
"build-rules": e.rules,
|
|
8623
8625
|
field: e.field,
|
|
@@ -8736,7 +8738,7 @@ const ur = /* @__PURE__ */ R(ar, [["render", fr]]), pr = /* @__PURE__ */ Object.
|
|
|
8736
8738
|
}
|
|
8737
8739
|
});
|
|
8738
8740
|
function hr(e, i, t, l, r, c) {
|
|
8739
|
-
const s =
|
|
8741
|
+
const s = ve, u = M;
|
|
8740
8742
|
return o(), d(u, {
|
|
8741
8743
|
"build-rules": e.rules,
|
|
8742
8744
|
field: e.field,
|
|
@@ -8938,7 +8940,7 @@ const yr = /* @__PURE__ */ R(gr, [["render", Fr], ["__scopeId", "data-v-fc573572
|
|
|
8938
8940
|
let i = [];
|
|
8939
8941
|
if (this.field.options.sourcePath)
|
|
8940
8942
|
for (const t in e) {
|
|
8941
|
-
const l = e[t], r =
|
|
8943
|
+
const l = e[t], r = ye(l, this.field.options.sourcePath);
|
|
8942
8944
|
if (r && typeof r == "object")
|
|
8943
8945
|
for (const c in r) {
|
|
8944
8946
|
let s = r[c];
|
|
@@ -8995,7 +8997,7 @@ const yr = /* @__PURE__ */ R(gr, [["render", Fr], ["__scopeId", "data-v-fc573572
|
|
|
8995
8997
|
}
|
|
8996
8998
|
});
|
|
8997
8999
|
function Cr(e, i, t, l, r, c) {
|
|
8998
|
-
const s =
|
|
9000
|
+
const s = Oi, u = M;
|
|
8999
9001
|
return o(), d(u, {
|
|
9000
9002
|
"build-rules": e.rules,
|
|
9001
9003
|
field: e.field,
|
|
@@ -9097,7 +9099,7 @@ const Ir = /* @__PURE__ */ R(wr, [["render", Cr], ["__scopeId", "data-v-2b0c7426
|
|
|
9097
9099
|
}
|
|
9098
9100
|
});
|
|
9099
9101
|
function Mr(e, i, t, l, r, c) {
|
|
9100
|
-
const s =
|
|
9102
|
+
const s = ve, u = M;
|
|
9101
9103
|
return o(), d(u, {
|
|
9102
9104
|
"build-rules": e.rules,
|
|
9103
9105
|
field: e.field,
|
|
@@ -9217,7 +9219,7 @@ const Or = /* @__PURE__ */ R(Rr, [["render", Mr]]), kr = /* @__PURE__ */ Object.
|
|
|
9217
9219
|
}
|
|
9218
9220
|
});
|
|
9219
9221
|
function $r(e, i, t, l, r, c) {
|
|
9220
|
-
const s =
|
|
9222
|
+
const s = ki, u = E;
|
|
9221
9223
|
return o(), d(u, {
|
|
9222
9224
|
"build-rules": e.rules,
|
|
9223
9225
|
field: e.field,
|
|
@@ -9228,7 +9230,7 @@ function $r(e, i, t, l, r, c) {
|
|
|
9228
9230
|
"index-of-parent-list": e.indexOfParentList,
|
|
9229
9231
|
"sub-form-row-index": e.subFormRowIndex,
|
|
9230
9232
|
"sub-form-col-index": e.subFormColIndex,
|
|
9231
|
-
class:
|
|
9233
|
+
class: v(["datagrid-container"]),
|
|
9232
9234
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left" }),
|
|
9233
9235
|
"sub-form-row-id": e.subFormRowId
|
|
9234
9236
|
}, {
|
|
@@ -9387,8 +9389,8 @@ const Tr = /* @__PURE__ */ R(jr, [["render", Dr], ["__scopeId", "data-v-01943245
|
|
|
9387
9389
|
class: "statistic-footer"
|
|
9388
9390
|
}, Hr = { class: "footer-item" };
|
|
9389
9391
|
function Wr(e, i, t, l, r, c) {
|
|
9390
|
-
const s = U, u = ee, p = pt, g =
|
|
9391
|
-
return o(), d(
|
|
9392
|
+
const s = U, u = ee, p = pt, g = me, y = E;
|
|
9393
|
+
return o(), d(y, {
|
|
9392
9394
|
"build-rules": e.rules,
|
|
9393
9395
|
field: e.field,
|
|
9394
9396
|
builder: e.builder,
|
|
@@ -9403,7 +9405,7 @@ function Wr(e, i, t, l, r, c) {
|
|
|
9403
9405
|
}, {
|
|
9404
9406
|
default: a(() => [
|
|
9405
9407
|
(o(), h("div", {
|
|
9406
|
-
class:
|
|
9408
|
+
class: v(["statistic-card", [e.field.options.displayType, e.field.options.headerType || "", "paragraph"]]),
|
|
9407
9409
|
ref: "fieldEditor",
|
|
9408
9410
|
key: e.field.id
|
|
9409
9411
|
}, [
|
|
@@ -9417,7 +9419,7 @@ function Wr(e, i, t, l, r, c) {
|
|
|
9417
9419
|
}, Z({
|
|
9418
9420
|
title: a(() => [
|
|
9419
9421
|
S("div", Ur, [
|
|
9420
|
-
L(
|
|
9422
|
+
L(w(e.field.options.title) + " ", 1),
|
|
9421
9423
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
9422
9424
|
key: 0,
|
|
9423
9425
|
content: e.field.options.labelTooltip
|
|
@@ -9447,7 +9449,7 @@ function Wr(e, i, t, l, r, c) {
|
|
|
9447
9449
|
"icon-name": e.field.options.prefixIcon,
|
|
9448
9450
|
class: "mr-2"
|
|
9449
9451
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
9450
|
-
e.field.options.prefixText ? (o(), h("span", Br,
|
|
9452
|
+
e.field.options.prefixText ? (o(), h("span", Br, w(e.field.options.prefixText), 1)) : b("", !0)
|
|
9451
9453
|
]),
|
|
9452
9454
|
key: "0"
|
|
9453
9455
|
} : void 0,
|
|
@@ -9460,7 +9462,7 @@ function Wr(e, i, t, l, r, c) {
|
|
|
9460
9462
|
class: "ml-1"
|
|
9461
9463
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
9462
9464
|
i[1] || (i[1] = L()),
|
|
9463
|
-
e.field.options.suffixText ? (o(), h("span", Ar,
|
|
9465
|
+
e.field.options.suffixText ? (o(), h("span", Ar, w(e.field.options.suffixText), 1)) : b("", !0)
|
|
9464
9466
|
]),
|
|
9465
9467
|
key: "1"
|
|
9466
9468
|
} : void 0
|
|
@@ -9569,7 +9571,7 @@ function Zr(e, i, t, l, r, c) {
|
|
|
9569
9571
|
"finish-status": e.field.options.finishStatus ? e.field.options.finishStatus : "success"
|
|
9570
9572
|
}, {
|
|
9571
9573
|
default: a(() => [
|
|
9572
|
-
(o(!0), h(F, null, T(e.field.options.stepList, (g,
|
|
9574
|
+
(o(!0), h(F, null, T(e.field.options.stepList, (g, y) => (o(), d(s, {
|
|
9573
9575
|
title: g.label,
|
|
9574
9576
|
description: g.desc,
|
|
9575
9577
|
icon: g.icon
|
|
@@ -9581,9 +9583,9 @@ function Zr(e, i, t, l, r, c) {
|
|
|
9581
9583
|
_: 1
|
|
9582
9584
|
}, 8, ["build-rules", "field", "builder", "builder-status", "parent-field", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
9583
9585
|
}
|
|
9584
|
-
const
|
|
9586
|
+
const Kr = /* @__PURE__ */ R(Jr, [["render", Zr], ["__scopeId", "data-v-36741146"]]), Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9585
9587
|
__proto__: null,
|
|
9586
|
-
default:
|
|
9588
|
+
default: Kr
|
|
9587
9589
|
}, Symbol.toStringTag, { value: "Module" })), Yr = I({
|
|
9588
9590
|
name: "svg-input",
|
|
9589
9591
|
typeName: "FormField",
|
|
@@ -9634,7 +9636,7 @@ const Qr = /* @__PURE__ */ R(Jr, [["render", Zr], ["__scopeId", "data-v-36741146
|
|
|
9634
9636
|
commitFile(e) {
|
|
9635
9637
|
if (e) {
|
|
9636
9638
|
this.uploadBtnHidden = !0;
|
|
9637
|
-
const i =
|
|
9639
|
+
const i = ze(e);
|
|
9638
9640
|
this.fileList = [
|
|
9639
9641
|
{
|
|
9640
9642
|
name: "svg-icon.svg",
|
|
@@ -9645,7 +9647,7 @@ const Qr = /* @__PURE__ */ R(Jr, [["render", Zr], ["__scopeId", "data-v-36741146
|
|
|
9645
9647
|
this.fileList = [], this.uploadBtnHidden = !1;
|
|
9646
9648
|
},
|
|
9647
9649
|
beforeUpload(e) {
|
|
9648
|
-
return e.type !== "image/svg+xml" ? (
|
|
9650
|
+
return e.type !== "image/svg+xml" ? (X.error("Avatar picture must be SVG format!"), !1) : e.size / 1024 / 1024 > 1 ? (X.error("Avatar picture size can not exceed 1MB!"), !1) : !0;
|
|
9649
9651
|
},
|
|
9650
9652
|
async handleCardPreview(e) {
|
|
9651
9653
|
this.dialogImageUrl = e.url, this.dialogVisible = !0;
|
|
@@ -9666,8 +9668,8 @@ const Qr = /* @__PURE__ */ R(Jr, [["render", Zr], ["__scopeId", "data-v-36741146
|
|
|
9666
9668
|
}
|
|
9667
9669
|
}), Xr = ["src"];
|
|
9668
9670
|
function _r(e, i, t, l, r, c) {
|
|
9669
|
-
const s = J("Plus"), u =
|
|
9670
|
-
return o(), d(
|
|
9671
|
+
const s = J("Plus"), u = re, p = Ie, g = qe, y = M;
|
|
9672
|
+
return o(), d(y, {
|
|
9671
9673
|
"build-rules": e.rules,
|
|
9672
9674
|
field: e.field,
|
|
9673
9675
|
builder: e.builder,
|
|
@@ -9684,7 +9686,7 @@ function _r(e, i, t, l, r, c) {
|
|
|
9684
9686
|
ref: "fieldEditor",
|
|
9685
9687
|
action: "#",
|
|
9686
9688
|
"auto-upload": !1,
|
|
9687
|
-
class:
|
|
9689
|
+
class: v([{ hideUploadDiv: e.uploadBtnHidden }, "avatar-uploader"]),
|
|
9688
9690
|
disabled: e.field.options.disabled || !!e.builderStatus,
|
|
9689
9691
|
"list-type": "picture-card",
|
|
9690
9692
|
"file-list": e.fileList,
|
|
@@ -9754,7 +9756,7 @@ const xr = /* @__PURE__ */ R(Yr, [["render", _r], ["__scopeId", "data-v-46c91e56
|
|
|
9754
9756
|
}
|
|
9755
9757
|
});
|
|
9756
9758
|
function td(e, i, t, l, r, c) {
|
|
9757
|
-
const s =
|
|
9759
|
+
const s = Pi, u = U, p = E;
|
|
9758
9760
|
return o(), d(p, {
|
|
9759
9761
|
"build-rules": e.rules,
|
|
9760
9762
|
field: e.field,
|
|
@@ -9771,11 +9773,11 @@ function td(e, i, t, l, r, c) {
|
|
|
9771
9773
|
(o(), h("div", {
|
|
9772
9774
|
ref: "fieldEditor",
|
|
9773
9775
|
key: e.field.id,
|
|
9774
|
-
class:
|
|
9776
|
+
class: v({ paragraph: !!e.field.options.paragraph }),
|
|
9775
9777
|
style: j({ textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left", marginBottom: e.field.options.marginBottom + "px" })
|
|
9776
9778
|
}, [
|
|
9777
9779
|
S("span", {
|
|
9778
|
-
class:
|
|
9780
|
+
class: v([e.field.options.sizeClass ? e.field.options.sizeClass : "text-6"])
|
|
9779
9781
|
}, [
|
|
9780
9782
|
e.field.options.svgData ? (o(), h(F, { key: 0 }, [
|
|
9781
9783
|
e.field.options.svgValue ? (o(), d(s, {
|
|
@@ -9970,7 +9972,7 @@ function hd(e, i, t, l, r, c) {
|
|
|
9970
9972
|
"icon-name": e.field.options.prefixIcon,
|
|
9971
9973
|
class: "mr-1"
|
|
9972
9974
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
9973
|
-
e.field.options.prefixText ? (o(), h("span", pd,
|
|
9975
|
+
e.field.options.prefixText ? (o(), h("span", pd, w(e.field.options.prefixText), 1)) : b("", !0)
|
|
9974
9976
|
]),
|
|
9975
9977
|
key: "0"
|
|
9976
9978
|
} : void 0,
|
|
@@ -9982,7 +9984,7 @@ function hd(e, i, t, l, r, c) {
|
|
|
9982
9984
|
"icon-name": e.field.options.suffixIcon
|
|
9983
9985
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
9984
9986
|
i[1] || (i[1] = L()),
|
|
9985
|
-
e.field.options.suffixText ? (o(), h("span", md,
|
|
9987
|
+
e.field.options.suffixText ? (o(), h("span", md, w(e.field.options.suffixText), 1)) : b("", !0)
|
|
9986
9988
|
]),
|
|
9987
9989
|
key: "1"
|
|
9988
9990
|
} : void 0
|
|
@@ -10033,7 +10035,7 @@ const cd = /* @__PURE__ */ R(ud, [["render", hd]]), bd = /* @__PURE__ */ Object.
|
|
|
10033
10035
|
}
|
|
10034
10036
|
});
|
|
10035
10037
|
function Fd(e, i, t, l, r, c) {
|
|
10036
|
-
const s = U, u = G, p =
|
|
10038
|
+
const s = U, u = G, p = fe, g = M;
|
|
10037
10039
|
return o(), d(g, {
|
|
10038
10040
|
"build-rules": e.rules,
|
|
10039
10041
|
field: e.field,
|
|
@@ -10050,7 +10052,7 @@ function Fd(e, i, t, l, r, c) {
|
|
|
10050
10052
|
m(p, {
|
|
10051
10053
|
ref: "fieldEditor",
|
|
10052
10054
|
modelValue: e.fieldValue,
|
|
10053
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
10055
|
+
"onUpdate:modelValue": i[0] || (i[0] = (y) => e.fieldValue = y),
|
|
10054
10056
|
disabled: e.field.options.disabled,
|
|
10055
10057
|
readonly: e.field.options.readonly,
|
|
10056
10058
|
size: e.widgetSize,
|
|
@@ -10077,7 +10079,7 @@ function Fd(e, i, t, l, r, c) {
|
|
|
10077
10079
|
e.field.options.prefixText ? {
|
|
10078
10080
|
name: "prepend",
|
|
10079
10081
|
fn: a(() => [
|
|
10080
|
-
L(
|
|
10082
|
+
L(w(e.field.options.prefixText), 1)
|
|
10081
10083
|
]),
|
|
10082
10084
|
key: "0"
|
|
10083
10085
|
} : void 0,
|
|
@@ -10085,7 +10087,7 @@ function Fd(e, i, t, l, r, c) {
|
|
|
10085
10087
|
name: "append",
|
|
10086
10088
|
fn: a(() => [
|
|
10087
10089
|
!e.field.options.appendButton && e.field.options.suffixText ? (o(), h(F, { key: 0 }, [
|
|
10088
|
-
L(
|
|
10090
|
+
L(w(e.field.options.suffixText), 1)
|
|
10089
10091
|
], 64)) : (o(), d(u, {
|
|
10090
10092
|
key: 1,
|
|
10091
10093
|
disabled: e.field.options.disabled || e.field.options.appendButtonDisabled,
|
|
@@ -10097,7 +10099,7 @@ function Fd(e, i, t, l, r, c) {
|
|
|
10097
10099
|
"icon-name": e.field.options.buttonIcon,
|
|
10098
10100
|
class: "mr-1"
|
|
10099
10101
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
10100
|
-
L(" " +
|
|
10102
|
+
L(" " + w(e.field.options.suffixText), 1)
|
|
10101
10103
|
]),
|
|
10102
10104
|
_: 1
|
|
10103
10105
|
}, 8, ["disabled", "onClick"]))
|
|
@@ -10165,7 +10167,7 @@ function Cd(e, i, t, l, r, c) {
|
|
|
10165
10167
|
(o(), h("div", {
|
|
10166
10168
|
ref: "fieldEditor",
|
|
10167
10169
|
key: e.field.id,
|
|
10168
|
-
class:
|
|
10170
|
+
class: v({ paragraph: !!e.field.options.paragraph }),
|
|
10169
10171
|
style: j([{ display: "flex" }, { textAlign: e.field.options.textAlign ? e.field.options.textAlign : "left", marginBottom: e.field.options.marginBottom + "px" }])
|
|
10170
10172
|
}, [
|
|
10171
10173
|
e.field.options.labelIconClass && e.field.options.labelIconPosition === "front" ? (o(), h(F, { key: 0 }, [
|
|
@@ -10188,10 +10190,10 @@ function Cd(e, i, t, l, r, c) {
|
|
|
10188
10190
|
truncated: e.field.options.wrapText ? void 0 : !0,
|
|
10189
10191
|
"line-clamp": e.field.options.wrapText ? e.field.options.wrapText : void 0,
|
|
10190
10192
|
style: j({ fontSize: e.field.options.fontSize + "px", color: e.field.options.fontColor }),
|
|
10191
|
-
class:
|
|
10193
|
+
class: v({ underline: !!e.field.options.underline, bold: !!e.field.options.bold, italic: !!e.field.options.italic })
|
|
10192
10194
|
}, {
|
|
10193
10195
|
default: a(() => [
|
|
10194
|
-
L(
|
|
10196
|
+
L(w(e.field.options.content), 1)
|
|
10195
10197
|
]),
|
|
10196
10198
|
_: 1
|
|
10197
10199
|
}, 8, ["truncated", "line-clamp", "style", "class"]),
|
|
@@ -10255,7 +10257,7 @@ const Id = /* @__PURE__ */ R(wd, [["render", Cd], ["__scopeId", "data-v-b76cd20b
|
|
|
10255
10257
|
}
|
|
10256
10258
|
});
|
|
10257
10259
|
function Md(e, i, t, l, r, c) {
|
|
10258
|
-
const s =
|
|
10260
|
+
const s = fe, u = M;
|
|
10259
10261
|
return o(), d(u, {
|
|
10260
10262
|
"build-rules": e.rules,
|
|
10261
10263
|
field: e.field,
|
|
@@ -10332,7 +10334,7 @@ const Od = /* @__PURE__ */ R(Rd, [["render", Md]]), kd = /* @__PURE__ */ Object.
|
|
|
10332
10334
|
}
|
|
10333
10335
|
});
|
|
10334
10336
|
function $d(e, i, t, l, r, c) {
|
|
10335
|
-
const s =
|
|
10337
|
+
const s = Qe, u = M;
|
|
10336
10338
|
return o(), d(u, {
|
|
10337
10339
|
"build-rules": e.rules,
|
|
10338
10340
|
field: e.field,
|
|
@@ -10347,13 +10349,13 @@ function $d(e, i, t, l, r, c) {
|
|
|
10347
10349
|
}, {
|
|
10348
10350
|
default: a(() => [
|
|
10349
10351
|
S("div", {
|
|
10350
|
-
class:
|
|
10352
|
+
class: v([e.field.options.autoFullWidth ? "auto-full-width" : ""])
|
|
10351
10353
|
}, [
|
|
10352
10354
|
m(s, {
|
|
10353
10355
|
ref: "fieldEditor",
|
|
10354
10356
|
modelValue: e.fieldValue,
|
|
10355
10357
|
"onUpdate:modelValue": i[0] || (i[0] = (p) => e.fieldValue = p),
|
|
10356
|
-
class:
|
|
10358
|
+
class: v([e.field.options.autoFullWidth ? "auto-full-width" : ""]),
|
|
10357
10359
|
disabled: e.field.options.disabled,
|
|
10358
10360
|
readonly: e.field.options.readonly,
|
|
10359
10361
|
size: e.widgetSize,
|
|
@@ -10411,7 +10413,7 @@ const Ld = /* @__PURE__ */ R(Pd, [["render", $d], ["__scopeId", "data-v-cdf76f9a
|
|
|
10411
10413
|
}
|
|
10412
10414
|
});
|
|
10413
10415
|
function Dd(e, i, t, l, r, c) {
|
|
10414
|
-
const s =
|
|
10416
|
+
const s = Qe, u = M;
|
|
10415
10417
|
return o(), d(u, {
|
|
10416
10418
|
"build-rules": e.rules,
|
|
10417
10419
|
field: e.field,
|
|
@@ -10430,7 +10432,7 @@ function Dd(e, i, t, l, r, c) {
|
|
|
10430
10432
|
"is-range": "",
|
|
10431
10433
|
modelValue: e.fieldValue,
|
|
10432
10434
|
"onUpdate:modelValue": i[0] || (i[0] = (p) => e.fieldValue = p),
|
|
10433
|
-
class:
|
|
10435
|
+
class: v([e.field.options.autoFullWidth ? "full-width-input" : ""]),
|
|
10434
10436
|
disabled: e.field.options.disabled,
|
|
10435
10437
|
readonly: e.field.options.readonly,
|
|
10436
10438
|
size: e.widgetSize,
|
|
@@ -10540,13 +10542,13 @@ function Ud(e, i, t, l, r, c) {
|
|
|
10540
10542
|
}, {
|
|
10541
10543
|
default: a(() => [
|
|
10542
10544
|
S("div", {
|
|
10543
|
-
class:
|
|
10545
|
+
class: v([e.field.options.autoFullWidth ? "auto-full-width" : ""])
|
|
10544
10546
|
}, [
|
|
10545
10547
|
m(s, {
|
|
10546
10548
|
ref: "fieldEditor",
|
|
10547
10549
|
modelValue: e.fieldValue,
|
|
10548
10550
|
"onUpdate:modelValue": i[0] || (i[0] = (p) => e.fieldValue = p),
|
|
10549
|
-
class:
|
|
10551
|
+
class: v([e.field.options.autoFullWidth ? "auto-full-width" : ""]),
|
|
10550
10552
|
disabled: e.field.options.disabled,
|
|
10551
10553
|
readonly: e.field.options.readonly,
|
|
10552
10554
|
size: e.widgetSize,
|
|
@@ -10615,7 +10617,7 @@ const Bd = /* @__PURE__ */ R(zd, [["render", Ud], ["__scopeId", "data-v-365dcbe8
|
|
|
10615
10617
|
}
|
|
10616
10618
|
});
|
|
10617
10619
|
function Hd(e, i, t, l, r, c) {
|
|
10618
|
-
const s = U, u = G, p =
|
|
10620
|
+
const s = U, u = G, p = me, g = vt, y = yt, $ = E;
|
|
10619
10621
|
return o(), d($, {
|
|
10620
10622
|
"build-rules": e.rules,
|
|
10621
10623
|
field: e.field,
|
|
@@ -10648,7 +10650,7 @@ function Hd(e, i, t, l, r, c) {
|
|
|
10648
10650
|
key: 0,
|
|
10649
10651
|
"icon-name": e.field.options.prefixIcon
|
|
10650
10652
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
10651
|
-
S("span", null,
|
|
10653
|
+
S("span", null, w(e.field.options.label), 1),
|
|
10652
10654
|
e.field.options.suffixIcon ? (o(), d(s, {
|
|
10653
10655
|
key: 1,
|
|
10654
10656
|
"icon-name": e.field.options.suffixIcon,
|
|
@@ -10657,7 +10659,7 @@ function Hd(e, i, t, l, r, c) {
|
|
|
10657
10659
|
]),
|
|
10658
10660
|
_: 1
|
|
10659
10661
|
}, 8, ["disabled", "type", "size", "plain", "round", "circle"]),
|
|
10660
|
-
m(
|
|
10662
|
+
m(y, {
|
|
10661
10663
|
modelValue: e.field.options.open,
|
|
10662
10664
|
"onUpdate:modelValue": i[1] || (i[1] = (n) => e.field.options.open = n),
|
|
10663
10665
|
mask: !!e.field.options.maskTour,
|
|
@@ -10687,7 +10689,7 @@ function Hd(e, i, t, l, r, c) {
|
|
|
10687
10689
|
e.field.options.indicators ? {
|
|
10688
10690
|
name: "indicators",
|
|
10689
10691
|
fn: a(({ current: n, total: f }) => [
|
|
10690
|
-
S("span", null,
|
|
10692
|
+
S("span", null, w(n + 1) + " / " + w(f), 1)
|
|
10691
10693
|
]),
|
|
10692
10694
|
key: "0"
|
|
10693
10695
|
} : void 0
|
|
@@ -10701,13 +10703,13 @@ const Wd = /* @__PURE__ */ R(Nd, [["render", Hd], ["__scopeId", "data-v-3b7d1475
|
|
|
10701
10703
|
__proto__: null,
|
|
10702
10704
|
default: Wd
|
|
10703
10705
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10704
|
-
function
|
|
10706
|
+
function Ee() {
|
|
10705
10707
|
return {
|
|
10706
10708
|
fields: [],
|
|
10707
|
-
formConfig: D(
|
|
10709
|
+
formConfig: D(Gd())
|
|
10708
10710
|
};
|
|
10709
10711
|
}
|
|
10710
|
-
function
|
|
10712
|
+
function Gd() {
|
|
10711
10713
|
return {
|
|
10712
10714
|
modelName: "formData",
|
|
10713
10715
|
refName: "sdForm",
|
|
@@ -10728,69 +10730,29 @@ function Jd() {
|
|
|
10728
10730
|
onFormUnmounted: ""
|
|
10729
10731
|
};
|
|
10730
10732
|
}
|
|
10731
|
-
const
|
|
10732
|
-
(function(e, i) {
|
|
10733
|
-
const t = me, l = e();
|
|
10734
|
-
for (; ; )
|
|
10735
|
-
try {
|
|
10736
|
-
if (-parseInt(t(374)) / 1 + parseInt(t(381)) / 2 * (-parseInt(t(388)) / 3) + -parseInt(t(385)) / 4 + -parseInt(t(387)) / 5 + -parseInt(t(391)) / 6 * (-parseInt(t(378)) / 7) + parseInt(t(394)) / 8 * (-parseInt(t(395)) / 9) + -parseInt(t(386)) / 10 * (-parseInt(t(377)) / 11) === i) break;
|
|
10737
|
-
l.push(l.shift());
|
|
10738
|
-
} catch {
|
|
10739
|
-
l.push(l.shift());
|
|
10740
|
-
}
|
|
10741
|
-
})(he, 197139);
|
|
10742
|
-
function me(e, i) {
|
|
10743
|
-
const t = he();
|
|
10744
|
-
return me = function(l, r) {
|
|
10745
|
-
return l = l - 374, t[l];
|
|
10746
|
-
}, me(e, i);
|
|
10747
|
-
}
|
|
10748
|
-
li(376);
|
|
10749
|
-
function he() {
|
|
10750
|
-
const e = [
|
|
10751
|
-
"form_license",
|
|
10752
|
-
"111432QKgdhe",
|
|
10753
|
-
"207lCstSc",
|
|
10754
|
-
"386685PzbgAY",
|
|
10755
|
-
"_id",
|
|
10756
|
-
"659735jCebAb",
|
|
10757
|
-
"218757ajaqwQ",
|
|
10758
|
-
"165417iqprYp",
|
|
10759
|
-
"parse",
|
|
10760
|
-
"encrypt",
|
|
10761
|
-
"250btxjRv",
|
|
10762
|
-
"feature_token",
|
|
10763
|
-
"toString",
|
|
10764
|
-
"PKCS7",
|
|
10765
|
-
"166024wTBwHd",
|
|
10766
|
-
"740TVjKFb",
|
|
10767
|
-
"1659735jCebZX",
|
|
10768
|
-
"5223nVJpDZ",
|
|
10769
|
-
"decrypt",
|
|
10770
|
-
"CBC",
|
|
10771
|
-
"6LYeMyH",
|
|
10772
|
-
"form_feature"
|
|
10773
|
-
];
|
|
10774
|
-
return he = function() {
|
|
10775
|
-
return e;
|
|
10776
|
-
}, he();
|
|
10777
|
-
}
|
|
10778
|
-
const Zd = function(e, i) {
|
|
10779
|
-
const t = li;
|
|
10733
|
+
const Jd = async function(e, i) {
|
|
10780
10734
|
try {
|
|
10781
|
-
if (
|
|
10782
|
-
const
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10735
|
+
if (e) {
|
|
10736
|
+
const { key: t, iv: l, data: r } = e, c = await ne.post(
|
|
10737
|
+
`${i.host}/widget/sdform/gettoken`,
|
|
10738
|
+
{ data: t },
|
|
10739
|
+
{
|
|
10740
|
+
headers: {
|
|
10741
|
+
Authorization: `Bearer ${i.user?.token}`
|
|
10742
|
+
}
|
|
10743
|
+
}
|
|
10744
|
+
).then((y) => y.data && y.data.data ? y.data.data : {}).catch((y) => (y.response && y.response.data && y.response.data.message ? X.warning(y.response.data.message) : X.warning(y.message), {})), s = je(c), u = je(l), g = Ot.decrypt(r, s, { iv: u, mode: Pt.CBC, padding: kt.PKCS7 }).toString(xe.Utf8);
|
|
10745
|
+
return JSON.parse(g);
|
|
10746
|
+
}
|
|
10747
|
+
return {};
|
|
10790
10748
|
} catch {
|
|
10791
|
-
return
|
|
10749
|
+
return {};
|
|
10792
10750
|
}
|
|
10793
|
-
}
|
|
10751
|
+
};
|
|
10752
|
+
function je(e) {
|
|
10753
|
+
return xe.Hex.parse(e);
|
|
10754
|
+
}
|
|
10755
|
+
const Zd = I({
|
|
10794
10756
|
name: "SdFormRender",
|
|
10795
10757
|
emits: ["formChange"],
|
|
10796
10758
|
components: {
|
|
@@ -10866,7 +10828,7 @@ const Zd = function(e, i) {
|
|
|
10866
10828
|
onResetForm: !1,
|
|
10867
10829
|
showInput: !0,
|
|
10868
10830
|
parentDisable: !1,
|
|
10869
|
-
ProviderType:
|
|
10831
|
+
ProviderType: Oe,
|
|
10870
10832
|
useUserState: this.$props.userState,
|
|
10871
10833
|
showPopupFlag: !1,
|
|
10872
10834
|
readonlyParent: !1,
|
|
@@ -10874,9 +10836,10 @@ const Zd = function(e, i) {
|
|
|
10874
10836
|
backdropParent: !1,
|
|
10875
10837
|
formIdParent: this.sdform.joiner_field.joiner_enable && this.sdform.joiner_field.form_id !== "" ? D(this.sdform.joiner_field.form_id.value) : "",
|
|
10876
10838
|
dataIdParent: "",
|
|
10877
|
-
router:
|
|
10878
|
-
route:
|
|
10839
|
+
router: _e(),
|
|
10840
|
+
route: Xe(),
|
|
10879
10841
|
isDark: H(),
|
|
10842
|
+
copyClipboard: Vi,
|
|
10880
10843
|
loadedForm: !1,
|
|
10881
10844
|
subFormBindProps: {},
|
|
10882
10845
|
customParams: {},
|
|
@@ -10972,12 +10935,12 @@ const Zd = function(e, i) {
|
|
|
10972
10935
|
},
|
|
10973
10936
|
created() {
|
|
10974
10937
|
},
|
|
10975
|
-
mounted() {
|
|
10976
|
-
this.createForm();
|
|
10938
|
+
async mounted() {
|
|
10939
|
+
await this.createForm();
|
|
10977
10940
|
},
|
|
10978
10941
|
methods: {
|
|
10979
10942
|
subFormOpen(e) {
|
|
10980
|
-
this.showPopupFlag =
|
|
10943
|
+
this.showPopupFlag = Ue(e.modelValue) ? e.modelValue : !0;
|
|
10981
10944
|
const i = {
|
|
10982
10945
|
modelValue: this.showPopupFlag,
|
|
10983
10946
|
formId: this.formIdParent,
|
|
@@ -11002,8 +10965,8 @@ const Zd = function(e, i) {
|
|
|
11002
10965
|
if (this.loadedForm = !1, this.formRender)
|
|
11003
10966
|
this.formRenderModel = this.formRender;
|
|
11004
10967
|
else {
|
|
11005
|
-
const e =
|
|
11006
|
-
e ? this.formRenderModel = e.model : this.formRenderModel =
|
|
10968
|
+
const e = await Jd(this.sdform.form_model, this.userState);
|
|
10969
|
+
e ? e.model && e.id && e.id === this.sdform._id && e.register_id === this.userState.connectInfo?.register_id ? this.formRenderModel = e.model : (X.warning("Verify not found"), this.formRenderModel = Ee()) : this.formRenderModel = Ee();
|
|
11007
10970
|
}
|
|
11008
10971
|
this.buildFormModel(this.formRenderModel ? this.formRenderModel.fields : null), this.initFormRender();
|
|
11009
10972
|
},
|
|
@@ -11039,8 +11002,8 @@ const Zd = function(e, i) {
|
|
|
11039
11002
|
if (this.sdform.joiner_field.joiner_enable && this.formData[this.sdform.joiner_field.field_name] && (i = this.formData[this.sdform.joiner_field.field_name]), this.formDataModel[this.sdform.joiner_field.field_name]) {
|
|
11040
11003
|
let t = this.formData._id ? this.formData._id : "";
|
|
11041
11004
|
this.formDataModel.xparentx = this.formDataModel[this.sdform.joiner_field.field_name].value || null, e = this.formDataModel[this.sdform.joiner_field.field_name];
|
|
11042
|
-
const l = await
|
|
11043
|
-
l.data ? (this.showInput = !1,
|
|
11005
|
+
const l = await Ti(this.sdform.dataid, t, this.formDataModel, this.$data.useUserState);
|
|
11006
|
+
l.data ? (this.showInput = !1, X.warning(l.message)) : this.showInput = !0;
|
|
11044
11007
|
} else
|
|
11045
11008
|
this.formDataModel.xparentx = null, this.showInput = !1;
|
|
11046
11009
|
try {
|
|
@@ -11052,7 +11015,7 @@ const Zd = function(e, i) {
|
|
|
11052
11015
|
},
|
|
11053
11016
|
notify(e, i = "info", t = "Notification", l = 5e3) {
|
|
11054
11017
|
try {
|
|
11055
|
-
|
|
11018
|
+
Ye({
|
|
11056
11019
|
title: t,
|
|
11057
11020
|
type: i,
|
|
11058
11021
|
message: e,
|
|
@@ -11064,7 +11027,7 @@ const Zd = function(e, i) {
|
|
|
11064
11027
|
},
|
|
11065
11028
|
alert(e, i = "info", t = 4e3) {
|
|
11066
11029
|
try {
|
|
11067
|
-
|
|
11030
|
+
X({
|
|
11068
11031
|
grouping: !0,
|
|
11069
11032
|
type: i,
|
|
11070
11033
|
message: e,
|
|
@@ -11199,7 +11162,7 @@ const Zd = function(e, i) {
|
|
|
11199
11162
|
this.sdform.joiner_field && this.sdform.joiner_field.joiner_enable && (this.showInput = !1, this.annotated && this.disabled ? this.showInput = !0 : this.formDataModel[this.sdform.joiner_field.field_name] ? this.showInput = !0 : this.parentId != "" && this.parentInput.getDataOne(
|
|
11200
11163
|
{
|
|
11201
11164
|
providerId: this.sdform.joiner_field.form_id.value,
|
|
11202
|
-
providerType:
|
|
11165
|
+
providerType: Oe.FORM,
|
|
11203
11166
|
params: { id: this.parentId },
|
|
11204
11167
|
options: { where: "_id = CONVERT(:id, 'objectId')" }
|
|
11205
11168
|
},
|
|
@@ -11222,7 +11185,7 @@ const Zd = function(e, i) {
|
|
|
11222
11185
|
this.formId = "sdRender" + te(), e && this.insertCustomStyleAndScriptNode(), this.handleOnCreated(), this.addFieldValidateEventHandler(), this.registerFormToRefList();
|
|
11223
11186
|
},
|
|
11224
11187
|
insertCustomStyleAndScriptNode() {
|
|
11225
|
-
this.formConfig && this.formConfig.cssCode &&
|
|
11188
|
+
this.formConfig && this.formConfig.cssCode && ji(this.formConfig.cssCode, this.previewState ? "" : this.formId), this.formConfig && this.formConfig.functions && Di(this.formConfig.functions, this.previewState ? "" : this.formId);
|
|
11226
11189
|
},
|
|
11227
11190
|
addFieldChangeEventHandler() {
|
|
11228
11191
|
try {
|
|
@@ -11289,7 +11252,7 @@ const Zd = function(e, i) {
|
|
|
11289
11252
|
let i = [], t = null, l = (r, c) => {
|
|
11290
11253
|
r.options && r.options.name === e && (t = c.options.name);
|
|
11291
11254
|
};
|
|
11292
|
-
if (
|
|
11255
|
+
if (Ei(this.fields, l), t) {
|
|
11293
11256
|
let r = this.getFieldRef(t);
|
|
11294
11257
|
if (r) {
|
|
11295
11258
|
let c = r.getRowIdData();
|
|
@@ -11451,10 +11414,10 @@ const Zd = function(e, i) {
|
|
|
11451
11414
|
}));
|
|
11452
11415
|
},
|
|
11453
11416
|
getFieldInput() {
|
|
11454
|
-
return
|
|
11417
|
+
return Li(this.formRenderModel.fields);
|
|
11455
11418
|
},
|
|
11456
11419
|
getContainerFields() {
|
|
11457
|
-
return
|
|
11420
|
+
return $i(this.formRenderModel.fields);
|
|
11458
11421
|
},
|
|
11459
11422
|
addEC(e, i) {
|
|
11460
11423
|
this.externalComponents[e] = i;
|
|
@@ -11469,17 +11432,17 @@ const Zd = function(e, i) {
|
|
|
11469
11432
|
beforeUnmount() {
|
|
11470
11433
|
this.handleOnUnmounted();
|
|
11471
11434
|
}
|
|
11472
|
-
}), Kd = ["data-id"],
|
|
11435
|
+
}), Kd = ["data-id"], Qd = { style: { margin: "0px" } }, Yd = {
|
|
11473
11436
|
key: 2,
|
|
11474
11437
|
class: "widget-wrapper"
|
|
11475
|
-
},
|
|
11476
|
-
function
|
|
11477
|
-
const s = U, u = ee, p = G, g = zi,
|
|
11438
|
+
}, Xd = { key: 0 };
|
|
11439
|
+
function _d(e, i, t, l, r, c) {
|
|
11440
|
+
const s = U, u = ee, p = G, g = zi, y = we, $ = We, n = He, f = wt, k = Ui;
|
|
11478
11441
|
return o(), h(F, null, [
|
|
11479
11442
|
m(f, {
|
|
11480
11443
|
"label-position": e.labelPosition,
|
|
11481
11444
|
size: e.size,
|
|
11482
|
-
class:
|
|
11445
|
+
class: v([[e.customClass], "render-form"]),
|
|
11483
11446
|
"label-width": e.labelWidth,
|
|
11484
11447
|
"validate-on-rule-change": !1,
|
|
11485
11448
|
model: e.formDataModel,
|
|
@@ -11499,13 +11462,13 @@ function xd(e, i, t, l, r, c) {
|
|
|
11499
11462
|
"label-width": e.labelWidth,
|
|
11500
11463
|
size: e.size,
|
|
11501
11464
|
"label-position": e.labelPosition,
|
|
11502
|
-
class:
|
|
11465
|
+
class: v([e.labelAlign]),
|
|
11503
11466
|
required: "",
|
|
11504
11467
|
prop: e.sdform.joiner_field.field_name
|
|
11505
11468
|
}, {
|
|
11506
11469
|
label: a(() => [
|
|
11507
11470
|
S("span", null, [
|
|
11508
|
-
L(
|
|
11471
|
+
L(w(e.sdform.joiner_field.joiner_label) + " ", 1),
|
|
11509
11472
|
e.sdform.joiner_field.joiner_hint ? (o(), d(u, {
|
|
11510
11473
|
key: 0,
|
|
11511
11474
|
content: e.sdform.joiner_field.joiner_hint,
|
|
@@ -11588,7 +11551,7 @@ function xd(e, i, t, l, r, c) {
|
|
|
11588
11551
|
key: "0"
|
|
11589
11552
|
}
|
|
11590
11553
|
]), 1032, ["modelValue", "build-state", "placeholder", "disabled", "data-provider", "value-field", "search-field", "label-field", "ref-field", "label-template", "user-state", "style", "size", "onChange"]),
|
|
11591
|
-
e.annotated ? (o(), d(
|
|
11554
|
+
e.annotated ? (o(), d(y, {
|
|
11592
11555
|
key: 0,
|
|
11593
11556
|
type: "warning",
|
|
11594
11557
|
effect: "plain",
|
|
@@ -11596,7 +11559,7 @@ function xd(e, i, t, l, r, c) {
|
|
|
11596
11559
|
style: { position: "absolute", top: "0", right: "0", "z-index": "999" }
|
|
11597
11560
|
}, {
|
|
11598
11561
|
default: a(() => [
|
|
11599
|
-
L(
|
|
11562
|
+
L(w(e.sdform.joiner_field.field_name), 1)
|
|
11600
11563
|
]),
|
|
11601
11564
|
_: 1
|
|
11602
11565
|
})) : b("", !0)
|
|
@@ -11611,18 +11574,18 @@ function xd(e, i, t, l, r, c) {
|
|
|
11611
11574
|
style: { "margin-bottom": "15px" }
|
|
11612
11575
|
}, {
|
|
11613
11576
|
default: a(() => [
|
|
11614
|
-
S("ul",
|
|
11577
|
+
S("ul", Qd, [
|
|
11615
11578
|
(o(!0), h(F, null, T(e.formData.xerrorx, (V, ie) => (o(), h("li", null, [
|
|
11616
11579
|
S("b", null, [
|
|
11617
|
-
S("u", null,
|
|
11580
|
+
S("u", null, w(ie), 1)
|
|
11618
11581
|
]),
|
|
11619
|
-
L(" " +
|
|
11582
|
+
L(" " + w(V), 1)
|
|
11620
11583
|
]))), 256))
|
|
11621
11584
|
])
|
|
11622
11585
|
]),
|
|
11623
11586
|
_: 1
|
|
11624
11587
|
})) : b("", !0),
|
|
11625
|
-
e.showInput ? (o(), h("div",
|
|
11588
|
+
e.showInput ? (o(), h("div", Yd, [
|
|
11626
11589
|
(o(!0), h(F, null, T(e.fields, (V, ie) => (o(), h(F, null, [
|
|
11627
11590
|
V.category === "container" ? (o(), d(B(V.component + "-render"), {
|
|
11628
11591
|
field: V,
|
|
@@ -11645,19 +11608,19 @@ function xd(e, i, t, l, r, c) {
|
|
|
11645
11608
|
]),
|
|
11646
11609
|
_: 1
|
|
11647
11610
|
}, 8, ["label-position", "size", "class", "label-width", "model"]),
|
|
11648
|
-
e.showPopupFlag ? (o(), h("div",
|
|
11649
|
-
m(k,
|
|
11611
|
+
e.showPopupFlag ? (o(), h("div", Xd, [
|
|
11612
|
+
m(k, De({ ref: "refSubForm" }, e.subFormBindProps, {
|
|
11650
11613
|
"is-sub-form": !0,
|
|
11651
11614
|
"user-state": e.userState
|
|
11652
11615
|
}), null, 16, ["user-state"])
|
|
11653
11616
|
])) : b("", !0)
|
|
11654
11617
|
], 64);
|
|
11655
11618
|
}
|
|
11656
|
-
const
|
|
11619
|
+
const xd = /* @__PURE__ */ R(Zd, [["render", _d], ["__scopeId", "data-v-9bcd7ba8"]]), Vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11657
11620
|
__proto__: null,
|
|
11658
|
-
default:
|
|
11621
|
+
default: xd
|
|
11659
11622
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11660
11623
|
export {
|
|
11661
|
-
|
|
11662
|
-
|
|
11624
|
+
Vf as S,
|
|
11625
|
+
Tf as i
|
|
11663
11626
|
};
|