sd-render 1.1.7 → 1.2.0
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-Dslq9vnq.js → sd-lib-CdzQnrjh.js} +1370 -1241
- package/{sd-render-BERmrNsG.js → sd-render-FK6Mjp-B.js} +655 -644
- package/sd-render.es.js +2 -2
- package/sd-render.style.css +1 -1
- package/types/src/components/form-render/SdFormRender.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/alert-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/apexchart-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/autonumber-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/avatar-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/btn-editor-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/button-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/carousel-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/chart-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/checkbox-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/code-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/color-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/crop-upload-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/datagrid-form-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/datagrid-sql-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/date-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/date-range-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/divider-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/dropdown-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/dynamic-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/file-upload-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/group-list-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/html-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/html-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/icon-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/image-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/json-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/link-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/list-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/masked-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/multiple-date.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/number-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/objectid-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/picture-upload-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/progress-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/qrcode-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/radio-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/radio-text-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/rate-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/record-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/report-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/segmented-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/select-data-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/select-form-input.vue.d.ts +7 -4
- package/types/src/components/form-render/form-field/select-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/select-path-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/select-sql-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/side-menu-ui.vue.d.ts +4 -2
- package/types/src/components/form-render/form-field/slider-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/statistic-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/step-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/svg-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/svg-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/switch-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/tags-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/text-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/text-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/textarea-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/time-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/time-range-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/time-select-input.vue.d.ts +3 -0
- package/types/src/components/form-render/form-field/tour-ui.vue.d.ts +3 -0
- package/types/src/components/form-render/mixins/CoreFieldMixin.d.ts +3 -0
- package/types/src/components/sdwidget/SdCrudForm.vue.d.ts +3 -0
- package/types/src/components/sdwidget/SdCrudGrid.vue.d.ts +5 -0
- package/types/src/components/sdwidget/SdUiCarousel.vue.d.ts +4 -0
- package/types/src/components/sdwidget/SdUiListView.vue.d.ts +4 -0
- package/types/src/components/sdwidget/SdUiMenu.vue.d.ts +4 -0
- package/types/src/components/sdwidget/SdUiRecordView.vue.d.ts +5 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as I, inject as N, createElementBlock as c, openBlock as o, normalizeClass as y, renderSlot as
|
|
2
|
-
import { a5 as
|
|
3
|
-
import { ElTag as we, ElAffix as Ai, ElCard as Ne, ElTooltip as ee, ElIcon 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 P, 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 te, ab as pe, ac as ri, ad as le, 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 oe, n as ve, A as ki, D as $i, _ as Li, at as Pi, 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-CdzQnrjh.js";
|
|
3
|
+
import { ElTag as we, ElAffix as Ai, ElCard as Ne, ElTooltip as ee, 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";
|
|
@@ -18,7 +18,7 @@ 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";
|
|
20
20
|
import "element-plus/es/components/alert/style/index";
|
|
21
|
-
import { useDark as
|
|
21
|
+
import { useDark as W } from "@vueuse/core";
|
|
22
22
|
import "element-plus/es/components/input/style/index";
|
|
23
23
|
import "element-plus/es/components/avatar/style/index";
|
|
24
24
|
import "element-plus/es/components/dialog/style/index";
|
|
@@ -29,9 +29,9 @@ 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 me from "axios";
|
|
33
33
|
import "element-plus/es/components/date-picker/style/index";
|
|
34
|
-
import
|
|
34
|
+
import ne from "dayjs";
|
|
35
35
|
import "element-plus/es/components/divider/style/index";
|
|
36
36
|
import "element-plus/es/components/dropdown/style/index";
|
|
37
37
|
import "element-plus/es/components/dropdown-menu/style/index";
|
|
@@ -40,12 +40,12 @@ import "element-plus/es/components/upload/style/index";
|
|
|
40
40
|
import "element-plus/es/components/autocomplete/style/index";
|
|
41
41
|
import St from "fuse.js";
|
|
42
42
|
import "element-plus/es/components/image/style/index";
|
|
43
|
-
import { Mode as
|
|
44
|
-
import
|
|
43
|
+
import { Mode as Mt } from "vanilla-jsoneditor";
|
|
44
|
+
import Ot from "json-editor-vue";
|
|
45
45
|
import "element-plus/es/components/link/style/index";
|
|
46
46
|
import "element-plus/es/components/input-number/style/index";
|
|
47
47
|
import "element-plus/es/components/progress/style/index";
|
|
48
|
-
import
|
|
48
|
+
import Rt from "@chenfengyuan/vue-qrcode";
|
|
49
49
|
import "element-plus/es/components/radio-group/style/index";
|
|
50
50
|
import "element-plus/es/components/radio/style/index";
|
|
51
51
|
import "element-plus/es/components/radio-button/style/index";
|
|
@@ -85,26 +85,26 @@ 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
|
|
89
|
-
import
|
|
90
|
-
const
|
|
88
|
+
import { AES as kt, pad as $t, mode as Lt, enc as xe } from "crypto-ts";
|
|
89
|
+
import Pt from "node-rsa";
|
|
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
|
-
for (const i in
|
|
93
|
-
|
|
92
|
+
for (const i in ce)
|
|
93
|
+
ce[i] && ce[i]().then((t) => {
|
|
94
94
|
const l = t.default.name;
|
|
95
95
|
l && e.component(l, t.default);
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
-
},
|
|
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(() => Lr), "./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(() => Ld), "./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
|
-
for (const i in
|
|
101
|
-
|
|
100
|
+
for (const i in be)
|
|
101
|
+
be[i] && be[i]().then((t) => {
|
|
102
102
|
const l = t.default.name;
|
|
103
103
|
l && e.component(l, t.default);
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
}, Dt = (e) => {
|
|
107
|
-
e.use(
|
|
107
|
+
e.use(Et), e.use(jt);
|
|
108
108
|
}, qf = {
|
|
109
109
|
install: Dt
|
|
110
110
|
// SdFormRender,
|
|
@@ -131,7 +131,7 @@ function Vt(e, i, t, l, r, h) {
|
|
|
131
131
|
class: y(["container-wrapper", [e.customClass]]),
|
|
132
132
|
style: { position: "relative" }
|
|
133
133
|
}, [
|
|
134
|
-
|
|
134
|
+
ye(e.$slots, "default"),
|
|
135
135
|
e.annotated() && (e.field.component == "object-group" || e.field.component == "sub-form") ? (o(), d(s, {
|
|
136
136
|
key: 0,
|
|
137
137
|
type: "info",
|
|
@@ -140,13 +140,13 @@ 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
|
+
P(v(e.field.options.name), 1)
|
|
144
144
|
]),
|
|
145
145
|
_: 1
|
|
146
146
|
})) : b("", !0)
|
|
147
147
|
], 2);
|
|
148
148
|
}
|
|
149
|
-
const A = /* @__PURE__ */
|
|
149
|
+
const A = /* @__PURE__ */ M(Tt, [["render", Vt]]), Se = I({
|
|
150
150
|
props: {
|
|
151
151
|
field: Object,
|
|
152
152
|
objGroupName: {
|
|
@@ -308,7 +308,7 @@ const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se = I({
|
|
|
308
308
|
}), i > -1 && this.field.options.customClass.splice(i, 1);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
}),
|
|
311
|
+
}), H = I({
|
|
312
312
|
data() {
|
|
313
313
|
return {
|
|
314
314
|
sdEvents: {},
|
|
@@ -386,7 +386,7 @@ const A = /* @__PURE__ */ R(Tt, [["render", Vt]]), Se = I({
|
|
|
386
386
|
ContainerRenderWrapper: A
|
|
387
387
|
// ...FieldComponents,
|
|
388
388
|
},
|
|
389
|
-
mixins: [X,
|
|
389
|
+
mixins: [X, H],
|
|
390
390
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
391
391
|
computed: {},
|
|
392
392
|
data() {
|
|
@@ -449,7 +449,7 @@ function Ut(e, i, t, l, r, h) {
|
|
|
449
449
|
_: 1
|
|
450
450
|
}, 8, ["field"]);
|
|
451
451
|
}
|
|
452
|
-
const Bt = /* @__PURE__ */
|
|
452
|
+
const Bt = /* @__PURE__ */ M(zt, [["render", Ut], ["__scopeId", "data-v-b4c85525"]]), At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
453
453
|
__proto__: null,
|
|
454
454
|
default: Bt
|
|
455
455
|
}, Symbol.toStringTag, { value: "Module" })), Nt = I({
|
|
@@ -459,7 +459,7 @@ const Bt = /* @__PURE__ */ R(zt, [["render", Ut], ["__scopeId", "data-v-b4c85525
|
|
|
459
459
|
ContainerRenderWrapper: A
|
|
460
460
|
// ...FieldComponents,
|
|
461
461
|
},
|
|
462
|
-
mixins: [X,
|
|
462
|
+
mixins: [X, H],
|
|
463
463
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
464
464
|
computed: {},
|
|
465
465
|
data() {
|
|
@@ -482,18 +482,18 @@ const Bt = /* @__PURE__ */ R(zt, [["render", Ut], ["__scopeId", "data-v-b4c85525
|
|
|
482
482
|
beforeUnmount() {
|
|
483
483
|
this.unregisterFromRefList();
|
|
484
484
|
}
|
|
485
|
-
}),
|
|
485
|
+
}), Wt = {
|
|
486
486
|
key: 0,
|
|
487
487
|
class: "custom-label"
|
|
488
488
|
};
|
|
489
|
-
function
|
|
490
|
-
const s = U, u = ee, p = J("arrow-down"), g = J("arrow-up"), w =
|
|
489
|
+
function Ht(e, i, t, l, r, h) {
|
|
490
|
+
const s = U, u = ee, p = J("arrow-down"), g = J("arrow-up"), w = re, L = 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(L, {
|
|
497
497
|
key: e.field.id,
|
|
498
498
|
class: y(["card-container", [
|
|
499
499
|
e.field.options.folded ? "folded" : "",
|
|
@@ -538,7 +538,7 @@ function Wt(e, i, t, l, r, h) {
|
|
|
538
538
|
class: "card-header clear-fix",
|
|
539
539
|
style: j({ color: e.field.options.labelColor })
|
|
540
540
|
}, [
|
|
541
|
-
e.field.options.labelIconClass ? (o(), c("span",
|
|
541
|
+
e.field.options.labelIconClass ? (o(), c("span", Wt, [
|
|
542
542
|
e.field.options.labelIconPosition === "front" ? (o(), c(F, { key: 0 }, [
|
|
543
543
|
e.field.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
544
544
|
m(u, {
|
|
@@ -553,18 +553,18 @@ function Wt(e, i, t, l, r, h) {
|
|
|
553
553
|
]),
|
|
554
554
|
_: 1
|
|
555
555
|
}, 8, ["content"]),
|
|
556
|
-
|
|
556
|
+
P(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
|
+
P(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
|
+
P(v(e.field.options.label), 1),
|
|
568
568
|
m(u, {
|
|
569
569
|
content: e.field.options.labelTooltip
|
|
570
570
|
}, {
|
|
@@ -578,7 +578,7 @@ function Wt(e, i, t, l, r, h) {
|
|
|
578
578
|
_: 1
|
|
579
579
|
}, 8, ["content"])
|
|
580
580
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
581
|
-
|
|
581
|
+
P(v(e.field.options.label), 1),
|
|
582
582
|
m(s, {
|
|
583
583
|
"icon-name": e.field.options.labelIconClass,
|
|
584
584
|
class: "ml-1",
|
|
@@ -613,7 +613,7 @@ function Wt(e, i, t, l, r, h) {
|
|
|
613
613
|
_: 1
|
|
614
614
|
}, 8, ["field"]);
|
|
615
615
|
}
|
|
616
|
-
const qt = /* @__PURE__ */
|
|
616
|
+
const qt = /* @__PURE__ */ M(Nt, [["render", Ht], ["__scopeId", "data-v-979ec39b"]]), Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
617
617
|
__proto__: null,
|
|
618
618
|
default: qt
|
|
619
619
|
}, Symbol.toStringTag, { value: "Module" })), Jt = I({
|
|
@@ -623,7 +623,7 @@ const qt = /* @__PURE__ */ R(Nt, [["render", Wt], ["__scopeId", "data-v-979ec39b
|
|
|
623
623
|
ContainerRenderWrapper: A
|
|
624
624
|
// ...FieldComponents,
|
|
625
625
|
},
|
|
626
|
-
mixins: [X,
|
|
626
|
+
mixins: [X, H],
|
|
627
627
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
628
628
|
computed: {
|
|
629
629
|
visibleTabs() {
|
|
@@ -657,7 +657,7 @@ const qt = /* @__PURE__ */ R(Nt, [["render", Wt], ["__scopeId", "data-v-979ec39b
|
|
|
657
657
|
}
|
|
658
658
|
}), Kt = { class: "custom-collapses-title" };
|
|
659
659
|
function Zt(e, i, t, l, r, h) {
|
|
660
|
-
const s = U, u =
|
|
660
|
+
const s = U, u = Wi, p = Ni, g = A;
|
|
661
661
|
return o(), d(g, {
|
|
662
662
|
field: e.field,
|
|
663
663
|
style: { "margin-bottom": "15px" }
|
|
@@ -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, L) => (o(), d(u, {
|
|
679
|
+
key: L,
|
|
680
680
|
title: w.options.label,
|
|
681
681
|
disabled: w.options.disabled,
|
|
682
682
|
name: w.options.name
|
|
@@ -723,7 +723,7 @@ function Zt(e, i, t, l, r, h) {
|
|
|
723
723
|
_: 1
|
|
724
724
|
}, 8, ["field"]);
|
|
725
725
|
}
|
|
726
|
-
const Qt = /* @__PURE__ */
|
|
726
|
+
const Qt = /* @__PURE__ */ M(Jt, [["render", Zt], ["__scopeId", "data-v-e477f3cf"]]), Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
727
727
|
__proto__: null,
|
|
728
728
|
default: Qt
|
|
729
729
|
}, Symbol.toStringTag, { value: "Module" })), Xt = I({
|
|
@@ -732,7 +732,7 @@ const Qt = /* @__PURE__ */ R(Jt, [["render", Zt], ["__scopeId", "data-v-e477f3cf
|
|
|
732
732
|
components: {
|
|
733
733
|
// ...FieldComponents,
|
|
734
734
|
},
|
|
735
|
-
mixins: [Se,
|
|
735
|
+
mixins: [Se, H],
|
|
736
736
|
inject: ["refList", "globalModel", "getFormConfig", "previewState"],
|
|
737
737
|
props: {
|
|
738
738
|
parentField: Object,
|
|
@@ -799,7 +799,7 @@ const Qt = /* @__PURE__ */ R(Jt, [["render", Zt], ["__scopeId", "data-v-e477f3cf
|
|
|
799
799
|
}
|
|
800
800
|
});
|
|
801
801
|
function _t(e, i, t, l, r, h) {
|
|
802
|
-
const s =
|
|
802
|
+
const s = de;
|
|
803
803
|
return Z((o(), d(s, De({
|
|
804
804
|
class: ["grid-cell", [e.customClass]]
|
|
805
805
|
}, e.layoutProps, {
|
|
@@ -832,14 +832,14 @@ function _t(e, i, t, l, r, h) {
|
|
|
832
832
|
[Q, !e.field.options.hidden]
|
|
833
833
|
]);
|
|
834
834
|
}
|
|
835
|
-
const ei = /* @__PURE__ */
|
|
835
|
+
const ei = /* @__PURE__ */ M(Xt, [["render", _t]]), xt = I({
|
|
836
836
|
name: "grid-render",
|
|
837
837
|
typeName: "FormContainer",
|
|
838
838
|
components: {
|
|
839
839
|
ContainerRenderWrapper: A,
|
|
840
840
|
GridColRender: ei
|
|
841
841
|
},
|
|
842
|
-
mixins: [X,
|
|
842
|
+
mixins: [X, H],
|
|
843
843
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
844
844
|
computed: {},
|
|
845
845
|
beforeCreate() {
|
|
@@ -855,7 +855,7 @@ const ei = /* @__PURE__ */ R(Xt, [["render", _t]]), xt = I({
|
|
|
855
855
|
}
|
|
856
856
|
});
|
|
857
857
|
function eo(e, i, t, l, r, h) {
|
|
858
|
-
const s = ei, u =
|
|
858
|
+
const s = ei, u = ae, p = A;
|
|
859
859
|
return o(), d(p, { field: e.field }, {
|
|
860
860
|
default: a(() => [
|
|
861
861
|
Z((o(), d(u, {
|
|
@@ -883,7 +883,7 @@ function eo(e, i, t, l, r, h) {
|
|
|
883
883
|
_: 1
|
|
884
884
|
}, 8, ["field"]);
|
|
885
885
|
}
|
|
886
|
-
const io = /* @__PURE__ */
|
|
886
|
+
const io = /* @__PURE__ */ M(xt, [["render", eo], ["__scopeId", "data-v-d240521c"]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
887
887
|
__proto__: null,
|
|
888
888
|
default: io
|
|
889
889
|
}, Symbol.toStringTag, { value: "Module" })), oo = I({
|
|
@@ -893,7 +893,7 @@ const io = /* @__PURE__ */ R(xt, [["render", eo], ["__scopeId", "data-v-d240521c
|
|
|
893
893
|
ContainerRenderWrapper: A
|
|
894
894
|
// ...FieldComponents,
|
|
895
895
|
},
|
|
896
|
-
mixins: [X,
|
|
896
|
+
mixins: [X, H],
|
|
897
897
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
898
898
|
computed: {},
|
|
899
899
|
beforeCreate() {
|
|
@@ -954,7 +954,7 @@ function lo(e, i, t, l, r, h) {
|
|
|
954
954
|
_: 1
|
|
955
955
|
}, 8, ["field"]);
|
|
956
956
|
}
|
|
957
|
-
const no = /* @__PURE__ */
|
|
957
|
+
const no = /* @__PURE__ */ M(oo, [["render", lo], ["__scopeId", "data-v-2e902e1a"]]), so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
958
958
|
__proto__: null,
|
|
959
959
|
default: no
|
|
960
960
|
}, Symbol.toStringTag, { value: "Module" })), ro = I({
|
|
@@ -964,7 +964,7 @@ const no = /* @__PURE__ */ R(oo, [["render", lo], ["__scopeId", "data-v-2e902e1a
|
|
|
964
964
|
ContainerRenderWrapper: A
|
|
965
965
|
// ...FieldComponents,
|
|
966
966
|
},
|
|
967
|
-
mixins: [X,
|
|
967
|
+
mixins: [X, H],
|
|
968
968
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
969
969
|
computed: {
|
|
970
970
|
getHeight() {
|
|
@@ -1005,7 +1005,7 @@ const no = /* @__PURE__ */ R(oo, [["render", lo], ["__scopeId", "data-v-2e902e1a
|
|
|
1005
1005
|
}
|
|
1006
1006
|
});
|
|
1007
1007
|
function ao(e, i, t, l, r, h) {
|
|
1008
|
-
const s =
|
|
1008
|
+
const s = Hi, u = A;
|
|
1009
1009
|
return o(), d(u, {
|
|
1010
1010
|
field: e.field,
|
|
1011
1011
|
style: { "margin-bottom": "0px" }
|
|
@@ -1054,7 +1054,7 @@ function ao(e, i, t, l, r, h) {
|
|
|
1054
1054
|
_: 1
|
|
1055
1055
|
}, 8, ["field"]);
|
|
1056
1056
|
}
|
|
1057
|
-
const fo = /* @__PURE__ */
|
|
1057
|
+
const fo = /* @__PURE__ */ M(ro, [["render", ao], ["__scopeId", "data-v-e3cade02"]]), uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1058
1058
|
__proto__: null,
|
|
1059
1059
|
default: fo
|
|
1060
1060
|
}, Symbol.toStringTag, { value: "Module" })), po = I({
|
|
@@ -1064,7 +1064,7 @@ const fo = /* @__PURE__ */ R(ro, [["render", ao], ["__scopeId", "data-v-e3cade02
|
|
|
1064
1064
|
ContainerRenderWrapper: A
|
|
1065
1065
|
// ...FieldComponents,
|
|
1066
1066
|
},
|
|
1067
|
-
mixins: [X,
|
|
1067
|
+
mixins: [X, H],
|
|
1068
1068
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1069
1069
|
computed: {},
|
|
1070
1070
|
beforeCreate() {
|
|
@@ -1127,7 +1127,7 @@ function mo(e, i, t, l, r, h) {
|
|
|
1127
1127
|
_: 1
|
|
1128
1128
|
}, 8, ["field", "style"]);
|
|
1129
1129
|
}
|
|
1130
|
-
const ho = /* @__PURE__ */
|
|
1130
|
+
const ho = /* @__PURE__ */ M(po, [["render", mo], ["__scopeId", "data-v-cafd5b38"]]), co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1131
1131
|
__proto__: null,
|
|
1132
1132
|
default: ho
|
|
1133
1133
|
}, Symbol.toStringTag, { value: "Module" })), bo = I({
|
|
@@ -1137,7 +1137,7 @@ const ho = /* @__PURE__ */ R(po, [["render", mo], ["__scopeId", "data-v-cafd5b38
|
|
|
1137
1137
|
ContainerRenderWrapper: A
|
|
1138
1138
|
// ...FieldComponents,
|
|
1139
1139
|
},
|
|
1140
|
-
mixins: [X,
|
|
1140
|
+
mixins: [X, H],
|
|
1141
1141
|
inject: ["refList", "sfRefList", "globalModel", "getFormConfig"],
|
|
1142
1142
|
//, 'getFormConfig'
|
|
1143
1143
|
data() {
|
|
@@ -1369,8 +1369,8 @@ const ho = /* @__PURE__ */ R(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 =
|
|
1373
|
-
return o(), d(
|
|
1372
|
+
const s = U, u = G, p = de, g = ae, w = ee, L = A;
|
|
1373
|
+
return o(), d(L, {
|
|
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
|
+
P(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
|
+
P(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
|
+
P(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
|
+
P(v(n.options.label), 1),
|
|
1494
1494
|
m(s, {
|
|
1495
1495
|
"icon-name": n.options.labelIconClass,
|
|
1496
1496
|
class: "ml-1",
|
|
@@ -1657,7 +1657,7 @@ function vo(e, i, t, l, r, h) {
|
|
|
1657
1657
|
_: 1
|
|
1658
1658
|
}, 8, ["field"]);
|
|
1659
1659
|
}
|
|
1660
|
-
const wo = /* @__PURE__ */
|
|
1660
|
+
const wo = /* @__PURE__ */ M(bo, [["render", vo], ["__scopeId", "data-v-993001bb"]]), Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1661
1661
|
__proto__: null,
|
|
1662
1662
|
default: wo
|
|
1663
1663
|
}, Symbol.toStringTag, { value: "Module" })), Io = I({
|
|
@@ -1667,7 +1667,7 @@ const wo = /* @__PURE__ */ R(bo, [["render", vo], ["__scopeId", "data-v-993001bb
|
|
|
1667
1667
|
ContainerRenderWrapper: A
|
|
1668
1668
|
// ...FieldComponents,
|
|
1669
1669
|
},
|
|
1670
|
-
mixins: [X,
|
|
1670
|
+
mixins: [X, H],
|
|
1671
1671
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1672
1672
|
computed: {
|
|
1673
1673
|
visibleTabs() {
|
|
@@ -1694,7 +1694,7 @@ const wo = /* @__PURE__ */ R(bo, [["render", vo], ["__scopeId", "data-v-993001bb
|
|
|
1694
1694
|
this.unregisterFromRefList();
|
|
1695
1695
|
}
|
|
1696
1696
|
}), So = { class: "custom-tabs-label" };
|
|
1697
|
-
function
|
|
1697
|
+
function Mo(e, i, t, l, r, h) {
|
|
1698
1698
|
const s = U, u = Ji, p = Gi, g = A;
|
|
1699
1699
|
return o(), d(g, {
|
|
1700
1700
|
field: e.field,
|
|
@@ -1714,8 +1714,8 @@ function Ro(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, L) => (o(), d(u, {
|
|
1718
|
+
key: L,
|
|
1719
1719
|
label: w.options.label,
|
|
1720
1720
|
disabled: w.options.disabled,
|
|
1721
1721
|
name: w.options.name
|
|
@@ -1762,16 +1762,16 @@ function Ro(e, i, t, l, r, h) {
|
|
|
1762
1762
|
_: 1
|
|
1763
1763
|
}, 8, ["field"]);
|
|
1764
1764
|
}
|
|
1765
|
-
const
|
|
1765
|
+
const Oo = /* @__PURE__ */ M(Io, [["render", Mo], ["__scopeId", "data-v-d5481f2a"]]), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1766
1766
|
__proto__: null,
|
|
1767
|
-
default:
|
|
1767
|
+
default: Oo
|
|
1768
1768
|
}, Symbol.toStringTag, { value: "Module" })), ko = I({
|
|
1769
1769
|
name: "table-cell-render",
|
|
1770
1770
|
typeName: "FormContainer",
|
|
1771
1771
|
components: {
|
|
1772
1772
|
// ...FieldComponents,
|
|
1773
1773
|
},
|
|
1774
|
-
mixins: [Se,
|
|
1774
|
+
mixins: [Se, H],
|
|
1775
1775
|
inject: ["refList", "globalModel"],
|
|
1776
1776
|
props: {
|
|
1777
1777
|
parentField: Object,
|
|
@@ -1797,8 +1797,8 @@ const Mo = /* @__PURE__ */ R(Io, [["render", Ro], ["__scopeId", "data-v-d5481f2a
|
|
|
1797
1797
|
methods: {},
|
|
1798
1798
|
beforeUnmount() {
|
|
1799
1799
|
}
|
|
1800
|
-
}),
|
|
1801
|
-
function
|
|
1800
|
+
}), $o = ["colspan", "rowspan"];
|
|
1801
|
+
function Lo(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,
|
|
@@ -1824,16 +1824,16 @@ function $o(e, i, t, l, r, h) {
|
|
|
1824
1824
|
"obj-group-name": e.objGroupName ? e.objGroupName : ""
|
|
1825
1825
|
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-field", "obj-group-name"]))
|
|
1826
1826
|
], 64))), 256))
|
|
1827
|
-
], 14,
|
|
1827
|
+
], 14, $o);
|
|
1828
1828
|
}
|
|
1829
|
-
const ii = /* @__PURE__ */
|
|
1829
|
+
const ii = /* @__PURE__ */ M(ko, [["render", Lo], ["__scopeId", "data-v-7cfc555a"]]), Po = I({
|
|
1830
1830
|
name: "table-render",
|
|
1831
1831
|
typeName: "FormContainer",
|
|
1832
1832
|
components: {
|
|
1833
1833
|
ContainerRenderWrapper: A,
|
|
1834
1834
|
TableCellRender: ii
|
|
1835
1835
|
},
|
|
1836
|
-
mixins: [X,
|
|
1836
|
+
mixins: [X, H],
|
|
1837
1837
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1838
1838
|
computed: {
|
|
1839
1839
|
bordered() {
|
|
@@ -1852,7 +1852,7 @@ const ii = /* @__PURE__ */ R(ko, [["render", $o], ["__scopeId", "data-v-7cfc555a
|
|
|
1852
1852
|
this.unregisterFromRefList();
|
|
1853
1853
|
}
|
|
1854
1854
|
});
|
|
1855
|
-
function
|
|
1855
|
+
function Eo(e, i, t, l, r, h) {
|
|
1856
1856
|
const s = ii, u = A;
|
|
1857
1857
|
return o(), d(u, {
|
|
1858
1858
|
field: e.field,
|
|
@@ -1871,16 +1871,16 @@ function Lo(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, L) => (o(), c(F, null, [
|
|
1875
1875
|
w.merged ? b("", !0) : (o(), d(s, {
|
|
1876
1876
|
field: w,
|
|
1877
|
-
key:
|
|
1877
|
+
key: L,
|
|
1878
1878
|
"parent-list": e.field.cols,
|
|
1879
|
-
"index-of-parent-list":
|
|
1879
|
+
"index-of-parent-list": L,
|
|
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": L
|
|
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 Lo(e, i, t, l, r, h) {
|
|
|
1893
1893
|
_: 1
|
|
1894
1894
|
}, 8, ["field"]);
|
|
1895
1895
|
}
|
|
1896
|
-
const jo = /* @__PURE__ */
|
|
1896
|
+
const jo = /* @__PURE__ */ M(Po, [["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 = {
|
|
@@ -2007,7 +2007,7 @@ const jo = /* @__PURE__ */ R(Eo, [["render", Lo], ["__scopeId", "data-v-9a38d6aa
|
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
2009
|
}
|
|
2010
|
-
}),
|
|
2010
|
+
}), Me = I({
|
|
2011
2011
|
name: "StaticContentWrapper",
|
|
2012
2012
|
components: {},
|
|
2013
2013
|
mixins: [oi],
|
|
@@ -2029,8 +2029,8 @@ const jo = /* @__PURE__ */ R(Eo, [["render", Lo], ["__scopeId", "data-v-9a38d6aa
|
|
|
2029
2029
|
Te((e) => ({
|
|
2030
2030
|
v2de7e8dc: e.fieldColor
|
|
2031
2031
|
}));
|
|
2032
|
-
},
|
|
2033
|
-
|
|
2032
|
+
}, $e = Me.setup;
|
|
2033
|
+
Me.setup = $e ? (e, i) => (ke(), $e(e, i)) : ke;
|
|
2034
2034
|
const To = {
|
|
2035
2035
|
key: 0,
|
|
2036
2036
|
class: "field-action"
|
|
@@ -2049,7 +2049,7 @@ function Bo(e, i, t, l, r, h) {
|
|
|
2049
2049
|
style: j({ display: e.displayStyle }),
|
|
2050
2050
|
onClick: i[0] || (i[0] = z((u) => e.selectField(e.field), ["stop"]))
|
|
2051
2051
|
}, [
|
|
2052
|
-
|
|
2052
|
+
ye(e.$slots, "default", {}, void 0, !0)
|
|
2053
2053
|
], 6)) : b("", !0),
|
|
2054
2054
|
e.builder ? (o(), c(F, { key: 1 }, [
|
|
2055
2055
|
e.builder.selectedId === e.field.id ? (o(), c("div", To, [
|
|
@@ -2110,7 +2110,7 @@ function Bo(e, i, t, l, r, h) {
|
|
|
2110
2110
|
], 64)) : b("", !0)
|
|
2111
2111
|
], 2);
|
|
2112
2112
|
}
|
|
2113
|
-
const
|
|
2113
|
+
const E = /* @__PURE__ */ M(Me, [["render", Bo], ["__scopeId", "data-v-67efe709"]]), Ao = function(e) {
|
|
2114
2114
|
return {
|
|
2115
2115
|
number: "/^[-]?\\d+(\\.\\d+)?$/",
|
|
2116
2116
|
letter: "/^[A-Za-z]+$/",
|
|
@@ -2130,7 +2130,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2130
2130
|
variableFull: "/^[A-Za-z|_id][A-Za-z0-9_]+$/"
|
|
2131
2131
|
}[e];
|
|
2132
2132
|
}, q = function(e, i, t, l, r) {
|
|
2133
|
-
if (
|
|
2133
|
+
if (pe(t) || t.length <= 0) {
|
|
2134
2134
|
l();
|
|
2135
2135
|
return;
|
|
2136
2136
|
}
|
|
@@ -2140,7 +2140,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2140
2140
|
let u = i.errorMsg || r;
|
|
2141
2141
|
l(new Error(u));
|
|
2142
2142
|
}
|
|
2143
|
-
},
|
|
2143
|
+
}, ge = {
|
|
2144
2144
|
number(e, i, t) {
|
|
2145
2145
|
q("number", e, i, t, "[" + e.label + "] contains non-numeric characters");
|
|
2146
2146
|
},
|
|
@@ -2181,7 +2181,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2181
2181
|
q("variableFull", e, i, t, "[" + e.label + "] must be in English or numbers only and do not contain spaces.");
|
|
2182
2182
|
},
|
|
2183
2183
|
regExp(e, i, t) {
|
|
2184
|
-
if (
|
|
2184
|
+
if (pe(i) || i.length <= 0) {
|
|
2185
2185
|
t();
|
|
2186
2186
|
return;
|
|
2187
2187
|
}
|
|
@@ -2193,7 +2193,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2193
2193
|
}
|
|
2194
2194
|
},
|
|
2195
2195
|
citizenId(e, i, t) {
|
|
2196
|
-
if (
|
|
2196
|
+
if (pe(i) || i.length <= 0) {
|
|
2197
2197
|
t();
|
|
2198
2198
|
return;
|
|
2199
2199
|
}
|
|
@@ -2204,8 +2204,8 @@ const L = /* @__PURE__ */ R(Re, [["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, L = Number(r.charAt(g)) * w;
|
|
2208
|
+
h = h + L;
|
|
2209
2209
|
}
|
|
2210
2210
|
let p = (11 - h % 11) % 10;
|
|
2211
2211
|
if (Number(r.charAt(0)) === p)
|
|
@@ -2215,9 +2215,9 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2215
2215
|
t(new Error(g));
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
|
-
},
|
|
2218
|
+
}, $ = I({
|
|
2219
2219
|
props: ti,
|
|
2220
|
-
mixins: [
|
|
2220
|
+
mixins: [H],
|
|
2221
2221
|
data() {
|
|
2222
2222
|
return {
|
|
2223
2223
|
oldFieldValue: null,
|
|
@@ -2262,6 +2262,22 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2262
2262
|
set(e) {
|
|
2263
2263
|
e != null ? this.setFieldValue(e) : this.setFieldValue(null);
|
|
2264
2264
|
}
|
|
2265
|
+
},
|
|
2266
|
+
parentId() {
|
|
2267
|
+
let e = "", i = 0;
|
|
2268
|
+
const t = this.getFormRef();
|
|
2269
|
+
if (this.field.options.defaultFilterParent && !this.field.options.dependEnable) {
|
|
2270
|
+
if (t && t.sdform) {
|
|
2271
|
+
const l = t.sdform._id ? t.sdform._id : null;
|
|
2272
|
+
if (this.fieldEditor && this.fieldEditor.getParentFormId && this.fieldEditor.getParentFormId === l)
|
|
2273
|
+
return t && t.formParams ? i = t.formParams.xrstatx ? t.formParams.xrstatx : 0 : i = this.formParams && this.formParams.xrstatx ? this.formParams.xrstatx : 0, e = t.formDataId, !this.builderStatus && e && (i ? this.show() : this.hide()), e;
|
|
2274
|
+
}
|
|
2275
|
+
} else if (this.field.options.parentPath)
|
|
2276
|
+
return t && t.formParams ? (e = le(t.formParams, this.field.options.parentPath) || "", i = t.formParams.xrstatx ? t.formParams.xrstatx : 0) : (e = le(this.formParams, this.field.options.parentPath) || "", i = this.formParams && this.formParams.xrstatx ? this.formParams.xrstatx : 0), !this.builderStatus && e && (i ? this.show() : this.hide()), e;
|
|
2277
|
+
return e;
|
|
2278
|
+
},
|
|
2279
|
+
params() {
|
|
2280
|
+
return this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams : this.formParams ? this.formParams : {};
|
|
2265
2281
|
}
|
|
2266
2282
|
},
|
|
2267
2283
|
inject: ["globalUserState"],
|
|
@@ -2275,7 +2291,8 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2275
2291
|
globalUserState: null,
|
|
2276
2292
|
globalApiUrl: null,
|
|
2277
2293
|
globalAuthToken: null,
|
|
2278
|
-
globalSdForm: null
|
|
2294
|
+
globalSdForm: null,
|
|
2295
|
+
formParams: {}
|
|
2279
2296
|
};
|
|
2280
2297
|
},
|
|
2281
2298
|
methods: {
|
|
@@ -2509,21 +2526,21 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2509
2526
|
this.enableOptionOfList(this.field.options.optionItems, e);
|
|
2510
2527
|
},
|
|
2511
2528
|
dayjs(e) {
|
|
2512
|
-
return
|
|
2529
|
+
return ne(e);
|
|
2513
2530
|
},
|
|
2514
2531
|
getAge(e, i = "YYYY-MM-DD") {
|
|
2515
|
-
let t =
|
|
2532
|
+
let t = ne(e, i), l = ne(), r = l.diff(t, "year"), h = l.diff(t, "month"), s = l.diff(t, "day");
|
|
2516
2533
|
var u = h % 12;
|
|
2517
2534
|
return { ageOfYear: r, monthOfYear: u, ageOfMonth: h, ageOfDay: s };
|
|
2518
2535
|
},
|
|
2519
2536
|
genUidTime() {
|
|
2520
|
-
return
|
|
2537
|
+
return Fe();
|
|
2521
2538
|
},
|
|
2522
2539
|
generateId() {
|
|
2523
2540
|
return te();
|
|
2524
2541
|
},
|
|
2525
2542
|
isNull() {
|
|
2526
|
-
return
|
|
2543
|
+
return pe(this.getValue());
|
|
2527
2544
|
},
|
|
2528
2545
|
isNotNull() {
|
|
2529
2546
|
return Ue(this.getValue());
|
|
@@ -2556,7 +2573,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2556
2573
|
return di(e, i, t);
|
|
2557
2574
|
},
|
|
2558
2575
|
getObjectByPath(e, i) {
|
|
2559
|
-
return
|
|
2576
|
+
return le(e, i);
|
|
2560
2577
|
},
|
|
2561
2578
|
getQueryParam(e) {
|
|
2562
2579
|
return ri(e);
|
|
@@ -2720,13 +2737,13 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2720
2737
|
trigger: [],
|
|
2721
2738
|
label: this.field.options.label,
|
|
2722
2739
|
errorMsg: this.field.options.validationHint
|
|
2723
|
-
}) :
|
|
2724
|
-
validator:
|
|
2740
|
+
}) : ge[i] ? this.rules.push({
|
|
2741
|
+
validator: ge[i],
|
|
2725
2742
|
trigger: [],
|
|
2726
2743
|
label: this.field.options.label,
|
|
2727
2744
|
errorMsg: this.field.options.validationHint
|
|
2728
2745
|
}) : this.rules.push({
|
|
2729
|
-
validator:
|
|
2746
|
+
validator: ge.regExp,
|
|
2730
2747
|
trigger: [],
|
|
2731
2748
|
regExp: i,
|
|
2732
2749
|
label: this.field.options.label,
|
|
@@ -2977,9 +2994,9 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2977
2994
|
name: "alert-ui",
|
|
2978
2995
|
typeName: "FormField",
|
|
2979
2996
|
components: {
|
|
2980
|
-
StaticContentWrapper:
|
|
2997
|
+
StaticContentWrapper: E
|
|
2981
2998
|
},
|
|
2982
|
-
mixins: [
|
|
2999
|
+
mixins: [$],
|
|
2983
3000
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
2984
3001
|
beforeCreate() {
|
|
2985
3002
|
},
|
|
@@ -2991,7 +3008,7 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
2991
3008
|
},
|
|
2992
3009
|
setup() {
|
|
2993
3010
|
return {
|
|
2994
|
-
fieldEditor:
|
|
3011
|
+
fieldEditor: R(null)
|
|
2995
3012
|
};
|
|
2996
3013
|
},
|
|
2997
3014
|
methods: {
|
|
@@ -3007,8 +3024,8 @@ const L = /* @__PURE__ */ R(Re, [["render", Bo], ["__scopeId", "data-v-67efe709"
|
|
|
3007
3024
|
this.unregisterFromRefList();
|
|
3008
3025
|
}
|
|
3009
3026
|
});
|
|
3010
|
-
function
|
|
3011
|
-
const s =
|
|
3027
|
+
function Wo(e, i, t, l, r, h) {
|
|
3028
|
+
const s = We, u = E;
|
|
3012
3029
|
return o(), d(u, {
|
|
3013
3030
|
"build-rules": e.rules,
|
|
3014
3031
|
field: e.field,
|
|
@@ -3040,23 +3057,23 @@ function Ho(e, i, t, l, r, h) {
|
|
|
3040
3057
|
_: 1
|
|
3041
3058
|
}, 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"]);
|
|
3042
3059
|
}
|
|
3043
|
-
const
|
|
3060
|
+
const Ho = /* @__PURE__ */ M(No, [["render", Wo], ["__scopeId", "data-v-cd17f1da"]]), qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3044
3061
|
__proto__: null,
|
|
3045
|
-
default:
|
|
3062
|
+
default: Ho
|
|
3046
3063
|
}, Symbol.toStringTag, { value: "Module" })), Go = I({
|
|
3047
3064
|
name: "apexchart-ui",
|
|
3048
3065
|
typeName: "FormField",
|
|
3049
3066
|
components: {
|
|
3050
|
-
StaticContentWrapper:
|
|
3067
|
+
StaticContentWrapper: E
|
|
3051
3068
|
// SdChart,
|
|
3052
3069
|
},
|
|
3053
|
-
mixins: [
|
|
3070
|
+
mixins: [$],
|
|
3054
3071
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
3055
3072
|
beforeCreate() {
|
|
3056
3073
|
},
|
|
3057
3074
|
data() {
|
|
3058
3075
|
return {
|
|
3059
|
-
isDark:
|
|
3076
|
+
isDark: W()
|
|
3060
3077
|
};
|
|
3061
3078
|
},
|
|
3062
3079
|
computed: {
|
|
@@ -3071,7 +3088,7 @@ const Wo = /* @__PURE__ */ R(No, [["render", Ho], ["__scopeId", "data-v-cd17f1da
|
|
|
3071
3088
|
this.registerToRefList(), this.handleOnMounted();
|
|
3072
3089
|
},
|
|
3073
3090
|
setup() {
|
|
3074
|
-
const e =
|
|
3091
|
+
const e = R(null), i = N("formParams", {});
|
|
3075
3092
|
return {
|
|
3076
3093
|
fieldEditor: e,
|
|
3077
3094
|
formParams: i
|
|
@@ -3091,7 +3108,7 @@ const Wo = /* @__PURE__ */ R(No, [["render", Ho], ["__scopeId", "data-v-cd17f1da
|
|
|
3091
3108
|
}
|
|
3092
3109
|
});
|
|
3093
3110
|
function Jo(e, i, t, l, r, h) {
|
|
3094
|
-
const s = Fi, u =
|
|
3111
|
+
const s = Fi, u = E;
|
|
3095
3112
|
return o(), d(u, {
|
|
3096
3113
|
"build-rules": e.rules,
|
|
3097
3114
|
field: e.field,
|
|
@@ -3151,10 +3168,10 @@ function Jo(e, i, t, l, r, h) {
|
|
|
3151
3168
|
_: 1
|
|
3152
3169
|
}, 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"]);
|
|
3153
3170
|
}
|
|
3154
|
-
const Ko = /* @__PURE__ */
|
|
3171
|
+
const Ko = /* @__PURE__ */ M(Go, [["render", Jo], ["__scopeId", "data-v-d1bf8e60"]]), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3155
3172
|
__proto__: null,
|
|
3156
3173
|
default: Ko
|
|
3157
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3174
|
+
}, Symbol.toStringTag, { value: "Module" })), Oe = I({
|
|
3158
3175
|
name: "FormItemWrapper",
|
|
3159
3176
|
components: {},
|
|
3160
3177
|
mixins: [oi],
|
|
@@ -3167,13 +3184,13 @@ const Ko = /* @__PURE__ */ R(Go, [["render", Jo], ["__scopeId", "data-v-d1bf8e60
|
|
|
3167
3184
|
container: "#e6a23c"
|
|
3168
3185
|
};
|
|
3169
3186
|
return e.field.category != null ? f[e.field.category] : "#409EFF";
|
|
3170
|
-
}), t = N("getFormConfig"), l = N("annotated"), r = N("refList"), h = Y(() => t()), s = Y(() => !(r && r[e.field.options.name])), u = Y(() => e.field.options.labelHidden ? "" : e.field.options.label), p = Y(() => e.field.options.size != null ? e.field.options.size : e.builder.formConfig.size), g = Y(() => e.field.options.labelHidden ? 0 : e.field.options.labelWidth ? e.field.options.labelWidth : e.builder ? e.builder.formConfig.labelWidth : h.value.labelWidth), w = Y(() => e.field.options.labelAlign ? e.field.options.labelAlign : e.builder ? e.builder.formConfig.labelAlign || "label-left-align" : h.value.labelAlign || "label-left-align"),
|
|
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"), L = Y(() => e.parentField ? e.parentField.options.name : ""), n = Y(() => e.parentField ? e.parentField.component === "sub-form" : !1);
|
|
3171
3188
|
return {
|
|
3172
3189
|
formConfig: h,
|
|
3173
3190
|
label: u,
|
|
3174
3191
|
labelWidth: g,
|
|
3175
3192
|
labelAlign: w,
|
|
3176
|
-
subFormName:
|
|
3193
|
+
subFormName: L,
|
|
3177
3194
|
subFormItemFlag: n,
|
|
3178
3195
|
widgetSize: p,
|
|
3179
3196
|
fieldColor: i,
|
|
@@ -3186,12 +3203,12 @@ const Ko = /* @__PURE__ */ R(Go, [["render", Jo], ["__scopeId", "data-v-d1bf8e60
|
|
|
3186
3203
|
return this.subFormItemFlag && !this.builderStatus ? this.subFormName + "." + this.subFormRowIndex + "." + this.field.options.name : this.field.options.name;
|
|
3187
3204
|
}
|
|
3188
3205
|
}
|
|
3189
|
-
}),
|
|
3206
|
+
}), Le = () => {
|
|
3190
3207
|
Te((e) => ({
|
|
3191
3208
|
v44e8eb22: e.fieldColor
|
|
3192
3209
|
}));
|
|
3193
|
-
},
|
|
3194
|
-
|
|
3210
|
+
}, Pe = Oe.setup;
|
|
3211
|
+
Oe.setup = Pe ? (e, i) => (Le(), Pe(e, i)) : Le;
|
|
3195
3212
|
const Qo = ["data-id"], Yo = {
|
|
3196
3213
|
key: 0,
|
|
3197
3214
|
class: "field-action"
|
|
@@ -3200,7 +3217,7 @@ const Qo = ["data-id"], Yo = {
|
|
|
3200
3217
|
class: "drag-handler background-opacity"
|
|
3201
3218
|
}, _o = { title: "Drag" }, xo = { key: 0 }, el = { key: 1 };
|
|
3202
3219
|
function il(e, i, t, l, r, h) {
|
|
3203
|
-
const s = U, u = ee, p = we, g =
|
|
3220
|
+
const s = U, u = ee, p = we, g = He;
|
|
3204
3221
|
return o(), c("div", {
|
|
3205
3222
|
class: y(["field-wrapper", { "builder-time-bottom-margin": !!e.builder }]),
|
|
3206
3223
|
"data-id": e.field.options.name
|
|
@@ -3237,18 +3254,18 @@ function il(e, i, t, l, r, h) {
|
|
|
3237
3254
|
]),
|
|
3238
3255
|
_: 1
|
|
3239
3256
|
}, 8, ["content"]),
|
|
3240
|
-
|
|
3257
|
+
P(" " + v(e.label), 1)
|
|
3241
3258
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
3242
3259
|
m(s, {
|
|
3243
3260
|
"icon-name": e.field.options.labelIconClass,
|
|
3244
3261
|
class: "mr-1",
|
|
3245
3262
|
size: "13px"
|
|
3246
3263
|
}, null, 8, ["icon-name"]),
|
|
3247
|
-
|
|
3264
|
+
P(v(e.label), 1)
|
|
3248
3265
|
], 64))
|
|
3249
3266
|
], 64)) : e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
3250
3267
|
e.field.options.labelTooltip ? (o(), c(F, { key: 0 }, [
|
|
3251
|
-
|
|
3268
|
+
P(v(e.label) + " ", 1),
|
|
3252
3269
|
m(u, {
|
|
3253
3270
|
content: e.field.options.labelTooltip
|
|
3254
3271
|
}, {
|
|
@@ -3262,7 +3279,7 @@ function il(e, i, t, l, r, h) {
|
|
|
3262
3279
|
_: 1
|
|
3263
3280
|
}, 8, ["content"])
|
|
3264
3281
|
], 64)) : (o(), c(F, { key: 1 }, [
|
|
3265
|
-
|
|
3282
|
+
P(v(e.label) + " ", 1),
|
|
3266
3283
|
m(s, {
|
|
3267
3284
|
"icon-name": e.field.options.labelIconClass,
|
|
3268
3285
|
class: "ml-1",
|
|
@@ -3278,7 +3295,7 @@ function il(e, i, t, l, r, h) {
|
|
|
3278
3295
|
], 64))
|
|
3279
3296
|
]),
|
|
3280
3297
|
default: a(() => [
|
|
3281
|
-
|
|
3298
|
+
ye(e.$slots, "default", {}, void 0, !0),
|
|
3282
3299
|
e.annotated() ? (o(), d(p, {
|
|
3283
3300
|
key: 0,
|
|
3284
3301
|
type: "warning",
|
|
@@ -3287,7 +3304,7 @@ function il(e, i, t, l, r, h) {
|
|
|
3287
3304
|
style: { position: "absolute", top: "0", right: "0", "z-index": "999" }
|
|
3288
3305
|
}, {
|
|
3289
3306
|
default: a(() => [
|
|
3290
|
-
|
|
3307
|
+
P(v(e.field.options.name), 1)
|
|
3291
3308
|
]),
|
|
3292
3309
|
_: 1
|
|
3293
3310
|
})) : b("", !0)
|
|
@@ -3366,13 +3383,13 @@ function il(e, i, t, l, r, h) {
|
|
|
3366
3383
|
], 64)) : b("", !0)
|
|
3367
3384
|
], 10, Qo);
|
|
3368
3385
|
}
|
|
3369
|
-
const
|
|
3386
|
+
const O = /* @__PURE__ */ M(Oe, [["render", il], ["__scopeId", "data-v-0cb4e76b"]]), tl = I({
|
|
3370
3387
|
name: "autonumber-input",
|
|
3371
3388
|
typeName: "FormField",
|
|
3372
3389
|
components: {
|
|
3373
|
-
FormItemWrapper:
|
|
3390
|
+
FormItemWrapper: O
|
|
3374
3391
|
},
|
|
3375
|
-
mixins: [
|
|
3392
|
+
mixins: [$],
|
|
3376
3393
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
3377
3394
|
beforeCreate() {
|
|
3378
3395
|
},
|
|
@@ -3397,7 +3414,7 @@ const M = /* @__PURE__ */ R(Me, [["render", il], ["__scopeId", "data-v-0cb4e76b"
|
|
|
3397
3414
|
},
|
|
3398
3415
|
setup() {
|
|
3399
3416
|
return {
|
|
3400
|
-
fieldEditor:
|
|
3417
|
+
fieldEditor: R(null)
|
|
3401
3418
|
};
|
|
3402
3419
|
},
|
|
3403
3420
|
beforeUnmount() {
|
|
@@ -3405,7 +3422,7 @@ const M = /* @__PURE__ */ R(Me, [["render", il], ["__scopeId", "data-v-0cb4e76b"
|
|
|
3405
3422
|
}
|
|
3406
3423
|
});
|
|
3407
3424
|
function ol(e, i, t, l, r, h) {
|
|
3408
|
-
const s = U, u =
|
|
3425
|
+
const s = U, u = fe, p = O;
|
|
3409
3426
|
return o(), d(p, {
|
|
3410
3427
|
"build-rules": e.rules,
|
|
3411
3428
|
field: e.field,
|
|
@@ -3448,14 +3465,14 @@ function ol(e, i, t, l, r, h) {
|
|
|
3448
3465
|
e.field.options.prefixText ? {
|
|
3449
3466
|
name: "prepend",
|
|
3450
3467
|
fn: a(() => [
|
|
3451
|
-
|
|
3468
|
+
P(v(e.field.options.prefixText), 1)
|
|
3452
3469
|
]),
|
|
3453
3470
|
key: "0"
|
|
3454
3471
|
} : void 0,
|
|
3455
3472
|
e.field.options.suffixText ? {
|
|
3456
3473
|
name: "append",
|
|
3457
3474
|
fn: a(() => [
|
|
3458
|
-
|
|
3475
|
+
P(v(e.field.options.suffixText), 1)
|
|
3459
3476
|
]),
|
|
3460
3477
|
key: "1"
|
|
3461
3478
|
} : void 0,
|
|
@@ -3473,16 +3490,16 @@ function ol(e, i, t, l, r, h) {
|
|
|
3473
3490
|
_: 1
|
|
3474
3491
|
}, 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"]);
|
|
3475
3492
|
}
|
|
3476
|
-
const ll = /* @__PURE__ */
|
|
3493
|
+
const ll = /* @__PURE__ */ M(tl, [["render", ol]]), nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3477
3494
|
__proto__: null,
|
|
3478
3495
|
default: ll
|
|
3479
3496
|
}, Symbol.toStringTag, { value: "Module" })), sl = I({
|
|
3480
3497
|
name: "avatar-ui",
|
|
3481
3498
|
typeName: "FormField",
|
|
3482
3499
|
components: {
|
|
3483
|
-
StaticContentWrapper:
|
|
3500
|
+
StaticContentWrapper: E
|
|
3484
3501
|
},
|
|
3485
|
-
mixins: [
|
|
3502
|
+
mixins: [$],
|
|
3486
3503
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
3487
3504
|
beforeCreate() {
|
|
3488
3505
|
},
|
|
@@ -3494,7 +3511,7 @@ const ll = /* @__PURE__ */ R(tl, [["render", ol]]), nl = /* @__PURE__ */ Object.
|
|
|
3494
3511
|
},
|
|
3495
3512
|
setup() {
|
|
3496
3513
|
return {
|
|
3497
|
-
fieldEditor:
|
|
3514
|
+
fieldEditor: R(null)
|
|
3498
3515
|
};
|
|
3499
3516
|
},
|
|
3500
3517
|
methods: {
|
|
@@ -3511,7 +3528,7 @@ const ll = /* @__PURE__ */ R(tl, [["render", ol]]), nl = /* @__PURE__ */ Object.
|
|
|
3511
3528
|
}
|
|
3512
3529
|
});
|
|
3513
3530
|
function rl(e, i, t, l, r, h) {
|
|
3514
|
-
const s = Ki, u =
|
|
3531
|
+
const s = Ki, u = E;
|
|
3515
3532
|
return o(), d(u, {
|
|
3516
3533
|
"build-rules": e.rules,
|
|
3517
3534
|
field: e.field,
|
|
@@ -3542,17 +3559,17 @@ function rl(e, i, t, l, r, h) {
|
|
|
3542
3559
|
_: 1
|
|
3543
3560
|
}, 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"]);
|
|
3544
3561
|
}
|
|
3545
|
-
const dl = /* @__PURE__ */
|
|
3562
|
+
const dl = /* @__PURE__ */ M(sl, [["render", rl], ["__scopeId", "data-v-5d2fdf46"]]), al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3546
3563
|
__proto__: null,
|
|
3547
3564
|
default: dl
|
|
3548
3565
|
}, Symbol.toStringTag, { value: "Module" })), fl = I({
|
|
3549
3566
|
name: "btn-editor-input",
|
|
3550
3567
|
typeName: "FormField",
|
|
3551
3568
|
components: {
|
|
3552
|
-
FormItemWrapper:
|
|
3569
|
+
FormItemWrapper: O
|
|
3553
3570
|
// SdDynamicInput,
|
|
3554
3571
|
},
|
|
3555
|
-
mixins: [
|
|
3572
|
+
mixins: [$],
|
|
3556
3573
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
3557
3574
|
beforeCreate() {
|
|
3558
3575
|
},
|
|
@@ -3592,7 +3609,7 @@ const dl = /* @__PURE__ */ R(sl, [["render", rl], ["__scopeId", "data-v-5d2fdf46
|
|
|
3592
3609
|
},
|
|
3593
3610
|
setup() {
|
|
3594
3611
|
return {
|
|
3595
|
-
fieldEditor:
|
|
3612
|
+
fieldEditor: R(null)
|
|
3596
3613
|
};
|
|
3597
3614
|
},
|
|
3598
3615
|
methods: {
|
|
@@ -3611,7 +3628,7 @@ const dl = /* @__PURE__ */ R(sl, [["render", rl], ["__scopeId", "data-v-5d2fdf46
|
|
|
3611
3628
|
class: "el-dialog__title"
|
|
3612
3629
|
}, ml = { class: "dialog-footer" };
|
|
3613
3630
|
function hl(e, i, t, l, r, h) {
|
|
3614
|
-
const s = U, u = G, p = Be, g = qe, w =
|
|
3631
|
+
const s = U, u = G, p = Be, g = qe, w = O;
|
|
3615
3632
|
return o(), d(w, {
|
|
3616
3633
|
"build-rules": e.rules,
|
|
3617
3634
|
field: e.field,
|
|
@@ -3654,7 +3671,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3654
3671
|
"icon-name": "btn-editor",
|
|
3655
3672
|
class: "mr-1"
|
|
3656
3673
|
})),
|
|
3657
|
-
|
|
3674
|
+
P(" " + v(e.field.options.actionLabel ? e.field.options.actionLabel : "Edit"), 1)
|
|
3658
3675
|
]),
|
|
3659
3676
|
_: 1
|
|
3660
3677
|
}, 8, ["type", "onClick", "size", "disabled"]),
|
|
@@ -3662,7 +3679,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3662
3679
|
m(g, {
|
|
3663
3680
|
title: "Crop Picture",
|
|
3664
3681
|
modelValue: e.showPopupFlag,
|
|
3665
|
-
"onUpdate:modelValue": i[1] || (i[1] = (
|
|
3682
|
+
"onUpdate:modelValue": i[1] || (i[1] = (L) => e.showPopupFlag = L),
|
|
3666
3683
|
width: e.popupWidth,
|
|
3667
3684
|
"show-close": !1,
|
|
3668
3685
|
class: "dialog-grid dialog-form",
|
|
@@ -3671,7 +3688,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3671
3688
|
"close-on-press-escape": !1,
|
|
3672
3689
|
"destroy-on-close": !0
|
|
3673
3690
|
}, {
|
|
3674
|
-
header: a(({ close:
|
|
3691
|
+
header: a(({ close: L, titleId: n, titleClass: f }) => [
|
|
3675
3692
|
S("span", pl, v(e.field.options.label ? e.field.options.label : "Editor"), 1)
|
|
3676
3693
|
]),
|
|
3677
3694
|
footer: a(() => [
|
|
@@ -3681,7 +3698,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3681
3698
|
onClick: e.handleClose
|
|
3682
3699
|
}, {
|
|
3683
3700
|
default: a(() => [...i[2] || (i[2] = [
|
|
3684
|
-
|
|
3701
|
+
P("Close", -1)
|
|
3685
3702
|
])]),
|
|
3686
3703
|
_: 1
|
|
3687
3704
|
}, 8, ["onClick"])
|
|
@@ -3691,7 +3708,7 @@ function hl(e, i, t, l, r, h) {
|
|
|
3691
3708
|
m(p, {
|
|
3692
3709
|
ref: "fieldEditor",
|
|
3693
3710
|
modelValue: e.fieldValue,
|
|
3694
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
3711
|
+
"onUpdate:modelValue": i[0] || (i[0] = (L) => e.fieldValue = L),
|
|
3695
3712
|
size: e.widgetSize,
|
|
3696
3713
|
readonly: e.field.options.disabled || e.field.options.readonly,
|
|
3697
3714
|
"data-list": e.field.options.optionItems,
|
|
@@ -3710,23 +3727,23 @@ function hl(e, i, t, l, r, h) {
|
|
|
3710
3727
|
_: 1
|
|
3711
3728
|
}, 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"]);
|
|
3712
3729
|
}
|
|
3713
|
-
const cl = /* @__PURE__ */
|
|
3730
|
+
const cl = /* @__PURE__ */ M(fl, [["render", hl]]), bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3714
3731
|
__proto__: null,
|
|
3715
3732
|
default: cl
|
|
3716
3733
|
}, Symbol.toStringTag, { value: "Module" })), gl = I({
|
|
3717
3734
|
name: "button-ui",
|
|
3718
3735
|
typeName: "FormField",
|
|
3719
3736
|
components: {
|
|
3720
|
-
StaticContentWrapper:
|
|
3737
|
+
StaticContentWrapper: E
|
|
3721
3738
|
},
|
|
3722
|
-
mixins: [
|
|
3739
|
+
mixins: [$],
|
|
3723
3740
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
3724
3741
|
beforeCreate() {
|
|
3725
3742
|
},
|
|
3726
3743
|
computed: {},
|
|
3727
3744
|
data() {
|
|
3728
3745
|
return {
|
|
3729
|
-
isDark:
|
|
3746
|
+
isDark: W()
|
|
3730
3747
|
};
|
|
3731
3748
|
},
|
|
3732
3749
|
created() {
|
|
@@ -3737,7 +3754,7 @@ const cl = /* @__PURE__ */ R(fl, [["render", hl]]), bl = /* @__PURE__ */ Object.
|
|
|
3737
3754
|
},
|
|
3738
3755
|
setup() {
|
|
3739
3756
|
return {
|
|
3740
|
-
fieldEditor:
|
|
3757
|
+
fieldEditor: R(null)
|
|
3741
3758
|
};
|
|
3742
3759
|
},
|
|
3743
3760
|
methods: {
|
|
@@ -3761,8 +3778,8 @@ const cl = /* @__PURE__ */ R(fl, [["render", hl]]), bl = /* @__PURE__ */ Object.
|
|
|
3761
3778
|
}
|
|
3762
3779
|
});
|
|
3763
3780
|
function Fl(e, i, t, l, r, h) {
|
|
3764
|
-
const s = U, u = G, p =
|
|
3765
|
-
return o(), d(
|
|
3781
|
+
const s = U, u = G, p = ue, g = Zi, w = Qi, L = E;
|
|
3782
|
+
return o(), d(L, {
|
|
3766
3783
|
"build-rules": e.rules,
|
|
3767
3784
|
field: e.field,
|
|
3768
3785
|
builder: e.builder,
|
|
@@ -3964,23 +3981,23 @@ function Fl(e, i, t, l, r, h) {
|
|
|
3964
3981
|
_: 1
|
|
3965
3982
|
}, 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"]);
|
|
3966
3983
|
}
|
|
3967
|
-
const yl = /* @__PURE__ */
|
|
3984
|
+
const yl = /* @__PURE__ */ M(gl, [["render", Fl], ["__scopeId", "data-v-6ab688c8"]]), vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3968
3985
|
__proto__: null,
|
|
3969
3986
|
default: yl
|
|
3970
3987
|
}, Symbol.toStringTag, { value: "Module" })), wl = I({
|
|
3971
3988
|
name: "carousel-ui",
|
|
3972
3989
|
typeName: "FormField",
|
|
3973
3990
|
components: {
|
|
3974
|
-
StaticContentWrapper:
|
|
3991
|
+
StaticContentWrapper: E
|
|
3975
3992
|
// SdUiCarousel,
|
|
3976
3993
|
},
|
|
3977
|
-
mixins: [
|
|
3994
|
+
mixins: [$],
|
|
3978
3995
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
3979
3996
|
beforeCreate() {
|
|
3980
3997
|
},
|
|
3981
3998
|
data() {
|
|
3982
3999
|
return {
|
|
3983
|
-
isDark:
|
|
4000
|
+
isDark: W()
|
|
3984
4001
|
};
|
|
3985
4002
|
},
|
|
3986
4003
|
computed: {
|
|
@@ -3994,16 +4011,13 @@ const yl = /* @__PURE__ */ R(gl, [["render", Fl], ["__scopeId", "data-v-6ab688c8
|
|
|
3994
4011
|
} else
|
|
3995
4012
|
return;
|
|
3996
4013
|
},
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
return this.getFormRef().formParentId;
|
|
4005
|
-
}
|
|
4006
|
-
return this.field.options.parentPath ? this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams && this.getFormRef().formParams[this.field.options.parentPath] ? this.getFormRef().formParams[this.field.options.parentPath] : "" : this.formParams && this.formParams[this.field.options.parentPath] ? this.formParams[this.field.options.parentPath] : "" : "";
|
|
4014
|
+
showWhenParent() {
|
|
4015
|
+
if (this.field.options.showWhenParent && !this.builderStatus) {
|
|
4016
|
+
const e = this.getFormRef();
|
|
4017
|
+
let i = "";
|
|
4018
|
+
return e && e.formParams ? i = this.getObjectByPath(e.formParams, this.field.options.parentPath) || "" : i = this.getObjectByPath(this.formParams, this.field.options.parentPath) || "", !!i;
|
|
4019
|
+
} else
|
|
4020
|
+
return !0;
|
|
4007
4021
|
}
|
|
4008
4022
|
},
|
|
4009
4023
|
created() {
|
|
@@ -4013,7 +4027,7 @@ const yl = /* @__PURE__ */ R(gl, [["render", Fl], ["__scopeId", "data-v-6ab688c8
|
|
|
4013
4027
|
this.registerToRefList(), this.handleOnMounted();
|
|
4014
4028
|
},
|
|
4015
4029
|
setup() {
|
|
4016
|
-
const e =
|
|
4030
|
+
const e = R(null), i = N("formParams", {});
|
|
4017
4031
|
return {
|
|
4018
4032
|
fieldEditor: e,
|
|
4019
4033
|
formParams: i
|
|
@@ -4033,7 +4047,7 @@ const yl = /* @__PURE__ */ R(gl, [["render", Fl], ["__scopeId", "data-v-6ab688c8
|
|
|
4033
4047
|
}
|
|
4034
4048
|
});
|
|
4035
4049
|
function Cl(e, i, t, l, r, h) {
|
|
4036
|
-
const s = vi, u =
|
|
4050
|
+
const s = vi, u = E;
|
|
4037
4051
|
return o(), d(u, {
|
|
4038
4052
|
"build-rules": e.rules,
|
|
4039
4053
|
field: e.field,
|
|
@@ -4049,7 +4063,7 @@ function Cl(e, i, t, l, r, h) {
|
|
|
4049
4063
|
"sub-form-row-id": e.subFormRowId
|
|
4050
4064
|
}, {
|
|
4051
4065
|
default: a(() => [
|
|
4052
|
-
(o(), d(s, {
|
|
4066
|
+
e.showWhenParent ? (o(), d(s, {
|
|
4053
4067
|
ref: "fieldEditor",
|
|
4054
4068
|
key: e.field.id,
|
|
4055
4069
|
"form-id": e.field.options.formId,
|
|
@@ -4080,28 +4094,28 @@ function Cl(e, i, t, l, r, h) {
|
|
|
4080
4094
|
"enable-ws": !!e.field.options.enableWs,
|
|
4081
4095
|
"user-state": e.globalUserState,
|
|
4082
4096
|
"build-state": e.builderStatus
|
|
4083
|
-
}, 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"]))
|
|
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"])) : b("", !0)
|
|
4084
4098
|
]),
|
|
4085
4099
|
_: 1
|
|
4086
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"]);
|
|
4087
4101
|
}
|
|
4088
|
-
const Il = /* @__PURE__ */
|
|
4102
|
+
const Il = /* @__PURE__ */ M(wl, [["render", Cl], ["__scopeId", "data-v-ee833b5e"]]), Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4089
4103
|
__proto__: null,
|
|
4090
4104
|
default: Il
|
|
4091
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4105
|
+
}, Symbol.toStringTag, { value: "Module" })), Ml = I({
|
|
4092
4106
|
name: "chart-ui",
|
|
4093
4107
|
typeName: "FormField",
|
|
4094
4108
|
components: {
|
|
4095
|
-
StaticContentWrapper:
|
|
4109
|
+
StaticContentWrapper: E
|
|
4096
4110
|
// SdChart,
|
|
4097
4111
|
},
|
|
4098
|
-
mixins: [
|
|
4112
|
+
mixins: [$],
|
|
4099
4113
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
4100
4114
|
beforeCreate() {
|
|
4101
4115
|
},
|
|
4102
4116
|
data() {
|
|
4103
4117
|
return {
|
|
4104
|
-
isDark:
|
|
4118
|
+
isDark: W()
|
|
4105
4119
|
};
|
|
4106
4120
|
},
|
|
4107
4121
|
computed: {
|
|
@@ -4116,7 +4130,7 @@ const Il = /* @__PURE__ */ R(wl, [["render", Cl], ["__scopeId", "data-v-fb5896ff
|
|
|
4116
4130
|
this.registerToRefList(), this.handleOnMounted();
|
|
4117
4131
|
},
|
|
4118
4132
|
setup() {
|
|
4119
|
-
const e =
|
|
4133
|
+
const e = R(null), i = N("formParams", {});
|
|
4120
4134
|
return {
|
|
4121
4135
|
fieldEditor: e,
|
|
4122
4136
|
formParams: i
|
|
@@ -4135,8 +4149,8 @@ const Il = /* @__PURE__ */ R(wl, [["render", Cl], ["__scopeId", "data-v-fb5896ff
|
|
|
4135
4149
|
this.unregisterFromRefList();
|
|
4136
4150
|
}
|
|
4137
4151
|
});
|
|
4138
|
-
function
|
|
4139
|
-
const s = wi, u =
|
|
4152
|
+
function Ol(e, i, t, l, r, h) {
|
|
4153
|
+
const s = wi, u = E;
|
|
4140
4154
|
return o(), d(u, {
|
|
4141
4155
|
"build-rules": e.rules,
|
|
4142
4156
|
field: e.field,
|
|
@@ -4193,16 +4207,16 @@ function Ml(e, i, t, l, r, h) {
|
|
|
4193
4207
|
_: 1
|
|
4194
4208
|
}, 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"]);
|
|
4195
4209
|
}
|
|
4196
|
-
const
|
|
4210
|
+
const Rl = /* @__PURE__ */ M(Ml, [["render", Ol], ["__scopeId", "data-v-c0f6576e"]]), kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4197
4211
|
__proto__: null,
|
|
4198
|
-
default:
|
|
4199
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4212
|
+
default: Rl
|
|
4213
|
+
}, Symbol.toStringTag, { value: "Module" })), $l = I({
|
|
4200
4214
|
name: "checkbox-input",
|
|
4201
4215
|
typeName: "FormField",
|
|
4202
4216
|
components: {
|
|
4203
|
-
FormItemWrapper:
|
|
4217
|
+
FormItemWrapper: O
|
|
4204
4218
|
},
|
|
4205
|
-
mixins: [
|
|
4219
|
+
mixins: [$],
|
|
4206
4220
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
4207
4221
|
computed: {
|
|
4208
4222
|
fieldValue: {
|
|
@@ -4225,16 +4239,16 @@ const Ol = /* @__PURE__ */ R(Rl, [["render", Ml], ["__scopeId", "data-v-c0f6576e
|
|
|
4225
4239
|
},
|
|
4226
4240
|
setup() {
|
|
4227
4241
|
return {
|
|
4228
|
-
fieldEditor:
|
|
4242
|
+
fieldEditor: R(null)
|
|
4229
4243
|
};
|
|
4230
4244
|
},
|
|
4231
4245
|
beforeUnmount() {
|
|
4232
4246
|
this.unregisterFromRefList();
|
|
4233
4247
|
}
|
|
4234
4248
|
});
|
|
4235
|
-
function
|
|
4236
|
-
const s = Xi, u = _i, p =
|
|
4237
|
-
return o(), d(
|
|
4249
|
+
function Ll(e, i, t, l, r, h) {
|
|
4250
|
+
const s = Xi, u = _i, p = de, g = ae, w = Yi, L = O;
|
|
4251
|
+
return o(), d(L, {
|
|
4238
4252
|
"build-rules": e.rules,
|
|
4239
4253
|
field: e.field,
|
|
4240
4254
|
builder: e.builder,
|
|
@@ -4268,7 +4282,7 @@ function $l(e, i, t, l, r, h) {
|
|
|
4268
4282
|
style: j({ display: e.field.options.displayStyle })
|
|
4269
4283
|
}, {
|
|
4270
4284
|
default: a(() => [
|
|
4271
|
-
|
|
4285
|
+
P(v(n.label), 1)
|
|
4272
4286
|
]),
|
|
4273
4287
|
_: 2
|
|
4274
4288
|
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(), c(F, { key: 1 }, [
|
|
@@ -4286,7 +4300,7 @@ function $l(e, i, t, l, r, h) {
|
|
|
4286
4300
|
style: j({ display: e.field.options.displayStyle })
|
|
4287
4301
|
}, {
|
|
4288
4302
|
default: a(() => [
|
|
4289
|
-
|
|
4303
|
+
P(v(n.label), 1)
|
|
4290
4304
|
]),
|
|
4291
4305
|
_: 2
|
|
4292
4306
|
}, 1032, ["value", "disabled", "border", "style"]))
|
|
@@ -4303,7 +4317,7 @@ function $l(e, i, t, l, r, h) {
|
|
|
4303
4317
|
style: j({ display: e.field.options.displayStyle })
|
|
4304
4318
|
}, {
|
|
4305
4319
|
default: a(() => [
|
|
4306
|
-
|
|
4320
|
+
P(v(n.label), 1)
|
|
4307
4321
|
]),
|
|
4308
4322
|
_: 2
|
|
4309
4323
|
}, 1032, ["value", "disabled", "border", "style"]))), 128))
|
|
@@ -4315,17 +4329,17 @@ function $l(e, i, t, l, r, h) {
|
|
|
4315
4329
|
_: 1
|
|
4316
4330
|
}, 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"]);
|
|
4317
4331
|
}
|
|
4318
|
-
const
|
|
4332
|
+
const Pl = /* @__PURE__ */ M($l, [["render", Ll], ["__scopeId", "data-v-41c9d41a"]]), El = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4319
4333
|
__proto__: null,
|
|
4320
|
-
default:
|
|
4334
|
+
default: Pl
|
|
4321
4335
|
}, Symbol.toStringTag, { value: "Module" })), jl = I({
|
|
4322
4336
|
name: "code-input",
|
|
4323
4337
|
typeName: "FormField",
|
|
4324
4338
|
components: {
|
|
4325
|
-
FormItemWrapper:
|
|
4339
|
+
FormItemWrapper: O
|
|
4326
4340
|
// SdAceEditor,
|
|
4327
4341
|
},
|
|
4328
|
-
mixins: [
|
|
4342
|
+
mixins: [$],
|
|
4329
4343
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
4330
4344
|
computed: {
|
|
4331
4345
|
fieldValue: {
|
|
@@ -4348,12 +4362,12 @@ const El = /* @__PURE__ */ R(Pl, [["render", $l], ["__scopeId", "data-v-41c9d41a
|
|
|
4348
4362
|
},
|
|
4349
4363
|
data() {
|
|
4350
4364
|
return {
|
|
4351
|
-
isDark:
|
|
4365
|
+
isDark: W()
|
|
4352
4366
|
};
|
|
4353
4367
|
},
|
|
4354
4368
|
setup() {
|
|
4355
4369
|
return {
|
|
4356
|
-
fieldEditor:
|
|
4370
|
+
fieldEditor: R(null)
|
|
4357
4371
|
};
|
|
4358
4372
|
},
|
|
4359
4373
|
beforeUnmount() {
|
|
@@ -4361,7 +4375,7 @@ const El = /* @__PURE__ */ R(Pl, [["render", $l], ["__scopeId", "data-v-41c9d41a
|
|
|
4361
4375
|
}
|
|
4362
4376
|
});
|
|
4363
4377
|
function Dl(e, i, t, l, r, h) {
|
|
4364
|
-
const s = Ci, u =
|
|
4378
|
+
const s = Ci, u = O;
|
|
4365
4379
|
return o(), d(u, {
|
|
4366
4380
|
"build-rules": e.rules,
|
|
4367
4381
|
field: e.field,
|
|
@@ -4403,16 +4417,16 @@ function Dl(e, i, t, l, r, h) {
|
|
|
4403
4417
|
_: 1
|
|
4404
4418
|
}, 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"]);
|
|
4405
4419
|
}
|
|
4406
|
-
const Tl = /* @__PURE__ */
|
|
4420
|
+
const Tl = /* @__PURE__ */ M(jl, [["render", Dl], ["__scopeId", "data-v-300c6300"]]), Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4407
4421
|
__proto__: null,
|
|
4408
4422
|
default: Tl
|
|
4409
4423
|
}, Symbol.toStringTag, { value: "Module" })), zl = I({
|
|
4410
4424
|
name: "color-input",
|
|
4411
4425
|
typeName: "FormField",
|
|
4412
4426
|
components: {
|
|
4413
|
-
FormItemWrapper:
|
|
4427
|
+
FormItemWrapper: O
|
|
4414
4428
|
},
|
|
4415
|
-
mixins: [
|
|
4429
|
+
mixins: [$],
|
|
4416
4430
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
4417
4431
|
computed: {
|
|
4418
4432
|
fieldValue: {
|
|
@@ -4434,7 +4448,7 @@ const Tl = /* @__PURE__ */ R(jl, [["render", Dl], ["__scopeId", "data-v-300c6300
|
|
|
4434
4448
|
this.registerToRefList(), this.handleOnMounted();
|
|
4435
4449
|
},
|
|
4436
4450
|
setup() {
|
|
4437
|
-
const e =
|
|
4451
|
+
const e = R(null), i = R(["#409EFF", "#67C23A", "#E6A23C", "#F56C6C", "#626aef", "#909399", "#303133", "#606266", "#D4D7DE", "#EBEDF0"]);
|
|
4438
4452
|
return {
|
|
4439
4453
|
fieldEditor: e,
|
|
4440
4454
|
predefineColors: i
|
|
@@ -4445,7 +4459,7 @@ const Tl = /* @__PURE__ */ R(jl, [["render", Dl], ["__scopeId", "data-v-300c6300
|
|
|
4445
4459
|
}
|
|
4446
4460
|
});
|
|
4447
4461
|
function Ul(e, i, t, l, r, h) {
|
|
4448
|
-
const s = xi, u =
|
|
4462
|
+
const s = xi, u = O;
|
|
4449
4463
|
return o(), d(u, {
|
|
4450
4464
|
"build-rules": e.rules,
|
|
4451
4465
|
field: e.field,
|
|
@@ -4473,17 +4487,17 @@ function Ul(e, i, t, l, r, h) {
|
|
|
4473
4487
|
_: 1
|
|
4474
4488
|
}, 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"]);
|
|
4475
4489
|
}
|
|
4476
|
-
const Bl = /* @__PURE__ */
|
|
4490
|
+
const Bl = /* @__PURE__ */ M(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8"]]), Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4477
4491
|
__proto__: null,
|
|
4478
4492
|
default: Bl
|
|
4479
4493
|
}, Symbol.toStringTag, { value: "Module" })), Nl = I({
|
|
4480
4494
|
name: "crop-upload-input",
|
|
4481
4495
|
typeName: "FormField",
|
|
4482
4496
|
components: {
|
|
4483
|
-
FormItemWrapper:
|
|
4497
|
+
FormItemWrapper: O
|
|
4484
4498
|
// SdCropImageInput,
|
|
4485
4499
|
},
|
|
4486
|
-
mixins: [
|
|
4500
|
+
mixins: [$],
|
|
4487
4501
|
data() {
|
|
4488
4502
|
return {
|
|
4489
4503
|
// isDisabled: this.field.options.disabled,
|
|
@@ -4511,7 +4525,7 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4511
4525
|
this.registerToRefList(), this.field.options.disabled, this.handleOnMounted();
|
|
4512
4526
|
},
|
|
4513
4527
|
setup() {
|
|
4514
|
-
const e =
|
|
4528
|
+
const e = R(null), i = R(null);
|
|
4515
4529
|
return {
|
|
4516
4530
|
fieldEditor: e,
|
|
4517
4531
|
imageRef: i
|
|
@@ -4524,7 +4538,7 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4524
4538
|
handlePictureUpload(e) {
|
|
4525
4539
|
e.toBlob(async (i) => {
|
|
4526
4540
|
const t = new FormData();
|
|
4527
|
-
t.append("file", i, "crop-file.png"), t.append("formId", this.globalSdForm._id), t.append("category", "cropper"), await
|
|
4541
|
+
t.append("file", i, "crop-file.png"), t.append("formId", this.globalSdForm._id), t.append("category", "cropper"), await me.post(this.realUploadURL, t, {
|
|
4528
4542
|
headers: {
|
|
4529
4543
|
Authorization: `Bearer ${this.globalAuthToken}`,
|
|
4530
4544
|
"Content-Type": "multipart/form-data"
|
|
@@ -4535,7 +4549,7 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4535
4549
|
name: r.fileName,
|
|
4536
4550
|
status: "success",
|
|
4537
4551
|
url: r.filePath,
|
|
4538
|
-
uid:
|
|
4552
|
+
uid: Fe(),
|
|
4539
4553
|
response: r
|
|
4540
4554
|
}, s = [h];
|
|
4541
4555
|
let u = null;
|
|
@@ -4552,7 +4566,7 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4552
4566
|
const r = {
|
|
4553
4567
|
name: "crop-file.png",
|
|
4554
4568
|
status: "fail",
|
|
4555
|
-
uid:
|
|
4569
|
+
uid: Fe()
|
|
4556
4570
|
};
|
|
4557
4571
|
this.handleUploadError(l, r, [r]), this.alert(l.message, "warning");
|
|
4558
4572
|
});
|
|
@@ -4586,7 +4600,7 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4586
4600
|
},
|
|
4587
4601
|
handlePictureRemove(e) {
|
|
4588
4602
|
const i = e.response;
|
|
4589
|
-
this.handleBeforeRemove(this.fileList),
|
|
4603
|
+
this.handleBeforeRemove(this.fileList), me.delete(`${this.globalUserState.host}/v1/files/remove-one`, {
|
|
4590
4604
|
data: i,
|
|
4591
4605
|
headers: {
|
|
4592
4606
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -4605,8 +4619,8 @@ const Bl = /* @__PURE__ */ R(zl, [["render", Ul], ["__scopeId", "data-v-a95a64b8
|
|
|
4605
4619
|
}
|
|
4606
4620
|
}
|
|
4607
4621
|
});
|
|
4608
|
-
function
|
|
4609
|
-
const s = Ii, u =
|
|
4622
|
+
function Wl(e, i, t, l, r, h) {
|
|
4623
|
+
const s = Ii, u = O;
|
|
4610
4624
|
return o(), d(u, {
|
|
4611
4625
|
"build-rules": e.rules,
|
|
4612
4626
|
field: e.field,
|
|
@@ -4638,24 +4652,24 @@ function Hl(e, i, t, l, r, h) {
|
|
|
4638
4652
|
_: 1
|
|
4639
4653
|
}, 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"]);
|
|
4640
4654
|
}
|
|
4641
|
-
const
|
|
4655
|
+
const Hl = /* @__PURE__ */ M(Nl, [["render", Wl], ["__scopeId", "data-v-28d9cfc6"]]), ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4642
4656
|
__proto__: null,
|
|
4643
|
-
default:
|
|
4657
|
+
default: Hl
|
|
4644
4658
|
}, Symbol.toStringTag, { value: "Module" })), Gl = I({
|
|
4645
4659
|
name: "datagrid-form-ui",
|
|
4646
4660
|
typeName: "FormField",
|
|
4647
4661
|
components: {
|
|
4648
|
-
StaticContentWrapper:
|
|
4662
|
+
StaticContentWrapper: E
|
|
4649
4663
|
// SdCrudGrid,
|
|
4650
4664
|
// SdReport,
|
|
4651
4665
|
},
|
|
4652
|
-
mixins: [
|
|
4666
|
+
mixins: [$],
|
|
4653
4667
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
4654
4668
|
beforeCreate() {
|
|
4655
4669
|
},
|
|
4656
4670
|
data() {
|
|
4657
4671
|
return {
|
|
4658
|
-
isDark:
|
|
4672
|
+
isDark: W()
|
|
4659
4673
|
};
|
|
4660
4674
|
},
|
|
4661
4675
|
computed: {
|
|
@@ -4676,16 +4690,13 @@ const Wl = /* @__PURE__ */ R(Nl, [["render", Hl], ["__scopeId", "data-v-28d9cfc6
|
|
|
4676
4690
|
providerType: "SQL"
|
|
4677
4691
|
};
|
|
4678
4692
|
},
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
return this.getFormRef().formParentId;
|
|
4687
|
-
}
|
|
4688
|
-
return this.field.options.parentPath ? this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams && this.getFormRef().formParams[this.field.options.parentPath] ? this.getFormRef().formParams[this.field.options.parentPath] : "" : this.formParams && this.formParams[this.field.options.parentPath] ? this.formParams[this.field.options.parentPath] : "" : "";
|
|
4693
|
+
showWhenParent() {
|
|
4694
|
+
if (this.field.options.showWhenParent && !this.builderStatus) {
|
|
4695
|
+
const e = this.getFormRef();
|
|
4696
|
+
let i = "";
|
|
4697
|
+
return e && e.formParams ? i = this.getObjectByPath(e.formParams, this.field.options.parentPath) || "" : i = this.getObjectByPath(this.formParams, this.field.options.parentPath) || "", !!i;
|
|
4698
|
+
} else
|
|
4699
|
+
return !0;
|
|
4689
4700
|
}
|
|
4690
4701
|
},
|
|
4691
4702
|
created() {
|
|
@@ -4695,7 +4706,7 @@ const Wl = /* @__PURE__ */ R(Nl, [["render", Hl], ["__scopeId", "data-v-28d9cfc6
|
|
|
4695
4706
|
this.registerToRefList(), this.handleOnMounted();
|
|
4696
4707
|
},
|
|
4697
4708
|
setup() {
|
|
4698
|
-
const e =
|
|
4709
|
+
const e = R(null), i = N("formParams", {});
|
|
4699
4710
|
return {
|
|
4700
4711
|
fieldEditor: e,
|
|
4701
4712
|
formParams: i
|
|
@@ -4785,8 +4796,8 @@ const Wl = /* @__PURE__ */ R(Nl, [["render", Hl], ["__scopeId", "data-v-28d9cfc6
|
|
|
4785
4796
|
}
|
|
4786
4797
|
});
|
|
4787
4798
|
function Jl(e, i, t, l, r, h) {
|
|
4788
|
-
const s = U, u = G, p =
|
|
4789
|
-
return o(), d(
|
|
4799
|
+
const s = U, u = G, p = ue, g = se, w = Ae, L = E;
|
|
4800
|
+
return o(), d(L, {
|
|
4790
4801
|
"build-rules": e.rules,
|
|
4791
4802
|
field: e.field,
|
|
4792
4803
|
builder: e.builder,
|
|
@@ -4801,7 +4812,7 @@ function Jl(e, i, t, l, r, h) {
|
|
|
4801
4812
|
"sub-form-row-id": e.subFormRowId
|
|
4802
4813
|
}, {
|
|
4803
4814
|
default: a(() => [
|
|
4804
|
-
(o(), d(w, {
|
|
4815
|
+
e.showWhenParent ? (o(), d(w, {
|
|
4805
4816
|
ref: "fieldEditor",
|
|
4806
4817
|
key: e.field.id,
|
|
4807
4818
|
"form-id": e.field.options.formId,
|
|
@@ -4861,7 +4872,7 @@ function Jl(e, i, t, l, r, h) {
|
|
|
4861
4872
|
n.confirm ? (o(), d(p, {
|
|
4862
4873
|
key: 0,
|
|
4863
4874
|
title: n.confirmTitle,
|
|
4864
|
-
onConfirm: (k) => e.emitButtonBarClick(n, f)
|
|
4875
|
+
onConfirm: (k) => e.emitButtonBarClick(n, Number(f))
|
|
4865
4876
|
}, {
|
|
4866
4877
|
reference: a(() => [
|
|
4867
4878
|
m(u, {
|
|
@@ -4906,7 +4917,7 @@ function Jl(e, i, t, l, r, h) {
|
|
|
4906
4917
|
tag: n.tag,
|
|
4907
4918
|
href: n.tag && n.tag == "a" ? n.href : "",
|
|
4908
4919
|
target: n.blank ? "_blank" : "_self",
|
|
4909
|
-
onClick: z((k) => e.emitButtonBarClick(n, f), ["prevent"])
|
|
4920
|
+
onClick: z((k) => e.emitButtonBarClick(n, Number(f)), ["prevent"])
|
|
4910
4921
|
}, {
|
|
4911
4922
|
default: a(() => [
|
|
4912
4923
|
n.prefixIcon ? (o(), d(s, {
|
|
@@ -4937,7 +4948,7 @@ function Jl(e, i, t, l, r, h) {
|
|
|
4937
4948
|
f.confirm ? (o(), d(p, {
|
|
4938
4949
|
key: 0,
|
|
4939
4950
|
title: f.confirmTitle,
|
|
4940
|
-
onConfirm: (V) => e.emitButtonRowClick(f, k, n.row, n.index)
|
|
4951
|
+
onConfirm: (V) => e.emitButtonRowClick(f, Number(k), n.row, n.index)
|
|
4941
4952
|
}, {
|
|
4942
4953
|
reference: a(() => [
|
|
4943
4954
|
m(u, {
|
|
@@ -4984,7 +4995,7 @@ function Jl(e, i, t, l, r, h) {
|
|
|
4984
4995
|
tag: f.tag,
|
|
4985
4996
|
href: f.tag && f.tag == "a" ? f.href : "",
|
|
4986
4997
|
target: f.blank ? "_blank" : "_self",
|
|
4987
|
-
onClick: z((V) => e.emitButtonRowClick(f, k, n.row, n.index), ["prevent"])
|
|
4998
|
+
onClick: z((V) => e.emitButtonRowClick(f, Number(k), n.row, n.index), ["prevent"])
|
|
4988
4999
|
}, {
|
|
4989
5000
|
default: a(() => [
|
|
4990
5001
|
f.prefixIcon ? (o(), d(s, {
|
|
@@ -5004,29 +5015,29 @@ function Jl(e, i, t, l, r, h) {
|
|
|
5004
5015
|
], 64))), 256)) : b("", !0)
|
|
5005
5016
|
]),
|
|
5006
5017
|
_: 1
|
|
5007
|
-
}, 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"]))
|
|
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"])) : b("", !0)
|
|
5008
5019
|
]),
|
|
5009
5020
|
_: 1
|
|
5010
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"]);
|
|
5011
5022
|
}
|
|
5012
|
-
const Kl = /* @__PURE__ */
|
|
5023
|
+
const Kl = /* @__PURE__ */ M(Gl, [["render", Jl], ["__scopeId", "data-v-07023ab6"]]), Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5013
5024
|
__proto__: null,
|
|
5014
5025
|
default: Kl
|
|
5015
5026
|
}, Symbol.toStringTag, { value: "Module" })), Ql = I({
|
|
5016
5027
|
name: "datagrid-sql-ui",
|
|
5017
5028
|
typeName: "FormField",
|
|
5018
5029
|
components: {
|
|
5019
|
-
StaticContentWrapper:
|
|
5030
|
+
StaticContentWrapper: E
|
|
5020
5031
|
// SdCrudGrid,
|
|
5021
5032
|
// SdReport,
|
|
5022
5033
|
},
|
|
5023
|
-
mixins: [
|
|
5034
|
+
mixins: [$],
|
|
5024
5035
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
5025
5036
|
beforeCreate() {
|
|
5026
5037
|
},
|
|
5027
5038
|
data() {
|
|
5028
5039
|
return {
|
|
5029
|
-
isDark:
|
|
5040
|
+
isDark: W()
|
|
5030
5041
|
};
|
|
5031
5042
|
},
|
|
5032
5043
|
computed: {
|
|
@@ -5066,7 +5077,7 @@ const Kl = /* @__PURE__ */ R(Gl, [["render", Jl], ["__scopeId", "data-v-ced6754f
|
|
|
5066
5077
|
this.registerToRefList(), this.handleOnMounted();
|
|
5067
5078
|
},
|
|
5068
5079
|
setup() {
|
|
5069
|
-
const e =
|
|
5080
|
+
const e = R(null), i = N("formParams", {});
|
|
5070
5081
|
return {
|
|
5071
5082
|
fieldEditor: e,
|
|
5072
5083
|
formParams: i
|
|
@@ -5156,8 +5167,8 @@ const Kl = /* @__PURE__ */ R(Gl, [["render", Jl], ["__scopeId", "data-v-ced6754f
|
|
|
5156
5167
|
}
|
|
5157
5168
|
});
|
|
5158
5169
|
function Yl(e, i, t, l, r, h) {
|
|
5159
|
-
const s = U, u = G, p =
|
|
5160
|
-
return o(), d(
|
|
5170
|
+
const s = U, u = G, p = ue, g = se, w = Ae, L = E;
|
|
5171
|
+
return o(), d(L, {
|
|
5161
5172
|
"build-rules": e.rules,
|
|
5162
5173
|
field: e.field,
|
|
5163
5174
|
builder: e.builder,
|
|
@@ -5354,16 +5365,16 @@ function Yl(e, i, t, l, r, h) {
|
|
|
5354
5365
|
_: 1
|
|
5355
5366
|
}, 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"]);
|
|
5356
5367
|
}
|
|
5357
|
-
const Xl = /* @__PURE__ */
|
|
5368
|
+
const Xl = /* @__PURE__ */ M(Ql, [["render", Yl], ["__scopeId", "data-v-c97dad86"]]), _l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5358
5369
|
__proto__: null,
|
|
5359
5370
|
default: Xl
|
|
5360
5371
|
}, Symbol.toStringTag, { value: "Module" })), xl = I({
|
|
5361
5372
|
name: "date-input",
|
|
5362
5373
|
typeName: "FormField",
|
|
5363
5374
|
components: {
|
|
5364
|
-
FormItemWrapper:
|
|
5375
|
+
FormItemWrapper: O
|
|
5365
5376
|
},
|
|
5366
|
-
mixins: [
|
|
5377
|
+
mixins: [$],
|
|
5367
5378
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
5368
5379
|
computed: {
|
|
5369
5380
|
fieldValue: {
|
|
@@ -5382,11 +5393,11 @@ const Xl = /* @__PURE__ */ R(Ql, [["render", Yl], ["__scopeId", "data-v-c97dad86
|
|
|
5382
5393
|
this.initFieldModel(), this.initEventHandler(), this.buildFieldRules(), this.handleOnCreated();
|
|
5383
5394
|
},
|
|
5384
5395
|
mounted() {
|
|
5385
|
-
this.registerToRefList(), this.field.options.initCurrent && this.field.options.valueFormat && this.setFieldValue(
|
|
5396
|
+
this.registerToRefList(), this.field.options.initCurrent && this.field.options.valueFormat && this.setFieldValue(ne().format(this.field.options.valueFormat)), this.handleOnMounted();
|
|
5386
5397
|
},
|
|
5387
5398
|
setup() {
|
|
5388
5399
|
return {
|
|
5389
|
-
fieldEditor:
|
|
5400
|
+
fieldEditor: R(null)
|
|
5390
5401
|
};
|
|
5391
5402
|
},
|
|
5392
5403
|
beforeUnmount() {
|
|
@@ -5394,7 +5405,7 @@ const Xl = /* @__PURE__ */ R(Ql, [["render", Yl], ["__scopeId", "data-v-c97dad86
|
|
|
5394
5405
|
}
|
|
5395
5406
|
});
|
|
5396
5407
|
function en(e, i, t, l, r, h) {
|
|
5397
|
-
const s = Ce, u =
|
|
5408
|
+
const s = Ce, u = O;
|
|
5398
5409
|
return o(), d(u, {
|
|
5399
5410
|
"build-rules": e.rules,
|
|
5400
5411
|
field: e.field,
|
|
@@ -5434,16 +5445,16 @@ function en(e, i, t, l, r, h) {
|
|
|
5434
5445
|
_: 1
|
|
5435
5446
|
}, 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"]);
|
|
5436
5447
|
}
|
|
5437
|
-
const tn = /* @__PURE__ */
|
|
5448
|
+
const tn = /* @__PURE__ */ M(xl, [["render", en], ["__scopeId", "data-v-9c2695f4"]]), on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5438
5449
|
__proto__: null,
|
|
5439
5450
|
default: tn
|
|
5440
5451
|
}, Symbol.toStringTag, { value: "Module" })), ln = I({
|
|
5441
5452
|
name: "date-range-input",
|
|
5442
5453
|
typeName: "FormField",
|
|
5443
5454
|
components: {
|
|
5444
|
-
FormItemWrapper:
|
|
5455
|
+
FormItemWrapper: O
|
|
5445
5456
|
},
|
|
5446
|
-
mixins: [
|
|
5457
|
+
mixins: [$],
|
|
5447
5458
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
5448
5459
|
computed: {
|
|
5449
5460
|
fieldValue: {
|
|
@@ -5465,7 +5476,7 @@ const tn = /* @__PURE__ */ R(xl, [["render", en], ["__scopeId", "data-v-9c2695f4
|
|
|
5465
5476
|
},
|
|
5466
5477
|
setup() {
|
|
5467
5478
|
return {
|
|
5468
|
-
fieldEditor:
|
|
5479
|
+
fieldEditor: R(null)
|
|
5469
5480
|
};
|
|
5470
5481
|
},
|
|
5471
5482
|
beforeUnmount() {
|
|
@@ -5473,7 +5484,7 @@ const tn = /* @__PURE__ */ R(xl, [["render", en], ["__scopeId", "data-v-9c2695f4
|
|
|
5473
5484
|
}
|
|
5474
5485
|
});
|
|
5475
5486
|
function nn(e, i, t, l, r, h) {
|
|
5476
|
-
const s = Ce, u =
|
|
5487
|
+
const s = Ce, u = O;
|
|
5477
5488
|
return o(), d(u, {
|
|
5478
5489
|
"build-rules": e.rules,
|
|
5479
5490
|
field: e.field,
|
|
@@ -5511,16 +5522,16 @@ function nn(e, i, t, l, r, h) {
|
|
|
5511
5522
|
_: 1
|
|
5512
5523
|
}, 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"]);
|
|
5513
5524
|
}
|
|
5514
|
-
const sn = /* @__PURE__ */
|
|
5525
|
+
const sn = /* @__PURE__ */ M(ln, [["render", nn], ["__scopeId", "data-v-f3d27354"]]), rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5515
5526
|
__proto__: null,
|
|
5516
5527
|
default: sn
|
|
5517
5528
|
}, Symbol.toStringTag, { value: "Module" })), dn = I({
|
|
5518
5529
|
name: "divider-ui",
|
|
5519
5530
|
typeName: "FormField",
|
|
5520
5531
|
components: {
|
|
5521
|
-
StaticContentWrapper:
|
|
5532
|
+
StaticContentWrapper: E
|
|
5522
5533
|
},
|
|
5523
|
-
mixins: [
|
|
5534
|
+
mixins: [$],
|
|
5524
5535
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
5525
5536
|
beforeCreate() {
|
|
5526
5537
|
},
|
|
@@ -5532,7 +5543,7 @@ const sn = /* @__PURE__ */ R(ln, [["render", nn], ["__scopeId", "data-v-f3d27354
|
|
|
5532
5543
|
},
|
|
5533
5544
|
setup() {
|
|
5534
5545
|
return {
|
|
5535
|
-
fieldEditor:
|
|
5546
|
+
fieldEditor: R(null)
|
|
5536
5547
|
};
|
|
5537
5548
|
},
|
|
5538
5549
|
beforeUnmount() {
|
|
@@ -5540,7 +5551,7 @@ const sn = /* @__PURE__ */ R(ln, [["render", nn], ["__scopeId", "data-v-f3d27354
|
|
|
5540
5551
|
}
|
|
5541
5552
|
});
|
|
5542
5553
|
function an(e, i, t, l, r, h) {
|
|
5543
|
-
const s = Ge, u =
|
|
5554
|
+
const s = Ge, u = E;
|
|
5544
5555
|
return o(), d(u, {
|
|
5545
5556
|
"build-rules": e.rules,
|
|
5546
5557
|
field: e.field,
|
|
@@ -5561,7 +5572,7 @@ function an(e, i, t, l, r, h) {
|
|
|
5561
5572
|
"content-position": e.field.options.contentPosition
|
|
5562
5573
|
}, {
|
|
5563
5574
|
default: a(() => [
|
|
5564
|
-
|
|
5575
|
+
P(v(e.field.options.label), 1)
|
|
5565
5576
|
]),
|
|
5566
5577
|
_: 1
|
|
5567
5578
|
}, 8, ["content-position"]))
|
|
@@ -5569,16 +5580,16 @@ function an(e, i, t, l, r, h) {
|
|
|
5569
5580
|
_: 1
|
|
5570
5581
|
}, 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"]);
|
|
5571
5582
|
}
|
|
5572
|
-
const fn = /* @__PURE__ */
|
|
5583
|
+
const fn = /* @__PURE__ */ M(dn, [["render", an]]), un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5573
5584
|
__proto__: null,
|
|
5574
5585
|
default: fn
|
|
5575
5586
|
}, Symbol.toStringTag, { value: "Module" })), pn = I({
|
|
5576
5587
|
name: "dropdown-ui",
|
|
5577
5588
|
typeName: "FormField",
|
|
5578
5589
|
components: {
|
|
5579
|
-
StaticContentWrapper:
|
|
5590
|
+
StaticContentWrapper: E
|
|
5580
5591
|
},
|
|
5581
|
-
mixins: [
|
|
5592
|
+
mixins: [$],
|
|
5582
5593
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
5583
5594
|
beforeCreate() {
|
|
5584
5595
|
},
|
|
@@ -5595,7 +5606,7 @@ const fn = /* @__PURE__ */ R(dn, [["render", an]]), un = /* @__PURE__ */ Object.
|
|
|
5595
5606
|
},
|
|
5596
5607
|
setup() {
|
|
5597
5608
|
return {
|
|
5598
|
-
fieldEditor:
|
|
5609
|
+
fieldEditor: R(null)
|
|
5599
5610
|
};
|
|
5600
5611
|
},
|
|
5601
5612
|
methods: {
|
|
@@ -5612,7 +5623,7 @@ const fn = /* @__PURE__ */ R(dn, [["render", an]]), un = /* @__PURE__ */ Object.
|
|
|
5612
5623
|
}
|
|
5613
5624
|
});
|
|
5614
5625
|
function mn(e, i, t, l, r, h) {
|
|
5615
|
-
const s = U, u = J("arrow-down"), p =
|
|
5626
|
+
const s = U, u = J("arrow-down"), p = re, g = G, w = tt, L = it, n = et, f = E;
|
|
5616
5627
|
return o(), d(f, {
|
|
5617
5628
|
"build-rules": e.rules,
|
|
5618
5629
|
field: e.field,
|
|
@@ -5640,7 +5651,7 @@ function mn(e, i, t, l, r, h) {
|
|
|
5640
5651
|
disabled: !!e.field.options.disabled
|
|
5641
5652
|
}, {
|
|
5642
5653
|
dropdown: a(() => [
|
|
5643
|
-
e.field.options.menuList && Object.keys(e.field.options.menuList).length > 0 ? (o(), d(
|
|
5654
|
+
e.field.options.menuList && Object.keys(e.field.options.menuList).length > 0 ? (o(), d(L, { key: 0 }, {
|
|
5644
5655
|
default: a(() => [
|
|
5645
5656
|
(o(!0), c(F, null, T(e.field.options.menuList, (k, V) => (o(), d(w, {
|
|
5646
5657
|
command: k.command,
|
|
@@ -5652,7 +5663,7 @@ function mn(e, i, t, l, r, h) {
|
|
|
5652
5663
|
key: 0,
|
|
5653
5664
|
"icon-name": k.icon
|
|
5654
5665
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5655
|
-
|
|
5666
|
+
P(" " + v(k.label), 1)
|
|
5656
5667
|
]),
|
|
5657
5668
|
_: 2
|
|
5658
5669
|
}, 1032, ["command", "divided", "disabled"]))), 256))
|
|
@@ -5673,7 +5684,7 @@ function mn(e, i, t, l, r, h) {
|
|
|
5673
5684
|
"icon-name": e.field.options.prefixIcon,
|
|
5674
5685
|
class: "mr-1"
|
|
5675
5686
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5676
|
-
|
|
5687
|
+
P(" " + v(e.field.options.label || "Menu") + " ", 1),
|
|
5677
5688
|
m(p, { class: "el-icon--right" }, {
|
|
5678
5689
|
default: a(() => [
|
|
5679
5690
|
m(u)
|
|
@@ -5691,7 +5702,7 @@ function mn(e, i, t, l, r, h) {
|
|
|
5691
5702
|
key: 0,
|
|
5692
5703
|
"icon-name": e.field.options.prefixIcon
|
|
5693
5704
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
5694
|
-
|
|
5705
|
+
P(" " + v(e.field.options.label || "Menu") + " ", 1),
|
|
5695
5706
|
m(p, { class: "el-icon--right" }, {
|
|
5696
5707
|
default: a(() => [
|
|
5697
5708
|
m(u)
|
|
@@ -5707,17 +5718,17 @@ function mn(e, i, t, l, r, h) {
|
|
|
5707
5718
|
_: 1
|
|
5708
5719
|
}, 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"]);
|
|
5709
5720
|
}
|
|
5710
|
-
const hn = /* @__PURE__ */
|
|
5721
|
+
const hn = /* @__PURE__ */ M(pn, [["render", mn], ["__scopeId", "data-v-d687104d"]]), cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5711
5722
|
__proto__: null,
|
|
5712
5723
|
default: hn
|
|
5713
5724
|
}, Symbol.toStringTag, { value: "Module" })), bn = I({
|
|
5714
5725
|
name: "dynamic-input",
|
|
5715
5726
|
typeName: "FormField",
|
|
5716
5727
|
components: {
|
|
5717
|
-
FormItemWrapper:
|
|
5728
|
+
FormItemWrapper: O
|
|
5718
5729
|
// SdDynamicInput,
|
|
5719
5730
|
},
|
|
5720
|
-
mixins: [
|
|
5731
|
+
mixins: [$],
|
|
5721
5732
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
5722
5733
|
beforeCreate() {
|
|
5723
5734
|
},
|
|
@@ -5746,7 +5757,7 @@ const hn = /* @__PURE__ */ R(pn, [["render", mn], ["__scopeId", "data-v-d687104d
|
|
|
5746
5757
|
},
|
|
5747
5758
|
setup() {
|
|
5748
5759
|
return {
|
|
5749
|
-
fieldEditor:
|
|
5760
|
+
fieldEditor: R(null)
|
|
5750
5761
|
};
|
|
5751
5762
|
},
|
|
5752
5763
|
methods: {},
|
|
@@ -5755,7 +5766,7 @@ const hn = /* @__PURE__ */ R(pn, [["render", mn], ["__scopeId", "data-v-d687104d
|
|
|
5755
5766
|
}
|
|
5756
5767
|
});
|
|
5757
5768
|
function gn(e, i, t, l, r, h) {
|
|
5758
|
-
const s = Be, u =
|
|
5769
|
+
const s = Be, u = O;
|
|
5759
5770
|
return o(), d(u, {
|
|
5760
5771
|
"build-rules": e.rules,
|
|
5761
5772
|
field: e.field,
|
|
@@ -5787,16 +5798,16 @@ function gn(e, i, t, l, r, h) {
|
|
|
5787
5798
|
_: 1
|
|
5788
5799
|
}, 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"]);
|
|
5789
5800
|
}
|
|
5790
|
-
const Fn = /* @__PURE__ */
|
|
5801
|
+
const Fn = /* @__PURE__ */ M(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5791
5802
|
__proto__: null,
|
|
5792
5803
|
default: Fn
|
|
5793
5804
|
}, Symbol.toStringTag, { value: "Module" })), vn = I({
|
|
5794
5805
|
name: "file-upload-input",
|
|
5795
5806
|
typeName: "FormField",
|
|
5796
5807
|
components: {
|
|
5797
|
-
FormItemWrapper:
|
|
5808
|
+
FormItemWrapper: O
|
|
5798
5809
|
},
|
|
5799
|
-
mixins: [
|
|
5810
|
+
mixins: [$],
|
|
5800
5811
|
data() {
|
|
5801
5812
|
return {
|
|
5802
5813
|
// isDisabled: this.field.options.disabled,
|
|
@@ -5821,7 +5832,7 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5821
5832
|
this.registerToRefList(), this.initApi(), this.field.options.disabled, this.handleOnMounted();
|
|
5822
5833
|
},
|
|
5823
5834
|
setup() {
|
|
5824
|
-
const e =
|
|
5835
|
+
const e = R(null), i = R(null);
|
|
5825
5836
|
return {
|
|
5826
5837
|
fieldEditor: e,
|
|
5827
5838
|
imageRef: i
|
|
@@ -5899,7 +5910,7 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5899
5910
|
cancelButtonText: "Cancel",
|
|
5900
5911
|
type: "warning"
|
|
5901
5912
|
}).then(() => {
|
|
5902
|
-
|
|
5913
|
+
me.delete(`${this.globalUserState.host}/v1/files/remove-one`, {
|
|
5903
5914
|
data: i,
|
|
5904
5915
|
headers: {
|
|
5905
5916
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -5930,12 +5941,12 @@ const Fn = /* @__PURE__ */ R(bn, [["render", gn]]), yn = /* @__PURE__ */ Object.
|
|
|
5930
5941
|
}), wn = { class: "upload-file-list" }, Cn = ["title"], In = ["href"], Sn = {
|
|
5931
5942
|
class: "el-icon-download file-action",
|
|
5932
5943
|
title: "Download"
|
|
5933
|
-
},
|
|
5944
|
+
}, Mn = ["onClick"], On = {
|
|
5934
5945
|
key: 0,
|
|
5935
5946
|
class: "el-upload__tip"
|
|
5936
5947
|
};
|
|
5937
|
-
function
|
|
5938
|
-
const s = G, u = J("Document"), p =
|
|
5948
|
+
function Rn(e, i, t, l, r, h) {
|
|
5949
|
+
const s = G, u = J("Document"), p = re, g = Ge, w = U, L = J("Delete"), n = Ie, f = O;
|
|
5939
5950
|
return o(), d(f, {
|
|
5940
5951
|
"build-rules": e.rules,
|
|
5941
5952
|
field: e.field,
|
|
@@ -5980,7 +5991,7 @@ function On(e, i, t, l, r, h) {
|
|
|
5980
5991
|
]),
|
|
5981
5992
|
_: 1
|
|
5982
5993
|
}),
|
|
5983
|
-
|
|
5994
|
+
P(" " + v(k.name), 1)
|
|
5984
5995
|
], 8, Cn),
|
|
5985
5996
|
m(g, { direction: "vertical" }),
|
|
5986
5997
|
S("a", {
|
|
@@ -6001,16 +6012,16 @@ function On(e, i, t, l, r, h) {
|
|
|
6001
6012
|
}, [
|
|
6002
6013
|
m(p, null, {
|
|
6003
6014
|
default: a(() => [
|
|
6004
|
-
m(
|
|
6015
|
+
m(L)
|
|
6005
6016
|
]),
|
|
6006
6017
|
_: 1
|
|
6007
6018
|
})
|
|
6008
|
-
], 8,
|
|
6019
|
+
], 8, Mn)
|
|
6009
6020
|
], 64))
|
|
6010
6021
|
])
|
|
6011
6022
|
]),
|
|
6012
6023
|
tip: a(() => [
|
|
6013
|
-
e.field.options.uploadTip ? (o(), c("div",
|
|
6024
|
+
e.field.options.uploadTip ? (o(), c("div", On, v(e.field.options.uploadTip), 1)) : b("", !0)
|
|
6014
6025
|
]),
|
|
6015
6026
|
default: a(() => [
|
|
6016
6027
|
m(s, {
|
|
@@ -6019,7 +6030,7 @@ function On(e, i, t, l, r, h) {
|
|
|
6019
6030
|
icon: "Plus"
|
|
6020
6031
|
}, {
|
|
6021
6032
|
default: a(() => [...i[1] || (i[1] = [
|
|
6022
|
-
|
|
6033
|
+
P("Click to upload", -1)
|
|
6023
6034
|
])]),
|
|
6024
6035
|
_: 1
|
|
6025
6036
|
})
|
|
@@ -6030,16 +6041,16 @@ function On(e, i, t, l, r, h) {
|
|
|
6030
6041
|
_: 1
|
|
6031
6042
|
}, 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"]);
|
|
6032
6043
|
}
|
|
6033
|
-
const kn = /* @__PURE__ */
|
|
6044
|
+
const kn = /* @__PURE__ */ M(vn, [["render", Rn], ["__scopeId", "data-v-37f6906e"]]), $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6034
6045
|
__proto__: null,
|
|
6035
6046
|
default: kn
|
|
6036
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6047
|
+
}, Symbol.toStringTag, { value: "Module" })), Ln = I({
|
|
6037
6048
|
name: "group-list-input",
|
|
6038
6049
|
typeName: "FormField",
|
|
6039
6050
|
components: {
|
|
6040
|
-
FormItemWrapper:
|
|
6051
|
+
FormItemWrapper: O
|
|
6041
6052
|
},
|
|
6042
|
-
mixins: [
|
|
6053
|
+
mixins: [$],
|
|
6043
6054
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
6044
6055
|
beforeCreate() {
|
|
6045
6056
|
},
|
|
@@ -6073,7 +6084,7 @@ const kn = /* @__PURE__ */ R(vn, [["render", On], ["__scopeId", "data-v-37f6906e
|
|
|
6073
6084
|
}
|
|
6074
6085
|
},
|
|
6075
6086
|
setup() {
|
|
6076
|
-
const e =
|
|
6087
|
+
const e = R(null), i = N("formParams", {});
|
|
6077
6088
|
return {
|
|
6078
6089
|
fieldEditor: e,
|
|
6079
6090
|
formParams: i
|
|
@@ -6124,8 +6135,8 @@ const kn = /* @__PURE__ */ R(vn, [["render", On], ["__scopeId", "data-v-37f6906e
|
|
|
6124
6135
|
this.unregisterFromRefList();
|
|
6125
6136
|
}
|
|
6126
6137
|
});
|
|
6127
|
-
function
|
|
6128
|
-
const s = ot, u =
|
|
6138
|
+
function Pn(e, i, t, l, r, h) {
|
|
6139
|
+
const s = ot, u = O;
|
|
6129
6140
|
return o(), d(u, {
|
|
6130
6141
|
"build-rules": e.rules,
|
|
6131
6142
|
field: e.field,
|
|
@@ -6175,17 +6186,17 @@ function En(e, i, t, l, r, h) {
|
|
|
6175
6186
|
_: 1
|
|
6176
6187
|
}, 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"]);
|
|
6177
6188
|
}
|
|
6178
|
-
const
|
|
6189
|
+
const En = /* @__PURE__ */ M(Ln, [["render", Pn], ["__scopeId", "data-v-621ec067"]]), jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6179
6190
|
__proto__: null,
|
|
6180
|
-
default:
|
|
6191
|
+
default: En
|
|
6181
6192
|
}, Symbol.toStringTag, { value: "Module" })), Dn = I({
|
|
6182
6193
|
name: "html-input",
|
|
6183
6194
|
typeName: "FormField",
|
|
6184
6195
|
components: {
|
|
6185
|
-
FormItemWrapper:
|
|
6196
|
+
FormItemWrapper: O
|
|
6186
6197
|
// SdHtmlEditor,
|
|
6187
6198
|
},
|
|
6188
|
-
mixins: [
|
|
6199
|
+
mixins: [$],
|
|
6189
6200
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
6190
6201
|
computed: {
|
|
6191
6202
|
fieldValue: {
|
|
@@ -6207,12 +6218,12 @@ const Ln = /* @__PURE__ */ R($n, [["render", En], ["__scopeId", "data-v-621ec067
|
|
|
6207
6218
|
},
|
|
6208
6219
|
data() {
|
|
6209
6220
|
return {
|
|
6210
|
-
isDark:
|
|
6221
|
+
isDark: W()
|
|
6211
6222
|
};
|
|
6212
6223
|
},
|
|
6213
6224
|
setup() {
|
|
6214
6225
|
return {
|
|
6215
|
-
fieldEditor:
|
|
6226
|
+
fieldEditor: R(null)
|
|
6216
6227
|
};
|
|
6217
6228
|
},
|
|
6218
6229
|
beforeUnmount() {
|
|
@@ -6220,7 +6231,7 @@ const Ln = /* @__PURE__ */ R($n, [["render", En], ["__scopeId", "data-v-621ec067
|
|
|
6220
6231
|
}
|
|
6221
6232
|
});
|
|
6222
6233
|
function Tn(e, i, t, l, r, h) {
|
|
6223
|
-
const s =
|
|
6234
|
+
const s = he, u = O;
|
|
6224
6235
|
return o(), d(u, {
|
|
6225
6236
|
"build-rules": e.rules,
|
|
6226
6237
|
field: e.field,
|
|
@@ -6254,17 +6265,17 @@ function Tn(e, i, t, l, r, h) {
|
|
|
6254
6265
|
_: 1
|
|
6255
6266
|
}, 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"]);
|
|
6256
6267
|
}
|
|
6257
|
-
const Vn = /* @__PURE__ */
|
|
6268
|
+
const Vn = /* @__PURE__ */ M(Dn, [["render", Tn]]), zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6258
6269
|
__proto__: null,
|
|
6259
6270
|
default: Vn
|
|
6260
6271
|
}, Symbol.toStringTag, { value: "Module" })), Un = I({
|
|
6261
6272
|
name: "html-ui",
|
|
6262
6273
|
typeName: "FormField",
|
|
6263
6274
|
components: {
|
|
6264
|
-
StaticContentWrapper:
|
|
6275
|
+
StaticContentWrapper: E
|
|
6265
6276
|
// SdHtmlEditor,
|
|
6266
6277
|
},
|
|
6267
|
-
mixins: [
|
|
6278
|
+
mixins: [$],
|
|
6268
6279
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
6269
6280
|
beforeCreate() {
|
|
6270
6281
|
},
|
|
@@ -6276,7 +6287,7 @@ const Vn = /* @__PURE__ */ R(Dn, [["render", Tn]]), zn = /* @__PURE__ */ Object.
|
|
|
6276
6287
|
},
|
|
6277
6288
|
setup() {
|
|
6278
6289
|
return {
|
|
6279
|
-
fieldEditor:
|
|
6290
|
+
fieldEditor: R(null)
|
|
6280
6291
|
};
|
|
6281
6292
|
},
|
|
6282
6293
|
beforeUnmount() {
|
|
@@ -6284,7 +6295,7 @@ const Vn = /* @__PURE__ */ R(Dn, [["render", Tn]]), zn = /* @__PURE__ */ Object.
|
|
|
6284
6295
|
}
|
|
6285
6296
|
});
|
|
6286
6297
|
function Bn(e, i, t, l, r, h) {
|
|
6287
|
-
const s =
|
|
6298
|
+
const s = he, u = E;
|
|
6288
6299
|
return o(), d(u, {
|
|
6289
6300
|
"build-rules": e.rules,
|
|
6290
6301
|
field: e.field,
|
|
@@ -6311,17 +6322,17 @@ function Bn(e, i, t, l, r, h) {
|
|
|
6311
6322
|
_: 1
|
|
6312
6323
|
}, 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"]);
|
|
6313
6324
|
}
|
|
6314
|
-
const An = /* @__PURE__ */
|
|
6325
|
+
const An = /* @__PURE__ */ M(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6315
6326
|
__proto__: null,
|
|
6316
6327
|
default: An
|
|
6317
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6328
|
+
}, Symbol.toStringTag, { value: "Module" })), Wn = I({
|
|
6318
6329
|
name: "icon-input",
|
|
6319
6330
|
typeName: "FormField",
|
|
6320
6331
|
components: {
|
|
6321
|
-
FormItemWrapper:
|
|
6332
|
+
FormItemWrapper: O
|
|
6322
6333
|
// SdIcon,
|
|
6323
6334
|
},
|
|
6324
|
-
mixins: [
|
|
6335
|
+
mixins: [$],
|
|
6325
6336
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
6326
6337
|
data() {
|
|
6327
6338
|
return {
|
|
@@ -6354,7 +6365,7 @@ const An = /* @__PURE__ */ R(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.
|
|
|
6354
6365
|
},
|
|
6355
6366
|
setup() {
|
|
6356
6367
|
return {
|
|
6357
|
-
fieldEditor:
|
|
6368
|
+
fieldEditor: R(null)
|
|
6358
6369
|
};
|
|
6359
6370
|
},
|
|
6360
6371
|
watch: {
|
|
@@ -6364,7 +6375,7 @@ const An = /* @__PURE__ */ R(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.
|
|
|
6364
6375
|
let i = [];
|
|
6365
6376
|
if (this.field.options.sourcePath)
|
|
6366
6377
|
for (const t in e) {
|
|
6367
|
-
const l = e[t], r =
|
|
6378
|
+
const l = e[t], r = le(l, this.field.options.sourcePath);
|
|
6368
6379
|
if (r && typeof r == "object")
|
|
6369
6380
|
for (const h in r) {
|
|
6370
6381
|
let s = r[h];
|
|
@@ -6414,8 +6425,8 @@ const An = /* @__PURE__ */ R(Un, [["render", Bn]]), Nn = /* @__PURE__ */ Object.
|
|
|
6414
6425
|
this.unregisterFromRefList();
|
|
6415
6426
|
}
|
|
6416
6427
|
});
|
|
6417
|
-
function
|
|
6418
|
-
const s = Si, u =
|
|
6428
|
+
function Hn(e, i, t, l, r, h) {
|
|
6429
|
+
const s = Si, u = O;
|
|
6419
6430
|
return o(), d(u, {
|
|
6420
6431
|
"build-rules": e.rules,
|
|
6421
6432
|
field: e.field,
|
|
@@ -6448,16 +6459,16 @@ function Wn(e, i, t, l, r, h) {
|
|
|
6448
6459
|
_: 1
|
|
6449
6460
|
}, 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"]);
|
|
6450
6461
|
}
|
|
6451
|
-
const qn = /* @__PURE__ */
|
|
6462
|
+
const qn = /* @__PURE__ */ M(Wn, [["render", Hn], ["__scopeId", "data-v-967ebc26"]]), Gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6452
6463
|
__proto__: null,
|
|
6453
6464
|
default: qn
|
|
6454
6465
|
}, Symbol.toStringTag, { value: "Module" })), Jn = I({
|
|
6455
6466
|
name: "image-ui",
|
|
6456
6467
|
typeName: "FormField",
|
|
6457
6468
|
components: {
|
|
6458
|
-
StaticContentWrapper:
|
|
6469
|
+
StaticContentWrapper: E
|
|
6459
6470
|
},
|
|
6460
|
-
mixins: [
|
|
6471
|
+
mixins: [$],
|
|
6461
6472
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
6462
6473
|
beforeCreate() {
|
|
6463
6474
|
},
|
|
@@ -6469,7 +6480,7 @@ const qn = /* @__PURE__ */ R(Hn, [["render", Wn], ["__scopeId", "data-v-967ebc26
|
|
|
6469
6480
|
},
|
|
6470
6481
|
setup() {
|
|
6471
6482
|
return {
|
|
6472
|
-
fieldEditor:
|
|
6483
|
+
fieldEditor: R(null)
|
|
6473
6484
|
};
|
|
6474
6485
|
},
|
|
6475
6486
|
methods: {},
|
|
@@ -6478,7 +6489,7 @@ const qn = /* @__PURE__ */ R(Hn, [["render", Wn], ["__scopeId", "data-v-967ebc26
|
|
|
6478
6489
|
}
|
|
6479
6490
|
}), Kn = { class: "image-slot" };
|
|
6480
6491
|
function Zn(e, i, t, l, r, h) {
|
|
6481
|
-
const s = U, u = Je, p =
|
|
6492
|
+
const s = U, u = Je, p = E;
|
|
6482
6493
|
return o(), d(p, {
|
|
6483
6494
|
"build-rules": e.rules,
|
|
6484
6495
|
field: e.field,
|
|
@@ -6514,7 +6525,7 @@ function Zn(e, i, t, l, r, h) {
|
|
|
6514
6525
|
}, {
|
|
6515
6526
|
placeholder: a(() => [...i[0] || (i[0] = [
|
|
6516
6527
|
S("div", { class: "image-slot image-load" }, [
|
|
6517
|
-
|
|
6528
|
+
P("Loading"),
|
|
6518
6529
|
S("span", { class: "dot" }, "...")
|
|
6519
6530
|
], -1)
|
|
6520
6531
|
])]),
|
|
@@ -6529,17 +6540,17 @@ function Zn(e, i, t, l, r, h) {
|
|
|
6529
6540
|
_: 1
|
|
6530
6541
|
}, 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"]);
|
|
6531
6542
|
}
|
|
6532
|
-
const Qn = /* @__PURE__ */
|
|
6543
|
+
const Qn = /* @__PURE__ */ M(Jn, [["render", Zn], ["__scopeId", "data-v-836345dd"]]), Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6533
6544
|
__proto__: null,
|
|
6534
6545
|
default: Qn
|
|
6535
6546
|
}, Symbol.toStringTag, { value: "Module" })), Xn = I({
|
|
6536
6547
|
name: "json-input",
|
|
6537
6548
|
typeName: "FormField",
|
|
6538
6549
|
components: {
|
|
6539
|
-
FormItemWrapper:
|
|
6540
|
-
JsonEditorVue:
|
|
6550
|
+
FormItemWrapper: O,
|
|
6551
|
+
JsonEditorVue: Ot
|
|
6541
6552
|
},
|
|
6542
|
-
mixins: [
|
|
6553
|
+
mixins: [$],
|
|
6543
6554
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
6544
6555
|
computed: {
|
|
6545
6556
|
fieldValue: {
|
|
@@ -6551,7 +6562,7 @@ const Qn = /* @__PURE__ */ R(Jn, [["render", Zn], ["__scopeId", "data-v-836345dd
|
|
|
6551
6562
|
}
|
|
6552
6563
|
},
|
|
6553
6564
|
mode() {
|
|
6554
|
-
return
|
|
6565
|
+
return Mt.tree;
|
|
6555
6566
|
}
|
|
6556
6567
|
},
|
|
6557
6568
|
beforeCreate() {
|
|
@@ -6564,12 +6575,12 @@ const Qn = /* @__PURE__ */ R(Jn, [["render", Zn], ["__scopeId", "data-v-836345dd
|
|
|
6564
6575
|
},
|
|
6565
6576
|
data() {
|
|
6566
6577
|
return {
|
|
6567
|
-
isDark:
|
|
6578
|
+
isDark: W()
|
|
6568
6579
|
};
|
|
6569
6580
|
},
|
|
6570
6581
|
setup() {
|
|
6571
6582
|
return {
|
|
6572
|
-
fieldEditor:
|
|
6583
|
+
fieldEditor: R(null)
|
|
6573
6584
|
};
|
|
6574
6585
|
},
|
|
6575
6586
|
methods: {
|
|
@@ -6582,7 +6593,7 @@ const Qn = /* @__PURE__ */ R(Jn, [["render", Zn], ["__scopeId", "data-v-836345dd
|
|
|
6582
6593
|
}
|
|
6583
6594
|
});
|
|
6584
6595
|
function _n(e, i, t, l, r, h) {
|
|
6585
|
-
const s = J("JsonEditorVue"), u =
|
|
6596
|
+
const s = J("JsonEditorVue"), u = O;
|
|
6586
6597
|
return o(), d(u, {
|
|
6587
6598
|
"build-rules": e.rules,
|
|
6588
6599
|
field: e.field,
|
|
@@ -6613,16 +6624,16 @@ function _n(e, i, t, l, r, h) {
|
|
|
6613
6624
|
_: 1
|
|
6614
6625
|
}, 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"]);
|
|
6615
6626
|
}
|
|
6616
|
-
const xn = /* @__PURE__ */
|
|
6627
|
+
const xn = /* @__PURE__ */ M(Xn, [["render", _n]]), es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6617
6628
|
__proto__: null,
|
|
6618
6629
|
default: xn
|
|
6619
6630
|
}, Symbol.toStringTag, { value: "Module" })), is = I({
|
|
6620
6631
|
name: "link-ui",
|
|
6621
6632
|
typeName: "FormField",
|
|
6622
6633
|
components: {
|
|
6623
|
-
StaticContentWrapper:
|
|
6634
|
+
StaticContentWrapper: E
|
|
6624
6635
|
},
|
|
6625
|
-
mixins: [
|
|
6636
|
+
mixins: [$],
|
|
6626
6637
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
6627
6638
|
beforeCreate() {
|
|
6628
6639
|
},
|
|
@@ -6634,7 +6645,7 @@ const xn = /* @__PURE__ */ R(Xn, [["render", _n]]), es = /* @__PURE__ */ Object.
|
|
|
6634
6645
|
},
|
|
6635
6646
|
setup() {
|
|
6636
6647
|
return {
|
|
6637
|
-
fieldEditor:
|
|
6648
|
+
fieldEditor: R(null)
|
|
6638
6649
|
};
|
|
6639
6650
|
},
|
|
6640
6651
|
beforeUnmount() {
|
|
@@ -6642,7 +6653,7 @@ const xn = /* @__PURE__ */ R(Xn, [["render", _n]]), es = /* @__PURE__ */ Object.
|
|
|
6642
6653
|
}
|
|
6643
6654
|
});
|
|
6644
6655
|
function ts(e, i, t, l, r, h) {
|
|
6645
|
-
const s = U, u = ee, p = lt, g =
|
|
6656
|
+
const s = U, u = ee, p = lt, g = E;
|
|
6646
6657
|
return o(), d(g, {
|
|
6647
6658
|
"build-rules": e.rules,
|
|
6648
6659
|
field: e.field,
|
|
@@ -6688,7 +6699,7 @@ function ts(e, i, t, l, r, h) {
|
|
|
6688
6699
|
"icon-name": e.field.options.labelIconClass
|
|
6689
6700
|
}, null, 8, ["icon-name"]))
|
|
6690
6701
|
], 64)) : b("", !0),
|
|
6691
|
-
|
|
6702
|
+
P(" " + v(e.field.options.content) + " ", 1),
|
|
6692
6703
|
e.field.options.labelIconClass && e.field.options.labelIconPosition === "rear" ? (o(), c(F, { key: 1 }, [
|
|
6693
6704
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
6694
6705
|
key: 0,
|
|
@@ -6714,24 +6725,24 @@ function ts(e, i, t, l, r, h) {
|
|
|
6714
6725
|
_: 1
|
|
6715
6726
|
}, 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"]);
|
|
6716
6727
|
}
|
|
6717
|
-
const os = /* @__PURE__ */
|
|
6728
|
+
const os = /* @__PURE__ */ M(is, [["render", ts], ["__scopeId", "data-v-f3464b8f"]]), ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6718
6729
|
__proto__: null,
|
|
6719
6730
|
default: os
|
|
6720
6731
|
}, Symbol.toStringTag, { value: "Module" })), ns = I({
|
|
6721
6732
|
name: "list-ui",
|
|
6722
6733
|
typeName: "FormField",
|
|
6723
6734
|
components: {
|
|
6724
|
-
StaticContentWrapper:
|
|
6735
|
+
StaticContentWrapper: E
|
|
6725
6736
|
// SdUiListView,
|
|
6726
6737
|
// SdReport,
|
|
6727
6738
|
},
|
|
6728
|
-
mixins: [
|
|
6739
|
+
mixins: [$],
|
|
6729
6740
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
6730
6741
|
beforeCreate() {
|
|
6731
6742
|
},
|
|
6732
6743
|
data() {
|
|
6733
6744
|
return {
|
|
6734
|
-
isDark:
|
|
6745
|
+
isDark: W()
|
|
6735
6746
|
};
|
|
6736
6747
|
},
|
|
6737
6748
|
computed: {
|
|
@@ -6745,16 +6756,13 @@ const os = /* @__PURE__ */ R(is, [["render", ts], ["__scopeId", "data-v-f3464b8f
|
|
|
6745
6756
|
} else
|
|
6746
6757
|
return;
|
|
6747
6758
|
},
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
return this.getFormRef().formParentId;
|
|
6756
|
-
}
|
|
6757
|
-
return this.field.options.parentPath ? this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams && this.getFormRef().formParams[this.field.options.parentPath] ? this.getFormRef().formParams[this.field.options.parentPath] : "" : this.formParams && this.formParams[this.field.options.parentPath] ? this.formParams[this.field.options.parentPath] : "" : "";
|
|
6759
|
+
showWhenParent() {
|
|
6760
|
+
if (this.field.options.showWhenParent && !this.builderStatus) {
|
|
6761
|
+
const e = this.getFormRef();
|
|
6762
|
+
let i = "";
|
|
6763
|
+
return e && e.formParams ? i = this.getObjectByPath(e.formParams, this.field.options.parentPath) || "" : i = this.getObjectByPath(this.formParams, this.field.options.parentPath) || "", !!i;
|
|
6764
|
+
} else
|
|
6765
|
+
return !0;
|
|
6758
6766
|
}
|
|
6759
6767
|
},
|
|
6760
6768
|
created() {
|
|
@@ -6764,7 +6772,7 @@ const os = /* @__PURE__ */ R(is, [["render", ts], ["__scopeId", "data-v-f3464b8f
|
|
|
6764
6772
|
this.registerToRefList(), this.handleOnMounted();
|
|
6765
6773
|
},
|
|
6766
6774
|
setup() {
|
|
6767
|
-
const e =
|
|
6775
|
+
const e = R(null), i = N("formParams", {});
|
|
6768
6776
|
return {
|
|
6769
6777
|
fieldEditor: e,
|
|
6770
6778
|
formParams: i
|
|
@@ -6840,8 +6848,8 @@ const os = /* @__PURE__ */ R(is, [["render", ts], ["__scopeId", "data-v-f3464b8f
|
|
|
6840
6848
|
}
|
|
6841
6849
|
});
|
|
6842
6850
|
function ss(e, i, t, l, r, h) {
|
|
6843
|
-
const s =
|
|
6844
|
-
return o(), d(
|
|
6851
|
+
const s = se, u = U, p = G, g = ue, w = Mi, L = E;
|
|
6852
|
+
return o(), d(L, {
|
|
6845
6853
|
"build-rules": e.rules,
|
|
6846
6854
|
field: e.field,
|
|
6847
6855
|
builder: e.builder,
|
|
@@ -6856,7 +6864,7 @@ function ss(e, i, t, l, r, h) {
|
|
|
6856
6864
|
"sub-form-row-id": e.subFormRowId
|
|
6857
6865
|
}, {
|
|
6858
6866
|
default: a(() => [
|
|
6859
|
-
(o(), d(w, {
|
|
6867
|
+
e.showWhenParent ? (o(), d(w, {
|
|
6860
6868
|
ref: "fieldEditor",
|
|
6861
6869
|
key: e.field.id,
|
|
6862
6870
|
"form-id": e.field.options.formId,
|
|
@@ -6919,7 +6927,7 @@ function ss(e, i, t, l, r, h) {
|
|
|
6919
6927
|
f.confirm ? (o(), d(g, {
|
|
6920
6928
|
key: 0,
|
|
6921
6929
|
title: f.confirmTitle,
|
|
6922
|
-
onConfirm: (V) => e.emitButtonRowClick(f, k, n.row, n.index)
|
|
6930
|
+
onConfirm: (V) => e.emitButtonRowClick(f, +k, n.row, n.index)
|
|
6923
6931
|
}, {
|
|
6924
6932
|
reference: a(() => [
|
|
6925
6933
|
m(p, {
|
|
@@ -6966,7 +6974,7 @@ function ss(e, i, t, l, r, h) {
|
|
|
6966
6974
|
tag: f.tag,
|
|
6967
6975
|
href: f.tag && f.tag == "a" ? f.href : "",
|
|
6968
6976
|
target: f.blank ? "_blank" : "_self",
|
|
6969
|
-
onClick: z((V) => e.emitButtonRowClick(f, k, n.row, n.index), ["prevent"])
|
|
6977
|
+
onClick: z((V) => e.emitButtonRowClick(f, +k, n.row, n.index), ["prevent"])
|
|
6970
6978
|
}, {
|
|
6971
6979
|
default: a(() => [
|
|
6972
6980
|
f.prefixIcon ? (o(), d(u, {
|
|
@@ -6986,22 +6994,22 @@ function ss(e, i, t, l, r, h) {
|
|
|
6986
6994
|
], 64))), 256)) : b("", !0)
|
|
6987
6995
|
]),
|
|
6988
6996
|
_: 1
|
|
6989
|
-
}, 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"]))
|
|
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"])) : b("", !0)
|
|
6990
6998
|
]),
|
|
6991
6999
|
_: 1
|
|
6992
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"]);
|
|
6993
7001
|
}
|
|
6994
|
-
const rs = /* @__PURE__ */
|
|
7002
|
+
const rs = /* @__PURE__ */ M(ns, [["render", ss], ["__scopeId", "data-v-7950cbec"]]), ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6995
7003
|
__proto__: null,
|
|
6996
7004
|
default: rs
|
|
6997
7005
|
}, Symbol.toStringTag, { value: "Module" })), as = I({
|
|
6998
7006
|
name: "masked-input",
|
|
6999
7007
|
typeName: "FormField",
|
|
7000
7008
|
components: {
|
|
7001
|
-
FormItemWrapper:
|
|
7009
|
+
FormItemWrapper: O
|
|
7002
7010
|
// SdMaskedInput,
|
|
7003
7011
|
},
|
|
7004
|
-
mixins: [
|
|
7012
|
+
mixins: [$],
|
|
7005
7013
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
7006
7014
|
beforeCreate() {
|
|
7007
7015
|
},
|
|
@@ -7029,7 +7037,7 @@ const rs = /* @__PURE__ */ R(ns, [["render", ss], ["__scopeId", "data-v-293ff20c
|
|
|
7029
7037
|
},
|
|
7030
7038
|
setup() {
|
|
7031
7039
|
return {
|
|
7032
|
-
fieldEditor:
|
|
7040
|
+
fieldEditor: R(null)
|
|
7033
7041
|
};
|
|
7034
7042
|
},
|
|
7035
7043
|
beforeUnmount() {
|
|
@@ -7037,7 +7045,7 @@ const rs = /* @__PURE__ */ R(ns, [["render", ss], ["__scopeId", "data-v-293ff20c
|
|
|
7037
7045
|
}
|
|
7038
7046
|
}), fs = { class: "el-input__wrapper el-input__wrapper" };
|
|
7039
7047
|
function us(e, i, t, l, r, h) {
|
|
7040
|
-
const s =
|
|
7048
|
+
const s = Oi, u = O;
|
|
7041
7049
|
return o(), d(u, {
|
|
7042
7050
|
"build-rules": e.rules,
|
|
7043
7051
|
field: e.field,
|
|
@@ -7080,16 +7088,16 @@ function us(e, i, t, l, r, h) {
|
|
|
7080
7088
|
_: 1
|
|
7081
7089
|
}, 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"]);
|
|
7082
7090
|
}
|
|
7083
|
-
const ps = /* @__PURE__ */
|
|
7091
|
+
const ps = /* @__PURE__ */ M(as, [["render", us]]), ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7084
7092
|
__proto__: null,
|
|
7085
7093
|
default: ps
|
|
7086
7094
|
}, Symbol.toStringTag, { value: "Module" })), hs = I({
|
|
7087
7095
|
name: "multiple-date",
|
|
7088
7096
|
typeName: "FormField",
|
|
7089
7097
|
components: {
|
|
7090
|
-
FormItemWrapper:
|
|
7098
|
+
FormItemWrapper: O
|
|
7091
7099
|
},
|
|
7092
|
-
mixins: [
|
|
7100
|
+
mixins: [$],
|
|
7093
7101
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
7094
7102
|
computed: {
|
|
7095
7103
|
fieldValue: {
|
|
@@ -7111,7 +7119,7 @@ const ps = /* @__PURE__ */ R(as, [["render", us]]), ms = /* @__PURE__ */ Object.
|
|
|
7111
7119
|
},
|
|
7112
7120
|
setup() {
|
|
7113
7121
|
return {
|
|
7114
|
-
fieldEditor:
|
|
7122
|
+
fieldEditor: R(null)
|
|
7115
7123
|
};
|
|
7116
7124
|
},
|
|
7117
7125
|
beforeUnmount() {
|
|
@@ -7119,7 +7127,7 @@ const ps = /* @__PURE__ */ R(as, [["render", us]]), ms = /* @__PURE__ */ Object.
|
|
|
7119
7127
|
}
|
|
7120
7128
|
});
|
|
7121
7129
|
function cs(e, i, t, l, r, h) {
|
|
7122
|
-
const s = Ce, u =
|
|
7130
|
+
const s = Ce, u = O;
|
|
7123
7131
|
return o(), d(u, {
|
|
7124
7132
|
"build-rules": e.rules,
|
|
7125
7133
|
field: e.field,
|
|
@@ -7159,16 +7167,16 @@ function cs(e, i, t, l, r, h) {
|
|
|
7159
7167
|
_: 1
|
|
7160
7168
|
}, 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"]);
|
|
7161
7169
|
}
|
|
7162
|
-
const bs = /* @__PURE__ */
|
|
7170
|
+
const bs = /* @__PURE__ */ M(hs, [["render", cs], ["__scopeId", "data-v-8a08543c"]]), gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7163
7171
|
__proto__: null,
|
|
7164
7172
|
default: bs
|
|
7165
7173
|
}, Symbol.toStringTag, { value: "Module" })), Fs = I({
|
|
7166
7174
|
name: "number-input",
|
|
7167
7175
|
typeName: "FormField",
|
|
7168
7176
|
components: {
|
|
7169
|
-
FormItemWrapper:
|
|
7177
|
+
FormItemWrapper: O
|
|
7170
7178
|
},
|
|
7171
|
-
mixins: [
|
|
7179
|
+
mixins: [$],
|
|
7172
7180
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
7173
7181
|
computed: {
|
|
7174
7182
|
fieldValue: {
|
|
@@ -7198,7 +7206,7 @@ const bs = /* @__PURE__ */ R(hs, [["render", cs], ["__scopeId", "data-v-8a08543c
|
|
|
7198
7206
|
},
|
|
7199
7207
|
setup() {
|
|
7200
7208
|
return {
|
|
7201
|
-
fieldEditor:
|
|
7209
|
+
fieldEditor: R(null)
|
|
7202
7210
|
};
|
|
7203
7211
|
},
|
|
7204
7212
|
beforeUnmount() {
|
|
@@ -7209,7 +7217,7 @@ const bs = /* @__PURE__ */ R(hs, [["render", cs], ["__scopeId", "data-v-8a08543c
|
|
|
7209
7217
|
class: "mr-1"
|
|
7210
7218
|
}, vs = { key: 1 };
|
|
7211
7219
|
function ws(e, i, t, l, r, h) {
|
|
7212
|
-
const s = U, u = nt, p =
|
|
7220
|
+
const s = U, u = nt, p = O;
|
|
7213
7221
|
return o(), d(p, {
|
|
7214
7222
|
"build-rules": e.rules,
|
|
7215
7223
|
field: e.field,
|
|
@@ -7260,7 +7268,7 @@ function ws(e, i, t, l, r, h) {
|
|
|
7260
7268
|
"icon-name": e.field.options.suffixIcon,
|
|
7261
7269
|
class: "mr-1"
|
|
7262
7270
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
7263
|
-
i[1] || (i[1] =
|
|
7271
|
+
i[1] || (i[1] = P()),
|
|
7264
7272
|
e.field.options.suffixText ? (o(), c("span", vs, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
7265
7273
|
]),
|
|
7266
7274
|
key: "1"
|
|
@@ -7270,16 +7278,16 @@ function ws(e, i, t, l, r, h) {
|
|
|
7270
7278
|
_: 1
|
|
7271
7279
|
}, 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"]);
|
|
7272
7280
|
}
|
|
7273
|
-
const Cs = /* @__PURE__ */
|
|
7281
|
+
const Cs = /* @__PURE__ */ M(Fs, [["render", ws], ["__scopeId", "data-v-fb135eaa"]]), Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7274
7282
|
__proto__: null,
|
|
7275
7283
|
default: Cs
|
|
7276
7284
|
}, Symbol.toStringTag, { value: "Module" })), Ss = I({
|
|
7277
7285
|
name: "objectid-input",
|
|
7278
7286
|
typeName: "FormField",
|
|
7279
7287
|
components: {
|
|
7280
|
-
FormItemWrapper:
|
|
7288
|
+
FormItemWrapper: O
|
|
7281
7289
|
},
|
|
7282
|
-
mixins: [
|
|
7290
|
+
mixins: [$],
|
|
7283
7291
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
7284
7292
|
beforeCreate() {
|
|
7285
7293
|
},
|
|
@@ -7304,15 +7312,15 @@ const Cs = /* @__PURE__ */ R(Fs, [["render", ws], ["__scopeId", "data-v-fb135eaa
|
|
|
7304
7312
|
},
|
|
7305
7313
|
setup() {
|
|
7306
7314
|
return {
|
|
7307
|
-
fieldEditor:
|
|
7315
|
+
fieldEditor: R(null)
|
|
7308
7316
|
};
|
|
7309
7317
|
},
|
|
7310
7318
|
beforeUnmount() {
|
|
7311
7319
|
this.unregisterFromRefList();
|
|
7312
7320
|
}
|
|
7313
7321
|
});
|
|
7314
|
-
function
|
|
7315
|
-
const s = U, u =
|
|
7322
|
+
function Ms(e, i, t, l, r, h) {
|
|
7323
|
+
const s = U, u = fe, p = O;
|
|
7316
7324
|
return o(), d(p, {
|
|
7317
7325
|
"build-rules": e.rules,
|
|
7318
7326
|
field: e.field,
|
|
@@ -7355,14 +7363,14 @@ function Rs(e, i, t, l, r, h) {
|
|
|
7355
7363
|
e.field.options.prefixText ? {
|
|
7356
7364
|
name: "prepend",
|
|
7357
7365
|
fn: a(() => [
|
|
7358
|
-
|
|
7366
|
+
P(v(e.field.options.prefixText), 1)
|
|
7359
7367
|
]),
|
|
7360
7368
|
key: "0"
|
|
7361
7369
|
} : void 0,
|
|
7362
7370
|
e.field.options.suffixText ? {
|
|
7363
7371
|
name: "append",
|
|
7364
7372
|
fn: a(() => [
|
|
7365
|
-
|
|
7373
|
+
P(v(e.field.options.suffixText), 1)
|
|
7366
7374
|
]),
|
|
7367
7375
|
key: "1"
|
|
7368
7376
|
} : void 0,
|
|
@@ -7380,16 +7388,16 @@ function Rs(e, i, t, l, r, h) {
|
|
|
7380
7388
|
_: 1
|
|
7381
7389
|
}, 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"]);
|
|
7382
7390
|
}
|
|
7383
|
-
const
|
|
7391
|
+
const Os = /* @__PURE__ */ M(Ss, [["render", Ms]]), Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7384
7392
|
__proto__: null,
|
|
7385
|
-
default:
|
|
7393
|
+
default: Os
|
|
7386
7394
|
}, Symbol.toStringTag, { value: "Module" })), ks = I({
|
|
7387
7395
|
name: "picture-upload-input",
|
|
7388
7396
|
typeName: "FormField",
|
|
7389
7397
|
components: {
|
|
7390
|
-
FormItemWrapper:
|
|
7398
|
+
FormItemWrapper: O
|
|
7391
7399
|
},
|
|
7392
|
-
mixins: [
|
|
7400
|
+
mixins: [$],
|
|
7393
7401
|
data() {
|
|
7394
7402
|
return {
|
|
7395
7403
|
// isDisabled: this.field.options.disabled,
|
|
@@ -7417,7 +7425,7 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7417
7425
|
this.registerToRefList(), this.initApi(), this.field.options.disabled, this.handleOnMounted();
|
|
7418
7426
|
},
|
|
7419
7427
|
setup() {
|
|
7420
|
-
const e =
|
|
7428
|
+
const e = R(null), i = R(null);
|
|
7421
7429
|
return {
|
|
7422
7430
|
fieldEditor: e,
|
|
7423
7431
|
imageRef: i
|
|
@@ -7498,7 +7506,7 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7498
7506
|
cancelButtonText: "Cancel",
|
|
7499
7507
|
type: "warning"
|
|
7500
7508
|
}).then(() => {
|
|
7501
|
-
this.handleBeforeRemove(this.fileList),
|
|
7509
|
+
this.handleBeforeRemove(this.fileList), me.delete(`${this.globalUserState.host}/v1/files/remove-one`, {
|
|
7502
7510
|
data: i,
|
|
7503
7511
|
headers: {
|
|
7504
7512
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -7529,12 +7537,12 @@ const Ms = /* @__PURE__ */ R(Ss, [["render", Rs]]), Os = /* @__PURE__ */ Object.
|
|
|
7529
7537
|
e.url && (this.previewIndex = this.previewList.indexOf(e.url), this.imageRef.$el.children[0].click());
|
|
7530
7538
|
}
|
|
7531
7539
|
}
|
|
7532
|
-
}),
|
|
7540
|
+
}), $s = { class: "el-upload-list__item-status-label" }, Ls = { class: "el-upload-list__item-actions" }, Ps = ["onClick"], Es = ["onClick"], js = {
|
|
7533
7541
|
key: 0,
|
|
7534
7542
|
class: "el-upload__tip"
|
|
7535
7543
|
};
|
|
7536
7544
|
function Ds(e, i, t, l, r, h) {
|
|
7537
|
-
const s = Je, u = J("Check"), p =
|
|
7545
|
+
const s = Je, u = J("Check"), p = re, g = J("ZoomIn"), w = J("Delete"), L = J("Plus"), n = Ie, f = O;
|
|
7538
7546
|
return o(), d(f, {
|
|
7539
7547
|
"build-rules": e.rules,
|
|
7540
7548
|
field: e.field,
|
|
@@ -7578,7 +7586,7 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7578
7586
|
fit: "cover",
|
|
7579
7587
|
"preview-teleported": ""
|
|
7580
7588
|
}, null, 8, ["src", "preview-src-list", "initial-index"]),
|
|
7581
|
-
S("label",
|
|
7589
|
+
S("label", $s, [
|
|
7582
7590
|
m(p, null, {
|
|
7583
7591
|
default: a(() => [
|
|
7584
7592
|
m(u)
|
|
@@ -7586,7 +7594,7 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7586
7594
|
_: 1
|
|
7587
7595
|
})
|
|
7588
7596
|
]),
|
|
7589
|
-
S("span",
|
|
7597
|
+
S("span", Ls, [
|
|
7590
7598
|
S("span", {
|
|
7591
7599
|
class: "el-upload-list__item-preview",
|
|
7592
7600
|
onClick: (V) => e.handlePictureCardPreview(k)
|
|
@@ -7597,7 +7605,7 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7597
7605
|
]),
|
|
7598
7606
|
_: 1
|
|
7599
7607
|
})
|
|
7600
|
-
], 8,
|
|
7608
|
+
], 8, Ps),
|
|
7601
7609
|
e.field.options.disabled ? b("", !0) : (o(), c("span", {
|
|
7602
7610
|
key: 0,
|
|
7603
7611
|
class: "el-upload-list__item-delete",
|
|
@@ -7609,7 +7617,7 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7609
7617
|
]),
|
|
7610
7618
|
_: 1
|
|
7611
7619
|
})
|
|
7612
|
-
], 8,
|
|
7620
|
+
], 8, Es))
|
|
7613
7621
|
])
|
|
7614
7622
|
]),
|
|
7615
7623
|
tip: a(() => [
|
|
@@ -7618,7 +7626,7 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7618
7626
|
default: a(() => [
|
|
7619
7627
|
m(p, null, {
|
|
7620
7628
|
default: a(() => [
|
|
7621
|
-
m(
|
|
7629
|
+
m(L)
|
|
7622
7630
|
]),
|
|
7623
7631
|
_: 1
|
|
7624
7632
|
})
|
|
@@ -7629,16 +7637,16 @@ function Ds(e, i, t, l, r, h) {
|
|
|
7629
7637
|
_: 1
|
|
7630
7638
|
}, 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"]);
|
|
7631
7639
|
}
|
|
7632
|
-
const Ts = /* @__PURE__ */
|
|
7640
|
+
const Ts = /* @__PURE__ */ M(ks, [["render", Ds], ["__scopeId", "data-v-d63829e9"]]), Vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7633
7641
|
__proto__: null,
|
|
7634
7642
|
default: Ts
|
|
7635
7643
|
}, Symbol.toStringTag, { value: "Module" })), zs = I({
|
|
7636
7644
|
name: "progress-ui",
|
|
7637
7645
|
typeName: "FormField",
|
|
7638
7646
|
components: {
|
|
7639
|
-
StaticContentWrapper:
|
|
7647
|
+
StaticContentWrapper: E
|
|
7640
7648
|
},
|
|
7641
|
-
mixins: [
|
|
7649
|
+
mixins: [$],
|
|
7642
7650
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
7643
7651
|
beforeCreate() {
|
|
7644
7652
|
},
|
|
@@ -7651,7 +7659,7 @@ const Ts = /* @__PURE__ */ R(ks, [["render", Ds], ["__scopeId", "data-v-d63829e9
|
|
|
7651
7659
|
},
|
|
7652
7660
|
setup() {
|
|
7653
7661
|
return {
|
|
7654
|
-
fieldEditor:
|
|
7662
|
+
fieldEditor: R(null)
|
|
7655
7663
|
};
|
|
7656
7664
|
},
|
|
7657
7665
|
methods: {
|
|
@@ -7668,7 +7676,7 @@ const Ts = /* @__PURE__ */ R(ks, [["render", Ds], ["__scopeId", "data-v-d63829e9
|
|
|
7668
7676
|
}
|
|
7669
7677
|
});
|
|
7670
7678
|
function Us(e, i, t, l, r, h) {
|
|
7671
|
-
const s = st, u =
|
|
7679
|
+
const s = st, u = E;
|
|
7672
7680
|
return o(), d(u, {
|
|
7673
7681
|
"build-rules": e.rules,
|
|
7674
7682
|
field: e.field,
|
|
@@ -7705,17 +7713,17 @@ function Us(e, i, t, l, r, h) {
|
|
|
7705
7713
|
_: 1
|
|
7706
7714
|
}, 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"]);
|
|
7707
7715
|
}
|
|
7708
|
-
const Bs = /* @__PURE__ */
|
|
7716
|
+
const Bs = /* @__PURE__ */ M(zs, [["render", Us], ["__scopeId", "data-v-852e7bd1"]]), As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7709
7717
|
__proto__: null,
|
|
7710
7718
|
default: Bs
|
|
7711
7719
|
}, Symbol.toStringTag, { value: "Module" })), Ns = I({
|
|
7712
7720
|
name: "qrcode-ui",
|
|
7713
7721
|
typeName: "FormField",
|
|
7714
7722
|
components: {
|
|
7715
|
-
StaticContentWrapper:
|
|
7716
|
-
VueQrcode:
|
|
7723
|
+
StaticContentWrapper: E,
|
|
7724
|
+
VueQrcode: Rt
|
|
7717
7725
|
},
|
|
7718
|
-
mixins: [
|
|
7726
|
+
mixins: [$],
|
|
7719
7727
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
7720
7728
|
beforeCreate() {
|
|
7721
7729
|
},
|
|
@@ -7727,15 +7735,15 @@ const Bs = /* @__PURE__ */ R(zs, [["render", Us], ["__scopeId", "data-v-852e7bd1
|
|
|
7727
7735
|
},
|
|
7728
7736
|
setup() {
|
|
7729
7737
|
return {
|
|
7730
|
-
fieldEditor:
|
|
7738
|
+
fieldEditor: R(null)
|
|
7731
7739
|
};
|
|
7732
7740
|
},
|
|
7733
7741
|
beforeUnmount() {
|
|
7734
7742
|
this.unregisterFromRefList();
|
|
7735
7743
|
}
|
|
7736
7744
|
});
|
|
7737
|
-
function
|
|
7738
|
-
const s = J("VueQrcode"), u =
|
|
7745
|
+
function Ws(e, i, t, l, r, h) {
|
|
7746
|
+
const s = J("VueQrcode"), u = E;
|
|
7739
7747
|
return o(), d(u, {
|
|
7740
7748
|
"build-rules": e.rules,
|
|
7741
7749
|
field: e.field,
|
|
@@ -7770,16 +7778,16 @@ function Hs(e, i, t, l, r, h) {
|
|
|
7770
7778
|
_: 1
|
|
7771
7779
|
}, 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"]);
|
|
7772
7780
|
}
|
|
7773
|
-
const
|
|
7781
|
+
const Hs = /* @__PURE__ */ M(Ns, [["render", Ws], ["__scopeId", "data-v-14161622"]]), qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7774
7782
|
__proto__: null,
|
|
7775
|
-
default:
|
|
7783
|
+
default: Hs
|
|
7776
7784
|
}, Symbol.toStringTag, { value: "Module" })), Gs = I({
|
|
7777
7785
|
name: "radio-input",
|
|
7778
7786
|
typeName: "FormField",
|
|
7779
7787
|
components: {
|
|
7780
|
-
FormItemWrapper:
|
|
7788
|
+
FormItemWrapper: O
|
|
7781
7789
|
},
|
|
7782
|
-
mixins: [
|
|
7790
|
+
mixins: [$],
|
|
7783
7791
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
7784
7792
|
computed: {
|
|
7785
7793
|
fieldValue: {
|
|
@@ -7801,7 +7809,7 @@ const Ws = /* @__PURE__ */ R(Ns, [["render", Hs], ["__scopeId", "data-v-14161622
|
|
|
7801
7809
|
},
|
|
7802
7810
|
setup() {
|
|
7803
7811
|
return {
|
|
7804
|
-
fieldEditor:
|
|
7812
|
+
fieldEditor: R(null)
|
|
7805
7813
|
};
|
|
7806
7814
|
},
|
|
7807
7815
|
beforeUnmount() {
|
|
@@ -7809,8 +7817,8 @@ const Ws = /* @__PURE__ */ R(Ns, [["render", Hs], ["__scopeId", "data-v-14161622
|
|
|
7809
7817
|
}
|
|
7810
7818
|
});
|
|
7811
7819
|
function Js(e, i, t, l, r, h) {
|
|
7812
|
-
const s = rt, u = Ze, p =
|
|
7813
|
-
return o(), d(
|
|
7820
|
+
const s = rt, u = Ze, p = de, g = ae, w = Ke, L = O;
|
|
7821
|
+
return o(), d(L, {
|
|
7814
7822
|
"build-rules": e.rules,
|
|
7815
7823
|
field: e.field,
|
|
7816
7824
|
builder: e.builder,
|
|
@@ -7842,7 +7850,7 @@ function Js(e, i, t, l, r, h) {
|
|
|
7842
7850
|
style: j({ display: e.field.options.displayStyle })
|
|
7843
7851
|
}, {
|
|
7844
7852
|
default: a(() => [
|
|
7845
|
-
|
|
7853
|
+
P(v(n.label), 1)
|
|
7846
7854
|
]),
|
|
7847
7855
|
_: 2
|
|
7848
7856
|
}, 1032, ["value", "disabled", "border", "style"]))), 128)) : (o(), c(F, { key: 1 }, [
|
|
@@ -7860,7 +7868,7 @@ function Js(e, i, t, l, r, h) {
|
|
|
7860
7868
|
style: j({ display: e.field.options.displayStyle })
|
|
7861
7869
|
}, {
|
|
7862
7870
|
default: a(() => [
|
|
7863
|
-
|
|
7871
|
+
P(v(n.label), 1)
|
|
7864
7872
|
]),
|
|
7865
7873
|
_: 2
|
|
7866
7874
|
}, 1032, ["value", "disabled", "border", "style"]))
|
|
@@ -7877,7 +7885,7 @@ function Js(e, i, t, l, r, h) {
|
|
|
7877
7885
|
style: j({ display: e.field.options.displayStyle })
|
|
7878
7886
|
}, {
|
|
7879
7887
|
default: a(() => [
|
|
7880
|
-
|
|
7888
|
+
P(v(n.label), 1)
|
|
7881
7889
|
]),
|
|
7882
7890
|
_: 2
|
|
7883
7891
|
}, 1032, ["value", "disabled", "border", "style"]))), 128))
|
|
@@ -7889,16 +7897,16 @@ function Js(e, i, t, l, r, h) {
|
|
|
7889
7897
|
_: 1
|
|
7890
7898
|
}, 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"]);
|
|
7891
7899
|
}
|
|
7892
|
-
const Ks = /* @__PURE__ */
|
|
7900
|
+
const Ks = /* @__PURE__ */ M(Gs, [["render", Js], ["__scopeId", "data-v-9ae0dedd"]]), Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7893
7901
|
__proto__: null,
|
|
7894
7902
|
default: Ks
|
|
7895
7903
|
}, Symbol.toStringTag, { value: "Module" })), Qs = I({
|
|
7896
7904
|
name: "radio-text-input",
|
|
7897
7905
|
typeName: "FormField",
|
|
7898
7906
|
components: {
|
|
7899
|
-
FormItemWrapper:
|
|
7907
|
+
FormItemWrapper: O
|
|
7900
7908
|
},
|
|
7901
|
-
mixins: [
|
|
7909
|
+
mixins: [$],
|
|
7902
7910
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
7903
7911
|
data() {
|
|
7904
7912
|
return {
|
|
@@ -7945,7 +7953,7 @@ const Ks = /* @__PURE__ */ R(Gs, [["render", Js], ["__scopeId", "data-v-9ae0dedd
|
|
|
7945
7953
|
},
|
|
7946
7954
|
setup() {
|
|
7947
7955
|
return {
|
|
7948
|
-
fieldEditor:
|
|
7956
|
+
fieldEditor: R(null)
|
|
7949
7957
|
};
|
|
7950
7958
|
},
|
|
7951
7959
|
methods: {
|
|
@@ -7958,8 +7966,8 @@ const Ks = /* @__PURE__ */ R(Gs, [["render", Js], ["__scopeId", "data-v-9ae0dedd
|
|
|
7958
7966
|
}
|
|
7959
7967
|
});
|
|
7960
7968
|
function Ys(e, i, t, l, r, h) {
|
|
7961
|
-
const s =
|
|
7962
|
-
return o(), d(
|
|
7969
|
+
const s = fe, u = Ze, p = de, g = ae, w = Ke, L = O;
|
|
7970
|
+
return o(), d(L, {
|
|
7963
7971
|
"build-rules": e.rules,
|
|
7964
7972
|
field: e.field,
|
|
7965
7973
|
builder: e.builder,
|
|
@@ -7997,7 +8005,7 @@ function Ys(e, i, t, l, r, h) {
|
|
|
7997
8005
|
style: { display: "flex" }
|
|
7998
8006
|
}, {
|
|
7999
8007
|
default: a(() => [
|
|
8000
|
-
|
|
8008
|
+
P(v(n.label) + " ", 1),
|
|
8001
8009
|
n.text ? (o(), d(s, {
|
|
8002
8010
|
key: 0,
|
|
8003
8011
|
size: "small",
|
|
@@ -8010,7 +8018,7 @@ function Ys(e, i, t, l, r, h) {
|
|
|
8010
8018
|
n.suffix ? {
|
|
8011
8019
|
name: "append",
|
|
8012
8020
|
fn: a(() => [
|
|
8013
|
-
|
|
8021
|
+
P(v(n.suffix), 1)
|
|
8014
8022
|
]),
|
|
8015
8023
|
key: "0"
|
|
8016
8024
|
} : void 0
|
|
@@ -8031,7 +8039,7 @@ function Ys(e, i, t, l, r, h) {
|
|
|
8031
8039
|
style: { display: "flex" }
|
|
8032
8040
|
}, {
|
|
8033
8041
|
default: a(() => [
|
|
8034
|
-
|
|
8042
|
+
P(v(n.label) + " ", 1),
|
|
8035
8043
|
n.text ? (o(), d(s, {
|
|
8036
8044
|
key: 0,
|
|
8037
8045
|
size: "small",
|
|
@@ -8044,7 +8052,7 @@ function Ys(e, i, t, l, r, h) {
|
|
|
8044
8052
|
n.suffix ? {
|
|
8045
8053
|
name: "append",
|
|
8046
8054
|
fn: a(() => [
|
|
8047
|
-
|
|
8055
|
+
P(v(n.suffix), 1)
|
|
8048
8056
|
]),
|
|
8049
8057
|
key: "0"
|
|
8050
8058
|
} : void 0
|
|
@@ -8059,16 +8067,16 @@ function Ys(e, i, t, l, r, h) {
|
|
|
8059
8067
|
_: 1
|
|
8060
8068
|
}, 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"]);
|
|
8061
8069
|
}
|
|
8062
|
-
const Xs = /* @__PURE__ */
|
|
8070
|
+
const Xs = /* @__PURE__ */ M(Qs, [["render", Ys], ["__scopeId", "data-v-10f388a2"]]), _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8063
8071
|
__proto__: null,
|
|
8064
8072
|
default: Xs
|
|
8065
8073
|
}, Symbol.toStringTag, { value: "Module" })), xs = I({
|
|
8066
8074
|
name: "rate-input",
|
|
8067
8075
|
typeName: "FormField",
|
|
8068
8076
|
components: {
|
|
8069
|
-
FormItemWrapper:
|
|
8077
|
+
FormItemWrapper: O
|
|
8070
8078
|
},
|
|
8071
|
-
mixins: [
|
|
8079
|
+
mixins: [$],
|
|
8072
8080
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
8073
8081
|
computed: {
|
|
8074
8082
|
fieldValue: {
|
|
@@ -8098,7 +8106,7 @@ const Xs = /* @__PURE__ */ R(Qs, [["render", Ys], ["__scopeId", "data-v-10f388a2
|
|
|
8098
8106
|
},
|
|
8099
8107
|
setup() {
|
|
8100
8108
|
return {
|
|
8101
|
-
fieldEditor:
|
|
8109
|
+
fieldEditor: R(null)
|
|
8102
8110
|
};
|
|
8103
8111
|
},
|
|
8104
8112
|
beforeUnmount() {
|
|
@@ -8106,7 +8114,7 @@ const Xs = /* @__PURE__ */ R(Qs, [["render", Ys], ["__scopeId", "data-v-10f388a2
|
|
|
8106
8114
|
}
|
|
8107
8115
|
});
|
|
8108
8116
|
function er(e, i, t, l, r, h) {
|
|
8109
|
-
const s = dt, u =
|
|
8117
|
+
const s = dt, u = O;
|
|
8110
8118
|
return o(), d(u, {
|
|
8111
8119
|
"build-rules": e.rules,
|
|
8112
8120
|
field: e.field,
|
|
@@ -8140,24 +8148,24 @@ function er(e, i, t, l, r, h) {
|
|
|
8140
8148
|
_: 1
|
|
8141
8149
|
}, 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"]);
|
|
8142
8150
|
}
|
|
8143
|
-
const ir = /* @__PURE__ */
|
|
8151
|
+
const ir = /* @__PURE__ */ M(xs, [["render", er], ["__scopeId", "data-v-a4f7a549"]]), tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8144
8152
|
__proto__: null,
|
|
8145
8153
|
default: ir
|
|
8146
8154
|
}, Symbol.toStringTag, { value: "Module" })), or = I({
|
|
8147
8155
|
name: "record-ui",
|
|
8148
8156
|
typeName: "FormField",
|
|
8149
8157
|
components: {
|
|
8150
|
-
StaticContentWrapper:
|
|
8158
|
+
StaticContentWrapper: E
|
|
8151
8159
|
// SdUiRecordView,
|
|
8152
8160
|
// SdReport,
|
|
8153
8161
|
},
|
|
8154
|
-
mixins: [
|
|
8162
|
+
mixins: [$],
|
|
8155
8163
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
8156
8164
|
beforeCreate() {
|
|
8157
8165
|
},
|
|
8158
8166
|
data() {
|
|
8159
8167
|
return {
|
|
8160
|
-
isDark:
|
|
8168
|
+
isDark: W(),
|
|
8161
8169
|
recordData: null
|
|
8162
8170
|
};
|
|
8163
8171
|
},
|
|
@@ -8172,32 +8180,29 @@ const ir = /* @__PURE__ */ R(xs, [["render", er], ["__scopeId", "data-v-a4f7a549
|
|
|
8172
8180
|
} else
|
|
8173
8181
|
return;
|
|
8174
8182
|
},
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
return this.getFormRef().formParentId;
|
|
8183
|
-
}
|
|
8184
|
-
return this.field.options.parentPath ? this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams && this.getFormRef().formParams[this.field.options.parentPath] ? this.getFormRef().formParams[this.field.options.parentPath] : "" : this.formParams && this.formParams[this.field.options.parentPath] ? this.formParams[this.field.options.parentPath] : "" : "";
|
|
8183
|
+
showWhenParent() {
|
|
8184
|
+
if (this.field.options.showWhenParent && !this.builderStatus) {
|
|
8185
|
+
const e = this.getFormRef();
|
|
8186
|
+
let i = "";
|
|
8187
|
+
return e && e.formParams ? i = this.getObjectByPath(e.formParams, this.field.options.parentPath) || "" : i = this.getObjectByPath(this.formParams, this.field.options.parentPath) || "", !!i;
|
|
8188
|
+
} else
|
|
8189
|
+
return !0;
|
|
8185
8190
|
},
|
|
8186
8191
|
dataId() {
|
|
8187
8192
|
if (this.field.options.dataId) {
|
|
8188
8193
|
const e = this.refField(this.field.options.dataId);
|
|
8189
8194
|
if (e) {
|
|
8190
8195
|
const i = e.getValue();
|
|
8191
|
-
return i
|
|
8196
|
+
return i ? typeof i == "string" ? i : typeof i == "object" && i.value ? i.value : void 0 : void 0;
|
|
8192
8197
|
} else {
|
|
8193
8198
|
if (this.subFormItemFlag) {
|
|
8194
8199
|
const i = this.field.options.dataId + "@row" + this.subFormRowId;
|
|
8195
8200
|
if (this.refList[i]) {
|
|
8196
8201
|
const t = this.refList[i].getValue();
|
|
8197
|
-
return t
|
|
8202
|
+
return t ? typeof t == "string" ? t : typeof t == "object" && t.value ? t.value : void 0 : void 0;
|
|
8198
8203
|
}
|
|
8199
8204
|
}
|
|
8200
|
-
return
|
|
8205
|
+
return;
|
|
8201
8206
|
}
|
|
8202
8207
|
}
|
|
8203
8208
|
}
|
|
@@ -8209,7 +8214,7 @@ const ir = /* @__PURE__ */ R(xs, [["render", er], ["__scopeId", "data-v-a4f7a549
|
|
|
8209
8214
|
this.registerToRefList(), this.handleOnMounted();
|
|
8210
8215
|
},
|
|
8211
8216
|
setup() {
|
|
8212
|
-
const e =
|
|
8217
|
+
const e = R(null), i = N("formParams", {});
|
|
8213
8218
|
return {
|
|
8214
8219
|
fieldEditor: e,
|
|
8215
8220
|
formParams: i
|
|
@@ -8278,8 +8283,8 @@ const ir = /* @__PURE__ */ R(xs, [["render", er], ["__scopeId", "data-v-a4f7a549
|
|
|
8278
8283
|
}
|
|
8279
8284
|
});
|
|
8280
8285
|
function lr(e, i, t, l, r, h) {
|
|
8281
|
-
const s =
|
|
8282
|
-
return o(), d(
|
|
8286
|
+
const s = se, u = U, p = G, g = ue, w = Ri, L = E;
|
|
8287
|
+
return o(), d(L, {
|
|
8283
8288
|
"build-rules": e.rules,
|
|
8284
8289
|
field: e.field,
|
|
8285
8290
|
builder: e.builder,
|
|
@@ -8293,7 +8298,7 @@ function lr(e, i, t, l, r, h) {
|
|
|
8293
8298
|
"sub-form-row-id": e.subFormRowId
|
|
8294
8299
|
}, {
|
|
8295
8300
|
default: a(() => [
|
|
8296
|
-
(o(), d(w, {
|
|
8301
|
+
e.showWhenParent ? (o(), d(w, {
|
|
8297
8302
|
ref: "fieldEditor",
|
|
8298
8303
|
key: e.field.id,
|
|
8299
8304
|
"form-id": e.field.options.formId,
|
|
@@ -8344,7 +8349,7 @@ function lr(e, i, t, l, r, h) {
|
|
|
8344
8349
|
f.confirm ? (o(), d(g, {
|
|
8345
8350
|
key: 0,
|
|
8346
8351
|
title: f.confirmTitle,
|
|
8347
|
-
onConfirm: (V) => e.emitButtonRowClick(f, k, n.row)
|
|
8352
|
+
onConfirm: (V) => e.emitButtonRowClick(f, +k, n.row)
|
|
8348
8353
|
}, {
|
|
8349
8354
|
reference: a(() => [
|
|
8350
8355
|
m(p, {
|
|
@@ -8389,7 +8394,7 @@ function lr(e, i, t, l, r, h) {
|
|
|
8389
8394
|
tag: f.tag,
|
|
8390
8395
|
href: f.tag && f.tag == "a" ? f.href : "",
|
|
8391
8396
|
target: f.blank ? "_blank" : "_self",
|
|
8392
|
-
onClick: z((V) => e.emitButtonRowClick(f, k, n.row), ["prevent"])
|
|
8397
|
+
onClick: z((V) => e.emitButtonRowClick(f, +k, n.row), ["prevent"])
|
|
8393
8398
|
}, {
|
|
8394
8399
|
default: a(() => [
|
|
8395
8400
|
f.prefixIcon ? (o(), d(u, {
|
|
@@ -8409,28 +8414,28 @@ function lr(e, i, t, l, r, h) {
|
|
|
8409
8414
|
], 64))), 256)) : b("", !0)
|
|
8410
8415
|
]),
|
|
8411
8416
|
_: 1
|
|
8412
|
-
}, 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"]))
|
|
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"])) : b("", !0)
|
|
8413
8418
|
]),
|
|
8414
8419
|
_: 1
|
|
8415
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"]);
|
|
8416
8421
|
}
|
|
8417
|
-
const nr = /* @__PURE__ */
|
|
8422
|
+
const nr = /* @__PURE__ */ M(or, [["render", lr], ["__scopeId", "data-v-90cd0038"]]), sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8418
8423
|
__proto__: null,
|
|
8419
8424
|
default: nr
|
|
8420
8425
|
}, Symbol.toStringTag, { value: "Module" })), rr = I({
|
|
8421
8426
|
name: "report-ui",
|
|
8422
8427
|
typeName: "FormField",
|
|
8423
8428
|
components: {
|
|
8424
|
-
StaticContentWrapper:
|
|
8429
|
+
StaticContentWrapper: E
|
|
8425
8430
|
// SdReport,
|
|
8426
8431
|
},
|
|
8427
|
-
mixins: [
|
|
8432
|
+
mixins: [$],
|
|
8428
8433
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
8429
8434
|
beforeCreate() {
|
|
8430
8435
|
},
|
|
8431
8436
|
data() {
|
|
8432
8437
|
return {
|
|
8433
|
-
isDark:
|
|
8438
|
+
isDark: W()
|
|
8434
8439
|
};
|
|
8435
8440
|
},
|
|
8436
8441
|
computed: {
|
|
@@ -8445,7 +8450,7 @@ const nr = /* @__PURE__ */ R(or, [["render", lr], ["__scopeId", "data-v-2f36808c
|
|
|
8445
8450
|
this.registerToRefList(), this.handleOnMounted();
|
|
8446
8451
|
},
|
|
8447
8452
|
setup() {
|
|
8448
|
-
const e =
|
|
8453
|
+
const e = R(null), i = N("formParams", {});
|
|
8449
8454
|
return {
|
|
8450
8455
|
fieldEditor: e,
|
|
8451
8456
|
formParams: i
|
|
@@ -8465,7 +8470,7 @@ const nr = /* @__PURE__ */ R(or, [["render", lr], ["__scopeId", "data-v-2f36808c
|
|
|
8465
8470
|
}
|
|
8466
8471
|
});
|
|
8467
8472
|
function dr(e, i, t, l, r, h) {
|
|
8468
|
-
const s =
|
|
8473
|
+
const s = se, u = U, p = G, g = E;
|
|
8469
8474
|
return o(), d(g, {
|
|
8470
8475
|
"build-rules": e.rules,
|
|
8471
8476
|
field: e.field,
|
|
@@ -8498,7 +8503,7 @@ function dr(e, i, t, l, r, h) {
|
|
|
8498
8503
|
}, {
|
|
8499
8504
|
default: a(() => [
|
|
8500
8505
|
m(u, { "icon-name": "report-ui" }),
|
|
8501
|
-
i[0] || (i[0] =
|
|
8506
|
+
i[0] || (i[0] = P()),
|
|
8502
8507
|
S("span", null, v(e.field.options.providerType || "Report"), 1)
|
|
8503
8508
|
]),
|
|
8504
8509
|
_: 1
|
|
@@ -8507,16 +8512,16 @@ function dr(e, i, t, l, r, h) {
|
|
|
8507
8512
|
_: 1
|
|
8508
8513
|
}, 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"]);
|
|
8509
8514
|
}
|
|
8510
|
-
const ar = /* @__PURE__ */
|
|
8515
|
+
const ar = /* @__PURE__ */ M(rr, [["render", dr], ["__scopeId", "data-v-7a37e132"]]), fr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8511
8516
|
__proto__: null,
|
|
8512
8517
|
default: ar
|
|
8513
8518
|
}, Symbol.toStringTag, { value: "Module" })), ur = I({
|
|
8514
8519
|
name: "segmented-ui",
|
|
8515
8520
|
typeName: "FormField",
|
|
8516
8521
|
components: {
|
|
8517
|
-
StaticContentWrapper:
|
|
8522
|
+
StaticContentWrapper: E
|
|
8518
8523
|
},
|
|
8519
|
-
mixins: [
|
|
8524
|
+
mixins: [$],
|
|
8520
8525
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
8521
8526
|
beforeCreate() {
|
|
8522
8527
|
},
|
|
@@ -8550,7 +8555,7 @@ const ar = /* @__PURE__ */ R(rr, [["render", dr], ["__scopeId", "data-v-7a37e132
|
|
|
8550
8555
|
},
|
|
8551
8556
|
setup() {
|
|
8552
8557
|
return {
|
|
8553
|
-
fieldEditor:
|
|
8558
|
+
fieldEditor: R(null)
|
|
8554
8559
|
};
|
|
8555
8560
|
},
|
|
8556
8561
|
methods: {
|
|
@@ -8571,7 +8576,7 @@ const ar = /* @__PURE__ */ R(rr, [["render", dr], ["__scopeId", "data-v-7a37e132
|
|
|
8571
8576
|
}
|
|
8572
8577
|
});
|
|
8573
8578
|
function pr(e, i, t, l, r, h) {
|
|
8574
|
-
const s = U, u = at, p =
|
|
8579
|
+
const s = U, u = at, p = E;
|
|
8575
8580
|
return o(), d(p, {
|
|
8576
8581
|
"build-rules": e.rules,
|
|
8577
8582
|
field: e.field,
|
|
@@ -8619,17 +8624,17 @@ function pr(e, i, t, l, r, h) {
|
|
|
8619
8624
|
_: 1
|
|
8620
8625
|
}, 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"]);
|
|
8621
8626
|
}
|
|
8622
|
-
const mr = /* @__PURE__ */
|
|
8627
|
+
const mr = /* @__PURE__ */ M(ur, [["render", pr], ["__scopeId", "data-v-58269946"]]), hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8623
8628
|
__proto__: null,
|
|
8624
8629
|
default: mr
|
|
8625
8630
|
}, Symbol.toStringTag, { value: "Module" })), cr = I({
|
|
8626
8631
|
name: "select-data-input",
|
|
8627
8632
|
typeName: "FormField",
|
|
8628
8633
|
components: {
|
|
8629
|
-
FormItemWrapper:
|
|
8634
|
+
FormItemWrapper: O
|
|
8630
8635
|
// SdCrudSelectSubForm,
|
|
8631
8636
|
},
|
|
8632
|
-
mixins: [
|
|
8637
|
+
mixins: [$],
|
|
8633
8638
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
8634
8639
|
computed: {
|
|
8635
8640
|
fieldValue: {
|
|
@@ -8720,7 +8725,7 @@ const mr = /* @__PURE__ */ R(ur, [["render", pr], ["__scopeId", "data-v-58269946
|
|
|
8720
8725
|
return {};
|
|
8721
8726
|
},
|
|
8722
8727
|
setup() {
|
|
8723
|
-
const e =
|
|
8728
|
+
const e = R(null), i = N("formParams", {});
|
|
8724
8729
|
return {
|
|
8725
8730
|
fieldEditor: e,
|
|
8726
8731
|
formParams: i
|
|
@@ -8731,7 +8736,7 @@ const mr = /* @__PURE__ */ R(ur, [["render", pr], ["__scopeId", "data-v-58269946
|
|
|
8731
8736
|
}
|
|
8732
8737
|
});
|
|
8733
8738
|
function br(e, i, t, l, r, h) {
|
|
8734
|
-
const s = ve, u =
|
|
8739
|
+
const s = ve, u = O;
|
|
8735
8740
|
return o(), d(u, {
|
|
8736
8741
|
"build-rules": e.rules,
|
|
8737
8742
|
field: e.field,
|
|
@@ -8779,17 +8784,17 @@ function br(e, i, t, l, r, h) {
|
|
|
8779
8784
|
_: 1
|
|
8780
8785
|
}, 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"]);
|
|
8781
8786
|
}
|
|
8782
|
-
const gr = /* @__PURE__ */
|
|
8787
|
+
const gr = /* @__PURE__ */ M(cr, [["render", br]]), Fr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8783
8788
|
__proto__: null,
|
|
8784
8789
|
default: gr
|
|
8785
8790
|
}, Symbol.toStringTag, { value: "Module" })), yr = I({
|
|
8786
8791
|
name: "select-form-input",
|
|
8787
8792
|
typeName: "FormField",
|
|
8788
8793
|
components: {
|
|
8789
|
-
FormItemWrapper:
|
|
8794
|
+
FormItemWrapper: O
|
|
8790
8795
|
// SdCrudSelectSubForm,
|
|
8791
8796
|
},
|
|
8792
|
-
mixins: [
|
|
8797
|
+
mixins: [$],
|
|
8793
8798
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
8794
8799
|
computed: {
|
|
8795
8800
|
fieldValue: {
|
|
@@ -8815,17 +8820,6 @@ const gr = /* @__PURE__ */ R(cr, [["render", br]]), Fr = /* @__PURE__ */ Object.
|
|
|
8815
8820
|
allowDefaultFirstOption() {
|
|
8816
8821
|
return !!this.field.options.filterable && !!this.field.options.allowCreate;
|
|
8817
8822
|
},
|
|
8818
|
-
params() {
|
|
8819
|
-
return this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams : this.formParams ? this.formParams : {};
|
|
8820
|
-
},
|
|
8821
|
-
parentId() {
|
|
8822
|
-
if (this.field.options.defaultFilterParent && !this.field.options.dependEnable && this.getFormRef() && this.getFormRef().formParentId) {
|
|
8823
|
-
const e = this.getFormRef().formIdParent ? this.getFormRef().formIdParent : null;
|
|
8824
|
-
if (this.fieldEditor && this.fieldEditor.getParentFormId && this.fieldEditor.getParentFormId === e)
|
|
8825
|
-
return this.getFormRef().formParentId;
|
|
8826
|
-
}
|
|
8827
|
-
return this.field.options.parentPath ? this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams && this.getFormRef().formParams[this.field.options.parentPath] ? this.getFormRef().formParams[this.field.options.parentPath] : "" : this.formParams && this.formParams[this.field.options.parentPath] ? this.formParams[this.field.options.parentPath] : "" : "";
|
|
8828
|
-
},
|
|
8829
8823
|
dependField() {
|
|
8830
8824
|
const e = this.field.options.dependField || null;
|
|
8831
8825
|
if (this.refList[e])
|
|
@@ -8836,8 +8830,15 @@ const gr = /* @__PURE__ */ R(cr, [["render", br]]), Fr = /* @__PURE__ */ Object.
|
|
|
8836
8830
|
return this.refList[i].fieldEditor;
|
|
8837
8831
|
}
|
|
8838
8832
|
},
|
|
8839
|
-
|
|
8833
|
+
showWhenParent() {
|
|
8834
|
+
if (this.field.options.showWhenParent && !this.builderStatus) {
|
|
8835
|
+
const e = this.getFormRef();
|
|
8836
|
+
let i = "";
|
|
8837
|
+
return e && e.formParams ? i = this.getObjectByPath(e.formParams, this.field.options.parentPath) || "" : i = this.getObjectByPath(this.formParams, this.field.options.parentPath) || "", !!i;
|
|
8838
|
+
} else
|
|
8839
|
+
return !0;
|
|
8840
8840
|
}
|
|
8841
|
+
//valueObjectId() {},
|
|
8841
8842
|
},
|
|
8842
8843
|
beforeCreate() {
|
|
8843
8844
|
},
|
|
@@ -8851,7 +8852,7 @@ const gr = /* @__PURE__ */ R(cr, [["render", br]]), Fr = /* @__PURE__ */ Object.
|
|
|
8851
8852
|
return {};
|
|
8852
8853
|
},
|
|
8853
8854
|
setup() {
|
|
8854
|
-
const e =
|
|
8855
|
+
const e = R(null), i = N("formParams", {});
|
|
8855
8856
|
return {
|
|
8856
8857
|
fieldEditor: e,
|
|
8857
8858
|
formParams: i
|
|
@@ -8859,10 +8860,23 @@ const gr = /* @__PURE__ */ R(cr, [["render", br]]), Fr = /* @__PURE__ */ Object.
|
|
|
8859
8860
|
},
|
|
8860
8861
|
beforeUnmount() {
|
|
8861
8862
|
this.unregisterFromRefList();
|
|
8863
|
+
},
|
|
8864
|
+
methods: {
|
|
8865
|
+
handleChangeSelect(e) {
|
|
8866
|
+
try {
|
|
8867
|
+
if (this.field.options.parentMode) {
|
|
8868
|
+
const i = this.getFormRef(), t = this.getOptionsModel();
|
|
8869
|
+
i && i.formParams ? t && t.name && (i.formParams.xparentx = i.formParams[t.name] && i.formParams[t.name].value ? i.formParams[t.name].value : null, i.formParams.xrstatx = e ? 1 : 0) : t && t.name && (this.formParams.xparentx = this.formParams[t.name] && this.formParams[t.name].value ? this.formParams[t.name].value : null, this.formParams.xrstatx = e ? 1 : 0);
|
|
8870
|
+
}
|
|
8871
|
+
this.handleChangeEvent(e);
|
|
8872
|
+
} catch (i) {
|
|
8873
|
+
this.alert(i.message, "warning");
|
|
8874
|
+
}
|
|
8875
|
+
}
|
|
8862
8876
|
}
|
|
8863
8877
|
});
|
|
8864
8878
|
function vr(e, i, t, l, r, h) {
|
|
8865
|
-
const s = ve, u =
|
|
8879
|
+
const s = ve, u = O;
|
|
8866
8880
|
return o(), d(u, {
|
|
8867
8881
|
"build-rules": e.rules,
|
|
8868
8882
|
field: e.field,
|
|
@@ -8910,7 +8924,7 @@ function vr(e, i, t, l, r, h) {
|
|
|
8910
8924
|
params: e.params,
|
|
8911
8925
|
"build-state": e.builderStatus,
|
|
8912
8926
|
onClear: e.handleOnClear,
|
|
8913
|
-
onChange: e.
|
|
8927
|
+
onChange: e.handleChangeSelect,
|
|
8914
8928
|
onFocus: e.handleFocusCustomEvent,
|
|
8915
8929
|
onBlur: e.handleBlurCustomEvent,
|
|
8916
8930
|
"user-state": e.globalUserState
|
|
@@ -8919,16 +8933,16 @@ function vr(e, i, t, l, r, h) {
|
|
|
8919
8933
|
_: 1
|
|
8920
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"]);
|
|
8921
8935
|
}
|
|
8922
|
-
const wr = /* @__PURE__ */
|
|
8936
|
+
const wr = /* @__PURE__ */ M(yr, [["render", vr]]), Cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8923
8937
|
__proto__: null,
|
|
8924
8938
|
default: wr
|
|
8925
8939
|
}, Symbol.toStringTag, { value: "Module" })), Ir = I({
|
|
8926
8940
|
name: "select-input",
|
|
8927
8941
|
typeName: "FormField",
|
|
8928
8942
|
components: {
|
|
8929
|
-
FormItemWrapper:
|
|
8943
|
+
FormItemWrapper: O
|
|
8930
8944
|
},
|
|
8931
|
-
mixins: [
|
|
8945
|
+
mixins: [$],
|
|
8932
8946
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
8933
8947
|
computed: {
|
|
8934
8948
|
fieldValue: {
|
|
@@ -8953,7 +8967,7 @@ const wr = /* @__PURE__ */ R(yr, [["render", vr]]), Cr = /* @__PURE__ */ Object.
|
|
|
8953
8967
|
},
|
|
8954
8968
|
setup() {
|
|
8955
8969
|
return {
|
|
8956
|
-
fieldEditor:
|
|
8970
|
+
fieldEditor: R(null)
|
|
8957
8971
|
};
|
|
8958
8972
|
},
|
|
8959
8973
|
beforeUnmount() {
|
|
@@ -8961,7 +8975,7 @@ const wr = /* @__PURE__ */ R(yr, [["render", vr]]), Cr = /* @__PURE__ */ Object.
|
|
|
8961
8975
|
}
|
|
8962
8976
|
});
|
|
8963
8977
|
function Sr(e, i, t, l, r, h) {
|
|
8964
|
-
const s = ut, u = ft, p =
|
|
8978
|
+
const s = ut, u = ft, p = O;
|
|
8965
8979
|
return o(), d(p, {
|
|
8966
8980
|
"build-rules": e.rules,
|
|
8967
8981
|
field: e.field,
|
|
@@ -9011,17 +9025,17 @@ function Sr(e, i, t, l, r, h) {
|
|
|
9011
9025
|
_: 1
|
|
9012
9026
|
}, 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"]);
|
|
9013
9027
|
}
|
|
9014
|
-
const
|
|
9028
|
+
const Mr = /* @__PURE__ */ M(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572"]]), Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9015
9029
|
__proto__: null,
|
|
9016
|
-
default:
|
|
9017
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9030
|
+
default: Mr
|
|
9031
|
+
}, Symbol.toStringTag, { value: "Module" })), Rr = I({
|
|
9018
9032
|
name: "select-path-input",
|
|
9019
9033
|
typeName: "FormField",
|
|
9020
9034
|
components: {
|
|
9021
|
-
FormItemWrapper:
|
|
9035
|
+
FormItemWrapper: O
|
|
9022
9036
|
// SdSelectPathData,
|
|
9023
9037
|
},
|
|
9024
|
-
mixins: [
|
|
9038
|
+
mixins: [$],
|
|
9025
9039
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
9026
9040
|
data() {
|
|
9027
9041
|
return {
|
|
@@ -9054,7 +9068,7 @@ const Rr = /* @__PURE__ */ R(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572
|
|
|
9054
9068
|
},
|
|
9055
9069
|
setup() {
|
|
9056
9070
|
return {
|
|
9057
|
-
fieldEditor:
|
|
9071
|
+
fieldEditor: R(null)
|
|
9058
9072
|
};
|
|
9059
9073
|
},
|
|
9060
9074
|
watch: {
|
|
@@ -9064,7 +9078,7 @@ const Rr = /* @__PURE__ */ R(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572
|
|
|
9064
9078
|
let i = [];
|
|
9065
9079
|
if (this.field.options.sourcePath)
|
|
9066
9080
|
for (const t in e) {
|
|
9067
|
-
const l = e[t], r =
|
|
9081
|
+
const l = e[t], r = le(l, this.field.options.sourcePath);
|
|
9068
9082
|
if (r && typeof r == "object")
|
|
9069
9083
|
for (const h in r) {
|
|
9070
9084
|
let s = r[h];
|
|
@@ -9121,7 +9135,7 @@ const Rr = /* @__PURE__ */ R(Ir, [["render", Sr], ["__scopeId", "data-v-fc573572
|
|
|
9121
9135
|
}
|
|
9122
9136
|
});
|
|
9123
9137
|
function kr(e, i, t, l, r, h) {
|
|
9124
|
-
const s = ki, u =
|
|
9138
|
+
const s = ki, u = O;
|
|
9125
9139
|
return o(), d(u, {
|
|
9126
9140
|
"build-rules": e.rules,
|
|
9127
9141
|
field: e.field,
|
|
@@ -9169,17 +9183,17 @@ function kr(e, i, t, l, r, h) {
|
|
|
9169
9183
|
_: 1
|
|
9170
9184
|
}, 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"]);
|
|
9171
9185
|
}
|
|
9172
|
-
const
|
|
9186
|
+
const $r = /* @__PURE__ */ M(Rr, [["render", kr], ["__scopeId", "data-v-2b0c7426"]]), Lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9173
9187
|
__proto__: null,
|
|
9174
|
-
default:
|
|
9175
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9188
|
+
default: $r
|
|
9189
|
+
}, Symbol.toStringTag, { value: "Module" })), Pr = I({
|
|
9176
9190
|
name: "select-sql-input",
|
|
9177
9191
|
typeName: "FormField",
|
|
9178
9192
|
components: {
|
|
9179
|
-
FormItemWrapper:
|
|
9193
|
+
FormItemWrapper: O
|
|
9180
9194
|
// SdCrudSelectSubForm,
|
|
9181
9195
|
},
|
|
9182
|
-
mixins: [
|
|
9196
|
+
mixins: [$],
|
|
9183
9197
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
9184
9198
|
computed: {
|
|
9185
9199
|
fieldValue: {
|
|
@@ -9212,7 +9226,7 @@ const Pr = /* @__PURE__ */ R(Or, [["render", kr], ["__scopeId", "data-v-2b0c7426
|
|
|
9212
9226
|
return {};
|
|
9213
9227
|
},
|
|
9214
9228
|
setup() {
|
|
9215
|
-
const e =
|
|
9229
|
+
const e = R(null), i = N("formParams", {});
|
|
9216
9230
|
return {
|
|
9217
9231
|
fieldEditor: e,
|
|
9218
9232
|
formParams: i
|
|
@@ -9222,8 +9236,8 @@ const Pr = /* @__PURE__ */ R(Or, [["render", kr], ["__scopeId", "data-v-2b0c7426
|
|
|
9222
9236
|
this.unregisterFromRefList();
|
|
9223
9237
|
}
|
|
9224
9238
|
});
|
|
9225
|
-
function
|
|
9226
|
-
const s = ve, u =
|
|
9239
|
+
function Er(e, i, t, l, r, h) {
|
|
9240
|
+
const s = ve, u = O;
|
|
9227
9241
|
return o(), d(u, {
|
|
9228
9242
|
"build-rules": e.rules,
|
|
9229
9243
|
field: e.field,
|
|
@@ -9274,23 +9288,23 @@ function Lr(e, i, t, l, r, h) {
|
|
|
9274
9288
|
_: 1
|
|
9275
9289
|
}, 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"]);
|
|
9276
9290
|
}
|
|
9277
|
-
const jr = /* @__PURE__ */
|
|
9291
|
+
const jr = /* @__PURE__ */ M(Pr, [["render", Er]]), Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9278
9292
|
__proto__: null,
|
|
9279
9293
|
default: jr
|
|
9280
9294
|
}, Symbol.toStringTag, { value: "Module" })), Tr = I({
|
|
9281
9295
|
name: "side-menu-ui",
|
|
9282
9296
|
typeName: "FormField",
|
|
9283
9297
|
components: {
|
|
9284
|
-
StaticContentWrapper:
|
|
9298
|
+
StaticContentWrapper: E
|
|
9285
9299
|
// SdUiMenu,
|
|
9286
9300
|
},
|
|
9287
|
-
mixins: [
|
|
9301
|
+
mixins: [$],
|
|
9288
9302
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
9289
9303
|
beforeCreate() {
|
|
9290
9304
|
},
|
|
9291
9305
|
data() {
|
|
9292
9306
|
return {
|
|
9293
|
-
isDark:
|
|
9307
|
+
isDark: W()
|
|
9294
9308
|
};
|
|
9295
9309
|
},
|
|
9296
9310
|
computed: {
|
|
@@ -9304,16 +9318,13 @@ const jr = /* @__PURE__ */ R(Er, [["render", Lr]]), Dr = /* @__PURE__ */ Object.
|
|
|
9304
9318
|
} else
|
|
9305
9319
|
return;
|
|
9306
9320
|
},
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
return this.getFormRef().formParentId;
|
|
9315
|
-
}
|
|
9316
|
-
return this.field.options.parentPath ? this.getFormRef() && this.getFormRef().formParams ? this.getFormRef().formParams && this.getFormRef().formParams[this.field.options.parentPath] ? this.getFormRef().formParams[this.field.options.parentPath] : "" : this.formParams && this.formParams[this.field.options.parentPath] ? this.formParams[this.field.options.parentPath] : "" : "";
|
|
9321
|
+
showWhenParent() {
|
|
9322
|
+
if (this.field.options.showWhenParent && !this.builderStatus) {
|
|
9323
|
+
const e = this.getFormRef();
|
|
9324
|
+
let i = "";
|
|
9325
|
+
return e && e.formParams ? i = this.getObjectByPath(e.formParams, this.field.options.parentPath) || "" : i = this.getObjectByPath(this.formParams, this.field.options.parentPath) || "", !!i;
|
|
9326
|
+
} else
|
|
9327
|
+
return !0;
|
|
9317
9328
|
}
|
|
9318
9329
|
},
|
|
9319
9330
|
created() {
|
|
@@ -9323,7 +9334,7 @@ const jr = /* @__PURE__ */ R(Er, [["render", Lr]]), Dr = /* @__PURE__ */ Object.
|
|
|
9323
9334
|
this.registerToRefList(), this.handleOnMounted();
|
|
9324
9335
|
},
|
|
9325
9336
|
setup() {
|
|
9326
|
-
const e =
|
|
9337
|
+
const e = R(null), i = N("formParams", {});
|
|
9327
9338
|
return {
|
|
9328
9339
|
fieldEditor: e,
|
|
9329
9340
|
formParams: i
|
|
@@ -9343,7 +9354,7 @@ const jr = /* @__PURE__ */ R(Er, [["render", Lr]]), Dr = /* @__PURE__ */ Object.
|
|
|
9343
9354
|
}
|
|
9344
9355
|
});
|
|
9345
9356
|
function Vr(e, i, t, l, r, h) {
|
|
9346
|
-
const s =
|
|
9357
|
+
const s = $i, u = E;
|
|
9347
9358
|
return o(), d(u, {
|
|
9348
9359
|
"build-rules": e.rules,
|
|
9349
9360
|
field: e.field,
|
|
@@ -9359,7 +9370,7 @@ function Vr(e, i, t, l, r, h) {
|
|
|
9359
9370
|
"sub-form-row-id": e.subFormRowId
|
|
9360
9371
|
}, {
|
|
9361
9372
|
default: a(() => [
|
|
9362
|
-
(o(), d(s, {
|
|
9373
|
+
e.showWhenParent ? (o(), d(s, {
|
|
9363
9374
|
ref: "fieldEditor",
|
|
9364
9375
|
key: e.field.id,
|
|
9365
9376
|
"form-id": e.field.options.formId,
|
|
@@ -9369,7 +9380,6 @@ function Vr(e, i, t, l, r, h) {
|
|
|
9369
9380
|
params: e.params,
|
|
9370
9381
|
"icon-field": e.field.options.iconField || void 0,
|
|
9371
9382
|
"label-field": e.field.options.labelOneField || void 0,
|
|
9372
|
-
"index-field": e.field.options.indexField || void 0,
|
|
9373
9383
|
"path-field": e.field.options.pathField || void 0,
|
|
9374
9384
|
"role-field": e.field.options.roleField || void 0,
|
|
9375
9385
|
"sub-menu-field": e.field.options.subMenuField || void 0,
|
|
@@ -9395,21 +9405,21 @@ function Vr(e, i, t, l, r, h) {
|
|
|
9395
9405
|
"click-event": e.field.options.clickEvent ? e.clickEvent : void 0,
|
|
9396
9406
|
"user-state": e.globalUserState,
|
|
9397
9407
|
"build-state": e.builderStatus
|
|
9398
|
-
}, null, 8, ["form-id", "provider-type", "data-provider", "parent-id", "params", "icon-field", "label-field", "
|
|
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"])) : b("", !0)
|
|
9399
9409
|
]),
|
|
9400
9410
|
_: 1
|
|
9401
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"]);
|
|
9402
9412
|
}
|
|
9403
|
-
const zr = /* @__PURE__ */
|
|
9413
|
+
const zr = /* @__PURE__ */ M(Tr, [["render", Vr], ["__scopeId", "data-v-f14cdffc"]]), Ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9404
9414
|
__proto__: null,
|
|
9405
9415
|
default: zr
|
|
9406
9416
|
}, Symbol.toStringTag, { value: "Module" })), Br = I({
|
|
9407
9417
|
name: "slider-input",
|
|
9408
9418
|
typeName: "FormField",
|
|
9409
9419
|
components: {
|
|
9410
|
-
FormItemWrapper:
|
|
9420
|
+
FormItemWrapper: O
|
|
9411
9421
|
},
|
|
9412
|
-
mixins: [
|
|
9422
|
+
mixins: [$],
|
|
9413
9423
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
9414
9424
|
computed: {
|
|
9415
9425
|
fieldValue: {
|
|
@@ -9439,7 +9449,7 @@ const zr = /* @__PURE__ */ R(Tr, [["render", Vr], ["__scopeId", "data-v-1704ff87
|
|
|
9439
9449
|
},
|
|
9440
9450
|
setup() {
|
|
9441
9451
|
return {
|
|
9442
|
-
fieldEditor:
|
|
9452
|
+
fieldEditor: R(null)
|
|
9443
9453
|
};
|
|
9444
9454
|
},
|
|
9445
9455
|
beforeUnmount() {
|
|
@@ -9447,7 +9457,7 @@ const zr = /* @__PURE__ */ R(Tr, [["render", Vr], ["__scopeId", "data-v-1704ff87
|
|
|
9447
9457
|
}
|
|
9448
9458
|
});
|
|
9449
9459
|
function Ar(e, i, t, l, r, h) {
|
|
9450
|
-
const s = pt, u =
|
|
9460
|
+
const s = pt, u = O;
|
|
9451
9461
|
return o(), d(u, {
|
|
9452
9462
|
"build-rules": e.rules,
|
|
9453
9463
|
field: e.field,
|
|
@@ -9478,17 +9488,17 @@ function Ar(e, i, t, l, r, h) {
|
|
|
9478
9488
|
_: 1
|
|
9479
9489
|
}, 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"]);
|
|
9480
9490
|
}
|
|
9481
|
-
const Nr = /* @__PURE__ */
|
|
9491
|
+
const Nr = /* @__PURE__ */ M(Br, [["render", Ar], ["__scopeId", "data-v-01943245"]]), Wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9482
9492
|
__proto__: null,
|
|
9483
9493
|
default: Nr
|
|
9484
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9494
|
+
}, Symbol.toStringTag, { value: "Module" })), Hr = I({
|
|
9485
9495
|
name: "statistic-ui",
|
|
9486
9496
|
typeName: "FormField",
|
|
9487
9497
|
components: {
|
|
9488
|
-
StaticContentWrapper:
|
|
9498
|
+
StaticContentWrapper: E
|
|
9489
9499
|
// SdHtmlEditor,
|
|
9490
9500
|
},
|
|
9491
|
-
mixins: [
|
|
9501
|
+
mixins: [$],
|
|
9492
9502
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
9493
9503
|
beforeCreate() {
|
|
9494
9504
|
},
|
|
@@ -9501,7 +9511,7 @@ const Nr = /* @__PURE__ */ R(Br, [["render", Ar], ["__scopeId", "data-v-01943245
|
|
|
9501
9511
|
},
|
|
9502
9512
|
setup() {
|
|
9503
9513
|
return {
|
|
9504
|
-
fieldEditor:
|
|
9514
|
+
fieldEditor: R(null)
|
|
9505
9515
|
};
|
|
9506
9516
|
},
|
|
9507
9517
|
methods: {},
|
|
@@ -9513,7 +9523,7 @@ const Nr = /* @__PURE__ */ R(Br, [["render", Ar], ["__scopeId", "data-v-01943245
|
|
|
9513
9523
|
class: "statistic-footer"
|
|
9514
9524
|
}, Zr = { class: "footer-item" };
|
|
9515
9525
|
function Qr(e, i, t, l, r, h) {
|
|
9516
|
-
const s = U, u = ee, p = mt, g =
|
|
9526
|
+
const s = U, u = ee, p = mt, g = he, w = E;
|
|
9517
9527
|
return o(), d(w, {
|
|
9518
9528
|
"build-rules": e.rules,
|
|
9519
9529
|
field: e.field,
|
|
@@ -9543,7 +9553,7 @@ function Qr(e, i, t, l, r, h) {
|
|
|
9543
9553
|
}, K({
|
|
9544
9554
|
title: a(() => [
|
|
9545
9555
|
S("div", qr, [
|
|
9546
|
-
|
|
9556
|
+
P(v(e.field.options.title) + " ", 1),
|
|
9547
9557
|
e.field.options.labelTooltip ? (o(), d(u, {
|
|
9548
9558
|
key: 0,
|
|
9549
9559
|
content: e.field.options.labelTooltip
|
|
@@ -9585,7 +9595,7 @@ function Qr(e, i, t, l, r, h) {
|
|
|
9585
9595
|
"icon-name": e.field.options.suffixIcon,
|
|
9586
9596
|
class: "ml-1"
|
|
9587
9597
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
9588
|
-
i[1] || (i[1] =
|
|
9598
|
+
i[1] || (i[1] = P()),
|
|
9589
9599
|
e.field.options.suffixText ? (o(), c("span", Jr, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
9590
9600
|
]),
|
|
9591
9601
|
key: "1"
|
|
@@ -9595,7 +9605,7 @@ function Qr(e, i, t, l, r, h) {
|
|
|
9595
9605
|
S("div", Zr, [
|
|
9596
9606
|
m(g, {
|
|
9597
9607
|
modelValue: e.field.options.footer,
|
|
9598
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
9608
|
+
"onUpdate:modelValue": i[0] || (i[0] = (L) => e.field.options.footer = L),
|
|
9599
9609
|
mode: "mini",
|
|
9600
9610
|
readonly: !0,
|
|
9601
9611
|
"user-state": e.globalUserState
|
|
@@ -9607,16 +9617,16 @@ function Qr(e, i, t, l, r, h) {
|
|
|
9607
9617
|
_: 1
|
|
9608
9618
|
}, 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"]);
|
|
9609
9619
|
}
|
|
9610
|
-
const Yr = /* @__PURE__ */
|
|
9620
|
+
const Yr = /* @__PURE__ */ M(Hr, [["render", Qr], ["__scopeId", "data-v-a98bc28c"]]), Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9611
9621
|
__proto__: null,
|
|
9612
9622
|
default: Yr
|
|
9613
9623
|
}, Symbol.toStringTag, { value: "Module" })), _r = I({
|
|
9614
9624
|
name: "step-ui",
|
|
9615
9625
|
typeName: "FormField",
|
|
9616
9626
|
components: {
|
|
9617
|
-
StaticContentWrapper:
|
|
9627
|
+
StaticContentWrapper: E
|
|
9618
9628
|
},
|
|
9619
|
-
mixins: [
|
|
9629
|
+
mixins: [$],
|
|
9620
9630
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
9621
9631
|
beforeCreate() {
|
|
9622
9632
|
},
|
|
@@ -9653,7 +9663,7 @@ const Yr = /* @__PURE__ */ R(Wr, [["render", Qr], ["__scopeId", "data-v-a98bc28c
|
|
|
9653
9663
|
},
|
|
9654
9664
|
setup() {
|
|
9655
9665
|
return {
|
|
9656
|
-
fieldEditor:
|
|
9666
|
+
fieldEditor: R(null)
|
|
9657
9667
|
};
|
|
9658
9668
|
},
|
|
9659
9669
|
methods: {
|
|
@@ -9669,7 +9679,7 @@ const Yr = /* @__PURE__ */ R(Wr, [["render", Qr], ["__scopeId", "data-v-a98bc28c
|
|
|
9669
9679
|
}
|
|
9670
9680
|
});
|
|
9671
9681
|
function xr(e, i, t, l, r, h) {
|
|
9672
|
-
const s = ct, u = ht, p =
|
|
9682
|
+
const s = ct, u = ht, p = E;
|
|
9673
9683
|
return o(), d(p, {
|
|
9674
9684
|
"build-rules": e.rules,
|
|
9675
9685
|
field: e.field,
|
|
@@ -9707,16 +9717,16 @@ function xr(e, i, t, l, r, h) {
|
|
|
9707
9717
|
_: 1
|
|
9708
9718
|
}, 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"]);
|
|
9709
9719
|
}
|
|
9710
|
-
const ed = /* @__PURE__ */
|
|
9720
|
+
const ed = /* @__PURE__ */ M(_r, [["render", xr], ["__scopeId", "data-v-36741146"]]), id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9711
9721
|
__proto__: null,
|
|
9712
9722
|
default: ed
|
|
9713
9723
|
}, Symbol.toStringTag, { value: "Module" })), td = I({
|
|
9714
9724
|
name: "svg-input",
|
|
9715
9725
|
typeName: "FormField",
|
|
9716
9726
|
components: {
|
|
9717
|
-
FormItemWrapper:
|
|
9727
|
+
FormItemWrapper: O
|
|
9718
9728
|
},
|
|
9719
|
-
mixins: [
|
|
9729
|
+
mixins: [$],
|
|
9720
9730
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
9721
9731
|
beforeCreate() {
|
|
9722
9732
|
},
|
|
@@ -9753,7 +9763,7 @@ const ed = /* @__PURE__ */ R(_r, [["render", xr], ["__scopeId", "data-v-36741146
|
|
|
9753
9763
|
},
|
|
9754
9764
|
setup() {
|
|
9755
9765
|
return {
|
|
9756
|
-
fieldEditor:
|
|
9766
|
+
fieldEditor: R(null)
|
|
9757
9767
|
};
|
|
9758
9768
|
},
|
|
9759
9769
|
methods: {
|
|
@@ -9792,7 +9802,7 @@ const ed = /* @__PURE__ */ R(_r, [["render", xr], ["__scopeId", "data-v-36741146
|
|
|
9792
9802
|
}
|
|
9793
9803
|
}), od = ["src"];
|
|
9794
9804
|
function ld(e, i, t, l, r, h) {
|
|
9795
|
-
const s = J("Plus"), u =
|
|
9805
|
+
const s = J("Plus"), u = re, p = Ie, g = qe, w = O;
|
|
9796
9806
|
return o(), d(w, {
|
|
9797
9807
|
"build-rules": e.rules,
|
|
9798
9808
|
field: e.field,
|
|
@@ -9814,7 +9824,7 @@ function ld(e, i, t, l, r, h) {
|
|
|
9814
9824
|
disabled: e.field.options.disabled || !!e.builderStatus,
|
|
9815
9825
|
"list-type": "picture-card",
|
|
9816
9826
|
"file-list": e.fileList,
|
|
9817
|
-
"onUpdate:fileList": i[0] || (i[0] = (
|
|
9827
|
+
"onUpdate:fileList": i[0] || (i[0] = (L) => e.fileList = L),
|
|
9818
9828
|
limit: 1,
|
|
9819
9829
|
"on-preview": e.handleCardPreview,
|
|
9820
9830
|
"on-change": e.handleChange,
|
|
@@ -9836,7 +9846,7 @@ function ld(e, i, t, l, r, h) {
|
|
|
9836
9846
|
}, 8, ["class", "disabled", "file-list", "on-preview", "on-change", "on-remove", "before-upload"]),
|
|
9837
9847
|
m(g, {
|
|
9838
9848
|
modelValue: e.dialogVisible,
|
|
9839
|
-
"onUpdate:modelValue": i[1] || (i[1] = (
|
|
9849
|
+
"onUpdate:modelValue": i[1] || (i[1] = (L) => e.dialogVisible = L)
|
|
9840
9850
|
}, {
|
|
9841
9851
|
default: a(() => [
|
|
9842
9852
|
S("img", {
|
|
@@ -9851,16 +9861,16 @@ function ld(e, i, t, l, r, h) {
|
|
|
9851
9861
|
_: 1
|
|
9852
9862
|
}, 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"]);
|
|
9853
9863
|
}
|
|
9854
|
-
const nd = /* @__PURE__ */
|
|
9864
|
+
const nd = /* @__PURE__ */ M(td, [["render", ld], ["__scopeId", "data-v-46c91e56"]]), sd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9855
9865
|
__proto__: null,
|
|
9856
9866
|
default: nd
|
|
9857
9867
|
}, Symbol.toStringTag, { value: "Module" })), rd = I({
|
|
9858
9868
|
name: "svg-ui",
|
|
9859
9869
|
typeName: "FormField",
|
|
9860
9870
|
components: {
|
|
9861
|
-
StaticContentWrapper:
|
|
9871
|
+
StaticContentWrapper: E
|
|
9862
9872
|
},
|
|
9863
|
-
mixins: [
|
|
9873
|
+
mixins: [$],
|
|
9864
9874
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
9865
9875
|
beforeCreate() {
|
|
9866
9876
|
},
|
|
@@ -9872,7 +9882,7 @@ const nd = /* @__PURE__ */ R(td, [["render", ld], ["__scopeId", "data-v-46c91e56
|
|
|
9872
9882
|
},
|
|
9873
9883
|
setup() {
|
|
9874
9884
|
return {
|
|
9875
|
-
fieldEditor:
|
|
9885
|
+
fieldEditor: R(null)
|
|
9876
9886
|
};
|
|
9877
9887
|
},
|
|
9878
9888
|
beforeUnmount() {
|
|
@@ -9880,7 +9890,7 @@ const nd = /* @__PURE__ */ R(td, [["render", ld], ["__scopeId", "data-v-46c91e56
|
|
|
9880
9890
|
}
|
|
9881
9891
|
});
|
|
9882
9892
|
function dd(e, i, t, l, r, h) {
|
|
9883
|
-
const s =
|
|
9893
|
+
const s = Li, u = U, p = E;
|
|
9884
9894
|
return o(), d(p, {
|
|
9885
9895
|
"build-rules": e.rules,
|
|
9886
9896
|
field: e.field,
|
|
@@ -9920,16 +9930,16 @@ function dd(e, i, t, l, r, h) {
|
|
|
9920
9930
|
_: 1
|
|
9921
9931
|
}, 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"]);
|
|
9922
9932
|
}
|
|
9923
|
-
const ad = /* @__PURE__ */
|
|
9933
|
+
const ad = /* @__PURE__ */ M(rd, [["render", dd], ["__scopeId", "data-v-f8779646"]]), fd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9924
9934
|
__proto__: null,
|
|
9925
9935
|
default: ad
|
|
9926
9936
|
}, Symbol.toStringTag, { value: "Module" })), ud = I({
|
|
9927
9937
|
name: "switch-input",
|
|
9928
9938
|
typeName: "FormField",
|
|
9929
9939
|
components: {
|
|
9930
|
-
FormItemWrapper:
|
|
9940
|
+
FormItemWrapper: O
|
|
9931
9941
|
},
|
|
9932
|
-
mixins: [
|
|
9942
|
+
mixins: [$],
|
|
9933
9943
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
9934
9944
|
computed: {
|
|
9935
9945
|
fieldValue: {
|
|
@@ -9951,7 +9961,7 @@ const ad = /* @__PURE__ */ R(rd, [["render", dd], ["__scopeId", "data-v-f8779646
|
|
|
9951
9961
|
},
|
|
9952
9962
|
setup() {
|
|
9953
9963
|
return {
|
|
9954
|
-
fieldEditor:
|
|
9964
|
+
fieldEditor: R(null)
|
|
9955
9965
|
};
|
|
9956
9966
|
},
|
|
9957
9967
|
beforeUnmount() {
|
|
@@ -9959,7 +9969,7 @@ const ad = /* @__PURE__ */ R(rd, [["render", dd], ["__scopeId", "data-v-f8779646
|
|
|
9959
9969
|
}
|
|
9960
9970
|
}), pd = { class: "custom-active-action" }, md = { class: "custom-active-action" };
|
|
9961
9971
|
function hd(e, i, t, l, r, h) {
|
|
9962
|
-
const s = U, u = bt, p =
|
|
9972
|
+
const s = U, u = bt, p = O;
|
|
9963
9973
|
return o(), d(p, {
|
|
9964
9974
|
"build-rules": e.rules,
|
|
9965
9975
|
field: e.field,
|
|
@@ -10007,16 +10017,16 @@ function hd(e, i, t, l, r, h) {
|
|
|
10007
10017
|
_: 1
|
|
10008
10018
|
}, 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"]);
|
|
10009
10019
|
}
|
|
10010
|
-
const cd = /* @__PURE__ */
|
|
10020
|
+
const cd = /* @__PURE__ */ M(ud, [["render", hd], ["__scopeId", "data-v-60c683b8"]]), bd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10011
10021
|
__proto__: null,
|
|
10012
10022
|
default: cd
|
|
10013
10023
|
}, Symbol.toStringTag, { value: "Module" })), gd = I({
|
|
10014
10024
|
name: "tags-input",
|
|
10015
10025
|
typeName: "FormField",
|
|
10016
10026
|
components: {
|
|
10017
|
-
FormItemWrapper:
|
|
10027
|
+
FormItemWrapper: O
|
|
10018
10028
|
},
|
|
10019
|
-
mixins: [
|
|
10029
|
+
mixins: [$],
|
|
10020
10030
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
10021
10031
|
computed: {
|
|
10022
10032
|
fieldValue: {
|
|
@@ -10044,7 +10054,7 @@ const cd = /* @__PURE__ */ R(ud, [["render", hd], ["__scopeId", "data-v-60c683b8
|
|
|
10044
10054
|
},
|
|
10045
10055
|
setup() {
|
|
10046
10056
|
return {
|
|
10047
|
-
fieldEditor:
|
|
10057
|
+
fieldEditor: R(null)
|
|
10048
10058
|
};
|
|
10049
10059
|
},
|
|
10050
10060
|
beforeUnmount() {
|
|
@@ -10052,7 +10062,7 @@ const cd = /* @__PURE__ */ R(ud, [["render", hd], ["__scopeId", "data-v-60c683b8
|
|
|
10052
10062
|
}
|
|
10053
10063
|
}), Fd = { key: 1 }, yd = { key: 1 };
|
|
10054
10064
|
function vd(e, i, t, l, r, h) {
|
|
10055
|
-
const s = U, u = gt, p =
|
|
10065
|
+
const s = U, u = gt, p = O;
|
|
10056
10066
|
return o(), d(p, {
|
|
10057
10067
|
"build-rules": e.rules,
|
|
10058
10068
|
field: e.field,
|
|
@@ -10107,7 +10117,7 @@ function vd(e, i, t, l, r, h) {
|
|
|
10107
10117
|
key: 0,
|
|
10108
10118
|
"icon-name": e.field.options.suffixIcon
|
|
10109
10119
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
10110
|
-
i[1] || (i[1] =
|
|
10120
|
+
i[1] || (i[1] = P()),
|
|
10111
10121
|
e.field.options.suffixText ? (o(), c("span", yd, v(e.field.options.suffixText), 1)) : b("", !0)
|
|
10112
10122
|
]),
|
|
10113
10123
|
key: "1"
|
|
@@ -10117,16 +10127,16 @@ function vd(e, i, t, l, r, h) {
|
|
|
10117
10127
|
_: 1
|
|
10118
10128
|
}, 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"]);
|
|
10119
10129
|
}
|
|
10120
|
-
const wd = /* @__PURE__ */
|
|
10130
|
+
const wd = /* @__PURE__ */ M(gd, [["render", vd]]), Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10121
10131
|
__proto__: null,
|
|
10122
10132
|
default: wd
|
|
10123
10133
|
}, Symbol.toStringTag, { value: "Module" })), Id = I({
|
|
10124
10134
|
name: "text-input",
|
|
10125
10135
|
typeName: "FormField",
|
|
10126
10136
|
components: {
|
|
10127
|
-
FormItemWrapper:
|
|
10137
|
+
FormItemWrapper: O
|
|
10128
10138
|
},
|
|
10129
|
-
mixins: [
|
|
10139
|
+
mixins: [$],
|
|
10130
10140
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
10131
10141
|
computed: {
|
|
10132
10142
|
fieldValue: {
|
|
@@ -10151,7 +10161,7 @@ const wd = /* @__PURE__ */ R(gd, [["render", vd]]), Cd = /* @__PURE__ */ Object.
|
|
|
10151
10161
|
},
|
|
10152
10162
|
setup() {
|
|
10153
10163
|
return {
|
|
10154
|
-
fieldEditor:
|
|
10164
|
+
fieldEditor: R(null)
|
|
10155
10165
|
};
|
|
10156
10166
|
},
|
|
10157
10167
|
beforeUnmount() {
|
|
@@ -10159,7 +10169,7 @@ const wd = /* @__PURE__ */ R(gd, [["render", vd]]), Cd = /* @__PURE__ */ Object.
|
|
|
10159
10169
|
}
|
|
10160
10170
|
});
|
|
10161
10171
|
function Sd(e, i, t, l, r, h) {
|
|
10162
|
-
const s = U, u = G, p =
|
|
10172
|
+
const s = U, u = G, p = fe, g = O;
|
|
10163
10173
|
return o(), d(g, {
|
|
10164
10174
|
"build-rules": e.rules,
|
|
10165
10175
|
field: e.field,
|
|
@@ -10203,7 +10213,7 @@ function Sd(e, i, t, l, r, h) {
|
|
|
10203
10213
|
e.field.options.prefixText ? {
|
|
10204
10214
|
name: "prepend",
|
|
10205
10215
|
fn: a(() => [
|
|
10206
|
-
|
|
10216
|
+
P(v(e.field.options.prefixText), 1)
|
|
10207
10217
|
]),
|
|
10208
10218
|
key: "0"
|
|
10209
10219
|
} : void 0,
|
|
@@ -10211,7 +10221,7 @@ function Sd(e, i, t, l, r, h) {
|
|
|
10211
10221
|
name: "append",
|
|
10212
10222
|
fn: a(() => [
|
|
10213
10223
|
!e.field.options.appendButton && e.field.options.suffixText ? (o(), c(F, { key: 0 }, [
|
|
10214
|
-
|
|
10224
|
+
P(v(e.field.options.suffixText), 1)
|
|
10215
10225
|
], 64)) : (o(), d(u, {
|
|
10216
10226
|
key: 1,
|
|
10217
10227
|
disabled: e.field.options.disabled || e.field.options.appendButtonDisabled,
|
|
@@ -10223,7 +10233,7 @@ function Sd(e, i, t, l, r, h) {
|
|
|
10223
10233
|
"icon-name": e.field.options.buttonIcon,
|
|
10224
10234
|
class: "mr-1"
|
|
10225
10235
|
}, null, 8, ["icon-name"])) : b("", !0),
|
|
10226
|
-
|
|
10236
|
+
P(" " + v(e.field.options.suffixText), 1)
|
|
10227
10237
|
]),
|
|
10228
10238
|
_: 1
|
|
10229
10239
|
}, 8, ["disabled", "onClick"]))
|
|
@@ -10244,16 +10254,16 @@ function Sd(e, i, t, l, r, h) {
|
|
|
10244
10254
|
_: 1
|
|
10245
10255
|
}, 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"]);
|
|
10246
10256
|
}
|
|
10247
|
-
const
|
|
10257
|
+
const Md = /* @__PURE__ */ M(Id, [["render", Sd]]), Od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10248
10258
|
__proto__: null,
|
|
10249
|
-
default:
|
|
10250
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10259
|
+
default: Md
|
|
10260
|
+
}, Symbol.toStringTag, { value: "Module" })), Rd = I({
|
|
10251
10261
|
name: "text-ui",
|
|
10252
10262
|
typeName: "FormField",
|
|
10253
10263
|
components: {
|
|
10254
|
-
StaticContentWrapper:
|
|
10264
|
+
StaticContentWrapper: E
|
|
10255
10265
|
},
|
|
10256
|
-
mixins: [
|
|
10266
|
+
mixins: [$],
|
|
10257
10267
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
10258
10268
|
beforeCreate() {
|
|
10259
10269
|
},
|
|
@@ -10265,7 +10275,7 @@ const Rd = /* @__PURE__ */ R(Id, [["render", Sd]]), Md = /* @__PURE__ */ Object.
|
|
|
10265
10275
|
},
|
|
10266
10276
|
setup() {
|
|
10267
10277
|
return {
|
|
10268
|
-
fieldEditor:
|
|
10278
|
+
fieldEditor: R(null)
|
|
10269
10279
|
};
|
|
10270
10280
|
},
|
|
10271
10281
|
beforeUnmount() {
|
|
@@ -10273,7 +10283,7 @@ const Rd = /* @__PURE__ */ R(Id, [["render", Sd]]), Md = /* @__PURE__ */ Object.
|
|
|
10273
10283
|
}
|
|
10274
10284
|
});
|
|
10275
10285
|
function kd(e, i, t, l, r, h) {
|
|
10276
|
-
const s = U, u = ee, p = Ft, g =
|
|
10286
|
+
const s = U, u = ee, p = Ft, g = E;
|
|
10277
10287
|
return o(), d(g, {
|
|
10278
10288
|
"build-rules": e.rules,
|
|
10279
10289
|
field: e.field,
|
|
@@ -10317,7 +10327,7 @@ function kd(e, i, t, l, r, h) {
|
|
|
10317
10327
|
class: y({ underline: !!e.field.options.underline, bold: !!e.field.options.bold, italic: !!e.field.options.italic })
|
|
10318
10328
|
}, {
|
|
10319
10329
|
default: a(() => [
|
|
10320
|
-
|
|
10330
|
+
P(v(e.field.options.content), 1)
|
|
10321
10331
|
]),
|
|
10322
10332
|
_: 1
|
|
10323
10333
|
}, 8, ["truncated", "line-clamp", "style", "class"]),
|
|
@@ -10342,16 +10352,16 @@ function kd(e, i, t, l, r, h) {
|
|
|
10342
10352
|
_: 1
|
|
10343
10353
|
}, 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"]);
|
|
10344
10354
|
}
|
|
10345
|
-
const
|
|
10355
|
+
const $d = /* @__PURE__ */ M(Rd, [["render", kd], ["__scopeId", "data-v-b76cd20b"]]), Ld = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10346
10356
|
__proto__: null,
|
|
10347
|
-
default:
|
|
10348
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10357
|
+
default: $d
|
|
10358
|
+
}, Symbol.toStringTag, { value: "Module" })), Pd = I({
|
|
10349
10359
|
name: "textarea-input",
|
|
10350
10360
|
typeName: "FormField",
|
|
10351
10361
|
components: {
|
|
10352
|
-
FormItemWrapper:
|
|
10362
|
+
FormItemWrapper: O
|
|
10353
10363
|
},
|
|
10354
|
-
mixins: [
|
|
10364
|
+
mixins: [$],
|
|
10355
10365
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
10356
10366
|
computed: {
|
|
10357
10367
|
fieldValue: {
|
|
@@ -10373,15 +10383,15 @@ const Pd = /* @__PURE__ */ R(Od, [["render", kd], ["__scopeId", "data-v-b76cd20b
|
|
|
10373
10383
|
},
|
|
10374
10384
|
setup() {
|
|
10375
10385
|
return {
|
|
10376
|
-
fieldEditor:
|
|
10386
|
+
fieldEditor: R(null)
|
|
10377
10387
|
};
|
|
10378
10388
|
},
|
|
10379
10389
|
beforeUnmount() {
|
|
10380
10390
|
this.unregisterFromRefList();
|
|
10381
10391
|
}
|
|
10382
10392
|
});
|
|
10383
|
-
function
|
|
10384
|
-
const s =
|
|
10393
|
+
function Ed(e, i, t, l, r, h) {
|
|
10394
|
+
const s = fe, u = O;
|
|
10385
10395
|
return o(), d(u, {
|
|
10386
10396
|
"build-rules": e.rules,
|
|
10387
10397
|
field: e.field,
|
|
@@ -10418,16 +10428,16 @@ function Ld(e, i, t, l, r, h) {
|
|
|
10418
10428
|
_: 1
|
|
10419
10429
|
}, 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"]);
|
|
10420
10430
|
}
|
|
10421
|
-
const jd = /* @__PURE__ */
|
|
10431
|
+
const jd = /* @__PURE__ */ M(Pd, [["render", Ed]]), Dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10422
10432
|
__proto__: null,
|
|
10423
10433
|
default: jd
|
|
10424
10434
|
}, Symbol.toStringTag, { value: "Module" })), Td = I({
|
|
10425
10435
|
name: "time-input",
|
|
10426
10436
|
typeName: "FormField",
|
|
10427
10437
|
components: {
|
|
10428
|
-
FormItemWrapper:
|
|
10438
|
+
FormItemWrapper: O
|
|
10429
10439
|
},
|
|
10430
|
-
mixins: [
|
|
10440
|
+
mixins: [$],
|
|
10431
10441
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
10432
10442
|
computed: {
|
|
10433
10443
|
fieldValue: {
|
|
@@ -10446,11 +10456,11 @@ const jd = /* @__PURE__ */ R(Ed, [["render", Ld]]), Dd = /* @__PURE__ */ Object.
|
|
|
10446
10456
|
this.initFieldModel(), this.initEventHandler(), this.buildFieldRules(), this.handleOnCreated();
|
|
10447
10457
|
},
|
|
10448
10458
|
mounted() {
|
|
10449
|
-
this.registerToRefList(), this.field.options.initCurrent && this.setFieldValue(
|
|
10459
|
+
this.registerToRefList(), this.field.options.initCurrent && this.setFieldValue(ne().format("HH:mm:ss")), this.handleOnMounted();
|
|
10450
10460
|
},
|
|
10451
10461
|
setup() {
|
|
10452
10462
|
return {
|
|
10453
|
-
fieldEditor:
|
|
10463
|
+
fieldEditor: R(null)
|
|
10454
10464
|
};
|
|
10455
10465
|
},
|
|
10456
10466
|
beforeUnmount() {
|
|
@@ -10458,7 +10468,7 @@ const jd = /* @__PURE__ */ R(Ed, [["render", Ld]]), Dd = /* @__PURE__ */ Object.
|
|
|
10458
10468
|
}
|
|
10459
10469
|
});
|
|
10460
10470
|
function Vd(e, i, t, l, r, h) {
|
|
10461
|
-
const s = Qe, u =
|
|
10471
|
+
const s = Qe, u = O;
|
|
10462
10472
|
return o(), d(u, {
|
|
10463
10473
|
"build-rules": e.rules,
|
|
10464
10474
|
field: e.field,
|
|
@@ -10498,16 +10508,16 @@ function Vd(e, i, t, l, r, h) {
|
|
|
10498
10508
|
_: 1
|
|
10499
10509
|
}, 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"]);
|
|
10500
10510
|
}
|
|
10501
|
-
const zd = /* @__PURE__ */
|
|
10511
|
+
const zd = /* @__PURE__ */ M(Td, [["render", Vd], ["__scopeId", "data-v-cdf76f9a"]]), Ud = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10502
10512
|
__proto__: null,
|
|
10503
10513
|
default: zd
|
|
10504
10514
|
}, Symbol.toStringTag, { value: "Module" })), Bd = I({
|
|
10505
10515
|
name: "time-range-input",
|
|
10506
10516
|
typeName: "FormField",
|
|
10507
10517
|
components: {
|
|
10508
|
-
FormItemWrapper:
|
|
10518
|
+
FormItemWrapper: O
|
|
10509
10519
|
},
|
|
10510
|
-
mixins: [
|
|
10520
|
+
mixins: [$],
|
|
10511
10521
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
10512
10522
|
computed: {
|
|
10513
10523
|
fieldValue: {
|
|
@@ -10529,7 +10539,7 @@ const zd = /* @__PURE__ */ R(Td, [["render", Vd], ["__scopeId", "data-v-cdf76f9a
|
|
|
10529
10539
|
},
|
|
10530
10540
|
setup() {
|
|
10531
10541
|
return {
|
|
10532
|
-
fieldEditor:
|
|
10542
|
+
fieldEditor: R(null)
|
|
10533
10543
|
};
|
|
10534
10544
|
},
|
|
10535
10545
|
beforeUnmount() {
|
|
@@ -10537,7 +10547,7 @@ const zd = /* @__PURE__ */ R(Td, [["render", Vd], ["__scopeId", "data-v-cdf76f9a
|
|
|
10537
10547
|
}
|
|
10538
10548
|
});
|
|
10539
10549
|
function Ad(e, i, t, l, r, h) {
|
|
10540
|
-
const s = Qe, u =
|
|
10550
|
+
const s = Qe, u = O;
|
|
10541
10551
|
return o(), d(u, {
|
|
10542
10552
|
"build-rules": e.rules,
|
|
10543
10553
|
field: e.field,
|
|
@@ -10575,16 +10585,16 @@ function Ad(e, i, t, l, r, h) {
|
|
|
10575
10585
|
_: 1
|
|
10576
10586
|
}, 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"]);
|
|
10577
10587
|
}
|
|
10578
|
-
const Nd = /* @__PURE__ */
|
|
10588
|
+
const Nd = /* @__PURE__ */ M(Bd, [["render", Ad], ["__scopeId", "data-v-b059ddb1"]]), Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10579
10589
|
__proto__: null,
|
|
10580
10590
|
default: Nd
|
|
10581
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10591
|
+
}, Symbol.toStringTag, { value: "Module" })), Hd = I({
|
|
10582
10592
|
name: "time-select-input",
|
|
10583
10593
|
typeName: "FormField",
|
|
10584
10594
|
components: {
|
|
10585
|
-
FormItemWrapper:
|
|
10595
|
+
FormItemWrapper: O
|
|
10586
10596
|
},
|
|
10587
|
-
mixins: [
|
|
10597
|
+
mixins: [$],
|
|
10588
10598
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel"],
|
|
10589
10599
|
computed: {
|
|
10590
10600
|
fieldValue: {
|
|
@@ -10643,7 +10653,7 @@ const Nd = /* @__PURE__ */ R(Bd, [["render", Ad], ["__scopeId", "data-v-b059ddb1
|
|
|
10643
10653
|
},
|
|
10644
10654
|
setup() {
|
|
10645
10655
|
return {
|
|
10646
|
-
fieldEditor:
|
|
10656
|
+
fieldEditor: R(null)
|
|
10647
10657
|
};
|
|
10648
10658
|
},
|
|
10649
10659
|
beforeUnmount() {
|
|
@@ -10651,7 +10661,7 @@ const Nd = /* @__PURE__ */ R(Bd, [["render", Ad], ["__scopeId", "data-v-b059ddb1
|
|
|
10651
10661
|
}
|
|
10652
10662
|
});
|
|
10653
10663
|
function qd(e, i, t, l, r, h) {
|
|
10654
|
-
const s = yt, u =
|
|
10664
|
+
const s = yt, u = O;
|
|
10655
10665
|
return o(), d(u, {
|
|
10656
10666
|
"build-rules": e.rules,
|
|
10657
10667
|
field: e.field,
|
|
@@ -10696,24 +10706,24 @@ function qd(e, i, t, l, r, h) {
|
|
|
10696
10706
|
_: 1
|
|
10697
10707
|
}, 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"]);
|
|
10698
10708
|
}
|
|
10699
|
-
const Gd = /* @__PURE__ */
|
|
10709
|
+
const Gd = /* @__PURE__ */ M(Hd, [["render", qd], ["__scopeId", "data-v-365dcbe8"]]), Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10700
10710
|
__proto__: null,
|
|
10701
10711
|
default: Gd
|
|
10702
10712
|
}, Symbol.toStringTag, { value: "Module" })), Kd = I({
|
|
10703
10713
|
name: "tour-ui",
|
|
10704
10714
|
typeName: "FormField",
|
|
10705
10715
|
components: {
|
|
10706
|
-
StaticContentWrapper:
|
|
10716
|
+
StaticContentWrapper: E
|
|
10707
10717
|
// SdHtmlEditor,
|
|
10708
10718
|
},
|
|
10709
|
-
mixins: [
|
|
10719
|
+
mixins: [$],
|
|
10710
10720
|
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState"],
|
|
10711
10721
|
beforeCreate() {
|
|
10712
10722
|
},
|
|
10713
10723
|
computed: {},
|
|
10714
10724
|
data() {
|
|
10715
10725
|
return {
|
|
10716
|
-
isDark:
|
|
10726
|
+
isDark: W()
|
|
10717
10727
|
};
|
|
10718
10728
|
},
|
|
10719
10729
|
created() {
|
|
@@ -10724,7 +10734,7 @@ const Gd = /* @__PURE__ */ R(Wd, [["render", qd], ["__scopeId", "data-v-365dcbe8
|
|
|
10724
10734
|
},
|
|
10725
10735
|
setup() {
|
|
10726
10736
|
return {
|
|
10727
|
-
fieldEditor:
|
|
10737
|
+
fieldEditor: R(null)
|
|
10728
10738
|
};
|
|
10729
10739
|
},
|
|
10730
10740
|
methods: {
|
|
@@ -10741,8 +10751,8 @@ const Gd = /* @__PURE__ */ R(Wd, [["render", qd], ["__scopeId", "data-v-365dcbe8
|
|
|
10741
10751
|
}
|
|
10742
10752
|
});
|
|
10743
10753
|
function Zd(e, i, t, l, r, h) {
|
|
10744
|
-
const s = U, u = G, p =
|
|
10745
|
-
return o(), d(
|
|
10754
|
+
const s = U, u = G, p = he, g = wt, w = vt, L = E;
|
|
10755
|
+
return o(), d(L, {
|
|
10746
10756
|
"build-rules": e.rules,
|
|
10747
10757
|
field: e.field,
|
|
10748
10758
|
builder: e.builder,
|
|
@@ -10823,11 +10833,11 @@ function Zd(e, i, t, l, r, h) {
|
|
|
10823
10833
|
_: 1
|
|
10824
10834
|
}, 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"]);
|
|
10825
10835
|
}
|
|
10826
|
-
const Qd = /* @__PURE__ */
|
|
10836
|
+
const Qd = /* @__PURE__ */ M(Kd, [["render", Zd], ["__scopeId", "data-v-3b7d1475"]]), Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10827
10837
|
__proto__: null,
|
|
10828
10838
|
default: Qd
|
|
10829
10839
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10830
|
-
function
|
|
10840
|
+
function Ee() {
|
|
10831
10841
|
return {
|
|
10832
10842
|
fields: [],
|
|
10833
10843
|
formConfig: D(Xd())
|
|
@@ -10865,7 +10875,7 @@ ${r}`;
|
|
|
10865
10875
|
}
|
|
10866
10876
|
const xd = (e, i) => {
|
|
10867
10877
|
try {
|
|
10868
|
-
return new
|
|
10878
|
+
return new Pt(i).decryptPublic(e, "utf8");
|
|
10869
10879
|
} catch {
|
|
10870
10880
|
return "";
|
|
10871
10881
|
}
|
|
@@ -10881,8 +10891,8 @@ tjverk8X5A9+IBcvMQIDAQAB
|
|
|
10881
10891
|
-----END PUBLIC KEY-----`;
|
|
10882
10892
|
i.connectInfo && i.connectInfo.public_key && (h = i.connectInfo.public_key);
|
|
10883
10893
|
let s = _d(h, "public");
|
|
10884
|
-
const u = xd(t, s), p = je(u), g = je(l),
|
|
10885
|
-
return JSON.parse(
|
|
10894
|
+
const u = xd(t, s), p = je(u), g = je(l), L = kt.decrypt(r, p, { iv: g, mode: Lt.CBC, padding: $t.PKCS7 }).toString(xe.Utf8);
|
|
10895
|
+
return JSON.parse(L);
|
|
10886
10896
|
}
|
|
10887
10897
|
return {};
|
|
10888
10898
|
} catch {
|
|
@@ -10898,7 +10908,7 @@ const ia = I({
|
|
|
10898
10908
|
components: {
|
|
10899
10909
|
// ...FieldComponents,
|
|
10900
10910
|
},
|
|
10901
|
-
mixins: [
|
|
10911
|
+
mixins: [H],
|
|
10902
10912
|
props: {
|
|
10903
10913
|
sdform: {
|
|
10904
10914
|
type: Object,
|
|
@@ -10968,7 +10978,7 @@ const ia = I({
|
|
|
10968
10978
|
onResetForm: !1,
|
|
10969
10979
|
showInput: !0,
|
|
10970
10980
|
parentDisable: !1,
|
|
10971
|
-
ProviderType:
|
|
10981
|
+
ProviderType: Re,
|
|
10972
10982
|
useUserState: this.$props.userState,
|
|
10973
10983
|
showPopupFlag: !1,
|
|
10974
10984
|
readonlyParent: !1,
|
|
@@ -10978,7 +10988,7 @@ const ia = I({
|
|
|
10978
10988
|
dataIdParent: "",
|
|
10979
10989
|
router: _e(),
|
|
10980
10990
|
route: Xe(),
|
|
10981
|
-
isDark:
|
|
10991
|
+
isDark: W(),
|
|
10982
10992
|
copyClipboard: zi,
|
|
10983
10993
|
loadedForm: !1,
|
|
10984
10994
|
subFormBindProps: {},
|
|
@@ -11034,8 +11044,10 @@ const ia = I({
|
|
|
11034
11044
|
return this.formConfig && this.formConfig.customClass ? this.formConfig.customClass : "";
|
|
11035
11045
|
},
|
|
11036
11046
|
formParentId() {
|
|
11037
|
-
|
|
11038
|
-
|
|
11047
|
+
return this.sdform.joiner_field && this.sdform.joiner_field.joiner_enable ? this.formDataModel[this.sdform.joiner_field.field_name] && this.formDataModel[this.sdform.joiner_field.field_name].value ? this.formDataModel[this.sdform.joiner_field.field_name].value : null : this.formDataModel._id;
|
|
11048
|
+
},
|
|
11049
|
+
formDataId() {
|
|
11050
|
+
return this.formDataModel._id;
|
|
11039
11051
|
},
|
|
11040
11052
|
formParams() {
|
|
11041
11053
|
delete this.params.xparentx;
|
|
@@ -11053,7 +11065,7 @@ const ia = I({
|
|
|
11053
11065
|
}
|
|
11054
11066
|
},
|
|
11055
11067
|
setup() {
|
|
11056
|
-
const e =
|
|
11068
|
+
const e = R(), i = R();
|
|
11057
11069
|
let t;
|
|
11058
11070
|
return {
|
|
11059
11071
|
renderFormRef: e,
|
|
@@ -11106,14 +11118,13 @@ const ia = I({
|
|
|
11106
11118
|
this.formRenderModel = this.formRender;
|
|
11107
11119
|
else {
|
|
11108
11120
|
const e = await ea(this.sdform.form_model, this.userState);
|
|
11109
|
-
e ? e.model ? this.formRenderModel = e.model : this.formRenderModel =
|
|
11121
|
+
e ? e.model ? this.formRenderModel = e.model : this.formRenderModel = Ee() : this.formRenderModel = Ee();
|
|
11110
11122
|
}
|
|
11111
11123
|
this.buildFormModel(this.formRenderModel ? this.formRenderModel.fields : null), this.initFormRender();
|
|
11112
11124
|
},
|
|
11113
11125
|
parentSubFormOpen() {
|
|
11114
11126
|
this.subFormOpen({
|
|
11115
11127
|
modelValue: this.showPopupFlag,
|
|
11116
|
-
parentId: this.formIdParent,
|
|
11117
11128
|
dataId: this.dataIdParent,
|
|
11118
11129
|
initData: this.formDataParent,
|
|
11119
11130
|
backdrop: this.backdropParent,
|
|
@@ -11302,7 +11313,7 @@ const ia = I({
|
|
|
11302
11313
|
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(
|
|
11303
11314
|
{
|
|
11304
11315
|
providerId: this.sdform.joiner_field.form_id.value,
|
|
11305
|
-
providerType:
|
|
11316
|
+
providerType: Re.FORM,
|
|
11306
11317
|
params: { id: this.parentId },
|
|
11307
11318
|
options: { where: "_id = CONVERT(:id, 'objectId')" }
|
|
11308
11319
|
},
|
|
@@ -11564,10 +11575,10 @@ const ia = I({
|
|
|
11564
11575
|
}));
|
|
11565
11576
|
},
|
|
11566
11577
|
getFieldInput() {
|
|
11567
|
-
return
|
|
11578
|
+
return Ei(this.formRenderModel.fields);
|
|
11568
11579
|
},
|
|
11569
11580
|
getContainerFields() {
|
|
11570
|
-
return
|
|
11581
|
+
return Pi(this.formRenderModel.fields);
|
|
11571
11582
|
},
|
|
11572
11583
|
addEC(e, i) {
|
|
11573
11584
|
this.externalComponents[e] = i;
|
|
@@ -11587,7 +11598,7 @@ const ia = I({
|
|
|
11587
11598
|
class: "widget-wrapper"
|
|
11588
11599
|
}, na = { key: 0 };
|
|
11589
11600
|
function sa(e, i, t, l, r, h) {
|
|
11590
|
-
const s = U, u = ee, p = G, g = Ui, w = we,
|
|
11601
|
+
const s = U, u = ee, p = G, g = Ui, w = we, L = He, n = We, f = Ct, k = Bi;
|
|
11591
11602
|
return o(), c(F, null, [
|
|
11592
11603
|
m(f, {
|
|
11593
11604
|
"label-position": e.labelPosition,
|
|
@@ -11606,7 +11617,7 @@ function sa(e, i, t, l, r, h) {
|
|
|
11606
11617
|
class: "joiner-wrapper",
|
|
11607
11618
|
"data-id": e.sdform.joiner_field && e.sdform.joiner_field.joiner_enable ? e.sdform.joiner_field.form_id.value : null
|
|
11608
11619
|
}, [
|
|
11609
|
-
e.sdform.joiner_field.joiner_enable ? (o(), d(
|
|
11620
|
+
e.sdform.joiner_field.joiner_enable ? (o(), d(L, {
|
|
11610
11621
|
key: 0,
|
|
11611
11622
|
label: e.sdform.joiner_field.joiner_label,
|
|
11612
11623
|
"label-width": e.labelWidth,
|
|
@@ -11618,7 +11629,7 @@ function sa(e, i, t, l, r, h) {
|
|
|
11618
11629
|
}, {
|
|
11619
11630
|
label: a(() => [
|
|
11620
11631
|
S("span", null, [
|
|
11621
|
-
|
|
11632
|
+
P(v(e.sdform.joiner_field.joiner_label) + " ", 1),
|
|
11622
11633
|
e.sdform.joiner_field.joiner_hint ? (o(), d(u, {
|
|
11623
11634
|
key: 0,
|
|
11624
11635
|
content: e.sdform.joiner_field.joiner_hint,
|
|
@@ -11709,7 +11720,7 @@ function sa(e, i, t, l, r, h) {
|
|
|
11709
11720
|
style: { position: "absolute", top: "0", right: "0", "z-index": "999" }
|
|
11710
11721
|
}, {
|
|
11711
11722
|
default: a(() => [
|
|
11712
|
-
|
|
11723
|
+
P(v(e.sdform.joiner_field.field_name), 1)
|
|
11713
11724
|
]),
|
|
11714
11725
|
_: 1
|
|
11715
11726
|
})) : b("", !0)
|
|
@@ -11729,7 +11740,7 @@ function sa(e, i, t, l, r, h) {
|
|
|
11729
11740
|
S("b", null, [
|
|
11730
11741
|
S("u", null, v(ie), 1)
|
|
11731
11742
|
]),
|
|
11732
|
-
|
|
11743
|
+
P(" " + v(V), 1)
|
|
11733
11744
|
]))), 256))
|
|
11734
11745
|
])
|
|
11735
11746
|
]),
|
|
@@ -11766,7 +11777,7 @@ function sa(e, i, t, l, r, h) {
|
|
|
11766
11777
|
])) : b("", !0)
|
|
11767
11778
|
], 64);
|
|
11768
11779
|
}
|
|
11769
|
-
const ra = /* @__PURE__ */
|
|
11780
|
+
const ra = /* @__PURE__ */ M(ia, [["render", sa], ["__scopeId", "data-v-95260d95"]]), Gf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11770
11781
|
__proto__: null,
|
|
11771
11782
|
default: ra
|
|
11772
11783
|
}, Symbol.toStringTag, { value: "Module" }));
|