sd-render 1.0.19 → 1.0.21
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/README.md +2 -0
- package/package.json +1 -1
- package/{sd-lib-CMFXC6Si.js → sd-lib-qm_iM-7b.js} +731 -695
- package/{sd-render-ywatVexk.js → sd-render-DEdnt0gw.js} +48 -36
- package/sd-render.es.js +2 -2
- package/sd-render.style.css +1 -1
- package/types/src/components/sdwidget/SdSelectRemoteList.vue.d.ts +2 -5
- package/types/src/types/site-config.d.ts +4 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, inject as N, createElementBlock as h, openBlock as o, normalizeClass as v, renderSlot as Fe, createBlock as d, createCommentVNode as b, withCtx as a, createTextVNode as L, toDisplayString as w, getCurrentInstance as li, withDirectives as K, Fragment as F, renderList as T, resolveDynamicComponent as B, vShow as Q, resolveComponent as J, normalizeStyle as j, createSlots as Z, createElementVNode as S, createVNode as m, mergeProps as De, computed as Y, useCssVars as Te, withModifiers as z, ref as O, nextTick as ni } from "vue";
|
|
2
|
-
import { a3 as R, a4 as si, a as U, a5 as Ve, a6 as D, a7 as C, a8 as te, a9 as pe, aa as ri, ab as ye, ac as di, ad as ai, ae as fi, af as ui, ag as ze, ah as pi, ai as mi, aj as hi, ak as ci, al as Ue, am as ge, an as bi, ao as gi, ap as Fi, o as Be, A as yi, g as vi, b as wi, c as Ci, i as Ae, y as se, d as me, w as Ii, B as Si, e as Ri, D as Mi, aq as oe, m as ve, z as Oi, C as ki, _ as Pi, ar as $i, as as Li, at as Ei, au as ji, av as Di, aw as Oe, V as Ti, ax as Vi, ay as zi, j as Ui } from "./sd-lib-
|
|
2
|
+
import { a3 as R, a4 as si, a as U, a5 as Ve, a6 as D, a7 as C, a8 as te, a9 as pe, aa as ri, ab as ye, ac as di, ad as ai, ae as fi, af as ui, ag as ze, ah as pi, ai as mi, aj as hi, ak as ci, al as Ue, am as ge, an as bi, ao as gi, ap as Fi, o as Be, A as yi, g as vi, b as wi, c as Ci, i as Ae, y as se, d as me, w as Ii, B as Si, e as Ri, D as Mi, aq as oe, m as ve, z as Oi, C as ki, _ as Pi, ar as $i, as as Li, at as Ei, au as ji, av as Di, aw as Oe, V as Ti, ax as Vi, ay as zi, j as Ui } from "./sd-lib-qm_iM-7b.js";
|
|
3
3
|
import { ElTag as we, ElAffix as Bi, ElCard as Ne, ElTooltip as ee, ElIcon as re, ElCollapse as Ai, ElCollapseItem as Ni, ElCol as de, ElRow as ae, ElScrollbar as Hi, ElSpace as Wi, ElButton as G, ElTabs as qi, ElTabPane as Gi, ElAlert as He, ElFormItem as We, ElInput as fe, ElAvatar as Ji, ElDialog as qe, ElButtonGroup as Zi, ElPopconfirm as ue, ElBadge as Ki, ElCheckboxGroup as Qi, ElCheckboxButton as Yi, ElCheckbox as Xi, ElColorPicker as _i, ElDatePicker as Ce, ElDivider as Ge, ElDropdown as xi, ElDropdownMenu as et, ElDropdownItem as it, ElUpload as Ie, ElAutocomplete as tt, ElImage as Je, ElLink as ot, ElInputNumber as lt, ElProgress as nt, ElRadioGroup as Ze, ElRadioButton as st, ElRadio as Ke, ElRate as rt, ElSegmented as dt, ElSelect as at, ElOption as ft, ElSlider as ut, ElStatistic as pt, ElSteps as mt, ElStep as ht, ElSwitch as ct, ElInputTag as bt, ElText as gt, ElTimePicker as Qe, ElTimeSelect as Ft, ElTour as yt, ElTourStep as vt, ElForm as wt } from "element-plus/es";
|
|
4
4
|
import "element-plus/es/components/base/style/index";
|
|
5
5
|
import "element-plus/es/components/affix/style/index";
|
|
@@ -13,7 +13,7 @@ import "element-plus/es/components/col/style/index";
|
|
|
13
13
|
import "element-plus/es/components/scrollbar/style/index";
|
|
14
14
|
import "element-plus/es/components/space/style/index";
|
|
15
15
|
import "element-plus/es/components/button/style/index";
|
|
16
|
-
import { ElMessage as
|
|
16
|
+
import { ElMessage as _, ElMessageBox as x, ElNotification as Ye, ElLoading as Ct } from "element-plus";
|
|
17
17
|
import "element-plus/es/components/tabs/style/index";
|
|
18
18
|
import "element-plus/es/components/tab-pane/style/index";
|
|
19
19
|
import "element-plus/es/components/tag/style/index";
|
|
@@ -161,7 +161,7 @@ const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Se = I({
|
|
|
161
161
|
methods: {
|
|
162
162
|
alert(e, i = "info", t = 4e3) {
|
|
163
163
|
try {
|
|
164
|
-
|
|
164
|
+
_({
|
|
165
165
|
grouping: !0,
|
|
166
166
|
type: i,
|
|
167
167
|
message: e,
|
|
@@ -182,7 +182,7 @@ const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Se = I({
|
|
|
182
182
|
return this.refList.sd_form_ref;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
}),
|
|
185
|
+
}), X = I({
|
|
186
186
|
mixins: [Se],
|
|
187
187
|
data() {
|
|
188
188
|
return {
|
|
@@ -385,7 +385,7 @@ const A = /* @__PURE__ */ R(jt, [["render", Dt]]), Se = I({
|
|
|
385
385
|
ContainerRenderWrapper: A
|
|
386
386
|
// ...FieldComponents,
|
|
387
387
|
},
|
|
388
|
-
mixins: [
|
|
388
|
+
mixins: [X, W],
|
|
389
389
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
390
390
|
computed: {},
|
|
391
391
|
data() {
|
|
@@ -458,7 +458,7 @@ const zt = /* @__PURE__ */ R(Tt, [["render", Vt], ["__scopeId", "data-v-b4c85525
|
|
|
458
458
|
ContainerRenderWrapper: A
|
|
459
459
|
// ...FieldComponents,
|
|
460
460
|
},
|
|
461
|
-
mixins: [
|
|
461
|
+
mixins: [X, W],
|
|
462
462
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
463
463
|
computed: {},
|
|
464
464
|
data() {
|
|
@@ -622,7 +622,7 @@ const Ht = /* @__PURE__ */ R(Bt, [["render", Nt], ["__scopeId", "data-v-979ec39b
|
|
|
622
622
|
ContainerRenderWrapper: A
|
|
623
623
|
// ...FieldComponents,
|
|
624
624
|
},
|
|
625
|
-
mixins: [
|
|
625
|
+
mixins: [X, W],
|
|
626
626
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
627
627
|
computed: {
|
|
628
628
|
visibleTabs() {
|
|
@@ -838,7 +838,7 @@ const ei = /* @__PURE__ */ R(Qt, [["render", Yt]]), Xt = I({
|
|
|
838
838
|
ContainerRenderWrapper: A,
|
|
839
839
|
GridColRender: ei
|
|
840
840
|
},
|
|
841
|
-
mixins: [
|
|
841
|
+
mixins: [X, W],
|
|
842
842
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
843
843
|
computed: {},
|
|
844
844
|
beforeCreate() {
|
|
@@ -892,7 +892,7 @@ const xt = /* @__PURE__ */ R(Xt, [["render", _t], ["__scopeId", "data-v-d240521c
|
|
|
892
892
|
ContainerRenderWrapper: A
|
|
893
893
|
// ...FieldComponents,
|
|
894
894
|
},
|
|
895
|
-
mixins: [
|
|
895
|
+
mixins: [X, W],
|
|
896
896
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
897
897
|
computed: {},
|
|
898
898
|
beforeCreate() {
|
|
@@ -963,7 +963,7 @@ const oo = /* @__PURE__ */ R(io, [["render", to], ["__scopeId", "data-v-2e902e1a
|
|
|
963
963
|
ContainerRenderWrapper: A
|
|
964
964
|
// ...FieldComponents,
|
|
965
965
|
},
|
|
966
|
-
mixins: [
|
|
966
|
+
mixins: [X, W],
|
|
967
967
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
968
968
|
computed: {
|
|
969
969
|
getHeight() {
|
|
@@ -1063,7 +1063,7 @@ const ro = /* @__PURE__ */ R(no, [["render", so], ["__scopeId", "data-v-e3cade02
|
|
|
1063
1063
|
ContainerRenderWrapper: A
|
|
1064
1064
|
// ...FieldComponents,
|
|
1065
1065
|
},
|
|
1066
|
-
mixins: [
|
|
1066
|
+
mixins: [X, W],
|
|
1067
1067
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1068
1068
|
computed: {},
|
|
1069
1069
|
beforeCreate() {
|
|
@@ -1136,7 +1136,7 @@ const po = /* @__PURE__ */ R(fo, [["render", uo], ["__scopeId", "data-v-cafd5b38
|
|
|
1136
1136
|
ContainerRenderWrapper: A
|
|
1137
1137
|
// ...FieldComponents,
|
|
1138
1138
|
},
|
|
1139
|
-
mixins: [
|
|
1139
|
+
mixins: [X, W],
|
|
1140
1140
|
inject: ["refList", "sfRefList", "globalModel", "getFormConfig"],
|
|
1141
1141
|
//, 'getFormConfig'
|
|
1142
1142
|
data() {
|
|
@@ -1666,7 +1666,7 @@ const yo = /* @__PURE__ */ R(ho, [["render", Fo], ["__scopeId", "data-v-993001bb
|
|
|
1666
1666
|
ContainerRenderWrapper: A
|
|
1667
1667
|
// ...FieldComponents,
|
|
1668
1668
|
},
|
|
1669
|
-
mixins: [
|
|
1669
|
+
mixins: [X, W],
|
|
1670
1670
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1671
1671
|
computed: {
|
|
1672
1672
|
visibleTabs() {
|
|
@@ -1832,7 +1832,7 @@ const ii = /* @__PURE__ */ R(Mo, [["render", ko], ["__scopeId", "data-v-7cfc555a
|
|
|
1832
1832
|
ContainerRenderWrapper: A,
|
|
1833
1833
|
TableCellRender: ii
|
|
1834
1834
|
},
|
|
1835
|
-
mixins: [
|
|
1835
|
+
mixins: [X, W],
|
|
1836
1836
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
1837
1837
|
computed: {
|
|
1838
1838
|
bordered() {
|
|
@@ -1945,7 +1945,7 @@ const Lo = /* @__PURE__ */ R(Po, [["render", $o], ["__scopeId", "data-v-9a38d6aa
|
|
|
1945
1945
|
methods: {
|
|
1946
1946
|
alert(e, i = "info", t = 4e3) {
|
|
1947
1947
|
try {
|
|
1948
|
-
|
|
1948
|
+
_({
|
|
1949
1949
|
grouping: !0,
|
|
1950
1950
|
type: i,
|
|
1951
1951
|
message: e,
|
|
@@ -2293,7 +2293,7 @@ const E = /* @__PURE__ */ R(Re, [["render", zo], ["__scopeId", "data-v-67efe709"
|
|
|
2293
2293
|
},
|
|
2294
2294
|
alert(e, i = "info", t = 4e3) {
|
|
2295
2295
|
try {
|
|
2296
|
-
|
|
2296
|
+
_({
|
|
2297
2297
|
grouping: !0,
|
|
2298
2298
|
type: i,
|
|
2299
2299
|
message: e,
|
|
@@ -4377,7 +4377,7 @@ const jl = /* @__PURE__ */ R(Ll, [["render", El], ["__scopeId", "data-v-a95a64b8
|
|
|
4377
4377
|
// isDisabled: this.field.options.disabled,
|
|
4378
4378
|
};
|
|
4379
4379
|
},
|
|
4380
|
-
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "
|
|
4380
|
+
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState", "globalAuthToken", "globalSdForm"],
|
|
4381
4381
|
computed: {
|
|
4382
4382
|
previewList() {
|
|
4383
4383
|
const e = [];
|
|
@@ -4387,7 +4387,7 @@ const jl = /* @__PURE__ */ R(Ll, [["render", El], ["__scopeId", "data-v-a95a64b8
|
|
|
4387
4387
|
},
|
|
4388
4388
|
realUploadURL() {
|
|
4389
4389
|
let e = this.field.options.uploadURL;
|
|
4390
|
-
return e || (this.
|
|
4390
|
+
return e || (this.globalUserState ? this.globalUserState.host + "/v1/files/form-upload" : "");
|
|
4391
4391
|
}
|
|
4392
4392
|
},
|
|
4393
4393
|
beforeCreate() {
|
|
@@ -4474,7 +4474,7 @@ const jl = /* @__PURE__ */ R(Ll, [["render", El], ["__scopeId", "data-v-a95a64b8
|
|
|
4474
4474
|
},
|
|
4475
4475
|
handlePictureRemove(e) {
|
|
4476
4476
|
const i = e.response;
|
|
4477
|
-
this.handleBeforeRemove(this.fileList), ne.delete(`${this.
|
|
4477
|
+
this.handleBeforeRemove(this.fileList), ne.delete(`${this.globalUserState.host}/v1/files/remove-one`, {
|
|
4478
4478
|
data: i,
|
|
4479
4479
|
headers: {
|
|
4480
4480
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -4526,7 +4526,7 @@ function Vl(e, i, t, l, r, c) {
|
|
|
4526
4526
|
_: 1
|
|
4527
4527
|
}, 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"]);
|
|
4528
4528
|
}
|
|
4529
|
-
const zl = /* @__PURE__ */ R(Tl, [["render", Vl], ["__scopeId", "data-v-
|
|
4529
|
+
const zl = /* @__PURE__ */ R(Tl, [["render", Vl], ["__scopeId", "data-v-28d9cfc6"]]), Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4530
4530
|
__proto__: null,
|
|
4531
4531
|
default: zl
|
|
4532
4532
|
}, Symbol.toStringTag, { value: "Module" })), Bl = I({
|
|
@@ -5690,14 +5690,14 @@ const pn = /* @__PURE__ */ R(fn, [["render", un]]), mn = /* @__PURE__ */ Object.
|
|
|
5690
5690
|
// isDisabled: this.field.options.disabled,
|
|
5691
5691
|
};
|
|
5692
5692
|
},
|
|
5693
|
-
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "
|
|
5693
|
+
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState", "globalAuthToken", "globalSdForm"],
|
|
5694
5694
|
computed: {
|
|
5695
5695
|
previewList() {
|
|
5696
5696
|
return this.fileList.map((e) => e.url);
|
|
5697
5697
|
},
|
|
5698
5698
|
realUploadURL() {
|
|
5699
5699
|
let e = this.field.options.uploadURL;
|
|
5700
|
-
return e || (this.
|
|
5700
|
+
return e || (this.globalUserState ? this.globalUserState.host + "/v1/files/form-upload" : "");
|
|
5701
5701
|
}
|
|
5702
5702
|
},
|
|
5703
5703
|
beforeCreate() {
|
|
@@ -5787,7 +5787,7 @@ const pn = /* @__PURE__ */ R(fn, [["render", un]]), mn = /* @__PURE__ */ Object.
|
|
|
5787
5787
|
cancelButtonText: "Cancel",
|
|
5788
5788
|
type: "warning"
|
|
5789
5789
|
}).then(() => {
|
|
5790
|
-
ne.delete(`${this.
|
|
5790
|
+
ne.delete(`${this.globalUserState.host}/v1/files/remove-one`, {
|
|
5791
5791
|
data: i,
|
|
5792
5792
|
headers: {
|
|
5793
5793
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -5918,7 +5918,7 @@ function wn(e, i, t, l, r, c) {
|
|
|
5918
5918
|
_: 1
|
|
5919
5919
|
}, 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"]);
|
|
5920
5920
|
}
|
|
5921
|
-
const Cn = /* @__PURE__ */ R(hn, [["render", wn], ["__scopeId", "data-v-
|
|
5921
|
+
const Cn = /* @__PURE__ */ R(hn, [["render", wn], ["__scopeId", "data-v-37f6906e"]]), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5922
5922
|
__proto__: null,
|
|
5923
5923
|
default: Cn
|
|
5924
5924
|
}, Symbol.toStringTag, { value: "Module" })), Sn = I({
|
|
@@ -7283,7 +7283,7 @@ const vs = /* @__PURE__ */ R(Fs, [["render", ys]]), ws = /* @__PURE__ */ Object.
|
|
|
7283
7283
|
// isDisabled: this.field.options.disabled,
|
|
7284
7284
|
};
|
|
7285
7285
|
},
|
|
7286
|
-
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "
|
|
7286
|
+
inject: ["refList", "getFormConfig", "globalOptionModel", "globalModel", "getOptionModel", "globalUserState", "globalAuthToken", "globalSdForm"],
|
|
7287
7287
|
computed: {
|
|
7288
7288
|
previewList() {
|
|
7289
7289
|
const e = [];
|
|
@@ -7293,7 +7293,7 @@ const vs = /* @__PURE__ */ R(Fs, [["render", ys]]), ws = /* @__PURE__ */ Object.
|
|
|
7293
7293
|
},
|
|
7294
7294
|
realUploadURL() {
|
|
7295
7295
|
let e = this.field.options.uploadURL;
|
|
7296
|
-
return e || (this.
|
|
7296
|
+
return e || (this.globalUserState ? this.globalUserState.host + "/v1/files/form-upload" : "");
|
|
7297
7297
|
}
|
|
7298
7298
|
},
|
|
7299
7299
|
beforeCreate() {
|
|
@@ -7386,7 +7386,7 @@ const vs = /* @__PURE__ */ R(Fs, [["render", ys]]), ws = /* @__PURE__ */ Object.
|
|
|
7386
7386
|
cancelButtonText: "Cancel",
|
|
7387
7387
|
type: "warning"
|
|
7388
7388
|
}).then(() => {
|
|
7389
|
-
this.handleBeforeRemove(this.fileList), ne.delete(`${this.
|
|
7389
|
+
this.handleBeforeRemove(this.fileList), ne.delete(`${this.globalUserState.host}/v1/files/remove-one`, {
|
|
7390
7390
|
data: i,
|
|
7391
7391
|
headers: {
|
|
7392
7392
|
Authorization: `Bearer ${this.globalAuthToken}`
|
|
@@ -7517,7 +7517,7 @@ function ks(e, i, t, l, r, c) {
|
|
|
7517
7517
|
_: 1
|
|
7518
7518
|
}, 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"]);
|
|
7519
7519
|
}
|
|
7520
|
-
const Ps = /* @__PURE__ */ R(Cs, [["render", ks], ["__scopeId", "data-v-
|
|
7520
|
+
const Ps = /* @__PURE__ */ R(Cs, [["render", ks], ["__scopeId", "data-v-d63829e9"]]), $s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7521
7521
|
__proto__: null,
|
|
7522
7522
|
default: Ps
|
|
7523
7523
|
}, Symbol.toStringTag, { value: "Module" })), Ls = I({
|
|
@@ -8682,10 +8682,22 @@ const ur = /* @__PURE__ */ R(ar, [["render", fr]]), pr = /* @__PURE__ */ Object.
|
|
|
8682
8682
|
computed: {
|
|
8683
8683
|
fieldValue: {
|
|
8684
8684
|
get() {
|
|
8685
|
-
|
|
8685
|
+
if (this.fieldModel !== void 0 && this.fieldModel !== null)
|
|
8686
|
+
if (typeof this.fieldModel == "string" && this.fieldModel !== "") {
|
|
8687
|
+
const e = this.string2Json(this.fieldModel);
|
|
8688
|
+
return e && e.value ? this.string2Json(e) : this.fieldModel;
|
|
8689
|
+
} else return typeof this.fieldModel == "object" && Object.keys(this.fieldModel).length > 0 ? this.fieldModel : null;
|
|
8690
|
+
else
|
|
8691
|
+
return null;
|
|
8686
8692
|
},
|
|
8687
8693
|
set(e) {
|
|
8688
|
-
|
|
8694
|
+
if (e != null)
|
|
8695
|
+
if (typeof e == "string" && e !== "") {
|
|
8696
|
+
const i = this.string2Json(e);
|
|
8697
|
+
i && i.value ? this.setFieldValue(i) : this.setFieldValue(e);
|
|
8698
|
+
} else typeof e == "object" && Object.keys(e).length > 0 ? this.setFieldValue(e) : this.setFieldValue(null);
|
|
8699
|
+
else
|
|
8700
|
+
this.setFieldValue(null);
|
|
8689
8701
|
}
|
|
8690
8702
|
},
|
|
8691
8703
|
allowDefaultFirstOption() {
|
|
@@ -9647,7 +9659,7 @@ const Kr = /* @__PURE__ */ R(Jr, [["render", Zr], ["__scopeId", "data-v-36741146
|
|
|
9647
9659
|
this.fileList = [], this.uploadBtnHidden = !1;
|
|
9648
9660
|
},
|
|
9649
9661
|
beforeUpload(e) {
|
|
9650
|
-
return e.type !== "image/svg+xml" ? (
|
|
9662
|
+
return e.type !== "image/svg+xml" ? (_.error("Avatar picture must be SVG format!"), !1) : e.size / 1024 / 1024 > 1 ? (_.error("Avatar picture size can not exceed 1MB!"), !1) : !0;
|
|
9651
9663
|
},
|
|
9652
9664
|
async handleCardPreview(e) {
|
|
9653
9665
|
this.dialogImageUrl = e.url, this.dialogVisible = !0;
|
|
@@ -10741,7 +10753,7 @@ const Jd = async function(e, i) {
|
|
|
10741
10753
|
Authorization: `Bearer ${i.user?.token}`
|
|
10742
10754
|
}
|
|
10743
10755
|
}
|
|
10744
|
-
).then((y) => y.data && y.data.data ? y.data.data : {}).catch((y) => (y.response && y.response.data && y.response.data.message ?
|
|
10756
|
+
).then((y) => y.data && y.data.data ? y.data.data : {}).catch((y) => (y.response && y.response.data && y.response.data.message ? _.warning(y.response.data.message) : _.warning(y.message), {})), s = je(c), u = je(l), g = Ot.decrypt(r, s, { iv: u, mode: Pt.CBC, padding: kt.PKCS7 }).toString(xe.Utf8);
|
|
10745
10757
|
return JSON.parse(g);
|
|
10746
10758
|
}
|
|
10747
10759
|
return {};
|
|
@@ -10966,7 +10978,7 @@ const Zd = I({
|
|
|
10966
10978
|
this.formRenderModel = this.formRender;
|
|
10967
10979
|
else {
|
|
10968
10980
|
const e = await Jd(this.sdform.form_model, this.userState);
|
|
10969
|
-
e ? e.model
|
|
10981
|
+
e ? e.model ? this.formRenderModel = e.model : this.formRenderModel = Ee() : this.formRenderModel = Ee();
|
|
10970
10982
|
}
|
|
10971
10983
|
this.buildFormModel(this.formRenderModel ? this.formRenderModel.fields : null), this.initFormRender();
|
|
10972
10984
|
},
|
|
@@ -11003,7 +11015,7 @@ const Zd = I({
|
|
|
11003
11015
|
let t = this.formData._id ? this.formData._id : "";
|
|
11004
11016
|
this.formDataModel.xparentx = this.formDataModel[this.sdform.joiner_field.field_name].value || null, e = this.formDataModel[this.sdform.joiner_field.field_name];
|
|
11005
11017
|
const l = await Ti(this.sdform.dataid, t, this.formDataModel, this.$data.useUserState);
|
|
11006
|
-
l.data ? (this.showInput = !1,
|
|
11018
|
+
l.data ? (this.showInput = !1, _.warning(l.message)) : this.showInput = !0;
|
|
11007
11019
|
} else
|
|
11008
11020
|
this.formDataModel.xparentx = null, this.showInput = !1;
|
|
11009
11021
|
try {
|
|
@@ -11027,7 +11039,7 @@ const Zd = I({
|
|
|
11027
11039
|
},
|
|
11028
11040
|
alert(e, i = "info", t = 4e3) {
|
|
11029
11041
|
try {
|
|
11030
|
-
|
|
11042
|
+
_({
|
|
11031
11043
|
grouping: !0,
|
|
11032
11044
|
type: i,
|
|
11033
11045
|
message: e,
|
|
@@ -11616,7 +11628,7 @@ function _d(e, i, t, l, r, c) {
|
|
|
11616
11628
|
])) : b("", !0)
|
|
11617
11629
|
], 64);
|
|
11618
11630
|
}
|
|
11619
|
-
const xd = /* @__PURE__ */ R(Zd, [["render", _d], ["__scopeId", "data-v-
|
|
11631
|
+
const xd = /* @__PURE__ */ R(Zd, [["render", _d], ["__scopeId", "data-v-e4a6e21a"]]), Vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11620
11632
|
__proto__: null,
|
|
11621
11633
|
default: xd
|
|
11622
11634
|
}, Symbol.toStringTag, { value: "Module" }));
|
package/sd-render.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { i as e } from "./sd-render-
|
|
3
|
-
import { b as r, f as S, S as i, g as o, c as m, h as n, i as l, j as p, k as u, l as c, m as C, n as g, o as F, p as D, G as I, q as G, r as h, s as y, t as V, u as v, v as U, d as f, w as E, e as M, x as P, y as b, z as w, A, B as x, C as L, D as O, E as k, F as R, _ as T, a as j, V as B, Z as H, X as N, a0 as W, Y as q, $ as z, P as J, M as K, T as Q, R as X, J as Y, K as Z, a1 as _, L as $, U as aa, W as sa, O as da, N as ea, H as ta, I as ra, Q as Sa, a2 as ia } from "./sd-lib-
|
|
2
|
+
import { i as e } from "./sd-render-DEdnt0gw.js";
|
|
3
|
+
import { b as r, f as S, S as i, g as o, c as m, h as n, i as l, j as p, k as u, l as c, m as C, n as g, o as F, p as D, G as I, q as G, r as h, s as y, t as V, u as v, v as U, d as f, w as E, e as M, x as P, y as b, z as w, A, B as x, C as L, D as O, E as k, F as R, _ as T, a as j, V as B, Z as H, X as N, a0 as W, Y as q, $ as z, P as J, M as K, T as Q, R as X, J as Y, K as Z, a1 as _, L as $, U as aa, W as sa, O as da, N as ea, H as ta, I as ra, Q as Sa, a2 as ia } from "./sd-lib-qm_iM-7b.js";
|
|
4
4
|
export {
|
|
5
5
|
r as SdAceEditor,
|
|
6
6
|
S as SdAppList,
|