form-custom-test 3.0.212 → 3.0.214
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 +1619 -1107
- package/dist/designer.style.css +2 -2
- package/dist/designer.umd.js +147 -147
- package/dist/render.es.js +898 -466
- package/dist/render.style.css +2 -2
- package/dist/render.umd.js +73 -73
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -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$1i = {
|
|
1164
1164
|
name: "container-item-wrapper",
|
|
1165
1165
|
props: {
|
|
1166
1166
|
widget: Object
|
|
@@ -1174,14 +1174,14 @@ const _sfc_main$1g = {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
|
-
function _sfc_render$
|
|
1177
|
+
function _sfc_render$1i(_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$1i, [["render", _sfc_render$1i]]);
|
|
1185
1185
|
var __glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1186
1186
|
__proto__: null,
|
|
1187
1187
|
"default": ContainerItemWrapper
|
|
@@ -1412,6 +1412,7 @@ var enLocale = {
|
|
|
1412
1412
|
validation: "Validation",
|
|
1413
1413
|
validationHelp: "Regular expressions supported",
|
|
1414
1414
|
validationHint: "Validation Hint",
|
|
1415
|
+
fetchApi: "Fetch Api",
|
|
1415
1416
|
readonly: "Readonly",
|
|
1416
1417
|
disabled: "Disabled",
|
|
1417
1418
|
hidden: "Hidden",
|
|
@@ -1747,6 +1748,7 @@ var zhLocale = {
|
|
|
1747
1748
|
validation: "\u5B57\u6BB5\u6821\u9A8C",
|
|
1748
1749
|
validationHelp: "\u652F\u6301\u8F93\u5165\u6B63\u5219\u8868\u8FBE\u5F0F",
|
|
1749
1750
|
validationHint: "\u6821\u9A8C\u5931\u8D25\u63D0\u793A",
|
|
1751
|
+
fetchApi: "\u4E0B\u62C9\u6570\u636E\u83B7\u53D6",
|
|
1750
1752
|
readonly: "\u53EA\u8BFB",
|
|
1751
1753
|
disabled: "\u7981\u7528",
|
|
1752
1754
|
hidden: "\u9690\u85CF",
|
|
@@ -1963,6 +1965,7 @@ var enLocale_extension = {
|
|
|
1963
1965
|
alert: "Alert",
|
|
1964
1966
|
"person-tree": "Person Tree",
|
|
1965
1967
|
"asset-select": "Asset Select",
|
|
1968
|
+
"dict-select": "Dict Select",
|
|
1966
1969
|
"radio-other": "Radio (Other)",
|
|
1967
1970
|
"select-other": "Select (Other)",
|
|
1968
1971
|
"custom-sub-form": "Custom Sub Form",
|
|
@@ -2012,6 +2015,11 @@ var enLocale_extension = {
|
|
|
2012
2015
|
assetSelectAssetTypeValue: "Asset Type Value",
|
|
2013
2016
|
assetTypeAssetTypeValue: "Asset Type",
|
|
2014
2017
|
assetLimit: "Asset Limit",
|
|
2018
|
+
dictSelectDictCode: "Dict Type",
|
|
2019
|
+
dictSelectDictCodePlaceholder: "Select dict type",
|
|
2020
|
+
dictSelectDictCodeHint: "Select a categorized dict from cache; options load automatically",
|
|
2021
|
+
dictSelectOptionCount: "items",
|
|
2022
|
+
dictSelectType: "Display Type",
|
|
2015
2023
|
assetType: "Asset Typee",
|
|
2016
2024
|
subTableShowIndex: "Show Index"
|
|
2017
2025
|
}
|
|
@@ -2026,6 +2034,7 @@ var zhLocale_extension = {
|
|
|
2026
2034
|
"current-user": "\u5F53\u524D\u7528\u6237",
|
|
2027
2035
|
"current-user-second-company": "\u5F53\u524D\u7528\u6237\u4E8C\u7EA7\u516C\u53F8",
|
|
2028
2036
|
"asset-select": "\u8D44\u4EA7\u9009\u62E9",
|
|
2037
|
+
"dict-select": "\u5B57\u5178\u9009\u62E9",
|
|
2029
2038
|
"asset-table": "\u8D44\u4EA7\u8868\u683C",
|
|
2030
2039
|
"radio-other": "\u5355\u9009\u9879\uFF08\u5176\u4ED6\uFF09",
|
|
2031
2040
|
"select-other": "\u4E0B\u62C9\u9009\u9879\uFF08\u5176\u4ED6\uFF09",
|
|
@@ -2074,6 +2083,11 @@ var zhLocale_extension = {
|
|
|
2074
2083
|
assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
2075
2084
|
assetTypeAssetTypeValue: "\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
2076
2085
|
assetSelectAssetLimit: "\u8D44\u4EA7\u9009\u62E9\u9650\u5236",
|
|
2086
|
+
dictSelectDictCode: "\u5B57\u5178\u7C7B\u578B",
|
|
2087
|
+
dictSelectDictCodePlaceholder: "\u8BF7\u9009\u62E9\u5B57\u5178\u7C7B\u578B",
|
|
2088
|
+
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",
|
|
2089
|
+
dictSelectOptionCount: "\u9879",
|
|
2090
|
+
dictSelectType: "\u5C55\u793A\u7C7B\u578B",
|
|
2077
2091
|
subTableShowIndex: "\u662F\u5426\u663E\u793A\u5E8F\u53F7\u5217"
|
|
2078
2092
|
}
|
|
2079
2093
|
}
|
|
@@ -2132,8 +2146,8 @@ var refMixin = {
|
|
|
2132
2146
|
}
|
|
2133
2147
|
}
|
|
2134
2148
|
};
|
|
2135
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
2136
|
-
const _sfc_main$
|
|
2149
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
2150
|
+
const _sfc_main$1h = {
|
|
2137
2151
|
name: "SvgIcon",
|
|
2138
2152
|
props: {
|
|
2139
2153
|
iconClass: {
|
|
@@ -2161,20 +2175,20 @@ const _sfc_main$1f = {
|
|
|
2161
2175
|
}
|
|
2162
2176
|
}
|
|
2163
2177
|
};
|
|
2164
|
-
const _hoisted_1$
|
|
2165
|
-
const _hoisted_2$
|
|
2166
|
-
function _sfc_render$
|
|
2178
|
+
const _hoisted_1$Q = ["xlink:href"];
|
|
2179
|
+
const _hoisted_2$C = { key: 0 };
|
|
2180
|
+
function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2167
2181
|
return openBlock(), createElementBlock("svg", {
|
|
2168
2182
|
class: normalizeClass($options.svgClass),
|
|
2169
2183
|
"aria-hidden": "true"
|
|
2170
2184
|
}, [
|
|
2171
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
2172
|
-
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$
|
|
2185
|
+
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$Q),
|
|
2186
|
+
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$C, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
2173
2187
|
], 2);
|
|
2174
2188
|
}
|
|
2175
|
-
var SvgIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2189
|
+
var SvgIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$1h], ["__scopeId", "data-v-8002b89a"]]);
|
|
2176
2190
|
var staticContentWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2177
|
-
const _sfc_main$
|
|
2191
|
+
const _sfc_main$1g = {
|
|
2178
2192
|
name: "static-content-wrapper",
|
|
2179
2193
|
mixins: [i18n$1],
|
|
2180
2194
|
components: {
|
|
@@ -2260,11 +2274,11 @@ const _sfc_main$1e = {
|
|
|
2260
2274
|
}
|
|
2261
2275
|
}
|
|
2262
2276
|
};
|
|
2263
|
-
const _hoisted_1$
|
|
2277
|
+
const _hoisted_1$P = {
|
|
2264
2278
|
key: 0,
|
|
2265
2279
|
class: "field-action"
|
|
2266
2280
|
};
|
|
2267
|
-
const _hoisted_2$
|
|
2281
|
+
const _hoisted_2$B = ["title"];
|
|
2268
2282
|
const _hoisted_3$w = ["title"];
|
|
2269
2283
|
const _hoisted_4$k = ["title"];
|
|
2270
2284
|
const _hoisted_5$h = ["title"];
|
|
@@ -2274,7 +2288,7 @@ const _hoisted_6$g = {
|
|
|
2274
2288
|
};
|
|
2275
2289
|
const _hoisted_7$e = ["title"];
|
|
2276
2290
|
const _hoisted_8$9 = { key: 0 };
|
|
2277
|
-
function _sfc_render$
|
|
2291
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2278
2292
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
2279
2293
|
return openBlock(), createElementBlock("div", {
|
|
2280
2294
|
class: normalizeClass(["field-wrapper", { "design-time-bottom-margin": !!this.designer }]),
|
|
@@ -2289,13 +2303,13 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2289
2303
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2290
2304
|
], 6)) : createCommentVNode("", true),
|
|
2291
2305
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2292
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2306
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
2293
2307
|
createElementVNode("i", {
|
|
2294
2308
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
2295
2309
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
2296
2310
|
}, [
|
|
2297
2311
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
2298
|
-
], 8, _hoisted_2$
|
|
2312
|
+
], 8, _hoisted_2$B),
|
|
2299
2313
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
2300
2314
|
key: 0,
|
|
2301
2315
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
@@ -2331,7 +2345,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2331
2345
|
], 64)) : createCommentVNode("", true)
|
|
2332
2346
|
], 6);
|
|
2333
2347
|
}
|
|
2334
|
-
var StaticContentWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2348
|
+
var StaticContentWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$1g], ["__scopeId", "data-v-41799baa"]]);
|
|
2335
2349
|
var __glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2336
2350
|
__proto__: null,
|
|
2337
2351
|
"default": StaticContentWrapper
|
|
@@ -9240,7 +9254,7 @@ var fieldMixin = {
|
|
|
9240
9254
|
}
|
|
9241
9255
|
};
|
|
9242
9256
|
var buttonWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9243
|
-
const _sfc_main$
|
|
9257
|
+
const _sfc_main$1f = {
|
|
9244
9258
|
name: "button-widget",
|
|
9245
9259
|
componentName: "FieldWidget",
|
|
9246
9260
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9286,7 +9300,7 @@ const _sfc_main$1d = {
|
|
|
9286
9300
|
},
|
|
9287
9301
|
methods: {}
|
|
9288
9302
|
};
|
|
9289
|
-
function _sfc_render$
|
|
9303
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9290
9304
|
const _component_el_button = resolveComponent("el-button");
|
|
9291
9305
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
9292
9306
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -9322,13 +9336,13 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9322
9336
|
_: 1
|
|
9323
9337
|
}, 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"]);
|
|
9324
9338
|
}
|
|
9325
|
-
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9339
|
+
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_render$1f], ["__scopeId", "data-v-78bf6014"]]);
|
|
9326
9340
|
var __glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9327
9341
|
__proto__: null,
|
|
9328
9342
|
"default": buttonWidget
|
|
9329
9343
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9330
9344
|
var formItemWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9331
|
-
const _sfc_main$
|
|
9345
|
+
const _sfc_main$1e = {
|
|
9332
9346
|
name: "form-item-wrapper",
|
|
9333
9347
|
mixins: [i18n$1],
|
|
9334
9348
|
components: {
|
|
@@ -9459,11 +9473,11 @@ const _sfc_main$1c = {
|
|
|
9459
9473
|
}
|
|
9460
9474
|
}
|
|
9461
9475
|
};
|
|
9462
|
-
const _hoisted_1$
|
|
9476
|
+
const _hoisted_1$O = {
|
|
9463
9477
|
key: 0,
|
|
9464
9478
|
class: "custom-label"
|
|
9465
9479
|
};
|
|
9466
|
-
const _hoisted_2$
|
|
9480
|
+
const _hoisted_2$A = {
|
|
9467
9481
|
key: 0,
|
|
9468
9482
|
class: "field-action"
|
|
9469
9483
|
};
|
|
@@ -9477,7 +9491,7 @@ const _hoisted_7$d = {
|
|
|
9477
9491
|
};
|
|
9478
9492
|
const _hoisted_8$8 = ["title"];
|
|
9479
9493
|
const _hoisted_9$7 = { key: 0 };
|
|
9480
|
-
function _sfc_render$
|
|
9494
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9481
9495
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
9482
9496
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
9483
9497
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -9500,7 +9514,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9500
9514
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectField($props.field), ["stop"]))
|
|
9501
9515
|
}, {
|
|
9502
9516
|
label: withCtx(() => [
|
|
9503
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
9517
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$O, [
|
|
9504
9518
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9505
9519
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9506
9520
|
createVNode(_component_el_tooltip, {
|
|
@@ -9552,7 +9566,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9552
9566
|
[vShow, $props.designState === true || !$props.field.options.hidden]
|
|
9553
9567
|
]) : createCommentVNode("", true),
|
|
9554
9568
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
9555
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
9569
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
|
|
9556
9570
|
createElementVNode("i", {
|
|
9557
9571
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
9558
9572
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
@@ -9594,13 +9608,13 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9594
9608
|
], 64)) : createCommentVNode("", true)
|
|
9595
9609
|
], 2);
|
|
9596
9610
|
}
|
|
9597
|
-
var FormItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9611
|
+
var FormItemWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sfc_render$1e], ["__scopeId", "data-v-a42827ee"]]);
|
|
9598
9612
|
var __glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9599
9613
|
__proto__: null,
|
|
9600
9614
|
"default": FormItemWrapper
|
|
9601
9615
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9602
9616
|
var cascaderWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9603
|
-
const _sfc_main$
|
|
9617
|
+
const _sfc_main$1d = {
|
|
9604
9618
|
name: "cascader-widget",
|
|
9605
9619
|
componentName: "FieldWidget",
|
|
9606
9620
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9634,7 +9648,8 @@ const _sfc_main$1b = {
|
|
|
9634
9648
|
return {
|
|
9635
9649
|
oldFieldValue: null,
|
|
9636
9650
|
fieldModel: null,
|
|
9637
|
-
rules: []
|
|
9651
|
+
rules: [],
|
|
9652
|
+
selectList: null
|
|
9638
9653
|
};
|
|
9639
9654
|
},
|
|
9640
9655
|
computed: {
|
|
@@ -9671,8 +9686,8 @@ const _sfc_main$1b = {
|
|
|
9671
9686
|
},
|
|
9672
9687
|
methods: {}
|
|
9673
9688
|
};
|
|
9674
|
-
const _hoisted_1$
|
|
9675
|
-
function _sfc_render$
|
|
9689
|
+
const _hoisted_1$N = { class: "full-width-input" };
|
|
9690
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9676
9691
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
9677
9692
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9678
9693
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9688,10 +9703,10 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9688
9703
|
"sub-form-row-id": $props.subFormRowId
|
|
9689
9704
|
}, {
|
|
9690
9705
|
default: withCtx(() => [
|
|
9691
|
-
createElementVNode("div", _hoisted_1$
|
|
9706
|
+
createElementVNode("div", _hoisted_1$N, [
|
|
9692
9707
|
createVNode(_component_el_cascader, {
|
|
9693
9708
|
ref: "fieldEditor",
|
|
9694
|
-
options: $props.field.options.optionItems,
|
|
9709
|
+
options: $data.selectList || $props.field.options.optionItems,
|
|
9695
9710
|
modelValue: $data.fieldModel,
|
|
9696
9711
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
9697
9712
|
disabled: _ctx.getDisabled(),
|
|
@@ -9710,13 +9725,13 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9710
9725
|
_: 1
|
|
9711
9726
|
}, 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"]);
|
|
9712
9727
|
}
|
|
9713
|
-
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9728
|
+
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["render", _sfc_render$1d], ["__scopeId", "data-v-2002ac31"]]);
|
|
9714
9729
|
var __glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9715
9730
|
__proto__: null,
|
|
9716
9731
|
"default": cascaderWidget
|
|
9717
9732
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9718
9733
|
var checkboxWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9719
|
-
const _sfc_main$
|
|
9734
|
+
const _sfc_main$1c = {
|
|
9720
9735
|
name: "checkbox-widget",
|
|
9721
9736
|
componentName: "FieldWidget",
|
|
9722
9737
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9772,7 +9787,7 @@ const _sfc_main$1a = {
|
|
|
9772
9787
|
},
|
|
9773
9788
|
methods: {}
|
|
9774
9789
|
};
|
|
9775
|
-
function _sfc_render$
|
|
9790
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9776
9791
|
const _component_el_checkbox_button = resolveComponent("el-checkbox-button");
|
|
9777
9792
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
9778
9793
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
@@ -9833,13 +9848,13 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9833
9848
|
_: 1
|
|
9834
9849
|
}, 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"]);
|
|
9835
9850
|
}
|
|
9836
|
-
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9851
|
+
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-8c1ca3c8"]]);
|
|
9837
9852
|
var __glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9838
9853
|
__proto__: null,
|
|
9839
9854
|
"default": checkboxWidget
|
|
9840
9855
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9841
9856
|
var colorWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9842
|
-
const _sfc_main$
|
|
9857
|
+
const _sfc_main$1b = {
|
|
9843
9858
|
name: "color-widget",
|
|
9844
9859
|
componentName: "FieldWidget",
|
|
9845
9860
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9894,7 +9909,7 @@ const _sfc_main$19 = {
|
|
|
9894
9909
|
},
|
|
9895
9910
|
methods: {}
|
|
9896
9911
|
};
|
|
9897
|
-
function _sfc_render$
|
|
9912
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9898
9913
|
const _component_el_color_picker = resolveComponent("el-color-picker");
|
|
9899
9914
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9900
9915
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9922,13 +9937,13 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9922
9937
|
_: 1
|
|
9923
9938
|
}, 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"]);
|
|
9924
9939
|
}
|
|
9925
|
-
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
9940
|
+
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_render$1b], ["__scopeId", "data-v-52b66ef1"]]);
|
|
9926
9941
|
var __glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9927
9942
|
__proto__: null,
|
|
9928
9943
|
"default": colorWidget
|
|
9929
9944
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9930
9945
|
var dateRangeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9931
|
-
const _sfc_main$
|
|
9946
|
+
const _sfc_main$1a = {
|
|
9932
9947
|
name: "date-range-widget",
|
|
9933
9948
|
componentName: "FieldWidget",
|
|
9934
9949
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9983,7 +9998,7 @@ const _sfc_main$18 = {
|
|
|
9983
9998
|
},
|
|
9984
9999
|
methods: {}
|
|
9985
10000
|
};
|
|
9986
|
-
function _sfc_render$
|
|
10001
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9987
10002
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
9988
10003
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9989
10004
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -10021,13 +10036,13 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10021
10036
|
_: 1
|
|
10022
10037
|
}, 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"]);
|
|
10023
10038
|
}
|
|
10024
|
-
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10039
|
+
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["render", _sfc_render$1a], ["__scopeId", "data-v-e50300fe"]]);
|
|
10025
10040
|
var __glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10026
10041
|
__proto__: null,
|
|
10027
10042
|
"default": dateRangeWidget
|
|
10028
10043
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10029
10044
|
var dateWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10030
|
-
const _sfc_main$
|
|
10045
|
+
const _sfc_main$19 = {
|
|
10031
10046
|
name: "date-widget",
|
|
10032
10047
|
componentName: "FieldWidget",
|
|
10033
10048
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10082,7 +10097,7 @@ const _sfc_main$17 = {
|
|
|
10082
10097
|
},
|
|
10083
10098
|
methods: {}
|
|
10084
10099
|
};
|
|
10085
|
-
function _sfc_render$
|
|
10100
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10086
10101
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
10087
10102
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
10088
10103
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -10120,13 +10135,13 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10120
10135
|
_: 1
|
|
10121
10136
|
}, 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"]);
|
|
10122
10137
|
}
|
|
10123
|
-
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10138
|
+
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render", _sfc_render$19], ["__scopeId", "data-v-89ff4bae"]]);
|
|
10124
10139
|
var __glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10125
10140
|
__proto__: null,
|
|
10126
10141
|
"default": dateWidget
|
|
10127
10142
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10128
10143
|
var dividerWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10129
|
-
const _sfc_main$
|
|
10144
|
+
const _sfc_main$18 = {
|
|
10130
10145
|
name: "divider-widget",
|
|
10131
10146
|
componentName: "FieldWidget",
|
|
10132
10147
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10172,7 +10187,7 @@ const _sfc_main$16 = {
|
|
|
10172
10187
|
},
|
|
10173
10188
|
methods: {}
|
|
10174
10189
|
};
|
|
10175
|
-
function _sfc_render$
|
|
10190
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10176
10191
|
const _component_el_divider = resolveComponent("el-divider");
|
|
10177
10192
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
10178
10193
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -10201,7 +10216,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10201
10216
|
_: 1
|
|
10202
10217
|
}, 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"]);
|
|
10203
10218
|
}
|
|
10204
|
-
var dividerWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
10219
|
+
var dividerWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["render", _sfc_render$18], ["__scopeId", "data-v-09a1b973"]]);
|
|
10205
10220
|
var __glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10206
10221
|
__proto__: null,
|
|
10207
10222
|
"default": dividerWidget
|
|
@@ -10240,80 +10255,80 @@ var _export_sfc = (sfc, props) => {
|
|
|
10240
10255
|
}
|
|
10241
10256
|
return target;
|
|
10242
10257
|
};
|
|
10243
|
-
const _sfc_main$
|
|
10258
|
+
const _sfc_main$17 = defineComponent({
|
|
10244
10259
|
name: "ArrowDownBold"
|
|
10245
10260
|
});
|
|
10246
|
-
const _hoisted_1$
|
|
10261
|
+
const _hoisted_1$M = {
|
|
10247
10262
|
class: "icon",
|
|
10248
10263
|
width: "200",
|
|
10249
10264
|
height: "200",
|
|
10250
10265
|
viewBox: "0 0 1024 1024",
|
|
10251
10266
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10252
10267
|
};
|
|
10253
|
-
const _hoisted_2$
|
|
10268
|
+
const _hoisted_2$z = /* @__PURE__ */ createElementVNode("path", {
|
|
10254
10269
|
fill: "currentColor",
|
|
10255
10270
|
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"
|
|
10256
10271
|
}, null, -1);
|
|
10257
10272
|
const _hoisted_3$u = [
|
|
10258
|
-
_hoisted_2$
|
|
10273
|
+
_hoisted_2$z
|
|
10259
10274
|
];
|
|
10260
|
-
function _sfc_render$
|
|
10261
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10275
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10276
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$M, _hoisted_3$u);
|
|
10262
10277
|
}
|
|
10263
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10264
|
-
const _sfc_main$
|
|
10278
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17]]);
|
|
10279
|
+
const _sfc_main$16 = defineComponent({
|
|
10265
10280
|
name: "ArrowDown"
|
|
10266
10281
|
});
|
|
10267
|
-
const _hoisted_1$
|
|
10282
|
+
const _hoisted_1$L = {
|
|
10268
10283
|
class: "icon",
|
|
10269
10284
|
width: "200",
|
|
10270
10285
|
height: "200",
|
|
10271
10286
|
viewBox: "0 0 1024 1024",
|
|
10272
10287
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10273
10288
|
};
|
|
10274
|
-
const _hoisted_2$
|
|
10289
|
+
const _hoisted_2$y = /* @__PURE__ */ createElementVNode("path", {
|
|
10275
10290
|
fill: "currentColor",
|
|
10276
10291
|
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"
|
|
10277
10292
|
}, null, -1);
|
|
10278
10293
|
const _hoisted_3$t = [
|
|
10279
|
-
_hoisted_2$
|
|
10294
|
+
_hoisted_2$y
|
|
10280
10295
|
];
|
|
10281
|
-
function _sfc_render$
|
|
10282
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10296
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10297
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$L, _hoisted_3$t);
|
|
10283
10298
|
}
|
|
10284
|
-
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10285
|
-
const _sfc_main$
|
|
10299
|
+
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16]]);
|
|
10300
|
+
const _sfc_main$15 = defineComponent({
|
|
10286
10301
|
name: "ArrowUp"
|
|
10287
10302
|
});
|
|
10288
|
-
const _hoisted_1$
|
|
10303
|
+
const _hoisted_1$K = {
|
|
10289
10304
|
class: "icon",
|
|
10290
10305
|
width: "200",
|
|
10291
10306
|
height: "200",
|
|
10292
10307
|
viewBox: "0 0 1024 1024",
|
|
10293
10308
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10294
10309
|
};
|
|
10295
|
-
const _hoisted_2$
|
|
10310
|
+
const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
|
|
10296
10311
|
fill: "currentColor",
|
|
10297
10312
|
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"
|
|
10298
10313
|
}, null, -1);
|
|
10299
10314
|
const _hoisted_3$s = [
|
|
10300
|
-
_hoisted_2$
|
|
10315
|
+
_hoisted_2$x
|
|
10301
10316
|
];
|
|
10302
|
-
function _sfc_render$
|
|
10303
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10317
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10318
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$K, _hoisted_3$s);
|
|
10304
10319
|
}
|
|
10305
|
-
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10306
|
-
const _sfc_main$
|
|
10320
|
+
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15]]);
|
|
10321
|
+
const _sfc_main$14 = defineComponent({
|
|
10307
10322
|
name: "CirclePlus"
|
|
10308
10323
|
});
|
|
10309
|
-
const _hoisted_1$
|
|
10324
|
+
const _hoisted_1$J = {
|
|
10310
10325
|
class: "icon",
|
|
10311
10326
|
width: "200",
|
|
10312
10327
|
height: "200",
|
|
10313
10328
|
viewBox: "0 0 1024 1024",
|
|
10314
10329
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10315
10330
|
};
|
|
10316
|
-
const _hoisted_2$
|
|
10331
|
+
const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
|
|
10317
10332
|
fill: "currentColor",
|
|
10318
10333
|
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
10319
10334
|
}, null, -1);
|
|
@@ -10326,46 +10341,46 @@ const _hoisted_4$i = /* @__PURE__ */ createElementVNode("path", {
|
|
|
10326
10341
|
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
10327
10342
|
}, null, -1);
|
|
10328
10343
|
const _hoisted_5$f = [
|
|
10329
|
-
_hoisted_2$
|
|
10344
|
+
_hoisted_2$w,
|
|
10330
10345
|
_hoisted_3$r,
|
|
10331
10346
|
_hoisted_4$i
|
|
10332
10347
|
];
|
|
10333
|
-
function _sfc_render$
|
|
10334
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10348
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10349
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_5$f);
|
|
10335
10350
|
}
|
|
10336
|
-
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10337
|
-
const _sfc_main$
|
|
10351
|
+
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14]]);
|
|
10352
|
+
const _sfc_main$13 = defineComponent({
|
|
10338
10353
|
name: "Delete"
|
|
10339
10354
|
});
|
|
10340
|
-
const _hoisted_1$
|
|
10355
|
+
const _hoisted_1$I = {
|
|
10341
10356
|
class: "icon",
|
|
10342
10357
|
width: "200",
|
|
10343
10358
|
height: "200",
|
|
10344
10359
|
viewBox: "0 0 1024 1024",
|
|
10345
10360
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10346
10361
|
};
|
|
10347
|
-
const _hoisted_2$
|
|
10362
|
+
const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
|
|
10348
10363
|
fill: "currentColor",
|
|
10349
10364
|
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"
|
|
10350
10365
|
}, null, -1);
|
|
10351
10366
|
const _hoisted_3$q = [
|
|
10352
|
-
_hoisted_2$
|
|
10367
|
+
_hoisted_2$v
|
|
10353
10368
|
];
|
|
10354
|
-
function _sfc_render$
|
|
10355
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10369
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10370
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$q);
|
|
10356
10371
|
}
|
|
10357
|
-
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10358
|
-
const _sfc_main$
|
|
10372
|
+
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13]]);
|
|
10373
|
+
const _sfc_main$12 = defineComponent({
|
|
10359
10374
|
name: "Edit"
|
|
10360
10375
|
});
|
|
10361
|
-
const _hoisted_1$
|
|
10376
|
+
const _hoisted_1$H = {
|
|
10362
10377
|
class: "icon",
|
|
10363
10378
|
width: "200",
|
|
10364
10379
|
height: "200",
|
|
10365
10380
|
viewBox: "0 0 1024 1024",
|
|
10366
10381
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10367
10382
|
};
|
|
10368
|
-
const _hoisted_2$
|
|
10383
|
+
const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
|
|
10369
10384
|
fill: "currentColor",
|
|
10370
10385
|
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"
|
|
10371
10386
|
}, null, -1);
|
|
@@ -10374,118 +10389,118 @@ const _hoisted_3$p = /* @__PURE__ */ createElementVNode("path", {
|
|
|
10374
10389
|
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"
|
|
10375
10390
|
}, null, -1);
|
|
10376
10391
|
const _hoisted_4$h = [
|
|
10377
|
-
_hoisted_2$
|
|
10392
|
+
_hoisted_2$u,
|
|
10378
10393
|
_hoisted_3$p
|
|
10379
10394
|
];
|
|
10380
|
-
function _sfc_render$
|
|
10381
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10395
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10396
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_4$h);
|
|
10382
10397
|
}
|
|
10383
|
-
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10384
|
-
const _sfc_main
|
|
10398
|
+
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12]]);
|
|
10399
|
+
const _sfc_main$11 = defineComponent({
|
|
10385
10400
|
name: "InfoFilled"
|
|
10386
10401
|
});
|
|
10387
|
-
const _hoisted_1$
|
|
10402
|
+
const _hoisted_1$G = {
|
|
10388
10403
|
class: "icon",
|
|
10389
10404
|
width: "200",
|
|
10390
10405
|
height: "200",
|
|
10391
10406
|
viewBox: "0 0 1024 1024",
|
|
10392
10407
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10393
10408
|
};
|
|
10394
|
-
const _hoisted_2$
|
|
10409
|
+
const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
|
|
10395
10410
|
fill: "currentColor",
|
|
10396
10411
|
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"
|
|
10397
10412
|
}, null, -1);
|
|
10398
10413
|
const _hoisted_3$o = [
|
|
10399
|
-
_hoisted_2$
|
|
10414
|
+
_hoisted_2$t
|
|
10400
10415
|
];
|
|
10401
|
-
function _sfc_render
|
|
10402
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10416
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10417
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$o);
|
|
10403
10418
|
}
|
|
10404
|
-
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
10405
|
-
const _sfc_main$
|
|
10419
|
+
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11]]);
|
|
10420
|
+
const _sfc_main$10 = defineComponent({
|
|
10406
10421
|
name: "Loading"
|
|
10407
10422
|
});
|
|
10408
|
-
const _hoisted_1$
|
|
10423
|
+
const _hoisted_1$F = {
|
|
10409
10424
|
class: "icon",
|
|
10410
10425
|
width: "200",
|
|
10411
10426
|
height: "200",
|
|
10412
10427
|
viewBox: "0 0 1024 1024",
|
|
10413
10428
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10414
10429
|
};
|
|
10415
|
-
const _hoisted_2$
|
|
10430
|
+
const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
|
|
10416
10431
|
fill: "currentColor",
|
|
10417
10432
|
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"
|
|
10418
10433
|
}, null, -1);
|
|
10419
10434
|
const _hoisted_3$n = [
|
|
10420
|
-
_hoisted_2$
|
|
10435
|
+
_hoisted_2$s
|
|
10421
10436
|
];
|
|
10422
|
-
function _sfc_render$
|
|
10423
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10437
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10438
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_3$n);
|
|
10424
10439
|
}
|
|
10425
|
-
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10426
|
-
const _sfc_main
|
|
10440
|
+
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10]]);
|
|
10441
|
+
const _sfc_main$$ = defineComponent({
|
|
10427
10442
|
name: "Minus"
|
|
10428
10443
|
});
|
|
10429
|
-
const _hoisted_1$
|
|
10444
|
+
const _hoisted_1$E = {
|
|
10430
10445
|
class: "icon",
|
|
10431
10446
|
width: "200",
|
|
10432
10447
|
height: "200",
|
|
10433
10448
|
viewBox: "0 0 1024 1024",
|
|
10434
10449
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10435
10450
|
};
|
|
10436
|
-
const _hoisted_2$
|
|
10451
|
+
const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
|
|
10437
10452
|
fill: "currentColor",
|
|
10438
10453
|
d: "M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"
|
|
10439
10454
|
}, null, -1);
|
|
10440
10455
|
const _hoisted_3$m = [
|
|
10441
|
-
_hoisted_2$
|
|
10456
|
+
_hoisted_2$r
|
|
10442
10457
|
];
|
|
10443
|
-
function _sfc_render
|
|
10444
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10458
|
+
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10459
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$m);
|
|
10445
10460
|
}
|
|
10446
|
-
var minus = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
10447
|
-
const _sfc_main$
|
|
10461
|
+
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$]]);
|
|
10462
|
+
const _sfc_main$_ = defineComponent({
|
|
10448
10463
|
name: "Plus"
|
|
10449
10464
|
});
|
|
10450
|
-
const _hoisted_1$
|
|
10465
|
+
const _hoisted_1$D = {
|
|
10451
10466
|
class: "icon",
|
|
10452
10467
|
width: "200",
|
|
10453
10468
|
height: "200",
|
|
10454
10469
|
viewBox: "0 0 1024 1024",
|
|
10455
10470
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10456
10471
|
};
|
|
10457
|
-
const _hoisted_2$
|
|
10472
|
+
const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
|
|
10458
10473
|
fill: "currentColor",
|
|
10459
10474
|
d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
|
|
10460
10475
|
}, null, -1);
|
|
10461
10476
|
const _hoisted_3$l = [
|
|
10462
|
-
_hoisted_2$
|
|
10477
|
+
_hoisted_2$q
|
|
10463
10478
|
];
|
|
10464
|
-
function _sfc_render$
|
|
10465
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10479
|
+
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10480
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$l);
|
|
10466
10481
|
}
|
|
10467
|
-
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10468
|
-
const _sfc_main$
|
|
10482
|
+
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
|
|
10483
|
+
const _sfc_main$Z = defineComponent({
|
|
10469
10484
|
name: "Search"
|
|
10470
10485
|
});
|
|
10471
|
-
const _hoisted_1$
|
|
10486
|
+
const _hoisted_1$C = {
|
|
10472
10487
|
class: "icon",
|
|
10473
10488
|
width: "200",
|
|
10474
10489
|
height: "200",
|
|
10475
10490
|
viewBox: "0 0 1024 1024",
|
|
10476
10491
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10477
10492
|
};
|
|
10478
|
-
const _hoisted_2$
|
|
10493
|
+
const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
|
|
10479
10494
|
fill: "currentColor",
|
|
10480
10495
|
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"
|
|
10481
10496
|
}, null, -1);
|
|
10482
10497
|
const _hoisted_3$k = [
|
|
10483
|
-
_hoisted_2$
|
|
10498
|
+
_hoisted_2$p
|
|
10484
10499
|
];
|
|
10485
|
-
function _sfc_render$
|
|
10486
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10500
|
+
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10501
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$k);
|
|
10487
10502
|
}
|
|
10488
|
-
var search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10503
|
+
var search = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
|
|
10489
10504
|
var defaultConfig = {
|
|
10490
10505
|
expireTimes: "1d",
|
|
10491
10506
|
path: "; path=/",
|
|
@@ -10614,7 +10629,7 @@ var _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf
|
|
|
10614
10629
|
var fileUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10615
10630
|
useCookies();
|
|
10616
10631
|
let selectFileText = "'" + translate("render.hint.selectFile") + "'";
|
|
10617
|
-
const _sfc_main$
|
|
10632
|
+
const _sfc_main$Y = {
|
|
10618
10633
|
name: "file-upload-widget",
|
|
10619
10634
|
componentName: "FieldWidget",
|
|
10620
10635
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10987,8 +11002,8 @@ const _sfc_main$W = {
|
|
|
10987
11002
|
}
|
|
10988
11003
|
}
|
|
10989
11004
|
};
|
|
10990
|
-
const _hoisted_1$
|
|
10991
|
-
const _hoisted_2$
|
|
11005
|
+
const _hoisted_1$B = { class: "file-upload-widget-container" };
|
|
11006
|
+
const _hoisted_2$o = {
|
|
10992
11007
|
key: 0,
|
|
10993
11008
|
class: "no-data-wrap"
|
|
10994
11009
|
};
|
|
@@ -11006,7 +11021,7 @@ const _hoisted_10$4 = { class: "right-wrap" };
|
|
|
11006
11021
|
const _hoisted_11$2 = ["title", "onClick"];
|
|
11007
11022
|
const _hoisted_12$1 = ["onClick"];
|
|
11008
11023
|
const _hoisted_13$1 = ["onClick"];
|
|
11009
|
-
function _sfc_render$
|
|
11024
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11010
11025
|
const _component_el_button = resolveComponent("el-button");
|
|
11011
11026
|
const _component_el_upload = resolveComponent("el-upload");
|
|
11012
11027
|
const _component_el_progress = resolveComponent("el-progress");
|
|
@@ -11024,8 +11039,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11024
11039
|
"sub-form-row-id": $props.subFormRowId
|
|
11025
11040
|
}, {
|
|
11026
11041
|
default: withCtx(() => [
|
|
11027
|
-
createElementVNode("div", _hoisted_1$
|
|
11028
|
-
_ctx.getDisabled() && $data.fileList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
11042
|
+
createElementVNode("div", _hoisted_1$B, [
|
|
11043
|
+
_ctx.getDisabled() && $data.fileList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$o, " \u6682\u65E0\u6570\u636E ")) : createCommentVNode("", true),
|
|
11029
11044
|
createVNode(_component_el_upload, {
|
|
11030
11045
|
ref: "fieldEditor",
|
|
11031
11046
|
disabled: _ctx.getDisabled(),
|
|
@@ -11124,13 +11139,13 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11124
11139
|
_: 1
|
|
11125
11140
|
}, 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"]);
|
|
11126
11141
|
}
|
|
11127
|
-
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11142
|
+
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$Y], ["__scopeId", "data-v-829125c8"]]);
|
|
11128
11143
|
var __glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11129
11144
|
__proto__: null,
|
|
11130
11145
|
"default": fileUploadWidget
|
|
11131
11146
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11132
11147
|
var htmlTextWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11133
|
-
const _sfc_main$
|
|
11148
|
+
const _sfc_main$X = {
|
|
11134
11149
|
name: "html-text-widget",
|
|
11135
11150
|
componentName: "FieldWidget",
|
|
11136
11151
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11176,8 +11191,8 @@ const _sfc_main$V = {
|
|
|
11176
11191
|
},
|
|
11177
11192
|
methods: {}
|
|
11178
11193
|
};
|
|
11179
|
-
const _hoisted_1$
|
|
11180
|
-
function _sfc_render$
|
|
11194
|
+
const _hoisted_1$A = ["innerHTML"];
|
|
11195
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11181
11196
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
11182
11197
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
11183
11198
|
designer: $props.designer,
|
|
@@ -11194,19 +11209,19 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11194
11209
|
createElementVNode("div", {
|
|
11195
11210
|
ref: "fieldEditor",
|
|
11196
11211
|
innerHTML: $props.field.options.htmlContent
|
|
11197
|
-
}, null, 8, _hoisted_1$
|
|
11212
|
+
}, null, 8, _hoisted_1$A)
|
|
11198
11213
|
]),
|
|
11199
11214
|
_: 1
|
|
11200
11215
|
}, 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"]);
|
|
11201
11216
|
}
|
|
11202
|
-
var htmlTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11217
|
+
var htmlTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$X], ["__scopeId", "data-v-3d941b4e"]]);
|
|
11203
11218
|
var __glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11204
11219
|
__proto__: null,
|
|
11205
11220
|
"default": htmlTextWidget
|
|
11206
11221
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11207
11222
|
var inputWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11208
11223
|
var inputWidget_vue_vue_type_style_index_1_lang = "";
|
|
11209
|
-
const _sfc_main$
|
|
11224
|
+
const _sfc_main$W = {
|
|
11210
11225
|
name: "input-widget",
|
|
11211
11226
|
componentName: "FieldWidget",
|
|
11212
11227
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11272,8 +11287,8 @@ const _sfc_main$U = {
|
|
|
11272
11287
|
},
|
|
11273
11288
|
methods: {}
|
|
11274
11289
|
};
|
|
11275
|
-
const _hoisted_1$
|
|
11276
|
-
function _sfc_render$
|
|
11290
|
+
const _hoisted_1$z = { class: "input-disabled-tooltip-wrap" };
|
|
11291
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11277
11292
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11278
11293
|
const _component_el_button = resolveComponent("el-button");
|
|
11279
11294
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -11300,7 +11315,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11300
11315
|
"popper-class": "input-disabled-tooltip-popper"
|
|
11301
11316
|
}, {
|
|
11302
11317
|
default: withCtx(() => [
|
|
11303
|
-
createElementVNode("span", _hoisted_1$
|
|
11318
|
+
createElementVNode("span", _hoisted_1$z, [
|
|
11304
11319
|
createVNode(_component_el_input, {
|
|
11305
11320
|
ref: "fieldEditor",
|
|
11306
11321
|
modelValue: $data.fieldModel,
|
|
@@ -11349,13 +11364,13 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11349
11364
|
_: 1
|
|
11350
11365
|
}, 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"]);
|
|
11351
11366
|
}
|
|
11352
|
-
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11367
|
+
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$W], ["__scopeId", "data-v-14765387"]]);
|
|
11353
11368
|
var __glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11354
11369
|
__proto__: null,
|
|
11355
11370
|
"default": inputWidget
|
|
11356
11371
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11357
11372
|
var numberWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11358
|
-
const _sfc_main$
|
|
11373
|
+
const _sfc_main$V = {
|
|
11359
11374
|
name: "number-widget",
|
|
11360
11375
|
componentName: "FieldWidget",
|
|
11361
11376
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11410,7 +11425,7 @@ const _sfc_main$T = {
|
|
|
11410
11425
|
},
|
|
11411
11426
|
methods: {}
|
|
11412
11427
|
};
|
|
11413
|
-
function _sfc_render$
|
|
11428
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11414
11429
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
11415
11430
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11416
11431
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -11447,13 +11462,13 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11447
11462
|
_: 1
|
|
11448
11463
|
}, 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"]);
|
|
11449
11464
|
}
|
|
11450
|
-
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11465
|
+
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$V], ["__scopeId", "data-v-30c98522"]]);
|
|
11451
11466
|
var __glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11452
11467
|
__proto__: null,
|
|
11453
11468
|
"default": numberWidget
|
|
11454
11469
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11455
11470
|
var pictureUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11456
|
-
const _sfc_main$
|
|
11471
|
+
const _sfc_main$U = {
|
|
11457
11472
|
name: "picture-upload-widget",
|
|
11458
11473
|
componentName: "FieldWidget",
|
|
11459
11474
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11650,8 +11665,8 @@ const _sfc_main$S = {
|
|
|
11650
11665
|
}
|
|
11651
11666
|
}
|
|
11652
11667
|
};
|
|
11653
|
-
const _hoisted_1$
|
|
11654
|
-
const _hoisted_2$
|
|
11668
|
+
const _hoisted_1$y = { class: "el-upload-list__item-status-label" };
|
|
11669
|
+
const _hoisted_2$n = {
|
|
11655
11670
|
class: "el-icon--upload-success",
|
|
11656
11671
|
style: { "color": "#FFF" }
|
|
11657
11672
|
};
|
|
@@ -11663,7 +11678,7 @@ const _hoisted_6$d = {
|
|
|
11663
11678
|
class: "el-upload__tip"
|
|
11664
11679
|
};
|
|
11665
11680
|
const _hoisted_7$b = { class: "uploader-icon" };
|
|
11666
|
-
function _sfc_render$
|
|
11681
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11667
11682
|
const _component_el_image = resolveComponent("el-image");
|
|
11668
11683
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11669
11684
|
const _component_el_upload = resolveComponent("el-upload");
|
|
@@ -11711,8 +11726,8 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11711
11726
|
fit: "cover",
|
|
11712
11727
|
"preview-teleported": ""
|
|
11713
11728
|
}, null, 8, ["src", "preview-src-list", "initial-index"]),
|
|
11714
|
-
createElementVNode("label", _hoisted_1$
|
|
11715
|
-
createElementVNode("i", _hoisted_2$
|
|
11729
|
+
createElementVNode("label", _hoisted_1$y, [
|
|
11730
|
+
createElementVNode("i", _hoisted_2$n, [
|
|
11716
11731
|
createVNode(_component_svg_icon, {
|
|
11717
11732
|
class: "",
|
|
11718
11733
|
"icon-class": "el-check"
|
|
@@ -11748,13 +11763,13 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11748
11763
|
_: 1
|
|
11749
11764
|
}, 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"]);
|
|
11750
11765
|
}
|
|
11751
|
-
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11766
|
+
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-4d09ba72"]]);
|
|
11752
11767
|
var __glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11753
11768
|
__proto__: null,
|
|
11754
11769
|
"default": pictureUploadWidget
|
|
11755
11770
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11756
11771
|
var radioWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11757
|
-
const _sfc_main$
|
|
11772
|
+
const _sfc_main$T = {
|
|
11758
11773
|
name: "radio-widget",
|
|
11759
11774
|
componentName: "FieldWidget",
|
|
11760
11775
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11810,7 +11825,7 @@ const _sfc_main$R = {
|
|
|
11810
11825
|
},
|
|
11811
11826
|
methods: {}
|
|
11812
11827
|
};
|
|
11813
|
-
function _sfc_render$
|
|
11828
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11814
11829
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
11815
11830
|
const _component_el_radio = resolveComponent("el-radio");
|
|
11816
11831
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
@@ -11872,13 +11887,13 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11872
11887
|
_: 1
|
|
11873
11888
|
}, 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"]);
|
|
11874
11889
|
}
|
|
11875
|
-
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11890
|
+
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$T], ["__scopeId", "data-v-05b877c5"]]);
|
|
11876
11891
|
var __glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11877
11892
|
__proto__: null,
|
|
11878
11893
|
"default": radioWidget
|
|
11879
11894
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11880
11895
|
var rateWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11881
|
-
const _sfc_main$
|
|
11896
|
+
const _sfc_main$S = {
|
|
11882
11897
|
name: "rate-widget",
|
|
11883
11898
|
componentName: "FieldWidget",
|
|
11884
11899
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11933,7 +11948,7 @@ const _sfc_main$Q = {
|
|
|
11933
11948
|
},
|
|
11934
11949
|
methods: {}
|
|
11935
11950
|
};
|
|
11936
|
-
function _sfc_render$
|
|
11951
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11937
11952
|
const _component_el_rate = resolveComponent("el-rate");
|
|
11938
11953
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11939
11954
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -11966,7 +11981,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11966
11981
|
_: 1
|
|
11967
11982
|
}, 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"]);
|
|
11968
11983
|
}
|
|
11969
|
-
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
11984
|
+
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$S], ["__scopeId", "data-v-3c7d82fe"]]);
|
|
11970
11985
|
var __glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11971
11986
|
__proto__: null,
|
|
11972
11987
|
"default": rateWidget
|
|
@@ -23302,7 +23317,7 @@ const defaultOptions = {
|
|
|
23302
23317
|
placeholder: "Insert content here ...",
|
|
23303
23318
|
readOnly: false
|
|
23304
23319
|
};
|
|
23305
|
-
const _sfc_main$
|
|
23320
|
+
const _sfc_main$R = {
|
|
23306
23321
|
name: "quill-editor",
|
|
23307
23322
|
props: {
|
|
23308
23323
|
content: String,
|
|
@@ -23406,16 +23421,16 @@ const _sfc_main$P = {
|
|
|
23406
23421
|
return { editor };
|
|
23407
23422
|
}
|
|
23408
23423
|
};
|
|
23409
|
-
const _hoisted_1$
|
|
23410
|
-
function _sfc_render$
|
|
23411
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
23424
|
+
const _hoisted_1$x = { ref: "editor" };
|
|
23425
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23426
|
+
return openBlock(), createElementBlock("section", _hoisted_1$x, null, 512);
|
|
23412
23427
|
}
|
|
23413
|
-
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23428
|
+
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$R]]);
|
|
23414
23429
|
quillEditor.install = function(app) {
|
|
23415
23430
|
app.component(quillEditor.name, quillEditor);
|
|
23416
23431
|
};
|
|
23417
23432
|
var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23418
|
-
const _sfc_main$
|
|
23433
|
+
const _sfc_main$Q = {
|
|
23419
23434
|
name: "rich-editor-widget",
|
|
23420
23435
|
componentName: "FieldWidget",
|
|
23421
23436
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23494,7 +23509,7 @@ const _sfc_main$O = {
|
|
|
23494
23509
|
}
|
|
23495
23510
|
}
|
|
23496
23511
|
};
|
|
23497
|
-
function _sfc_render$
|
|
23512
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23498
23513
|
const _component_quill_editor = resolveComponent("quill-editor");
|
|
23499
23514
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23500
23515
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23526,12 +23541,12 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23526
23541
|
_: 1
|
|
23527
23542
|
}, 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"]);
|
|
23528
23543
|
}
|
|
23529
|
-
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23544
|
+
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$Q], ["__scopeId", "data-v-6f719fd1"]]);
|
|
23530
23545
|
var __glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23531
23546
|
__proto__: null,
|
|
23532
23547
|
"default": richEditorWidget
|
|
23533
23548
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23534
|
-
const _sfc_main$
|
|
23549
|
+
const _sfc_main$P = {
|
|
23535
23550
|
name: "select-tree-widget",
|
|
23536
23551
|
componentName: "FieldWidget",
|
|
23537
23552
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23553,7 +23568,8 @@ const _sfc_main$N = {
|
|
|
23553
23568
|
return {
|
|
23554
23569
|
oldFieldValue: null,
|
|
23555
23570
|
fieldModel: null,
|
|
23556
|
-
rules: []
|
|
23571
|
+
rules: [],
|
|
23572
|
+
selectList: null
|
|
23557
23573
|
};
|
|
23558
23574
|
},
|
|
23559
23575
|
computed: {
|
|
@@ -23602,7 +23618,7 @@ const _sfc_main$N = {
|
|
|
23602
23618
|
this.unregisterFromRefList();
|
|
23603
23619
|
}
|
|
23604
23620
|
};
|
|
23605
|
-
function _sfc_render$
|
|
23621
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23606
23622
|
const _component_el_tree_select = resolveComponent("el-tree-select");
|
|
23607
23623
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23608
23624
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23623,7 +23639,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23623
23639
|
modelValue: $data.fieldModel,
|
|
23624
23640
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
23625
23641
|
class: "full-width-input",
|
|
23626
|
-
data: $props.field.options.optionItems,
|
|
23642
|
+
data: $data.selectList || $props.field.options.optionItems,
|
|
23627
23643
|
props: $options.treeSelectProps,
|
|
23628
23644
|
"show-checkbox": $props.field.options.showCheckbox,
|
|
23629
23645
|
"node-key": $options.treeNodeKey,
|
|
@@ -23650,13 +23666,13 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23650
23666
|
_: 1
|
|
23651
23667
|
}, 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"]);
|
|
23652
23668
|
}
|
|
23653
|
-
var selectTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23669
|
+
var selectTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$P]]);
|
|
23654
23670
|
var __glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23655
23671
|
__proto__: null,
|
|
23656
23672
|
"default": selectTreeWidget
|
|
23657
23673
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23658
23674
|
var selectWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23659
|
-
const _sfc_main$
|
|
23675
|
+
const _sfc_main$O = {
|
|
23660
23676
|
name: "select-widget",
|
|
23661
23677
|
componentName: "FieldWidget",
|
|
23662
23678
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23690,7 +23706,8 @@ const _sfc_main$M = {
|
|
|
23690
23706
|
return {
|
|
23691
23707
|
oldFieldValue: null,
|
|
23692
23708
|
fieldModel: null,
|
|
23693
|
-
rules: []
|
|
23709
|
+
rules: [],
|
|
23710
|
+
selectList: null
|
|
23694
23711
|
};
|
|
23695
23712
|
},
|
|
23696
23713
|
computed: {
|
|
@@ -23734,7 +23751,7 @@ const _sfc_main$M = {
|
|
|
23734
23751
|
}
|
|
23735
23752
|
}
|
|
23736
23753
|
};
|
|
23737
|
-
function _sfc_render$
|
|
23754
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23738
23755
|
const _component_el_option = resolveComponent("el-option");
|
|
23739
23756
|
const _component_el_select = resolveComponent("el-select");
|
|
23740
23757
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -23773,7 +23790,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23773
23790
|
onChange: _ctx.handleChangeEvent
|
|
23774
23791
|
}, {
|
|
23775
23792
|
default: withCtx(() => [
|
|
23776
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($props.field.options.optionItems, (item) => {
|
|
23793
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.selectList || $props.field.options.optionItems, (item) => {
|
|
23777
23794
|
return openBlock(), createBlock(_component_el_option, {
|
|
23778
23795
|
key: item.value,
|
|
23779
23796
|
label: item.label,
|
|
@@ -23788,13 +23805,13 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23788
23805
|
_: 1
|
|
23789
23806
|
}, 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"]);
|
|
23790
23807
|
}
|
|
23791
|
-
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23808
|
+
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$O], ["__scopeId", "data-v-63065392"]]);
|
|
23792
23809
|
var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23793
23810
|
__proto__: null,
|
|
23794
23811
|
"default": selectWidget
|
|
23795
23812
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23796
23813
|
var sliderWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23797
|
-
const _sfc_main$
|
|
23814
|
+
const _sfc_main$N = {
|
|
23798
23815
|
name: "slider-widget",
|
|
23799
23816
|
componentName: "FieldWidget",
|
|
23800
23817
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23849,7 +23866,7 @@ const _sfc_main$L = {
|
|
|
23849
23866
|
},
|
|
23850
23867
|
methods: {}
|
|
23851
23868
|
};
|
|
23852
|
-
function _sfc_render$
|
|
23869
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23853
23870
|
const _component_el_slider = resolveComponent("el-slider");
|
|
23854
23871
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23855
23872
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23882,13 +23899,13 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23882
23899
|
_: 1
|
|
23883
23900
|
}, 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"]);
|
|
23884
23901
|
}
|
|
23885
|
-
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23902
|
+
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$N], ["__scopeId", "data-v-c9a31970"]]);
|
|
23886
23903
|
var __glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23887
23904
|
__proto__: null,
|
|
23888
23905
|
"default": sliderWidget
|
|
23889
23906
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23890
23907
|
var slotWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23891
|
-
const _sfc_main$
|
|
23908
|
+
const _sfc_main$M = {
|
|
23892
23909
|
name: "slot-widget",
|
|
23893
23910
|
componentName: "FieldWidget",
|
|
23894
23911
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23934,11 +23951,11 @@ const _sfc_main$K = {
|
|
|
23934
23951
|
},
|
|
23935
23952
|
methods: {}
|
|
23936
23953
|
};
|
|
23937
|
-
const _hoisted_1$
|
|
23954
|
+
const _hoisted_1$w = {
|
|
23938
23955
|
key: 0,
|
|
23939
23956
|
class: "slot-title"
|
|
23940
23957
|
};
|
|
23941
|
-
function _sfc_render$
|
|
23958
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23942
23959
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
23943
23960
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
23944
23961
|
designer: $props.designer,
|
|
@@ -23956,19 +23973,19 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23956
23973
|
class: normalizeClass([!!$props.designState ? "slot-wrapper-design" : "slot-wrapper-render"])
|
|
23957
23974
|
}, [
|
|
23958
23975
|
renderSlot(_ctx.$slots, $props.field.options.name, { formModel: _ctx.formModel }, void 0, true),
|
|
23959
|
-
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23976
|
+
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$w, toDisplayString($props.field.options.label), 1)) : createCommentVNode("", true)
|
|
23960
23977
|
], 2)
|
|
23961
23978
|
]),
|
|
23962
23979
|
_: 3
|
|
23963
23980
|
}, 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"]);
|
|
23964
23981
|
}
|
|
23965
|
-
var slotWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23982
|
+
var slotWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-95f13fca"]]);
|
|
23966
23983
|
var __glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23967
23984
|
__proto__: null,
|
|
23968
23985
|
"default": slotWidget
|
|
23969
23986
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23970
23987
|
var staticTextWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23971
|
-
const _sfc_main$
|
|
23988
|
+
const _sfc_main$L = {
|
|
23972
23989
|
name: "static-text-widget",
|
|
23973
23990
|
componentName: "FieldWidget",
|
|
23974
23991
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24054,7 +24071,7 @@ const _sfc_main$J = {
|
|
|
24054
24071
|
}
|
|
24055
24072
|
}
|
|
24056
24073
|
};
|
|
24057
|
-
function _sfc_render$
|
|
24074
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24058
24075
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24059
24076
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
24060
24077
|
designer: $props.designer,
|
|
@@ -24081,13 +24098,13 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24081
24098
|
_: 1
|
|
24082
24099
|
}, 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"]);
|
|
24083
24100
|
}
|
|
24084
|
-
var staticTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24101
|
+
var staticTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$L], ["__scopeId", "data-v-760822b6"]]);
|
|
24085
24102
|
var __glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24086
24103
|
__proto__: null,
|
|
24087
24104
|
"default": staticTextWidget
|
|
24088
24105
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24089
24106
|
var switchWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24090
|
-
const _sfc_main$
|
|
24107
|
+
const _sfc_main$K = {
|
|
24091
24108
|
name: "switch-widget",
|
|
24092
24109
|
componentName: "FieldWidget",
|
|
24093
24110
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24142,7 +24159,7 @@ const _sfc_main$I = {
|
|
|
24142
24159
|
},
|
|
24143
24160
|
methods: {}
|
|
24144
24161
|
};
|
|
24145
|
-
function _sfc_render$
|
|
24162
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24146
24163
|
const _component_el_switch = resolveComponent("el-switch");
|
|
24147
24164
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24148
24165
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24174,13 +24191,13 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24174
24191
|
_: 1
|
|
24175
24192
|
}, 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"]);
|
|
24176
24193
|
}
|
|
24177
|
-
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24194
|
+
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-2e8d2d0a"]]);
|
|
24178
24195
|
var __glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24179
24196
|
__proto__: null,
|
|
24180
24197
|
"default": switchWidget
|
|
24181
24198
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24182
24199
|
var textareaWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24183
|
-
const _sfc_main$
|
|
24200
|
+
const _sfc_main$J = {
|
|
24184
24201
|
name: "textarea-widget",
|
|
24185
24202
|
componentName: "FieldWidget",
|
|
24186
24203
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24235,7 +24252,7 @@ const _sfc_main$H = {
|
|
|
24235
24252
|
},
|
|
24236
24253
|
methods: {}
|
|
24237
24254
|
};
|
|
24238
|
-
function _sfc_render$
|
|
24255
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24239
24256
|
const _component_el_input = resolveComponent("el-input");
|
|
24240
24257
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24241
24258
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24273,13 +24290,13 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24273
24290
|
_: 1
|
|
24274
24291
|
}, 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"]);
|
|
24275
24292
|
}
|
|
24276
|
-
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24293
|
+
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-687fedce"]]);
|
|
24277
24294
|
var __glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24278
24295
|
__proto__: null,
|
|
24279
24296
|
"default": textareaWidget
|
|
24280
24297
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24281
24298
|
var timeRangeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24282
|
-
const _sfc_main$
|
|
24299
|
+
const _sfc_main$I = {
|
|
24283
24300
|
name: "time-range-widget",
|
|
24284
24301
|
componentName: "FieldWidget",
|
|
24285
24302
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24334,7 +24351,7 @@ const _sfc_main$G = {
|
|
|
24334
24351
|
},
|
|
24335
24352
|
methods: {}
|
|
24336
24353
|
};
|
|
24337
|
-
function _sfc_render$
|
|
24354
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24338
24355
|
const _component_el_time_picker = resolveComponent("el-time-picker");
|
|
24339
24356
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24340
24357
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24377,13 +24394,13 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24377
24394
|
_: 1
|
|
24378
24395
|
}, 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"]);
|
|
24379
24396
|
}
|
|
24380
|
-
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24397
|
+
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-f78e9b46"]]);
|
|
24381
24398
|
var __glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24382
24399
|
__proto__: null,
|
|
24383
24400
|
"default": timeRangeWidget
|
|
24384
24401
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24385
24402
|
var timeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24386
|
-
const _sfc_main$
|
|
24403
|
+
const _sfc_main$H = {
|
|
24387
24404
|
name: "time-widget",
|
|
24388
24405
|
componentName: "FieldWidget",
|
|
24389
24406
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24438,7 +24455,7 @@ const _sfc_main$F = {
|
|
|
24438
24455
|
},
|
|
24439
24456
|
methods: {}
|
|
24440
24457
|
};
|
|
24441
|
-
function _sfc_render$
|
|
24458
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24442
24459
|
const _component_el_time_picker = resolveComponent("el-time-picker");
|
|
24443
24460
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24444
24461
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24475,7 +24492,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24475
24492
|
_: 1
|
|
24476
24493
|
}, 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"]);
|
|
24477
24494
|
}
|
|
24478
|
-
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24495
|
+
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-60cd3a6a"]]);
|
|
24479
24496
|
var __glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24480
24497
|
__proto__: null,
|
|
24481
24498
|
"default": timeWidget
|
|
@@ -24487,7 +24504,7 @@ for (const path in modules$2) {
|
|
|
24487
24504
|
comps[cname] = modules$2[path].default;
|
|
24488
24505
|
}
|
|
24489
24506
|
var gridColItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24490
|
-
const _sfc_main$
|
|
24507
|
+
const _sfc_main$G = {
|
|
24491
24508
|
name: "GridColItem",
|
|
24492
24509
|
componentName: "ContainerItem",
|
|
24493
24510
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -24640,9 +24657,9 @@ const _sfc_main$E = {
|
|
|
24640
24657
|
}
|
|
24641
24658
|
}
|
|
24642
24659
|
};
|
|
24643
|
-
const _hoisted_1$
|
|
24644
|
-
const _hoisted_2$
|
|
24645
|
-
function _sfc_render$
|
|
24660
|
+
const _hoisted_1$v = { class: "blank-cell" };
|
|
24661
|
+
const _hoisted_2$m = { class: "invisible-content" };
|
|
24662
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24646
24663
|
const _component_el_col = resolveComponent("el-col");
|
|
24647
24664
|
return $props.widget ? withDirectives((openBlock(), createBlock(_component_el_col, mergeProps({
|
|
24648
24665
|
key: 0,
|
|
@@ -24698,8 +24715,8 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24698
24715
|
], 64);
|
|
24699
24716
|
}), 256)) : (openBlock(), createBlock(_component_el_col, { key: 1 }, {
|
|
24700
24717
|
default: withCtx(() => [
|
|
24701
|
-
createElementVNode("div", _hoisted_1$
|
|
24702
|
-
createElementVNode("span", _hoisted_2$
|
|
24718
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
24719
|
+
createElementVNode("span", _hoisted_2$m, toDisplayString(_ctx.i18nt("render.hint.blankCellContent")), 1)
|
|
24703
24720
|
])
|
|
24704
24721
|
]),
|
|
24705
24722
|
_: 1
|
|
@@ -24710,7 +24727,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24710
24727
|
[vShow, $options.colVisible]
|
|
24711
24728
|
]) : createCommentVNode("", true);
|
|
24712
24729
|
}
|
|
24713
|
-
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
24730
|
+
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-20705201"]]);
|
|
24714
24731
|
var __glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24715
24732
|
__proto__: null,
|
|
24716
24733
|
"default": GridColItem
|
|
@@ -24904,7 +24921,7 @@ var containerItemMixin = {
|
|
|
24904
24921
|
}
|
|
24905
24922
|
}
|
|
24906
24923
|
};
|
|
24907
|
-
const _sfc_main$
|
|
24924
|
+
const _sfc_main$F = {
|
|
24908
24925
|
name: "vf-grid-item",
|
|
24909
24926
|
componentName: "ContainerItem",
|
|
24910
24927
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -24947,7 +24964,7 @@ const _sfc_main$D = {
|
|
|
24947
24964
|
},
|
|
24948
24965
|
methods: {}
|
|
24949
24966
|
};
|
|
24950
|
-
function _sfc_render$
|
|
24967
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24951
24968
|
const _component_grid_col_item = resolveComponent("grid-col-item");
|
|
24952
24969
|
const _component_el_row = resolveComponent("el-row");
|
|
24953
24970
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -24993,13 +25010,13 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24993
25010
|
_: 3
|
|
24994
25011
|
}, 8, ["widget"]);
|
|
24995
25012
|
}
|
|
24996
|
-
var gridItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25013
|
+
var gridItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$F]]);
|
|
24997
25014
|
var __glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24998
25015
|
__proto__: null,
|
|
24999
25016
|
"default": gridItem
|
|
25000
25017
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25001
25018
|
var subFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25002
|
-
const _sfc_main$
|
|
25019
|
+
const _sfc_main$E = {
|
|
25003
25020
|
name: "sub-form-item",
|
|
25004
25021
|
componentName: "ContainerItem",
|
|
25005
25022
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25200,8 +25217,8 @@ const _sfc_main$C = {
|
|
|
25200
25217
|
}
|
|
25201
25218
|
}
|
|
25202
25219
|
};
|
|
25203
|
-
const _hoisted_1$
|
|
25204
|
-
const _hoisted_2$
|
|
25220
|
+
const _hoisted_1$u = { class: "action-header-column" };
|
|
25221
|
+
const _hoisted_2$l = { class: "action-label" };
|
|
25205
25222
|
const _hoisted_3$h = {
|
|
25206
25223
|
key: 0,
|
|
25207
25224
|
class: "custom-label"
|
|
@@ -25213,7 +25230,7 @@ const _hoisted_7$a = {
|
|
|
25213
25230
|
key: 0,
|
|
25214
25231
|
class: "row-number-span"
|
|
25215
25232
|
};
|
|
25216
|
-
function _sfc_render$
|
|
25233
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25217
25234
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
25218
25235
|
const _component_el_button = resolveComponent("el-button");
|
|
25219
25236
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
@@ -25227,8 +25244,8 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25227
25244
|
}, [
|
|
25228
25245
|
createVNode(_component_el_row, { class: "header-row" }, {
|
|
25229
25246
|
default: withCtx(() => [
|
|
25230
|
-
createElementVNode("div", _hoisted_1$
|
|
25231
|
-
createElementVNode("span", _hoisted_2$
|
|
25247
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
25248
|
+
createElementVNode("span", _hoisted_2$l, toDisplayString(_ctx.i18nt("render.hint.subFormAction")), 1),
|
|
25232
25249
|
createVNode(_component_el_button, {
|
|
25233
25250
|
disabled: $data.actionDisabled,
|
|
25234
25251
|
round: "",
|
|
@@ -25375,12 +25392,12 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25375
25392
|
_: 1
|
|
25376
25393
|
}, 8, ["widget"]);
|
|
25377
25394
|
}
|
|
25378
|
-
var subFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25395
|
+
var subFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-59c24e8e"]]);
|
|
25379
25396
|
var __glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25380
25397
|
__proto__: null,
|
|
25381
25398
|
"default": subFormItem
|
|
25382
25399
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25383
|
-
const _sfc_main$
|
|
25400
|
+
const _sfc_main$D = {
|
|
25384
25401
|
name: "tab-item",
|
|
25385
25402
|
componentName: "ContainerItem",
|
|
25386
25403
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25431,7 +25448,7 @@ const _sfc_main$B = {
|
|
|
25431
25448
|
}
|
|
25432
25449
|
}
|
|
25433
25450
|
};
|
|
25434
|
-
function _sfc_render$
|
|
25451
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25435
25452
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
25436
25453
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
25437
25454
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -25506,13 +25523,13 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25506
25523
|
_: 3
|
|
25507
25524
|
}, 8, ["widget"]);
|
|
25508
25525
|
}
|
|
25509
|
-
var tabItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25526
|
+
var tabItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render$D]]);
|
|
25510
25527
|
var __glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25511
25528
|
__proto__: null,
|
|
25512
25529
|
"default": tabItem
|
|
25513
25530
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25514
25531
|
var tableCellItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25515
|
-
const _sfc_main$
|
|
25532
|
+
const _sfc_main$C = {
|
|
25516
25533
|
name: "TableCellItem",
|
|
25517
25534
|
componentName: "ContainerItem",
|
|
25518
25535
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -25535,8 +25552,8 @@ const _sfc_main$A = {
|
|
|
25535
25552
|
},
|
|
25536
25553
|
methods: {}
|
|
25537
25554
|
};
|
|
25538
|
-
const _hoisted_1$
|
|
25539
|
-
function _sfc_render$
|
|
25555
|
+
const _hoisted_1$t = ["colspan", "rowspan"];
|
|
25556
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25540
25557
|
return openBlock(), createElementBlock("td", {
|
|
25541
25558
|
class: normalizeClass(["table-cell", [$options.customClass]]),
|
|
25542
25559
|
colspan: $props.widget && $props.widget.options ? $props.widget.options.colspan || 1 : 1,
|
|
@@ -25578,15 +25595,15 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25578
25595
|
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
25579
25596
|
], 64);
|
|
25580
25597
|
}), 256))
|
|
25581
|
-
], 14, _hoisted_1$
|
|
25598
|
+
], 14, _hoisted_1$t);
|
|
25582
25599
|
}
|
|
25583
|
-
var TableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25600
|
+
var TableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-7d6166fa"]]);
|
|
25584
25601
|
var __glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25585
25602
|
__proto__: null,
|
|
25586
25603
|
"default": TableCellItem
|
|
25587
25604
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25588
25605
|
var tableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25589
|
-
const _sfc_main$
|
|
25606
|
+
const _sfc_main$B = {
|
|
25590
25607
|
name: "table-item",
|
|
25591
25608
|
componentName: "ContainerItem",
|
|
25592
25609
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25608,7 +25625,7 @@ const _sfc_main$z = {
|
|
|
25608
25625
|
},
|
|
25609
25626
|
methods: {}
|
|
25610
25627
|
};
|
|
25611
|
-
function _sfc_render$
|
|
25628
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25612
25629
|
const _component_table_cell_item = resolveComponent("table-cell-item");
|
|
25613
25630
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
25614
25631
|
return openBlock(), createBlock(_component_container_item_wrapper, { widget: $props.widget }, {
|
|
@@ -25658,7 +25675,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25658
25675
|
_: 3
|
|
25659
25676
|
}, 8, ["widget"]);
|
|
25660
25677
|
}
|
|
25661
|
-
var tableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25678
|
+
var tableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-3481d843"]]);
|
|
25662
25679
|
var __glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25663
25680
|
__proto__: null,
|
|
25664
25681
|
"default": tableItem
|
|
@@ -25672,8 +25689,8 @@ var ContainerItems = {
|
|
|
25672
25689
|
}
|
|
25673
25690
|
}
|
|
25674
25691
|
};
|
|
25675
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
25676
|
-
const _sfc_main$
|
|
25692
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
25693
|
+
const _sfc_main$A = {
|
|
25677
25694
|
name: "VFormRender",
|
|
25678
25695
|
componentName: "VFormRender",
|
|
25679
25696
|
mixins: [emitter, i18n$1],
|
|
@@ -25879,8 +25896,42 @@ const _sfc_main$y = {
|
|
|
25879
25896
|
}
|
|
25880
25897
|
} else if (!!wItem.formItemFlag) {
|
|
25881
25898
|
if (!this.formData.hasOwnProperty(wItem.options.name)) {
|
|
25882
|
-
|
|
25883
|
-
|
|
25899
|
+
if (wItem.options.fetchApi) {
|
|
25900
|
+
if (["select", "select-tree", "cascader"].includes(wItem.type)) {
|
|
25901
|
+
let fetchConfig;
|
|
25902
|
+
try {
|
|
25903
|
+
fetchConfig = JSON.parse(wItem.options.fetchApi);
|
|
25904
|
+
} catch (e) {
|
|
25905
|
+
console.error("fetchApi \u89E3\u6790\u5931\u8D25", e);
|
|
25906
|
+
return;
|
|
25907
|
+
}
|
|
25908
|
+
const url = fetchConfig.api.replace("${window.investPlanCode}", "SJZC00120268863");
|
|
25909
|
+
service({
|
|
25910
|
+
url,
|
|
25911
|
+
method: fetchConfig.method,
|
|
25912
|
+
params: __spreadValues({}, fetchConfig.query)
|
|
25913
|
+
}).then(({ data: data2 }) => {
|
|
25914
|
+
var _a2;
|
|
25915
|
+
const isTreeType = ["select-tree", "cascader"].includes(wItem.type);
|
|
25916
|
+
const list = isTreeType ? data2 || [] : (data2 || []).map((item) => ({
|
|
25917
|
+
label: item.label || item.userName || item.name || item.deptName || item.projectName,
|
|
25918
|
+
value: item.valueItem || item.userId || item.deptId || item.id || item.projectCode
|
|
25919
|
+
}));
|
|
25920
|
+
const ref2 = (_a2 = this.$refs[wItem.options.name]) == null ? void 0 : _a2[0];
|
|
25921
|
+
if (ref2)
|
|
25922
|
+
ref2.selectList = list;
|
|
25923
|
+
}).catch((err) => {
|
|
25924
|
+
var _a2;
|
|
25925
|
+
console.error("\u83B7\u53D6\u9009\u9879\u5931\u8D25", err);
|
|
25926
|
+
const ref2 = (_a2 = this.$refs[wItem.options.name]) == null ? void 0 : _a2[0];
|
|
25927
|
+
if (ref2)
|
|
25928
|
+
ref2.selectList = null;
|
|
25929
|
+
});
|
|
25930
|
+
}
|
|
25931
|
+
} else {
|
|
25932
|
+
const initVal = wItem.type === "static-text" ? (_a = wItem.options.textContent) != null ? _a : "" : wItem.options.defaultValue;
|
|
25933
|
+
this.formDataModel[wItem.options.name] = initVal;
|
|
25934
|
+
}
|
|
25884
25935
|
} else {
|
|
25885
25936
|
let initialValue = this.formData[wItem.options.name];
|
|
25886
25937
|
this.formDataModel[wItem.options.name] = deepClone(initialValue);
|
|
@@ -26468,7 +26519,7 @@ const _sfc_main$y = {
|
|
|
26468
26519
|
}
|
|
26469
26520
|
}
|
|
26470
26521
|
};
|
|
26471
|
-
function _sfc_render$
|
|
26522
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26472
26523
|
const _component_el_form = resolveComponent("el-form");
|
|
26473
26524
|
return openBlock(), createBlock(_component_el_form, {
|
|
26474
26525
|
"label-position": $options.labelPosition,
|
|
@@ -26505,6 +26556,8 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26505
26556
|
designer: null,
|
|
26506
26557
|
key: widget.id,
|
|
26507
26558
|
"parent-list": $options.widgetList,
|
|
26559
|
+
ref_for: true,
|
|
26560
|
+
ref: widget.id,
|
|
26508
26561
|
"index-of-parent-list": index2,
|
|
26509
26562
|
"parent-widget": null
|
|
26510
26563
|
}, createSlots({ _: 2 }, [
|
|
@@ -26523,7 +26576,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26523
26576
|
_: 3
|
|
26524
26577
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
26525
26578
|
}
|
|
26526
|
-
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
26579
|
+
var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["render", _sfc_render$A], ["__scopeId", "data-v-4fac61a7"]]);
|
|
26527
26580
|
function registerIcon(app) {
|
|
26528
26581
|
app.component("el-icon-edit", edit);
|
|
26529
26582
|
app.component("el-icon-minus", minus);
|
|
@@ -26538,13 +26591,13 @@ function registerIcon(app) {
|
|
|
26538
26591
|
if (typeof window !== "undefined") {
|
|
26539
26592
|
let loadSvg = function() {
|
|
26540
26593
|
var body = document.body;
|
|
26541
|
-
var svgDom = document.getElementById("
|
|
26594
|
+
var svgDom = document.getElementById("__svg__icons__dom__1782180404758__");
|
|
26542
26595
|
if (!svgDom) {
|
|
26543
26596
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26544
26597
|
svgDom.style.position = "absolute";
|
|
26545
26598
|
svgDom.style.width = "0";
|
|
26546
26599
|
svgDom.style.height = "0";
|
|
26547
|
-
svgDom.id = "
|
|
26600
|
+
svgDom.id = "__svg__icons__dom__1782180404758__";
|
|
26548
26601
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26549
26602
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26550
26603
|
}
|
|
@@ -26818,7 +26871,7 @@ var containerMixin = {
|
|
|
26818
26871
|
}
|
|
26819
26872
|
};
|
|
26820
26873
|
var containerWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26821
|
-
const _sfc_main$
|
|
26874
|
+
const _sfc_main$z = {
|
|
26822
26875
|
name: "container-wrapper",
|
|
26823
26876
|
mixins: [i18n$1, containerMixin],
|
|
26824
26877
|
components: {
|
|
@@ -26837,11 +26890,11 @@ const _sfc_main$x = {
|
|
|
26837
26890
|
}
|
|
26838
26891
|
}
|
|
26839
26892
|
};
|
|
26840
|
-
const _hoisted_1$
|
|
26893
|
+
const _hoisted_1$s = {
|
|
26841
26894
|
key: 0,
|
|
26842
26895
|
class: "container-action"
|
|
26843
26896
|
};
|
|
26844
|
-
const _hoisted_2$
|
|
26897
|
+
const _hoisted_2$k = ["title"];
|
|
26845
26898
|
const _hoisted_3$g = ["title"];
|
|
26846
26899
|
const _hoisted_4$d = ["title"];
|
|
26847
26900
|
const _hoisted_5$b = ["title"];
|
|
@@ -26854,19 +26907,19 @@ const _hoisted_9$5 = {
|
|
|
26854
26907
|
};
|
|
26855
26908
|
const _hoisted_10$3 = ["title"];
|
|
26856
26909
|
const _hoisted_11$1 = { key: 0 };
|
|
26857
|
-
function _sfc_render$
|
|
26910
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26858
26911
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
26859
26912
|
return openBlock(), createElementBlock("div", {
|
|
26860
26913
|
class: normalizeClass(["container-wrapper", [$options.customClass]])
|
|
26861
26914
|
}, [
|
|
26862
26915
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
26863
|
-
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26916
|
+
$props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
26864
26917
|
createElementVNode("i", {
|
|
26865
26918
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
26866
26919
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectParentWidget($props.widget), ["stop"]))
|
|
26867
26920
|
}, [
|
|
26868
26921
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
26869
|
-
], 8, _hoisted_2$
|
|
26922
|
+
], 8, _hoisted_2$k),
|
|
26870
26923
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
26871
26924
|
key: 0,
|
|
26872
26925
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
@@ -26922,7 +26975,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26922
26975
|
])) : createCommentVNode("", true)
|
|
26923
26976
|
], 2);
|
|
26924
26977
|
}
|
|
26925
|
-
var ContainerWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
26978
|
+
var ContainerWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-679de05a"]]);
|
|
26926
26979
|
var __glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26927
26980
|
__proto__: null,
|
|
26928
26981
|
"default": ContainerWrapper
|
|
@@ -26952,7 +27005,7 @@ var refMixinDesign = {
|
|
|
26952
27005
|
}
|
|
26953
27006
|
};
|
|
26954
27007
|
var cardWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26955
|
-
const _sfc_main$
|
|
27008
|
+
const _sfc_main$y = {
|
|
26956
27009
|
name: "card-widget",
|
|
26957
27010
|
componentName: "ContainerWidget",
|
|
26958
27011
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -26992,9 +27045,9 @@ const _sfc_main$w = {
|
|
|
26992
27045
|
}
|
|
26993
27046
|
}
|
|
26994
27047
|
};
|
|
26995
|
-
const _hoisted_1$
|
|
26996
|
-
const _hoisted_2$
|
|
26997
|
-
function _sfc_render$
|
|
27048
|
+
const _hoisted_1$r = { class: "label" };
|
|
27049
|
+
const _hoisted_2$j = { class: "form-widget-list" };
|
|
27050
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26998
27051
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
26999
27052
|
const _component_el_icon = resolveComponent("el-icon");
|
|
27000
27053
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -27028,7 +27081,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27028
27081
|
]),
|
|
27029
27082
|
_: 1
|
|
27030
27083
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
27031
|
-
createElementVNode("div", _hoisted_1$
|
|
27084
|
+
createElementVNode("div", _hoisted_1$r, toDisplayString($props.widget.options.label), 1)
|
|
27032
27085
|
])
|
|
27033
27086
|
]),
|
|
27034
27087
|
default: withCtx(() => [
|
|
@@ -27044,7 +27097,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27044
27097
|
move: $options.checkContainerMove
|
|
27045
27098
|
}), {
|
|
27046
27099
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
27047
|
-
createElementVNode("div", _hoisted_2$
|
|
27100
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
27048
27101
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
27049
27102
|
widget: subWidget,
|
|
27050
27103
|
designer: $props.designer,
|
|
@@ -27072,9 +27125,9 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27072
27125
|
_: 1
|
|
27073
27126
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
27074
27127
|
}
|
|
27075
|
-
var CardWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27128
|
+
var CardWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-2c3be1b8"]]);
|
|
27076
27129
|
var cardItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
27077
|
-
const _sfc_main$
|
|
27130
|
+
const _sfc_main$x = {
|
|
27078
27131
|
name: "card-item",
|
|
27079
27132
|
componentName: "ContainerItem",
|
|
27080
27133
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -27104,8 +27157,8 @@ const _sfc_main$v = {
|
|
|
27104
27157
|
}
|
|
27105
27158
|
}
|
|
27106
27159
|
};
|
|
27107
|
-
const _hoisted_1$
|
|
27108
|
-
function _sfc_render$
|
|
27160
|
+
const _hoisted_1$q = { class: "label" };
|
|
27161
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27109
27162
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
27110
27163
|
const _component_el_icon = resolveComponent("el-icon");
|
|
27111
27164
|
const _component_el_card = resolveComponent("el-card");
|
|
@@ -27132,7 +27185,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27132
27185
|
]),
|
|
27133
27186
|
_: 1
|
|
27134
27187
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
27135
|
-
createElementVNode("div", _hoisted_1$
|
|
27188
|
+
createElementVNode("div", _hoisted_1$q, toDisplayString($props.widget.options.label), 1)
|
|
27136
27189
|
])
|
|
27137
27190
|
]),
|
|
27138
27191
|
default: withCtx(() => [
|
|
@@ -27181,9 +27234,9 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27181
27234
|
_: 3
|
|
27182
27235
|
}, 8, ["widget"]);
|
|
27183
27236
|
}
|
|
27184
|
-
var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27237
|
+
var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["render", _sfc_render$x], ["__scopeId", "data-v-2f0daae4"]]);
|
|
27185
27238
|
const ACE_BASE_PATH = "https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini";
|
|
27186
|
-
const _sfc_main$
|
|
27239
|
+
const _sfc_main$w = {
|
|
27187
27240
|
name: "alert-widget",
|
|
27188
27241
|
componentName: "FieldWidget",
|
|
27189
27242
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -27229,7 +27282,7 @@ const _sfc_main$u = {
|
|
|
27229
27282
|
}
|
|
27230
27283
|
}
|
|
27231
27284
|
};
|
|
27232
|
-
function _sfc_render$
|
|
27285
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27233
27286
|
const _component_el_alert = resolveComponent("el-alert");
|
|
27234
27287
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
27235
27288
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -27260,7 +27313,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27260
27313
|
_: 1
|
|
27261
27314
|
}, 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"]);
|
|
27262
27315
|
}
|
|
27263
|
-
var AlertWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27316
|
+
var AlertWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$w]]);
|
|
27264
27317
|
var cryptoJs = { exports: {} };
|
|
27265
27318
|
var core = { exports: {} };
|
|
27266
27319
|
(function(module, exports) {
|
|
@@ -32559,7 +32612,7 @@ var personTree = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGlu
|
|
|
32559
32612
|
var personIcon = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT7nvJbnu4QgOOWkh+S7vSAyPC90aXRsZT4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDIzLjk5OTk1NzEgMjQgMjMuOTk5OTU3MSAyNCAwIDAgMCI+PC9wb2x5Z29uPg0KICAgIDwvZGVmcz4NCiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0i5Zu+5bqTIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzc5LCAtODcpIj4NCiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOOWkh+S7vS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NzksIDg3KSI+DQogICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgIDwvbWFzaz4NCiAgICAgICAgICAgICAgICA8dXNlIGlkPSLokpnniYgiIGZpbGw9IiNFM0U2RjEiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOCIgbWFzaz0idXJsKCNtYXNrLTIpIj4NCiAgICAgICAgICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIuMjgxOCwgMi4yNTc2KSI+DQogICAgICAgICAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iRmlsbC0yIiBmaWxsPSIjRkRFRUVBIiBwb2ludHM9IjEyLjIxNzA4ODIgMTguOTc4MDExIDE2LjM0NjU4MDggMTguOTc4MDExIDE2LjM0NjU4MDggMTMuOTkzMjYyOCAxMi4yMTcwODgyIDEzLjk5MzI2MjgiPjwvcG9seWdvbj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtNiIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTMuOTMyMjcwOCwzLjMzNTQ5NDY2IEwxNy44NTY1NjM4LDMuNzE5NjY1NCBMMjEuMDM2NjAxLDcuMzA1Njg3NTcgQzIxLjAzNjYwMSw3LjMwNTY4NzU3IDIxLjA1MTM0OSw3LjQxMjQwNzk0IDIxLjA2NjI2NzksNy41OTIxMzY2NCBDMjEuNTQ1NjQyOCw3Ljc1OTM3ODQ1IDIxLjg5MzYxOCw4LjI1NDkwNTE4IDIxLjg5MzYxOCw4Ljg0MDIzMTk3IEMyMS44OTM2MTgsOS41MDY4MDY3NyAyMS40NDIzMzQ3LDEwLjA1NjkyMTMgMjAuODU4ODY1NCwxMC4xMzgwMTY1IEMyMC40MzcwNzIzLDExLjU1MDQ3MTQgMTguNzA0NDc3MiwxNi4wNTQ0ODYyIDE0LjI0Mjk4NDYsMTYuMDU0NDg2MiBDOS43OTU0NjA4OSwxNi4wNTQ0ODYyIDguMTA2NDY3NDksMTEuMzgxNjA0OCA3LjY0NTA2NDUsMTAuMTI2NDE1NCBDNy4wOTA5MTA3MywxMC4wMTkwNTA5IDYuNjcwMDUwOTUsOS40ODM5NDU5MyA2LjY3MDA1MDk1LDguODQwMjMxOTcgQzYuNjcwMDUwOTUsOC4yNTIwNTk5NyA3LjAyMTQxNzM4LDcuNzU0NTYzMTggNy41MDQ5MjUzNyw3LjU4OTk1NTEzIEw3LjUwNDUxMzc1LDcuNDg5Mjg3MjQgTDkuMDM4MTY1MjksNS42MzA0MDQ4NSBMMTMuOTMyMjcwOCwzLjMzNTQ5NDY2IFoiIGlkPSLlvaLnirbnu5PlkIgiIGZpbGw9IiNGRkY1RjQiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy41MDQ1MjUxNyw3LjQ4OTI3ODY3IEM3LjIwNDk1NDI4LDUuNzQ1MTY3NSA3LjYzMjg4MjA4LDIuNjE5ODU4OCAxMC43MDcxMDUyLDAuODExMTE5MTY4IEMxMy43OTI0NzExLC0xLjAwNDIyMDQ1IDE4LjEyNzIwNjIsMC42Mjc1MTk0OTYgMTguMTA0NjIwNSwxLjgyMDg3NDUxIEMxOC45MzkzMDQ4LDEuNzg3ODc0NTcgMjEuMzczMjQzMywyLjQ2NjE3MzM2IDIxLjAzNjYwMSw3LjMwNTY3OSBDMjAuNjk4Mjg3Myw3LjI4Mjc1MDQ3IDE3LjgzNDAyMSw3LjA1MzI1MDg4IDE2LjQxMzEzNzgsNC42NDM2MTIzMiBDMTUuOTg0NjEsNS4wMzM3NDAyIDEzLjk3NzM1NjUsNi42NDAxNTE2MiAxMS4wNDU0MTg4LDYuODY5NjUxMjEgQzkuNjI0NTM1NjcsNi45ODQzNzk1NyA3Ljg2NTM4MTY3LDYuOTM4NDc5NjUgNy41MDQ1MjUxNyw3LjQ4OTI3ODY3IiBpZD0iRmlsbC01IiBmaWxsPSIjNjQ2NjdBIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI4LjU2MzY3NzYsMjcuODAyMDY2NyBDMjguNTYzNjc3NiwzMy4zOTI5NDI0IDIxLjU0NDc2MTUsMzcuOTI1MjQ4NiAxNC4yODE4MTc0LDM3LjkyNTI0ODYgQzcuMDE4OTE2MDQsMzcuOTI1MjQ4NiAwLDMzLjM5Mjk0MjQgMCwyNy44MDIwNjY3IEMwLDIzLjI5MzUwMzMgMS40MDE0Njg5MywxNy45MTEyMTI5IDEzLjQyNjAwNDYsMTcuNjg2MTcwNSBDMTMuNTA5NjE4NywxNy45NTMyOTg2IDEzLjk2NjIxNzksMTguMzAwMTQwOCAxNC4yMzUxODg5LDE4LjMwMDE0MDggQzE0LjQ4Mjk0NTYsMTguMzAwMTQwOCAxNS4wOTIzMzAyLDE4LjA2MDk1NTUgMTUuMDgwNDE1OSwxNy42ODUyMjc2IEMyNy4xNjEyMjI5LDE3Ljg5ODA5ODcgMjguNTYzNjc3NiwyMy40MTgzNDU5IDI4LjU2MzY3NzYsMjcuODAyMDY2NyIgaWQ9IkZpbGwtMTEiIGZpbGw9IiM2NDY2N0EiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTEuODU2MTQxNywxNi41NzcwMTY3IEwxMS4wODcyNDMxLDE3LjM0NDU4NjggQzExLjAwNDIyODksMTcuNDI3NTE1MiAxMC45ODE3NzE4LDE3LjU0OTc4NjQgMTEuMDMwMzcxNywxNy42NTQ1NzE5IEwxMi40NTI2MjYzLDIwLjcxOTgzNzkgQzEyLjUwMDI4MzQsMjAuODIyNTY2MyAxMi42MDcyMTE4LDIwLjg4ODgyMzMgMTIuNzI1MjQwMSwyMC44ODg4MjMzIEwxNS44MzE2OTE3LDIwLjg4ODgyMzMgQzE1Ljk0OTA3NzIsMjAuODg4ODIzMyAxNi4wNTU1MzQyLDIwLjgyMzI5NDkgMTYuMTAzNTc3LDIwLjcyMTQyMzYgTDE3LjUzMjU2MDEsMTcuNjkxMzQzMyBDMTcuNTgzMTc0MywxNy41ODQwMjkyIDE3LjU1ODgzMTUsMTcuNDU4MTE1MiAxNy40NzE0MDMxLDE3LjM3NDkyOTYgTDE2LjYyMzczMzIsMTYuNTY4NjE2NyBDMTYuNTA2ODE5MSwxNi40NTc0MDI3IDE2LjMxNzAwNTEsMTYuNDU4MDAyNyAxNi4yMDA4NjI1LDE2LjU3MDAzMSBMMTQuOTI5MjA3NiwxNy43OTY3Mjg4IEMxNC44NzMxOTM0LDE3Ljg1MDcyODcgMTQuNzk2Nzc5MywxNy44ODExNTczIDE0LjcxNzAyMjMsMTcuODgxMTU3MyBMMTMuNzgyMTM4MiwxNy44ODExNTczIEMxMy43MDMxMDk4LDE3Ljg4MTE1NzMgMTMuNjI3MzM4NSwxNy44NTEyODU5IDEzLjU3MTQ1MjksMTcuNzk4MTQzMSBMMTIuMjgyNTY5NSwxNi41NzIxMzEgQzEyLjE2NDE5ODMsMTYuNDU5NTQ1NSAxMS45NzE1OTg2LDE2LjQ2MTczMTIgMTEuODU2MTQxNywxNi41NzcwMTY3IiBpZD0iRmlsbC0xMyIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xNC41NTEwNTQsMTcuODU1OTc4NyBMMTQuMDE1NjgzNSwxNy44NTU5Nzg3IEMxMy44ODk4OTgxLDE3Ljg1NTk3ODcgMTMuNzgwMTQxMSwxNy45NDExMzU3IDEzLjc0ODgxMjYsMTguMDYyODkyNiBMMTIuOTg2NzI4MiwyMS4wMjY5NzMxIEMxMi45NzIwMjgzLDIxLjA4NDEwMTUgMTIuOTc2MDk5NywyMS4xNDQ0NDQzIDEyLjk5ODI1NjgsMjEuMTk5MTI5OSBMMTMuNzMyMjY5OCwyMy4wMDk0MTI0IEMxMy43NzQ0NDExLDIzLjExMzM4MzYgMTMuODc1NDEyNCwyMy4xODEzOTc4IDEzLjk4NzYxMjIsMjMuMTgxMzk3OCBMMTQuNTc5MTI1NCwyMy4xODEzOTc4IEMxNC42OTEyODIzLDIzLjE4MTM5NzggMTQuNzkyMjk2NCwyMy4xMTMzODM2IDE0LjgzNDQ2NzgsMjMuMDA5NDEyNCBMMTUuNTY4NDgwOCwyMS4xOTkxMjk5IEMxNS41OTA2Mzc5LDIxLjE0NDQ0NDMgMTUuNTk0NjY2NCwyMS4wODQxMDE1IDE1LjU4MDAwOTMsMjEuMDI2OTczMSBMMTQuODE3OTI1LDE4LjA2Mjg5MjYgQzE0Ljc4NjU5NjUsMTcuOTQxMTM1NyAxNC42NzY3OTY2LDE3Ljg1NTk3ODcgMTQuNTUxMDU0LDE3Ljg1NTk3ODciIGlkPSJGaWxsLTE1IiBmaWxsPSIjQTNBREMzIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=";
|
|
32560
32613
|
var personTreeItem_vue_vue_type_style_index_0_lang = "";
|
|
32561
32614
|
var personTreeItem_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
32562
|
-
const _sfc_main$
|
|
32615
|
+
const _sfc_main$v = {
|
|
32563
32616
|
name: "person-tree-widget",
|
|
32564
32617
|
componentName: "FieldWidget",
|
|
32565
32618
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -32859,10 +32912,10 @@ const _sfc_main$t = {
|
|
|
32859
32912
|
}
|
|
32860
32913
|
}
|
|
32861
32914
|
};
|
|
32862
|
-
const _hoisted_1$
|
|
32863
|
-
const _hoisted_2$
|
|
32915
|
+
const _hoisted_1$p = { class: "person-tree-widget__trigger" };
|
|
32916
|
+
const _hoisted_2$i = { class: "flex items-center" };
|
|
32864
32917
|
const _hoisted_3$f = { class: "dialog-footer" };
|
|
32865
|
-
function _sfc_render$
|
|
32918
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32866
32919
|
const _component_el_input_tag = resolveComponent("el-input-tag");
|
|
32867
32920
|
const _component_el_input = resolveComponent("el-input");
|
|
32868
32921
|
const _component_el_tree = resolveComponent("el-tree");
|
|
@@ -32887,7 +32940,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32887
32940
|
class: "person-tree-widget",
|
|
32888
32941
|
style: normalizeStyle($options.widgetStyle)
|
|
32889
32942
|
}, [
|
|
32890
|
-
createElementVNode("div", _hoisted_1$
|
|
32943
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
32891
32944
|
createVNode(_component_el_input_tag, {
|
|
32892
32945
|
modelValue: $options.displayModel,
|
|
32893
32946
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.displayModel = $event),
|
|
@@ -32900,7 +32953,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32900
32953
|
onRemoveTag: $options.handleRemoveTag
|
|
32901
32954
|
}, {
|
|
32902
32955
|
tag: withCtx(({ value: value2 }) => [
|
|
32903
|
-
createElementVNode("div", _hoisted_2$
|
|
32956
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
32904
32957
|
createElementVNode("span", null, toDisplayString(value2.name), 1)
|
|
32905
32958
|
])
|
|
32906
32959
|
]),
|
|
@@ -32982,8 +33035,8 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32982
33035
|
_: 1
|
|
32983
33036
|
}, 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"]);
|
|
32984
33037
|
}
|
|
32985
|
-
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
32986
|
-
const _sfc_main$
|
|
33038
|
+
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-2f0d2d47"]]);
|
|
33039
|
+
const _sfc_main$u = {
|
|
32987
33040
|
name: "radio-other-widget",
|
|
32988
33041
|
componentName: "FieldWidget",
|
|
32989
33042
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33098,7 +33151,7 @@ const _sfc_main$s = {
|
|
|
33098
33151
|
}
|
|
33099
33152
|
}
|
|
33100
33153
|
};
|
|
33101
|
-
function _sfc_render$
|
|
33154
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33102
33155
|
const _component_el_radio = resolveComponent("el-radio");
|
|
33103
33156
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
33104
33157
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -33154,8 +33207,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33154
33207
|
_: 1
|
|
33155
33208
|
}, 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"]);
|
|
33156
33209
|
}
|
|
33157
|
-
var radioOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33158
|
-
const _sfc_main$
|
|
33210
|
+
var radioOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u]]);
|
|
33211
|
+
const _sfc_main$t = {
|
|
33159
33212
|
name: "select-other-widget",
|
|
33160
33213
|
componentName: "FieldWidget",
|
|
33161
33214
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33264,7 +33317,7 @@ const _sfc_main$r = {
|
|
|
33264
33317
|
}
|
|
33265
33318
|
}
|
|
33266
33319
|
};
|
|
33267
|
-
function _sfc_render$
|
|
33320
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33268
33321
|
const _component_el_option = resolveComponent("el-option");
|
|
33269
33322
|
const _component_el_select = resolveComponent("el-select");
|
|
33270
33323
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -33327,9 +33380,9 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33327
33380
|
_: 1
|
|
33328
33381
|
}, 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"]);
|
|
33329
33382
|
}
|
|
33330
|
-
var selectOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33383
|
+
var selectOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$t]]);
|
|
33331
33384
|
var meetingRoomItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33332
|
-
const _sfc_main$
|
|
33385
|
+
const _sfc_main$s = {
|
|
33333
33386
|
name: "meeting-room-widget",
|
|
33334
33387
|
componentName: "FieldWidget",
|
|
33335
33388
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33488,11 +33541,11 @@ const _sfc_main$q = {
|
|
|
33488
33541
|
}
|
|
33489
33542
|
}
|
|
33490
33543
|
};
|
|
33491
|
-
const _hoisted_1$
|
|
33544
|
+
const _hoisted_1$o = {
|
|
33492
33545
|
key: 0,
|
|
33493
33546
|
class: "empty-wrap"
|
|
33494
33547
|
};
|
|
33495
|
-
const _hoisted_2$
|
|
33548
|
+
const _hoisted_2$h = {
|
|
33496
33549
|
key: 1,
|
|
33497
33550
|
class: "room-wrap"
|
|
33498
33551
|
};
|
|
@@ -33507,7 +33560,7 @@ const _hoisted_7$8 = {
|
|
|
33507
33560
|
key: 1,
|
|
33508
33561
|
class: "room-item-equipment"
|
|
33509
33562
|
};
|
|
33510
|
-
function _sfc_render$
|
|
33563
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33511
33564
|
const _component_el_input = resolveComponent("el-input");
|
|
33512
33565
|
const _component_el_empty = resolveComponent("el-empty");
|
|
33513
33566
|
const _component_Select = resolveComponent("Select");
|
|
@@ -33549,9 +33602,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33549
33602
|
]),
|
|
33550
33603
|
default: withCtx(() => [
|
|
33551
33604
|
createElementVNode("div", null, [
|
|
33552
|
-
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
33605
|
+
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
33553
33606
|
createVNode(_component_el_empty, { description: "\u6682\u65E0\u6570\u636E" })
|
|
33554
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
33607
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$h, [
|
|
33555
33608
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.roomList, (item) => {
|
|
33556
33609
|
var _a;
|
|
33557
33610
|
return openBlock(), createElementBlock("div", {
|
|
@@ -33594,9 +33647,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33594
33647
|
_: 1
|
|
33595
33648
|
}, 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"]);
|
|
33596
33649
|
}
|
|
33597
|
-
var meetingRoomItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33650
|
+
var meetingRoomItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$s], ["__scopeId", "data-v-344c32a1"]]);
|
|
33598
33651
|
var gridColWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33599
|
-
const _sfc_main$
|
|
33652
|
+
const _sfc_main$r = {
|
|
33600
33653
|
name: "GridColWidget",
|
|
33601
33654
|
componentName: "GridColWidget",
|
|
33602
33655
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -33798,8 +33851,8 @@ const _sfc_main$p = {
|
|
|
33798
33851
|
}
|
|
33799
33852
|
}
|
|
33800
33853
|
};
|
|
33801
|
-
const _hoisted_1$
|
|
33802
|
-
const _hoisted_2$
|
|
33854
|
+
const _hoisted_1$n = { class: "form-widget-list" };
|
|
33855
|
+
const _hoisted_2$g = {
|
|
33803
33856
|
key: 0,
|
|
33804
33857
|
class: "grid-col-action"
|
|
33805
33858
|
};
|
|
@@ -33816,7 +33869,7 @@ const _hoisted_9$4 = {
|
|
|
33816
33869
|
key: 0,
|
|
33817
33870
|
class: "col-hidden-tag"
|
|
33818
33871
|
};
|
|
33819
|
-
function _sfc_render$
|
|
33872
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33820
33873
|
const _component_draggable = resolveComponent("draggable");
|
|
33821
33874
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
33822
33875
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -33843,7 +33896,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33843
33896
|
move: $options.checkContainerMove
|
|
33844
33897
|
}), {
|
|
33845
33898
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
33846
|
-
createElementVNode("div", _hoisted_1$
|
|
33899
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
33847
33900
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
33848
33901
|
widget: subWidget,
|
|
33849
33902
|
designer: $props.designer,
|
|
@@ -33868,7 +33921,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33868
33921
|
]),
|
|
33869
33922
|
_: 1
|
|
33870
33923
|
}, 16, ["list", "onUpdate", "move"]),
|
|
33871
|
-
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
33924
|
+
$props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
33872
33925
|
createElementVNode("i", {
|
|
33873
33926
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
33874
33927
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget($props.widget), ["stop"]))
|
|
@@ -33912,13 +33965,13 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33912
33965
|
_: 1
|
|
33913
33966
|
}, 16, ["class", "style"])) : createCommentVNode("", true);
|
|
33914
33967
|
}
|
|
33915
|
-
var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33968
|
+
var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render$r], ["__scopeId", "data-v-cb053c20"]]);
|
|
33916
33969
|
var __glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33917
33970
|
__proto__: null,
|
|
33918
33971
|
"default": GridColWidget
|
|
33919
33972
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
33920
33973
|
var gridWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33921
|
-
const _sfc_main$
|
|
33974
|
+
const _sfc_main$q = {
|
|
33922
33975
|
name: "grid-widget",
|
|
33923
33976
|
componentName: "ContainerWidget",
|
|
33924
33977
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -33950,7 +34003,7 @@ const _sfc_main$o = {
|
|
|
33950
34003
|
},
|
|
33951
34004
|
methods: {}
|
|
33952
34005
|
};
|
|
33953
|
-
function _sfc_render$
|
|
34006
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33954
34007
|
const _component_grid_col_widget = resolveComponent("grid-col-widget");
|
|
33955
34008
|
const _component_el_row = resolveComponent("el-row");
|
|
33956
34009
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
@@ -33987,13 +34040,13 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33987
34040
|
_: 1
|
|
33988
34041
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
33989
34042
|
}
|
|
33990
|
-
var gridWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34043
|
+
var gridWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-2b4f7bb7"]]);
|
|
33991
34044
|
var __glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33992
34045
|
__proto__: null,
|
|
33993
34046
|
"default": gridWidget
|
|
33994
34047
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
33995
34048
|
var tabWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33996
|
-
const _sfc_main$
|
|
34049
|
+
const _sfc_main$p = {
|
|
33997
34050
|
name: "tab-widget",
|
|
33998
34051
|
componentName: "ContainerWidget",
|
|
33999
34052
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34036,8 +34089,8 @@ const _sfc_main$n = {
|
|
|
34036
34089
|
}
|
|
34037
34090
|
}
|
|
34038
34091
|
};
|
|
34039
|
-
const _hoisted_1$
|
|
34040
|
-
function _sfc_render$
|
|
34092
|
+
const _hoisted_1$m = { class: "form-widget-list" };
|
|
34093
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34041
34094
|
const _component_draggable = resolveComponent("draggable");
|
|
34042
34095
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
34043
34096
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
@@ -34082,7 +34135,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34082
34135
|
move: _ctx.checkContainerMove
|
|
34083
34136
|
}), {
|
|
34084
34137
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
34085
|
-
createElementVNode("div", _hoisted_1$
|
|
34138
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
34086
34139
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34087
34140
|
widget: subWidget,
|
|
34088
34141
|
designer: $props.designer,
|
|
@@ -34115,13 +34168,13 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34115
34168
|
_: 1
|
|
34116
34169
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34117
34170
|
}
|
|
34118
|
-
var tabWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34171
|
+
var tabWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-2c29f864"]]);
|
|
34119
34172
|
var __glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34120
34173
|
__proto__: null,
|
|
34121
34174
|
"default": tabWidget
|
|
34122
34175
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34123
34176
|
var tableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34124
|
-
const _sfc_main$
|
|
34177
|
+
const _sfc_main$o = {
|
|
34125
34178
|
name: "TableCellWidget",
|
|
34126
34179
|
componentName: "TableCellWidget",
|
|
34127
34180
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -34286,8 +34339,8 @@ const _sfc_main$m = {
|
|
|
34286
34339
|
}
|
|
34287
34340
|
}
|
|
34288
34341
|
};
|
|
34289
|
-
const _hoisted_1$
|
|
34290
|
-
const _hoisted_2$
|
|
34342
|
+
const _hoisted_1$l = ["colspan", "rowspan"];
|
|
34343
|
+
const _hoisted_2$f = { class: "form-widget-list" };
|
|
34291
34344
|
const _hoisted_3$c = {
|
|
34292
34345
|
key: 0,
|
|
34293
34346
|
class: "table-cell-action"
|
|
@@ -34298,7 +34351,7 @@ const _hoisted_6$8 = {
|
|
|
34298
34351
|
key: 1,
|
|
34299
34352
|
class: "table-cell-handler"
|
|
34300
34353
|
};
|
|
34301
|
-
function _sfc_render$
|
|
34354
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34302
34355
|
const _component_draggable = resolveComponent("draggable");
|
|
34303
34356
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34304
34357
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -34324,7 +34377,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34324
34377
|
move: $options.checkContainerMove
|
|
34325
34378
|
}), {
|
|
34326
34379
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
34327
|
-
createElementVNode("div", _hoisted_2$
|
|
34380
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
34328
34381
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34329
34382
|
widget: subWidget,
|
|
34330
34383
|
designer: $props.designer,
|
|
@@ -34495,15 +34548,15 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34495
34548
|
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
34496
34549
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1)
|
|
34497
34550
|
])) : createCommentVNode("", true)
|
|
34498
|
-
], 14, _hoisted_1$
|
|
34551
|
+
], 14, _hoisted_1$l);
|
|
34499
34552
|
}
|
|
34500
|
-
var TableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34553
|
+
var TableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-2dc3e6c7"]]);
|
|
34501
34554
|
var __glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34502
34555
|
__proto__: null,
|
|
34503
34556
|
"default": TableCellWidget
|
|
34504
34557
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34505
34558
|
var tableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34506
|
-
const _sfc_main$
|
|
34559
|
+
const _sfc_main$n = {
|
|
34507
34560
|
name: "table-widget",
|
|
34508
34561
|
componentName: "ContainerWidget",
|
|
34509
34562
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34535,8 +34588,8 @@ const _sfc_main$l = {
|
|
|
34535
34588
|
},
|
|
34536
34589
|
methods: {}
|
|
34537
34590
|
};
|
|
34538
|
-
const _hoisted_1$
|
|
34539
|
-
function _sfc_render$
|
|
34591
|
+
const _hoisted_1$k = { class: "table-layout" };
|
|
34592
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34540
34593
|
const _component_table_cell_widget = resolveComponent("table-cell-widget");
|
|
34541
34594
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
34542
34595
|
return openBlock(), createBlock(_component_container_wrapper, {
|
|
@@ -34552,7 +34605,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34552
34605
|
class: normalizeClass(["table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34553
34606
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34554
34607
|
}, [
|
|
34555
|
-
createElementVNode("table", _hoisted_1$
|
|
34608
|
+
createElementVNode("table", _hoisted_1$k, [
|
|
34556
34609
|
createElementVNode("tbody", null, [
|
|
34557
34610
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
34558
34611
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -34584,7 +34637,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34584
34637
|
_: 1
|
|
34585
34638
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34586
34639
|
}
|
|
34587
|
-
var tableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34640
|
+
var tableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-2fde56df"]]);
|
|
34588
34641
|
var __glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34589
34642
|
__proto__: null,
|
|
34590
34643
|
"default": tableWidget
|
|
@@ -34599,7 +34652,7 @@ var ContainerComponents = {
|
|
|
34599
34652
|
}
|
|
34600
34653
|
};
|
|
34601
34654
|
var customSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34602
|
-
const _sfc_main$
|
|
34655
|
+
const _sfc_main$m = {
|
|
34603
34656
|
name: "custom-sub-form-widget",
|
|
34604
34657
|
componentName: "ContainerWidget",
|
|
34605
34658
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34649,8 +34702,8 @@ const _sfc_main$k = {
|
|
|
34649
34702
|
}
|
|
34650
34703
|
}
|
|
34651
34704
|
};
|
|
34652
|
-
const _hoisted_1$
|
|
34653
|
-
const _hoisted_2$
|
|
34705
|
+
const _hoisted_1$j = { class: "sub-form-header" };
|
|
34706
|
+
const _hoisted_2$e = { class: "sub-form-label" };
|
|
34654
34707
|
const _hoisted_3$b = { class: "group-header" };
|
|
34655
34708
|
const _hoisted_4$9 = { class: "group-title" };
|
|
34656
34709
|
const _hoisted_5$7 = {
|
|
@@ -34668,7 +34721,7 @@ const _hoisted_10$2 = {
|
|
|
34668
34721
|
key: 0,
|
|
34669
34722
|
class: "empty-hint"
|
|
34670
34723
|
};
|
|
34671
|
-
function _sfc_render$
|
|
34724
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34672
34725
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34673
34726
|
const _component_el_button = resolveComponent("el-button");
|
|
34674
34727
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -34686,8 +34739,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34686
34739
|
class: normalizeClass(["custom-sub-form-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34687
34740
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34688
34741
|
}, [
|
|
34689
|
-
createElementVNode("div", _hoisted_1$
|
|
34690
|
-
createElementVNode("span", _hoisted_2$
|
|
34742
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
34743
|
+
createElementVNode("span", _hoisted_2$e, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
34691
34744
|
]),
|
|
34692
34745
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.previewRows, (row, rowIdx) => {
|
|
34693
34746
|
return openBlock(), createElementBlock("div", {
|
|
@@ -34775,9 +34828,9 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34775
34828
|
_: 1
|
|
34776
34829
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34777
34830
|
}
|
|
34778
|
-
var CustomSubFormWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
34831
|
+
var CustomSubFormWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-787fff1a"]]);
|
|
34779
34832
|
var customSubFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34780
|
-
const _sfc_main$
|
|
34833
|
+
const _sfc_main$l = {
|
|
34781
34834
|
name: "custom-sub-form-item",
|
|
34782
34835
|
componentName: "ContainerItem",
|
|
34783
34836
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -35144,8 +35197,8 @@ const _sfc_main$j = {
|
|
|
35144
35197
|
}
|
|
35145
35198
|
}
|
|
35146
35199
|
};
|
|
35147
|
-
const _hoisted_1$
|
|
35148
|
-
const _hoisted_2$
|
|
35200
|
+
const _hoisted_1$i = { class: "sub-form-header" };
|
|
35201
|
+
const _hoisted_2$d = { class: "sub-form-label" };
|
|
35149
35202
|
const _hoisted_3$a = { class: "group-header" };
|
|
35150
35203
|
const _hoisted_4$8 = { class: "group-title" };
|
|
35151
35204
|
const _hoisted_5$6 = {
|
|
@@ -35177,7 +35230,7 @@ const _hoisted_14 = {
|
|
|
35177
35230
|
key: 1,
|
|
35178
35231
|
class: "empty-hint"
|
|
35179
35232
|
};
|
|
35180
|
-
function _sfc_render$
|
|
35233
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35181
35234
|
const _component_el_button = resolveComponent("el-button");
|
|
35182
35235
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35183
35236
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -35187,8 +35240,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35187
35240
|
key: $props.widget.id,
|
|
35188
35241
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
35189
35242
|
}, [
|
|
35190
|
-
createElementVNode("div", _hoisted_1$
|
|
35191
|
-
createElementVNode("span", _hoisted_2$
|
|
35243
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
35244
|
+
createElementVNode("span", _hoisted_2$d, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
35192
35245
|
]),
|
|
35193
35246
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
35194
35247
|
return openBlock(), createElementBlock("div", {
|
|
@@ -35273,9 +35326,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35273
35326
|
_: 1
|
|
35274
35327
|
}, 8, ["widget"]);
|
|
35275
35328
|
}
|
|
35276
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35329
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-6bd07e4e"]]);
|
|
35277
35330
|
var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35278
|
-
const _sfc_main$
|
|
35331
|
+
const _sfc_main$k = {
|
|
35279
35332
|
name: "custom-table-cell-widget",
|
|
35280
35333
|
componentName: "CustomTableCellWidget",
|
|
35281
35334
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -35431,8 +35484,8 @@ const _sfc_main$i = {
|
|
|
35431
35484
|
}
|
|
35432
35485
|
}
|
|
35433
35486
|
};
|
|
35434
|
-
const _hoisted_1$
|
|
35435
|
-
const _hoisted_2$
|
|
35487
|
+
const _hoisted_1$h = ["colspan", "rowspan"];
|
|
35488
|
+
const _hoisted_2$c = { class: "form-widget-list" };
|
|
35436
35489
|
const _hoisted_3$9 = {
|
|
35437
35490
|
key: 0,
|
|
35438
35491
|
class: "custom-table-cell-action"
|
|
@@ -35446,7 +35499,7 @@ const _hoisted_6$5 = {
|
|
|
35446
35499
|
key: 2,
|
|
35447
35500
|
class: "empty-hint"
|
|
35448
35501
|
};
|
|
35449
|
-
function _sfc_render$
|
|
35502
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35450
35503
|
const _component_draggable = resolveComponent("draggable");
|
|
35451
35504
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35452
35505
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -35479,7 +35532,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35479
35532
|
move: $options.checkContainerMove
|
|
35480
35533
|
}), {
|
|
35481
35534
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
35482
|
-
createElementVNode("div", _hoisted_2$
|
|
35535
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
35483
35536
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
35484
35537
|
widget: subWidget,
|
|
35485
35538
|
designer: $props.designer,
|
|
@@ -35570,11 +35623,11 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35570
35623
|
createElementVNode("i", null, "\u5355\u5143\u683C", -1)
|
|
35571
35624
|
])])) : createCommentVNode("", true),
|
|
35572
35625
|
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$5, " \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")) : createCommentVNode("", true)
|
|
35573
|
-
], 14, _hoisted_1$
|
|
35626
|
+
], 14, _hoisted_1$h);
|
|
35574
35627
|
}
|
|
35575
|
-
var CustomTableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35628
|
+
var CustomTableCellWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-6e28297c"]]);
|
|
35576
35629
|
var customTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35577
|
-
const _sfc_main$
|
|
35630
|
+
const _sfc_main$j = {
|
|
35578
35631
|
name: "custom-table-widget",
|
|
35579
35632
|
componentName: "ContainerWidget",
|
|
35580
35633
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -35625,8 +35678,8 @@ const _sfc_main$h = {
|
|
|
35625
35678
|
}
|
|
35626
35679
|
}
|
|
35627
35680
|
};
|
|
35628
|
-
const _hoisted_1$
|
|
35629
|
-
function _sfc_render$
|
|
35681
|
+
const _hoisted_1$g = { class: "custom-table-layout" };
|
|
35682
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35630
35683
|
const _component_custom_table_cell_widget = resolveComponent("custom-table-cell-widget");
|
|
35631
35684
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
35632
35685
|
return openBlock(), createBlock(_component_container_wrapper, {
|
|
@@ -35642,7 +35695,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35642
35695
|
class: normalizeClass(["custom-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
35643
35696
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
35644
35697
|
}, [
|
|
35645
|
-
createElementVNode("table", _hoisted_1$
|
|
35698
|
+
createElementVNode("table", _hoisted_1$g, [
|
|
35646
35699
|
createElementVNode("tbody", null, [
|
|
35647
35700
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
35648
35701
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -35672,9 +35725,9 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35672
35725
|
_: 1
|
|
35673
35726
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
35674
35727
|
}
|
|
35675
|
-
var CustomTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35728
|
+
var CustomTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-5281c94a"]]);
|
|
35676
35729
|
var customTableCellItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35677
|
-
const _sfc_main$
|
|
35730
|
+
const _sfc_main$i = {
|
|
35678
35731
|
name: "custom-table-cell-item",
|
|
35679
35732
|
componentName: "ContainerItem",
|
|
35680
35733
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -35691,8 +35744,8 @@ const _sfc_main$g = {
|
|
|
35691
35744
|
}
|
|
35692
35745
|
}
|
|
35693
35746
|
};
|
|
35694
|
-
const _hoisted_1$
|
|
35695
|
-
function _sfc_render$
|
|
35747
|
+
const _hoisted_1$f = ["colspan", "rowspan"];
|
|
35748
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35696
35749
|
return openBlock(), createElementBlock("td", {
|
|
35697
35750
|
class: normalizeClass(["custom-table-cell", $options.customClass]),
|
|
35698
35751
|
colspan: $props.widget.options.colspan || 1,
|
|
@@ -35723,11 +35776,11 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35723
35776
|
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
35724
35777
|
], 64);
|
|
35725
35778
|
}), 128))
|
|
35726
|
-
], 14, _hoisted_1$
|
|
35779
|
+
], 14, _hoisted_1$f);
|
|
35727
35780
|
}
|
|
35728
|
-
var CustomTableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
35781
|
+
var CustomTableCellItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-188e7bf2"]]);
|
|
35729
35782
|
var customTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35730
|
-
const _sfc_main$
|
|
35783
|
+
const _sfc_main$h = {
|
|
35731
35784
|
name: "custom-table-item",
|
|
35732
35785
|
componentName: "ContainerItem",
|
|
35733
35786
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -35912,16 +35965,16 @@ const _sfc_main$f = {
|
|
|
35912
35965
|
}
|
|
35913
35966
|
}
|
|
35914
35967
|
};
|
|
35915
|
-
const _hoisted_1$
|
|
35968
|
+
const _hoisted_1$e = {
|
|
35916
35969
|
key: 0,
|
|
35917
35970
|
class: "table-actions"
|
|
35918
35971
|
};
|
|
35919
|
-
const _hoisted_2$
|
|
35972
|
+
const _hoisted_2$b = { class: "custom-table-layout" };
|
|
35920
35973
|
const _hoisted_3$8 = {
|
|
35921
35974
|
key: 0,
|
|
35922
35975
|
class: "row-actions-cell"
|
|
35923
35976
|
};
|
|
35924
|
-
function _sfc_render$
|
|
35977
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35925
35978
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35926
35979
|
const _component_el_button = resolveComponent("el-button");
|
|
35927
35980
|
const _component_custom_table_cell_item = resolveComponent("custom-table-cell-item");
|
|
@@ -35932,7 +35985,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35932
35985
|
key: $props.widget.id,
|
|
35933
35986
|
class: normalizeClass(["custom-table-container", $options.customClass])
|
|
35934
35987
|
}, [
|
|
35935
|
-
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35988
|
+
$props.widget.rows && $props.widget.rows.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
35936
35989
|
createVNode(_component_el_button, {
|
|
35937
35990
|
type: "primary",
|
|
35938
35991
|
size: "small",
|
|
@@ -35946,7 +35999,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35946
35999
|
_: 1
|
|
35947
36000
|
}, 8, ["onClick"])
|
|
35948
36001
|
])) : createCommentVNode("", true),
|
|
35949
|
-
createElementVNode("table", _hoisted_2$
|
|
36002
|
+
createElementVNode("table", _hoisted_2$b, [
|
|
35950
36003
|
createElementVNode("tbody", null, [
|
|
35951
36004
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
35952
36005
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -36001,9 +36054,9 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36001
36054
|
_: 1
|
|
36002
36055
|
}, 8, ["widget"]);
|
|
36003
36056
|
}
|
|
36004
|
-
var CustomTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
36057
|
+
var CustomTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-1aff2bd9"]]);
|
|
36005
36058
|
var subTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
36006
|
-
const _sfc_main$
|
|
36059
|
+
const _sfc_main$g = {
|
|
36007
36060
|
name: "sub-table-widget",
|
|
36008
36061
|
componentName: "ContainerWidget",
|
|
36009
36062
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -36089,8 +36142,8 @@ const _sfc_main$e = {
|
|
|
36089
36142
|
}
|
|
36090
36143
|
}
|
|
36091
36144
|
};
|
|
36092
|
-
const _hoisted_1$
|
|
36093
|
-
const _hoisted_2$
|
|
36145
|
+
const _hoisted_1$d = { class: "sub-table-header" };
|
|
36146
|
+
const _hoisted_2$a = { class: "sub-table-label" };
|
|
36094
36147
|
const _hoisted_3$7 = { class: "table-preview" };
|
|
36095
36148
|
const _hoisted_4$6 = { class: "preview-cell" };
|
|
36096
36149
|
const _hoisted_5$4 = { class: "empty-hint" };
|
|
@@ -36100,7 +36153,7 @@ const _hoisted_8$2 = {
|
|
|
36100
36153
|
key: 0,
|
|
36101
36154
|
class: "config-hint"
|
|
36102
36155
|
};
|
|
36103
|
-
function _sfc_render$
|
|
36156
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36104
36157
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
36105
36158
|
const _component_el_button = resolveComponent("el-button");
|
|
36106
36159
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
@@ -36120,8 +36173,8 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36120
36173
|
class: normalizeClass(["sub-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
36121
36174
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
36122
36175
|
}, [
|
|
36123
|
-
createElementVNode("div", _hoisted_1$
|
|
36124
|
-
createElementVNode("span", _hoisted_2$
|
|
36176
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
36177
|
+
createElementVNode("span", _hoisted_2$a, toDisplayString($props.widget.options.label || "\u5B50\u8868\u683C"), 1),
|
|
36125
36178
|
createVNode(_component_el_button, {
|
|
36126
36179
|
disabled: $data.actionDisabled,
|
|
36127
36180
|
round: "",
|
|
@@ -36229,9 +36282,9 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36229
36282
|
_: 1
|
|
36230
36283
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
36231
36284
|
}
|
|
36232
|
-
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
36285
|
+
var SubTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-1fb729c8"]]);
|
|
36233
36286
|
var subTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
36234
|
-
const _sfc_main$
|
|
36287
|
+
const _sfc_main$f = {
|
|
36235
36288
|
name: "sub-table-item",
|
|
36236
36289
|
componentName: "ContainerItem",
|
|
36237
36290
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -36633,17 +36686,17 @@ const _sfc_main$d = {
|
|
|
36633
36686
|
}
|
|
36634
36687
|
}
|
|
36635
36688
|
};
|
|
36636
|
-
const _hoisted_1$
|
|
36689
|
+
const _hoisted_1$c = {
|
|
36637
36690
|
key: 0,
|
|
36638
36691
|
class: "sub-table-label"
|
|
36639
36692
|
};
|
|
36640
|
-
const _hoisted_2$
|
|
36693
|
+
const _hoisted_2$9 = {
|
|
36641
36694
|
key: 0,
|
|
36642
36695
|
class: "required-mark"
|
|
36643
36696
|
};
|
|
36644
36697
|
const _hoisted_3$6 = { class: "table-toolbar" };
|
|
36645
36698
|
const _hoisted_4$5 = { class: "dialog-footer" };
|
|
36646
|
-
function _sfc_render$
|
|
36699
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36647
36700
|
const _component_el_button = resolveComponent("el-button");
|
|
36648
36701
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
36649
36702
|
const _component_el_table = resolveComponent("el-table");
|
|
@@ -36663,11 +36716,11 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36663
36716
|
key: $props.widget.id,
|
|
36664
36717
|
class: normalizeClass(["sub-table-container", $options.customClass])
|
|
36665
36718
|
}, [
|
|
36666
|
-
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36719
|
+
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
36667
36720
|
createElementVNode("span", {
|
|
36668
36721
|
class: normalizeClass($options.labelClass)
|
|
36669
36722
|
}, toDisplayString($props.widget.options.label), 3),
|
|
36670
|
-
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
36723
|
+
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$9, "*")) : createCommentVNode("", true)
|
|
36671
36724
|
])) : createCommentVNode("", true),
|
|
36672
36725
|
createElementVNode("div", _hoisted_3$6, [
|
|
36673
36726
|
!$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
|
|
@@ -36911,7 +36964,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36911
36964
|
_: 1
|
|
36912
36965
|
}, 8, ["widget"]);
|
|
36913
36966
|
}
|
|
36914
|
-
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
36967
|
+
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-7ee123a5"]]);
|
|
36915
36968
|
var ace$2 = { exports: {} };
|
|
36916
36969
|
(function(module, exports) {
|
|
36917
36970
|
(function() {
|
|
@@ -61356,8 +61409,8 @@ var extLanguage_tools = { exports: {} };
|
|
|
61356
61409
|
});
|
|
61357
61410
|
})();
|
|
61358
61411
|
})(extLanguage_tools);
|
|
61359
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
61360
|
-
const _sfc_main$
|
|
61412
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
61413
|
+
const _sfc_main$e = {
|
|
61361
61414
|
name: "CodeEditor",
|
|
61362
61415
|
props: {
|
|
61363
61416
|
modelValue: {
|
|
@@ -61448,19 +61501,19 @@ const _sfc_main$c = {
|
|
|
61448
61501
|
}
|
|
61449
61502
|
}
|
|
61450
61503
|
};
|
|
61451
|
-
const _hoisted_1$
|
|
61452
|
-
const _hoisted_2$
|
|
61504
|
+
const _hoisted_1$b = { class: "ace-container" };
|
|
61505
|
+
const _hoisted_2$8 = {
|
|
61453
61506
|
class: "ace-editor",
|
|
61454
61507
|
ref: "ace"
|
|
61455
61508
|
};
|
|
61456
|
-
function _sfc_render$
|
|
61457
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
61458
|
-
createElementVNode("div", _hoisted_2$
|
|
61509
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61510
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
61511
|
+
createElementVNode("div", _hoisted_2$8, null, 512)
|
|
61459
61512
|
]);
|
|
61460
61513
|
}
|
|
61461
|
-
var CodeEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
61514
|
+
var CodeEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-335e1214"]]);
|
|
61462
61515
|
var subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
61463
|
-
const _sfc_main$
|
|
61516
|
+
const _sfc_main$d = {
|
|
61464
61517
|
name: "sub-table-columns-editor",
|
|
61465
61518
|
mixins: [i18n$1],
|
|
61466
61519
|
components: {
|
|
@@ -61678,11 +61731,11 @@ const _sfc_main$b = {
|
|
|
61678
61731
|
}
|
|
61679
61732
|
}
|
|
61680
61733
|
};
|
|
61681
|
-
const _hoisted_1$
|
|
61682
|
-
const _hoisted_2$
|
|
61734
|
+
const _hoisted_1$a = { class: "column-header" };
|
|
61735
|
+
const _hoisted_2$7 = { class: "column-title" };
|
|
61683
61736
|
const _hoisted_3$5 = { class: "column-form" };
|
|
61684
61737
|
const _hoisted_4$4 = { class: "dialog-footer" };
|
|
61685
|
-
function _sfc_render$
|
|
61738
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61686
61739
|
const _component_el_divider = resolveComponent("el-divider");
|
|
61687
61740
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
61688
61741
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -61714,8 +61767,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61714
61767
|
key: colIdx,
|
|
61715
61768
|
class: "column-item"
|
|
61716
61769
|
}, [
|
|
61717
|
-
createElementVNode("div", _hoisted_1$
|
|
61718
|
-
createElementVNode("span", _hoisted_2$
|
|
61770
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
61771
|
+
createElementVNode("span", _hoisted_2$7, "\u5217 " + toDisplayString(colIdx + 1), 1),
|
|
61719
61772
|
createVNode(_component_el_button, {
|
|
61720
61773
|
circle: "",
|
|
61721
61774
|
plain: "",
|
|
@@ -62181,8 +62234,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62181
62234
|
}, 8, ["modelValue", "title"])
|
|
62182
62235
|
], 64);
|
|
62183
62236
|
}
|
|
62184
|
-
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
62185
|
-
const _sfc_main$
|
|
62237
|
+
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-2401420e"]]);
|
|
62238
|
+
const _sfc_main$c = {
|
|
62186
62239
|
name: "current-user-widget",
|
|
62187
62240
|
componentName: "FieldWidget",
|
|
62188
62241
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -62292,7 +62345,7 @@ const _sfc_main$a = {
|
|
|
62292
62345
|
this.getCurrentUser();
|
|
62293
62346
|
}
|
|
62294
62347
|
};
|
|
62295
|
-
function _sfc_render$
|
|
62348
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62296
62349
|
const _component_el_input = resolveComponent("el-input");
|
|
62297
62350
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
62298
62351
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -62317,9 +62370,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62317
62370
|
_: 1
|
|
62318
62371
|
}, 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"]);
|
|
62319
62372
|
}
|
|
62320
|
-
var CurrentUserWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
62373
|
+
var CurrentUserWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c]]);
|
|
62321
62374
|
var assetDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62322
|
-
const _sfc_main$
|
|
62375
|
+
const _sfc_main$b = {
|
|
62323
62376
|
name: "asset-dialog",
|
|
62324
62377
|
props: {
|
|
62325
62378
|
dialogVisible: {
|
|
@@ -62516,8 +62569,8 @@ const _sfc_main$9 = {
|
|
|
62516
62569
|
this.handleGetAssetTypeOptions();
|
|
62517
62570
|
}
|
|
62518
62571
|
};
|
|
62519
|
-
const _hoisted_1$
|
|
62520
|
-
const _hoisted_2$
|
|
62572
|
+
const _hoisted_1$9 = { class: "asset-body-wrap" };
|
|
62573
|
+
const _hoisted_2$6 = { class: "bottom-wrap" };
|
|
62521
62574
|
const _hoisted_3$4 = { class: "left-wrap" };
|
|
62522
62575
|
const _hoisted_4$3 = { class: "filter-wrap" };
|
|
62523
62576
|
const _hoisted_5$3 = { class: "right-wrap" };
|
|
@@ -62526,7 +62579,7 @@ const _hoisted_7$3 = { class: "asset-wrap" };
|
|
|
62526
62579
|
const _hoisted_8$1 = { class: "asset-item-left" };
|
|
62527
62580
|
const _hoisted_9$1 = { class: "asset-item-right" };
|
|
62528
62581
|
const _hoisted_10 = { class: "dialog-footer" };
|
|
62529
|
-
function _sfc_render$
|
|
62582
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62530
62583
|
const _component_el_input = resolveComponent("el-input");
|
|
62531
62584
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
62532
62585
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -62579,8 +62632,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62579
62632
|
])
|
|
62580
62633
|
]),
|
|
62581
62634
|
default: withCtx(() => [
|
|
62582
|
-
createElementVNode("div", _hoisted_1$
|
|
62583
|
-
createElementVNode("div", _hoisted_2$
|
|
62635
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
62636
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
62584
62637
|
createElementVNode("div", _hoisted_3$4, [
|
|
62585
62638
|
createElementVNode("div", _hoisted_4$3, [
|
|
62586
62639
|
createVNode(_component_el_form, {
|
|
@@ -62845,9 +62898,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62845
62898
|
_: 1
|
|
62846
62899
|
}, 8, ["modelValue", "onClose"]);
|
|
62847
62900
|
}
|
|
62848
|
-
var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
62901
|
+
var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-5cca3952"]]);
|
|
62849
62902
|
var index_vue_vue_type_style_index_0_lang$1 = "";
|
|
62850
|
-
const _sfc_main$
|
|
62903
|
+
const _sfc_main$a = {
|
|
62851
62904
|
name: "asset-select-widget",
|
|
62852
62905
|
componentName: "FieldWidget",
|
|
62853
62906
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -63041,8 +63094,8 @@ const _sfc_main$8 = {
|
|
|
63041
63094
|
}
|
|
63042
63095
|
}
|
|
63043
63096
|
};
|
|
63044
|
-
const _hoisted_1$
|
|
63045
|
-
function _sfc_render$
|
|
63097
|
+
const _hoisted_1$8 = { class: "asset-select-widget__trigger" };
|
|
63098
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63046
63099
|
const _component_el_button = resolveComponent("el-button");
|
|
63047
63100
|
const _component_asset_dialog = resolveComponent("asset-dialog");
|
|
63048
63101
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -63063,7 +63116,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63063
63116
|
class: "asset-select-widget",
|
|
63064
63117
|
style: normalizeStyle($options.widgetStyle)
|
|
63065
63118
|
}, [
|
|
63066
|
-
createElementVNode("div", _hoisted_1$
|
|
63119
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
63067
63120
|
createVNode(_component_el_button, {
|
|
63068
63121
|
type: "primary",
|
|
63069
63122
|
class: "asset-select-widget__button",
|
|
@@ -63093,7 +63146,454 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63093
63146
|
_: 1
|
|
63094
63147
|
}, 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"]);
|
|
63095
63148
|
}
|
|
63096
|
-
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
63149
|
+
var AssetSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["render", _sfc_render$a]]);
|
|
63150
|
+
class DictManager {
|
|
63151
|
+
constructor() {
|
|
63152
|
+
this.dictCache = {};
|
|
63153
|
+
this.loading = false;
|
|
63154
|
+
}
|
|
63155
|
+
init(dictData) {
|
|
63156
|
+
this.dictCache = dictData || {};
|
|
63157
|
+
if (typeof window !== "undefined") {
|
|
63158
|
+
window.dictCache = this.dictCache;
|
|
63159
|
+
window.getDictData = (dictCode) => this.getDictData(dictCode);
|
|
63160
|
+
}
|
|
63161
|
+
}
|
|
63162
|
+
getDictData(dictCode) {
|
|
63163
|
+
if (!dictCode) {
|
|
63164
|
+
return [];
|
|
63165
|
+
}
|
|
63166
|
+
return this.dictCache[dictCode] || [];
|
|
63167
|
+
}
|
|
63168
|
+
getDictLabel(dictCode, value2, labelField = "label", valueField = "value") {
|
|
63169
|
+
const items = this.getDictData(dictCode);
|
|
63170
|
+
const item = items.find((item2) => String(item2[valueField]) === String(value2));
|
|
63171
|
+
return item ? item[labelField] : value2;
|
|
63172
|
+
}
|
|
63173
|
+
getDictValue(dictCode, label, labelField = "dictLabel", valueField = "dictValue") {
|
|
63174
|
+
const items = this.getDictData(dictCode);
|
|
63175
|
+
const item = items.find((item2) => item2[labelField] === label);
|
|
63176
|
+
return item ? item[valueField] : null;
|
|
63177
|
+
}
|
|
63178
|
+
getDictOptions(dictCode, options = {}) {
|
|
63179
|
+
const {
|
|
63180
|
+
labelField = "dictLabel",
|
|
63181
|
+
valueField = "dictValue",
|
|
63182
|
+
disabledField = "disabled"
|
|
63183
|
+
} = options;
|
|
63184
|
+
const items = this.getDictData(dictCode);
|
|
63185
|
+
return this.mapToOptionItems(items, { labelField, valueField, disabledField });
|
|
63186
|
+
}
|
|
63187
|
+
mapToOptionItems(items, options = {}) {
|
|
63188
|
+
const {
|
|
63189
|
+
labelField = "dictLabel",
|
|
63190
|
+
valueField = "dictValue",
|
|
63191
|
+
disabledField = "disabled"
|
|
63192
|
+
} = options;
|
|
63193
|
+
if (!Array.isArray(items)) {
|
|
63194
|
+
return [];
|
|
63195
|
+
}
|
|
63196
|
+
return items.map((item) => ({
|
|
63197
|
+
label: item[labelField] || item.label || item.name || item.text || "",
|
|
63198
|
+
value: item[valueField] || item.value || item.code || item.itemValue || "",
|
|
63199
|
+
disabled: item[disabledField] || false
|
|
63200
|
+
}));
|
|
63201
|
+
}
|
|
63202
|
+
toOptionItems(dictCode) {
|
|
63203
|
+
return this.mapToOptionItems(this.getDictData(dictCode));
|
|
63204
|
+
}
|
|
63205
|
+
getDictTypeOptions() {
|
|
63206
|
+
console.log("this.dictCache", this.dictCache);
|
|
63207
|
+
return Object.keys(this.dictCache || {}).map((dictType) => ({
|
|
63208
|
+
label: dictType,
|
|
63209
|
+
value: dictType
|
|
63210
|
+
}));
|
|
63211
|
+
}
|
|
63212
|
+
clear() {
|
|
63213
|
+
this.dictCache = {};
|
|
63214
|
+
if (typeof window !== "undefined") {
|
|
63215
|
+
window.dictCache = {};
|
|
63216
|
+
}
|
|
63217
|
+
}
|
|
63218
|
+
updateDict(dictCode, items) {
|
|
63219
|
+
if (dictCode && Array.isArray(items)) {
|
|
63220
|
+
this.dictCache[dictCode] = items;
|
|
63221
|
+
if (typeof window !== "undefined") {
|
|
63222
|
+
window.dictCache[dictCode] = items;
|
|
63223
|
+
}
|
|
63224
|
+
}
|
|
63225
|
+
}
|
|
63226
|
+
}
|
|
63227
|
+
const dictManager = new DictManager();
|
|
63228
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
|
|
63229
|
+
const _sfc_main$9 = {
|
|
63230
|
+
name: "dict-select-widget",
|
|
63231
|
+
componentName: "FieldWidget",
|
|
63232
|
+
mixins: [emitter, fieldMixin, i18n$1],
|
|
63233
|
+
props: {
|
|
63234
|
+
field: {
|
|
63235
|
+
type: Object,
|
|
63236
|
+
default: () => ({})
|
|
63237
|
+
},
|
|
63238
|
+
parentWidget: Object,
|
|
63239
|
+
parentList: Array,
|
|
63240
|
+
indexOfParentList: Number,
|
|
63241
|
+
designer: Object,
|
|
63242
|
+
designState: {
|
|
63243
|
+
type: Boolean,
|
|
63244
|
+
default: false
|
|
63245
|
+
},
|
|
63246
|
+
subFormRowIndex: {
|
|
63247
|
+
type: Number,
|
|
63248
|
+
default: -1
|
|
63249
|
+
},
|
|
63250
|
+
subFormColIndex: {
|
|
63251
|
+
type: Number,
|
|
63252
|
+
default: -1
|
|
63253
|
+
},
|
|
63254
|
+
subFormRowId: {
|
|
63255
|
+
type: String,
|
|
63256
|
+
default: ""
|
|
63257
|
+
}
|
|
63258
|
+
},
|
|
63259
|
+
components: {
|
|
63260
|
+
FormItemWrapper
|
|
63261
|
+
},
|
|
63262
|
+
data() {
|
|
63263
|
+
return {
|
|
63264
|
+
fieldModel: null,
|
|
63265
|
+
oldFieldValue: null,
|
|
63266
|
+
rules: []
|
|
63267
|
+
};
|
|
63268
|
+
},
|
|
63269
|
+
computed: {
|
|
63270
|
+
allowDefaultFirstOption() {
|
|
63271
|
+
return !!this.field.options.filterable && !!this.field.options.allowCreate;
|
|
63272
|
+
}
|
|
63273
|
+
},
|
|
63274
|
+
watch: {
|
|
63275
|
+
"field.options.required"() {
|
|
63276
|
+
this.buildFieldRules();
|
|
63277
|
+
},
|
|
63278
|
+
"field.options.validation"() {
|
|
63279
|
+
this.buildFieldRules();
|
|
63280
|
+
},
|
|
63281
|
+
"field.options.onValidate"() {
|
|
63282
|
+
this.buildFieldRules();
|
|
63283
|
+
},
|
|
63284
|
+
"field.options.dictCode": {
|
|
63285
|
+
immediate: true,
|
|
63286
|
+
handler(newVal, oldVal) {
|
|
63287
|
+
this.loadDictOptions();
|
|
63288
|
+
if (oldVal !== void 0 && newVal !== oldVal) {
|
|
63289
|
+
this.clearSelectedOptions();
|
|
63290
|
+
}
|
|
63291
|
+
}
|
|
63292
|
+
},
|
|
63293
|
+
"field.options.type"(newType) {
|
|
63294
|
+
this.normalizeFieldModel(newType);
|
|
63295
|
+
}
|
|
63296
|
+
},
|
|
63297
|
+
created() {
|
|
63298
|
+
if (!Array.isArray(this.field.options.optionItems)) {
|
|
63299
|
+
this.field.options.optionItems = [];
|
|
63300
|
+
}
|
|
63301
|
+
this.initFieldModel();
|
|
63302
|
+
this.normalizeFieldModel(this.field.options.type);
|
|
63303
|
+
this.registerToRefList();
|
|
63304
|
+
this.initEventHandler();
|
|
63305
|
+
this.buildFieldRules();
|
|
63306
|
+
this.handleOnCreated();
|
|
63307
|
+
},
|
|
63308
|
+
mounted() {
|
|
63309
|
+
this.handleOnMounted();
|
|
63310
|
+
},
|
|
63311
|
+
beforeUnmount() {
|
|
63312
|
+
this.unregisterFromRefList();
|
|
63313
|
+
},
|
|
63314
|
+
methods: {
|
|
63315
|
+
initOptionItems(keepSelected) {
|
|
63316
|
+
if (this.designState) {
|
|
63317
|
+
return;
|
|
63318
|
+
}
|
|
63319
|
+
const newOptionItems = this.getOptionData();
|
|
63320
|
+
if (newOptionItems && Object.prototype.hasOwnProperty.call(newOptionItems, this.field.options.name)) {
|
|
63321
|
+
if (keepSelected) {
|
|
63322
|
+
this.reloadOptions(newOptionItems[this.field.options.name]);
|
|
63323
|
+
} else {
|
|
63324
|
+
this.loadOptions(newOptionItems[this.field.options.name]);
|
|
63325
|
+
}
|
|
63326
|
+
return;
|
|
63327
|
+
}
|
|
63328
|
+
this.loadDictOptions();
|
|
63329
|
+
},
|
|
63330
|
+
loadDictOptions() {
|
|
63331
|
+
const dictCode = this.field.options.dictCode;
|
|
63332
|
+
this.field.options.optionItems = dictCode ? dictManager.toOptionItems(dictCode) : [];
|
|
63333
|
+
},
|
|
63334
|
+
clearSelectedOptions() {
|
|
63335
|
+
const displayType = this.field.options.type;
|
|
63336
|
+
if (displayType === "checkbox" || displayType === "select" && this.field.options.multiple) {
|
|
63337
|
+
this.fieldModel = [];
|
|
63338
|
+
} else {
|
|
63339
|
+
this.fieldModel = "";
|
|
63340
|
+
}
|
|
63341
|
+
this.syncUpdateFormModel(this.fieldModel);
|
|
63342
|
+
},
|
|
63343
|
+
getOptionItems() {
|
|
63344
|
+
var _a, _b, _c;
|
|
63345
|
+
if (this.subFormRowId) {
|
|
63346
|
+
const refKey = this.field.options.name + "@row" + this.subFormRowId;
|
|
63347
|
+
return ((_c = (_b = (_a = this.refList[refKey]) == null ? void 0 : _a.field) == null ? void 0 : _b.options) == null ? void 0 : _c.optionItems) || [];
|
|
63348
|
+
}
|
|
63349
|
+
return this.field.options.optionItems || [];
|
|
63350
|
+
},
|
|
63351
|
+
normalizeFieldModel(type) {
|
|
63352
|
+
if (type === "checkbox" || type === "select" && this.field.options.multiple) {
|
|
63353
|
+
if (this.fieldModel == null) {
|
|
63354
|
+
this.fieldModel = [];
|
|
63355
|
+
this.syncUpdateFormModel([]);
|
|
63356
|
+
} else if (!Array.isArray(this.fieldModel)) {
|
|
63357
|
+
this.fieldModel = this.fieldModel === "" ? [] : [this.fieldModel];
|
|
63358
|
+
this.syncUpdateFormModel(this.fieldModel);
|
|
63359
|
+
}
|
|
63360
|
+
} else if (Array.isArray(this.fieldModel)) {
|
|
63361
|
+
this.fieldModel = this.fieldModel.length > 0 ? this.fieldModel[0] : "";
|
|
63362
|
+
this.syncUpdateFormModel(this.fieldModel);
|
|
63363
|
+
}
|
|
63364
|
+
}
|
|
63365
|
+
}
|
|
63366
|
+
};
|
|
63367
|
+
const _hoisted_1$7 = { class: "dict-select-widget" };
|
|
63368
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63369
|
+
const _component_el_option = resolveComponent("el-option");
|
|
63370
|
+
const _component_el_select = resolveComponent("el-select");
|
|
63371
|
+
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
63372
|
+
const _component_el_radio = resolveComponent("el-radio");
|
|
63373
|
+
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
63374
|
+
const _component_el_checkbox_button = resolveComponent("el-checkbox-button");
|
|
63375
|
+
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
63376
|
+
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
63377
|
+
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
63378
|
+
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
63379
|
+
designer: $props.designer,
|
|
63380
|
+
field: $props.field,
|
|
63381
|
+
rules: $data.rules,
|
|
63382
|
+
"design-state": $props.designState,
|
|
63383
|
+
"parent-widget": $props.parentWidget,
|
|
63384
|
+
"parent-list": $props.parentList,
|
|
63385
|
+
"index-of-parent-list": $props.indexOfParentList,
|
|
63386
|
+
"sub-form-row-index": $props.subFormRowIndex,
|
|
63387
|
+
"sub-form-col-index": $props.subFormColIndex,
|
|
63388
|
+
"sub-form-row-id": $props.subFormRowId
|
|
63389
|
+
}, {
|
|
63390
|
+
default: withCtx(() => [
|
|
63391
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
63392
|
+
$props.field.options.type === "select" ? (openBlock(), createBlock(_component_el_select, {
|
|
63393
|
+
key: 0,
|
|
63394
|
+
ref: "fieldEditor",
|
|
63395
|
+
modelValue: $data.fieldModel,
|
|
63396
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
63397
|
+
class: "full-width-input",
|
|
63398
|
+
disabled: _ctx.getDisabled(),
|
|
63399
|
+
size: _ctx.widgetSize,
|
|
63400
|
+
clearable: $props.field.options.clearable,
|
|
63401
|
+
filterable: $props.field.options.filterable,
|
|
63402
|
+
"allow-create": $props.field.options.allowCreate,
|
|
63403
|
+
"default-first-option": $options.allowDefaultFirstOption,
|
|
63404
|
+
"automatic-dropdown": $props.field.options.automaticDropdown,
|
|
63405
|
+
multiple: $props.field.options.multiple,
|
|
63406
|
+
"multiple-limit": $props.field.options.multipleLimit,
|
|
63407
|
+
placeholder: $props.field.options.placeholder || _ctx.i18nt("render.hint.selectPlaceholder"),
|
|
63408
|
+
onFocus: _ctx.handleFocusCustomEvent,
|
|
63409
|
+
onBlur: _ctx.handleBlurCustomEvent,
|
|
63410
|
+
onChange: _ctx.handleChangeEvent
|
|
63411
|
+
}, {
|
|
63412
|
+
default: withCtx(() => [
|
|
63413
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.field.options.optionItems || [], (item) => {
|
|
63414
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
63415
|
+
key: item.value,
|
|
63416
|
+
label: item.label,
|
|
63417
|
+
value: item.value,
|
|
63418
|
+
disabled: item.disabled
|
|
63419
|
+
}, null, 8, ["label", "value", "disabled"]);
|
|
63420
|
+
}), 128))
|
|
63421
|
+
]),
|
|
63422
|
+
_: 1
|
|
63423
|
+
}, 8, ["modelValue", "disabled", "size", "clearable", "filterable", "allow-create", "default-first-option", "automatic-dropdown", "multiple", "multiple-limit", "placeholder", "onFocus", "onBlur", "onChange"])) : $props.field.options.type === "radio" ? (openBlock(), createBlock(_component_el_radio_group, {
|
|
63424
|
+
key: 1,
|
|
63425
|
+
ref: "fieldEditor",
|
|
63426
|
+
modelValue: $data.fieldModel,
|
|
63427
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.fieldModel = $event),
|
|
63428
|
+
class: normalizeClass({ "radio-group-block": $props.field.options.displayStyle === "block" }),
|
|
63429
|
+
disabled: _ctx.getDisabled(),
|
|
63430
|
+
size: _ctx.widgetSize,
|
|
63431
|
+
onChange: _ctx.handleChangeEvent
|
|
63432
|
+
}, {
|
|
63433
|
+
default: withCtx(() => [
|
|
63434
|
+
$props.field.options.buttonStyle ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.field.options.optionItems || [], (item, index2) => {
|
|
63435
|
+
return openBlock(), createBlock(_component_el_radio_button, {
|
|
63436
|
+
key: index2,
|
|
63437
|
+
label: item.value,
|
|
63438
|
+
disabled: _ctx.getDisabled() || item.disabled,
|
|
63439
|
+
border: $props.field.options.border,
|
|
63440
|
+
style: normalizeStyle({ display: $props.field.options.displayStyle })
|
|
63441
|
+
}, {
|
|
63442
|
+
default: withCtx(() => [
|
|
63443
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
63444
|
+
]),
|
|
63445
|
+
_: 2
|
|
63446
|
+
}, 1032, ["label", "disabled", "border", "style"]);
|
|
63447
|
+
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($props.field.options.optionItems || [], (item, index2) => {
|
|
63448
|
+
return openBlock(), createBlock(_component_el_radio, {
|
|
63449
|
+
key: index2,
|
|
63450
|
+
label: item.value,
|
|
63451
|
+
disabled: _ctx.getDisabled() || item.disabled,
|
|
63452
|
+
border: $props.field.options.border,
|
|
63453
|
+
style: normalizeStyle({ display: $props.field.options.displayStyle })
|
|
63454
|
+
}, {
|
|
63455
|
+
default: withCtx(() => [
|
|
63456
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
63457
|
+
]),
|
|
63458
|
+
_: 2
|
|
63459
|
+
}, 1032, ["label", "disabled", "border", "style"]);
|
|
63460
|
+
}), 128))
|
|
63461
|
+
]),
|
|
63462
|
+
_: 1
|
|
63463
|
+
}, 8, ["modelValue", "class", "disabled", "size", "onChange"])) : $props.field.options.type === "checkbox" ? (openBlock(), createBlock(_component_el_checkbox_group, {
|
|
63464
|
+
key: 2,
|
|
63465
|
+
ref: "fieldEditor",
|
|
63466
|
+
modelValue: $data.fieldModel,
|
|
63467
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.fieldModel = $event),
|
|
63468
|
+
disabled: _ctx.getDisabled(),
|
|
63469
|
+
size: _ctx.widgetSize,
|
|
63470
|
+
onChange: _ctx.handleChangeEvent
|
|
63471
|
+
}, {
|
|
63472
|
+
default: withCtx(() => [
|
|
63473
|
+
$props.field.options.buttonStyle ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.field.options.optionItems || [], (item, index2) => {
|
|
63474
|
+
return openBlock(), createBlock(_component_el_checkbox_button, {
|
|
63475
|
+
key: index2,
|
|
63476
|
+
label: item.value,
|
|
63477
|
+
disabled: _ctx.getDisabled() || item.disabled,
|
|
63478
|
+
border: $props.field.options.border,
|
|
63479
|
+
style: normalizeStyle({ display: $props.field.options.displayStyle })
|
|
63480
|
+
}, {
|
|
63481
|
+
default: withCtx(() => [
|
|
63482
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
63483
|
+
]),
|
|
63484
|
+
_: 2
|
|
63485
|
+
}, 1032, ["label", "disabled", "border", "style"]);
|
|
63486
|
+
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($props.field.options.optionItems || [], (item, index2) => {
|
|
63487
|
+
return openBlock(), createBlock(_component_el_checkbox, {
|
|
63488
|
+
key: index2,
|
|
63489
|
+
label: item.value,
|
|
63490
|
+
disabled: _ctx.getDisabled() || item.disabled,
|
|
63491
|
+
border: $props.field.options.border,
|
|
63492
|
+
style: normalizeStyle({ display: $props.field.options.displayStyle })
|
|
63493
|
+
}, {
|
|
63494
|
+
default: withCtx(() => [
|
|
63495
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
63496
|
+
]),
|
|
63497
|
+
_: 2
|
|
63498
|
+
}, 1032, ["label", "disabled", "border", "style"]);
|
|
63499
|
+
}), 128))
|
|
63500
|
+
]),
|
|
63501
|
+
_: 1
|
|
63502
|
+
}, 8, ["modelValue", "disabled", "size", "onChange"])) : createCommentVNode("", true)
|
|
63503
|
+
])
|
|
63504
|
+
]),
|
|
63505
|
+
_: 1
|
|
63506
|
+
}, 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"]);
|
|
63507
|
+
}
|
|
63508
|
+
var DictSelectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-07bda0ac"]]);
|
|
63509
|
+
var dictSelectDictCodeEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
63510
|
+
const _sfc_main$8 = {
|
|
63511
|
+
name: "dict-select-dictCode-editor",
|
|
63512
|
+
mixins: [i18n$1],
|
|
63513
|
+
props: {
|
|
63514
|
+
designer: Object,
|
|
63515
|
+
selectedWidget: Object,
|
|
63516
|
+
optionModel: Object
|
|
63517
|
+
},
|
|
63518
|
+
data() {
|
|
63519
|
+
return {
|
|
63520
|
+
dictTypeOptions: []
|
|
63521
|
+
};
|
|
63522
|
+
},
|
|
63523
|
+
computed: {
|
|
63524
|
+
optionCount() {
|
|
63525
|
+
if (!this.optionModel.dictCode) {
|
|
63526
|
+
return 0;
|
|
63527
|
+
}
|
|
63528
|
+
return dictManager.toOptionItems(this.optionModel.dictCode).length;
|
|
63529
|
+
}
|
|
63530
|
+
},
|
|
63531
|
+
created() {
|
|
63532
|
+
this.refreshDictTypeOptions();
|
|
63533
|
+
this.syncOptionItemsFromDict();
|
|
63534
|
+
},
|
|
63535
|
+
mounted() {
|
|
63536
|
+
this.$nextTick(() => this.refreshDictTypeOptions());
|
|
63537
|
+
},
|
|
63538
|
+
methods: {
|
|
63539
|
+
refreshDictTypeOptions() {
|
|
63540
|
+
this.dictTypeOptions = dictManager.getDictTypeOptions();
|
|
63541
|
+
},
|
|
63542
|
+
handleDictCodeChange() {
|
|
63543
|
+
this.refreshDictTypeOptions();
|
|
63544
|
+
this.syncOptionItemsFromDict();
|
|
63545
|
+
},
|
|
63546
|
+
handleVisibleChange(visible) {
|
|
63547
|
+
if (visible) {
|
|
63548
|
+
this.refreshDictTypeOptions();
|
|
63549
|
+
}
|
|
63550
|
+
},
|
|
63551
|
+
syncOptionItemsFromDict() {
|
|
63552
|
+
const dictCode = this.optionModel.dictCode;
|
|
63553
|
+
this.optionModel.optionItems = dictCode ? dictManager.toOptionItems(dictCode) : [];
|
|
63554
|
+
}
|
|
63555
|
+
}
|
|
63556
|
+
};
|
|
63557
|
+
const _hoisted_1$6 = { class: "dict-code-hint" };
|
|
63558
|
+
const _hoisted_2$5 = { key: 0 };
|
|
63559
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63560
|
+
const _component_el_option = resolveComponent("el-option");
|
|
63561
|
+
const _component_el_select = resolveComponent("el-select");
|
|
63562
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
63563
|
+
return openBlock(), createBlock(_component_el_form_item, {
|
|
63564
|
+
label: _ctx.i18nt("extension.setting.dictSelectDictCode")
|
|
63565
|
+
}, {
|
|
63566
|
+
default: withCtx(() => [
|
|
63567
|
+
createVNode(_component_el_select, {
|
|
63568
|
+
modelValue: $props.optionModel.dictCode,
|
|
63569
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $props.optionModel.dictCode = $event),
|
|
63570
|
+
filterable: "",
|
|
63571
|
+
clearable: "",
|
|
63572
|
+
placeholder: _ctx.i18nt("extension.setting.dictSelectDictCodePlaceholder"),
|
|
63573
|
+
style: { "width": "100%" },
|
|
63574
|
+
onChange: $options.handleDictCodeChange,
|
|
63575
|
+
onVisibleChange: $options.handleVisibleChange
|
|
63576
|
+
}, {
|
|
63577
|
+
default: withCtx(() => [
|
|
63578
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.dictTypeOptions, (item) => {
|
|
63579
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
63580
|
+
key: item.value,
|
|
63581
|
+
label: item.label,
|
|
63582
|
+
value: item.value
|
|
63583
|
+
}, null, 8, ["label", "value"]);
|
|
63584
|
+
}), 128))
|
|
63585
|
+
]),
|
|
63586
|
+
_: 1
|
|
63587
|
+
}, 8, ["modelValue", "placeholder", "onChange", "onVisibleChange"]),
|
|
63588
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
63589
|
+
createTextVNode(toDisplayString(_ctx.i18nt("extension.setting.dictSelectDictCodeHint")) + " ", 1),
|
|
63590
|
+
$options.optionCount > 0 ? (openBlock(), createElementBlock("span", _hoisted_2$5, "\uFF08" + toDisplayString($options.optionCount) + " " + toDisplayString(_ctx.i18nt("extension.setting.dictSelectOptionCount")) + "\uFF09", 1)) : createCommentVNode("", true)
|
|
63591
|
+
])
|
|
63592
|
+
]),
|
|
63593
|
+
_: 1
|
|
63594
|
+
}, 8, ["label"]);
|
|
63595
|
+
}
|
|
63596
|
+
var DictSelectDictCodeEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-5b750108"]]);
|
|
63097
63597
|
var detailDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
63098
63598
|
const _sfc_main$7 = {
|
|
63099
63599
|
name: "detail-dialog",
|
|
@@ -63949,63 +64449,6 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63949
64449
|
}, 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"]);
|
|
63950
64450
|
}
|
|
63951
64451
|
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-68fa0297"]]);
|
|
63952
|
-
class DictManager {
|
|
63953
|
-
constructor() {
|
|
63954
|
-
this.dictCache = {};
|
|
63955
|
-
this.loading = false;
|
|
63956
|
-
}
|
|
63957
|
-
init(dictData) {
|
|
63958
|
-
this.dictCache = dictData || {};
|
|
63959
|
-
if (typeof window !== "undefined") {
|
|
63960
|
-
window.dictCache = this.dictCache;
|
|
63961
|
-
window.getDictData = (dictCode) => this.getDictData(dictCode);
|
|
63962
|
-
}
|
|
63963
|
-
}
|
|
63964
|
-
getDictData(dictCode) {
|
|
63965
|
-
if (!dictCode) {
|
|
63966
|
-
return [];
|
|
63967
|
-
}
|
|
63968
|
-
return this.dictCache[dictCode] || [];
|
|
63969
|
-
}
|
|
63970
|
-
getDictLabel(dictCode, value2, labelField = "label", valueField = "value") {
|
|
63971
|
-
const items = this.getDictData(dictCode);
|
|
63972
|
-
const item = items.find((item2) => String(item2[valueField]) === String(value2));
|
|
63973
|
-
return item ? item[labelField] : value2;
|
|
63974
|
-
}
|
|
63975
|
-
getDictValue(dictCode, label, labelField = "dictLabel", valueField = "dictValue") {
|
|
63976
|
-
const items = this.getDictData(dictCode);
|
|
63977
|
-
const item = items.find((item2) => item2[labelField] === label);
|
|
63978
|
-
return item ? item[valueField] : null;
|
|
63979
|
-
}
|
|
63980
|
-
getDictOptions(dictCode, options = {}) {
|
|
63981
|
-
const {
|
|
63982
|
-
labelField = "dictLabel",
|
|
63983
|
-
valueField = "dictValue",
|
|
63984
|
-
disabledField = "disabled"
|
|
63985
|
-
} = options;
|
|
63986
|
-
const items = this.getDictData(dictCode);
|
|
63987
|
-
return items.map((item) => __spreadValues({
|
|
63988
|
-
label: item[labelField] || "",
|
|
63989
|
-
value: item[valueField] || "",
|
|
63990
|
-
disabled: item[disabledField] || false
|
|
63991
|
-
}, item));
|
|
63992
|
-
}
|
|
63993
|
-
clear() {
|
|
63994
|
-
this.dictCache = {};
|
|
63995
|
-
if (typeof window !== "undefined") {
|
|
63996
|
-
window.dictCache = {};
|
|
63997
|
-
}
|
|
63998
|
-
}
|
|
63999
|
-
updateDict(dictCode, items) {
|
|
64000
|
-
if (dictCode && Array.isArray(items)) {
|
|
64001
|
-
this.dictCache[dictCode] = items;
|
|
64002
|
-
if (typeof window !== "undefined") {
|
|
64003
|
-
window.dictCache[dictCode] = items;
|
|
64004
|
-
}
|
|
64005
|
-
}
|
|
64006
|
-
}
|
|
64007
|
-
}
|
|
64008
|
-
const dictManager = new DictManager();
|
|
64009
64452
|
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
64010
64453
|
const _sfc_main$4 = {
|
|
64011
64454
|
name: "fixed-table-widget",
|
|
@@ -64353,26 +64796,6 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64353
64796
|
]),
|
|
64354
64797
|
_: 1
|
|
64355
64798
|
}),
|
|
64356
|
-
createVNode(_component_el_table_column, {
|
|
64357
|
-
prop: "currentYearPlannedInvestment",
|
|
64358
|
-
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",
|
|
64359
|
-
width: "111"
|
|
64360
|
-
}, {
|
|
64361
|
-
default: withCtx(({ row }) => [
|
|
64362
|
-
createTextVNode(toDisplayString(row.currentYearPlannedInvestment || 0), 1)
|
|
64363
|
-
]),
|
|
64364
|
-
_: 1
|
|
64365
|
-
}),
|
|
64366
|
-
createVNode(_component_el_table_column, {
|
|
64367
|
-
prop: "enterpriseTotalPlannedInvestment",
|
|
64368
|
-
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",
|
|
64369
|
-
width: "130"
|
|
64370
|
-
}, {
|
|
64371
|
-
default: withCtx(({ row }) => [
|
|
64372
|
-
createTextVNode(toDisplayString(row.enterpriseTotalPlannedInvestment || 0), 1)
|
|
64373
|
-
]),
|
|
64374
|
-
_: 1
|
|
64375
|
-
}),
|
|
64376
64799
|
createVNode(_component_el_table_column, {
|
|
64377
64800
|
prop: "label9",
|
|
64378
64801
|
label: "\u8D44\u91D1\u6765\u6E90",
|
|
@@ -64421,7 +64844,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64421
64844
|
_: 1
|
|
64422
64845
|
}, 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"]);
|
|
64423
64846
|
}
|
|
64424
|
-
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
64847
|
+
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-2cde45ac"]]);
|
|
64425
64848
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
64426
64849
|
const _sfc_main$3 = {
|
|
64427
64850
|
name: "equity-table-widget",
|
|
@@ -65345,6 +65768,15 @@ const loadExtension = function(app) {
|
|
|
65345
65768
|
registerCPEditor(app, "asset-select-typeJson", "asset-select-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetSelectTypeJson", { rows: 4 }));
|
|
65346
65769
|
registerCPEditor(app, "asset-select-assetTypeValue", "asset-select-assetTypeValue-editor", createInputTextEditor("assetTypeValue", "extension.setting.assetSelectAssetTypeValue"));
|
|
65347
65770
|
registerCPEditor(app, "asset-select-assetLimit", "asset-select-assetLimit-editor", createInputNumberEditor("assetLimit", "extension.setting.assetSelectAssetLimit"));
|
|
65771
|
+
app.component(DictSelectWidget.name, DictSelectWidget);
|
|
65772
|
+
registerCPEditor(app, "dict-select-dictCode", "dict-select-dictCode-editor", DictSelectDictCodeEditor);
|
|
65773
|
+
registerCPEditor(app, "dict-select-type", "dict-select-type-editor", createSelectEditor("type", "extension.setting.dictSelectType", {
|
|
65774
|
+
optionItems: [
|
|
65775
|
+
{ label: "\u4E0B\u62C9\u6846", value: "select" },
|
|
65776
|
+
{ label: "\u5355\u9009\u6846", value: "radio" },
|
|
65777
|
+
{ label: "\u590D\u9009\u6846", value: "checkbox" }
|
|
65778
|
+
]
|
|
65779
|
+
}));
|
|
65348
65780
|
app.component(AssetTableWidget.name, AssetTableWidget);
|
|
65349
65781
|
registerCPEditor(app, "asset-table-typeJson", "asset-table-typeJson-editor", createInputTextEditor("typeJson", "extension.setting.assetTableTypeJson"));
|
|
65350
65782
|
registerCPEditor(app, "asset-table-clickRow", "asset-table-clickRow-editor", createBooleanEditor("clickRow", "extension.setting.assetTableClickRow"));
|