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/designer.es.js
CHANGED
|
@@ -10155,6 +10155,12 @@ var lodash = { exports: {} };
|
|
|
10155
10155
|
})(lodash, lodash.exports);
|
|
10156
10156
|
var fieldMixin = {
|
|
10157
10157
|
inject: ["refList", "sfRefList", "getFormConfig", "getGlobalDsv", "globalOptionData", "globalModel", "getOptionData"],
|
|
10158
|
+
props: {
|
|
10159
|
+
subFormDisabled: {
|
|
10160
|
+
type: Boolean,
|
|
10161
|
+
default: false
|
|
10162
|
+
}
|
|
10163
|
+
},
|
|
10158
10164
|
computed: {
|
|
10159
10165
|
formConfig() {
|
|
10160
10166
|
return this.getFormConfig();
|
|
@@ -10176,6 +10182,9 @@ var fieldMixin = {
|
|
|
10176
10182
|
}
|
|
10177
10183
|
},
|
|
10178
10184
|
methods: {
|
|
10185
|
+
getDisabled() {
|
|
10186
|
+
return this.subFormDisabled === true || !!this.field && !!this.field.options && !!this.field.options.disabled;
|
|
10187
|
+
},
|
|
10179
10188
|
getPropName() {
|
|
10180
10189
|
if (this.subFormItemFlag && !this.designState) {
|
|
10181
10190
|
return this.subFormName + "." + this.subFormRowIndex + "." + this.field.options.name + "";
|
|
@@ -10732,7 +10741,7 @@ function _sfc_render$3q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10732
10741
|
round: $props.field.options.round,
|
|
10733
10742
|
circle: $props.field.options.circle,
|
|
10734
10743
|
icon: $props.field.options.icon,
|
|
10735
|
-
disabled:
|
|
10744
|
+
disabled: _ctx.getDisabled(),
|
|
10736
10745
|
onClick: _ctx.handleButtonWidgetClick
|
|
10737
10746
|
}, {
|
|
10738
10747
|
default: withCtx(() => [
|
|
@@ -10744,7 +10753,7 @@ function _sfc_render$3q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10744
10753
|
_: 1
|
|
10745
10754
|
}, 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"]);
|
|
10746
10755
|
}
|
|
10747
|
-
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3q, [["render", _sfc_render$3q], ["__scopeId", "data-v-
|
|
10756
|
+
var buttonWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3q, [["render", _sfc_render$3q], ["__scopeId", "data-v-78bf6014"]]);
|
|
10748
10757
|
var __glob_0_0$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10749
10758
|
__proto__: null,
|
|
10750
10759
|
"default": buttonWidget
|
|
@@ -11103,7 +11112,7 @@ function _sfc_render$3o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11103
11112
|
options: $props.field.options.optionItems,
|
|
11104
11113
|
modelValue: $data.fieldModel,
|
|
11105
11114
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
11106
|
-
disabled:
|
|
11115
|
+
disabled: _ctx.getDisabled(),
|
|
11107
11116
|
size: _ctx.widgetSize,
|
|
11108
11117
|
clearable: $props.field.options.clearable,
|
|
11109
11118
|
filterable: $props.field.options.filterable,
|
|
@@ -11119,7 +11128,7 @@ function _sfc_render$3o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11119
11128
|
_: 1
|
|
11120
11129
|
}, 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"]);
|
|
11121
11130
|
}
|
|
11122
|
-
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3o, [["render", _sfc_render$3o], ["__scopeId", "data-v-
|
|
11131
|
+
var cascaderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3o, [["render", _sfc_render$3o], ["__scopeId", "data-v-7c3dbd57"]]);
|
|
11123
11132
|
var __glob_0_1$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11124
11133
|
__proto__: null,
|
|
11125
11134
|
"default": cascaderWidget
|
|
@@ -11203,7 +11212,7 @@ function _sfc_render$3n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11203
11212
|
ref: "fieldEditor",
|
|
11204
11213
|
modelValue: $data.fieldModel,
|
|
11205
11214
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
11206
|
-
disabled:
|
|
11215
|
+
disabled: _ctx.getDisabled(),
|
|
11207
11216
|
size: _ctx.widgetSize,
|
|
11208
11217
|
onChange: _ctx.handleChangeEvent
|
|
11209
11218
|
}, {
|
|
@@ -11242,7 +11251,7 @@ function _sfc_render$3n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11242
11251
|
_: 1
|
|
11243
11252
|
}, 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"]);
|
|
11244
11253
|
}
|
|
11245
|
-
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3n, [["render", _sfc_render$3n], ["__scopeId", "data-v-
|
|
11254
|
+
var checkboxWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3n, [["render", _sfc_render$3n], ["__scopeId", "data-v-3944f5f4"]]);
|
|
11246
11255
|
var __glob_0_2$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11247
11256
|
__proto__: null,
|
|
11248
11257
|
"default": checkboxWidget
|
|
@@ -11324,14 +11333,14 @@ function _sfc_render$3m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11324
11333
|
modelValue: $data.fieldModel,
|
|
11325
11334
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
11326
11335
|
size: _ctx.widgetSize,
|
|
11327
|
-
disabled:
|
|
11336
|
+
disabled: _ctx.getDisabled(),
|
|
11328
11337
|
onChange: _ctx.handleChangeEvent
|
|
11329
11338
|
}, null, 8, ["modelValue", "size", "disabled", "onChange"])
|
|
11330
11339
|
]),
|
|
11331
11340
|
_: 1
|
|
11332
11341
|
}, 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"]);
|
|
11333
11342
|
}
|
|
11334
|
-
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3m, [["render", _sfc_render$3m], ["__scopeId", "data-v-
|
|
11343
|
+
var colorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3m, [["render", _sfc_render$3m], ["__scopeId", "data-v-52b66ef1"]]);
|
|
11335
11344
|
var __glob_0_3$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11336
11345
|
__proto__: null,
|
|
11337
11346
|
"default": colorWidget
|
|
@@ -11413,7 +11422,7 @@ function _sfc_render$3l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11413
11422
|
type: $props.field.options.type,
|
|
11414
11423
|
modelValue: $data.fieldModel,
|
|
11415
11424
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
11416
|
-
disabled:
|
|
11425
|
+
disabled: _ctx.getDisabled(),
|
|
11417
11426
|
readonly: $props.field.options.readonly,
|
|
11418
11427
|
size: _ctx.widgetSize,
|
|
11419
11428
|
clearable: $props.field.options.clearable,
|
|
@@ -11430,7 +11439,7 @@ function _sfc_render$3l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11430
11439
|
_: 1
|
|
11431
11440
|
}, 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"]);
|
|
11432
11441
|
}
|
|
11433
|
-
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3l, [["render", _sfc_render$3l], ["__scopeId", "data-v-
|
|
11442
|
+
var dateRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3l, [["render", _sfc_render$3l], ["__scopeId", "data-v-e50300fe"]]);
|
|
11434
11443
|
var __glob_0_4$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11435
11444
|
__proto__: null,
|
|
11436
11445
|
"default": dateRangeWidget
|
|
@@ -11514,7 +11523,7 @@ function _sfc_render$3k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11514
11523
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
11515
11524
|
class: normalizeClass([!!$props.field.options.autoFullWidth ? "auto-full-width" : ""]),
|
|
11516
11525
|
readonly: $props.field.options.readonly,
|
|
11517
|
-
disabled:
|
|
11526
|
+
disabled: _ctx.getDisabled(),
|
|
11518
11527
|
size: _ctx.widgetSize,
|
|
11519
11528
|
clearable: $props.field.options.clearable,
|
|
11520
11529
|
editable: $props.field.options.editable,
|
|
@@ -11529,7 +11538,7 @@ function _sfc_render$3k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11529
11538
|
_: 1
|
|
11530
11539
|
}, 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"]);
|
|
11531
11540
|
}
|
|
11532
|
-
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3k, [["render", _sfc_render$3k], ["__scopeId", "data-v-
|
|
11541
|
+
var dateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3k, [["render", _sfc_render$3k], ["__scopeId", "data-v-89ff4bae"]]);
|
|
11533
11542
|
var __glob_0_5$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11534
11543
|
__proto__: null,
|
|
11535
11544
|
"default": dateWidget
|
|
@@ -12265,7 +12274,7 @@ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12265
12274
|
createElementVNode("div", _hoisted_1$B, [
|
|
12266
12275
|
createVNode(_component_el_upload, {
|
|
12267
12276
|
ref: "fieldEditor",
|
|
12268
|
-
disabled:
|
|
12277
|
+
disabled: _ctx.getDisabled(),
|
|
12269
12278
|
style: normalizeStyle($data.styleVariables),
|
|
12270
12279
|
class: normalizeClass(["dynamicPseudoAfter", { hideUploadDiv: $data.uploadBtnHidden }]),
|
|
12271
12280
|
action: $options.realUploadURL,
|
|
@@ -12342,7 +12351,7 @@ function _sfc_render$37(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12342
12351
|
_: 1
|
|
12343
12352
|
}, 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"]);
|
|
12344
12353
|
}
|
|
12345
|
-
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$37, [["render", _sfc_render$37], ["__scopeId", "data-v-
|
|
12354
|
+
var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$37, [["render", _sfc_render$37], ["__scopeId", "data-v-6d3ed7e0"]]);
|
|
12346
12355
|
var __glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12347
12356
|
__proto__: null,
|
|
12348
12357
|
"default": fileUploadWidget
|
|
@@ -12508,7 +12517,7 @@ function _sfc_render$35(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12508
12517
|
ref: "fieldEditor",
|
|
12509
12518
|
modelValue: $data.fieldModel,
|
|
12510
12519
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
12511
|
-
disabled:
|
|
12520
|
+
disabled: _ctx.getDisabled(),
|
|
12512
12521
|
readonly: $props.field.options.readonly,
|
|
12513
12522
|
size: _ctx.widgetSize,
|
|
12514
12523
|
class: "hide-spin-button",
|
|
@@ -12530,7 +12539,7 @@ function _sfc_render$35(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12530
12539
|
name: "append",
|
|
12531
12540
|
fn: withCtx(() => [
|
|
12532
12541
|
createVNode(_component_el_button, {
|
|
12533
|
-
disabled:
|
|
12542
|
+
disabled: _ctx.getDisabled() || $props.field.options.appendButtonDisabled,
|
|
12534
12543
|
onClick: _ctx.emitAppendButtonClick
|
|
12535
12544
|
}, {
|
|
12536
12545
|
default: withCtx(() => [
|
|
@@ -12548,7 +12557,7 @@ function _sfc_render$35(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12548
12557
|
_: 1
|
|
12549
12558
|
}, 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"]);
|
|
12550
12559
|
}
|
|
12551
|
-
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$35, [["render", _sfc_render$35], ["__scopeId", "data-v-
|
|
12560
|
+
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$35, [["render", _sfc_render$35], ["__scopeId", "data-v-0346e877"]]);
|
|
12552
12561
|
var __glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12553
12562
|
__proto__: null,
|
|
12554
12563
|
"default": inputWidget
|
|
@@ -12630,7 +12639,7 @@ function _sfc_render$34(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12630
12639
|
modelValue: $data.fieldModel,
|
|
12631
12640
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
12632
12641
|
class: "full-width-input",
|
|
12633
|
-
disabled:
|
|
12642
|
+
disabled: _ctx.getDisabled(),
|
|
12634
12643
|
size: _ctx.widgetSize,
|
|
12635
12644
|
"controls-position": $props.field.options.controlsPosition,
|
|
12636
12645
|
placeholder: $props.field.options.placeholder,
|
|
@@ -12646,7 +12655,7 @@ function _sfc_render$34(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12646
12655
|
_: 1
|
|
12647
12656
|
}, 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"]);
|
|
12648
12657
|
}
|
|
12649
|
-
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$34, [["render", _sfc_render$34], ["__scopeId", "data-v-
|
|
12658
|
+
var numberWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$34, [["render", _sfc_render$34], ["__scopeId", "data-v-30c98522"]]);
|
|
12650
12659
|
var __glob_0_11$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12651
12660
|
__proto__: null,
|
|
12652
12661
|
"default": numberWidget
|
|
@@ -12882,7 +12891,7 @@ function _sfc_render$33(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12882
12891
|
default: withCtx(() => [
|
|
12883
12892
|
createVNode(_component_el_upload, {
|
|
12884
12893
|
ref: "fieldEditor",
|
|
12885
|
-
disabled:
|
|
12894
|
+
disabled: _ctx.getDisabled(),
|
|
12886
12895
|
action: $options.realUploadURL,
|
|
12887
12896
|
headers: $data.uploadHeaders,
|
|
12888
12897
|
data: $data.uploadData,
|
|
@@ -12947,7 +12956,7 @@ function _sfc_render$33(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12947
12956
|
_: 1
|
|
12948
12957
|
}, 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"]);
|
|
12949
12958
|
}
|
|
12950
|
-
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$33, [["render", _sfc_render$33], ["__scopeId", "data-v-
|
|
12959
|
+
var pictureUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$33, [["render", _sfc_render$33], ["__scopeId", "data-v-4d09ba72"]]);
|
|
12951
12960
|
var __glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12952
12961
|
__proto__: null,
|
|
12953
12962
|
"default": pictureUploadWidget
|
|
@@ -13032,7 +13041,7 @@ function _sfc_render$32(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13032
13041
|
modelValue: $data.fieldModel,
|
|
13033
13042
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
13034
13043
|
class: normalizeClass({ "radio-group-block": $props.field.options.displayStyle === "block" }),
|
|
13035
|
-
disabled:
|
|
13044
|
+
disabled: _ctx.getDisabled(),
|
|
13036
13045
|
size: _ctx.widgetSize,
|
|
13037
13046
|
onChange: _ctx.handleChangeEvent
|
|
13038
13047
|
}, {
|
|
@@ -13071,7 +13080,7 @@ function _sfc_render$32(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13071
13080
|
_: 1
|
|
13072
13081
|
}, 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"]);
|
|
13073
13082
|
}
|
|
13074
|
-
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$32, [["render", _sfc_render$32], ["__scopeId", "data-v-
|
|
13083
|
+
var radioWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$32, [["render", _sfc_render$32], ["__scopeId", "data-v-2579b66d"]]);
|
|
13075
13084
|
var __glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13076
13085
|
__proto__: null,
|
|
13077
13086
|
"default": radioWidget
|
|
@@ -13152,7 +13161,7 @@ function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13152
13161
|
ref: "fieldEditor",
|
|
13153
13162
|
modelValue: $data.fieldModel,
|
|
13154
13163
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
13155
|
-
disabled:
|
|
13164
|
+
disabled: _ctx.getDisabled(),
|
|
13156
13165
|
max: $props.field.options.max,
|
|
13157
13166
|
"low-threshold": $props.field.options.lowThreshold,
|
|
13158
13167
|
"high-threshold": $props.field.options.highThreshold,
|
|
@@ -13165,7 +13174,7 @@ function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13165
13174
|
_: 1
|
|
13166
13175
|
}, 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"]);
|
|
13167
13176
|
}
|
|
13168
|
-
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$31, [["render", _sfc_render$31], ["__scopeId", "data-v-
|
|
13177
|
+
var rateWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$31, [["render", _sfc_render$31], ["__scopeId", "data-v-3c7d82fe"]]);
|
|
13169
13178
|
var __glob_0_14$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13170
13179
|
__proto__: null,
|
|
13171
13180
|
"default": rateWidget
|
|
@@ -24714,7 +24723,7 @@ function _sfc_render$2$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24714
24723
|
value: $data.fieldModel,
|
|
24715
24724
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
24716
24725
|
options: $options.editorOption,
|
|
24717
|
-
disabled:
|
|
24726
|
+
disabled: _ctx.getDisabled(),
|
|
24718
24727
|
onBlur: $options.handleRichEditorBlurEvent,
|
|
24719
24728
|
onFocus: $options.handleRichEditorFocusEvent,
|
|
24720
24729
|
onChange: $options.handleRichEditorChangeEvent,
|
|
@@ -24725,7 +24734,7 @@ function _sfc_render$2$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24725
24734
|
_: 1
|
|
24726
24735
|
}, 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"]);
|
|
24727
24736
|
}
|
|
24728
|
-
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2$, [["render", _sfc_render$2$], ["__scopeId", "data-v-
|
|
24737
|
+
var richEditorWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2$, [["render", _sfc_render$2$], ["__scopeId", "data-v-6f719fd1"]]);
|
|
24729
24738
|
var __glob_0_15$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24730
24739
|
__proto__: null,
|
|
24731
24740
|
"default": richEditorWidget
|
|
@@ -24816,7 +24825,7 @@ function _sfc_render$2_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24816
24825
|
"node-key": "value",
|
|
24817
24826
|
"default-expand-all": true,
|
|
24818
24827
|
"expand-on-click-node": false,
|
|
24819
|
-
disabled:
|
|
24828
|
+
disabled: _ctx.getDisabled(),
|
|
24820
24829
|
size: _ctx.widgetSize,
|
|
24821
24830
|
clearable: $props.field.options.clearable,
|
|
24822
24831
|
filterable: $props.field.options.filterable,
|
|
@@ -24943,7 +24952,7 @@ function _sfc_render$2Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24943
24952
|
modelValue: $data.fieldModel,
|
|
24944
24953
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
24945
24954
|
class: "full-width-input",
|
|
24946
|
-
disabled:
|
|
24955
|
+
disabled: _ctx.getDisabled(),
|
|
24947
24956
|
size: _ctx.widgetSize,
|
|
24948
24957
|
clearable: $props.field.options.clearable,
|
|
24949
24958
|
filterable: $props.field.options.filterable,
|
|
@@ -24975,7 +24984,7 @@ function _sfc_render$2Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24975
24984
|
_: 1
|
|
24976
24985
|
}, 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"]);
|
|
24977
24986
|
}
|
|
24978
|
-
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2Z, [["render", _sfc_render$2Z], ["__scopeId", "data-v-
|
|
24987
|
+
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2Z, [["render", _sfc_render$2Z], ["__scopeId", "data-v-97221160"]]);
|
|
24979
24988
|
var __glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24980
24989
|
__proto__: null,
|
|
24981
24990
|
"default": selectWidget
|
|
@@ -25056,7 +25065,7 @@ function _sfc_render$2Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25056
25065
|
ref: "fieldEditor",
|
|
25057
25066
|
modelValue: $data.fieldModel,
|
|
25058
25067
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
25059
|
-
disabled:
|
|
25068
|
+
disabled: _ctx.getDisabled(),
|
|
25060
25069
|
"show-stops": $props.field.options.showStops,
|
|
25061
25070
|
min: $props.field.options.min,
|
|
25062
25071
|
max: $props.field.options.max,
|
|
@@ -25069,7 +25078,7 @@ function _sfc_render$2Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25069
25078
|
_: 1
|
|
25070
25079
|
}, 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"]);
|
|
25071
25080
|
}
|
|
25072
|
-
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2Y, [["render", _sfc_render$2Y], ["__scopeId", "data-v-
|
|
25081
|
+
var sliderWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2Y, [["render", _sfc_render$2Y], ["__scopeId", "data-v-c9a31970"]]);
|
|
25073
25082
|
var __glob_0_18$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25074
25083
|
__proto__: null,
|
|
25075
25084
|
"default": sliderWidget
|
|
@@ -25334,7 +25343,7 @@ function _sfc_render$2V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25334
25343
|
ref: "fieldEditor",
|
|
25335
25344
|
modelValue: $data.fieldModel,
|
|
25336
25345
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
25337
|
-
disabled:
|
|
25346
|
+
disabled: _ctx.getDisabled(),
|
|
25338
25347
|
"active-text": $props.field.options.activeText,
|
|
25339
25348
|
"inactive-text": $props.field.options.inactiveText,
|
|
25340
25349
|
"active-color": $props.field.options.activeColor,
|
|
@@ -25346,7 +25355,7 @@ function _sfc_render$2V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25346
25355
|
_: 1
|
|
25347
25356
|
}, 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"]);
|
|
25348
25357
|
}
|
|
25349
|
-
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2V, [["render", _sfc_render$2V], ["__scopeId", "data-v-
|
|
25358
|
+
var switchWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2V, [["render", _sfc_render$2V], ["__scopeId", "data-v-2e8d2d0a"]]);
|
|
25350
25359
|
var __glob_0_22$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25351
25360
|
__proto__: null,
|
|
25352
25361
|
"default": switchWidget
|
|
@@ -25428,7 +25437,7 @@ function _sfc_render$2U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25428
25437
|
ref: "fieldEditor",
|
|
25429
25438
|
modelValue: $data.fieldModel,
|
|
25430
25439
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
25431
|
-
disabled:
|
|
25440
|
+
disabled: _ctx.getDisabled(),
|
|
25432
25441
|
readonly: $props.field.options.readonly,
|
|
25433
25442
|
size: _ctx.widgetSize,
|
|
25434
25443
|
placeholder: $props.field.options.placeholder,
|
|
@@ -25445,7 +25454,7 @@ function _sfc_render$2U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25445
25454
|
_: 1
|
|
25446
25455
|
}, 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"]);
|
|
25447
25456
|
}
|
|
25448
|
-
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2U, [["render", _sfc_render$2U], ["__scopeId", "data-v-
|
|
25457
|
+
var textareaWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2U, [["render", _sfc_render$2U], ["__scopeId", "data-v-687fedce"]]);
|
|
25449
25458
|
var __glob_0_23$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25450
25459
|
__proto__: null,
|
|
25451
25460
|
"default": textareaWidget
|
|
@@ -25531,7 +25540,7 @@ function _sfc_render$2T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25531
25540
|
modelValue: $data.fieldModel,
|
|
25532
25541
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
25533
25542
|
class: normalizeClass([!!$props.field.options.autoFullWidth ? "full-width-input" : ""]),
|
|
25534
|
-
disabled:
|
|
25543
|
+
disabled: _ctx.getDisabled(),
|
|
25535
25544
|
readonly: $props.field.options.readonly,
|
|
25536
25545
|
size: _ctx.widgetSize,
|
|
25537
25546
|
clearable: $props.field.options.clearable,
|
|
@@ -25549,7 +25558,7 @@ function _sfc_render$2T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25549
25558
|
_: 1
|
|
25550
25559
|
}, 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"]);
|
|
25551
25560
|
}
|
|
25552
|
-
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2T, [["render", _sfc_render$2T], ["__scopeId", "data-v-
|
|
25561
|
+
var timeRangeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2T, [["render", _sfc_render$2T], ["__scopeId", "data-v-f78e9b46"]]);
|
|
25553
25562
|
var __glob_0_24$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25554
25563
|
__proto__: null,
|
|
25555
25564
|
"default": timeRangeWidget
|
|
@@ -25631,7 +25640,7 @@ function _sfc_render$2S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25631
25640
|
modelValue: $data.fieldModel,
|
|
25632
25641
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
25633
25642
|
class: normalizeClass([!!$props.field.options.autoFullWidth ? "auto-full-width" : ""]),
|
|
25634
|
-
disabled:
|
|
25643
|
+
disabled: _ctx.getDisabled(),
|
|
25635
25644
|
readonly: $props.field.options.readonly,
|
|
25636
25645
|
size: _ctx.widgetSize,
|
|
25637
25646
|
clearable: $props.field.options.clearable,
|
|
@@ -25647,7 +25656,7 @@ function _sfc_render$2S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25647
25656
|
_: 1
|
|
25648
25657
|
}, 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"]);
|
|
25649
25658
|
}
|
|
25650
|
-
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-
|
|
25659
|
+
var timeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2S, [["render", _sfc_render$2S], ["__scopeId", "data-v-60cd3a6a"]]);
|
|
25651
25660
|
var __glob_0_25$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25652
25661
|
__proto__: null,
|
|
25653
25662
|
"default": timeWidget
|
|
@@ -25688,6 +25697,10 @@ const _sfc_main$2R = {
|
|
|
25688
25697
|
fieldSchemaData: {
|
|
25689
25698
|
type: Array,
|
|
25690
25699
|
default: void 0
|
|
25700
|
+
},
|
|
25701
|
+
subFormDisabled: {
|
|
25702
|
+
type: Boolean,
|
|
25703
|
+
default: false
|
|
25691
25704
|
}
|
|
25692
25705
|
},
|
|
25693
25706
|
inject: ["refList", "globalModel", "getFormConfig", "previewState"],
|
|
@@ -25789,7 +25802,9 @@ function _sfc_render$2R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25789
25802
|
"parent-widget": $props.widget,
|
|
25790
25803
|
"sub-form-row-index": $props.subFormRowIndex,
|
|
25791
25804
|
"sub-form-row-id": $props.subFormRowId,
|
|
25792
|
-
"sub-form-col-index": $props.subFormColIndex
|
|
25805
|
+
"sub-form-col-index": $props.subFormColIndex,
|
|
25806
|
+
"sub-form-disabled": $props.subFormDisabled,
|
|
25807
|
+
disabled: _ctx.disabled || $props.widget.options.disabled
|
|
25793
25808
|
}, createSlots({ _: 2 }, [
|
|
25794
25809
|
renderList(Object.keys(_ctx.$slots), (slot) => {
|
|
25795
25810
|
return {
|
|
@@ -25799,7 +25814,7 @@ function _sfc_render$2R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25799
25814
|
])
|
|
25800
25815
|
};
|
|
25801
25816
|
})
|
|
25802
|
-
]), 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"), {
|
|
25817
|
+
]), 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"), {
|
|
25803
25818
|
field: $props.fieldSchemaData && $props.fieldSchemaData[swIdx] ? $props.fieldSchemaData[swIdx] : subWidget,
|
|
25804
25819
|
designer: null,
|
|
25805
25820
|
key: $props.fieldSchemaData && $props.fieldSchemaData[swIdx] ? $props.fieldSchemaData[swIdx].id : swIdx,
|
|
@@ -25808,6 +25823,7 @@ function _sfc_render$2R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25808
25823
|
"parent-widget": $props.parentWidget,
|
|
25809
25824
|
"sub-form-row-index": $props.subFormRowIndex,
|
|
25810
25825
|
"sub-form-row-id": $props.subFormRowId,
|
|
25826
|
+
"sub-form-disabled": $props.subFormDisabled,
|
|
25811
25827
|
"sub-form-col-index": $props.subFormColIndex
|
|
25812
25828
|
}, createSlots({ _: 2 }, [
|
|
25813
25829
|
renderList(Object.keys(_ctx.$slots), (slot) => {
|
|
@@ -25818,7 +25834,7 @@ function _sfc_render$2R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25818
25834
|
])
|
|
25819
25835
|
};
|
|
25820
25836
|
})
|
|
25821
|
-
]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index"]))
|
|
25837
|
+
]), 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"]))
|
|
25822
25838
|
], 64);
|
|
25823
25839
|
}), 256)) : (openBlock(), createBlock(_component_el_col, { key: 1 }, {
|
|
25824
25840
|
default: withCtx(() => [
|
|
@@ -25834,7 +25850,7 @@ function _sfc_render$2R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
25834
25850
|
[vShow, $options.colVisible]
|
|
25835
25851
|
]) : createCommentVNode("", true);
|
|
25836
25852
|
}
|
|
25837
|
-
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$2R, [["render", _sfc_render$2R], ["__scopeId", "data-v-
|
|
25853
|
+
var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$2R, [["render", _sfc_render$2R], ["__scopeId", "data-v-bc1d425a"]]);
|
|
25838
25854
|
var __glob_0_1$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25839
25855
|
__proto__: null,
|
|
25840
25856
|
"default": GridColItem
|
|
@@ -25935,6 +25951,10 @@ var containerItemMixin = {
|
|
|
25935
25951
|
return !this.rowIdData ? 0 : this.rowIdData.length;
|
|
25936
25952
|
},
|
|
25937
25953
|
disableSubFormRow(rowIndex) {
|
|
25954
|
+
if (!Array.isArray(this.rowIdData) || this.rowIdData[rowIndex] == null)
|
|
25955
|
+
return;
|
|
25956
|
+
if (!this.widget || !this.widget.widgetList)
|
|
25957
|
+
return;
|
|
25938
25958
|
this.widget.widgetList.forEach((subWidget) => {
|
|
25939
25959
|
let swRefName = subWidget.options.name + "@row" + this.rowIdData[rowIndex];
|
|
25940
25960
|
let foundSW = this.getWidgetRef(swRefName);
|
|
@@ -25944,6 +25964,10 @@ var containerItemMixin = {
|
|
|
25944
25964
|
});
|
|
25945
25965
|
},
|
|
25946
25966
|
enableSubFormRow(rowIndex) {
|
|
25967
|
+
if (!Array.isArray(this.rowIdData) || this.rowIdData[rowIndex] == null)
|
|
25968
|
+
return;
|
|
25969
|
+
if (!this.widget || !this.widget.widgetList)
|
|
25970
|
+
return;
|
|
25947
25971
|
this.widget.widgetList.forEach((subWidget) => {
|
|
25948
25972
|
let swRefName = subWidget.options.name + "@row" + this.rowIdData[rowIndex];
|
|
25949
25973
|
let foundSW = this.getWidgetRef(swRefName);
|
|
@@ -25953,23 +25977,27 @@ var containerItemMixin = {
|
|
|
25953
25977
|
});
|
|
25954
25978
|
},
|
|
25955
25979
|
disableSubForm() {
|
|
25956
|
-
if (this.rowIdData.length > 0) {
|
|
25980
|
+
if (Array.isArray(this.rowIdData) && this.rowIdData.length > 0) {
|
|
25957
25981
|
this.rowIdData.forEach((dataRow, rIdx) => {
|
|
25958
25982
|
this.disableSubFormRow(rIdx);
|
|
25959
25983
|
});
|
|
25960
25984
|
}
|
|
25961
|
-
this.actionDisabled
|
|
25985
|
+
if (typeof this.actionDisabled !== "undefined") {
|
|
25986
|
+
this.actionDisabled = true;
|
|
25987
|
+
}
|
|
25962
25988
|
if (this.widget && this.widget.options) {
|
|
25963
25989
|
this.widget.options.disabled = true;
|
|
25964
25990
|
}
|
|
25965
25991
|
},
|
|
25966
25992
|
enableSubForm() {
|
|
25967
|
-
if (this.rowIdData.length > 0) {
|
|
25993
|
+
if (Array.isArray(this.rowIdData) && this.rowIdData.length > 0) {
|
|
25968
25994
|
this.rowIdData.forEach((dataRow, rIdx) => {
|
|
25969
25995
|
this.enableSubFormRow(rIdx);
|
|
25970
25996
|
});
|
|
25971
25997
|
}
|
|
25972
|
-
this.actionDisabled
|
|
25998
|
+
if (typeof this.actionDisabled !== "undefined") {
|
|
25999
|
+
this.actionDisabled = false;
|
|
26000
|
+
}
|
|
25973
26001
|
if (this.widget && this.widget.options) {
|
|
25974
26002
|
this.widget.options.disabled = false;
|
|
25975
26003
|
}
|
|
@@ -26042,6 +26070,10 @@ const _sfc_main$2Q = {
|
|
|
26042
26070
|
fieldSchemaData: {
|
|
26043
26071
|
type: Object,
|
|
26044
26072
|
default: void 0
|
|
26073
|
+
},
|
|
26074
|
+
subFormDisabled: {
|
|
26075
|
+
type: Boolean,
|
|
26076
|
+
default: false
|
|
26045
26077
|
}
|
|
26046
26078
|
},
|
|
26047
26079
|
inject: ["refList", "sfRefList", "globalModel"],
|
|
@@ -26079,6 +26111,7 @@ function _sfc_render$2Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26079
26111
|
"sub-form-row-index": $props.subFormRowIndex,
|
|
26080
26112
|
"sub-form-row-id": $props.subFormRowId,
|
|
26081
26113
|
"sub-form-col-index": $props.subFormColIndex,
|
|
26114
|
+
"sub-form-disabled": $props.subFormDisabled,
|
|
26082
26115
|
"field-schema-data": $props.fieldSchemaData
|
|
26083
26116
|
}, createSlots({ _: 2 }, [
|
|
26084
26117
|
renderList(Object.keys(_ctx.$slots), (slot) => {
|
|
@@ -26089,7 +26122,7 @@ function _sfc_render$2Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26089
26122
|
])
|
|
26090
26123
|
};
|
|
26091
26124
|
})
|
|
26092
|
-
]), 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"]);
|
|
26125
|
+
]), 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"]);
|
|
26093
26126
|
}), 128))
|
|
26094
26127
|
]),
|
|
26095
26128
|
_: 3
|
|
@@ -67896,13 +67929,13 @@ function registerIcon(app) {
|
|
|
67896
67929
|
if (typeof window !== "undefined") {
|
|
67897
67930
|
let loadSvg = function() {
|
|
67898
67931
|
var body = document.body;
|
|
67899
|
-
var svgDom = document.getElementById("
|
|
67932
|
+
var svgDom = document.getElementById("__svg__icons__dom__1772615023766__");
|
|
67900
67933
|
if (!svgDom) {
|
|
67901
67934
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
67902
67935
|
svgDom.style.position = "absolute";
|
|
67903
67936
|
svgDom.style.width = "0";
|
|
67904
67937
|
svgDom.style.height = "0";
|
|
67905
|
-
svgDom.id = "
|
|
67938
|
+
svgDom.id = "__svg__icons__dom__1772615023766__";
|
|
67906
67939
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
67907
67940
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
67908
67941
|
}
|
|
@@ -74788,6 +74821,7 @@ const customSubFormSchema = {
|
|
|
74788
74821
|
labelAlign: "",
|
|
74789
74822
|
labelWidth: null,
|
|
74790
74823
|
hidden: false,
|
|
74824
|
+
disabled: false,
|
|
74791
74825
|
showBlankRow: true,
|
|
74792
74826
|
showRowNumber: true,
|
|
74793
74827
|
customClass: "",
|
|
@@ -75334,7 +75368,7 @@ const _sfc_main$8 = {
|
|
|
75334
75368
|
return void 0;
|
|
75335
75369
|
}
|
|
75336
75370
|
if (containerSchema.widgetList && Array.isArray(containerSchema.widgetList)) {
|
|
75337
|
-
return containerSchema.widgetList;
|
|
75371
|
+
return __spreadProps(__spreadValues({}, containerSchema.widgetList), { disabled: this.widget.options.disabled });
|
|
75338
75372
|
}
|
|
75339
75373
|
return void 0;
|
|
75340
75374
|
}
|
|
@@ -75425,9 +75459,9 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75425
75459
|
"sub-form-row-index": sfrIdx,
|
|
75426
75460
|
"sub-form-row-id": subFormRowId,
|
|
75427
75461
|
"sub-form-col-index": swIdx,
|
|
75428
|
-
|
|
75462
|
+
subFormDisabled: $props.widget.options.disabled,
|
|
75429
75463
|
"field-schema-data": $options.getFieldSchemaDataForContainer(subWidget, sfrIdx, swIdx)
|
|
75430
|
-
}, null, 8, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-index", "sub-form-row-id", "sub-form-col-index", "
|
|
75464
|
+
}, 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 }, [
|
|
75431
75465
|
$data.fieldSchemaData && $data.fieldSchemaData[sfrIdx] && $data.fieldSchemaData[sfrIdx][swIdx] ? (openBlock(), createBlock(resolveDynamicComponent($options.getComponentName(subWidget)), {
|
|
75432
75466
|
key: 0,
|
|
75433
75467
|
field: $data.fieldSchemaData[sfrIdx][swIdx],
|
|
@@ -75437,8 +75471,8 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75437
75471
|
"sub-form-row-id": subFormRowId,
|
|
75438
75472
|
"sub-form-row-index": sfrIdx,
|
|
75439
75473
|
"sub-form-col-index": swIdx,
|
|
75440
|
-
disabled: $props.widget.options.disabled
|
|
75441
|
-
}, 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... "))
|
|
75474
|
+
"sub-form-disabled": $props.widget.options.disabled
|
|
75475
|
+
}, 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... "))
|
|
75442
75476
|
], 64)) : createCommentVNode("", true)
|
|
75443
75477
|
], 64);
|
|
75444
75478
|
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
@@ -75469,7 +75503,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
75469
75503
|
_: 1
|
|
75470
75504
|
}, 8, ["widget"]);
|
|
75471
75505
|
}
|
|
75472
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-
|
|
75506
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-3754189c"]]);
|
|
75473
75507
|
const customTableCellSchema = {
|
|
75474
75508
|
type: "custom-table-cell",
|
|
75475
75509
|
category: "container",
|