@fecp/designer 5.2.2 → 5.2.3
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/es/designer.css +24 -24
- package/es/packages/designer/src/packages/form/aside/index.mjs +1 -0
- package/es/packages/designer/src/packages/form/property/widgets.vue.mjs +98 -74
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +4 -3
- package/es/packages/vue/src/components/dialog/index.mjs +2 -2
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +16 -2
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +2 -2
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +23 -16
- package/lib/designer.css +24 -24
- package/lib/packages/designer/src/packages/form/aside/index.js +1 -0
- package/lib/packages/designer/src/packages/form/property/widgets.vue.js +98 -74
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +4 -3
- package/lib/packages/vue/src/components/dialog/index.js +2 -2
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +16 -2
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +2 -2
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +23 -16
- package/package.json +1 -1
|
@@ -255,7 +255,7 @@ const _sfc_main = {
|
|
|
255
255
|
};
|
|
256
256
|
const optColumnWidth = computed(() => {
|
|
257
257
|
const padding = 20;
|
|
258
|
-
const btnWidth =
|
|
258
|
+
const btnWidth = 60;
|
|
259
259
|
if (!props.tableData || props.tableData.length === 0) {
|
|
260
260
|
return props.optBtns.length * btnWidth + padding;
|
|
261
261
|
}
|
|
@@ -377,7 +377,7 @@ const _sfc_main = {
|
|
|
377
377
|
};
|
|
378
378
|
}
|
|
379
379
|
};
|
|
380
|
-
const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
380
|
+
const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-82ffe38c"]]);
|
|
381
381
|
export {
|
|
382
382
|
TableColumn as default
|
|
383
383
|
};
|
|
@@ -459,22 +459,29 @@ async function handleDialog(node, data, fields, context) {
|
|
|
459
459
|
console.error("ui-dialog: 未找到匹配的弹层配置," + (basic == null ? void 0 : basic.dialogId));
|
|
460
460
|
return;
|
|
461
461
|
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
462
|
+
try {
|
|
463
|
+
await openDialog(
|
|
464
|
+
basic.displayFieldName,
|
|
465
|
+
dialog,
|
|
466
|
+
context.instance,
|
|
467
|
+
context.ctx,
|
|
468
|
+
fields,
|
|
469
|
+
data
|
|
470
|
+
);
|
|
471
|
+
return {
|
|
472
|
+
success: true,
|
|
473
|
+
message: "用户已确认",
|
|
474
|
+
shouldShowError: false
|
|
475
|
+
};
|
|
476
|
+
} catch (error) {
|
|
477
|
+
return {
|
|
478
|
+
success: false,
|
|
479
|
+
message: "用户已取消",
|
|
480
|
+
confirmed: false,
|
|
481
|
+
shouldShowError: false
|
|
482
|
+
// 用户取消不提示错误
|
|
483
|
+
};
|
|
484
|
+
}
|
|
478
485
|
}
|
|
479
486
|
const defaultActionHandlers = {
|
|
480
487
|
"page-jump": handlePageJump,
|
package/lib/designer.css
CHANGED
|
@@ -3115,17 +3115,17 @@ to {
|
|
|
3115
3115
|
width: 100%;
|
|
3116
3116
|
}
|
|
3117
3117
|
|
|
3118
|
-
.collapse-header[data-v-
|
|
3118
|
+
.collapse-header[data-v-e7b8302c] {
|
|
3119
3119
|
display: flex;
|
|
3120
3120
|
align-items: center;
|
|
3121
3121
|
justify-content: space-between;
|
|
3122
3122
|
width: 100%;
|
|
3123
3123
|
padding-right: 20px;
|
|
3124
3124
|
}
|
|
3125
|
-
.setting[data-v-
|
|
3125
|
+
.setting[data-v-e7b8302c] .el-collapse-item__content {
|
|
3126
3126
|
position: relative;
|
|
3127
3127
|
}
|
|
3128
|
-
.field-type-select[data-v-
|
|
3128
|
+
.field-type-select[data-v-e7b8302c] {
|
|
3129
3129
|
position: absolute;
|
|
3130
3130
|
top: 11px;
|
|
3131
3131
|
right: 16px;
|
|
@@ -3136,38 +3136,38 @@ to {
|
|
|
3136
3136
|
transition: all 0.3s;
|
|
3137
3137
|
border-radius: 4px;
|
|
3138
3138
|
}
|
|
3139
|
-
.field-type-select[data-v-
|
|
3139
|
+
.field-type-select[data-v-e7b8302c] .el-select__wrapper {
|
|
3140
3140
|
background: transparent;
|
|
3141
3141
|
box-shadow: none;
|
|
3142
3142
|
}
|
|
3143
|
-
.field-type-select[data-v-
|
|
3143
|
+
.field-type-select[data-v-e7b8302c] .el-select__selected-item {
|
|
3144
3144
|
text-align: center;
|
|
3145
3145
|
}
|
|
3146
|
-
.width-input[data-v-
|
|
3146
|
+
.width-input[data-v-e7b8302c] {
|
|
3147
3147
|
width: 100%;
|
|
3148
3148
|
}
|
|
3149
|
-
.data-source-fields[data-v-
|
|
3149
|
+
.data-source-fields[data-v-e7b8302c] {
|
|
3150
3150
|
display: flex;
|
|
3151
3151
|
flex-direction: column;
|
|
3152
3152
|
gap: 8px;
|
|
3153
3153
|
margin-bottom: 18px;
|
|
3154
3154
|
}
|
|
3155
|
-
.data-source-fields .field-item[data-v-
|
|
3155
|
+
.data-source-fields .field-item[data-v-e7b8302c] {
|
|
3156
3156
|
display: flex;
|
|
3157
3157
|
align-items: center;
|
|
3158
3158
|
gap: 8px;
|
|
3159
3159
|
}
|
|
3160
|
-
.data-source-fields .field-item .field-label[data-v-
|
|
3160
|
+
.data-source-fields .field-item .field-label[data-v-e7b8302c] {
|
|
3161
3161
|
width: 80px;
|
|
3162
3162
|
font-size: 13px;
|
|
3163
3163
|
color: #606266;
|
|
3164
3164
|
text-align: right;
|
|
3165
3165
|
flex-shrink: 0;
|
|
3166
3166
|
}
|
|
3167
|
-
.data-source-fields .field-item .field-label[data-v-
|
|
3167
|
+
.data-source-fields .field-item .field-label[data-v-e7b8302c]::after {
|
|
3168
3168
|
content: ":";
|
|
3169
3169
|
}
|
|
3170
|
-
.data-source-fields .field-item .el-input[data-v-
|
|
3170
|
+
.data-source-fields .field-item .el-input[data-v-e7b8302c] {
|
|
3171
3171
|
flex: 1;
|
|
3172
3172
|
}.root-property[data-v-e88c3a83] {
|
|
3173
3173
|
width: 300px;
|
|
@@ -5305,18 +5305,18 @@ body,
|
|
|
5305
5305
|
}
|
|
5306
5306
|
.approval-history-content.flowChart[data-v-7be2a6d2] {
|
|
5307
5307
|
background-color: #f9fafc;
|
|
5308
|
-
}.dialog-header-content[data-v-
|
|
5308
|
+
}.dialog-header-content[data-v-dd10a495] {
|
|
5309
5309
|
font-size: 16px;
|
|
5310
5310
|
font-weight: 600;
|
|
5311
5311
|
color: #303133;
|
|
5312
5312
|
}
|
|
5313
|
-
.dialog-content-wrapper[data-v-
|
|
5313
|
+
.dialog-content-wrapper[data-v-dd10a495] {
|
|
5314
5314
|
min-height: 500px;
|
|
5315
5315
|
flex-grow: 1;
|
|
5316
5316
|
display: flex;
|
|
5317
5317
|
flex-direction: column;
|
|
5318
5318
|
}
|
|
5319
|
-
.empty-content[data-v-
|
|
5319
|
+
.empty-content[data-v-dd10a495] {
|
|
5320
5320
|
display: flex;
|
|
5321
5321
|
align-items: center;
|
|
5322
5322
|
justify-content: center;
|
|
@@ -5324,13 +5324,13 @@ body,
|
|
|
5324
5324
|
color: #909399;
|
|
5325
5325
|
font-size: 14px;
|
|
5326
5326
|
}
|
|
5327
|
-
.component-error[data-v-
|
|
5327
|
+
.component-error[data-v-dd10a495] {
|
|
5328
5328
|
padding: 40px 20px;
|
|
5329
5329
|
text-align: center;
|
|
5330
5330
|
color: #f56c6c;
|
|
5331
5331
|
font-size: 14px;
|
|
5332
5332
|
}
|
|
5333
|
-
.fec-dialog-table[data-v-
|
|
5333
|
+
.fec-dialog-table[data-v-dd10a495] .table-pagination {
|
|
5334
5334
|
padding: 8px 0 0 0;
|
|
5335
5335
|
}.text-field-wrapper[data-v-b0c0d80f] {
|
|
5336
5336
|
width: 100%;
|
|
@@ -5501,29 +5501,29 @@ body,
|
|
|
5501
5501
|
width: 80px;
|
|
5502
5502
|
font-size: var(--el-font-size-extra-small);
|
|
5503
5503
|
}
|
|
5504
|
-
.fec-form[data-v-
|
|
5504
|
+
.fec-form[data-v-42af7e52] {
|
|
5505
5505
|
height: 100%;
|
|
5506
5506
|
}
|
|
5507
|
-
[data-v-
|
|
5507
|
+
[data-v-42af7e52] .vgl-item > .el-form-item {
|
|
5508
5508
|
width: 100%;
|
|
5509
5509
|
padding: 12px 8px 0 8px;
|
|
5510
5510
|
height: calc(100% - 15px);
|
|
5511
5511
|
display: flex;
|
|
5512
5512
|
}
|
|
5513
|
-
[data-v-
|
|
5513
|
+
[data-v-42af7e52] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
5514
5514
|
flex-direction: column;
|
|
5515
5515
|
}
|
|
5516
|
-
[data-v-
|
|
5516
|
+
[data-v-42af7e52] .vgl-item > .el-form-item .el-form-item__label {
|
|
5517
5517
|
line-height: 20px;
|
|
5518
5518
|
display: flex;
|
|
5519
5519
|
align-items: center;
|
|
5520
5520
|
}
|
|
5521
|
-
[data-v-
|
|
5521
|
+
[data-v-42af7e52] .vgl-item > .el-container {
|
|
5522
5522
|
height: auto !important;
|
|
5523
|
-
}.cell-content .cell-text[data-v-
|
|
5523
|
+
}.cell-content .cell-text[data-v-82ffe38c] {
|
|
5524
5524
|
display: inline-block;
|
|
5525
5525
|
}
|
|
5526
|
-
.cell-content .copy-icon[data-v-
|
|
5526
|
+
.cell-content .copy-icon[data-v-82ffe38c] {
|
|
5527
5527
|
cursor: pointer;
|
|
5528
5528
|
color: #909399;
|
|
5529
5529
|
font-size: 14px;
|
|
@@ -5531,7 +5531,7 @@ body,
|
|
|
5531
5531
|
top: 4px;
|
|
5532
5532
|
margin-left: 4px;
|
|
5533
5533
|
}
|
|
5534
|
-
.cell-content .copy-icon[data-v-
|
|
5534
|
+
.cell-content .copy-icon[data-v-82ffe38c]:hover {
|
|
5535
5535
|
color: #409eff;
|
|
5536
5536
|
}.fec-table-filter[data-v-366e01c3] {
|
|
5537
5537
|
display: flex;
|
|
@@ -275,7 +275,7 @@ const _sfc_main = {
|
|
|
275
275
|
return vue.openBlock(), vue.createBlock(_component_el_collapse, {
|
|
276
276
|
class: "setting",
|
|
277
277
|
modelValue: vue.unref(activeName),
|
|
278
|
-
"onUpdate:modelValue": _cache[
|
|
278
|
+
"onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null)
|
|
279
279
|
}, {
|
|
280
280
|
default: vue.withCtx(() => [
|
|
281
281
|
vue.createVNode(_component_el_collapse_item, {
|
|
@@ -394,19 +394,19 @@ const _sfc_main = {
|
|
|
394
394
|
}, {
|
|
395
395
|
default: vue.withCtx(() => [
|
|
396
396
|
vue.createVNode(_component_el_radio_button, { value: "default" }, {
|
|
397
|
-
default: vue.withCtx(() => _cache[
|
|
397
|
+
default: vue.withCtx(() => _cache[54] || (_cache[54] = [
|
|
398
398
|
vue.createTextVNode("默认")
|
|
399
399
|
])),
|
|
400
400
|
_: 1
|
|
401
401
|
}),
|
|
402
402
|
vue.createVNode(_component_el_radio_button, { value: "label" }, {
|
|
403
|
-
default: vue.withCtx(() => _cache[
|
|
403
|
+
default: vue.withCtx(() => _cache[55] || (_cache[55] = [
|
|
404
404
|
vue.createTextVNode("标签")
|
|
405
405
|
])),
|
|
406
406
|
_: 1
|
|
407
407
|
}),
|
|
408
408
|
vue.createVNode(_component_el_radio_button, { value: "input" }, {
|
|
409
|
-
default: vue.withCtx(() => _cache[
|
|
409
|
+
default: vue.withCtx(() => _cache[56] || (_cache[56] = [
|
|
410
410
|
vue.createTextVNode("输入框")
|
|
411
411
|
])),
|
|
412
412
|
_: 1
|
|
@@ -485,7 +485,7 @@ const _sfc_main = {
|
|
|
485
485
|
], 64)) : vue.createCommentVNode("", true),
|
|
486
486
|
vue.unref(currentItem).fieldType === "text" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
487
487
|
vue.createVNode(_component_el_form_item, null, {
|
|
488
|
-
label: vue.withCtx(() => _cache[
|
|
488
|
+
label: vue.withCtx(() => _cache[57] || (_cache[57] = [
|
|
489
489
|
vue.createElementVNode("span", null, "尾部按钮", -1)
|
|
490
490
|
])),
|
|
491
491
|
default: vue.withCtx(() => [
|
|
@@ -496,19 +496,19 @@ const _sfc_main = {
|
|
|
496
496
|
}, {
|
|
497
497
|
default: vue.withCtx(() => [
|
|
498
498
|
vue.createVNode(_component_el_radio_button, { value: "none" }, {
|
|
499
|
-
default: vue.withCtx(() => _cache[
|
|
499
|
+
default: vue.withCtx(() => _cache[58] || (_cache[58] = [
|
|
500
500
|
vue.createTextVNode("无")
|
|
501
501
|
])),
|
|
502
502
|
_: 1
|
|
503
503
|
}),
|
|
504
504
|
vue.createVNode(_component_el_radio_button, { value: "dialog" }, {
|
|
505
|
-
default: vue.withCtx(() => _cache[
|
|
505
|
+
default: vue.withCtx(() => _cache[59] || (_cache[59] = [
|
|
506
506
|
vue.createTextVNode("弹层选择")
|
|
507
507
|
])),
|
|
508
508
|
_: 1
|
|
509
509
|
}),
|
|
510
510
|
vue.createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
511
|
-
default: vue.withCtx(() => _cache[
|
|
511
|
+
default: vue.withCtx(() => _cache[60] || (_cache[60] = [
|
|
512
512
|
vue.createTextVNode("自定义")
|
|
513
513
|
])),
|
|
514
514
|
_: 1
|
|
@@ -521,14 +521,14 @@ const _sfc_main = {
|
|
|
521
521
|
}),
|
|
522
522
|
vue.unref(currentItem).suffixButton == "dialog" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
523
523
|
vue.createElementVNode("div", _hoisted_2, [
|
|
524
|
-
_cache[
|
|
524
|
+
_cache[61] || (_cache[61] = vue.createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
|
|
525
525
|
vue.createVNode(_component_el_input, {
|
|
526
526
|
modelValue: vue.unref(currentItem).suffixDialogName,
|
|
527
527
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(currentItem).suffixDialogName = $event)
|
|
528
528
|
}, null, 8, ["modelValue"])
|
|
529
529
|
]),
|
|
530
530
|
vue.createElementVNode("div", _hoisted_3, [
|
|
531
|
-
_cache[
|
|
531
|
+
_cache[64] || (_cache[64] = vue.createElementVNode("span", { class: "field-label" }, "弹层来源", -1)),
|
|
532
532
|
vue.createVNode(_component_el_radio_group, {
|
|
533
533
|
modelValue: vue.unref(currentItem).dialogSource,
|
|
534
534
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => vue.unref(currentItem).dialogSource = $event),
|
|
@@ -536,13 +536,13 @@ const _sfc_main = {
|
|
|
536
536
|
}, {
|
|
537
537
|
default: vue.withCtx(() => [
|
|
538
538
|
vue.createVNode(_component_el_radio_button, { value: "global" }, {
|
|
539
|
-
default: vue.withCtx(() => _cache[
|
|
539
|
+
default: vue.withCtx(() => _cache[62] || (_cache[62] = [
|
|
540
540
|
vue.createTextVNode("全局")
|
|
541
541
|
])),
|
|
542
542
|
_: 1
|
|
543
543
|
}),
|
|
544
544
|
vue.createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
545
|
-
default: vue.withCtx(() => _cache[
|
|
545
|
+
default: vue.withCtx(() => _cache[63] || (_cache[63] = [
|
|
546
546
|
vue.createTextVNode("自定义")
|
|
547
547
|
])),
|
|
548
548
|
_: 1
|
|
@@ -552,7 +552,7 @@ const _sfc_main = {
|
|
|
552
552
|
}, 8, ["modelValue"])
|
|
553
553
|
]),
|
|
554
554
|
vue.createElementVNode("div", _hoisted_4, [
|
|
555
|
-
_cache[
|
|
555
|
+
_cache[65] || (_cache[65] = vue.createElementVNode("span", { class: "field-label" }, "选择弹层", -1)),
|
|
556
556
|
vue.createVNode(_component_el_select, {
|
|
557
557
|
modelValue: vue.unref(currentItem).suffixDialogId,
|
|
558
558
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => vue.unref(currentItem).suffixDialogId = $event),
|
|
@@ -577,7 +577,7 @@ const _sfc_main = {
|
|
|
577
577
|
]),
|
|
578
578
|
vue.unref(currentItem).dialogSource == "global" && vue.unref(currentItem).suffixDialogId ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
579
579
|
vue.createElementVNode("div", _hoisted_5, [
|
|
580
|
-
_cache[
|
|
580
|
+
_cache[69] || (_cache[69] = vue.createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
|
|
581
581
|
vue.createVNode(_component_el_radio_group, {
|
|
582
582
|
modelValue: vue.unref(currentItem).selectionMode,
|
|
583
583
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => vue.unref(currentItem).selectionMode = $event),
|
|
@@ -585,19 +585,19 @@ const _sfc_main = {
|
|
|
585
585
|
}, {
|
|
586
586
|
default: vue.withCtx(() => [
|
|
587
587
|
vue.createVNode(_component_el_radio_button, { value: "none" }, {
|
|
588
|
-
default: vue.withCtx(() => _cache[
|
|
588
|
+
default: vue.withCtx(() => _cache[66] || (_cache[66] = [
|
|
589
589
|
vue.createTextVNode("无")
|
|
590
590
|
])),
|
|
591
591
|
_: 1
|
|
592
592
|
}),
|
|
593
593
|
vue.createVNode(_component_el_radio_button, { value: "single" }, {
|
|
594
|
-
default: vue.withCtx(() => _cache[
|
|
594
|
+
default: vue.withCtx(() => _cache[67] || (_cache[67] = [
|
|
595
595
|
vue.createTextVNode("单选")
|
|
596
596
|
])),
|
|
597
597
|
_: 1
|
|
598
598
|
}),
|
|
599
599
|
vue.createVNode(_component_el_radio_button, { value: "multiple" }, {
|
|
600
|
-
default: vue.withCtx(() => _cache[
|
|
600
|
+
default: vue.withCtx(() => _cache[68] || (_cache[68] = [
|
|
601
601
|
vue.createTextVNode("多选")
|
|
602
602
|
])),
|
|
603
603
|
_: 1
|
|
@@ -608,7 +608,7 @@ const _sfc_main = {
|
|
|
608
608
|
]),
|
|
609
609
|
vue.unref(currentItem).selectionMode != "none" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
610
610
|
vue.createElementVNode("div", _hoisted_6, [
|
|
611
|
-
_cache[
|
|
611
|
+
_cache[70] || (_cache[70] = vue.createElementVNode("span", { class: "field-label" }, "选取后反显格式", -1)),
|
|
612
612
|
vue.createVNode(vue.unref(FormulaEditorInput.default), {
|
|
613
613
|
title: "反显格式配置",
|
|
614
614
|
formulaConf: vue.unref(currentItem).displayFormat,
|
|
@@ -619,7 +619,7 @@ const _sfc_main = {
|
|
|
619
619
|
}, null, 8, ["formulaConf", "modelValue", "fieldList"])
|
|
620
620
|
]),
|
|
621
621
|
vue.createElementVNode("div", _hoisted_7, [
|
|
622
|
-
_cache[
|
|
622
|
+
_cache[71] || (_cache[71] = vue.createElementVNode("span", {
|
|
623
623
|
class: "field-label",
|
|
624
624
|
style: { "width": "100%", "text-align": "left" }
|
|
625
625
|
}, "选取后表单赋值", -1)),
|
|
@@ -635,7 +635,7 @@ const _sfc_main = {
|
|
|
635
635
|
])
|
|
636
636
|
], 64)) : vue.createCommentVNode("", true),
|
|
637
637
|
vue.createElementVNode("div", _hoisted_8, [
|
|
638
|
-
_cache[
|
|
638
|
+
_cache[72] || (_cache[72] = vue.createElementVNode("span", { class: "field-label" }, "回调事件配置", -1)),
|
|
639
639
|
vue.createVNode(OnlyFLowConfigButton.default, {
|
|
640
640
|
config: vue.unref(currentItem).callbackEventConfig,
|
|
641
641
|
onConfirm: handleOnlyFlowConfirm
|
|
@@ -644,14 +644,14 @@ const _sfc_main = {
|
|
|
644
644
|
], 64)) : vue.createCommentVNode("", true)
|
|
645
645
|
])) : vue.unref(currentItem).suffixButton == "custom" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
|
|
646
646
|
vue.createElementVNode("div", _hoisted_10, [
|
|
647
|
-
_cache[
|
|
647
|
+
_cache[73] || (_cache[73] = vue.createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
|
|
648
648
|
vue.createVNode(_component_el_input, {
|
|
649
649
|
modelValue: vue.unref(currentItem).suffixButtonName,
|
|
650
650
|
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => vue.unref(currentItem).suffixButtonName = $event)
|
|
651
651
|
}, null, 8, ["modelValue"])
|
|
652
652
|
]),
|
|
653
653
|
vue.createElementVNode("div", _hoisted_11, [
|
|
654
|
-
_cache[
|
|
654
|
+
_cache[74] || (_cache[74] = vue.createElementVNode("span", { class: "field-label" }, "按钮事件", -1)),
|
|
655
655
|
vue.createVNode(EventConfigButton.default, {
|
|
656
656
|
config: vue.unref(currentItem).suffixButtonConfig,
|
|
657
657
|
onConfirm: handleSuffixButtonConfirm
|
|
@@ -737,7 +737,7 @@ const _sfc_main = {
|
|
|
737
737
|
"controls-position": "right",
|
|
738
738
|
placeholder: "最小值"
|
|
739
739
|
}, null, 8, ["modelValue"]),
|
|
740
|
-
_cache[
|
|
740
|
+
_cache[75] || (_cache[75] = vue.createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "-", -1)),
|
|
741
741
|
vue.createVNode(_component_el_input_number, {
|
|
742
742
|
style: { "width": "100%" },
|
|
743
743
|
modelValue: vue.unref(currentItem).maxValue,
|
|
@@ -789,7 +789,7 @@ const _sfc_main = {
|
|
|
789
789
|
}),
|
|
790
790
|
vue.createElementVNode("div", _hoisted_13, [
|
|
791
791
|
vue.createElementVNode("div", _hoisted_14, [
|
|
792
|
-
_cache[
|
|
792
|
+
_cache[76] || (_cache[76] = vue.createElementVNode("span", { class: "field-label" }, "显示字段", -1)),
|
|
793
793
|
vue.createVNode(_component_el_input, {
|
|
794
794
|
modelValue: vue.unref(currentItem).optionConfig.displayField,
|
|
795
795
|
"onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => vue.unref(currentItem).optionConfig.displayField = $event),
|
|
@@ -797,7 +797,7 @@ const _sfc_main = {
|
|
|
797
797
|
}, null, 8, ["modelValue"])
|
|
798
798
|
]),
|
|
799
799
|
vue.createElementVNode("div", _hoisted_15, [
|
|
800
|
-
_cache[
|
|
800
|
+
_cache[77] || (_cache[77] = vue.createElementVNode("span", { class: "field-label" }, "值字段", -1)),
|
|
801
801
|
vue.createVNode(_component_el_input, {
|
|
802
802
|
modelValue: vue.unref(currentItem).optionConfig.valueField,
|
|
803
803
|
"onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => vue.unref(currentItem).optionConfig.valueField = $event),
|
|
@@ -805,7 +805,7 @@ const _sfc_main = {
|
|
|
805
805
|
}, null, 8, ["modelValue"])
|
|
806
806
|
]),
|
|
807
807
|
vue.createElementVNode("div", _hoisted_16, [
|
|
808
|
-
_cache[
|
|
808
|
+
_cache[78] || (_cache[78] = vue.createElementVNode("span", { class: "field-label" }, "主键字段", -1)),
|
|
809
809
|
vue.createVNode(_component_el_input, {
|
|
810
810
|
modelValue: vue.unref(currentItem).optionConfig.idField,
|
|
811
811
|
"onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => vue.unref(currentItem).optionConfig.idField = $event),
|
|
@@ -813,7 +813,7 @@ const _sfc_main = {
|
|
|
813
813
|
}, null, 8, ["modelValue"])
|
|
814
814
|
]),
|
|
815
815
|
vue.createElementVNode("div", _hoisted_17, [
|
|
816
|
-
_cache[
|
|
816
|
+
_cache[79] || (_cache[79] = vue.createElementVNode("span", { class: "field-label" }, "父主键字段", -1)),
|
|
817
817
|
vue.createVNode(_component_el_input, {
|
|
818
818
|
modelValue: vue.unref(currentItem).optionConfig.pidField,
|
|
819
819
|
"onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => vue.unref(currentItem).optionConfig.pidField = $event),
|
|
@@ -882,48 +882,72 @@ const _sfc_main = {
|
|
|
882
882
|
]),
|
|
883
883
|
_: 1
|
|
884
884
|
})) : vue.createCommentVNode("", true),
|
|
885
|
-
vue.unref(currentItem).fieldType === "date" ? (vue.openBlock(), vue.
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
])
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
885
|
+
vue.unref(currentItem).fieldType === "date" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 10 }, [
|
|
886
|
+
vue.createVNode(_component_el_form_item, { label: "显示格式" }, {
|
|
887
|
+
default: vue.withCtx(() => [
|
|
888
|
+
vue.createVNode(_component_el_select, {
|
|
889
|
+
modelValue: vue.unref(currentItem).dateType,
|
|
890
|
+
"onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => vue.unref(currentItem).dateType = $event)
|
|
891
|
+
}, {
|
|
892
|
+
default: vue.withCtx(() => [
|
|
893
|
+
vue.createVNode(_component_el_option, {
|
|
894
|
+
label: "年-月-日",
|
|
895
|
+
value: "date"
|
|
896
|
+
}),
|
|
897
|
+
vue.createVNode(_component_el_option, {
|
|
898
|
+
label: "年-周",
|
|
899
|
+
value: "week"
|
|
900
|
+
}),
|
|
901
|
+
vue.createVNode(_component_el_option, {
|
|
902
|
+
label: "年-月",
|
|
903
|
+
value: "month"
|
|
904
|
+
}),
|
|
905
|
+
vue.createVNode(_component_el_option, {
|
|
906
|
+
label: "年",
|
|
907
|
+
value: "year"
|
|
908
|
+
}),
|
|
909
|
+
vue.createVNode(_component_el_option, {
|
|
910
|
+
label: "年-月-日 时:分:秒",
|
|
911
|
+
value: "datetime"
|
|
912
|
+
})
|
|
913
|
+
]),
|
|
914
|
+
_: 1
|
|
915
|
+
}, 8, ["modelValue"])
|
|
916
|
+
]),
|
|
917
|
+
_: 1
|
|
918
|
+
}),
|
|
919
|
+
vue.createVNode(_component_el_form_item, { label: "数据格式" }, {
|
|
920
|
+
default: vue.withCtx(() => [
|
|
921
|
+
vue.createVNode(_component_el_select, {
|
|
922
|
+
modelValue: vue.unref(currentItem).dateValueType,
|
|
923
|
+
"onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => vue.unref(currentItem).dateValueType = $event)
|
|
924
|
+
}, {
|
|
925
|
+
default: vue.withCtx(() => [
|
|
926
|
+
vue.createVNode(_component_el_option, {
|
|
927
|
+
label: "字符型",
|
|
928
|
+
value: "string"
|
|
929
|
+
}),
|
|
930
|
+
vue.createVNode(_component_el_option, {
|
|
931
|
+
label: "日期型",
|
|
932
|
+
value: "date"
|
|
933
|
+
}),
|
|
934
|
+
vue.createVNode(_component_el_option, {
|
|
935
|
+
label: "时间戳",
|
|
936
|
+
value: "timestamp"
|
|
937
|
+
})
|
|
938
|
+
]),
|
|
939
|
+
_: 1
|
|
940
|
+
}, 8, ["modelValue"])
|
|
941
|
+
]),
|
|
942
|
+
_: 1
|
|
943
|
+
})
|
|
944
|
+
], 64)) : vue.createCommentVNode("", true),
|
|
921
945
|
vue.unref(isSysSelect) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 11 }, [
|
|
922
946
|
vue.createVNode(_component_el_form_item, { label: "弹层标题" }, {
|
|
923
947
|
default: vue.withCtx(() => [
|
|
924
948
|
vue.createVNode(_component_el_input, {
|
|
925
949
|
modelValue: vue.unref(currentItem).dialogConfig.dialogTitle,
|
|
926
|
-
"onUpdate:modelValue": _cache[
|
|
950
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => vue.unref(currentItem).dialogConfig.dialogTitle = $event)
|
|
927
951
|
}, null, 8, ["modelValue"])
|
|
928
952
|
]),
|
|
929
953
|
_: 1
|
|
@@ -932,7 +956,7 @@ const _sfc_main = {
|
|
|
932
956
|
default: vue.withCtx(() => [
|
|
933
957
|
vue.createVNode(_component_ParamsConfig, {
|
|
934
958
|
modelValue: vue.unref(currentItem).dialogConfig.dialogParams,
|
|
935
|
-
"onUpdate:modelValue": _cache[
|
|
959
|
+
"onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => vue.unref(currentItem).dialogConfig.dialogParams = $event)
|
|
936
960
|
}, null, 8, ["modelValue"])
|
|
937
961
|
]),
|
|
938
962
|
_: 1
|
|
@@ -944,17 +968,17 @@ const _sfc_main = {
|
|
|
944
968
|
default: vue.withCtx(() => [
|
|
945
969
|
vue.createVNode(_component_el_radio_group, {
|
|
946
970
|
modelValue: vue.unref(currentItem).dialogConfig.selectionMode,
|
|
947
|
-
"onUpdate:modelValue": _cache[
|
|
971
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => vue.unref(currentItem).dialogConfig.selectionMode = $event)
|
|
948
972
|
}, {
|
|
949
973
|
default: vue.withCtx(() => [
|
|
950
974
|
vue.createVNode(_component_el_radio_button, { value: "single" }, {
|
|
951
|
-
default: vue.withCtx(() => _cache[
|
|
975
|
+
default: vue.withCtx(() => _cache[80] || (_cache[80] = [
|
|
952
976
|
vue.createTextVNode("单选")
|
|
953
977
|
])),
|
|
954
978
|
_: 1
|
|
955
979
|
}),
|
|
956
980
|
vue.createVNode(_component_el_radio_button, { value: "multiple" }, {
|
|
957
|
-
default: vue.withCtx(() => _cache[
|
|
981
|
+
default: vue.withCtx(() => _cache[81] || (_cache[81] = [
|
|
958
982
|
vue.createTextVNode("多选")
|
|
959
983
|
])),
|
|
960
984
|
_: 1
|
|
@@ -983,12 +1007,12 @@ const _sfc_main = {
|
|
|
983
1007
|
vue.createElementVNode("div", _hoisted_18, [
|
|
984
1008
|
vue.createVNode(_component_el_switch, {
|
|
985
1009
|
modelValue: vue.unref(currentItem).required,
|
|
986
|
-
"onUpdate:modelValue": _cache[
|
|
1010
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => vue.unref(currentItem).required = $event)
|
|
987
1011
|
}, null, 8, ["modelValue"]),
|
|
988
1012
|
vue.unref(currentItem).required ? (vue.openBlock(), vue.createBlock(_component_el_input, {
|
|
989
1013
|
key: 0,
|
|
990
1014
|
modelValue: vue.unref(currentItem).requiredMessage,
|
|
991
|
-
"onUpdate:modelValue": _cache[
|
|
1015
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => vue.unref(currentItem).requiredMessage = $event),
|
|
992
1016
|
placeholder: "请输入提示信息",
|
|
993
1017
|
style: { "flex": "1" }
|
|
994
1018
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
|
|
@@ -1003,7 +1027,7 @@ const _sfc_main = {
|
|
|
1003
1027
|
default: vue.withCtx(() => [
|
|
1004
1028
|
vue.createVNode(_component_el_select, {
|
|
1005
1029
|
modelValue: vue.unref(currentItem).validationType,
|
|
1006
|
-
"onUpdate:modelValue": _cache[
|
|
1030
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => vue.unref(currentItem).validationType = $event),
|
|
1007
1031
|
placeholder: "选择校验规则",
|
|
1008
1032
|
onChange: handleValidationChange,
|
|
1009
1033
|
style: { "margin-bottom": "12px" }
|
|
@@ -1069,13 +1093,13 @@ const _sfc_main = {
|
|
|
1069
1093
|
vue.unref(currentItem).validationType === "custom" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20, [
|
|
1070
1094
|
vue.createVNode(DataSourceSelect.default, {
|
|
1071
1095
|
modelValue: vue.unref(currentItem).validationDataSource,
|
|
1072
|
-
"onUpdate:modelValue": _cache[
|
|
1096
|
+
"onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => vue.unref(currentItem).validationDataSource = $event)
|
|
1073
1097
|
}, null, 8, ["modelValue"])
|
|
1074
1098
|
])) : vue.createCommentVNode("", true),
|
|
1075
1099
|
vue.unref(currentItem).validationType !== "none" ? (vue.openBlock(), vue.createBlock(_component_el_input, {
|
|
1076
1100
|
key: 2,
|
|
1077
1101
|
modelValue: vue.unref(currentItem).validationMessage,
|
|
1078
|
-
"onUpdate:modelValue": _cache[
|
|
1102
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => vue.unref(currentItem).validationMessage = $event),
|
|
1079
1103
|
placeholder: getValidationPlaceholder(),
|
|
1080
1104
|
style: { "margin-bottom": "12px" }
|
|
1081
1105
|
}, null, 8, ["modelValue", "placeholder"])) : vue.createCommentVNode("", true)
|
|
@@ -1094,5 +1118,5 @@ const _sfc_main = {
|
|
|
1094
1118
|
};
|
|
1095
1119
|
}
|
|
1096
1120
|
};
|
|
1097
|
-
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1121
|
+
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-e7b8302c"]]);
|
|
1098
1122
|
exports.default = widgets;
|