sd-render 1.2.1 → 1.2.3
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-CdzQnrjh.js → sd-lib-dHIV-L4J.js} +37 -11
- package/{sd-render-FK6Mjp-B.js → sd-render-CNzGzWA1.js} +209 -195
- package/sd-render.es.js +2 -2
- package/sd-render.style.css +1 -1
- package/types/src/components/form-render/form-field/alert-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/apexchart-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/autonumber-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/avatar-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/btn-editor-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/button-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/carousel-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/chart-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/checkbox-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/code-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/color-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/crop-upload-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/datagrid-form-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/datagrid-sql-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/date-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/date-range-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/divider-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/dropdown-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/dynamic-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/file-upload-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/group-list-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/html-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/html-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/icon-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/image-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/json-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/link-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/list-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/masked-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/multiple-date.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/number-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/objectid-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/picture-upload-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/progress-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/qrcode-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/radio-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/radio-text-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/rate-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/record-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/report-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/segmented-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/select-data-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/select-form-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/select-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/select-path-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/select-sql-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/side-menu-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/slider-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/statistic-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/step-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/svg-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/svg-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/switch-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/tags-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/text-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/text-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/textarea-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/time-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/time-range-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/time-select-input.vue.d.ts +1 -0
- package/types/src/components/form-render/form-field/tour-ui.vue.d.ts +1 -0
- package/types/src/components/form-render/mixins/CoreFieldMixin.d.ts +1 -0
- package/types/src/components/sdwidget/SdCrudGrid.vue.d.ts +9 -0
- package/types/src/components/sdwidget/SdUiCarousel.vue.d.ts +9 -0
- package/types/src/components/sdwidget/SdUiListView.vue.d.ts +9 -0
- package/types/src/components/sdwidget/SdUiMenu.vue.d.ts +9 -0
- package/types/src/components/sdwidget/SdUiRecordView.vue.d.ts +9 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as I, inject as N, createElementBlock as c, openBlock as o, normalizeClass as y, renderSlot as ye, createBlock as d, createCommentVNode as b, withCtx as a, createTextVNode as
|
|
2
|
-
import { a5 as M, a6 as si, a as U, a7 as Ve, a8 as D, a9 as C, aa as
|
|
3
|
-
import { ElTag as we, ElAffix as Ai, ElCard as Ne, ElTooltip as
|
|
1
|
+
import { defineComponent as I, inject as N, createElementBlock as c, openBlock as o, normalizeClass as y, renderSlot as ye, createBlock as d, createCommentVNode as b, withCtx as a, createTextVNode as L, toDisplayString as v, getCurrentInstance as li, withDirectives as Z, Fragment as F, renderList as T, resolveDynamicComponent as B, vShow as Q, resolveComponent as J, normalizeStyle as j, createSlots as K, createElementVNode as S, createVNode as m, mergeProps as De, computed as Y, useCssVars as Te, withModifiers as z, ref as R, nextTick as ni } from "vue";
|
|
2
|
+
import { a5 as M, a6 as si, a as U, a7 as Ve, a8 as D, a9 as C, aa as oe, ab as pe, ac as ri, ad as x, ae as di, af as ai, ag as fi, ah as ui, ai as ze, aj as pi, ak as mi, al as hi, am as ci, an as Ue, ao as Fe, ap as bi, aq as gi, h as Fi, ar as yi, p as Be, B as vi, g as wi, b as Ci, c as Ii, j as Ae, z as se, d as he, x as Si, C as Mi, e as Oi, E as Ri, as as le, n as ve, A as ki, D as $i, _ as Pi, at as Li, au as Ei, av as ji, aw as Di, ax as Ti, ay as Re, W as Vi, az as zi, aA as Ui, k as Bi } from "./sd-lib-dHIV-L4J.js";
|
|
3
|
+
import { ElTag as we, ElAffix as Ai, ElCard as Ne, ElTooltip as ie, ElIcon as re, ElCollapse as Ni, ElCollapseItem as Wi, ElCol as de, ElRow as ae, ElScrollbar as Hi, ElSpace as qi, ElButton as G, ElTabs as Gi, ElTabPane as Ji, ElAlert as We, ElFormItem as He, ElInput as fe, ElAvatar as Ki, ElDialog as qe, ElButtonGroup as Zi, ElPopconfirm as ue, ElBadge as Qi, ElCheckboxGroup as Yi, ElCheckboxButton as Xi, ElCheckbox as _i, ElColorPicker as xi, ElDatePicker as Ce, ElDivider as Ge, ElDropdown as et, ElDropdownMenu as it, ElDropdownItem as tt, ElUpload as Ie, ElAutocomplete as ot, ElImage as Je, ElLink as lt, ElInputNumber as nt, ElProgress as st, ElRadioGroup as Ke, ElRadioButton as rt, ElRadio as Ze, ElRate as dt, ElSegmented as at, ElSelect as ft, ElOption as ut, ElSlider as pt, ElStatistic as mt, ElSteps as ht, ElStep as ct, ElSwitch as bt, ElInputTag as gt, ElText as Ft, ElTimePicker as Qe, ElTimeSelect as yt, ElTour as vt, ElTourStep as wt, ElForm as Ct } from "element-plus/es";
|
|
4
4
|
import "element-plus/es/components/base/style/index";
|
|
5
5
|
import "element-plus/es/components/affix/style/index";
|
|
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 ee, ElMessageBox as _, ElNotification as Ye, ElLoading as It } 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";
|
|
@@ -85,8 +85,8 @@ import "element-plus/es/components/carousel-item/style/index";
|
|
|
85
85
|
import "element-plus/es/components/menu/style/index";
|
|
86
86
|
import "element-plus/es/components/sub-menu/style/index";
|
|
87
87
|
import "element-plus/es/components/menu-item/style/index";
|
|
88
|
-
import { AES as kt, pad as $t, mode as
|
|
89
|
-
import
|
|
88
|
+
import { AES as kt, pad as $t, mode as Pt, enc as xe } from "crypto-ts";
|
|
89
|
+
import Lt from "node-rsa";
|
|
90
90
|
const ce = /* @__PURE__ */ Object.assign({ "./affix-render.vue": () => Promise.resolve().then(() => At), "./card-render.vue": () => Promise.resolve().then(() => Gt), "./collapse-render.vue": () => Promise.resolve().then(() => Yt), "./grid-render.vue": () => Promise.resolve().then(() => to), "./object-group-render.vue": () => Promise.resolve().then(() => so), "./scrollbar-render.vue": () => Promise.resolve().then(() => uo), "./space-render.vue": () => Promise.resolve().then(() => co), "./sub-form-render.vue": () => Promise.resolve().then(() => Co), "./tab-render.vue": () => Promise.resolve().then(() => Ro), "./table-render.vue": () => Promise.resolve().then(() => Do) }), Et = {
|
|
91
91
|
install(e) {
|
|
92
92
|
for (const i in ce)
|
|
@@ -95,7 +95,7 @@ const ce = /* @__PURE__ */ Object.assign({ "./affix-render.vue": () => Promise.r
|
|
|
95
95
|
l && e.component(l, t.default);
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
-
}, be = /* @__PURE__ */ Object.assign({ "./alert-ui.vue": () => Promise.resolve().then(() => qo), "./apexchart-ui.vue": () => Promise.resolve().then(() => Zo), "./autonumber-input.vue": () => Promise.resolve().then(() => nl), "./avatar-ui.vue": () => Promise.resolve().then(() => al), "./btn-editor-input.vue": () => Promise.resolve().then(() => bl), "./button-ui.vue": () => Promise.resolve().then(() => vl), "./carousel-ui.vue": () => Promise.resolve().then(() => Sl), "./chart-ui.vue": () => Promise.resolve().then(() => kl), "./checkbox-input.vue": () => Promise.resolve().then(() => El), "./code-input.vue": () => Promise.resolve().then(() => Vl), "./color-input.vue": () => Promise.resolve().then(() => Al), "./crop-upload-input.vue": () => Promise.resolve().then(() => ql), "./datagrid-form-ui.vue": () => Promise.resolve().then(() => Zl), "./datagrid-sql-ui.vue": () => Promise.resolve().then(() => _l), "./date-input.vue": () => Promise.resolve().then(() => on), "./date-range-input.vue": () => Promise.resolve().then(() => rn), "./divider-ui.vue": () => Promise.resolve().then(() => un), "./dropdown-ui.vue": () => Promise.resolve().then(() => cn), "./dynamic-input.vue": () => Promise.resolve().then(() => yn), "./file-upload-input.vue": () => Promise.resolve().then(() => $n), "./group-list-input.vue": () => Promise.resolve().then(() => jn), "./html-input.vue": () => Promise.resolve().then(() => zn), "./html-ui.vue": () => Promise.resolve().then(() => Nn), "./icon-input.vue": () => Promise.resolve().then(() => Gn), "./image-ui.vue": () => Promise.resolve().then(() => Yn), "./json-input.vue": () => Promise.resolve().then(() => es), "./link-ui.vue": () => Promise.resolve().then(() => ls), "./list-ui.vue": () => Promise.resolve().then(() => ds), "./masked-input.vue": () => Promise.resolve().then(() => ms), "./multiple-date.vue": () => Promise.resolve().then(() => gs), "./number-input.vue": () => Promise.resolve().then(() => Is), "./objectid-input.vue": () => Promise.resolve().then(() => Rs), "./picture-upload-input.vue": () => Promise.resolve().then(() => Vs), "./progress-ui.vue": () => Promise.resolve().then(() => As), "./qrcode-ui.vue": () => Promise.resolve().then(() => qs), "./radio-input.vue": () => Promise.resolve().then(() => Zs), "./radio-text-input.vue": () => Promise.resolve().then(() => _s), "./rate-input.vue": () => Promise.resolve().then(() => tr), "./record-ui.vue": () => Promise.resolve().then(() => sr), "./report-ui.vue": () => Promise.resolve().then(() => fr), "./segmented-ui.vue": () => Promise.resolve().then(() => hr), "./select-data-input.vue": () => Promise.resolve().then(() => Fr), "./select-form-input.vue": () => Promise.resolve().then(() => Cr), "./select-input.vue": () => Promise.resolve().then(() => Or), "./select-path-input.vue": () => Promise.resolve().then(() =>
|
|
98
|
+
}, be = /* @__PURE__ */ Object.assign({ "./alert-ui.vue": () => Promise.resolve().then(() => qo), "./apexchart-ui.vue": () => Promise.resolve().then(() => Zo), "./autonumber-input.vue": () => Promise.resolve().then(() => nl), "./avatar-ui.vue": () => Promise.resolve().then(() => al), "./btn-editor-input.vue": () => Promise.resolve().then(() => bl), "./button-ui.vue": () => Promise.resolve().then(() => vl), "./carousel-ui.vue": () => Promise.resolve().then(() => Sl), "./chart-ui.vue": () => Promise.resolve().then(() => kl), "./checkbox-input.vue": () => Promise.resolve().then(() => El), "./code-input.vue": () => Promise.resolve().then(() => Vl), "./color-input.vue": () => Promise.resolve().then(() => Al), "./crop-upload-input.vue": () => Promise.resolve().then(() => ql), "./datagrid-form-ui.vue": () => Promise.resolve().then(() => Zl), "./datagrid-sql-ui.vue": () => Promise.resolve().then(() => _l), "./date-input.vue": () => Promise.resolve().then(() => on), "./date-range-input.vue": () => Promise.resolve().then(() => rn), "./divider-ui.vue": () => Promise.resolve().then(() => un), "./dropdown-ui.vue": () => Promise.resolve().then(() => cn), "./dynamic-input.vue": () => Promise.resolve().then(() => yn), "./file-upload-input.vue": () => Promise.resolve().then(() => $n), "./group-list-input.vue": () => Promise.resolve().then(() => jn), "./html-input.vue": () => Promise.resolve().then(() => zn), "./html-ui.vue": () => Promise.resolve().then(() => Nn), "./icon-input.vue": () => Promise.resolve().then(() => Gn), "./image-ui.vue": () => Promise.resolve().then(() => Yn), "./json-input.vue": () => Promise.resolve().then(() => es), "./link-ui.vue": () => Promise.resolve().then(() => ls), "./list-ui.vue": () => Promise.resolve().then(() => ds), "./masked-input.vue": () => Promise.resolve().then(() => ms), "./multiple-date.vue": () => Promise.resolve().then(() => gs), "./number-input.vue": () => Promise.resolve().then(() => Is), "./objectid-input.vue": () => Promise.resolve().then(() => Rs), "./picture-upload-input.vue": () => Promise.resolve().then(() => Vs), "./progress-ui.vue": () => Promise.resolve().then(() => As), "./qrcode-ui.vue": () => Promise.resolve().then(() => qs), "./radio-input.vue": () => Promise.resolve().then(() => Zs), "./radio-text-input.vue": () => Promise.resolve().then(() => _s), "./rate-input.vue": () => Promise.resolve().then(() => tr), "./record-ui.vue": () => Promise.resolve().then(() => sr), "./report-ui.vue": () => Promise.resolve().then(() => fr), "./segmented-ui.vue": () => Promise.resolve().then(() => hr), "./select-data-input.vue": () => Promise.resolve().then(() => Fr), "./select-form-input.vue": () => Promise.resolve().then(() => Cr), "./select-input.vue": () => Promise.resolve().then(() => Or), "./select-path-input.vue": () => Promise.resolve().then(() => Pr), "./select-sql-input.vue": () => Promise.resolve().then(() => Dr), "./side-menu-ui.vue": () => Promise.resolve().then(() => Ur), "./slider-input.vue": () => Promise.resolve().then(() => Wr), "./statistic-ui.vue": () => Promise.resolve().then(() => Xr), "./step-ui.vue": () => Promise.resolve().then(() => id), "./svg-input.vue": () => Promise.resolve().then(() => sd), "./svg-ui.vue": () => Promise.resolve().then(() => fd), "./switch-input.vue": () => Promise.resolve().then(() => bd), "./tags-input.vue": () => Promise.resolve().then(() => Cd), "./text-input.vue": () => Promise.resolve().then(() => Od), "./text-ui.vue": () => Promise.resolve().then(() => Pd), "./textarea-input.vue": () => Promise.resolve().then(() => Dd), "./time-input.vue": () => Promise.resolve().then(() => Ud), "./time-range-input.vue": () => Promise.resolve().then(() => Wd), "./time-select-input.vue": () => Promise.resolve().then(() => Jd), "./tour-ui.vue": () => Promise.resolve().then(() => Yd) }), jt = {
|
|
99
99
|
install(e) {
|
|
100
100
|
for (const i in be)
|
|
101
101
|
be[i] && be[i]().then((t) => {
|
|
@@ -140,7 +140,7 @@ function Vt(e, i, t, l, r, h) {
|
|
|
140
140
|
style: { position: "absolute", top: "-19px", right: "0", "z-index": "999" }
|
|
141
141
|
}, {
|
|
142
142
|
default: a(() => [
|
|
143
|
-
|
|
143
|
+
L(v(e.field.options.name), 1)
|
|
144
144
|
]),
|
|
145
145
|
_: 1
|
|
146
146
|
})) : b("", !0)
|
|
@@ -162,7 +162,7 @@ const A = /* @__PURE__ */ M(Tt, [["render", Vt]]), Se = I({
|
|
|
162
162
|
methods: {
|
|
163
163
|
alert(e, i = "info", t = 4e3) {
|
|
164
164
|
try {
|
|
165
|
-
|
|
165
|
+
ee({
|
|
166
166
|
grouping: !0,
|
|
167
167
|
type: i,
|
|
168
168
|
message: e,
|
|
@@ -487,13 +487,13 @@ const Bt = /* @__PURE__ */ M(zt, [["render", Ut], ["__scopeId", "data-v-b4c85525
|
|
|
487
487
|
class: "custom-label"
|
|
488
488
|
};
|
|
489
489
|
function Ht(e, i, t, l, r, h) {
|
|
490
|
-
const s = U, u =
|
|
490
|
+
const s = U, u = ie, p = J("arrow-down"), g = J("arrow-up"), w = re, P = Ne, n = A;
|
|
491
491
|
return o(), d(n, {
|
|
492
492
|
field: e.field,
|
|
493
493
|
style: { "margin-bottom": "15px" }
|
|
494
494
|
}, {
|
|
495
495
|
default: a(() => [
|
|
496
|
-
Z((o(), d(
|
|
496
|
+
Z((o(), d(P, {
|
|
497
497
|
key: e.field.id,
|
|
498
498
|
class: y(["card-container", [
|
|
499
499
|
e.field.options.folded ? "folded" : "",
|
|
@@ -553,18 +553,18 @@ function Ht(e, i, t, l, r, h) {
|
|
|
553
553
|
]),
|
|
554
554
|
_: 1
|
|
555
555
|
}, 8, ["content"]),
|
|
556
|
-
|
|
556
|
+
L(v(e.field.options.label), 1)
|
|
557
557
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
558
558
|
m(s, {
|
|
559
559
|
"icon-name": e.field.options.labelIconClass,
|
|
560
560
|
class: "mr-1",
|
|
561
561
|
size: "13px"
|
|
562
562
|
}, null, 8, ["icon-name"]),
|
|
563
|
-
|
|
563
|
+
L(v(e.field.options.label), 1)
|
|
564
564
|
], 64))
|
|
565
565
|
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
566
566
|
e.field.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
567
|
-
|
|
567
|
+
L(v(e.field.options.label), 1),
|
|
568
568
|
m(u, {
|
|
569
569
|
content: e.field.options.labelTooltip
|
|
570
570
|
}, {
|
|
@@ -578,7 +578,7 @@ function Ht(e, i, t, l, r, h) {
|
|
|
578
578
|
_: 1
|
|
579
579
|
}, 8, ["content"])
|
|
580
580
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
581
|
-
|
|
581
|
+
L(v(e.field.options.label), 1),
|
|
582
582
|
m(s, {
|
|
583
583
|
"icon-name": e.field.options.labelIconClass,
|
|
584
584
|
class: "ml-1",
|
|
@@ -675,8 +675,8 @@ function Zt(e, i, t, l, r, h) {
|
|
|
675
675
|
class: y([e.customClass])
|
|
676
676
|
}, {
|
|
677
677
|
default: a(() => [
|
|
678
|
-
(o(!0), c(F, null, T(e.visibleTabs, (w,
|
|
679
|
-
key:
|
|
678
|
+
(o(!0), c(F, null, T(e.visibleTabs, (w, P) => (o(), d(u, {
|
|
679
|
+
key: P,
|
|
680
680
|
title: w.options.label,
|
|
681
681
|
disabled: w.options.disabled,
|
|
682
682
|
name: w.options.name
|
|
@@ -1184,7 +1184,7 @@ const ho = /* @__PURE__ */ M(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1184
1184
|
this.rowIdData.splice(0, this.rowIdData.length);
|
|
1185
1185
|
let i = this.formModel[this.field.options.name];
|
|
1186
1186
|
i && i.length > 0 && (i.forEach(() => {
|
|
1187
|
-
this.rowIdData.push("id" +
|
|
1187
|
+
this.rowIdData.push("id" + oe());
|
|
1188
1188
|
}), e && setTimeout(() => {
|
|
1189
1189
|
this.handleSubFormRowChange(i);
|
|
1190
1190
|
}, 200));
|
|
@@ -1216,7 +1216,7 @@ const ho = /* @__PURE__ */ M(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1216
1216
|
},
|
|
1217
1217
|
cloneFieldSchema(e) {
|
|
1218
1218
|
let i = D(e);
|
|
1219
|
-
return i.id = e.component +
|
|
1219
|
+
return i.id = e.component + oe(), i;
|
|
1220
1220
|
},
|
|
1221
1221
|
initEventHandler() {
|
|
1222
1222
|
this.field.component === "sub-form" && this.on$("setFormData", (e) => {
|
|
@@ -1241,10 +1241,10 @@ const ho = /* @__PURE__ */ M(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1241
1241
|
}
|
|
1242
1242
|
},
|
|
1243
1243
|
addToRowIdData() {
|
|
1244
|
-
this.rowIdData.push("id" +
|
|
1244
|
+
this.rowIdData.push("id" + oe());
|
|
1245
1245
|
},
|
|
1246
1246
|
insertToRowIdData(e) {
|
|
1247
|
-
this.rowIdData.splice(e, 0, "id" +
|
|
1247
|
+
this.rowIdData.splice(e, 0, "id" + oe());
|
|
1248
1248
|
},
|
|
1249
1249
|
deleteFromRowIdData(e) {
|
|
1250
1250
|
this.rowIdData.splice(e, 1);
|
|
@@ -1369,8 +1369,8 @@ const ho = /* @__PURE__ */ M(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1369
1369
|
class: "row-number-span"
|
|
1370
1370
|
};
|
|
1371
1371
|
function vo(e, i, t, l, r, h) {
|
|
1372
|
-
const s = U, u = G, p = de, g = ae, w =
|
|
1373
|
-
return o(), d(
|
|
1372
|
+
const s = U, u = G, p = de, g = ae, w = ie, P = A;
|
|
1373
|
+
return o(), d(P, {
|
|
1374
1374
|
field: e.field,
|
|
1375
1375
|
style: { "margin-bottom": "15px" }
|
|
1376
1376
|
}, {
|
|
@@ -1465,18 +1465,18 @@ function vo(e, i, t, l, r, h) {
|
|
|
1465
1465
|
]),
|
|
1466
1466
|
_: 2
|
|
1467
1467
|
}, 1032, ["content"]),
|
|
1468
|
-
|
|
1468
|
+
L(v(n.options.label), 1)
|
|
1469
1469
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
1470
1470
|
m(s, {
|
|
1471
1471
|
"icon-name": n.options.labelIconClass,
|
|
1472
1472
|
class: "mr-1",
|
|
1473
1473
|
size: "13px"
|
|
1474
1474
|
}, null, 8, ["icon-name"]),
|
|
1475
|
-
|
|
1475
|
+
L(v(n.options.label), 1)
|
|
1476
1476
|
], 64))
|
|
1477
1477
|
], 64)) : n.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
1478
1478
|
n.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
1479
|
-
|
|
1479
|
+
L(v(n.options.label), 1),
|
|
1480
1480
|
m(w, {
|
|
1481
1481
|
content: n.options.labelTooltip
|
|
1482
1482
|
}, {
|
|
@@ -1490,7 +1490,7 @@ function vo(e, i, t, l, r, h) {
|
|
|
1490
1490
|
_: 2
|
|
1491
1491
|
}, 1032, ["content"])
|
|
1492
1492
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
1493
|
-
|
|
1493
|
+
L(v(n.options.label), 1),
|
|
1494
1494
|
m(s, {
|
|
1495
1495
|
"icon-name": n.options.labelIconClass,
|
|
1496
1496
|
class: "ml-1",
|
|
@@ -1714,8 +1714,8 @@ function Mo(e, i, t, l, r, h) {
|
|
|
1714
1714
|
class: y([e.customClass])
|
|
1715
1715
|
}, {
|
|
1716
1716
|
default: a(() => [
|
|
1717
|
-
(o(!0), c(F, null, T(e.visibleTabs, (w,
|
|
1718
|
-
key:
|
|
1717
|
+
(o(!0), c(F, null, T(e.visibleTabs, (w, P) => (o(), d(u, {
|
|
1718
|
+
key: P,
|
|
1719
1719
|
label: w.options.label,
|
|
1720
1720
|
disabled: w.options.disabled,
|
|
1721
1721
|
name: w.options.name
|
|
@@ -1798,7 +1798,7 @@ const Oo = /* @__PURE__ */ M(Io, [["render", Mo], ["__scopeId", "data-v-d5481f2a
|
|
|
1798
1798
|
beforeUnmount() {
|
|
1799
1799
|
}
|
|
1800
1800
|
}), $o = ["colspan", "rowspan"];
|
|
1801
|
-
function
|
|
1801
|
+
function Po(e, i, t, l, r, h) {
|
|
1802
1802
|
return o(), c("td", {
|
|
1803
1803
|
class: y(["table-cell", [e.customClass]]),
|
|
1804
1804
|
colspan: e.field.options.colspan || 1,
|
|
@@ -1826,7 +1826,7 @@ function Lo(e, i, t, l, r, h) {
|
|
|
1826
1826
|
], 64))), 256))
|
|
1827
1827
|
], 14, $o);
|
|
1828
1828
|
}
|
|
1829
|
-
const ii = /* @__PURE__ */ M(ko, [["render",
|
|
1829
|
+
const ii = /* @__PURE__ */ M(ko, [["render", Po], ["__scopeId", "data-v-7cfc555a"]]), Lo = I({
|
|
1830
1830
|
name: "table-render",
|
|
1831
1831
|
typeName: "FormContainer",
|
|
1832
1832
|
components: {
|
|
@@ -1871,16 +1871,16 @@ function Eo(e, i, t, l, r, h) {
|
|
|
1871
1871
|
(o(!0), c(F, null, T(e.field.rows, (p, g) => (o(), c("tr", {
|
|
1872
1872
|
key: p.id
|
|
1873
1873
|
}, [
|
|
1874
|
-
(o(!0), c(F, null, T(p.cols, (w,
|
|
1874
|
+
(o(!0), c(F, null, T(p.cols, (w, P) => (o(), c(F, null, [
|
|
1875
1875
|
w.merged ? b("", !0) : (o(), d(s, {
|
|
1876
1876
|
field: w,
|
|
1877
|
-
key:
|
|
1877
|
+
key: P,
|
|
1878
1878
|
"parent-list": e.field.cols,
|
|
1879
|
-
"index-of-parent-list":
|
|
1879
|
+
"index-of-parent-list": P,
|
|
1880
1880
|
"parent-field": e.field,
|
|
1881
1881
|
"obj-group-name": e.objGroupName ? e.objGroupName : "",
|
|
1882
1882
|
"row-index": g,
|
|
1883
|
-
"col-index":
|
|
1883
|
+
"col-index": P
|
|
1884
1884
|
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-field", "obj-group-name", "row-index", "col-index"]))
|
|
1885
1885
|
], 64))), 256))
|
|
1886
1886
|
]))), 128))
|
|
@@ -1893,7 +1893,7 @@ function Eo(e, i, t, l, r, h) {
|
|
|
1893
1893
|
_: 1
|
|
1894
1894
|
}, 8, ["field"]);
|
|
1895
1895
|
}
|
|
1896
|
-
const jo = /* @__PURE__ */ M(
|
|
1896
|
+
const jo = /* @__PURE__ */ M(Lo, [["render", Eo], ["__scopeId", "data-v-9a38d6aa"]]), Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1897
1897
|
__proto__: null,
|
|
1898
1898
|
default: jo
|
|
1899
1899
|
}, Symbol.toStringTag, { value: "Module" })), ti = {
|
|
@@ -1946,7 +1946,7 @@ const jo = /* @__PURE__ */ M(Po, [["render", Eo], ["__scopeId", "data-v-9a38d6aa
|
|
|
1946
1946
|
methods: {
|
|
1947
1947
|
alert(e, i = "info", t = 4e3) {
|
|
1948
1948
|
try {
|
|
1949
|
-
|
|
1949
|
+
ee({
|
|
1950
1950
|
grouping: !0,
|
|
1951
1951
|
type: i,
|
|
1952
1952
|
message: e,
|
|
@@ -2204,8 +2204,8 @@ const E = /* @__PURE__ */ M(Me, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2204
2204
|
}
|
|
2205
2205
|
let r = l.split("").reverse().join(""), h = 0;
|
|
2206
2206
|
for (let g = 1; g < 13; g++) {
|
|
2207
|
-
let w = g + 1,
|
|
2208
|
-
h = h +
|
|
2207
|
+
let w = g + 1, P = Number(r.charAt(g)) * w;
|
|
2208
|
+
h = h + P;
|
|
2209
2209
|
}
|
|
2210
2210
|
let p = (11 - h % 11) % 10;
|
|
2211
2211
|
if (Number(r.charAt(0)) === p)
|
|
@@ -2264,20 +2264,23 @@ const E = /* @__PURE__ */ M(Me, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2264
2264
|
}
|
|
2265
2265
|
},
|
|
2266
2266
|
parentId() {
|
|
2267
|
-
let e = "", i = 0;
|
|
2268
|
-
const
|
|
2269
|
-
if (this.field.options.defaultFilterParent
|
|
2270
|
-
if (
|
|
2271
|
-
const
|
|
2272
|
-
if (this.fieldEditor && this.fieldEditor.getParentFormId && this.fieldEditor.getParentFormId ===
|
|
2273
|
-
return
|
|
2267
|
+
let e = "", i = "", t = 0;
|
|
2268
|
+
const l = this.getFormRef();
|
|
2269
|
+
if (this.field.options.defaultFilterParent) {
|
|
2270
|
+
if (l && l.sdform && !this.field.options.dependEnable) {
|
|
2271
|
+
const r = l.sdform._id ? l.sdform._id : null;
|
|
2272
|
+
if (this.fieldEditor && this.fieldEditor.getParentFormId && this.fieldEditor.getParentFormId === r)
|
|
2273
|
+
return l && l.formParams ? (t = l.formParams.xrstatx ? l.formParams.xrstatx : 0, i = l.formParams && l.formParams._id ? l.formParams._id : null) : (t = this.formParams && this.formParams.xrstatx ? this.formParams.xrstatx : 0, i = this.formParams && this.formParams._id ? this.formParams._id : null), e = l.formDataId, !this.builderStatus && e && i && (t ? this.show() : this.hide()), e;
|
|
2274
2274
|
}
|
|
2275
2275
|
} else if (this.field.options.parentPath)
|
|
2276
|
-
return
|
|
2276
|
+
return l && l.formParams ? (e = x(l.formParams, this.field.options.parentPath) || "", t = l.formParams.xrstatx ? l.formParams.xrstatx : 0, i = l.formParams && l.formParams._id ? l.formParams._id : null) : (e = x(this.formParams, this.field.options.parentPath) || "", t = this.formParams && this.formParams.xrstatx ? this.formParams.xrstatx : 0, i = this.formParams && this.formParams._id ? this.formParams._id : null), !this.builderStatus && e && i && (t ? this.show() : this.hide()), e;
|
|
2277
2277
|
return e;
|
|
2278
2278
|
},
|
|
2279
2279
|
params() {
|
|
2280
2280
|
return this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams : this.formParams ? this.formParams : {};
|
|
2281
|
+
},
|
|
2282
|
+
parentPath() {
|
|
2283
|
+
return !this.field.options.defaultFilterParent && this.field.options.parentPath ? this.field.options.parentPath : "";
|
|
2281
2284
|
}
|
|
2282
2285
|
},
|
|
2283
2286
|
inject: ["globalUserState"],
|
|
@@ -2311,7 +2314,7 @@ const E = /* @__PURE__ */ M(Me, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2311
2314
|
},
|
|
2312
2315
|
alert(e, i = "info", t = 4e3) {
|
|
2313
2316
|
try {
|
|
2314
|
-
|
|
2317
|
+
ee({
|
|
2315
2318
|
grouping: !0,
|
|
2316
2319
|
type: i,
|
|
2317
2320
|
message: e,
|
|
@@ -2537,7 +2540,7 @@ const E = /* @__PURE__ */ M(Me, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2537
2540
|
return Fe();
|
|
2538
2541
|
},
|
|
2539
2542
|
generateId() {
|
|
2540
|
-
return
|
|
2543
|
+
return oe();
|
|
2541
2544
|
},
|
|
2542
2545
|
isNull() {
|
|
2543
2546
|
return pe(this.getValue());
|
|
@@ -2573,7 +2576,7 @@ const E = /* @__PURE__ */ M(Me, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2573
2576
|
return di(e, i, t);
|
|
2574
2577
|
},
|
|
2575
2578
|
getObjectByPath(e, i) {
|
|
2576
|
-
return
|
|
2579
|
+
return x(e, i);
|
|
2577
2580
|
},
|
|
2578
2581
|
getQueryParam(e) {
|
|
2579
2582
|
return ri(e);
|
|
@@ -3184,13 +3187,13 @@ const Ko = /* @__PURE__ */ M(Go, [["render", Jo], ["__scopeId", "data-v-d1bf8e60
|
|
|
3184
3187
|
container: "#e6a23c"
|
|
3185
3188
|
};
|
|
3186
3189
|
return e.field.category != null ? f[e.field.category] : "#409EFF";
|
|
3187
|
-
}), t = N("getFormConfig"), l = N("annotated"), r = N("refList"), h = Y(() => t()), s = Y(() => !(r && r[e.field.options.name])), u = Y(() => e.field.options.labelHidden ? "" : e.field.options.label), p = Y(() => e.field.options.size != null ? e.field.options.size : e.builder.formConfig.size), g = Y(() => e.field.options.labelHidden ? 0 : e.field.options.labelWidth ? e.field.options.labelWidth : e.builder ? e.builder.formConfig.labelWidth : h.value.labelWidth), w = Y(() => e.field.options.labelAlign ? e.field.options.labelAlign : e.builder ? e.builder.formConfig.labelAlign || "label-left-align" : h.value.labelAlign || "label-left-align"),
|
|
3190
|
+
}), t = N("getFormConfig"), l = N("annotated"), r = N("refList"), h = Y(() => t()), s = Y(() => !(r && r[e.field.options.name])), u = Y(() => e.field.options.labelHidden ? "" : e.field.options.label), p = Y(() => e.field.options.size != null ? e.field.options.size : e.builder.formConfig.size), g = Y(() => e.field.options.labelHidden ? 0 : e.field.options.labelWidth ? e.field.options.labelWidth : e.builder ? e.builder.formConfig.labelWidth : h.value.labelWidth), w = Y(() => e.field.options.labelAlign ? e.field.options.labelAlign : e.builder ? e.builder.formConfig.labelAlign || "label-left-align" : h.value.labelAlign || "label-left-align"), P = Y(() => e.parentField ? e.parentField.options.name : ""), n = Y(() => e.parentField ? e.parentField.component === "sub-form" : !1);
|
|
3188
3191
|
return {
|
|
3189
3192
|
formConfig: h,
|
|
3190
3193
|
label: u,
|
|
3191
3194
|
labelWidth: g,
|
|
3192
3195
|
labelAlign: w,
|
|
3193
|
-
subFormName:
|
|
3196
|
+
subFormName: P,
|
|
3194
3197
|
subFormItemFlag: n,
|
|
3195
3198
|
widgetSize: p,
|
|
3196
3199
|
fieldColor: i,
|
|
@@ -3203,12 +3206,12 @@ const Ko = /* @__PURE__ */ M(Go, [["render", Jo], ["__scopeId", "data-v-d1bf8e60
|
|
|
3203
3206
|
return this.subFormItemFlag && !this.builderStatus ? this.subFormName + "." + this.subFormRowIndex + "." + this.field.options.name : this.field.options.name;
|
|
3204
3207
|
}
|
|
3205
3208
|
}
|
|
3206
|
-
}),
|
|
3209
|
+
}), Pe = () => {
|
|
3207
3210
|
Te((e) => ({
|
|
3208
3211
|
v44e8eb22: e.fieldColor
|
|
3209
3212
|
}));
|
|
3210
|
-
},
|
|
3211
|
-
Oe.setup =
|
|
3213
|
+
}, Le = Oe.setup;
|
|
3214
|
+
Oe.setup = Le ? (e, i) => (Pe(), Le(e, i)) : Pe;
|
|
3212
3215
|
const Qo = ["data-id"], Yo = {
|
|
3213
3216
|
key: 0,
|
|
3214
3217
|
class: "field-action"
|
|
@@ -3217,7 +3220,7 @@ const Qo = ["data-id"], Yo = {
|
|
|
3217
3220
|
class: "drag-handler background-opacity"
|
|
3218
3221
|
}, _o = { title: "Drag" }, xo = { key: 0 }, el = { key: 1 };
|
|
3219
3222
|
function il(e, i, t, l, r, h) {
|
|
3220
|
-
const s = U, u =
|
|
3223
|
+
const s = U, u = ie, p = we, g = He;
|
|
3221
3224
|
return o(), c("div", {
|
|
3222
3225
|
class: y(["field-wrapper", { "builder-time-bottom-margin": !!e.builder }]),
|
|
3223
3226
|
"data-id": e.field.options.name
|
|
@@ -3254,18 +3257,18 @@ function il(e, i, t, l, r, h) {
|
|
|
3254
3257
|
]),
|
|
3255
3258
|
_: 1
|
|
3256
3259
|
}, 8, ["content"]),
|
|
3257
|
-
|
|
3260
|
+
L(" " + v(e.label), 1)
|
|
3258
3261
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
3259
3262
|
m(s, {
|
|
3260
3263
|
"icon-name": e.field.options.labelIconClass,
|
|
3261
3264
|
class: "mr-1",
|
|
3262
3265
|
size: "13px"
|
|
3263
3266
|
}, null, 8, ["icon-name"]),
|
|
3264
|
-
|
|
3267
|
+
L(v(e.label), 1)
|
|
3265
3268
|
], 64))
|
|
3266
3269
|
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
3267
3270
|
e.field.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
3268
|
-
|
|
3271
|
+
L(v(e.label) + " ", 1),
|
|
3269
3272
|
m(u, {
|
|
3270
3273
|
content: e.field.options.labelTooltip
|
|
3271
3274
|
}, {
|
|
@@ -3279,7 +3282,7 @@ function il(e, i, t, l, r, h) {
|
|
|
3279
3282
|
_: 1
|
|
3280
3283
|
}, 8, ["content"])
|
|
3281
3284
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
3282
|
-
|
|
3285
|
+
L(v(e.label) + " ", 1),
|
|
3283
3286
|
m(s, {
|
|
3284
3287
|
"icon-name": e.field.options.labelIconClass,
|
|
3285
3288
|
class: "ml-1",
|
|
@@ -3304,7 +3307,7 @@ function il(e, i, t, l, r, h) {
|
|
|
3304
3307
|
style: { position: "absolute", top: "0", right: "0", "z-index": "999" }
|
|
3305
3308
|
}, {
|
|
3306
3309
|
default: a(() => [
|
|
3307
|
-
|
|
3310
|
+
L(v(e.field.options.name), 1)
|
|
3308
3311
|
]),
|
|
3309
3312
|
_: 1
|
|
3310
3313
|
})) : b("", !0)
|
|
@@ -3465,14 +3468,14 @@ function ol(e, i, t, l, r, h) {
|
|
|
3465
3468
|
e.field.options.prefixText ? {
|
|
3466
3469
|
name: "prepend",
|
|
3467
3470
|
fn: a(() => [
|
|
3468
|
-
|
|
3471
|
+
L(v(e.field.options.prefixText), 1)
|
|
3469
3472
|
]),
|
|
3470
3473
|
key: "0"
|
|
3471
3474
|
} : void 0,
|
|
3472
3475
|
e.field.options.suffixText ? {
|
|
3473
3476
|
name: "append",
|
|
3474
3477
|
fn: a(() => [
|
|
3475
|
-
|
|
3478
|
+
L(v(e.field.options.suffixText), 1)
|
|
3476
3479
|
]),
|
|
3477
3480
|
key: "1"
|
|
3478
3481
|
} : void 0,
|
|
@@ -3671,7 +3674,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3671
3674
|
"icon-name": "btn-editor",
|
|
3672
3675
|
class: "mr-1"
|
|
3673
3676
|
})),
|
|
3674
|
-
|
|
3677
|
+
L(" " + v(e.field.options.actionLabel ? e.field.options.actionLabel : "Edit"), 1)
|
|
3675
3678
|
]),
|
|
3676
3679
|
_: 1
|
|
3677
3680
|
}, 8, ["type", "onClick", "size", "disabled"]),
|
|
@@ -3679,7 +3682,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3679
3682
|
m(g, {
|
|
3680
3683
|
title: "Crop Picture",
|
|
3681
3684
|
modelValue: e.showPopupFlag,
|
|
3682
|
-
"onUpdate:modelValue": i[1] || (i[1] = (
|
|
3685
|
+
"onUpdate:modelValue": i[1] || (i[1] = (P) => e.showPopupFlag = P),
|
|
3683
3686
|
width: e.popupWidth,
|
|
3684
3687
|
"show-close": !1,
|
|
3685
3688
|
class: "dialog-grid dialog-form",
|
|
@@ -3688,7 +3691,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3688
3691
|
"close-on-press-escape": !1,
|
|
3689
3692
|
"destroy-on-close": !0
|
|
3690
3693
|
}, {
|
|
3691
|
-
header: a(({ close:
|
|
3694
|
+
header: a(({ close: P, titleId: n, titleClass: f }) => [
|
|
3692
3695
|
S("span", pl, v(e.field.options.label ? e.field.options.label : "Editor"), 1)
|
|
3693
3696
|
]),
|
|
3694
3697
|
footer: a(() => [
|
|
@@ -3698,7 +3701,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3698
3701
|
onClick: e.handleClose
|
|
3699
3702
|
}, {
|
|
3700
3703
|
default: a(() => [...i[2] || (i[2] = [
|
|
3701
|
-
|
|
3704
|
+
L("Close", -1)
|
|
3702
3705
|
])]),
|
|
3703
3706
|
_: 1
|
|
3704
3707
|
}, 8, ["onClick"])
|
|
@@ -3708,7 +3711,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3708
3711
|
m(p, {
|
|
3709
3712
|
ref: "fieldEditor",
|
|
3710
3713
|
modelValue: e.fieldValue,
|
|
3711
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
3714
|
+
"onUpdate:modelValue": i[0] || (i[0] = (P) => e.fieldValue = P),
|
|
3712
3715
|
size: e.widgetSize,
|
|
3713
3716
|
readonly: e.field.options.disabled || e.field.options.readonly,
|
|
3714
3717
|
"data-list": e.field.options.optionItems,
|
|
@@ -3778,8 +3781,8 @@ const cl = /* @__PURE__ */ M(fl, [["render", hl]]), bl = /* @__PURE__ */ Object.
|
|
|
3778
3781
|
}
|
|
3779
3782
|
});
|
|
3780
3783
|
function Fl(e, i, t, l, r, h) {
|
|
3781
|
-
const s = U, u = G, p = ue, g = Zi, w = Qi,
|
|
3782
|
-
return o(), d(
|
|
3784
|
+
const s = U, u = G, p = ue, g = Zi, w = Qi, P = E;
|
|
3785
|
+
return o(), d(P, {
|
|
3783
3786
|
"build-rules": e.rules,
|
|
3784
3787
|
field: e.field,
|
|
3785
3788
|
builder: e.builder,
|
|
@@ -4048,7 +4051,8 @@ const yl = /* @__PURE__ */ M(gl, [["render", Fl], ["__scopeId", "data-v-6ab688c8
|
|
|
4048
4051
|
});
|
|
4049
4052
|
function Cl(e, i, t, l, r, h) {
|
|
4050
4053
|
const s = vi, u = E;
|
|
4051
|
-
return o(), d(u, {
|
|
4054
|
+
return e.showWhenParent ? (o(), d(u, {
|
|
4055
|
+
key: 0,
|
|
4052
4056
|
"build-rules": e.rules,
|
|
4053
4057
|
field: e.field,
|
|
4054
4058
|
builder: e.builder,
|
|
@@ -4063,7 +4067,7 @@ function Cl(e, i, t, l, r, h) {
|
|
|
4063
4067
|
"sub-form-row-id": e.subFormRowId
|
|
4064
4068
|
}, {
|
|
4065
4069
|
default: a(() => [
|
|
4066
|
-
|
|
4070
|
+
(o(), d(s, {
|
|
4067
4071
|
ref: "fieldEditor",
|
|
4068
4072
|
key: e.field.id,
|
|
4069
4073
|
"form-id": e.field.options.formId,
|
|
@@ -4071,6 +4075,7 @@ function Cl(e, i, t, l, r, h) {
|
|
|
4071
4075
|
"data-provider": e.dataProvider,
|
|
4072
4076
|
"parent-id": e.parentId,
|
|
4073
4077
|
params: e.params,
|
|
4078
|
+
"parent-path": e.parentPath,
|
|
4074
4079
|
"icon-field": e.field.options.iconField || void 0,
|
|
4075
4080
|
"title-field": e.field.options.titleField || void 0,
|
|
4076
4081
|
"title-enable": !!e.field.options.titleEnable,
|
|
@@ -4094,12 +4099,12 @@ function Cl(e, i, t, l, r, h) {
|
|
|
4094
4099
|
"enable-ws": !!e.field.options.enableWs,
|
|
4095
4100
|
"user-state": e.globalUserState,
|
|
4096
4101
|
"build-state": e.builderStatus
|
|
4097
|
-
}, 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"]))
|
|
4102
|
+
}, null, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "parent-path", "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"]))
|
|
4098
4103
|
]),
|
|
4099
4104
|
_: 1
|
|
4100
|
-
}, 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"]);
|
|
4105
|
+
}, 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"])) : b("", !0);
|
|
4101
4106
|
}
|
|
4102
|
-
const Il = /* @__PURE__ */ M(wl, [["render", Cl], ["__scopeId", "data-v-
|
|
4107
|
+
const Il = /* @__PURE__ */ M(wl, [["render", Cl], ["__scopeId", "data-v-53fcc79d"]]), Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4103
4108
|
__proto__: null,
|
|
4104
4109
|
default: Il
|
|
4105
4110
|
}, Symbol.toStringTag, { value: "Module" })), Ml = I({
|
|
@@ -4246,9 +4251,9 @@ const Rl = /* @__PURE__ */ M(Ml, [["render", Ol], ["__scopeId", "data-v-c0f6576e
|
|
|
4246
4251
|
this.unregisterFromRefList();
|
|
4247
4252
|
}
|
|
4248
4253
|
});
|
|
4249
|
-
function
|
|
4250
|
-
const s = Xi, u = _i, p = de, g = ae, w = Yi,
|
|
4251
|
-
return o(), d(
|
|
4254
|
+
function Pl(e, i, t, l, r, h) {
|
|
4255
|
+
const s = Xi, u = _i, p = de, g = ae, w = Yi, P = O;
|
|
4256
|
+
return o(), d(P, {
|
|
4252
4257
|
"build-rules": e.rules,
|
|
4253
4258
|
field: e.field,
|
|
4254
4259
|
builder: e.builder,
|
|
@@ -4282,7 +4287,7 @@ function Ll(e, i, t, l, r, h) {
|
|
|
4282
4287
|
style: j({ display: e.field.options.displayStyle })
|
|
4283
4288
|
}, {
|
|
4284
4289
|
default: a(() => [
|
|
4285
|
-
|
|
4290
|
+
L(v(n.label), 1)
|
|
4286
4291
|
]),
|
|
4287
4292
|
_: 2
|
|
4288
4293
|
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(), c(F, { key: 1 }, [
|
|
@@ -4300,7 +4305,7 @@ function Ll(e, i, t, l, r, h) {
|
|
|
4300
4305
|
style: j({ display: e.field.options.displayStyle })
|
|
4301
4306
|
}, {
|
|
4302
4307
|
default: a(() => [
|
|
4303
|
-
|
|
4308
|
+
L(v(n.label), 1)
|
|
4304
4309
|
]),
|
|
4305
4310
|
_: 2
|
|
4306
4311
|
}, 1032, ["value", "disabled", "border", "style"]))
|
|
@@ -4317,7 +4322,7 @@ function Ll(e, i, t, l, r, h) {
|
|
|
4317
4322
|
style: j({ display: e.field.options.displayStyle })
|
|
4318
4323
|
}, {
|
|
4319
4324
|
default: a(() => [
|
|
4320
|
-
|
|
4325
|
+
L(v(n.label), 1)
|
|
4321
4326
|
]),
|
|
4322
4327
|
_: 2
|
|
4323
4328
|
}, 1032, ["value", "disabled", "border", "style"]))), 128))
|
|
@@ -4329,9 +4334,9 @@ function Ll(e, i, t, l, r, h) {
|
|
|
4329
4334
|
_: 1
|
|
4330
4335
|
}, 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"]);
|
|
4331
4336
|
}
|
|
4332
|
-
const
|
|
4337
|
+
const Ll = /* @__PURE__ */ M($l, [["render", Pl], ["__scopeId", "data-v-41c9d41a"]]), El = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4333
4338
|
__proto__: null,
|
|
4334
|
-
default:
|
|
4339
|
+
default: Ll
|
|
4335
4340
|
}, Symbol.toStringTag, { value: "Module" })), jl = I({
|
|
4336
4341
|
name: "code-input",
|
|
4337
4342
|
typeName: "FormField",
|
|
@@ -4796,8 +4801,9 @@ const Hl = /* @__PURE__ */ M(Nl, [["render", Wl], ["__scopeId", "data-v-28d9cfc6
|
|
|
4796
4801
|
}
|
|
4797
4802
|
});
|
|
4798
4803
|
function Jl(e, i, t, l, r, h) {
|
|
4799
|
-
const s = U, u = G, p = ue, g = se, w = Ae,
|
|
4800
|
-
return o(), d(
|
|
4804
|
+
const s = U, u = G, p = ue, g = se, w = Ae, P = E;
|
|
4805
|
+
return e.showWhenParent ? (o(), d(P, {
|
|
4806
|
+
key: 0,
|
|
4801
4807
|
"build-rules": e.rules,
|
|
4802
4808
|
field: e.field,
|
|
4803
4809
|
builder: e.builder,
|
|
@@ -4812,7 +4818,7 @@ function Jl(e, i, t, l, r, h) {
|
|
|
4812
4818
|
"sub-form-row-id": e.subFormRowId
|
|
4813
4819
|
}, {
|
|
4814
4820
|
default: a(() => [
|
|
4815
|
-
|
|
4821
|
+
(o(), d(w, {
|
|
4816
4822
|
ref: "fieldEditor",
|
|
4817
4823
|
key: e.field.id,
|
|
4818
4824
|
"form-id": e.field.options.formId,
|
|
@@ -4859,6 +4865,7 @@ function Jl(e, i, t, l, r, h) {
|
|
|
4859
4865
|
"allow-delete-func": e.field.options.allowDeleteFunc ? e.allowDeleteFunc : void 0,
|
|
4860
4866
|
"allow-clone-func": e.field.options.allowCloneFunc ? e.allowCloneFunc : void 0,
|
|
4861
4867
|
"enable-ws": !!e.field.options.enableWs,
|
|
4868
|
+
"parent-path": e.parentPath,
|
|
4862
4869
|
"insert-before": e.insertBefore,
|
|
4863
4870
|
"update-before": e.updateBefore,
|
|
4864
4871
|
"view-before": e.viewBefore,
|
|
@@ -5015,12 +5022,12 @@ function Jl(e, i, t, l, r, h) {
|
|
|
5015
5022
|
], 64))), 256)) : b("", !0)
|
|
5016
5023
|
]),
|
|
5017
5024
|
_: 1
|
|
5018
|
-
}, 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"]))
|
|
5025
|
+
}, 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", "parent-path", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
5019
5026
|
]),
|
|
5020
5027
|
_: 1
|
|
5021
|
-
}, 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"]);
|
|
5028
|
+
}, 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"])) : b("", !0);
|
|
5022
5029
|
}
|
|
5023
|
-
const Kl = /* @__PURE__ */ M(Gl, [["render", Jl], ["__scopeId", "data-v-
|
|
5030
|
+
const Kl = /* @__PURE__ */ M(Gl, [["render", Jl], ["__scopeId", "data-v-117a86b4"]]), Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5024
5031
|
__proto__: null,
|
|
5025
5032
|
default: Kl
|
|
5026
5033
|
}, Symbol.toStringTag, { value: "Module" })), Ql = I({
|
|
@@ -5167,8 +5174,8 @@ const Kl = /* @__PURE__ */ M(Gl, [["render", Jl], ["__scopeId", "data-v-07023ab6
|
|
|
5167
5174
|
}
|
|
5168
5175
|
});
|
|
5169
5176
|
function Yl(e, i, t, l, r, h) {
|
|
5170
|
-
const s = U, u = G, p = ue, g = se, w = Ae,
|
|
5171
|
-
return o(), d(
|
|
5177
|
+
const s = U, u = G, p = ue, g = se, w = Ae, P = E;
|
|
5178
|
+
return o(), d(P, {
|
|
5172
5179
|
"build-rules": e.rules,
|
|
5173
5180
|
field: e.field,
|
|
5174
5181
|
builder: e.builder,
|
|
@@ -5572,7 +5579,7 @@ function an(e, i, t, l, r, h) {
|
|
|
5572
5579
|
"content-position": e.field.options.contentPosition
|
|
5573
5580
|
}, {
|
|
5574
5581
|
default: a(() => [
|
|
5575
|
-
|
|
5582
|
+
L(v(e.field.options.label), 1)
|
|
5576
5583
|
]),
|
|
5577
5584
|
_: 1
|
|
5578
5585
|
}, 8, ["content-position"]))
|
|
@@ -5623,7 +5630,7 @@ const fn = /* @__PURE__ */ M(dn, [["render", an]]), un = /* @__PURE__ */ Object.
|
|
|
5623
5630
|
}
|
|
5624
5631
|
});
|
|
5625
5632
|
function mn(e, i, t, l, r, h) {
|
|
5626
|
-
const s = U, u = J("arrow-down"), p = re, g = G, w = tt,
|
|
5633
|
+
const s = U, u = J("arrow-down"), p = re, g = G, w = tt, P = it, n = et, f = E;
|
|
5627
5634
|
return o(), d(f, {
|
|
5628
5635
|
"build-rules": e.rules,
|
|
5629
5636
|
field: e.field,
|
|
@@ -5651,7 +5658,7 @@ function mn(e, i, t, l, r, h) {
|
|
|
5651
5658
|
disabled: !!e.field.options.disabled
|
|
5652
5659
|
}, {
|
|
5653
5660
|
dropdown: a(() => [
|
|
5654
|
-
e.field.options.menuList && Object.keys(e.field.options.menuList).length > 0 ? (o(), d(
|
|
5661
|
+
e.field.options.menuList && Object.keys(e.field.options.menuList).length > 0 ? (o(), d(P, { key: 0 }, {
|
|
5655
5662
|
default: a(() => [
|
|
5656
5663
|
(o(!0), c(F, null, T(e.field.options.menuList, (k, V) => (o(), d(w, {
|
|
5657
5664
|
command: k.command,
|
|
@@ -5663,7 +5670,7 @@ function mn(e, i, t, l, r, h) {
|
|
|
5663
5670
|
key: 0,
|
|
5664
5671
|
"icon-name": k.icon
|
|
5665
5672
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5666
|
-
|
|
5673
|
+
L(" " + v(k.label), 1)
|
|
5667
5674
|
]),
|
|
5668
5675
|
_: 2
|
|
5669
5676
|
}, 1032, ["command", "divided", "disabled"]))), 256))
|
|
@@ -5684,7 +5691,7 @@ function mn(e, i, t, l, r, h) {
|
|
|
5684
5691
|
"icon-name": e.field.options.prefixIcon,
|
|
5685
5692
|
class: "mr-1"
|
|
5686
5693
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5687
|
-
|
|
5694
|
+
L(" " + v(e.field.options.label || "Menu") + " ", 1),
|
|
5688
5695
|
m(p, { class: "el-icon--right" }, {
|
|
5689
5696
|
default: a(() => [
|
|
5690
5697
|
m(u)
|
|
@@ -5702,7 +5709,7 @@ function mn(e, i, t, l, r, h) {
|
|
|
5702
5709
|
key: 0,
|
|
5703
5710
|
"icon-name": e.field.options.prefixIcon
|
|
5704
5711
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5705
|
-
|
|
5712
|
+
L(" " + v(e.field.options.label || "Menu") + " ", 1),
|
|
5706
5713
|
m(p, { class: "el-icon--right" }, {
|
|
5707
5714
|
default: a(() => [
|
|
5708
5715
|
m(u)
|
|
@@ -5946,7 +5953,7 @@ const Fn = /* @__PURE__ */ M(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5946
5953
|
class: "el-upload__tip"
|
|
5947
5954
|
};
|
|
5948
5955
|
function Rn(e, i, t, l, r, h) {
|
|
5949
|
-
const s = G, u = J("Document"), p = re, g = Ge, w = U,
|
|
5956
|
+
const s = G, u = J("Document"), p = re, g = Ge, w = U, P = J("Delete"), n = Ie, f = O;
|
|
5950
5957
|
return o(), d(f, {
|
|
5951
5958
|
"build-rules": e.rules,
|
|
5952
5959
|
field: e.field,
|
|
@@ -5991,7 +5998,7 @@ function Rn(e, i, t, l, r, h) {
|
|
|
5991
5998
|
]),
|
|
5992
5999
|
_: 1
|
|
5993
6000
|
}),
|
|
5994
|
-
|
|
6001
|
+
L(" " + v(k.name), 1)
|
|
5995
6002
|
], 8, Cn),
|
|
5996
6003
|
m(g, { direction: "vertical" }),
|
|
5997
6004
|
S("a", {
|
|
@@ -6012,7 +6019,7 @@ function Rn(e, i, t, l, r, h) {
|
|
|
6012
6019
|
}, [
|
|
6013
6020
|
m(p, null, {
|
|
6014
6021
|
default: a(() => [
|
|
6015
|
-
m(
|
|
6022
|
+
m(P)
|
|
6016
6023
|
]),
|
|
6017
6024
|
_: 1
|
|
6018
6025
|
})
|
|
@@ -6030,7 +6037,7 @@ function Rn(e, i, t, l, r, h) {
|
|
|
6030
6037
|
icon: "Plus"
|
|
6031
6038
|
}, {
|
|
6032
6039
|
default: a(() => [...i[1] || (i[1] = [
|
|
6033
|
-
|
|
6040
|
+
L("Click to upload", -1)
|
|
6034
6041
|
])]),
|
|
6035
6042
|
_: 1
|
|
6036
6043
|
})
|
|
@@ -6044,7 +6051,7 @@ function Rn(e, i, t, l, r, h) {
|
|
|
6044
6051
|
const kn = /* @__PURE__ */ M(vn, [["render", Rn], ["__scopeId", "data-v-37f6906e"]]), $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6045
6052
|
__proto__: null,
|
|
6046
6053
|
default: kn
|
|
6047
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6054
|
+
}, Symbol.toStringTag, { value: "Module" })), Pn = I({
|
|
6048
6055
|
name: "group-list-input",
|
|
6049
6056
|
typeName: "FormField",
|
|
6050
6057
|
components: {
|
|
@@ -6135,7 +6142,7 @@ const kn = /* @__PURE__ */ M(vn, [["render", Rn], ["__scopeId", "data-v-37f6906e
|
|
|
6135
6142
|
this.unregisterFromRefList();
|
|
6136
6143
|
}
|
|
6137
6144
|
});
|
|
6138
|
-
function
|
|
6145
|
+
function Ln(e, i, t, l, r, h) {
|
|
6139
6146
|
const s = ot, u = O;
|
|
6140
6147
|
return o(), d(u, {
|
|
6141
6148
|
"build-rules": e.rules,
|
|
@@ -6186,7 +6193,7 @@ function Pn(e, i, t, l, r, h) {
|
|
|
6186
6193
|
_: 1
|
|
6187
6194
|
}, 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"]);
|
|
6188
6195
|
}
|
|
6189
|
-
const En = /* @__PURE__ */ M(
|
|
6196
|
+
const En = /* @__PURE__ */ M(Pn, [["render", Ln], ["__scopeId", "data-v-621ec067"]]), jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6190
6197
|
__proto__: null,
|
|
6191
6198
|
default: En
|
|
6192
6199
|
}, Symbol.toStringTag, { value: "Module" })), Dn = I({
|
|
@@ -6375,7 +6382,7 @@ const An = /* @__PURE__ */ M(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.
|
|
|
6375
6382
|
let i = [];
|
|
6376
6383
|
if (this.field.options.sourcePath)
|
|
6377
6384
|
for (const t in e) {
|
|
6378
|
-
const l = e[t], r =
|
|
6385
|
+
const l = e[t], r = x(l, this.field.options.sourcePath);
|
|
6379
6386
|
if (r && typeof r == "object")
|
|
6380
6387
|
for (const h in r) {
|
|
6381
6388
|
let s = r[h];
|
|
@@ -6525,7 +6532,7 @@ function Zn(e, i, t, l, r, h) {
|
|
|
6525
6532
|
}, {
|
|
6526
6533
|
placeholder: a(() => [...i[0] || (i[0] = [
|
|
6527
6534
|
S("div", { class: "image-slot image-load" }, [
|
|
6528
|
-
|
|
6535
|
+
L("Loading"),
|
|
6529
6536
|
S("span", { class: "dot" }, "...")
|
|
6530
6537
|
], -1)
|
|
6531
6538
|
])]),
|
|
@@ -6653,7 +6660,7 @@ const xn = /* @__PURE__ */ M(Xn, [["render", _n]]), es = /* @__PURE__ */ Object.
|
|
|
6653
6660
|
}
|
|
6654
6661
|
});
|
|
6655
6662
|
function ts(e, i, t, l, r, h) {
|
|
6656
|
-
const s = U, u =
|
|
6663
|
+
const s = U, u = ie, p = lt, g = E;
|
|
6657
6664
|
return o(), d(g, {
|
|
6658
6665
|
"build-rules": e.rules,
|
|
6659
6666
|
field: e.field,
|
|
@@ -6699,7 +6706,7 @@ function ts(e, i, t, l, r, h) {
|
|
|
6699
6706
|
"icon-name": e.field.options.labelIconClass
|
|
6700
6707
|
}, null, 8, ["icon-name"]))
|
|
6701
6708
|
], 64)) : b("", !0),
|
|
6702
|
-
|
|
6709
|
+
L(" " + v(e.field.options.content) + " ", 1),
|
|
6703
6710
|
e.field.options.labelIconClass && e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
6704
6711
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
6705
6712
|
key: 0,
|
|
@@ -6848,8 +6855,9 @@ const os = /* @__PURE__ */ M(is, [["render", ts], ["__scopeId", "data-v-f3464b8f
|
|
|
6848
6855
|
}
|
|
6849
6856
|
});
|
|
6850
6857
|
function ss(e, i, t, l, r, h) {
|
|
6851
|
-
const s = se, u = U, p = G, g = ue, w = Mi,
|
|
6852
|
-
return o(), d(
|
|
6858
|
+
const s = se, u = U, p = G, g = ue, w = Mi, P = E;
|
|
6859
|
+
return e.showWhenParent ? (o(), d(P, {
|
|
6860
|
+
key: 0,
|
|
6853
6861
|
"build-rules": e.rules,
|
|
6854
6862
|
field: e.field,
|
|
6855
6863
|
builder: e.builder,
|
|
@@ -6864,7 +6872,7 @@ function ss(e, i, t, l, r, h) {
|
|
|
6864
6872
|
"sub-form-row-id": e.subFormRowId
|
|
6865
6873
|
}, {
|
|
6866
6874
|
default: a(() => [
|
|
6867
|
-
|
|
6875
|
+
(o(), d(w, {
|
|
6868
6876
|
ref: "fieldEditor",
|
|
6869
6877
|
key: e.field.id,
|
|
6870
6878
|
"form-id": e.field.options.formId,
|
|
@@ -6907,6 +6915,7 @@ function ss(e, i, t, l, r, h) {
|
|
|
6907
6915
|
"allow-delete-func": e.field.options.allowDeleteFunc ? e.allowDeleteFunc : void 0,
|
|
6908
6916
|
"click-event": e.field.options.clickEvent ? e.clickEvent : void 0,
|
|
6909
6917
|
"enable-ws": !!e.field.options.enableWs,
|
|
6918
|
+
"parent-path": e.parentPath,
|
|
6910
6919
|
"insert-before": e.insertBefore,
|
|
6911
6920
|
"update-before": e.updateBefore,
|
|
6912
6921
|
"view-before": e.viewBefore,
|
|
@@ -6994,12 +7003,12 @@ function ss(e, i, t, l, r, h) {
|
|
|
6994
7003
|
], 64))), 256)) : b("", !0)
|
|
6995
7004
|
]),
|
|
6996
7005
|
_: 1
|
|
6997
|
-
}, 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"]))
|
|
7006
|
+
}, 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", "parent-path", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
6998
7007
|
]),
|
|
6999
7008
|
_: 1
|
|
7000
|
-
}, 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"]);
|
|
7009
|
+
}, 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"])) : b("", !0);
|
|
7001
7010
|
}
|
|
7002
|
-
const rs = /* @__PURE__ */ M(ns, [["render", ss], ["__scopeId", "data-v-
|
|
7011
|
+
const rs = /* @__PURE__ */ M(ns, [["render", ss], ["__scopeId", "data-v-18becab0"]]), ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7003
7012
|
__proto__: null,
|
|
7004
7013
|
default: rs
|
|
7005
7014
|
}, Symbol.toStringTag, { value: "Module" })), as = I({
|
|
@@ -7268,7 +7277,7 @@ function ws(e, i, t, l, r, h) {
|
|
|
7268
7277
|
"icon-name": e.field.options.suffixIcon,
|
|
7269
7278
|
class: "mr-1"
|
|
7270
7279
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
7271
|
-
i[1] || (i[1] =
|
|
7280
|
+
i[1] || (i[1] = L()),
|
|
7272
7281
|
e.field.options.suffixText ? (o(), c("span", vs, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
7273
7282
|
]),
|
|
7274
7283
|
key: "1"
|
|
@@ -7363,14 +7372,14 @@ function Ms(e, i, t, l, r, h) {
|
|
|
7363
7372
|
e.field.options.prefixText ? {
|
|
7364
7373
|
name: "prepend",
|
|
7365
7374
|
fn: a(() => [
|
|
7366
|
-
|
|
7375
|
+
L(v(e.field.options.prefixText), 1)
|
|
7367
7376
|
]),
|
|
7368
7377
|
key: "0"
|
|
7369
7378
|
} : void 0,
|
|
7370
7379
|
e.field.options.suffixText ? {
|
|
7371
7380
|
name: "append",
|
|
7372
7381
|
fn: a(() => [
|
|
7373
|
-
|
|
7382
|
+
L(v(e.field.options.suffixText), 1)
|
|
7374
7383
|
]),
|
|
7375
7384
|
key: "1"
|
|
7376
7385
|
} : void 0,
|
|
@@ -7537,12 +7546,12 @@ const Os = /* @__PURE__ */ M(Ss, [["render", Ms]]), Rs = /* @__PURE__ */ Object.
|
|
|
7537
7546
|
e.url && (this.previewIndex = this.previewList.indexOf(e.url), this.imageRef.$el.children[0].click());
|
|
7538
7547
|
}
|
|
7539
7548
|
}
|
|
7540
|
-
}), $s = { class: "el-upload-list__item-status-label" },
|
|
7549
|
+
}), $s = { class: "el-upload-list__item-status-label" }, Ps = { class: "el-upload-list__item-actions" }, Ls = ["onClick"], Es = ["onClick"], js = {
|
|
7541
7550
|
key: 0,
|
|
7542
7551
|
class: "el-upload__tip"
|
|
7543
7552
|
};
|
|
7544
7553
|
function Ds(e, i, t, l, r, h) {
|
|
7545
|
-
const s = Je, u = J("Check"), p = re, g = J("ZoomIn"), w = J("Delete"),
|
|
7554
|
+
const s = Je, u = J("Check"), p = re, g = J("ZoomIn"), w = J("Delete"), P = J("Plus"), n = Ie, f = O;
|
|
7546
7555
|
return o(), d(f, {
|
|
7547
7556
|
"build-rules": e.rules,
|
|
7548
7557
|
field: e.field,
|
|
@@ -7594,7 +7603,7 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7594
7603
|
_: 1
|
|
7595
7604
|
})
|
|
7596
7605
|
]),
|
|
7597
|
-
S("span",
|
|
7606
|
+
S("span", Ps, [
|
|
7598
7607
|
S("span", {
|
|
7599
7608
|
class: "el-upload-list__item-preview",
|
|
7600
7609
|
onClick: (V) => e.handlePictureCardPreview(k)
|
|
@@ -7605,7 +7614,7 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7605
7614
|
]),
|
|
7606
7615
|
_: 1
|
|
7607
7616
|
})
|
|
7608
|
-
], 8,
|
|
7617
|
+
], 8, Ls),
|
|
7609
7618
|
e.field.options.disabled ? b("", !0) : (o(), c("span", {
|
|
7610
7619
|
key: 0,
|
|
7611
7620
|
class: "el-upload-list__item-delete",
|
|
@@ -7626,7 +7635,7 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7626
7635
|
default: a(() => [
|
|
7627
7636
|
m(p, null, {
|
|
7628
7637
|
default: a(() => [
|
|
7629
|
-
m(
|
|
7638
|
+
m(P)
|
|
7630
7639
|
]),
|
|
7631
7640
|
_: 1
|
|
7632
7641
|
})
|
|
@@ -7817,8 +7826,8 @@ const Hs = /* @__PURE__ */ M(Ns, [["render", Ws], ["__scopeId", "data-v-14161622
|
|
|
7817
7826
|
}
|
|
7818
7827
|
});
|
|
7819
7828
|
function Js(e, i, t, l, r, h) {
|
|
7820
|
-
const s = rt, u = Ze, p = de, g = ae, w = Ke,
|
|
7821
|
-
return o(), d(
|
|
7829
|
+
const s = rt, u = Ze, p = de, g = ae, w = Ke, P = O;
|
|
7830
|
+
return o(), d(P, {
|
|
7822
7831
|
"build-rules": e.rules,
|
|
7823
7832
|
field: e.field,
|
|
7824
7833
|
builder: e.builder,
|
|
@@ -7850,7 +7859,7 @@ function Js(e, i, t, l, r, h) {
|
|
|
7850
7859
|
style: j({ display: e.field.options.displayStyle })
|
|
7851
7860
|
}, {
|
|
7852
7861
|
default: a(() => [
|
|
7853
|
-
|
|
7862
|
+
L(v(n.label), 1)
|
|
7854
7863
|
]),
|
|
7855
7864
|
_: 2
|
|
7856
7865
|
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(), c(F, { key: 1 }, [
|
|
@@ -7868,7 +7877,7 @@ function Js(e, i, t, l, r, h) {
|
|
|
7868
7877
|
style: j({ display: e.field.options.displayStyle })
|
|
7869
7878
|
}, {
|
|
7870
7879
|
default: a(() => [
|
|
7871
|
-
|
|
7880
|
+
L(v(n.label), 1)
|
|
7872
7881
|
]),
|
|
7873
7882
|
_: 2
|
|
7874
7883
|
}, 1032, ["value", "disabled", "border", "style"]))
|
|
@@ -7885,7 +7894,7 @@ function Js(e, i, t, l, r, h) {
|
|
|
7885
7894
|
style: j({ display: e.field.options.displayStyle })
|
|
7886
7895
|
}, {
|
|
7887
7896
|
default: a(() => [
|
|
7888
|
-
|
|
7897
|
+
L(v(n.label), 1)
|
|
7889
7898
|
]),
|
|
7890
7899
|
_: 2
|
|
7891
7900
|
}, 1032, ["value", "disabled", "border", "style"]))), 128))
|
|
@@ -7966,8 +7975,8 @@ const Ks = /* @__PURE__ */ M(Gs, [["render", Js], ["__scopeId", "data-v-9ae0dedd
|
|
|
7966
7975
|
}
|
|
7967
7976
|
});
|
|
7968
7977
|
function Ys(e, i, t, l, r, h) {
|
|
7969
|
-
const s = fe, u = Ze, p = de, g = ae, w = Ke,
|
|
7970
|
-
return o(), d(
|
|
7978
|
+
const s = fe, u = Ze, p = de, g = ae, w = Ke, P = O;
|
|
7979
|
+
return o(), d(P, {
|
|
7971
7980
|
"build-rules": e.rules,
|
|
7972
7981
|
field: e.field,
|
|
7973
7982
|
builder: e.builder,
|
|
@@ -8005,7 +8014,7 @@ function Ys(e, i, t, l, r, h) {
|
|
|
8005
8014
|
style: { display: "flex" }
|
|
8006
8015
|
}, {
|
|
8007
8016
|
default: a(() => [
|
|
8008
|
-
|
|
8017
|
+
L(v(n.label) + " ", 1),
|
|
8009
8018
|
n.text ? (o(), d(s, {
|
|
8010
8019
|
key: 0,
|
|
8011
8020
|
size: "small",
|
|
@@ -8018,7 +8027,7 @@ function Ys(e, i, t, l, r, h) {
|
|
|
8018
8027
|
n.suffix ? {
|
|
8019
8028
|
name: "append",
|
|
8020
8029
|
fn: a(() => [
|
|
8021
|
-
|
|
8030
|
+
L(v(n.suffix), 1)
|
|
8022
8031
|
]),
|
|
8023
8032
|
key: "0"
|
|
8024
8033
|
} : void 0
|
|
@@ -8039,7 +8048,7 @@ function Ys(e, i, t, l, r, h) {
|
|
|
8039
8048
|
style: { display: "flex" }
|
|
8040
8049
|
}, {
|
|
8041
8050
|
default: a(() => [
|
|
8042
|
-
|
|
8051
|
+
L(v(n.label) + " ", 1),
|
|
8043
8052
|
n.text ? (o(), d(s, {
|
|
8044
8053
|
key: 0,
|
|
8045
8054
|
size: "small",
|
|
@@ -8052,7 +8061,7 @@ function Ys(e, i, t, l, r, h) {
|
|
|
8052
8061
|
n.suffix ? {
|
|
8053
8062
|
name: "append",
|
|
8054
8063
|
fn: a(() => [
|
|
8055
|
-
|
|
8064
|
+
L(v(n.suffix), 1)
|
|
8056
8065
|
]),
|
|
8057
8066
|
key: "0"
|
|
8058
8067
|
} : void 0
|
|
@@ -8283,8 +8292,9 @@ const ir = /* @__PURE__ */ M(xs, [["render", er], ["__scopeId", "data-v-a4f7a549
|
|
|
8283
8292
|
}
|
|
8284
8293
|
});
|
|
8285
8294
|
function lr(e, i, t, l, r, h) {
|
|
8286
|
-
const s = se, u = U, p = G, g = ue, w = Ri,
|
|
8287
|
-
return o(), d(
|
|
8295
|
+
const s = se, u = U, p = G, g = ue, w = Ri, P = E;
|
|
8296
|
+
return e.showWhenParent ? (o(), d(P, {
|
|
8297
|
+
key: 0,
|
|
8288
8298
|
"build-rules": e.rules,
|
|
8289
8299
|
field: e.field,
|
|
8290
8300
|
builder: e.builder,
|
|
@@ -8298,7 +8308,7 @@ function lr(e, i, t, l, r, h) {
|
|
|
8298
8308
|
"sub-form-row-id": e.subFormRowId
|
|
8299
8309
|
}, {
|
|
8300
8310
|
default: a(() => [
|
|
8301
|
-
|
|
8311
|
+
(o(), d(w, {
|
|
8302
8312
|
ref: "fieldEditor",
|
|
8303
8313
|
key: e.field.id,
|
|
8304
8314
|
"form-id": e.field.options.formId,
|
|
@@ -8329,6 +8339,7 @@ function lr(e, i, t, l, r, h) {
|
|
|
8329
8339
|
"view-btn-enable": !!e.field.options.viewBtnEnable,
|
|
8330
8340
|
"allow-delete-func": e.field.options.allowDeleteFunc ? e.allowDeleteFunc : void 0,
|
|
8331
8341
|
"enable-ws": !!e.field.options.enableWs,
|
|
8342
|
+
"parent-path": e.parentPath,
|
|
8332
8343
|
"insert-before": e.insertBefore,
|
|
8333
8344
|
"update-before": e.updateBefore,
|
|
8334
8345
|
"view-before": e.viewBefore,
|
|
@@ -8414,12 +8425,12 @@ function lr(e, i, t, l, r, h) {
|
|
|
8414
8425
|
], 64))), 256)) : b("", !0)
|
|
8415
8426
|
]),
|
|
8416
8427
|
_: 1
|
|
8417
|
-
}, 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"]))
|
|
8428
|
+
}, 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", "parent-path", "insert-before", "update-before", "view-before", "before-save", "after-delete", "user-state", "build-state"]))
|
|
8418
8429
|
]),
|
|
8419
8430
|
_: 1
|
|
8420
|
-
}, 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"]);
|
|
8431
|
+
}, 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"])) : b("", !0);
|
|
8421
8432
|
}
|
|
8422
|
-
const nr = /* @__PURE__ */ M(or, [["render", lr], ["__scopeId", "data-v-
|
|
8433
|
+
const nr = /* @__PURE__ */ M(or, [["render", lr], ["__scopeId", "data-v-1ce0e0d2"]]), sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8423
8434
|
__proto__: null,
|
|
8424
8435
|
default: nr
|
|
8425
8436
|
}, Symbol.toStringTag, { value: "Module" })), rr = I({
|
|
@@ -8503,7 +8514,7 @@ function dr(e, i, t, l, r, h) {
|
|
|
8503
8514
|
}, {
|
|
8504
8515
|
default: a(() => [
|
|
8505
8516
|
m(u, { "icon-name": "report-ui" }),
|
|
8506
|
-
i[0] || (i[0] =
|
|
8517
|
+
i[0] || (i[0] = L()),
|
|
8507
8518
|
S("span", null, v(e.field.options.providerType || "Report"), 1)
|
|
8508
8519
|
]),
|
|
8509
8520
|
_: 1
|
|
@@ -8652,7 +8663,7 @@ const mr = /* @__PURE__ */ M(ur, [["render", pr], ["__scopeId", "data-v-58269946
|
|
|
8652
8663
|
return this.field.options.listId && ["sdform-list", "sdform-ui-list", "sdform-db-list", "sql-list", "api-list", "report-list"].includes(this.field.options.listId) ? { form_license: this.form_license } : {};
|
|
8653
8664
|
},
|
|
8654
8665
|
valueField() {
|
|
8655
|
-
const e =
|
|
8666
|
+
const e = le;
|
|
8656
8667
|
if (this.field.options.listId) {
|
|
8657
8668
|
for (const i of e)
|
|
8658
8669
|
if (i.value === this.field.options.listId)
|
|
@@ -8661,7 +8672,7 @@ const mr = /* @__PURE__ */ M(ur, [["render", pr], ["__scopeId", "data-v-58269946
|
|
|
8661
8672
|
return "_id";
|
|
8662
8673
|
},
|
|
8663
8674
|
labelField() {
|
|
8664
|
-
const e =
|
|
8675
|
+
const e = le;
|
|
8665
8676
|
if (this.field.options.listId) {
|
|
8666
8677
|
for (const i of e)
|
|
8667
8678
|
if (i.value === this.field.options.listId)
|
|
@@ -8670,7 +8681,7 @@ const mr = /* @__PURE__ */ M(ur, [["render", pr], ["__scopeId", "data-v-58269946
|
|
|
8670
8681
|
return [];
|
|
8671
8682
|
},
|
|
8672
8683
|
searchField() {
|
|
8673
|
-
const e =
|
|
8684
|
+
const e = le;
|
|
8674
8685
|
if (this.field.options.listId) {
|
|
8675
8686
|
for (const i of e)
|
|
8676
8687
|
if (i.value === this.field.options.listId)
|
|
@@ -8679,7 +8690,7 @@ const mr = /* @__PURE__ */ M(ur, [["render", pr], ["__scopeId", "data-v-58269946
|
|
|
8679
8690
|
return [];
|
|
8680
8691
|
},
|
|
8681
8692
|
labelTemp() {
|
|
8682
|
-
const e =
|
|
8693
|
+
const e = le;
|
|
8683
8694
|
if (this.field.options.listId) {
|
|
8684
8695
|
for (const i of e)
|
|
8685
8696
|
if (i.value === this.field.options.listId)
|
|
@@ -8688,7 +8699,7 @@ const mr = /* @__PURE__ */ M(ur, [["render", pr], ["__scopeId", "data-v-58269946
|
|
|
8688
8699
|
return "";
|
|
8689
8700
|
},
|
|
8690
8701
|
valueObjectId() {
|
|
8691
|
-
const e =
|
|
8702
|
+
const e = le;
|
|
8692
8703
|
if (this.field.options.listId) {
|
|
8693
8704
|
for (const i of e)
|
|
8694
8705
|
if (i.value === this.field.options.listId)
|
|
@@ -8877,7 +8888,8 @@ const gr = /* @__PURE__ */ M(cr, [["render", br]]), Fr = /* @__PURE__ */ Object.
|
|
|
8877
8888
|
});
|
|
8878
8889
|
function vr(e, i, t, l, r, h) {
|
|
8879
8890
|
const s = ve, u = O;
|
|
8880
|
-
return o(), d(u, {
|
|
8891
|
+
return e.showWhenParent ? (o(), d(u, {
|
|
8892
|
+
key: 0,
|
|
8881
8893
|
"build-rules": e.rules,
|
|
8882
8894
|
field: e.field,
|
|
8883
8895
|
builder: e.builder,
|
|
@@ -8931,7 +8943,7 @@ function vr(e, i, t, l, r, h) {
|
|
|
8931
8943
|
}, null, 8, ["modelValue", "placeholder", "size", "disabled", "clearable", "filterable", "allow-create", "default-first-option", "multiple", "multiple-limit", "form-id", "where", "order-by", "limit", "form-btn-enable", "value-field", "label-field", "ref-field", "search-field", "label-template", "options-template", "clone-enable-label-field", "depend-enable", "depend-field", "getdata-on-load", "parent-id", "params", "build-state", "onClear", "onChange", "onFocus", "onBlur", "user-state"])
|
|
8932
8944
|
]),
|
|
8933
8945
|
_: 1
|
|
8934
|
-
}, 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"]);
|
|
8946
|
+
}, 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"])) : b("", !0);
|
|
8935
8947
|
}
|
|
8936
8948
|
const wr = /* @__PURE__ */ M(yr, [["render", vr]]), Cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8937
8949
|
__proto__: null,
|
|
@@ -9078,11 +9090,11 @@ const Mr = /* @__PURE__ */ M(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572
|
|
|
9078
9090
|
let i = [];
|
|
9079
9091
|
if (this.field.options.sourcePath)
|
|
9080
9092
|
for (const t in e) {
|
|
9081
|
-
const l = e[t], r =
|
|
9093
|
+
const l = e[t], r = x(l, this.field.options.sourcePath);
|
|
9082
9094
|
if (r && typeof r == "object")
|
|
9083
9095
|
for (const h in r) {
|
|
9084
9096
|
let s = r[h];
|
|
9085
|
-
this.field.options.prefixProp && (s.prefixProp = l
|
|
9097
|
+
this.field.options.prefixProp && (s.prefixProp = x(l, this.field.options.prefixProp)), this.field.options.groupProp && (s.groupProp = x(l, this.field.options.groupProp)), i.push(s);
|
|
9086
9098
|
}
|
|
9087
9099
|
}
|
|
9088
9100
|
this.onItemListChange(i), e && Object.keys(e).length > 0 || this.onItemListChange([]);
|
|
@@ -9183,10 +9195,10 @@ function kr(e, i, t, l, r, h) {
|
|
|
9183
9195
|
_: 1
|
|
9184
9196
|
}, 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"]);
|
|
9185
9197
|
}
|
|
9186
|
-
const $r = /* @__PURE__ */ M(Rr, [["render", kr], ["__scopeId", "data-v-
|
|
9198
|
+
const $r = /* @__PURE__ */ M(Rr, [["render", kr], ["__scopeId", "data-v-61d0e339"]]), Pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9187
9199
|
__proto__: null,
|
|
9188
9200
|
default: $r
|
|
9189
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9201
|
+
}, Symbol.toStringTag, { value: "Module" })), Lr = I({
|
|
9190
9202
|
name: "select-sql-input",
|
|
9191
9203
|
typeName: "FormField",
|
|
9192
9204
|
components: {
|
|
@@ -9288,7 +9300,7 @@ function Er(e, i, t, l, r, h) {
|
|
|
9288
9300
|
_: 1
|
|
9289
9301
|
}, 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"]);
|
|
9290
9302
|
}
|
|
9291
|
-
const jr = /* @__PURE__ */ M(
|
|
9303
|
+
const jr = /* @__PURE__ */ M(Lr, [["render", Er]]), Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9292
9304
|
__proto__: null,
|
|
9293
9305
|
default: jr
|
|
9294
9306
|
}, Symbol.toStringTag, { value: "Module" })), Tr = I({
|
|
@@ -9355,7 +9367,8 @@ const jr = /* @__PURE__ */ M(Pr, [["render", Er]]), Dr = /* @__PURE__ */ Object.
|
|
|
9355
9367
|
});
|
|
9356
9368
|
function Vr(e, i, t, l, r, h) {
|
|
9357
9369
|
const s = $i, u = E;
|
|
9358
|
-
return o(), d(u, {
|
|
9370
|
+
return e.showWhenParent ? (o(), d(u, {
|
|
9371
|
+
key: 0,
|
|
9359
9372
|
"build-rules": e.rules,
|
|
9360
9373
|
field: e.field,
|
|
9361
9374
|
builder: e.builder,
|
|
@@ -9370,7 +9383,7 @@ function Vr(e, i, t, l, r, h) {
|
|
|
9370
9383
|
"sub-form-row-id": e.subFormRowId
|
|
9371
9384
|
}, {
|
|
9372
9385
|
default: a(() => [
|
|
9373
|
-
|
|
9386
|
+
(o(), d(s, {
|
|
9374
9387
|
ref: "fieldEditor",
|
|
9375
9388
|
key: e.field.id,
|
|
9376
9389
|
"form-id": e.field.options.formId,
|
|
@@ -9378,6 +9391,7 @@ function Vr(e, i, t, l, r, h) {
|
|
|
9378
9391
|
"data-provider": e.dataProvider,
|
|
9379
9392
|
"parent-id": e.parentId,
|
|
9380
9393
|
params: e.params,
|
|
9394
|
+
"parent-path": e.parentPath,
|
|
9381
9395
|
"icon-field": e.field.options.iconField || void 0,
|
|
9382
9396
|
"label-field": e.field.options.labelOneField || void 0,
|
|
9383
9397
|
"path-field": e.field.options.pathField || void 0,
|
|
@@ -9405,12 +9419,12 @@ function Vr(e, i, t, l, r, h) {
|
|
|
9405
9419
|
"click-event": e.field.options.clickEvent ? e.clickEvent : void 0,
|
|
9406
9420
|
"user-state": e.globalUserState,
|
|
9407
9421
|
"build-state": e.builderStatus
|
|
9408
|
-
}, null, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "icon-field", "label-field", "path-field", "role-field", "sub-menu-field", "sub-menu-prefix", "bg-color", "text-color", "border-color", "class-interaction", "default-active", "expand-default", "expand-height", "margin-top", "menu-width", "top", "left", "border-disable", "expand-enable", "fixed-enable", "unique-opened", "limit-row", "trigger", "custom-value", "click-event", "user-state", "build-state"]))
|
|
9422
|
+
}, null, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "parent-path", "icon-field", "label-field", "path-field", "role-field", "sub-menu-field", "sub-menu-prefix", "bg-color", "text-color", "border-color", "class-interaction", "default-active", "expand-default", "expand-height", "margin-top", "menu-width", "top", "left", "border-disable", "expand-enable", "fixed-enable", "unique-opened", "limit-row", "trigger", "custom-value", "click-event", "user-state", "build-state"]))
|
|
9409
9423
|
]),
|
|
9410
9424
|
_: 1
|
|
9411
|
-
}, 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"]);
|
|
9425
|
+
}, 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"])) : b("", !0);
|
|
9412
9426
|
}
|
|
9413
|
-
const zr = /* @__PURE__ */ M(Tr, [["render", Vr], ["__scopeId", "data-v-
|
|
9427
|
+
const zr = /* @__PURE__ */ M(Tr, [["render", Vr], ["__scopeId", "data-v-375e200e"]]), Ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9414
9428
|
__proto__: null,
|
|
9415
9429
|
default: zr
|
|
9416
9430
|
}, Symbol.toStringTag, { value: "Module" })), Br = I({
|
|
@@ -9523,7 +9537,7 @@ const Nr = /* @__PURE__ */ M(Br, [["render", Ar], ["__scopeId", "data-v-01943245
|
|
|
9523
9537
|
class: "statistic-footer"
|
|
9524
9538
|
}, Zr = { class: "footer-item" };
|
|
9525
9539
|
function Qr(e, i, t, l, r, h) {
|
|
9526
|
-
const s = U, u =
|
|
9540
|
+
const s = U, u = ie, p = mt, g = he, w = E;
|
|
9527
9541
|
return o(), d(w, {
|
|
9528
9542
|
"build-rules": e.rules,
|
|
9529
9543
|
field: e.field,
|
|
@@ -9553,7 +9567,7 @@ function Qr(e, i, t, l, r, h) {
|
|
|
9553
9567
|
}, K({
|
|
9554
9568
|
title: a(() => [
|
|
9555
9569
|
S("div", qr, [
|
|
9556
|
-
|
|
9570
|
+
L(v(e.field.options.title) + " ", 1),
|
|
9557
9571
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
9558
9572
|
key: 0,
|
|
9559
9573
|
content: e.field.options.labelTooltip
|
|
@@ -9595,7 +9609,7 @@ function Qr(e, i, t, l, r, h) {
|
|
|
9595
9609
|
"icon-name": e.field.options.suffixIcon,
|
|
9596
9610
|
class: "ml-1"
|
|
9597
9611
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
9598
|
-
i[1] || (i[1] =
|
|
9612
|
+
i[1] || (i[1] = L()),
|
|
9599
9613
|
e.field.options.suffixText ? (o(), c("span", Jr, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
9600
9614
|
]),
|
|
9601
9615
|
key: "1"
|
|
@@ -9605,7 +9619,7 @@ function Qr(e, i, t, l, r, h) {
|
|
|
9605
9619
|
S("div", Zr, [
|
|
9606
9620
|
m(g, {
|
|
9607
9621
|
modelValue: e.field.options.footer,
|
|
9608
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
9622
|
+
"onUpdate:modelValue": i[0] || (i[0] = (P) => e.field.options.footer = P),
|
|
9609
9623
|
mode: "mini",
|
|
9610
9624
|
readonly: !0,
|
|
9611
9625
|
"user-state": e.globalUserState
|
|
@@ -9781,7 +9795,7 @@ const ed = /* @__PURE__ */ M(_r, [["render", xr], ["__scopeId", "data-v-36741146
|
|
|
9781
9795
|
this.fileList = [], this.uploadBtnHidden = !1;
|
|
9782
9796
|
},
|
|
9783
9797
|
beforeUpload(e) {
|
|
9784
|
-
return e.type !== "image/svg+xml" ? (
|
|
9798
|
+
return e.type !== "image/svg+xml" ? (ee.error("Avatar picture must be SVG format!"), !1) : e.size / 1024 / 1024 > 1 ? (ee.error("Avatar picture size can not exceed 1MB!"), !1) : !0;
|
|
9785
9799
|
},
|
|
9786
9800
|
async handleCardPreview(e) {
|
|
9787
9801
|
this.dialogImageUrl = e.url, this.dialogVisible = !0;
|
|
@@ -9824,7 +9838,7 @@ function ld(e, i, t, l, r, h) {
|
|
|
9824
9838
|
disabled: e.field.options.disabled || !!e.builderStatus,
|
|
9825
9839
|
"list-type": "picture-card",
|
|
9826
9840
|
"file-list": e.fileList,
|
|
9827
|
-
"onUpdate:fileList": i[0] || (i[0] = (
|
|
9841
|
+
"onUpdate:fileList": i[0] || (i[0] = (P) => e.fileList = P),
|
|
9828
9842
|
limit: 1,
|
|
9829
9843
|
"on-preview": e.handleCardPreview,
|
|
9830
9844
|
"on-change": e.handleChange,
|
|
@@ -9846,7 +9860,7 @@ function ld(e, i, t, l, r, h) {
|
|
|
9846
9860
|
}, 8, ["class", "disabled", "file-list", "on-preview", "on-change", "on-remove", "before-upload"]),
|
|
9847
9861
|
m(g, {
|
|
9848
9862
|
modelValue: e.dialogVisible,
|
|
9849
|
-
"onUpdate:modelValue": i[1] || (i[1] = (
|
|
9863
|
+
"onUpdate:modelValue": i[1] || (i[1] = (P) => e.dialogVisible = P)
|
|
9850
9864
|
}, {
|
|
9851
9865
|
default: a(() => [
|
|
9852
9866
|
S("img", {
|
|
@@ -9890,7 +9904,7 @@ const nd = /* @__PURE__ */ M(td, [["render", ld], ["__scopeId", "data-v-46c91e56
|
|
|
9890
9904
|
}
|
|
9891
9905
|
});
|
|
9892
9906
|
function dd(e, i, t, l, r, h) {
|
|
9893
|
-
const s =
|
|
9907
|
+
const s = Pi, u = U, p = E;
|
|
9894
9908
|
return o(), d(p, {
|
|
9895
9909
|
"build-rules": e.rules,
|
|
9896
9910
|
field: e.field,
|
|
@@ -10117,7 +10131,7 @@ function vd(e, i, t, l, r, h) {
|
|
|
10117
10131
|
key: 0,
|
|
10118
10132
|
"icon-name": e.field.options.suffixIcon
|
|
10119
10133
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
10120
|
-
i[1] || (i[1] =
|
|
10134
|
+
i[1] || (i[1] = L()),
|
|
10121
10135
|
e.field.options.suffixText ? (o(), c("span", yd, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
10122
10136
|
]),
|
|
10123
10137
|
key: "1"
|
|
@@ -10213,7 +10227,7 @@ function Sd(e, i, t, l, r, h) {
|
|
|
10213
10227
|
e.field.options.prefixText ? {
|
|
10214
10228
|
name: "prepend",
|
|
10215
10229
|
fn: a(() => [
|
|
10216
|
-
|
|
10230
|
+
L(v(e.field.options.prefixText), 1)
|
|
10217
10231
|
]),
|
|
10218
10232
|
key: "0"
|
|
10219
10233
|
} : void 0,
|
|
@@ -10221,7 +10235,7 @@ function Sd(e, i, t, l, r, h) {
|
|
|
10221
10235
|
name: "append",
|
|
10222
10236
|
fn: a(() => [
|
|
10223
10237
|
!e.field.options.appendButton && e.field.options.suffixText ? (o(), c(F, { key: 0 }, [
|
|
10224
|
-
|
|
10238
|
+
L(v(e.field.options.suffixText), 1)
|
|
10225
10239
|
], 64)) : (o(), d(u, {
|
|
10226
10240
|
key: 1,
|
|
10227
10241
|
disabled: e.field.options.disabled || e.field.options.appendButtonDisabled,
|
|
@@ -10233,7 +10247,7 @@ function Sd(e, i, t, l, r, h) {
|
|
|
10233
10247
|
"icon-name": e.field.options.buttonIcon,
|
|
10234
10248
|
class: "mr-1"
|
|
10235
10249
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
10236
|
-
|
|
10250
|
+
L(" " + v(e.field.options.suffixText), 1)
|
|
10237
10251
|
]),
|
|
10238
10252
|
_: 1
|
|
10239
10253
|
}, 8, ["disabled", "onClick"]))
|
|
@@ -10283,7 +10297,7 @@ const Md = /* @__PURE__ */ M(Id, [["render", Sd]]), Od = /* @__PURE__ */ Object.
|
|
|
10283
10297
|
}
|
|
10284
10298
|
});
|
|
10285
10299
|
function kd(e, i, t, l, r, h) {
|
|
10286
|
-
const s = U, u =
|
|
10300
|
+
const s = U, u = ie, p = Ft, g = E;
|
|
10287
10301
|
return o(), d(g, {
|
|
10288
10302
|
"build-rules": e.rules,
|
|
10289
10303
|
field: e.field,
|
|
@@ -10327,7 +10341,7 @@ function kd(e, i, t, l, r, h) {
|
|
|
10327
10341
|
class: y({ underline: !!e.field.options.underline, bold: !!e.field.options.bold, italic: !!e.field.options.italic })
|
|
10328
10342
|
}, {
|
|
10329
10343
|
default: a(() => [
|
|
10330
|
-
|
|
10344
|
+
L(v(e.field.options.content), 1)
|
|
10331
10345
|
]),
|
|
10332
10346
|
_: 1
|
|
10333
10347
|
}, 8, ["truncated", "line-clamp", "style", "class"]),
|
|
@@ -10352,10 +10366,10 @@ function kd(e, i, t, l, r, h) {
|
|
|
10352
10366
|
_: 1
|
|
10353
10367
|
}, 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"]);
|
|
10354
10368
|
}
|
|
10355
|
-
const $d = /* @__PURE__ */ M(Rd, [["render", kd], ["__scopeId", "data-v-b76cd20b"]]),
|
|
10369
|
+
const $d = /* @__PURE__ */ M(Rd, [["render", kd], ["__scopeId", "data-v-b76cd20b"]]), Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10356
10370
|
__proto__: null,
|
|
10357
10371
|
default: $d
|
|
10358
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10372
|
+
}, Symbol.toStringTag, { value: "Module" })), Ld = I({
|
|
10359
10373
|
name: "textarea-input",
|
|
10360
10374
|
typeName: "FormField",
|
|
10361
10375
|
components: {
|
|
@@ -10428,7 +10442,7 @@ function Ed(e, i, t, l, r, h) {
|
|
|
10428
10442
|
_: 1
|
|
10429
10443
|
}, 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"]);
|
|
10430
10444
|
}
|
|
10431
|
-
const jd = /* @__PURE__ */ M(
|
|
10445
|
+
const jd = /* @__PURE__ */ M(Ld, [["render", Ed]]), Dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10432
10446
|
__proto__: null,
|
|
10433
10447
|
default: jd
|
|
10434
10448
|
}, Symbol.toStringTag, { value: "Module" })), Td = I({
|
|
@@ -10751,8 +10765,8 @@ const Gd = /* @__PURE__ */ M(Hd, [["render", qd], ["__scopeId", "data-v-365dcbe8
|
|
|
10751
10765
|
}
|
|
10752
10766
|
});
|
|
10753
10767
|
function Zd(e, i, t, l, r, h) {
|
|
10754
|
-
const s = U, u = G, p = he, g = wt, w = vt,
|
|
10755
|
-
return o(), d(
|
|
10768
|
+
const s = U, u = G, p = he, g = wt, w = vt, P = E;
|
|
10769
|
+
return o(), d(P, {
|
|
10756
10770
|
"build-rules": e.rules,
|
|
10757
10771
|
field: e.field,
|
|
10758
10772
|
builder: e.builder,
|
|
@@ -10875,7 +10889,7 @@ ${r}`;
|
|
|
10875
10889
|
}
|
|
10876
10890
|
const xd = (e, i) => {
|
|
10877
10891
|
try {
|
|
10878
|
-
return new
|
|
10892
|
+
return new Lt(i).decryptPublic(e, "utf8");
|
|
10879
10893
|
} catch {
|
|
10880
10894
|
return "";
|
|
10881
10895
|
}
|
|
@@ -10891,8 +10905,8 @@ tjverk8X5A9+IBcvMQIDAQAB
|
|
|
10891
10905
|
-----END PUBLIC KEY-----`;
|
|
10892
10906
|
i.connectInfo && i.connectInfo.public_key && (h = i.connectInfo.public_key);
|
|
10893
10907
|
let s = _d(h, "public");
|
|
10894
|
-
const u = xd(t, s), p = je(u), g = je(l),
|
|
10895
|
-
return JSON.parse(
|
|
10908
|
+
const u = xd(t, s), p = je(u), g = je(l), P = kt.decrypt(r, p, { iv: g, mode: Pt.CBC, padding: $t.PKCS7 }).toString(xe.Utf8);
|
|
10909
|
+
return JSON.parse(P);
|
|
10896
10910
|
}
|
|
10897
10911
|
return {};
|
|
10898
10912
|
} catch {
|
|
@@ -11154,7 +11168,7 @@ const ia = I({
|
|
|
11154
11168
|
let t = this.formData._id ? this.formData._id : "";
|
|
11155
11169
|
this.formDataModel.xparentx = this.formDataModel[this.sdform.joiner_field.field_name].value || null, e = this.formDataModel[this.sdform.joiner_field.field_name];
|
|
11156
11170
|
const l = await Vi(this.sdform.dataid, t, this.formDataModel, this.$data.useUserState);
|
|
11157
|
-
l.data ? (this.showInput = !1,
|
|
11171
|
+
l.data ? (this.showInput = !1, ee.warning(l.message)) : this.showInput = !0;
|
|
11158
11172
|
} else
|
|
11159
11173
|
this.formDataModel.xparentx = null, this.showInput = !1;
|
|
11160
11174
|
try {
|
|
@@ -11178,7 +11192,7 @@ const ia = I({
|
|
|
11178
11192
|
},
|
|
11179
11193
|
alert(e, i = "info", t = 4e3) {
|
|
11180
11194
|
try {
|
|
11181
|
-
|
|
11195
|
+
ee({
|
|
11182
11196
|
grouping: !0,
|
|
11183
11197
|
type: i,
|
|
11184
11198
|
message: e,
|
|
@@ -11333,7 +11347,7 @@ const ia = I({
|
|
|
11333
11347
|
}
|
|
11334
11348
|
},
|
|
11335
11349
|
initFormRender(e = !0) {
|
|
11336
|
-
this.formId = "sdRender" +
|
|
11350
|
+
this.formId = "sdRender" + oe(), e && this.insertCustomStyleAndScriptNode(), this.handleOnCreated(), this.addFieldValidateEventHandler(), this.registerFormToRefList();
|
|
11337
11351
|
},
|
|
11338
11352
|
insertCustomStyleAndScriptNode() {
|
|
11339
11353
|
this.formConfig && this.formConfig.cssCode && Di(this.formConfig.cssCode, this.previewState ? "" : this.formId), this.formConfig && this.formConfig.functions && Ti(this.formConfig.functions, this.previewState ? "" : this.formId);
|
|
@@ -11578,7 +11592,7 @@ const ia = I({
|
|
|
11578
11592
|
return Ei(this.formRenderModel.fields);
|
|
11579
11593
|
},
|
|
11580
11594
|
getContainerFields() {
|
|
11581
|
-
return
|
|
11595
|
+
return Li(this.formRenderModel.fields);
|
|
11582
11596
|
},
|
|
11583
11597
|
addEC(e, i) {
|
|
11584
11598
|
this.externalComponents[e] = i;
|
|
@@ -11598,7 +11612,7 @@ const ia = I({
|
|
|
11598
11612
|
class: "widget-wrapper"
|
|
11599
11613
|
}, na = { key: 0 };
|
|
11600
11614
|
function sa(e, i, t, l, r, h) {
|
|
11601
|
-
const s = U, u =
|
|
11615
|
+
const s = U, u = ie, p = G, g = Ui, w = we, P = He, n = We, f = Ct, k = Bi;
|
|
11602
11616
|
return o(), c(F, null, [
|
|
11603
11617
|
m(f, {
|
|
11604
11618
|
"label-position": e.labelPosition,
|
|
@@ -11617,7 +11631,7 @@ function sa(e, i, t, l, r, h) {
|
|
|
11617
11631
|
class: "joiner-wrapper",
|
|
11618
11632
|
"data-id": e.sdform.joiner_field && e.sdform.joiner_field.joiner_enable ? e.sdform.joiner_field.form_id.value : null
|
|
11619
11633
|
}, [
|
|
11620
|
-
e.sdform.joiner_field.joiner_enable ? (o(), d(
|
|
11634
|
+
e.sdform.joiner_field.joiner_enable ? (o(), d(P, {
|
|
11621
11635
|
key: 0,
|
|
11622
11636
|
label: e.sdform.joiner_field.joiner_label,
|
|
11623
11637
|
"label-width": e.labelWidth,
|
|
@@ -11629,7 +11643,7 @@ function sa(e, i, t, l, r, h) {
|
|
|
11629
11643
|
}, {
|
|
11630
11644
|
label: a(() => [
|
|
11631
11645
|
S("span", null, [
|
|
11632
|
-
|
|
11646
|
+
L(v(e.sdform.joiner_field.joiner_label) + " ", 1),
|
|
11633
11647
|
e.sdform.joiner_field.joiner_hint ? (o(), d(u, {
|
|
11634
11648
|
key: 0,
|
|
11635
11649
|
content: e.sdform.joiner_field.joiner_hint,
|
|
@@ -11720,7 +11734,7 @@ function sa(e, i, t, l, r, h) {
|
|
|
11720
11734
|
style: { position: "absolute", top: "0", right: "0", "z-index": "999" }
|
|
11721
11735
|
}, {
|
|
11722
11736
|
default: a(() => [
|
|
11723
|
-
|
|
11737
|
+
L(v(e.sdform.joiner_field.field_name), 1)
|
|
11724
11738
|
]),
|
|
11725
11739
|
_: 1
|
|
11726
11740
|
})) : b("", !0)
|
|
@@ -11736,32 +11750,32 @@ function sa(e, i, t, l, r, h) {
|
|
|
11736
11750
|
}, {
|
|
11737
11751
|
default: a(() => [
|
|
11738
11752
|
S("ul", oa, [
|
|
11739
|
-
(o(!0), c(F, null, T(e.formData.xerrorx, (V,
|
|
11753
|
+
(o(!0), c(F, null, T(e.formData.xerrorx, (V, te) => (o(), c("li", null, [
|
|
11740
11754
|
S("b", null, [
|
|
11741
|
-
S("u", null, v(
|
|
11755
|
+
S("u", null, v(te), 1)
|
|
11742
11756
|
]),
|
|
11743
|
-
|
|
11757
|
+
L(" " + v(V), 1)
|
|
11744
11758
|
]))), 256))
|
|
11745
11759
|
])
|
|
11746
11760
|
]),
|
|
11747
11761
|
_: 1
|
|
11748
11762
|
})) : b("", !0),
|
|
11749
11763
|
e.showInput ? (o(), c("div", la, [
|
|
11750
|
-
(o(!0), c(F, null, T(e.fields, (V,
|
|
11764
|
+
(o(!0), c(F, null, T(e.fields, (V, te) => (o(), c(F, null, [
|
|
11751
11765
|
V.category === "container" ? (o(), d(B(V.component + "-render"), {
|
|
11752
11766
|
field: V,
|
|
11753
|
-
key: V.id ? V.id :
|
|
11767
|
+
key: V.id ? V.id : te,
|
|
11754
11768
|
"parent-list": e.fields,
|
|
11755
|
-
"index-of-parent-list":
|
|
11769
|
+
"index-of-parent-list": te,
|
|
11756
11770
|
"parent-field": null
|
|
11757
11771
|
}, null, 8, ["field", "parent-list", "index-of-parent-list"])) : (o(), d(B(V.component), {
|
|
11758
11772
|
field: V,
|
|
11759
11773
|
"form-model": e.formDataModel,
|
|
11760
11774
|
builder: null,
|
|
11761
11775
|
"builder-status": !1,
|
|
11762
|
-
key: V.id ? V.id :
|
|
11776
|
+
key: V.id ? V.id : te,
|
|
11763
11777
|
"parent-list": e.fields,
|
|
11764
|
-
"index-of-parent-list":
|
|
11778
|
+
"index-of-parent-list": te,
|
|
11765
11779
|
"parent-field": null
|
|
11766
11780
|
}, null, 8, ["field", "form-model", "parent-list", "index-of-parent-list"]))
|
|
11767
11781
|
], 64))), 256))
|