form-custom-test 3.0.51 → 3.0.53
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 +91 -57
- package/dist/designer.style.css +2 -2
- package/dist/designer.umd.js +10 -10
- package/dist/render.es.js +90 -57
- package/dist/render.style.css +2 -2
- package/dist/render.umd.js +63 -63
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -8517,6 +8517,12 @@ var lodash = { exports: {} };
|
|
|
8517
8517
|
})(lodash, lodash.exports);
|
|
8518
8518
|
var fieldMixin = {
|
|
8519
8519
|
inject: ["refList", "sfRefList", "getFormConfig", "getGlobalDsv", "globalOptionData", "globalModel", "getOptionData"],
|
|
8520
|
+
props: {
|
|
8521
|
+
subFormDisabled: {
|
|
8522
|
+
type: Boolean,
|
|
8523
|
+
default: false
|
|
8524
|
+
}
|
|
8525
|
+
},
|
|
8520
8526
|
computed: {
|
|
8521
8527
|
formConfig() {
|
|
8522
8528
|
return this.getFormConfig();
|
|
@@ -8538,6 +8544,9 @@ var fieldMixin = {
|
|
|
8538
8544
|
}
|
|
8539
8545
|
},
|
|
8540
8546
|
methods: {
|
|
8547
|
+
getDisabled() {
|
|
8548
|
+
return this.subFormDisabled === true || !!this.field && !!this.field.options && !!this.field.options.disabled;
|
|
8549
|
+
},
|
|
8541
8550
|
getPropName() {
|
|
8542
8551
|
if (this.subFormItemFlag && !this.designState) {
|
|
8543
8552
|
return this.subFormName + "." + this.subFormRowIndex + "." + this.field.options.name + "";
|
|
@@ -9094,7 +9103,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9094
9103
|
round: $props.field.options.round,
|
|
9095
9104
|
circle: $props.field.options.circle,
|
|
9096
9105
|
icon: $props.field.options.icon,
|
|
9097
|
-
disabled:
|
|
9106
|
+
disabled: _ctx.getDisabled(),
|
|
9098
9107
|
onClick: _ctx.handleButtonWidgetClick
|
|
9099
9108
|
}, {
|
|
9100
9109
|
default: withCtx(() => [
|
|
@@ -9106,7 +9115,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9106
9115
|
_: 1
|
|
9107
9116
|
}, 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"]);
|
|
9108
9117
|
}
|
|
9109
|
-
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-
|
|
9118
|
+
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$13], ["__scopeId", "data-v-78bf6014"]]);
|
|
9110
9119
|
var __glob_0_0$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9111
9120
|
__proto__: null,
|
|
9112
9121
|
"default": buttonWidget
|
|
@@ -9465,7 +9474,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9465
9474
|
options: $props.field.options.optionItems,
|
|
9466
9475
|
modelValue: $data.fieldModel,
|
|
9467
9476
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
9468
|
-
disabled:
|
|
9477
|
+
disabled: _ctx.getDisabled(),
|
|
9469
9478
|
size: _ctx.widgetSize,
|
|
9470
9479
|
clearable: $props.field.options.clearable,
|
|
9471
9480
|
filterable: $props.field.options.filterable,
|
|
@@ -9481,7 +9490,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9481
9490
|
_: 1
|
|
9482
9491
|
}, 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"]);
|
|
9483
9492
|
}
|
|
9484
|
-
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-
|
|
9493
|
+
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$11], ["__scopeId", "data-v-7c3dbd57"]]);
|
|
9485
9494
|
var __glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9486
9495
|
__proto__: null,
|
|
9487
9496
|
"default": cascaderWidget
|
|
@@ -9565,7 +9574,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9565
9574
|
ref: "fieldEditor",
|
|
9566
9575
|
modelValue: $data.fieldModel,
|
|
9567
9576
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
9568
|
-
disabled:
|
|
9577
|
+
disabled: _ctx.getDisabled(),
|
|
9569
9578
|
size: _ctx.widgetSize,
|
|
9570
9579
|
onChange: _ctx.handleChangeEvent
|
|
9571
9580
|
}, {
|
|
@@ -9604,7 +9613,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9604
9613
|
_: 1
|
|
9605
9614
|
}, 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"]);
|
|
9606
9615
|
}
|
|
9607
|
-
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-
|
|
9616
|
+
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$10], ["__scopeId", "data-v-3944f5f4"]]);
|
|
9608
9617
|
var __glob_0_2$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9609
9618
|
__proto__: null,
|
|
9610
9619
|
"default": checkboxWidget
|
|
@@ -9686,14 +9695,14 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9686
9695
|
modelValue: $data.fieldModel,
|
|
9687
9696
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
9688
9697
|
size: _ctx.widgetSize,
|
|
9689
|
-
disabled:
|
|
9698
|
+
disabled: _ctx.getDisabled(),
|
|
9690
9699
|
onChange: _ctx.handleChangeEvent
|
|
9691
9700
|
}, null, 8, ["modelValue", "size", "disabled", "onChange"])
|
|
9692
9701
|
]),
|
|
9693
9702
|
_: 1
|
|
9694
9703
|
}, 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"]);
|
|
9695
9704
|
}
|
|
9696
|
-
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-
|
|
9705
|
+
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$$], ["__scopeId", "data-v-52b66ef1"]]);
|
|
9697
9706
|
var __glob_0_3$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9698
9707
|
__proto__: null,
|
|
9699
9708
|
"default": colorWidget
|
|
@@ -9775,7 +9784,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9775
9784
|
type: $props.field.options.type,
|
|
9776
9785
|
modelValue: $data.fieldModel,
|
|
9777
9786
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
9778
|
-
disabled:
|
|
9787
|
+
disabled: _ctx.getDisabled(),
|
|
9779
9788
|
readonly: $props.field.options.readonly,
|
|
9780
9789
|
size: _ctx.widgetSize,
|
|
9781
9790
|
clearable: $props.field.options.clearable,
|
|
@@ -9792,7 +9801,7 @@ function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9792
9801
|
_: 1
|
|
9793
9802
|
}, 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"]);
|
|
9794
9803
|
}
|
|
9795
|
-
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-
|
|
9804
|
+
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$_], ["__scopeId", "data-v-e50300fe"]]);
|
|
9796
9805
|
var __glob_0_4$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9797
9806
|
__proto__: null,
|
|
9798
9807
|
"default": dateRangeWidget
|
|
@@ -9876,7 +9885,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9876
9885
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
9877
9886
|
class: normalizeClass([!!$props.field.options.autoFullWidth ? "auto-full-width" : ""]),
|
|
9878
9887
|
readonly: $props.field.options.readonly,
|
|
9879
|
-
disabled:
|
|
9888
|
+
disabled: _ctx.getDisabled(),
|
|
9880
9889
|
size: _ctx.widgetSize,
|
|
9881
9890
|
clearable: $props.field.options.clearable,
|
|
9882
9891
|
editable: $props.field.options.editable,
|
|
@@ -9891,7 +9900,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9891
9900
|
_: 1
|
|
9892
9901
|
}, 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"]);
|
|
9893
9902
|
}
|
|
9894
|
-
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-
|
|
9903
|
+
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$Z], ["__scopeId", "data-v-89ff4bae"]]);
|
|
9895
9904
|
var __glob_0_5$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9896
9905
|
__proto__: null,
|
|
9897
9906
|
"default": dateWidget
|
|
@@ -10627,7 +10636,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10627
10636
|
createElementVNode("div", _hoisted_1$q, [
|
|
10628
10637
|
createVNode(_component_el_upload, {
|
|
10629
10638
|
ref: "fieldEditor",
|
|
10630
|
-
disabled:
|
|
10639
|
+
disabled: _ctx.getDisabled(),
|
|
10631
10640
|
style: normalizeStyle($data.styleVariables),
|
|
10632
10641
|
class: normalizeClass(["dynamicPseudoAfter", { hideUploadDiv: $data.uploadBtnHidden }]),
|
|
10633
10642
|
action: $options.realUploadURL,
|
|
@@ -10704,7 +10713,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10704
10713
|
_: 1
|
|
10705
10714
|
}, 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"]);
|
|
10706
10715
|
}
|
|
10707
|
-
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-
|
|
10716
|
+
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-6d3ed7e0"]]);
|
|
10708
10717
|
var __glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10709
10718
|
__proto__: null,
|
|
10710
10719
|
"default": fileUploadWidget
|
|
@@ -10870,7 +10879,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10870
10879
|
ref: "fieldEditor",
|
|
10871
10880
|
modelValue: $data.fieldModel,
|
|
10872
10881
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
10873
|
-
disabled:
|
|
10882
|
+
disabled: _ctx.getDisabled(),
|
|
10874
10883
|
readonly: $props.field.options.readonly,
|
|
10875
10884
|
size: _ctx.widgetSize,
|
|
10876
10885
|
class: "hide-spin-button",
|
|
@@ -10892,7 +10901,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10892
10901
|
name: "append",
|
|
10893
10902
|
fn: withCtx(() => [
|
|
10894
10903
|
createVNode(_component_el_button, {
|
|
10895
|
-
disabled:
|
|
10904
|
+
disabled: _ctx.getDisabled() || $props.field.options.appendButtonDisabled,
|
|
10896
10905
|
onClick: _ctx.emitAppendButtonClick
|
|
10897
10906
|
}, {
|
|
10898
10907
|
default: withCtx(() => [
|
|
@@ -10910,7 +10919,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10910
10919
|
_: 1
|
|
10911
10920
|
}, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
10912
10921
|
}
|
|
10913
|
-
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-
|
|
10922
|
+
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$K], ["__scopeId", "data-v-0346e877"]]);
|
|
10914
10923
|
var __glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10915
10924
|
__proto__: null,
|
|
10916
10925
|
"default": inputWidget
|
|
@@ -10992,7 +11001,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10992
11001
|
modelValue: $data.fieldModel,
|
|
10993
11002
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
10994
11003
|
class: "full-width-input",
|
|
10995
|
-
disabled:
|
|
11004
|
+
disabled: _ctx.getDisabled(),
|
|
10996
11005
|
size: _ctx.widgetSize,
|
|
10997
11006
|
"controls-position": $props.field.options.controlsPosition,
|
|
10998
11007
|
placeholder: $props.field.options.placeholder,
|
|
@@ -11008,7 +11017,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11008
11017
|
_: 1
|
|
11009
11018
|
}, 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"]);
|
|
11010
11019
|
}
|
|
11011
|
-
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-
|
|
11020
|
+
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$J], ["__scopeId", "data-v-30c98522"]]);
|
|
11012
11021
|
var __glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11013
11022
|
__proto__: null,
|
|
11014
11023
|
"default": numberWidget
|
|
@@ -11244,7 +11253,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11244
11253
|
default: withCtx(() => [
|
|
11245
11254
|
createVNode(_component_el_upload, {
|
|
11246
11255
|
ref: "fieldEditor",
|
|
11247
|
-
disabled:
|
|
11256
|
+
disabled: _ctx.getDisabled(),
|
|
11248
11257
|
action: $options.realUploadURL,
|
|
11249
11258
|
headers: $data.uploadHeaders,
|
|
11250
11259
|
data: $data.uploadData,
|
|
@@ -11309,7 +11318,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11309
11318
|
_: 1
|
|
11310
11319
|
}, 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"]);
|
|
11311
11320
|
}
|
|
11312
|
-
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-
|
|
11321
|
+
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-4d09ba72"]]);
|
|
11313
11322
|
var __glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11314
11323
|
__proto__: null,
|
|
11315
11324
|
"default": pictureUploadWidget
|
|
@@ -11394,7 +11403,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11394
11403
|
modelValue: $data.fieldModel,
|
|
11395
11404
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
11396
11405
|
class: normalizeClass({ "radio-group-block": $props.field.options.displayStyle === "block" }),
|
|
11397
|
-
disabled:
|
|
11406
|
+
disabled: _ctx.getDisabled(),
|
|
11398
11407
|
size: _ctx.widgetSize,
|
|
11399
11408
|
onChange: _ctx.handleChangeEvent
|
|
11400
11409
|
}, {
|
|
@@ -11433,7 +11442,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11433
11442
|
_: 1
|
|
11434
11443
|
}, 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"]);
|
|
11435
11444
|
}
|
|
11436
|
-
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-
|
|
11445
|
+
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$H], ["__scopeId", "data-v-2579b66d"]]);
|
|
11437
11446
|
var __glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11438
11447
|
__proto__: null,
|
|
11439
11448
|
"default": radioWidget
|
|
@@ -11514,7 +11523,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11514
11523
|
ref: "fieldEditor",
|
|
11515
11524
|
modelValue: $data.fieldModel,
|
|
11516
11525
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
11517
|
-
disabled:
|
|
11526
|
+
disabled: _ctx.getDisabled(),
|
|
11518
11527
|
max: $props.field.options.max,
|
|
11519
11528
|
"low-threshold": $props.field.options.lowThreshold,
|
|
11520
11529
|
"high-threshold": $props.field.options.highThreshold,
|
|
@@ -11527,7 +11536,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11527
11536
|
_: 1
|
|
11528
11537
|
}, 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"]);
|
|
11529
11538
|
}
|
|
11530
|
-
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-
|
|
11539
|
+
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$G], ["__scopeId", "data-v-3c7d82fe"]]);
|
|
11531
11540
|
var __glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11532
11541
|
__proto__: null,
|
|
11533
11542
|
"default": rateWidget
|
|
@@ -23076,7 +23085,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23076
23085
|
value: $data.fieldModel,
|
|
23077
23086
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
23078
23087
|
options: $options.editorOption,
|
|
23079
|
-
disabled:
|
|
23088
|
+
disabled: _ctx.getDisabled(),
|
|
23080
23089
|
onBlur: $options.handleRichEditorBlurEvent,
|
|
23081
23090
|
onFocus: $options.handleRichEditorFocusEvent,
|
|
23082
23091
|
onChange: $options.handleRichEditorChangeEvent,
|
|
@@ -23087,7 +23096,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23087
23096
|
_: 1
|
|
23088
23097
|
}, 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"]);
|
|
23089
23098
|
}
|
|
23090
|
-
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-
|
|
23099
|
+
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$E], ["__scopeId", "data-v-6f719fd1"]]);
|
|
23091
23100
|
var __glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23092
23101
|
__proto__: null,
|
|
23093
23102
|
"default": richEditorWidget
|
|
@@ -23178,7 +23187,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23178
23187
|
"node-key": "value",
|
|
23179
23188
|
"default-expand-all": true,
|
|
23180
23189
|
"expand-on-click-node": false,
|
|
23181
|
-
disabled:
|
|
23190
|
+
disabled: _ctx.getDisabled(),
|
|
23182
23191
|
size: _ctx.widgetSize,
|
|
23183
23192
|
clearable: $props.field.options.clearable,
|
|
23184
23193
|
filterable: $props.field.options.filterable,
|
|
@@ -23305,7 +23314,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23305
23314
|
modelValue: $data.fieldModel,
|
|
23306
23315
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
23307
23316
|
class: "full-width-input",
|
|
23308
|
-
disabled:
|
|
23317
|
+
disabled: _ctx.getDisabled(),
|
|
23309
23318
|
size: _ctx.widgetSize,
|
|
23310
23319
|
clearable: $props.field.options.clearable,
|
|
23311
23320
|
filterable: $props.field.options.filterable,
|
|
@@ -23337,7 +23346,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23337
23346
|
_: 1
|
|
23338
23347
|
}, 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"]);
|
|
23339
23348
|
}
|
|
23340
|
-
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-
|
|
23349
|
+
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-97221160"]]);
|
|
23341
23350
|
var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23342
23351
|
__proto__: null,
|
|
23343
23352
|
"default": selectWidget
|
|
@@ -23418,7 +23427,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23418
23427
|
ref: "fieldEditor",
|
|
23419
23428
|
modelValue: $data.fieldModel,
|
|
23420
23429
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
23421
|
-
disabled:
|
|
23430
|
+
disabled: _ctx.getDisabled(),
|
|
23422
23431
|
"show-stops": $props.field.options.showStops,
|
|
23423
23432
|
min: $props.field.options.min,
|
|
23424
23433
|
max: $props.field.options.max,
|
|
@@ -23431,7 +23440,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23431
23440
|
_: 1
|
|
23432
23441
|
}, 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"]);
|
|
23433
23442
|
}
|
|
23434
|
-
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-
|
|
23443
|
+
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_render$B], ["__scopeId", "data-v-c9a31970"]]);
|
|
23435
23444
|
var __glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23436
23445
|
__proto__: null,
|
|
23437
23446
|
"default": sliderWidget
|
|
@@ -23696,7 +23705,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23696
23705
|
ref: "fieldEditor",
|
|
23697
23706
|
modelValue: $data.fieldModel,
|
|
23698
23707
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
23699
|
-
disabled:
|
|
23708
|
+
disabled: _ctx.getDisabled(),
|
|
23700
23709
|
"active-text": $props.field.options.activeText,
|
|
23701
23710
|
"inactive-text": $props.field.options.inactiveText,
|
|
23702
23711
|
"active-color": $props.field.options.activeColor,
|
|
@@ -23708,7 +23717,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23708
23717
|
_: 1
|
|
23709
23718
|
}, 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"]);
|
|
23710
23719
|
}
|
|
23711
|
-
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-
|
|
23720
|
+
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$y], ["__scopeId", "data-v-2e8d2d0a"]]);
|
|
23712
23721
|
var __glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23713
23722
|
__proto__: null,
|
|
23714
23723
|
"default": switchWidget
|
|
@@ -23790,7 +23799,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23790
23799
|
ref: "fieldEditor",
|
|
23791
23800
|
modelValue: $data.fieldModel,
|
|
23792
23801
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
23793
|
-
disabled:
|
|
23802
|
+
disabled: _ctx.getDisabled(),
|
|
23794
23803
|
readonly: $props.field.options.readonly,
|
|
23795
23804
|
size: _ctx.widgetSize,
|
|
23796
23805
|
placeholder: $props.field.options.placeholder,
|
|
@@ -23807,7 +23816,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23807
23816
|
_: 1
|
|
23808
23817
|
}, 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"]);
|
|
23809
23818
|
}
|
|
23810
|
-
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["render", _sfc_render$x], ["__scopeId", "data-v-
|
|
23819
|
+
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["render", _sfc_render$x], ["__scopeId", "data-v-687fedce"]]);
|
|
23811
23820
|
var __glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23812
23821
|
__proto__: null,
|
|
23813
23822
|
"default": textareaWidget
|
|
@@ -23893,7 +23902,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23893
23902
|
modelValue: $data.fieldModel,
|
|
23894
23903
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
23895
23904
|
class: normalizeClass([!!$props.field.options.autoFullWidth ? "full-width-input" : ""]),
|
|
23896
|
-
disabled:
|
|
23905
|
+
disabled: _ctx.getDisabled(),
|
|
23897
23906
|
readonly: $props.field.options.readonly,
|
|
23898
23907
|
size: _ctx.widgetSize,
|
|
23899
23908
|
clearable: $props.field.options.clearable,
|
|
@@ -23911,7 +23920,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23911
23920
|
_: 1
|
|
23912
23921
|
}, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
23913
23922
|
}
|
|
23914
|
-
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-
|
|
23923
|
+
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$w], ["__scopeId", "data-v-f78e9b46"]]);
|
|
23915
23924
|
var __glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23916
23925
|
__proto__: null,
|
|
23917
23926
|
"default": timeRangeWidget
|
|
@@ -23993,7 +24002,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23993
24002
|
modelValue: $data.fieldModel,
|
|
23994
24003
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
23995
24004
|
class: normalizeClass([!!$props.field.options.autoFullWidth ? "auto-full-width" : ""]),
|
|
23996
|
-
disabled:
|
|
24005
|
+
disabled: _ctx.getDisabled(),
|
|
23997
24006
|
readonly: $props.field.options.readonly,
|
|
23998
24007
|
size: _ctx.widgetSize,
|
|
23999
24008
|
clearable: $props.field.options.clearable,
|
|
@@ -24009,7 +24018,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24009
24018
|
_: 1
|
|
24010
24019
|
}, 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"]);
|
|
24011
24020
|
}
|
|
24012
|
-
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-
|
|
24021
|
+
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$v], ["__scopeId", "data-v-60cd3a6a"]]);
|
|
24013
24022
|
var __glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24014
24023
|
__proto__: null,
|
|
24015
24024
|
"default": timeWidget
|
|
@@ -24050,6 +24059,10 @@ const _sfc_main$u = {
|
|
|
24050
24059
|
fieldSchemaData: {
|
|
24051
24060
|
type: Array,
|
|
24052
24061
|
default: void 0
|
|
24062
|
+
},
|
|
24063
|
+
subFormDisabled: {
|
|
24064
|
+
type: Boolean,
|
|
24065
|
+
default: false
|
|
24053
24066
|
}
|
|
24054
24067
|
},
|
|
24055
24068
|
inject: ["refList", "globalModel", "getFormConfig", "previewState"],
|
|
@@ -24151,7 +24164,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24151
24164
|
"parent-widget": $props.widget,
|
|
24152
24165
|
"sub-form-row-index": $props.subFormRowIndex,
|
|
24153
24166
|
"sub-form-row-id": $props.subFormRowId,
|
|
24154
|
-
"sub-form-col-index": $props.subFormColIndex
|
|
24167
|
+
"sub-form-col-index": $props.subFormColIndex,
|
|
24168
|
+
"sub-form-disabled": $props.subFormDisabled,
|
|
24169
|
+
disabled: _ctx.disabled || $props.widget.options.disabled
|
|
24155
24170
|
}, createSlots({ _: 2 }, [
|
|
24156
24171
|
renderList(Object.keys(_ctx.$slots), (slot) => {
|
|
24157
24172
|
return {
|
|
@@ -24161,7 +24176,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24161
24176
|
])
|
|
24162
24177
|
};
|
|
24163
24178
|
})
|
|
24164
|
-
]), 1032, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index"])) : (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
24179
|
+
]), 1032, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index", "sub-form-disabled", "disabled"])) : (openBlock(), createBlock(resolveDynamicComponent(subWidget.type + "-widget"), {
|
|
24165
24180
|
field: $props.fieldSchemaData && $props.fieldSchemaData[swIdx] ? $props.fieldSchemaData[swIdx] : subWidget,
|
|
24166
24181
|
designer: null,
|
|
24167
24182
|
key: $props.fieldSchemaData && $props.fieldSchemaData[swIdx] ? $props.fieldSchemaData[swIdx].id : swIdx,
|
|
@@ -24170,6 +24185,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24170
24185
|
"parent-widget": $props.parentWidget,
|
|
24171
24186
|
"sub-form-row-index": $props.subFormRowIndex,
|
|
24172
24187
|
"sub-form-row-id": $props.subFormRowId,
|
|
24188
|
+
"sub-form-disabled": $props.subFormDisabled,
|
|
24173
24189
|
"sub-form-col-index": $props.subFormColIndex
|
|
24174
24190
|
}, createSlots({ _: 2 }, [
|
|
24175
24191
|
renderList(Object.keys(_ctx.$slots), (slot) => {
|
|
@@ -24180,7 +24196,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24180
24196
|
])
|
|
24181
24197
|
};
|
|
24182
24198
|
})
|
|
24183
|
-
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index"]))
|
|
24199
|
+
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-index", "sub-form-row-id", "sub-form-disabled", "sub-form-col-index"]))
|
|
24184
24200
|
], 64);
|
|
24185
24201
|
}), 256)) : (openBlock(), createBlock(_component_el_col, { key: 1 }, {
|
|
24186
24202
|
default: withCtx(() => [
|
|
@@ -24196,7 +24212,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24196
24212
|
[vShow, $options.colVisible]
|
|
24197
24213
|
]) : createCommentVNode("", true);
|
|
24198
24214
|
}
|
|
24199
|
-
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-
|
|
24215
|
+
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-bc1d425a"]]);
|
|
24200
24216
|
var __glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24201
24217
|
__proto__: null,
|
|
24202
24218
|
"default": GridColItem
|
|
@@ -24297,6 +24313,10 @@ var containerItemMixin = {
|
|
|
24297
24313
|
return !this.rowIdData ? 0 : this.rowIdData.length;
|
|
24298
24314
|
},
|
|
24299
24315
|
disableSubFormRow(rowIndex) {
|
|
24316
|
+
if (!Array.isArray(this.rowIdData) || this.rowIdData[rowIndex] == null)
|
|
24317
|
+
return;
|
|
24318
|
+
if (!this.widget || !this.widget.widgetList)
|
|
24319
|
+
return;
|
|
24300
24320
|
this.widget.widgetList.forEach((subWidget) => {
|
|
24301
24321
|
let swRefName = subWidget.options.name + "@row" + this.rowIdData[rowIndex];
|
|
24302
24322
|
let foundSW = this.getWidgetRef(swRefName);
|
|
@@ -24306,6 +24326,10 @@ var containerItemMixin = {
|
|
|
24306
24326
|
});
|
|
24307
24327
|
},
|
|
24308
24328
|
enableSubFormRow(rowIndex) {
|
|
24329
|
+
if (!Array.isArray(this.rowIdData) || this.rowIdData[rowIndex] == null)
|
|
24330
|
+
return;
|
|
24331
|
+
if (!this.widget || !this.widget.widgetList)
|
|
24332
|
+
return;
|
|
24309
24333
|
this.widget.widgetList.forEach((subWidget) => {
|
|
24310
24334
|
let swRefName = subWidget.options.name + "@row" + this.rowIdData[rowIndex];
|
|
24311
24335
|
let foundSW = this.getWidgetRef(swRefName);
|
|
@@ -24315,23 +24339,27 @@ var containerItemMixin = {
|
|
|
24315
24339
|
});
|
|
24316
24340
|
},
|
|
24317
24341
|
disableSubForm() {
|
|
24318
|
-
if (this.rowIdData.length > 0) {
|
|
24342
|
+
if (Array.isArray(this.rowIdData) && this.rowIdData.length > 0) {
|
|
24319
24343
|
this.rowIdData.forEach((dataRow, rIdx) => {
|
|
24320
24344
|
this.disableSubFormRow(rIdx);
|
|
24321
24345
|
});
|
|
24322
24346
|
}
|
|
24323
|
-
this.actionDisabled
|
|
24347
|
+
if (typeof this.actionDisabled !== "undefined") {
|
|
24348
|
+
this.actionDisabled = true;
|
|
24349
|
+
}
|
|
24324
24350
|
if (this.widget && this.widget.options) {
|
|
24325
24351
|
this.widget.options.disabled = true;
|
|
24326
24352
|
}
|
|
24327
24353
|
},
|
|
24328
24354
|
enableSubForm() {
|
|
24329
|
-
if (this.rowIdData.length > 0) {
|
|
24355
|
+
if (Array.isArray(this.rowIdData) && this.rowIdData.length > 0) {
|
|
24330
24356
|
this.rowIdData.forEach((dataRow, rIdx) => {
|
|
24331
24357
|
this.enableSubFormRow(rIdx);
|
|
24332
24358
|
});
|
|
24333
24359
|
}
|
|
24334
|
-
this.actionDisabled
|
|
24360
|
+
if (typeof this.actionDisabled !== "undefined") {
|
|
24361
|
+
this.actionDisabled = false;
|
|
24362
|
+
}
|
|
24335
24363
|
if (this.widget && this.widget.options) {
|
|
24336
24364
|
this.widget.options.disabled = false;
|
|
24337
24365
|
}
|
|
@@ -24404,6 +24432,10 @@ const _sfc_main$t = {
|
|
|
24404
24432
|
fieldSchemaData: {
|
|
24405
24433
|
type: Object,
|
|
24406
24434
|
default: void 0
|
|
24435
|
+
},
|
|
24436
|
+
subFormDisabled: {
|
|
24437
|
+
type: Boolean,
|
|
24438
|
+
default: false
|
|
24407
24439
|
}
|
|
24408
24440
|
},
|
|
24409
24441
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
@@ -24441,6 +24473,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24441
24473
|
"sub-form-row-index": $props.subFormRowIndex,
|
|
24442
24474
|
"sub-form-row-id": $props.subFormRowId,
|
|
24443
24475
|
"sub-form-col-index": $props.subFormColIndex,
|
|
24476
|
+
"sub-form-disabled": $props.subFormDisabled,
|
|
24444
24477
|
"field-schema-data": $props.fieldSchemaData
|
|
24445
24478
|
}, createSlots({ _: 2 }, [
|
|
24446
24479
|
renderList(Object.keys(_ctx.$slots), (slot) => {
|
|
@@ -24451,7 +24484,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24451
24484
|
])
|
|
24452
24485
|
};
|
|
24453
24486
|
})
|
|
24454
|
-
]), 1032, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "col-height", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index", "field-schema-data"]);
|
|
24487
|
+
]), 1032, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "col-height", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index", "sub-form-disabled", "field-schema-data"]);
|
|
24455
24488
|
}), 128))
|
|
24456
24489
|
]),
|
|
24457
24490
|
_: 3
|
|
@@ -25815,13 +25848,13 @@ function registerIcon(app) {
|
|
|
25815
25848
|
if (typeof window !== "undefined") {
|
|
25816
25849
|
let loadSvg = function() {
|
|
25817
25850
|
var body = document.body;
|
|
25818
|
-
var svgDom = document.getElementById("
|
|
25851
|
+
var svgDom = document.getElementById("__svg__icons__dom__1772615034419__");
|
|
25819
25852
|
if (!svgDom) {
|
|
25820
25853
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
25821
25854
|
svgDom.style.position = "absolute";
|
|
25822
25855
|
svgDom.style.width = "0";
|
|
25823
25856
|
svgDom.style.height = "0";
|
|
25824
|
-
svgDom.id = "
|
|
25857
|
+
svgDom.id = "__svg__icons__dom__1772615034419__";
|
|
25825
25858
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
25826
25859
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
25827
25860
|
}
|
|
@@ -34322,7 +34355,7 @@ const _sfc_main$9 = {
|
|
|
34322
34355
|
return void 0;
|
|
34323
34356
|
}
|
|
34324
34357
|
if (containerSchema.widgetList && Array.isArray(containerSchema.widgetList)) {
|
|
34325
|
-
return containerSchema.widgetList;
|
|
34358
|
+
return __spreadProps(__spreadValues({}, containerSchema.widgetList), { disabled: this.widget.options.disabled });
|
|
34326
34359
|
}
|
|
34327
34360
|
return void 0;
|
|
34328
34361
|
}
|
|
@@ -34413,9 +34446,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34413
34446
|
"sub-form-row-index": sfrIdx,
|
|
34414
34447
|
"sub-form-row-id": subFormRowId,
|
|
34415
34448
|
"sub-form-col-index": swIdx,
|
|
34416
|
-
|
|
34449
|
+
subFormDisabled: $props.widget.options.disabled,
|
|
34417
34450
|
"field-schema-data": $options.getFieldSchemaDataForContainer(subWidget, sfrIdx, swIdx)
|
|
34418
|
-
}, null, 8, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index", "
|
|
34451
|
+
}, null, 8, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index", "subFormDisabled", "field-schema-data"])) : subWidget ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
34419
34452
|
$data.fieldSchemaData && $data.fieldSchemaData[sfrIdx] && $data.fieldSchemaData[sfrIdx][swIdx] ? (openBlock(), createBlock(resolveDynamicComponent($options.getComponentName(subWidget)), {
|
|
34420
34453
|
key: 0,
|
|
34421
34454
|
field: $data.fieldSchemaData[sfrIdx][swIdx],
|
|
@@ -34425,8 +34458,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34425
34458
|
"sub-form-row-id": subFormRowId,
|
|
34426
34459
|
"sub-form-row-index": sfrIdx,
|
|
34427
34460
|
"sub-form-col-index": swIdx,
|
|
34428
|
-
disabled: $props.widget.options.disabled
|
|
34429
|
-
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index", "disabled"])) : (openBlock(), createElementBlock("div", _hoisted_9, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
|
|
34461
|
+
"sub-form-disabled": $props.widget.options.disabled
|
|
34462
|
+
}, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index", "sub-form-disabled"])) : (openBlock(), createElementBlock("div", _hoisted_9, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
|
|
34430
34463
|
], 64)) : createCommentVNode("", true)
|
|
34431
34464
|
], 64);
|
|
34432
34465
|
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
@@ -34457,7 +34490,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34457
34490
|
_: 1
|
|
34458
34491
|
}, 8, ["widget"]);
|
|
34459
34492
|
}
|
|
34460
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
34493
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-3754189c"]]);
|
|
34461
34494
|
var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34462
34495
|
const _sfc_main$8 = {
|
|
34463
34496
|
name: "custom-table-cell-widget",
|