form-custom-test 3.0.217 → 3.0.218
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 +2161 -1170
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +116 -116
- package/dist/render.es.js +1558 -596
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +90 -90
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -29,7 +29,7 @@ var __objRest = (source2, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { openBlock, createElementBlock, normalizeClass, renderSlot, reactive, createElementVNode, toDisplayString, createCommentVNode, resolveComponent, normalizeStyle, withModifiers, Fragment, createVNode, createBlock, withCtx, createTextVNode, withDirectives, vShow, renderList, defineComponent, createSlots, watch, ref, onBeforeUnmount, onMounted, onUnmounted, mergeProps, resolveDynamicComponent, isVNode } from "vue";
|
|
32
|
+
import { openBlock, createElementBlock, normalizeClass, renderSlot, reactive, createElementVNode, toDisplayString, createCommentVNode, resolveComponent, normalizeStyle, withModifiers, Fragment, createVNode, createBlock, withCtx, createTextVNode, withDirectives, vShow, renderList, defineComponent, createSlots, watch, ref, onBeforeUnmount, onMounted, onUnmounted, mergeProps, resolveDynamicComponent, isVNode, withKeys } from "vue";
|
|
33
33
|
import { ElMessage } from "element-plus";
|
|
34
34
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
35
35
|
function getDefaultExportFromCjs(x) {
|
|
@@ -1160,7 +1160,7 @@ var _export_sfc$1 = (sfc, props) => {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
return target;
|
|
1162
1162
|
};
|
|
1163
|
-
const _sfc_main$
|
|
1163
|
+
const _sfc_main$1l = {
|
|
1164
1164
|
name: "container-item-wrapper",
|
|
1165
1165
|
props: {
|
|
1166
1166
|
widget: Object
|
|
@@ -1174,14 +1174,14 @@ const _sfc_main$1i = {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
|
-
function _sfc_render$
|
|
1177
|
+
function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1178
1178
|
return openBlock(), createElementBlock("div", {
|
|
1179
1179
|
class: normalizeClass(["container-wrapper", [$options.customClass]])
|
|
1180
1180
|
}, [
|
|
1181
1181
|
renderSlot(_ctx.$slots, "default")
|
|
1182
1182
|
], 2);
|
|
1183
1183
|
}
|
|
1184
|
-
var ContainerItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1184
|
+
var ContainerItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["render", _sfc_render$1l]]);
|
|
1185
1185
|
var __glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1186
1186
|
__proto__: null,
|
|
1187
1187
|
"default": ContainerItemWrapper
|
|
@@ -1965,6 +1965,7 @@ var enLocale_extension = {
|
|
|
1965
1965
|
alert: "Alert",
|
|
1966
1966
|
"person-tree": "Person Tree",
|
|
1967
1967
|
"asset-select": "Asset Select",
|
|
1968
|
+
"document-select": "Document Select",
|
|
1968
1969
|
"dict-select": "Dict Select",
|
|
1969
1970
|
"radio-other": "Radio (Other)",
|
|
1970
1971
|
"select-other": "Select (Other)",
|
|
@@ -2015,6 +2016,10 @@ var enLocale_extension = {
|
|
|
2015
2016
|
assetSelectAssetTypeValue: "Asset Type Value",
|
|
2016
2017
|
assetTypeAssetTypeValue: "Asset Type",
|
|
2017
2018
|
assetLimit: "Asset Limit",
|
|
2019
|
+
documentSelectButtonText: "Button Text",
|
|
2020
|
+
documentSelectDocumentTypeValue: "Document Type Value",
|
|
2021
|
+
documentSelectDocumentLimit: "Document Limit",
|
|
2022
|
+
documentSelectDocumentListUrl: "Document List URL",
|
|
2018
2023
|
dictSelectDictCode: "Dict Type",
|
|
2019
2024
|
dictSelectDictCodePlaceholder: "Select dict type",
|
|
2020
2025
|
dictSelectDictCodeHint: "Select a categorized dict from cache; options load automatically",
|
|
@@ -2034,6 +2039,7 @@ var zhLocale_extension = {
|
|
|
2034
2039
|
"current-user": "\u5F53\u524D\u7528\u6237",
|
|
2035
2040
|
"current-user-second-company": "\u5F53\u524D\u7528\u6237\u4E8C\u7EA7\u516C\u53F8",
|
|
2036
2041
|
"asset-select": "\u8D44\u4EA7\u9009\u62E9",
|
|
2042
|
+
"document-select": "\u6536\u6587\u9009\u62E9",
|
|
2037
2043
|
"dict-select": "\u5B57\u5178\u9009\u62E9",
|
|
2038
2044
|
"asset-table": "\u8D44\u4EA7\u8868\u683C",
|
|
2039
2045
|
"radio-other": "\u5355\u9009\u9879\uFF08\u5176\u4ED6\uFF09",
|
|
@@ -2083,6 +2089,10 @@ var zhLocale_extension = {
|
|
|
2083
2089
|
assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
2084
2090
|
assetTypeAssetTypeValue: "\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
2085
2091
|
assetSelectAssetLimit: "\u8D44\u4EA7\u9009\u62E9\u9650\u5236",
|
|
2092
|
+
documentSelectButtonText: "\u6309\u94AE\u6587\u5B57",
|
|
2093
|
+
documentSelectDocumentTypeValue: "\u6536\u6587\u7C7B\u578B\u503C",
|
|
2094
|
+
documentSelectDocumentLimit: "\u6536\u6587\u9009\u62E9\u9650\u5236",
|
|
2095
|
+
documentSelectDocumentListUrl: "\u6536\u6587\u5217\u8868\u63A5\u53E3",
|
|
2086
2096
|
dictSelectDictCode: "\u5B57\u5178\u7C7B\u578B",
|
|
2087
2097
|
dictSelectDictCodePlaceholder: "\u8BF7\u9009\u62E9\u5B57\u5178\u7C7B\u578B",
|
|
2088
2098
|
dictSelectDictCodeHint: "\u4ECE\u5B57\u5178\u7F13\u5B58\u4E2D\u9009\u62E9\u5DF2\u5206\u7C7B\u7684\u5B57\u5178\uFF0C\u9009\u9879\u5C06\u81EA\u52A8\u52A0\u8F7D\u5230\u4E0B\u62C9\u6846",
|
|
@@ -2147,7 +2157,7 @@ var refMixin = {
|
|
|
2147
2157
|
}
|
|
2148
2158
|
};
|
|
2149
2159
|
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
2150
|
-
const _sfc_main$
|
|
2160
|
+
const _sfc_main$1k = {
|
|
2151
2161
|
name: "SvgIcon",
|
|
2152
2162
|
props: {
|
|
2153
2163
|
iconClass: {
|
|
@@ -2175,20 +2185,20 @@ const _sfc_main$1h = {
|
|
|
2175
2185
|
}
|
|
2176
2186
|
}
|
|
2177
2187
|
};
|
|
2178
|
-
const _hoisted_1$
|
|
2179
|
-
const _hoisted_2$
|
|
2180
|
-
function _sfc_render$
|
|
2188
|
+
const _hoisted_1$T = ["xlink:href"];
|
|
2189
|
+
const _hoisted_2$F = { key: 0 };
|
|
2190
|
+
function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2181
2191
|
return openBlock(), createElementBlock("svg", {
|
|
2182
2192
|
class: normalizeClass($options.svgClass),
|
|
2183
2193
|
"aria-hidden": "true"
|
|
2184
2194
|
}, [
|
|
2185
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
2186
|
-
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$
|
|
2195
|
+
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$T),
|
|
2196
|
+
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$F, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
2187
2197
|
], 2);
|
|
2188
2198
|
}
|
|
2189
|
-
var SvgIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2199
|
+
var SvgIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["render", _sfc_render$1k], ["__scopeId", "data-v-8002b89a"]]);
|
|
2190
2200
|
var staticContentWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2191
|
-
const _sfc_main$
|
|
2201
|
+
const _sfc_main$1j = {
|
|
2192
2202
|
name: "static-content-wrapper",
|
|
2193
2203
|
mixins: [i18n$1],
|
|
2194
2204
|
components: {
|
|
@@ -2274,21 +2284,21 @@ const _sfc_main$1g = {
|
|
|
2274
2284
|
}
|
|
2275
2285
|
}
|
|
2276
2286
|
};
|
|
2277
|
-
const _hoisted_1$
|
|
2287
|
+
const _hoisted_1$S = {
|
|
2278
2288
|
key: 0,
|
|
2279
2289
|
class: "field-action"
|
|
2280
2290
|
};
|
|
2281
|
-
const _hoisted_2$
|
|
2282
|
-
const _hoisted_3$
|
|
2283
|
-
const _hoisted_4$
|
|
2284
|
-
const _hoisted_5$
|
|
2285
|
-
const _hoisted_6$
|
|
2291
|
+
const _hoisted_2$E = ["title"];
|
|
2292
|
+
const _hoisted_3$z = ["title"];
|
|
2293
|
+
const _hoisted_4$n = ["title"];
|
|
2294
|
+
const _hoisted_5$i = ["title"];
|
|
2295
|
+
const _hoisted_6$h = {
|
|
2286
2296
|
key: 1,
|
|
2287
2297
|
class: "drag-handler background-opacity"
|
|
2288
2298
|
};
|
|
2289
|
-
const _hoisted_7$
|
|
2290
|
-
const _hoisted_8$
|
|
2291
|
-
function _sfc_render$
|
|
2299
|
+
const _hoisted_7$f = ["title"];
|
|
2300
|
+
const _hoisted_8$a = { key: 0 };
|
|
2301
|
+
function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2292
2302
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
2293
2303
|
return openBlock(), createElementBlock("div", {
|
|
2294
2304
|
class: normalizeClass(["field-wrapper", { "design-time-bottom-margin": !!this.designer }]),
|
|
@@ -2303,49 +2313,49 @@ function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2303
2313
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2304
2314
|
], 6)) : createCommentVNode("", true),
|
|
2305
2315
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2306
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2316
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
2307
2317
|
createElementVNode("i", {
|
|
2308
2318
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
2309
2319
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
2310
2320
|
}, [
|
|
2311
2321
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
2312
|
-
], 8, _hoisted_2$
|
|
2322
|
+
], 8, _hoisted_2$E),
|
|
2313
2323
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
2314
2324
|
key: 0,
|
|
2315
2325
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
2316
2326
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.moveUpWidget($props.field), ["stop"]))
|
|
2317
2327
|
}, [
|
|
2318
2328
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
2319
|
-
], 8, _hoisted_3$
|
|
2329
|
+
], 8, _hoisted_3$z)) : createCommentVNode("", true),
|
|
2320
2330
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
2321
2331
|
key: 1,
|
|
2322
2332
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
2323
2333
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => $options.moveDownWidget($props.field), ["stop"]))
|
|
2324
2334
|
}, [
|
|
2325
2335
|
createVNode(_component_svg_icon, { "icon-class": "el-move-down" })
|
|
2326
|
-
], 8, _hoisted_4$
|
|
2336
|
+
], 8, _hoisted_4$n)) : createCommentVNode("", true),
|
|
2327
2337
|
createElementVNode("i", {
|
|
2328
2338
|
title: _ctx.i18nt("designer.hint.remove"),
|
|
2329
2339
|
onClick: _cache[4] || (_cache[4] = withModifiers((...args) => $options.removeFieldWidget && $options.removeFieldWidget(...args), ["stop"]))
|
|
2330
2340
|
}, [
|
|
2331
2341
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
2332
|
-
], 8, _hoisted_5$
|
|
2342
|
+
], 8, _hoisted_5$i)
|
|
2333
2343
|
])) : createCommentVNode("", true),
|
|
2334
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
2344
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_6$h, [
|
|
2335
2345
|
createElementVNode("i", {
|
|
2336
2346
|
title: _ctx.i18nt("designer.hint.dragHandler")
|
|
2337
2347
|
}, [
|
|
2338
2348
|
createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
|
|
2339
|
-
], 8, _hoisted_7$
|
|
2349
|
+
], 8, _hoisted_7$f),
|
|
2340
2350
|
createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
|
|
2341
|
-
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_8$
|
|
2351
|
+
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_8$a, [
|
|
2342
2352
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
2343
2353
|
])) : createCommentVNode("", true)
|
|
2344
2354
|
])) : createCommentVNode("", true)
|
|
2345
2355
|
], 64)) : createCommentVNode("", true)
|
|
2346
2356
|
], 6);
|
|
2347
2357
|
}
|
|
2348
|
-
var StaticContentWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2358
|
+
var StaticContentWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["render", _sfc_render$1j], ["__scopeId", "data-v-41799baa"]]);
|
|
2349
2359
|
var __glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2350
2360
|
__proto__: null,
|
|
2351
2361
|
"default": StaticContentWrapper
|
|
@@ -9257,7 +9267,7 @@ var fieldMixin = {
|
|
|
9257
9267
|
}
|
|
9258
9268
|
};
|
|
9259
9269
|
var buttonWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9260
|
-
const _sfc_main$
|
|
9270
|
+
const _sfc_main$1i = {
|
|
9261
9271
|
name: "button-widget",
|
|
9262
9272
|
componentName: "FieldWidget",
|
|
9263
9273
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9303,7 +9313,7 @@ const _sfc_main$1f = {
|
|
|
9303
9313
|
},
|
|
9304
9314
|
methods: {}
|
|
9305
9315
|
};
|
|
9306
|
-
function _sfc_render$
|
|
9316
|
+
function _sfc_render$1i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9307
9317
|
const _component_el_button = resolveComponent("el-button");
|
|
9308
9318
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
9309
9319
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -9339,13 +9349,13 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9339
9349
|
_: 1
|
|
9340
9350
|
}, 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"]);
|
|
9341
9351
|
}
|
|
9342
|
-
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9352
|
+
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$1i], ["__scopeId", "data-v-78bf6014"]]);
|
|
9343
9353
|
var __glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9344
9354
|
__proto__: null,
|
|
9345
9355
|
"default": buttonWidget
|
|
9346
9356
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9347
9357
|
var formItemWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9348
|
-
const _sfc_main$
|
|
9358
|
+
const _sfc_main$1h = {
|
|
9349
9359
|
name: "form-item-wrapper",
|
|
9350
9360
|
mixins: [i18n$1],
|
|
9351
9361
|
components: {
|
|
@@ -9485,25 +9495,25 @@ const _sfc_main$1e = {
|
|
|
9485
9495
|
}
|
|
9486
9496
|
}
|
|
9487
9497
|
};
|
|
9488
|
-
const _hoisted_1$
|
|
9498
|
+
const _hoisted_1$R = {
|
|
9489
9499
|
key: 0,
|
|
9490
9500
|
class: "custom-label"
|
|
9491
9501
|
};
|
|
9492
|
-
const _hoisted_2$
|
|
9502
|
+
const _hoisted_2$D = {
|
|
9493
9503
|
key: 0,
|
|
9494
9504
|
class: "field-action"
|
|
9495
9505
|
};
|
|
9496
|
-
const _hoisted_3$
|
|
9497
|
-
const _hoisted_4$
|
|
9498
|
-
const _hoisted_5$
|
|
9499
|
-
const _hoisted_6$
|
|
9500
|
-
const _hoisted_7$
|
|
9506
|
+
const _hoisted_3$y = ["title"];
|
|
9507
|
+
const _hoisted_4$m = ["title"];
|
|
9508
|
+
const _hoisted_5$h = ["title"];
|
|
9509
|
+
const _hoisted_6$g = ["title"];
|
|
9510
|
+
const _hoisted_7$e = {
|
|
9501
9511
|
key: 1,
|
|
9502
9512
|
class: "drag-handler background-opacity"
|
|
9503
9513
|
};
|
|
9504
|
-
const _hoisted_8$
|
|
9505
|
-
const _hoisted_9$
|
|
9506
|
-
function _sfc_render$
|
|
9514
|
+
const _hoisted_8$9 = ["title"];
|
|
9515
|
+
const _hoisted_9$8 = { key: 0 };
|
|
9516
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9507
9517
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
9508
9518
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
9509
9519
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -9526,7 +9536,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9526
9536
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectField($props.field), ["stop"]))
|
|
9527
9537
|
}, {
|
|
9528
9538
|
label: withCtx(() => [
|
|
9529
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
9539
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$R, [
|
|
9530
9540
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9531
9541
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9532
9542
|
createVNode(_component_el_tooltip, {
|
|
@@ -9578,55 +9588,55 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9578
9588
|
[vShow, $props.designState === true || !$props.field.options.hidden]
|
|
9579
9589
|
]) : createCommentVNode("", true),
|
|
9580
9590
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
9581
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
9591
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
|
|
9582
9592
|
createElementVNode("i", {
|
|
9583
9593
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
9584
9594
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
9585
9595
|
}, [
|
|
9586
9596
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
9587
|
-
], 8, _hoisted_3$
|
|
9597
|
+
], 8, _hoisted_3$y),
|
|
9588
9598
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
9589
9599
|
key: 0,
|
|
9590
9600
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
9591
9601
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.moveUpWidget($props.field), ["stop"]))
|
|
9592
9602
|
}, [
|
|
9593
9603
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
9594
|
-
], 8, _hoisted_4$
|
|
9604
|
+
], 8, _hoisted_4$m)) : createCommentVNode("", true),
|
|
9595
9605
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
9596
9606
|
key: 1,
|
|
9597
9607
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
9598
9608
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => $options.moveDownWidget($props.field), ["stop"]))
|
|
9599
9609
|
}, [
|
|
9600
9610
|
createVNode(_component_svg_icon, { "icon-class": "el-move-down" })
|
|
9601
|
-
], 8, _hoisted_5$
|
|
9611
|
+
], 8, _hoisted_5$h)) : createCommentVNode("", true),
|
|
9602
9612
|
createElementVNode("i", {
|
|
9603
9613
|
title: _ctx.i18nt("designer.hint.remove"),
|
|
9604
9614
|
onClick: _cache[4] || (_cache[4] = withModifiers((...args) => $options.removeFieldWidget && $options.removeFieldWidget(...args), ["stop"]))
|
|
9605
9615
|
}, [
|
|
9606
9616
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
9607
|
-
], 8, _hoisted_6$
|
|
9617
|
+
], 8, _hoisted_6$g)
|
|
9608
9618
|
])) : createCommentVNode("", true),
|
|
9609
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
9619
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_7$e, [
|
|
9610
9620
|
createElementVNode("i", {
|
|
9611
9621
|
title: _ctx.i18nt("designer.hint.dragHandler")
|
|
9612
9622
|
}, [
|
|
9613
9623
|
createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
|
|
9614
|
-
], 8, _hoisted_8$
|
|
9624
|
+
], 8, _hoisted_8$9),
|
|
9615
9625
|
createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
|
|
9616
|
-
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$
|
|
9626
|
+
$props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$8, [
|
|
9617
9627
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
9618
9628
|
])) : createCommentVNode("", true)
|
|
9619
9629
|
])) : createCommentVNode("", true)
|
|
9620
9630
|
], 64)) : createCommentVNode("", true)
|
|
9621
9631
|
], 2);
|
|
9622
9632
|
}
|
|
9623
|
-
var FormItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9633
|
+
var FormItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-3cbbbdb2"]]);
|
|
9624
9634
|
var __glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9625
9635
|
__proto__: null,
|
|
9626
9636
|
"default": FormItemWrapper
|
|
9627
9637
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9628
9638
|
var cascaderWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9629
|
-
const _sfc_main$
|
|
9639
|
+
const _sfc_main$1g = {
|
|
9630
9640
|
name: "cascader-widget",
|
|
9631
9641
|
componentName: "FieldWidget",
|
|
9632
9642
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9698,8 +9708,8 @@ const _sfc_main$1d = {
|
|
|
9698
9708
|
},
|
|
9699
9709
|
methods: {}
|
|
9700
9710
|
};
|
|
9701
|
-
const _hoisted_1$
|
|
9702
|
-
function _sfc_render$
|
|
9711
|
+
const _hoisted_1$Q = { class: "full-width-input" };
|
|
9712
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9703
9713
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
9704
9714
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9705
9715
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9715,7 +9725,7 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9715
9725
|
"sub-form-row-id": $props.subFormRowId
|
|
9716
9726
|
}, {
|
|
9717
9727
|
default: withCtx(() => [
|
|
9718
|
-
createElementVNode("div", _hoisted_1$
|
|
9728
|
+
createElementVNode("div", _hoisted_1$Q, [
|
|
9719
9729
|
createVNode(_component_el_cascader, {
|
|
9720
9730
|
ref: "fieldEditor",
|
|
9721
9731
|
options: $data.selectList || $props.field.options.optionItems,
|
|
@@ -9737,13 +9747,13 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9737
9747
|
_: 1
|
|
9738
9748
|
}, 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"]);
|
|
9739
9749
|
}
|
|
9740
|
-
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9750
|
+
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-2002ac31"]]);
|
|
9741
9751
|
var __glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9742
9752
|
__proto__: null,
|
|
9743
9753
|
"default": cascaderWidget
|
|
9744
9754
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9745
9755
|
var checkboxWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9746
|
-
const _sfc_main$
|
|
9756
|
+
const _sfc_main$1f = {
|
|
9747
9757
|
name: "checkbox-widget",
|
|
9748
9758
|
componentName: "FieldWidget",
|
|
9749
9759
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9799,7 +9809,7 @@ const _sfc_main$1c = {
|
|
|
9799
9809
|
},
|
|
9800
9810
|
methods: {}
|
|
9801
9811
|
};
|
|
9802
|
-
function _sfc_render$
|
|
9812
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9803
9813
|
const _component_el_checkbox_button = resolveComponent("el-checkbox-button");
|
|
9804
9814
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
9805
9815
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
@@ -9860,13 +9870,13 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9860
9870
|
_: 1
|
|
9861
9871
|
}, 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"]);
|
|
9862
9872
|
}
|
|
9863
|
-
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9873
|
+
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-8c1ca3c8"]]);
|
|
9864
9874
|
var __glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9865
9875
|
__proto__: null,
|
|
9866
9876
|
"default": checkboxWidget
|
|
9867
9877
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9868
9878
|
var colorWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9869
|
-
const _sfc_main$
|
|
9879
|
+
const _sfc_main$1e = {
|
|
9870
9880
|
name: "color-widget",
|
|
9871
9881
|
componentName: "FieldWidget",
|
|
9872
9882
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9921,7 +9931,7 @@ const _sfc_main$1b = {
|
|
|
9921
9931
|
},
|
|
9922
9932
|
methods: {}
|
|
9923
9933
|
};
|
|
9924
|
-
function _sfc_render$
|
|
9934
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9925
9935
|
const _component_el_color_picker = resolveComponent("el-color-picker");
|
|
9926
9936
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9927
9937
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9949,13 +9959,13 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9949
9959
|
_: 1
|
|
9950
9960
|
}, 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"]);
|
|
9951
9961
|
}
|
|
9952
|
-
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9962
|
+
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-52b66ef1"]]);
|
|
9953
9963
|
var __glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9954
9964
|
__proto__: null,
|
|
9955
9965
|
"default": colorWidget
|
|
9956
9966
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9957
9967
|
var dateRangeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9958
|
-
const _sfc_main$
|
|
9968
|
+
const _sfc_main$1d = {
|
|
9959
9969
|
name: "date-range-widget",
|
|
9960
9970
|
componentName: "FieldWidget",
|
|
9961
9971
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10010,7 +10020,7 @@ const _sfc_main$1a = {
|
|
|
10010
10020
|
},
|
|
10011
10021
|
methods: {}
|
|
10012
10022
|
};
|
|
10013
|
-
function _sfc_render$
|
|
10023
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10014
10024
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
10015
10025
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
10016
10026
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -10048,13 +10058,13 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10048
10058
|
_: 1
|
|
10049
10059
|
}, 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"]);
|
|
10050
10060
|
}
|
|
10051
|
-
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10061
|
+
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-e50300fe"]]);
|
|
10052
10062
|
var __glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10053
10063
|
__proto__: null,
|
|
10054
10064
|
"default": dateRangeWidget
|
|
10055
10065
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10056
10066
|
var dateWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10057
|
-
const _sfc_main$
|
|
10067
|
+
const _sfc_main$1c = {
|
|
10058
10068
|
name: "date-widget",
|
|
10059
10069
|
componentName: "FieldWidget",
|
|
10060
10070
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10109,7 +10119,7 @@ const _sfc_main$19 = {
|
|
|
10109
10119
|
},
|
|
10110
10120
|
methods: {}
|
|
10111
10121
|
};
|
|
10112
|
-
function _sfc_render$
|
|
10122
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10113
10123
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
10114
10124
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
10115
10125
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -10147,13 +10157,13 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10147
10157
|
_: 1
|
|
10148
10158
|
}, 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"]);
|
|
10149
10159
|
}
|
|
10150
|
-
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10160
|
+
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-89ff4bae"]]);
|
|
10151
10161
|
var __glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10152
10162
|
__proto__: null,
|
|
10153
10163
|
"default": dateWidget
|
|
10154
10164
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10155
10165
|
var dividerWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10156
|
-
const _sfc_main$
|
|
10166
|
+
const _sfc_main$1b = {
|
|
10157
10167
|
name: "divider-widget",
|
|
10158
10168
|
componentName: "FieldWidget",
|
|
10159
10169
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10199,7 +10209,7 @@ const _sfc_main$18 = {
|
|
|
10199
10209
|
},
|
|
10200
10210
|
methods: {}
|
|
10201
10211
|
};
|
|
10202
|
-
function _sfc_render$
|
|
10212
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10203
10213
|
const _component_el_divider = resolveComponent("el-divider");
|
|
10204
10214
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
10205
10215
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -10228,7 +10238,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10228
10238
|
_: 1
|
|
10229
10239
|
}, 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"]);
|
|
10230
10240
|
}
|
|
10231
|
-
var dividerWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10241
|
+
var dividerWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-09a1b973"]]);
|
|
10232
10242
|
var __glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10233
10243
|
__proto__: null,
|
|
10234
10244
|
"default": dividerWidget
|
|
@@ -10267,252 +10277,252 @@ var _export_sfc = (sfc, props) => {
|
|
|
10267
10277
|
}
|
|
10268
10278
|
return target;
|
|
10269
10279
|
};
|
|
10270
|
-
const _sfc_main$
|
|
10280
|
+
const _sfc_main$1a = defineComponent({
|
|
10271
10281
|
name: "ArrowDownBold"
|
|
10272
10282
|
});
|
|
10273
|
-
const _hoisted_1$
|
|
10283
|
+
const _hoisted_1$P = {
|
|
10274
10284
|
class: "icon",
|
|
10275
10285
|
width: "200",
|
|
10276
10286
|
height: "200",
|
|
10277
10287
|
viewBox: "0 0 1024 1024",
|
|
10278
10288
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10279
10289
|
};
|
|
10280
|
-
const _hoisted_2$
|
|
10290
|
+
const _hoisted_2$C = /* @__PURE__ */ createElementVNode("path", {
|
|
10281
10291
|
fill: "currentColor",
|
|
10282
10292
|
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"
|
|
10283
10293
|
}, null, -1);
|
|
10284
|
-
const _hoisted_3$
|
|
10285
|
-
_hoisted_2$
|
|
10294
|
+
const _hoisted_3$x = [
|
|
10295
|
+
_hoisted_2$C
|
|
10286
10296
|
];
|
|
10287
|
-
function _sfc_render$
|
|
10288
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10297
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10298
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$P, _hoisted_3$x);
|
|
10289
10299
|
}
|
|
10290
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10291
|
-
const _sfc_main$
|
|
10300
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$1a]]);
|
|
10301
|
+
const _sfc_main$19 = defineComponent({
|
|
10292
10302
|
name: "ArrowDown"
|
|
10293
10303
|
});
|
|
10294
|
-
const _hoisted_1$
|
|
10304
|
+
const _hoisted_1$O = {
|
|
10295
10305
|
class: "icon",
|
|
10296
10306
|
width: "200",
|
|
10297
10307
|
height: "200",
|
|
10298
10308
|
viewBox: "0 0 1024 1024",
|
|
10299
10309
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10300
10310
|
};
|
|
10301
|
-
const _hoisted_2$
|
|
10311
|
+
const _hoisted_2$B = /* @__PURE__ */ createElementVNode("path", {
|
|
10302
10312
|
fill: "currentColor",
|
|
10303
10313
|
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"
|
|
10304
10314
|
}, null, -1);
|
|
10305
|
-
const _hoisted_3$
|
|
10306
|
-
_hoisted_2$
|
|
10315
|
+
const _hoisted_3$w = [
|
|
10316
|
+
_hoisted_2$B
|
|
10307
10317
|
];
|
|
10308
|
-
function _sfc_render$
|
|
10309
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10318
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10319
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$O, _hoisted_3$w);
|
|
10310
10320
|
}
|
|
10311
|
-
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10312
|
-
const _sfc_main$
|
|
10321
|
+
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$19]]);
|
|
10322
|
+
const _sfc_main$18 = defineComponent({
|
|
10313
10323
|
name: "ArrowUp"
|
|
10314
10324
|
});
|
|
10315
|
-
const _hoisted_1$
|
|
10325
|
+
const _hoisted_1$N = {
|
|
10316
10326
|
class: "icon",
|
|
10317
10327
|
width: "200",
|
|
10318
10328
|
height: "200",
|
|
10319
10329
|
viewBox: "0 0 1024 1024",
|
|
10320
10330
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10321
10331
|
};
|
|
10322
|
-
const _hoisted_2$
|
|
10332
|
+
const _hoisted_2$A = /* @__PURE__ */ createElementVNode("path", {
|
|
10323
10333
|
fill: "currentColor",
|
|
10324
10334
|
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"
|
|
10325
10335
|
}, null, -1);
|
|
10326
|
-
const _hoisted_3$
|
|
10327
|
-
_hoisted_2$
|
|
10336
|
+
const _hoisted_3$v = [
|
|
10337
|
+
_hoisted_2$A
|
|
10328
10338
|
];
|
|
10329
|
-
function _sfc_render$
|
|
10330
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10339
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10340
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$N, _hoisted_3$v);
|
|
10331
10341
|
}
|
|
10332
|
-
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10333
|
-
const _sfc_main$
|
|
10342
|
+
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$18]]);
|
|
10343
|
+
const _sfc_main$17 = defineComponent({
|
|
10334
10344
|
name: "CirclePlus"
|
|
10335
10345
|
});
|
|
10336
|
-
const _hoisted_1$
|
|
10346
|
+
const _hoisted_1$M = {
|
|
10337
10347
|
class: "icon",
|
|
10338
10348
|
width: "200",
|
|
10339
10349
|
height: "200",
|
|
10340
10350
|
viewBox: "0 0 1024 1024",
|
|
10341
10351
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10342
10352
|
};
|
|
10343
|
-
const _hoisted_2$
|
|
10353
|
+
const _hoisted_2$z = /* @__PURE__ */ createElementVNode("path", {
|
|
10344
10354
|
fill: "currentColor",
|
|
10345
10355
|
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
10346
10356
|
}, null, -1);
|
|
10347
|
-
const _hoisted_3$
|
|
10357
|
+
const _hoisted_3$u = /* @__PURE__ */ createElementVNode("path", {
|
|
10348
10358
|
fill: "currentColor",
|
|
10349
10359
|
d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
|
|
10350
10360
|
}, null, -1);
|
|
10351
|
-
const _hoisted_4$
|
|
10361
|
+
const _hoisted_4$l = /* @__PURE__ */ createElementVNode("path", {
|
|
10352
10362
|
fill: "currentColor",
|
|
10353
10363
|
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
10354
10364
|
}, null, -1);
|
|
10355
|
-
const _hoisted_5$
|
|
10356
|
-
_hoisted_2$
|
|
10357
|
-
_hoisted_3$
|
|
10358
|
-
_hoisted_4$
|
|
10365
|
+
const _hoisted_5$g = [
|
|
10366
|
+
_hoisted_2$z,
|
|
10367
|
+
_hoisted_3$u,
|
|
10368
|
+
_hoisted_4$l
|
|
10359
10369
|
];
|
|
10360
|
-
function _sfc_render$
|
|
10361
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10370
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10371
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$M, _hoisted_5$g);
|
|
10362
10372
|
}
|
|
10363
|
-
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10364
|
-
const _sfc_main$
|
|
10373
|
+
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17]]);
|
|
10374
|
+
const _sfc_main$16 = defineComponent({
|
|
10365
10375
|
name: "Delete"
|
|
10366
10376
|
});
|
|
10367
|
-
const _hoisted_1$
|
|
10377
|
+
const _hoisted_1$L = {
|
|
10368
10378
|
class: "icon",
|
|
10369
10379
|
width: "200",
|
|
10370
10380
|
height: "200",
|
|
10371
10381
|
viewBox: "0 0 1024 1024",
|
|
10372
10382
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10373
10383
|
};
|
|
10374
|
-
const _hoisted_2$
|
|
10384
|
+
const _hoisted_2$y = /* @__PURE__ */ createElementVNode("path", {
|
|
10375
10385
|
fill: "currentColor",
|
|
10376
10386
|
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"
|
|
10377
10387
|
}, null, -1);
|
|
10378
|
-
const _hoisted_3$
|
|
10379
|
-
_hoisted_2$
|
|
10388
|
+
const _hoisted_3$t = [
|
|
10389
|
+
_hoisted_2$y
|
|
10380
10390
|
];
|
|
10381
|
-
function _sfc_render$
|
|
10382
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10391
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10392
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$L, _hoisted_3$t);
|
|
10383
10393
|
}
|
|
10384
|
-
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10385
|
-
const _sfc_main$
|
|
10394
|
+
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16]]);
|
|
10395
|
+
const _sfc_main$15 = defineComponent({
|
|
10386
10396
|
name: "Edit"
|
|
10387
10397
|
});
|
|
10388
|
-
const _hoisted_1$
|
|
10398
|
+
const _hoisted_1$K = {
|
|
10389
10399
|
class: "icon",
|
|
10390
10400
|
width: "200",
|
|
10391
10401
|
height: "200",
|
|
10392
10402
|
viewBox: "0 0 1024 1024",
|
|
10393
10403
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10394
10404
|
};
|
|
10395
|
-
const _hoisted_2$
|
|
10405
|
+
const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
|
|
10396
10406
|
fill: "currentColor",
|
|
10397
10407
|
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"
|
|
10398
10408
|
}, null, -1);
|
|
10399
|
-
const _hoisted_3$
|
|
10409
|
+
const _hoisted_3$s = /* @__PURE__ */ createElementVNode("path", {
|
|
10400
10410
|
fill: "currentColor",
|
|
10401
10411
|
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"
|
|
10402
10412
|
}, null, -1);
|
|
10403
|
-
const _hoisted_4$
|
|
10404
|
-
_hoisted_2$
|
|
10405
|
-
_hoisted_3$
|
|
10413
|
+
const _hoisted_4$k = [
|
|
10414
|
+
_hoisted_2$x,
|
|
10415
|
+
_hoisted_3$s
|
|
10406
10416
|
];
|
|
10407
|
-
function _sfc_render$
|
|
10408
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10417
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10418
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$K, _hoisted_4$k);
|
|
10409
10419
|
}
|
|
10410
|
-
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10411
|
-
const _sfc_main$
|
|
10420
|
+
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15]]);
|
|
10421
|
+
const _sfc_main$14 = defineComponent({
|
|
10412
10422
|
name: "InfoFilled"
|
|
10413
10423
|
});
|
|
10414
|
-
const _hoisted_1$
|
|
10424
|
+
const _hoisted_1$J = {
|
|
10415
10425
|
class: "icon",
|
|
10416
10426
|
width: "200",
|
|
10417
10427
|
height: "200",
|
|
10418
10428
|
viewBox: "0 0 1024 1024",
|
|
10419
10429
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10420
10430
|
};
|
|
10421
|
-
const _hoisted_2$
|
|
10431
|
+
const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
|
|
10422
10432
|
fill: "currentColor",
|
|
10423
10433
|
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"
|
|
10424
10434
|
}, null, -1);
|
|
10425
|
-
const _hoisted_3$
|
|
10426
|
-
_hoisted_2$
|
|
10435
|
+
const _hoisted_3$r = [
|
|
10436
|
+
_hoisted_2$w
|
|
10427
10437
|
];
|
|
10428
|
-
function _sfc_render$
|
|
10429
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10438
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10439
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_3$r);
|
|
10430
10440
|
}
|
|
10431
|
-
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10432
|
-
const _sfc_main$
|
|
10441
|
+
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14]]);
|
|
10442
|
+
const _sfc_main$13 = defineComponent({
|
|
10433
10443
|
name: "Loading"
|
|
10434
10444
|
});
|
|
10435
|
-
const _hoisted_1$
|
|
10445
|
+
const _hoisted_1$I = {
|
|
10436
10446
|
class: "icon",
|
|
10437
10447
|
width: "200",
|
|
10438
10448
|
height: "200",
|
|
10439
10449
|
viewBox: "0 0 1024 1024",
|
|
10440
10450
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10441
10451
|
};
|
|
10442
|
-
const _hoisted_2$
|
|
10452
|
+
const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
|
|
10443
10453
|
fill: "currentColor",
|
|
10444
10454
|
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"
|
|
10445
10455
|
}, null, -1);
|
|
10446
|
-
const _hoisted_3$
|
|
10447
|
-
_hoisted_2$
|
|
10456
|
+
const _hoisted_3$q = [
|
|
10457
|
+
_hoisted_2$v
|
|
10448
10458
|
];
|
|
10449
|
-
function _sfc_render$
|
|
10450
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10459
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10460
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$q);
|
|
10451
10461
|
}
|
|
10452
|
-
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10453
|
-
const _sfc_main
|
|
10462
|
+
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13]]);
|
|
10463
|
+
const _sfc_main$12 = defineComponent({
|
|
10454
10464
|
name: "Minus"
|
|
10455
10465
|
});
|
|
10456
|
-
const _hoisted_1$
|
|
10466
|
+
const _hoisted_1$H = {
|
|
10457
10467
|
class: "icon",
|
|
10458
10468
|
width: "200",
|
|
10459
10469
|
height: "200",
|
|
10460
10470
|
viewBox: "0 0 1024 1024",
|
|
10461
10471
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10462
10472
|
};
|
|
10463
|
-
const _hoisted_2$
|
|
10473
|
+
const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
|
|
10464
10474
|
fill: "currentColor",
|
|
10465
10475
|
d: "M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"
|
|
10466
10476
|
}, null, -1);
|
|
10467
|
-
const _hoisted_3$
|
|
10468
|
-
_hoisted_2$
|
|
10477
|
+
const _hoisted_3$p = [
|
|
10478
|
+
_hoisted_2$u
|
|
10469
10479
|
];
|
|
10470
|
-
function _sfc_render
|
|
10471
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10480
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10481
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_3$p);
|
|
10472
10482
|
}
|
|
10473
|
-
var minus = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
10474
|
-
const _sfc_main$
|
|
10483
|
+
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12]]);
|
|
10484
|
+
const _sfc_main$11 = defineComponent({
|
|
10475
10485
|
name: "Plus"
|
|
10476
10486
|
});
|
|
10477
|
-
const _hoisted_1$
|
|
10487
|
+
const _hoisted_1$G = {
|
|
10478
10488
|
class: "icon",
|
|
10479
10489
|
width: "200",
|
|
10480
10490
|
height: "200",
|
|
10481
10491
|
viewBox: "0 0 1024 1024",
|
|
10482
10492
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10483
10493
|
};
|
|
10484
|
-
const _hoisted_2$
|
|
10494
|
+
const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
|
|
10485
10495
|
fill: "currentColor",
|
|
10486
10496
|
d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
|
|
10487
10497
|
}, null, -1);
|
|
10488
|
-
const _hoisted_3$
|
|
10489
|
-
_hoisted_2$
|
|
10498
|
+
const _hoisted_3$o = [
|
|
10499
|
+
_hoisted_2$t
|
|
10490
10500
|
];
|
|
10491
|
-
function _sfc_render$
|
|
10492
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10501
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10502
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$o);
|
|
10493
10503
|
}
|
|
10494
|
-
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10495
|
-
const _sfc_main$
|
|
10504
|
+
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11]]);
|
|
10505
|
+
const _sfc_main$10 = defineComponent({
|
|
10496
10506
|
name: "Search"
|
|
10497
10507
|
});
|
|
10498
|
-
const _hoisted_1$
|
|
10508
|
+
const _hoisted_1$F = {
|
|
10499
10509
|
class: "icon",
|
|
10500
10510
|
width: "200",
|
|
10501
10511
|
height: "200",
|
|
10502
10512
|
viewBox: "0 0 1024 1024",
|
|
10503
10513
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10504
10514
|
};
|
|
10505
|
-
const _hoisted_2$
|
|
10515
|
+
const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
|
|
10506
10516
|
fill: "currentColor",
|
|
10507
10517
|
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"
|
|
10508
10518
|
}, null, -1);
|
|
10509
|
-
const _hoisted_3$
|
|
10510
|
-
_hoisted_2$
|
|
10519
|
+
const _hoisted_3$n = [
|
|
10520
|
+
_hoisted_2$s
|
|
10511
10521
|
];
|
|
10512
|
-
function _sfc_render$
|
|
10513
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10522
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10523
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$n);
|
|
10514
10524
|
}
|
|
10515
|
-
var search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10525
|
+
var search = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10]]);
|
|
10516
10526
|
var defaultConfig = {
|
|
10517
10527
|
expireTimes: "1d",
|
|
10518
10528
|
path: "; path=/",
|
|
@@ -10641,7 +10651,7 @@ var _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf
|
|
|
10641
10651
|
var fileUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10642
10652
|
useCookies();
|
|
10643
10653
|
let selectFileText = "'" + translate("render.hint.selectFile") + "'";
|
|
10644
|
-
const _sfc_main
|
|
10654
|
+
const _sfc_main$$ = {
|
|
10645
10655
|
name: "file-upload-widget",
|
|
10646
10656
|
componentName: "FieldWidget",
|
|
10647
10657
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11014,26 +11024,26 @@ const _sfc_main$Y = {
|
|
|
11014
11024
|
}
|
|
11015
11025
|
}
|
|
11016
11026
|
};
|
|
11017
|
-
const _hoisted_1$
|
|
11018
|
-
const _hoisted_2$
|
|
11027
|
+
const _hoisted_1$E = { class: "file-upload-widget-container" };
|
|
11028
|
+
const _hoisted_2$r = {
|
|
11019
11029
|
key: 0,
|
|
11020
11030
|
class: "no-data-wrap"
|
|
11021
11031
|
};
|
|
11022
|
-
const _hoisted_3$
|
|
11032
|
+
const _hoisted_3$m = {
|
|
11023
11033
|
key: 0,
|
|
11024
11034
|
class: "el-upload__tip"
|
|
11025
11035
|
};
|
|
11026
|
-
const _hoisted_4$
|
|
11027
|
-
const _hoisted_5$
|
|
11028
|
-
const _hoisted_6$
|
|
11029
|
-
const _hoisted_7$
|
|
11030
|
-
const _hoisted_8$
|
|
11031
|
-
const _hoisted_9$
|
|
11032
|
-
const _hoisted_10$
|
|
11033
|
-
const _hoisted_11$
|
|
11034
|
-
const _hoisted_12$
|
|
11035
|
-
const _hoisted_13$
|
|
11036
|
-
function _sfc_render
|
|
11036
|
+
const _hoisted_4$j = { class: "main-tip" };
|
|
11037
|
+
const _hoisted_5$f = { class: "sub-tip" };
|
|
11038
|
+
const _hoisted_6$f = { class: "upload-file-list" };
|
|
11039
|
+
const _hoisted_7$d = { class: "left-wrap" };
|
|
11040
|
+
const _hoisted_8$8 = ["src"];
|
|
11041
|
+
const _hoisted_9$7 = ["title"];
|
|
11042
|
+
const _hoisted_10$5 = { class: "right-wrap" };
|
|
11043
|
+
const _hoisted_11$3 = ["title", "onClick"];
|
|
11044
|
+
const _hoisted_12$2 = ["onClick"];
|
|
11045
|
+
const _hoisted_13$2 = ["onClick"];
|
|
11046
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11037
11047
|
const _component_el_button = resolveComponent("el-button");
|
|
11038
11048
|
const _component_el_upload = resolveComponent("el-upload");
|
|
11039
11049
|
const _component_el_progress = resolveComponent("el-progress");
|
|
@@ -11051,8 +11061,8 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11051
11061
|
"sub-form-row-id": $props.subFormRowId
|
|
11052
11062
|
}, {
|
|
11053
11063
|
default: withCtx(() => [
|
|
11054
|
-
createElementVNode("div", _hoisted_1$
|
|
11055
|
-
_ctx.getDisabled() && $data.fileList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
11064
|
+
createElementVNode("div", _hoisted_1$E, [
|
|
11065
|
+
_ctx.getDisabled() && $data.fileList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$r, " \u6682\u65E0\u6570\u636E ")) : createCommentVNode("", true),
|
|
11056
11066
|
createVNode(_component_el_upload, {
|
|
11057
11067
|
ref: "fieldEditor",
|
|
11058
11068
|
disabled: _ctx.getDisabled(),
|
|
@@ -11074,22 +11084,22 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11074
11084
|
"on-progress": $options.handleProgress
|
|
11075
11085
|
}, createSlots({
|
|
11076
11086
|
tip: withCtx(() => [
|
|
11077
|
-
!!$props.field.options.uploadTip && !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11087
|
+
!!$props.field.options.uploadTip && !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", _hoisted_3$m, toDisplayString($props.field.options.uploadTip), 1)) : createCommentVNode("", true)
|
|
11078
11088
|
]),
|
|
11079
11089
|
file: withCtx(({ file }) => [
|
|
11080
|
-
createElementVNode("div", _hoisted_6$
|
|
11081
|
-
createElementVNode("div", _hoisted_7$
|
|
11090
|
+
createElementVNode("div", _hoisted_6$f, [
|
|
11091
|
+
createElementVNode("div", _hoisted_7$d, [
|
|
11082
11092
|
createElementVNode("img", {
|
|
11083
11093
|
src: $options.getFileIcon(file.name || file.fileName),
|
|
11084
11094
|
alt: "",
|
|
11085
11095
|
style: { "width": "18px", "height": "18px", "margin-right": "8px" }
|
|
11086
|
-
}, null, 8, _hoisted_8$
|
|
11096
|
+
}, null, 8, _hoisted_8$8),
|
|
11087
11097
|
createElementVNode("div", {
|
|
11088
11098
|
class: "upload-file-name",
|
|
11089
11099
|
title: file.name || file.fileName
|
|
11090
|
-
}, toDisplayString(file.name || file.fileName), 9, _hoisted_9$
|
|
11100
|
+
}, toDisplayString(file.name || file.fileName), 9, _hoisted_9$7)
|
|
11091
11101
|
]),
|
|
11092
|
-
createElementVNode("div", _hoisted_10$
|
|
11102
|
+
createElementVNode("div", _hoisted_10$5, [
|
|
11093
11103
|
!_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
|
|
11094
11104
|
key: 0,
|
|
11095
11105
|
class: "file-action",
|
|
@@ -11100,17 +11110,17 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11100
11110
|
src: _imports_1,
|
|
11101
11111
|
alt: ""
|
|
11102
11112
|
}, null, -1)
|
|
11103
|
-
])], 8, _hoisted_11$
|
|
11113
|
+
])], 8, _hoisted_11$3)) : createCommentVNode("", true),
|
|
11104
11114
|
_ctx.getDisabled() && !$options.isZip(file.name) ? (openBlock(), createElementBlock("div", {
|
|
11105
11115
|
key: 1,
|
|
11106
11116
|
onClick: withModifiers(($event) => $options.handlePreview(file), ["stop"]),
|
|
11107
11117
|
class: "pr-8px color-primary cursor-pointer file-action-right"
|
|
11108
|
-
}, " \u9884\u89C8 ", 8, _hoisted_12$
|
|
11118
|
+
}, " \u9884\u89C8 ", 8, _hoisted_12$2)) : createCommentVNode("", true),
|
|
11109
11119
|
_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
|
|
11110
11120
|
key: 2,
|
|
11111
11121
|
onClick: withModifiers(($event) => $options.handleDownload(file), ["stop"]),
|
|
11112
11122
|
class: "pr-8px color-primary cursor-pointer file-action-right"
|
|
11113
|
-
}, " \u4E0B\u8F7D ", 8, _hoisted_13$
|
|
11123
|
+
}, " \u4E0B\u8F7D ", 8, _hoisted_13$2)) : createCommentVNode("", true)
|
|
11114
11124
|
])
|
|
11115
11125
|
])
|
|
11116
11126
|
]),
|
|
@@ -11124,8 +11134,8 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11124
11134
|
src: _imports_0,
|
|
11125
11135
|
alt: ""
|
|
11126
11136
|
}, null, -1)),
|
|
11127
|
-
createElementVNode("div", _hoisted_4$
|
|
11128
|
-
createElementVNode("div", _hoisted_5$
|
|
11137
|
+
createElementVNode("div", _hoisted_4$j, toDisplayString($props.field.options.mainTip || "\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20"), 1),
|
|
11138
|
+
createElementVNode("div", _hoisted_5$f, toDisplayString($props.field.options.subTip || `\u652F\u6301\u4E0A\u4F20${$props.field.options.fileTypes.slice(0, 8).join("\uFF0C")}\u7B49\u683C\u5F0F\u6587\u4EF6`), 1)
|
|
11129
11139
|
], 64)) : (openBlock(), createBlock(_component_el_button, {
|
|
11130
11140
|
key: 1,
|
|
11131
11141
|
type: "primary"
|
|
@@ -11151,13 +11161,13 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11151
11161
|
_: 1
|
|
11152
11162
|
}, 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"]);
|
|
11153
11163
|
}
|
|
11154
|
-
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main
|
|
11164
|
+
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-829125c8"]]);
|
|
11155
11165
|
var __glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11156
11166
|
__proto__: null,
|
|
11157
11167
|
"default": fileUploadWidget
|
|
11158
11168
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11159
11169
|
var htmlTextWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11160
|
-
const _sfc_main$
|
|
11170
|
+
const _sfc_main$_ = {
|
|
11161
11171
|
name: "html-text-widget",
|
|
11162
11172
|
componentName: "FieldWidget",
|
|
11163
11173
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11203,8 +11213,8 @@ const _sfc_main$X = {
|
|
|
11203
11213
|
},
|
|
11204
11214
|
methods: {}
|
|
11205
11215
|
};
|
|
11206
|
-
const _hoisted_1$
|
|
11207
|
-
function _sfc_render$
|
|
11216
|
+
const _hoisted_1$D = ["innerHTML"];
|
|
11217
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11208
11218
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
11209
11219
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
11210
11220
|
designer: $props.designer,
|
|
@@ -11221,19 +11231,19 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11221
11231
|
createElementVNode("div", {
|
|
11222
11232
|
ref: "fieldEditor",
|
|
11223
11233
|
innerHTML: $props.field.options.htmlContent
|
|
11224
|
-
}, null, 8, _hoisted_1$
|
|
11234
|
+
}, null, 8, _hoisted_1$D)
|
|
11225
11235
|
]),
|
|
11226
11236
|
_: 1
|
|
11227
11237
|
}, 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"]);
|
|
11228
11238
|
}
|
|
11229
|
-
var htmlTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11239
|
+
var htmlTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-3d941b4e"]]);
|
|
11230
11240
|
var __glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11231
11241
|
__proto__: null,
|
|
11232
11242
|
"default": htmlTextWidget
|
|
11233
11243
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11234
11244
|
var inputWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11235
11245
|
var inputWidget_vue_vue_type_style_index_1_lang = "";
|
|
11236
|
-
const _sfc_main$
|
|
11246
|
+
const _sfc_main$Z = {
|
|
11237
11247
|
name: "input-widget",
|
|
11238
11248
|
componentName: "FieldWidget",
|
|
11239
11249
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11299,8 +11309,8 @@ const _sfc_main$W = {
|
|
|
11299
11309
|
},
|
|
11300
11310
|
methods: {}
|
|
11301
11311
|
};
|
|
11302
|
-
const _hoisted_1$
|
|
11303
|
-
function _sfc_render$
|
|
11312
|
+
const _hoisted_1$C = { class: "input-disabled-tooltip-wrap" };
|
|
11313
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11304
11314
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11305
11315
|
const _component_el_button = resolveComponent("el-button");
|
|
11306
11316
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -11327,7 +11337,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11327
11337
|
"popper-class": "input-disabled-tooltip-popper"
|
|
11328
11338
|
}, {
|
|
11329
11339
|
default: withCtx(() => [
|
|
11330
|
-
createElementVNode("span", _hoisted_1$
|
|
11340
|
+
createElementVNode("span", _hoisted_1$C, [
|
|
11331
11341
|
createVNode(_component_el_input, {
|
|
11332
11342
|
ref: "fieldEditor",
|
|
11333
11343
|
modelValue: $data.fieldModel,
|
|
@@ -11376,13 +11386,13 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11376
11386
|
_: 1
|
|
11377
11387
|
}, 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"]);
|
|
11378
11388
|
}
|
|
11379
|
-
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11389
|
+
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-14765387"]]);
|
|
11380
11390
|
var __glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11381
11391
|
__proto__: null,
|
|
11382
11392
|
"default": inputWidget
|
|
11383
11393
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11384
11394
|
var numberWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11385
|
-
const _sfc_main$
|
|
11395
|
+
const _sfc_main$Y = {
|
|
11386
11396
|
name: "number-widget",
|
|
11387
11397
|
componentName: "FieldWidget",
|
|
11388
11398
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11437,7 +11447,7 @@ const _sfc_main$V = {
|
|
|
11437
11447
|
},
|
|
11438
11448
|
methods: {}
|
|
11439
11449
|
};
|
|
11440
|
-
function _sfc_render$
|
|
11450
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11441
11451
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
11442
11452
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11443
11453
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -11474,13 +11484,13 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11474
11484
|
_: 1
|
|
11475
11485
|
}, 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"]);
|
|
11476
11486
|
}
|
|
11477
|
-
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11487
|
+
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-30c98522"]]);
|
|
11478
11488
|
var __glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11479
11489
|
__proto__: null,
|
|
11480
11490
|
"default": numberWidget
|
|
11481
11491
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11482
11492
|
var pictureUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11483
|
-
const _sfc_main$
|
|
11493
|
+
const _sfc_main$X = {
|
|
11484
11494
|
name: "picture-upload-widget",
|
|
11485
11495
|
componentName: "FieldWidget",
|
|
11486
11496
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11677,20 +11687,20 @@ const _sfc_main$U = {
|
|
|
11677
11687
|
}
|
|
11678
11688
|
}
|
|
11679
11689
|
};
|
|
11680
|
-
const _hoisted_1$
|
|
11681
|
-
const _hoisted_2$
|
|
11690
|
+
const _hoisted_1$B = { class: "el-upload-list__item-status-label" };
|
|
11691
|
+
const _hoisted_2$q = {
|
|
11682
11692
|
class: "el-icon--upload-success",
|
|
11683
11693
|
style: { "color": "#FFF" }
|
|
11684
11694
|
};
|
|
11685
|
-
const _hoisted_3$
|
|
11686
|
-
const _hoisted_4$
|
|
11687
|
-
const _hoisted_5$
|
|
11688
|
-
const _hoisted_6$
|
|
11695
|
+
const _hoisted_3$l = { class: "el-upload-list__item-actions" };
|
|
11696
|
+
const _hoisted_4$i = ["onClick"];
|
|
11697
|
+
const _hoisted_5$e = ["onClick"];
|
|
11698
|
+
const _hoisted_6$e = {
|
|
11689
11699
|
key: 0,
|
|
11690
11700
|
class: "el-upload__tip"
|
|
11691
11701
|
};
|
|
11692
|
-
const _hoisted_7$
|
|
11693
|
-
function _sfc_render$
|
|
11702
|
+
const _hoisted_7$c = { class: "uploader-icon" };
|
|
11703
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11694
11704
|
const _component_el_image = resolveComponent("el-image");
|
|
11695
11705
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11696
11706
|
const _component_el_upload = resolveComponent("el-upload");
|
|
@@ -11738,34 +11748,34 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11738
11748
|
fit: "cover",
|
|
11739
11749
|
"preview-teleported": ""
|
|
11740
11750
|
}, null, 8, ["src", "preview-src-list", "initial-index"]),
|
|
11741
|
-
createElementVNode("label", _hoisted_1$
|
|
11742
|
-
createElementVNode("i", _hoisted_2$
|
|
11751
|
+
createElementVNode("label", _hoisted_1$B, [
|
|
11752
|
+
createElementVNode("i", _hoisted_2$q, [
|
|
11743
11753
|
createVNode(_component_svg_icon, {
|
|
11744
11754
|
class: "",
|
|
11745
11755
|
"icon-class": "el-check"
|
|
11746
11756
|
})
|
|
11747
11757
|
])
|
|
11748
11758
|
]),
|
|
11749
|
-
createElementVNode("span", _hoisted_3$
|
|
11759
|
+
createElementVNode("span", _hoisted_3$l, [
|
|
11750
11760
|
createElementVNode("span", {
|
|
11751
11761
|
class: "el-upload-list__item-preview",
|
|
11752
11762
|
onClick: ($event) => $options.handlePictureCardPreview(file)
|
|
11753
11763
|
}, [
|
|
11754
11764
|
createVNode(_component_svg_icon, { "icon-class": "el-zoom-in" })
|
|
11755
|
-
], 8, _hoisted_4$
|
|
11765
|
+
], 8, _hoisted_4$i),
|
|
11756
11766
|
createElementVNode("span", {
|
|
11757
11767
|
class: "el-upload-list__item-delete",
|
|
11758
11768
|
onClick: ($event) => $options.handlePictureRemove(file)
|
|
11759
11769
|
}, [
|
|
11760
11770
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
11761
|
-
], 8, _hoisted_5$
|
|
11771
|
+
], 8, _hoisted_5$e)
|
|
11762
11772
|
])
|
|
11763
11773
|
]),
|
|
11764
11774
|
tip: withCtx(() => [
|
|
11765
|
-
!!$props.field.options.uploadTip ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
11775
|
+
!!$props.field.options.uploadTip ? (openBlock(), createElementBlock("div", _hoisted_6$e, toDisplayString($props.field.options.uploadTip), 1)) : createCommentVNode("", true)
|
|
11766
11776
|
]),
|
|
11767
11777
|
default: withCtx(() => [
|
|
11768
|
-
createElementVNode("div", _hoisted_7$
|
|
11778
|
+
createElementVNode("div", _hoisted_7$c, [
|
|
11769
11779
|
createVNode(_component_svg_icon, { "icon-class": "el-plus" })
|
|
11770
11780
|
])
|
|
11771
11781
|
]),
|
|
@@ -11775,13 +11785,13 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11775
11785
|
_: 1
|
|
11776
11786
|
}, 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"]);
|
|
11777
11787
|
}
|
|
11778
|
-
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11788
|
+
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-4d09ba72"]]);
|
|
11779
11789
|
var __glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11780
11790
|
__proto__: null,
|
|
11781
11791
|
"default": pictureUploadWidget
|
|
11782
11792
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11783
11793
|
var radioWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11784
|
-
const _sfc_main$
|
|
11794
|
+
const _sfc_main$W = {
|
|
11785
11795
|
name: "radio-widget",
|
|
11786
11796
|
componentName: "FieldWidget",
|
|
11787
11797
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11837,7 +11847,7 @@ const _sfc_main$T = {
|
|
|
11837
11847
|
},
|
|
11838
11848
|
methods: {}
|
|
11839
11849
|
};
|
|
11840
|
-
function _sfc_render$
|
|
11850
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11841
11851
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
11842
11852
|
const _component_el_radio = resolveComponent("el-radio");
|
|
11843
11853
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
@@ -11899,13 +11909,13 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11899
11909
|
_: 1
|
|
11900
11910
|
}, 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"]);
|
|
11901
11911
|
}
|
|
11902
|
-
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11912
|
+
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-05b877c5"]]);
|
|
11903
11913
|
var __glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11904
11914
|
__proto__: null,
|
|
11905
11915
|
"default": radioWidget
|
|
11906
11916
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11907
11917
|
var rateWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11908
|
-
const _sfc_main$
|
|
11918
|
+
const _sfc_main$V = {
|
|
11909
11919
|
name: "rate-widget",
|
|
11910
11920
|
componentName: "FieldWidget",
|
|
11911
11921
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11960,7 +11970,7 @@ const _sfc_main$S = {
|
|
|
11960
11970
|
},
|
|
11961
11971
|
methods: {}
|
|
11962
11972
|
};
|
|
11963
|
-
function _sfc_render$
|
|
11973
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11964
11974
|
const _component_el_rate = resolveComponent("el-rate");
|
|
11965
11975
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11966
11976
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -11993,7 +12003,7 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11993
12003
|
_: 1
|
|
11994
12004
|
}, 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"]);
|
|
11995
12005
|
}
|
|
11996
|
-
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
12006
|
+
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-3c7d82fe"]]);
|
|
11997
12007
|
var __glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11998
12008
|
__proto__: null,
|
|
11999
12009
|
"default": rateWidget
|
|
@@ -23329,7 +23339,7 @@ const defaultOptions = {
|
|
|
23329
23339
|
placeholder: "Insert content here ...",
|
|
23330
23340
|
readOnly: false
|
|
23331
23341
|
};
|
|
23332
|
-
const _sfc_main$
|
|
23342
|
+
const _sfc_main$U = {
|
|
23333
23343
|
name: "quill-editor",
|
|
23334
23344
|
props: {
|
|
23335
23345
|
content: String,
|
|
@@ -23433,16 +23443,16 @@ const _sfc_main$R = {
|
|
|
23433
23443
|
return { editor };
|
|
23434
23444
|
}
|
|
23435
23445
|
};
|
|
23436
|
-
const _hoisted_1$
|
|
23437
|
-
function _sfc_render$
|
|
23438
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
23446
|
+
const _hoisted_1$A = { ref: "editor" };
|
|
23447
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23448
|
+
return openBlock(), createElementBlock("section", _hoisted_1$A, null, 512);
|
|
23439
23449
|
}
|
|
23440
|
-
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23450
|
+
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$U]]);
|
|
23441
23451
|
quillEditor.install = function(app) {
|
|
23442
23452
|
app.component(quillEditor.name, quillEditor);
|
|
23443
23453
|
};
|
|
23444
23454
|
var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23445
|
-
const _sfc_main$
|
|
23455
|
+
const _sfc_main$T = {
|
|
23446
23456
|
name: "rich-editor-widget",
|
|
23447
23457
|
componentName: "FieldWidget",
|
|
23448
23458
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23521,7 +23531,7 @@ const _sfc_main$Q = {
|
|
|
23521
23531
|
}
|
|
23522
23532
|
}
|
|
23523
23533
|
};
|
|
23524
|
-
function _sfc_render$
|
|
23534
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23525
23535
|
const _component_quill_editor = resolveComponent("quill-editor");
|
|
23526
23536
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23527
23537
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23553,12 +23563,12 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23553
23563
|
_: 1
|
|
23554
23564
|
}, 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"]);
|
|
23555
23565
|
}
|
|
23556
|
-
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23566
|
+
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-6f719fd1"]]);
|
|
23557
23567
|
var __glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23558
23568
|
__proto__: null,
|
|
23559
23569
|
"default": richEditorWidget
|
|
23560
23570
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23561
|
-
const _sfc_main$
|
|
23571
|
+
const _sfc_main$S = {
|
|
23562
23572
|
name: "select-tree-widget",
|
|
23563
23573
|
componentName: "FieldWidget",
|
|
23564
23574
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23630,7 +23640,7 @@ const _sfc_main$P = {
|
|
|
23630
23640
|
this.unregisterFromRefList();
|
|
23631
23641
|
}
|
|
23632
23642
|
};
|
|
23633
|
-
function _sfc_render$
|
|
23643
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23634
23644
|
const _component_el_tree_select = resolveComponent("el-tree-select");
|
|
23635
23645
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23636
23646
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23678,13 +23688,13 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23678
23688
|
_: 1
|
|
23679
23689
|
}, 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"]);
|
|
23680
23690
|
}
|
|
23681
|
-
var selectTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23691
|
+
var selectTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$S]]);
|
|
23682
23692
|
var __glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23683
23693
|
__proto__: null,
|
|
23684
23694
|
"default": selectTreeWidget
|
|
23685
23695
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23686
23696
|
var selectWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23687
|
-
const _sfc_main$
|
|
23697
|
+
const _sfc_main$R = {
|
|
23688
23698
|
name: "select-widget",
|
|
23689
23699
|
componentName: "FieldWidget",
|
|
23690
23700
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23763,7 +23773,7 @@ const _sfc_main$O = {
|
|
|
23763
23773
|
}
|
|
23764
23774
|
}
|
|
23765
23775
|
};
|
|
23766
|
-
function _sfc_render$
|
|
23776
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23767
23777
|
const _component_el_option = resolveComponent("el-option");
|
|
23768
23778
|
const _component_el_select = resolveComponent("el-select");
|
|
23769
23779
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -23817,13 +23827,13 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23817
23827
|
_: 1
|
|
23818
23828
|
}, 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"]);
|
|
23819
23829
|
}
|
|
23820
|
-
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23830
|
+
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-63065392"]]);
|
|
23821
23831
|
var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23822
23832
|
__proto__: null,
|
|
23823
23833
|
"default": selectWidget
|
|
23824
23834
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23825
23835
|
var sliderWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23826
|
-
const _sfc_main$
|
|
23836
|
+
const _sfc_main$Q = {
|
|
23827
23837
|
name: "slider-widget",
|
|
23828
23838
|
componentName: "FieldWidget",
|
|
23829
23839
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23878,7 +23888,7 @@ const _sfc_main$N = {
|
|
|
23878
23888
|
},
|
|
23879
23889
|
methods: {}
|
|
23880
23890
|
};
|
|
23881
|
-
function _sfc_render$
|
|
23891
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23882
23892
|
const _component_el_slider = resolveComponent("el-slider");
|
|
23883
23893
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23884
23894
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23911,13 +23921,13 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23911
23921
|
_: 1
|
|
23912
23922
|
}, 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"]);
|
|
23913
23923
|
}
|
|
23914
|
-
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23924
|
+
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-c9a31970"]]);
|
|
23915
23925
|
var __glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23916
23926
|
__proto__: null,
|
|
23917
23927
|
"default": sliderWidget
|
|
23918
23928
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23919
23929
|
var slotWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23920
|
-
const _sfc_main$
|
|
23930
|
+
const _sfc_main$P = {
|
|
23921
23931
|
name: "slot-widget",
|
|
23922
23932
|
componentName: "FieldWidget",
|
|
23923
23933
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23963,11 +23973,11 @@ const _sfc_main$M = {
|
|
|
23963
23973
|
},
|
|
23964
23974
|
methods: {}
|
|
23965
23975
|
};
|
|
23966
|
-
const _hoisted_1$
|
|
23976
|
+
const _hoisted_1$z = {
|
|
23967
23977
|
key: 0,
|
|
23968
23978
|
class: "slot-title"
|
|
23969
23979
|
};
|
|
23970
|
-
function _sfc_render$
|
|
23980
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23971
23981
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
23972
23982
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
23973
23983
|
designer: $props.designer,
|
|
@@ -23985,19 +23995,19 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23985
23995
|
class: normalizeClass([!!$props.designState ? "slot-wrapper-design" : "slot-wrapper-render"])
|
|
23986
23996
|
}, [
|
|
23987
23997
|
renderSlot(_ctx.$slots, $props.field.options.name, { formModel: _ctx.formModel }, void 0, true),
|
|
23988
|
-
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23998
|
+
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$z, toDisplayString($props.field.options.label), 1)) : createCommentVNode("", true)
|
|
23989
23999
|
], 2)
|
|
23990
24000
|
]),
|
|
23991
24001
|
_: 3
|
|
23992
24002
|
}, 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"]);
|
|
23993
24003
|
}
|
|
23994
|
-
var slotWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24004
|
+
var slotWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$P], ["__scopeId", "data-v-95f13fca"]]);
|
|
23995
24005
|
var __glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23996
24006
|
__proto__: null,
|
|
23997
24007
|
"default": slotWidget
|
|
23998
24008
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23999
24009
|
var staticTextWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24000
|
-
const _sfc_main$
|
|
24010
|
+
const _sfc_main$O = {
|
|
24001
24011
|
name: "static-text-widget",
|
|
24002
24012
|
componentName: "FieldWidget",
|
|
24003
24013
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24083,7 +24093,7 @@ const _sfc_main$L = {
|
|
|
24083
24093
|
}
|
|
24084
24094
|
}
|
|
24085
24095
|
};
|
|
24086
|
-
function _sfc_render$
|
|
24096
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24087
24097
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24088
24098
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
24089
24099
|
designer: $props.designer,
|
|
@@ -24110,13 +24120,13 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24110
24120
|
_: 1
|
|
24111
24121
|
}, 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"]);
|
|
24112
24122
|
}
|
|
24113
|
-
var staticTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24123
|
+
var staticTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-760822b6"]]);
|
|
24114
24124
|
var __glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24115
24125
|
__proto__: null,
|
|
24116
24126
|
"default": staticTextWidget
|
|
24117
24127
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24118
24128
|
var switchWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24119
|
-
const _sfc_main$
|
|
24129
|
+
const _sfc_main$N = {
|
|
24120
24130
|
name: "switch-widget",
|
|
24121
24131
|
componentName: "FieldWidget",
|
|
24122
24132
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24171,7 +24181,7 @@ const _sfc_main$K = {
|
|
|
24171
24181
|
},
|
|
24172
24182
|
methods: {}
|
|
24173
24183
|
};
|
|
24174
|
-
function _sfc_render$
|
|
24184
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24175
24185
|
const _component_el_switch = resolveComponent("el-switch");
|
|
24176
24186
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24177
24187
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24203,13 +24213,13 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24203
24213
|
_: 1
|
|
24204
24214
|
}, 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"]);
|
|
24205
24215
|
}
|
|
24206
|
-
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24216
|
+
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-2e8d2d0a"]]);
|
|
24207
24217
|
var __glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24208
24218
|
__proto__: null,
|
|
24209
24219
|
"default": switchWidget
|
|
24210
24220
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24211
24221
|
var textareaWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24212
|
-
const _sfc_main$
|
|
24222
|
+
const _sfc_main$M = {
|
|
24213
24223
|
name: "textarea-widget",
|
|
24214
24224
|
componentName: "FieldWidget",
|
|
24215
24225
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24264,7 +24274,7 @@ const _sfc_main$J = {
|
|
|
24264
24274
|
},
|
|
24265
24275
|
methods: {}
|
|
24266
24276
|
};
|
|
24267
|
-
function _sfc_render$
|
|
24277
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24268
24278
|
const _component_el_input = resolveComponent("el-input");
|
|
24269
24279
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24270
24280
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24302,13 +24312,13 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24302
24312
|
_: 1
|
|
24303
24313
|
}, 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"]);
|
|
24304
24314
|
}
|
|
24305
|
-
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24315
|
+
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-687fedce"]]);
|
|
24306
24316
|
var __glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24307
24317
|
__proto__: null,
|
|
24308
24318
|
"default": textareaWidget
|
|
24309
24319
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24310
24320
|
var timeRangeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24311
|
-
const _sfc_main$
|
|
24321
|
+
const _sfc_main$L = {
|
|
24312
24322
|
name: "time-range-widget",
|
|
24313
24323
|
componentName: "FieldWidget",
|
|
24314
24324
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24363,7 +24373,7 @@ const _sfc_main$I = {
|
|
|
24363
24373
|
},
|
|
24364
24374
|
methods: {}
|
|
24365
24375
|
};
|
|
24366
|
-
function _sfc_render$
|
|
24376
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24367
24377
|
const _component_el_time_picker = resolveComponent("el-time-picker");
|
|
24368
24378
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24369
24379
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24406,13 +24416,13 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24406
24416
|
_: 1
|
|
24407
24417
|
}, 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"]);
|
|
24408
24418
|
}
|
|
24409
|
-
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24419
|
+
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-f78e9b46"]]);
|
|
24410
24420
|
var __glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24411
24421
|
__proto__: null,
|
|
24412
24422
|
"default": timeRangeWidget
|
|
24413
24423
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24414
24424
|
var timeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24415
|
-
const _sfc_main$
|
|
24425
|
+
const _sfc_main$K = {
|
|
24416
24426
|
name: "time-widget",
|
|
24417
24427
|
componentName: "FieldWidget",
|
|
24418
24428
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24467,7 +24477,7 @@ const _sfc_main$H = {
|
|
|
24467
24477
|
},
|
|
24468
24478
|
methods: {}
|
|
24469
24479
|
};
|
|
24470
|
-
function _sfc_render$
|
|
24480
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24471
24481
|
const _component_el_time_picker = resolveComponent("el-time-picker");
|
|
24472
24482
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24473
24483
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24504,7 +24514,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24504
24514
|
_: 1
|
|
24505
24515
|
}, 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"]);
|
|
24506
24516
|
}
|
|
24507
|
-
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24517
|
+
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-60cd3a6a"]]);
|
|
24508
24518
|
var __glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24509
24519
|
__proto__: null,
|
|
24510
24520
|
"default": timeWidget
|
|
@@ -24516,7 +24526,7 @@ for (const path in modules$2) {
|
|
|
24516
24526
|
comps[cname] = modules$2[path].default;
|
|
24517
24527
|
}
|
|
24518
24528
|
var gridColItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24519
|
-
const _sfc_main$
|
|
24529
|
+
const _sfc_main$J = {
|
|
24520
24530
|
name: "GridColItem",
|
|
24521
24531
|
componentName: "ContainerItem",
|
|
24522
24532
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -24669,9 +24679,9 @@ const _sfc_main$G = {
|
|
|
24669
24679
|
}
|
|
24670
24680
|
}
|
|
24671
24681
|
};
|
|
24672
|
-
const _hoisted_1$
|
|
24673
|
-
const _hoisted_2$
|
|
24674
|
-
function _sfc_render$
|
|
24682
|
+
const _hoisted_1$y = { class: "blank-cell" };
|
|
24683
|
+
const _hoisted_2$p = { class: "invisible-content" };
|
|
24684
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24675
24685
|
const _component_el_col = resolveComponent("el-col");
|
|
24676
24686
|
return $props.widget ? withDirectives((openBlock(), createBlock(_component_el_col, mergeProps({
|
|
24677
24687
|
key: 0,
|
|
@@ -24727,8 +24737,8 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24727
24737
|
], 64);
|
|
24728
24738
|
}), 256)) : (openBlock(), createBlock(_component_el_col, { key: 1 }, {
|
|
24729
24739
|
default: withCtx(() => [
|
|
24730
|
-
createElementVNode("div", _hoisted_1$
|
|
24731
|
-
createElementVNode("span", _hoisted_2$
|
|
24740
|
+
createElementVNode("div", _hoisted_1$y, [
|
|
24741
|
+
createElementVNode("span", _hoisted_2$p, toDisplayString(_ctx.i18nt("render.hint.blankCellContent")), 1)
|
|
24732
24742
|
])
|
|
24733
24743
|
]),
|
|
24734
24744
|
_: 1
|
|
@@ -24739,7 +24749,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24739
24749
|
[vShow, $options.colVisible]
|
|
24740
24750
|
]) : createCommentVNode("", true);
|
|
24741
24751
|
}
|
|
24742
|
-
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24752
|
+
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-20705201"]]);
|
|
24743
24753
|
var __glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24744
24754
|
__proto__: null,
|
|
24745
24755
|
"default": GridColItem
|
|
@@ -24933,7 +24943,7 @@ var containerItemMixin = {
|
|
|
24933
24943
|
}
|
|
24934
24944
|
}
|
|
24935
24945
|
};
|
|
24936
|
-
const _sfc_main$
|
|
24946
|
+
const _sfc_main$I = {
|
|
24937
24947
|
name: "vf-grid-item",
|
|
24938
24948
|
componentName: "ContainerItem",
|
|
24939
24949
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -24976,7 +24986,7 @@ const _sfc_main$F = {
|
|
|
24976
24986
|
},
|
|
24977
24987
|
methods: {}
|
|
24978
24988
|
};
|
|
24979
|
-
function _sfc_render$
|
|
24989
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24980
24990
|
const _component_grid_col_item = resolveComponent("grid-col-item");
|
|
24981
24991
|
const _component_el_row = resolveComponent("el-row");
|
|
24982
24992
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -25022,13 +25032,13 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25022
25032
|
_: 3
|
|
25023
25033
|
}, 8, ["widget"]);
|
|
25024
25034
|
}
|
|
25025
|
-
var gridItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25035
|
+
var gridItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$I]]);
|
|
25026
25036
|
var __glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25027
25037
|
__proto__: null,
|
|
25028
25038
|
"default": gridItem
|
|
25029
25039
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25030
25040
|
var subFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25031
|
-
const _sfc_main$
|
|
25041
|
+
const _sfc_main$H = {
|
|
25032
25042
|
name: "sub-form-item",
|
|
25033
25043
|
componentName: "ContainerItem",
|
|
25034
25044
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25229,20 +25239,20 @@ const _sfc_main$E = {
|
|
|
25229
25239
|
}
|
|
25230
25240
|
}
|
|
25231
25241
|
};
|
|
25232
|
-
const _hoisted_1$
|
|
25233
|
-
const _hoisted_2$
|
|
25234
|
-
const _hoisted_3$
|
|
25242
|
+
const _hoisted_1$x = { class: "action-header-column" };
|
|
25243
|
+
const _hoisted_2$o = { class: "action-label" };
|
|
25244
|
+
const _hoisted_3$k = {
|
|
25235
25245
|
key: 0,
|
|
25236
25246
|
class: "custom-label"
|
|
25237
25247
|
};
|
|
25238
|
-
const _hoisted_4$
|
|
25239
|
-
const _hoisted_5$
|
|
25240
|
-
const _hoisted_6$
|
|
25241
|
-
const _hoisted_7$
|
|
25248
|
+
const _hoisted_4$h = ["title"];
|
|
25249
|
+
const _hoisted_5$d = { class: "sub-form-action-column hide-label" };
|
|
25250
|
+
const _hoisted_6$d = { class: "action-button-column" };
|
|
25251
|
+
const _hoisted_7$b = {
|
|
25242
25252
|
key: 0,
|
|
25243
25253
|
class: "row-number-span"
|
|
25244
25254
|
};
|
|
25245
|
-
function _sfc_render$
|
|
25255
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25246
25256
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
25247
25257
|
const _component_el_button = resolveComponent("el-button");
|
|
25248
25258
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
@@ -25256,8 +25266,8 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25256
25266
|
}, [
|
|
25257
25267
|
createVNode(_component_el_row, { class: "header-row" }, {
|
|
25258
25268
|
default: withCtx(() => [
|
|
25259
|
-
createElementVNode("div", _hoisted_1$
|
|
25260
|
-
createElementVNode("span", _hoisted_2$
|
|
25269
|
+
createElementVNode("div", _hoisted_1$x, [
|
|
25270
|
+
createElementVNode("span", _hoisted_2$o, toDisplayString(_ctx.i18nt("render.hint.subFormAction")), 1),
|
|
25261
25271
|
createVNode(_component_el_button, {
|
|
25262
25272
|
disabled: $data.actionDisabled,
|
|
25263
25273
|
round: "",
|
|
@@ -25280,7 +25290,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25280
25290
|
class: normalizeClass(["field-header-column", [$options.getLabelAlign($props.widget, subWidget), !!subWidget.options.required ? "is-required" : ""]]),
|
|
25281
25291
|
style: normalizeStyle({ width: subWidget.options.columnWidth })
|
|
25282
25292
|
}, [
|
|
25283
|
-
!!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
25293
|
+
!!subWidget.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_3$k, [
|
|
25284
25294
|
subWidget.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
25285
25295
|
!!subWidget.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
25286
25296
|
createVNode(_component_el_tooltip, {
|
|
@@ -25325,7 +25335,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25325
25335
|
])) : (openBlock(), createElementBlock("span", {
|
|
25326
25336
|
key: 1,
|
|
25327
25337
|
title: subWidget.options.labelTooltip
|
|
25328
|
-
}, toDisplayString(subWidget.options.label), 9, _hoisted_4$
|
|
25338
|
+
}, toDisplayString(subWidget.options.label), 9, _hoisted_4$h))
|
|
25329
25339
|
], 6);
|
|
25330
25340
|
}), 128))
|
|
25331
25341
|
]),
|
|
@@ -25337,8 +25347,8 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25337
25347
|
key: subFormRowId
|
|
25338
25348
|
}, {
|
|
25339
25349
|
default: withCtx(() => [
|
|
25340
|
-
createElementVNode("div", _hoisted_5$
|
|
25341
|
-
createElementVNode("div", _hoisted_6$
|
|
25350
|
+
createElementVNode("div", _hoisted_5$d, [
|
|
25351
|
+
createElementVNode("div", _hoisted_6$d, [
|
|
25342
25352
|
createVNode(_component_el_button, {
|
|
25343
25353
|
disabled: $data.actionDisabled,
|
|
25344
25354
|
circle: "",
|
|
@@ -25361,7 +25371,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25361
25371
|
]),
|
|
25362
25372
|
_: 1
|
|
25363
25373
|
}, 8, ["disabled", "onClick", "title"]),
|
|
25364
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
25374
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_7$b, "#" + toDisplayString(sfrIdx + 1), 1)) : createCommentVNode("", true)
|
|
25365
25375
|
])
|
|
25366
25376
|
]),
|
|
25367
25377
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
@@ -25404,12 +25414,12 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25404
25414
|
_: 1
|
|
25405
25415
|
}, 8, ["widget"]);
|
|
25406
25416
|
}
|
|
25407
|
-
var subFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25417
|
+
var subFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-59c24e8e"]]);
|
|
25408
25418
|
var __glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25409
25419
|
__proto__: null,
|
|
25410
25420
|
"default": subFormItem
|
|
25411
25421
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25412
|
-
const _sfc_main$
|
|
25422
|
+
const _sfc_main$G = {
|
|
25413
25423
|
name: "tab-item",
|
|
25414
25424
|
componentName: "ContainerItem",
|
|
25415
25425
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25460,7 +25470,7 @@ const _sfc_main$D = {
|
|
|
25460
25470
|
}
|
|
25461
25471
|
}
|
|
25462
25472
|
};
|
|
25463
|
-
function _sfc_render$
|
|
25473
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25464
25474
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
25465
25475
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
25466
25476
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -25535,13 +25545,13 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25535
25545
|
_: 3
|
|
25536
25546
|
}, 8, ["widget"]);
|
|
25537
25547
|
}
|
|
25538
|
-
var tabItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25548
|
+
var tabItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$G]]);
|
|
25539
25549
|
var __glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25540
25550
|
__proto__: null,
|
|
25541
25551
|
"default": tabItem
|
|
25542
25552
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25543
25553
|
var tableCellItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25544
|
-
const _sfc_main$
|
|
25554
|
+
const _sfc_main$F = {
|
|
25545
25555
|
name: "TableCellItem",
|
|
25546
25556
|
componentName: "ContainerItem",
|
|
25547
25557
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -25564,8 +25574,8 @@ const _sfc_main$C = {
|
|
|
25564
25574
|
},
|
|
25565
25575
|
methods: {}
|
|
25566
25576
|
};
|
|
25567
|
-
const _hoisted_1$
|
|
25568
|
-
function _sfc_render$
|
|
25577
|
+
const _hoisted_1$w = ["colspan", "rowspan"];
|
|
25578
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25569
25579
|
return openBlock(), createElementBlock("td", {
|
|
25570
25580
|
class: normalizeClass(["table-cell", [$options.customClass]]),
|
|
25571
25581
|
colspan: $props.widget && $props.widget.options ? $props.widget.options.colspan || 1 : 1,
|
|
@@ -25607,15 +25617,15 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25607
25617
|
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
25608
25618
|
], 64);
|
|
25609
25619
|
}), 256))
|
|
25610
|
-
], 14, _hoisted_1$
|
|
25620
|
+
], 14, _hoisted_1$w);
|
|
25611
25621
|
}
|
|
25612
|
-
var TableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25622
|
+
var TableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$F], ["__scopeId", "data-v-7d6166fa"]]);
|
|
25613
25623
|
var __glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25614
25624
|
__proto__: null,
|
|
25615
25625
|
"default": TableCellItem
|
|
25616
25626
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25617
25627
|
var tableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25618
|
-
const _sfc_main$
|
|
25628
|
+
const _sfc_main$E = {
|
|
25619
25629
|
name: "table-item",
|
|
25620
25630
|
componentName: "ContainerItem",
|
|
25621
25631
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25637,7 +25647,7 @@ const _sfc_main$B = {
|
|
|
25637
25647
|
},
|
|
25638
25648
|
methods: {}
|
|
25639
25649
|
};
|
|
25640
|
-
function _sfc_render$
|
|
25650
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25641
25651
|
const _component_table_cell_item = resolveComponent("table-cell-item");
|
|
25642
25652
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
25643
25653
|
return openBlock(), createBlock(_component_container_item_wrapper, { widget: $props.widget }, {
|
|
@@ -25687,7 +25697,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25687
25697
|
_: 3
|
|
25688
25698
|
}, 8, ["widget"]);
|
|
25689
25699
|
}
|
|
25690
|
-
var tableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25700
|
+
var tableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-3481d843"]]);
|
|
25691
25701
|
var __glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25692
25702
|
__proto__: null,
|
|
25693
25703
|
"default": tableItem
|
|
@@ -25702,7 +25712,7 @@ var ContainerItems = {
|
|
|
25702
25712
|
}
|
|
25703
25713
|
};
|
|
25704
25714
|
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
25705
|
-
const _sfc_main$
|
|
25715
|
+
const _sfc_main$D = {
|
|
25706
25716
|
name: "VFormRender",
|
|
25707
25717
|
componentName: "VFormRender",
|
|
25708
25718
|
mixins: [emitter, i18n$1],
|
|
@@ -26531,7 +26541,7 @@ const _sfc_main$A = {
|
|
|
26531
26541
|
}
|
|
26532
26542
|
}
|
|
26533
26543
|
};
|
|
26534
|
-
function _sfc_render$
|
|
26544
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26535
26545
|
const _component_el_form = resolveComponent("el-form");
|
|
26536
26546
|
return openBlock(), createBlock(_component_el_form, {
|
|
26537
26547
|
"label-position": $options.labelPosition,
|
|
@@ -26588,7 +26598,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26588
26598
|
_: 3
|
|
26589
26599
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
26590
26600
|
}
|
|
26591
|
-
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
26601
|
+
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render$D], ["__scopeId", "data-v-4fac61a7"]]);
|
|
26592
26602
|
function registerIcon(app) {
|
|
26593
26603
|
app.component("el-icon-edit", edit);
|
|
26594
26604
|
app.component("el-icon-minus", minus);
|
|
@@ -26603,13 +26613,13 @@ function registerIcon(app) {
|
|
|
26603
26613
|
if (typeof window !== "undefined") {
|
|
26604
26614
|
let loadSvg = function() {
|
|
26605
26615
|
var body = document.body;
|
|
26606
|
-
var svgDom = document.getElementById("
|
|
26616
|
+
var svgDom = document.getElementById("__svg__icons__dom__1783058463277__");
|
|
26607
26617
|
if (!svgDom) {
|
|
26608
26618
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26609
26619
|
svgDom.style.position = "absolute";
|
|
26610
26620
|
svgDom.style.width = "0";
|
|
26611
26621
|
svgDom.style.height = "0";
|
|
26612
|
-
svgDom.id = "
|
|
26622
|
+
svgDom.id = "__svg__icons__dom__1783058463277__";
|
|
26613
26623
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26614
26624
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26615
26625
|
}
|
|
@@ -26883,7 +26893,7 @@ var containerMixin = {
|
|
|
26883
26893
|
}
|
|
26884
26894
|
};
|
|
26885
26895
|
var containerWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26886
|
-
const _sfc_main$
|
|
26896
|
+
const _sfc_main$C = {
|
|
26887
26897
|
name: "container-wrapper",
|
|
26888
26898
|
mixins: [i18n$1, containerMixin],
|
|
26889
26899
|
components: {
|
|
@@ -26902,92 +26912,92 @@ const _sfc_main$z = {
|
|
|
26902
26912
|
}
|
|
26903
26913
|
}
|
|
26904
26914
|
};
|
|
26905
|
-
const _hoisted_1$
|
|
26915
|
+
const _hoisted_1$v = {
|
|
26906
26916
|
key: 0,
|
|
26907
26917
|
class: "container-action"
|
|
26908
26918
|
};
|
|
26909
|
-
const _hoisted_2$
|
|
26910
|
-
const _hoisted_3$
|
|
26911
|
-
const _hoisted_4$
|
|
26912
|
-
const _hoisted_5$
|
|
26913
|
-
const _hoisted_6$
|
|
26914
|
-
const _hoisted_7$
|
|
26915
|
-
const _hoisted_8$
|
|
26916
|
-
const _hoisted_9$
|
|
26919
|
+
const _hoisted_2$n = ["title"];
|
|
26920
|
+
const _hoisted_3$j = ["title"];
|
|
26921
|
+
const _hoisted_4$g = ["title"];
|
|
26922
|
+
const _hoisted_5$c = ["title"];
|
|
26923
|
+
const _hoisted_6$c = ["title"];
|
|
26924
|
+
const _hoisted_7$a = ["title"];
|
|
26925
|
+
const _hoisted_8$7 = ["title"];
|
|
26926
|
+
const _hoisted_9$6 = {
|
|
26917
26927
|
key: 1,
|
|
26918
26928
|
class: "drag-handler"
|
|
26919
26929
|
};
|
|
26920
|
-
const _hoisted_10$
|
|
26921
|
-
const _hoisted_11$
|
|
26922
|
-
function _sfc_render$
|
|
26930
|
+
const _hoisted_10$4 = ["title"];
|
|
26931
|
+
const _hoisted_11$2 = { key: 0 };
|
|
26932
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26923
26933
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
26924
26934
|
return openBlock(), createElementBlock("div", {
|
|
26925
26935
|
class: normalizeClass(["container-wrapper", [$options.customClass]])
|
|
26926
26936
|
}, [
|
|
26927
26937
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
26928
|
-
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26938
|
+
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
26929
26939
|
createElementVNode("i", {
|
|
26930
26940
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
26931
26941
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectParentWidget($props.widget), ["stop"]))
|
|
26932
26942
|
}, [
|
|
26933
26943
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
26934
|
-
], 8, _hoisted_2$
|
|
26944
|
+
], 8, _hoisted_2$n),
|
|
26935
26945
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
26936
26946
|
key: 0,
|
|
26937
26947
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
26938
26948
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.moveUpWidget(), ["stop"]))
|
|
26939
26949
|
}, [
|
|
26940
26950
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
26941
|
-
], 8, _hoisted_3$
|
|
26951
|
+
], 8, _hoisted_3$j)) : createCommentVNode("", true),
|
|
26942
26952
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
26943
26953
|
key: 1,
|
|
26944
26954
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
26945
26955
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => _ctx.moveDownWidget(), ["stop"]))
|
|
26946
26956
|
}, [
|
|
26947
26957
|
createVNode(_component_svg_icon, { "icon-class": "el-move-down" })
|
|
26948
|
-
], 8, _hoisted_4$
|
|
26958
|
+
], 8, _hoisted_4$g)) : createCommentVNode("", true),
|
|
26949
26959
|
$props.widget.type === "table" ? (openBlock(), createElementBlock("i", {
|
|
26950
26960
|
key: 2,
|
|
26951
26961
|
title: _ctx.i18nt("designer.hint.insertRow"),
|
|
26952
26962
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => _ctx.appendTableRow($props.widget), ["stop"]))
|
|
26953
26963
|
}, [
|
|
26954
26964
|
createVNode(_component_svg_icon, { "icon-class": "el-insert-row" })
|
|
26955
|
-
], 8, _hoisted_5$
|
|
26965
|
+
], 8, _hoisted_5$c)) : createCommentVNode("", true),
|
|
26956
26966
|
$props.widget.type === "table" ? (openBlock(), createElementBlock("i", {
|
|
26957
26967
|
key: 3,
|
|
26958
26968
|
title: _ctx.i18nt("designer.hint.insertColumn"),
|
|
26959
26969
|
onClick: _cache[4] || (_cache[4] = withModifiers(($event) => _ctx.appendTableCol($props.widget), ["stop"]))
|
|
26960
26970
|
}, [
|
|
26961
26971
|
createVNode(_component_svg_icon, { "icon-class": "el-insert-column" })
|
|
26962
|
-
], 8, _hoisted_6$
|
|
26972
|
+
], 8, _hoisted_6$c)) : createCommentVNode("", true),
|
|
26963
26973
|
$props.widget.type === "grid" || $props.widget.type === "table" ? (openBlock(), createElementBlock("i", {
|
|
26964
26974
|
key: 4,
|
|
26965
26975
|
title: _ctx.i18nt("designer.hint.cloneWidget"),
|
|
26966
26976
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => _ctx.cloneContainer($props.widget), ["stop"]))
|
|
26967
26977
|
}, [
|
|
26968
26978
|
createVNode(_component_svg_icon, { "icon-class": "el-clone" })
|
|
26969
|
-
], 8, _hoisted_7$
|
|
26979
|
+
], 8, _hoisted_7$a)) : createCommentVNode("", true),
|
|
26970
26980
|
createElementVNode("i", {
|
|
26971
26981
|
title: _ctx.i18nt("designer.hint.remove"),
|
|
26972
26982
|
onClick: _cache[6] || (_cache[6] = withModifiers((...args) => _ctx.removeWidget && _ctx.removeWidget(...args), ["stop"]))
|
|
26973
26983
|
}, [
|
|
26974
26984
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
26975
|
-
], 8, _hoisted_8$
|
|
26985
|
+
], 8, _hoisted_8$7)
|
|
26976
26986
|
])) : createCommentVNode("", true),
|
|
26977
|
-
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
26987
|
+
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$6, [
|
|
26978
26988
|
createElementVNode("i", {
|
|
26979
26989
|
title: _ctx.i18nt("designer.hint.dragHandler")
|
|
26980
26990
|
}, [
|
|
26981
26991
|
createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
|
|
26982
|
-
], 8, _hoisted_10$
|
|
26992
|
+
], 8, _hoisted_10$4),
|
|
26983
26993
|
createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.widget.type}`, `extension.widgetLabel.${$props.widget.type}`)), 1),
|
|
26984
|
-
$props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_11$
|
|
26994
|
+
$props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_11$2, [
|
|
26985
26995
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
26986
26996
|
])) : createCommentVNode("", true)
|
|
26987
26997
|
])) : createCommentVNode("", true)
|
|
26988
26998
|
], 2);
|
|
26989
26999
|
}
|
|
26990
|
-
var ContainerWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27000
|
+
var ContainerWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-679de05a"]]);
|
|
26991
27001
|
var __glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26992
27002
|
__proto__: null,
|
|
26993
27003
|
"default": ContainerWrapper
|
|
@@ -27017,7 +27027,7 @@ var refMixinDesign = {
|
|
|
27017
27027
|
}
|
|
27018
27028
|
};
|
|
27019
27029
|
var cardWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
27020
|
-
const _sfc_main$
|
|
27030
|
+
const _sfc_main$B = {
|
|
27021
27031
|
name: "card-widget",
|
|
27022
27032
|
componentName: "ContainerWidget",
|
|
27023
27033
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -27057,9 +27067,9 @@ const _sfc_main$y = {
|
|
|
27057
27067
|
}
|
|
27058
27068
|
}
|
|
27059
27069
|
};
|
|
27060
|
-
const _hoisted_1$
|
|
27061
|
-
const _hoisted_2$
|
|
27062
|
-
function _sfc_render$
|
|
27070
|
+
const _hoisted_1$u = { class: "label" };
|
|
27071
|
+
const _hoisted_2$m = { class: "form-widget-list" };
|
|
27072
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27063
27073
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
27064
27074
|
const _component_el_icon = resolveComponent("el-icon");
|
|
27065
27075
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -27093,7 +27103,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27093
27103
|
]),
|
|
27094
27104
|
_: 1
|
|
27095
27105
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
27096
|
-
createElementVNode("div", _hoisted_1$
|
|
27106
|
+
createElementVNode("div", _hoisted_1$u, toDisplayString($props.widget.options.label), 1)
|
|
27097
27107
|
])
|
|
27098
27108
|
]),
|
|
27099
27109
|
default: withCtx(() => [
|
|
@@ -27109,7 +27119,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27109
27119
|
move: $options.checkContainerMove
|
|
27110
27120
|
}), {
|
|
27111
27121
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
27112
|
-
createElementVNode("div", _hoisted_2$
|
|
27122
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
27113
27123
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
27114
27124
|
widget: subWidget,
|
|
27115
27125
|
designer: $props.designer,
|
|
@@ -27137,9 +27147,9 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27137
27147
|
_: 1
|
|
27138
27148
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
27139
27149
|
}
|
|
27140
|
-
var CardWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27150
|
+
var CardWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-2c3be1b8"]]);
|
|
27141
27151
|
var cardItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
27142
|
-
const _sfc_main$
|
|
27152
|
+
const _sfc_main$A = {
|
|
27143
27153
|
name: "card-item",
|
|
27144
27154
|
componentName: "ContainerItem",
|
|
27145
27155
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -27169,8 +27179,8 @@ const _sfc_main$x = {
|
|
|
27169
27179
|
}
|
|
27170
27180
|
}
|
|
27171
27181
|
};
|
|
27172
|
-
const _hoisted_1$
|
|
27173
|
-
function _sfc_render$
|
|
27182
|
+
const _hoisted_1$t = { class: "label" };
|
|
27183
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27174
27184
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
27175
27185
|
const _component_el_icon = resolveComponent("el-icon");
|
|
27176
27186
|
const _component_el_card = resolveComponent("el-card");
|
|
@@ -27197,7 +27207,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27197
27207
|
]),
|
|
27198
27208
|
_: 1
|
|
27199
27209
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
27200
|
-
createElementVNode("div", _hoisted_1$
|
|
27210
|
+
createElementVNode("div", _hoisted_1$t, toDisplayString($props.widget.options.label), 1)
|
|
27201
27211
|
])
|
|
27202
27212
|
]),
|
|
27203
27213
|
default: withCtx(() => [
|
|
@@ -27246,9 +27256,9 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27246
27256
|
_: 3
|
|
27247
27257
|
}, 8, ["widget"]);
|
|
27248
27258
|
}
|
|
27249
|
-
var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27259
|
+
var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["render", _sfc_render$A], ["__scopeId", "data-v-2f0daae4"]]);
|
|
27250
27260
|
const ACE_BASE_PATH = "https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini";
|
|
27251
|
-
const _sfc_main$
|
|
27261
|
+
const _sfc_main$z = {
|
|
27252
27262
|
name: "alert-widget",
|
|
27253
27263
|
componentName: "FieldWidget",
|
|
27254
27264
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -27294,7 +27304,7 @@ const _sfc_main$w = {
|
|
|
27294
27304
|
}
|
|
27295
27305
|
}
|
|
27296
27306
|
};
|
|
27297
|
-
function _sfc_render$
|
|
27307
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27298
27308
|
const _component_el_alert = resolveComponent("el-alert");
|
|
27299
27309
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
27300
27310
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -27325,7 +27335,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27325
27335
|
_: 1
|
|
27326
27336
|
}, 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"]);
|
|
27327
27337
|
}
|
|
27328
|
-
var AlertWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27338
|
+
var AlertWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_render$z]]);
|
|
27329
27339
|
var cryptoJs = { exports: {} };
|
|
27330
27340
|
var core = { exports: {} };
|
|
27331
27341
|
(function(module, exports) {
|
|
@@ -32625,7 +32635,7 @@ var personTree = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGlu
|
|
|
32625
32635
|
var personIcon = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT7nvJbnu4QgOOWkh+S7vSAyPC90aXRsZT4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDIzLjk5OTk1NzEgMjQgMjMuOTk5OTU3MSAyNCAwIDAgMCI+PC9wb2x5Z29uPg0KICAgIDwvZGVmcz4NCiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0i5Zu+5bqTIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzc5LCAtODcpIj4NCiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOOWkh+S7vS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NzksIDg3KSI+DQogICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgIDwvbWFzaz4NCiAgICAgICAgICAgICAgICA8dXNlIGlkPSLokpnniYgiIGZpbGw9IiNFM0U2RjEiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOCIgbWFzaz0idXJsKCNtYXNrLTIpIj4NCiAgICAgICAgICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIuMjgxOCwgMi4yNTc2KSI+DQogICAgICAgICAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iRmlsbC0yIiBmaWxsPSIjRkRFRUVBIiBwb2ludHM9IjEyLjIxNzA4ODIgMTguOTc4MDExIDE2LjM0NjU4MDggMTguOTc4MDExIDE2LjM0NjU4MDggMTMuOTkzMjYyOCAxMi4yMTcwODgyIDEzLjk5MzI2MjgiPjwvcG9seWdvbj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtNiIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTMuOTMyMjcwOCwzLjMzNTQ5NDY2IEwxNy44NTY1NjM4LDMuNzE5NjY1NCBMMjEuMDM2NjAxLDcuMzA1Njg3NTcgQzIxLjAzNjYwMSw3LjMwNTY4NzU3IDIxLjA1MTM0OSw3LjQxMjQwNzk0IDIxLjA2NjI2NzksNy41OTIxMzY2NCBDMjEuNTQ1NjQyOCw3Ljc1OTM3ODQ1IDIxLjg5MzYxOCw4LjI1NDkwNTE4IDIxLjg5MzYxOCw4Ljg0MDIzMTk3IEMyMS44OTM2MTgsOS41MDY4MDY3NyAyMS40NDIzMzQ3LDEwLjA1NjkyMTMgMjAuODU4ODY1NCwxMC4xMzgwMTY1IEMyMC40MzcwNzIzLDExLjU1MDQ3MTQgMTguNzA0NDc3MiwxNi4wNTQ0ODYyIDE0LjI0Mjk4NDYsMTYuMDU0NDg2MiBDOS43OTU0NjA4OSwxNi4wNTQ0ODYyIDguMTA2NDY3NDksMTEuMzgxNjA0OCA3LjY0NTA2NDUsMTAuMTI2NDE1NCBDNy4wOTA5MTA3MywxMC4wMTkwNTA5IDYuNjcwMDUwOTUsOS40ODM5NDU5MyA2LjY3MDA1MDk1LDguODQwMjMxOTcgQzYuNjcwMDUwOTUsOC4yNTIwNTk5NyA3LjAyMTQxNzM4LDcuNzU0NTYzMTggNy41MDQ5MjUzNyw3LjU4OTk1NTEzIEw3LjUwNDUxMzc1LDcuNDg5Mjg3MjQgTDkuMDM4MTY1MjksNS42MzA0MDQ4NSBMMTMuOTMyMjcwOCwzLjMzNTQ5NDY2IFoiIGlkPSLlvaLnirbnu5PlkIgiIGZpbGw9IiNGRkY1RjQiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy41MDQ1MjUxNyw3LjQ4OTI3ODY3IEM3LjIwNDk1NDI4LDUuNzQ1MTY3NSA3LjYzMjg4MjA4LDIuNjE5ODU4OCAxMC43MDcxMDUyLDAuODExMTE5MTY4IEMxMy43OTI0NzExLC0xLjAwNDIyMDQ1IDE4LjEyNzIwNjIsMC42Mjc1MTk0OTYgMTguMTA0NjIwNSwxLjgyMDg3NDUxIEMxOC45MzkzMDQ4LDEuNzg3ODc0NTcgMjEuMzczMjQzMywyLjQ2NjE3MzM2IDIxLjAzNjYwMSw3LjMwNTY3OSBDMjAuNjk4Mjg3Myw3LjI4Mjc1MDQ3IDE3LjgzNDAyMSw3LjA1MzI1MDg4IDE2LjQxMzEzNzgsNC42NDM2MTIzMiBDMTUuOTg0NjEsNS4wMzM3NDAyIDEzLjk3NzM1NjUsNi42NDAxNTE2MiAxMS4wNDU0MTg4LDYuODY5NjUxMjEgQzkuNjI0NTM1NjcsNi45ODQzNzk1NyA3Ljg2NTM4MTY3LDYuOTM4NDc5NjUgNy41MDQ1MjUxNyw3LjQ4OTI3ODY3IiBpZD0iRmlsbC01IiBmaWxsPSIjNjQ2NjdBIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI4LjU2MzY3NzYsMjcuODAyMDY2NyBDMjguNTYzNjc3NiwzMy4zOTI5NDI0IDIxLjU0NDc2MTUsMzcuOTI1MjQ4NiAxNC4yODE4MTc0LDM3LjkyNTI0ODYgQzcuMDE4OTE2MDQsMzcuOTI1MjQ4NiAwLDMzLjM5Mjk0MjQgMCwyNy44MDIwNjY3IEMwLDIzLjI5MzUwMzMgMS40MDE0Njg5MywxNy45MTEyMTI5IDEzLjQyNjAwNDYsMTcuNjg2MTcwNSBDMTMuNTA5NjE4NywxNy45NTMyOTg2IDEzLjk2NjIxNzksMTguMzAwMTQwOCAxNC4yMzUxODg5LDE4LjMwMDE0MDggQzE0LjQ4Mjk0NTYsMTguMzAwMTQwOCAxNS4wOTIzMzAyLDE4LjA2MDk1NTUgMTUuMDgwNDE1OSwxNy42ODUyMjc2IEMyNy4xNjEyMjI5LDE3Ljg5ODA5ODcgMjguNTYzNjc3NiwyMy40MTgzNDU5IDI4LjU2MzY3NzYsMjcuODAyMDY2NyIgaWQ9IkZpbGwtMTEiIGZpbGw9IiM2NDY2N0EiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTEuODU2MTQxNywxNi41NzcwMTY3IEwxMS4wODcyNDMxLDE3LjM0NDU4NjggQzExLjAwNDIyODksMTcuNDI3NTE1MiAxMC45ODE3NzE4LDE3LjU0OTc4NjQgMTEuMDMwMzcxNywxNy42NTQ1NzE5IEwxMi40NTI2MjYzLDIwLjcxOTgzNzkgQzEyLjUwMDI4MzQsMjAuODIyNTY2MyAxMi42MDcyMTE4LDIwLjg4ODgyMzMgMTIuNzI1MjQwMSwyMC44ODg4MjMzIEwxNS44MzE2OTE3LDIwLjg4ODgyMzMgQzE1Ljk0OTA3NzIsMjAuODg4ODIzMyAxNi4wNTU1MzQyLDIwLjgyMzI5NDkgMTYuMTAzNTc3LDIwLjcyMTQyMzYgTDE3LjUzMjU2MDEsMTcuNjkxMzQzMyBDMTcuNTgzMTc0MywxNy41ODQwMjkyIDE3LjU1ODgzMTUsMTcuNDU4MTE1MiAxNy40NzE0MDMxLDE3LjM3NDkyOTYgTDE2LjYyMzczMzIsMTYuNTY4NjE2NyBDMTYuNTA2ODE5MSwxNi40NTc0MDI3IDE2LjMxNzAwNTEsMTYuNDU4MDAyNyAxNi4yMDA4NjI1LDE2LjU3MDAzMSBMMTQuOTI5MjA3NiwxNy43OTY3Mjg4IEMxNC44NzMxOTM0LDE3Ljg1MDcyODcgMTQuNzk2Nzc5MywxNy44ODExNTczIDE0LjcxNzAyMjMsMTcuODgxMTU3MyBMMTMuNzgyMTM4MiwxNy44ODExNTczIEMxMy43MDMxMDk4LDE3Ljg4MTE1NzMgMTMuNjI3MzM4NSwxNy44NTEyODU5IDEzLjU3MTQ1MjksMTcuNzk4MTQzMSBMMTIuMjgyNTY5NSwxNi41NzIxMzEgQzEyLjE2NDE5ODMsMTYuNDU5NTQ1NSAxMS45NzE1OTg2LDE2LjQ2MTczMTIgMTEuODU2MTQxNywxNi41NzcwMTY3IiBpZD0iRmlsbC0xMyIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xNC41NTEwNTQsMTcuODU1OTc4NyBMMTQuMDE1NjgzNSwxNy44NTU5Nzg3IEMxMy44ODk4OTgxLDE3Ljg1NTk3ODcgMTMuNzgwMTQxMSwxNy45NDExMzU3IDEzLjc0ODgxMjYsMTguMDYyODkyNiBMMTIuOTg2NzI4MiwyMS4wMjY5NzMxIEMxMi45NzIwMjgzLDIxLjA4NDEwMTUgMTIuOTc2MDk5NywyMS4xNDQ0NDQzIDEyLjk5ODI1NjgsMjEuMTk5MTI5OSBMMTMuNzMyMjY5OCwyMy4wMDk0MTI0IEMxMy43NzQ0NDExLDIzLjExMzM4MzYgMTMuODc1NDEyNCwyMy4xODEzOTc4IDEzLjk4NzYxMjIsMjMuMTgxMzk3OCBMMTQuNTc5MTI1NCwyMy4xODEzOTc4IEMxNC42OTEyODIzLDIzLjE4MTM5NzggMTQuNzkyMjk2NCwyMy4xMTMzODM2IDE0LjgzNDQ2NzgsMjMuMDA5NDEyNCBMMTUuNTY4NDgwOCwyMS4xOTkxMjk5IEMxNS41OTA2Mzc5LDIxLjE0NDQ0NDMgMTUuNTk0NjY2NCwyMS4wODQxMDE1IDE1LjU4MDAwOTMsMjEuMDI2OTczMSBMMTQuODE3OTI1LDE4LjA2Mjg5MjYgQzE0Ljc4NjU5NjUsMTcuOTQxMTM1NyAxNC42NzY3OTY2LDE3Ljg1NTk3ODcgMTQuNTUxMDU0LDE3Ljg1NTk3ODciIGlkPSJGaWxsLTE1IiBmaWxsPSIjQTNBREMzIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=";
|
|
32626
32636
|
var personTreeItem_vue_vue_type_style_index_0_lang = "";
|
|
32627
32637
|
var personTreeItem_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
32628
|
-
const _sfc_main$
|
|
32638
|
+
const _sfc_main$y = {
|
|
32629
32639
|
name: "person-tree-widget",
|
|
32630
32640
|
componentName: "FieldWidget",
|
|
32631
32641
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -32925,10 +32935,10 @@ const _sfc_main$v = {
|
|
|
32925
32935
|
}
|
|
32926
32936
|
}
|
|
32927
32937
|
};
|
|
32928
|
-
const _hoisted_1$
|
|
32929
|
-
const _hoisted_2$
|
|
32930
|
-
const _hoisted_3$
|
|
32931
|
-
function _sfc_render$
|
|
32938
|
+
const _hoisted_1$s = { class: "person-tree-widget__trigger" };
|
|
32939
|
+
const _hoisted_2$l = { class: "flex items-center" };
|
|
32940
|
+
const _hoisted_3$i = { class: "dialog-footer" };
|
|
32941
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32932
32942
|
const _component_el_input_tag = resolveComponent("el-input-tag");
|
|
32933
32943
|
const _component_el_input = resolveComponent("el-input");
|
|
32934
32944
|
const _component_el_tree = resolveComponent("el-tree");
|
|
@@ -32953,7 +32963,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32953
32963
|
class: "person-tree-widget",
|
|
32954
32964
|
style: normalizeStyle($options.widgetStyle)
|
|
32955
32965
|
}, [
|
|
32956
|
-
createElementVNode("div", _hoisted_1$
|
|
32966
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
32957
32967
|
createVNode(_component_el_input_tag, {
|
|
32958
32968
|
modelValue: $options.displayModel,
|
|
32959
32969
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.displayModel = $event),
|
|
@@ -32966,7 +32976,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32966
32976
|
onRemoveTag: $options.handleRemoveTag
|
|
32967
32977
|
}, {
|
|
32968
32978
|
tag: withCtx(({ value: value2 }) => [
|
|
32969
|
-
createElementVNode("div", _hoisted_2$
|
|
32979
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
32970
32980
|
createElementVNode("span", null, toDisplayString(value2.name), 1)
|
|
32971
32981
|
])
|
|
32972
32982
|
]),
|
|
@@ -33018,7 +33028,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33018
33028
|
!$props.field.options.hideFooter ? {
|
|
33019
33029
|
name: "footer",
|
|
33020
33030
|
fn: withCtx(() => [
|
|
33021
|
-
createElementVNode("div", _hoisted_3$
|
|
33031
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
33022
33032
|
createVNode(_component_el_button, {
|
|
33023
33033
|
onClick: $options.handleCancel,
|
|
33024
33034
|
size: "default"
|
|
@@ -33048,8 +33058,8 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33048
33058
|
_: 1
|
|
33049
33059
|
}, 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"]);
|
|
33050
33060
|
}
|
|
33051
|
-
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33052
|
-
const _sfc_main$
|
|
33061
|
+
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-2f0d2d47"]]);
|
|
33062
|
+
const _sfc_main$x = {
|
|
33053
33063
|
name: "radio-other-widget",
|
|
33054
33064
|
componentName: "FieldWidget",
|
|
33055
33065
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33164,7 +33174,7 @@ const _sfc_main$u = {
|
|
|
33164
33174
|
}
|
|
33165
33175
|
}
|
|
33166
33176
|
};
|
|
33167
|
-
function _sfc_render$
|
|
33177
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33168
33178
|
const _component_el_radio = resolveComponent("el-radio");
|
|
33169
33179
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
33170
33180
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -33220,8 +33230,8 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33220
33230
|
_: 1
|
|
33221
33231
|
}, 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"]);
|
|
33222
33232
|
}
|
|
33223
|
-
var radioOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33224
|
-
const _sfc_main$
|
|
33233
|
+
var radioOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["render", _sfc_render$x]]);
|
|
33234
|
+
const _sfc_main$w = {
|
|
33225
33235
|
name: "select-other-widget",
|
|
33226
33236
|
componentName: "FieldWidget",
|
|
33227
33237
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33330,7 +33340,7 @@ const _sfc_main$t = {
|
|
|
33330
33340
|
}
|
|
33331
33341
|
}
|
|
33332
33342
|
};
|
|
33333
|
-
function _sfc_render$
|
|
33343
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33334
33344
|
const _component_el_option = resolveComponent("el-option");
|
|
33335
33345
|
const _component_el_select = resolveComponent("el-select");
|
|
33336
33346
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -33393,9 +33403,9 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33393
33403
|
_: 1
|
|
33394
33404
|
}, 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"]);
|
|
33395
33405
|
}
|
|
33396
|
-
var selectOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33406
|
+
var selectOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$w]]);
|
|
33397
33407
|
var meetingRoomItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33398
|
-
const _sfc_main$
|
|
33408
|
+
const _sfc_main$v = {
|
|
33399
33409
|
name: "meeting-room-widget",
|
|
33400
33410
|
componentName: "FieldWidget",
|
|
33401
33411
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33554,26 +33564,26 @@ const _sfc_main$s = {
|
|
|
33554
33564
|
}
|
|
33555
33565
|
}
|
|
33556
33566
|
};
|
|
33557
|
-
const _hoisted_1$
|
|
33567
|
+
const _hoisted_1$r = {
|
|
33558
33568
|
key: 0,
|
|
33559
33569
|
class: "empty-wrap"
|
|
33560
33570
|
};
|
|
33561
|
-
const _hoisted_2$
|
|
33571
|
+
const _hoisted_2$k = {
|
|
33562
33572
|
key: 1,
|
|
33563
33573
|
class: "room-wrap"
|
|
33564
33574
|
};
|
|
33565
|
-
const _hoisted_3$
|
|
33566
|
-
const _hoisted_4$
|
|
33567
|
-
const _hoisted_5$
|
|
33568
|
-
const _hoisted_6$
|
|
33575
|
+
const _hoisted_3$h = ["onClick"];
|
|
33576
|
+
const _hoisted_4$f = { class: "select-icon" };
|
|
33577
|
+
const _hoisted_5$b = { class: "room-item-name" };
|
|
33578
|
+
const _hoisted_6$b = {
|
|
33569
33579
|
key: 0,
|
|
33570
33580
|
class: "room-item-capacity"
|
|
33571
33581
|
};
|
|
33572
|
-
const _hoisted_7$
|
|
33582
|
+
const _hoisted_7$9 = {
|
|
33573
33583
|
key: 1,
|
|
33574
33584
|
class: "room-item-equipment"
|
|
33575
33585
|
};
|
|
33576
|
-
function _sfc_render$
|
|
33586
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33577
33587
|
const _component_el_input = resolveComponent("el-input");
|
|
33578
33588
|
const _component_el_empty = resolveComponent("el-empty");
|
|
33579
33589
|
const _component_Select = resolveComponent("Select");
|
|
@@ -33615,9 +33625,9 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33615
33625
|
]),
|
|
33616
33626
|
default: withCtx(() => [
|
|
33617
33627
|
createElementVNode("div", null, [
|
|
33618
|
-
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
33628
|
+
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
33619
33629
|
createVNode(_component_el_empty, { description: "\u6682\u65E0\u6570\u636E" })
|
|
33620
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
33630
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$k, [
|
|
33621
33631
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.roomList, (item) => {
|
|
33622
33632
|
var _a;
|
|
33623
33633
|
return openBlock(), createElementBlock("div", {
|
|
@@ -33630,7 +33640,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33630
33640
|
key: item.id || item.value,
|
|
33631
33641
|
onClick: ($event) => $options.handleSelectRoom(item)
|
|
33632
33642
|
}, [
|
|
33633
|
-
withDirectives(createElementVNode("div", _hoisted_4$
|
|
33643
|
+
withDirectives(createElementVNode("div", _hoisted_4$f, [
|
|
33634
33644
|
createVNode(_component_el_icon, null, {
|
|
33635
33645
|
default: withCtx(() => [
|
|
33636
33646
|
createVNode(_component_Select)
|
|
@@ -33640,16 +33650,16 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33640
33650
|
], 512), [
|
|
33641
33651
|
[vShow, $options.handleSelect(item)]
|
|
33642
33652
|
]),
|
|
33643
|
-
createElementVNode("div", _hoisted_5$
|
|
33653
|
+
createElementVNode("div", _hoisted_5$b, [
|
|
33644
33654
|
createElementVNode("span", null, toDisplayString(item.roomName), 1)
|
|
33645
33655
|
]),
|
|
33646
|
-
item.capacity ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
33656
|
+
item.capacity ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
|
|
33647
33657
|
createElementVNode("span", null, "\u5BB9\u91CF\uFF1A" + toDisplayString(item.capacity), 1)
|
|
33648
33658
|
])) : createCommentVNode("", true),
|
|
33649
|
-
item.equipment ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
33659
|
+
item.equipment ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
|
|
33650
33660
|
createElementVNode("span", null, "\u8BBE\u5907\uFF1A" + toDisplayString(item.equipment), 1)
|
|
33651
33661
|
])) : createCommentVNode("", true)
|
|
33652
|
-
], 10, _hoisted_3$
|
|
33662
|
+
], 10, _hoisted_3$h);
|
|
33653
33663
|
}), 128))
|
|
33654
33664
|
]))
|
|
33655
33665
|
])
|
|
@@ -33660,9 +33670,9 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33660
33670
|
_: 1
|
|
33661
33671
|
}, 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"]);
|
|
33662
33672
|
}
|
|
33663
|
-
var meetingRoomItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33673
|
+
var meetingRoomItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-344c32a1"]]);
|
|
33664
33674
|
var gridColWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33665
|
-
const _sfc_main$
|
|
33675
|
+
const _sfc_main$u = {
|
|
33666
33676
|
name: "GridColWidget",
|
|
33667
33677
|
componentName: "GridColWidget",
|
|
33668
33678
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -33864,25 +33874,25 @@ const _sfc_main$r = {
|
|
|
33864
33874
|
}
|
|
33865
33875
|
}
|
|
33866
33876
|
};
|
|
33867
|
-
const _hoisted_1$
|
|
33868
|
-
const _hoisted_2$
|
|
33877
|
+
const _hoisted_1$q = { class: "form-widget-list" };
|
|
33878
|
+
const _hoisted_2$j = {
|
|
33869
33879
|
key: 0,
|
|
33870
33880
|
class: "grid-col-action"
|
|
33871
33881
|
};
|
|
33872
|
-
const _hoisted_3$
|
|
33873
|
-
const _hoisted_4$
|
|
33874
|
-
const _hoisted_5$
|
|
33875
|
-
const _hoisted_6$
|
|
33876
|
-
const _hoisted_7$
|
|
33877
|
-
const _hoisted_8$
|
|
33882
|
+
const _hoisted_3$g = ["title"];
|
|
33883
|
+
const _hoisted_4$e = ["title"];
|
|
33884
|
+
const _hoisted_5$a = ["title"];
|
|
33885
|
+
const _hoisted_6$a = ["title"];
|
|
33886
|
+
const _hoisted_7$8 = ["title"];
|
|
33887
|
+
const _hoisted_8$6 = {
|
|
33878
33888
|
key: 1,
|
|
33879
33889
|
class: "grid-col-handler"
|
|
33880
33890
|
};
|
|
33881
|
-
const _hoisted_9$
|
|
33891
|
+
const _hoisted_9$5 = {
|
|
33882
33892
|
key: 0,
|
|
33883
33893
|
class: "col-hidden-tag"
|
|
33884
33894
|
};
|
|
33885
|
-
function _sfc_render$
|
|
33895
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33886
33896
|
const _component_draggable = resolveComponent("draggable");
|
|
33887
33897
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
33888
33898
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -33909,7 +33919,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33909
33919
|
move: $options.checkContainerMove
|
|
33910
33920
|
}), {
|
|
33911
33921
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
33912
|
-
createElementVNode("div", _hoisted_1$
|
|
33922
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
33913
33923
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
33914
33924
|
widget: subWidget,
|
|
33915
33925
|
designer: $props.designer,
|
|
@@ -33934,43 +33944,43 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33934
33944
|
]),
|
|
33935
33945
|
_: 1
|
|
33936
33946
|
}, 16, ["list", "onUpdate", "move"]),
|
|
33937
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
33947
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_2$j, [
|
|
33938
33948
|
createElementVNode("i", {
|
|
33939
33949
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
33940
33950
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget($props.widget), ["stop"]))
|
|
33941
33951
|
}, [
|
|
33942
33952
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
33943
|
-
], 8, _hoisted_3$
|
|
33953
|
+
], 8, _hoisted_3$g),
|
|
33944
33954
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
33945
33955
|
key: 0,
|
|
33946
33956
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
33947
33957
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => $options.moveUpWidget(), ["stop"]))
|
|
33948
33958
|
}, [
|
|
33949
33959
|
createVNode(_component_svg_icon, { "icon-class": "el-move-up" })
|
|
33950
|
-
], 8, _hoisted_4$
|
|
33960
|
+
], 8, _hoisted_4$e)) : createCommentVNode("", true),
|
|
33951
33961
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
33952
33962
|
key: 1,
|
|
33953
33963
|
title: _ctx.i18nt("designer.hint.moveDownWidget"),
|
|
33954
33964
|
onClick: _cache[4] || (_cache[4] = withModifiers(($event) => $options.moveDownWidget(), ["stop"]))
|
|
33955
33965
|
}, [
|
|
33956
33966
|
createVNode(_component_svg_icon, { "icon-class": "el-move-down" })
|
|
33957
|
-
], 8, _hoisted_5$
|
|
33967
|
+
], 8, _hoisted_5$a)) : createCommentVNode("", true),
|
|
33958
33968
|
createElementVNode("i", {
|
|
33959
33969
|
title: _ctx.i18nt("designer.hint.cloneWidget"),
|
|
33960
33970
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => $options.cloneGridCol($props.widget), ["stop"]))
|
|
33961
33971
|
}, [
|
|
33962
33972
|
createVNode(_component_svg_icon, { "icon-class": "el-clone" })
|
|
33963
|
-
], 8, _hoisted_6$
|
|
33973
|
+
], 8, _hoisted_6$a),
|
|
33964
33974
|
createElementVNode("i", {
|
|
33965
33975
|
title: _ctx.i18nt("designer.hint.remove"),
|
|
33966
33976
|
onClick: _cache[6] || (_cache[6] = withModifiers((...args) => $options.removeWidget && $options.removeWidget(...args), ["stop"]))
|
|
33967
33977
|
}, [
|
|
33968
33978
|
createVNode(_component_svg_icon, { "icon-class": "el-delete" })
|
|
33969
|
-
], 8, _hoisted_7$
|
|
33979
|
+
], 8, _hoisted_7$8)
|
|
33970
33980
|
])) : createCommentVNode("", true),
|
|
33971
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
33981
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_8$6, [
|
|
33972
33982
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1),
|
|
33973
|
-
$props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$
|
|
33983
|
+
$props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$5, [
|
|
33974
33984
|
createVNode(_component_svg_icon, { "icon-class": "el-hide" })
|
|
33975
33985
|
])) : createCommentVNode("", true)
|
|
33976
33986
|
])) : createCommentVNode("", true)
|
|
@@ -33978,13 +33988,13 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33978
33988
|
_: 1
|
|
33979
33989
|
}, 16, ["class", "style"])) : createCommentVNode("", true);
|
|
33980
33990
|
}
|
|
33981
|
-
var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33991
|
+
var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-cb053c20"]]);
|
|
33982
33992
|
var __glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33983
33993
|
__proto__: null,
|
|
33984
33994
|
"default": GridColWidget
|
|
33985
33995
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
33986
33996
|
var gridWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33987
|
-
const _sfc_main$
|
|
33997
|
+
const _sfc_main$t = {
|
|
33988
33998
|
name: "grid-widget",
|
|
33989
33999
|
componentName: "ContainerWidget",
|
|
33990
34000
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34016,7 +34026,7 @@ const _sfc_main$q = {
|
|
|
34016
34026
|
},
|
|
34017
34027
|
methods: {}
|
|
34018
34028
|
};
|
|
34019
|
-
function _sfc_render$
|
|
34029
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34020
34030
|
const _component_grid_col_widget = resolveComponent("grid-col-widget");
|
|
34021
34031
|
const _component_el_row = resolveComponent("el-row");
|
|
34022
34032
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
@@ -34053,13 +34063,13 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34053
34063
|
_: 1
|
|
34054
34064
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34055
34065
|
}
|
|
34056
|
-
var gridWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34066
|
+
var gridWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$t], ["__scopeId", "data-v-2b4f7bb7"]]);
|
|
34057
34067
|
var __glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34058
34068
|
__proto__: null,
|
|
34059
34069
|
"default": gridWidget
|
|
34060
34070
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34061
34071
|
var tabWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34062
|
-
const _sfc_main$
|
|
34072
|
+
const _sfc_main$s = {
|
|
34063
34073
|
name: "tab-widget",
|
|
34064
34074
|
componentName: "ContainerWidget",
|
|
34065
34075
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34102,8 +34112,8 @@ const _sfc_main$p = {
|
|
|
34102
34112
|
}
|
|
34103
34113
|
}
|
|
34104
34114
|
};
|
|
34105
|
-
const _hoisted_1$
|
|
34106
|
-
function _sfc_render$
|
|
34115
|
+
const _hoisted_1$p = { class: "form-widget-list" };
|
|
34116
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34107
34117
|
const _component_draggable = resolveComponent("draggable");
|
|
34108
34118
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
34109
34119
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
@@ -34148,7 +34158,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34148
34158
|
move: _ctx.checkContainerMove
|
|
34149
34159
|
}), {
|
|
34150
34160
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
34151
|
-
createElementVNode("div", _hoisted_1$
|
|
34161
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
34152
34162
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34153
34163
|
widget: subWidget,
|
|
34154
34164
|
designer: $props.designer,
|
|
@@ -34181,13 +34191,13 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34181
34191
|
_: 1
|
|
34182
34192
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34183
34193
|
}
|
|
34184
|
-
var tabWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34194
|
+
var tabWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-2c29f864"]]);
|
|
34185
34195
|
var __glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34186
34196
|
__proto__: null,
|
|
34187
34197
|
"default": tabWidget
|
|
34188
34198
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34189
34199
|
var tableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34190
|
-
const _sfc_main$
|
|
34200
|
+
const _sfc_main$r = {
|
|
34191
34201
|
name: "TableCellWidget",
|
|
34192
34202
|
componentName: "TableCellWidget",
|
|
34193
34203
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -34352,19 +34362,19 @@ const _sfc_main$o = {
|
|
|
34352
34362
|
}
|
|
34353
34363
|
}
|
|
34354
34364
|
};
|
|
34355
|
-
const _hoisted_1$
|
|
34356
|
-
const _hoisted_2$
|
|
34357
|
-
const _hoisted_3$
|
|
34365
|
+
const _hoisted_1$o = ["colspan", "rowspan"];
|
|
34366
|
+
const _hoisted_2$i = { class: "form-widget-list" };
|
|
34367
|
+
const _hoisted_3$f = {
|
|
34358
34368
|
key: 0,
|
|
34359
34369
|
class: "table-cell-action"
|
|
34360
34370
|
};
|
|
34361
|
-
const _hoisted_4$
|
|
34362
|
-
const _hoisted_5$
|
|
34363
|
-
const _hoisted_6$
|
|
34371
|
+
const _hoisted_4$d = ["title"];
|
|
34372
|
+
const _hoisted_5$9 = ["title"];
|
|
34373
|
+
const _hoisted_6$9 = {
|
|
34364
34374
|
key: 1,
|
|
34365
34375
|
class: "table-cell-handler"
|
|
34366
34376
|
};
|
|
34367
|
-
function _sfc_render$
|
|
34377
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34368
34378
|
const _component_draggable = resolveComponent("draggable");
|
|
34369
34379
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34370
34380
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -34390,7 +34400,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34390
34400
|
move: $options.checkContainerMove
|
|
34391
34401
|
}), {
|
|
34392
34402
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
34393
|
-
createElementVNode("div", _hoisted_2$
|
|
34403
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
34394
34404
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34395
34405
|
widget: subWidget,
|
|
34396
34406
|
designer: $props.designer,
|
|
@@ -34411,13 +34421,13 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34411
34421
|
]),
|
|
34412
34422
|
_: 1
|
|
34413
34423
|
}, 16, ["list", "onUpdate", "move"]),
|
|
34414
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
34424
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
34415
34425
|
createElementVNode("i", {
|
|
34416
34426
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
34417
34427
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget(), ["stop"]))
|
|
34418
34428
|
}, [
|
|
34419
34429
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
34420
|
-
], 8, _hoisted_4$
|
|
34430
|
+
], 8, _hoisted_4$d),
|
|
34421
34431
|
createVNode(_component_el_dropdown, {
|
|
34422
34432
|
trigger: "click",
|
|
34423
34433
|
onCommand: $options.handleTableCellCommand,
|
|
@@ -34553,23 +34563,23 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34553
34563
|
title: _ctx.i18nt("designer.hint.cellSetting")
|
|
34554
34564
|
}, [
|
|
34555
34565
|
createVNode(_component_svg_icon, { "icon-class": "el-menu" })
|
|
34556
|
-
], 8, _hoisted_5$
|
|
34566
|
+
], 8, _hoisted_5$9)
|
|
34557
34567
|
]),
|
|
34558
34568
|
_: 1
|
|
34559
34569
|
}, 8, ["onCommand"])
|
|
34560
34570
|
])) : createCommentVNode("", true),
|
|
34561
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
34571
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
34562
34572
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1)
|
|
34563
34573
|
])) : createCommentVNode("", true)
|
|
34564
|
-
], 14, _hoisted_1$
|
|
34574
|
+
], 14, _hoisted_1$o);
|
|
34565
34575
|
}
|
|
34566
|
-
var TableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34576
|
+
var TableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render$r], ["__scopeId", "data-v-2dc3e6c7"]]);
|
|
34567
34577
|
var __glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34568
34578
|
__proto__: null,
|
|
34569
34579
|
"default": TableCellWidget
|
|
34570
34580
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34571
34581
|
var tableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34572
|
-
const _sfc_main$
|
|
34582
|
+
const _sfc_main$q = {
|
|
34573
34583
|
name: "table-widget",
|
|
34574
34584
|
componentName: "ContainerWidget",
|
|
34575
34585
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34601,8 +34611,8 @@ const _sfc_main$n = {
|
|
|
34601
34611
|
},
|
|
34602
34612
|
methods: {}
|
|
34603
34613
|
};
|
|
34604
|
-
const _hoisted_1$
|
|
34605
|
-
function _sfc_render$
|
|
34614
|
+
const _hoisted_1$n = { class: "table-layout" };
|
|
34615
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34606
34616
|
const _component_table_cell_widget = resolveComponent("table-cell-widget");
|
|
34607
34617
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
34608
34618
|
return openBlock(), createBlock(_component_container_wrapper, {
|
|
@@ -34618,7 +34628,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34618
34628
|
class: normalizeClass(["table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34619
34629
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34620
34630
|
}, [
|
|
34621
|
-
createElementVNode("table", _hoisted_1$
|
|
34631
|
+
createElementVNode("table", _hoisted_1$n, [
|
|
34622
34632
|
createElementVNode("tbody", null, [
|
|
34623
34633
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
34624
34634
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -34650,7 +34660,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34650
34660
|
_: 1
|
|
34651
34661
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34652
34662
|
}
|
|
34653
|
-
var tableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34663
|
+
var tableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-2fde56df"]]);
|
|
34654
34664
|
var __glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34655
34665
|
__proto__: null,
|
|
34656
34666
|
"default": tableWidget
|
|
@@ -34665,7 +34675,7 @@ var ContainerComponents = {
|
|
|
34665
34675
|
}
|
|
34666
34676
|
};
|
|
34667
34677
|
var customSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34668
|
-
const _sfc_main$
|
|
34678
|
+
const _sfc_main$p = {
|
|
34669
34679
|
name: "custom-sub-form-widget",
|
|
34670
34680
|
componentName: "ContainerWidget",
|
|
34671
34681
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34724,29 +34734,29 @@ const _sfc_main$m = {
|
|
|
34724
34734
|
}
|
|
34725
34735
|
}
|
|
34726
34736
|
};
|
|
34727
|
-
const _hoisted_1$
|
|
34728
|
-
const _hoisted_2$
|
|
34737
|
+
const _hoisted_1$m = { class: "sub-form-header" };
|
|
34738
|
+
const _hoisted_2$h = {
|
|
34729
34739
|
key: 0,
|
|
34730
34740
|
class: "sub-form-label"
|
|
34731
34741
|
};
|
|
34732
|
-
const _hoisted_3$
|
|
34733
|
-
const _hoisted_4$
|
|
34734
|
-
const _hoisted_5$
|
|
34742
|
+
const _hoisted_3$e = { class: "group-header" };
|
|
34743
|
+
const _hoisted_4$c = { class: "group-title" };
|
|
34744
|
+
const _hoisted_5$8 = {
|
|
34735
34745
|
key: 0,
|
|
34736
34746
|
class: "row-number-span"
|
|
34737
34747
|
};
|
|
34738
|
-
const _hoisted_6$
|
|
34748
|
+
const _hoisted_6$8 = {
|
|
34739
34749
|
key: 1,
|
|
34740
34750
|
class: "row-number-span"
|
|
34741
34751
|
};
|
|
34742
|
-
const _hoisted_7$
|
|
34743
|
-
const _hoisted_8$
|
|
34744
|
-
const _hoisted_9$
|
|
34745
|
-
const _hoisted_10$
|
|
34752
|
+
const _hoisted_7$7 = { class: "group-actions" };
|
|
34753
|
+
const _hoisted_8$5 = { class: "group-content" };
|
|
34754
|
+
const _hoisted_9$4 = { class: "form-widget-list" };
|
|
34755
|
+
const _hoisted_10$3 = {
|
|
34746
34756
|
key: 0,
|
|
34747
34757
|
class: "empty-hint"
|
|
34748
34758
|
};
|
|
34749
|
-
function _sfc_render$
|
|
34759
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34750
34760
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34751
34761
|
const _component_el_button = resolveComponent("el-button");
|
|
34752
34762
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -34764,19 +34774,19 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34764
34774
|
class: normalizeClass(["custom-sub-form-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34765
34775
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34766
34776
|
}, [
|
|
34767
|
-
createElementVNode("div", _hoisted_1$
|
|
34768
|
-
!$props.widget.options.labelHidden ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
34777
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
34778
|
+
!$props.widget.options.labelHidden ? (openBlock(), createElementBlock("span", _hoisted_2$h, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)) : createCommentVNode("", true)
|
|
34769
34779
|
]),
|
|
34770
34780
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.previewRows, (row, rowIdx) => {
|
|
34771
34781
|
return openBlock(), createElementBlock("div", {
|
|
34772
34782
|
class: "preview-group-row",
|
|
34773
34783
|
key: "preview-" + rowIdx
|
|
34774
34784
|
}, [
|
|
34775
|
-
createElementVNode("div", _hoisted_3$
|
|
34776
|
-
createElementVNode("div", _hoisted_4$
|
|
34777
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
34785
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
34786
|
+
createElementVNode("div", _hoisted_4$c, [
|
|
34787
|
+
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$8, toDisplayString($props.widget.options.label) + " " + toDisplayString(rowIdx + 1) + " \u7EC4", 1)) : (openBlock(), createElementBlock("span", _hoisted_6$8, "\u8868\u5355\u7EC4"))
|
|
34778
34788
|
]),
|
|
34779
|
-
createElementVNode("div", _hoisted_7$
|
|
34789
|
+
createElementVNode("div", _hoisted_7$7, [
|
|
34780
34790
|
createVNode(_component_el_button, {
|
|
34781
34791
|
size: "small",
|
|
34782
34792
|
type: "danger",
|
|
@@ -34791,7 +34801,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34791
34801
|
}, 8, ["onClick"])
|
|
34792
34802
|
])
|
|
34793
34803
|
]),
|
|
34794
|
-
createElementVNode("div", _hoisted_8$
|
|
34804
|
+
createElementVNode("div", _hoisted_8$5, [
|
|
34795
34805
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
34796
34806
|
return openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34797
34807
|
key: subWidget.id + "preview" + rowIdx + "-" + swIdx,
|
|
@@ -34825,7 +34835,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34825
34835
|
move: $options.checkContainerMove
|
|
34826
34836
|
}), {
|
|
34827
34837
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
34828
|
-
createElementVNode("div", _hoisted_9$
|
|
34838
|
+
createElementVNode("div", _hoisted_9$4, [
|
|
34829
34839
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34830
34840
|
widget: subWidget,
|
|
34831
34841
|
designer: $props.designer,
|
|
@@ -34846,16 +34856,16 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34846
34856
|
]),
|
|
34847
34857
|
_: 1
|
|
34848
34858
|
}, 16, ["list", "onUpdate", "move"]),
|
|
34849
|
-
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
34859
|
+
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_10$3, " \u62D6\u62FD\u4EFB\u610F\u7EC4\u4EF6\u5230\u6B64\u5904 ")) : createCommentVNode("", true)
|
|
34850
34860
|
], 2)
|
|
34851
34861
|
], 2))
|
|
34852
34862
|
]),
|
|
34853
34863
|
_: 1
|
|
34854
34864
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34855
34865
|
}
|
|
34856
|
-
var CustomSubFormWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34866
|
+
var CustomSubFormWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-0d784fb7"]]);
|
|
34857
34867
|
var customSubFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34858
|
-
const _sfc_main$
|
|
34868
|
+
const _sfc_main$o = {
|
|
34859
34869
|
name: "custom-sub-form-item",
|
|
34860
34870
|
componentName: "ContainerItem",
|
|
34861
34871
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -35231,39 +35241,39 @@ const _sfc_main$l = {
|
|
|
35231
35241
|
}
|
|
35232
35242
|
}
|
|
35233
35243
|
};
|
|
35234
|
-
const _hoisted_1$
|
|
35244
|
+
const _hoisted_1$l = {
|
|
35235
35245
|
key: 0,
|
|
35236
35246
|
class: "sub-form-header"
|
|
35237
35247
|
};
|
|
35238
|
-
const _hoisted_2$
|
|
35239
|
-
const _hoisted_3$
|
|
35240
|
-
const _hoisted_4$
|
|
35241
|
-
const _hoisted_5$
|
|
35248
|
+
const _hoisted_2$g = { class: "sub-form-label" };
|
|
35249
|
+
const _hoisted_3$d = { class: "group-header" };
|
|
35250
|
+
const _hoisted_4$b = { class: "group-title" };
|
|
35251
|
+
const _hoisted_5$7 = {
|
|
35242
35252
|
key: 0,
|
|
35243
35253
|
class: "row-number-span"
|
|
35244
35254
|
};
|
|
35245
|
-
const _hoisted_6$
|
|
35246
|
-
const _hoisted_7$
|
|
35247
|
-
const _hoisted_8$
|
|
35255
|
+
const _hoisted_6$7 = { class: "group-actions" };
|
|
35256
|
+
const _hoisted_7$6 = { class: "group-content" };
|
|
35257
|
+
const _hoisted_8$4 = {
|
|
35248
35258
|
key: 1,
|
|
35249
35259
|
class: "field-loading",
|
|
35250
35260
|
style: { "color": "#909399", "font-size": "12px", "padding": "8px" }
|
|
35251
35261
|
};
|
|
35252
|
-
const _hoisted_9$
|
|
35262
|
+
const _hoisted_9$3 = {
|
|
35253
35263
|
key: 1,
|
|
35254
35264
|
class: "empty-hint"
|
|
35255
35265
|
};
|
|
35256
|
-
const _hoisted_10$
|
|
35257
|
-
const _hoisted_11 = { key: 1 };
|
|
35258
|
-
const _hoisted_12 = {
|
|
35266
|
+
const _hoisted_10$2 = { key: 0 };
|
|
35267
|
+
const _hoisted_11$1 = { key: 1 };
|
|
35268
|
+
const _hoisted_12$1 = {
|
|
35259
35269
|
key: 1,
|
|
35260
35270
|
class: "empty-hint"
|
|
35261
35271
|
};
|
|
35262
|
-
const _hoisted_13 = {
|
|
35272
|
+
const _hoisted_13$1 = {
|
|
35263
35273
|
key: 2,
|
|
35264
35274
|
class: "empty-hint"
|
|
35265
35275
|
};
|
|
35266
|
-
function _sfc_render$
|
|
35276
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35267
35277
|
const _component_el_button = resolveComponent("el-button");
|
|
35268
35278
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35269
35279
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -35273,19 +35283,19 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35273
35283
|
key: $props.widget.id,
|
|
35274
35284
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
35275
35285
|
}, [
|
|
35276
|
-
!$props.widget.options.labelHidden ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35277
|
-
createElementVNode("span", _hoisted_2$
|
|
35286
|
+
!$props.widget.options.labelHidden ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
35287
|
+
createElementVNode("span", _hoisted_2$g, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
35278
35288
|
])) : createCommentVNode("", true),
|
|
35279
35289
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
35280
35290
|
return openBlock(), createElementBlock("div", {
|
|
35281
35291
|
class: "form-group-row",
|
|
35282
35292
|
key: subFormRowId
|
|
35283
35293
|
}, [
|
|
35284
|
-
createElementVNode("div", _hoisted_3$
|
|
35285
|
-
createElementVNode("div", _hoisted_4$
|
|
35286
|
-
$props.widget.options.showRowNumber && !$props.widget.options.labelHidden ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
35294
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
35295
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
35296
|
+
$props.widget.options.showRowNumber && !$props.widget.options.labelHidden ? (openBlock(), createElementBlock("span", _hoisted_5$7, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355") + " " + toDisplayString(sfrIdx + 1), 1)) : createCommentVNode("", true)
|
|
35287
35297
|
]),
|
|
35288
|
-
createElementVNode("div", _hoisted_6$
|
|
35298
|
+
createElementVNode("div", _hoisted_6$7, [
|
|
35289
35299
|
sfrIdx > 0 && !$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
|
|
35290
35300
|
key: 0,
|
|
35291
35301
|
size: "small",
|
|
@@ -35301,7 +35311,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35301
35311
|
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
35302
35312
|
])
|
|
35303
35313
|
]),
|
|
35304
|
-
createElementVNode("div", _hoisted_7$
|
|
35314
|
+
createElementVNode("div", _hoisted_7$6, [
|
|
35305
35315
|
$props.widget && $props.widget.widgetList && $props.widget.widgetList.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
35306
35316
|
return openBlock(), createElementBlock(Fragment, {
|
|
35307
35317
|
key: subWidget ? subWidget.id + "gc" + subFormRowId + "-" + swIdx : "gc" + subFormRowId + "-" + swIdx
|
|
@@ -35328,16 +35338,16 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35328
35338
|
"sub-form-row-index": sfrIdx,
|
|
35329
35339
|
"sub-form-col-index": swIdx,
|
|
35330
35340
|
"sub-form-disabled": $props.widget.options.disabled
|
|
35331
|
-
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index", "sub-form-disabled"])) : (openBlock(), createElementBlock("div", _hoisted_8$
|
|
35341
|
+
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index", "sub-form-disabled"])) : (openBlock(), createElementBlock("div", _hoisted_8$4, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
|
|
35332
35342
|
], 64)) : createCommentVNode("", true)
|
|
35333
35343
|
], 64);
|
|
35334
|
-
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_9$
|
|
35335
|
-
!$props.widget ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
35344
|
+
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
35345
|
+
!$props.widget ? (openBlock(), createElementBlock("div", _hoisted_10$2, "\u7EC4\u4EF6\u672A\u521D\u59CB\u5316")) : !$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_11$1, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : createCommentVNode("", true)
|
|
35336
35346
|
]))
|
|
35337
35347
|
])
|
|
35338
35348
|
]);
|
|
35339
35349
|
}), 128)),
|
|
35340
|
-
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_12, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : $data.rowIdData.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_13, ' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')) : createCommentVNode("", true),
|
|
35350
|
+
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_12$1, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : $data.rowIdData.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_13$1, ' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')) : createCommentVNode("", true),
|
|
35341
35351
|
!$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
|
|
35342
35352
|
key: 3,
|
|
35343
35353
|
disabled: $data.actionDisabled,
|
|
@@ -35359,9 +35369,9 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35359
35369
|
_: 1
|
|
35360
35370
|
}, 8, ["widget"]);
|
|
35361
35371
|
}
|
|
35362
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35372
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-09af068c"]]);
|
|
35363
35373
|
var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35364
|
-
const _sfc_main$
|
|
35374
|
+
const _sfc_main$n = {
|
|
35365
35375
|
name: "custom-table-cell-widget",
|
|
35366
35376
|
componentName: "CustomTableCellWidget",
|
|
35367
35377
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -35517,22 +35527,22 @@ const _sfc_main$k = {
|
|
|
35517
35527
|
}
|
|
35518
35528
|
}
|
|
35519
35529
|
};
|
|
35520
|
-
const _hoisted_1$
|
|
35521
|
-
const _hoisted_2$
|
|
35522
|
-
const _hoisted_3$
|
|
35530
|
+
const _hoisted_1$k = ["colspan", "rowspan"];
|
|
35531
|
+
const _hoisted_2$f = { class: "form-widget-list" };
|
|
35532
|
+
const _hoisted_3$c = {
|
|
35523
35533
|
key: 0,
|
|
35524
35534
|
class: "custom-table-cell-action"
|
|
35525
35535
|
};
|
|
35526
|
-
const _hoisted_4$
|
|
35527
|
-
const _hoisted_5$
|
|
35536
|
+
const _hoisted_4$a = { title: "\u5355\u5143\u683C\u8BBE\u7F6E" };
|
|
35537
|
+
const _hoisted_5$6 = {
|
|
35528
35538
|
key: 1,
|
|
35529
35539
|
class: "custom-table-cell-handler"
|
|
35530
35540
|
};
|
|
35531
|
-
const _hoisted_6$
|
|
35541
|
+
const _hoisted_6$6 = {
|
|
35532
35542
|
key: 2,
|
|
35533
35543
|
class: "empty-hint"
|
|
35534
35544
|
};
|
|
35535
|
-
function _sfc_render$
|
|
35545
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35536
35546
|
const _component_draggable = resolveComponent("draggable");
|
|
35537
35547
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35538
35548
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -35565,7 +35575,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35565
35575
|
move: $options.checkContainerMove
|
|
35566
35576
|
}), {
|
|
35567
35577
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
35568
|
-
createElementVNode("div", _hoisted_2$
|
|
35578
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
35569
35579
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
35570
35580
|
widget: subWidget,
|
|
35571
35581
|
designer: $props.designer,
|
|
@@ -35586,7 +35596,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35586
35596
|
]),
|
|
35587
35597
|
_: 1
|
|
35588
35598
|
}, 16, ["list", "onUpdate", "move"]),
|
|
35589
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
35599
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
|
|
35590
35600
|
createElementVNode("i", {
|
|
35591
35601
|
title: "\u9009\u62E9\u7236\u7EC4\u4EF6",
|
|
35592
35602
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget(), ["stop"]))
|
|
@@ -35645,22 +35655,22 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35645
35655
|
})
|
|
35646
35656
|
]),
|
|
35647
35657
|
default: withCtx(() => [
|
|
35648
|
-
createElementVNode("i", _hoisted_4$
|
|
35658
|
+
createElementVNode("i", _hoisted_4$a, [
|
|
35649
35659
|
createVNode(_component_svg_icon, { "icon-class": "el-menu" })
|
|
35650
35660
|
])
|
|
35651
35661
|
]),
|
|
35652
35662
|
_: 1
|
|
35653
35663
|
}, 8, ["onCommand"])
|
|
35654
35664
|
])) : createCommentVNode("", true),
|
|
35655
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
35665
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "custom-table-cell" ? (openBlock(), createElementBlock("div", _hoisted_5$6, [..._cache[9] || (_cache[9] = [
|
|
35656
35666
|
createElementVNode("i", null, "\u5355\u5143\u683C", -1)
|
|
35657
35667
|
])])) : createCommentVNode("", true),
|
|
35658
|
-
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
35659
|
-
], 14, _hoisted_1$
|
|
35668
|
+
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$6, " \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")) : createCommentVNode("", true)
|
|
35669
|
+
], 14, _hoisted_1$k);
|
|
35660
35670
|
}
|
|
35661
|
-
var CustomTableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35671
|
+
var CustomTableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-6e28297c"]]);
|
|
35662
35672
|
var customTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35663
|
-
const _sfc_main$
|
|
35673
|
+
const _sfc_main$m = {
|
|
35664
35674
|
name: "custom-table-widget",
|
|
35665
35675
|
componentName: "ContainerWidget",
|
|
35666
35676
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -35711,8 +35721,8 @@ const _sfc_main$j = {
|
|
|
35711
35721
|
}
|
|
35712
35722
|
}
|
|
35713
35723
|
};
|
|
35714
|
-
const _hoisted_1$
|
|
35715
|
-
function _sfc_render$
|
|
35724
|
+
const _hoisted_1$j = { class: "custom-table-layout" };
|
|
35725
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35716
35726
|
const _component_custom_table_cell_widget = resolveComponent("custom-table-cell-widget");
|
|
35717
35727
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
35718
35728
|
return openBlock(), createBlock(_component_container_wrapper, {
|
|
@@ -35728,7 +35738,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35728
35738
|
class: normalizeClass(["custom-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
35729
35739
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
35730
35740
|
}, [
|
|
35731
|
-
createElementVNode("table", _hoisted_1$
|
|
35741
|
+
createElementVNode("table", _hoisted_1$j, [
|
|
35732
35742
|
createElementVNode("tbody", null, [
|
|
35733
35743
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
35734
35744
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -35758,9 +35768,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35758
35768
|
_: 1
|
|
35759
35769
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
35760
35770
|
}
|
|
35761
|
-
var CustomTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35771
|
+
var CustomTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-5281c94a"]]);
|
|
35762
35772
|
var customTableCellItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35763
|
-
const _sfc_main$
|
|
35773
|
+
const _sfc_main$l = {
|
|
35764
35774
|
name: "custom-table-cell-item",
|
|
35765
35775
|
componentName: "ContainerItem",
|
|
35766
35776
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -35777,8 +35787,8 @@ const _sfc_main$i = {
|
|
|
35777
35787
|
}
|
|
35778
35788
|
}
|
|
35779
35789
|
};
|
|
35780
|
-
const _hoisted_1$
|
|
35781
|
-
function _sfc_render$
|
|
35790
|
+
const _hoisted_1$i = ["colspan", "rowspan"];
|
|
35791
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35782
35792
|
return openBlock(), createElementBlock("td", {
|
|
35783
35793
|
class: normalizeClass(["custom-table-cell", $options.customClass]),
|
|
35784
35794
|
colspan: $props.widget.options.colspan || 1,
|
|
@@ -35809,11 +35819,11 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35809
35819
|
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
35810
35820
|
], 64);
|
|
35811
35821
|
}), 128))
|
|
35812
|
-
], 14, _hoisted_1$
|
|
35822
|
+
], 14, _hoisted_1$i);
|
|
35813
35823
|
}
|
|
35814
|
-
var CustomTableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35824
|
+
var CustomTableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-188e7bf2"]]);
|
|
35815
35825
|
var customTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35816
|
-
const _sfc_main$
|
|
35826
|
+
const _sfc_main$k = {
|
|
35817
35827
|
name: "custom-table-item",
|
|
35818
35828
|
componentName: "ContainerItem",
|
|
35819
35829
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -35998,16 +36008,16 @@ const _sfc_main$h = {
|
|
|
35998
36008
|
}
|
|
35999
36009
|
}
|
|
36000
36010
|
};
|
|
36001
|
-
const _hoisted_1$
|
|
36011
|
+
const _hoisted_1$h = {
|
|
36002
36012
|
key: 0,
|
|
36003
36013
|
class: "table-actions"
|
|
36004
36014
|
};
|
|
36005
|
-
const _hoisted_2$
|
|
36006
|
-
const _hoisted_3$
|
|
36015
|
+
const _hoisted_2$e = { class: "custom-table-layout" };
|
|
36016
|
+
const _hoisted_3$b = {
|
|
36007
36017
|
key: 0,
|
|
36008
36018
|
class: "row-actions-cell"
|
|
36009
36019
|
};
|
|
36010
|
-
function _sfc_render$
|
|
36020
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36011
36021
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
36012
36022
|
const _component_el_button = resolveComponent("el-button");
|
|
36013
36023
|
const _component_custom_table_cell_item = resolveComponent("custom-table-cell-item");
|
|
@@ -36018,7 +36028,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36018
36028
|
key: $props.widget.id,
|
|
36019
36029
|
class: normalizeClass(["custom-table-container", $options.customClass])
|
|
36020
36030
|
}, [
|
|
36021
|
-
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36031
|
+
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
36022
36032
|
createVNode(_component_el_button, {
|
|
36023
36033
|
type: "primary",
|
|
36024
36034
|
size: "small",
|
|
@@ -36032,13 +36042,13 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36032
36042
|
_: 1
|
|
36033
36043
|
}, 8, ["onClick"])
|
|
36034
36044
|
])) : createCommentVNode("", true),
|
|
36035
|
-
createElementVNode("table", _hoisted_2$
|
|
36045
|
+
createElementVNode("table", _hoisted_2$e, [
|
|
36036
36046
|
createElementVNode("tbody", null, [
|
|
36037
36047
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
36038
36048
|
return openBlock(), createElementBlock("tr", {
|
|
36039
36049
|
key: $data.rowIdData[rowIdx] || row.id
|
|
36040
36050
|
}, [
|
|
36041
|
-
$props.widget.rows.length > 0 ? (openBlock(), createElementBlock("td", _hoisted_3$
|
|
36051
|
+
$props.widget.rows.length > 0 ? (openBlock(), createElementBlock("td", _hoisted_3$b, [
|
|
36042
36052
|
createVNode(_component_el_button, {
|
|
36043
36053
|
type: "primary",
|
|
36044
36054
|
size: "small",
|
|
@@ -36087,9 +36097,9 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36087
36097
|
_: 1
|
|
36088
36098
|
}, 8, ["widget"]);
|
|
36089
36099
|
}
|
|
36090
|
-
var CustomTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
36100
|
+
var CustomTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-1aff2bd9"]]);
|
|
36091
36101
|
var subTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
36092
|
-
const _sfc_main$
|
|
36102
|
+
const _sfc_main$j = {
|
|
36093
36103
|
name: "sub-table-widget",
|
|
36094
36104
|
componentName: "ContainerWidget",
|
|
36095
36105
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -36175,18 +36185,18 @@ const _sfc_main$g = {
|
|
|
36175
36185
|
}
|
|
36176
36186
|
}
|
|
36177
36187
|
};
|
|
36178
|
-
const _hoisted_1$
|
|
36179
|
-
const _hoisted_2$
|
|
36180
|
-
const _hoisted_3$
|
|
36181
|
-
const _hoisted_4$
|
|
36182
|
-
const _hoisted_5$
|
|
36183
|
-
const _hoisted_6$
|
|
36184
|
-
const _hoisted_7$
|
|
36185
|
-
const _hoisted_8$
|
|
36188
|
+
const _hoisted_1$g = { class: "sub-table-header" };
|
|
36189
|
+
const _hoisted_2$d = { class: "sub-table-label" };
|
|
36190
|
+
const _hoisted_3$a = { class: "table-preview" };
|
|
36191
|
+
const _hoisted_4$9 = { class: "preview-cell" };
|
|
36192
|
+
const _hoisted_5$5 = { class: "empty-hint" };
|
|
36193
|
+
const _hoisted_6$5 = { key: 0 };
|
|
36194
|
+
const _hoisted_7$5 = { key: 1 };
|
|
36195
|
+
const _hoisted_8$3 = {
|
|
36186
36196
|
key: 0,
|
|
36187
36197
|
class: "config-hint"
|
|
36188
36198
|
};
|
|
36189
|
-
function _sfc_render$
|
|
36199
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36190
36200
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
36191
36201
|
const _component_el_button = resolveComponent("el-button");
|
|
36192
36202
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
@@ -36206,8 +36216,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36206
36216
|
class: normalizeClass(["sub-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
36207
36217
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
36208
36218
|
}, [
|
|
36209
|
-
createElementVNode("div", _hoisted_1$
|
|
36210
|
-
createElementVNode("span", _hoisted_2$
|
|
36219
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
36220
|
+
createElementVNode("span", _hoisted_2$d, toDisplayString($props.widget.options.label || "\u5B50\u8868\u683C"), 1),
|
|
36211
36221
|
createVNode(_component_el_button, {
|
|
36212
36222
|
disabled: $data.actionDisabled,
|
|
36213
36223
|
round: "",
|
|
@@ -36223,7 +36233,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36223
36233
|
_: 1
|
|
36224
36234
|
}, 8, ["disabled", "onClick"])
|
|
36225
36235
|
]),
|
|
36226
|
-
createElementVNode("div", _hoisted_3$
|
|
36236
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
36227
36237
|
createVNode(_component_el_table, {
|
|
36228
36238
|
data: $data.previewData,
|
|
36229
36239
|
border: $props.widget.options.border,
|
|
@@ -36233,8 +36243,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36233
36243
|
style: { "width": "100%" }
|
|
36234
36244
|
}, {
|
|
36235
36245
|
empty: withCtx(() => [
|
|
36236
|
-
createElementVNode("div", _hoisted_5$
|
|
36237
|
-
$props.widget.options.columns && $props.widget.options.columns.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
36246
|
+
createElementVNode("div", _hoisted_5$5, [
|
|
36247
|
+
$props.widget.options.columns && $props.widget.options.columns.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_6$5, ' \u6682\u65E0\u6570\u636E\uFF0C\u70B9\u51FB"\u6DFB\u52A0\u884C"\u6309\u94AE\u6DFB\u52A0\u6570\u636E ')) : (openBlock(), createElementBlock("span", _hoisted_7$5, " \u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217 "))
|
|
36238
36248
|
])
|
|
36239
36249
|
]),
|
|
36240
36250
|
default: withCtx(() => [
|
|
@@ -36255,7 +36265,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36255
36265
|
align: "center"
|
|
36256
36266
|
}, {
|
|
36257
36267
|
default: withCtx(({ row }) => [
|
|
36258
|
-
createElementVNode("span", _hoisted_4$
|
|
36268
|
+
createElementVNode("span", _hoisted_4$9, toDisplayString(row[col.prop] || "-"), 1)
|
|
36259
36269
|
]),
|
|
36260
36270
|
_: 2
|
|
36261
36271
|
}, 1032, ["prop", "label", "width", "min-width"]);
|
|
@@ -36297,7 +36307,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36297
36307
|
_: 1
|
|
36298
36308
|
}, 8, ["data", "border", "stripe", "size", "max-height"])
|
|
36299
36309
|
]),
|
|
36300
|
-
!$props.widget.options.columns || $props.widget.options.columns.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
36310
|
+
!$props.widget.options.columns || $props.widget.options.columns.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
|
|
36301
36311
|
createVNode(_component_el_alert, {
|
|
36302
36312
|
title: "\u63D0\u793A",
|
|
36303
36313
|
type: "info",
|
|
@@ -36315,9 +36325,9 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36315
36325
|
_: 1
|
|
36316
36326
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
36317
36327
|
}
|
|
36318
|
-
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
36328
|
+
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-1fb729c8"]]);
|
|
36319
36329
|
var subTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
36320
|
-
const _sfc_main$
|
|
36330
|
+
const _sfc_main$i = {
|
|
36321
36331
|
name: "sub-table-item",
|
|
36322
36332
|
componentName: "ContainerItem",
|
|
36323
36333
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -36719,17 +36729,17 @@ const _sfc_main$f = {
|
|
|
36719
36729
|
}
|
|
36720
36730
|
}
|
|
36721
36731
|
};
|
|
36722
|
-
const _hoisted_1$
|
|
36732
|
+
const _hoisted_1$f = {
|
|
36723
36733
|
key: 0,
|
|
36724
36734
|
class: "sub-table-label"
|
|
36725
36735
|
};
|
|
36726
|
-
const _hoisted_2$
|
|
36736
|
+
const _hoisted_2$c = {
|
|
36727
36737
|
key: 0,
|
|
36728
36738
|
class: "required-mark"
|
|
36729
36739
|
};
|
|
36730
|
-
const _hoisted_3$
|
|
36731
|
-
const _hoisted_4$
|
|
36732
|
-
function _sfc_render$
|
|
36740
|
+
const _hoisted_3$9 = { class: "table-toolbar" };
|
|
36741
|
+
const _hoisted_4$8 = { class: "dialog-footer" };
|
|
36742
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36733
36743
|
const _component_el_button = resolveComponent("el-button");
|
|
36734
36744
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
36735
36745
|
const _component_el_table = resolveComponent("el-table");
|
|
@@ -36749,13 +36759,13 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36749
36759
|
key: $props.widget.id,
|
|
36750
36760
|
class: normalizeClass(["sub-table-container", $options.customClass])
|
|
36751
36761
|
}, [
|
|
36752
|
-
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36762
|
+
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
36753
36763
|
createElementVNode("span", {
|
|
36754
36764
|
class: normalizeClass($options.labelClass)
|
|
36755
36765
|
}, toDisplayString($props.widget.options.label), 3),
|
|
36756
|
-
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
36766
|
+
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$c, "*")) : createCommentVNode("", true)
|
|
36757
36767
|
])) : createCommentVNode("", true),
|
|
36758
|
-
createElementVNode("div", _hoisted_3$
|
|
36768
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
36759
36769
|
!$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
|
|
36760
36770
|
key: 0,
|
|
36761
36771
|
type: "primary",
|
|
@@ -36856,7 +36866,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36856
36866
|
onOpened: $options.handleDialogOpened
|
|
36857
36867
|
}, {
|
|
36858
36868
|
footer: withCtx(() => [
|
|
36859
|
-
createElementVNode("span", _hoisted_4$
|
|
36869
|
+
createElementVNode("span", _hoisted_4$8, [
|
|
36860
36870
|
createVNode(_component_el_button, {
|
|
36861
36871
|
size: "default",
|
|
36862
36872
|
onClick: _cache[0] || (_cache[0] = ($event) => $data.dialogVisible = false)
|
|
@@ -36997,7 +37007,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36997
37007
|
_: 1
|
|
36998
37008
|
}, 8, ["widget"]);
|
|
36999
37009
|
}
|
|
37000
|
-
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
37010
|
+
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-7ee123a5"]]);
|
|
37001
37011
|
var ace$2 = { exports: {} };
|
|
37002
37012
|
(function(module, exports) {
|
|
37003
37013
|
(function() {
|
|
@@ -61443,7 +61453,7 @@ var extLanguage_tools = { exports: {} };
|
|
|
61443
61453
|
})();
|
|
61444
61454
|
})(extLanguage_tools);
|
|
61445
61455
|
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
61446
|
-
const _sfc_main$
|
|
61456
|
+
const _sfc_main$h = {
|
|
61447
61457
|
name: "CodeEditor",
|
|
61448
61458
|
props: {
|
|
61449
61459
|
modelValue: {
|
|
@@ -61534,19 +61544,19 @@ const _sfc_main$e = {
|
|
|
61534
61544
|
}
|
|
61535
61545
|
}
|
|
61536
61546
|
};
|
|
61537
|
-
const _hoisted_1$
|
|
61538
|
-
const _hoisted_2$
|
|
61547
|
+
const _hoisted_1$e = { class: "ace-container" };
|
|
61548
|
+
const _hoisted_2$b = {
|
|
61539
61549
|
class: "ace-editor",
|
|
61540
61550
|
ref: "ace"
|
|
61541
61551
|
};
|
|
61542
|
-
function _sfc_render$
|
|
61543
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
61544
|
-
createElementVNode("div", _hoisted_2$
|
|
61552
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61553
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
61554
|
+
createElementVNode("div", _hoisted_2$b, null, 512)
|
|
61545
61555
|
]);
|
|
61546
61556
|
}
|
|
61547
|
-
var CodeEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
61557
|
+
var CodeEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-335e1214"]]);
|
|
61548
61558
|
var subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
61549
|
-
const _sfc_main$
|
|
61559
|
+
const _sfc_main$g = {
|
|
61550
61560
|
name: "sub-table-columns-editor",
|
|
61551
61561
|
mixins: [i18n$1],
|
|
61552
61562
|
components: {
|
|
@@ -61764,11 +61774,11 @@ const _sfc_main$d = {
|
|
|
61764
61774
|
}
|
|
61765
61775
|
}
|
|
61766
61776
|
};
|
|
61767
|
-
const _hoisted_1$
|
|
61768
|
-
const _hoisted_2$
|
|
61769
|
-
const _hoisted_3$
|
|
61770
|
-
const _hoisted_4$
|
|
61771
|
-
function _sfc_render$
|
|
61777
|
+
const _hoisted_1$d = { class: "column-header" };
|
|
61778
|
+
const _hoisted_2$a = { class: "column-title" };
|
|
61779
|
+
const _hoisted_3$8 = { class: "column-form" };
|
|
61780
|
+
const _hoisted_4$7 = { class: "dialog-footer" };
|
|
61781
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61772
61782
|
const _component_el_divider = resolveComponent("el-divider");
|
|
61773
61783
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
61774
61784
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -61800,8 +61810,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61800
61810
|
key: colIdx,
|
|
61801
61811
|
class: "column-item"
|
|
61802
61812
|
}, [
|
|
61803
|
-
createElementVNode("div", _hoisted_1$
|
|
61804
|
-
createElementVNode("span", _hoisted_2$
|
|
61813
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
61814
|
+
createElementVNode("span", _hoisted_2$a, "\u5217 " + toDisplayString(colIdx + 1), 1),
|
|
61805
61815
|
createVNode(_component_el_button, {
|
|
61806
61816
|
circle: "",
|
|
61807
61817
|
plain: "",
|
|
@@ -61812,7 +61822,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61812
61822
|
class: "column-delete-button"
|
|
61813
61823
|
}, null, 8, ["onClick"])
|
|
61814
61824
|
]),
|
|
61815
|
-
createElementVNode("div", _hoisted_3$
|
|
61825
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
61816
61826
|
createVNode(_component_el_form_item, { label: "\u5217\u540D" }, {
|
|
61817
61827
|
default: withCtx(() => [
|
|
61818
61828
|
createVNode(_component_el_input, {
|
|
@@ -62228,7 +62238,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62228
62238
|
"close-on-click-modal": false
|
|
62229
62239
|
}, {
|
|
62230
62240
|
footer: withCtx(() => [
|
|
62231
|
-
createElementVNode("div", _hoisted_4$
|
|
62241
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
62232
62242
|
createVNode(_component_el_button, {
|
|
62233
62243
|
onClick: _cache[1] || (_cache[1] = ($event) => $data.showColumnEventDialog = false)
|
|
62234
62244
|
}, {
|
|
@@ -62267,8 +62277,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62267
62277
|
}, 8, ["modelValue", "title"])
|
|
62268
62278
|
], 64);
|
|
62269
62279
|
}
|
|
62270
|
-
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
62271
|
-
const _sfc_main$
|
|
62280
|
+
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-2401420e"]]);
|
|
62281
|
+
const _sfc_main$f = {
|
|
62272
62282
|
name: "current-user-widget",
|
|
62273
62283
|
componentName: "FieldWidget",
|
|
62274
62284
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -62378,7 +62388,7 @@ const _sfc_main$c = {
|
|
|
62378
62388
|
this.getCurrentUser();
|
|
62379
62389
|
}
|
|
62380
62390
|
};
|
|
62381
|
-
function _sfc_render$
|
|
62391
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62382
62392
|
const _component_el_input = resolveComponent("el-input");
|
|
62383
62393
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
62384
62394
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -62403,9 +62413,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62403
62413
|
_: 1
|
|
62404
62414
|
}, 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"]);
|
|
62405
62415
|
}
|
|
62406
|
-
var CurrentUserWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
62416
|
+
var CurrentUserWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f]]);
|
|
62407
62417
|
var assetDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62408
|
-
const _sfc_main$
|
|
62418
|
+
const _sfc_main$e = {
|
|
62409
62419
|
name: "asset-dialog",
|
|
62410
62420
|
props: {
|
|
62411
62421
|
dialogVisible: {
|
|
@@ -62602,17 +62612,17 @@ const _sfc_main$b = {
|
|
|
62602
62612
|
this.handleGetAssetTypeOptions();
|
|
62603
62613
|
}
|
|
62604
62614
|
};
|
|
62605
|
-
const _hoisted_1$
|
|
62606
|
-
const _hoisted_2$
|
|
62607
|
-
const _hoisted_3$
|
|
62608
|
-
const _hoisted_4$
|
|
62609
|
-
const _hoisted_5$
|
|
62610
|
-
const _hoisted_6$
|
|
62611
|
-
const _hoisted_7$
|
|
62612
|
-
const _hoisted_8$
|
|
62613
|
-
const _hoisted_9$
|
|
62614
|
-
const _hoisted_10 = { class: "dialog-footer" };
|
|
62615
|
-
function _sfc_render$
|
|
62615
|
+
const _hoisted_1$c = { class: "asset-body-wrap" };
|
|
62616
|
+
const _hoisted_2$9 = { class: "bottom-wrap" };
|
|
62617
|
+
const _hoisted_3$7 = { class: "left-wrap" };
|
|
62618
|
+
const _hoisted_4$6 = { class: "filter-wrap" };
|
|
62619
|
+
const _hoisted_5$4 = { class: "right-wrap" };
|
|
62620
|
+
const _hoisted_6$4 = { class: "asset-wrap-title" };
|
|
62621
|
+
const _hoisted_7$4 = { class: "asset-wrap" };
|
|
62622
|
+
const _hoisted_8$2 = { class: "asset-item-left" };
|
|
62623
|
+
const _hoisted_9$2 = { class: "asset-item-right" };
|
|
62624
|
+
const _hoisted_10$1 = { class: "dialog-footer" };
|
|
62625
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62616
62626
|
const _component_el_input = resolveComponent("el-input");
|
|
62617
62627
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
62618
62628
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -62642,7 +62652,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62642
62652
|
"header-class": "asset-list-dialog-header"
|
|
62643
62653
|
}, {
|
|
62644
62654
|
footer: withCtx(() => [
|
|
62645
|
-
createElementVNode("div", _hoisted_10, [
|
|
62655
|
+
createElementVNode("div", _hoisted_10$1, [
|
|
62646
62656
|
createVNode(_component_el_button, {
|
|
62647
62657
|
onClick: $options.handleClose,
|
|
62648
62658
|
size: "default"
|
|
@@ -62665,10 +62675,10 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62665
62675
|
])
|
|
62666
62676
|
]),
|
|
62667
62677
|
default: withCtx(() => [
|
|
62668
|
-
createElementVNode("div", _hoisted_1$
|
|
62669
|
-
createElementVNode("div", _hoisted_2$
|
|
62670
|
-
createElementVNode("div", _hoisted_3$
|
|
62671
|
-
createElementVNode("div", _hoisted_4$
|
|
62678
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
62679
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
62680
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
62681
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
62672
62682
|
createVNode(_component_el_form, {
|
|
62673
62683
|
model: $data.form,
|
|
62674
62684
|
ref: "formRef"
|
|
@@ -62877,8 +62887,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62877
62887
|
_: 1
|
|
62878
62888
|
})
|
|
62879
62889
|
]),
|
|
62880
|
-
createElementVNode("div", _hoisted_5$
|
|
62881
|
-
createElementVNode("div", _hoisted_6$
|
|
62890
|
+
createElementVNode("div", _hoisted_5$4, [
|
|
62891
|
+
createElementVNode("div", _hoisted_6$4, [
|
|
62882
62892
|
createVNode(_component_el_input, {
|
|
62883
62893
|
modelValue: $data.searchValue,
|
|
62884
62894
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => $data.searchValue = $event),
|
|
@@ -62898,17 +62908,17 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62898
62908
|
]),
|
|
62899
62909
|
createVNode(_component_el_scrollbar, { class: "asset-wrap-scroll" }, {
|
|
62900
62910
|
default: withCtx(() => [
|
|
62901
|
-
createElementVNode("ul", _hoisted_7$
|
|
62911
|
+
createElementVNode("ul", _hoisted_7$4, [
|
|
62902
62912
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.filterList, (item) => {
|
|
62903
62913
|
return openBlock(), createElementBlock("li", {
|
|
62904
62914
|
class: "asset-item",
|
|
62905
62915
|
key: item.assetId
|
|
62906
62916
|
}, [
|
|
62907
|
-
createElementVNode("div", _hoisted_8$
|
|
62917
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
62908
62918
|
createElementVNode("div", null, toDisplayString(item.labelName), 1),
|
|
62909
62919
|
createElementVNode("div", null, toDisplayString(item.assetCode), 1)
|
|
62910
62920
|
]),
|
|
62911
|
-
createElementVNode("div", _hoisted_9$
|
|
62921
|
+
createElementVNode("div", _hoisted_9$2, [
|
|
62912
62922
|
createVNode(_component_el_icon, {
|
|
62913
62923
|
onClick: ($event) => $options.handleRemove(item.assetId)
|
|
62914
62924
|
}, {
|
|
@@ -62931,9 +62941,9 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62931
62941
|
_: 1
|
|
62932
62942
|
}, 8, ["modelValue", "onClose"]);
|
|
62933
62943
|
}
|
|
62934
|
-
var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
62935
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
62936
|
-
const _sfc_main$
|
|
62944
|
+
var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-5cca3952"]]);
|
|
62945
|
+
var index_vue_vue_type_style_index_0_lang$2 = "";
|
|
62946
|
+
const _sfc_main$d = {
|
|
62937
62947
|
name: "asset-select-widget",
|
|
62938
62948
|
componentName: "FieldWidget",
|
|
62939
62949
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -63127,8 +63137,8 @@ const _sfc_main$a = {
|
|
|
63127
63137
|
}
|
|
63128
63138
|
}
|
|
63129
63139
|
};
|
|
63130
|
-
const _hoisted_1$
|
|
63131
|
-
function _sfc_render$
|
|
63140
|
+
const _hoisted_1$b = { class: "asset-select-widget__trigger" };
|
|
63141
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63132
63142
|
const _component_el_button = resolveComponent("el-button");
|
|
63133
63143
|
const _component_asset_dialog = resolveComponent("asset-dialog");
|
|
63134
63144
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -63149,7 +63159,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63149
63159
|
class: "asset-select-widget",
|
|
63150
63160
|
style: normalizeStyle($options.widgetStyle)
|
|
63151
63161
|
}, [
|
|
63152
|
-
createElementVNode("div", _hoisted_1$
|
|
63162
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
63153
63163
|
createVNode(_component_el_button, {
|
|
63154
63164
|
type: "primary",
|
|
63155
63165
|
class: "asset-select-widget__button",
|
|
@@ -63179,7 +63189,951 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63179
63189
|
_: 1
|
|
63180
63190
|
}, 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"]);
|
|
63181
63191
|
}
|
|
63182
|
-
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
63192
|
+
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d]]);
|
|
63193
|
+
var documentDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
63194
|
+
var documentDialog_vue_vue_type_style_index_1_lang = "";
|
|
63195
|
+
const DEFAULT_FORM_JSON$1 = {
|
|
63196
|
+
widgetList: [],
|
|
63197
|
+
formConfig: {
|
|
63198
|
+
modelName: "formData",
|
|
63199
|
+
refName: "vForm",
|
|
63200
|
+
rulesName: "rules",
|
|
63201
|
+
labelWidth: 80,
|
|
63202
|
+
labelPosition: "left",
|
|
63203
|
+
size: "",
|
|
63204
|
+
labelAlign: "label-left-align",
|
|
63205
|
+
cssCode: "",
|
|
63206
|
+
customClass: [],
|
|
63207
|
+
functions: "",
|
|
63208
|
+
layoutType: "PC",
|
|
63209
|
+
jsonVersion: 3,
|
|
63210
|
+
onFormCreated: "",
|
|
63211
|
+
onFormMounted: "",
|
|
63212
|
+
onFormDataChange: "",
|
|
63213
|
+
onFormValidate: "",
|
|
63214
|
+
onFormValidateSuccess: ""
|
|
63215
|
+
}
|
|
63216
|
+
};
|
|
63217
|
+
const _sfc_main$c = {
|
|
63218
|
+
name: "document-dialog",
|
|
63219
|
+
components: {
|
|
63220
|
+
VFormRender
|
|
63221
|
+
},
|
|
63222
|
+
props: {
|
|
63223
|
+
dialogVisible: {
|
|
63224
|
+
type: Boolean,
|
|
63225
|
+
default: false
|
|
63226
|
+
},
|
|
63227
|
+
fieldValue: {
|
|
63228
|
+
type: Array,
|
|
63229
|
+
default: () => []
|
|
63230
|
+
},
|
|
63231
|
+
documentTypeValue: {
|
|
63232
|
+
type: String,
|
|
63233
|
+
default: ""
|
|
63234
|
+
},
|
|
63235
|
+
documentListUrl: {
|
|
63236
|
+
type: String,
|
|
63237
|
+
default: "unified-system/workflow/businessFlow/page"
|
|
63238
|
+
},
|
|
63239
|
+
limit: {
|
|
63240
|
+
type: Number,
|
|
63241
|
+
default: 0
|
|
63242
|
+
}
|
|
63243
|
+
},
|
|
63244
|
+
data() {
|
|
63245
|
+
return {
|
|
63246
|
+
tableData: [],
|
|
63247
|
+
selectedRows: [],
|
|
63248
|
+
checkedIds: [],
|
|
63249
|
+
visible: false,
|
|
63250
|
+
pageSize: 10,
|
|
63251
|
+
currentPage: 1,
|
|
63252
|
+
form: {
|
|
63253
|
+
title: ""
|
|
63254
|
+
},
|
|
63255
|
+
total: 0,
|
|
63256
|
+
activeDocumentId: null,
|
|
63257
|
+
activeDocument: null,
|
|
63258
|
+
formJson: null,
|
|
63259
|
+
formData: {},
|
|
63260
|
+
showForm: false,
|
|
63261
|
+
detailLoading: false,
|
|
63262
|
+
formJsonCache: {},
|
|
63263
|
+
_handlingCheckedChange: false
|
|
63264
|
+
};
|
|
63265
|
+
},
|
|
63266
|
+
computed: {
|
|
63267
|
+
renderFormJson() {
|
|
63268
|
+
return this.formJson || DEFAULT_FORM_JSON$1;
|
|
63269
|
+
}
|
|
63270
|
+
},
|
|
63271
|
+
watch: {
|
|
63272
|
+
dialogVisible: {
|
|
63273
|
+
handler(newVal) {
|
|
63274
|
+
this.visible = newVal;
|
|
63275
|
+
if (newVal) {
|
|
63276
|
+
this.getTableData();
|
|
63277
|
+
this.selectedRows = this.fieldValue && Array.isArray(this.fieldValue) ? lodash.exports.cloneDeep(this.fieldValue) : [];
|
|
63278
|
+
if (this.selectedRows.length > 0) {
|
|
63279
|
+
this.handleSelectActive(this.selectedRows[0]);
|
|
63280
|
+
} else {
|
|
63281
|
+
this.resetDetail();
|
|
63282
|
+
}
|
|
63283
|
+
}
|
|
63284
|
+
}
|
|
63285
|
+
}
|
|
63286
|
+
},
|
|
63287
|
+
methods: {
|
|
63288
|
+
resetDetail() {
|
|
63289
|
+
this.activeDocumentId = null;
|
|
63290
|
+
this.activeDocument = null;
|
|
63291
|
+
this.formJson = null;
|
|
63292
|
+
this.formData = {};
|
|
63293
|
+
this.showForm = false;
|
|
63294
|
+
this.detailLoading = false;
|
|
63295
|
+
},
|
|
63296
|
+
syncCheckedIds() {
|
|
63297
|
+
this.checkedIds = this.tableData.filter((item) => this.selectedRows.some((row) => row.id === item.id)).map((item) => item.id);
|
|
63298
|
+
},
|
|
63299
|
+
handleClose() {
|
|
63300
|
+
this.form = { title: "" };
|
|
63301
|
+
this.checkedIds = [];
|
|
63302
|
+
this.resetDetail();
|
|
63303
|
+
this.$emit("close");
|
|
63304
|
+
},
|
|
63305
|
+
handleConfirm() {
|
|
63306
|
+
if (!this.selectedRows.length) {
|
|
63307
|
+
this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u6761\u6536\u6587");
|
|
63308
|
+
return;
|
|
63309
|
+
}
|
|
63310
|
+
this.form = { title: "" };
|
|
63311
|
+
console.log(this.selectedRows, "this.selectedRows");
|
|
63312
|
+
this.$emit("confirm", lodash.exports.cloneDeep(this.selectedRows));
|
|
63313
|
+
},
|
|
63314
|
+
handleCheckedChange(checkedIds) {
|
|
63315
|
+
if (this._handlingCheckedChange)
|
|
63316
|
+
return;
|
|
63317
|
+
const currentPageIds = this.tableData.map((item) => item.id);
|
|
63318
|
+
const uncheckedIds = currentPageIds.filter((id) => !checkedIds.includes(id));
|
|
63319
|
+
const nextSelected = this.selectedRows.filter((row) => !uncheckedIds.includes(row.id));
|
|
63320
|
+
checkedIds.forEach((id) => {
|
|
63321
|
+
if (!nextSelected.some((row) => row.id === id)) {
|
|
63322
|
+
const item = this.tableData.find((row) => row.id === id);
|
|
63323
|
+
if (item) {
|
|
63324
|
+
nextSelected.push(item);
|
|
63325
|
+
}
|
|
63326
|
+
}
|
|
63327
|
+
});
|
|
63328
|
+
if (this.limit > 0 && nextSelected.length > this.limit) {
|
|
63329
|
+
this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u6761\u6536\u6587`);
|
|
63330
|
+
this._handlingCheckedChange = true;
|
|
63331
|
+
this.syncCheckedIds();
|
|
63332
|
+
this._handlingCheckedChange = false;
|
|
63333
|
+
return;
|
|
63334
|
+
}
|
|
63335
|
+
this.selectedRows = nextSelected;
|
|
63336
|
+
},
|
|
63337
|
+
getTableData() {
|
|
63338
|
+
service$1({
|
|
63339
|
+
method: "post",
|
|
63340
|
+
url: this.documentListUrl,
|
|
63341
|
+
data: {
|
|
63342
|
+
size: this.pageSize,
|
|
63343
|
+
current: this.currentPage,
|
|
63344
|
+
title: this.form.title,
|
|
63345
|
+
createdByCompanyId: "1933058214390362114",
|
|
63346
|
+
dataJson: {
|
|
63347
|
+
form_titleName: this.form.title
|
|
63348
|
+
},
|
|
63349
|
+
subCategoryCode: "1009",
|
|
63350
|
+
status: -1
|
|
63351
|
+
}
|
|
63352
|
+
}).then(({ data: data2 }) => {
|
|
63353
|
+
const { hits = [], totalHits = 0 } = data2 || {};
|
|
63354
|
+
this.tableData = hits;
|
|
63355
|
+
this.total = totalHits;
|
|
63356
|
+
this.syncCheckedIds();
|
|
63357
|
+
}).catch((err) => {
|
|
63358
|
+
console.error(err);
|
|
63359
|
+
this.tableData = [];
|
|
63360
|
+
this.total = 0;
|
|
63361
|
+
this.checkedIds = [];
|
|
63362
|
+
});
|
|
63363
|
+
},
|
|
63364
|
+
handleSizeChange(size) {
|
|
63365
|
+
this.pageSize = size;
|
|
63366
|
+
this.currentPage = 1;
|
|
63367
|
+
this.getTableData();
|
|
63368
|
+
},
|
|
63369
|
+
handleCurrentChange(page) {
|
|
63370
|
+
this.currentPage = page;
|
|
63371
|
+
this.getTableData();
|
|
63372
|
+
},
|
|
63373
|
+
handleSelectActive(item) {
|
|
63374
|
+
console.log(item, "item");
|
|
63375
|
+
if (!item)
|
|
63376
|
+
return;
|
|
63377
|
+
this.activeDocumentId = item.id;
|
|
63378
|
+
this.activeDocument = item;
|
|
63379
|
+
this.loadDocumentDetail(item);
|
|
63380
|
+
},
|
|
63381
|
+
resolveDocumentFormData(item) {
|
|
63382
|
+
if (!item || typeof item !== "object") {
|
|
63383
|
+
return {};
|
|
63384
|
+
}
|
|
63385
|
+
let formData = lodash.exports.cloneDeep(item);
|
|
63386
|
+
const { dataJson } = item;
|
|
63387
|
+
if (dataJson != null && dataJson !== "") {
|
|
63388
|
+
let parsed = dataJson;
|
|
63389
|
+
if (typeof parsed === "string") {
|
|
63390
|
+
try {
|
|
63391
|
+
parsed = JSON.parse(parsed);
|
|
63392
|
+
} catch {
|
|
63393
|
+
parsed = null;
|
|
63394
|
+
}
|
|
63395
|
+
}
|
|
63396
|
+
if (parsed && typeof parsed === "object") {
|
|
63397
|
+
formData = __spreadValues(__spreadValues({}, formData), parsed);
|
|
63398
|
+
}
|
|
63399
|
+
}
|
|
63400
|
+
return formData;
|
|
63401
|
+
},
|
|
63402
|
+
getFormConfigCode(item) {
|
|
63403
|
+
return (item == null ? void 0 : item.formCode) || (item == null ? void 0 : item.subCategoryCode) || this.documentTypeValue;
|
|
63404
|
+
},
|
|
63405
|
+
applyFormToRender(parsed, formData) {
|
|
63406
|
+
this.formJson = parsed;
|
|
63407
|
+
this.showForm = true;
|
|
63408
|
+
this.$nextTick(() => {
|
|
63409
|
+
const ref2 = this.$refs.detailFormRender;
|
|
63410
|
+
if (!ref2 || typeof ref2.setFormJson !== "function") {
|
|
63411
|
+
return;
|
|
63412
|
+
}
|
|
63413
|
+
ref2.setFormJson(lodash.exports.cloneDeep(parsed));
|
|
63414
|
+
this.$nextTick(() => {
|
|
63415
|
+
if (typeof ref2.setFormData === "function") {
|
|
63416
|
+
ref2.setFormData(lodash.exports.cloneDeep(formData));
|
|
63417
|
+
}
|
|
63418
|
+
this.syncFormDisabledStatus();
|
|
63419
|
+
});
|
|
63420
|
+
});
|
|
63421
|
+
},
|
|
63422
|
+
syncFormDisabledStatus() {
|
|
63423
|
+
const disable = () => {
|
|
63424
|
+
const ref2 = this.$refs.detailFormRender;
|
|
63425
|
+
if (ref2 && typeof ref2.disableForm === "function") {
|
|
63426
|
+
ref2.disableForm();
|
|
63427
|
+
}
|
|
63428
|
+
};
|
|
63429
|
+
this.$nextTick(disable);
|
|
63430
|
+
setTimeout(disable, 300);
|
|
63431
|
+
},
|
|
63432
|
+
async loadDocumentDetail(item) {
|
|
63433
|
+
const formConfigCode = this.getFormConfigCode(item);
|
|
63434
|
+
this.formData = this.resolveDocumentFormData(item);
|
|
63435
|
+
if (!formConfigCode) {
|
|
63436
|
+
this.showForm = false;
|
|
63437
|
+
this.formJson = null;
|
|
63438
|
+
return;
|
|
63439
|
+
}
|
|
63440
|
+
this.detailLoading = true;
|
|
63441
|
+
this.showForm = false;
|
|
63442
|
+
try {
|
|
63443
|
+
let parsed = this.formJsonCache[formConfigCode];
|
|
63444
|
+
if (!parsed) {
|
|
63445
|
+
const { data: data2 } = await service$1({
|
|
63446
|
+
method: "get",
|
|
63447
|
+
url: `/workflow-engine/businessFlowConfig/detailByCode/${item.subCategoryCode}`
|
|
63448
|
+
});
|
|
63449
|
+
if (data2 == null ? void 0 : data2.formJson) {
|
|
63450
|
+
parsed = typeof data2.formJson === "string" ? JSON.parse(data2.formJson) : data2.formJson;
|
|
63451
|
+
this.formJsonCache[formConfigCode] = parsed;
|
|
63452
|
+
}
|
|
63453
|
+
}
|
|
63454
|
+
if ((parsed == null ? void 0 : parsed.widgetList) && (parsed == null ? void 0 : parsed.formConfig)) {
|
|
63455
|
+
this.applyFormToRender(parsed, this.formData);
|
|
63456
|
+
} else {
|
|
63457
|
+
this.formJson = null;
|
|
63458
|
+
this.showForm = false;
|
|
63459
|
+
}
|
|
63460
|
+
} catch (err) {
|
|
63461
|
+
console.error(err);
|
|
63462
|
+
this.formJson = null;
|
|
63463
|
+
this.showForm = false;
|
|
63464
|
+
} finally {
|
|
63465
|
+
this.detailLoading = false;
|
|
63466
|
+
}
|
|
63467
|
+
},
|
|
63468
|
+
getDocumentTitle(item) {
|
|
63469
|
+
return (item == null ? void 0 : item.form_titleName) || (item == null ? void 0 : item.title) || (item == null ? void 0 : item.documentTitle) || "-";
|
|
63470
|
+
},
|
|
63471
|
+
handleSearch() {
|
|
63472
|
+
this.currentPage = 1;
|
|
63473
|
+
this.getTableData();
|
|
63474
|
+
}
|
|
63475
|
+
}
|
|
63476
|
+
};
|
|
63477
|
+
const _hoisted_1$a = { class: "document-body-wrap" };
|
|
63478
|
+
const _hoisted_2$8 = { class: "bottom-wrap" };
|
|
63479
|
+
const _hoisted_3$6 = { class: "left-wrap" };
|
|
63480
|
+
const _hoisted_4$5 = { class: "filter-wrap" };
|
|
63481
|
+
const _hoisted_5$3 = ["onClick"];
|
|
63482
|
+
const _hoisted_6$3 = {
|
|
63483
|
+
key: 0,
|
|
63484
|
+
class: "document-list-empty"
|
|
63485
|
+
};
|
|
63486
|
+
const _hoisted_7$3 = { class: "right-wrap" };
|
|
63487
|
+
const _hoisted_8$1 = { class: "detail-panel" };
|
|
63488
|
+
const _hoisted_9$1 = {
|
|
63489
|
+
key: 0,
|
|
63490
|
+
class: "detail-loading"
|
|
63491
|
+
};
|
|
63492
|
+
const _hoisted_10 = {
|
|
63493
|
+
key: 1,
|
|
63494
|
+
class: "detail-empty"
|
|
63495
|
+
};
|
|
63496
|
+
const _hoisted_11 = {
|
|
63497
|
+
key: 2,
|
|
63498
|
+
class: "detail-form"
|
|
63499
|
+
};
|
|
63500
|
+
const _hoisted_12 = {
|
|
63501
|
+
key: 3,
|
|
63502
|
+
class: "detail-empty"
|
|
63503
|
+
};
|
|
63504
|
+
const _hoisted_13 = { class: "dialog-footer" };
|
|
63505
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63506
|
+
const _component_el_input = resolveComponent("el-input");
|
|
63507
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
63508
|
+
const _component_el_form = resolveComponent("el-form");
|
|
63509
|
+
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
63510
|
+
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
63511
|
+
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
63512
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
63513
|
+
const _component_Loading = resolveComponent("Loading");
|
|
63514
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
63515
|
+
const _component_v_form_render = resolveComponent("v-form-render");
|
|
63516
|
+
const _component_el_button = resolveComponent("el-button");
|
|
63517
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
63518
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
63519
|
+
modelValue: $data.visible,
|
|
63520
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.visible = $event),
|
|
63521
|
+
title: "\u6536\u6587\u9009\u62E9",
|
|
63522
|
+
width: "1418px",
|
|
63523
|
+
onClose: $options.handleClose,
|
|
63524
|
+
"body-class": "document-list-dialog-body",
|
|
63525
|
+
"close-on-click-modal": false,
|
|
63526
|
+
draggable: "",
|
|
63527
|
+
"header-class": "document-list-dialog-header"
|
|
63528
|
+
}, {
|
|
63529
|
+
footer: withCtx(() => [
|
|
63530
|
+
createElementVNode("div", _hoisted_13, [
|
|
63531
|
+
createVNode(_component_el_button, {
|
|
63532
|
+
onClick: $options.handleClose,
|
|
63533
|
+
size: "default"
|
|
63534
|
+
}, {
|
|
63535
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
63536
|
+
createTextVNode("\u53D6\u6D88", -1)
|
|
63537
|
+
])]),
|
|
63538
|
+
_: 1
|
|
63539
|
+
}, 8, ["onClick"]),
|
|
63540
|
+
createVNode(_component_el_button, {
|
|
63541
|
+
type: "primary",
|
|
63542
|
+
onClick: $options.handleConfirm,
|
|
63543
|
+
size: "default"
|
|
63544
|
+
}, {
|
|
63545
|
+
default: withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
63546
|
+
createTextVNode("\u786E\u5B9A", -1)
|
|
63547
|
+
])]),
|
|
63548
|
+
_: 1
|
|
63549
|
+
}, 8, ["onClick"])
|
|
63550
|
+
])
|
|
63551
|
+
]),
|
|
63552
|
+
default: withCtx(() => [
|
|
63553
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
63554
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
63555
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
63556
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
63557
|
+
createVNode(_component_el_form, {
|
|
63558
|
+
model: $data.form,
|
|
63559
|
+
ref: "formRef",
|
|
63560
|
+
onSubmit: withModifiers($options.handleSearch, ["prevent"])
|
|
63561
|
+
}, {
|
|
63562
|
+
default: withCtx(() => [
|
|
63563
|
+
createVNode(_component_el_form_item, null, {
|
|
63564
|
+
default: withCtx(() => [
|
|
63565
|
+
createVNode(_component_el_input, {
|
|
63566
|
+
maxlength: "50",
|
|
63567
|
+
modelValue: $data.form.title,
|
|
63568
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.form.title = $event),
|
|
63569
|
+
placeholder: "\u8BF7\u8F93\u5165\u6536\u6587\u6807\u9898",
|
|
63570
|
+
clearable: "",
|
|
63571
|
+
onKeyup: withKeys($options.handleSearch, ["enter"])
|
|
63572
|
+
}, {
|
|
63573
|
+
prefix: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
63574
|
+
createElementVNode("span", null, "\u6536\u6587\u6807\u9898\uFF1A", -1)
|
|
63575
|
+
])]),
|
|
63576
|
+
_: 1
|
|
63577
|
+
}, 8, ["modelValue", "onKeyup"])
|
|
63578
|
+
]),
|
|
63579
|
+
_: 1
|
|
63580
|
+
})
|
|
63581
|
+
]),
|
|
63582
|
+
_: 1
|
|
63583
|
+
}, 8, ["model", "onSubmit"])
|
|
63584
|
+
]),
|
|
63585
|
+
createVNode(_component_el_scrollbar, { class: "document-list-scroll" }, {
|
|
63586
|
+
default: withCtx(() => [
|
|
63587
|
+
createVNode(_component_el_checkbox_group, {
|
|
63588
|
+
modelValue: $data.checkedIds,
|
|
63589
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.checkedIds = $event),
|
|
63590
|
+
class: "document-checkbox-group",
|
|
63591
|
+
onChange: $options.handleCheckedChange
|
|
63592
|
+
}, {
|
|
63593
|
+
default: withCtx(() => [
|
|
63594
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.tableData, (item) => {
|
|
63595
|
+
return openBlock(), createElementBlock("div", {
|
|
63596
|
+
key: item.id,
|
|
63597
|
+
class: normalizeClass(["document-checkbox-item", { active: $data.activeDocumentId === item.id }])
|
|
63598
|
+
}, [
|
|
63599
|
+
createVNode(_component_el_checkbox, {
|
|
63600
|
+
label: item.id
|
|
63601
|
+
}, {
|
|
63602
|
+
default: withCtx(() => [
|
|
63603
|
+
createElementVNode("span", {
|
|
63604
|
+
class: "document-checkbox-item__title",
|
|
63605
|
+
onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
63606
|
+
}, ["stop", "prevent"])),
|
|
63607
|
+
onClick: withModifiers(($event) => $options.handleSelectActive(item), ["stop", "prevent"])
|
|
63608
|
+
}, toDisplayString($options.getDocumentTitle(item)), 41, _hoisted_5$3)
|
|
63609
|
+
]),
|
|
63610
|
+
_: 2
|
|
63611
|
+
}, 1032, ["label"])
|
|
63612
|
+
], 2);
|
|
63613
|
+
}), 128)),
|
|
63614
|
+
$data.tableData.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$3, "\u6682\u65E0\u6536\u6587\u6570\u636E")) : createCommentVNode("", true)
|
|
63615
|
+
]),
|
|
63616
|
+
_: 1
|
|
63617
|
+
}, 8, ["modelValue", "onChange"])
|
|
63618
|
+
]),
|
|
63619
|
+
_: 1
|
|
63620
|
+
}),
|
|
63621
|
+
createVNode(_component_el_pagination, {
|
|
63622
|
+
onSizeChange: $options.handleSizeChange,
|
|
63623
|
+
onCurrentChange: $options.handleCurrentChange,
|
|
63624
|
+
"current-page": $data.currentPage,
|
|
63625
|
+
"page-size": $data.pageSize,
|
|
63626
|
+
layout: "total, prev, pager, next",
|
|
63627
|
+
size: "small",
|
|
63628
|
+
total: $data.total
|
|
63629
|
+
}, null, 8, ["onSizeChange", "onCurrentChange", "current-page", "page-size", "total"])
|
|
63630
|
+
]),
|
|
63631
|
+
createElementVNode("div", _hoisted_7$3, [
|
|
63632
|
+
createElementVNode("div", _hoisted_8$1, [
|
|
63633
|
+
_cache[6] || (_cache[6] = createElementVNode("div", { class: "detail-panel__title" }, "\u6536\u6587\u8BE6\u60C5", -1)),
|
|
63634
|
+
createVNode(_component_el_scrollbar, { class: "detail-panel__scroll" }, {
|
|
63635
|
+
default: withCtx(() => [
|
|
63636
|
+
$data.detailLoading ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
63637
|
+
createVNode(_component_el_icon, { class: "is-loading" }, {
|
|
63638
|
+
default: withCtx(() => [
|
|
63639
|
+
createVNode(_component_Loading)
|
|
63640
|
+
]),
|
|
63641
|
+
_: 1
|
|
63642
|
+
}),
|
|
63643
|
+
_cache[5] || (_cache[5] = createElementVNode("span", null, "\u52A0\u8F7D\u4E2D...", -1))
|
|
63644
|
+
])) : !$data.activeDocument ? (openBlock(), createElementBlock("div", _hoisted_10, "\u8BF7\u9009\u62E9\u6536\u6587\u67E5\u770B\u8BE6\u60C5")) : $data.showForm ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
63645
|
+
createVNode(_component_v_form_render, {
|
|
63646
|
+
ref: "detailFormRender",
|
|
63647
|
+
"form-json": $options.renderFormJson,
|
|
63648
|
+
"form-data": $data.formData,
|
|
63649
|
+
"preview-state": true
|
|
63650
|
+
}, null, 8, ["form-json", "form-data"])
|
|
63651
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_12, "\u672A\u627E\u5230\u8868\u5355\u914D\u7F6E"))
|
|
63652
|
+
]),
|
|
63653
|
+
_: 1
|
|
63654
|
+
})
|
|
63655
|
+
])
|
|
63656
|
+
])
|
|
63657
|
+
])
|
|
63658
|
+
])
|
|
63659
|
+
]),
|
|
63660
|
+
_: 1
|
|
63661
|
+
}, 8, ["modelValue", "onClose"]);
|
|
63662
|
+
}
|
|
63663
|
+
var DocumentDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-ed9e5e3e"]]);
|
|
63664
|
+
var documentDetailDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
63665
|
+
var documentDetailDialog_vue_vue_type_style_index_1_lang = "";
|
|
63666
|
+
const DEFAULT_FORM_JSON = {
|
|
63667
|
+
widgetList: [],
|
|
63668
|
+
formConfig: {
|
|
63669
|
+
modelName: "formData",
|
|
63670
|
+
refName: "vForm",
|
|
63671
|
+
rulesName: "rules",
|
|
63672
|
+
labelWidth: 80,
|
|
63673
|
+
labelPosition: "left",
|
|
63674
|
+
size: "",
|
|
63675
|
+
labelAlign: "label-left-align",
|
|
63676
|
+
cssCode: "",
|
|
63677
|
+
customClass: [],
|
|
63678
|
+
functions: "",
|
|
63679
|
+
layoutType: "PC",
|
|
63680
|
+
jsonVersion: 3,
|
|
63681
|
+
onFormCreated: "",
|
|
63682
|
+
onFormMounted: "",
|
|
63683
|
+
onFormDataChange: "",
|
|
63684
|
+
onFormValidate: "",
|
|
63685
|
+
onFormValidateSuccess: ""
|
|
63686
|
+
}
|
|
63687
|
+
};
|
|
63688
|
+
const _sfc_main$b = {
|
|
63689
|
+
name: "document-detail-dialog",
|
|
63690
|
+
components: {
|
|
63691
|
+
VFormRender
|
|
63692
|
+
},
|
|
63693
|
+
props: {
|
|
63694
|
+
dialogVisible: {
|
|
63695
|
+
type: Boolean,
|
|
63696
|
+
default: false
|
|
63697
|
+
},
|
|
63698
|
+
document: {
|
|
63699
|
+
type: Object,
|
|
63700
|
+
default: null
|
|
63701
|
+
},
|
|
63702
|
+
documentTypeValue: {
|
|
63703
|
+
type: String,
|
|
63704
|
+
default: ""
|
|
63705
|
+
}
|
|
63706
|
+
},
|
|
63707
|
+
data() {
|
|
63708
|
+
return {
|
|
63709
|
+
visible: false,
|
|
63710
|
+
formJson: null,
|
|
63711
|
+
formData: {},
|
|
63712
|
+
showForm: false,
|
|
63713
|
+
detailLoading: false,
|
|
63714
|
+
formJsonCache: {}
|
|
63715
|
+
};
|
|
63716
|
+
},
|
|
63717
|
+
computed: {
|
|
63718
|
+
renderFormJson() {
|
|
63719
|
+
return this.formJson || DEFAULT_FORM_JSON;
|
|
63720
|
+
}
|
|
63721
|
+
},
|
|
63722
|
+
watch: {
|
|
63723
|
+
dialogVisible: {
|
|
63724
|
+
handler(newVal) {
|
|
63725
|
+
this.visible = newVal;
|
|
63726
|
+
if (newVal && this.document) {
|
|
63727
|
+
this.loadDocumentDetail(this.document);
|
|
63728
|
+
} else if (!newVal) {
|
|
63729
|
+
this.resetDetail();
|
|
63730
|
+
}
|
|
63731
|
+
}
|
|
63732
|
+
}
|
|
63733
|
+
},
|
|
63734
|
+
methods: {
|
|
63735
|
+
resetDetail() {
|
|
63736
|
+
this.formJson = null;
|
|
63737
|
+
this.formData = {};
|
|
63738
|
+
this.showForm = false;
|
|
63739
|
+
this.detailLoading = false;
|
|
63740
|
+
},
|
|
63741
|
+
handleClose() {
|
|
63742
|
+
this.resetDetail();
|
|
63743
|
+
this.$emit("close");
|
|
63744
|
+
},
|
|
63745
|
+
resolveDocumentFormData(item) {
|
|
63746
|
+
if (!item || typeof item !== "object") {
|
|
63747
|
+
return {};
|
|
63748
|
+
}
|
|
63749
|
+
let formData = lodash.exports.cloneDeep(item);
|
|
63750
|
+
const { dataJson } = item;
|
|
63751
|
+
if (dataJson != null && dataJson !== "") {
|
|
63752
|
+
let parsed = dataJson;
|
|
63753
|
+
if (typeof parsed === "string") {
|
|
63754
|
+
try {
|
|
63755
|
+
parsed = JSON.parse(parsed);
|
|
63756
|
+
} catch {
|
|
63757
|
+
parsed = null;
|
|
63758
|
+
}
|
|
63759
|
+
}
|
|
63760
|
+
if (parsed && typeof parsed === "object") {
|
|
63761
|
+
formData = __spreadValues(__spreadValues({}, formData), parsed);
|
|
63762
|
+
}
|
|
63763
|
+
}
|
|
63764
|
+
return formData;
|
|
63765
|
+
},
|
|
63766
|
+
getFormConfigCode(item) {
|
|
63767
|
+
return (item == null ? void 0 : item.subCategoryCode) || (item == null ? void 0 : item.formCode) || this.documentTypeValue;
|
|
63768
|
+
},
|
|
63769
|
+
applyFormToRender(parsed, formData) {
|
|
63770
|
+
this.formJson = parsed;
|
|
63771
|
+
this.showForm = true;
|
|
63772
|
+
this.$nextTick(() => {
|
|
63773
|
+
const ref2 = this.$refs.detailFormRender;
|
|
63774
|
+
if (!ref2 || typeof ref2.setFormJson !== "function") {
|
|
63775
|
+
return;
|
|
63776
|
+
}
|
|
63777
|
+
ref2.setFormJson(lodash.exports.cloneDeep(parsed));
|
|
63778
|
+
this.$nextTick(() => {
|
|
63779
|
+
if (typeof ref2.setFormData === "function") {
|
|
63780
|
+
ref2.setFormData(lodash.exports.cloneDeep(formData));
|
|
63781
|
+
}
|
|
63782
|
+
this.syncFormDisabledStatus();
|
|
63783
|
+
});
|
|
63784
|
+
});
|
|
63785
|
+
},
|
|
63786
|
+
syncFormDisabledStatus() {
|
|
63787
|
+
const disable = () => {
|
|
63788
|
+
const ref2 = this.$refs.detailFormRender;
|
|
63789
|
+
if (ref2 && typeof ref2.disableForm === "function") {
|
|
63790
|
+
ref2.disableForm();
|
|
63791
|
+
}
|
|
63792
|
+
};
|
|
63793
|
+
this.$nextTick(disable);
|
|
63794
|
+
setTimeout(disable, 300);
|
|
63795
|
+
},
|
|
63796
|
+
async loadDocumentDetail(item) {
|
|
63797
|
+
const formConfigCode = this.getFormConfigCode(item);
|
|
63798
|
+
this.formData = this.resolveDocumentFormData(item);
|
|
63799
|
+
if (!formConfigCode) {
|
|
63800
|
+
this.showForm = false;
|
|
63801
|
+
this.formJson = null;
|
|
63802
|
+
return;
|
|
63803
|
+
}
|
|
63804
|
+
this.detailLoading = true;
|
|
63805
|
+
this.showForm = false;
|
|
63806
|
+
try {
|
|
63807
|
+
let parsed = this.formJsonCache[formConfigCode];
|
|
63808
|
+
if (!parsed) {
|
|
63809
|
+
const { data: data2 } = await service$1({
|
|
63810
|
+
method: "get",
|
|
63811
|
+
url: `/workflow-engine/businessFlowConfig/detailByCode/${formConfigCode}`
|
|
63812
|
+
});
|
|
63813
|
+
if (data2 == null ? void 0 : data2.formJson) {
|
|
63814
|
+
parsed = typeof data2.formJson === "string" ? JSON.parse(data2.formJson) : data2.formJson;
|
|
63815
|
+
this.formJsonCache[formConfigCode] = parsed;
|
|
63816
|
+
}
|
|
63817
|
+
}
|
|
63818
|
+
if ((parsed == null ? void 0 : parsed.widgetList) && (parsed == null ? void 0 : parsed.formConfig)) {
|
|
63819
|
+
this.applyFormToRender(parsed, this.formData);
|
|
63820
|
+
} else {
|
|
63821
|
+
this.formJson = null;
|
|
63822
|
+
this.showForm = false;
|
|
63823
|
+
}
|
|
63824
|
+
} catch (err) {
|
|
63825
|
+
console.error(err);
|
|
63826
|
+
this.formJson = null;
|
|
63827
|
+
this.showForm = false;
|
|
63828
|
+
} finally {
|
|
63829
|
+
this.detailLoading = false;
|
|
63830
|
+
}
|
|
63831
|
+
}
|
|
63832
|
+
}
|
|
63833
|
+
};
|
|
63834
|
+
const _hoisted_1$9 = {
|
|
63835
|
+
key: 0,
|
|
63836
|
+
class: "detail-loading"
|
|
63837
|
+
};
|
|
63838
|
+
const _hoisted_2$7 = {
|
|
63839
|
+
key: 1,
|
|
63840
|
+
class: "detail-form"
|
|
63841
|
+
};
|
|
63842
|
+
const _hoisted_3$5 = {
|
|
63843
|
+
key: 2,
|
|
63844
|
+
class: "detail-empty"
|
|
63845
|
+
};
|
|
63846
|
+
const _hoisted_4$4 = { class: "dialog-footer" };
|
|
63847
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63848
|
+
const _component_Loading = resolveComponent("Loading");
|
|
63849
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
63850
|
+
const _component_v_form_render = resolveComponent("v-form-render");
|
|
63851
|
+
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
63852
|
+
const _component_el_button = resolveComponent("el-button");
|
|
63853
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
63854
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
63855
|
+
modelValue: $data.visible,
|
|
63856
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.visible = $event),
|
|
63857
|
+
title: "\u6536\u6587\u8BE6\u60C5",
|
|
63858
|
+
width: "900px",
|
|
63859
|
+
onClose: $options.handleClose,
|
|
63860
|
+
"close-on-click-modal": false,
|
|
63861
|
+
"append-to-body": "",
|
|
63862
|
+
draggable: "",
|
|
63863
|
+
"body-class": "document-detail-dialog-body"
|
|
63864
|
+
}, {
|
|
63865
|
+
footer: withCtx(() => [
|
|
63866
|
+
createElementVNode("div", _hoisted_4$4, [
|
|
63867
|
+
createVNode(_component_el_button, {
|
|
63868
|
+
onClick: $options.handleClose,
|
|
63869
|
+
size: "default"
|
|
63870
|
+
}, {
|
|
63871
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
63872
|
+
createTextVNode("\u5173\u95ED", -1)
|
|
63873
|
+
])]),
|
|
63874
|
+
_: 1
|
|
63875
|
+
}, 8, ["onClick"])
|
|
63876
|
+
])
|
|
63877
|
+
]),
|
|
63878
|
+
default: withCtx(() => [
|
|
63879
|
+
createVNode(_component_el_scrollbar, { class: "detail-panel__scroll" }, {
|
|
63880
|
+
default: withCtx(() => [
|
|
63881
|
+
$data.detailLoading ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
63882
|
+
createVNode(_component_el_icon, { class: "is-loading" }, {
|
|
63883
|
+
default: withCtx(() => [
|
|
63884
|
+
createVNode(_component_Loading)
|
|
63885
|
+
]),
|
|
63886
|
+
_: 1
|
|
63887
|
+
}),
|
|
63888
|
+
_cache[1] || (_cache[1] = createElementVNode("span", null, "\u52A0\u8F7D\u4E2D...", -1))
|
|
63889
|
+
])) : $data.showForm ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
63890
|
+
createVNode(_component_v_form_render, {
|
|
63891
|
+
ref: "detailFormRender",
|
|
63892
|
+
"form-json": $options.renderFormJson,
|
|
63893
|
+
"form-data": $data.formData,
|
|
63894
|
+
"preview-state": true
|
|
63895
|
+
}, null, 8, ["form-json", "form-data"])
|
|
63896
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$5, "\u672A\u627E\u5230\u8868\u5355\u914D\u7F6E"))
|
|
63897
|
+
]),
|
|
63898
|
+
_: 1
|
|
63899
|
+
})
|
|
63900
|
+
]),
|
|
63901
|
+
_: 1
|
|
63902
|
+
}, 8, ["modelValue", "onClose"]);
|
|
63903
|
+
}
|
|
63904
|
+
var DocumentDetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-6eaf8455"]]);
|
|
63905
|
+
var index_vue_vue_type_style_index_0_lang$1 = "";
|
|
63906
|
+
const _sfc_main$a = {
|
|
63907
|
+
name: "document-select-widget",
|
|
63908
|
+
componentName: "FieldWidget",
|
|
63909
|
+
mixins: [emitter, fieldMixin, i18n$1],
|
|
63910
|
+
props: {
|
|
63911
|
+
field: {
|
|
63912
|
+
type: Object,
|
|
63913
|
+
default: () => ({})
|
|
63914
|
+
},
|
|
63915
|
+
parentWidget: Object,
|
|
63916
|
+
parentList: Array,
|
|
63917
|
+
indexOfParentList: Number,
|
|
63918
|
+
designer: Object,
|
|
63919
|
+
designState: {
|
|
63920
|
+
type: Boolean,
|
|
63921
|
+
default: false
|
|
63922
|
+
},
|
|
63923
|
+
subFormRowIndex: {
|
|
63924
|
+
type: Number,
|
|
63925
|
+
default: -1
|
|
63926
|
+
},
|
|
63927
|
+
subFormColIndex: {
|
|
63928
|
+
type: Number,
|
|
63929
|
+
default: -1
|
|
63930
|
+
},
|
|
63931
|
+
subFormRowId: {
|
|
63932
|
+
type: String,
|
|
63933
|
+
default: ""
|
|
63934
|
+
}
|
|
63935
|
+
},
|
|
63936
|
+
components: {
|
|
63937
|
+
FormItemWrapper,
|
|
63938
|
+
DocumentDialog,
|
|
63939
|
+
DocumentDetailDialog
|
|
63940
|
+
},
|
|
63941
|
+
data() {
|
|
63942
|
+
return {
|
|
63943
|
+
dialogVisible: false,
|
|
63944
|
+
detailDialogVisible: false,
|
|
63945
|
+
currentDetailDocument: null,
|
|
63946
|
+
fieldModel: null,
|
|
63947
|
+
oldFieldValue: null,
|
|
63948
|
+
rules: []
|
|
63949
|
+
};
|
|
63950
|
+
},
|
|
63951
|
+
computed: {
|
|
63952
|
+
isDisabled() {
|
|
63953
|
+
var _a, _b;
|
|
63954
|
+
return !!((_b = (_a = this.field) == null ? void 0 : _a.options) == null ? void 0 : _b.disabled);
|
|
63955
|
+
},
|
|
63956
|
+
selectedList() {
|
|
63957
|
+
if (Array.isArray(this.fieldModel)) {
|
|
63958
|
+
return this.fieldModel;
|
|
63959
|
+
}
|
|
63960
|
+
return this.fieldModel ? [this.fieldModel] : [];
|
|
63961
|
+
},
|
|
63962
|
+
widgetStyle() {
|
|
63963
|
+
return {
|
|
63964
|
+
width: "100%"
|
|
63965
|
+
};
|
|
63966
|
+
}
|
|
63967
|
+
},
|
|
63968
|
+
watch: {
|
|
63969
|
+
"field.options.required"() {
|
|
63970
|
+
this.buildFieldRules();
|
|
63971
|
+
},
|
|
63972
|
+
"field.options.validation"() {
|
|
63973
|
+
this.buildFieldRules();
|
|
63974
|
+
},
|
|
63975
|
+
"field.options.onValidate"() {
|
|
63976
|
+
this.buildFieldRules();
|
|
63977
|
+
}
|
|
63978
|
+
},
|
|
63979
|
+
created() {
|
|
63980
|
+
this.initFieldModel();
|
|
63981
|
+
this.registerToRefList();
|
|
63982
|
+
this.initEventHandler();
|
|
63983
|
+
this.buildFieldRules();
|
|
63984
|
+
this.handleOnCreated();
|
|
63985
|
+
},
|
|
63986
|
+
mounted() {
|
|
63987
|
+
this.handleOnMounted();
|
|
63988
|
+
},
|
|
63989
|
+
beforeUnmount() {
|
|
63990
|
+
this.unregisterFromRefList();
|
|
63991
|
+
},
|
|
63992
|
+
methods: {
|
|
63993
|
+
getDocumentKey(item) {
|
|
63994
|
+
var _a, _b;
|
|
63995
|
+
return (_b = (_a = item == null ? void 0 : item.id) != null ? _a : item == null ? void 0 : item.documentId) != null ? _b : item == null ? void 0 : item.form_titleName;
|
|
63996
|
+
},
|
|
63997
|
+
getDocumentTitle(item) {
|
|
63998
|
+
return (item == null ? void 0 : item.form_titleName) || (item == null ? void 0 : item.title) || (item == null ? void 0 : item.documentTitle) || "-";
|
|
63999
|
+
},
|
|
64000
|
+
handleClick() {
|
|
64001
|
+
this.dialogVisible = true;
|
|
64002
|
+
},
|
|
64003
|
+
handleViewDetail(item) {
|
|
64004
|
+
this.currentDetailDocument = item;
|
|
64005
|
+
this.detailDialogVisible = true;
|
|
64006
|
+
},
|
|
64007
|
+
handleDetailClose() {
|
|
64008
|
+
this.detailDialogVisible = false;
|
|
64009
|
+
this.currentDetailDocument = null;
|
|
64010
|
+
},
|
|
64011
|
+
handleConfirm(selectedRows) {
|
|
64012
|
+
this.dialogVisible = false;
|
|
64013
|
+
this.oldFieldValue = this.fieldModel ? deepClone(this.fieldModel) : null;
|
|
64014
|
+
this.fieldModel = selectedRows;
|
|
64015
|
+
this.syncUpdateFormModel(this.fieldModel);
|
|
64016
|
+
this.emitFieldDataChange(this.fieldModel, this.oldFieldValue);
|
|
64017
|
+
this.triggerEvent("onConfirm", selectedRows);
|
|
64018
|
+
this.$nextTick(() => {
|
|
64019
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
64020
|
+
});
|
|
64021
|
+
},
|
|
64022
|
+
handleCancel() {
|
|
64023
|
+
this.triggerEvent("onCancel");
|
|
64024
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
64025
|
+
},
|
|
64026
|
+
handleClose() {
|
|
64027
|
+
this.dialogVisible = false;
|
|
64028
|
+
this.triggerEvent("onClose");
|
|
64029
|
+
this.dispatch("VFormRender", "fieldValidation", [this.getPropName()]);
|
|
64030
|
+
},
|
|
64031
|
+
triggerEvent(eventName, ...args) {
|
|
64032
|
+
var _a, _b;
|
|
64033
|
+
const handler = (_b = (_a = this.field) == null ? void 0 : _a.options) == null ? void 0 : _b[eventName];
|
|
64034
|
+
if (handler) {
|
|
64035
|
+
try {
|
|
64036
|
+
if (eventName === "onConfirm" && args.length > 0) {
|
|
64037
|
+
const nodes = args[0];
|
|
64038
|
+
const fn = new Function("checkedNodes", "selectedNodes", "selectedValue", handler);
|
|
64039
|
+
fn.call(this, nodes, nodes, nodes);
|
|
64040
|
+
} else if (args.length > 0) {
|
|
64041
|
+
const paramNames = args.map((_, index2) => `arg${index2}`).join(", ");
|
|
64042
|
+
const fn = new Function(paramNames, handler);
|
|
64043
|
+
fn.apply(this, args);
|
|
64044
|
+
} else {
|
|
64045
|
+
const fn = new Function(handler);
|
|
64046
|
+
fn.call(this);
|
|
64047
|
+
}
|
|
64048
|
+
} catch (error) {
|
|
64049
|
+
console.error(`Error executing ${eventName} handler:`, error);
|
|
64050
|
+
}
|
|
64051
|
+
}
|
|
64052
|
+
}
|
|
64053
|
+
}
|
|
64054
|
+
};
|
|
64055
|
+
const _hoisted_1$8 = {
|
|
64056
|
+
key: 0,
|
|
64057
|
+
class: "document-selected-list"
|
|
64058
|
+
};
|
|
64059
|
+
const _hoisted_2$6 = ["onClick"];
|
|
64060
|
+
const _hoisted_3$4 = {
|
|
64061
|
+
key: 1,
|
|
64062
|
+
class: "document-selected-empty"
|
|
64063
|
+
};
|
|
64064
|
+
const _hoisted_4$3 = {
|
|
64065
|
+
key: 1,
|
|
64066
|
+
class: "document-select-widget__trigger"
|
|
64067
|
+
};
|
|
64068
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
64069
|
+
const _component_el_button = resolveComponent("el-button");
|
|
64070
|
+
const _component_document_dialog = resolveComponent("document-dialog");
|
|
64071
|
+
const _component_document_detail_dialog = resolveComponent("document-detail-dialog");
|
|
64072
|
+
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
64073
|
+
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
64074
|
+
designer: $props.designer,
|
|
64075
|
+
field: $props.field,
|
|
64076
|
+
rules: $data.rules,
|
|
64077
|
+
"design-state": $props.designState,
|
|
64078
|
+
"parent-widget": $props.parentWidget,
|
|
64079
|
+
"parent-list": $props.parentList,
|
|
64080
|
+
"index-of-parent-list": $props.indexOfParentList,
|
|
64081
|
+
"sub-form-row-index": $props.subFormRowIndex,
|
|
64082
|
+
"sub-form-col-index": $props.subFormColIndex,
|
|
64083
|
+
"sub-form-row-id": $props.subFormRowId
|
|
64084
|
+
}, {
|
|
64085
|
+
default: withCtx(() => [
|
|
64086
|
+
createElementVNode("div", {
|
|
64087
|
+
class: "document-select-widget",
|
|
64088
|
+
style: normalizeStyle($options.widgetStyle)
|
|
64089
|
+
}, [
|
|
64090
|
+
$options.isDisabled ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
64091
|
+
$options.selectedList.length ? (openBlock(), createElementBlock("ul", _hoisted_1$8, [
|
|
64092
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.selectedList, (item) => {
|
|
64093
|
+
return openBlock(), createElementBlock("li", {
|
|
64094
|
+
key: $options.getDocumentKey(item),
|
|
64095
|
+
class: "document-selected-item",
|
|
64096
|
+
onClick: ($event) => $options.handleViewDetail(item)
|
|
64097
|
+
}, toDisplayString($options.getDocumentTitle(item)), 9, _hoisted_2$6);
|
|
64098
|
+
}), 128))
|
|
64099
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$4, "\u6682\u65E0\u5173\u8054\u516C\u6587"))
|
|
64100
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
64101
|
+
createVNode(_component_el_button, {
|
|
64102
|
+
type: "primary",
|
|
64103
|
+
class: "document-select-widget__button",
|
|
64104
|
+
plain: "",
|
|
64105
|
+
placeholder: "\u8BF7\u9009\u62E9\u5173\u8054\u6536\u6587",
|
|
64106
|
+
onClick: $options.handleClick,
|
|
64107
|
+
ref: "inputTagRef"
|
|
64108
|
+
}, {
|
|
64109
|
+
default: withCtx(() => [
|
|
64110
|
+
createTextVNode(toDisplayString($props.field.options.buttonText || "\u9009\u62E9\u6587\u6863"), 1)
|
|
64111
|
+
]),
|
|
64112
|
+
_: 1
|
|
64113
|
+
}, 8, ["onClick"])
|
|
64114
|
+
])),
|
|
64115
|
+
createVNode(_component_document_dialog, {
|
|
64116
|
+
"dialog-visible": $data.dialogVisible,
|
|
64117
|
+
onClose: $options.handleClose,
|
|
64118
|
+
onConfirm: $options.handleConfirm,
|
|
64119
|
+
onCancel: $options.handleCancel,
|
|
64120
|
+
limit: $props.field.options.documentLimit,
|
|
64121
|
+
"field-value": $data.fieldModel,
|
|
64122
|
+
"document-type-value": $props.field.options.documentTypeValue,
|
|
64123
|
+
"document-list-url": $props.field.options.documentListUrl
|
|
64124
|
+
}, null, 8, ["dialog-visible", "onClose", "onConfirm", "onCancel", "limit", "field-value", "document-type-value", "document-list-url"]),
|
|
64125
|
+
createVNode(_component_document_detail_dialog, {
|
|
64126
|
+
"dialog-visible": $data.detailDialogVisible,
|
|
64127
|
+
document: $data.currentDetailDocument,
|
|
64128
|
+
"document-type-value": $props.field.options.documentTypeValue,
|
|
64129
|
+
onClose: $options.handleDetailClose
|
|
64130
|
+
}, null, 8, ["dialog-visible", "document", "document-type-value", "onClose"])
|
|
64131
|
+
], 4)
|
|
64132
|
+
]),
|
|
64133
|
+
_: 1
|
|
64134
|
+
}, 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"]);
|
|
64135
|
+
}
|
|
64136
|
+
var DocumentSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["render", _sfc_render$a]]);
|
|
63183
64137
|
const DEFAULT_DICT_API = "/unified-dict/sysItemDict/page";
|
|
63184
64138
|
const DEFAULT_DICT_PARAMS = { current: 1, size: 1e4 };
|
|
63185
64139
|
function normalizeDictRecords(records) {
|
|
@@ -65903,6 +66857,14 @@ const loadExtension = function(app) {
|
|
|
65903
66857
|
registerCPEditor(app, "asset-select-typeJson", "asset-select-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetSelectTypeJson", { rows: 4 }));
|
|
65904
66858
|
registerCPEditor(app, "asset-select-assetTypeValue", "asset-select-assetTypeValue-editor", createInputTextEditor("assetTypeValue", "extension.setting.assetSelectAssetTypeValue"));
|
|
65905
66859
|
registerCPEditor(app, "asset-select-assetLimit", "asset-select-assetLimit-editor", createInputNumberEditor("assetLimit", "extension.setting.assetSelectAssetLimit"));
|
|
66860
|
+
app.component(DocumentSelectWidget.name, DocumentSelectWidget);
|
|
66861
|
+
registerCPEditor(app, "document-select-buttonText", "document-select-buttonText-editor", createInputTextEditor("buttonText", "extension.setting.documentSelectButtonText"));
|
|
66862
|
+
registerCPEditor(app, "document-select-documentTypeValue", "document-select-documentTypeValue-editor", createInputTextEditor("documentTypeValue", "extension.setting.documentSelectDocumentTypeValue"));
|
|
66863
|
+
registerCPEditor(app, "document-select-documentLimit", "document-select-documentLimit-editor", createInputNumberEditor("documentLimit", "extension.setting.documentSelectDocumentLimit"));
|
|
66864
|
+
registerCPEditor(app, "document-select-documentListUrl", "document-select-documentListUrl-editor", createInputTextEditor("documentListUrl", "extension.setting.documentSelectDocumentListUrl"));
|
|
66865
|
+
registerEPEditor(app, "document-select-onConfirm", "document-select-onConfirm-editor", createEventHandlerEditor("onConfirm", ["checkedNodes"]));
|
|
66866
|
+
registerEPEditor(app, "document-select-onCancel", "document-select-onCancel-editor", createEventHandlerEditor("onCancel", []));
|
|
66867
|
+
registerEPEditor(app, "document-select-onClose", "document-select-onClose-editor", createEventHandlerEditor("onClose", []));
|
|
65906
66868
|
app.component(DictSelectWidget.name, DictSelectWidget);
|
|
65907
66869
|
registerCPEditor(app, "dict-select-dictCode", "dict-select-dictCode-editor", DictSelectDictCodeEditor);
|
|
65908
66870
|
registerCPEditor(app, "dict-select-type", "dict-select-type-editor", createSelectEditor("type", "extension.setting.dictSelectType", {
|