form-custom-test 3.0.106 → 3.0.108
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/dist/designer.es.js +177 -120
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +9 -9
- package/dist/render.es.js +152 -96
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +6 -6
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -3862,6 +3862,7 @@ const assetTableSchema = {
|
|
|
3862
3862
|
validationHint: "",
|
|
3863
3863
|
hidden: false,
|
|
3864
3864
|
typeJson: {},
|
|
3865
|
+
clickRow: true,
|
|
3865
3866
|
customClass: "",
|
|
3866
3867
|
onCreated: "",
|
|
3867
3868
|
onMounted: "",
|
|
@@ -3932,6 +3933,7 @@ var enLocale_extension = {
|
|
|
3932
3933
|
assetSelectButtonText: "Button Text",
|
|
3933
3934
|
assetSelectTypeJson: "Asset Type Json",
|
|
3934
3935
|
assetTableTypeJson: "Asset Table Type Json",
|
|
3936
|
+
assetTableClickRow: "Click Row",
|
|
3935
3937
|
assetSelectAssetTypeValue: "Asset Type Value",
|
|
3936
3938
|
assetTypeAssetTypeValue: "Asset Type",
|
|
3937
3939
|
assetType: "Asset Typee"
|
|
@@ -3982,6 +3984,7 @@ var zhLocale_extension = {
|
|
|
3982
3984
|
assetSelectButtonText: "\u6309\u94AE\u6587\u5B57",
|
|
3983
3985
|
assetSelectTypeJson: "\u8D44\u4EA7\u7C7B\u578BJson",
|
|
3984
3986
|
assetTableTypeJson: "\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson",
|
|
3987
|
+
assetTableClickRow: "\u662F\u5426\u70B9\u51FB\u884C",
|
|
3985
3988
|
assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
3986
3989
|
assetTypeAssetTypeValue: "\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C"
|
|
3987
3990
|
}
|
|
@@ -4052,14 +4055,14 @@ const _sfc_main$3z = {
|
|
|
4052
4055
|
}
|
|
4053
4056
|
}
|
|
4054
4057
|
};
|
|
4055
|
-
const _hoisted_1$
|
|
4058
|
+
const _hoisted_1$W = ["xlink:href"];
|
|
4056
4059
|
const _hoisted_2$E = { key: 0 };
|
|
4057
4060
|
function _sfc_render$3z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4058
4061
|
return openBlock(), createElementBlock("svg", {
|
|
4059
4062
|
class: normalizeClass($options.svgClass),
|
|
4060
4063
|
"aria-hidden": "true"
|
|
4061
4064
|
}, [
|
|
4062
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
4065
|
+
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$W),
|
|
4063
4066
|
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$E, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
4064
4067
|
], 2);
|
|
4065
4068
|
}
|
|
@@ -4193,7 +4196,7 @@ const _sfc_main$3y = {
|
|
|
4193
4196
|
}
|
|
4194
4197
|
}
|
|
4195
4198
|
};
|
|
4196
|
-
const _hoisted_1$
|
|
4199
|
+
const _hoisted_1$V = { class: "panel-container" };
|
|
4197
4200
|
const _hoisted_2$D = ["title", "onDblclick"];
|
|
4198
4201
|
const _hoisted_3$y = ["title", "onDblclick"];
|
|
4199
4202
|
const _hoisted_4$m = ["title", "onDblclick"];
|
|
@@ -4215,7 +4218,7 @@ function _sfc_render$3y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4215
4218
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
4216
4219
|
return openBlock(), createBlock(_component_el_scrollbar, { class: "side-scroll-bar" }, {
|
|
4217
4220
|
default: withCtx(() => [
|
|
4218
|
-
createElementVNode("div", _hoisted_1$
|
|
4221
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
4219
4222
|
createVNode(_component_el_tabs, {
|
|
4220
4223
|
modelValue: $data.firstTab,
|
|
4221
4224
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.firstTab = $event),
|
|
@@ -4660,7 +4663,7 @@ const _sfc_main$3w = {
|
|
|
4660
4663
|
}
|
|
4661
4664
|
}
|
|
4662
4665
|
};
|
|
4663
|
-
const _hoisted_1$
|
|
4666
|
+
const _hoisted_1$U = {
|
|
4664
4667
|
key: 0,
|
|
4665
4668
|
class: "field-action"
|
|
4666
4669
|
};
|
|
@@ -4689,7 +4692,7 @@ function _sfc_render$3w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4689
4692
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
4690
4693
|
], 6)) : createCommentVNode("", true),
|
|
4691
4694
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
4692
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4695
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
4693
4696
|
createElementVNode("i", {
|
|
4694
4697
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
4695
4698
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
@@ -10739,6 +10742,58 @@ var fieldMixin = {
|
|
|
10739
10742
|
setLabel(newLabel) {
|
|
10740
10743
|
this.field.options.label = newLabel;
|
|
10741
10744
|
},
|
|
10745
|
+
updateFieldLabel(fieldName, newLabel) {
|
|
10746
|
+
if (!fieldName)
|
|
10747
|
+
return false;
|
|
10748
|
+
const labelText = newLabel == null ? "" : String(newLabel);
|
|
10749
|
+
const widgetRef = this.getWidgetRef(fieldName, false);
|
|
10750
|
+
if (widgetRef && widgetRef.field && widgetRef.field.options) {
|
|
10751
|
+
widgetRef.field.options.label = labelText;
|
|
10752
|
+
const formRef2 = this.getFormRef();
|
|
10753
|
+
if (formRef2 && typeof formRef2.$forceUpdate === "function") {
|
|
10754
|
+
formRef2.$forceUpdate();
|
|
10755
|
+
}
|
|
10756
|
+
return true;
|
|
10757
|
+
}
|
|
10758
|
+
const formRef = this.getFormRef();
|
|
10759
|
+
if (!formRef || typeof formRef.getFormJson !== "function" || typeof formRef.setFormJson !== "function") {
|
|
10760
|
+
return false;
|
|
10761
|
+
}
|
|
10762
|
+
const formJson = formRef.getFormJson();
|
|
10763
|
+
let updated = false;
|
|
10764
|
+
const walk = (list) => {
|
|
10765
|
+
if (!Array.isArray(list) || updated)
|
|
10766
|
+
return;
|
|
10767
|
+
list.forEach((w) => {
|
|
10768
|
+
if (updated || !w)
|
|
10769
|
+
return;
|
|
10770
|
+
if (w.options && w.options.name === fieldName) {
|
|
10771
|
+
w.options.label = labelText;
|
|
10772
|
+
updated = true;
|
|
10773
|
+
return;
|
|
10774
|
+
}
|
|
10775
|
+
if (Array.isArray(w.widgetList))
|
|
10776
|
+
walk(w.widgetList);
|
|
10777
|
+
if (Array.isArray(w.cols)) {
|
|
10778
|
+
w.cols.forEach((c) => walk(c && c.widgetList));
|
|
10779
|
+
}
|
|
10780
|
+
if (Array.isArray(w.rows)) {
|
|
10781
|
+
w.rows.forEach((r) => Array.isArray(r && r.cols) && r.cols.forEach((c) => walk(c && c.widgetList)));
|
|
10782
|
+
}
|
|
10783
|
+
if (Array.isArray(w.tabs)) {
|
|
10784
|
+
w.tabs.forEach((t) => walk(t && t.widgetList));
|
|
10785
|
+
}
|
|
10786
|
+
});
|
|
10787
|
+
};
|
|
10788
|
+
walk(formJson && formJson.widgetList);
|
|
10789
|
+
if (!updated)
|
|
10790
|
+
return false;
|
|
10791
|
+
formRef.setFormJson(formJson);
|
|
10792
|
+
return true;
|
|
10793
|
+
},
|
|
10794
|
+
setFieldLabel(fieldName, newLabel) {
|
|
10795
|
+
return this.updateFieldLabel(fieldName, newLabel);
|
|
10796
|
+
},
|
|
10742
10797
|
focus() {
|
|
10743
10798
|
if (!!this.getFieldEditor() && !!this.getFieldEditor().focus) {
|
|
10744
10799
|
this.getFieldEditor().focus();
|
|
@@ -11046,7 +11101,7 @@ const _sfc_main$3u = {
|
|
|
11046
11101
|
}
|
|
11047
11102
|
}
|
|
11048
11103
|
};
|
|
11049
|
-
const _hoisted_1$
|
|
11104
|
+
const _hoisted_1$T = {
|
|
11050
11105
|
key: 0,
|
|
11051
11106
|
class: "custom-label"
|
|
11052
11107
|
};
|
|
@@ -11087,7 +11142,7 @@ function _sfc_render$3u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11087
11142
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectField($props.field), ["stop"]))
|
|
11088
11143
|
}, {
|
|
11089
11144
|
label: withCtx(() => [
|
|
11090
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11145
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$T, [
|
|
11091
11146
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11092
11147
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11093
11148
|
createVNode(_component_el_tooltip, {
|
|
@@ -11245,7 +11300,7 @@ const _sfc_main$3t = {
|
|
|
11245
11300
|
},
|
|
11246
11301
|
methods: {}
|
|
11247
11302
|
};
|
|
11248
|
-
const _hoisted_1$
|
|
11303
|
+
const _hoisted_1$S = { class: "full-width-input" };
|
|
11249
11304
|
function _sfc_render$3t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11250
11305
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
11251
11306
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -11262,7 +11317,7 @@ function _sfc_render$3t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11262
11317
|
"sub-form-row-id": $props.subFormRowId
|
|
11263
11318
|
}, {
|
|
11264
11319
|
default: withCtx(() => [
|
|
11265
|
-
createElementVNode("div", _hoisted_1$
|
|
11320
|
+
createElementVNode("div", _hoisted_1$S, [
|
|
11266
11321
|
createVNode(_component_el_cascader, {
|
|
11267
11322
|
ref: "fieldEditor",
|
|
11268
11323
|
options: $props.field.options.optionItems,
|
|
@@ -11817,7 +11872,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
11817
11872
|
const _sfc_main$3n = defineComponent({
|
|
11818
11873
|
name: "ArrowDownBold"
|
|
11819
11874
|
});
|
|
11820
|
-
const _hoisted_1$
|
|
11875
|
+
const _hoisted_1$R = {
|
|
11821
11876
|
class: "icon",
|
|
11822
11877
|
width: "200",
|
|
11823
11878
|
height: "200",
|
|
@@ -11832,13 +11887,13 @@ const _hoisted_3$v = [
|
|
|
11832
11887
|
_hoisted_2$A
|
|
11833
11888
|
];
|
|
11834
11889
|
function _sfc_render$3n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11835
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
11890
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$R, _hoisted_3$v);
|
|
11836
11891
|
}
|
|
11837
11892
|
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$3n, [["render", _sfc_render$3n]]);
|
|
11838
11893
|
const _sfc_main$3m = defineComponent({
|
|
11839
11894
|
name: "ArrowDown"
|
|
11840
11895
|
});
|
|
11841
|
-
const _hoisted_1$
|
|
11896
|
+
const _hoisted_1$Q = {
|
|
11842
11897
|
class: "icon",
|
|
11843
11898
|
width: "200",
|
|
11844
11899
|
height: "200",
|
|
@@ -11853,13 +11908,13 @@ const _hoisted_3$u = [
|
|
|
11853
11908
|
_hoisted_2$z
|
|
11854
11909
|
];
|
|
11855
11910
|
function _sfc_render$3m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11856
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
11911
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$Q, _hoisted_3$u);
|
|
11857
11912
|
}
|
|
11858
11913
|
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["render", _sfc_render$3m]]);
|
|
11859
11914
|
const _sfc_main$3l = defineComponent({
|
|
11860
11915
|
name: "ArrowUp"
|
|
11861
11916
|
});
|
|
11862
|
-
const _hoisted_1$
|
|
11917
|
+
const _hoisted_1$P = {
|
|
11863
11918
|
class: "icon",
|
|
11864
11919
|
width: "200",
|
|
11865
11920
|
height: "200",
|
|
@@ -11874,13 +11929,13 @@ const _hoisted_3$t = [
|
|
|
11874
11929
|
_hoisted_2$y
|
|
11875
11930
|
];
|
|
11876
11931
|
function _sfc_render$3l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11877
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
11932
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$P, _hoisted_3$t);
|
|
11878
11933
|
}
|
|
11879
11934
|
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$3l, [["render", _sfc_render$3l]]);
|
|
11880
11935
|
const _sfc_main$3k = defineComponent({
|
|
11881
11936
|
name: "CirclePlus"
|
|
11882
11937
|
});
|
|
11883
|
-
const _hoisted_1$
|
|
11938
|
+
const _hoisted_1$O = {
|
|
11884
11939
|
class: "icon",
|
|
11885
11940
|
width: "200",
|
|
11886
11941
|
height: "200",
|
|
@@ -11905,13 +11960,13 @@ const _hoisted_5$f = [
|
|
|
11905
11960
|
_hoisted_4$j
|
|
11906
11961
|
];
|
|
11907
11962
|
function _sfc_render$3k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11908
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
11963
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$O, _hoisted_5$f);
|
|
11909
11964
|
}
|
|
11910
11965
|
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$3k, [["render", _sfc_render$3k]]);
|
|
11911
11966
|
const _sfc_main$3j = defineComponent({
|
|
11912
11967
|
name: "Delete"
|
|
11913
11968
|
});
|
|
11914
|
-
const _hoisted_1$
|
|
11969
|
+
const _hoisted_1$N = {
|
|
11915
11970
|
class: "icon",
|
|
11916
11971
|
width: "200",
|
|
11917
11972
|
height: "200",
|
|
@@ -11926,13 +11981,13 @@ const _hoisted_3$r = [
|
|
|
11926
11981
|
_hoisted_2$w
|
|
11927
11982
|
];
|
|
11928
11983
|
function _sfc_render$3j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11929
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
11984
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$N, _hoisted_3$r);
|
|
11930
11985
|
}
|
|
11931
11986
|
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$3j, [["render", _sfc_render$3j]]);
|
|
11932
11987
|
const _sfc_main$3i = defineComponent({
|
|
11933
11988
|
name: "Edit"
|
|
11934
11989
|
});
|
|
11935
|
-
const _hoisted_1$
|
|
11990
|
+
const _hoisted_1$M = {
|
|
11936
11991
|
class: "icon",
|
|
11937
11992
|
width: "200",
|
|
11938
11993
|
height: "200",
|
|
@@ -11952,13 +12007,13 @@ const _hoisted_4$i = [
|
|
|
11952
12007
|
_hoisted_3$q
|
|
11953
12008
|
];
|
|
11954
12009
|
function _sfc_render$3i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11955
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12010
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$M, _hoisted_4$i);
|
|
11956
12011
|
}
|
|
11957
12012
|
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$3i, [["render", _sfc_render$3i]]);
|
|
11958
12013
|
const _sfc_main$3h = defineComponent({
|
|
11959
12014
|
name: "InfoFilled"
|
|
11960
12015
|
});
|
|
11961
|
-
const _hoisted_1$
|
|
12016
|
+
const _hoisted_1$L = {
|
|
11962
12017
|
class: "icon",
|
|
11963
12018
|
width: "200",
|
|
11964
12019
|
height: "200",
|
|
@@ -11973,13 +12028,13 @@ const _hoisted_3$p = [
|
|
|
11973
12028
|
_hoisted_2$u
|
|
11974
12029
|
];
|
|
11975
12030
|
function _sfc_render$3h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11976
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12031
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$L, _hoisted_3$p);
|
|
11977
12032
|
}
|
|
11978
12033
|
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$3h, [["render", _sfc_render$3h]]);
|
|
11979
12034
|
const _sfc_main$3g = defineComponent({
|
|
11980
12035
|
name: "Loading"
|
|
11981
12036
|
});
|
|
11982
|
-
const _hoisted_1$
|
|
12037
|
+
const _hoisted_1$K = {
|
|
11983
12038
|
class: "icon",
|
|
11984
12039
|
width: "200",
|
|
11985
12040
|
height: "200",
|
|
@@ -11994,13 +12049,13 @@ const _hoisted_3$o = [
|
|
|
11994
12049
|
_hoisted_2$t
|
|
11995
12050
|
];
|
|
11996
12051
|
function _sfc_render$3g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11997
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12052
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$K, _hoisted_3$o);
|
|
11998
12053
|
}
|
|
11999
12054
|
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$3g, [["render", _sfc_render$3g]]);
|
|
12000
12055
|
const _sfc_main$3f = defineComponent({
|
|
12001
12056
|
name: "Minus"
|
|
12002
12057
|
});
|
|
12003
|
-
const _hoisted_1$
|
|
12058
|
+
const _hoisted_1$J = {
|
|
12004
12059
|
class: "icon",
|
|
12005
12060
|
width: "200",
|
|
12006
12061
|
height: "200",
|
|
@@ -12015,13 +12070,13 @@ const _hoisted_3$n = [
|
|
|
12015
12070
|
_hoisted_2$s
|
|
12016
12071
|
];
|
|
12017
12072
|
function _sfc_render$3f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12018
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12073
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_3$n);
|
|
12019
12074
|
}
|
|
12020
12075
|
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$3f, [["render", _sfc_render$3f]]);
|
|
12021
12076
|
const _sfc_main$3e = defineComponent({
|
|
12022
12077
|
name: "Plus"
|
|
12023
12078
|
});
|
|
12024
|
-
const _hoisted_1$
|
|
12079
|
+
const _hoisted_1$I = {
|
|
12025
12080
|
class: "icon",
|
|
12026
12081
|
width: "200",
|
|
12027
12082
|
height: "200",
|
|
@@ -12036,13 +12091,13 @@ const _hoisted_3$m = [
|
|
|
12036
12091
|
_hoisted_2$r
|
|
12037
12092
|
];
|
|
12038
12093
|
function _sfc_render$3e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12039
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12094
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$m);
|
|
12040
12095
|
}
|
|
12041
12096
|
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$3e, [["render", _sfc_render$3e]]);
|
|
12042
12097
|
const _sfc_main$3d = defineComponent({
|
|
12043
12098
|
name: "Search"
|
|
12044
12099
|
});
|
|
12045
|
-
const _hoisted_1$
|
|
12100
|
+
const _hoisted_1$H = {
|
|
12046
12101
|
class: "icon",
|
|
12047
12102
|
width: "200",
|
|
12048
12103
|
height: "200",
|
|
@@ -12057,7 +12112,7 @@ const _hoisted_3$l = [
|
|
|
12057
12112
|
_hoisted_2$q
|
|
12058
12113
|
];
|
|
12059
12114
|
function _sfc_render$3d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12060
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12115
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_3$l);
|
|
12061
12116
|
}
|
|
12062
12117
|
var search = /* @__PURE__ */ _export_sfc(_sfc_main$3d, [["render", _sfc_render$3d]]);
|
|
12063
12118
|
var defaultConfig = {
|
|
@@ -12504,7 +12559,7 @@ const _sfc_main$3c = {
|
|
|
12504
12559
|
}
|
|
12505
12560
|
}
|
|
12506
12561
|
};
|
|
12507
|
-
const _hoisted_1$
|
|
12562
|
+
const _hoisted_1$G = { class: "file-upload-widget-container" };
|
|
12508
12563
|
const _hoisted_2$p = {
|
|
12509
12564
|
key: 0,
|
|
12510
12565
|
class: "el-upload__tip"
|
|
@@ -12536,7 +12591,7 @@ function _sfc_render$3c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12536
12591
|
"sub-form-row-id": $props.subFormRowId
|
|
12537
12592
|
}, {
|
|
12538
12593
|
default: withCtx(() => [
|
|
12539
|
-
createElementVNode("div", _hoisted_1$
|
|
12594
|
+
createElementVNode("div", _hoisted_1$G, [
|
|
12540
12595
|
createVNode(_component_el_upload, {
|
|
12541
12596
|
ref: "fieldEditor",
|
|
12542
12597
|
disabled: _ctx.getDisabled(),
|
|
@@ -12687,7 +12742,7 @@ const _sfc_main$3b = {
|
|
|
12687
12742
|
},
|
|
12688
12743
|
methods: {}
|
|
12689
12744
|
};
|
|
12690
|
-
const _hoisted_1$
|
|
12745
|
+
const _hoisted_1$F = ["innerHTML"];
|
|
12691
12746
|
function _sfc_render$3b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12692
12747
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
12693
12748
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -12705,7 +12760,7 @@ function _sfc_render$3b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12705
12760
|
createElementVNode("div", {
|
|
12706
12761
|
ref: "fieldEditor",
|
|
12707
12762
|
innerHTML: $props.field.options.htmlContent
|
|
12708
|
-
}, null, 8, _hoisted_1$
|
|
12763
|
+
}, null, 8, _hoisted_1$F)
|
|
12709
12764
|
]),
|
|
12710
12765
|
_: 1
|
|
12711
12766
|
}, 8, ["designer", "field", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
@@ -13142,7 +13197,7 @@ const _sfc_main$38 = {
|
|
|
13142
13197
|
}
|
|
13143
13198
|
}
|
|
13144
13199
|
};
|
|
13145
|
-
const _hoisted_1$
|
|
13200
|
+
const _hoisted_1$E = { class: "el-upload-list__item-status-label" };
|
|
13146
13201
|
const _hoisted_2$o = {
|
|
13147
13202
|
class: "el-icon--upload-success",
|
|
13148
13203
|
style: { "color": "#FFF" }
|
|
@@ -13203,7 +13258,7 @@ function _sfc_render$38(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13203
13258
|
fit: "cover",
|
|
13204
13259
|
"preview-teleported": ""
|
|
13205
13260
|
}, null, 8, ["src", "preview-src-list", "initial-index"]),
|
|
13206
|
-
createElementVNode("label", _hoisted_1$
|
|
13261
|
+
createElementVNode("label", _hoisted_1$E, [
|
|
13207
13262
|
createElementVNode("i", _hoisted_2$o, [
|
|
13208
13263
|
createVNode(_component_svg_icon, {
|
|
13209
13264
|
class: "",
|
|
@@ -24898,9 +24953,9 @@ const _sfc_main$35 = {
|
|
|
24898
24953
|
return { editor };
|
|
24899
24954
|
}
|
|
24900
24955
|
};
|
|
24901
|
-
const _hoisted_1$
|
|
24956
|
+
const _hoisted_1$D = { ref: "editor" };
|
|
24902
24957
|
function _sfc_render$35(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24903
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
24958
|
+
return openBlock(), createElementBlock("section", _hoisted_1$D, null, 512);
|
|
24904
24959
|
}
|
|
24905
24960
|
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$35, [["render", _sfc_render$35]]);
|
|
24906
24961
|
quillEditor.install = function(app) {
|
|
@@ -25414,7 +25469,7 @@ const _sfc_main$30 = {
|
|
|
25414
25469
|
},
|
|
25415
25470
|
methods: {}
|
|
25416
25471
|
};
|
|
25417
|
-
const _hoisted_1$
|
|
25472
|
+
const _hoisted_1$C = {
|
|
25418
25473
|
key: 0,
|
|
25419
25474
|
class: "slot-title"
|
|
25420
25475
|
};
|
|
@@ -25436,7 +25491,7 @@ function _sfc_render$30(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25436
25491
|
class: normalizeClass([!!$props.designState ? "slot-wrapper-design" : "slot-wrapper-render"])
|
|
25437
25492
|
}, [
|
|
25438
25493
|
renderSlot(_ctx.$slots, $props.field.options.name, { formModel: _ctx.formModel }, void 0, true),
|
|
25439
|
-
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
25494
|
+
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$C, toDisplayString($props.field.options.label), 1)) : createCommentVNode("", true)
|
|
25440
25495
|
], 2)
|
|
25441
25496
|
]),
|
|
25442
25497
|
_: 3
|
|
@@ -26086,7 +26141,7 @@ const _sfc_main$2W = {
|
|
|
26086
26141
|
}
|
|
26087
26142
|
}
|
|
26088
26143
|
};
|
|
26089
|
-
const _hoisted_1$
|
|
26144
|
+
const _hoisted_1$B = { class: "blank-cell" };
|
|
26090
26145
|
const _hoisted_2$n = { class: "invisible-content" };
|
|
26091
26146
|
function _sfc_render$2W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26092
26147
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -26144,7 +26199,7 @@ function _sfc_render$2W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26144
26199
|
], 64);
|
|
26145
26200
|
}), 256)) : (openBlock(), createBlock(_component_el_col, { key: 1 }, {
|
|
26146
26201
|
default: withCtx(() => [
|
|
26147
|
-
createElementVNode("div", _hoisted_1$
|
|
26202
|
+
createElementVNode("div", _hoisted_1$B, [
|
|
26148
26203
|
createElementVNode("span", _hoisted_2$n, toDisplayString(_ctx.i18nt("render.hint.blankCellContent")), 1)
|
|
26149
26204
|
])
|
|
26150
26205
|
]),
|
|
@@ -26646,7 +26701,7 @@ const _sfc_main$2U = {
|
|
|
26646
26701
|
}
|
|
26647
26702
|
}
|
|
26648
26703
|
};
|
|
26649
|
-
const _hoisted_1$
|
|
26704
|
+
const _hoisted_1$A = { class: "action-header-column" };
|
|
26650
26705
|
const _hoisted_2$m = { class: "action-label" };
|
|
26651
26706
|
const _hoisted_3$i = {
|
|
26652
26707
|
key: 0,
|
|
@@ -26673,7 +26728,7 @@ function _sfc_render$2U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26673
26728
|
}, [
|
|
26674
26729
|
createVNode(_component_el_row, { class: "header-row" }, {
|
|
26675
26730
|
default: withCtx(() => [
|
|
26676
|
-
createElementVNode("div", _hoisted_1$
|
|
26731
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
26677
26732
|
createElementVNode("span", _hoisted_2$m, toDisplayString(_ctx.i18nt("render.hint.subFormAction")), 1),
|
|
26678
26733
|
createVNode(_component_el_button, {
|
|
26679
26734
|
disabled: $data.actionDisabled,
|
|
@@ -26981,7 +27036,7 @@ const _sfc_main$2S = {
|
|
|
26981
27036
|
},
|
|
26982
27037
|
methods: {}
|
|
26983
27038
|
};
|
|
26984
|
-
const _hoisted_1$
|
|
27039
|
+
const _hoisted_1$z = ["colspan", "rowspan"];
|
|
26985
27040
|
function _sfc_render$2S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26986
27041
|
return openBlock(), createElementBlock("td", {
|
|
26987
27042
|
class: normalizeClass(["table-cell", [$options.customClass]]),
|
|
@@ -27024,7 +27079,7 @@ function _sfc_render$2S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27024
27079
|
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
27025
27080
|
], 64);
|
|
27026
27081
|
}), 256))
|
|
27027
|
-
], 14, _hoisted_1$
|
|
27082
|
+
], 14, _hoisted_1$z);
|
|
27028
27083
|
}
|
|
27029
27084
|
var TableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-7d6166fa"]]);
|
|
27030
27085
|
var __glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -52342,13 +52397,13 @@ const _sfc_main$2P = {
|
|
|
52342
52397
|
}
|
|
52343
52398
|
}
|
|
52344
52399
|
};
|
|
52345
|
-
const _hoisted_1$
|
|
52400
|
+
const _hoisted_1$y = { class: "ace-container" };
|
|
52346
52401
|
const _hoisted_2$l = {
|
|
52347
52402
|
class: "ace-editor",
|
|
52348
52403
|
ref: "ace"
|
|
52349
52404
|
};
|
|
52350
52405
|
function _sfc_render$2P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
52351
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
52406
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
52352
52407
|
createElementVNode("div", _hoisted_2$l, null, 512)
|
|
52353
52408
|
]);
|
|
52354
52409
|
}
|
|
@@ -53768,7 +53823,7 @@ const _sfc_main$2O = {
|
|
|
53768
53823
|
}
|
|
53769
53824
|
}
|
|
53770
53825
|
};
|
|
53771
|
-
const _hoisted_1$
|
|
53826
|
+
const _hoisted_1$x = { class: "toolbar-container" };
|
|
53772
53827
|
const _hoisted_2$k = { class: "left-toolbar" };
|
|
53773
53828
|
const _hoisted_3$h = { class: "right-toolbar-con" };
|
|
53774
53829
|
const _hoisted_4$e = {
|
|
@@ -53815,7 +53870,7 @@ function _sfc_render$2O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
53815
53870
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
53816
53871
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
53817
53872
|
const _directive_drag = resolveDirective("drag");
|
|
53818
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
53873
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
53819
53874
|
createElementVNode("div", _hoisted_2$k, [
|
|
53820
53875
|
createVNode(_component_el_button, {
|
|
53821
53876
|
link: "",
|
|
@@ -56159,7 +56214,7 @@ const _sfc_main$2c = {
|
|
|
56159
56214
|
}
|
|
56160
56215
|
}
|
|
56161
56216
|
};
|
|
56162
|
-
const _hoisted_1$
|
|
56217
|
+
const _hoisted_1$w = { class: "option-items-pane" };
|
|
56163
56218
|
const _hoisted_2$j = {
|
|
56164
56219
|
key: 2,
|
|
56165
56220
|
class: "full-width-input"
|
|
@@ -56206,7 +56261,7 @@ function _sfc_render$2c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
56206
56261
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
56207
56262
|
const _component_code_editor = resolveComponent("code-editor");
|
|
56208
56263
|
const _directive_drag = resolveDirective("drag");
|
|
56209
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
56264
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
56210
56265
|
$props.selectedWidget.type === "radio" || $props.selectedWidget.type === "radio-other" || $props.selectedWidget.type === "select" && !$props.selectedWidget.options.multiple || $props.selectedWidget.type === "select-other" ? (openBlock(), createBlock(_component_el_radio_group, {
|
|
56211
56266
|
key: 0,
|
|
56212
56267
|
modelValue: $options.optionModel.defaultValue,
|
|
@@ -57513,7 +57568,7 @@ const _sfc_main$1P = {
|
|
|
57513
57568
|
}
|
|
57514
57569
|
}
|
|
57515
57570
|
};
|
|
57516
|
-
const _hoisted_1$
|
|
57571
|
+
const _hoisted_1$v = { class: "col-span-title" };
|
|
57517
57572
|
function _sfc_render$1P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57518
57573
|
const _component_el_divider = resolveComponent("el-divider");
|
|
57519
57574
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -57553,7 +57608,7 @@ function _sfc_render$1P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
57553
57608
|
key: colIdx,
|
|
57554
57609
|
class: "col-item"
|
|
57555
57610
|
}, [
|
|
57556
|
-
createElementVNode("span", _hoisted_1$
|
|
57611
|
+
createElementVNode("span", _hoisted_1$v, toDisplayString(_ctx.i18nt("designer.setting.colSpanTitle")) + toDisplayString(colIdx + 1), 1),
|
|
57557
57612
|
createVNode(_component_el_input_number, {
|
|
57558
57613
|
modelValue: colItem.options.span,
|
|
57559
57614
|
"onUpdate:modelValue": ($event) => colItem.options.span = $event,
|
|
@@ -57964,7 +58019,7 @@ const _sfc_main$1G = {
|
|
|
57964
58019
|
}
|
|
57965
58020
|
}
|
|
57966
58021
|
};
|
|
57967
|
-
const _hoisted_1$
|
|
58022
|
+
const _hoisted_1$u = { class: "col-item" };
|
|
57968
58023
|
function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57969
58024
|
const _component_el_option = resolveComponent("el-option");
|
|
57970
58025
|
const _component_el_select = resolveComponent("el-select");
|
|
@@ -58014,7 +58069,7 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
58014
58069
|
"item-key": "id"
|
|
58015
58070
|
}, { group: "panesGroup", ghostClass: "ghost", handle: ".drag-option" }), {
|
|
58016
58071
|
item: withCtx(({ element: tpItem, index: tpIdx }) => [
|
|
58017
|
-
createElementVNode("li", _hoisted_1$
|
|
58072
|
+
createElementVNode("li", _hoisted_1$u, [
|
|
58018
58073
|
createVNode(_component_el_checkbox, {
|
|
58019
58074
|
modelValue: tpItem.options.active,
|
|
58020
58075
|
"onUpdate:modelValue": ($event) => tpItem.options.active = $event,
|
|
@@ -59130,9 +59185,9 @@ const _sfc_main$1f = {
|
|
|
59130
59185
|
optionModel: Object
|
|
59131
59186
|
}
|
|
59132
59187
|
};
|
|
59133
|
-
const _hoisted_1$
|
|
59188
|
+
const _hoisted_1$t = { style: { "display": "none" } };
|
|
59134
59189
|
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
59135
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
59190
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t);
|
|
59136
59191
|
}
|
|
59137
59192
|
var cascaderDefaultValueEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_render$1f]]);
|
|
59138
59193
|
var __glob_0_97 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -59234,9 +59289,9 @@ const _sfc_main$1b = {
|
|
|
59234
59289
|
optionModel: Object
|
|
59235
59290
|
}
|
|
59236
59291
|
};
|
|
59237
|
-
const _hoisted_1$
|
|
59292
|
+
const _hoisted_1$s = { style: { "display": "none" } };
|
|
59238
59293
|
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
59239
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
59294
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s);
|
|
59240
59295
|
}
|
|
59241
59296
|
var checkboxDefaultValueEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_render$1b]]);
|
|
59242
59297
|
var __glob_0_101 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -60041,9 +60096,9 @@ const _sfc_main$W = {
|
|
|
60041
60096
|
optionModel: Object
|
|
60042
60097
|
}
|
|
60043
60098
|
};
|
|
60044
|
-
const _hoisted_1$
|
|
60099
|
+
const _hoisted_1$r = { style: { "display": "none" } };
|
|
60045
60100
|
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60046
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
60101
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r);
|
|
60047
60102
|
}
|
|
60048
60103
|
var radioDefaultValueEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$W]]);
|
|
60049
60104
|
var __glob_0_118 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -60377,9 +60432,9 @@ const _sfc_main$M = {
|
|
|
60377
60432
|
optionModel: Object
|
|
60378
60433
|
}
|
|
60379
60434
|
};
|
|
60380
|
-
const _hoisted_1$
|
|
60435
|
+
const _hoisted_1$q = { style: { "display": "none" } };
|
|
60381
60436
|
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60382
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
60437
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q);
|
|
60383
60438
|
}
|
|
60384
60439
|
var selectDefaultValueEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M]]);
|
|
60385
60440
|
var __glob_0_128 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -61063,7 +61118,7 @@ const _sfc_main$v = {
|
|
|
61063
61118
|
}
|
|
61064
61119
|
}
|
|
61065
61120
|
};
|
|
61066
|
-
const _hoisted_1$
|
|
61121
|
+
const _hoisted_1$p = {
|
|
61067
61122
|
key: 0,
|
|
61068
61123
|
class: ""
|
|
61069
61124
|
};
|
|
@@ -61452,7 +61507,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61452
61507
|
]),
|
|
61453
61508
|
_: 1
|
|
61454
61509
|
}, 8, ["model"]),
|
|
61455
|
-
$data.showFormEventDialogFlag ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
61510
|
+
$data.showFormEventDialogFlag ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
61456
61511
|
createVNode(_component_el_dialog, {
|
|
61457
61512
|
title: _ctx.i18nt("designer.setting.editFormEventHandler"),
|
|
61458
61513
|
modelValue: $data.showFormEventDialogFlag,
|
|
@@ -61919,7 +61974,7 @@ const _sfc_main$u = {
|
|
|
61919
61974
|
}
|
|
61920
61975
|
}
|
|
61921
61976
|
};
|
|
61922
|
-
const _hoisted_1$
|
|
61977
|
+
const _hoisted_1$o = {
|
|
61923
61978
|
key: 0,
|
|
61924
61979
|
class: ""
|
|
61925
61980
|
};
|
|
@@ -62146,7 +62201,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62146
62201
|
]),
|
|
62147
62202
|
_: 1
|
|
62148
62203
|
}, 8, ["modelValue"]),
|
|
62149
|
-
$data.showWidgetEventDialogFlag ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
62204
|
+
$data.showWidgetEventDialogFlag ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
62150
62205
|
createVNode(_component_el_dialog, {
|
|
62151
62206
|
title: _ctx.i18nt("designer.setting.editWidgetEventHandler"),
|
|
62152
62207
|
modelValue: $data.showWidgetEventDialogFlag,
|
|
@@ -62309,7 +62364,7 @@ const _sfc_main$t = {
|
|
|
62309
62364
|
}
|
|
62310
62365
|
}
|
|
62311
62366
|
};
|
|
62312
|
-
const _hoisted_1$
|
|
62367
|
+
const _hoisted_1$n = {
|
|
62313
62368
|
key: 0,
|
|
62314
62369
|
class: "container-action"
|
|
62315
62370
|
};
|
|
@@ -62332,7 +62387,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62332
62387
|
class: normalizeClass(["container-wrapper", [$options.customClass]])
|
|
62333
62388
|
}, [
|
|
62334
62389
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
62335
|
-
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
62390
|
+
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
62336
62391
|
createElementVNode("i", {
|
|
62337
62392
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
62338
62393
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectParentWidget($props.widget), ["stop"]))
|
|
@@ -62626,7 +62681,7 @@ const _sfc_main$s = {
|
|
|
62626
62681
|
}
|
|
62627
62682
|
}
|
|
62628
62683
|
};
|
|
62629
|
-
const _hoisted_1$
|
|
62684
|
+
const _hoisted_1$m = { class: "form-widget-list" };
|
|
62630
62685
|
const _hoisted_2$f = {
|
|
62631
62686
|
key: 0,
|
|
62632
62687
|
class: "grid-col-action"
|
|
@@ -62671,7 +62726,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62671
62726
|
move: $options.checkContainerMove
|
|
62672
62727
|
}), {
|
|
62673
62728
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
62674
|
-
createElementVNode("div", _hoisted_1$
|
|
62729
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
62675
62730
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
62676
62731
|
widget: subWidget,
|
|
62677
62732
|
designer: $props.designer,
|
|
@@ -62864,7 +62919,7 @@ const _sfc_main$q = {
|
|
|
62864
62919
|
}
|
|
62865
62920
|
}
|
|
62866
62921
|
};
|
|
62867
|
-
const _hoisted_1$
|
|
62922
|
+
const _hoisted_1$l = { class: "form-widget-list" };
|
|
62868
62923
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62869
62924
|
const _component_draggable = resolveComponent("draggable");
|
|
62870
62925
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
@@ -62910,7 +62965,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62910
62965
|
move: _ctx.checkContainerMove
|
|
62911
62966
|
}), {
|
|
62912
62967
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
62913
|
-
createElementVNode("div", _hoisted_1$
|
|
62968
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
62914
62969
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
62915
62970
|
widget: subWidget,
|
|
62916
62971
|
designer: $props.designer,
|
|
@@ -63114,7 +63169,7 @@ const _sfc_main$p = {
|
|
|
63114
63169
|
}
|
|
63115
63170
|
}
|
|
63116
63171
|
};
|
|
63117
|
-
const _hoisted_1$
|
|
63172
|
+
const _hoisted_1$k = ["colspan", "rowspan"];
|
|
63118
63173
|
const _hoisted_2$e = { class: "form-widget-list" };
|
|
63119
63174
|
const _hoisted_3$c = {
|
|
63120
63175
|
key: 0,
|
|
@@ -63323,7 +63378,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63323
63378
|
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
|
|
63324
63379
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1)
|
|
63325
63380
|
])) : createCommentVNode("", true)
|
|
63326
|
-
], 14, _hoisted_1$
|
|
63381
|
+
], 14, _hoisted_1$k);
|
|
63327
63382
|
}
|
|
63328
63383
|
var TableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-2dc3e6c7"]]);
|
|
63329
63384
|
var __glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -63363,7 +63418,7 @@ const _sfc_main$o = {
|
|
|
63363
63418
|
},
|
|
63364
63419
|
methods: {}
|
|
63365
63420
|
};
|
|
63366
|
-
const _hoisted_1$
|
|
63421
|
+
const _hoisted_1$j = { class: "table-layout" };
|
|
63367
63422
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63368
63423
|
const _component_table_cell_widget = resolveComponent("table-cell-widget");
|
|
63369
63424
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
@@ -63380,7 +63435,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63380
63435
|
class: normalizeClass(["table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
63381
63436
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
63382
63437
|
}, [
|
|
63383
|
-
createElementVNode("table", _hoisted_1$
|
|
63438
|
+
createElementVNode("table", _hoisted_1$j, [
|
|
63384
63439
|
createElementVNode("tbody", null, [
|
|
63385
63440
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
63386
63441
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -63567,7 +63622,7 @@ const _sfc_main$n = {
|
|
|
63567
63622
|
}
|
|
63568
63623
|
}
|
|
63569
63624
|
};
|
|
63570
|
-
const _hoisted_1$
|
|
63625
|
+
const _hoisted_1$i = { class: "form-widget-container" };
|
|
63571
63626
|
const _hoisted_2$d = {
|
|
63572
63627
|
key: 0,
|
|
63573
63628
|
class: "no-widget-hint"
|
|
@@ -63577,7 +63632,7 @@ const _hoisted_4$8 = { class: "transition-group-el" };
|
|
|
63577
63632
|
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63578
63633
|
const _component_draggable = resolveComponent("draggable");
|
|
63579
63634
|
const _component_el_form = resolveComponent("el-form");
|
|
63580
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
63635
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
63581
63636
|
createVNode(_component_el_form, {
|
|
63582
63637
|
class: normalizeClass(["full-height-width widget-form", [$options.customClass, $options.layoutType + "-layout"]]),
|
|
63583
63638
|
"label-position": $options.labelPosition,
|
|
@@ -68365,13 +68420,13 @@ function registerIcon(app) {
|
|
|
68365
68420
|
if (typeof window !== "undefined") {
|
|
68366
68421
|
let loadSvg = function() {
|
|
68367
68422
|
var body = document.body;
|
|
68368
|
-
var svgDom = document.getElementById("
|
|
68423
|
+
var svgDom = document.getElementById("__svg__icons__dom__1777281634260__");
|
|
68369
68424
|
if (!svgDom) {
|
|
68370
68425
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68371
68426
|
svgDom.style.position = "absolute";
|
|
68372
68427
|
svgDom.style.width = "0";
|
|
68373
68428
|
svgDom.style.height = "0";
|
|
68374
|
-
svgDom.id = "
|
|
68429
|
+
svgDom.id = "__svg__icons__dom__1777281634260__";
|
|
68375
68430
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68376
68431
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68377
68432
|
}
|
|
@@ -68665,7 +68720,7 @@ const _sfc_main$l = {
|
|
|
68665
68720
|
}
|
|
68666
68721
|
}
|
|
68667
68722
|
};
|
|
68668
|
-
const _hoisted_1$
|
|
68723
|
+
const _hoisted_1$h = { class: "label" };
|
|
68669
68724
|
const _hoisted_2$c = { class: "form-widget-list" };
|
|
68670
68725
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
68671
68726
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
@@ -68701,7 +68756,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
68701
68756
|
]),
|
|
68702
68757
|
_: 1
|
|
68703
68758
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
68704
|
-
createElementVNode("div", _hoisted_1$
|
|
68759
|
+
createElementVNode("div", _hoisted_1$h, toDisplayString($props.widget.options.label), 1)
|
|
68705
68760
|
])
|
|
68706
68761
|
]),
|
|
68707
68762
|
default: withCtx(() => [
|
|
@@ -68777,7 +68832,7 @@ const _sfc_main$k = {
|
|
|
68777
68832
|
}
|
|
68778
68833
|
}
|
|
68779
68834
|
};
|
|
68780
|
-
const _hoisted_1$
|
|
68835
|
+
const _hoisted_1$g = { class: "label" };
|
|
68781
68836
|
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
68782
68837
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
68783
68838
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -68805,7 +68860,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
68805
68860
|
]),
|
|
68806
68861
|
_: 1
|
|
68807
68862
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
68808
|
-
createElementVNode("div", _hoisted_1$
|
|
68863
|
+
createElementVNode("div", _hoisted_1$g, toDisplayString($props.widget.options.label), 1)
|
|
68809
68864
|
])
|
|
68810
68865
|
]),
|
|
68811
68866
|
default: withCtx(() => [
|
|
@@ -74567,7 +74622,7 @@ const _sfc_main$i = {
|
|
|
74567
74622
|
}
|
|
74568
74623
|
}
|
|
74569
74624
|
};
|
|
74570
|
-
const _hoisted_1$
|
|
74625
|
+
const _hoisted_1$f = { class: "person-tree-widget__trigger" };
|
|
74571
74626
|
const _hoisted_2$b = { class: "flex items-center" };
|
|
74572
74627
|
const _hoisted_3$a = { class: "dialog-footer" };
|
|
74573
74628
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -74595,7 +74650,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
74595
74650
|
class: "person-tree-widget",
|
|
74596
74651
|
style: normalizeStyle($options.widgetStyle)
|
|
74597
74652
|
}, [
|
|
74598
|
-
createElementVNode("div", _hoisted_1$
|
|
74653
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
74599
74654
|
createVNode(_component_el_input_tag, {
|
|
74600
74655
|
modelValue: $options.displayModel,
|
|
74601
74656
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.displayModel = $event),
|
|
@@ -75196,7 +75251,7 @@ const _sfc_main$f = {
|
|
|
75196
75251
|
}
|
|
75197
75252
|
}
|
|
75198
75253
|
};
|
|
75199
|
-
const _hoisted_1$
|
|
75254
|
+
const _hoisted_1$e = {
|
|
75200
75255
|
key: 0,
|
|
75201
75256
|
class: "empty-wrap"
|
|
75202
75257
|
};
|
|
@@ -75257,7 +75312,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75257
75312
|
]),
|
|
75258
75313
|
default: withCtx(() => [
|
|
75259
75314
|
createElementVNode("div", null, [
|
|
75260
|
-
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
75315
|
+
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
75261
75316
|
createVNode(_component_el_empty, { description: "\u6682\u65E0\u6570\u636E" })
|
|
75262
75317
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
75263
75318
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.roomList, (item) => {
|
|
@@ -75375,7 +75430,7 @@ const _sfc_main$e = {
|
|
|
75375
75430
|
}
|
|
75376
75431
|
}
|
|
75377
75432
|
};
|
|
75378
|
-
const _hoisted_1$
|
|
75433
|
+
const _hoisted_1$d = { class: "sub-form-header" };
|
|
75379
75434
|
const _hoisted_2$9 = { class: "sub-form-label" };
|
|
75380
75435
|
const _hoisted_3$8 = { class: "group-header" };
|
|
75381
75436
|
const _hoisted_4$6 = { class: "group-title" };
|
|
@@ -75412,7 +75467,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75412
75467
|
class: normalizeClass(["custom-sub-form-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
75413
75468
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
75414
75469
|
}, [
|
|
75415
|
-
createElementVNode("div", _hoisted_1$
|
|
75470
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
75416
75471
|
createElementVNode("span", _hoisted_2$9, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
75417
75472
|
]),
|
|
75418
75473
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.previewRows, (row, rowIdx) => {
|
|
@@ -75867,7 +75922,7 @@ const _sfc_main$d = {
|
|
|
75867
75922
|
}
|
|
75868
75923
|
}
|
|
75869
75924
|
};
|
|
75870
|
-
const _hoisted_1$
|
|
75925
|
+
const _hoisted_1$c = { class: "sub-form-header" };
|
|
75871
75926
|
const _hoisted_2$8 = { class: "sub-form-label" };
|
|
75872
75927
|
const _hoisted_3$7 = { class: "group-header" };
|
|
75873
75928
|
const _hoisted_4$5 = { class: "group-title" };
|
|
@@ -75910,7 +75965,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75910
75965
|
key: $props.widget.id,
|
|
75911
75966
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
75912
75967
|
}, [
|
|
75913
|
-
createElementVNode("div", _hoisted_1$
|
|
75968
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
75914
75969
|
createElementVNode("span", _hoisted_2$8, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
75915
75970
|
]),
|
|
75916
75971
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
@@ -76187,7 +76242,7 @@ const _sfc_main$c = {
|
|
|
76187
76242
|
}
|
|
76188
76243
|
}
|
|
76189
76244
|
};
|
|
76190
|
-
const _hoisted_1$
|
|
76245
|
+
const _hoisted_1$b = ["colspan", "rowspan"];
|
|
76191
76246
|
const _hoisted_2$7 = { class: "form-widget-list" };
|
|
76192
76247
|
const _hoisted_3$6 = {
|
|
76193
76248
|
key: 0,
|
|
@@ -76326,7 +76381,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76326
76381
|
createElementVNode("i", null, "\u5355\u5143\u683C", -1)
|
|
76327
76382
|
])])) : createCommentVNode("", true),
|
|
76328
76383
|
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$2, " \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")) : createCommentVNode("", true)
|
|
76329
|
-
], 14, _hoisted_1$
|
|
76384
|
+
], 14, _hoisted_1$b);
|
|
76330
76385
|
}
|
|
76331
76386
|
var CustomTableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-6e28297c"]]);
|
|
76332
76387
|
var customTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -76381,7 +76436,7 @@ const _sfc_main$b = {
|
|
|
76381
76436
|
}
|
|
76382
76437
|
}
|
|
76383
76438
|
};
|
|
76384
|
-
const _hoisted_1$
|
|
76439
|
+
const _hoisted_1$a = { class: "custom-table-layout" };
|
|
76385
76440
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
76386
76441
|
const _component_custom_table_cell_widget = resolveComponent("custom-table-cell-widget");
|
|
76387
76442
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
@@ -76398,7 +76453,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76398
76453
|
class: normalizeClass(["custom-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
76399
76454
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
76400
76455
|
}, [
|
|
76401
|
-
createElementVNode("table", _hoisted_1$
|
|
76456
|
+
createElementVNode("table", _hoisted_1$a, [
|
|
76402
76457
|
createElementVNode("tbody", null, [
|
|
76403
76458
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
76404
76459
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -76447,7 +76502,7 @@ const _sfc_main$a = {
|
|
|
76447
76502
|
}
|
|
76448
76503
|
}
|
|
76449
76504
|
};
|
|
76450
|
-
const _hoisted_1$
|
|
76505
|
+
const _hoisted_1$9 = ["colspan", "rowspan"];
|
|
76451
76506
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
76452
76507
|
return openBlock(), createElementBlock("td", {
|
|
76453
76508
|
class: normalizeClass(["custom-table-cell", $options.customClass]),
|
|
@@ -76479,7 +76534,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76479
76534
|
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
76480
76535
|
], 64);
|
|
76481
76536
|
}), 128))
|
|
76482
|
-
], 14, _hoisted_1$
|
|
76537
|
+
], 14, _hoisted_1$9);
|
|
76483
76538
|
}
|
|
76484
76539
|
var CustomTableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-188e7bf2"]]);
|
|
76485
76540
|
var customTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -76668,7 +76723,7 @@ const _sfc_main$9 = {
|
|
|
76668
76723
|
}
|
|
76669
76724
|
}
|
|
76670
76725
|
};
|
|
76671
|
-
const _hoisted_1$
|
|
76726
|
+
const _hoisted_1$8 = {
|
|
76672
76727
|
key: 0,
|
|
76673
76728
|
class: "table-actions"
|
|
76674
76729
|
};
|
|
@@ -76688,7 +76743,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76688
76743
|
key: $props.widget.id,
|
|
76689
76744
|
class: normalizeClass(["custom-table-container", $options.customClass])
|
|
76690
76745
|
}, [
|
|
76691
|
-
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
76746
|
+
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
76692
76747
|
createVNode(_component_el_button, {
|
|
76693
76748
|
type: "primary",
|
|
76694
76749
|
size: "small",
|
|
@@ -76880,7 +76935,7 @@ const _sfc_main$8 = {
|
|
|
76880
76935
|
}
|
|
76881
76936
|
}
|
|
76882
76937
|
};
|
|
76883
|
-
const _hoisted_1$
|
|
76938
|
+
const _hoisted_1$7 = { class: "sub-table-header" };
|
|
76884
76939
|
const _hoisted_2$5 = { class: "sub-table-label" };
|
|
76885
76940
|
const _hoisted_3$4 = { class: "table-preview" };
|
|
76886
76941
|
const _hoisted_4$3 = { class: "preview-cell" };
|
|
@@ -76911,7 +76966,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
76911
76966
|
class: normalizeClass(["sub-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
76912
76967
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
76913
76968
|
}, [
|
|
76914
|
-
createElementVNode("div", _hoisted_1$
|
|
76969
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
76915
76970
|
createElementVNode("span", _hoisted_2$5, toDisplayString($props.widget.options.label || "\u5B50\u8868\u683C"), 1),
|
|
76916
76971
|
createVNode(_component_el_button, {
|
|
76917
76972
|
disabled: $data.actionDisabled,
|
|
@@ -77388,7 +77443,7 @@ const _sfc_main$7 = {
|
|
|
77388
77443
|
}
|
|
77389
77444
|
}
|
|
77390
77445
|
};
|
|
77391
|
-
const _hoisted_1$
|
|
77446
|
+
const _hoisted_1$6 = {
|
|
77392
77447
|
key: 0,
|
|
77393
77448
|
class: "sub-table-label"
|
|
77394
77449
|
};
|
|
@@ -77419,7 +77474,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
77419
77474
|
key: $props.widget.id,
|
|
77420
77475
|
class: normalizeClass(["sub-table-container", $options.customClass])
|
|
77421
77476
|
}, [
|
|
77422
|
-
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
77477
|
+
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
77423
77478
|
createElementVNode("span", {
|
|
77424
77479
|
class: normalizeClass($options.labelClass)
|
|
77425
77480
|
}, toDisplayString($props.widget.options.label), 3),
|
|
@@ -77834,7 +77889,7 @@ const _sfc_main$6 = {
|
|
|
77834
77889
|
}
|
|
77835
77890
|
}
|
|
77836
77891
|
};
|
|
77837
|
-
const _hoisted_1$
|
|
77892
|
+
const _hoisted_1$5 = { class: "column-header" };
|
|
77838
77893
|
const _hoisted_2$3 = { class: "column-title" };
|
|
77839
77894
|
const _hoisted_3$2 = { class: "column-form" };
|
|
77840
77895
|
const _hoisted_4$1 = { class: "dialog-footer" };
|
|
@@ -77870,7 +77925,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
77870
77925
|
key: colIdx,
|
|
77871
77926
|
class: "column-item"
|
|
77872
77927
|
}, [
|
|
77873
|
-
createElementVNode("div", _hoisted_1$
|
|
77928
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
77874
77929
|
createElementVNode("span", _hoisted_2$3, "\u5217 " + toDisplayString(colIdx + 1), 1),
|
|
77875
77930
|
createVNode(_component_el_button, {
|
|
77876
77931
|
circle: "",
|
|
@@ -78528,7 +78583,7 @@ const _sfc_main$4 = {
|
|
|
78528
78583
|
this.handleGetAssetTypeOptions();
|
|
78529
78584
|
}
|
|
78530
78585
|
};
|
|
78531
|
-
const _hoisted_1$
|
|
78586
|
+
const _hoisted_1$4 = { class: "asset-body-wrap" };
|
|
78532
78587
|
const _hoisted_2$2 = { class: "bottom-wrap" };
|
|
78533
78588
|
const _hoisted_3$1 = { class: "left-wrap" };
|
|
78534
78589
|
const _hoisted_4 = { class: "filter-wrap" };
|
|
@@ -78585,7 +78640,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78585
78640
|
])
|
|
78586
78641
|
]),
|
|
78587
78642
|
default: withCtx(() => [
|
|
78588
|
-
createElementVNode("div", _hoisted_1$
|
|
78643
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
78589
78644
|
createElementVNode("div", _hoisted_2$2, [
|
|
78590
78645
|
createElementVNode("div", _hoisted_3$1, [
|
|
78591
78646
|
createElementVNode("div", _hoisted_4, [
|
|
@@ -78860,7 +78915,6 @@ const _sfc_main$3 = {
|
|
|
78860
78915
|
methods: {
|
|
78861
78916
|
handleClick() {
|
|
78862
78917
|
this.dialogVisible = true;
|
|
78863
|
-
this.triggerEvent("onOpen");
|
|
78864
78918
|
},
|
|
78865
78919
|
handleConfirm(selectedRows) {
|
|
78866
78920
|
this.dialogVisible = false;
|
|
@@ -78919,7 +78973,7 @@ const _sfc_main$3 = {
|
|
|
78919
78973
|
}
|
|
78920
78974
|
}
|
|
78921
78975
|
};
|
|
78922
|
-
const _hoisted_1$
|
|
78976
|
+
const _hoisted_1$3 = { class: "person-tree-widget__trigger" };
|
|
78923
78977
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
78924
78978
|
const _component_el_button = resolveComponent("el-button");
|
|
78925
78979
|
const _component_asset_dialog = resolveComponent("asset-dialog");
|
|
@@ -78941,7 +78995,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78941
78995
|
class: "person-tree-widget",
|
|
78942
78996
|
style: normalizeStyle($options.widgetStyle)
|
|
78943
78997
|
}, [
|
|
78944
|
-
createElementVNode("div", _hoisted_1$
|
|
78998
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
78945
78999
|
createVNode(_component_el_button, {
|
|
78946
79000
|
type: "primary",
|
|
78947
79001
|
disabled: $props.field.options.disabled,
|
|
@@ -78968,7 +79022,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78968
79022
|
_: 1
|
|
78969
79023
|
}, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
78970
79024
|
}
|
|
78971
|
-
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
79025
|
+
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-1cb25748"]]);
|
|
78972
79026
|
var detailDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
78973
79027
|
const _sfc_main$2 = {
|
|
78974
79028
|
name: "detail-dialog",
|
|
@@ -79206,7 +79260,7 @@ const _sfc_main$2 = {
|
|
|
79206
79260
|
}
|
|
79207
79261
|
}
|
|
79208
79262
|
};
|
|
79209
|
-
const _hoisted_1$
|
|
79263
|
+
const _hoisted_1$2 = { class: "asset-body-wrap" };
|
|
79210
79264
|
const _hoisted_2$1 = { key: 0 };
|
|
79211
79265
|
const _hoisted_3 = { class: "dialog-footer" };
|
|
79212
79266
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -79243,7 +79297,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79243
79297
|
])
|
|
79244
79298
|
]),
|
|
79245
79299
|
default: withCtx(() => [
|
|
79246
|
-
createElementVNode("div", _hoisted_1$
|
|
79300
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
79247
79301
|
$data.showForm ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
79248
79302
|
createVNode(_component_v_form_render, {
|
|
79249
79303
|
ref: "detailFormRender",
|
|
@@ -79403,6 +79457,7 @@ const _sfc_main$1 = {
|
|
|
79403
79457
|
}
|
|
79404
79458
|
}
|
|
79405
79459
|
};
|
|
79460
|
+
const _hoisted_1$1 = { key: 1 };
|
|
79406
79461
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
79407
79462
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
79408
79463
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -79443,7 +79498,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79443
79498
|
label: "\u8D44\u4EA7\u540D\u79F0"
|
|
79444
79499
|
}, {
|
|
79445
79500
|
default: withCtx(({ row }) => [
|
|
79446
|
-
|
|
79501
|
+
$props.field.options.clickRow ? (openBlock(), createBlock(_component_el_button, {
|
|
79502
|
+
key: 0,
|
|
79447
79503
|
type: "text",
|
|
79448
79504
|
size: "small",
|
|
79449
79505
|
onClick: ($event) => $options.handleRow(row)
|
|
@@ -79452,7 +79508,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79452
79508
|
createTextVNode(toDisplayString(row.labelName), 1)
|
|
79453
79509
|
]),
|
|
79454
79510
|
_: 2
|
|
79455
|
-
}, 1032, ["onClick"])
|
|
79511
|
+
}, 1032, ["onClick"])) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(row.labelName), 1))
|
|
79456
79512
|
]),
|
|
79457
79513
|
_: 1
|
|
79458
79514
|
}),
|
|
@@ -79789,6 +79845,7 @@ const loadExtension = function(app) {
|
|
|
79789
79845
|
addCustomWidgetSchema(assetTableSchema);
|
|
79790
79846
|
app.component(AssetTableWidget.name, AssetTableWidget);
|
|
79791
79847
|
registerCPEditor(app, "asset-table-typeJson", "asset-table-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetTableTypeJson", { rows: 4 }));
|
|
79848
|
+
registerCPEditor(app, "asset-table-clickRow", "asset-table-clickRow-editor", createBooleanEditor("clickRow", "extension.setting.assetTableClickRow"));
|
|
79792
79849
|
registerEPEditor(app, "asset-table-onOpen", "asset-table-onOpen-editor", createEventHandlerEditor("onOpen", ["rowData"]));
|
|
79793
79850
|
addCustomWidgetSchema(assetTypeSchema);
|
|
79794
79851
|
app.component(AssetTypeWidget.name, AssetTypeWidget);
|