form-custom-test 3.0.213 → 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 +1401 -946
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +144 -144
- package/dist/render.es.js +848 -437
- package/dist/render.style.css +1 -1
- 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
|
|
@@ -1965,6 +1965,7 @@ var enLocale_extension = {
|
|
|
1965
1965
|
alert: "Alert",
|
|
1966
1966
|
"person-tree": "Person Tree",
|
|
1967
1967
|
"asset-select": "Asset Select",
|
|
1968
|
+
"dict-select": "Dict Select",
|
|
1968
1969
|
"radio-other": "Radio (Other)",
|
|
1969
1970
|
"select-other": "Select (Other)",
|
|
1970
1971
|
"custom-sub-form": "Custom Sub Form",
|
|
@@ -2014,6 +2015,11 @@ var enLocale_extension = {
|
|
|
2014
2015
|
assetSelectAssetTypeValue: "Asset Type Value",
|
|
2015
2016
|
assetTypeAssetTypeValue: "Asset Type",
|
|
2016
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",
|
|
2017
2023
|
assetType: "Asset Typee",
|
|
2018
2024
|
subTableShowIndex: "Show Index"
|
|
2019
2025
|
}
|
|
@@ -2028,6 +2034,7 @@ var zhLocale_extension = {
|
|
|
2028
2034
|
"current-user": "\u5F53\u524D\u7528\u6237",
|
|
2029
2035
|
"current-user-second-company": "\u5F53\u524D\u7528\u6237\u4E8C\u7EA7\u516C\u53F8",
|
|
2030
2036
|
"asset-select": "\u8D44\u4EA7\u9009\u62E9",
|
|
2037
|
+
"dict-select": "\u5B57\u5178\u9009\u62E9",
|
|
2031
2038
|
"asset-table": "\u8D44\u4EA7\u8868\u683C",
|
|
2032
2039
|
"radio-other": "\u5355\u9009\u9879\uFF08\u5176\u4ED6\uFF09",
|
|
2033
2040
|
"select-other": "\u4E0B\u62C9\u9009\u9879\uFF08\u5176\u4ED6\uFF09",
|
|
@@ -2076,6 +2083,11 @@ var zhLocale_extension = {
|
|
|
2076
2083
|
assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
2077
2084
|
assetTypeAssetTypeValue: "\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
2078
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",
|
|
2079
2091
|
subTableShowIndex: "\u662F\u5426\u663E\u793A\u5E8F\u53F7\u5217"
|
|
2080
2092
|
}
|
|
2081
2093
|
}
|
|
@@ -2134,8 +2146,8 @@ var refMixin = {
|
|
|
2134
2146
|
}
|
|
2135
2147
|
}
|
|
2136
2148
|
};
|
|
2137
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
2138
|
-
const _sfc_main$
|
|
2149
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
2150
|
+
const _sfc_main$1h = {
|
|
2139
2151
|
name: "SvgIcon",
|
|
2140
2152
|
props: {
|
|
2141
2153
|
iconClass: {
|
|
@@ -2163,20 +2175,20 @@ const _sfc_main$1f = {
|
|
|
2163
2175
|
}
|
|
2164
2176
|
}
|
|
2165
2177
|
};
|
|
2166
|
-
const _hoisted_1$
|
|
2167
|
-
const _hoisted_2$
|
|
2168
|
-
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) {
|
|
2169
2181
|
return openBlock(), createElementBlock("svg", {
|
|
2170
2182
|
class: normalizeClass($options.svgClass),
|
|
2171
2183
|
"aria-hidden": "true"
|
|
2172
2184
|
}, [
|
|
2173
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
2174
|
-
!!$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)
|
|
2175
2187
|
], 2);
|
|
2176
2188
|
}
|
|
2177
|
-
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"]]);
|
|
2178
2190
|
var staticContentWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2179
|
-
const _sfc_main$
|
|
2191
|
+
const _sfc_main$1g = {
|
|
2180
2192
|
name: "static-content-wrapper",
|
|
2181
2193
|
mixins: [i18n$1],
|
|
2182
2194
|
components: {
|
|
@@ -2262,11 +2274,11 @@ const _sfc_main$1e = {
|
|
|
2262
2274
|
}
|
|
2263
2275
|
}
|
|
2264
2276
|
};
|
|
2265
|
-
const _hoisted_1$
|
|
2277
|
+
const _hoisted_1$P = {
|
|
2266
2278
|
key: 0,
|
|
2267
2279
|
class: "field-action"
|
|
2268
2280
|
};
|
|
2269
|
-
const _hoisted_2$
|
|
2281
|
+
const _hoisted_2$B = ["title"];
|
|
2270
2282
|
const _hoisted_3$w = ["title"];
|
|
2271
2283
|
const _hoisted_4$k = ["title"];
|
|
2272
2284
|
const _hoisted_5$h = ["title"];
|
|
@@ -2276,7 +2288,7 @@ const _hoisted_6$g = {
|
|
|
2276
2288
|
};
|
|
2277
2289
|
const _hoisted_7$e = ["title"];
|
|
2278
2290
|
const _hoisted_8$9 = { key: 0 };
|
|
2279
|
-
function _sfc_render$
|
|
2291
|
+
function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2280
2292
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
2281
2293
|
return openBlock(), createElementBlock("div", {
|
|
2282
2294
|
class: normalizeClass(["field-wrapper", { "design-time-bottom-margin": !!this.designer }]),
|
|
@@ -2291,13 +2303,13 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2291
2303
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2292
2304
|
], 6)) : createCommentVNode("", true),
|
|
2293
2305
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2294
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2306
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
2295
2307
|
createElementVNode("i", {
|
|
2296
2308
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
2297
2309
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
2298
2310
|
}, [
|
|
2299
2311
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
2300
|
-
], 8, _hoisted_2$
|
|
2312
|
+
], 8, _hoisted_2$B),
|
|
2301
2313
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
2302
2314
|
key: 0,
|
|
2303
2315
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
@@ -2333,7 +2345,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2333
2345
|
], 64)) : createCommentVNode("", true)
|
|
2334
2346
|
], 6);
|
|
2335
2347
|
}
|
|
2336
|
-
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"]]);
|
|
2337
2349
|
var __glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2338
2350
|
__proto__: null,
|
|
2339
2351
|
"default": StaticContentWrapper
|
|
@@ -9242,7 +9254,7 @@ var fieldMixin = {
|
|
|
9242
9254
|
}
|
|
9243
9255
|
};
|
|
9244
9256
|
var buttonWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9245
|
-
const _sfc_main$
|
|
9257
|
+
const _sfc_main$1f = {
|
|
9246
9258
|
name: "button-widget",
|
|
9247
9259
|
componentName: "FieldWidget",
|
|
9248
9260
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9288,7 +9300,7 @@ const _sfc_main$1d = {
|
|
|
9288
9300
|
},
|
|
9289
9301
|
methods: {}
|
|
9290
9302
|
};
|
|
9291
|
-
function _sfc_render$
|
|
9303
|
+
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9292
9304
|
const _component_el_button = resolveComponent("el-button");
|
|
9293
9305
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
9294
9306
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -9324,13 +9336,13 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9324
9336
|
_: 1
|
|
9325
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"]);
|
|
9326
9338
|
}
|
|
9327
|
-
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"]]);
|
|
9328
9340
|
var __glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9329
9341
|
__proto__: null,
|
|
9330
9342
|
"default": buttonWidget
|
|
9331
9343
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9332
9344
|
var formItemWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9333
|
-
const _sfc_main$
|
|
9345
|
+
const _sfc_main$1e = {
|
|
9334
9346
|
name: "form-item-wrapper",
|
|
9335
9347
|
mixins: [i18n$1],
|
|
9336
9348
|
components: {
|
|
@@ -9461,11 +9473,11 @@ const _sfc_main$1c = {
|
|
|
9461
9473
|
}
|
|
9462
9474
|
}
|
|
9463
9475
|
};
|
|
9464
|
-
const _hoisted_1$
|
|
9476
|
+
const _hoisted_1$O = {
|
|
9465
9477
|
key: 0,
|
|
9466
9478
|
class: "custom-label"
|
|
9467
9479
|
};
|
|
9468
|
-
const _hoisted_2$
|
|
9480
|
+
const _hoisted_2$A = {
|
|
9469
9481
|
key: 0,
|
|
9470
9482
|
class: "field-action"
|
|
9471
9483
|
};
|
|
@@ -9479,7 +9491,7 @@ const _hoisted_7$d = {
|
|
|
9479
9491
|
};
|
|
9480
9492
|
const _hoisted_8$8 = ["title"];
|
|
9481
9493
|
const _hoisted_9$7 = { key: 0 };
|
|
9482
|
-
function _sfc_render$
|
|
9494
|
+
function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9483
9495
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
9484
9496
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
9485
9497
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -9502,7 +9514,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9502
9514
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectField($props.field), ["stop"]))
|
|
9503
9515
|
}, {
|
|
9504
9516
|
label: withCtx(() => [
|
|
9505
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
9517
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$O, [
|
|
9506
9518
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9507
9519
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9508
9520
|
createVNode(_component_el_tooltip, {
|
|
@@ -9554,7 +9566,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9554
9566
|
[vShow, $props.designState === true || !$props.field.options.hidden]
|
|
9555
9567
|
]) : createCommentVNode("", true),
|
|
9556
9568
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
9557
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
9569
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
|
|
9558
9570
|
createElementVNode("i", {
|
|
9559
9571
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
9560
9572
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
@@ -9596,13 +9608,13 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9596
9608
|
], 64)) : createCommentVNode("", true)
|
|
9597
9609
|
], 2);
|
|
9598
9610
|
}
|
|
9599
|
-
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"]]);
|
|
9600
9612
|
var __glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9601
9613
|
__proto__: null,
|
|
9602
9614
|
"default": FormItemWrapper
|
|
9603
9615
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9604
9616
|
var cascaderWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9605
|
-
const _sfc_main$
|
|
9617
|
+
const _sfc_main$1d = {
|
|
9606
9618
|
name: "cascader-widget",
|
|
9607
9619
|
componentName: "FieldWidget",
|
|
9608
9620
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9674,8 +9686,8 @@ const _sfc_main$1b = {
|
|
|
9674
9686
|
},
|
|
9675
9687
|
methods: {}
|
|
9676
9688
|
};
|
|
9677
|
-
const _hoisted_1$
|
|
9678
|
-
function _sfc_render$
|
|
9689
|
+
const _hoisted_1$N = { class: "full-width-input" };
|
|
9690
|
+
function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9679
9691
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
9680
9692
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9681
9693
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9691,7 +9703,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9691
9703
|
"sub-form-row-id": $props.subFormRowId
|
|
9692
9704
|
}, {
|
|
9693
9705
|
default: withCtx(() => [
|
|
9694
|
-
createElementVNode("div", _hoisted_1$
|
|
9706
|
+
createElementVNode("div", _hoisted_1$N, [
|
|
9695
9707
|
createVNode(_component_el_cascader, {
|
|
9696
9708
|
ref: "fieldEditor",
|
|
9697
9709
|
options: $data.selectList || $props.field.options.optionItems,
|
|
@@ -9713,13 +9725,13 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9713
9725
|
_: 1
|
|
9714
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"]);
|
|
9715
9727
|
}
|
|
9716
|
-
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"]]);
|
|
9717
9729
|
var __glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9718
9730
|
__proto__: null,
|
|
9719
9731
|
"default": cascaderWidget
|
|
9720
9732
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9721
9733
|
var checkboxWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9722
|
-
const _sfc_main$
|
|
9734
|
+
const _sfc_main$1c = {
|
|
9723
9735
|
name: "checkbox-widget",
|
|
9724
9736
|
componentName: "FieldWidget",
|
|
9725
9737
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9775,7 +9787,7 @@ const _sfc_main$1a = {
|
|
|
9775
9787
|
},
|
|
9776
9788
|
methods: {}
|
|
9777
9789
|
};
|
|
9778
|
-
function _sfc_render$
|
|
9790
|
+
function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9779
9791
|
const _component_el_checkbox_button = resolveComponent("el-checkbox-button");
|
|
9780
9792
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
9781
9793
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
@@ -9836,13 +9848,13 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9836
9848
|
_: 1
|
|
9837
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"]);
|
|
9838
9850
|
}
|
|
9839
|
-
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"]]);
|
|
9840
9852
|
var __glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9841
9853
|
__proto__: null,
|
|
9842
9854
|
"default": checkboxWidget
|
|
9843
9855
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9844
9856
|
var colorWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9845
|
-
const _sfc_main$
|
|
9857
|
+
const _sfc_main$1b = {
|
|
9846
9858
|
name: "color-widget",
|
|
9847
9859
|
componentName: "FieldWidget",
|
|
9848
9860
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9897,7 +9909,7 @@ const _sfc_main$19 = {
|
|
|
9897
9909
|
},
|
|
9898
9910
|
methods: {}
|
|
9899
9911
|
};
|
|
9900
|
-
function _sfc_render$
|
|
9912
|
+
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9901
9913
|
const _component_el_color_picker = resolveComponent("el-color-picker");
|
|
9902
9914
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9903
9915
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -9925,13 +9937,13 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9925
9937
|
_: 1
|
|
9926
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"]);
|
|
9927
9939
|
}
|
|
9928
|
-
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"]]);
|
|
9929
9941
|
var __glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9930
9942
|
__proto__: null,
|
|
9931
9943
|
"default": colorWidget
|
|
9932
9944
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9933
9945
|
var dateRangeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9934
|
-
const _sfc_main$
|
|
9946
|
+
const _sfc_main$1a = {
|
|
9935
9947
|
name: "date-range-widget",
|
|
9936
9948
|
componentName: "FieldWidget",
|
|
9937
9949
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -9986,7 +9998,7 @@ const _sfc_main$18 = {
|
|
|
9986
9998
|
},
|
|
9987
9999
|
methods: {}
|
|
9988
10000
|
};
|
|
9989
|
-
function _sfc_render$
|
|
10001
|
+
function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9990
10002
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
9991
10003
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
9992
10004
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -10024,13 +10036,13 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10024
10036
|
_: 1
|
|
10025
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"]);
|
|
10026
10038
|
}
|
|
10027
|
-
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"]]);
|
|
10028
10040
|
var __glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10029
10041
|
__proto__: null,
|
|
10030
10042
|
"default": dateRangeWidget
|
|
10031
10043
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10032
10044
|
var dateWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10033
|
-
const _sfc_main$
|
|
10045
|
+
const _sfc_main$19 = {
|
|
10034
10046
|
name: "date-widget",
|
|
10035
10047
|
componentName: "FieldWidget",
|
|
10036
10048
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10085,7 +10097,7 @@ const _sfc_main$17 = {
|
|
|
10085
10097
|
},
|
|
10086
10098
|
methods: {}
|
|
10087
10099
|
};
|
|
10088
|
-
function _sfc_render$
|
|
10100
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10089
10101
|
const _component_el_date_picker = resolveComponent("el-date-picker");
|
|
10090
10102
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
10091
10103
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -10123,13 +10135,13 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10123
10135
|
_: 1
|
|
10124
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"]);
|
|
10125
10137
|
}
|
|
10126
|
-
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"]]);
|
|
10127
10139
|
var __glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10128
10140
|
__proto__: null,
|
|
10129
10141
|
"default": dateWidget
|
|
10130
10142
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10131
10143
|
var dividerWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10132
|
-
const _sfc_main$
|
|
10144
|
+
const _sfc_main$18 = {
|
|
10133
10145
|
name: "divider-widget",
|
|
10134
10146
|
componentName: "FieldWidget",
|
|
10135
10147
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10175,7 +10187,7 @@ const _sfc_main$16 = {
|
|
|
10175
10187
|
},
|
|
10176
10188
|
methods: {}
|
|
10177
10189
|
};
|
|
10178
|
-
function _sfc_render$
|
|
10190
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10179
10191
|
const _component_el_divider = resolveComponent("el-divider");
|
|
10180
10192
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
10181
10193
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -10204,7 +10216,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10204
10216
|
_: 1
|
|
10205
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"]);
|
|
10206
10218
|
}
|
|
10207
|
-
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"]]);
|
|
10208
10220
|
var __glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10209
10221
|
__proto__: null,
|
|
10210
10222
|
"default": dividerWidget
|
|
@@ -10243,80 +10255,80 @@ var _export_sfc = (sfc, props) => {
|
|
|
10243
10255
|
}
|
|
10244
10256
|
return target;
|
|
10245
10257
|
};
|
|
10246
|
-
const _sfc_main$
|
|
10258
|
+
const _sfc_main$17 = defineComponent({
|
|
10247
10259
|
name: "ArrowDownBold"
|
|
10248
10260
|
});
|
|
10249
|
-
const _hoisted_1$
|
|
10261
|
+
const _hoisted_1$M = {
|
|
10250
10262
|
class: "icon",
|
|
10251
10263
|
width: "200",
|
|
10252
10264
|
height: "200",
|
|
10253
10265
|
viewBox: "0 0 1024 1024",
|
|
10254
10266
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10255
10267
|
};
|
|
10256
|
-
const _hoisted_2$
|
|
10268
|
+
const _hoisted_2$z = /* @__PURE__ */ createElementVNode("path", {
|
|
10257
10269
|
fill: "currentColor",
|
|
10258
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"
|
|
10259
10271
|
}, null, -1);
|
|
10260
10272
|
const _hoisted_3$u = [
|
|
10261
|
-
_hoisted_2$
|
|
10273
|
+
_hoisted_2$z
|
|
10262
10274
|
];
|
|
10263
|
-
function _sfc_render$
|
|
10264
|
-
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);
|
|
10265
10277
|
}
|
|
10266
|
-
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10267
|
-
const _sfc_main$
|
|
10278
|
+
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$17]]);
|
|
10279
|
+
const _sfc_main$16 = defineComponent({
|
|
10268
10280
|
name: "ArrowDown"
|
|
10269
10281
|
});
|
|
10270
|
-
const _hoisted_1$
|
|
10282
|
+
const _hoisted_1$L = {
|
|
10271
10283
|
class: "icon",
|
|
10272
10284
|
width: "200",
|
|
10273
10285
|
height: "200",
|
|
10274
10286
|
viewBox: "0 0 1024 1024",
|
|
10275
10287
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10276
10288
|
};
|
|
10277
|
-
const _hoisted_2$
|
|
10289
|
+
const _hoisted_2$y = /* @__PURE__ */ createElementVNode("path", {
|
|
10278
10290
|
fill: "currentColor",
|
|
10279
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"
|
|
10280
10292
|
}, null, -1);
|
|
10281
10293
|
const _hoisted_3$t = [
|
|
10282
|
-
_hoisted_2$
|
|
10294
|
+
_hoisted_2$y
|
|
10283
10295
|
];
|
|
10284
|
-
function _sfc_render$
|
|
10285
|
-
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);
|
|
10286
10298
|
}
|
|
10287
|
-
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10288
|
-
const _sfc_main$
|
|
10299
|
+
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$16]]);
|
|
10300
|
+
const _sfc_main$15 = defineComponent({
|
|
10289
10301
|
name: "ArrowUp"
|
|
10290
10302
|
});
|
|
10291
|
-
const _hoisted_1$
|
|
10303
|
+
const _hoisted_1$K = {
|
|
10292
10304
|
class: "icon",
|
|
10293
10305
|
width: "200",
|
|
10294
10306
|
height: "200",
|
|
10295
10307
|
viewBox: "0 0 1024 1024",
|
|
10296
10308
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10297
10309
|
};
|
|
10298
|
-
const _hoisted_2$
|
|
10310
|
+
const _hoisted_2$x = /* @__PURE__ */ createElementVNode("path", {
|
|
10299
10311
|
fill: "currentColor",
|
|
10300
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"
|
|
10301
10313
|
}, null, -1);
|
|
10302
10314
|
const _hoisted_3$s = [
|
|
10303
|
-
_hoisted_2$
|
|
10315
|
+
_hoisted_2$x
|
|
10304
10316
|
];
|
|
10305
|
-
function _sfc_render$
|
|
10306
|
-
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);
|
|
10307
10319
|
}
|
|
10308
|
-
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10309
|
-
const _sfc_main$
|
|
10320
|
+
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15]]);
|
|
10321
|
+
const _sfc_main$14 = defineComponent({
|
|
10310
10322
|
name: "CirclePlus"
|
|
10311
10323
|
});
|
|
10312
|
-
const _hoisted_1$
|
|
10324
|
+
const _hoisted_1$J = {
|
|
10313
10325
|
class: "icon",
|
|
10314
10326
|
width: "200",
|
|
10315
10327
|
height: "200",
|
|
10316
10328
|
viewBox: "0 0 1024 1024",
|
|
10317
10329
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10318
10330
|
};
|
|
10319
|
-
const _hoisted_2$
|
|
10331
|
+
const _hoisted_2$w = /* @__PURE__ */ createElementVNode("path", {
|
|
10320
10332
|
fill: "currentColor",
|
|
10321
10333
|
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
10322
10334
|
}, null, -1);
|
|
@@ -10329,46 +10341,46 @@ const _hoisted_4$i = /* @__PURE__ */ createElementVNode("path", {
|
|
|
10329
10341
|
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
10330
10342
|
}, null, -1);
|
|
10331
10343
|
const _hoisted_5$f = [
|
|
10332
|
-
_hoisted_2$
|
|
10344
|
+
_hoisted_2$w,
|
|
10333
10345
|
_hoisted_3$r,
|
|
10334
10346
|
_hoisted_4$i
|
|
10335
10347
|
];
|
|
10336
|
-
function _sfc_render$
|
|
10337
|
-
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);
|
|
10338
10350
|
}
|
|
10339
|
-
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10340
|
-
const _sfc_main$
|
|
10351
|
+
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14]]);
|
|
10352
|
+
const _sfc_main$13 = defineComponent({
|
|
10341
10353
|
name: "Delete"
|
|
10342
10354
|
});
|
|
10343
|
-
const _hoisted_1$
|
|
10355
|
+
const _hoisted_1$I = {
|
|
10344
10356
|
class: "icon",
|
|
10345
10357
|
width: "200",
|
|
10346
10358
|
height: "200",
|
|
10347
10359
|
viewBox: "0 0 1024 1024",
|
|
10348
10360
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10349
10361
|
};
|
|
10350
|
-
const _hoisted_2$
|
|
10362
|
+
const _hoisted_2$v = /* @__PURE__ */ createElementVNode("path", {
|
|
10351
10363
|
fill: "currentColor",
|
|
10352
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"
|
|
10353
10365
|
}, null, -1);
|
|
10354
10366
|
const _hoisted_3$q = [
|
|
10355
|
-
_hoisted_2$
|
|
10367
|
+
_hoisted_2$v
|
|
10356
10368
|
];
|
|
10357
|
-
function _sfc_render$
|
|
10358
|
-
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);
|
|
10359
10371
|
}
|
|
10360
|
-
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10361
|
-
const _sfc_main$
|
|
10372
|
+
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13]]);
|
|
10373
|
+
const _sfc_main$12 = defineComponent({
|
|
10362
10374
|
name: "Edit"
|
|
10363
10375
|
});
|
|
10364
|
-
const _hoisted_1$
|
|
10376
|
+
const _hoisted_1$H = {
|
|
10365
10377
|
class: "icon",
|
|
10366
10378
|
width: "200",
|
|
10367
10379
|
height: "200",
|
|
10368
10380
|
viewBox: "0 0 1024 1024",
|
|
10369
10381
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10370
10382
|
};
|
|
10371
|
-
const _hoisted_2$
|
|
10383
|
+
const _hoisted_2$u = /* @__PURE__ */ createElementVNode("path", {
|
|
10372
10384
|
fill: "currentColor",
|
|
10373
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"
|
|
10374
10386
|
}, null, -1);
|
|
@@ -10377,118 +10389,118 @@ const _hoisted_3$p = /* @__PURE__ */ createElementVNode("path", {
|
|
|
10377
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"
|
|
10378
10390
|
}, null, -1);
|
|
10379
10391
|
const _hoisted_4$h = [
|
|
10380
|
-
_hoisted_2$
|
|
10392
|
+
_hoisted_2$u,
|
|
10381
10393
|
_hoisted_3$p
|
|
10382
10394
|
];
|
|
10383
|
-
function _sfc_render$
|
|
10384
|
-
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);
|
|
10385
10397
|
}
|
|
10386
|
-
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10387
|
-
const _sfc_main
|
|
10398
|
+
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12]]);
|
|
10399
|
+
const _sfc_main$11 = defineComponent({
|
|
10388
10400
|
name: "InfoFilled"
|
|
10389
10401
|
});
|
|
10390
|
-
const _hoisted_1$
|
|
10402
|
+
const _hoisted_1$G = {
|
|
10391
10403
|
class: "icon",
|
|
10392
10404
|
width: "200",
|
|
10393
10405
|
height: "200",
|
|
10394
10406
|
viewBox: "0 0 1024 1024",
|
|
10395
10407
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10396
10408
|
};
|
|
10397
|
-
const _hoisted_2$
|
|
10409
|
+
const _hoisted_2$t = /* @__PURE__ */ createElementVNode("path", {
|
|
10398
10410
|
fill: "currentColor",
|
|
10399
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"
|
|
10400
10412
|
}, null, -1);
|
|
10401
10413
|
const _hoisted_3$o = [
|
|
10402
|
-
_hoisted_2$
|
|
10414
|
+
_hoisted_2$t
|
|
10403
10415
|
];
|
|
10404
|
-
function _sfc_render
|
|
10405
|
-
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);
|
|
10406
10418
|
}
|
|
10407
|
-
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
10408
|
-
const _sfc_main$
|
|
10419
|
+
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11]]);
|
|
10420
|
+
const _sfc_main$10 = defineComponent({
|
|
10409
10421
|
name: "Loading"
|
|
10410
10422
|
});
|
|
10411
|
-
const _hoisted_1$
|
|
10423
|
+
const _hoisted_1$F = {
|
|
10412
10424
|
class: "icon",
|
|
10413
10425
|
width: "200",
|
|
10414
10426
|
height: "200",
|
|
10415
10427
|
viewBox: "0 0 1024 1024",
|
|
10416
10428
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10417
10429
|
};
|
|
10418
|
-
const _hoisted_2$
|
|
10430
|
+
const _hoisted_2$s = /* @__PURE__ */ createElementVNode("path", {
|
|
10419
10431
|
fill: "currentColor",
|
|
10420
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"
|
|
10421
10433
|
}, null, -1);
|
|
10422
10434
|
const _hoisted_3$n = [
|
|
10423
|
-
_hoisted_2$
|
|
10435
|
+
_hoisted_2$s
|
|
10424
10436
|
];
|
|
10425
|
-
function _sfc_render$
|
|
10426
|
-
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);
|
|
10427
10439
|
}
|
|
10428
|
-
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10429
|
-
const _sfc_main
|
|
10440
|
+
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10]]);
|
|
10441
|
+
const _sfc_main$$ = defineComponent({
|
|
10430
10442
|
name: "Minus"
|
|
10431
10443
|
});
|
|
10432
|
-
const _hoisted_1$
|
|
10444
|
+
const _hoisted_1$E = {
|
|
10433
10445
|
class: "icon",
|
|
10434
10446
|
width: "200",
|
|
10435
10447
|
height: "200",
|
|
10436
10448
|
viewBox: "0 0 1024 1024",
|
|
10437
10449
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10438
10450
|
};
|
|
10439
|
-
const _hoisted_2$
|
|
10451
|
+
const _hoisted_2$r = /* @__PURE__ */ createElementVNode("path", {
|
|
10440
10452
|
fill: "currentColor",
|
|
10441
10453
|
d: "M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"
|
|
10442
10454
|
}, null, -1);
|
|
10443
10455
|
const _hoisted_3$m = [
|
|
10444
|
-
_hoisted_2$
|
|
10456
|
+
_hoisted_2$r
|
|
10445
10457
|
];
|
|
10446
|
-
function _sfc_render
|
|
10447
|
-
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);
|
|
10448
10460
|
}
|
|
10449
|
-
var minus = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
10450
|
-
const _sfc_main$
|
|
10461
|
+
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$]]);
|
|
10462
|
+
const _sfc_main$_ = defineComponent({
|
|
10451
10463
|
name: "Plus"
|
|
10452
10464
|
});
|
|
10453
|
-
const _hoisted_1$
|
|
10465
|
+
const _hoisted_1$D = {
|
|
10454
10466
|
class: "icon",
|
|
10455
10467
|
width: "200",
|
|
10456
10468
|
height: "200",
|
|
10457
10469
|
viewBox: "0 0 1024 1024",
|
|
10458
10470
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10459
10471
|
};
|
|
10460
|
-
const _hoisted_2$
|
|
10472
|
+
const _hoisted_2$q = /* @__PURE__ */ createElementVNode("path", {
|
|
10461
10473
|
fill: "currentColor",
|
|
10462
10474
|
d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
|
|
10463
10475
|
}, null, -1);
|
|
10464
10476
|
const _hoisted_3$l = [
|
|
10465
|
-
_hoisted_2$
|
|
10477
|
+
_hoisted_2$q
|
|
10466
10478
|
];
|
|
10467
|
-
function _sfc_render$
|
|
10468
|
-
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);
|
|
10469
10481
|
}
|
|
10470
|
-
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10471
|
-
const _sfc_main$
|
|
10482
|
+
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
|
|
10483
|
+
const _sfc_main$Z = defineComponent({
|
|
10472
10484
|
name: "Search"
|
|
10473
10485
|
});
|
|
10474
|
-
const _hoisted_1$
|
|
10486
|
+
const _hoisted_1$C = {
|
|
10475
10487
|
class: "icon",
|
|
10476
10488
|
width: "200",
|
|
10477
10489
|
height: "200",
|
|
10478
10490
|
viewBox: "0 0 1024 1024",
|
|
10479
10491
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10480
10492
|
};
|
|
10481
|
-
const _hoisted_2$
|
|
10493
|
+
const _hoisted_2$p = /* @__PURE__ */ createElementVNode("path", {
|
|
10482
10494
|
fill: "currentColor",
|
|
10483
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"
|
|
10484
10496
|
}, null, -1);
|
|
10485
10497
|
const _hoisted_3$k = [
|
|
10486
|
-
_hoisted_2$
|
|
10498
|
+
_hoisted_2$p
|
|
10487
10499
|
];
|
|
10488
|
-
function _sfc_render$
|
|
10489
|
-
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);
|
|
10490
10502
|
}
|
|
10491
|
-
var search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10503
|
+
var search = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
|
|
10492
10504
|
var defaultConfig = {
|
|
10493
10505
|
expireTimes: "1d",
|
|
10494
10506
|
path: "; path=/",
|
|
@@ -10617,7 +10629,7 @@ var _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf
|
|
|
10617
10629
|
var fileUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10618
10630
|
useCookies();
|
|
10619
10631
|
let selectFileText = "'" + translate("render.hint.selectFile") + "'";
|
|
10620
|
-
const _sfc_main$
|
|
10632
|
+
const _sfc_main$Y = {
|
|
10621
10633
|
name: "file-upload-widget",
|
|
10622
10634
|
componentName: "FieldWidget",
|
|
10623
10635
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -10990,8 +11002,8 @@ const _sfc_main$W = {
|
|
|
10990
11002
|
}
|
|
10991
11003
|
}
|
|
10992
11004
|
};
|
|
10993
|
-
const _hoisted_1$
|
|
10994
|
-
const _hoisted_2$
|
|
11005
|
+
const _hoisted_1$B = { class: "file-upload-widget-container" };
|
|
11006
|
+
const _hoisted_2$o = {
|
|
10995
11007
|
key: 0,
|
|
10996
11008
|
class: "no-data-wrap"
|
|
10997
11009
|
};
|
|
@@ -11009,7 +11021,7 @@ const _hoisted_10$4 = { class: "right-wrap" };
|
|
|
11009
11021
|
const _hoisted_11$2 = ["title", "onClick"];
|
|
11010
11022
|
const _hoisted_12$1 = ["onClick"];
|
|
11011
11023
|
const _hoisted_13$1 = ["onClick"];
|
|
11012
|
-
function _sfc_render$
|
|
11024
|
+
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11013
11025
|
const _component_el_button = resolveComponent("el-button");
|
|
11014
11026
|
const _component_el_upload = resolveComponent("el-upload");
|
|
11015
11027
|
const _component_el_progress = resolveComponent("el-progress");
|
|
@@ -11027,8 +11039,8 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11027
11039
|
"sub-form-row-id": $props.subFormRowId
|
|
11028
11040
|
}, {
|
|
11029
11041
|
default: withCtx(() => [
|
|
11030
|
-
createElementVNode("div", _hoisted_1$
|
|
11031
|
-
_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),
|
|
11032
11044
|
createVNode(_component_el_upload, {
|
|
11033
11045
|
ref: "fieldEditor",
|
|
11034
11046
|
disabled: _ctx.getDisabled(),
|
|
@@ -11127,13 +11139,13 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11127
11139
|
_: 1
|
|
11128
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"]);
|
|
11129
11141
|
}
|
|
11130
|
-
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"]]);
|
|
11131
11143
|
var __glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11132
11144
|
__proto__: null,
|
|
11133
11145
|
"default": fileUploadWidget
|
|
11134
11146
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11135
11147
|
var htmlTextWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11136
|
-
const _sfc_main$
|
|
11148
|
+
const _sfc_main$X = {
|
|
11137
11149
|
name: "html-text-widget",
|
|
11138
11150
|
componentName: "FieldWidget",
|
|
11139
11151
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11179,8 +11191,8 @@ const _sfc_main$V = {
|
|
|
11179
11191
|
},
|
|
11180
11192
|
methods: {}
|
|
11181
11193
|
};
|
|
11182
|
-
const _hoisted_1$
|
|
11183
|
-
function _sfc_render$
|
|
11194
|
+
const _hoisted_1$A = ["innerHTML"];
|
|
11195
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11184
11196
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
11185
11197
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
11186
11198
|
designer: $props.designer,
|
|
@@ -11197,19 +11209,19 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11197
11209
|
createElementVNode("div", {
|
|
11198
11210
|
ref: "fieldEditor",
|
|
11199
11211
|
innerHTML: $props.field.options.htmlContent
|
|
11200
|
-
}, null, 8, _hoisted_1$
|
|
11212
|
+
}, null, 8, _hoisted_1$A)
|
|
11201
11213
|
]),
|
|
11202
11214
|
_: 1
|
|
11203
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"]);
|
|
11204
11216
|
}
|
|
11205
|
-
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"]]);
|
|
11206
11218
|
var __glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11207
11219
|
__proto__: null,
|
|
11208
11220
|
"default": htmlTextWidget
|
|
11209
11221
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11210
11222
|
var inputWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11211
11223
|
var inputWidget_vue_vue_type_style_index_1_lang = "";
|
|
11212
|
-
const _sfc_main$
|
|
11224
|
+
const _sfc_main$W = {
|
|
11213
11225
|
name: "input-widget",
|
|
11214
11226
|
componentName: "FieldWidget",
|
|
11215
11227
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11275,8 +11287,8 @@ const _sfc_main$U = {
|
|
|
11275
11287
|
},
|
|
11276
11288
|
methods: {}
|
|
11277
11289
|
};
|
|
11278
|
-
const _hoisted_1$
|
|
11279
|
-
function _sfc_render$
|
|
11290
|
+
const _hoisted_1$z = { class: "input-disabled-tooltip-wrap" };
|
|
11291
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11280
11292
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11281
11293
|
const _component_el_button = resolveComponent("el-button");
|
|
11282
11294
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -11303,7 +11315,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11303
11315
|
"popper-class": "input-disabled-tooltip-popper"
|
|
11304
11316
|
}, {
|
|
11305
11317
|
default: withCtx(() => [
|
|
11306
|
-
createElementVNode("span", _hoisted_1$
|
|
11318
|
+
createElementVNode("span", _hoisted_1$z, [
|
|
11307
11319
|
createVNode(_component_el_input, {
|
|
11308
11320
|
ref: "fieldEditor",
|
|
11309
11321
|
modelValue: $data.fieldModel,
|
|
@@ -11352,13 +11364,13 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11352
11364
|
_: 1
|
|
11353
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"]);
|
|
11354
11366
|
}
|
|
11355
|
-
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"]]);
|
|
11356
11368
|
var __glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11357
11369
|
__proto__: null,
|
|
11358
11370
|
"default": inputWidget
|
|
11359
11371
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11360
11372
|
var numberWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11361
|
-
const _sfc_main$
|
|
11373
|
+
const _sfc_main$V = {
|
|
11362
11374
|
name: "number-widget",
|
|
11363
11375
|
componentName: "FieldWidget",
|
|
11364
11376
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11413,7 +11425,7 @@ const _sfc_main$T = {
|
|
|
11413
11425
|
},
|
|
11414
11426
|
methods: {}
|
|
11415
11427
|
};
|
|
11416
|
-
function _sfc_render$
|
|
11428
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11417
11429
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
11418
11430
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11419
11431
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -11450,13 +11462,13 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11450
11462
|
_: 1
|
|
11451
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"]);
|
|
11452
11464
|
}
|
|
11453
|
-
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"]]);
|
|
11454
11466
|
var __glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11455
11467
|
__proto__: null,
|
|
11456
11468
|
"default": numberWidget
|
|
11457
11469
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11458
11470
|
var pictureUploadWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11459
|
-
const _sfc_main$
|
|
11471
|
+
const _sfc_main$U = {
|
|
11460
11472
|
name: "picture-upload-widget",
|
|
11461
11473
|
componentName: "FieldWidget",
|
|
11462
11474
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11653,8 +11665,8 @@ const _sfc_main$S = {
|
|
|
11653
11665
|
}
|
|
11654
11666
|
}
|
|
11655
11667
|
};
|
|
11656
|
-
const _hoisted_1$
|
|
11657
|
-
const _hoisted_2$
|
|
11668
|
+
const _hoisted_1$y = { class: "el-upload-list__item-status-label" };
|
|
11669
|
+
const _hoisted_2$n = {
|
|
11658
11670
|
class: "el-icon--upload-success",
|
|
11659
11671
|
style: { "color": "#FFF" }
|
|
11660
11672
|
};
|
|
@@ -11666,7 +11678,7 @@ const _hoisted_6$d = {
|
|
|
11666
11678
|
class: "el-upload__tip"
|
|
11667
11679
|
};
|
|
11668
11680
|
const _hoisted_7$b = { class: "uploader-icon" };
|
|
11669
|
-
function _sfc_render$
|
|
11681
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11670
11682
|
const _component_el_image = resolveComponent("el-image");
|
|
11671
11683
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11672
11684
|
const _component_el_upload = resolveComponent("el-upload");
|
|
@@ -11714,8 +11726,8 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11714
11726
|
fit: "cover",
|
|
11715
11727
|
"preview-teleported": ""
|
|
11716
11728
|
}, null, 8, ["src", "preview-src-list", "initial-index"]),
|
|
11717
|
-
createElementVNode("label", _hoisted_1$
|
|
11718
|
-
createElementVNode("i", _hoisted_2$
|
|
11729
|
+
createElementVNode("label", _hoisted_1$y, [
|
|
11730
|
+
createElementVNode("i", _hoisted_2$n, [
|
|
11719
11731
|
createVNode(_component_svg_icon, {
|
|
11720
11732
|
class: "",
|
|
11721
11733
|
"icon-class": "el-check"
|
|
@@ -11751,13 +11763,13 @@ function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11751
11763
|
_: 1
|
|
11752
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"]);
|
|
11753
11765
|
}
|
|
11754
|
-
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"]]);
|
|
11755
11767
|
var __glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11756
11768
|
__proto__: null,
|
|
11757
11769
|
"default": pictureUploadWidget
|
|
11758
11770
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11759
11771
|
var radioWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11760
|
-
const _sfc_main$
|
|
11772
|
+
const _sfc_main$T = {
|
|
11761
11773
|
name: "radio-widget",
|
|
11762
11774
|
componentName: "FieldWidget",
|
|
11763
11775
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11813,7 +11825,7 @@ const _sfc_main$R = {
|
|
|
11813
11825
|
},
|
|
11814
11826
|
methods: {}
|
|
11815
11827
|
};
|
|
11816
|
-
function _sfc_render$
|
|
11828
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11817
11829
|
const _component_el_radio_button = resolveComponent("el-radio-button");
|
|
11818
11830
|
const _component_el_radio = resolveComponent("el-radio");
|
|
11819
11831
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
@@ -11875,13 +11887,13 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11875
11887
|
_: 1
|
|
11876
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"]);
|
|
11877
11889
|
}
|
|
11878
|
-
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"]]);
|
|
11879
11891
|
var __glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11880
11892
|
__proto__: null,
|
|
11881
11893
|
"default": radioWidget
|
|
11882
11894
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11883
11895
|
var rateWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11884
|
-
const _sfc_main$
|
|
11896
|
+
const _sfc_main$S = {
|
|
11885
11897
|
name: "rate-widget",
|
|
11886
11898
|
componentName: "FieldWidget",
|
|
11887
11899
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -11936,7 +11948,7 @@ const _sfc_main$Q = {
|
|
|
11936
11948
|
},
|
|
11937
11949
|
methods: {}
|
|
11938
11950
|
};
|
|
11939
|
-
function _sfc_render$
|
|
11951
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11940
11952
|
const _component_el_rate = resolveComponent("el-rate");
|
|
11941
11953
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11942
11954
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -11969,7 +11981,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11969
11981
|
_: 1
|
|
11970
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"]);
|
|
11971
11983
|
}
|
|
11972
|
-
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"]]);
|
|
11973
11985
|
var __glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11974
11986
|
__proto__: null,
|
|
11975
11987
|
"default": rateWidget
|
|
@@ -23305,7 +23317,7 @@ const defaultOptions = {
|
|
|
23305
23317
|
placeholder: "Insert content here ...",
|
|
23306
23318
|
readOnly: false
|
|
23307
23319
|
};
|
|
23308
|
-
const _sfc_main$
|
|
23320
|
+
const _sfc_main$R = {
|
|
23309
23321
|
name: "quill-editor",
|
|
23310
23322
|
props: {
|
|
23311
23323
|
content: String,
|
|
@@ -23409,16 +23421,16 @@ const _sfc_main$P = {
|
|
|
23409
23421
|
return { editor };
|
|
23410
23422
|
}
|
|
23411
23423
|
};
|
|
23412
|
-
const _hoisted_1$
|
|
23413
|
-
function _sfc_render$
|
|
23414
|
-
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);
|
|
23415
23427
|
}
|
|
23416
|
-
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23428
|
+
var quillEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$R]]);
|
|
23417
23429
|
quillEditor.install = function(app) {
|
|
23418
23430
|
app.component(quillEditor.name, quillEditor);
|
|
23419
23431
|
};
|
|
23420
23432
|
var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23421
|
-
const _sfc_main$
|
|
23433
|
+
const _sfc_main$Q = {
|
|
23422
23434
|
name: "rich-editor-widget",
|
|
23423
23435
|
componentName: "FieldWidget",
|
|
23424
23436
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23497,7 +23509,7 @@ const _sfc_main$O = {
|
|
|
23497
23509
|
}
|
|
23498
23510
|
}
|
|
23499
23511
|
};
|
|
23500
|
-
function _sfc_render$
|
|
23512
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23501
23513
|
const _component_quill_editor = resolveComponent("quill-editor");
|
|
23502
23514
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23503
23515
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23529,12 +23541,12 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23529
23541
|
_: 1
|
|
23530
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"]);
|
|
23531
23543
|
}
|
|
23532
|
-
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"]]);
|
|
23533
23545
|
var __glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23534
23546
|
__proto__: null,
|
|
23535
23547
|
"default": richEditorWidget
|
|
23536
23548
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23537
|
-
const _sfc_main$
|
|
23549
|
+
const _sfc_main$P = {
|
|
23538
23550
|
name: "select-tree-widget",
|
|
23539
23551
|
componentName: "FieldWidget",
|
|
23540
23552
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23606,7 +23618,7 @@ const _sfc_main$N = {
|
|
|
23606
23618
|
this.unregisterFromRefList();
|
|
23607
23619
|
}
|
|
23608
23620
|
};
|
|
23609
|
-
function _sfc_render$
|
|
23621
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23610
23622
|
const _component_el_tree_select = resolveComponent("el-tree-select");
|
|
23611
23623
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23612
23624
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23654,13 +23666,13 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23654
23666
|
_: 1
|
|
23655
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"]);
|
|
23656
23668
|
}
|
|
23657
|
-
var selectTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
23669
|
+
var selectTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$P]]);
|
|
23658
23670
|
var __glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23659
23671
|
__proto__: null,
|
|
23660
23672
|
"default": selectTreeWidget
|
|
23661
23673
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23662
23674
|
var selectWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23663
|
-
const _sfc_main$
|
|
23675
|
+
const _sfc_main$O = {
|
|
23664
23676
|
name: "select-widget",
|
|
23665
23677
|
componentName: "FieldWidget",
|
|
23666
23678
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23739,7 +23751,7 @@ const _sfc_main$M = {
|
|
|
23739
23751
|
}
|
|
23740
23752
|
}
|
|
23741
23753
|
};
|
|
23742
|
-
function _sfc_render$
|
|
23754
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23743
23755
|
const _component_el_option = resolveComponent("el-option");
|
|
23744
23756
|
const _component_el_select = resolveComponent("el-select");
|
|
23745
23757
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -23793,13 +23805,13 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23793
23805
|
_: 1
|
|
23794
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"]);
|
|
23795
23807
|
}
|
|
23796
|
-
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"]]);
|
|
23797
23809
|
var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23798
23810
|
__proto__: null,
|
|
23799
23811
|
"default": selectWidget
|
|
23800
23812
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23801
23813
|
var sliderWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23802
|
-
const _sfc_main$
|
|
23814
|
+
const _sfc_main$N = {
|
|
23803
23815
|
name: "slider-widget",
|
|
23804
23816
|
componentName: "FieldWidget",
|
|
23805
23817
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23854,7 +23866,7 @@ const _sfc_main$L = {
|
|
|
23854
23866
|
},
|
|
23855
23867
|
methods: {}
|
|
23856
23868
|
};
|
|
23857
|
-
function _sfc_render$
|
|
23869
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23858
23870
|
const _component_el_slider = resolveComponent("el-slider");
|
|
23859
23871
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
23860
23872
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -23887,13 +23899,13 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23887
23899
|
_: 1
|
|
23888
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"]);
|
|
23889
23901
|
}
|
|
23890
|
-
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"]]);
|
|
23891
23903
|
var __glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23892
23904
|
__proto__: null,
|
|
23893
23905
|
"default": sliderWidget
|
|
23894
23906
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23895
23907
|
var slotWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23896
|
-
const _sfc_main$
|
|
23908
|
+
const _sfc_main$M = {
|
|
23897
23909
|
name: "slot-widget",
|
|
23898
23910
|
componentName: "FieldWidget",
|
|
23899
23911
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -23939,11 +23951,11 @@ const _sfc_main$K = {
|
|
|
23939
23951
|
},
|
|
23940
23952
|
methods: {}
|
|
23941
23953
|
};
|
|
23942
|
-
const _hoisted_1$
|
|
23954
|
+
const _hoisted_1$w = {
|
|
23943
23955
|
key: 0,
|
|
23944
23956
|
class: "slot-title"
|
|
23945
23957
|
};
|
|
23946
|
-
function _sfc_render$
|
|
23958
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23947
23959
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
23948
23960
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
23949
23961
|
designer: $props.designer,
|
|
@@ -23961,19 +23973,19 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23961
23973
|
class: normalizeClass([!!$props.designState ? "slot-wrapper-design" : "slot-wrapper-render"])
|
|
23962
23974
|
}, [
|
|
23963
23975
|
renderSlot(_ctx.$slots, $props.field.options.name, { formModel: _ctx.formModel }, void 0, true),
|
|
23964
|
-
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23976
|
+
!!$props.designState ? (openBlock(), createElementBlock("div", _hoisted_1$w, toDisplayString($props.field.options.label), 1)) : createCommentVNode("", true)
|
|
23965
23977
|
], 2)
|
|
23966
23978
|
]),
|
|
23967
23979
|
_: 3
|
|
23968
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"]);
|
|
23969
23981
|
}
|
|
23970
|
-
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"]]);
|
|
23971
23983
|
var __glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23972
23984
|
__proto__: null,
|
|
23973
23985
|
"default": slotWidget
|
|
23974
23986
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23975
23987
|
var staticTextWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23976
|
-
const _sfc_main$
|
|
23988
|
+
const _sfc_main$L = {
|
|
23977
23989
|
name: "static-text-widget",
|
|
23978
23990
|
componentName: "FieldWidget",
|
|
23979
23991
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24059,7 +24071,7 @@ const _sfc_main$J = {
|
|
|
24059
24071
|
}
|
|
24060
24072
|
}
|
|
24061
24073
|
};
|
|
24062
|
-
function _sfc_render$
|
|
24074
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24063
24075
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24064
24076
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
24065
24077
|
designer: $props.designer,
|
|
@@ -24086,13 +24098,13 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24086
24098
|
_: 1
|
|
24087
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"]);
|
|
24088
24100
|
}
|
|
24089
|
-
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"]]);
|
|
24090
24102
|
var __glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24091
24103
|
__proto__: null,
|
|
24092
24104
|
"default": staticTextWidget
|
|
24093
24105
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24094
24106
|
var switchWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24095
|
-
const _sfc_main$
|
|
24107
|
+
const _sfc_main$K = {
|
|
24096
24108
|
name: "switch-widget",
|
|
24097
24109
|
componentName: "FieldWidget",
|
|
24098
24110
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24147,7 +24159,7 @@ const _sfc_main$I = {
|
|
|
24147
24159
|
},
|
|
24148
24160
|
methods: {}
|
|
24149
24161
|
};
|
|
24150
|
-
function _sfc_render$
|
|
24162
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24151
24163
|
const _component_el_switch = resolveComponent("el-switch");
|
|
24152
24164
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24153
24165
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24179,13 +24191,13 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24179
24191
|
_: 1
|
|
24180
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"]);
|
|
24181
24193
|
}
|
|
24182
|
-
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"]]);
|
|
24183
24195
|
var __glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24184
24196
|
__proto__: null,
|
|
24185
24197
|
"default": switchWidget
|
|
24186
24198
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24187
24199
|
var textareaWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24188
|
-
const _sfc_main$
|
|
24200
|
+
const _sfc_main$J = {
|
|
24189
24201
|
name: "textarea-widget",
|
|
24190
24202
|
componentName: "FieldWidget",
|
|
24191
24203
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24240,7 +24252,7 @@ const _sfc_main$H = {
|
|
|
24240
24252
|
},
|
|
24241
24253
|
methods: {}
|
|
24242
24254
|
};
|
|
24243
|
-
function _sfc_render$
|
|
24255
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24244
24256
|
const _component_el_input = resolveComponent("el-input");
|
|
24245
24257
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24246
24258
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24278,13 +24290,13 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24278
24290
|
_: 1
|
|
24279
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"]);
|
|
24280
24292
|
}
|
|
24281
|
-
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"]]);
|
|
24282
24294
|
var __glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24283
24295
|
__proto__: null,
|
|
24284
24296
|
"default": textareaWidget
|
|
24285
24297
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24286
24298
|
var timeRangeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24287
|
-
const _sfc_main$
|
|
24299
|
+
const _sfc_main$I = {
|
|
24288
24300
|
name: "time-range-widget",
|
|
24289
24301
|
componentName: "FieldWidget",
|
|
24290
24302
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24339,7 +24351,7 @@ const _sfc_main$G = {
|
|
|
24339
24351
|
},
|
|
24340
24352
|
methods: {}
|
|
24341
24353
|
};
|
|
24342
|
-
function _sfc_render$
|
|
24354
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24343
24355
|
const _component_el_time_picker = resolveComponent("el-time-picker");
|
|
24344
24356
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24345
24357
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24382,13 +24394,13 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24382
24394
|
_: 1
|
|
24383
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"]);
|
|
24384
24396
|
}
|
|
24385
|
-
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"]]);
|
|
24386
24398
|
var __glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24387
24399
|
__proto__: null,
|
|
24388
24400
|
"default": timeRangeWidget
|
|
24389
24401
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24390
24402
|
var timeWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24391
|
-
const _sfc_main$
|
|
24403
|
+
const _sfc_main$H = {
|
|
24392
24404
|
name: "time-widget",
|
|
24393
24405
|
componentName: "FieldWidget",
|
|
24394
24406
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -24443,7 +24455,7 @@ const _sfc_main$F = {
|
|
|
24443
24455
|
},
|
|
24444
24456
|
methods: {}
|
|
24445
24457
|
};
|
|
24446
|
-
function _sfc_render$
|
|
24458
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24447
24459
|
const _component_el_time_picker = resolveComponent("el-time-picker");
|
|
24448
24460
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
24449
24461
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -24480,7 +24492,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24480
24492
|
_: 1
|
|
24481
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"]);
|
|
24482
24494
|
}
|
|
24483
|
-
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"]]);
|
|
24484
24496
|
var __glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24485
24497
|
__proto__: null,
|
|
24486
24498
|
"default": timeWidget
|
|
@@ -24492,7 +24504,7 @@ for (const path in modules$2) {
|
|
|
24492
24504
|
comps[cname] = modules$2[path].default;
|
|
24493
24505
|
}
|
|
24494
24506
|
var gridColItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
24495
|
-
const _sfc_main$
|
|
24507
|
+
const _sfc_main$G = {
|
|
24496
24508
|
name: "GridColItem",
|
|
24497
24509
|
componentName: "ContainerItem",
|
|
24498
24510
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -24645,9 +24657,9 @@ const _sfc_main$E = {
|
|
|
24645
24657
|
}
|
|
24646
24658
|
}
|
|
24647
24659
|
};
|
|
24648
|
-
const _hoisted_1$
|
|
24649
|
-
const _hoisted_2$
|
|
24650
|
-
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) {
|
|
24651
24663
|
const _component_el_col = resolveComponent("el-col");
|
|
24652
24664
|
return $props.widget ? withDirectives((openBlock(), createBlock(_component_el_col, mergeProps({
|
|
24653
24665
|
key: 0,
|
|
@@ -24703,8 +24715,8 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24703
24715
|
], 64);
|
|
24704
24716
|
}), 256)) : (openBlock(), createBlock(_component_el_col, { key: 1 }, {
|
|
24705
24717
|
default: withCtx(() => [
|
|
24706
|
-
createElementVNode("div", _hoisted_1$
|
|
24707
|
-
createElementVNode("span", _hoisted_2$
|
|
24718
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
24719
|
+
createElementVNode("span", _hoisted_2$m, toDisplayString(_ctx.i18nt("render.hint.blankCellContent")), 1)
|
|
24708
24720
|
])
|
|
24709
24721
|
]),
|
|
24710
24722
|
_: 1
|
|
@@ -24715,7 +24727,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24715
24727
|
[vShow, $options.colVisible]
|
|
24716
24728
|
]) : createCommentVNode("", true);
|
|
24717
24729
|
}
|
|
24718
|
-
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"]]);
|
|
24719
24731
|
var __glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24720
24732
|
__proto__: null,
|
|
24721
24733
|
"default": GridColItem
|
|
@@ -24909,7 +24921,7 @@ var containerItemMixin = {
|
|
|
24909
24921
|
}
|
|
24910
24922
|
}
|
|
24911
24923
|
};
|
|
24912
|
-
const _sfc_main$
|
|
24924
|
+
const _sfc_main$F = {
|
|
24913
24925
|
name: "vf-grid-item",
|
|
24914
24926
|
componentName: "ContainerItem",
|
|
24915
24927
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -24952,7 +24964,7 @@ const _sfc_main$D = {
|
|
|
24952
24964
|
},
|
|
24953
24965
|
methods: {}
|
|
24954
24966
|
};
|
|
24955
|
-
function _sfc_render$
|
|
24967
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24956
24968
|
const _component_grid_col_item = resolveComponent("grid-col-item");
|
|
24957
24969
|
const _component_el_row = resolveComponent("el-row");
|
|
24958
24970
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -24998,13 +25010,13 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24998
25010
|
_: 3
|
|
24999
25011
|
}, 8, ["widget"]);
|
|
25000
25012
|
}
|
|
25001
|
-
var gridItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25013
|
+
var gridItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$F]]);
|
|
25002
25014
|
var __glob_0_2$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25003
25015
|
__proto__: null,
|
|
25004
25016
|
"default": gridItem
|
|
25005
25017
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25006
25018
|
var subFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25007
|
-
const _sfc_main$
|
|
25019
|
+
const _sfc_main$E = {
|
|
25008
25020
|
name: "sub-form-item",
|
|
25009
25021
|
componentName: "ContainerItem",
|
|
25010
25022
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25205,8 +25217,8 @@ const _sfc_main$C = {
|
|
|
25205
25217
|
}
|
|
25206
25218
|
}
|
|
25207
25219
|
};
|
|
25208
|
-
const _hoisted_1$
|
|
25209
|
-
const _hoisted_2$
|
|
25220
|
+
const _hoisted_1$u = { class: "action-header-column" };
|
|
25221
|
+
const _hoisted_2$l = { class: "action-label" };
|
|
25210
25222
|
const _hoisted_3$h = {
|
|
25211
25223
|
key: 0,
|
|
25212
25224
|
class: "custom-label"
|
|
@@ -25218,7 +25230,7 @@ const _hoisted_7$a = {
|
|
|
25218
25230
|
key: 0,
|
|
25219
25231
|
class: "row-number-span"
|
|
25220
25232
|
};
|
|
25221
|
-
function _sfc_render$
|
|
25233
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25222
25234
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
25223
25235
|
const _component_el_button = resolveComponent("el-button");
|
|
25224
25236
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
@@ -25232,8 +25244,8 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25232
25244
|
}, [
|
|
25233
25245
|
createVNode(_component_el_row, { class: "header-row" }, {
|
|
25234
25246
|
default: withCtx(() => [
|
|
25235
|
-
createElementVNode("div", _hoisted_1$
|
|
25236
|
-
createElementVNode("span", _hoisted_2$
|
|
25247
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
25248
|
+
createElementVNode("span", _hoisted_2$l, toDisplayString(_ctx.i18nt("render.hint.subFormAction")), 1),
|
|
25237
25249
|
createVNode(_component_el_button, {
|
|
25238
25250
|
disabled: $data.actionDisabled,
|
|
25239
25251
|
round: "",
|
|
@@ -25380,12 +25392,12 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25380
25392
|
_: 1
|
|
25381
25393
|
}, 8, ["widget"]);
|
|
25382
25394
|
}
|
|
25383
|
-
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"]]);
|
|
25384
25396
|
var __glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25385
25397
|
__proto__: null,
|
|
25386
25398
|
"default": subFormItem
|
|
25387
25399
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25388
|
-
const _sfc_main$
|
|
25400
|
+
const _sfc_main$D = {
|
|
25389
25401
|
name: "tab-item",
|
|
25390
25402
|
componentName: "ContainerItem",
|
|
25391
25403
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25436,7 +25448,7 @@ const _sfc_main$B = {
|
|
|
25436
25448
|
}
|
|
25437
25449
|
}
|
|
25438
25450
|
};
|
|
25439
|
-
function _sfc_render$
|
|
25451
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25440
25452
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
25441
25453
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
25442
25454
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -25511,13 +25523,13 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25511
25523
|
_: 3
|
|
25512
25524
|
}, 8, ["widget"]);
|
|
25513
25525
|
}
|
|
25514
|
-
var tabItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
25526
|
+
var tabItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["render", _sfc_render$D]]);
|
|
25515
25527
|
var __glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25516
25528
|
__proto__: null,
|
|
25517
25529
|
"default": tabItem
|
|
25518
25530
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25519
25531
|
var tableCellItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25520
|
-
const _sfc_main$
|
|
25532
|
+
const _sfc_main$C = {
|
|
25521
25533
|
name: "TableCellItem",
|
|
25522
25534
|
componentName: "ContainerItem",
|
|
25523
25535
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -25540,8 +25552,8 @@ const _sfc_main$A = {
|
|
|
25540
25552
|
},
|
|
25541
25553
|
methods: {}
|
|
25542
25554
|
};
|
|
25543
|
-
const _hoisted_1$
|
|
25544
|
-
function _sfc_render$
|
|
25555
|
+
const _hoisted_1$t = ["colspan", "rowspan"];
|
|
25556
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25545
25557
|
return openBlock(), createElementBlock("td", {
|
|
25546
25558
|
class: normalizeClass(["table-cell", [$options.customClass]]),
|
|
25547
25559
|
colspan: $props.widget && $props.widget.options ? $props.widget.options.colspan || 1 : 1,
|
|
@@ -25583,15 +25595,15 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25583
25595
|
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
25584
25596
|
], 64);
|
|
25585
25597
|
}), 256))
|
|
25586
|
-
], 14, _hoisted_1$
|
|
25598
|
+
], 14, _hoisted_1$t);
|
|
25587
25599
|
}
|
|
25588
|
-
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"]]);
|
|
25589
25601
|
var __glob_0_5$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25590
25602
|
__proto__: null,
|
|
25591
25603
|
"default": TableCellItem
|
|
25592
25604
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25593
25605
|
var tableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
25594
|
-
const _sfc_main$
|
|
25606
|
+
const _sfc_main$B = {
|
|
25595
25607
|
name: "table-item",
|
|
25596
25608
|
componentName: "ContainerItem",
|
|
25597
25609
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -25613,7 +25625,7 @@ const _sfc_main$z = {
|
|
|
25613
25625
|
},
|
|
25614
25626
|
methods: {}
|
|
25615
25627
|
};
|
|
25616
|
-
function _sfc_render$
|
|
25628
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25617
25629
|
const _component_table_cell_item = resolveComponent("table-cell-item");
|
|
25618
25630
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
25619
25631
|
return openBlock(), createBlock(_component_container_item_wrapper, { widget: $props.widget }, {
|
|
@@ -25663,7 +25675,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25663
25675
|
_: 3
|
|
25664
25676
|
}, 8, ["widget"]);
|
|
25665
25677
|
}
|
|
25666
|
-
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"]]);
|
|
25667
25679
|
var __glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25668
25680
|
__proto__: null,
|
|
25669
25681
|
"default": tableItem
|
|
@@ -25677,8 +25689,8 @@ var ContainerItems = {
|
|
|
25677
25689
|
}
|
|
25678
25690
|
}
|
|
25679
25691
|
};
|
|
25680
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
25681
|
-
const _sfc_main$
|
|
25692
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
25693
|
+
const _sfc_main$A = {
|
|
25682
25694
|
name: "VFormRender",
|
|
25683
25695
|
componentName: "VFormRender",
|
|
25684
25696
|
mixins: [emitter, i18n$1],
|
|
@@ -26507,7 +26519,7 @@ const _sfc_main$y = {
|
|
|
26507
26519
|
}
|
|
26508
26520
|
}
|
|
26509
26521
|
};
|
|
26510
|
-
function _sfc_render$
|
|
26522
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26511
26523
|
const _component_el_form = resolveComponent("el-form");
|
|
26512
26524
|
return openBlock(), createBlock(_component_el_form, {
|
|
26513
26525
|
"label-position": $options.labelPosition,
|
|
@@ -26564,7 +26576,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26564
26576
|
_: 3
|
|
26565
26577
|
}, 8, ["label-position", "size", "class", "label-width", "model"]);
|
|
26566
26578
|
}
|
|
26567
|
-
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"]]);
|
|
26568
26580
|
function registerIcon(app) {
|
|
26569
26581
|
app.component("el-icon-edit", edit);
|
|
26570
26582
|
app.component("el-icon-minus", minus);
|
|
@@ -26579,13 +26591,13 @@ function registerIcon(app) {
|
|
|
26579
26591
|
if (typeof window !== "undefined") {
|
|
26580
26592
|
let loadSvg = function() {
|
|
26581
26593
|
var body = document.body;
|
|
26582
|
-
var svgDom = document.getElementById("
|
|
26594
|
+
var svgDom = document.getElementById("__svg__icons__dom__1782180404758__");
|
|
26583
26595
|
if (!svgDom) {
|
|
26584
26596
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26585
26597
|
svgDom.style.position = "absolute";
|
|
26586
26598
|
svgDom.style.width = "0";
|
|
26587
26599
|
svgDom.style.height = "0";
|
|
26588
|
-
svgDom.id = "
|
|
26600
|
+
svgDom.id = "__svg__icons__dom__1782180404758__";
|
|
26589
26601
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26590
26602
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26591
26603
|
}
|
|
@@ -26859,7 +26871,7 @@ var containerMixin = {
|
|
|
26859
26871
|
}
|
|
26860
26872
|
};
|
|
26861
26873
|
var containerWrapper_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26862
|
-
const _sfc_main$
|
|
26874
|
+
const _sfc_main$z = {
|
|
26863
26875
|
name: "container-wrapper",
|
|
26864
26876
|
mixins: [i18n$1, containerMixin],
|
|
26865
26877
|
components: {
|
|
@@ -26878,11 +26890,11 @@ const _sfc_main$x = {
|
|
|
26878
26890
|
}
|
|
26879
26891
|
}
|
|
26880
26892
|
};
|
|
26881
|
-
const _hoisted_1$
|
|
26893
|
+
const _hoisted_1$s = {
|
|
26882
26894
|
key: 0,
|
|
26883
26895
|
class: "container-action"
|
|
26884
26896
|
};
|
|
26885
|
-
const _hoisted_2$
|
|
26897
|
+
const _hoisted_2$k = ["title"];
|
|
26886
26898
|
const _hoisted_3$g = ["title"];
|
|
26887
26899
|
const _hoisted_4$d = ["title"];
|
|
26888
26900
|
const _hoisted_5$b = ["title"];
|
|
@@ -26895,19 +26907,19 @@ const _hoisted_9$5 = {
|
|
|
26895
26907
|
};
|
|
26896
26908
|
const _hoisted_10$3 = ["title"];
|
|
26897
26909
|
const _hoisted_11$1 = { key: 0 };
|
|
26898
|
-
function _sfc_render$
|
|
26910
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26899
26911
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
26900
26912
|
return openBlock(), createElementBlock("div", {
|
|
26901
26913
|
class: normalizeClass(["container-wrapper", [$options.customClass]])
|
|
26902
26914
|
}, [
|
|
26903
26915
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
26904
|
-
$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, [
|
|
26905
26917
|
createElementVNode("i", {
|
|
26906
26918
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
26907
26919
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectParentWidget($props.widget), ["stop"]))
|
|
26908
26920
|
}, [
|
|
26909
26921
|
createVNode(_component_svg_icon, { "icon-class": "el-back" })
|
|
26910
|
-
], 8, _hoisted_2$
|
|
26922
|
+
], 8, _hoisted_2$k),
|
|
26911
26923
|
!!$props.parentList && $props.parentList.length > 1 ? (openBlock(), createElementBlock("i", {
|
|
26912
26924
|
key: 0,
|
|
26913
26925
|
title: _ctx.i18nt("designer.hint.moveUpWidget"),
|
|
@@ -26963,7 +26975,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26963
26975
|
])) : createCommentVNode("", true)
|
|
26964
26976
|
], 2);
|
|
26965
26977
|
}
|
|
26966
|
-
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"]]);
|
|
26967
26979
|
var __glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26968
26980
|
__proto__: null,
|
|
26969
26981
|
"default": ContainerWrapper
|
|
@@ -26993,7 +27005,7 @@ var refMixinDesign = {
|
|
|
26993
27005
|
}
|
|
26994
27006
|
};
|
|
26995
27007
|
var cardWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
26996
|
-
const _sfc_main$
|
|
27008
|
+
const _sfc_main$y = {
|
|
26997
27009
|
name: "card-widget",
|
|
26998
27010
|
componentName: "ContainerWidget",
|
|
26999
27011
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -27033,9 +27045,9 @@ const _sfc_main$w = {
|
|
|
27033
27045
|
}
|
|
27034
27046
|
}
|
|
27035
27047
|
};
|
|
27036
|
-
const _hoisted_1$
|
|
27037
|
-
const _hoisted_2$
|
|
27038
|
-
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) {
|
|
27039
27051
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
27040
27052
|
const _component_el_icon = resolveComponent("el-icon");
|
|
27041
27053
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -27069,7 +27081,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27069
27081
|
]),
|
|
27070
27082
|
_: 1
|
|
27071
27083
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
27072
|
-
createElementVNode("div", _hoisted_1$
|
|
27084
|
+
createElementVNode("div", _hoisted_1$r, toDisplayString($props.widget.options.label), 1)
|
|
27073
27085
|
])
|
|
27074
27086
|
]),
|
|
27075
27087
|
default: withCtx(() => [
|
|
@@ -27085,7 +27097,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27085
27097
|
move: $options.checkContainerMove
|
|
27086
27098
|
}), {
|
|
27087
27099
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
27088
|
-
createElementVNode("div", _hoisted_2$
|
|
27100
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
27089
27101
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
27090
27102
|
widget: subWidget,
|
|
27091
27103
|
designer: $props.designer,
|
|
@@ -27113,9 +27125,9 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27113
27125
|
_: 1
|
|
27114
27126
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
27115
27127
|
}
|
|
27116
|
-
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"]]);
|
|
27117
27129
|
var cardItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
27118
|
-
const _sfc_main$
|
|
27130
|
+
const _sfc_main$x = {
|
|
27119
27131
|
name: "card-item",
|
|
27120
27132
|
componentName: "ContainerItem",
|
|
27121
27133
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -27145,8 +27157,8 @@ const _sfc_main$v = {
|
|
|
27145
27157
|
}
|
|
27146
27158
|
}
|
|
27147
27159
|
};
|
|
27148
|
-
const _hoisted_1$
|
|
27149
|
-
function _sfc_render$
|
|
27160
|
+
const _hoisted_1$q = { class: "label" };
|
|
27161
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27150
27162
|
const _component_ArrowDownBold = resolveComponent("ArrowDownBold");
|
|
27151
27163
|
const _component_el_icon = resolveComponent("el-icon");
|
|
27152
27164
|
const _component_el_card = resolveComponent("el-card");
|
|
@@ -27173,7 +27185,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27173
27185
|
]),
|
|
27174
27186
|
_: 1
|
|
27175
27187
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
27176
|
-
createElementVNode("div", _hoisted_1$
|
|
27188
|
+
createElementVNode("div", _hoisted_1$q, toDisplayString($props.widget.options.label), 1)
|
|
27177
27189
|
])
|
|
27178
27190
|
]),
|
|
27179
27191
|
default: withCtx(() => [
|
|
@@ -27222,9 +27234,9 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27222
27234
|
_: 3
|
|
27223
27235
|
}, 8, ["widget"]);
|
|
27224
27236
|
}
|
|
27225
|
-
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"]]);
|
|
27226
27238
|
const ACE_BASE_PATH = "https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini";
|
|
27227
|
-
const _sfc_main$
|
|
27239
|
+
const _sfc_main$w = {
|
|
27228
27240
|
name: "alert-widget",
|
|
27229
27241
|
componentName: "FieldWidget",
|
|
27230
27242
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -27270,7 +27282,7 @@ const _sfc_main$u = {
|
|
|
27270
27282
|
}
|
|
27271
27283
|
}
|
|
27272
27284
|
};
|
|
27273
|
-
function _sfc_render$
|
|
27285
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27274
27286
|
const _component_el_alert = resolveComponent("el-alert");
|
|
27275
27287
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
27276
27288
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -27301,7 +27313,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27301
27313
|
_: 1
|
|
27302
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"]);
|
|
27303
27315
|
}
|
|
27304
|
-
var AlertWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
27316
|
+
var AlertWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$w]]);
|
|
27305
27317
|
var cryptoJs = { exports: {} };
|
|
27306
27318
|
var core = { exports: {} };
|
|
27307
27319
|
(function(module, exports) {
|
|
@@ -32600,7 +32612,7 @@ var personTree = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGlu
|
|
|
32600
32612
|
var personIcon = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT7nvJbnu4QgOOWkh+S7vSAyPC90aXRsZT4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDIzLjk5OTk1NzEgMjQgMjMuOTk5OTU3MSAyNCAwIDAgMCI+PC9wb2x5Z29uPg0KICAgIDwvZGVmcz4NCiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0i5Zu+5bqTIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzc5LCAtODcpIj4NCiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOOWkh+S7vS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NzksIDg3KSI+DQogICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgIDwvbWFzaz4NCiAgICAgICAgICAgICAgICA8dXNlIGlkPSLokpnniYgiIGZpbGw9IiNFM0U2RjEiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOCIgbWFzaz0idXJsKCNtYXNrLTIpIj4NCiAgICAgICAgICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIuMjgxOCwgMi4yNTc2KSI+DQogICAgICAgICAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iRmlsbC0yIiBmaWxsPSIjRkRFRUVBIiBwb2ludHM9IjEyLjIxNzA4ODIgMTguOTc4MDExIDE2LjM0NjU4MDggMTguOTc4MDExIDE2LjM0NjU4MDggMTMuOTkzMjYyOCAxMi4yMTcwODgyIDEzLjk5MzI2MjgiPjwvcG9seWdvbj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtNiIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTMuOTMyMjcwOCwzLjMzNTQ5NDY2IEwxNy44NTY1NjM4LDMuNzE5NjY1NCBMMjEuMDM2NjAxLDcuMzA1Njg3NTcgQzIxLjAzNjYwMSw3LjMwNTY4NzU3IDIxLjA1MTM0OSw3LjQxMjQwNzk0IDIxLjA2NjI2NzksNy41OTIxMzY2NCBDMjEuNTQ1NjQyOCw3Ljc1OTM3ODQ1IDIxLjg5MzYxOCw4LjI1NDkwNTE4IDIxLjg5MzYxOCw4Ljg0MDIzMTk3IEMyMS44OTM2MTgsOS41MDY4MDY3NyAyMS40NDIzMzQ3LDEwLjA1NjkyMTMgMjAuODU4ODY1NCwxMC4xMzgwMTY1IEMyMC40MzcwNzIzLDExLjU1MDQ3MTQgMTguNzA0NDc3MiwxNi4wNTQ0ODYyIDE0LjI0Mjk4NDYsMTYuMDU0NDg2MiBDOS43OTU0NjA4OSwxNi4wNTQ0ODYyIDguMTA2NDY3NDksMTEuMzgxNjA0OCA3LjY0NTA2NDUsMTAuMTI2NDE1NCBDNy4wOTA5MTA3MywxMC4wMTkwNTA5IDYuNjcwMDUwOTUsOS40ODM5NDU5MyA2LjY3MDA1MDk1LDguODQwMjMxOTcgQzYuNjcwMDUwOTUsOC4yNTIwNTk5NyA3LjAyMTQxNzM4LDcuNzU0NTYzMTggNy41MDQ5MjUzNyw3LjU4OTk1NTEzIEw3LjUwNDUxMzc1LDcuNDg5Mjg3MjQgTDkuMDM4MTY1MjksNS42MzA0MDQ4NSBMMTMuOTMyMjcwOCwzLjMzNTQ5NDY2IFoiIGlkPSLlvaLnirbnu5PlkIgiIGZpbGw9IiNGRkY1RjQiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy41MDQ1MjUxNyw3LjQ4OTI3ODY3IEM3LjIwNDk1NDI4LDUuNzQ1MTY3NSA3LjYzMjg4MjA4LDIuNjE5ODU4OCAxMC43MDcxMDUyLDAuODExMTE5MTY4IEMxMy43OTI0NzExLC0xLjAwNDIyMDQ1IDE4LjEyNzIwNjIsMC42Mjc1MTk0OTYgMTguMTA0NjIwNSwxLjgyMDg3NDUxIEMxOC45MzkzMDQ4LDEuNzg3ODc0NTcgMjEuMzczMjQzMywyLjQ2NjE3MzM2IDIxLjAzNjYwMSw3LjMwNTY3OSBDMjAuNjk4Mjg3Myw3LjI4Mjc1MDQ3IDE3LjgzNDAyMSw3LjA1MzI1MDg4IDE2LjQxMzEzNzgsNC42NDM2MTIzMiBDMTUuOTg0NjEsNS4wMzM3NDAyIDEzLjk3NzM1NjUsNi42NDAxNTE2MiAxMS4wNDU0MTg4LDYuODY5NjUxMjEgQzkuNjI0NTM1NjcsNi45ODQzNzk1NyA3Ljg2NTM4MTY3LDYuOTM4NDc5NjUgNy41MDQ1MjUxNyw3LjQ4OTI3ODY3IiBpZD0iRmlsbC01IiBmaWxsPSIjNjQ2NjdBIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI4LjU2MzY3NzYsMjcuODAyMDY2NyBDMjguNTYzNjc3NiwzMy4zOTI5NDI0IDIxLjU0NDc2MTUsMzcuOTI1MjQ4NiAxNC4yODE4MTc0LDM3LjkyNTI0ODYgQzcuMDE4OTE2MDQsMzcuOTI1MjQ4NiAwLDMzLjM5Mjk0MjQgMCwyNy44MDIwNjY3IEMwLDIzLjI5MzUwMzMgMS40MDE0Njg5MywxNy45MTEyMTI5IDEzLjQyNjAwNDYsMTcuNjg2MTcwNSBDMTMuNTA5NjE4NywxNy45NTMyOTg2IDEzLjk2NjIxNzksMTguMzAwMTQwOCAxNC4yMzUxODg5LDE4LjMwMDE0MDggQzE0LjQ4Mjk0NTYsMTguMzAwMTQwOCAxNS4wOTIzMzAyLDE4LjA2MDk1NTUgMTUuMDgwNDE1OSwxNy42ODUyMjc2IEMyNy4xNjEyMjI5LDE3Ljg5ODA5ODcgMjguNTYzNjc3NiwyMy40MTgzNDU5IDI4LjU2MzY3NzYsMjcuODAyMDY2NyIgaWQ9IkZpbGwtMTEiIGZpbGw9IiM2NDY2N0EiPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTEuODU2MTQxNywxNi41NzcwMTY3IEwxMS4wODcyNDMxLDE3LjM0NDU4NjggQzExLjAwNDIyODksMTcuNDI3NTE1MiAxMC45ODE3NzE4LDE3LjU0OTc4NjQgMTEuMDMwMzcxNywxNy42NTQ1NzE5IEwxMi40NTI2MjYzLDIwLjcxOTgzNzkgQzEyLjUwMDI4MzQsMjAuODIyNTY2MyAxMi42MDcyMTE4LDIwLjg4ODgyMzMgMTIuNzI1MjQwMSwyMC44ODg4MjMzIEwxNS44MzE2OTE3LDIwLjg4ODgyMzMgQzE1Ljk0OTA3NzIsMjAuODg4ODIzMyAxNi4wNTU1MzQyLDIwLjgyMzI5NDkgMTYuMTAzNTc3LDIwLjcyMTQyMzYgTDE3LjUzMjU2MDEsMTcuNjkxMzQzMyBDMTcuNTgzMTc0MywxNy41ODQwMjkyIDE3LjU1ODgzMTUsMTcuNDU4MTE1MiAxNy40NzE0MDMxLDE3LjM3NDkyOTYgTDE2LjYyMzczMzIsMTYuNTY4NjE2NyBDMTYuNTA2ODE5MSwxNi40NTc0MDI3IDE2LjMxNzAwNTEsMTYuNDU4MDAyNyAxNi4yMDA4NjI1LDE2LjU3MDAzMSBMMTQuOTI5MjA3NiwxNy43OTY3Mjg4IEMxNC44NzMxOTM0LDE3Ljg1MDcyODcgMTQuNzk2Nzc5MywxNy44ODExNTczIDE0LjcxNzAyMjMsMTcuODgxMTU3MyBMMTMuNzgyMTM4MiwxNy44ODExNTczIEMxMy43MDMxMDk4LDE3Ljg4MTE1NzMgMTMuNjI3MzM4NSwxNy44NTEyODU5IDEzLjU3MTQ1MjksMTcuNzk4MTQzMSBMMTIuMjgyNTY5NSwxNi41NzIxMzEgQzEyLjE2NDE5ODMsMTYuNDU5NTQ1NSAxMS45NzE1OTg2LDE2LjQ2MTczMTIgMTEuODU2MTQxNywxNi41NzcwMTY3IiBpZD0iRmlsbC0xMyIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xNC41NTEwNTQsMTcuODU1OTc4NyBMMTQuMDE1NjgzNSwxNy44NTU5Nzg3IEMxMy44ODk4OTgxLDE3Ljg1NTk3ODcgMTMuNzgwMTQxMSwxNy45NDExMzU3IDEzLjc0ODgxMjYsMTguMDYyODkyNiBMMTIuOTg2NzI4MiwyMS4wMjY5NzMxIEMxMi45NzIwMjgzLDIxLjA4NDEwMTUgMTIuOTc2MDk5NywyMS4xNDQ0NDQzIDEyLjk5ODI1NjgsMjEuMTk5MTI5OSBMMTMuNzMyMjY5OCwyMy4wMDk0MTI0IEMxMy43NzQ0NDExLDIzLjExMzM4MzYgMTMuODc1NDEyNCwyMy4xODEzOTc4IDEzLjk4NzYxMjIsMjMuMTgxMzk3OCBMMTQuNTc5MTI1NCwyMy4xODEzOTc4IEMxNC42OTEyODIzLDIzLjE4MTM5NzggMTQuNzkyMjk2NCwyMy4xMTMzODM2IDE0LjgzNDQ2NzgsMjMuMDA5NDEyNCBMMTUuNTY4NDgwOCwyMS4xOTkxMjk5IEMxNS41OTA2Mzc5LDIxLjE0NDQ0NDMgMTUuNTk0NjY2NCwyMS4wODQxMDE1IDE1LjU4MDAwOTMsMjEuMDI2OTczMSBMMTQuODE3OTI1LDE4LjA2Mjg5MjYgQzE0Ljc4NjU5NjUsMTcuOTQxMTM1NyAxNC42NzY3OTY2LDE3Ljg1NTk3ODcgMTQuNTUxMDU0LDE3Ljg1NTk3ODciIGlkPSJGaWxsLTE1IiBmaWxsPSIjQTNBREMzIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=";
|
|
32601
32613
|
var personTreeItem_vue_vue_type_style_index_0_lang = "";
|
|
32602
32614
|
var personTreeItem_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
32603
|
-
const _sfc_main$
|
|
32615
|
+
const _sfc_main$v = {
|
|
32604
32616
|
name: "person-tree-widget",
|
|
32605
32617
|
componentName: "FieldWidget",
|
|
32606
32618
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -32900,10 +32912,10 @@ const _sfc_main$t = {
|
|
|
32900
32912
|
}
|
|
32901
32913
|
}
|
|
32902
32914
|
};
|
|
32903
|
-
const _hoisted_1$
|
|
32904
|
-
const _hoisted_2$
|
|
32915
|
+
const _hoisted_1$p = { class: "person-tree-widget__trigger" };
|
|
32916
|
+
const _hoisted_2$i = { class: "flex items-center" };
|
|
32905
32917
|
const _hoisted_3$f = { class: "dialog-footer" };
|
|
32906
|
-
function _sfc_render$
|
|
32918
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32907
32919
|
const _component_el_input_tag = resolveComponent("el-input-tag");
|
|
32908
32920
|
const _component_el_input = resolveComponent("el-input");
|
|
32909
32921
|
const _component_el_tree = resolveComponent("el-tree");
|
|
@@ -32928,7 +32940,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32928
32940
|
class: "person-tree-widget",
|
|
32929
32941
|
style: normalizeStyle($options.widgetStyle)
|
|
32930
32942
|
}, [
|
|
32931
|
-
createElementVNode("div", _hoisted_1$
|
|
32943
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
32932
32944
|
createVNode(_component_el_input_tag, {
|
|
32933
32945
|
modelValue: $options.displayModel,
|
|
32934
32946
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $options.displayModel = $event),
|
|
@@ -32941,7 +32953,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32941
32953
|
onRemoveTag: $options.handleRemoveTag
|
|
32942
32954
|
}, {
|
|
32943
32955
|
tag: withCtx(({ value: value2 }) => [
|
|
32944
|
-
createElementVNode("div", _hoisted_2$
|
|
32956
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
32945
32957
|
createElementVNode("span", null, toDisplayString(value2.name), 1)
|
|
32946
32958
|
])
|
|
32947
32959
|
]),
|
|
@@ -33023,8 +33035,8 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33023
33035
|
_: 1
|
|
33024
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"]);
|
|
33025
33037
|
}
|
|
33026
|
-
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33027
|
-
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 = {
|
|
33028
33040
|
name: "radio-other-widget",
|
|
33029
33041
|
componentName: "FieldWidget",
|
|
33030
33042
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33139,7 +33151,7 @@ const _sfc_main$s = {
|
|
|
33139
33151
|
}
|
|
33140
33152
|
}
|
|
33141
33153
|
};
|
|
33142
|
-
function _sfc_render$
|
|
33154
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33143
33155
|
const _component_el_radio = resolveComponent("el-radio");
|
|
33144
33156
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
33145
33157
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -33195,8 +33207,8 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33195
33207
|
_: 1
|
|
33196
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"]);
|
|
33197
33209
|
}
|
|
33198
|
-
var radioOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33199
|
-
const _sfc_main$
|
|
33210
|
+
var radioOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u]]);
|
|
33211
|
+
const _sfc_main$t = {
|
|
33200
33212
|
name: "select-other-widget",
|
|
33201
33213
|
componentName: "FieldWidget",
|
|
33202
33214
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33305,7 +33317,7 @@ const _sfc_main$r = {
|
|
|
33305
33317
|
}
|
|
33306
33318
|
}
|
|
33307
33319
|
};
|
|
33308
|
-
function _sfc_render$
|
|
33320
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33309
33321
|
const _component_el_option = resolveComponent("el-option");
|
|
33310
33322
|
const _component_el_select = resolveComponent("el-select");
|
|
33311
33323
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -33368,9 +33380,9 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33368
33380
|
_: 1
|
|
33369
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"]);
|
|
33370
33382
|
}
|
|
33371
|
-
var selectOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
33383
|
+
var selectOtherItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$t]]);
|
|
33372
33384
|
var meetingRoomItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33373
|
-
const _sfc_main$
|
|
33385
|
+
const _sfc_main$s = {
|
|
33374
33386
|
name: "meeting-room-widget",
|
|
33375
33387
|
componentName: "FieldWidget",
|
|
33376
33388
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -33529,11 +33541,11 @@ const _sfc_main$q = {
|
|
|
33529
33541
|
}
|
|
33530
33542
|
}
|
|
33531
33543
|
};
|
|
33532
|
-
const _hoisted_1$
|
|
33544
|
+
const _hoisted_1$o = {
|
|
33533
33545
|
key: 0,
|
|
33534
33546
|
class: "empty-wrap"
|
|
33535
33547
|
};
|
|
33536
|
-
const _hoisted_2$
|
|
33548
|
+
const _hoisted_2$h = {
|
|
33537
33549
|
key: 1,
|
|
33538
33550
|
class: "room-wrap"
|
|
33539
33551
|
};
|
|
@@ -33548,7 +33560,7 @@ const _hoisted_7$8 = {
|
|
|
33548
33560
|
key: 1,
|
|
33549
33561
|
class: "room-item-equipment"
|
|
33550
33562
|
};
|
|
33551
|
-
function _sfc_render$
|
|
33563
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33552
33564
|
const _component_el_input = resolveComponent("el-input");
|
|
33553
33565
|
const _component_el_empty = resolveComponent("el-empty");
|
|
33554
33566
|
const _component_Select = resolveComponent("Select");
|
|
@@ -33590,9 +33602,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33590
33602
|
]),
|
|
33591
33603
|
default: withCtx(() => [
|
|
33592
33604
|
createElementVNode("div", null, [
|
|
33593
|
-
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
33605
|
+
$data.roomList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
33594
33606
|
createVNode(_component_el_empty, { description: "\u6682\u65E0\u6570\u636E" })
|
|
33595
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
33607
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$h, [
|
|
33596
33608
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.roomList, (item) => {
|
|
33597
33609
|
var _a;
|
|
33598
33610
|
return openBlock(), createElementBlock("div", {
|
|
@@ -33635,9 +33647,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33635
33647
|
_: 1
|
|
33636
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"]);
|
|
33637
33649
|
}
|
|
33638
|
-
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"]]);
|
|
33639
33651
|
var gridColWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33640
|
-
const _sfc_main$
|
|
33652
|
+
const _sfc_main$r = {
|
|
33641
33653
|
name: "GridColWidget",
|
|
33642
33654
|
componentName: "GridColWidget",
|
|
33643
33655
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -33839,8 +33851,8 @@ const _sfc_main$p = {
|
|
|
33839
33851
|
}
|
|
33840
33852
|
}
|
|
33841
33853
|
};
|
|
33842
|
-
const _hoisted_1$
|
|
33843
|
-
const _hoisted_2$
|
|
33854
|
+
const _hoisted_1$n = { class: "form-widget-list" };
|
|
33855
|
+
const _hoisted_2$g = {
|
|
33844
33856
|
key: 0,
|
|
33845
33857
|
class: "grid-col-action"
|
|
33846
33858
|
};
|
|
@@ -33857,7 +33869,7 @@ const _hoisted_9$4 = {
|
|
|
33857
33869
|
key: 0,
|
|
33858
33870
|
class: "col-hidden-tag"
|
|
33859
33871
|
};
|
|
33860
|
-
function _sfc_render$
|
|
33872
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33861
33873
|
const _component_draggable = resolveComponent("draggable");
|
|
33862
33874
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
33863
33875
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -33884,7 +33896,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33884
33896
|
move: $options.checkContainerMove
|
|
33885
33897
|
}), {
|
|
33886
33898
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
33887
|
-
createElementVNode("div", _hoisted_1$
|
|
33899
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
33888
33900
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
33889
33901
|
widget: subWidget,
|
|
33890
33902
|
designer: $props.designer,
|
|
@@ -33909,7 +33921,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33909
33921
|
]),
|
|
33910
33922
|
_: 1
|
|
33911
33923
|
}, 16, ["list", "onUpdate", "move"]),
|
|
33912
|
-
$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, [
|
|
33913
33925
|
createElementVNode("i", {
|
|
33914
33926
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
33915
33927
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => $options.selectParentWidget($props.widget), ["stop"]))
|
|
@@ -33953,13 +33965,13 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33953
33965
|
_: 1
|
|
33954
33966
|
}, 16, ["class", "style"])) : createCommentVNode("", true);
|
|
33955
33967
|
}
|
|
33956
|
-
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"]]);
|
|
33957
33969
|
var __glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33958
33970
|
__proto__: null,
|
|
33959
33971
|
"default": GridColWidget
|
|
33960
33972
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
33961
33973
|
var gridWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
33962
|
-
const _sfc_main$
|
|
33974
|
+
const _sfc_main$q = {
|
|
33963
33975
|
name: "grid-widget",
|
|
33964
33976
|
componentName: "ContainerWidget",
|
|
33965
33977
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -33991,7 +34003,7 @@ const _sfc_main$o = {
|
|
|
33991
34003
|
},
|
|
33992
34004
|
methods: {}
|
|
33993
34005
|
};
|
|
33994
|
-
function _sfc_render$
|
|
34006
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33995
34007
|
const _component_grid_col_widget = resolveComponent("grid-col-widget");
|
|
33996
34008
|
const _component_el_row = resolveComponent("el-row");
|
|
33997
34009
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
@@ -34028,13 +34040,13 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34028
34040
|
_: 1
|
|
34029
34041
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34030
34042
|
}
|
|
34031
|
-
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"]]);
|
|
34032
34044
|
var __glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34033
34045
|
__proto__: null,
|
|
34034
34046
|
"default": gridWidget
|
|
34035
34047
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34036
34048
|
var tabWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34037
|
-
const _sfc_main$
|
|
34049
|
+
const _sfc_main$p = {
|
|
34038
34050
|
name: "tab-widget",
|
|
34039
34051
|
componentName: "ContainerWidget",
|
|
34040
34052
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34077,8 +34089,8 @@ const _sfc_main$n = {
|
|
|
34077
34089
|
}
|
|
34078
34090
|
}
|
|
34079
34091
|
};
|
|
34080
|
-
const _hoisted_1$
|
|
34081
|
-
function _sfc_render$
|
|
34092
|
+
const _hoisted_1$m = { class: "form-widget-list" };
|
|
34093
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34082
34094
|
const _component_draggable = resolveComponent("draggable");
|
|
34083
34095
|
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
34084
34096
|
const _component_el_tabs = resolveComponent("el-tabs");
|
|
@@ -34123,7 +34135,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34123
34135
|
move: _ctx.checkContainerMove
|
|
34124
34136
|
}), {
|
|
34125
34137
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
34126
|
-
createElementVNode("div", _hoisted_1$
|
|
34138
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
34127
34139
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34128
34140
|
widget: subWidget,
|
|
34129
34141
|
designer: $props.designer,
|
|
@@ -34156,13 +34168,13 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34156
34168
|
_: 1
|
|
34157
34169
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34158
34170
|
}
|
|
34159
|
-
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"]]);
|
|
34160
34172
|
var __glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34161
34173
|
__proto__: null,
|
|
34162
34174
|
"default": tabWidget
|
|
34163
34175
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34164
34176
|
var tableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34165
|
-
const _sfc_main$
|
|
34177
|
+
const _sfc_main$o = {
|
|
34166
34178
|
name: "TableCellWidget",
|
|
34167
34179
|
componentName: "TableCellWidget",
|
|
34168
34180
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -34327,8 +34339,8 @@ const _sfc_main$m = {
|
|
|
34327
34339
|
}
|
|
34328
34340
|
}
|
|
34329
34341
|
};
|
|
34330
|
-
const _hoisted_1$
|
|
34331
|
-
const _hoisted_2$
|
|
34342
|
+
const _hoisted_1$l = ["colspan", "rowspan"];
|
|
34343
|
+
const _hoisted_2$f = { class: "form-widget-list" };
|
|
34332
34344
|
const _hoisted_3$c = {
|
|
34333
34345
|
key: 0,
|
|
34334
34346
|
class: "table-cell-action"
|
|
@@ -34339,7 +34351,7 @@ const _hoisted_6$8 = {
|
|
|
34339
34351
|
key: 1,
|
|
34340
34352
|
class: "table-cell-handler"
|
|
34341
34353
|
};
|
|
34342
|
-
function _sfc_render$
|
|
34354
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34343
34355
|
const _component_draggable = resolveComponent("draggable");
|
|
34344
34356
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34345
34357
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -34365,7 +34377,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34365
34377
|
move: $options.checkContainerMove
|
|
34366
34378
|
}), {
|
|
34367
34379
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
34368
|
-
createElementVNode("div", _hoisted_2$
|
|
34380
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
34369
34381
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
34370
34382
|
widget: subWidget,
|
|
34371
34383
|
designer: $props.designer,
|
|
@@ -34536,15 +34548,15 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34536
34548
|
$props.designer.selectedId === $props.widget.id && $props.widget.type === "table-cell" ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
34537
34549
|
createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1)
|
|
34538
34550
|
])) : createCommentVNode("", true)
|
|
34539
|
-
], 14, _hoisted_1$
|
|
34551
|
+
], 14, _hoisted_1$l);
|
|
34540
34552
|
}
|
|
34541
|
-
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"]]);
|
|
34542
34554
|
var __glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34543
34555
|
__proto__: null,
|
|
34544
34556
|
"default": TableCellWidget
|
|
34545
34557
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
34546
34558
|
var tableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34547
|
-
const _sfc_main$
|
|
34559
|
+
const _sfc_main$n = {
|
|
34548
34560
|
name: "table-widget",
|
|
34549
34561
|
componentName: "ContainerWidget",
|
|
34550
34562
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34576,8 +34588,8 @@ const _sfc_main$l = {
|
|
|
34576
34588
|
},
|
|
34577
34589
|
methods: {}
|
|
34578
34590
|
};
|
|
34579
|
-
const _hoisted_1$
|
|
34580
|
-
function _sfc_render$
|
|
34591
|
+
const _hoisted_1$k = { class: "table-layout" };
|
|
34592
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34581
34593
|
const _component_table_cell_widget = resolveComponent("table-cell-widget");
|
|
34582
34594
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
34583
34595
|
return openBlock(), createBlock(_component_container_wrapper, {
|
|
@@ -34593,7 +34605,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34593
34605
|
class: normalizeClass(["table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34594
34606
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34595
34607
|
}, [
|
|
34596
|
-
createElementVNode("table", _hoisted_1$
|
|
34608
|
+
createElementVNode("table", _hoisted_1$k, [
|
|
34597
34609
|
createElementVNode("tbody", null, [
|
|
34598
34610
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
34599
34611
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -34625,7 +34637,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34625
34637
|
_: 1
|
|
34626
34638
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34627
34639
|
}
|
|
34628
|
-
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"]]);
|
|
34629
34641
|
var __glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34630
34642
|
__proto__: null,
|
|
34631
34643
|
"default": tableWidget
|
|
@@ -34640,7 +34652,7 @@ var ContainerComponents = {
|
|
|
34640
34652
|
}
|
|
34641
34653
|
};
|
|
34642
34654
|
var customSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34643
|
-
const _sfc_main$
|
|
34655
|
+
const _sfc_main$m = {
|
|
34644
34656
|
name: "custom-sub-form-widget",
|
|
34645
34657
|
componentName: "ContainerWidget",
|
|
34646
34658
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -34690,8 +34702,8 @@ const _sfc_main$k = {
|
|
|
34690
34702
|
}
|
|
34691
34703
|
}
|
|
34692
34704
|
};
|
|
34693
|
-
const _hoisted_1$
|
|
34694
|
-
const _hoisted_2$
|
|
34705
|
+
const _hoisted_1$j = { class: "sub-form-header" };
|
|
34706
|
+
const _hoisted_2$e = { class: "sub-form-label" };
|
|
34695
34707
|
const _hoisted_3$b = { class: "group-header" };
|
|
34696
34708
|
const _hoisted_4$9 = { class: "group-title" };
|
|
34697
34709
|
const _hoisted_5$7 = {
|
|
@@ -34709,7 +34721,7 @@ const _hoisted_10$2 = {
|
|
|
34709
34721
|
key: 0,
|
|
34710
34722
|
class: "empty-hint"
|
|
34711
34723
|
};
|
|
34712
|
-
function _sfc_render$
|
|
34724
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34713
34725
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
34714
34726
|
const _component_el_button = resolveComponent("el-button");
|
|
34715
34727
|
const _component_draggable = resolveComponent("draggable");
|
|
@@ -34727,8 +34739,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34727
34739
|
class: normalizeClass(["custom-sub-form-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
34728
34740
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
34729
34741
|
}, [
|
|
34730
|
-
createElementVNode("div", _hoisted_1$
|
|
34731
|
-
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)
|
|
34732
34744
|
]),
|
|
34733
34745
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.previewRows, (row, rowIdx) => {
|
|
34734
34746
|
return openBlock(), createElementBlock("div", {
|
|
@@ -34816,9 +34828,9 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34816
34828
|
_: 1
|
|
34817
34829
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
34818
34830
|
}
|
|
34819
|
-
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"]]);
|
|
34820
34832
|
var customSubFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34821
|
-
const _sfc_main$
|
|
34833
|
+
const _sfc_main$l = {
|
|
34822
34834
|
name: "custom-sub-form-item",
|
|
34823
34835
|
componentName: "ContainerItem",
|
|
34824
34836
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -35185,8 +35197,8 @@ const _sfc_main$j = {
|
|
|
35185
35197
|
}
|
|
35186
35198
|
}
|
|
35187
35199
|
};
|
|
35188
|
-
const _hoisted_1$
|
|
35189
|
-
const _hoisted_2$
|
|
35200
|
+
const _hoisted_1$i = { class: "sub-form-header" };
|
|
35201
|
+
const _hoisted_2$d = { class: "sub-form-label" };
|
|
35190
35202
|
const _hoisted_3$a = { class: "group-header" };
|
|
35191
35203
|
const _hoisted_4$8 = { class: "group-title" };
|
|
35192
35204
|
const _hoisted_5$6 = {
|
|
@@ -35218,7 +35230,7 @@ const _hoisted_14 = {
|
|
|
35218
35230
|
key: 1,
|
|
35219
35231
|
class: "empty-hint"
|
|
35220
35232
|
};
|
|
35221
|
-
function _sfc_render$
|
|
35233
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35222
35234
|
const _component_el_button = resolveComponent("el-button");
|
|
35223
35235
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35224
35236
|
const _component_container_item_wrapper = resolveComponent("container-item-wrapper");
|
|
@@ -35228,8 +35240,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35228
35240
|
key: $props.widget.id,
|
|
35229
35241
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
35230
35242
|
}, [
|
|
35231
|
-
createElementVNode("div", _hoisted_1$
|
|
35232
|
-
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)
|
|
35233
35245
|
]),
|
|
35234
35246
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
35235
35247
|
return openBlock(), createElementBlock("div", {
|
|
@@ -35314,9 +35326,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35314
35326
|
_: 1
|
|
35315
35327
|
}, 8, ["widget"]);
|
|
35316
35328
|
}
|
|
35317
|
-
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"]]);
|
|
35318
35330
|
var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35319
|
-
const _sfc_main$
|
|
35331
|
+
const _sfc_main$k = {
|
|
35320
35332
|
name: "custom-table-cell-widget",
|
|
35321
35333
|
componentName: "CustomTableCellWidget",
|
|
35322
35334
|
mixins: [i18n$1, refMixinDesign],
|
|
@@ -35472,8 +35484,8 @@ const _sfc_main$i = {
|
|
|
35472
35484
|
}
|
|
35473
35485
|
}
|
|
35474
35486
|
};
|
|
35475
|
-
const _hoisted_1$
|
|
35476
|
-
const _hoisted_2$
|
|
35487
|
+
const _hoisted_1$h = ["colspan", "rowspan"];
|
|
35488
|
+
const _hoisted_2$c = { class: "form-widget-list" };
|
|
35477
35489
|
const _hoisted_3$9 = {
|
|
35478
35490
|
key: 0,
|
|
35479
35491
|
class: "custom-table-cell-action"
|
|
@@ -35487,7 +35499,7 @@ const _hoisted_6$5 = {
|
|
|
35487
35499
|
key: 2,
|
|
35488
35500
|
class: "empty-hint"
|
|
35489
35501
|
};
|
|
35490
|
-
function _sfc_render$
|
|
35502
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35491
35503
|
const _component_draggable = resolveComponent("draggable");
|
|
35492
35504
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35493
35505
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
@@ -35520,7 +35532,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35520
35532
|
move: $options.checkContainerMove
|
|
35521
35533
|
}), {
|
|
35522
35534
|
item: withCtx(({ element: subWidget, index: swIdx }) => [
|
|
35523
|
-
createElementVNode("div", _hoisted_2$
|
|
35535
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
35524
35536
|
subWidget.category === "container" ? (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
35525
35537
|
widget: subWidget,
|
|
35526
35538
|
designer: $props.designer,
|
|
@@ -35611,11 +35623,11 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35611
35623
|
createElementVNode("i", null, "\u5355\u5143\u683C", -1)
|
|
35612
35624
|
])])) : createCommentVNode("", true),
|
|
35613
35625
|
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$5, " \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")) : createCommentVNode("", true)
|
|
35614
|
-
], 14, _hoisted_1$
|
|
35626
|
+
], 14, _hoisted_1$h);
|
|
35615
35627
|
}
|
|
35616
|
-
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"]]);
|
|
35617
35629
|
var customTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35618
|
-
const _sfc_main$
|
|
35630
|
+
const _sfc_main$j = {
|
|
35619
35631
|
name: "custom-table-widget",
|
|
35620
35632
|
componentName: "ContainerWidget",
|
|
35621
35633
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -35666,8 +35678,8 @@ const _sfc_main$h = {
|
|
|
35666
35678
|
}
|
|
35667
35679
|
}
|
|
35668
35680
|
};
|
|
35669
|
-
const _hoisted_1$
|
|
35670
|
-
function _sfc_render$
|
|
35681
|
+
const _hoisted_1$g = { class: "custom-table-layout" };
|
|
35682
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35671
35683
|
const _component_custom_table_cell_widget = resolveComponent("custom-table-cell-widget");
|
|
35672
35684
|
const _component_container_wrapper = resolveComponent("container-wrapper");
|
|
35673
35685
|
return openBlock(), createBlock(_component_container_wrapper, {
|
|
@@ -35683,7 +35695,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35683
35695
|
class: normalizeClass(["custom-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
35684
35696
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
35685
35697
|
}, [
|
|
35686
|
-
createElementVNode("table", _hoisted_1$
|
|
35698
|
+
createElementVNode("table", _hoisted_1$g, [
|
|
35687
35699
|
createElementVNode("tbody", null, [
|
|
35688
35700
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
35689
35701
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -35713,9 +35725,9 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35713
35725
|
_: 1
|
|
35714
35726
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
35715
35727
|
}
|
|
35716
|
-
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"]]);
|
|
35717
35729
|
var customTableCellItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35718
|
-
const _sfc_main$
|
|
35730
|
+
const _sfc_main$i = {
|
|
35719
35731
|
name: "custom-table-cell-item",
|
|
35720
35732
|
componentName: "ContainerItem",
|
|
35721
35733
|
mixins: [emitter, i18n$1, refMixin],
|
|
@@ -35732,8 +35744,8 @@ const _sfc_main$g = {
|
|
|
35732
35744
|
}
|
|
35733
35745
|
}
|
|
35734
35746
|
};
|
|
35735
|
-
const _hoisted_1$
|
|
35736
|
-
function _sfc_render$
|
|
35747
|
+
const _hoisted_1$f = ["colspan", "rowspan"];
|
|
35748
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35737
35749
|
return openBlock(), createElementBlock("td", {
|
|
35738
35750
|
class: normalizeClass(["custom-table-cell", $options.customClass]),
|
|
35739
35751
|
colspan: $props.widget.options.colspan || 1,
|
|
@@ -35764,11 +35776,11 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35764
35776
|
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
|
|
35765
35777
|
], 64);
|
|
35766
35778
|
}), 128))
|
|
35767
|
-
], 14, _hoisted_1$
|
|
35779
|
+
], 14, _hoisted_1$f);
|
|
35768
35780
|
}
|
|
35769
|
-
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"]]);
|
|
35770
35782
|
var customTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
35771
|
-
const _sfc_main$
|
|
35783
|
+
const _sfc_main$h = {
|
|
35772
35784
|
name: "custom-table-item",
|
|
35773
35785
|
componentName: "ContainerItem",
|
|
35774
35786
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -35953,16 +35965,16 @@ const _sfc_main$f = {
|
|
|
35953
35965
|
}
|
|
35954
35966
|
}
|
|
35955
35967
|
};
|
|
35956
|
-
const _hoisted_1$
|
|
35968
|
+
const _hoisted_1$e = {
|
|
35957
35969
|
key: 0,
|
|
35958
35970
|
class: "table-actions"
|
|
35959
35971
|
};
|
|
35960
|
-
const _hoisted_2$
|
|
35972
|
+
const _hoisted_2$b = { class: "custom-table-layout" };
|
|
35961
35973
|
const _hoisted_3$8 = {
|
|
35962
35974
|
key: 0,
|
|
35963
35975
|
class: "row-actions-cell"
|
|
35964
35976
|
};
|
|
35965
|
-
function _sfc_render$
|
|
35977
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
35966
35978
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
35967
35979
|
const _component_el_button = resolveComponent("el-button");
|
|
35968
35980
|
const _component_custom_table_cell_item = resolveComponent("custom-table-cell-item");
|
|
@@ -35973,7 +35985,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35973
35985
|
key: $props.widget.id,
|
|
35974
35986
|
class: normalizeClass(["custom-table-container", $options.customClass])
|
|
35975
35987
|
}, [
|
|
35976
|
-
$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, [
|
|
35977
35989
|
createVNode(_component_el_button, {
|
|
35978
35990
|
type: "primary",
|
|
35979
35991
|
size: "small",
|
|
@@ -35987,7 +35999,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35987
35999
|
_: 1
|
|
35988
36000
|
}, 8, ["onClick"])
|
|
35989
36001
|
])) : createCommentVNode("", true),
|
|
35990
|
-
createElementVNode("table", _hoisted_2$
|
|
36002
|
+
createElementVNode("table", _hoisted_2$b, [
|
|
35991
36003
|
createElementVNode("tbody", null, [
|
|
35992
36004
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.rows, (row, rowIdx) => {
|
|
35993
36005
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -36042,9 +36054,9 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36042
36054
|
_: 1
|
|
36043
36055
|
}, 8, ["widget"]);
|
|
36044
36056
|
}
|
|
36045
|
-
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"]]);
|
|
36046
36058
|
var subTableWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
36047
|
-
const _sfc_main$
|
|
36059
|
+
const _sfc_main$g = {
|
|
36048
36060
|
name: "sub-table-widget",
|
|
36049
36061
|
componentName: "ContainerWidget",
|
|
36050
36062
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
@@ -36130,8 +36142,8 @@ const _sfc_main$e = {
|
|
|
36130
36142
|
}
|
|
36131
36143
|
}
|
|
36132
36144
|
};
|
|
36133
|
-
const _hoisted_1$
|
|
36134
|
-
const _hoisted_2$
|
|
36145
|
+
const _hoisted_1$d = { class: "sub-table-header" };
|
|
36146
|
+
const _hoisted_2$a = { class: "sub-table-label" };
|
|
36135
36147
|
const _hoisted_3$7 = { class: "table-preview" };
|
|
36136
36148
|
const _hoisted_4$6 = { class: "preview-cell" };
|
|
36137
36149
|
const _hoisted_5$4 = { class: "empty-hint" };
|
|
@@ -36141,7 +36153,7 @@ const _hoisted_8$2 = {
|
|
|
36141
36153
|
key: 0,
|
|
36142
36154
|
class: "config-hint"
|
|
36143
36155
|
};
|
|
36144
|
-
function _sfc_render$
|
|
36156
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36145
36157
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
36146
36158
|
const _component_el_button = resolveComponent("el-button");
|
|
36147
36159
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
@@ -36161,8 +36173,8 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36161
36173
|
class: normalizeClass(["sub-table-container", [$options.selected ? "selected" : "", $options.customClass]]),
|
|
36162
36174
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.selectWidget($props.widget), ["stop"]))
|
|
36163
36175
|
}, [
|
|
36164
|
-
createElementVNode("div", _hoisted_1$
|
|
36165
|
-
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),
|
|
36166
36178
|
createVNode(_component_el_button, {
|
|
36167
36179
|
disabled: $data.actionDisabled,
|
|
36168
36180
|
round: "",
|
|
@@ -36270,9 +36282,9 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36270
36282
|
_: 1
|
|
36271
36283
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
36272
36284
|
}
|
|
36273
|
-
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"]]);
|
|
36274
36286
|
var subTableItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
36275
|
-
const _sfc_main$
|
|
36287
|
+
const _sfc_main$f = {
|
|
36276
36288
|
name: "sub-table-item",
|
|
36277
36289
|
componentName: "ContainerItem",
|
|
36278
36290
|
mixins: [emitter, i18n$1, refMixin, containerItemMixin],
|
|
@@ -36674,17 +36686,17 @@ const _sfc_main$d = {
|
|
|
36674
36686
|
}
|
|
36675
36687
|
}
|
|
36676
36688
|
};
|
|
36677
|
-
const _hoisted_1$
|
|
36689
|
+
const _hoisted_1$c = {
|
|
36678
36690
|
key: 0,
|
|
36679
36691
|
class: "sub-table-label"
|
|
36680
36692
|
};
|
|
36681
|
-
const _hoisted_2$
|
|
36693
|
+
const _hoisted_2$9 = {
|
|
36682
36694
|
key: 0,
|
|
36683
36695
|
class: "required-mark"
|
|
36684
36696
|
};
|
|
36685
36697
|
const _hoisted_3$6 = { class: "table-toolbar" };
|
|
36686
36698
|
const _hoisted_4$5 = { class: "dialog-footer" };
|
|
36687
|
-
function _sfc_render$
|
|
36699
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36688
36700
|
const _component_el_button = resolveComponent("el-button");
|
|
36689
36701
|
const _component_el_table_column = resolveComponent("el-table-column");
|
|
36690
36702
|
const _component_el_table = resolveComponent("el-table");
|
|
@@ -36704,11 +36716,11 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36704
36716
|
key: $props.widget.id,
|
|
36705
36717
|
class: normalizeClass(["sub-table-container", $options.customClass])
|
|
36706
36718
|
}, [
|
|
36707
|
-
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36719
|
+
$props.widget.options.label ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
36708
36720
|
createElementVNode("span", {
|
|
36709
36721
|
class: normalizeClass($options.labelClass)
|
|
36710
36722
|
}, toDisplayString($props.widget.options.label), 3),
|
|
36711
|
-
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
36723
|
+
$props.widget.options.required ? (openBlock(), createElementBlock("span", _hoisted_2$9, "*")) : createCommentVNode("", true)
|
|
36712
36724
|
])) : createCommentVNode("", true),
|
|
36713
36725
|
createElementVNode("div", _hoisted_3$6, [
|
|
36714
36726
|
!$props.widget.options.disabled ? (openBlock(), createBlock(_component_el_button, {
|
|
@@ -36952,7 +36964,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36952
36964
|
_: 1
|
|
36953
36965
|
}, 8, ["widget"]);
|
|
36954
36966
|
}
|
|
36955
|
-
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"]]);
|
|
36956
36968
|
var ace$2 = { exports: {} };
|
|
36957
36969
|
(function(module, exports) {
|
|
36958
36970
|
(function() {
|
|
@@ -61397,8 +61409,8 @@ var extLanguage_tools = { exports: {} };
|
|
|
61397
61409
|
});
|
|
61398
61410
|
})();
|
|
61399
61411
|
})(extLanguage_tools);
|
|
61400
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
61401
|
-
const _sfc_main$
|
|
61412
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
61413
|
+
const _sfc_main$e = {
|
|
61402
61414
|
name: "CodeEditor",
|
|
61403
61415
|
props: {
|
|
61404
61416
|
modelValue: {
|
|
@@ -61489,19 +61501,19 @@ const _sfc_main$c = {
|
|
|
61489
61501
|
}
|
|
61490
61502
|
}
|
|
61491
61503
|
};
|
|
61492
|
-
const _hoisted_1$
|
|
61493
|
-
const _hoisted_2$
|
|
61504
|
+
const _hoisted_1$b = { class: "ace-container" };
|
|
61505
|
+
const _hoisted_2$8 = {
|
|
61494
61506
|
class: "ace-editor",
|
|
61495
61507
|
ref: "ace"
|
|
61496
61508
|
};
|
|
61497
|
-
function _sfc_render$
|
|
61498
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
61499
|
-
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)
|
|
61500
61512
|
]);
|
|
61501
61513
|
}
|
|
61502
|
-
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"]]);
|
|
61503
61515
|
var subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
61504
|
-
const _sfc_main$
|
|
61516
|
+
const _sfc_main$d = {
|
|
61505
61517
|
name: "sub-table-columns-editor",
|
|
61506
61518
|
mixins: [i18n$1],
|
|
61507
61519
|
components: {
|
|
@@ -61719,11 +61731,11 @@ const _sfc_main$b = {
|
|
|
61719
61731
|
}
|
|
61720
61732
|
}
|
|
61721
61733
|
};
|
|
61722
|
-
const _hoisted_1$
|
|
61723
|
-
const _hoisted_2$
|
|
61734
|
+
const _hoisted_1$a = { class: "column-header" };
|
|
61735
|
+
const _hoisted_2$7 = { class: "column-title" };
|
|
61724
61736
|
const _hoisted_3$5 = { class: "column-form" };
|
|
61725
61737
|
const _hoisted_4$4 = { class: "dialog-footer" };
|
|
61726
|
-
function _sfc_render$
|
|
61738
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61727
61739
|
const _component_el_divider = resolveComponent("el-divider");
|
|
61728
61740
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
61729
61741
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -61755,8 +61767,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61755
61767
|
key: colIdx,
|
|
61756
61768
|
class: "column-item"
|
|
61757
61769
|
}, [
|
|
61758
|
-
createElementVNode("div", _hoisted_1$
|
|
61759
|
-
createElementVNode("span", _hoisted_2$
|
|
61770
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
61771
|
+
createElementVNode("span", _hoisted_2$7, "\u5217 " + toDisplayString(colIdx + 1), 1),
|
|
61760
61772
|
createVNode(_component_el_button, {
|
|
61761
61773
|
circle: "",
|
|
61762
61774
|
plain: "",
|
|
@@ -62222,8 +62234,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62222
62234
|
}, 8, ["modelValue", "title"])
|
|
62223
62235
|
], 64);
|
|
62224
62236
|
}
|
|
62225
|
-
var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
62226
|
-
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 = {
|
|
62227
62239
|
name: "current-user-widget",
|
|
62228
62240
|
componentName: "FieldWidget",
|
|
62229
62241
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -62333,7 +62345,7 @@ const _sfc_main$a = {
|
|
|
62333
62345
|
this.getCurrentUser();
|
|
62334
62346
|
}
|
|
62335
62347
|
};
|
|
62336
|
-
function _sfc_render$
|
|
62348
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62337
62349
|
const _component_el_input = resolveComponent("el-input");
|
|
62338
62350
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
62339
62351
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
@@ -62358,9 +62370,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62358
62370
|
_: 1
|
|
62359
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"]);
|
|
62360
62372
|
}
|
|
62361
|
-
var CurrentUserWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
62373
|
+
var CurrentUserWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c]]);
|
|
62362
62374
|
var assetDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
62363
|
-
const _sfc_main$
|
|
62375
|
+
const _sfc_main$b = {
|
|
62364
62376
|
name: "asset-dialog",
|
|
62365
62377
|
props: {
|
|
62366
62378
|
dialogVisible: {
|
|
@@ -62557,8 +62569,8 @@ const _sfc_main$9 = {
|
|
|
62557
62569
|
this.handleGetAssetTypeOptions();
|
|
62558
62570
|
}
|
|
62559
62571
|
};
|
|
62560
|
-
const _hoisted_1$
|
|
62561
|
-
const _hoisted_2$
|
|
62572
|
+
const _hoisted_1$9 = { class: "asset-body-wrap" };
|
|
62573
|
+
const _hoisted_2$6 = { class: "bottom-wrap" };
|
|
62562
62574
|
const _hoisted_3$4 = { class: "left-wrap" };
|
|
62563
62575
|
const _hoisted_4$3 = { class: "filter-wrap" };
|
|
62564
62576
|
const _hoisted_5$3 = { class: "right-wrap" };
|
|
@@ -62567,7 +62579,7 @@ const _hoisted_7$3 = { class: "asset-wrap" };
|
|
|
62567
62579
|
const _hoisted_8$1 = { class: "asset-item-left" };
|
|
62568
62580
|
const _hoisted_9$1 = { class: "asset-item-right" };
|
|
62569
62581
|
const _hoisted_10 = { class: "dialog-footer" };
|
|
62570
|
-
function _sfc_render$
|
|
62582
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62571
62583
|
const _component_el_input = resolveComponent("el-input");
|
|
62572
62584
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
62573
62585
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -62620,8 +62632,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62620
62632
|
])
|
|
62621
62633
|
]),
|
|
62622
62634
|
default: withCtx(() => [
|
|
62623
|
-
createElementVNode("div", _hoisted_1$
|
|
62624
|
-
createElementVNode("div", _hoisted_2$
|
|
62635
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
62636
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
62625
62637
|
createElementVNode("div", _hoisted_3$4, [
|
|
62626
62638
|
createElementVNode("div", _hoisted_4$3, [
|
|
62627
62639
|
createVNode(_component_el_form, {
|
|
@@ -62886,9 +62898,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62886
62898
|
_: 1
|
|
62887
62899
|
}, 8, ["modelValue", "onClose"]);
|
|
62888
62900
|
}
|
|
62889
|
-
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"]]);
|
|
62890
62902
|
var index_vue_vue_type_style_index_0_lang$1 = "";
|
|
62891
|
-
const _sfc_main$
|
|
62903
|
+
const _sfc_main$a = {
|
|
62892
62904
|
name: "asset-select-widget",
|
|
62893
62905
|
componentName: "FieldWidget",
|
|
62894
62906
|
mixins: [emitter, fieldMixin, i18n$1],
|
|
@@ -63082,8 +63094,8 @@ const _sfc_main$8 = {
|
|
|
63082
63094
|
}
|
|
63083
63095
|
}
|
|
63084
63096
|
};
|
|
63085
|
-
const _hoisted_1$
|
|
63086
|
-
function _sfc_render$
|
|
63097
|
+
const _hoisted_1$8 = { class: "asset-select-widget__trigger" };
|
|
63098
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63087
63099
|
const _component_el_button = resolveComponent("el-button");
|
|
63088
63100
|
const _component_asset_dialog = resolveComponent("asset-dialog");
|
|
63089
63101
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -63104,7 +63116,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63104
63116
|
class: "asset-select-widget",
|
|
63105
63117
|
style: normalizeStyle($options.widgetStyle)
|
|
63106
63118
|
}, [
|
|
63107
|
-
createElementVNode("div", _hoisted_1$
|
|
63119
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
63108
63120
|
createVNode(_component_el_button, {
|
|
63109
63121
|
type: "primary",
|
|
63110
63122
|
class: "asset-select-widget__button",
|
|
@@ -63134,7 +63146,454 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63134
63146
|
_: 1
|
|
63135
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"]);
|
|
63136
63148
|
}
|
|
63137
|
-
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"]]);
|
|
63138
63597
|
var detailDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
63139
63598
|
const _sfc_main$7 = {
|
|
63140
63599
|
name: "detail-dialog",
|
|
@@ -63990,63 +64449,6 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63990
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"]);
|
|
63991
64450
|
}
|
|
63992
64451
|
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-68fa0297"]]);
|
|
63993
|
-
class DictManager {
|
|
63994
|
-
constructor() {
|
|
63995
|
-
this.dictCache = {};
|
|
63996
|
-
this.loading = false;
|
|
63997
|
-
}
|
|
63998
|
-
init(dictData) {
|
|
63999
|
-
this.dictCache = dictData || {};
|
|
64000
|
-
if (typeof window !== "undefined") {
|
|
64001
|
-
window.dictCache = this.dictCache;
|
|
64002
|
-
window.getDictData = (dictCode) => this.getDictData(dictCode);
|
|
64003
|
-
}
|
|
64004
|
-
}
|
|
64005
|
-
getDictData(dictCode) {
|
|
64006
|
-
if (!dictCode) {
|
|
64007
|
-
return [];
|
|
64008
|
-
}
|
|
64009
|
-
return this.dictCache[dictCode] || [];
|
|
64010
|
-
}
|
|
64011
|
-
getDictLabel(dictCode, value2, labelField = "label", valueField = "value") {
|
|
64012
|
-
const items = this.getDictData(dictCode);
|
|
64013
|
-
const item = items.find((item2) => String(item2[valueField]) === String(value2));
|
|
64014
|
-
return item ? item[labelField] : value2;
|
|
64015
|
-
}
|
|
64016
|
-
getDictValue(dictCode, label, labelField = "dictLabel", valueField = "dictValue") {
|
|
64017
|
-
const items = this.getDictData(dictCode);
|
|
64018
|
-
const item = items.find((item2) => item2[labelField] === label);
|
|
64019
|
-
return item ? item[valueField] : null;
|
|
64020
|
-
}
|
|
64021
|
-
getDictOptions(dictCode, options = {}) {
|
|
64022
|
-
const {
|
|
64023
|
-
labelField = "dictLabel",
|
|
64024
|
-
valueField = "dictValue",
|
|
64025
|
-
disabledField = "disabled"
|
|
64026
|
-
} = options;
|
|
64027
|
-
const items = this.getDictData(dictCode);
|
|
64028
|
-
return items.map((item) => __spreadValues({
|
|
64029
|
-
label: item[labelField] || "",
|
|
64030
|
-
value: item[valueField] || "",
|
|
64031
|
-
disabled: item[disabledField] || false
|
|
64032
|
-
}, item));
|
|
64033
|
-
}
|
|
64034
|
-
clear() {
|
|
64035
|
-
this.dictCache = {};
|
|
64036
|
-
if (typeof window !== "undefined") {
|
|
64037
|
-
window.dictCache = {};
|
|
64038
|
-
}
|
|
64039
|
-
}
|
|
64040
|
-
updateDict(dictCode, items) {
|
|
64041
|
-
if (dictCode && Array.isArray(items)) {
|
|
64042
|
-
this.dictCache[dictCode] = items;
|
|
64043
|
-
if (typeof window !== "undefined") {
|
|
64044
|
-
window.dictCache[dictCode] = items;
|
|
64045
|
-
}
|
|
64046
|
-
}
|
|
64047
|
-
}
|
|
64048
|
-
}
|
|
64049
|
-
const dictManager = new DictManager();
|
|
64050
64452
|
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
64051
64453
|
const _sfc_main$4 = {
|
|
64052
64454
|
name: "fixed-table-widget",
|
|
@@ -65366,6 +65768,15 @@ const loadExtension = function(app) {
|
|
|
65366
65768
|
registerCPEditor(app, "asset-select-typeJson", "asset-select-typeJson-editor", createTextareaEditor("typeJson", "extension.setting.assetSelectTypeJson", { rows: 4 }));
|
|
65367
65769
|
registerCPEditor(app, "asset-select-assetTypeValue", "asset-select-assetTypeValue-editor", createInputTextEditor("assetTypeValue", "extension.setting.assetSelectAssetTypeValue"));
|
|
65368
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
|
+
}));
|
|
65369
65780
|
app.component(AssetTableWidget.name, AssetTableWidget);
|
|
65370
65781
|
registerCPEditor(app, "asset-table-typeJson", "asset-table-typeJson-editor", createInputTextEditor("typeJson", "extension.setting.assetTableTypeJson"));
|
|
65371
65782
|
registerCPEditor(app, "asset-table-clickRow", "asset-table-clickRow-editor", createBooleanEditor("clickRow", "extension.setting.assetTableClickRow"));
|