form-custom-test 3.0.98 → 3.0.99
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 +2154 -1074
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +132 -132
- package/dist/render.es.js +1563 -534
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +93 -93
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -1148,7 +1148,7 @@ var _export_sfc$1 = (sfc, props) => {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
return target;
|
|
1150
1150
|
};
|
|
1151
|
-
const _sfc_main$
|
|
1151
|
+
const _sfc_main$1a = {
|
|
1152
1152
|
name: "container-item-wrapper",
|
|
1153
1153
|
props: {
|
|
1154
1154
|
widget: Object
|
|
@@ -1162,14 +1162,14 @@ const _sfc_main$16 = {
|
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
1164
|
};
|
|
1165
|
-
function _sfc_render$
|
|
1165
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1166
1166
|
return openBlock(), createElementBlock("div", {
|
|
1167
1167
|
class: normalizeClass(["container-wrapper", [$options.customClass]])
|
|
1168
1168
|
}, [
|
|
1169
1169
|
renderSlot(_ctx.$slots, "default")
|
|
1170
1170
|
], 2);
|
|
1171
1171
|
}
|
|
1172
|
-
var ContainerItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1172
|
+
var ContainerItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["render", _sfc_render$1a]]);
|
|
1173
1173
|
var __glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1174
1174
|
__proto__: null,
|
|
1175
1175
|
"default": ContainerItemWrapper
|
|
@@ -1934,10 +1934,12 @@ var enLocale_extension = {
|
|
|
1934
1934
|
card: "Card",
|
|
1935
1935
|
alert: "Alert",
|
|
1936
1936
|
"person-tree": "Person Tree",
|
|
1937
|
+
"asset-select": "Asset Select",
|
|
1937
1938
|
"radio-other": "Radio (Other)",
|
|
1938
1939
|
"select-other": "Select (Other)",
|
|
1939
1940
|
"custom-sub-form": "Custom Sub Form",
|
|
1940
|
-
"sub-table": "Sub Table"
|
|
1941
|
+
"sub-table": "Sub Table",
|
|
1942
|
+
"asset-table": "Asset Table"
|
|
1941
1943
|
},
|
|
1942
1944
|
setting: {
|
|
1943
1945
|
cardFolded: "Folded",
|
|
@@ -1963,7 +1965,10 @@ var enLocale_extension = {
|
|
|
1963
1965
|
meetingRoomRemoteUrl: "Request URL",
|
|
1964
1966
|
allowMultiple: "Allow Multiple",
|
|
1965
1967
|
currentUserType: "Current User Type",
|
|
1966
|
-
selectTreeCheckStrictly: "Check Strictly"
|
|
1968
|
+
selectTreeCheckStrictly: "Check Strictly",
|
|
1969
|
+
assetSelectButtonText: "Button Text",
|
|
1970
|
+
assetSelectTypeJson: "Asset Type Json",
|
|
1971
|
+
assetTableTypeJson: "Asset Table Type Json"
|
|
1967
1972
|
}
|
|
1968
1973
|
}
|
|
1969
1974
|
};
|
|
@@ -1974,6 +1979,8 @@ var zhLocale_extension = {
|
|
|
1974
1979
|
alert: "\u63D0\u793A",
|
|
1975
1980
|
"person-tree": "\u4EBA\u5458\u6811",
|
|
1976
1981
|
"current-user": "\u5F53\u524D\u7528\u6237",
|
|
1982
|
+
"asset-select": "\u8D44\u4EA7\u9009\u62E9",
|
|
1983
|
+
"asset-table": "\u8D44\u4EA7\u8868\u683C",
|
|
1977
1984
|
"radio-other": "\u5355\u9009\u9879\uFF08\u5176\u4ED6\uFF09",
|
|
1978
1985
|
"select-other": "\u4E0B\u62C9\u9009\u9879\uFF08\u5176\u4ED6\uFF09",
|
|
1979
1986
|
"meeting-room": "\u4F1A\u8BAE\u5BA4",
|
|
@@ -2004,7 +2011,10 @@ var zhLocale_extension = {
|
|
|
2004
2011
|
meetingRoomRemoteUrl: "\u8BF7\u6C42\u5730\u5740",
|
|
2005
2012
|
allowMultiple: "\u662F\u5426\u591A\u9009",
|
|
2006
2013
|
currentUserType: "\u5F53\u524D\u7528\u6237\u7C7B\u578B",
|
|
2007
|
-
selectTreeCheckStrictly: "\u662F\u5426\u4E25\u683C\u9009\u4E2D"
|
|
2014
|
+
selectTreeCheckStrictly: "\u662F\u5426\u4E25\u683C\u9009\u4E2D",
|
|
2015
|
+
assetSelectButtonText: "\u6309\u94AE\u6587\u5B57",
|
|
2016
|
+
assetSelectTypeJson: "\u8D44\u4EA7\u7C7B\u578BJson",
|
|
2017
|
+
assetTableTypeJson: "\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson"
|
|
2008
2018
|
}
|
|
2009
2019
|
}
|
|
2010
2020
|
};
|
|
@@ -2063,7 +2073,7 @@ var refMixin = {
|
|
|
2063
2073
|
}
|
|
2064
2074
|
};
|
|
2065
2075
|
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
2066
|
-
const _sfc_main$
|
|
2076
|
+
const _sfc_main$19 = {
|
|
2067
2077
|
name: "SvgIcon",
|
|
2068
2078
|
props: {
|
|
2069
2079
|
iconClass: {
|
|
@@ -2091,20 +2101,20 @@ const _sfc_main$15 = {
|
|
|
2091
2101
|
}
|
|
2092
2102
|
}
|
|
2093
2103
|
};
|
|
2094
|
-
const _hoisted_1$
|
|
2095
|
-
const _hoisted_2$
|
|
2096
|
-
function _sfc_render$
|
|
2104
|
+
const _hoisted_1$I = ["xlink:href"];
|
|
2105
|
+
const _hoisted_2$x = { key: 0 };
|
|
2106
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2097
2107
|
return openBlock(), createElementBlock("svg", {
|
|
2098
2108
|
class: normalizeClass($options.svgClass),
|
|
2099
2109
|
"aria-hidden": "true"
|
|
2100
2110
|
}, [
|
|
2101
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
2102
|
-
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$
|
|
2111
|
+
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$I),
|
|
2112
|
+
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$x, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
2103
2113
|
], 2);
|
|
2104
2114
|
}
|
|
2105
|
-
var SvgIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2115
|
+
var SvgIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-8002b89a"]]);
|
|
2106
2116
|
var staticContentWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2107
|
-
const _sfc_main$
|
|
2117
|
+
const _sfc_main$18 = {
|
|
2108
2118
|
name: "static-content-wrapper",
|
|
2109
2119
|
mixins: [i18n$1],
|
|
2110
2120
|
components: {
|
|
@@ -2190,21 +2200,21 @@ const _sfc_main$14 = {
|
|
|
2190
2200
|
}
|
|
2191
2201
|
}
|
|
2192
2202
|
};
|
|
2193
|
-
const _hoisted_1$
|
|
2203
|
+
const _hoisted_1$H = {
|
|
2194
2204
|
key: 0,
|
|
2195
2205
|
class: "field-action"
|
|
2196
2206
|
};
|
|
2197
|
-
const _hoisted_2$
|
|
2198
|
-
const _hoisted_3$
|
|
2199
|
-
const _hoisted_4$
|
|
2200
|
-
const _hoisted_5$
|
|
2201
|
-
const _hoisted_6$
|
|
2207
|
+
const _hoisted_2$w = ["title"];
|
|
2208
|
+
const _hoisted_3$s = ["title"];
|
|
2209
|
+
const _hoisted_4$h = ["title"];
|
|
2210
|
+
const _hoisted_5$e = ["title"];
|
|
2211
|
+
const _hoisted_6$d = {
|
|
2202
2212
|
key: 1,
|
|
2203
2213
|
class: "drag-handler background-opacity"
|
|
2204
2214
|
};
|
|
2205
|
-
const _hoisted_7$
|
|
2206
|
-
const _hoisted_8$
|
|
2207
|
-
function _sfc_render$
|
|
2215
|
+
const _hoisted_7$b = ["title"];
|
|
2216
|
+
const _hoisted_8$8 = { key: 0 };
|
|
2217
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2208
2218
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
2209
2219
|
return openBlock(), createElementBlock("div", {
|
|
2210
2220
|
class: normalizeClass(["field-wrapper", { "design-time-bottom-margin": !!this.designer }]),
|
|
@@ -2219,49 +2229,49 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2219
2229
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2220
2230
|
], 6)) : createCommentVNode("", true),
|
|
2221
2231
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2222
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2232
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
2223
2233
|
createElementVNode("i", {
|
|
2224
2234
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
2225
2235
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
2226
2236
|
}, [
|
|
2227
2237
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
2228
|
-
], 8, _hoisted_2$
|
|
2238
|
+
], 8, _hoisted_2$w),
|
|
2229
2239
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
2230
2240
|
key: 0,
|
|
2231
2241
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
2232
2242
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.moveUpWidget($props.field), ["stop"]))
|
|
2233
2243
|
}, [
|
|
2234
2244
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
2235
|
-
], 8, _hoisted_3$
|
|
2245
|
+
], 8, _hoisted_3$s)) : createCommentVNode("", true),
|
|
2236
2246
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
2237
2247
|
key: 1,
|
|
2238
2248
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
2239
2249
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => $options.moveDownWidget($props.field), ["stop"]))
|
|
2240
2250
|
}, [
|
|
2241
2251
|
createVNode(_component_svg_icon, { "icon-class": "el-move-down" })
|
|
2242
|
-
], 8, _hoisted_4$
|
|
2252
|
+
], 8, _hoisted_4$h)) : createCommentVNode("", true),
|
|
2243
2253
|
createElementVNode("i", {
|
|
2244
2254
|
title: _ctx.i18nt("designer.hint.remove"),
|
|
2245
2255
|
onClick: _cache[4] || (_cache[4] = withModifiers((...args) => $options.removeFieldWidget && $options.removeFieldWidget(...args), ["stop"]))
|
|
2246
2256
|
}, [
|
|
2247
2257
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
2248
|
-
], 8, _hoisted_5$
|
|
2258
|
+
], 8, _hoisted_5$e)
|
|
2249
2259
|
])) : createCommentVNode("", true),
|
|
2250
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
2260
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
|
|
2251
2261
|
createElementVNode("i", {
|
|
2252
2262
|
title: _ctx.i18nt("designer.hint.dragHandler")
|
|
2253
2263
|
}, [
|
|
2254
2264
|
createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
|
|
2255
|
-
], 8, _hoisted_7$
|
|
2265
|
+
], 8, _hoisted_7$b),
|
|
2256
2266
|
createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
|
|
2257
|
-
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_8$
|
|
2267
|
+
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_8$8, [
|
|
2258
2268
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
2259
2269
|
])) : createCommentVNode("", true)
|
|
2260
2270
|
])) : createCommentVNode("", true)
|
|
2261
2271
|
], 64)) : createCommentVNode("", true)
|
|
2262
2272
|
], 6);
|
|
2263
2273
|
}
|
|
2264
|
-
var StaticContentWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2274
|
+
var StaticContentWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-41799baa"]]);
|
|
2265
2275
|
var __glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2266
2276
|
__proto__: null,
|
|
2267
2277
|
"default": StaticContentWrapper
|
|
@@ -9101,7 +9111,7 @@ var fieldMixin = {
|
|
|
9101
9111
|
}
|
|
9102
9112
|
};
|
|
9103
9113
|
var buttonWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9104
|
-
const _sfc_main$
|
|
9114
|
+
const _sfc_main$17 = {
|
|
9105
9115
|
name: "button-widget",
|
|
9106
9116
|
componentName: "FieldWidget",
|
|
9107
9117
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9147,7 +9157,7 @@ const _sfc_main$13 = {
|
|
|
9147
9157
|
},
|
|
9148
9158
|
methods: {}
|
|
9149
9159
|
};
|
|
9150
|
-
function _sfc_render$
|
|
9160
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9151
9161
|
const _component_el_button = resolveComponent("el-button");
|
|
9152
9162
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
9153
9163
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -9183,13 +9193,13 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9183
9193
|
_: 1
|
|
9184
9194
|
}, 8, ["designer", "field", "design-state", "display-style", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
9185
9195
|
}
|
|
9186
|
-
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9196
|
+
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["render", _sfc_render$17], ["__scopeId", "data-v-78bf6014"]]);
|
|
9187
9197
|
var __glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9188
9198
|
__proto__: null,
|
|
9189
9199
|
"default": buttonWidget
|
|
9190
9200
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9191
9201
|
var formItemWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9192
|
-
const _sfc_main$
|
|
9202
|
+
const _sfc_main$16 = {
|
|
9193
9203
|
name: "form-item-wrapper",
|
|
9194
9204
|
mixins: [i18n$1],
|
|
9195
9205
|
components: {
|
|
@@ -9320,25 +9330,25 @@ const _sfc_main$12 = {
|
|
|
9320
9330
|
}
|
|
9321
9331
|
}
|
|
9322
9332
|
};
|
|
9323
|
-
const _hoisted_1$
|
|
9333
|
+
const _hoisted_1$G = {
|
|
9324
9334
|
key: 0,
|
|
9325
9335
|
class: "custom-label"
|
|
9326
9336
|
};
|
|
9327
|
-
const _hoisted_2$
|
|
9337
|
+
const _hoisted_2$v = {
|
|
9328
9338
|
key: 0,
|
|
9329
9339
|
class: "field-action"
|
|
9330
9340
|
};
|
|
9331
|
-
const _hoisted_3$
|
|
9332
|
-
const _hoisted_4$
|
|
9333
|
-
const _hoisted_5$
|
|
9334
|
-
const _hoisted_6$
|
|
9335
|
-
const _hoisted_7$
|
|
9341
|
+
const _hoisted_3$r = ["title"];
|
|
9342
|
+
const _hoisted_4$g = ["title"];
|
|
9343
|
+
const _hoisted_5$d = ["title"];
|
|
9344
|
+
const _hoisted_6$c = ["title"];
|
|
9345
|
+
const _hoisted_7$a = {
|
|
9336
9346
|
key: 1,
|
|
9337
9347
|
class: "drag-handler background-opacity"
|
|
9338
9348
|
};
|
|
9339
|
-
const _hoisted_8$
|
|
9349
|
+
const _hoisted_8$7 = ["title"];
|
|
9340
9350
|
const _hoisted_9$5 = { key: 0 };
|
|
9341
|
-
function _sfc_render$
|
|
9351
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9342
9352
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
9343
9353
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
9344
9354
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -9361,7 +9371,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9361
9371
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectField($props.field), ["stop"]))
|
|
9362
9372
|
}, {
|
|
9363
9373
|
label: withCtx(() => [
|
|
9364
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
9374
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$G, [
|
|
9365
9375
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9366
9376
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9367
9377
|
createVNode(_component_el_tooltip, {
|
|
@@ -9411,40 +9421,40 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9411
9421
|
_: 3
|
|
9412
9422
|
}, 8, ["label", "label-width", "title", "rules", "prop", "class"])) : createCommentVNode("", true),
|
|
9413
9423
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
9414
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
9424
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_2$v, [
|
|
9415
9425
|
createElementVNode("i", {
|
|
9416
9426
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
9417
9427
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
9418
9428
|
}, [
|
|
9419
9429
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
9420
|
-
], 8, _hoisted_3$
|
|
9430
|
+
], 8, _hoisted_3$r),
|
|
9421
9431
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
9422
9432
|
key: 0,
|
|
9423
9433
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
9424
9434
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.moveUpWidget($props.field), ["stop"]))
|
|
9425
9435
|
}, [
|
|
9426
9436
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
9427
|
-
], 8, _hoisted_4$
|
|
9437
|
+
], 8, _hoisted_4$g)) : createCommentVNode("", true),
|
|
9428
9438
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
9429
9439
|
key: 1,
|
|
9430
9440
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
9431
9441
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => $options.moveDownWidget($props.field), ["stop"]))
|
|
9432
9442
|
}, [
|
|
9433
9443
|
createVNode(_component_svg_icon, { "icon-class": "el-move-down" })
|
|
9434
|
-
], 8, _hoisted_5$
|
|
9444
|
+
], 8, _hoisted_5$d)) : createCommentVNode("", true),
|
|
9435
9445
|
createElementVNode("i", {
|
|
9436
9446
|
title: _ctx.i18nt("designer.hint.remove"),
|
|
9437
9447
|
onClick: _cache[4] || (_cache[4] = withModifiers((...args) => $options.removeFieldWidget && $options.removeFieldWidget(...args), ["stop"]))
|
|
9438
9448
|
}, [
|
|
9439
9449
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
9440
|
-
], 8, _hoisted_6$
|
|
9450
|
+
], 8, _hoisted_6$c)
|
|
9441
9451
|
])) : createCommentVNode("", true),
|
|
9442
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
9452
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_7$a, [
|
|
9443
9453
|
createElementVNode("i", {
|
|
9444
9454
|
title: _ctx.i18nt("designer.hint.dragHandler")
|
|
9445
9455
|
}, [
|
|
9446
9456
|
createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
|
|
9447
|
-
], 8, _hoisted_8$
|
|
9457
|
+
], 8, _hoisted_8$7),
|
|
9448
9458
|
createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
|
|
9449
9459
|
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$5, [
|
|
9450
9460
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
@@ -9453,13 +9463,13 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9453
9463
|
], 64)) : createCommentVNode("", true)
|
|
9454
9464
|
], 2);
|
|
9455
9465
|
}
|
|
9456
|
-
var FormItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9466
|
+
var FormItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["render", _sfc_render$16], ["__scopeId", "data-v-eed9a7f0"]]);
|
|
9457
9467
|
var __glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9458
9468
|
__proto__: null,
|
|
9459
9469
|
"default": FormItemWrapper
|
|
9460
9470
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9461
9471
|
var cascaderWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9462
|
-
const _sfc_main$
|
|
9472
|
+
const _sfc_main$15 = {
|
|
9463
9473
|
name: "cascader-widget",
|
|
9464
9474
|
componentName: "FieldWidget",
|
|
9465
9475
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9519,8 +9529,8 @@ const _sfc_main$11 = {
|
|
|
9519
9529
|
},
|
|
9520
9530
|
methods: {}
|
|
9521
9531
|
};
|
|
9522
|
-
const _hoisted_1$
|
|
9523
|
-
function _sfc_render$
|
|
9532
|
+
const _hoisted_1$F = { class: "full-width-input" };
|
|
9533
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9524
9534
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
9525
9535
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9526
9536
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9536,7 +9546,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9536
9546
|
"sub-form-row-id": $props.subFormRowId
|
|
9537
9547
|
}, {
|
|
9538
9548
|
default: withCtx(() => [
|
|
9539
|
-
createElementVNode("div", _hoisted_1$
|
|
9549
|
+
createElementVNode("div", _hoisted_1$F, [
|
|
9540
9550
|
createVNode(_component_el_cascader, {
|
|
9541
9551
|
ref: "fieldEditor",
|
|
9542
9552
|
options: $props.field.options.optionItems,
|
|
@@ -9558,13 +9568,13 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9558
9568
|
_: 1
|
|
9559
9569
|
}, 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"]);
|
|
9560
9570
|
}
|
|
9561
|
-
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9571
|
+
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["render", _sfc_render$15], ["__scopeId", "data-v-7c3dbd57"]]);
|
|
9562
9572
|
var __glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9563
9573
|
__proto__: null,
|
|
9564
9574
|
"default": cascaderWidget
|
|
9565
9575
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9566
9576
|
var checkboxWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9567
|
-
const _sfc_main$
|
|
9577
|
+
const _sfc_main$14 = {
|
|
9568
9578
|
name: "checkbox-widget",
|
|
9569
9579
|
componentName: "FieldWidget",
|
|
9570
9580
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9620,7 +9630,7 @@ const _sfc_main$10 = {
|
|
|
9620
9630
|
},
|
|
9621
9631
|
methods: {}
|
|
9622
9632
|
};
|
|
9623
|
-
function _sfc_render$
|
|
9633
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9624
9634
|
const _component_el_checkbox_button = resolveComponent("el-checkbox-button");
|
|
9625
9635
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
9626
9636
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
@@ -9681,13 +9691,13 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9681
9691
|
_: 1
|
|
9682
9692
|
}, 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"]);
|
|
9683
9693
|
}
|
|
9684
|
-
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9694
|
+
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$14], ["__scopeId", "data-v-3944f5f4"]]);
|
|
9685
9695
|
var __glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9686
9696
|
__proto__: null,
|
|
9687
9697
|
"default": checkboxWidget
|
|
9688
9698
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9689
9699
|
var colorWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9690
|
-
const _sfc_main
|
|
9700
|
+
const _sfc_main$13 = {
|
|
9691
9701
|
name: "color-widget",
|
|
9692
9702
|
componentName: "FieldWidget",
|
|
9693
9703
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9742,7 +9752,7 @@ const _sfc_main$$ = {
|
|
|
9742
9752
|
},
|
|
9743
9753
|
methods: {}
|
|
9744
9754
|
};
|
|
9745
|
-
function _sfc_render
|
|
9755
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9746
9756
|
const _component_el_color_picker = resolveComponent("el-color-picker");
|
|
9747
9757
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9748
9758
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9770,13 +9780,13 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9770
9780
|
_: 1
|
|
9771
9781
|
}, 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"]);
|
|
9772
9782
|
}
|
|
9773
|
-
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main
|
|
9783
|
+
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-52b66ef1"]]);
|
|
9774
9784
|
var __glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9775
9785
|
__proto__: null,
|
|
9776
9786
|
"default": colorWidget
|
|
9777
9787
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9778
9788
|
var dateRangeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9779
|
-
const _sfc_main$
|
|
9789
|
+
const _sfc_main$12 = {
|
|
9780
9790
|
name: "date-range-widget",
|
|
9781
9791
|
componentName: "FieldWidget",
|
|
9782
9792
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9831,7 +9841,7 @@ const _sfc_main$_ = {
|
|
|
9831
9841
|
},
|
|
9832
9842
|
methods: {}
|
|
9833
9843
|
};
|
|
9834
|
-
function _sfc_render$
|
|
9844
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9835
9845
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
9836
9846
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9837
9847
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9869,13 +9879,13 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9869
9879
|
_: 1
|
|
9870
9880
|
}, 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"]);
|
|
9871
9881
|
}
|
|
9872
|
-
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9882
|
+
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["render", _sfc_render$12], ["__scopeId", "data-v-e50300fe"]]);
|
|
9873
9883
|
var __glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9874
9884
|
__proto__: null,
|
|
9875
9885
|
"default": dateRangeWidget
|
|
9876
9886
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9877
9887
|
var dateWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9878
|
-
const _sfc_main$
|
|
9888
|
+
const _sfc_main$11 = {
|
|
9879
9889
|
name: "date-widget",
|
|
9880
9890
|
componentName: "FieldWidget",
|
|
9881
9891
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9930,7 +9940,7 @@ const _sfc_main$Z = {
|
|
|
9930
9940
|
},
|
|
9931
9941
|
methods: {}
|
|
9932
9942
|
};
|
|
9933
|
-
function _sfc_render$
|
|
9943
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9934
9944
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
9935
9945
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9936
9946
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9968,13 +9978,13 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9968
9978
|
_: 1
|
|
9969
9979
|
}, 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"]);
|
|
9970
9980
|
}
|
|
9971
|
-
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9981
|
+
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-89ff4bae"]]);
|
|
9972
9982
|
var __glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9973
9983
|
__proto__: null,
|
|
9974
9984
|
"default": dateWidget
|
|
9975
9985
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9976
9986
|
var dividerWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9977
|
-
const _sfc_main$
|
|
9987
|
+
const _sfc_main$10 = {
|
|
9978
9988
|
name: "divider-widget",
|
|
9979
9989
|
componentName: "FieldWidget",
|
|
9980
9990
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10020,7 +10030,7 @@ const _sfc_main$Y = {
|
|
|
10020
10030
|
},
|
|
10021
10031
|
methods: {}
|
|
10022
10032
|
};
|
|
10023
|
-
function _sfc_render$
|
|
10033
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10024
10034
|
const _component_el_divider = resolveComponent("el-divider");
|
|
10025
10035
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
10026
10036
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -10049,7 +10059,7 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10049
10059
|
_: 1
|
|
10050
10060
|
}, 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"]);
|
|
10051
10061
|
}
|
|
10052
|
-
var dividerWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10062
|
+
var dividerWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-09a1b973"]]);
|
|
10053
10063
|
var __glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10054
10064
|
__proto__: null,
|
|
10055
10065
|
"default": dividerWidget
|
|
@@ -10088,252 +10098,252 @@ var _export_sfc = (sfc, props) => {
|
|
|
10088
10098
|
}
|
|
10089
10099
|
return target;
|
|
10090
10100
|
};
|
|
10091
|
-
const _sfc_main
|
|
10101
|
+
const _sfc_main$$ = defineComponent({
|
|
10092
10102
|
name: "ArrowDownBold"
|
|
10093
10103
|
});
|
|
10094
|
-
const _hoisted_1$
|
|
10104
|
+
const _hoisted_1$E = {
|
|
10095
10105
|
class: "icon",
|
|
10096
10106
|
width: "200",
|
|
10097
10107
|
height: "200",
|
|
10098
10108
|
viewBox: "0 0 1024 1024",
|
|
10099
10109
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10100
10110
|
};
|
|
10101
|
-
const _hoisted_2$
|
|
10111
|
+
const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
|
|
10102
10112
|
fill: "currentColor",
|
|
10103
10113
|
d: "M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z"
|
|
10104
10114
|
}, null, -1);
|
|
10105
|
-
const _hoisted_3$
|
|
10106
|
-
_hoisted_2$
|
|
10115
|
+
const _hoisted_3$q = [
|
|
10116
|
+
_hoisted_2$u
|
|
10107
10117
|
];
|
|
10108
|
-
function _sfc_render
|
|
10109
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10118
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10119
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$q);
|
|
10110
10120
|
}
|
|
10111
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
10112
|
-
const _sfc_main$
|
|
10121
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$]]);
|
|
10122
|
+
const _sfc_main$_ = defineComponent({
|
|
10113
10123
|
name: "ArrowDown"
|
|
10114
10124
|
});
|
|
10115
|
-
const _hoisted_1$
|
|
10125
|
+
const _hoisted_1$D = {
|
|
10116
10126
|
class: "icon",
|
|
10117
10127
|
width: "200",
|
|
10118
10128
|
height: "200",
|
|
10119
10129
|
viewBox: "0 0 1024 1024",
|
|
10120
10130
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10121
10131
|
};
|
|
10122
|
-
const _hoisted_2$
|
|
10132
|
+
const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
|
|
10123
10133
|
fill: "currentColor",
|
|
10124
10134
|
d: "M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"
|
|
10125
10135
|
}, null, -1);
|
|
10126
|
-
const _hoisted_3$
|
|
10127
|
-
_hoisted_2$
|
|
10136
|
+
const _hoisted_3$p = [
|
|
10137
|
+
_hoisted_2$t
|
|
10128
10138
|
];
|
|
10129
|
-
function _sfc_render$
|
|
10130
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10139
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10140
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$p);
|
|
10131
10141
|
}
|
|
10132
|
-
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10133
|
-
const _sfc_main$
|
|
10142
|
+
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
|
|
10143
|
+
const _sfc_main$Z = defineComponent({
|
|
10134
10144
|
name: "ArrowUp"
|
|
10135
10145
|
});
|
|
10136
|
-
const _hoisted_1$
|
|
10146
|
+
const _hoisted_1$C = {
|
|
10137
10147
|
class: "icon",
|
|
10138
10148
|
width: "200",
|
|
10139
10149
|
height: "200",
|
|
10140
10150
|
viewBox: "0 0 1024 1024",
|
|
10141
10151
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10142
10152
|
};
|
|
10143
|
-
const _hoisted_2$
|
|
10153
|
+
const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
|
|
10144
10154
|
fill: "currentColor",
|
|
10145
10155
|
d: "M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"
|
|
10146
10156
|
}, null, -1);
|
|
10147
|
-
const _hoisted_3$
|
|
10148
|
-
_hoisted_2$
|
|
10157
|
+
const _hoisted_3$o = [
|
|
10158
|
+
_hoisted_2$s
|
|
10149
10159
|
];
|
|
10150
|
-
function _sfc_render$
|
|
10151
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10160
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10161
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$o);
|
|
10152
10162
|
}
|
|
10153
|
-
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10154
|
-
const _sfc_main$
|
|
10163
|
+
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
|
|
10164
|
+
const _sfc_main$Y = defineComponent({
|
|
10155
10165
|
name: "CirclePlus"
|
|
10156
10166
|
});
|
|
10157
|
-
const _hoisted_1$
|
|
10167
|
+
const _hoisted_1$B = {
|
|
10158
10168
|
class: "icon",
|
|
10159
10169
|
width: "200",
|
|
10160
10170
|
height: "200",
|
|
10161
10171
|
viewBox: "0 0 1024 1024",
|
|
10162
10172
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10163
10173
|
};
|
|
10164
|
-
const _hoisted_2$
|
|
10174
|
+
const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
|
|
10165
10175
|
fill: "currentColor",
|
|
10166
10176
|
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
10167
10177
|
}, null, -1);
|
|
10168
|
-
const _hoisted_3$
|
|
10178
|
+
const _hoisted_3$n = /* @__PURE__ */ createElementVNode("path", {
|
|
10169
10179
|
fill: "currentColor",
|
|
10170
10180
|
d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
|
|
10171
10181
|
}, null, -1);
|
|
10172
|
-
const _hoisted_4$
|
|
10182
|
+
const _hoisted_4$f = /* @__PURE__ */ createElementVNode("path", {
|
|
10173
10183
|
fill: "currentColor",
|
|
10174
10184
|
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
10175
10185
|
}, null, -1);
|
|
10176
|
-
const _hoisted_5$
|
|
10177
|
-
_hoisted_2$
|
|
10178
|
-
_hoisted_3$
|
|
10179
|
-
_hoisted_4$
|
|
10186
|
+
const _hoisted_5$c = [
|
|
10187
|
+
_hoisted_2$r,
|
|
10188
|
+
_hoisted_3$n,
|
|
10189
|
+
_hoisted_4$f
|
|
10180
10190
|
];
|
|
10181
|
-
function _sfc_render$
|
|
10182
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10191
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10192
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_5$c);
|
|
10183
10193
|
}
|
|
10184
|
-
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10185
|
-
const _sfc_main$
|
|
10194
|
+
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y]]);
|
|
10195
|
+
const _sfc_main$X = defineComponent({
|
|
10186
10196
|
name: "Delete"
|
|
10187
10197
|
});
|
|
10188
|
-
const _hoisted_1$
|
|
10198
|
+
const _hoisted_1$A = {
|
|
10189
10199
|
class: "icon",
|
|
10190
10200
|
width: "200",
|
|
10191
10201
|
height: "200",
|
|
10192
10202
|
viewBox: "0 0 1024 1024",
|
|
10193
10203
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10194
10204
|
};
|
|
10195
|
-
const _hoisted_2$
|
|
10205
|
+
const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
|
|
10196
10206
|
fill: "currentColor",
|
|
10197
10207
|
d: "M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"
|
|
10198
10208
|
}, null, -1);
|
|
10199
|
-
const _hoisted_3$
|
|
10200
|
-
_hoisted_2$
|
|
10209
|
+
const _hoisted_3$m = [
|
|
10210
|
+
_hoisted_2$q
|
|
10201
10211
|
];
|
|
10202
|
-
function _sfc_render$
|
|
10203
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10212
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10213
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$m);
|
|
10204
10214
|
}
|
|
10205
|
-
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10206
|
-
const _sfc_main$
|
|
10215
|
+
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X]]);
|
|
10216
|
+
const _sfc_main$W = defineComponent({
|
|
10207
10217
|
name: "Edit"
|
|
10208
10218
|
});
|
|
10209
|
-
const _hoisted_1$
|
|
10219
|
+
const _hoisted_1$z = {
|
|
10210
10220
|
class: "icon",
|
|
10211
10221
|
width: "200",
|
|
10212
10222
|
height: "200",
|
|
10213
10223
|
viewBox: "0 0 1024 1024",
|
|
10214
10224
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10215
10225
|
};
|
|
10216
|
-
const _hoisted_2$
|
|
10226
|
+
const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
|
|
10217
10227
|
fill: "currentColor",
|
|
10218
10228
|
d: "M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"
|
|
10219
10229
|
}, null, -1);
|
|
10220
|
-
const _hoisted_3$
|
|
10230
|
+
const _hoisted_3$l = /* @__PURE__ */ createElementVNode("path", {
|
|
10221
10231
|
fill: "currentColor",
|
|
10222
10232
|
d: "M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"
|
|
10223
10233
|
}, null, -1);
|
|
10224
|
-
const _hoisted_4$
|
|
10225
|
-
_hoisted_2$
|
|
10226
|
-
_hoisted_3$
|
|
10234
|
+
const _hoisted_4$e = [
|
|
10235
|
+
_hoisted_2$p,
|
|
10236
|
+
_hoisted_3$l
|
|
10227
10237
|
];
|
|
10228
|
-
function _sfc_render$
|
|
10229
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10238
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10239
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_4$e);
|
|
10230
10240
|
}
|
|
10231
|
-
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10232
|
-
const _sfc_main$
|
|
10241
|
+
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$W]]);
|
|
10242
|
+
const _sfc_main$V = defineComponent({
|
|
10233
10243
|
name: "InfoFilled"
|
|
10234
10244
|
});
|
|
10235
|
-
const _hoisted_1$
|
|
10245
|
+
const _hoisted_1$y = {
|
|
10236
10246
|
class: "icon",
|
|
10237
10247
|
width: "200",
|
|
10238
10248
|
height: "200",
|
|
10239
10249
|
viewBox: "0 0 1024 1024",
|
|
10240
10250
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10241
10251
|
};
|
|
10242
|
-
const _hoisted_2$
|
|
10252
|
+
const _hoisted_2$o = /* @__PURE__ */ createElementVNode("path", {
|
|
10243
10253
|
fill: "currentColor",
|
|
10244
10254
|
d: "M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
|
|
10245
10255
|
}, null, -1);
|
|
10246
|
-
const _hoisted_3$
|
|
10247
|
-
_hoisted_2$
|
|
10256
|
+
const _hoisted_3$k = [
|
|
10257
|
+
_hoisted_2$o
|
|
10248
10258
|
];
|
|
10249
|
-
function _sfc_render$
|
|
10250
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10259
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10260
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_3$k);
|
|
10251
10261
|
}
|
|
10252
|
-
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10253
|
-
const _sfc_main$
|
|
10262
|
+
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$V]]);
|
|
10263
|
+
const _sfc_main$U = defineComponent({
|
|
10254
10264
|
name: "Loading"
|
|
10255
10265
|
});
|
|
10256
|
-
const _hoisted_1$
|
|
10266
|
+
const _hoisted_1$x = {
|
|
10257
10267
|
class: "icon",
|
|
10258
10268
|
width: "200",
|
|
10259
10269
|
height: "200",
|
|
10260
10270
|
viewBox: "0 0 1024 1024",
|
|
10261
10271
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10262
10272
|
};
|
|
10263
|
-
const _hoisted_2$
|
|
10273
|
+
const _hoisted_2$n = /* @__PURE__ */ createElementVNode("path", {
|
|
10264
10274
|
fill: "currentColor",
|
|
10265
10275
|
d: "M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"
|
|
10266
10276
|
}, null, -1);
|
|
10267
|
-
const _hoisted_3$
|
|
10268
|
-
_hoisted_2$
|
|
10277
|
+
const _hoisted_3$j = [
|
|
10278
|
+
_hoisted_2$n
|
|
10269
10279
|
];
|
|
10270
|
-
function _sfc_render$
|
|
10271
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10280
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10281
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_3$j);
|
|
10272
10282
|
}
|
|
10273
|
-
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10274
|
-
const _sfc_main$
|
|
10283
|
+
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$U]]);
|
|
10284
|
+
const _sfc_main$T = defineComponent({
|
|
10275
10285
|
name: "Minus"
|
|
10276
10286
|
});
|
|
10277
|
-
const _hoisted_1$
|
|
10287
|
+
const _hoisted_1$w = {
|
|
10278
10288
|
class: "icon",
|
|
10279
10289
|
width: "200",
|
|
10280
10290
|
height: "200",
|
|
10281
10291
|
viewBox: "0 0 1024 1024",
|
|
10282
10292
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10283
10293
|
};
|
|
10284
|
-
const _hoisted_2$
|
|
10294
|
+
const _hoisted_2$m = /* @__PURE__ */ createElementVNode("path", {
|
|
10285
10295
|
fill: "currentColor",
|
|
10286
10296
|
d: "M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"
|
|
10287
10297
|
}, null, -1);
|
|
10288
|
-
const _hoisted_3$
|
|
10289
|
-
_hoisted_2$
|
|
10298
|
+
const _hoisted_3$i = [
|
|
10299
|
+
_hoisted_2$m
|
|
10290
10300
|
];
|
|
10291
|
-
function _sfc_render$
|
|
10292
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10301
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10302
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_3$i);
|
|
10293
10303
|
}
|
|
10294
|
-
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10295
|
-
const _sfc_main$
|
|
10304
|
+
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$T]]);
|
|
10305
|
+
const _sfc_main$S = defineComponent({
|
|
10296
10306
|
name: "Plus"
|
|
10297
10307
|
});
|
|
10298
|
-
const _hoisted_1$
|
|
10308
|
+
const _hoisted_1$v = {
|
|
10299
10309
|
class: "icon",
|
|
10300
10310
|
width: "200",
|
|
10301
10311
|
height: "200",
|
|
10302
10312
|
viewBox: "0 0 1024 1024",
|
|
10303
10313
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10304
10314
|
};
|
|
10305
|
-
const _hoisted_2$
|
|
10315
|
+
const _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
|
|
10306
10316
|
fill: "currentColor",
|
|
10307
10317
|
d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
|
|
10308
10318
|
}, null, -1);
|
|
10309
|
-
const _hoisted_3$
|
|
10310
|
-
_hoisted_2$
|
|
10319
|
+
const _hoisted_3$h = [
|
|
10320
|
+
_hoisted_2$l
|
|
10311
10321
|
];
|
|
10312
|
-
function _sfc_render$
|
|
10313
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10322
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10323
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_3$h);
|
|
10314
10324
|
}
|
|
10315
|
-
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10316
|
-
const _sfc_main$
|
|
10325
|
+
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$S]]);
|
|
10326
|
+
const _sfc_main$R = defineComponent({
|
|
10317
10327
|
name: "Search"
|
|
10318
10328
|
});
|
|
10319
|
-
const _hoisted_1$
|
|
10329
|
+
const _hoisted_1$u = {
|
|
10320
10330
|
class: "icon",
|
|
10321
10331
|
width: "200",
|
|
10322
10332
|
height: "200",
|
|
10323
10333
|
viewBox: "0 0 1024 1024",
|
|
10324
10334
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10325
10335
|
};
|
|
10326
|
-
const _hoisted_2$
|
|
10336
|
+
const _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
|
|
10327
10337
|
fill: "currentColor",
|
|
10328
10338
|
d: "M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"
|
|
10329
10339
|
}, null, -1);
|
|
10330
|
-
const _hoisted_3$
|
|
10331
|
-
_hoisted_2$
|
|
10340
|
+
const _hoisted_3$g = [
|
|
10341
|
+
_hoisted_2$k
|
|
10332
10342
|
];
|
|
10333
|
-
function _sfc_render$
|
|
10334
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10343
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10344
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_3$g);
|
|
10335
10345
|
}
|
|
10336
|
-
var search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10346
|
+
var search = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$R]]);
|
|
10337
10347
|
var defaultConfig = {
|
|
10338
10348
|
expireTimes: "1d",
|
|
10339
10349
|
path: "; path=/",
|
|
@@ -10462,7 +10472,7 @@ var _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf
|
|
|
10462
10472
|
var fileUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10463
10473
|
useCookies();
|
|
10464
10474
|
let selectFileText = "'" + translate("render.hint.selectFile") + "'";
|
|
10465
|
-
const _sfc_main$
|
|
10475
|
+
const _sfc_main$Q = {
|
|
10466
10476
|
name: "file-upload-widget",
|
|
10467
10477
|
componentName: "FieldWidget",
|
|
10468
10478
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10778,21 +10788,21 @@ const _sfc_main$M = {
|
|
|
10778
10788
|
}
|
|
10779
10789
|
}
|
|
10780
10790
|
};
|
|
10781
|
-
const _hoisted_1$
|
|
10782
|
-
const _hoisted_2$
|
|
10791
|
+
const _hoisted_1$t = { class: "file-upload-widget-container" };
|
|
10792
|
+
const _hoisted_2$j = {
|
|
10783
10793
|
key: 0,
|
|
10784
10794
|
class: "el-upload__tip"
|
|
10785
10795
|
};
|
|
10786
|
-
const _hoisted_3$
|
|
10787
|
-
const _hoisted_4$
|
|
10788
|
-
const _hoisted_5$
|
|
10789
|
-
const _hoisted_6$
|
|
10790
|
-
const _hoisted_7$
|
|
10791
|
-
const _hoisted_8$
|
|
10796
|
+
const _hoisted_3$f = { class: "sub-tip" };
|
|
10797
|
+
const _hoisted_4$d = { class: "upload-file-list" };
|
|
10798
|
+
const _hoisted_5$b = { class: "left-wrap" };
|
|
10799
|
+
const _hoisted_6$b = ["src"];
|
|
10800
|
+
const _hoisted_7$9 = ["title"];
|
|
10801
|
+
const _hoisted_8$6 = { class: "right-wrap" };
|
|
10792
10802
|
const _hoisted_9$4 = ["title", "onClick"];
|
|
10793
10803
|
const _hoisted_10$3 = ["onClick"];
|
|
10794
10804
|
const _hoisted_11$2 = ["onClick"];
|
|
10795
|
-
function _sfc_render$
|
|
10805
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10796
10806
|
const _component_el_button = resolveComponent("el-button");
|
|
10797
10807
|
const _component_el_upload = resolveComponent("el-upload");
|
|
10798
10808
|
const _component_el_progress = resolveComponent("el-progress");
|
|
@@ -10810,7 +10820,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10810
10820
|
"sub-form-row-id": $props.subFormRowId
|
|
10811
10821
|
}, {
|
|
10812
10822
|
default: withCtx(() => [
|
|
10813
|
-
createElementVNode("div", _hoisted_1$
|
|
10823
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
10814
10824
|
createVNode(_component_el_upload, {
|
|
10815
10825
|
ref: "fieldEditor",
|
|
10816
10826
|
disabled: _ctx.getDisabled(),
|
|
@@ -10832,22 +10842,22 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10832
10842
|
"on-progress": $options.handleProgress
|
|
10833
10843
|
}, createSlots({
|
|
10834
10844
|
tip: withCtx(() => [
|
|
10835
|
-
!!$props.field.options.uploadTip && !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
10845
|
+
!!$props.field.options.uploadTip && !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", _hoisted_2$j, toDisplayString($props.field.options.uploadTip), 1)) : createCommentVNode("", true)
|
|
10836
10846
|
]),
|
|
10837
10847
|
file: withCtx(({ file }) => [
|
|
10838
|
-
createElementVNode("div", _hoisted_4$
|
|
10839
|
-
createElementVNode("div", _hoisted_5$
|
|
10848
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
10849
|
+
createElementVNode("div", _hoisted_5$b, [
|
|
10840
10850
|
createElementVNode("img", {
|
|
10841
10851
|
src: $options.getFileIcon(file.name),
|
|
10842
10852
|
alt: "",
|
|
10843
10853
|
style: { "width": "18px", "height": "18px", "margin-right": "8px" }
|
|
10844
|
-
}, null, 8, _hoisted_6$
|
|
10854
|
+
}, null, 8, _hoisted_6$b),
|
|
10845
10855
|
createElementVNode("div", {
|
|
10846
10856
|
class: "upload-file-name",
|
|
10847
10857
|
title: file.name
|
|
10848
|
-
}, toDisplayString(file.name), 9, _hoisted_7$
|
|
10858
|
+
}, toDisplayString(file.name), 9, _hoisted_7$9)
|
|
10849
10859
|
]),
|
|
10850
|
-
createElementVNode("div", _hoisted_8$
|
|
10860
|
+
createElementVNode("div", _hoisted_8$6, [
|
|
10851
10861
|
!_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
|
|
10852
10862
|
key: 0,
|
|
10853
10863
|
class: "file-action",
|
|
@@ -10883,7 +10893,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10883
10893
|
alt: ""
|
|
10884
10894
|
}, null, -1)),
|
|
10885
10895
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "main-tip" }, " \u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20 ", -1)),
|
|
10886
|
-
createElementVNode("div", _hoisted_3$
|
|
10896
|
+
createElementVNode("div", _hoisted_3$f, " \u652F\u6301\u4E0A\u4F20" + toDisplayString($props.field.options.fileTypes.slice(0, 8).join("\uFF0C")) + "\u7B49\u683C\u5F0F\u6587\u4EF6 ", 1)
|
|
10887
10897
|
], 64)) : (openBlock(), createBlock(_component_el_button, {
|
|
10888
10898
|
key: 1,
|
|
10889
10899
|
type: "primary"
|
|
@@ -10909,13 +10919,13 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10909
10919
|
_: 1
|
|
10910
10920
|
}, 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"]);
|
|
10911
10921
|
}
|
|
10912
|
-
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10922
|
+
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-523641ad"]]);
|
|
10913
10923
|
var __glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10914
10924
|
__proto__: null,
|
|
10915
10925
|
"default": fileUploadWidget
|
|
10916
10926
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10917
10927
|
var htmlTextWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10918
|
-
const _sfc_main$
|
|
10928
|
+
const _sfc_main$P = {
|
|
10919
10929
|
name: "html-text-widget",
|
|
10920
10930
|
componentName: "FieldWidget",
|
|
10921
10931
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10961,8 +10971,8 @@ const _sfc_main$L = {
|
|
|
10961
10971
|
},
|
|
10962
10972
|
methods: {}
|
|
10963
10973
|
};
|
|
10964
|
-
const _hoisted_1$
|
|
10965
|
-
function _sfc_render$
|
|
10974
|
+
const _hoisted_1$s = ["innerHTML"];
|
|
10975
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10966
10976
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
10967
10977
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
10968
10978
|
designer: $props.designer,
|
|
@@ -10979,18 +10989,18 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10979
10989
|
createElementVNode("div", {
|
|
10980
10990
|
ref: "fieldEditor",
|
|
10981
10991
|
innerHTML: $props.field.options.htmlContent
|
|
10982
|
-
}, null, 8, _hoisted_1$
|
|
10992
|
+
}, null, 8, _hoisted_1$s)
|
|
10983
10993
|
]),
|
|
10984
10994
|
_: 1
|
|
10985
10995
|
}, 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"]);
|
|
10986
10996
|
}
|
|
10987
|
-
var htmlTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10997
|
+
var htmlTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-3d941b4e"]]);
|
|
10988
10998
|
var __glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10989
10999
|
__proto__: null,
|
|
10990
11000
|
"default": htmlTextWidget
|
|
10991
11001
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10992
11002
|
var inputWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10993
|
-
const _sfc_main$
|
|
11003
|
+
const _sfc_main$O = {
|
|
10994
11004
|
name: "input-widget",
|
|
10995
11005
|
componentName: "FieldWidget",
|
|
10996
11006
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11053,7 +11063,7 @@ const _sfc_main$K = {
|
|
|
11053
11063
|
},
|
|
11054
11064
|
methods: {}
|
|
11055
11065
|
};
|
|
11056
|
-
function _sfc_render$
|
|
11066
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11057
11067
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11058
11068
|
const _component_el_button = resolveComponent("el-button");
|
|
11059
11069
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -11115,13 +11125,13 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11115
11125
|
_: 1
|
|
11116
11126
|
}, 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"]);
|
|
11117
11127
|
}
|
|
11118
|
-
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11128
|
+
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-0346e877"]]);
|
|
11119
11129
|
var __glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11120
11130
|
__proto__: null,
|
|
11121
11131
|
"default": inputWidget
|
|
11122
11132
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11123
11133
|
var numberWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11124
|
-
const _sfc_main$
|
|
11134
|
+
const _sfc_main$N = {
|
|
11125
11135
|
name: "number-widget",
|
|
11126
11136
|
componentName: "FieldWidget",
|
|
11127
11137
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11176,7 +11186,7 @@ const _sfc_main$J = {
|
|
|
11176
11186
|
},
|
|
11177
11187
|
methods: {}
|
|
11178
11188
|
};
|
|
11179
|
-
function _sfc_render$
|
|
11189
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11180
11190
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
11181
11191
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11182
11192
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -11213,13 +11223,13 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11213
11223
|
_: 1
|
|
11214
11224
|
}, 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"]);
|
|
11215
11225
|
}
|
|
11216
|
-
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11226
|
+
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-30c98522"]]);
|
|
11217
11227
|
var __glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11218
11228
|
__proto__: null,
|
|
11219
11229
|
"default": numberWidget
|
|
11220
11230
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11221
11231
|
var pictureUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11222
|
-
const _sfc_main$
|
|
11232
|
+
const _sfc_main$M = {
|
|
11223
11233
|
name: "picture-upload-widget",
|
|
11224
11234
|
componentName: "FieldWidget",
|
|
11225
11235
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11416,20 +11426,20 @@ const _sfc_main$I = {
|
|
|
11416
11426
|
}
|
|
11417
11427
|
}
|
|
11418
11428
|
};
|
|
11419
|
-
const _hoisted_1$
|
|
11420
|
-
const _hoisted_2$
|
|
11429
|
+
const _hoisted_1$r = { class: "el-upload-list__item-status-label" };
|
|
11430
|
+
const _hoisted_2$i = {
|
|
11421
11431
|
class: "el-icon--upload-success",
|
|
11422
11432
|
style: { "color": "#FFF" }
|
|
11423
11433
|
};
|
|
11424
|
-
const _hoisted_3$
|
|
11425
|
-
const _hoisted_4$
|
|
11426
|
-
const _hoisted_5$
|
|
11427
|
-
const _hoisted_6$
|
|
11434
|
+
const _hoisted_3$e = { class: "el-upload-list__item-actions" };
|
|
11435
|
+
const _hoisted_4$c = ["onClick"];
|
|
11436
|
+
const _hoisted_5$a = ["onClick"];
|
|
11437
|
+
const _hoisted_6$a = {
|
|
11428
11438
|
key: 0,
|
|
11429
11439
|
class: "el-upload__tip"
|
|
11430
11440
|
};
|
|
11431
|
-
const _hoisted_7$
|
|
11432
|
-
function _sfc_render$
|
|
11441
|
+
const _hoisted_7$8 = { class: "uploader-icon" };
|
|
11442
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11433
11443
|
const _component_el_image = resolveComponent("el-image");
|
|
11434
11444
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11435
11445
|
const _component_el_upload = resolveComponent("el-upload");
|
|
@@ -11477,34 +11487,34 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11477
11487
|
fit: "cover",
|
|
11478
11488
|
"preview-teleported": ""
|
|
11479
11489
|
}, null, 8, ["src", "preview-src-list", "initial-index"]),
|
|
11480
|
-
createElementVNode("label", _hoisted_1$
|
|
11481
|
-
createElementVNode("i", _hoisted_2$
|
|
11490
|
+
createElementVNode("label", _hoisted_1$r, [
|
|
11491
|
+
createElementVNode("i", _hoisted_2$i, [
|
|
11482
11492
|
createVNode(_component_svg_icon, {
|
|
11483
11493
|
class: "",
|
|
11484
11494
|
"icon-class": "el-check"
|
|
11485
11495
|
})
|
|
11486
11496
|
])
|
|
11487
11497
|
]),
|
|
11488
|
-
createElementVNode("span", _hoisted_3$
|
|
11498
|
+
createElementVNode("span", _hoisted_3$e, [
|
|
11489
11499
|
createElementVNode("span", {
|
|
11490
11500
|
class: "el-upload-list__item-preview",
|
|
11491
11501
|
onClick: ($event) => $options.handlePictureCardPreview(file)
|
|
11492
11502
|
}, [
|
|
11493
11503
|
createVNode(_component_svg_icon, { "icon-class": "el-zoom-in" })
|
|
11494
|
-
], 8, _hoisted_4$
|
|
11504
|
+
], 8, _hoisted_4$c),
|
|
11495
11505
|
createElementVNode("span", {
|
|
11496
11506
|
class: "el-upload-list__item-delete",
|
|
11497
11507
|
onClick: ($event) => $options.handlePictureRemove(file)
|
|
11498
11508
|
}, [
|
|
11499
11509
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
11500
|
-
], 8, _hoisted_5$
|
|
11510
|
+
], 8, _hoisted_5$a)
|
|
11501
11511
|
])
|
|
11502
11512
|
]),
|
|
11503
11513
|
tip: withCtx(() => [
|
|
11504
|
-
!!$props.field.options.uploadTip ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
11514
|
+
!!$props.field.options.uploadTip ? (openBlock(), createElementBlock("div", _hoisted_6$a, toDisplayString($props.field.options.uploadTip), 1)) : createCommentVNode("", true)
|
|
11505
11515
|
]),
|
|
11506
11516
|
default: withCtx(() => [
|
|
11507
|
-
createElementVNode("div", _hoisted_7$
|
|
11517
|
+
createElementVNode("div", _hoisted_7$8, [
|
|
11508
11518
|
createVNode(_component_svg_icon, { "icon-class": "el-plus" })
|
|
11509
11519
|
])
|
|
11510
11520
|
]),
|
|
@@ -11514,13 +11524,13 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11514
11524
|
_: 1
|
|
11515
11525
|
}, 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"]);
|
|
11516
11526
|
}
|
|
11517
|
-
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11527
|
+
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-4d09ba72"]]);
|
|
11518
11528
|
var __glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11519
11529
|
__proto__: null,
|
|
11520
11530
|
"default": pictureUploadWidget
|
|
11521
11531
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11522
11532
|
var radioWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11523
|
-
const _sfc_main$
|
|
11533
|
+
const _sfc_main$L = {
|
|
11524
11534
|
name: "radio-widget",
|
|
11525
11535
|
componentName: "FieldWidget",
|
|
11526
11536
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11576,7 +11586,7 @@ const _sfc_main$H = {
|
|
|
11576
11586
|
},
|
|
11577
11587
|
methods: {}
|
|
11578
11588
|
};
|
|
11579
|
-
function _sfc_render$
|
|
11589
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11580
11590
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
11581
11591
|
const _component_el_radio = resolveComponent("el-radio");
|
|
11582
11592
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
@@ -11638,13 +11648,13 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11638
11648
|
_: 1
|
|
11639
11649
|
}, 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"]);
|
|
11640
11650
|
}
|
|
11641
|
-
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11651
|
+
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-2579b66d"]]);
|
|
11642
11652
|
var __glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11643
11653
|
__proto__: null,
|
|
11644
11654
|
"default": radioWidget
|
|
11645
11655
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11646
11656
|
var rateWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11647
|
-
const _sfc_main$
|
|
11657
|
+
const _sfc_main$K = {
|
|
11648
11658
|
name: "rate-widget",
|
|
11649
11659
|
componentName: "FieldWidget",
|
|
11650
11660
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11699,7 +11709,7 @@ const _sfc_main$G = {
|
|
|
11699
11709
|
},
|
|
11700
11710
|
methods: {}
|
|
11701
11711
|
};
|
|
11702
|
-
function _sfc_render$
|
|
11712
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11703
11713
|
const _component_el_rate = resolveComponent("el-rate");
|
|
11704
11714
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11705
11715
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -11732,7 +11742,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11732
11742
|
_: 1
|
|
11733
11743
|
}, 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"]);
|
|
11734
11744
|
}
|
|
11735
|
-
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11745
|
+
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-3c7d82fe"]]);
|
|
11736
11746
|
var __glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11737
11747
|
__proto__: null,
|
|
11738
11748
|
"default": rateWidget
|
|
@@ -23068,7 +23078,7 @@ const defaultOptions = {
|
|
|
23068
23078
|
placeholder: "Insert content here ...",
|
|
23069
23079
|
readOnly: false
|
|
23070
23080
|
};
|
|
23071
|
-
const _sfc_main$
|
|
23081
|
+
const _sfc_main$J = {
|
|
23072
23082
|
name: "quill-editor",
|
|
23073
23083
|
props: {
|
|
23074
23084
|
content: String,
|
|
@@ -23172,16 +23182,16 @@ const _sfc_main$F = {
|
|
|
23172
23182
|
return { editor };
|
|
23173
23183
|
}
|
|
23174
23184
|
};
|
|
23175
|
-
const _hoisted_1$
|
|
23176
|
-
function _sfc_render$
|
|
23177
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
23185
|
+
const _hoisted_1$q = { ref: "editor" };
|
|
23186
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23187
|
+
return openBlock(), createElementBlock("section", _hoisted_1$q, null, 512);
|
|
23178
23188
|
}
|
|
23179
|
-
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23189
|
+
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$J]]);
|
|
23180
23190
|
quillEditor.install = function(app) {
|
|
23181
23191
|
app.component(quillEditor.name, quillEditor);
|
|
23182
23192
|
};
|
|
23183
23193
|
var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23184
|
-
const _sfc_main$
|
|
23194
|
+
const _sfc_main$I = {
|
|
23185
23195
|
name: "rich-editor-widget",
|
|
23186
23196
|
componentName: "FieldWidget",
|
|
23187
23197
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23260,7 +23270,7 @@ const _sfc_main$E = {
|
|
|
23260
23270
|
}
|
|
23261
23271
|
}
|
|
23262
23272
|
};
|
|
23263
|
-
function _sfc_render$
|
|
23273
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23264
23274
|
const _component_quill_editor = resolveComponent("quill-editor");
|
|
23265
23275
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23266
23276
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23292,12 +23302,12 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23292
23302
|
_: 1
|
|
23293
23303
|
}, 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"]);
|
|
23294
23304
|
}
|
|
23295
|
-
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23305
|
+
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-6f719fd1"]]);
|
|
23296
23306
|
var __glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23297
23307
|
__proto__: null,
|
|
23298
23308
|
"default": richEditorWidget
|
|
23299
23309
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23300
|
-
const _sfc_main$
|
|
23310
|
+
const _sfc_main$H = {
|
|
23301
23311
|
name: "select-tree-widget",
|
|
23302
23312
|
componentName: "FieldWidget",
|
|
23303
23313
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23357,7 +23367,7 @@ const _sfc_main$D = {
|
|
|
23357
23367
|
this.unregisterFromRefList();
|
|
23358
23368
|
}
|
|
23359
23369
|
};
|
|
23360
|
-
function _sfc_render$
|
|
23370
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23361
23371
|
const _component_el_tree_select = resolveComponent("el-tree-select");
|
|
23362
23372
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23363
23373
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23404,13 +23414,13 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23404
23414
|
_: 1
|
|
23405
23415
|
}, 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"]);
|
|
23406
23416
|
}
|
|
23407
|
-
var selectTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23417
|
+
var selectTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$H]]);
|
|
23408
23418
|
var __glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23409
23419
|
__proto__: null,
|
|
23410
23420
|
"default": selectTreeWidget
|
|
23411
23421
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23412
23422
|
var selectWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23413
|
-
const _sfc_main$
|
|
23423
|
+
const _sfc_main$G = {
|
|
23414
23424
|
name: "select-widget",
|
|
23415
23425
|
componentName: "FieldWidget",
|
|
23416
23426
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23488,7 +23498,7 @@ const _sfc_main$C = {
|
|
|
23488
23498
|
}
|
|
23489
23499
|
}
|
|
23490
23500
|
};
|
|
23491
|
-
function _sfc_render$
|
|
23501
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23492
23502
|
const _component_el_option = resolveComponent("el-option");
|
|
23493
23503
|
const _component_el_select = resolveComponent("el-select");
|
|
23494
23504
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -23542,13 +23552,13 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23542
23552
|
_: 1
|
|
23543
23553
|
}, 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"]);
|
|
23544
23554
|
}
|
|
23545
|
-
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23555
|
+
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-3d1ff454"]]);
|
|
23546
23556
|
var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23547
23557
|
__proto__: null,
|
|
23548
23558
|
"default": selectWidget
|
|
23549
23559
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23550
23560
|
var sliderWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23551
|
-
const _sfc_main$
|
|
23561
|
+
const _sfc_main$F = {
|
|
23552
23562
|
name: "slider-widget",
|
|
23553
23563
|
componentName: "FieldWidget",
|
|
23554
23564
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23603,7 +23613,7 @@ const _sfc_main$B = {
|
|
|
23603
23613
|
},
|
|
23604
23614
|
methods: {}
|
|
23605
23615
|
};
|
|
23606
|
-
function _sfc_render$
|
|
23616
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23607
23617
|
const _component_el_slider = resolveComponent("el-slider");
|
|
23608
23618
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23609
23619
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23636,13 +23646,13 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23636
23646
|
_: 1
|
|
23637
23647
|
}, 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"]);
|
|
23638
23648
|
}
|
|
23639
|
-
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23649
|
+
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-c9a31970"]]);
|
|
23640
23650
|
var __glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23641
23651
|
__proto__: null,
|
|
23642
23652
|
"default": sliderWidget
|
|
23643
23653
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23644
23654
|
var slotWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23645
|
-
const _sfc_main$
|
|
23655
|
+
const _sfc_main$E = {
|
|
23646
23656
|
name: "slot-widget",
|
|
23647
23657
|
componentName: "FieldWidget",
|
|
23648
23658
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23688,11 +23698,11 @@ const _sfc_main$A = {
|
|
|
23688
23698
|
},
|
|
23689
23699
|
methods: {}
|
|
23690
23700
|
};
|
|
23691
|
-
const _hoisted_1$
|
|
23701
|
+
const _hoisted_1$p = {
|
|
23692
23702
|
key: 0,
|
|
23693
23703
|
class: "slot-title"
|
|
23694
23704
|
};
|
|
23695
|
-
function _sfc_render$
|
|
23705
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23696
23706
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
23697
23707
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
23698
23708
|
designer: $props.designer,
|
|
@@ -23710,19 +23720,19 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23710
23720
|
class: normalizeClass([!!$props.designState ? "slot-wrapper-design" : "slot-wrapper-render"])
|
|
23711
23721
|
}, [
|
|
23712
23722
|
renderSlot(_ctx.$slots, $props.field.options.name, { formModel: _ctx.formModel }, void 0, true),
|
|
23713
|
-
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23723
|
+
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$p, toDisplayString($props.field.options.label), 1)) : createCommentVNode("", true)
|
|
23714
23724
|
], 2)
|
|
23715
23725
|
]),
|
|
23716
23726
|
_: 3
|
|
23717
23727
|
}, 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"]);
|
|
23718
23728
|
}
|
|
23719
|
-
var slotWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23729
|
+
var slotWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-95f13fca"]]);
|
|
23720
23730
|
var __glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23721
23731
|
__proto__: null,
|
|
23722
23732
|
"default": slotWidget
|
|
23723
23733
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23724
23734
|
var staticTextWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23725
|
-
const _sfc_main$
|
|
23735
|
+
const _sfc_main$D = {
|
|
23726
23736
|
name: "static-text-widget",
|
|
23727
23737
|
componentName: "FieldWidget",
|
|
23728
23738
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23808,7 +23818,7 @@ const _sfc_main$z = {
|
|
|
23808
23818
|
}
|
|
23809
23819
|
}
|
|
23810
23820
|
};
|
|
23811
|
-
function _sfc_render$
|
|
23821
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23812
23822
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23813
23823
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
23814
23824
|
designer: $props.designer,
|
|
@@ -23835,13 +23845,13 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23835
23845
|
_: 1
|
|
23836
23846
|
}, 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"]);
|
|
23837
23847
|
}
|
|
23838
|
-
var staticTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23848
|
+
var staticTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-760822b6"]]);
|
|
23839
23849
|
var __glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23840
23850
|
__proto__: null,
|
|
23841
23851
|
"default": staticTextWidget
|
|
23842
23852
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23843
23853
|
var switchWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23844
|
-
const _sfc_main$
|
|
23854
|
+
const _sfc_main$C = {
|
|
23845
23855
|
name: "switch-widget",
|
|
23846
23856
|
componentName: "FieldWidget",
|
|
23847
23857
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23896,7 +23906,7 @@ const _sfc_main$y = {
|
|
|
23896
23906
|
},
|
|
23897
23907
|
methods: {}
|
|
23898
23908
|
};
|
|
23899
|
-
function _sfc_render$
|
|
23909
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23900
23910
|
const _component_el_switch = resolveComponent("el-switch");
|
|
23901
23911
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23902
23912
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23928,13 +23938,13 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23928
23938
|
_: 1
|
|
23929
23939
|
}, 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"]);
|
|
23930
23940
|
}
|
|
23931
|
-
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23941
|
+
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-2e8d2d0a"]]);
|
|
23932
23942
|
var __glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23933
23943
|
__proto__: null,
|
|
23934
23944
|
"default": switchWidget
|
|
23935
23945
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23936
23946
|
var textareaWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23937
|
-
const _sfc_main$
|
|
23947
|
+
const _sfc_main$B = {
|
|
23938
23948
|
name: "textarea-widget",
|
|
23939
23949
|
componentName: "FieldWidget",
|
|
23940
23950
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23989,7 +23999,7 @@ const _sfc_main$x = {
|
|
|
23989
23999
|
},
|
|
23990
24000
|
methods: {}
|
|
23991
24001
|
};
|
|
23992
|
-
function _sfc_render$
|
|
24002
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23993
24003
|
const _component_el_input = resolveComponent("el-input");
|
|
23994
24004
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23995
24005
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24027,13 +24037,13 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24027
24037
|
_: 1
|
|
24028
24038
|
}, 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"]);
|
|
24029
24039
|
}
|
|
24030
|
-
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24040
|
+
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-687fedce"]]);
|
|
24031
24041
|
var __glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24032
24042
|
__proto__: null,
|
|
24033
24043
|
"default": textareaWidget
|
|
24034
24044
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24035
24045
|
var timeRangeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24036
|
-
const _sfc_main$
|
|
24046
|
+
const _sfc_main$A = {
|
|
24037
24047
|
name: "time-range-widget",
|
|
24038
24048
|
componentName: "FieldWidget",
|
|
24039
24049
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24088,7 +24098,7 @@ const _sfc_main$w = {
|
|
|
24088
24098
|
},
|
|
24089
24099
|
methods: {}
|
|
24090
24100
|
};
|
|
24091
|
-
function _sfc_render$
|
|
24101
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24092
24102
|
const _component_el_time_picker = resolveComponent("el-time-picker");
|
|
24093
24103
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24094
24104
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24131,13 +24141,13 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24131
24141
|
_: 1
|
|
24132
24142
|
}, 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"]);
|
|
24133
24143
|
}
|
|
24134
|
-
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24144
|
+
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["render", _sfc_render$A], ["__scopeId", "data-v-f78e9b46"]]);
|
|
24135
24145
|
var __glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24136
24146
|
__proto__: null,
|
|
24137
24147
|
"default": timeRangeWidget
|
|
24138
24148
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24139
24149
|
var timeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24140
|
-
const _sfc_main$
|
|
24150
|
+
const _sfc_main$z = {
|
|
24141
24151
|
name: "time-widget",
|
|
24142
24152
|
componentName: "FieldWidget",
|
|
24143
24153
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24192,7 +24202,7 @@ const _sfc_main$v = {
|
|
|
24192
24202
|
},
|
|
24193
24203
|
methods: {}
|
|
24194
24204
|
};
|
|
24195
|
-
function _sfc_render$
|
|
24205
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24196
24206
|
const _component_el_time_picker = resolveComponent("el-time-picker");
|
|
24197
24207
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24198
24208
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24229,7 +24239,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24229
24239
|
_: 1
|
|
24230
24240
|
}, 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"]);
|
|
24231
24241
|
}
|
|
24232
|
-
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24242
|
+
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-60cd3a6a"]]);
|
|
24233
24243
|
var __glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24234
24244
|
__proto__: null,
|
|
24235
24245
|
"default": timeWidget
|
|
@@ -24241,7 +24251,7 @@ for (const path in modules$2) {
|
|
|
24241
24251
|
comps[cname] = modules$2[path].default;
|
|
24242
24252
|
}
|
|
24243
24253
|
var gridColItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24244
|
-
const _sfc_main$
|
|
24254
|
+
const _sfc_main$y = {
|
|
24245
24255
|
name: "GridColItem",
|
|
24246
24256
|
componentName: "ContainerItem",
|
|
24247
24257
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -24360,9 +24370,9 @@ const _sfc_main$u = {
|
|
|
24360
24370
|
}
|
|
24361
24371
|
}
|
|
24362
24372
|
};
|
|
24363
|
-
const _hoisted_1$
|
|
24364
|
-
const _hoisted_2$
|
|
24365
|
-
function _sfc_render$
|
|
24373
|
+
const _hoisted_1$o = { class: "blank-cell" };
|
|
24374
|
+
const _hoisted_2$h = { class: "invisible-content" };
|
|
24375
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24366
24376
|
const _component_el_col = resolveComponent("el-col");
|
|
24367
24377
|
return $props.widget ? withDirectives((openBlock(), createBlock(_component_el_col, mergeProps({
|
|
24368
24378
|
key: 0,
|
|
@@ -24418,8 +24428,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24418
24428
|
], 64);
|
|
24419
24429
|
}), 256)) : (openBlock(), createBlock(_component_el_col, { key: 1 }, {
|
|
24420
24430
|
default: withCtx(() => [
|
|
24421
|
-
createElementVNode("div", _hoisted_1$
|
|
24422
|
-
createElementVNode("span", _hoisted_2$
|
|
24431
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
24432
|
+
createElementVNode("span", _hoisted_2$h, toDisplayString(_ctx.i18nt("render.hint.blankCellContent")), 1)
|
|
24423
24433
|
])
|
|
24424
24434
|
]),
|
|
24425
24435
|
_: 1
|
|
@@ -24430,7 +24440,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24430
24440
|
[vShow, $options.colVisible]
|
|
24431
24441
|
]) : createCommentVNode("", true);
|
|
24432
24442
|
}
|
|
24433
|
-
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24443
|
+
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-746165e2"]]);
|
|
24434
24444
|
var __glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24435
24445
|
__proto__: null,
|
|
24436
24446
|
"default": GridColItem
|
|
@@ -24624,7 +24634,7 @@ var containerItemMixin = {
|
|
|
24624
24634
|
}
|
|
24625
24635
|
}
|
|
24626
24636
|
};
|
|
24627
|
-
const _sfc_main$
|
|
24637
|
+
const _sfc_main$x = {
|
|
24628
24638
|
name: "vf-grid-item",
|
|
24629
24639
|
componentName: "ContainerItem",
|
|
24630
24640
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -24667,7 +24677,7 @@ const _sfc_main$t = {
|
|
|
24667
24677
|
},
|
|
24668
24678
|
methods: {}
|
|
24669
24679
|
};
|
|
24670
|
-
function _sfc_render$
|
|
24680
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24671
24681
|
const _component_grid_col_item = resolveComponent("grid-col-item");
|
|
24672
24682
|
const _component_el_row = resolveComponent("el-row");
|
|
24673
24683
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -24713,13 +24723,13 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24713
24723
|
_: 3
|
|
24714
24724
|
}, 8, ["widget"]);
|
|
24715
24725
|
}
|
|
24716
|
-
var gridItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24726
|
+
var gridItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["render", _sfc_render$x]]);
|
|
24717
24727
|
var __glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24718
24728
|
__proto__: null,
|
|
24719
24729
|
"default": gridItem
|
|
24720
24730
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24721
24731
|
var subFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24722
|
-
const _sfc_main$
|
|
24732
|
+
const _sfc_main$w = {
|
|
24723
24733
|
name: "sub-form-item",
|
|
24724
24734
|
componentName: "ContainerItem",
|
|
24725
24735
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -24920,20 +24930,20 @@ const _sfc_main$s = {
|
|
|
24920
24930
|
}
|
|
24921
24931
|
}
|
|
24922
24932
|
};
|
|
24923
|
-
const _hoisted_1$
|
|
24924
|
-
const _hoisted_2$
|
|
24925
|
-
const _hoisted_3$
|
|
24933
|
+
const _hoisted_1$n = { class: "action-header-column" };
|
|
24934
|
+
const _hoisted_2$g = { class: "action-label" };
|
|
24935
|
+
const _hoisted_3$d = {
|
|
24926
24936
|
key: 0,
|
|
24927
24937
|
class: "custom-label"
|
|
24928
24938
|
};
|
|
24929
|
-
const _hoisted_4$
|
|
24930
|
-
const _hoisted_5$
|
|
24931
|
-
const _hoisted_6$
|
|
24932
|
-
const _hoisted_7$
|
|
24939
|
+
const _hoisted_4$b = ["title"];
|
|
24940
|
+
const _hoisted_5$9 = { class: "sub-form-action-column hide-label" };
|
|
24941
|
+
const _hoisted_6$9 = { class: "action-button-column" };
|
|
24942
|
+
const _hoisted_7$7 = {
|
|
24933
24943
|
key: 0,
|
|
24934
24944
|
class: "row-number-span"
|
|
24935
24945
|
};
|
|
24936
|
-
function _sfc_render$
|
|
24946
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24937
24947
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
24938
24948
|
const _component_el_button = resolveComponent("el-button");
|
|
24939
24949
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
@@ -24947,8 +24957,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24947
24957
|
}, [
|
|
24948
24958
|
createVNode(_component_el_row, { class: "header-row" }, {
|
|
24949
24959
|
default: withCtx(() => [
|
|
24950
|
-
createElementVNode("div", _hoisted_1$
|
|
24951
|
-
createElementVNode("span", _hoisted_2$
|
|
24960
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
24961
|
+
createElementVNode("span", _hoisted_2$g, toDisplayString(_ctx.i18nt("render.hint.subFormAction")), 1),
|
|
24952
24962
|
createVNode(_component_el_button, {
|
|
24953
24963
|
disabled: $data.actionDisabled,
|
|
24954
24964
|
round: "",
|
|
@@ -24971,7 +24981,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24971
24981
|
class: normalizeClass(["field-header-column", [$options.getLabelAlign($props.widget, subWidget), !!subWidget.options.required ? "is-required" : ""]]),
|
|
24972
24982
|
style: normalizeStyle({ width: subWidget.options.columnWidth })
|
|
24973
24983
|
}, [
|
|
24974
|
-
!!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
24984
|
+
!!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_3$d, [
|
|
24975
24985
|
subWidget.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
24976
24986
|
!!subWidget.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
24977
24987
|
createVNode(_component_el_tooltip, {
|
|
@@ -25016,7 +25026,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25016
25026
|
])) : (openBlock(), createElementBlock("span", {
|
|
25017
25027
|
key: 1,
|
|
25018
25028
|
title: subWidget.options.labelTooltip
|
|
25019
|
-
}, toDisplayString(subWidget.options.label), 9, _hoisted_4$
|
|
25029
|
+
}, toDisplayString(subWidget.options.label), 9, _hoisted_4$b))
|
|
25020
25030
|
], 6);
|
|
25021
25031
|
}), 128))
|
|
25022
25032
|
]),
|
|
@@ -25028,8 +25038,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25028
25038
|
key: subFormRowId
|
|
25029
25039
|
}, {
|
|
25030
25040
|
default: withCtx(() => [
|
|
25031
|
-
createElementVNode("div", _hoisted_5$
|
|
25032
|
-
createElementVNode("div", _hoisted_6$
|
|
25041
|
+
createElementVNode("div", _hoisted_5$9, [
|
|
25042
|
+
createElementVNode("div", _hoisted_6$9, [
|
|
25033
25043
|
createVNode(_component_el_button, {
|
|
25034
25044
|
disabled: $data.actionDisabled,
|
|
25035
25045
|
circle: "",
|
|
@@ -25052,7 +25062,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25052
25062
|
]),
|
|
25053
25063
|
_: 1
|
|
25054
25064
|
}, 8, ["disabled", "onClick", "title"]),
|
|
25055
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
25065
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_7$7, "#" + toDisplayString(sfrIdx + 1), 1)) : createCommentVNode("", true)
|
|
25056
25066
|
])
|
|
25057
25067
|
]),
|
|
25058
25068
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
@@ -25095,12 +25105,12 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25095
25105
|
_: 1
|
|
25096
25106
|
}, 8, ["widget"]);
|
|
25097
25107
|
}
|
|
25098
|
-
var subFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25108
|
+
var subFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-59c24e8e"]]);
|
|
25099
25109
|
var __glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25100
25110
|
__proto__: null,
|
|
25101
25111
|
"default": subFormItem
|
|
25102
25112
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25103
|
-
const _sfc_main$
|
|
25113
|
+
const _sfc_main$v = {
|
|
25104
25114
|
name: "tab-item",
|
|
25105
25115
|
componentName: "ContainerItem",
|
|
25106
25116
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25151,7 +25161,7 @@ const _sfc_main$r = {
|
|
|
25151
25161
|
}
|
|
25152
25162
|
}
|
|
25153
25163
|
};
|
|
25154
|
-
function _sfc_render$
|
|
25164
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25155
25165
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
25156
25166
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
25157
25167
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -25226,13 +25236,13 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25226
25236
|
_: 3
|
|
25227
25237
|
}, 8, ["widget"]);
|
|
25228
25238
|
}
|
|
25229
|
-
var tabItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25239
|
+
var tabItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$v]]);
|
|
25230
25240
|
var __glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25231
25241
|
__proto__: null,
|
|
25232
25242
|
"default": tabItem
|
|
25233
25243
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25234
25244
|
var tableCellItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25235
|
-
const _sfc_main$
|
|
25245
|
+
const _sfc_main$u = {
|
|
25236
25246
|
name: "TableCellItem",
|
|
25237
25247
|
componentName: "ContainerItem",
|
|
25238
25248
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -25255,8 +25265,8 @@ const _sfc_main$q = {
|
|
|
25255
25265
|
},
|
|
25256
25266
|
methods: {}
|
|
25257
25267
|
};
|
|
25258
|
-
const _hoisted_1$
|
|
25259
|
-
function _sfc_render$
|
|
25268
|
+
const _hoisted_1$m = ["colspan", "rowspan"];
|
|
25269
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25260
25270
|
return openBlock(), createElementBlock("td", {
|
|
25261
25271
|
class: normalizeClass(["table-cell", [$options.customClass]]),
|
|
25262
25272
|
colspan: $props.widget && $props.widget.options ? $props.widget.options.colspan || 1 : 1,
|
|
@@ -25298,15 +25308,15 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25298
25308
|
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
25299
25309
|
], 64);
|
|
25300
25310
|
}), 256))
|
|
25301
|
-
], 14, _hoisted_1$
|
|
25311
|
+
], 14, _hoisted_1$m);
|
|
25302
25312
|
}
|
|
25303
|
-
var TableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25313
|
+
var TableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-7d6166fa"]]);
|
|
25304
25314
|
var __glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25305
25315
|
__proto__: null,
|
|
25306
25316
|
"default": TableCellItem
|
|
25307
25317
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25308
25318
|
var tableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25309
|
-
const _sfc_main$
|
|
25319
|
+
const _sfc_main$t = {
|
|
25310
25320
|
name: "table-item",
|
|
25311
25321
|
componentName: "ContainerItem",
|
|
25312
25322
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25328,7 +25338,7 @@ const _sfc_main$p = {
|
|
|
25328
25338
|
},
|
|
25329
25339
|
methods: {}
|
|
25330
25340
|
};
|
|
25331
|
-
function _sfc_render$
|
|
25341
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25332
25342
|
const _component_table_cell_item = resolveComponent("table-cell-item");
|
|
25333
25343
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
25334
25344
|
return openBlock(), createBlock(_component_container_item_wrapper, { widget: $props.widget }, {
|
|
@@ -25378,7 +25388,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25378
25388
|
_: 3
|
|
25379
25389
|
}, 8, ["widget"]);
|
|
25380
25390
|
}
|
|
25381
|
-
var tableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25391
|
+
var tableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$t], ["__scopeId", "data-v-3481d843"]]);
|
|
25382
25392
|
var __glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25383
25393
|
__proto__: null,
|
|
25384
25394
|
"default": tableItem
|
|
@@ -25393,7 +25403,7 @@ var ContainerItems = {
|
|
|
25393
25403
|
}
|
|
25394
25404
|
};
|
|
25395
25405
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
25396
|
-
const _sfc_main$
|
|
25406
|
+
const _sfc_main$s = {
|
|
25397
25407
|
name: "VFormRender",
|
|
25398
25408
|
componentName: "VFormRender",
|
|
25399
25409
|
mixins: [emitter, i18n$1],
|
|
@@ -26020,7 +26030,7 @@ const _sfc_main$o = {
|
|
|
26020
26030
|
}
|
|
26021
26031
|
}
|
|
26022
26032
|
};
|
|
26023
|
-
function _sfc_render$
|
|
26033
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26024
26034
|
const _component_el_form = resolveComponent("el-form");
|
|
26025
26035
|
return openBlock(), createBlock(_component_el_form, {
|
|
26026
26036
|
"label-position": $options.labelPosition,
|
|
@@ -26075,7 +26085,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26075
26085
|
_: 3
|
|
26076
26086
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
26077
26087
|
}
|
|
26078
|
-
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
26088
|
+
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-6b16d674"]]);
|
|
26079
26089
|
function registerIcon(app) {
|
|
26080
26090
|
app.component("el-icon-edit", edit);
|
|
26081
26091
|
app.component("el-icon-minus", minus);
|
|
@@ -26090,13 +26100,13 @@ function registerIcon(app) {
|
|
|
26090
26100
|
if (typeof window !== "undefined") {
|
|
26091
26101
|
let loadSvg = function() {
|
|
26092
26102
|
var body = document.body;
|
|
26093
|
-
var svgDom = document.getElementById("
|
|
26103
|
+
var svgDom = document.getElementById("__svg__icons__dom__1777083355306__");
|
|
26094
26104
|
if (!svgDom) {
|
|
26095
26105
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26096
26106
|
svgDom.style.position = "absolute";
|
|
26097
26107
|
svgDom.style.width = "0";
|
|
26098
26108
|
svgDom.style.height = "0";
|
|
26099
|
-
svgDom.id = "
|
|
26109
|
+
svgDom.id = "__svg__icons__dom__1777083355306__";
|
|
26100
26110
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26101
26111
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26102
26112
|
}
|
|
@@ -26341,7 +26351,7 @@ var containerMixin = {
|
|
|
26341
26351
|
}
|
|
26342
26352
|
};
|
|
26343
26353
|
var containerWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26344
|
-
const _sfc_main$
|
|
26354
|
+
const _sfc_main$r = {
|
|
26345
26355
|
name: "container-wrapper",
|
|
26346
26356
|
mixins: [i18n$1, containerMixin],
|
|
26347
26357
|
components: {
|
|
@@ -26360,77 +26370,77 @@ const _sfc_main$n = {
|
|
|
26360
26370
|
}
|
|
26361
26371
|
}
|
|
26362
26372
|
};
|
|
26363
|
-
const _hoisted_1$
|
|
26373
|
+
const _hoisted_1$l = {
|
|
26364
26374
|
key: 0,
|
|
26365
26375
|
class: "container-action"
|
|
26366
26376
|
};
|
|
26367
|
-
const _hoisted_2$
|
|
26368
|
-
const _hoisted_3$
|
|
26369
|
-
const _hoisted_4$
|
|
26370
|
-
const _hoisted_5$
|
|
26371
|
-
const _hoisted_6$
|
|
26372
|
-
const _hoisted_7$
|
|
26373
|
-
const _hoisted_8$
|
|
26377
|
+
const _hoisted_2$f = ["title"];
|
|
26378
|
+
const _hoisted_3$c = ["title"];
|
|
26379
|
+
const _hoisted_4$a = ["title"];
|
|
26380
|
+
const _hoisted_5$8 = ["title"];
|
|
26381
|
+
const _hoisted_6$8 = ["title"];
|
|
26382
|
+
const _hoisted_7$6 = ["title"];
|
|
26383
|
+
const _hoisted_8$5 = ["title"];
|
|
26374
26384
|
const _hoisted_9$3 = {
|
|
26375
26385
|
key: 1,
|
|
26376
26386
|
class: "drag-handler"
|
|
26377
26387
|
};
|
|
26378
26388
|
const _hoisted_10$2 = ["title"];
|
|
26379
26389
|
const _hoisted_11$1 = { key: 0 };
|
|
26380
|
-
function _sfc_render$
|
|
26390
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26381
26391
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
26382
26392
|
return openBlock(), createElementBlock("div", {
|
|
26383
26393
|
class: normalizeClass(["container-wrapper", [$options.customClass]])
|
|
26384
26394
|
}, [
|
|
26385
26395
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
26386
|
-
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26396
|
+
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
26387
26397
|
createElementVNode("i", {
|
|
26388
26398
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
26389
26399
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectParentWidget($props.widget), ["stop"]))
|
|
26390
26400
|
}, [
|
|
26391
26401
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
26392
|
-
], 8, _hoisted_2$
|
|
26402
|
+
], 8, _hoisted_2$f),
|
|
26393
26403
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
26394
26404
|
key: 0,
|
|
26395
26405
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
26396
26406
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.moveUpWidget(), ["stop"]))
|
|
26397
26407
|
}, [
|
|
26398
26408
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
26399
|
-
], 8, _hoisted_3$
|
|
26409
|
+
], 8, _hoisted_3$c)) : createCommentVNode("", true),
|
|
26400
26410
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
26401
26411
|
key: 1,
|
|
26402
26412
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
26403
26413
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => _ctx.moveDownWidget(), ["stop"]))
|
|
26404
26414
|
}, [
|
|
26405
26415
|
createVNode(_component_svg_icon, { "icon-class": "el-move-down" })
|
|
26406
|
-
], 8, _hoisted_4$
|
|
26416
|
+
], 8, _hoisted_4$a)) : createCommentVNode("", true),
|
|
26407
26417
|
$props.widget.type === "table" ? (openBlock(), createElementBlock("i", {
|
|
26408
26418
|
key: 2,
|
|
26409
26419
|
title: _ctx.i18nt("designer.hint.insertRow"),
|
|
26410
26420
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => _ctx.appendTableRow($props.widget), ["stop"]))
|
|
26411
26421
|
}, [
|
|
26412
26422
|
createVNode(_component_svg_icon, { "icon-class": "el-insert-row" })
|
|
26413
|
-
], 8, _hoisted_5$
|
|
26423
|
+
], 8, _hoisted_5$8)) : createCommentVNode("", true),
|
|
26414
26424
|
$props.widget.type === "table" ? (openBlock(), createElementBlock("i", {
|
|
26415
26425
|
key: 3,
|
|
26416
26426
|
title: _ctx.i18nt("designer.hint.insertColumn"),
|
|
26417
26427
|
onClick: _cache[4] || (_cache[4] = withModifiers(($event) => _ctx.appendTableCol($props.widget), ["stop"]))
|
|
26418
26428
|
}, [
|
|
26419
26429
|
createVNode(_component_svg_icon, { "icon-class": "el-insert-column" })
|
|
26420
|
-
], 8, _hoisted_6$
|
|
26430
|
+
], 8, _hoisted_6$8)) : createCommentVNode("", true),
|
|
26421
26431
|
$props.widget.type === "grid" || $props.widget.type === "table" ? (openBlock(), createElementBlock("i", {
|
|
26422
26432
|
key: 4,
|
|
26423
26433
|
title: _ctx.i18nt("designer.hint.cloneWidget"),
|
|
26424
26434
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => _ctx.cloneContainer($props.widget), ["stop"]))
|
|
26425
26435
|
}, [
|
|
26426
26436
|
createVNode(_component_svg_icon, { "icon-class": "el-clone" })
|
|
26427
|
-
], 8, _hoisted_7$
|
|
26437
|
+
], 8, _hoisted_7$6)) : createCommentVNode("", true),
|
|
26428
26438
|
createElementVNode("i", {
|
|
26429
26439
|
title: _ctx.i18nt("designer.hint.remove"),
|
|
26430
26440
|
onClick: _cache[6] || (_cache[6] = withModifiers((...args) => _ctx.removeWidget && _ctx.removeWidget(...args), ["stop"]))
|
|
26431
26441
|
}, [
|
|
26432
26442
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
26433
|
-
], 8, _hoisted_8$
|
|
26443
|
+
], 8, _hoisted_8$5)
|
|
26434
26444
|
])) : createCommentVNode("", true),
|
|
26435
26445
|
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
26436
26446
|
createElementVNode("i", {
|
|
@@ -26445,7 +26455,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26445
26455
|
])) : createCommentVNode("", true)
|
|
26446
26456
|
], 2);
|
|
26447
26457
|
}
|
|
26448
|
-
var ContainerWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
26458
|
+
var ContainerWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render$r], ["__scopeId", "data-v-679de05a"]]);
|
|
26449
26459
|
var __glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26450
26460
|
__proto__: null,
|
|
26451
26461
|
"default": ContainerWrapper
|
|
@@ -26475,7 +26485,7 @@ var refMixinDesign = {
|
|
|
26475
26485
|
}
|
|
26476
26486
|
};
|
|
26477
26487
|
var cardWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26478
|
-
const _sfc_main$
|
|
26488
|
+
const _sfc_main$q = {
|
|
26479
26489
|
name: "card-widget",
|
|
26480
26490
|
componentName: "ContainerWidget",
|
|
26481
26491
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -26515,9 +26525,9 @@ const _sfc_main$m = {
|
|
|
26515
26525
|
}
|
|
26516
26526
|
}
|
|
26517
26527
|
};
|
|
26518
|
-
const _hoisted_1$
|
|
26519
|
-
const _hoisted_2$
|
|
26520
|
-
function _sfc_render$
|
|
26528
|
+
const _hoisted_1$k = { class: "label" };
|
|
26529
|
+
const _hoisted_2$e = { class: "form-widget-list" };
|
|
26530
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26521
26531
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
26522
26532
|
const _component_el_icon = resolveComponent("el-icon");
|
|
26523
26533
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -26551,7 +26561,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26551
26561
|
]),
|
|
26552
26562
|
_: 1
|
|
26553
26563
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
26554
|
-
createElementVNode("div", _hoisted_1$
|
|
26564
|
+
createElementVNode("div", _hoisted_1$k, toDisplayString($props.widget.options.label), 1)
|
|
26555
26565
|
])
|
|
26556
26566
|
]),
|
|
26557
26567
|
default: withCtx(() => [
|
|
@@ -26567,7 +26577,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26567
26577
|
move: $options.checkContainerMove
|
|
26568
26578
|
}), {
|
|
26569
26579
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
26570
|
-
createElementVNode("div", _hoisted_2$
|
|
26580
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
26571
26581
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
26572
26582
|
widget: subWidget,
|
|
26573
26583
|
designer: $props.designer,
|
|
@@ -26595,9 +26605,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26595
26605
|
_: 1
|
|
26596
26606
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
26597
26607
|
}
|
|
26598
|
-
var CardWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
26608
|
+
var CardWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-2c3be1b8"]]);
|
|
26599
26609
|
var cardItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26600
|
-
const _sfc_main$
|
|
26610
|
+
const _sfc_main$p = {
|
|
26601
26611
|
name: "card-item",
|
|
26602
26612
|
componentName: "ContainerItem",
|
|
26603
26613
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -26627,8 +26637,8 @@ const _sfc_main$l = {
|
|
|
26627
26637
|
}
|
|
26628
26638
|
}
|
|
26629
26639
|
};
|
|
26630
|
-
const _hoisted_1$
|
|
26631
|
-
function _sfc_render$
|
|
26640
|
+
const _hoisted_1$j = { class: "label" };
|
|
26641
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26632
26642
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
26633
26643
|
const _component_el_icon = resolveComponent("el-icon");
|
|
26634
26644
|
const _component_el_card = resolveComponent("el-card");
|
|
@@ -26655,7 +26665,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26655
26665
|
]),
|
|
26656
26666
|
_: 1
|
|
26657
26667
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
26658
|
-
createElementVNode("div", _hoisted_1$
|
|
26668
|
+
createElementVNode("div", _hoisted_1$j, toDisplayString($props.widget.options.label), 1)
|
|
26659
26669
|
])
|
|
26660
26670
|
]),
|
|
26661
26671
|
default: withCtx(() => [
|
|
@@ -26704,9 +26714,9 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26704
26714
|
_: 3
|
|
26705
26715
|
}, 8, ["widget"]);
|
|
26706
26716
|
}
|
|
26707
|
-
var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
26717
|
+
var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-2f0daae4"]]);
|
|
26708
26718
|
const ACE_BASE_PATH = "https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini";
|
|
26709
|
-
const _sfc_main$
|
|
26719
|
+
const _sfc_main$o = {
|
|
26710
26720
|
name: "alert-widget",
|
|
26711
26721
|
componentName: "FieldWidget",
|
|
26712
26722
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -26752,7 +26762,7 @@ const _sfc_main$k = {
|
|
|
26752
26762
|
}
|
|
26753
26763
|
}
|
|
26754
26764
|
};
|
|
26755
|
-
function _sfc_render$
|
|
26765
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26756
26766
|
const _component_el_alert = resolveComponent("el-alert");
|
|
26757
26767
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
26758
26768
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -26783,7 +26793,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26783
26793
|
_: 1
|
|
26784
26794
|
}, 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"]);
|
|
26785
26795
|
}
|
|
26786
|
-
var AlertWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
26796
|
+
var AlertWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o]]);
|
|
26787
26797
|
var cryptoJs = { exports: {} };
|
|
26788
26798
|
var core = { exports: {} };
|
|
26789
26799
|
(function(module, exports) {
|
|
@@ -32082,7 +32092,7 @@ var personTree = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGlu
|
|
|
32082
32092
|
var personIcon = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT7nvJbnu4QgOOWkh+S7vSAyPC90aXRsZT4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDIzLjk5OTk1NzEgMjQgMjMuOTk5OTU3MSAyNCAwIDAgMCI+PC9wb2x5Z29uPg0KICAgIDwvZGVmcz4NCiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0i5Zu+5bqTIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzc5LCAtODcpIj4NCiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOOWkh+S7vS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NzksIDg3KSI+DQogICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgIDwvbWFzaz4NCiAgICAgICAgICAgICAgICA8dXNlIGlkPSLokpnniYgiIGZpbGw9IiNFM0U2RjEiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOCIgbWFzaz0idXJsKCNtYXNrLTIpIj4NCiAgICAgICAgICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIuMjgxOCwgMi4yNTc2KSI+DQogICAgICAgICAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iRmlsbC0yIiBmaWxsPSIjRkRFRUVBIiBwb2ludHM9IjEyLjIxNzA4ODIgMTguOTc4MDExIDE2LjM0NjU4MDggMTguOTc4MDExIDE2LjM0NjU4MDggMTMuOTkzMjYyOCAxMi4yMTcwODgyIDEzLjk5MzI2MjgiPjwvcG9seWdvbj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtNiIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTMuOTMyMjcwOCwzLjMzNTQ5NDY2IEwxNy44NTY1NjM4LDMuNzE5NjY1NCBMMjEuMDM2NjAxLDcuMzA1Njg3NTcgQzIxLjAzNjYwMSw3LjMwNTY4NzU3IDIxLjA1MTM0OSw3LjQxMjQwNzk0IDIxLjA2NjI2NzksNy41OTIxMzY2NCBDMjEuNTQ1NjQyOCw3Ljc1OTM3ODQ1IDIxLjg5MzYxOCw4LjI1NDkwNTE4IDIxLjg5MzYxOCw4Ljg0MDIzMTk3IEMyMS44OTM2MTgsOS41MDY4MDY3NyAyMS40NDIzMzQ3LDEwLjA1NjkyMTMgMjAuODU4ODY1NCwxMC4xMzgwMTY1IEMyMC40MzcwNzIzLDExLjU1MDQ3MTQgMTguNzA0NDc3MiwxNi4wNTQ0ODYyIDE0LjI0Mjk4NDYsMTYuMDU0NDg2MiBDOS43OTU0NjA4OSwxNi4wNTQ0ODYyIDguMTA2NDY3NDksMTEuMzgxNjA0OCA3LjY0NTA2NDUsMTAuMTI2NDE1NCBDNy4wOTA5MTA3MywxMC4wMTkwNTA5IDYuNjcwMDUwOTUsOS40ODM5NDU5MyA2LjY3MDA1MDk1LDguODQwMjMxOTcgQzYuNjcwMDUwOTUsOC4yNTIwNTk5NyA3LjAyMTQxNzM4LDcuNzU0NTYzMTggNy41MDQ5MjUzNyw3LjU4OTk1NTEzIEw3LjUwNDUxMzc1LDcuNDg5Mjg3MjQgTDkuMDM4MTY1MjksNS42MzA0MDQ4NSBMMTMuOTMyMjcwOCwzLjMzNTQ5NDY2IFoiIGlkPSLlvaLnirbnu5PlkIgiIGZpbGw9IiNGRkY1RjQiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy41MDQ1MjUxNyw3LjQ4OTI3ODY3IEM3LjIwNDk1NDI4LDUuNzQ1MTY3NSA3LjYzMjg4MjA4LDIuNjE5ODU4OCAxMC43MDcxMDUyLDAuODExMTE5MTY4IEMxMy43OTI0NzExLC0xLjAwNDIyMDQ1IDE4LjEyNzIwNjIsMC42Mjc1MTk0OTYgMTguMTA0NjIwNSwxLjgyMDg3NDUxIEMxOC45MzkzMDQ4LDEuNzg3ODc0NTcgMjEuMzczMjQzMywyLjQ2NjE3MzM2IDIxLjAzNjYwMSw3LjMwNTY3OSBDMjAuNjk4Mjg3Myw3LjI4Mjc1MDQ3IDE3LjgzNDAyMSw3LjA1MzI1MDg4IDE2LjQxMzEzNzgsNC42NDM2MTIzMiBDMTUuOTg0NjEsNS4wMzM3NDAyIDEzLjk3NzM1NjUsNi42NDAxNTE2MiAxMS4wNDU0MTg4LDYuODY5NjUxMjEgQzkuNjI0NTM1NjcsNi45ODQzNzk1NyA3Ljg2NTM4MTY3LDYuOTM4NDc5NjUgNy41MDQ1MjUxNyw3LjQ4OTI3ODY3IiBpZD0iRmlsbC01IiBmaWxsPSIjNjQ2NjdBIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI4LjU2MzY3NzYsMjcuODAyMDY2NyBDMjguNTYzNjc3NiwzMy4zOTI5NDI0IDIxLjU0NDc2MTUsMzcuOTI1MjQ4NiAxNC4yODE4MTc0LDM3LjkyNTI0ODYgQzcuMDE4OTE2MDQsMzcuOTI1MjQ4NiAwLDMzLjM5Mjk0MjQgMCwyNy44MDIwNjY3IEMwLDIzLjI5MzUwMzMgMS40MDE0Njg5MywxNy45MTEyMTI5IDEzLjQyNjAwNDYsMTcuNjg2MTcwNSBDMTMuNTA5NjE4NywxNy45NTMyOTg2IDEzLjk2NjIxNzksMTguMzAwMTQwOCAxNC4yMzUxODg5LDE4LjMwMDE0MDggQzE0LjQ4Mjk0NTYsMTguMzAwMTQwOCAxNS4wOTIzMzAyLDE4LjA2MDk1NTUgMTUuMDgwNDE1OSwxNy42ODUyMjc2IEMyNy4xNjEyMjI5LDE3Ljg5ODA5ODcgMjguNTYzNjc3NiwyMy40MTgzNDU5IDI4LjU2MzY3NzYsMjcuODAyMDY2NyIgaWQ9IkZpbGwtMTEiIGZpbGw9IiM2NDY2N0EiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTEuODU2MTQxNywxNi41NzcwMTY3IEwxMS4wODcyNDMxLDE3LjM0NDU4NjggQzExLjAwNDIyODksMTcuNDI3NTE1MiAxMC45ODE3NzE4LDE3LjU0OTc4NjQgMTEuMDMwMzcxNywxNy42NTQ1NzE5IEwxMi40NTI2MjYzLDIwLjcxOTgzNzkgQzEyLjUwMDI4MzQsMjAuODIyNTY2MyAxMi42MDcyMTE4LDIwLjg4ODgyMzMgMTIuNzI1MjQwMSwyMC44ODg4MjMzIEwxNS44MzE2OTE3LDIwLjg4ODgyMzMgQzE1Ljk0OTA3NzIsMjAuODg4ODIzMyAxNi4wNTU1MzQyLDIwLjgyMzI5NDkgMTYuMTAzNTc3LDIwLjcyMTQyMzYgTDE3LjUzMjU2MDEsMTcuNjkxMzQzMyBDMTcuNTgzMTc0MywxNy41ODQwMjkyIDE3LjU1ODgzMTUsMTcuNDU4MTE1MiAxNy40NzE0MDMxLDE3LjM3NDkyOTYgTDE2LjYyMzczMzIsMTYuNTY4NjE2NyBDMTYuNTA2ODE5MSwxNi40NTc0MDI3IDE2LjMxNzAwNTEsMTYuNDU4MDAyNyAxNi4yMDA4NjI1LDE2LjU3MDAzMSBMMTQuOTI5MjA3NiwxNy43OTY3Mjg4IEMxNC44NzMxOTM0LDE3Ljg1MDcyODcgMTQuNzk2Nzc5MywxNy44ODExNTczIDE0LjcxNzAyMjMsMTcuODgxMTU3MyBMMTMuNzgyMTM4MiwxNy44ODExNTczIEMxMy43MDMxMDk4LDE3Ljg4MTE1NzMgMTMuNjI3MzM4NSwxNy44NTEyODU5IDEzLjU3MTQ1MjksMTcuNzk4MTQzMSBMMTIuMjgyNTY5NSwxNi41NzIxMzEgQzEyLjE2NDE5ODMsMTYuNDU5NTQ1NSAxMS45NzE1OTg2LDE2LjQ2MTczMTIgMTEuODU2MTQxNywxNi41NzcwMTY3IiBpZD0iRmlsbC0xMyIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xNC41NTEwNTQsMTcuODU1OTc4NyBMMTQuMDE1NjgzNSwxNy44NTU5Nzg3IEMxMy44ODk4OTgxLDE3Ljg1NTk3ODcgMTMuNzgwMTQxMSwxNy45NDExMzU3IDEzLjc0ODgxMjYsMTguMDYyODkyNiBMMTIuOTg2NzI4MiwyMS4wMjY5NzMxIEMxMi45NzIwMjgzLDIxLjA4NDEwMTUgMTIuOTc2MDk5NywyMS4xNDQ0NDQzIDEyLjk5ODI1NjgsMjEuMTk5MTI5OSBMMTMuNzMyMjY5OCwyMy4wMDk0MTI0IEMxMy43NzQ0NDExLDIzLjExMzM4MzYgMTMuODc1NDEyNCwyMy4xODEzOTc4IDEzLjk4NzYxMjIsMjMuMTgxMzk3OCBMMTQuNTc5MTI1NCwyMy4xODEzOTc4IEMxNC42OTEyODIzLDIzLjE4MTM5NzggMTQuNzkyMjk2NCwyMy4xMTMzODM2IDE0LjgzNDQ2NzgsMjMuMDA5NDEyNCBMMTUuNTY4NDgwOCwyMS4xOTkxMjk5IEMxNS41OTA2Mzc5LDIxLjE0NDQ0NDMgMTUuNTk0NjY2NCwyMS4wODQxMDE1IDE1LjU4MDAwOTMsMjEuMDI2OTczMSBMMTQuODE3OTI1LDE4LjA2Mjg5MjYgQzE0Ljc4NjU5NjUsMTcuOTQxMTM1NyAxNC42NzY3OTY2LDE3Ljg1NTk3ODcgMTQuNTUxMDU0LDE3Ljg1NTk3ODciIGlkPSJGaWxsLTE1IiBmaWxsPSIjQTNBREMzIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=";
|
|
32083
32093
|
var personTreeItem_vue_vue_type_style_index_0_lang = "";
|
|
32084
32094
|
var personTreeItem_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
32085
|
-
const _sfc_main$
|
|
32095
|
+
const _sfc_main$n = {
|
|
32086
32096
|
name: "person-tree-widget",
|
|
32087
32097
|
componentName: "FieldWidget",
|
|
32088
32098
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -32378,10 +32388,10 @@ const _sfc_main$j = {
|
|
|
32378
32388
|
}
|
|
32379
32389
|
}
|
|
32380
32390
|
};
|
|
32381
|
-
const _hoisted_1$
|
|
32382
|
-
const _hoisted_2$
|
|
32383
|
-
const _hoisted_3$
|
|
32384
|
-
function _sfc_render$
|
|
32391
|
+
const _hoisted_1$i = { class: "person-tree-widget__trigger" };
|
|
32392
|
+
const _hoisted_2$d = { class: "flex items-center" };
|
|
32393
|
+
const _hoisted_3$b = { class: "dialog-footer" };
|
|
32394
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32385
32395
|
const _component_el_input_tag = resolveComponent("el-input-tag");
|
|
32386
32396
|
const _component_el_input = resolveComponent("el-input");
|
|
32387
32397
|
const _component_el_tree = resolveComponent("el-tree");
|
|
@@ -32406,7 +32416,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32406
32416
|
class: "person-tree-widget",
|
|
32407
32417
|
style: normalizeStyle($options.widgetStyle)
|
|
32408
32418
|
}, [
|
|
32409
|
-
createElementVNode("div", _hoisted_1$
|
|
32419
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
32410
32420
|
createVNode(_component_el_input_tag, {
|
|
32411
32421
|
modelValue: $options.displayModel,
|
|
32412
32422
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.displayModel = $event),
|
|
@@ -32419,7 +32429,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32419
32429
|
onRemoveTag: $options.handleRemoveTag
|
|
32420
32430
|
}, {
|
|
32421
32431
|
tag: withCtx(({ value: value2 }) => [
|
|
32422
|
-
createElementVNode("div", _hoisted_2$
|
|
32432
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
32423
32433
|
createElementVNode("span", null, toDisplayString(value2.name), 1)
|
|
32424
32434
|
])
|
|
32425
32435
|
]),
|
|
@@ -32471,7 +32481,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32471
32481
|
!$props.field.options.hideFooter ? {
|
|
32472
32482
|
name: "footer",
|
|
32473
32483
|
fn: withCtx(() => [
|
|
32474
|
-
createElementVNode("div", _hoisted_3$
|
|
32484
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
32475
32485
|
createVNode(_component_el_button, {
|
|
32476
32486
|
onClick: $options.handleCancel,
|
|
32477
32487
|
size: "default"
|
|
@@ -32501,8 +32511,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32501
32511
|
_: 1
|
|
32502
32512
|
}, 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"]);
|
|
32503
32513
|
}
|
|
32504
|
-
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
32505
|
-
const _sfc_main$
|
|
32514
|
+
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-4b777d5b"]]);
|
|
32515
|
+
const _sfc_main$m = {
|
|
32506
32516
|
name: "radio-other-widget",
|
|
32507
32517
|
componentName: "FieldWidget",
|
|
32508
32518
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -32617,7 +32627,7 @@ const _sfc_main$i = {
|
|
|
32617
32627
|
}
|
|
32618
32628
|
}
|
|
32619
32629
|
};
|
|
32620
|
-
function _sfc_render$
|
|
32630
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32621
32631
|
const _component_el_radio = resolveComponent("el-radio");
|
|
32622
32632
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
32623
32633
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -32673,8 +32683,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32673
32683
|
_: 1
|
|
32674
32684
|
}, 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"]);
|
|
32675
32685
|
}
|
|
32676
|
-
var radioOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
32677
|
-
const _sfc_main$
|
|
32686
|
+
var radioOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$m]]);
|
|
32687
|
+
const _sfc_main$l = {
|
|
32678
32688
|
name: "select-other-widget",
|
|
32679
32689
|
componentName: "FieldWidget",
|
|
32680
32690
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -32783,7 +32793,7 @@ const _sfc_main$h = {
|
|
|
32783
32793
|
}
|
|
32784
32794
|
}
|
|
32785
32795
|
};
|
|
32786
|
-
function _sfc_render$
|
|
32796
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32787
32797
|
const _component_el_option = resolveComponent("el-option");
|
|
32788
32798
|
const _component_el_select = resolveComponent("el-select");
|
|
32789
32799
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -32846,9 +32856,9 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32846
32856
|
_: 1
|
|
32847
32857
|
}, 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"]);
|
|
32848
32858
|
}
|
|
32849
|
-
var selectOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
32859
|
+
var selectOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_render$l]]);
|
|
32850
32860
|
var meetingRoomItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
32851
|
-
const _sfc_main$
|
|
32861
|
+
const _sfc_main$k = {
|
|
32852
32862
|
name: "meeting-room-widget",
|
|
32853
32863
|
componentName: "FieldWidget",
|
|
32854
32864
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33007,26 +33017,26 @@ const _sfc_main$g = {
|
|
|
33007
33017
|
}
|
|
33008
33018
|
}
|
|
33009
33019
|
};
|
|
33010
|
-
const _hoisted_1$
|
|
33020
|
+
const _hoisted_1$h = {
|
|
33011
33021
|
key: 0,
|
|
33012
33022
|
class: "empty-wrap"
|
|
33013
33023
|
};
|
|
33014
|
-
const _hoisted_2$
|
|
33024
|
+
const _hoisted_2$c = {
|
|
33015
33025
|
key: 1,
|
|
33016
33026
|
class: "room-wrap"
|
|
33017
33027
|
};
|
|
33018
|
-
const _hoisted_3$
|
|
33019
|
-
const _hoisted_4$
|
|
33020
|
-
const _hoisted_5$
|
|
33021
|
-
const _hoisted_6$
|
|
33028
|
+
const _hoisted_3$a = ["onClick"];
|
|
33029
|
+
const _hoisted_4$9 = { class: "select-icon" };
|
|
33030
|
+
const _hoisted_5$7 = { class: "room-item-name" };
|
|
33031
|
+
const _hoisted_6$7 = {
|
|
33022
33032
|
key: 0,
|
|
33023
33033
|
class: "room-item-capacity"
|
|
33024
33034
|
};
|
|
33025
|
-
const _hoisted_7$
|
|
33035
|
+
const _hoisted_7$5 = {
|
|
33026
33036
|
key: 1,
|
|
33027
33037
|
class: "room-item-equipment"
|
|
33028
33038
|
};
|
|
33029
|
-
function _sfc_render$
|
|
33039
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33030
33040
|
const _component_el_input = resolveComponent("el-input");
|
|
33031
33041
|
const _component_el_empty = resolveComponent("el-empty");
|
|
33032
33042
|
const _component_Select = resolveComponent("Select");
|
|
@@ -33068,9 +33078,9 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33068
33078
|
]),
|
|
33069
33079
|
default: withCtx(() => [
|
|
33070
33080
|
createElementVNode("div", null, [
|
|
33071
|
-
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
33081
|
+
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
33072
33082
|
createVNode(_component_el_empty, { description: "\u6682\u65E0\u6570\u636E" })
|
|
33073
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
33083
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$c, [
|
|
33074
33084
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.roomList, (item) => {
|
|
33075
33085
|
var _a;
|
|
33076
33086
|
return openBlock(), createElementBlock("div", {
|
|
@@ -33083,7 +33093,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33083
33093
|
key: item.id || item.value,
|
|
33084
33094
|
onClick: ($event) => $options.handleSelectRoom(item)
|
|
33085
33095
|
}, [
|
|
33086
|
-
withDirectives(createElementVNode("div", _hoisted_4$
|
|
33096
|
+
withDirectives(createElementVNode("div", _hoisted_4$9, [
|
|
33087
33097
|
createVNode(_component_el_icon, null, {
|
|
33088
33098
|
default: withCtx(() => [
|
|
33089
33099
|
createVNode(_component_Select)
|
|
@@ -33093,16 +33103,16 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33093
33103
|
], 512), [
|
|
33094
33104
|
[vShow, $options.handleSelect(item)]
|
|
33095
33105
|
]),
|
|
33096
|
-
createElementVNode("div", _hoisted_5$
|
|
33106
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
33097
33107
|
createElementVNode("span", null, toDisplayString(item.roomName), 1)
|
|
33098
33108
|
]),
|
|
33099
|
-
item.capacity ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
33109
|
+
item.capacity ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
33100
33110
|
createElementVNode("span", null, "\u5BB9\u91CF\uFF1A" + toDisplayString(item.capacity), 1)
|
|
33101
33111
|
])) : createCommentVNode("", true),
|
|
33102
|
-
item.equipment ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
33112
|
+
item.equipment ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
33103
33113
|
createElementVNode("span", null, "\u8BBE\u5907\uFF1A" + toDisplayString(item.equipment), 1)
|
|
33104
33114
|
])) : createCommentVNode("", true)
|
|
33105
|
-
], 10, _hoisted_3$
|
|
33115
|
+
], 10, _hoisted_3$a);
|
|
33106
33116
|
}), 128))
|
|
33107
33117
|
]))
|
|
33108
33118
|
])
|
|
@@ -33113,9 +33123,9 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33113
33123
|
_: 1
|
|
33114
33124
|
}, 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"]);
|
|
33115
33125
|
}
|
|
33116
|
-
var meetingRoomItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33126
|
+
var meetingRoomItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-344c32a1"]]);
|
|
33117
33127
|
var gridColWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33118
|
-
const _sfc_main$
|
|
33128
|
+
const _sfc_main$j = {
|
|
33119
33129
|
name: "GridColWidget",
|
|
33120
33130
|
componentName: "GridColWidget",
|
|
33121
33131
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -33317,17 +33327,17 @@ const _sfc_main$f = {
|
|
|
33317
33327
|
}
|
|
33318
33328
|
}
|
|
33319
33329
|
};
|
|
33320
|
-
const _hoisted_1$
|
|
33321
|
-
const _hoisted_2$
|
|
33330
|
+
const _hoisted_1$g = { class: "form-widget-list" };
|
|
33331
|
+
const _hoisted_2$b = {
|
|
33322
33332
|
key: 0,
|
|
33323
33333
|
class: "grid-col-action"
|
|
33324
33334
|
};
|
|
33325
|
-
const _hoisted_3$
|
|
33326
|
-
const _hoisted_4$
|
|
33327
|
-
const _hoisted_5$
|
|
33328
|
-
const _hoisted_6$
|
|
33329
|
-
const _hoisted_7$
|
|
33330
|
-
const _hoisted_8$
|
|
33335
|
+
const _hoisted_3$9 = ["title"];
|
|
33336
|
+
const _hoisted_4$8 = ["title"];
|
|
33337
|
+
const _hoisted_5$6 = ["title"];
|
|
33338
|
+
const _hoisted_6$6 = ["title"];
|
|
33339
|
+
const _hoisted_7$4 = ["title"];
|
|
33340
|
+
const _hoisted_8$4 = {
|
|
33331
33341
|
key: 1,
|
|
33332
33342
|
class: "grid-col-handler"
|
|
33333
33343
|
};
|
|
@@ -33335,7 +33345,7 @@ const _hoisted_9$2 = {
|
|
|
33335
33345
|
key: 0,
|
|
33336
33346
|
class: "col-hidden-tag"
|
|
33337
33347
|
};
|
|
33338
|
-
function _sfc_render$
|
|
33348
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33339
33349
|
const _component_draggable = resolveComponent("draggable");
|
|
33340
33350
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
33341
33351
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -33362,7 +33372,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33362
33372
|
move: $options.checkContainerMove
|
|
33363
33373
|
}), {
|
|
33364
33374
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
33365
|
-
createElementVNode("div", _hoisted_1$
|
|
33375
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
33366
33376
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
33367
33377
|
widget: subWidget,
|
|
33368
33378
|
designer: $props.designer,
|
|
@@ -33387,41 +33397,41 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33387
33397
|
]),
|
|
33388
33398
|
_: 1
|
|
33389
33399
|
}, 16, ["list", "onUpdate", "move"]),
|
|
33390
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
33400
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
|
|
33391
33401
|
createElementVNode("i", {
|
|
33392
33402
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
33393
33403
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget($props.widget), ["stop"]))
|
|
33394
33404
|
}, [
|
|
33395
33405
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
33396
|
-
], 8, _hoisted_3$
|
|
33406
|
+
], 8, _hoisted_3$9),
|
|
33397
33407
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
33398
33408
|
key: 0,
|
|
33399
33409
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
33400
33410
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => $options.moveUpWidget(), ["stop"]))
|
|
33401
33411
|
}, [
|
|
33402
33412
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
33403
|
-
], 8, _hoisted_4$
|
|
33413
|
+
], 8, _hoisted_4$8)) : createCommentVNode("", true),
|
|
33404
33414
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
33405
33415
|
key: 1,
|
|
33406
33416
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
33407
33417
|
onClick: _cache[4] || (_cache[4] = withModifiers(($event) => $options.moveDownWidget(), ["stop"]))
|
|
33408
33418
|
}, [
|
|
33409
33419
|
createVNode(_component_svg_icon, { "icon-class": "el-move-down" })
|
|
33410
|
-
], 8, _hoisted_5$
|
|
33420
|
+
], 8, _hoisted_5$6)) : createCommentVNode("", true),
|
|
33411
33421
|
createElementVNode("i", {
|
|
33412
33422
|
title: _ctx.i18nt("designer.hint.cloneWidget"),
|
|
33413
33423
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => $options.cloneGridCol($props.widget), ["stop"]))
|
|
33414
33424
|
}, [
|
|
33415
33425
|
createVNode(_component_svg_icon, { "icon-class": "el-clone" })
|
|
33416
|
-
], 8, _hoisted_6$
|
|
33426
|
+
], 8, _hoisted_6$6),
|
|
33417
33427
|
createElementVNode("i", {
|
|
33418
33428
|
title: _ctx.i18nt("designer.hint.remove"),
|
|
33419
33429
|
onClick: _cache[6] || (_cache[6] = withModifiers((...args) => $options.removeWidget && $options.removeWidget(...args), ["stop"]))
|
|
33420
33430
|
}, [
|
|
33421
33431
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
33422
|
-
], 8, _hoisted_7$
|
|
33432
|
+
], 8, _hoisted_7$4)
|
|
33423
33433
|
])) : createCommentVNode("", true),
|
|
33424
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
33434
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
|
|
33425
33435
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1),
|
|
33426
33436
|
$props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$2, [
|
|
33427
33437
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
@@ -33431,13 +33441,13 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33431
33441
|
_: 1
|
|
33432
33442
|
}, 16, ["class", "style"])) : createCommentVNode("", true);
|
|
33433
33443
|
}
|
|
33434
|
-
var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33444
|
+
var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-cb053c20"]]);
|
|
33435
33445
|
var __glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33436
33446
|
__proto__: null,
|
|
33437
33447
|
"default": GridColWidget
|
|
33438
33448
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
33439
33449
|
var gridWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33440
|
-
const _sfc_main$
|
|
33450
|
+
const _sfc_main$i = {
|
|
33441
33451
|
name: "grid-widget",
|
|
33442
33452
|
componentName: "ContainerWidget",
|
|
33443
33453
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -33469,7 +33479,7 @@ const _sfc_main$e = {
|
|
|
33469
33479
|
},
|
|
33470
33480
|
methods: {}
|
|
33471
33481
|
};
|
|
33472
|
-
function _sfc_render$
|
|
33482
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33473
33483
|
const _component_grid_col_widget = resolveComponent("grid-col-widget");
|
|
33474
33484
|
const _component_el_row = resolveComponent("el-row");
|
|
33475
33485
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
@@ -33506,13 +33516,13 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33506
33516
|
_: 1
|
|
33507
33517
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
33508
33518
|
}
|
|
33509
|
-
var gridWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33519
|
+
var gridWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-2b4f7bb7"]]);
|
|
33510
33520
|
var __glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33511
33521
|
__proto__: null,
|
|
33512
33522
|
"default": gridWidget
|
|
33513
33523
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
33514
33524
|
var tabWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33515
|
-
const _sfc_main$
|
|
33525
|
+
const _sfc_main$h = {
|
|
33516
33526
|
name: "tab-widget",
|
|
33517
33527
|
componentName: "ContainerWidget",
|
|
33518
33528
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -33555,8 +33565,8 @@ const _sfc_main$d = {
|
|
|
33555
33565
|
}
|
|
33556
33566
|
}
|
|
33557
33567
|
};
|
|
33558
|
-
const _hoisted_1$
|
|
33559
|
-
function _sfc_render$
|
|
33568
|
+
const _hoisted_1$f = { class: "form-widget-list" };
|
|
33569
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33560
33570
|
const _component_draggable = resolveComponent("draggable");
|
|
33561
33571
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
33562
33572
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
@@ -33601,7 +33611,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33601
33611
|
move: _ctx.checkContainerMove
|
|
33602
33612
|
}), {
|
|
33603
33613
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
33604
|
-
createElementVNode("div", _hoisted_1$
|
|
33614
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
33605
33615
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
33606
33616
|
widget: subWidget,
|
|
33607
33617
|
designer: $props.designer,
|
|
@@ -33634,13 +33644,13 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33634
33644
|
_: 1
|
|
33635
33645
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
33636
33646
|
}
|
|
33637
|
-
var tabWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33647
|
+
var tabWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-2c29f864"]]);
|
|
33638
33648
|
var __glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33639
33649
|
__proto__: null,
|
|
33640
33650
|
"default": tabWidget
|
|
33641
33651
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
33642
33652
|
var tableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33643
|
-
const _sfc_main$
|
|
33653
|
+
const _sfc_main$g = {
|
|
33644
33654
|
name: "TableCellWidget",
|
|
33645
33655
|
componentName: "TableCellWidget",
|
|
33646
33656
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -33805,19 +33815,19 @@ const _sfc_main$c = {
|
|
|
33805
33815
|
}
|
|
33806
33816
|
}
|
|
33807
33817
|
};
|
|
33808
|
-
const _hoisted_1$
|
|
33809
|
-
const _hoisted_2$
|
|
33810
|
-
const _hoisted_3$
|
|
33818
|
+
const _hoisted_1$e = ["colspan", "rowspan"];
|
|
33819
|
+
const _hoisted_2$a = { class: "form-widget-list" };
|
|
33820
|
+
const _hoisted_3$8 = {
|
|
33811
33821
|
key: 0,
|
|
33812
33822
|
class: "table-cell-action"
|
|
33813
33823
|
};
|
|
33814
|
-
const _hoisted_4$
|
|
33815
|
-
const _hoisted_5$
|
|
33816
|
-
const _hoisted_6$
|
|
33824
|
+
const _hoisted_4$7 = ["title"];
|
|
33825
|
+
const _hoisted_5$5 = ["title"];
|
|
33826
|
+
const _hoisted_6$5 = {
|
|
33817
33827
|
key: 1,
|
|
33818
33828
|
class: "table-cell-handler"
|
|
33819
33829
|
};
|
|
33820
|
-
function _sfc_render$
|
|
33830
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33821
33831
|
const _component_draggable = resolveComponent("draggable");
|
|
33822
33832
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
33823
33833
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -33843,7 +33853,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33843
33853
|
move: $options.checkContainerMove
|
|
33844
33854
|
}), {
|
|
33845
33855
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
33846
|
-
createElementVNode("div", _hoisted_2$
|
|
33856
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
33847
33857
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
33848
33858
|
widget: subWidget,
|
|
33849
33859
|
designer: $props.designer,
|
|
@@ -33864,13 +33874,13 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33864
33874
|
]),
|
|
33865
33875
|
_: 1
|
|
33866
33876
|
}, 16, ["list", "onUpdate", "move"]),
|
|
33867
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
33877
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
33868
33878
|
createElementVNode("i", {
|
|
33869
33879
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
33870
33880
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget(), ["stop"]))
|
|
33871
33881
|
}, [
|
|
33872
33882
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
33873
|
-
], 8, _hoisted_4$
|
|
33883
|
+
], 8, _hoisted_4$7),
|
|
33874
33884
|
createVNode(_component_el_dropdown, {
|
|
33875
33885
|
trigger: "click",
|
|
33876
33886
|
onCommand: $options.handleTableCellCommand,
|
|
@@ -34006,23 +34016,23 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34006
34016
|
title: _ctx.i18nt("designer.hint.cellSetting")
|
|
34007
34017
|
}, [
|
|
34008
34018
|
createVNode(_component_svg_icon, { "icon-class": "el-menu" })
|
|
34009
|
-
], 8, _hoisted_5$
|
|
34019
|
+
], 8, _hoisted_5$5)
|
|
34010
34020
|
]),
|
|
34011
34021
|
_: 1
|
|
34012
34022
|
}, 8, ["onCommand"])
|
|
34013
34023
|
])) : createCommentVNode("", true),
|
|
34014
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
34024
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
34015
34025
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1)
|
|
34016
34026
|
])) : createCommentVNode("", true)
|
|
34017
|
-
], 14, _hoisted_1$
|
|
34027
|
+
], 14, _hoisted_1$e);
|
|
34018
34028
|
}
|
|
34019
|
-
var TableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34029
|
+
var TableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-2dc3e6c7"]]);
|
|
34020
34030
|
var __glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34021
34031
|
__proto__: null,
|
|
34022
34032
|
"default": TableCellWidget
|
|
34023
34033
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34024
34034
|
var tableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34025
|
-
const _sfc_main$
|
|
34035
|
+
const _sfc_main$f = {
|
|
34026
34036
|
name: "table-widget",
|
|
34027
34037
|
componentName: "ContainerWidget",
|
|
34028
34038
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34054,8 +34064,8 @@ const _sfc_main$b = {
|
|
|
34054
34064
|
},
|
|
34055
34065
|
methods: {}
|
|
34056
34066
|
};
|
|
34057
|
-
const _hoisted_1$
|
|
34058
|
-
function _sfc_render$
|
|
34067
|
+
const _hoisted_1$d = { class: "table-layout" };
|
|
34068
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34059
34069
|
const _component_table_cell_widget = resolveComponent("table-cell-widget");
|
|
34060
34070
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
34061
34071
|
return openBlock(), createBlock(_component_container_wrapper, {
|
|
@@ -34071,7 +34081,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34071
34081
|
class: normalizeClass(["table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34072
34082
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34073
34083
|
}, [
|
|
34074
|
-
createElementVNode("table", _hoisted_1$
|
|
34084
|
+
createElementVNode("table", _hoisted_1$d, [
|
|
34075
34085
|
createElementVNode("tbody", null, [
|
|
34076
34086
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
34077
34087
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -34103,7 +34113,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34103
34113
|
_: 1
|
|
34104
34114
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34105
34115
|
}
|
|
34106
|
-
var tableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34116
|
+
var tableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-2fde56df"]]);
|
|
34107
34117
|
var __glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34108
34118
|
__proto__: null,
|
|
34109
34119
|
"default": tableWidget
|
|
@@ -34118,7 +34128,7 @@ var ContainerComponents = {
|
|
|
34118
34128
|
}
|
|
34119
34129
|
};
|
|
34120
34130
|
var customSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34121
|
-
const _sfc_main$
|
|
34131
|
+
const _sfc_main$e = {
|
|
34122
34132
|
name: "custom-sub-form-widget",
|
|
34123
34133
|
componentName: "ContainerWidget",
|
|
34124
34134
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34168,26 +34178,26 @@ const _sfc_main$a = {
|
|
|
34168
34178
|
}
|
|
34169
34179
|
}
|
|
34170
34180
|
};
|
|
34171
|
-
const _hoisted_1$
|
|
34172
|
-
const _hoisted_2$
|
|
34173
|
-
const _hoisted_3$
|
|
34174
|
-
const _hoisted_4$
|
|
34175
|
-
const _hoisted_5$
|
|
34181
|
+
const _hoisted_1$c = { class: "sub-form-header" };
|
|
34182
|
+
const _hoisted_2$9 = { class: "sub-form-label" };
|
|
34183
|
+
const _hoisted_3$7 = { class: "group-header" };
|
|
34184
|
+
const _hoisted_4$6 = { class: "group-title" };
|
|
34185
|
+
const _hoisted_5$4 = {
|
|
34176
34186
|
key: 0,
|
|
34177
34187
|
class: "row-number-span"
|
|
34178
34188
|
};
|
|
34179
|
-
const _hoisted_6$
|
|
34189
|
+
const _hoisted_6$4 = {
|
|
34180
34190
|
key: 1,
|
|
34181
34191
|
class: "row-number-span"
|
|
34182
34192
|
};
|
|
34183
|
-
const _hoisted_7$
|
|
34184
|
-
const _hoisted_8$
|
|
34193
|
+
const _hoisted_7$3 = { class: "group-actions" };
|
|
34194
|
+
const _hoisted_8$3 = { class: "group-content" };
|
|
34185
34195
|
const _hoisted_9$1 = { class: "form-widget-list" };
|
|
34186
34196
|
const _hoisted_10$1 = {
|
|
34187
34197
|
key: 0,
|
|
34188
34198
|
class: "empty-hint"
|
|
34189
34199
|
};
|
|
34190
|
-
function _sfc_render$
|
|
34200
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34191
34201
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34192
34202
|
const _component_el_button = resolveComponent("el-button");
|
|
34193
34203
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -34205,19 +34215,19 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34205
34215
|
class: normalizeClass(["custom-sub-form-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34206
34216
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34207
34217
|
}, [
|
|
34208
|
-
createElementVNode("div", _hoisted_1$
|
|
34209
|
-
createElementVNode("span", _hoisted_2$
|
|
34218
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
34219
|
+
createElementVNode("span", _hoisted_2$9, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
34210
34220
|
]),
|
|
34211
34221
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.previewRows, (row, rowIdx) => {
|
|
34212
34222
|
return openBlock(), createElementBlock("div", {
|
|
34213
34223
|
class: "preview-group-row",
|
|
34214
34224
|
key: "preview-" + rowIdx
|
|
34215
34225
|
}, [
|
|
34216
|
-
createElementVNode("div", _hoisted_3$
|
|
34217
|
-
createElementVNode("div", _hoisted_4$
|
|
34218
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
34226
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
34227
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
34228
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$4, toDisplayString($props.widget.options.label) + " " + toDisplayString(rowIdx + 1) + " \u7EC4", 1)) : (openBlock(), createElementBlock("span", _hoisted_6$4, "\u8868\u5355\u7EC4"))
|
|
34219
34229
|
]),
|
|
34220
|
-
createElementVNode("div", _hoisted_7$
|
|
34230
|
+
createElementVNode("div", _hoisted_7$3, [
|
|
34221
34231
|
createVNode(_component_el_button, {
|
|
34222
34232
|
size: "small",
|
|
34223
34233
|
type: "danger",
|
|
@@ -34232,7 +34242,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34232
34242
|
}, 8, ["onClick"])
|
|
34233
34243
|
])
|
|
34234
34244
|
]),
|
|
34235
|
-
createElementVNode("div", _hoisted_8$
|
|
34245
|
+
createElementVNode("div", _hoisted_8$3, [
|
|
34236
34246
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
34237
34247
|
return openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34238
34248
|
key: subWidget.id + "preview" + rowIdx + "-" + swIdx,
|
|
@@ -34294,9 +34304,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34294
34304
|
_: 1
|
|
34295
34305
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34296
34306
|
}
|
|
34297
|
-
var CustomSubFormWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34307
|
+
var CustomSubFormWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-787fff1a"]]);
|
|
34298
34308
|
var customSubFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34299
|
-
const _sfc_main$
|
|
34309
|
+
const _sfc_main$d = {
|
|
34300
34310
|
name: "custom-sub-form-item",
|
|
34301
34311
|
componentName: "ContainerItem",
|
|
34302
34312
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -34660,20 +34670,20 @@ const _sfc_main$9 = {
|
|
|
34660
34670
|
}
|
|
34661
34671
|
}
|
|
34662
34672
|
};
|
|
34663
|
-
const _hoisted_1$
|
|
34664
|
-
const _hoisted_2$
|
|
34665
|
-
const _hoisted_3$
|
|
34666
|
-
const _hoisted_4$
|
|
34667
|
-
const _hoisted_5$
|
|
34673
|
+
const _hoisted_1$b = { class: "sub-form-header" };
|
|
34674
|
+
const _hoisted_2$8 = { class: "sub-form-label" };
|
|
34675
|
+
const _hoisted_3$6 = { class: "group-header" };
|
|
34676
|
+
const _hoisted_4$5 = { class: "group-title" };
|
|
34677
|
+
const _hoisted_5$3 = {
|
|
34668
34678
|
key: 0,
|
|
34669
34679
|
class: "row-number-span"
|
|
34670
34680
|
};
|
|
34671
|
-
const _hoisted_6$
|
|
34681
|
+
const _hoisted_6$3 = {
|
|
34672
34682
|
key: 1,
|
|
34673
34683
|
class: "row-number-span"
|
|
34674
34684
|
};
|
|
34675
|
-
const _hoisted_7$
|
|
34676
|
-
const _hoisted_8$
|
|
34685
|
+
const _hoisted_7$2 = { class: "group-actions" };
|
|
34686
|
+
const _hoisted_8$2 = { class: "group-content" };
|
|
34677
34687
|
const _hoisted_9 = {
|
|
34678
34688
|
key: 1,
|
|
34679
34689
|
class: "field-loading",
|
|
@@ -34693,7 +34703,7 @@ const _hoisted_14 = {
|
|
|
34693
34703
|
key: 1,
|
|
34694
34704
|
class: "empty-hint"
|
|
34695
34705
|
};
|
|
34696
|
-
function _sfc_render$
|
|
34706
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34697
34707
|
const _component_el_button = resolveComponent("el-button");
|
|
34698
34708
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34699
34709
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -34703,19 +34713,19 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34703
34713
|
key: $props.widget.id,
|
|
34704
34714
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
34705
34715
|
}, [
|
|
34706
|
-
createElementVNode("div", _hoisted_1$
|
|
34707
|
-
createElementVNode("span", _hoisted_2$
|
|
34716
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
34717
|
+
createElementVNode("span", _hoisted_2$8, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
34708
34718
|
]),
|
|
34709
34719
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
34710
34720
|
return openBlock(), createElementBlock("div", {
|
|
34711
34721
|
class: "form-group-row",
|
|
34712
34722
|
key: subFormRowId
|
|
34713
34723
|
}, [
|
|
34714
|
-
createElementVNode("div", _hoisted_3$
|
|
34715
|
-
createElementVNode("div", _hoisted_4$
|
|
34716
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
34724
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
34725
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
34726
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$3, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355") + " " + toDisplayString(sfrIdx + 1), 1)) : (openBlock(), createElementBlock("span", _hoisted_6$3, "\u8868\u5355\u7EC4"))
|
|
34717
34727
|
]),
|
|
34718
|
-
createElementVNode("div", _hoisted_7$
|
|
34728
|
+
createElementVNode("div", _hoisted_7$2, [
|
|
34719
34729
|
sfrIdx > 0 && !$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
|
|
34720
34730
|
key: 0,
|
|
34721
34731
|
size: "small",
|
|
@@ -34731,7 +34741,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34731
34741
|
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
34732
34742
|
])
|
|
34733
34743
|
]),
|
|
34734
|
-
createElementVNode("div", _hoisted_8$
|
|
34744
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
34735
34745
|
$props.widget && $props.widget.widgetList && $props.widget.widgetList.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
34736
34746
|
return openBlock(), createElementBlock(Fragment, {
|
|
34737
34747
|
key: subWidget ? subWidget.id + "gc" + subFormRowId + "-" + swIdx : "gc" + subFormRowId + "-" + swIdx
|
|
@@ -34789,9 +34799,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34789
34799
|
_: 1
|
|
34790
34800
|
}, 8, ["widget"]);
|
|
34791
34801
|
}
|
|
34792
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34802
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-3754189c"]]);
|
|
34793
34803
|
var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34794
|
-
const _sfc_main$
|
|
34804
|
+
const _sfc_main$c = {
|
|
34795
34805
|
name: "custom-table-cell-widget",
|
|
34796
34806
|
componentName: "CustomTableCellWidget",
|
|
34797
34807
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -34947,22 +34957,22 @@ const _sfc_main$8 = {
|
|
|
34947
34957
|
}
|
|
34948
34958
|
}
|
|
34949
34959
|
};
|
|
34950
|
-
const _hoisted_1$
|
|
34951
|
-
const _hoisted_2$
|
|
34952
|
-
const _hoisted_3$
|
|
34960
|
+
const _hoisted_1$a = ["colspan", "rowspan"];
|
|
34961
|
+
const _hoisted_2$7 = { class: "form-widget-list" };
|
|
34962
|
+
const _hoisted_3$5 = {
|
|
34953
34963
|
key: 0,
|
|
34954
34964
|
class: "custom-table-cell-action"
|
|
34955
34965
|
};
|
|
34956
|
-
const _hoisted_4$
|
|
34957
|
-
const _hoisted_5$
|
|
34966
|
+
const _hoisted_4$4 = { title: "\u5355\u5143\u683C\u8BBE\u7F6E" };
|
|
34967
|
+
const _hoisted_5$2 = {
|
|
34958
34968
|
key: 1,
|
|
34959
34969
|
class: "custom-table-cell-handler"
|
|
34960
34970
|
};
|
|
34961
|
-
const _hoisted_6$
|
|
34971
|
+
const _hoisted_6$2 = {
|
|
34962
34972
|
key: 2,
|
|
34963
34973
|
class: "empty-hint"
|
|
34964
34974
|
};
|
|
34965
|
-
function _sfc_render$
|
|
34975
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34966
34976
|
const _component_draggable = resolveComponent("draggable");
|
|
34967
34977
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34968
34978
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -34995,7 +35005,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34995
35005
|
move: $options.checkContainerMove
|
|
34996
35006
|
}), {
|
|
34997
35007
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
34998
|
-
createElementVNode("div", _hoisted_2$
|
|
35008
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
34999
35009
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
35000
35010
|
widget: subWidget,
|
|
35001
35011
|
designer: $props.designer,
|
|
@@ -35016,7 +35026,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35016
35026
|
]),
|
|
35017
35027
|
_: 1
|
|
35018
35028
|
}, 16, ["list", "onUpdate", "move"]),
|
|
35019
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
35029
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
|
|
35020
35030
|
createElementVNode("i", {
|
|
35021
35031
|
title: "\u9009\u62E9\u7236\u7EC4\u4EF6",
|
|
35022
35032
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget(), ["stop"]))
|
|
@@ -35075,22 +35085,22 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35075
35085
|
})
|
|
35076
35086
|
]),
|
|
35077
35087
|
default: withCtx(() => [
|
|
35078
|
-
createElementVNode("i", _hoisted_4$
|
|
35088
|
+
createElementVNode("i", _hoisted_4$4, [
|
|
35079
35089
|
createVNode(_component_svg_icon, { "icon-class": "el-menu" })
|
|
35080
35090
|
])
|
|
35081
35091
|
]),
|
|
35082
35092
|
_: 1
|
|
35083
35093
|
}, 8, ["onCommand"])
|
|
35084
35094
|
])) : createCommentVNode("", true),
|
|
35085
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
35095
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_5$2, [..._cache[9] || (_cache[9] = [
|
|
35086
35096
|
createElementVNode("i", null, "\u5355\u5143\u683C", -1)
|
|
35087
35097
|
])])) : createCommentVNode("", true),
|
|
35088
|
-
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
35089
|
-
], 14, _hoisted_1$
|
|
35098
|
+
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$2, " \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")) : createCommentVNode("", true)
|
|
35099
|
+
], 14, _hoisted_1$a);
|
|
35090
35100
|
}
|
|
35091
|
-
var CustomTableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35101
|
+
var CustomTableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-6e28297c"]]);
|
|
35092
35102
|
var customTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35093
|
-
const _sfc_main$
|
|
35103
|
+
const _sfc_main$b = {
|
|
35094
35104
|
name: "custom-table-widget",
|
|
35095
35105
|
componentName: "ContainerWidget",
|
|
35096
35106
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -35141,8 +35151,8 @@ const _sfc_main$7 = {
|
|
|
35141
35151
|
}
|
|
35142
35152
|
}
|
|
35143
35153
|
};
|
|
35144
|
-
const _hoisted_1$
|
|
35145
|
-
function _sfc_render$
|
|
35154
|
+
const _hoisted_1$9 = { class: "custom-table-layout" };
|
|
35155
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35146
35156
|
const _component_custom_table_cell_widget = resolveComponent("custom-table-cell-widget");
|
|
35147
35157
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
35148
35158
|
return openBlock(), createBlock(_component_container_wrapper, {
|
|
@@ -35158,7 +35168,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35158
35168
|
class: normalizeClass(["custom-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
35159
35169
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
35160
35170
|
}, [
|
|
35161
|
-
createElementVNode("table", _hoisted_1$
|
|
35171
|
+
createElementVNode("table", _hoisted_1$9, [
|
|
35162
35172
|
createElementVNode("tbody", null, [
|
|
35163
35173
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
35164
35174
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -35188,9 +35198,9 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35188
35198
|
_: 1
|
|
35189
35199
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
35190
35200
|
}
|
|
35191
|
-
var CustomTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35201
|
+
var CustomTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-5281c94a"]]);
|
|
35192
35202
|
var customTableCellItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35193
|
-
const _sfc_main$
|
|
35203
|
+
const _sfc_main$a = {
|
|
35194
35204
|
name: "custom-table-cell-item",
|
|
35195
35205
|
componentName: "ContainerItem",
|
|
35196
35206
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -35207,8 +35217,8 @@ const _sfc_main$6 = {
|
|
|
35207
35217
|
}
|
|
35208
35218
|
}
|
|
35209
35219
|
};
|
|
35210
|
-
const _hoisted_1$
|
|
35211
|
-
function _sfc_render$
|
|
35220
|
+
const _hoisted_1$8 = ["colspan", "rowspan"];
|
|
35221
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35212
35222
|
return openBlock(), createElementBlock("td", {
|
|
35213
35223
|
class: normalizeClass(["custom-table-cell", $options.customClass]),
|
|
35214
35224
|
colspan: $props.widget.options.colspan || 1,
|
|
@@ -35239,11 +35249,11 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35239
35249
|
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
35240
35250
|
], 64);
|
|
35241
35251
|
}), 128))
|
|
35242
|
-
], 14, _hoisted_1$
|
|
35252
|
+
], 14, _hoisted_1$8);
|
|
35243
35253
|
}
|
|
35244
|
-
var CustomTableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35254
|
+
var CustomTableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-188e7bf2"]]);
|
|
35245
35255
|
var customTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35246
|
-
const _sfc_main$
|
|
35256
|
+
const _sfc_main$9 = {
|
|
35247
35257
|
name: "custom-table-item",
|
|
35248
35258
|
componentName: "ContainerItem",
|
|
35249
35259
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -35428,16 +35438,16 @@ const _sfc_main$5 = {
|
|
|
35428
35438
|
}
|
|
35429
35439
|
}
|
|
35430
35440
|
};
|
|
35431
|
-
const _hoisted_1$
|
|
35441
|
+
const _hoisted_1$7 = {
|
|
35432
35442
|
key: 0,
|
|
35433
35443
|
class: "table-actions"
|
|
35434
35444
|
};
|
|
35435
|
-
const _hoisted_2$
|
|
35436
|
-
const _hoisted_3$
|
|
35445
|
+
const _hoisted_2$6 = { class: "custom-table-layout" };
|
|
35446
|
+
const _hoisted_3$4 = {
|
|
35437
35447
|
key: 0,
|
|
35438
35448
|
class: "row-actions-cell"
|
|
35439
35449
|
};
|
|
35440
|
-
function _sfc_render$
|
|
35450
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35441
35451
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35442
35452
|
const _component_el_button = resolveComponent("el-button");
|
|
35443
35453
|
const _component_custom_table_cell_item = resolveComponent("custom-table-cell-item");
|
|
@@ -35448,7 +35458,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35448
35458
|
key: $props.widget.id,
|
|
35449
35459
|
class: normalizeClass(["custom-table-container", $options.customClass])
|
|
35450
35460
|
}, [
|
|
35451
|
-
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35461
|
+
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
35452
35462
|
createVNode(_component_el_button, {
|
|
35453
35463
|
type: "primary",
|
|
35454
35464
|
size: "small",
|
|
@@ -35462,13 +35472,13 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35462
35472
|
_: 1
|
|
35463
35473
|
}, 8, ["onClick"])
|
|
35464
35474
|
])) : createCommentVNode("", true),
|
|
35465
|
-
createElementVNode("table", _hoisted_2$
|
|
35475
|
+
createElementVNode("table", _hoisted_2$6, [
|
|
35466
35476
|
createElementVNode("tbody", null, [
|
|
35467
35477
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
35468
35478
|
return openBlock(), createElementBlock("tr", {
|
|
35469
35479
|
key: $data.rowIdData[rowIdx] || row.id
|
|
35470
35480
|
}, [
|
|
35471
|
-
$props.widget.rows.length > 0 ? (openBlock(), createElementBlock("td", _hoisted_3$
|
|
35481
|
+
$props.widget.rows.length > 0 ? (openBlock(), createElementBlock("td", _hoisted_3$4, [
|
|
35472
35482
|
createVNode(_component_el_button, {
|
|
35473
35483
|
type: "primary",
|
|
35474
35484
|
size: "small",
|
|
@@ -35517,9 +35527,9 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35517
35527
|
_: 1
|
|
35518
35528
|
}, 8, ["widget"]);
|
|
35519
35529
|
}
|
|
35520
|
-
var CustomTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35530
|
+
var CustomTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-1aff2bd9"]]);
|
|
35521
35531
|
var subTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35522
|
-
const _sfc_main$
|
|
35532
|
+
const _sfc_main$8 = {
|
|
35523
35533
|
name: "sub-table-widget",
|
|
35524
35534
|
componentName: "ContainerWidget",
|
|
35525
35535
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -35605,18 +35615,18 @@ const _sfc_main$4 = {
|
|
|
35605
35615
|
}
|
|
35606
35616
|
}
|
|
35607
35617
|
};
|
|
35608
|
-
const _hoisted_1$
|
|
35609
|
-
const _hoisted_2$
|
|
35610
|
-
const _hoisted_3$
|
|
35611
|
-
const _hoisted_4$
|
|
35612
|
-
const _hoisted_5 = { class: "empty-hint" };
|
|
35613
|
-
const _hoisted_6 = { key: 0 };
|
|
35614
|
-
const _hoisted_7 = { key: 1 };
|
|
35615
|
-
const _hoisted_8 = {
|
|
35618
|
+
const _hoisted_1$6 = { class: "sub-table-header" };
|
|
35619
|
+
const _hoisted_2$5 = { class: "sub-table-label" };
|
|
35620
|
+
const _hoisted_3$3 = { class: "table-preview" };
|
|
35621
|
+
const _hoisted_4$3 = { class: "preview-cell" };
|
|
35622
|
+
const _hoisted_5$1 = { class: "empty-hint" };
|
|
35623
|
+
const _hoisted_6$1 = { key: 0 };
|
|
35624
|
+
const _hoisted_7$1 = { key: 1 };
|
|
35625
|
+
const _hoisted_8$1 = {
|
|
35616
35626
|
key: 0,
|
|
35617
35627
|
class: "config-hint"
|
|
35618
35628
|
};
|
|
35619
|
-
function _sfc_render$
|
|
35629
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35620
35630
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35621
35631
|
const _component_el_button = resolveComponent("el-button");
|
|
35622
35632
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
@@ -35636,8 +35646,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35636
35646
|
class: normalizeClass(["sub-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
35637
35647
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
35638
35648
|
}, [
|
|
35639
|
-
createElementVNode("div", _hoisted_1$
|
|
35640
|
-
createElementVNode("span", _hoisted_2$
|
|
35649
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
35650
|
+
createElementVNode("span", _hoisted_2$5, toDisplayString($props.widget.options.label || "\u5B50\u8868\u683C"), 1),
|
|
35641
35651
|
createVNode(_component_el_button, {
|
|
35642
35652
|
disabled: $data.actionDisabled,
|
|
35643
35653
|
round: "",
|
|
@@ -35653,7 +35663,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35653
35663
|
_: 1
|
|
35654
35664
|
}, 8, ["disabled", "onClick"])
|
|
35655
35665
|
]),
|
|
35656
|
-
createElementVNode("div", _hoisted_3$
|
|
35666
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
35657
35667
|
createVNode(_component_el_table, {
|
|
35658
35668
|
data: $data.previewData,
|
|
35659
35669
|
border: $props.widget.options.border,
|
|
@@ -35663,8 +35673,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35663
35673
|
style: { "width": "100%" }
|
|
35664
35674
|
}, {
|
|
35665
35675
|
empty: withCtx(() => [
|
|
35666
|
-
createElementVNode("div", _hoisted_5, [
|
|
35667
|
-
$props.widget.options.columns && $props.widget.options.columns.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_6, ' \u6682\u65E0\u6570\u636E\uFF0C\u70B9\u51FB"\u6DFB\u52A0\u884C"\u6309\u94AE\u6DFB\u52A0\u6570\u636E ')) : (openBlock(), createElementBlock("span", _hoisted_7, " \u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217 "))
|
|
35676
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
35677
|
+
$props.widget.options.columns && $props.widget.options.columns.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_6$1, ' \u6682\u65E0\u6570\u636E\uFF0C\u70B9\u51FB"\u6DFB\u52A0\u884C"\u6309\u94AE\u6DFB\u52A0\u6570\u636E ')) : (openBlock(), createElementBlock("span", _hoisted_7$1, " \u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217 "))
|
|
35668
35678
|
])
|
|
35669
35679
|
]),
|
|
35670
35680
|
default: withCtx(() => [
|
|
@@ -35685,7 +35695,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35685
35695
|
align: "center"
|
|
35686
35696
|
}, {
|
|
35687
35697
|
default: withCtx(({ row }) => [
|
|
35688
|
-
createElementVNode("span", _hoisted_4$
|
|
35698
|
+
createElementVNode("span", _hoisted_4$3, toDisplayString(row[col.prop] || "-"), 1)
|
|
35689
35699
|
]),
|
|
35690
35700
|
_: 2
|
|
35691
35701
|
}, 1032, ["prop", "label", "width", "min-width"]);
|
|
@@ -35727,7 +35737,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35727
35737
|
_: 1
|
|
35728
35738
|
}, 8, ["data", "border", "stripe", "size", "max-height"])
|
|
35729
35739
|
]),
|
|
35730
|
-
!$props.widget.options.columns || $props.widget.options.columns.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
35740
|
+
!$props.widget.options.columns || $props.widget.options.columns.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
35731
35741
|
createVNode(_component_el_alert, {
|
|
35732
35742
|
title: "\u63D0\u793A",
|
|
35733
35743
|
type: "info",
|
|
@@ -35745,9 +35755,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35745
35755
|
_: 1
|
|
35746
35756
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
35747
35757
|
}
|
|
35748
|
-
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35758
|
+
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-03a3b831"]]);
|
|
35749
35759
|
var subTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35750
|
-
const _sfc_main$
|
|
35760
|
+
const _sfc_main$7 = {
|
|
35751
35761
|
name: "sub-table-item",
|
|
35752
35762
|
componentName: "ContainerItem",
|
|
35753
35763
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -36113,17 +36123,17 @@ const _sfc_main$3 = {
|
|
|
36113
36123
|
}
|
|
36114
36124
|
}
|
|
36115
36125
|
};
|
|
36116
|
-
const _hoisted_1$
|
|
36126
|
+
const _hoisted_1$5 = {
|
|
36117
36127
|
key: 0,
|
|
36118
36128
|
class: "sub-table-label"
|
|
36119
36129
|
};
|
|
36120
|
-
const _hoisted_2$
|
|
36130
|
+
const _hoisted_2$4 = {
|
|
36121
36131
|
key: 0,
|
|
36122
36132
|
class: "required-mark"
|
|
36123
36133
|
};
|
|
36124
|
-
const _hoisted_3$
|
|
36125
|
-
const _hoisted_4$
|
|
36126
|
-
function _sfc_render$
|
|
36134
|
+
const _hoisted_3$2 = { class: "table-toolbar" };
|
|
36135
|
+
const _hoisted_4$2 = { class: "dialog-footer" };
|
|
36136
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36127
36137
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
36128
36138
|
const _component_el_button = resolveComponent("el-button");
|
|
36129
36139
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
@@ -36144,13 +36154,13 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36144
36154
|
key: $props.widget.id,
|
|
36145
36155
|
class: normalizeClass(["sub-table-container", $options.customClass])
|
|
36146
36156
|
}, [
|
|
36147
|
-
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36157
|
+
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
36148
36158
|
createElementVNode("span", {
|
|
36149
36159
|
class: normalizeClass($options.labelClass)
|
|
36150
36160
|
}, toDisplayString($props.widget.options.label), 3),
|
|
36151
|
-
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
36161
|
+
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$4, "*")) : createCommentVNode("", true)
|
|
36152
36162
|
])) : createCommentVNode("", true),
|
|
36153
|
-
createElementVNode("div", _hoisted_3$
|
|
36163
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
36154
36164
|
!$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
|
|
36155
36165
|
key: 0,
|
|
36156
36166
|
type: "primary",
|
|
@@ -36250,7 +36260,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36250
36260
|
onClose: $options.handleDialogClose
|
|
36251
36261
|
}, {
|
|
36252
36262
|
footer: withCtx(() => [
|
|
36253
|
-
createElementVNode("span", _hoisted_4$
|
|
36263
|
+
createElementVNode("span", _hoisted_4$2, [
|
|
36254
36264
|
createVNode(_component_el_button, {
|
|
36255
36265
|
size: "default",
|
|
36256
36266
|
onClick: _cache[0] || (_cache[0] = ($event) => $data.dialogVisible = false)
|
|
@@ -36379,7 +36389,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36379
36389
|
_: 1
|
|
36380
36390
|
}, 8, ["widget"]);
|
|
36381
36391
|
}
|
|
36382
|
-
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
36392
|
+
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-47eddd0f"]]);
|
|
36383
36393
|
var ace$2 = { exports: {} };
|
|
36384
36394
|
(function(module, exports) {
|
|
36385
36395
|
(function() {
|
|
@@ -60825,7 +60835,7 @@ var extLanguage_tools = { exports: {} };
|
|
|
60825
60835
|
})();
|
|
60826
60836
|
})(extLanguage_tools);
|
|
60827
60837
|
var index_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
60828
|
-
const _sfc_main$
|
|
60838
|
+
const _sfc_main$6 = {
|
|
60829
60839
|
name: "CodeEditor",
|
|
60830
60840
|
props: {
|
|
60831
60841
|
modelValue: {
|
|
@@ -60916,19 +60926,19 @@ const _sfc_main$2 = {
|
|
|
60916
60926
|
}
|
|
60917
60927
|
}
|
|
60918
60928
|
};
|
|
60919
|
-
const _hoisted_1$
|
|
60920
|
-
const _hoisted_2$
|
|
60929
|
+
const _hoisted_1$4 = { class: "ace-container" };
|
|
60930
|
+
const _hoisted_2$3 = {
|
|
60921
60931
|
class: "ace-editor",
|
|
60922
60932
|
ref: "ace"
|
|
60923
60933
|
};
|
|
60924
|
-
function _sfc_render$
|
|
60925
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
60926
|
-
createElementVNode("div", _hoisted_2$
|
|
60934
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
60935
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
60936
|
+
createElementVNode("div", _hoisted_2$3, null, 512)
|
|
60927
60937
|
]);
|
|
60928
60938
|
}
|
|
60929
|
-
var CodeEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
60939
|
+
var CodeEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-335e1214"]]);
|
|
60930
60940
|
var subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
60931
|
-
const _sfc_main$
|
|
60941
|
+
const _sfc_main$5 = {
|
|
60932
60942
|
name: "sub-table-columns-editor",
|
|
60933
60943
|
mixins: [i18n$1],
|
|
60934
60944
|
components: {
|
|
@@ -61106,11 +61116,11 @@ const _sfc_main$1 = {
|
|
|
61106
61116
|
}
|
|
61107
61117
|
}
|
|
61108
61118
|
};
|
|
61109
|
-
const _hoisted_1 = { class: "column-header" };
|
|
61110
|
-
const _hoisted_2 = { class: "column-title" };
|
|
61111
|
-
const _hoisted_3 = { class: "column-form" };
|
|
61112
|
-
const _hoisted_4 = { class: "dialog-footer" };
|
|
61113
|
-
function _sfc_render$
|
|
61119
|
+
const _hoisted_1$3 = { class: "column-header" };
|
|
61120
|
+
const _hoisted_2$2 = { class: "column-title" };
|
|
61121
|
+
const _hoisted_3$1 = { class: "column-form" };
|
|
61122
|
+
const _hoisted_4$1 = { class: "dialog-footer" };
|
|
61123
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61114
61124
|
const _component_el_divider = resolveComponent("el-divider");
|
|
61115
61125
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
61116
61126
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -61142,8 +61152,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61142
61152
|
key: colIdx,
|
|
61143
61153
|
class: "column-item"
|
|
61144
61154
|
}, [
|
|
61145
|
-
createElementVNode("div", _hoisted_1, [
|
|
61146
|
-
createElementVNode("span", _hoisted_2, "\u5217 " + toDisplayString(colIdx + 1), 1),
|
|
61155
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
61156
|
+
createElementVNode("span", _hoisted_2$2, "\u5217 " + toDisplayString(colIdx + 1), 1),
|
|
61147
61157
|
createVNode(_component_el_button, {
|
|
61148
61158
|
circle: "",
|
|
61149
61159
|
plain: "",
|
|
@@ -61154,7 +61164,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61154
61164
|
class: "column-delete-button"
|
|
61155
61165
|
}, null, 8, ["onClick"])
|
|
61156
61166
|
]),
|
|
61157
|
-
createElementVNode("div", _hoisted_3, [
|
|
61167
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
61158
61168
|
createVNode(_component_el_form_item, { label: "\u5217\u540D" }, {
|
|
61159
61169
|
default: withCtx(() => [
|
|
61160
61170
|
createVNode(_component_el_input, {
|
|
@@ -61501,7 +61511,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61501
61511
|
"close-on-click-modal": false
|
|
61502
61512
|
}, {
|
|
61503
61513
|
footer: withCtx(() => [
|
|
61504
|
-
createElementVNode("div", _hoisted_4, [
|
|
61514
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
61505
61515
|
createVNode(_component_el_button, {
|
|
61506
61516
|
onClick: _cache[1] || (_cache[1] = ($event) => $data.showColumnEventDialog = false)
|
|
61507
61517
|
}, {
|
|
@@ -61540,8 +61550,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61540
61550
|
}, 8, ["modelValue", "title"])
|
|
61541
61551
|
], 64);
|
|
61542
61552
|
}
|
|
61543
|
-
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
61544
|
-
const _sfc_main = {
|
|
61553
|
+
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-514d67ae"]]);
|
|
61554
|
+
const _sfc_main$4 = {
|
|
61545
61555
|
name: "current-user-widget",
|
|
61546
61556
|
componentName: "FieldWidget",
|
|
61547
61557
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -61649,7 +61659,7 @@ const _sfc_main = {
|
|
|
61649
61659
|
this.getCurrentUser();
|
|
61650
61660
|
}
|
|
61651
61661
|
};
|
|
61652
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61662
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61653
61663
|
const _component_el_input = resolveComponent("el-input");
|
|
61654
61664
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
61655
61665
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -61674,7 +61684,1021 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61674
61684
|
_: 1
|
|
61675
61685
|
}, 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"]);
|
|
61676
61686
|
}
|
|
61677
|
-
var CurrentUserWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["render", _sfc_render]]);
|
|
61687
|
+
var CurrentUserWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4]]);
|
|
61688
|
+
var assetDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
61689
|
+
const _sfc_main$3 = {
|
|
61690
|
+
name: "asset-dialog",
|
|
61691
|
+
props: {
|
|
61692
|
+
dialogVisible: {
|
|
61693
|
+
type: Boolean,
|
|
61694
|
+
default: false
|
|
61695
|
+
},
|
|
61696
|
+
fieldValue: {
|
|
61697
|
+
type: Array,
|
|
61698
|
+
default: () => []
|
|
61699
|
+
}
|
|
61700
|
+
},
|
|
61701
|
+
watch: {
|
|
61702
|
+
dialogVisible: {
|
|
61703
|
+
handler(newVal) {
|
|
61704
|
+
this.visible = newVal;
|
|
61705
|
+
if (newVal) {
|
|
61706
|
+
this.getTableData();
|
|
61707
|
+
}
|
|
61708
|
+
}
|
|
61709
|
+
},
|
|
61710
|
+
fieldValue: {
|
|
61711
|
+
handler(newVal) {
|
|
61712
|
+
this.selectedRows = newVal && Array.isArray(newVal) ? lodash.exports.cloneDeep(newVal) : [];
|
|
61713
|
+
},
|
|
61714
|
+
deep: true,
|
|
61715
|
+
immediate: true
|
|
61716
|
+
}
|
|
61717
|
+
},
|
|
61718
|
+
data() {
|
|
61719
|
+
return {
|
|
61720
|
+
selectedRows: [],
|
|
61721
|
+
visible: false,
|
|
61722
|
+
pageSize: 10,
|
|
61723
|
+
currentPage: 1
|
|
61724
|
+
};
|
|
61725
|
+
},
|
|
61726
|
+
methods: {
|
|
61727
|
+
handleClose() {
|
|
61728
|
+
this.$emit("close");
|
|
61729
|
+
},
|
|
61730
|
+
handleConfirm() {
|
|
61731
|
+
this.$emit("confirm", this.selectedRows);
|
|
61732
|
+
},
|
|
61733
|
+
getTableData() {
|
|
61734
|
+
this.tableData = [
|
|
61735
|
+
{
|
|
61736
|
+
id: 1,
|
|
61737
|
+
assetCode: "1",
|
|
61738
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61739
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61740
|
+
createTime: "2021-01-01",
|
|
61741
|
+
updateTime: "2021-01-01",
|
|
61742
|
+
assetType: "0"
|
|
61743
|
+
},
|
|
61744
|
+
{
|
|
61745
|
+
id: 2,
|
|
61746
|
+
assetCode: "2",
|
|
61747
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61748
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61749
|
+
createTime: "2021-01-01",
|
|
61750
|
+
updateTime: "2021-01-01",
|
|
61751
|
+
assetType: "1"
|
|
61752
|
+
},
|
|
61753
|
+
{
|
|
61754
|
+
id: 3,
|
|
61755
|
+
assetCode: "3",
|
|
61756
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61757
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61758
|
+
createTime: "2021-01-01",
|
|
61759
|
+
updateTime: "2021-01-01",
|
|
61760
|
+
assetType: "2"
|
|
61761
|
+
},
|
|
61762
|
+
{
|
|
61763
|
+
id: 4,
|
|
61764
|
+
assetCode: "4",
|
|
61765
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61766
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61767
|
+
createTime: "2021-01-01",
|
|
61768
|
+
updateTime: "2021-01-01",
|
|
61769
|
+
assetType: "3"
|
|
61770
|
+
},
|
|
61771
|
+
{
|
|
61772
|
+
id: 5,
|
|
61773
|
+
assetCode: "5",
|
|
61774
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61775
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61776
|
+
createTime: "2021-01-01",
|
|
61777
|
+
updateTime: "2021-01-01",
|
|
61778
|
+
assetType: "4"
|
|
61779
|
+
},
|
|
61780
|
+
{
|
|
61781
|
+
id: 6,
|
|
61782
|
+
assetCode: "6",
|
|
61783
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61784
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61785
|
+
createTime: "2021-01-01",
|
|
61786
|
+
updateTime: "2021-01-01",
|
|
61787
|
+
assetType: "5"
|
|
61788
|
+
},
|
|
61789
|
+
{
|
|
61790
|
+
id: 7,
|
|
61791
|
+
assetCode: "7",
|
|
61792
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61793
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61794
|
+
createTime: "2021-01-01",
|
|
61795
|
+
updateTime: "2021-01-01",
|
|
61796
|
+
assetType: "6"
|
|
61797
|
+
},
|
|
61798
|
+
{
|
|
61799
|
+
id: 8,
|
|
61800
|
+
assetCode: "8",
|
|
61801
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61802
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61803
|
+
createTime: "2021-01-01",
|
|
61804
|
+
updateTime: "2021-01-01",
|
|
61805
|
+
assetType: "7"
|
|
61806
|
+
},
|
|
61807
|
+
{
|
|
61808
|
+
id: 9,
|
|
61809
|
+
assetCode: "9",
|
|
61810
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61811
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61812
|
+
createTime: "2021-01-01",
|
|
61813
|
+
updateTime: "2021-01-01",
|
|
61814
|
+
assetType: "8"
|
|
61815
|
+
},
|
|
61816
|
+
{
|
|
61817
|
+
id: 10,
|
|
61818
|
+
assetCode: "10",
|
|
61819
|
+
labelName: "\u8D44\u4EA7\u540D\u79F0",
|
|
61820
|
+
status: "\u8D44\u4EA7\u7C7B\u578B",
|
|
61821
|
+
createTime: "2021-01-01",
|
|
61822
|
+
updateTime: "2021-01-01",
|
|
61823
|
+
assetType: "0"
|
|
61824
|
+
}
|
|
61825
|
+
];
|
|
61826
|
+
},
|
|
61827
|
+
handleSizeChange(size) {
|
|
61828
|
+
this.pageSize = size;
|
|
61829
|
+
},
|
|
61830
|
+
handleCurrentChange(page) {
|
|
61831
|
+
this.currentPage = page;
|
|
61832
|
+
},
|
|
61833
|
+
handleAdd() {
|
|
61834
|
+
const selection = this.$refs.tableRef.getSelectionRows();
|
|
61835
|
+
const arr = [...this.selectedRows, ...selection].reduce((acc, item) => {
|
|
61836
|
+
if (!acc.some((i) => i.id === item.id)) {
|
|
61837
|
+
acc.push(item);
|
|
61838
|
+
}
|
|
61839
|
+
return acc;
|
|
61840
|
+
}, []);
|
|
61841
|
+
this.selectedRows = arr;
|
|
61842
|
+
},
|
|
61843
|
+
handleRemove(id) {
|
|
61844
|
+
const index2 = this.selectedRows.findIndex((item) => item.id === id);
|
|
61845
|
+
if (index2 !== -1) {
|
|
61846
|
+
this.selectedRows.splice(index2, 1);
|
|
61847
|
+
}
|
|
61848
|
+
}
|
|
61849
|
+
},
|
|
61850
|
+
created() {
|
|
61851
|
+
this.getTableData();
|
|
61852
|
+
}
|
|
61853
|
+
};
|
|
61854
|
+
const _hoisted_1$2 = { class: "asset-body-wrap" };
|
|
61855
|
+
const _hoisted_2$1 = { class: "bottom-wrap" };
|
|
61856
|
+
const _hoisted_3 = { class: "left-wrap" };
|
|
61857
|
+
const _hoisted_4 = { class: "right-wrap" };
|
|
61858
|
+
const _hoisted_5 = { class: "asset-wrap" };
|
|
61859
|
+
const _hoisted_6 = { class: "asset-item-left" };
|
|
61860
|
+
const _hoisted_7 = { class: "asset-item-right" };
|
|
61861
|
+
const _hoisted_8 = { class: "dialog-footer" };
|
|
61862
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61863
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
61864
|
+
const _component_el_table = resolveComponent("el-table");
|
|
61865
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
61866
|
+
const _component_Close = resolveComponent("Close");
|
|
61867
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
61868
|
+
const _component_el_button = resolveComponent("el-button");
|
|
61869
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
61870
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
61871
|
+
modelValue: $data.visible,
|
|
61872
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.visible = $event),
|
|
61873
|
+
title: "\u8D44\u4EA7\u9009\u62E9",
|
|
61874
|
+
width: "1200px",
|
|
61875
|
+
onClose: $options.handleClose,
|
|
61876
|
+
"body-class": "person-tree-dialog-body",
|
|
61877
|
+
"header-class": "person-tree-dialog-header"
|
|
61878
|
+
}, {
|
|
61879
|
+
footer: withCtx(() => [
|
|
61880
|
+
createElementVNode("div", _hoisted_8, [
|
|
61881
|
+
createVNode(_component_el_button, {
|
|
61882
|
+
onClick: $options.handleClose,
|
|
61883
|
+
size: "default"
|
|
61884
|
+
}, {
|
|
61885
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
61886
|
+
createTextVNode(" \u53D6\u6D88 ", -1)
|
|
61887
|
+
])]),
|
|
61888
|
+
_: 1
|
|
61889
|
+
}, 8, ["onClick"]),
|
|
61890
|
+
createVNode(_component_el_button, {
|
|
61891
|
+
type: "primary",
|
|
61892
|
+
onClick: $options.handleConfirm,
|
|
61893
|
+
size: "default"
|
|
61894
|
+
}, {
|
|
61895
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
61896
|
+
createTextVNode(" \u786E\u5B9A ", -1)
|
|
61897
|
+
])]),
|
|
61898
|
+
_: 1
|
|
61899
|
+
}, 8, ["onClick"])
|
|
61900
|
+
])
|
|
61901
|
+
]),
|
|
61902
|
+
default: withCtx(() => [
|
|
61903
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
61904
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
61905
|
+
createElementVNode("div", _hoisted_3, [
|
|
61906
|
+
_cache[2] || (_cache[2] = createElementVNode("div", { class: "filter-wrap" }, null, -1)),
|
|
61907
|
+
createVNode(_component_el_table, {
|
|
61908
|
+
data: _ctx.tableData,
|
|
61909
|
+
"max-height": "500px",
|
|
61910
|
+
style: { "width": "100%" },
|
|
61911
|
+
"check-strictly": "",
|
|
61912
|
+
"row-key": "id",
|
|
61913
|
+
ref: "tableRef"
|
|
61914
|
+
}, {
|
|
61915
|
+
default: withCtx(() => [
|
|
61916
|
+
createVNode(_component_el_table_column, {
|
|
61917
|
+
type: "selection",
|
|
61918
|
+
width: "55"
|
|
61919
|
+
}),
|
|
61920
|
+
createVNode(_component_el_table_column, {
|
|
61921
|
+
prop: "assetCode",
|
|
61922
|
+
label: "\u8D44\u4EA7\u7F16\u7801"
|
|
61923
|
+
}),
|
|
61924
|
+
createVNode(_component_el_table_column, {
|
|
61925
|
+
prop: "labelName",
|
|
61926
|
+
label: "\u8D44\u4EA7\u540D\u79F0"
|
|
61927
|
+
}),
|
|
61928
|
+
createVNode(_component_el_table_column, {
|
|
61929
|
+
prop: "status",
|
|
61930
|
+
label: "\u8D44\u4EA7\u7C7B\u578B"
|
|
61931
|
+
}),
|
|
61932
|
+
createVNode(_component_el_table_column, {
|
|
61933
|
+
prop: "createTime",
|
|
61934
|
+
label: "\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"
|
|
61935
|
+
}),
|
|
61936
|
+
createVNode(_component_el_table_column, {
|
|
61937
|
+
prop: "updateTime",
|
|
61938
|
+
label: "\u539F\u503C"
|
|
61939
|
+
}),
|
|
61940
|
+
createVNode(_component_el_table_column, {
|
|
61941
|
+
prop: "updateTime",
|
|
61942
|
+
label: "\u51C0\u503C"
|
|
61943
|
+
})
|
|
61944
|
+
]),
|
|
61945
|
+
_: 1
|
|
61946
|
+
}, 8, ["data"]),
|
|
61947
|
+
createVNode(_component_el_pagination, {
|
|
61948
|
+
onSizeChange: $options.handleSizeChange,
|
|
61949
|
+
onCurrentChange: $options.handleCurrentChange,
|
|
61950
|
+
"current-page": $data.currentPage,
|
|
61951
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
61952
|
+
size: "small",
|
|
61953
|
+
total: _ctx.tableData.length
|
|
61954
|
+
}, null, 8, ["onSizeChange", "onCurrentChange", "current-page", "total"])
|
|
61955
|
+
]),
|
|
61956
|
+
createElementVNode("div", {
|
|
61957
|
+
class: "center-wrap",
|
|
61958
|
+
onClick: _cache[0] || (_cache[0] = (...args) => $options.handleAdd && $options.handleAdd(...args))
|
|
61959
|
+
}, "\u6DFB\u52A0"),
|
|
61960
|
+
createElementVNode("div", _hoisted_4, [
|
|
61961
|
+
createElementVNode("ul", _hoisted_5, [
|
|
61962
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectedRows, (item) => {
|
|
61963
|
+
return openBlock(), createElementBlock("li", {
|
|
61964
|
+
class: "asset-item",
|
|
61965
|
+
key: item.id
|
|
61966
|
+
}, [
|
|
61967
|
+
createElementVNode("div", _hoisted_6, toDisplayString(item.labelName) + "(" + toDisplayString(item.assetCode) + ") ", 1),
|
|
61968
|
+
createElementVNode("div", _hoisted_7, [
|
|
61969
|
+
createVNode(_component_el_icon, {
|
|
61970
|
+
onClick: ($event) => $options.handleRemove(item.id)
|
|
61971
|
+
}, {
|
|
61972
|
+
default: withCtx(() => [
|
|
61973
|
+
createVNode(_component_Close)
|
|
61974
|
+
]),
|
|
61975
|
+
_: 1
|
|
61976
|
+
}, 8, ["onClick"])
|
|
61977
|
+
])
|
|
61978
|
+
]);
|
|
61979
|
+
}), 128))
|
|
61980
|
+
])
|
|
61981
|
+
])
|
|
61982
|
+
])
|
|
61983
|
+
])
|
|
61984
|
+
]),
|
|
61985
|
+
_: 1
|
|
61986
|
+
}, 8, ["modelValue", "onClose"]);
|
|
61987
|
+
}
|
|
61988
|
+
var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-bf9d04d4"]]);
|
|
61989
|
+
var index_vue_vue_type_style_index_0_lang$1 = "";
|
|
61990
|
+
var index_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
61991
|
+
const _sfc_main$2 = {
|
|
61992
|
+
name: "asset-select-widget",
|
|
61993
|
+
componentName: "FieldWidget",
|
|
61994
|
+
mixins: [emitter, fieldMixin, i18n$1],
|
|
61995
|
+
props: {
|
|
61996
|
+
field: {
|
|
61997
|
+
type: Object,
|
|
61998
|
+
default: () => ({})
|
|
61999
|
+
},
|
|
62000
|
+
parentWidget: Object,
|
|
62001
|
+
parentList: Array,
|
|
62002
|
+
indexOfParentList: Number,
|
|
62003
|
+
designer: Object,
|
|
62004
|
+
designState: {
|
|
62005
|
+
type: Boolean,
|
|
62006
|
+
default: false
|
|
62007
|
+
},
|
|
62008
|
+
subFormRowIndex: {
|
|
62009
|
+
type: Number,
|
|
62010
|
+
default: -1
|
|
62011
|
+
},
|
|
62012
|
+
subFormColIndex: {
|
|
62013
|
+
type: Number,
|
|
62014
|
+
default: -1
|
|
62015
|
+
},
|
|
62016
|
+
subFormRowId: {
|
|
62017
|
+
type: String,
|
|
62018
|
+
default: ""
|
|
62019
|
+
}
|
|
62020
|
+
},
|
|
62021
|
+
components: {
|
|
62022
|
+
FormItemWrapper,
|
|
62023
|
+
AssetDialog
|
|
62024
|
+
},
|
|
62025
|
+
data() {
|
|
62026
|
+
return {
|
|
62027
|
+
dialogVisible: false,
|
|
62028
|
+
fieldModel: null,
|
|
62029
|
+
oldFieldValue: null,
|
|
62030
|
+
rules: [],
|
|
62031
|
+
tableData: []
|
|
62032
|
+
};
|
|
62033
|
+
},
|
|
62034
|
+
computed: {
|
|
62035
|
+
displayModel: {
|
|
62036
|
+
get() {
|
|
62037
|
+
return this.fieldModel != null ? this.fieldModel : [];
|
|
62038
|
+
},
|
|
62039
|
+
set(val) {
|
|
62040
|
+
this.fieldModel = val;
|
|
62041
|
+
}
|
|
62042
|
+
},
|
|
62043
|
+
widgetStyle() {
|
|
62044
|
+
return {
|
|
62045
|
+
width: "100%"
|
|
62046
|
+
};
|
|
62047
|
+
}
|
|
62048
|
+
},
|
|
62049
|
+
watch: {
|
|
62050
|
+
"field.options.required"() {
|
|
62051
|
+
this.buildFieldRules();
|
|
62052
|
+
},
|
|
62053
|
+
"field.options.validation"() {
|
|
62054
|
+
this.buildFieldRules();
|
|
62055
|
+
},
|
|
62056
|
+
"field.options.onValidate"() {
|
|
62057
|
+
this.buildFieldRules();
|
|
62058
|
+
}
|
|
62059
|
+
},
|
|
62060
|
+
created() {
|
|
62061
|
+
this.initFieldModel();
|
|
62062
|
+
this.registerToRefList();
|
|
62063
|
+
this.initEventHandler();
|
|
62064
|
+
this.buildFieldRules();
|
|
62065
|
+
this.handleOnCreated();
|
|
62066
|
+
},
|
|
62067
|
+
mounted() {
|
|
62068
|
+
this.handleOnMounted();
|
|
62069
|
+
},
|
|
62070
|
+
beforeUnmount() {
|
|
62071
|
+
this.unregisterFromRefList();
|
|
62072
|
+
},
|
|
62073
|
+
methods: {
|
|
62074
|
+
handleRemoveTag(removedItem, removedIndex) {
|
|
62075
|
+
if (this.field.options.disabled) {
|
|
62076
|
+
return;
|
|
62077
|
+
}
|
|
62078
|
+
const remaining = Array.isArray(this.fieldModel) ? this.fieldModel : [];
|
|
62079
|
+
let prevSnapshot;
|
|
62080
|
+
if (removedItem != null && typeof removedIndex === "number" && removedIndex >= 0) {
|
|
62081
|
+
prevSnapshot = deepClone(remaining);
|
|
62082
|
+
prevSnapshot.splice(removedIndex, 0, removedItem);
|
|
62083
|
+
} else {
|
|
62084
|
+
prevSnapshot = deepClone(remaining);
|
|
62085
|
+
}
|
|
62086
|
+
this.oldFieldValue = prevSnapshot;
|
|
62087
|
+
this.syncUpdateFormModel(remaining);
|
|
62088
|
+
this.emitFieldDataChange(remaining, this.oldFieldValue);
|
|
62089
|
+
this.triggerEvent("onRemoveTag", removedItem, remaining, removedIndex);
|
|
62090
|
+
this.$nextTick(() => {
|
|
62091
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
62092
|
+
});
|
|
62093
|
+
},
|
|
62094
|
+
getTreeData() {
|
|
62095
|
+
const data2 = this.field.options.treeParams ? JSON.parse(this.field.options.treeParams) : {};
|
|
62096
|
+
service$1({
|
|
62097
|
+
method: "post",
|
|
62098
|
+
url: "/unified-system/sysCompany/fullTree",
|
|
62099
|
+
data: __spreadValues({ companyId: sessionStorage.getItem("companyId") }, data2)
|
|
62100
|
+
}).then(({ data: data3 }) => {
|
|
62101
|
+
this.treeData = renderData(data3);
|
|
62102
|
+
function renderData(data4) {
|
|
62103
|
+
var _a;
|
|
62104
|
+
for (const element of data4) {
|
|
62105
|
+
element.nodeKey = element.joinUserId || element.id;
|
|
62106
|
+
if (element.children && ((_a = element.children) == null ? void 0 : _a.length)) {
|
|
62107
|
+
renderData(element.children);
|
|
62108
|
+
}
|
|
62109
|
+
}
|
|
62110
|
+
return data4;
|
|
62111
|
+
}
|
|
62112
|
+
this.$nextTick(() => {
|
|
62113
|
+
this.applyTreeFilter();
|
|
62114
|
+
});
|
|
62115
|
+
});
|
|
62116
|
+
},
|
|
62117
|
+
filterNode(value2, data2) {
|
|
62118
|
+
if (value2 == null || String(value2).trim() === "")
|
|
62119
|
+
return true;
|
|
62120
|
+
const keyword = String(value2).trim().toLowerCase();
|
|
62121
|
+
const name = (data2.name || "").toLowerCase();
|
|
62122
|
+
(data2.postName || "").toLowerCase();
|
|
62123
|
+
return name.includes(keyword);
|
|
62124
|
+
},
|
|
62125
|
+
applyTreeFilter() {
|
|
62126
|
+
if (this.$refs.treeRef && typeof this.$refs.treeRef.filter === "function") {
|
|
62127
|
+
this.$refs.treeRef.filter(this.search);
|
|
62128
|
+
}
|
|
62129
|
+
},
|
|
62130
|
+
handleClick() {
|
|
62131
|
+
this.dialogVisible = true;
|
|
62132
|
+
this.triggerEvent("onOpen");
|
|
62133
|
+
},
|
|
62134
|
+
handleNodeClick(data2, node) {
|
|
62135
|
+
if (this.field.options.multiple)
|
|
62136
|
+
return;
|
|
62137
|
+
this.currentNodeKey = data2.nodeKey;
|
|
62138
|
+
},
|
|
62139
|
+
handleCheck() {
|
|
62140
|
+
},
|
|
62141
|
+
handleConfirm(selectedRows) {
|
|
62142
|
+
this.dialogVisible = false;
|
|
62143
|
+
this.oldFieldValue = this.fieldModel ? deepClone(this.fieldModel) : null;
|
|
62144
|
+
this.fieldModel = selectedRows;
|
|
62145
|
+
this.syncUpdateFormModel(this.fieldModel);
|
|
62146
|
+
this.emitFieldDataChange(this.fieldModel, this.oldFieldValue);
|
|
62147
|
+
this.triggerEvent("onConfirm", selectedRows);
|
|
62148
|
+
this.$nextTick(() => {
|
|
62149
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
62150
|
+
});
|
|
62151
|
+
},
|
|
62152
|
+
handleCancel() {
|
|
62153
|
+
this.triggerEvent("onCancel");
|
|
62154
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
62155
|
+
},
|
|
62156
|
+
handleClose() {
|
|
62157
|
+
this.dialogVisible = false;
|
|
62158
|
+
this.triggerEvent("onClose");
|
|
62159
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
62160
|
+
},
|
|
62161
|
+
triggerEvent(eventName, ...args) {
|
|
62162
|
+
var _a, _b;
|
|
62163
|
+
const handler = (_b = (_a = this.field) == null ? void 0 : _a.options) == null ? void 0 : _b[eventName];
|
|
62164
|
+
if (handler) {
|
|
62165
|
+
try {
|
|
62166
|
+
if (eventName === "onConfirm" && args.length > 0) {
|
|
62167
|
+
const nodes = args[0];
|
|
62168
|
+
const fn = new Function("checkedNodes", "selectedNodes", "selectedValue", handler);
|
|
62169
|
+
fn.call(this, nodes, nodes, nodes);
|
|
62170
|
+
} else if (eventName === "onRemoveTag" && args.length >= 2) {
|
|
62171
|
+
const removedItem = args[0];
|
|
62172
|
+
const remainingNodes = args[1];
|
|
62173
|
+
const removedIndex = args[2];
|
|
62174
|
+
const fn = new Function("removedItem", "remainingNodes", "remainingValue", "selectedValue", "removedIndex", handler);
|
|
62175
|
+
fn.call(this, removedItem, remainingNodes, remainingNodes, remainingNodes, removedIndex);
|
|
62176
|
+
} else if (args.length > 0) {
|
|
62177
|
+
const paramNames = args.map((_, index2) => `arg${index2}`).join(", ");
|
|
62178
|
+
const fn = new Function(paramNames, handler);
|
|
62179
|
+
fn.apply(this, args);
|
|
62180
|
+
} else {
|
|
62181
|
+
const fn = new Function(handler);
|
|
62182
|
+
fn.call(this);
|
|
62183
|
+
}
|
|
62184
|
+
} catch (error) {
|
|
62185
|
+
console.error(`Error executing ${eventName} handler:`, error);
|
|
62186
|
+
console.error("Handler code:", handler);
|
|
62187
|
+
console.error("Args:", args);
|
|
62188
|
+
}
|
|
62189
|
+
}
|
|
62190
|
+
},
|
|
62191
|
+
handleSearch() {
|
|
62192
|
+
this.$nextTick(() => {
|
|
62193
|
+
this.applyTreeFilter();
|
|
62194
|
+
});
|
|
62195
|
+
}
|
|
62196
|
+
}
|
|
62197
|
+
};
|
|
62198
|
+
const _hoisted_1$1 = { class: "person-tree-widget__trigger" };
|
|
62199
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62200
|
+
const _component_el_button = resolveComponent("el-button");
|
|
62201
|
+
const _component_asset_dialog = resolveComponent("asset-dialog");
|
|
62202
|
+
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
62203
|
+
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
62204
|
+
designer: $props.designer,
|
|
62205
|
+
field: $props.field,
|
|
62206
|
+
rules: $data.rules,
|
|
62207
|
+
"design-state": $props.designState,
|
|
62208
|
+
"parent-widget": $props.parentWidget,
|
|
62209
|
+
"parent-list": $props.parentList,
|
|
62210
|
+
"index-of-parent-list": $props.indexOfParentList,
|
|
62211
|
+
"sub-form-row-index": $props.subFormRowIndex,
|
|
62212
|
+
"sub-form-col-index": $props.subFormColIndex,
|
|
62213
|
+
"sub-form-row-id": $props.subFormRowId
|
|
62214
|
+
}, {
|
|
62215
|
+
default: withCtx(() => [
|
|
62216
|
+
createElementVNode("div", {
|
|
62217
|
+
class: "person-tree-widget",
|
|
62218
|
+
style: normalizeStyle($options.widgetStyle)
|
|
62219
|
+
}, [
|
|
62220
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
62221
|
+
createVNode(_component_el_button, {
|
|
62222
|
+
type: "primary",
|
|
62223
|
+
disabled: $props.field.options.disabled,
|
|
62224
|
+
placeholder: "\u8BF7\u9009\u62E9\u8D44\u4EA7",
|
|
62225
|
+
onClick: $options.handleClick,
|
|
62226
|
+
ref: "inputTagRef"
|
|
62227
|
+
}, {
|
|
62228
|
+
default: withCtx(() => [
|
|
62229
|
+
createTextVNode(toDisplayString($props.field.options.buttonText || "\u9009\u62E9\u8D44\u4EA7"), 1)
|
|
62230
|
+
]),
|
|
62231
|
+
_: 1
|
|
62232
|
+
}, 8, ["disabled", "onClick"])
|
|
62233
|
+
]),
|
|
62234
|
+
createVNode(_component_asset_dialog, {
|
|
62235
|
+
"dialog-visible": $data.dialogVisible,
|
|
62236
|
+
onClose: $options.handleClose,
|
|
62237
|
+
onConfirm: $options.handleConfirm,
|
|
62238
|
+
onCancel: $options.handleCancel,
|
|
62239
|
+
fieldValue: $data.fieldModel
|
|
62240
|
+
}, null, 8, ["dialog-visible", "onClose", "onConfirm", "onCancel", "fieldValue"])
|
|
62241
|
+
], 4)
|
|
62242
|
+
]),
|
|
62243
|
+
_: 1
|
|
62244
|
+
}, 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"]);
|
|
62245
|
+
}
|
|
62246
|
+
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-623caa96"]]);
|
|
62247
|
+
var detailDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62248
|
+
const _sfc_main$1 = {
|
|
62249
|
+
name: "detail-dialog",
|
|
62250
|
+
components: {
|
|
62251
|
+
VFormRender
|
|
62252
|
+
},
|
|
62253
|
+
props: {
|
|
62254
|
+
visible: {
|
|
62255
|
+
type: Boolean,
|
|
62256
|
+
default: false
|
|
62257
|
+
},
|
|
62258
|
+
data: {
|
|
62259
|
+
type: Object,
|
|
62260
|
+
default: () => ({})
|
|
62261
|
+
},
|
|
62262
|
+
typeJson: {
|
|
62263
|
+
type: [String, Object],
|
|
62264
|
+
default: () => ({})
|
|
62265
|
+
}
|
|
62266
|
+
},
|
|
62267
|
+
data() {
|
|
62268
|
+
return {
|
|
62269
|
+
formData: {},
|
|
62270
|
+
formJson: null,
|
|
62271
|
+
defaultFormJson: {
|
|
62272
|
+
"widgetList": [],
|
|
62273
|
+
"formConfig": {
|
|
62274
|
+
"modelName": "formData",
|
|
62275
|
+
"refName": "vForm",
|
|
62276
|
+
"rulesName": "rules",
|
|
62277
|
+
"labelWidth": 80,
|
|
62278
|
+
"labelPosition": "left",
|
|
62279
|
+
"size": "",
|
|
62280
|
+
"labelAlign": "label-left-align",
|
|
62281
|
+
"cssCode": "",
|
|
62282
|
+
"customClass": [],
|
|
62283
|
+
"functions": "",
|
|
62284
|
+
"layoutType": "PC",
|
|
62285
|
+
"jsonVersion": 3,
|
|
62286
|
+
"onFormCreated": "",
|
|
62287
|
+
"onFormMounted": "",
|
|
62288
|
+
"onFormDataChange": "",
|
|
62289
|
+
"onFormValidate": "",
|
|
62290
|
+
"onFormValidateSuccess": ""
|
|
62291
|
+
}
|
|
62292
|
+
},
|
|
62293
|
+
showForm: false
|
|
62294
|
+
};
|
|
62295
|
+
},
|
|
62296
|
+
computed: {
|
|
62297
|
+
dialogVisible: {
|
|
62298
|
+
get() {
|
|
62299
|
+
return this.visible;
|
|
62300
|
+
},
|
|
62301
|
+
set(val) {
|
|
62302
|
+
if (!val) {
|
|
62303
|
+
this.handleClose();
|
|
62304
|
+
}
|
|
62305
|
+
}
|
|
62306
|
+
},
|
|
62307
|
+
currentRowData() {
|
|
62308
|
+
return this.data && typeof this.data === "object" ? this.data : {};
|
|
62309
|
+
},
|
|
62310
|
+
renderFormJson() {
|
|
62311
|
+
return this.formJson || this.defaultFormJson;
|
|
62312
|
+
}
|
|
62313
|
+
},
|
|
62314
|
+
watch: {
|
|
62315
|
+
visible: {
|
|
62316
|
+
immediate: true,
|
|
62317
|
+
handler(newVal) {
|
|
62318
|
+
if (newVal) {
|
|
62319
|
+
this.initFormData();
|
|
62320
|
+
}
|
|
62321
|
+
}
|
|
62322
|
+
}
|
|
62323
|
+
},
|
|
62324
|
+
methods: {
|
|
62325
|
+
resolveTypeJsonMap() {
|
|
62326
|
+
const raw = this.typeJson;
|
|
62327
|
+
if (raw == null || raw === "") {
|
|
62328
|
+
return {};
|
|
62329
|
+
}
|
|
62330
|
+
if (typeof raw === "string") {
|
|
62331
|
+
try {
|
|
62332
|
+
return JSON.parse(raw);
|
|
62333
|
+
} catch {
|
|
62334
|
+
return {};
|
|
62335
|
+
}
|
|
62336
|
+
}
|
|
62337
|
+
if (typeof raw === "object") {
|
|
62338
|
+
return raw;
|
|
62339
|
+
}
|
|
62340
|
+
return {};
|
|
62341
|
+
},
|
|
62342
|
+
applyFormJsonToRender(parsed) {
|
|
62343
|
+
this.formJson = parsed && parsed.widgetList && parsed.formConfig ? parsed : lodash.exports.cloneDeep(this.defaultFormJson);
|
|
62344
|
+
this.$nextTick(() => {
|
|
62345
|
+
const ref2 = this.$refs.detailFormRender;
|
|
62346
|
+
if (ref2 && typeof ref2.setFormJson === "function") {
|
|
62347
|
+
ref2.setFormJson(lodash.exports.cloneDeep(this.formJson));
|
|
62348
|
+
}
|
|
62349
|
+
});
|
|
62350
|
+
},
|
|
62351
|
+
initFormData() {
|
|
62352
|
+
var _a;
|
|
62353
|
+
this.formData = lodash.exports.cloneDeep(this.currentRowData) || {};
|
|
62354
|
+
const map = this.resolveTypeJsonMap();
|
|
62355
|
+
const assetType = String((_a = this.currentRowData.assetType) != null ? _a : "0");
|
|
62356
|
+
const code = map[assetType] || map["default"];
|
|
62357
|
+
if (!code) {
|
|
62358
|
+
this.$message.error("\u672A\u627E\u5230\u8D44\u4EA7\u7C7B\u578B\u5BF9\u5E94\u7684\u8868\u5355\u914D\u7F6E");
|
|
62359
|
+
this.dialogVisible = false;
|
|
62360
|
+
return;
|
|
62361
|
+
}
|
|
62362
|
+
service$1({
|
|
62363
|
+
method: "get",
|
|
62364
|
+
url: `/workflow-engine/businessFlowConfig/detailByCode/${code}`
|
|
62365
|
+
}).then(({ data: data2 }) => {
|
|
62366
|
+
if (!(data2 == null ? void 0 : data2.formJson)) {
|
|
62367
|
+
this.applyFormJsonToRender(null);
|
|
62368
|
+
return;
|
|
62369
|
+
}
|
|
62370
|
+
let parsed;
|
|
62371
|
+
try {
|
|
62372
|
+
parsed = typeof data2.formJson === "string" ? JSON.parse(data2.formJson) : data2.formJson;
|
|
62373
|
+
} catch (e) {
|
|
62374
|
+
console.error(e);
|
|
62375
|
+
parsed = null;
|
|
62376
|
+
}
|
|
62377
|
+
this.applyFormJsonToRender(parsed);
|
|
62378
|
+
this.showForm = true;
|
|
62379
|
+
}).catch((err) => {
|
|
62380
|
+
console.error(err);
|
|
62381
|
+
this.applyFormJsonToRender(null);
|
|
62382
|
+
});
|
|
62383
|
+
},
|
|
62384
|
+
async handleConfirm() {
|
|
62385
|
+
const renderRef = this.$refs.detailFormRender;
|
|
62386
|
+
if (!renderRef) {
|
|
62387
|
+
return;
|
|
62388
|
+
}
|
|
62389
|
+
try {
|
|
62390
|
+
const formValues = await renderRef.getFormData(true);
|
|
62391
|
+
console.log(formValues, "formValues");
|
|
62392
|
+
this.$emit("confirm", formValues);
|
|
62393
|
+
this.dialogVisible = false;
|
|
62394
|
+
} catch (e) {
|
|
62395
|
+
this.$message.error(e);
|
|
62396
|
+
console.error(e);
|
|
62397
|
+
}
|
|
62398
|
+
},
|
|
62399
|
+
handleClose() {
|
|
62400
|
+
this.formData = {};
|
|
62401
|
+
this.formJson = {
|
|
62402
|
+
"widgetList": [],
|
|
62403
|
+
"formConfig": {
|
|
62404
|
+
"modelName": "formData",
|
|
62405
|
+
"refName": "vForm",
|
|
62406
|
+
"rulesName": "rules",
|
|
62407
|
+
"labelWidth": 80,
|
|
62408
|
+
"labelPosition": "left",
|
|
62409
|
+
"size": "",
|
|
62410
|
+
"labelAlign": "label-left-align",
|
|
62411
|
+
"cssCode": "",
|
|
62412
|
+
"customClass": [],
|
|
62413
|
+
"functions": "",
|
|
62414
|
+
"layoutType": "PC",
|
|
62415
|
+
"jsonVersion": 3,
|
|
62416
|
+
"onFormCreated": "",
|
|
62417
|
+
"onFormMounted": "",
|
|
62418
|
+
"onFormDataChange": "",
|
|
62419
|
+
"onFormValidate": "",
|
|
62420
|
+
"onFormValidateSuccess": ""
|
|
62421
|
+
}
|
|
62422
|
+
};
|
|
62423
|
+
this.$emit("close");
|
|
62424
|
+
}
|
|
62425
|
+
}
|
|
62426
|
+
};
|
|
62427
|
+
const _hoisted_1 = { class: "asset-body-wrap" };
|
|
62428
|
+
const _hoisted_2 = { class: "dialog-footer" };
|
|
62429
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62430
|
+
const _component_v_form_render = resolveComponent("v-form-render");
|
|
62431
|
+
const _component_el_button = resolveComponent("el-button");
|
|
62432
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
62433
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
62434
|
+
modelValue: $options.dialogVisible,
|
|
62435
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.dialogVisible = $event),
|
|
62436
|
+
title: "\u5904\u7F6E\u8BE6\u60C5",
|
|
62437
|
+
width: "1200px",
|
|
62438
|
+
onClose: $options.handleClose,
|
|
62439
|
+
"body-class": "person-tree-dialog-body",
|
|
62440
|
+
"header-class": "person-tree-dialog-header"
|
|
62441
|
+
}, {
|
|
62442
|
+
footer: withCtx(() => [
|
|
62443
|
+
createElementVNode("div", _hoisted_2, [
|
|
62444
|
+
createVNode(_component_el_button, { onClick: $options.handleClose }, {
|
|
62445
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
62446
|
+
createTextVNode("\u53D6\u6D88", -1)
|
|
62447
|
+
])]),
|
|
62448
|
+
_: 1
|
|
62449
|
+
}, 8, ["onClick"]),
|
|
62450
|
+
createVNode(_component_el_button, {
|
|
62451
|
+
type: "primary",
|
|
62452
|
+
onClick: $options.handleConfirm
|
|
62453
|
+
}, {
|
|
62454
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
62455
|
+
createTextVNode("\u786E\u5B9A", -1)
|
|
62456
|
+
])]),
|
|
62457
|
+
_: 1
|
|
62458
|
+
}, 8, ["onClick"])
|
|
62459
|
+
])
|
|
62460
|
+
]),
|
|
62461
|
+
default: withCtx(() => [
|
|
62462
|
+
createElementVNode("div", _hoisted_1, [
|
|
62463
|
+
createVNode(_component_v_form_render, {
|
|
62464
|
+
ref: "detailFormRender",
|
|
62465
|
+
"form-json": $options.renderFormJson,
|
|
62466
|
+
"form-data": $data.formData
|
|
62467
|
+
}, null, 8, ["form-json", "form-data"])
|
|
62468
|
+
])
|
|
62469
|
+
]),
|
|
62470
|
+
_: 1
|
|
62471
|
+
}, 8, ["modelValue", "onClose"]);
|
|
62472
|
+
}
|
|
62473
|
+
var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-0f086184"]]);
|
|
62474
|
+
var index_vue_vue_type_style_index_0_lang = "";
|
|
62475
|
+
const _sfc_main = {
|
|
62476
|
+
name: "asset-table-widget",
|
|
62477
|
+
componentName: "FieldWidget",
|
|
62478
|
+
mixins: [emitter, fieldMixin, i18n$1],
|
|
62479
|
+
props: {
|
|
62480
|
+
field: {
|
|
62481
|
+
type: Object,
|
|
62482
|
+
default: () => ({})
|
|
62483
|
+
},
|
|
62484
|
+
parentWidget: Object,
|
|
62485
|
+
parentList: Array,
|
|
62486
|
+
indexOfParentList: Number,
|
|
62487
|
+
designer: Object,
|
|
62488
|
+
designState: {
|
|
62489
|
+
type: Boolean,
|
|
62490
|
+
default: false
|
|
62491
|
+
},
|
|
62492
|
+
subFormRowIndex: {
|
|
62493
|
+
type: Number,
|
|
62494
|
+
default: -1
|
|
62495
|
+
},
|
|
62496
|
+
subFormColIndex: {
|
|
62497
|
+
type: Number,
|
|
62498
|
+
default: -1
|
|
62499
|
+
},
|
|
62500
|
+
subFormRowId: {
|
|
62501
|
+
type: String,
|
|
62502
|
+
default: ""
|
|
62503
|
+
}
|
|
62504
|
+
},
|
|
62505
|
+
components: {
|
|
62506
|
+
FormItemWrapper,
|
|
62507
|
+
DetailDialog
|
|
62508
|
+
},
|
|
62509
|
+
data() {
|
|
62510
|
+
return {
|
|
62511
|
+
fieldModel: null,
|
|
62512
|
+
oldFieldValue: null,
|
|
62513
|
+
rules: [],
|
|
62514
|
+
detailDialogVisible: false,
|
|
62515
|
+
detailDialogData: null
|
|
62516
|
+
};
|
|
62517
|
+
},
|
|
62518
|
+
computed: {},
|
|
62519
|
+
watch: {
|
|
62520
|
+
"field.options.required"() {
|
|
62521
|
+
this.buildFieldRules();
|
|
62522
|
+
},
|
|
62523
|
+
"field.options.validation"() {
|
|
62524
|
+
this.buildFieldRules();
|
|
62525
|
+
},
|
|
62526
|
+
"field.options.onValidate"() {
|
|
62527
|
+
this.buildFieldRules();
|
|
62528
|
+
},
|
|
62529
|
+
"fieldModel": {
|
|
62530
|
+
handler(newVal) {
|
|
62531
|
+
this.$nextTick(() => {
|
|
62532
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
62533
|
+
});
|
|
62534
|
+
},
|
|
62535
|
+
deep: true
|
|
62536
|
+
}
|
|
62537
|
+
},
|
|
62538
|
+
created() {
|
|
62539
|
+
this.initFieldModel();
|
|
62540
|
+
this.registerToRefList();
|
|
62541
|
+
this.initEventHandler();
|
|
62542
|
+
this.buildFieldRules();
|
|
62543
|
+
this.handleOnCreated();
|
|
62544
|
+
},
|
|
62545
|
+
mounted() {
|
|
62546
|
+
this.handleOnMounted();
|
|
62547
|
+
},
|
|
62548
|
+
beforeUnmount() {
|
|
62549
|
+
this.unregisterFromRefList();
|
|
62550
|
+
},
|
|
62551
|
+
methods: {
|
|
62552
|
+
handleClick() {
|
|
62553
|
+
this.dialogVisible = true;
|
|
62554
|
+
this.triggerEvent("onOpen");
|
|
62555
|
+
},
|
|
62556
|
+
handleClose() {
|
|
62557
|
+
this.dialogVisible = false;
|
|
62558
|
+
this.triggerEvent("onClose");
|
|
62559
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
62560
|
+
},
|
|
62561
|
+
triggerEvent(eventName, ...args) {
|
|
62562
|
+
var _a, _b;
|
|
62563
|
+
const handler = (_b = (_a = this.field) == null ? void 0 : _a.options) == null ? void 0 : _b[eventName];
|
|
62564
|
+
if (handler) {
|
|
62565
|
+
try {
|
|
62566
|
+
if (eventName === "onConfirm" && args.length > 0) {
|
|
62567
|
+
const nodes = args[0];
|
|
62568
|
+
const fn = new Function("checkedNodes", "selectedNodes", "selectedValue", handler);
|
|
62569
|
+
fn.call(this, nodes, nodes, nodes);
|
|
62570
|
+
} else if (eventName === "onRemoveTag" && args.length >= 2) {
|
|
62571
|
+
const removedItem = args[0];
|
|
62572
|
+
const remainingNodes = args[1];
|
|
62573
|
+
const removedIndex = args[2];
|
|
62574
|
+
const fn = new Function("removedItem", "remainingNodes", "remainingValue", "selectedValue", "removedIndex", handler);
|
|
62575
|
+
fn.call(this, removedItem, remainingNodes, remainingNodes, remainingNodes, removedIndex);
|
|
62576
|
+
} else if (args.length > 0) {
|
|
62577
|
+
const paramNames = args.map((_, index2) => `arg${index2}`).join(", ");
|
|
62578
|
+
const fn = new Function(paramNames, handler);
|
|
62579
|
+
fn.apply(this, args);
|
|
62580
|
+
} else {
|
|
62581
|
+
const fn = new Function(handler);
|
|
62582
|
+
fn.call(this);
|
|
62583
|
+
}
|
|
62584
|
+
} catch (error) {
|
|
62585
|
+
console.error(`Error executing ${eventName} handler:`, error);
|
|
62586
|
+
console.error("Handler code:", handler);
|
|
62587
|
+
console.error("Args:", args);
|
|
62588
|
+
}
|
|
62589
|
+
}
|
|
62590
|
+
},
|
|
62591
|
+
handleRow(row) {
|
|
62592
|
+
this.detailDialogVisible = true;
|
|
62593
|
+
this.detailDialogData = row;
|
|
62594
|
+
},
|
|
62595
|
+
handleCloseDetailDialog() {
|
|
62596
|
+
this.detailDialogVisible = false;
|
|
62597
|
+
this.detailDialogData = null;
|
|
62598
|
+
},
|
|
62599
|
+
handleConfirm(formData) {
|
|
62600
|
+
const index2 = this.fieldModel.findIndex((item) => item.id === this.detailDialogData.id);
|
|
62601
|
+
if (index2 === -1)
|
|
62602
|
+
return;
|
|
62603
|
+
this.fieldModel[index2] = __spreadProps(__spreadValues(__spreadValues({}, this.fieldModel[index2]), formData), { isUpdate: true });
|
|
62604
|
+
console.log(this.fieldModel, "this.fieldModel");
|
|
62605
|
+
}
|
|
62606
|
+
}
|
|
62607
|
+
};
|
|
62608
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62609
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
62610
|
+
const _component_el_button = resolveComponent("el-button");
|
|
62611
|
+
const _component_el_table = resolveComponent("el-table");
|
|
62612
|
+
const _component_detail_dialog = resolveComponent("detail-dialog");
|
|
62613
|
+
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
62614
|
+
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
62615
|
+
designer: $props.designer,
|
|
62616
|
+
field: $props.field,
|
|
62617
|
+
rules: $data.rules,
|
|
62618
|
+
"design-state": $props.designState,
|
|
62619
|
+
"parent-widget": $props.parentWidget,
|
|
62620
|
+
"parent-list": $props.parentList,
|
|
62621
|
+
"index-of-parent-list": $props.indexOfParentList,
|
|
62622
|
+
"sub-form-row-index": $props.subFormRowIndex,
|
|
62623
|
+
"sub-form-col-index": $props.subFormColIndex,
|
|
62624
|
+
"sub-form-row-id": $props.subFormRowId
|
|
62625
|
+
}, {
|
|
62626
|
+
default: withCtx(() => [
|
|
62627
|
+
createElementVNode("div", {
|
|
62628
|
+
class: "asset-table-widget",
|
|
62629
|
+
style: normalizeStyle(_ctx.widgetStyle)
|
|
62630
|
+
}, [
|
|
62631
|
+
createVNode(_component_el_table, {
|
|
62632
|
+
data: $data.fieldModel,
|
|
62633
|
+
"max-height": "500px",
|
|
62634
|
+
style: { "width": "100%" },
|
|
62635
|
+
"row-key": "id",
|
|
62636
|
+
ref: "tableRef"
|
|
62637
|
+
}, {
|
|
62638
|
+
default: withCtx(() => [
|
|
62639
|
+
createVNode(_component_el_table_column, {
|
|
62640
|
+
prop: "assetCode",
|
|
62641
|
+
label: "\u8D44\u4EA7\u7F16\u7801"
|
|
62642
|
+
}),
|
|
62643
|
+
createVNode(_component_el_table_column, {
|
|
62644
|
+
prop: "labelName",
|
|
62645
|
+
label: "\u8D44\u4EA7\u540D\u79F0"
|
|
62646
|
+
}, {
|
|
62647
|
+
default: withCtx(({ row }) => [
|
|
62648
|
+
createVNode(_component_el_button, {
|
|
62649
|
+
type: "text",
|
|
62650
|
+
size: "small",
|
|
62651
|
+
onClick: ($event) => $options.handleRow(row)
|
|
62652
|
+
}, {
|
|
62653
|
+
default: withCtx(() => [
|
|
62654
|
+
createTextVNode(toDisplayString(row.labelName), 1)
|
|
62655
|
+
]),
|
|
62656
|
+
_: 2
|
|
62657
|
+
}, 1032, ["onClick"])
|
|
62658
|
+
]),
|
|
62659
|
+
_: 1
|
|
62660
|
+
}),
|
|
62661
|
+
createVNode(_component_el_table_column, {
|
|
62662
|
+
prop: "status",
|
|
62663
|
+
label: "\u8D44\u4EA7\u7C7B\u578B"
|
|
62664
|
+
}),
|
|
62665
|
+
createVNode(_component_el_table_column, {
|
|
62666
|
+
prop: "createTime",
|
|
62667
|
+
label: "\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"
|
|
62668
|
+
}),
|
|
62669
|
+
createVNode(_component_el_table_column, {
|
|
62670
|
+
prop: "updateTime",
|
|
62671
|
+
label: "\u539F\u503C"
|
|
62672
|
+
}),
|
|
62673
|
+
createVNode(_component_el_table_column, {
|
|
62674
|
+
prop: "updateTime",
|
|
62675
|
+
label: "\u51C0\u503C"
|
|
62676
|
+
}),
|
|
62677
|
+
createVNode(_component_el_table_column, {
|
|
62678
|
+
prop: "isUpdate",
|
|
62679
|
+
label: "\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"
|
|
62680
|
+
}, {
|
|
62681
|
+
default: withCtx(({ row }) => [
|
|
62682
|
+
createTextVNode(toDisplayString(row.isUpdate ? "\u662F" : "\u5426"), 1)
|
|
62683
|
+
]),
|
|
62684
|
+
_: 1
|
|
62685
|
+
})
|
|
62686
|
+
]),
|
|
62687
|
+
_: 1
|
|
62688
|
+
}, 8, ["data"])
|
|
62689
|
+
], 4),
|
|
62690
|
+
createVNode(_component_detail_dialog, {
|
|
62691
|
+
visible: $data.detailDialogVisible,
|
|
62692
|
+
typeJson: $props.field.options.typeJson,
|
|
62693
|
+
data: $data.detailDialogData,
|
|
62694
|
+
onClose: $options.handleCloseDetailDialog,
|
|
62695
|
+
onConfirm: $options.handleConfirm
|
|
62696
|
+
}, null, 8, ["visible", "typeJson", "data", "onClose", "onConfirm"])
|
|
62697
|
+
]),
|
|
62698
|
+
_: 1
|
|
62699
|
+
}, 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"]);
|
|
62700
|
+
}
|
|
62701
|
+
var AssetTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["render", _sfc_render]]);
|
|
61678
62702
|
const loadExtension = function(app) {
|
|
61679
62703
|
app.component(CardWidget.name, CardWidget);
|
|
61680
62704
|
app.component(CardItem.name, CardItem);
|
|
@@ -61752,6 +62776,11 @@ const loadExtension = function(app) {
|
|
|
61752
62776
|
{ label: "\u90E8\u95E8\u540D\u79F0", value: "deptName" }
|
|
61753
62777
|
]
|
|
61754
62778
|
}));
|
|
62779
|
+
app.component(AssetSelectWidget.name, AssetSelectWidget);
|
|
62780
|
+
registerCPEditor(app, "asset-select-buttonText", "asset-select-buttonText-editor", createInputTextEditor("buttonText", "extension.setting.assetSelectButtonText"));
|
|
62781
|
+
registerCPEditor(app, "asset-select-typeJson", "asset-select-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetSelectTypeJson", { rows: 4 }));
|
|
62782
|
+
app.component(AssetTableWidget.name, AssetTableWidget);
|
|
62783
|
+
registerCPEditor(app, "asset-table-typeJson", "asset-table-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetTableTypeJson", { rows: 4 }));
|
|
61755
62784
|
};
|
|
61756
62785
|
function getElMessage(app) {
|
|
61757
62786
|
var _a, _b, _c;
|