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/render.es.js
CHANGED
|
@@ -1970,6 +1970,7 @@ var enLocale_extension = {
|
|
|
1970
1970
|
assetSelectButtonText: "Button Text",
|
|
1971
1971
|
assetSelectTypeJson: "Asset Type Json",
|
|
1972
1972
|
assetTableTypeJson: "Asset Table Type Json",
|
|
1973
|
+
assetTableClickRow: "Click Row",
|
|
1973
1974
|
assetSelectAssetTypeValue: "Asset Type Value",
|
|
1974
1975
|
assetTypeAssetTypeValue: "Asset Type",
|
|
1975
1976
|
assetType: "Asset Typee"
|
|
@@ -2020,6 +2021,7 @@ var zhLocale_extension = {
|
|
|
2020
2021
|
assetSelectButtonText: "\u6309\u94AE\u6587\u5B57",
|
|
2021
2022
|
assetSelectTypeJson: "\u8D44\u4EA7\u7C7B\u578BJson",
|
|
2022
2023
|
assetTableTypeJson: "\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson",
|
|
2024
|
+
assetTableClickRow: "\u662F\u5426\u70B9\u51FB\u884C",
|
|
2023
2025
|
assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
2024
2026
|
assetTypeAssetTypeValue: "\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C"
|
|
2025
2027
|
}
|
|
@@ -2108,14 +2110,14 @@ const _sfc_main$1a = {
|
|
|
2108
2110
|
}
|
|
2109
2111
|
}
|
|
2110
2112
|
};
|
|
2111
|
-
const _hoisted_1$
|
|
2113
|
+
const _hoisted_1$K = ["xlink:href"];
|
|
2112
2114
|
const _hoisted_2$y = { key: 0 };
|
|
2113
2115
|
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2114
2116
|
return openBlock(), createElementBlock("svg", {
|
|
2115
2117
|
class: normalizeClass($options.svgClass),
|
|
2116
2118
|
"aria-hidden": "true"
|
|
2117
2119
|
}, [
|
|
2118
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
2120
|
+
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$K),
|
|
2119
2121
|
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$y, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
2120
2122
|
], 2);
|
|
2121
2123
|
}
|
|
@@ -2207,7 +2209,7 @@ const _sfc_main$19 = {
|
|
|
2207
2209
|
}
|
|
2208
2210
|
}
|
|
2209
2211
|
};
|
|
2210
|
-
const _hoisted_1$
|
|
2212
|
+
const _hoisted_1$J = {
|
|
2211
2213
|
key: 0,
|
|
2212
2214
|
class: "field-action"
|
|
2213
2215
|
};
|
|
@@ -2236,7 +2238,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2236
2238
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2237
2239
|
], 6)) : createCommentVNode("", true),
|
|
2238
2240
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2239
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2241
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
2240
2242
|
createElementVNode("i", {
|
|
2241
2243
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
2242
2244
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
@@ -9030,6 +9032,58 @@ var fieldMixin = {
|
|
|
9030
9032
|
setLabel(newLabel) {
|
|
9031
9033
|
this.field.options.label = newLabel;
|
|
9032
9034
|
},
|
|
9035
|
+
updateFieldLabel(fieldName, newLabel) {
|
|
9036
|
+
if (!fieldName)
|
|
9037
|
+
return false;
|
|
9038
|
+
const labelText = newLabel == null ? "" : String(newLabel);
|
|
9039
|
+
const widgetRef = this.getWidgetRef(fieldName, false);
|
|
9040
|
+
if (widgetRef && widgetRef.field && widgetRef.field.options) {
|
|
9041
|
+
widgetRef.field.options.label = labelText;
|
|
9042
|
+
const formRef2 = this.getFormRef();
|
|
9043
|
+
if (formRef2 && typeof formRef2.$forceUpdate === "function") {
|
|
9044
|
+
formRef2.$forceUpdate();
|
|
9045
|
+
}
|
|
9046
|
+
return true;
|
|
9047
|
+
}
|
|
9048
|
+
const formRef = this.getFormRef();
|
|
9049
|
+
if (!formRef || typeof formRef.getFormJson !== "function" || typeof formRef.setFormJson !== "function") {
|
|
9050
|
+
return false;
|
|
9051
|
+
}
|
|
9052
|
+
const formJson = formRef.getFormJson();
|
|
9053
|
+
let updated = false;
|
|
9054
|
+
const walk = (list) => {
|
|
9055
|
+
if (!Array.isArray(list) || updated)
|
|
9056
|
+
return;
|
|
9057
|
+
list.forEach((w) => {
|
|
9058
|
+
if (updated || !w)
|
|
9059
|
+
return;
|
|
9060
|
+
if (w.options && w.options.name === fieldName) {
|
|
9061
|
+
w.options.label = labelText;
|
|
9062
|
+
updated = true;
|
|
9063
|
+
return;
|
|
9064
|
+
}
|
|
9065
|
+
if (Array.isArray(w.widgetList))
|
|
9066
|
+
walk(w.widgetList);
|
|
9067
|
+
if (Array.isArray(w.cols)) {
|
|
9068
|
+
w.cols.forEach((c) => walk(c && c.widgetList));
|
|
9069
|
+
}
|
|
9070
|
+
if (Array.isArray(w.rows)) {
|
|
9071
|
+
w.rows.forEach((r) => Array.isArray(r && r.cols) && r.cols.forEach((c) => walk(c && c.widgetList)));
|
|
9072
|
+
}
|
|
9073
|
+
if (Array.isArray(w.tabs)) {
|
|
9074
|
+
w.tabs.forEach((t) => walk(t && t.widgetList));
|
|
9075
|
+
}
|
|
9076
|
+
});
|
|
9077
|
+
};
|
|
9078
|
+
walk(formJson && formJson.widgetList);
|
|
9079
|
+
if (!updated)
|
|
9080
|
+
return false;
|
|
9081
|
+
formRef.setFormJson(formJson);
|
|
9082
|
+
return true;
|
|
9083
|
+
},
|
|
9084
|
+
setFieldLabel(fieldName, newLabel) {
|
|
9085
|
+
return this.updateFieldLabel(fieldName, newLabel);
|
|
9086
|
+
},
|
|
9033
9087
|
focus() {
|
|
9034
9088
|
if (!!this.getFieldEditor() && !!this.getFieldEditor().focus) {
|
|
9035
9089
|
this.getFieldEditor().focus();
|
|
@@ -9337,7 +9391,7 @@ const _sfc_main$17 = {
|
|
|
9337
9391
|
}
|
|
9338
9392
|
}
|
|
9339
9393
|
};
|
|
9340
|
-
const _hoisted_1$
|
|
9394
|
+
const _hoisted_1$I = {
|
|
9341
9395
|
key: 0,
|
|
9342
9396
|
class: "custom-label"
|
|
9343
9397
|
};
|
|
@@ -9378,7 +9432,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9378
9432
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectField($props.field), ["stop"]))
|
|
9379
9433
|
}, {
|
|
9380
9434
|
label: withCtx(() => [
|
|
9381
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
9435
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$I, [
|
|
9382
9436
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9383
9437
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9384
9438
|
createVNode(_component_el_tooltip, {
|
|
@@ -9536,7 +9590,7 @@ const _sfc_main$16 = {
|
|
|
9536
9590
|
},
|
|
9537
9591
|
methods: {}
|
|
9538
9592
|
};
|
|
9539
|
-
const _hoisted_1$
|
|
9593
|
+
const _hoisted_1$H = { class: "full-width-input" };
|
|
9540
9594
|
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9541
9595
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
9542
9596
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -9553,7 +9607,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9553
9607
|
"sub-form-row-id": $props.subFormRowId
|
|
9554
9608
|
}, {
|
|
9555
9609
|
default: withCtx(() => [
|
|
9556
|
-
createElementVNode("div", _hoisted_1$
|
|
9610
|
+
createElementVNode("div", _hoisted_1$H, [
|
|
9557
9611
|
createVNode(_component_el_cascader, {
|
|
9558
9612
|
ref: "fieldEditor",
|
|
9559
9613
|
options: $props.field.options.optionItems,
|
|
@@ -10108,7 +10162,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
10108
10162
|
const _sfc_main$10 = defineComponent({
|
|
10109
10163
|
name: "ArrowDownBold"
|
|
10110
10164
|
});
|
|
10111
|
-
const _hoisted_1$
|
|
10165
|
+
const _hoisted_1$G = {
|
|
10112
10166
|
class: "icon",
|
|
10113
10167
|
width: "200",
|
|
10114
10168
|
height: "200",
|
|
@@ -10123,13 +10177,13 @@ const _hoisted_3$r = [
|
|
|
10123
10177
|
_hoisted_2$v
|
|
10124
10178
|
];
|
|
10125
10179
|
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10126
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10180
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$r);
|
|
10127
10181
|
}
|
|
10128
10182
|
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10]]);
|
|
10129
10183
|
const _sfc_main$$ = defineComponent({
|
|
10130
10184
|
name: "ArrowDown"
|
|
10131
10185
|
});
|
|
10132
|
-
const _hoisted_1$
|
|
10186
|
+
const _hoisted_1$F = {
|
|
10133
10187
|
class: "icon",
|
|
10134
10188
|
width: "200",
|
|
10135
10189
|
height: "200",
|
|
@@ -10144,13 +10198,13 @@ const _hoisted_3$q = [
|
|
|
10144
10198
|
_hoisted_2$u
|
|
10145
10199
|
];
|
|
10146
10200
|
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10147
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10201
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$q);
|
|
10148
10202
|
}
|
|
10149
10203
|
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$]]);
|
|
10150
10204
|
const _sfc_main$_ = defineComponent({
|
|
10151
10205
|
name: "ArrowUp"
|
|
10152
10206
|
});
|
|
10153
|
-
const _hoisted_1$
|
|
10207
|
+
const _hoisted_1$E = {
|
|
10154
10208
|
class: "icon",
|
|
10155
10209
|
width: "200",
|
|
10156
10210
|
height: "200",
|
|
@@ -10165,13 +10219,13 @@ const _hoisted_3$p = [
|
|
|
10165
10219
|
_hoisted_2$t
|
|
10166
10220
|
];
|
|
10167
10221
|
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10168
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10222
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$p);
|
|
10169
10223
|
}
|
|
10170
10224
|
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
|
|
10171
10225
|
const _sfc_main$Z = defineComponent({
|
|
10172
10226
|
name: "CirclePlus"
|
|
10173
10227
|
});
|
|
10174
|
-
const _hoisted_1$
|
|
10228
|
+
const _hoisted_1$D = {
|
|
10175
10229
|
class: "icon",
|
|
10176
10230
|
width: "200",
|
|
10177
10231
|
height: "200",
|
|
@@ -10196,13 +10250,13 @@ const _hoisted_5$c = [
|
|
|
10196
10250
|
_hoisted_4$f
|
|
10197
10251
|
];
|
|
10198
10252
|
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10199
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10253
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_5$c);
|
|
10200
10254
|
}
|
|
10201
10255
|
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
|
|
10202
10256
|
const _sfc_main$Y = defineComponent({
|
|
10203
10257
|
name: "Delete"
|
|
10204
10258
|
});
|
|
10205
|
-
const _hoisted_1$
|
|
10259
|
+
const _hoisted_1$C = {
|
|
10206
10260
|
class: "icon",
|
|
10207
10261
|
width: "200",
|
|
10208
10262
|
height: "200",
|
|
@@ -10217,13 +10271,13 @@ const _hoisted_3$n = [
|
|
|
10217
10271
|
_hoisted_2$r
|
|
10218
10272
|
];
|
|
10219
10273
|
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10220
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10274
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$n);
|
|
10221
10275
|
}
|
|
10222
10276
|
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y]]);
|
|
10223
10277
|
const _sfc_main$X = defineComponent({
|
|
10224
10278
|
name: "Edit"
|
|
10225
10279
|
});
|
|
10226
|
-
const _hoisted_1$
|
|
10280
|
+
const _hoisted_1$B = {
|
|
10227
10281
|
class: "icon",
|
|
10228
10282
|
width: "200",
|
|
10229
10283
|
height: "200",
|
|
@@ -10243,13 +10297,13 @@ const _hoisted_4$e = [
|
|
|
10243
10297
|
_hoisted_3$m
|
|
10244
10298
|
];
|
|
10245
10299
|
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10246
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10300
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_4$e);
|
|
10247
10301
|
}
|
|
10248
10302
|
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X]]);
|
|
10249
10303
|
const _sfc_main$W = defineComponent({
|
|
10250
10304
|
name: "InfoFilled"
|
|
10251
10305
|
});
|
|
10252
|
-
const _hoisted_1$
|
|
10306
|
+
const _hoisted_1$A = {
|
|
10253
10307
|
class: "icon",
|
|
10254
10308
|
width: "200",
|
|
10255
10309
|
height: "200",
|
|
@@ -10264,13 +10318,13 @@ const _hoisted_3$l = [
|
|
|
10264
10318
|
_hoisted_2$p
|
|
10265
10319
|
];
|
|
10266
10320
|
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10267
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10321
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$l);
|
|
10268
10322
|
}
|
|
10269
10323
|
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W]]);
|
|
10270
10324
|
const _sfc_main$V = defineComponent({
|
|
10271
10325
|
name: "Loading"
|
|
10272
10326
|
});
|
|
10273
|
-
const _hoisted_1$
|
|
10327
|
+
const _hoisted_1$z = {
|
|
10274
10328
|
class: "icon",
|
|
10275
10329
|
width: "200",
|
|
10276
10330
|
height: "200",
|
|
@@ -10285,13 +10339,13 @@ const _hoisted_3$k = [
|
|
|
10285
10339
|
_hoisted_2$o
|
|
10286
10340
|
];
|
|
10287
10341
|
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10288
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10342
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_3$k);
|
|
10289
10343
|
}
|
|
10290
10344
|
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V]]);
|
|
10291
10345
|
const _sfc_main$U = defineComponent({
|
|
10292
10346
|
name: "Minus"
|
|
10293
10347
|
});
|
|
10294
|
-
const _hoisted_1$
|
|
10348
|
+
const _hoisted_1$y = {
|
|
10295
10349
|
class: "icon",
|
|
10296
10350
|
width: "200",
|
|
10297
10351
|
height: "200",
|
|
@@ -10306,13 +10360,13 @@ const _hoisted_3$j = [
|
|
|
10306
10360
|
_hoisted_2$n
|
|
10307
10361
|
];
|
|
10308
10362
|
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10309
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10363
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$j);
|
|
10310
10364
|
}
|
|
10311
10365
|
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U]]);
|
|
10312
10366
|
const _sfc_main$T = defineComponent({
|
|
10313
10367
|
name: "Plus"
|
|
10314
10368
|
});
|
|
10315
|
-
const _hoisted_1$
|
|
10369
|
+
const _hoisted_1$x = {
|
|
10316
10370
|
class: "icon",
|
|
10317
10371
|
width: "200",
|
|
10318
10372
|
height: "200",
|
|
@@ -10327,13 +10381,13 @@ const _hoisted_3$i = [
|
|
|
10327
10381
|
_hoisted_2$m
|
|
10328
10382
|
];
|
|
10329
10383
|
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10330
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10384
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$i);
|
|
10331
10385
|
}
|
|
10332
10386
|
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T]]);
|
|
10333
10387
|
const _sfc_main$S = defineComponent({
|
|
10334
10388
|
name: "Search"
|
|
10335
10389
|
});
|
|
10336
|
-
const _hoisted_1$
|
|
10390
|
+
const _hoisted_1$w = {
|
|
10337
10391
|
class: "icon",
|
|
10338
10392
|
width: "200",
|
|
10339
10393
|
height: "200",
|
|
@@ -10348,7 +10402,7 @@ const _hoisted_3$h = [
|
|
|
10348
10402
|
_hoisted_2$l
|
|
10349
10403
|
];
|
|
10350
10404
|
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10351
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10405
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$h);
|
|
10352
10406
|
}
|
|
10353
10407
|
var search = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S]]);
|
|
10354
10408
|
var defaultConfig = {
|
|
@@ -10795,7 +10849,7 @@ const _sfc_main$R = {
|
|
|
10795
10849
|
}
|
|
10796
10850
|
}
|
|
10797
10851
|
};
|
|
10798
|
-
const _hoisted_1$
|
|
10852
|
+
const _hoisted_1$v = { class: "file-upload-widget-container" };
|
|
10799
10853
|
const _hoisted_2$k = {
|
|
10800
10854
|
key: 0,
|
|
10801
10855
|
class: "el-upload__tip"
|
|
@@ -10827,7 +10881,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10827
10881
|
"sub-form-row-id": $props.subFormRowId
|
|
10828
10882
|
}, {
|
|
10829
10883
|
default: withCtx(() => [
|
|
10830
|
-
createElementVNode("div", _hoisted_1$
|
|
10884
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
10831
10885
|
createVNode(_component_el_upload, {
|
|
10832
10886
|
ref: "fieldEditor",
|
|
10833
10887
|
disabled: _ctx.getDisabled(),
|
|
@@ -10978,7 +11032,7 @@ const _sfc_main$Q = {
|
|
|
10978
11032
|
},
|
|
10979
11033
|
methods: {}
|
|
10980
11034
|
};
|
|
10981
|
-
const _hoisted_1$
|
|
11035
|
+
const _hoisted_1$u = ["innerHTML"];
|
|
10982
11036
|
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10983
11037
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
10984
11038
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -10996,7 +11050,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10996
11050
|
createElementVNode("div", {
|
|
10997
11051
|
ref: "fieldEditor",
|
|
10998
11052
|
innerHTML: $props.field.options.htmlContent
|
|
10999
|
-
}, null, 8, _hoisted_1$
|
|
11053
|
+
}, null, 8, _hoisted_1$u)
|
|
11000
11054
|
]),
|
|
11001
11055
|
_: 1
|
|
11002
11056
|
}, 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"]);
|
|
@@ -11433,7 +11487,7 @@ const _sfc_main$N = {
|
|
|
11433
11487
|
}
|
|
11434
11488
|
}
|
|
11435
11489
|
};
|
|
11436
|
-
const _hoisted_1$
|
|
11490
|
+
const _hoisted_1$t = { class: "el-upload-list__item-status-label" };
|
|
11437
11491
|
const _hoisted_2$j = {
|
|
11438
11492
|
class: "el-icon--upload-success",
|
|
11439
11493
|
style: { "color": "#FFF" }
|
|
@@ -11494,7 +11548,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11494
11548
|
fit: "cover",
|
|
11495
11549
|
"preview-teleported": ""
|
|
11496
11550
|
}, null, 8, ["src", "preview-src-list", "initial-index"]),
|
|
11497
|
-
createElementVNode("label", _hoisted_1$
|
|
11551
|
+
createElementVNode("label", _hoisted_1$t, [
|
|
11498
11552
|
createElementVNode("i", _hoisted_2$j, [
|
|
11499
11553
|
createVNode(_component_svg_icon, {
|
|
11500
11554
|
class: "",
|
|
@@ -23189,9 +23243,9 @@ const _sfc_main$K = {
|
|
|
23189
23243
|
return { editor };
|
|
23190
23244
|
}
|
|
23191
23245
|
};
|
|
23192
|
-
const _hoisted_1$
|
|
23246
|
+
const _hoisted_1$s = { ref: "editor" };
|
|
23193
23247
|
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23194
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
23248
|
+
return openBlock(), createElementBlock("section", _hoisted_1$s, null, 512);
|
|
23195
23249
|
}
|
|
23196
23250
|
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$K]]);
|
|
23197
23251
|
quillEditor.install = function(app) {
|
|
@@ -23705,7 +23759,7 @@ const _sfc_main$F = {
|
|
|
23705
23759
|
},
|
|
23706
23760
|
methods: {}
|
|
23707
23761
|
};
|
|
23708
|
-
const _hoisted_1$
|
|
23762
|
+
const _hoisted_1$r = {
|
|
23709
23763
|
key: 0,
|
|
23710
23764
|
class: "slot-title"
|
|
23711
23765
|
};
|
|
@@ -23727,7 +23781,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23727
23781
|
class: normalizeClass([!!$props.designState ? "slot-wrapper-design" : "slot-wrapper-render"])
|
|
23728
23782
|
}, [
|
|
23729
23783
|
renderSlot(_ctx.$slots, $props.field.options.name, { formModel: _ctx.formModel }, void 0, true),
|
|
23730
|
-
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23784
|
+
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$r, toDisplayString($props.field.options.label), 1)) : createCommentVNode("", true)
|
|
23731
23785
|
], 2)
|
|
23732
23786
|
]),
|
|
23733
23787
|
_: 3
|
|
@@ -24377,7 +24431,7 @@ const _sfc_main$z = {
|
|
|
24377
24431
|
}
|
|
24378
24432
|
}
|
|
24379
24433
|
};
|
|
24380
|
-
const _hoisted_1$
|
|
24434
|
+
const _hoisted_1$q = { class: "blank-cell" };
|
|
24381
24435
|
const _hoisted_2$i = { class: "invisible-content" };
|
|
24382
24436
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24383
24437
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -24435,7 +24489,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24435
24489
|
], 64);
|
|
24436
24490
|
}), 256)) : (openBlock(), createBlock(_component_el_col, { key: 1 }, {
|
|
24437
24491
|
default: withCtx(() => [
|
|
24438
|
-
createElementVNode("div", _hoisted_1$
|
|
24492
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
24439
24493
|
createElementVNode("span", _hoisted_2$i, toDisplayString(_ctx.i18nt("render.hint.blankCellContent")), 1)
|
|
24440
24494
|
])
|
|
24441
24495
|
]),
|
|
@@ -24937,7 +24991,7 @@ const _sfc_main$x = {
|
|
|
24937
24991
|
}
|
|
24938
24992
|
}
|
|
24939
24993
|
};
|
|
24940
|
-
const _hoisted_1$
|
|
24994
|
+
const _hoisted_1$p = { class: "action-header-column" };
|
|
24941
24995
|
const _hoisted_2$h = { class: "action-label" };
|
|
24942
24996
|
const _hoisted_3$e = {
|
|
24943
24997
|
key: 0,
|
|
@@ -24964,7 +25018,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24964
25018
|
}, [
|
|
24965
25019
|
createVNode(_component_el_row, { class: "header-row" }, {
|
|
24966
25020
|
default: withCtx(() => [
|
|
24967
|
-
createElementVNode("div", _hoisted_1$
|
|
25021
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
24968
25022
|
createElementVNode("span", _hoisted_2$h, toDisplayString(_ctx.i18nt("render.hint.subFormAction")), 1),
|
|
24969
25023
|
createVNode(_component_el_button, {
|
|
24970
25024
|
disabled: $data.actionDisabled,
|
|
@@ -25272,7 +25326,7 @@ const _sfc_main$v = {
|
|
|
25272
25326
|
},
|
|
25273
25327
|
methods: {}
|
|
25274
25328
|
};
|
|
25275
|
-
const _hoisted_1$
|
|
25329
|
+
const _hoisted_1$o = ["colspan", "rowspan"];
|
|
25276
25330
|
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25277
25331
|
return openBlock(), createElementBlock("td", {
|
|
25278
25332
|
class: normalizeClass(["table-cell", [$options.customClass]]),
|
|
@@ -25315,7 +25369,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25315
25369
|
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
25316
25370
|
], 64);
|
|
25317
25371
|
}), 256))
|
|
25318
|
-
], 14, _hoisted_1$
|
|
25372
|
+
], 14, _hoisted_1$o);
|
|
25319
25373
|
}
|
|
25320
25374
|
var TableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-7d6166fa"]]);
|
|
25321
25375
|
var __glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -26107,13 +26161,13 @@ function registerIcon(app) {
|
|
|
26107
26161
|
if (typeof window !== "undefined") {
|
|
26108
26162
|
let loadSvg = function() {
|
|
26109
26163
|
var body = document.body;
|
|
26110
|
-
var svgDom = document.getElementById("
|
|
26164
|
+
var svgDom = document.getElementById("__svg__icons__dom__1777281642687__");
|
|
26111
26165
|
if (!svgDom) {
|
|
26112
26166
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26113
26167
|
svgDom.style.position = "absolute";
|
|
26114
26168
|
svgDom.style.width = "0";
|
|
26115
26169
|
svgDom.style.height = "0";
|
|
26116
|
-
svgDom.id = "
|
|
26170
|
+
svgDom.id = "__svg__icons__dom__1777281642687__";
|
|
26117
26171
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26118
26172
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26119
26173
|
}
|
|
@@ -26377,7 +26431,7 @@ const _sfc_main$s = {
|
|
|
26377
26431
|
}
|
|
26378
26432
|
}
|
|
26379
26433
|
};
|
|
26380
|
-
const _hoisted_1$
|
|
26434
|
+
const _hoisted_1$n = {
|
|
26381
26435
|
key: 0,
|
|
26382
26436
|
class: "container-action"
|
|
26383
26437
|
};
|
|
@@ -26400,7 +26454,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26400
26454
|
class: normalizeClass(["container-wrapper", [$options.customClass]])
|
|
26401
26455
|
}, [
|
|
26402
26456
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
26403
|
-
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26457
|
+
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
26404
26458
|
createElementVNode("i", {
|
|
26405
26459
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
26406
26460
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectParentWidget($props.widget), ["stop"]))
|
|
@@ -26532,7 +26586,7 @@ const _sfc_main$r = {
|
|
|
26532
26586
|
}
|
|
26533
26587
|
}
|
|
26534
26588
|
};
|
|
26535
|
-
const _hoisted_1$
|
|
26589
|
+
const _hoisted_1$m = { class: "label" };
|
|
26536
26590
|
const _hoisted_2$f = { class: "form-widget-list" };
|
|
26537
26591
|
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26538
26592
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
@@ -26568,7 +26622,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26568
26622
|
]),
|
|
26569
26623
|
_: 1
|
|
26570
26624
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
26571
|
-
createElementVNode("div", _hoisted_1$
|
|
26625
|
+
createElementVNode("div", _hoisted_1$m, toDisplayString($props.widget.options.label), 1)
|
|
26572
26626
|
])
|
|
26573
26627
|
]),
|
|
26574
26628
|
default: withCtx(() => [
|
|
@@ -26644,7 +26698,7 @@ const _sfc_main$q = {
|
|
|
26644
26698
|
}
|
|
26645
26699
|
}
|
|
26646
26700
|
};
|
|
26647
|
-
const _hoisted_1$
|
|
26701
|
+
const _hoisted_1$l = { class: "label" };
|
|
26648
26702
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26649
26703
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
26650
26704
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -26672,7 +26726,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26672
26726
|
]),
|
|
26673
26727
|
_: 1
|
|
26674
26728
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
26675
|
-
createElementVNode("div", _hoisted_1$
|
|
26729
|
+
createElementVNode("div", _hoisted_1$l, toDisplayString($props.widget.options.label), 1)
|
|
26676
26730
|
])
|
|
26677
26731
|
]),
|
|
26678
26732
|
default: withCtx(() => [
|
|
@@ -32395,7 +32449,7 @@ const _sfc_main$o = {
|
|
|
32395
32449
|
}
|
|
32396
32450
|
}
|
|
32397
32451
|
};
|
|
32398
|
-
const _hoisted_1$
|
|
32452
|
+
const _hoisted_1$k = { class: "person-tree-widget__trigger" };
|
|
32399
32453
|
const _hoisted_2$e = { class: "flex items-center" };
|
|
32400
32454
|
const _hoisted_3$c = { class: "dialog-footer" };
|
|
32401
32455
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -32423,7 +32477,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32423
32477
|
class: "person-tree-widget",
|
|
32424
32478
|
style: normalizeStyle($options.widgetStyle)
|
|
32425
32479
|
}, [
|
|
32426
|
-
createElementVNode("div", _hoisted_1$
|
|
32480
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
32427
32481
|
createVNode(_component_el_input_tag, {
|
|
32428
32482
|
modelValue: $options.displayModel,
|
|
32429
32483
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.displayModel = $event),
|
|
@@ -33024,7 +33078,7 @@ const _sfc_main$l = {
|
|
|
33024
33078
|
}
|
|
33025
33079
|
}
|
|
33026
33080
|
};
|
|
33027
|
-
const _hoisted_1$
|
|
33081
|
+
const _hoisted_1$j = {
|
|
33028
33082
|
key: 0,
|
|
33029
33083
|
class: "empty-wrap"
|
|
33030
33084
|
};
|
|
@@ -33085,7 +33139,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33085
33139
|
]),
|
|
33086
33140
|
default: withCtx(() => [
|
|
33087
33141
|
createElementVNode("div", null, [
|
|
33088
|
-
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
33142
|
+
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
33089
33143
|
createVNode(_component_el_empty, { description: "\u6682\u65E0\u6570\u636E" })
|
|
33090
33144
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$d, [
|
|
33091
33145
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.roomList, (item) => {
|
|
@@ -33334,7 +33388,7 @@ const _sfc_main$k = {
|
|
|
33334
33388
|
}
|
|
33335
33389
|
}
|
|
33336
33390
|
};
|
|
33337
|
-
const _hoisted_1$
|
|
33391
|
+
const _hoisted_1$i = { class: "form-widget-list" };
|
|
33338
33392
|
const _hoisted_2$c = {
|
|
33339
33393
|
key: 0,
|
|
33340
33394
|
class: "grid-col-action"
|
|
@@ -33379,7 +33433,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33379
33433
|
move: $options.checkContainerMove
|
|
33380
33434
|
}), {
|
|
33381
33435
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
33382
|
-
createElementVNode("div", _hoisted_1$
|
|
33436
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
33383
33437
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
33384
33438
|
widget: subWidget,
|
|
33385
33439
|
designer: $props.designer,
|
|
@@ -33572,7 +33626,7 @@ const _sfc_main$i = {
|
|
|
33572
33626
|
}
|
|
33573
33627
|
}
|
|
33574
33628
|
};
|
|
33575
|
-
const _hoisted_1$
|
|
33629
|
+
const _hoisted_1$h = { class: "form-widget-list" };
|
|
33576
33630
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33577
33631
|
const _component_draggable = resolveComponent("draggable");
|
|
33578
33632
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
@@ -33618,7 +33672,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33618
33672
|
move: _ctx.checkContainerMove
|
|
33619
33673
|
}), {
|
|
33620
33674
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
33621
|
-
createElementVNode("div", _hoisted_1$
|
|
33675
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
33622
33676
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
33623
33677
|
widget: subWidget,
|
|
33624
33678
|
designer: $props.designer,
|
|
@@ -33822,7 +33876,7 @@ const _sfc_main$h = {
|
|
|
33822
33876
|
}
|
|
33823
33877
|
}
|
|
33824
33878
|
};
|
|
33825
|
-
const _hoisted_1$
|
|
33879
|
+
const _hoisted_1$g = ["colspan", "rowspan"];
|
|
33826
33880
|
const _hoisted_2$b = { class: "form-widget-list" };
|
|
33827
33881
|
const _hoisted_3$9 = {
|
|
33828
33882
|
key: 0,
|
|
@@ -34031,7 +34085,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34031
34085
|
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
34032
34086
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1)
|
|
34033
34087
|
])) : createCommentVNode("", true)
|
|
34034
|
-
], 14, _hoisted_1$
|
|
34088
|
+
], 14, _hoisted_1$g);
|
|
34035
34089
|
}
|
|
34036
34090
|
var TableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-2dc3e6c7"]]);
|
|
34037
34091
|
var __glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -34071,7 +34125,7 @@ const _sfc_main$g = {
|
|
|
34071
34125
|
},
|
|
34072
34126
|
methods: {}
|
|
34073
34127
|
};
|
|
34074
|
-
const _hoisted_1$
|
|
34128
|
+
const _hoisted_1$f = { class: "table-layout" };
|
|
34075
34129
|
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34076
34130
|
const _component_table_cell_widget = resolveComponent("table-cell-widget");
|
|
34077
34131
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
@@ -34088,7 +34142,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34088
34142
|
class: normalizeClass(["table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34089
34143
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34090
34144
|
}, [
|
|
34091
|
-
createElementVNode("table", _hoisted_1$
|
|
34145
|
+
createElementVNode("table", _hoisted_1$f, [
|
|
34092
34146
|
createElementVNode("tbody", null, [
|
|
34093
34147
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
34094
34148
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -34185,7 +34239,7 @@ const _sfc_main$f = {
|
|
|
34185
34239
|
}
|
|
34186
34240
|
}
|
|
34187
34241
|
};
|
|
34188
|
-
const _hoisted_1$
|
|
34242
|
+
const _hoisted_1$e = { class: "sub-form-header" };
|
|
34189
34243
|
const _hoisted_2$a = { class: "sub-form-label" };
|
|
34190
34244
|
const _hoisted_3$8 = { class: "group-header" };
|
|
34191
34245
|
const _hoisted_4$6 = { class: "group-title" };
|
|
@@ -34222,7 +34276,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34222
34276
|
class: normalizeClass(["custom-sub-form-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34223
34277
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34224
34278
|
}, [
|
|
34225
|
-
createElementVNode("div", _hoisted_1$
|
|
34279
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
34226
34280
|
createElementVNode("span", _hoisted_2$a, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
34227
34281
|
]),
|
|
34228
34282
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.previewRows, (row, rowIdx) => {
|
|
@@ -34677,7 +34731,7 @@ const _sfc_main$e = {
|
|
|
34677
34731
|
}
|
|
34678
34732
|
}
|
|
34679
34733
|
};
|
|
34680
|
-
const _hoisted_1$
|
|
34734
|
+
const _hoisted_1$d = { class: "sub-form-header" };
|
|
34681
34735
|
const _hoisted_2$9 = { class: "sub-form-label" };
|
|
34682
34736
|
const _hoisted_3$7 = { class: "group-header" };
|
|
34683
34737
|
const _hoisted_4$5 = { class: "group-title" };
|
|
@@ -34720,7 +34774,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34720
34774
|
key: $props.widget.id,
|
|
34721
34775
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
34722
34776
|
}, [
|
|
34723
|
-
createElementVNode("div", _hoisted_1$
|
|
34777
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
34724
34778
|
createElementVNode("span", _hoisted_2$9, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
34725
34779
|
]),
|
|
34726
34780
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
@@ -34964,7 +35018,7 @@ const _sfc_main$d = {
|
|
|
34964
35018
|
}
|
|
34965
35019
|
}
|
|
34966
35020
|
};
|
|
34967
|
-
const _hoisted_1$
|
|
35021
|
+
const _hoisted_1$c = ["colspan", "rowspan"];
|
|
34968
35022
|
const _hoisted_2$8 = { class: "form-widget-list" };
|
|
34969
35023
|
const _hoisted_3$6 = {
|
|
34970
35024
|
key: 0,
|
|
@@ -35103,7 +35157,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35103
35157
|
createElementVNode("i", null, "\u5355\u5143\u683C", -1)
|
|
35104
35158
|
])])) : createCommentVNode("", true),
|
|
35105
35159
|
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$2, " \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")) : createCommentVNode("", true)
|
|
35106
|
-
], 14, _hoisted_1$
|
|
35160
|
+
], 14, _hoisted_1$c);
|
|
35107
35161
|
}
|
|
35108
35162
|
var CustomTableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-6e28297c"]]);
|
|
35109
35163
|
var customTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -35158,7 +35212,7 @@ const _sfc_main$c = {
|
|
|
35158
35212
|
}
|
|
35159
35213
|
}
|
|
35160
35214
|
};
|
|
35161
|
-
const _hoisted_1$
|
|
35215
|
+
const _hoisted_1$b = { class: "custom-table-layout" };
|
|
35162
35216
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35163
35217
|
const _component_custom_table_cell_widget = resolveComponent("custom-table-cell-widget");
|
|
35164
35218
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
@@ -35175,7 +35229,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35175
35229
|
class: normalizeClass(["custom-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
35176
35230
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
35177
35231
|
}, [
|
|
35178
|
-
createElementVNode("table", _hoisted_1$
|
|
35232
|
+
createElementVNode("table", _hoisted_1$b, [
|
|
35179
35233
|
createElementVNode("tbody", null, [
|
|
35180
35234
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
35181
35235
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -35224,7 +35278,7 @@ const _sfc_main$b = {
|
|
|
35224
35278
|
}
|
|
35225
35279
|
}
|
|
35226
35280
|
};
|
|
35227
|
-
const _hoisted_1$
|
|
35281
|
+
const _hoisted_1$a = ["colspan", "rowspan"];
|
|
35228
35282
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35229
35283
|
return openBlock(), createElementBlock("td", {
|
|
35230
35284
|
class: normalizeClass(["custom-table-cell", $options.customClass]),
|
|
@@ -35256,7 +35310,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35256
35310
|
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
35257
35311
|
], 64);
|
|
35258
35312
|
}), 128))
|
|
35259
|
-
], 14, _hoisted_1$
|
|
35313
|
+
], 14, _hoisted_1$a);
|
|
35260
35314
|
}
|
|
35261
35315
|
var CustomTableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-188e7bf2"]]);
|
|
35262
35316
|
var customTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -35445,7 +35499,7 @@ const _sfc_main$a = {
|
|
|
35445
35499
|
}
|
|
35446
35500
|
}
|
|
35447
35501
|
};
|
|
35448
|
-
const _hoisted_1$
|
|
35502
|
+
const _hoisted_1$9 = {
|
|
35449
35503
|
key: 0,
|
|
35450
35504
|
class: "table-actions"
|
|
35451
35505
|
};
|
|
@@ -35465,7 +35519,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35465
35519
|
key: $props.widget.id,
|
|
35466
35520
|
class: normalizeClass(["custom-table-container", $options.customClass])
|
|
35467
35521
|
}, [
|
|
35468
|
-
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35522
|
+
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
35469
35523
|
createVNode(_component_el_button, {
|
|
35470
35524
|
type: "primary",
|
|
35471
35525
|
size: "small",
|
|
@@ -35622,7 +35676,7 @@ const _sfc_main$9 = {
|
|
|
35622
35676
|
}
|
|
35623
35677
|
}
|
|
35624
35678
|
};
|
|
35625
|
-
const _hoisted_1$
|
|
35679
|
+
const _hoisted_1$8 = { class: "sub-table-header" };
|
|
35626
35680
|
const _hoisted_2$6 = { class: "sub-table-label" };
|
|
35627
35681
|
const _hoisted_3$4 = { class: "table-preview" };
|
|
35628
35682
|
const _hoisted_4$3 = { class: "preview-cell" };
|
|
@@ -35653,7 +35707,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35653
35707
|
class: normalizeClass(["sub-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
35654
35708
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
35655
35709
|
}, [
|
|
35656
|
-
createElementVNode("div", _hoisted_1$
|
|
35710
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
35657
35711
|
createElementVNode("span", _hoisted_2$6, toDisplayString($props.widget.options.label || "\u5B50\u8868\u683C"), 1),
|
|
35658
35712
|
createVNode(_component_el_button, {
|
|
35659
35713
|
disabled: $data.actionDisabled,
|
|
@@ -36130,7 +36184,7 @@ const _sfc_main$8 = {
|
|
|
36130
36184
|
}
|
|
36131
36185
|
}
|
|
36132
36186
|
};
|
|
36133
|
-
const _hoisted_1$
|
|
36187
|
+
const _hoisted_1$7 = {
|
|
36134
36188
|
key: 0,
|
|
36135
36189
|
class: "sub-table-label"
|
|
36136
36190
|
};
|
|
@@ -36161,7 +36215,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36161
36215
|
key: $props.widget.id,
|
|
36162
36216
|
class: normalizeClass(["sub-table-container", $options.customClass])
|
|
36163
36217
|
}, [
|
|
36164
|
-
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36218
|
+
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
36165
36219
|
createElementVNode("span", {
|
|
36166
36220
|
class: normalizeClass($options.labelClass)
|
|
36167
36221
|
}, toDisplayString($props.widget.options.label), 3),
|
|
@@ -60933,13 +60987,13 @@ const _sfc_main$7 = {
|
|
|
60933
60987
|
}
|
|
60934
60988
|
}
|
|
60935
60989
|
};
|
|
60936
|
-
const _hoisted_1$
|
|
60990
|
+
const _hoisted_1$6 = { class: "ace-container" };
|
|
60937
60991
|
const _hoisted_2$4 = {
|
|
60938
60992
|
class: "ace-editor",
|
|
60939
60993
|
ref: "ace"
|
|
60940
60994
|
};
|
|
60941
60995
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60942
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
60996
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
60943
60997
|
createElementVNode("div", _hoisted_2$4, null, 512)
|
|
60944
60998
|
]);
|
|
60945
60999
|
}
|
|
@@ -61123,7 +61177,7 @@ const _sfc_main$6 = {
|
|
|
61123
61177
|
}
|
|
61124
61178
|
}
|
|
61125
61179
|
};
|
|
61126
|
-
const _hoisted_1$
|
|
61180
|
+
const _hoisted_1$5 = { class: "column-header" };
|
|
61127
61181
|
const _hoisted_2$3 = { class: "column-title" };
|
|
61128
61182
|
const _hoisted_3$2 = { class: "column-form" };
|
|
61129
61183
|
const _hoisted_4$1 = { class: "dialog-footer" };
|
|
@@ -61159,7 +61213,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61159
61213
|
key: colIdx,
|
|
61160
61214
|
class: "column-item"
|
|
61161
61215
|
}, [
|
|
61162
|
-
createElementVNode("div", _hoisted_1$
|
|
61216
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
61163
61217
|
createElementVNode("span", _hoisted_2$3, "\u5217 " + toDisplayString(colIdx + 1), 1),
|
|
61164
61218
|
createVNode(_component_el_button, {
|
|
61165
61219
|
circle: "",
|
|
@@ -61817,7 +61871,7 @@ const _sfc_main$4 = {
|
|
|
61817
61871
|
this.handleGetAssetTypeOptions();
|
|
61818
61872
|
}
|
|
61819
61873
|
};
|
|
61820
|
-
const _hoisted_1$
|
|
61874
|
+
const _hoisted_1$4 = { class: "asset-body-wrap" };
|
|
61821
61875
|
const _hoisted_2$2 = { class: "bottom-wrap" };
|
|
61822
61876
|
const _hoisted_3$1 = { class: "left-wrap" };
|
|
61823
61877
|
const _hoisted_4 = { class: "filter-wrap" };
|
|
@@ -61874,7 +61928,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61874
61928
|
])
|
|
61875
61929
|
]),
|
|
61876
61930
|
default: withCtx(() => [
|
|
61877
|
-
createElementVNode("div", _hoisted_1$
|
|
61931
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
61878
61932
|
createElementVNode("div", _hoisted_2$2, [
|
|
61879
61933
|
createElementVNode("div", _hoisted_3$1, [
|
|
61880
61934
|
createElementVNode("div", _hoisted_4, [
|
|
@@ -62149,7 +62203,6 @@ const _sfc_main$3 = {
|
|
|
62149
62203
|
methods: {
|
|
62150
62204
|
handleClick() {
|
|
62151
62205
|
this.dialogVisible = true;
|
|
62152
|
-
this.triggerEvent("onOpen");
|
|
62153
62206
|
},
|
|
62154
62207
|
handleConfirm(selectedRows) {
|
|
62155
62208
|
this.dialogVisible = false;
|
|
@@ -62208,7 +62261,7 @@ const _sfc_main$3 = {
|
|
|
62208
62261
|
}
|
|
62209
62262
|
}
|
|
62210
62263
|
};
|
|
62211
|
-
const _hoisted_1$
|
|
62264
|
+
const _hoisted_1$3 = { class: "person-tree-widget__trigger" };
|
|
62212
62265
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62213
62266
|
const _component_el_button = resolveComponent("el-button");
|
|
62214
62267
|
const _component_asset_dialog = resolveComponent("asset-dialog");
|
|
@@ -62230,7 +62283,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62230
62283
|
class: "person-tree-widget",
|
|
62231
62284
|
style: normalizeStyle($options.widgetStyle)
|
|
62232
62285
|
}, [
|
|
62233
|
-
createElementVNode("div", _hoisted_1$
|
|
62286
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
62234
62287
|
createVNode(_component_el_button, {
|
|
62235
62288
|
type: "primary",
|
|
62236
62289
|
disabled: $props.field.options.disabled,
|
|
@@ -62257,7 +62310,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62257
62310
|
_: 1
|
|
62258
62311
|
}, 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"]);
|
|
62259
62312
|
}
|
|
62260
|
-
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
62313
|
+
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-1cb25748"]]);
|
|
62261
62314
|
var detailDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62262
62315
|
const _sfc_main$2 = {
|
|
62263
62316
|
name: "detail-dialog",
|
|
@@ -62495,7 +62548,7 @@ const _sfc_main$2 = {
|
|
|
62495
62548
|
}
|
|
62496
62549
|
}
|
|
62497
62550
|
};
|
|
62498
|
-
const _hoisted_1$
|
|
62551
|
+
const _hoisted_1$2 = { class: "asset-body-wrap" };
|
|
62499
62552
|
const _hoisted_2$1 = { key: 0 };
|
|
62500
62553
|
const _hoisted_3 = { class: "dialog-footer" };
|
|
62501
62554
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -62532,7 +62585,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62532
62585
|
])
|
|
62533
62586
|
]),
|
|
62534
62587
|
default: withCtx(() => [
|
|
62535
|
-
createElementVNode("div", _hoisted_1$
|
|
62588
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
62536
62589
|
$data.showForm ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
62537
62590
|
createVNode(_component_v_form_render, {
|
|
62538
62591
|
ref: "detailFormRender",
|
|
@@ -62692,6 +62745,7 @@ const _sfc_main$1 = {
|
|
|
62692
62745
|
}
|
|
62693
62746
|
}
|
|
62694
62747
|
};
|
|
62748
|
+
const _hoisted_1$1 = { key: 1 };
|
|
62695
62749
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62696
62750
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
62697
62751
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -62732,7 +62786,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62732
62786
|
label: "\u8D44\u4EA7\u540D\u79F0"
|
|
62733
62787
|
}, {
|
|
62734
62788
|
default: withCtx(({ row }) => [
|
|
62735
|
-
|
|
62789
|
+
$props.field.options.clickRow ? (openBlock(), createBlock(_component_el_button, {
|
|
62790
|
+
key: 0,
|
|
62736
62791
|
type: "text",
|
|
62737
62792
|
size: "small",
|
|
62738
62793
|
onClick: ($event) => $options.handleRow(row)
|
|
@@ -62741,7 +62796,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62741
62796
|
createTextVNode(toDisplayString(row.labelName), 1)
|
|
62742
62797
|
]),
|
|
62743
62798
|
_: 2
|
|
62744
|
-
}, 1032, ["onClick"])
|
|
62799
|
+
}, 1032, ["onClick"])) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(row.labelName), 1))
|
|
62745
62800
|
]),
|
|
62746
62801
|
_: 1
|
|
62747
62802
|
}),
|
|
@@ -63063,6 +63118,7 @@ const loadExtension = function(app) {
|
|
|
63063
63118
|
registerCPEditor(app, "asset-select-assetTypeValue", "asset-select-assetTypeValue-editor", createInputTextEditor("assetTypeValue", "extension.setting.assetSelectAssetTypeValue"));
|
|
63064
63119
|
app.component(AssetTableWidget.name, AssetTableWidget);
|
|
63065
63120
|
registerCPEditor(app, "asset-table-typeJson", "asset-table-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetTableTypeJson", { rows: 4 }));
|
|
63121
|
+
registerCPEditor(app, "asset-table-clickRow", "asset-table-clickRow-editor", createBooleanEditor("clickRow", "extension.setting.assetTableClickRow"));
|
|
63066
63122
|
registerEPEditor(app, "asset-table-onOpen", "asset-table-onOpen-editor", createEventHandlerEditor("onOpen", ["rowData"]));
|
|
63067
63123
|
app.component(AssetTypeWidget.name, AssetTypeWidget);
|
|
63068
63124
|
registerCPEditor(app, "asset-type-assetTypeValue", "asset-type-assetTypeValue-editor", createInputTextEditor("assetTypeValue", "extension.setting.assetTypeAssetTypeValue"));
|